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
f6051aa5ea824d6e84e52a74093c14fb4fe0ec35
5,987
cpp
C++
src/renderer/Shader.cpp
AndrijaAda99/Bubo
662bb8e602f18a81ea6d8f367cb697c60b3e6670
[ "Apache-2.0" ]
null
null
null
src/renderer/Shader.cpp
AndrijaAda99/Bubo
662bb8e602f18a81ea6d8f367cb697c60b3e6670
[ "Apache-2.0" ]
null
null
null
src/renderer/Shader.cpp
AndrijaAda99/Bubo
662bb8e602f18a81ea6d8f367cb697c60b3e6670
[ "Apache-2.0" ]
null
null
null
#include <fstream> #include "renderer/Shader.h" #include "glad/glad.h" #include <glm/gtc/type_ptr.hpp> namespace bubo { Shader::Shader(const std::string& vertexShaderPath, const std::string& fragmentShaderPath) { init(parseShader(vertexShaderPath), parseShader(fragmentShaderPath)); } Shader::~S...
34.017045
169
0.645231
[ "vector" ]
f60dd26c29eeade56307d5c54efa246e40a52f22
2,970
hpp
C++
include/codegen/include/GlobalNamespace/SafeAreaRectChecker.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
1
2021-11-12T09:29:31.000Z
2021-11-12T09:29:31.000Z
include/codegen/include/GlobalNamespace/SafeAreaRectChecker.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
null
null
null
include/codegen/include/GlobalNamespace/SafeAreaRectChecker.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
2
2021-10-03T02:14:20.000Z
2021-11-12T09:29:36.000Z
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once #pragma pack(push, 8) // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: UnityEngine.MonoBehaviour #include "UnityEngine/MonoBeh...
35.783133
89
0.715152
[ "object", "transform" ]
f6145a3ed62d4aa36d4399f8af450577940830ea
383
cpp
C++
jp.atcoder/abc141/abc141_c/12001296.cpp
kagemeka/atcoder-submissions
91d8ad37411ea2ec582b10ba41b1e3cae01d4d6e
[ "MIT" ]
1
2022-02-09T03:06:25.000Z
2022-02-09T03:06:25.000Z
jp.atcoder/abc141/abc141_c/12001296.cpp
kagemeka/atcoder-submissions
91d8ad37411ea2ec582b10ba41b1e3cae01d4d6e
[ "MIT" ]
1
2022-02-05T22:53:18.000Z
2022-02-09T01:29:30.000Z
jp.atcoder/abc141/abc141_c/12001296.cpp
kagemeka/atcoder-submissions
91d8ad37411ea2ec582b10ba41b1e3cae01d4d6e
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(0); int n, k, q; cin >> n >> k >> q; vector<int> res(n, k - q); for (int i = 0; i < q; i++) { int a; cin >> a; a--; res[a]++; } for (int i = 0; i < n; i++) { string ans = (res[i] > 0) ...
20.157895
46
0.43342
[ "vector" ]
f61e8bdcaf7275ae1bb621cf9d1aa556905d477f
209
cpp
C++
3DGame01/Vector.cpp
Craigspaz/RTS
f44fe0ead901ae64434e85080723d6465841676e
[ "MIT" ]
1
2018-07-05T09:22:13.000Z
2018-07-05T09:22:13.000Z
3DGame01/Vector.cpp
Craigspaz/RTS
f44fe0ead901ae64434e85080723d6465841676e
[ "MIT" ]
null
null
null
3DGame01/Vector.cpp
Craigspaz/RTS
f44fe0ead901ae64434e85080723d6465841676e
[ "MIT" ]
null
null
null
#include "Vector.h" Vector2f newVector2f(float x, float y) { Vector2f n; n.x = x; n.y = y; return n; } Vector2f add(Vector2f a, Vector2f b) { Vector2f n; n.x = a.x + b.x; n.y = a.y + b.y; return n; }
12.294118
38
0.593301
[ "vector" ]
f61ee6b266781efeb9b4d1eadf657038a3bb60c2
2,052
cpp
C++
core/blockchain/impl/types.cpp
igor-egorov/kagome
b2a77061791aa7c1eea174246ddc02ef5be1b605
[ "Apache-2.0" ]
null
null
null
core/blockchain/impl/types.cpp
igor-egorov/kagome
b2a77061791aa7c1eea174246ddc02ef5be1b605
[ "Apache-2.0" ]
null
null
null
core/blockchain/impl/types.cpp
igor-egorov/kagome
b2a77061791aa7c1eea174246ddc02ef5be1b605
[ "Apache-2.0" ]
null
null
null
/** * Copyright Soramitsu Co., Ltd. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ #include "blockchain/impl/common.hpp" #include "blockchain/impl/storage_util.hpp" #include "common/visitor.hpp" #include "storage/in_memory/in_memory_storage.hpp" #include "storage/trie/polkadot_trie/polkadot_trie_impl...
34.2
80
0.636452
[ "vector" ]
f61f36ad28e33d64d0bcdecd06481961e318ced4
1,505
cpp
C++
LG/P4427.cpp
ImChinaNB/code
9c6940093cb480bd381c17557db87078e0efd740
[ "MIT" ]
null
null
null
LG/P4427.cpp
ImChinaNB/code
9c6940093cb480bd381c17557db87078e0efd740
[ "MIT" ]
null
null
null
LG/P4427.cpp
ImChinaNB/code
9c6940093cb480bd381c17557db87078e0efd740
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; typedef long long LL; const int N = 300005; const LL P = 998244353; int n; vector<int> G[N]; inline LL pw(LL x, LL k) { if (k == 0) return 1; if (k == 1) return x % P; if (k & 1) return pw(x, k ^ 1) * x % P; LL _ = pw(x, k >> 1); return _ * _ % P; } int dep[N], fa[2...
23.153846
60
0.451827
[ "vector" ]
f6210c48ca4dd5e6324876add97071437b1adf70
34,505
cpp
C++
rdkat.cpp
rdkcmf/rdk-rdkat
b7d1488ac9652a5709c8656b199ba0bf035a8ba8
[ "Apache-2.0" ]
null
null
null
rdkat.cpp
rdkcmf/rdk-rdkat
b7d1488ac9652a5709c8656b199ba0bf035a8ba8
[ "Apache-2.0" ]
null
null
null
rdkat.cpp
rdkcmf/rdk-rdkat
b7d1488ac9652a5709c8656b199ba0bf035a8ba8
[ "Apache-2.0" ]
null
null
null
/* * If not stated otherwise in this file or this component's Licenses.txt file the * following copyright and licenses apply: * * Copyright 2017 RDK Management * * 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 ...
34.197225
114
0.672077
[ "object", "model" ]
f6278c3870dafd99ef7de74323fc2585659b5e16
3,328
cpp
C++
src/plugins/lmp/stdartistactionsmanager.cpp
devel29a/leechcraft
faf5e856010fb785e4bbf3ce7b5c6a5c49f3239a
[ "BSL-1.0" ]
null
null
null
src/plugins/lmp/stdartistactionsmanager.cpp
devel29a/leechcraft
faf5e856010fb785e4bbf3ce7b5c6a5c49f3239a
[ "BSL-1.0" ]
null
null
null
src/plugins/lmp/stdartistactionsmanager.cpp
devel29a/leechcraft
faf5e856010fb785e4bbf3ce7b5c6a5c49f3239a
[ "BSL-1.0" ]
null
null
null
/********************************************************************** * LeechCraft - modular cross-platform feature rich internet client. * Copyright (C) 2006-2014 Georg Rudoy * * Boost Software License - Version 1.0 - August 17th, 2003 * * Permission is hereby granted, free of charge, to any person or organiz...
39.152941
109
0.69351
[ "object" ]
f62dad363276905c9b3bce5d6f10f2f45c91529b
17,737
cpp
C++
Blindmode/CPP/Targets/MapLib/Shared/src/MapProjection.cpp
wayfinder/Wayfinder-S60-Navigator
14d1b729b2cea52f726874687e78f17492949585
[ "BSD-3-Clause" ]
6
2015-12-01T01:12:33.000Z
2021-07-24T09:02:34.000Z
Blindmode/CPP/Targets/MapLib/Shared/src/MapProjection.cpp
wayfinder/Wayfinder-S60-Navigator
14d1b729b2cea52f726874687e78f17492949585
[ "BSD-3-Clause" ]
null
null
null
Blindmode/CPP/Targets/MapLib/Shared/src/MapProjection.cpp
wayfinder/Wayfinder-S60-Navigator
14d1b729b2cea52f726874687e78f17492949585
[ "BSD-3-Clause" ]
2
2017-02-02T19:31:29.000Z
2018-12-17T21:00:45.000Z
/* Copyright (c) 1999 - 2010, Vodafone Group Services Ltd 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 co...
31.673214
757
0.60292
[ "vector" ]
f634181046b9b6c80dfbbc88464912dc5922d99e
2,328
cpp
C++
5. Very Hard/SupperEggDrop.cpp
vachan-maker/Edabit-Solutions
b8598f15b981b58d42bf5220042b7e0e576bb668
[ "MIT" ]
36
2020-09-25T15:03:23.000Z
2020-10-08T14:25:53.000Z
5. Very Hard/SupperEggDrop.cpp
vachan-maker/Edabit-Solutions
b8598f15b981b58d42bf5220042b7e0e576bb668
[ "MIT" ]
212
2020-09-25T13:15:59.000Z
2020-10-12T20:35:05.000Z
5. Very Hard/SupperEggDrop.cpp
vachan-maker/Edabit-Solutions
b8598f15b981b58d42bf5220042b7e0e576bb668
[ "MIT" ]
240
2020-09-25T13:20:02.000Z
2020-10-12T04:20:47.000Z
#include<bits/stdc++.h> /* Problem task : You are given K eggs, and you have access to a building with N floors from 1 to N. Each egg is identical in function, and if an egg breaks, you cannot drop it again. You know that there exists a floor F with 0 <= F <= N such that any egg dropped at a floor higher than F will ...
41.571429
184
0.560567
[ "vector" ]
f64437e241aa1e23c54b50e56721bb5d9882abeb
3,537
hh
C++
gunns-ts-models/common/sensors/TsLimitSwitch.hh
nasa/gunns
248323939a476abe5178538cd7a3512b5f42675c
[ "NASA-1.3" ]
18
2020-01-23T12:14:09.000Z
2022-02-27T22:11:35.000Z
gunns-ts-models/common/sensors/TsLimitSwitch.hh
nasa/gunns
248323939a476abe5178538cd7a3512b5f42675c
[ "NASA-1.3" ]
39
2020-11-20T12:19:35.000Z
2022-02-22T18:45:55.000Z
gunns-ts-models/common/sensors/TsLimitSwitch.hh
nasa/gunns
248323939a476abe5178538cd7a3512b5f42675c
[ "NASA-1.3" ]
7
2020-02-10T19:25:43.000Z
2022-03-16T01:10:00.000Z
#ifndef TsLimitSwitch_EXISTS #define TsLimitSwitch_EXISTS /** @defgroup TSM_SENSORS_LimitSwitch Limit Switch @ingroup TSM_SENSORS @copyright Copyright 2019 United States Government as represented by the Administrator of the National Aeronautics and Space Administration. All Rights Reserved. @details P...
28.991803
98
0.67119
[ "model" ]
f645277498dd91f0f9d32a812cc02f5c4f3be6da
7,284
hpp
C++
include/GlobalNamespace/DynamicBone_Particle.hpp
Fernthedev/BeatSaber-Quest-Codegen
716e4ff3f8608f7ed5b83e2af3be805f69e26d9e
[ "Unlicense" ]
null
null
null
include/GlobalNamespace/DynamicBone_Particle.hpp
Fernthedev/BeatSaber-Quest-Codegen
716e4ff3f8608f7ed5b83e2af3be805f69e26d9e
[ "Unlicense" ]
null
null
null
include/GlobalNamespace/DynamicBone_Particle.hpp
Fernthedev/BeatSaber-Quest-Codegen
716e4ff3f8608f7ed5b83e2af3be805f69e26d9e
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" #include "extern/beatsaber-hook/shared/utils/byref.hpp" // Including type: DynamicBone #...
45.525
835
0.705107
[ "object", "transform" ]
f648d6791350494d05e9979ca793ecf0b9e014ea
69,878
cpp
C++
OCREngine/FindString/FindString.cpp
gustavkkk/EngineTester
c5632e4011b669efff5fcaac7b3a3cc8c2988b85
[ "MIT" ]
null
null
null
OCREngine/FindString/FindString.cpp
gustavkkk/EngineTester
c5632e4011b669efff5fcaac7b3a3cc8c2988b85
[ "MIT" ]
null
null
null
OCREngine/FindString/FindString.cpp
gustavkkk/EngineTester
c5632e4011b669efff5fcaac7b3a3cc8c2988b85
[ "MIT" ]
1
2020-09-25T07:40:46.000Z
2020-09-25T07:40:46.000Z
#include "stdafx.h" #include "FindString.h" #include "FilterContours.h" #include "Array.h" #include "Binarization.h" #include "RemoveNoise.h" #include "InclCorr.h" #include "ExtractBlack.h" #include "PosterEdge.h" #include "opencv2/highgui/highgui.hpp" //#define OCR_DEBUG //#define OCR_ONCE //#define OCR_TEST #defin...
29.697408
166
0.642162
[ "object", "vector" ]
f648e5e8df544e478363be8aa40b482d743a041b
9,349
hxx
C++
admin/netui/common/h/blttd.hxx
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
admin/netui/common/h/blttd.hxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
admin/netui/common/h/blttd.hxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
/**********************************************************************/ /** Microsoft Windows/NT **/ /** Copyright(c) Microsoft Corp., 1991 **/ /**********************************************************************/ /* blttd.hxx ...
34.884328
80
0.536207
[ "object" ]
f64b4164b9e6d75eabccdf6a423889c52c86b04d
45,147
cpp
C++
src/ascent/runtimes/flow_filters/ascent_runtime_dray_filters.cpp
ax3l/ascent
2c70bac3b9ee21e9472c4725841bd096e9da653d
[ "BSD-3-Clause" ]
null
null
null
src/ascent/runtimes/flow_filters/ascent_runtime_dray_filters.cpp
ax3l/ascent
2c70bac3b9ee21e9472c4725841bd096e9da653d
[ "BSD-3-Clause" ]
null
null
null
src/ascent/runtimes/flow_filters/ascent_runtime_dray_filters.cpp
ax3l/ascent
2c70bac3b9ee21e9472c4725841bd096e9da653d
[ "BSD-3-Clause" ]
null
null
null
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~// // Copyright (c) 2015-2019, Lawrence Livermore National Security, LLC. // // Produced at the Lawrence Livermore National Laboratory // // LLNL-CODE-716457 // // All rights reserved. // // This file is part of Ascent. // // For details, see:...
28.664762
95
0.574523
[ "render", "vector" ]
f64b56524bb3267be30e3d252cf3196da53bddf7
726
cpp
C++
src/RHI/Backend/OpenGL/IndexBuffer.cpp
ArnoChenFx/SkelAnimation
d814ac12aeca0bb9364c48064ce2ba06a9718141
[ "MIT" ]
3
2021-07-25T01:53:18.000Z
2022-01-13T02:21:02.000Z
src/RHI/Backend/OpenGL/IndexBuffer.cpp
ArnoChenFx/SkelAnimation
d814ac12aeca0bb9364c48064ce2ba06a9718141
[ "MIT" ]
null
null
null
src/RHI/Backend/OpenGL/IndexBuffer.cpp
ArnoChenFx/SkelAnimation
d814ac12aeca0bb9364c48064ce2ba06a9718141
[ "MIT" ]
2
2021-07-21T14:35:32.000Z
2021-11-09T02:10:10.000Z
#include "RHI/IndexBuffer.h" #include <glad/gl.h> IndexBuffer::IndexBuffer() { glGenBuffers(1, &mHandle); mCount = 0; } IndexBuffer::~IndexBuffer() { glDeleteBuffers(1, &mHandle); } void IndexBuffer::Set(unsigned int* inputArray, unsigned int arrayLengt) { mCount = arrayLengt; unsigned int size = sizeof(unsigne...
22.6875
82
0.743802
[ "vector" ]
f6511ca1b19fd7dcdb4fed0acbe1c6a0148c7e04
20,529
cpp
C++
LUMA/tools/post_processors/h5mgm/src/h5mgm.cpp
paulakash24/LUMA
f31b9197c17befe5880b6f1d636d21aa39d66018
[ "Apache-2.0" ]
29
2017-12-01T14:39:43.000Z
2020-09-03T00:12:36.000Z
LUMA/tools/post_processors/h5mgm/src/h5mgm.cpp
ExuberantWitness/LUMA
15f2319a67ebb8e3ff577bdd0f93890c3c0e8d0b
[ "Apache-2.0" ]
14
2018-08-31T09:12:37.000Z
2020-06-08T11:46:06.000Z
LUMA/tools/post_processors/h5mgm/src/h5mgm.cpp
ExuberantWitness/LUMA
15f2319a67ebb8e3ff577bdd0f93890c3c0e8d0b
[ "Apache-2.0" ]
15
2018-01-15T09:33:47.000Z
2020-08-04T08:29:42.000Z
/* * -------------------------------------------------------------- * * ------ Lattice Boltzmann @ The University of Manchester ------ * * -------------------------- L-U-M-A --------------------------- * * Copyright (C) The University of Manchester 2017 * E-mail contact: info@luma.manchester.ac.uk * * This software i...
33.988411
141
0.684641
[ "mesh", "vector", "3d" ]
f6575229b6c9097cd6553f653cc2add2928c1313
58,020
cpp
C++
lib/Parser/CharSet.cpp
aneeshdk/ChakraCore
24c24262816db8b7dc9097e718eae16c22062f08
[ "MIT" ]
null
null
null
lib/Parser/CharSet.cpp
aneeshdk/ChakraCore
24c24262816db8b7dc9097e718eae16c22062f08
[ "MIT" ]
null
null
null
lib/Parser/CharSet.cpp
aneeshdk/ChakraCore
24c24262816db8b7dc9097e718eae16c22062f08
[ "MIT" ]
null
null
null
//------------------------------------------------------------------------------------------------------- // Copyright (C) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. //---------------------------------------------------------...
30.960512
166
0.477318
[ "vector" ]
f658310539dad706518afa3742b76555c65fe9a3
12,262
cpp
C++
2D_RPG/2D_RPG/main.cpp
AustenBrooks/2D_RPG
16d1cdecd764298dcef33391ef795f64ea9e6147
[ "MIT" ]
null
null
null
2D_RPG/2D_RPG/main.cpp
AustenBrooks/2D_RPG
16d1cdecd764298dcef33391ef795f64ea9e6147
[ "MIT" ]
null
null
null
2D_RPG/2D_RPG/main.cpp
AustenBrooks/2D_RPG
16d1cdecd764298dcef33391ef795f64ea9e6147
[ "MIT" ]
null
null
null
#include <SDL.h> #include "window.h" #include "input.h" #include "game.h" #include "sprite.h" #include "character.h" #include "text.h" #include "settings.h" int main(int argc, char* args[]) { SDL_Init(SDL_INIT_EVERYTHING); SDL_Event events; window gameWindow; input inputs; sprite background("Sprites/forest.png"...
31.849351
251
0.621024
[ "vector" ]
2cec13deceff92ed3a0cdcc90dc7f8100dce3178
5,619
cpp
C++
src/add-ons/kernel/bus_managers/pci/arch/arm64/pci_controller.cpp
Milek7/haiku-work
cb94bdc0817e3eeaad7f515161a94e073d4d886f
[ "MIT" ]
2
2022-03-27T20:52:12.000Z
2022-03-27T21:12:52.000Z
src/add-ons/kernel/bus_managers/pci/arch/arm64/pci_controller.cpp
Milek7/haiku-work
cb94bdc0817e3eeaad7f515161a94e073d4d886f
[ "MIT" ]
null
null
null
src/add-ons/kernel/bus_managers/pci/arch/arm64/pci_controller.cpp
Milek7/haiku-work
cb94bdc0817e3eeaad7f515161a94e073d4d886f
[ "MIT" ]
null
null
null
/* * Copyright 2009, Haiku Inc. * Distributed under the terms of the MIT License. */ #include "pci_controller.h" #include <kernel/debug.h> #include <kernel/int.h> #include <util/Vector.h> #include "pci_private.h" #include <ACPI.h> // module #include "acpi.h" // acpica #include "irq_routing_table.h" addr_t gPC...
24.11588
89
0.723972
[ "vector" ]
2cf8ac13d388caef6f1e1378020809ea31c00f34
11,017
cpp
C++
soundlib/Load_okt.cpp
ev3dev/libopenmpt
06d2c8b26a148dc6e87ccfe2ab4bcb82a55d6714
[ "BSD-3-Clause" ]
null
null
null
soundlib/Load_okt.cpp
ev3dev/libopenmpt
06d2c8b26a148dc6e87ccfe2ab4bcb82a55d6714
[ "BSD-3-Clause" ]
null
null
null
soundlib/Load_okt.cpp
ev3dev/libopenmpt
06d2c8b26a148dc6e87ccfe2ab4bcb82a55d6714
[ "BSD-3-Clause" ]
null
null
null
/* * Load_okt.cpp * ------------ * Purpose: OKT (Oktalyzer) module loader * Notes : (currently none) * Authors: Storlek (Original author - http://schismtracker.org/ - code ported with permission) * Johannes Schultz (OpenMPT Port, tweaks) * The OpenMPT source code is released under the BSD license. Read LICENS...
24.320088
134
0.622129
[ "vector" ]
2cfec40e07488cba0c7ca2e362252e1c78cfcdb6
391
hpp
C++
src/emu/program.hpp
wgml/emulators
b7afc44920da6b1120149926ef712ec3ebb74b8c
[ "MIT" ]
null
null
null
src/emu/program.hpp
wgml/emulators
b7afc44920da6b1120149926ef712ec3ebb74b8c
[ "MIT" ]
null
null
null
src/emu/program.hpp
wgml/emulators
b7afc44920da6b1120149926ef712ec3ebb74b8c
[ "MIT" ]
null
null
null
#pragma once #include <cstddef> #include <string> #include <vector> namespace emu { struct Program { std::vector<uint8_t> content; auto begin() const { return std::begin(content); } auto end() const { return std::end(content); } auto size() const { return std::size(content); } st...
13.033333
51
0.634271
[ "vector" ]
fa0291e0be3c50ef85e14d1c501eb1b142925fde
3,471
cpp
C++
grasp_generation/graspitmodified_lm/Coin-3.1.3/src/fields/all-fields-cpp.cpp
KraftOreo/EBM_Hand
9ab1722c196b7eb99b4c3ecc85cef6e8b1887053
[ "MIT" ]
null
null
null
grasp_generation/graspitmodified_lm/Coin-3.1.3/src/fields/all-fields-cpp.cpp
KraftOreo/EBM_Hand
9ab1722c196b7eb99b4c3ecc85cef6e8b1887053
[ "MIT" ]
null
null
null
grasp_generation/graspitmodified_lm/Coin-3.1.3/src/fields/all-fields-cpp.cpp
KraftOreo/EBM_Hand
9ab1722c196b7eb99b4c3ecc85cef6e8b1887053
[ "MIT" ]
null
null
null
/**************************************************************************\ * * This file is part of the Coin 3D visualization library. * Copyright (C) by Kongsberg Oil & Gas Technologies. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public ...
29.415254
76
0.722558
[ "3d" ]
fa11fa29231032d62389a93fd00b0ec782bf8a3b
3,794
cc
C++
runtime/core/test/post_processor_test.cc
realzhangm/wenet
d4d201710308e0bb54f7d59fafb74850a9f701eb
[ "Apache-2.0" ]
null
null
null
runtime/core/test/post_processor_test.cc
realzhangm/wenet
d4d201710308e0bb54f7d59fafb74850a9f701eb
[ "Apache-2.0" ]
null
null
null
runtime/core/test/post_processor_test.cc
realzhangm/wenet
d4d201710308e0bb54f7d59fafb74850a9f701eb
[ "Apache-2.0" ]
1
2022-02-08T07:39:13.000Z
2022-02-08T07:39:13.000Z
// Copyright (c) 2021 Xingchen Song sxc19@mails.tsinghua.edu.cn // // 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 a...
34.18018
75
0.666315
[ "vector" ]
fa1272c444111dff9dd64d10f0b0136bf9d69a3e
470
cpp
C++
src/request/list.cpp
kele/graphbase
7f2eaced4b3ed8324f35edcc84c2eb774bb87ed3
[ "MIT" ]
null
null
null
src/request/list.cpp
kele/graphbase
7f2eaced4b3ed8324f35edcc84c2eb774bb87ed3
[ "MIT" ]
3
2018-07-02T07:39:57.000Z
2019-10-11T20:20:09.000Z
src/request/list.cpp
kele/graphbase
7f2eaced4b3ed8324f35edcc84c2eb774bb87ed3
[ "MIT" ]
null
null
null
#include "request/list.hpp" #include "request/expression.hpp" namespace graphbase { namespace request { std::shared_ptr<const query::List> list(const oracle::List &lpb) { std::vector<std::shared_ptr<const query::IExpression>> expressions(lpb.elements_size()); for (const auto &e : lpb.elements()) { expression...
26.111111
90
0.719149
[ "vector" ]
fa19cf43f079ede0a0aa30105a1236f0af2ee0b8
17,980
cc
C++
mysqlshdk/libs/rest/rest_service.cc
mysql/mysql-shell
7a299599a79ef2b2f578ffa41cbc901a88fc6b62
[ "Apache-2.0" ]
119
2016-04-14T14:16:22.000Z
2022-03-08T20:24:38.000Z
mysqlshdk/libs/rest/rest_service.cc
mysql/mysql-shell
7a299599a79ef2b2f578ffa41cbc901a88fc6b62
[ "Apache-2.0" ]
9
2017-04-26T20:48:42.000Z
2021-09-07T01:52:44.000Z
mysqlshdk/libs/rest/rest_service.cc
mysql/mysql-shell
7a299599a79ef2b2f578ffa41cbc901a88fc6b62
[ "Apache-2.0" ]
51
2016-07-20T05:06:48.000Z
2022-03-09T01:20:53.000Z
/* * Copyright (c) 2019, 2021, Oracle and/or its affiliates. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License, version 2.0, * as published by the Free Software Foundation. * * This program is also distributed with certain software (in...
32.222222
80
0.656507
[ "vector" ]
fa1f7edd4a90aeac37c1dcb709caf7dd600f4fc4
7,347
cc
C++
src/ir/switch-inst.cc
lung21/llvm-node
e1b800e8023370134684e33ef700dc0e2a83bac2
[ "MIT" ]
null
null
null
src/ir/switch-inst.cc
lung21/llvm-node
e1b800e8023370134684e33ef700dc0e2a83bac2
[ "MIT" ]
null
null
null
src/ir/switch-inst.cc
lung21/llvm-node
e1b800e8023370134684e33ef700dc0e2a83bac2
[ "MIT" ]
null
null
null
#include <nan.h> #include <llvm/IR/Instructions.h> #include "basic-block.h" #include "constant-int.h" #include "value.h" #include "switch-inst.h" NAN_MODULE_INIT(SwitchInstWrapper::Init) { auto switchInst = Nan::GetFunction(Nan::New(switchInstTemplate())).ToLocalChecked(); Nan::Set(target, Nan::New("SwitchInst...
45.07362
172
0.713897
[ "object" ]
fa2ec669af72ce6e1cf38dd0ec2e776533ac50b6
930
cc
C++
all_perms_agency_2.cc
lljbash/AllPerms
72e2ddaa2a74fc39d0d46ef0f7e4746840244288
[ "MIT" ]
1
2018-11-11T10:02:11.000Z
2018-11-11T10:02:11.000Z
all_perms_agency_2.cc
lljbash/AllPerms
72e2ddaa2a74fc39d0d46ef0f7e4746840244288
[ "MIT" ]
null
null
null
all_perms_agency_2.cc
lljbash/AllPerms
72e2ddaa2a74fc39d0d46ef0f7e4746840244288
[ "MIT" ]
null
null
null
#include "all_perms_agency_2.h" #include <algorithm> #include <numeric> using namespace all_perms; void AllPermsAgency2::initialize(int n) { perms_.resize(n); std::iota(perms_.begin(), perms_.end(), 0); agency_ = std::vector<int>(n - 1); position_ = perms_; } void AllPermsAgency2::step() { int n ...
23.846154
66
0.503226
[ "vector" ]
fa3c26791863e971871b3179d08dd8c829921f4a
2,241
cpp
C++
SPOJ/CODESPTB - Insertion Sort.cpp
ravirathee/Competitive-Programming
20a0bfda9f04ed186e2f475644e44f14f934b533
[ "Unlicense" ]
6
2018-11-26T02:38:07.000Z
2021-07-28T00:16:41.000Z
SPOJ/CODESPTB - Insertion Sort.cpp
ravirathee/Competitive-Programming
20a0bfda9f04ed186e2f475644e44f14f934b533
[ "Unlicense" ]
1
2021-05-30T09:25:53.000Z
2021-06-05T08:33:56.000Z
SPOJ/CODESPTB - Insertion Sort.cpp
ravirathee/Competitive-Programming
20a0bfda9f04ed186e2f475644e44f14f934b533
[ "Unlicense" ]
4
2020-04-16T07:15:01.000Z
2020-12-04T06:26:07.000Z
/*CODESPTB - Insertion Sort #tree Insertion Sort is a classical sorting technique. One variant of insertion sort works as follows when sorting an array a[1..N] in non-descending order: for i <- 2 to N j <- i while j > 1 and a[j] < a[j - 1] swap a[j] and a[j - 1] j <- j - 1 The pseudocode is s...
21.342857
232
0.560464
[ "vector" ]
fa3c65b054a6008126c6a0ad9fa5b3c149895f84
8,444
cpp
C++
ms-utils/simulation/hs/TsHsMsgStdFilter.cpp
nasa/gunns
248323939a476abe5178538cd7a3512b5f42675c
[ "NASA-1.3" ]
18
2020-01-23T12:14:09.000Z
2022-02-27T22:11:35.000Z
ms-utils/simulation/hs/TsHsMsgStdFilter.cpp
nasa/gunns
248323939a476abe5178538cd7a3512b5f42675c
[ "NASA-1.3" ]
39
2020-11-20T12:19:35.000Z
2022-02-22T18:45:55.000Z
ms-utils/simulation/hs/TsHsMsgStdFilter.cpp
nasa/gunns
248323939a476abe5178538cd7a3512b5f42675c
[ "NASA-1.3" ]
7
2020-02-10T19:25:43.000Z
2022-03-16T01:10:00.000Z
/****************************************** TRICK HEADER ****************************************** @copyright Copyright 2019 United States Government as represented by the Administrator of the National Aeronautics and Space Administration. All Rights Reserved. PURPOSE: (Extends the TsHsMsgFilter class...
37.198238
108
0.539792
[ "object", "model" ]
fa4d16919f33ac2628a9e5a251a8baf9a37585f2
45,276
hxx
C++
VTK/ThirdParty/vtkm/vtk-m/vtkm/rendering/raytracing/ConnectivityTracer.hxx
brown-ccv/paraview-scalable
64b221a540737d2ac94a120039bd8d1e661bdc8f
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
VTK/ThirdParty/vtkm/vtk-m/vtkm/rendering/raytracing/ConnectivityTracer.hxx
brown-ccv/paraview-scalable
64b221a540737d2ac94a120039bd8d1e661bdc8f
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
VTK/ThirdParty/vtkm/vtk-m/vtkm/rendering/raytracing/ConnectivityTracer.hxx
brown-ccv/paraview-scalable
64b221a540737d2ac94a120039bd8d1e661bdc8f
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
//============================================================================ // Copyright (c) Kitware, Inc. // All rights reserved. // See LICENSE.txt for details. // This software is distributed WITHOUT ANY WARRANTY; without even // the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR // PURPOSE...
35.706625
106
0.618275
[ "mesh", "render" ]
fa4f121247900f42118564734adfb874c7e7bbc8
2,801
cpp
C++
fpsgame/graphics/SkeletonAnimManager.cpp
mrlitong/CPP-Game-engine-usage
95697c4bfb507cfb38dbe0f632740e2a7eac71fb
[ "MIT" ]
186
2017-07-26T12:53:29.000Z
2021-09-10T04:00:39.000Z
fpsgame/graphics/SkeletonAnimManager.cpp
mrlitong/CPP-Game-engine-usage
95697c4bfb507cfb38dbe0f632740e2a7eac71fb
[ "MIT" ]
1
2017-08-15T13:12:27.000Z
2017-08-16T06:14:57.000Z
fpsgame/graphics/SkeletonAnimManager.cpp
mrlitong/CPP-Game-engine-usage
95697c4bfb507cfb38dbe0f632740e2a7eac71fb
[ "MIT" ]
6
2017-02-15T10:19:26.000Z
2017-03-15T03:17:15.000Z
/* Copyright (C) 2012 Wildfire Games. * This file is part of 0 A.D. * * 0 A.D. 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 version. *...
30.445652
109
0.670475
[ "model" ]
fa5be13b576166851dfb3d576a1e97ac64e08e95
980
cpp
C++
GameFramework/src/BehaviourTrees/Actions/FindClosest.cpp
lcomstive/AIE_AIForGames
4128b9984a86111871864c904a34da04c12c3293
[ "MIT" ]
null
null
null
GameFramework/src/BehaviourTrees/Actions/FindClosest.cpp
lcomstive/AIE_AIForGames
4128b9984a86111871864c904a34da04c12c3293
[ "MIT" ]
null
null
null
GameFramework/src/BehaviourTrees/Actions/FindClosest.cpp
lcomstive/AIE_AIForGames
4128b9984a86111871864c904a34da04c12c3293
[ "MIT" ]
null
null
null
#include <Framework/BehaviourTrees/Actions/FindClosest.hpp> using namespace std; using namespace Framework::BT; BehaviourResult FindClosest::Execute(GameObject* go) { if (GetTargetFromContext) { Sight = GetContext<float>("Sight", 10000.0f); TargetTag = GetContext<string>("TargetTag"); } vector<GameObject*> q...
28
106
0.720408
[ "vector" ]
fa63b4cde0004752a241ed2cad8a07b94f89b614
9,342
cpp
C++
tests/LinAlg/matrixTestsDense.cpp
pelesh/hiop
26bf95fc380dfee6d251d6c870cf1b4c76841828
[ "BSD-3-Clause" ]
null
null
null
tests/LinAlg/matrixTestsDense.cpp
pelesh/hiop
26bf95fc380dfee6d251d6c870cf1b4c76841828
[ "BSD-3-Clause" ]
null
null
null
tests/LinAlg/matrixTestsDense.cpp
pelesh/hiop
26bf95fc380dfee6d251d6c870cf1b4c76841828
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2017, Lawrence Livermore National Security, LLC. // Produced at the Lawrence Livermore National Laboratory (LLNL). // Written by Cosmin G. Petra, petra1@llnl.gov. // LLNL-CODE-742473. All rights reserved. // // This file is part of HiOp. For details, see https://github.com/LLNL/hiop. HiOp // is release...
31.14
100
0.711732
[ "object", "vector" ]
fa645de9f52b0e616026b3a69dfe04da2a899607
2,292
cpp
C++
cv_wrappers/source/cv_io.cpp
hyu754/CV
b60a99ca1df9ae102baaa80a046b898ec0230b32
[ "MIT" ]
null
null
null
cv_wrappers/source/cv_io.cpp
hyu754/CV
b60a99ca1df9ae102baaa80a046b898ec0230b32
[ "MIT" ]
null
null
null
cv_wrappers/source/cv_io.cpp
hyu754/CV
b60a99ca1df9ae102baaa80a046b898ec0230b32
[ "MIT" ]
null
null
null
#include "cv_io.h" //Function will write points to file, it is able to write 2d and 3d points //Input: file_name - file to save to // pnts - vector of points int write_2d_points_to_file(std::string filename, imagePointVector pnts){ std::ofstream output_file(filename); for (auto iter = pnts.begin(); iter != pnts.e...
27.285714
98
0.650087
[ "vector", "3d" ]
fa68191e5f2e978f662a8e7bed94cf1cc43b556b
1,074
cpp
C++
0352. Data Stream as Disjoint Intervals/solution_bits.cpp
Pluto-Zy/LeetCode
3bb39fc5c000b344fd8727883b095943bd29c247
[ "MIT" ]
null
null
null
0352. Data Stream as Disjoint Intervals/solution_bits.cpp
Pluto-Zy/LeetCode
3bb39fc5c000b344fd8727883b095943bd29c247
[ "MIT" ]
null
null
null
0352. Data Stream as Disjoint Intervals/solution_bits.cpp
Pluto-Zy/LeetCode
3bb39fc5c000b344fd8727883b095943bd29c247
[ "MIT" ]
null
null
null
class SummaryRanges { public: SummaryRanges() : _bits{} { } void addNum(int val) { auto idx = static_cast<std::make_unsigned_t<decltype(val)>>(val); _bits[idx >> 3] |= 1 << (idx - ((idx >> 3) << 3)); } vector<vector<int>> getIntervals() { std::vector<std::vector<int>> result; bool last = f...
26.85
77
0.523277
[ "object", "vector" ]
fa68b088f12e26a97a6bc8e3b4139332ea97e717
1,797
cpp
C++
iref/iref.cpp
ZEMUSHKA/pydoop
e3d3378ae9921561f6c600c79364c2ad42ec206d
[ "Apache-2.0" ]
1
2017-11-16T02:13:15.000Z
2017-11-16T02:13:15.000Z
iref/iref.cpp
ZEMUSHKA/pydoop
e3d3378ae9921561f6c600c79364c2ad42ec206d
[ "Apache-2.0" ]
null
null
null
iref/iref.cpp
ZEMUSHKA/pydoop
e3d3378ae9921561f6c600c79364c2ad42ec206d
[ "Apache-2.0" ]
null
null
null
// BEGIN_COPYRIGHT // // Copyright 2009-2014 CRS4. // // 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 applicab...
26.820896
78
0.639955
[ "object" ]
fa6d385ff13bdd96306ea6dd59559e140d0246fd
5,649
cpp
C++
src/enji/common.cpp
aptakhin/enji
603675cf39f254eb9d888d0442cd085bf0f4e8f6
[ "MIT" ]
1
2018-07-11T01:45:24.000Z
2018-07-11T01:45:24.000Z
src/enji/common.cpp
aptakhin/enji
603675cf39f254eb9d888d0442cd085bf0f4e8f6
[ "MIT" ]
null
null
null
src/enji/common.cpp
aptakhin/enji
603675cf39f254eb9d888d0442cd085bf0f4e8f6
[ "MIT" ]
null
null
null
#include "common.h" namespace enji { void run_thread(void* arg) { Thread* thread = reinterpret_cast<Thread*>(arg); thread->func_(); } void Thread::run(Func&& thread_func) { func_ = std::move(thread_func); uv_thread_create(&thread_, run_thread, this); } TransferBlock::TransferBlock() : data{nullptr...
23.151639
89
0.571429
[ "vector" ]
fa72c7b142659cfc111f4c5307b2a1ed9620cf80
599
cpp
C++
Examples.cpp
rnsheehan/slab_wg_solver
04f5be013ef769b0487f9e8534cd34499e75f8ee
[ "MIT" ]
null
null
null
Examples.cpp
rnsheehan/slab_wg_solver
04f5be013ef769b0487f9e8534cd34499e75f8ee
[ "MIT" ]
null
null
null
Examples.cpp
rnsheehan/slab_wg_solver
04f5be013ef769b0487f9e8534cd34499e75f8ee
[ "MIT" ]
null
null
null
#ifndef ATTACH_H #include "Attach.h" #endif void examples::slab_wg_test() { // Example to illustrate the use of the slab wg solver // define parameters double width = 2.0; double wavelength = 1.55; double core = 3.38; double sub = 3.17; double clad = 3.17; // Declarate slab_wg object sl...
19.966667
56
0.657763
[ "object" ]
fa73fcc51799905b22de01eb69521a338df575d8
10,503
cpp
C++
pcl/src/other/bluerov_nestdetect.cpp
lukechencqu/bluerov_zed_tracking
75d87cfc183839615fada0731724cf0a230a0970
[ "Apache-2.0" ]
2
2021-07-21T12:21:26.000Z
2021-12-02T00:57:02.000Z
pcl/src/other/bluerov_nestdetect.cpp
lukechencqu/bluerov_zed_tracking
75d87cfc183839615fada0731724cf0a230a0970
[ "Apache-2.0" ]
null
null
null
pcl/src/other/bluerov_nestdetect.cpp
lukechencqu/bluerov_zed_tracking
75d87cfc183839615fada0731724cf0a230a0970
[ "Apache-2.0" ]
null
null
null
#include "opencv2/objdetect.hpp" #include "opencv2/highgui.hpp" #include "opencv2/imgproc.hpp" #include "opencv2/videoio.hpp" #include <iostream> using namespace std; using namespace cv; static void help() { cout << "\nThis program demonstrates the use of cv::CascadeClassifier class to detect objects (Face + eyes...
36.092784
181
0.503856
[ "object", "vector" ]
fa767f26724e452cd8979e72328d3d038bd43af2
769
cpp
C++
src/rtcore/IAccStructBuilder.cpp
potato3d/rtrt2
5c135c1aea0ded2898e16220cec5ed2860dcc9b3
[ "MIT" ]
1
2021-11-06T06:13:05.000Z
2021-11-06T06:13:05.000Z
src/rtcore/IAccStructBuilder.cpp
potato3d/rtrt2
5c135c1aea0ded2898e16220cec5ed2860dcc9b3
[ "MIT" ]
null
null
null
src/rtcore/IAccStructBuilder.cpp
potato3d/rtrt2
5c135c1aea0ded2898e16220cec5ed2860dcc9b3
[ "MIT" ]
null
null
null
#include <rti/IAccStructBuilder.h> using namespace rti; void IAccStructBuilder::buildGeometry( rt::Geometry* geometry ) { rt::Aabb bbox; if( !geometry->vertices.empty() ) bbox.buildFrom( &geometry->vertices[0], geometry->vertices.size() ); geometry->accStruct = new IAccStruct(); geometry->accStruct->setBound...
22.617647
89
0.706112
[ "geometry", "vector" ]
fa7b50372fa5ddf516f56708cb4cdaed8a200ec8
1,344
cpp
C++
lumino/LuminoEngine/src/Animation/AnimationClock.cpp
GameDevery/Lumino
abce2ddca4b7678b04dbfd0ae5348e196c3c9379
[ "MIT" ]
113
2020-03-05T01:27:59.000Z
2022-03-28T13:20:51.000Z
lumino/LuminoEngine/src/Animation/AnimationClock.cpp
GameDevery/Lumino
abce2ddca4b7678b04dbfd0ae5348e196c3c9379
[ "MIT" ]
13
2020-03-23T20:36:44.000Z
2022-02-28T11:07:32.000Z
lumino/LuminoEngine/src/Animation/AnimationClock.cpp
GameDevery/Lumino
abce2ddca4b7678b04dbfd0ae5348e196c3c9379
[ "MIT" ]
12
2020-12-21T12:03:59.000Z
2021-12-15T02:07:49.000Z
 #include "Internal.hpp" #include <LuminoEngine/Animation/AnimationClock.hpp> #include <LuminoEngine/Animation/AnimationTrack.hpp> #include "AnimationManager.hpp" namespace ln { //============================================================================== // AnimationClock AnimationClock::AnimationClo...
21.333333
88
0.635417
[ "object" ]
fa8a82bba5b36db777e8788f6d6cc5fd2a117a94
293
cpp
C++
codes/src/tool/ModelImport.cpp
liangpengcheng/tng
01c6517f734d5db01f7d59bf95b225f6d1642b6e
[ "BSD-3-Clause" ]
3
2016-04-16T06:24:20.000Z
2018-09-29T13:36:51.000Z
codes/src/tool/ModelImport.cpp
liangpengcheng/tng
01c6517f734d5db01f7d59bf95b225f6d1642b6e
[ "BSD-3-Clause" ]
null
null
null
codes/src/tool/ModelImport.cpp
liangpengcheng/tng
01c6517f734d5db01f7d59bf95b225f6d1642b6e
[ "BSD-3-Clause" ]
3
2016-04-29T11:46:08.000Z
2019-09-16T03:27:30.000Z
#include "tool/ModelImport.h" #include "graphics/model.h" #include "core/os.h" namespace tng { bool ImportModel(const string src,const string dest) { AutoPtr<FileModel> model = FileModel::LoadResource(src, false); FileOutputStream saver(dest); model->Save(saver); return true; } }
20.928571
65
0.726962
[ "model" ]
fa8b4c4f22eb7ec74ced1be29c9f00d45e1499e9
802
cpp
C++
JEBMath/UnitTest/GeometryTest/test_CubicHermiteSpline.cpp
jebreimo/JEBLib
9066403a9372951aa8ce4f129cd4877e2ae779ab
[ "BSD-3-Clause" ]
1
2019-12-25T05:30:20.000Z
2019-12-25T05:30:20.000Z
JEBMath/UnitTest/GeometryTest/test_CubicHermiteSpline.cpp
jebreimo/JEBLib
9066403a9372951aa8ce4f129cd4877e2ae779ab
[ "BSD-3-Clause" ]
null
null
null
JEBMath/UnitTest/GeometryTest/test_CubicHermiteSpline.cpp
jebreimo/JEBLib
9066403a9372951aa8ce4f129cd4877e2ae779ab
[ "BSD-3-Clause" ]
null
null
null
#include "JEBMath/Geometry/CubicHermiteSpline.hpp" // #include "JEBMath/Geometry/Point.hpp" #include "JEBMath/Geometry/Vector.hpp" #include <JEBTest/JEBTest.hpp> using namespace JEBMath; static void test_Dim2() { // typedef Point<double, 2> P; // typedef CubicHermiteSpline<2> CHS; auto p1 = v...
30.846154
65
0.657107
[ "geometry", "vector" ]
fa8b711d7cd0f3e406e38f3215e3c297a69008d0
1,628
hpp
C++
src/object.hpp
takah29/path-tracer
85b86db109428b9d54cf60877fc9971ff1660a38
[ "MIT" ]
6
2019-09-20T00:19:14.000Z
2022-03-11T11:06:24.000Z
src/object.hpp
takah29/path-tracer
85b86db109428b9d54cf60877fc9971ff1660a38
[ "MIT" ]
1
2018-11-26T11:55:24.000Z
2018-11-26T11:55:24.000Z
src/object.hpp
takah29/path-tracer
85b86db109428b9d54cf60877fc9971ff1660a38
[ "MIT" ]
null
null
null
#ifndef _OBJECT_H_ #define _OBJECT_H_ #include "material.hpp" #include "ray.hpp" struct BBox { Vec corner0; Vec corner1; Vec center; BBox(); BBox(const Vec &corner0, const Vec &corner1); ~BBox(); void set_corner(const Vec &corner0, const Vec &corner1); void empty(); bool hit(cons...
20.871795
82
0.655405
[ "object" ]
fa8e3bcaf009e8be02c2a1eedbb890758e3aa281
1,175
cpp
C++
src/wasm.cpp
zandaqo/iswasmfast
54bbb7b539c127185c974a47d7dd9e2431ddf9ff
[ "MIT" ]
182
2017-06-24T10:38:03.000Z
2022-02-03T09:38:11.000Z
src/wasm.cpp
zandaqo/iswasmfast
54bbb7b539c127185c974a47d7dd9e2431ddf9ff
[ "MIT" ]
8
2017-09-19T16:14:02.000Z
2021-06-17T12:01:32.000Z
src/wasm.cpp
zandaqo/iswasmfast
54bbb7b539c127185c974a47d7dd9e2431ddf9ff
[ "MIT" ]
17
2017-08-23T11:17:23.000Z
2021-12-09T03:47:18.000Z
#include <vector> #include <iterator> #include <emscripten/bind.h> #include "../lib/levenstein.cpp" #include "../lib/fibonacci.cpp" #include "../lib/fermat.cpp" #include "../lib/regression.cpp" #include "../lib/sha256.cpp" using namespace emscripten; std::vector<double> vecFromArray(const val &arr) { unsigned int l...
30.128205
114
0.68
[ "object", "vector" ]
fa92298312cbed90fe7031c8a9f31137d8787b3c
7,072
cpp
C++
SatisfactoryPlanner/opengl.cpp
yeshjho/SatisfactoryPlanner
15b1bbe22959fb8d89f0c2508cca969062c9cd6e
[ "MIT" ]
null
null
null
SatisfactoryPlanner/opengl.cpp
yeshjho/SatisfactoryPlanner
15b1bbe22959fb8d89f0c2508cca969062c9cd6e
[ "MIT" ]
null
null
null
SatisfactoryPlanner/opengl.cpp
yeshjho/SatisfactoryPlanner
15b1bbe22959fb8d89f0c2508cca969062c9cd6e
[ "MIT" ]
null
null
null
#include <chrono> #include <iostream> #include <random> #include <thread> #include <GLFW/glfw3.h> #include <glm/gtx/transform.hpp> #include "BatchRenderer.h" #include "Camera.h" #include "InputCallback.h" #include "Model.h" #include "Window.h" glm::mat4 rotate(const float xAngle, const float yAngle, const float zAn...
28.631579
159
0.642534
[ "render", "vector", "model", "transform" ]
fa956b10482d64bb4bd4ddcb2cfb5047fd53447f
3,375
cpp
C++
source/gui.cpp
cool-school/opencv-project
bd38413521caacd4aa4fcac8e9c5c9d49c3d0d06
[ "MIT" ]
null
null
null
source/gui.cpp
cool-school/opencv-project
bd38413521caacd4aa4fcac8e9c5c9d49c3d0d06
[ "MIT" ]
null
null
null
source/gui.cpp
cool-school/opencv-project
bd38413521caacd4aa4fcac8e9c5c9d49c3d0d06
[ "MIT" ]
null
null
null
#include "head.h" /** globals */ VideoCapture capture(0); Mat3b canvas; const double FONT_SIZE = 0.7; string winName = "GUI v0.1"; vector <pair <int, int> > points; /** description * 0 = esc, 1 = mode_pendulum, 2 = mode_rolling, 3 = set_mask, 4 = Start! */ const int N_buttons = 5; Rect buttons[N_bu...
24.635036
125
0.641481
[ "vector" ]
fa96a55d933e1c8b022ca97b28b432e235a32172
304
hpp
C++
apps/novc/compiler.hpp
BastianBlokland/novus
3b984c36855aa84d6746c14ff7e294ab7d9c1575
[ "MIT" ]
14
2020-04-14T17:00:56.000Z
2021-08-30T08:29:26.000Z
apps/novc/compiler.hpp
BastianBlokland/novus
3b984c36855aa84d6746c14ff7e294ab7d9c1575
[ "MIT" ]
27
2020-12-27T16:00:44.000Z
2021-08-01T13:12:14.000Z
apps/novc/compiler.hpp
BastianBlokland/novus
3b984c36855aa84d6746c14ff7e294ab7d9c1575
[ "MIT" ]
1
2020-05-29T18:33:37.000Z
2020-05-29T18:33:37.000Z
#pragma once #include "filesystem.hpp" #include <vector> namespace novc { struct CompileOptions { filesystem::path srcPath; filesystem::path destPath; const std::vector<filesystem::path>& searchPaths; bool optimize; }; auto compile(const CompileOptions& options) -> bool; } // namespace novc
17.882353
52
0.736842
[ "vector" ]
fa97d179810428cb12a6817ea49c09447939afda
8,495
cpp
C++
src/main.cpp
CaffeineViking/chip-8
a4fe5e6313448d4f43d4b824dc44192737c0139b
[ "MIT" ]
3
2017-08-07T20:48:26.000Z
2019-12-31T10:33:08.000Z
src/main.cpp
CaffeineViking/chip-8
a4fe5e6313448d4f43d4b824dc44192737c0139b
[ "MIT" ]
3
2021-01-06T14:37:43.000Z
2021-01-06T14:44:48.000Z
src/main.cpp
CaffeineViking/chip-8
a4fe5e6313448d4f43d4b824dc44192737c0139b
[ "MIT" ]
null
null
null
#include <iostream> #include <iomanip> #include <fstream> #include <string> #include <SDL.h> #include "memory.hpp" #include "processor.hpp" #include "definitions.hpp" // Load ROM file to memory. ch8::Memory load(const char* path) { char* program; std::size_t program_size; std::ifstream program_stream { pa...
43.341837
144
0.597646
[ "render" ]
fa98f58e9dd502582ad0daf776e1fb5489d83c73
11,173
cpp
C++
Classes/NetWork/Client.cpp
Moonlor/SQLS
1db5c8a8bc36b9e25b20ba550cff64d448827659
[ "MIT" ]
29
2017-04-22T07:08:48.000Z
2022-03-24T03:17:49.000Z
Classes/NetWork/Client.cpp
Moonlor/SQLS
1db5c8a8bc36b9e25b20ba550cff64d448827659
[ "MIT" ]
null
null
null
Classes/NetWork/Client.cpp
Moonlor/SQLS
1db5c8a8bc36b9e25b20ba550cff64d448827659
[ "MIT" ]
18
2017-04-21T13:01:06.000Z
2022-03-24T03:17:57.000Z
/***************************************************************************** * Copyright (C) 2017 李坤 1061152718@qq.com * * 此文件属于软件学院2017c++大项目泡泡堂选题的项目文件. * * 此项目是开源项目, 在期末答辩之后, 我们可能会在假期里对一些因时间不够未完成的功能进 * 行补充, 以及适配windows平台, 在未来如果技术允许的情况下, 会酌情开发ios版本和anroid * 版本, 期待您能够为这个开源项目提供宝贵意见, 帮助我们做得更好, 如果能够贡献宝贵的代 * 码那就更令人...
27.452088
100
0.441511
[ "vector" ]
fa9be2fc0c3a21edcb3cab5d80d306dbc402b2d3
628
hpp
C++
math/convolution/or_convolution.hpp
emthrm/library
0876ba7ec64e23b5ec476a7a0b4880d497a36be1
[ "Unlicense" ]
1
2021-12-26T14:17:29.000Z
2021-12-26T14:17:29.000Z
math/convolution/or_convolution.hpp
emthrm/library
0876ba7ec64e23b5ec476a7a0b4880d497a36be1
[ "Unlicense" ]
3
2020-07-13T06:23:02.000Z
2022-02-16T08:54:26.000Z
math/convolution/or_convolution.hpp
emthrm/library
0876ba7ec64e23b5ec476a7a0b4880d497a36be1
[ "Unlicense" ]
null
null
null
/** * @brief 添え字 or での畳み込み * @docs docs/math/convolution/convolution.md */ #pragma once #include <algorithm> #include <vector> #include "fast_zeta_transform.hpp" #include "fast_mobius_transform.hpp" template <typename T> std::vector<T> or_convolution(std::vector<T> a, std::vector<T> b, const T ID = 0) ...
28.545455
103
0.64172
[ "vector" ]
b7030c2e2e3fb571c17435d6adcab7ca752df98e
1,940
cpp
C++
src/updater.cpp
takat0m0/practice_word2vec
7aee413e1aaaf707ec4166c6150af670a764c93f
[ "MIT" ]
2
2017-02-21T06:29:34.000Z
2018-04-23T13:41:48.000Z
src/updater.cpp
takat0m0/practice_word2vec
7aee413e1aaaf707ec4166c6150af670a764c93f
[ "MIT" ]
null
null
null
src/updater.cpp
takat0m0/practice_word2vec
7aee413e1aaaf707ec4166c6150af670a764c93f
[ "MIT" ]
null
null
null
#include<iostream> #include<fstream> #include<string> #include<sstream> #include<vector> #include <typeinfo> #include "updater.hpp" #include "DefVector.hpp" #include "DefScalar.hpp" #include "functions.hpp" void Updater::update(const ItemIndex& item1, const ItemIndex& item2){ Dim2Real& v1 = item2vec[item1]; D...
26.575342
88
0.667526
[ "vector" ]
b70abe2fbbb836a06aab40cc87a28eac7963af04
21,471
cpp
C++
VulkanSupport/Source/EditorSystem.cpp
xRiveria/Crescent-Engine
b6512b6a8dab2d27cf542c562ccc28f21bf2345d
[ "Apache-2.0" ]
2
2020-12-18T03:43:07.000Z
2020-12-23T12:20:00.000Z
VulkanSupport/Source/EditorSystem.cpp
xRiveria/Crescent-Engine
b6512b6a8dab2d27cf542c562ccc28f21bf2345d
[ "Apache-2.0" ]
null
null
null
VulkanSupport/Source/EditorSystem.cpp
xRiveria/Crescent-Engine
b6512b6a8dab2d27cf542c562ccc28f21bf2345d
[ "Apache-2.0" ]
null
null
null
#include "EditorSystem.h" #include <vulkan/vulkan.h> #include "Vulkan/VulkanUtilities.h" /* To Do: Abstract current Vulkan resource creations to construct Editor resources without explicit doings here. */ namespace Crescent { static int g_MinimumImageCount = 3; EditorSystem::EditorSystem(GLFWwindow* window, Vk...
49.132723
411
0.709748
[ "geometry", "render" ]
b70b9caa88eeaf5ed871ade1bdd3b223e7c1c1f3
934
cpp
C++
Olympiad Solutions/DMOJ/coci14c4p5.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
36
2019-12-27T08:23:08.000Z
2022-01-24T20:35:47.000Z
Olympiad Solutions/DMOJ/coci14c4p5.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
10
2019-11-13T02:55:18.000Z
2021-10-13T23:28:09.000Z
Olympiad Solutions/DMOJ/coci14c4p5.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
53
2020-08-15T11:08:40.000Z
2021-10-09T15:51:38.000Z
// Ivan Carvalho // Solution to https://dmoj.ca/problem/coci14c4p5 #include <bits/stdc++.h> using namespace std; const int MAXN = 2*1e5 + 10; vector<int> grafo[MAXN]; int cor[MAXN],N; int calcula_erro(int v){ int total = 0; for(int u : grafo[v]) total += (cor[v] == cor[u]); return total; } void dfs(int v){ int ...
16.103448
73
0.551392
[ "vector" ]
b70ce3463e7c96e0ee797c75f05b47a0c79456c8
1,093
cpp
C++
Mathematics/counting_divisors.cpp
DannyAntonelli/CSES-Problem-Set
599b5efb2d7efb9b7e1bfde3142702dc5d0c3988
[ "MIT" ]
null
null
null
Mathematics/counting_divisors.cpp
DannyAntonelli/CSES-Problem-Set
599b5efb2d7efb9b7e1bfde3142702dc5d0c3988
[ "MIT" ]
null
null
null
Mathematics/counting_divisors.cpp
DannyAntonelli/CSES-Problem-Set
599b5efb2d7efb9b7e1bfde3142702dc5d0c3988
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define FOR(i, a, b) for (int i = (a); i < (b); ++i) #define RFOR(i, a, b) for (int i = (a); i > (b); --i) #define ALL(x) x.begin(), x.end() #define F first #define S second #define PB push_back #define MP make_pair using namespace std; using ll = long long; using ld = long double; typedef v...
18.216667
53
0.431839
[ "vector" ]
b7122445cc96a2bcbc1c9ca3d72246e97a998d04
2,688
cpp
C++
src/core/bus/service_base.cpp
webosce/sam
bddc1e646d729920350f69e44105e02d1c5422d4
[ "Apache-2.0" ]
null
null
null
src/core/bus/service_base.cpp
webosce/sam
bddc1e646d729920350f69e44105e02d1c5422d4
[ "Apache-2.0" ]
null
null
null
src/core/bus/service_base.cpp
webosce/sam
bddc1e646d729920350f69e44105e02d1c5422d4
[ "Apache-2.0" ]
null
null
null
// Copyright (c) 2012-2018 LG Electronics, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or...
27.71134
107
0.662574
[ "vector" ]
b7259750c9c0b2a7330cb71ac5716f9149499cfa
927
cpp
C++
Cpp/695.max-area-of-island.cpp
zszyellow/leetcode
2ef6be04c3008068f8116bf28d70586e613a48c2
[ "MIT" ]
1
2015-12-19T23:05:35.000Z
2015-12-19T23:05:35.000Z
Cpp/695.max-area-of-island.cpp
zszyellow/leetcode
2ef6be04c3008068f8116bf28d70586e613a48c2
[ "MIT" ]
null
null
null
Cpp/695.max-area-of-island.cpp
zszyellow/leetcode
2ef6be04c3008068f8116bf28d70586e613a48c2
[ "MIT" ]
null
null
null
class Solution { public: int maxAreaOfIsland(vector<vector<int>>& grid) { if (grid.empty() || grid[0].empty()) return 0; int m = grid.size(), n = grid[0].size(); vector<vector<bool>> visited(m, vector<bool>(n, false)); int res = 0; for (int i = 0; i < m; ++ i) { ...
37.08
116
0.461704
[ "vector" ]
b728215e40aa250477b8fd09daf8f854c574f093
3,737
cpp
C++
libs/core/algorithms/tests/unit/algorithms/findifnot.cpp
bhumitattarde/hpx
5b34d8d77b1664fa552445d44cd98e51dc69a74a
[ "BSL-1.0" ]
1
2022-02-08T05:55:09.000Z
2022-02-08T05:55:09.000Z
libs/core/algorithms/tests/unit/algorithms/findifnot.cpp
deepaksuresh1411/hpx
aa18024d35fe9884a977d4b6076c764dbb8b26d1
[ "BSL-1.0" ]
null
null
null
libs/core/algorithms/tests/unit/algorithms/findifnot.cpp
deepaksuresh1411/hpx
aa18024d35fe9884a977d4b6076c764dbb8b26d1
[ "BSL-1.0" ]
null
null
null
// Copyright (c) 2021 Srinivas Yadav // copyright (c) 2014 Grant Mercer // // SPDX-License-Identifier: BSL-1.0 // 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 <hpx/local/init.hpp> #include <iostream>...
30.884298
80
0.682098
[ "object", "vector" ]
b72e9d1b70608acf00668254a882f46db33a2c29
584
cpp
C++
CodingInterviews/cpp/61_find_nums_appear_once.cpp
YorkFish/git_study
6e023244daaa22e12b24e632e76a13e5066f2947
[ "MIT" ]
null
null
null
CodingInterviews/cpp/61_find_nums_appear_once.cpp
YorkFish/git_study
6e023244daaa22e12b24e632e76a13e5066f2947
[ "MIT" ]
null
null
null
CodingInterviews/cpp/61_find_nums_appear_once.cpp
YorkFish/git_study
6e023244daaa22e12b24e632e76a13e5066f2947
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> using namespace std; class Solution { public: vector<int> findNumsAppearOnce(vector<int>& nums) { int all_xor = 0; for (int num : nums) all_xor ^= num; int low_bit = -all_xor & all_xor; int first = 0; for (int num : nums) if (num & low_...
21.62963
61
0.563356
[ "vector" ]
b732a998bff6d0d8231ba2c8d4b952ac256d9afd
8,005
cpp
C++
src/alt.cpp
edvardsp/libproxc-
aea543d7de50a26fb424485a9eed458004f57510
[ "BSL-1.0" ]
1
2022-03-10T16:25:29.000Z
2022-03-10T16:25:29.000Z
src/alt.cpp
edvardsp/libproxc-
aea543d7de50a26fb424485a9eed458004f57510
[ "BSL-1.0" ]
null
null
null
src/alt.cpp
edvardsp/libproxc-
aea543d7de50a26fb424485a9eed458004f57510
[ "BSL-1.0" ]
null
null
null
// Copyright Edvard Severin Pettersen 2017. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at // https://www.boost.org/LICENSE_1_0.txt) #include <deque> #include <memory> #include <random> #include <vector> #include <proxc/config.hpp> #...
27.135593
82
0.559026
[ "vector" ]
b73413fb90bb9e0b3f51fd094ea0c3b46011ac52
43,370
cpp
C++
Total Control/meshingalgs.cpp
legalian/tbd-game
6b4a2e6109ebbc7d561da3b1953dbd308342b746
[ "MIT" ]
null
null
null
Total Control/meshingalgs.cpp
legalian/tbd-game
6b4a2e6109ebbc7d561da3b1953dbd308342b746
[ "MIT" ]
null
null
null
Total Control/meshingalgs.cpp
legalian/tbd-game
6b4a2e6109ebbc7d561da3b1953dbd308342b746
[ "MIT" ]
null
null
null
//// //// meshingalgs.cpp //// Total Control //// //// Created by Parker Lawrence on 8/23/15. //// Copyright (c) 2015 Parker Lawrence. All rights reserved. //// // //#include "meshingalgs.h" // // //// //// Marching Cubes Example Program //// by Cory Bloyd (corysama@yahoo.com) //// //// A simple, portable and compl...
41.984511
146
0.445446
[ "vector" ]
b73baceb1b92d2a7d259f8e0c4d8ee9a070c08e7
4,018
cc
C++
sortsim.cc
Kingsford-Group/jellyfishsim
c1b24b728e5e8d06acbfa91447702984177023f4
[ "BSD-3-Clause" ]
null
null
null
sortsim.cc
Kingsford-Group/jellyfishsim
c1b24b728e5e8d06acbfa91447702984177023f4
[ "BSD-3-Clause" ]
null
null
null
sortsim.cc
Kingsford-Group/jellyfishsim
c1b24b728e5e8d06acbfa91447702984177023f4
[ "BSD-3-Clause" ]
null
null
null
#include <iostream> #include <cstdlib> #include <vector> #include <fstream> #include <iterator> #include <iomanip> #include <string> #include <jellyfish/jellyfish.hpp> #include <gzstream.h> using jellyfish::mer_dna; struct mercount { uint64_t mer; uint64_t count; }; bool operator<(const mercount& m1, const merc...
24.351515
100
0.590592
[ "vector" ]
b73cb279de947d8fa7ebb218be62bab93b096910
6,764
cpp
C++
example3 - powersystem/PowerSystem-HelicsFed/NonisolatedFault.cpp
GMLC-TDC/helics-omnetpp
705ad31d999c51725163c654b67930f0a8b99838
[ "BSD-3-Clause" ]
1
2020-02-11T18:49:43.000Z
2020-02-11T18:49:43.000Z
example3 - powersystem/PowerSystem-HelicsFed/NonisolatedFault.cpp
GMLC-TDC/helics-omnetpp
705ad31d999c51725163c654b67930f0a8b99838
[ "BSD-3-Clause" ]
null
null
null
example3 - powersystem/PowerSystem-HelicsFed/NonisolatedFault.cpp
GMLC-TDC/helics-omnetpp
705ad31d999c51725163c654b67930f0a8b99838
[ "BSD-3-Clause" ]
null
null
null
// NonisolatedFault.cpp : This file contains the 'main' function. Program execution begins and ends there. // #include "MessageFederate.h" #include <iostream> #include <vector> #include <fstream> #include <string> #include <stdlib.h> #include<stdio.h> #include<sstream> #include<algorithm> #include<string> enum MS...
25.144981
138
0.719988
[ "vector" ]
b73da15dba2b5eb42e657b2fcab07260e18c9338
1,210
cpp
C++
USACO/Silver/S-snowboots.cpp
klxu03/CompetitiveProgramming
fd83200b5c8af3542fb639d504e3948427f69efc
[ "MIT" ]
null
null
null
USACO/Silver/S-snowboots.cpp
klxu03/CompetitiveProgramming
fd83200b5c8af3542fb639d504e3948427f69efc
[ "MIT" ]
null
null
null
USACO/Silver/S-snowboots.cpp
klxu03/CompetitiveProgramming
fd83200b5c8af3542fb639d504e3948427f69efc
[ "MIT" ]
null
null
null
//http://www.usaco.org/index.php?page=viewproblem2&cpid=811 #include <bits/stdc++.h> using namespace std; #define f0r(a, b) for (long long a = 0; a < b; a++) #define f1r(a, b, c) for (long long a = b; a < c; a++) #define max3(a, b, c) max(a, max(b, c)) #define pb push_back #define f first #define s seco...
18.059701
78
0.438017
[ "vector" ]
b748390a18cb538c3f5906415edf902a4b1cee34
844
hpp
C++
tests/approval_tests/renderer/svg_renderer.hpp
cpp-niel/mfl
d22d698b112b95d102150d5f3a5f35d8eb7fb0f3
[ "MIT" ]
4
2021-04-02T02:52:05.000Z
2021-12-11T00:42:35.000Z
tests/approval_tests/renderer/svg_renderer.hpp
cpp-niel/mfl
d22d698b112b95d102150d5f3a5f35d8eb7fb0f3
[ "MIT" ]
null
null
null
tests/approval_tests/renderer/svg_renderer.hpp
cpp-niel/mfl
d22d698b112b95d102150d5f3a5f35d8eb7fb0f3
[ "MIT" ]
null
null
null
#pragma once #include "fonts_for_tests/freetype.hpp" #include "mfl/layout.hpp" #include <iosfwd> #include <memory> #include <string> namespace mfl { class svg_renderer { public: svg_renderer(std::ostream& os, const pixels width, const pixels height, const dots_per_inch dpi, c...
26.375
104
0.651659
[ "render" ]
b758468a0d2f369cec8cfe065c7fd748133f5229
2,697
cc
C++
net/base/x509_certificate_openssl_android.cc
qumaciel/android_external_chromium
7602059d4c4fc5de88abfbd8a28cc8ce532f97a0
[ "BSD-3-Clause" ]
null
null
null
net/base/x509_certificate_openssl_android.cc
qumaciel/android_external_chromium
7602059d4c4fc5de88abfbd8a28cc8ce532f97a0
[ "BSD-3-Clause" ]
null
null
null
net/base/x509_certificate_openssl_android.cc
qumaciel/android_external_chromium
7602059d4c4fc5de88abfbd8a28cc8ce532f97a0
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "net/base/x509_certificate.h" #include "base/logging.h" #include "net/base/android_network_library.h" #include "net/base/cert_status_flags.h...
35.486842
77
0.731183
[ "vector" ]
b763dc9fc141de6eef252ba3a04e71ea3b737cc9
3,002
hpp
C++
src/simple_command.hpp
allenh1/hsh
9ed8dc3ebcc1d7f4a8d236cb389b8e823c831fdd
[ "Apache-2.0" ]
9
2016-09-12T00:21:30.000Z
2019-04-25T23:39:13.000Z
src/simple_command.hpp
allenh1/hsh
9ed8dc3ebcc1d7f4a8d236cb389b8e823c831fdd
[ "Apache-2.0" ]
14
2017-10-01T20:27:48.000Z
2019-10-04T01:04:04.000Z
src/simple_command.hpp
allenh1/hsh
9ed8dc3ebcc1d7f4a8d236cb389b8e823c831fdd
[ "Apache-2.0" ]
2
2016-10-20T18:36:03.000Z
2017-03-01T15:18:47.000Z
// Copyright 2016 Hunter L. Allen // // 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...
26.803571
80
0.698867
[ "vector" ]
b7668889521ddc44b57601f1f0d18bb8dd8e842e
2,786
hpp
C++
cppe/string.hpp
kyasu0118/cppe
9ea59efe4c9c4a543a7d57a3604d1e2d47f24dfc
[ "Unlicense" ]
2
2017-04-28T05:23:05.000Z
2017-05-02T05:12:41.000Z
cppe/string.hpp
kyasu0118/cppe
9ea59efe4c9c4a543a7d57a3604d1e2d47f24dfc
[ "Unlicense" ]
null
null
null
cppe/string.hpp
kyasu0118/cppe
9ea59efe4c9c4a543a7d57a3604d1e2d47f24dfc
[ "Unlicense" ]
null
null
null
#pragma once namespace cppe { class string : public object { private: wchar_t* value; string(const size_t _lenght) : length(_lenght) { value = new wchar_t[length+1]; value[length] = L'\0'; } public: const size_t length; ...
22.836066
78
0.389447
[ "object" ]
b769ab76bfe1e1ba2bb97eee65aaba231694fd01
1,840
cpp
C++
main.cpp
MeirKatz613/Gematria-Calculator-C--
985ba65667be5a79fce56457abbe365f37ba996f
[ "MIT" ]
null
null
null
main.cpp
MeirKatz613/Gematria-Calculator-C--
985ba65667be5a79fce56457abbe365f37ba996f
[ "MIT" ]
null
null
null
main.cpp
MeirKatz613/Gematria-Calculator-C--
985ba65667be5a79fce56457abbe365f37ba996f
[ "MIT" ]
null
null
null
#include <iostream> #include <unordered_map> #include <string> [[maybe_unused]] std::string AskGematria(){ std::cout << "What do you want the gematria of?\n"; std::string Gematria; std::getline(std::cin, Gematria); return Gematria; } [[maybe_unused]] int ConvertLetters(const std::string & Letters){ /...
24.210526
106
0.414674
[ "transform" ]
b76f36af13226e4492510e6034dfecfd9550b027
3,673
hpp
C++
inc/parser.hpp
bergentroll/otus-cpp-10
b4cd069584eeb9bc7f07a57f8577e7838f1b9861
[ "CC0-1.0" ]
null
null
null
inc/parser.hpp
bergentroll/otus-cpp-10
b4cd069584eeb9bc7f07a57f8577e7838f1b9861
[ "CC0-1.0" ]
null
null
null
inc/parser.hpp
bergentroll/otus-cpp-10
b4cd069584eeb9bc7f07a57f8577e7838f1b9861
[ "CC0-1.0" ]
null
null
null
#ifndef OTUS_PARSER_HPP #define OTUS_PARSER_HPP #include <iostream> #include <memory> #include <stdexcept> #include <sstream> #include <string> #include <vector> #include "logger.hpp" namespace otus { class Parser { public: class InvalidToken: public std::logic_error { public: explicit InvalidToken...
25.506944
80
0.568473
[ "vector" ]
b7762660748ec856195b8c35deaf99fe8fe9ea7c
21,144
cpp
C++
src/PIdFQLSocketServer/PIdFQLSocketServer.cpp
BBN-E/serif
1e2662d82fb1c377ec3c79355a5a9b0644606cb4
[ "Apache-2.0" ]
1
2022-03-24T19:57:00.000Z
2022-03-24T19:57:00.000Z
src/PIdFQLSocketServer/PIdFQLSocketServer.cpp
BBN-E/serif
1e2662d82fb1c377ec3c79355a5a9b0644606cb4
[ "Apache-2.0" ]
null
null
null
src/PIdFQLSocketServer/PIdFQLSocketServer.cpp
BBN-E/serif
1e2662d82fb1c377ec3c79355a5a9b0644606cb4
[ "Apache-2.0" ]
null
null
null
// Copyright 2008 by BBN Technologies Corp. // All Rights Reserved. // Copyright (c) 2006 by BBN Technologies, Inc. // All Rights Reserved. /* This is the interface to the Active Learning functions that QuickLearn uses. When this executable is called, a socket server starts up and is ready to accept command...
28.419355
115
0.641364
[ "model" ]
b77ec03ee156a577e12e011a804d52e97653cff8
6,547
cpp
C++
src/model/ModelMesh.cpp
JoaoBaptMG/INF443-Project
8c43007a8092931b125cc7feae2adf162e04534e
[ "MIT" ]
8
2020-06-09T00:43:39.000Z
2021-09-27T13:55:46.000Z
src/model/ModelMesh.cpp
JoaoBaptMG/INF443-Project
8c43007a8092931b125cc7feae2adf162e04534e
[ "MIT" ]
1
2020-06-09T02:38:55.000Z
2020-06-09T13:28:13.000Z
src/model/ModelMesh.cpp
JoaoBaptMG/INF443-Project
8c43007a8092931b125cc7feae2adf162e04534e
[ "MIT" ]
3
2020-06-09T00:28:11.000Z
2020-12-30T08:07:34.000Z
#include "ModelMesh.hpp" #include "Model.hpp" #include "ModelUtils.hpp" #include "resources/bufferUtils.hpp" #include "wrappers/glParamFromType.hpp" #include "assimpVectorTraits.hpp" using namespace model; ModelMesh::ModelMesh(const gl::Program& program, const aiMesh* mesh) { materialIndex = mesh->mMaterialIndex...
36.372222
125
0.670689
[ "mesh", "vector", "model" ]
b7800976cf09e965148322fb4ff006a94cc8b151
8,716
cpp
C++
cryptone_web/cryptone_web1/cryptone_web.cpp
oxfemale/cryptone_web
3afa0db7bdad83e1ac4f8ff9ea356cdc5bb15fe1
[ "Apache-2.0" ]
5
2018-02-03T10:08:10.000Z
2020-03-30T04:03:28.000Z
cryptone_web/cryptone_web1/cryptone_web.cpp
oxfemale/cryptone_web
3afa0db7bdad83e1ac4f8ff9ea356cdc5bb15fe1
[ "Apache-2.0" ]
null
null
null
cryptone_web/cryptone_web1/cryptone_web.cpp
oxfemale/cryptone_web
3afa0db7bdad83e1ac4f8ff9ea356cdc5bb15fe1
[ "Apache-2.0" ]
2
2019-01-30T20:59:12.000Z
2020-03-30T04:03:29.000Z
/* twitter: @oxfemale emails: root@eas7.ru or root@kitsune.online telegram: https://t.me/BelousovaAlisa */ #include "stdafx.h" #include "globalvars.h" #include "cryptone_web.h" #include "PacketFactory.h" #include "SystemInfo.h" #include "Container.h" #include "AskPasswords.h" #include "AskUsername.h" #inc...
29.445946
147
0.526962
[ "vector" ]
b7848514fddc297149cb2489f4e1c62f9896a898
3,700
cpp
C++
test/obfuscation-e2e/ProguardFieldObfuscationTest.cpp
parind/redex
a919919298f45e7ff33f03be7f819dc04e533182
[ "MIT" ]
null
null
null
test/obfuscation-e2e/ProguardFieldObfuscationTest.cpp
parind/redex
a919919298f45e7ff33f03be7f819dc04e533182
[ "MIT" ]
null
null
null
test/obfuscation-e2e/ProguardFieldObfuscationTest.cpp
parind/redex
a919919298f45e7ff33f03be7f819dc04e533182
[ "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. */ #include <cstdint> #include <cstdlib> #include <gtest/gtest.h> #include <iostream> #include <memory> #include <string> #include <a...
32.743363
109
0.693514
[ "object", "vector" ]
b786a02e7e7c59c37958b782fbae3992b0011cb5
9,780
cc
C++
src/utils/api_c/windows_api.cc
SxLewandowski/pmdk-tests
eb58fb8e7d4471b8958f1ead8874e41341df1005
[ "BSD-3-Clause" ]
null
null
null
src/utils/api_c/windows_api.cc
SxLewandowski/pmdk-tests
eb58fb8e7d4471b8958f1ead8874e41341df1005
[ "BSD-3-Clause" ]
null
null
null
src/utils/api_c/windows_api.cc
SxLewandowski/pmdk-tests
eb58fb8e7d4471b8958f1ead8874e41341df1005
[ "BSD-3-Clause" ]
1
2019-01-29T12:18:36.000Z
2019-01-29T12:18:36.000Z
/* * Copyright 2017-2018, Intel Corporation * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditions and ...
27.47191
80
0.628937
[ "vector" ]
b7923278e6cc142d9aa78a6cae26100bdc0b9466
12,241
hxx
C++
src/USRPCtrl.hxx
kb1vc/SoDaRadio
0a41fa3d795b1c93795ad62ad17bf2de5f60a752
[ "BSD-2-Clause" ]
14
2017-10-27T16:01:05.000Z
2021-03-16T08:12:42.000Z
src/USRPCtrl.hxx
dd0vs/SoDaRadio
0a41fa3d795b1c93795ad62ad17bf2de5f60a752
[ "BSD-2-Clause" ]
11
2017-09-16T03:13:11.000Z
2020-12-11T09:11:35.000Z
src/USRPCtrl.hxx
dd0vs/SoDaRadio
0a41fa3d795b1c93795ad62ad17bf2de5f60a752
[ "BSD-2-Clause" ]
6
2017-09-13T12:47:43.000Z
2020-12-02T20:54:25.000Z
/* Copyright (c) 2012, Matthew H. Reilly (kb1vc) 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 an...
41.077181
138
0.698554
[ "object", "model" ]
b79889221fffb3be00209b09fb7a6104e1a50479
14,547
cpp
C++
src/poly.cpp
SiriusTR/dle-experimental
2ee17b4277b68eef57960d5cf9762dd986eaa0d9
[ "MIT" ]
null
null
null
src/poly.cpp
SiriusTR/dle-experimental
2ee17b4277b68eef57960d5cf9762dd986eaa0d9
[ "MIT" ]
3
2019-09-10T03:50:40.000Z
2019-09-23T04:20:14.000Z
src/poly.cpp
SiriusTR/dle-experimental
2ee17b4277b68eef57960d5cf9762dd986eaa0d9
[ "MIT" ]
1
2021-10-02T14:16:28.000Z
2021-10-02T14:16:28.000Z
// Copyright (c) 1997 Bryan Aamot #include <stdio.h> #include <stdlib.h> #include <assert.h> #include <string.h> #include <math.h> #include <string.h> #include "stdafx.h" #include "dle-xp.h" #include "dlcDoc.h" #include "mineview.h" #include "define.h" #include "types.h" #include "global.h" #include "poly.h" #include "...
30.625263
144
0.526707
[ "render", "object", "model", "3d" ]
b7a1ab9a54f84d635d5a380173fcd770b6059796
3,887
cc
C++
src/solvers/test/test_MGCMFD.cc
baklanovp/libdetran
820efab9d03ae425ccefb9520bdb6c086fdbf939
[ "MIT" ]
4
2015-03-07T16:20:23.000Z
2020-02-10T13:40:16.000Z
src/solvers/test/test_MGCMFD.cc
baklanovp/libdetran
820efab9d03ae425ccefb9520bdb6c086fdbf939
[ "MIT" ]
3
2018-02-27T21:24:22.000Z
2020-12-16T00:56:44.000Z
src/solvers/test/test_MGCMFD.cc
baklanovp/libdetran
820efab9d03ae425ccefb9520bdb6c086fdbf939
[ "MIT" ]
9
2015-03-07T16:20:26.000Z
2022-01-29T00:14:23.000Z
//----------------------------------*-C++-*-----------------------------------// /** * @file test_MGSolverGS.cc * @brief Test of MGSolverGS * @note Copyright(C) 2012-2013 Jeremy Roberts */ //----------------------------------------------------------------------------// // LIST OF TEST FUNCTIONS #define TEST_L...
30.849206
80
0.553898
[ "mesh" ]
b7ab027bc81f6ed375d65ceddcc59cb4f48f082f
2,333
cpp
C++
code/deps/osrm/unit_tests/library/match.cpp
mbeckem/msc
93e71ba163a7ffef4eec3e83934fa793f3f50ff6
[ "MIT" ]
null
null
null
code/deps/osrm/unit_tests/library/match.cpp
mbeckem/msc
93e71ba163a7ffef4eec3e83934fa793f3f50ff6
[ "MIT" ]
null
null
null
code/deps/osrm/unit_tests/library/match.cpp
mbeckem/msc
93e71ba163a7ffef4eec3e83934fa793f3f50ff6
[ "MIT" ]
1
2021-11-24T14:24:44.000Z
2021-11-24T14:24:44.000Z
#include <boost/test/test_case_template.hpp> #include <boost/test/unit_test.hpp> #include "coordinates.hpp" #include "fixture.hpp" #include "waypoint_check.hpp" #include "osrm/match_parameters.hpp" #include "osrm/coordinate.hpp" #include "osrm/engine_config.hpp" #include "osrm/json_container.hpp" #include "osrm/osrm...
34.308824
88
0.630519
[ "object" ]
b7ace1cedfa2f8fadfbcbd877b8afe8d18c6e2d5
4,560
hpp
C++
modules/core/src/Aquila/core/Algorithm.hpp
dtmoodie/Acquilla
b395b7d1338221369f9b0b46c7abc20f7bc5e827
[ "MIT" ]
null
null
null
modules/core/src/Aquila/core/Algorithm.hpp
dtmoodie/Acquilla
b395b7d1338221369f9b0b46c7abc20f7bc5e827
[ "MIT" ]
null
null
null
modules/core/src/Aquila/core/Algorithm.hpp
dtmoodie/Acquilla
b395b7d1338221369f9b0b46c7abc20f7bc5e827
[ "MIT" ]
null
null
null
#pragma once #include "Aquila/core/detail/Export.hpp" #include "IAlgorithm.hpp" #include <MetaObject/object/MetaObject.hpp> #include <RuntimeObjectSystem/shared_ptr.hpp> #include <boost/circular_buffer.hpp> #include <boost/fiber/recursive_mutex.hpp> #include <boost/fiber/recursive_timed_mutex.hpp> #include <boost/thre...
40
106
0.675439
[ "object", "vector" ]
b7b1e549bcb009caab3e6306e5e1a369dfaeb16e
19,088
cpp
C++
Chimera/Source/GeneralImaging/PictureControl.cpp
zzpwahaha/Chimera-Control-Trim
df1bbf6bea0b87b8c7c9a99dce213fdc249118f2
[ "MIT" ]
null
null
null
Chimera/Source/GeneralImaging/PictureControl.cpp
zzpwahaha/Chimera-Control-Trim
df1bbf6bea0b87b8c7c9a99dce213fdc249118f2
[ "MIT" ]
null
null
null
Chimera/Source/GeneralImaging/PictureControl.cpp
zzpwahaha/Chimera-Control-Trim
df1bbf6bea0b87b8c7c9a99dce213fdc249118f2
[ "MIT" ]
null
null
null
// created by Mark O. Brown #include "stdafx.h" #include "PictureControl.h" #include <algorithm> #include <numeric> #include <boost/lexical_cast.hpp> #include <qlayout.h> PictureControl::PictureControl(bool histogramOption, Qt::TransformationMode mode) : histOption(histogramOption), /*QWidget(), */transformationMod...
33.370629
121
0.678803
[ "vector" ]
5d9d96a37015e65f1c036c88bad97b08d4d1ac84
895
cpp
C++
Fizzy/Code/Game/Main_Win32.cpp
cugone/Fizzy
6311533642d6feec2488011371027b13a8dfd96a
[ "MIT" ]
null
null
null
Fizzy/Code/Game/Main_Win32.cpp
cugone/Fizzy
6311533642d6feec2488011371027b13a8dfd96a
[ "MIT" ]
null
null
null
Fizzy/Code/Game/Main_Win32.cpp
cugone/Fizzy
6311533642d6feec2488011371027b13a8dfd96a
[ "MIT" ]
null
null
null
#include "Engine/Core/EngineBase.hpp" #include "Engine/Core/StringUtils.hpp" #include "Engine/Core/Win.hpp" #include "Game/Game.hpp" #include "Game/GameConfig.hpp" #include <sstream> #include <memory> #include <vector> #pragma warning(push) #pragma warning(disable: 28251) // No annotations for int WINA...
28.870968
151
0.729609
[ "vector" ]
5d9d99ba6eafb70990633b8d8e4ab9529946ae66
20,283
cpp
C++
src/python/py_main.cpp
adbmd/tomotopy
0ef8c6f3afecf9b610d39defe39e6c50e293682a
[ "MIT" ]
1
2020-09-22T14:30:19.000Z
2020-09-22T14:30:19.000Z
src/python/py_main.cpp
adbmd/tomotopy
0ef8c6f3afecf9b610d39defe39e6c50e293682a
[ "MIT" ]
null
null
null
src/python/py_main.cpp
adbmd/tomotopy
0ef8c6f3afecf9b610d39defe39e6c50e293682a
[ "MIT" ]
null
null
null
#define MAIN_MODULE #include "module.h" #include "label.h" #define TM_DMR #define TM_GDMR #define TM_HDP #define TM_MGLDA #define TM_PA #define TM_HPA #define TM_CT #define TM_SLDA #define TM_HLDA #define TM_LLDA #define TM_PLDA #define TM_DT using namespace std; PyObject* gModule; void char2Byte(const string& str...
28.249304
133
0.628556
[ "vector" ]
5d9ea131fd99d6a08cf2c372f589a08291d9b153
5,864
hpp
C++
escos/src/mmitss/SignalControl/mmitssSignalControl.hpp
OSADP/MMITSS_THEA
53ef55d0622f230002c75046db6af295592dbf0a
[ "Apache-2.0" ]
null
null
null
escos/src/mmitss/SignalControl/mmitssSignalControl.hpp
OSADP/MMITSS_THEA
53ef55d0622f230002c75046db6af295592dbf0a
[ "Apache-2.0" ]
null
null
null
escos/src/mmitss/SignalControl/mmitssSignalControl.hpp
OSADP/MMITSS_THEA
53ef55d0622f230002c75046db6af295592dbf0a
[ "Apache-2.0" ]
null
null
null
#pragma once #include <array> #include <cstdint> #include <future> #include <string> #include <vector> #include "ConnectedVehicle.h" #include "Schedule.h" #include "Config.h" #include "Mib.h" #include "Signal.h" #include "COP_DUAL_RING.h" #include "siekdbus.hpp" #include "udpReceiver.hpp" namespace WaveApp { namesp...
30.071795
90
0.688438
[ "vector" ]
5da14d083305bb964f4c8b06e0ac0045a2f05e7d
2,422
cpp
C++
EuclideanAlgorithmCalculator/EuclideanAlgorithmCalculator.cpp
EdwinTrejo/CMPE691
10af51e4ff49ae19e5cefcf4b20cacc33373209b
[ "MIT" ]
null
null
null
EuclideanAlgorithmCalculator/EuclideanAlgorithmCalculator.cpp
EdwinTrejo/CMPE691
10af51e4ff49ae19e5cefcf4b20cacc33373209b
[ "MIT" ]
null
null
null
EuclideanAlgorithmCalculator/EuclideanAlgorithmCalculator.cpp
EdwinTrejo/CMPE691
10af51e4ff49ae19e5cefcf4b20cacc33373209b
[ "MIT" ]
null
null
null
#include <iostream> #include <cstdlib> #include <vector> #include <cstdio> using namespace std; int checkInputInt(int& getNum); int findGcd(int& bigNum, int& smallNum); unsigned int smallNumberVectorSize, bigNumberVectorSize; int bigNumber, smallNumber, nextSmall, modGet, gcd; vector<int> smallNumberVector; vector<in...
29.180723
112
0.681255
[ "vector" ]
5da89cf745e0bf917afb46fb6f6041beeeb61d7f
1,481
cc
C++
solutions/cses/range-queries/1647.cc
zwliew/ctci
871f4fc957be96c6d0749d205549b7b35dc53d9e
[ "MIT" ]
4
2020-11-07T14:38:02.000Z
2022-01-03T19:02:36.000Z
solutions/cses/range-queries/1647.cc
zwliew/ctci
871f4fc957be96c6d0749d205549b7b35dc53d9e
[ "MIT" ]
1
2019-04-17T06:55:14.000Z
2019-04-17T06:55:14.000Z
solutions/cses/range-queries/1647.cc
zwliew/ctci
871f4fc957be96c6d0749d205549b7b35dc53d9e
[ "MIT" ]
null
null
null
#include <stdio.h> #include <algorithm> #include <array> #include <bitset> #include <cassert> #include <climits> #include <cmath> #include <deque> #include <fstream> #include <iomanip> #include <iostream> #include <map> #include <numeric> #include <queue> #include <set> #include <string> #include <unordered_map> #incl...
21.157143
67
0.546928
[ "vector" ]
5daa6f4ea5423f44dba16be6b7d4737386289acb
2,486
cpp
C++
practical_2/bullet.cpp
40330977/Games_Engineering_1
3a01f8fb31707cdabe657a7900992b8624ec38b7
[ "MIT" ]
null
null
null
practical_2/bullet.cpp
40330977/Games_Engineering_1
3a01f8fb31707cdabe657a7900992b8624ec38b7
[ "MIT" ]
null
null
null
practical_2/bullet.cpp
40330977/Games_Engineering_1
3a01f8fb31707cdabe657a7900992b8624ec38b7
[ "MIT" ]
null
null
null
//bullet.cpp #include "bullet.h" #include "game.h" #include "Ship.h" #include <iostream> using namespace sf; using namespace std; Bullet::Bullet() :Sprite() { setTexture(spritesheet); //setTextureRect(sf::IntRect(0, 0, 32, 32)); setOrigin(16, 16); //setPosition(sf::Vector2f(-64.0f,-64.0f)); setPosition(sf::Vecto...
20.716667
69
0.61786
[ "render" ]
5dba5e1801a7e938fda10431bb3b298e89719222
4,537
cpp
C++
src/route/replication_response_handler.cpp
audreyccheng/anna
f9a39207e9b6519f850a5be381b0be26aeac281d
[ "Apache-2.0" ]
2
2021-03-17T21:39:58.000Z
2022-01-12T18:36:47.000Z
src/route/replication_response_handler.cpp
audreyccheng/anna
f9a39207e9b6519f850a5be381b0be26aeac281d
[ "Apache-2.0" ]
3
2021-06-02T02:39:40.000Z
2021-06-23T01:58:14.000Z
src/route/replication_response_handler.cpp
audreyccheng/anna
f9a39207e9b6519f850a5be381b0be26aeac281d
[ "Apache-2.0" ]
null
null
null
// Copyright 2019 U.C. Berkeley RISE Lab // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law...
38.12605
102
0.678863
[ "vector" ]
5dc13c32c41833e25deb51bab42677b97baf040d
13,151
cpp
C++
FalcasEngine/Source Code/ComponentTransform2D.cpp
Falcas-Games/Falcas-Engine
a16316a246b7e7cf88b7362e0af9e9709085cc26
[ "MIT" ]
null
null
null
FalcasEngine/Source Code/ComponentTransform2D.cpp
Falcas-Games/Falcas-Engine
a16316a246b7e7cf88b7362e0af9e9709085cc26
[ "MIT" ]
null
null
null
FalcasEngine/Source Code/ComponentTransform2D.cpp
Falcas-Games/Falcas-Engine
a16316a246b7e7cf88b7362e0af9e9709085cc26
[ "MIT" ]
null
null
null
#include "ComponentTransform2D.h" #include "ComponentTransform.h" #include "External Libraries/ImGui/imgui.h" #include "External Libraries/MathGeoLib/include/Math/float3x3.h" #include "Application.h" #include "ModuleSceneIntro.h" #include "ModuleRenderer3D.h" #include "GameObject.h" #include "ModuleWindow.h" #include "...
26.567677
195
0.696069
[ "vector", "transform" ]
5dc2aebb045decee5f5cae306ebba29e14c632e2
1,516
hh
C++
cc/legend.hh
skepner/signature-page
5005e798687ef25dfcbd9356ada27b1909291392
[ "MIT" ]
null
null
null
cc/legend.hh
skepner/signature-page
5005e798687ef25dfcbd9356ada27b1909291392
[ "MIT" ]
null
null
null
cc/legend.hh
skepner/signature-page
5005e798687ef25dfcbd9356ada27b1909291392
[ "MIT" ]
null
null
null
#pragma once #include "acmacs-base/settings-v1.hh" #include "acmacs-draw/surface.hh" // ---------------------------------------------------------------------- class LegendSettings : public acmacs::settings::v1::object { public: using acmacs::settings::v1::object::object; acmacs::settings::v1::field<acmacs:...
37.9
117
0.569261
[ "object" ]
5dc48ca4382deab29fdb69e94efd0ff4559fe33a
3,870
cpp
C++
src/graph/InsertVertexExecutor.cpp
0xflotus/nebula
10faa87c83f66b62e0db493f958492afe8b569c8
[ "Apache-2.0" ]
1
2019-05-24T02:41:17.000Z
2019-05-24T02:41:17.000Z
src/graph/InsertVertexExecutor.cpp
steppenwolfyuetong/vgraph
b0d817fd151758d5ef788b2a26bc3e48a3fa4e18
[ "Apache-2.0" ]
null
null
null
src/graph/InsertVertexExecutor.cpp
steppenwolfyuetong/vgraph
b0d817fd151758d5ef788b2a26bc3e48a3fa4e18
[ "Apache-2.0" ]
null
null
null
/* Copyright (c) 2018 vesoft inc. All rights reserved. * * This source code is licensed under Apache 2.0 License, * attached with Common Clause Condition 1.0, found in the LICENSES directory. */ #include "base/Base.h" #include "graph/InsertVertexExecutor.h" #include "storage/client/StorageClient.h" #include "datam...
30.234375
97
0.562791
[ "vector" ]
5dc880c296a91ab4d6452f8e1c4cab3e6c427419
5,824
cc
C++
hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-nativetask/src/main/native/src/lib/NativeTask.cc
bzhaoopenstack/hadoop
24080666e5e2214d4a362c889cd9aa617be5de81
[ "Apache-2.0" ]
14,425
2015-01-01T15:34:43.000Z
2022-03-31T15:28:37.000Z
hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-nativetask/src/main/native/src/lib/NativeTask.cc
bzhaoopenstack/hadoop
24080666e5e2214d4a362c889cd9aa617be5de81
[ "Apache-2.0" ]
3,805
2015-03-20T15:58:53.000Z
2022-03-31T23:58:37.000Z
hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-nativetask/src/main/native/src/lib/NativeTask.cc
bzhaoopenstack/hadoop
24080666e5e2214d4a362c889cd9aa617be5de81
[ "Apache-2.0" ]
9,521
2015-01-01T19:12:52.000Z
2022-03-31T03: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 you under the Apache License, Version 2.0 (the * "License"); you ...
27.471698
80
0.603709
[ "vector" ]
5dcb5a906649e1d2890b78e4091a76a96c09bc6a
56,339
cpp
C++
src/OFFSET.cpp
khodarahmi/OFFSET
25fb6babaaf5498658c57a14e668844b08311aa1
[ "Apache-2.0" ]
3
2016-04-05T13:19:53.000Z
2021-12-07T01:21:27.000Z
src/OFFSET.cpp
khodarahmi/OFFSET
25fb6babaaf5498658c57a14e668844b08311aa1
[ "Apache-2.0" ]
null
null
null
src/OFFSET.cpp
khodarahmi/OFFSET
25fb6babaaf5498658c57a14e668844b08311aa1
[ "Apache-2.0" ]
2
2016-04-05T13:19:57.000Z
2021-12-07T01:21:48.000Z
#include "OFFSET.h" class GCUtil { public: static OF_VOID sort(OF_UINT list[][2], OF_BOOL ascending) { OF_BOOL changed = OF_TRUE; for(OF_BYTE i=0;changed && i<OF_HW_DATAPAGE_COUNT;i++) { changed = OF_FALSE; for(OF_BYTE j=0;j<OF_HW_DATAPAGE_COUNT-1;j++) { if((ascending && list[j][1] > list[j+1][1])...
28.141359
344
0.710804
[ "object" ]
5dd2d9a81c1ccfed5b2739a4b3537d0da9b87f09
9,421
hpp
C++
plugins/ThrustFilePlugin/src/base/forcemodel/FileThrust.hpp
IncompleteWorlds/GMAT_2020
624de54d00f43831a4d46b46703e069d5c8c92ff
[ "Apache-2.0" ]
null
null
null
plugins/ThrustFilePlugin/src/base/forcemodel/FileThrust.hpp
IncompleteWorlds/GMAT_2020
624de54d00f43831a4d46b46703e069d5c8c92ff
[ "Apache-2.0" ]
null
null
null
plugins/ThrustFilePlugin/src/base/forcemodel/FileThrust.hpp
IncompleteWorlds/GMAT_2020
624de54d00f43831a4d46b46703e069d5c8c92ff
[ "Apache-2.0" ]
null
null
null
//------------------------------------------------------------------------------ // FileThrust //------------------------------------------------------------------------------ // GMAT: General Mission Analysis Tool // // Copyright (c) 2002 - 2020 United States Government as represented by the ...
45.512077
112
0.615858
[ "object", "vector", "model" ]
5dd3f3c0c930175469d1b63c0cb5e65e7f447094
3,778
cpp
C++
platforms/linux/src/Transport/Socket/Socket.cpp
iotile/baBLE-linux
faedca2c70b7fe91ea8ae0c3d8aff6bf843bd9db
[ "MIT" ]
13
2018-07-04T16:35:37.000Z
2021-03-03T10:41:07.000Z
platforms/linux/src/Transport/Socket/Socket.cpp
iotile/baBLE
faedca2c70b7fe91ea8ae0c3d8aff6bf843bd9db
[ "MIT" ]
11
2018-06-01T20:32:32.000Z
2019-01-21T17:03:47.000Z
platforms/linux/src/Transport/Socket/Socket.cpp
iotile/baBLE-linux
faedca2c70b7fe91ea8ae0c3d8aff6bf843bd9db
[ "MIT" ]
null
null
null
#include <unistd.h> #include "Socket.hpp" #include "Exceptions/BaBLEException.hpp" using namespace std; Socket::Socket(sa_family_t domain, int type, int protocol): Socket() { m_domain = domain; m_socket = ::socket(m_domain, type, protocol); if (m_socket < 0) { throw Exceptions::BaBLEException( BaB...
24.532468
96
0.635257
[ "vector" ]
5de4b603542e928f3c65d772cf4511e7fdcacff5
1,783
cpp
C++
src/1752_check.cpp
guitargeek/leetcode
7d587774d3f922020b5ba3ca2d533b2686891fed
[ "MIT" ]
null
null
null
src/1752_check.cpp
guitargeek/leetcode
7d587774d3f922020b5ba3ca2d533b2686891fed
[ "MIT" ]
null
null
null
src/1752_check.cpp
guitargeek/leetcode
7d587774d3f922020b5ba3ca2d533b2686891fed
[ "MIT" ]
null
null
null
/** 1752. Check if Array Is Sorted and Rotated Given an array nums, return true if the array was originally sorted in non-decreasing order, then rotated some number of positions (including zero). Otherwise, return false. There may be duplicates in the original array. Note: An array A rotated by x positions results ...
21.22619
173
0.619742
[ "vector" ]
5de5c1756fcc8dbe767220bdb0749b6385e0c495
18,050
cc
C++
epid/common/math/unittests/bignum-test.cc
TinkerBoard-Android/external-epid-sdk
7d6a6b63582f241b4ae4248bab416277ed659968
[ "Apache-2.0" ]
1
2019-04-15T16:27:54.000Z
2019-04-15T16:27:54.000Z
epid/common/math/unittests/bignum-test.cc
TinkerBoard-Android/external-epid-sdk
7d6a6b63582f241b4ae4248bab416277ed659968
[ "Apache-2.0" ]
null
null
null
epid/common/math/unittests/bignum-test.cc
TinkerBoard-Android/external-epid-sdk
7d6a6b63582f241b4ae4248bab416277ed659968
[ "Apache-2.0" ]
null
null
null
/*############################################################################ # Copyright 2016-2017 Intel Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # ht...
33.738318
80
0.681551
[ "vector" ]
5de64b2f967c6a3ecb96722e549459825d4818d4
70,478
cpp
C++
project/retinaFindings.cpp
janmacek/retinaDiseaseClasifier
034e255f8f770aa9cb6b3c12688aedb60118da8d
[ "MIT" ]
null
null
null
project/retinaFindings.cpp
janmacek/retinaDiseaseClasifier
034e255f8f770aa9cb6b3c12688aedb60118da8d
[ "MIT" ]
null
null
null
project/retinaFindings.cpp
janmacek/retinaDiseaseClasifier
034e255f8f770aa9cb6b3c12688aedb60118da8d
[ "MIT" ]
2
2019-05-31T06:13:56.000Z
2020-01-21T08:19:05.000Z
// // Created by janko on 8.5.2016. // #include <iostream> #include <iomanip> #include <fstream> #include <opencv2/imgproc.hpp> #include <opencv2/highgui.hpp> #include <opencv2/ml/ml.hpp> #include <cv.hpp> #include <sys/stat.h> #include<iostream> #include<stdio.h> #include<ctype.h> #include<stdlib.h> #include <getopt....
44.465615
180
0.659284
[ "object", "shape", "vector", "model" ]
5df1dfff93f83787d0a10c401328c79055789ea1
5,283
cpp
C++
modules/bio_mapred/flatten_seqset.cpp
spiralgenetics/biograph
33c78278ce673e885f38435384f9578bfbf9cdb8
[ "BSD-2-Clause" ]
16
2021-07-14T23:32:31.000Z
2022-03-24T16:25:15.000Z
modules/bio_mapred/flatten_seqset.cpp
spiralgenetics/biograph
33c78278ce673e885f38435384f9578bfbf9cdb8
[ "BSD-2-Clause" ]
9
2021-07-20T20:39:47.000Z
2021-09-16T20:57:59.000Z
modules/bio_mapred/flatten_seqset.cpp
spiralgenetics/biograph
33c78278ce673e885f38435384f9578bfbf9cdb8
[ "BSD-2-Clause" ]
9
2021-07-15T19:38:35.000Z
2022-01-31T19:24:56.000Z
#include <atomic> #include <iostream> #include <thread> #include <boost/format.hpp> #include "modules/bio_base/seqset.h" #include "modules/bio_format/dna_io.h" #include "modules/bio_mapred/flatten_seqset.h" #include "modules/io/file_io.h" #include "modules/io/mmap_buffer.h" #include "modules/io/utils.h" #include "mod...
32.018182
117
0.719667
[ "vector" ]