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
72aa41d04277d23d4391db626c3002d1ed29f83d
3,321
cpp
C++
examples/common/WaveFrontReader.cpp
amecky/diesel
23647464f3587fb60a5f504f7103da72f2cda3f6
[ "MIT" ]
1
2017-09-28T19:39:57.000Z
2017-09-28T19:39:57.000Z
examples/common/WaveFrontReader.cpp
amecky/diesel
23647464f3587fb60a5f504f7103da72f2cda3f6
[ "MIT" ]
null
null
null
examples/common/WaveFrontReader.cpp
amecky/diesel
23647464f3587fb60a5f504f7103da72f2cda3f6
[ "MIT" ]
null
null
null
#include "WaveFrontReader.h" #include <fstream> #include <vector> #include <stdint.h> const uint32_t FNV_Prime = 0x01000193; // 16777619 const uint32_t FNV_Seed = 0x811C9DC5; // 2166136261 inline uint32_t fnv1a(const char* text, uint32_t hash = FNV_Seed) { const unsigned char* ptr = (const unsigned char*)text; wh...
21.152866
69
0.528154
[ "vector" ]
72aab6f4fde7057505d46d3e30d277858e820d02
3,094
cpp
C++
src/NOL/newton.cpp
ReFantasy/NumericalOptimizationLibrary
5848e800c558c463dfbe50d4cf2fed228bcfee4a
[ "MIT" ]
null
null
null
src/NOL/newton.cpp
ReFantasy/NumericalOptimizationLibrary
5848e800c558c463dfbe50d4cf2fed228bcfee4a
[ "MIT" ]
null
null
null
src/NOL/newton.cpp
ReFantasy/NumericalOptimizationLibrary
5848e800c558c463dfbe50d4cf2fed228bcfee4a
[ "MIT" ]
null
null
null
#include "newton.h" #include "helper.h" #include "line_search.h" #include <iostream> namespace NOL { NOL::Vector NewtonBase::SearchDirection(const Vector &xk) const { // compute dk Matrix Gk = _functor_ptr->Hesse(xk); Vector gk = _functor_ptr->Gradient(xk); // solve Gk*dk = -gk Vector dk; //...
24.171875
95
0.582741
[ "vector" ]
72b06ee24e9ec3cb8986d1b6d848e8695fcfaf1c
28,376
hpp
C++
include/peelo/container/vector.hpp
peelonet/peelo-cpp
8b1923f25175497cf46478c9ab5e9fbab365b6d6
[ "BSD-2-Clause" ]
null
null
null
include/peelo/container/vector.hpp
peelonet/peelo-cpp
8b1923f25175497cf46478c9ab5e9fbab365b6d6
[ "BSD-2-Clause" ]
null
null
null
include/peelo/container/vector.hpp
peelonet/peelo-cpp
8b1923f25175497cf46478c9ab5e9fbab365b6d6
[ "BSD-2-Clause" ]
1
2018-10-06T05:02:45.000Z
2018-10-06T05:02:45.000Z
/* * Copyright (c) 2014, peelo.net * 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 ...
26.569288
81
0.456195
[ "vector" ]
72b10c8f5d8e401eeadd8a1ab983f91cf1854da5
12,368
cpp
C++
levels/race1/race1.cpp
piotrplaza/MouseSpaceShooter
9aed0c16889b6ce70e725c165bf28307201e81d1
[ "MIT" ]
null
null
null
levels/race1/race1.cpp
piotrplaza/MouseSpaceShooter
9aed0c16889b6ce70e725c165bf28307201e81d1
[ "MIT" ]
null
null
null
levels/race1/race1.cpp
piotrplaza/MouseSpaceShooter
9aed0c16889b6ce70e725c165bf28307201e81d1
[ "MIT" ]
1
2020-06-16T10:32:06.000Z
2020-06-16T10:32:06.000Z
#include "race1.hpp" #include <algorithm> #include <globals.hpp> #include <components/screenInfo.hpp> #include <components/physics.hpp> #include <components/player.hpp> #include <components/wall.hpp> #include <components/grapple.hpp> #include <components/camera.hpp> #include <components/decoration.hpp> #include <com...
44.974545
184
0.709411
[ "model" ]
72baad29f39ca8713b433ed0c8cabf977f234bd8
3,134
cpp
C++
webkit/WebCore/svg/graphics/SVGPaintServerSolid.cpp
s1rcheese/nintendo-3ds-internetbrowser-sourcecode
3dd05f035e0a5fc9723300623e9b9b359be64e11
[ "Unlicense" ]
15
2016-01-05T12:43:41.000Z
2022-03-15T10:34:47.000Z
webkit/WebCore/svg/graphics/SVGPaintServerSolid.cpp
s1rcheese/nintendo-3ds-internetbrowser-sourcecode
3dd05f035e0a5fc9723300623e9b9b359be64e11
[ "Unlicense" ]
null
null
null
webkit/WebCore/svg/graphics/SVGPaintServerSolid.cpp
s1rcheese/nintendo-3ds-internetbrowser-sourcecode
3dd05f035e0a5fc9723300623e9b9b359be64e11
[ "Unlicense" ]
2
2020-11-30T18:36:01.000Z
2021-02-05T23:20:24.000Z
/* * Copyright (C) 2006 Nikolas Zimmermann <zimmermann@kde.org> * Copyright (C) 2008 Dirk Schulze <krit@webkit.org> * * 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 retai...
32.989474
138
0.713146
[ "object", "solid" ]
72be5f74c8dc932b472b6be0a6e7f285d568d092
25,356
cpp
C++
platform_bionic-android-vts-12.0_r2/linker/linker_relocate.cpp
webos21/xbionic
ffb3965e86ae4a921d0cffbfdc44cbdfe6acf67a
[ "Apache-2.0" ]
1
2019-05-04T02:30:08.000Z
2019-05-04T02:30:08.000Z
platform_bionic-android-vts-12.0_r2/linker/linker_relocate.cpp
webos21/xbionic
ffb3965e86ae4a921d0cffbfdc44cbdfe6acf67a
[ "Apache-2.0" ]
null
null
null
platform_bionic-android-vts-12.0_r2/linker/linker_relocate.cpp
webos21/xbionic
ffb3965e86ae4a921d0cffbfdc44cbdfe6acf67a
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2019 The Android Open Source 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: * * Redistributions of source code must retain the above copyright * notice, t...
38.47648
112
0.660199
[ "object", "vector", "model" ]
72beae7511dc02472cc2c6f91311e282a4397ed6
113,196
cpp
C++
Core/C_API_Slots.cpp
dhlee4/Tinkercell_new
c4d1848bbb905f0e1f9e011837268ac80aff8711
[ "BSD-3-Clause" ]
1
2021-01-07T13:12:51.000Z
2021-01-07T13:12:51.000Z
Core/C_API_Slots.cpp
dhlee4/Tinkercell_new
c4d1848bbb905f0e1f9e011837268ac80aff8711
[ "BSD-3-Clause" ]
7
2020-04-12T22:25:46.000Z
2020-04-13T07:50:40.000Z
Core/C_API_Slots.cpp
daniel-anavaino/tinkercell
7896a7f809a0373ab3c848d25e3691d10a648437
[ "BSD-3-Clause" ]
2
2020-04-12T21:57:01.000Z
2020-04-12T21:59:29.000Z
#include <QCoreApplication> #include <QInputDialog> #include <QDesktopServices> #include "C_API_Slots.h" #include "ItemHandle.h" #include "TextEditor.h" #include "NetworkHandle.h" #include "GraphicsScene.h" #include "GraphicsView.h" #include "NodeGraphicsItem.h" #include "ConnectionGraphicsItem.h" #include "TextGraphic...
25.697162
213
0.635155
[ "shape", "transform" ]
72c147db40398a098dcbda6d87b57588a28a1ba8
1,134
cpp
C++
Recursion/(13)BalancedParenthesis.cpp
jaydulera/data-structure-and-algorithms
abc2d67871add6f314888a72215ff3a2da2dc6e1
[ "Apache-2.0" ]
53
2020-09-26T19:44:33.000Z
2021-09-30T20:38:52.000Z
Recursion/(13)BalancedParenthesis.cpp
jaydulera/data-structure-and-algorithms
abc2d67871add6f314888a72215ff3a2da2dc6e1
[ "Apache-2.0" ]
197
2020-08-25T18:13:56.000Z
2021-06-19T07:26:19.000Z
Recursion/(13)BalancedParenthesis.cpp
jaydulera/data-structure-and-algorithms
abc2d67871add6f314888a72215ff3a2da2dc6e1
[ "Apache-2.0" ]
204
2020-08-24T09:21:02.000Z
2022-02-13T06:13:42.000Z
#include<bits/stdc++.h> using namespace std; typedef long long int lli; #define mod 1000000007 #define endl "\n" // Generate all balanced parenthesis void solve(string op, int open, int close, vector<string> &v) { if (open == 0 && close == 0) { v.push_back(op); return; } if (open > 0) solve(op + '(', open - 1...
18.290323
71
0.573192
[ "vector" ]
72c3000b9611f437a138800abc308b140fd6a61a
4,604
cpp
C++
components/CHIP8/chip8.cpp
Panky-codes/ESP32-CHIP8
84f7211d99f6f4f3bae8dfcb28d3dfd831687ad6
[ "MIT" ]
4
2020-12-14T01:24:08.000Z
2021-12-29T02:47:40.000Z
components/CHIP8/chip8.cpp
Panky-codes/ESP32-CHIP8
84f7211d99f6f4f3bae8dfcb28d3dfd831687ad6
[ "MIT" ]
null
null
null
components/CHIP8/chip8.cpp
Panky-codes/ESP32-CHIP8
84f7211d99f6f4f3bae8dfcb28d3dfd831687ad6
[ "MIT" ]
null
null
null
extern "C" { #include "esp_log.h" #include "esp_spiffs.h" #include "esp_system.h" #include "freertos/FreeRTOS.h" #include "freertos/task.h" #include "sdkconfig.h" } #include <algorithm> #include <cstdio> #include <fstream> #include <string> #include <string_view> #include "ble_server.hpp" #include "chip8.hpp" #include...
29.896104
79
0.649001
[ "vector" ]
72c32fb5b19ee80558d3ac5d65d20cf012e4e525
7,809
cc
C++
src/relay/backend/contrib/bnns/codegen.cc
XiaoSong9905/tvm
48940f697e15d5b50fa1f032003e6c700ae1e423
[ "Apache-2.0" ]
4,640
2017-08-17T19:22:15.000Z
2019-11-04T15:29:46.000Z
src/relay/backend/contrib/bnns/codegen.cc
XiaoSong9905/tvm
48940f697e15d5b50fa1f032003e6c700ae1e423
[ "Apache-2.0" ]
3,022
2020-11-24T14:02:31.000Z
2022-03-31T23:55:31.000Z
src/relay/backend/contrib/bnns/codegen.cc
XiaoSong9905/tvm
48940f697e15d5b50fa1f032003e6c700ae1e423
[ "Apache-2.0" ]
1,352
2017-08-17T19:30:38.000Z
2019-11-04T16:09:29.000Z
/* * 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"); you ...
36.152778
99
0.660392
[ "vector" ]
72c5ba63571336d0a36f1daf52b72be31bee2efb
1,867
hpp
C++
shelly/math/matrix.hpp
Zaspire/libshelly
544e09f2d1fe4ef91938295941cb00583ac42926
[ "MIT" ]
null
null
null
shelly/math/matrix.hpp
Zaspire/libshelly
544e09f2d1fe4ef91938295941cb00583ac42926
[ "MIT" ]
null
null
null
shelly/math/matrix.hpp
Zaspire/libshelly
544e09f2d1fe4ef91938295941cb00583ac42926
[ "MIT" ]
null
null
null
#ifndef SHELLY_MATH_MATRIX_HPP_AFZVMOJOHRNO789 #define SHELLY_MATH_MATRIX_HPP_AFZVMOJOHRNO789 #include <vector> namespace shelly { inline namespace v1 { template<typename A> class Matrix { public: Matrix(int rows, int columns): _data(rows, std::vector<A>(columns, 0)) { assert(rows > 0); assert(columns > 0)...
25.22973
74
0.537225
[ "vector" ]
72d05942a05049e462aa2ab33d20068acdba2c82
4,237
hpp
C++
src/include/miopen/par_for.hpp
j4yan/MIOpen
dc38f79bee97e047d866d9c1e25289cba86fab56
[ "MIT" ]
745
2017-07-01T22:03:25.000Z
2022-03-26T23:46:27.000Z
src/include/miopen/par_for.hpp
j4yan/MIOpen
dc38f79bee97e047d866d9c1e25289cba86fab56
[ "MIT" ]
1,348
2017-07-02T12:37:48.000Z
2022-03-31T23:45:51.000Z
src/include/miopen/par_for.hpp
j4yan/MIOpen
dc38f79bee97e047d866d9c1e25289cba86fab56
[ "MIT" ]
158
2017-07-01T19:37:04.000Z
2022-03-30T11:57:04.000Z
/******************************************************************************* * * MIT License * * Copyright (c) 2020 Advanced Micro Devices, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * ...
27.512987
98
0.617654
[ "vector" ]
72d3e331f4877c1bc4d9e75986221d7a707a7fdc
2,381
hpp
C++
Source/Shared/CommandLineOperation.hpp
SCOTT-HAMILTON/OTPGen
706ba9a3546abddc1d1eb8f4edac710fe35a0b22
[ "BSD-2-Clause" ]
8
2018-12-21T12:04:19.000Z
2022-03-20T04:11:44.000Z
Source/Shared/CommandLineOperation.hpp
SCOTT-HAMILTON/OTPGen
706ba9a3546abddc1d1eb8f4edac710fe35a0b22
[ "BSD-2-Clause" ]
8
2019-11-24T19:51:10.000Z
2021-01-23T19:02:57.000Z
Source/Shared/CommandLineOperation.hpp
SCOTT-HAMILTON/OTPGen
706ba9a3546abddc1d1eb8f4edac710fe35a0b22
[ "BSD-2-Clause" ]
5
2019-01-28T03:36:02.000Z
2020-11-04T07:27:05.000Z
#include <iostream> #include <string> #include <vector> #include <cstdio> #include <cstdlib> #include <TokenDatabase.hpp> void exec_commandline_operation(const std::vector<std::string> &args) { if (args.size() > 1) { if (args.at(1) == "--swap") { if (args.size() != 4) {...
31.328947
120
0.435111
[ "vector" ]
72d421dc4cc20d4cabce852fce12ea98f5aaba84
3,428
hpp
C++
libraries/chain/include/scorum/chain/schema/atomicswap_objects.hpp
scorum/scorum
1da00651f2fa14bcf8292da34e1cbee06250ae78
[ "MIT" ]
53
2017-10-28T22:10:35.000Z
2022-02-18T02:20:48.000Z
libraries/chain/include/scorum/chain/schema/atomicswap_objects.hpp
Scorum/Scorum
fb4aa0b0960119b97828865d7a5b4d0409af7876
[ "MIT" ]
38
2017-11-25T09:06:51.000Z
2018-10-31T09:17:22.000Z
libraries/chain/include/scorum/chain/schema/atomicswap_objects.hpp
Scorum/Scorum
fb4aa0b0960119b97828865d7a5b4d0409af7876
[ "MIT" ]
27
2018-01-08T19:43:35.000Z
2022-01-14T10:50:42.000Z
#pragma once #include <fc/fixed_string.hpp> #include <scorum/protocol/authority.hpp> #include <scorum/protocol/scorum_operations.hpp> #include <scorum/chain/schema/scorum_object_types.hpp> #include <scorum/chain/schema/witness_objects.hpp> #include <boost/multi_index/composite_key.hpp> #include <numeric> #include...
39.860465
116
0.568261
[ "object" ]
63936ff2c5733665524d7b5d9e013003daa837f3
1,042
cpp
C++
Arrays/main.cpp
rajeshkumarblr/datastructures
ca5ebbb44d65272ead8e20cda5f9fee2c326c58a
[ "MIT" ]
null
null
null
Arrays/main.cpp
rajeshkumarblr/datastructures
ca5ebbb44d65272ead8e20cda5f9fee2c326c58a
[ "MIT" ]
null
null
null
Arrays/main.cpp
rajeshkumarblr/datastructures
ca5ebbb44d65272ead8e20cda5f9fee2c326c58a
[ "MIT" ]
null
null
null
#include "arrayops.h" #include "dsutils.h" #include <iostream> #include <map> #include <stdio.h> #include <stdlib.h> using namespace std; int* arr; int n; void printArrayDriver() { cout << endl; printArray("current array", arr, n); } static vector<string> menuoptions = { "Exit", "Create...", "Rotate..."...
17.081967
75
0.590211
[ "vector" ]
63943618f9191cc76f409d7cdc8d6c831a4dbb2f
5,205
hpp
C++
src/pulmotor/pulmotor_types.hpp
hardesk/pulmotor
6b14c46988289efab0755819bd857b387608708f
[ "MIT" ]
1
2021-09-13T17:41:40.000Z
2021-09-13T17:41:40.000Z
src/pulmotor/pulmotor_types.hpp
hardesk/pulmotor
6b14c46988289efab0755819bd857b387608708f
[ "MIT" ]
null
null
null
src/pulmotor/pulmotor_types.hpp
hardesk/pulmotor
6b14c46988289efab0755819bd857b387608708f
[ "MIT" ]
null
null
null
#ifndef PULMOTOR_TYPES_HPP_ #define PULMOTOR_TYPES_HPP_ #include <string> #include <type_traits> namespace pulmotor { typedef unsigned char u8; typedef signed char s8; typedef unsigned short int u16; typedef signed short int s16; typedef unsigned int u32; typedef signed int s32; typedef unsigned long long u64; ...
32.735849
173
0.731604
[ "object" ]
639dd5bad77b9ef869a733a6ac0491658d377abb
12,048
cpp
C++
test/v13/utility/any_oxm_match_field_test.cpp
amedama41/bulb
2e9fd8a8c35cfc2be2ecf5f747f83cf36ffbbdbb
[ "BSL-1.0" ]
null
null
null
test/v13/utility/any_oxm_match_field_test.cpp
amedama41/bulb
2e9fd8a8c35cfc2be2ecf5f747f83cf36ffbbdbb
[ "BSL-1.0" ]
8
2016-07-21T11:29:13.000Z
2016-12-03T05:16:42.000Z
test/v13/utility/any_oxm_match_field_test.cpp
amedama41/bulb
2e9fd8a8c35cfc2be2ecf5f747f83cf36ffbbdbb
[ "BSL-1.0" ]
null
null
null
#define BOOST_TEST_DYN_LINK #include <canard/net/ofp/v13/any_oxm_match_field.hpp> #include <boost/test/unit_test.hpp> #include <boost/test/data/test_case.hpp> #include <boost/test/data/monomorphic.hpp> #include <cstdint> #include <type_traits> #include <utility> #include <vector> #include <boost/asio/ip/address_v4.hpp...
37.30031
82
0.631308
[ "vector" ]
63a0e2283c26c54f2a3e2e51310cdf63b0d08376
23,996
cpp
C++
darkness-engine/src/engine/rendering/SubMesh.cpp
Karmiska/Darkness
c87eaf067a2707a0141909125ff461f69a3812e0
[ "MIT" ]
6
2019-10-17T11:31:55.000Z
2022-02-11T08:51:20.000Z
darkness-engine/src/engine/rendering/SubMesh.cpp
Karmiska/Darkness
c87eaf067a2707a0141909125ff461f69a3812e0
[ "MIT" ]
1
2020-08-11T09:01:29.000Z
2020-08-11T09:01:29.000Z
darkness-engine/src/engine/rendering/SubMesh.cpp
Karmiska/Darkness
c87eaf067a2707a0141909125ff461f69a3812e0
[ "MIT" ]
1
2020-06-02T15:48:20.000Z
2020-06-02T15:48:20.000Z
#include "engine/rendering/SubMesh.h" #include "engine/rendering/ModelResources.h" #include "engine/primitives/Vector3.h" #include "engine/graphics/Device.h" #include "engine/graphics/CommandList.h" #include "engine/graphics/Fence.h" #include "engine/graphics/Queue.h" #include "tools/MeshTools.h" #include "tools/Debug....
51.273504
212
0.637065
[ "vector", "model", "transform" ]
63a950f1782b39ecfc2bc41cf71384eea0345e1f
1,985
cpp
C++
recipes/C++/576559_Fast_prime_generator/recipe-576559.cpp
tdiprima/code
61a74f5f93da087d27c70b2efe779ac6bd2a3b4f
[ "MIT" ]
2,023
2017-07-29T09:34:46.000Z
2022-03-24T08:00:45.000Z
recipes/C++/576559_Fast_prime_generator/recipe-576559.cpp
unhacker/code
73b09edc1b9850c557a79296655f140ce5e853db
[ "MIT" ]
32
2017-09-02T17:20:08.000Z
2022-02-11T17:49:37.000Z
recipes/C++/576559_Fast_prime_generator/recipe-576559.cpp
unhacker/code
73b09edc1b9850c557a79296655f140ce5e853db
[ "MIT" ]
780
2017-07-28T19:23:28.000Z
2022-03-25T20:39:41.000Z
/* Copyright (c) 2008 Florian Mayer 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, distribu...
34.224138
78
0.676574
[ "vector" ]
63adab95edbc691a1008bf9a218a31659c09d6a3
15,358
cpp
C++
src/frameworks/av/media/libnblog/PerformanceAnalysis.cpp
dAck2cC2/m3e
475b89b59d5022a94e00b636438b25e27e4eaab2
[ "Apache-2.0" ]
null
null
null
src/frameworks/av/media/libnblog/PerformanceAnalysis.cpp
dAck2cC2/m3e
475b89b59d5022a94e00b636438b25e27e4eaab2
[ "Apache-2.0" ]
null
null
null
src/frameworks/av/media/libnblog/PerformanceAnalysis.cpp
dAck2cC2/m3e
475b89b59d5022a94e00b636438b25e27e4eaab2
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2017 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
39.890909
91
0.657768
[ "vector" ]
63bed15bc8908eba16921b219b731dcb5bb0f90e
1,471
cpp
C++
src/mazeGenerator.cpp
Ediolot/IA-Coche
6709a4df9b91a28641ef4884bec058c535f91133
[ "MIT" ]
null
null
null
src/mazeGenerator.cpp
Ediolot/IA-Coche
6709a4df9b91a28641ef4884bec058c535f91133
[ "MIT" ]
null
null
null
src/mazeGenerator.cpp
Ediolot/IA-Coche
6709a4df9b91a28641ef4884bec058c535f91133
[ "MIT" ]
null
null
null
#include "../include/mazeGenerator.hpp" mazeGenerator::mazeGenerator(): rows_(0), cols_(0), obs_(0), maze_() {} mazeGenerator::~mazeGenerator() {} uint mazeGenerator::getRows() const { return rows_; } uint mazeGenerator::getCols() const { return cols_; } double mazeGenerator::getObs() const { ...
17.722892
133
0.601632
[ "vector" ]
63cc325e56a61cc686e6761258759360cdc299a0
17,386
cpp
C++
src/distr/Worker.cpp
haku117/FAB
80957e7627f48c1934cb051ae79f267611482112
[ "MIT" ]
null
null
null
src/distr/Worker.cpp
haku117/FAB
80957e7627f48c1934cb051ae79f267611482112
[ "MIT" ]
1
2019-01-28T21:39:07.000Z
2019-01-28T21:39:07.000Z
src/distr/Worker.cpp
haku117/FAB
80957e7627f48c1934cb051ae79f267611482112
[ "MIT" ]
null
null
null
#include "Worker.h" #include "common/Option.h" #include "network/NetworkThread.h" #include "message/MType.h" #include "logging/logging.h" #include "util/Timer.h" using namespace std; // initialize constant / stable data Worker::Worker() : Runner() { masterNID = 0; dataPointer = 0; iter = 0; localBatchSize = 1; ...
25.124277
126
0.668469
[ "vector", "model" ]
63e4627175c751479d14e7a9fb49d7ee63075fe1
2,527
cpp
C++
src/Environment.cpp
ThomScottW/GravSimCpp
893e09f061276f69d400abf5c253c94b7fb2a717
[ "MIT" ]
null
null
null
src/Environment.cpp
ThomScottW/GravSimCpp
893e09f061276f69d400abf5c253c94b7fb2a717
[ "MIT" ]
null
null
null
src/Environment.cpp
ThomScottW/GravSimCpp
893e09f061276f69d400abf5c253c94b7fb2a717
[ "MIT" ]
null
null
null
#include "Environment.hpp" Environment::Environment(unsigned numParticles) : numParticles{numParticles} { particles = std::list<Particle>(); for (unsigned i = 0; i < numParticles; ++i){ particles.push_back(genRandomParticle()); } } void Environment::update() { // Remove any absorbed par...
21.598291
76
0.547685
[ "vector" ]
63e626cb90cbff73f2deb8e74e8667d8f770fcf3
535
cc
C++
src/codeforces/accepted/580A.cc
cbarnson/UVa
0dd73fae656613e28b5aaf5880c5dad529316270
[ "Unlicense", "MIT" ]
2
2019-09-07T17:00:26.000Z
2020-08-05T02:08:35.000Z
src/codeforces/accepted/580A.cc
cbarnson/UVa
0dd73fae656613e28b5aaf5880c5dad529316270
[ "Unlicense", "MIT" ]
null
null
null
src/codeforces/accepted/580A.cc
cbarnson/UVa
0dd73fae656613e28b5aaf5880c5dad529316270
[ "Unlicense", "MIT" ]
null
null
null
// Problem # : 580A // Created on : 2018-10-14 11:31:45 #include <bits/stdc++.h> #define FR(i, n) for (int i = 0; i < (n); ++i) using namespace std; typedef long long ll; typedef pair<int, int> ii; typedef vector<int> vi; int main() { ios_base::sync_with_stdio(false); cin.tie(NULL); int n; cin...
16.212121
46
0.485981
[ "vector" ]
63e6fd963dadab07adf36f2aee3994bf403fb12b
3,724
cpp
C++
vegastrike/src/gfx/mesh_server.cpp
Ezeer/VegaStrike_win32FR
75891b9ccbdb95e48e15d3b4a9cd977955b97d1f
[ "MIT" ]
null
null
null
vegastrike/src/gfx/mesh_server.cpp
Ezeer/VegaStrike_win32FR
75891b9ccbdb95e48e15d3b4a9cd977955b97d1f
[ "MIT" ]
null
null
null
vegastrike/src/gfx/mesh_server.cpp
Ezeer/VegaStrike_win32FR
75891b9ccbdb95e48e15d3b4a9cd977955b97d1f
[ "MIT" ]
null
null
null
#include "mesh.h" #ifdef __cplusplus extern "C" { void winsys_exit( int code ) { exit( code ); } } #endif int Mesh::getNumTextureFrames() const { return 1; } double Mesh::getTextureCumulativeTime() const { return 0; } float Mesh::getTextureFramesPerSecond() const { return 0; } void Mesh::setTextureCum...
29.09375
152
0.557465
[ "mesh", "vector" ]
63eaf62388cfe5ecd095ffc6dfcfa0da6a356a0e
298
hpp
C++
src/core/include/ngraph/output_vector.hpp
pazamelin/openvino
b7e8ef910d7ed8e52326d14dc6fd53b71d16ed48
[ "Apache-2.0" ]
2,406
2020-04-22T15:47:54.000Z
2022-03-31T10:27:37.000Z
ngraph/core/include/ngraph/output_vector.hpp
thomas-yanxin/openvino
031e998a15ec738c64cc2379d7f30fb73087c272
[ "Apache-2.0" ]
4,948
2020-04-22T15:12:39.000Z
2022-03-31T18:45:42.000Z
ngraph/core/include/ngraph/output_vector.hpp
thomas-yanxin/openvino
031e998a15ec738c64cc2379d7f30fb73087c272
[ "Apache-2.0" ]
991
2020-04-23T18:21:09.000Z
2022-03-31T18:40:57.000Z
// Copyright (C) 2018-2021 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #pragma once #include <memory> #include <vector> #include "openvino/core/node_vector.hpp" namespace ngraph { using NodeVector = ov::NodeVector; using OutputVector = ov::OutputVector; } // namespace ngraph
17.529412
44
0.738255
[ "vector" ]
63ef8efb150ea647316cdc00d01ae43d089feec8
3,593
cpp
C++
ServerSocket.cpp
MostafaSayyedi/SocketProgramming
87e77ef22bf7f6bab1843c48b4f58a2bbef1b872
[ "MIT" ]
null
null
null
ServerSocket.cpp
MostafaSayyedi/SocketProgramming
87e77ef22bf7f6bab1843c48b4f58a2bbef1b872
[ "MIT" ]
null
null
null
ServerSocket.cpp
MostafaSayyedi/SocketProgramming
87e77ef22bf7f6bab1843c48b4f58a2bbef1b872
[ "MIT" ]
null
null
null
// ServerSocket.cpp : Defines the class behaviors for the application. // #include "stdafx.h" #include "ServerSocket.h" #include "ServerSocketDlg.h" #include "ClientSocketDlg.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif #define WSA_VERSION MAKEWORD(2,0) #define ...
23.953333
88
0.639299
[ "object" ]
63fb94da22dab8087013b4387e99f90037606e51
42,460
cxx
C++
main/sc/source/filter/xml/xmlwrap.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/sc/source/filter/xml/xmlwrap.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/sc/source/filter/xml/xmlwrap.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
331
2015-01-06T11:40:55.000Z
2022-03-14T04:07:51.000Z
/************************************************************** * * 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 yo...
38.286745
161
0.67805
[ "object" ]
63ff2751fe2eb2c2b64b9e361375f3169bf4b286
681
hpp
C++
include/priority_queue.hpp
not522/Competitive-Programming
be4a7d25caf5acbb70783b12899474a56c34dedb
[ "Unlicense" ]
7
2018-04-14T14:55:51.000Z
2022-01-31T10:49:49.000Z
include/priority_queue.hpp
not522/Competitive-Programming
be4a7d25caf5acbb70783b12899474a56c34dedb
[ "Unlicense" ]
5
2018-04-14T14:28:49.000Z
2019-05-11T02:22:10.000Z
include/priority_queue.hpp
not522/Competitive-Programming
be4a7d25caf5acbb70783b12899474a56c34dedb
[ "Unlicense" ]
null
null
null
#pragma once #include "template.hpp" #include <queue> template <typename T, bool less> class Comp { public: bool operator()(const T &a, const T &b) const { return less ? a < b : !(a < b); } }; template <typename T, bool less = true> class PriorityQueue : public std::priority_queue<T, std::vector<T>, Comp...
20.029412
70
0.613803
[ "vector" ]
1206277d788d693172fc4e821806a4412a675574
4,822
cpp
C++
Win32.ShellbotFTP/Pcap.cpp
010001111/Vx-Suites
6b4b90a60512cce48aa7b87aec5e5ac1c4bb9a79
[ "MIT" ]
2
2021-02-04T06:47:45.000Z
2021-07-28T10:02:10.000Z
Win32.ShellbotFTP/Pcap.cpp
010001111/Vx-Suites
6b4b90a60512cce48aa7b87aec5e5ac1c4bb9a79
[ "MIT" ]
null
null
null
Win32.ShellbotFTP/Pcap.cpp
010001111/Vx-Suites
6b4b90a60512cce48aa7b87aec5e5ac1c4bb9a79
[ "MIT" ]
null
null
null
/* shellbot - a high performance IRC bot for Win32 Copyright (C) 2005 Shellz This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later versi...
35.718519
103
0.632725
[ "vector" ]
120af6697994b62ef9eeca87dc996bb63d41265d
2,208
cpp
C++
client_project/build/jsb-default/frameworks/cocos2d-x/cocos/renderer/renderer/Effect.cpp
pertgame/battleframe
ffba8a7b4f7f45f1eed2c56060d9a2205fb1fdc9
[ "MIT" ]
1
2020-10-28T15:19:15.000Z
2020-10-28T15:19:15.000Z
client_project/build/jsb-default/frameworks/cocos2d-x/cocos/renderer/renderer/Effect.cpp
pertgame/battleframe
ffba8a7b4f7f45f1eed2c56060d9a2205fb1fdc9
[ "MIT" ]
null
null
null
client_project/build/jsb-default/frameworks/cocos2d-x/cocos/renderer/renderer/Effect.cpp
pertgame/battleframe
ffba8a7b4f7f45f1eed2c56060d9a2205fb1fdc9
[ "MIT" ]
1
2020-10-28T15:19:40.000Z
2020-10-28T15:19:40.000Z
/**************************************************************************** Copyright (c) 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 in t...
29.44
81
0.664402
[ "vector" ]
120cc31051f77ed4aef0ded93c1314ac8d8b99f6
1,138
cpp
C++
II rok/I semestr/MIA/#Code 2/Zadanie1.cpp
antonitomaszewski/Studia
ff2fa59e25cf3f5c86b59de9994b80a502ec1e7b
[ "MIT" ]
null
null
null
II rok/I semestr/MIA/#Code 2/Zadanie1.cpp
antonitomaszewski/Studia
ff2fa59e25cf3f5c86b59de9994b80a502ec1e7b
[ "MIT" ]
null
null
null
II rok/I semestr/MIA/#Code 2/Zadanie1.cpp
antonitomaszewski/Studia
ff2fa59e25cf3f5c86b59de9994b80a502ec1e7b
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> using std::cin; using std::cout; using std::vector; vector <int> drzewo [100001]; bool kolor [100001]; bool odwiedzon [100001]; void bfs(int node) { int kol = !kolor[node]; for(auto somsiadXD : drzewo[node]) if (!odwiedzon[somsiadXD]) ...
21.074074
47
0.425308
[ "vector" ]
121474fa1e47606320042ac4482cad98f938e84a
4,250
hpp
C++
src/mirrage/input/include/mirrage/input/input_mapping.hpp
lowkey42/mirrage
2527537989a548062d0bbca8370d063fc6b81a18
[ "MIT" ]
14
2017-10-26T08:45:54.000Z
2021-04-06T11:44:17.000Z
src/mirrage/input/include/mirrage/input/input_mapping.hpp
lowkey42/mirrage
2527537989a548062d0bbca8370d063fc6b81a18
[ "MIT" ]
17
2017-10-09T20:11:58.000Z
2018-11-08T22:05:14.000Z
src/mirrage/input/include/mirrage/input/input_mapping.hpp
lowkey42/mirrage
2527537989a548062d0bbca8370d063fc6b81a18
[ "MIT" ]
1
2018-09-26T23:10:06.000Z
2018-09-26T23:10:06.000Z
/** maps inputs to actions *************************************************** * * * Copyright (c) 2016 Florian Oetke * * This file is distributed under the MIT License * * ...
32.19697
86
0.616706
[ "vector" ]
12160b2061bcf8f1ee794dccffe3460df891657e
1,673
cpp
C++
flashlight/nn/modules/Module.cpp
josephmisiti/flashlight
a1349e84c9be19ecbbdc28d2d5a8eeeaaaa06273
[ "MIT" ]
2
2020-12-27T18:38:44.000Z
2021-09-10T20:55:25.000Z
flashlight/nn/modules/Module.cpp
josephmisiti/flashlight
a1349e84c9be19ecbbdc28d2d5a8eeeaaaa06273
[ "MIT" ]
null
null
null
flashlight/nn/modules/Module.cpp
josephmisiti/flashlight
a1349e84c9be19ecbbdc28d2d5a8eeeaaaa06273
[ "MIT" ]
null
null
null
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ /******************************************************* * Copyright (c) 2017, ArrayFire * All rights reserved. * * This file i...
22.306667
66
0.622833
[ "vector" ]
121ab4cbc39a692dc3e976b7fa10c16d9542e1ec
3,020
hpp
C++
simulation/simple_sensor_simulator/include/simple_sensor_simulator/sensor_simulation/sensor_simulation.hpp
WJaworskiRobotec/scenario_simulator_v2
c23497ac8716dcefef20d4b5a4ff1185e01f48e6
[ "Apache-2.0" ]
null
null
null
simulation/simple_sensor_simulator/include/simple_sensor_simulator/sensor_simulation/sensor_simulation.hpp
WJaworskiRobotec/scenario_simulator_v2
c23497ac8716dcefef20d4b5a4ff1185e01f48e6
[ "Apache-2.0" ]
null
null
null
simulation/simple_sensor_simulator/include/simple_sensor_simulator/sensor_simulation/sensor_simulation.hpp
WJaworskiRobotec/scenario_simulator_v2
c23497ac8716dcefef20d4b5a4ff1185e01f48e6
[ "Apache-2.0" ]
null
null
null
// Copyright 2015-2020 Tier IV, Inc. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by app...
38.717949
99
0.750331
[ "vector" ]
1223343cae94b3552eee45fd8afbc45ab78ff609
1,519
cc
C++
7_Programmieraufgabe/exercise.cc
j3l4ck0ut/UdemyCpp
ed3b75cedbf9cad211a205195605cfd3c9280efc
[ "MIT" ]
null
null
null
7_Programmieraufgabe/exercise.cc
j3l4ck0ut/UdemyCpp
ed3b75cedbf9cad211a205195605cfd3c9280efc
[ "MIT" ]
null
null
null
7_Programmieraufgabe/exercise.cc
j3l4ck0ut/UdemyCpp
ed3b75cedbf9cad211a205195605cfd3c9280efc
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <iterator> #include <algorithm> #include <random> #include <chrono> #include <functional> #include "exercise.h" // Aufgabe 2 std::vector<bool> shuffle_till_equal(const BinaryArray &target, BinaryArray input) { bool equal = false; int iteration = 1; while (!equal) { ...
23.015152
145
0.673469
[ "vector" ]
123275397ec85f1f3d3a4b33e079d4467ea3b599
2,838
cpp
C++
atcoder/arc080e.cpp
sogapalag/problems
0ea7d65448e1177f8b3f81124a82d187980d659c
[ "MIT" ]
1
2020-04-04T14:56:12.000Z
2020-04-04T14:56:12.000Z
atcoder/arc080e.cpp
sogapalag/problems
0ea7d65448e1177f8b3f81124a82d187980d659c
[ "MIT" ]
null
null
null
atcoder/arc080e.cpp
sogapalag/problems
0ea7d65448e1177f8b3f81124a82d187980d659c
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; template <typename T=int> struct Rmq { vector<T> raw; static const int LOG = 18; // 20; int k; int n; vector<int> st[LOG]; Rmq(vector<T> _v) { // pass in vec[0, n) raw = _v; n = raw.size(); k = 32 - __builtin_clz(n); ...
24.678261
69
0.432347
[ "vector" ]
1236d81c9e6bd37ea614ac89e5ceffb8ef7cac6b
3,093
cpp
C++
fbpcf/io/api/test/LocalFileWriterTest.cpp
SumitKT31/fbpcf
75f1edc939684d1ac29824cbc3e519d689b01377
[ "MIT" ]
null
null
null
fbpcf/io/api/test/LocalFileWriterTest.cpp
SumitKT31/fbpcf
75f1edc939684d1ac29824cbc3e519d689b01377
[ "MIT" ]
null
null
null
fbpcf/io/api/test/LocalFileWriterTest.cpp
SumitKT31/fbpcf
75f1edc939684d1ac29824cbc3e519d689b01377
[ "MIT" ]
null
null
null
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include <gtest/gtest.h> #include <stdio.h> #include <filesystem> #include <random> #include <string> #include "folly/logging/xlo...
31.561224
81
0.688975
[ "vector" ]
72f9cbe2469b5b5e1c03cb1db13fd6c14c9fa3f4
3,252
cpp
C++
sources/Engine/Modules/Audio/AudioSystem.cpp
n-paukov/swengine
ca7441f238e8834efff5d2b61b079627824bf3e4
[ "MIT" ]
22
2017-07-26T17:42:56.000Z
2022-03-21T22:12:52.000Z
sources/Engine/Modules/Audio/AudioSystem.cpp
n-paukov/swengine
ca7441f238e8834efff5d2b61b079627824bf3e4
[ "MIT" ]
50
2017-08-02T19:37:48.000Z
2020-07-24T21:10:38.000Z
sources/Engine/Modules/Audio/AudioSystem.cpp
n-paukov/swengine
ca7441f238e8834efff5d2b61b079627824bf3e4
[ "MIT" ]
4
2018-08-20T08:12:48.000Z
2020-07-19T14:10:05.000Z
#include "precompiled.h" #pragma hdrstop #include "AudioSystem.h" #include <utility> #include <spdlog/spdlog.h> #include "Modules/Graphics/GraphicsSystem/TransformComponent.h" #include "Exceptions/exceptions.h" #include "ALDebug.h" AudioSystem::AudioSystem(std::shared_ptr<GraphicsScene> environmentState) : m_env...
25.809524
108
0.757688
[ "object", "transform" ]
72ff13eea5748ff1f9fe4e8fcea667c29277d771
1,413
cpp
C++
Problem Set Volumes/Volume 1/102 - Ecological Bin Packing.cpp
ztrixack/uva-online-judge
ef87e745390a6a1965fe06621e50c6dc48db7257
[ "MIT" ]
null
null
null
Problem Set Volumes/Volume 1/102 - Ecological Bin Packing.cpp
ztrixack/uva-online-judge
ef87e745390a6a1965fe06621e50c6dc48db7257
[ "MIT" ]
null
null
null
Problem Set Volumes/Volume 1/102 - Ecological Bin Packing.cpp
ztrixack/uva-online-judge
ef87e745390a6a1965fe06621e50c6dc48db7257
[ "MIT" ]
null
null
null
//============================================================================ // Name : 102 - Ecological Bin Packing.cpp // Author : ztrixack // Copyright : MIT License // Description : 102 Ecological Bin Packing in C++, Ansi-style // Run Time : 0.120 seconds //========================================...
21.089552
78
0.46143
[ "vector" ]
72ff8caadf8735a82e68fae9dde526682230eed8
13,049
cc
C++
tensorflow/compiler/plugin/poplar/driver/tools/conv_poplar_util.cc
DebeshJha/tensorflow-1
2b5a225c49d25273532d11c424d37ce394d7579a
[ "Apache-2.0" ]
2
2021-03-08T23:32:06.000Z
2022-01-13T03:43:49.000Z
tensorflow/compiler/plugin/poplar/driver/tools/conv_poplar_util.cc
DebeshJha/tensorflow-1
2b5a225c49d25273532d11c424d37ce394d7579a
[ "Apache-2.0" ]
null
null
null
tensorflow/compiler/plugin/poplar/driver/tools/conv_poplar_util.cc
DebeshJha/tensorflow-1
2b5a225c49d25273532d11c424d37ce394d7579a
[ "Apache-2.0" ]
null
null
null
/* Copyright 2019 The TensorFlow 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 a...
39.783537
81
0.684803
[ "shape", "vector" ]
72ffb925c0836dbe0731b185d3b60f689d09d06e
2,968
hpp
C++
include/caffe/libdnn/libdnn_pool.hpp
naibaf7/caffe
29960153c828820b1abb55a5792283742f57caa2
[ "Intel", "BSD-2-Clause" ]
89
2015-04-20T01:25:01.000Z
2021-12-07T17:03:28.000Z
include/caffe/libdnn/libdnn_pool.hpp
Miaomz/caffe-opencl
505693d54298b89cf83b54778479087cff2f3bd6
[ "Intel", "BSD-2-Clause" ]
62
2015-06-18T13:11:20.000Z
2019-02-19T05:00:10.000Z
include/caffe/libdnn/libdnn_pool.hpp
Miaomz/caffe-opencl
505693d54298b89cf83b54778479087cff2f3bd6
[ "Intel", "BSD-2-Clause" ]
30
2015-07-05T17:08:09.000Z
2022-02-10T13:16:02.000Z
#ifndef CAFFE_LIBDNN_LIBDNN_POOL_HPP_ #define CAFFE_LIBDNN_LIBDNN_POOL_HPP_ #ifdef USE_LIBDNN #include "caffe/common.hpp" #include "caffe/definitions.hpp" #include "caffe/quantizer.hpp" #include "caffe/libdnn/libdnn.hpp" namespace caffe { typedef enum { LIBDNN_POOLING_METHOD_MAX = 0, LIBDNN_POOL...
26.981818
70
0.722709
[ "vector" ]
f4044f2e36d1416547bf860809e776f5ffce9b10
5,208
cpp
C++
sfml/samples/opengl/OpenGL.cpp
fu7mu4/entonetics
d0b2643f039a890b25d5036cc94bfe3b4d840480
[ "MIT" ]
null
null
null
sfml/samples/opengl/OpenGL.cpp
fu7mu4/entonetics
d0b2643f039a890b25d5036cc94bfe3b4d840480
[ "MIT" ]
null
null
null
sfml/samples/opengl/OpenGL.cpp
fu7mu4/entonetics
d0b2643f039a890b25d5036cc94bfe3b4d840480
[ "MIT" ]
null
null
null
//////////////////////////////////////////////////////////// // Headers //////////////////////////////////////////////////////////// #include <SFML/Graphics.hpp> #include <iostream> //////////////////////////////////////////////////////////// /// Entry point of application /// /// \return Application exit...
36.166667
137
0.535906
[ "object" ]
f404a972fdf8ee2eb6ea6c977277cf521fd3a18f
25,253
cpp
C++
src/terrain_translation.cpp
blackberry/Wesnoth
8b307689158db568ecc6cc3b537e8d382ccea449
[ "Unlicense" ]
12
2015-03-04T15:07:00.000Z
2019-09-13T16:31:06.000Z
src/terrain_translation.cpp
blackberry/Wesnoth
8b307689158db568ecc6cc3b537e8d382ccea449
[ "Unlicense" ]
null
null
null
src/terrain_translation.cpp
blackberry/Wesnoth
8b307689158db568ecc6cc3b537e8d382ccea449
[ "Unlicense" ]
5
2017-04-22T08:16:48.000Z
2020-07-12T03:35:16.000Z
/* $Id: terrain_translation.cpp 48153 2011-01-01 15:57:50Z mordante $ */ /* Copyright (C) 2006 - 2011 by Mark de Wever <koraq@xs4all.nl> Part of the Battle for Wesnoth Project http://www.wesnoth.org/ This program is free software; you can redistribute it and/or modify it under the terms of the GNU Ge...
28.761959
109
0.62848
[ "vector" ]
f40a797ac8d2ea1461690fd8544f3d66270f2e02
13,897
cpp
C++
lib/FuzzingCommon/SpecialConstantSeedGenerator.cpp
delcypher/jfs
d38b3685e878bf552da52b9410b53dd2adcfdfd1
[ "MIT" ]
192
2018-01-08T03:28:28.000Z
2019-06-18T02:52:39.000Z
lib/FuzzingCommon/SpecialConstantSeedGenerator.cpp
mc-imperial/jfs
d38b3685e878bf552da52b9410b53dd2adcfdfd1
[ "MIT" ]
24
2019-08-28T18:15:09.000Z
2020-12-07T03:56:45.000Z
lib/FuzzingCommon/SpecialConstantSeedGenerator.cpp
delcypher/jfs
d38b3685e878bf552da52b9410b53dd2adcfdfd1
[ "MIT" ]
14
2018-01-08T06:58:39.000Z
2019-04-08T08:40:52.000Z
//===----------------------------------------------------------------------===// // // JFS // // Copyright 2018 J. Ryan Stinnett // // This file is distributed under the MIT license. // See LICENSE.txt for details. // //===-------------------------------------------------------------...
35.005038
80
0.66482
[ "vector", "model" ]
f40ca189617e8f187a6b1e2430a3cbe4656249d0
1,331
hh
C++
elements/ip/threadipmapper.hh
BorisPis/asplos22-nicmem-fastclick
ab4df08ee056ed48a4c534ec5f8536a958f756b5
[ "BSD-3-Clause-Clear" ]
129
2015-10-08T14:38:35.000Z
2022-03-06T14:54:44.000Z
elements/ip/threadipmapper.hh
BorisPis/asplos22-nicmem-fastclick
ab4df08ee056ed48a4c534ec5f8536a958f756b5
[ "BSD-3-Clause-Clear" ]
241
2016-02-17T16:17:58.000Z
2022-03-15T09:08:33.000Z
elements/ip/threadipmapper.hh
BorisPis/asplos22-nicmem-fastclick
ab4df08ee056ed48a4c534ec5f8536a958f756b5
[ "BSD-3-Clause-Clear" ]
61
2015-12-17T01:46:58.000Z
2022-02-07T22:25:19.000Z
#ifndef CLICK_THREADIPMAPPER_HH #define CLICK_THREADIPMAPPER_HH #include "elements/ip/iprewriterbase.hh" CLICK_DECLS /* * =c * ThreadIPMapper(PATTERN1, ..., PATTERNn) * =s nat * thread-based mapper for IPRewriter(n) * =d * * Works in tandem with IPRewriter to provide per-thread rewriting. This is * useful, for...
27.729167
82
0.73704
[ "vector" ]
f4320d7982b92ffc762340899fd7309272936192
2,259
cpp
C++
examples/quick-start/quickstart_client_0.cpp
tvladax/dbus-cxx
396041a2130985acd72bb801b7137ec06e04b161
[ "BSD-3-Clause" ]
null
null
null
examples/quick-start/quickstart_client_0.cpp
tvladax/dbus-cxx
396041a2130985acd72bb801b7137ec06e04b161
[ "BSD-3-Clause" ]
null
null
null
examples/quick-start/quickstart_client_0.cpp
tvladax/dbus-cxx
396041a2130985acd72bb801b7137ec06e04b161
[ "BSD-3-Clause" ]
null
null
null
/*************************************************************************** * Copyright (C) 2007,2010 by Rick L. Vinyard, Jr. * * rvinyard@cs.nmsu.edu * * * * This fi...
48.06383
99
0.507747
[ "object" ]
f4335bdf1495ec9aebafe0fc15c8948200266fa0
1,273
cpp
C++
docs/C++/Experts/TODO-Thomas-Kim/CppExtension/graph/30-map_of_variants.cpp
dengking/python-in-action
82587961a9f12be09e60d20e11ccbee5bb0aa027
[ "Apache-2.0" ]
null
null
null
docs/C++/Experts/TODO-Thomas-Kim/CppExtension/graph/30-map_of_variants.cpp
dengking/python-in-action
82587961a9f12be09e60d20e11ccbee5bb0aa027
[ "Apache-2.0" ]
null
null
null
docs/C++/Experts/TODO-Thomas-Kim/CppExtension/graph/30-map_of_variants.cpp
dengking/python-in-action
82587961a9f12be09e60d20e11ccbee5bb0aa027
[ "Apache-2.0" ]
null
null
null
#include <tpf_output.hpp> namespace types = tpf::types; tpf::sstream stream; auto endl = tpf::endl; auto endL = tpf::endL; void powerful_application_of_map_of_variants() { using key_t = const char*; using name_t = std::string; using age_t = int; using weight_t = double; using person_t = types::u...
30.309524
103
0.630008
[ "vector" ]
f43476c7ecd3a29f39856ddee7825f3ae0435b76
1,375
cc
C++
opencensus/common/internal/random_benchmark.cc
Vizerai/opencensus-cpp
199ec94b4d6472b9b443185a4967ad5f5f5a4f2a
[ "Apache-2.0" ]
null
null
null
opencensus/common/internal/random_benchmark.cc
Vizerai/opencensus-cpp
199ec94b4d6472b9b443185a4967ad5f5f5a4f2a
[ "Apache-2.0" ]
null
null
null
opencensus/common/internal/random_benchmark.cc
Vizerai/opencensus-cpp
199ec94b4d6472b9b443185a4967ad5f5f5a4f2a
[ "Apache-2.0" ]
1
2019-09-05T21:38:29.000Z
2019-09-05T21:38:29.000Z
// Copyright 2017, OpenCensus 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 agree...
28.061224
75
0.714909
[ "vector" ]
f4360ded3214d0dc6498e69f429c4607cdd1aece
9,858
cpp
C++
Module 3/Chapter08/code/code_imu/jni/main_sensor.cpp
PacktPublishing/OpenGL-Build-High-Performance-Praphics
f5cd7ca011d2d15040c44ccfbfe8c039e2882b16
[ "MIT" ]
61
2017-06-20T04:48:23.000Z
2022-03-31T19:27:38.000Z
Module 3/Chapter08/code/code_imu/jni/main_sensor.cpp
PacktPublishing/OpenGL-Build-High-Performance-Praphics
f5cd7ca011d2d15040c44ccfbfe8c039e2882b16
[ "MIT" ]
null
null
null
Module 3/Chapter08/code/code_imu/jni/main_sensor.cpp
PacktPublishing/OpenGL-Build-High-Performance-Praphics
f5cd7ca011d2d15040c44ccfbfe8c039e2882b16
[ "MIT" ]
22
2017-04-20T10:03:22.000Z
2021-09-15T00:41:05.000Z
/* * Chapter 8 - Interactive Real-time Data Visualization on Mobile Devices * Visualizing real-time data from built-in inertial measurement units (IMUs) * Authors: Raymond Lo and William Lo */ //header for JNI #include <jni.h> #include <android/log.h> //header for the OpenGL ES3 library #include <GLES3/gl3.h> #i...
31.196203
132
0.748529
[ "render" ]
f43d3c6e58cb3edc6c1e9d4954bb44cbbd14c2f5
8,930
cpp
C++
SmartBlock-NFC DEMO/src/main.cpp
smart-scaffolding/smartBlock_embedded
ca56f95280ee650c81fb2afb6d701787e468e91c
[ "MIT" ]
null
null
null
SmartBlock-NFC DEMO/src/main.cpp
smart-scaffolding/smartBlock_embedded
ca56f95280ee650c81fb2afb6d701787e468e91c
[ "MIT" ]
null
null
null
SmartBlock-NFC DEMO/src/main.cpp
smart-scaffolding/smartBlock_embedded
ca56f95280ee650c81fb2afb6d701787e468e91c
[ "MIT" ]
null
null
null
#include "main.h" #include <Wire.h> #include <SPI.h> #include <Adafruit_PN532_EDITED.h> /* PINS (Teensy3.6 and Arduino UNO/ProMini) * SCL 10 * MOSI 11 * MISO 12 * SCK 13 */ #define SCL 10 #define MOSI 11 #define MISO 12 #define SCK 13 //PN532 (SPI) // Adafruit_PN532 nfc(PN532_SS); //PN532 (Softwa...
30.477816
266
0.565174
[ "3d" ]
f449d60149b8e38918f16418fd783c85aaff4fd6
1,279
hpp
C++
src/p9y/getopt.hpp
topilski/libmemcached
7a10166fbc4e718a3392ff744eb5bc499defd952
[ "BSD-3-Clause" ]
18
2021-06-23T15:20:25.000Z
2022-03-25T22:51:09.000Z
src/p9y/getopt.hpp
topilski/libmemcached
7a10166fbc4e718a3392ff744eb5bc499defd952
[ "BSD-3-Clause" ]
108
2020-01-20T09:25:47.000Z
2021-05-18T06:45:30.000Z
src/p9y/getopt.hpp
topilski/libmemcached
7a10166fbc4e718a3392ff744eb5bc499defd952
[ "BSD-3-Clause" ]
4
2021-06-25T07:49:31.000Z
2022-02-07T21:30:45.000Z
#pragma once #include "mem_config.h" #ifdef HAVE_GETOPT_H # include <getopt.h> #else # ifdef __cplusplus extern "C" { # endif extern int opterr; /* if error message should be printed */ extern int optind; /* index into parent argv vector */ extern char *optarg; /* argument associated with option */ struc...
29.744186
73
0.646599
[ "vector" ]
f44bcaf9ea8e34bdcf33c005914e1263a3a2b10f
3,647
cc
C++
dts/src/model/CreateSubscriptionInstanceRequest.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "Apache-2.0" ]
89
2018-02-02T03:54:39.000Z
2021-12-13T01:32:55.000Z
dts/src/model/CreateSubscriptionInstanceRequest.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "Apache-2.0" ]
89
2018-03-14T07:44:54.000Z
2021-11-26T07:43:25.000Z
dts/src/model/CreateSubscriptionInstanceRequest.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "Apache-2.0" ]
69
2018-01-22T09:45:52.000Z
2022-03-28T07:58:38.000Z
/* * Copyright 2009-2017 Alibaba Cloud 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...
26.05
117
0.774335
[ "model" ]
f44f04b4e0c5c244e6af0464a1bfc9e3e42724d8
21,108
tcc
C++
core/raddi_database_shard.tcc
raddinet/raddi
87e4996dda8ccc0591ffecbd8d717a1a2947e8a9
[ "MIT" ]
39
2018-05-20T14:08:46.000Z
2022-02-23T15:46:03.000Z
core/raddi_database_shard.tcc
raddinet/raddi
87e4996dda8ccc0591ffecbd8d717a1a2947e8a9
[ "MIT" ]
null
null
null
core/raddi_database_shard.tcc
raddinet/raddi
87e4996dda8ccc0591ffecbd8d717a1a2947e8a9
[ "MIT" ]
3
2019-02-26T21:00:19.000Z
2022-02-03T22:30:52.000Z
#ifndef RADDI_DATABASE_SHARD_TCC #define RADDI_DATABASE_SHARD_TCC template <typename Key> std::wstring raddi::db::shard <Key>::path (const db::table <Key> * table, const wchar_t * suffix) const { wchar_t filename [32768]; _snwprintf (filename, (sizeof filename / sizeof filename [0]) - 256, L"%s...
36.393103
141
0.525062
[ "object", "vector" ]
f450ba7d98a0ea37dc88b2e657c2de1987d24ab0
1,979
hpp
C++
include/cru/platform/gui/UiApplication.hpp
crupest/cru
3c3a08a02a0f8fc56dc2da3374f025d4fdaf62c5
[ "Apache-2.0" ]
1
2021-09-30T11:43:03.000Z
2021-09-30T11:43:03.000Z
include/cru/platform/gui/UiApplication.hpp
crupest/cru
3c3a08a02a0f8fc56dc2da3374f025d4fdaf62c5
[ "Apache-2.0" ]
11
2021-08-22T12:55:56.000Z
2022-03-13T15:01:29.000Z
include/cru/platform/gui/UiApplication.hpp
crupest/cru
3c3a08a02a0f8fc56dc2da3374f025d4fdaf62c5
[ "Apache-2.0" ]
null
null
null
#pragma once #include "Base.hpp" #include "cru/common/Bitmask.hpp" #include <chrono> #include <functional> #include <memory> #include <vector> namespace cru::platform::gui { // The entry point of a ui application. struct CRU_PLATFORM_GUI_API IUiApplication : public virtual IPlatformResource { public: static IUiAp...
32.442623
79
0.714502
[ "vector" ]
f45458ae973ee3dca0c3685a3437ab6cdaa4e4ef
17,730
cpp
C++
src/SPH_2D.cpp
ZHANGWEILIN1/project2
65fe3b0fe1bfb0d63db789415ae54a56c038d368
[ "MIT" ]
null
null
null
src/SPH_2D.cpp
ZHANGWEILIN1/project2
65fe3b0fe1bfb0d63db789415ae54a56c038d368
[ "MIT" ]
null
null
null
src/SPH_2D.cpp
ZHANGWEILIN1/project2
65fe3b0fe1bfb0d63db789415ae54a56c038d368
[ "MIT" ]
null
null
null
/* According to Microsoft: Math Constants are not defined in Standard C/C++. To use them, you must first define _USE_MATH_DEFINES and then include cmath in some libraries the M_PI is not include so we included the #ifndef */ #define _USE_MATH_DEFINES #include <cmath> #ifndef M_PI #define M_PI 3.141592653589793...
34.901575
181
0.513367
[ "shape", "vector" ]
f459d2fed96082726b8b1e63a759794d66f97ed0
1,094
hpp
C++
rpisocket/src/wifiserver.hpp
Krenol/RPiSocket
acc19a3175afc6072ff2ad20550552fb6f494ba8
[ "MIT" ]
null
null
null
rpisocket/src/wifiserver.hpp
Krenol/RPiSocket
acc19a3175afc6072ff2ad20550552fb6f494ba8
[ "MIT" ]
null
null
null
rpisocket/src/wifiserver.hpp
Krenol/RPiSocket
acc19a3175afc6072ff2ad20550552fb6f494ba8
[ "MIT" ]
null
null
null
#ifndef RPISOCKET_WIFISERVER_H #define RPISOCKET_WIFISERVER_H #define _XOPEN_SOURCE_EXTENDED 1 #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include "server.hpp" namespace rpisocket { class WiFiServer : public Server { private: int sock_, newsock_, port_; struct s...
26.682927
87
0.636197
[ "vector" ]
f45a1057e8ab085099ca29c7c07898fcc44ea59c
17,457
cpp
C++
final_cpp_version.cpp
satyakisikdar/spanner-comm-detection
96498baabd2fc9701e7c9323c9cf323c055b4cef
[ "MIT" ]
1
2018-03-20T02:06:00.000Z
2018-03-20T02:06:00.000Z
final_cpp_version.cpp
satyakisikdar/spanner-comm-detection
96498baabd2fc9701e7c9323c9cf323c055b4cef
[ "MIT" ]
null
null
null
final_cpp_version.cpp
satyakisikdar/spanner-comm-detection
96498baabd2fc9701e7c9323c9cf323c055b4cef
[ "MIT" ]
2
2018-11-15T14:01:45.000Z
2019-07-27T05:12:52.000Z
#include <iostream> #include <cstdio> #include <algorithm> #include <boost/graph/adjacency_list.hpp> #include <boost/graph/dijkstra_shortest_paths.hpp> #include <boost/graph/connected_components.hpp> // #include <boost/unordered_set.hpp> #include <ctime> #include <stack> #include <queue> #include <fstream> /...
25.3
144
0.608295
[ "vector" ]
f46803ce6ef4843992b6f95765d64d48e95976df
4,104
cpp
C++
test/test_disjoint_set.cpp
steiltre/ygm
d32718e080d31d9d2197f0b51bf3ab9139fd7f0e
[ "MIT-0", "MIT" ]
null
null
null
test/test_disjoint_set.cpp
steiltre/ygm
d32718e080d31d9d2197f0b51bf3ab9139fd7f0e
[ "MIT-0", "MIT" ]
null
null
null
test/test_disjoint_set.cpp
steiltre/ygm
d32718e080d31d9d2197f0b51bf3ab9139fd7f0e
[ "MIT-0", "MIT" ]
null
null
null
// Copyright 2019-2021 Lawrence Livermore National Security, LLC and other YGM // Project Developers. See the top-level COPYRIGHT file for details. // // SPDX-License-Identifier: MIT #undef NDEBUG #include <string> #include <ygm/comm.hpp> #include <ygm/container/disjoint_set.hpp> int main(int argc, char** argv) { ...
24.872727
78
0.620858
[ "vector" ]
c2e1c9ada9c4919cd6619f9e8a1d27144c2dc2ea
200
cpp
C++
test/commonASTtests/cpp-test-files/variableDeclTest.cpp
Submitty/AnalysisTools
7cf3c6cba8eedf1f56110f316c2b9ab016546b1b
[ "BSD-3-Clause" ]
6
2017-07-17T13:56:20.000Z
2020-12-07T17:43:33.000Z
test/commonASTtests/cpp-test-files/variableDeclTest.cpp
Submitty/AnalysisTools
7cf3c6cba8eedf1f56110f316c2b9ab016546b1b
[ "BSD-3-Clause" ]
13
2016-06-23T22:03:20.000Z
2018-04-01T04:28:42.000Z
test/commonASTtests/cpp-test-files/variableDeclTest.cpp
Submitty/AnalysisTools
7cf3c6cba8eedf1f56110f316c2b9ab016546b1b
[ "BSD-3-Clause" ]
5
2016-12-03T17:01:17.000Z
2018-07-29T19:55:45.000Z
#include <vector> using namespace std; int main(){ int a = 1; int b = 2; int c = a+b; int d = a+b+c; int e = c; vector<int> v; v.push_back(1); vector<int>::iterator f = v.erase(v.begin()); }
14.285714
46
0.58
[ "vector" ]
c2e757e5c5c263ee91d98903c3b7990122070720
4,920
cpp
C++
admLigas.cpp
LuisEnri2000/P3Lab6_LuisEnriquez
d2517441600e1ec57c210af0d8067ece676e4665
[ "MIT" ]
null
null
null
admLigas.cpp
LuisEnri2000/P3Lab6_LuisEnriquez
d2517441600e1ec57c210af0d8067ece676e4665
[ "MIT" ]
null
null
null
admLigas.cpp
LuisEnri2000/P3Lab6_LuisEnriquez
d2517441600e1ec57c210af0d8067ece676e4665
[ "MIT" ]
null
null
null
// Administrador de ligas #include<iostream> #include<string> #include <fstream> #include <stdlib.h> #include "Liga.cpp" #include "Equipo.cpp" #include<string.h> #include <vector> #include <bits/stdc++.h> #ifndef ADMLIGAS_CPP #define ADMLIGAS_CPP using namespace std; class admLigas{ private: s...
27.640449
140
0.340244
[ "vector" ]
c2eda01b4c1d35d5d8cf65a494085ba7c50cfd89
3,075
hpp
C++
libs/resource_tree/include/sge/resource_tree/detail/add_directory.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
2
2016-01-27T13:18:14.000Z
2018-05-11T01:11:32.000Z
libs/resource_tree/include/sge/resource_tree/detail/add_directory.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
null
null
null
libs/resource_tree/include/sge/resource_tree/detail/add_directory.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
3
2018-05-11T01:11:34.000Z
2021-04-24T19:47:45.000Z
// Copyright Carl Philipp Reh 2006 - 2019. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #ifndef SGE_RESOURCE_TREE_DETAIL_ADD_DIRECTORY_HPP_INCLUDED #define SGE_RESOURCE_TREE_DETAIL_ADD_DI...
40.460526
90
0.709593
[ "object" ]
c2ef19125ebb19783194b90720ca7d04bf1cf874
3,243
hpp
C++
include/codegen/include/UnityEngine/ProBuilder/HandleConstraint2D.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
1
2021-11-12T09:29:31.000Z
2021-11-12T09:29:31.000Z
include/codegen/include/UnityEngine/ProBuilder/HandleConstraint2D.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
null
null
null
include/codegen/include/UnityEngine/ProBuilder/HandleConstraint2D.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
2
2021-10-03T02:14:20.000Z
2021-11-12T09:29:36.000Z
// Autogenerated from CppHeaderCreator on 7/27/2020 3:10:20 PM // Created by Sc2ad // ========================================================================= #pragma once #pragma pack(push, 8) // Begin includes #include "utils/typedefs.h" // Including type: System.Object #include "System/Object.hpp" #include "utils/i...
43.824324
137
0.726488
[ "object" ]
c2fefd4814257f4af66c91ab0ad54fc3073ff0b6
15,071
cpp
C++
src/circuit.cpp
hsnavarro/racing-ld47
32a37a8f6aeee6af7d795b66df4e7accf722b329
[ "MIT" ]
null
null
null
src/circuit.cpp
hsnavarro/racing-ld47
32a37a8f6aeee6af7d795b66df4e7accf722b329
[ "MIT" ]
null
null
null
src/circuit.cpp
hsnavarro/racing-ld47
32a37a8f6aeee6af7d795b66df4e7accf722b329
[ "MIT" ]
null
null
null
#include "circuit.hpp" #include <cstdio> #include <tuple> #include <queue> #include "game.hpp" #include "types.hpp" sf::Texture Circuit::textureAtlas{}; std::vector<Circuit::TileType> Circuit::tileTypes{}; Circuit::Circuit(Game& _game) : game{ _game } { } bool Circuit::loadFromFile(const std::string...
27.154955
109
0.559286
[ "render", "vector" ]
6c03ef6607b1bbbc320df1d0fefec75e6226fdbd
1,978
cpp
C++
POJ/20 - 23/poj2392.cpp
bilibiliShen/CodeBank
49a69b2b2c3603bf105140a9d924946ed3193457
[ "MIT" ]
1
2017-08-19T16:02:15.000Z
2017-08-19T16:02:15.000Z
POJ/20 - 23/poj2392.cpp
bilibiliShen/CodeBank
49a69b2b2c3603bf105140a9d924946ed3193457
[ "MIT" ]
null
null
null
POJ/20 - 23/poj2392.cpp
bilibiliShen/CodeBank
49a69b2b2c3603bf105140a9d924946ed3193457
[ "MIT" ]
1
2018-01-05T23:37:23.000Z
2018-01-05T23:37:23.000Z
/**** *@Polo-shen * */ //#pragma comment(linker,"/STACK:1024000000,1024000000") #include <iostream> #include <string> #include <cstring> #include <cstdio> //#include <algorithm> #include <cmath> //#include <iomanip> //#include <fstream> //#include <cstdlib> #include <vector> //#include <list> //#include <set> //#inc...
18.146789
64
0.552578
[ "vector" ]
6c0b267fe3e13a1c2c2e1e6cb902d43aee1f5b1a
752
cpp
C++
Cplus/NumberofValidWordsforEachPuzzle.cpp
JumHorn/leetcode
1447237ae8fc3920b19f60b30c71a84b088cc200
[ "MIT" ]
1
2018-01-22T12:06:28.000Z
2018-01-22T12:06:28.000Z
Cplus/NumberofValidWordsforEachPuzzle.cpp
JumHorn/leetcode
1447237ae8fc3920b19f60b30c71a84b088cc200
[ "MIT" ]
null
null
null
Cplus/NumberofValidWordsforEachPuzzle.cpp
JumHorn/leetcode
1447237ae8fc3920b19f60b30c71a84b088cc200
[ "MIT" ]
null
null
null
#include <string> #include <unordered_map> #include <vector> using namespace std; class Solution { public: vector<int> findNumOfValidWords(vector<string> &words, vector<string> &puzzles) { int N = puzzles.size(); vector<int> res(N); unordered_map<int, int> m; //{mask,count} for (auto &word : words) { in...
22.117647
98
0.545213
[ "vector" ]
6c1c81bd2707e7f113bcd0cd83f99a7ef02b563f
4,203
cpp
C++
range/1739_1.cpp
NavneelSinghal/cses
05e4fb76817bc5366b15c36a05a2fa260454b352
[ "MIT" ]
null
null
null
range/1739_1.cpp
NavneelSinghal/cses
05e4fb76817bc5366b15c36a05a2fa260454b352
[ "MIT" ]
null
null
null
range/1739_1.cpp
NavneelSinghal/cses
05e4fb76817bc5366b15c36a05a2fa260454b352
[ "MIT" ]
null
null
null
#ifndef LOCAL #pragma GCC optimize("O3,unroll-loops") #pragma GCC target("avx,avx2,sse,sse2,sse3,sse4,popcnt,bmi,bmi2,lzcnt") #endif #include "bits/stdc++.h" #ifdef DEBUG #include "includes/debug/debug.hpp" #else #define debug(...) 0 #endif using namespace std; using ll = int64_t; using ld = lon...
29.1875
78
0.470616
[ "vector" ]
6c217bac770aef4568ed1b9290e6e03cc595a8db
1,225
cpp
C++
BlackVision/LibCore/Source/Memory/LinearAllocator.cpp
black-vision-engine/bv-engine
85089d41bb22afeaa9de070646e12aa1777ecedf
[ "MIT" ]
1
2022-01-28T11:43:47.000Z
2022-01-28T11:43:47.000Z
BlackVision/LibCore/Source/Memory/LinearAllocator.cpp
black-vision-engine/bv-engine
85089d41bb22afeaa9de070646e12aa1777ecedf
[ "MIT" ]
null
null
null
BlackVision/LibCore/Source/Memory/LinearAllocator.cpp
black-vision-engine/bv-engine
85089d41bb22afeaa9de070646e12aa1777ecedf
[ "MIT" ]
null
null
null
#include "stdafxCore.h" #include "LinearAllocator.h" namespace bv { // *********************** // LinearAllocator::LinearAllocator( SizeType initSize ) : m_offset( 0 ) { m_memChunks.push_back( MemoryChunk( nullptr, 0 ) ); if( initSize != 0 ) { m_memChunks[ 0 ].Allocat...
19.444444
81
0.513469
[ "vector" ]
6c279a86ff91a5384cfeeee0c28e9dc39fa5071f
646
cpp
C++
problems/unique_binary_search_trees.cpp
JingxueLiao/Data_Structures_and_Algorithms
7851b0da25ed3c115c51d20f18d3e6a1e2bec4f4
[ "MIT" ]
null
null
null
problems/unique_binary_search_trees.cpp
JingxueLiao/Data_Structures_and_Algorithms
7851b0da25ed3c115c51d20f18d3e6a1e2bec4f4
[ "MIT" ]
null
null
null
problems/unique_binary_search_trees.cpp
JingxueLiao/Data_Structures_and_Algorithms
7851b0da25ed3c115c51d20f18d3e6a1e2bec4f4
[ "MIT" ]
null
null
null
// Given n, how many structurally unique BST's (binary search trees) that store values 1...n? // For example, // Given n = 3, there are a total of 5 unique BST's. // 1 3 3 2 1 // \ / / / \ \ // 3 2 1 1 3 2 // / / \ \ /...
24.846154
93
0.394737
[ "vector" ]
6c27cbb79510eee09344408121559a774088a461
1,052
cpp
C++
geeksforgeeks/bit_manipulation/minimum-xor-value-pair.cpp
jatin69/Revision-cpp
52742ea76ee2440d92b116252399360fef46e0c7
[ "MIT" ]
4
2020-01-16T14:49:46.000Z
2021-08-23T12:45:19.000Z
geeksforgeeks/bit_manipulation/minimum-xor-value-pair.cpp
jatin69/coding-practice
52742ea76ee2440d92b116252399360fef46e0c7
[ "MIT" ]
2
2018-06-06T13:08:11.000Z
2018-10-02T19:07:32.000Z
geeksforgeeks/bit_manipulation/minimum-xor-value-pair.cpp
jatin69/coding-practice
52742ea76ee2440d92b116252399360fef46e0c7
[ "MIT" ]
5
2018-10-02T13:49:16.000Z
2021-08-11T07:29:50.000Z
/* * Author : Jatin Rohilla * Date : 6/6/18 * * Editor : Dev c++ 5.11 * Compiler : g++ 5.1.0 * flags : -std=c++11 * * Question : https://www.geeksforgeeks.org/minimum-xor-value-pair/ * appraoch : sort the array. This is done because, XOR is minimum * when elements have same bits & elements have same bi...
21.916667
79
0.601711
[ "vector" ]
6c288db2a5b9822e4f1a65801b43d65cfaa01328
1,551
cpp
C++
N2049-Count-Nodes-With-the-Highest-Score/solution1.cpp
loyio/leetcode
366393c29a434a621592ef6674a45795a3086184
[ "CC0-1.0" ]
null
null
null
N2049-Count-Nodes-With-the-Highest-Score/solution1.cpp
loyio/leetcode
366393c29a434a621592ef6674a45795a3086184
[ "CC0-1.0" ]
null
null
null
N2049-Count-Nodes-With-the-Highest-Score/solution1.cpp
loyio/leetcode
366393c29a434a621592ef6674a45795a3086184
[ "CC0-1.0" ]
2
2022-01-25T05:31:31.000Z
2022-02-26T07:22:23.000Z
// // main.cpp // LeetCode-Solution // // Created by Loyio Hex on 3/11/22. // #include <iostream> #include <chrono> #include <vector> using namespace std; using namespace std::chrono; class Solution { int len; long maxScore = 0; int cnt = 0; vector<vector<int>> children; public: int countHighe...
21.84507
74
0.50677
[ "vector" ]
6c30392671dfabce373481371a08135e616043e3
388
hpp
C++
fps/nth-term.hpp
NachiaVivias/library
73091ddbb00bc59328509c8f6e662fea2b772994
[ "CC0-1.0" ]
69
2020-11-06T05:21:42.000Z
2022-03-29T03:38:35.000Z
fps/nth-term.hpp
NachiaVivias/library
73091ddbb00bc59328509c8f6e662fea2b772994
[ "CC0-1.0" ]
21
2020-07-25T04:47:12.000Z
2022-02-01T14:39:29.000Z
fps/nth-term.hpp
NachiaVivias/library
73091ddbb00bc59328509c8f6e662fea2b772994
[ "CC0-1.0" ]
9
2020-11-06T11:55:10.000Z
2022-03-20T04:45:31.000Z
#pragma once #include "berlekamp-massey.hpp" #include "kitamasa.hpp" template <typename mint> mint nth_term(long long n, const vector<mint> &s) { using fps = FormalPowerSeries<mint>; auto bm = BerlekampMassey<mint>(s); return kitamasa(n, fps{begin(bm), end(bm)}, fps{begin(s), end(s)}); } /** * @brief 線形回帰数列の高...
22.823529
69
0.693299
[ "vector" ]
6c34f38714b7cd8e24705626081fe6aa90b9b3cd
2,110
hpp
C++
include/graphtyper/typer/sample_call.hpp
DecodeGenetics/graphtyper
f9edcf4cf040197f57e208ff6f910e5a2875f692
[ "MIT" ]
122
2017-06-09T18:05:57.000Z
2022-03-27T20:22:22.000Z
include/graphtyper/typer/sample_call.hpp
DecodeGenetics/graphtyper
f9edcf4cf040197f57e208ff6f910e5a2875f692
[ "MIT" ]
79
2017-06-12T06:35:06.000Z
2022-03-30T16:01:11.000Z
include/graphtyper/typer/sample_call.hpp
DecodeGenetics/graphtyper
f9edcf4cf040197f57e208ff6f910e5a2875f692
[ "MIT" ]
14
2017-06-22T13:02:21.000Z
2022-03-26T01:45:02.000Z
#pragma once #include <cstdint> // uint8_t, uint16_t #include <vector> // std::vector #include <cereal/access.hpp> namespace gyper { struct AlleleCoverage; class SV; class ReferenceDepth; class SampleCall { friend class cereal::access; public: SampleCall() = default; SampleCall(SampleCall const &) = default...
31.969697
109
0.715166
[ "vector" ]
6c3cae76ef2354d7ed0d036542a0937f6a68247b
14,761
hxx
C++
opencascade/Poly_MergeNodesTool.hxx
mgreminger/OCP
92eacb99497cd52b419c8a4a8ab0abab2330ed42
[ "Apache-2.0" ]
null
null
null
opencascade/Poly_MergeNodesTool.hxx
mgreminger/OCP
92eacb99497cd52b419c8a4a8ab0abab2330ed42
[ "Apache-2.0" ]
null
null
null
opencascade/Poly_MergeNodesTool.hxx
mgreminger/OCP
92eacb99497cd52b419c8a4a8ab0abab2330ed42
[ "Apache-2.0" ]
null
null
null
// Copyright (c) 2015-2021 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 as published // by the Free Software Foundation, with spe...
41.116992
117
0.66696
[ "mesh", "3d" ]
6c4081cc46bcd4c3a07b4b25c84db62e15a92070
19,462
cpp
C++
SensoHaptWinFormCLR/HapticHandler.cpp
Stalpaard/SensoHapt
74c90f1f4b1a17bd94109bc6543a864006849c75
[ "MIT" ]
null
null
null
SensoHaptWinFormCLR/HapticHandler.cpp
Stalpaard/SensoHapt
74c90f1f4b1a17bd94109bc6543a864006849c75
[ "MIT" ]
null
null
null
SensoHaptWinFormCLR/HapticHandler.cpp
Stalpaard/SensoHapt
74c90f1f4b1a17bd94109bc6543a864006849c75
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "HapticHandler.h" #include "common_variables.h" #define OVER_TEMPERATURE 0.98 #define GRAVITY_COMPENSATION_FORCE 2.7 #define FORCE_OFFSET_X 0.0 #define FORCE_OFFSET_Y GRAVITY_COMPENSATION_FORCE #define FORCE_OFFSET_Z 0.0 #define GIMBAL_TORQUE_OFFSET_X 0.0 #define GIMBAL_TORQUE_OFFSET_Y 0....
35.579525
198
0.76431
[ "vector" ]
6c4beef68fa1bf0f8fbf994225879a02194cecca
5,642
cpp
C++
src/Sequential/src/main.cpp
RaymondKirk/UOL-FinalYearProject
72708914b8dc92d55b04e485251dc8367d50b983
[ "MIT" ]
3
2019-03-10T14:58:21.000Z
2020-03-07T03:06:38.000Z
src/Sequential/src/main.cpp
RaymondKirk/UOL-FinalYearProject
72708914b8dc92d55b04e485251dc8367d50b983
[ "MIT" ]
1
2017-11-15T13:19:59.000Z
2017-11-15T13:42:29.000Z
src/Sequential/src/main.cpp
RaymondKirk/UOL-FinalYearProject
72708914b8dc92d55b04e485251dc8367d50b983
[ "MIT" ]
3
2017-11-15T00:51:06.000Z
2020-03-07T03:06:40.000Z
#include <iostream> #include <string> #include <ctime> #include <opencv2/opencv.hpp> #include <opencv2/highgui.hpp> //Commented out temporarily to fix VS2017 IDE intelisense error //TODO: Uncomment this line //#include "Dicom.hpp" #include "BlockMatching.hpp" #include "Drawing.hpp" #include "Capture.hpp" #include "...
28.069652
128
0.688408
[ "render", "vector" ]
6c4cb71807c786460cdbd337d2c8f0dc9157f943
2,104
hh
C++
hackt_docker/hackt/src/Object/expr/nonmeta_index_expr_base.hh
broken-wheel/hacktist
36e832ae7dd38b27bca9be7d0889d06054dc2806
[ "MIT" ]
null
null
null
hackt_docker/hackt/src/Object/expr/nonmeta_index_expr_base.hh
broken-wheel/hacktist
36e832ae7dd38b27bca9be7d0889d06054dc2806
[ "MIT" ]
null
null
null
hackt_docker/hackt/src/Object/expr/nonmeta_index_expr_base.hh
broken-wheel/hacktist
36e832ae7dd38b27bca9be7d0889d06054dc2806
[ "MIT" ]
null
null
null
/** \file "Object/expr/nonmeta_index_expr_base.hh" Base classes for data expressions. NOTE: for revision history purposes, this file was copied from the last revision of "Object/art_object_data_expr_base.h" on the HACXX-00-01-04-main-00-48-connect-01 branch, branch revision -11. TODO: future rename this fi...
30.057143
79
0.73289
[ "object" ]
6c4e69e48faeac81d14af7f1d95a8bd2d489fe30
1,128
hpp
C++
src/GLTexture.hpp
asterycs/graphx
7e7533666ab870fb8403fcafcfd21834fb854f3d
[ "MIT" ]
7
2018-07-09T23:42:29.000Z
2021-07-14T11:19:52.000Z
src/GLTexture.hpp
asterycs/graphx
7e7533666ab870fb8403fcafcfd21834fb854f3d
[ "MIT" ]
null
null
null
src/GLTexture.hpp
asterycs/graphx
7e7533666ab870fb8403fcafcfd21834fb854f3d
[ "MIT" ]
1
2021-03-07T09:30:41.000Z
2021-03-07T09:30:41.000Z
#ifndef GLTEXTURE_HPP #define GLTEXTURE_HPP #include <vector> #include <GL/glew.h> #include <GL/gl.h> #ifdef ENABLE_CUDA #include <cuda_gl_interop.h> #endif #define GLM_ENABLE_EXPERIMENTAL #include <glm/glm.hpp> #include "Utils.hpp" class GLTexture { public: GLTexture(); GLTexture(const unsigned char* pixel...
19.118644
64
0.735816
[ "vector" ]
6c550f4b4203c96f1fb4fa1da5df2dade9234d04
693
cpp
C++
src_cpp/day13/day13.cpp
EarthenSky/advent-of-code-2019
38fa354903ba141e494a35f2d9321d9750c4d638
[ "MIT" ]
null
null
null
src_cpp/day13/day13.cpp
EarthenSky/advent-of-code-2019
38fa354903ba141e494a35f2d9321d9750c4d638
[ "MIT" ]
null
null
null
src_cpp/day13/day13.cpp
EarthenSky/advent-of-code-2019
38fa354903ba141e494a35f2d9321d9750c4d638
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> // for file stream (file writing) #include <vector> using namespace std; #include "intcode.hpp" #include "game.hpp" void part1(); void part2(); int main() { cout << "running:\n"; //part1(); part2(); cout << "ending program\n"; return 0; } void part1() {...
16.116279
76
0.600289
[ "vector" ]
6c56774f02d2f7e49751d6af200ee9964ea01c87
8,181
cpp
C++
source/Round.cpp
fanick1/duel6r
3edf04f24ad3854e082854576c2bb96510debb84
[ "BSD-3-Clause" ]
2
2017-05-01T11:35:26.000Z
2021-12-17T21:55:14.000Z
source/Round.cpp
fanick1/duel6r
3edf04f24ad3854e082854576c2bb96510debb84
[ "BSD-3-Clause" ]
null
null
null
source/Round.cpp
fanick1/duel6r
3edf04f24ad3854e082854576c2bb96510debb84
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2006, Ondrej Danek (www.ondrej-danek.net) * 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, ...
41.318182
120
0.601271
[ "vector" ]
6c60aeb9ded988ad87675229435bf52ff6cfaca6
1,672
cpp
C++
SRC/Solver/LineSearch/Secant/Secant.cpp
bxl295/m4extreme
2a4a20ebb5b4e971698f7c981de140d31a5e550c
[ "BSD-3-Clause" ]
null
null
null
SRC/Solver/LineSearch/Secant/Secant.cpp
bxl295/m4extreme
2a4a20ebb5b4e971698f7c981de140d31a5e550c
[ "BSD-3-Clause" ]
null
null
null
SRC/Solver/LineSearch/Secant/Secant.cpp
bxl295/m4extreme
2a4a20ebb5b4e971698f7c981de140d31a5e550c
[ "BSD-3-Clause" ]
null
null
null
// Secant.cpp: implementation of the Secant class. // Copyright (c) 2017-2018 Extreme Computation Technology and Solutions, LLC // All rights reserved // see file License.txt for license details ////////////////////////////////////////////////////////////////////// #include <math.h> #include "./Secant.h" name...
20.144578
77
0.504785
[ "vector", "model" ]
485914a34f47ab482366fa80b2c4d9b3c0a4625a
2,733
cpp
C++
module/delay.cpp
TenniS-Open/SeetaAIP
da1f42d50a063913206a6726c85dd39405317f2d
[ "BSD-2-Clause" ]
null
null
null
module/delay.cpp
TenniS-Open/SeetaAIP
da1f42d50a063913206a6726c85dd39405317f2d
[ "BSD-2-Clause" ]
null
null
null
module/delay.cpp
TenniS-Open/SeetaAIP
da1f42d50a063913206a6726c85dd39405317f2d
[ "BSD-2-Clause" ]
null
null
null
// // Created by kier on 2020/6/28. // #include "seeta_aip_package_v2.h" #include "seeta_aip_shape.h" #include <deque> #include <iostream> class MyPackage : public seeta::aip::PackageV2 { public: using self = MyPackage; std::deque<Result> m_queue; int m_size = 1; MyPackage() { bind_property...
29.706522
95
0.527991
[ "object", "vector" ]
485bda28f081a2e46afc15b207dc16a6542fcfe1
2,283
cpp
C++
src/calender/Date.cpp
smartcalapp/SmartCal-CalDav
31ee37b547dac4d1631df046317553ded336b63a
[ "MIT" ]
1
2018-09-11T03:41:02.000Z
2018-09-11T03:41:02.000Z
src/calender/Date.cpp
smartcalapp/SmartCal-CalDav
31ee37b547dac4d1631df046317553ded336b63a
[ "MIT" ]
15
2018-09-10T20:29:52.000Z
2018-09-20T00:19:52.000Z
src/calender/Date.cpp
smartcalapp/SmartCal-CalDav
31ee37b547dac4d1631df046317553ded336b63a
[ "MIT" ]
null
null
null
// // Created by Garrett Battaglia on 8/31/18. // #include <iostream> #include "Date.h" #define EPOCH_SEC_PER_DAY 86400 /** * checks if year is a leap year * @param year year to check * @return true if year is a leap year */ bool isLeapYear(uint_fast16_t year) { if (year % 4 != 0) { return false; } else if ...
22.165049
106
0.621551
[ "object" ]
485d0ec6901bc8bd25f629663c4beda3cf409dcd
3,343
cpp
C++
data/train/cpp/59545b76ae4a13fbce7449b3c70bf8562d19ee94obstack.cpp
harshp8l/deep-learning-lang-detection
2a54293181c1c2b1a2b840ddee4d4d80177efb33
[ "MIT" ]
84
2017-10-25T15:49:21.000Z
2021-11-28T21:25:54.000Z
data/train/cpp/59545b76ae4a13fbce7449b3c70bf8562d19ee94obstack.cpp
vassalos/deep-learning-lang-detection
cbb00b3e81bed3a64553f9c6aa6138b2511e544e
[ "MIT" ]
5
2018-03-29T11:50:46.000Z
2021-04-26T13:33:18.000Z
data/train/cpp/59545b76ae4a13fbce7449b3c70bf8562d19ee94obstack.cpp
vassalos/deep-learning-lang-detection
cbb00b3e81bed3a64553f9c6aa6138b2511e544e
[ "MIT" ]
24
2017-11-22T08:31:00.000Z
2022-03-27T01:22:31.000Z
#include <cassert> #include "obstack.h" #include "printf.h" #include <cstdio> #include <cstdlib> namespace ll { obstack *obstack::_new(size_t initsize, page_allocator *pa) { if (!pa) { pa = page_allocator::global(); } page *chunk; initsize += ll_align_default(sizeof(obstack)); chunk = p...
23.377622
89
0.593479
[ "object" ]
487de1bf05e8e09303e9a9f5e6a58f0ef512fcca
1,402
cpp
C++
Practice/2018/2018.11.8/BZOJ4418.cpp
SYCstudio/OI
6e9bfc17dbd4b43467af9b19aa2aed41e28972fa
[ "MIT" ]
4
2017-10-31T14:25:18.000Z
2018-06-10T16:10:17.000Z
Practice/2018/2018.11.8/BZOJ4418.cpp
SYCstudio/OI
6e9bfc17dbd4b43467af9b19aa2aed41e28972fa
[ "MIT" ]
null
null
null
Practice/2018/2018.11.8/BZOJ4418.cpp
SYCstudio/OI
6e9bfc17dbd4b43467af9b19aa2aed41e28972fa
[ "MIT" ]
null
null
null
#include<iostream> #include<cstdio> #include<cstdlib> #include<cstring> #include<algorithm> #include<vector> using namespace std; #define ll long long #define mem(Arr,x) memset(Arr,x,sizeof(Arr)) const int maxN=1010000*2; const int inf=2147483647; int n,m,K; vector<int> V[maxN]; int num,Num[maxN]; int BIT[maxN]; vo...
20.617647
65
0.564194
[ "vector" ]
4880e8bdf7b6156df01f45baf4c8447ca51c2d90
12,636
cpp
C++
templates/server_my/cocos2d-x-3.17/tests/cpp-tests/Classes/ExtensionsTest/NetworkTest/WebSocketTest.cpp
xiemingzhang/gulp-my
75412a383c17764f07355d2ce341cdd2c540e12b
[ "MIT" ]
null
null
null
templates/server_my/cocos2d-x-3.17/tests/cpp-tests/Classes/ExtensionsTest/NetworkTest/WebSocketTest.cpp
xiemingzhang/gulp-my
75412a383c17764f07355d2ce341cdd2c540e12b
[ "MIT" ]
null
null
null
templates/server_my/cocos2d-x-3.17/tests/cpp-tests/Classes/ExtensionsTest/NetworkTest/WebSocketTest.cpp
xiemingzhang/gulp-my
75412a383c17764f07355d2ce341cdd2c540e12b
[ "MIT" ]
null
null
null
/**************************************************************************** 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...
31.989873
196
0.648781
[ "vector" ]
48822fdbbcef743aa83f07a0cd2cf79ef2bd7306
60,832
cpp
C++
Official Windows Driver Kit Sample/Windows Driver Kit (WDK) 8.1 Samples/[C++]-windows-driver-kit-81-cpp/WDK 8.1 C++ Samples/SpbAccelerometer Sample Driver (UMDF Version 1)/C++/AccelerometerDevice.cpp
zzgchina888/msdn-code-gallery-microsoft
21cb9b6bc0da3b234c5854ecac449cb3bd261f29
[ "MIT" ]
2
2022-01-21T01:40:58.000Z
2022-01-21T01:41:10.000Z
Official Windows Driver Kit Sample/Windows Driver Kit (WDK) 8.1 Samples/[C++]-windows-driver-kit-81-cpp/WDK 8.1 C++ Samples/SpbAccelerometer Sample Driver (UMDF Version 1)/C++/AccelerometerDevice.cpp
zzgchina888/msdn-code-gallery-microsoft
21cb9b6bc0da3b234c5854ecac449cb3bd261f29
[ "MIT" ]
1
2022-03-15T04:21:41.000Z
2022-03-15T04:21:41.000Z
Official Windows Driver Kit Sample/Windows Driver Kit (WDK) 8.1 Samples/[C++]-windows-driver-kit-81-cpp/WDK 8.1 C++ Samples/SpbAccelerometer Sample Driver (UMDF Version 1)/C++/AccelerometerDevice.cpp
zzgchina888/msdn-code-gallery-microsoft
21cb9b6bc0da3b234c5854ecac449cb3bd261f29
[ "MIT" ]
null
null
null
/*++ // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A // PARTICULAR PURPOSE. Copyright (c) Microsoft Corporation. All rights reserved Module Name: Accelero...
25.841971
96
0.498274
[ "object" ]
4895988888a90d81292ea54cd452e1025664c242
4,543
cpp
C++
pxr/base/lib/gf/wrapLineSeg.cpp
marsupial/USD
98d49911893d59be5a9904a29e15959affd530ec
[ "BSD-3-Clause" ]
9
2021-03-31T21:23:48.000Z
2022-03-05T09:29:27.000Z
pxr/base/lib/gf/wrapLineSeg.cpp
unity3d-jp/USD
0f146383613e1efe872ea7c85aa3536f170fcda2
[ "BSD-3-Clause" ]
null
null
null
pxr/base/lib/gf/wrapLineSeg.cpp
unity3d-jp/USD
0f146383613e1efe872ea7c85aa3536f170fcda2
[ "BSD-3-Clause" ]
2
2016-12-13T00:53:40.000Z
2020-05-04T07:32:53.000Z
// // Copyright 2016 Pixar // // Licensed under the Apache License, Version 2.0 (the "Apache License") // with the following modification; you may not use this file except in // compliance with the Apache License and the following modification to it: // Section 6. Trademarks. is deleted and replaced with: // // 6. Trad...
34.416667
82
0.628659
[ "object" ]
48ab3da1b3fdd6bea09ef9eaab252351c92268ff
27,216
cpp
C++
perception_oru-port-kinetic/ndt_offline/src/graph_fuser3d_offline.cpp
lllray/ndt-loam
331867941e0764b40e1a980dd85d2174f861e9c8
[ "BSD-3-Clause" ]
1
2020-11-14T08:21:13.000Z
2020-11-14T08:21:13.000Z
perception_oru-port-kinetic/ndt_offline/src/graph_fuser3d_offline.cpp
lllray/ndt-loam
331867941e0764b40e1a980dd85d2174f861e9c8
[ "BSD-3-Clause" ]
1
2021-07-28T04:47:56.000Z
2021-07-28T04:47:56.000Z
perception_oru-port-kinetic/ndt_offline/src/graph_fuser3d_offline.cpp
lllray/ndt-loam
331867941e0764b40e1a980dd85d2174f861e9c8
[ "BSD-3-Clause" ]
2
2020-12-18T11:25:53.000Z
2022-02-19T12:59:59.000Z
#include <ndt_fuser/ndt_fuser_hmt.h> #include <ndt_offline/VelodyneBagReader.h> #include <ndt_generic/eigen_utils.h> #include <ndt_generic/pcl_utils.h> // PCL specific includes #include <pcl/conversions.h> #include <pcl/point_cloud.h> #include <pcl/io/pcd_io.h> #include <pcl/point_types.h> #include <ndt_map/ndt_map.h> ...
42.859843
349
0.68254
[ "geometry", "vector", "transform" ]
48ad92da512996d06a7b4ec54e4b46b4a9958062
4,036
cpp
C++
application/Configuration.cpp
Wolkabout/WolkGateway
91474caea39417a92eec6bcf09f036fad20597c5
[ "Apache-2.0" ]
7
2018-07-05T09:36:33.000Z
2021-12-28T06:06:34.000Z
application/Configuration.cpp
Wolkabout/WolkGateway
91474caea39417a92eec6bcf09f036fad20597c5
[ "Apache-2.0" ]
9
2019-02-27T10:21:31.000Z
2022-03-03T12:01:19.000Z
application/Configuration.cpp
Wolkabout/WolkGateway
91474caea39417a92eec6bcf09f036fad20597c5
[ "Apache-2.0" ]
1
2020-03-23T02:55:12.000Z
2020-03-23T02:55:12.000Z
/* * Copyright 2020 WolkAbout Technology s.r.o. * * 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 ...
31.286822
115
0.737116
[ "transform" ]
48b80f8fdf5833d3eb882506b5cd3d3226c6429e
9,374
cpp
C++
apps/common/sg/Renderer.cpp
PaulDoessel/ospray
b3895aa7441b54166df005f20578fb5106226bb9
[ "Apache-2.0" ]
null
null
null
apps/common/sg/Renderer.cpp
PaulDoessel/ospray
b3895aa7441b54166df005f20578fb5106226bb9
[ "Apache-2.0" ]
null
null
null
apps/common/sg/Renderer.cpp
PaulDoessel/ospray
b3895aa7441b54166df005f20578fb5106226bb9
[ "Apache-2.0" ]
null
null
null
// ======================================================================== // // Copyright 2009-2017 Intel Corporation // // // // Licensed under the Apache License, Version 2.0 (the "License"); // // y...
40.580087
83
0.508108
[ "render", "vector", "model" ]
48c750ef150a539159c1303018ef0e888553c8a0
13,439
cpp
C++
LoganEngine/old/lResourceManager/lrmWavefrontLoader.cpp
sereslorant/logan_engine
a596b4128d0a58236be00f93064e276e43484017
[ "MIT" ]
1
2019-12-26T13:22:29.000Z
2019-12-26T13:22:29.000Z
LoganEngine/old/lResourceManager/lrmWavefrontLoader.cpp
sereslorant/logan_engine
a596b4128d0a58236be00f93064e276e43484017
[ "MIT" ]
null
null
null
LoganEngine/old/lResourceManager/lrmWavefrontLoader.cpp
sereslorant/logan_engine
a596b4128d0a58236be00f93064e276e43484017
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> #include <cstdio> #include <cmath> #include "lrmWavefrontLoader.h" #include "../lMath/lMath.h" using namespace std; void lrmWavefrontLoader::CalculateTBVectors(lrmStaticMesh &Target) { for(unsigned int i=0;i < Target.Normals.size();i++) { lmVector3D Tangent = l...
30.404977
168
0.45993
[ "vector" ]
48cd9b073b7ce1093cb0aec7c4cb510cbf903bfe
5,828
cpp
C++
src/test/endtoendtest.cpp
quicLAN/quicLAN
2e0614aedf56375efe043d10e3b95a8c32cfc928
[ "MIT" ]
3
2020-10-29T18:10:35.000Z
2022-03-20T14:04:18.000Z
src/test/endtoendtest.cpp
quicLAN/quicLAN
2e0614aedf56375efe043d10e3b95a8c32cfc928
[ "MIT" ]
20
2020-10-28T10:22:08.000Z
2021-12-24T02:59:30.000Z
src/test/endtoendtest.cpp
quicLAN/quicLAN
2e0614aedf56375efe043d10e3b95a8c32cfc928
[ "MIT" ]
null
null
null
/* Licensed under the MIT License. */ #include "tests.h" struct FamilyArgs { int Family; static ::std::vector<FamilyArgs> Generate() { ::std::vector<FamilyArgs> list; for (int Family : { 4, 6 }) list.push_back({ Family }); return list; } }; std::ostream& operator <<...
25.561404
114
0.632979
[ "vector" ]
48d140946cc14a9f3cc78d7349199687c794acdd
4,117
hpp
C++
include/poac/util/shell.hpp
ken-matsui/poac
e4503027f3993be493824f48dc31818029784238
[ "Apache-2.0" ]
496
2018-07-03T06:57:13.000Z
2022-03-28T23:20:01.000Z
include/poac/util/shell.hpp
ken-matsui/poac
e4503027f3993be493824f48dc31818029784238
[ "Apache-2.0" ]
331
2018-03-29T05:15:51.000Z
2022-03-12T16:57:06.000Z
include/poac/util/shell.hpp
ken-matsui/poac
e4503027f3993be493824f48dc31818029784238
[ "Apache-2.0" ]
58
2018-11-11T03:12:00.000Z
2022-03-25T06:32:58.000Z
#ifndef POAC_UTIL_SHELL_HPP #define POAC_UTIL_SHELL_HPP #include <iostream> #include <string> #include <array> #include <vector> #include <optional> #include <cstdio> #include <cstdlib> namespace poac::util::shell { class cmd { public: std::string string() const { return cmd_; } ...
26.908497
103
0.455429
[ "vector" ]
48d9259deed3acf0ac5813f2f4d9dd0d4158d37c
10,571
cpp
C++
test/qt/remote_device/messages/test_IfdTransmitResponse.cpp
misery/AusweisApp2
dab96eb2bdd8a132023964d4aeecc7069d12a244
[ "Apache-2.0" ]
null
null
null
test/qt/remote_device/messages/test_IfdTransmitResponse.cpp
misery/AusweisApp2
dab96eb2bdd8a132023964d4aeecc7069d12a244
[ "Apache-2.0" ]
null
null
null
test/qt/remote_device/messages/test_IfdTransmitResponse.cpp
misery/AusweisApp2
dab96eb2bdd8a132023964d4aeecc7069d12a244
[ "Apache-2.0" ]
null
null
null
/*! * \copyright Copyright (c) 2018 Governikus GmbH & Co. KG, Germany */ #include "messages/IfdTransmitResponse.h" #include "LogHandler.h" #include <QtTest> using namespace governikus; class test_IfdTransmitResponse : public QObject { Q_OBJECT private Q_SLOTS: void initTestCase() { Env::getSingleton...
37.619217
135
0.658216
[ "object" ]
48dca43999e63a0e51513ef3bc37e72f436823fe
5,732
cpp
C++
robotVision/Source/Box.cpp
personalizedrefrigerator/2018LWHSVisionObjectDetection
4f8c58fca73406349081f886f05c8a56cd6453bd
[ "BSD-3-Clause" ]
null
null
null
robotVision/Source/Box.cpp
personalizedrefrigerator/2018LWHSVisionObjectDetection
4f8c58fca73406349081f886f05c8a56cd6453bd
[ "BSD-3-Clause" ]
null
null
null
robotVision/Source/Box.cpp
personalizedrefrigerator/2018LWHSVisionObjectDetection
4f8c58fca73406349081f886f05c8a56cd6453bd
[ "BSD-3-Clause" ]
null
null
null
#include "Box.h" // Include headers from this project. #include "ObjectSortingContainer.h" #include "ListHelper.h" #include "MathHelper.h" // Include standard libraries. #include <sstream> #include <math.h> // See Box.h for the constructors. // Get one of the box's vertical sides. std::vector<Point2D> Box::getVerti...
26.785047
132
0.71441
[ "render", "shape", "vector" ]
48e411daeee2244ee6c4aa7decadbe1179096a45
32,610
cpp
C++
src/backends/neon/test/NeonLayerTests.cpp
sunshinemyson/armnn
a723ec5d2ac35948efb5dfd0c121a1a89cb977b7
[ "MIT" ]
1
2019-06-26T23:00:46.000Z
2019-06-26T23:00:46.000Z
src/backends/neon/test/NeonLayerTests.cpp
hessed99/armnn
a723ec5d2ac35948efb5dfd0c121a1a89cb977b7
[ "MIT" ]
null
null
null
src/backends/neon/test/NeonLayerTests.cpp
hessed99/armnn
a723ec5d2ac35948efb5dfd0c121a1a89cb977b7
[ "MIT" ]
null
null
null
// // Copyright © 2017 Arm Ltd. All rights reserved. // SPDX-License-Identifier: MIT // #include "NeonWorkloadFactoryHelper.hpp" #include <test/TensorHelpers.hpp> #include <test/UnitTests.hpp> #include <backendsCommon/CpuTensorHandle.hpp> #include <neon/NeonLayerSupport.hpp> #include <neon/NeonWorkloadFactory.hpp> ...
56.614583
119
0.810702
[ "shape" ]
48ea3b9413597c62395315132a28294e2ecefba4
26,902
cpp
C++
Pi2D.cpp
RIKEN-RCCS/In-situ2DLib
8b4db0cd255c2a0c45d6933ca2c197ddd8915efb
[ "BSD-2-Clause" ]
1
2020-03-24T06:14:11.000Z
2020-03-24T06:14:11.000Z
Pi2D.cpp
RIKEN-RCCS/In-situ2DLib
8b4db0cd255c2a0c45d6933ca2c197ddd8915efb
[ "BSD-2-Clause" ]
null
null
null
Pi2D.cpp
RIKEN-RCCS/In-situ2DLib
8b4db0cd255c2a0c45d6933ca2c197ddd8915efb
[ "BSD-2-Clause" ]
2
2018-05-29T01:06:22.000Z
2018-05-30T00:29:16.000Z
#include "Pi2D.h" #include "numpy/arrayobject.h" #include <complex> #include <cstdlib> #include <vector> #include <sstream> #include <istream> #if PY_MAJOR_VERSION >= 3 int init_numpy() {import_array();} #else void init_numpy() {import_array();} #endif #ifdef _REAL_DBL int NPY_REAL = NPY_DOUBLE; #else int NPY_REAL = ...
25.792905
76
0.576686
[ "object", "vector" ]
f70a9c5c1d1902ed70290484b0bf0ed6de758071
3,205
cpp
C++
PropertiesModule/propertiesview.cpp
HowCanidothis-zz/DevLib
d3d7f4ef7b2b3f1c9559ca6bd56743e5aeff06ee
[ "MIT" ]
null
null
null
PropertiesModule/propertiesview.cpp
HowCanidothis-zz/DevLib
d3d7f4ef7b2b3f1c9559ca6bd56743e5aeff06ee
[ "MIT" ]
null
null
null
PropertiesModule/propertiesview.cpp
HowCanidothis-zz/DevLib
d3d7f4ef7b2b3f1c9559ca6bd56743e5aeff06ee
[ "MIT" ]
1
2020-07-27T02:23:38.000Z
2020-07-27T02:23:38.000Z
#include "propertiesview.h" #ifdef QT_GUI_LIB #include <QSortFilterProxyModel> #include <QHeaderView> #include <QProcess> #include <QAction> #include <QMouseEvent> #include <SharedModule/External/utils.h> #include "PropertiesModule/propertiessystem.h" #include "propertiesmodel.h" #include "SharedGuiModule/decl.h" #...
26.932773
133
0.725741
[ "model" ]
f715a3091e4d379a6086e68b5127c0b0aba55455
849
hpp
C++
PluginLoader/include/Plugin/PluginLoader.hpp
XenoBino/PluginLoader
284c4266bbec815c27a49b4ea32d665379509291
[ "Apache-2.0" ]
2
2021-04-20T17:20:18.000Z
2021-05-07T08:59:21.000Z
PluginLoader/include/Plugin/PluginLoader.hpp
XenoBino/PluginLoader
284c4266bbec815c27a49b4ea32d665379509291
[ "Apache-2.0" ]
null
null
null
PluginLoader/include/Plugin/PluginLoader.hpp
XenoBino/PluginLoader
284c4266bbec815c27a49b4ea32d665379509291
[ "Apache-2.0" ]
null
null
null
#pragma once #include <string> #include <vector> #include <memory> #include "Plugin.hpp" #include "PluginLoader_API.h" class PluginLoader_API PluginLoader { public: PluginLoader(void *API_Handle); void Load(const std::string& ListFile); bool isEmpty() const; public: // Iterators and access methods std::shared...
22.342105
69
0.739694
[ "vector" ]