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
12e10725a43323eb33c9dc7992a4ac8b08d177f1
38,093
hh
C++
src/systemc/ext/dt/bit/sc_proxy.hh
mingbai/hybrid-gem5
1e0e559d6f15e6597082b387191926148d6ff4f0
[ "BSD-3-Clause" ]
2
2020-10-18T07:40:21.000Z
2020-10-18T07:48:26.000Z
src/systemc/ext/dt/bit/sc_proxy.hh
isaacyhe/gem5
f54c0929883254eaface4e516b62a80c098b411f
[ "BSD-3-Clause" ]
null
null
null
src/systemc/ext/dt/bit/sc_proxy.hh
isaacyhe/gem5
f54c0929883254eaface4e516b62a80c098b411f
[ "BSD-3-Clause" ]
null
null
null
/***************************************************************************** Licensed to Accellera Systems Initiative Inc. (Accellera) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. Accellera licenses...
27.30681
79
0.610191
[ "vector" ]
12e44505be69de26b6f4f9b54bf563ac78d57301
1,985
cpp
C++
camera_ueye.cpp
fhwedel-hoe/ueye_mjpeg_streamer
3aec9638ffa764b22e798753a312ac5e8b61a468
[ "MIT" ]
2
2020-03-13T01:56:32.000Z
2020-08-19T22:12:10.000Z
camera_ueye.cpp
fhwedel-hoe/ueye_mjpeg_streamer
3aec9638ffa764b22e798753a312ac5e8b61a468
[ "MIT" ]
null
null
null
camera_ueye.cpp
fhwedel-hoe/ueye_mjpeg_streamer
3aec9638ffa764b22e798753a312ac5e8b61a468
[ "MIT" ]
1
2021-02-06T19:49:33.000Z
2021-02-06T19:49:33.000Z
#include "camera_ueye.hpp" #include <stdexcept> extern "C" { std::unique_ptr<Camera> init_camera() { return std::make_unique<Camera_ueye>(); } } void abortOnError(const int status, const char *msg) { if (status != 0) { throw std::runtime_error(std::string(msg)+std::to_string(status)); ...
33.644068
114
0.68665
[ "vector" ]
12e52d739cab1dd8353a3198bdc97439796077e0
926
cc
C++
node_addons/sourceId2Coordinates/src/index.cc
quitrk/jitsi-meet-electron-utils
5e51b139be77c1f01baae623ea2abd6ee6c4e8c0
[ "Apache-2.0" ]
7
2021-11-11T16:11:32.000Z
2022-03-24T21:28:48.000Z
node_addons/sourceId2Coordinates/src/index.cc
quitrk/jitsi-meet-electron-utils
5e51b139be77c1f01baae623ea2abd6ee6c4e8c0
[ "Apache-2.0" ]
34
2021-11-10T13:30:12.000Z
2022-03-29T17:00:58.000Z
node_addons/sourceId2Coordinates/src/index.cc
quitrk/jitsi-meet-electron-utils
5e51b139be77c1f01baae623ea2abd6ee6c4e8c0
[ "Apache-2.0" ]
4
2021-11-11T13:45:32.000Z
2022-03-22T14:17:52.000Z
#include <napi.h> #include "sourceId2Coordinates.h" Napi::Value sourceId2CoordinatesWrapper(const Napi::CallbackInfo& info) { Napi::Env env = info.Env(); const int sourceID = info[0].As<Napi::Number>().Int32Value(); Napi::Object obj = Napi::Object::New(env); Point coordinates; if(!sourceId2Coordinates(sourceID, ...
31.931034
116
0.730022
[ "object" ]
12e82265522807e93bd0baa4331aac9aeaf4da2a
27,592
cc
C++
src/meshing/GeniusLoader.cc
kwisniew/devsim
3a7c1e9c4d28a8a6f9e7a43e5d5475ea2cdfe138
[ "Apache-2.0" ]
null
null
null
src/meshing/GeniusLoader.cc
kwisniew/devsim
3a7c1e9c4d28a8a6f9e7a43e5d5475ea2cdfe138
[ "Apache-2.0" ]
null
null
null
src/meshing/GeniusLoader.cc
kwisniew/devsim
3a7c1e9c4d28a8a6f9e7a43e5d5475ea2cdfe138
[ "Apache-2.0" ]
null
null
null
/*** DEVSIM Copyright 2013 Devsim LLC Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, soft...
32.083721
148
0.616338
[ "mesh", "vector" ]
12e9945547438e606468f303fd21cb267ac614c9
1,509
cpp
C++
LeetCode/Process Restricted Friend Requests/main.cpp
Code-With-Aagam/competitive-programming
610520cc396fb13a03c606b5fb6739cfd68cc444
[ "MIT" ]
2
2022-02-08T12:37:41.000Z
2022-03-09T03:48:56.000Z
LeetCode/Process Restricted Friend Requests/main.cpp
Code-With-Aagam/competitive-programming
610520cc396fb13a03c606b5fb6739cfd68cc444
[ "MIT" ]
null
null
null
LeetCode/Process Restricted Friend Requests/main.cpp
Code-With-Aagam/competitive-programming
610520cc396fb13a03c606b5fb6739cfd68cc444
[ "MIT" ]
null
null
null
class Solution { vector<int> parent; void init(int n) { parent.resize(n); for (int i = 0; i < n; i++) { parent[i] = i; } } int representative(int u) { while (u != parent[u]) { parent[u] = parent[parent[u]]; u = parent[u]; } ...
26.946429
106
0.404241
[ "vector" ]
12f50e0f8ce8f293e350d4bd28f81cc28404a481
1,807
cpp
C++
examples/get_rgb_demo.cpp
ManuelMeraz/pixy2_example
1498976a41407c8a3b1eb4ea73f661887712e677
[ "MIT" ]
2
2021-04-13T20:55:53.000Z
2021-12-23T00:35:46.000Z
examples/get_rgb_demo.cpp
ManuelMeraz/pixy2_example
1498976a41407c8a3b1eb4ea73f661887712e677
[ "MIT" ]
null
null
null
examples/get_rgb_demo.cpp
ManuelMeraz/pixy2_example
1498976a41407c8a3b1eb4ea73f661887712e677
[ "MIT" ]
null
null
null
// // begin license header // // This file is part of Pixy CMUcam5 or "Pixy" for short // // All Pixy source code is provided under the terms of the // GNU General Public License v2 (http://www.gnu.org/licenses/gpl-2.0.html). // Those wishing to use Pixy source code, software and/or // technologies under different lice...
21.771084
77
0.570006
[ "object" ]
12fc5954e142a14920d9239389260eb59b41fdf7
16,777
hpp
C++
src/messaging/server.hpp
arntanguy/libqi
7f3e1394cb26126b26fa7ff54d2de1371a1c9f96
[ "BSD-3-Clause" ]
61
2015-01-08T08:05:28.000Z
2022-01-07T16:47:47.000Z
src/messaging/server.hpp
arntanguy/libqi
7f3e1394cb26126b26fa7ff54d2de1371a1c9f96
[ "BSD-3-Clause" ]
30
2015-04-06T21:41:18.000Z
2021-08-18T13:24:51.000Z
src/messaging/server.hpp
arntanguy/libqi
7f3e1394cb26126b26fa7ff54d2de1371a1c9f96
[ "BSD-3-Clause" ]
64
2015-02-23T20:01:11.000Z
2022-03-14T13:31:20.000Z
#pragma once /* ** Copyright (C) 2012 Aldebaran Robotics ** See COPYING for the license */ #ifndef _SRC_SERVER_HPP_ #define _SRC_SERVER_HPP_ #include <boost/thread/recursive_mutex.hpp> #include <boost/noncopyable.hpp> #include <boost/smart_ptr/shared_ptr.hpp> #include "boundobject.hpp" #include "authprovider_p.hpp"...
44.501326
101
0.523336
[ "object", "vector" ]
12fc98fe3babbff3dabb1d9409a6895960cc24f9
13,091
cpp
C++
benchmarks.cpp
stryku/branchless_enum
7f52ad6cc143db23ed50eac1d57812891f578604
[ "MIT" ]
null
null
null
benchmarks.cpp
stryku/branchless_enum
7f52ad6cc143db23ed50eac1d57812891f578604
[ "MIT" ]
null
null
null
benchmarks.cpp
stryku/branchless_enum
7f52ad6cc143db23ed50eac1d57812891f578604
[ "MIT" ]
null
null
null
#include "include/branchless_enum.hpp" #include <chrono> #include <vector> #include <iostream> #include <random> branchless_enum(branchless, name_1, name_2, name_3, name_4, name_5, name_6, name_7, ...
39.312312
115
0.606371
[ "vector", "transform" ]
12ffc084d7fda3d2361534d9eb42cbc7a9c85b94
17,950
cc
C++
Models/CommonStateSignalAuthorChatCall.pb.cc
wpscott/AcFunDanmaku-C-
c1b834dbb7133fd9d3908a8e0840747b759bdb0f
[ "MIT" ]
null
null
null
Models/CommonStateSignalAuthorChatCall.pb.cc
wpscott/AcFunDanmaku-C-
c1b834dbb7133fd9d3908a8e0840747b759bdb0f
[ "MIT" ]
null
null
null
Models/CommonStateSignalAuthorChatCall.pb.cc
wpscott/AcFunDanmaku-C-
c1b834dbb7133fd9d3908a8e0840747b759bdb0f
[ "MIT" ]
null
null
null
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: CommonStateSignalAuthorChatCall.proto #include "CommonStateSignalAuthorChatCall.pb.h" #include <algorithm> #include <google/protobuf/io/coded_stream.h> #include <google/protobuf/extension_set.h> #include <google/protobuf/wire_format_lite.h> #incl...
46.866841
209
0.78624
[ "object" ]
4202042635a66190ddb398f9ae7206a6f4f03f4e
29,113
cpp
C++
gcg/src/dec_consclass.cpp
avrech/scipoptsuite-6.0.2-avrech
bb4ef31b6e84ff7e1e65cee982acf150739cda86
[ "MIT" ]
null
null
null
gcg/src/dec_consclass.cpp
avrech/scipoptsuite-6.0.2-avrech
bb4ef31b6e84ff7e1e65cee982acf150739cda86
[ "MIT" ]
null
null
null
gcg/src/dec_consclass.cpp
avrech/scipoptsuite-6.0.2-avrech
bb4ef31b6e84ff7e1e65cee982acf150739cda86
[ "MIT" ]
1
2022-01-19T01:15:11.000Z
2022-01-19T01:15:11.000Z
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ /* */ /* This file is part of the program */ /* GCG --- Generic Column Generation */ ...
39.341892
374
0.636176
[ "vector" ]
4204ba125fe11327769a67dab669422f6830c0cb
1,961
cpp
C++
Volatility.cpp
Come-B/jbc_pde_solver
0d4504fa90223f06ecdeaf503c7d27a336c4b82d
[ "BSD-3-Clause" ]
null
null
null
Volatility.cpp
Come-B/jbc_pde_solver
0d4504fa90223f06ecdeaf503c7d27a336c4b82d
[ "BSD-3-Clause" ]
null
null
null
Volatility.cpp
Come-B/jbc_pde_solver
0d4504fa90223f06ecdeaf503c7d27a336c4b82d
[ "BSD-3-Clause" ]
null
null
null
#include "Volatility.h" Volatility::Volatility(){ } Volatility::~Volatility(){ } ConstantVolatility::ConstantVolatility(double sigma) : m_vol(sigma){ } double ConstantVolatility::getVolAt(int j){ return m_vol; } double ConstantVolatility::getMeanVol(){ return m_vol; } ConstantVolatility* ConstantVolati...
25.141026
146
0.702193
[ "vector" ]
4209085fb99ce94fab5ee05dcdecd31798ce9452
16,028
cpp
C++
MathTL/algebra/piecewise.cpp
kedingagnumerikunimarburg/Marburg_Software_Library
fe53c3ae9db23fc3cb260a735b13a1c6d2329c17
[ "MIT" ]
3
2018-05-20T15:25:58.000Z
2021-01-19T18:46:48.000Z
MathTL/algebra/piecewise.cpp
agnumerikunimarburg/Marburg_Software_Library
fe53c3ae9db23fc3cb260a735b13a1c6d2329c17
[ "MIT" ]
null
null
null
MathTL/algebra/piecewise.cpp
agnumerikunimarburg/Marburg_Software_Library
fe53c3ae9db23fc3cb260a735b13a1c6d2329c17
[ "MIT" ]
2
2019-04-24T18:23:26.000Z
2020-09-17T10:00:27.000Z
// implementation of MathTL::Piecewise inline functions #include <algebra/piecewise.h> #include <algebra/polynomial.h> #include <utils/tiny_tools.h> #include <cmath> #include <iostream> //#include <iomanip> namespace MathTL { /*! default constructor */ template <class C> Piecewise<C>::Piecewise() : Functio...
24.965732
118
0.606875
[ "vector" ]
420b19f8782ddf04a1a1eb9162d49713bfbdc0ba
7,401
cpp
C++
source/common/rendering/vulkan/system/vk_buffers.cpp
DosFreak/Raze
389f760d45748da28ba758f12be1be2a9ba9b4b2
[ "RSA-MD" ]
1
2022-03-30T15:53:09.000Z
2022-03-30T15:53:09.000Z
source/common/rendering/vulkan/system/vk_buffers.cpp
Quake-Backup/Raze
16c81f0b1f409436ebf576d2c23f2459a29b34b4
[ "RSA-MD" ]
null
null
null
source/common/rendering/vulkan/system/vk_buffers.cpp
Quake-Backup/Raze
16c81f0b1f409436ebf576d2c23f2459a29b34b4
[ "RSA-MD" ]
null
null
null
/* ** Vulkan backend ** Copyright (c) 2016-2020 Magnus Norddahl ** ** This software is provided 'as-is', without any express or implied ** warranty. In no event will the authors be held liable for any damages ** arising from the use of this software. ** ** Permission is granted to anyone to use this software for...
27.309963
137
0.71666
[ "mesh", "object", "model" ]
4217ab2ebc246fbe6a2284a31e38271545aefea3
1,352
cpp
C++
src/process.cpp
h-arieff/CppND-System-Monitor
096cc2e7a07cb7dff19bbd3dc7f8c9d8bb80882f
[ "MIT" ]
null
null
null
src/process.cpp
h-arieff/CppND-System-Monitor
096cc2e7a07cb7dff19bbd3dc7f8c9d8bb80882f
[ "MIT" ]
null
null
null
src/process.cpp
h-arieff/CppND-System-Monitor
096cc2e7a07cb7dff19bbd3dc7f8c9d8bb80882f
[ "MIT" ]
null
null
null
#include <unistd.h> #include <cctype> #include <sstream> #include <string> #include <vector> #include <pwd.h> #include "process.h" #include "linux_parser.h" using std::string; using std::to_string; using std::vector; Process::Process(int p){ pid=p; status=LinuxParser::getStatus(*this); } // TODO: Return th...
24.142857
85
0.673077
[ "vector" ]
42244b61a73fc32c6ab46f8bcf8735df6f514fa7
20,958
cpp
C++
src/sound/mididevices/music_fluidsynth_mididevice.cpp
raa-eruanna/ProjectPanther
7d703c162b4ede25faa3e99cacacb4fc79fb77da
[ "RSA-MD" ]
2
2018-01-18T21:30:20.000Z
2018-01-19T02:24:46.000Z
src/sound/mididevices/music_fluidsynth_mididevice.cpp
raa-eruanna/ProjectPanther
7d703c162b4ede25faa3e99cacacb4fc79fb77da
[ "RSA-MD" ]
null
null
null
src/sound/mididevices/music_fluidsynth_mididevice.cpp
raa-eruanna/ProjectPanther
7d703c162b4ede25faa3e99cacacb4fc79fb77da
[ "RSA-MD" ]
null
null
null
/* ** music_fluidsynth_mididevice.cpp ** Provides access to FluidSynth as a generic MIDI device. ** **--------------------------------------------------------------------------- ** Copyright 2010 Randy Heit ** All rights reserved. ** ** Redistribution and use in source and binary forms, with or without ** modification,...
27.503937
151
0.635461
[ "3d" ]
4235267c4f48b7c8d19d514d3afcc11fbe853317
66,570
cpp
C++
src/BPFFile.cpp
USArmyResearchLab/Fusion3D
98b79ccfcbfd444a924f65c321482b540382758d
[ "Apache-2.0" ]
4
2021-09-08T02:07:22.000Z
2022-03-30T02:48:56.000Z
src/BPFFile.cpp
USArmyResearchLab/Fusion3D
98b79ccfcbfd444a924f65c321482b540382758d
[ "Apache-2.0" ]
null
null
null
src/BPFFile.cpp
USArmyResearchLab/Fusion3D
98b79ccfcbfd444a924f65c321482b540382758d
[ "Apache-2.0" ]
1
2021-10-11T02:53:53.000Z
2021-10-11T02:53:53.000Z
//written by M. Brandon Cox - Booz Allen Hamilton - cox_michael@bah.com #include "internals.h" BPFFile::BPFFile() : STATIC_HEADER_SIZE_IN_BYTES(100), dirtyMinsAndMaxs(false), dirtyFieldMinsAndMaxs(false), pointSpacing(0.0), xMin(0.0), xMax(0.0), yMin(0.0), yMax(0.0), zMin(0.0), zMax(0.0), decompressedBytes...
30.550711
164
0.656842
[ "object", "vector", "transform" ]
4236c0de3d2361f046aca9a276ff11fdb7758ec5
394
cpp
C++
51-60/53. Maximum Subarray.cpp
zzuliLL/Leetcode-
a14fe1188da008a39d7aaf4e142ee582493b7c60
[ "MIT" ]
null
null
null
51-60/53. Maximum Subarray.cpp
zzuliLL/Leetcode-
a14fe1188da008a39d7aaf4e142ee582493b7c60
[ "MIT" ]
null
null
null
51-60/53. Maximum Subarray.cpp
zzuliLL/Leetcode-
a14fe1188da008a39d7aaf4e142ee582493b7c60
[ "MIT" ]
null
null
null
//简单dp class Solution { public: int maxSubArray(vector<int>& nums) { int ans = nums[0]; int dp = 0; for(int i = 0; i < nums.size(); i++) { if(dp + nums[i] < 0) dp = max(nums[i], 0); else dp += nums[i]; if(dp) ans = max(ans, dp); else an...
23.176471
54
0.403553
[ "vector" ]
423b9cb8f520216a06418ed4fbccde07bafd67ff
11,156
cpp
C++
test/src/msa.cpp
nathanweeks/root_digger
906869952c01291beec4cb7b99077f741aaddd0f
[ "MIT" ]
13
2020-01-13T09:54:06.000Z
2022-03-20T15:21:09.000Z
test/src/msa.cpp
nathanweeks/root_digger
906869952c01291beec4cb7b99077f741aaddd0f
[ "MIT" ]
5
2020-02-24T02:45:57.000Z
2022-03-21T22:24:39.000Z
test/src/msa.cpp
nathanweeks/root_digger
906869952c01291beec4cb7b99077f741aaddd0f
[ "MIT" ]
7
2020-02-15T19:50:29.000Z
2021-08-19T11:10:34.000Z
extern "C" { #include <libpll/pll.h> } #include "data.hpp" #include <catch2/catch.hpp> #include <msa.hpp> TEST_CASE("msa_t parse msa", "[msa_t]") { for (auto &kv : data_files_dna) { auto &ds = kv.second; msa_t msa{ds.first}; REQUIRE(msa.states() == 4); REQUIRE(msa.map() == pll_map_nt); } } TEST_CA...
39.420495
81
0.593582
[ "model" ]
424253eb2f37d9da88db34d4170f65982bc7f638
878
cpp
C++
examples/serialize-xml.cpp
genisysram/libzeep
cb3e7f0e03c5337e106e23de478ccb53bad62d97
[ "BSL-1.0" ]
7
2017-01-04T19:27:03.000Z
2020-07-06T11:19:33.000Z
examples/serialize-xml.cpp
genisysram/libzeep
cb3e7f0e03c5337e106e23de478ccb53bad62d97
[ "BSL-1.0" ]
11
2016-01-14T14:08:46.000Z
2022-02-26T08:08:15.000Z
examples/serialize-xml.cpp
genisysram/libzeep
cb3e7f0e03c5337e106e23de478ccb53bad62d97
[ "BSL-1.0" ]
3
2018-10-11T22:39:28.000Z
2020-11-12T02:44:41.000Z
//[ synopsis_xml_serialize #include <fstream> #include <zeep/xml/document.hpp> struct Person { std::string firstname; std::string lastname; /*<< A struct we want to serialize needs a `serialize` method >>*/ template<class Archive> void serialize(Archive& ar, const unsigned int version) { ...
24.388889
88
0.635535
[ "object", "vector" ]
424e77052478eec20ba4bde5ad7dd056c4770068
1,758
hh
C++
tools/click-fastclassifier/click-fastclassifier.hh
MacWR/Click-changed-for-ParaGraph
18285e5da578fbb7285d10380836146e738dee6e
[ "Apache-2.0" ]
129
2015-10-08T14:38:35.000Z
2022-03-06T14:54:44.000Z
tools/click-fastclassifier/click-fastclassifier.hh
MacWR/Click-changed-for-ParaGraph
18285e5da578fbb7285d10380836146e738dee6e
[ "Apache-2.0" ]
241
2016-02-17T16:17:58.000Z
2022-03-15T09:08:33.000Z
tools/click-fastclassifier/click-fastclassifier.hh
MacWR/Click-changed-for-ParaGraph
18285e5da578fbb7285d10380836146e738dee6e
[ "Apache-2.0" ]
61
2015-12-17T01:46:58.000Z
2022-02-07T22:25:19.000Z
#ifndef CLICK_FASTCLASSIFIER_HH #define CLICK_FASTCLASSIFIER_HH #include <click/vector.hh> #include <click/string.hh> class ElementClassT; struct Classifier_Insn { int offset; bool short_output; int j[2]; union { unsigned char c[4]; uint32_t u; } mask; union { unsigned char c[4]; uint32_t u...
26.636364
116
0.710466
[ "vector" ]
42509b912e98b0e12f67a3248d8f68d51e1fc4fe
9,015
hpp
C++
src/fluxes.hpp
pecos/tps
13b15a673848d5b448443bb8333ab1e66709a73a
[ "BSD-3-Clause" ]
3
2021-12-21T15:54:06.000Z
2022-02-10T21:13:40.000Z
src/fluxes.hpp
pecos/tps
13b15a673848d5b448443bb8333ab1e66709a73a
[ "BSD-3-Clause" ]
24
2021-10-20T01:50:43.000Z
2022-03-15T15:58:25.000Z
src/fluxes.hpp
pecos/tps
13b15a673848d5b448443bb8333ab1e66709a73a
[ "BSD-3-Clause" ]
null
null
null
// -----------------------------------------------------------------------------------bl- // BSD 3-Clause License // // Copyright (c) 2020-2022, The PECOS Development Team, University of Texas at Austin // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are...
41.353211
120
0.609872
[ "vector" ]
42531adebb97fbc091519f18c70a8ee55e8a2c52
11,504
cc
C++
rowsize.cc
avineshwar/drammer
2e262d6e10f943209c5476f876075fe1082e7977
[ "Apache-2.0" ]
null
null
null
rowsize.cc
avineshwar/drammer
2e262d6e10f943209c5476f876075fe1082e7977
[ "Apache-2.0" ]
null
null
null
rowsize.cc
avineshwar/drammer
2e262d6e10f943209c5476f876075fe1082e7977
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2016, Victor van der Veen * * 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 a...
31.431694
80
0.579016
[ "vector", "model" ]
4262b4b95dc546b4a7b5663c01e0c47436e06654
9,394
hpp
C++
Contrib-Intel/RSD-PSME-RMM/common/agent-framework/include/agent-framework/module/requests/common/add_endpoint.hpp
opencomputeproject/Rack-Manager
e1a61d3eeeba0ff655fe9c1301e8b510d9b2122a
[ "MIT" ]
5
2019-11-11T07:57:26.000Z
2022-03-28T08:26:53.000Z
Contrib-Intel/RSD-PSME-RMM/common/agent-framework/include/agent-framework/module/requests/common/add_endpoint.hpp
opencomputeproject/Rack-Manager
e1a61d3eeeba0ff655fe9c1301e8b510d9b2122a
[ "MIT" ]
3
2019-09-05T21:47:07.000Z
2019-09-17T18:10:45.000Z
Contrib-Intel/RSD-PSME-RMM/common/agent-framework/include/agent-framework/module/requests/common/add_endpoint.hpp
opencomputeproject/Rack-Manager
e1a61d3eeeba0ff655fe9c1301e8b510d9b2122a
[ "MIT" ]
11
2019-07-20T00:16:32.000Z
2022-01-11T14:17:48.000Z
/*! * @brief Definition of AddEndpoint class. * * @copyright Copyright (c) 2017-2019 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/LI...
33.194346
126
0.64456
[ "model", "transform" ]
42667dd470231233f528bbbdf67e279e3ddfd275
6,962
cpp
C++
src/main.cpp
szledan/arg-.parse
94dbd2f51ee6fc33f2649792d58dc29794fb7008
[ "BSD-2-Clause" ]
null
null
null
src/main.cpp
szledan/arg-.parse
94dbd2f51ee6fc33f2649792d58dc29794fb7008
[ "BSD-2-Clause" ]
null
null
null
src/main.cpp
szledan/arg-.parse
94dbd2f51ee6fc33f2649792d58dc29794fb7008
[ "BSD-2-Clause" ]
null
null
null
/* Copyright (C) 2018, Szilard Ledan <szledan@gmail.com> * 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 *...
46.10596
216
0.598104
[ "vector" ]
426d284ce406664b176d4f7e2fbe82b52954e7e8
1,603
cpp
C++
d25/a.cpp
Immortale-dev/adventofcode2022
019c0a08ff23e9fcb79c75a08b1cebd65333ca24
[ "MIT" ]
null
null
null
d25/a.cpp
Immortale-dev/adventofcode2022
019c0a08ff23e9fcb79c75a08b1cebd65333ca24
[ "MIT" ]
null
null
null
d25/a.cpp
Immortale-dev/adventofcode2022
019c0a08ff23e9fcb79c75a08b1cebd65333ca24
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; #include "../helpers/string_helpers.cpp" typedef long long int ll; int W,H; vector<string> input; void prepare() { string s; while(getline(cin, s)){ W = s.size(); input.push_back(s); } H = input.size(); } void print_cuc(vector<string> a) { cout << endl; for...
15.413462
47
0.475359
[ "vector" ]
f121002d654152e7b2c8e739a7c45e761c22a721
4,209
cpp
C++
src/vi/la/opencl/opencl_builder.cpp
ville-k/vinn
288d64c5d525ca2d887d829097567f3e0104ab34
[ "MIT" ]
39
2015-05-08T15:58:07.000Z
2021-08-20T22:49:38.000Z
src/vi/la/opencl/opencl_builder.cpp
ville-k/vinn
288d64c5d525ca2d887d829097567f3e0104ab34
[ "MIT" ]
null
null
null
src/vi/la/opencl/opencl_builder.cpp
ville-k/vinn
288d64c5d525ca2d887d829097567f3e0104ab34
[ "MIT" ]
10
2015-09-17T23:58:04.000Z
2020-05-09T10:09:10.000Z
#include "vi/la/opencl/opencl_builder.h" #include "vi/la/opencl/opencl_ostream.h" #include <algorithm> #include <CL/cl.hpp> #include <iterator> #include <sstream> #include <stdexcept> namespace vi { namespace la { namespace opencl { builder::builder(source_loader& loader) : _loader(loader) {} void builder::add_exte...
30.948529
92
0.694939
[ "vector" ]
f12610c6e6178eb8915acaf0987470ef791a1bb4
11,872
cpp
C++
src/cli.cpp
brex-it/3dconv
8efa4da731ce453ddb200fb192f17e277560821e
[ "BSD-3-Clause" ]
null
null
null
src/cli.cpp
brex-it/3dconv
8efa4da731ce453ddb200fb192f17e277560821e
[ "BSD-3-Clause" ]
null
null
null
src/cli.cpp
brex-it/3dconv
8efa4da731ce453ddb200fb192f17e277560821e
[ "BSD-3-Clause" ]
null
null
null
#include <algorithm> #include <cstdlib> #include <filesystem> #include <iostream> #include <memory> #include <sstream> #include <string> #include <vector> #include <CLI11/CLI11.hpp> #include <3dconv/cli.hpp> #include <3dconv/io.hpp> #include <3dconv/linalg.hpp> #include <3dconv/model.hpp> const char *FACE_TRANSFORMS...
23.839357
73
0.603605
[ "vector", "model" ]
f127061fb5bc13e45506c60d9327f3f20c6986ef
10,558
cpp
C++
questions/compr-meta-nr-20866996/main.cpp
SammyEnigma/stackoverflown
0f70f2534918b2e65cec1046699573091d9a40b5
[ "Unlicense" ]
54
2015-09-13T07:29:52.000Z
2022-03-16T07:43:50.000Z
questions/compr-meta-nr-20866996/main.cpp
SammyEnigma/stackoverflown
0f70f2534918b2e65cec1046699573091d9a40b5
[ "Unlicense" ]
null
null
null
questions/compr-meta-nr-20866996/main.cpp
SammyEnigma/stackoverflown
0f70f2534918b2e65cec1046699573091d9a40b5
[ "Unlicense" ]
31
2016-08-26T13:35:01.000Z
2022-03-13T16:43:12.000Z
#include <QScopedPointer> #include <QApplication> #include <QWidget> #include <QPushButton> #include <QPlainTextEdit> #include <QSpinBox> #include <QFormLayout> #include <QSet> #include <QMetaMethod> #include <QThread> #include <QPointer> #include <QBasicTimer> #include <QDebug> /*! A type-identifier-generating wrappe...
37.842294
127
0.639799
[ "object" ]
f12d160a3fbd97cbef0faba709333421d6ff092e
2,561
cc
C++
launcher/mk-sched/smart_even_scheduler.cc
beneslami/Multi-GPU
89101177a29a0f238fa85671943f2f584e82a815
[ "Apache-2.0" ]
null
null
null
launcher/mk-sched/smart_even_scheduler.cc
beneslami/Multi-GPU
89101177a29a0f238fa85671943f2f584e82a815
[ "Apache-2.0" ]
null
null
null
launcher/mk-sched/smart_even_scheduler.cc
beneslami/Multi-GPU
89101177a29a0f238fa85671943f2f584e82a815
[ "Apache-2.0" ]
null
null
null
#include <cassert> #include "../../common/kernel_info_t.h" #include "smart_even_scheduler.h" extern unsigned long long get_curr_cycle(); void SmartEvenScheduler::update_scheduler(const SchedulerUpdateInfo& info) { if (info.has("AdjustSMs")) { adjust_upper_bounds(); } } void SmartEvenScheduler::add_kernel(ke...
30.488095
182
0.696212
[ "vector" ]
f135448556bf43c76b6ba6c28f9077d762a3eb87
2,284
cpp
C++
icpcarchive.ecs.baylor.edu/Languages.cpp
facug91/OJ-Solutions
9aa55be066ce5596e4e64737c28cd3ff84e092fe
[ "Apache-2.0" ]
6
2016-09-10T03:16:34.000Z
2020-04-07T14:45:32.000Z
icpcarchive.ecs.baylor.edu/Languages.cpp
facug91/OJ-Solutions
9aa55be066ce5596e4e64737c28cd3ff84e092fe
[ "Apache-2.0" ]
null
null
null
icpcarchive.ecs.baylor.edu/Languages.cpp
facug91/OJ-Solutions
9aa55be066ce5596e4e64737c28cd3ff84e092fe
[ "Apache-2.0" ]
2
2018-08-11T20:55:35.000Z
2020-01-15T23:23:11.000Z
/* By: facug91 From: https://icpcarchive.ecs.baylor.edu/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=4534 Name: Languages Date: 17/03/2016 */ #include <bits/stdc++.h> #define endl "\n" #define EPS 1e-9 #define MP make_pair #define F first #define S second #define ...
24.55914
126
0.586252
[ "vector" ]
f137c9cb74f801e3efbdddd50786db1c47b03b9a
15,533
cpp
C++
lonestar/eda/cpu/SPRoute/main.cpp
lineagech/Galois
5c7c0abaf7253cb354e35a3836147a960a37ad5b
[ "BSD-3-Clause" ]
null
null
null
lonestar/eda/cpu/SPRoute/main.cpp
lineagech/Galois
5c7c0abaf7253cb354e35a3836147a960a37ad5b
[ "BSD-3-Clause" ]
null
null
null
lonestar/eda/cpu/SPRoute/main.cpp
lineagech/Galois
5c7c0abaf7253cb354e35a3836147a960a37ad5b
[ "BSD-3-Clause" ]
null
null
null
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #include <time.h> #include "galois/Galois.h" #include "galois/Reduction.h" #include "galois/PriorityQueue.h" #include "galois/Timer.h" #include "galois/graphs/Graph.h" #include "galois/graphs/TypeTraits.h" #include "galois/substrate/SimpleLoc...
26.73494
80
0.512457
[ "3d" ]
f13d53f30c3700355c2d348c806b818445f45ef5
8,206
cpp
C++
src/vineyards.cpp
corybrunson/dart
b51ff967998c99ffae370e502927af83404b8374
[ "Apache-2.0" ]
null
null
null
src/vineyards.cpp
corybrunson/dart
b51ff967998c99ffae370e502927af83404b8374
[ "Apache-2.0" ]
null
null
null
src/vineyards.cpp
corybrunson/dart
b51ff967998c99ffae370e502927af83404b8374
[ "Apache-2.0" ]
1
2021-07-21T16:15:16.000Z
2021-07-21T16:15:16.000Z
#include <Rcpp.h> using namespace Rcpp; #include "reduction_concepts.h" // #include "PspMatrix.h" // // Square transposition framework // template< typename Lambda > // void transpose_schedule_full(PspBoolMatrix& R, PspBoolMatrix& V, const vector< size_t >& S, Lambda f){ // const size_t nc = R.n_cols(); // const...
35.834061
115
0.478187
[ "vector" ]
f15559f82b149e1b64dd0a7af4bd20d69b83665b
454
hpp
C++
src/cpu/interrupts/interrupts.hpp
Tunacan427/FishOS
86a173e8c423e96e70dfc624b5738e1313b0b130
[ "MIT" ]
null
null
null
src/cpu/interrupts/interrupts.hpp
Tunacan427/FishOS
86a173e8c423e96e70dfc624b5738e1313b0b130
[ "MIT" ]
null
null
null
src/cpu/interrupts/interrupts.hpp
Tunacan427/FishOS
86a173e8c423e96e70dfc624b5738e1313b0b130
[ "MIT" ]
null
null
null
#pragma once #include <kstd/types.hpp> #include <cpu/interrupts/idt.hpp> #include <cpu/interrupts/apic.hpp> #include <kstd/vector.hpp> namespace cpu::interrupts { kstd::Vector<IOAPIC>& ioapics(); kstd::Vector<LAPIC>& lapics(); void override_irq_source(u8 irq, u32 gsi, u16 flags); void register_gsi(u3...
26.705882
88
0.715859
[ "vector" ]
f15e11453e345df4d421feee55b6f49919cdda6d
6,895
hpp
C++
public/bt/core/assets/LoadEvent.hpp
c0de4un/btSDK
fbdd6873cc33b5d7af09920f62edf6c1c26cf5f7
[ "MIT" ]
1
2020-05-20T17:45:47.000Z
2020-05-20T17:45:47.000Z
public/bt/core/assets/LoadEvent.hpp
c0de4un/btSDK
fbdd6873cc33b5d7af09920f62edf6c1c26cf5f7
[ "MIT" ]
null
null
null
public/bt/core/assets/LoadEvent.hpp
c0de4un/btSDK
fbdd6873cc33b5d7af09920f62edf6c1c26cf5f7
[ "MIT" ]
null
null
null
/** * Copyright © 2020 Denis Z. (code4un@yandex.ru) All rights reserved. * Authors: Denis Z. (code4un@yandex.ru) * All rights reserved. * License: see LICENSE.txt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: ...
35.541237
134
0.435533
[ "vector" ]
f160f7837541ddd16b2e85bae3e2c09e3fd06c13
2,801
hpp
C++
include/eve/module/core/constant/sqrtsmallestposval.hpp
mshojatalab/eve
9fc1f46e695b05e2e72f7e2083729621e6bdb57e
[ "MIT" ]
null
null
null
include/eve/module/core/constant/sqrtsmallestposval.hpp
mshojatalab/eve
9fc1f46e695b05e2e72f7e2083729621e6bdb57e
[ "MIT" ]
null
null
null
include/eve/module/core/constant/sqrtsmallestposval.hpp
mshojatalab/eve
9fc1f46e695b05e2e72f7e2083729621e6bdb57e
[ "MIT" ]
null
null
null
//================================================================================================== /* EVE - Expressive Vector Engine Copyright : EVE Contributors & Maintainers SPDX-License-Identifier: MIT */ //================================================================================================== #pr...
33.345238
109
0.48804
[ "object", "vector" ]
f16516b864a936836f8d8dc382ff41db6f552661
4,715
cpp
C++
BuildInput/src/Random.cpp
LilianeRA/RigidRegistration
ec735cbbf3f8816f8950e4cf77b32626a4afdebc
[ "Apache-2.0" ]
null
null
null
BuildInput/src/Random.cpp
LilianeRA/RigidRegistration
ec735cbbf3f8816f8950e4cf77b32626a4afdebc
[ "Apache-2.0" ]
null
null
null
BuildInput/src/Random.cpp
LilianeRA/RigidRegistration
ec735cbbf3f8816f8950e4cf77b32626a4afdebc
[ "Apache-2.0" ]
null
null
null
/************************************************************************************* GCG - GROUP FOR COMPUTER GRAPHICS Universidade Federal de Juiz de Fora Instituto de Ciências Exatas Departamento de Ciência da Computação RANDOM.CPP: functions for random number generation. Marcelo...
32.07483
122
0.612725
[ "vector" ]
f16958f97c05b3dbeb1592dd51885f6a87bd558a
3,713
cpp
C++
sussybard.cpp
Themaister/sussybard
ba543ad58d605d55fadd58745b2343968ed6be79
[ "MIT" ]
2
2022-01-23T17:27:58.000Z
2022-01-25T05:00:38.000Z
sussybard.cpp
Themaister/sussybard
ba543ad58d605d55fadd58745b2343968ed6be79
[ "MIT" ]
null
null
null
sussybard.cpp
Themaister/sussybard
ba543ad58d605d55fadd58745b2343968ed6be79
[ "MIT" ]
null
null
null
/* Copyright (c) 2022 Hans-Kristian Arntzen * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the * "Software"), to deal in the Software without restriction, including * without limitation the rights to use, copy, modify, merge, ...
28.128788
88
0.699165
[ "vector" ]
f179d74bd459dd28dffc43ca96d9ac5f021afa86
4,698
cpp
C++
compiler/luci/pass/src/FoldGatherPass.cpp
glistening/ONE-1
cadf3a4da4f4340081862abbd3900af7c4b0e22d
[ "Apache-2.0" ]
null
null
null
compiler/luci/pass/src/FoldGatherPass.cpp
glistening/ONE-1
cadf3a4da4f4340081862abbd3900af7c4b0e22d
[ "Apache-2.0" ]
null
null
null
compiler/luci/pass/src/FoldGatherPass.cpp
glistening/ONE-1
cadf3a4da4f4340081862abbd3900af7c4b0e22d
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2022 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 * * Unless...
25.258065
90
0.625798
[ "shape", "vector" ]
f17e7bcd4be9195db7c82e485879e9533f883fa4
1,055
cpp
C++
Engine/Source/Tools/CCBaseTools.cpp
playir/PhoneWarsDemo
088ef2bf0cb445eb290bb4150f88ed0cc8ab6ff5
[ "Apache-2.0" ]
3
2015-03-23T02:52:26.000Z
2016-07-23T19:54:29.000Z
Engine/Source/Tools/CCBaseTools.cpp
patelmanthan777/PhoneWarsDemo
088ef2bf0cb445eb290bb4150f88ed0cc8ab6ff5
[ "Apache-2.0" ]
null
null
null
Engine/Source/Tools/CCBaseTools.cpp
patelmanthan777/PhoneWarsDemo
088ef2bf0cb445eb290bb4150f88ed0cc8ab6ff5
[ "Apache-2.0" ]
2
2017-09-16T05:40:17.000Z
2018-03-20T00:25:35.000Z
/*----------------------------------------------------------- * 2c - Cross Platform 3D Application Framework *----------------------------------------------------------- * Copyright © 2010 – 2011 France Telecom * This software is distributed under the Apache 2.0 license. * http://www.apache.org/licenses/LICENSE-2....
25.119048
95
0.474882
[ "3d" ]
f18153b97f51c9d68b449472cedb6260db818651
4,262
hpp
C++
src/KBDDaemon.hpp
aidanharris/Hawck
aab56e85fb7408d9020f6e387b93d9f18d902415
[ "BSD-2-Clause" ]
null
null
null
src/KBDDaemon.hpp
aidanharris/Hawck
aab56e85fb7408d9020f6e387b93d9f18d902415
[ "BSD-2-Clause" ]
null
null
null
src/KBDDaemon.hpp
aidanharris/Hawck
aab56e85fb7408d9020f6e387b93d9f18d902415
[ "BSD-2-Clause" ]
null
null
null
/* ===================================================================================== * Keyboard daemon. * * Copyright (C) 2018 Jonas Møller (no) <jonasmo441@gmail.com> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the...
31.57037
88
0.656499
[ "vector" ]
f182cf8249742201ef8d16082ab4caf27bc68d3f
1,095
cpp
C++
buildingTriples2graph copy.cpp
jeswr-university-projects/comp3600-project
e327fd78b4f964de35f0f92d233c083eabfc7095
[ "MIT" ]
null
null
null
buildingTriples2graph copy.cpp
jeswr-university-projects/comp3600-project
e327fd78b4f964de35f0f92d233c083eabfc7095
[ "MIT" ]
null
null
null
buildingTriples2graph copy.cpp
jeswr-university-projects/comp3600-project
e327fd78b4f964de35f0f92d233c083eabfc7095
[ "MIT" ]
null
null
null
#pragma once // #include "graph.h" #include "rdf-types.h" #include <set> #include <cmath> #include "graph-matrix.cpp" #include <vector> using namespace std; string pathTo = "http://architecture#hasPathTo"; GraphMatrix<string> buildingsTriplesToGraph(Triples buildingTriples) { // First we need to determine in...
25.465116
127
0.634703
[ "vector" ]
f185aa4ab9c9282f10a459979eaf9075a7a558ab
7,778
cpp
C++
RequestLib/request.cpp
magiruuvelvet/QAPI-IDE
7634acfd4a46075abefad0a2d6fded263b5d222d
[ "BSD-3-Clause" ]
2
2019-08-16T16:08:00.000Z
2019-11-01T00:47:52.000Z
RequestLib/request.cpp
magiruuvelvet/QAPI-IDE
7634acfd4a46075abefad0a2d6fded263b5d222d
[ "BSD-3-Clause" ]
8
2019-07-03T09:02:51.000Z
2019-07-27T13:01:35.000Z
RequestLib/request.cpp
magiruuvelvet/QAPI-IDE
7634acfd4a46075abefad0a2d6fded263b5d222d
[ "BSD-3-Clause" ]
null
null
null
#include <requestlib/request.hpp> #include <algorithm> #define CPPHTTPLIB_OPENSSL_SUPPORT #define CPPHTTPLIB_ZLIB_SUPPORT #include <httplib.h> #include <url.h> #include <utils/string.hpp> #include <utils/list.hpp> Request::Request(const std::string &url, RequestMethod method, const std::string &custom_method) ...
27.58156
134
0.577012
[ "object" ]
f185aa4d0be715435384c430dfe69f68e9e76cd0
7,557
hpp
C++
target-selector/include/target_selector/target_selector.hpp
codeplaysoftware/sycl-info
b47d498ee2d6b77ec21972de5882e8e12efecd6c
[ "BSL-1.0" ]
9
2019-11-19T20:48:11.000Z
2021-09-30T13:26:47.000Z
target-selector/include/target_selector/target_selector.hpp
codeplaysoftware/sycl-info
b47d498ee2d6b77ec21972de5882e8e12efecd6c
[ "BSL-1.0" ]
null
null
null
target-selector/include/target_selector/target_selector.hpp
codeplaysoftware/sycl-info
b47d498ee2d6b77ec21972de5882e8e12efecd6c
[ "BSL-1.0" ]
2
2019-11-18T18:09:21.000Z
2020-01-24T11:52:17.000Z
//////////////////////////////////////////////////////////////////////////////// // target_selector.h // // Copyright 2019 Codeplay Software, Ltd. // // 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 Lic...
36.684466
80
0.704645
[ "vector" ]
f185ed78152df68bd894d555b05c07e57042a2dd
4,136
cxx
C++
modules/core/tests/basicStatismoTest.cxx
tom-albrecht/statismo
e7825afadb1accc4902d911d5f00a8c4bd383a31
[ "BSD-3-Clause" ]
null
null
null
modules/core/tests/basicStatismoTest.cxx
tom-albrecht/statismo
e7825afadb1accc4902d911d5f00a8c4bd383a31
[ "BSD-3-Clause" ]
null
null
null
modules/core/tests/basicStatismoTest.cxx
tom-albrecht/statismo
e7825afadb1accc4902d911d5f00a8c4bd383a31
[ "BSD-3-Clause" ]
null
null
null
/* * This file is part of the statismo library. * * Author: Marcel Luethi (marcel.luethi@unibas.ch) * * Copyright (c) 2011 University of Basel * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * ar...
39.390476
116
0.731383
[ "model" ]
f187f8f1bd46b75ddcbbc8796326b2f603cf3f38
1,573
cpp
C++
Cplus/CreateTargetArrayintheGivenOrder.cpp
Jum1023/leetcode
d8248aa84452cb1ea768d9b05ecd72a6746c0016
[ "MIT" ]
1
2018-01-22T12:06:28.000Z
2018-01-22T12:06:28.000Z
Cplus/CreateTargetArrayintheGivenOrder.cpp
Jum1023/leetcode
d8248aa84452cb1ea768d9b05ecd72a6746c0016
[ "MIT" ]
null
null
null
Cplus/CreateTargetArrayintheGivenOrder.cpp
Jum1023/leetcode
d8248aa84452cb1ea768d9b05ecd72a6746c0016
[ "MIT" ]
null
null
null
#include <set> #include <vector> using namespace std; class Solution { public: vector<int> createTargetArray(vector<int> &nums, vector<int> &index) { int N = index.size(); // this O(n^2) part can be optimized using BIT to O(nlogn) // for (int i = 0; i < indexSize; ++i) // { // for (int j = i + 1; j < inde...
25.370968
99
0.520025
[ "vector" ]
f188d1ae64d78b14ee161350c07edce26f306d71
1,099
cpp
C++
toolbox/test/IteratorRecorder.cpp
campx/toolbox
c19ac77981360345acf2ca53479583042e4f018c
[ "Apache-2.0" ]
null
null
null
toolbox/test/IteratorRecorder.cpp
campx/toolbox
c19ac77981360345acf2ca53479583042e4f018c
[ "Apache-2.0" ]
null
null
null
toolbox/test/IteratorRecorder.cpp
campx/toolbox
c19ac77981360345acf2ca53479583042e4f018c
[ "Apache-2.0" ]
null
null
null
#include "gtest/gtest.h" #include <toolbox/Iterator.h> #include <toolbox/IteratorRecorder.h> TEST(Toolbox, IteratorRecorder) { using Input = std::vector<int>; using Recorder = toolbox::IteratorRecorder<Input::const_iterator>; auto input = Input{1, 2, 3, 4, 5, 6, 7, 8, 9}; auto recorder = Recorder{input...
35.451613
71
0.647862
[ "vector" ]
f195722c328b8a6eb2ad67fe176432114933c508
14,353
hpp
C++
compiler/src/ast/stmt/ast_stmts.hpp
TuplexLanguage/tuplex
fc436c78224522663e40e09d36f83570fd76ba2d
[ "Apache-2.0" ]
15
2017-08-15T20:46:44.000Z
2021-12-15T02:51:13.000Z
compiler/src/ast/stmt/ast_stmts.hpp
TuplexLanguage/tuplex
fc436c78224522663e40e09d36f83570fd76ba2d
[ "Apache-2.0" ]
null
null
null
compiler/src/ast/stmt/ast_stmts.hpp
TuplexLanguage/tuplex
fc436c78224522663e40e09d36f83570fd76ba2d
[ "Apache-2.0" ]
1
2017-09-28T14:48:15.000Z
2017-09-28T14:48:15.000Z
#pragma once #include "ast_stmt_node.hpp" #include "ast/ast_fielddef_node.hpp" #include "ast/expr/ast_assignee_node.hpp" #include "ast/expr/ast_exprs.hpp" /** Local field declaration */ class TxFieldStmtNode : public TxStatementNode { TxDeclarationFlags declFlags = TXD_NONE; protected: void set_exp_error_s...
34.337321
137
0.678186
[ "vector" ]
1afb54e9d2faf7f413491432b40245cf31bce911
12,378
cpp
C++
simulation/traffic_simulator/test/src/traffic_lights/test_traffic_light.cpp
WJaworskiRobotec/scenario_simulator_v2
c23497ac8716dcefef20d4b5a4ff1185e01f48e6
[ "Apache-2.0" ]
45
2021-04-12T22:43:25.000Z
2022-02-27T23:57:53.000Z
simulation/traffic_simulator/test/src/traffic_lights/test_traffic_light.cpp
WJaworskiRobotec/scenario_simulator_v2
c23497ac8716dcefef20d4b5a4ff1185e01f48e6
[ "Apache-2.0" ]
140
2021-04-13T04:28:19.000Z
2022-03-30T12:44:32.000Z
simulation/traffic_simulator/test/src/traffic_lights/test_traffic_light.cpp
WJaworskiRobotec/scenario_simulator_v2
c23497ac8716dcefef20d4b5a4ff1185e01f48e6
[ "Apache-2.0" ]
13
2021-05-22T02:24:49.000Z
2022-03-25T05:16:31.000Z
// Copyright 2015-2020 Tier IV, 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 app...
53.584416
100
0.793909
[ "vector" ]
2105c4adeadcd6dc7f863c51eb741d288be7979a
6,375
cpp
C++
automated-tests/src/dali-toolkit/utc-Dali-BloomView.cpp
dalihub/dali-toolk
980728a7e35b8ddd28f70c090243e8076e21536e
[ "Apache-2.0", "BSD-3-Clause" ]
7
2016-11-18T10:26:51.000Z
2021-01-28T13:51:59.000Z
automated-tests/src/dali-toolkit/utc-Dali-BloomView.cpp
dalihub/dali-toolk
980728a7e35b8ddd28f70c090243e8076e21536e
[ "Apache-2.0", "BSD-3-Clause" ]
13
2020-07-15T11:33:03.000Z
2021-04-09T21:29:23.000Z
automated-tests/src/dali-toolkit/utc-Dali-BloomView.cpp
dalihub/dali-toolk
980728a7e35b8ddd28f70c090243e8076e21536e
[ "Apache-2.0", "BSD-3-Clause" ]
10
2019-05-17T07:15:09.000Z
2021-05-24T07:28:08.000Z
/* * Copyright (c) 2014 Samsung Electronics Co., Ltd. * * 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...
28.0837
120
0.746196
[ "render" ]
210620091f5f1fbf193a95cc728ba9b7fbbe4d21
4,514
cpp
C++
alica_cace_tests/src/test_alica_authority.cpp
carpe-noctem-cassel/cace
e3c9cad6ca2e5b6ec5cb3b3c913a196fb95065b1
[ "MIT" ]
null
null
null
alica_cace_tests/src/test_alica_authority.cpp
carpe-noctem-cassel/cace
e3c9cad6ca2e5b6ec5cb3b3c913a196fb95065b1
[ "MIT" ]
null
null
null
alica_cace_tests/src/test_alica_authority.cpp
carpe-noctem-cassel/cace
e3c9cad6ca2e5b6ec5cb3b3c913a196fb95065b1
[ "MIT" ]
null
null
null
/* * test_alica_authority.cpp * * Created on: Oct 27, 2014 * Author: Stefan Jakob */ #include <gtest/gtest.h> #include <engine/AlicaEngine.h> #include <engine/IAlicaClock.h> #include "engine/IAlicaCommunication.h" #include "BehaviourCreator.h" #include "ConditionCreator.h" #include "ConstraintCreator.h" #in...
32.710145
139
0.719761
[ "model" ]
210a6de1fd198069022bf8c0beabef5cf6fd113d
9,001
cpp
C++
src/stochMath.cpp
KorfLab/StochHMM
965ee4fbe2f2dac8868387989901369cba452086
[ "MIT" ]
127
2015-01-16T13:05:48.000Z
2022-01-27T15:17:25.000Z
src/stochMath.cpp
johnson056029/nycuPPproj
a6231db4b0a29ddd509bff75e00d11c3f83d43a7
[ "MIT" ]
11
2015-03-19T16:51:42.000Z
2021-09-10T02:15:00.000Z
src/stochMath.cpp
johnson056029/nycuPPproj
a6231db4b0a29ddd509bff75e00d11c3f83d43a7
[ "MIT" ]
41
2015-06-04T02:02:09.000Z
2021-11-09T17:14:15.000Z
// // stochMath.cpp //Copyright (c) 2007-2012 Paul C Lott //University of California, Davis //Genome and Biomedical Sciences Facility //UC Davis Genome Center //Ian Korf Lab //Website: www.korflab.ucdavis.edu //Email: lottpaul@gmail.com // //Permission is hereby granted, free of charge, to any person obtaining a cop...
34.887597
164
0.585046
[ "shape", "vector" ]
210e228c18346b6ac2ab839d82346f080fb4d4ac
14,363
hpp
C++
include/musycl/midi/controller/keylab_essential.hpp
keryell/muSYCL
130e4b29c3a4daf4c908b08263b53910acb13787
[ "Apache-2.0" ]
16
2021-05-07T11:33:59.000Z
2022-03-05T02:36:06.000Z
include/musycl/midi/controller/keylab_essential.hpp
keryell/muSYCL
130e4b29c3a4daf4c908b08263b53910acb13787
[ "Apache-2.0" ]
null
null
null
include/musycl/midi/controller/keylab_essential.hpp
keryell/muSYCL
130e4b29c3a4daf4c908b08263b53910acb13787
[ "Apache-2.0" ]
null
null
null
#ifndef MUSYCL_MIDI_CONTROLLER_KEYLAB_ESSENTIAL_HPP #define MUSYCL_MIDI_CONTROLLER_KEYLAB_ESSENTIAL_HPP /** \file Represent a MIDI controller like the Arturia KeyLab49 Essential */ #include <chrono> #include <cstdlib> #include <functional> #include <iomanip> #include <iostream> #include <string> #include <threa...
36.734015
100
0.559354
[ "vector", "transform" ]
211293551468e79f78e55b2004c596c58cf24eb5
41,169
cpp
C++
mojiben1/mojiben1.cpp
katahiromz/mojiben
8a8d1a3fdffe6ff78165c50e37a6c44aee335e82
[ "MIT" ]
null
null
null
mojiben1/mojiben1.cpp
katahiromz/mojiben
8a8d1a3fdffe6ff78165c50e37a6c44aee335e82
[ "MIT" ]
3
2021-07-27T11:19:34.000Z
2021-07-27T12:01:43.000Z
mojiben1/mojiben1.cpp
katahiromz/mojiben
8a8d1a3fdffe6ff78165c50e37a6c44aee335e82
[ "MIT" ]
null
null
null
// Moji No Benkyo (1) // Copyright (C) 2019 Katayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com> // This file is public domain software. #include <windows.h> #include <windowsx.h> #include <mmsystem.h> #include <cstdlib> #include <process.h> #include <cmath> #include <new> #include <vector> #include <ma...
33.254443
104
0.468022
[ "vector" ]
21143836574f4b5e430654803548b170a4d6d18a
4,375
cpp
C++
Source/ArticyEditor/Private/Customizations/Details/ArticyRefCustomization.cpp
ArticySoftware/ArticyUnrealImporter
e70c6b5dd060c93e9ad0fb5c730801c9eca63479
[ "MIT" ]
71
2017-09-12T14:58:41.000Z
2022-03-31T23:42:53.000Z
Source/ArticyEditor/Private/Customizations/Details/ArticyRefCustomization.cpp
ArticySoftware/ArticyUnrealImporter
e70c6b5dd060c93e9ad0fb5c730801c9eca63479
[ "MIT" ]
38
2017-09-19T04:56:57.000Z
2022-01-25T17:55:38.000Z
Source/ArticyEditor/Private/Customizations/Details/ArticyRefCustomization.cpp
ArticySoftware/ArticyUnrealImporter
e70c6b5dd060c93e9ad0fb5c730801c9eca63479
[ "MIT" ]
25
2017-09-22T10:40:03.000Z
2021-08-25T12:39:22.000Z
// // Copyright (c) articy Software GmbH & Co. KG. All rights reserved. // #include "Customizations/Details/ArticyRefCustomization.h" #include "ArticyFunctionLibrary.h" #include "IDetailChildrenBuilder.h" #include "DetailWidgetRow.h" #include "ArticyObject.h" #include "ArticyRef.h" #include "UObject/ConstructorHel...
32.407407
182
0.794057
[ "object" ]
211585fff5d7012d709a0d610d21275d076d1aa6
2,318
cpp
C++
fw/source/numerical/ParametricSurfaceMeshBuilder.cpp
sienkiewiczkm/framework
9940403404aa5c67186fe09b0910de3a6c8e9762
[ "MIT" ]
null
null
null
fw/source/numerical/ParametricSurfaceMeshBuilder.cpp
sienkiewiczkm/framework
9940403404aa5c67186fe09b0910de3a6c8e9762
[ "MIT" ]
9
2016-12-09T13:02:18.000Z
2019-09-13T09:29:18.000Z
fw/source/numerical/ParametricSurfaceMeshBuilder.cpp
sienkiewiczkm/framework
9940403404aa5c67186fe09b0910de3a6c8e9762
[ "MIT" ]
null
null
null
#include "fw/numerical/ParametricSurfaceMeshBuilder.hpp" #include "fw/numerical/IParametricSurfaceUV.hpp" #include "Mesh.hpp" #include "Vertices.hpp" #include <iostream> #include <vector> #include <glm/glm.hpp> namespace fw { ParametricSurfaceMeshBuilder::ParametricSurfaceMeshBuilder() { } ParametricSurfaceMeshBui...
26.953488
76
0.652286
[ "mesh", "vector" ]
21158ab916d853921c68d2ddc447553c9aa9814f
1,022
cpp
C++
BFS.cpp
sanjeev30798/Hacktoberfest2020
9aee25770b79101b6e5ca19de107cca21d24b7b5
[ "MIT" ]
null
null
null
BFS.cpp
sanjeev30798/Hacktoberfest2020
9aee25770b79101b6e5ca19de107cca21d24b7b5
[ "MIT" ]
1
2020-10-02T05:19:47.000Z
2020-10-02T05:19:47.000Z
BFS.cpp
sanjeev30798/Hacktoberfest2020
9aee25770b79101b6e5ca19de107cca21d24b7b5
[ "MIT" ]
1
2020-10-02T03:40:13.000Z
2020-10-02T03:40:13.000Z
#include<bits/stdc++.h> using namespace std; int main() { ios::sync_with_stdio(0); cin.tie(0); cout.tie(0); int t; cin>>t; while(t--) { int n,m; cin>>n>>m; // number of nodes and edges vector<int> adj[n+1]; deque<int> q; int i; ...
23.767442
55
0.365949
[ "vector" ]
21177c3588481354e9629a31e1fb6cf859b6f86f
2,991
hpp
C++
sdl/Hypergraph/ParserUtil.hpp
sdl-research/hyp
d39f388f9cd283bcfa2f035f399b466407c30173
[ "Apache-2.0" ]
29
2015-01-26T21:49:51.000Z
2021-06-18T18:09:42.000Z
sdl/Hypergraph/ParserUtil.hpp
hypergraphs/hyp
d39f388f9cd283bcfa2f035f399b466407c30173
[ "Apache-2.0" ]
1
2015-12-08T15:03:15.000Z
2016-01-26T14:31:06.000Z
sdl/Hypergraph/ParserUtil.hpp
hypergraphs/hyp
d39f388f9cd283bcfa2f035f399b466407c30173
[ "Apache-2.0" ]
4
2015-11-21T14:25:38.000Z
2017-10-30T22:22:00.000Z
// Copyright 2014-2015 SDL plc // 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 writing,...
30.835052
112
0.694082
[ "vector" ]
211e40b2af9b8e93d90950a40087abc730669c78
1,285
cpp
C++
1642-furthest-building-you-can-reach/1642-furthest-building-you-can-reach.cpp
shreydevep/SpojList
c6436525fc26824e7d3b604aba40640d9b25aed2
[ "MIT" ]
null
null
null
1642-furthest-building-you-can-reach/1642-furthest-building-you-can-reach.cpp
shreydevep/SpojList
c6436525fc26824e7d3b604aba40640d9b25aed2
[ "MIT" ]
null
null
null
1642-furthest-building-you-can-reach/1642-furthest-building-you-can-reach.cpp
shreydevep/SpojList
c6436525fc26824e7d3b604aba40640d9b25aed2
[ "MIT" ]
null
null
null
class Solution { public: int furthestBuilding(vector<int>& heights, int bricks, int ladders) { int ans = 0; multiset<int> usedBricks; for(int i=1;i<heights.size();++i){ if(heights[i] > heights[i-1]){ //Ladder or Brick ...
29.204545
79
0.308171
[ "vector" ]
211ffaf598e58132afc966b7e62581d7ac00783d
981
cc
C++
JetMETCorrections/InterpolationTables/src/StorableMultivariateFunctor.cc
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
JetMETCorrections/InterpolationTables/src/StorableMultivariateFunctor.cc
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
JetMETCorrections/InterpolationTables/src/StorableMultivariateFunctor.cc
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
#include "JetMETCorrections/InterpolationTables/interface/NpstatException.h" #include "JetMETCorrections/InterpolationTables/interface/StorableMultivariateFunctorReader.h" namespace npstat { void StorableMultivariateFunctor::validateDescription( const std::string& description) const { if (desc...
35.035714
94
0.649337
[ "object" ]
21303de8eee6eb9a69bd9cbd6d999616b81bcc11
2,721
cc
C++
algo/pyq/Find Substring/1.cc
seckcoder/lang-learn
1e0d6f412bbd7f89b1af00293fd907ddb3c1b571
[ "Unlicense" ]
1
2017-10-14T04:23:45.000Z
2017-10-14T04:23:45.000Z
algo/pyq/Find Substring/1.cc
seckcoder/lang-learn
1e0d6f412bbd7f89b1af00293fd907ddb3c1b571
[ "Unlicense" ]
null
null
null
algo/pyq/Find Substring/1.cc
seckcoder/lang-learn
1e0d6f412bbd7f89b1af00293fd907ddb3c1b571
[ "Unlicense" ]
null
null
null
/* * * string s1 = "waeginsapnaabangpisebbasepgnccccapisdnfngaabndlrjngeuiogbbegbuoecccc"; * * string s2 = "a+b+c-"; * * s2的形式是一个字母加上一个符号,正号代表有两个前面的字符,负号代表有四个,也就是 * 说s2其实是"aabbcccc", 不考虑invalid. * * 在s1中,找出连续或者不连续的s2,也就是说从s1中找出"aa....bb.....cccc", abc顺序不能变, * 但是中间可以有零个或者多个字符,返回工作共有多少个。在上面这个鸽子中,有四个。 */ /...
23.66087
112
0.552003
[ "vector" ]
2132a27f2c0f55a07ee14ed3602c7bd69e9e3999
71,599
hh
C++
src/Field/FieldInline.hh
jmikeowen/Spheral
3e1082a7aefd6b328bd3ae24ca1a477108cfc3c4
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
22
2018-07-31T21:38:22.000Z
2020-06-29T08:58:33.000Z
src/Field/FieldInline.hh
jmikeowen/Spheral
3e1082a7aefd6b328bd3ae24ca1a477108cfc3c4
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
41
2020-09-28T23:14:27.000Z
2022-03-28T17:01:33.000Z
src/Field/FieldInline.hh
jmikeowen/Spheral
3e1082a7aefd6b328bd3ae24ca1a477108cfc3c4
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
7
2019-12-01T07:00:06.000Z
2020-09-15T21:12:39.000Z
#include "Field/FieldBase.hh" #include "Geometry/Dimension.hh" #include "NodeList/NodeList.hh" #include "Field/NodeIterators.hh" #include "Utilities/packElement.hh" #include "Utilities/removeElements.hh" #include "Utilities/safeInv.hh" #include "Utilities/allReduce.hh" #include "Distributed/Communicator.hh" #include <...
35.943273
169
0.51139
[ "geometry", "vector" ]
2137d2247602a6436a121a52d8cfe88d97e15ee3
6,202
cc
C++
net/spdy/chromium/header_coalescer_test.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
net/spdy/chromium/header_coalescer_test.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
net/spdy/chromium/header_coalescer_test.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2016 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 "net/spdy/chromium/header_coalescer.h" #include <vector> #include "net/log/test_net_log.h" #include "net/spdy/platform/api/spdy_string.h" #incl...
37.137725
80
0.676233
[ "vector" ]
213a9b093dbe84497b2e88087ea28cbaa0fccd00
1,144
cpp
C++
vnext/ReactWindowsCore/Modules/AppThemeModule.cpp
haseeAmarathunga/react-native-windows
b33ea7f0c1977bb089d995c37e41e88d1e770919
[ "MIT" ]
null
null
null
vnext/ReactWindowsCore/Modules/AppThemeModule.cpp
haseeAmarathunga/react-native-windows
b33ea7f0c1977bb089d995c37e41e88d1e770919
[ "MIT" ]
null
null
null
vnext/ReactWindowsCore/Modules/AppThemeModule.cpp
haseeAmarathunga/react-native-windows
b33ea7f0c1977bb089d995c37e41e88d1e770919
[ "MIT" ]
null
null
null
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #pragma once #include "AppThemeModule.h" namespace react { namespace windows { // // AppTheme // AppTheme::AppTheme() = default; AppTheme::~AppTheme() = default; const std::string AppTheme::getCurrentTh...
20.428571
93
0.670455
[ "vector" ]
2147c5b3e206d7333a9c75e241995f31a9443ef8
585
cpp
C++
src/datasource.cpp
bensengupta/search
fa2e22b78f4b989d79f8087d4c357df831fceb0d
[ "MIT" ]
null
null
null
src/datasource.cpp
bensengupta/search
fa2e22b78f4b989d79f8087d4c357df831fceb0d
[ "MIT" ]
null
null
null
src/datasource.cpp
bensengupta/search
fa2e22b78f4b989d79f8087d4c357df831fceb0d
[ "MIT" ]
null
null
null
#include "../include/datasource.h" #include <fstream> #include <iostream> using namespace std; vector<Document> DataSource::getDocuments() { return {}; } FileDataSource::FileDataSource(string filename) { this->filename = filename; } vector<Document> FileDataSource::getDocuments() { ifstream in(filename); if (i...
18.870968
78
0.644444
[ "vector" ]
214c02fac80e55bf8386f3e8202ed94e2e66f061
87,634
cpp
C++
code/appImmViewer/src/android/cpp/OvrApp.cpp
andybak/IMM
c725dcb28a1638dea726381a7189c3b031967d58
[ "Apache-2.0", "MIT" ]
33
2021-09-16T18:37:08.000Z
2022-03-22T23:02:44.000Z
code/appImmViewer/src/android/cpp/OvrApp.cpp
andybak/IMM
c725dcb28a1638dea726381a7189c3b031967d58
[ "Apache-2.0", "MIT" ]
5
2021-09-17T10:10:07.000Z
2022-03-28T12:33:29.000Z
code/appImmViewer/src/android/cpp/OvrApp.cpp
andybak/IMM
c725dcb28a1638dea726381a7189c3b031967d58
[ "Apache-2.0", "MIT" ]
5
2021-09-19T07:49:01.000Z
2021-12-12T21:25:35.000Z
#include "GlHelpers.h" #include "Haptics.h" #include "Log.h" #include "Events.h" //#include "Quillustration.h" #include "libImmPlayer/src/player.h" #include "libImmCore/src/libBasics/piTimer.h" #include "libImmCore/src/libBasics/piStr.h" #include "libImmCore/src/libMesh/piRenderMesh.h" #include "libImmCore/src/libSou...
37.773276
232
0.639409
[ "render", "vector" ]
214f3a4d4df36963c26a4d160de3979c713e0ca6
15,608
cpp
C++
admin/snapin/dfsadmin/dfsgui/pubprop.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
admin/snapin/dfsadmin/dfsgui/pubprop.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
admin/snapin/dfsadmin/dfsgui/pubprop.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
/*++ Module Name: pubProp.cpp Abstract: --*/ #include "stdafx.h" #include "resource.h" #include "utils.h" #include "pubProp.h" #include "mvEdit.h" #include "dfshelp.h" #include "ldaputils.h" CPublishPropPage::CPublishPropPage() : m_lNotifyHandle(0), m_lNotifyParam(0), CQWizardPag...
31.153693
125
0.578165
[ "object" ]
2153ba9635f783f75e719ee3d922ef0a06168f86
3,584
cpp
C++
First round 2020/arcmatch/main.cpp
wdjpng/soi
dd565587ae30985676f7f374093ec0687436b881
[ "MIT" ]
null
null
null
First round 2020/arcmatch/main.cpp
wdjpng/soi
dd565587ae30985676f7f374093ec0687436b881
[ "MIT" ]
null
null
null
First round 2020/arcmatch/main.cpp
wdjpng/soi
dd565587ae30985676f7f374093ec0687436b881
[ "MIT" ]
null
null
null
#include <iostream> #include <map> #include <queue> #include <bits/stdc++.h> using namespace std; #define int long long ifstream fin("/tmp/arcmatch-sub3-attempt0.txt"); #define cin fin void colorGraph(vector<vector<int>> &graph, vector<int> &colors, int start) { queue<int> queue; queue.push(start); colo...
25.971014
78
0.467913
[ "vector" ]
215b7099b759669fd202d4b0d01525124fe02c9b
34,977
cc
C++
gearsBridge/lshw/src/core/pci.cc
SSEHUB/spassMeter
f5071105fec6f5afbbd7426b8149b7973c1a5e55
[ "Apache-2.0" ]
1
2015-08-06T08:48:12.000Z
2015-08-06T08:48:12.000Z
gearsBridge/lshw/src/core/pci.cc
SSEHUB/spassMeter
f5071105fec6f5afbbd7426b8149b7973c1a5e55
[ "Apache-2.0" ]
1
2018-05-08T12:17:23.000Z
2018-05-09T12:03:13.000Z
gearsBridge/lshw/src/core/pci.cc
SSEHUB/spassMeter
f5071105fec6f5afbbd7426b8149b7973c1a5e55
[ "Apache-2.0" ]
3
2015-09-26T22:19:40.000Z
2018-08-27T05:36:34.000Z
#include "version.h" #include "config.h" #include "pci.h" #include "osutils.h" #include "options.h" #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <stdint.h> #include <unistd.h> #include <stdio.h> #include <string.h> #include <stdlib.h> #include <dirent.h> __ID("@(#) $Id: pci.cc 2124 2009-10-...
29.367758
161
0.585499
[ "vector" ]
215f2ea6cdd6b88662c4fc1b15d44b6b7f31015d
1,126
cpp
C++
src/ListBaton.cpp
ntbosscher/node-serialport
54ca999ffd92be7196613ac78f38745a10ef52d5
[ "MIT" ]
null
null
null
src/ListBaton.cpp
ntbosscher/node-serialport
54ca999ffd92be7196613ac78f38745a10ef52d5
[ "MIT" ]
null
null
null
src/ListBaton.cpp
ntbosscher/node-serialport
54ca999ffd92be7196613ac78f38745a10ef52d5
[ "MIT" ]
null
null
null
#include "./ListBaton.h" #include <nan.h> v8::Local<v8::Value> ListBaton::getReturnValue() { v8::Local<v8::Array> results = Nan::New<v8::Array>(); int i = 0; for (std::list<unique_ptr<ListResultItem>>::iterator it = this->results.begin(); it != this->results.end(); ++it, i++) { v8::Local<v8::...
28.15
122
0.600355
[ "object" ]
21620355e99ce190e6a49c725eeba055f8ab3096
17,996
cpp
C++
SMB3_v2_C++/assets/classes/scene/ScenePlay.cpp
Izay0i/SuperMarioBros3
46d254aa1ae4396175145d9743932c5c4fbf1763
[ "MIT" ]
1
2020-11-09T09:08:02.000Z
2020-11-09T09:08:02.000Z
SMB3_v2_C++/assets/classes/scene/ScenePlay.cpp
Izay0i/SuperMarioBros3
46d254aa1ae4396175145d9743932c5c4fbf1763
[ "MIT" ]
null
null
null
SMB3_v2_C++/assets/classes/scene/ScenePlay.cpp
Izay0i/SuperMarioBros3
46d254aa1ae4396175145d9743932c5c4fbf1763
[ "MIT" ]
null
null
null
#include <random> #include "../Game.h" #include "../SceneManager.h" #include "Scene.h" #include "ScenePlay.h" #include "../EntityList.h" #include "../audio/AudioService.h" ScenePlay::ScenePlay(SceneType sceneID, std::string path) : Scene(sceneID, path) { _hurryUpTime = 3000; _pitch = 1.0f; } ScenePlay::~ScenePlay(...
31.907801
110
0.634308
[ "render", "vector" ]
2167b05d3c4679256335107fb29fa6de6ef02449
802
cc
C++
core/core.cc
theanarkh/No.js
0a1a72ada412a46de8994691b9b490092e515157
[ "MIT" ]
42
2021-06-09T02:25:35.000Z
2022-02-16T06:12:44.000Z
core/core.cc
tangkepeng/No.js
5569dec2d416118cc33b1209c9d4569e51094921
[ "MIT" ]
null
null
null
core/core.cc
tangkepeng/No.js
5569dec2d416118cc33b1209c9d4569e51094921
[ "MIT" ]
2
2021-09-19T02:24:21.000Z
2021-10-07T13:28:42.000Z
#include "core.h" void No::Core::register_builtins(Isolate * isolate, Local<Object> No) { Local<Object> target = Object::New(isolate); FS::Init(isolate, target); TCP::Init(isolate, target); Process::Init(isolate, target); Console::Init(isolate, target); IO::Init(isolate, target); Net::In...
32.08
71
0.663342
[ "object" ]
216e6e304e1163eeb453b59188eecda675233b3f
50,781
cpp
C++
VulkanBunnyMark/base/VulkanFramework.cpp
re-esper/BunnyMarkGame
43a570dd2ecf9fd35e834208e3b440216d0d1455
[ "MIT" ]
7
2020-01-09T01:59:59.000Z
2020-09-05T15:15:46.000Z
VulkanBunnyMark/base/VulkanFramework.cpp
re-esper/BunnyMarkGame
43a570dd2ecf9fd35e834208e3b440216d0d1455
[ "MIT" ]
null
null
null
VulkanBunnyMark/base/VulkanFramework.cpp
re-esper/BunnyMarkGame
43a570dd2ecf9fd35e834208e3b440216d0d1455
[ "MIT" ]
null
null
null
/* * Vulkan Example base class * * Copyright (C) by Sascha Willems - www.saschawillems.de * * This code is licensed under the MIT license (MIT) (http://opensource.org/licenses/MIT) */ #include "VulkanFramework.h" std::vector<const char*> VulkanFramework::args; VkResult VulkanFramework::createInstance(bool enableVali...
36.559395
198
0.64725
[ "render", "vector", "model" ]
217c58e224a8237ee1dbe7d0b7095195f43be962
13,183
cpp
C++
cpp/src/cylon/net/ops/gather.cpp
deHasara/cylon
f5e31a1191d6a30c0a8c5778a7db4a07c5802da8
[ "Apache-2.0" ]
229
2020-07-01T14:05:10.000Z
2022-03-25T12:26:58.000Z
cpp/src/cylon/net/ops/gather.cpp
deHasara/cylon
f5e31a1191d6a30c0a8c5778a7db4a07c5802da8
[ "Apache-2.0" ]
261
2020-06-30T23:23:15.000Z
2022-03-16T09:55:40.000Z
cpp/src/cylon/net/ops/gather.cpp
deHasara/cylon
f5e31a1191d6a30c0a8c5778a7db4a07c5802da8
[ "Apache-2.0" ]
36
2020-06-30T23:14:52.000Z
2022-03-03T02:37:09.000Z
/* * 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 writing, software * distributed u...
41.455975
113
0.550709
[ "vector" ]
217cac2d329442c6f6b8abecc975387c5e25da87
969
cpp
C++
LC0025.cpp
lurenhaothu/Leetcode
a4aac47ff822deb861d6f6d9122d964090847d96
[ "MIT" ]
null
null
null
LC0025.cpp
lurenhaothu/Leetcode
a4aac47ff822deb861d6f6d9122d964090847d96
[ "MIT" ]
null
null
null
LC0025.cpp
lurenhaothu/Leetcode
a4aac47ff822deb861d6f6d9122d964090847d96
[ "MIT" ]
null
null
null
/** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode() : val(0), next(nullptr) {} * ListNode(int x) : val(x), next(nullptr) {} * ListNode(int x, ListNode *next) : val(x), next(next) {} * }; */ class Solution { public: ListNode* reverseKGro...
26.189189
62
0.379773
[ "vector" ]
2189b80b0c3248becbdb2f7d66781a3be2cd075f
15,735
cc
C++
mysql-server/sql/dd/impl/types/index_impl.cc
silenc3502/MYSQL-Arch-Doc-Summary
fcc6bb65f72a385b9f56debc9b2c00cee5914bae
[ "MIT" ]
null
null
null
mysql-server/sql/dd/impl/types/index_impl.cc
silenc3502/MYSQL-Arch-Doc-Summary
fcc6bb65f72a385b9f56debc9b2c00cee5914bae
[ "MIT" ]
null
null
null
mysql-server/sql/dd/impl/types/index_impl.cc
silenc3502/MYSQL-Arch-Doc-Summary
fcc6bb65f72a385b9f56debc9b2c00cee5914bae
[ "MIT" ]
null
null
null
/* Copyright (c) 2014, 2020, Oracle and/or its affiliates. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by the Free Software Foundation. This program is also distributed with certai...
37.023529
84
0.629679
[ "geometry", "object" ]
218b6c20fc9e59162b9eb52e7cbd4b9bccaa8a6d
4,434
hpp
C++
src/backend/opencl/kernel/transform.hpp
ckeitz/arrayfire
a1a1bbbc8487a032eb27a6c894b1b3dfb19d123b
[ "BSD-3-Clause" ]
4
2015-12-16T09:41:32.000Z
2018-10-29T10:38:53.000Z
src/backend/opencl/kernel/transform.hpp
ckeitz/arrayfire
a1a1bbbc8487a032eb27a6c894b1b3dfb19d123b
[ "BSD-3-Clause" ]
3
2015-11-15T18:43:47.000Z
2015-12-16T09:43:14.000Z
src/backend/opencl/kernel/transform.hpp
pavanky/arrayfire
f983a79c7d402450bd2a704bbc1015b89f0cd504
[ "BSD-3-Clause" ]
null
null
null
/******************************************************* * Copyright (c) 2014, ArrayFire * All rights reserved. * * This file is distributed under 3-clause BSD license. * The complete license agreement can be obtained at: * http://arrayfire.com/licenses/BSD-3-Clause **********************************************...
37.576271
103
0.486243
[ "transform" ]
219052fe1f91b0d3ce2c0845ea9a018ed1391cce
19,466
cpp
C++
modules/arch/x86/X86Arch.cpp
rpavlik/assembler
08480a71611c1b077630897a93407b7e371f8074
[ "BSD-2-Clause" ]
1
2019-12-17T01:47:08.000Z
2019-12-17T01:47:08.000Z
modules/arch/x86/X86Arch.cpp
rpavlik/assembler
08480a71611c1b077630897a93407b7e371f8074
[ "BSD-2-Clause" ]
null
null
null
modules/arch/x86/X86Arch.cpp
rpavlik/assembler
08480a71611c1b077630897a93407b7e371f8074
[ "BSD-2-Clause" ]
null
null
null
// // x86 architecture description // // Copyright (C) 2002-2007 Peter Johnson // // 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, t...
37.291188
80
0.572742
[ "object" ]
2190d71502069cd6fc9ffe96433b2662debc1916
6,023
hpp
C++
client/definition.hpp
zzccttu/moondb
1f5b919917c4ba98d62b0a85ef5e07f0588ee324
[ "MIT" ]
null
null
null
client/definition.hpp
zzccttu/moondb
1f5b919917c4ba98d62b0a85ef5e07f0588ee324
[ "MIT" ]
null
null
null
client/definition.hpp
zzccttu/moondb
1f5b919917c4ba98d62b0a85ef5e07f0588ee324
[ "MIT" ]
null
null
null
#pragma once #include <unordered_map> #include <vector> #include <string> namespace MoonDb { enum FieldType { FT_NONE,// 仅用于标记未识别的字段类型 FT_BOOL, FT_BIT,//n位bit,n从1至128 FT_INT8, FT_UINT8, FT_INT16, FT_UINT16, FT_INT32, FT_UINT32, FT_INT64, FT_UINT64, FT_INT128, FT_UINT128, FT_SERIAL16,//16位...
27.253394
162
0.66794
[ "vector" ]
219391e4d0e78029de2b406ac057f5f2d8145391
1,323
hpp
C++
reader.hpp
ushitora-anqou/mal
204357eaa01368db2bdbb788833338d3f2fe717e
[ "MIT" ]
null
null
null
reader.hpp
ushitora-anqou/mal
204357eaa01368db2bdbb788833338d3f2fe717e
[ "MIT" ]
null
null
null
reader.hpp
ushitora-anqou/mal
204357eaa01368db2bdbb788833338d3f2fe717e
[ "MIT" ]
null
null
null
#pragma once #ifndef MAL_READER_HPP #define MAL_READER_HPP #include <deque> #include "hoolib.hpp" #include "type.hpp" class Reader { private: std::deque<std::string> tokens_; public: Reader(const std::string& src) { auto re = std::regex( R"([\s,]*(~@|[\[\]{}()'`~^@]|"(?:\\.|[^\\"])*"|...
24.962264
92
0.588813
[ "vector" ]
21947fdf1c69ff9daa43d4e3ba7b82fcf4711ebf
6,009
cpp
C++
tests/matrice.cpp
ZongoForSpeed/ProjectEuler
2e2d45f984d48a1da8275886c976f909a0de94ce
[ "MIT" ]
6
2015-10-13T17:07:21.000Z
2018-05-08T11:50:22.000Z
tests/matrice.cpp
ZongoForSpeed/ProjectEuler
2e2d45f984d48a1da8275886c976f909a0de94ce
[ "MIT" ]
null
null
null
tests/matrice.cpp
ZongoForSpeed/ProjectEuler
2e2d45f984d48a1da8275886c976f909a0de94ce
[ "MIT" ]
null
null
null
#include <boost/test/unit_test.hpp> #include "matrice.h" #include <boost/numeric/ublas/assignment.hpp> #include <boost/rational.hpp> BOOST_AUTO_TEST_SUITE(test_matrice) BOOST_AUTO_TEST_CASE(puissance) { matrice::matrice<long long> A(2, 2); A <<= 1, 1, 1, 0; auto F = matri...
33.383333
86
0.514728
[ "vector" ]
2195a66e695e181a7850be7f823b1bc9fd2f9f4f
50,278
cpp
C++
src/vm/wasm/eos-vm/tests/spec/names_tests.cpp
nondejus/WaykiChain
dddd2b882f380e416b3069155bb3431fd5627258
[ "MIT" ]
1
2020-02-27T00:29:05.000Z
2020-02-27T00:29:05.000Z
src/vm/wasm/eos-vm/tests/spec/names_tests.cpp
nondejus/WaykiChain
dddd2b882f380e416b3069155bb3431fd5627258
[ "MIT" ]
null
null
null
src/vm/wasm/eos-vm/tests/spec/names_tests.cpp
nondejus/WaykiChain
dddd2b882f380e416b3069155bb3431fd5627258
[ "MIT" ]
1
2020-10-27T14:25:23.000Z
2020-10-27T14:25:23.000Z
#include <algorithm> #include <vector> #include <iostream> #include <iterator> #include <cmath> #include <cstdlib> #include <catch2/catch.hpp> #include <utils.hpp> #include <wasm_config.hpp> #include <eosio/vm/backend.hpp> using namespace eosio; using namespace eosio::vm; extern wasm_allocator wa; BACKEND_TEST_CASE( ...
94.507519
1,093
0.676658
[ "vector" ]
2195d3c3f968db17c44a1583263ab69f8c0a8d8c
136,267
cpp
C++
src/cld/Frontend/Compiler/ParserDeclarations.cpp
zero9178/cld
2899ade8045074c5ee939253d2d7f8067c46e72d
[ "MIT" ]
14
2020-10-16T08:29:32.000Z
2021-12-21T10:37:05.000Z
src/cld/Frontend/Compiler/ParserDeclarations.cpp
zero9178/cld
2899ade8045074c5ee939253d2d7f8067c46e72d
[ "MIT" ]
null
null
null
src/cld/Frontend/Compiler/ParserDeclarations.cpp
zero9178/cld
2899ade8045074c5ee939253d2d7f8067c46e72d
[ "MIT" ]
null
null
null
#include "Parser.hpp" #include <cld/Support/ScopeExit.hpp> #include <algorithm> #include <unordered_set> #include "ErrorMessages.hpp" #include "ParserUtil.hpp" #include "SemanticUtil.hpp" #include "Semantics.hpp" using namespace cld::Syntax; namespace { std::vector<DeclarationSpecifier> parseDeclarationSpecifierLi...
44.156513
120
0.519774
[ "vector" ]
2199c7dc11f5dd6a9c6560e3c4f882ac92c2b24e
29,999
cpp
C++
src/yvalve/alt.cpp
AlexeyMochalov/firebird
8b485a455c70d1eaf201192b46b5dd5fdf5ea386
[ "Condor-1.1" ]
988
2016-03-16T10:27:43.000Z
2022-03-31T14:52:19.000Z
src/yvalve/alt.cpp
AlexeyMochalov/firebird
8b485a455c70d1eaf201192b46b5dd5fdf5ea386
[ "Condor-1.1" ]
574
2016-03-23T15:35:56.000Z
2022-03-31T07:11:03.000Z
src/yvalve/alt.cpp
AlexeyMochalov/firebird
8b485a455c70d1eaf201192b46b5dd5fdf5ea386
[ "Condor-1.1" ]
241
2016-03-17T09:53:16.000Z
2022-03-29T19:58:29.000Z
/* * PROGRAM: JRD Access Method * MODULE: alt.cpp * DESCRIPTION: Alternative entrypoints * * The contents of this file are subject to the Interbase Public * License Version 1.0 (the "License"); you may not use this file * except in compliance with the License. You may obtain a co...
28.435071
109
0.679756
[ "vector" ]
427187a8512070a2945a21aaa73153c7fd1283a4
7,981
hh
C++
src/ExecutableFormats/PEFFFile.hh
fuzziqersoftware/realmz_dasm
fbfa118de5f232fd7169fbff13d434164a67ee90
[ "MIT" ]
1
2018-03-20T13:06:16.000Z
2018-03-20T13:06:16.000Z
src/ExecutableFormats/PEFFFile.hh
fuzziqersoftware/realmz_dasm
fbfa118de5f232fd7169fbff13d434164a67ee90
[ "MIT" ]
null
null
null
src/ExecutableFormats/PEFFFile.hh
fuzziqersoftware/realmz_dasm
fbfa118de5f232fd7169fbff13d434164a67ee90
[ "MIT" ]
null
null
null
#pragma once #include <inttypes.h> #include <map> #include <phosg/Encoding.hh> #include <memory> #include <vector> #include "../Emulators/MemoryContext.hh" //////////////////////////////////////////////////////////////////////////////// // Overall structure // PEFF files have, in this order: // ...
28.812274
96
0.697156
[ "vector" ]
42749b72f7585a28df0fffe92d73d1d47e06c41c
1,706
hpp
C++
inc/map.hpp
davemoore22/libtcod-painters-algorithm
b67118b5d93150b80a1dcdf247f3433f648415f1
[ "MIT" ]
7
2019-05-18T06:59:03.000Z
2020-08-01T01:50:55.000Z
inc/map.hpp
davemoore22/libtcod-painters-algorithm
b67118b5d93150b80a1dcdf247f3433f648415f1
[ "MIT" ]
null
null
null
inc/map.hpp
davemoore22/libtcod-painters-algorithm
b67118b5d93150b80a1dcdf247f3433f648415f1
[ "MIT" ]
null
null
null
// Copyright 2019 Dave Moore // // Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated // documentation files (the "Software"), to deal in the Software without restriction, including without limitation the // rights to use, copy, modify, merge, publish, distribut...
37.911111
120
0.722157
[ "render" ]
4277a3627e81ffc9f1aa045cd1a53f5232524618
4,648
cpp
C++
src/spectrast/SpectraSTSearchOutput.cpp
lkszmn/spectrast
f028aafcea5045e3cb5837c337f4fa90c90993f3
[ "Zlib", "MIT" ]
null
null
null
src/spectrast/SpectraSTSearchOutput.cpp
lkszmn/spectrast
f028aafcea5045e3cb5837c337f4fa90c90993f3
[ "Zlib", "MIT" ]
null
null
null
src/spectrast/SpectraSTSearchOutput.cpp
lkszmn/spectrast
f028aafcea5045e3cb5837c337f4fa90c90993f3
[ "Zlib", "MIT" ]
3
2019-10-30T13:08:05.000Z
2022-02-22T19:16:31.000Z
#include "SpectraSTSearchOutput.hpp" #include "SpectraSTTxtSearchOutput.hpp" #include "SpectraSTXlsSearchOutput.hpp" #include "SpectraSTPepXMLSearchOutput.hpp" #include "SpectraSTHtmlSearchOutput.hpp" #include "SpectraSTLog.hpp" #include "FileUtils.hpp" #include <iostream> /* Program : Spectrast Author ...
30.379085
142
0.736661
[ "object" ]
427b8217456c165f4ba8884fbb689043bb76ccbd
330,388
cc
C++
deps/v8/src/runtime/runtime.cc
vblanca/vbl
e7dec60a63b9171465fd4037a04aeb709198aea2
[ "Artistic-2.0" ]
1
2019-04-15T16:35:15.000Z
2019-04-15T16:35:15.000Z
deps/v8/src/runtime/runtime.cc
vblanca/vbl
e7dec60a63b9171465fd4037a04aeb709198aea2
[ "Artistic-2.0" ]
null
null
null
deps/v8/src/runtime/runtime.cc
vblanca/vbl
e7dec60a63b9171465fd4037a04aeb709198aea2
[ "Artistic-2.0" ]
null
null
null
// Copyright 2012 the V8 project 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 <stdlib.h> #include <limits> #include "src/v8.h" #include "src/accessors.h" #include "src/allocation-site-scopes.h" #include "src/api.h" #inc...
35.460771
80
0.682579
[ "object", "vector", "transform" ]
427fe7f27096b975b09b6f01182851d7d80e24c2
8,547
ipp
C++
Biosphere/Include/bio/biocoenosis/fauna/hipc/Object.ipp
PMArkive/Biosphere
baf62450b084ce327c3fc2eb0aa918e32462164e
[ "MIT" ]
1
2021-09-10T17:18:51.000Z
2021-09-10T17:18:51.000Z
Biosphere/Include/bio/biocoenosis/fauna/hipc/Object.ipp
PMArkive/Biosphere
baf62450b084ce327c3fc2eb0aa918e32462164e
[ "MIT" ]
null
null
null
Biosphere/Include/bio/biocoenosis/fauna/hipc/Object.ipp
PMArkive/Biosphere
baf62450b084ce327c3fc2eb0aa918e32462164e
[ "MIT" ]
null
null
null
namespace bio::hipc { template<u32 CommandId, typename ...Arguments> Result Object::ProcessRequest(Arguments &&...Args) { bool domainmode = (this->IsDomain() || this->IsSubService()); u64 orawsz = 0; RequestData rq; u32 *tls = (u32*)arm::GetThreadLocalStorage(); rq.In...
42.311881
154
0.49491
[ "object" ]
4284cab2c38d9ff044480cffe6f1eab435906608
2,044
cpp
C++
main.cpp
kmmax/HostInfo
d7bfdbac3ba297e678c3e24b483533e8820bf41e
[ "MIT" ]
null
null
null
main.cpp
kmmax/HostInfo
d7bfdbac3ba297e678c3e24b483533e8820bf41e
[ "MIT" ]
null
null
null
main.cpp
kmmax/HostInfo
d7bfdbac3ba297e678c3e24b483533e8820bf41e
[ "MIT" ]
null
null
null
#include "mainwindow.h" #include "transparant.h" #include <QApplication> #include <QScreen> #include <QDebug> #include <QLabel> #include <QSysInfo> #include <QHostInfo> #include <QNetworkInterface> #include <QTextEdit> #include <QFontMetrics> #include <algorithm> int main(int argc, char *argv[]) { QApplication ...
27.621622
86
0.624755
[ "geometry" ]
428c727b286b872fbbc5fee508d5ed319c6b25b0
1,216
cpp
C++
ElectruxShorthandInterpretedLanguage/src/LineTypeHandler/ModuleLoader.cpp
Electrux/CCPP-Code
3c5e5b866cf050c11bced9651b112eb31dd2465d
[ "BSD-3-Clause" ]
6
2019-08-29T23:31:17.000Z
2021-11-14T20:35:47.000Z
ElectruxShorthandInterpretedLanguage/src/LineTypeHandler/ModuleLoader.cpp
Electrux/CCPP-Code
3c5e5b866cf050c11bced9651b112eb31dd2465d
[ "BSD-3-Clause" ]
null
null
null
ElectruxShorthandInterpretedLanguage/src/LineTypeHandler/ModuleLoader.cpp
Electrux/CCPP-Code
3c5e5b866cf050c11bced9651b112eb31dd2465d
[ "BSD-3-Clause" ]
1
2019-09-01T12:22:58.000Z
2019-09-01T12:22:58.000Z
#include <iostream> #include <string> #include <vector> #include <fstream> #include "../../include/Errors.hpp" #include "../../include/DataTypes.hpp" #include "../../include/Executor.hpp" #include "../../include/Lexer.hpp" #include "../../include/LineTypeHandler/ModuleLoader.hpp" ErrorTypes LoadModule( const std::ve...
23.384615
119
0.627467
[ "vector" ]
428e36f614eb9aa41bfffc18858a9fc12976ce1d
2,426
cpp
C++
Source/Dynamics/RigidBody/RigidDebugInfoModule.cpp
weikm/sandcarSimulation2
fe499d0a3289c0ac1acce69c7dc78d8ce1b2708a
[ "Apache-2.0" ]
null
null
null
Source/Dynamics/RigidBody/RigidDebugInfoModule.cpp
weikm/sandcarSimulation2
fe499d0a3289c0ac1acce69c7dc78d8ce1b2708a
[ "Apache-2.0" ]
null
null
null
Source/Dynamics/RigidBody/RigidDebugInfoModule.cpp
weikm/sandcarSimulation2
fe499d0a3289c0ac1acce69c7dc78d8ce1b2708a
[ "Apache-2.0" ]
null
null
null
#include "RigidDebugInfoModule.h" #include "RigidBodyRoot.h" #include <iostream> namespace PhysIKA { IMPLEMENT_CLASS(RigidDebugInfoModule) bool RigidDebugInfoModule::execute() { RigidBodyRoot<DataType3f>* root = static_cast<RigidBodyRoot<DataType3f>*>(this->getParent()); const std::vector<std::pair<int, Rig...
33.694444
144
0.556472
[ "vector" ]
428f6aa8fd16f5203d258acd8ac03296ed4f0152
4,293
hpp
C++
header/p6_move_bar.hpp
Meta-chan/P6
2323f3f12894d2eb01a777643f69301a368f9c69
[ "MIT" ]
null
null
null
header/p6_move_bar.hpp
Meta-chan/P6
2323f3f12894d2eb01a777643f69301a368f9c69
[ "MIT" ]
null
null
null
header/p6_move_bar.hpp
Meta-chan/P6
2323f3f12894d2eb01a777643f69301a368f9c69
[ "MIT" ]
null
null
null
/* This software is distributed under MIT License, which means: - Do whatever you want - Please keep this notice and include the license file to your project - I provide no warranty Created by Kyrylo Sovailo (github.com/Meta-chan, k.sovailo@gmail.com) Reinventing bicycles since 2020 */ #ifndef P6_MOVE_BAR #d...
55.753247
157
0.728162
[ "vector" ]
429f2f0efbf378a6ef94364cfcf3d03dfcaa6f99
1,325
cpp
C++
URI/1266/code.cpp
fspaniol/Competitive-Programming
5ebd53c9d966750800e16f74273b194c04bb7f70
[ "MIT" ]
null
null
null
URI/1266/code.cpp
fspaniol/Competitive-Programming
5ebd53c9d966750800e16f74273b194c04bb7f70
[ "MIT" ]
null
null
null
URI/1266/code.cpp
fspaniol/Competitive-Programming
5ebd53c9d966750800e16f74273b194c04bb7f70
[ "MIT" ]
null
null
null
#include <map> #include <set> #include <list> #include <cmath> #include <ctime> #include <deque> #include <queue> #include <stack> #include <string> #include <bitset> #include <cstdio> #include <limits> #include <vector> #include <climits> #include <cstring> #include <cstdlib> #include <fstream> #include <numeric> #inc...
21.721311
87
0.464151
[ "vector" ]
42ac4849437f7955796a9e8f695d16ee7a67ca94
4,803
hpp
C++
thirdparty/antlr/cpp/antlr3memory.hpp
RuslanKorshunov/sc-machine
8cb79a818d4e4144843b26722ac67bd71515ddaf
[ "MIT" ]
1
2020-05-05T14:11:05.000Z
2020-05-05T14:11:05.000Z
thirdparty/antlr/cpp/antlr3memory.hpp
RuslanKorshunov/sc-machine
8cb79a818d4e4144843b26722ac67bd71515ddaf
[ "MIT" ]
3
2020-03-23T09:16:47.000Z
2020-10-13T20:41:59.000Z
thirdparty/antlr/cpp/antlr3memory.hpp
RuslanKorshunov/sc-machine
8cb79a818d4e4144843b26722ac67bd71515ddaf
[ "MIT" ]
23
2015-04-18T15:11:56.000Z
2021-12-21T14:43:22.000Z
#ifndef _ANTLR3MEMORY_HPP #define _ANTLR3MEMORY_HPP // [The "BSD licence"] // Copyright (c) 2005-2009 Gokulakannan Somasundaram, ElectronDB // // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are m...
29.109091
88
0.689985
[ "vector" ]
42b194e6a247160d4453ecf7a7f6558e3de79ef9
958
hpp
C++
include/mango/image/quantize.hpp
ufoym/mango
9732fc528f66439f50a3a7cb72d4ba42a59a3d54
[ "Zlib" ]
3
2021-02-27T10:29:37.000Z
2022-02-16T16:31:26.000Z
include/mango/image/quantize.hpp
ufoym/mango
9732fc528f66439f50a3a7cb72d4ba42a59a3d54
[ "Zlib" ]
null
null
null
include/mango/image/quantize.hpp
ufoym/mango
9732fc528f66439f50a3a7cb72d4ba42a59a3d54
[ "Zlib" ]
5
2021-03-22T11:06:00.000Z
2022-02-22T02:53:19.000Z
/* MANGO Multimedia Development Platform Copyright (C) 2012-2021 Twilight Finland 3D Oy Ltd. All rights reserved. */ #pragma once #include <mango/image/format.hpp> #include <mango/image/surface.hpp> namespace mango::image { class ColorQuantizer { protected: enum { NETSIZE = 256 }; ...
24.564103
101
0.649269
[ "3d" ]
42b5f1243b2c01517020550c36d788522299cc19
2,977
hpp
C++
include/HMUI/ITableCellOwner.hpp
RedBrumbler/BeatSaber-Quest-Codegen
73dda50b5a3e51f10d86b766dcaa24b0c6226e25
[ "Unlicense" ]
null
null
null
include/HMUI/ITableCellOwner.hpp
RedBrumbler/BeatSaber-Quest-Codegen
73dda50b5a3e51f10d86b766dcaa24b0c6226e25
[ "Unlicense" ]
null
null
null
include/HMUI/ITableCellOwner.hpp
RedBrumbler/BeatSaber-Quest-Codegen
73dda50b5a3e51f10d86b766dcaa24b0c6226e25
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "beatsaber-hook/shared/utils/byref.hpp" // Completed includes // Begin forward declares // Forward declaring namespace: HMUI namespace ...
43.779412
176
0.723547
[ "vector" ]
42bd94b3542bd10c55a0705304cf2ab2e490490d
28,147
cpp
C++
src/Mesh.cpp
RedFox20/NanoMesh
89e4e74ea793b3c950c8d82ab238ab3c85adf77a
[ "MIT" ]
1
2020-08-13T01:37:32.000Z
2020-08-13T01:37:32.000Z
src/Mesh.cpp
RedFox20/NanoMesh
89e4e74ea793b3c950c8d82ab238ab3c85adf77a
[ "MIT" ]
null
null
null
src/Mesh.cpp
RedFox20/NanoMesh
89e4e74ea793b3c950c8d82ab238ab3c85adf77a
[ "MIT" ]
1
2018-10-18T11:48:35.000Z
2018-10-18T11:48:35.000Z
#include <Nano/Mesh.h> #include <rpp/file_io.h> #include <rpp/sprint.h> #include <rpp/timer.h> #include "InternalConfig.h" namespace Nano { using namespace rpp::literals; /////////////////////////////////////////////////////////////////////////////////////////////// bool VertexDescr::operator==(const Vert...
32.058087
121
0.508615
[ "mesh", "vector" ]
42c093e6392be89afb0ee95a2c013fa1bef33511
2,403
cpp
C++
LaneDetector/demo.cpp
hitrich/Autonomous_Car_Lane_Det
c4546663e2ac4a922f79aa17ade0994b57d13b58
[ "MIT" ]
null
null
null
LaneDetector/demo.cpp
hitrich/Autonomous_Car_Lane_Det
c4546663e2ac4a922f79aa17ade0994b57d13b58
[ "MIT" ]
null
null
null
LaneDetector/demo.cpp
hitrich/Autonomous_Car_Lane_Det
c4546663e2ac4a922f79aa17ade0994b57d13b58
[ "MIT" ]
null
null
null
#include <opencv2/highgui/highgui.hpp> #include <iostream> #include <string> #include <vector> #include "opencv2/opencv.hpp" #include "../include/LaneDetector.hpp" #include "../LaneDetector/LaneDetector.cpp" /** *@brief Function main that runs the main algorithm of the lane detection. *@brief It will read a video of...
30.0375
79
0.648356
[ "object", "vector" ]
42c20878d7b7cbeb46a708038a0439c926510138
17,164
cpp
C++
depositpage/DepositAutomatic.cpp
whitexwc15184/WhitecoinLightWallet
cfc458faa1695d90d2210903425377612113c064
[ "MIT" ]
null
null
null
depositpage/DepositAutomatic.cpp
whitexwc15184/WhitecoinLightWallet
cfc458faa1695d90d2210903425377612113c064
[ "MIT" ]
3
2020-03-16T05:23:24.000Z
2020-03-31T03:29:39.000Z
depositpage/DepositAutomatic.cpp
whitexwc15184/WhitecoinLightWallet
cfc458faa1695d90d2210903425377612113c064
[ "MIT" ]
1
2020-02-16T00:28:39.000Z
2020-02-16T00:28:39.000Z
#include "DepositAutomatic.h" #include "wallet.h" #include <mutex> #include <memory> #include <list> #include <QTimer> #include <QDebug> #include <QJsonArray> #include <QJsonObject> #include <QJsonValue> #include "extra/HttpManager.h" class DepositAutomatic::DataPrivate { public: struct accountInfo { ...
34.815416
154
0.615183
[ "object" ]
42c7806b658ff324bda81c8c61cf48b9754c30c5
3,146
cpp
C++
src/OPECiphertext.cpp
TANGO-Project/cryptango
be6a2d74d238bffd3f3e899ea0eea01966097ebe
[ "Apache-2.0" ]
null
null
null
src/OPECiphertext.cpp
TANGO-Project/cryptango
be6a2d74d238bffd3f3e899ea0eea01966097ebe
[ "Apache-2.0" ]
null
null
null
src/OPECiphertext.cpp
TANGO-Project/cryptango
be6a2d74d238bffd3f3e899ea0eea01966097ebe
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2018 University of Leeds * * 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...
25.370968
87
0.705022
[ "object" ]