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
80b7edbec1f2f840b179b3bb2181aedf29ea7b56
6,600
cpp
C++
src/OrbitGl/TracepointThreadBar.cpp
ioperations/orbit
c7935085023cce1abb70ce96dd03339f47a1c826
[ "BSD-2-Clause" ]
716
2017-09-22T11:50:40.000Z
2020-03-14T21:52:22.000Z
src/OrbitGl/TracepointThreadBar.cpp
ioperations/orbit
c7935085023cce1abb70ce96dd03339f47a1c826
[ "BSD-2-Clause" ]
132
2017-09-24T11:48:18.000Z
2020-03-17T17:39:45.000Z
src/OrbitGl/TracepointThreadBar.cpp
ioperations/orbit
c7935085023cce1abb70ce96dd03339f47a1c826
[ "BSD-2-Clause" ]
49
2017-09-23T10:23:59.000Z
2020-03-14T09:27:49.000Z
// Copyright (c) 2020 The Orbit 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 "TracepointThreadBar.h" #include <GteVector.h> #include <absl/strings/str_format.h> #include <memory> #include <utility> #include "App.h" #in...
42.580645
98
0.650455
[ "geometry" ]
01ec3a0724f27b6a902b2293c62052013c34bbf2
9,820
hpp
C++
gmk/gmk.hpp
WastedMeerkat/gm81decompiler
80040ac74f95af03b4b6649b0f5be11a7d13700b
[ "MIT" ]
40
2017-07-31T22:20:49.000Z
2022-01-28T14:57:44.000Z
gmk/gmk.hpp
nkrapivin/gm81decompiler
bae1f8c3f52ed80c50319555c96752d087520821
[ "MIT" ]
null
null
null
gmk/gmk.hpp
nkrapivin/gm81decompiler
bae1f8c3f52ed80c50319555c96752d087520821
[ "MIT" ]
15
2015-12-29T16:36:28.000Z
2021-12-19T09:04:54.000Z
/* * gmk.hpp * GMK parser */ #ifndef __GMK_HPP #define __GMK_HPP #include <iostream> #include <vector> #include <string> #include <time.h> // GMK Constants #define GMK_MAGIC 1234321 #define GMK_VERSION 800 #define GMK_MAX_ID 100000000 // GMK Stream Constants #define FMODE_BINARY 0 #define FMODE_TEXT 1 ...
25.05102
206
0.729837
[ "object", "shape", "vector", "solid" ]
01f59e4000e43f91ebe8de74201cc4d4a20155a2
1,068
cpp
C++
Leetcode/0644. Maximum Average Subarray II/0644.cpp
Next-Gen-UI/Code-Dynamics
a9b9d5e3f27e870b3e030c75a1060d88292de01c
[ "MIT" ]
null
null
null
Leetcode/0644. Maximum Average Subarray II/0644.cpp
Next-Gen-UI/Code-Dynamics
a9b9d5e3f27e870b3e030c75a1060d88292de01c
[ "MIT" ]
null
null
null
Leetcode/0644. Maximum Average Subarray II/0644.cpp
Next-Gen-UI/Code-Dynamics
a9b9d5e3f27e870b3e030c75a1060d88292de01c
[ "MIT" ]
null
null
null
class Solution { public: double findMaxAverage(vector<int>& nums, int k) { constexpr double kErr = 1e-5; double l = *min_element(begin(nums), end(nums)); double r = *max_element(begin(nums), end(nums)); while (r - l > kErr) { const double m = (l + r) / 2; if (check(nums, k, m)) l...
24.837209
73
0.526217
[ "vector" ]
bf0116840a2bf7d313dc44fcaf159d81a6d2144a
15,366
cpp
C++
pxr/usd/usd/integerCoding.cpp
DougRogers-DigitalFish/USD
d8a405a1344480f859f025c4f97085143efacb53
[ "BSD-2-Clause" ]
3,680
2016-07-26T18:28:11.000Z
2022-03-31T09:55:05.000Z
pxr/usd/usd/integerCoding.cpp
DougRogers-DigitalFish/USD
d8a405a1344480f859f025c4f97085143efacb53
[ "BSD-2-Clause" ]
1,759
2016-07-26T19:19:59.000Z
2022-03-31T21:24:00.000Z
pxr/usd/usd/integerCoding.cpp
DougRogers-DigitalFish/USD
d8a405a1344480f859f025c4f97085143efacb53
[ "BSD-2-Clause" ]
904
2016-07-26T18:33:40.000Z
2022-03-31T09:55:16.000Z
// // Copyright 2017 Pixar // // Licensed under the Apache License, Version 2.0 (the "Apache License") // with the following modification; you may not use this file except in // compliance with the Apache License and the following modification to it: // Section 6. Trademarks. is deleted and replaced with: // // 6. Trad...
30.129412
83
0.666081
[ "object", "transform" ]
bf03bc39e3159d025d5d51d1af425b579e8dcefd
431
cpp
C++
src/Weaponry.cpp
crumblingstatue/Galaxy
a33d1df85e57a88206265c2780b288f3fda52bbb
[ "CC-BY-3.0" ]
1
2015-08-27T17:01:48.000Z
2015-08-27T17:01:48.000Z
src/Weaponry.cpp
crumblingstatue/Galaxy
a33d1df85e57a88206265c2780b288f3fda52bbb
[ "CC-BY-3.0" ]
11
2015-09-24T03:15:13.000Z
2016-02-23T03:03:04.000Z
src/Weaponry.cpp
crumblingstatue/Galaxy
a33d1df85e57a88206265c2780b288f3fda52bbb
[ "CC-BY-3.0" ]
1
2016-02-16T22:25:06.000Z
2016-02-16T22:25:06.000Z
#include "Weaponry.h" #include "math.h" #include <iostream> void explosion(int xpos, int ypos, int /*size*/, int /*power*/, bool /*frag*/) { std::cout << math::closeishS(xpos, ypos) << " Is the stuff\n"; // std::cout << plat << std::endl; // std::vector<NPC>::iterator Targets; // for( Targets ...
26.9375
80
0.575406
[ "vector" ]
bf0828339e99acea6c0c371ef861b35740b080c5
13,486
hpp
C++
include/strings.hpp
Ptomaine/nstd
72daa4abab97dc82b407c774b00476459df0730b
[ "MIT" ]
31
2017-06-28T09:50:03.000Z
2021-08-11T14:09:35.000Z
include/strings.hpp
Ptomaine/nstd
72daa4abab97dc82b407c774b00476459df0730b
[ "MIT" ]
null
null
null
include/strings.hpp
Ptomaine/nstd
72daa4abab97dc82b407c774b00476459df0730b
[ "MIT" ]
5
2017-06-29T13:43:23.000Z
2020-09-01T02:47:11.000Z
#pragma once /* MIT License Copyright (c) 2017 Arlen Keshabyan (arlen.albert@gmail.com) 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...
37.254144
196
0.700356
[ "vector" ]
bf0dc29d8e4c00797efa6769f3200ba1af32b363
28,755
cpp
C++
torrentR/src/PhaseSim.cpp
konradotto/TS
bf088bd8432b1e3f4b8c8c083650a30d9ef2ae2e
[ "Apache-2.0" ]
125
2015-01-22T05:43:23.000Z
2022-03-22T17:15:59.000Z
torrentR/src/PhaseSim.cpp
konradotto/TS
bf088bd8432b1e3f4b8c8c083650a30d9ef2ae2e
[ "Apache-2.0" ]
59
2015-02-10T09:13:06.000Z
2021-11-11T02:32:38.000Z
torrentR/src/PhaseSim.cpp
konradotto/TS
bf088bd8432b1e3f4b8c8c083650a30d9ef2ae2e
[ "Apache-2.0" ]
98
2015-01-17T01:25:10.000Z
2022-03-18T17:29:42.000Z
/* Copyright (C) 2010 Ion Torrent Systems, Inc. All Rights Reserved */ #include <cassert> #include <cmath> #include <iostream> #include <iomanip> #include <limits> #include <numeric> #include "PhaseSim.h" #include "IonErr.h" using namespace std; #define PHASE_DEBUG 0 PhaseSim::PhaseSim() : droopType(ONLY_WHEN_INCO...
31.12013
207
0.6498
[ "vector", "model" ]
bf1114f64c398dea32ec9728042306838777d718
502
cpp
C++
src/yars/configuration/xsd/specification/XsdEnumeration.cpp
kzahedi/YARS
48d9fe4178d699fba38114d3b299a228da41293d
[ "MIT" ]
4
2017-08-05T03:33:21.000Z
2021-11-08T09:15:42.000Z
src/yars/configuration/xsd/specification/XsdEnumeration.cpp
kzahedi/YARS
48d9fe4178d699fba38114d3b299a228da41293d
[ "MIT" ]
null
null
null
src/yars/configuration/xsd/specification/XsdEnumeration.cpp
kzahedi/YARS
48d9fe4178d699fba38114d3b299a228da41293d
[ "MIT" ]
1
2019-03-24T08:35:25.000Z
2019-03-24T08:35:25.000Z
#include "XsdEnumeration.h" XsdEnumeration::XsdEnumeration(string name, string type) : XsdNode(XSD_NODE_TYPE_ENUMERATION) { _name = name; _type = type; } void XsdEnumeration::add(string value) { _value.push_back(value); } std::vector<string>::iterator XsdEnumeration::v_begin() { return _value.begin(); } s...
14.764706
56
0.717131
[ "vector" ]
bf13ff3fc38f772b81b47564c523f574438e0126
1,372
cpp
C++
Leetcode 53. Maximum Subarray.cpp
Kamalc/Problems-and-Algorithms
ffee8b5b903a7af919812c282d21a9755a883c29
[ "MIT" ]
null
null
null
Leetcode 53. Maximum Subarray.cpp
Kamalc/Problems-and-Algorithms
ffee8b5b903a7af919812c282d21a9755a883c29
[ "MIT" ]
null
null
null
Leetcode 53. Maximum Subarray.cpp
Kamalc/Problems-and-Algorithms
ffee8b5b903a7af919812c282d21a9755a883c29
[ "MIT" ]
null
null
null
//============================================================================ // Name : Maximum Subarray // Author : Kamal Saad // Version : // Copyright : MIT copyright // Description : Given an integer array nums, find the contiguous subarray (containing at least one number) which has the largest s...
28.583333
153
0.575073
[ "vector" ]
bf17956c8cd711d46b141e65021e80ad47136985
38,953
cpp
C++
isode++/demo/iso/itu/osi/fsm/TCP/TcpConnection.cpp
Kampbell/ISODE
37f161e65f11348ef6fca2925d399d611df9f31b
[ "Apache-2.0" ]
3
2016-01-18T17:00:00.000Z
2021-06-25T03:18:13.000Z
isode++/demo/iso/itu/osi/fsm/TCP/TcpConnection.cpp
Kampbell/ISODE
37f161e65f11348ef6fca2925d399d611df9f31b
[ "Apache-2.0" ]
null
null
null
isode++/demo/iso/itu/osi/fsm/TCP/TcpConnection.cpp
Kampbell/ISODE
37f161e65f11348ef6fca2925d399d611df9f31b
[ "Apache-2.0" ]
null
null
null
// // The contents of this file are subject to the Mozilla Public // License Version 1.1 (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.mozilla.org/MPL/ // // Software distributed under the License is distributed on an // "AS I...
27.258922
85
0.550535
[ "object" ]
bf17a0b1e43908a9fa08935fa51d8478d8de324c
3,741
cpp
C++
libraries/networking/src/SandboxUtils.cpp
trentpolack/hifi
3b8636b75c3df242c0aeecbca6e01f386e238f45
[ "Apache-2.0" ]
1
2020-10-26T22:28:42.000Z
2020-10-26T22:28:42.000Z
libraries/networking/src/SandboxUtils.cpp
trentpolack/hifi
3b8636b75c3df242c0aeecbca6e01f386e238f45
[ "Apache-2.0" ]
null
null
null
libraries/networking/src/SandboxUtils.cpp
trentpolack/hifi
3b8636b75c3df242c0aeecbca6e01f386e238f45
[ "Apache-2.0" ]
1
2019-07-05T08:39:35.000Z
2019-07-05T08:39:35.000Z
// // SandboxUtils.cpp // libraries/networking/src // // Created by Brad Hefta-Gaub on 2016-10-15. // Copyright 2016 High Fidelity, Inc. // // Distributed under the Apache License, Version 2.0. // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html // #include <QDataStream> #incl...
36.320388
119
0.668003
[ "object" ]
bf28daf60a60cc7d9e515beadbac5481b83bea71
22,390
cpp
C++
src/compatibility.cpp
351ELEC/lzdoom
2ee3ea91bc9c052b3143f44c96d85df22851426f
[ "RSA-MD" ]
2
2020-04-19T13:37:34.000Z
2021-06-09T04:26:25.000Z
src/compatibility.cpp
351ELEC/lzdoom
2ee3ea91bc9c052b3143f44c96d85df22851426f
[ "RSA-MD" ]
4
2021-09-02T00:05:17.000Z
2021-09-07T14:56:12.000Z
src/compatibility.cpp
351ELEC/lzdoom
2ee3ea91bc9c052b3143f44c96d85df22851426f
[ "RSA-MD" ]
1
2021-09-28T19:03:39.000Z
2021-09-28T19:03:39.000Z
/* ** compatibility.cpp ** Handles compatibility flags for maps that are unlikely to be updated. ** **--------------------------------------------------------------------------- ** Copyright 2009 Randy Heit ** All rights reserved. ** ** Redistribution and use in source and binary forms, with or without ** modification,...
26.156542
130
0.677311
[ "object" ]
bf410722a6c60cacc3675a8c719f4ad6b11e2981
523
cpp
C++
PTA/PAT/BasicLevel/1041.cpp
cnsteven/online-judge
60ee841a97e2bc0dc9c7b23fe5daa186898ab8b7
[ "MIT" ]
1
2019-05-04T10:28:32.000Z
2019-05-04T10:28:32.000Z
PTA/PAT/BasicLevel/1041.cpp
cnsteven/online-judge
60ee841a97e2bc0dc9c7b23fe5daa186898ab8b7
[ "MIT" ]
null
null
null
PTA/PAT/BasicLevel/1041.cpp
cnsteven/online-judge
60ee841a97e2bc0dc9c7b23fe5daa186898ab8b7
[ "MIT" ]
3
2020-12-31T04:36:38.000Z
2021-07-25T07:39:31.000Z
#include <iostream> #include <string> #include <vector> using namespace std; int main() { int M, N, ti; string ts; string a[1001]; int b[1001]; cin >> N; while (N--) { cin >> ts; cin >> ti; a[ti] = ts; cin >> b[ti]; } cin >> M; vector<int> va; vec...
18.678571
48
0.439771
[ "vector" ]
bf458fdb2a9560f704119c7b40775ff7c6c88885
1,501
hpp
C++
pomdog/experimental/particles/particle_system.hpp
mogemimi/pomdog
6dc6244d018f70d42e61c6118535cf94a9ee0618
[ "MIT" ]
163
2015-03-16T08:42:32.000Z
2022-01-11T21:40:22.000Z
pomdog/experimental/particles/particle_system.hpp
mogemimi/pomdog
6dc6244d018f70d42e61c6118535cf94a9ee0618
[ "MIT" ]
17
2015-04-12T20:57:50.000Z
2020-10-10T10:51:45.000Z
pomdog/experimental/particles/particle_system.hpp
mogemimi/pomdog
6dc6244d018f70d42e61c6118535cf94a9ee0618
[ "MIT" ]
21
2015-04-12T20:45:11.000Z
2022-01-14T20:50:16.000Z
// Copyright mogemimi. Distributed under the MIT license. #pragma once #include "pomdog/basic/conditional_compilation.hpp" #include "pomdog/chrono/duration.hpp" #include "pomdog/experimental/particles/particle.hpp" #include "pomdog/experimental/random/xoroshiro128_star_star.hpp" POMDOG_SUPPRESS_WARNINGS_GENERATED_BY...
24.209677
77
0.723518
[ "vector" ]
bf4ae7c95f4cdf71f200b936513ac97fd6362efd
789
hpp
C++
include/glfw/glfw.hpp
drt1245/glfwpp
c2c9c0bd0adb159fcc399b2e2e410a7ee0271d4a
[ "BSL-1.0" ]
null
null
null
include/glfw/glfw.hpp
drt1245/glfwpp
c2c9c0bd0adb159fcc399b2e2e410a7ee0271d4a
[ "BSL-1.0" ]
null
null
null
include/glfw/glfw.hpp
drt1245/glfwpp
c2c9c0bd0adb159fcc399b2e2e410a7ee0271d4a
[ "BSL-1.0" ]
null
null
null
#pragma once //////////////////////////////////////////////////////////////////////////////// /// \file glfw.hpp A GLFW C++ wrapper /// /// The event-queue implementation is based on GLEQ by Camilla Berglund /// <dreda@glfw.org>: https://github.com/elmindreda/gleq/ /// //////////////////////////////////////////////////...
34.304348
80
0.427123
[ "vector" ]
bf4c2e8344952aac5e2efb462d99c23d0d19fbef
3,800
hpp
C++
iris-cpp/include/iris/io/reader/ValueReader.hpp
wbknez/iris
ac6f8ca57cec88a24bdf22eca42e2c77a53f4cd0
[ "Apache-2.0" ]
null
null
null
iris-cpp/include/iris/io/reader/ValueReader.hpp
wbknez/iris
ac6f8ca57cec88a24bdf22eca42e2c77a53f4cd0
[ "Apache-2.0" ]
null
null
null
iris-cpp/include/iris/io/reader/ValueReader.hpp
wbknez/iris
ac6f8ca57cec88a24bdf22eca42e2c77a53f4cd0
[ "Apache-2.0" ]
null
null
null
/*! * Contains a mechanism to read and parse a CSV (comma separated value) file of * integer values into two vectors, each of which describe a set of discrete * variables used in a simulation. */ #ifndef IRIS_VALUE_READER_HPP_ #define IRIS_VALUE_READER_HPP_ #include <istream> #include <string> #include <utility> #...
36.893204
80
0.600789
[ "vector", "model" ]
bf59574a65d9899e01a131e9cca476d59a91c9e6
109,473
cpp
C++
render.cpp
Diamondtroller/asciiid
dec51f3ba447633eeb9c017762cda9bb79e9f84e
[ "MIT" ]
null
null
null
render.cpp
Diamondtroller/asciiid
dec51f3ba447633eeb9c017762cda9bb79e9f84e
[ "MIT" ]
null
null
null
render.cpp
Diamondtroller/asciiid
dec51f3ba447633eeb9c017762cda9bb79e9f84e
[ "MIT" ]
null
null
null
// this is CPU scene renderer into ANSI framebuffer #include "render.h" #include "sprite.h" //#include "game.h" #include <stdint.h> #include <malloc.h> #include <stdio.h> #include "terrain.h" #include "world.h" #include "matrix.h" #include "fast_rand.h" // #include "sprite.h" #include "inventory.h" #include "game.h"...
25.183575
231
0.507084
[ "mesh", "render", "transform" ]
bf5d61d6a90ec419f13e739c90afad6fa069f1f5
29,927
cpp
C++
admin/wmi/wbem/providers/snmpprovider/provider/instclas/storage.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
admin/wmi/wbem/providers/snmpprovider/provider/instclas/storage.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
admin/wmi/wbem/providers/snmpprovider/provider/instclas/storage.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
// Copyright (c) 1997-2001 Microsoft Corporation, All Rights Reserved #include "precomp.h" #include <provexpt.h> #include <cordefs.h> #include <corafx.h> #include <objbase.h> #include <wbemidl.h> #include <smir.h> #include <corstore.h> #include <notify.h> #include <snmplog.h> #include <autoptr.h> exte...
19.951333
107
0.590504
[ "object" ]
bf5fa3f60ab1cf1842a0da2c042adfa25e361b27
36,225
cpp
C++
kernels/bvh/bvh_builder_sah.cpp
vinben/embree-2.13.0
8ebd7954762d8b4d0be52f7bde201086a6eaca86
[ "Apache-2.0" ]
null
null
null
kernels/bvh/bvh_builder_sah.cpp
vinben/embree-2.13.0
8ebd7954762d8b4d0be52f7bde201086a6eaca86
[ "Apache-2.0" ]
null
null
null
kernels/bvh/bvh_builder_sah.cpp
vinben/embree-2.13.0
8ebd7954762d8b4d0be52f7bde201086a6eaca86
[ "Apache-2.0" ]
null
null
null
// ======================================================================== // // Copyright 2009-2016 Intel Corporation // // // // Licensed under the Apache License, Version 2.0 (the "License"); // // y...
48.493976
222
0.603423
[ "mesh", "geometry", "object" ]
bf60cc7bbf90f494d214c3b42cd55c85d34cc720
5,038
cpp
C++
dev/Gems/PhysX/Code/Editor/CollisionGroupWidget.cpp
BadDevCode/lumberyard
3d688932f919dbf5821f0cb8a210ce24abe39e9e
[ "AML" ]
2
2020-06-27T12:13:44.000Z
2020-06-27T12:13:46.000Z
dev/Gems/PhysX/Code/Editor/CollisionGroupWidget.cpp
olivier-be/lumberyard
3d688932f919dbf5821f0cb8a210ce24abe39e9e
[ "AML" ]
null
null
null
dev/Gems/PhysX/Code/Editor/CollisionGroupWidget.cpp
olivier-be/lumberyard
3d688932f919dbf5821f0cb8a210ce24abe39e9e
[ "AML" ]
null
null
null
/* * All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or * its licensors. * * For complete copyright and license terms please see the LICENSE at the root of this * distribution (the "License"). All use of this software is governed by the License, * or, if provided, by the license below or ...
39.359375
159
0.657007
[ "vector" ]
bf69c4236429f45455f89bb21f982e74ebb36e95
2,242
cpp
C++
libraries/blockchain/pts_address.cpp
peertracksinc/bitmusic
2244ada6b1425a94e8b6dea8602d053954268780
[ "Unlicense" ]
null
null
null
libraries/blockchain/pts_address.cpp
peertracksinc/bitmusic
2244ada6b1425a94e8b6dea8602d053954268780
[ "Unlicense" ]
null
null
null
libraries/blockchain/pts_address.cpp
peertracksinc/bitmusic
2244ada6b1425a94e8b6dea8602d053954268780
[ "Unlicense" ]
null
null
null
#include <bts/blockchain/exceptions.hpp> #include <bts/blockchain/pts_address.hpp> #include <fc/crypto/base58.hpp> #include <fc/crypto/elliptic.hpp> #include <fc/crypto/ripemd160.hpp> #include <algorithm> namespace bts { namespace blockchain { pts_address::pts_address() { memset( addr.data, 0, sizeof(add...
28.74359
99
0.584746
[ "vector" ]
bf6e863085605838dd141fe2a890c44113fbe435
26,556
hpp
C++
components/arduino/tools/sdk/esp32s2/include/esp-face/include/typedef/dl_variable.hpp
Jason2866/LILYGO-_T5-4.7-E-Paper_Weather-_Station
c41679f84d99c3423a6e7413365804c9acb17458
[ "Unlicense" ]
null
null
null
components/arduino/tools/sdk/esp32s2/include/esp-face/include/typedef/dl_variable.hpp
Jason2866/LILYGO-_T5-4.7-E-Paper_Weather-_Station
c41679f84d99c3423a6e7413365804c9acb17458
[ "Unlicense" ]
2
2021-11-18T07:10:52.000Z
2021-12-06T17:05:22.000Z
components/arduino/tools/sdk/esp32s2/include/esp-face/include/typedef/dl_variable.hpp
Jason2866/LILYGO-_T5-4.7-E-Paper_Weather-_Station
c41679f84d99c3423a6e7413365804c9acb17458
[ "Unlicense" ]
1
2022-01-02T23:14:22.000Z
2022-01-02T23:14:22.000Z
#pragma once #include <stdio.h> #include <vector> #include <assert.h> #include "dl_tool.hpp" namespace dl { /** * @brief Tensor * * @tparam T support uint8_t, int8_t, int16_t and float. */ template <typename T> class Tensor { private: int size; /*<! size of elem...
36.179837
221
0.421524
[ "object", "shape", "vector" ]
bf7594803d80fa9fd402b97042371963aca836f3
11,755
cpp
C++
libraries/utils/selectionio.cpp
Zeitproblem/mne-cpp
38bc3ba5213bbb06dab0ff4593a44ce8e9c0cbe2
[ "BSD-3-Clause" ]
null
null
null
libraries/utils/selectionio.cpp
Zeitproblem/mne-cpp
38bc3ba5213bbb06dab0ff4593a44ce8e9c0cbe2
[ "BSD-3-Clause" ]
null
null
null
libraries/utils/selectionio.cpp
Zeitproblem/mne-cpp
38bc3ba5213bbb06dab0ff4593a44ce8e9c0cbe2
[ "BSD-3-Clause" ]
null
null
null
//============================================================================================================= /** * @file selectionio.cpp * @author Lorenz Esch <lesch@mgh.harvard.edu>; * Christoph Dinh <chdinh@nmr.mgh.harvard.edu>; * Gabriel Motta <gbmotta@mgh.harvard.edu> * @sinc...
32.835196
135
0.490855
[ "vector" ]
bf771cd9e71ed8de0676cc57d5ec4b9a80330f1c
6,452
cpp
C++
service/uninstall.cpp
light1021/dynamic-application-loader-host-interface
4e0d265cd1e96c0a49bf3f3061901ac3d7856f98
[ "Apache-2.0" ]
null
null
null
service/uninstall.cpp
light1021/dynamic-application-loader-host-interface
4e0d265cd1e96c0a49bf3f3061901ac3d7856f98
[ "Apache-2.0" ]
null
null
null
service/uninstall.cpp
light1021/dynamic-application-loader-host-interface
4e0d265cd1e96c0a49bf3f3061901ac3d7856f98
[ "Apache-2.0" ]
null
null
null
/* Copyright 2010-2016 Intel Corporation This software is licensed to you in accordance with the agreement between you and Intel Corporation. Alternatively, you can use this file in compliance with the Apache license, Version 2. Apache License, Version 2.0 Licensed under the Apache License, Ve...
31.940594
136
0.650806
[ "vector" ]
bf77f7ef2546f440846787fc2f3527a2a2603a32
1,314
cc
C++
extractor/scorer_test.cc
kho/cdec
d88186af251ecae60974b20395ce75807bfdda35
[ "BSD-3-Clause-LBNL", "Apache-2.0" ]
114
2015-01-11T05:41:03.000Z
2021-08-31T03:47:12.000Z
extractor/scorer_test.cc
kho/cdec
d88186af251ecae60974b20395ce75807bfdda35
[ "BSD-3-Clause-LBNL", "Apache-2.0" ]
29
2015-01-09T01:00:09.000Z
2019-09-25T06:04:02.000Z
extractor/scorer_test.cc
kho/cdec
d88186af251ecae60974b20395ce75807bfdda35
[ "BSD-3-Clause-LBNL", "Apache-2.0" ]
50
2015-02-13T13:48:39.000Z
2019-08-07T09:45:11.000Z
#include <gtest/gtest.h> #include <memory> #include <string> #include <vector> #include "mocks/mock_feature.h" #include "scorer.h" using namespace std; using namespace ::testing; namespace extractor { namespace { class ScorerTest : public Test { protected: virtual void SetUp() { feature1 = make_shared<featu...
26.28
74
0.718417
[ "vector" ]
bf7d1b4be1da3a37190987d4e01a775864ad8299
2,797
cc
C++
bestfound.cc
josefcibulka/book-embedder
746093a97b388ea38226631eb36ded8fe48155e9
[ "MIT" ]
null
null
null
bestfound.cc
josefcibulka/book-embedder
746093a97b388ea38226631eb36ded8fe48155e9
[ "MIT" ]
null
null
null
bestfound.cc
josefcibulka/book-embedder
746093a97b388ea38226631eb36ded8fe48155e9
[ "MIT" ]
null
null
null
#include "bestfound.h" using std::string; using std::vector; using std::cout; using std::cerr; using std::endl; #include "tools.h" void BestFound::writeGraph(const Graph &g, std::ostream &ostr) { ostr << g.v.size() << endl; ostr << g.p << endl; for (const Vertex &v : g.v) ostr << v.id << endl; for (const...
27.421569
142
0.613872
[ "vector" ]
bf826cd268a205b34dab4b900bb66d52563d030b
2,244
cpp
C++
scg3/src/ColorCore.cpp
eof1/scg3
b9fac30895b9c2bf2d66250df471cc18267c98a2
[ "Apache-2.0" ]
5
2018-08-20T05:16:53.000Z
2021-05-03T15:43:52.000Z
scg3/src/ColorCore.cpp
eof1/scg3
b9fac30895b9c2bf2d66250df471cc18267c98a2
[ "Apache-2.0" ]
2
2019-03-14T14:27:13.000Z
2019-04-09T08:58:32.000Z
scg3/src/ColorCore.cpp
eof1/scg3
b9fac30895b9c2bf2d66250df471cc18267c98a2
[ "Apache-2.0" ]
9
2016-03-24T10:23:56.000Z
2021-02-06T08:51:01.000Z
/** * \file ColorCore.cpp * * \author Volker Ahlers\n * volker.ahlers@hs-hannover.de */ /* * Copyright 2014-2019 Volker Ahlers * * 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 ...
23.621053
96
0.663993
[ "render" ]
bf8b428b0056485cc29f6136e3d04d38c22293ac
2,434
cpp
C++
Box2D/2d/3 box2d rigid bodies/code/source/main.cpp
patricioHidalgo/Box2D_Sample
558aafdc388d40f753eb37fa56319065b3e8575d
[ "MIT" ]
null
null
null
Box2D/2d/3 box2d rigid bodies/code/source/main.cpp
patricioHidalgo/Box2D_Sample
558aafdc388d40f753eb37fa56319065b3e8575d
[ "MIT" ]
null
null
null
Box2D/2d/3 box2d rigid bodies/code/source/main.cpp
patricioHidalgo/Box2D_Sample
558aafdc388d40f753eb37fa56319065b3e8575d
[ "MIT" ]
null
null
null
//Author: Patricio Hidalgo Sanchez on 2019. //Copyright Creative Commons License. #include <memory> #include <vector> #include <Box2D/Box2D.h> #include <SFML/Window.hpp> #include <SFML/Graphics.hpp> #include "World.hpp" #include "Car.hpp" #include "Ball.hpp" #include "Platform.hpp" #include "Elevator.hpp" #include "Ba...
22.962264
134
0.64544
[ "render", "vector" ]
bf949ba78da776bcb74620aa4e2ead91657b2cd0
5,725
cpp
C++
src/math/statistics.cpp
Algomorph/LevelSetFusionExperimentsCPP
f56962f0ad5c62e6706f818062782a2e1660afda
[ "Apache-2.0" ]
8
2019-01-07T14:12:21.000Z
2021-01-12T01:48:03.000Z
src/math/statistics.cpp
Algomorph/LevelSetFusionExperimentsCPP
f56962f0ad5c62e6706f818062782a2e1660afda
[ "Apache-2.0" ]
6
2018-12-19T16:43:33.000Z
2019-06-06T19:50:22.000Z
src/math/statistics.cpp
Algomorph/LevelSetFusionExperimentsCPP
f56962f0ad5c62e6706f818062782a2e1660afda
[ "Apache-2.0" ]
2
2019-01-07T14:12:28.000Z
2019-03-06T06:30:24.000Z
/* * statistics.cpp * * Created on: Nov 14, 2018 * Author: Gregory Kramida * Copyright: 2018 Gregory Kramida * * 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 * * htt...
41.18705
130
0.759127
[ "vector" ]
bcc8b6f4c9f331f55d8bcb1d128c0e1544be0b5c
13,343
cc
C++
src/Radar.cc
robotics-upo/sdformat
30f01b38b5284db2160a566fe8957a00ea707700
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
src/Radar.cc
robotics-upo/sdformat
30f01b38b5284db2160a566fe8957a00ea707700
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
src/Radar.cc
robotics-upo/sdformat
30f01b38b5284db2160a566fe8957a00ea707700
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
/* * Copyright 2019 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 applicab...
29.585366
79
0.615829
[ "object", "vector" ]
bccace0ce15f1ce8aa225f3944fd7a37f67449d3
3,082
hpp
C++
AliasTable.hpp
tcantenot/AliasTable
81706488a543ab897e1c548ffa549770d5be5c53
[ "MIT" ]
null
null
null
AliasTable.hpp
tcantenot/AliasTable
81706488a543ab897e1c548ffa549770d5be5c53
[ "MIT" ]
null
null
null
AliasTable.hpp
tcantenot/AliasTable
81706488a543ab897e1c548ffa549770d5be5c53
[ "MIT" ]
null
null
null
#include <queue> #include <vector> template <typename T, typename Compare> using Heap = std::priority_queue<T, std::vector<T>, Compare>; // Build an alias table over the given probability mass function to allow sampling from it in constant time. // https://en.wikipedia.org/wiki/Alias_method // [in] probabilities: ...
32.442105
131
0.670019
[ "vector" ]
bcd062a688c05d586049160156c6fea4d1051c90
427
cpp
C++
src/Client/Engine/Vignette.cpp
fqhd/BuildBattle
f85ec857aa232313f4678514aa317af73c37de10
[ "MIT" ]
10
2021-08-17T20:55:52.000Z
2022-03-28T00:45:14.000Z
src/Client/Engine/Vignette.cpp
fqhd/BuildBattle
f85ec857aa232313f4678514aa317af73c37de10
[ "MIT" ]
null
null
null
src/Client/Engine/Vignette.cpp
fqhd/BuildBattle
f85ec857aa232313f4678514aa317af73c37de10
[ "MIT" ]
2
2021-07-05T18:49:56.000Z
2021-07-10T22:03:17.000Z
#include "Vignette.hpp" void Vignette::init(){ m_quad.init(); m_shader.load("res/shaders/vignette_vertex_shader.glsl", "res/shaders/vignette_fragment_shader.glsl"); } void Vignette::render(){ m_shader.bind(); glDisable(GL_CULL_FACE); glDisable(GL_DEPTH_TEST); m_quad.render(); glEnable(GL_CULL_FACE); glEnable(...
19.409091
103
0.742389
[ "render" ]
bcd470507c7ea1ecf73e5d883470eefc656fa138
16,139
cpp
C++
src/asiAlgo/auxiliary/asiAlgo_BVHFacets.cpp
yeeeeeeti/3D_feature_extract
6297daa8afaac09aef9b44858e74fb2a95e1e7c5
[ "BSD-3-Clause" ]
null
null
null
src/asiAlgo/auxiliary/asiAlgo_BVHFacets.cpp
yeeeeeeti/3D_feature_extract
6297daa8afaac09aef9b44858e74fb2a95e1e7c5
[ "BSD-3-Clause" ]
null
null
null
src/asiAlgo/auxiliary/asiAlgo_BVHFacets.cpp
yeeeeeeti/3D_feature_extract
6297daa8afaac09aef9b44858e74fb2a95e1e7c5
[ "BSD-3-Clause" ]
null
null
null
//----------------------------------------------------------------------------- // Created on: 21 September 2016 //----------------------------------------------------------------------------- // Copyright (c) 2017, Sergey Slyadnev // All rights reserved. // // Redistribution and use in source and binary forms, with or...
36.105145
89
0.580767
[ "cad", "mesh", "geometry", "shape", "model", "transform" ]
bcd6fd74dba610d847f58f314a6dc96222911478
10,195
hpp
C++
openstudiocore/src/runmanager/lib/SSHConnection.hpp
bobzabcik/OpenStudio
858321dc0ad8d572de15858d2ae487b029a8d847
[ "blessing" ]
null
null
null
openstudiocore/src/runmanager/lib/SSHConnection.hpp
bobzabcik/OpenStudio
858321dc0ad8d572de15858d2ae487b029a8d847
[ "blessing" ]
null
null
null
openstudiocore/src/runmanager/lib/SSHConnection.hpp
bobzabcik/OpenStudio
858321dc0ad8d572de15858d2ae487b029a8d847
[ "blessing" ]
null
null
null
#ifndef OPENSTUDIO_RUNMANAGER_SSHCONNECTION_HPP__ #define OPENSTUDIO_RUNMANAGER_SSHCONNECTION_HPP__ #include <string> #include <fstream> #include <utilities/core/Path.hpp> #include <utilities/core/Logger.hpp> #include <QThread> #include <QMutex> #include "RunManagerAPI.hpp" #ifdef RUNMANAGER_HA...
32.468153
120
0.674252
[ "object" ]
bcd8c7e80d9d2d6ee064b91a33194fc9e8b27500
3,492
cpp
C++
planning_ros_utils/src/ros_utils/mapping_ros_utils.cpp
wuyou33/mpl_ros
4c239292ace1b98f39d35adf74e6d53aa999d63c
[ "Apache-2.0" ]
1
2017-12-17T13:35:56.000Z
2017-12-17T13:35:56.000Z
planning_ros_utils/src/ros_utils/mapping_ros_utils.cpp
wuyou33/mpl_ros
4c239292ace1b98f39d35adf74e6d53aa999d63c
[ "Apache-2.0" ]
null
null
null
planning_ros_utils/src/ros_utils/mapping_ros_utils.cpp
wuyou33/mpl_ros
4c239292ace1b98f39d35adf74e6d53aa999d63c
[ "Apache-2.0" ]
null
null
null
#include <ros_utils/mapping_ros_utils.h> void setMap(std::shared_ptr<MPL::VoxelMapUtil> map_util, const planning_ros_msgs::VoxelMap& msg) { Vec3f ori(msg.origin.x, msg.origin.y, msg.origin.z); Vec3i dim(msg.dim.x, msg.dim.y, msg.dim.z); decimal_t res = msg.info.resolution; std::vector<signed char> map = msg.da...
27.936
122
0.679267
[ "vector" ]
bce028e3acce3c858cf15f7a0c269626bdf974bc
720
cpp
C++
src/rules/add_value.cpp
wilkie/apsis
9e6a37ad9dfc8931b25b9429d7e4a770b4e760bf
[ "WTFPL" ]
2
2015-11-05T03:47:29.000Z
2020-01-24T18:48:09.000Z
src/rules/add_value.cpp
wilkie/apsis
9e6a37ad9dfc8931b25b9429d7e4a770b4e760bf
[ "WTFPL" ]
null
null
null
src/rules/add_value.cpp
wilkie/apsis
9e6a37ad9dfc8931b25b9429d7e4a770b4e760bf
[ "WTFPL" ]
null
null
null
#include "apsis/rules/add_value.h" void Apsis::Rules::AddValue::respond(unsigned int event_id, const Apsis::World::Scene&, Apsis::World::Object& object) { static unsigned int amount_id = Apsis::Registry::Property::id("amount"); static unsi...
40
79
0.658333
[ "object" ]
bce4f5133a6a9075cf8b553d57422b80327f0fa6
478
cpp
C++
cpp/c++11/foreach.cpp
yanrong/book_demo
20cd13f3c3507a11e826ebbf22bd1c7bcb36e06f
[ "Apache-2.0" ]
null
null
null
cpp/c++11/foreach.cpp
yanrong/book_demo
20cd13f3c3507a11e826ebbf22bd1c7bcb36e06f
[ "Apache-2.0" ]
null
null
null
cpp/c++11/foreach.cpp
yanrong/book_demo
20cd13f3c3507a11e826ebbf22bd1c7bcb36e06f
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <vector> #include <map> int main() { std::map<std::string,std::vector<int>>map; std::vector<int> v; v.push_back(1); v.push_back(2); v.push_back(3); map["one"] = v; for(const auto & kvp : map) { std::cout<<kvp.first<<std::endl; for(auto v : kvp.second) { std::cout<<v<<s...
13.657143
43
0.550209
[ "vector" ]
bce503324fae26898fd76f5d417097c700712289
14,043
cpp
C++
Chemistry Exploratory Project B.cpp
ShubhamAvasthi/exploratory-project
4503eaef00e1a933c6c993db31d9065269738fe9
[ "MIT" ]
null
null
null
Chemistry Exploratory Project B.cpp
ShubhamAvasthi/exploratory-project
4503eaef00e1a933c6c993db31d9065269738fe9
[ "MIT" ]
null
null
null
Chemistry Exploratory Project B.cpp
ShubhamAvasthi/exploratory-project
4503eaef00e1a933c6c993db31d9065269738fe9
[ "MIT" ]
null
null
null
#include<array> #include<cassert> #include<fstream> #include<iostream> #include<random> #include<thread> #include<vector> #include<windows.h> using namespace std; #define r 127 #define l ((r<<1)+1)//250//720 //195 #define b ((r<<1)+1)//160//160 //45 #define E ' ' #define C 'C' #define O 'O' #define ORIGI...
34.25122
142
0.304778
[ "vector" ]
bcea049a8ca82f19bc0367a2de1e597e9f3bf3b3
20,938
cpp
C++
src/internal/HMStorageHost.cpp
varsameer/NetCHASM
3071241ce0d2cddc077e5e7e1b957677d733ae76
[ "Apache-2.0" ]
13
2019-06-06T01:14:30.000Z
2022-03-03T05:57:51.000Z
src/internal/HMStorageHost.cpp
varsameer/NetCHASM
3071241ce0d2cddc077e5e7e1b957677d733ae76
[ "Apache-2.0" ]
7
2019-07-23T18:31:20.000Z
2021-05-26T12:57:34.000Z
src/internal/HMStorageHost.cpp
varsameer/NetCHASM
3071241ce0d2cddc077e5e7e1b957677d733ae76
[ "Apache-2.0" ]
12
2019-06-27T13:58:03.000Z
2021-12-23T07:43:06.000Z
// Copyright 2019, Oath Inc. // Licensed under the terms of the Apache 2.0 license. See LICENSE file in the root of the distribution for licensing details. #include <string> #include <list> #include "HMStorageHost.h" #include "HMLogBase.h" #include "HMAuxCache.h" #include "HMState.h" using namespace std; void HMStor...
29.699291
182
0.600583
[ "vector" ]
bcea874d320c15e9dbd8238acbefb325c776e91d
186,320
cpp
C++
src/RInput.cpp
chilingg/Redopera
a898eb269d5d3eba9ba5b14ef9b4209f615f4547
[ "MIT" ]
null
null
null
src/RInput.cpp
chilingg/Redopera
a898eb269d5d3eba9ba5b14ef9b4209f615f4547
[ "MIT" ]
null
null
null
src/RInput.cpp
chilingg/Redopera
a898eb269d5d3eba9ba5b14ef9b4209f615f4547
[ "MIT" ]
null
null
null
#include <RInput.h> #include <RWindow.h> #include <RDebug.h> #include <rsc/RFile.h> using namespace Redopera; RSignal<JoystickPresent> RInput::joyPresented; bool RInput::move_ = false; RPoint2 RInput::wheel_; std::set<Keys> RInput::keyUp_; std::set<Keys> RInput::keyDown_; std::set<Keys> RInput::keyRepeat_; std::set...
157.631134
329
0.799345
[ "vector", "3d" ]
4c00e0a72c9189fa168f96a1687439a667076b3e
965
cpp
C++
Gems/GraphModel/Code/Source/Integration/NodePalette/GraphCanvasNodePaletteItems.cpp
cypherdotXd/o3de
bb90c4ddfe2d495e9c00ebf1e2650c6d603a5676
[ "Apache-2.0", "MIT" ]
11
2021-07-08T09:58:26.000Z
2022-03-17T17:59:26.000Z
Gems/GraphModel/Code/Source/Integration/NodePalette/GraphCanvasNodePaletteItems.cpp
RoddieKieley/o3de
e804fd2a4241b039a42d9fa54eaae17dc94a7a92
[ "Apache-2.0", "MIT" ]
29
2021-07-06T19:33:52.000Z
2022-03-22T10:27:49.000Z
Gems/GraphModel/Code/Source/Integration/NodePalette/GraphCanvasNodePaletteItems.cpp
RoddieKieley/o3de
e804fd2a4241b039a42d9fa54eaae17dc94a7a92
[ "Apache-2.0", "MIT" ]
4
2021-07-06T19:24:43.000Z
2022-03-31T12:42:27.000Z
/* * Copyright (c) Contributors to the Open 3D Engine Project. * For complete copyright and license terms please see the LICENSE at the root of this distribution. * * SPDX-License-Identifier: Apache-2.0 OR MIT * */ #include <GraphModel/Integration/NodePalette/GraphCanvasNodePaletteItems.h> namespace GraphModelI...
43.863636
171
0.780311
[ "3d" ]
4c0102ba675087b19dffd62db35c3921eee789a3
34,230
cc
C++
src/import_pipeline.cc
mkwork/cquery
fc2af50c27e8d64e985ef90c0a3da73c798c6f56
[ "MIT" ]
null
null
null
src/import_pipeline.cc
mkwork/cquery
fc2af50c27e8d64e985ef90c0a3da73c798c6f56
[ "MIT" ]
null
null
null
src/import_pipeline.cc
mkwork/cquery
fc2af50c27e8d64e985ef90c0a3da73c798c6f56
[ "MIT" ]
null
null
null
#include "import_pipeline.h" #include "cache_manager.h" #include "config.h" #include "diagnostics_engine.h" #include "iindexer.h" #include "import_manager.h" #include "lsp.h" #include "message_handler.h" #include "platform.h" #include "project.h" #include "query_utils.h" #include "queue_manager.h" #include "timer.h" #...
36.376196
82
0.661116
[ "vector" ]
4c0748af032d651da22be18a09a9e772ea4d887c
20,057
cpp
C++
shared/ClanLib-2.0/Sources/Core/Math/outline_triangulator_generic.cpp
iProgramMC/proton
1c383134b44a22cebab8e8db1afb17afd59dd543
[ "XFree86-1.1" ]
47
2018-07-30T12:05:15.000Z
2022-03-31T04:12:03.000Z
shared/ClanLib-2.0/Sources/Core/Math/outline_triangulator_generic.cpp
iProgramMC/proton
1c383134b44a22cebab8e8db1afb17afd59dd543
[ "XFree86-1.1" ]
11
2019-03-31T13:05:10.000Z
2021-11-03T11:37:18.000Z
shared/ClanLib-2.0/Sources/Core/Math/outline_triangulator_generic.cpp
iProgramMC/proton
1c383134b44a22cebab8e8db1afb17afd59dd543
[ "XFree86-1.1" ]
16
2019-07-09T07:59:00.000Z
2022-02-25T15:49:06.000Z
/* ** ClanLib SDK ** Copyright (c) 1997-2010 The ClanLib Team ** ** 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 softwa...
37.073937
120
0.70539
[ "vector", "3d" ]
4c0bd4da1b9c2e6e0958958a05cf0fe63de3a5c2
4,838
cpp
C++
TravellingSalesman/Tour.cpp
SebastianTroy/salesman
cf9154080d5018fe1d38d60bcd7cee7b4ab8a4fb
[ "MIT" ]
null
null
null
TravellingSalesman/Tour.cpp
SebastianTroy/salesman
cf9154080d5018fe1d38d60bcd7cee7b4ab8a4fb
[ "MIT" ]
null
null
null
TravellingSalesman/Tour.cpp
SebastianTroy/salesman
cf9154080d5018fe1d38d60bcd7cee7b4ab8a4fb
[ "MIT" ]
null
null
null
#include "Tour.h" #include <QLine> Tour::Tour(QRect area, QObject* parent) : QObject(parent) , currentArea_(area) { } void Tour::AddStop(QPointF stop) { tour_.push_back(stop); emit onTourUpdated(); } void Tour::AddRandomStops(unsigned count) { for (unsigned i = 0; i < count; ++i) { AddSt...
22.607477
104
0.58764
[ "vector" ]
4c0e14d6c5b47b0d5e0afca357e1d638e57b28aa
9,466
cpp
C++
catkin_ws/src/o2ac_examples/src/grasp_example.cpp
mitdo/o2ac-ur
74c82a54a693bf6a3fc995ff63e7c91ac1fda6fd
[ "MIT" ]
32
2021-09-02T12:29:47.000Z
2022-03-30T21:44:10.000Z
catkin_ws/src/o2ac_examples/src/grasp_example.cpp
kroglice/o2ac-ur
f684f21fd280a22ec061dc5d503801f6fefb2422
[ "MIT" ]
4
2021-09-22T00:51:14.000Z
2022-01-30T11:54:19.000Z
catkin_ws/src/o2ac_examples/src/grasp_example.cpp
kroglice/o2ac-ur
f684f21fd280a22ec061dc5d503801f6fefb2422
[ "MIT" ]
7
2021-11-02T12:26:09.000Z
2022-02-01T01:45:22.000Z
#include "o2ac_helper_functions.h" #include "ros/ros.h" #include <moveit/move_group_interface/move_group_interface.h> #include <moveit/planning_scene_interface/planning_scene_interface.h> #include <tf/transform_listener.h> // Includes the TF conversions #include <moveit_msgs/Grasp.h> // This example spawns an object ...
38.016064
120
0.681809
[ "object", "vector" ]
4c0e5359f7cb957ad510383dd5f45dcce6c7efbe
813
cpp
C++
test/cuda_creations_test.cpp
vineelpratap/gtn-1
56a6359dbf5cc2a3855893d57166141703b592d9
[ "MIT" ]
75
2021-06-03T00:37:34.000Z
2022-03-27T08:07:15.000Z
test/cuda_creations_test.cpp
vineelpratap/gtn-1
56a6359dbf5cc2a3855893d57166141703b592d9
[ "MIT" ]
12
2021-08-21T13:23:24.000Z
2022-03-01T02:23:16.000Z
test/cuda_creations_test.cpp
vineelpratap/gtn-1
56a6359dbf5cc2a3855893d57166141703b592d9
[ "MIT" ]
8
2021-06-03T02:29:36.000Z
2022-03-12T00:40:14.000Z
#include "catch.hpp" #include "gtn/graph.h" #include "gtn/creations.h" #include "gtn/utils.h" using namespace gtn; TEST_CASE("test cuda scalar creation", "[cuda creations]") { float weight = static_cast<float>(rand()); auto g = scalarGraph(weight, Device::CUDA).cpu(); CHECK(g.numArcs() == 1); CHECK(g.label(0...
26.225806
60
0.621156
[ "vector" ]
4c14d4c3333a02dae29dd54b89dedd0f655b35a2
24,463
cpp
C++
Plugins/org.mitk.gui.qt.igt.app.hummelprotocolmeasurements/src/internal/QmitkIGTTrackingSemiAutomaticMeasurementView.cpp
zhaomengxiao/MITK
a09fd849a4328276806008bfa92487f83a9e2437
[ "BSD-3-Clause" ]
1
2022-03-03T12:03:32.000Z
2022-03-03T12:03:32.000Z
Plugins/org.mitk.gui.qt.igt.app.hummelprotocolmeasurements/src/internal/QmitkIGTTrackingSemiAutomaticMeasurementView.cpp
zhaomengxiao/MITK
a09fd849a4328276806008bfa92487f83a9e2437
[ "BSD-3-Clause" ]
1
2021-12-22T10:19:02.000Z
2021-12-22T10:19:02.000Z
Plugins/org.mitk.gui.qt.igt.app.hummelprotocolmeasurements/src/internal/QmitkIGTTrackingSemiAutomaticMeasurementView.cpp
zhaomengxiao/MITK_lancet
a09fd849a4328276806008bfa92487f83a9e2437
[ "BSD-3-Clause" ]
1
2020-11-27T09:41:18.000Z
2020-11-27T09:41:18.000Z
/*============================================================================ The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center (DKFZ) All rights reserved. Use of this source code is governed by a 3-clause BSD license that can be found in the LICENSE file. =================...
39.520194
359
0.74676
[ "vector" ]
4c17b44b3b29166ad55a07422513f0b2e6a24b1a
7,808
hpp
C++
src/BugReports.hpp
hcoffey1/hippocrates
103b01e73064f0baf5ad230a630b630f2102158c
[ "MIT" ]
3
2021-10-17T00:34:54.000Z
2022-02-03T15:32:04.000Z
src/BugReports.hpp
hcoffey1/hippocrates
103b01e73064f0baf5ad230a630b630f2102158c
[ "MIT" ]
1
2022-03-14T20:36:52.000Z
2022-03-22T15:52:34.000Z
src/BugReports.hpp
hcoffey1/hippocrates
103b01e73064f0baf5ad230a630b630f2102158c
[ "MIT" ]
3
2021-09-13T02:17:19.000Z
2021-10-17T00:35:12.000Z
#pragma once /** * Bug reports contain two things: */ #include <cstdint> #include <list> #include <string> #include <unordered_map> #include <vector> #include "llvm/IR/Module.h" #include "llvm/IR/Instruction.h" #include "llvm/IR/Function.h" #include "llvm/IR/DebugInfoMetadata.h" #include "yaml-cpp/yaml.h" namespa...
25.940199
81
0.632813
[ "vector" ]
4c1875cd4f5d707bd20cceac80f463e1c4a501e7
4,174
cpp
C++
src/smartRandom.cpp
hiddewie/Hartenjagen
b7acd871dddeecaa633a73153f599a4a1925b7e4
[ "MIT" ]
null
null
null
src/smartRandom.cpp
hiddewie/Hartenjagen
b7acd871dddeecaa633a73153f599a4a1925b7e4
[ "MIT" ]
null
null
null
src/smartRandom.cpp
hiddewie/Hartenjagen
b7acd871dddeecaa633a73153f599a4a1925b7e4
[ "MIT" ]
null
null
null
#include <string> #include <vector> #include <iostream> #include <algorithm> #include "hearts.h" using namespace std; SmartRandom::SmartRandom(int id, int round) : IPlayer(id, round) { this->heartsBroken = false; } int SmartRandom::getLowestRankIndex(bool heartsBroken) { int highestCardRank = 100...
28.986111
110
0.615956
[ "vector" ]
4c18d98b43d877c66da1b351a233dea0a1d76463
8,093
hpp
C++
src/mge/core/parameter.hpp
mge-engine/mge
e7a6253f99dd640a655d9a80b94118d35c7d8139
[ "MIT" ]
null
null
null
src/mge/core/parameter.hpp
mge-engine/mge
e7a6253f99dd640a655d9a80b94118d35c7d8139
[ "MIT" ]
91
2019-03-09T11:31:29.000Z
2022-02-27T13:06:06.000Z
src/mge/core/parameter.hpp
mge-engine/mge
e7a6253f99dd640a655d9a80b94118d35c7d8139
[ "MIT" ]
null
null
null
// mge - Modern Game Engine // Copyright (c) 2021 by Alexander Schroeder // All rights reserved. #pragma once #include "boost/boost_lexical_cast.hpp" #include "mge/core/dllexport.hpp" #include "mge/core/make_string_view.hpp" #include <any> #include <functional> #include <mutex> #include <sstream> #include <string_view...
30.539623
80
0.522427
[ "object" ]
4c18ef1a2d85f3ce3c7badd1d62e05b1a10d9fc1
1,637
hpp
C++
native-library/src/util_classes/transport.hpp
AVSystem/Anjay-java
c8f8c5e0ac5a086db4ca183155eed07374fc6585
[ "Apache-2.0" ]
4
2021-03-03T11:27:57.000Z
2022-03-29T03:42:47.000Z
native-library/src/util_classes/transport.hpp
AVSystem/Anjay-java
c8f8c5e0ac5a086db4ca183155eed07374fc6585
[ "Apache-2.0" ]
null
null
null
native-library/src/util_classes/transport.hpp
AVSystem/Anjay-java
c8f8c5e0ac5a086db4ca183155eed07374fc6585
[ "Apache-2.0" ]
3
2020-11-04T13:13:24.000Z
2021-12-06T08:03:48.000Z
/* * Copyright 2020-2021 AVSystem <avsystem@avsystem.com> * * 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...
30.886792
80
0.658522
[ "object" ]
4c2534e3bc7566ce57c400cbab1221c799ed969f
6,575
cpp
C++
src/command/object/commandObject.cpp
Galfurian/RadMud
1362cb0ee1b7a17386e57a98e29dd8baeea75af3
[ "MIT" ]
18
2016-05-26T18:11:31.000Z
2022-02-10T20:00:52.000Z
src/command/object/commandObject.cpp
Galfurian/RadMud
1362cb0ee1b7a17386e57a98e29dd8baeea75af3
[ "MIT" ]
null
null
null
src/command/object/commandObject.cpp
Galfurian/RadMud
1362cb0ee1b7a17386e57a98e29dd8baeea75af3
[ "MIT" ]
2
2016-06-30T15:20:01.000Z
2020-08-27T18:28:33.000Z
/// @file commandObject.cpp /// @author Enrico Fraccaroli /// @date Aug 23 2014 /// @copyright /// Copyright (c) 2016 Enrico Fraccaroli <enrico.fraccaroli@gmail.com> /// Permission is hereby granted, free of charge, to any person obtaining a /// copy of this software and associated documentation files (the "Softwar...
44.425676
79
0.589354
[ "object" ]
4c387f430de9532a9b607876b27efd02cf83e966
3,680
cpp
C++
jf.cpp
tveerman/jf
6086c4e077446abd770577eb231b034b97391862
[ "MIT" ]
null
null
null
jf.cpp
tveerman/jf
6086c4e077446abd770577eb231b034b97391862
[ "MIT" ]
null
null
null
jf.cpp
tveerman/jf
6086c4e077446abd770577eb231b034b97391862
[ "MIT" ]
null
null
null
/* jf - JSON formatter version 0.1 https://github.com/tveerman/jf.git Licensed under the MIT License <http://opensource.org/licenses/MIT>. SPDX-License-Identifier: MIT Copyright (c) 2022 Thomas Veerman Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated docu...
30.92437
98
0.527989
[ "vector" ]
4c38adc5c99b4d442084600a82d3c98a6f92c02e
18,115
cpp
C++
src/public/src/ysgebl/src/kernelutil/ysshellext_patchutil.cpp
rothberg-cmu/rothberg-run
a42df5ca9fae97de77753864f60d05295d77b59f
[ "MIT" ]
1
2019-08-10T00:24:09.000Z
2019-08-10T00:24:09.000Z
src/public/src/ysgebl/src/kernelutil/ysshellext_patchutil.cpp
rothberg-cmu/rothberg-run
a42df5ca9fae97de77753864f60d05295d77b59f
[ "MIT" ]
null
null
null
src/public/src/ysgebl/src/kernelutil/ysshellext_patchutil.cpp
rothberg-cmu/rothberg-run
a42df5ca9fae97de77753864f60d05295d77b59f
[ "MIT" ]
2
2019-05-01T03:11:10.000Z
2019-05-01T03:30:35.000Z
/* //////////////////////////////////////////////////////////// File Name: ysshellext_patchutil.cpp Copyright (c) 2017 Soji Yamakawa. All rights reserved. http://www.ysflight.com Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are...
27.281627
161
0.700193
[ "shape" ]
4c3ac301a09f4cfbbca60785ec4dfc325e6f7565
2,039
cpp
C++
Stacks/EvaluateReversePolishNotation150.cpp
devangi2000/Data-Structures-Algorithms-Handbook
ce0f00de89af5da7f986e65089402dc6908a09b5
[ "MIT" ]
38
2021-10-14T09:36:53.000Z
2022-01-27T02:36:19.000Z
Stacks/EvaluateReversePolishNotation150.cpp
devangi2000/Data-Structures-Algorithms-Handbook
ce0f00de89af5da7f986e65089402dc6908a09b5
[ "MIT" ]
null
null
null
Stacks/EvaluateReversePolishNotation150.cpp
devangi2000/Data-Structures-Algorithms-Handbook
ce0f00de89af5da7f986e65089402dc6908a09b5
[ "MIT" ]
4
2021-12-06T15:47:12.000Z
2022-02-04T04:25:00.000Z
// Evaluate the value of an arithmetic expression in Reverse Polish Notation. // Valid operators are +, -, *, and /. Each operand may be an integer or another expression. // Note that division between two integers should truncate toward zero. // It is guaranteed that the given RPN expression is always valid. T...
29.128571
182
0.413438
[ "vector" ]
4c43f06cd807d6e0afe1127107071abd7a0b3c76
1,337
cpp
C++
450_set/Matrix/0044.cpp
Sahil1515/coding
2bd2a2257c8cac5a5c00b37e79bbb68a24e186d4
[ "RSA-MD" ]
null
null
null
450_set/Matrix/0044.cpp
Sahil1515/coding
2bd2a2257c8cac5a5c00b37e79bbb68a24e186d4
[ "RSA-MD" ]
null
null
null
450_set/Matrix/0044.cpp
Sahil1515/coding
2bd2a2257c8cac5a5c00b37e79bbb68a24e186d4
[ "RSA-MD" ]
null
null
null
// } Driver Code Ends class Solution { public: void rotateby90(vector<vector<int> >& matrix, int n) { // code here for(int i=0;i<n;i++) { for(int j=0;j<n;j++) { if(i<j) { swap(matrix[i][j],ma...
20.890625
81
0.347794
[ "vector" ]
4c44b3634733d6c074224429a9758b51c7d004ea
2,549
hpp
C++
src/grids.hpp
keijak/hikidashi-cpp
63d01dfa1587fa56fd7f4e50712f7c10d8168520
[ "Apache-2.0" ]
null
null
null
src/grids.hpp
keijak/hikidashi-cpp
63d01dfa1587fa56fd7f4e50712f7c10d8168520
[ "Apache-2.0" ]
null
null
null
src/grids.hpp
keijak/hikidashi-cpp
63d01dfa1587fa56fd7f4e50712f7c10d8168520
[ "Apache-2.0" ]
null
null
null
#include <bits/stdc++.h> auto make_neighbors(int H, int W) { static const int dx[4] = {1, 0, -1, 0}; static const int dy[4] = {0, 1, 0, -1}; auto inside = [&](int i, int j) { return 0 <= i and i < H and 0 <= j and j < W; }; auto neighbors = [&](int x, int y) { std::vector<std::pair<int, int>> ret; ...
23.82243
54
0.515104
[ "vector" ]
4c4a8aaa1fc86af6caaba463d490917a7ea489d9
2,837
hpp
C++
include/caffe/layers/fm_layer.hpp
Lanselott/FM_caffe
f87df8c5b1b2252fce6b9bab4cccf120d96774e5
[ "MIT" ]
null
null
null
include/caffe/layers/fm_layer.hpp
Lanselott/FM_caffe
f87df8c5b1b2252fce6b9bab4cccf120d96774e5
[ "MIT" ]
null
null
null
include/caffe/layers/fm_layer.hpp
Lanselott/FM_caffe
f87df8c5b1b2252fce6b9bab4cccf120d96774e5
[ "MIT" ]
null
null
null
#ifndef CAFFE_FM_LAYER_HPP_ #define CAFFE_FM_LAYER_HPP_ #include <vector> #include "caffe/blob.hpp" #include "caffe/layer.hpp" #include "caffe/proto/caffe.pb.h" #include "caffe/util/im2col.hpp" namespace caffe { /** * @brief Also known as a "fully-connected" layer, computes an inner product * with a set of...
34.180723
103
0.656327
[ "vector" ]
4c4c424805066694eebb2362d90947ffb0538d95
1,370
cpp
C++
game_files/game_objects/tt.cpp
sakumo7/zpr
7b9cdbec1ff8d8179a96bb6e1e88f54ee84d138e
[ "MIT" ]
null
null
null
game_files/game_objects/tt.cpp
sakumo7/zpr
7b9cdbec1ff8d8179a96bb6e1e88f54ee84d138e
[ "MIT" ]
null
null
null
game_files/game_objects/tt.cpp
sakumo7/zpr
7b9cdbec1ff8d8179a96bb6e1e88f54ee84d138e
[ "MIT" ]
null
null
null
#include "../game_order/game_order.hpp" #include "building.hpp" #include <cstdio> #include <iostream> #include <vector> #include <memory> #include "../game_order/order_decoder.hpp" #include "game_object_factory.hpp" #include "game_object.hpp" #include "map_point.hpp" using namespace std; int main(){ Resources ...
25.37037
62
0.754015
[ "vector" ]
4c4c4c2803396ba63d399157f03c3a4cea1e3009
7,439
cpp
C++
src/main/core/engine/scene/GameObject.cpp
Kelan0/PlanetRenderer-2.0
55bebcdadb253cb3dd9165d0d4161966ac90ea95
[ "MIT" ]
2
2020-10-29T01:45:38.000Z
2021-07-21T08:19:36.000Z
src/main/core/engine/scene/GameObject.cpp
Kelan0/PlanetRenderer-2.0
55bebcdadb253cb3dd9165d0d4161966ac90ea95
[ "MIT" ]
null
null
null
src/main/core/engine/scene/GameObject.cpp
Kelan0/PlanetRenderer-2.0
55bebcdadb253cb3dd9165d0d4161966ac90ea95
[ "MIT" ]
4
2019-10-08T23:24:10.000Z
2021-03-02T16:05:28.000Z
#include "GameObject.h" #include "core/application/Application.h" #include "core/engine/scene/GameComponent.h" #include "core/engine/scene/SceneGraph.h" bool isValidId(std::string id); GameObject::GameObject(Transformation transformation) { this->setTransformation(transformation); this->parent = NULL; this->sce...
21.688047
155
0.659363
[ "render", "object", "vector", "transform" ]
4c5db0f0e0854db04840be7742680befcde3f9dc
377
hpp
C++
CCP4M_Old/include/CommonFuncs.hpp
Electrux/CCPP-Code
3c5e5b866cf050c11bced9651b112eb31dd2465d
[ "BSD-3-Clause" ]
6
2019-08-29T23:31:17.000Z
2021-11-14T20:35:47.000Z
CCP4M_Old/include/CommonFuncs.hpp
Electrux/CCPP-Code
3c5e5b866cf050c11bced9651b112eb31dd2465d
[ "BSD-3-Clause" ]
null
null
null
CCP4M_Old/include/CommonFuncs.hpp
Electrux/CCPP-Code
3c5e5b866cf050c11bced9651b112eb31dd2465d
[ "BSD-3-Clause" ]
1
2019-09-01T12:22:58.000Z
2019-09-01T12:22:58.000Z
#ifndef COMMONFUNCS_HPP #define COMMONFUNCS_HPP #include <string> #include <vector> std::vector< std::string > ToVector( int argc, char ** argv ); std::vector< std::string > DelimStringToVector( std::string str, char delim = ',' ); std::string GetStringBetweenQuotes( std::string & str ); std::string GetStringTillL...
23.5625
84
0.724138
[ "vector" ]
4c6264b5f3c5542704482de4a44db59b738b2442
2,921
cc
C++
driver/kernel/windows/kernel_registers_windows.cc
ghollingworth/libedgetpu
d37e668cd9ef0e657b9e4e413df53f370532e87e
[ "Apache-2.0" ]
99
2020-06-09T05:52:44.000Z
2022-03-08T06:06:55.000Z
driver/kernel/windows/kernel_registers_windows.cc
ghollingworth/libedgetpu
d37e668cd9ef0e657b9e4e413df53f370532e87e
[ "Apache-2.0" ]
35
2020-06-09T15:00:26.000Z
2022-03-15T10:22:32.000Z
driver/kernel/windows/kernel_registers_windows.cc
ghollingworth/libedgetpu
d37e668cd9ef0e657b9e4e413df53f370532e87e
[ "Apache-2.0" ]
23
2020-06-09T14:50:54.000Z
2022-03-15T11:18:16.000Z
// Copyright 2019 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in w...
34.77381
80
0.682643
[ "vector" ]
4c66825b8bd15e90abd6689fb9051efdd83b32a2
1,912
cc
C++
vcs/src/model/RegisterDeviceRequest.cc
iamzken/aliyun-openapi-cpp-sdk
3c991c9ca949b6003c8f498ce7a672ea88162bf1
[ "Apache-2.0" ]
89
2018-02-02T03:54:39.000Z
2021-12-13T01:32:55.000Z
vcs/src/model/RegisterDeviceRequest.cc
iamzken/aliyun-openapi-cpp-sdk
3c991c9ca949b6003c8f498ce7a672ea88162bf1
[ "Apache-2.0" ]
89
2018-03-14T07:44:54.000Z
2021-11-26T07:43:25.000Z
vcs/src/model/RegisterDeviceRequest.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...
25.837838
83
0.753661
[ "model" ]
4c68d9614a470ebbc85017c683d002b0ba37a526
7,779
cpp
C++
Source/modules/webcl/WebCLEvent.cpp
crosswalk-project/blink-crosswalk
16d1b69626699e9ca703e0c24c829e96d07fcd3e
[ "BSD-3-Clause" ]
18
2015-04-16T09:57:11.000Z
2020-12-09T15:58:55.000Z
Source/modules/webcl/WebCLEvent.cpp
crosswalk-project/blink-crosswalk
16d1b69626699e9ca703e0c24c829e96d07fcd3e
[ "BSD-3-Clause" ]
58
2015-01-02T14:37:31.000Z
2015-11-30T04:58:51.000Z
Source/modules/webcl/WebCLEvent.cpp
crosswalk-project/blink-crosswalk
16d1b69626699e9ca703e0c24c829e96d07fcd3e
[ "BSD-3-Clause" ]
35
2015-01-14T00:10:29.000Z
2022-01-20T10:28:15.000Z
// Copyright (C) 2011 Samsung Electronics Corporation. All rights reserved. // Copyright (C) 2015 Intel Corporation All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "config.h" #if ENABLE(WEBCL) #include "bindings/modules/v8/V8WebCLCo...
32.4125
137
0.704589
[ "object", "vector" ]
4c6b4b734469d2902d5ae896b1be507829e94728
1,256
cpp
C++
testing/interpolation/DummyTransformation.cpp
MIC-DKFZ/RTTB
8b772501fd3fffcb67233a9307661b03dff72785
[ "BSD-3-Clause" ]
18
2018-04-19T12:57:32.000Z
2022-03-12T17:43:02.000Z
testing/interpolation/DummyTransformation.cpp
MIC-DKFZ/RTTB
8b772501fd3fffcb67233a9307661b03dff72785
[ "BSD-3-Clause" ]
null
null
null
testing/interpolation/DummyTransformation.cpp
MIC-DKFZ/RTTB
8b772501fd3fffcb67233a9307661b03dff72785
[ "BSD-3-Clause" ]
7
2018-06-24T21:09:56.000Z
2021-09-09T09:30:49.000Z
// ----------------------------------------------------------------------- // RTToolbox - DKFZ radiotherapy quantitative evaluation library // // Copyright (c) German Cancer Research Center (DKFZ), // Software development for Integrated Diagnostics and Therapy (SIDT). // ALL RIGHTS RESERVED. // See rttbCopyright....
33.945946
93
0.636943
[ "transform" ]
4c725ad09bc110666ee2577d8514e1547d2903dd
2,181
cpp
C++
common/src/fonts.cpp
jasbok/libshimmer
794b0e27ee8492f46202efebd24dab32a7c5c1da
[ "MIT" ]
null
null
null
common/src/fonts.cpp
jasbok/libshimmer
794b0e27ee8492f46202efebd24dab32a7c5c1da
[ "MIT" ]
null
null
null
common/src/fonts.cpp
jasbok/libshimmer
794b0e27ee8492f46202efebd24dab32a7c5c1da
[ "MIT" ]
null
null
null
#include "fonts.h" #include "freetype.h" namespace common::fonts { spec::spec( const std::string& id, const std::string& path, unsigned int size, std::vector<range_uint> unicodes ) : _id ( id ), _path ( path ), _size ( size ), _unicodes ( ...
20.383178
74
0.523155
[ "vector" ]
dbd04008f68fbf0c2899814d933d3518816095d0
5,285
cc
C++
patchpanel/datapath_fuzzer.cc
ascii33/platform2
b78891020724e9ff26b11ca89c2a53f949e99748
[ "BSD-3-Clause" ]
null
null
null
patchpanel/datapath_fuzzer.cc
ascii33/platform2
b78891020724e9ff26b11ca89c2a53f949e99748
[ "BSD-3-Clause" ]
null
null
null
patchpanel/datapath_fuzzer.cc
ascii33/platform2
b78891020724e9ff26b11ca89c2a53f949e99748
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2019 The Chromium OS 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 <net/if.h> #include <string.h> #include <sys/ioctl.h> #include <memory> #include <string> #include <vector> #include <base/at_exit.h> #inclu...
35
79
0.727342
[ "vector" ]
dbd94f94053b0326ff52ec8684a5363c147fad17
3,681
cpp
C++
engine/src/core/blshaderprogram.cpp
comaralex/Chess2k17
0c90ad1ec6416d4881932ca6588551d76ae3b8ac
[ "BSD-2-Clause" ]
1
2020-07-23T11:58:12.000Z
2020-07-23T11:58:12.000Z
engine/src/core/blshaderprogram.cpp
comaralex/Chess2k17
0c90ad1ec6416d4881932ca6588551d76ae3b8ac
[ "BSD-2-Clause" ]
null
null
null
engine/src/core/blshaderprogram.cpp
comaralex/Chess2k17
0c90ad1ec6416d4881932ca6588551d76ae3b8ac
[ "BSD-2-Clause" ]
1
2020-07-24T14:39:47.000Z
2020-07-24T14:39:47.000Z
#include "blshaderprogram.h" #include <bllogger.h> #include <blconstants.h> namespace black { ShaderProgram::ShaderProgram() : QOpenGLShaderProgram(), m_vertex(), m_fragment() { } ShaderProgram::ShaderProgram(std::shared_ptr<Shader> vertex, std::shared_ptr<Shader> fragment) ...
21.781065
80
0.657973
[ "model" ]
dbdbaab91149c7feeaa7c2ab6e161b35529edab4
4,955
hpp
C++
catkin_ws/src/srrg2_slam_interfaces/srrg2_slam_interfaces/src/srrg2_slam_interfaces/trackers/tracker_slice_processor_estimation_buffer.hpp
laaners/progetto-labiagi_pick_e_delivery
3453bfbc1dd7562c78ba06c0f79b069b0a952c0e
[ "MIT" ]
null
null
null
catkin_ws/src/srrg2_slam_interfaces/srrg2_slam_interfaces/src/srrg2_slam_interfaces/trackers/tracker_slice_processor_estimation_buffer.hpp
laaners/progetto-labiagi_pick_e_delivery
3453bfbc1dd7562c78ba06c0f79b069b0a952c0e
[ "MIT" ]
null
null
null
catkin_ws/src/srrg2_slam_interfaces/srrg2_slam_interfaces/src/srrg2_slam_interfaces/trackers/tracker_slice_processor_estimation_buffer.hpp
laaners/progetto-labiagi_pick_e_delivery
3453bfbc1dd7562c78ba06c0f79b069b0a952c0e
[ "MIT" ]
null
null
null
#pragma once #include "tracker_slice_processor_prior.h" namespace srrg2_slam_interfaces { //! buffered tracker pose estimation as prior slice for e.g. fancy motion modelling template <typename EstimateType_, typename FixedMeasurementType_> class TrackerSliceProcessorEstimationBuffer_ : public TrackerSlicePr...
45.87963
97
0.703532
[ "model", "transform" ]
dbe135fe7fa1637d4c17fc39dceb90857c10dc84
6,913
cpp
C++
wallet/api/v6_3/v6_3_api_handle.cpp
arjundashrath/beam
93957ce8d0a58edcb112653a732083caeb9b3971
[ "Apache-2.0" ]
null
null
null
wallet/api/v6_3/v6_3_api_handle.cpp
arjundashrath/beam
93957ce8d0a58edcb112653a732083caeb9b3971
[ "Apache-2.0" ]
null
null
null
wallet/api/v6_3/v6_3_api_handle.cpp
arjundashrath/beam
93957ce8d0a58edcb112653a732083caeb9b3971
[ "Apache-2.0" ]
null
null
null
// Copyright 2018 The Beam Team // // 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...
33.235577
86
0.482424
[ "vector" ]
dbef5c463925972ac3045b378e73500aa301fbc0
18,478
cpp
C++
src/demo/vxm_timing_demo.cpp
KIwabuchi/gbtl
62c6b1e3262f3623359e793edb5ec4fa7bb471f0
[ "Unlicense" ]
112
2016-04-26T05:54:30.000Z
2022-03-27T05:56:16.000Z
src/demo/vxm_timing_demo.cpp
KIwabuchi/gbtl
62c6b1e3262f3623359e793edb5ec4fa7bb471f0
[ "Unlicense" ]
21
2016-03-22T19:06:46.000Z
2021-10-07T15:40:18.000Z
src/demo/vxm_timing_demo.cpp
KIwabuchi/gbtl
62c6b1e3262f3623359e793edb5ec4fa7bb471f0
[ "Unlicense" ]
22
2016-04-26T05:54:35.000Z
2021-12-21T03:33:20.000Z
/* * GraphBLAS Template Library (GBTL), Version 3.0 * * Copyright 2020 Carnegie Mellon University, Battelle Memorial Institute, and * Authors. * * THIS MATERIAL WAS PREPARED AS AN ACCOUNT OF WORK SPONSORED BY AN AGENCY OF * THE UNITED STATES GOVERNMENT. NEITHER THE UNITED STATES GOVERNMENT NOR THE * UNITED STA...
36.662698
80
0.514612
[ "vector" ]
dbf0a2dc9439ec2d66d49ae76af6d24be228e78f
10,958
cpp
C++
SharedCode/scenes/SplayFingersScene.cpp
jing-interactive/digital_art_2014
736ce10ea3fa92b415c57fa5a1a41a64e6d98622
[ "MIT" ]
1
2019-10-10T12:23:21.000Z
2019-10-10T12:23:21.000Z
SharedCode/scenes/SplayFingersScene.cpp
jing-interactive/digital_art_2014
736ce10ea3fa92b415c57fa5a1a41a64e6d98622
[ "MIT" ]
null
null
null
SharedCode/scenes/SplayFingersScene.cpp
jing-interactive/digital_art_2014
736ce10ea3fa92b415c57fa5a1a41a64e6d98622
[ "MIT" ]
3
2019-05-02T11:20:41.000Z
2021-07-26T16:38:38.000Z
#pragma once #include "SplayFingersScene.h" SplayFingersScene::SplayFingersScene(ofxPuppet* puppet, HandWithFingertipsSkeleton* handWithFingertipsSkeleton, HandWithFingertipsSkeleton* immutableHandWithFingertipsSkeleton) { Scene::Scene(); Scene::setup("Splay Fingers", "Splay Fingers (Hand With Fingertips)", puppet,...
43.484127
215
0.685618
[ "vector" ]
dbfa2f8ec4640339b879fe4f557fbebc1989aee6
27,072
cc
C++
src/core/web_app_manager.cc
webosose/wam
5d3eb5d50a176fb82c1fa5564655277181c9235a
[ "Apache-2.0" ]
12
2018-03-22T18:51:21.000Z
2020-07-18T03:57:53.000Z
src/core/web_app_manager.cc
webosose/wam
5d3eb5d50a176fb82c1fa5564655277181c9235a
[ "Apache-2.0" ]
24
2018-10-30T10:33:03.000Z
2020-06-02T19:59:29.000Z
src/core/web_app_manager.cc
webosose/wam
5d3eb5d50a176fb82c1fa5564655277181c9235a
[ "Apache-2.0" ]
17
2018-03-22T18:51:24.000Z
2021-11-19T13:03:43.000Z
// Copyright (c) 2008-2021 LG Electronics, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or...
31.045872
80
0.656767
[ "object", "vector", "transform" ]
e0129af44faa2098301e541e21650152a1bdd056
3,362
cpp
C++
src/tiertwo/netfulfilledman.cpp
BITRUBCOIN-Project/BITRUBCOIN
0a0f9f21bfb15c3c9ed91f7f88e3b955a2d842d1
[ "MIT" ]
null
null
null
src/tiertwo/netfulfilledman.cpp
BITRUBCOIN-Project/BITRUBCOIN
0a0f9f21bfb15c3c9ed91f7f88e3b955a2d842d1
[ "MIT" ]
null
null
null
src/tiertwo/netfulfilledman.cpp
BITRUBCOIN-Project/BITRUBCOIN
0a0f9f21bfb15c3c9ed91f7f88e3b955a2d842d1
[ "MIT" ]
null
null
null
// Copyright (c) 2014-2020 The Dash Core developers // Copyright (c) 2022 The BITRUBCOIN Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or https://www.opensource.org/licenses/mit-license.php. #include "tiertwo/netfulfilledman.h" #include "chainparams.h" #include "ne...
30.844037
112
0.694825
[ "vector" ]
e012d513f668f0ddb11bfaca08b6ddcb5fbf3f4f
1,629
cpp
C++
Siv3D/src/ThirdParty/lunasvg/svggeometryelement.cpp
nokotan/siv6
7df183550a6c0160ba918d6ad24c3ae48231e26b
[ "MIT" ]
1
2020-05-16T14:13:04.000Z
2020-05-16T14:13:04.000Z
Siv3D/src/ThirdParty/lunasvg/svggeometryelement.cpp
nokotan/siv6
7df183550a6c0160ba918d6ad24c3ae48231e26b
[ "MIT" ]
null
null
null
Siv3D/src/ThirdParty/lunasvg/svggeometryelement.cpp
nokotan/siv6
7df183550a6c0160ba918d6ad24c3ae48231e26b
[ "MIT" ]
null
null
null
#include "svggeometryelement.h" #include "paint.h" #include "strokedata.h" namespace lunasvg { SVGGeometryElement::SVGGeometryElement(ElementID elementId, SVGDocument* document) : SVGGraphicsElement(elementId, document) { } void SVGGeometryElement::render(RenderContext& context) const { if(style().isDisplayN...
28.086207
104
0.661756
[ "render" ]
e0150d471fef102355bc524ed3d76dcd00175d1e
965
hpp
C++
agency/coordinate/detail/shape/make_shape.hpp
nerikhman/agency
966ac59101f2fc3561a86b11874fbe8de361d0e4
[ "BSD-3-Clause" ]
129
2016-08-18T23:24:15.000Z
2022-03-25T12:06:05.000Z
agency/coordinate/detail/shape/make_shape.hpp
nerikhman/agency
966ac59101f2fc3561a86b11874fbe8de361d0e4
[ "BSD-3-Clause" ]
86
2016-08-19T03:43:33.000Z
2020-07-20T14:27:41.000Z
agency/coordinate/detail/shape/make_shape.hpp
nerikhman/agency
966ac59101f2fc3561a86b11874fbe8de361d0e4
[ "BSD-3-Clause" ]
23
2016-08-18T23:52:13.000Z
2022-02-28T16:28:20.000Z
#pragma once #include <agency/detail/config.hpp> #include <utility> #include <array> namespace agency { namespace detail { template<class Shape> struct make_shape_impl { template<class... Args> __AGENCY_ANNOTATION static Shape make(Args&&... args) { return Shape{std::forward<Args>(args)...}; } }; // ...
19.3
85
0.699482
[ "shape" ]
e01bdf2948d2d3381eb3db19a45975b4cf78385c
957
cpp
C++
FirstInterCommunication/src/Window.cpp
droplet92/FIC
db8bcc2503f7001dc6af5474b59ef9129f995f91
[ "MIT" ]
null
null
null
FirstInterCommunication/src/Window.cpp
droplet92/FIC
db8bcc2503f7001dc6af5474b59ef9129f995f91
[ "MIT" ]
null
null
null
FirstInterCommunication/src/Window.cpp
droplet92/FIC
db8bcc2503f7001dc6af5474b59ef9129f995f91
[ "MIT" ]
null
null
null
#include "Window.h" #include <SFML/Graphics.hpp> #include <string> #include "GameObject.h" namespace FIC { constexpr unsigned int windowWidth = 1920; constexpr unsigned int windowHeight = 1080; const sf::VideoMode Window::windowVideoMode = { windowWidth, windowHeight }; const std::string Window::windowTitle = "FIC...
17.722222
81
0.685475
[ "object" ]
e01ca590af1051ab704fb860cfdd2825b27b00d4
3,853
cpp
C++
ext_modules/_maix_camera/_camera_pybind.cpp
znstj/MaixPy3
f672b2049b668a5a72ad249933cf9a009760799e
[ "MIT" ]
null
null
null
ext_modules/_maix_camera/_camera_pybind.cpp
znstj/MaixPy3
f672b2049b668a5a72ad249933cf9a009760799e
[ "MIT" ]
null
null
null
ext_modules/_maix_camera/_camera_pybind.cpp
znstj/MaixPy3
f672b2049b668a5a72ad249933cf9a009760799e
[ "MIT" ]
null
null
null
#include "_maix_camera.h" using namespace std; namespace py = pybind11; class _Camera_pybind11 { private: public: string version = "0.2"; string name = "_maix_Camera"; _Camera_pybind11() { } ~_Camera_pybind11() { cout << "_maix_Camera exit!" << endl; } string _maix_Camera_...
23.071856
148
0.586815
[ "object" ]
e0382db9a3a6575cbebf0d83c78539f562f6c3cf
1,114
hpp
C++
Includes/Programs/Calculator.hpp
utilForever/Calculator
9a97e476721e862cd3909c3d25457d9b6e1fef65
[ "MIT" ]
54
2015-11-05T01:51:08.000Z
2018-09-06T11:11:22.000Z
Includes/Programs/Calculator.hpp
utilForever/CubbyCalc
9a97e476721e862cd3909c3d25457d9b6e1fef65
[ "MIT" ]
7
2018-12-07T14:50:14.000Z
2021-08-10T05:33:18.000Z
Includes/Programs/Calculator.hpp
utilForever/Calculator
9a97e476721e862cd3909c3d25457d9b6e1fef65
[ "MIT" ]
19
2016-04-07T07:57:54.000Z
2018-09-05T10:54:10.000Z
#ifndef CUBBYCALC_CALCULATOR_HPP #define CUBBYCALC_CALCULATOR_HPP #include <Expressions/Expression.hpp> #include <Expressions/ExpressionMaker.hpp> #include <Variables/VariableTable.hpp> #include <vector> class Calculator { private: Calculator(const Calculator&); Calculator& operator=(const Calculator&); Expressi...
23.702128
82
0.779174
[ "vector" ]
e0393eda67d3a6ea4e6957037d6de8f3e9395793
53,478
cpp
C++
SURVIVORSrc/src/simulator/SV_Simulator.cpp
aquaskyline/LinkedReadsSimulator
9ad7e54651be49305ae1a9287e9a66515d7c5057
[ "MIT" ]
42
2016-12-21T19:57:55.000Z
2021-11-23T22:04:42.000Z
SURVIVORSrc/src/simulator/SV_Simulator.cpp
aquaskyline/LinkedReadsSimulator
9ad7e54651be49305ae1a9287e9a66515d7c5057
[ "MIT" ]
34
2017-01-09T01:40:23.000Z
2021-03-16T15:50:59.000Z
SURVIVORSrc/src/simulator/SV_Simulator.cpp
aquaskyline/LinkedReadsSimulator
9ad7e54651be49305ae1a9287e9a66515d7c5057
[ "MIT" ]
13
2017-01-03T21:44:49.000Z
2021-07-16T13:21:55.000Z
/* * SV_Simulator.cpp * * Created on: Jan 30, 2016 * Author: fsedlaze */ #include "SV_Simulator.h" bool is_valid(char base) { return (((base == 'A' || base == 'C') || (base == 'R' || base == 'X')) || ((base == 'T' || base == 'G') || (base == 'N' || base == 'M'))); } void check_genome(std::map<std::strin...
34.524209
177
0.568383
[ "vector" ]
e047a5828a266070ad7fb9f7853eb7492046b4f3
1,747
hpp
C++
include/guidance/suppress_mode_handler.hpp
AugustoQueiroz/pedalavel-backend
c7fa405ff6f6823bdc9d4bb857eddc7197be1f4f
[ "BSD-2-Clause" ]
null
null
null
include/guidance/suppress_mode_handler.hpp
AugustoQueiroz/pedalavel-backend
c7fa405ff6f6823bdc9d4bb857eddc7197be1f4f
[ "BSD-2-Clause" ]
null
null
null
include/guidance/suppress_mode_handler.hpp
AugustoQueiroz/pedalavel-backend
c7fa405ff6f6823bdc9d4bb857eddc7197be1f4f
[ "BSD-2-Clause" ]
1
2019-09-23T22:49:07.000Z
2019-09-23T22:49:07.000Z
#ifndef OSRM_GUIDANCE_SUPPRESS_MODE_HANDLER_HPP_ #define OSRM_GUIDANCE_SUPPRESS_MODE_HANDLER_HPP_ #include "guidance/intersection.hpp" #include "guidance/intersection_handler.hpp" #include "util/node_based_graph.hpp" namespace osrm { namespace guidance { // Suppresses instructions for certain modes. // Think: ferry ...
39.704545
89
0.680023
[ "vector" ]
e04851c556172b193885cb026af1b665a3e4e578
14,685
cpp
C++
wdbecmbd/CrdWdbeVec/QryWdbeVecList.cpp
mpsitech/wdbe-WhizniumDBE
27360ce6569dc55098a248b8a0a4b7e3913a6ce6
[ "MIT" ]
4
2020-10-27T14:33:25.000Z
2021-08-07T20:55:42.000Z
wdbecmbd/CrdWdbeVec/QryWdbeVecList.cpp
mpsitech/wdbe-WhizniumDBE
27360ce6569dc55098a248b8a0a4b7e3913a6ce6
[ "MIT" ]
null
null
null
wdbecmbd/CrdWdbeVec/QryWdbeVecList.cpp
mpsitech/wdbe-WhizniumDBE
27360ce6569dc55098a248b8a0a4b7e3913a6ce6
[ "MIT" ]
null
null
null
/** * \file QryWdbeVecList.cpp * job handler for job QryWdbeVecList (implementation) * \copyright (C) 2016-2020 MPSI Technologies GmbH * \author Alexander Wirthmueller (auto-generation) * \date created: 28 Nov 2020 */ // IP header --- ABOVE #ifdef WDBECMBD #include <Wdbecmbd.h> #else #include <Wdbed.h> #endif ...
29.252988
165
0.675043
[ "vector" ]
e049cf17cf8cf12e0a8c6d937672b7dc78fe1efa
797
cpp
C++
test/unit/math/mix/fun/cumulative_sum_test.cpp
LaudateCorpus1/math
990a66b3cccd27a5fd48626360bb91093a48278b
[ "BSD-3-Clause" ]
null
null
null
test/unit/math/mix/fun/cumulative_sum_test.cpp
LaudateCorpus1/math
990a66b3cccd27a5fd48626360bb91093a48278b
[ "BSD-3-Clause" ]
null
null
null
test/unit/math/mix/fun/cumulative_sum_test.cpp
LaudateCorpus1/math
990a66b3cccd27a5fd48626360bb91093a48278b
[ "BSD-3-Clause" ]
null
null
null
#include <test/unit/math/test_ad.hpp> #include <vector> void expect_cumulative_sum(std::vector<double>& x) { auto f = [](const auto& y) { return stan::math::cumulative_sum(y); }; Eigen::VectorXd v = Eigen::Map<Eigen::VectorXd>(x.data(), x.size()); Eigen::RowVectorXd rv = Eigen::Map<Eigen::RowVectorXd>(x.data(), ...
28.464286
77
0.671267
[ "vector" ]
e04c36e6520ec2f74c0cef842f6f5b3daa4a8536
3,132
cc
C++
src/tool/pps/pps_driver.cc
SoftReaper/Mesa-Renoir-deb
8d1de1f66058d62b41fe55d36522efea2bdf996d
[ "MIT" ]
null
null
null
src/tool/pps/pps_driver.cc
SoftReaper/Mesa-Renoir-deb
8d1de1f66058d62b41fe55d36522efea2bdf996d
[ "MIT" ]
null
null
null
src/tool/pps/pps_driver.cc
SoftReaper/Mesa-Renoir-deb
8d1de1f66058d62b41fe55d36522efea2bdf996d
[ "MIT" ]
null
null
null
/* * Copyright © 2019-2020 Collabora, Ltd. * Author: Antonio Caggiano <antonio.caggiano@collabora.com> * Author: Rohan Garg <rohan.garg@collabora.com> * Author: Robert Beckett <bob.beckett@collabora.com> * Author: Corentin Noël <corentin.noel@collabora.com> * * SPDX-License-Identifier: MIT */ #include "pps_dri...
26.319328
95
0.704981
[ "vector" ]
e04e3ac4e36762c08a0709078c7b8fba8fc0ddf5
1,425
cpp
C++
C++/Cpp-Templates-Second-Edition/chapters/src/chapter6.cpp
danpeczek/tech-cookbook
c22f499147524dfd58a253bdb9d4ab89e0004475
[ "MIT" ]
1
2020-11-06T18:42:05.000Z
2020-11-06T18:42:05.000Z
C++/Cpp-Templates-Second-Edition/chapters/src/chapter6.cpp
danpeczek/tech-cookbook
c22f499147524dfd58a253bdb9d4ab89e0004475
[ "MIT" ]
45
2020-11-03T10:46:52.000Z
2022-03-14T21:08:21.000Z
C++/Cpp-Templates-Second-Edition/chapters/src/chapter6.cpp
danpeczek/tech-cookbook
c22f499147524dfd58a253bdb9d4ab89e0004475
[ "MIT" ]
null
null
null
#include "chapters/chapter6.hpp" #include <iostream> #include <string> #include <basics/move.hpp> #include <basics/specialMemTempl.hpp> #include <common/common_prints.hpp> namespace chapters { namespace { void perfectForwarding() { common::printTitle("Perfect forwarding"); basics::X v; basics::X const c; ...
23.75
111
0.689825
[ "object" ]
e055b4c6c6109942d29fac3bda63127cba12b59c
2,688
cpp
C++
_source/_engine/_render/scene.cpp
hywei/toy_raytracer
323fdd818f06a88b7823d9174a99912bbc06367d
[ "MIT" ]
null
null
null
_source/_engine/_render/scene.cpp
hywei/toy_raytracer
323fdd818f06a88b7823d9174a99912bbc06367d
[ "MIT" ]
null
null
null
_source/_engine/_render/scene.cpp
hywei/toy_raytracer
323fdd818f06a88b7823d9174a99912bbc06367d
[ "MIT" ]
null
null
null
#include <cassert> #include "_render/scene.h" #include "_render/material.h" #include "_foundation/math/intersect.h" namespace raytracer { Scene::Scene() {} Scene::~Scene() { for (auto geo : geometries_) delete(geo); for (auto shape : shapes_) delete(shape); for (auto material : m...
29.538462
91
0.61942
[ "shape" ]
e05949915518dfc501f8d9f1b24358e040aa9552
3,329
cpp
C++
src/Packet.cpp
qingchen1984/LibNet
8c164fe8009ca40af062f1d3851bae51d0f83ade
[ "MIT" ]
11
2015-05-13T15:21:35.000Z
2022-02-28T09:39:45.000Z
src/Packet.cpp
qingchen1984/LibNet
8c164fe8009ca40af062f1d3851bae51d0f83ade
[ "MIT" ]
1
2015-04-29T15:34:19.000Z
2015-05-05T12:26:36.000Z
src/Packet.cpp
AlexMog/LibNet
8c164fe8009ca40af062f1d3851bae51d0f83ade
[ "MIT" ]
5
2015-05-29T14:33:08.000Z
2018-10-20T14:28:50.000Z
// // Packet.cpp for LibNet in /home/alexmog/projets/LibNet/src // // Made by Moghrabi Alexandre // Login <alexandre.moghrabi@epitech.eu> // // Started on Tue Nov 18 09:52:30 2014 Moghrabi Alexandre // Last update Tue May 5 13:53:13 2015 Moghrabi Alexandre // #include <iostream> #include "mognetwork/Packet.hh" ...
20.549383
77
0.599579
[ "vector" ]
e05e46897d08705f65130266cd433cabaf7d9d88
2,152
cpp
C++
source/houcor/test/hou/cor/test_std_string.cpp
DavideCorradiDev/houzi-game-engine
d704aa9c5b024300578aafe410b7299c4af4fcec
[ "MIT" ]
2
2018-04-12T20:59:20.000Z
2018-07-26T16:04:07.000Z
source/houcor/test/hou/cor/test_std_string.cpp
DavideCorradiDev/houzi-game-engine
d704aa9c5b024300578aafe410b7299c4af4fcec
[ "MIT" ]
null
null
null
source/houcor/test/hou/cor/test_std_string.cpp
DavideCorradiDev/houzi-game-engine
d704aa9c5b024300578aafe410b7299c4af4fcec
[ "MIT" ]
null
null
null
// Houzi Game Engine // Copyright (c) 2018 Davide Corradi // Licensed under the MIT license. #include "hou/test.hpp" #include "hou/cor/std_string.hpp" using namespace hou; using namespace testing; namespace { class test_std_string : public Test {}; } TEST_F(test_std_string, format_string) { std::string str...
20.301887
78
0.666822
[ "vector" ]
e0631942c463e7b042146e102ecfe9b38ec223c5
1,779
cpp
C++
data/transcoder_evaluation_gfg/cpp/MAXIMUM_SUBARRAY_SUM_ARRAY_CREATED_REPEATED_CONCATENATION.cpp
mxl1n/CodeGen
e5101dd5c5e9c3720c70c80f78b18f13e118335a
[ "MIT" ]
241
2021-07-20T08:35:20.000Z
2022-03-31T02:39:08.000Z
data/transcoder_evaluation_gfg/cpp/MAXIMUM_SUBARRAY_SUM_ARRAY_CREATED_REPEATED_CONCATENATION.cpp
mxl1n/CodeGen
e5101dd5c5e9c3720c70c80f78b18f13e118335a
[ "MIT" ]
49
2021-07-22T23:18:42.000Z
2022-03-24T09:15:26.000Z
data/transcoder_evaluation_gfg/cpp/MAXIMUM_SUBARRAY_SUM_ARRAY_CREATED_REPEATED_CONCATENATION.cpp
mxl1n/CodeGen
e5101dd5c5e9c3720c70c80f78b18f13e118335a
[ "MIT" ]
71
2021-07-21T05:17:52.000Z
2022-03-29T23:49:28.000Z
// Copyright (c) 2019-present, Facebook, Inc. // All rights reserved. // // This source code is licensed under the license found in the // LICENSE file in the root directory of this source tree. // #include <iostream> #include <cstdlib> #include <string> #include <vector> #include <fstream> #include <iomanip> #include...
39.533333
634
0.586847
[ "vector" ]
e0641121bed187bc9224ffe5fab0ea04ac7315ae
16,563
cpp
C++
src/Base/pybind11/PyQWidget.cpp
roto5296/choreonoid
ffe12df8db71e32aea18833afb80dffc42c373d0
[ "MIT" ]
66
2020-03-11T14:06:01.000Z
2022-03-23T23:18:27.000Z
src/Base/pybind11/PyQWidget.cpp
roto5296/choreonoid
ffe12df8db71e32aea18833afb80dffc42c373d0
[ "MIT" ]
12
2020-07-23T06:13:11.000Z
2022-01-13T14:25:01.000Z
src/Base/pybind11/PyQWidget.cpp
roto5296/choreonoid
ffe12df8db71e32aea18833afb80dffc42c373d0
[ "MIT" ]
18
2020-07-17T15:57:54.000Z
2022-03-29T13:18:59.000Z
#include "PyQObjectHolder.h" #include "PyQString.h" #include "PyQtSignal.h" #include <QWidget> #include <QLayout> #include <QBackingStore> #include <QGraphicsEffect> #include <QGraphicsProxyWidget> #include <QPainter> #include <QBitmap> #include <QStyle> #include <QAction> #include <QLocale> #include <vector> using na...
53.775974
130
0.623619
[ "geometry", "render", "vector" ]
e06477ab1a95eb7c8fa75c82757830abc0d3de94
576
cpp
C++
C++/StackV/main.cpp
iamsuryakant/100-days-of-code
eaf4863d98dc273f03a989fe87d010d201d91516
[ "MIT" ]
1
2020-07-04T12:45:50.000Z
2020-07-04T12:45:50.000Z
C++/StackV/main.cpp
iamsuryakant/100-days-of-code
eaf4863d98dc273f03a989fe87d010d201d91516
[ "MIT" ]
1
2020-08-08T02:23:46.000Z
2020-08-08T02:47:56.000Z
C++/StackV/main.cpp
iamsuryakant/100-days-of-code
eaf4863d98dc273f03a989fe87d010d201d91516
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; struct MyStack{ vector<int> v; void push(int x){ v.push_back(x); } int pop(){ int res=v.back(); v.pop_back(); return res; } int peek(){ return v.back(); } int size(){ return v.size(); }...
13.395349
28
0.467014
[ "vector" ]
e06aea4af23ca778d27d0a9fd4f25ee4ca332e55
3,933
cpp
C++
mirp_bin/mirp_create_reference.cpp
multiplemonomials/MIRP
ca4d36c0d5fd8ef42cb7bca4f09667f6e11f61c8
[ "BSD-3-Clause" ]
24
2017-07-05T19:40:31.000Z
2021-03-06T23:50:10.000Z
mirp_bin/mirp_create_reference.cpp
multiplemonomials/MIRP
ca4d36c0d5fd8ef42cb7bca4f09667f6e11f61c8
[ "BSD-3-Clause" ]
6
2017-09-22T18:06:47.000Z
2021-11-16T03:39:33.000Z
mirp_bin/mirp_create_reference.cpp
multiplemonomials/MIRP
ca4d36c0d5fd8ef42cb7bca4f09667f6e11f61c8
[ "BSD-3-Clause" ]
1
2021-02-27T02:04:06.000Z
2021-02-27T02:04:06.000Z
/*! \file * * \brief mirp_create_reference main function */ #include "mirp_bin/cmdline.hpp" #include "mirp_bin/test_common.hpp" #include "mirp_bin/ref_integral.hpp" #include <mirp/kernels/all.h> #include <sstream> #include <iostream> #include <stdexcept> using namespace mirp; static void print_help(void) { ...
30.726563
109
0.489448
[ "geometry", "vector" ]
e07238d17f9ecbfaa9c4861ae66bc6dcee626329
8,115
cpp
C++
ogldev-source/tutorial46/tutorial46.cpp
maodougansidui/ucsb_cmpsc180
2a207838ce269c27fa0f9a601b5633e4327a6e3b
[ "MIT" ]
null
null
null
ogldev-source/tutorial46/tutorial46.cpp
maodougansidui/ucsb_cmpsc180
2a207838ce269c27fa0f9a601b5633e4327a6e3b
[ "MIT" ]
null
null
null
ogldev-source/tutorial46/tutorial46.cpp
maodougansidui/ucsb_cmpsc180
2a207838ce269c27fa0f9a601b5633e4327a6e3b
[ "MIT" ]
null
null
null
/* Copyright 2015 Etay Meiri 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 3 of the License, or (at your option) any later version. This program is distributed...
26.177419
88
0.587307
[ "mesh", "geometry", "render" ]
2fdfb925a25ba1af67c0f5c6ba6991d06cf29964
8,748
cpp
C++
3rdparty/wxWidgets/src/msw/fontenum.cpp
mikiec84/winsparkle
e73db4ddb3be830b36b58e2f90f4bee6a0c684b7
[ "MIT" ]
2
2015-01-10T09:15:16.000Z
2018-01-03T21:21:46.000Z
3rdparty/wxWidgets/src/msw/fontenum.cpp
mikiec84/winsparkle
e73db4ddb3be830b36b58e2f90f4bee6a0c684b7
[ "MIT" ]
null
null
null
3rdparty/wxWidgets/src/msw/fontenum.cpp
mikiec84/winsparkle
e73db4ddb3be830b36b58e2f90f4bee6a0c684b7
[ "MIT" ]
1
2019-01-20T12:55:33.000Z
2019-01-20T12:55:33.000Z
/////////////////////////////////////////////////////////////////////////////// // Name: src/msw/fontenum.cpp // Purpose: wxFontEnumerator class for Windows // Author: Julian Smart // Modified by: Vadim Zeitlin to add support for font encodings // Created: 04/01/98 // RCS-ID: $Id: fontenum.cpp ...
29.856655
114
0.536351
[ "object" ]
2fec197de5a3f2d985312bb1cede19a666283a9a
32,802
cpp
C++
tst/unit/geometry/test_geometry.cpp
lanl/phoebus
c570f42882c1c9e01e3bfe4b00b22e15a7a9992b
[ "BSD-3-Clause" ]
3
2022-03-24T22:09:12.000Z
2022-03-29T23:16:21.000Z
tst/unit/geometry/test_geometry.cpp
lanl/phoebus
c570f42882c1c9e01e3bfe4b00b22e15a7a9992b
[ "BSD-3-Clause" ]
8
2022-03-15T20:49:43.000Z
2022-03-29T17:45:04.000Z
tst/unit/geometry/test_geometry.cpp
lanl/phoebus
c570f42882c1c9e01e3bfe4b00b22e15a7a9992b
[ "BSD-3-Clause" ]
null
null
null
// © 2021. Triad National Security, LLC. All rights reserved. This // program was produced under U.S. Government contract // 89233218CNA000001 for Los Alamos National Laboratory (LANL), which // is operated by Triad National Security, LLC for the U.S. // Department of Energy/National Nuclear Security Administration. A...
44.872777
90
0.470642
[ "geometry", "object" ]
2ffede30e8768c6cffb16f75b21cebf61bd25d6c
3,692
cc
C++
chrome/browser/ui/views/hung_renderer_view_browsertest.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/ui/views/hung_renderer_view_browsertest.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/ui/views/hung_renderer_view_browsertest.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/ui/views/hung_renderer_view.h" #include <string> #include "base/bind_helpers.h" #include "chrome/browser/platform_util.h" #incl...
41.954545
80
0.749187
[ "model" ]
6405a749a596d0b6e430d009019c0f9b35e7552b
3,497
cpp
C++
training/POJ/3686.cpp
voleking/ICPC
fc2cf408fa2607ad29b01eb00a1a212e6d0860a5
[ "MIT" ]
68
2017-10-08T04:44:23.000Z
2019-08-06T20:15:02.000Z
training/POJ/3686.cpp
voleking/ICPC
fc2cf408fa2607ad29b01eb00a1a212e6d0860a5
[ "MIT" ]
null
null
null
training/POJ/3686.cpp
voleking/ICPC
fc2cf408fa2607ad29b01eb00a1a212e6d0860a5
[ "MIT" ]
18
2017-05-31T02:52:23.000Z
2019-07-05T09:18:34.000Z
// written at 16:21 on 22 Jan 2017 #include <cctype> #include <cfloat> #include <climits> #include <cmath> #include <cstdio> #include <cstdlib> #include <cstring> #include <iostream> #include <string> #include <sstream> #include <algorithm> #include <complex> #include <deque> #include <list> #include <map> #include <q...
28.900826
118
0.495854
[ "vector" ]
640707b9f739c3f4c47475aea0bb7d872074d98e
2,808
cpp
C++
example/GTest.cpp
Ambrou/GUnit
cd39485f0821d319357a5a72471c40606c9cb2c8
[ "BSL-1.0" ]
189
2017-01-06T19:50:24.000Z
2022-03-29T06:19:02.000Z
example/GTest.cpp
Ambrou/GUnit
cd39485f0821d319357a5a72471c40606c9cb2c8
[ "BSL-1.0" ]
46
2017-04-23T17:17:44.000Z
2022-03-18T10:18:30.000Z
example/GTest.cpp
Ambrou/GUnit
cd39485f0821d319357a5a72471c40606c9cb2c8
[ "BSL-1.0" ]
46
2017-01-02T12:02:45.000Z
2022-02-27T10:03:14.000Z
// // Copyright (c) 2016-2017 Kris Jusiak (kris at jusiak dot net) // // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // #include "GUnit/GTest.h" #include "GUnit/GMake.h" struct interface { virtual ~interface(...
21.6
80
0.612892
[ "vector" ]
640727529ba758e4b0b54d146375297c1adc7c74
568
hpp
C++
include/main_menu_scene.hpp
BokorBence/Jack-O-Lector
dde9a10be4b89ea1634b7945a99de7ea41862051
[ "MIT" ]
null
null
null
include/main_menu_scene.hpp
BokorBence/Jack-O-Lector
dde9a10be4b89ea1634b7945a99de7ea41862051
[ "MIT" ]
11
2021-09-30T14:25:02.000Z
2021-12-07T12:04:23.000Z
include/main_menu_scene.hpp
BokorBence/Jack-O-Lector
dde9a10be4b89ea1634b7945a99de7ea41862051
[ "MIT" ]
1
2021-10-03T13:23:39.000Z
2021-10-03T13:23:39.000Z
#pragma once #include "scene.hpp" #include "button.hpp" #include "SDL_image.h" #include "SDL.h" #include <vector> #include <string> class Main_menu_scene : public Scene { public: std::string title; Button* level_select; Button* quit; SDL_Surface* background; SDL_Surface* menu_title; SDL_Texture* background_tex; ...
21.037037
48
0.758803
[ "vector" ]
6412c90d004502f2717f0b8c93ea25c5f06d6567
831
cpp
C++
src/io/github/technicalnotes/programming/basics/12-function.cpp
chiragbhatia94/programming-cpp
efd6aa901deacf416a3ab599e6599845a8111eac
[ "MIT" ]
null
null
null
src/io/github/technicalnotes/programming/basics/12-function.cpp
chiragbhatia94/programming-cpp
efd6aa901deacf416a3ab599e6599845a8111eac
[ "MIT" ]
null
null
null
src/io/github/technicalnotes/programming/basics/12-function.cpp
chiragbhatia94/programming-cpp
efd6aa901deacf416a3ab599e6599845a8111eac
[ "MIT" ]
null
null
null
#include "bits/stdc++.h" // brings all the standard c++ functions // #include <iostream> // #include <string> // #include <vector> // #include <numeric> // #include <functional> using namespace std; // FUNCTION DECLARATION double addNumbers(double num1, double num2); int addN(int a, int n); // END FUNCTIO...
19.785714
66
0.561974
[ "vector" ]