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
f34302dc5b9873b155a29491bfc830d39f7f65d3
31,308
cpp
C++
vendor/dock/DockContainerWidget.cpp
remaininlight/axiom
abd3d9232ffe89dff84b0ef56ab4a1ba9e58d7ce
[ "MIT" ]
642
2017-12-10T14:22:04.000Z
2022-03-03T15:23:23.000Z
vendor/dock/DockContainerWidget.cpp
remaininlight/axiom
abd3d9232ffe89dff84b0ef56ab4a1ba9e58d7ce
[ "MIT" ]
151
2017-12-21T02:08:45.000Z
2020-07-03T14:18:51.000Z
vendor/dock/DockContainerWidget.cpp
remaininlight/axiom
abd3d9232ffe89dff84b0ef56ab4a1ba9e58d7ce
[ "MIT" ]
30
2018-09-11T14:06:31.000Z
2021-11-09T04:19:00.000Z
/******************************************************************************* ** Qt Advanced Docking System ** Copyright (C) 2017 Uwe Kindler ** ** 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 Free Software ...
39.086142
120
0.540118
[ "geometry" ]
f34629ef3c65bfbbb0c5520bff36f85bc923cc76
13,922
cpp
C++
capBAC/subject.cpp
jtracey/cuddly-fiesta
7725f567f6eb85f7c0940c531d21d6dbd50a8767
[ "Apache-2.0" ]
null
null
null
capBAC/subject.cpp
jtracey/cuddly-fiesta
7725f567f6eb85f7c0940c531d21d6dbd50a8767
[ "Apache-2.0" ]
null
null
null
capBAC/subject.cpp
jtracey/cuddly-fiesta
7725f567f6eb85f7c0940c531d21d6dbd50a8767
[ "Apache-2.0" ]
null
null
null
//USAGE : ./name <filename_of_instructions> <PORT_NO_ISSUER> <MODE(1/2)> //compile with -lcrypto //For dump_mem comparison of Digests (uncomment dump_mem and compile with base64.o,cencode.o,cdecode.o) /* TO-DO's : remove read_keypair create_keypair In Mode1_get_token from socket write json to json_message, and...
26.619503
117
0.680147
[ "vector" ]
f34678795a7c428b15fbe951614e3250e95df0f5
6,396
cpp
C++
src/stats.cpp
davek44/Quake
f6e5381d2410bf3d19e6964fb3c345c81fa2f58a
[ "Artistic-2.0" ]
1
2016-01-11T00:40:21.000Z
2016-01-11T00:40:21.000Z
src/stats.cpp
davek44/Quake
f6e5381d2410bf3d19e6964fb3c345c81fa2f58a
[ "Artistic-2.0" ]
2
2016-05-08T15:11:56.000Z
2018-07-03T20:08:19.000Z
src/stats.cpp
davek44/Quake
f6e5381d2410bf3d19e6964fb3c345c81fa2f58a
[ "Artistic-2.0" ]
2
2016-02-10T06:36:37.000Z
2020-05-19T20:41:14.000Z
#include <iostream> #include <fstream> #include <vector> #include <map> #include <cstring> #include <getopt.h> #include <ext/hash_map> namespace Sgi = ::__gnu_cxx; // GCC 4.0 and later #define HASHMAP __gnu_cxx using namespace::std; //////////////////////////////////////////////////////////// // hash_map ////...
26.213115
111
0.527674
[ "vector" ]
f350b6e4a3634b36f924ebc4d1f31a9c142640e0
11,123
cpp
C++
tests/unit/samples.cpp
cppfw/svgren
089832978aa25c174760de7fb5d46c803a06f11e
[ "MIT" ]
48
2020-12-09T15:19:59.000Z
2022-03-26T23:53:29.000Z
tests/unit/samples.cpp
cppfw/svgren
089832978aa25c174760de7fb5d46c803a06f11e
[ "MIT" ]
22
2020-12-01T16:21:56.000Z
2022-01-13T15:09:12.000Z
tests/unit/samples.cpp
cppfw/svgren
089832978aa25c174760de7fb5d46c803a06f11e
[ "MIT" ]
8
2021-01-15T19:26:22.000Z
2022-02-16T12:54:49.000Z
#include <tst/set.hpp> #include <tst/check.hpp> #include <regex> #include <png.h> #include <utki/config.hpp> #include <utki/span.hpp> #include <r4/vector.hpp> #include <papki/fs_file.hpp> #include <svgdom/dom.hpp> #include "../../src/svgren/config.hxx" #include "../../src/svgren/render.hpp" namespace{ const unsign...
29.661333
275
0.611885
[ "render", "object", "vector" ]
f3591879f7bb039c14f2bbe9bd7682d14ed884f6
476,196
cpp
C++
vm/external_libs/llvm/lib/Transforms/Scalar/InstructionCombining.cpp
deepakec/rubinius
5ebbdf3d9a4e258204e0d21f00500de4f3fb6085
[ "BSD-3-Clause" ]
1
2016-05-08T21:05:11.000Z
2016-05-08T21:05:11.000Z
vm/external_libs/llvm/lib/Transforms/Scalar/InstructionCombining.cpp
taf2/rubinius
493bfa2351fc509ca33d3bb03991c2e9c2b6dafa
[ "BSD-3-Clause" ]
null
null
null
vm/external_libs/llvm/lib/Transforms/Scalar/InstructionCombining.cpp
taf2/rubinius
493bfa2351fc509ca33d3bb03991c2e9c2b6dafa
[ "BSD-3-Clause" ]
null
null
null
//===- InstructionCombining.cpp - Combine multiple instructions -----------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
41.33287
85
0.597668
[ "object", "vector", "transform" ]
f35c1a369061c37b81770337d9eb81b252398997
6,785
cpp
C++
MyNetPhoneClient/decoder/Idct.cpp
Vladimir-Novick/MyNetPhone
3994085b46ac059e0523ddaf0f5b6effc388106a
[ "MIT" ]
2
2019-06-03T07:29:08.000Z
2022-01-08T17:41:28.000Z
MyNetPhoneClient/decoder/Idct.cpp
Vladimir-Novick/MyNetPhone
3994085b46ac059e0523ddaf0f5b6effc388106a
[ "MIT" ]
1
2020-08-28T07:37:25.000Z
2020-08-28T07:37:25.000Z
MyNetPhoneClient/decoder/Idct.cpp
Vladimir-Novick/MyNetPhone
3994085b46ac059e0523ddaf0f5b6effc388106a
[ "MIT" ]
null
null
null
//////////////////////////////////////////////////////////////////////////// // // // Project : VideoNet Ver. 1.0. // Description : Video Conferencing over the LAN. // Author : Vladiimir Novick ( v_novick@yahoo.com ) // Date : 17/12/2005 // // This is the modified version of tmndec...
30.022124
80
0.456153
[ "transform" ]
f35d6482c8b1b078e3e9b76e438400896cb4d17c
3,482
cpp
C++
src/main_minimum_tracking_example.cpp.cpp
ibogun/DeepAntrack
0b13d363a30c8ad63c0e2c8cbc16aebff90de69a
[ "MIT" ]
1
2016-09-13T18:20:17.000Z
2016-09-13T18:20:17.000Z
src/main_minimum_tracking_example.cpp.cpp
ibogun/DeepAntrack
0b13d363a30c8ad63c0e2c8cbc16aebff90de69a
[ "MIT" ]
null
null
null
src/main_minimum_tracking_example.cpp.cpp
ibogun/DeepAntrack
0b13d363a30c8ad63c0e2c8cbc16aebff90de69a
[ "MIT" ]
null
null
null
// // main.cpp // Robust Struck // // Created by Ivan Bogun on 10/5/14. // Copyright (c) 2014 Ivan Bogun. All rights reserved. // #include <opencv2/opencv.hpp> #include <glog/logging.h> #include <gflags/gflags.h> #include "Tracker/Struck.h" #include "Tracker/ObjDetectorStruck.h" DEFINE_int32(budget, 100, "Budg...
33.161905
94
0.649627
[ "object", "vector" ]
f365696e0a011fb6cdc747aaf752b3de04a3c27f
9,527
cpp
C++
compiler/optimizers/QubitTapering.cpp
zpparks314/xacc-vqe
37aaadb12d856324532c42ca9f7e56147edbd2e7
[ "BSD-3-Clause" ]
14
2017-09-15T19:05:11.000Z
2021-11-04T05:24:51.000Z
compiler/optimizers/QubitTapering.cpp
zpparks314/xacc-vqe
37aaadb12d856324532c42ca9f7e56147edbd2e7
[ "BSD-3-Clause" ]
25
2017-08-08T16:03:55.000Z
2019-12-22T12:18:27.000Z
compiler/optimizers/QubitTapering.cpp
zpparks314/xacc-vqe
37aaadb12d856324532c42ca9f7e56147edbd2e7
[ "BSD-3-Clause" ]
17
2018-06-25T20:20:16.000Z
2021-04-03T18:31:44.000Z
#include "QubitTapering.hpp" #include "PauliOperator.hpp" #include "MPIProvider.hpp" #include "DiagonalizeTask.hpp" #include <algorithm> #include <iomanip> namespace xacc { namespace vqe { Eigen::MatrixXi QubitTapering::computeTableaux(PauliOperator &H, const int n) { int nRows = 0; Eigen::MatrixXi tableaux; f...
29.223926
89
0.580875
[ "vector", "transform" ]
f371731579c566719c1909ee456570960ee02e35
86
cc
C++
test/vector-pair.cc
digiperfect/ecolab
52751dfa805b67b775ea50e37c5d02c2735ed0d2
[ "MIT" ]
10
2017-04-19T15:02:23.000Z
2021-02-18T05:03:56.000Z
test/vector-pair.cc
digiperfect/ecolab
52751dfa805b67b775ea50e37c5d02c2735ed0d2
[ "MIT" ]
9
2016-01-17T21:14:29.000Z
2020-01-28T13:18:28.000Z
test/vector-pair.cc
digiperfect/ecolab
52751dfa805b67b775ea50e37c5d02c2735ed0d2
[ "MIT" ]
10
2016-01-17T20:32:04.000Z
2021-11-29T19:11:21.000Z
#include "vector-pair.h" #include <ecolab_epilogue.h> VectorPair vp; make_model(vp);
14.333333
28
0.755814
[ "vector" ]
f3764e627b9517d5c11cbc6121bbc4316738d047
7,829
cpp
C++
pom/sandbox/coloration.cpp
e-Sharp/pom_gen_proc
cef7a57620d52631c1e94f71c71e0455f9e1b653
[ "MIT" ]
null
null
null
pom/sandbox/coloration.cpp
e-Sharp/pom_gen_proc
cef7a57620d52631c1e94f71c71e0455f9e1b653
[ "MIT" ]
null
null
null
pom/sandbox/coloration.cpp
e-Sharp/pom_gen_proc
cef7a57620d52631c1e94f71c71e0455f9e1b653
[ "MIT" ]
null
null
null
#include "pom/io_qt/all.hpp" #include "pom/io_std/all.hpp" #include "pom/io_format/srtm/all.hpp" #include "pom/io_format/wavefront/all.hpp" #include "pom/maths/matrix/interpolation.hpp" #include "pom/maths/vector/all.hpp" #include "pom/maths/gradient.hpp" #include "pom/maths/noise.hpp" #include "pom/maths/numeric.hpp" ...
34.187773
158
0.535317
[ "mesh", "vector" ]
f377276a766e8eb2907394514fd8c9dd12b8f281
3,437
cpp
C++
boboleetcode/Play-Leetcode-master/0148-Sort-List/cpp-0148/main2.cpp
mcuallen/CodeLrn2019
adc727d92904c5c5d445a2621813dfa99474206d
[ "Apache-2.0" ]
2
2019-03-20T17:05:59.000Z
2019-10-15T07:56:45.000Z
boboleetcode/Play-Leetcode-master/0148-Sort-List/cpp-0148/main2.cpp
mcuallen/CodeLrn2019
adc727d92904c5c5d445a2621813dfa99474206d
[ "Apache-2.0" ]
6
2019-12-04T06:08:32.000Z
2021-05-10T20:22:47.000Z
boboleetcode/Play-Leetcode-master/0148-Sort-List/cpp-0148/main2.cpp
mcuallen/CodeLrn2019
adc727d92904c5c5d445a2621813dfa99474206d
[ "Apache-2.0" ]
null
null
null
/// Source : https://leetcode.com/problems/two-sum/description/ /// Author : liuyubobobo /// Time : 2018-08-21 #include <iostream> #include <vector> using namespace std; /// Definition for singly-linked list. struct ListNode { int val; ListNode *next; ListNode(int x) : val(x), next(NULL) {} }; class L...
24.204225
79
0.469596
[ "vector" ]
f379e2aad57a9c7a28c6d82d6b62f9c04a5f7cea
1,346
cpp
C++
memfinder/memfinder.cpp
aroes/cryptaware
dfc2ae7635faca71df56430e4284d0d5613c9452
[ "BSD-2-Clause" ]
null
null
null
memfinder/memfinder.cpp
aroes/cryptaware
dfc2ae7635faca71df56430e4284d0d5613c9452
[ "BSD-2-Clause" ]
null
null
null
memfinder/memfinder.cpp
aroes/cryptaware
dfc2ae7635faca71df56430e4284d0d5613c9452
[ "BSD-2-Clause" ]
null
null
null
// memfinder.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include <Windows.h> #include <iostream> #include <string> #include <vector> char* GetAddressOfData(DWORD pid, const char *data, size_t len) { HANDLE process = OpenProcess(PROCESS_VM_READ | PROCESS_QUERY_INFORMATION, FALS...
21.03125
87
0.621842
[ "vector" ]
f37b9416ae76b59905c376a085ba85753c37d756
122,979
cpp
C++
src/analyser.cpp
OpenCMISS-Dependencies2/libcellml
9948e5fb6159bbe50bbe0f4bec883ed7190a51f7
[ "Apache-2.0" ]
1
2021-02-15T01:09:04.000Z
2021-02-15T01:09:04.000Z
src/analyser.cpp
hsorby/libcellml
27db3807c0c15591e251aa9fe411967b1cc2dab1
[ "Apache-2.0" ]
8
2019-09-01T23:37:50.000Z
2021-05-27T21:20:34.000Z
src/analyser.cpp
hsorby/libcellml
27db3807c0c15591e251aa9fe411967b1cc2dab1
[ "Apache-2.0" ]
1
2022-02-04T06:11:40.000Z
2022-02-04T06:11:40.000Z
/* Copyright libCellML Contributors 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, softwa...
42.641817
193
0.586921
[ "render", "vector", "model" ]
3ce225c4fd24f2d5f9f9457ee0288d59c897d06a
65,435
cpp
C++
src/engine/src/host_cmd.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
6
2022-01-23T09:40:33.000Z
2022-03-20T20:53:25.000Z
src/engine/src/host_cmd.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
null
null
null
src/engine/src/host_cmd.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
1
2022-02-06T21:05:23.000Z
2022-02-06T21:05:23.000Z
//========= Copyright Valve Corporation, All rights reserved. ============// // // Purpose: // //=============================================================================// #include "tier0/vprof.h" #include "server.h" #include "host_cmd.h" #include "keys.h" #include "screen.h" #include "vengineserver_impl.h" #in...
29.878995
165
0.548605
[ "render", "vector" ]
3ce6cde52742af519328e261ea6322d201ee613f
7,712
cpp
C++
libkra_cl/libkra_cl.cpp
2shady4u/libkra
85dd0049dfffd04afce6a31783a85170b8fb2bd1
[ "MIT" ]
null
null
null
libkra_cl/libkra_cl.cpp
2shady4u/libkra
85dd0049dfffd04afce6a31783a85170b8fb2bd1
[ "MIT" ]
null
null
null
libkra_cl/libkra_cl.cpp
2shady4u/libkra
85dd0049dfffd04afce6a31783a85170b8fb2bd1
[ "MIT" ]
null
null
null
// ############################################################################ # // Copyright © 2022 Piet Bronders & Jeroen De Geeter <piet.bronders@gmail.com> // Licensed under the MIT License. // See LICENSE in the project root for license information. // #############################################################...
32.540084
156
0.520877
[ "vector" ]
3ce743dd21369363f5cd493ba8c164c8db70c819
579
cpp
C++
contest/1509/c/c.cpp
GoatGirl98/cf
4077ca8e0fe29dc2bbb7b60166989857cc062e17
[ "MIT" ]
null
null
null
contest/1509/c/c.cpp
GoatGirl98/cf
4077ca8e0fe29dc2bbb7b60166989857cc062e17
[ "MIT" ]
null
null
null
contest/1509/c/c.cpp
GoatGirl98/cf
4077ca8e0fe29dc2bbb7b60166989857cc062e17
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define watch(x) std::cout << (#x) << " is " << (x) << std::endl using LL = long long; int main() { //freopen("in", "r", stdin); std::cin.tie(nullptr)->sync_with_stdio(false); int n; std::cin >> n; std::vector<int> a(n); for (auto &x : a) std::cin >> x; std::sort(a.begin(), a.end()); s...
27.571429
81
0.488774
[ "vector" ]
3ceb6329d953151b8be86d65028276420710ab4a
6,732
hpp
C++
include/opengv/sac/implementation/SampleConsensusProblem.hpp
Byson-source/opengv
a87af73cc5896417fec9e013feef2fa2d9891e8d
[ "BSD-3-Clause" ]
35
2018-11-09T07:19:26.000Z
2021-12-12T02:41:01.000Z
include/opengv/sac/implementation/SampleConsensusProblem.hpp
Byson-source/opengv
a87af73cc5896417fec9e013feef2fa2d9891e8d
[ "BSD-3-Clause" ]
3
2016-09-01T08:45:58.000Z
2020-09-17T02:05:13.000Z
include/opengv/sac/implementation/SampleConsensusProblem.hpp
Byson-source/opengv
a87af73cc5896417fec9e013feef2fa2d9891e8d
[ "BSD-3-Clause" ]
17
2018-11-17T16:06:58.000Z
2022-02-22T09:51:02.000Z
/****************************************************************************** * Authors: Laurent Kneip & Paul Furgale * * Contact: kneip.laurent@gmail.com * * License: Copyright (c) 2013 Laurent Kneip, ANU. All rights reserved. * ...
33.492537
110
0.633838
[ "object", "vector" ]
3cebd8307f84b03d9517e16c3928b69b965e6d36
108,993
cpp
C++
addons/imguiyesaddons/imguisdf.cpp
tom-seddon/imgui
5afd20af902c444d148f45edf6b41b63ea484a4e
[ "MIT" ]
null
null
null
addons/imguiyesaddons/imguisdf.cpp
tom-seddon/imgui
5afd20af902c444d148f45edf6b41b63ea484a4e
[ "MIT" ]
null
null
null
addons/imguiyesaddons/imguisdf.cpp
tom-seddon/imgui
5afd20af902c444d148f45edf6b41b63ea484a4e
[ "MIT" ]
null
null
null
//- Common Code For All Addons needed just to ease inclusion as separate files in user code ---------------------- #include <imgui.h> #undef IMGUI_DEFINE_PLACEMENT_NEW #define IMGUI_DEFINE_PLACEMENT_NEW #undef IMGUI_DEFINE_MATH_OPERATORS #define IMGUI_DEFINE_MATH_OPERATORS #include <imgui_internal.h> //---------------...
47.887961
271
0.589368
[ "3d" ]
3cedf1fa4a9c8d37ca4c1c7da07655923c36d2b6
34,252
cpp
C++
exotica_core/src/problems/dynamic_time_indexed_shooting_problem.cpp
Tobias-Fischer/exotica
3fb5484882e390e045c8213f21acc92d2d40ce28
[ "BSD-3-Clause" ]
null
null
null
exotica_core/src/problems/dynamic_time_indexed_shooting_problem.cpp
Tobias-Fischer/exotica
3fb5484882e390e045c8213f21acc92d2d40ce28
[ "BSD-3-Clause" ]
null
null
null
exotica_core/src/problems/dynamic_time_indexed_shooting_problem.cpp
Tobias-Fischer/exotica
3fb5484882e390e045c8213f21acc92d2d40ce28
[ "BSD-3-Clause" ]
null
null
null
// // Copyright (c) 2019, Wolfgang Merkt // 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 cond...
36.515991
217
0.626766
[ "vector", "model" ]
3ceef5e8aa2bdfee616b0a7ccb18899a55baf856
6,267
cpp
C++
be/src/exec/vectorized/sorting/sort_column.cpp
mchades/starrocks
d77512f9f3f24e251ebf4ff23c1fee29ee87c760
[ "Zlib", "Apache-2.0", "MIT" ]
null
null
null
be/src/exec/vectorized/sorting/sort_column.cpp
mchades/starrocks
d77512f9f3f24e251ebf4ff23c1fee29ee87c760
[ "Zlib", "Apache-2.0", "MIT" ]
null
null
null
be/src/exec/vectorized/sorting/sort_column.cpp
mchades/starrocks
d77512f9f3f24e251ebf4ff23c1fee29ee87c760
[ "Zlib", "Apache-2.0", "MIT" ]
null
null
null
// This file is licensed under the Elastic License 2.0. Copyright 2021-present, StarRocks Limited. #include "column/array_column.h" #include "column/column.h" #include "column/column_visitor_adapter.h" #include "column/const_column.h" #include "column/json_column.h" #include "exec/vectorized/sorting/sort_helper.h" #in...
41.230263
120
0.667305
[ "object", "vector" ]
3cf14f6a8540b55cdc6ef74768ca2774e84fe136
6,303
cpp
C++
agg24/src/ctrl/agg_cbox_ctrl.cpp
pierre-haessig/matplotlib
0d945044ca3fbf98cad55912584ef80911f330c6
[ "MIT", "PSF-2.0", "BSD-3-Clause" ]
428
2015-01-05T17:13:54.000Z
2022-03-31T08:25:47.000Z
agg24/src/ctrl/agg_cbox_ctrl.cpp
pierre-haessig/matplotlib
0d945044ca3fbf98cad55912584ef80911f330c6
[ "MIT", "PSF-2.0", "BSD-3-Clause" ]
307
2017-05-04T21:45:01.000Z
2022-02-03T00:59:01.000Z
agg24/src/ctrl/agg_cbox_ctrl.cpp
pierre-haessig/matplotlib
0d945044ca3fbf98cad55912584ef80911f330c6
[ "MIT", "PSF-2.0", "BSD-3-Clause" ]
90
2015-05-19T04:56:46.000Z
2022-03-26T16:42:50.000Z
//---------------------------------------------------------------------------- // Anti-Grain Geometry - Version 2.4 // Copyright (C) 2002-2005 Maxim Shemanarev (http://www.antigrain.com) // // Permission to copy, use, modify, sell and distribute this software // is granted provided this copyright notice appears in all...
29.316279
87
0.400762
[ "geometry" ]
3cf1723767bda885b05bb14bedbdefd8092f3e1f
11,688
cpp
C++
src/MPC.cpp
john-reilly/Self_Driving_Car_Nano_Degree_Term_2_Project_5_MPC
8e21dad3e94fedcd86df97154e3df9159a0edad8
[ "MIT" ]
null
null
null
src/MPC.cpp
john-reilly/Self_Driving_Car_Nano_Degree_Term_2_Project_5_MPC
8e21dad3e94fedcd86df97154e3df9159a0edad8
[ "MIT" ]
null
null
null
src/MPC.cpp
john-reilly/Self_Driving_Car_Nano_Degree_Term_2_Project_5_MPC
8e21dad3e94fedcd86df97154e3df9159a0edad8
[ "MIT" ]
null
null
null
#include "MPC.h" #include <cppad/cppad.hpp> #include <cppad/ipopt/solve.hpp> #include <iostream> #include <string> #include <vector> #include "Eigen-3.3/Eigen/Core" using CppAD::AD; using Eigen::VectorXd; /** * TODO: Set the timestep length and duration */ //from Q+A video size_t N = 10;//10; double dt = ...
33.586207
104
0.622091
[ "object", "vector", "model" ]
3cf360f9c9e626e275af152540522b93eb2179b6
10,925
cpp
C++
routing/arouterex/src/grdr/IntraCellRouter.cpp
rbarzic/MAGICAL
0510550b263913f8c62f46662a9dfa2ae94d2386
[ "BSD-3-Clause" ]
null
null
null
routing/arouterex/src/grdr/IntraCellRouter.cpp
rbarzic/MAGICAL
0510550b263913f8c62f46662a9dfa2ae94d2386
[ "BSD-3-Clause" ]
null
null
null
routing/arouterex/src/grdr/IntraCellRouter.cpp
rbarzic/MAGICAL
0510550b263913f8c62f46662a9dfa2ae94d2386
[ "BSD-3-Clause" ]
null
null
null
#include "IntraCellRouter.h" #include "util/ManSegment.h" PROJECT_NAMESPACE_BEGIN bool IntraCellRouter::intraCellRouteCMOS(IndexType gateTermIdx, IndexType drainTermIdx, IndexType sourceTermIdx) { auto &gate = _db.terminal(gateTermIdx); auto &drain = _db.terminal(drainTermIdx); auto &source = _db.terminal...
46.097046
151
0.645675
[ "shape", "vector" ]
3cf377ffa40cd80bc3eb5c5c4f82e0fbf9197ec3
18,514
cpp
C++
src/AlphaVSS.Platform/Src/VssComponent.cpp
nefarius/AlphaVSS
a3e3c574f2b6539f8837e60abf2fc2e6479e9e37
[ "MIT" ]
null
null
null
src/AlphaVSS.Platform/Src/VssComponent.cpp
nefarius/AlphaVSS
a3e3c574f2b6539f8837e60abf2fc2e6479e9e37
[ "MIT" ]
null
null
null
src/AlphaVSS.Platform/Src/VssComponent.cpp
nefarius/AlphaVSS
a3e3c574f2b6539f8837e60abf2fc2e6479e9e37
[ "MIT" ]
1
2022-02-16T12:35:02.000Z
2022-02-16T12:35:02.000Z
/* Copyright (c) 2008-2016 Peter Palotas * * 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, merg...
31.011725
193
0.711624
[ "object" ]
3cf6a283cb61bbbd6479d92baefd4fa905e417be
19,111
hpp
C++
runtime/device/blit.hpp
braiam/ROCm-OpenCL-Runtime
a66edda66d98923e61fe97596c632eac743e63ed
[ "MIT" ]
null
null
null
runtime/device/blit.hpp
braiam/ROCm-OpenCL-Runtime
a66edda66d98923e61fe97596c632eac743e63ed
[ "MIT" ]
null
null
null
runtime/device/blit.hpp
braiam/ROCm-OpenCL-Runtime
a66edda66d98923e61fe97596c632eac743e63ed
[ "MIT" ]
null
null
null
// // Copyright (c) 2010 Advanced Micro Devices, Inc. All rights reserved. // #ifndef BLIT_HPP_ #define BLIT_HPP_ #include "top.hpp" #include "platform/command.hpp" #include "device/device.hpp" /*! \addtogroup GPU Blit Implementation * @{ */ //! GPU Blit Manager Implementation namespace device { //! Blit Manage...
55.074928
99
0.500968
[ "object" ]
3cf77a8c786dc41d39a985e321e73c7b8324a9bf
12,279
cc
C++
chrome/browser/ui/browser_live_tab_context.cc
chromium/chromium
df46e572c3449a4b108d6e02fbe4f6d24cf98381
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
14,668
2015-01-01T01:57:10.000Z
2022-03-31T23:33:32.000Z
chrome/browser/ui/browser_live_tab_context.cc
chromium/chromium
df46e572c3449a4b108d6e02fbe4f6d24cf98381
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
86
2015-10-21T13:02:42.000Z
2022-03-14T07:50:50.000Z
chrome/browser/ui/browser_live_tab_context.cc
chromium/chromium
df46e572c3449a4b108d6e02fbe4f6d24cf98381
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
5,941
2015-01-02T11:32:21.000Z
2022-03-31T16:35:46.000Z
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/ui/browser_live_tab_context.h" #include <memory> #include <utility> #include "base/feature_list.h" #include "base/token.h" ...
36.436202
80
0.740207
[ "vector" ]
3cff6bc1b184d94ec17a9fc90d40feef48920ad3
15,898
cc
C++
components/autofill_assistant/browser/web/element_finder.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
components/autofill_assistant/browser/web/element_finder.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
components/autofill_assistant/browser/web/element_finder.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2019 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "components/autofill_assistant/browser/web/element_finder.h" #include "components/autofill_assistant/browser/devtools/devtools_client.h" #includ...
37.23185
80
0.686942
[ "object", "vector" ]
a700742b0b2ec353dd5173120627c7db34ee318b
3,478
hpp
C++
__unit_tests/gv_framework_unit_test/unit_test_importer_exporter.hpp
dragonsn/gv_game_engine
dca6c1fb1f8d96e9a244f157a63f8a69da084b0f
[ "MIT" ]
2
2018-12-03T13:17:31.000Z
2020-04-08T07:00:02.000Z
__unit_tests/gv_framework_unit_test/unit_test_importer_exporter.hpp
dragonsn/gv_game_engine
dca6c1fb1f8d96e9a244f157a63f8a69da084b0f
[ "MIT" ]
null
null
null
__unit_tests/gv_framework_unit_test/unit_test_importer_exporter.hpp
dragonsn/gv_game_engine
dca6c1fb1f8d96e9a244f157a63f8a69da084b0f
[ "MIT" ]
null
null
null
namespace unit_test_importer_exporter { void main(gvt_array< gv_string >& args) { { gv_unit_test_context_guard context; //============>>INIT=================================================>> sub_test_timer timer("test_importer_"); //init m_sandbox->register_processor(gv_world::static_class(), gve_event_cha...
41.404762
104
0.695802
[ "mesh", "render", "model" ]
a7018d209c482969d8354b6961e7f84c5536c6c7
41,102
cpp
C++
src/base/command/CallFunction.cpp
Randl/GMAT
d6a5b1fed68c33b0c4b1cfbd1e25a71cdfb8f8f5
[ "Apache-2.0" ]
2
2020-01-01T13:14:57.000Z
2020-12-09T07:05:07.000Z
src/base/command/CallFunction.cpp
rdadan/GMAT-R2016a
d6a5b1fed68c33b0c4b1cfbd1e25a71cdfb8f8f5
[ "Apache-2.0" ]
1
2018-03-15T08:58:37.000Z
2018-03-20T20:11:26.000Z
src/base/command/CallFunction.cpp
rdadan/GMAT-R2016a
d6a5b1fed68c33b0c4b1cfbd1e25a71cdfb8f8f5
[ "Apache-2.0" ]
3
2019-10-13T10:26:49.000Z
2020-12-09T07:06:55.000Z
//$Id$ //------------------------------------------------------------------------------ // CallFunction //------------------------------------------------------------------------------ // GMAT: General Mission Analysis Tool. // // Copyright (c) 2002 - 2015 United States Government as rep...
33.44345
102
0.52051
[ "object" ]
a70432c579edd3d52b5551bda4872e3928db2c1d
941
cpp
C++
code/79.exist.cpp
T1mzhou/LeetCode
574540d30f5696e55799831dc3c8d8b7246b74f1
[ "MIT" ]
1
2020-10-04T13:39:34.000Z
2020-10-04T13:39:34.000Z
code/79.exist.cpp
T1mzhou/LeetCode
574540d30f5696e55799831dc3c8d8b7246b74f1
[ "MIT" ]
null
null
null
code/79.exist.cpp
T1mzhou/LeetCode
574540d30f5696e55799831dc3c8d8b7246b74f1
[ "MIT" ]
null
null
null
class Solution { public: bool exist(vector<vector<char>>& board, string word) { for (int i = 0; i < board.size(); i++) { for (int j = 0; j < board[i].size(); j++) { if (dfs(board, word, 0, i, j)) return true; } } return false; } int dx[4] = {-...
31.366667
108
0.412327
[ "vector" ]
a709b20b900c1e50802ff8c3169a4469b421fdc5
10,847
cc
C++
paddle/fluid/operators/rnn_op.cc
zmxdream/Paddle
04f042a5d507ad98f7f2cfc3cbc44b06d7a7f45c
[ "Apache-2.0" ]
17,085
2016-11-18T06:40:52.000Z
2022-03-31T22:52:32.000Z
paddle/fluid/operators/rnn_op.cc
zmxdream/Paddle
04f042a5d507ad98f7f2cfc3cbc44b06d7a7f45c
[ "Apache-2.0" ]
29,769
2016-11-18T06:35:22.000Z
2022-03-31T16:46:15.000Z
paddle/fluid/operators/rnn_op.cc
zmxdream/Paddle
04f042a5d507ad98f7f2cfc3cbc44b06d7a7f45c
[ "Apache-2.0" ]
4,641
2016-11-18T07:43:33.000Z
2022-03-31T15:15:02.000Z
/* Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agr...
41.087121
80
0.63566
[ "shape", "vector" ]
a70b6dbc05881e9cf743321ec9e4d2d6d715dbc7
24,103
cpp
C++
components/gta-core-five/src/BlockLoadSetters.cpp
vladyslavkotyk/client
06230ae612ae46f25b36046d488c88e0602945ac
[ "MIT" ]
5
2017-07-19T16:42:12.000Z
2021-01-19T22:46:43.000Z
components/gta-core-five/src/BlockLoadSetters.cpp
Zuiron/FiveM
2e38beaf76d21a07be3bad6f4f00b68642e47edc
[ "MIT" ]
null
null
null
components/gta-core-five/src/BlockLoadSetters.cpp
Zuiron/FiveM
2e38beaf76d21a07be3bad6f4f00b68642e47edc
[ "MIT" ]
6
2017-01-24T22:11:17.000Z
2020-07-07T19:53:18.000Z
/* * This file is part of the CitizenFX project - http://citizen.re/ * * See LICENSE and MENTIONS in the root of the source tree for information * regarding licensing. */ #include "StdInc.h" #include "Hooking.h" #include <atArray.h> #include <sysAllocator.h> #include <GameInit.h> #include <nutsnbo...
25.889366
171
0.636062
[ "vector", "3d" ]
a712f64410ea58a534295a51fd0751289aa4bc9e
3,216
cpp
C++
practicals/chapter3/main_3_3_1.cpp
rasmunk/set10108
563bb339ecea28de80fffd11b5866be4fc25344d
[ "MIT" ]
null
null
null
practicals/chapter3/main_3_3_1.cpp
rasmunk/set10108
563bb339ecea28de80fffd11b5866be4fc25344d
[ "MIT" ]
null
null
null
practicals/chapter3/main_3_3_1.cpp
rasmunk/set10108
563bb339ecea28de80fffd11b5866be4fc25344d
[ "MIT" ]
null
null
null
// 3.3.1 & 3.4 #include <vector> #include <chrono> #include <random> #include <iostream> #include <fstream> #include <thread> #include <omp.h> using namespace std; using namespace std::chrono; vector<unsigned int> generate_values(unsigned int size) { //random engine auto millis = duration_cast...
31.529412
101
0.502177
[ "vector" ]
a7189d1c8b3070f95dd6248a16b67d182342d3ac
11,224
cc
C++
src/rocksdb2/utilities/cassandra/format.cc
yinchengtsinghua/RippleCPPChinese
a32a38a374547bdc5eb0fddcd657f45048aaad6a
[ "BSL-1.0" ]
5
2019-01-23T04:36:03.000Z
2020-02-04T07:10:39.000Z
src/rocksdb2/utilities/cassandra/format.cc
yinchengtsinghua/RippleCPPChinese
a32a38a374547bdc5eb0fddcd657f45048aaad6a
[ "BSL-1.0" ]
null
null
null
src/rocksdb2/utilities/cassandra/format.cc
yinchengtsinghua/RippleCPPChinese
a32a38a374547bdc5eb0fddcd657f45048aaad6a
[ "BSL-1.0" ]
2
2019-05-14T07:26:59.000Z
2020-06-15T07:25:01.000Z
//此源码被清华学神尹成大魔王专业翻译分析并修改 //尹成QQ77025077 //尹成微信18510341407 //尹成所在QQ群721929980 //尹成邮箱 yinc13@mails.tsinghua.edu.cn //尹成毕业于清华大学,微软区块链领域全球最有价值专家 //https://mvp.microsoft.com/zh-cn/PublicProfile/4033620 //版权所有(c)2017至今,Facebook,Inc.保留所有权利。 //此源代码在两个gplv2下都获得了许可(在 //复制根目录中的文件)和Apache2.0许可证 //(在根目录的license.apache文件中找到)。 #inc...
30.253369
100
0.705007
[ "vector" ]
a71c0465fb58e64a23642bd3ef11f026ebe61db5
5,620
hpp
C++
include/liblas/variablerecord.hpp
sebastic/libLAS
59709b36d80bf48c5463c009e9c5ff251f398e33
[ "BSD-3-Clause" ]
null
null
null
include/liblas/variablerecord.hpp
sebastic/libLAS
59709b36d80bf48c5463c009e9c5ff251f398e33
[ "BSD-3-Clause" ]
null
null
null
include/liblas/variablerecord.hpp
sebastic/libLAS
59709b36d80bf48c5463c009e9c5ff251f398e33
[ "BSD-3-Clause" ]
null
null
null
/****************************************************************************** * $Id: lasvariablerecord.hpp 889 2008-09-28 04:17:22Z hobu $ * * Project: libLAS - http://liblas.org - A BSD library for LAS format data. * Purpose: LAS record header class * Author: Phil Vachon, philippe@cowpig.ca * ***********...
33.652695
82
0.670641
[ "object", "vector" ]
a7217ad623cd78eeae1a1bf22532c8c1d4d9a206
29,400
cpp
C++
VTIL-SymEx/simplifier/simplifier.cpp
fengjixuchui/VTIL-Core
5533e1122b3091daddbf7a82f8bb421dc2a097ea
[ "BSD-3-Clause" ]
1
2021-05-16T16:50:15.000Z
2021-05-16T16:50:15.000Z
VTIL-SymEx/simplifier/simplifier.cpp
fengjixuchui/VTIL-Core
5533e1122b3091daddbf7a82f8bb421dc2a097ea
[ "BSD-3-Clause" ]
null
null
null
VTIL-SymEx/simplifier/simplifier.cpp
fengjixuchui/VTIL-Core
5533e1122b3091daddbf7a82f8bb421dc2a097ea
[ "BSD-3-Clause" ]
1
2020-12-10T17:56:42.000Z
2020-12-10T17:56:42.000Z
// Copyright (c) 2020 Can Boluk and contributors of the VTIL 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...
29.847716
184
0.620884
[ "vector", "transform" ]
a723d54d5550b385f9036406e87055143a1970b6
9,696
cpp
C++
Userland/Libraries/LibTLS/Exchange.cpp
Szune/serenity
7b7cbcecdf34e926068ab1ee59cb3ec0e40e6b9d
[ "BSD-2-Clause" ]
1
2021-06-11T14:38:19.000Z
2021-06-11T14:38:19.000Z
Userland/Libraries/LibTLS/Exchange.cpp
Szune/serenity
7b7cbcecdf34e926068ab1ee59cb3ec0e40e6b9d
[ "BSD-2-Clause" ]
null
null
null
Userland/Libraries/LibTLS/Exchange.cpp
Szune/serenity
7b7cbcecdf34e926068ab1ee59cb3ec0e40e6b9d
[ "BSD-2-Clause" ]
null
null
null
/* * Copyright (c) 2020, Ali Mohammad Pur <ali.mpfard@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...
34.261484
196
0.684715
[ "vector" ]
a724104234d3ea333072a9eb95e282c657ae7745
5,187
hpp
C++
common/Geometry2d/TransformMatrix.hpp
AniruddhaG123/robocup-software
0eb3b3957428894f2f39341594800be803665f44
[ "Apache-2.0" ]
1
2019-09-24T22:59:25.000Z
2019-09-24T22:59:25.000Z
common/Geometry2d/TransformMatrix.hpp
ananth-kumar01/robocup-software
4043a7f9590d02f617d8e9a762697e4aaa27f1a6
[ "Apache-2.0" ]
null
null
null
common/Geometry2d/TransformMatrix.hpp
ananth-kumar01/robocup-software
4043a7f9590d02f617d8e9a762697e4aaa27f1a6
[ "Apache-2.0" ]
null
null
null
#pragma once #include <Eigen/Dense> #include "Point.hpp" namespace Geometry2d { // A 2x3 transformation matrix. // // This is the 2D equivalent of the usual 3D tranformation matrix with the // bottom row omitted because the bottom (third) element of a 2D point is always // 1. The third row of the matrix is understo...
30.511765
80
0.559476
[ "vector", "3d" ]
a724986fece1adb57ee3b07595106ad0b7be8f9b
53,528
cpp
C++
platform/shared/stlport/test/unit/mvctor_test.cpp
mensfeld/rhodes
2962610a314ed563a0b7c83fcae6136913a1b033
[ "MIT" ]
173
2015-01-02T11:14:08.000Z
2022-03-05T09:54:54.000Z
platform/shared/stlport/test/unit/mvctor_test.cpp
sdwood/rhodes
8228aa40708dcbcc1d3967a479d1d84364022255
[ "MIT" ]
263
2015-01-05T04:35:22.000Z
2021-09-07T06:00:02.000Z
platform/shared/stlport/test/unit/mvctor_test.cpp
sdwood/rhodes
8228aa40708dcbcc1d3967a479d1d84364022255
[ "MIT" ]
77
2015-01-12T20:57:18.000Z
2022-02-17T15:15:14.000Z
#include <vector> #include <algorithm> #include <vector> #include <string> #if defined (STLPORT) && !defined (_STLP_NO_EXTENSIONS) # include <rope> #endif #if defined (STLPORT) && !defined (_STLP_NO_EXTENSIONS) # include <slist> #endif #include <list> #include <deque> #include <set> #include <map> #if defined (STLPOR...
33.330012
93
0.657917
[ "vector" ]
a724a9e3299c6cf9ca03fd999474c9b799e97f26
4,521
cpp
C++
metadata.cpp
ek0/binaryninja-api
d9661f34eec6855d495a10eaafc2a8e2679756a7
[ "MIT" ]
589
2016-04-11T11:32:33.000Z
2022-03-30T09:49:37.000Z
metadata.cpp
ek0/binaryninja-api
d9661f34eec6855d495a10eaafc2a8e2679756a7
[ "MIT" ]
2,744
2016-04-11T02:47:37.000Z
2022-03-31T21:05:09.000Z
metadata.cpp
ek0/binaryninja-api
d9661f34eec6855d495a10eaafc2a8e2679756a7
[ "MIT" ]
178
2016-04-15T00:47:05.000Z
2022-03-24T10:42:54.000Z
#include "binaryninjaapi.h" using namespace std; using namespace BinaryNinja; Metadata::Metadata(BNMetadata* metadata) { m_object = metadata; } Metadata::Metadata(bool data) { m_object = BNCreateMetadataBooleanData(data); } Metadata::Metadata(const string& data) { m_object = BNCreateMetadataStringData(data.c_str...
20.364865
80
0.73612
[ "vector" ]
a731bedc81bc19a6c2c023d4c77a29f37edd5caf
3,465
cpp
C++
CepsyGLFramework/CepsyGLFramework/src/Application/Application.cpp
cepsylon/CepsyGLFramework
72cf710c892ff34aeac5ed47b0b7799756a04032
[ "MIT" ]
null
null
null
CepsyGLFramework/CepsyGLFramework/src/Application/Application.cpp
cepsylon/CepsyGLFramework
72cf710c892ff34aeac5ed47b0b7799756a04032
[ "MIT" ]
null
null
null
CepsyGLFramework/CepsyGLFramework/src/Application/Application.cpp
cepsylon/CepsyGLFramework
72cf710c892ff34aeac5ed47b0b7799756a04032
[ "MIT" ]
null
null
null
#include "Application.h" #include <imgui/imgui.h> #ifndef WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN #include <Windows.h> #endif Application application; namespace { LRESULT CALLBACK message_handler(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) { ImGuiIO& io = ImGui::GetIO(); switch (message) ...
25.858209
88
0.694084
[ "render" ]
a732d375eee7a20f2be9bb8f107d51b30cbe44e8
5,570
cc
C++
src/network/client.cc
lorenzo-stoakes/janus
88cb536d569edf15af112230b02ea946c828cc12
[ "MIT" ]
1
2022-02-16T11:23:47.000Z
2022-02-16T11:23:47.000Z
src/network/client.cc
lorenzo-stoakes/janus
88cb536d569edf15af112230b02ea946c828cc12
[ "MIT" ]
null
null
null
src/network/client.cc
lorenzo-stoakes/janus
88cb536d569edf15af112230b02ea946c828cc12
[ "MIT" ]
null
null
null
#include "janus.hh" namespace janus::tls { client::client(const char* host, const char* port, certs& certs, rng& rng, uint32_t timeout_ms) : _host{host}, _port{port}, _timeout_ms{timeout_ms}, _certs{certs}, _rng{rng}, _connected{false}, _invalid{false}, _moved{false}, _server_fd{}, _ssl{}, ...
22.827869
95
0.706643
[ "object" ]
a734d5e492e650c9438fcf5b0f26b1c5d24e2799
4,425
cpp
C++
tdutils/test/heap.cpp
luckydonald-backup/td
71d03f39c364367a8a7c51f783a41099297de826
[ "BSL-1.0" ]
1
2021-04-18T08:59:02.000Z
2021-04-18T08:59:02.000Z
tdutils/test/heap.cpp
devitsyn/td
71d03f39c364367a8a7c51f783a41099297de826
[ "BSL-1.0" ]
null
null
null
tdutils/test/heap.cpp
devitsyn/td
71d03f39c364367a8a7c51f783a41099297de826
[ "BSL-1.0" ]
null
null
null
// // Copyright Aliaksei Levin (levlam@telegram.org), Arseny Smirnov (arseny30@gmail.com) 2014-2017 // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // #include "td/utils/tests.h" #include "td/utils/common.h" #in...
24.72067
96
0.581921
[ "vector" ]
a7369978f606c0679b85708354ec1f2b1b6ae290
15,947
cpp
C++
src/tetgen_plug/tetgenmeshplug.cpp
master-clown/ofeata
306cbc3a402551fb62b3925d23a2d4f63f60d525
[ "MIT" ]
1
2021-08-30T13:51:42.000Z
2021-08-30T13:51:42.000Z
src/tetgen_plug/tetgenmeshplug.cpp
master-clown/ofeata
306cbc3a402551fb62b3925d23a2d4f63f60d525
[ "MIT" ]
null
null
null
src/tetgen_plug/tetgenmeshplug.cpp
master-clown/ofeata
306cbc3a402551fb62b3925d23a2d4f63f60d525
[ "MIT" ]
1
2021-08-30T13:51:35.000Z
2021-08-30T13:51:35.000Z
#include "tetgenmeshplug.hpp" #include <cstdarg> #include <fstream> #include <string> #include <sstream> #include <vector> #include <tetgen.h> #define PLUGIN_NAME "TetGen 1.5.1 Meshing Plugin" #define PLUGIN_SETS_FILE "tetgen_plugin_sets.json" #define LOG_FILE "tetgen_plugin_tmp_log.log" #define TO_WIDE_H...
32.812757
114
0.604126
[ "mesh", "geometry", "shape", "vector" ]
a739148f5463f6419614346a712b52f0974ae017
64,863
cpp
C++
Engine/source/afx/afxConstraint.cpp
vbillet/Torque3D
ece8823599424ea675e5f79d9bcb44e42cba8cae
[ "MIT" ]
2,113
2015-01-01T11:23:01.000Z
2022-03-28T04:51:46.000Z
Engine/source/afx/afxConstraint.cpp
vbillet/Torque3D
ece8823599424ea675e5f79d9bcb44e42cba8cae
[ "MIT" ]
948
2015-01-02T01:50:00.000Z
2022-02-27T05:56:40.000Z
Engine/source/afx/afxConstraint.cpp
vbillet/Torque3D
ece8823599424ea675e5f79d9bcb44e42cba8cae
[ "MIT" ]
944
2015-01-01T09:33:53.000Z
2022-03-15T22:23:03.000Z
//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~~// // Arcane-FX for MIT Licensed Open Source version of Torque 3D from GarageGames // Copyright (C) 2015 Faust Logic, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and ...
24.813695
127
0.642184
[ "object", "shape", "vector", "3d" ]
a73b3a3132d82fd6741bb59c5bebad490f21c98b
7,068
cc
C++
onnxruntime/test/ir/schema_registry_manager_test.cc
codemzs/onnxruntime
c69194ec4c8c9674368113aa6044d0db708cd813
[ "MIT" ]
4
2019-06-06T23:48:57.000Z
2021-06-03T11:51:45.000Z
onnxruntime/test/ir/schema_registry_manager_test.cc
Montaer/onnxruntime
6dc25a60f8b058a556964801d99d5508641dcf69
[ "MIT" ]
17
2020-07-21T11:13:27.000Z
2022-03-27T02:37:05.000Z
onnxruntime/test/ir/schema_registry_manager_test.cc
Surfndez/onnxruntime
9d748afff19e9604a00632d66b97159b917dabb2
[ "MIT" ]
3
2019-05-07T01:29:04.000Z
2020-08-09T08:36:12.000Z
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #include <core/graph/schema_registry.h> #include "test/providers/provider_test_utils.h" //For ASSERT_STATUS_OK #include "gtest/gtest.h" ONNX_NAMESPACE::OpSchema CreateTestSchema(const char* name, const char* domain, int si...
53.545455
155
0.74137
[ "vector" ]
a742bc62abfc163661f75ceff085b775248467b7
4,579
cpp
C++
OOP/Mathematic Relations/Mathematic Relations/Source.cpp
mitaka00/Sofia-University
46e7153e9302428bbe14beec5a353f7a378ba912
[ "MIT" ]
3
2020-02-22T17:22:08.000Z
2020-07-08T12:05:48.000Z
OOP/Mathematic Relations/Mathematic Relations/Source.cpp
mitaka00/Sofia-University
46e7153e9302428bbe14beec5a353f7a378ba912
[ "MIT" ]
null
null
null
OOP/Mathematic Relations/Mathematic Relations/Source.cpp
mitaka00/Sofia-University
46e7153e9302428bbe14beec5a353f7a378ba912
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <vector> #include <tuple> #include "BinaryRelation.h" #include "KnowledgeBase.h" using std::cout; int main() { //BinaryRelation examples BinaryRelation<int,const char*> test1; test1.addRelation(5, "five"); test1.addRelation(5, "funf"); test1.addRelation(6, "six"); ...
27.094675
83
0.64228
[ "vector" ]
a751fc23f054fa538e2ebb3faf9cf749357b3a0d
642
cpp
C++
CODEFORCES/Meximization.cpp
HassanRahim26/COMPETITIVE-PROGRAMMING
a2d13fd27cc5e3e78612a5be500ccbe57f9201b8
[ "MIT" ]
2
2021-07-31T15:40:56.000Z
2021-08-25T10:04:00.000Z
CODEFORCES/Meximization.cpp
HassanRahim26/COMPETITIVE-PROGRAMMING
a2d13fd27cc5e3e78612a5be500ccbe57f9201b8
[ "MIT" ]
null
null
null
CODEFORCES/Meximization.cpp
HassanRahim26/COMPETITIVE-PROGRAMMING
a2d13fd27cc5e3e78612a5be500ccbe57f9201b8
[ "MIT" ]
null
null
null
/* PROBLEM LINK:- https://codeforces.com/problemset/problem/1497/A */ #include<bits/stdc++.h> #define ll long long #define mod 1000000007 #define test ll t; cin >> t; while(t--) #define FOR for(ll i = 0; i < n; i++) #define vi vector<int> #define nn "\n" using namespace std; int main() { ios::sync_with_stdio(false);...
16.461538
63
0.512461
[ "vector" ]
a754aad141ebc454de0ff95e4d6e3f0229cb22d3
320
cpp
C++
CodeChef/Practice/HS08TEST.cpp
builes/Challenges
b49c91957bcd6efc691ba36093bd53e50023110b
[ "MIT" ]
1
2018-06-03T22:09:17.000Z
2018-06-03T22:09:17.000Z
CodeChef/Practice/HS08TEST.cpp
builes/Challenges
b49c91957bcd6efc691ba36093bd53e50023110b
[ "MIT" ]
null
null
null
CodeChef/Practice/HS08TEST.cpp
builes/Challenges
b49c91957bcd6efc691ba36093bd53e50023110b
[ "MIT" ]
null
null
null
#include <iostream> #include <sstream> #include <vector> #include <stdio.h> #include <iomanip> using namespace std; int main(){ //Read() int x; double y; cin >> x >> y; //Code() if(y > 0 && y - x - 0.50 >= 0){ if(x % 5 == 0){ y = y - x - 0.50; } } cout<<fixed<<setprecision(2)<<y; return 0; }
11.428571
33
0.525
[ "vector" ]
a756ca96256fd7edf2ea899f29fe845c1b3a7205
1,855
cpp
C++
nets/Examples/Marsili_opt.cpp
CxAalto/lcelib
dceea76e3f18696a2fa7c8287e1a537fbf493474
[ "0BSD" ]
1
2017-01-24T01:35:43.000Z
2017-01-24T01:35:43.000Z
nets/Examples/Marsili_opt.cpp
CxAalto/lcelib
dceea76e3f18696a2fa7c8287e1a537fbf493474
[ "0BSD" ]
null
null
null
nets/Examples/Marsili_opt.cpp
CxAalto/lcelib
dceea76e3f18696a2fa7c8287e1a537fbf493474
[ "0BSD" ]
null
null
null
/* Marsili_opt 2007 May 22 Author: Lauri Kovanen Function for the optimization of Marsili et al. model. Generates a Marsili network with given parameters and returns a line containing [mean_degree clustering_coeff pearson_corr_coeff] ...
30.409836
135
0.651752
[ "model" ]
a7571e2d47b03b8de0ebd2ed5df123d4c4402977
3,007
cc
C++
open_spiel/games/connect_four_test.cc
badlogicmanpreet/open_spiel
b1b321a57754df76309ed9d7ac3c9b449ed34901
[ "Apache-2.0" ]
null
null
null
open_spiel/games/connect_four_test.cc
badlogicmanpreet/open_spiel
b1b321a57754df76309ed9d7ac3c9b449ed34901
[ "Apache-2.0" ]
null
null
null
open_spiel/games/connect_four_test.cc
badlogicmanpreet/open_spiel
b1b321a57754df76309ed9d7ac3c9b449ed34901
[ "Apache-2.0" ]
null
null
null
// Copyright 2019 DeepMind Technologies 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 require...
31
77
0.660459
[ "vector" ]
a75dddc851661add1fcb0dc08fda8fa080c610d1
9,363
cc
C++
tools/src/vcf2genomicsdb.cc
GenomicsDB/GenomicsDB
6069e4a2f31823af48d845b384fb3d0a9f5fa941
[ "Intel", "MIT" ]
72
2018-11-23T13:08:39.000Z
2022-03-20T10:07:17.000Z
tools/src/vcf2genomicsdb.cc
GenomicsDB/GenomicsDB
6069e4a2f31823af48d845b384fb3d0a9f5fa941
[ "Intel", "MIT" ]
182
2018-08-24T22:07:37.000Z
2022-03-13T07:38:01.000Z
tools/src/vcf2genomicsdb.cc
GenomicsDB/GenomicsDB
6069e4a2f31823af48d845b384fb3d0a9f5fa941
[ "Intel", "MIT" ]
17
2019-01-14T08:19:06.000Z
2021-09-15T02:42:59.000Z
/** * The MIT License (MIT) * Copyright (c) 2016-2017 Intel Corporation * * 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...
43.752336
271
0.691765
[ "object", "vector" ]
a75f75dab0e24e494392fb96883142063038a77e
3,428
cpp
C++
tf2_src/game/server/tf2/order_repair.cpp
IamIndeedGamingAsHardAsICan03489/TeamFortress2
1b81dded673d49adebf4d0958e52236ecc28a956
[ "MIT" ]
4
2021-10-03T05:16:55.000Z
2021-12-28T16:49:27.000Z
tf2_src/game/server/tf2/order_repair.cpp
Counter2828/TeamFortress2
1b81dded673d49adebf4d0958e52236ecc28a956
[ "MIT" ]
null
null
null
tf2_src/game/server/tf2/order_repair.cpp
Counter2828/TeamFortress2
1b81dded673d49adebf4d0958e52236ecc28a956
[ "MIT" ]
3
2022-02-02T18:09:58.000Z
2022-03-06T18:54:39.000Z
//========= Copyright Valve Corporation, All rights reserved. ============// // // Purpose: // // $NoKeywords: $ //=============================================================================// #include "cbase.h" #include "order_repair.h" #include "tf_team.h" #include "tf_class_defender.h" #include "order_helpers.h"...
21.696203
106
0.683489
[ "object", "vector" ]
a75fd4c0daaa77313237f9f68fa13e3b746b573c
9,173
cpp
C++
LocalizationNotes/MarkovLocalizationIntro.cpp
ahtchow/CarND-ParticleFilters-P5
afb0616926dcb313e6371fdf41f5cae03c86d02b
[ "MIT" ]
null
null
null
LocalizationNotes/MarkovLocalizationIntro.cpp
ahtchow/CarND-ParticleFilters-P5
afb0616926dcb313e6371fdf41f5cae03c86d02b
[ "MIT" ]
null
null
null
LocalizationNotes/MarkovLocalizationIntro.cpp
ahtchow/CarND-ParticleFilters-P5
afb0616926dcb313e6371fdf41f5cae03c86d02b
[ "MIT" ]
null
null
null
/** * @file MarkovLocalization.cpp * @author Adrian Chow * @brief Markov Localization * @version 0.1 * @date 2020-03-12 * * @copyright Copyright (c) 2020 * */ /** * @brief Formal Definition of Variables * Known: * @param z(1:t) represents the observation vector from time 0 to t * (range...
32.528369
88
0.557833
[ "vector", "model" ]
a766eed16629d3b3f616b9f9761d48419946fcd2
1,280
cpp
C++
TabGraph/src/Parser/BinaryData.cpp
Gpinchon/TabGraph
29eae2d9982b6ce3e4ff43c707c87c2f57ab39bb
[ "Apache-2.0" ]
1
2020-08-28T09:35:18.000Z
2020-08-28T09:35:18.000Z
TabGraph/src/Parser/BinaryData.cpp
Gpinchon/TabGraph
29eae2d9982b6ce3e4ff43c707c87c2f57ab39bb
[ "Apache-2.0" ]
null
null
null
TabGraph/src/Parser/BinaryData.cpp
Gpinchon/TabGraph
29eae2d9982b6ce3e4ff43c707c87c2f57ab39bb
[ "Apache-2.0" ]
1
2020-10-08T11:21:13.000Z
2020-10-08T11:21:13.000Z
/* * @Author: gpinchon * @Date: 2021-02-03 17:50:02 * @Last Modified by: gpinchon * @Last Modified time: 2021-02-03 17:50:55 */ #include "Assets/Asset.hpp" #include "Assets/AssetsParser.hpp" #include "Assets/BinaryData.hpp" #include "Assets/Uri.hpp" #include <fstream> void ParseBinaryData(const std...
32
88
0.619531
[ "vector" ]
a76f36a826e51010868f4f57494f40c8fdb97603
5,505
cc
C++
mindspore/ccsrc/plugin/device/ascend/optimizer/ir_fission/seed_adapter.cc
zhz44/mindspore
6044d34074c8505dd4b02c0a05419cbc32a43f86
[ "Apache-2.0" ]
1
2022-02-23T09:13:43.000Z
2022-02-23T09:13:43.000Z
mindspore/ccsrc/plugin/device/ascend/optimizer/ir_fission/seed_adapter.cc
zhz44/mindspore
6044d34074c8505dd4b02c0a05419cbc32a43f86
[ "Apache-2.0" ]
null
null
null
mindspore/ccsrc/plugin/device/ascend/optimizer/ir_fission/seed_adapter.cc
zhz44/mindspore
6044d34074c8505dd4b02c0a05419cbc32a43f86
[ "Apache-2.0" ]
null
null
null
/** * Copyright 2021 Huawei Technologies 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 law...
40.477941
119
0.698456
[ "vector" ]
a76f917c8326355fc1bb3eb63427fa1001ee21ed
2,153
cpp
C++
falkon/ooc_ops/multigpu/cuda_bind.cpp
gpleiss/falkon
36aa6713aff8ee6b9ad922d48b07c994fce30559
[ "MIT" ]
1
2021-11-10T16:50:53.000Z
2021-11-10T16:50:53.000Z
falkon/ooc_ops/multigpu/cuda_bind.cpp
gpleiss/falkon
36aa6713aff8ee6b9ad922d48b07c994fce30559
[ "MIT" ]
null
null
null
falkon/ooc_ops/multigpu/cuda_bind.cpp
gpleiss/falkon
36aa6713aff8ee6b9ad922d48b07c994fce30559
[ "MIT" ]
null
null
null
#include <vector> #include <tuple> #include <torch/extension.h> #include <pybind11/stl.h> #include <cusolverDn.h> #include "cuda/multigpu_potrf.cuh" #include "cuda/lauum.cuh" static void* ctypes_void_ptr(const py::object& object) { PyObject *p_ptr = object.ptr(); if (!PyObject_HasAttr(p_ptr, PyUnicode_FromSt...
32.134328
82
0.612169
[ "object", "vector" ]
a772889cf8dc342208d231f4a34c582694ae6e8c
13,156
hxx
C++
Modules/Numerics/Statistics/include/itkScalarImageToRunLengthMatrixFilter.hxx
khangthk/ITK
f3c12edaf9cef07dbc34107e1a8aec9859204116
[ "Apache-2.0" ]
null
null
null
Modules/Numerics/Statistics/include/itkScalarImageToRunLengthMatrixFilter.hxx
khangthk/ITK
f3c12edaf9cef07dbc34107e1a8aec9859204116
[ "Apache-2.0" ]
null
null
null
Modules/Numerics/Statistics/include/itkScalarImageToRunLengthMatrixFilter.hxx
khangthk/ITK
f3c12edaf9cef07dbc34107e1a8aec9859204116
[ "Apache-2.0" ]
null
null
null
/*========================================================================= * * Copyright NumFOCUS * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.o...
37.913545
120
0.675281
[ "object" ]
a77368bddc6c17a45b7ee26ed82a9b35f6239f6b
14,049
cpp
C++
ROS_Eploration/nav2d_karto/OpenKarto/source/StringHelper.cpp
WarOfDevil/AGV
3891570995f639081d7865098c19efbed27e33f9
[ "MIT" ]
null
null
null
ROS_Eploration/nav2d_karto/OpenKarto/source/StringHelper.cpp
WarOfDevil/AGV
3891570995f639081d7865098c19efbed27e33f9
[ "MIT" ]
null
null
null
ROS_Eploration/nav2d_karto/OpenKarto/source/StringHelper.cpp
WarOfDevil/AGV
3891570995f639081d7865098c19efbed27e33f9
[ "MIT" ]
null
null
null
/* * Copyright (C) 2006-2011, SRI International (R) * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * *...
23.298507
98
0.635632
[ "geometry", "transform" ]
a77578081bd8fcd384ec71efe1803612cfe5cf67
35,138
cpp
C++
cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_wanphy_ui_oper.cpp
CiscoDevNet/ydk-cpp
ef7d75970f2ef1154100e0f7b0a2ee823609b481
[ "ECL-2.0", "Apache-2.0" ]
17
2016-12-02T05:45:49.000Z
2022-02-10T19:32:54.000Z
cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_wanphy_ui_oper.cpp
CiscoDevNet/ydk-cpp
ef7d75970f2ef1154100e0f7b0a2ee823609b481
[ "ECL-2.0", "Apache-2.0" ]
2
2017-03-27T15:22:38.000Z
2019-11-05T08:30:16.000Z
cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_wanphy_ui_oper.cpp
CiscoDevNet/ydk-cpp
ef7d75970f2ef1154100e0f7b0a2ee823609b481
[ "ECL-2.0", "Apache-2.0" ]
11
2016-12-02T05:45:52.000Z
2019-11-07T08:28:17.000Z
#include <sstream> #include <iostream> #include <ydk/entity_util.hpp> #include "bundle_info.hpp" #include "generated_entity_lookup.hpp" #include "Cisco_IOS_XR_wanphy_ui_oper.hpp" using namespace ydk; namespace cisco_ios_xr { namespace Cisco_IOS_XR_wanphy_ui_oper { Wanphy::Wanphy() : controllers(std::make_sh...
34.114563
1,207
0.68581
[ "vector" ]
a775d9bdc2e5b6f4f7657e19b3b1e8b67e7fa35d
13,170
cc
C++
gazebo/sensors/Sensor.cc
SamFerwerda/Gazebo10-commits
b33ac5982fb75cac894fa145f7268146d44e0724
[ "ECL-2.0", "Apache-2.0" ]
2
2020-06-19T14:52:45.000Z
2020-11-05T10:25:10.000Z
gazebo/sensors/Sensor.cc
SamFerwerda/Gazebo10-commits
b33ac5982fb75cac894fa145f7268146d44e0724
[ "ECL-2.0", "Apache-2.0" ]
1
2020-06-04T10:26:04.000Z
2020-06-04T10:26:04.000Z
gazebo/sensors/Sensor.cc
SamFerwerda/Gazebo10-commits
b33ac5982fb75cac894fa145f7268146d44e0724
[ "ECL-2.0", "Apache-2.0" ]
2
2016-04-25T22:05:09.000Z
2020-03-08T08:45:12.000Z
/* * Copyright (C) 2012 Open Source Robotics Foundation * * 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 appl...
27.78481
80
0.587396
[ "render" ]
a777d4ef00587b8f2d66ec52605527ddcd46e29d
4,041
cpp
C++
JorGpi/asa/solver/solver.cpp
adujovic/JorG
15062984e837a938819e548c83f6f5414fa47103
[ "BSD-3-Clause" ]
1
2020-07-22T11:05:03.000Z
2020-07-22T11:05:03.000Z
JorGpi/asa/solver/solver.cpp
adujovic/JorG
15062984e837a938819e548c83f6f5414fa47103
[ "BSD-3-Clause" ]
2
2019-06-07T11:53:48.000Z
2019-06-24T08:20:25.000Z
JorGpi/asa/solver/solver.cpp
adujovic/JorG
15062984e837a938819e548c83f6f5414fa47103
[ "BSD-3-Clause" ]
3
2019-07-01T12:38:06.000Z
2022-02-01T21:38:12.000Z
#include "solver.h" int solver(char _basis[],char _supercell[],char _flippable[], size_t reference, size_t unique_flips, size_t ansatz){ #ifndef _SITESNUMBER #define _SITESNUMBER 64 #endif constexpr size_t SITESNUMBER = _SITESNUMBER; // ******************************************************************************...
36.736364
116
0.464736
[ "model" ]
a777e1c6c413654a8874acfcba129863f4617bc4
9,578
cpp
C++
src/minisef/movieobjects/dmedccmakefile.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
6
2022-01-23T09:40:33.000Z
2022-03-20T20:53:25.000Z
src/minisef/movieobjects/dmedccmakefile.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
null
null
null
src/minisef/movieobjects/dmedccmakefile.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
1
2022-02-06T21:05:23.000Z
2022-02-06T21:05:23.000Z
//========= Copyright Valve Corporation, All rights reserved. ============// // // Describes an asset: something that is compiled from sources, // in potentially multiple steps, to a compiled resource // //============================================================================= #include "movieobjects/dmedccmak...
29.561728
133
0.511276
[ "model" ]
a77a2811a5b7386964c31d357a3b92967527f178
27,270
cc
C++
src/media/audio/audio_core/mixer/point_sampler.cc
OpenTrustGroup/fuchsia
647e593ea661b8bf98dcad2096e20e8950b24a97
[ "BSD-3-Clause" ]
1
2019-04-21T18:02:26.000Z
2019-04-21T18:02:26.000Z
src/media/audio/audio_core/mixer/point_sampler.cc
OpenTrustGroup/fuchsia
647e593ea661b8bf98dcad2096e20e8950b24a97
[ "BSD-3-Clause" ]
16
2020-09-04T19:01:11.000Z
2021-05-28T03:23:09.000Z
src/media/audio/audio_core/mixer/point_sampler.cc
OpenTrustGroup/fuchsia
647e593ea661b8bf98dcad2096e20e8950b24a97
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2016 The Fuchsia Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "src/media/audio/audio_core/mixer/point_sampler.h" #include <algorithm> #include <limits> #include "src/lib/fxl/logging.h" #include "src/media/a...
49.223827
100
0.615328
[ "3d" ]
a783e83d97c545c285ff91ddefa7c293e0c4656d
9,323
cpp
C++
kuri_multi_agent_navigation/src/gps_waypoints_local.cpp
kucars/kuri_mbzirc_challenge_3
9942aae773eb4d32971b43223e4fea1554c1c8c8
[ "BSD-3-Clause" ]
4
2019-03-02T12:55:51.000Z
2019-07-23T08:45:17.000Z
kuri_multi_agent_navigation/src/gps_waypoints_local.cpp
kucars/kuri_mbzirc_challenge_3
9942aae773eb4d32971b43223e4fea1554c1c8c8
[ "BSD-3-Clause" ]
2
2019-07-23T08:40:18.000Z
2019-07-23T13:22:18.000Z
kuri_multi_agent_navigation/src/gps_waypoints_local.cpp
kucars/kuri_mbzirc_challenge_3
9942aae773eb4d32971b43223e4fea1554c1c8c8
[ "BSD-3-Clause" ]
2
2018-06-08T01:40:13.000Z
2019-07-23T11:24:22.000Z
/*************************************************************************** * Copyright (C) 2017 by * * Tarek Taha, KURI <tataha@tarektaha.com> * * Randa Almadhoun, KURI <randa.almadhoun@gmail.com> * * ...
34.657993
209
0.582538
[ "vector" ]
a786fbf65c5dfe80d7eac38b9ec7a12c59c71d4c
3,107
cc
C++
extensions/common/permissions/manifest_permission_set.cc
Yannic/chromium
ab32e8aacb08c9fce0dc4bf09eec456ba46e3710
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
76
2020-09-02T03:05:41.000Z
2022-03-30T04:40:55.000Z
extensions/common/permissions/manifest_permission_set.cc
blueboxd/chromium-legacy
07223bc94bd97499909c9ed3c3f5769d718fe2e0
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
45
2020-09-02T03:21:37.000Z
2022-03-31T22:19:45.000Z
extensions/common/permissions/manifest_permission_set.cc
Yannic/chromium
ab32e8aacb08c9fce0dc4bf09eec456ba46e3710
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
8
2020-07-22T18:49:18.000Z
2022-02-08T10:27:16.000Z
// Copyright 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "extensions/common/permissions/manifest_permission_set.h" #include <stddef.h> #include "base/logging.h" #include "base/strings/string_number_co...
33.053191
80
0.668812
[ "vector" ]
a7895beed7caa878017d762ce21eadb18d3e065c
2,027
cpp
C++
CodeForces/Solutions/450E.cpp
Shefin-CSE16/Competitive-Programming
7c792081ae1d4b7060893165de34ffe7b9b7caed
[ "MIT" ]
5
2020-10-03T17:15:26.000Z
2022-03-29T21:39:22.000Z
CodeForces/Solutions/449C.cpp
Shefin-CSE16/Competitive-Programming
7c792081ae1d4b7060893165de34ffe7b9b7caed
[ "MIT" ]
null
null
null
CodeForces/Solutions/449C.cpp
Shefin-CSE16/Competitive-Programming
7c792081ae1d4b7060893165de34ffe7b9b7caed
[ "MIT" ]
1
2021-03-01T12:56:50.000Z
2021-03-01T12:56:50.000Z
// #pragma GCC optimize("Ofast,unroll-loops") // #pragma GCC target("avx,avx2,fma") #include <bits/stdc++.h> using namespace std; #define ll long long #define ull unsigned long long #define dd double #define ld long double #define sl(n) scanf("%lld", &n) #define si(n) scanf("%d", &n) #define sd(n) scanf("%lf", &n) #d...
23.847059
82
0.499753
[ "vector" ]
a78b30aa4f83471c9cab0ac3287c127b9368f170
1,574
cpp
C++
leetcode/391-perfect-rectangle.cpp
01nomagic/Algorithms
b184aa12141f5127baa55502d3ea47ccd1f97ba8
[ "MIT" ]
2
2021-03-27T03:23:20.000Z
2021-08-11T12:54:17.000Z
leetcode/391-perfect-rectangle.cpp
01nomagic/Algorithms
b184aa12141f5127baa55502d3ea47ccd1f97ba8
[ "MIT" ]
null
null
null
leetcode/391-perfect-rectangle.cpp
01nomagic/Algorithms
b184aa12141f5127baa55502d3ea47ccd1f97ba8
[ "MIT" ]
null
null
null
#include "./leetcode.hpp" class Solution { public: bool isRectangleCover(vector<vector<int>>& rectangles) { map<pair<int, int>, int> dp; set<pair<int, int>> points; int minX = INT_MAX; int maxX = INT_MIN; int minY = INT_MAX; int maxY = INT_MIN; int area = 0; for (aut...
29.148148
132
0.494917
[ "vector" ]
a78e2022536c0c5fe123dee7087193c6a7048039
8,815
cpp
C++
admin/pchealth/sr/shell/frmmars.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
admin/pchealth/sr/shell/frmmars.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
admin/pchealth/sr/shell/frmmars.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
/****************************************************************************** Copyright (c) 2000 Microsoft Corporation Module Name: FrmMars.cpp Abstract: This file contains the implementation of the CSRFrameMars class, which implements SR UI using MARS / IE. Revision History: Seong Koo...
24.486111
115
0.546115
[ "model" ]
a7914108f942fc6692c1a65fe8dc7fb2eb00ee78
3,410
hpp
C++
ql/experimental/templatemodels/hullwhite/fixedratebondoption.hpp
urgu00/QuantLib
fecce0abb0ff3d50da29c129f8f9e73176e20ab9
[ "BSD-3-Clause" ]
null
null
null
ql/experimental/templatemodels/hullwhite/fixedratebondoption.hpp
urgu00/QuantLib
fecce0abb0ff3d50da29c129f8f9e73176e20ab9
[ "BSD-3-Clause" ]
17
2020-11-23T07:24:16.000Z
2022-03-28T10:29:06.000Z
ql/experimental/templatemodels/hullwhite/fixedratebondoption.hpp
urgu00/QuantLib
fecce0abb0ff3d50da29c129f8f9e73176e20ab9
[ "BSD-3-Clause" ]
7
2017-04-24T08:28:43.000Z
2022-03-15T08:59:54.000Z
/* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Copyright (C) 2010 Sebastian Schlenkrich */ /*! \file fixedratebondoption.hpp \brief (Bermudan) fixed-rate bond option */ #ifndef quantlib_fixedratebondoption_hpp #define quantlib_fixedratebondoption_hpp #include <ql/instruments...
41.084337
103
0.606158
[ "vector", "model" ]
04297c272b1ecd936d298171240c68202a7270bd
14,050
cpp
C++
src/chunk.cpp
bcfriesen/asgard
33765e6edc2dd1ac5edc589a21bf4ba649c4fb6f
[ "MIT" ]
null
null
null
src/chunk.cpp
bcfriesen/asgard
33765e6edc2dd1ac5edc589a21bf4ba649c4fb6f
[ "MIT" ]
null
null
null
src/chunk.cpp
bcfriesen/asgard
33765e6edc2dd1ac5edc589a21bf4ba649c4fb6f
[ "MIT" ]
null
null
null
#include "chunk.hpp" #include "fast_math.hpp" int num_elements_in_chunk(element_chunk const &g) { int num_elems = 0; for (auto const &[row, cols] : g) { ignore(row); num_elems += cols.stop - cols.start + 1; } return num_elems; } int max_connected_in_chunk(element_chunk const &g) { int current_max =...
36.780105
80
0.636868
[ "vector" ]
042a6103a074323a68863590fbeeba87fde0491d
63,352
cpp
C++
src/common/backend/utils/adt/jsonb_util.cpp
Yanci0/openGauss-server
b2ff10be1367c77f2fda396d6c12ffa3c25874c7
[ "MulanPSL-1.0" ]
360
2020-06-30T14:47:34.000Z
2022-03-31T15:21:53.000Z
src/common/backend/utils/adt/jsonb_util.cpp
Yanci0/openGauss-server
b2ff10be1367c77f2fda396d6c12ffa3c25874c7
[ "MulanPSL-1.0" ]
4
2020-06-30T15:09:16.000Z
2020-07-14T06:20:03.000Z
src/common/backend/utils/adt/jsonb_util.cpp
futurewei-cloud/chogori-opengauss
f43410e1643c887819e718d9baceb9e853ad9574
[ "MulanPSL-1.0" ]
133
2020-06-30T14:47:36.000Z
2022-03-25T15:29:00.000Z
/*------------------------------------------------------------------------- * * jsonb_util.c * Utilities for jsonb datatype * * Portions Copyright (c) 2021 Huawei Technologies Co.,Ltd. * Copyright (c) 2014, PostgreSQL Global Development Group * * * IDENTIFICATION * src/backend/utils/adt/jsonb_util.c * ...
37.375811
119
0.577835
[ "object" ]
043196ab7868c9706c659edd611f5e3f485e907c
3,995
cpp
C++
qt-creator-4.14/src/libs/aggregation/examples/text/main.cpp
peng1ei/qtcreator-plugin
ca4f9c6c7ddd899bcdbac7a6a4c5e383495e7a65
[ "MIT" ]
1
2021-12-28T23:27:04.000Z
2021-12-28T23:27:04.000Z
qt-creator-4.14/src/libs/aggregation/examples/text/main.cpp
peng1ei/qtcreator-plugin
ca4f9c6c7ddd899bcdbac7a6a4c5e383495e7a65
[ "MIT" ]
null
null
null
qt-creator-4.14/src/libs/aggregation/examples/text/main.cpp
peng1ei/qtcreator-plugin
ca4f9c6c7ddd899bcdbac7a6a4c5e383495e7a65
[ "MIT" ]
1
2021-12-29T11:25:37.000Z
2021-12-29T11:25:37.000Z
/**************************************************************************** ** ** Copyright (C) 2016 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of Qt Creator. ** ** Commercial License Usage ** Licensees holding valid commercial Qt licenses may use this file in ** accordance w...
38.413462
110
0.671339
[ "object" ]
0435374d69a18960b03f3baa922bc2280580bf1e
511
cpp
C++
atc/abc235/c.cpp
Zilanlann/cp-code
0500acbf6fb05a66f7bdbdf0e0a8bd6170126a4a
[ "MIT" ]
3
2022-03-30T14:14:57.000Z
2022-03-31T04:30:32.000Z
atc/abc235/c.cpp
Zilanlann/cp-code
0500acbf6fb05a66f7bdbdf0e0a8bd6170126a4a
[ "MIT" ]
null
null
null
atc/abc235/c.cpp
Zilanlann/cp-code
0500acbf6fb05a66f7bdbdf0e0a8bd6170126a4a
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <map> typedef long long ll; using namespace std; map<int, vector<int>> ma; int main(){ ios::sync_with_stdio(false); cin.tie(nullptr); //IO int n, t; cin >> n >> t; for (int i = 1; i <= n; i++) { int a; cin >> a; ma[a].push_back(i); ...
14.194444
35
0.448141
[ "vector" ]
043c0db6f5fe6195f0b76c982c0349f2e91150bd
5,635
cpp
C++
domain/test/unit/domain/domaindecomp.cpp
j-piccinali/SPH-EXA_mini-app
c3ba4d37f2edf433710d5c0bc2362ec35e75df32
[ "MIT" ]
16
2022-01-17T19:50:38.000Z
2022-03-28T08:09:58.000Z
domain/test/unit/domain/domaindecomp.cpp
j-piccinali/SPH-EXA_mini-app
c3ba4d37f2edf433710d5c0bc2362ec35e75df32
[ "MIT" ]
41
2019-10-08T19:53:55.000Z
2021-11-23T06:56:03.000Z
domain/test/unit/domain/domaindecomp.cpp
j-piccinali/SPH-EXA_mini-app
c3ba4d37f2edf433710d5c0bc2362ec35e75df32
[ "MIT" ]
13
2021-12-06T09:12:52.000Z
2022-03-28T08:07:38.000Z
/* * MIT License * * Copyright (c) 2021 CSCS, ETH Zurich * 2021 University of Basel * * 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 with...
30.79235
88
0.656433
[ "vector" ]
043dd68756829ce79cee281d2775afdbda3c39e6
3,287
cpp
C++
src/Engine/Geometry/Model.cpp
Chainsawkitten/Deathcap
37ed5afccd3113d34612d89c6e6508e8da9a0d7f
[ "MIT" ]
3
2017-09-08T06:05:10.000Z
2017-10-28T04:22:20.000Z
src/Engine/Geometry/Model.cpp
Chainsawkitten/Deathcap
37ed5afccd3113d34612d89c6e6508e8da9a0d7f
[ "MIT" ]
894
2017-08-30T09:57:28.000Z
2018-01-30T12:35:38.000Z
src/Engine/Geometry/Model.cpp
Chainsawkitten/LargeGameProjectEngine
37ed5afccd3113d34612d89c6e6508e8da9a0d7f
[ "MIT" ]
1
2020-11-06T23:59:58.000Z
2020-11-06T23:59:58.000Z
#include "Model.hpp" #include <cstring> #include "../Hymn.hpp" #include <Utility/Log.hpp> #include "MeshData.hpp" using namespace Geometry; Model::Model() { } Model::~Model() { } Json::Value Model::Save() const { Json::Value model; model["name"] = name; model["type"] = type == STATIC ? "Static" : "Sk...
36.932584
122
0.671129
[ "geometry", "model" ]
043e11e1f7cb59828d981ac3132e3d3d48c5e6e9
1,154
cpp
C++
PROJECTS/smarthome/setup/agentsFactory/agentsFactory.cpp
afatom/core-program
7886acf67f6b81bd06edef41f6ddab83cc993927
[ "MIT" ]
null
null
null
PROJECTS/smarthome/setup/agentsFactory/agentsFactory.cpp
afatom/core-program
7886acf67f6b81bd06edef41f6ddab83cc993927
[ "MIT" ]
null
null
null
PROJECTS/smarthome/setup/agentsFactory/agentsFactory.cpp
afatom/core-program
7886acf67f6b81bd06edef41f6ddab83cc993927
[ "MIT" ]
null
null
null
#include <agentsFactory.h> #include <pthread.h> #include <control.h> #include <assert.h> #include <cstdlib> AgentsFactory_t::AgentsFactory_t(IRegistrar_t* _reg, IPublisher_t* _pub, const string& _soDirPath) //string as SO Dir path { string config = _soDirPath + '/' + "config.txt"; m_reader = new TxtReader_t(config.c...
19.559322
122
0.686308
[ "vector" ]
04403e5688fcb9df0fcdf33d053729100d5953f2
7,129
cpp
C++
PongRoyale/Classes/GameScene.cpp
PongRoyale/GameClient
942ce859c31e4dc494c564cc2728b70332afe67b
[ "MIT" ]
null
null
null
PongRoyale/Classes/GameScene.cpp
PongRoyale/GameClient
942ce859c31e4dc494c564cc2728b70332afe67b
[ "MIT" ]
null
null
null
PongRoyale/Classes/GameScene.cpp
PongRoyale/GameClient
942ce859c31e4dc494c564cc2728b70332afe67b
[ "MIT" ]
1
2020-12-12T02:06:02.000Z
2020-12-12T02:06:02.000Z
/**************************************************************************** Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. http://www.cocos2d-x.org Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal...
32.852535
222
0.629261
[ "object" ]
04432b5a577019c1f0a792a17138ad05cc92e852
4,505
hpp
C++
inference-engine/src/legacy_api/src/shape_infer/const_infer/ie_pow_const_infer.hpp
anton-potapov/openvino
84119afe9a8c965e0a0cd920fff53aee67b05108
[ "Apache-2.0" ]
1
2021-07-30T17:03:50.000Z
2021-07-30T17:03:50.000Z
inference-engine/src/legacy_api/src/shape_infer/const_infer/ie_pow_const_infer.hpp
anton-potapov/openvino
84119afe9a8c965e0a0cd920fff53aee67b05108
[ "Apache-2.0" ]
4
2021-04-01T08:29:48.000Z
2021-08-30T16:12:52.000Z
inference-engine/src/legacy_api/src/shape_infer/const_infer/ie_pow_const_infer.hpp
anton-potapov/openvino
84119afe9a8c965e0a0cd920fff53aee67b05108
[ "Apache-2.0" ]
3
2021-03-09T08:27:29.000Z
2021-04-07T04:58:54.000Z
// Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #pragma once #include <ie_blob.h> #include <ie_layers.h> #include <precision_utils.h> #include <cmath> #include <ie_precision.hpp> #include <map> #include <memory> #include <string> #include <vector> #include "broadcast_offset.hp...
44.166667
116
0.611543
[ "vector" ]
0446a0a1977b06ac3db7c128491257818e121d85
9,975
cpp
C++
src/mame/drivers/fidel_cc7.cpp
Robbbert/messui
49b756e2140d8831bc81335298ee8c5471045e79
[ "BSD-3-Clause" ]
26
2015-03-31T06:25:51.000Z
2021-12-14T09:29:04.000Z
src/mame/drivers/fidel_cc7.cpp
Robbbert/messui
49b756e2140d8831bc81335298ee8c5471045e79
[ "BSD-3-Clause" ]
null
null
null
src/mame/drivers/fidel_cc7.cpp
Robbbert/messui
49b756e2140d8831bc81335298ee8c5471045e79
[ "BSD-3-Clause" ]
10
2015-03-27T05:45:51.000Z
2022-02-04T06:57:36.000Z
// license:BSD-3-Clause // copyright-holders:hap // thanks-to:Berger /****************************************************************************** Fidelity Chess Challenger 7 (BCC) ------------------------ It was Fidelity's most sold chess computer. The first version was released in 1979, and a newer PCB revision wa...
35.498221
194
0.666165
[ "model" ]
04502bb55dbe198f89a763b043cf9d9230b82e78
1,214
hpp
C++
include/eve/function/comparison.hpp
orao/eve
a8bdc6a9cab06d905e8749354cde63776ab76846
[ "MIT" ]
null
null
null
include/eve/function/comparison.hpp
orao/eve
a8bdc6a9cab06d905e8749354cde63776ab76846
[ "MIT" ]
null
null
null
include/eve/function/comparison.hpp
orao/eve
a8bdc6a9cab06d905e8749354cde63776ab76846
[ "MIT" ]
null
null
null
//================================================================================================== /** EVE - Expressive Vector Engine Copyright : EVE Contributors & Maintainers SPDX-License-Identifier: MIT **/ //================================================================================================== #...
37.9375
100
0.654036
[ "vector" ]
0450897a241fdb8f62ea50a14b29543c0a4ef3fb
649
cpp
C++
88.Merge Sorted Array/test.cpp
ReZeroS/LeetCode
807ae800437e0b6224bd4672f28007388625437b
[ "MIT" ]
2
2018-10-24T03:34:44.000Z
2020-07-16T15:34:44.000Z
88.Merge Sorted Array/test.cpp
ReZeroS/LeetCode
807ae800437e0b6224bd4672f28007388625437b
[ "MIT" ]
null
null
null
88.Merge Sorted Array/test.cpp
ReZeroS/LeetCode
807ae800437e0b6224bd4672f28007388625437b
[ "MIT" ]
null
null
null
class Solution { public: void merge(vector<int>& nums1, int m, vector<int>& nums2, int n) { int point = m + n - 1; int index1 = m - 1; int index2 = n - 1; for(int i = point; i >= 0; --i){ if(index2 < 0){ nums1[i] = nums1[index1--]; continue...
25.96
70
0.372881
[ "vector" ]
0450aa1fdf994f9d6c28086c6d5fdd68dd9fc36b
3,416
hpp
C++
networkit/cpp/centrality/GroupClosenessGrowShrinkImpl.hpp
muik/networkit
d263481a153279d2bf1d5a8433783f00713abcde
[ "MIT" ]
null
null
null
networkit/cpp/centrality/GroupClosenessGrowShrinkImpl.hpp
muik/networkit
d263481a153279d2bf1d5a8433783f00713abcde
[ "MIT" ]
null
null
null
networkit/cpp/centrality/GroupClosenessGrowShrinkImpl.hpp
muik/networkit
d263481a153279d2bf1d5a8433783f00713abcde
[ "MIT" ]
null
null
null
/* * GroupClosenessGrowShrinkImpl.hpp * * Created on: 19.12.2019 * Author: Eugenio Angriman <angrimae@hu-berlin.de> */ #ifndef NETWORKIT_CENTRALITY_GROUP_CLOSENESS_GROW_SHRINK_IMPL_HPP_ #define NETWORKIT_CENTRALITY_GROUP_CLOSENESS_GROW_SHRINK_IMPL_HPP_ #ifdef __AVX2__ #include <immintrin.h> #include <netw...
29.448276
96
0.721019
[ "vector" ]
045306e577f10227a264c99b91de28e17d9491ca
6,750
cpp
C++
QuantExt/qle/termstructures/crossccyfixfloatmtmresetswaphelper.cpp
mrslezak/Engine
c46ff278a2c5f4162db91a7ab500a0bb8cef7657
[ "BSD-3-Clause" ]
335
2016-10-07T16:31:10.000Z
2022-03-02T07:12:03.000Z
QuantExt/qle/termstructures/crossccyfixfloatmtmresetswaphelper.cpp
mrslezak/Engine
c46ff278a2c5f4162db91a7ab500a0bb8cef7657
[ "BSD-3-Clause" ]
59
2016-10-31T04:20:24.000Z
2022-01-03T16:39:57.000Z
QuantExt/qle/termstructures/crossccyfixfloatmtmresetswaphelper.cpp
mrslezak/Engine
c46ff278a2c5f4162db91a7ab500a0bb8cef7657
[ "BSD-3-Clause" ]
180
2016-10-08T14:23:50.000Z
2022-03-28T10:43:05.000Z
/* Copyright (C) 2021 Quaternion Risk Management Ltd All rights reserved. This file is part of ORE, a free-software/open-source library for transparent pricing and risk analysis - http://opensourcerisk.org ORE is free software: you can redistribute it and/or modify it under the terms of the Modified BSD License...
44.117647
141
0.734815
[ "model" ]
04550ae4ae791030a1dda980b2f01b0c66b29953
1,166
cpp
C++
Dynamic Programming/palindrome-partitioning-ii.cpp
atitoa93/interviewbit-solutions
9723c9cb767119bf5751e465548de4046b5a3d33
[ "MIT" ]
null
null
null
Dynamic Programming/palindrome-partitioning-ii.cpp
atitoa93/interviewbit-solutions
9723c9cb767119bf5751e465548de4046b5a3d33
[ "MIT" ]
null
null
null
Dynamic Programming/palindrome-partitioning-ii.cpp
atitoa93/interviewbit-solutions
9723c9cb767119bf5751e465548de4046b5a3d33
[ "MIT" ]
null
null
null
// https://www.interviewbit.com/problems/palindrome-partitioning-ii/ int bt(vector <int> &dp, vector <vector <int> > &p, string &s, int idx) { if (idx == s.size()) return 0; int &ret = dp[idx]; if (~ret) return ret; ret = s.size(); for (int i = idx; i < s.size(); ++i) { if (p[idx][i]) { ret =...
20.821429
73
0.429674
[ "vector" ]
0455c14b6cbd78c30c00e541f770d2e598873931
1,198
cpp
C++
leetcode.com/Weekly Contest 253/4/main.cpp
sky-bro/AC
29bfa3f13994612887e18065fa6e854b9a29633d
[ "MIT" ]
1
2020-08-20T11:02:49.000Z
2020-08-20T11:02:49.000Z
leetcode.com/Weekly Contest 253/4/main.cpp
sky-bro/AC
29bfa3f13994612887e18065fa6e854b9a29633d
[ "MIT" ]
null
null
null
leetcode.com/Weekly Contest 253/4/main.cpp
sky-bro/AC
29bfa3f13994612887e18065fa6e854b9a29633d
[ "MIT" ]
1
2022-01-01T23:23:13.000Z
2022-01-01T23:23:13.000Z
#include <bits/stdc++.h> using namespace std; int __fastio = []() { ios_base::sync_with_stdio(false); cout << fixed << setprecision(10); cin.tie(nullptr); return 0; } (); class Solution { public: vector<int> longestObstacleCourseAtEachPosition(vector<int>& A) { int n = A.size(); vector<int> res(n);...
26.622222
124
0.328047
[ "vector" ]
0456061fb632f388401bf0a9b12457984a80f412
13,596
cpp
C++
source/common/rendering/vulkan/shaders/vk_shader.cpp
madame-rachelle/Raze
67c8187d620e6cf9e99543cab5c5746dd31007af
[ "RSA-MD" ]
null
null
null
source/common/rendering/vulkan/shaders/vk_shader.cpp
madame-rachelle/Raze
67c8187d620e6cf9e99543cab5c5746dd31007af
[ "RSA-MD" ]
null
null
null
source/common/rendering/vulkan/shaders/vk_shader.cpp
madame-rachelle/Raze
67c8187d620e6cf9e99543cab5c5746dd31007af
[ "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...
33.99
210
0.737643
[ "vector" ]
04590b98fe9ae46cc6c379a78b4db342501f350d
200
cpp
C++
platform/shared/stlport/test/compiler/movable.cpp
mensfeld/rhodes
2962610a314ed563a0b7c83fcae6136913a1b033
[ "MIT" ]
173
2015-01-02T11:14:08.000Z
2022-03-05T09:54:54.000Z
platform/shared/stlport/test/compiler/movable.cpp
sdwood/rhodes
8228aa40708dcbcc1d3967a479d1d84364022255
[ "MIT" ]
263
2015-01-05T04:35:22.000Z
2021-09-07T06:00:02.000Z
platform/shared/stlport/test/compiler/movable.cpp
sdwood/rhodes
8228aa40708dcbcc1d3967a479d1d84364022255
[ "MIT" ]
77
2015-01-12T20:57:18.000Z
2022-02-17T15:15:14.000Z
#include <list> #include <vector> #include <string> using namespace std; struct S : public string { }; void test() { list<S> l; l.push_back( S() ); vector<S> v; v.push_back( S() ); }
9.52381
21
0.585
[ "vector" ]
045e02b7a22f60f7d72d73f4d22aba7fe677363e
8,793
cpp
C++
src/apps/luageneric/luageneric_test.cpp
ammarheidari/CCF
296871cf4eb5fe6d81c83ab8c3d12a198bb9ca5d
[ "ECL-2.0", "Apache-2.0" ]
1
2019-05-11T10:58:13.000Z
2019-05-11T10:58:13.000Z
src/apps/luageneric/luageneric_test.cpp
ammarheidari/CCF
296871cf4eb5fe6d81c83ab8c3d12a198bb9ca5d
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
src/apps/luageneric/luageneric_test.cpp
ammarheidari/CCF
296871cf4eb5fe6d81c83ab8c3d12a198bb9ca5d
[ "ECL-2.0", "Apache-2.0" ]
1
2019-05-11T10:58:20.000Z
2019-05-11T10:58:20.000Z
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the Apache 2.0 License. #define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN #include "doctest/doctest.h" #include "ds/files.h" #include "ds/logger.h" #include "enclave/appinterface.h" #include "genesisgen/genesisgen.h" #include "luainterp/luainterp.h...
26.972393
95
0.639827
[ "vector" ]
046c1b048ef3f772e31ff7bd8f3fffc87b9ef791
1,520
hpp
C++
src/io/reference/threadsafe_fasta.hpp
roryk/octopus
0ec2839c33b846107278696ee04ce6d7d0f69a54
[ "MIT" ]
null
null
null
src/io/reference/threadsafe_fasta.hpp
roryk/octopus
0ec2839c33b846107278696ee04ce6d7d0f69a54
[ "MIT" ]
null
null
null
src/io/reference/threadsafe_fasta.hpp
roryk/octopus
0ec2839c33b846107278696ee04ce6d7d0f69a54
[ "MIT" ]
null
null
null
// Copyright (c) 2015-2020 Daniel Cooke // Use of this source code is governed by the MIT license that can be found in the LICENSE file. #ifndef threadsafe_fasta_hpp #define threadsafe_fasta_hpp #include <string> #include <vector> #include <mutex> #include <memory> #include <boost/filesystem/path.hpp> #include "ref...
26.666667
96
0.735526
[ "vector" ]
046f109d93ebf4fa776ce03ac32b63990a2b64e7
188
cpp
C++
examples/line_plot/loglog/loglog_6.cpp
kurogane1031/matplotplusplus
44d21156edba8effe1e764a8642b0b70590d597b
[ "MIT" ]
2
2020-09-02T14:02:26.000Z
2020-10-28T07:00:44.000Z
examples/line_plot/loglog/loglog_6.cpp
kurogane1031/matplotplusplus
44d21156edba8effe1e764a8642b0b70590d597b
[ "MIT" ]
null
null
null
examples/line_plot/loglog/loglog_6.cpp
kurogane1031/matplotplusplus
44d21156edba8effe1e764a8642b0b70590d597b
[ "MIT" ]
2
2020-09-01T16:22:07.000Z
2020-09-02T14:02:27.000Z
#include <cmath> #include <matplot/matplot.h> int main() { using namespace matplot; std::vector<double> y = {0.001,0.01,0.1,1,10,100}; loglog(y); wait(); return 0; }
15.666667
54
0.590426
[ "vector" ]
047f49420213bb0f46f53acb39c5f3fc3295b40e
10,732
cpp
C++
hackathon/ouyang/angleinterafly/angle_marker.cpp
zzhmark/vaa3d_tools
3ca418add85a59ac7e805d55a600b78330d7e53d
[ "MIT" ]
1
2021-12-27T19:14:03.000Z
2021-12-27T19:14:03.000Z
hackathon/ouyang/angleinterafly/angle_marker.cpp
zzhmark/vaa3d_tools
3ca418add85a59ac7e805d55a600b78330d7e53d
[ "MIT" ]
null
null
null
hackathon/ouyang/angleinterafly/angle_marker.cpp
zzhmark/vaa3d_tools
3ca418add85a59ac7e805d55a600b78330d7e53d
[ "MIT" ]
null
null
null
/* * *for finding the branchs with strange angles and display it in terafly with red marker. *Ou Yang 8/21/2018 * */ #include "angle_marker.h" #include <math.h> #include <iostream> #include <vector> #include <stdio.h> #include <algorithm> using namespace std; #define PI 3.14159265359 #define min(a,b) (a)<(b)?(a):...
33.85489
168
0.493943
[ "vector" ]
0487a72557f94cba26f4c060b7b121b2f3c9f7a2
3,687
cpp
C++
src/lib/operators/export_csv.cpp
nilsthamm/hyrise
75a701f281bb7dc1636832012c43005ec3c66384
[ "MIT" ]
2
2019-01-22T19:44:32.000Z
2019-01-22T19:52:33.000Z
src/lib/operators/export_csv.cpp
nilsthamm/hyrise
75a701f281bb7dc1636832012c43005ec3c66384
[ "MIT" ]
69
2019-05-24T10:01:32.000Z
2019-12-13T19:09:05.000Z
src/lib/operators/export_csv.cpp
nilsthamm/hyrise
75a701f281bb7dc1636832012c43005ec3c66384
[ "MIT" ]
null
null
null
#include "export_csv.hpp" #include <memory> #include <string> #include <utility> #include <vector> #include "json.hpp" #include "import_export/csv_meta.hpp" #include "import_export/csv_writer.hpp" #include "storage/materialize.hpp" #include "storage/reference_segment.hpp" #include "constant_mappings.hpp" #include "...
36.87
120
0.7361
[ "vector" ]
048b06b2926abdc8e6078ce4ea8e2d6bec6298cb
7,906
cpp
C++
Motor2D/MenuScene.cpp
ArmisJoe/2DGame
95d3a4fd203da21b0cf9c8dc28c2f8c07c74123f
[ "MIT" ]
null
null
null
Motor2D/MenuScene.cpp
ArmisJoe/2DGame
95d3a4fd203da21b0cf9c8dc28c2f8c07c74123f
[ "MIT" ]
null
null
null
Motor2D/MenuScene.cpp
ArmisJoe/2DGame
95d3a4fd203da21b0cf9c8dc28c2f8c07c74123f
[ "MIT" ]
null
null
null
#include "MenuScene.h" #include "Render.h" #include "Application.h" #include "Input.h" #include "SceneManager.h" #include "Window.h" #include "Audio.h" #include "Fonts.h" #include "FogOfWar.h" MenuScene::MenuScene() : SceneElement("menu") { } MenuScene::~MenuScene() { } bool MenuScene::Awake(pugi::xml_node & config)...
32.804979
212
0.678346
[ "render" ]
048ba33fe041fba9a9f21772eef8468b28f2b9b4
15,849
cc
C++
mediapipe/calculators/util/non_max_suppression_calculator.cc
Ensteinjun/mediapipe
38be2ec58f2a1687f4ffca287094c7bbd7791f58
[ "Apache-2.0" ]
2
2021-01-18T13:32:40.000Z
2021-05-13T12:28:35.000Z
mediapipe/calculators/util/non_max_suppression_calculator.cc
Ensteinjun/mediapipe
38be2ec58f2a1687f4ffca287094c7bbd7791f58
[ "Apache-2.0" ]
null
null
null
mediapipe/calculators/util/non_max_suppression_calculator.cc
Ensteinjun/mediapipe
38be2ec58f2a1687f4ffca287094c7bbd7791f58
[ "Apache-2.0" ]
3
2021-01-19T14:40:59.000Z
2021-06-09T13:43:49.000Z
// Copyright 2019 The MediaPipe 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 or a...
41.166234
80
0.6755
[ "vector" ]
0494b435bb4fd1a2d25261dc0e6653005a060a14
1,411
cpp
C++
kpl_phylogenetic/kpl_qmatrix.cpp
kellerberrin/OSM_Gene_Cpp
4ec4d1244f3f1b16213cf05f0056d8e5f85d68c4
[ "MIT" ]
1
2021-04-09T16:24:06.000Z
2021-04-09T16:24:06.000Z
kpl_phylogenetic/kpl_qmatrix.cpp
kellerberrin/KGL_Gene
f8e6c14b8b2009d82d692b28354561b5f0513c5e
[ "MIT" ]
null
null
null
kpl_phylogenetic/kpl_qmatrix.cpp
kellerberrin/KGL_Gene
f8e6c14b8b2009d82d692b28354561b5f0513c5e
[ "MIT" ]
null
null
null
// // Created by kellerberrin on 13/12/19. // #include "kpl_qmatrix.h" #include <numeric> namespace kpl = kellerberrin::phylogenetic; // member function bodies go here kpl::QMatrix::QMatrix() { //std::cout << "Creating a QMatrix object" << std::endl; } kpl::QMatrix::~QMatrix() { //std::cout << "Destroying a...
14.397959
82
0.686038
[ "object" ]
0496bf6f1adc78bc0296ad41b606e548b0c0fd3c
1,647
cpp
C++
CPP/Graph/207/CourseSchedule.cpp
Insofan/LeetCode
d6722601886e181745a2e9c31cb146bc0826c906
[ "Apache-2.0" ]
null
null
null
CPP/Graph/207/CourseSchedule.cpp
Insofan/LeetCode
d6722601886e181745a2e9c31cb146bc0826c906
[ "Apache-2.0" ]
null
null
null
CPP/Graph/207/CourseSchedule.cpp
Insofan/LeetCode
d6722601886e181745a2e9c31cb146bc0826c906
[ "Apache-2.0" ]
null
null
null
// // Created by Insomnia on 2018/7/19. // #include <iostream> #include <vector> using namespace std; struct GraphNode { int label; vector<GraphNode *> neighbors; GraphNode(int x) : label(x) {} }; class Solution { public: //其中的 pair, second 依赖first //-1 没有访问过, 0 正在访问, 1 已经访问完成 bool canFin...
23.197183
75
0.493625
[ "vector" ]
0496d92bd30976340480f7a2e01c19653ac30168
583
cpp
C++
MyTask/common/base/basefragment.cpp
SuperSLD/MyTask
a428b1e410800018662ec9b1c970b68fc7fe7b69
[ "MIT" ]
3
2021-04-03T16:19:20.000Z
2021-04-06T20:37:23.000Z
MyTask/common/base/basefragment.cpp
SuperSLD/MyTask
a428b1e410800018662ec9b1c970b68fc7fe7b69
[ "MIT" ]
null
null
null
MyTask/common/base/basefragment.cpp
SuperSLD/MyTask
a428b1e410800018662ec9b1c970b68fc7fe7b69
[ "MIT" ]
3
2021-09-13T12:47:03.000Z
2021-11-27T07:45:59.000Z
#include "basefragment.h" #include <QVBoxLayout> BaseFragment::BaseFragment() {} BaseFragment::~BaseFragment() {} void BaseFragment::onPause() {} void BaseFragment::onResume() {} void BaseFragment::setData(BaseModel* model) {} void BaseFragment::clearList(QLayout *list) { QLayoutItem* child; while(list->count...
22.423077
47
0.571184
[ "model" ]
049ef48dcca0397ac9ab1336e8807a6e40cfa7dd
513
cpp
C++
learningCpp/exercise6_3.cpp
mcshen99/learningCpp
6251ae0645a01b15a8fa560b010f5a323943b10d
[ "MIT" ]
null
null
null
learningCpp/exercise6_3.cpp
mcshen99/learningCpp
6251ae0645a01b15a8fa560b010f5a323943b10d
[ "MIT" ]
null
null
null
learningCpp/exercise6_3.cpp
mcshen99/learningCpp
6251ae0645a01b15a8fa560b010f5a323943b10d
[ "MIT" ]
null
null
null
#include <vector> #include <iostream> #include <algorithm> using namespace std; //makes a vector u containing 100 ten times and copies them to a new vector v. int main() { vector<int> u(10, 100); for (vector<int>::const_iterator iter = u.begin(); iter != u.end(); ++iter) { cout << *iter << " "; } cout << endl; ...
19.730769
78
0.60039
[ "vector" ]
049f6dd13ed98490089ba848e47264fdc44f2462
10,121
hpp
C++
hpx/hpx_start_impl.hpp
kempj/hpx
ffdbfed5dfa029a0f2e97e7367cb66d12103df67
[ "BSL-1.0" ]
null
null
null
hpx/hpx_start_impl.hpp
kempj/hpx
ffdbfed5dfa029a0f2e97e7367cb66d12103df67
[ "BSL-1.0" ]
null
null
null
hpx/hpx_start_impl.hpp
kempj/hpx
ffdbfed5dfa029a0f2e97e7367cb66d12103df67
[ "BSL-1.0" ]
null
null
null
// Copyright (c) 2007-2013 Hartmut Kaiser // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #if !defined(HPX_START_IMPL_OCT_04_2012_0252PM) #define HPX_START_IMPL_OCT_04_2012_0252PM #if !defined(HPX_START_OCT_...
47.074419
91
0.671772
[ "vector" ]