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
08f8847df9b3ec5badb627ff05eed98347a648ec
10,256
cpp
C++
pvdn/detection/utils/image_operations.cpp
larsOhne/pvdn
0b6a8d0463909009152973f2edddbe49a054d4a2
[ "CC0-1.0" ]
13
2021-01-02T06:08:01.000Z
2021-12-15T17:23:19.000Z
pvdn/detection/utils/image_operations.cpp
larsOhne/pvdn
0b6a8d0463909009152973f2edddbe49a054d4a2
[ "CC0-1.0" ]
2
2021-01-28T07:53:28.000Z
2021-07-29T15:50:40.000Z
pvdn/detection/utils/image_operations.cpp
larsOhne/pvdn
0b6a8d0463909009152973f2edddbe49a054d4a2
[ "CC0-1.0" ]
1
2021-02-11T10:58:39.000Z
2021-02-11T10:58:39.000Z
//#include "python3.8/Python.h" #include "python2.7/Python.h" #include <stdio.h> #include <stdlib.h> #include "math.h" #include <vector> #include "HeadLampObject.h" #include <numeric> // using namespace std; extern "C" { int min (int a, int b) { int result; if (a < b) { re...
29.813953
152
0.455831
[ "vector" ]
1c02362df5fad69a779a12c39018c0336a295a29
12,581
cpp
C++
Source/TitaniumKit/test/GlobalObjectTests.cpp
garymathews/titanium_mobile_windows
ff2a02d096984c6cad08f498e1227adf496f84df
[ "Apache-2.0" ]
20
2015-04-02T06:55:30.000Z
2022-03-29T04:27:30.000Z
Source/TitaniumKit/test/GlobalObjectTests.cpp
garymathews/titanium_mobile_windows
ff2a02d096984c6cad08f498e1227adf496f84df
[ "Apache-2.0" ]
692
2015-04-01T21:05:49.000Z
2020-03-10T10:11:57.000Z
Source/TitaniumKit/test/GlobalObjectTests.cpp
garymathews/titanium_mobile_windows
ff2a02d096984c6cad08f498e1227adf496f84df
[ "Apache-2.0" ]
22
2015-04-01T20:57:51.000Z
2022-01-18T17:33:15.000Z
/** * TitaniumKit * * Copyright (c) 2014 by Appcelerator, Inc. All Rights Reserved. * Licensed under the terms of the Apache Public License. * Please see the LICENSE included with this distribution for details. */ #include "Titanium/GlobalObject.hpp" #include "NativeGlobalObjectExample.hpp" #include "gtest/gtest...
30.536408
122
0.75614
[ "vector" ]
1c0c1ce9429800fb72e988c1776bed5d02235b85
9,248
cpp
C++
source/utils/CppUtils.cpp
Frangou-Lab/libgene
28d11eea1489dd473f8376ff6475b53f12594fe6
[ "Apache-2.0" ]
null
null
null
source/utils/CppUtils.cpp
Frangou-Lab/libgene
28d11eea1489dd473f8376ff6475b53f12594fe6
[ "Apache-2.0" ]
null
null
null
source/utils/CppUtils.cpp
Frangou-Lab/libgene
28d11eea1489dd473f8376ff6475b53f12594fe6
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2018 Frangou 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 or agreed to i...
29.832258
96
0.594831
[ "vector" ]
1c0e652fb8e369344a534cf213ec9c71caf73890
4,566
cc
C++
config/test/config-flags1/config-flags1.cc
Ubix/wanproxy
76ca6cc15d8dd87f2bad7e56c935b8dfb765ae68
[ "BSD-2-Clause" ]
98
2015-01-07T14:31:54.000Z
2022-03-19T16:38:56.000Z
config/test/config-flags1/config-flags1.cc
Ubix/wanproxy
76ca6cc15d8dd87f2bad7e56c935b8dfb765ae68
[ "BSD-2-Clause" ]
23
2015-04-26T06:17:08.000Z
2020-09-20T09:20:05.000Z
config/test/config-flags1/config-flags1.cc
Ubix/wanproxy
76ca6cc15d8dd87f2bad7e56c935b8dfb765ae68
[ "BSD-2-Clause" ]
32
2015-01-04T01:15:05.000Z
2021-11-13T22:47:41.000Z
/* * Copyright (c) 2009-2013 Juli Mallett. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of cond...
27.178571
90
0.681997
[ "object" ]
1c138506a3c7d6b2cd2bc5afaab4c64f6d65f44a
4,176
cpp
C++
Source/DialogueBox.cpp
AramisHM/Irrahm-Studio
f1ceec1bfcd349facd98932c6485a25de3bd874f
[ "MIT" ]
null
null
null
Source/DialogueBox.cpp
AramisHM/Irrahm-Studio
f1ceec1bfcd349facd98932c6485a25de3bd874f
[ "MIT" ]
null
null
null
Source/DialogueBox.cpp
AramisHM/Irrahm-Studio
f1ceec1bfcd349facd98932c6485a25de3bd874f
[ "MIT" ]
null
null
null
/* Irrahm Engine Developer: Aramis Hornung Moraes Dialogue.cpp - System's general definitions, variables and fuctions. Some windows/dialogue boxes build sets. For more informations about the functions in this source file, go to "Dialogue.h". */ #include "video/irrlicht.h" #include "namespaces.h" #include "device....
60.521739
174
0.66978
[ "vector" ]
1c1393e095b8a1bd988cb72e2c2618ff5442aafe
1,311
cpp
C++
signalTest.cpp
paulbendixen/testring
9c246d389eff4cf9371703ae04029ed49259b0f5
[ "MIT" ]
null
null
null
signalTest.cpp
paulbendixen/testring
9c246d389eff4cf9371703ae04029ed49259b0f5
[ "MIT" ]
null
null
null
signalTest.cpp
paulbendixen/testring
9c246d389eff4cf9371703ae04029ed49259b0f5
[ "MIT" ]
null
null
null
// // Created by expert on 16-04-17. // #include "signalTest.hpp" #include <algorithm> #include <array> #include <fstream> #include <iostream> void signalTest::runTest( double runlength ) { // generate a signal std::vector< double > signal; signal.resize( static_cast< unsigned long >( std::round( runlength * this-...
27.893617
108
0.639207
[ "vector", "transform" ]
1c2353143fadbe0d5b7d0cbe9cb9afda3e886267
42,545
cc
C++
game/graphics.cc
Faerbit/Saxum
3b255142337e08988f2b4f1f56d6e061e8754336
[ "CC-BY-3.0", "CC-BY-4.0" ]
2
2015-03-12T16:19:10.000Z
2015-11-24T20:23:26.000Z
game/graphics.cc
Faerbit/Saxum
3b255142337e08988f2b4f1f56d6e061e8754336
[ "CC-BY-3.0", "CC-BY-4.0" ]
15
2015-03-14T14:13:12.000Z
2015-06-02T18:39:55.000Z
game/graphics.cc
Faerbit/Saxum
3b255142337e08988f2b4f1f56d6e061e8754336
[ "CC-BY-3.0", "CC-BY-4.0" ]
null
null
null
#include "graphics.hh" #include <lodepng/lodepng.h> #include <iomanip> #include <sstream> #include <functional> #include <ACGL/OpenGL/Creator/ShaderProgramCreator.hh> #include "LinearMath/btIDebugDraw.h" using namespace ACGL::OpenGL; const double lightUpdateDelay = 0.5f; const double windUpdateDelay = 0.5f; const i...
46.855727
181
0.625291
[ "render", "object", "vector" ]
1c2a7e61b64b24977eb4772c6530c17472bdc57c
14,699
cpp
C++
src/lib/THClReduce.cpp
spijdar/cltorch
579800c5eb3809324056bd5a6cb1af892938ca5f
[ "BSD-3-Clause" ]
308
2015-06-11T02:41:57.000Z
2022-01-21T04:31:56.000Z
src/lib/THClReduce.cpp
spijdar/cltorch
579800c5eb3809324056bd5a6cb1af892938ca5f
[ "BSD-3-Clause" ]
76
2015-06-21T11:57:46.000Z
2022-02-26T07:23:16.000Z
src/lib/THClReduce.cpp
spijdar/cltorch
579800c5eb3809324056bd5a6cb1af892938ca5f
[ "BSD-3-Clause" ]
29
2015-06-11T11:15:10.000Z
2021-11-01T13:54:10.000Z
#include <iostream> #include "THClReduce.h" #include "THClTypeParseTraits.h" using namespace std; #define THCL_NONCONTIG_REDUCE_BLOCK_SIZE 32 * 16 static int getNonContigReduceBlockSize(THClState *state) { int blockSize = 1024; int maxWorkgroupSize = ((easycl::DeviceInfo *)state->deviceInfoByDevice[state->curre...
34.263403
131
0.633444
[ "vector" ]
1c2f9ca479f1e81c10ed8ab455f0be348e3c0c74
21,780
cpp
C++
KeyboardInit.cpp
RadStr/Music-Keyboard
0c6ec4fc98c215911c5680ed0397b320770849d0
[ "MIT" ]
1
2019-05-14T20:16:41.000Z
2019-05-14T20:16:41.000Z
KeyboardInit.cpp
RadStr/Music-Keyboard
0c6ec4fc98c215911c5680ed0397b320770849d0
[ "MIT" ]
21
2019-08-07T09:54:13.000Z
2020-03-06T16:16:20.000Z
KeyboardInit.cpp
RadStr/Music-Keyboard
0c6ec4fc98c215911c5680ed0397b320770849d0
[ "MIT" ]
null
null
null
#include "Keyboard.h" ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////// /////// Constructor ////////////////////////////////// //////////////////////////...
35.072464
171
0.664233
[ "vector" ]
1c33b60823796ac97de22db49ceaa3d44a28c8d9
886
cpp
C++
code/test/triangulation.cpp
Brunovsky/competitive
41cf49378e430ca20d844f97c67aa5059ab1e973
[ "MIT" ]
7
2020-10-15T22:37:10.000Z
2022-02-26T17:23:49.000Z
code/test/triangulation.cpp
brunodccarvalho/competitive
4177c439174fbe749293b9da3445ce7303bd23c2
[ "MIT" ]
null
null
null
code/test/triangulation.cpp
brunodccarvalho/competitive
4177c439174fbe749293b9da3445ce7303bd23c2
[ "MIT" ]
null
null
null
#include "test_utils.hpp" #include "geometry/triangulation.hpp" #include "geometry/utils2d.hpp" #include "geometry/generator2d.hpp" void stress_test_constrained_triangulation() { LOOP_FOR_DURATION_OR_RUNS_TRACKED (30s, now, 20'000, runs) { print_time(now, 30s, "stress constrained triangulation {} runs", ru...
30.551724
79
0.671558
[ "geometry" ]
1c36e09364260718722db7af985b97216a19fa91
1,478
cpp
C++
LeetCode/C++/205. Isomorphic Strings.cpp
shreejitverma/GeeksforGeeks
d7bcb166369fffa9a031a258e925b6aff8d44e6c
[ "MIT" ]
2
2022-02-18T05:14:28.000Z
2022-03-08T07:00:08.000Z
LeetCode/C++/205. Isomorphic Strings.cpp
shivaniverma1/Competitive-Programming-1
d7bcb166369fffa9a031a258e925b6aff8d44e6c
[ "MIT" ]
6
2022-01-13T04:31:04.000Z
2022-03-12T01:06:16.000Z
LeetCode/C++/205. Isomorphic Strings.cpp
shivaniverma1/Competitive-Programming-1
d7bcb166369fffa9a031a258e925b6aff8d44e6c
[ "MIT" ]
2
2022-02-14T19:53:53.000Z
2022-02-18T05:14:30.000Z
//Runtime: 24 ms, faster than 8.57% of C++ online submissions for Isomorphic Strings. //Memory Usage: 9.3 MB, less than 7.37% of C++ online submissions for Isomorphic Strings. class Solution { public: bool isIsomorphic(string s, string t) { if(s.size() != t.size()) return false; //need to ...
27.37037
89
0.485792
[ "vector" ]
1c49f4ec3cec883bac01df9eed737f46b5fbb7f6
18,809
cpp
C++
src/mongo/db/update/delta_executor_test.cpp
benety/mongo
203430ac9559f82ca01e3cbb3b0e09149fec0835
[ "Apache-2.0" ]
null
null
null
src/mongo/db/update/delta_executor_test.cpp
benety/mongo
203430ac9559f82ca01e3cbb3b0e09149fec0835
[ "Apache-2.0" ]
null
null
null
src/mongo/db/update/delta_executor_test.cpp
benety/mongo
203430ac9559f82ca01e3cbb3b0e09149fec0835
[ "Apache-2.0" ]
null
null
null
/** * Copyright (C) 2020-present MongoDB, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the Server Side Public License, version 1, * as published by MongoDB, Inc. * * This program is distributed in the hope that it will be useful, * but W...
48.104859
99
0.609549
[ "object" ]
1c4c945b67ad94c9124f34c4b2b842575b85195f
8,894
hpp
C++
src/mts/pes.hpp
steinwurf/mts
c0dc4fc564469dee3ddf8ef3968208df33ea650b
[ "BSD-3-Clause" ]
2
2017-12-09T20:08:43.000Z
2020-01-13T13:01:13.000Z
src/mts/pes.hpp
steinwurf/mts
c0dc4fc564469dee3ddf8ef3968208df33ea650b
[ "BSD-3-Clause" ]
1
2019-02-26T14:48:55.000Z
2019-02-26T14:48:55.000Z
src/mts/pes.hpp
steinwurf/mts
c0dc4fc564469dee3ddf8ef3968208df33ea650b
[ "BSD-3-Clause" ]
2
2017-12-09T20:08:00.000Z
2019-12-03T02:09:39.000Z
// Copyright (c) Steinwurf ApS 2017. // All Rights Reserved // // Distributed under the "BSD License". See the accompanying LICENSE.rst file. #pragma once #include <cstdint> #include <cassert> #include <vector> #include <memory> #include <endian/big_endian.hpp> #include <bnb/stream_reader.hpp> #include <boost/option...
25.557471
84
0.570272
[ "vector" ]
1c59b05958d4a3d19b7e6a16520c7bda873548f5
988
cpp
C++
Online Judges/UVA/11463/3415632_AC_55ms_0kB.cpp
moni-roy/COPC
f5918304815413c18574ef4af2e23a604bd9f704
[ "MIT" ]
4
2017-02-20T17:41:14.000Z
2019-07-15T14:15:34.000Z
Online Judges/UVA/11463/3415632_AC_55ms_0kB.cpp
moni-roy/COPC
f5918304815413c18574ef4af2e23a604bd9f704
[ "MIT" ]
null
null
null
Online Judges/UVA/11463/3415632_AC_55ms_0kB.cpp
moni-roy/COPC
f5918304815413c18574ef4af2e23a604bd9f704
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; #define ll long long #define inf 9999999 vector<int>e[101]; int ok[101],sv[101][101],grp[101][101]; int ts,n,p,st,en,cs=0; int floyed() { for(int k=0; k<n; k++) { for(int i=0; i<n; i++) { for(int j=0; j<n; j++) { ...
18.641509
57
0.346154
[ "vector" ]
1c5afc410e47440a59f1abba77ac6b7af0643643
10,574
cxx
C++
main/store/source/storlckb.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/store/source/storlckb.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/store/source/storlckb.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 y...
23.602679
91
0.655476
[ "object" ]
1c61c683f0b2f4c1d205b81422943939a7a1e831
1,822
hpp
C++
include/meevax/memory/cell.hpp
yamacir-kit/meevax
ff9449a16380eac727c914a33449e9b3a7597b8e
[ "Apache-2.0" ]
13
2018-11-27T02:06:58.000Z
2022-01-01T16:07:12.000Z
include/meevax/memory/cell.hpp
yamacir-kit/meevax
ff9449a16380eac727c914a33449e9b3a7597b8e
[ "Apache-2.0" ]
89
2017-11-24T23:58:06.000Z
2022-02-06T14:54:01.000Z
include/meevax/memory/cell.hpp
yamacir-kit/meevax
ff9449a16380eac727c914a33449e9b3a7597b8e
[ "Apache-2.0" ]
4
2017-12-22T15:45:46.000Z
2020-01-12T19:50:45.000Z
/* Copyright 2018-2021 Tatsuya Yamasaki. 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...
25.305556
75
0.673436
[ "object" ]
1c6b4b161a0452bafc1f269b901661c1b6007ce2
5,238
hpp
C++
include/elemental/blas-like/level3/TwoSidedTrsm.hpp
ahmadia/Elemental-1
f9a82c76a06728e9e04a4316e41803efbadb5a19
[ "BSD-3-Clause" ]
null
null
null
include/elemental/blas-like/level3/TwoSidedTrsm.hpp
ahmadia/Elemental-1
f9a82c76a06728e9e04a4316e41803efbadb5a19
[ "BSD-3-Clause" ]
null
null
null
include/elemental/blas-like/level3/TwoSidedTrsm.hpp
ahmadia/Elemental-1
f9a82c76a06728e9e04a4316e41803efbadb5a19
[ "BSD-3-Clause" ]
null
null
null
/* Copyright (c) 2009-2013, Jack Poulson All rights reserved. This file is part of Elemental and is under the BSD 2-Clause License, which can be found in the LICENSE file in the root directory, or at http://opensource.org/licenses/BSD-2-Clause */ #pragma once #ifndef BLAS_TWOSIDEDTRSM_HPP #define BLAS...
28.16129
76
0.560519
[ "vector" ]
1c70b80cf7a42b399f3903e5c241a27c4e94c5a4
59,770
cpp
C++
atmel-rf-driver/source/NanostackRfPhyAtmel.cpp
ghsecuritylab/BLEClient_mbedDevConn_Watson
f162ec8a99ab3b21cee28aaed65da60cf5dd6618
[ "Apache-2.0" ]
1
2019-05-28T04:54:23.000Z
2019-05-28T04:54:23.000Z
atmel-rf-driver/source/NanostackRfPhyAtmel.cpp
ghsecuritylab/BLEClient_mbedDevConn_Watson
f162ec8a99ab3b21cee28aaed65da60cf5dd6618
[ "Apache-2.0" ]
1
2017-02-20T10:48:02.000Z
2017-02-21T11:34:16.000Z
atmel-rf-driver/source/NanostackRfPhyAtmel.cpp
ghsecuritylab/BLEClient_mbedDevConn_Watson
f162ec8a99ab3b21cee28aaed65da60cf5dd6618
[ "Apache-2.0" ]
3
2017-02-07T15:06:06.000Z
2021-02-19T13:56:31.000Z
/* * Copyright (c) 2014-2015 ARM Limited. All rights reserved. * SPDX-License-Identifier: Apache-2.0 * Licensed under the Apache License, Version 2.0 (the License); you may * not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICE...
23.774861
121
0.64447
[ "vector" ]
1c73f8f193efb09271152766df51d8734198609e
5,235
cpp
C++
src/pcd/types.cpp
ErlangZ/Caffe
fcbd1c8871e31a5abdc40f7eac92929fd697363d
[ "BSD-2-Clause" ]
null
null
null
src/pcd/types.cpp
ErlangZ/Caffe
fcbd1c8871e31a5abdc40f7eac92929fd697363d
[ "BSD-2-Clause" ]
null
null
null
src/pcd/types.cpp
ErlangZ/Caffe
fcbd1c8871e31a5abdc40f7eac92929fd697363d
[ "BSD-2-Clause" ]
null
null
null
// Copyright (c) 2016 Baidu.com, Inc. All Rights Reserved // @author erlangz(zhengwenchao@baidu.com) // @date 2016/12/22 16:13:51 // @file types.cpp // @brief #include "pcd/types.h" #include <boost/typeof/typeof.hpp> #include <boost/foreach.hpp> #include <pcl/filters/extract_indices.h> namespace adu { namespace pe...
35.612245
167
0.601337
[ "vector" ]
cc679bdaa21ece8c688a9e910d02cb1622ebc671
15,325
hpp
C++
libs/boost_1_72_0/boost/proto/fusion.hpp
henrywarhurst/matrix
317a2a7c35c1c7e3730986668ad2270dc19809ef
[ "BSD-3-Clause" ]
null
null
null
libs/boost_1_72_0/boost/proto/fusion.hpp
henrywarhurst/matrix
317a2a7c35c1c7e3730986668ad2270dc19809ef
[ "BSD-3-Clause" ]
null
null
null
libs/boost_1_72_0/boost/proto/fusion.hpp
henrywarhurst/matrix
317a2a7c35c1c7e3730986668ad2270dc19809ef
[ "BSD-3-Clause" ]
null
null
null
/////////////////////////////////////////////////////////////////////////////// /// \file fusion.hpp /// Make any Proto expression a valid Fusion sequence // // Copyright 2008 Eric Niebler. Distributed under the Boost // Software License, Version 1.0. (See accompanying file // LICENSE_1_0.txt or copy at http://www.b...
31.663223
80
0.703948
[ "transform" ]
cc6d4fc381f023db471a626fafe92ef0fff7e128
16,832
cpp
C++
source/houaud/test/hou/aud/test_ogg_file_in.cpp
DavideCorradiDev/houzi-game-engine
d704aa9c5b024300578aafe410b7299c4af4fcec
[ "MIT" ]
2
2018-04-12T20:59:20.000Z
2018-07-26T16:04:07.000Z
source/houaud/test/hou/aud/test_ogg_file_in.cpp
DavideCorradiDev/houzi-game-engine
d704aa9c5b024300578aafe410b7299c4af4fcec
[ "MIT" ]
null
null
null
source/houaud/test/hou/aud/test_ogg_file_in.cpp
DavideCorradiDev/houzi-game-engine
d704aa9c5b024300578aafe410b7299c4af4fcec
[ "MIT" ]
null
null
null
// Houzi Game Engine // Copyright (c) 2018 Davide Corradi // Licensed under the MIT license. #include "hou/test.hpp" #include "hou/aud/test_data.hpp" #include "hou/aud/aud_exceptions.hpp" #include "hou/aud/ogg_file_in.hpp" #include "hou/sys/file.hpp" #include "hou/sys/sys_exceptions.hpp" using namespace hou; using ...
27.913765
80
0.756595
[ "vector" ]
cc6f466329d7283c6d4f2decd617df6dfdbb5e98
1,314
cpp
C++
DirectProgramming/DPC++/Jupyter/oneapi-essentials-training/07_DPCPP_Library/src/zip_iterator.cpp
tiwaria1/oneAPI-samples
18310adf63c7780715f24034acfb0bf01d15521f
[ "MIT" ]
310
2020-07-09T01:00:11.000Z
2022-03-31T17:52:14.000Z
DirectProgramming/DPC++/Jupyter/oneapi-essentials-training/07_DPCPP_Library/src/zip_iterator.cpp
tiwaria1/oneAPI-samples
18310adf63c7780715f24034acfb0bf01d15521f
[ "MIT" ]
438
2020-06-30T23:25:19.000Z
2022-03-31T00:37:13.000Z
DirectProgramming/DPC++/Jupyter/oneapi-essentials-training/07_DPCPP_Library/src/zip_iterator.cpp
tiwaria1/oneAPI-samples
18310adf63c7780715f24034acfb0bf01d15521f
[ "MIT" ]
375
2020-06-04T22:58:24.000Z
2022-03-30T11:04:18.000Z
//============================================================== // Copyright © 2020 Intel Corporation // // SPDX-License-Identifier: MIT // ============================================================= #include <oneapi/dpl/algorithm> #include <oneapi/dpl/execution> #include <oneapi/dpl/iterator> using namespace sycl;...
39.818182
102
0.589041
[ "vector" ]
cc6f652502fd8ebf12a75a73fc594dce39ca196a
1,375
cpp
C++
examples/data_distribution/binscatter/binscatter_4.cpp
lpea/matplotplusplus
642f04b5bc2f7c7ec0f4b81c683bbd30bcbc4ed8
[ "MIT" ]
1
2022-03-22T11:09:19.000Z
2022-03-22T11:09:19.000Z
examples/data_distribution/binscatter/binscatter_4.cpp
lpea/matplotplusplus
642f04b5bc2f7c7ec0f4b81c683bbd30bcbc4ed8
[ "MIT" ]
null
null
null
examples/data_distribution/binscatter/binscatter_4.cpp
lpea/matplotplusplus
642f04b5bc2f7c7ec0f4b81c683bbd30bcbc4ed8
[ "MIT" ]
1
2022-03-22T11:46:39.000Z
2022-03-22T11:46:39.000Z
#include <matplot/matplot.h> #include <random> #include <tuple> int main() { using namespace matplot; auto f = figure(true); f->width(f->width() * 2); f->height(f->height() * 2); f->x_position(200); f->y_position(100); auto x = randn(1e6, 0, 1); auto y = transform(x, [](double x) { re...
25.943396
77
0.621091
[ "transform" ]
cc85b137ecb3d5a67a8acee0caf77d9af9b8efef
382
cpp
C++
C++/count-ways-to-distribute-candies.cpp
Priyansh2/LeetCode-Solutions
d613da1881ec2416ccbe15f20b8000e36ddf1291
[ "MIT" ]
3,269
2018-10-12T01:29:40.000Z
2022-03-31T17:58:41.000Z
C++/count-ways-to-distribute-candies.cpp
Priyansh2/LeetCode-Solutions
d613da1881ec2416ccbe15f20b8000e36ddf1291
[ "MIT" ]
53
2018-12-16T22:54:20.000Z
2022-02-25T08:31:20.000Z
C++/count-ways-to-distribute-candies.cpp
Priyansh2/LeetCode-Solutions
d613da1881ec2416ccbe15f20b8000e36ddf1291
[ "MIT" ]
1,236
2018-10-12T02:51:40.000Z
2022-03-30T13:30:37.000Z
// Time: O(n * k) // Space: O(k) class Solution { public: int waysToDistribute(int n, int k) { static int MOD = 1e9 + 7; vector<int64_t> dp(k, 1); for (int i = 1; i < n; ++i) { for (int j = min(i, k) - 1; j >= 1; --j) { dp[j] = ((j + 1) * dp[j] + dp[j - 1]) % MO...
22.470588
60
0.379581
[ "vector" ]
cc89571b1d8fad78a26dd16f8c09f90a99500787
587
cpp
C++
frifun.cpp
biswajitcsecu/C-practice
bdd3eaf2e8fdbbf36a3b3ed9ed5757964ffc5e22
[ "Apache-2.0" ]
1
2020-11-25T16:14:34.000Z
2020-11-25T16:14:34.000Z
frifun.cpp
biswajitcsecu/C-practice
bdd3eaf2e8fdbbf36a3b3ed9ed5757964ffc5e22
[ "Apache-2.0" ]
null
null
null
frifun.cpp
biswajitcsecu/C-practice
bdd3eaf2e8fdbbf36a3b3ed9ed5757964ffc5e22
[ "Apache-2.0" ]
null
null
null
// Demonstrate object assignment. #include <iostream> using namespace std; class myclass { int a, b; public: void setab(int i, int j) { a = i, b = j; } void showab(); }; void myclass::showab() { cout << "a is " << a << '\n'; cout << "b is " << b << '\n'; } int main() { myclass ob1, ob2; ob1.setab(10, 20); ob2.setab...
16.771429
42
0.599659
[ "object" ]
cc8ba5f8fffd864153d2b8e9696863734b48cc08
2,040
cpp
C++
examples/1-1-2-segments_intersection/main.cpp
hyperpower/CarpioPlus
68cc6c976d6c3ba6adec847a94c344be3f4690aa
[ "MIT" ]
null
null
null
examples/1-1-2-segments_intersection/main.cpp
hyperpower/CarpioPlus
68cc6c976d6c3ba6adec847a94c344be3f4690aa
[ "MIT" ]
1
2018-06-18T03:52:56.000Z
2018-06-18T03:52:56.000Z
examples/1-1-2-segments_intersection/main.cpp
hyperpower/CarpioPlus
68cc6c976d6c3ba6adec847a94c344be3f4690aa
[ "MIT" ]
null
null
null
#include <iostream> #include <memory> #include <string> #include "geometry/geometry.hpp" using namespace carpio; typedef IntersectionPairSS_<double, 2> Inter; typedef Point_<double, 2> Point2; typedef Segment_<double, 2> Seg2; typedef GGnuplotActor_<double, 2> GA; int a_case(const Point...
28.732394
78
0.55049
[ "geometry" ]
cc905978a34cc27cd4da912dd7292e69f7aabf6b
2,377
hpp
C++
src/InternalNode.hpp
romz-pl/amittai-btree
ccfb9a36068d641be57bcbfe4ca53bea19685f8e
[ "Apache-2.0" ]
null
null
null
src/InternalNode.hpp
romz-pl/amittai-btree
ccfb9a36068d641be57bcbfe4ca53bea19685f8e
[ "Apache-2.0" ]
13
2018-04-22T14:54:10.000Z
2018-05-04T05:14:13.000Z
src/InternalNode.hpp
romz-pl/amittai-btree
ccfb9a36068d641be57bcbfe4ca53bea19685f8e
[ "Apache-2.0" ]
null
null
null
#ifndef ROMZ_AMITTAI_BTREE_INTERNALNODE_H #define ROMZ_AMITTAI_BTREE_INTERNALNODE_H // // 1. Let us consider a node containing m pointers (m <= n). // Available indexes: i = 1, 2, ..., m. // // 2. Valid pointers: P_1, P_2, ..., P_m // // 3. Valid keys: K_1, K_2, ..., K_{m-1} // // 4. For i = 2, 3, ..., (m − 1) poin...
27.011364
95
0.687
[ "vector" ]
cc911069db0fb80c6d1668caec69dcb9b8f7835e
27,344
cpp
C++
Source/main.cpp
kwoolytech/AmazonKinesisProducerCpp
a3ae85be069ccc5f4169928b9c9766cab9544719
[ "MIT" ]
null
null
null
Source/main.cpp
kwoolytech/AmazonKinesisProducerCpp
a3ae85be069ccc5f4169928b9c9766cab9544719
[ "MIT" ]
null
null
null
Source/main.cpp
kwoolytech/AmazonKinesisProducerCpp
a3ae85be069ccc5f4169928b9c9766cab9544719
[ "MIT" ]
null
null
null
#include <gst/gst.h> #include <gst/app/gstappsink.h> #include <string.h> #include <chrono> #include <Logger.h> #include "KinesisVideoProducer.h" #include <vector> #include <stdlib.h> #include <mutex> #include <IotCertCredentialProvider.h> using namespace std; using namespace com::amazonaws::kinesis::video; using names...
38.350631
266
0.647345
[ "vector" ]
cc95a0e5b67066164b1608e240fc49295662c564
8,936
cpp
C++
examples/ShadowMapping/MainWindow.cpp
unclejimbo/Klein
bf0f91161ea583d4b053ebae17b92ed57680d8a4
[ "BSD-3-Clause" ]
37
2017-10-03T16:49:43.000Z
2022-03-11T05:45:05.000Z
examples/ShadowMapping/MainWindow.cpp
unclejimbo/Klein
bf0f91161ea583d4b053ebae17b92ed57680d8a4
[ "BSD-3-Clause" ]
null
null
null
examples/ShadowMapping/MainWindow.cpp
unclejimbo/Klein
bf0f91161ea583d4b053ebae17b92ed57680d8a4
[ "BSD-3-Clause" ]
3
2019-09-01T15:59:20.000Z
2020-04-17T12:29:43.000Z
#include "MainWindow.h" #include <Klein/Input/TrackballCameraController.h> #include <Klein/Render/CheckerboardTextureImage.h> #include <Klein/Render/DirectionalShadowCaster.h> #include <Klein/Render/PBRMaterial.h> #include <imgui.h> #include <QColor> #include <QVector3D> #include <Qt3DCore/QEntity> #include <Qt3DCore/Q...
37.864407
80
0.708259
[ "mesh", "render" ]
cc968b7dda17744b5eff14270930339f000bee9a
788
cpp
C++
aws-cpp-sdk-compute-optimizer/source/model/GetEnrollmentStatusRequest.cpp
lintonv/aws-sdk-cpp
15e19c265ffce19d2046b18aa1b7307fc5377e58
[ "Apache-2.0" ]
1
2022-02-10T08:06:54.000Z
2022-02-10T08:06:54.000Z
aws-cpp-sdk-compute-optimizer/source/model/GetEnrollmentStatusRequest.cpp
lintonv/aws-sdk-cpp
15e19c265ffce19d2046b18aa1b7307fc5377e58
[ "Apache-2.0" ]
1
2021-10-14T16:57:00.000Z
2021-10-18T10:47:24.000Z
aws-cpp-sdk-compute-optimizer/source/model/GetEnrollmentStatusRequest.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2021-11-09T11:58:03.000Z
2021-11-09T11:58:03.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/compute-optimizer/model/GetEnrollmentStatusRequest.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::ComputeOptimizer::Model; using namespace A...
22.514286
108
0.775381
[ "model" ]
cc9a95c0d3ed52f7c9cf94a967f755f4c286a468
2,235
hpp
C++
samples/threat_level/src/NpcWeaponSystem.hpp
fallahn/crogine
f6cf3ade1f4e5de610d52e562bf43e852344bca0
[ "FTL", "Zlib" ]
41
2017-08-29T12:14:36.000Z
2022-02-04T23:49:48.000Z
samples/threat_level/src/NpcWeaponSystem.hpp
fallahn/crogine
f6cf3ade1f4e5de610d52e562bf43e852344bca0
[ "FTL", "Zlib" ]
11
2017-09-02T15:32:45.000Z
2021-12-27T13:34:56.000Z
samples/threat_level/src/NpcWeaponSystem.hpp
fallahn/crogine
f6cf3ade1f4e5de610d52e562bf43e852344bca0
[ "FTL", "Zlib" ]
5
2020-01-25T17:51:45.000Z
2022-03-01T05:20:30.000Z
/*----------------------------------------------------------------------- Matt Marchant 2017 http://trederia.blogspot.com crogine test application - Zlib license. This software is provided 'as-is', without any express or implied warranty.In no event will the authors be held liable for any damages arising from the us...
26.927711
73
0.691275
[ "vector" ]
cc9e21d829dddb55c96fd926020d2852354cb44c
82,218
cpp
C++
vegastrike/src/cmd/unit_xml.cpp
Ezeer/VegaStrike_win32FR
75891b9ccbdb95e48e15d3b4a9cd977955b97d1f
[ "MIT" ]
null
null
null
vegastrike/src/cmd/unit_xml.cpp
Ezeer/VegaStrike_win32FR
75891b9ccbdb95e48e15d3b4a9cd977955b97d1f
[ "MIT" ]
null
null
null
vegastrike/src/cmd/unit_xml.cpp
Ezeer/VegaStrike_win32FR
75891b9ccbdb95e48e15d3b4a9cd977955b97d1f
[ "MIT" ]
null
null
null
#include "unit_xml.h" #include "unit_factory.h" #include "audiolib.h" #include "xml_support.h" #include <fstream> #include <expat.h> #include <float.h> #include <limits.h> #include "configxml.h" #include "vs_globals.h" #include "vegastrike.h" #include <assert.h> #include "images.h" #include "xml_serializer.h" #include ...
39.834302
158
0.500547
[ "mesh", "vector" ]
ccaa191621da793f187f5e54bfff6b557e0b2b35
9,397
cpp
C++
src/addons/sbml_sim/sbml_sim1.cpp
rheiland/pc4sbml
9b570ebd03fc7123e5caad2bccc3fc262b0a36f7
[ "BSD-3-Clause" ]
2
2020-01-09T21:27:45.000Z
2020-05-04T11:10:23.000Z
src/addons/sbml_sim/sbml_sim1.cpp
rheiland/pc4sbml
9b570ebd03fc7123e5caad2bccc3fc262b0a36f7
[ "BSD-3-Clause" ]
null
null
null
src/addons/sbml_sim/sbml_sim1.cpp
rheiland/pc4sbml
9b570ebd03fc7123e5caad2bccc3fc262b0a36f7
[ "BSD-3-Clause" ]
null
null
null
#include "../../core/PhysiCell_cell.h" #include "libsbmlsim/libsbmlsim.h" // Model_t* my_model; SBMLDocument_t* my_doc; // Model my_sbml_model; //extern "C" { //} //SBMLSIM_EXPORT myResult* simulateSBMLFromFile(const char* file, double sim_time, double dt, int print_interval, int print_amount, int method, int use_l...
38.044534
205
0.628286
[ "vector", "model" ]
ccb6d061cee868eeab48f32e13a9c157f19e9698
2,885
hpp
C++
include/slam_handle.hpp
atharva-18/landmark-slam-2d
b3f0cc16fb3361311acb64f48035c7d2930fadb3
[ "Apache-2.0" ]
3
2021-11-14T08:11:29.000Z
2022-02-23T07:00:32.000Z
include/slam_handle.hpp
atharva-18/landmark-slam-2d
b3f0cc16fb3361311acb64f48035c7d2930fadb3
[ "Apache-2.0" ]
null
null
null
include/slam_handle.hpp
atharva-18/landmark-slam-2d
b3f0cc16fb3361311acb64f48035c7d2930fadb3
[ "Apache-2.0" ]
1
2021-11-19T06:20:31.000Z
2021-11-19T06:20:31.000Z
/* * Copyright (C) 2021 Atharva Pusalkar * * 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...
27.740385
93
0.761872
[ "vector" ]
ccbfba69953d832e7edd2f8863fe531c91ff0991
4,894
cpp
C++
tggd_alakajam13/Application.Starters.cpp
playdeezgames/tggd_alakajam13
e4433a14d4e74cc4f711c7bb6610c87e2fd9b377
[ "MIT" ]
null
null
null
tggd_alakajam13/Application.Starters.cpp
playdeezgames/tggd_alakajam13
e4433a14d4e74cc4f711c7bb6610c87e2fd9b377
[ "MIT" ]
null
null
null
tggd_alakajam13/Application.Starters.cpp
playdeezgames/tggd_alakajam13
e4433a14d4e74cc4f711c7bb6610c87e2fd9b377
[ "MIT" ]
null
null
null
#include <Application.Keyboard.h> #include <Application.Options.h> #include <Application.UIState.h> #include <Audio.Mux.h> #include <Audio.Sfx.h> #include <Data.JSON.Store.h> #include <Data.JSON.Stores.h> #include <Data.SQLite.Store.h> #include <Data.SQLite.Stores.h> #include <functional> #include <Game.h> #include <St...
48.455446
101
0.755006
[ "vector" ]
ccc1f817638e6405334d5e603f249f8a11821cb4
142,319
cpp
C++
MemoryStringPool.cpp
Kochise/SigEngine
0b533b99bf90d65ad1f44a34f77c161c1d0fa623
[ "MIT" ]
null
null
null
MemoryStringPool.cpp
Kochise/SigEngine
0b533b99bf90d65ad1f44a34f77c161c1d0fa623
[ "MIT" ]
null
null
null
MemoryStringPool.cpp
Kochise/SigEngine
0b533b99bf90d65ad1f44a34f77c161c1d0fa623
[ "MIT" ]
1
2020-09-26T09:46:48.000Z
2020-09-26T09:46:48.000Z
// MemoryStringPool.cpp: implementation of the CMemoryStringPool class. // ////////////////////////////////////////////////////////////////////// #include "stdafx.h" #include "Memory.h" #ifdef _DEBUG #undef THIS_FILE static char THIS_FILE[]=__FILE__; #define new DEBUG_NEW #endif // === CLASSE DE CHAINE ...
48.113252
120
0.286392
[ "object" ]
cccae67f6b0d48b403a9187e38db2a5b72d4cb0b
8,087
cc
C++
src/stats.cc
lorenzo-stoakes/janus
88cb536d569edf15af112230b02ea946c828cc12
[ "MIT" ]
1
2022-02-16T11:23:47.000Z
2022-02-16T11:23:47.000Z
src/stats.cc
lorenzo-stoakes/janus
88cb536d569edf15af112230b02ea946c828cc12
[ "MIT" ]
null
null
null
src/stats.cc
lorenzo-stoakes/janus
88cb536d569edf15af112230b02ea946c828cc12
[ "MIT" ]
null
null
null
#include "janus.hh" #include <cstdint> namespace janus { // Maximum number of runners we might ever see. static constexpr uint64_t MAX_RUNNERS = 500; // Read through market updates in specified dynamic buffer, updating interval // stats in specified stats object. // TODO(lorenzo): This is too much code for 1 functio...
29.300725
91
0.698776
[ "object" ]
ccd4efe2a2712eb19d9101938757c453c90ff347
4,889
cpp
C++
Contrib-Intel/RSD-PSME-RMM/application/src/registration/attach.cpp
opencomputeproject/Rack-Manager
e1a61d3eeeba0ff655fe9c1301e8b510d9b2122a
[ "MIT" ]
5
2019-11-11T07:57:26.000Z
2022-03-28T08:26:53.000Z
Contrib-Intel/RSD-PSME-RMM/application/src/registration/attach.cpp
opencomputeproject/Rack-Manager
e1a61d3eeeba0ff655fe9c1301e8b510d9b2122a
[ "MIT" ]
3
2019-09-05T21:47:07.000Z
2019-09-17T18:10:45.000Z
Contrib-Intel/RSD-PSME-RMM/application/src/registration/attach.cpp
opencomputeproject/Rack-Manager
e1a61d3eeeba0ff655fe9c1301e8b510d9b2122a
[ "MIT" ]
11
2019-07-20T00:16:32.000Z
2022-01-11T14:17:48.000Z
/*! * @copyright * Copyright (c) 2017-2019 Intel Corporation * * @copyright * 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 * * @copyright * http://www.apache.org/licenses/LICENSE-...
35.686131
121
0.658008
[ "object", "vector" ]
ccd7542d19655fb330f5d0ccbf6a75714808a0c5
1,736
cpp
C++
pytorch/th_demosaicing_operator.cpp
VLOGroup/optox
f9d61d64aa7bb44080601517539ba5aefd75d365
[ "MIT" ]
7
2020-06-17T21:05:46.000Z
2021-03-28T03:52:53.000Z
pytorch/th_demosaicing_operator.cpp
khammernik/optox
ae8bf1b4c1bfeb1e2fea24f549182d5610e09d82
[ "MIT" ]
4
2021-01-26T12:43:41.000Z
2022-02-10T00:01:41.000Z
pytorch/th_demosaicing_operator.cpp
khammernik/optox
ae8bf1b4c1bfeb1e2fea24f549182d5610e09d82
[ "MIT" ]
4
2020-09-16T10:03:48.000Z
2022-01-05T01:22:14.000Z
///@file th_demosaicing_operator.h ///@brief PyTorch wrappers for demosaicing operator ///@author Erich Kobler <erich.kobler@icg.tugraz.at> ///@date 04.2019 #include <vector> #include "th_utils.h" #include "operators/demosaicing_operator.h" #include <torch/extension.h> #include <pybind11/pybind11.h> template<typen...
27.125
113
0.680876
[ "vector" ]
ccd86da876e2c415177a6d9344b482fd52ca91c7
33,695
cpp
C++
etc/bbb/main.cpp
kvark/dark
50174d101e798b91fe583e2430d40df971050792
[ "MIT" ]
4
2015-03-31T22:07:07.000Z
2021-09-06T07:47:18.000Z
etc/bbb/main.cpp
kvark/dark
50174d101e798b91fe583e2430d40df971050792
[ "MIT" ]
1
2015-06-25T21:27:12.000Z
2015-06-25T21:27:12.000Z
etc/bbb/main.cpp
kvark/dark
50174d101e798b91fe583e2430d40df971050792
[ "MIT" ]
null
null
null
/* bbb.cpp - big block BWT compressor version 1, Aug. 31, 2006. (C) 2006, Matt Mahoney, mmahoney (at) cs.fit.edu This is free software under GPL, http://www.gnu.org/licenses/gpl.txt To compress/decompress: bbb command input output Commands are concatenated, e.g. bbb cfqm10 in out = compress (c) in fast mo...
36.505959
91
0.566197
[ "model", "transform" ]
ccd963524048789c4892a78028bfd57a1ec83ea4
6,128
hpp
C++
src/verification/production/impl/production_impl.hpp
GeniusVentures/SuperGenius
ae43304f4a2475498ef56c971296175acb88d0ee
[ "MIT" ]
1
2021-07-10T21:25:03.000Z
2021-07-10T21:25:03.000Z
src/verification/production/impl/production_impl.hpp
GeniusVentures/SuperGenius
ae43304f4a2475498ef56c971296175acb88d0ee
[ "MIT" ]
null
null
null
src/verification/production/impl/production_impl.hpp
GeniusVentures/SuperGenius
ae43304f4a2475498ef56c971296175acb88d0ee
[ "MIT" ]
null
null
null
#ifndef SUPERGENIUS_PRODUCTION_IMPL_HPP #define SUPERGENIUS_PRODUCTION_IMPL_HPP #include "verification/production.hpp" #include <memory> #include <boost/asio/basic_waitable_timer.hpp> #include <outcome/outcome.hpp> #include "application/app_state_manager.hpp" #include "authorship/proposer.hpp" #include "blockchain...
36.694611
97
0.718179
[ "vector" ]
ccd98b0e96f695bd903eb2551da816d61ab516c8
1,695
cpp
C++
BasicByteBuffer/BasicByteBuffer/main.cpp
yagizarkayin/BasicByteBuffer
ef7d49694709e46d88ea44ec631ce98f7d5a5363
[ "MIT" ]
null
null
null
BasicByteBuffer/BasicByteBuffer/main.cpp
yagizarkayin/BasicByteBuffer
ef7d49694709e46d88ea44ec631ce98f7d5a5363
[ "MIT" ]
null
null
null
BasicByteBuffer/BasicByteBuffer/main.cpp
yagizarkayin/BasicByteBuffer
ef7d49694709e46d88ea44ec631ce98f7d5a5363
[ "MIT" ]
null
null
null
#include "BasicByteBuffer.h" #include <iostream> struct Vec3 { float x; float y; float z; void print() { std::cout << "X: " << x << "Y: " << y << "Z: " << z << std::endl; } }; enum Color { BANANA = 1, APPLE = 2, ORANGE = 3 }; // WARNING: Since you have to initialize your data first, and then read the v...
18.031915
91
0.696755
[ "mesh", "vector" ]
efa634640cb1bb1f9e4b2d41f290b583ea817df9
4,830
hpp
C++
inc/priam/row.hpp
npeshek-spotx/libpriamcql
19bf933f796cd022c5f5a6737b8c8e1ebda5c490
[ "Apache-2.0" ]
1
2021-01-11T19:26:29.000Z
2021-01-11T19:26:29.000Z
inc/priam/row.hpp
npeshek-spotx/libpriamcql
19bf933f796cd022c5f5a6737b8c8e1ebda5c490
[ "Apache-2.0" ]
10
2020-04-22T16:17:11.000Z
2021-02-04T19:48:46.000Z
inc/priam/row.hpp
npeshek-spotx/libpriamcql
19bf933f796cd022c5f5a6737b8c8e1ebda5c490
[ "Apache-2.0" ]
2
2019-08-15T02:07:38.000Z
2021-01-11T18:21:17.000Z
#pragma once #include "priam/cpp_driver.hpp" #include "priam/value.hpp" namespace priam { class result; class row { /// For private constructor, only result's can create rows. friend result; public: class iterator { public: using iterator_category = std::input_iterator_tag; using...
30
112
0.569565
[ "object" ]
efb976cfe8e459d0a2000231e1499d02bcc1dbad
25,773
cpp
C++
apps/cor2cor/cor2cor.cpp
bmatejek/gsvgaps
4beb271167d306ad7e87b214895670f3d7c65dbd
[ "MIT" ]
null
null
null
apps/cor2cor/cor2cor.cpp
bmatejek/gsvgaps
4beb271167d306ad7e87b214895670f3d7c65dbd
[ "MIT" ]
null
null
null
apps/cor2cor/cor2cor.cpp
bmatejek/gsvgaps
4beb271167d306ad7e87b214895670f3d7c65dbd
[ "MIT" ]
null
null
null
// Source file for the program to process sparse correspondences // Include files #include "R3Shapes/R3Shapes.h" //////////////////////////////////////////////////////////////////////// // Program arguments //////////////////////////////////////////////////////////////////////// static char *input_mesh1_name ...
31.089264
133
0.648081
[ "mesh" ]
efbbeb46fc569a04e470bb18c1f2cd5204ca8efc
11,571
cpp
C++
Shader.cpp
uw-loci/SpimVisualize
1dd30c02ad52eb3e2e91f3f778b615ba4a8d39d1
[ "MIT" ]
null
null
null
Shader.cpp
uw-loci/SpimVisualize
1dd30c02ad52eb3e2e91f3f778b615ba4a8d39d1
[ "MIT" ]
1
2016-04-26T19:16:30.000Z
2016-06-16T19:11:52.000Z
Shader.cpp
uw-loci/SpimVisualize
1dd30c02ad52eb3e2e91f3f778b615ba4a8d39d1
[ "MIT" ]
null
null
null
/* GLSL Shader abstraction MIT License Copyright (c) 2009, Markus Broecker <mbrckr@gmail.com> 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 limitat...
25.656319
262
0.706076
[ "vector" ]
efc1267dc67da2e0ee0e56ca39aed32ca3fc6548
9,248
cpp
C++
test/string.cpp
ntoskrnl7/ext
1117df828b1d3e41de0b9c55709c5b6c64ff2257
[ "BSD-3-Clause" ]
2
2020-08-18T15:05:01.000Z
2021-12-27T02:06:04.000Z
test/string.cpp
ntoskrnl7/ext
1117df828b1d3e41de0b9c55709c5b6c64ff2257
[ "BSD-3-Clause" ]
1
2020-11-07T18:14:59.000Z
2020-11-07T18:14:59.000Z
test/string.cpp
ntoskrnl7/ext
1117df828b1d3e41de0b9c55709c5b6c64ff2257
[ "BSD-3-Clause" ]
1
2020-11-07T17:08:53.000Z
2020-11-07T17:08:53.000Z
#define CXX_USE_NULLPTR #include <ext/string> #include <gtest/gtest.h> TEST(string_test, stoul) { #if defined(_MSC_VER) EXPECT_EQ(std::stoul("-12345"), 4294954951); EXPECT_EQ(std::stoul("12345"), 12345); EXPECT_EQ(std::stoul("0xffffffff", nullptr, 16), std::numeric_limits<unsigned long>::max()); ...
38.057613
80
0.614079
[ "vector" ]
efce67beae52719e3f8440a6f6de54c6b1e13eaf
6,041
cpp
C++
sources/libengine/engine/sound.cpp
Gaeldrin/cage
6399a5cdcb3932e8d422901ce7d72099dc09273c
[ "MIT" ]
null
null
null
sources/libengine/engine/sound.cpp
Gaeldrin/cage
6399a5cdcb3932e8d422901ce7d72099dc09273c
[ "MIT" ]
null
null
null
sources/libengine/engine/sound.cpp
Gaeldrin/cage
6399a5cdcb3932e8d422901ce7d72099dc09273c
[ "MIT" ]
null
null
null
#include <cage-core/flatSet.h> #include <cage-engine/sound.h> #include <cage-engine/voices.h> #include <cage-engine/speaker.h> #include "engine.h" #include <vector> #include <robin_hood.h> namespace cage { namespace { template<class T> void eraseUnused(T &map, const FlatSet<uintPtr> &used) { auto it = ma...
24.358871
94
0.658335
[ "vector", "transform" ]
efcf6567cf11fcb0648874c61550120c1853456e
822
cpp
C++
C++/0764-Largest-Plus-Sign/soln.cpp
wyaadarsh/LeetCode-Solutions
3719f5cb059eefd66b83eb8ae990652f4b7fd124
[ "MIT" ]
5
2020-07-24T17:48:59.000Z
2020-12-21T05:56:00.000Z
C++/0764-Largest-Plus-Sign/soln.cpp
zhangyaqi1989/LeetCode-Solutions
2655a1ffc8678ad1de6c24295071308a18c5dc6e
[ "MIT" ]
null
null
null
C++/0764-Largest-Plus-Sign/soln.cpp
zhangyaqi1989/LeetCode-Solutions
2655a1ffc8678ad1de6c24295071308a18c5dc6e
[ "MIT" ]
2
2020-07-24T17:49:01.000Z
2020-08-31T19:57:35.000Z
class Solution { public: int orderOfLargestPlusSign(int N, vector<vector<int>>& mines) { int grid[N][N]; for(int i = 0; i < N; ++i) { for(int j = 0; j < N; ++j) { grid[i][j] = min(min(i, j), min(N - 1 - i, N - 1 - j)) + 1; } } for(vector<int> &...
30.444444
75
0.358881
[ "vector" ]
efd011f183864928536100f14ff9f603426c4399
3,327
cpp
C++
uhk/acm4123.cpp
Hyyyyyyyyyy/acm
d7101755b2c2868d51bb056f094e024d0333b56f
[ "MIT" ]
null
null
null
uhk/acm4123.cpp
Hyyyyyyyyyy/acm
d7101755b2c2868d51bb056f094e024d0333b56f
[ "MIT" ]
null
null
null
uhk/acm4123.cpp
Hyyyyyyyyyy/acm
d7101755b2c2868d51bb056f094e024d0333b56f
[ "MIT" ]
null
null
null
#include <cstdio> #include <cstring> #include <cstdlib> #include <algorithm> #include <cmath> #include <set> #include <map> #include <cctype> #include <vector> #include <queue> #include <string> #include <iostream> using namespace std; typedef long long ll; typedef unsigned long long ull; #define foR for #define for9 f...
18.903409
78
0.481515
[ "vector" ]
efd036d843b5f006cd376e77eb90537bb9335f9f
18,741
cpp
C++
Tests/48/Test.cpp
SophistSolutions/Stroika
f4e5d84767903a054fba0a6b9c7c4bd1aaefd105
[ "MIT" ]
28
2015-09-22T21:43:32.000Z
2022-02-28T01:35:01.000Z
Tests/48/Test.cpp
SophistSolutions/Stroika
f4e5d84767903a054fba0a6b9c7c4bd1aaefd105
[ "MIT" ]
98
2015-01-22T03:21:27.000Z
2022-03-02T01:47:00.000Z
Tests/48/Test.cpp
SophistSolutions/Stroika
f4e5d84767903a054fba0a6b9c7c4bd1aaefd105
[ "MIT" ]
4
2019-02-21T16:45:25.000Z
2022-02-18T13:40:04.000Z
/* * Copyright(c) Sophist Solutions, Inc. 1990-2021. All rights reserved */ // TEST Foundation::Memory #include "Stroika/Foundation/StroikaPreComp.h" #include "Stroika/Foundation/Characters/String.h" #include "Stroika/Foundation/Characters/ToString.h" #include "Stroika/Foundation/Containers/Mapping.h" #include ...
38.091463
217
0.523878
[ "vector" ]
efd8e1a08566bb4e28c98ad9afeb53941c3996e5
5,320
cc
C++
models/processor/spx/core.cc
Basseuph/manifold
99779998911ed7e8b8ff6adacc7f93080409a5fe
[ "BSD-3-Clause" ]
8
2016-01-22T18:28:48.000Z
2021-05-07T02:27:21.000Z
models/processor/spx/core.cc
Basseuph/manifold
99779998911ed7e8b8ff6adacc7f93080409a5fe
[ "BSD-3-Clause" ]
3
2016-04-15T02:58:58.000Z
2017-01-19T17:07:34.000Z
models/processor/spx/core.cc
Basseuph/manifold
99779998911ed7e8b8ff6adacc7f93080409a5fe
[ "BSD-3-Clause" ]
10
2015-12-11T04:16:55.000Z
2019-05-25T20:58:13.000Z
#ifdef USE_QSIM #include <string.h> #include <libconfig.h++> #include <sys/time.h> #include <sstream> #include "core.h" #include "pipeline.h" #include "outorder.h" #include "inorder.h" using namespace std; using namespace libconfig; using namespace manifold; using namespace manifold::kernel; using namespace manifold...
30.4
142
0.643797
[ "model" ]
efde9ea3cdbab41b6c5adde0f16adc82e816cc6f
5,207
cpp
C++
Engine/Source/Runtime/Launch/Private/IOS/LaunchIOS.cpp
PopCap/GameIdea
201e1df50b2bc99afc079ce326aa0a44b178a391
[ "BSD-2-Clause" ]
null
null
null
Engine/Source/Runtime/Launch/Private/IOS/LaunchIOS.cpp
PopCap/GameIdea
201e1df50b2bc99afc079ce326aa0a44b178a391
[ "BSD-2-Clause" ]
2
2015-06-21T17:38:11.000Z
2015-06-22T20:54:42.000Z
Engine/Source/Runtime/Launch/Private/IOS/LaunchIOS.cpp
PopCap/GameIdea
201e1df50b2bc99afc079ce326aa0a44b178a391
[ "BSD-2-Clause" ]
null
null
null
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved. #import <UIKit/UIKit.h> #include "LaunchPrivatePCH.h" #include "IOSAppDelegate.h" #include "IOSView.h" #include "IOSCommandLineHelper.h" #include "GameLaunchDaemonMessageHandler.h" #include "AudioDevice.h" FEngineLoop GEngineLoop; FGameLaunchDaemonMessage...
25.4
123
0.729403
[ "object" ]
efe423c4a40087aaed5317070572c7505c123cf7
18,790
cpp
C++
src/MainWindow.cpp
shin0bi-y/silice-text-editor
1142ab6ce7eff073885d8be745b23d4816405c00
[ "BSD-2-Clause" ]
3
2021-06-14T12:02:35.000Z
2021-06-25T16:31:42.000Z
src/MainWindow.cpp
shin0bi-y/silice-text-editor
1142ab6ce7eff073885d8be745b23d4816405c00
[ "BSD-2-Clause" ]
null
null
null
src/MainWindow.cpp
shin0bi-y/silice-text-editor
1142ab6ce7eff073885d8be745b23d4816405c00
[ "BSD-2-Clause" ]
1
2021-05-20T13:32:43.000Z
2021-05-20T13:32:43.000Z
#include "MainWindow.h" #include <iostream> #include <filesystem> #include <string> #include <LibSL.h> #include <LibSL_gl.h> #include "imgui.h" #include "imgui_internal.h" #include "FileDialog.h" #include "../libs/implot/implot.h" #include "FST/FSTReader.h" #include "sourcePath.h" #include "FSTWindow.h" #include <nlohm...
42.31982
202
0.595423
[ "render", "vector" ]
efe86e9fa72d25c7f68ce04486d481901c9360a3
420
cpp
C++
week3-exercise3/victim.cpp
jakah/hu-v1oopc-exercises
74d830fa150525705306bcb59652cc9baa991985
[ "MIT" ]
null
null
null
week3-exercise3/victim.cpp
jakah/hu-v1oopc-exercises
74d830fa150525705306bcb59652cc9baa991985
[ "MIT" ]
null
null
null
week3-exercise3/victim.cpp
jakah/hu-v1oopc-exercises
74d830fa150525705306bcb59652cc9baa991985
[ "MIT" ]
null
null
null
#include "victim.hpp" #include "rectangle.hpp" victim::victim(window & w, vector start, vector end): rectangle(w, start, end), hit(false) {} void victim::interact( drawable & other ){ if( this != & other){ if( overlaps( other )){ hit = true; } } } void victim::update...
17.5
64
0.533333
[ "vector" ]
efe961c4f36c23492895d14265b93d58b19f4b33
3,522
cpp
C++
JustnEngine/src/Components/PlayerController.cpp
JustenG/ComputerGraphics
81a1859206aaeb6498cbbb1607b04ba6d0d2e978
[ "Unlicense" ]
null
null
null
JustnEngine/src/Components/PlayerController.cpp
JustenG/ComputerGraphics
81a1859206aaeb6498cbbb1607b04ba6d0d2e978
[ "Unlicense" ]
null
null
null
JustnEngine/src/Components/PlayerController.cpp
JustenG/ComputerGraphics
81a1859206aaeb6498cbbb1607b04ba6d0d2e978
[ "Unlicense" ]
null
null
null
#include "Components\PlayerController.h" #include "Components\Transform.h" #include "Entitys\GameObject.h" #include "Physics\PhysXManager.h" #include "GLFW\glfw3.h" #include "all_includes.h" PlayerController::PlayerController() { m_physXManager = PhysXManager::GetInstance(); m_currentWindow = glfwGetCurrentContext...
31.446429
154
0.747871
[ "shape", "transform", "solid" ]
efef489e58baf90df5b9051d9167ad2cdf386ee0
1,227
cpp
C++
src/server/history/jumping_history.cpp
BioRyajenka/operational-transformation
2e666ca2a62e74dd6b405928e686a627ca3a3181
[ "Apache-2.0" ]
null
null
null
src/server/history/jumping_history.cpp
BioRyajenka/operational-transformation
2e666ca2a62e74dd6b405928e686a627ca3a3181
[ "Apache-2.0" ]
null
null
null
src/server/history/jumping_history.cpp
BioRyajenka/operational-transformation
2e666ca2a62e74dd6b405928e686a627ca3a3181
[ "Apache-2.0" ]
2
2021-03-07T06:57:02.000Z
2021-08-06T16:01:07.000Z
// // Created by Igor on 05.02.2021. // #include "jumping_history.h" void jumping_history::push(const std::shared_ptr<operation> &new_op) { stack.emplace_back(); std::vector<std::shared_ptr<operation>> &jumps = stack[stack.size() - 1]; // current is stack.size() - 1 jumps.push_back(new_op); // from cu...
28.534884
77
0.534637
[ "vector" ]
eff023bc9867ebef6c56fcb7775d1296b78499c2
7,297
cpp
C++
src/core/RUcs.cpp
ouxianghui/ezcam
195fb402202442b6d035bd70853f2d8c3f615de1
[ "MIT" ]
12
2021-03-26T03:23:30.000Z
2021-12-31T10:05:44.000Z
src/core/RUcs.cpp
15831944/ezcam
195fb402202442b6d035bd70853f2d8c3f615de1
[ "MIT" ]
null
null
null
src/core/RUcs.cpp
15831944/ezcam
195fb402202442b6d035bd70853f2d8c3f615de1
[ "MIT" ]
9
2021-06-23T08:26:40.000Z
2022-01-20T07:18:10.000Z
/** * Copyright (c) 2011-2016 by Andrew Mustun. All rights reserved. * * This file is part of the QCAD project. * * QCAD is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License,...
36.668342
122
0.703166
[ "vector" ]
eff293d73ade63bb53ad0fb989a5c7483f65c79a
785
cpp
C++
CODECHEF/CHRL1.cpp
aqfaridi/Competitve-Programming-Codes
d055de2f42d3d6bc36e03e67804a1dd6b212241f
[ "MIT" ]
null
null
null
CODECHEF/CHRL1.cpp
aqfaridi/Competitve-Programming-Codes
d055de2f42d3d6bc36e03e67804a1dd6b212241f
[ "MIT" ]
null
null
null
CODECHEF/CHRL1.cpp
aqfaridi/Competitve-Programming-Codes
d055de2f42d3d6bc36e03e67804a1dd6b212241f
[ "MIT" ]
null
null
null
#include <iostream> #include <cstdio> #include <algorithm> #include <cstring> #include <sstream> #include <vector> #include <iomanip> #include <cmath> using namespace std; typedef long long LL; typedef pair<int,int> pii; #define MAX 100010 #define MOD 1000000007 int wt[40],cost[40],ans,n; void knapsack(int i,int...
17.065217
44
0.540127
[ "vector" ]
eff91756b1c897696e3c3ccc0b74a6f26fbb968f
18,898
cc
C++
src/library/specex_psf.cc
marcelo-alvarez/specex
809c5540e76dc1681453488732d5845078427ad1
[ "BSD-3-Clause" ]
null
null
null
src/library/specex_psf.cc
marcelo-alvarez/specex
809c5540e76dc1681453488732d5845078427ad1
[ "BSD-3-Clause" ]
null
null
null
src/library/specex_psf.cc
marcelo-alvarez/specex
809c5540e76dc1681453488732d5845078427ad1
[ "BSD-3-Clause" ]
null
null
null
#include <iomanip> #include <cmath> #include <string> #include <harp.hpp> #include "specex_psf.h" //#include "specex_base_analytic_psf.h" #include "specex_message.h" using namespace std; /* weights and abcissa for gauss integrations (borrowed from DAOPHOT), explained in Numerical recipes */ static double Dx[4]...
32.582759
208
0.68457
[ "vector" ]
efffe74469ead0b2551a8160a0b6fb58b2abde72
2,001
cpp
C++
tree/102_Binary_Tree_Level_Order_Traversal.cpp
zephyr-fun/LeetCodeSolution
adab165bcd269daf3e611a26187977ccd458d02a
[ "MIT" ]
null
null
null
tree/102_Binary_Tree_Level_Order_Traversal.cpp
zephyr-fun/LeetCodeSolution
adab165bcd269daf3e611a26187977ccd458d02a
[ "MIT" ]
null
null
null
tree/102_Binary_Tree_Level_Order_Traversal.cpp
zephyr-fun/LeetCodeSolution
adab165bcd269daf3e611a26187977ccd458d02a
[ "MIT" ]
null
null
null
/*** * Author: zephyr * Date: 2020-12-01 22:26:48 * LastEditors: zephyr * LastEditTime: 2021-01-04 09:50:08 * FilePath: \tree\102_Binary_Tree_Level_Order_Traversal.cpp */ #include <iostream> #include <vector> #include <queue> using namespace std; /** * Definition for a binary tree node. * struct TreeNode { * ...
25.0125
90
0.543228
[ "vector" ]
5601b138985ceddc3c019083e506d0d0f4d25412
3,038
hpp
C++
Falcor/Samples/SSTDemo/Utils/TRT/InferenceEngine.hpp
wotatz/sst-demo
5c8422d59102dc2ef61a1cbf07d9bbc10a5925f9
[ "BSD-3-Clause" ]
14
2020-05-12T22:19:20.000Z
2022-01-30T18:08:29.000Z
Falcor/Samples/SSTDemo/Utils/TRT/InferenceEngine.hpp
wotatz/sst-demo
5c8422d59102dc2ef61a1cbf07d9bbc10a5925f9
[ "BSD-3-Clause" ]
null
null
null
Falcor/Samples/SSTDemo/Utils/TRT/InferenceEngine.hpp
wotatz/sst-demo
5c8422d59102dc2ef61a1cbf07d9bbc10a5925f9
[ "BSD-3-Clause" ]
null
null
null
#pragma once #include "Falcor.h" #include "FalcorCUDA.h" #include "Utils/Cuda/CudaBuffer.h" #include "NvInfer.h" #include <memory> #include <string> #include <vector> // Logger for TensorRT info/warning/errors (TensorRT example : 'sample_uff_mnist') class Logger : public nvinfer1::ILogger { public: Logger(Severi...
26.649123
114
0.686636
[ "vector" ]
56051d0b19bc7c5d376d5b29a45c8dcda06256dd
9,745
cpp
C++
Axis.Capsicum/application/executors/gpu/facades/GPUSolverFacade.cpp
renato-yuzup/axis-fem
2e8d325eb9c8e99285f513b4c1218ef53eb0ab22
[ "MIT" ]
2
2021-07-23T08:49:54.000Z
2021-07-29T22:07:30.000Z
Axis.Capsicum/application/executors/gpu/facades/GPUSolverFacade.cpp
renato-yuzup/axis-fem
2e8d325eb9c8e99285f513b4c1218ef53eb0ab22
[ "MIT" ]
null
null
null
Axis.Capsicum/application/executors/gpu/facades/GPUSolverFacade.cpp
renato-yuzup/axis-fem
2e8d325eb9c8e99285f513b4c1218ef53eb0ab22
[ "MIT" ]
null
null
null
#include "GPUSolverFacade.hpp" #include "application/executors/gpu/commands/GatherVectorCommand.hpp" #include "application/executors/gpu/commands/PushBcToVectorCommand.hpp" #include "domain/analyses/NumericalModel.hpp" #include "domain/analyses/ReducedNumericalModel.hpp" #include "domain/analyses/ModelOperatorFacade.hp...
29.089552
96
0.733197
[ "vector", "model" ]
56060f3d32c948453d68ae30eaa7eec501575b0c
4,273
cpp
C++
SEngine/source/Engine.cpp
subr3v/s-engine
d77b9ccd0fff3982a303f14ce809691a570f61a3
[ "MIT" ]
2
2016-04-01T21:10:33.000Z
2018-02-26T19:36:56.000Z
SEngine/source/Engine.cpp
subr3v/s-engine
d77b9ccd0fff3982a303f14ce809691a570f61a3
[ "MIT" ]
1
2017-04-05T01:33:08.000Z
2017-04-05T01:33:08.000Z
SEngine/source/Engine.cpp
subr3v/s-engine
d77b9ccd0fff3982a303f14ce809691a570f61a3
[ "MIT" ]
null
null
null
#include "Engine.h" #include "ConfigVariableManager.h" #include "ImGuiEngine.h" #include "NetworkEventHandler.h" #include "MaterialManager.h" #include "Scene.h" #include "EngineVariables.h" #include "Profiler.h" namespace SEngine { struct FEngineModules { FTimer* Timer; FWindow* Window; FInput* Input; FNetworkEve...
21.912821
121
0.765738
[ "render" ]
5608e28f99999b60846ffae6078b3124260f8bc4
1,079
cc
C++
aoj/volumn5/0505/0505aoj.cc
punkieL/proCon
7e994d67e5efdf7ac0b1bee5e0b19b317f07e8af
[ "MIT" ]
1
2015-10-06T16:27:42.000Z
2015-10-06T16:27:42.000Z
aoj/volumn5/0505/0505aoj.cc
punkieL/proCon
7e994d67e5efdf7ac0b1bee5e0b19b317f07e8af
[ "MIT" ]
1
2016-03-02T16:18:11.000Z
2016-03-02T16:18:11.000Z
aoj/volumn5/0505/0505aoj.cc
punkieL/proCon
7e994d67e5efdf7ac0b1bee5e0b19b317f07e8af
[ "MIT" ]
null
null
null
/*c++98*/ #include <cstdio> #include <iostream> #include <algorithm> #include <vector> #include <map> #include <set> #include <string> #include <cstring> #include <cmath> using namespace std; int main(int args, char *argc[]){ int student,locations; //ifstream ifs("input.txt"); while(cin>>student>>locations, stu...
22.479167
71
0.570899
[ "vector" ]
560e216a69c4cc703a4486cd10bd2ec12a72a0f1
6,033
cpp
C++
directfire_github/trunk/gameui/battle.net/gamepage.cpp
zhwsh00/DirectFire-android
10c757e1be0b25dee951f9ba3a0e1f6d5c04a938
[ "MIT" ]
1
2015-08-12T04:05:33.000Z
2015-08-12T04:05:33.000Z
directfire_github/trunk/gameui/battle.net/gamepage.cpp
zhwsh00/DirectFire-android
10c757e1be0b25dee951f9ba3a0e1f6d5c04a938
[ "MIT" ]
null
null
null
directfire_github/trunk/gameui/battle.net/gamepage.cpp
zhwsh00/DirectFire-android
10c757e1be0b25dee951f9ba3a0e1f6d5c04a938
[ "MIT" ]
null
null
null
#include "gamepage.h" #include "gamepageitem.h" #include "gamepagetitle.h" #include "gamecore/resource/resourcemgr.h" #include "gamecore/sounds/soundmgr.h" #include "gamecore/utils/ccutils.h" #include <algorithm> using namespace std; GamePage::GamePage(uilib::BasWidget *container) : BasPage(container) { m_title =...
32.610811
91
0.658213
[ "vector" ]
56219628268ad3edd7add4d673e549cbdb5d5efd
630
cpp
C++
Directx11FPS/Scenes/ParticipateTest.cpp
sekys/FPS
d582b6b5fb55adc88b6c4aa6a4cd2145488db31f
[ "MIT" ]
null
null
null
Directx11FPS/Scenes/ParticipateTest.cpp
sekys/FPS
d582b6b5fb55adc88b6c4aa6a4cd2145488db31f
[ "MIT" ]
null
null
null
Directx11FPS/Scenes/ParticipateTest.cpp
sekys/FPS
d582b6b5fb55adc88b6c4aa6a4cd2145488db31f
[ "MIT" ]
1
2018-03-27T16:02:28.000Z
2018-03-27T16:02:28.000Z
#include "./classes/App/class.Game.h" #include "ParticipateTest.h" #include "./classes/Help/Base/class.ParticipateSystem.h" ParticipateTest::ParticipateTest() { parts = new Participate(); } PLUGIN ParticipateTest::Init() { parts->gravitacia = true; parts->box.SetSize(vec(0.0, 0.0, 0.0) , vec(-200.0f, -200.0f,...
24.230769
56
0.703175
[ "render" ]
5622e99b8e20ac404fd37c07935c0ae0624d3993
1,708
cpp
C++
Greedy_SOLN_jobSequencing.cpp
Subhash3/Algorithms-For-Software-Developers
2e0ac4f51d379a2b10a40fca7fa82a8501d3db94
[ "BSD-2-Clause" ]
2
2021-10-01T04:20:04.000Z
2021-10-01T04:20:06.000Z
Greedy_SOLN_jobSequencing.cpp
Subhash3/Algorithms-For-Software-Developers
2e0ac4f51d379a2b10a40fca7fa82a8501d3db94
[ "BSD-2-Clause" ]
1
2021-10-01T18:00:09.000Z
2021-10-01T18:00:09.000Z
Greedy_SOLN_jobSequencing.cpp
Subhash3/Algorithms-For-Software-Developers
2e0ac4f51d379a2b10a40fca7fa82a8501d3db94
[ "BSD-2-Clause" ]
8
2021-10-01T04:20:38.000Z
2022-03-19T17:05:05.000Z
#include <algorithm> #include <bits/stdc++.h> #define ll long long #define pb(x) push_back(x); #define pp() pop_back() #define vi vector<int> #define v(x) vector<x> #define pii pair<int, int> #define pqq priority_queue #define g(x) greater<x> #define all(arr) arr.begin(), arr.end() #define loop(i, n) for (int i = 0; i...
23.081081
80
0.485363
[ "vector" ]
5626fa17b7d3b4c5899f12c6b0659752dc16b434
1,449
hpp
C++
src/share/scan/src/util.hpp
RoepStoep/cordova-plugin-scan
48ecf95ab70f053d57e7e9a9db92ec6f951a8dae
[ "MIT" ]
null
null
null
src/share/scan/src/util.hpp
RoepStoep/cordova-plugin-scan
48ecf95ab70f053d57e7e9a9db92ec6f951a8dae
[ "MIT" ]
null
null
null
src/share/scan/src/util.hpp
RoepStoep/cordova-plugin-scan
48ecf95ab70f053d57e7e9a9db92ec6f951a8dae
[ "MIT" ]
null
null
null
#ifndef UTIL_HPP #define UTIL_HPP // includes #include <iostream> #include <string> #include <vector> #include <chrono> #include "libmy.hpp" // types class Bad_Input : public std::exception {}; class Bad_Output : public std::exception {}; class Scanner_Number { private: const std::string m_string; int ...
15.75
75
0.621118
[ "vector" ]
562e226b3a7370c9cf1360c7d72fa0dc74c46ba1
2,263
hpp
C++
core/include/cubos/core/io/sources/single_axis.hpp
GameDevTecnico/cubos
51f89c9f3afc8afe502d167dadecab7dfe5b1c7b
[ "MIT" ]
2
2021-09-28T14:13:27.000Z
2022-03-26T11:36:48.000Z
core/include/cubos/core/io/sources/single_axis.hpp
GameDevTecnico/cubos
51f89c9f3afc8afe502d167dadecab7dfe5b1c7b
[ "MIT" ]
72
2021-09-29T08:55:26.000Z
2022-03-29T21:21:00.000Z
core/include/cubos/core/io/sources/single_axis.hpp
GameDevTecnico/cubos
51f89c9f3afc8afe502d167dadecab7dfe5b1c7b
[ "MIT" ]
null
null
null
#ifndef CUBOS_CORE_IO_SINGLE_AXIS_HPP #define CUBOS_CORE_IO_SINGLE_AXIS_HPP #include <cubos/core/io/window.hpp> #include <cubos/core/io/sources/source.hpp> #include <variant> #include <tuple> namespace cubos::core::io { /// SingleAxis is used to bind position change in one axis to the gameplay logic. /// The...
39.017241
114
0.68449
[ "object" ]
563a137ae6baeaaf7cb11571abbc284a0cb8f81e
2,582
cpp
C++
src/io.cpp
FamousCake/flow
77f134f74996225f679a1b9d796b7328ad6e1867
[ "MIT" ]
null
null
null
src/io.cpp
FamousCake/flow
77f134f74996225f679a1b9d796b7328ad6e1867
[ "MIT" ]
null
null
null
src/io.cpp
FamousCake/flow
77f134f74996225f679a1b9d796b7328ad6e1867
[ "MIT" ]
null
null
null
#include "inc/io.h" using namespace std; void IO::printArray(int A[], int count, int w, const char msg[]) { cout << '\n' << msg << '\n'; cout << "Pointer is : " << A << endl; for (int i = 0; i < count; ++i) { cout << setw(w) << A[i]; } cout << endl; } void IO::printResidualNetwork(...
21.163934
95
0.384198
[ "vector" ]
563c82a382aa84b3b3aae1ff94d386f882759bf1
4,324
cpp
C++
Dicom/dicom/data/SH.cpp
drleq/CppDicom
e320fad8414fabfb51c5eb80964f8b6def578247
[ "MIT" ]
null
null
null
Dicom/dicom/data/SH.cpp
drleq/CppDicom
e320fad8414fabfb51c5eb80964f8b6def578247
[ "MIT" ]
null
null
null
Dicom/dicom/data/SH.cpp
drleq/CppDicom
e320fad8414fabfb51c5eb80964f8b6def578247
[ "MIT" ]
null
null
null
#include "dicom_pch.h" #include "dicom/data/SH.h" #include "dicom/data/detail/combine_strings.h" #include "dicom/data/detail/DefaultCharacterRepertoire.h" #include "dicom/data/detail/locate_separators.h" #include "dicom/data/detail/validate_separator_locations.h" using namespace std; namespace dicom::data ...
31.794118
111
0.404255
[ "vector" ]
564403759bd9b0afbac9221a24f72dca348a515b
29,369
cpp
C++
sxaccelerate/src/graph/SxGQuery.cpp
ashtonmv/sphinx_vdw
5896fee0d92c06e883b72725cb859d732b8b801f
[ "Apache-2.0" ]
1
2020-02-29T03:26:32.000Z
2020-02-29T03:26:32.000Z
sxaccelerate/src/graph/SxGQuery.cpp
ashtonmv/sphinx_vdw
5896fee0d92c06e883b72725cb859d732b8b801f
[ "Apache-2.0" ]
null
null
null
sxaccelerate/src/graph/SxGQuery.cpp
ashtonmv/sphinx_vdw
5896fee0d92c06e883b72725cb859d732b8b801f
[ "Apache-2.0" ]
null
null
null
// --------------------------------------------------------------------------- // // The general purpose cross platform C/C++ framework // // S x A c c e l e r a t e // // Home: https://www.sxlib.de // License: Apache 2 // Authors: see src/AUTHOR...
32.777902
91
0.55991
[ "object" ]
871d2cba4113801c5ac0ca0b6ca3f2c1dc859e5f
16,978
cc
C++
src/info/info_server.cc
ngvozdiev/ctr-base
f730ea9b3d9be6dd8a1f8dbc96339bb1e5efcb9d
[ "MIT" ]
1
2020-11-11T15:26:46.000Z
2020-11-11T15:26:46.000Z
src/info/info_server.cc
ngvozdiev/ctr-base
f730ea9b3d9be6dd8a1f8dbc96339bb1e5efcb9d
[ "MIT" ]
null
null
null
src/info/info_server.cc
ngvozdiev/ctr-base
f730ea9b3d9be6dd8a1f8dbc96339bb1e5efcb9d
[ "MIT" ]
null
null
null
#include "info_server.h" #include <gflags/gflags.h> #include <google/protobuf/repeated_field.h> #include <ncode/common.h> #include <ncode/logging.h> #include <ncode/lp/demand_matrix.h> #include <ncode/net/net_common.h> #include <ncode/substitute.h> #include <ncode/viz/server.h> #include <cstdint> #include <iostream> #...
34.438134
80
0.688479
[ "vector" ]
871f801e5f3c30cf839a6a56618b9169b6f7f2fa
4,405
cpp
C++
pwiz/analysis/demux/SpectrumPeakExtractor.cpp
austinkeller/pwiz
aa8e575cb40fd5e97cc7d922e4d8da44c9277cca
[ "Apache-2.0" ]
null
null
null
pwiz/analysis/demux/SpectrumPeakExtractor.cpp
austinkeller/pwiz
aa8e575cb40fd5e97cc7d922e4d8da44c9277cca
[ "Apache-2.0" ]
null
null
null
pwiz/analysis/demux/SpectrumPeakExtractor.cpp
austinkeller/pwiz
aa8e575cb40fd5e97cc7d922e4d8da44c9277cca
[ "Apache-2.0" ]
null
null
null
// // $Id$ // // // Original author: Jarrett Egertson <jegertso .@. uw.edu> // // 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 ...
42.76699
164
0.612032
[ "vector" ]
87218a2e94f14ecc713fad0279b53ec6d9a20bb7
3,915
cpp
C++
Flight_controller/FC_util/src/HexaActuationSystem.cpp
AhmedHumais/HEAR_FC
2e9abd990757f8b14711aa4f02f5ad85698da6fe
[ "Unlicense" ]
null
null
null
Flight_controller/FC_util/src/HexaActuationSystem.cpp
AhmedHumais/HEAR_FC
2e9abd990757f8b14711aa4f02f5ad85698da6fe
[ "Unlicense" ]
null
null
null
Flight_controller/FC_util/src/HexaActuationSystem.cpp
AhmedHumais/HEAR_FC
2e9abd990757f8b14711aa4f02f5ad85698da6fe
[ "Unlicense" ]
null
null
null
#include "HexaActuationSystem.hpp" namespace HEAR{ ESCMotor::ESCMotor(int t_pin, int t_freq){ _pwmPin = t_pin; _freq = t_freq; this->initialize(); } bool ESCMotor::initialize(){ _pwm = new RCOutput_Navio2(); if(!(_pwm->initialize(_pwmPin)) ) { return 1; } _pwm->set_frequency(_p...
24.46875
126
0.564496
[ "vector" ]
87301a7f98eb7a3c4f7e02aa7ee113077094099a
2,485
cpp
C++
src/WorkerThread.cpp
LUSpace/pactree
e91d832fb286fe7d37063b5d112c2cea55720f85
[ "Apache-2.0" ]
14
2021-08-29T19:04:30.000Z
2022-03-10T09:35:21.000Z
src/WorkerThread.cpp
LUSpace/pactree
e91d832fb286fe7d37063b5d112c2cea55720f85
[ "Apache-2.0" ]
2
2021-12-08T07:53:48.000Z
2022-02-17T04:16:35.000Z
src/WorkerThread.cpp
LUSpace/pactree
e91d832fb286fe7d37063b5d112c2cea55720f85
[ "Apache-2.0" ]
7
2021-08-22T23:57:19.000Z
2022-01-26T19:31:00.000Z
// SPDX-FileCopyrightText: Copyright (c) 2019-2021 Virginia Tech // SPDX-License-Identifier: Apache-2.0 #include "WorkerThread.h" #include "Oplog.h" #include "Combiner.h" #include "pactree.h" #include <assert.h> #include <libpmemobj.h> WorkerThread::WorkerThread(int id, int activeNuma) { this->workerThreadId = id...
31.858974
115
0.58672
[ "vector" ]
87323d291008d4e05cd15e6aac7ff09d9d54792c
7,212
cpp
C++
src/njli/StopWatch.cpp
njligames/Engine
899c7b79cea33a72fc34f159134f721b56715d3d
[ "MIT" ]
1
2019-02-13T05:41:54.000Z
2019-02-13T05:41:54.000Z
src/njli/StopWatch.cpp
njligames/Engine
899c7b79cea33a72fc34f159134f721b56715d3d
[ "MIT" ]
null
null
null
src/njli/StopWatch.cpp
njligames/Engine
899c7b79cea33a72fc34f159134f721b56715d3d
[ "MIT" ]
null
null
null
// // StopWatch.cpp // JLIGameEngineTest // // Created by James Folk on 1/8/15. // Copyright (c) 2015 James Folk. All rights reserved. // #include "StopWatch.h" #include "JLIFactoryTypes.h" #include "World.h" #include "StopWatchBuilder.h" #define FORMATSTRING "{\"njli::StopWatch\":[]}" #include "btPrint.h" #includ...
27.422053
112
0.535774
[ "object" ]
8738cb21a65e020d1f1e325e0cb8ccd00866b675
15,630
cc
C++
PacDisplay/PacEvtDisplay.cc
brownd1978/FastSim
05f590d72d8e7f71856fd833114a38b84fc7fd48
[ "Apache-2.0" ]
null
null
null
PacDisplay/PacEvtDisplay.cc
brownd1978/FastSim
05f590d72d8e7f71856fd833114a38b84fc7fd48
[ "Apache-2.0" ]
null
null
null
PacDisplay/PacEvtDisplay.cc
brownd1978/FastSim
05f590d72d8e7f71856fd833114a38b84fc7fd48
[ "Apache-2.0" ]
null
null
null
#include "BaBar/BaBar.hh" #include "PacDisplay/PacEvtDisplay.hh" #include "AbsEnv/AbsEnv.hh" #include "PacEmc/PacEmcCluster.hh" #include "PacEmc/PacReconstructEmc.hh" #include "PacEnv/PacConfig.hh" #include "PacDetector/PacCylDetector.hh" #include "PacGeom/PacCylDetElem.hh" #include "PacGeom/PacCylDetType.hh" #include ...
33.904555
111
0.65112
[ "geometry", "vector", "model" ]
8748a5ce03eb4305228af9d6c43f212efd4037b2
3,588
cpp
C++
compiler/luci/profile/src/CircleNodeOrigin.test.cpp
chogba6/ONE
3d35259f89ee3109cfd35ab6f38c231904487f3b
[ "Apache-2.0" ]
255
2020-05-22T07:45:29.000Z
2022-03-29T23:58:22.000Z
compiler/luci/profile/src/CircleNodeOrigin.test.cpp
chogba6/ONE
3d35259f89ee3109cfd35ab6f38c231904487f3b
[ "Apache-2.0" ]
5,102
2020-05-22T07:48:33.000Z
2022-03-31T23:43:39.000Z
compiler/luci/profile/src/CircleNodeOrigin.test.cpp
chogba6/ONE
3d35259f89ee3109cfd35ab6f38c231904487f3b
[ "Apache-2.0" ]
120
2020-05-22T07:51:08.000Z
2022-02-16T19:08:05.000Z
/* * Copyright (c) 2021 Samsung Electronics Co., Ltd. All Rights Reserved * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless...
26.977444
91
0.695931
[ "vector" ]
874ae08f220fe6feea7c937663445a97d1845c9d
3,631
cpp
C++
RNGSimulation.cpp
SleepingGlaceon/VRiftMCarloSimulation
c018d9be651105894cd97ae51f52e67e3a188ba3
[ "MIT" ]
null
null
null
RNGSimulation.cpp
SleepingGlaceon/VRiftMCarloSimulation
c018d9be651105894cd97ae51f52e67e3a188ba3
[ "MIT" ]
null
null
null
RNGSimulation.cpp
SleepingGlaceon/VRiftMCarloSimulation
c018d9be651105894cd97ae51f52e67e3a188ba3
[ "MIT" ]
null
null
null
#include "RNGSimulation.h" static const int knockbackAR = 15; static const int doubleAR = 15; static const int speed = 10; static const int huntsAdded = 25; VRiftSimulation::VRiftSimulation() { std::vector<int> steps; std::vector<int> floor; std::map<int,int> totalFloors; } void VRiftSimula...
23.888158
118
0.557147
[ "vector" ]
875449284dd23388b32812b196b0bf3442201dda
16,195
cxx
C++
main/unotools/source/config/inetoptions.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/unotools/source/config/inetoptions.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/unotools/source/config/inetoptions.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 y...
29.935305
96
0.580858
[ "vector" ]
8754b08dced5c548107b328652ff3c63b5ab4bf3
3,364
cc
C++
LightValidation/PSCalibration/src/DetectorMessenger.cc
murffer/DetectorSim
1ba114c405eff42c0a52b6dc394cbecfc2d2bab0
[ "Apache-2.0" ]
5
2018-01-13T22:42:24.000Z
2021-03-19T07:38:47.000Z
LightValidation/GS20Calibration/src/DetectorMessenger.cc
murffer/DetectorSim
1ba114c405eff42c0a52b6dc394cbecfc2d2bab0
[ "Apache-2.0" ]
1
2017-05-03T19:01:12.000Z
2017-05-03T19:01:12.000Z
LightValidation/GS20Calibration/src/DetectorMessenger.cc
murffer/DetectorSim
1ba114c405eff42c0a52b6dc394cbecfc2d2bab0
[ "Apache-2.0" ]
3
2015-10-10T15:12:22.000Z
2021-10-18T00:53:35.000Z
#include "DetectorMessenger.hh" #include "DetectorConstruction.hh" #include "G4UIdirectory.hh" #include "G4UIcmdWithAString.hh" #include "G4UIcmdWithAnInteger.hh" #include "G4UIcmdWithADoubleAndUnit.hh" #include "G4UIcmdWithADouble.hh" #include "G4UIcmdWithoutParameter.hh" DetectorMessenger::DetectorMessenger( ...
35.787234
80
0.754459
[ "geometry" ]
875c0f1a197dca811f34bf68ebb4a02092caacfd
1,093
cpp
C++
Train/summer 2017/CF_contest/419 - 430/423/A.cpp
mohamedGamalAbuGalala/Practice
2a5fa3bdaf995d0c304f04231e1a69e6960f72c8
[ "MIT" ]
1
2019-12-19T06:51:20.000Z
2019-12-19T06:51:20.000Z
Train/summer 2017/CF_contest/419 - 430/423/A.cpp
mohamedGamalAbuGalala/Practice
2a5fa3bdaf995d0c304f04231e1a69e6960f72c8
[ "MIT" ]
null
null
null
Train/summer 2017/CF_contest/419 - 430/423/A.cpp
mohamedGamalAbuGalala/Practice
2a5fa3bdaf995d0c304f04231e1a69e6960f72c8
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; // input handle #define in(n) scanf("%d",&n) #define inf(n) scanf("%lf",&n) #define inl(n) scanf("%lld",&n) #define ot(x) printf("%d ", x) #define ln() printf("\n") #define otl(x) printf("%lld ", x) #define otf(x) printf("%.2lf ", x) // helpers defines #define all(v) v.begi...
21.431373
49
0.561757
[ "vector" ]
87636b813497ae6b0ca953abbfd383e8439dd752
27,697
cpp
C++
emulator/src/lib/formats/cassimg.cpp
rjw57/tiw-computer
5ef1c79893165b8622d1114d81cd0cded58910f0
[ "MIT" ]
1
2022-01-15T21:38:38.000Z
2022-01-15T21:38:38.000Z
emulator/src/lib/formats/cassimg.cpp
rjw57/tiw-computer
5ef1c79893165b8622d1114d81cd0cded58910f0
[ "MIT" ]
null
null
null
emulator/src/lib/formats/cassimg.cpp
rjw57/tiw-computer
5ef1c79893165b8622d1114d81cd0cded58910f0
[ "MIT" ]
null
null
null
// license:BSD-3-Clause // copyright-holders:Nathan Woods /********************************************************************* cassimg.cpp Cassette tape image abstraction code *********************************************************************/ #include <string.h> #include <assert.h> #include "imageutl...
27.100783
179
0.696249
[ "object", "vector" ]
8771fa52dc11b52a136e7a38c96bff2880915d6f
2,817
cpp
C++
MultiStream/ImageStream.cpp
H7272/MultiStream2
a81c8bf68184279f848d6a115b259946e673bec8
[ "Apache-2.0" ]
null
null
null
MultiStream/ImageStream.cpp
H7272/MultiStream2
a81c8bf68184279f848d6a115b259946e673bec8
[ "Apache-2.0" ]
null
null
null
MultiStream/ImageStream.cpp
H7272/MultiStream2
a81c8bf68184279f848d6a115b259946e673bec8
[ "Apache-2.0" ]
null
null
null
#include "ImageStream.h" #pragma comment(lib, "Ws2_32.lib") using namespace cv; /** * @VideoStream . * @brief:Image Captur And Send to Client. */ void* ImageStream::VideoStream(void* arg) { // Initialize Winsock WSADATA wsaData; if (0 != WSAStartup(MAKEWORD(2, 2), &wsaData)) { return 0; } ...
33.535714
84
0.57295
[ "vector" ]
87786b521dd7acff841f6d5bdbc24ab89f97a09d
3,237
cpp
C++
src/game/sys/sound/sound_comp.cpp
lowkey42/MagnumOpus
87897b16192323b40064119402c74e014a48caf3
[ "MIT" ]
5
2020-03-13T23:16:33.000Z
2022-03-20T19:16:46.000Z
src/game/sys/sound/sound_comp.cpp
lowkey42/MagnumOpus
87897b16192323b40064119402c74e014a48caf3
[ "MIT" ]
24
2015-04-20T20:26:23.000Z
2015-11-20T22:39:38.000Z
src/game/sys/sound/sound_comp.cpp
lowkey42/medienprojekt
87897b16192323b40064119402c74e014a48caf3
[ "MIT" ]
1
2022-03-08T03:11:21.000Z
2022-03-08T03:11:21.000Z
#include "sound_comp.hpp" #include <unordered_map> #include <core/audio/sound.hpp> #include <game/sys/state/state_comp.hpp> #include <sf2/sf2.hpp> #include <string> namespace mo { namespace sys { namespace sound { struct Sound_entry{ std::string sound_name; audio::Sound_ptr ptr; }; struct Sounds_map{ std...
23.627737
106
0.688601
[ "vector" ]
8780dbdbec46b695dc71fd0f8755eb000cc9da81
4,398
cpp
C++
Engine/Source/Core/Engine.cpp
TzuChieh/XenoGameEngine
69d7524ee05491c8e6f8c45fdb6a12bfcecb4731
[ "MIT" ]
4
2016-09-04T12:58:44.000Z
2020-11-11T15:48:41.000Z
Engine/Source/Core/Engine.cpp
TzuChieh/VirtualGameEngine
69d7524ee05491c8e6f8c45fdb6a12bfcecb4731
[ "MIT" ]
1
2016-07-16T15:46:32.000Z
2016-08-05T11:01:16.000Z
Engine/Source/Core/Engine.cpp
TzuChieh/VirtualGameEngine
69d7524ee05491c8e6f8c45fdb6a12bfcecb4731
[ "MIT" ]
null
null
null
#include "Engine.h" #include "Common/type.h" #include "Common/ThirdPartyLib/glew.h" #include "Game/GameProgram.h" #include "Render/Renderer.h" #include "Physics/PhysicsEngine.h" #include "Input.h" #include "Platform.h" #include "Timer.h" #include "Core/EngineProxy.h" #include <iostream> DEFINE_LOG_SENDER(Engine); us...
19.460177
97
0.699181
[ "render" ]
8785d51ca34e1e67409a49d0760ab1abfc56da3e
638
hpp
C++
ScheduleBuilder.hpp
eroicaleo/HEES
bfc1e297d6b0b7f928e590cdb97d9ccda069f483
[ "MIT" ]
null
null
null
ScheduleBuilder.hpp
eroicaleo/HEES
bfc1e297d6b0b7f928e590cdb97d9ccda069f483
[ "MIT" ]
null
null
null
ScheduleBuilder.hpp
eroicaleo/HEES
bfc1e297d6b0b7f928e590cdb97d9ccda069f483
[ "MIT" ]
null
null
null
#ifndef _SCHEDULE_BUILDER_HPP_ #define _SCHEDULE_BUILDER_HPP_ #include <iostream> #include <vector> #include "DP/taskScheduling.hpp" using std::vector; using std::ostream; class ScheduleBuilder { public: ScheduleBuilder() : m_inaccurateFlag(false) {} // Leave all destructor, copy/move operations default void Bui...
22.785714
54
0.791536
[ "vector" ]
878cdd3eec4b69e009a4cc1e632ff95b4f0f742a
4,789
hpp
C++
ajg/synth/bindings/python/adapter.hpp
legutierr/synth
7540072bde2ea9c8258c2dca69d2ed3bd62fb991
[ "BSL-1.0" ]
1
2016-04-10T14:13:34.000Z
2016-04-10T14:13:34.000Z
ajg/synth/bindings/python/adapter.hpp
legutierr/synth
7540072bde2ea9c8258c2dca69d2ed3bd62fb991
[ "BSL-1.0" ]
null
null
null
ajg/synth/bindings/python/adapter.hpp
legutierr/synth
7540072bde2ea9c8258c2dca69d2ed3bd62fb991
[ "BSL-1.0" ]
null
null
null
// (C) Copyright 2014 Alvaro J. Genial (http://alva.ro) // Use, modification and distribution are subject to 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 AJG_SYNTH_BINDINGS_PYTHON_ADAPTER_HPP_INCLUDED #define AJG_SYNTH_B...
37.708661
101
0.624765
[ "object" ]
87915bc9cc288a8208212e4ed11143e86d74b96a
1,331
hpp
C++
src/Aurora/Framework/Transform.hpp
sjuhyeon/Aurora
9a6249bcac9beb0ac9792137b522160156e1dd71
[ "MIT" ]
1
2022-02-23T17:42:51.000Z
2022-02-23T17:42:51.000Z
src/Aurora/Framework/Transform.hpp
sjuhyeon/Aurora
9a6249bcac9beb0ac9792137b522160156e1dd71
[ "MIT" ]
null
null
null
src/Aurora/Framework/Transform.hpp
sjuhyeon/Aurora
9a6249bcac9beb0ac9792137b522160156e1dd71
[ "MIT" ]
null
null
null
#pragma once #include "Aurora/Core/Vector.hpp" namespace Aurora { struct Transform { Vector3 Translation = { 0.0f, 0.0f, 0.0f }; Vector3 Rotation = { 0.0f, 0.0f, 0.0f }; Vector3 Scale = { 1.0f, 1.0f, 1.0f }; glm::vec3 Up = { 0.0f, 1.0f, 0.0f }; glm::vec3 Right = { 1.0f, 0.0f, 0.0f }; glm::vec3 Forward ...
28.319149
109
0.63411
[ "vector", "transform" ]
87992e3945f37ea453ee886461f94d2ae670252b
2,966
cpp
C++
src/mining/journal_builder.cpp
z-btc/z-btc-main
325510d88c0acafdbc041d3e03f6600c8509cda9
[ "OML" ]
2
2021-07-07T09:55:43.000Z
2021-07-07T10:20:34.000Z
src/mining/journal_builder.cpp
MatterPool/bitcoin-sv-1
c0e0cbd801ec46c0bd5bf6c91903eb943166f279
[ "OML" ]
null
null
null
src/mining/journal_builder.cpp
MatterPool/bitcoin-sv-1
c0e0cbd801ec46c0bd5bf6c91903eb943166f279
[ "OML" ]
2
2020-08-20T20:24:42.000Z
2021-01-21T09:24:56.000Z
// Copyright (c) 2019 Bitcoin Association. // Distributed under the Open BSV software license, see the accompanying file LICENSE. #include <mining/journal.h> #include <mining/journal_builder.h> #include <mining/journal_change_set.h> #include <logging.h> using mining::CJournalBuilder; using mining::CJournalChangeSetPt...
32.955556
106
0.707687
[ "model" ]
87a58e6b6c173a882637ee27dce9af8f897aeb7c
1,796
cpp
C++
source/core/slim-manager/SlimManager.cpp
izenecloud/sf1r-ad-delivery
998eadb243098446854615de9a96e58a24bd2f4f
[ "Apache-2.0" ]
18
2015-04-20T03:40:36.000Z
2020-01-09T08:43:07.000Z
source/core/slim-manager/SlimManager.cpp
izenecloud/sf1r-ad-delivery
998eadb243098446854615de9a96e58a24bd2f4f
[ "Apache-2.0" ]
null
null
null
source/core/slim-manager/SlimManager.cpp
izenecloud/sf1r-ad-delivery
998eadb243098446854615de9a96e58a24bd2f4f
[ "Apache-2.0" ]
7
2015-02-01T13:53:35.000Z
2020-07-07T15:45:36.000Z
#include "SlimManager.h" #include "SlimRecommend.h" namespace sf1r { SlimManager::SlimManager(const boost::shared_ptr<AdSearchService>& adSearchService, const boost::shared_ptr<DocumentManager>& documentManager, const std::string& collection, ...
30.440678
87
0.566815
[ "vector" ]
87a5b604f21f81b1db1eee9763c71bf606e58347
565
cpp
C++
lib/model/src/World.cpp
beryan/Adventure2019
a07b6ffee7ee196d9f499aa145906732ee067af0
[ "MIT" ]
1
2020-03-03T12:16:22.000Z
2020-03-03T12:16:22.000Z
lib/model/src/World.cpp
beryan/Adventure2019
a07b6ffee7ee196d9f499aa145906732ee067af0
[ "MIT" ]
null
null
null
lib/model/src/World.cpp
beryan/Adventure2019
a07b6ffee7ee196d9f499aa145906732ee067af0
[ "MIT" ]
1
2020-03-03T12:16:23.000Z
2020-03-03T12:16:23.000Z
// // Created by arehal on 1/17/19. // #include <iostream> #include "World.h" using model::World; namespace model { //constructors World::World() : areas({}) { } World::World(std::vector<Area> areas) : areas(std::move(areas)) { } //getters and setters std::v...
17.121212
58
0.548673
[ "vector", "model" ]
87a83470ca6e1d5a86fd8794a15f5c23060d8599
695
hpp
C++
header/friedrichdb/field_t.hpp
jinncrafters/friedrichdb
313180fee8f230b2a406000b948210c77c4253a3
[ "BSD-3-Clause" ]
1
2018-01-26T09:15:01.000Z
2018-01-26T09:15:01.000Z
header/friedrichdb/field_t.hpp
duckstax/friedrichdb
313180fee8f230b2a406000b948210c77c4253a3
[ "BSD-3-Clause" ]
1
2018-06-21T07:41:38.000Z
2018-06-21T07:41:38.000Z
header/friedrichdb/field_t.hpp
duckstax/friedrichdb
313180fee8f230b2a406000b948210c77c4253a3
[ "BSD-3-Clause" ]
null
null
null
#ifndef FIELD_T_HPP #define FIELD_T_HPP #include "friedrichdb/data_types/ordering.h" #include <vector> #include <memory> namespace friedrichdb { using byte = std::uint8_t; class field_t final : public implement::ordered<field_t> { public: field_t() = default; ~field_...
19.857143
66
0.569784
[ "vector" ]
87a91ce1162221708a14b81738f7adb0bebfa152
20,357
cpp
C++
src/draw_helpers/ThemeDrawHelper.cpp
omi-lab/tp_maps_ui
720690b4b30e1db2c9231d6b86b61434cc32d3a5
[ "MIT" ]
1
2018-11-06T12:30:38.000Z
2018-11-06T12:30:38.000Z
src/draw_helpers/ThemeDrawHelper.cpp
omi-lab/tp_maps_ui
720690b4b30e1db2c9231d6b86b61434cc32d3a5
[ "MIT" ]
null
null
null
src/draw_helpers/ThemeDrawHelper.cpp
omi-lab/tp_maps_ui
720690b4b30e1db2c9231d6b86b61434cc32d3a5
[ "MIT" ]
2
2018-11-05T10:58:08.000Z
2020-12-09T12:39:04.000Z
#include "tp_maps_ui/draw_helpers/ThemeDrawHelper.h" #include "tp_maps_ui/layers/UILayer.h" #include "tp_maps/Map.h" #include "tp_maps/shaders/FrameShader.h" #include "tp_maps/textures/BasicTexture.h" #include "tp_image_utils/SaveImages.h" namespace tp_maps_ui { namespace { using Vert = tp_maps::FrameShader::Verte...
33.537068
169
0.572629
[ "vector" ]
87baf8c8a845739cd688eb1392f78f79e9a0fc31
193,889
cpp
C++
android/android_9/frameworks/native/services/surfaceflinger/SurfaceFlinger.cpp
yakuizhao/intel-vaapi-driver
b2bb0383352694941826543a171b557efac2219b
[ "MIT" ]
null
null
null
android/android_9/frameworks/native/services/surfaceflinger/SurfaceFlinger.cpp
yakuizhao/intel-vaapi-driver
b2bb0383352694941826543a171b557efac2219b
[ "MIT" ]
null
null
null
android/android_9/frameworks/native/services/surfaceflinger/SurfaceFlinger.cpp
yakuizhao/intel-vaapi-driver
b2bb0383352694941826543a171b557efac2219b
[ "MIT" ]
null
null
null
/* * Copyright (C) 2007 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...
37.597246
119
0.607858
[ "geometry", "render", "vector", "transform" ]
87bd345088c5411a39960441c61199d1474b0d41
4,123
cpp
C++
src/demo/ahe/square-benchmark.cpp
carlzhangweiwen/gazelle_mpc
45818ccf6375100a8fe2680f44f37d713380aa5c
[ "MIT" ]
50
2018-10-05T02:46:53.000Z
2022-03-20T08:47:46.000Z
src/demo/ahe/square-benchmark.cpp
WeiBenqiang/gazelle_mpc
f4eb3bae09bf4897f2651946eac7dee17e094a6f
[ "MIT" ]
7
2018-10-11T17:19:12.000Z
2022-03-08T16:45:11.000Z
src/demo/ahe/square-benchmark.cpp
WeiBenqiang/gazelle_mpc
f4eb3bae09bf4897f2651946eac7dee17e094a6f
[ "MIT" ]
20
2018-12-09T17:44:11.000Z
2022-03-01T12:13:21.000Z
/* NN-Layers-Benchmarking: This code benchmarks FC and Conv layers for a neural network List of Authors: Chiraag Juvekar, chiraag@mit.edu License Information: MIT License Copyright (c) 2017, Massachusetts Institute of Technology (MIT) */ #include <pke/gazelle.h> #include <utils/backend.h> #include <iostream> #inclu...
32.722222
93
0.570943
[ "vector" ]
87c0026cfb3abfefc43227a77e7a26320d47430a
20,669
hpp
C++
include/System/Security/Cryptography/AesCryptoServiceProvider.hpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
null
null
null
include/System/Security/Cryptography/AesCryptoServiceProvider.hpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
null
null
null
include/System/Security/Cryptography/AesCryptoServiceProvider.hpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
1
2022-03-30T21:07:35.000Z
2022-03-30T21:07:35.000Z
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "beatsaber-hook/shared/utils/typedefs.h" #include "beatsaber-hook/shared/utils/byref.hpp" // Including type: System.Security.Cryptography.Aes #i...
68.896667
300
0.768784
[ "vector" ]
d7ad4131ece6f2edce23e2fc082c9c9a4a012f83
2,831
cpp
C++
Libraries/RobsJuceModules/romos/TestSuite/romos_TestEventGenerator.cpp
RobinSchmidt/RS-MET-Preliminary
6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe
[ "FTL" ]
34
2017-04-19T18:26:02.000Z
2022-02-15T17:47:26.000Z
Libraries/RobsJuceModules/romos/TestSuite/romos_TestEventGenerator.cpp
RobinSchmidt/RS-MET-Preliminary
6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe
[ "FTL" ]
307
2017-05-04T21:45:01.000Z
2022-02-03T00:59:01.000Z
Libraries/RobsJuceModules/romos/TestSuite/romos_TestEventGenerator.cpp
RobinSchmidt/RS-MET-Preliminary
6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe
[ "FTL" ]
4
2017-09-05T17:04:31.000Z
2021-12-15T21:24:28.000Z
#include "romos_TestEventGenerator.h" //using namespace rsTestRomos; namespace rsTestRomos { std::vector<romos::NoteEvent> TestEventGenerator::generateNoteOnOffPair(unsigned int key, unsigned int velocity, unsigned int deltaFramesForNoteOn, unsigned int durationInFrames) { std::vector<romos::NoteEvent> result; ...
35.3875
128
0.726245
[ "vector" ]
d7add128a3f3ce4c57dee406460925411068be2d
9,548
cpp
C++
client/include/game/CPickups.cpp
MayconFelipeA/sampvoiceatt
3fae8a2cf37dfad2e3925d56aebfbbcd4162b0ff
[ "MIT" ]
368
2015-01-01T21:42:00.000Z
2022-03-29T06:22:22.000Z
client/include/game/CPickups.cpp
MayconFelipeA/sampvoiceatt
3fae8a2cf37dfad2e3925d56aebfbbcd4162b0ff
[ "MIT" ]
92
2019-01-23T23:02:31.000Z
2022-03-23T19:59:40.000Z
client/include/game/CPickups.cpp
MayconFelipeA/sampvoiceatt
3fae8a2cf37dfad2e3925d56aebfbbcd4162b0ff
[ "MIT" ]
179
2015-02-03T23:41:17.000Z
2022-03-26T08:27:16.000Z
/* Plugin-SDK (Grand Theft Auto San Andreas) source file Authors: GTA Community. See more here https://github.com/DK22Pac/plugin-sdk Do not delete this comment block. Respect others' work! */ #include "CPickups.h" unsigned int MAX_COLLECTED_PICKUPS = 20; unsigned int MAX_PICKUP_MESSAGES = 16; unsigned ...
44.616822
192
0.77744
[ "object" ]