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
ae9b82df54e85a99ace9949846d29c5e7050bb00
3,114
cpp
C++
flint/Checks/UniquePtrUsage.cpp
AaronDMarasco/FlintPlusPlus
d1e4afc99d8c0616b8574bf8edc52a92170c6e10
[ "BSL-1.0" ]
1
2020-08-11T21:58:41.000Z
2020-08-11T21:58:41.000Z
flint/Checks/UniquePtrUsage.cpp
AaronDMarasco/FlintPlusPlus
d1e4afc99d8c0616b8574bf8edc52a92170c6e10
[ "BSL-1.0" ]
null
null
null
flint/Checks/UniquePtrUsage.cpp
AaronDMarasco/FlintPlusPlus
d1e4afc99d8c0616b8574bf8edc52a92170c6e10
[ "BSL-1.0" ]
null
null
null
#include "../Checks.hpp" using namespace std; namespace flint { /** * Identifies incorrect usage of unique_ptr() with arrays. In other * words the unique_ptr is used with an array allocation, but not declared as * an array. The canonical example is: unique_ptr<Foo> Bar(new Foo[8]), which * compiles fine but shoul...
35.386364
108
0.596981
[ "vector" ]
000438d0c614a7c2a5d7cff9bbc30ebd894713fc
9,353
cpp
C++
src/ImageButton.cpp
cdcseacave/HDRView
b5f68a51cd7afaf3cb066ed94b3ebcf947116b33
[ "MIT" ]
21
2019-09-20T20:26:28.000Z
2022-03-22T02:36:48.000Z
src/ImageButton.cpp
ikrima/hdrview
8436cf9dc8973b13347c187dfa7152d15d5cfc45
[ "MIT" ]
4
2021-08-24T07:00:25.000Z
2021-10-07T13:44:36.000Z
src/ImageButton.cpp
ikrima/hdrview
8436cf9dc8973b13347c187dfa7152d15d5cfc45
[ "MIT" ]
7
2020-03-30T04:20:03.000Z
2022-02-22T13:57:39.000Z
// // Copyright (C) Wojciech Jarosz <wjarosz@gmail.com>. All rights reserved. // Use of this source code is governed by a BSD-style license that can // be found in the LICENSE.txt file. // // This file is adapted from tev: // This file was developed by Thomas Müller <thomas94@gmx.net>. // It is published under the BSD ...
29.41195
125
0.686625
[ "vector" ]
00081cf31f10d73ec927e6c080a8bbdfe260c185
13,178
cpp
C++
src/applications/utilities/mesh/manipulation/mergeMeshes/mergePolyMesh.cpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
src/applications/utilities/mesh/manipulation/mergeMeshes/mergePolyMesh.cpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
src/applications/utilities/mesh/manipulation/mergeMeshes/mergePolyMesh.cpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
/*---------------------------------------------------------------------------*\ Copyright (C) 2011-2015 OpenFOAM Foundation ------------------------------------------------------------------------------- License This file is part of CAELUS. CAELUS is free software: you can redistribute it and/or modify it ...
26.09505
79
0.491805
[ "mesh" ]
000dd9bc779b27b29eb053f1a07aa60e3025fcb7
3,280
cpp
C++
Projects/myth_graphics/myth_graphics/skybox.cpp
Mytherin/MythEngine
852f8126d926497715d736c7c8040a986f90be6b
[ "Apache-2.0" ]
null
null
null
Projects/myth_graphics/myth_graphics/skybox.cpp
Mytherin/MythEngine
852f8126d926497715d736c7c8040a986f90be6b
[ "Apache-2.0" ]
null
null
null
Projects/myth_graphics/myth_graphics/skybox.cpp
Mytherin/MythEngine
852f8126d926497715d736c7c8040a986f90be6b
[ "Apache-2.0" ]
1
2020-09-23T02:56:18.000Z
2020-09-23T02:56:18.000Z
#include <myth\debug\assert.h> #include <myth\generic\numerics.h> #include <myth\graphics\camera.h> #include <myth\graphics\modelmesh.h> #include <myth\graphics\renderingmanager.h> #include <myth\graphics\shaderprogram.h> #include <myth\graphics\skybox.h> #include <myth\graphics\texture.h> #include <myth\io\parser.h> ...
27.107438
121
0.741768
[ "render", "shape" ]
001979b8b21bca5a8e6075fb74b48e0ae58df405
921
cpp
C++
0182-Delete Digits/0182-Delete Digits.cpp
lightwindy/LintCode-1
316fa395c9a6de9bfac1d9c9cf58acb5ffb384a6
[ "MIT" ]
77
2017-12-30T13:33:37.000Z
2022-01-16T23:47:08.000Z
0101-0200/0182-Delete Digits/0182-Delete Digits.cpp
jxhangithub/LintCode-1
a8aecc65c47a944e9debad1971a7bc6b8776e48b
[ "MIT" ]
1
2018-05-14T14:15:40.000Z
2018-05-14T14:15:40.000Z
0101-0200/0182-Delete Digits/0182-Delete Digits.cpp
jxhangithub/LintCode-1
a8aecc65c47a944e9debad1971a7bc6b8776e48b
[ "MIT" ]
39
2017-12-07T14:36:25.000Z
2022-03-10T23:05:37.000Z
class Solution { public: /** *@param A: A positive integer which has N digits, A is a string. *@param k: Remove k digits. *@return: A string */ string DeleteDigits(string A, int k) { // wirte your code here int n = A.size(); if (n == k) { return ""...
20.466667
69
0.344191
[ "vector" ]
001c74d5b150b58cd909871dda0edce650fb9173
3,745
cpp
C++
Sources/Elastos/Packages/Apps/PhoneCommon/src/elastos/droid/phone/common/HapticFeedback.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
7
2017-07-13T10:34:54.000Z
2021-04-16T05:40:35.000Z
Sources/Elastos/Packages/Apps/PhoneCommon/src/elastos/droid/phone/common/HapticFeedback.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
null
null
null
Sources/Elastos/Packages/Apps/PhoneCommon/src/elastos/droid/phone/common/HapticFeedback.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
9
2017-07-13T12:33:20.000Z
2021-06-19T02:46:48.000Z
//========================================================================= // Copyright (C) 2012 The Elastos Open Source Project // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // ...
32.284483
110
0.65741
[ "object" ]
00208942783ae38dffa485bf42e48b1114f5f620
13,320
hpp
C++
src/core/common/as_core_type.hpp
ekmixon/openthread
3dcf0ba5442026850f83d24c937012a00940623b
[ "BSD-3-Clause" ]
5
2020-09-17T04:57:13.000Z
2021-04-26T12:41:53.000Z
src/core/common/as_core_type.hpp
ekmixon/openthread
3dcf0ba5442026850f83d24c937012a00940623b
[ "BSD-3-Clause" ]
2
2020-02-08T06:51:34.000Z
2020-12-19T19:25:48.000Z
src/core/common/as_core_type.hpp
ekmixon/openthread
3dcf0ba5442026850f83d24c937012a00940623b
[ "BSD-3-Clause" ]
1
2022-03-23T23:41:51.000Z
2022-03-23T23:41:51.000Z
/* * Copyright (c) 2021, The OpenThread Authors. * 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 ...
36.097561
119
0.750901
[ "object" ]
00295be7dc54f2e9e709d417042cf06ef6c34461
2,673
cpp
C++
commands/tri-cmd.cpp
lukas-ke/faint-graphics-editor
33eb9e6a3f2216fb2cf6ef9709a14f3d20b78fbf
[ "Apache-2.0" ]
10
2016-12-28T22:06:31.000Z
2021-05-24T13:42:30.000Z
commands/tri-cmd.cpp
lukas-ke/faint-graphics-editor
33eb9e6a3f2216fb2cf6ef9709a14f3d20b78fbf
[ "Apache-2.0" ]
4
2015-10-09T23:55:10.000Z
2020-04-04T08:09:22.000Z
commands/tri-cmd.cpp
lukas-ke/faint-graphics-editor
33eb9e6a3f2216fb2cf6ef9709a14f3d20b78fbf
[ "Apache-2.0" ]
null
null
null
// -*- coding: us-ascii-unix -*- // Copyright 2012 Lukas Kemmer // // 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 a...
26.205882
76
0.696596
[ "object" ]
0031b59b0d1124f4e326f15a43fd85c4faba9e6c
21,812
cpp
C++
src/serialization/onnx/net/layers/layers_onnx.cpp
deephealthproject/eddl
e6de5aaf5cf6308174ce40c3147ecd1b77a05357
[ "MIT" ]
30
2019-10-11T21:03:43.000Z
2022-02-17T19:56:15.000Z
src/serialization/onnx/net/layers/layers_onnx.cpp
deephealthproject/eddl
e6de5aaf5cf6308174ce40c3147ecd1b77a05357
[ "MIT" ]
151
2019-10-16T06:47:23.000Z
2022-03-07T15:15:58.000Z
src/serialization/onnx/net/layers/layers_onnx.cpp
deephealthproject/eddl
e6de5aaf5cf6308174ce40c3147ecd1b77a05357
[ "MIT" ]
20
2019-10-16T09:37:37.000Z
2022-02-22T09:47:14.000Z
#if defined(cPROTO) #include "eddl/serialization/onnx/layers/layers_onnx.h" #include "eddl/serialization/onnx/layers/core/dense_onnx.h" #include "eddl/serialization/onnx/layers/core/drop_onnx.h" #include "eddl/serialization/onnx/layers/core/reshape_onnx.h" #include "eddl/serialization/onnx/layers/core/activation_onnx.h...
44.423625
149
0.709701
[ "vector" ]
003255e8f3a32237dcf50a898fa17f5be9bc1baa
11,515
cpp
C++
main.cpp
hzh8311/face-alignment
96094cece199c31dc00fd57df47e0fa710805eb3
[ "BSD-2-Clause" ]
null
null
null
main.cpp
hzh8311/face-alignment
96094cece199c31dc00fd57df47e0fa710805eb3
[ "BSD-2-Clause" ]
null
null
null
main.cpp
hzh8311/face-alignment
96094cece199c31dc00fd57df47e0fa710805eb3
[ "BSD-2-Clause" ]
null
null
null
#include <opencv2/opencv.hpp> #include <iostream> #include <fstream> #include <string> #include <time.h> //#include <Windows.h> #include "headers.h" #include <sys/types.h> #include <sys/stat.h> #include <omp.h> using namespace cv; using namespace std; void CropFacialComponent(cv::Mat image, cv::Mat_<dou...
37.386364
118
0.570994
[ "shape", "vector", "model" ]
003ba555179a56f70a8c3953a959be5d41cbbd10
527
cpp
C++
tests/0500_keyboard_row_test.cpp
paulo-erichsen/leetcode
78543363f7f938bdbda75de9cdab645daa29466a
[ "MIT" ]
null
null
null
tests/0500_keyboard_row_test.cpp
paulo-erichsen/leetcode
78543363f7f938bdbda75de9cdab645daa29466a
[ "MIT" ]
null
null
null
tests/0500_keyboard_row_test.cpp
paulo-erichsen/leetcode
78543363f7f938bdbda75de9cdab645daa29466a
[ "MIT" ]
null
null
null
#include "0500_keyboard_row.cpp" #include <doctest/doctest.h> #include <string> TEST_CASE("keyboardRow1") { Solution solution = Solution(); std::vector<std::string> words{"Hello", "Alaska", "Dad", "Peace"}; std::vector<std::string> answer = solution.findWords(words); REQUIRE(answer.size() == 2); } TES...
26.35
70
0.658444
[ "vector" ]
003ec3cd770e26ab1988f44c55e5b21a827d2165
5,356
cc
C++
DQMOffline/Muon/src/GEMOfflineMonitor.cc
SWuchterl/cmssw
769b4a7ef81796579af7d626da6039dfa0347b8e
[ "Apache-2.0" ]
6
2017-09-08T14:12:56.000Z
2022-03-09T23:57:01.000Z
DQMOffline/Muon/src/GEMOfflineMonitor.cc
SWuchterl/cmssw
769b4a7ef81796579af7d626da6039dfa0347b8e
[ "Apache-2.0" ]
545
2017-09-19T17:10:19.000Z
2022-03-07T16:55:27.000Z
DQMOffline/Muon/src/GEMOfflineMonitor.cc
SWuchterl/cmssw
769b4a7ef81796579af7d626da6039dfa0347b8e
[ "Apache-2.0" ]
14
2017-10-04T09:47:21.000Z
2019-10-23T18:04:45.000Z
#include "DQMOffline/Muon/interface/GEMOfflineMonitor.h" #include "FWCore/MessageLogger/interface/MessageLogger.h" #include "FWCore/ParameterSet/interface/ParameterSetDescription.h" #include "Geometry/CommonTopologies/interface/StripTopology.h" #include "Geometry/Records/interface/MuonGeometryRecord.h" #include "DataF...
42.173228
120
0.700523
[ "geometry", "vector" ]
005c8e8939e23bb2026f4552f26b4ab23036d879
7,744
cpp
C++
display.cpp
SArehalli/SimpleLED
d26d72a289a6b4853acaf5d24167a83ab580db3d
[ "MIT" ]
null
null
null
display.cpp
SArehalli/SimpleLED
d26d72a289a6b4853acaf5d24167a83ab580db3d
[ "MIT" ]
null
null
null
display.cpp
SArehalli/SimpleLED
d26d72a289a6b4853acaf5d24167a83ab580db3d
[ "MIT" ]
null
null
null
#include <cstdlib> #include <stdint.h> #include <time.h> #include <iostream> #include <thread> #include <cmath> #include "display.h" #include "errors.h" extern "C" { #include "gpio.h" } /* Display methods */ /* * CONSTRUCTOR * Dynamically allocates matrix */ Display::Display(int h, int w) { height =...
24.506329
82
0.525956
[ "model" ]
007a19b6cd1d9c00d9c36e950435584d0bd8fc4d
2,564
cpp
C++
src/base/hasher.cpp
lawarner/aft
fd2b6b97bedd2be3ccb1739b890aeea6aa2f9603
[ "Apache-2.0" ]
null
null
null
src/base/hasher.cpp
lawarner/aft
fd2b6b97bedd2be3ccb1739b890aeea6aa2f9603
[ "Apache-2.0" ]
null
null
null
src/base/hasher.cpp
lawarner/aft
fd2b6b97bedd2be3ccb1739b890aeea6aa2f9603
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2016 Andy Warner * * 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...
21.91453
77
0.622075
[ "vector" ]
00808ad261565aac456efbde37471e46ec0b7a5a
4,127
cpp
C++
simulinkwave/wave.cpp
wdther/MeasurementAndControl_Qt
84f1d02ffeab20c67e39b0ba27ed6e0b8a13bab3
[ "Apache-2.0" ]
9
2020-11-07T05:54:19.000Z
2022-03-09T13:56:57.000Z
simulinkwave/wave.cpp
wdther/MeasurementAndControl_Qt
84f1d02ffeab20c67e39b0ba27ed6e0b8a13bab3
[ "Apache-2.0" ]
null
null
null
simulinkwave/wave.cpp
wdther/MeasurementAndControl_Qt
84f1d02ffeab20c67e39b0ba27ed6e0b8a13bab3
[ "Apache-2.0" ]
6
2020-11-05T17:39:12.000Z
2021-09-03T02:57:45.000Z
// // Academic License - for use in teaching, academic research, and meeting // course requirements at degree granting institutions only. Not for // government, commercial, or other organizational use. // // File: wave.cpp // // Code generated for Simulink model 'wave'. // // Model version : 1.0 // Si...
28.267123
91
0.67749
[ "object", "model" ]
0a525d42d384bc03b8cdb7e4e96dd59b2ced497b
768
cpp
C++
longest_substring_without_repeating_characters.cpp
zhoujqia/leetcode
5e620a22d34762af329d5d7df1e8688949353fa1
[ "MIT" ]
null
null
null
longest_substring_without_repeating_characters.cpp
zhoujqia/leetcode
5e620a22d34762af329d5d7df1e8688949353fa1
[ "MIT" ]
null
null
null
longest_substring_without_repeating_characters.cpp
zhoujqia/leetcode
5e620a22d34762af329d5d7df1e8688949353fa1
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <ctime> #include <cstdlib> #include <utility> #include <queue> #include <set> #include <algorithm> using namespace std; class Solution { public: int lengthOfLongestSubstring(string s) { int len = s.length(); int longest = 0; int sta...
18.731707
49
0.513021
[ "vector" ]
0a59d65171dff150d8d254590497c7bebfd5ad33
16,790
cpp
C++
vr/vr_rt/src/vr/market/cap/asx/glimpse_capture.cpp
vladium/vrt
57394a630c306b7529dbe4574036ea71420d00cf
[ "MIT" ]
4
2019-09-09T22:08:40.000Z
2021-05-17T13:43:31.000Z
vr/vr_rt/src/vr/market/cap/asx/glimpse_capture.cpp
vladium/vrt
57394a630c306b7529dbe4574036ea71420d00cf
[ "MIT" ]
null
null
null
vr/vr_rt/src/vr/market/cap/asx/glimpse_capture.cpp
vladium/vrt
57394a630c306b7529dbe4574036ea71420d00cf
[ "MIT" ]
1
2019-09-09T15:46:20.000Z
2019-09-09T15:46:20.000Z
#include "vr/market/cap/asx/glimpse_capture.h" #include "vr/io/files.h" #include "vr/io/links/TCP_link.h" #include "vr/market/events/market_event_context.h" #include "vr/market/sources/asx/market_data.h" #include "vr/io/net/defs.h" #include "vr/rt/timer_queue/timer_queue.h" #include "vr/sys/os.h" #include "vr/mc/boun...
37.64574
219
0.488565
[ "vector" ]
0a6c1b10f4ba9db118614e1ff6faa8fcc090c5ce
207
cc
C++
0015_3Sum/0015.cc
LuciusKyle/LeetCode
66c9090e5244b10eca0be50398764da2b4b48a6c
[ "Apache-2.0" ]
null
null
null
0015_3Sum/0015.cc
LuciusKyle/LeetCode
66c9090e5244b10eca0be50398764da2b4b48a6c
[ "Apache-2.0" ]
null
null
null
0015_3Sum/0015.cc
LuciusKyle/LeetCode
66c9090e5244b10eca0be50398764da2b4b48a6c
[ "Apache-2.0" ]
null
null
null
#include <assert.h> #include <vector> #include<algorithm> using std::vector; class Solution { public: vector<vector<int>> threeSum(vector<int>& nums) { std::sort(nums.begin(), nums.end()); } };
13.8
51
0.652174
[ "vector" ]
0a7049d1fdd457a9b4777836f8d7384d5638cc60
4,076
hpp
C++
include/mpp/timer.hpp
evgeniy1294/mppbase
13cb4ea1bb1c2c6a7ea9fbfb3eca8ad0ee6a0528
[ "BSD-3-Clause" ]
null
null
null
include/mpp/timer.hpp
evgeniy1294/mppbase
13cb4ea1bb1c2c6a7ea9fbfb3eca8ad0ee6a0528
[ "BSD-3-Clause" ]
null
null
null
include/mpp/timer.hpp
evgeniy1294/mppbase
13cb4ea1bb1c2c6a7ea9fbfb3eca8ad0ee6a0528
[ "BSD-3-Clause" ]
null
null
null
#pragma once #include <cstdint> #include <mpp/mixin.hpp> #include <mpp/linked_list.hpp> namespace mpp { using Time = uint32_t; class Timer; class TimerScheduler: public NonCopyable< TimerScheduler > { friend class Timer; public: typedef Time (TimeSource)(); TimerScheduler( TimeSourc...
19.786408
115
0.628312
[ "object" ]
0a8ed072e3897f7a83c31bbd3b058244695c4be2
1,946
cpp
C++
UpsideDown/Motor2D/j1Heart.cpp
JosepLleal/Platformer_Game
cdb6fbfc80e05ff79add7ddcba2dcbbc2cbd2d41
[ "MIT" ]
null
null
null
UpsideDown/Motor2D/j1Heart.cpp
JosepLleal/Platformer_Game
cdb6fbfc80e05ff79add7ddcba2dcbbc2cbd2d41
[ "MIT" ]
null
null
null
UpsideDown/Motor2D/j1Heart.cpp
JosepLleal/Platformer_Game
cdb6fbfc80e05ff79add7ddcba2dcbbc2cbd2d41
[ "MIT" ]
1
2021-02-26T10:47:14.000Z
2021-02-26T10:47:14.000Z
#include "j1App.h" #include "j1Collision.h" #include "j1Player.h" #include "j1Scene.h" #include "j1Map.h" #include "j1Heart.h" #include "j1Scene.h" j1Heart::j1Heart(int x, int y, EntityType Type) : j1Entity(x, y, Type) { current_animation = NULL; idle.LoadAnimations("heart", "idle"); position.x = x; position.y = ...
17.853211
122
0.680884
[ "render" ]
0a9372ce247ec3c6393e0587a6d04c49ea03fddd
4,757
cpp
C++
src/global_linear.cpp
YnkDK/BioSeq-Project2
db4cd1d0fd31ee5e4f8ad38b2a502dc3f0f59163
[ "MIT" ]
null
null
null
src/global_linear.cpp
YnkDK/BioSeq-Project2
db4cd1d0fd31ee5e4f8ad38b2a502dc3f0f59163
[ "MIT" ]
8
2015-09-03T09:41:37.000Z
2015-09-04T15:30:48.000Z
src/global_linear.cpp
YnkDK/BioSeq-Project2
db4cd1d0fd31ee5e4f8ad38b2a502dc3f0f59163
[ "MIT" ]
null
null
null
/* ------------------------------------------------------------------------------------- ** This software is implemented as part of the course ** Algorithms in Bioinformatics - Sequences Q1/2015 ** at Aarhus Univerity Denmark. ** ** global_linear.cpp ** The .cpp file where all the functions of the global linear alg...
27.182857
110
0.474038
[ "vector" ]
0a99ae1bb7ac809da0a1458266c18f5677f4e402
3,063
cpp
C++
MonoNative.Tests/mscorlib/System/mscorlib_System_SByte_Fixture.cpp
brunolauze/MonoNative
959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66
[ "BSD-2-Clause" ]
7
2015-03-10T03:36:16.000Z
2021-11-05T01:16:58.000Z
MonoNative.Tests/mscorlib/System/mscorlib_System_SByte_Fixture.cpp
brunolauze/MonoNative
959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66
[ "BSD-2-Clause" ]
1
2020-06-23T10:02:33.000Z
2020-06-24T02:05:47.000Z
MonoNative.Tests/mscorlib/System/mscorlib_System_SByte_Fixture.cpp
brunolauze/MonoNative
959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66
[ "BSD-2-Clause" ]
null
null
null
// Mono Native Fixture // Assembly: mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 // Namespace: System // Name: SByte // C++ Typed Name: mscorlib::System::SByte #include <gtest/gtest.h> #include <mscorlib/System/mscorlib_System_SByte.h> #include <mscorlib/System/mscorlib_System_String.h>...
19.76129
182
0.710088
[ "object" ]
0aa9b1abdc259fa180ebb0b4a8e9542830a91f73
10,219
cpp
C++
pex-loader/test/src/test.cpp
kodo-pp/pyke
3d216911819087b123126831fb702d2bb0cc240f
[ "Apache-2.0" ]
1
2020-11-27T23:09:46.000Z
2020-11-27T23:09:46.000Z
pex-loader/test/src/test.cpp
kodo-pp/pyke
3d216911819087b123126831fb702d2bb0cc240f
[ "Apache-2.0" ]
null
null
null
pex-loader/test/src/test.cpp
kodo-pp/pyke
3d216911819087b123126831fb702d2bb0cc240f
[ "Apache-2.0" ]
null
null
null
#define CATCH_CONFIG_MAIN #define CATCH_CONFIG_FAST_COMPILE #include <catch.hpp> #include <pex_loader/data_reader.hpp> #include <pex_loader/pex_loader.hpp> #include <pex_loader/read_uint.hpp> #include <list> #include <string_view> #include <vector> using namespace std::literals; using Catch::Matchers::Predicate; ...
32.964516
113
0.535375
[ "vector" ]
0aafa68363a6986eee92793faad83ee4023f4cca
2,804
cc
C++
quickbi-public/src/model/QueryWorksByOrganizationRequest.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "Apache-2.0" ]
89
2018-02-02T03:54:39.000Z
2021-12-13T01:32:55.000Z
quickbi-public/src/model/QueryWorksByOrganizationRequest.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "Apache-2.0" ]
89
2018-03-14T07:44:54.000Z
2021-11-26T07:43:25.000Z
quickbi-public/src/model/QueryWorksByOrganizationRequest.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...
26.205607
85
0.771041
[ "model" ]
0ab2e97d675dc2db202253c0acd964f7d67e7d8d
5,428
hxx
C++
include/generated/tf2_msgs/FrameGraphResponse.hxx
dkargin/miniroscpp
d62e3ff98256112fcd58ebc2c61ea07803987522
[ "BSD-4-Clause" ]
2
2021-06-13T13:59:53.000Z
2021-08-31T09:46:08.000Z
include/generated/tf2_msgs/FrameGraphResponse.hxx
dkargin/miniroscpp
d62e3ff98256112fcd58ebc2c61ea07803987522
[ "BSD-4-Clause" ]
1
2021-06-13T15:45:28.000Z
2022-01-03T09:34:31.000Z
include/generated/tf2_msgs/FrameGraphResponse.hxx
dkargin/miniroscpp
d62e3ff98256112fcd58ebc2c61ea07803987522
[ "BSD-4-Clause" ]
1
2022-02-28T15:21:32.000Z
2022-02-28T15:21:32.000Z
// Generated by gencxx from file tf2_msgs/FrameGraphResponse.msg // DO NOT EDIT! #pragma once #include <string> #include <vector> #include <map> #include <array> #include <miniros/types.h> #include <miniros/serialization.h> #include <miniros/traits/builtin_message_traits.h> #include <miniros/message_operations.h> ...
29.026738
441
0.750737
[ "vector" ]
0ab3c25c7a022ffd4916913ca9c8194c2d818dda
9,433
cpp
C++
Engine/src/Core/image.cpp
SpectralCascade/ossium
f9d00de8313c0f91942eb311c20de8d74aa41735
[ "MIT" ]
1
2019-01-02T15:35:05.000Z
2019-01-02T15:35:05.000Z
Engine/src/Core/image.cpp
SpectralCascade/ossium
f9d00de8313c0f91942eb311c20de8d74aa41735
[ "MIT" ]
2
2018-11-11T21:29:05.000Z
2019-01-02T15:34:10.000Z
Engine/src/Core/image.cpp
SpectralCascade/ossium
f9d00de8313c0f91942eb311c20de8d74aa41735
[ "MIT" ]
null
null
null
/** COPYRIGHT NOTICE * * Ossium Engine * Copyright (c) 2018-2020 Tim Lane * * This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. * * Permission is granted to anyone to use this software...
26.874644
247
0.547546
[ "render" ]
0ab3e743ffff38446b4e7cee1fdd63a61cdc32aa
5,037
cpp
C++
gecode/einstein_opl.cpp
Wikunia/hakank
030bc928d2efe8dcbc5118bda3f8ae9575d0fd13
[ "MIT" ]
279
2015-01-10T09:55:35.000Z
2022-03-28T02:34:03.000Z
gecode/einstein_opl.cpp
Wikunia/hakank
030bc928d2efe8dcbc5118bda3f8ae9575d0fd13
[ "MIT" ]
10
2017-10-05T15:48:50.000Z
2021-09-20T12:06:52.000Z
gecode/einstein_opl.cpp
Wikunia/hakank
030bc928d2efe8dcbc5118bda3f8ae9575d0fd13
[ "MIT" ]
83
2015-01-20T03:44:00.000Z
2022-03-13T23:53:06.000Z
/* Einstein puzzle in Gecode. This is a Gecode version of the OPL code presented in Daniel Selman's "Einstein's Puzzle - Or, 'The Right Tool for the Job'" http://blogs.ilog.com/brms/2009/02/16/einsteins-puzzle/ """ * Norwegian cats water Dunhill yellow * Dane horses tea Blends blue * Brit birds milk ...
27.227027
78
0.609688
[ "model" ]
0abdae989805ba15df9d2e2897a6024396348250
9,683
cpp
C++
src/tinypt/pybind.cpp
li-plus/tinypt
6e9e3992dbc91ce8bd18bb812661ecb116ca1af8
[ "MIT" ]
3
2021-09-23T03:34:09.000Z
2021-09-24T05:47:56.000Z
src/tinypt/pybind.cpp
li-plus/path-tracing
6e9e3992dbc91ce8bd18bb812661ecb116ca1af8
[ "MIT" ]
null
null
null
src/tinypt/pybind.cpp
li-plus/path-tracing
6e9e3992dbc91ce8bd18bb812661ecb116ca1af8
[ "MIT" ]
null
null
null
#include "tinypt/tinypt.h" #include <pybind11/eigen.h> #include <pybind11/numpy.h> #include <pybind11/pybind11.h> #include <pybind11/stl.h> namespace tinypt { namespace py = pybind11; class PyObject3d : public Object { public: using Object::Object; Vec3f location() const override { PYBIND11_OVERRIDE_PURE...
52.625
120
0.654756
[ "render", "object", "shape", "vector" ]
0acb8137ebb662b74da290b9d267d214e7e50875
667
cpp
C++
FenestraEngine/main.cpp
lempamo/FenestraEngine
d0e6b59315e4dfc32b08245cbb767219dec54daa
[ "MIT" ]
null
null
null
FenestraEngine/main.cpp
lempamo/FenestraEngine
d0e6b59315e4dfc32b08245cbb767219dec54daa
[ "MIT" ]
null
null
null
FenestraEngine/main.cpp
lempamo/FenestraEngine
d0e6b59315e4dfc32b08245cbb767219dec54daa
[ "MIT" ]
1
2018-07-06T17:28:29.000Z
2018-07-06T17:28:29.000Z
#include <SFML/Graphics.hpp> #include <FL/Fl.h> #include <FL/Fl_Box.h> #include <FL/Fl_Window.h> int main() { Fl_Window window(200, 200, "Window title"); Fl_Box box(0, 0, 200, 200, "Hey, I mean, Hello, World!"); window.show(); return Fl::run(); } /*int main() { sf::RenderWindow window(sf::VideoMod...
19.057143
66
0.604198
[ "shape" ]
bd5bb7c9550a5295ec3a78614e90e9bcbcdb344a
7,457
cpp
C++
Reconstruction/RegisterFragments.cpp
complexrehabsystems/Open3DReconstruction
9bb920fd66db61afa81312d17ecc3ab91169799e
[ "MIT" ]
4
2018-12-04T09:31:25.000Z
2021-03-31T20:28:25.000Z
Reconstruction/RegisterFragments.cpp
complexrehabsystems/Open3DReconstruction
9bb920fd66db61afa81312d17ecc3ab91169799e
[ "MIT" ]
null
null
null
Reconstruction/RegisterFragments.cpp
complexrehabsystems/Open3DReconstruction
9bb920fd66db61afa81312d17ecc3ab91169799e
[ "MIT" ]
1
2019-12-02T16:14:47.000Z
2019-12-02T16:14:47.000Z
#include "RegisterFragments.h" #include "Helpers.h" #include "Common.h" #include "OptimizePoseGraph.h" #include <Windows.h> #include <Open3D/Core/Core.h> #include <Open3D/Core/Registration/FastGlobalRegistration.h> #include <Open3D/IO/IO.h> #include <iostream> #include <tuple> #include <cstdio> using namespace open3...
28.903101
141
0.696259
[ "vector" ]
bd6aa17569f0b6ddee2defefd46e68a7aa6ab563
12,930
hpp
C++
duds/hardware/devices/displays/ST7920.hpp
jjackowski/duds
0fc4eec0face95c13575672f2a2d8625517c9469
[ "BSD-2-Clause" ]
null
null
null
duds/hardware/devices/displays/ST7920.hpp
jjackowski/duds
0fc4eec0face95c13575672f2a2d8625517c9469
[ "BSD-2-Clause" ]
null
null
null
duds/hardware/devices/displays/ST7920.hpp
jjackowski/duds
0fc4eec0face95c13575672f2a2d8625517c9469
[ "BSD-2-Clause" ]
null
null
null
/* * This file is part of the DUDS project. It is subject to the BSD-style * license terms in the LICENSE file found in the top-level directory of this * distribution and at https://github.com/jjackowski/duds/blob/master/LICENSE. * No part of DUDS, including this file, may be copied, modified, propagated, * or dis...
43.389262
104
0.650425
[ "object", "vector" ]
bd6e8554531e4d2bea3b3c6ccba3c3c91c5fd54d
43,274
cpp
C++
Engine/Plugins/Experimental/ControlRig/Source/ControlRigEditor/Private/HumanRigDetails.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
1
2022-01-29T18:36:12.000Z
2022-01-29T18:36:12.000Z
Engine/Plugins/Experimental/ControlRig/Source/ControlRigEditor/Private/HumanRigDetails.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
Engine/Plugins/Experimental/ControlRig/Source/ControlRigEditor/Private/HumanRigDetails.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved. #include "HumanRigDetails.h" #include "UObject/Class.h" #include "HumanRig.h" #include "DetailLayoutBuilder.h" #include "DetailCategoryBuilder.h" #include "DetailWidgetRow.h" #include "PropertyCustomizationHelpers.h" #include "Widgets/Input/SSearchBox.h" #i...
27.668798
153
0.70763
[ "mesh", "transform" ]
bd776439f367e41d41669a273bb108ddf1858e03
32,484
cpp
C++
Plugins/CustomGravityPlugin/Intermediate/Build/Win64/UE4Editor/Inc/CustomGravityPlugin/PhysicsBallPawn.gen.cpp
splitDEV/UE4-CustomGravityPlugin
bd8f0eaba1523794df79830e803a7f857b774e0f
[ "MIT" ]
4
2022-02-19T05:39:30.000Z
2022-03-01T02:01:27.000Z
Plugins/CustomGravityPlugin/Intermediate/Build/Win64/UE4Editor/Inc/CustomGravityPlugin/PhysicsBallPawn.gen.cpp
Sabrave/PluginGravity
30e6a872d92d38b0a7e75c514a22445510ee77d9
[ "MIT" ]
null
null
null
Plugins/CustomGravityPlugin/Intermediate/Build/Win64/UE4Editor/Inc/CustomGravityPlugin/PhysicsBallPawn.gen.cpp
Sabrave/PluginGravity
30e6a872d92d38b0a7e75c514a22445510ee77d9
[ "MIT" ]
null
null
null
// Copyright Epic Games, Inc. All Rights Reserved. /*=========================================================================== Generated code exported from UnrealHeaderTool. DO NOT modify this manually! Edit the corresponding .h files instead! ========================================================================...
66.429448
758
0.829608
[ "object" ]
bd77c9a945838109c7a33fc17894b1a6a5339ffc
17,449
cpp
C++
depends/work/build/i686-w64-mingw32/qt/5.9.7-f2560c1efa6/qttools/src/winrtrunner/appxphoneengine.cpp
GrinCash/Grinc-core
1377979453ba84082f70f9c128be38e57b65a909
[ "MIT" ]
null
null
null
depends/work/build/i686-w64-mingw32/qt/5.9.7-f2560c1efa6/qttools/src/winrtrunner/appxphoneengine.cpp
GrinCash/Grinc-core
1377979453ba84082f70f9c128be38e57b65a909
[ "MIT" ]
null
null
null
depends/work/build/i686-w64-mingw32/qt/5.9.7-f2560c1efa6/qttools/src/winrtrunner/appxphoneengine.cpp
GrinCash/Grinc-core
1377979453ba84082f70f9c128be38e57b65a909
[ "MIT" ]
null
null
null
/**************************************************************************** ** ** Copyright (C) 2017 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of the tools applications of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** Commercial License Usage ** Licensees holding valid co...
31.841241
124
0.670124
[ "object" ]
bd840ecbdb59679835738fcc94cd908f9409af0d
2,917
hpp
C++
src/world/entity.hpp
mattvchandler/mazerun
2aa9a5766973993c2a83061d3a004691c2b07c09
[ "MIT" ]
1
2019-05-19T15:15:48.000Z
2019-05-19T15:15:48.000Z
src/world/entity.hpp
mattvchandler/mazerun
2aa9a5766973993c2a83061d3a004691c2b07c09
[ "MIT" ]
null
null
null
src/world/entity.hpp
mattvchandler/mazerun
2aa9a5766973993c2a83061d3a004691c2b07c09
[ "MIT" ]
null
null
null
// entity.hpp // main entity class // Copyright 2015 Matthew Chandler // 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 u...
30.705263
80
0.683579
[ "vector", "model" ]
bd870d4ab902de8c08f41e0658accdf935e2f5a0
1,603
cpp
C++
chapter_12/pp199.cpp
hbatagelo/a_tour_of_cpp
11b177ff9ae25df8945c2a7b01a1abfa6e8f3f92
[ "Unlicense" ]
null
null
null
chapter_12/pp199.cpp
hbatagelo/a_tour_of_cpp
11b177ff9ae25df8945c2a7b01a1abfa6e8f3f92
[ "Unlicense" ]
null
null
null
chapter_12/pp199.cpp
hbatagelo/a_tour_of_cpp
11b177ff9ae25df8945c2a7b01a1abfa6e8f3f92
[ "Unlicense" ]
null
null
null
#include <algorithm> #include <iostream> #include <iterator> #include <list> #include <string> #include <vector> struct Entry { std::string name; int number{}; // auto operator<=>(const Entry&) const noexcept = default; }; bool operator<(const Entry& lhs, const Entry& rhs) { return (lhs.name == rhs.name) ? (l...
26.716667
80
0.538366
[ "vector" ]
bd8ceb6894ca2da1ab8b4e760ae90e15c19803ca
1,617
cpp
C++
src/Sphere.cpp
davidsami/RayRay
921eb36953735911f5c255ceab6121245615462c
[ "MIT" ]
null
null
null
src/Sphere.cpp
davidsami/RayRay
921eb36953735911f5c255ceab6121245615462c
[ "MIT" ]
null
null
null
src/Sphere.cpp
davidsami/RayRay
921eb36953735911f5c255ceab6121245615462c
[ "MIT" ]
null
null
null
// David Sami 2015 #include "Sphere.h" Sphere::Sphere(Colour aColour, Material aMaterial, Math::Transform aTransform, double aRadius): Shape(aColour, aMaterial, aTransform), mRadius(aRadius) { OnTransformChange(); } bool Sphere::CheckIntersect(const Math::Ray& aRay, double* aIntersection){ // Bring t...
26.080645
95
0.584416
[ "object", "shape", "vector", "transform" ]
bd9018eaf8d6142d1b699f6ce1e8a8c93459d872
4,008
cpp
C++
Game/Client/CEGUI/CEGUI/WidgetSets/Falagard/src/FalStaticImage.cpp
hackerlank/SourceCode
b702c9e0a9ca5d86933f3c827abb02a18ffc9a59
[ "MIT" ]
4
2021-07-31T13:56:01.000Z
2021-11-13T02:55:10.000Z
Game/Client/CEGUI/CEGUI/WidgetSets/Falagard/src/FalStaticImage.cpp
shacojx/SourceCodeGameTLBB
e3cea615b06761c2098a05427a5f41c236b71bf7
[ "MIT" ]
null
null
null
Game/Client/CEGUI/CEGUI/WidgetSets/Falagard/src/FalStaticImage.cpp
shacojx/SourceCodeGameTLBB
e3cea615b06761c2098a05427a5f41c236b71bf7
[ "MIT" ]
7
2021-08-31T14:34:23.000Z
2022-01-19T08:25:58.000Z
/************************************************************************ filename: FalStaticImage.cpp created: Tue Jul 5 2005 author: Paul D Turner <paul@cegui.org.uk> *************************************************************************/ /******************************************************...
37.111111
123
0.571357
[ "render" ]
bd9cc04a430920f7862a191c4ab66b9166bedc9b
779
cpp
C++
Tree Algorithms/Company Queries I.cpp
DecSP/cses-downloader
12a8f37665a33f6f790bd2c355f84dea8a0e332c
[ "MIT" ]
2
2022-02-12T12:30:13.000Z
2022-02-12T13:59:20.000Z
Tree Algorithms/Company Queries I.cpp
DecSP/cses-downloader
12a8f37665a33f6f790bd2c355f84dea8a0e332c
[ "MIT" ]
2
2022-02-12T11:09:41.000Z
2022-02-12T11:55:49.000Z
Tree Algorithms/Company Queries I.cpp
DecSP/cses-downloader
12a8f37665a33f6f790bd2c355f84dea8a0e332c
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; vector<vector<int>> adjList; int up[(int)(2e5+1.5)][20] {}; int n,q; void dfs(int curr,int pre){ up[curr][0]=pre; for (int i=1;i<20;++i){ if (up[curr][i-1]==-1) up[curr][i]=-1; else up[curr][i]=up[up[curr][i-1]][i-1]; } for (int &v:adjList[curr]){ dfs(v,curr); ...
16.934783
43
0.539153
[ "vector" ]
bda177700fd3754111d18a92244a9b1d40f2c55d
5,015
cc
C++
benchmark/benchfindint.cc
ktprime/str
b92366ad07019827a3ca12b44a268fff22d6976b
[ "MIT" ]
null
null
null
benchmark/benchfindint.cc
ktprime/str
b92366ad07019827a3ca12b44a268fff22d6976b
[ "MIT" ]
null
null
null
benchmark/benchfindint.cc
ktprime/str
b92366ad07019827a3ca12b44a268fff22d6976b
[ "MIT" ]
null
null
null
//#include <bits/stdc++.h> #include "../StrHash.h" #include "tsl/robin_map.h" #include "tsl/hopscotch_map.h" #include "robin_hood.h" #define EMH_BUCKET_INDEX 2 #include "emhash/hash_table7.hpp" #include "emhash/hash_table5.hpp" #include "emhash/hash_table8.hpp" #include "sparsehash/dense_hash_map" #include "phmap/phm...
25.850515
158
0.588036
[ "vector" ]
bdac2fb6b80a4499194327498480dd13cd27b85b
73,058
cpp
C++
wdbecmbd/IexWdbe/IexWdbeBdd.cpp
mpsitech/wdbe-WhizniumDBE
27360ce6569dc55098a248b8a0a4b7e3913a6ce6
[ "MIT" ]
4
2020-10-27T14:33:25.000Z
2021-08-07T20:55:42.000Z
wdbecmbd/IexWdbe/IexWdbeBdd.cpp
mpsitech/wdbe-WhizniumDBE
27360ce6569dc55098a248b8a0a4b7e3913a6ce6
[ "MIT" ]
null
null
null
wdbecmbd/IexWdbe/IexWdbeBdd.cpp
mpsitech/wdbe-WhizniumDBE
27360ce6569dc55098a248b8a0a4b7e3913a6ce6
[ "MIT" ]
null
null
null
/** * \file IexWdbeBdd.cpp * data blocks and readers/writers for import/export complex IexWdbeBdd (implementation) * \copyright (C) 2020 MPSI Technologies GmbH * \author Alexander Wirthmueller (auto-generation) * \date created: 28 Nov 2020 */ // IP header --- ABOVE #include "IexWdbeBdd.h" using namespace std; u...
28.87668
441
0.637918
[ "vector" ]
bdae3e605effff7c3f759da8c598164e246da5ba
944
cpp
C++
clang/lib/StaticAnalyzer/Core/CommonBugCategories.cpp
medismailben/llvm-project
e334a839032fe500c3bba22bf976ab7af13ce1c1
[ "Apache-2.0" ]
3,102
2015-01-04T02:28:35.000Z
2022-03-30T12:53:41.000Z
clang/lib/StaticAnalyzer/Core/CommonBugCategories.cpp
medismailben/llvm-project
e334a839032fe500c3bba22bf976ab7af13ce1c1
[ "Apache-2.0" ]
35
2016-07-25T01:23:07.000Z
2021-09-27T16:05:50.000Z
clang/lib/StaticAnalyzer/Core/CommonBugCategories.cpp
medismailben/llvm-project
e334a839032fe500c3bba22bf976ab7af13ce1c1
[ "Apache-2.0" ]
1,868
2015-01-03T04:27:11.000Z
2022-03-25T13:37:35.000Z
//=--- CommonBugCategories.cpp - Provides common issue categories -*- C++ -*-=// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
42.909091
80
0.682203
[ "object" ]
bdb420b47c446fee0eba90a0393e9de9f256309a
1,340
hpp
C++
src/tx/order.hpp
wavesplatform/wavespp
9505613e01b19e5a73dfb90e9569323be98a3852
[ "MIT" ]
2
2019-10-21T12:50:19.000Z
2019-11-13T12:09:42.000Z
src/tx/order.hpp
wavesplatform/wavespp
9505613e01b19e5a73dfb90e9569323be98a3852
[ "MIT" ]
null
null
null
src/tx/order.hpp
wavesplatform/wavespp
9505613e01b19e5a73dfb90e9569323be98a3852
[ "MIT" ]
2
2019-10-21T12:02:23.000Z
2022-03-07T11:06:32.000Z
#ifndef __WAVESPP_TX_ORDER_HPP_6945__ #define __WAVESPP_TX_ORDER_HPP_6945__ #include "base.hpp" namespace wavespp { enum class OrderType { BUY = 0, SELL = 1 }; class OrderBuilder { public: OrderBuilder(); OrderBuilder& setVersion(uint8_t v); OrderBuilder& setOrderType(OrderType order_type); ...
26.8
68
0.739552
[ "vector" ]
bdb61d11d6f347f1018de71f3a4825575a171137
1,152
hpp
C++
include/dp/IsMatch.hpp
wanhaipeng/happen-code
2f41b6ba567e7aa300bc3c5476db02d1b8793946
[ "Apache-2.0" ]
null
null
null
include/dp/IsMatch.hpp
wanhaipeng/happen-code
2f41b6ba567e7aa300bc3c5476db02d1b8793946
[ "Apache-2.0" ]
null
null
null
include/dp/IsMatch.hpp
wanhaipeng/happen-code
2f41b6ba567e7aa300bc3c5476db02d1b8793946
[ "Apache-2.0" ]
null
null
null
/** @file IsMatch.hpp * @brief LeetCode problems 10: IsMatch implementation * @author ppeng * @date 2019-06-18 */ #pragma once #include <iostream> #include <string> #include <vector> #include <algorithm> #include "extend.hpp" /** * s:aa p:a false * s:aa p:a* true * s:ab p:.* true * s:aab p:c*a*b tr...
27.428571
86
0.473958
[ "vector" ]
bdb641c973c14fcd44e473c527965d8c3b171e31
3,761
cpp
C++
HW2/logisitic_regression.cpp
All4win2009/DataMining
186f68007f8363a40ccae9650ffbf2890dca23da
[ "MIT" ]
null
null
null
HW2/logisitic_regression.cpp
All4win2009/DataMining
186f68007f8363a40ccae9650ffbf2890dca23da
[ "MIT" ]
null
null
null
HW2/logisitic_regression.cpp
All4win2009/DataMining
186f68007f8363a40ccae9650ffbf2890dca23da
[ "MIT" ]
null
null
null
#include <iostream> #include <cmath> #include <fstream> #include <sstream> #include <string> #include <vector> #include <algorithm> #include <random> // std::default_random_engine #include <chrono> // std::chrono::system_clock #include <pthread.h> #include <unistd.h> #include <pthread.h> #define NUM_THREADS 3 #define...
20.664835
93
0.579633
[ "vector" ]
bdba1e5238a2a8791fd5146c72c8ba54f5ae5327
4,735
hpp
C++
ThirdParty-mod/java2cpp/java/util/IllegalFormatConversionException.hpp
kakashidinho/HQEngine
8125b290afa7c62db6cc6eac14e964d8138c7fd0
[ "MIT" ]
1
2019-04-03T01:53:28.000Z
2019-04-03T01:53:28.000Z
ThirdParty-mod/java2cpp/java/util/IllegalFormatConversionException.hpp
kakashidinho/HQEngine
8125b290afa7c62db6cc6eac14e964d8138c7fd0
[ "MIT" ]
null
null
null
ThirdParty-mod/java2cpp/java/util/IllegalFormatConversionException.hpp
kakashidinho/HQEngine
8125b290afa7c62db6cc6eac14e964d8138c7fd0
[ "MIT" ]
null
null
null
/*================================================================================ code generated by: java2cpp author: Zoran Angelov, mailto://baldzar@gmail.com class: java.util.IllegalFormatConversionException ================================================================================*/ #ifndef J2C...
34.064748
131
0.75037
[ "object" ]
bdc59b067d7f49dba863d6296caf1814df0b5903
558
cpp
C++
cpp/dependencies/despot/src/util/seeds.cpp
modanesh/magic
2eec5c7a1e45a4594b02d8df1e7f2880d7fc8422
[ "MIT" ]
7
2021-03-13T22:12:41.000Z
2022-03-06T03:29:03.000Z
cpp/dependencies/despot/src/util/seeds.cpp
modanesh/magic
2eec5c7a1e45a4594b02d8df1e7f2880d7fc8422
[ "MIT" ]
1
2021-07-17T01:34:13.000Z
2021-07-17T04:58:54.000Z
cpp/dependencies/despot/src/util/seeds.cpp
modanesh/magic
2eec5c7a1e45a4594b02d8df1e7f2880d7fc8422
[ "MIT" ]
4
2021-05-25T07:44:33.000Z
2022-03-30T08:40:29.000Z
#include <despot/util/seeds.h> using namespace std; namespace despot { int Seeds::num_assigned_seeds_ = 0; unsigned Seeds::root_seed_ = 0; Random Seeds::seed_gen_ = Random((unsigned) 0); void Seeds::root_seed(unsigned value) { root_seed_ = value; seed_gen_ = Random(root_seed_); } unsigned Seeds::Next() { // ret...
19.241379
48
0.704301
[ "vector" ]
bdd0938f646aea2b2e5b805cc377d64d855781c3
30,177
cpp
C++
src/drone_node.cpp
slaghuis/drone_mavsdk
57155a3dc287eee6f85b6803cb90299d80842d7c
[ "Apache-2.0" ]
2
2021-08-24T08:33:42.000Z
2022-03-29T23:50:38.000Z
src/drone_node.cpp
slaghuis/drone_mavsdk
57155a3dc287eee6f85b6803cb90299d80842d7c
[ "Apache-2.0" ]
3
2021-09-22T09:12:45.000Z
2021-11-15T09:02:01.000Z
src/drone_node.cpp
slaghuis/drone_mavsdk
57155a3dc287eee6f85b6803cb90299d80842d7c
[ "Apache-2.0" ]
null
null
null
// Copyright 2021 Xeni Robotics // // 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 i...
39.863937
159
0.680353
[ "geometry", "transform" ]
752a00515b41d883d32d115f3c3a343018ee9670
5,270
cpp
C++
NinthEngine/src/Resource/ResourceManager.cpp
ninthworld/NinthEngine
cd6a5f79a2f6f4f7471e76a41a558291d1e2caec
[ "MIT" ]
2
2018-06-29T14:18:28.000Z
2021-04-09T07:21:56.000Z
NinthEngine/src/Resource/ResourceManager.cpp
ninthworld/NinthEngine
cd6a5f79a2f6f4f7471e76a41a558291d1e2caec
[ "MIT" ]
null
null
null
NinthEngine/src/Resource/ResourceManager.cpp
ninthworld/NinthEngine
cd6a5f79a2f6f4f7471e76a41a558291d1e2caec
[ "MIT" ]
null
null
null
#include "NinthEngine/NEPCH.h" #include "NinthEngine/Resource/ResourceManager.h" #define STB_IMAGE_IMPLEMENTATION #include "stb_image.h" #define TINYOBJLOADER_IMPLEMENTATION #include "tiny_obj_loader.h" namespace NinthEngine { ResourceManager::ResourceManager(Graphics* graphics) : m_graphics(graphics) {} ResourceM...
32.530864
102
0.723719
[ "mesh", "vector", "model" ]
752ca654bc28dcec333a4c094cf800b545882108
11,799
cpp
C++
common/zedcamerain.cpp
mattwalstra/2019RobotCode
44f2543876b95428a68dc84820f931571244e49d
[ "BSD-3-Clause" ]
4
2020-11-25T18:30:33.000Z
2021-11-14T04:50:16.000Z
common/zedcamerain.cpp
mattwalstra/2019RobotCode
44f2543876b95428a68dc84820f931571244e49d
[ "BSD-3-Clause" ]
19
2021-03-20T01:10:04.000Z
2022-01-17T22:51:05.000Z
common/zedcamerain.cpp
mattwalstra/2019RobotCode
44f2543876b95428a68dc84820f931571244e49d
[ "BSD-3-Clause" ]
3
2019-10-29T01:13:09.000Z
2022-01-14T21:53:06.000Z
#include <iostream> #include "zedcamerain.hpp" using namespace std; #ifdef ZED_SUPPORT #include <opencv2/imgproc/imgproc.hpp> #include <pcl/common/io.h> #include "cvMatSerialize.hpp" #include "ZvSettings.hpp" using namespace cv; using namespace sl; void zedBrightnessCallback(int value, void *data); void zedContrast...
29.571429
155
0.712179
[ "model" ]
752f443cef57f1080c559b8f07eca37e7769423b
2,995
cpp
C++
Source/math_utils.cpp
JuanDiegoMontoya/EngineBase
e9b3f35d1a49e24a23c322c554176da55272e680
[ "MIT" ]
null
null
null
Source/math_utils.cpp
JuanDiegoMontoya/EngineBase
e9b3f35d1a49e24a23c322c554176da55272e680
[ "MIT" ]
null
null
null
Source/math_utils.cpp
JuanDiegoMontoya/EngineBase
e9b3f35d1a49e24a23c322c554176da55272e680
[ "MIT" ]
null
null
null
#include "../../stdafx.h" #include <cmath> #include <random> #include "utilities.h" namespace Utils { float lerp(float a, float b, float t) { return (a + ((b - a) * t)); } // 1 - t is the AMOUNT COMPLETED after one second (lower is faster) float lerp_t(float a, float b, float t) { float dt ...
26.981982
98
0.638731
[ "vector" ]
753be66f77e9536321a6061bebf24b0a1a909e7e
346
cpp
C++
main.cpp
Li-Pro/AutoComplete-Shell
01c0696765f2b99d4a339ca5b0e2f3ef538c35c3
[ "MIT" ]
1
2020-04-10T10:15:42.000Z
2020-04-10T10:15:42.000Z
main.cpp
Li-Pro/AutoComplete-Shell
01c0696765f2b99d4a339ca5b0e2f3ef538c35c3
[ "MIT" ]
null
null
null
main.cpp
Li-Pro/AutoComplete-Shell
01c0696765f2b99d4a339ca5b0e2f3ef538c35c3
[ "MIT" ]
null
null
null
#include<iostream> #include "lib/acshell.hpp" // main library int main() { using namespace std; using namespace acs; vector<string> list_a = {"apple", "auto", "angry", "ball", "balloon"}; vector<string> list_b = {"cat", "cool", "do", "does", "elephant"}; string v = runShell({list_a, list_b, list_a}, 1); cou...
21.625
71
0.621387
[ "vector" ]
753e2a9cbb9939d104d5e466d3ec2e314cbe9b00
4,205
hpp
C++
include/FakeLibUtils.hpp
SCOTT-HAMILTON/FakeLib
a8e7ccd88fa128d9f6d8bdff77d093a488cb231a
[ "MIT" ]
null
null
null
include/FakeLibUtils.hpp
SCOTT-HAMILTON/FakeLib
a8e7ccd88fa128d9f6d8bdff77d093a488cb231a
[ "MIT" ]
null
null
null
include/FakeLibUtils.hpp
SCOTT-HAMILTON/FakeLib
a8e7ccd88fa128d9f6d8bdff77d093a488cb231a
[ "MIT" ]
null
null
null
#ifndef FAKE_LIB_UTILS_H #define FAKE_LIB_UTILS_H #include "FakeLibImplementation.h" #include <functional> #include <iostream> #include <vector> #include <variant> #include <exception> namespace FakeLibUtils { template<typename user_type> static void __attribute__((unused)) print_list(info_list<user_type> list, ...
25.95679
100
0.608323
[ "object", "vector" ]
753f32b708cada6d88acfa22e19fa58b63cf5a0e
15,933
hpp
C++
src/libraries/core/meshes/meshShapes/triFace/triFace.hpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
src/libraries/core/meshes/meshShapes/triFace/triFace.hpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
src/libraries/core/meshes/meshShapes/triFace/triFace.hpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
/*---------------------------------------------------------------------------*\ Copyright (C) 2011-2018 OpenFOAM Foundation ------------------------------------------------------------------------------- License This file is part of CAELUS. CAELUS is free software: you can redistribute it and/or modify it ...
23.19214
80
0.533484
[ "mesh", "vector" ]
7542cc0a0415474a2fc0c3d47a11807aeb043c0c
6,634
cpp
C++
ugene/src/plugins/workflow_designer/src/SchemaAliasesConfigurationDialogImpl.cpp
iganna/lspec
c75cba3e4fa9a46abeecbf31b5d467827cf4fec0
[ "MIT" ]
null
null
null
ugene/src/plugins/workflow_designer/src/SchemaAliasesConfigurationDialogImpl.cpp
iganna/lspec
c75cba3e4fa9a46abeecbf31b5d467827cf4fec0
[ "MIT" ]
null
null
null
ugene/src/plugins/workflow_designer/src/SchemaAliasesConfigurationDialogImpl.cpp
iganna/lspec
c75cba3e4fa9a46abeecbf31b5d467827cf4fec0
[ "MIT" ]
null
null
null
/** * UGENE - Integrated Bioinformatics Tools. * Copyright (C) 2008-2012 UniPro <ugene@unipro.ru> * http://ugene.unipro.ru * * 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...
37.908571
113
0.653301
[ "model" ]
7549957b64967712169cc292e3f07b4185bc9881
2,033
cpp
C++
src/utils/io.cpp
ufal/korektor
3764a6965b8f1f900a74ad6df0034f65d16aa725
[ "BSD-2-Clause" ]
18
2015-03-21T21:55:45.000Z
2022-02-09T12:59:33.000Z
src/utils/io.cpp
ufal/korektor
3764a6965b8f1f900a74ad6df0034f65d16aa725
[ "BSD-2-Clause" ]
27
2015-01-19T07:26:20.000Z
2020-07-03T20:21:29.000Z
src/utils/io.cpp
ufal/korektor
3764a6965b8f1f900a74ad6df0034f65d16aa725
[ "BSD-2-Clause" ]
5
2015-07-06T09:41:01.000Z
2020-08-02T11:53:44.000Z
// This file is part of korektor <http://github.com/ufal/korektor/>. // // Copyright 2015 by Institute of Formal and Applied Linguistics, Faculty // of Mathematics and Physics, Charles University in Prague, Czech Republic. // All rights reserved. // // Redistribution and use in source and binary forms, with or without ...
23.367816
108
0.671422
[ "vector" ]
754e806a306935a54008210fbdec097dd7ce8816
793
cc
C++
components/sync/model/sync_change_processor.cc
google-ar/chromium
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
components/sync/model/sync_change_processor.cc
harrymarkovskiy/WebARonARCore
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
components/sync/model/sync_change_processor.cc
harrymarkovskiy/WebARonARCore
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.000Z
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "components/sync/model/sync_change_processor.h" namespace syncer { SyncChangeProcessor::SyncChangeProcessor() {} SyncChangeProcessor::~Syn...
24.78125
73
0.765448
[ "model" ]
7552b57fa7474b219c0b81e42925c715b2683395
2,432
hpp
C++
include/rectojump/shared/data_store.hpp
Malekblubb/rectojump
66c04e9a081bd1b830205bb0c515a42eeb4befb6
[ "MIT" ]
null
null
null
include/rectojump/shared/data_store.hpp
Malekblubb/rectojump
66c04e9a081bd1b830205bb0c515a42eeb4befb6
[ "MIT" ]
null
null
null
include/rectojump/shared/data_store.hpp
Malekblubb/rectojump
66c04e9a081bd1b830205bb0c515a42eeb4befb6
[ "MIT" ]
null
null
null
// // Copyright (c) 2013-2021 Christoph Malek // See LICENSE for more information. // #ifndef RJ_SHARED_DATA_STORE_HPP #define RJ_SHARED_DATA_STORE_HPP #include <map> #include <string> #include <utility> #include <vector> #include <mlk/types/types.h> namespace rj { // TODO: move this helpers ??? template <std::si...
23.61165
77
0.682566
[ "vector" ]
75550031a965b287648412a57a2ea937923a1188
607
cpp
C++
plugin/box2d/impl/shapes/box.cpp
nomadsinteractive/ark
52f84c6dbd5ca6bdd07d450b3911be1ffd995922
[ "Apache-2.0" ]
5
2018-03-28T09:14:55.000Z
2018-04-02T11:54:33.000Z
plugin/box2d/impl/shapes/box.cpp
nomadsinteractive/ark
52f84c6dbd5ca6bdd07d450b3911be1ffd995922
[ "Apache-2.0" ]
null
null
null
plugin/box2d/impl/shapes/box.cpp
nomadsinteractive/ark
52f84c6dbd5ca6bdd07d450b3911be1ffd995922
[ "Apache-2.0" ]
null
null
null
#include "box2d/impl/shapes/box.h" #include "core/base/bean_factory.h" #include "graphics/base/size.h" #include "box2d/impl/body_create_info.h" namespace ark { namespace plugin { namespace box2d { void Box::apply(b2Body* body, const sp<Size>& size, const BodyCreateInfo& createInfo) { b2PolygonShape shape; ...
17.852941
85
0.69028
[ "shape" ]
756282595f1a09531d95d9354e59bc2a3524a26f
38,623
cpp
C++
novaera/dicom/dicomdictionary.cpp
junioridi/portfolio
f2ec28a0ab2a6d547385da07fa4679febbffb8e4
[ "MIT" ]
1
2022-01-03T09:45:14.000Z
2022-01-03T09:45:14.000Z
novaera/dicom/dicomdictionary.cpp
junioridi/portfolio
f2ec28a0ab2a6d547385da07fa4679febbffb8e4
[ "MIT" ]
null
null
null
novaera/dicom/dicomdictionary.cpp
junioridi/portfolio
f2ec28a0ab2a6d547385da07fa4679febbffb8e4
[ "MIT" ]
null
null
null
#include "dicomdictionary.h" DicomDictionary::DicomDictionary() { dictionary = Insert(dictionary, (char*)"00020010", (char*)"UITransfer Syntax UID"); dictionary = Insert(dictionary, (char*)"00080005", (char*)"CSSpecific Character Set"); dictionary = Insert(dictionary, (char*)"00080008", (char*)"CSImage Ty...
85.449115
118
0.696165
[ "shape", "vector", "model" ]
7566c0386f13847cbea51f1150fd6e2af7372c3e
1,113
cpp
C++
LeetCode/0054/0054_2.cpp
samsonwang/ToyCpp
a6a757aacf1a0e6d9ba3c943c5744fde611a2f7c
[ "MIT" ]
null
null
null
LeetCode/0054/0054_2.cpp
samsonwang/ToyCpp
a6a757aacf1a0e6d9ba3c943c5744fde611a2f7c
[ "MIT" ]
null
null
null
LeetCode/0054/0054_2.cpp
samsonwang/ToyCpp
a6a757aacf1a0e6d9ba3c943c5744fde611a2f7c
[ "MIT" ]
null
null
null
// leetcode commit fastest sample // 很明显,这个方法更加优雅,边界条件也更加清晰 vector<int> spiralOrder(vector<vector<int>>& matrix) { vector<int> result; int N = matrix.size(); if (N == 0) return result; int M = matrix[0].size(); if (M == 0) return result; int left = 0, right = M - 1; int low = 0, high = N ...
27.146341
54
0.47619
[ "vector" ]
75671c1b81f4eee10b7c531e6e0b77732538f860
9,177
hxx
C++
main/sdext/source/presenter/PresenterScreen.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/sdext/source/presenter/PresenterScreen.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/sdext/source/presenter/PresenterScreen.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...
37.610656
111
0.708401
[ "object", "vector" ]
756e0162313e30b919532f7f9c3d9e8a03a0c95f
3,740
cpp
C++
mps_voxels/test/generate_distance_matrix.cpp
UM-ARM-Lab/multihypothesis_segmentation_tracking
801d460afbf028100374c880bc684187ec8b909f
[ "MIT" ]
3
2020-10-31T21:42:36.000Z
2021-12-16T12:56:02.000Z
mps_voxels/test/generate_distance_matrix.cpp
UM-ARM-Lab/multihypothesis_segmentation_tracking
801d460afbf028100374c880bc684187ec8b909f
[ "MIT" ]
1
2020-11-11T03:46:08.000Z
2020-11-11T03:46:08.000Z
mps_voxels/test/generate_distance_matrix.cpp
UM-ARM-Lab/multihypothesis_segmentation_tracking
801d460afbf028100374c880bc684187ec8b909f
[ "MIT" ]
1
2022-03-02T12:32:21.000Z
2022-03-02T12:32:21.000Z
// // Created by pricear on 2020-06-26. // #include <mps_voxels/VoxelRegion.h> #include <mps_voxels/JaccardMatch.h> #include <mps_voxels/parameters/VoxelRegionBuilder.hpp> #include <mps_voxels/OccupancyData.h> #include <mps_voxels/SensorHistorian.h> #include <mps_voxels/util/package_paths.h> #include <mps_voxels/loggi...
30.406504
122
0.654813
[ "vector" ]
756f682370a275efa6747560089dcec4591ea29f
8,422
cc
C++
icl/function_impls.cc
viettrungluu-cr/icl
906eb067dee0084eee868d6f9d60f2eea393da4f
[ "BSD-3-Clause" ]
null
null
null
icl/function_impls.cc
viettrungluu-cr/icl
906eb067dee0084eee868d6f9d60f2eea393da4f
[ "BSD-3-Clause" ]
null
null
null
icl/function_impls.cc
viettrungluu-cr/icl
906eb067dee0084eee868d6f9d60f2eea393da4f
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "icl/function_impls.h" #include <stddef.h> #include <string> #include "icl/delegate.h" #include "icl/err.h" #include "icl/import_manager.h...
32.268199
80
0.578129
[ "vector" ]
7571550c1b8c3e71f920599fa14b335ba2de0b2c
9,676
inl
C++
Misc/UnusedCode/RSLibAndTests/RSLib/Code/Math/Misc/LinearAlgebra.inl
RobinSchmidt/RS-MET-Preliminary
6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe
[ "FTL" ]
34
2017-04-19T18:26:02.000Z
2022-02-15T17:47:26.000Z
Misc/UnusedCode/RSLibAndTests/RSLib/Code/Math/Misc/LinearAlgebra.inl
RobinSchmidt/RS-MET-Preliminary
6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe
[ "FTL" ]
307
2017-05-04T21:45:01.000Z
2022-02-03T00:59:01.000Z
Misc/UnusedCode/RSLibAndTests/RSLib/Code/Math/Misc/LinearAlgebra.inl
RobinSchmidt/RS-MET-Preliminary
6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe
[ "FTL" ]
4
2017-09-05T17:04:31.000Z
2021-12-15T21:24:28.000Z
#ifndef RS_LINEARALGEBRA_INL #define RS_LINEARALGEBRA_INL namespace RSLib { template<class T> void rsSolveLinearSystem2x2(const T A[2][2], T x[2], const T y[2]) { T s = T(1) / ( A[0][0]*A[1][1] - A[0][1]*A[1][0]); x[0] = s * (A[1][1]*y[0] - A[0][1]*y[1]); x[1] = s * (A[0][0]*y[1] - A[1][0]*y[0]); ...
29.5
145
0.514779
[ "vector" ]
7572cf6f2533cbeddf8994837ffa5aa435995bcf
2,048
inl
C++
SimdMask/Intrinscs/Implementation/operators_float_impl.inl
Const-me/SimdMask
53f12bae6fb0ded4d9e548400f7bb59cb952b226
[ "MIT" ]
1
2019-12-08T14:49:58.000Z
2019-12-08T14:49:58.000Z
SimdMask/Intrinscs/Implementation/operators_float_impl.inl
Const-me/SimdMask
53f12bae6fb0ded4d9e548400f7bb59cb952b226
[ "MIT" ]
null
null
null
SimdMask/Intrinscs/Implementation/operators_float_impl.inl
Const-me/SimdMask
53f12bae6fb0ded4d9e548400f7bb59cb952b226
[ "MIT" ]
null
null
null
// Return mask with sign bits of the float vector. This expands to signBitsMask_ps() and signBitsMask_pd(). inline VECTOR_TYPE XM_CALLCONV SIMD_OP( signBitsMask )( ) { return SIMD_OP( set1 )( -0.0 ); } // Absolute value inline VECTOR_TYPE XM_CALLCONV abs( VECTOR_TYPE a ) { const VECTOR_TYPE mask = SIMD_OP( signBitsM...
24.674699
107
0.70459
[ "vector" ]
757d47b717f02e49a4a34d4ad68f00ac06742a45
8,881
cpp
C++
Source/ByteBuffer/ByteBuffer.cpp
MarcasRealAccount/PasswordManager
49ff7f76a7ecc5751c128a92279b26c4946ad1ef
[ "MIT" ]
null
null
null
Source/ByteBuffer/ByteBuffer.cpp
MarcasRealAccount/PasswordManager
49ff7f76a7ecc5751c128a92279b26c4946ad1ef
[ "MIT" ]
null
null
null
Source/ByteBuffer/ByteBuffer.cpp
MarcasRealAccount/PasswordManager
49ff7f76a7ecc5751c128a92279b26c4946ad1ef
[ "MIT" ]
null
null
null
#include "ByteBuffer.h" #include <utility> ByteBuffer::ByteBuffer() : m_Bytes({}) { } ByteBuffer::ByteBuffer(const std::vector<std::uint8_t>& bytes) : m_Bytes(bytes) { } ByteBuffer::ByteBuffer(std::vector<std::uint8_t>&& bytes) : m_Bytes(std::move(bytes)) { } void ByteBuffer::setUI1(std::size_t positio...
30.207483
114
0.678189
[ "vector" ]
757e501cebc5819e63be9cf9ba6fc4ab279e0276
1,096
cpp
C++
Practice/2017/2017.7.19/Luogu1020.cpp
SYCstudio/OI
6e9bfc17dbd4b43467af9b19aa2aed41e28972fa
[ "MIT" ]
4
2017-10-31T14:25:18.000Z
2018-06-10T16:10:17.000Z
Practice/2017/2017.7.19/Luogu1020.cpp
SYCstudio/OI
6e9bfc17dbd4b43467af9b19aa2aed41e28972fa
[ "MIT" ]
null
null
null
Practice/2017/2017.7.19/Luogu1020.cpp
SYCstudio/OI
6e9bfc17dbd4b43467af9b19aa2aed41e28972fa
[ "MIT" ]
null
null
null
#include<iostream> #include<cstdio> #include<cstdlib> #include<cstring> #include<algorithm> #include<vector> using namespace std; const int maxN=200; const int inf=2147483647; int n; int Height[maxN]; vector<int> Arr; int main() { n=1; while (cin>>Height[n]) n++; n--; Arr.clear(); vector<...
21.490196
70
0.520985
[ "vector" ]
7588003e325a0d6adc1b245932d283e56889acff
56,890
cpp
C++
export/windows/obj/src/lime/text/_UTF8String/Utf8Ext.cpp
seanbashaw/frozenlight
47c540d30d63e946ea2dc787b4bb602cc9347d21
[ "MIT" ]
null
null
null
export/windows/obj/src/lime/text/_UTF8String/Utf8Ext.cpp
seanbashaw/frozenlight
47c540d30d63e946ea2dc787b4bb602cc9347d21
[ "MIT" ]
null
null
null
export/windows/obj/src/lime/text/_UTF8String/Utf8Ext.cpp
seanbashaw/frozenlight
47c540d30d63e946ea2dc787b4bb602cc9347d21
[ "MIT" ]
null
null
null
// Generated by Haxe 3.4.7 #include <hxcpp.h> #ifndef INCLUDED_haxe_IMap #include <haxe/IMap.h> #endif #ifndef INCLUDED_haxe_ds_IntMap #include <haxe/ds/IntMap.h> #endif #ifndef INCLUDED_lime_text__UTF8String_Utf8Ext #include <lime/text/_UTF8String/Utf8Ext.h> #endif HX_LOCAL_STACK_FRAME(_hx_pos_f30c43b6ad8c0800_373_f...
31.924804
228
0.511689
[ "object" ]
758df9a869e691f73ed508a8235e217cb66d0b20
4,309
cpp
C++
kernel/src/modelingTools/test/NewtonEulerDSTest.cpp
siconos/siconos-deb
2739a23f23d797dbfecec79d409e914e13c45c67
[ "Apache-2.0" ]
null
null
null
kernel/src/modelingTools/test/NewtonEulerDSTest.cpp
siconos/siconos-deb
2739a23f23d797dbfecec79d409e914e13c45c67
[ "Apache-2.0" ]
null
null
null
kernel/src/modelingTools/test/NewtonEulerDSTest.cpp
siconos/siconos-deb
2739a23f23d797dbfecec79d409e914e13c45c67
[ "Apache-2.0" ]
null
null
null
/* Siconos is a program dedicated to modeling, simulation and control * of non smooth dynamical systems. * * Copyright 2016 INRIA. * * 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 * *...
33.929134
146
0.642376
[ "vector" ]
75930aa3a3fac8da42cf6346d4caf3387b4a162b
3,479
cc
C++
alidns/src/model/DescribeDomainRecordInfoResult.cc
iamzken/aliyun-openapi-cpp-sdk
3c991c9ca949b6003c8f498ce7a672ea88162bf1
[ "Apache-2.0" ]
89
2018-02-02T03:54:39.000Z
2021-12-13T01:32:55.000Z
alidns/src/model/DescribeDomainRecordInfoResult.cc
iamzken/aliyun-openapi-cpp-sdk
3c991c9ca949b6003c8f498ce7a672ea88162bf1
[ "Apache-2.0" ]
89
2018-03-14T07:44:54.000Z
2021-11-26T07:43:25.000Z
alidns/src/model/DescribeDomainRecordInfoResult.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.328671
92
0.739005
[ "model" ]
75a19fedeb6317db05a7cc92d7d7a3fc2e1f9e76
14,646
cpp
C++
test/integration/syslog_client.cpp
mmarkeloff/cpp-syslog-client
617de6b1e6eff40487e2aecc5f678ab66f3a398a
[ "MIT" ]
null
null
null
test/integration/syslog_client.cpp
mmarkeloff/cpp-syslog-client
617de6b1e6eff40487e2aecc5f678ab66f3a398a
[ "MIT" ]
null
null
null
test/integration/syslog_client.cpp
mmarkeloff/cpp-syslog-client
617de6b1e6eff40487e2aecc5f678ab66f3a398a
[ "MIT" ]
null
null
null
/** * @file syslog_client.cpp * @authors Max Markeloff (https://github.com/mmarkeloff) */ // MIT License // // Copyright (c) 2021 Max // // 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...
32.474501
115
0.639424
[ "vector" ]
b5a59c1df4b3eab36f9148096302672da14ce939
7,138
cpp
C++
packages/geometry/root/test/tstSharedParallelRootNavigator.cpp
bam241/FRENSIE
e1760cd792928699c84f2bdce70ff54228e88094
[ "BSD-3-Clause" ]
10
2019-11-14T19:58:30.000Z
2021-04-04T17:44:09.000Z
packages/geometry/root/test/tstSharedParallelRootNavigator.cpp
bam241/FRENSIE
e1760cd792928699c84f2bdce70ff54228e88094
[ "BSD-3-Clause" ]
43
2020-03-03T19:59:20.000Z
2021-09-08T03:36:08.000Z
packages/geometry/root/test/tstSharedParallelRootNavigator.cpp
bam241/FRENSIE
e1760cd792928699c84f2bdce70ff54228e88094
[ "BSD-3-Clause" ]
6
2020-02-12T17:37:07.000Z
2020-09-08T18:59:51.000Z
//---------------------------------------------------------------------------// //! //! \file tstSharedParallelRoot.cpp //! \author Alex Robinson //! \brief Root wrapper class shared parallel unit tests //! //---------------------------------------------------------------------------// // Std Lib Includes #include ...
36.050505
94
0.527459
[ "geometry", "vector", "model" ]
b5ae26d6290d7f3a4b54d6a0daaf6206ad169661
2,150
cpp
C++
src/storage/routes.cpp
korolr/Spruce-Network
1b41ce661e527b8aa0c84851aabe832ae759ffde
[ "MIT" ]
1
2021-09-24T18:24:38.000Z
2021-09-24T18:24:38.000Z
src/storage/routes.cpp
korolr/Spruce-Network
1b41ce661e527b8aa0c84851aabe832ae759ffde
[ "MIT" ]
null
null
null
src/storage/routes.cpp
korolr/Spruce-Network
1b41ce661e527b8aa0c84851aabe832ae759ffde
[ "MIT" ]
null
null
null
#include "../../include/storage.hpp" void routes_handler::add(unsigned char *hash, size_t code, enum route_state state) { vector<struct route>::iterator it; auto time = system_clock::now(); bool status = false; struct route one; assert(hash); one.id = byte_sum(hash, HASHSIZE); HASHCPY(one.hash, hash);...
17.479675
58
0.637674
[ "vector" ]
b5b1d39e71cf8536a2d30fb0566679550d824882
1,067
hpp
C++
include/nn/techniques/adam.hpp
shibii/nn
2022ec423c3bfe179997630d6ba705aeaabdd918
[ "MIT" ]
1
2020-11-17T14:25:28.000Z
2020-11-17T14:25:28.000Z
include/nn/techniques/adam.hpp
shibii/nn
2022ec423c3bfe179997630d6ba705aeaabdd918
[ "MIT" ]
null
null
null
include/nn/techniques/adam.hpp
shibii/nn
2022ec423c3bfe179997630d6ba705aeaabdd918
[ "MIT" ]
null
null
null
#pragma once #include <cereal/types/memory.hpp> #include <cereal/types/polymorphic.hpp> #include <cereal/types/vector.hpp> #include <memory> #include <vector> #include "../cereal_archives.hpp" #include "../hyperparameters.hpp" #include "../optimizable_weights.hpp" #include "../optimizer.hpp" namespace nn { class Ada...
23.195652
66
0.727273
[ "vector" ]
b5b3dc69620a1ea88f31904316a185fd6461cb5a
554
cpp
C++
src/engine/render/scene_renderer/SceneRenderer.cpp
65bit/FireBlocks
9fbe8d83c91e11c83a2babeaaeaedbdb7fef51be
[ "MIT" ]
1
2019-01-16T13:37:22.000Z
2019-01-16T13:37:22.000Z
src/engine/render/scene_renderer/SceneRenderer.cpp
63bit/FireBlocks
9fbe8d83c91e11c83a2babeaaeaedbdb7fef51be
[ "MIT" ]
4
2019-01-17T21:13:42.000Z
2019-01-19T11:57:39.000Z
src/engine/render/scene_renderer/SceneRenderer.cpp
63bit/FireBlocks
9fbe8d83c91e11c83a2babeaaeaedbdb7fef51be
[ "MIT" ]
null
null
null
#include "engine/render/scene_renderer/SceneRenderer.hpp" #include "engine/render/opengl_renderer/OpenGLRenderer.hpp" namespace engine { SceneRender::SceneRender(int width, int height, void* context) { m_renderer.reset(new render::OpenglRenderer(width, height, context)); } SceneRender::~Scene...
16.787879
77
0.638989
[ "render" ]
b5b41a0a1be02d52fe561608e66275fbaed2928b
235
hpp
C++
src/asp.hpp
SergeJohanns/awpi
cd2a4590dd3d859ffc2dea218cd35d3ed18539f1
[ "MIT" ]
null
null
null
src/asp.hpp
SergeJohanns/awpi
cd2a4590dd3d859ffc2dea218cd35d3ed18539f1
[ "MIT" ]
null
null
null
src/asp.hpp
SergeJohanns/awpi
cd2a4590dd3d859ffc2dea218cd35d3ed18539f1
[ "MIT" ]
null
null
null
#ifndef asp #define asp #include <string> #include <vector> class AbstractSyntaxTree { public: std::string token; std::vector<AbstractSyntaxTree> children; AbstractSyntaxTree(std::string token); }; #endif
16.785714
49
0.676596
[ "vector" ]
b5b51d7f0b24755e738e53be22d4b00fd7761aba
85,797
cpp
C++
src/compiler.cpp
gitlarryf/simple-lang
32e260752eb8229c95cf97df5792ce8fea479142
[ "MIT" ]
null
null
null
src/compiler.cpp
gitlarryf/simple-lang
32e260752eb8229c95cf97df5792ce8fea479142
[ "MIT" ]
null
null
null
src/compiler.cpp
gitlarryf/simple-lang
32e260752eb8229c95cf97df5792ce8fea479142
[ "MIT" ]
1
2021-01-29T05:42:37.000Z
2021-01-29T05:42:37.000Z
#include "compiler.h" #include <algorithm> #include <assert.h> #include <fstream> #include <iso646.h> #include <sstream> #include <stack> #include "ast.h" #include "bytecode.h" #include "debuginfo.h" #include "opcode.h" class Emitter { public: class Label { friend class Emitter; public: Label...
30.940137
317
0.628985
[ "object", "vector" ]
b5bc1eba362fe451b23135f4a2cac155cdd6ab1c
16,149
cpp
C++
ColibriGuerrilla/Source/ModulePlayer.cpp
daniAtalaya/GuerrillaWar
c2852575417e3b8cc4d35a99500bdc32419d9b08
[ "MIT" ]
null
null
null
ColibriGuerrilla/Source/ModulePlayer.cpp
daniAtalaya/GuerrillaWar
c2852575417e3b8cc4d35a99500bdc32419d9b08
[ "MIT" ]
null
null
null
ColibriGuerrilla/Source/ModulePlayer.cpp
daniAtalaya/GuerrillaWar
c2852575417e3b8cc4d35a99500bdc32419d9b08
[ "MIT" ]
null
null
null
#include "ModulePlayer.h" #include "ModuleCollisions.h" #include "Application.h" #include "ModuleTextures.h" #include "ModuleInput.h" #include "ModuleRender.h" #include "ModuleParticles.h" #include "ModuleAudio.h" #include "ModuleCollisions.h" #include "ModuleFadeToBlack.h" #include "ModuleFonts.h" #include "ModuleWeap...
33.228395
303
0.659731
[ "render" ]
b5c21329c7c004179449e245a3d35f21cecca8ec
5,695
cpp
C++
chess.cpp
andreybarsky/cppchess
dadb34e004ea872f3a74df7e07ebf3863e89fa71
[ "MIT" ]
null
null
null
chess.cpp
andreybarsky/cppchess
dadb34e004ea872f3a74df7e07ebf3863e89fa71
[ "MIT" ]
null
null
null
chess.cpp
andreybarsky/cppchess
dadb34e004ea872f3a74df7e07ebf3863e89fa71
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <eigen3/Eigen/Dense> #include <string> #include "board.h" using namespace std; using Eigen::Array; extern void initialize_piece_square_tables(); Board::Board(bool debug) { initialize(); debug_mode = debug; } void Board::initialize() { // ensure bitboards ar...
23.533058
67
0.502546
[ "vector" ]
b5c619d2b9f506cb3eb21f5528940c5f42fb2dbd
13,086
cpp
C++
cuSPARSE/compression/compression_example.cpp
SAristeev/CUDALibrarySamples
ca7d1b55359da4b42355e48c09b3626dcdbf6cbf
[ "BSD-3-Clause" ]
347
2019-05-12T08:03:31.000Z
2022-03-29T18:02:42.000Z
cuSPARSE/compression/compression_example.cpp
SAristeev/CUDALibrarySamples
ca7d1b55359da4b42355e48c09b3626dcdbf6cbf
[ "BSD-3-Clause" ]
58
2020-05-10T21:24:20.000Z
2022-03-29T12:35:15.000Z
cuSPARSE/compression/compression_example.cpp
SAristeev/CUDALibrarySamples
ca7d1b55359da4b42355e48c09b3626dcdbf6cbf
[ "BSD-3-Clause" ]
107
2019-11-01T21:02:21.000Z
2022-03-30T23:13:39.000Z
/* * Copyright 1993-2021 NVIDIA Corporation. All rights reserved. * * NOTICE TO LICENSEE: * * This source code and/or documentation ("Licensed Deliverables") are * subject to NVIDIA intellectual property rights under U.S. and * international Copyright laws. * * These Licensed Deliverables contained herein is ...
43.62
80
0.554486
[ "vector" ]
b5ccc3b94e94521a0a2912bab773c68c684644b5
43,753
cpp
C++
minetest-ego/src/nodedef.cpp
medialab-prado/Interactivos-15-Ego
4c7e184b9495d07fc1008573ef1b752d20ebc1ab
[ "MIT" ]
null
null
null
minetest-ego/src/nodedef.cpp
medialab-prado/Interactivos-15-Ego
4c7e184b9495d07fc1008573ef1b752d20ebc1ab
[ "MIT" ]
null
null
null
minetest-ego/src/nodedef.cpp
medialab-prado/Interactivos-15-Ego
4c7e184b9495d07fc1008573ef1b752d20ebc1ab
[ "MIT" ]
null
null
null
/* Minetest Copyright (C) 2013 celeron55, Perttu Ahola <celeron55@gmail.com> This program 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.1 of the License, or (at your option) any later ve...
28.411039
92
0.698969
[ "mesh", "vector" ]
b5cd3058c1d05cbc27ef86e1fc13267ae6443fd3
19,124
cpp
C++
src/libSBML/src/sbml/validator/constraints/RateOfCycles.cpp
copasi/copasi-dependencies
c01dd455c843522375c32c2989aa8675f59bb810
[ "Unlicense" ]
5
2015-04-16T14:27:38.000Z
2021-11-30T14:54:39.000Z
src/libSBML/src/sbml/validator/constraints/RateOfCycles.cpp
copasi/copasi-dependencies
c01dd455c843522375c32c2989aa8675f59bb810
[ "Unlicense" ]
8
2017-05-30T16:58:39.000Z
2022-02-22T16:51:34.000Z
src/libSBML/src/sbml/validator/constraints/RateOfCycles.cpp
copasi/copasi-dependencies
c01dd455c843522375c32c2989aa8675f59bb810
[ "Unlicense" ]
7
2016-05-29T08:12:59.000Z
2019-05-02T13:39:25.000Z
/** * @cond doxygenLibsbmlInternal * * @file RateOfCycles.cpp * @brief Ensures unique variables assigned by rules and events * @author Sarah Keating * * <!-------------------------------------------------------------------------- * This file is part of libSBML. Please visit http://sbml.org for more * i...
24.299873
97
0.606568
[ "object", "vector", "model" ]
b5d3b8ad959a236eae922f85160d26ca1182c48c
16,463
hpp
C++
libs/ledger/include/ledger/chain/main_chain.hpp
AronVanAmmers/ledger
5cf8b85e5ee42957d9d38fd76b2b3ead0f061954
[ "Apache-2.0" ]
1
2019-05-15T17:23:08.000Z
2019-05-15T17:23:08.000Z
libs/ledger/include/ledger/chain/main_chain.hpp
AronVanAmmers/ledger
5cf8b85e5ee42957d9d38fd76b2b3ead0f061954
[ "Apache-2.0" ]
null
null
null
libs/ledger/include/ledger/chain/main_chain.hpp
AronVanAmmers/ledger
5cf8b85e5ee42957d9d38fd76b2b3ead0f061954
[ "Apache-2.0" ]
null
null
null
#pragma once //------------------------------------------------------------------------------ // // Copyright 2018 Fetch.AI Limited // // 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...
30.152015
100
0.594667
[ "vector" ]
b5e80b9df5e64f85a2e3f15cb82f575a162048dd
1,189
cpp
C++
STRIPS/Source and Header Files/Main.cpp
Mopson/STRIPS-Planner
023f7ca5885ac9a0d03d6adab52df16c277d416c
[ "CECILL-B" ]
1
2019-03-31T00:35:46.000Z
2019-03-31T00:35:46.000Z
STRIPS/Source and Header Files/Main.cpp
Mopson/STRIPS-Planner
023f7ca5885ac9a0d03d6adab52df16c277d416c
[ "CECILL-B" ]
1
2020-07-11T06:19:38.000Z
2020-07-11T06:19:38.000Z
STRIPS/Source and Header Files/Main.cpp
Mopson/STRIPS-Planner
023f7ca5885ac9a0d03d6adab52df16c277d416c
[ "CECILL-B" ]
null
null
null
#include "libs.h" #include "Structs.h" #include "Helpers.h" int main() { //solve() will find the solution to the STRIPS program that is the input vector<ConcreteAction> answer = solve("Initial State: At(A), Level(low), BoxAt(C), BananasAt(B)\nGoal: Have(bananas)\n\nActions:\n// move from X to Y\n _Move(X, Y...
59.45
808
0.677881
[ "vector" ]
b5eb4d76b82a22831f5b596fd6664422c226d866
5,182
cpp
C++
src/2d/geometry/polygon_test.cpp
wkrzemien/j-pet-mlem
4ed746f3fe79890e4141158cd49d1869938105de
[ "Apache-2.0" ]
null
null
null
src/2d/geometry/polygon_test.cpp
wkrzemien/j-pet-mlem
4ed746f3fe79890e4141158cd49d1869938105de
[ "Apache-2.0" ]
5
2018-08-08T08:26:04.000Z
2020-05-13T13:33:39.000Z
src/2d/geometry/polygon_test.cpp
wkrzemien/j-pet-mlem
4ed746f3fe79890e4141158cd49d1869938105de
[ "Apache-2.0" ]
5
2018-06-04T21:04:29.000Z
2021-07-03T14:19:39.000Z
#include <iostream> #include <fstream> #include "util/test.h" #include "polygon.h" #include "common/types.h" using Point = PET2D::Point<F>; using Polygon = PET2D::Polygon<4, F>; using Polygon3 = PET2D::Polygon<3, F>; TEST("2d/geometry/polygon/json") { Polygon ps; ps.emplace_back(1, 1); ps.emplace_back(2, 1);...
22.336207
66
0.580664
[ "geometry" ]
b5ff70bb795d1eb6853d8a111b8bbb701011852a
1,708
cpp
C++
ReactCommon/fabric/textlayoutmanager/platform/android/TextLayoutManager.cpp
olacio-ouna/react-native
4a34a016403a5a87cd14ad2f8f3b06d26e178d94
[ "CC-BY-4.0", "MIT" ]
1
2018-09-18T14:34:28.000Z
2018-09-18T14:34:28.000Z
ReactCommon/fabric/textlayoutmanager/platform/android/TextLayoutManager.cpp
tanuj99/react-native
44dc283bcd0a75826d9be86cdc727e32d5697ef2
[ "CC-BY-4.0", "MIT" ]
null
null
null
ReactCommon/fabric/textlayoutmanager/platform/android/TextLayoutManager.cpp
tanuj99/react-native
44dc283bcd0a75826d9be86cdc727e32d5697ef2
[ "CC-BY-4.0", "MIT" ]
1
2021-08-17T12:38:19.000Z
2021-08-17T12:38:19.000Z
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "TextLayoutManager.h" #include <fabric/attributedstring/conversions.h> #include <react/jni/ReadableNativeMap.h> using n...
32.846154
234
0.764052
[ "vector" ]
bd04f692a43c42735d0ea0609a7e39fad4c1a17f
1,008
hpp
C++
src/Jurassic/ITrex.hpp
clauderichard/Wgx
eec7bbab51e2245191424895073ab688ff6f8ac4
[ "MIT" ]
null
null
null
src/Jurassic/ITrex.hpp
clauderichard/Wgx
eec7bbab51e2245191424895073ab688ff6f8ac4
[ "MIT" ]
null
null
null
src/Jurassic/ITrex.hpp
clauderichard/Wgx
eec7bbab51e2245191424895073ab688ff6f8ac4
[ "MIT" ]
null
null
null
#ifndef __ITREX_HPP__ #define __ITREX_HPP__ #include "Realp.hpp" #include "RealpMap.hpp" #include "CrealpNamer.hpp" #include <vector> #include <set> using namespace std; //////////////////////////////////////////////// typedef vector<crealp *> TrexArgList; // Real-valued function of something else. // If you want b...
21.913043
58
0.580357
[ "vector" ]
bd0674f1af67e58f57d912e5d5ddfcf2c56dc36f
1,305
cpp
C++
04-MedianofTwoSortedArrays.cpp
zjukk/LeetCode-is-my-son
d8851bd2a76f77e4bec89c6a5947acb435fff074
[ "Apache-2.0" ]
null
null
null
04-MedianofTwoSortedArrays.cpp
zjukk/LeetCode-is-my-son
d8851bd2a76f77e4bec89c6a5947acb435fff074
[ "Apache-2.0" ]
1
2019-08-15T16:55:04.000Z
2019-08-15T16:55:04.000Z
04-MedianofTwoSortedArrays.cpp
zjukk/LeetCode-is-my-son
d8851bd2a76f77e4bec89c6a5947acb435fff074
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <vector> #include <algorithm> #include <limits> using namespace std; class Solution { public: double findMedianSortedArrays(vector<int>& nums1, vector<int>& nums2) { int N1 = nums1.size(); int N2 = nums2.size(); if (N1 < N2) return findMedianSortedArrays(nums2,...
34.342105
102
0.544828
[ "vector" ]
bd0c492cb31d8db07d6ad39b07fbcf08d877a4fd
6,496
cpp
C++
recipes/joint_training_vox_populi/cpc/CPCCriterion.cpp
pkufool/wav2letter
04b0305599008b7f4498ef39c1c9e684f856ec1c
[ "BSD-3-Clause" ]
1
2021-06-18T20:24:47.000Z
2021-06-18T20:24:47.000Z
recipes/joint_training_vox_populi/cpc/CPCCriterion.cpp
ttri1507/wav2letter_SpeechRecognition
04b0305599008b7f4498ef39c1c9e684f856ec1c
[ "BSD-3-Clause" ]
null
null
null
recipes/joint_training_vox_populi/cpc/CPCCriterion.cpp
ttri1507/wav2letter_SpeechRecognition
04b0305599008b7f4498ef39c1c9e684f856ec1c
[ "BSD-3-Clause" ]
null
null
null
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ #include "CPCCriterion.h" #include <algorithm> #include <iostream> #include <numeric> #include <queue> #include <vector> #in...
27.642553
80
0.631466
[ "vector" ]
bd1de3610cdd053fa0ecac2ba5eb7d9cdc3b6885
7,188
cpp
C++
Tests/Engine/BoundariesTests.cpp
P-Sc/Vortex2D
78d859129928a3c616e93c065f58421bcd7301ed
[ "MIT" ]
null
null
null
Tests/Engine/BoundariesTests.cpp
P-Sc/Vortex2D
78d859129928a3c616e93c065f58421bcd7301ed
[ "MIT" ]
null
null
null
Tests/Engine/BoundariesTests.cpp
P-Sc/Vortex2D
78d859129928a3c616e93c065f58421bcd7301ed
[ "MIT" ]
null
null
null
// // BoundariesTests.cpp // Vortex2D // #include "../Renderer/ShapeDrawer.h" #include "Verify.h" #include <glm/gtx/io.hpp> #include <Vortex2D/Engine/Boundaries.h> #include <Vortex2D/Engine/LevelSet.h> #include <Vortex2D/Renderer/Shapes.h> using namespace Vortex2D::Renderer; using namespace Vortex2D::Fluid; exte...
28.86747
100
0.626043
[ "vector" ]
bd1fba92f7763b536c43b095d62d24b01f23575f
6,488
hpp
C++
lib/math/matrix.hpp
log0div0/just_for_fun
737fc18c61e2c6a698de34cb7ea80f9eeee32362
[ "MIT" ]
null
null
null
lib/math/matrix.hpp
log0div0/just_for_fun
737fc18c61e2c6a698de34cb7ea80f9eeee32362
[ "MIT" ]
null
null
null
lib/math/matrix.hpp
log0div0/just_for_fun
737fc18c61e2c6a698de34cb7ea80f9eeee32362
[ "MIT" ]
null
null
null
#pragma once #include <array> #include <ostream> #include "vector.hpp" namespace math { template <typename T, size_t N, size_t M> struct Matrix { static Matrix Identity() requires (N == M) { Matrix m; for (size_t i = 0; i < N; ++i) { m.At(i, i) = 1; } return m; } Matrix(): data{} {} Matrix(const Ve...
21.272131
117
0.518958
[ "vector" ]
bd214f3b6d228772eace2999e5785982b6302bd2
8,522
cpp
C++
src/qt/qtwebkit/Source/WebKit2/UIProcess/API/gtk/PageClientImpl.cpp
viewdy/phantomjs
eddb0db1d253fd0c546060a4555554c8ee08c13c
[ "BSD-3-Clause" ]
1
2015-05-27T13:52:20.000Z
2015-05-27T13:52:20.000Z
src/qt/qtwebkit/Source/WebKit2/UIProcess/API/gtk/PageClientImpl.cpp
mrampersad/phantomjs
dca6f77a36699eb4e1c46f7600cca618f01b0ac3
[ "BSD-3-Clause" ]
null
null
null
src/qt/qtwebkit/Source/WebKit2/UIProcess/API/gtk/PageClientImpl.cpp
mrampersad/phantomjs
dca6f77a36699eb4e1c46f7600cca618f01b0ac3
[ "BSD-3-Clause" ]
1
2017-03-19T13:03:23.000Z
2017-03-19T13:03:23.000Z
/* * Copyright (C) 2010 Apple Inc. All rights reserved. * Portions Copyright (c) 2010 Motorola Mobility, Inc. All rights reserved. * Copyright (C) 2011 Igalia S.L. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are me...
28.986395
151
0.774701
[ "vector" ]
bd2d29c1a8835e1eab08e80b46225c58e5b88f07
24,961
cpp
C++
nfc/src/DOOM/doomclassic/doom/am_map.cpp
1337programming/leviathan
ca9a31b45c25fd23f361d67136ae5ac6b98d2628
[ "Apache-2.0" ]
1
2018-11-07T22:44:23.000Z
2018-11-07T22:44:23.000Z
ekronclassic/ekron/am_map.cpp
vic3t3chn0/OpenKrown
201c8fb6895cb0439e39c984d2fbc2c2eaf185b4
[ "MIT" ]
null
null
null
ekronclassic/ekron/am_map.cpp
vic3t3chn0/OpenKrown
201c8fb6895cb0439e39c984d2fbc2c2eaf185b4
[ "MIT" ]
null
null
null
/* =========================================================================== Doom 3 BFG Edition GPL Source Code Copyright (C) 1993-2012 id Software LLC, a ZeniMax Media company. This file is part of the Doom 3 BFG Edition GPL Source Code ("Doom 3 BFG Edition Source Code"). Doom 3 BFG Edition Source Code is free...
20.376327
366
0.573775
[ "vector", "transform" ]
bd3495e22ee59bb95e9a98367b9d144db7162e12
1,577
cpp
C++
Final Exam/02_SDA_Exam.cpp
NaskoVasilev/Data-Structures-And-Algorithms
1a4dba588df7e88498fddda9c04a8832f8c0dad8
[ "MIT" ]
2
2021-10-31T18:32:47.000Z
2022-01-28T08:58:34.000Z
Final Exam/02_SDA_Exam.cpp
NaskoVasilev/Data-Structures-And-Algorithms
1a4dba588df7e88498fddda9c04a8832f8c0dad8
[ "MIT" ]
null
null
null
Final Exam/02_SDA_Exam.cpp
NaskoVasilev/Data-Structures-And-Algorithms
1a4dba588df7e88498fddda9c04a8832f8c0dad8
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <queue> using namespace std; const int MAX_DISTANCE = INT32_MAX; const int WEIGHT = 6; void bfs(vector<vector<int>> &graph, int startNode, vector<int> &distances) { distances = vector<int>(graph.size(), MAX_DISTANCE); distances[startNode] = 0; queue<int> q;...
22.855072
83
0.49461
[ "vector" ]
bd3c2029cbcbb6099ee7dbf780f6f84bcfc6e64f
8,807
cpp
C++
samples/luxcoredemo/luxcoredemo.cpp
aedancullen/LuxCore
2b2289ce985ddc1ba1a44f932e1f76ee9a1c3e3a
[ "Apache-2.0" ]
null
null
null
samples/luxcoredemo/luxcoredemo.cpp
aedancullen/LuxCore
2b2289ce985ddc1ba1a44f932e1f76ee9a1c3e3a
[ "Apache-2.0" ]
null
null
null
samples/luxcoredemo/luxcoredemo.cpp
aedancullen/LuxCore
2b2289ce985ddc1ba1a44f932e1f76ee9a1c3e3a
[ "Apache-2.0" ]
null
null
null
/*************************************************************************** * Copyright 1998-2018 by authors (see AUTHORS.txt) * * * * This file is part of LuxCoreRender. * * ...
36.695833
110
0.499262
[ "render", "vector", "3d" ]
bd3c5c4e531478e78dc0614df9b60a0301201444
2,397
cpp
C++
Scenes/SceneManager.cpp
MartinK7/glsl-demo
1e5eccad4a8f121641a7f1130bd846804be03739
[ "MIT" ]
59
2016-04-06T13:54:25.000Z
2022-03-25T08:02:21.000Z
Scenes/SceneManager.cpp
MartinK7/glsl-demo
1e5eccad4a8f121641a7f1130bd846804be03739
[ "MIT" ]
null
null
null
Scenes/SceneManager.cpp
MartinK7/glsl-demo
1e5eccad4a8f121641a7f1130bd846804be03739
[ "MIT" ]
19
2016-02-16T15:43:43.000Z
2021-06-15T07:16:56.000Z
#include "SceneManager.h" #include "SceneBase.h" #include "SceneTestParallax.h" #include "SceneTestRefraction.h" #include "SceneTestFur.h" #include "SceneTerrain.h" #include "SceneSimple.h" #include "SceneTestShadowMapping.h" #include "SceneToon.h" #include "../Camera.h" #include "../VarManager.h" #include <assert.h> ...
21.212389
103
0.711723
[ "render" ]
bd3e21ed5101a821854cc965e450500e6ba984d2
6,992
cpp
C++
src/ipc/dbus/IPCDBusServiceAdapterBase.cpp
bitmouse/facelift
229d7ad81d8c3e361a207251759b4fc9a6f225cb
[ "MIT" ]
27
2018-05-17T07:18:48.000Z
2022-02-02T09:06:39.000Z
src/ipc/dbus/IPCDBusServiceAdapterBase.cpp
bitmouse/facelift
229d7ad81d8c3e361a207251759b4fc9a6f225cb
[ "MIT" ]
71
2018-05-23T07:29:54.000Z
2020-12-16T09:56:36.000Z
src/ipc/dbus/IPCDBusServiceAdapterBase.cpp
bitmouse/facelift
229d7ad81d8c3e361a207251759b4fc9a6f225cb
[ "MIT" ]
31
2018-04-30T12:49:06.000Z
2021-07-08T08:30:35.000Z
/********************************************************************** ** ** Copyright (C) 2018 Luxoft Sweden AB ** ** This file is part of the FaceLift project ** ** Permission is hereby granted, free of charge, to any person ** obtaining a copy of this software and associated documentation files ** (the "Software"),...
34.107317
140
0.669336
[ "object" ]
bd3e974b6dde8b955b9455b61e0d8783da74d317
12,190
cpp
C++
CPP/Targets/WayFinder/symbian-r6/RouteView.cpp
wayfinder/Wayfinder-S60-Navigator
14d1b729b2cea52f726874687e78f17492949585
[ "BSD-3-Clause" ]
6
2015-12-01T01:12:33.000Z
2021-07-24T09:02:34.000Z
CPP/Targets/WayFinder/symbian-r6/RouteView.cpp
wayfinder/Wayfinder-S60-Navigator
14d1b729b2cea52f726874687e78f17492949585
[ "BSD-3-Clause" ]
null
null
null
CPP/Targets/WayFinder/symbian-r6/RouteView.cpp
wayfinder/Wayfinder-S60-Navigator
14d1b729b2cea52f726874687e78f17492949585
[ "BSD-3-Clause" ]
2
2017-02-02T19:31:29.000Z
2018-12-17T21:00:45.000Z
/* Copyright (c) 1999 - 2010, Vodafone Group Services Ltd All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list...
32.334218
758
0.596062
[ "vector" ]
bd42e67de40f9a2d77a106ec872362483e118ec0
22,341
cxx
C++
main/sal/osl/w32/procimpl.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/sal/osl/w32/procimpl.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/sal/osl/w32/procimpl.cxx
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...
35.127358
133
0.57813
[ "object", "vector" ]