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
fa9cf18ca9ff1ef8e4005f29a514d370fcef2e37
2,725
cc
C++
Algorithms/extractWithCentroiding/Row.cc
jwillemsen/sidecar
941d9f3b84d05ca405df1444d4d9fd0bde03887f
[ "MIT" ]
null
null
null
Algorithms/extractWithCentroiding/Row.cc
jwillemsen/sidecar
941d9f3b84d05ca405df1444d4d9fd0bde03887f
[ "MIT" ]
null
null
null
Algorithms/extractWithCentroiding/Row.cc
jwillemsen/sidecar
941d9f3b84d05ca405df1444d4d9fd0bde03887f
[ "MIT" ]
null
null
null
#include "Row.h" bool operator<(const Segment& lhs, const Segment& rhs) { return lhs.start < rhs.start; } void UpdateRangeToTargetMap(RANGEBIN start, RANGEBIN stop, std::vector<SegmentedTargetImagePtr>& rangeToTargetMap, SegmentedTargetImagePtr newptr) { for (RANGEBIN r = start; r <= st...
22.154472
114
0.584954
[ "vector" ]
faa4841034d70f1dc0a95ac82b89889a7aba8db5
2,604
hpp
C++
src/definitions.hpp
simonraschke/vesicle
3b9b5529c3f36bdeff84596bc59509781b103ead
[ "Apache-2.0" ]
1
2019-03-15T17:24:52.000Z
2019-03-15T17:24:52.000Z
src/definitions.hpp
simonraschke/vesicle
3b9b5529c3f36bdeff84596bc59509781b103ead
[ "Apache-2.0" ]
null
null
null
src/definitions.hpp
simonraschke/vesicle
3b9b5529c3f36bdeff84596bc59509781b103ead
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2017-2018 Simon Raschke * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law o...
34.263158
174
0.62404
[ "vector" ]
faa7a8bc2a7b4da92f3ec7e3e19686f5312f4029
9,848
cpp
C++
webkit/WebCore/bridge/jni/jni_utility.cpp
s1rcheese/nintendo-3ds-internetbrowser-sourcecode
3dd05f035e0a5fc9723300623e9b9b359be64e11
[ "Unlicense" ]
15
2016-01-05T12:43:41.000Z
2022-03-15T10:34:47.000Z
webkit/WebCore/bridge/jni/jni_utility.cpp
s1rcheese/nintendo-3ds-internetbrowser-sourcecode
3dd05f035e0a5fc9723300623e9b9b359be64e11
[ "Unlicense" ]
null
null
null
webkit/WebCore/bridge/jni/jni_utility.cpp
s1rcheese/nintendo-3ds-internetbrowser-sourcecode
3dd05f035e0a5fc9723300623e9b9b359be64e11
[ "Unlicense" ]
2
2020-11-30T18:36:01.000Z
2021-02-05T23:20:24.000Z
/* * Copyright (C) 2003 Apple Computer, Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of c...
28.137143
113
0.566714
[ "object" ]
fab11c5dfaf211c6c265ee640d8773c5569a1925
5,726
cpp
C++
extensions/v8/dmzJsExtV8File.cpp
ben-sangster/js
d99c1163f73f6571cd5a0398227696339863920d
[ "MIT" ]
1
2019-03-15T12:35:13.000Z
2019-03-15T12:35:13.000Z
extensions/v8/dmzJsExtV8File.cpp
ben-sangster/js
d99c1163f73f6571cd5a0398227696339863920d
[ "MIT" ]
null
null
null
extensions/v8/dmzJsExtV8File.cpp
ben-sangster/js
d99c1163f73f6571cd5a0398227696339863920d
[ "MIT" ]
null
null
null
#include "dmzJsExtV8File.h" #include <dmzJsModuleV8.h> #include <dmzJsV8UtilConvert.h> #include <dmzJsV8UtilStrings.h> #include <dmzRuntimePluginFactoryLinkSymbol.h> #include <dmzRuntimePluginInfo.h> #include <dmzSystemFile.h> #include <stdio.h> dmz::JsExtV8File::JsExtV8File (const PluginInfo &Info, Config &local) : ...
19.609589
82
0.561823
[ "object" ]
fab186234ec03060a734e337bc9f70da7e907ee2
6,380
cpp
C++
tree.cpp
timocaldwell/agile_rrt
d0b8fe4464c86dc3b9843d7110eaeef4f2589993
[ "MIT" ]
null
null
null
tree.cpp
timocaldwell/agile_rrt
d0b8fe4464c86dc3b9843d7110eaeef4f2589993
[ "MIT" ]
null
null
null
tree.cpp
timocaldwell/agile_rrt
d0b8fe4464c86dc3b9843d7110eaeef4f2589993
[ "MIT" ]
null
null
null
// // tree.cpp // Agile_RRT // // Created by Timothy M. Caldwell. // Copyright (c) 2015 Timothy M. Caldwell. Refer to license.txt // #include "tree.h" void Tree::PrintTree(const treenode_ & node, double dt, const string & name, ostream * stream) { node.vert->PrintEdgeTraj(dt, name, stream); for (vector< tree...
36.25
312
0.652978
[ "vector" ]
fab464681202211e0fe13ae8b0f58a430219e8a1
1,687
hpp
C++
engine/input/linux/InputSystemLinux.hpp
taida957789/ouzel
a8c1cc74e6151a0f7d7d2c534f8747cba46a36af
[ "Unlicense" ]
1
2021-03-01T13:17:49.000Z
2021-03-01T13:17:49.000Z
engine/input/linux/InputSystemLinux.hpp
taida957789/ouzel
a8c1cc74e6151a0f7d7d2c534f8747cba46a36af
[ "Unlicense" ]
null
null
null
engine/input/linux/InputSystemLinux.hpp
taida957789/ouzel
a8c1cc74e6151a0f7d7d2c534f8747cba46a36af
[ "Unlicense" ]
null
null
null
// Copyright 2015-2020 Elviss Strazdins. All rights reserved. #ifndef OUZEL_INPUT_INPUTSYSTEMLINUX_HPP #define OUZEL_INPUT_INPUTSYSTEMLINUX_HPP #include <memory> #include <unordered_map> #include "../../core/Setup.h" #if OUZEL_SUPPORTS_X11 # include <X11/X.h> #endif #include "../InputSystem.hpp" #include "../Keyboar...
26.359375
97
0.688797
[ "vector" ]
fabc0cde9390179ddea5b61cc734f8f0cfe3dd9a
707
cpp
C++
gym/102058/C.cpp
albexl/codeforces-gym-submissions
2a51905c50fcf5d7f417af81c4c49ca5217d0753
[ "MIT" ]
1
2021-07-16T19:59:39.000Z
2021-07-16T19:59:39.000Z
gym/102058/C.cpp
albexl/codeforces-gym-submissions
2a51905c50fcf5d7f417af81c4c49ca5217d0753
[ "MIT" ]
null
null
null
gym/102058/C.cpp
albexl/codeforces-gym-submissions
2a51905c50fcf5d7f417af81c4c49ca5217d0753
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; #define endl '\n' typedef long long ll; typedef pair<int, int> pii; const ll oo = 0x3f3f3f3f3f3f3f3f; map<ll, int> M; vector<pii> ans; void solve(ll n) { if(M.find(n) != M.end()) return; if(n == 1) { M[n] = ans.size(); ans.emplace_back(-1, -1); return; } ll...
14.14
46
0.548798
[ "vector" ]
fabdb66a5284b4303347382b0f93e4cf453d7d95
3,731
cpp
C++
sdl2/pushover/textsections.cpp
pdpdds/SDLGameProgramming
3af68e2133296f3e7bc3d7454d9301141bca2d5a
[ "BSD-2-Clause" ]
null
null
null
sdl2/pushover/textsections.cpp
pdpdds/SDLGameProgramming
3af68e2133296f3e7bc3d7454d9301141bca2d5a
[ "BSD-2-Clause" ]
null
null
null
sdl2/pushover/textsections.cpp
pdpdds/SDLGameProgramming
3af68e2133296f3e7bc3d7454d9301141bca2d5a
[ "BSD-2-Clause" ]
null
null
null
/* Pushover * * Pushover is the legal property of its developers, whose * names are listed in the COPYRIGHT file, which is included * within the source distribution. * * 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 ...
30.581967
73
0.630126
[ "vector" ]
fac316aff62bf609f331239ac5a555c8d1d75bc6
15,016
cc
C++
display_list/display_list_complexity_unittests.cc
fzyzcjy/engine
c42fdc12ae5788319f5d1a2d3f518d7b9a334f7a
[ "BSD-3-Clause" ]
null
null
null
display_list/display_list_complexity_unittests.cc
fzyzcjy/engine
c42fdc12ae5788319f5d1a2d3f518d7b9a334f7a
[ "BSD-3-Clause" ]
2
2019-05-09T12:15:03.000Z
2020-03-09T09:24:39.000Z
display_list/display_list_complexity_unittests.cc
fzyzcjy/engine
c42fdc12ae5788319f5d1a2d3f518d7b9a334f7a
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "flutter/display_list/display_list.h" #include "flutter/display_list/display_list_builder.h" #include "flutter/display_list/display_list_complexit...
34.51954
79
0.723295
[ "vector" ]
fac377a8a77174e71419317c0257ec9826ed068a
1,135
cpp
C++
901-1000/936. Stamping The Sequence.cpp
erichuang1994/leetcode-solution
d5b3bb3ce2a428a3108f7369715a3700e2ba699d
[ "MIT" ]
null
null
null
901-1000/936. Stamping The Sequence.cpp
erichuang1994/leetcode-solution
d5b3bb3ce2a428a3108f7369715a3700e2ba699d
[ "MIT" ]
null
null
null
901-1000/936. Stamping The Sequence.cpp
erichuang1994/leetcode-solution
d5b3bb3ce2a428a3108f7369715a3700e2ba699d
[ "MIT" ]
null
null
null
class Solution { public: vector<int> movesToStamp(string stamp, string target) { vector<int> ret; for (;;) { bool flag = false; for (int i = 0; i < target.size() - stamp.size() + 1; i++) { if (checkEqual(stamp, target, i)) { flag = true; for (int idx...
19.568966
64
0.400881
[ "vector" ]
facb4c9e2730370707fcbc9097efa4a94a286ddb
1,633
cxx
C++
pkgs/tools/cmake/src/Source/cmAddTestCommand.cxx
manggoguy/parsec-modified
d14edfb62795805c84a4280d67b50cca175b95af
[ "BSD-3-Clause" ]
64
2015-03-06T00:30:56.000Z
2022-03-24T13:26:53.000Z
pkgs/tools/cmake/src/Source/cmAddTestCommand.cxx
manggoguy/parsec-modified
d14edfb62795805c84a4280d67b50cca175b95af
[ "BSD-3-Clause" ]
12
2020-12-15T08:30:19.000Z
2022-03-13T03:54:24.000Z
pkgs/tools/cmake/src/Source/cmAddTestCommand.cxx
manggoguy/parsec-modified
d14edfb62795805c84a4280d67b50cca175b95af
[ "BSD-3-Clause" ]
40
2015-02-26T15:31:16.000Z
2022-03-03T23:23:37.000Z
/*========================================================================= Program: CMake - Cross-Platform Makefile Generator Module: $RCSfile: cmAddTestCommand.cxx,v $ Language: C++ Date: $Date: 2012/03/29 17:21:08 $ Version: $Revision: 1.1.1.1 $ Copyright (c) 2002 Kitware, Inc., Insight Co...
32.019608
77
0.630129
[ "vector" ]
fad3005e9c8e3951c1c5dae855e76530a1463a1a
10,447
hxx
C++
main/unotools/inc/unotools/fontcfg.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/unotools/inc/unotools/fontcfg.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/unotools/inc/unotools/fontcfg.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...
46.638393
167
0.67024
[ "vector" ]
fad69913da73c8d5268e76c8b564123a1763f0f8
1,721
cpp
C++
src/leetcode/q1401_1500/q1437.cpp
jielyu/leetcode
ce5327f5e5ceaa867ea2ddd58a93bfb02b427810
[ "MIT" ]
9
2020-04-09T12:37:50.000Z
2021-04-01T14:01:14.000Z
src/leetcode/q1401_1500/q1437.cpp
jielyu/leetcode
ce5327f5e5ceaa867ea2ddd58a93bfb02b427810
[ "MIT" ]
3
2020-05-05T02:43:54.000Z
2020-05-20T11:12:16.000Z
src/leetcode/q1401_1500/q1437.cpp
jielyu/leetcode
ce5327f5e5ceaa867ea2ddd58a93bfb02b427810
[ "MIT" ]
5
2020-04-17T02:32:10.000Z
2020-05-20T10:12:26.000Z
/* #面试刷题# 第0114期 #Leetcode# Q1437 检查是否所有的1都是至少长度为K的地方的距离 难度:中 给出一个0和1s的数组nums和一个整数k,如果所有的1都至少相距k位,则返回True,否则返回False。 约束条件: 1 <= nums.length <= 10^5 0 <= k <= nums.length nums[i] 是 0 或者 1 示例1: Input: nums = [1,0,0,0,1,0,0,1], k = 2 Output: true Explanation: Each of the 1s are at least 2 places away from each other. 示例...
21.246914
73
0.545613
[ "vector" ]
fad76536b8c01d2ecb2eafd00b8ca9ac4341a677
2,036
hpp
C++
libs/core/include/fcppt/math/vector/angle_between_cast.hpp
pmiddend/fcppt
9f437acbb10258e6df6982a550213a05815eb2be
[ "BSL-1.0" ]
null
null
null
libs/core/include/fcppt/math/vector/angle_between_cast.hpp
pmiddend/fcppt
9f437acbb10258e6df6982a550213a05815eb2be
[ "BSL-1.0" ]
null
null
null
libs/core/include/fcppt/math/vector/angle_between_cast.hpp
pmiddend/fcppt
9f437acbb10258e6df6982a550213a05815eb2be
[ "BSL-1.0" ]
null
null
null
// Copyright Carl Philipp Reh 2009 - 2018. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #ifndef FCPPT_MATH_VECTOR_ANGLE_BETWEEN_CAST_HPP_INCLUDED #define FCPPT_MATH_VECTOR_ANGLE_BETWEEN_...
19.576923
79
0.731827
[ "object", "vector" ]
fae08a93019a51126f47a51b52ac82769976108d
23,903
hh
C++
include/ignition/transport/Node.hh
j-rivero/ign-transport-git
11ad21a18b841d6b16fc66f4ffec7ba3dcfa08ee
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
include/ignition/transport/Node.hh
j-rivero/ign-transport-git
11ad21a18b841d6b16fc66f4ffec7ba3dcfa08ee
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
include/ignition/transport/Node.hh
j-rivero/ign-transport-git
11ad21a18b841d6b16fc66f4ffec7ba3dcfa08ee
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2014 Open Source Robotics Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
41
80
0.637661
[ "vector" ]
fae77dda5ebc231d206a4b9908b209b62c290f28
43,528
cpp
C++
test/unit/multi_field_array.cpp
fetchrobotics/multi_field_array
8ddbef4f8adbb95dd5dfff8776d8ffbaff06b339
[ "MIT" ]
null
null
null
test/unit/multi_field_array.cpp
fetchrobotics/multi_field_array
8ddbef4f8adbb95dd5dfff8776d8ffbaff06b339
[ "MIT" ]
null
null
null
test/unit/multi_field_array.cpp
fetchrobotics/multi_field_array
8ddbef4f8adbb95dd5dfff8776d8ffbaff06b339
[ "MIT" ]
null
null
null
/** * @copyright 2021 MF * @author Brian Cairl */ // C++ Standard Library #include <algorithm> #include <iterator> #include <string> #include <vector> // GTest #include <gtest/gtest.h> // MF #include <mf/multi_field_array.hpp> TEST(MultiFieldArray, DefaultCTor) { mf::multi_field_array<float, int, std::string> ...
30.01931
119
0.721995
[ "vector" ]
fae8c180e69ea1cafbd11369071031082a12f442
1,537
cpp
C++
Learning c++(Advance)/Part 2/3.3Copy_Move.cpp
Relicjamin-jv/LearningCpp
bf4c7607e82a4968b0413b31cadebf8cb4c83e4b
[ "MIT" ]
null
null
null
Learning c++(Advance)/Part 2/3.3Copy_Move.cpp
Relicjamin-jv/LearningCpp
bf4c7607e82a4968b0413b31cadebf8cb4c83e4b
[ "MIT" ]
null
null
null
Learning c++(Advance)/Part 2/3.3Copy_Move.cpp
Relicjamin-jv/LearningCpp
bf4c7607e82a4968b0413b31cadebf8cb4c83e4b
[ "MIT" ]
null
null
null
#include <iostream> class complex { double re, im; //represents two doubles public: complex(double r, double i) : re{r}, im{i} {} //constructor for two scalers complex(double r) : re{r}, im{0} {} //complex for one scaler complex() : re{0}, im{0} {} //default constructor ...
29
112
0.587508
[ "object" ]
fae8e873f7e64b575e4e6d02bdb56944f91ec183
10,689
cpp
C++
libMXF++/examples/OPAtomReader/OPAtomTrackReader.cpp
brimestoned/bmx
129eb75d87ae713cbf9b8b07f74d223b392f0868
[ "BSD-3-Clause" ]
4
2015-06-09T22:02:39.000Z
2021-04-13T20:48:53.000Z
libMXF++/examples/OPAtomReader/OPAtomTrackReader.cpp
brimestoned/bmx
129eb75d87ae713cbf9b8b07f74d223b392f0868
[ "BSD-3-Clause" ]
null
null
null
libMXF++/examples/OPAtomReader/OPAtomTrackReader.cpp
brimestoned/bmx
129eb75d87ae713cbf9b8b07f74d223b392f0868
[ "BSD-3-Clause" ]
1
2021-07-09T19:53:27.000Z
2021-07-09T19:53:27.000Z
/* * Read a single OP-Atom file representing a clip track * * Copyright (C) 2009, British Broadcasting Corporation * All Rights Reserved. * * Author: Philip de Nier * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are me...
29.857542
114
0.624287
[ "vector" ]
faeeac66fbdeb8ec1d5215c6dda9fc0e8c5d1635
14,296
cxx
C++
SimVascular-master/Code/Source/sv4gui/Modules/Model/Common/sv4gui_ModelVtkMapper2D.cxx
mccsssk2/SimVascularPM3_March2020
3cce6cc7be66545bea5dc3915a2db50a3892bf04
[ "BSD-3-Clause" ]
null
null
null
SimVascular-master/Code/Source/sv4gui/Modules/Model/Common/sv4gui_ModelVtkMapper2D.cxx
mccsssk2/SimVascularPM3_March2020
3cce6cc7be66545bea5dc3915a2db50a3892bf04
[ "BSD-3-Clause" ]
null
null
null
SimVascular-master/Code/Source/sv4gui/Modules/Model/Common/sv4gui_ModelVtkMapper2D.cxx
mccsssk2/SimVascularPM3_March2020
3cce6cc7be66545bea5dc3915a2db50a3892bf04
[ "BSD-3-Clause" ]
null
null
null
/* Copyright (c) Stanford University, The Regents of the University of * California, and others. * * All Rights Reserved. * * See Copyright-SimVascular.txt for additional details. * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated doc...
37.229167
128
0.68047
[ "geometry", "model", "3d" ]
faef7c14e6f99aa959c3fe34096249143b519e08
6,427
cpp
C++
Source/GmmLib/Platform/GmmGen11Platform.cpp
edwarddavidbaker/gmmlib
1c975c52634172376b49f2983d4d0fd7049302f9
[ "MIT" ]
126
2017-09-29T20:02:04.000Z
2022-03-25T14:11:42.000Z
Source/GmmLib/Platform/GmmGen11Platform.cpp
edwarddavidbaker/gmmlib
1c975c52634172376b49f2983d4d0fd7049302f9
[ "MIT" ]
84
2017-12-18T23:16:27.000Z
2022-03-24T09:08:30.000Z
Source/GmmLib/Platform/GmmGen11Platform.cpp
edwarddavidbaker/gmmlib
1c975c52634172376b49f2983d4d0fd7049302f9
[ "MIT" ]
85
2017-12-01T00:15:49.000Z
2022-03-20T02:57:38.000Z
/*============================================================================== Copyright(c) 2017 Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files(the "Software"), to deal in the Software without restriction, including w...
41.198718
123
0.582854
[ "render" ]
faf2521cebd15fdafc0872e0ccb50bff41f8d5e4
252
hh
C++
numerics/import/csv_to_eigen.hh
jpanikulam/experiments
be36319a89f8baee54d7fa7618b885edb7025478
[ "MIT" ]
1
2019-04-14T11:40:28.000Z
2019-04-14T11:40:28.000Z
numerics/import/csv_to_eigen.hh
jpanikulam/experiments
be36319a89f8baee54d7fa7618b885edb7025478
[ "MIT" ]
5
2018-04-18T13:54:29.000Z
2019-08-22T20:04:17.000Z
numerics/import/csv_to_eigen.hh
jpanikulam/experiments
be36319a89f8baee54d7fa7618b885edb7025478
[ "MIT" ]
1
2018-12-24T03:45:47.000Z
2018-12-24T03:45:47.000Z
#pragma once #include "eigen.hh" #include <string> #include <iosfwd> namespace numerics { std::vector<Eigen::VectorXd> csv_to_eigen(std::istream& stream); std::vector<Eigen::VectorXd> csv_to_eigen(const std::string& path); } // namespace numerics
19.384615
67
0.738095
[ "vector" ]
fafecfc80c69e25752f14dbd3da7640f5b09fe31
363
cpp
C++
SparseArray/test.cpp
BoogalooLi/DataStruture-and-Algorithm
425e4ff2ade54f0ca67fa74030002a14a44e1950
[ "MIT" ]
null
null
null
SparseArray/test.cpp
BoogalooLi/DataStruture-and-Algorithm
425e4ff2ade54f0ca67fa74030002a14a44e1950
[ "MIT" ]
null
null
null
SparseArray/test.cpp
BoogalooLi/DataStruture-and-Algorithm
425e4ff2ade54f0ca67fa74030002a14a44e1950
[ "MIT" ]
null
null
null
#include<iostream> #include<vector> #include"Sparse_Array.h" using namespace std; int main(){ auto vec1 = initial_2d_array(10,10); print_2d_array(vec1); for(auto i = 0 ; i < 10 ; ++i){ vec1[i][i] = i; } print_2d_array(vec1); auto vec2 = to_sparse_array(vec1); print_2d_array(vec2); auto vec3 = to_no...
16.5
37
0.677686
[ "vector" ]
4f0143aa4e20af46fdb0709cfc7a0f2174dbc253
465
cpp
C++
C++_Primer_4th_Edition/ch14/14.34.cpp
EyLinGer/practices
66b3388461c5f455111bd6e4b81b0eae7f58f75e
[ "MIT" ]
null
null
null
C++_Primer_4th_Edition/ch14/14.34.cpp
EyLinGer/practices
66b3388461c5f455111bd6e4b81b0eae7f58f75e
[ "MIT" ]
null
null
null
C++_Primer_4th_Edition/ch14/14.34.cpp
EyLinGer/practices
66b3388461c5f455111bd6e4b81b0eae7f58f75e
[ "MIT" ]
null
null
null
#include <iostream> #include <algorithm> #include <vector> #include "14.34_EQ_cls.h" int main(void) { int x = 0; std::vector<int> ivec; std::cout<< ">"; while (std::cin >> x) { ivec.push_back(x); } std::replace_if(ivec.begin(), ivec.end(), EQ_cls(1), 0); for(std::vector<int>::co...
20.217391
83
0.529032
[ "vector" ]
4f02cfdcfe19a2edc6c1972688db3117c880d141
5,438
hpp
C++
include/behemoth/expr.hpp
gian21391/behemoth
923bf18a686603022bbab7ce8674dec4c59cdcde
[ "MIT" ]
null
null
null
include/behemoth/expr.hpp
gian21391/behemoth
923bf18a686603022bbab7ce8674dec4c59cdcde
[ "MIT" ]
null
null
null
include/behemoth/expr.hpp
gian21391/behemoth
923bf18a686603022bbab7ce8674dec4c59cdcde
[ "MIT" ]
null
null
null
/* behemoth: A syntax-guided synthesis library * Copyright (C) 2018 EPFL * * 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 right...
26.270531
134
0.55149
[ "vector" ]
4f073db2d58c6be562b12babd2a50873e8348558
16,925
cc
C++
kythe/cxx/doc/html_markup_handler.cc
wcalandro/kythe
64969a853711c228b4e3cfc3ce91b84b5bb853d7
[ "Apache-2.0" ]
1,168
2015-01-27T10:19:25.000Z
2018-10-30T15:07:11.000Z
kythe/cxx/doc/html_markup_handler.cc
wcalandro/kythe
64969a853711c228b4e3cfc3ce91b84b5bb853d7
[ "Apache-2.0" ]
2,811
2015-01-29T16:19:04.000Z
2018-11-01T19:48:06.000Z
kythe/cxx/doc/html_markup_handler.cc
wcalandro/kythe
64969a853711c228b4e3cfc3ce91b84b5bb853d7
[ "Apache-2.0" ]
165
2015-01-27T19:06:27.000Z
2018-10-30T17:31:10.000Z
/* * Copyright 2016 The Kythe 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 ap...
32.548077
80
0.557282
[ "vector" ]
4f0e22c86c23c683266a00505f341fce0cb30d15
5,503
cpp
C++
VirtualBox-5.0.0/src/VBox/Frontends/VirtualBox/src/selector/graphics/details/UIGDetailsItem.cpp
egraba/vbox_openbsd
6cb82f2eed1fa697d088cecc91722b55b19713c2
[ "MIT" ]
1
2015-04-30T14:18:45.000Z
2015-04-30T14:18:45.000Z
VirtualBox-5.0.0/src/VBox/Frontends/VirtualBox/src/selector/graphics/details/UIGDetailsItem.cpp
egraba/vbox_openbsd
6cb82f2eed1fa697d088cecc91722b55b19713c2
[ "MIT" ]
null
null
null
VirtualBox-5.0.0/src/VBox/Frontends/VirtualBox/src/selector/graphics/details/UIGDetailsItem.cpp
egraba/vbox_openbsd
6cb82f2eed1fa697d088cecc91722b55b19713c2
[ "MIT" ]
null
null
null
/* $Id: UIGDetailsItem.cpp $ */ /** @file * VBox Qt GUI - UIGDetailsItem class definition. */ /* * Copyright (C) 2012-2013 Oracle Corporation * * This file is part of VirtualBox Open Source Edition (OSE), as * available from http://www.virtualbox.org. This file is free software; * you can redistribute it and/or...
29.745946
118
0.68181
[ "model" ]
4f1284baec08e14815b8ddc49dde7b80a3077fc1
340
cpp
C++
1375/P1375/P1375/main.cpp
swy20190/Leetcode-Cracker
3b80eacfa63983d5fcc50442f0813296d5c1af94
[ "MIT" ]
null
null
null
1375/P1375/P1375/main.cpp
swy20190/Leetcode-Cracker
3b80eacfa63983d5fcc50442f0813296d5c1af94
[ "MIT" ]
null
null
null
1375/P1375/P1375/main.cpp
swy20190/Leetcode-Cracker
3b80eacfa63983d5fcc50442f0813296d5c1af94
[ "MIT" ]
null
null
null
#include <vector> #include <algorithm> using namespace std; class Solution { public: int numTimesAllBlue(vector<int>& light) { int len = light.size(); int cnt = 0; int maxOnIndex = 0; for (int i = 0; i < len; i++) { maxOnIndex = max(maxOnIndex, light[i]); if (i == maxOnIndex - 1) { cnt++; } }...
16.190476
42
0.591176
[ "vector" ]
4f168def75b6166c96d6d01c61ab25d8763dc4ee
901
cpp
C++
DP/Accomodation_CoinChange.cpp
Satyabrat35/Programming
841ead1bf847b567d8e21963673413cbd65277f4
[ "Apache-2.0" ]
null
null
null
DP/Accomodation_CoinChange.cpp
Satyabrat35/Programming
841ead1bf847b567d8e21963673413cbd65277f4
[ "Apache-2.0" ]
null
null
null
DP/Accomodation_CoinChange.cpp
Satyabrat35/Programming
841ead1bf847b567d8e21963673413cbd65277f4
[ "Apache-2.0" ]
null
null
null
/**************erik****************/ #include<bits/stdc++.h> #include <cstdio> #include <iostream> #include <algorithm> using namespace std; typedef long long int ll; typedef unsigned long long int ull; //map<int,int> mp1; //set<int> s1; //set<char>::iterator t; #define maxm(a,b,c) max(a,max(c,b)) #define minm(a,b,c)...
23.102564
60
0.527192
[ "vector" ]
b7b357767b4ccf095c30c6e3fa9dfb74f22b4568
63,525
cpp
C++
blades/xbmc/xbmc/windows/GUIMediaWindow.cpp
krattai/AEBL
a7b12c97479e1236d5370166b15ca9f29d7d4265
[ "BSD-2-Clause" ]
4
2016-04-26T03:43:54.000Z
2016-11-17T08:09:04.000Z
blades/xbmc/xbmc/windows/GUIMediaWindow.cpp
krattai/AEBL
a7b12c97479e1236d5370166b15ca9f29d7d4265
[ "BSD-2-Clause" ]
17
2015-01-05T21:06:22.000Z
2015-12-07T20:45:44.000Z
blades/xbmc/xbmc/windows/GUIMediaWindow.cpp
krattai/AEBL
a7b12c97479e1236d5370166b15ca9f29d7d4265
[ "BSD-2-Clause" ]
3
2016-04-26T03:43:55.000Z
2020-11-06T11:02:08.000Z
/* * Copyright (C) 2005-2013 Team XBMC * http://xbmc.org * * 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, or (at your option) * any later version. * * ...
32.034796
166
0.678174
[ "vector" ]
b7b946744df9d1416c8cdda690679d5592f532ca
6,581
cpp
C++
src/dronecourse/target_tracking/TargetTracker.cpp
mingbocui/Aerial-Robotics-Project
153ef4c7f11c8b4ead32e2d54c78217050898695
[ "BSD-3-Clause" ]
null
null
null
src/dronecourse/target_tracking/TargetTracker.cpp
mingbocui/Aerial-Robotics-Project
153ef4c7f11c8b4ead32e2d54c78217050898695
[ "BSD-3-Clause" ]
null
null
null
src/dronecourse/target_tracking/TargetTracker.cpp
mingbocui/Aerial-Robotics-Project
153ef4c7f11c8b4ead32e2d54c78217050898695
[ "BSD-3-Clause" ]
null
null
null
/** * @file TargetTracker.hpp * Class to track moving target * Designed for the LIS-EPFL DroneCourse * * @author Basil Huber LIS <basil.huber@gmail.com> */ #include "TargetTracker.hpp" #include <uORB/topics/target_position_ned.h> #include <uORB/topics/target_position_ned_filtered.h> #include <drivers/drv_hrt.h> ...
36.359116
108
0.551892
[ "vector" ]
b7bf9e45d89612f08b905c446bd1e3a47db8a4c4
1,041
hpp
C++
Sequence/Print.hpp
som-dev/Algorithms
0129e40e0d0b0d9170a2004fc337287eb5a1f73f
[ "MIT" ]
null
null
null
Sequence/Print.hpp
som-dev/Algorithms
0129e40e0d0b0d9170a2004fc337287eb5a1f73f
[ "MIT" ]
null
null
null
Sequence/Print.hpp
som-dev/Algorithms
0129e40e0d0b0d9170a2004fc337287eb5a1f73f
[ "MIT" ]
null
null
null
#pragma once #include <string> #include <vector> #include <iostream> namespace Sequence { template <typename T> void Print(const std::string& title, const std::vector<T>& vec, std::ostream& out) { out << title << std::endl; if (vec.empty()) { out << "Empty"; } else { out << "V...
19.641509
82
0.440922
[ "vector" ]
b7c2ae5255927f280cb85e1e12bb3bb073f068c2
366
cpp
C++
jp.atcoder/abc071/abc071_b/11454386.cpp
kagemeka/atcoder-submissions
91d8ad37411ea2ec582b10ba41b1e3cae01d4d6e
[ "MIT" ]
1
2022-02-09T03:06:25.000Z
2022-02-09T03:06:25.000Z
jp.atcoder/abc071/abc071_b/11454386.cpp
kagemeka/atcoder-submissions
91d8ad37411ea2ec582b10ba41b1e3cae01d4d6e
[ "MIT" ]
1
2022-02-05T22:53:18.000Z
2022-02-09T01:29:30.000Z
jp.atcoder/abc071/abc071_b/11454386.cpp
kagemeka/atcoder-submissions
91d8ad37411ea2ec582b10ba41b1e3cae01d4d6e
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(0); string s; cin >> s; vector<bool> used(26); for (char &c : s) used[c-'a'] = true; for (int i = 0; i < 26; i++) { if (used[i]) continue; cout << (char)('a'+i) << '\n'; return 0; ...
18.3
40
0.483607
[ "vector" ]
b7c511361dd5b8dd87f95b6e1feb1dc393326170
3,433
cpp
C++
ItemConfiguration.cpp
JapaMala/stonesense
a93c7edbd6ec95967d72447523651dd4423d667e
[ "Artistic-1.0-Perl" ]
2
2016-06-27T08:27:50.000Z
2017-07-19T19:35:36.000Z
ItemConfiguration.cpp
JapaMala/stonesense
a93c7edbd6ec95967d72447523651dd4423d667e
[ "Artistic-1.0-Perl" ]
null
null
null
ItemConfiguration.cpp
JapaMala/stonesense
a93c7edbd6ec95967d72447523651dd4423d667e
[ "Artistic-1.0-Perl" ]
null
null
null
#include "common.h" #include "ItemConfiguration.h" #include "tinyxml.h" #include "GUI.h" #include "ContentLoader.h" ItemConfiguration::ItemConfiguration() { configured=0; } ItemConfiguration::~ItemConfiguration() { subItems.clear(); } bool addSingleItemConfig( TiXmlElement* elemRoot) { int basefile = I...
28.371901
96
0.625692
[ "vector" ]
b7d2e53cc82c06350ef4a5bc9320b2dcbb2c51c2
1,675
cpp
C++
Codeforces/Educational-Round-009/F.cpp
TISparta/competitive-programming-solutions
31987d4e67bb874bf15653565c6418b5605a20a8
[ "MIT" ]
1
2018-01-30T13:21:30.000Z
2018-01-30T13:21:30.000Z
Codeforces/Educational-Round-009/F.cpp
TISparta/competitive-programming-solutions
31987d4e67bb874bf15653565c6418b5605a20a8
[ "MIT" ]
null
null
null
Codeforces/Educational-Round-009/F.cpp
TISparta/competitive-programming-solutions
31987d4e67bb874bf15653565c6418b5605a20a8
[ "MIT" ]
1
2018-08-29T13:26:50.000Z
2018-08-29T13:26:50.000Z
// Tags: Brute Force, Bitmaks // Difficulty: 7.0 // Priority: 1 // Date: 15-08-2021 #include <bits/stdc++.h> #define all(A) begin(A), end(A) #define rall(A) rbegin(A), rend(A) #define sz(A) int(A.size()) #define pb push_back #define eb emplace_back #define mp make_pair #define mt make_tuple using namespace std;...
22.039474
64
0.508657
[ "vector" ]
b7d362c2fa3c30e67bac619b9b89835f266b54ed
11,052
cpp
C++
src/gpu/GrGpu.cpp
MinimalOS-AOSP/platform_external_skia
cf238b46ee368ed3d5b8a346316a431b7dcddbd9
[ "BSD-3-Clause" ]
10
2016-10-29T11:22:47.000Z
2019-08-02T02:13:39.000Z
src/gpu/GrGpu.cpp
MinimalOS-AOSP/platform_external_skia
cf238b46ee368ed3d5b8a346316a431b7dcddbd9
[ "BSD-3-Clause" ]
null
null
null
src/gpu/GrGpu.cpp
MinimalOS-AOSP/platform_external_skia
cf238b46ee368ed3d5b8a346316a431b7dcddbd9
[ "BSD-3-Clause" ]
11
2016-06-08T16:59:40.000Z
2021-04-18T17:26:04.000Z
/* * Copyright 2010 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "GrGpu.h" #include "GrContext.h" #include "GrDrawTargetCaps.h" #include "GrGpuResourcePriv.h" #include "GrIndexBuffer.h" #include "GrResourceCache.h" #include "GrR...
33.592705
100
0.623688
[ "render" ]
b7dbaf992817b1155a2e86bdfd634465075cd79e
4,785
cpp
C++
iiwa_ros/src/tests_guancong/test_cartesian_guancong.cpp
GuancongLuo/iiwa-stack-sg
cdb133534c3b168af530bae80e31b49d294bb4da
[ "BSD-2-Clause" ]
1
2020-12-22T10:58:52.000Z
2020-12-22T10:58:52.000Z
iiwa_ros/src/tests_guancong/test_cartesian_guancong.cpp
jonygao621/iiwa-stack-sg
cdb133534c3b168af530bae80e31b49d294bb4da
[ "BSD-2-Clause" ]
null
null
null
iiwa_ros/src/tests_guancong/test_cartesian_guancong.cpp
jonygao621/iiwa-stack-sg
cdb133534c3b168af530bae80e31b49d294bb4da
[ "BSD-2-Clause" ]
4
2019-11-25T07:13:28.000Z
2020-12-28T05:56:09.000Z
/* GuanCong 2019.09.19 * For services is also very similar: * create the object, initialize it, call their function to use the service. * */ #include <iostream> #include <csignal> #include <ros/ros.h> #include <iiwa_ros/iiwa_ros.hpp> #include <iiwa_ros/state/cartesian_pose.hpp> #include <iiwa_ros/command/cartesia...
33.93617
141
0.715987
[ "object", "transform" ]
b7dcd7c82516e08fd8c37b8da07cc0b2bf0a4272
3,084
cpp
C++
driver/simple_id_mapper.cpp
tkwong/parameter_server
ef8424f341f3b4c4e1088b72d88930fac8b78daf
[ "Apache-2.0" ]
null
null
null
driver/simple_id_mapper.cpp
tkwong/parameter_server
ef8424f341f3b4c4e1088b72d88930fac8b78daf
[ "Apache-2.0" ]
null
null
null
driver/simple_id_mapper.cpp
tkwong/parameter_server
ef8424f341f3b4c4e1088b72d88930fac8b78daf
[ "Apache-2.0" ]
null
null
null
#include "driver/simple_id_mapper.hpp" #include <cinttypes> #include <vector> #include <algorithm> #include "base/node.hpp" namespace csci5570 { SimpleIdMapper::SimpleIdMapper(Node node, const std::vector<Node>& nodes) { node_ = node; nodes_ = nodes; } uint32_t SimpleIdMapper::GetNodeIdForThread(uint32_t t...
33.521739
98
0.695525
[ "vector" ]
b7e0f67e1a0ae3bab5c9bd9ed96a170704850b9f
1,179
cpp
C++
src/LeetCode/Linked List/237_Delete_Node_in_a_Linked_List_1.cpp
Fennec2000GH/Software-Engineering-Interview
c7a182d7f8c44f7cabaf77982099594ce297a48b
[ "MIT" ]
1
2020-03-15T04:09:11.000Z
2020-03-15T04:09:11.000Z
src/LeetCode/Linked List/237_Delete_Node_in_a_Linked_List_1.cpp
Fennec2000GH/Software-Engineering-Interview
c7a182d7f8c44f7cabaf77982099594ce297a48b
[ "MIT" ]
null
null
null
src/LeetCode/Linked List/237_Delete_Node_in_a_Linked_List_1.cpp
Fennec2000GH/Software-Engineering-Interview
c7a182d7f8c44f7cabaf77982099594ce297a48b
[ "MIT" ]
null
null
null
#include <vector> using namespace std; /* https://leetcode.com/problems/delete-node-in-a-linked-list/ */ //Problem: //Write a function to delete a node (except the tail) in a singly linked list, given only access to that node. //Level: Easy //Results /* Runtime: 16 ms, faster than 64.30% of C++ online submissions f...
25.085106
110
0.63698
[ "vector" ]
b7ee0a6e082e401f718bf3213202894b0cf6ded0
451
cpp
C++
src/c++/methods/callbacks/ReportsInstanceCallbacks.cpp
leo-polymorph/modioSDK
4e1b1d4baa17d3690f9520484fa58ea466818c2a
[ "MIT" ]
1
2018-10-05T15:59:04.000Z
2018-10-05T15:59:04.000Z
src/c++/methods/callbacks/ReportsInstanceCallbacks.cpp
PyrokinesisStudio/modioSDK
951de6d90806794b5f86f82a1bbfda3e0ba0b65f
[ "MIT" ]
null
null
null
src/c++/methods/callbacks/ReportsInstanceCallbacks.cpp
PyrokinesisStudio/modioSDK
951de6d90806794b5f86f82a1bbfda3e0ba0b65f
[ "MIT" ]
null
null
null
#include "c++/ModIOInstance.h" namespace modio { std::map<u32, SubmitReportCall*> submit_report_calls; void onSubmitReport(void* object, ModioResponse modio_response) { u32 call_id = *((u32*)object); modio::Response response; response.initialize(modio_response); submit_report_calls[call_id]->callback((co...
21.47619
68
0.75388
[ "object" ]
b7f4cda3d968b0f734e60f434b76d2d76c45ae73
680
cpp
C++
Codeforces/612A.cpp
DT3264/ProgrammingContestsSolutions
a297f2da654c2ca2815b9aa375c2b4ca0052269d
[ "MIT" ]
null
null
null
Codeforces/612A.cpp
DT3264/ProgrammingContestsSolutions
a297f2da654c2ca2815b9aa375c2b4ca0052269d
[ "MIT" ]
null
null
null
Codeforces/612A.cpp
DT3264/ProgrammingContestsSolutions
a297f2da654c2ca2815b9aa375c2b4ca0052269d
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; int main(){ int n, p, q, i, j; string s; scanf("%d%d%d",&n,&p,&q); cin >> s; vector<string> ans; if(p>q){ swap(p, q); } bool pTurn=true; int pos=0; while(pos<n){ if((n-pos)%q==0) pTurn=false; if(pTurn){ ...
18.888889
44
0.398529
[ "vector" ]
4d10c62815b55521e887ba2380be16243070695c
9,458
cpp
C++
visual_lib/src/feature_detection/harris/harris_gpu.cpp
TriceHelix/vilib-win
cf173c2843de591be55516e0b753ea300ca4e382
[ "BSD-3-Clause" ]
372
2020-03-31T02:37:48.000Z
2022-03-30T10:49:39.000Z
visual_lib/src/feature_detection/harris/harris_gpu.cpp
pangfumin/vilib
7a12fe1db78ca755876469979394076f10fe577c
[ "BSD-3-Clause" ]
25
2020-04-01T02:35:21.000Z
2022-02-10T14:30:04.000Z
visual_lib/src/feature_detection/harris/harris_gpu.cpp
pangfumin/vilib
7a12fe1db78ca755876469979394076f10fe577c
[ "BSD-3-Clause" ]
81
2020-04-02T13:06:34.000Z
2022-03-25T11:06:59.000Z
/* * Harris/Shi-Tomasi feature detector on the GPU * harris_gpu.cpp * * Copyright (c) 2019-2020 Balazs Nagy, * Robotics and Perception Group, University of Zurich * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the follo...
45.038095
109
0.58543
[ "vector" ]
4d1be1be2f024077b6c23697393cca50f67b0078
1,340
cpp
C++
01. Mathematics/binarysearch.cpp
Ujjawalgupta42/Hacktoberfest2021-DSA
eccd9352055085973e3d6a1feb10dd193905584b
[ "MIT" ]
225
2021-10-01T03:09:01.000Z
2022-03-11T11:32:49.000Z
01. Mathematics/binarysearch.cpp
Ujjawalgupta42/Hacktoberfest2021-DSA
eccd9352055085973e3d6a1feb10dd193905584b
[ "MIT" ]
252
2021-10-01T03:45:20.000Z
2021-12-07T18:32:46.000Z
01. Mathematics/binarysearch.cpp
Ujjawalgupta42/Hacktoberfest2021-DSA
eccd9352055085973e3d6a1feb10dd193905584b
[ "MIT" ]
911
2021-10-01T02:55:19.000Z
2022-02-06T09:08:37.000Z
#include <bits/stdc++.h> using namespace std; #define IOS ios::sync_with_stdio(0); cin.tie(0); cout.tie(0); #define endl "\n" #define int long long long long MOD = 1e9 + 7; long long gcd(long long a,long long b){ if(b==0) return a; else return gcd(b,a%b); } long long mod_pow(long long x, long l...
15.952381
61
0.437313
[ "vector" ]
4d1c24b5b05b7a90a3c679de619d353e00d55d3d
16,286
hpp
C++
Proyecto1/m8/views.hpp
paaksing/Ucab3rdSemester
3a0fec50bc8e363a91f739dc923ac39e37c48927
[ "MIT" ]
null
null
null
Proyecto1/m8/views.hpp
paaksing/Ucab3rdSemester
3a0fec50bc8e363a91f739dc923ac39e37c48927
[ "MIT" ]
null
null
null
Proyecto1/m8/views.hpp
paaksing/Ucab3rdSemester
3a0fec50bc8e363a91f739dc923ac39e37c48927
[ "MIT" ]
1
2020-12-03T15:37:10.000Z
2020-12-03T15:37:10.000Z
#include <iostream> #include <algorithm> #include <memory> #include <string> #include <vector> #include "../libs/console.hpp" #include "../libs/exceptions.hpp" #include "../libs/datetime.hpp" #include "../libs/utils.hpp" #include "../libs/list.hpp" #include "../libs/json.hpp" #include "models.hpp" using json = nlohma...
38.140515
131
0.474518
[ "vector" ]
4d1e3d233ce857f23fa6e298a8a9794d919e3949
40,190
cpp
C++
tests/communication_object_2.cpp
boeschf/GHEX-OLD
a1c8e12e50b4781cc6d0b0314f17bd3f91ac3769
[ "BSD-3-Clause" ]
null
null
null
tests/communication_object_2.cpp
boeschf/GHEX-OLD
a1c8e12e50b4781cc6d0b0314f17bd3f91ac3769
[ "BSD-3-Clause" ]
null
null
null
tests/communication_object_2.cpp
boeschf/GHEX-OLD
a1c8e12e50b4781cc6d0b0314f17bd3f91ac3769
[ "BSD-3-Clause" ]
null
null
null
/* * GridTools * * Copyright (c) 2014-2019, ETH Zurich * All rights reserved. * * Please, refer to the LICENSE file in the root directory. * SPDX-License-Identifier: BSD-3-Clause * */ //#define STANDALONE //#define SERIAL_SPLIT //#define MULTI_THREADED_EXCHANGE //#define MULTI_THREADED_EXCHANGE_THREADS //#def...
37.772556
205
0.62951
[ "object", "vector" ]
4d21288f6630cb8545bc8b2bff5ba8cc0d044e12
15,037
cpp
C++
src/mame/drivers/segam1.cpp
Robbbert/messui
49b756e2140d8831bc81335298ee8c5471045e79
[ "BSD-3-Clause" ]
26
2015-03-31T06:25:51.000Z
2021-12-14T09:29:04.000Z
src/mame/drivers/segam1.cpp
Robbbert/messui
49b756e2140d8831bc81335298ee8c5471045e79
[ "BSD-3-Clause" ]
null
null
null
src/mame/drivers/segam1.cpp
Robbbert/messui
49b756e2140d8831bc81335298ee8c5471045e79
[ "BSD-3-Clause" ]
10
2015-03-27T05:45:51.000Z
2022-02-04T06:57:36.000Z
// license:BSD-3-Clause // copyright-holders:David Haywood /* Sega M1 hardware (837-7571) (PCB) Sega Bingo Multicart (837-10675) (Sticker on PCB) used for redemption / gambling style machines in a satellite setup based on Caribbean Boule the following hardware setup is used One X-Board (segaxbd.cpp) drives a large...
33.715247
185
0.747157
[ "vector" ]
4d21d5e9940020b0ce85c11efa073bbb797a666f
3,628
hpp
C++
include/fwn/core/util.hpp
brynblack/FunWithNumbers
f683e59c9b6eb70e8ffa90291278eb05dd6a81d2
[ "MIT" ]
1
2022-03-04T09:04:51.000Z
2022-03-04T09:04:51.000Z
include/fwn/core/util.hpp
brynblack/FunWithNumbers
f683e59c9b6eb70e8ffa90291278eb05dd6a81d2
[ "MIT" ]
8
2022-03-04T10:24:25.000Z
2022-03-24T08:29:52.000Z
include/fwn/core/util.hpp
brynblack/FunWithNumbers
f683e59c9b6eb70e8ffa90291278eb05dd6a81d2
[ "MIT" ]
null
null
null
#ifndef FWN_CORE_UTIL_HPP #define FWN_CORE_UTIL_HPP #include <concepts> #include <iterator> #include <sstream> #include <vector> namespace fwn { // Converts a vector to a string. template <typename T> auto convertVecToString(std::vector<T> v) -> std::string { std::ostringstream oss; //...
27.484848
85
0.546582
[ "vector", "transform" ]
4d257f4787b037c2a865a20649e2769260517718
46,862
cpp
C++
libraries/opennn/layer.cpp
noyanc/gipOpenNN
2ad739597ce95e677e5fbfed990db6b6368048f9
[ "Apache-2.0" ]
null
null
null
libraries/opennn/layer.cpp
noyanc/gipOpenNN
2ad739597ce95e677e5fbfed990db6b6368048f9
[ "Apache-2.0" ]
null
null
null
libraries/opennn/layer.cpp
noyanc/gipOpenNN
2ad739597ce95e677e5fbfed990db6b6368048f9
[ "Apache-2.0" ]
3
2021-08-20T18:05:12.000Z
2021-09-08T10:48:32.000Z
// OpenNN: Open Neural Networks Library // www.opennn.net // // L A Y E R C L A S S // // Artificial Intelligence Techniques SL // artelnics@artelnics.com #include "layer.h" namespace OpenNN { Layer::~Layer() { delete non_blocking_thread_pool; delete thread_pool_device; } /// Default constructo...
28.111578
139
0.639175
[ "object", "model" ]
2ebcdfc9f72437b9c89a4d1016b9cba16fc7001e
24,935
cpp
C++
src/batteries/seq.test.cpp
tonyastolfi/batteries
67349930e54785f44eab84f1e56da6c78c66a5f9
[ "Apache-2.0" ]
1
2022-01-04T20:28:17.000Z
2022-01-04T20:28:17.000Z
src/batteries/seq.test.cpp
mihir-thakkar/batteries
67349930e54785f44eab84f1e56da6c78c66a5f9
[ "Apache-2.0" ]
2
2020-06-04T14:02:24.000Z
2020-06-04T14:03:18.000Z
src/batteries/seq.test.cpp
mihir-thakkar/batteries
67349930e54785f44eab84f1e56da6c78c66a5f9
[ "Apache-2.0" ]
1
2022-01-03T20:24:31.000Z
2022-01-03T20:24:31.000Z
// Copyright 2021 Anthony Paul Astolfi // #include <batteries/seq.hpp> // #include <batteries/seq.hpp> #include <gmock/gmock.h> #include <gtest/gtest.h> #include <boost/range/irange.hpp> #include <array> #include <random> #include <set> #include <type_traits> #include <utility> #include <vector> namespace { using ...
33.787263
108
0.445438
[ "vector" ]
2ebd36eb87f827f055621b77cf5f0354e60e09e2
5,473
cpp
C++
src/classical/xmg/xmg_cover.cpp
eletesta/cirkit
6d0939798ea25cecf92306ce796be154139b94f5
[ "MIT" ]
null
null
null
src/classical/xmg/xmg_cover.cpp
eletesta/cirkit
6d0939798ea25cecf92306ce796be154139b94f5
[ "MIT" ]
null
null
null
src/classical/xmg/xmg_cover.cpp
eletesta/cirkit
6d0939798ea25cecf92306ce796be154139b94f5
[ "MIT" ]
null
null
null
/* CirKit: A circuit toolkit * Copyright (C) 2009-2015 University of Bremen * Copyright (C) 2015-2017 EPFL * * 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, in...
27.641414
179
0.569706
[ "shape", "vector" ]
2ec0664706c5e18d07693ed244f7dbde3531e82c
5,271
cpp
C++
swarm_ws/src/swarm_center/src/record_center.cpp
Wei-Fan/SJTU-swarm
95b93fa020a5168f150c6430cbc25884e03c22db
[ "MIT" ]
2
2019-03-23T03:03:13.000Z
2019-10-07T08:21:46.000Z
swarm_ws/src/swarm_center/src/record_center.cpp
Wei-Fan/SJTU-swarm
95b93fa020a5168f150c6430cbc25884e03c22db
[ "MIT" ]
null
null
null
swarm_ws/src/swarm_center/src/record_center.cpp
Wei-Fan/SJTU-swarm
95b93fa020a5168f150c6430cbc25884e03c22db
[ "MIT" ]
null
null
null
/** * This is the record center for formation control trial * Date: 2019.3 Author: Weifan Zhang */ #include <ros/ros.h> #include <iostream> #include <string> #include <vector> #include <geometry_msgs/PoseStamped.h> #include <opencv2/opencv.hpp> #include <opencv2/highgui.hpp> #include <opencv2/core.hpp> #include <...
28.491892
106
0.522671
[ "vector" ]
2ec2837c64b0a127a9d3c1d55509d873f84fc392
508
cpp
C++
C++ Primer/chapter-11/3.cpp
grasslog/github-blog
1e09025f068774659b4bc26b7f0ad4aa1a3fbd43
[ "MIT" ]
1
2019-05-16T07:51:12.000Z
2019-05-16T07:51:12.000Z
C++ Primer/chapter-11/3.cpp
grasslog/github-blog
1e09025f068774659b4bc26b7f0ad4aa1a3fbd43
[ "MIT" ]
null
null
null
C++ Primer/chapter-11/3.cpp
grasslog/github-blog
1e09025f068774659b4bc26b7f0ad4aa1a3fbd43
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <fstream> #include <vector> #include <map> using namespace std; int main(int argc, char **argv) { map<string,size_t> word_count; fstream in("read.txt"); string word; while(in >> word) { ++word_count[word]; } map<string, size_t>::itera...
18.814815
68
0.566929
[ "vector" ]
2ec43b5cdf09423133c840fbcc9eecd221121126
17,489
cpp
C++
MoravaEngine/src/Material/MaterialWorkflowPBR.cpp
dtrajko/MoravaEngine
dab8a9e84bde6bdb5e979596c29cabccb566b9d4
[ "Apache-2.0" ]
168
2020-07-18T04:20:27.000Z
2022-03-31T23:39:38.000Z
MoravaEngine/src/Material/MaterialWorkflowPBR.cpp
dtrajko/MoravaEngine
dab8a9e84bde6bdb5e979596c29cabccb566b9d4
[ "Apache-2.0" ]
5
2020-11-23T12:33:06.000Z
2022-01-05T15:15:30.000Z
MoravaEngine/src/Material/MaterialWorkflowPBR.cpp
dtrajko/MoravaEngine
dab8a9e84bde6bdb5e979596c29cabccb566b9d4
[ "Apache-2.0" ]
8
2020-09-07T03:04:18.000Z
2022-03-25T13:47:16.000Z
#include "Material/MaterialWorkflowPBR.h" #include "Core/CommonValues.h" #include "Core/Log.h" #include "Core/Math.h" #include <iostream> MaterialWorkflowPBR::MaterialWorkflowPBR() { m_CaptureSize = 512; m_PrefilterMapSize = 128; m_IrradianceMapSize = 32; m_BlurLevel = 0; m_CaptureSizeBlur = m_CaptureS...
39.838269
166
0.773057
[ "render", "object" ]
2ecb162a9f4c9ea1183a0068e8db7aa8dc72eff9
31,523
cc
C++
third_party/openscreen/src/tools/cddl/sema.cc
zipated/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
third_party/openscreen/src/tools/cddl/sema.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
third_party/openscreen/src/tools/cddl/sema.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.000Z
// Copyright 2018 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "tools/cddl/sema.h" #include <string.h> #include <unistd.h> #include <cinttypes> #include <cstdlib> #include <iostream> #include <map> #include...
34.078919
80
0.617359
[ "object", "vector" ]
2eccd8ee8a19755d553d4d45d76a4ce499bbccda
40,236
cpp
C++
src/utilities/hts_parallel_reader.cpp
h-2/graphtyper
692eac909f00a888dcc14487fe57907ff88f6d17
[ "MIT" ]
null
null
null
src/utilities/hts_parallel_reader.cpp
h-2/graphtyper
692eac909f00a888dcc14487fe57907ff88f6d17
[ "MIT" ]
null
null
null
src/utilities/hts_parallel_reader.cpp
h-2/graphtyper
692eac909f00a888dcc14487fe57907ff88f6d17
[ "MIT" ]
null
null
null
#include <string> // std::string #include <unordered_map> // std::unordered_map #include <vector> // std::vector #include <boost/log/trivial.hpp> #include <htslib/hfile.h> #include <htslib/hts.h> #include <htslib/sam.h> #include <seqan/basic.h> #include <seqan/sequence.h> #include <seqan/hts_io.h> #include <graphty...
31.508222
118
0.601476
[ "vector" ]
2edce7baba32f3228ea119466d361126031c9a7d
2,938
cpp
C++
src/submitter/submitter.cpp
pointnity/Scheduler-of-Pointnity-N.1.1.0
8824bfb95d80d638ff466535747430bae15c212d
[ "MIT" ]
1
2019-08-15T10:04:31.000Z
2019-08-15T10:04:31.000Z
src/submitter/submitter.cpp
pointnity/Scheduler-V0.1-
8824bfb95d80d638ff466535747430bae15c212d
[ "MIT" ]
null
null
null
src/submitter/submitter.cpp
pointnity/Scheduler-V0.1-
8824bfb95d80d638ff466535747430bae15c212d
[ "MIT" ]
null
null
null
/******************************** FileName: submitter/submitter.cpp Version: 0.1 Description: submitter main *********************************/ #include <stdlib.h> #include <iostream> #include <sys/stat.h> #include <sys/wait.h> #include <unistd.h> #include <log4cplus/logger.h> #include <log4cplus/loggingmacros.h>...
30.926316
103
0.679033
[ "object" ]
2edf1079d1fed96420e8d831919b595404317075
42,329
cc
C++
chrome/browser/optimization_guide/prediction/prediction_manager.cc
chromium/chromium
df46e572c3449a4b108d6e02fbe4f6d24cf98381
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
14,668
2015-01-01T01:57:10.000Z
2022-03-31T23:33:32.000Z
chrome/browser/optimization_guide/prediction/prediction_manager.cc
chromium/chromium
df46e572c3449a4b108d6e02fbe4f6d24cf98381
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
86
2015-10-21T13:02:42.000Z
2022-03-14T07:50:50.000Z
chrome/browser/optimization_guide/prediction/prediction_manager.cc
chromium/chromium
df46e572c3449a4b108d6e02fbe4f6d24cf98381
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
5,941
2015-01-02T11:32:21.000Z
2022-03-31T16:35:46.000Z
// Copyright 2019 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/optimization_guide/prediction/prediction_manager.h" #include <memory> #include <utility> #include "base/containers/flat_map.h" ...
39.084949
91
0.745635
[ "vector", "model" ]
2ef999ea3dcb3116e2793aa58a1fa45623c476b5
5,288
cpp
C++
src/Element.cpp
JoseAntFer/MeshProjector
ad42d9be44fa04663a795e785ff0a22e67182287
[ "MIT" ]
2
2020-02-25T12:22:44.000Z
2021-06-02T13:09:28.000Z
src/Element.cpp
JoseAntFer/MeshProjector
ad42d9be44fa04663a795e785ff0a22e67182287
[ "MIT" ]
null
null
null
src/Element.cpp
JoseAntFer/MeshProjector
ad42d9be44fa04663a795e785ff0a22e67182287
[ "MIT" ]
null
null
null
/* MIT License Copyright (c) 2019 Jose Antonio Fernandez Fernandez 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, modif...
32.641975
162
0.655446
[ "mesh", "vector" ]
2ef9bcd82df627dcecaedf1fb05a2f18fcf4b54c
3,431
cpp
C++
PngView.cpp
Dmcdominic/15-466-f20-game6
a8f9eb3033e3e6a06b8c66f8fff84500defe72f6
[ "CC-BY-4.0" ]
null
null
null
PngView.cpp
Dmcdominic/15-466-f20-game6
a8f9eb3033e3e6a06b8c66f8fff84500defe72f6
[ "CC-BY-4.0" ]
56
2020-10-29T15:08:34.000Z
2020-12-05T02:53:04.000Z
PngView.cpp
Dmcdominic/15-466-f20-game6
a8f9eb3033e3e6a06b8c66f8fff84500defe72f6
[ "CC-BY-4.0" ]
null
null
null
#include "PngView.hpp" #include "ColorTextureProgram.hpp" #include "data_path.hpp" #include "load_save_png.hpp" #include <glm/glm.hpp> #include "gl_errors.hpp" #include <glm/gtc/type_ptr.hpp> #include <vector> PngView::PngView(std::string _filename, float *_xs, float *_ys) { filename = _filename; xs = _xs; ys = _y...
36.5
136
0.73244
[ "vector" ]
2efa3d6073afa9550e69da3a2e4e62d70e318dbc
386
cpp
C++
week3-exercise1/ball.cpp
jakah/hu-v1oopc-exercises
74d830fa150525705306bcb59652cc9baa991985
[ "MIT" ]
null
null
null
week3-exercise1/ball.cpp
jakah/hu-v1oopc-exercises
74d830fa150525705306bcb59652cc9baa991985
[ "MIT" ]
null
null
null
week3-exercise1/ball.cpp
jakah/hu-v1oopc-exercises
74d830fa150525705306bcb59652cc9baa991985
[ "MIT" ]
null
null
null
#include "ball.hpp" #include <iostream> void ball::update(){ location += speed; } ball::ball( window & w, const vector & midpoint, int radius, const vector & speed ): circle( w, midpoint, radius ), speed( speed ) {} void ball::interact( drawable & other ){ if( this != & other){ if( overlaps( other ...
19.3
84
0.556995
[ "vector" ]
2efdc128c9a418f52d7485b50780e974bd7c8b1a
1,305
cpp
C++
CorruptionChecksum/part_two.cpp
danielwagn3r/CorruptionChecksum
d846e23a8040be673f0c908bfed10dd9905b5975
[ "Apache-2.0" ]
null
null
null
CorruptionChecksum/part_two.cpp
danielwagn3r/CorruptionChecksum
d846e23a8040be673f0c908bfed10dd9905b5975
[ "Apache-2.0" ]
null
null
null
CorruptionChecksum/part_two.cpp
danielwagn3r/CorruptionChecksum
d846e23a8040be673f0c908bfed10dd9905b5975
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <boost/algorithm/minmax_element.hpp> #include <boost/algorithm/string.hpp> #include <boost/container/vector.hpp> #include <boost/filesystem.hpp> #include <boost/lexical_cast.hpp> #include "part_two.h" part_two::part_two(const boost::container::string& input) : abstract_part(input) { } p...
19.477612
104
0.650575
[ "vector", "transform" ]
2eff02e507427120a3d72ed1646a14cf4a04bcff
2,334
cc
C++
scoville.cc
bbarenblat/scoville
3eb7b1a0f958cc4483802889aa9fdbd171e0f807
[ "Apache-2.0" ]
1
2018-02-11T02:40:15.000Z
2018-02-11T02:40:15.000Z
scoville.cc
bbarenblat/scoville
3eb7b1a0f958cc4483802889aa9fdbd171e0f807
[ "Apache-2.0" ]
2
2016-11-07T23:27:55.000Z
2018-06-20T22:04:00.000Z
scoville.cc
bbarenblat/scoville
3eb7b1a0f958cc4483802889aa9fdbd171e0f807
[ "Apache-2.0" ]
null
null
null
// Copyright (C) 2007, 2008 Jan Engelhardt <jengelh@medozas.de> // Copyright (C) 2016 Benjamin Barenblat <benjamin@barenblat.name> // // 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 ...
37.645161
80
0.714225
[ "vector" ]
2c09fbeedabdff7f335ca38bfac1c73cf4927afa
1,933
cc
C++
src/nextfloor/mesh/dynamic_mesh.cc
ricofehr/enginepp
5c67083c61247410878f1f80bf2858d3244b2074
[ "MIT" ]
null
null
null
src/nextfloor/mesh/dynamic_mesh.cc
ricofehr/enginepp
5c67083c61247410878f1f80bf2858d3244b2074
[ "MIT" ]
null
null
null
src/nextfloor/mesh/dynamic_mesh.cc
ricofehr/enginepp
5c67083c61247410878f1f80bf2858d3244b2074
[ "MIT" ]
null
null
null
/** * @file dynamic_mesh.cc * @brief DynamicMesh class file * @author Eric Fehr (ricofehr@nextdeploy.io, github: ricofehr) */ #include "nextfloor/mesh/dynamic_mesh.h" #include <glm/glm.hpp> #include <tbb/tbb.h> namespace nextfloor { namespace mesh { std::vector<Mesh*> DynamicMesh::FindCollisionNeighbors() c...
25.103896
122
0.706674
[ "mesh", "vector" ]
2c0a61ee11bc747b006c300059f374efddad8069
51,319
cc
C++
HGCSimTruth/HGCSimTruth/plugins/SimClusterTreeMerger.cc
cms-pepr/cmssw
bdbd13b412703f8750d044c66ac23d1d723c1165
[ "Apache-2.0" ]
1
2019-12-19T13:43:44.000Z
2019-12-19T13:43:44.000Z
HGCSimTruth/HGCSimTruth/plugins/SimClusterTreeMerger.cc
cms-pepr/cmssw
bdbd13b412703f8750d044c66ac23d1d723c1165
[ "Apache-2.0" ]
7
2020-02-10T18:55:34.000Z
2022-01-16T20:08:44.000Z
HGCSimTruth/HGCSimTruth/plugins/SimClusterTreeMerger.cc
cms-pepr/cmssw
bdbd13b412703f8750d044c66ac23d1d723c1165
[ "Apache-2.0" ]
null
null
null
#include <memory> #include <vector> #include <cstdlib> #include <iostream> #include <stack> #include <unordered_map> #include <map> #include <sstream> #include <utility> #include <set> #include <cmath> #include <numeric> using std::vector; using std::map; using std::unordered_map; using std::pair; #include "FWCore/Fra...
39.659196
144
0.582572
[ "vector", "transform", "3d" ]
2c19a898262113e75b8ff82198a0679c342da99f
33,145
cpp
C++
pymsz/SZpacklib/src/SZ_asymptotic.cpp
weiguangcui/pymsz
79d81ef070a02f4109f5307407e0f549f44a8ec7
[ "MIT" ]
null
null
null
pymsz/SZpacklib/src/SZ_asymptotic.cpp
weiguangcui/pymsz
79d81ef070a02f4109f5307407e0f549f44a8ec7
[ "MIT" ]
null
null
null
pymsz/SZpacklib/src/SZ_asymptotic.cpp
weiguangcui/pymsz
79d81ef070a02f4109f5307407e0f549f44a8ec7
[ "MIT" ]
1
2020-08-03T18:51:45.000Z
2020-08-03T18:51:45.000Z
//================================================================================================== // // This program allows computing the thermal SZ and kinematic effect. Up to 10th order temperature // corrections are allowed. The basis functions are computed using recursion relations, based on // Eulerian numbers...
40.919753
100
0.504661
[ "vector" ]
2c1d78255cbdb270f73daeb366ec01db855f20d0
13,604
cpp
C++
src/tests/functional/plugin/myriad/subgraph_tests/dsr_binary_elementwise.cpp
ryanloney/openvino-1
4e0a740eb3ee31062ba0df88fcf438564f67edb7
[ "Apache-2.0" ]
1,127
2018-10-15T14:36:58.000Z
2020-04-20T09:29:44.000Z
src/tests/functional/plugin/myriad/subgraph_tests/dsr_binary_elementwise.cpp
ryanloney/openvino-1
4e0a740eb3ee31062ba0df88fcf438564f67edb7
[ "Apache-2.0" ]
439
2018-10-20T04:40:35.000Z
2020-04-19T05:56:25.000Z
src/tests/functional/plugin/myriad/subgraph_tests/dsr_binary_elementwise.cpp
ryanloney/openvino-1
4e0a740eb3ee31062ba0df88fcf438564f67edb7
[ "Apache-2.0" ]
414
2018-10-17T05:53:46.000Z
2020-04-16T17:29:53.000Z
// Copyright (C) 2018-2022 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include "dsr_tests_common.hpp" #include <shared_test_classes/base/layer_test_utils.hpp> #include <ngraph_functions/builders.hpp> #include <vpu/ngraph/operations/dynamic_shape_resolver.hpp> #include <ngraph/opsets/opset6.hpp> nam...
39.317919
150
0.651059
[ "shape", "vector" ]
2c2438e5aa36bc727aa6736234accbaba6f119b2
1,021
cpp
C++
SPOJ/Random/KOPC12B/kop.cpp
VastoLorde95/Competitive-Programming
6c990656178fb0cd33354cbe5508164207012f24
[ "MIT" ]
170
2017-07-25T14:47:29.000Z
2022-01-26T19:16:31.000Z
SPOJ/Random/KOPC12B/kop.cpp
navodit15/Competitive-Programming
6c990656178fb0cd33354cbe5508164207012f24
[ "MIT" ]
null
null
null
SPOJ/Random/KOPC12B/kop.cpp
navodit15/Competitive-Programming
6c990656178fb0cd33354cbe5508164207012f24
[ "MIT" ]
55
2017-07-28T06:17:33.000Z
2021-10-31T03:06:22.000Z
#include<stdio.h> #include<iostream> #include<cmath> #include<algorithm> #include<cstring> #include<map> #include<set> #include<vector> #include<utility> #include<math.h> #define sd(x) scanf("%d",&x); #define sd2(x,y) scanf("%d %d",&x,&y); #define sd3(x,y,z) scanf("%d %d %d",&x,&y,&z); #define sull(x) scanf("%ull",&x)...
20.42
51
0.572968
[ "vector" ]
2c2ef16c57348095ecef282274d9c08c6ded19bb
22,224
cc
C++
QSentinel/zookeeper/ZookeeperConn.cc
Myicefrog/Qedis
692f0584dad8f5d80c55ec19b217f0777156f719
[ "MIT" ]
1
2019-12-26T07:03:34.000Z
2019-12-26T07:03:34.000Z
QSentinel/zookeeper/ZookeeperConn.cc
Myicefrog/Qedis
692f0584dad8f5d80c55ec19b217f0777156f719
[ "MIT" ]
null
null
null
QSentinel/zookeeper/ZookeeperConn.cc
Myicefrog/Qedis
692f0584dad8f5d80c55ec19b217f0777156f719
[ "MIT" ]
null
null
null
#if QEDIS_CLUSTER #include <unistd.h> #include "ZookeeperConn.h" #include "Log/Logger.h" #include "QCommon.h" #include "zookeeper.jute.h" #include "proto.h" static int deserialize_prime_response(struct prime_struct* req, AttachedBuffer& buffer) { buffer >> req->len; req->len = ntohl(req->len); buffer >>...
27.573201
119
0.540542
[ "vector" ]
2c3519328cf88669dbcd25c1972267d102bdb667
12,939
cxx
C++
Libs/Mesh/ComputeGeodesicDistanceToLandmark.cxx
amylenz/ShapeWorks
78c2ee067a23e31f5b83d0121e60addb1b0bf462
[ "MIT" ]
null
null
null
Libs/Mesh/ComputeGeodesicDistanceToLandmark.cxx
amylenz/ShapeWorks
78c2ee067a23e31f5b83d0121e60addb1b0bf462
[ "MIT" ]
1
2020-08-04T22:37:34.000Z
2020-08-05T06:17:43.000Z
Libs/Mesh/ComputeGeodesicDistanceToLandmark.cxx
amylenz/ShapeWorks
78c2ee067a23e31f5b83d0121e60addb1b0bf462
[ "MIT" ]
null
null
null
#include "TriMesh.h" #include "meshFIM.h" #include "math.h" #include "tinyxml.h" #include <iostream> #include <sstream> #include <string> #include "vnl/vnl_vector.h" #define _USE_MATH_DEFINES int main(int argc, char *argv[]) { if(argc != 2) { std::cout << "-------------------------------" << std::endl...
33.96063
224
0.531649
[ "mesh", "vector", "transform", "3d" ]
2c370de12ae97d2d757c2730070685f0e05871a2
1,971
cpp
C++
Source/ServerListTool/ServerListView.cpp
igor-sadchenko/image-uploader
d559aa0d7319660a93b036821b7b99cc53e70c7e
[ "Apache-2.0" ]
null
null
null
Source/ServerListTool/ServerListView.cpp
igor-sadchenko/image-uploader
d559aa0d7319660a93b036821b7b99cc53e70c7e
[ "Apache-2.0" ]
null
null
null
Source/ServerListTool/ServerListView.cpp
igor-sadchenko/image-uploader
d559aa0d7319660a93b036821b7b99cc53e70c7e
[ "Apache-2.0" ]
null
null
null
#include "ServerListView.h" #include "ServersCheckerModel.h" #include "Core/Utils/CoreUtils.h" namespace ServersListTool { CServerListView::CServerListView(ServersCheckerModel* model) : model_(model){ using namespace std::placeholders; model_->setOnRowChangedCallback(std::bind(&CServerListView::onRowChanged,...
25.934211
89
0.663115
[ "model" ]
2c3c404c9c486b70c5389aa6309fb18387913628
26,384
cpp
C++
test/whatwg/html/parsing/tree_construction_dispatcher.cpp
wordring/wordring
e2c9c2ed66010537efd78694521312c5b63f0510
[ "Unlicense" ]
2
2020-03-07T05:23:20.000Z
2021-01-23T15:19:18.000Z
test/whatwg/html/parsing/tree_construction_dispatcher.cpp
wordring/libwordring
b71d990ea9288e9d9fe85521c8adac5d50471fa6
[ "Unlicense" ]
null
null
null
test/whatwg/html/parsing/tree_construction_dispatcher.cpp
wordring/libwordring
b71d990ea9288e9d9fe85521c8adac5d50471fa6
[ "Unlicense" ]
null
null
null
// test/whatwg/html/parsing/tree_construction_dispatcher.cpp #include <boost/test/unit_test.hpp> #include <wordring/html/simple_html.hpp> #include <wordring/html/simple_node.hpp> #include <wordring/html/simple_parser.hpp> #include <wordring/html/simple_traits.hpp> #include <wordring/whatwg/html/parsing/atom_tbl.hpp...
34.354167
131
0.695952
[ "vector" ]
2c40abe06155b2a04450c956d2fdab2515747a4f
3,227
cpp
C++
src/ornbookmarksmodel.cpp
Acidburn0zzz/harbour-storeman
beda8d3aa7b580b35200816a5494532102eff7ba
[ "MIT" ]
1
2019-08-26T04:02:24.000Z
2019-08-26T04:02:24.000Z
src/ornbookmarksmodel.cpp
Acidburn0zzz/harbour-storeman
beda8d3aa7b580b35200816a5494532102eff7ba
[ "MIT" ]
null
null
null
src/ornbookmarksmodel.cpp
Acidburn0zzz/harbour-storeman
beda8d3aa7b580b35200816a5494532102eff7ba
[ "MIT" ]
null
null
null
#include "ornbookmarksmodel.h" #include "ornapplistitem.h" #include "ornclient.h" #include <QNetworkAccessManager> #include <QNetworkReply> OrnBookmarksModel::OrnBookmarksModel(QObject *parent) : OrnAbstractAppsModel(false, parent) { auto client = OrnClient::instance(); connect(client, &OrnClient::bookmar...
30.733333
92
0.510381
[ "object", "model" ]
2c4793fca94d52a7d7b3a7d1d13d81429b10a629
732
cpp
C++
lmlib/src/geometry/frustum.cpp
Lawrencemm/LM-Engine
9c5e59e64e2a5a24c347538fa49046ab5a88d1f5
[ "MIT" ]
40
2020-03-13T06:12:11.000Z
2022-01-16T21:05:34.000Z
lmlib/src/geometry/frustum.cpp
Lawrencemm/LM-Engine
9c5e59e64e2a5a24c347538fa49046ab5a88d1f5
[ "MIT" ]
31
2020-02-09T06:25:12.000Z
2021-12-31T04:37:08.000Z
lmlib/src/geometry/frustum.cpp
Lawrencemm/LM-Engine
9c5e59e64e2a5a24c347538fa49046ab5a88d1f5
[ "MIT" ]
2
2020-03-13T06:12:12.000Z
2020-11-21T15:41:17.000Z
#include <cmath> #include "lmlib/geometry.h" #include "lmlib/rotation_matrix.h" namespace lm { lm::frustum::frustum(float fov, float aspect, float near, float farClip) : nearClip{near}, farClip{farClip} { left = tanf(fov * 0.5f) * near; top = left / aspect; } Eigen::Matrix4f lm::frustum::perspective_trans...
26.142857
80
0.661202
[ "geometry" ]
2c5b09dc2110da6578272017a84026965b73aad3
2,583
cpp
C++
main/course-schedule-ii/course-schedule-ii-scratch.cpp
EliahKagan/old-practice-snapshot
1b53897eac6902f8d867c8f154ce2a489abb8133
[ "0BSD" ]
null
null
null
main/course-schedule-ii/course-schedule-ii-scratch.cpp
EliahKagan/old-practice-snapshot
1b53897eac6902f8d867c8f154ce2a489abb8133
[ "0BSD" ]
null
null
null
main/course-schedule-ii/course-schedule-ii-scratch.cpp
EliahKagan/old-practice-snapshot
1b53897eac6902f8d867c8f154ce2a489abb8133
[ "0BSD" ]
null
null
null
#include <algorithm> #include <cassert> #include <functional> #include <vector> using namespace std; class Solution { public: static vector<int> findOrder(int numCourses, const vector<pair<int, int>>& prerequisites); }; namespace { vector<vector<int>> build_adjacency_list...
29.352273
78
0.514518
[ "vector" ]
2c61b4f27045efd49647f88447d5f290bbb32d8e
10,212
cpp
C++
src/fields/view_tuple.t.cpp
lanl/shoccs
6fd72a612e872df62749eec6b010bd1f1e5ee1e7
[ "BSD-3-Clause" ]
null
null
null
src/fields/view_tuple.t.cpp
lanl/shoccs
6fd72a612e872df62749eec6b010bd1f1e5ee1e7
[ "BSD-3-Clause" ]
2
2022-02-18T22:43:06.000Z
2022-02-18T22:43:19.000Z
src/fields/view_tuple.t.cpp
lanl/shoccs
6fd72a612e872df62749eec6b010bd1f1e5ee1e7
[ "BSD-3-Clause" ]
null
null
null
#include "view_tuple.hpp" #include "container_tuple.hpp" #include <catch2/catch_test_macros.hpp> #include <range/v3/algorithm/equal.hpp> #include <range/v3/view/all.hpp> #include <range/v3/view/concat.hpp> #include <range/v3/view/iota.hpp> #include <range/v3/view/repeat_n.hpp> #include <range/v3/view/take.hpp> #inclu...
22.345733
90
0.515766
[ "vector", "transform" ]
2c64a18aaa300d4df000854050dafb2b1dae45fd
17,320
cc
C++
src/beam.cc
zhanghe9704/jspec2
0073e0515b87610b7f88ad2b07fc7d23618c159a
[ "Unlicense" ]
1
2020-09-28T08:20:20.000Z
2020-09-28T08:20:20.000Z
src/beam.cc
zhanghe9704/jspec2
0073e0515b87610b7f88ad2b07fc7d23618c159a
[ "Unlicense" ]
null
null
null
src/beam.cc
zhanghe9704/jspec2
0073e0515b87610b7f88ad2b07fc7d23618c159a
[ "Unlicense" ]
1
2020-10-14T12:45:35.000Z
2020-10-14T12:45:35.000Z
#include "beam.h" #include <algorithm> #include <cmath> #include <cstring> #include <fstream> #include "arbitrary_electron_beam.h" Beam::Beam(int charge_number, double mass_number, double kinetic_energy, double emit_nx, double emit_ny, double dp_p, double sigma_s, double n_particle): charge_number_(charg...
36.463158
133
0.59746
[ "vector" ]
2c64f3a238f46f1a778bcac054d2bc177d6b8ae8
46,535
cpp
C++
external/mapnik/plugins/input/pgraster/pgraster_datasource.cpp
baiyicanggou/mapnik_mvt
9bde52fa9958d81361c015c816858534ec0931bb
[ "Apache-2.0" ]
null
null
null
external/mapnik/plugins/input/pgraster/pgraster_datasource.cpp
baiyicanggou/mapnik_mvt
9bde52fa9958d81361c015c816858534ec0931bb
[ "Apache-2.0" ]
null
null
null
external/mapnik/plugins/input/pgraster/pgraster_datasource.cpp
baiyicanggou/mapnik_mvt
9bde52fa9958d81361c015c816858534ec0931bb
[ "Apache-2.0" ]
null
null
null
/***************************************************************************** * * This file is part of Mapnik (c++ mapping toolkit) * * Copyright (C) 2015 Artem Pavlenko * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as p...
38.522351
179
0.498936
[ "geometry", "object", "vector" ]
ef1ee08d6811633addd56a7264ce30f5dd62b607
4,977
cc
C++
cms/src/model/PutCustomMetricRuleRequest.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "Apache-2.0" ]
89
2018-02-02T03:54:39.000Z
2021-12-13T01:32:55.000Z
cms/src/model/PutCustomMetricRuleRequest.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "Apache-2.0" ]
89
2018-03-14T07:44:54.000Z
2021-11-26T07:43:25.000Z
cms/src/model/PutCustomMetricRuleRequest.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...
24.160194
94
0.763914
[ "model" ]
ef24c61c37a920ad92ddc53b8e92a948e2cb28dc
16,334
cpp
C++
src/Swoose/Tests/ParametrizationOfLargeSystemsTest.cpp
qcscine/swoose
55a74259153845ade607784f26455fd96dddce07
[ "BSD-3-Clause" ]
2
2021-12-15T09:31:36.000Z
2021-12-15T09:35:36.000Z
src/Swoose/Tests/ParametrizationOfLargeSystemsTest.cpp
qcscine/swoose
55a74259153845ade607784f26455fd96dddce07
[ "BSD-3-Clause" ]
null
null
null
src/Swoose/Tests/ParametrizationOfLargeSystemsTest.cpp
qcscine/swoose
55a74259153845ade607784f26455fd96dddce07
[ "BSD-3-Clause" ]
null
null
null
/** * @file * @copyright This code is licensed under the 3-clause BSD license.\n * Copyright ETH Zurich, Laboratory of Physical Chemistry, Reiher Group.\n * See LICENSE.txt for details. */ #include "Files/tests_file_location.h" #include <Core/Log.h> #include <Molassembler/Graph.h> #include <...
45.753501
117
0.745929
[ "geometry", "object", "vector" ]
ef24ef9f09c5107ea01bbb3664d10e4b72c4a452
9,594
cpp
C++
matog/analyze/training/Data.cpp
mergian/matog
d03de27b92a0772ceac1c556293217ff91d405eb
[ "BSD-3-Clause" ]
1
2021-06-10T13:09:57.000Z
2021-06-10T13:09:57.000Z
matog/analyze/training/Data.cpp
mergian/matog
d03de27b92a0772ceac1c556293217ff91d405eb
[ "BSD-3-Clause" ]
null
null
null
matog/analyze/training/Data.cpp
mergian/matog
d03de27b92a0772ceac1c556293217ff91d405eb
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2015 Nicolas Weber / GCC / TU-Darmstadt. All rights reserved. // Use of this source code is governed by the BSD 3-Clause license that can be // found in the LICENSE file. #include <matog/analyze/graph/Graph.h> #include <matog/analyze/training/Data.h> #include <matog/log.h> #include <matog/db/tables.h...
25.247368
132
0.559933
[ "vector" ]
ef26c28bacda60713458dbadb62174339780e103
12,318
cpp
C++
src/utilities/Dealer.cpp
RoboTeamTwente/roboteam_ai
412c96cec328af9a8efefb3f484abd982acb7000
[ "MIT" ]
16
2018-10-10T09:55:22.000Z
2021-04-26T09:58:47.000Z
src/utilities/Dealer.cpp
RoboTeamTwente/roboteam_ai
412c96cec328af9a8efefb3f484abd982acb7000
[ "MIT" ]
688
2018-09-26T11:42:21.000Z
2022-03-17T09:32:25.000Z
src/utilities/Dealer.cpp
RoboTeamTwente/roboteam_ai
412c96cec328af9a8efefb3f484abd982acb7000
[ "MIT" ]
5
2018-12-25T12:45:56.000Z
2020-09-25T07:51:02.000Z
/** * The dealer will check for the flags that are set in plays, but also for the distance * to a position that a robot might need to travel to. The lower the score of a robot, the better. */ // TODO Fix issue where roles get redistributed whilst robots are already in position /// This issue occurs when there are m...
49.075697
156
0.650593
[ "vector" ]
ef2960ff3484a4f93562384d57d5e9de2f794a35
4,344
hpp
C++
Schweizer-Messer/sm_kinematics/include/sm/kinematics/quaternion_algebra.hpp
chengfzy/kalibr
fe9705b380b160dc939607135f7d30efa64ea2e9
[ "BSD-4-Clause" ]
null
null
null
Schweizer-Messer/sm_kinematics/include/sm/kinematics/quaternion_algebra.hpp
chengfzy/kalibr
fe9705b380b160dc939607135f7d30efa64ea2e9
[ "BSD-4-Clause" ]
null
null
null
Schweizer-Messer/sm_kinematics/include/sm/kinematics/quaternion_algebra.hpp
chengfzy/kalibr
fe9705b380b160dc939607135f7d30efa64ea2e9
[ "BSD-4-Clause" ]
null
null
null
/** * @file quaternion_algebra.hpp * @author Paul Furgale <paul.furgale@utoronto.ca> * @date Sun Nov 21 19:20:37 2010 * * @brief Quaternion algebra from the paper Barfoot T D, Forbes J R, and Furgale P T. “Pose Estimation using Linearized * Rotations and Quaternion Algebra”. Acta Astronautica, 2010. doi:10.1...
48.266667
120
0.741252
[ "geometry" ]
ef2cb2bbf158fbe16d6f37534bcd1f30c4a7c7f3
10,530
cpp
C++
Game/OGRE/OgreMain/src/OgreZip.cpp
hackerlank/SourceCode
b702c9e0a9ca5d86933f3c827abb02a18ffc9a59
[ "MIT" ]
4
2021-07-31T13:56:01.000Z
2021-11-13T02:55:10.000Z
Game/OGRE/OgreMain/src/OgreZip.cpp
shacojx/SourceCodeGameTLBB
e3cea615b06761c2098a05427a5f41c236b71bf7
[ "MIT" ]
null
null
null
Game/OGRE/OgreMain/src/OgreZip.cpp
shacojx/SourceCodeGameTLBB
e3cea615b06761c2098a05427a5f41c236b71bf7
[ "MIT" ]
7
2021-08-31T14:34:23.000Z
2022-01-19T08:25:58.000Z
/* ----------------------------------------------------------------------------- This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info, see http://www.ogre3d.org/ Copyright (c) 2000-2005 The OGRE Team Also see acknowledgements in Readme.html This program is free software; yo...
33.322785
104
0.465527
[ "object" ]
ef2dea91a7b36bfc3d5cdeb4a79a917594a8a3cf
37,319
cpp
C++
Development/Src/Editor/Src/UnEdCsg.cpp
addstone/unrealengine3
4579d360dfd52b12493292120b27bb430f978fc8
[ "FSFAP" ]
37
2020-05-22T18:18:47.000Z
2022-03-19T06:51:54.000Z
Development/Src/Editor/Src/UnEdCsg.cpp
AdanosGotoman/unrealengine3
4579d360dfd52b12493292120b27bb430f978fc8
[ "FSFAP" ]
null
null
null
Development/Src/Editor/Src/UnEdCsg.cpp
AdanosGotoman/unrealengine3
4579d360dfd52b12493292120b27bb430f978fc8
[ "FSFAP" ]
27
2020-05-17T01:03:30.000Z
2022-03-06T19:10:14.000Z
/*============================================================================= UnEdCsg.cpp: High-level CSG tracking functions for editor Copyright 1997-1999 Epic Games, Inc. All Rights Reserved. Revision history: * Created by Tim Sweeney ===========================================================================...
26.694564
182
0.617112
[ "geometry", "model" ]
ef3c16a11c22c78b48dd0aceae2cb7cf5ca760f9
9,839
cpp
C++
WebKit/Source/WebKit2/WebProcess/WebPage/ca/win/LayerTreeHostCAWin.cpp
JavaScriptTesting/LJS
9818dbdb421036569fff93124ac2385d45d01c3a
[ "Apache-2.0" ]
1
2019-06-18T06:52:54.000Z
2019-06-18T06:52:54.000Z
WebKit/Source/WebKit2/WebProcess/WebPage/ca/win/LayerTreeHostCAWin.cpp
JavaScriptTesting/LJS
9818dbdb421036569fff93124ac2385d45d01c3a
[ "Apache-2.0" ]
null
null
null
WebKit/Source/WebKit2/WebProcess/WebPage/ca/win/LayerTreeHostCAWin.cpp
JavaScriptTesting/LJS
9818dbdb421036569fff93124ac2385d45d01c3a
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2011 Apple Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions a...
37.268939
123
0.754243
[ "geometry" ]
ef3cac2b567982ab0d17ceda82e829475442d9c1
3,443
cpp
C++
src/hxhim/ops/BPUT.cpp
hpc/hxhim
1a2224a200cb5a9fae33da13720e68beb5bee746
[ "BSD-3-Clause" ]
2
2020-11-25T17:45:58.000Z
2021-12-21T02:01:16.000Z
src/hxhim/ops/BPUT.cpp
hpc/hxhim
1a2224a200cb5a9fae33da13720e68beb5bee746
[ "BSD-3-Clause" ]
null
null
null
src/hxhim/ops/BPUT.cpp
hpc/hxhim
1a2224a200cb5a9fae33da13720e68beb5bee746
[ "BSD-3-Clause" ]
1
2021-10-11T19:54:05.000Z
2021-10-11T19:54:05.000Z
#include "hxhim/hxhim.hpp" #include "hxhim/private/hxhim.hpp" #include "utils/Blob.hpp" /** * BPut * Add a BPUT into the work queue * * @param hx the HXHIM session * @param subjects the subjects to put * @param subject_lens the lengths of the subjects to put * @param prediates the prediates...
38.685393
99
0.61458
[ "object" ]
ef41b03cdd06a2ab98bf57ca7b06f9787870ace4
10,971
cc
C++
src/devices/rtc/drivers/intel-rtc/intel-rtc-test.cc
wwjiang007/fuchsia-1
0db66b52b5bcd3e27c8b8c2163925309e8522f94
[ "BSD-2-Clause" ]
210
2019-02-05T12:45:09.000Z
2022-03-28T07:59:06.000Z
src/devices/rtc/drivers/intel-rtc/intel-rtc-test.cc
wwjiang007/fuchsia-1
0db66b52b5bcd3e27c8b8c2163925309e8522f94
[ "BSD-2-Clause" ]
5
2019-12-04T15:13:37.000Z
2020-02-19T08:11:38.000Z
src/devices/rtc/drivers/intel-rtc/intel-rtc-test.cc
wwjiang007/fuchsia-1
0db66b52b5bcd3e27c8b8c2163925309e8522f94
[ "BSD-2-Clause" ]
73
2019-03-06T18:55:23.000Z
2022-03-26T12:04:51.000Z
// Copyright 2021 The Fuchsia Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "src/devices/rtc/drivers/intel-rtc/intel-rtc.h" #include <lib/async-loop/cpp/loop.h> #include <librtc.h> #include <ddktl/device.h> #include <zxt...
31.525862
97
0.693191
[ "vector" ]
ef41b63d5803e4561e0cbfe531aa000c5505c9f2
21,658
cpp
C++
Tpx3Dosi/src/Tpx3DosageMeasurement.cpp
ftl999/TimePix3DosimetricLibrary
e67d93c26d2f68fb4bdf585e9cb9c25245d966d0
[ "MIT" ]
null
null
null
Tpx3Dosi/src/Tpx3DosageMeasurement.cpp
ftl999/TimePix3DosimetricLibrary
e67d93c26d2f68fb4bdf585e9cb9c25245d966d0
[ "MIT" ]
null
null
null
Tpx3Dosi/src/Tpx3DosageMeasurement.cpp
ftl999/TimePix3DosimetricLibrary
e67d93c26d2f68fb4bdf585e9cb9c25245d966d0
[ "MIT" ]
1
2019-12-05T17:38:17.000Z
2019-12-05T17:38:17.000Z
#include "Tpx3DosageMeasurement.h" #include <thread> #include <KatherineTimepix3.h> #ifndef __SIMULATION__ #include "katherine/KatherineConfigParser.h" #endif #include <string> #include <unistd.h> #include <MultiplattformTypes.h> #include <sstream> #include "PixelSorter.h" #include <functional> //need to in...
26.904348
294
0.695632
[ "geometry", "object", "vector" ]
ef437167fa9e113007d02170fcfb4ef4daf4e9fe
2,458
cpp
C++
3rdparty/webkit/Source/WebCore/plugins/DOMMimeType.cpp
mchiasson/PhaserNative
f867454602c395484bf730a7c43b9c586c102ac2
[ "MIT" ]
1
2020-05-25T16:06:49.000Z
2020-05-25T16:06:49.000Z
3rdparty/webkit/Source/WebCore/plugins/DOMMimeType.cpp
mchiasson/PhaserNative
f867454602c395484bf730a7c43b9c586c102ac2
[ "MIT" ]
null
null
null
3rdparty/webkit/Source/WebCore/plugins/DOMMimeType.cpp
mchiasson/PhaserNative
f867454602c395484bf730a7c43b9c586c102ac2
[ "MIT" ]
1
2019-01-25T13:55:25.000Z
2019-01-25T13:55:25.000Z
/* * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) a...
30.725
111
0.724573
[ "vector" ]
ef474a34b1f631322dfb518518f06030b7c1f979
4,588
hh
C++
include/RunAction.hh
ZiliasTheSaint/Interface
40b81b85be106a24796097c98de08baf515bd749
[ "BSD-3-Clause" ]
null
null
null
include/RunAction.hh
ZiliasTheSaint/Interface
40b81b85be106a24796097c98de08baf515bd749
[ "BSD-3-Clause" ]
null
null
null
include/RunAction.hh
ZiliasTheSaint/Interface
40b81b85be106a24796097c98de08baf515bd749
[ "BSD-3-Clause" ]
null
null
null
// // ******************************************************************** // * License and Disclaimer * // * * // * The Geant4 software is copyright of the Copyright Holders of * // * the Geant4 Collaboration...
36.412698
108
0.615955
[ "geometry", "vector" ]
ef4a93f124a5f4d022961e302473ac53f82d73f8
1,080
cpp
C++
ElectruxShorthandInterpretedLanguage/src/LineTypeHandler/General.cpp
Electrux/CCPP-Code
3c5e5b866cf050c11bced9651b112eb31dd2465d
[ "BSD-3-Clause" ]
6
2019-08-29T23:31:17.000Z
2021-11-14T20:35:47.000Z
ElectruxShorthandInterpretedLanguage/src/LineTypeHandler/General.cpp
Electrux/CCPP-Code
3c5e5b866cf050c11bced9651b112eb31dd2465d
[ "BSD-3-Clause" ]
null
null
null
ElectruxShorthandInterpretedLanguage/src/LineTypeHandler/General.cpp
Electrux/CCPP-Code
3c5e5b866cf050c11bced9651b112eb31dd2465d
[ "BSD-3-Clause" ]
1
2019-09-01T12:22:58.000Z
2019-09-01T12:22:58.000Z
#include <iostream> #include <string> #include "../../include/Errors.hpp" #include "../../include/DataTypes.hpp" #include "../../include/GlobalData.hpp" #include "../../include/Vars.hpp" #include "../../include/ExpressionEvaluator.hpp" #include "../../include/LineTypeHandler/General.hpp" ErrorTypes ExecuteGeneral( c...
28.421053
134
0.637963
[ "vector" ]
ef4c42296bf2c1186ffc443963d18ed333998552
1,024
cpp
C++
aws-cpp-sdk-amplify/source/model/GetBackendEnvironmentResult.cpp
lintonv/aws-sdk-cpp
15e19c265ffce19d2046b18aa1b7307fc5377e58
[ "Apache-2.0" ]
1
2022-02-10T08:06:54.000Z
2022-02-10T08:06:54.000Z
aws-cpp-sdk-amplify/source/model/GetBackendEnvironmentResult.cpp
lintonv/aws-sdk-cpp
15e19c265ffce19d2046b18aa1b7307fc5377e58
[ "Apache-2.0" ]
1
2022-01-03T23:59:37.000Z
2022-01-03T23:59:37.000Z
aws-cpp-sdk-amplify/source/model/GetBackendEnvironmentResult.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2022-03-23T15:17:18.000Z
2022-03-23T15:17:18.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/amplify/model/GetBackendEnvironmentResult.h> #include <aws/core/utils/json/JsonSerializer.h> #include <aws/core/AmazonWebServiceResult.h> #include <aws/core/utils/StringUtils.h> #include...
24.97561
122
0.777344
[ "model" ]
ef4ebf7d4134307914194528c9c4695af5015989
7,355
cc
C++
src/ADSB/ADSBVehicleManager.cc
maximusron/QGC-custom-build
b50495537a57594693f5f8e9d27bfff4ef069889
[ "Apache-2.0" ]
1
2020-05-06T17:15:07.000Z
2020-05-06T17:15:07.000Z
src/ADSB/ADSBVehicleManager.cc
maximusron/QGC-custom-build
b50495537a57594693f5f8e9d27bfff4ef069889
[ "Apache-2.0" ]
null
null
null
src/ADSB/ADSBVehicleManager.cc
maximusron/QGC-custom-build
b50495537a57594693f5f8e9d27bfff4ef069889
[ "Apache-2.0" ]
null
null
null
/**************************************************************************** * * (c) 2009-2020 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org> * * QGroundControl is licensed according to the terms in the file * COPYING.md in the root of the source code directory. * ***************************************...
32.258772
147
0.646635
[ "shape" ]
ef61c26fa6e829e8667d040694e66f3e2616aa71
2,159
cpp
C++
source/indexed_db.cpp
ford442/f1l3
3d38a403df99da7fbae45fcc715d69339d8a0962
[ "MIT" ]
null
null
null
source/indexed_db.cpp
ford442/f1l3
3d38a403df99da7fbae45fcc715d69339d8a0962
[ "MIT" ]
null
null
null
source/indexed_db.cpp
ford442/f1l3
3d38a403df99da7fbae45fcc715d69339d8a0962
[ "MIT" ]
null
null
null
#include <indexed_db.hpp> indexed_db_request_c indexed_db_c::open(const char *name,unsigned version){ return{.js_object=this->js_object.call<val>("open",std::string(name),version)}; } indexed_db_request_c indexed_db_c::deleteDatabase(const char *name){ return{.js_object=this->js_object.call<val>("deleteDatabase",std::s...
49.068182
111
0.800371
[ "object", "vector" ]
ef675d8783ec09bdbc995c1ff3203513f03331aa
14,638
cpp
C++
main.cpp
d-wizard/plotter
6c1d52b6326e6aa0989abb8c524613ea3462dee0
[ "MIT" ]
null
null
null
main.cpp
d-wizard/plotter
6c1d52b6326e6aa0989abb8c524613ea3462dee0
[ "MIT" ]
null
null
null
main.cpp
d-wizard/plotter
6c1d52b6326e6aa0989abb8c524613ea3462dee0
[ "MIT" ]
null
null
null
/* Copyright 2013 - 2019, 2021 Dan Williams. All Rights Reserved. * * 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...
34.687204
150
0.659448
[ "object", "vector" ]
ef67920ad9bccada802bbbe4ba3d91af97251a4d
12,800
cpp
C++
GameLoader/GameLoader.cpp
chen0040/cpp-ogre-mllab
b85305cd7e95559a178664577c8e858a5b9dd05b
[ "MIT" ]
1
2021-10-04T09:40:26.000Z
2021-10-04T09:40:26.000Z
GameLoader/GameLoader.cpp
chen0040/cpp-ogre-mllab
b85305cd7e95559a178664577c8e858a5b9dd05b
[ "MIT" ]
null
null
null
GameLoader/GameLoader.cpp
chen0040/cpp-ogre-mllab
b85305cd7e95559a178664577c8e858a5b9dd05b
[ "MIT" ]
6
2019-05-05T22:29:55.000Z
2022-01-03T14:18:54.000Z
#include "GameLoader.h" #include "../Terrain/TerrainInfoManager.h" #include "../ScriptEngine/ScriptManager.h" #include "../OSEnvironment/OSEnvironment.h" #include "../GameEngine/Application.h" #include "../Weapons/WeaponManager.h" #include "../CIAgents/StaticAgentManager.h" GameLoader::GameLoader(const std::string& id...
27.586207
135
0.659219
[ "object" ]
ef6bf856285c60cdc5c2c72a7926611764420733
2,201
cpp
C++
src/main.cpp
altseed/ALSL
de211d8ddee06343195f20fa248a1c17669147fd
[ "MIT" ]
1
2017-11-22T12:46:58.000Z
2017-11-22T12:46:58.000Z
src/main.cpp
altseed/ALSL
de211d8ddee06343195f20fa248a1c17669147fd
[ "MIT" ]
null
null
null
src/main.cpp
altseed/ALSL
de211d8ddee06343195f20fa248a1c17669147fd
[ "MIT" ]
null
null
null
#include "main.hpp" #include <iostream> #include <string> #include <fstream> #include <vector> #include <boost/filesystem.hpp> #include <boost/program_options.hpp> int main(int argc, char* argv[]) { namespace po = boost::program_options; boost::program_options::options_description opt("Options"); opt.add...
28.584416
131
0.615629
[ "vector" ]
ef6c6cc7da9a58979ee08175b12daafc1c6f7ac3
3,494
cpp
C++
gitrepo/gutz/test/main.cpp
djmkultra/group-ring-field
e28ac7e07c001b5b7acd1150136b771c24c0ba6a
[ "Apache-2.0" ]
null
null
null
gitrepo/gutz/test/main.cpp
djmkultra/group-ring-field
e28ac7e07c001b5b7acd1150136b771c24c0ba6a
[ "Apache-2.0" ]
null
null
null
gitrepo/gutz/test/main.cpp
djmkultra/group-ring-field
e28ac7e07c001b5b7acd1150136b771c24c0ba6a
[ "Apache-2.0" ]
null
null
null
/////////////////////////////////////////////////////////////// /// bary2D /// main.cpp /// by Joe Kniss /////////////////////////////////////////////////////////////// #include <iostream> #include <mathGutz.h> #include <arrayGutz.h> #include <eventGutz.h> #include <smartptr.h> #include <signalGutz.h> using namesp...
19.411111
77
0.370922
[ "vector" ]
ef70ef9aa65b1af56ff1cdc057a02a03291ab475
7,793
cpp
C++
dlls/m16.cpp
malortie/hl-invasion
d69e9df4124143285f14fdd3bbcf48e10976238d
[ "Apache-2.0" ]
null
null
null
dlls/m16.cpp
malortie/hl-invasion
d69e9df4124143285f14fdd3bbcf48e10976238d
[ "Apache-2.0" ]
null
null
null
dlls/m16.cpp
malortie/hl-invasion
d69e9df4124143285f14fdd3bbcf48e10976238d
[ "Apache-2.0" ]
null
null
null
/****************************************** * * * Fichier m16 par Julien * * * ******************************************/ //10/03/01 création de l'arme //11/03/01 force de recul et ralentissement / retrait du lance-grenades / ajout d...
22.920588
156
0.68446
[ "vector" ]
ef74aaa1ea2283fdd4dd88c06dc9019c3e472c83
7,790
cpp
C++
src/prod/src/Reliability/Failover/fm/FMServiceLookupTable.cpp
AnthonyM/service-fabric
c396ea918714ea52eab9c94fd62e018cc2e09a68
[ "MIT" ]
2,542
2018-03-14T21:56:12.000Z
2019-05-06T01:18:20.000Z
src/prod/src/Reliability/Failover/fm/FMServiceLookupTable.cpp
AnthonyM/service-fabric
c396ea918714ea52eab9c94fd62e018cc2e09a68
[ "MIT" ]
994
2019-05-07T02:39:30.000Z
2022-03-31T13:23:04.000Z
src/prod/src/Reliability/Failover/fm/FMServiceLookupTable.cpp
AnthonyM/service-fabric
c396ea918714ea52eab9c94fd62e018cc2e09a68
[ "MIT" ]
300
2018-03-14T21:57:17.000Z
2019-05-06T20:07:00.000Z
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ #include "stdafx.h" using nam...
33.290598
165
0.733504
[ "vector" ]
ef77a5c4ea02930481080a53b995b711c0f127ee
924
cpp
C++
14.Tickets/Tickets/AddEventCommand.cpp
ihristova11/oop-tickets-system
367197f8c2dd4b4125771cda7052c89436c2bc11
[ "MIT" ]
null
null
null
14.Tickets/Tickets/AddEventCommand.cpp
ihristova11/oop-tickets-system
367197f8c2dd4b4125771cda7052c89436c2bc11
[ "MIT" ]
null
null
null
14.Tickets/Tickets/AddEventCommand.cpp
ihristova11/oop-tickets-system
367197f8c2dd4b4125771cda7052c89436c2bc11
[ "MIT" ]
null
null
null
#include "AddEventCommand.h" #include "Hall.h" #include "Event.h" AddEventCommand::AddEventCommand(Store* store, FileReader* reader) : reader(reader) { ICommand::store = store; } std::string AddEventCommand::execute(const std::vector<std::string>& parameters) { if (Validator::isValidParametersCount(4, parameters.s...
23.1
80
0.702381
[ "vector" ]