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
c710f4a5290dcd8d3198b304ce83d93c6791c264
13,248
cpp
C++
lib/commonAPI/sensor/ext/platform/wm/src/SensorApiDll.cpp
mensfeld/rhodes
2962610a314ed563a0b7c83fcae6136913a1b033
[ "MIT" ]
173
2015-01-02T11:14:08.000Z
2022-03-05T09:54:54.000Z
lib/commonAPI/sensor/ext/platform/wm/src/SensorApiDll.cpp
mensfeld/rhodes
2962610a314ed563a0b7c83fcae6136913a1b033
[ "MIT" ]
263
2015-01-05T04:35:22.000Z
2021-09-07T06:00:02.000Z
lib/commonAPI/sensor/ext/platform/wm/src/SensorApiDll.cpp
watusi/rhodes
07161cca58ff6a960bbd1b79b36447b819bfa0eb
[ "MIT" ]
77
2015-01-12T20:57:18.000Z
2022-02-17T15:15:14.000Z
#include "SensorApiDll.h" namespace sensormodule { // Call back function pointer type definitions typedef DWORD (WINAPI *LPFN_SENSOR_OPEN)(OPEN_MODE eMode, SENSOR_INFO_T * ptSensorInfo, HANDLE * phSensor); typedef DWORD (WINAPI *LPFN_SENSOR_CLOSE)(HANDLE hSensor); typedef DWORD (WINAPI *LPFN_SENSOR_FINDFIRST)(SENSOR_...
34.590078
217
0.702295
[ "vector" ]
c711071419901e824464d8d709e54fb1ffb54c24
414
cpp
C++
examples/ds/sqrt-decomposition/example-1.cpp
parth-07/dragon
2e771d698398303c8ae6d603d28bc3acfa116181
[ "MIT" ]
1
2021-02-24T17:51:32.000Z
2021-02-24T17:51:32.000Z
examples/ds/sqrt-decomposition/example-1.cpp
parth-07/dragon
2e771d698398303c8ae6d603d28bc3acfa116181
[ "MIT" ]
1
2021-02-24T17:57:04.000Z
2021-05-17T11:09:40.000Z
examples/ds/sqrt-decomposition/example-1.cpp
parth-07/ds-and-algos
2e771d698398303c8ae6d603d28bc3acfa116181
[ "MIT" ]
null
null
null
#include<iostream> #include<vector> #include "dragon/ds/sqrt-decomposition.hpp" using namespace std; int main() { vector<int> a{1,2,3,4,5,6,7,8,9,10}; struct Sum{ int operator()(int a,int b) { return a+b; } }; dragon::SqrtDecomposition<int,Sum> sd(0,a); cout<<sd.query(1,3)<<"\n"; cout<<sd.qu...
19.714286
45
0.589372
[ "vector" ]
c71225aa654d9ae5d10af4c7c440e01ce4d56549
6,226
cpp
C++
src/kernel/interrupts.cpp
fengjixuchui/popcorn
86b7c6b298db3ae0c00de5898908506a0fdb032d
[ "BSL-1.0" ]
null
null
null
src/kernel/interrupts.cpp
fengjixuchui/popcorn
86b7c6b298db3ae0c00de5898908506a0fdb032d
[ "BSL-1.0" ]
null
null
null
src/kernel/interrupts.cpp
fengjixuchui/popcorn
86b7c6b298db3ae0c00de5898908506a0fdb032d
[ "BSL-1.0" ]
null
null
null
#include <stdint.h> #include "apic.h" #include "console.h" #include "cpu.h" #include "debug.h" #include "device_manager.h" #include "gdt.h" #include "interrupts.h" #include "io.h" #include "log.h" #include "scheduler.h" #include "syscall.h" static const uint16_t PIC1 = 0x20; static const uint16_t PIC2 = 0xa0; extern...
21.105085
90
0.637167
[ "vector" ]
c722f134b2c20842399ec7e096ce3fab081d3986
10,490
hh
C++
dune/xt/grid/gridprovider/cube.hh
dune-community/dune-xt
da921524c6fff8d60c715cb4849a0bdd5f020d2b
[ "BSD-2-Clause" ]
2
2020-02-08T04:08:52.000Z
2020-08-01T18:54:14.000Z
dune/xt/grid/gridprovider/cube.hh
dune-community/dune-xt
da921524c6fff8d60c715cb4849a0bdd5f020d2b
[ "BSD-2-Clause" ]
35
2019-08-19T12:06:35.000Z
2020-03-27T08:20:39.000Z
dune/xt/grid/gridprovider/cube.hh
dune-community/dune-xt
da921524c6fff8d60c715cb4849a0bdd5f020d2b
[ "BSD-2-Clause" ]
1
2020-02-08T04:09:34.000Z
2020-02-08T04:09:34.000Z
// This file is part of the dune-xt project: // https://zivgitlab.uni-muenster.de/ag-ohlberger/dune-community/dune-xt // Copyright 2009-2021 dune-xt developers and contributors. All rights reserved. // License: Dual licensed as BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause) // or GPL-2.0+ (h...
39.584906
119
0.6796
[ "vector" ]
d178df0c2332f278ad2fb07c6494db852bb03076
6,435
cpp
C++
SilveR/R/library/RcppEigen/tinytest/cpp/rcppeigen.cpp
robalexclark/SilveR-Dev
263008fdb9dc3fdd22bfc6f71b7c092867631563
[ "MIT" ]
7
2019-04-27T10:26:46.000Z
2022-02-04T09:57:34.000Z
SilveR/R/library/RcppEigen/tinytest/cpp/rcppeigen.cpp
robalexclark/SilveR-Dev
263008fdb9dc3fdd22bfc6f71b7c092867631563
[ "MIT" ]
14
2019-12-28T07:09:11.000Z
2022-03-28T19:33:50.000Z
SilveR/R/library/RcppEigen/tinytest/cpp/rcppeigen.cpp
robalexclark/SilveR-Dev
263008fdb9dc3fdd22bfc6f71b7c092867631563
[ "MIT" ]
4
2019-03-05T05:52:24.000Z
2020-11-18T07:52:04.000Z
#include <RcppEigen.h> // [[Rcpp::depends(RcppEigen)]] // [[Rcpp::export]] Rcpp::List fx() { Rcpp::List vecs = Rcpp::List::create( Rcpp::_["Vec<complex>"] = Eigen::VectorXcd::Zero(5), Rcpp::_["Vec<double>"] = Eigen::VectorXd::Zero(5), Rcpp::_["Vec<float>"] = Eigen::VectorXf::Zero(5), ...
40.727848
109
0.540948
[ "object", "vector" ]
d1809ff5985edf1cf6a5ed1154402d605f12231f
14,739
cpp
C++
test/test_iostream01.cpp
sgothel/jaucpp
c2dbc8cb9fc2752afdbe2b4734650af0ac3fdd4d
[ "MIT" ]
1
2020-12-02T18:14:10.000Z
2020-12-02T18:14:10.000Z
test/test_iostream01.cpp
sgothel/jaucpp
c2dbc8cb9fc2752afdbe2b4734650af0ac3fdd4d
[ "MIT" ]
null
null
null
test/test_iostream01.cpp
sgothel/jaucpp
c2dbc8cb9fc2752afdbe2b4734650af0ac3fdd4d
[ "MIT" ]
null
null
null
/* * Author: Sven Gothel <sgothel@jausoft.com> * Copyright (c) 2021 Gothel Software e.K. * Copyright (c) 2021 ZAFENA AB * * 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 restri...
49.13
163
0.612185
[ "vector" ]
d183961cbfce6ea2ce0c92446c19ecb669bd2d74
5,765
cpp
C++
Classes/Objects/DynamicGameObject.cpp
HoangTrongMinhDuc/JMOK-Game
bd06a8dc166805de0709c61b4acdfcd89b9b3ff8
[ "MIT" ]
1
2019-07-11T08:06:06.000Z
2019-07-11T08:06:06.000Z
Classes/Objects/DynamicGameObject.cpp
HoangTrongMinhDuc/JOMK-Game
bd06a8dc166805de0709c61b4acdfcd89b9b3ff8
[ "MIT" ]
null
null
null
Classes/Objects/DynamicGameObject.cpp
HoangTrongMinhDuc/JOMK-Game
bd06a8dc166805de0709c61b4acdfcd89b9b3ff8
[ "MIT" ]
1
2021-09-13T12:00:12.000Z
2021-09-13T12:00:12.000Z
#include "Objects\DynamicGameObject.h" #include "Helper\TraceImageHelper.h" DynamicGameObject::DynamicGameObject(string direct) { string content = FileUtils::getInstance() ->getStringFromFile(direct); rapidjson::Document document; document.Parse<0>(content.c_str()); string plistDirect = document["Direct"].GetSt...
28.399015
91
0.701127
[ "vector" ]
d183a10b741f1187e5e3e1412cb7808655a3ab1c
7,530
cpp
C++
kaolin/graphics/nmr/cuda/rasterize_cuda.cpp
Bob-Yeah/kaolin
7ad34f8158000499a30b8dfa14fb3ed86d2e57a6
[ "ECL-2.0", "Apache-2.0" ]
1
2020-07-21T16:02:47.000Z
2020-07-21T16:02:47.000Z
kaolin/graphics/nmr/cuda/rasterize_cuda.cpp
Bob-Yeah/kaolin
7ad34f8158000499a30b8dfa14fb3ed86d2e57a6
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
kaolin/graphics/nmr/cuda/rasterize_cuda.cpp
Bob-Yeah/kaolin
7ad34f8158000499a30b8dfa14fb3ed86d2e57a6
[ "ECL-2.0", "Apache-2.0" ]
2
2021-08-10T09:19:19.000Z
2021-11-12T08:18:17.000Z
// MIT License // Copyright (c) 2017 Hiroharu Kato // Copyright (c) 2018 Nikos Kolotouros // A PyTorch implementation of Neural 3D Mesh Renderer (https://github.com/hiroharu-kato/neural_renderer) // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documen...
33.616071
105
0.65073
[ "mesh", "vector", "3d" ]
d18699aa4cf59298f7a1178bbfcfdd93913bda1f
37,060
cpp
C++
carma-messenger-core/cpp_message/src/SPAT_Message.cpp
usdot-fhwa-stol/carma-messenger
83bad366d80c6124e52dd6ac7b6d3da38a918456
[ "Apache-2.0" ]
13
2019-12-13T11:51:38.000Z
2021-04-22T21:16:22.000Z
carma-messenger-core/cpp_message/src/SPAT_Message.cpp
usdot-fhwa-stol/carma-messenger
83bad366d80c6124e52dd6ac7b6d3da38a918456
[ "Apache-2.0" ]
28
2020-03-25T00:36:52.000Z
2022-02-04T15:23:28.000Z
carma-messenger-core/cpp_message/src/SPAT_Message.cpp
usdot-fhwa-stol/carma-messenger
83bad366d80c6124e52dd6ac7b6d3da38a918456
[ "Apache-2.0" ]
8
2020-02-02T18:42:42.000Z
2021-11-20T13:32:31.000Z
/* * Copyright (C) 2021 LEIDOS. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
52.867332
224
0.556017
[ "vector" ]
d188a4171e163c88639c2c35cc2e4107c98c21eb
2,130
cpp
C++
1056.cpp
hgfeaon/PAT
3210bdab10eba77b69cdfb7a3c68638f9b7af5ac
[ "BSD-3-Clause" ]
null
null
null
1056.cpp
hgfeaon/PAT
3210bdab10eba77b69cdfb7a3c68638f9b7af5ac
[ "BSD-3-Clause" ]
null
null
null
1056.cpp
hgfeaon/PAT
3210bdab10eba77b69cdfb7a3c68638f9b7af5ac
[ "BSD-3-Clause" ]
null
null
null
#include <cstdio> #include <climits> #include <cstdlib> #include <vector> #include <list> using namespace std; list<int>::iterator group_pick(list<int> &player, list<int>::iterator &cur, int group_size, vector<int> &W) { int wmax = INT_MIN; list<int>::iterator ret = player.end(); int cnt = group_size; ...
23.152174
109
0.452113
[ "vector" ]
d18b41bc39cbb2bd5a928abf624e5ebe9ea04ddb
5,590
cpp
C++
OPHD/UI/PopulationPanel.cpp
OutpostUniverse/OPHD
152d904eb81143e2ad39ffbacae7350cbe8d6456
[ "BSD-3-Clause" ]
31
2020-03-19T05:27:06.000Z
2022-03-27T04:29:23.000Z
OPHD/UI/PopulationPanel.cpp
OutpostUniverse/OPHD
152d904eb81143e2ad39ffbacae7350cbe8d6456
[ "BSD-3-Clause" ]
410
2020-02-09T05:31:08.000Z
2022-01-09T02:03:10.000Z
OPHD/UI/PopulationPanel.cpp
OutpostUniverse/OPHD
152d904eb81143e2ad39ffbacae7350cbe8d6456
[ "BSD-3-Clause" ]
9
2020-04-21T19:55:29.000Z
2022-02-05T01:03:54.000Z
#include "PopulationPanel.h" #include "../Cache.h" #include "../Common.h" #include "../Constants.h" #include "../Population/Population.h" #include <NAS2D/Utility.h> #include <NAS2D/Renderer/Renderer.h> #include <algorithm> using namespace NAS2D; static constexpr int IconSize = 32; static const auto trendIndex ...
33.674699
170
0.728444
[ "vector" ]
d18b88213cd64ac5e84a99b9bb1f6971ae73cbfa
6,064
cpp
C++
Source/SystemQOR/MSWindows/WinQL/Application/ErrorSystem/WinQLDOSError.cpp
mfaithfull/QOR
0fa51789344da482e8c2726309265d56e7271971
[ "BSL-1.0" ]
9
2016-05-27T01:00:39.000Z
2021-04-01T08:54:46.000Z
Source/SystemQOR/MSWindows/WinQL/Application/ErrorSystem/WinQLDOSError.cpp
mfaithfull/QOR
0fa51789344da482e8c2726309265d56e7271971
[ "BSL-1.0" ]
1
2016-03-03T22:54:08.000Z
2016-03-03T22:54:08.000Z
Source/SystemQOR/MSWindows/WinQL/Application/ErrorSystem/WinQLDOSError.cpp
mfaithfull/QOR
0fa51789344da482e8c2726309265d56e7271971
[ "BSL-1.0" ]
4
2016-05-27T01:00:43.000Z
2018-08-19T08:47:49.000Z
//WinQLDOSError.cpp // Copyright Querysoft Limited 2012 - . All rights reserved. // // Permission is hereby granted, free of charge, to any person or organization // obtaining a copy of the software and accompanying documentation covered by // this license (the "Software") to use, reproduce, display, distribute, // ex...
41.82069
119
0.568272
[ "object" ]
d18b971a046520fa32d1f7d944645c4e945b88b1
801
cpp
C++
test/main.cpp
thecppzoo/zoo
6b82e4ba4ca30cd8a71404f2dec946e3bac9e52f
[ "MIT" ]
32
2018-10-23T16:48:00.000Z
2022-03-25T04:09:32.000Z
test/main.cpp
thecppzoo/zoo
6b82e4ba4ca30cd8a71404f2dec946e3bac9e52f
[ "MIT" ]
7
2018-11-12T19:54:46.000Z
2020-06-30T21:40:48.000Z
test/main.cpp
thecppzoo/zoo
6b82e4ba4ca30cd8a71404f2dec946e3bac9e52f
[ "MIT" ]
4
2017-09-02T16:53:00.000Z
2020-12-14T09:10:51.000Z
#include <zoo/any.h> #include <iostream> #include <unordered_set> std::unordered_set<void *> registrations; struct Registers { double a, b; Registers() { std::cout << "Registers(" << this << ")\n"; if(registrations.count(this)) { std::cout << "error C" << this << std::endl; throw 0; } registrations....
20.025
63
0.583021
[ "model" ]
d191fd5ab28ba71b114c0fe9a64239fe0d4c9e6b
2,618
hpp
C++
Microsoft.O365.Security.Native.ETW/Errors.hpp
andrewgu/krabsetw
7ae868c9c1183c9b91c19c4da7764f78f7fcf9ad
[ "MIT" ]
null
null
null
Microsoft.O365.Security.Native.ETW/Errors.hpp
andrewgu/krabsetw
7ae868c9c1183c9b91c19c4da7764f78f7fcf9ad
[ "MIT" ]
null
null
null
Microsoft.O365.Security.Native.ETW/Errors.hpp
andrewgu/krabsetw
7ae868c9c1183c9b91c19c4da7764f78f7fcf9ad
[ "MIT" ]
null
null
null
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. #pragma once namespace Microsoft { namespace O365 { namespace Security { namespace ETW { /// <summary> /// Thrown when the ETW trace object is already registe...
35.378378
101
0.628342
[ "object" ]
d1993deba3bda87b0e236fc8ffcdf7bbc846bec5
578
cpp
C++
C++/maximum-sum-circular-subarray.cpp
jaiskid/LeetCode-Solutions
a8075fd69087c5463f02d74e6cea2488fdd4efd1
[ "MIT" ]
3,269
2018-10-12T01:29:40.000Z
2022-03-31T17:58:41.000Z
C++/maximum-sum-circular-subarray.cpp
jaiskid/LeetCode-Solutions
a8075fd69087c5463f02d74e6cea2488fdd4efd1
[ "MIT" ]
53
2018-12-16T22:54:20.000Z
2022-02-25T08:31:20.000Z
C++/maximum-sum-circular-subarray.cpp
jaiskid/LeetCode-Solutions
a8075fd69087c5463f02d74e6cea2488fdd4efd1
[ "MIT" ]
1,236
2018-10-12T02:51:40.000Z
2022-03-30T13:30:37.000Z
// Time: O(n) // Space: O(1) class Solution { public: int maxSubarraySumCircular(vector<int>& A) { int total = 0; int max_sum = numeric_limits<int>::min(), cur_max = 0; int min_sum = numeric_limits<int>::max(), cur_min = 0; for (const auto& a : A) { cur_max = max(cur_ma...
28.9
70
0.520761
[ "vector" ]
d19f3db48d2862d250ad6380f1bb23fc076e474d
3,881
cpp
C++
thirdparty/dmcurl/thirdparty/curlpp/examples/example07.cpp
brinkqiang/luahttpclient
1c5e0555a80aa15dd0e765a8084d0af83f0a488a
[ "MIT" ]
null
null
null
thirdparty/dmcurl/thirdparty/curlpp/examples/example07.cpp
brinkqiang/luahttpclient
1c5e0555a80aa15dd0e765a8084d0af83f0a488a
[ "MIT" ]
null
null
null
thirdparty/dmcurl/thirdparty/curlpp/examples/example07.cpp
brinkqiang/luahttpclient
1c5e0555a80aa15dd0e765a8084d0af83f0a488a
[ "MIT" ]
null
null
null
/** * \file * Cookies. * */ #include <string> #include <sstream> #include <vector> #include <iostream> #include <cstdlib> #include <ctime> #include <curlpp/cURLpp.hpp> #include <curlpp/Easy.hpp> #define CURLPP_ALLOW_NOT_AVAILABLE #include <curlpp/Infos.hpp> #include <curlpp/Options.hpp> c...
22.177143
122
0.608348
[ "vector" ]
d1a6ea43444906c9bdd4a74655946179d4aad93f
1,537
cpp
C++
contrib/controller/CRBMCtrl.cpp
kzahedi/YARS
48d9fe4178d699fba38114d3b299a228da41293d
[ "MIT" ]
4
2017-08-05T03:33:21.000Z
2021-11-08T09:15:42.000Z
contrib/controller/CRBMCtrl.cpp
kzahedi/YARS
48d9fe4178d699fba38114d3b299a228da41293d
[ "MIT" ]
null
null
null
contrib/controller/CRBMCtrl.cpp
kzahedi/YARS
48d9fe4178d699fba38114d3b299a228da41293d
[ "MIT" ]
1
2019-03-24T08:35:25.000Z
2019-03-24T08:35:25.000Z
#include "CRBMCtrl.h" #include <crbm/Random.h> #include <entropy++/Csv.h> #include <math.h> #include <stdio.h> using namespace std; void CRBMCtrl::update() { if(record == false) { for(int i = 0; i < (int)sensors.size(); i++) S[i] = sensors[i]; _crbm->update(S, A); for(int i = 0; i < (int)motors.size...
20.493333
78
0.574496
[ "vector" ]
d1aca0c308bb64da5f61f95b873af040296e32e4
16,143
cpp
C++
src/gpu/GrRenderTargetOpList.cpp
DerpRom/external_skia
9856ce52693d8bf9e18b679420db4c795485c44e
[ "BSD-3-Clause" ]
1
2019-01-16T03:59:15.000Z
2019-01-16T03:59:15.000Z
src/gpu/GrRenderTargetOpList.cpp
DerpRom/external_skia
9856ce52693d8bf9e18b679420db4c795485c44e
[ "BSD-3-Clause" ]
null
null
null
src/gpu/GrRenderTargetOpList.cpp
DerpRom/external_skia
9856ce52693d8bf9e18b679420db4c795485c44e
[ "BSD-3-Clause" ]
1
2019-11-05T01:02:09.000Z
2019-11-05T01:02:09.000Z
/* * Copyright 2010 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "GrRenderTargetOpList.h" #include "GrAuditTrail.h" #include "GrCaps.h" #include "GrGpu.h" #include "GrGpuCommandBuffer.h" #include "GrRenderTarget.h" #include "GrRend...
40.662469
100
0.577402
[ "geometry", "render" ]
d1adfc8e3ebaa67c1faeaf5ac4f857af04d1e3c5
728
hpp
C++
parse/jsd_set.hpp
5cript/SimpleJSON
878a6341baed91c29630447f6bd480391f563045
[ "MIT" ]
4
2015-06-25T02:06:13.000Z
2018-07-11T13:20:24.000Z
parse/jsd_set.hpp
5cript/SimpleJSON
878a6341baed91c29630447f6bd480391f563045
[ "MIT" ]
14
2015-03-29T10:32:21.000Z
2018-01-25T16:45:08.000Z
parse/jsd_set.hpp
5cript/SimpleJSON
878a6341baed91c29630447f6bd480391f563045
[ "MIT" ]
2
2017-07-16T09:43:22.000Z
2020-08-30T09:33:40.000Z
#pragma once #include "jsd_core.hpp" #include "jsd_container.hpp" #include <set> namespace JSON { template <typename T> void parse(std::set<T>& value, std::string const& name, PropertyTree const& object, ParsingOptions const& options = {}) { try { SJSON_GET_CHILD(name, pt, std::set<T>{}); ...
21.411765
78
0.619505
[ "object" ]
d1b0a848361ee84a2e62a298ab67c3023fdd1286
6,302
cpp
C++
cpp/src/render/utils/vega/vega_scatter_plot/vega_weighted_pointmap.cpp
liangliu/arctern
b342f46c6b2d727d582e5f0971562447e1692043
[ "Apache-2.0" ]
null
null
null
cpp/src/render/utils/vega/vega_scatter_plot/vega_weighted_pointmap.cpp
liangliu/arctern
b342f46c6b2d727d582e5f0971562447e1692043
[ "Apache-2.0" ]
1
2020-03-12T00:49:52.000Z
2020-03-12T00:49:52.000Z
cpp/src/render/utils/vega/vega_scatter_plot/vega_weighted_pointmap.cpp
liangliu/arctern
b342f46c6b2d727d582e5f0971562447e1692043
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2019-2020 Zilliz. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
40.140127
89
0.667248
[ "render" ]
d1ddd5aa6551ea6e3d45eb6a11d638a20df1b779
1,480
cpp
C++
cpp/leetcode/BusRoutes.cpp
danyfang/SourceCode
8168f6058648f2a330a7354daf3a73a4d8a4e730
[ "MIT" ]
null
null
null
cpp/leetcode/BusRoutes.cpp
danyfang/SourceCode
8168f6058648f2a330a7354daf3a73a4d8a4e730
[ "MIT" ]
null
null
null
cpp/leetcode/BusRoutes.cpp
danyfang/SourceCode
8168f6058648f2a330a7354daf3a73a4d8a4e730
[ "MIT" ]
null
null
null
//Leetcode Problem No 815 Bus Routes //Solution written by Xuqiang Fang on 21 June, 2018 #include <iostream> #include <vector> #include <string> #include <algorithm> #include <unordered_map> #include <unordered_set> #include <stack> #include <queue> using namespace std; class Solution{ public: int numBusesToDesti...
24.666667
74
0.422973
[ "vector" ]
d1e64ed439531e4ae9755dc5106611a4b36cc149
1,793
cc
C++
L1Trigger/GlobalCaloTrigger/src/L1GctHfBitCountsLut.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
3
2018-08-24T19:10:26.000Z
2019-02-19T11:45:32.000Z
L1Trigger/GlobalCaloTrigger/src/L1GctHfBitCountsLut.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
3
2018-08-23T13:40:24.000Z
2019-12-05T21:16:03.000Z
L1Trigger/GlobalCaloTrigger/src/L1GctHfBitCountsLut.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
5
2018-08-21T16:37:52.000Z
2020-01-09T13:33:17.000Z
#include "L1Trigger/GlobalCaloTrigger/interface/L1GctHfBitCountsLut.h" //DEFINE STATICS const int L1GctHfBitCountsLut::NAddress=5; const int L1GctHfBitCountsLut::NData =3; L1GctHfBitCountsLut::L1GctHfBitCountsLut(const L1GctHfEtSumsLut::hfLutType& type) : L1GctLut<NAddress,NData>(), m_lutType(type) { // No se...
25.614286
86
0.734523
[ "vector" ]
d1e746deeb2842ebb1eb14e0a3a3ceb55644de28
69,467
cpp
C++
SRC/material/nD/TclModelBuilderNDMaterialCommand.cpp
steva44/OpenSees
417c3be117992a108c6bbbcf5c9b63806b9362ab
[ "TCL" ]
8
2019-03-05T16:25:10.000Z
2020-04-17T14:12:03.000Z
SRC/material/nD/TclModelBuilderNDMaterialCommand.cpp
steva44/OpenSees
417c3be117992a108c6bbbcf5c9b63806b9362ab
[ "TCL" ]
null
null
null
SRC/material/nD/TclModelBuilderNDMaterialCommand.cpp
steva44/OpenSees
417c3be117992a108c6bbbcf5c9b63806b9362ab
[ "TCL" ]
3
2019-09-21T03:11:11.000Z
2020-01-19T07:29:37.000Z
/* ****************************************************************** ** ** OpenSees - Open System for Earthquake Engineering Simulation ** ** Pacific Earthquake Engineering Research Center ** ** ** ** ...
31.263276
131
0.594009
[ "model", "solid" ]
d1e9d88dd0bcf287f6593c730d31fce58420764b
2,988
cpp
C++
tests/src/tests_ArrayView.cpp
Mike-Bal/mart-common
0b52654c6f756e8e86689e56d24849c97079229c
[ "MIT" ]
1
2021-07-16T14:19:50.000Z
2021-07-16T14:19:50.000Z
tests/src/tests_ArrayView.cpp
Mike-Bal/mart-common
0b52654c6f756e8e86689e56d24849c97079229c
[ "MIT" ]
1
2018-06-05T11:03:30.000Z
2018-06-05T11:03:30.000Z
tests/src/tests_ArrayView.cpp
tum-ei-rcs/mart-common
6f8f18ac23401eb294d96db490fbdf78bf9b316c
[ "MIT" ]
null
null
null
#include <mart-common/ArrayView.h> #include <mart-common/algorithm.h> #include <catch2/catch.hpp> #include <algorithm> #include <array> #include <iterator> #include <vector> TEST_CASE( "constructed_from_container_has_same_elements", "[ArrayView]" ) { int na1[] = {-3}; int na2[] = {-3, 1, 5, 6, 7, 8}; std::array...
30.181818
100
0.632865
[ "vector" ]
d1eaab8983480b90729cd34e9efd31425311dd29
1,967
cpp
C++
QimWatermarking/QimWatermarking/lsb.cpp
CdricGmd/Qim-Integrity-App
4eac721c3855942cb85cd1a6473272c4cfcb8069
[ "MIT" ]
3
2015-04-21T09:23:33.000Z
2017-12-19T06:22:00.000Z
QimWatermarking/QimWatermarking/lsb.cpp
CdricGmd/Qim-Integrity-App
4eac721c3855942cb85cd1a6473272c4cfcb8069
[ "MIT" ]
null
null
null
QimWatermarking/QimWatermarking/lsb.cpp
CdricGmd/Qim-Integrity-App
4eac721c3855942cb85cd1a6473272c4cfcb8069
[ "MIT" ]
null
null
null
#include <opencv2/opencv.hpp> #include <opencv2/core/core.hpp> #include <opencv2/core/mat.hpp> #include <opencv2/imgproc/imgproc.hpp> #include "lsb.hpp" using namespace std; using namespace cv; void insert_lsb(Mat& image, vector<int> mark); void extract_lsb(Mat& image, vector<int>& mark); void MarkToBinayI...
28.507246
74
0.674631
[ "vector" ]
d1eaed4bfec6846c3f8b016ec3d33975d493b07e
3,638
cpp
C++
mx_sensitivity/child_element_NDNBJ1.cpp
mrcstan/Opt-IGFEM-2D
834d07727cd30cfac6368d9bb67202b8a20a4d4c
[ "NCSA" ]
null
null
null
mx_sensitivity/child_element_NDNBJ1.cpp
mrcstan/Opt-IGFEM-2D
834d07727cd30cfac6368d9bb67202b8a20a4d4c
[ "NCSA" ]
null
null
null
mx_sensitivity/child_element_NDNBJ1.cpp
mrcstan/Opt-IGFEM-2D
834d07727cd30cfac6368d9bb67202b8a20a4d4c
[ "NCSA" ]
null
null
null
/* Created by Marcus Tan on 8/17/2014 Modified on 12/28/2014 Copyright 2014 University of Illinois Purpose: this function calculates shape functions, B matrix of the child and parent elements as well as the Jacobian of the child element mapping to the global space INPUT: paLocOrigNodes: parent loc...
35.320388
98
0.60033
[ "shape", "vector" ]
d1f76f1818d0c8d26f4aea1d38fb99b779f5f258
85,878
cpp
C++
moses/mira/Main.cpp
anshsarkar/TailBench
25845756aee9a892229c25b681051591c94daafd
[ "MIT" ]
3
2018-01-25T00:51:56.000Z
2022-01-07T15:09:38.000Z
moses/mira/Main.cpp
anshsarkar/TailBench
25845756aee9a892229c25b681051591c94daafd
[ "MIT" ]
1
2021-11-25T18:08:22.000Z
2021-11-25T18:08:22.000Z
moses/mira/Main.cpp
anshsarkar/TailBench
25845756aee9a892229c25b681051591c94daafd
[ "MIT" ]
3
2018-06-08T08:36:27.000Z
2021-12-26T20:36:16.000Z
/*********************************************************************** Moses - factored phrase-based language decoder Copyright (C) 2010 University of Edinburgh This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Fr...
43.089814
223
0.671394
[ "vector", "model" ]
d1fa833bcd7c8c6850d68e06349c9dc849295354
905
cpp
C++
stl/tests/test_11-get_just_odd.cpp
Merulo/Solutions
28ceaef4daf28dc77bc4e44c3668f045eb277347
[ "MIT" ]
null
null
null
stl/tests/test_11-get_just_odd.cpp
Merulo/Solutions
28ceaef4daf28dc77bc4e44c3668f045eb277347
[ "MIT" ]
null
null
null
stl/tests/test_11-get_just_odd.cpp
Merulo/Solutions
28ceaef4daf28dc77bc4e44c3668f045eb277347
[ "MIT" ]
null
null
null
#include <algorithm> #include "gtest/gtest.h" #include "fixture.hpp" #include "11-get_just_odd.hpp" TYPED_TEST(ContainerTypedTests, GetJustOddNumbers_ThereAreOddNumbers) { const typename TestFixture::ContainerType input{5, 6, 7, 8}; const std::vector<int> expected{6, 8}; const auto result = getOddNumbers(input); ...
32.321429
73
0.759116
[ "vector" ]
0602e497c2cc5e9649dc6a3f47e32c567bbfe37c
1,994
cpp
C++
tab_files/resource_tab_files/ResourceTab.cpp
mozumder/PMSPro
4077a694747b8f889e26c39c8881cac2537a9631
[ "Apache-2.0" ]
null
null
null
tab_files/resource_tab_files/ResourceTab.cpp
mozumder/PMSPro
4077a694747b8f889e26c39c8881cac2537a9631
[ "Apache-2.0" ]
null
null
null
tab_files/resource_tab_files/ResourceTab.cpp
mozumder/PMSPro
4077a694747b8f889e26c39c8881cac2537a9631
[ "Apache-2.0" ]
null
null
null
#include "ResourceTab.h" ResourceTab::ResourceTab(QWidget *parent) : QWidget(parent) { resourceNameLabel = new QLabel(tr("Resource Name:")); resourceDescriptionLabel = new QLabel(tr("Resource Description:")); resourceNameField = new QLineEdit; resourceDescriptionField = new QTextEdit; layout = ...
28.898551
90
0.738716
[ "object" ]
06055d1e3b04a1683d7405ee112f53b79f688b43
9,817
cpp
C++
pxr/imaging/lib/hd/bufferArrayRegistry.cpp
unity3d-jp/USD
0f146383613e1efe872ea7c85aa3536f170fcda2
[ "BSD-3-Clause" ]
7
2016-12-13T00:53:38.000Z
2020-04-02T13:25:50.000Z
pxr/imaging/lib/hd/bufferArrayRegistry.cpp
unity3d-jp/USD
0f146383613e1efe872ea7c85aa3536f170fcda2
[ "BSD-3-Clause" ]
null
null
null
pxr/imaging/lib/hd/bufferArrayRegistry.cpp
unity3d-jp/USD
0f146383613e1efe872ea7c85aa3536f170fcda2
[ "BSD-3-Clause" ]
2
2016-12-13T00:53:40.000Z
2020-05-04T07:32:53.000Z
// // Copyright 2016 Pixar // // Licensed under the Apache License, Version 2.0 (the "Apache License") // with the following modification; you may not use this file except in // compliance with the Apache License and the following modification to it: // Section 6. Trademarks. is deleted and replaced with: // // 6. Trad...
34.812057
107
0.59998
[ "vector" ]
0605b697d0ac78327b9918396b30bba438ca90dd
2,809
cpp
C++
src/BVH.cpp
wonderyue/RayTracing
4ef3562bfc3fe7192962243b7b0fae675ec4ee95
[ "MIT" ]
null
null
null
src/BVH.cpp
wonderyue/RayTracing
4ef3562bfc3fe7192962243b7b0fae675ec4ee95
[ "MIT" ]
null
null
null
src/BVH.cpp
wonderyue/RayTracing
4ef3562bfc3fe7192962243b7b0fae675ec4ee95
[ "MIT" ]
null
null
null
#include <algorithm> #include <cassert> #include "BVH.h" BVH::BVH(std::vector<Object*>& objects) { if (objects.empty()) return; root = build(objects, 0, objects.size()); } BVH::~BVH() { delete root; root = NULL; } BVH::BVHNode* BVH::build(std::vector<Object*>& objects, std::vector<Object*>::...
33.440476
139
0.552154
[ "object", "vector" ]
0612d8561ef9ecb7caf6d8cefc52a6b553e2c028
6,633
cpp
C++
exercise/src/example/TwoLightsWithStruct/TwoLightsWithStruct.cpp
softwarekid/crayon
72fe08eab4b4282ad729ee2719e75df2f02f1def
[ "MIT" ]
null
null
null
exercise/src/example/TwoLightsWithStruct/TwoLightsWithStruct.cpp
softwarekid/crayon
72fe08eab4b4282ad729ee2719e75df2f02f1def
[ "MIT" ]
null
null
null
exercise/src/example/TwoLightsWithStruct/TwoLightsWithStruct.cpp
softwarekid/crayon
72fe08eab4b4282ad729ee2719e75df2f02f1def
[ "MIT" ]
null
null
null
#include <assert.h> #include "TwoLightsWithStruct.h" #include <CG/cgGL.h> #include <vector> #include <GL/glut.h> #include <CgLog.h> #include <Constants.h> using namespace std; void TwoLightsWithStruct::_SetBrassMaterial() { } void TwoLightsWithStruct::_SetRedPlasticMaterial() { } void TwoLightsWithS...
34.546875
186
0.658526
[ "vector" ]
06144194fe0ac5c10a52e54f5406efa596647c19
3,064
cpp
C++
src/mode_calc_help.cpp
ToruNiina/Coffee-mill
343a6b89f7bc4645d596809aac9009db1c5ec0d8
[ "MIT" ]
4
2017-12-11T07:26:34.000Z
2021-02-01T07:33:37.000Z
src/mode_calc_help.cpp
ToruNiina/Coffee-mill
343a6b89f7bc4645d596809aac9009db1c5ec0d8
[ "MIT" ]
null
null
null
src/mode_calc_help.cpp
ToruNiina/Coffee-mill
343a6b89f7bc4645d596809aac9009db1c5ec0d8
[ "MIT" ]
null
null
null
#include <mill/math/Vector.hpp> #include <mill/util/logger.hpp> #include "mode_calc_help.hpp" #include "mode_calc_rmsd.hpp" #include "mode_calc_wham.hpp" #include "mode_calc_dist.hpp" #include "mode_calc_angle.hpp" #include "mode_calc_aabb.hpp" #include "mode_calc_obb.hpp" #include "mode_calc_center.hpp" #include "mode...
25.747899
82
0.559399
[ "vector" ]
16468eee644ff759a236647f2a59f3685e695779
4,407
hpp
C++
include/com.hpp
nikolaimerkel/DistributedNE
47bc214b2f6c3641a2c6b78332be5a7bf7ff833b
[ "MIT" ]
11
2019-09-06T10:30:02.000Z
2022-02-17T20:06:56.000Z
include/com.hpp
nikolaimerkel/DistributedNE
47bc214b2f6c3641a2c6b78332be5a7bf7ff833b
[ "MIT" ]
null
null
null
include/com.hpp
nikolaimerkel/DistributedNE
47bc214b2f6c3641a2c6b78332be5a7bf7ff833b
[ "MIT" ]
8
2019-09-09T01:21:11.000Z
2022-03-27T04:01:13.000Z
/* * com.hpp * * Copyright (c) 2019 Masatoshi Hanai * * This software is released under MIT License. * See LICENSE. * */ #ifndef DISTRIBUTEDNE_COM_HPP #define DISTRIBUTEDNE_COM_HPP #include "type.hpp" class Communicator { int rank_; int rankSize_; public: template<class T> void AlltoAll(std::ve...
26.076923
84
0.515543
[ "vector" ]
164b6a49fac7a0d0de89868820a1b6d7dc92533c
4,051
hpp
C++
Siv3D/include/Siv3D/Bezier2.hpp
Fuyutsubaki/OpenSiv3D
4370f6ebe28addd39bfdd75915c5a18e3e5e9273
[ "MIT" ]
null
null
null
Siv3D/include/Siv3D/Bezier2.hpp
Fuyutsubaki/OpenSiv3D
4370f6ebe28addd39bfdd75915c5a18e3e5e9273
[ "MIT" ]
null
null
null
Siv3D/include/Siv3D/Bezier2.hpp
Fuyutsubaki/OpenSiv3D
4370f6ebe28addd39bfdd75915c5a18e3e5e9273
[ "MIT" ]
null
null
null
//----------------------------------------------- // // This file is part of the Siv3D Engine. // // Copyright (c) 2008-2018 Ryo Suzuki // Copyright (c) 2016-2018 OpenSiv3D Project // // Licensed under the MIT License. // //----------------------------------------------- # pragma once # include "Fwd.hpp" # include "P...
21.433862
109
0.567761
[ "shape" ]
164d2db144b7f1662165e79f251fb6f8ac280455
46,862
cpp
C++
opengl_proxy.cpp
glampert/GLProxy
5bafc42a6315a07aa03cceb4fa1ba4afd54a49a2
[ "MIT" ]
10
2016-09-23T22:40:48.000Z
2022-03-23T00:11:26.000Z
opengl_proxy.cpp
glampert/GLProxy
5bafc42a6315a07aa03cceb4fa1ba4afd54a49a2
[ "MIT" ]
null
null
null
opengl_proxy.cpp
glampert/GLProxy
5bafc42a6315a07aa03cceb4fa1ba4afd54a49a2
[ "MIT" ]
2
2021-03-08T00:07:35.000Z
2021-05-05T18:29:46.000Z
// ================================================================================================ // -*- C++ -*- // File: opengl_proxy.cpp // Author: Guilherme R. Lampert // Created on: 22/11/15 // Brief: GLProxy intercepts all calls to the real OpenGL library. // // Source code licensed under the MIT license. // Co...
43.796262
179
0.637574
[ "vector" ]
165a2837406f3d7e32507f62dc51be8f28a03fb0
3,999
cpp
C++
tests/test-process.cpp
jin1xiao3long2/libmozart
78ba2e0d2cb7fbf8b721b94d05c9f2845c6b0281
[ "Apache-2.0" ]
2
2021-03-01T06:41:30.000Z
2021-03-01T07:28:15.000Z
tests/test-process.cpp
jin1xiao3long2/libmozart
78ba2e0d2cb7fbf8b721b94d05c9f2845c6b0281
[ "Apache-2.0" ]
null
null
null
tests/test-process.cpp
jin1xiao3long2/libmozart
78ba2e0d2cb7fbf8b721b94d05c9f2845c6b0281
[ "Apache-2.0" ]
1
2021-04-22T16:48:25.000Z
2021-04-22T16:48:25.000Z
/** * Mozart++ Template Library * Licensed under Apache 2.0 * Copyright (C) 2020-2021 Chengdu Covariant Technologies Co., LTD. * Website: https://covariant.cn/ * Github: https://github.com/chengdu-zhirui/ */ #include <cstdio> #include <cstdlib> #include <mozart++/string> #include <mozart++/process> #ifdef MOZA...
22.721591
88
0.580145
[ "object" ]
1668f3d8c02d145dc121fbc1b4e0cc9b04b17ac1
6,970
cpp
C++
src/console_writer.cpp
lainets/gcheck
c31471ea8c085bbdbc19ca202100c7d02e18fdc5
[ "MIT" ]
null
null
null
src/console_writer.cpp
lainets/gcheck
c31471ea8c085bbdbc19ca202100c7d02e18fdc5
[ "MIT" ]
null
null
null
src/console_writer.cpp
lainets/gcheck
c31471ea8c085bbdbc19ca202100c7d02e18fdc5
[ "MIT" ]
null
null
null
#include "console_writer.h" #include <unistd.h> #include <iostream> #include <algorithm> namespace gcheck { int ConsoleWriter::width_ = -1; int ConsoleWriter::GetWidth() { if(width_ != -1) return width_; int w = 0; #if defined(_WIN32) || defined(WIN32) CONSOLE_SCREEN_BUFFER_INFO csbi; GetCo...
31.116071
142
0.494835
[ "vector" ]
166b9383d7ba75062f12dfbff2be40e570b84401
1,340
cpp
C++
readInput.cpp
TobbeOlsson/AoC21
3824f2e65137270d54c99c60d1f106da556c81f2
[ "MIT" ]
null
null
null
readInput.cpp
TobbeOlsson/AoC21
3824f2e65137270d54c99c60d1f106da556c81f2
[ "MIT" ]
null
null
null
readInput.cpp
TobbeOlsson/AoC21
3824f2e65137270d54c99c60d1f106da556c81f2
[ "MIT" ]
null
null
null
#include "readInput.h" #include <fstream> #include <string> #include <iostream> #include <utility> std::vector<int> fileLinesToIntVector(std::string file_path){ std::vector<int> input; std::ifstream in(file_path); if (!in){ std::cout << "Could not find input file: " << file_path << "\n"; ...
21.967213
87
0.565672
[ "vector" ]
16702eaf34630c386cf71d30e121bc88e45b20d9
15,450
cc
C++
lullaby/modules/animation_channels/transform_channels.cc
dd181818/lullaby
71e696c3798068a350e820433c9d3185fa28c0ce
[ "Apache-2.0" ]
1
2018-11-09T03:45:25.000Z
2018-11-09T03:45:25.000Z
lullaby/modules/animation_channels/transform_channels.cc
dd181818/lullaby
71e696c3798068a350e820433c9d3185fa28c0ce
[ "Apache-2.0" ]
null
null
null
lullaby/modules/animation_channels/transform_channels.cc
dd181818/lullaby
71e696c3798068a350e820433c9d3185fa28c0ce
[ "Apache-2.0" ]
null
null
null
/* Copyright 2017 Google Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in ...
35.193622
80
0.712104
[ "transform" ]
1675669331fb09e3c6e5f7c1fba717026ed9b4bd
4,527
cpp
C++
UnitTests/LcpSolvers/TestContainers.cpp
jodavis42/ZeroPhysicsTestbed
e84a3f6faf16b7a4242dc049121b5338e80039f8
[ "MIT" ]
52
2018-09-11T17:18:35.000Z
2022-03-13T15:28:21.000Z
UnitTests/LcpSolvers/TestContainers.cpp
jodavis42/ZeroPhysicsTestbed
e84a3f6faf16b7a4242dc049121b5338e80039f8
[ "MIT" ]
1,409
2018-09-19T18:03:43.000Z
2021-06-09T08:33:33.000Z
UnitTests/LcpSolvers/TestContainers.cpp
jodavis42/ZeroPhysicsTestbed
e84a3f6faf16b7a4242dc049121b5338e80039f8
[ "MIT" ]
26
2018-09-11T17:16:32.000Z
2021-11-22T06:21:19.000Z
/////////////////////////////////////////////////////////////////////////////// /// /// \file TestContainers.cpp /// Some containers used in testing LCP solvers. /// /// Authors: Joshua Davis /// Copyright 2012, DigiPen Institute of Technology /// //////////////////////////////////////////////////////////...
23.826316
99
0.582947
[ "transform" ]
1678f32812a48b3a81072365162910e8e0a0786c
1,373
hpp
C++
Runtime/Character/CCharLayoutInfo.hpp
Jcw87/urde
fb9ea9092ad00facfe957ece282a86c194e9cbda
[ "MIT" ]
267
2016-03-10T21:59:16.000Z
2021-03-28T18:21:03.000Z
Runtime/Character/CCharLayoutInfo.hpp
cobalt2727/metaforce
3bb05c0ee5dd9b1b8eaa861fc49713aef62c844a
[ "MIT" ]
129
2016-03-12T10:17:32.000Z
2021-04-05T20:45:19.000Z
Runtime/Character/CCharLayoutInfo.hpp
cobalt2727/metaforce
3bb05c0ee5dd9b1b8eaa861fc49713aef62c844a
[ "MIT" ]
31
2016-03-20T00:20:11.000Z
2021-03-10T21:14:11.000Z
#pragma once #include <map> #include <memory> #include <string> #include <vector> #include "Runtime/CFactoryMgr.hpp" #include "Runtime/IOStreams.hpp" #include "Runtime/Character/CSegId.hpp" #include "Runtime/Character/CSegIdList.hpp" #include "Runtime/Character/TSegIdMap.hpp" #include <zeus/CVector3f.hpp> namespace...
26.403846
118
0.761107
[ "vector" ]
167e0fe02d4f666e59c34dca37416e47a6f65aa9
1,599
cc
C++
src/ui/a11y/tests/integration/semantic_tree_parser_test.cc
OpenTrustGroup/fuchsia
647e593ea661b8bf98dcad2096e20e8950b24a97
[ "BSD-3-Clause" ]
1
2019-04-21T18:02:26.000Z
2019-04-21T18:02:26.000Z
src/ui/a11y/tests/integration/semantic_tree_parser_test.cc
OpenTrustGroup/fuchsia
647e593ea661b8bf98dcad2096e20e8950b24a97
[ "BSD-3-Clause" ]
16
2020-09-04T19:01:11.000Z
2021-05-28T03:23:09.000Z
src/ui/a11y/tests/integration/semantic_tree_parser_test.cc
OpenTrustGroup/fuchsia
647e593ea661b8bf98dcad2096e20e8950b24a97
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2019 The Fuchsia Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "src/ui/a11y/tests/integration/semantic_tree_parser.h" #include <lib/gtest/test_loop_fixture.h> #include <src/lib/fxl/logging.h> #include <vecto...
34.76087
87
0.774859
[ "vector" ]
167e4e7861d49df2a30583c073fdc6825f198d06
336
cpp
C++
AtCoder_cpp/ABC146/a.cpp
RyoSci/vscode-remote-cpp
9a10b3ca840c7566887e8597e73f96560dc1d387
[ "MIT" ]
null
null
null
AtCoder_cpp/ABC146/a.cpp
RyoSci/vscode-remote-cpp
9a10b3ca840c7566887e8597e73f96560dc1d387
[ "MIT" ]
null
null
null
AtCoder_cpp/ABC146/a.cpp
RyoSci/vscode-remote-cpp
9a10b3ca840c7566887e8597e73f96560dc1d387
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main() { string s = ""; cin >> s; vector<string> weeks; weeks = {"SUN","MON","TUE","WED","THU","FRI","SAT"}; for (int i = 0; i < weeks.size(); i++) { if (weeks.at(i) == s) { cout << weeks.size() - i << endl; break; ...
21
56
0.4375
[ "vector" ]
16838575cfc861e8860942b453cb5e0efe11ccb3
7,229
cc
C++
common/network/components/router/router_model.cc
NoCModellingLab/Graphite
1b4bb98f5bfb96ca394b71e7ef3e9e500a1e3997
[ "MIT" ]
94
2015-02-21T09:44:03.000Z
2022-03-13T03:06:19.000Z
common/network/components/router/router_model.cc
NoCModellingLab/Graphite
1b4bb98f5bfb96ca394b71e7ef3e9e500a1e3997
[ "MIT" ]
null
null
null
common/network/components/router/router_model.cc
NoCModellingLab/Graphite
1b4bb98f5bfb96ca394b71e7ef3e9e500a1e3997
[ "MIT" ]
36
2015-01-09T16:48:18.000Z
2022-03-13T03:06:21.000Z
#include "router_model.h" #include "network_model.h" #include "network.h" #include "utils.h" #include "queue_model_history_list.h" #include "queue_model_history_tree.h" #include "log.h" #include "time_types.h" RouterModel::RouterModel(NetworkModel* model, double frequency, double voltage, SInt...
33.467593
119
0.712547
[ "vector", "model" ]
169303c7c9ea0f6e409ffb2dda27828e788806b5
4,970
hpp
C++
include/Trixy/Neuro/Serializer/PolynomialRegression.hpp
Sigma-Ryden/TrixyNet
32822be84b53785d390caa5d9f1fa19cbca5e990
[ "MIT" ]
null
null
null
include/Trixy/Neuro/Serializer/PolynomialRegression.hpp
Sigma-Ryden/TrixyNet
32822be84b53785d390caa5d9f1fa19cbca5e990
[ "MIT" ]
null
null
null
include/Trixy/Neuro/Serializer/PolynomialRegression.hpp
Sigma-Ryden/TrixyNet
32822be84b53785d390caa5d9f1fa19cbca5e990
[ "MIT" ]
null
null
null
#ifndef TRIXY_SERIALIZER_POLYNOMIAL_REGRESSION_HPP #define TRIXY_SERIALIZER_POLYNOMIAL_REGRESSION_HPP #include <cstdint> // int8_t, int16_t #include <Trixy/Neuro/Serializer/Base.hpp> #include <Trixy/Buffer/Core.hpp> #include <Trixy/Neuro/Detail/TrixyNetMeta.hpp> #include <Trixy/Detail/FunctionDetail.hpp> #include ...
30.121212
90
0.715091
[ "vector" ]
1698639516a8eda5dc7b1d5377ab3c11cb082f9a
14,264
cpp
C++
Samples/VirtualCamera/VirtualCameraTest/VCamUtils.cpp
microsoft/Windows-Camera
038580e7bebabc67aded3db5f80aa17159ab1c71
[ "MIT" ]
70
2019-07-05T18:01:10.000Z
2022-03-27T02:42:32.000Z
Samples/VirtualCamera/VirtualCameraTest/VCamUtils.cpp
QPC-database/Windows-Camera
b6b0b8ee7f312671b48589c28392322d978b803c
[ "MIT" ]
13
2019-05-16T02:52:02.000Z
2021-11-02T06:58:27.000Z
Samples/VirtualCamera/VirtualCameraTest/VCamUtils.cpp
QPC-database/Windows-Camera
b6b0b8ee7f312671b48589c28392322d978b803c
[ "MIT" ]
33
2019-05-23T01:05:21.000Z
2022-03-15T00:53:57.000Z
// // Copyright (C) Microsoft Corporation. All rights reserved. // #include "pch.h" #include "VCamUtils.h" #include "MediaCaptureUtils.h" const winrt::hstring _DEVPKEY_DeviceInterface_FriendlyName(L"{026e516e-b814-414b-83cd-856d6fef4822} 2"); const winrt::hstring _DEVPKEY_DeviceInterface_IsVirtualCamera(L"{6EDC630D-C...
38.241287
179
0.719223
[ "vector" ]
169be155eb6b9baf317558b3ac4e43c220de927e
3,965
hpp
C++
src/common/flat_containers/flat_multimap.hpp
criminalx/Source-X
7e656bb9edcbe78dd735feeb12a9ccff3b0f2fe3
[ "Apache-2.0" ]
40
2017-07-08T03:35:36.000Z
2022-02-16T06:03:58.000Z
src/common/flat_containers/flat_multimap.hpp
criminalx/Source-X
7e656bb9edcbe78dd735feeb12a9ccff3b0f2fe3
[ "Apache-2.0" ]
435
2020-01-20T12:50:15.000Z
2022-03-29T03:31:27.000Z
src/common/flat_containers/flat_multimap.hpp
criminalx/Source-X
7e656bb9edcbe78dd735feeb12a9ccff3b0f2fe3
[ "Apache-2.0" ]
47
2020-01-21T23:25:38.000Z
2022-03-24T21:54:32.000Z
// Copyright Pubby 2016 // Distributed under the Boost Software License, Version 1.0. // http://www.boost.org/LICENSE_1_0.txt #ifndef LIB_FLAT_FLAT_MULTIMAP_HPP #define LIB_FLAT_FLAT_MULTIMAP_HPP #include "impl/flat_impl.hpp" namespace fc { namespace impl { template<typename D, typename Key, typename Container, typ...
29.589552
114
0.683985
[ "vector" ]
169c7ac362b13beada5a7e35da43b2ba2e919981
2,926
cpp
C++
src/daemon/ops/metadentry.cpp
jeanbez/gekko-fwd
d62be5480224ea5116b513f38a3fa3ae7754f8a8
[ "MIT" ]
1
2022-02-01T01:01:28.000Z
2022-02-01T01:01:28.000Z
src/daemon/ops/metadentry.cpp
jeanbez/gekko-fwd
d62be5480224ea5116b513f38a3fa3ae7754f8a8
[ "MIT" ]
null
null
null
src/daemon/ops/metadentry.cpp
jeanbez/gekko-fwd
d62be5480224ea5116b513f38a3fa3ae7754f8a8
[ "MIT" ]
null
null
null
/* Copyright 2018-2020, Barcelona Supercomputing Center (BSC), Spain Copyright 2015-2020, Johannes Gutenberg Universitaet Mainz, Germany This software was partially supported by the EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). This software was partially supported by the ADA-F...
25.666667
106
0.681135
[ "object", "vector" ]
16a04cd25915e90d2339deb1f4c1660a32dd4f80
808
hpp
C++
Myfunctions.hpp
wangziyinx/Stream-Clustering-with-Dynamic-Estimation-of-Emerging-Local-Densities_cpp
818774665488a5958e8bb68e51efb0376efd8ac1
[ "AFL-2.1" ]
1
2019-10-12T17:19:35.000Z
2019-10-12T17:19:35.000Z
Myfunctions.hpp
wangziyinx/Stream-Clustering-with-Dynamic-Estimation-of-Emerging-Local-Densities_cpp
818774665488a5958e8bb68e51efb0376efd8ac1
[ "AFL-2.1" ]
null
null
null
Myfunctions.hpp
wangziyinx/Stream-Clustering-with-Dynamic-Estimation-of-Emerging-Local-Densities_cpp
818774665488a5958e8bb68e51efb0376efd8ac1
[ "AFL-2.1" ]
1
2021-10-31T09:33:21.000Z
2021-10-31T09:33:21.000Z
// // Myfunctions.hpp // Clustering001 // // Created by Wang Ziyin on 5/28/18. // Copyright © 2018 Wang Ziyin. All rights reserved. // #ifndef Myfunctions_hpp #define Myfunctions_hpp #include <stdio.h> #include <vector> #include <iostream> #include <fstream> #include <string> #include <math.h> #include <sys/types...
20.2
69
0.714109
[ "vector" ]
16b3ecdeb1357a4f0eb55e0ff751dc5ec25304c7
342
cpp
C++
LeetCode/problems/Rotate Array/main.cpp
object-oriented-human/competitive
9e761020e887d8980a39a64eeaeaa39af0ecd777
[ "MIT" ]
1
2022-02-21T15:43:01.000Z
2022-02-21T15:43:01.000Z
LeetCode/problems/Rotate Array/main.cpp
foooop/competitive
9e761020e887d8980a39a64eeaeaa39af0ecd777
[ "MIT" ]
null
null
null
LeetCode/problems/Rotate Array/main.cpp
foooop/competitive
9e761020e887d8980a39a64eeaeaa39af0ecd777
[ "MIT" ]
null
null
null
class Solution { public: void rotate(vector<int>& nums, int k) { k %= nums.size(); vector<int> V; for (int i = nums.size()-k; i < nums.size(); i++) { V.push_back(nums[i]); } for (int i = 0; i < nums.size()-k; i++) { V.push_back(nums[i]); } ...
24.428571
59
0.423977
[ "vector" ]
16b4ca711c52f64f31a4b148b07e9ef6c942320a
5,980
cpp
C++
emdconv.cpp
afiskon/cpp-opengl-models
6e8707cf82d01bf13abf8cc5a88e286ec35087c5
[ "MIT" ]
8
2015-12-15T00:36:02.000Z
2021-06-16T10:30:54.000Z
emdconv.cpp
afiskon/cpp-opengl-models
6e8707cf82d01bf13abf8cc5a88e286ec35087c5
[ "MIT" ]
null
null
null
emdconv.cpp
afiskon/cpp-opengl-models
6e8707cf82d01bf13abf8cc5a88e286ec35087c5
[ "MIT" ]
3
2017-09-30T19:12:43.000Z
2021-06-15T19:11:23.000Z
#include <GLXW/glxw.h> #include <iostream> #include <vector> #include <defer.h> #include "../assimp/include/assimp/Importer.hpp" #include "../assimp/include/assimp/postprocess.h" #include "../assimp/include/assimp/scene.h" #include "utils/models.h" GLfloat* importedModelCreate(const char* fname, unsigned int meshNumb...
36.463415
160
0.668562
[ "mesh", "vector", "model" ]
16bea5f7dd609ced0df5baac14e86af35a2ca24e
1,739
cpp
C++
HDRFusion/Tensor.cpp
Luke092/HDRFusion
7a0fa14d0b93a55744e6a0bab64bc833e22fa859
[ "MIT" ]
2
2018-08-13T10:37:36.000Z
2019-06-17T13:29:09.000Z
HDRFusion/Tensor.cpp
Luke092/HDRFusion
7a0fa14d0b93a55744e6a0bab64bc833e22fa859
[ "MIT" ]
null
null
null
HDRFusion/Tensor.cpp
Luke092/HDRFusion
7a0fa14d0b93a55744e6a0bab64bc833e22fa859
[ "MIT" ]
null
null
null
/* * Tensor.cpp * * Created on: 25 lug 2017 * Author: gianmaria */ #include "Tensor.h" template<typename T> int sgn(T val) { return (T(0) < val) - (val < T(0)); } Tensor::Tensor(vector<Derivate> I, int x, int y) { this->x = x; this->y = y; this->Ix = 0; this->Iy = 0; for(unsigned int i = 0; i < I....
17.04902
88
0.519839
[ "vector" ]
16c0294c5a42d76425c4fbec92f5f61803a2814e
11,528
cpp
C++
beast/beast.cpp
dvorka/naaga
dce26f9803816befd3185bec3ea43ecfe3ffcaad
[ "Apache-2.0" ]
1
2015-04-06T17:49:02.000Z
2015-04-06T17:49:02.000Z
beast/beast.cpp
dvorka/naaga
dce26f9803816befd3185bec3ea43ecfe3ffcaad
[ "Apache-2.0" ]
null
null
null
beast/beast.cpp
dvorka/naaga
dce26f9803816befd3185bec3ea43ecfe3ffcaad
[ "Apache-2.0" ]
null
null
null
//---------------------------------------------------------------------------------- // // Beasts // // Dvorka // 1998 // //---------------------------------------------------------------------------------- #in...
23.966736
128
0.503383
[ "object", "vector" ]
16c1edf9927e0d1f6c034d3e4d4eebbda97b87ca
12,026
cpp
C++
src/solvers/gecode/models/completemodel.cpp
castor-software/unison
9f8caf78230f956a57b50a327f8d1dca5839bf64
[ "BSD-3-Clause" ]
88
2016-09-27T15:20:07.000Z
2022-03-24T15:23:06.000Z
src/solvers/gecode/models/completemodel.cpp
castor-software/unison
9f8caf78230f956a57b50a327f8d1dca5839bf64
[ "BSD-3-Clause" ]
55
2017-02-14T15:21:03.000Z
2021-09-11T11:12:25.000Z
src/solvers/gecode/models/completemodel.cpp
castor-software/unison
9f8caf78230f956a57b50a327f8d1dca5839bf64
[ "BSD-3-Clause" ]
10
2016-11-22T15:03:46.000Z
2020-07-13T21:34:31.000Z
/* * Main authors: * Roberto Castaneda Lozano <rcas@acm.org> * * Contributing authors: * Mats Carlsson <mats.carlsson@ri.se> * * This file is part of Unison, see http://unison-code.github.io * * Copyright (c) 2016, RISE SICS AB * All rights reserved. * * Redistribution and use in source and bina...
31.074935
85
0.653168
[ "vector", "model" ]
16c67bb613cf329d32ba944db317da8ac7e76437
968
cpp
C++
STL/iterator/reverse_iterator_1.cpp
liangjisheng/C-Cpp
8b33ba1f43580a7bdded8bb4ce3d92983ccedb81
[ "MIT" ]
5
2019-09-17T09:12:15.000Z
2021-05-29T10:54:39.000Z
STL/iterator/reverse_iterator_1.cpp
liangjisheng/C-Cpp
8b33ba1f43580a7bdded8bb4ce3d92983ccedb81
[ "MIT" ]
null
null
null
STL/iterator/reverse_iterator_1.cpp
liangjisheng/C-Cpp
8b33ba1f43580a7bdded8bb4ce3d92983ccedb81
[ "MIT" ]
2
2021-07-26T06:36:12.000Z
2022-01-23T15:20:30.000Z
#include <iostream> #include <iterator> #include <vector> #include <algorithm> using namespace std; // forward_list和无序关联容器不能用reverse_iterator // 反向遍历,rbegin()返回指向容器中最后一个元素的 // reverse_iterator, rend()返回指向容器中第一个元素之前的元素 // reverse_iterator.base()总是引用被调用reverse_iterator // 引用的元素的最后一个元素 int main() { vector<int> vec...
24.820513
74
0.576446
[ "vector" ]
16cdf8a9bec7d11db00641453288fd2b789de96a
14,630
cpp
C++
pio_parent/lib/EspMeshWrapper/mesh_app.cpp
ESP32Home/esp32_mesh
edb4ac481eb9e4998bec03fefa86f83040d31298
[ "CC0-1.0" ]
2
2020-11-19T19:34:14.000Z
2021-09-17T04:53:09.000Z
pio_parent/lib/EspMeshWrapper/mesh_app.cpp
ESP32Home/esp32_mesh
edb4ac481eb9e4998bec03fefa86f83040d31298
[ "CC0-1.0" ]
null
null
null
pio_parent/lib/EspMeshWrapper/mesh_app.cpp
ESP32Home/esp32_mesh
edb4ac481eb9e4998bec03fefa86f83040d31298
[ "CC0-1.0" ]
null
null
null
#include "mesh_app.h" #include "esp_wifi.h" #include "esp_system.h" #include "esp_event_loop.h" #include "esp_log.h" #include "esp_mesh.h" #include "esp_mesh_internal.h" #define RX_SIZE (1500) #define TX_SIZE (1460) #define CONFIG_MESH_ROUTE_TABLE_SIZE_MAX 50 static bool is_mesh_connected = false; ...
36.30273
133
0.648462
[ "mesh" ]
16ce94fd97d602fbc69544e5c88fb985956e5be3
2,930
cc
C++
src/test/recordmanager.cc
zmj1316/MiniSQL
2fc6d2b81fef7de2cc3216897e654d148a6b7d32
[ "MIT" ]
null
null
null
src/test/recordmanager.cc
zmj1316/MiniSQL
2fc6d2b81fef7de2cc3216897e654d148a6b7d32
[ "MIT" ]
null
null
null
src/test/recordmanager.cc
zmj1316/MiniSQL
2fc6d2b81fef7de2cc3216897e654d148a6b7d32
[ "MIT" ]
null
null
null
#include "recordmanager.h" #include "buffer.h" #include <memory.h> static record binary2record(table* tb, u8* bin) { record result; /* Check validity */ if ((*bin) == 0xFF) // 0xFF invalid { result.valid = false; return result; } bin++;// move ptr result.valid = true; for...
29.897959
127
0.517065
[ "vector" ]
16d1746d0844ac012c86d53c742326876f841ae7
3,770
hh
C++
src/mesh/Mesh_Algorithms.hh
fmyuan/amanzi
edb7b815ae6c22956c8519acb9d87b92a9915ed4
[ "RSA-MD" ]
37
2017-04-26T16:27:07.000Z
2022-03-01T07:38:57.000Z
src/mesh/Mesh_Algorithms.hh
fmyuan/amanzi
edb7b815ae6c22956c8519acb9d87b92a9915ed4
[ "RSA-MD" ]
494
2016-09-14T02:31:13.000Z
2022-03-13T18:57:05.000Z
src/mesh/Mesh_Algorithms.hh
fmyuan/amanzi
edb7b815ae6c22956c8519acb9d87b92a9915ed4
[ "RSA-MD" ]
43
2016-09-26T17:58:40.000Z
2022-03-25T02:29:59.000Z
// // Mesh // // Copyright 2010-201x held jointly by LANL, ORNL, LBNL, and PNNL. // Amanzi is released under the three-clause BSD License. // The terms of use and "as is" disclaimer for this license are // provided in the top-level COPYRIGHT file. // // Helper functions for Mesh operations and algorithms // #pragma onc...
44.880952
85
0.449072
[ "mesh", "vector" ]
16db0446611d0e018b41460dc535721c0bd12876
1,658
cpp
C++
src/+cv/logPolar.cpp
1123852253/mexopencv
17db690133299f561924a45e9092673a4df66c5b
[ "BSD-3-Clause" ]
571
2015-01-04T06:23:19.000Z
2022-03-31T07:37:19.000Z
src/+cv/logPolar.cpp
1123852253/mexopencv
17db690133299f561924a45e9092673a4df66c5b
[ "BSD-3-Clause" ]
362
2015-01-06T14:20:46.000Z
2022-01-20T08:10:46.000Z
src/+cv/logPolar.cpp
1123852253/mexopencv
17db690133299f561924a45e9092673a4df66c5b
[ "BSD-3-Clause" ]
300
2015-01-20T03:21:27.000Z
2022-03-31T07:36:37.000Z
/** * @file logPolar.cpp * @brief mex interface for cv::logPolar * @ingroup imgproc * @author Amro * @date 2015 */ #include "mexopencv.hpp" #include "opencv2/imgproc.hpp" using namespace std; using namespace cv; /** * Main entry called from Matlab * @param nlhs number of left-hand-side arguments * @param plhs...
30.145455
76
0.609771
[ "vector" ]
16e287e77468e194fb2c2bbd46734a06665044bd
198
hpp
C++
waveform/wave.hpp
WatorVapor/move.wator
406a10d259fdfd251fe0d159c95aecd16c4c23ce
[ "MIT" ]
null
null
null
waveform/wave.hpp
WatorVapor/move.wator
406a10d259fdfd251fe0d159c95aecd16c4c23ce
[ "MIT" ]
null
null
null
waveform/wave.hpp
WatorVapor/move.wator
406a10d259fdfd251fe0d159c95aecd16c4c23ce
[ "MIT" ]
1
2020-08-17T13:02:19.000Z
2020-08-17T13:02:19.000Z
#include <string> #include <vector> #include <deque> using namespace std; vector<vector<int16_t>> readWave(const string &path); void writeWave(const string &path,const deque<deque<int16_t>> &data);
28.285714
69
0.762626
[ "vector" ]
16ea41b64d65f3408ba296e6fd191aefb5c5735b
4,269
cc
C++
third_party/blink/renderer/core/html/html_plugin_element_test.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
14,668
2015-01-01T01:57:10.000Z
2022-03-31T23:33:32.000Z
third_party/blink/renderer/core/html/html_plugin_element_test.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
113
2015-05-04T09:58:14.000Z
2022-01-31T19:35:03.000Z
third_party/blink/renderer/core/html/html_plugin_element_test.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
5,941
2015-01-02T11:32:21.000Z
2022-03-31T16:35:46.000Z
// Copyright 2019 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "third_party/blink/renderer/core/html/html_plugin_element.h" #include "testing/gtest/include/gtest/gtest.h" #include "third_party/blink/public/w...
31.389706
79
0.698993
[ "object", "vector" ]
16ed6da982b628fa864fb209babf6d0bb3566360
7,227
cpp
C++
velocity-engine/VESceneGraph.cpp
davedissian/archive
a28072a70d7dc3bb88e9a268aea99667f656c100
[ "MIT" ]
null
null
null
velocity-engine/VESceneGraph.cpp
davedissian/archive
a28072a70d7dc3bb88e9a268aea99667f656c100
[ "MIT" ]
null
null
null
velocity-engine/VESceneGraph.cpp
davedissian/archive
a28072a70d7dc3bb88e9a268aea99667f656c100
[ "MIT" ]
null
null
null
/* Velocity Engine By SerialVelocity */ #include "VE.hpp" using namespace VE; // Scene Node SceneNode::SceneNode( bool addToSceneGraph, int nodeType ) { // Set all members to default values mReady = false; mSceneGraph = gEngine->getGraphics()->getSceneGraph(); mNodeType = nodeType; // Trigger an event to add t...
20.648571
163
0.700706
[ "mesh", "render", "transform" ]
a84b1d4efa53a0d24a8d1f2a7ba01b98f8f0abe9
8,243
cc
C++
apps/mnist-conv.cc
avdmitry/graphmodels
1b4f4e50033350b5a7492752cab8879aeff8f722
[ "MIT" ]
1
2018-09-22T04:02:28.000Z
2018-09-22T04:02:28.000Z
apps/mnist-conv.cc
avdmitry/graphmodels
1b4f4e50033350b5a7492752cab8879aeff8f722
[ "MIT" ]
null
null
null
apps/mnist-conv.cc
avdmitry/graphmodels
1b4f4e50033350b5a7492752cab8879aeff8f722
[ "MIT" ]
null
null
null
#include "utils.h" #include "layers.h" #include "learn.h" #include "datasets/mnist.h" using std::string; using std::vector; using std::shared_ptr; // bs_1: 3.333 epoch| cost: 0.022| test acc: 0.990 // bs_10: 4.667 epoch| cost: 0.004| test acc: 0.990 class CnnNet : public Model { public: CnnNet(int num_input_x, in...
27.294702
80
0.596991
[ "vector", "model" ]
a85ac65089a6c5857df10632f515d5520d6aa5cd
180
cc
C++
ccap/addon/hcaptha.cc
1353619565/online-q-a-system
598fe885ec18d6b7d7eae27bd3f60f49afc5803b
[ "MIT" ]
459
2015-01-04T13:14:19.000Z
2021-12-18T14:47:10.000Z
ccap/addon/hcaptha.cc
1353619565/online-q-a-system
598fe885ec18d6b7d7eae27bd3f60f49afc5803b
[ "MIT" ]
71
2015-01-14T07:48:09.000Z
2019-07-26T01:34:01.000Z
ccap/addon/hcaptha.cc
1353619565/online-q-a-system
598fe885ec18d6b7d7eae27bd3f60f49afc5803b
[ "MIT" ]
91
2015-01-02T08:01:26.000Z
2022-02-12T03:58:23.000Z
#include <node.h> #include "cap.h" using namespace v8; void Init(Local<Object> target) { //hcap NODE_SET_METHOD(target, "create", cap::create); } NODE_MODULE(hcaptha, Init)
12.857143
49
0.7
[ "object" ]
a85b813bc9d4fd6b23160f2e35f10665abf96fc7
181,216
cpp
C++
mlir_graphblas/src/lib/GraphBLAS/GraphBLASLowerPass.cpp
vishalbelsare/mlir-graphblas
ae9e5bd97ad63f0182230dbcde2a205b4086e607
[ "Apache-2.0", "MIT" ]
null
null
null
mlir_graphblas/src/lib/GraphBLAS/GraphBLASLowerPass.cpp
vishalbelsare/mlir-graphblas
ae9e5bd97ad63f0182230dbcde2a205b4086e607
[ "Apache-2.0", "MIT" ]
null
null
null
mlir_graphblas/src/lib/GraphBLAS/GraphBLASLowerPass.cpp
vishalbelsare/mlir-graphblas
ae9e5bd97ad63f0182230dbcde2a205b4086e607
[ "Apache-2.0", "MIT" ]
null
null
null
//===- GraphBLASPasses.cpp - GraphBLAS dialect passes ---------*- C++ -*-===// // // TODO add documentation // //===--------------------------------------------------------------------===// #include "mlir/Dialect/Bufferization/IR/Bufferization.h" #include "mlir/Dialect/LLVMIR/LLVMDialect.h" #include "mlir/Dialect/Linal...
40.989821
80
0.652056
[ "shape", "vector" ]
a85d031b38645dbe39cd30e96514963109a94a49
11,515
cpp
C++
src/ClientData/CallstackData.cpp
dimitry-/orbit
fdbcde3783a6b65deabaebfb5c164e58a1513831
[ "BSD-2-Clause" ]
null
null
null
src/ClientData/CallstackData.cpp
dimitry-/orbit
fdbcde3783a6b65deabaebfb5c164e58a1513831
[ "BSD-2-Clause" ]
null
null
null
src/ClientData/CallstackData.cpp
dimitry-/orbit
fdbcde3783a6b65deabaebfb5c164e58a1513831
[ "BSD-2-Clause" ]
null
null
null
// Copyright (c) 2020 The Orbit Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ClientData/CallstackData.h" #include <absl/container/flat_hash_map.h> #include <absl/container/flat_hash_set.h> #include <cstdint> #include <...
38.129139
100
0.731307
[ "vector" ]
a85e4f4cd23e3a9977e24ef6012c154f7cb927a0
536
cpp
C++
custom_opengl_wrapper/custom_opengl_wrapper/FBOManager.cpp
mallocc/custom_opengl_wrapper
2384615c624b32947ae198af0cb5fb5f4371ffe2
[ "MIT" ]
null
null
null
custom_opengl_wrapper/custom_opengl_wrapper/FBOManager.cpp
mallocc/custom_opengl_wrapper
2384615c624b32947ae198af0cb5fb5f4371ffe2
[ "MIT" ]
null
null
null
custom_opengl_wrapper/custom_opengl_wrapper/FBOManager.cpp
mallocc/custom_opengl_wrapper
2384615c624b32947ae198af0cb5fb5f4371ffe2
[ "MIT" ]
null
null
null
#include "FBOManager.h" #include "Mesh.h" using gfx::engine::FBOManager; // constructor FBOManager::FBOManager() {} // Add an FBO to the list and returns its FBOID gfx::engine::FBOID FBOManager::addFBO(glm::vec2 size, gfx::engine::Mesh * render_mesh) { gfx::engine::FBO fbo = gfx::engine::FBO(size); fbo.set_render_...
24.363636
86
0.705224
[ "mesh" ]
a869fac1deaa3f86f4a4050bee558a7d04d0e09f
7,574
cpp
C++
src/BvhTriangleMeshShape.cpp
yoshinoToylogic/bulletsharp
79558f9e78b68f1d218d64234645848661a54e01
[ "MIT" ]
null
null
null
src/BvhTriangleMeshShape.cpp
yoshinoToylogic/bulletsharp
79558f9e78b68f1d218d64234645848661a54e01
[ "MIT" ]
null
null
null
src/BvhTriangleMeshShape.cpp
yoshinoToylogic/bulletsharp
79558f9e78b68f1d218d64234645848661a54e01
[ "MIT" ]
null
null
null
#include "StdAfx.h" #include "BvhTriangleMeshShape.h" #include "StridingMeshInterface.h" #include "TriangleCallback.h" #include "TriangleInfoMap.h" #ifndef DISABLE_BVH #include "OptimizedBvh.h" #endif #ifndef DISABLE_SERIALIZE #include "Serializer.h" #endif #define Native static_cast<btBvhTriangleMeshSha...
31.168724
115
0.79258
[ "shape" ]
a86f7d74b127a0beb43eb3614e6e299b56708796
577
cpp
C++
Private/TPHUD.cpp
deg3x/ThirdPersonCombatSystem
fa8a242ce45d45e800c960b233db24585548cb0f
[ "MIT" ]
1
2021-11-08T11:47:28.000Z
2021-11-08T11:47:28.000Z
Private/TPHUD.cpp
deg3x/ThirdPersonCombatSystem
fa8a242ce45d45e800c960b233db24585548cb0f
[ "MIT" ]
null
null
null
Private/TPHUD.cpp
deg3x/ThirdPersonCombatSystem
fa8a242ce45d45e800c960b233db24585548cb0f
[ "MIT" ]
null
null
null
// Fill out your copyright notice in the Description page of Project Settings. #include "TPHUD.h" #include "UObject/ConstructorHelpers.h" #include "Blueprint/UserWidget.h" ATPHUD::ATPHUD() { /*static ConstructorHelpers::FObjectFinder<UUserWidget> PrimaryUI(TEXT("/Game/UI/WB_PlayerHealth.WB_PlayerHealth")); PlayerP...
18.612903
117
0.724437
[ "object" ]
a872e1c3987b0b0872905fd012f8a2ecc91eb55d
2,411
cpp
C++
game/LevelChunk.cpp
kolyden/engine
cab1881a8493b591a136a5ce3d502e704fdea7bf
[ "Unlicense" ]
null
null
null
game/LevelChunk.cpp
kolyden/engine
cab1881a8493b591a136a5ce3d502e704fdea7bf
[ "Unlicense" ]
null
null
null
game/LevelChunk.cpp
kolyden/engine
cab1881a8493b591a136a5ce3d502e704fdea7bf
[ "Unlicense" ]
null
null
null
#include "LevelChunk.h" #include "Level.h" #include "video/uutModel.h" namespace uut { LevelChunk::LevelChunk(Context* context) : Object(context) , _index(0, 0) , _cells(0) , _position(0,0,0) { } LevelChunk::~LevelChunk() { delete[] _cells; } void LevelChunk::Init(Level* level, co...
23.637255
77
0.543758
[ "object" ]
a87b9d0afb596e7f2d63d087ba6126fda1500d1a
1,385
cpp
C++
mains/ch1.cpp
andleb/derivatives
f9449b278a60b7d209ca9914b67751ff034aaf78
[ "MIT" ]
6
2020-03-22T16:24:49.000Z
2021-09-14T13:40:12.000Z
mains/ch1.cpp
andleb/derivatives
f9449b278a60b7d209ca9914b67751ff034aaf78
[ "MIT" ]
null
null
null
mains/ch1.cpp
andleb/derivatives
f9449b278a60b7d209ca9914b67751ff034aaf78
[ "MIT" ]
2
2021-05-02T17:06:38.000Z
2021-10-14T14:57:41.000Z
/** \file ch1.cpp * \author Andrej Leban * \date 11/2018 * * Chapter 1. A simple Monte Carlo model */ #include <cmath> #include <iostream> #include <sstream> #include "../src/derivatives.h" double payoff(double p_spot, double p_strike) { return std::max<double>((p_spot - p_strike), 0); } double simSpot(double ...
24.298246
121
0.560289
[ "model" ]
a886b89818683e28af4f5383ed34097883cab28d
5,228
cpp
C++
engine/test/gtest/test_one_hot_op.cpp
alexsu52/neural-compressor
7607ee46a015ee83a5e79dace8535a439d49cc8c
[ "Apache-2.0" ]
null
null
null
engine/test/gtest/test_one_hot_op.cpp
alexsu52/neural-compressor
7607ee46a015ee83a5e79dace8535a439d49cc8c
[ "Apache-2.0" ]
null
null
null
engine/test/gtest/test_one_hot_op.cpp
alexsu52/neural-compressor
7607ee46a015ee83a5e79dace8535a439d49cc8c
[ "Apache-2.0" ]
null
null
null
// Copyright (c) 2021 Intel Corporation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or...
35.564626
99
0.688791
[ "shape", "vector" ]
a88758393642747cfe418e5b452a2b3855493596
3,059
cpp
C++
numbers/sieve_of_eratosthenes.cpp
rressi/exercises
b3d19f73361c3b1286d39d9f05d24cd1ebb3f034
[ "MIT" ]
null
null
null
numbers/sieve_of_eratosthenes.cpp
rressi/exercises
b3d19f73361c3b1286d39d9f05d24cd1ebb3f034
[ "MIT" ]
1
2022-01-02T14:58:03.000Z
2022-01-02T14:58:03.000Z
numbers/sieve_of_eratosthenes.cpp
rressi/exercises
b3d19f73361c3b1286d39d9f05d24cd1ebb3f034
[ "MIT" ]
null
null
null
#include "sieve_of_eratosthenes.h" #include <cassert> #include <cmath> #include <future> #include <thread> #include <valarray> namespace numbers { namespace { auto getNumberOfCpus() -> unsigned { return std::thread::hardware_concurrency(); } auto findPrimeNumbersSequentially(Number maxNumber) -> std::vector<Numb...
26.833333
78
0.673096
[ "vector" ]
a887fca9a173f65aed82932fbe9fea9b89c1f2cb
1,857
hxx
C++
opencascade/Adaptor3d_HVertex.hxx
mgreminger/OCP
92eacb99497cd52b419c8a4a8ab0abab2330ed42
[ "Apache-2.0" ]
null
null
null
opencascade/Adaptor3d_HVertex.hxx
mgreminger/OCP
92eacb99497cd52b419c8a4a8ab0abab2330ed42
[ "Apache-2.0" ]
null
null
null
opencascade/Adaptor3d_HVertex.hxx
mgreminger/OCP
92eacb99497cd52b419c8a4a8ab0abab2330ed42
[ "Apache-2.0" ]
null
null
null
// Created on: 1994-03-25 // Created by: model // Copyright (c) 1994-1999 Matra Datavision // Copyright (c) 1999-2014 OPEN CASCADE SAS // // This file is part of Open CASCADE Technology software library. // // This library is free software; you can redistribute it and/or modify it under // the terms of the GNU Lesser G...
24.116883
117
0.788368
[ "model" ]
a8893b89ba1847cd6f6e93a4610f35660ffff719
25,911
cc
C++
paragraph/translation/allgather/mesh_2d_allgather_translator_test.cc
paragraph-sim/paragraph-core
0d0f9e76c474f5ed08ec5c1f7acc672444270727
[ "Apache-2.0" ]
null
null
null
paragraph/translation/allgather/mesh_2d_allgather_translator_test.cc
paragraph-sim/paragraph-core
0d0f9e76c474f5ed08ec5c1f7acc672444270727
[ "Apache-2.0" ]
1
2021-11-23T17:17:57.000Z
2021-11-23T17:17:57.000Z
paragraph/translation/allgather/mesh_2d_allgather_translator_test.cc
paragraph-sim/paragraph-core
0d0f9e76c474f5ed08ec5c1f7acc672444270727
[ "Apache-2.0" ]
null
null
null
/* Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
27.131937
99
0.607039
[ "mesh" ]
a893d3b7ca5f9dbdf97b510dd9efe34fe8026757
2,253
cpp
C++
codeforces/F - Two Pizzas/Accepted.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
1
2022-02-11T16:55:36.000Z
2022-02-11T16:55:36.000Z
codeforces/F - Two Pizzas/Accepted.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
codeforces/F - Two Pizzas/Accepted.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
/**************************************************************************************** * @author: kzvd4729 created: Jul/15/2020 21:20 * solution_verdict: Accepted language: GNU C++17 * run...
28.1625
111
0.452286
[ "vector" ]
a893d768341ca7c2e826c35ef2476ebbfc165782
1,014
cc
C++
leetcode/162_find_peak_element.cc
norlanliu/algorithm
1684db2631f259b4de567164b3ee866351e5b1b6
[ "MIT" ]
null
null
null
leetcode/162_find_peak_element.cc
norlanliu/algorithm
1684db2631f259b4de567164b3ee866351e5b1b6
[ "MIT" ]
null
null
null
leetcode/162_find_peak_element.cc
norlanliu/algorithm
1684db2631f259b4de567164b3ee866351e5b1b6
[ "MIT" ]
null
null
null
/* * ===================================================================================== * * Filename: 162_find_peak_element.cc * * Description: * * Version: 1.0 * Created: 07/19/2015 09:39:01 PM * Revision: none * Compiler: gcc * * Author: (Qi Liu), liu...
21.574468
88
0.470414
[ "vector" ]
a8a0256d9c8a21d41230bdf38906c2dbda89a516
5,238
cpp
C++
src/unity/toolkits/text/perplexity.cpp
shreyasvj25/turicreate
32e84ca16aef8d04aff3d49ae9984bd49326bffd
[ "BSD-3-Clause" ]
1
2018-12-15T20:03:51.000Z
2018-12-15T20:03:51.000Z
src/unity/toolkits/text/perplexity.cpp
shreyasvj25/turicreate
32e84ca16aef8d04aff3d49ae9984bd49326bffd
[ "BSD-3-Clause" ]
1
2018-12-11T10:37:10.000Z
2018-12-11T10:37:10.000Z
src/unity/toolkits/text/perplexity.cpp
shreyasvj25/turicreate
32e84ca16aef8d04aff3d49ae9984bd49326bffd
[ "BSD-3-Clause" ]
1
2019-01-12T01:07:34.000Z
2019-01-12T01:07:34.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 <fstream> #include <algorithm> #include <iostream> #include <cmath> #include <parallel/pthr...
36.124138
89
0.649294
[ "object", "vector", "model" ]
a8acb5e2f967af533c3cbb3437d22b02593a0123
1,121
cpp
C++
Node.cpp
hit-joseph/BattRAE
04124138a5fdfd0f159b5480321648f8e63e5d73
[ "BSD-3-Clause" ]
9
2018-02-06T20:57:07.000Z
2022-02-04T16:22:32.000Z
Node.cpp
hit-joseph/BattRAE
04124138a5fdfd0f159b5480321648f8e63e5d73
[ "BSD-3-Clause" ]
2
2018-12-16T13:36:28.000Z
2020-06-26T14:14:45.000Z
Node.cpp
hit-joseph/BattRAE
04124138a5fdfd0f159b5480321648f8e63e5d73
[ "BSD-3-Clause" ]
3
2017-06-15T01:01:34.000Z
2018-12-10T02:32:27.000Z
#include "Node.h" Node::Node(lbfgsfloatval_t* vector, int dim, bool isLeaf){ this -> isLeaf = isLeaf; this -> dim = dim; this -> id = OOV; this -> lChild = NULL; this -> rChild = NULL; this -> is_root = false; this -> span.first = 0, this -> span.second = 0; // initial [0,0] //{ allocate memory __LBFGSALLO...
23.851064
66
0.664585
[ "vector" ]
a8b1fc2a8909efb87fd54734c31a0409ccec60d2
3,564
cpp
C++
source/platform/sdl/input_sdl.cpp
ZopharsDomain/GAMEBOYC-3DS-GameYob
48723b5f7c8300ff6eb6bff441cc0527c7c65671
[ "MIT" ]
2
2022-01-19T09:57:43.000Z
2022-01-19T09:57:53.000Z
source/platform/sdl/input_sdl.cpp
ZopharsDomain/GAMEBOYC-3DS-GameYob
48723b5f7c8300ff6eb6bff441cc0527c7c65671
[ "MIT" ]
null
null
null
source/platform/sdl/input_sdl.cpp
ZopharsDomain/GAMEBOYC-3DS-GameYob
48723b5f7c8300ff6eb6bff441cc0527c7c65671
[ "MIT" ]
null
null
null
#ifdef BACKEND_SDL #include <string.h> #include <vector> #include "platform/common/config.h" #include "platform/input.h" #include <SDL2/SDL_events.h> static KeyConfig defaultKeyConfig = { "Main", {FUNC_KEY_NONE} }; static std::vector<int> bindings[NUM_FUNC_KEYS]; static bool pressed[NUM_FUNC_KEYS...
27.84375
144
0.691639
[ "vector" ]
a8b5da3f5934b3d1dc2dd298c58d1cadbaa56a23
237,144
cc
C++
src/parser/pregenerated/ugrammar.cc
jcbaillie/urbi
fb17359b2838cdf8d3c0858abb141e167a9d4bdb
[ "BSD-3-Clause" ]
16
2016-05-10T05:50:58.000Z
2021-10-05T22:16:13.000Z
src/parser/pregenerated/ugrammar.cc
jcbaillie/urbi
fb17359b2838cdf8d3c0858abb141e167a9d4bdb
[ "BSD-3-Clause" ]
7
2016-09-05T10:08:33.000Z
2019-02-13T10:51:07.000Z
src/parser/pregenerated/ugrammar.cc
jcbaillie/urbi
fb17359b2838cdf8d3c0858abb141e167a9d4bdb
[ "BSD-3-Clause" ]
4
2017-03-30T14:13:58.000Z
2022-01-22T13:13:07.000Z
// A Bison parser, made by GNU Bison 3.1. // Skeleton implementation for Bison LALR(1) parsers in C++ // Copyright (C) 2002-2015, 2018 Free Software Foundation, Inc. // 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 ...
48.229408
329
0.587613
[ "object", "vector" ]
a8b5e5cf3da563aa16fc190968e32c89cfd0a52a
1,292
cpp
C++
applications/src/TestJSM.cpp
Sebanisu/VIIIcppTest
59565ae2d32ea302401402544a70d3b37fab7351
[ "MIT" ]
2
2020-04-30T22:12:06.000Z
2020-05-01T07:06:26.000Z
applications/src/TestJSM.cpp
Sebanisu/VIIIcppTest
59565ae2d32ea302401402544a70d3b37fab7351
[ "MIT" ]
9
2020-04-26T01:52:21.000Z
2020-05-20T21:10:28.000Z
applications/src/TestJSM.cpp
Sebanisu/VIIIcppTest
59565ae2d32ea302401402544a70d3b37fab7351
[ "MIT" ]
null
null
null
// // Created by pcvii on 1/18/2021. // #include "TestJSM.hpp" #include "open_viii/archive/Archives.hpp" #include "open_viii/field/scripts/Jsm.hpp" #include "open_viii/paths/Paths.hpp" int main() { const auto start = std::chrono::steady_clock::now(); open_viii::Paths::for_each_path([](const std::filesystem::path ...
35.888889
79
0.598297
[ "vector" ]
a8b9e6be84a34528c44fb1c98f94ee8cdd57e8d3
3,885
hpp
C++
source/util/AllocatorPointer.hpp
Xett/gba-modern
8b74fcf78d49c156dc4ffa6c4adba8fd812004dd
[ "MIT" ]
70
2019-08-10T05:44:02.000Z
2022-02-19T10:19:14.000Z
source/util/AllocatorPointer.hpp
Xett/gba-modern
8b74fcf78d49c156dc4ffa6c4adba8fd812004dd
[ "MIT" ]
2
2020-11-26T06:25:21.000Z
2020-12-03T13:34:46.000Z
source/util/AllocatorPointer.hpp
Xett/gba-modern
8b74fcf78d49c156dc4ffa6c4adba8fd812004dd
[ "MIT" ]
4
2020-04-12T04:08:40.000Z
2020-11-17T19:32:03.000Z
//-------------------------------------------------------------------------------- // AllocatorPointer.hpp //-------------------------------------------------------------------------------- // RAII wrapper over any object that implements a simple allocator pattern //-----------------------------------------------------...
30.833333
108
0.490347
[ "object" ]
a8bf3323b760aca83809587629d79f98e8f185e4
225
cpp
C++
src/fluid4node.cpp
jabza/fluid4node
831f3db39eb10e8c65bc6db7c40799c2dd16cd82
[ "MIT" ]
1
2022-03-30T21:36:07.000Z
2022-03-30T21:36:07.000Z
src/fluid4node.cpp
jabza/fluid4node
831f3db39eb10e8c65bc6db7c40799c2dd16cd82
[ "MIT" ]
3
2018-05-27T03:59:15.000Z
2021-04-25T05:19:35.000Z
src/fluid4node.cpp
jabza/fluid4node
831f3db39eb10e8c65bc6db7c40799c2dd16cd82
[ "MIT" ]
3
2020-08-29T22:46:03.000Z
2021-04-05T02:45:26.000Z
//#define BUILDING_NODE_EXTENSION #include <node.h> #include "synth.h" using namespace v8; void Init(Handle<Object> exports, Local<Object> module) { FluidSynth::Init(exports, module); } NODE_MODULE(fluid4node, Init)
17.307692
59
0.737778
[ "object" ]
a8c063f2fcc312af2c3a520fc62b6765ae98793d
15,421
cpp
C++
src/AddingPluginView.cpp
kolayuk/TweakS
a5eb2e03454c29746f150df8e83d59f4b12cfc8f
[ "Apache-2.0" ]
null
null
null
src/AddingPluginView.cpp
kolayuk/TweakS
a5eb2e03454c29746f150df8e83d59f4b12cfc8f
[ "Apache-2.0" ]
null
null
null
src/AddingPluginView.cpp
kolayuk/TweakS
a5eb2e03454c29746f150df8e83d59f4b12cfc8f
[ "Apache-2.0" ]
2
2016-10-27T21:13:31.000Z
2021-09-26T13:17:02.000Z
/* ======================================================================== Name : AddingPluginView.cpp Author : Usanov-Kornilov Nikolay (aka Kolay) Copyright : Contacts: kolayuk@mail.ru http://kolaysoft.ru (c) KolaySoft, 2010 Description : ===========================================...
27.586762
112
0.668245
[ "model" ]
a8c18e1fbb7603b8622a336da6869e79e257cc2d
4,471
cpp
C++
src/nell/components/meshlet_triangle_mesh.cpp
nicoell/Culling-with-Mesh-Shaders
7b5b835b5001f81d4021d24948e6c59a50f7c8a1
[ "MIT" ]
7
2020-05-17T20:09:18.000Z
2021-11-21T02:59:19.000Z
src/nell/components/meshlet_triangle_mesh.cpp
nicoell/Culling-with-Mesh-Shaders
7b5b835b5001f81d4021d24948e6c59a50f7c8a1
[ "MIT" ]
null
null
null
src/nell/components/meshlet_triangle_mesh.cpp
nicoell/Culling-with-Mesh-Shaders
7b5b835b5001f81d4021d24948e6c59a50f7c8a1
[ "MIT" ]
null
null
null
#include <spdlog/spdlog.h> #include <glm/gtc/constants.hpp> #include <map> #include <nell/components/meshlet_triangle_mesh.hpp> namespace nell::gpu { BoundingCone BoundingCone::GetApproximateReflexBoundingCone( std::vector<glm::vec4 *> &normals) { glm::vec3 mean_normal{}; for (auto normal : normals) { m...
29.222222
77
0.642586
[ "mesh", "vector" ]
a8c2eaa327f86a00935b0a936892226e06cec4ca
5,906
cc
C++
performance_test/LIN/Flame_gbench_getrf.cc
greck2908/libflame
51d901f5fa1729c018c19110d100d117b91a0e65
[ "BSD-3-Clause" ]
27
2017-10-01T08:26:08.000Z
2022-01-03T20:26:42.000Z
performance_test/LIN/Flame_gbench_getrf.cc
greck2908/libflame
51d901f5fa1729c018c19110d100d117b91a0e65
[ "BSD-3-Clause" ]
null
null
null
performance_test/LIN/Flame_gbench_getrf.cc
greck2908/libflame
51d901f5fa1729c018c19110d100d117b91a0e65
[ "BSD-3-Clause" ]
11
2017-07-30T19:15:00.000Z
2020-02-21T13:18:13.000Z
// Gbench headers #include "benchmark/benchmark.h" #include "gtest/gtest.h" // Test suite headers #include "../Flame_gbench_main.h" #include "../Flame_gbench_aux.h" using namespace std; /* Macros */ #define getrf_parameters_free() \ if (A!=NULL){ \ free(A); \ }\ if (ipiv!=NULL){ \ free(ipiv); \...
29.53
91
0.603454
[ "object" ]
a8c83f427dc8ec21124b186e4d018448b285a32a
3,295
hpp
C++
header.hpp
STEllAR-GROUP/cxx-demangler
aa73517c3b6ea45662df8709c9f69c8ad305a725
[ "BSL-1.0" ]
6
2016-04-18T03:58:55.000Z
2020-01-12T14:07:46.000Z
header.hpp
STEllAR-GROUP/cxx-demangler
aa73517c3b6ea45662df8709c9f69c8ad305a725
[ "BSL-1.0" ]
null
null
null
header.hpp
STEllAR-GROUP/cxx-demangler
aa73517c3b6ea45662df8709c9f69c8ad305a725
[ "BSL-1.0" ]
null
null
null
/* Copyright (c) 2012 Michael LeSane * * 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) */ namespace cxx_demangler { std::vector<std::string> global_backref; int DO_DEBUG = 0; int GCC_MANGLE = 0; int NESTED = ...
25.742188
97
0.701973
[ "vector" ]
a8c9f635d69ca88aaa0f5e0394cca1f73e0289c4
175,043
cpp
C++
com/mobile/syncmgr/exe/hndlrq.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
com/mobile/syncmgr/exe/hndlrq.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
com/mobile/syncmgr/exe/hndlrq.cpp
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, 1997. // // File: Hndlrq.cpp // // Contents: Implements class for keeping track of handlers // and the UI associated with them // // Classes: ...
33.101929
158
0.526905
[ "object" ]
a8d27aca13985fa906a5596603d2f4d96e255ca6
2,006
hh
C++
include/mcnla/core/matrix/collection/base/vector_collection_wrapper.hh
emfomy/mcnla
9f9717f4d6449bbd467c186651856d6212035667
[ "MIT" ]
null
null
null
include/mcnla/core/matrix/collection/base/vector_collection_wrapper.hh
emfomy/mcnla
9f9717f4d6449bbd467c186651856d6212035667
[ "MIT" ]
null
null
null
include/mcnla/core/matrix/collection/base/vector_collection_wrapper.hh
emfomy/mcnla
9f9717f4d6449bbd467c186651856d6212035667
[ "MIT" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// /// @file include/mcnla/core/matrix/collection/base/vector_collection_wrapper.hh /// @brief The definition of vector collection wrapper. /// /// @author Mu Yang <<emfomy@gmail.com>> ///...
29.5
128
0.557328
[ "vector" ]
a8dd5b26fdd3715a25062d79de89918d5304361c
11,722
hpp
C++
src/Bubbles.hpp
rlorigro/shasta
06522d841362ee22265d006062759b0cbcf3a1ea
[ "BSD-3-Clause-Open-MPI" ]
1
2019-02-11T02:46:16.000Z
2019-02-11T02:46:16.000Z
src/Bubbles.hpp
rlorigro/shasta
06522d841362ee22265d006062759b0cbcf3a1ea
[ "BSD-3-Clause-Open-MPI" ]
null
null
null
src/Bubbles.hpp
rlorigro/shasta
06522d841362ee22265d006062759b0cbcf3a1ea
[ "BSD-3-Clause-Open-MPI" ]
1
2019-08-14T22:56:29.000Z
2019-08-14T22:56:29.000Z
#ifndef SHASTA_BUBBLES_HPP #define SHASTA_BUBBLES_HPP /******************************************************************************* Class to describe an analyze bubbles in the assembly graph. *******************************************************************************/ #include "AssemblyGraph.hpp" #include <...
32.203297
118
0.636154
[ "object", "vector" ]
a8dfee65b2336dbe74b15c50582bae7cf004fa78
7,555
cpp
C++
OpenTESArena/src/Interface/MainMenuUiModel.cpp
TotalCaesar659/OpenTESArena
e72eda7a5e03869309b5ed7375f432d0ad826ff3
[ "MIT" ]
null
null
null
OpenTESArena/src/Interface/MainMenuUiModel.cpp
TotalCaesar659/OpenTESArena
e72eda7a5e03869309b5ed7375f432d0ad826ff3
[ "MIT" ]
null
null
null
OpenTESArena/src/Interface/MainMenuUiModel.cpp
TotalCaesar659/OpenTESArena
e72eda7a5e03869309b5ed7375f432d0ad826ff3
[ "MIT" ]
null
null
null
#include <numeric> #include "MainMenuUiModel.h" #include "../Assets/ExeData.h" #include "../Game/Game.h" #include "../Math/RandomUtils.h" #include "../World/MapType.h" #include "../WorldMap/ArenaLocationUtils.h" #include "../WorldMap/ProvinceDefinition.h" #include "components/debug/Debug.h" #include "components/utili...
30.22
114
0.757114
[ "vector" ]
a8e0ba334f7a5f41f06b61e9cb19c8aecc7438f1
92,525
cpp
C++
src/testbed/performancetests/main.cpp
aproeme/libgeodecomp
f78899c67ad62540fd153cba132a0a363a7b3fa9
[ "BSL-1.0" ]
40
2015-03-18T16:36:25.000Z
2020-08-19T07:35:19.000Z
src/testbed/performancetests/main.cpp
aproeme/libgeodecomp
f78899c67ad62540fd153cba132a0a363a7b3fa9
[ "BSL-1.0" ]
72
2015-02-05T10:41:30.000Z
2022-03-03T12:02:47.000Z
src/testbed/performancetests/main.cpp
aproeme/libgeodecomp
f78899c67ad62540fd153cba132a0a363a7b3fa9
[ "BSL-1.0" ]
17
2015-11-22T14:49:16.000Z
2020-01-15T19:05:04.000Z
#include <libgeodecomp/config.h> #include <libgeodecomp/misc/apitraits.h> #include <libgeodecomp/io/simpleinitializer.h> #include <libgeodecomp/misc/chronometer.h> #include <libgeodecomp/geometry/convexpolytope.h> #include <libgeodecomp/geometry/coord.h> #include <libgeodecomp/geometry/floatcoord.h> #include <libgeodec...
29.598528
195
0.52361
[ "mesh", "geometry", "vector" ]
a8e39c47ea3ce83ef8601b83b751582137f58e78
23,074
hpp
C++
cisco-ios-xe/ydk/models/cisco_ios_xe/MPLS_LSR_STD_MIB.hpp
CiscoDevNet/ydk-cpp
ef7d75970f2ef1154100e0f7b0a2ee823609b481
[ "ECL-2.0", "Apache-2.0" ]
17
2016-12-02T05:45:49.000Z
2022-02-10T19:32:54.000Z
cisco-ios-xe/ydk/models/cisco_ios_xe/MPLS_LSR_STD_MIB.hpp
CiscoDevNet/ydk-cpp
ef7d75970f2ef1154100e0f7b0a2ee823609b481
[ "ECL-2.0", "Apache-2.0" ]
2
2017-03-27T15:22:38.000Z
2019-11-05T08:30:16.000Z
cisco-ios-xe/ydk/models/cisco_ios_xe/MPLS_LSR_STD_MIB.hpp
CiscoDevNet/ydk-cpp
ef7d75970f2ef1154100e0f7b0a2ee823609b481
[ "ECL-2.0", "Apache-2.0" ]
11
2016-12-02T05:45:52.000Z
2019-11-07T08:28:17.000Z
#ifndef _MPLS_LSR_STD_MIB_ #define _MPLS_LSR_STD_MIB_ #include <memory> #include <vector> #include <string> #include <ydk/types.hpp> #include <ydk/errors.hpp> namespace cisco_ios_xe { namespace MPLS_LSR_STD_MIB { class MPLSLSRSTDMIB : public ydk::Entity { public: MPLSLSRSTDMIB(); ~MPLSLSRSTDMIB(...
49.835853
162
0.702522
[ "vector" ]
a8e993c1db3ef9c63eb6022f713bde18b8c15454
10,931
cpp
C++
api/ProgramCL.cpp
cjang/chai
7faba752cc4491d1b30590abef21edc4efffa0f6
[ "Unlicense" ]
11
2015-06-12T19:54:14.000Z
2021-11-26T10:45:18.000Z
api/ProgramCL.cpp
cjang/chai
7faba752cc4491d1b30590abef21edc4efffa0f6
[ "Unlicense" ]
null
null
null
api/ProgramCL.cpp
cjang/chai
7faba752cc4491d1b30590abef21edc4efffa0f6
[ "Unlicense" ]
null
null
null
// Copyright 2012 Chris Jang (fastkor@gmail.com) under The Artistic License 2.0 #include <sstream> #include <stdarg.h> #include "ArrayClient.hpp" #include "AstOpenCL.hpp" #include "ByteCodes.hpp" #include "chai/chai.h" #include "PrecType.hpp" #include "SingleNut.hpp" #include "TEA.hpp" using namespace chai_internal;...
27.743655
79
0.463453
[ "vector" ]
5ef2d9637210565da622ffc301b11462cf5ee808
12,370
cpp
C++
edk/network/PackageGroup.cpp
Edimartin/edk-source
de9a152e91344e201669b0421e5f44dea40cebf9
[ "MIT" ]
null
null
null
edk/network/PackageGroup.cpp
Edimartin/edk-source
de9a152e91344e201669b0421e5f44dea40cebf9
[ "MIT" ]
null
null
null
edk/network/PackageGroup.cpp
Edimartin/edk-source
de9a152e91344e201669b0421e5f44dea40cebf9
[ "MIT" ]
null
null
null
#include "PackageGroup.h" /* Library PackageGroup - Manage a group of packages to be sended by the edk::Socket Copyright 2013 Eduardo Moura Sales Martins (edimartin@gmail.com) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Softwar...
30.39312
124
0.535004
[ "vector" ]
5ef826693e24d7e263576e9aab3e4053c5635334
36,937
cpp
C++
lib/src/models/image.cpp
efe13/imgbrd-grabber
63251cb5170ac0dc7add391f233e7a0edb2f9094
[ "Apache-2.0" ]
null
null
null
lib/src/models/image.cpp
efe13/imgbrd-grabber
63251cb5170ac0dc7add391f233e7a0edb2f9094
[ "Apache-2.0" ]
null
null
null
lib/src/models/image.cpp
efe13/imgbrd-grabber
63251cb5170ac0dc7add391f233e7a0edb2f9094
[ "Apache-2.0" ]
null
null
null
#include <QEventLoop> #include <QRegularExpression> #include "commands/commands.h" #include "downloader/extension-rotator.h" #include "downloader/file-downloader.h" #include "functions.h" #include "models/api/api.h" #include "models/filename.h" #include "models/image.h" #include "models/page.h" #include "models/post-fi...
29.981331
162
0.670033
[ "model" ]
5efb8989e8df2678a0f9f20e6474f5955c05b411
5,324
cpp
C++
src/yars/util/PlyLoader.cpp
kzahedi/YARS
48d9fe4178d699fba38114d3b299a228da41293d
[ "MIT" ]
4
2017-08-05T03:33:21.000Z
2021-11-08T09:15:42.000Z
src/yars/util/PlyLoader.cpp
kzahedi/YARS
48d9fe4178d699fba38114d3b299a228da41293d
[ "MIT" ]
null
null
null
src/yars/util/PlyLoader.cpp
kzahedi/YARS
48d9fe4178d699fba38114d3b299a228da41293d
[ "MIT" ]
1
2019-03-24T08:35:25.000Z
2019-03-24T08:35:25.000Z
#include <yars/util/PlyLoader.h> #include <yars/util/StringTokeniser.h> #include <yars/types/Vertex.h> #include <yars/util/FileSystemOperations.h> #include <stdlib.h> #include <iostream> #include <fstream> #include <vector> PlyLoader* PlyLoader::_me = NULL; PlyLoader* PlyLoader::instance() { if(_me == NULL) _me =...
24.878505
81
0.485162
[ "vector" ]
6f05accccffbb0c8781f1bbe56ddd0ae8c7a6c5b
4,064
cpp
C++
tests/math_unit/math/rev/mat/fun/promote_common_test.cpp
alashworth/stan-monorepo
75596bc1f860ededd7b3e9ae9002aea97ee1cd46
[ "BSD-3-Clause" ]
1
2019-09-06T15:53:17.000Z
2019-09-06T15:53:17.000Z
tests/math_unit/math/rev/mat/fun/promote_common_test.cpp
alashworth/stan-monorepo
75596bc1f860ededd7b3e9ae9002aea97ee1cd46
[ "BSD-3-Clause" ]
8
2019-01-17T18:51:16.000Z
2019-01-17T18:51:39.000Z
tests/math_unit/math/rev/mat/fun/promote_common_test.cpp
alashworth/stan-monorepo
75596bc1f860ededd7b3e9ae9002aea97ee1cd46
[ "BSD-3-Clause" ]
null
null
null
#include <stan/math/rev/mat.hpp> #include <gtest/gtest.h> #include <math/rev/mat/fun/util.hpp> #include <vector> using stan::math::matrix_d; using stan::math::matrix_v; using stan::math::promote_common; using stan::math::row_vector_d; using stan::math::row_vector_v; using stan::math::var; using stan::math::vector_d; u...
31.503876
72
0.600148
[ "vector" ]