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
84d03ebec54798af2041612a80b4784d5ee3151a
5,052
cc
C++
be/src/runtime/hbase-table.cc
suifengzhuliu/impala
611f4c6f3b18cfcddff3b2956cbb87c295a87655
[ "Apache-2.0" ]
1,523
2015-01-01T03:42:24.000Z
2022-02-06T22:24:04.000Z
be/src/runtime/hbase-table.cc
suifengzhuliu/impala
611f4c6f3b18cfcddff3b2956cbb87c295a87655
[ "Apache-2.0" ]
10
2015-01-09T06:46:05.000Z
2022-03-29T21:57:57.000Z
be/src/runtime/hbase-table.cc
suifengzhuliu/impala
611f4c6f3b18cfcddff3b2956cbb87c295a87655
[ "Apache-2.0" ]
647
2015-01-02T04:01:40.000Z
2022-03-30T15:57:35.000Z
// Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may...
31.378882
84
0.717933
[ "object" ]
84d571b1f65ee8b0dc3a85223349421a3a5f4bf8
5,975
cpp
C++
util/test/demos/d3d12/d3d12_simple_dispatch.cpp
BNieuwenhuizen/renderdoc
4ca0376420d471511f832b4385e96399eabbe803
[ "MIT" ]
20
2020-10-03T18:03:34.000Z
2021-01-15T02:53:29.000Z
util/test/demos/d3d12/d3d12_simple_dispatch.cpp
kevin-mccullough/renderdoc
89af50a76c1cf98f800a6ff8ece5c31f3ff5504c
[ "MIT" ]
null
null
null
util/test/demos/d3d12/d3d12_simple_dispatch.cpp
kevin-mccullough/renderdoc
89af50a76c1cf98f800a6ff8ece5c31f3ff5504c
[ "MIT" ]
5
2020-10-03T18:13:37.000Z
2021-01-15T02:53:35.000Z
/****************************************************************************** * The MIT License (MIT) * * Copyright (c) 2020 Baldur Karlsson * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the ...
40.646259
98
0.697238
[ "vector" ]
84d7966cc15d55b16d68cf0b523858b67564fbb0
4,970
cpp
C++
geos-3.7.0beta1/src/algorithm/RobustDeterminant.cpp
litbangbungamayang/SIMTR
23435e829f6c766ec8483c88005daac654de4057
[ "MIT" ]
null
null
null
geos-3.7.0beta1/src/algorithm/RobustDeterminant.cpp
litbangbungamayang/SIMTR
23435e829f6c766ec8483c88005daac654de4057
[ "MIT" ]
null
null
null
geos-3.7.0beta1/src/algorithm/RobustDeterminant.cpp
litbangbungamayang/SIMTR
23435e829f6c766ec8483c88005daac654de4057
[ "MIT" ]
null
null
null
/********************************************************************** * * GEOS - Geometry Engine Open Source * http://geos.osgeo.org * * Copyright (c) 1995 Olivier Devillers <Olivier.Devillers@sophia.inria.fr> * Copyright (C) 2001-2002 Vivid Solutions Inc. * Copyright (C) 2006 Refractions Research Inc. * * T...
17.197232
94
0.517304
[ "geometry" ]
84e150758a0a05c23e045ce319eff4d8c622b111
2,379
hpp
C++
include/dafs/messages.hpp
dgkimura/dafs
20273ea13d71bbb9ca8f6e85045c0abb1cf45aba
[ "MIT" ]
2
2018-06-29T05:59:16.000Z
2018-07-01T05:58:14.000Z
include/dafs/messages.hpp
dgkimura/dafs
20273ea13d71bbb9ca8f6e85045c0abb1cf45aba
[ "MIT" ]
7
2018-06-04T16:26:37.000Z
2018-11-03T00:47:08.000Z
include/dafs/messages.hpp
dgkimura/dafs
20273ea13d71bbb9ca8f6e85045c0abb1cf45aba
[ "MIT" ]
null
null
null
#pragma once #include <string> #include <vector> #include "dafs/metadata.hpp" namespace dafs { enum class MessageType { // // Reply indicating operation succeeded. // Success, // // Reply indicating operation failed. // Failure, // ...
18.732283
77
0.496847
[ "vector" ]
84e70cfba3edc62f47c4f4c97ce6ef80b368ba7c
61,399
inl
C++
CookieEngine/include/Core/Primitives.inl
qbleuse/Cookie-Engine
705d19d9e4c79e935e32244759ab63523dfbe6c4
[ "CC-BY-4.0" ]
null
null
null
CookieEngine/include/Core/Primitives.inl
qbleuse/Cookie-Engine
705d19d9e4c79e935e32244759ab63523dfbe6c4
[ "CC-BY-4.0" ]
null
null
null
CookieEngine/include/Core/Primitives.inl
qbleuse/Cookie-Engine
705d19d9e4c79e935e32244759ab63523dfbe6c4
[ "CC-BY-4.0" ]
null
null
null
#ifndef __PRIMITIVES_INL__ #define __PRIMITIVES_INL__ namespace Cookie { namespace Core { namespace Primitives { inline std::unique_ptr<Resources::Mesh> CreateQuad() { std::vector<float> vertices = { -0.5, -0.5, 0, 0, 0, 0, 0, -1, 0.5, -0.5, 0, 1, 0, 0, 0, -1, 0.5, 0.5, 0, 1,...
43.669275
145
0.602697
[ "mesh", "vector" ]
84eb8dbabccffd689fa772a837e19bd5ae5a4a96
8,663
cpp
C++
Oem/DWFTK/develop/global/src/dwf/package/Object.cpp
achilex/MgDev
f7baf680a88d37659af32ee72b9a2046910b00d8
[ "PHP-3.0" ]
2
2017-04-19T01:38:30.000Z
2020-07-31T03:05:32.000Z
Oem/DWFTK/develop/global/src/dwf/package/Object.cpp
achilex/MgDev
f7baf680a88d37659af32ee72b9a2046910b00d8
[ "PHP-3.0" ]
null
null
null
Oem/DWFTK/develop/global/src/dwf/package/Object.cpp
achilex/MgDev
f7baf680a88d37659af32ee72b9a2046910b00d8
[ "PHP-3.0" ]
1
2021-12-29T10:46:12.000Z
2021-12-29T10:46:12.000Z
// // Copyright (c) 2005-2006 by Autodesk, Inc. // // By using this code, you are agreeing to the terms and conditions of // the License Agreement included in the documentation for this code. // // AUTODESK MAKES NO WARRANTIES, EXPRESS OR IMPLIED, AS TO THE CORRECTNESS // OF THIS CODE OR ANY DERIVATIVE WORK...
27.589172
119
0.558698
[ "object" ]
84ecc7efbe171cd7cb70271c733dbdadbff5617c
1,630
hxx
C++
main/vcl/inc/vcl/taskpanelist.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/vcl/inc/vcl/taskpanelist.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/vcl/inc/vcl/taskpanelist.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
331
2015-01-06T11:40:55.000Z
2022-03-14T04:07:51.000Z
/************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to y...
30.185185
75
0.687117
[ "vector" ]
84f4a0fe68bc442847e1f6a47d26701211b432f0
700
cpp
C++
atcoder/nomura2020_c.cpp
sogapalag/problems
0ea7d65448e1177f8b3f81124a82d187980d659c
[ "MIT" ]
1
2020-04-04T14:56:12.000Z
2020-04-04T14:56:12.000Z
atcoder/nomura2020_c.cpp
sogapalag/problems
0ea7d65448e1177f8b3f81124a82d187980d659c
[ "MIT" ]
null
null
null
atcoder/nomura2020_c.cpp
sogapalag/problems
0ea7d65448e1177f8b3f81124a82d187980d659c
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; using ll=long long; void solve() { int n; cin >> n; vector<int> a(n + 1); for (auto& x: a) cin >> x; vector<ll> l(n+2), r(n+2); // lower/upper bound for (int i = n; i >= 0; i--) { l[i] = a[i] + (l[i+1]+1)/2; r[i] = a[i] + r[i+1]; ...
21.212121
66
0.417143
[ "vector" ]
84f605a7a9dc98f56f8cdfbdcfbe23881918629f
8,914
cpp
C++
src/navigation/path_planning/local_planner/src/dynamic_window_approach.cpp
venkisagunner93/beertender_robot
84de7442b815b02f90ff47f41d93157786c1a0a7
[ "MIT" ]
3
2021-08-05T03:43:08.000Z
2022-03-09T02:35:22.000Z
src/navigation/path_planning/local_planner/src/dynamic_window_approach.cpp
venkisagunner93/robot_navigation
84de7442b815b02f90ff47f41d93157786c1a0a7
[ "MIT" ]
21
2021-04-22T06:31:08.000Z
2022-03-21T04:34:01.000Z
src/navigation/path_planning/local_planner/src/dynamic_window_approach.cpp
venkisagunner93/robot_navigation
84de7442b815b02f90ff47f41d93157786c1a0a7
[ "MIT" ]
2
2021-08-05T03:43:35.000Z
2021-08-05T13:06:53.000Z
#include "local_planner/dynamic_window_approach.h" DWA::DWA(ros::NodeHandle* nh, std::string action_name) : as_(*nh, action_name, boost::bind(&DWA::performLocalPlanning, this, _1), false) , action_name_(action_name) , prev_time_(ros::Time::now()) { is_joystick_active_ = false; joy_subscriber_ = nh->subscribe...
31.72242
100
0.685775
[ "vector" ]
84f8505b9576cfbe82eb82e15e1e09332eef4fbf
5,830
hpp
C++
include/bslam/utils/geometry/Line.hpp
JoachimClemens/Beta-SLAM
eaa3e5b0dd7d81e4c0f2b30fc29d48d55807c5fa
[ "BSD-3-Clause" ]
3
2019-01-17T21:47:05.000Z
2021-08-17T05:44:44.000Z
include/bslam/utils/geometry/Line.hpp
JoachimClemens/Beta-SLAM
eaa3e5b0dd7d81e4c0f2b30fc29d48d55807c5fa
[ "BSD-3-Clause" ]
null
null
null
include/bslam/utils/geometry/Line.hpp
JoachimClemens/Beta-SLAM
eaa3e5b0dd7d81e4c0f2b30fc29d48d55807c5fa
[ "BSD-3-Clause" ]
2
2019-02-16T01:37:14.000Z
2019-11-20T11:13:21.000Z
/* * Software License Agreement (BSD License) * * Beta-SLAM - Simultaneous localization and grid mapping with beta distributions * Copyright (c) 2013-2019, Joachim Clemens, Thomas Reineking, Tobias Kluth * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modific...
24.91453
151
0.62813
[ "3d" ]
ebce4e1228c334c61b43ee67f44c5b41cfcdfe14
4,817
cpp
C++
ZeroVulkan/src/Vulkan/Device.cpp
Greyrat7490/ZeroVulkan
446fde4f21749cbc5449023f691e942759b3cf97
[ "MIT" ]
null
null
null
ZeroVulkan/src/Vulkan/Device.cpp
Greyrat7490/ZeroVulkan
446fde4f21749cbc5449023f691e942759b3cf97
[ "MIT" ]
2
2021-09-26T16:20:00.000Z
2022-03-21T14:08:34.000Z
ZeroVulkan/src/Vulkan/Device.cpp
Greyrat7490/ZeroVulkan
446fde4f21749cbc5449023f691e942759b3cf97
[ "MIT" ]
null
null
null
#include "Device.h" #include "Surface.h" #include "Swapchain.h" #include "SyncObjects.h" namespace ZeroVulkan::ZDevice { // ------------------- // Device // ------------------- static VkDevice s_dev = nullptr; static VkInstance s_instance = nullptr; static VkPhysicalDevice* s_physicalDevices ...
32.328859
99
0.646253
[ "vector" ]
ebd14c2c5023f73e63ef1897812d9b0ec8cfca04
2,849
cpp
C++
python/pyngraph/runtime/backend.cpp
csullivan/ngraph-1
1c4aa2257447cf8c9034d24fc1a1ef9ba468fdfb
[ "Apache-2.0" ]
null
null
null
python/pyngraph/runtime/backend.cpp
csullivan/ngraph-1
1c4aa2257447cf8c9034d24fc1a1ef9ba468fdfb
[ "Apache-2.0" ]
null
null
null
python/pyngraph/runtime/backend.cpp
csullivan/ngraph-1
1c4aa2257447cf8c9034d24fc1a1ef9ba468fdfb
[ "Apache-2.0" ]
null
null
null
//***************************************************************************** // Copyright 2017-2018 Intel Corporation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://w...
49.982456
100
0.614953
[ "shape", "vector" ]
ebd2b829a0c2753b5fa3775c19a58b893e2cc81e
690
hpp
C++
vac3_response_parser/VACStringArray.hpp
krystalgamer/vac_public
0f38fb384fd374226ff771255c3d1192ab3dca59
[ "WTFPL" ]
60
2017-05-09T20:09:35.000Z
2020-10-19T03:10:07.000Z
vac3_response_parser/VACStringArray.hpp
owerosu/vac_public
0f38fb384fd374226ff771255c3d1192ab3dca59
[ "WTFPL" ]
null
null
null
vac3_response_parser/VACStringArray.hpp
owerosu/vac_public
0f38fb384fd374226ff771255c3d1192ab3dca59
[ "WTFPL" ]
20
2017-05-09T20:09:39.000Z
2020-02-27T00:04:57.000Z
#pragma once #include <vector> class VACStringArray { public: VACStringArray(char *begin) noexcept; VACStringArray(const VACStringArray&) = default; // Copy constructor VACStringArray(VACStringArray&&) = default; // Move constructor VACStringArray& operator=(const VACStringArray&...
26.538462
91
0.67971
[ "vector" ]
ebd5c02ec5f84be4cb4a4cec9a945b70df26e7c5
1,191
cpp
C++
src/action_utils.cpp
ysl208/iRoPro
72a8b023755b6396239c24fabef79458bcdc3215
[ "MIT" ]
5
2020-11-11T10:51:53.000Z
2022-01-13T01:32:11.000Z
src/action_utils.cpp
ysl208/rapid_pbd
72a8b023755b6396239c24fabef79458bcdc3215
[ "MIT" ]
24
2018-05-02T17:33:04.000Z
2018-12-19T13:06:52.000Z
src/action_utils.cpp
ysl208/rapid_pbd
72a8b023755b6396239c24fabef79458bcdc3215
[ "MIT" ]
2
2018-05-03T07:02:09.000Z
2018-05-03T11:36:53.000Z
#include "rapid_pbd/action_utils.h" #include <string> #include <vector> #include "rapid_pbd_msgs/Action.h" namespace msgs = rapid_pbd_msgs; namespace rapid { namespace pbd { bool HasJointValues(const msgs::Action& action) { return action.joint_trajectory.points.size() > 0; } void GetJointPositions(const msgs::Act...
28.357143
67
0.68178
[ "vector" ]
ebd986870fc09a9c44400774caae7067d002f590
410
cpp
C++
bia/bsl/os.cpp
bialang/bia
b54fff096b4fe91ddb0b1d509ea828daa11cee7e
[ "BSD-3-Clause" ]
2
2017-09-09T17:03:18.000Z
2018-03-02T20:02:02.000Z
bia/bsl/os.cpp
terrakuh/Bia
412b7e8aeb259f4925c3b588f6025760a43cd0b7
[ "BSD-3-Clause" ]
7
2018-10-11T18:14:19.000Z
2018-12-26T15:31:04.000Z
bia/bsl/os.cpp
terrakuh/Bia
412b7e8aeb259f4925c3b588f6025760a43cd0b7
[ "BSD-3-Clause" ]
null
null
null
#include "modules.hpp" #include <cstdlib> void bia::bsl::os(internal::Typed_object& object) { object.put_invokable(util::from_cstring("system"), [](const std::string& cmd) { return std::system(cmd.c_str()); }); object.put_invokable(util::from_cstring("getenv"), [](const std::string& key) { c...
29.285714
87
0.631707
[ "object" ]
ebe66a0c513d40c839388e00ca1891bd1a7476a2
1,170
cc
C++
strongloop/node_modules/strong-supervisor/node_modules/strong-agent/src/strong-agent.cc
vnyrjkmr/myapp
abfc83107436e19ccae80389a713985386f37e62
[ "MIT" ]
null
null
null
strongloop/node_modules/strong-supervisor/node_modules/strong-agent/src/strong-agent.cc
vnyrjkmr/myapp
abfc83107436e19ccae80389a713985386f37e62
[ "MIT" ]
null
null
null
strongloop/node_modules/strong-supervisor/node_modules/strong-agent/src/strong-agent.cc
vnyrjkmr/myapp
abfc83107436e19ccae80389a713985386f37e62
[ "MIT" ]
null
null
null
// Copyright (c) 2014, StrongLoop Inc. // // This software is covered by the StrongLoop License. See StrongLoop-LICENSE // in the top-level directory or visit http://strongloop.com/license. #include "strong-agent.h" #include "extras.h" #include "gcinfo.h" #include "heapdiff.h" #include "profiler.h" #include "uvmon.h"...
28.536585
78
0.747863
[ "object" ]
ebe8fd7940130d4f9a5ba92ccf4caab329548a1f
2,025
cc
C++
library/core/render/gl-texture.cc
ppofuk/engine
092b07647dda4b8ccd4a03237e174581b3493f39
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
library/core/render/gl-texture.cc
ppofuk/engine
092b07647dda4b8ccd4a03237e174581b3493f39
[ "BSD-2-Clause-FreeBSD" ]
1
2021-05-26T11:55:26.000Z
2021-05-26T18:24:30.000Z
library/core/render/gl-texture.cc
ppofuk/engine
092b07647dda4b8ccd4a03237e174581b3493f39
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
#include "core/render/gl-texture.h" namespace render { bool GLTexture::Init(const DDSImage& image) { if (is_init()) { return false; } if (image.four_cc() == DDSImage::FourCC::kUknownType) { return false; } // Clear all errors before. while (glGetError() != GL_NO_ERROR) ; glGenTextures(1, &...
24.39759
80
0.57679
[ "render" ]
ebea74a7e4eabef2ba90b5da65732326c9e45707
4,806
cpp
C++
src/Container.cpp
metaverse-systems/libecs-cpp
508a7a091fc7a47560f9d3f551b8d36584471359
[ "MIT" ]
null
null
null
src/Container.cpp
metaverse-systems/libecs-cpp
508a7a091fc7a47560f9d3f551b8d36584471359
[ "MIT" ]
null
null
null
src/Container.cpp
metaverse-systems/libecs-cpp
508a7a091fc7a47560f9d3f551b8d36584471359
[ "MIT" ]
null
null
null
#include <libecs-cpp/ecs.hpp> #include <thread> #include <algorithm> #include <cstring> namespace ecs { Container::Container() { this->Handle = ecs::Uuid().Get(); } Container::Container(std::string Handle) { this->Handle = Handle; } void Container::Start() { th...
22.777251
156
0.539118
[ "vector" ]
ebed4d86769ef325cf5028584eeb0853be6c6ad2
1,470
cpp
C++
07-creating-tile-maps/PauseState.cpp
caiotava/SDLBook
a689003e0667baf1491e93b33b2e3f50666f366e
[ "BSD-2-Clause" ]
6
2015-06-04T19:48:28.000Z
2021-12-11T21:39:40.000Z
07-creating-tile-maps/PauseState.cpp
caiotava/SDLBook
a689003e0667baf1491e93b33b2e3f50666f366e
[ "BSD-2-Clause" ]
null
null
null
07-creating-tile-maps/PauseState.cpp
caiotava/SDLBook
a689003e0667baf1491e93b33b2e3f50666f366e
[ "BSD-2-Clause" ]
2
2020-06-30T03:54:15.000Z
2022-02-06T02:18:55.000Z
// // Created by caiotava on 4/21/21. // #include "Game.h" #include "MenuButton.h" #include "MainMenuState.h" #include "PauseState.h" #include "StateParser.h" const std::string PauseState::pauseID = "pause"; void PauseState::pauseToMain() { Game::Instance()->getStateMachine()->changeState(new MainMenuState()); }...
20.416667
78
0.62585
[ "render", "vector" ]
ebee3e89a28c699673ad955a3a690d925e5e182e
5,881
cpp
C++
engine/source/engine/physics/OOBB.cpp
yhyu13/Engine2021
6ded548caa45bf980d88e09bed59431b61f5337e
[ "MIT" ]
null
null
null
engine/source/engine/physics/OOBB.cpp
yhyu13/Engine2021
6ded548caa45bf980d88e09bed59431b61f5337e
[ "MIT" ]
null
null
null
engine/source/engine/physics/OOBB.cpp
yhyu13/Engine2021
6ded548caa45bf980d88e09bed59431b61f5337e
[ "MIT" ]
null
null
null
#include "engine-precompiled-header.h" #include "OOBB.h" #include "engine/renderer/Renderer3D.h" longmarch::OOBB::OOBB() : Shape(SHAPE_TYPE::OOBB) { ResetOriginal(); Reset(); } longmarch::OOBB::OOBB(const Vec3f& min, const Vec3f& max) : Shape(SHAPE_TYPE::OOBB) { o_min = Min = min; o_max = Max...
25.681223
187
0.670124
[ "mesh", "shape", "vector", "transform" ]
ebf17852d10337730c47ea2cf1796685390d43b9
5,795
hxx
C++
src/freertos_drivers/pic32mx/Pic32mxCan.hxx
balazsracz/openmrn
338f5dcbafeff6d171b2787b291d1904f2c45965
[ "BSD-2-Clause" ]
34
2015-05-23T03:57:56.000Z
2022-03-27T03:48:48.000Z
src/freertos_drivers/pic32mx/Pic32mxCan.hxx
balazsracz/openmrn
338f5dcbafeff6d171b2787b291d1904f2c45965
[ "BSD-2-Clause" ]
214
2015-07-05T05:06:55.000Z
2022-02-06T14:53:14.000Z
src/freertos_drivers/pic32mx/Pic32mxCan.hxx
balazsracz/openmrn
338f5dcbafeff6d171b2787b291d1904f2c45965
[ "BSD-2-Clause" ]
38
2015-08-28T05:32:07.000Z
2021-07-06T16:47:23.000Z
/** \copyright * Copyright (c) 2018, Balazs Racz * 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 li...
38.125
79
0.679551
[ "vector" ]
ebf1dee40f719f6564507605dda8868753d0403a
16,946
cpp
C++
Source/Urho3D/Navigation/DetourCrowdManager.cpp
asherkin/Urho3D
cf9e78e002ed6129d1c8b5b5e52f0b73181a5e01
[ "Apache-2.0" ]
null
null
null
Source/Urho3D/Navigation/DetourCrowdManager.cpp
asherkin/Urho3D
cf9e78e002ed6129d1c8b5b5e52f0b73181a5e01
[ "Apache-2.0" ]
null
null
null
Source/Urho3D/Navigation/DetourCrowdManager.cpp
asherkin/Urho3D
cf9e78e002ed6129d1c8b5b5e52f0b73181a5e01
[ "Apache-2.0" ]
null
null
null
// // Copyright (c) 2008-2015 the Urho3D project. // // 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, m...
31.556797
179
0.650832
[ "mesh", "shape", "vector" ]
ebf224dc66056940da08d68b8031b1dde9ae74c8
1,884
hpp
C++
external/cppad/include/cppad/utility.hpp
l03ie/Gernby
dabe9d71ab1f7ee4fc4118ccce9b331ebcd801ca
[ "MIT" ]
5
2018-06-27T04:19:32.000Z
2018-08-01T19:16:28.000Z
external/cppad/include/cppad/utility.hpp
l03ie/Gernby
dabe9d71ab1f7ee4fc4118ccce9b331ebcd801ca
[ "MIT" ]
1
2018-07-31T16:52:31.000Z
2018-08-02T15:37:55.000Z
external/cppad/include/cppad/utility.hpp
l03ie/Gernby
dabe9d71ab1f7ee4fc4118ccce9b331ebcd801ca
[ "MIT" ]
3
2018-07-24T05:09:26.000Z
2018-08-01T16:03:31.000Z
# ifndef CPPAD_UTILITY_HPP # define CPPAD_UTILITY_HPP /* -------------------------------------------------------------------------- CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-17 Bradley M. Bell CppAD is distributed under multiple licenses. This distribution is under the terms of the ...
41.866667
77
0.713376
[ "vector" ]
ebf26d819237cea1f47f92f4a9d710493f46becc
26,066
cpp
C++
OpenAutoItParser/src/Lexer.cpp
OpenAutoit/OpenAutoit
f58c98c6e2a706ba7f06dcbc08a54a5a6440063e
[ "MIT" ]
null
null
null
OpenAutoItParser/src/Lexer.cpp
OpenAutoit/OpenAutoit
f58c98c6e2a706ba7f06dcbc08a54a5a6440063e
[ "MIT" ]
6
2022-02-01T04:07:12.000Z
2022-03-01T04:43:49.000Z
OpenAutoItParser/src/Lexer.cpp
OpenAutoit/OpenAutoit
f58c98c6e2a706ba7f06dcbc08a54a5a6440063e
[ "MIT" ]
null
null
null
#include "OpenAutoIt/Lexer.hpp" #include "OpenAutoIt/Token.hpp" #include "OpenAutoIt/TokenKind.hpp" #include "OpenAutoIt/TokenStream.hpp" #include "phi/container/string_view.hpp" #include "phi/core/optional.hpp" #include <phi/container/array.hpp> #include <phi/core/assert.hpp> #include <phi/core/boolean.hpp> #include ...
33.940104
100
0.553441
[ "transform" ]
ebf579a26af66af1c8fdbc72bff9a3118212d42f
3,603
cc
C++
gpu/config/gpu_driver_bug_list.cc
mghgroup/Glide-Browser
6a4c1eaa6632ec55014fee87781c6bbbb92a2af5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
575
2015-06-18T23:58:20.000Z
2022-03-23T09:32:39.000Z
gpu/config/gpu_driver_bug_list.cc
mghgroup/Glide-Browser
6a4c1eaa6632ec55014fee87781c6bbbb92a2af5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
113
2015-05-04T09:58:14.000Z
2022-01-31T19:35:03.000Z
gpu/config/gpu_driver_bug_list.cc
iridium-browser/iridium-browser
907e31cf5ce5ad14d832796e3a7c11e496828959
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
52
2015-07-14T10:40:50.000Z
2022-03-15T01:11:49.000Z
// Copyright (c) 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "gpu/config/gpu_driver_bug_list.h" #include "base/check_op.h" #include "base/stl_util.h" #include "gpu/config/gpu_driver_bug_list_autogen.h"...
30.533898
75
0.706911
[ "vector" ]
ebfaff94f77c07d3658296a945b6bf3f6b5ad7cc
3,410
hpp
C++
src/utility/jb_launchargs.hpp
JadeMatrix/jadebase
c4575cc9f0b73c18ea82b671f6b347211507b71b
[ "Zlib" ]
null
null
null
src/utility/jb_launchargs.hpp
JadeMatrix/jadebase
c4575cc9f0b73c18ea82b671f6b347211507b71b
[ "Zlib" ]
8
2015-02-24T19:38:35.000Z
2016-05-25T02:33:48.000Z
src/utility/jb_launchargs.hpp
JadeMatrix/jadebase
c4575cc9f0b73c18ea82b671f6b347211507b71b
[ "Zlib" ]
null
null
null
#ifndef JADEBASE_LAUNCHARGS_HPP #define JADEBASE_LAUNCHARGS_HPP /* * jb_launchargs.hpp * * Functions for parsing & accessing launch arguments and their values * * None of the getXYZ() functions are considered valid until parseLaunchArgs() * has been called, after which they will always return the same value. ...
66.862745
160
0.431085
[ "vector" ]
ebfc02901dbe05da95fea41625993889a7dc9da4
4,646
cxx
C++
src/fsw/FswEfcSampler.cxx
fermi-lat/configData
3b824540d8173a24be12316a3821304e4ea20a1f
[ "BSD-3-Clause" ]
null
null
null
src/fsw/FswEfcSampler.cxx
fermi-lat/configData
3b824540d8173a24be12316a3821304e4ea20a1f
[ "BSD-3-Clause" ]
null
null
null
src/fsw/FswEfcSampler.cxx
fermi-lat/configData
3b824540d8173a24be12316a3821304e4ea20a1f
[ "BSD-3-Clause" ]
null
null
null
//--------------------------------------------------------------------------- // File and Version Information: // $Id: FswEfcSampler.cxx,v 1.2 2008/06/12 01:56:54 echarles Exp $ // // Description: // A GEM ROI register class // // Environment: // Software developed for GLAST. // // Author List: // ...
31.391892
122
0.644856
[ "vector" ]
ebfe741192482d2fd1dbfea1cb70000bdf61b62a
35,172
cpp
C++
Game/Source/ModulePlayer.cpp
mrmile/VideogameDevelopment
a69ddf91fcb9401078084e77f9377e8a59769b92
[ "MIT" ]
null
null
null
Game/Source/ModulePlayer.cpp
mrmile/VideogameDevelopment
a69ddf91fcb9401078084e77f9377e8a59769b92
[ "MIT" ]
null
null
null
Game/Source/ModulePlayer.cpp
mrmile/VideogameDevelopment
a69ddf91fcb9401078084e77f9377e8a59769b92
[ "MIT" ]
null
null
null
#include "ModulePlayer.h" #include "app.h" #include "Textures.h" #include "Input.h" #include "Render.h" #include "Enemies.h" #include "Enemy.h" //#include "ModuleParticles.h" #include "Audio.h" #include "ModuleFadeToBlack.h" #include "Window.h" //#include "ModuleFonts.h" #include "Log.h" #include "Scen...
29.432636
185
0.594024
[ "render", "3d" ]
23014de92c1f682466c7203575c3178d89f0f465
2,882
hpp
C++
include/eve/function/shuffle.hpp
leha-bot/eve
30e7a7f6bcc5cf524a6c2cc624234148eee847be
[ "MIT" ]
340
2020-09-16T21:12:48.000Z
2022-03-28T15:40:33.000Z
include/eve/function/shuffle.hpp
leha-bot/eve
30e7a7f6bcc5cf524a6c2cc624234148eee847be
[ "MIT" ]
383
2020-09-17T06:56:35.000Z
2022-03-13T15:58:53.000Z
include/eve/function/shuffle.hpp
leha-bot/eve
30e7a7f6bcc5cf524a6c2cc624234148eee847be
[ "MIT" ]
28
2021-02-27T23:11:23.000Z
2022-03-25T12:31:29.000Z
/* EVE - Expressive Vector Engine Copyright : EVE Contributors & Maintainers SPDX-License-Identifier: MIT */ //================================================================================================== #pragma once #include <eve/detail/overload.hpp> namespace eve { //==================================...
29.111111
122
0.396253
[ "object", "vector" ]
2307cd2d95348222e5740c68808d9f9975c5c6a6
1,463
cpp
C++
stats.cpp
bschiffthaler/assembly-stats
ffb3be14cc0cb881500cdaddc4eb8e5bca5d306b
[ "MIT" ]
1
2021-12-14T18:27:25.000Z
2021-12-14T18:27:25.000Z
stats.cpp
bschiffthaler/assembly-stats
ffb3be14cc0cb881500cdaddc4eb8e5bca5d306b
[ "MIT" ]
null
null
null
stats.cpp
bschiffthaler/assembly-stats
ffb3be14cc0cb881500cdaddc4eb8e5bca5d306b
[ "MIT" ]
null
null
null
#include<iostream> #include<fstream> #include<vector> #include<string> using std::cout; using std::string; using std::ifstream; class genome { public: string id; string seq; }ob[10]; class stats { public: int nos; int noa; int not1; int nog; int noc; int non; float a_percent; float t_percent; float g_perc...
15.56383
63
0.583049
[ "vector" ]
230b22e498b65c284f22842e61c7fcfa3fafeedf
1,001
cpp
C++
C++/simplified-fractions.cpp
Akhil-Kashyap/LeetCode-Solutions
c671a588f96f4e4bbde4512727322ff9b1c8ae6a
[ "MIT" ]
3,269
2018-10-12T01:29:40.000Z
2022-03-31T17:58:41.000Z
C++/simplified-fractions.cpp
Akhil-Kashyap/LeetCode-Solutions
c671a588f96f4e4bbde4512727322ff9b1c8ae6a
[ "MIT" ]
53
2018-12-16T22:54:20.000Z
2022-02-25T08:31:20.000Z
C++/simplified-fractions.cpp
Akhil-Kashyap/LeetCode-Solutions
c671a588f96f4e4bbde4512727322ff9b1c8ae6a
[ "MIT" ]
1,236
2018-10-12T02:51:40.000Z
2022-03-30T13:30:37.000Z
// Time: O(n^2 * logn) // Space: O(n^2) class Solution { public: vector<string> simplifiedFractions(int n) { unordered_set<pair<int, int>, PairHash<int>> lookup; for (int b = 1; b <= n; ++b) { for (int a = 1; a < b; ++a) { const auto& g = gcd(a, b); look...
30.333333
82
0.466533
[ "vector", "transform" ]
230bc76256da0fc4b32299278ba96131a93278a3
4,958
cc
C++
src/mem/cache/prefetch/signature_path_v2.cc
hyu-iot/gem5
aeccc8bd8e9a86f96fc7a6f40d978f8494337fc5
[ "BSD-3-Clause" ]
765
2015-01-14T16:17:04.000Z
2022-03-28T07:46:28.000Z
src/mem/cache/prefetch/signature_path_v2.cc
hyu-iot/gem5
aeccc8bd8e9a86f96fc7a6f40d978f8494337fc5
[ "BSD-3-Clause" ]
148
2018-07-20T00:58:36.000Z
2021-11-16T01:52:33.000Z
src/mem/cache/prefetch/signature_path_v2.cc
hyu-iot/gem5
aeccc8bd8e9a86f96fc7a6f40d978f8494337fc5
[ "BSD-3-Clause" ]
807
2015-01-06T09:55:38.000Z
2022-03-30T10:23:36.000Z
/** * Copyright (c) 2018 Metempsy Technology Consulting * 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 ...
35.927536
79
0.709157
[ "vector" ]
230f940d7529e395c8e1c3828aa9ae24f63fa196
27,818
hpp
C++
dynadjust/include/functions/dnatemplatematrixfuncs.hpp
nicgowans/DynAdjust
7443f0a3a0487876dd2f568efaa6c7be0e3e75e3
[ "Apache-2.0" ]
44
2018-08-30T04:18:27.000Z
2022-02-01T05:37:18.000Z
dynadjust/include/functions/dnatemplatematrixfuncs.hpp
nicgowans/DynAdjust
7443f0a3a0487876dd2f568efaa6c7be0e3e75e3
[ "Apache-2.0" ]
112
2018-08-30T09:33:42.000Z
2022-03-30T00:32:29.000Z
dynadjust/include/functions/dnatemplatematrixfuncs.hpp
nicgowans/DynAdjust
7443f0a3a0487876dd2f568efaa6c7be0e3e75e3
[ "Apache-2.0" ]
29
2018-08-30T09:07:36.000Z
2022-02-25T05:16:08.000Z
//============================================================================ // Name : dnatemplatematrixfuncs.hpp // Author : Roger Fraser // Contributors : // Version : 1.00 // Copyright : Copyright 2017 Geoscience Australia // // Licensed under the Apache License, Version 2.0 (t...
31.828375
129
0.690201
[ "vector", "transform" ]
231074fdfc8f55f2e747005f9d58795a275bb67d
19,784
cpp
C++
archsim/src/abi/memory/MemoryModel.cpp
Linestro/Gensim_Y
031b74234a92622cf2d2d2ebc2d5ba03ca28ecf8
[ "MIT" ]
10
2020-07-14T22:09:30.000Z
2022-01-11T09:57:52.000Z
archsim/src/abi/memory/MemoryModel.cpp
Linestro/Gensim_Y
031b74234a92622cf2d2d2ebc2d5ba03ca28ecf8
[ "MIT" ]
6
2020-07-09T12:01:57.000Z
2021-04-27T10:23:58.000Z
archsim/src/abi/memory/MemoryModel.cpp
Linestro/Gensim_Y
031b74234a92622cf2d2d2ebc2d5ba03ca28ecf8
[ "MIT" ]
10
2020-07-29T17:05:26.000Z
2021-12-04T14:57:15.000Z
/* This file is Copyright University of Edinburgh 2018. For license details, see LICENSE. */ /* * abi/memory/MemoryModel.cpp */ #include "define.h" #include "abi/memory/MemoryTranslationModel.h" #include "abi/memory/MemoryModel.h" #include "abi/memory/MemoryEventHandler.h" #include "util/LogContext.h" #include "ut...
24.097442
234
0.706581
[ "vector" ]
23118998e67bcccba3a9331d76ab632100f7f883
23,426
cpp
C++
core/FluffiTester/TGTestcaseManagerTester.cpp
joyride9999/fluffi
028f16ee23d0232a9f53ca70aece116526655ea9
[ "MIT" ]
null
null
null
core/FluffiTester/TGTestcaseManagerTester.cpp
joyride9999/fluffi
028f16ee23d0232a9f53ca70aece116526655ea9
[ "MIT" ]
null
null
null
core/FluffiTester/TGTestcaseManagerTester.cpp
joyride9999/fluffi
028f16ee23d0232a9f53ca70aece116526655ea9
[ "MIT" ]
null
null
null
/* Copyright 2017-2019 Siemens AG Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sub...
61.647368
460
0.80607
[ "vector" ]
231331ad543b38eae87067ca5392290719067dd9
1,942
cpp
C++
448_b.cpp
onexmaster/cp
b78b0f1e586d6977d86c97b32f48fed33f1469af
[ "Apache-2.0", "MIT" ]
null
null
null
448_b.cpp
onexmaster/cp
b78b0f1e586d6977d86c97b32f48fed33f1469af
[ "Apache-2.0", "MIT" ]
null
null
null
448_b.cpp
onexmaster/cp
b78b0f1e586d6977d86c97b32f48fed33f1469af
[ "Apache-2.0", "MIT" ]
null
null
null
// Created by Tanuj Jain #include<bits/stdc++.h> #include<ext/pb_ds/assoc_container.hpp> #include<ext/pb_ds/tree_policy.hpp> using namespace std; using namespace __gnu_pbds; #define pb push_back #define mp make_pair typedef long long ll; typedef pair<int,int> pii; template<class T> using oset=tree<T, null_typ...
22.321839
106
0.560247
[ "vector" ]
23152160aff1fa936b4f0aed815922df25c9c580
17,140
cpp
C++
ClangAstDumper/ClangAstDumper.cpp
JulesHervault/clava
61a72bee627d48976392de0b46ac0681ed7f86de
[ "Apache-2.0" ]
null
null
null
ClangAstDumper/ClangAstDumper.cpp
JulesHervault/clava
61a72bee627d48976392de0b46ac0681ed7f86de
[ "Apache-2.0" ]
null
null
null
ClangAstDumper/ClangAstDumper.cpp
JulesHervault/clava
61a72bee627d48976392de0b46ac0681ed7f86de
[ "Apache-2.0" ]
null
null
null
// // Created by JoaoBispo on 20/01/2017. // #include "ClangAstDumper.h" #include "ClangAstDumperConstants.h" #include "ClangNodes.h" #include "ClangEnums.h" #include "clang/AST/AST.h" #include "clang/Lex/Lexer.h" #include <iostream> #include <sstream> #include <assert.h> //#define DEBUG //#define VISIT_CHECK u...
24.346591
176
0.622345
[ "vector" ]
2318e1ba1cd6244cde4d4439d9a6e1e826ffc810
3,546
cpp
C++
grasp_generation/graspitmodified_lm/Coin-3.1.3/src/elements/SoVertexAttributeElement.cpp
KraftOreo/EBM_Hand
9ab1722c196b7eb99b4c3ecc85cef6e8b1887053
[ "MIT" ]
null
null
null
grasp_generation/graspitmodified_lm/Coin-3.1.3/src/elements/SoVertexAttributeElement.cpp
KraftOreo/EBM_Hand
9ab1722c196b7eb99b4c3ecc85cef6e8b1887053
[ "MIT" ]
null
null
null
grasp_generation/graspitmodified_lm/Coin-3.1.3/src/elements/SoVertexAttributeElement.cpp
KraftOreo/EBM_Hand
9ab1722c196b7eb99b4c3ecc85cef6e8b1887053
[ "MIT" ]
null
null
null
/**************************************************************************\ * * This file is part of the Coin 3D visualization library. * Copyright (C) by Kongsberg Oil & Gas Technologies. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public ...
28.368
98
0.723632
[ "3d" ]
231e19b00ee6149a905f25418c104543c73e10f5
7,044
cpp
C++
src/xr_3da/xrGame/ai/Zombie/ai_zombie.cpp
ixray-team/ixray-b2945
ad5ef375994ee9cd790c4144891e9f00e7efe565
[ "Linux-OpenIB" ]
1
2022-03-26T17:00:19.000Z
2022-03-26T17:00:19.000Z
src/xr_3da/xrGame/ai/Zombie/ai_zombie.cpp
ixray-team/ixray-b2945
ad5ef375994ee9cd790c4144891e9f00e7efe565
[ "Linux-OpenIB" ]
null
null
null
src/xr_3da/xrGame/ai/Zombie/ai_zombie.cpp
ixray-team/ixray-b2945
ad5ef375994ee9cd790c4144891e9f00e7efe565
[ "Linux-OpenIB" ]
1
2022-03-26T17:00:21.000Z
2022-03-26T17:00:21.000Z
//////////////////////////////////////////////////////////////////////////// // Module : ai_zombie.cpp // Created : 23.04.2002 // Modified : 07.11.2002 // Author : Dmitriy Iassenev // Description : AI Behaviour for monster "Zombie" ////////////////////////////////////////////////////////////////////////////...
32.164384
96
0.661698
[ "model" ]
2322c5fc407133b2eb3bc03b165c427690ef5f3f
1,749
cpp
C++
src/+cv/RQDecomp3x3.cpp
1123852253/mexopencv
17db690133299f561924a45e9092673a4df66c5b
[ "BSD-3-Clause" ]
571
2015-01-04T06:23:19.000Z
2022-03-31T07:37:19.000Z
src/+cv/RQDecomp3x3.cpp
1123852253/mexopencv
17db690133299f561924a45e9092673a4df66c5b
[ "BSD-3-Clause" ]
362
2015-01-06T14:20:46.000Z
2022-01-20T08:10:46.000Z
src/+cv/RQDecomp3x3.cpp
1123852253/mexopencv
17db690133299f561924a45e9092673a4df66c5b
[ "BSD-3-Clause" ]
300
2015-01-20T03:21:27.000Z
2022-03-31T07:36:37.000Z
/** * @file RQDecomp3x3.cpp * @brief mex interface for cv::RQDecomp3x3 * @ingroup calib3d * @author Kota Yamaguchi * @date 2011 */ #include "mexopencv.hpp" #include "opencv2/calib3d.hpp" using namespace std; using namespace cv; namespace { /** Create a new MxArray from decomposed matrix. * @param Qx Rotation ma...
28.209677
76
0.6255
[ "object", "vector" ]
2325cdaf44579b7554583bf063ef82fbffabda67
55,015
cpp
C++
LeGO-LOAM/src/mapOptmization.cpp
tonglizi/LeGO-LOAM-BOR
602c4f2fc95583353674d40ae9d8168d1935d48c
[ "BSD-3-Clause" ]
null
null
null
LeGO-LOAM/src/mapOptmization.cpp
tonglizi/LeGO-LOAM-BOR
602c4f2fc95583353674d40ae9d8168d1935d48c
[ "BSD-3-Clause" ]
null
null
null
LeGO-LOAM/src/mapOptmization.cpp
tonglizi/LeGO-LOAM-BOR
602c4f2fc95583353674d40ae9d8168d1935d48c
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2013, Ji Zhang, Carnegie Mellon University // Further contributions copyright (c) 2016, Southwest Research Institute // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // 1...
38.552908
89
0.627047
[ "vector", "transform" ]
232659cef9a34dbeff616b39d6fc281107e40896
4,359
cpp
C++
clients/cpp-pistache-server/generated/model/GithubRepositorypermissions.cpp
cliffano/jenkins-api-clients-generator
522d02b3a130a29471df5ec1d3d22c822b3d0813
[ "MIT" ]
null
null
null
clients/cpp-pistache-server/generated/model/GithubRepositorypermissions.cpp
cliffano/jenkins-api-clients-generator
522d02b3a130a29471df5ec1d3d22c822b3d0813
[ "MIT" ]
null
null
null
clients/cpp-pistache-server/generated/model/GithubRepositorypermissions.cpp
cliffano/jenkins-api-clients-generator
522d02b3a130a29471df5ec1d3d22c822b3d0813
[ "MIT" ]
null
null
null
/** * Swaggy Jenkins * Jenkins API clients generated from Swagger / Open API specification * * The version of the OpenAPI document: 1.1.2-pre.0 * Contact: blah@cliffano.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the cl...
22.469072
120
0.657261
[ "model" ]
232b34f5f2fd1dbab199c8168aa969af2a96d2c7
7,471
cpp
C++
src/sprogc/source/gpc_delta_stoich.cpp
sm453/MOpS
f1a706c6552bbdf3ceab504121a02391a1b51ede
[ "MIT" ]
3
2020-09-08T14:06:33.000Z
2020-12-04T07:52:19.000Z
src/sprogc/source/gpc_delta_stoich.cpp
sm453/MOpS
f1a706c6552bbdf3ceab504121a02391a1b51ede
[ "MIT" ]
null
null
null
src/sprogc/source/gpc_delta_stoich.cpp
sm453/MOpS
f1a706c6552bbdf3ceab504121a02391a1b51ede
[ "MIT" ]
3
2021-11-15T05:18:26.000Z
2022-03-01T13:51:20.000Z
/* Author(s): Martin Martin (mm864) Project: sprog (gas-phase and surface chemical kinetics). Sourceforge: http://sourceforge.net/projects/mopssuite Copyright (C) 2012 Martin Martin. File purpose: Implementation of the Stoichiometry class declared in the gpc_Delta_stoich.h header file...
27.876866
114
0.654531
[ "object" ]
232b7c4c0742427cd9982d162ba488170ad53ecd
3,789
cc
C++
paddle/fluid/framework/ir/delete_quant_dequant_op_pass.cc
JingChunzhen/Paddle
1bce7caabc1c5e55b1fa13edb19719c397803c43
[ "Apache-2.0" ]
2
2021-02-04T15:04:21.000Z
2021-02-07T14:20:00.000Z
paddle/fluid/framework/ir/delete_quant_dequant_op_pass.cc
JingChunzhen/Paddle
1bce7caabc1c5e55b1fa13edb19719c397803c43
[ "Apache-2.0" ]
null
null
null
paddle/fluid/framework/ir/delete_quant_dequant_op_pass.cc
JingChunzhen/Paddle
1bce7caabc1c5e55b1fa13edb19719c397803c43
[ "Apache-2.0" ]
1
2021-12-09T06:56:27.000Z
2021-12-09T06:56:27.000Z
// Copyright (c) 2018 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...
37.147059
80
0.663764
[ "vector" ]
23352f6962eea4795c8cb3fd863e79b830f36425
1,692
cpp
C++
sgm/src/texture_cache.cpp
yodasoda1219/sge
d8e099842fd57e5f968083c87fccba2a5df51f19
[ "Apache-2.0" ]
4
2022-01-02T06:08:34.000Z
2022-02-20T06:28:01.000Z
sgm/src/texture_cache.cpp
yodasoda1219/sge
d8e099842fd57e5f968083c87fccba2a5df51f19
[ "Apache-2.0" ]
null
null
null
sgm/src/texture_cache.cpp
yodasoda1219/sge
d8e099842fd57e5f968083c87fccba2a5df51f19
[ "Apache-2.0" ]
null
null
null
/* Copyright 2022 Nora Beda and SGE contributors 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 ...
36
75
0.710993
[ "vector" ]
2335f49bc65ecc51ac830921ef885d4f42a05675
1,511
cpp
C++
2015/day9/main.cpp
bielskij/AOC-2019
e98d660412037b3fdac4a6b49adcb9230f518c99
[ "MIT" ]
null
null
null
2015/day9/main.cpp
bielskij/AOC-2019
e98d660412037b3fdac4a6b49adcb9230f518c99
[ "MIT" ]
null
null
null
2015/day9/main.cpp
bielskij/AOC-2019
e98d660412037b3fdac4a6b49adcb9230f518c99
[ "MIT" ]
null
null
null
#include <climits> #include "common/types.h" #include "utils/file.h" #include "utils/utils.h" #include "utils/graph.h" #define DEBUG_LEVEL 5 #include "common/debug.h" int main(int argc, char *argv[]) { std::map<std::string, std::map<std::string, int>> locations; { auto lines = File::readAllLines(argv[1]); ...
20.146667
70
0.571807
[ "vector" ]
233a680191667d53842e3c0641a9c2303d215839
3,749
cpp
C++
atcoder/HTTF2018/main.cpp
Johniel/contests
b692eff913c20e2c1eb4ff0ce3cd4c57900594e0
[ "Unlicense" ]
null
null
null
atcoder/HTTF2018/main.cpp
Johniel/contests
b692eff913c20e2c1eb4ff0ce3cd4c57900594e0
[ "Unlicense" ]
19
2016-05-04T02:46:31.000Z
2021-11-27T06:18:33.000Z
atcoder/HTTF2018/main.cpp
Johniel/contests
b692eff913c20e2c1eb4ff0ce3cd4c57900594e0
[ "Unlicense" ]
null
null
null
#include <bits/stdc++.h> #define each(i, c) for (auto& i : c) #define unless(cond) if (!(cond)) using namespace std; typedef long long int lli; typedef unsigned long long ull; typedef complex<double> point; template<typename P, typename Q> ostream& operator << (ostream& os, pair<P, Q> p) { os << "(" << p.first ...
22.183432
144
0.467591
[ "vector" ]
23433c99fba82193d1af780dc42a675c5f088f3d
15,455
cpp
C++
src/KinematicForest.cpp
wouterboomsma/quickstep
a33447562eca1350c626883f21c68125bd9f776c
[ "MIT" ]
1
2019-06-27T17:54:13.000Z
2019-06-27T17:54:13.000Z
src/KinematicForest.cpp
wouterboomsma/quickstep
a33447562eca1350c626883f21c68125bd9f776c
[ "MIT" ]
null
null
null
src/KinematicForest.cpp
wouterboomsma/quickstep
a33447562eca1350c626883f21c68125bd9f776c
[ "MIT" ]
null
null
null
#include "quickstep/KinematicForest.h" #include <iostream> #include <math.h> #include <assert.h> /* assert */ #include <functional> // reference_wrapper #include <cassert> #include "quickstep/utils.h" #include "quickstep/DisjointSet.h" using namespace std; using namespace quickstep; //std::vector<int> DOFInd...
28.202555
129
0.637464
[ "vector", "transform" ]
234a86313e560b4bf35a04bebdde0970e01bc09e
52,125
cpp
C++
native/libs/gui/BufferQueueProducer.cpp
Keneral/aframeworks
af1d0010bfb88751837fb1afc355705bd8a9ad8b
[ "Unlicense" ]
null
null
null
native/libs/gui/BufferQueueProducer.cpp
Keneral/aframeworks
af1d0010bfb88751837fb1afc355705bd8a9ad8b
[ "Unlicense" ]
null
null
null
native/libs/gui/BufferQueueProducer.cpp
Keneral/aframeworks
af1d0010bfb88751837fb1afc355705bd8a9ad8b
[ "Unlicense" ]
null
null
null
/* * Copyright 2014 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
36.374738
98
0.604393
[ "vector", "transform" ]
054b3199e735a9590251eba87de245263d89059a
1,906
cpp
C++
core/util/SamplesGenerator.cpp
billhj/Etoile2015
c9311fc2a901cd60b2aeead5462ca8d6f7c5aa3a
[ "Apache-2.0" ]
null
null
null
core/util/SamplesGenerator.cpp
billhj/Etoile2015
c9311fc2a901cd60b2aeead5462ca8d6f7c5aa3a
[ "Apache-2.0" ]
null
null
null
core/util/SamplesGenerator.cpp
billhj/Etoile2015
c9311fc2a901cd60b2aeead5462ca8d6f7c5aa3a
[ "Apache-2.0" ]
null
null
null
/** * Copyright(C) 2009-2012 * @author Jing HUANG * @file SamplesGenerator.cpp * @brief * @date 1/2/2011 */ #include "SamplesGenerator.h" #include <fstream> /** * @brief For tracking memory leaks under windows using the crtdbg */ #if ( defined( _DEBUG ) || defined( DEBUG ) ) && defined( _MSC_VER ) #d...
25.413333
147
0.586569
[ "vector" ]
054da6d903c11e35adad5dd7e477fad37f27426c
12,522
cpp
C++
Editor/Editor.cpp
dayfox5317/SpartanEngine
b7d1efd676e464ea26f1b112cbcc3a73782d4b1b
[ "MIT" ]
null
null
null
Editor/Editor.cpp
dayfox5317/SpartanEngine
b7d1efd676e464ea26f1b112cbcc3a73782d4b1b
[ "MIT" ]
null
null
null
Editor/Editor.cpp
dayfox5317/SpartanEngine
b7d1efd676e464ea26f1b112cbcc3a73782d4b1b
[ "MIT" ]
1
2020-11-07T16:33:00.000Z
2020-11-07T16:33:00.000Z
/* Copyright(c) 2016-2019 Panos Karabelas 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, distrib...
37.716867
141
0.721291
[ "render", "model" ]
0550388342c00e678d52f9c862ac3e05d843e32e
15,440
cxx
C++
Remoting/ServerManager/vtkSMCollaborationManager.cxx
qiangwushuang/ParaView
f35ed90a6582e9d21924b66a905498f6a38ab4a3
[ "Apache-2.0", "BSD-3-Clause" ]
815
2015-01-03T02:14:04.000Z
2022-03-26T07:48:07.000Z
Remoting/ServerManager/vtkSMCollaborationManager.cxx
qiangwushuang/ParaView
f35ed90a6582e9d21924b66a905498f6a38ab4a3
[ "Apache-2.0", "BSD-3-Clause" ]
9
2015-04-28T20:10:37.000Z
2021-08-20T18:19:01.000Z
Remoting/ServerManager/vtkSMCollaborationManager.cxx
qiangwushuang/ParaView
f35ed90a6582e9d21924b66a905498f6a38ab4a3
[ "Apache-2.0", "BSD-3-Clause" ]
328
2015-01-22T23:11:46.000Z
2022-03-14T06:07:52.000Z
/*========================================================================= Program: ParaView Module: vtkSMCollaborationManager.cxx Copyright (c) Kitware, Inc. All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. This software is distributed WITHOUT ANY WARR...
31.255061
98
0.5875
[ "render", "vector" ]
055e1a06a2801c9f8e81887fa0579f37f378f964
3,952
cxx
C++
src/Cxx/VisualizationAlgorithms/CutWithCutFunction.cxx
jhlegarreta/VTKExamples
dc8aac47c4384f9a2de9facbdd1ab3249f62ec99
[ "Apache-2.0" ]
309
2017-05-21T09:07:19.000Z
2022-03-15T09:18:55.000Z
src/Cxx/VisualizationAlgorithms/CutWithCutFunction.cxx
yijianmingliu/VTKExamples
dc8aac47c4384f9a2de9facbdd1ab3249f62ec99
[ "Apache-2.0" ]
379
2017-05-21T09:06:43.000Z
2021-03-29T20:30:50.000Z
src/Cxx/VisualizationAlgorithms/CutWithCutFunction.cxx
yijianmingliu/VTKExamples
dc8aac47c4384f9a2de9facbdd1ab3249f62ec99
[ "Apache-2.0" ]
170
2017-05-17T14:47:41.000Z
2022-03-31T13:16:26.000Z
#include <vtkSmartPointer.h> #include <vtkXMLPolyDataReader.h> #include <vtkPolyDataMapper.h> #include <vtkPolyData.h> #include <vtkPointData.h> #include <vtkPlane.h> #include <vtkProperty.h> #include <vtkActor.h> #include <vtkCamera.h> #include <vtkRenderer.h> #include <vtkRenderWindow.h> #include <vtkRenderWindowInte...
31.365079
79
0.677632
[ "render", "model" ]
055ebe3a53b77224ac111fd848abad6aa8a246b0
40,999
cpp
C++
Dependencies/xr/Source/OpenXR/XR.cpp
elix22/BabylonNative
107d6cbb3dc5d5f8ad92ca03e71603eae2cf62d1
[ "MIT" ]
null
null
null
Dependencies/xr/Source/OpenXR/XR.cpp
elix22/BabylonNative
107d6cbb3dc5d5f8ad92ca03e71603eae2cf62d1
[ "MIT" ]
null
null
null
Dependencies/xr/Source/OpenXR/XR.cpp
elix22/BabylonNative
107d6cbb3dc5d5f8ad92ca03e71603eae2cf62d1
[ "MIT" ]
null
null
null
#include <XR.h> #include <XrPlatform.h> #include <assert.h> #include <optional> namespace xr { namespace { struct SupportedExtensions { SupportedExtensions() : Names{} { uint32_t extensionCount{}; XrCheck(xrEnumerateInsta...
48.519527
167
0.63782
[ "render", "vector" ]
05627c179f54f6db5fdc70590b74bb0d4ebbf3d5
2,982
hpp
C++
core/id_mapper.hpp
BowenforGit/Grasper
268468d6eb0a56e9a4815c0c1d7660b06bf8a1f7
[ "Apache-2.0" ]
29
2019-11-18T14:25:05.000Z
2022-02-10T07:21:48.000Z
core/id_mapper.hpp
BowenforGit/Grasper
268468d6eb0a56e9a4815c0c1d7660b06bf8a1f7
[ "Apache-2.0" ]
2
2021-03-17T03:17:38.000Z
2021-04-11T04:06:23.000Z
core/id_mapper.hpp
BowenforGit/Grasper
268468d6eb0a56e9a4815c0c1d7660b06bf8a1f7
[ "Apache-2.0" ]
6
2019-11-21T18:04:15.000Z
2022-03-01T02:48:50.000Z
/* Copyright 2019 Husky Data Lab, CUHK Authors: Hongzhi Chen (hzchen@cse.cuhk.edu.hk) */ #ifndef IDMAPPER_HPP_ #define IDMAPPER_HPP_ #include <vector> #include "core/abstract_id_mapper.hpp" #include "utils/config.hpp" #include "utils/unit.hpp" #include "utils/mymath.hpp" #include "base/type.hpp" #include "base/node...
26.864865
76
0.657277
[ "vector" ]
0564baa167da35561c9c7db1ea2322b3a09eb529
684
hpp
C++
include/xul/xio/io_session_listener.hpp
hindsights/xul
666ce90742a9919d538ad5c8aad618737171e93b
[ "MIT" ]
2
2018-03-16T07:06:48.000Z
2018-04-02T03:02:14.000Z
include/xul/xio/io_session_listener.hpp
hindsights/xul
666ce90742a9919d538ad5c8aad618737171e93b
[ "MIT" ]
null
null
null
include/xul/xio/io_session_listener.hpp
hindsights/xul
666ce90742a9919d538ad5c8aad618737171e93b
[ "MIT" ]
1
2019-08-12T05:15:29.000Z
2019-08-12T05:15:29.000Z
#pragma once #include <stddef.h> namespace xul { class io_session; class io_session_listener; class decoder_message_base; class message_decoder; class io_session_listener { public: virtual void on_session_open(io_session* session) { } virtual void on_session_close(io_session* session) { } virtual voi...
20.727273
92
0.763158
[ "object" ]
0566bb7416a4e71dce50c1827d83218c0c0eae64
4,085
cpp
C++
gtests/src/integration/tests/test_dc_aware_policy.cpp
polsm91/cpp-driver
fd9b73d4acfd85293ab304be64e2e1e2109e521d
[ "Apache-2.0" ]
null
null
null
gtests/src/integration/tests/test_dc_aware_policy.cpp
polsm91/cpp-driver
fd9b73d4acfd85293ab304be64e2e1e2109e521d
[ "Apache-2.0" ]
null
null
null
gtests/src/integration/tests/test_dc_aware_policy.cpp
polsm91/cpp-driver
fd9b73d4acfd85293ab304be64e2e1e2109e521d
[ "Apache-2.0" ]
null
null
null
/* Copyright (c) DataStax, 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 writing, so...
35.833333
132
0.715545
[ "vector" ]
0566e14801fe65c3ca83031bd4425b5ec63ce773
8,786
cpp
C++
inference-engine/tests/unit/shape_infer/reshaper_test.cpp
cpriebe/dldt
8631dc583e506adcd06498095919b5dd42323e1e
[ "Apache-2.0" ]
3
2020-02-09T23:25:37.000Z
2021-01-19T09:44:12.000Z
inference-engine/tests/unit/shape_infer/reshaper_test.cpp
cpriebe/dldt
8631dc583e506adcd06498095919b5dd42323e1e
[ "Apache-2.0" ]
null
null
null
inference-engine/tests/unit/shape_infer/reshaper_test.cpp
cpriebe/dldt
8631dc583e506adcd06498095919b5dd42323e1e
[ "Apache-2.0" ]
2
2020-04-18T16:24:39.000Z
2021-01-19T09:42:19.000Z
// Copyright (C) 2018-2019 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <gtest/gtest.h> #include <gmock/gmock-matchers.h> #include <shape_infer/mock_ishape_infer_impl.hpp> #include <shape_infer/mock_shape_infer_extension.hpp> #include <mock_icnn_network.hpp> #include <../graph_tools/graph_test...
40.302752
120
0.633394
[ "vector" ]
05711b26b1e782c892ec06a60500ace1a4144722
9,587
cc
C++
DQM/HLTEvF/plugins/LumiMonitor.cc
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
DQM/HLTEvF/plugins/LumiMonitor.cc
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
DQM/HLTEvF/plugins/LumiMonitor.cc
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
#include "DQM/HLTEvF/plugins/LumiMonitor.h" #include "FWCore/MessageLogger/interface/MessageLogger.h" #include "DQM/TrackingMonitor/interface/GetLumi.h" // ----------------------------- // constructors and destructor // ----------------------------- LumiMonitor::LumiMonitor( const edm::ParameterSet& iConfig ) : ...
43.577273
215
0.686346
[ "geometry" ]
057c1b5e82e75b3298a0cb31ebcf39bd6d981f5b
558
hpp
C++
coding-interviews/jump_floor_ii_9.hpp
lonelyhentai/nowcoder-collection
db795a5349b59f8cbb69e974adbb90ad30912558
[ "WTFPL" ]
1
2020-03-08T13:54:54.000Z
2020-03-08T13:54:54.000Z
coding-interviews/jump_floor_ii_9.hpp
lonelyhentai/nowcoder-collection
db795a5349b59f8cbb69e974adbb90ad30912558
[ "WTFPL" ]
null
null
null
coding-interviews/jump_floor_ii_9.hpp
lonelyhentai/nowcoder-collection
db795a5349b59f8cbb69e974adbb90ad30912558
[ "WTFPL" ]
null
null
null
// [变态跳台阶](https://www.nowcoder.com/practice/22243d016f6b47f2a6928b4313c85387) #pragma once #include <vector> #define let const auto namespace task9 { using namespace std; class Solution { public: int jumpFloorII(int number) { auto dp = vector<int>(number+1, 0); dp[0] = 1; ...
25.363636
78
0.483871
[ "vector" ]
0585804e9feff63b7d3d5ee66433b3c37355ec3d
1,758
hh
C++
graph/graph.hh
CN-TU/remy
0c0887322b0cbf6e3497e3aeb95c979907f03623
[ "Apache-2.0" ]
6
2020-03-19T04:16:02.000Z
2022-03-30T15:41:39.000Z
graph/graph.hh
CN-TU/remy
0c0887322b0cbf6e3497e3aeb95c979907f03623
[ "Apache-2.0" ]
1
2020-05-20T12:05:49.000Z
2021-11-14T13:39:23.000Z
graph/graph.hh
CN-TU/remy
0c0887322b0cbf6e3497e3aeb95c979907f03623
[ "Apache-2.0" ]
null
null
null
#ifndef GRAPH_HH #define GRAPH_HH #include "display.hh" #include "cairo_objects.hh" class Graph { Display display_; Cairo cairo_; Pango pango_; Pango::Font tick_font_; Pango::Font label_font_; struct YLabel { int height; Pango::Text text; float intensity; }; std::deque<std::pair<int, ...
25.478261
103
0.684869
[ "vector" ]
058a9f91babd854bb1c61e8e7d7cdf8983f73ada
5,225
cpp
C++
modules/task_2/voronin_a_vertical_gaussian_method/main.cpp
RachinIA/pp_2020_autumn_engineer
23f7df688a77cad9496b9d95bbe2645e0528f106
[ "BSD-3-Clause" ]
1
2020-10-30T13:49:58.000Z
2020-10-30T13:49:58.000Z
modules/task_2/voronin_a_vertical_gaussian_method/main.cpp
RachinIA/pp_2020_autumn_engineer
23f7df688a77cad9496b9d95bbe2645e0528f106
[ "BSD-3-Clause" ]
null
null
null
modules/task_2/voronin_a_vertical_gaussian_method/main.cpp
RachinIA/pp_2020_autumn_engineer
23f7df688a77cad9496b9d95bbe2645e0528f106
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2020 Voronin Aleksey #include <gtest-mpi-listener.hpp> #include <gtest/gtest.h> #include <cmath> #include <vector> #include "./vertical_gaussian_method.h" TEST(Parallel_Operations_MPI, can_get_random_linear_matrix) { int rank; MPI_Comm_rank(MPI_COMM_WORLD, &rank); if (rank == 0) { cons...
33.709677
102
0.621244
[ "vector" ]
058bcc8155802ddd94b1fe16606f686c45d87991
2,852
cpp
C++
drlDLL/drlDLL/graphnn/src/nn/binary_logloss.cpp
songwenas12/csp-drl
dcc2320b08c397a9561242de4e24b569b71752fa
[ "Apache-2.0" ]
3
2021-12-11T12:30:09.000Z
2021-12-30T09:49:45.000Z
drlDLL/drlDLL/graphnn/src/nn/binary_logloss.cpp
songwenas12/csp-drl
dcc2320b08c397a9561242de4e24b569b71752fa
[ "Apache-2.0" ]
null
null
null
drlDLL/drlDLL/graphnn/src/nn/binary_logloss.cpp
songwenas12/csp-drl
dcc2320b08c397a9561242de4e24b569b71752fa
[ "Apache-2.0" ]
null
null
null
#include "nn/binary_logloss.h" #include <cmath> namespace gnn { template<typename Dtype> void CalcBinaryLogLoss(DTensor<CPU, Dtype>& prob, DTensor<CPU, Dtype>& label, DTensor<CPU, Dtype>& out) { //ASSERT(prob.cols() == label.cols(), "# columns should match"); out.Reshape({prob.rows(), prob.cols()}); for (size_t i ...
31.688889
103
0.648317
[ "vector" ]
058dd6907f90e9e0067372b5f84879166c2d8e9a
4,205
cc
C++
src/solvers/EigenvalueManager.cc
baklanovp/libdetran
820efab9d03ae425ccefb9520bdb6c086fdbf939
[ "MIT" ]
4
2015-03-07T16:20:23.000Z
2020-02-10T13:40:16.000Z
src/solvers/EigenvalueManager.cc
baklanovp/libdetran
820efab9d03ae425ccefb9520bdb6c086fdbf939
[ "MIT" ]
3
2018-02-27T21:24:22.000Z
2020-12-16T00:56:44.000Z
src/solvers/EigenvalueManager.cc
baklanovp/libdetran
820efab9d03ae425ccefb9520bdb6c086fdbf939
[ "MIT" ]
9
2015-03-07T16:20:26.000Z
2022-01-29T00:14:23.000Z
//----------------------------------*-C++-*----------------------------------// /** * @file EigenvalueManager.cc * @brief EigenvalueManager class definition * @note Copyright(C) 2012-2013 Jeremy Roberts */ //---------------------------------------------------------------------------// #include "EigenvalueMana...
28.605442
79
0.552438
[ "mesh", "geometry" ]
05914a4f3ebcbcddcc3894aa3f05ab5baadc0fe9
4,640
cpp
C++
src/cpp/src/Capture.cpp
vmlaker/wabbit
49d7e2ae6d476c809131aab8cc4df21a91ebed06
[ "MIT" ]
2
2015-04-23T05:40:53.000Z
2017-09-27T17:34:04.000Z
src/cpp/src/Capture.cpp
vmlaker/wabbit
49d7e2ae6d476c809131aab8cc4df21a91ebed06
[ "MIT" ]
null
null
null
src/cpp/src/Capture.cpp
vmlaker/wabbit
49d7e2ae6d476c809131aab8cc4df21a91ebed06
[ "MIT" ]
null
null
null
/** * Capture.cpp */ #include <iomanip> #include <stdexcept> // std::invalid_argument #include <bites.hpp> #include <boost/filesystem.hpp> #include "Capture.hpp" namespace wabbit { Capture::Capture( bites::Config& config, const int& duration, std::ostream* output_stream ) ...
34.37037
101
0.628017
[ "object", "vector" ]
059715b018c6ac74e8d17e2707accdb566b25fd6
4,895
hpp
C++
src/graphlab/parallel/atomic.hpp
iivek/graphlab-cmu-mirror
028321757ea979e6a0859687e37933be375153eb
[ "ECL-2.0", "Apache-2.0" ]
1
2018-08-01T06:32:58.000Z
2018-08-01T06:32:58.000Z
src/graphlab/parallel/atomic.hpp
iivek/graphlab-cmu-mirror
028321757ea979e6a0859687e37933be375153eb
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
src/graphlab/parallel/atomic.hpp
iivek/graphlab-cmu-mirror
028321757ea979e6a0859687e37933be375153eb
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
/** * Copyright (c) 2009 Carnegie Mellon University. * 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...
29.487952
91
0.598774
[ "object" ]
0598f02888843cbadde9649f529c7efd1e73c68e
10,922
cpp
C++
example/probe-demo/probe-demo.cpp
bcumming/arbor
3cc73f1eea296332e1308567e1b8a7ed41128355
[ "BSD-3-Clause" ]
null
null
null
example/probe-demo/probe-demo.cpp
bcumming/arbor
3cc73f1eea296332e1308567e1b8a7ed41128355
[ "BSD-3-Clause" ]
null
null
null
example/probe-demo/probe-demo.cpp
bcumming/arbor
3cc73f1eea296332e1308567e1b8a7ed41128355
[ "BSD-3-Clause" ]
null
null
null
#include <functional> #include <iomanip> #include <iostream> #include <stdexcept> #include <string> #include <tuple> #include <utility> #include <vector> #include <arbor/load_balance.hpp> #include <arbor/cable_cell.hpp> #include <arbor/morph/morphology.hpp> #include <arbor/morph/region.hpp> #include <arbor/simulation....
42.831373
125
0.590734
[ "vector" ]
059a393845c183a7649246c6a299c04f91820666
1,335
cpp
C++
uva/634 - Polygon_2.cpp
taufique71/sports-programming
c29a92b5e5424c7de6f94e302fc6783561de9b3d
[ "MIT" ]
null
null
null
uva/634 - Polygon_2.cpp
taufique71/sports-programming
c29a92b5e5424c7de6f94e302fc6783561de9b3d
[ "MIT" ]
null
null
null
uva/634 - Polygon_2.cpp
taufique71/sports-programming
c29a92b5e5424c7de6f94e302fc6783561de9b3d
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> using namespace std; struct Point { double x; double y; }; vector<Point> polygon; bool insidePolygon(Point p) { int i,j; int vertexNum = polygon.size(); j = vertexNum-1; bool result = false; for(i = 0 ; i < vertexNum ; i++) { ...
20.227273
120
0.4
[ "vector" ]
05a301a02b1db4e285e5a26a24cd5eb062e87b4d
2,475
hpp
C++
core/src/Navigation/NavigationMeshContainer.hpp
hhsaez/crimild
e3efee09489939338df55e8af9a1f9ddc01301f7
[ "BSD-3-Clause" ]
36
2015-03-12T10:42:36.000Z
2022-01-12T04:20:40.000Z
core/src/Navigation/NavigationMeshContainer.hpp
hhsaez/crimild
e3efee09489939338df55e8af9a1f9ddc01301f7
[ "BSD-3-Clause" ]
1
2015-12-17T00:25:43.000Z
2016-02-20T12:00:57.000Z
core/src/Navigation/NavigationMeshContainer.hpp
hhsaez/crimild
e3efee09489939338df55e8af9a1f9ddc01301f7
[ "BSD-3-Clause" ]
6
2017-06-17T07:57:53.000Z
2019-04-09T21:11:24.000Z
/* * Copyright (c) 2013, Hernan Saez * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright * notice, this list of con...
37.5
99
0.758384
[ "mesh" ]
05a457ab6ed789a18316a9c198d6c1cc0af7cb80
8,424
cc
C++
src/model/operation/pooling.cc
agnesnatasya/singa
e4082c600e7730b795e55ff3dd3b9df5b282389c
[ "Apache-2.0" ]
1
2020-04-28T01:42:33.000Z
2020-04-28T01:42:33.000Z
src/model/operation/pooling.cc
yshuailiu/singa
50d3092e8f489994becf84ee7e22c69a935a1f13
[ "Apache-2.0" ]
null
null
null
src/model/operation/pooling.cc
yshuailiu/singa
50d3092e8f489994becf84ee7e22c69a935a1f13
[ "Apache-2.0" ]
2
2021-08-06T23:43:42.000Z
2021-08-06T23:45:55.000Z
/********************************************************* * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you und...
36.626087
80
0.607787
[ "shape", "vector" ]
05ac05afa937bc62bd9d7fa3a334906c757acf5a
1,983
cpp
C++
src/space/triangulation_view.cpp
rvanvenetie/spacetime
b516419be2a59115d9b2d853aeea9fcd4f125c94
[ "MIT" ]
null
null
null
src/space/triangulation_view.cpp
rvanvenetie/spacetime
b516419be2a59115d9b2d853aeea9fcd4f125c94
[ "MIT" ]
null
null
null
src/space/triangulation_view.cpp
rvanvenetie/spacetime
b516419be2a59115d9b2d853aeea9fcd4f125c94
[ "MIT" ]
null
null
null
#include "triangulation_view.hpp" namespace space { TriangulationView::TriangulationView(std::vector<Vertex *> &&vertices) : V(vertices.size()), J(vertices.back()->level()), vertices_(std::move(vertices)), on_boundary_(V), godparents_(V, {0, 0}), vertices_per_level(J + 2, 0) { asse...
30.045455
77
0.609682
[ "vector" ]
05b66b80cbdbc0344d4d7a50a8018d154f4988ad
16,272
cpp
C++
src/FresponzeWasapiSpatialEndpoint.cpp
Vertver/Fresponze
ca45738a2c06474fb6f45b627f8b1c8b85e69cd1
[ "Apache-2.0" ]
6
2019-10-09T11:43:42.000Z
2021-08-19T01:31:02.000Z
src/FresponzeWasapiSpatialEndpoint.cpp
Vertver/Fresponze
ca45738a2c06474fb6f45b627f8b1c8b85e69cd1
[ "Apache-2.0" ]
null
null
null
src/FresponzeWasapiSpatialEndpoint.cpp
Vertver/Fresponze
ca45738a2c06474fb6f45b627f8b1c8b85e69cd1
[ "Apache-2.0" ]
null
null
null
/********************************************************************* * Copyright (C) Anton Kovalev (vertver), 2020. All rights reserved. * Fresponze - fast, simple and modern multimedia sound library * Apache-2 License ********************************************************************** * Licensed under the Apache ...
31.053435
230
0.734329
[ "render", "object" ]
05bd2d8f7b1b9fa1f70829310b4eb5c3d515a383
1,144
cpp
C++
test/findpaths_cpp.cpp
devuci/bct-cpp
bbb33f476bffbb5669e051841f00c3241f4d6f69
[ "MIT" ]
null
null
null
test/findpaths_cpp.cpp
devuci/bct-cpp
bbb33f476bffbb5669e051841f00c3241f4d6f69
[ "MIT" ]
null
null
null
test/findpaths_cpp.cpp
devuci/bct-cpp
bbb33f476bffbb5669e051841f00c3241f4d6f69
[ "MIT" ]
null
null
null
#include "bct_test.h" DEFUN_DLD(findpaths_cpp, args, , "Wrapper for C++ function.") { if (args.length() != 3) { return octave_value_list(); } Matrix CIJ = args(0).matrix_value(); Matrix sources = args(1).matrix_value(); int qmax = args(2).int_value(); if (!error_state) { gsl_matrix* CIJ_gsl = bct_test::to_gs...
30.918919
106
0.702797
[ "vector" ]
05bde3ddbc6427fbb55bd6f9d97c88b31613b146
9,390
cpp
C++
code/src/resources/othermanagers/colorspacesimpl.cpp
jgresula/jagpdf
6c36958b109e6522e6b57d04144dd83c024778eb
[ "MIT" ]
54
2015-02-16T14:25:16.000Z
2022-03-16T07:54:25.000Z
code/src/resources/othermanagers/colorspacesimpl.cpp
jgresula/jagpdf
6c36958b109e6522e6b57d04144dd83c024778eb
[ "MIT" ]
null
null
null
code/src/resources/othermanagers/colorspacesimpl.cpp
jgresula/jagpdf
6c36958b109e6522e6b57d04144dd83c024778eb
[ "MIT" ]
30
2015-03-05T08:52:25.000Z
2022-02-17T13:49:15.000Z
// Copyright (c) 2005-2009 Jaroslav Gresula // // Distributed under the MIT license (See accompanying file // LICENSE.txt or copy at http://jagpdf.org/LICENSE.txt) // #include "precompiled.h" #include <resources/othermanagers/colorspacesimpl.h> #include <resources/resourcebox/colorspacehelpers.h> #include <core/gener...
21.487414
84
0.628647
[ "object", "vector" ]
05c417895c7117944a92ad4647a579e4d7c7ea9f
13,601
cpp
C++
clipdiff/FormMain.cpp
ambiesoft/clipdiff
856b4ca0ee9b089ab2b3b249dd82579936183819
[ "BSD-2-Clause" ]
null
null
null
clipdiff/FormMain.cpp
ambiesoft/clipdiff
856b4ca0ee9b089ab2b3b249dd82579936183819
[ "BSD-2-Clause" ]
2
2019-06-23T16:38:59.000Z
2019-06-23T16:39:32.000Z
clipdiff/FormMain.cpp
ambiesoft/clipdiff
856b4ca0ee9b089ab2b3b249dd82579936183819
[ "BSD-2-Clause" ]
null
null
null
//Copyright (C) 2017 Ambiesoft All rights reserved. // //Redistribution and use in source and binary forms, with or without //modification, are permitted provided that the following conditions //are met: //1. Redistributions of source code must retain the above copyright //notice, this list of conditions and the ...
25.327747
124
0.637894
[ "object" ]
05c93fa76c7546e8dabfa8919cefd15decef6ea5
16,194
cpp
C++
samples/sfml/SimpleStreamViewer-SFML/main.cpp
mucks/astra-sdk
810fc9ad62167baee6326de2549c583d0d54d424
[ "Apache-2.0" ]
1
2019-11-22T05:36:21.000Z
2019-11-22T05:36:21.000Z
samples/sfml/SimpleStreamViewer-SFML/main.cpp
mucks/astra-sdk
810fc9ad62167baee6326de2549c583d0d54d424
[ "Apache-2.0" ]
null
null
null
samples/sfml/SimpleStreamViewer-SFML/main.cpp
mucks/astra-sdk
810fc9ad62167baee6326de2549c583d0d54d424
[ "Apache-2.0" ]
1
2021-02-04T05:18:23.000Z
2021-02-04T05:18:23.000Z
// This file is part of the Orbbec Astra SDK [https://orbbec3d.com] // Copyright (c) 2015-2017 Orbbec 3D // // 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/licens...
29.768382
111
0.550821
[ "3d" ]
fe4ca8b18d138bbb241c7da39f81d9d0043d59fe
8,623
cc
C++
Geometry/MTDCommonData/test/DD4hep_TestMTDNumbering.cc
RosmarieSchoefbeck/cmssw
66b151a27eef46ff965508064071091ecb21395c
[ "Apache-2.0" ]
1
2020-04-09T19:05:23.000Z
2020-04-09T19:05:23.000Z
Geometry/MTDCommonData/test/DD4hep_TestMTDNumbering.cc
RosmarieSchoefbeck/cmssw
66b151a27eef46ff965508064071091ecb21395c
[ "Apache-2.0" ]
null
null
null
Geometry/MTDCommonData/test/DD4hep_TestMTDNumbering.cc
RosmarieSchoefbeck/cmssw
66b151a27eef46ff965508064071091ecb21395c
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <fstream> #include <string> #include <utility> #include <vector> #include <algorithm> #include "FWCore/Framework/interface/Frameworkfwd.h" #include "FWCore/Framework/interface/one/EDAnalyzer.h" #include "FWCore/Framework/interface/Event.h" #include "FWCore/Framework/interface/EventSetup.h"...
32.539623
115
0.630871
[ "geometry", "vector" ]
fe5b51105061e9188b1b6f3d059b18f88edf54f1
2,303
cpp
C++
core_cs/oops/function_overriding.cpp
saurabhraj042/dsaPrep
0973a03bc565a2850003c7e48d99b97ff83b1d01
[ "MIT" ]
23
2021-10-30T04:11:52.000Z
2021-11-27T09:16:18.000Z
core_cs/oops/function_overriding.cpp
Pawanupadhyay10/placement-prep
0449fa7cbc56e7933e6b090936ab7c15ca5f290f
[ "MIT" ]
null
null
null
core_cs/oops/function_overriding.cpp
Pawanupadhyay10/placement-prep
0449fa7cbc56e7933e6b090936ab7c15ca5f290f
[ "MIT" ]
4
2021-10-30T03:26:05.000Z
2021-11-14T12:15:04.000Z
/** * If derived class defines same function as defined in its base class, * it is known as function overriding in C++. * It is used to achieve runtime polymorphism. * It enables you to provide specific implementation of the function which is already provided by its base class. * */ #include<bits/stdc++.h> ...
34.373134
127
0.64568
[ "object" ]
fe5c68db9eadbf82aa3373a970e6e84c2f0f6fdb
6,588
cpp
C++
tests/TracingTest.cpp
NearTox/Skia
8b7e0616161fff86ecbd8938b90600d72b8d5c1d
[ "BSD-3-Clause" ]
null
null
null
tests/TracingTest.cpp
NearTox/Skia
8b7e0616161fff86ecbd8938b90600d72b8d5c1d
[ "BSD-3-Clause" ]
null
null
null
tests/TracingTest.cpp
NearTox/Skia
8b7e0616161fff86ecbd8938b90600d72b8d5c1d
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright 2017 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "include/core/SkImageInfo.h" #include "include/core/SkPoint.h" #include "include/core/SkRect.h" #include "src/core/SkLeanWindows.h" #include "src/core/SkTraceEvent.h"...
35.804348
98
0.693534
[ "object", "shape" ]
fe5d9e4608b98bd16ba1dc721217fc2ad606bb60
303
cc
C++
leetcode/unique-binary-search-tree.cc
Waywrong/leetcode-solution
55115aeab4040f5ff84bdce6ffcfe4a98f879616
[ "MIT" ]
null
null
null
leetcode/unique-binary-search-tree.cc
Waywrong/leetcode-solution
55115aeab4040f5ff84bdce6ffcfe4a98f879616
[ "MIT" ]
null
null
null
leetcode/unique-binary-search-tree.cc
Waywrong/leetcode-solution
55115aeab4040f5ff84bdce6ffcfe4a98f879616
[ "MIT" ]
null
null
null
// Unique Binary Search Tree class Solution { public: int numTrees(int n) { vector<int> nums(n+1, 0); nums[0] = 1; nums[1] = 1; for (int i=2; i<=n; i++) for (int k=1; k<=i; k++) nums[i] += nums[k-1] * nums[i-k]; return nums[n]; } };
21.642857
49
0.442244
[ "vector" ]
fe60f3e92b49b85e976cb2b456a07ec8d2489367
4,486
hxx
C++
opencascade/ShapeFix_Root.hxx
valgur/OCP
2f7d9da73a08e4ffe80883614aedacb27351134f
[ "Apache-2.0" ]
117
2020-03-07T12:07:05.000Z
2022-03-27T07:35:22.000Z
opencascade/ShapeFix_Root.hxx
CadQuery/cpp-py-bindgen
66e7376d3a27444393fc99acbdbef40bbc7031ae
[ "Apache-2.0" ]
66
2019-12-20T16:07:36.000Z
2022-03-15T21:56:10.000Z
opencascade/ShapeFix_Root.hxx
CadQuery/cpp-py-bindgen
66e7376d3a27444393fc99acbdbef40bbc7031ae
[ "Apache-2.0" ]
76
2020-03-16T01:47:46.000Z
2022-03-21T16:37:07.000Z
// Created on: 1999-08-09 // Created by: Galina KULIKOVA // Copyright (c) 1999 Matra Datavision // Copyright (c) 1999-2014 OPEN CASCADE SAS // // This file is part of Open CASCADE Technology software library. // // This library is free software; you can redistribute it and/or modify it under // the terms of the GNU Les...
30.310811
139
0.766161
[ "object", "shape" ]
fe61ac5596d7ec3843930286f33e1707c0f0ff7c
50,667
cpp
C++
android-opencv/opencv/modules/video/src/blobtrackanalysishist.cpp
agunksetiajaty/viewercv
539d9f60bc61c3a2761157aa4e44e5d00048dbf1
[ "Apache-2.0" ]
1
2015-11-06T02:07:38.000Z
2015-11-06T02:07:38.000Z
android-opencv/opencv/modules/video/src/blobtrackanalysishist.cpp
agunksetiajaty/viewercv
539d9f60bc61c3a2761157aa4e44e5d00048dbf1
[ "Apache-2.0" ]
null
null
null
android-opencv/opencv/modules/video/src/blobtrackanalysishist.cpp
agunksetiajaty/viewercv
539d9f60bc61c3a2761157aa4e44e5d00048dbf1
[ "Apache-2.0" ]
null
null
null
/*M/////////////////////////////////////////////////////////////////////////////////////// // // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to this license. // If you do not agree to this license, do not download, instal...
36.164882
154
0.484832
[ "object", "vector", "model", "3d" ]
fe6a7159529c61b048840515b84615f94b43a05f
30,927
cc
C++
src/cxx/mrs/libmrs/MRS_Sparse.cc
jstarck/cosmostat
f686efe4c00073272487417da15e207a529f07e7
[ "MIT" ]
null
null
null
src/cxx/mrs/libmrs/MRS_Sparse.cc
jstarck/cosmostat
f686efe4c00073272487417da15e207a529f07e7
[ "MIT" ]
null
null
null
src/cxx/mrs/libmrs/MRS_Sparse.cc
jstarck/cosmostat
f686efe4c00073272487417da15e207a529f07e7
[ "MIT" ]
null
null
null
/****************************************************************************** ** Copyright (C) 2008 by CEA ******************************************************************************* ** ** UNIT ** ** Version: 1.0 ** ** Author: Jean-Luc Starck / Florent Sureau Modified ** ** Date:...
36.686833
221
0.532253
[ "transform" ]
fe6cecabe16d0ce06574ef40262980bad668f56a
11,712
cpp
C++
GTE/Samples/Mathematics/FitConeByEllipseAndPoints/FitConeByEllipseAndPointsWindow3.cpp
lakinwecker/GeometricTools
cff3e3fcb52d714afe0b6789839c460437c10b27
[ "BSL-1.0" ]
null
null
null
GTE/Samples/Mathematics/FitConeByEllipseAndPoints/FitConeByEllipseAndPointsWindow3.cpp
lakinwecker/GeometricTools
cff3e3fcb52d714afe0b6789839c460437c10b27
[ "BSL-1.0" ]
1
2022-03-18T00:34:13.000Z
2022-03-18T00:34:13.000Z
GTE/Samples/Mathematics/FitConeByEllipseAndPoints/FitConeByEllipseAndPointsWindow3.cpp
lakinwecker/GeometricTools
cff3e3fcb52d714afe0b6789839c460437c10b27
[ "BSL-1.0" ]
1
2022-03-17T21:54:55.000Z
2022-03-17T21:54:55.000Z
// David Eberly, Geometric Tools, Redmond WA 98052 // Copyright (c) 1998-2022 // Distributed under the Boost Software License, Version 1.0. // https://www.boost.org/LICENSE_1_0.txt // https://www.geometrictools.com/License/Boost/LICENSE_1_0.txt // Version: 6.0.2022.02.25 #include "FitConeByEllipseAndPointsWindow3.h" #...
28.358354
90
0.602203
[ "mesh", "vector" ]
fe8095088a368e41c273e09986de7b4b514568c9
8,779
cc
C++
rperp_rpara_profiles/rperp_rpara_profiles.cc
ghadeeralsheshakly/VIDE
77b2a2d3090175aaae2ff206f2ede953a102c743
[ "MIT" ]
null
null
null
rperp_rpara_profiles/rperp_rpara_profiles.cc
ghadeeralsheshakly/VIDE
77b2a2d3090175aaae2ff206f2ede953a102c743
[ "MIT" ]
null
null
null
rperp_rpara_profiles/rperp_rpara_profiles.cc
ghadeeralsheshakly/VIDE
77b2a2d3090175aaae2ff206f2ede953a102c743
[ "MIT" ]
null
null
null
#include <cstdlib> #include <cstdio> #include <cmath> #include <array> #include <string> #include <fstream> #include <sstream> #include <iostream> #include <vector> using namespace std; #include <mpi.h> // simulation constants const double l = 256.0; const long n = 2560; const long np = n*n*n; const double dx = l ...
29.759322
97
0.511562
[ "vector" ]
fe8151aae5944dac1348e2948ab329aaa8b99438
2,487
cc
C++
algos/string_search.cc
fcarreiro/crashingthecode
5a76be0aecfdbe4e913c2d790023c24fbabf80a1
[ "MIT" ]
1
2020-03-07T14:35:16.000Z
2020-03-07T14:35:16.000Z
algos/string_search.cc
fcarreiro/crashingthecode
5a76be0aecfdbe4e913c2d790023c24fbabf80a1
[ "MIT" ]
null
null
null
algos/string_search.cc
fcarreiro/crashingthecode
5a76be0aecfdbe4e913c2d790023c24fbabf80a1
[ "MIT" ]
null
null
null
#include <cstddef> #include <cassert> #include <iostream> #include <string> #include <vector> #include <queue> #include "../test_helpers.h" // #define LARGE_PRIME 1000000007 #define LARGE_PRIME 2147483647 // largest prime that fits in 32 bits #define BASE_PRIME 257 // prime related to the aphabet size inline ...
19.738095
85
0.585042
[ "vector" ]
fe81bc0d22e80107042ee16f1fce5a0dd9086847
1,153
cpp
C++
test/snippet/range/container/aligned_allocator.cpp
marehr/nomchop
a88bfb6f5d4a291a71b6b3192eeac81fdc450d43
[ "CC-BY-4.0", "CC0-1.0" ]
1
2021-03-01T11:12:56.000Z
2021-03-01T11:12:56.000Z
test/snippet/range/container/aligned_allocator.cpp
simonsasse/seqan3
0ff2e117952743f081735df9956be4c512f4ccba
[ "CC0-1.0", "CC-BY-4.0" ]
2
2017-05-17T07:16:19.000Z
2020-02-13T16:10:10.000Z
test/snippet/range/container/aligned_allocator.cpp
simonsasse/seqan3
0ff2e117952743f081735df9956be4c512f4ccba
[ "CC0-1.0", "CC-BY-4.0" ]
null
null
null
#include <iostream> #include <vector> #include <seqan3/range/container/aligned_allocator.hpp> size_t memory_alignment(void * value, size_t alignment) { return (reinterpret_cast<size_t>(value) & (alignment - 1)); } int main() { // 128-byte memory aligned and 16bit = 2byte address width for each element st...
36.03125
121
0.61752
[ "vector" ]
fe8d61803b2509b289d2848c7b226ec4efecbc48
1,698
hpp
C++
core/primitives/scheduled_change.hpp
Lederstrumpf/kagome
a5050ca04577c0570e21ce7322cc010153b6fe29
[ "Apache-2.0" ]
null
null
null
core/primitives/scheduled_change.hpp
Lederstrumpf/kagome
a5050ca04577c0570e21ce7322cc010153b6fe29
[ "Apache-2.0" ]
null
null
null
core/primitives/scheduled_change.hpp
Lederstrumpf/kagome
a5050ca04577c0570e21ce7322cc010153b6fe29
[ "Apache-2.0" ]
null
null
null
/** * Copyright Soramitsu Co., Ltd. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ #ifndef KAGOME_CORE_PRIMITIVES_SCHEDULED_CHANGE_HPP #define KAGOME_CORE_PRIMITIVES_SCHEDULED_CHANGE_HPP #include <boost/optional.hpp> #include "primitives/authority.hpp" #include "primitives/common.hpp" #include "prim...
30.872727
67
0.722026
[ "vector" ]
fe8ec949a133f79cf96629cd1a48b8bd3fdda392
11,606
cpp
C++
compiler/src/ast/ast_fielddef_codegen.cpp
TuplexLanguage/tuplex
fc436c78224522663e40e09d36f83570fd76ba2d
[ "Apache-2.0" ]
15
2017-08-15T20:46:44.000Z
2021-12-15T02:51:13.000Z
compiler/src/ast/ast_fielddef_codegen.cpp
TuplexLanguage/tuplex
fc436c78224522663e40e09d36f83570fd76ba2d
[ "Apache-2.0" ]
null
null
null
compiler/src/ast/ast_fielddef_codegen.cpp
TuplexLanguage/tuplex
fc436c78224522663e40e09d36f83570fd76ba2d
[ "Apache-2.0" ]
1
2017-09-28T14:48:15.000Z
2017-09-28T14:48:15.000Z
#include "ast_fielddef_node.hpp" #include "expr/ast_lambda_node.hpp" #include "symbol/qual_type.hpp" #include "llvm_generator.hpp" #include "parsercontext.hpp" using namespace llvm; Constant* TxFieldDefiningNode::code_gen_const_init_value( LlvmGenerationContext& context, bool genBody ) const { if (! this->cache...
53.981395
156
0.633465
[ "object" ]
fe907b7f31c062ad693a9a8256d2b4af5878ea52
37,696
cpp
C++
src/sodeclmgr.cpp
avramidis/sodecl
7bc2654293666a3a30766616d347e6347900e222
[ "BSD-3-Clause" ]
13
2018-01-19T14:08:33.000Z
2021-04-08T06:40:58.000Z
src/sodeclmgr.cpp
avramidis/odecl
7bc2654293666a3a30766616d347e6347900e222
[ "BSD-3-Clause" ]
11
2017-10-23T13:40:27.000Z
2020-08-02T07:50:08.000Z
src/sodeclmgr.cpp
avramidis/odecl
7bc2654293666a3a30766616d347e6347900e222
[ "BSD-3-Clause" ]
4
2018-05-15T15:07:26.000Z
2021-04-08T06:41:01.000Z
//---------------------------------------------------------------------------// // Copyright (c) 2015 Eleftherios Avramidis <el.avramidis@gmail.com> // // Distributed under The MIT License (MIT) // See accompanying file LICENSE //---------------------------------------------------------------------------// #include <i...
34.269091
193
0.576533
[ "object", "vector", "model" ]
fe9319013e4dab1e0c5b0a91705cff6789255ec8
2,721
cpp
C++
VortexBaseRuntime/VortexBase/Controller.cpp
d0si/vortex
a97031227d4e867986918d39eeb2d184147cf118
[ "MIT" ]
2
2019-12-27T22:06:25.000Z
2020-01-13T18:43:29.000Z
VortexBaseRuntime/VortexBase/Controller.cpp
D0si/Vortex
a97031227d4e867986918d39eeb2d184147cf118
[ "MIT" ]
25
2020-01-29T23:04:23.000Z
2020-04-17T06:40:11.000Z
VortexBaseRuntime/VortexBase/Controller.cpp
D0si/Vortex
a97031227d4e867986918d39eeb2d184147cf118
[ "MIT" ]
1
2022-03-09T09:14:47.000Z
2022-03-09T09:14:47.000Z
#include <VortexBase/Controller.h> #include <Core/GlobalRuntime.h> #include <Core/Modules/DependencyInjection.h> using Vortex::Core::RuntimeInterface; using Vortex::Core::GlobalRuntime; namespace VortexBase { Controller::Controller(RuntimeInterface* runtime) : ControllerInterface(runtime) {} void Co...
33.592593
126
0.61301
[ "object" ]
fe97354da79ff6cb1734eaa59b58e53452a750e6
2,436
hpp
C++
include/caffe/layers/mhd_roi_data_layer.hpp
superxuang/caffe_triple-branch_FCN
e6b3ce2969dc95c55c25921194b93b05513f09ef
[ "MIT" ]
3
2021-01-01T13:04:18.000Z
2021-03-22T03:23:41.000Z
include/caffe/layers/mhd_roi_data_layer.hpp
superxuang/caffe_triple-branch_FCN
e6b3ce2969dc95c55c25921194b93b05513f09ef
[ "MIT" ]
null
null
null
include/caffe/layers/mhd_roi_data_layer.hpp
superxuang/caffe_triple-branch_FCN
e6b3ce2969dc95c55c25921194b93b05513f09ef
[ "MIT" ]
1
2021-03-22T03:23:42.000Z
2021-03-22T03:23:42.000Z
#ifndef CAFFE_MHD_ROI_DATA_LAYER_HPP_ #define CAFFE_MHD_ROI_DATA_LAYER_HPP_ #define USE_MULTI_CHANNEL #define NEAREST_INTERPOLATION 0 #define BILINEAR_INTERPOLATION 1 #define BICUBIC_INTERPOLATION 2 #define INTERPOLATION_ALGORITM BILINEAR_INTERPOLATION #define SOBEL_OPERATOR 0 #define LOG_OPERATOR 1 #define CANNY_OP...
26.769231
71
0.763957
[ "vector" ]
fe9a649d47abc5851eec92120a9627d4878a2f28
8,661
hpp
C++
src/graphics/gutils.hpp
Youka/SSBRenderer_rework
a42aa7f90819f8dddd2073d5c971f74b36c97380
[ "Zlib" ]
7
2015-06-21T14:35:16.000Z
2021-08-30T12:00:52.000Z
src/graphics/gutils.hpp
Youka/SSBRenderer_rework
a42aa7f90819f8dddd2073d5c971f74b36c97380
[ "Zlib" ]
1
2017-02-28T14:09:43.000Z
2017-03-02T06:55:19.000Z
src/graphics/gutils.hpp
Youka/SSBRenderer_rework
a42aa7f90819f8dddd2073d5c971f74b36c97380
[ "Zlib" ]
1
2015-12-09T18:22:09.000Z
2015-12-09T18:22:09.000Z
/* Project: SSBRenderer File: gutils.hpp Copyright (c) 2015, Christoph "Youka" Spanknebel 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...
38.838565
247
0.714583
[ "vector" ]
fe9a8a275c6e21b73517e76b2e6963dc422738ba
39,438
cc
C++
chrome/browser/autocomplete/autocomplete.cc
meego-tablet-ux/meego-app-browser
0f4ef17bd4b399c9c990a2f6ca939099495c2b9c
[ "BSD-3-Clause" ]
1
2015-10-12T09:14:22.000Z
2015-10-12T09:14:22.000Z
chrome/browser/autocomplete/autocomplete.cc
meego-tablet-ux/meego-app-browser
0f4ef17bd4b399c9c990a2f6ca939099495c2b9c
[ "BSD-3-Clause" ]
null
null
null
chrome/browser/autocomplete/autocomplete.cc
meego-tablet-ux/meego-app-browser
0f4ef17bd4b399c9c990a2f6ca939099495c2b9c
[ "BSD-3-Clause" ]
1
2020-11-04T07:22:28.000Z
2020-11-04T07:22:28.000Z
// Copyright (c) 2011 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/autocomplete/autocomplete.h" #include <algorithm> #include "base/basictypes.h" #include "base/command_line.h" #include "bas...
39.636181
80
0.680993
[ "object" ]
fe9c0647c5b00c59e6bb04b1a08996af1854da2d
352
cpp
C++
18. Greedy/gasStations.cpp
Ujjawalgupta42/Hacktoberfest2021-DSA
eccd9352055085973e3d6a1feb10dd193905584b
[ "MIT" ]
225
2021-10-01T03:09:01.000Z
2022-03-11T11:32:49.000Z
18. Greedy/gasStations.cpp
Ujjawalgupta42/Hacktoberfest2021-DSA
eccd9352055085973e3d6a1feb10dd193905584b
[ "MIT" ]
252
2021-10-01T03:45:20.000Z
2021-12-07T18:32:46.000Z
18. Greedy/gasStations.cpp
Ujjawalgupta42/Hacktoberfest2021-DSA
eccd9352055085973e3d6a1feb10dd193905584b
[ "MIT" ]
911
2021-10-01T02:55:19.000Z
2022-02-06T09:08:37.000Z
int Solution::canCompleteCircuit(const vector<int> &A, const vector<int> &B) { int total = 0; int current = 0; int ans =0; for(int i=0;i<A.size();i++){ total+=A[i]-B[i]; current+=A[i]-B[i]; if(current<0){ current =0; ans=i+1; } } if(total<...
22
78
0.477273
[ "vector" ]
fe9e5be9b4891d57d87e7cc81e7ca377a9d781f7
1,092
hpp
C++
src/EventLoop.hpp
senlinzhan/soke
e6767ea1fc88b35423c727e34bd46a9573f3775b
[ "MIT" ]
5
2017-01-21T12:59:51.000Z
2021-08-08T19:27:58.000Z
src/EventLoop.hpp
senlinzhan/soke
e6767ea1fc88b35423c727e34bd46a9573f3775b
[ "MIT" ]
null
null
null
src/EventLoop.hpp
senlinzhan/soke
e6767ea1fc88b35423c727e34bd46a9573f3775b
[ "MIT" ]
2
2017-07-23T04:49:55.000Z
2020-04-04T15:44:38.000Z
#ifndef EVENTLOOP_H #define EVENTLOOP_H #include "Epoll.hpp" #include <queue> #include <memory> #include <thread> #include <vector> #include <unordered_map> #include <unordered_set> namespace soke { class Channel; class EventLoop { public: using Task = std::function<void ()>; ...
22.75
60
0.509158
[ "vector" ]
fea43ea1ae8ce263f682cd73022d991557113aa9
34,995
cc
C++
remoting/host/plugin/host_script_object.cc
gavinp/chromium
681563ea0f892a051f4ef3d5e53438e0bb7d2261
[ "BSD-3-Clause" ]
1
2016-03-10T09:13:57.000Z
2016-03-10T09:13:57.000Z
remoting/host/plugin/host_script_object.cc
gavinp/chromium
681563ea0f892a051f4ef3d5e53438e0bb7d2261
[ "BSD-3-Clause" ]
1
2022-03-13T08:39:05.000Z
2022-03-13T08:39:05.000Z
remoting/host/plugin/host_script_object.cc
gavinp/chromium
681563ea0f892a051f4ef3d5e53438e0bb7d2261
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "remoting/host/plugin/host_script_object.h" #include "remoting/host/plugin/daemon_controller.h" #include "base/bind.h" #include "base/json/j...
34.477833
80
0.68947
[ "object", "vector" ]
fea4b8262f50fad3eddaed20a727a864219fb572
3,515
cpp
C++
test/tools/test_surface_intersection.cpp
JanWehrmann/slam-maps
c03117e9d66ec312723ad700baabc0af04f36d70
[ "BSD-2-Clause" ]
15
2016-05-20T05:21:45.000Z
2021-07-21T02:34:18.000Z
test/tools/test_surface_intersection.cpp
JanWehrmann/slam-maps
c03117e9d66ec312723ad700baabc0af04f36d70
[ "BSD-2-Clause" ]
19
2016-06-22T18:43:36.000Z
2021-09-28T15:20:31.000Z
test/tools/test_surface_intersection.cpp
JanWehrmann/slam-maps
c03117e9d66ec312723ad700baabc0af04f36d70
[ "BSD-2-Clause" ]
12
2017-03-10T10:19:46.000Z
2021-06-04T05:50:10.000Z
// // Copyright (c) 2017, Deutsches Forschungszentrum für Künstliche Intelligenz GmbH. // Copyright (c) 2017, University of Bremen // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // * Redis...
42.349398
122
0.688762
[ "vector" ]
fea6360d231b58acb099aabd764aa54a5ce059a2
7,276
cpp
C++
inference-engine/tests/unit/cpu/shape_inference_test.cpp
SDxKeeper/dldt
a7dff0d0ec930c4c83690d41af6f6302b389f361
[ "Apache-2.0" ]
null
null
null
inference-engine/tests/unit/cpu/shape_inference_test.cpp
SDxKeeper/dldt
a7dff0d0ec930c4c83690d41af6f6302b389f361
[ "Apache-2.0" ]
34
2020-11-20T15:19:18.000Z
2022-02-21T13:13:48.000Z
inference-engine/tests/unit/cpu/shape_inference_test.cpp
ababushk/openvino
80c707090ca691eedc16babf4369b89dd297858e
[ "Apache-2.0" ]
1
2019-09-03T08:35:20.000Z
2019-09-03T08:35:20.000Z
// Copyright (C) 2018-2021 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include "utils/shape_inference/static_shape.hpp" #include <convolution_shape_inference.hpp> #include <experimental_detectron_detection_output_shape_inference.hpp> #include <gtest/gtest.h> #include <openvino/core/coordinate_diff.hpp...
49.496599
142
0.664651
[ "vector" ]
fea77811fbadc2c103a1438402d4a9bf06bb14e5
1,293
cpp
C++
test/palAngularMotorTest.cpp
kephale/Physics-Abstraction-Layer
3d5ef62213143bb9ddc410edef348c94bda70cab
[ "BSD-3-Clause" ]
6
2018-02-27T12:32:05.000Z
2020-12-21T09:43:38.000Z
test/palAngularMotorTest.cpp
5l1v3r1/Physics-Abstraction-Layer
3d5ef62213143bb9ddc410edef348c94bda70cab
[ "BSD-3-Clause" ]
null
null
null
test/palAngularMotorTest.cpp
5l1v3r1/Physics-Abstraction-Layer
3d5ef62213143bb9ddc410edef348c94bda70cab
[ "BSD-3-Clause" ]
4
2015-07-25T16:55:16.000Z
2020-07-15T05:46:30.000Z
/* * palBodyTest.cpp * * Created on: Jul 1, 2010 * Author: Chris Long * Copyright (C) 2010 SET Corporation */ #include <pal/pal.h> #include <pal/palFactory.h> #include <iostream> #include <cstdlib> #include <float.h> #include <assert.h> int main(int argc, char* argv[]) { //std::cout << "pAMT: type_info...
31.536585
168
0.678268
[ "vector" ]