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
299f7eb25b88375facdc564689648ec61ad869d7
3,532
cpp
C++
leetcode/weekly/184.cpp
bvbasavaraju/competitive_programming
a82ffc1b639588a84f4273b44285d57cdc2f4b11
[ "Apache-2.0" ]
1
2020-05-05T13:06:51.000Z
2020-05-05T13:06:51.000Z
leetcode/weekly/184.cpp
bvbasavaraju/competitive_programming
a82ffc1b639588a84f4273b44285d57cdc2f4b11
[ "Apache-2.0" ]
null
null
null
leetcode/weekly/184.cpp
bvbasavaraju/competitive_programming
a82ffc1b639588a84f4273b44285d57cdc2f4b11
[ "Apache-2.0" ]
null
null
null
/**************************************************** Date: April 12th, 2020 Successful submissions : 3 Time expiration : 0 Not Solved : 1 Wrong Answer/ Partial result : 0 link: https://leetcode.com/contest/weekly-contest-184 ****************************************************/ #include <iostream> #include <vector> ...
18.395833
122
0.398075
[ "vector" ]
29a0fc1cc46786ed1880c8c5eb8f5626ce86cfb0
1,088
cpp
C++
postgreSQL/basics-2-create-table.cpp
adeekshith/code-snippets
a70e596d6f6b99171588a2f702f54f285b3a45ce
[ "Apache-2.0" ]
1
2021-03-24T01:21:27.000Z
2021-03-24T01:21:27.000Z
postgreSQL/basics-2-create-table.cpp
adeekshith/code-snippets
a70e596d6f6b99171588a2f702f54f285b3a45ce
[ "Apache-2.0" ]
null
null
null
postgreSQL/basics-2-create-table.cpp
adeekshith/code-snippets
a70e596d6f6b99171588a2f702f54f285b3a45ce
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <pqxx/pqxx> #include <string> using namespace std; using namespace pqxx; int main(int argc, char* argv[]) { string sql; try{ connection C("dbname=testdb user=postgres password=postgres \ hostaddr=127.0.0.1 port=5432"); if (C.is_open()) { cout << "Open...
25.302326
72
0.522059
[ "object" ]
29a34ee4362b814aa32a56eff444766f9ef62b53
18,263
cpp
C++
src/device_trezor/device_trezor.cpp
equisde/quorax_dev
46358ed0062971cb9d81af4884b7cc359dce29f4
[ "BSD-3-Clause" ]
1
2022-01-21T01:52:55.000Z
2022-01-21T01:52:55.000Z
src/device_trezor/device_trezor.cpp
equisde/quorax_dev
46358ed0062971cb9d81af4884b7cc359dce29f4
[ "BSD-3-Clause" ]
null
null
null
src/device_trezor/device_trezor.cpp
equisde/quorax_dev
46358ed0062971cb9d81af4884b7cc359dce29f4
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2017-2018, The Monero Project // // 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 list of /...
43.380048
185
0.645458
[ "vector" ]
29a4ce8381baa8fb0c50a59019e93cbffd93edb7
4,270
cc
C++
third_party/webrtc/src/chromium/src/device/bluetooth/dbus/bluetooth_dbus_client_bundle.cc
bopopescu/webrtc-streaming-node
727a441204344ff596401b0253caac372b714d91
[ "MIT" ]
8
2016-02-08T11:59:31.000Z
2020-05-31T15:19:54.000Z
third_party/webrtc/src/chromium/src/device/bluetooth/dbus/bluetooth_dbus_client_bundle.cc
bopopescu/webrtc-streaming-node
727a441204344ff596401b0253caac372b714d91
[ "MIT" ]
1
2021-05-05T11:11:31.000Z
2021-05-05T11:11:31.000Z
third_party/webrtc/src/chromium/src/device/bluetooth/dbus/bluetooth_dbus_client_bundle.cc
bopopescu/webrtc-streaming-node
727a441204344ff596401b0253caac372b714d91
[ "MIT" ]
7
2016-02-09T09:28:14.000Z
2020-07-25T19:03:36.000Z
// Copyright 2014 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 "device/bluetooth/dbus/bluetooth_dbus_client_bundle.h" #include <vector> #include "base/command_line.h" #include "base/strings/string_split.h" ...
50.235294
79
0.82623
[ "vector" ]
29a9184273c186efcc278b80e1f010591f0d8410
3,787
cpp
C++
lightcyclesplusplus/player.cpp
wildp/command-line-games
96cc68d42f48320a7a6a05297598a82a004f0491
[ "Apache-2.0" ]
null
null
null
lightcyclesplusplus/player.cpp
wildp/command-line-games
96cc68d42f48320a7a6a05297598a82a004f0491
[ "Apache-2.0" ]
null
null
null
lightcyclesplusplus/player.cpp
wildp/command-line-games
96cc68d42f48320a7a6a05297598a82a004f0491
[ "Apache-2.0" ]
1
2020-03-15T17:46:59.000Z
2020-03-15T17:46:59.000Z
// player.cpp // contains code for the Player class #include <SDL.h> #include <iostream> #include <string> #include <vector> #include "colours.h" #include "directions.h" #include "player.h" // defaults in case setMidpoint is not called short Player::s_playerNoGenerator = 0; SDL_Point Player::s_midpoi...
25.938356
124
0.608661
[ "object", "vector" ]
29aa9f707acaeb98ae7fb03365ac068d38d40054
672
cpp
C++
codeforces/contests/round/617-div3/d.cpp
tysm/cpsols
262212646203e516d1706edf962290de93762611
[ "MIT" ]
4
2020-10-05T19:24:10.000Z
2021-07-15T00:45:43.000Z
codeforces/contests/round/617-div3/d.cpp
tysm/cpsols
262212646203e516d1706edf962290de93762611
[ "MIT" ]
null
null
null
codeforces/contests/round/617-div3/d.cpp
tysm/cpsols
262212646203e516d1706edf962290de93762611
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define INF int32_t(1e9)+1 #define int long long #define ii pair<int, int> #define ff first #define ss second using namespace std; int32_t main(){ int n, a, b, k, ans = 0; cin >> n >> a >> b >> k; vector<int> v; for(int i=0; i<n; ++i){ int x; cin >> x; ...
17.684211
41
0.40625
[ "vector" ]
29aef9ed433615e8ea89c45e8611532f480f8c36
837
cpp
C++
src/problem/heuristic.cpp
pawelswoboda/MQLib
600dd8e22de385c6045455cea66e9fb2fb369c36
[ "MIT" ]
null
null
null
src/problem/heuristic.cpp
pawelswoboda/MQLib
600dd8e22de385c6045455cea66e9fb2fb369c36
[ "MIT" ]
null
null
null
src/problem/heuristic.cpp
pawelswoboda/MQLib
600dd8e22de385c6045455cea66e9fb2fb369c36
[ "MIT" ]
1
2020-02-18T10:55:02.000Z
2020-02-18T10:55:02.000Z
#include <stdlib.h> #include <time.h> #include <iomanip> #include <iostream> #include <vector> #include "problem/heuristic.h" namespace mqlib { Heuristic::Heuristic(double runtime_limit, bool validation) : validation_(validation), best_(0.0), runtime_limit_(runtime_limit) { gettimeofday(&start_time_, 0); } d...
22.621622
74
0.665472
[ "vector" ]
29af9985b380e7c85d6ebd0957cacab2cbfd0ebd
1,780
cc
C++
cartographer/mapping/trajectory_node_test.cc
zhaozhi1995/cartographer
a9d4be9f46d5fad898dc0ceeea08bd985a57f0e6
[ "Apache-2.0" ]
12
2020-11-24T03:46:44.000Z
2022-03-07T07:35:24.000Z
cartographer/mapping/trajectory_node_test.cc
rancheng/cartographer
a9d4be9f46d5fad898dc0ceeea08bd985a57f0e6
[ "Apache-2.0" ]
null
null
null
cartographer/mapping/trajectory_node_test.cc
rancheng/cartographer
a9d4be9f46d5fad898dc0ceeea08bd985a57f0e6
[ "Apache-2.0" ]
9
2021-01-13T08:58:47.000Z
2022-03-29T10:27:07.000Z
/* * Copyright 2017 The Cartographer Authors * * 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...
34.230769
77
0.695506
[ "transform" ]
29b21080605540cad8f69a6666e7adc4edededc6
6,747
cpp
C++
aws-cpp-sdk-lightsail/source/model/Instance.cpp
Gohan/aws-sdk-cpp
51aa785289d9a76ac27f026d169ddf71ec2d0686
[ "Apache-2.0" ]
null
null
null
aws-cpp-sdk-lightsail/source/model/Instance.cpp
Gohan/aws-sdk-cpp
51aa785289d9a76ac27f026d169ddf71ec2d0686
[ "Apache-2.0" ]
null
null
null
aws-cpp-sdk-lightsail/source/model/Instance.cpp
Gohan/aws-sdk-cpp
51aa785289d9a76ac27f026d169ddf71ec2d0686
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2010-2017 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fil...
20.633028
101
0.718097
[ "model" ]
29b5f6708b9c5c448c31fa8c6bb7d5ff130c3da2
195
cpp
C++
src/gitwrapper/tag.cpp
SiliconSloth/Metro
4111984922f0402dee6ef5d5b099a814c267a46a
[ "MIT" ]
1
2020-04-10T21:07:24.000Z
2020-04-10T21:07:24.000Z
src/gitwrapper/tag.cpp
SiliconSloth/Metro
4111984922f0402dee6ef5d5b099a814c267a46a
[ "MIT" ]
58
2019-09-03T16:24:03.000Z
2020-07-01T12:52:09.000Z
src/gitwrapper/tag.cpp
SiliconSloth/Metro
4111984922f0402dee6ef5d5b099a814c267a46a
[ "MIT" ]
1
2019-11-01T00:49:37.000Z
2019-11-01T00:49:37.000Z
namespace git { Object Tag::target() const { git_object *object; int err = git_tag_target(&object, tag.get()); check_error(err); return Object(object); } }
24.375
53
0.574359
[ "object" ]
29b8a85a166de10f94e311d0886ef5cb22173896
8,824
hpp
C++
include/strategies/market_maker.hpp
Kautenja/CBOE-emulator
b4544cf61b938f2db98df107371954b8fdda130f
[ "MIT" ]
null
null
null
include/strategies/market_maker.hpp
Kautenja/CBOE-emulator
b4544cf61b938f2db98df107371954b8fdda130f
[ "MIT" ]
null
null
null
include/strategies/market_maker.hpp
Kautenja/CBOE-emulator
b4544cf61b938f2db98df107371954b8fdda130f
[ "MIT" ]
null
null
null
// A market maker trading agent. // Copyright 2020 Christian Kauten // // Author: Christian Kauten (kautenja@auburn.edu) // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of...
39.569507
111
0.643472
[ "object", "model" ]
29c450d6ae29cb422758319fc3847c910e6f657d
13,819
cpp
C++
src/mongo/db/query/index_tag.cpp
benety/mongo
203430ac9559f82ca01e3cbb3b0e09149fec0835
[ "Apache-2.0" ]
null
null
null
src/mongo/db/query/index_tag.cpp
benety/mongo
203430ac9559f82ca01e3cbb3b0e09149fec0835
[ "Apache-2.0" ]
null
null
null
src/mongo/db/query/index_tag.cpp
benety/mongo
203430ac9559f82ca01e3cbb3b0e09149fec0835
[ "Apache-2.0" ]
null
null
null
/** * Copyright (C) 2018-present MongoDB, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the Server Side Public License, version 1, * as published by MongoDB, Inc. * * This program is distributed in the hope that it will be useful, * but W...
42.916149
100
0.64158
[ "vector" ]
29c51c97bb034b97601c56e65485d3f97efe96c8
16,304
cpp
C++
Lib/LLVMJIT/EmitCore.cpp
faasm/WAVM
2434b3b170404b63afbd2103eecbf510dd1665f4
[ "BSD-3-Clause" ]
null
null
null
Lib/LLVMJIT/EmitCore.cpp
faasm/WAVM
2434b3b170404b63afbd2103eecbf510dd1665f4
[ "BSD-3-Clause" ]
null
null
null
Lib/LLVMJIT/EmitCore.cpp
faasm/WAVM
2434b3b170404b63afbd2103eecbf510dd1665f4
[ "BSD-3-Clause" ]
2
2021-08-23T14:57:37.000Z
2022-03-01T16:46:46.000Z
#include <memory> #include <vector> #include "EmitFunctionContext.h" #include "EmitModuleContext.h" #include "LLVMJITPrivate.h" #include "WAVM/IR/Module.h" #include "WAVM/IR/Operators.h" #include "WAVM/IR/Types.h" #include "WAVM/Inline/Assert.h" #include "WAVM/Inline/BasicTypes.h" #include "WAVM/RuntimeABI/RuntimeABI.h...
37.223744
97
0.750797
[ "vector" ]
29c7bf92d1ec0d8304af03379c1c9bca1bde365a
6,294
hxx
C++
opencascade/TDataXtd_Geometry.hxx
mgreminger/OCP
92eacb99497cd52b419c8a4a8ab0abab2330ed42
[ "Apache-2.0" ]
null
null
null
opencascade/TDataXtd_Geometry.hxx
mgreminger/OCP
92eacb99497cd52b419c8a4a8ab0abab2330ed42
[ "Apache-2.0" ]
null
null
null
opencascade/TDataXtd_Geometry.hxx
mgreminger/OCP
92eacb99497cd52b419c8a4a8ab0abab2330ed42
[ "Apache-2.0" ]
null
null
null
// Created on: 2009-04-06 // Created by: Sergey ZARITCHNY // Copyright (c) 2009-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 General Public License version 2.1...
34.393443
128
0.765809
[ "geometry", "model" ]
29c993c6272932175e40f8a208c89f69f73ef085
14,088
cpp
C++
Chinese version/flip.cpp
woodyhoko/First_Cpp_games
28ab889da5095b91998cf5c5da60609c4d779df2
[ "MIT" ]
null
null
null
Chinese version/flip.cpp
woodyhoko/First_Cpp_games
28ab889da5095b91998cf5c5da60609c4d779df2
[ "MIT" ]
null
null
null
Chinese version/flip.cpp
woodyhoko/First_Cpp_games
28ab889da5095b91998cf5c5da60609c4d779df2
[ "MIT" ]
null
null
null
#include<iostream> #include<iomanip> #include<cstdlib> #include<cmath> #include<ctime> #include<ctype.h> #include<string> #include<conio.h> #include<windows.h> void shape(int,int); using namespace std; bool gameover3=0,fail,endg,rright=0,showtime; int selected[8],randed[17],backur[17],rbackur[17],backt,timet,aaa,bbb,...
27.461988
166
0.402186
[ "shape" ]
29cc4835093808683e11002352c741b777ffe0d0
22,146
cpp
C++
mlir/lib/Dialect/Linalg/Transforms/HoistPadding.cpp
1samhicks/llvm-project
c3017819cb7fe22dcfabf90ecb34130fb6bed314
[ "Apache-2.0" ]
1
2021-12-10T01:17:03.000Z
2021-12-10T01:17:03.000Z
mlir/lib/Dialect/Linalg/Transforms/HoistPadding.cpp
1samhicks/llvm-project
c3017819cb7fe22dcfabf90ecb34130fb6bed314
[ "Apache-2.0" ]
null
null
null
mlir/lib/Dialect/Linalg/Transforms/HoistPadding.cpp
1samhicks/llvm-project
c3017819cb7fe22dcfabf90ecb34130fb6bed314
[ "Apache-2.0" ]
null
null
null
//===- HoistPadding.cpp - Hoisting transformation for PadTensorOp ---------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
43.423529
80
0.675336
[ "vector" ]
29cf10b3aa4c3c135e787958c224db8c75af51a4
4,634
cpp
C++
WBF/src/WBF_GPS/GeometryBuffer.cpp
heesok2/OpenGL
6ba159a77428635bf73eab9a0080203b248b015c
[ "MIT" ]
null
null
null
WBF/src/WBF_GPS/GeometryBuffer.cpp
heesok2/OpenGL
6ba159a77428635bf73eab9a0080203b248b015c
[ "MIT" ]
null
null
null
WBF/src/WBF_GPS/GeometryBuffer.cpp
heesok2/OpenGL
6ba159a77428635bf73eab9a0080203b248b015c
[ "MIT" ]
1
2019-11-25T02:03:08.000Z
2019-11-25T02:03:08.000Z
#include "stdafx.h" #include "GeometryBuffer.h" #include "BufferType.h" #include "..\WBF_LIB\Package.h" #include "..\WBF_GLCORE\ViewHelper.h" #include "..\WBF_DATA\ModuleVertex.h" #include "..\WBF_DATA\ModuleSubBody.h" #include "..\WBF_DATA\ModuleBody.h" #include "..\WBF_BASE\DocBase.h" #ifdef _DEBUG #define new DEBU...
27.099415
136
0.726586
[ "vector" ]
29d8498ff91e6360fa7a133b7efc5f39805bd3b5
1,457
hh
C++
inc/DqmValue.hh
Mu2e/DQM
52fd36c89e514d6cef6940f7dd6564a43c94ccad
[ "Apache-2.0" ]
null
null
null
inc/DqmValue.hh
Mu2e/DQM
52fd36c89e514d6cef6940f7dd6564a43c94ccad
[ "Apache-2.0" ]
null
null
null
inc/DqmValue.hh
Mu2e/DQM
52fd36c89e514d6cef6940f7dd6564a43c94ccad
[ "Apache-2.0" ]
1
2022-01-06T02:17:07.000Z
2022-01-06T02:17:07.000Z
#ifndef DQM_DqmValue_hh #define DQM_DqmValue_hh // // holds a single Dqm value, its name and uncertainty // #include <string> #include <vector> namespace mu2e { class DqmValue { public: enum codeValues { OK = 0, lowStats = 1, missing = 2, error = 3 }; DqmValue() {} DqmValue(const std::string& group, const s...
26.490909
75
0.64722
[ "vector" ]
29d863d2adf0139f705a64d651ca275d0cd59fe4
9,337
cpp
C++
modules/dnn/src/layers/layers_common.cpp
balaji-kss/opencv-1
80e3e5620421dbdc9f69f4fcbb0046d19e635c77
[ "BSD-3-Clause" ]
2
2020-03-24T05:42:26.000Z
2020-04-20T17:45:41.000Z
modules/dnn/src/layers/layers_common.cpp
FireFeathers06/opencv
f3de2b4be75c120e2c3c59a89d6f1453ee055166
[ "BSD-3-Clause" ]
1
2019-05-13T13:42:39.000Z
2019-05-13T13:42:39.000Z
modules/dnn/src/layers/layers_common.cpp
FireFeathers06/opencv
f3de2b4be75c120e2c3c59a89d6f1453ee055166
[ "BSD-3-Clause" ]
1
2020-01-09T09:34:26.000Z
2020-01-09T09:34:26.000Z
/*M/////////////////////////////////////////////////////////////////////////////////////// // // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to this license. // If you do not agree to this license, do not download, instal...
38.582645
145
0.595909
[ "vector" ]
29e0353b3da9dd869686adde791bf224547b5b14
7,037
ipp
C++
include/stats_incl/dens/dlogis.ipp
davidnsw/sss
8ca2e4c28027e62ca1238724dc2912d2205e16b6
[ "Apache-2.0" ]
null
null
null
include/stats_incl/dens/dlogis.ipp
davidnsw/sss
8ca2e4c28027e62ca1238724dc2912d2205e16b6
[ "Apache-2.0" ]
null
null
null
include/stats_incl/dens/dlogis.ipp
davidnsw/sss
8ca2e4c28027e62ca1238724dc2912d2205e16b6
[ "Apache-2.0" ]
null
null
null
/*################################################################################ ## ## Copyright (C) 2011-2020 Keith O'Hara ## ## This file is part of the StatsLib C++ library. ## ## Licensed under the Apache License, Version 2.0 (the "License"); ## you may not use this file except in compliance...
29.078512
115
0.67543
[ "vector" ]
29e0b32978dfd515b0b013f116e4ca8f44bd458c
52,287
cpp
C++
libraries/distanceField/marchingCubes.cpp
dyollb/VegaFEM
83bb9e52f68dec5511393af0469abd85cfff4a7f
[ "BSD-3-Clause" ]
null
null
null
libraries/distanceField/marchingCubes.cpp
dyollb/VegaFEM
83bb9e52f68dec5511393af0469abd85cfff4a7f
[ "BSD-3-Clause" ]
null
null
null
libraries/distanceField/marchingCubes.cpp
dyollb/VegaFEM
83bb9e52f68dec5511393af0469abd85cfff4a7f
[ "BSD-3-Clause" ]
null
null
null
/************************************************************************* * * * Vega FEM Simulation Library Version 4.0 * * * * "distance field" ...
38.249451
1,177
0.580125
[ "vector", "transform" ]
29ef6d1d3a77884787f915593ca2050812976c93
3,110
cc
C++
MuonAnalysis/MomentumScaleCalibration/src/ResolutionFunction.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
MuonAnalysis/MomentumScaleCalibration/src/ResolutionFunction.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
MuonAnalysis/MomentumScaleCalibration/src/ResolutionFunction.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
#include "MuonAnalysis/MomentumScaleCalibration/interface/ResolutionFunction.h" void ResolutionFunction::readParameters(TString fileName) { iterationNum_ = 0; parArray_ = nullptr; // std::vector<double> parameterErrors; // Read the parameters file std::ifstream parametersFile(fileName.Data()); std::string...
37.02381
90
0.626045
[ "vector" ]
29ef7e2f7de2ace7428427002978417d2c6bfc1e
13,194
cpp
C++
renderer/VulkanMesh.cpp
Esentiel/HurricaneEngine3D
321617957afda7d7f30f4e72c0056d69a32df906
[ "BSD-3-Clause" ]
2
2021-06-23T20:30:58.000Z
2022-01-10T23:57:54.000Z
renderer/VulkanMesh.cpp
Esentiel/HurricaneEngine3D
321617957afda7d7f30f4e72c0056d69a32df906
[ "BSD-3-Clause" ]
35
2021-02-23T10:13:53.000Z
2021-04-01T09:57:55.000Z
renderer/VulkanMesh.cpp
Esentiel/HurricaneEngine3D
321617957afda7d7f30f4e72c0056d69a32df906
[ "BSD-3-Clause" ]
null
null
null
#include "VulkanMesh.h" #include "VulkanMemoryManager.h" #include "VulkanCommandQueueDispatcher.h" #include "VulkanPipelineCollection.h" #include "VulkanBackend.h" #include "VulkanCamera.h" #include <meshoptimizer.h> #define STB_IMAGE_IMPLEMENTATION #include <stb_image.h> // TODO: move loading image to another class. ...
39.981818
232
0.754131
[ "render", "vector", "model" ]
29f0a073b3341fe6039360b7e64e18208b243936
919
cpp
C++
flare/Mesh.cpp
freakMeduza/flare
32003c1be20e8876948a4c97d9715059f1d32e5c
[ "MIT" ]
2
2022-01-02T15:45:36.000Z
2022-01-12T15:31:24.000Z
flare/Mesh.cpp
freakMeduza/flare
32003c1be20e8876948a4c97d9715059f1d32e5c
[ "MIT" ]
null
null
null
flare/Mesh.cpp
freakMeduza/flare
32003c1be20e8876948a4c97d9715059f1d32e5c
[ "MIT" ]
null
null
null
#include "Mesh.hpp" #include "Device.hpp" namespace fve { Mesh::Mesh(Device& device, const std::vector<Vertex>& vertices, const std::vector<Index>& indices) : device_{ device } { vertexBuffer_ = createBuffer(vk::BufferUsageFlagBits::eVertexBuffer, vertices); if (!indices.empty()) indexBuffer_ = createBuffer(v...
32.821429
121
0.725789
[ "mesh", "vector" ]
29f111e310665c5465e6a072b01996ac1f27d350
17,769
cpp
C++
src/tensorrt/tensorrt-6.0.1.5/samples/sampleUffSSD/sampleUffSSD.cpp
aimuch/AIEnvConfig
4ccd54e9c601e8c91efebcec1a50115d75d0cf96
[ "MIT" ]
250
2019-06-14T16:12:20.000Z
2022-03-27T09:56:26.000Z
src/tensorrt/tensorrt-6.0.1.5/samples/sampleUffSSD/sampleUffSSD.cpp
aimuch/AIEnvConfig
4ccd54e9c601e8c91efebcec1a50115d75d0cf96
[ "MIT" ]
6
2018-08-10T07:15:39.000Z
2018-10-23T01:51:17.000Z
src/tensorrt/tensorrt-6.0.1.5/samples/sampleUffSSD/sampleUffSSD.cpp
aimuch/AIEnvConfig
4ccd54e9c601e8c91efebcec1a50115d75d0cf96
[ "MIT" ]
41
2019-08-16T13:42:13.000Z
2022-02-23T03:38:09.000Z
/* * Copyright 1993-2019 NVIDIA Corporation. All rights reserved. * * NOTICE TO LICENSEE: * * This source code and/or documentation ("Licensed Deliverables") are * subject to NVIDIA intellectual property rights under U.S. and * international Copyright laws. * * These Licensed Deliverables contained herein is ...
34.04023
135
0.656762
[ "object", "vector", "model" ]
29f121e8410a212f789ee09538a84bf28b545323
4,626
cpp
C++
src/test/test_code/system_test.cpp
LaoZZZZZ/bartender-1.1
ddfb2e52bdf92258dd837ab8ee34306e9fb45b81
[ "MIT" ]
22
2016-08-11T06:16:25.000Z
2022-02-22T00:06:59.000Z
src/test/test_code/system_test.cpp
LaoZZZZZ/bartender-1.1
ddfb2e52bdf92258dd837ab8ee34306e9fb45b81
[ "MIT" ]
9
2016-12-08T12:42:38.000Z
2021-12-28T20:12:15.000Z
src/test/test_code/system_test.cpp
LaoZZZZZ/bartender-1.1
ddfb2e52bdf92258dd837ab8ee34306e9fb45b81
[ "MIT" ]
8
2017-06-26T13:15:06.000Z
2021-11-12T18:39:54.000Z
#include <iostream> #include <boost/regex.hpp> #include <string> #include <memory> #include <algorithm> #include "../clusterpipeline.h" #include "../pattern.h" #include "../timer.h" #include "../clusteralgorithm.h" #include "../binaryoutfilebuf.h" #include "../binaryinfilebuf.h" #include "../barcodeextractor.h" #includ...
34.781955
172
0.638997
[ "vector" ]
29f401abd8c974c0172184571598ca4f7083a7a6
1,788
hpp
C++
logic/main-settings.hpp
cpuwolf/opentrack
5541cfc68d87c2fc254eb2f2a5aad79831871a88
[ "ISC" ]
1
2018-02-06T08:36:39.000Z
2018-02-06T08:36:39.000Z
logic/main-settings.hpp
cpuwolf/opentrack
5541cfc68d87c2fc254eb2f2a5aad79831871a88
[ "ISC" ]
null
null
null
logic/main-settings.hpp
cpuwolf/opentrack
5541cfc68d87c2fc254eb2f2a5aad79831871a88
[ "ISC" ]
null
null
null
/* Copyright (c) 2015, Stanislaw Halik <sthalik@misaki.pl> * Permission to use, copy, modify, and/or distribute this * software for any purpose with or without fee is hereby granted, * provided that the above copyright notice and this permission * notice appear in all copies. */ #pragma once #include <QString> ...
29.311475
87
0.75783
[ "vector" ]
29f823d9949c622722fd5b03be79e32c22ed7bfa
2,643
cc
C++
onnxruntime/contrib_ops/cuda/bert/fast_gelu.cc
lchang20/onnxruntime
97b8f6f394ae02c73ed775f456fd85639c91ced1
[ "MIT" ]
1
2021-11-07T18:53:47.000Z
2021-11-07T18:53:47.000Z
onnxruntime/contrib_ops/cuda/bert/fast_gelu.cc
lchang20/onnxruntime
97b8f6f394ae02c73ed775f456fd85639c91ced1
[ "MIT" ]
30
2021-09-26T08:05:58.000Z
2022-03-31T10:45:30.000Z
onnxruntime/contrib_ops/cuda/bert/fast_gelu.cc
lchang20/onnxruntime
97b8f6f394ae02c73ed775f456fd85639c91ced1
[ "MIT" ]
null
null
null
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #include "core/providers/cuda/cuda_common.h" #include "core/providers/cuda/cudnn_common.h" #include "fast_gelu.h" #include "fast_gelu_impl.h" #include "contrib_ops/cpu/bert/bias_gelu_helper.h" #include "transformer_common.h...
38.867647
122
0.566402
[ "shape" ]
29fd93ec0d89c9e006defcffc94255fbe9387280
118,270
cpp
C++
ngraph/test/type_prop/convolution.cpp
vurusovs/openvino
0b1ef99fd73a3da77e93eaf8db0864948313b1d9
[ "Apache-2.0" ]
null
null
null
ngraph/test/type_prop/convolution.cpp
vurusovs/openvino
0b1ef99fd73a3da77e93eaf8db0864948313b1d9
[ "Apache-2.0" ]
null
null
null
ngraph/test/type_prop/convolution.cpp
vurusovs/openvino
0b1ef99fd73a3da77e93eaf8db0864948313b1d9
[ "Apache-2.0" ]
null
null
null
//***************************************************************************** // Copyright 2017-2020 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://w...
43.08561
139
0.568597
[ "shape" ]
4b01cf73c34cf43e8a470f42a617ab67e709b384
3,968
hpp
C++
cpp/lib/asr.hpp
benjaminum/adaptive-surface-reconstruction
32fa4cdcb56e10451cc93e574d6a628f883277b7
[ "Apache-2.0" ]
29
2021-11-02T08:35:33.000Z
2022-03-28T16:26:17.000Z
cpp/lib/asr.hpp
benjaminum/adaptive-surface-reconstruction
32fa4cdcb56e10451cc93e574d6a628f883277b7
[ "Apache-2.0" ]
1
2022-03-24T12:36:50.000Z
2022-03-24T12:36:50.000Z
cpp/lib/asr.hpp
benjaminum/adaptive-surface-reconstruction
32fa4cdcb56e10451cc93e574d6a628f883277b7
[ "Apache-2.0" ]
4
2021-12-11T00:34:14.000Z
2021-12-20T00:24:24.000Z
// // Copyright 2021 Intel (Autonomous Agents Lab) // // 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...
38.153846
80
0.728327
[ "mesh", "shape", "vector" ]
4b026650d192d5e458230a04b943614fe6d66a70
7,631
cpp
C++
src/linux_parser.cpp
hikuga/sysmonitor
63180616635ca0aa051bd34baf06747141a5c714
[ "MIT" ]
null
null
null
src/linux_parser.cpp
hikuga/sysmonitor
63180616635ca0aa051bd34baf06747141a5c714
[ "MIT" ]
null
null
null
src/linux_parser.cpp
hikuga/sysmonitor
63180616635ca0aa051bd34baf06747141a5c714
[ "MIT" ]
null
null
null
#include <dirent.h> #include <unistd.h> #include <string> #include <vector> #include <fstream> #include <iostream> #include <algorithm> #include <iterator> #include <experimental/filesystem> namespace fs = std::experimental::filesystem; #include "linux_parser.h" using std::stof; using std::string; using std::to_strin...
31.403292
120
0.599004
[ "vector" ]
4b0487ea25cb5ddff3693c6346cf62794524a8c8
14,782
cc
C++
src/gmm/ebw-diag-gmm.cc
hihihippp/Kaldi
861f838a2aea264a9e4ffa4df253df00a8b1247f
[ "Apache-2.0" ]
19
2015-03-19T10:53:38.000Z
2020-12-17T06:12:32.000Z
src/gmm/ebw-diag-gmm.cc
UdyanSachdev/kaldi
861f838a2aea264a9e4ffa4df253df00a8b1247f
[ "Apache-2.0" ]
1
2018-12-18T17:43:44.000Z
2018-12-18T17:43:44.000Z
src/gmm/ebw-diag-gmm.cc
UdyanSachdev/kaldi
861f838a2aea264a9e4ffa4df253df00a8b1247f
[ "Apache-2.0" ]
47
2015-01-27T06:22:57.000Z
2021-11-11T20:59:04.000Z
// gmm/ebw-diag-gmm.cc // Copyright 2009-2011 Arnab Ghoshal, Petr Motlicek // 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 // // THIS COD...
39.31383
96
0.601948
[ "vector", "model", "transform" ]
4b0521bf86bb0b1c22016b774cb7c417e8688b8b
1,679
cpp
C++
persist/persist-vector-main.cpp
zhuhaijun753/cplusplus11.Examples
30076615a88039084a4478e4ce091c00c3bfc9d6
[ "Unlicense" ]
59
2016-05-22T08:09:03.000Z
2022-02-20T13:37:36.000Z
persist/persist-vector-main.cpp
zhuhaijun753/cplusplus11.Examples
30076615a88039084a4478e4ce091c00c3bfc9d6
[ "Unlicense" ]
1
2017-10-26T11:40:43.000Z
2017-10-26T15:14:04.000Z
persist/persist-vector-main.cpp
lostjared/cplusplus11.Examples
30076615a88039084a4478e4ce091c00c3bfc9d6
[ "Unlicense" ]
15
2017-03-09T16:15:43.000Z
2021-09-22T16:36:17.000Z
#include"persist-vector.hpp" #include<sstream> struct Record { char str_value[100]; int data; }; class CustomRead { public: void operator()(std::string &type, std::fstream &file) { unsigned int value = 0; file.read(reinterpret_cast<char*>(&value), sizeof(unsigned int)); char *t...
27.52459
83
0.57832
[ "vector" ]
4b060ba1d1cb7c55dc13896d05b5914a10087dfe
1,913
cpp
C++
td-4/main-4a-1.cpp
badouralix/itr-tutorial
7cae15b96167e2c09341cdb5cbbb9ebed6242a3a
[ "MIT" ]
null
null
null
td-4/main-4a-1.cpp
badouralix/itr-tutorial
7cae15b96167e2c09341cdb5cbbb9ebed6242a3a
[ "MIT" ]
null
null
null
td-4/main-4a-1.cpp
badouralix/itr-tutorial
7cae15b96167e2c09341cdb5cbbb9ebed6242a3a
[ "MIT" ]
null
null
null
#include <ctime> #include <iostream> #include <memory> #include <sstream> #include <vector> #include "td-4a-1.h" class IncrThread : public Thread { private: unsigned int nLoops; double *pCounter; public: IncrThread(unsigned int nLoops, double* pCounter) : nLoops(nLoops), pCounter(pCounter) { ...
20.793478
81
0.55149
[ "vector" ]
4b0bd387b93002db2f50cc654486936b6ad9ede0
5,555
cpp
C++
Code/UnitTests/GameEngineTest/TestClass/TestClass.cpp
JohannStudanski/ezEngine
bb9d7dc4ad1ba52c2725f0a8bd1b851d59dbf43c
[ "MIT" ]
1
2021-06-23T14:44:02.000Z
2021-06-23T14:44:02.000Z
Code/UnitTests/GameEngineTest/TestClass/TestClass.cpp
aemeltsev/ezEngine
98528c268dbf8cf37bb1f31e8664bd9651b7023f
[ "MIT" ]
null
null
null
Code/UnitTests/GameEngineTest/TestClass/TestClass.cpp
aemeltsev/ezEngine
98528c268dbf8cf37bb1f31e8664bd9651b7023f
[ "MIT" ]
null
null
null
#include <GameEngineTestPCH.h> #include "TestClass.h" #include <Core/World/World.h> #include <Core/World/WorldDesc.h> #include <Core/WorldSerializer/WorldReader.h> #include <Foundation/Configuration/Startup.h> #include <Foundation/IO/FileSystem/FileReader.h> #include <Foundation/IO/FileSystem/FileSystem.h> #include <R...
25.957944
128
0.744554
[ "render" ]
4b0f521162614b2ceabbf99e9e9835e98bfc487e
2,729
cpp
C++
code archive/toi/20170718-p2.cpp
brianbbsu/program
c4505f2b8c0b91010e157db914a63c49638516bc
[ "MIT" ]
4
2018-04-08T08:07:58.000Z
2021-06-07T14:55:24.000Z
code archive/toi/20170718-p2.cpp
brianbbsu/program
c4505f2b8c0b91010e157db914a63c49638516bc
[ "MIT" ]
null
null
null
code archive/toi/20170718-p2.cpp
brianbbsu/program
c4505f2b8c0b91010e157db914a63c49638516bc
[ "MIT" ]
1
2018-10-29T12:37:25.000Z
2018-10-29T12:37:25.000Z
//{ #include<bits/stdc++.h> using namespace std; typedef long long ll; typedef double lf; typedef pair<ll,ll> ii; #define REP(i,n) for(ll i=0;i<n;i++) #define REP1(i,n) for(ll i=1;i<=n;i++) #define FILL(i,n) memset(i,n,sizeof i) #define X first #define Y second #define SZ(_a) (int)_a.size() #define ALL(_a) _a.begin(),_...
22.553719
129
0.559179
[ "vector" ]
4b135f774dd972829fda8fdfb65c3a350d5005b7
305
cpp
C++
aoj/ALDS1/ALDS1_6_A/solve.cpp
tobyapi/online-judge-solutions
4088adb97ea592e8e6582ae7d2ecde2f85e2ed9c
[ "MIT" ]
null
null
null
aoj/ALDS1/ALDS1_6_A/solve.cpp
tobyapi/online-judge-solutions
4088adb97ea592e8e6582ae7d2ecde2f85e2ed9c
[ "MIT" ]
null
null
null
aoj/ALDS1/ALDS1_6_A/solve.cpp
tobyapi/online-judge-solutions
4088adb97ea592e8e6582ae7d2ecde2f85e2ed9c
[ "MIT" ]
null
null
null
#include<iostream> #include<algorithm> #include<vector> #define all(c) (c).begin(),(c).end() using namespace std; int main(void){ int n; cin >> n; vector<int>v(n); while(n--)cin >> v[n]; sort(all(v)); for(int i=0;i<v.size();i++) cout << v[i] << (i<v.size()-1?" ":"\n"); return 0; }
15.25
45
0.544262
[ "vector" ]
4b167cf3ef74f57ddec65880e6aff0dc52a0d074
99,128
inl
C++
src/jpeg.inl
bitbank2/JPEGENC
08317cc22d8b0efcba439f4c23aec8588fac33d7
[ "Apache-2.0" ]
28
2021-08-02T12:31:05.000Z
2022-03-17T01:38:25.000Z
src/jpeg.inl
bitbank2/JPEGENC
08317cc22d8b0efcba439f4c23aec8588fac33d7
[ "Apache-2.0" ]
2
2021-08-23T09:17:50.000Z
2021-09-09T16:46:48.000Z
src/jpeg.inl
bitbank2/JPEGENC
08317cc22d8b0efcba439f4c23aec8588fac33d7
[ "Apache-2.0" ]
2
2021-08-03T13:03:14.000Z
2021-08-10T15:15:59.000Z
// Returns the magnitude and fixes negative values for JPEG encoding // Upper 16 bits is the new delta value, lower 16 is the magnitude const uint32_t ulMagnitudeFix[2048] PROGMEM = { 0x03ff000b, 0x0000000a, 0x0001000a, 0x0002000a, 0x0003000a, 0x0004000a, 0x0005000a, 0x0006000a, 0x0007000a, 0x0008000a, 0x000900...
54.495877
158
0.641756
[ "object" ]
4b16a16a46a2421c563ad50dcaecb7a1bc834432
7,926
cpp
C++
ssl/src/v20191205/model/DvAuthDetail.cpp
sinjoywong/tencentcloud-sdk-cpp
1b931d20956a90b15a6720f924e5c69f8786f9f4
[ "Apache-2.0" ]
null
null
null
ssl/src/v20191205/model/DvAuthDetail.cpp
sinjoywong/tencentcloud-sdk-cpp
1b931d20956a90b15a6720f924e5c69f8786f9f4
[ "Apache-2.0" ]
null
null
null
ssl/src/v20191205/model/DvAuthDetail.cpp
sinjoywong/tencentcloud-sdk-cpp
1b931d20956a90b15a6720f924e5c69f8786f9f4
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 ...
29.464684
143
0.68105
[ "vector", "model" ]
4b1715b964836abde70304f3d8e5b2f44f10e652
13,346
cpp
C++
src/13_Camera_round/src/main.cpp
AnselmoGPP/OGL_tests
68072c208bccb86f864e4394928f227fbb308a17
[ "MIT" ]
null
null
null
src/13_Camera_round/src/main.cpp
AnselmoGPP/OGL_tests
68072c208bccb86f864e4394928f227fbb308a17
[ "MIT" ]
null
null
null
src/13_Camera_round/src/main.cpp
AnselmoGPP/OGL_tests
68072c208bccb86f864e4394928f227fbb308a17
[ "MIT" ]
null
null
null
/* * https://stackoverflow.com/questions/57336940/how-to-glutdisplayfunc-glutmainloop-in-glfw */ // Includes -------------------- #ifdef IMGUI_IMPL_OPENGL_LOADER_GLEW #include "GL/glew.h" #elif IMGUI_IMPL_OPENGL_LOADER_GLAD #include "glad/glad.h" #endif #include "GLFW/glfw3.h" #define STB_IMAGE_IMPLEMENTATION #inc...
37.175487
188
0.581448
[ "render", "model" ]
4b1f914f76cae9b6dd748cce7621510e376bebb8
1,155
cpp
C++
Day3/part1.cpp
Roxtaru/aoc
1e00f70b3c41a65df4aeac62bc0acdcb874626c7
[ "Unlicense" ]
null
null
null
Day3/part1.cpp
Roxtaru/aoc
1e00f70b3c41a65df4aeac62bc0acdcb874626c7
[ "Unlicense" ]
null
null
null
Day3/part1.cpp
Roxtaru/aoc
1e00f70b3c41a65df4aeac62bc0acdcb874626c7
[ "Unlicense" ]
null
null
null
#include<iostream> #include<fstream> #include<string> #include<vector> using namespace std; int main(){ int zeros = 0; int ones = 0; int binSize = 12; int gammaNum = 0; int epsilonNum = 0; vector<string> list; string holder = ""; string checker = ""; string gammaStr = ""; ...
17.769231
66
0.454545
[ "vector" ]
4b267b7418d845ac8b44aab6c84c8397fb3ce414
10,160
cpp
C++
third_party/mesa/src/src/gallium/state_trackers/clover/llvm/invocation.cpp
zipated/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
third_party/mesa/src/src/gallium/state_trackers/clover/llvm/invocation.cpp
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
third_party/mesa/src/src/gallium/state_trackers/clover/llvm/invocation.cpp
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.000Z
// // Copyright 2012 Francisco Jerez // // 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...
36.945455
96
0.635039
[ "vector" ]
4b27868664c9117e85c52866d3fb6a66cb370980
4,620
hpp
C++
Code/Runtime/BerserkVulkan/VulkanDebug.hpp
EgorOrachyov/Berserk
0fcd3571b5aa0a1e073a2280035d445b2be94cbf
[ "MIT" ]
43
2018-12-21T15:01:20.000Z
2022-01-12T04:22:38.000Z
Code/Runtime/BerserkVulkan/VulkanDebug.hpp
EgorOrachyov/Berserk
0fcd3571b5aa0a1e073a2280035d445b2be94cbf
[ "MIT" ]
22
2018-10-06T14:10:05.000Z
2021-12-31T17:58:40.000Z
Code/Runtime/BerserkVulkan/VulkanDebug.hpp
EgorOrachyov/Berserk
0fcd3571b5aa0a1e073a2280035d445b2be94cbf
[ "MIT" ]
4
2019-04-14T05:59:33.000Z
2021-05-21T10:34:57.000Z
/**********************************************************************************/ /* This file is part of Berserk Engine project */ /* https://github.com/EgorOrachyov/Berserk */ /****************************************************************...
60
118
0.583117
[ "object" ]
4b2a8250c5dee55830aa8305a5d48ff8610d8fc5
1,840
cpp
C++
RealEngine/Transformation.cpp
Meeeri08/Motores-de-Videojuegos
cbc593601f62c483581fcb1908360e1b71757980
[ "MIT" ]
null
null
null
RealEngine/Transformation.cpp
Meeeri08/Motores-de-Videojuegos
cbc593601f62c483581fcb1908360e1b71757980
[ "MIT" ]
null
null
null
RealEngine/Transformation.cpp
Meeeri08/Motores-de-Videojuegos
cbc593601f62c483581fcb1908360e1b71757980
[ "MIT" ]
null
null
null
#include "Transformation.h" Transformation::Transformation(Component::ComponentType type, GameObject* GO) :Component(type, GO) { this->GO = GO; position = { 0.0f,0.0f,0.0f }; scale = { 1.0f,1.0f,1.0f }; rotationVector = { 0.0f,0.0f,0.0f }; // user-friendly quatRotation = { 0.0f,0.0f,0.0f,1.0f }; // used for calcu...
20.21978
128
0.740217
[ "transform" ]
4b2b1398180f2d9157048cd8eb4bfdf7e990845c
35,795
cpp
C++
Source/SIMPLib/TestFilters/GenericExample.cpp
mhitzem/SIMPL
cd8a58f8d955d232ea039121cc5286cc9545c7a6
[ "NRL" ]
3
2018-01-18T18:27:02.000Z
2021-06-13T06:10:52.000Z
Source/SIMPLib/TestFilters/GenericExample.cpp
mhitzem/SIMPL
cd8a58f8d955d232ea039121cc5286cc9545c7a6
[ "NRL" ]
211
2016-07-27T12:18:16.000Z
2021-11-02T13:42:11.000Z
Source/SIMPLib/TestFilters/GenericExample.cpp
mhitzem/SIMPL
cd8a58f8d955d232ea039121cc5286cc9545c7a6
[ "NRL" ]
23
2016-02-15T21:23:47.000Z
2021-08-11T15:35:24.000Z
/* ============================================================================ * Copyright (c) 2009-2016 BlueQuartz Software, LLC * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * Redistributions of source code...
36.675205
186
0.571588
[ "shape", "vector" ]
4b2d5a67bb7bebfcd11ab6235f51f7bb1733b261
4,614
cpp
C++
day_21/day_21.cpp
ClementTsang/aoc_2021
8661d295f14b10f7208227c2b105131c43c983b6
[ "Unlicense" ]
null
null
null
day_21/day_21.cpp
ClementTsang/aoc_2021
8661d295f14b10f7208227c2b105131c43c983b6
[ "Unlicense" ]
null
null
null
day_21/day_21.cpp
ClementTsang/aoc_2021
8661d295f14b10f7208227c2b105131c43c983b6
[ "Unlicense" ]
null
null
null
#include <iostream> #include <fstream> #include <string> #include <vector> using namespace std; void solve(string file) { fstream new_file; new_file.open(file, ios::in); vector<int> init_pos; string line; while (getline(new_file, line)) { init_pos.emplace_back(stoi(line.substr(line.l...
29.767742
113
0.228652
[ "vector" ]
4b39477565d7278aaede7d88eadd5d18548106e5
4,227
cc
C++
library/gd_mf_weights.cc
MBNTHUEE404/vowpal_wabbit
63b182d33295f7110e2b3c5bd25e310b032c5389
[ "BSD-3-Clause" ]
1
2017-04-07T14:31:51.000Z
2017-04-07T14:31:51.000Z
library/gd_mf_weights.cc
chhshen/vowpal_wabbit
7e22b80e918c04e2adf9c33a71e41957e1375ba5
[ "BSD-3-Clause" ]
null
null
null
library/gd_mf_weights.cc
chhshen/vowpal_wabbit
7e22b80e918c04e2adf9c33a71e41957e1375ba5
[ "BSD-3-Clause" ]
1
2021-10-05T20:48:13.000Z
2021-10-05T20:48:13.000Z
#include <stdio.h> #include "../vowpalwabbit/parser.h" #include "../vowpalwabbit/vw.h" #include <fstream> #include <iostream> #include <string.h> #include <boost/program_options.hpp> using namespace std; namespace po = boost::program_options; int main(int argc, char *argv[]) { string infile; strin...
34.647541
109
0.59948
[ "model" ]
4b3adc568b29badf7daa8e9ade37ea20c8560e74
1,470
cpp
C++
Binomial vs Fibonacci/main.cpp
concatto/complexidade
1a31d68cc6b30ab1ce18d8520b5eae03bb3e1cc8
[ "MIT" ]
null
null
null
Binomial vs Fibonacci/main.cpp
concatto/complexidade
1a31d68cc6b30ab1ce18d8520b5eae03bb3e1cc8
[ "MIT" ]
null
null
null
Binomial vs Fibonacci/main.cpp
concatto/complexidade
1a31d68cc6b30ab1ce18d8520b5eae03bb3e1cc8
[ "MIT" ]
null
null
null
#include <iostream> #include <chrono> #include <vector> #include <unordered_map> #include <fstream> #include <cstdlib> #include <ctime> #include <cmath> #include <utility> #include <boost/heap/fibonacci_heap.hpp> #include <boost/heap/binomial_heap.hpp> using namespace std::chrono; using namespace boost::heap; using u...
22.96875
90
0.672109
[ "vector" ]
4b3f9b70f59cfb9182b012e167eb943fd8a467f9
10,746
cpp
C++
compiler/optimizations/removeUnnecessaryAutoCopyCalls.cpp
krishnakeshav/chapel
c7840d76944cfb1b63878e51e81138d1a0c808cf
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
compiler/optimizations/removeUnnecessaryAutoCopyCalls.cpp
krishnakeshav/chapel
c7840d76944cfb1b63878e51e81138d1a0c808cf
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
compiler/optimizations/removeUnnecessaryAutoCopyCalls.cpp
krishnakeshav/chapel
c7840d76944cfb1b63878e51e81138d1a0c808cf
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
/* * Copyright 2004-2017 Cray Inc. * Other additional copyright holders may be indicated within. * * The entirety of this work is 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 * *...
29.521978
85
0.628978
[ "object" ]
4b4257d90f8ad267e4549dc88b4df373c4173a03
788
cpp
C++
src/xr_3da/xrGame/object_action_switch.cpp
ixray-team/ixray-b2945
ad5ef375994ee9cd790c4144891e9f00e7efe565
[ "Linux-OpenIB" ]
1
2022-03-26T17:00:19.000Z
2022-03-26T17:00:19.000Z
src/xr_3da/xrGame/object_action_switch.cpp
ixray-team/ixray-b2945
ad5ef375994ee9cd790c4144891e9f00e7efe565
[ "Linux-OpenIB" ]
null
null
null
src/xr_3da/xrGame/object_action_switch.cpp
ixray-team/ixray-b2945
ad5ef375994ee9cd790c4144891e9f00e7efe565
[ "Linux-OpenIB" ]
1
2022-03-26T17:00:21.000Z
2022-03-26T17:00:21.000Z
//////////////////////////////////////////////////////////////////////////// // Module : object_action_switch.cpp // Created : 14.03.2004 // Modified : 14.03.2004 // Author : Dmitriy Iassenev // Description : Object switch command //////////////////////////////////////////////////////////////////////////// ...
24.625
116
0.550761
[ "object" ]
4b453e236c0d85b50b2f880a10725533765fd52b
5,173
hpp
C++
src/core/net/dhcp6_client.hpp
open-degu/openthread
882e7074b5986027b85cb4f3ba1dc563a11ca013
[ "BSD-3-Clause" ]
null
null
null
src/core/net/dhcp6_client.hpp
open-degu/openthread
882e7074b5986027b85cb4f3ba1dc563a11ca013
[ "BSD-3-Clause" ]
null
null
null
src/core/net/dhcp6_client.hpp
open-degu/openthread
882e7074b5986027b85cb4f3ba1dc563a11ca013
[ "BSD-3-Clause" ]
1
2019-11-26T06:13:59.000Z
2019-11-26T06:13:59.000Z
/* * Copyright (c) 2016, The OpenThread Authors. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * 1. Redistributions of source code must retain the above copyright * notice, this ...
30.791667
112
0.731877
[ "object" ]
4b47435c8cf31ffa1a99b48ac2bb1b198550f35e
2,015
cpp
C++
57.cpp
zfang399/LeetCode-Problems
4cb25718a3d1361569f5ee6fde7b4a9a4fde2186
[ "MIT" ]
8
2018-10-31T11:00:19.000Z
2020-07-31T05:25:06.000Z
57.cpp
zfang399/LeetCode-Problems
4cb25718a3d1361569f5ee6fde7b4a9a4fde2186
[ "MIT" ]
null
null
null
57.cpp
zfang399/LeetCode-Problems
4cb25718a3d1361569f5ee6fde7b4a9a4fde2186
[ "MIT" ]
2
2018-05-31T11:29:22.000Z
2019-09-11T06:34:40.000Z
/** * Definition for an interval. * struct Interval { * int start; * int end; * Interval() : start(0), end(0) {} * Interval(int s, int e) : start(s), end(e) {} * }; */ class Solution { public: vector<Interval> insert(vector<Interval>& intervals, Interval newInterval) { vector<Interva...
34.741379
80
0.498263
[ "vector" ]
4b4a2b7f51d21acb061e8b42b47947dafcf5022f
3,834
cpp
C++
src/ECS/Systems/Network/InitializePlayerSystem.cpp
novuscore/NovusCore-Service
68384dfa15e66a3c9e4be576b671f6ed9d15be23
[ "MIT" ]
2
2020-03-16T09:52:03.000Z
2021-09-03T20:05:16.000Z
src/ECS/Systems/Network/InitializePlayerSystem.cpp
novuscore/NovusCore-Service
68384dfa15e66a3c9e4be576b671f6ed9d15be23
[ "MIT" ]
null
null
null
src/ECS/Systems/Network/InitializePlayerSystem.cpp
novuscore/NovusCore-Service
68384dfa15e66a3c9e4be576b671f6ed9d15be23
[ "MIT" ]
4
2020-03-16T09:52:04.000Z
2021-12-20T22:16:05.000Z
#include "InitializePlayerSystem.h" #include <memory> #include <entt.hpp> #include <tracy/Tracy.hpp> #include <Utils/ByteBuffer.h> #include <Networking/NetStructures.h> #include "../../../Utils/EntityUtils.h" #include "../../Components/Transform.h" #include "../../Components/GameEntityInfo.h" #include "../../Components...
40.787234
191
0.684142
[ "transform" ]
4b4a584bd85abed1f110eaddb378f7bf4a2e7d7c
1,130
hpp
C++
modele.hpp
TheoLeCalvar/MineGl
42b356be4e12c428a8b1f8dbfbec9d9966606567
[ "Unlicense" ]
null
null
null
modele.hpp
TheoLeCalvar/MineGl
42b356be4e12c428a8b1f8dbfbec9d9966606567
[ "Unlicense" ]
null
null
null
modele.hpp
TheoLeCalvar/MineGl
42b356be4e12c428a8b1f8dbfbec9d9966606567
[ "Unlicense" ]
null
null
null
#ifndef MODEL_H #define MODEL_H #include <vector> #include <map> #include "material.hpp" class Groupe; class Modele { private: std::map<const std::string, Groupe *> _groupes; std::map<const std::string, Material *> _materials; std::vector<GLfloat> _vertices; std::vector<GLfloat> _normals; std::vector<GLflo...
16.376812
106
0.688496
[ "vector" ]
4b4de220f02bdbdde940d851d36d04781f3b4192
390
hpp
C++
projects/engine/src/rendering/opengl/assets/glmodel.hpp
zCubed3/Aurora
f1e4ba2166a2d674fc20939111a03a1adccf4088
[ "MIT" ]
null
null
null
projects/engine/src/rendering/opengl/assets/glmodel.hpp
zCubed3/Aurora
f1e4ba2166a2d674fc20939111a03a1adccf4088
[ "MIT" ]
3
2021-11-06T19:36:42.000Z
2021-11-06T19:37:35.000Z
projects/engine/src/rendering/opengl/assets/glmodel.hpp
zCubed3/Manta
f1e4ba2166a2d674fc20939111a03a1adccf4088
[ "MIT" ]
null
null
null
#ifndef MANTA_GLMODEL_H #define MANTA_GLMODEL_H #include <assets/model.hpp> typedef unsigned int uint; class GLVertexBuffer : public VertexBuffer { public: void Populate(Model *model); void Draw(MEngine *engine, AActor *pActor, Material *material); ~GLVertexBuffer(); protected: uint vao, vbo, ibo;...
17.727273
67
0.717949
[ "object", "model" ]
4b4ecf85de991aa70584c27991c5d54f745d6a06
16,946
cxx
C++
Libs/MRML/Widgets/qMRMLTableView.cxx
TheInterventionCentre/NorMIT-Plan-App
765ed9a5dccc1cc134b65ccabe93fc132baeb2ea
[ "MIT" ]
null
null
null
Libs/MRML/Widgets/qMRMLTableView.cxx
TheInterventionCentre/NorMIT-Plan-App
765ed9a5dccc1cc134b65ccabe93fc132baeb2ea
[ "MIT" ]
null
null
null
Libs/MRML/Widgets/qMRMLTableView.cxx
TheInterventionCentre/NorMIT-Plan-App
765ed9a5dccc1cc134b65ccabe93fc132baeb2ea
[ "MIT" ]
null
null
null
/*============================================================================== Program: 3D Slicer Portions (c) Copyright 2015 Brigham and Women's Hospital (BWH) All Rights Reserved. See COPYRIGHT.txt or http://www.slicer.org/copyright/copyright.txt for details. Unless required by applicable law or agree...
28.196339
111
0.568571
[ "object", "model", "3d" ]
4b50c7b8a4b394f5070f4de9b79532ea57c763c0
527
hpp
C++
include/decima/serializable/object/prefetch.hpp
torandi/ProjectDecima
617e98164a0e9bf906cf85c86a16dfea3610fc63
[ "MIT" ]
15
2020-08-08T16:17:53.000Z
2022-03-19T19:17:57.000Z
include/decima/serializable/object/prefetch.hpp
torandi/ProjectDecima
617e98164a0e9bf906cf85c86a16dfea3610fc63
[ "MIT" ]
6
2020-08-09T23:50:50.000Z
2022-02-24T20:52:35.000Z
include/decima/serializable/object/prefetch.hpp
torandi/ProjectDecima
617e98164a0e9bf906cf85c86a16dfea3610fc63
[ "MIT" ]
6
2021-04-06T09:27:44.000Z
2022-01-14T06:38:45.000Z
#pragma once #include <string> #include <vector> #include "object.hpp" #include "decima/serializable/array.hpp" #include "decima/serializable/string.hpp" namespace Decima { class Prefetch : public CoreObject { public: void parse(ArchiveManager& manager, ash::buffer& buffer, CoreFile& file) override; ...
22.913043
90
0.666034
[ "object", "vector" ]
4b5318d561f84b96ffac383bce6b2feb9adb03e0
4,826
cpp
C++
includes/ForcefulClassifier.cpp
WalkingDexter/simple_image_v2
d02dfe19adedf8b33fb94bad0ce88fbbe46de41e
[ "Apache-2.0" ]
null
null
null
includes/ForcefulClassifier.cpp
WalkingDexter/simple_image_v2
d02dfe19adedf8b33fb94bad0ce88fbbe46de41e
[ "Apache-2.0" ]
null
null
null
includes/ForcefulClassifier.cpp
WalkingDexter/simple_image_v2
d02dfe19adedf8b33fb94bad0ce88fbbe46de41e
[ "Apache-2.0" ]
null
null
null
/* Copyright © 2017 Andrey Tymchuk. 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...
31.75
120
0.709697
[ "vector", "transform" ]
4b5490a12317384608712a7fe9fcaf233814ad59
16,270
hpp
C++
Include/SA/Maths/Space/Vector3.hpp
SapphireSuite/Maths
df193e3d8fc5cd127626f2f1e2b0bd14cd6cb4eb
[ "MIT" ]
null
null
null
Include/SA/Maths/Space/Vector3.hpp
SapphireSuite/Maths
df193e3d8fc5cd127626f2f1e2b0bd14cd6cb4eb
[ "MIT" ]
1
2022-02-08T18:22:21.000Z
2022-02-08T18:22:21.000Z
Include/SA/Maths/Space/Vector3.hpp
SapphireSuite/Maths
df193e3d8fc5cd127626f2f1e2b0bd14cd6cb4eb
[ "MIT" ]
null
null
null
// Copyright (c) 2022 Sapphire development team. All Rights Reserved. #pragma once #ifndef SAPPHIRE_MATHS_VECTOR3_GUARD #define SAPPHIRE_MATHS_VECTOR3_GUARD #include <cstdint> #include <SA/Maths/Debug.hpp> #include <SA/Maths/Angle/Degree.hpp> #include <SA/Maths/Algorithms/Cos.hpp> #include <SA/Maths/Algorithms/Sqr...
23.477633
114
0.649846
[ "vector" ]
4b57172920fcad362b9cb07acfdfd009ba48e8ac
6,643
cpp
C++
src/conformance/conformance_test/test_xrEnumerateEnvironmentBlendModes.cpp
rpavlik/OpenXR-CTS
5600673d550ddd5692614d11fabe0f9ceae16ed6
[ "Unlicense", "BSD-3-Clause", "Apache-2.0", "MIT" ]
35
2020-07-07T18:10:11.000Z
2022-03-13T10:48:45.000Z
src/conformance/conformance_test/test_xrEnumerateEnvironmentBlendModes.cpp
rpavlik/OpenXR-CTS
5600673d550ddd5692614d11fabe0f9ceae16ed6
[ "Unlicense", "BSD-3-Clause", "Apache-2.0", "MIT" ]
29
2020-09-10T16:36:59.000Z
2022-03-31T18:17:32.000Z
src/conformance/conformance_test/test_xrEnumerateEnvironmentBlendModes.cpp
rpavlik/OpenXR-CTS
5600673d550ddd5692614d11fabe0f9ceae16ed6
[ "Unlicense", "BSD-3-Clause", "Apache-2.0", "MIT" ]
9
2020-09-10T16:01:57.000Z
2022-01-21T18:28:35.000Z
// Copyright (c) 2019-2021, The Khronos Group Inc. // // SPDX-License-Identifier: Apache-2.0 // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICEN...
48.489051
144
0.63661
[ "vector" ]
4b5b48356796afe686ee2e3c6614c76839777300
18,119
hpp
C++
3party/osrm/osrm-backend/routing_algorithms/routing_base.hpp
kudlav/organicmaps
390236365749e0525b9229684132c2888d11369d
[ "Apache-2.0" ]
4,879
2015-09-30T10:56:36.000Z
2022-03-31T18:43:03.000Z
3party/osrm/osrm-backend/routing_algorithms/routing_base.hpp
mbrukman/omim
d22fe2b6e0beee697f096e931df97a64f9db9dc1
[ "Apache-2.0" ]
7,549
2015-09-30T10:52:53.000Z
2022-03-31T22:04:22.000Z
3party/osrm/osrm-backend/routing_algorithms/routing_base.hpp
mbrukman/omim
d22fe2b6e0beee697f096e931df97a64f9db9dc1
[ "Apache-2.0" ]
1,493
2015-09-30T10:43:06.000Z
2022-03-21T09:16:49.000Z
/* Copyright (c) 2015, Project OSRM contributors All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and the f...
42.137209
144
0.575363
[ "vector" ]
4b5b8587c04e18af0f391f89aea943c4c8bf68f6
5,976
cc
C++
src/tty_wrap.cc
kurhula/node
ae0299287209e6d1dd0606c885ca087e82ed0e7d
[ "Artistic-2.0" ]
null
null
null
src/tty_wrap.cc
kurhula/node
ae0299287209e6d1dd0606c885ca087e82ed0e7d
[ "Artistic-2.0" ]
null
null
null
src/tty_wrap.cc
kurhula/node
ae0299287209e6d1dd0606c885ca087e82ed0e7d
[ "Artistic-2.0" ]
1
2020-04-13T17:46:42.000Z
2020-04-13T17:46:42.000Z
// Copyright Joyent, Inc. and other Node contributors. // // 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, modi...
31.957219
80
0.692102
[ "object" ]
4b60e29cf8e0fdf91fc6284aa7e0fdb50f112434
78,604
cc
C++
src/lib/dhcpsrv/tests/memfile_lease_mgr_unittest.cc
sjbonarrigo/kea
b6bf5214650c0b8ee94027d02f98adb1bfd9a166
[ "Apache-2.0" ]
null
null
null
src/lib/dhcpsrv/tests/memfile_lease_mgr_unittest.cc
sjbonarrigo/kea
b6bf5214650c0b8ee94027d02f98adb1bfd9a166
[ "Apache-2.0" ]
null
null
null
src/lib/dhcpsrv/tests/memfile_lease_mgr_unittest.cc
sjbonarrigo/kea
b6bf5214650c0b8ee94027d02f98adb1bfd9a166
[ "Apache-2.0" ]
null
null
null
// Copyright (C) 2012-2019 Internet Systems Consortium, Inc. ("ISC") // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. #include <config.h> #include <asiolink/asio_w...
39.638931
95
0.663274
[ "object", "vector" ]
4b627b81fa53a6895db230e5d288c70221a9bc4f
349
cpp
C++
Codeforces/1165B - Polycarp Training.cpp
naimulcsx/online-judge-solutions
0b80f81bcfb05a7cfe7fc925304c70b19eff1d6f
[ "MIT" ]
null
null
null
Codeforces/1165B - Polycarp Training.cpp
naimulcsx/online-judge-solutions
0b80f81bcfb05a7cfe7fc925304c70b19eff1d6f
[ "MIT" ]
null
null
null
Codeforces/1165B - Polycarp Training.cpp
naimulcsx/online-judge-solutions
0b80f81bcfb05a7cfe7fc925304c70b19eff1d6f
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main() { ios::sync_with_stdio(false); int n; cin >> n; vector<int> arr(n); for (auto &el: arr) cin >> el; sort( begin(arr), end(arr) ); int k = 1, cnt = 0; for (auto el: arr) { if ( el >= k ) { cnt++, k++; } } cout << ...
16.619048
38
0.47851
[ "vector" ]
4b63125c18d87171498bc8b9c1fe92fd420c6850
2,501
cpp
C++
LinkList/mergeTwoSortedList.cpp
JacobLee121/interview_code
d014027f152d8c3b6352581f1846dda6cd2664b7
[ "Apache-2.0" ]
null
null
null
LinkList/mergeTwoSortedList.cpp
JacobLee121/interview_code
d014027f152d8c3b6352581f1846dda6cd2664b7
[ "Apache-2.0" ]
null
null
null
LinkList/mergeTwoSortedList.cpp
JacobLee121/interview_code
d014027f152d8c3b6352581f1846dda6cd2664b7
[ "Apache-2.0" ]
null
null
null
// // mergeTwoSortedList.cpp // LinkListTest // // Created by 李鑫强 on 2020/5/31星期日. // Copyright © 2020年 lixinqiang. All rights reserved. // #include "mergeTwoSortedList.hpp" #include <vector> #include <unordered_map> class MergeList { public: ListNode* mergeTwoListsRecursive(ListNode* l1, ListNode* l2) { ...
25.262626
78
0.509396
[ "vector" ]
b49bb6b2f7e7a24e85cd8b4008606c47494f9561
2,613
cpp
C++
ams_sketch.cpp
streaminglib/streaminglib
3be40b0084f36250ddb5a19c1d834d07a6e42b6e
[ "MIT" ]
null
null
null
ams_sketch.cpp
streaminglib/streaminglib
3be40b0084f36250ddb5a19c1d834d07a6e42b6e
[ "MIT" ]
null
null
null
ams_sketch.cpp
streaminglib/streaminglib
3be40b0084f36250ddb5a19c1d834d07a6e42b6e
[ "MIT" ]
null
null
null
#include "ams_sketch.h" ams_sketch::ams_sketch(size_t c, size_t c_w, vector<int> s): hash_table(32, c_w, c), seeds(&s[0], &s[c]){ cells = c; cell_width = c_w; } void ams_sketch::insert_element(const string &ele, int freq){ for(int i = 0; i < cells; i += 1){ char hash_val[16] = {}; char mul...
29.359551
105
0.62036
[ "vector" ]
b4a286e08e5a68661c1c8968a623ad138a53b536
11,895
cpp
C++
onnxruntime/core/providers/dml/DmlExecutionProvider/src/TensorDesc.cpp
KsenijaS/onnxruntime
5086e55a35f83e3137bdb34b6d7210c97a512e6a
[ "MIT" ]
2
2021-07-24T01:13:36.000Z
2021-11-17T11:03:52.000Z
onnxruntime/core/providers/dml/DmlExecutionProvider/src/TensorDesc.cpp
KsenijaS/onnxruntime
5086e55a35f83e3137bdb34b6d7210c97a512e6a
[ "MIT" ]
17
2020-07-21T11:13:27.000Z
2022-03-27T02:37:05.000Z
onnxruntime/core/providers/dml/DmlExecutionProvider/src/TensorDesc.cpp
Surfndez/onnxruntime
9d748afff19e9604a00632d66b97159b917dabb2
[ "MIT" ]
1
2020-07-30T12:50:02.000Z
2020-07-30T12:50:02.000Z
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #include "precomp.h" using namespace Dml; TensorDesc::TensorDesc( DML_TENSOR_DATA_TYPE dataType, gsl::span<const uint32_t> sizes, std::optional<gsl::span<const uint32_t>> strides, uint32_t guaranteedBaseOf...
38.370968
168
0.652963
[ "shape" ]
b4a85280773e21f3303451f35ab61952cc718db3
2,925
cpp
C++
Source/Geometry/Analytic/imstkPlane.cpp
Kitware/iMSTK
fa84907c77c524a45c126d836f15275d76648be6
[ "Apache-2.0" ]
15
2021-09-20T17:33:52.000Z
2022-02-12T09:49:57.000Z
Source/Geometry/Analytic/imstkPlane.cpp
Kitware/iMSTK
fa84907c77c524a45c126d836f15275d76648be6
[ "Apache-2.0" ]
null
null
null
Source/Geometry/Analytic/imstkPlane.cpp
Kitware/iMSTK
fa84907c77c524a45c126d836f15275d76648be6
[ "Apache-2.0" ]
3
2021-10-06T19:55:41.000Z
2022-02-17T21:59:16.000Z
/*========================================================================= Library: iMSTK Copyright (c) Kitware, Inc. & Center for Modeling, Simulation, & Imaging in Medicine, Rensselaer Polytechnic Institute. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file e...
25
92
0.615726
[ "transform" ]
b4ab337772596420003cb7291839d37f9b94ed65
6,072
hh
C++
src/OpenMesh/Apps/Unsupported/IvViewer/SoOpenMeshNodeT.hh
rzoller/OpenMesh
f84bca0b26c61eab5f9335b2191962ca8545c5f6
[ "BSD-3-Clause" ]
null
null
null
src/OpenMesh/Apps/Unsupported/IvViewer/SoOpenMeshNodeT.hh
rzoller/OpenMesh
f84bca0b26c61eab5f9335b2191962ca8545c5f6
[ "BSD-3-Clause" ]
null
null
null
src/OpenMesh/Apps/Unsupported/IvViewer/SoOpenMeshNodeT.hh
rzoller/OpenMesh
f84bca0b26c61eab5f9335b2191962ca8545c5f6
[ "BSD-3-Clause" ]
null
null
null
/* ========================================================================= * * * * OpenMesh * * Copyright (c) 2001-2015, RWTH-Aachen University * * ...
44.647059
91
0.438076
[ "mesh" ]
b4ab859baf51e1ceab593d6ce2031bd6e7571045
21,468
cc
C++
third_party/fuchsia-sdk/pkg/scenic_cpp/resources.cc
zachary0101/fuchsia-sample
f89a96f6d320b9963fa8168954b84441ca2fdf40
[ "BSD-3-Clause" ]
2
2020-08-16T15:32:35.000Z
2021-11-07T20:09:46.000Z
third_party/fuchsia-sdk/pkg/scenic_cpp/resources.cc
zachary0101/fuchsia-sample
f89a96f6d320b9963fa8168954b84441ca2fdf40
[ "BSD-3-Clause" ]
null
null
null
third_party/fuchsia-sdk/pkg/scenic_cpp/resources.cc
zachary0101/fuchsia-sample
f89a96f6d320b9963fa8168954b84441ca2fdf40
[ "BSD-3-Clause" ]
1
2021-08-15T04:29:11.000Z
2021-08-15T04:29:11.000Z
// Copyright 2017 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 <lib/images/cpp/images.h> #include <lib/ui/scenic/cpp/commands.h> #include <lib/ui/scenic/cpp/resources.h> #include <lib/ui/scenic/cpp/view_token_...
35.193443
100
0.71581
[ "mesh", "shape", "vector" ]
b4ae0fce83213642e9d0387065d20abe65fddd0a
6,337
cpp
C++
engine/test/gtest/test_split_op.cpp
kevinintel/neural-compressor
b57645566aeff8d3c18dc49d2739a583c072f940
[ "Apache-2.0" ]
100
2020-12-01T02:40:12.000Z
2021-09-09T08:14:22.000Z
engine/test/gtest/test_split_op.cpp
kevinintel/neural-compressor
b57645566aeff8d3c18dc49d2739a583c072f940
[ "Apache-2.0" ]
25
2021-01-05T00:16:17.000Z
2021-09-10T03:24:01.000Z
engine/test/gtest/test_split_op.cpp
kevinintel/neural-compressor
b57645566aeff8d3c18dc49d2739a583c072f940
[ "Apache-2.0" ]
25
2020-12-01T19:07:08.000Z
2021-08-30T14:20:07.000Z
// 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 applicabl...
35.01105
97
0.650781
[ "shape", "vector" ]
b4aec1a0884c6c212eda42e53407d11d9a0b2e87
2,601
cpp
C++
src/marnav/ais/message_24.cpp
PappaD/marnav
ea82c58c71d3c09ab7d91bdcfda5299f83a84f5c
[ "BSD-4-Clause" ]
null
null
null
src/marnav/ais/message_24.cpp
PappaD/marnav
ea82c58c71d3c09ab7d91bdcfda5299f83a84f5c
[ "BSD-4-Clause" ]
null
null
null
src/marnav/ais/message_24.cpp
PappaD/marnav
ea82c58c71d3c09ab7d91bdcfda5299f83a84f5c
[ "BSD-4-Clause" ]
1
2020-12-21T16:38:02.000Z
2020-12-21T16:38:02.000Z
#include "message_24.hpp" #include <marnav/utils/mmsi.hpp> namespace marnav { namespace ais { constexpr message_id message_24::ID; constexpr std::size_t message_24::SIZE_BITS; constexpr std::size_t message_24::SIZE_BITS_IGNORED_SPARES_OF_TYPE_A; message_24::message_24() : message_24(ID) { } message_24::message_24(m...
18.578571
87
0.662822
[ "model" ]
b4b1371826cb92f70768ea93f3b7d3c16dc4e583
8,957
cc
C++
src/client/StartCommand.cc
ryan-rao/LTFS-Data-Management
041960282d20aeefb8da20eabf04367a164a5903
[ "Apache-2.0" ]
19
2018-06-28T03:53:41.000Z
2022-03-15T16:17:33.000Z
src/client/StartCommand.cc
ryan-rao/LTFS-Data-Management
041960282d20aeefb8da20eabf04367a164a5903
[ "Apache-2.0" ]
13
2018-04-25T15:40:14.000Z
2021-01-18T11:03:27.000Z
src/client/StartCommand.cc
ryan-rao/LTFS-Data-Management
041960282d20aeefb8da20eabf04367a164a5903
[ "Apache-2.0" ]
8
2018-08-08T05:40:31.000Z
2022-03-22T16:21:06.000Z
/******************************************************************************* * Copyright 2018 IBM Corp. 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 * * ht...
30.465986
172
0.626772
[ "shape" ]
b4b40ea94dd43c13ca418138b636a59b9d67690f
1,105
cpp
C++
practice/interviewPrepKit/dictionariesAndMaps/towPairs.cpp
Kiandr/dataStructure
5cf8bd07df1c115cac9fcc69ae359500a72ad986
[ "Apache-2.0" ]
null
null
null
practice/interviewPrepKit/dictionariesAndMaps/towPairs.cpp
Kiandr/dataStructure
5cf8bd07df1c115cac9fcc69ae359500a72ad986
[ "Apache-2.0" ]
null
null
null
practice/interviewPrepKit/dictionariesAndMaps/towPairs.cpp
Kiandr/dataStructure
5cf8bd07df1c115cac9fcc69ae359500a72ad986
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <vector> #include<map> #include <utility> #include <string> bool aExistsInB(std::string prtToSubstring,char prtB){ for (int i=0;i<prtToSubstring.length();i++) if (prtToSubstring[i]==prtB) return 1; return 0; } char *twoPairs(std::string sA, std::string sB){ std::strin...
26.95122
76
0.464253
[ "vector" ]
b4b5e5b17d3fa970129922941b08bcee5401a190
142,046
cpp
C++
deployment/deployutils/deployutils.cpp
emuharemagic/HPCC-Platform
bbd5423b25f6ba2d675521c8917f9ecfa97dace5
[ "Apache-2.0" ]
1
2020-08-01T19:54:56.000Z
2020-08-01T19:54:56.000Z
deployment/deployutils/deployutils.cpp
emuharemagic/HPCC-Platform
bbd5423b25f6ba2d675521c8917f9ecfa97dace5
[ "Apache-2.0" ]
null
null
null
deployment/deployutils/deployutils.cpp
emuharemagic/HPCC-Platform
bbd5423b25f6ba2d675521c8917f9ecfa97dace5
[ "Apache-2.0" ]
null
null
null
/*############################################################################## HPCC SYSTEMS software Copyright (C) 2012 HPCC Systems. 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 ...
37.253082
244
0.60153
[ "model", "transform" ]
b4bfdebecc23e88dc705106b2db16bce96ae6878
11,319
cc
C++
src/odc/odb2netcdf/Odb2NetCDF.cc
JCSDA/odc-1
8a120ebc744778248dda0267094cbf9aaa9d7246
[ "Apache-2.0" ]
null
null
null
src/odc/odb2netcdf/Odb2NetCDF.cc
JCSDA/odc-1
8a120ebc744778248dda0267094cbf9aaa9d7246
[ "Apache-2.0" ]
null
null
null
src/odc/odb2netcdf/Odb2NetCDF.cc
JCSDA/odc-1
8a120ebc744778248dda0267094cbf9aaa9d7246
[ "Apache-2.0" ]
null
null
null
#include "Odb2NetCDF.h" #include <iostream> #include <netcdfcpp.h> #include <algorithm> #include <odb_api/Reader.h> #include <odb_api/Select.h> #include "eckit/exception/Exceptions.h" /// @author Anne Fouilloux using namespace std; using namespace eckit; /// Replaces all occurences of '@' with '_' string patchNam...
35.482759
126
0.557116
[ "vector" ]
b4c17840241b1d468ecb7f07534b2ce1ad50a16e
149
cpp
C++
Face.cpp
zeunix/Bota-Pelota-
575f7cd098083f10d59af05cb9734e51ab4c2bbf
[ "Unlicense" ]
null
null
null
Face.cpp
zeunix/Bota-Pelota-
575f7cd098083f10d59af05cb9734e51ab4c2bbf
[ "Unlicense" ]
null
null
null
Face.cpp
zeunix/Bota-Pelota-
575f7cd098083f10d59af05cb9734e51ab4c2bbf
[ "Unlicense" ]
null
null
null
#include "Face.h" Face::Face() { //ctor } Face::Face(vector<Edge> edges_in) { edges = edges_in; } Face::~Face() { //dtor }
7.842105
34
0.503356
[ "vector" ]
b4cb5bfd5631bd799683fd9206c7eac88b7a6f7a
5,703
cpp
C++
src/fileformat/file_format/raw_data/raw_data_format.cpp
nimeshvaghasiya/retdec
30b3cb3402fe59d992bf0558681f051bcd7f7849
[ "MIT", "BSD-3-Clause" ]
521
2019-03-29T15:44:08.000Z
2022-03-22T09:46:19.000Z
src/fileformat/file_format/raw_data/raw_data_format.cpp
nimeshvaghasiya/retdec
30b3cb3402fe59d992bf0558681f051bcd7f7849
[ "MIT", "BSD-3-Clause" ]
30
2019-06-04T17:00:49.000Z
2021-09-08T20:44:19.000Z
src/fileformat/file_format/raw_data/raw_data_format.cpp
nimeshvaghasiya/retdec
30b3cb3402fe59d992bf0558681f051bcd7f7849
[ "MIT", "BSD-3-Clause" ]
99
2019-03-29T16:04:13.000Z
2022-03-28T16:59:34.000Z
/** * @file src/fileformat/file_format/raw_data/raw_data_format.cpp * @brief Methods of RawDataFormat class. * @copyright (c) 2017 Avast Software, licensed under the MIT license */ #include <algorithm> #include <iomanip> #include <string> #include "retdec/fileformat/file_format/raw_data/raw_data_format.h" using ...
17.821875
113
0.686656
[ "vector" ]
b4cf19dff25270a1dc9e628a16960ffa7182920b
9,084
cpp
C++
gadgets/mri_core/AcquisitionAccumulateTriggerGadget.cpp
roopchansinghv/gadgetron
fb6c56b643911152c27834a754a7b6ee2dd912da
[ "MIT" ]
1
2022-02-22T21:06:36.000Z
2022-02-22T21:06:36.000Z
gadgets/mri_core/AcquisitionAccumulateTriggerGadget.cpp
apd47/gadgetron
073e84dabe77d2dae3b3dd9aa4bf9edbf1f890f2
[ "MIT" ]
null
null
null
gadgets/mri_core/AcquisitionAccumulateTriggerGadget.cpp
apd47/gadgetron
073e84dabe77d2dae3b3dd9aa4bf9edbf1f890f2
[ "MIT" ]
null
null
null
#include "AcquisitionAccumulateTriggerGadget.h" #include "log.h" #include "mri_core_data.h" #include <boost/algorithm/string.hpp> namespace Gadgetron { using TriggerDimension = AcquisitionAccumulateTriggerGadget::TriggerDimension; namespace { bool is_noise(Core::Acquisition& acq) { return s...
46.824742
206
0.630009
[ "vector" ]
b4d469afbe6920de27db94387036b75e94cd708b
10,156
cpp
C++
src/qpid/management/ManagementObject.cpp
gcsideal/debian-qpid-cpp
e4d034036f29408f940805f5505ae62ce89650cc
[ "Apache-2.0" ]
null
null
null
src/qpid/management/ManagementObject.cpp
gcsideal/debian-qpid-cpp
e4d034036f29408f940805f5505ae62ce89650cc
[ "Apache-2.0" ]
null
null
null
src/qpid/management/ManagementObject.cpp
gcsideal/debian-qpid-cpp
e4d034036f29408f940805f5505ae62ce89650cc
[ "Apache-2.0" ]
null
null
null
/* * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); y...
26.310881
95
0.615203
[ "object" ]
b4d5d6b38f97070a3305c9404187e364cb3d6ffc
5,950
cpp
C++
Sources/assimp/code/Common/Version.cpp
staminajim/Assimp
142a47529ed2f2ad6c38a87b6d4f77a6cc4e8ff9
[ "BSD-3-Clause" ]
null
null
null
Sources/assimp/code/Common/Version.cpp
staminajim/Assimp
142a47529ed2f2ad6c38a87b6d4f77a6cc4e8ff9
[ "BSD-3-Clause" ]
null
null
null
Sources/assimp/code/Common/Version.cpp
staminajim/Assimp
142a47529ed2f2ad6c38a87b6d4f77a6cc4e8ff9
[ "BSD-3-Clause" ]
null
null
null
/* --------------------------------------------------------------------------- Open Asset Import Library (assimp) --------------------------------------------------------------------------- Copyright (c) 2006-2019, assimp team All rights reserved. Redistribution and use of this software in source and binary forms, ...
31.989247
99
0.597815
[ "3d" ]
b4d6e1beae920a118076d44182796237f4686641
44,413
cpp
C++
src/vm/eepolicy.cpp
ComeWithMe/coreclr
1ab8b90ca9f8748776b00cc21cd5740b53dec67b
[ "MIT" ]
null
null
null
src/vm/eepolicy.cpp
ComeWithMe/coreclr
1ab8b90ca9f8748776b00cc21cd5740b53dec67b
[ "MIT" ]
null
null
null
src/vm/eepolicy.cpp
ComeWithMe/coreclr
1ab8b90ca9f8748776b00cc21cd5740b53dec67b
[ "MIT" ]
1
2019-04-12T13:48:27.000Z
2019-04-12T13:48:27.000Z
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. // // // --------------------------------------------------------------------------- // EEPolicy.cpp // ------------...
34.806426
229
0.645779
[ "object", "vector" ]
b4df564ef23d479db68be2c2b2ae14a06dfac7b1
7,954
cpp
C++
Source/Dreemchest/Scene/Rendering/RenderCache.cpp
dmsovetov/Dreemchest
39255c88943abc69c7fa0710b7ca8486c08260e0
[ "MIT" ]
11
2016-02-18T15:24:49.000Z
2021-01-30T18:26:04.000Z
Source/Dreemchest/Scene/Rendering/RenderCache.cpp
dmsovetov/dreemchest
39255c88943abc69c7fa0710b7ca8486c08260e0
[ "MIT" ]
2
2016-05-23T22:48:35.000Z
2017-02-13T16:43:32.000Z
Source/Dreemchest/Scene/Rendering/RenderCache.cpp
dmsovetov/dreemchest
39255c88943abc69c7fa0710b7ca8486c08260e0
[ "MIT" ]
3
2016-08-19T13:26:59.000Z
2018-08-03T04:28:14.000Z
/************************************************************************** The MIT License (MIT) Copyright (c) 2015 Dmitry Sovetov https://github.com/dmsovetov Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to ...
34.4329
173
0.680287
[ "mesh", "render" ]
b4e0a6b3bd9de4b23917cb58d4d8d2f6f0d7b069
25,449
cpp
C++
src/mongo/db/storage/mmap_v1/dur_recover.cpp
leifwalsh/mongo
4cf51324255f76a110246f6d1646dc8cda570141
[ "Apache-2.0" ]
29
2015-01-13T02:34:23.000Z
2022-01-30T16:57:10.000Z
src/mongo/db/storage/mmap_v1/dur_recover.cpp
leifwalsh/mongo
4cf51324255f76a110246f6d1646dc8cda570141
[ "Apache-2.0" ]
null
null
null
src/mongo/db/storage/mmap_v1/dur_recover.cpp
leifwalsh/mongo
4cf51324255f76a110246f6d1646dc8cda570141
[ "Apache-2.0" ]
12
2015-01-24T08:40:28.000Z
2017-10-04T17:23:39.000Z
// @file dur_recover.cpp crash recovery via the journal /** * Copyright (C) 2009 10gen Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License, version 3, * as published by the Free Software Foundation. * * This program...
40.459459
147
0.511965
[ "object", "vector" ]
b4e115229c31de2153bf7991dc11c459ea0bfdba
19,300
hpp
C++
src/hotspot/share/adlc/forms.hpp
siweilxy/openjdkstudy
8597674ec1d6809faf55cbee1f45f4e9149d670d
[ "Apache-2.0" ]
1
2020-12-26T04:52:15.000Z
2020-12-26T04:52:15.000Z
src/hotspot/share/adlc/forms.hpp
siweilxy/openjdkstudy
8597674ec1d6809faf55cbee1f45f4e9149d670d
[ "Apache-2.0" ]
1
2020-12-26T04:57:19.000Z
2020-12-26T04:57:19.000Z
src/hotspot/share/adlc/forms.hpp
siweilxy/openjdkstudy
8597674ec1d6809faf55cbee1f45f4e9149d670d
[ "Apache-2.0" ]
1
2021-12-06T01:13:18.000Z
2021-12-06T01:13:18.000Z
/* * Copyright (c) 1997, 2019, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
32.166667
108
0.630259
[ "vector" ]
b4e1d7498f9ce71e589f426c7f87ddaee1decfc4
4,232
cpp
C++
qtglass.cpp
ianbannerman/QtGlass
1628b9e766b9767f052219ea4c79e27d4773efa1
[ "MIT" ]
4
2018-12-31T06:33:22.000Z
2019-09-07T08:12:12.000Z
qtglass.cpp
ianbannerman/QtGlass
1628b9e766b9767f052219ea4c79e27d4773efa1
[ "MIT" ]
null
null
null
qtglass.cpp
ianbannerman/QtGlass
1628b9e766b9767f052219ea4c79e27d4773efa1
[ "MIT" ]
1
2019-02-14T01:45:45.000Z
2019-02-14T01:45:45.000Z
#include "qtglass.h" int main(int argc, char *argv[]) { QApplication a(argc, argv); QtGlass w; //Remove the default tan system background from the window w.setAttribute(Qt::WA_TranslucentBackground); //Set an initial window size w.setMinimumSize(800, 600); //Extend the Aero glass frame into the window QtW...
24.462428
125
0.62689
[ "object" ]
b4e2787e5fe5ca7c4bdc334a5b8253d736d3067c
2,538
cpp
C++
x265/source/common/vec/vec-primitives.cpp
xu5343/ffmpegtoolkit_CentOS7
974496c709a1c8c69034e46ae5ce7101cf03716f
[ "Apache-2.0" ]
14
2019-02-26T22:22:32.000Z
2022-03-03T07:06:58.000Z
x265/source/common/vec/vec-primitives.cpp
xu5343/ffmpegtoolkit_CentOS7
974496c709a1c8c69034e46ae5ce7101cf03716f
[ "Apache-2.0" ]
null
null
null
x265/source/common/vec/vec-primitives.cpp
xu5343/ffmpegtoolkit_CentOS7
974496c709a1c8c69034e46ae5ce7101cf03716f
[ "Apache-2.0" ]
7
2019-05-17T19:14:10.000Z
2021-08-31T01:54:40.000Z
/***************************************************************************** * Copyright (C) 2013-2017 MulticoreWare, Inc * * Authors: Steve Borho <steve@borho.org> * * 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 * ...
29.511628
83
0.693065
[ "vector" ]
b4e4b2917a3bbc7836fae661899bd221309c4efe
1,928
cpp
C++
2017-08-05/J.cpp
tangjz/Three-Investigators
46dc9b2f0fbb4fe89b075a81feaacc33feeb1b52
[ "MIT" ]
3
2018-04-02T06:00:51.000Z
2018-05-29T04:46:29.000Z
2017-08-05/J.cpp
tangjz/Three-Investigators
46dc9b2f0fbb4fe89b075a81feaacc33feeb1b52
[ "MIT" ]
2
2018-03-31T17:54:30.000Z
2018-05-02T11:31:06.000Z
2017-08-05/J.cpp
tangjz/Three-Investigators
46dc9b2f0fbb4fe89b075a81feaacc33feeb1b52
[ "MIT" ]
2
2018-10-07T00:08:06.000Z
2021-06-28T11:02:59.000Z
#include<bits/stdc++.h> using namespace std; #define pb push_back #define mkp make_pair #define fi first #define se second #define ll long long #define M 1000000007 #define all(a) a.begin(), a.end() const int maxn = 100100; const int maxp = maxn * 18; int son[maxp][2], cnt[maxp]; int a[maxn], fa[maxn][18], dep[maxn], ...
23.512195
91
0.503112
[ "vector" ]
b4e550bdfab2934120de7fdc89ad65a7dac1d015
1,378
cc
C++
Codeforces/248 Division 2/Problem B/B.cc
VastoLorde95/Competitive-Programming
6c990656178fb0cd33354cbe5508164207012f24
[ "MIT" ]
170
2017-07-25T14:47:29.000Z
2022-01-26T19:16:31.000Z
Codeforces/248 Division 2/Problem B/B.cc
navodit15/Competitive-Programming
6c990656178fb0cd33354cbe5508164207012f24
[ "MIT" ]
null
null
null
Codeforces/248 Division 2/Problem B/B.cc
navodit15/Competitive-Programming
6c990656178fb0cd33354cbe5508164207012f24
[ "MIT" ]
55
2017-07-28T06:17:33.000Z
2021-10-31T03:06:22.000Z
#include<cstdio> #include<iostream> #include<cmath> #include<algorithm> #include<cstring> #include<map> #include<set> #include<vector> #include<utility> #include<queue> #include<stack> #define sd(x) scanf("%d",&x) #define sd2(x,y) scanf("%d%d",&x,&y) #define sd3(x,y,z) scanf("%d%d%d",&x,&y,&z) #define fi first #define...
21.2
79
0.548621
[ "vector" ]
b4e6a25b596fa079a362cf8eafa1a6410c534c2c
512
cpp
C++
MaximumLengthOfRepeatedSubarray/maximum_length_of_repeated_subarray.cpp
suzyz/leetcode_practice
e22dc5a81e065dc962e5561b14ac84b9a2302e8a
[ "MIT" ]
1
2019-10-07T05:00:21.000Z
2019-10-07T05:00:21.000Z
MaximumLengthOfRepeatedSubarray/maximum_length_of_repeated_subarray.cpp
suzyz/leetcode_practice
e22dc5a81e065dc962e5561b14ac84b9a2302e8a
[ "MIT" ]
null
null
null
MaximumLengthOfRepeatedSubarray/maximum_length_of_repeated_subarray.cpp
suzyz/leetcode_practice
e22dc5a81e065dc962e5561b14ac84b9a2302e8a
[ "MIT" ]
null
null
null
// O(N^2) space. class Solution { public: int f[1002][1002]; int findLength(vector<int>& A, vector<int>& B) { int n = A.size(), m = B.size(), ans = 0; for (int i = 0; i < n; ++i) for (int j = 0; j < m; ++j) if (A[i] == B[j]) { int pre; if (i == 0 || ...
21.333333
52
0.341797
[ "vector" ]
b4e70bf525e2c32133e01941e731c06d5f73ad4a
9,694
hpp
C++
openstudiocore/src/utilities/idd/IddRegex.hpp
pepsi7959/OpenstudioThai
fb18afb8b983f71dd5eb171e753dac7d9a4b811b
[ "blessing" ]
1
2015-06-28T09:06:24.000Z
2015-06-28T09:06:24.000Z
openstudiocore/src/utilities/idd/IddRegex.hpp
pepsi7959/OpenstudioThai
fb18afb8b983f71dd5eb171e753dac7d9a4b811b
[ "blessing" ]
11
2015-05-05T16:16:33.000Z
2017-08-10T08:15:50.000Z
openstudiocore/src/utilities/idd/IddRegex.hpp
pepsi7959/OpenstudioThai
fb18afb8b983f71dd5eb171e753dac7d9a4b811b
[ "blessing" ]
1
2017-09-23T12:51:13.000Z
2017-09-23T12:51:13.000Z
/********************************************************************** * Copyright (c) 2008-2015, Alliance for Sustainable Energy. * All rights reserved. * * 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...
32.313333
87
0.683722
[ "object" ]
b4ea34a63cdd16843dc75c1d271467bcd670f740
1,759
cpp
C++
Luogu/P4862/dp_observation.cpp
codgician/ACM
391f3ce9b89b0a4bbbe3ff60eb2369fef57460d4
[ "MIT" ]
2
2018-02-14T01:59:31.000Z
2018-03-28T03:30:45.000Z
Luogu/P4862/dp_observation.cpp
codgician/ACM
391f3ce9b89b0a4bbbe3ff60eb2369fef57460d4
[ "MIT" ]
null
null
null
Luogu/P4862/dp_observation.cpp
codgician/ACM
391f3ce9b89b0a4bbbe3ff60eb2369fef57460d4
[ "MIT" ]
2
2017-12-30T02:46:35.000Z
2018-03-28T03:30:49.000Z
#include <iostream> #include <cstdio> #include <algorithm> #include <cmath> #include <string> #include <cstring> #include <iomanip> #include <climits> #include <stack> #include <queue> #include <vector> #include <set> #include <map> #include <functional> #include <iterator> using namespace std; #defin...
19.544444
94
0.457078
[ "vector" ]
b4eaa4782e03e285623927f2341b50cb079d5eb6
1,480
cpp
C++
Cplus/DetectSquares.cpp
JumHorn/leetcode
1447237ae8fc3920b19f60b30c71a84b088cc200
[ "MIT" ]
1
2018-01-22T12:06:28.000Z
2018-01-22T12:06:28.000Z
Cplus/DetectSquares.cpp
JumHorn/leetcode
1447237ae8fc3920b19f60b30c71a84b088cc200
[ "MIT" ]
null
null
null
Cplus/DetectSquares.cpp
JumHorn/leetcode
1447237ae8fc3920b19f60b30c71a84b088cc200
[ "MIT" ]
null
null
null
#include <vector> using namespace std; class DetectSquares { public: DetectSquares() : data(2000000) { } void add(vector<int> point) { int x = point[0], y = point[1]; ++data[encode(x, y)]; } int count(vector<int> point) { int x = point[0], y = point[1], res = 0; //左下 for (int l = 1; x - l >= 0 && y...
21.142857
77
0.504054
[ "object", "vector" ]
b4f35466435f0391c348f9109b549a7ac429a605
52,144
hpp
C++
src/stage/batched/host/KokkosKernels_Test_BlockCrs.hpp
crtrott/kokkos-kernels
0dba50f62188eb82da35bb4fe0211c7783300903
[ "BSD-3-Clause" ]
null
null
null
src/stage/batched/host/KokkosKernels_Test_BlockCrs.hpp
crtrott/kokkos-kernels
0dba50f62188eb82da35bb4fe0211c7783300903
[ "BSD-3-Clause" ]
null
null
null
src/stage/batched/host/KokkosKernels_Test_BlockCrs.hpp
crtrott/kokkos-kernels
0dba50f62188eb82da35bb4fe0211c7783300903
[ "BSD-3-Clause" ]
null
null
null
#include <cassert> #include <vector> #include <algorithm> #if defined(__KOKKOSKERNELS_INTEL_MKL__) #include "mkl.h" #endif #include "Kokkos_Core.hpp" #include "impl/Kokkos_Timer.hpp" #include "KokkosKernels_Util.hpp" #include "KokkosKernels_Vector.hpp" #include "KokkosKernels_Gemv_Decl.hpp" #include "KokkosKernels_...
40.801252
205
0.524586
[ "mesh", "vector" ]
b4f417e3dcdf27aae7342118a5d27e405406540c
4,921
cc
C++
src/yb/master/yql_tables_vtable.cc
pritamdamania87/yugabyte-db
70355f6c9248356e84cf21588013ea477fd04a5d
[ "Apache-2.0", "CC0-1.0" ]
1
2021-01-15T00:24:31.000Z
2021-01-15T00:24:31.000Z
src/yb/master/yql_tables_vtable.cc
pritamdamania87/yugabyte-db
70355f6c9248356e84cf21588013ea477fd04a5d
[ "Apache-2.0", "CC0-1.0" ]
null
null
null
src/yb/master/yql_tables_vtable.cc
pritamdamania87/yugabyte-db
70355f6c9248356e84cf21588013ea477fd04a5d
[ "Apache-2.0", "CC0-1.0" ]
null
null
null
// Copyright (c) YugaByte, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except // in compliance with the License. You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writ...
45.564815
100
0.729933
[ "vector" ]
b4f761ffd1b8b5f6b447f7621232376eeda91e88
120,324
cpp
C++
mlir/lib/Dialect/Linalg/Transforms/ComprehensiveBufferize.cpp
zhongwuzw/llvm-project
19e1b0b2057e7ae59adebed84a1e8015148683fc
[ "Apache-2.0" ]
null
null
null
mlir/lib/Dialect/Linalg/Transforms/ComprehensiveBufferize.cpp
zhongwuzw/llvm-project
19e1b0b2057e7ae59adebed84a1e8015148683fc
[ "Apache-2.0" ]
null
null
null
mlir/lib/Dialect/Linalg/Transforms/ComprehensiveBufferize.cpp
zhongwuzw/llvm-project
19e1b0b2057e7ae59adebed84a1e8015148683fc
[ "Apache-2.0" ]
null
null
null
//===- ComprehensiveBufferize.cpp - Single pass bufferization -------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
42.577495
80
0.666883
[ "object", "shape", "vector", "model" ]
b4f8d21ad871795a792d1916a13472a567050e96
7,581
cpp
C++
Riptide Remastered/Riptide-Remastered/Cheat/InventoryChanger/InventoryChanger.cpp
Baseult/Riptide-Remastered
a8abef14a266b10a4831562ad3e6f21b78f181cc
[ "MIT" ]
14
2019-02-12T18:44:12.000Z
2022-01-02T20:23:16.000Z
pChanger/Cheat/InventoryChanger/InventoryChanger.cpp
TimDaHacka/pChanger
03c957fffbce4e8233d49d3c73f9787b70f32cdc
[ "MIT" ]
5
2019-05-16T17:55:47.000Z
2020-10-29T18:42:33.000Z
Riptide Remastered/Riptide-Remastered/Cheat/InventoryChanger/InventoryChanger.cpp
Baseult/Riptide-Remastered
a8abef14a266b10a4831562ad3e6f21b78f181cc
[ "MIT" ]
6
2019-02-04T17:53:50.000Z
2021-09-29T15:31:23.000Z
#include "InventoryChanger.h" #include <vector> void CInventoryChanger::PostRetrieveMessage(uint32_t* punMsgType, void* pubDest, uint32_t cubDest, uint32_t* pcubMsgSize) { uint32_t MessageType = *punMsgType & 0x7FFFFFFF; if (MessageType == k_EMsgGCCStrike15_v2_MatchmakingGC2ClientHello && Settings::ProfileChanger::e...
9.27907
121
0.666271
[ "object", "vector" ]
b4f9d03d6c7ed70301066969dd7bfc04a6dcaeb0
54,867
cpp
C++
mp/src/game/shared/predictioncopy.cpp
ozxybox/source-sdk-2013
17dbb5ca5c2aa0e9cfc5360b098833d8b009e79c
[ "Unlicense" ]
4
2022-03-08T04:03:06.000Z
2022-03-09T06:51:54.000Z
mp/src/game/shared/predictioncopy.cpp
ozxybox/source-sdk-2013
17dbb5ca5c2aa0e9cfc5360b098833d8b009e79c
[ "Unlicense" ]
null
null
null
mp/src/game/shared/predictioncopy.cpp
ozxybox/source-sdk-2013
17dbb5ca5c2aa0e9cfc5360b098833d8b009e79c
[ "Unlicense" ]
1
2022-03-17T12:22:45.000Z
2022-03-17T12:22:45.000Z
//========= Copyright Valve Corporation, All rights reserved. ============// // // Purpose: // // $NoKeywords: $ // //=============================================================================// #include "cbase.h" #if !defined( NO_ENTITY_PREDICTION ) #if defined( CLIENT_DLL ) #include "igamesystem.h" #endif #in...
24.461436
147
0.644376
[ "object", "vector" ]
b4fae84ff615afd0f681d0660aae6c7277a8bdee
15,138
cc
C++
src/jla.cc
surhudm/jla_python
4ec8386bba4ade446458f23f91eef9298c79b609
[ "BSD-3-Clause-Clear" ]
1
2017-03-09T08:58:45.000Z
2017-03-09T08:58:45.000Z
src/jla.cc
surhudm/jla_python
4ec8386bba4ade446458f23f91eef9298c79b609
[ "BSD-3-Clause-Clear" ]
null
null
null
src/jla.cc
surhudm/jla_python
4ec8386bba4ade446458f23f91eef9298c79b609
[ "BSD-3-Clause-Clear" ]
null
null
null
#include "jla.h" #include "ini.h" #include <iostream> #include <fstream> #include <cstring> #include <cstdlib> #include <cmath> #define sq(x) x*x //---------------------------- LAPACK headers ------------------------------------ #define dpotrf dpotrf_ #define dtrtrs dtrtrs_ extern "C" { #include <cblas.h> voi...
26.604569
122
0.585546
[ "vector", "model" ]
3700ac9840d5fbe97d1cd84be5068b577deeeedc
5,422
cpp
C++
Vendors/lepton/src/ExpressionTreeNode.cpp
vinaym815/opensim-core
176e2ae7790f039357a79e89213ba1994f651a0a
[ "Apache-2.0" ]
532
2015-03-13T18:51:10.000Z
2022-03-27T08:08:29.000Z
Vendors/lepton/src/ExpressionTreeNode.cpp
vinaym815/opensim-core
176e2ae7790f039357a79e89213ba1994f651a0a
[ "Apache-2.0" ]
2,701
2015-01-03T21:33:34.000Z
2022-03-30T07:13:41.000Z
Vendors/lepton/src/ExpressionTreeNode.cpp
vinaym815/opensim-core
176e2ae7790f039357a79e89213ba1994f651a0a
[ "Apache-2.0" ]
271
2015-02-16T23:25:29.000Z
2022-03-30T20:12:17.000Z
/* -------------------------------------------------------------------------- * * Lepton * * -------------------------------------------------------------------------- * * This is part of the Lepton expression parser originating from * ...
50.203704
181
0.603836
[ "vector" ]