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
439bba9e6cab6ea730b8ec6fa894d9b85b83fffd
8,293
cpp
C++
cachelib/navy/scheduler/tests/OrderedThreadPoolJobSchedulerTest.cpp
GerHobbelt/CacheLib
580bf6950aad89cf86dbc153f12dada79b71eaf7
[ "Apache-2.0" ]
578
2021-09-01T14:19:55.000Z
2022-03-29T12:22:46.000Z
cachelib/navy/scheduler/tests/OrderedThreadPoolJobSchedulerTest.cpp
igchor/Cachelib
7db2c643d49fd0a4ec6c492d94a400cbe0515a70
[ "Apache-2.0" ]
61
2021-09-02T18:48:06.000Z
2022-03-31T01:56:00.000Z
cachelib/navy/scheduler/tests/OrderedThreadPoolJobSchedulerTest.cpp
igchor/Cachelib
7db2c643d49fd0a4ec6c492d94a400cbe0515a70
[ "Apache-2.0" ]
88
2021-09-02T21:22:19.000Z
2022-03-27T07:40:27.000Z
/* * Copyright (c) Facebook, Inc. and its affiliates. * * 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 applic...
27.460265
76
0.615218
[ "vector" ]
43a2bc8e4bd2bfdbdd7511262574e6492faeb65b
73,529
hpp
C++
thirdparty/vectormath/include/sse/vectormath.hpp
catid/xrcap
d3c5900c44861e618fd28b4256387725646b85c7
[ "BSD-3-Clause" ]
62
2019-12-21T23:48:28.000Z
2021-11-25T14:29:28.000Z
thirdparty/vectormath/include/sse/vectormath.hpp
catid/xrcap
d3c5900c44861e618fd28b4256387725646b85c7
[ "BSD-3-Clause" ]
5
2020-01-06T19:55:41.000Z
2020-06-19T23:13:24.000Z
thirdparty/vectormath/include/sse/vectormath.hpp
catid/xrcap
d3c5900c44861e618fd28b4256387725646b85c7
[ "BSD-3-Clause" ]
10
2019-12-22T15:53:10.000Z
2021-07-18T09:12:06.000Z
/* Copyright (C) 2006, 2007 Sony Computer Entertainment Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright noti...
32.136801
147
0.690394
[ "vector" ]
43a9f8c7ed3e7d948e6d2e8a2b0e16bec9a43d3c
7,078
cpp
C++
test/unittest/rtps/persistence/PersistenceTests.cpp
pbleyer/Fast-DDS
1963bd8ccbe0bc6c93267fb1977565d32ef56188
[ "Apache-2.0" ]
null
null
null
test/unittest/rtps/persistence/PersistenceTests.cpp
pbleyer/Fast-DDS
1963bd8ccbe0bc6c93267fb1977565d32ef56188
[ "Apache-2.0" ]
null
null
null
test/unittest/rtps/persistence/PersistenceTests.cpp
pbleyer/Fast-DDS
1963bd8ccbe0bc6c93267fb1977565d32ef56188
[ "Apache-2.0" ]
null
null
null
// Copyright 2016 Proyectos y Sistemas de Mantenimiento SL (eProsima). // // 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 re...
33.230047
112
0.708392
[ "vector" ]
43aa360d11825ebd325d6a65b01d00d38265291c
13,083
cpp
C++
Tools/DumpRenderTree/win/AccessibilityControllerWin.cpp
jacadcaps/webkitty
9aebd2081349f9a7b5d168673c6f676a1450a66d
[ "BSD-2-Clause" ]
6
2021-07-05T16:09:39.000Z
2022-03-06T22:44:42.000Z
Tools/DumpRenderTree/win/AccessibilityControllerWin.cpp
jacadcaps/webkitty
9aebd2081349f9a7b5d168673c6f676a1450a66d
[ "BSD-2-Clause" ]
7
2022-03-15T13:25:39.000Z
2022-03-15T13:25:44.000Z
Tools/DumpRenderTree/win/AccessibilityControllerWin.cpp
jacadcaps/webkitty
9aebd2081349f9a7b5d168673c6f676a1450a66d
[ "BSD-2-Clause" ]
null
null
null
/* * Copyright (C) 2008, 2009, 2010, 2013 Apple Inc. All Rights Reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this li...
33.632391
186
0.723381
[ "object" ]
43ab2b6f5e37929a851a1a026e59fdcf0467b02f
16,064
cpp
C++
Engine/Source/GEOGL/Rendering/Renderer2D.cpp
Matthew-Krueger/GEOGL
aae6adbd3d9cfadb4fe65b961d018636e42ddecc
[ "Zlib" ]
null
null
null
Engine/Source/GEOGL/Rendering/Renderer2D.cpp
Matthew-Krueger/GEOGL
aae6adbd3d9cfadb4fe65b961d018636e42ddecc
[ "Zlib" ]
null
null
null
Engine/Source/GEOGL/Rendering/Renderer2D.cpp
Matthew-Krueger/GEOGL
aae6adbd3d9cfadb4fe65b961d018636e42ddecc
[ "Zlib" ]
null
null
null
/******************************************************************************* * Copyright (c) 2020 Matthew Krueger * * * * This software is provided 'as-is', without any express or implied ...
35.93736
152
0.577191
[ "render", "transform" ]
43b40e99c712c69b4a8e694d6f476dca471f4544
22,941
cc
C++
DQM/HcalCommon/src/ContainerSingle2D.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
DQM/HcalCommon/src/ContainerSingle2D.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
DQM/HcalCommon/src/ContainerSingle2D.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
#include "DQM/HcalCommon/interface/ContainerSingle2D.h" #include "DQM/HcalCommon/interface/Utilities.h" namespace hcaldqm { using namespace constants; using namespace quantity; ContainerSingle2D::ContainerSingle2D() { _qx = nullptr; _qy = nullptr; _qz = nullptr; } ContainerSingle2D::ContainerSin...
42.641264
120
0.635543
[ "vector" ]
43b41082b9bf27e3e6c11beef1e71fdf8bda6516
8,464
cpp
C++
test/regression_tests/HeavyTestNorm.cpp
jrood-nrel/percept
363cdd0050443760d54162f140b2fb54ed9decf0
[ "BSD-2-Clause" ]
3
2017-08-08T21:06:02.000Z
2020-01-08T13:23:36.000Z
test/regression_tests/HeavyTestNorm.cpp
jrood-nrel/percept
363cdd0050443760d54162f140b2fb54ed9decf0
[ "BSD-2-Clause" ]
2
2016-12-17T00:18:56.000Z
2019-08-09T15:29:25.000Z
test/regression_tests/HeavyTestNorm.cpp
jrood-nrel/percept
363cdd0050443760d54162f140b2fb54ed9decf0
[ "BSD-2-Clause" ]
2
2017-11-30T07:02:41.000Z
2019-08-05T17:07:04.000Z
// Copyright 2002 - 2008, 2010, 2011 National Technology Engineering // Solutions of Sandia, LLC (NTESS). Under the terms of Contract // DE-NA0003525 with NTESS, the U.S. Government retains certain rights // in this software. // // Use of this source code is governed by a BSD-style // license that can be found in the L...
41.287805
164
0.64095
[ "mesh", "vector" ]
43b6099907b110b4501e32453e0d3106d8f21d5c
11,938
cpp
C++
debugger/src/cpu_arm_plugin/cpu_arm7_func.cpp
mfkiwl/riscv_vhdl-64bit-fault-tolerant
9c18c09c0f2ae664e6e95cf54d737203849a9253
[ "Apache-2.0" ]
432
2015-11-08T20:32:45.000Z
2022-03-30T07:53:01.000Z
debugger/src/cpu_arm_plugin/cpu_arm7_func.cpp
mfkiwl/riscv_vhdl-64bit-fault-tolerant
9c18c09c0f2ae664e6e95cf54d737203849a9253
[ "Apache-2.0" ]
37
2016-02-23T13:13:34.000Z
2021-09-27T14:06:50.000Z
debugger/src/cpu_arm_plugin/cpu_arm7_func.cpp
mfkiwl/riscv_vhdl-64bit-fault-tolerant
9c18c09c0f2ae664e6e95cf54d737203849a9253
[ "Apache-2.0" ]
99
2015-12-07T05:17:18.000Z
2022-02-17T11:17:14.000Z
/* * Copyright 2018 Sergey Khabarov, sergeykhbr@gmail.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...
29.188264
79
0.600184
[ "vector" ]
43b78b8479272ef60a968f4fab8dadf482bf4030
5,086
hpp
C++
sources/page.hpp
Unusual55/CPP_Ex2_B
0d7989a3cd88a56e1b2b15d2f71a52a771f78718
[ "MIT" ]
null
null
null
sources/page.hpp
Unusual55/CPP_Ex2_B
0d7989a3cd88a56e1b2b15d2f71a52a771f78718
[ "MIT" ]
null
null
null
sources/page.hpp
Unusual55/CPP_Ex2_B
0d7989a3cd88a56e1b2b15d2f71a52a771f78718
[ "MIT" ]
null
null
null
#ifndef PAGE_HPP #define PAGE_HPP #pragma once #include <string> #include "Direction.hpp" #include <unordered_map> #include <vector> #include <iterator> #include <string> #include <iostream> #define LEN 100 using namespace std; class Page { unordered_map<int, char *> rows; void printRow(int rowId) { ...
24.68932
107
0.486433
[ "vector" ]
43b97d05a32233d7dd97a4bb8c3d8e2133fa56a6
2,220
cpp
C++
SerialPrograms/Source/PokemonSwSh/Inference/PokemonSwSh_FishingDetector.cpp
BlizzardHero/Arduino-Source
bc4ce6433651b0feef488735098900f8bf4144f8
[ "MIT" ]
null
null
null
SerialPrograms/Source/PokemonSwSh/Inference/PokemonSwSh_FishingDetector.cpp
BlizzardHero/Arduino-Source
bc4ce6433651b0feef488735098900f8bf4144f8
[ "MIT" ]
null
null
null
SerialPrograms/Source/PokemonSwSh/Inference/PokemonSwSh_FishingDetector.cpp
BlizzardHero/Arduino-Source
bc4ce6433651b0feef488735098900f8bf4144f8
[ "MIT" ]
null
null
null
/* Fishing Detector * * From: https://github.com/PokemonAutomation/Arduino-Source * */ #include <QImage> #include "Common/Compiler.h" #include "CommonFramework/ImageTools/SolidColorTest.h" #include "CommonFramework/Tools/VideoOverlaySet.h" #include "CommonFramework/InferenceInfra/InferenceRoutines.h" ...
25.227273
87
0.704054
[ "vector" ]
43c46c5d50c93190a0528375e068b51c891d9b32
19,693
cpp
C++
compiler/llvm/HexboxAnalysis.cpp
Ruide/ACES
cade77ad522a0a0df0af50940fff61871e7bc745
[ "NCSA" ]
16
2018-08-15T14:51:14.000Z
2022-02-26T17:16:45.000Z
compiler/llvm/HexboxAnalysis.cpp
Ruide/ACES
cade77ad522a0a0df0af50940fff61871e7bc745
[ "NCSA" ]
1
2019-06-14T21:25:43.000Z
2019-12-18T20:10:43.000Z
compiler/llvm/HexboxAnalysis.cpp
Ruide/ACES
cade77ad522a0a0df0af50940fff61871e7bc745
[ "NCSA" ]
12
2018-12-21T00:47:03.000Z
2022-02-16T14:28:16.000Z
//===- HexboxAnalysis.cpp -------------------------------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
31.609952
126
0.475296
[ "object", "vector" ]
43c577f81da554b7ddf5b5ea2b3ca4337d763567
1,574
hpp
C++
standards/histogram.hpp
FIshikawa/standards
d146e99a53504c07226d6ef6b38255ea31c58f5c
[ "BSL-1.0" ]
null
null
null
standards/histogram.hpp
FIshikawa/standards
d146e99a53504c07226d6ef6b38255ea31c58f5c
[ "BSL-1.0" ]
null
null
null
standards/histogram.hpp
FIshikawa/standards
d146e99a53504c07226d6ef6b38255ea31c58f5c
[ "BSL-1.0" ]
null
null
null
// Copyright (C) 2018 by Synge Todo <wistaria@phys.s.u-tokyo.ac.jp> // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #ifndef STANDARDS_HISTOGRAM_HPP #define STANDARDS_HISTOGRAM_HPP #include <cstdint> #include <s...
26.233333
79
0.651842
[ "vector" ]
43cd5d91c0819a43e854652da8a0b767b38142c3
3,770
cpp
C++
c++/leetcode/0673-Number_of_Longest_Increasing_Subsequence-M.cpp
levendlee/leetcode
35e274cb4046f6ec7112cd56babd8fb7d437b844
[ "Apache-2.0" ]
1
2020-03-02T10:56:22.000Z
2020-03-02T10:56:22.000Z
c++/leetcode/0673-Number_of_Longest_Increasing_Subsequence-M.cpp
levendlee/leetcode
35e274cb4046f6ec7112cd56babd8fb7d437b844
[ "Apache-2.0" ]
null
null
null
c++/leetcode/0673-Number_of_Longest_Increasing_Subsequence-M.cpp
levendlee/leetcode
35e274cb4046f6ec7112cd56babd8fb7d437b844
[ "Apache-2.0" ]
null
null
null
// 673 Number of Longest Increasing Subsequence // https://leetcode.com/problems/number-of-longest-increasing-subsequence // version: 1; create time: 2020-01-24 22:40:25; class Solution { public: int findNumberOfLIS(vector<int>& nums) { const int n = nums.size(); if (n <= 1) return n; vect...
30.650407
112
0.490716
[ "vector" ]
43cfe558a17d362698dbaca3f32d1acffa1406b4
3,396
cpp
C++
assignment10/src/assignment10.cpp
tilhr/C-
96b3bdec197c24586cd49abb85a6d07e477b888d
[ "MIT" ]
3
2019-12-28T07:14:57.000Z
2019-12-30T12:52:32.000Z
assignment10/src/assignment10.cpp
tilhr/Cpp
96b3bdec197c24586cd49abb85a6d07e477b888d
[ "MIT" ]
null
null
null
assignment10/src/assignment10.cpp
tilhr/Cpp
96b3bdec197c24586cd49abb85a6d07e477b888d
[ "MIT" ]
3
2020-10-01T06:58:48.000Z
2021-09-20T11:11:11.000Z
//============================================================================ // Name : rodgersA10.cpp // Author : Tyler ROdgers // Version : // Copyright : Your copyright notice // Description : Hello World in C++, Ansi-style //========================================================================...
21.493671
125
0.518846
[ "vector" ]
43dcc94580f2bd581f7aafabbdd811b872977ee4
1,135
cpp
C++
uva/1174.cpp
cosmicray001/Online_judge_Solutions-
5dc6f90d3848eb192e6edea8e8c731f41a1761dd
[ "MIT" ]
3
2018-01-08T02:52:51.000Z
2021-03-03T01:08:44.000Z
uva/1174.cpp
cosmicray001/Online_judge_Solutions-
5dc6f90d3848eb192e6edea8e8c731f41a1761dd
[ "MIT" ]
null
null
null
uva/1174.cpp
cosmicray001/Online_judge_Solutions-
5dc6f90d3848eb192e6edea8e8c731f41a1761dd
[ "MIT" ]
1
2020-08-13T18:07:35.000Z
2020-08-13T18:07:35.000Z
#include <bits/stdc++.h> #define le 50004 #define li 2003 using namespace std; int p[li]; struct edge{ int x, y, w; }; bool comp(edge a, edge b){ return a.w < b.w; } vector<edge> v; int fnc(int a){ if(p[a] == a) return a; return p[a] = fnc(p[a]); } int mst(int n){ sort(v.begin(), v.end(), comp); int ans = 0...
19.237288
45
0.440529
[ "vector" ]
43df182f26e27cd11358acb342529219b29e5b51
7,189
cpp
C++
libpeconv/src/exported_func.cpp
bak724/libpeconv
a73c9241431ce099117b3fe28d9679292a4093bf
[ "BSD-2-Clause" ]
1
2021-10-16T01:40:27.000Z
2021-10-16T01:40:27.000Z
libpeconv/src/exported_func.cpp
metablaster/libpeconv
ad8421489cae861104aa55b89f73f89f6c2c5b23
[ "BSD-2-Clause" ]
null
null
null
libpeconv/src/exported_func.cpp
metablaster/libpeconv
ad8421489cae861104aa55b89f73f89f6c2c5b23
[ "BSD-2-Clause" ]
null
null
null
#include "peconv/exported_func.h" #include <string> #include <algorithm> #include <sstream> #include <iomanip> #include <iostream> #include "peconv/file_util.h" using namespace peconv; std::string peconv::get_dll_shortname(const std::string& str) { std::size_t len = str.length(); size_t ext_pos = len; si...
27.438931
118
0.585339
[ "transform" ]
43e442448cca4740e315e12f11cd4dc2e7eb778f
509
cpp
C++
LeetCode/0682. Baseball Game/solution.cpp
InnoFang/oh-my-algorithms
f559dba371ce725a926725ad28d5e1c2facd0ab2
[ "Apache-2.0" ]
1
2017-03-31T15:24:01.000Z
2017-03-31T15:24:01.000Z
LeetCode/0682. Baseball Game/solution.cpp
InnoFang/Algorithm-Library
1896b9d8b1fa4cd73879aaecf97bc32d13ae0169
[ "Apache-2.0" ]
null
null
null
LeetCode/0682. Baseball Game/solution.cpp
InnoFang/Algorithm-Library
1896b9d8b1fa4cd73879aaecf97bc32d13ae0169
[ "Apache-2.0" ]
null
null
null
/** * 39 / 39 test cases passed. * Runtime: 4 ms * Memory Usage: 8 MB */ class Solution { public: int calPoints(vector<string>& ops) { vector<int> stk; for (auto &op : ops) { if (op == "C") stk.pop_back(); else if (op == "D") stk.push_back(stk.back() * 2); el...
26.789474
80
0.499018
[ "vector" ]
43e4b7d4089e5827829ca4d8ca7e9872afbb6864
7,849
cpp
C++
live/src/v20180801/model/DelayInfo.cpp
sinjoywong/tencentcloud-sdk-cpp
1b931d20956a90b15a6720f924e5c69f8786f9f4
[ "Apache-2.0" ]
null
null
null
live/src/v20180801/model/DelayInfo.cpp
sinjoywong/tencentcloud-sdk-cpp
1b931d20956a90b15a6720f924e5c69f8786f9f4
[ "Apache-2.0" ]
null
null
null
live/src/v20180801/model/DelayInfo.cpp
sinjoywong/tencentcloud-sdk-cpp
1b931d20956a90b15a6720f924e5c69f8786f9f4
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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 ...
27.348432
135
0.680087
[ "model" ]
43ee321d30f2e3f59ff4723505ff89d7b2f4a1ef
604
cpp
C++
tjw5866Engine/tjw5866Engine/main.cpp
UberCelloCzar/BlockSlideEngine
973a120e0c629a5c957eb3fed74ed14d2f160e07
[ "MIT" ]
null
null
null
tjw5866Engine/tjw5866Engine/main.cpp
UberCelloCzar/BlockSlideEngine
973a120e0c629a5c957eb3fed74ed14d2f160e07
[ "MIT" ]
null
null
null
tjw5866Engine/tjw5866Engine/main.cpp
UberCelloCzar/BlockSlideEngine
973a120e0c629a5c957eb3fed74ed14d2f160e07
[ "MIT" ]
null
null
null
// Trevor Walden, IGME 209 Section 2, 17 March 2016 // This is an exercise in learning OpenGL and shaders (GLSL) #include <GL/glew.h> // Use OpenGL, extensions, and extra tools #include <GLFW/glfw3.h> #include <glm/glm.hpp> #include <glm/gtx/transform.hpp> #include <FreeImage.h> #include <vector> #include <iostream> #...
20.133333
63
0.682119
[ "vector", "transform" ]
43eea94c6522b28ec2d38d9aded0d5937937dcee
3,997
cpp
C++
main.cpp
marklit/dbf2csv
a11b9769cbc40aea3ed6c1ef1bf0f29419f39ee6
[ "MIT" ]
null
null
null
main.cpp
marklit/dbf2csv
a11b9769cbc40aea3ed6c1ef1bf0f29419f39ee6
[ "MIT" ]
null
null
null
main.cpp
marklit/dbf2csv
a11b9769cbc40aea3ed6c1ef1bf0f29419f39ee6
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <sstream> #include <iomanip> #include <boost/filesystem/operations.hpp> #include "DbfTable.h" #include "Version.h" using namespace std; typedef enum Mode { kVersion, kSummary, kCsv } Mode; void print_usage() { cout << "usage: dbf2csv [-h|-v|-s|-c|-k] fi...
32.762295
123
0.475106
[ "vector" ]
43f0a5f6c59ab8ff7b75618b01ebe646e189b35e
3,765
cpp
C++
CrossApp/network/assets-manager/downloader/Downloader.cpp
AojiaoZero/CrossApp
1f5375e061bf69841eb19728598f5ae3f508d620
[ "MIT" ]
794
2015-01-01T04:59:48.000Z
2022-03-09T03:31:13.000Z
CrossApp/network/assets-manager/downloader/Downloader.cpp
AojiaoZero/CrossApp
1f5375e061bf69841eb19728598f5ae3f508d620
[ "MIT" ]
83
2015-01-04T06:00:35.000Z
2021-05-20T08:48:38.000Z
CrossApp/network/assets-manager/downloader/Downloader.cpp
AojiaoZero/CrossApp
1f5375e061bf69841eb19728598f5ae3f508d620
[ "MIT" ]
598
2015-01-02T02:38:13.000Z
2022-03-09T03:31:37.000Z
#include "Downloader.h" #include "Downloader-curl.h" #include "platform/CAFileUtils.h" #define DownloaderImpl DownloaderCURL NS_CC_BEGIN DownloadTask::DownloadTask() { DLLOG("Construct DownloadTask %p", this); } DownloadTask::~DownloadTask() { DLLOG("Destruct DownloadTask %p", this); } //////////////////...
29.186047
137
0.513147
[ "vector" ]
43f31df73fd67a70b78ce092207c784b1c6f58ea
2,499
cpp
C++
src/scripting/ScriptSymbolQueries.cpp
KirmesBude/REGoth-bs
2e13dc3b9005744fccd7cea9c7e7cc1f94809e4a
[ "MIT" ]
399
2019-01-06T17:55:18.000Z
2022-03-21T17:41:18.000Z
src/scripting/ScriptSymbolQueries.cpp
KirmesBude/REGoth-bs
2e13dc3b9005744fccd7cea9c7e7cc1f94809e4a
[ "MIT" ]
101
2019-04-18T21:03:53.000Z
2022-01-08T13:27:01.000Z
src/scripting/ScriptSymbolQueries.cpp
KirmesBude/REGoth-bs
2e13dc3b9005744fccd7cea9c7e7cc1f94809e4a
[ "MIT" ]
56
2019-04-10T10:18:27.000Z
2022-02-08T01:23:31.000Z
#include "ScriptSymbolQueries.hpp" #include "ScriptSymbolStorage.hpp" #include "ScriptSymbols.hpp" namespace REGoth { namespace Scripting { namespace Queries { bs::Vector<SymbolIndex> findAllClasses(const ScriptSymbolStorage& storage) { auto isClass = [](const SymbolBase& s) { ...
30.47561
89
0.573429
[ "vector" ]
43f324c54914fe46a2795e0c2f647f7d1e57c7cc
7,298
cc
C++
ui/gfx/gtk_native_view_id_manager.cc
Scopetta197/chromium
b7bf8e39baadfd9089de2ebdc0c5d982de4a9820
[ "BSD-3-Clause" ]
212
2015-01-31T11:55:58.000Z
2022-02-22T06:35:11.000Z
ui/gfx/gtk_native_view_id_manager.cc
1065672644894730302/Chromium
239dd49e906be4909e293d8991e998c9816eaa35
[ "BSD-3-Clause" ]
5
2015-03-27T14:29:23.000Z
2019-09-25T13:23:12.000Z
ui/gfx/gtk_native_view_id_manager.cc
1065672644894730302/Chromium
239dd49e906be4909e293d8991e998c9816eaa35
[ "BSD-3-Clause" ]
221
2015-01-07T06:21:24.000Z
2022-02-11T02:51:12.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 "ui/gfx/gtk_native_view_id_manager.h" #include <gtk/gtk.h> #include <gdk/gdkx.h> #include "base/logging.h" #include "base/rand_util.h" #inc...
28.732283
80
0.661003
[ "object" ]
43f343df39c3db5e51f4900fcbba2bda5a564c99
907
cc
C++
psdaq/drp/test-mpscqueue.cc
JBlaschke/lcls2
30523ef069e823535475d68fa283c6387bcf817b
[ "BSD-3-Clause-LBNL" ]
16
2017-11-09T17:10:56.000Z
2022-03-09T23:03:10.000Z
psdaq/drp/test-mpscqueue.cc
JBlaschke/lcls2
30523ef069e823535475d68fa283c6387bcf817b
[ "BSD-3-Clause-LBNL" ]
6
2017-12-12T19:30:05.000Z
2020-07-09T00:28:33.000Z
psdaq/drp/test-mpscqueue.cc
JBlaschke/lcls2
30523ef069e823535475d68fa283c6387bcf817b
[ "BSD-3-Clause-LBNL" ]
25
2017-09-18T20:02:43.000Z
2022-03-27T22:27:42.000Z
#include "mpscqueue.hh" #include <chrono> #include <fstream> #include <iostream> #include <thread> #include <unistd.h> #include <vector> const int N = 1048576; void producer(MPSCQueue& queue, uint32_t* buffer, int rank) { int length = N / 8; for (int i = 0; i < length; i++) { int index = i + rank * le...
19.717391
67
0.545755
[ "vector" ]
43f80e44f81705ecdfd39898b14adc4f227086b2
16,223
cpp
C++
src/Matrix.cpp
nicksacco17/QPU
29949a6dfe6a43673413925908440138862a3050
[ "MIT" ]
null
null
null
src/Matrix.cpp
nicksacco17/QPU
29949a6dfe6a43673413925908440138862a3050
[ "MIT" ]
null
null
null
src/Matrix.cpp
nicksacco17/QPU
29949a6dfe6a43673413925908440138862a3050
[ "MIT" ]
null
null
null
#include "../include/Matrix.h" #include "../include/Utility.h" #include <iostream> #include <algorithm> #include <functional> #include <chrono> #include <math.h> #ifdef USE_GPU #include <cuda_runtime.h> #include <cusolverDn.h> #include <cuComplex.h> #include <cublas_v2.h> #endif using std::cout; using std::endl; /...
25.151938
245
0.637737
[ "vector", "transform" ]
43f93a93f05e9f51c3e08931d5e4d3d9aa7d2c39
26,160
cxx
C++
inetsrv/query/query/regacc.cxx
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
inetsrv/query/query/regacc.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
inetsrv/query/query/regacc.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
//+------------------------------------------------------------------------- // // Microsoft Windows // Copyright (C) Microsoft Corporation, 1992 - 2000. // // File: RegAcc.cxx // // Contents: 'Simple' registry access // // History: 21-Dec-93 KyleP Created // //---------------------------...
31.068884
122
0.434289
[ "object" ]
43f94e4e64027b388fca0523588f307ec719e035
579
hpp
C++
include/Pancake/Graphics/Image.hpp
Dante12129/Pancake
35282814e2f3b2d5e155a539ca5ddee32e240d3e
[ "Zlib" ]
null
null
null
include/Pancake/Graphics/Image.hpp
Dante12129/Pancake
35282814e2f3b2d5e155a539ca5ddee32e240d3e
[ "Zlib" ]
null
null
null
include/Pancake/Graphics/Image.hpp
Dante12129/Pancake
35282814e2f3b2d5e155a539ca5ddee32e240d3e
[ "Zlib" ]
null
null
null
#ifndef IMAGE_HPP #define IMAGE_HPP #include <cstdint> #include <string> #include <vector> #include <SDL2/SDL_surface.h> #include <glm/vec2.hpp> namespace pcke { class Image { public: bool loadFromFile(const std::string& file); bool loadFromSurface(SDL_Surface* su...
18.09375
55
0.576857
[ "vector" ]
43fdc1bb4f8779508814e0e1a3009668a4183571
10,572
cpp
C++
ext/openMVG/software/SfM/main_IncrementalSfM2.cpp
bitlw/EGSfM
d5b4260d38237c6bd814648cadcf1fcf2f8f5d31
[ "BSD-3-Clause" ]
90
2019-05-19T03:48:23.000Z
2022-02-02T15:20:49.000Z
ext/openMVG/software/SfM/main_IncrementalSfM2.cpp
bitlw/EGSfM
d5b4260d38237c6bd814648cadcf1fcf2f8f5d31
[ "BSD-3-Clause" ]
11
2019-05-22T07:45:46.000Z
2021-05-20T01:48:26.000Z
ext/openMVG/software/SfM/main_IncrementalSfM2.cpp
bitlw/EGSfM
d5b4260d38237c6bd814648cadcf1fcf2f8f5d31
[ "BSD-3-Clause" ]
18
2019-05-19T03:48:32.000Z
2021-05-29T18:19:16.000Z
// This file is part of OpenMVG, an Open Multiple View Geometry C++ library. // Copyright (c) 2018 Pierre MOULON. // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. #...
38.166065
109
0.699205
[ "geometry", "model" ]
a1000544f38f49953e9b4aca6316117f44ccc18b
1,059
hpp
C++
include/CoreLib/NetworkSessionManager.hpp
AntoineJT/BurgWar
8e435bd58dda0610d7dfc3ba6d313bd443c9b4b8
[ "MIT" ]
null
null
null
include/CoreLib/NetworkSessionManager.hpp
AntoineJT/BurgWar
8e435bd58dda0610d7dfc3ba6d313bd443c9b4b8
[ "MIT" ]
null
null
null
include/CoreLib/NetworkSessionManager.hpp
AntoineJT/BurgWar
8e435bd58dda0610d7dfc3ba6d313bd443c9b4b8
[ "MIT" ]
null
null
null
// Copyright (C) 2020 Jérôme Leclercq // This file is part of the "Burgwar" project // For conditions of distribution and use, see copyright notice in LICENSE #pragma once #ifndef BURGWAR_SERVER_NETWORKSESSIONMANAGER_HPP #define BURGWAR_SERVER_NETWORKSESSIONMANAGER_HPP #include <CoreLib/NetworkReactor.hpp> #include ...
25.829268
87
0.778093
[ "vector" ]
a108bb3dd61657bfb823df0a63400daf7c838649
2,116
cpp
C++
lib/async/src/net/Connection.cpp
astateful/dyplat
37c37c7ee9f55cc2a3abaa0f8ebbde34588d2f44
[ "BSD-3-Clause" ]
null
null
null
lib/async/src/net/Connection.cpp
astateful/dyplat
37c37c7ee9f55cc2a3abaa0f8ebbde34588d2f44
[ "BSD-3-Clause" ]
null
null
null
lib/async/src/net/Connection.cpp
astateful/dyplat
37c37c7ee9f55cc2a3abaa0f8ebbde34588d2f44
[ "BSD-3-Clause" ]
null
null
null
#include "astateful/async/net/Connection.hpp" namespace astateful { namespace async { namespace net { Connection::Connection() : m_flag( flag_e::RECV ), async::Connection() {} Connection::Connection( const std::vector<uint8_t>& buffer ) : m_flag( flag_e::SEND ), async::Connection( buffer ) { m...
24.045455
74
0.523157
[ "vector" ]
a10cec2ce7a8364c9c95f33fb65d66fb5a7755ca
2,935
cpp
C++
src/gct/acceleration_structure_geometry_triangles_data.cpp
Fadis/gct
bde211f9336e945e4db21f5abb4ce01dcad78049
[ "MIT" ]
1
2022-03-03T09:27:09.000Z
2022-03-03T09:27:09.000Z
src/gct/acceleration_structure_geometry_triangles_data.cpp
Fadis/gct
bde211f9336e945e4db21f5abb4ce01dcad78049
[ "MIT" ]
1
2021-12-02T03:45:45.000Z
2021-12-03T23:44:37.000Z
src/gct/acceleration_structure_geometry_triangles_data.cpp
Fadis/gct
bde211f9336e945e4db21f5abb4ce01dcad78049
[ "MIT" ]
null
null
null
#include <iostream> #include <gct/acceleration_structure_geometry_triangles_data.hpp> #ifdef VK_KHR_ACCELERATION_STRUCTURE_EXTENSION_NAME #include <variant> #include <memory> #include <optional> #include <vulkan/vulkan.hpp> #include <nlohmann/json_fwd.hpp> #include <gct/extension.hpp> #include <gct/device_or_host_addre...
35.361446
165
0.772743
[ "object" ]
a10d4fadcff541344862e7b671255ed1e566df9f
8,436
cc
C++
src/c++/latency/latency.cc
seemk/demikernel
69b047add66c196d152660449099b17d452eb7d5
[ "MIT" ]
null
null
null
src/c++/latency/latency.cc
seemk/demikernel
69b047add66c196d152660449099b17d452eb7d5
[ "MIT" ]
null
null
null
src/c++/latency/latency.cc
seemk/demikernel
69b047add66c196d152660449099b17d452eb7d5
[ "MIT" ]
null
null
null
// -*- mode: c++; c-file-style: "k&r"; c-basic-offset: 4 -*- // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. #include <dmtr/latency.h> #include <algorithm> #include <boost/chrono.hpp> #include <cassert> #include <dmtr/annot.h> #include <dmtr/fail.h> #include <stdint.h> #include <string> #i...
28.308725
88
0.571835
[ "vector" ]
a10db91cad5e5954ae2b669eb3c424f6c0ec60a7
40,521
cpp
C++
src/BoxTools/Chombo_BRMeshRefine.cpp
novertonCSU/Chombo_4
b833e49793758a7d6d22f976694c9d2e90d29c00
[ "BSD-3-Clause-LBNL" ]
11
2019-06-08T01:20:51.000Z
2021-12-21T12:18:54.000Z
src/BoxTools/Chombo_BRMeshRefine.cpp
novertonCSU/Chombo_4
b833e49793758a7d6d22f976694c9d2e90d29c00
[ "BSD-3-Clause-LBNL" ]
3
2020-03-13T06:25:55.000Z
2021-06-23T18:12:53.000Z
src/BoxTools/Chombo_BRMeshRefine.cpp
novertonCSU/Chombo_4
b833e49793758a7d6d22f976694c9d2e90d29c00
[ "BSD-3-Clause-LBNL" ]
4
2019-08-27T14:34:34.000Z
2021-10-04T21:46:59.000Z
#ifdef CH_LANG_CC /* * _______ __ * / ___/ / ___ __ _ / / ___ * / /__/ _ \/ _ \/ V \/ _ \/ _ \ * \___/_//_/\___/_/_/_/_.__/\___/ * Please refer to Copyright.txt, in Chombo's root directory. */ #endif #include <fstream> #include <iostream> #include "Chombo_SPMD.H" #include "Cho...
33.241181
113
0.581748
[ "mesh", "vector" ]
a10f5e6a2a4bacbad98f6ff3fb6fcd0d527dd17c
14,545
cc
C++
Validation/pyFrame3DD-master/gcc-master/gcc/brig/brigfrontend/brig-util.cc
djamal2727/Main-Bearing-Analytical-Model
2f00c2219c71be0175c6f4f8f1d4cca231d97096
[ "Apache-2.0" ]
null
null
null
Validation/pyFrame3DD-master/gcc-master/gcc/brig/brigfrontend/brig-util.cc
djamal2727/Main-Bearing-Analytical-Model
2f00c2219c71be0175c6f4f8f1d4cca231d97096
[ "Apache-2.0" ]
null
null
null
Validation/pyFrame3DD-master/gcc-master/gcc/brig/brigfrontend/brig-util.cc
djamal2727/Main-Bearing-Analytical-Model
2f00c2219c71be0175c6f4f8f1d4cca231d97096
[ "Apache-2.0" ]
null
null
null
/* brig-util.cc -- gccbrig utility functions Copyright (C) 2016-2020 Free Software Foundation, Inc. Contributed by Pekka Jaaskelainen <pekka.jaaskelainen@parmance.com> for General Processor Tech. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the G...
25.295652
79
0.699828
[ "vector" ]
e164525cdcd92a73b8c0efa510ea19a8996b25a3
1,435
cpp
C++
gps/gps.cpp
devangel77b/hull13
8658d8c0be99b60656d6c57442222832c891a4f7
[ "Apache-2.0" ]
null
null
null
gps/gps.cpp
devangel77b/hull13
8658d8c0be99b60656d6c57442222832c891a4f7
[ "Apache-2.0" ]
14
2018-04-29T12:24:46.000Z
2018-07-24T17:58:50.000Z
gps/gps.cpp
devangel77b/hull13
8658d8c0be99b60656d6c57442222832c891a4f7
[ "Apache-2.0" ]
null
null
null
/* gps.cpp implementation file Dennis Evangelista, 2018 */ #include "mbed.h" #include "rtos.h" #include "gps.h" #include "TinyGPSplus.h" /* Callback function for the gps, to be attached to RxIrq on the Serial connection _gps to the Copernicus II. */ void Gps::_rx_callback(void){ // ha...
19.391892
72
0.625087
[ "object" ]
e1649d6a233907efa33d5a49b1849f1a5dc63058
8,762
cpp
C++
src/libsalt/Simulation.cpp
etri-city-traffic-brain/traffic-simulator
6d5061febeaef484388b2b5aee14d9894099d98a
[ "Apache-2.0" ]
8
2020-08-27T05:44:05.000Z
2021-12-27T05:11:17.000Z
src/libsalt/Simulation.cpp
etri-city-traffic-brain/traffic-simulator
6d5061febeaef484388b2b5aee14d9894099d98a
[ "Apache-2.0" ]
null
null
null
src/libsalt/Simulation.cpp
etri-city-traffic-brain/traffic-simulator
6d5061febeaef484388b2b5aee14d9894099d98a
[ "Apache-2.0" ]
1
2020-11-27T05:17:29.000Z
2020-11-27T05:17:29.000Z
/****************************************************************************/ // C++ libsalt API implementation /****************************************************************************/ #include <cstring> #include <utils/config.h> #include <utils/etc.h> #include "LibsaltDefs.h" #include "Simulation.h" #include ...
35.617886
189
0.510157
[ "render", "shape", "vector" ]
e164e6b51174f3d35fada92f854fe7c35251db30
24,940
cpp
C++
src/qt/bdappage.cpp
blackrangersoftware/brs-dynamic-core
21d2e1d944acaf50fead74e3137a67082658da6f
[ "MIT" ]
1
2020-12-29T15:35:45.000Z
2020-12-29T15:35:45.000Z
src/qt/bdappage.cpp
yangbaitu/Dynamic
21d2e1d944acaf50fead74e3137a67082658da6f
[ "MIT" ]
null
null
null
src/qt/bdappage.cpp
yangbaitu/Dynamic
21d2e1d944acaf50fead74e3137a67082658da6f
[ "MIT" ]
null
null
null
// Copyright (c) 2016-2019 Duality Blockchain Solutions Developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "bdappage.h" #include "bdap/fees.h" #include "bdapaccounttablemodel.h" #include "bdapaddlinkdialog....
34.929972
152
0.669487
[ "vector", "model" ]
e167c7aa2579d384903ddf5df16b44cc13e11b47
21,067
hpp
C++
src/hotspot/share/opto/matcher.hpp
siweilxy/openjdkstudy
8597674ec1d6809faf55cbee1f45f4e9149d670d
[ "Apache-2.0" ]
null
null
null
src/hotspot/share/opto/matcher.hpp
siweilxy/openjdkstudy
8597674ec1d6809faf55cbee1f45f4e9149d670d
[ "Apache-2.0" ]
null
null
null
src/hotspot/share/opto/matcher.hpp
siweilxy/openjdkstudy
8597674ec1d6809faf55cbee1f45f4e9149d670d
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 1997, 2019, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
37.822262
124
0.723691
[ "vector", "transform" ]
e16c858b1c89fa51d3c90cd5b722dea3cb0e0580
6,299
cc
C++
tensorflow/core/kernels/dml_topk_op.cc
BenjaminWegener/tensorflow-directml
ecdbdbd2691e17dcc462fc49138fc7cc1536b7d5
[ "Apache-2.0" ]
351
2020-09-01T08:36:28.000Z
2022-03-29T06:54:29.000Z
tensorflow/core/kernels/dml_topk_op.cc
BenjaminWegener/tensorflow-directml
ecdbdbd2691e17dcc462fc49138fc7cc1536b7d5
[ "Apache-2.0" ]
80
2020-09-02T01:57:33.000Z
2022-03-28T08:51:57.000Z
tensorflow/core/kernels/dml_topk_op.cc
BenjaminWegener/tensorflow-directml
ecdbdbd2691e17dcc462fc49138fc7cc1536b7d5
[ "Apache-2.0" ]
29
2020-09-14T06:29:58.000Z
2022-03-01T09:21:17.000Z
/* Copyright 2020 The TensorFlow Authors. All Rights Reserved. Portions Copyright (c) Microsoft Corporation. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICEN...
39.616352
80
0.641372
[ "shape", "vector" ]
e16d5f36b387109e1696669fc06b6be64ab5e8ba
3,376
hpp
C++
include/order_statistic_map/details/fixed_size_allocator.hpp
gbalduzz/Random-Access-Map-Library
ca7d741d747f8134105b322696c82e1bbef55a42
[ "BSD-3-Clause" ]
1
2020-10-04T16:37:04.000Z
2020-10-04T16:37:04.000Z
include/order_statistic_map/details/fixed_size_allocator.hpp
gbalduzz/Random-Access-Map-Library
ca7d741d747f8134105b322696c82e1bbef55a42
[ "BSD-3-Clause" ]
null
null
null
include/order_statistic_map/details/fixed_size_allocator.hpp
gbalduzz/Random-Access-Map-Library
ca7d741d747f8134105b322696c82e1bbef55a42
[ "BSD-3-Clause" ]
null
null
null
// Copyright (C) ETH Zurich // Copyright (C) 2020 UT-Battelle, LLC // All rights reserved. // // See LICENSE for terms of usage. // // Author: Giovanni Balduzzi (gbalduzz@itp.phys.ethz.ch) // // Author: Giovanni Balduzzi (gbalduzz@itp.phys.ethz.ch) // // Non thread-safe allocator to quickly allocate and deallocate obje...
28.369748
94
0.69609
[ "vector" ]
e16f672467618ef141698db73f3ebdc260292fb7
3,591
cpp
C++
atcoder/corp/codethanksfes2017_h.cpp
knuu/competitive-programming
16bc68fdaedd6f96ae24310d697585ca8836ab6e
[ "MIT" ]
1
2018-11-12T15:18:55.000Z
2018-11-12T15:18:55.000Z
atcoder/corp/codethanksfes2017_h.cpp
knuu/competitive-programming
16bc68fdaedd6f96ae24310d697585ca8836ab6e
[ "MIT" ]
null
null
null
atcoder/corp/codethanksfes2017_h.cpp
knuu/competitive-programming
16bc68fdaedd6f96ae24310d697585ca8836ab6e
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; typedef long long int ll; typedef pair<int, int> P; typedef pair<ll, ll> Pll; typedef vector<int> Vi; //typedef tuple<int, int, int> T; #define FOR(i,s,x) for(int i=s;i<(int)(x);i++) #define REP(i,x) FOR(i,0,x) #define ALL(c) c.begin(), c.end() #define DUMP( x ) cerr << #x...
21.248521
86
0.455862
[ "vector" ]
e176404c79fed43732e6928bc0edd65f10113783
24,732
cpp
C++
src/model/markmodel.cpp
aalele/MRCEditor
016f77e6f986a5134e3fd27680208c12a574129b
[ "MIT" ]
null
null
null
src/model/markmodel.cpp
aalele/MRCEditor
016f77e6f986a5134e3fd27680208c12a574129b
[ "MIT" ]
null
null
null
src/model/markmodel.cpp
aalele/MRCEditor
016f77e6f986a5134e3fd27680208c12a574129b
[ "MIT" ]
null
null
null
#include "markmodel.h" #include "widgets/sliceeditorwidget.h" #include "globals.h" #include "abstract/abstractslicedatamodel.h" #include "markitem.h" #include "model/roottreeitem.h" #include "model/categorytreeitem.h" #include <QStyledItemDelegate> #include <QScopedPointer> #include <QAbstractItemView> #include <QPain...
29.690276
149
0.698326
[ "mesh", "model" ]
e1794b784456ed269f328decb22d38573c2a110a
11,193
hpp
C++
include/ODBCLSLB/blobs.hpp
aliakseis/odbcpp
7dc71f3019502674a15cac52dd90aa46e1183594
[ "MIT" ]
null
null
null
include/ODBCLSLB/blobs.hpp
aliakseis/odbcpp
7dc71f3019502674a15cac52dd90aa46e1183594
[ "MIT" ]
null
null
null
include/ODBCLSLB/blobs.hpp
aliakseis/odbcpp
7dc71f3019502674a15cac52dd90aa46e1183594
[ "MIT" ]
null
null
null
#pragma once typedef char BLOBFORMAT; enum { FMT_BITMAP = 1, FMT_METAFILEPICT = 2, NUM_FMT_ENTRIES = 5, SIZE_FMT_ENTRIES = NUM_FMT_ENTRIES * sizeof(BLOBFORMAT) }; class odbcEXPORTED odbcBLOB { private: odbcCURSOR* pGetCursor; odbcCURSOR* pPutCursor; UWORD iCol; UWORD iParam; void...
30.008043
79
0.419637
[ "object" ]
e17a8fc76f8d4fa276d43d5c39b0dda8e53b31b9
7,396
cpp
C++
3rdParty/boost/1.61.0/libs/compute/test/test_reduce.cpp
mikestaub/arangodb
1bdf414de29b31bcaf80769a095933f66f8256ce
[ "ICU", "BSL-1.0", "Zlib", "Apache-2.0" ]
5
2017-01-19T09:35:40.000Z
2021-02-26T07:31:38.000Z
libs/compute/test/test_reduce.cpp
crystax/android-vendor-boost-1-61-0
a1f467d25d815dc7613fbee06c632cae423f52ca
[ "BSL-1.0" ]
1
2015-11-09T15:38:28.000Z
2015-11-12T11:14:58.000Z
libs/compute/test/test_reduce.cpp
crystax/android-vendor-boost-1-61-0
a1f467d25d815dc7613fbee06c632cae423f52ca
[ "BSL-1.0" ]
3
2015-11-02T09:37:09.000Z
2017-05-05T06:38:49.000Z
//---------------------------------------------------------------------------// // Copyright (c) 2013 Kyle Lutz <kyle.r.lutz@gmail.com> // // Distributed under the Boost Software License, Version 1.0 // See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt // // See http://boostorg.gi...
27.392593
97
0.612088
[ "vector" ]
e17ad7a980a06b6f14018b81003aba63e78065bb
4,084
cpp
C++
src/c_api/all.cpp
bdbabiak/Coda
5e84624ae2b759fb1743778316f64c801591c48a
[ "Apache-2.0" ]
1
2019-01-05T17:33:59.000Z
2019-01-05T17:33:59.000Z
src/c_api/all.cpp
bdbabiak/Coda
5e84624ae2b759fb1743778316f64c801591c48a
[ "Apache-2.0" ]
null
null
null
src/c_api/all.cpp
bdbabiak/Coda
5e84624ae2b759fb1743778316f64c801591c48a
[ "Apache-2.0" ]
null
null
null
#include "all.h" using namespace ccoda; cSentenceSplitter* cSentenceSplitter_create(Tools::Language language) { return (cSentenceSplitter*) new _sentence_splitter::SentenceSplitter(language); } void cSentenceSplitter_destroy(cSentenceSplitter* ss) { delete (_sentence_splitter::SentenceSplitter*) ss; } /// @return...
21.608466
134
0.761019
[ "vector" ]
e17e1929581ca741c0a857d9032e2a3de9005dde
3,582
cpp
C++
src/snAux/src/auxFunc.cpp
ifritee/skynet
035dd5917ed61bdae03ab3cab121762b31a0e1fa
[ "MIT" ]
1
2019-12-25T20:13:03.000Z
2019-12-25T20:13:03.000Z
src/snAux/src/auxFunc.cpp
catcherochek/skynet
d773f730ff7310e27a04e3d2251c725e16454ae5
[ "MIT" ]
null
null
null
src/snAux/src/auxFunc.cpp
catcherochek/skynet
d773f730ff7310e27a04e3d2251c725e16454ae5
[ "MIT" ]
1
2020-05-06T13:51:04.000Z
2020-05-06T13:51:04.000Z
// // SkyNet Project // Copyright (C) 2018 by Contributors <https://github.com/Tyill/skynet> // // This code is licensed under the MIT License. // // 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 Sof...
29.603306
139
0.600782
[ "vector", "transform" ]
e18d152104cc2d94aa9e0d1e76a5b9eea6f640d3
595
cpp
C++
src/al_common/entity/AlAttribute.cpp
imalimin/FilmKilns
2146487c4292d8c7453a53c54d1e24417902f8b7
[ "MIT" ]
83
2020-11-13T01:35:13.000Z
2022-03-25T02:12:13.000Z
src/al_common/entity/AlAttribute.cpp
mohsinnaqvi110/FilmKilns
2146487c4292d8c7453a53c54d1e24417902f8b7
[ "MIT" ]
3
2020-03-23T07:28:29.000Z
2020-09-11T17:16:48.000Z
src/al_common/entity/AlAttribute.cpp
lmylr/hwvc
2146487c4292d8c7453a53c54d1e24417902f8b7
[ "MIT" ]
32
2020-11-09T04:20:35.000Z
2022-03-22T04:11:45.000Z
/* * Copyright (c) 2018-present, aliminabc@gmail.com. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "AlAttribute.h" AlAttribute::AlAttribute(std::string &k, std::string &v) { pair.first = k; pair.second = v; } AlAttri...
19.193548
65
0.678992
[ "object" ]
e18ebc51c02ec78446ab6adea12a2b53e2aa866b
6,141
cc
C++
build/OLD/AvidaGP-Mancala.cc
mitchelljohnson3/MABE2
08a615a8b1affb25021045ed8113720431709028
[ "MIT" ]
5
2020-04-24T18:57:30.000Z
2021-07-02T19:23:51.000Z
build/OLD/AvidaGP-Mancala.cc
athaichi/MABE2
6d6640a3658c1843611affbce25ce3d564523358
[ "MIT" ]
4
2021-10-29T23:31:02.000Z
2022-02-23T16:24:54.000Z
build/OLD/AvidaGP-Mancala.cc
athaichi/MABE2
6d6640a3658c1843611affbce25ce3d564523358
[ "MIT" ]
9
2020-08-11T17:12:23.000Z
2022-01-13T17:04:45.000Z
// This file is part of Empirical, https://github.com/devosoft/Empirical // Copyright (C) Michigan State University, 2017. // Released under the MIT Software license; see doc/LICENSE #include <iostream> #include "games/Mancala.h" #include "hardware/AvidaGP.h" #include "hardware/InstLib.h" #include "tools/Random.h"...
30.705
98
0.625794
[ "vector" ]
e18f126901624d1f7525e5da1d87d9e13f7907e9
2,584
cpp
C++
ceppengine/src/ceppengine/assets/assetloader.cpp
Winded/ceppengine
52a9c1723dc45aba4d85d50e4c919ec8016c8d94
[ "MIT" ]
2
2017-11-13T11:29:03.000Z
2017-11-13T12:09:12.000Z
ceppengine/src/ceppengine/assets/assetloader.cpp
Winded/ceppengine
52a9c1723dc45aba4d85d50e4c919ec8016c8d94
[ "MIT" ]
null
null
null
ceppengine/src/ceppengine/assets/assetloader.cpp
Winded/ceppengine
52a9c1723dc45aba4d85d50e4c919ec8016c8d94
[ "MIT" ]
null
null
null
#include "assetloader.h" #include <algorithm> #include <fstream> #include "../engine.h" #include "importers/textureimporter.h" #include "importers/jsonimporter.h" #include "importers/shaderimporter.h" #include "importers/meshimporter.h" #include "importers/audioimporter.h" #include "importers/fontimporter.h" namespace...
27.784946
113
0.660991
[ "vector" ]
e190e2c484b99071c710771fb86f6c64849d8cea
2,196
cc
C++
src/puffrs_factory.cc
akhilPotla97/PUFfRS
42fdfa6085706536b4066a76955cef1cc35fa93f
[ "Apache-2.0" ]
null
null
null
src/puffrs_factory.cc
akhilPotla97/PUFfRS
42fdfa6085706536b4066a76955cef1cc35fa93f
[ "Apache-2.0" ]
5
2019-03-01T18:33:36.000Z
2019-05-14T14:04:10.000Z
src/puffrs_factory.cc
akhilPotla97/PUFfRS
42fdfa6085706536b4066a76955cef1cc35fa93f
[ "Apache-2.0" ]
3
2018-02-24T01:32:01.000Z
2019-04-02T21:51:44.000Z
// Copyright 2015 John T. Foster // 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 writ...
39.927273
79
0.731785
[ "object" ]
e191f373b9fe27b90dd5273bdd0c84f0d5d3988b
9,181
cpp
C++
3rdparty/meshlab-master/src/plugins_unsupported/filter_sdf/filter_sdf+.cpp
HoEmpire/slambook2
96d360f32aa5d8b5c5dcbbf9ee7ba865e84409f4
[ "MIT" ]
4
2016-03-30T14:31:52.000Z
2019-02-02T05:01:32.000Z
graphics/meshlab/src/meshlabplugins/filter_sdf/filter_sdf+.cpp
hlzz/dotfiles
0591f71230c919c827ba569099eb3b75897e163e
[ "BSD-3-Clause" ]
null
null
null
graphics/meshlab/src/meshlabplugins/filter_sdf/filter_sdf+.cpp
hlzz/dotfiles
0591f71230c919c827ba569099eb3b75897e163e
[ "BSD-3-Clause" ]
null
null
null
#include <vcg/complex/complex.h> #include <vcg/complex/algorithms/update/topology.h> #include <vcg/complex/algorithms/update/edges.h> #include <vcg/complex/algorithms/update/bounding.h> #include <vcg/complex/algorithms/update/quality.h> #include <vcg/complex/algorithms/update/color.h> #include <vcg/complex/algorithms/u...
40.444934
104
0.61453
[ "mesh", "shape", "vector" ]
e193e3a0b5db48bf789990b55177dcefedf8a29b
4,802
hpp
C++
include/codegen/include/GlobalNamespace/PS4BeatmapDataAssetFileModel.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
1
2021-11-12T09:29:31.000Z
2021-11-12T09:29:31.000Z
include/codegen/include/GlobalNamespace/PS4BeatmapDataAssetFileModel.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
null
null
null
include/codegen/include/GlobalNamespace/PS4BeatmapDataAssetFileModel.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
2
2021-10-03T02:14:20.000Z
2021-11-12T09:29:36.000Z
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once #pragma pack(push, 8) // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: IBeatmapDataAssetFileModel #include "GlobalNamespace/IB...
60.025
238
0.807997
[ "object" ]
e196bd3d25e7fc018a5ad4b71762e106e4c0f341
3,126
cc
C++
poj/1/1204.cc
eagletmt/procon
adbe503eb3c1bbcc1538b2ee8988aa353937e8d4
[ "MIT" ]
1
2015-04-17T09:54:23.000Z
2015-04-17T09:54:23.000Z
poj/1/1204.cc
eagletmt/procon
adbe503eb3c1bbcc1538b2ee8988aa353937e8d4
[ "MIT" ]
null
null
null
poj/1/1204.cc
eagletmt/procon
adbe503eb3c1bbcc1538b2ee8988aa353937e8d4
[ "MIT" ]
null
null
null
#include <cstdio> #include <cstring> #include <vector> #include <queue> using namespace std; struct ans { int i, j, dir; ans() : i(-1), j(-1), dir(-1) {} ans(int a, int b, int c) : i(a), j(b), dir(c) {} }; int L, C; char grid[1000][1000]; ans ret[1000]; static const int di[] = {-1, -1, 0, 1, 1, 1, 0, -1}; stati...
21.708333
97
0.43602
[ "vector" ]
e1a16691fc9d55b084494743162ba9ec43f58c61
20,112
cpp
C++
libs/iblprefilter/src/IBLPrefilterContext.cpp
baajur/filament
459f70f7b496cce5b7e7f35febc50e708ab4f475
[ "Apache-2.0" ]
1
2022-02-02T19:56:53.000Z
2022-02-02T19:56:53.000Z
libs/iblprefilter/src/IBLPrefilterContext.cpp
baajur/filament
459f70f7b496cce5b7e7f35febc50e708ab4f475
[ "Apache-2.0" ]
null
null
null
libs/iblprefilter/src/IBLPrefilterContext.cpp
baajur/filament
459f70f7b496cce5b7e7f35febc50e708ab4f475
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2021 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
38.090909
111
0.674722
[ "geometry" ]
e1a2b69e6c7b6ca0c3b261fd4b20bd0f88bd7ced
20,115
cpp
C++
Project/Motor2D/j1Player.cpp
EnricGDV/Game_Development_Platformer
7df4f7e21f649cabe4e8e134b2e99e665a069a1b
[ "Unlicense" ]
1
2019-10-14T06:53:57.000Z
2019-10-14T06:53:57.000Z
Project/Motor2D/j1Player.cpp
EnricGDV/Game_Development_Platformer
7df4f7e21f649cabe4e8e134b2e99e665a069a1b
[ "Unlicense" ]
null
null
null
Project/Motor2D/j1Player.cpp
EnricGDV/Game_Development_Platformer
7df4f7e21f649cabe4e8e134b2e99e665a069a1b
[ "Unlicense" ]
null
null
null
#include "p2Defs.h" #include "p2Log.h" #include "j1App.h" #include "j1Map.h" #include "j1Player.h" #include "j1Input.h" #include "j1Window.h" #include "j1Textures.h" #include "j1Scene.h" #include "j1Audio.h" #include "j1Render.h" #include "ModuleCollision.h" j1Player::j1Player() : j1Module() { name.create("player"); ...
30.851227
264
0.676908
[ "render" ]
e1a72880b47b454481a101d895d3164d3e8d97a8
12,627
cc
C++
pmlc/dialect/pxa/transforms/stencil_gemm.cc
IsolatedMy/plaidml
34538a9224e770fd79151105399d8d7ea08678c0
[ "Apache-2.0" ]
null
null
null
pmlc/dialect/pxa/transforms/stencil_gemm.cc
IsolatedMy/plaidml
34538a9224e770fd79151105399d8d7ea08678c0
[ "Apache-2.0" ]
65
2020-08-24T07:41:09.000Z
2021-07-19T09:13:49.000Z
pmlc/dialect/pxa/transforms/stencil_gemm.cc
Flex-plaidml-team/plaidml
1070411a87b3eb3d94674d4d041ed904be3e7d87
[ "Apache-2.0" ]
null
null
null
// Copyright 2020 Intel Corporation #include <string> #include "mlir/Dialect/Affine/IR/AffineOps.h" #include "mlir/Dialect/StandardOps/IR/Ops.h" #include "mlir/Pass/Pass.h" #include "mlir/Support/DebugStringHelper.h" #include "pmlc/dialect/pxa/analysis/strides.h" #include "pmlc/dialect/pxa/ir/matchers.h" #include "p...
38.263636
80
0.577097
[ "transform" ]
e1a7573881852724f9ea3054e439f497ca2c3cdf
1,251
cc
C++
CPP/No684.cc
hxz1998/funny_leetcode
1d2c425af09b57a030fc018ddc1e1a5ffb966cd0
[ "Apache-2.0" ]
null
null
null
CPP/No684.cc
hxz1998/funny_leetcode
1d2c425af09b57a030fc018ddc1e1a5ffb966cd0
[ "Apache-2.0" ]
null
null
null
CPP/No684.cc
hxz1998/funny_leetcode
1d2c425af09b57a030fc018ddc1e1a5ffb966cd0
[ "Apache-2.0" ]
null
null
null
/** * Created by Xiaozhong on 2020/11/16. * Copyright (c) 2020/11/16 Xiaozhong. All rights reserved. */ #include <vector> #include <iostream> #include <unordered_set> #include <unordered_map> using namespace std; class Solution { unordered_map<int, unordered_set<int>> adjacent; bool check(const int from, ...
25.02
69
0.533173
[ "vector" ]
e1a9f07d9a94350eb7ce709a45164427b61fcdcc
3,886
cpp
C++
qtmultimedia/src/multimedia/controls/qmediaplaylistsourcecontrol.cpp
wgnet/wds_qt
8db722fd367d2d0744decf99ac7bafaba8b8a3d3
[ "Apache-2.0" ]
1
2020-04-30T15:47:35.000Z
2020-04-30T15:47:35.000Z
qtmultimedia/src/multimedia/controls/qmediaplaylistsourcecontrol.cpp
wgnet/wds_qt
8db722fd367d2d0744decf99ac7bafaba8b8a3d3
[ "Apache-2.0" ]
null
null
null
qtmultimedia/src/multimedia/controls/qmediaplaylistsourcecontrol.cpp
wgnet/wds_qt
8db722fd367d2d0744decf99ac7bafaba8b8a3d3
[ "Apache-2.0" ]
null
null
null
/**************************************************************************** ** ** Copyright (C) 2015 The Qt Company Ltd. ** Contact: http://www.qt.io/licensing/ ** ** This file is part of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL21$ ** Commercial License Usage ** Licensees holding valid commercial Qt licenses may ...
32.115702
111
0.738806
[ "object" ]
e1aca30ca678117251e4590fae05d1711aafe9d1
6,397
cpp
C++
OPHD/States/MainMenuState.cpp
Daedeross/OPHD
16c0c4bf44bd74fe2ef413e344d3ef5aeab6102c
[ "BSD-3-Clause" ]
30
2018-03-31T19:16:45.000Z
2019-10-15T03:12:17.000Z
OPHD/States/MainMenuState.cpp
Daedeross/OPHD
16c0c4bf44bd74fe2ef413e344d3ef5aeab6102c
[ "BSD-3-Clause" ]
149
2018-04-23T01:47:22.000Z
2020-02-09T04:04:34.000Z
OPHD/States/MainMenuState.cpp
Daedeross/OPHD
16c0c4bf44bd74fe2ef413e344d3ef5aeab6102c
[ "BSD-3-Clause" ]
10
2018-04-28T14:59:07.000Z
2020-01-26T19:54:36.000Z
#include "GameState.h" #include "MapViewState.h" #include "MainMenuState.h" #include "PlanetSelectState.h" #include "../Cache.h" #include "../Constants/Strings.h" #include "../Constants/UiConstants.h" #include "../ShellOpenPath.h" #include "../UI/MessageBox.h" #include <NAS2D/Utility.h> #include <NAS2D/Mixer/Mixer.h...
22.134948
145
0.706269
[ "vector" ]
e1ad9f7a9d60aca912756343cdd457ac958d8d10
639
cc
C++
uva/00424.cc
Ashindustry007/competitive-programming
2eabd3975c029d235abb7854569593d334acae2f
[ "WTFPL" ]
506
2018-08-22T10:30:38.000Z
2022-03-31T10:01:49.000Z
uva/00424.cc
Ashindustry007/competitive-programming
2eabd3975c029d235abb7854569593d334acae2f
[ "WTFPL" ]
13
2019-08-07T18:31:18.000Z
2020-12-15T21:54:41.000Z
uva/00424.cc
Ashindustry007/competitive-programming
2eabd3975c029d235abb7854569593d334acae2f
[ "WTFPL" ]
234
2018-08-06T17:11:41.000Z
2022-03-26T10:56:42.000Z
// https://uva.onlinejudge.org/external/4/424.pdf #include<bits/stdc++.h> using namespace std; using vi=vector<int>; using vvi=vector<vi>; int main(){ ios::sync_with_stdio(0); cin.tie(0); vvi a; while(true){ string s; cin>>s; if(s=="0")break; vi b(s.size()); for(int i=0;i<s.size();i++)b[i]=s...
18.794118
49
0.536776
[ "vector" ]
e1b1be91857c0f407dc7950103229a58232fd2c2
16,445
hpp
C++
RX24T/icu.hpp
duybang140494/RX
7fed06a9d8295f4504e8a08fa589d4a52792095f
[ "BSD-3-Clause" ]
1
2020-01-16T03:38:30.000Z
2020-01-16T03:38:30.000Z
RX24T/icu.hpp
duybang140494/RX
7fed06a9d8295f4504e8a08fa589d4a52792095f
[ "BSD-3-Clause" ]
null
null
null
RX24T/icu.hpp
duybang140494/RX
7fed06a9d8295f4504e8a08fa589d4a52792095f
[ "BSD-3-Clause" ]
null
null
null
#pragma once //=====================================================================// /*! @file @brief RX24T グループ・ICUb 定義 @author 平松邦仁 (hira@rvf-rc45.net) @copyright Copyright (C) 2016, 2018 Kunihito Hiramatsu @n Released under the MIT license @n https://github.com/hirakuni45/RX/blob/master/LICENSE */ //...
27.967687
75
0.543205
[ "vector" ]
e1b1e0a9c8b5a1089b0b033b787de0bc9c1901e8
2,112
cpp
C++
tests/juliet/testcases/CWE761_Free_Pointer_Not_at_Start_of_Buffer/CWE761_Free_Pointer_Not_at_Start_of_Buffer__char_environment_83_bad.cpp
RanerL/analyzer
a401da4680f163201326881802ee535d6cf97f5a
[ "MIT" ]
28
2017-01-20T15:25:54.000Z
2020-03-17T00:28:31.000Z
testcases/CWE761_Free_Pointer_Not_at_Start_of_Buffer/CWE761_Free_Pointer_Not_at_Start_of_Buffer__char_environment_83_bad.cpp
mellowCS/cwe_checker_juliet_suite
ae604f6fd94964251fbe88ef04d5287f6c1ffbe2
[ "MIT" ]
1
2017-01-20T15:26:27.000Z
2018-08-20T00:55:37.000Z
testcases/CWE761_Free_Pointer_Not_at_Start_of_Buffer/CWE761_Free_Pointer_Not_at_Start_of_Buffer__char_environment_83_bad.cpp
mellowCS/cwe_checker_juliet_suite
ae604f6fd94964251fbe88ef04d5287f6c1ffbe2
[ "MIT" ]
2
2019-07-15T19:07:04.000Z
2019-09-07T14:21:04.000Z
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE761_Free_Pointer_Not_at_Start_of_Buffer__char_environment_83_bad.cpp Label Definition File: CWE761_Free_Pointer_Not_at_Start_of_Buffer.label.xml Template File: source-sinks-83_bad.tmpl.cpp */ /* * @description * CWE: 761 Free Pointer not at Start of Buffer * B...
32.492308
154
0.699811
[ "object" ]
e1b70ca3f45ec2fa3bee14ce6b23aa820d3f256b
10,020
cc
C++
src/game/entities/moveable_component.cc
codeka/ravaged-planets
ab20247b3829414e71b58c9a6e926bddf41f1da5
[ "Apache-2.0" ]
null
null
null
src/game/entities/moveable_component.cc
codeka/ravaged-planets
ab20247b3829414e71b58c9a6e926bddf41f1da5
[ "Apache-2.0" ]
null
null
null
src/game/entities/moveable_component.cc
codeka/ravaged-planets
ab20247b3829414e71b58c9a6e926bddf41f1da5
[ "Apache-2.0" ]
3
2017-07-17T22:24:17.000Z
2019-10-15T18:37:15.000Z
#include <boost/foreach.hpp> #include <framework/misc.h> #include <framework/colour.h> #include <framework/logging.h> #include <game/entities/entity.h> #include <game/entities/entity_manager.h> #include <game/entities/entity_factory.h> #include <game/entities/entity_debug.h> #include <game/entities/moveable...
41.065574
121
0.673852
[ "object", "vector" ]
e1b773229f0a2882866166172ab27b402295ae46
1,269
cpp
C++
src/fsm-editor/node.cpp
AsuMagic/centauri-fsm-editor
0830969dd0c1548870ab71efa8b36a77fc40dbd4
[ "MIT" ]
null
null
null
src/fsm-editor/node.cpp
AsuMagic/centauri-fsm-editor
0830969dd0c1548870ab71efa8b36a77fc40dbd4
[ "MIT" ]
null
null
null
src/fsm-editor/node.cpp
AsuMagic/centauri-fsm-editor
0830969dd0c1548870ab71efa8b36a77fc40dbd4
[ "MIT" ]
null
null
null
#include "node.hpp" #include <algorithm> #include "editor.hpp" namespace fsme { Node::Node(FsmEditor& editor, ed::NodeId id) : m_editor(&editor), m_id(id) {} Node::~Node() { resize_pins(m_inputs, 0); resize_pins(m_outputs, 0); } int Node::pin_index_or_default(ed::PinId needle, const std::vector<ed::PinId>& ha...
20.142857
115
0.688731
[ "vector" ]
e1bc2b3b4192082461b089a065de56f91393f62f
4,465
cpp
C++
src/showsheets.cpp
DBHeise/ShowSheets
e73d818af244761a097aa72b63ea0cdd590f7800
[ "MIT" ]
12
2019-11-22T21:59:12.000Z
2021-03-17T03:04:55.000Z
src/showsheets.cpp
DBHeise/ShowSheets
e73d818af244761a097aa72b63ea0cdd590f7800
[ "MIT" ]
null
null
null
src/showsheets.cpp
DBHeise/ShowSheets
e73d818af244761a097aa72b63ea0cdd590f7800
[ "MIT" ]
1
2020-07-17T07:35:51.000Z
2020-07-17T07:35:51.000Z
#include <iostream> #include <iomanip> #include <algorithm> #include <fstream> #include <string> #include <vector> #include "pole.h" void showUsage() { std::cout << "showsheets {file}" << std::endl; } enum class fileType : unsigned char { OLESS, ZIP, Other }; fileType ReadFileType(std::string file) { std::if...
24.668508
157
0.62486
[ "vector" ]
e1bf9aecb392f48b5a622e3f981b3d70f2e7ac9a
404
cpp
C++
chapters/3/3-23.cpp
Raymain1944/CPPLv1
96e5fd5347a336870fc868206ebfe44f88ce69eb
[ "Apache-2.0" ]
null
null
null
chapters/3/3-23.cpp
Raymain1944/CPPLv1
96e5fd5347a336870fc868206ebfe44f88ce69eb
[ "Apache-2.0" ]
null
null
null
chapters/3/3-23.cpp
Raymain1944/CPPLv1
96e5fd5347a336870fc868206ebfe44f88ce69eb
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <string> #include <vector> using std::cin; using std::cout; using std::endl; using std::string; using std::vector; int main() { vector<int> numbers(10, 3); for (auto &x : numbers){ cout << x << endl; } for (auto it = numbers.begin(); it != numbers.end(); ++it){ ...
19.238095
63
0.534653
[ "vector" ]
e1c6254a637a5d816ea2ae00f3a608513e0d1f6b
406
cpp
C++
Notes/ZhangZhao/Code/test1.cpp
zyy1225/OSproject-miniprogram2020
4dc73c9ade682a9accc0e62d107ee0dae593cf01
[ "Apache-2.0" ]
3
2020-09-23T14:19:22.000Z
2020-09-25T16:27:41.000Z
Notes/ZhangZhao/Code/test1.cpp
zyy1225/OSproject-miniprogram2020
4dc73c9ade682a9accc0e62d107ee0dae593cf01
[ "Apache-2.0" ]
1
2020-09-25T16:31:32.000Z
2020-09-28T14:56:21.000Z
Notes/ZhangZhao/Code/test1.cpp
zyy1225/OSproject-miniprogram2020
4dc73c9ade682a9accc0e62d107ee0dae593cf01
[ "Apache-2.0" ]
2
2020-09-25T14:51:36.000Z
2020-09-25T16:29:27.000Z
#include <iostream> //#include <vector> //#include <string> //#include <algorithm> using namespace std; int main(){ int n; scanf("%d", &n); while(n > 0){ //vector<int> num(n, 0); int sum = 0, Max = INT_MIN; for(int i = 0; i < n; ++i){ int tmp; cin >> tmp; if(sum >= 0) sum += tmp; else sum = tmp; ...
16.24
29
0.522167
[ "vector" ]
e1d7dc6aa99eb1da7ef743cbe01ac3697ee64444
33,789
cpp
C++
src/python.cpp
elkebir-group/OncoSim
1707709c21f8f54ed7ebff9272f5b159f05a8ee5
[ "BSD-3-Clause" ]
null
null
null
src/python.cpp
elkebir-group/OncoSim
1707709c21f8f54ed7ebff9272f5b159f05a8ee5
[ "BSD-3-Clause" ]
null
null
null
src/python.cpp
elkebir-group/OncoSim
1707709c21f8f54ed7ebff9272f5b159f05a8ee5
[ "BSD-3-Clause" ]
3
2018-10-08T19:53:58.000Z
2021-11-08T01:44:37.000Z
/* * python.cpp * * Created on: 21-may-2018 * Author: M. El-Kebir */ #include <boost/scoped_array.hpp> #include <boost/python.hpp> #include <boost/python/def.hpp> #include <boost/python/args.hpp> #include <boost/python/stl_iterator.hpp> #include <armadillo> #include <iostream> #include <fstream> #include...
28.251672
116
0.553168
[ "object", "vector" ]
e1d991877ff581c35d6c454afaed891cc2df2517
3,903
cc
C++
tests/nnfw_api/src/one_op_tests/Select.cc
juitem/ONE
8c6a4b7738074573b6ac5c82dcf1f6697520d1ed
[ "Apache-2.0" ]
255
2020-05-22T07:45:29.000Z
2022-03-29T23:58:22.000Z
tests/nnfw_api/src/one_op_tests/Select.cc
juitem/ONE
8c6a4b7738074573b6ac5c82dcf1f6697520d1ed
[ "Apache-2.0" ]
5,102
2020-05-22T07:48:33.000Z
2022-03-31T23:43:39.000Z
tests/nnfw_api/src/one_op_tests/Select.cc
juitem/ONE
8c6a4b7738074573b6ac5c82dcf1f6697520d1ed
[ "Apache-2.0" ]
120
2020-05-22T07:51:08.000Z
2022-02-16T19:08:05.000Z
/* * Copyright (c) 2020 Samsung Electronics Co., Ltd. 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 * * Unle...
41.521277
92
0.702024
[ "vector" ]
e1db1534177ae698273cc82c9b9102adc4573b04
5,292
cpp
C++
src/backend/gporca/libnaucrates/src/md/CDXLBucket.cpp
Tylarb/gpdb
15e1341cfbac7f70d2086a9a1d46149a82765b5e
[ "PostgreSQL", "Apache-2.0" ]
1
2020-11-27T07:30:05.000Z
2020-11-27T07:30:05.000Z
src/backend/gporca/libnaucrates/src/md/CDXLBucket.cpp
Tylarb/gpdb
15e1341cfbac7f70d2086a9a1d46149a82765b5e
[ "PostgreSQL", "Apache-2.0" ]
6
2020-06-24T18:56:06.000Z
2022-02-26T08:53:11.000Z
src/backend/gporca/libnaucrates/src/md/CDXLBucket.cpp
Tylarb/gpdb
15e1341cfbac7f70d2086a9a1d46149a82765b5e
[ "PostgreSQL", "Apache-2.0" ]
1
2022-03-22T18:45:41.000Z
2022-03-22T18:45:41.000Z
//--------------------------------------------------------------------------- // Greenplum Database // Copyright (C) 2012 EMC Corp. // // @filename: // CDXLBucket.cpp // // @doc: // Implementation of the class for representing buckets in DXL column stats //-------------------------------------------------------------...
26.328358
144
0.53647
[ "object" ]
e1dbede33ea69ecb0eec90d81bb20f2891e53647
11,634
cpp
C++
src/Data_Generation.cpp
temken/DaMaSCUS-SUN
6dc10d7e707c20bb1d5aea58249515b00e225b58
[ "MIT" ]
4
2021-02-26T10:30:36.000Z
2021-03-17T01:49:18.000Z
src/Data_Generation.cpp
temken/DaMaSCUS-SUN
6dc10d7e707c20bb1d5aea58249515b00e225b58
[ "MIT" ]
7
2021-02-09T16:32:05.000Z
2022-02-03T09:20:08.000Z
src/Data_Generation.cpp
temken/DaMaSCUS-SUN
6dc10d7e707c20bb1d5aea58249515b00e225b58
[ "MIT" ]
1
2022-01-03T03:54:24.000Z
2022-01-03T03:54:24.000Z
#include "Data_Generation.hpp" #include <algorithm> #include <chrono> #include <mpi.h> #include "libphysica/Natural_Units.hpp" #include "libphysica/Special_Functions.hpp" #include "libphysica/Utilities.hpp" #include "obscura/Astronomy.hpp" namespace DaMaSCUS_SUN { using namespace libphysica::natural_units; Simula...
47.485714
414
0.745229
[ "vector" ]
e1dcc63c1e3fe54785022ca676fd80e256bbd051
2,823
cpp
C++
src/logger/logger.cpp
hihi-dev/linphone
45814404943a0c8a4e341dbebf5da71fc6e44b67
[ "BSD-2-Clause" ]
null
null
null
src/logger/logger.cpp
hihi-dev/linphone
45814404943a0c8a4e341dbebf5da71fc6e44b67
[ "BSD-2-Clause" ]
null
null
null
src/logger/logger.cpp
hihi-dev/linphone
45814404943a0c8a4e341dbebf5da71fc6e44b67
[ "BSD-2-Clause" ]
null
null
null
/* * logger.cpp * Copyright (C) 2010-2018 Belledonne Communications SARL * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later...
25.899083
116
0.598654
[ "object" ]
e1eefaf5f14d51eca00a4f32a7b8cb88d27ce9af
4,371
hpp
C++
cuarma/tools/matrix_generation.hpp
yangxianpku/cuarma
404f20b5b3fa74e5e27338e89343450f8853024c
[ "X11", "MIT" ]
null
null
null
cuarma/tools/matrix_generation.hpp
yangxianpku/cuarma
404f20b5b3fa74e5e27338e89343450f8853024c
[ "X11", "MIT" ]
null
null
null
cuarma/tools/matrix_generation.hpp
yangxianpku/cuarma
404f20b5b3fa74e5e27338e89343450f8853024c
[ "X11", "MIT" ]
null
null
null
#pragma once /* ========================================================================= Copyright (c) 2015-2017, COE of Peking University, Shaoqiang Tang. ----------------- cuarma - COE of Peking University, Shaoqiang Tang. ----------------- ...
31.221429
141
0.654084
[ "object", "vector" ]
e1f48013fc294fa427e674eb16a53b131b706c06
6,616
cpp
C++
example/console-example/main.cpp
domenn/WinToast
3646723366bddfca509599cadbafdae5230f6def
[ "MIT" ]
446
2016-11-07T19:03:42.000Z
2022-03-31T21:14:52.000Z
example/console-example/main.cpp
domenn/WinToast
3646723366bddfca509599cadbafdae5230f6def
[ "MIT" ]
51
2017-05-09T14:42:36.000Z
2022-02-16T06:30:08.000Z
example/console-example/main.cpp
domenn/WinToast
3646723366bddfca509599cadbafdae5230f6def
[ "MIT" ]
104
2016-11-21T00:23:51.000Z
2022-03-15T04:07:23.000Z
#include "wintoastlib.h" #include <string> // std::string, std::stoi using namespace WinToastLib; class CustomHandler : public IWinToastHandler { public: void toastActivated() const { std::wcout << L"The user clicked in this toast" << std::endl; exit(0); } void toastActivated(int acti...
35.762162
122
0.621826
[ "vector", "model" ]
e1f9c4587758f59606c3e9903a5eb2266e2a3784
24,065
cpp
C++
fractals/mandel_quadtree/server/server.cpp
MS-DOS-stuff/reenigne
0a113990aef398550c6f14d1c7a33af1cb091887
[ "Unlicense" ]
1
2021-05-24T05:18:10.000Z
2021-05-24T05:18:10.000Z
fractals/mandel_quadtree/server/server.cpp
MS-DOS-stuff/reenigne
0a113990aef398550c6f14d1c7a33af1cb091887
[ "Unlicense" ]
null
null
null
fractals/mandel_quadtree/server/server.cpp
MS-DOS-stuff/reenigne
0a113990aef398550c6f14d1c7a33af1cb091887
[ "Unlicense" ]
null
null
null
// Fractal computation server. // // Because the networking overhead should be small compared to the computation // time, we only use a single thread for IO. A more network-bound server would // want to do IO completion processing on multiple threads. #include "def.h" #include "../long_fixed.cpp" #include "socket.h" #...
33.846695
79
0.505631
[ "vector" ]
e1fbc65c8ed76685fd0a7092efe7cb274734caf1
462
cpp
C++
DevRookies/DevRookies/GUIImage.cpp
DevRookies/Development
6ed89ccbe1bb265271299bc9e8196879727aa430
[ "MIT" ]
null
null
null
DevRookies/DevRookies/GUIImage.cpp
DevRookies/Development
6ed89ccbe1bb265271299bc9e8196879727aa430
[ "MIT" ]
null
null
null
DevRookies/DevRookies/GUIImage.cpp
DevRookies/Development
6ed89ccbe1bb265271299bc9e8196879727aa430
[ "MIT" ]
null
null
null
#include "DevRookiesApp.h" #include "GUIImage.h" #include "p2Log.h" #include "Textures.h" #include "Render.h" GUIImage::GUIImage(iPoint pos, SDL_Rect rect, SDL_Texture* texture): GUIElement(pos, GUI_Type::IMAGE, false, parent) { this->position = pos; this->rect = rect; this->texture = texture; } GUIImage::~GUIIma...
16.5
116
0.694805
[ "render" ]
c001899780c4be5078a81fe9b8fdec962a81972e
921
cpp
C++
codes/tree/centroid.cpp
arunrajora/algorithms
3590deefbf94382e10ebd16692118328fc9b538a
[ "MIT" ]
1
2017-08-20T20:35:53.000Z
2017-08-20T20:35:53.000Z
codes/tree/centroid.cpp
arunrajora/algorithms
3590deefbf94382e10ebd16692118328fc9b538a
[ "MIT" ]
null
null
null
codes/tree/centroid.cpp
arunrajora/algorithms
3590deefbf94382e10ebd16692118328fc9b538a
[ "MIT" ]
1
2017-06-10T18:51:56.000Z
2017-06-10T18:51:56.000Z
// centroid of a tree // subtree of centroid has size <=(N/2) #include<iostream> #include<vector> #include<queue> #include<algorithm> using namespace std; #define N 100005 vector<int> tree[N]; int rec_centroid(int u,int parent,int n){ int count=1; bool isGoodCenter=true; for(int i=0;i<tree[u].size();i++){ if(t...
18.058824
41
0.652552
[ "vector" ]
c00eeb05268d012790344b8b148fd28e0cc060f5
3,756
cpp
C++
Gems/SceneProcessing/Code/Source/Config/SettingsObjects/SoftNameSetting.cpp
aaarsene/o3de
37e3b0226958974defd14dd6d808e8557dcd7345
[ "Apache-2.0", "MIT" ]
1
2021-09-13T00:01:12.000Z
2021-09-13T00:01:12.000Z
Gems/SceneProcessing/Code/Source/Config/SettingsObjects/SoftNameSetting.cpp
aaarsene/o3de
37e3b0226958974defd14dd6d808e8557dcd7345
[ "Apache-2.0", "MIT" ]
null
null
null
Gems/SceneProcessing/Code/Source/Config/SettingsObjects/SoftNameSetting.cpp
aaarsene/o3de
37e3b0226958974defd14dd6d808e8557dcd7345
[ "Apache-2.0", "MIT" ]
1
2021-07-20T11:07:25.000Z
2021-07-20T11:07:25.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 <AzCore/Serialization/EditContext.h> #include <AzCore/std/sort.h> #include <SceneAPI/SceneC...
41.733333
158
0.602236
[ "vector", "3d" ]
c00eeb8803400b720c4d85b1e155db9fbf6672a3
14,463
cpp
C++
src/modules/hip/hip_color_model_conversions.cpp
shobana-mcw/rpp
e4a5eb622b9abd0a5a936bf7174a84a5e2470b59
[ "MIT" ]
26
2019-09-04T17:48:41.000Z
2022-02-23T17:04:24.000Z
src/modules/hip/hip_color_model_conversions.cpp
shobana-mcw/rpp
e4a5eb622b9abd0a5a936bf7174a84a5e2470b59
[ "MIT" ]
57
2019-09-06T21:37:34.000Z
2022-03-09T02:13:46.000Z
src/modules/hip/hip_color_model_conversions.cpp
shobana-mcw/rpp
e4a5eb622b9abd0a5a936bf7174a84a5e2470b59
[ "MIT" ]
24
2019-09-04T23:12:07.000Z
2022-03-30T02:06:22.000Z
#include "hip/hip_runtime_api.h" #include "hip_declarations.hpp" #include "kernel/rpp_hip_host_decls.hpp" /******************** color_temperature ********************/ RppStatus color_temperature_hip(Rpp8u* srcPtr, RppiSize srcSize, Rpp8u* dstPtr, Rpp32s adjustmentValue, RppiChnFormat chnFormat, unsigned int channel,...
41.921739
168
0.511166
[ "vector" ]
c00f36b9efbf748b756c9fb660bacedeb05a2ca4
3,730
cpp
C++
patches/llvm/src/lib/Transforms/Utils/NameStringLiterals.cpp
systems-nuts/popcorn-compiler-alpine
5c225c7d3055db83dc654b6b5525c34bbdacded1
[ "Linux-OpenIB" ]
30
2019-04-07T14:58:31.000Z
2021-05-24T19:07:20.000Z
patches/llvm/src/lib/Transforms/Utils/NameStringLiterals.cpp
XRDevIEEE/popcorn-compiler
2cb2eccc0c75b5963d9fec26ad80a7b881316b1d
[ "Linux-OpenIB" ]
11
2018-07-24T19:31:26.000Z
2020-09-03T08:56:23.000Z
patches/llvm/src/lib/Transforms/Utils/NameStringLiterals.cpp
XRDevIEEE/popcorn-compiler
2cb2eccc0c75b5963d9fec26ad80a7b881316b1d
[ "Linux-OpenIB" ]
17
2018-08-26T12:43:15.000Z
2022-03-18T12:08:40.000Z
#include <algorithm> #include <cctype> #include "llvm/Pass.h" #include "llvm/IR/Constants.h" #include "llvm/IR/GlobalVariable.h" #include "llvm/IR/GlobalValue.h" #include "llvm/IR/Module.h" #include "llvm/Support/Debug.h" #include "llvm/Support/raw_ostream.h" #define DEBUG_TYPE "name-string-literals" #define CHARS_FOR...
31.083333
82
0.647989
[ "object" ]
c00f57035d25648b42f806f217f24616e3d8e251
1,114
cpp
C++
src/remove/linefit/linefit.cpp
mangosroom/mvk-nodes
0ec3a7853e949d192ee54daeaf25875cd3cb6d18
[ "Apache-2.0" ]
5
2021-12-24T10:18:46.000Z
2022-03-15T14:11:04.000Z
src/remove/linefit/linefit.cpp
mangosroom/mvk-nodes
0ec3a7853e949d192ee54daeaf25875cd3cb6d18
[ "Apache-2.0" ]
null
null
null
src/remove/linefit/linefit.cpp
mangosroom/mvk-nodes
0ec3a7853e949d192ee54daeaf25875cd3cb6d18
[ "Apache-2.0" ]
1
2021-03-30T07:34:26.000Z
2021-03-30T07:34:26.000Z
/** * @file linefit.cpp * @brief 直线拟合源文件 * @details 基于最小二乘、huber、tukey等方法拟合直线 * @author 芒果 * @date 2020-4-10 * @version 1.0.0 */ #include "linefit.h" #include <cassert> namespace mvp { std::shared_ptr<LineFit> LineFit::CreateLineFitTool() { return std::make_shared<LineFit>(); } int LineFit::SetParam(...
11.978495
76
0.640036
[ "vector" ]
84fd825c39908a4c00bd66bb5759f24e639d59fb
4,172
cpp
C++
src/plugins/azoth/plugins/murm/vcarddialog.cpp
MellonQ/leechcraft
71cbb238d2dade56b3865278a6a8e6a58c217fc5
[ "BSL-1.0" ]
null
null
null
src/plugins/azoth/plugins/murm/vcarddialog.cpp
MellonQ/leechcraft
71cbb238d2dade56b3865278a6a8e6a58c217fc5
[ "BSL-1.0" ]
null
null
null
src/plugins/azoth/plugins/murm/vcarddialog.cpp
MellonQ/leechcraft
71cbb238d2dade56b3865278a6a8e6a58c217fc5
[ "BSL-1.0" ]
null
null
null
/********************************************************************** * LeechCraft - modular cross-platform feature rich internet client. * Copyright (C) 2006-2014 Georg Rudoy * * Boost Software License - Version 1.0 - August 17th, 2003 * * Permission is hereby granted, free of charge, to any person or organiz...
33.111111
96
0.682167
[ "object" ]
84fe672d774f49c43577a765ebe7a08fb5fabcde
3,900
cpp
C++
Test/RhythmPatternTest.cpp
Tomasito665/mtv-rhythm-generator
6cdfbdcdd745148d477ce3b7599912dc36cd2848
[ "MIT" ]
null
null
null
Test/RhythmPatternTest.cpp
Tomasito665/mtv-rhythm-generator
6cdfbdcdd745148d477ce3b7599912dc36cd2848
[ "MIT" ]
null
null
null
Test/RhythmPatternTest.cpp
Tomasito665/mtv-rhythm-generator
6cdfbdcdd745148d477ce3b7599912dc36cd2848
[ "MIT" ]
null
null
null
#include "gtest/gtest.h" #include "RhythmPattern.h" #include <bitset> template <int N> static PatternId createPattern(const std::string& str) { // LSB in pattern id represents first step, therefore we reverse the str std::string strRev(str.rbegin(), str.rend()); std::bitset<N> patternBitset(strRev, 0, strRev.siz...
31.2
78
0.721026
[ "vector" ]
17000c92c7eae7801d6045ae4867cfd354fa83bc
5,827
cpp
C++
sdk/rms_sdk/RestClients/RestHttpClient.cpp
AzureAD/rms-sdk-for-cpp
0e5d54a030008c5c0f70d8d3d0695fa0722b6ab6
[ "MIT" ]
30
2015-06-22T23:59:02.000Z
2021-09-12T05:51:34.000Z
sdk/rms_sdk/RestClients/RestHttpClient.cpp
AnthonyCSheehy/rms-sdk-for-cpp
42985c0b5d93da5bef6bd6c847ddced4be008843
[ "MIT" ]
115
2015-06-22T18:26:34.000Z
2022-03-24T16:57:46.000Z
sdk/rms_sdk/RestClients/RestHttpClient.cpp
AnthonyCSheehy/rms-sdk-for-cpp
42985c0b5d93da5bef6bd6c847ddced4be008843
[ "MIT" ]
32
2015-06-22T08:39:29.000Z
2022-03-24T16:49:20.000Z
/* * ====================================================================== * Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. * Licensed under the MIT License. * See LICENSE.md in the project root for license information. * =====================================================================...
33.682081
113
0.675819
[ "vector" ]
170d558236199153bcd248a55fe862098397beda
15,386
cc
C++
wrspice/bin/multidec.cc
wrcad/xictools
f46ba6d42801426739cc8b2940a809b74f1641e2
[ "Apache-2.0" ]
73
2017-10-26T12:40:24.000Z
2022-03-02T16:59:43.000Z
wrspice/bin/multidec.cc
chris-ayala/xictools
4ea72c118679caed700dab3d49a8d36445acaec3
[ "Apache-2.0" ]
12
2017-11-01T10:18:22.000Z
2022-03-20T19:35:36.000Z
wrspice/bin/multidec.cc
chris-ayala/xictools
4ea72c118679caed700dab3d49a8d36445acaec3
[ "Apache-2.0" ]
34
2017-10-06T17:04:21.000Z
2022-02-18T16:22:03.000Z
/*========================================================================* * * * Distributed by Whiteley Research Inc., Sunnyvale, California, USA * * http://wrcad.com * * Copyright (...
32.459916
100
0.488886
[ "model" ]
171329a615798a54850ff3c1a5fd08f61af1a0ba
826
hpp
C++
Engine/Public/Ryme/Mesh.hpp
WhoBrokeTheBuild/Ryme
945c4ab135dbe411f43787cbf222589b13420d4b
[ "MIT" ]
null
null
null
Engine/Public/Ryme/Mesh.hpp
WhoBrokeTheBuild/Ryme
945c4ab135dbe411f43787cbf222589b13420d4b
[ "MIT" ]
null
null
null
Engine/Public/Ryme/Mesh.hpp
WhoBrokeTheBuild/Ryme
945c4ab135dbe411f43787cbf222589b13420d4b
[ "MIT" ]
null
null
null
#ifndef RYME_MESH_HPP #define RYME_MESH_HPP #include <Ryme/Config.hpp> #include <Ryme/Asset.hpp> #include <Ryme/Path.hpp> #include <Ryme/Containers.hpp> #include <Ryme/JSON.hpp> #include <Ryme/ThirdParty/vulkan.hpp> namespace ryme { class Primitive; class RYME_API Mesh : public Asset { public: Mesh(const Pat...
16.196078
60
0.682809
[ "mesh" ]
1716c1e0dae4190b6b16cce38c6305748e0e8ac3
51,812
cpp
C++
src/game/client/tf/tf_hud_building_status.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
6
2022-01-23T09:40:33.000Z
2022-03-20T20:53:25.000Z
src/game/client/tf/tf_hud_building_status.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
null
null
null
src/game/client/tf/tf_hud_building_status.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
1
2022-02-06T21:05:23.000Z
2022-02-06T21:05:23.000Z
//========= Copyright Valve Corporation, All rights reserved. ============// // // Purpose: HUD Target ID element // // $NoKeywords: $ //============================================================================= #include "cbase.h" #include "hud.h" #include "iclientmode.h" #include "c_baseobject.h" #include "c_tf_pl...
30.123256
206
0.58996
[ "object" ]
1725975c054b9c841e46409d4fb5ba04c010023e
3,194
cpp
C++
src/shader.cpp
wilfriedE/VelaSynth
0c0ad22abe8a0169ba9dd77e67be12b3f505f0a5
[ "CC0-1.0" ]
1
2018-05-26T23:03:46.000Z
2018-05-26T23:03:46.000Z
src/shader.cpp
wilfriedE/VelaSynth
0c0ad22abe8a0169ba9dd77e67be12b3f505f0a5
[ "CC0-1.0" ]
null
null
null
src/shader.cpp
wilfriedE/VelaSynth
0c0ad22abe8a0169ba9dd77e67be12b3f505f0a5
[ "CC0-1.0" ]
null
null
null
#include "shader.hpp" Shader::Shader(){ } Shader::Shader(string vertexShader, string fragmentShader){ vertexShaderID = loadShader(vertexShader, GL_VERTEX_SHADER); fragmentShaderID = loadShader(fragmentShader, GL_FRAGMENT_SHADER); //create a program and attach the shader objects programID = glCreateP...
27.067797
84
0.639324
[ "object" ]
172a2b6776cecf8e88b37027b2d28dd16ae75212
12,241
hpp
C++
include/ulib/uprop.hpp
syntheticgio/fda-hive
5e645c6a5b76b5a437635631819a1c934c7fd7fc
[ "Unlicense", "MIT" ]
null
null
null
include/ulib/uprop.hpp
syntheticgio/fda-hive
5e645c6a5b76b5a437635631819a1c934c7fd7fc
[ "Unlicense", "MIT" ]
null
null
null
include/ulib/uprop.hpp
syntheticgio/fda-hive
5e645c6a5b76b5a437635631819a1c934c7fd7fc
[ "Unlicense", "MIT" ]
null
null
null
/* * ::718604! * * Copyright(C) November 20, 2014 U.S. Food and Drug Administration * Authors: Dr. Vahan Simonyan (1), Dr. Raja Mazumder (2), et al * Affiliation: Food and Drug Administration (1), George Washington University (2) * * All rights Reserved. * * The MIT License (MIT) * * Permission is hereb...
48.192913
191
0.67421
[ "object" ]
172bc939d1a5711a423a080d04fbed4c0a4763e0
26,699
cpp
C++
src/model/ZonePropertyUserViewFactorsBySurfaceName.cpp
muehleisen/OpenStudio
3bfe89f6c441d1e61e50b8e94e92e7218b4555a0
[ "blessing" ]
354
2015-01-10T17:46:11.000Z
2022-03-29T10:00:00.000Z
src/model/ZonePropertyUserViewFactorsBySurfaceName.cpp
muehleisen/OpenStudio
3bfe89f6c441d1e61e50b8e94e92e7218b4555a0
[ "blessing" ]
3,243
2015-01-02T04:54:45.000Z
2022-03-31T17:22:22.000Z
src/model/ZonePropertyUserViewFactorsBySurfaceName.cpp
jmarrec/OpenStudio
5276feff0d8dbd6c8ef4e87eed626bc270a19b14
[ "blessing" ]
157
2015-01-07T15:59:55.000Z
2022-03-30T07:46:09.000Z
/*********************************************************************************************************************** * OpenStudio(R), Copyright (c) 2008-2021, Alliance for Sustainable Energy, LLC, and other contributors. All rights reserved. * * Redistribution and use in source and binary forms, with or without m...
52.764822
152
0.690625
[ "object", "vector", "model" ]
1735dc75b499a7c204216f352cdfb6118f229af3
16,391
cpp
C++
pdfium_lib/pdfium/core/fxge/cfx_pathdata.cpp
qingqibing/vs_pdfium
6d009d478c3e761fac49b357d81532c3ed7aad9f
[ "BSD-3-Clause" ]
null
null
null
pdfium_lib/pdfium/core/fxge/cfx_pathdata.cpp
qingqibing/vs_pdfium
6d009d478c3e761fac49b357d81532c3ed7aad9f
[ "BSD-3-Clause" ]
null
null
null
pdfium_lib/pdfium/core/fxge/cfx_pathdata.cpp
qingqibing/vs_pdfium
6d009d478c3e761fac49b357d81532c3ed7aad9f
[ "BSD-3-Clause" ]
1
2020-04-04T17:23:01.000Z
2020-04-04T17:23:01.000Z
// Copyright 2016 PDFium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com #include "core/fxge/cfx_pathdata.h" #include "core/fxcrt/fx_system.h" #includ...
32.013672
80
0.601245
[ "object", "transform" ]
173d2b90baf3e9b1fbd298d031334c423812537f
7,603
cpp
C++
henry-omp/main.cpp
BeauJoh/HeCBench
594b845171d686dc951971ce36ed59cf114dd2b4
[ "BSD-3-Clause" ]
58
2020-08-06T18:53:44.000Z
2021-10-01T07:59:46.000Z
henry-omp/main.cpp
BeauJoh/HeCBench
594b845171d686dc951971ce36ed59cf114dd2b4
[ "BSD-3-Clause" ]
2
2020-12-04T12:35:02.000Z
2021-03-04T22:49:25.000Z
henry-omp/main.cpp
BeauJoh/HeCBench
594b845171d686dc951971ce36ed59cf114dd2b4
[ "BSD-3-Clause" ]
13
2020-08-19T13:44:18.000Z
2021-09-08T04:25:34.000Z
#include <stdio.h> #include <stdlib.h> #include <math.h> #include <map> #include <string> #include <fstream> #include <sstream> #include <omp.h> #define NUMTHREADS 256 // number of threads per GPU block // data for atom of crystal structure // Unit cell of crystal structure can then be stored // as pointer ar...
32.91342
101
0.660529
[ "model" ]
1741073a5c610f0402f970d823bb9cbdb92adedb
5,533
cc
C++
python/jittor/src/memory_profiler.cc
Exusial/jittor
eca21d5bba5098bce4f492fa44908677b6e76588
[ "Apache-2.0" ]
2,571
2020-03-20T03:38:35.000Z
2022-03-31T08:20:05.000Z
python/jittor/src/memory_profiler.cc
Exusial/jittor
eca21d5bba5098bce4f492fa44908677b6e76588
[ "Apache-2.0" ]
197
2020-03-20T04:11:47.000Z
2022-03-31T10:14:24.000Z
python/jittor/src/memory_profiler.cc
Exusial/jittor
eca21d5bba5098bce4f492fa44908677b6e76588
[ "Apache-2.0" ]
284
2020-03-20T03:53:15.000Z
2022-03-28T07:20:32.000Z
// *************************************************************** // Copyright (c) 2021 Jittor. All Rights Reserved. // Maintainers: // Guoye Yang <498731903@qq.com> // Dun Liang <randonlang@gmail.com>. // // This file is subject to the terms and conditions defined in // file 'LICENSE.txt', which is part o...
33.331325
150
0.563347
[ "vector" ]
17493a39cb5e15b7dc237122e1fdccd7fbdb37ce
23,012
cpp
C++
src/unity/lib/unity_sarray_binary_operations.cpp
fossabot/turicreate
a500d5e52143ad15ebdf771d9f74198982c7c45c
[ "BSD-3-Clause" ]
1
2019-04-16T19:51:18.000Z
2019-04-16T19:51:18.000Z
src/unity/lib/unity_sarray_binary_operations.cpp
tashby/turicreate
7f07ce795833d0c56c72b3a1fb9339bed6d178d1
[ "BSD-3-Clause" ]
3
2021-09-08T02:18:00.000Z
2022-03-12T00:39:44.000Z
src/unity/lib/unity_sarray_binary_operations.cpp
tashby/turicreate
7f07ce795833d0c56c72b3a1fb9339bed6d178d1
[ "BSD-3-Clause" ]
1
2020-10-21T17:46:28.000Z
2020-10-21T17:46:28.000Z
/* Copyright © 2017 Apple Inc. All rights reserved. * * Use of this source code is governed by a BSD-3-clause license that can * be found in the LICENSE.txt file or at https://opensource.org/licenses/BSD-3-Clause */ #include <string> #include <cmath> #include <functional> #include <flexible_type/flexible_type.hpp> ...
45.38856
127
0.484399
[ "vector" ]
1753735a06e935050d2ff2170d66d42bb9d21c62
790
cc
C++
basic/vector/01_find.cc
chanchann/littleMickle
f3a839d8ad55f483bbac4e4224dcd35234c5aa00
[ "MIT" ]
1
2021-03-16T02:13:12.000Z
2021-03-16T02:13:12.000Z
basic/vector/01_find.cc
chanchann/littleMickle
f3a839d8ad55f483bbac4e4224dcd35234c5aa00
[ "MIT" ]
null
null
null
basic/vector/01_find.cc
chanchann/littleMickle
f3a839d8ad55f483bbac4e4224dcd35234c5aa00
[ "MIT" ]
null
null
null
/* https://thispointer.com/c-how-to-find-an-element-in-vector-and-get-its-index/ Finding an element in vector using STL Algorithm std::find() */ #include <iostream> #include <vector> #include <algorithm> #include <cassert> int main() { std::vector<int> vecOfNums = { 12, 45, 54, 33, 2, 7, 8, 22, 43, 19 }; // ...
30.384615
86
0.622785
[ "vector" ]
17542b31bba40b46fe0aaefb5c12d3f6c8388e09
687
cpp
C++
Cogs/src/GLCubemapTexture.cpp
VasilStamatov/cogs2017
4efe9af48a6233936192f9db3d893bcb6564debb
[ "MIT" ]
null
null
null
Cogs/src/GLCubemapTexture.cpp
VasilStamatov/cogs2017
4efe9af48a6233936192f9db3d893bcb6564debb
[ "MIT" ]
null
null
null
Cogs/src/GLCubemapTexture.cpp
VasilStamatov/cogs2017
4efe9af48a6233936192f9db3d893bcb6564debb
[ "MIT" ]
null
null
null
#include "../include/GLCubemapTexture.h" #include "../include/ResourceLoader.h" #include <GL\glew.h> namespace cogs { GLCubemapTexture::GLCubemapTexture(const std::vector<std::string>& _fileNames) { m_fileNames = _fileNames; if (!ResourceLoader::loadSOIL2Cubemap(m_fileNames, &m_id)) { throw std...
20.205882
80
0.660844
[ "vector" ]
1757b588d7b872b2b04f65d8002ff732bcc88b25
6,174
hpp
C++
unparser.hpp
Apache-HB/argo
88152d81aa07f4df2e6eac38572fcaff34f33d92
[ "MIT" ]
2
2018-08-30T19:07:18.000Z
2018-11-05T08:39:40.000Z
unparser.hpp
andrewhaisley/argonaut
9d34c6716681e1c3fe868b0e7dcbd30610e2bee2
[ "MIT" ]
null
null
null
unparser.hpp
andrewhaisley/argonaut
9d34c6716681e1c3fe868b0e7dcbd30610e2bee2
[ "MIT" ]
2
2018-12-11T02:09:42.000Z
2019-10-21T04:33:22.000Z
#ifndef _json_unparser_hpp_ #define _json_unparser_hpp_ /* * Copyright (c) 2017 Andrew Haisley * * 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 l...
38.347826
99
0.578879
[ "object" ]
17589c968e06c7fc0f96104f18e500686024fb21
623
hpp
C++
imp_cu_correspondence/include/imp/cu_correspondence/stereo_solver_enum.hpp
mwerlberger/imp
2a2e4d31fa59ca1c32ae7f415306b39e31fc1e85
[ "MIT" ]
8
2015-10-24T18:31:58.000Z
2019-10-16T03:27:27.000Z
imp_cu_correspondence/include/imp/cu_correspondence/stereo_solver_enum.hpp
henrywen2011/imp
2a2e4d31fa59ca1c32ae7f415306b39e31fc1e85
[ "MIT" ]
7
2015-06-22T09:36:32.000Z
2015-08-20T06:56:10.000Z
imp_cu_correspondence/include/imp/cu_correspondence/stereo_solver_enum.hpp
henrywen2011/imp
2a2e4d31fa59ca1c32ae7f415306b39e31fc1e85
[ "MIT" ]
3
2015-05-13T14:46:48.000Z
2017-01-11T09:20:03.000Z
#ifndef STEREO_SOLVER_ENUM_HPP #define STEREO_SOLVER_ENUM_HPP namespace imp { namespace cu { enum class StereoPDSolver { HuberL1, //!< Huber regularization + pointwise L1 intensity matching costs PrecondHuberL1, //!< Huber regularization + pointwise L1 intensity matching costs PrecondHuberL1Weighted, //!< weigh...
31.15
161
0.789727
[ "geometry" ]
1759408e6f83e4f5d46e4f4b9c4875190166b171
1,081
cpp
C++
C++/problems/0154_minimum_falling_path_sum.cpp
oxone-999/algorithms
52dc527111e7422923a0e25684d8f4837e81a09b
[ "MIT" ]
6
2019-03-20T22:23:26.000Z
2020-08-28T03:10:27.000Z
C++/problems/0154_minimum_falling_path_sum.cpp
oxone-999/algorithms
52dc527111e7422923a0e25684d8f4837e81a09b
[ "MIT" ]
15
2019-10-13T20:53:53.000Z
2022-03-31T02:01:35.000Z
C++/problems/0154_minimum_falling_path_sum.cpp
oxone-999/algorithms
52dc527111e7422923a0e25684d8f4837e81a09b
[ "MIT" ]
3
2019-03-11T10:57:46.000Z
2020-02-26T21:13:21.000Z
// Problem Statement // Given a square array of integers A, we want the minimum sum of a falling path through A. // A falling path starts at any element in the first row, and chooses one element from each row. // The next row's choice must be in a column that is different from the previous row's column by at most on...
31.794118
109
0.595745
[ "vector" ]
175d438f04fb5b9408fba6e33e985f27a24336f7
7,619
cpp
C++
apps/scn2grd/scn2grd.cpp
kylegenova/trajectories
a7b021a62d699175a4cdfc2ea190c807e78e84f4
[ "MIT" ]
null
null
null
apps/scn2grd/scn2grd.cpp
kylegenova/trajectories
a7b021a62d699175a4cdfc2ea190c807e78e84f4
[ "MIT" ]
null
null
null
apps/scn2grd/scn2grd.cpp
kylegenova/trajectories
a7b021a62d699175a4cdfc2ea190c807e78e84f4
[ "MIT" ]
null
null
null
// Source file for the scene converter program // Include files #include "R3Graphics/R3Graphics.h" // Program arguments static const char *input_scene_filename = NULL; static const char *output_grid_filename = NULL; static const char *selected_node_name = NULL; static double grid_spacing = 0.01; static double ...
28.750943
106
0.589972
[ "shape", "transform" ]