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
9908aafcef0a52579b638ce492e0249706f21f20
4,374
cpp
C++
test/vector_test.cpp
felipe-lavratti/chelper
4273eedd76d8fb6dc22dd978abad5ab7636bf39b
[ "MIT" ]
4
2016-08-15T21:56:39.000Z
2017-01-18T12:54:49.000Z
test/vector_test.cpp
felipe-lavratti/chelper
4273eedd76d8fb6dc22dd978abad5ab7636bf39b
[ "MIT" ]
null
null
null
test/vector_test.cpp
felipe-lavratti/chelper
4273eedd76d8fb6dc22dd978abad5ab7636bf39b
[ "MIT" ]
null
null
null
/* * Copyright (c) 2013 Felipe Lavratti (felipe@andradeneves.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 limitation the righ...
30.587413
94
0.721765
[ "vector" ]
990fe2a6b65c85faf0ef46d7589fa26fbad6d1c4
313,634
cc
C++
components/autofill/core/browser/personal_data_manager_unittest.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
components/autofill/core/browser/personal_data_manager_unittest.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
components/autofill/core/browser/personal_data_manager_unittest.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "components/autofill/core/browser/personal_data_manager.h" #include <stddef.h> #include <algorithm> #include <list> #include <map> #include <me...
44.493403
80
0.690097
[ "object", "vector" ]
9910db682ddd2922286568fc7a392701cab592b9
27,800
cpp
C++
Sourcecode/ProteinAbsoluteQuan/ProteinAbsoluteQuan/BasicClass.cpp
bertrandboudaud/LFAQ
5be4f71700c361764b5ac8bd9629adc176667e0c
[ "Artistic-1.0-Perl" ]
2
2018-02-27T02:16:25.000Z
2021-12-26T01:02:14.000Z
Sourcecode/ProteinAbsoluteQuan/ProteinAbsoluteQuan/BasicClass.cpp
bertrandboudaud/LFAQ
5be4f71700c361764b5ac8bd9629adc176667e0c
[ "Artistic-1.0-Perl" ]
null
null
null
Sourcecode/ProteinAbsoluteQuan/ProteinAbsoluteQuan/BasicClass.cpp
bertrandboudaud/LFAQ
5be4f71700c361764b5ac8bd9629adc176667e0c
[ "Artistic-1.0-Perl" ]
2
2021-06-27T18:27:34.000Z
2022-02-11T06:27:58.000Z
/* # Copyright(C) 2015-2018 all rights reserved # This program is a 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. # # This prog...
23.108894
146
0.64536
[ "vector", "transform" ]
9912da836fc50d550fd28b4850c2201e573149cb
4,715
cpp
C++
collada2bin.cpp
NoImaginationGuy/graphcore
43b8c8e991e9cf3b5e4ce89706b3d6c98be056ba
[ "MIT" ]
null
null
null
collada2bin.cpp
NoImaginationGuy/graphcore
43b8c8e991e9cf3b5e4ce89706b3d6c98be056ba
[ "MIT" ]
null
null
null
collada2bin.cpp
NoImaginationGuy/graphcore
43b8c8e991e9cf3b5e4ce89706b3d6c98be056ba
[ "MIT" ]
null
null
null
// // => collada2bin.cpp // // GraphCore // // Copyright (c) 2018 Lorenzo Laneve // // 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, inc...
28.403614
101
0.581548
[ "mesh" ]
9914b255de91d3b4e747788f5b16c31ef3f7327c
9,016
cpp
C++
src/print.cpp
dblommesteijn/oolib
b93a3cc74571f4b7cffb6546d6930eeb1f489e6c
[ "BSD-2-Clause" ]
null
null
null
src/print.cpp
dblommesteijn/oolib
b93a3cc74571f4b7cffb6546d6930eeb1f489e6c
[ "BSD-2-Clause" ]
null
null
null
src/print.cpp
dblommesteijn/oolib
b93a3cc74571f4b7cffb6546d6930eeb1f489e6c
[ "BSD-2-Clause" ]
null
null
null
// // ooprint.cpp WJ112 // /* * Copyright (c) 2014, Walter de Jong * 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 no...
20.125
85
0.548248
[ "object" ]
9917c6534f00effa143f181744e43fd6063c0a33
637
cpp
C++
1101-9999/1626. Best Team With No Conflicts.cpp
erichuang1994/leetcode-solution
d5b3bb3ce2a428a3108f7369715a3700e2ba699d
[ "MIT" ]
null
null
null
1101-9999/1626. Best Team With No Conflicts.cpp
erichuang1994/leetcode-solution
d5b3bb3ce2a428a3108f7369715a3700e2ba699d
[ "MIT" ]
null
null
null
1101-9999/1626. Best Team With No Conflicts.cpp
erichuang1994/leetcode-solution
d5b3bb3ce2a428a3108f7369715a3700e2ba699d
[ "MIT" ]
null
null
null
class Solution { public: int bestTeamScore(vector<int> &scores, vector<int> &ages) { vector<pair<int, int>> vec; int len = ages.size(); int maxAge = INT_MIN; for (int i = 0; i < len; i++) { vec.emplace_back(scores[i], ages[i]); maxAge = max(maxAge, ages[i]); } sort(vec.begin(...
21.233333
59
0.485086
[ "vector" ]
991e8fe63dd34ddbbcec770cd05424968f72b077
3,211
hpp
C++
blast/include/objtools/readers/microarray_reader.hpp
mycolab/ncbi-blast
e59746cec78044d2bf6d65de644717c42f80b098
[ "Apache-2.0" ]
null
null
null
blast/include/objtools/readers/microarray_reader.hpp
mycolab/ncbi-blast
e59746cec78044d2bf6d65de644717c42f80b098
[ "Apache-2.0" ]
null
null
null
blast/include/objtools/readers/microarray_reader.hpp
mycolab/ncbi-blast
e59746cec78044d2bf6d65de644717c42f80b098
[ "Apache-2.0" ]
null
null
null
/* $Id: microarray_reader.hpp 632526 2021-06-02 17:25:01Z ivanov $ * =========================================================================== * * PUBLIC DOMAIN NOTICE * National Center for Biotechnology Information * * This software/database is a "United States Govern...
28.669643
80
0.620367
[ "vector" ]
992465696f4aaf902928bb5bf4476ee8b313c767
24,496
hpp
C++
Sisyphe/cppbase/src/interpreter/cppFileInterpreterAccess_impl.hpp
tedi21/SisypheReview
f7c05bad1ccc036f45870535149d9685e1120c2c
[ "Unlicense" ]
null
null
null
Sisyphe/cppbase/src/interpreter/cppFileInterpreterAccess_impl.hpp
tedi21/SisypheReview
f7c05bad1ccc036f45870535149d9685e1120c2c
[ "Unlicense" ]
null
null
null
Sisyphe/cppbase/src/interpreter/cppFileInterpreterAccess_impl.hpp
tedi21/SisypheReview
f7c05bad1ccc036f45870535149d9685e1120c2c
[ "Unlicense" ]
null
null
null
#define A(str) encode<EncodingT,ansi>(str) #define C(str) encode<ansi,EncodingT>(str) NAMESPACE_BEGIN(interp) template <class EncodingT> CppFileInterpreterAccess<EncodingT>::CppFileInterpreterAccess() { m_object = _CppFileAccess<EncodingT>::getInstance(); m_error = false; } template <class EncodingT> typename Enco...
26.713195
224
0.738161
[ "vector" ]
992799ef8d3f7c766aa93a9c0260504f67f9e136
473
cpp
C++
InterviewBit/Greedy Algorithm/Distribute Candy.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
36
2019-12-27T08:23:08.000Z
2022-01-24T20:35:47.000Z
InterviewBit/Greedy Algorithm/Distribute Candy.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
10
2019-11-13T02:55:18.000Z
2021-10-13T23:28:09.000Z
InterviewBit/Greedy Algorithm/Distribute Candy.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
53
2020-08-15T11:08:40.000Z
2021-10-09T15:51:38.000Z
// https://www.interviewbit.com/problems/distribute-candy/ int Solution::candy(vector<int> &A) { int n = A.size(); int choc[n]; fill_n(choc, n, 1); for(int i=1;i<n;i++) { if(A[i]>A[i-1]) choc[i]= choc[i-1]+1; } for(int i=n-2;i>=0;i--) if(A[i]>A[i+1] ...
18.92
59
0.439746
[ "vector" ]
992b8ede8ea8133ec80c6155d9ed9131dcb88f6c
6,621
cpp
C++
cores/n64/custom/GLideN64/mupenplus/Config_mupenplus.cpp
wulfebw/retro
dad4b509e99e729e39a2f27e9ee4120e3b607f58
[ "MIT-0", "MIT" ]
7
2020-07-20T12:11:35.000Z
2021-12-23T02:09:19.000Z
cores/n64/custom/GLideN64/mupenplus/Config_mupenplus.cpp
wulfebw/retro
dad4b509e99e729e39a2f27e9ee4120e3b607f58
[ "MIT-0", "MIT" ]
null
null
null
cores/n64/custom/GLideN64/mupenplus/Config_mupenplus.cpp
wulfebw/retro
dad4b509e99e729e39a2f27e9ee4120e3b607f58
[ "MIT-0", "MIT" ]
1
2020-08-29T16:36:48.000Z
2020-08-29T16:36:48.000Z
#include "GLideN64_mupenplus.h" #include "GLideN64_libretro.h" #include <assert.h> #include <errno.h> #include <stdlib.h> #include <string.h> #include <algorithm> #include "../Config.h" #include "../GLideN64.h" #include "../GBI.h" #include "../RSP.h" #include "../Log.h" extern "C" { #include "main/util.h" #include "GL...
35.596774
97
0.747621
[ "transform" ]
992f9bee0c5076e6577881f92b851363ff437061
4,694
cpp
C++
smart-darkgdk/include/Sprite.cpp
endel/smart-darkgdk
6235288b8aab505577223f9544a6e5a7eb6bf6cd
[ "MIT" ]
null
null
null
smart-darkgdk/include/Sprite.cpp
endel/smart-darkgdk
6235288b8aab505577223f9544a6e5a7eb6bf6cd
[ "MIT" ]
null
null
null
smart-darkgdk/include/Sprite.cpp
endel/smart-darkgdk
6235288b8aab505577223f9544a6e5a7eb6bf6cd
[ "MIT" ]
null
null
null
#include "Commonobject.h" #include "../Game.h" #include "Sprite.h" #include "DarkGDK.h" Sprite::Sprite(char* filename, int x, int y) { this->setId(Game::getSpriteId()); Image* img = new Image(filename); dbSprite(this->id, x, y, img->id); resetTextureOffset(); } Sprite::Sprite(int n) { set...
16.186207
99
0.588837
[ "transform" ]
9935f4eeed45ee059bc20dbd5ce34c680bd89094
2,201
cpp
C++
src/brew/fileio/LocalFileSystem.cpp
grrrrunz/brew
13e17e2f6c9fb0f612c3a0bcabd233085ca15867
[ "MIT" ]
1
2018-02-09T16:20:50.000Z
2018-02-09T16:20:50.000Z
src/brew/fileio/LocalFileSystem.cpp
grrrrunz/brew
13e17e2f6c9fb0f612c3a0bcabd233085ca15867
[ "MIT" ]
null
null
null
src/brew/fileio/LocalFileSystem.cpp
grrrrunz/brew
13e17e2f6c9fb0f612c3a0bcabd233085ca15867
[ "MIT" ]
null
null
null
/** * * |_ _ _ * |_)| (/_VV * * Copyright 2017 r.acc * * LocalDirectory.cpp * * Created on: Feb 11, 2016 * Author: void */ #include <brew/fileio/LocalFileSystem.h> #include <brew/fileio/VirtualFileSystem.h> #include <fstream> #include <dirent.h> #include <fcntl.h> #include <unistd.h> namespace ...
22.690722
97
0.687869
[ "vector" ]
99399082f9926a0ae6b833ec295c0aa563a836e0
4,289
cpp
C++
src/WindowManager.cpp
shourai-softwares/dive
8cee92002a319bb16cc1ee4f506d33fa166987c2
[ "MIT" ]
null
null
null
src/WindowManager.cpp
shourai-softwares/dive
8cee92002a319bb16cc1ee4f506d33fa166987c2
[ "MIT" ]
null
null
null
src/WindowManager.cpp
shourai-softwares/dive
8cee92002a319bb16cc1ee4f506d33fa166987c2
[ "MIT" ]
null
null
null
#include <chrono> #include <thread> #include <iostream> #include <exception> #include <glm/gtc/matrix_transform.hpp> #include <tiny_obj_loader.h> #include "Scene.h" #include "WindowManager.h" using namespace std; WindowManager::WindowManager() { try { this->initializeWindow(); } catch(exception& e) { ...
29.57931
152
0.61786
[ "render", "model" ]
994bcfa9096c5a9618def192175b2bb9ce041e12
2,363
hpp
C++
src/tree.hpp
yatisht/strain_phylogenetics
eb978ace4e78624b330fa38ddd02f6d32f34f5fd
[ "MIT" ]
7
2020-07-02T16:40:56.000Z
2022-01-31T17:50:45.000Z
src/tree.hpp
yatisht/strain_phylogenetics
eb978ace4e78624b330fa38ddd02f6d32f34f5fd
[ "MIT" ]
3
2020-06-05T03:06:15.000Z
2020-09-19T02:22:10.000Z
src/tree.hpp
yatisht/strain_phylogenetics
eb978ace4e78624b330fa38ddd02f6d32f34f5fd
[ "MIT" ]
2
2020-05-28T20:41:45.000Z
2020-05-31T21:16:57.000Z
#include <fstream> #include <unordered_map> #include <string> #include <sstream> #include <vector> #include <queue> #include <stack> #include <algorithm> #include <cassert> class Node { public: size_t level; float branch_length; std::string identifier; Node* parent; std::vec...
32.819444
101
0.637325
[ "vector" ]
9951ec54160f7ba8f7d5ef7f482b6833ecfd6c75
1,278
cpp
C++
Contests/Vjudge/EstructurasBasicas/f.cpp
searleser97/Algorithms
af791541d416c29867213d705375cbb3361f486c
[ "Apache-2.0" ]
7
2019-06-06T17:54:20.000Z
2021-03-24T02:31:55.000Z
Contests/Vjudge/EstructurasBasicas/f.cpp
searleser97/Algorithms
af791541d416c29867213d705375cbb3361f486c
[ "Apache-2.0" ]
null
null
null
Contests/Vjudge/EstructurasBasicas/f.cpp
searleser97/Algorithms
af791541d416c29867213d705375cbb3361f486c
[ "Apache-2.0" ]
1
2021-03-24T02:31:57.000Z
2021-03-24T02:31:57.000Z
#include <bits/stdc++.h> using namespace std; #define endl '\n' #define forr(_, x, n) for (int _ = x; _ > n; _--) #define fos(_, x, n, s) for (int _ = x; _ < n; _ += s) #define forn(_, x, n) fos(_, x, n, 1) #define rep(_, n) forn(_, 0, n) #define fi first #define se second #define pb push_back #define pairii pair<int,...
21.3
71
0.489828
[ "vector" ]
995f26b779e360e290ca48f7d795e0492cb7148f
11,255
cpp
C++
Tools/Davisloading.cpp
marcorax/Energy_model
0656cb9cbdb876e6134ec514c8d90ca5229453ac
[ "MIT" ]
null
null
null
Tools/Davisloading.cpp
marcorax/Energy_model
0656cb9cbdb876e6134ec514c8d90ca5229453ac
[ "MIT" ]
null
null
null
Tools/Davisloading.cpp
marcorax/Energy_model
0656cb9cbdb876e6134ec514c8d90ca5229453ac
[ "MIT" ]
null
null
null
#include <stdlib.h> #include <fstream> #include <iostream> #include <string> #include <opencv2/opencv.hpp> #include <Davisloading.hpp> #define MAXVALUE 65535 //max decimal value of unsigned int (the original pixel type) Used to tormalize pixel values to 1 //The class is supposed to deal with AEDAT 3.1 files. // To k...
40.631769
120
0.560373
[ "object", "vector" ]
9975d26c7269f4ff68dff62ccfa2975cc7c51f46
11,308
cpp
C++
src/qpid/broker/HeadersExchange.cpp
gcsideal/debian-qpid-cpp
e4d034036f29408f940805f5505ae62ce89650cc
[ "Apache-2.0" ]
null
null
null
src/qpid/broker/HeadersExchange.cpp
gcsideal/debian-qpid-cpp
e4d034036f29408f940805f5505ae62ce89650cc
[ "Apache-2.0" ]
null
null
null
src/qpid/broker/HeadersExchange.cpp
gcsideal/debian-qpid-cpp
e4d034036f29408f940805f5505ae62ce89650cc
[ "Apache-2.0" ]
null
null
null
/* * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); y...
32.033994
190
0.601963
[ "vector" ]
9978e6f6d4c77943159b9669e2205fbcd28b972b
7,400
cpp
C++
SQLiteWrapper.cpp
GamePad64/lvsqlite3
94cafdf49765ba28eacbba0c94a4f9f2b84d129d
[ "CC0-1.0" ]
1
2017-09-05T02:15:01.000Z
2017-09-05T02:15:01.000Z
SQLiteWrapper.cpp
GamePad64/lvsqlite3
94cafdf49765ba28eacbba0c94a4f9f2b84d129d
[ "CC0-1.0" ]
null
null
null
SQLiteWrapper.cpp
GamePad64/lvsqlite3
94cafdf49765ba28eacbba0c94a4f9f2b84d129d
[ "CC0-1.0" ]
null
null
null
/* Written in 2015 by Alexander Shishenko <alex@shishenko.com> * * LVSQLite - SQLite wrapper, used in Librevault. * To the extent possible under law, the author(s) have dedicated all copyright * and related and neighboring rights to this software to the public domain * worldwide. This software is distributed witho...
33.035714
144
0.748108
[ "vector" ]
99799c1fdabc65fd56cc3cf007731d02f7be3069
1,881
cc
C++
screen-capture-utils/kmsvnc_utils_test.cc
Toromino/chromiumos-platform2
97e6ba18f0e5ab6723f3448a66f82c1a07538d87
[ "BSD-3-Clause" ]
null
null
null
screen-capture-utils/kmsvnc_utils_test.cc
Toromino/chromiumos-platform2
97e6ba18f0e5ab6723f3448a66f82c1a07538d87
[ "BSD-3-Clause" ]
null
null
null
screen-capture-utils/kmsvnc_utils_test.cc
Toromino/chromiumos-platform2
97e6ba18f0e5ab6723f3448a66f82c1a07538d87
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2021 The Chromium OS 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 <gtest/gtest.h> #include <vector> #include "screen-capture-utils/kmsvnc_utils.h" namespace screenshot { void runConvertBuffer(uint32_t crtc...
27.661765
76
0.682084
[ "vector" ]
5f53f0ed83b6e2b185b7f70b5ffe25b902762be2
58,871
cpp
C++
src/compile/compile_p4.cpp
eniac/Mantis
aca2542d02655c1cdec29a32b258901c2b0b8866
[ "MIT" ]
15
2020-08-12T12:57:23.000Z
2021-11-04T16:11:31.000Z
src/compile/compile_p4.cpp
eniac/Mantis
aca2542d02655c1cdec29a32b258901c2b0b8866
[ "MIT" ]
null
null
null
src/compile/compile_p4.cpp
eniac/Mantis
aca2542d02655c1cdec29a32b258901c2b0b8866
[ "MIT" ]
null
null
null
/* Copyright 2020-present University of Pennsylvania * * 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...
41.990728
194
0.523331
[ "vector", "transform" ]
5f58db67e2fdfda60a5c1ab73fde9ab471321b68
318
cpp
C++
C++/Single-Number-II.cpp
shreyventure/LeetCode-Solutions
74423d65702b78974e390f17c9d6365d17e6eed5
[ "MIT" ]
388
2020-06-29T08:41:27.000Z
2022-03-31T22:55:05.000Z
C++/Single-Number-II.cpp
shreyventure/LeetCode-Solutions
74423d65702b78974e390f17c9d6365d17e6eed5
[ "MIT" ]
178
2020-07-16T17:15:28.000Z
2022-03-09T21:01:50.000Z
C++/Single-Number-II.cpp
shreyventure/LeetCode-Solutions
74423d65702b78974e390f17c9d6365d17e6eed5
[ "MIT" ]
263
2020-07-13T18:33:20.000Z
2022-03-28T13:54:10.000Z
// Leetcode URL: https://leetcode.com/problems/single-number-ii /* * Runtime - 4ms * Memory - 9.5 */ class Solution { public: int singleNumber(vector<int>& nums) { int a=0, b=0; for(int num: nums) { a = b & (a^num); b = a | (b^num); } return b; } };
18.705882
63
0.481132
[ "vector" ]
5f5a57b7a652e7a809acc8a2977bb8a9a67eb7c8
24,586
cpp
C++
ProjectX/Ddutil.cpp
ForsakenW/forsaken
f06e2b9031e96a9fd219ab1326ad4eacbab37d44
[ "MIT" ]
7
2015-06-21T13:01:03.000Z
2020-08-09T19:53:26.000Z
ProjectX/Ddutil.cpp
ForsakenW/forsaken
f06e2b9031e96a9fd219ab1326ad4eacbab37d44
[ "MIT" ]
3
2015-06-26T01:35:18.000Z
2016-05-11T22:50:48.000Z
ProjectX/Ddutil.cpp
ForsakenW/forsaken
f06e2b9031e96a9fd219ab1326ad4eacbab37d44
[ "MIT" ]
null
null
null
/* * The X Men, June 1996 * Copyright (c) 1996 Probe Entertainment Limited * All Rights Reserved * * Authors: Philipy */ /*========================================================================== * * Copyright (C) 1995-1996 Microsoft Corporation. All Rights Reserved. * * File: ddutil.cpp * Conten...
26.465016
141
0.550679
[ "object" ]
5f64301e8b8ff39dd6adb685d6189c6bb5822b48
8,746
cpp
C++
src/field.cpp
spokendotcpp/Generation_Terrain
661ff594653b82d93ae018158756c03b1a960b82
[ "MIT" ]
null
null
null
src/field.cpp
spokendotcpp/Generation_Terrain
661ff594653b82d93ae018158756c03b1a960b82
[ "MIT" ]
null
null
null
src/field.cpp
spokendotcpp/Generation_Terrain
661ff594653b82d93ae018158756c03b1a960b82
[ "MIT" ]
null
null
null
#include "../include/field.h" #include <iostream> Field::Field(float _width, float _height, float _length, size_t power) :width(_width), height(_height), length(_length), size(0), map(nullptr) { if( power >= 16 ) power = 8; // default // pow(2, power) + 1 size = (1 << power) + 1; map ...
26.264264
86
0.439401
[ "mesh" ]
5f6ad036dc2c4e8badbb675da848d6a445b9fb3e
2,825
cc
C++
sentinel-core/slot/base/default_slot_chain_impl_unittests.cc
windrunner123/sentinel-cpp
7957e692466db0b7b83b7218602757113e9f2d22
[ "Apache-2.0" ]
121
2019-02-22T06:50:31.000Z
2022-01-22T23:23:42.000Z
sentinel-core/slot/base/default_slot_chain_impl_unittests.cc
windrunner123/sentinel-cpp
7957e692466db0b7b83b7218602757113e9f2d22
[ "Apache-2.0" ]
24
2019-05-07T08:58:38.000Z
2022-01-26T02:36:06.000Z
sentinel-core/slot/base/default_slot_chain_impl_unittests.cc
windrunner123/sentinel-cpp
7957e692466db0b7b83b7218602757113e9f2d22
[ "Apache-2.0" ]
36
2019-03-19T09:46:08.000Z
2021-11-24T13:20:56.000Z
#include <memory> #include <string> #include "gmock/gmock.h" #include "gtest/gtest.h" #include "sentinel-core/common/string_resource_wrapper.h" #include "sentinel-core/common/entry.h" #include "sentinel-core/slot/base/default_slot_chain_impl.h" #include "sentinel-core/test/mock/slot/mock.h" #include "sentinel-core/...
37.666667
80
0.718938
[ "vector" ]
5f78031f36522a0534c139e7aac7cbbc45c59386
1,934
cpp
C++
Chapter20-22/Space Invaders ++ 2/InputHandler.cpp
Gerraleslie/Beginning-C-game-programming-learn-to-program-with-C-by-building-fun-games
3bfdc3ce64850c43a1362688d990135ad8a8dee7
[ "MIT" ]
77
2019-12-18T12:34:23.000Z
2022-03-10T08:44:59.000Z
Chapter20-22/Space Invaders ++ 2/InputHandler.cpp
Gerraleslie/Beginning-C-game-programming-learn-to-program-with-C-by-building-fun-games
3bfdc3ce64850c43a1362688d990135ad8a8dee7
[ "MIT" ]
1
2020-10-19T08:12:05.000Z
2020-10-19T09:36:37.000Z
Chapter20-22/Space Invaders ++ 2/InputHandler.cpp
Gerraleslie/Beginning-C-game-programming-learn-to-program-with-C-by-building-fun-games
3bfdc3ce64850c43a1362688d990135ad8a8dee7
[ "MIT" ]
47
2019-11-25T15:18:08.000Z
2022-03-26T21:56:35.000Z
#include <sstream> #include "InputHandler.h" using namespace sf; using namespace std; void InputHandler::initialiseInputHandler( ScreenManagerRemoteControl* sw, vector<shared_ptr<Button>> buttons, View* pointerToUIView, Screen* parentScreen) { m_ScreenManagerRemoteControl = sw; m_Buttons = buttons; m_PointerTo...
22.229885
58
0.738883
[ "vector" ]
5f7aeb8541a46419498949eae6b0946b2bd73081
6,939
hpp
C++
include/grid.hpp
gerzin/parallel-cellular-automata
dcaf220fa89e8348486aa17d46a864d6ee64e46d
[ "MIT" ]
null
null
null
include/grid.hpp
gerzin/parallel-cellular-automata
dcaf220fa89e8348486aa17d46a864d6ee64e46d
[ "MIT" ]
null
null
null
include/grid.hpp
gerzin/parallel-cellular-automata
dcaf220fa89e8348486aa17d46a864d6ee64e46d
[ "MIT" ]
null
null
null
/** * @file grid.hpp * @author Gerardo Zinno (g.zinno@studenti.unipi.it) * @brief Definition of the grid of the automaton. * @version 0.1 * @date 2022-01-07 * * @copyright Copyright (c) 2022 * */ #ifndef PARALLEL_CELLULAR_AUTOMATA_GRID_HPP #define PARALLEL_CELLULAR_AUTOMATA_GRID_HPP #include <exception> #incl...
24.09375
120
0.527454
[ "object", "vector" ]
5f7c425e1dd9ed76ef7898f65556a9199c019bc0
11,708
hpp
C++
src/vector.hpp
pip010/talg
58212bb0a216f54987448f7fa0622f46a3e9b61e
[ "MIT" ]
1
2016-03-18T09:54:31.000Z
2016-03-18T09:54:31.000Z
src/vector.hpp
pip010/talg
58212bb0a216f54987448f7fa0622f46a3e9b61e
[ "MIT" ]
null
null
null
src/vector.hpp
pip010/talg
58212bb0a216f54987448f7fa0622f46a3e9b61e
[ "MIT" ]
null
null
null
#pragma once #include <initializer_list> #include <array> #include <iostream> #include <cassert> #include <cmath> #include <limits> namespace talg { /* Decoration for templated vectors */ class vtag {}; class vtag_xy {}; class vtag_xyz {}; class vtag_xyzw {}; class vtag_ij {}; class vtag_ijk {}; class v...
19.644295
146
0.581397
[ "vector", "3d" ]
5f7db5295bb87646183ba76ba1c690266cb3bf9d
3,978
cc
C++
smc/src/model/DescribeReplicationJobsRequest.cc
iamzken/aliyun-openapi-cpp-sdk
3c991c9ca949b6003c8f498ce7a672ea88162bf1
[ "Apache-2.0" ]
89
2018-02-02T03:54:39.000Z
2021-12-13T01:32:55.000Z
smc/src/model/DescribeReplicationJobsRequest.cc
iamzken/aliyun-openapi-cpp-sdk
3c991c9ca949b6003c8f498ce7a672ea88162bf1
[ "Apache-2.0" ]
89
2018-03-14T07:44:54.000Z
2021-11-26T07:43:25.000Z
smc/src/model/DescribeReplicationJobsRequest.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "Apache-2.0" ]
69
2018-01-22T09:45:52.000Z
2022-03-28T07:58:38.000Z
/* * Copyright 2009-2017 Alibaba Cloud All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required...
25.664516
102
0.756159
[ "vector", "model" ]
5f88b9ed1b373e64eb4082b5306f37c0ce890a7d
2,283
hpp
C++
include/ros2_daemon_client_cpp/Ros2DaemonClient.hpp
bponsler/ros2_daemon_client_cpp
abd2da1fb26c137076aa907162a3850d621712c5
[ "Apache-2.0" ]
null
null
null
include/ros2_daemon_client_cpp/Ros2DaemonClient.hpp
bponsler/ros2_daemon_client_cpp
abd2da1fb26c137076aa907162a3850d621712c5
[ "Apache-2.0" ]
null
null
null
include/ros2_daemon_client_cpp/Ros2DaemonClient.hpp
bponsler/ros2_daemon_client_cpp
abd2da1fb26c137076aa907162a3850d621712c5
[ "Apache-2.0" ]
null
null
null
#ifndef ROS2_DAEMON_CLIENT_CPP__ROS2DAEMONCLIENT_HPP_ #define ROS2_DAEMON_CLIENT_CPP__ROS2DAEMONCLIENT_HPP_ // standard headers #include <string> #include <vector> // xml rpc headers #include <xmlrpcpp/XmlRpcClient.h> // rclcpp headers #include <rclcpp/node.hpp> namespace ros2_daemon_client_cpp { /** * \brief...
19.681034
70
0.683749
[ "object", "vector" ]
5f93d84c2ebb5b3b115d84dd238218a37dd10abf
5,561
cpp
C++
SubdivisionAlgorithms/Liepa.cpp
Pseudomanifold/psalm
b9c3bc83950efb6efab8bb4775bf0421bee474d3
[ "BSD-2-Clause" ]
7
2019-07-21T14:53:01.000Z
2021-08-18T09:12:54.000Z
SubdivisionAlgorithms/Liepa.cpp
Pseudomanifold/psalm
b9c3bc83950efb6efab8bb4775bf0421bee474d3
[ "BSD-2-Clause" ]
null
null
null
SubdivisionAlgorithms/Liepa.cpp
Pseudomanifold/psalm
b9c3bc83950efb6efab8bb4775bf0421bee474d3
[ "BSD-2-Clause" ]
2
2020-03-08T01:25:20.000Z
2021-06-29T17:37:29.000Z
/*! * @file Liepa.cpp * @brief Implementation of Liepa's subdivision scheme */ #include <cmath> #include "Liepa.h" namespace psalm { /*! * Sets default values for Liepa subdivision. */ Liepa::Liepa() { alpha = sqrt(2); } /*! * Sets current value of density parameter for the algorithm. * * @param alpha New value f...
24.283843
115
0.666607
[ "mesh" ]
5f96aca36f255c19b36f52e2c6678980c3707234
14,761
cpp
C++
src/mfx/pi/flancho/FlanchoChn.cpp
mikelange49/pedalevite
a81bd8a6119c5920995ec91b9f70e11e9379580e
[ "WTFPL" ]
69
2017-01-17T13:17:31.000Z
2022-03-01T14:56:32.000Z
src/mfx/pi/flancho/FlanchoChn.cpp
mikelange49/pedalevite
a81bd8a6119c5920995ec91b9f70e11e9379580e
[ "WTFPL" ]
1
2020-11-03T14:52:45.000Z
2020-12-01T20:31:15.000Z
src/mfx/pi/flancho/FlanchoChn.cpp
mikelange49/pedalevite
a81bd8a6119c5920995ec91b9f70e11e9379580e
[ "WTFPL" ]
8
2017-02-08T13:30:42.000Z
2021-12-09T08:43:09.000Z
/***************************************************************************** FlanchoChn.cpp Author: Laurent de Soras, 2016 --- Legal stuff --- This program is free software. It comes without any warranty, to the extent permitted by applicable law. You can redistribute it and/or modify it under the ...
21.208333
149
0.634849
[ "shape" ]
5fad3fd6646b968d59feedcc08236d28b01e971a
4,155
cpp
C++
SeriousSkaStudio/DlgCSoundEffectProperty.cpp
openlastchaos/lastchaos-source-client
3d88594dba7347b1bb45378136605e31f73a8555
[ "Apache-2.0" ]
1
2022-02-14T15:46:44.000Z
2022-02-14T15:46:44.000Z
SeriousSkaStudio/DlgCSoundEffectProperty.cpp
openlastchaos/lastchaos-source-client
3d88594dba7347b1bb45378136605e31f73a8555
[ "Apache-2.0" ]
null
null
null
SeriousSkaStudio/DlgCSoundEffectProperty.cpp
openlastchaos/lastchaos-source-client
3d88594dba7347b1bb45378136605e31f73a8555
[ "Apache-2.0" ]
2
2022-01-10T22:17:06.000Z
2022-01-17T09:34:08.000Z
// DlgCSoundEffectProperty.cpp : implementation file // #include "stdafx.h" #include "seriousskastudio.h" #include "DlgCSoundEffectProperty.h" #include <Engine/Effect/CSoundEffect.h> #include <Engine/Effect/CEffectManager.h> #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #end...
25.335366
95
0.712635
[ "3d" ]
5fb150a81dcc556ac83d639fce8ccc9ad52e596b
5,374
hpp
C++
include/CLinearSystem.hpp
seraco/HeatConduction
357180848d3de2798e47359691293979f8446500
[ "MIT" ]
3
2018-04-13T11:16:27.000Z
2021-05-24T02:51:00.000Z
include/CLinearSystem.hpp
seraco/HeatConduction
357180848d3de2798e47359691293979f8446500
[ "MIT" ]
null
null
null
include/CLinearSystem.hpp
seraco/HeatConduction
357180848d3de2798e47359691293979f8446500
[ "MIT" ]
null
null
null
/*! * @file CLinearSystem.hpp * @brief Headers of the main subroutines for solving linear systems of equations. * The implementation is in the <i>CLinearSystem.cpp</i> file. * @author S.Ramon (seraco) * @version 0.0.1 * * Copyright 2018 S.Ramon * * Permission is hereby granted, free of charge, to any pe...
36.808219
82
0.553964
[ "vector" ]
5fb5e30e786908d231ae4eaf03ee0fb8602c03a5
2,438
cpp
C++
tests/PhiCore/unittests/src/core/monitor.test.cpp
AMS21/Phi
d62d7235dc5307dd18607ade0f95432ae3a73dfd
[ "MIT" ]
3
2020-12-21T13:47:35.000Z
2022-03-16T23:53:21.000Z
tests/PhiCore/unittests/src/core/monitor.test.cpp
AMS21/Phi
d62d7235dc5307dd18607ade0f95432ae3a73dfd
[ "MIT" ]
53
2020-08-07T07:46:57.000Z
2022-02-12T11:07:08.000Z
tests/PhiCore/unittests/src/core/monitor.test.cpp
AMS21/Phi
d62d7235dc5307dd18607ade0f95432ae3a73dfd
[ "MIT" ]
1
2020-08-19T15:50:02.000Z
2020-08-19T15:50:02.000Z
#include "phi/compiler_support/warning.hpp" #include <phi/test/test_macros.hpp> #include <phi/compiler_support/compiler.hpp> #include <phi/core/forward.hpp> #include <phi/core/monitor.hpp> #include <thread> #include <utility> #include <vector> PHI_GCC_SUPPRESS_WARNING_PUSH() PHI_GCC_SUPPRESS_WARNING("-Wuseless-cast")...
19.504
106
0.556604
[ "vector" ]
5fb833a73a1384c35293a9d1989e2769c0bbc1d5
1,780
cpp
C++
Unreal/CarlaUE4/Source/CarlaUE4/eSoftSim/ROSTextSubscriberTest.cpp
Garazbolg/carla
1cd2e7b159597bc9879083a37c921ee593ec4a54
[ "MIT" ]
null
null
null
Unreal/CarlaUE4/Source/CarlaUE4/eSoftSim/ROSTextSubscriberTest.cpp
Garazbolg/carla
1cd2e7b159597bc9879083a37c921ee593ec4a54
[ "MIT" ]
null
null
null
Unreal/CarlaUE4/Source/CarlaUE4/eSoftSim/ROSTextSubscriberTest.cpp
Garazbolg/carla
1cd2e7b159597bc9879083a37c921ee593ec4a54
[ "MIT" ]
null
null
null
// Copyright (c) 2017 Computer Vision Center (CVC) at the Universitat Autonoma de Barcelona (UAB). This work is licensed under the terms of the MIT license. For a copy, see <https://opensource.org/licenses/MIT>. #include "CarlaUE4.h" #include "ROSTextSubscriberTest.h" #include "ROSIntegration/Classes/RI/Topic.h" #incl...
33.584906
211
0.715169
[ "object" ]
5fbf77192f9db2a4f47b84bb7d34137c46814ae0
16,150
cpp
C++
Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/internal/view/menu/ActionMenuItemView.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
7
2017-07-13T10:34:54.000Z
2021-04-16T05:40:35.000Z
Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/internal/view/menu/ActionMenuItemView.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
null
null
null
Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/internal/view/menu/ActionMenuItemView.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
9
2017-07-13T12:33:20.000Z
2021-06-19T02:46:48.000Z
//========================================================================= // Copyright (C) 2012 The Elastos 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 // // ...
27.989601
112
0.666378
[ "object" ]
5fc399346bd9f885833d6a8b30951f2750e16fa1
18,110
cpp
C++
Source/MediaInfo/Export/Export_Graph.cpp
mypopydev/MediaInfoLib
ec97c77e9196433838d2aaf28e84b9a5364ee706
[ "BSD-2-Clause" ]
null
null
null
Source/MediaInfo/Export/Export_Graph.cpp
mypopydev/MediaInfoLib
ec97c77e9196433838d2aaf28e84b9a5364ee706
[ "BSD-2-Clause" ]
null
null
null
Source/MediaInfo/Export/Export_Graph.cpp
mypopydev/MediaInfoLib
ec97c77e9196433838d2aaf28e84b9a5364ee706
[ "BSD-2-Clause" ]
null
null
null
/* Copyright (c) MediaArea.net SARL. All Rights Reserved. * * Use of this source code is governed by a BSD-style license that can * be found in the License.html file in the root of the source tree. */ //--------------------------------------------------------------------------- // Pre-compilation #inclu...
37.572614
175
0.53153
[ "object", "shape", "vector", "transform", "3d" ]
5fd8911cae8abb63263b3be1d20a4a02d54def41
5,416
cpp
C++
src/lib/src/ffi.cpp
Techatrix/RGE
cff1d7fea06544ee0e3fed78099e2abd758b204a
[ "WTFPL" ]
null
null
null
src/lib/src/ffi.cpp
Techatrix/RGE
cff1d7fea06544ee0e3fed78099e2abd758b204a
[ "WTFPL" ]
2
2020-09-29T18:37:30.000Z
2020-12-29T11:16:52.000Z
src/lib/src/ffi.cpp
Techatrix/RGE
cff1d7fea06544ee0e3fed78099e2abd758b204a
[ "WTFPL" ]
null
null
null
#include "include/ffi.h" #ifndef M_PI #define M_PI (3.14159265358979323846) #endif #include <cmath> #include <random> #include <algorithm> using namespace rge; void generateStarNode(Graph &graph, size_t degree, size_t depth) { if (depth > 0) { uID nodeID = graph.ids.size() - 1; graph.connections[nodeID].reser...
26.419512
107
0.64291
[ "vector" ]
5fda9af7bb880366fd85eed728981a64e54772f2
2,438
cpp
C++
test/test_neural_network.cpp
kilasuelika/DynAutoDiff
1da36182e93f4893201389c5841941500586e3ea
[ "Unlicense" ]
1
2021-07-26T06:13:56.000Z
2021-07-26T06:13:56.000Z
test/test_neural_network.cpp
kilasuelika/DynAutoDiff
1da36182e93f4893201389c5841941500586e3ea
[ "Unlicense" ]
null
null
null
test/test_neural_network.cpp
kilasuelika/DynAutoDiff
1da36182e93f4893201389c5841941500586e3ea
[ "Unlicense" ]
null
null
null
#include "../DynAutoDiff/DynAutoDiff.hpp" #include <algorithm> #include <boost/test/tools/old/interface.hpp> #include <eigen3/Eigen/Core> #include <iostream> #include <vector> #define BOOST_TEST_MODULE NeuralNetwork_Test #include <boost/test/included/unit_test.hpp> #include <boost/test/tools/floating_point_comparison....
31.25641
99
0.5726
[ "vector" ]
270314711a4ff9c9ced182a0ef338e5abdb80318
4,300
cpp
C++
kernel/fs/ext2/dir.cpp
ethan4984/rock
751b9af1009b622bedf384c1f80970b333c436c3
[ "BSD-2-Clause" ]
207
2020-05-27T21:57:28.000Z
2022-02-26T15:17:27.000Z
kernel/fs/ext2/dir.cpp
ethan4984/crepOS
751b9af1009b622bedf384c1f80970b333c436c3
[ "BSD-2-Clause" ]
3
2020-07-26T18:14:05.000Z
2020-12-09T05:32:07.000Z
kernel/fs/ext2/dir.cpp
ethan4984/rock
751b9af1009b622bedf384c1f80970b333c436c3
[ "BSD-2-Clause" ]
17
2020-07-05T19:08:48.000Z
2021-10-13T12:30:13.000Z
#include <fs/ext2/ext2.hpp> namespace ext2 { ssize_t dir::search_relative(inode *parent, lib::string path) { uint8_t *buffer = new uint8_t[parent->raw.size32l]; parent->read(0, parent->raw.size32l, buffer); for(uint32_t i = 0; i < parent->raw.size32l;) { raw_dir *dir_cur = reinterpret_cast<raw_...
28.289474
127
0.550233
[ "vector" ]
dfd295d168402076ba8a9a1b892cda4207b15792
2,444
cpp
C++
Build/hosServer/User.cpp
Game-institute-1st-While-true/PLUXER
4ec9ad0ccb1bdf4b221afa135482a458f06205b1
[ "MIT" ]
1
2021-07-27T04:14:40.000Z
2021-07-27T04:14:40.000Z
Build/hosServer/User.cpp
Game-institute-1st-While-true/PLUXER
4ec9ad0ccb1bdf4b221afa135482a458f06205b1
[ "MIT" ]
null
null
null
Build/hosServer/User.cpp
Game-institute-1st-While-true/PLUXER
4ec9ad0ccb1bdf4b221afa135482a458f06205b1
[ "MIT" ]
1
2021-07-27T04:14:44.000Z
2021-07-27T04:14:44.000Z
#include "User.h" User::User() :uuid(-1), Ready(false), transform(nullptr), move(nullptr), network(nullptr) { } User::~User() { } void User::SetId(int id) { uuid = id; } int User::GetId() { return uuid; } void User::PositionUdpate(Vector3 pos, Rotator rot) { transform->SetPosition(pos); transform->SetRotation...
23.27619
114
0.70581
[ "transform" ]
dfd668f35679c83308791e8ab46aebc456d496e4
16,742
cc
C++
sstmac/hardware/snappr/snappr_outport.cc
jjwilke/sst-macro
d5139c0e2e6c0055bd2ef6dc9ac565a6ec1fd4d9
[ "BSD-Source-Code" ]
null
null
null
sstmac/hardware/snappr/snappr_outport.cc
jjwilke/sst-macro
d5139c0e2e6c0055bd2ef6dc9ac565a6ec1fd4d9
[ "BSD-Source-Code" ]
null
null
null
sstmac/hardware/snappr/snappr_outport.cc
jjwilke/sst-macro
d5139c0e2e6c0055bd2ef6dc9ac565a6ec1fd4d9
[ "BSD-Source-Code" ]
null
null
null
#ifndef __STDC_FORMAT_MACROS #define __STDC_FORMAT_MACROS #endif #include <inttypes.h> #include <sstmac/hardware/snappr/snappr_outport.h> #include <sstmac/common/stats/ftq.h> #include <sstmac/common/event_scheduler.h> #include <sstmac/common/event_callback.h> #include <sstmac/common/stats/ftq.h> #include <sstmac/commo...
30.220217
131
0.648728
[ "vector" ]
dfd959e489f9fd7ee51ebc3c41f678c289cc5e3a
596
cpp
C++
c-plus-plus-yellow-belt/week_4/iterator_introduction/vector_part/vector_part/vector_part.cpp
codearchive/coursera-c-plus-plus-specialization
c599126e510182e5e6a8c5f29a31f1eecda8b8a5
[ "Apache-2.0" ]
null
null
null
c-plus-plus-yellow-belt/week_4/iterator_introduction/vector_part/vector_part/vector_part.cpp
codearchive/coursera-c-plus-plus-specialization
c599126e510182e5e6a8c5f29a31f1eecda8b8a5
[ "Apache-2.0" ]
null
null
null
c-plus-plus-yellow-belt/week_4/iterator_introduction/vector_part/vector_part/vector_part.cpp
codearchive/coursera-c-plus-plus-specialization
c599126e510182e5e6a8c5f29a31f1eecda8b8a5
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <vector> #include <algorithm> using namespace std; void PrintVectorPart(const vector<int>& numbers); void PrintVectorPart(const vector<int>& numbers) { auto it = find_if(begin(numbers), end(numbers), [](int x) { return x < 0; }); while (it != begin(numbers)) { ...
19.866667
65
0.553691
[ "vector" ]
dfd97c1a27ea9824a83ffc2fd50b7b0f94031c52
2,111
hpp
C++
fileid/document/excel/ExcelExtensionInfo.hpp
DBHeise/fileid
3e3bacf859445020999d0fc30301ac86973c3737
[ "MIT" ]
13
2016-03-13T17:57:46.000Z
2021-12-21T12:11:41.000Z
fileid/document/excel/ExcelExtensionInfo.hpp
DBHeise/fileid
3e3bacf859445020999d0fc30301ac86973c3737
[ "MIT" ]
9
2016-04-07T13:07:58.000Z
2020-05-30T13:31:59.000Z
fileid/document/excel/ExcelExtensionInfo.hpp
DBHeise/fileid
3e3bacf859445020999d0fc30301ac86973c3737
[ "MIT" ]
5
2017-04-20T14:47:55.000Z
2021-03-08T03:27:17.000Z
#pragma once #include <map> #include "../../oless/pole.h" #include "../../common.hpp" #include "../../oless/OleCommon.hpp" #include "MSExcel.common.hpp" #include "SubStream.hpp" #include "Sheet.hpp" #include "records/Record.Parser.hpp" #include "ParseEngine.hpp" namespace oless { namespace excel { class ExcelExte...
26.061728
168
0.572241
[ "vector" ]
dfdaff114b65dad1a483b6b78a29dd396d538dad
4,857
cpp
C++
src/tree.cpp
sproberts92/neuron-model
3c11b3749da876f4008131c977cfa22158825b74
[ "MIT" ]
null
null
null
src/tree.cpp
sproberts92/neuron-model
3c11b3749da876f4008131c977cfa22158825b74
[ "MIT" ]
null
null
null
src/tree.cpp
sproberts92/neuron-model
3c11b3749da876f4008131c977cfa22158825b74
[ "MIT" ]
null
null
null
#include "tree.hpp" Tree::Tree(std::valarray<std::pair<double, double>> b, int cr, std::vector<Node*> &a, std::vector<Synapse*> &s) : bounds(b), all(&a), all_s(&s) { root = new Neuron(r_vec(bounds), cr); all->push_back(root); // Generate and normalise a vector in a random direction along which the // axon will ...
28.075145
79
0.680461
[ "vector" ]
dfded8252cad311424063624e7cda2dcd2211047
440
cpp
C++
simple-callables-func.cpp
kobi-ca/lambda-9-2020
8f06dafc29e15d15bccf4e1667fd9bc2dc106417
[ "MIT" ]
null
null
null
simple-callables-func.cpp
kobi-ca/lambda-9-2020
8f06dafc29e15d15bccf4e1667fd9bc2dc106417
[ "MIT" ]
null
null
null
simple-callables-func.cpp
kobi-ca/lambda-9-2020
8f06dafc29e15d15bccf4e1667fd9bc2dc106417
[ "MIT" ]
null
null
null
#include <type_traits> // callable object void f(){} int g() { return 0;} typedef int (*func_ptr) (int, char); // or in modern C++ using func_ptr1 = int (*) (int, char); // or even more using func_ptr2 = std::add_pointer_t<int (int, char)>; int my_func(int, char) { return 0; } int main() { func_ptr2 funcPtr2 = m...
20.952381
54
0.622727
[ "object" ]
dfe52b4bc5ebe54498780eb6fbc9c4e402a3b93b
3,285
cpp
C++
Source/ModelData.cpp
chuckeles/metal-pacman
78f20fff1e2f578932014e349a5e81b1f6eb7d7c
[ "MIT" ]
1
2019-05-10T06:37:54.000Z
2019-05-10T06:37:54.000Z
Source/ModelData.cpp
chuckeles/metal-pacman
78f20fff1e2f578932014e349a5e81b1f6eb7d7c
[ "MIT" ]
null
null
null
Source/ModelData.cpp
chuckeles/metal-pacman
78f20fff1e2f578932014e349a5e81b1f6eb7d7c
[ "MIT" ]
null
null
null
#include "ModelData.hpp" #include <fstream> #include "../Libraries/tinyply.h" #include "Error.hpp" void ModelData::Load(std::string path) { std::ifstream file(path); if (!file.is_open()) { THROW_ERROR(std::string("Could not find a model file: ") + path); } tinyply::PlyFile plyFile(file); ...
28.815789
93
0.567428
[ "vector", "model" ]
dfe6bc500759893aecc850b649ab9f0dbccfd770
3,117
cpp
C++
HW4 - C++/main.cpp
muratyldzxc/CSE241
35b3fb6de1fa0aebe3f77353c1e4e4256fd2e36b
[ "MIT" ]
null
null
null
HW4 - C++/main.cpp
muratyldzxc/CSE241
35b3fb6de1fa0aebe3f77353c1e4e4256fd2e36b
[ "MIT" ]
null
null
null
HW4 - C++/main.cpp
muratyldzxc/CSE241
35b3fb6de1fa0aebe3f77353c1e4e4256fd2e36b
[ "MIT" ]
null
null
null
#include <iostream> #include <cstdio> #include <cstdlib> #include <ctime> #include <string> #include <fstream> #include <vector> #include "NPuzzle.h" using namespace std ; int NPuzzle :: Board :: CountOfBoards = 0 ; // init Board object counter int main( int argc, char *argv[] ){ int size ; char option ...
25.975
85
0.424126
[ "object", "vector" ]
dfe917276365d02a8840bc61d7d2702a6def1eb5
2,064
cpp
C++
Year-1/TIIT-traditional-intelligent-information-technologies/Course Work/1.11/iw-1.11.cpp
Ellanity/university
239b050deb4b35cdd855ab55d793988224190a57
[ "Apache-2.0" ]
null
null
null
Year-1/TIIT-traditional-intelligent-information-technologies/Course Work/1.11/iw-1.11.cpp
Ellanity/university
239b050deb4b35cdd855ab55d793988224190a57
[ "Apache-2.0" ]
null
null
null
Year-1/TIIT-traditional-intelligent-information-technologies/Course Work/1.11/iw-1.11.cpp
Ellanity/university
239b050deb4b35cdd855ab55d793988224190a57
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <vector> using namespace std; int main() { setlocale(LC_ALL, "Russian"); int n, m; cout << "Количество вершин: "; cin >> n; cout << "Количество ребер: "; cin >> m; // cout << "Nodes quantity: "; cin >> n; // cout << "Edges quantity: "; cin >> m; // Заполнение двумерного вектора ...
19.657143
76
0.532461
[ "vector" ]
dfeb3c91f79906fe15df794da1ead506fff8da4c
340
hpp
C++
Pathfinder/utils.hpp
tqdv/time_filling
f280fe96136d5dc69f7487c89ac58c372eea3cb2
[ "MIT" ]
null
null
null
Pathfinder/utils.hpp
tqdv/time_filling
f280fe96136d5dc69f7487c89ac58c372eea3cb2
[ "MIT" ]
null
null
null
Pathfinder/utils.hpp
tqdv/time_filling
f280fe96136d5dc69f7487c89ac58c372eea3cb2
[ "MIT" ]
null
null
null
#ifndef TFILL_UTILS_HPP #define TFILL_UTILS_HPP #include <vector> #include <optional> template <typename T> using Maybe = std::optional<T>; template <typename T> using constref = const T&; template <typename T> void print_vector (const std::vector<T> &v); /* Pretty prints a vector */ #include "utils.ipp" #endif ...
16.190476
44
0.729412
[ "vector" ]
dff518eeba139fa84fb8eec735c68a146d849d79
2,712
cpp
C++
FaceAlignment/python/pyFaceAlignment.cpp
jnulzl/SeetaFaceEngine
693273585397df32b68418d0544dec565a959a44
[ "BSD-2-Clause" ]
2
2021-02-05T07:00:59.000Z
2021-02-05T08:49:45.000Z
FaceAlignment/python/pyFaceAlignment.cpp
jnulzl/SeetaFaceEngine
693273585397df32b68418d0544dec565a959a44
[ "BSD-2-Clause" ]
null
null
null
FaceAlignment/python/pyFaceAlignment.cpp
jnulzl/SeetaFaceEngine
693273585397df32b68418d0544dec565a959a44
[ "BSD-2-Clause" ]
null
null
null
#include<iostream> #include<pybind11/pybind11.h> #include<pybind11/stl.h> #include<pybind11/numpy.h> #include "face_alignment.h" namespace py = pybind11; class PyFaceAlignment { public: PyFaceAlignment(const std::string& model_path, int num_point = 5, int dim_point = 2):faceAlignment_(model_path.c...
31.172414
124
0.580015
[ "shape", "vector" ]
dff5f94123b45fe66b58f22dcab24a95c7af6f70
5,563
cpp
C++
src/DynamicRank.FreeForm.Library/libs/Expression/Function.cpp
ltxtech/lightgbm-transform
ca3bdaae4e594c1bf74503c5ec151f2b794f855c
[ "MIT" ]
17
2021-11-02T13:52:10.000Z
2022-02-10T07:43:38.000Z
src/DynamicRank.FreeForm.Library/libs/Expression/Function.cpp
ltxtech/lightgbm-transform
ca3bdaae4e594c1bf74503c5ec151f2b794f855c
[ "MIT" ]
2
2022-01-23T16:15:40.000Z
2022-03-07T15:54:34.000Z
src/DynamicRank.FreeForm.Library/libs/Expression/Function.cpp
ltxtech/lightgbm-transform
ca3bdaae4e594c1bf74503c5ec151f2b794f855c
[ "MIT" ]
1
2022-01-21T09:42:59.000Z
2022-01-21T09:42:59.000Z
/*! * Copyright (c) 2021 Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See LICENSE file in the project root for * license information. */ #include "Function.h" #include "FreeForm2Assert.h" #include "FunctionType.h" #include "RefExpression.h" #include "Visitor.h" FreeForm2::Function...
29.590426
79
0.725688
[ "object", "vector" ]
5f053a3bf6b3beaf3a486e6ad7a6b89939cda53e
17,862
cpp
C++
adept/Stack.cpp
yairchu/Adept-2
3b4f898c74139618464ccd8e8df0934aed9ed6a2
[ "Apache-2.0" ]
131
2016-07-06T04:06:49.000Z
2022-03-19T22:34:47.000Z
adept/Stack.cpp
yairchu/Adept-2
3b4f898c74139618464ccd8e8df0934aed9ed6a2
[ "Apache-2.0" ]
19
2016-06-20T20:20:23.000Z
2022-02-15T14:55:01.000Z
adept/Stack.cpp
yairchu/Adept-2
3b4f898c74139618464ccd8e8df0934aed9ed6a2
[ "Apache-2.0" ]
31
2017-10-07T00:07:49.000Z
2022-03-05T17:51:17.000Z
/* Stack.cpp -- Stack for storing automatic differentiation information Copyright (C) 2012-2014 University of Reading Copyright (C) 2015 European Centre for Medium-Range Weather Forecasts Author: Robin Hogan <r.j.hogan@ecmwf.int> This file is part of the Adept library. */ #include <iostream> #inc...
28.670947
87
0.624678
[ "object", "vector" ]
5f14b1227ea6ae1601612abfc27979e0b6add6a7
10,254
cc
C++
RecoVertex/KinematicFit/src/ConstrainedTreeBuilder.cc
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
RecoVertex/KinematicFit/src/ConstrainedTreeBuilder.cc
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
RecoVertex/KinematicFit/src/ConstrainedTreeBuilder.cc
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
#include "RecoVertex/KinematicFit/interface/ConstrainedTreeBuilder.h" #include "DataFormats/CLHEP/interface/Migration.h" #include "FWCore/MessageLogger/interface/MessageLogger.h" ConstrainedTreeBuilder::ConstrainedTreeBuilder() { pFactory = new VirtualKinematicParticleFactory(); vFactory = new KinematicVertexFactory...
32.449367
142
0.688707
[ "vector", "transform" ]
5f350a333668841333f39595c848d8d5df5ccee5
7,039
cpp
C++
src/tools/attilaASM/optimizer.cpp
attila-sim/attila-sim
a64b57240b4e10dc4df7f21eff0232b28df09532
[ "BSD-3-Clause" ]
23
2016-01-14T04:47:13.000Z
2022-01-13T14:02:08.000Z
src/tools/attilaASM/optimizer.cpp
attila-sim/attila-sim
a64b57240b4e10dc4df7f21eff0232b28df09532
[ "BSD-3-Clause" ]
2
2018-03-25T14:39:20.000Z
2022-03-18T05:11:21.000Z
src/tools/attilaASM/optimizer.cpp
attila-sim/attila-sim
a64b57240b4e10dc4df7f21eff0232b28df09532
[ "BSD-3-Clause" ]
17
2016-02-13T05:35:35.000Z
2022-03-24T16:05:40.000Z
#include "GPUTypes.h" #include "OptimizedDynamicMemory.h" #include "ShaderInstruction.h" #include "ShaderOptimization.h" #include <cstdio> #include <vector> #include <fstream> #include <string> using namespace gpu3d; int main(int argc, char *argv[]) { if (argc < 3) { printf("Usage : \n"); p...
26.866412
121
0.558034
[ "vector" ]
5f3813af7fd14f15837bb4bfd03a889d5f270c0e
5,994
cpp
C++
testbench/decpt_dtw_aes/mpi/empty.cpp
Arka2009/LOCUS
a0ef0bc9a25456668ef381734b17385da738805a
[ "BSD-3-Clause" ]
8
2017-09-16T10:07:04.000Z
2021-07-27T06:07:28.000Z
testbench/decpt_dtw_aes/mpi/empty.cpp
tancheng/iot-kernels-locus
82da0214bf52061f2739dffd2713dc8691e82b18
[ "BSD-3-Clause" ]
3
2018-08-17T13:13:11.000Z
2018-12-04T03:05:16.000Z
testbench/decpt_dtw_aes/mpi/empty.cpp
tancheng/iot-kernels-locus
82da0214bf52061f2739dffd2713dc8691e82b18
[ "BSD-3-Clause" ]
1
2021-08-08T04:30:55.000Z
2021-08-08T04:30:55.000Z
#include <stdlib.h> #include <iostream> #include <vector> #define DUMP #ifdef DUMP #include "mpi.h" #include <m5op.h> #endif #ifndef DUMP #include <mpi/mpi.h> #endif #define TAG 0 using namespace std; //#define SIZE 513 //#define SIZE 1025 #define SIZE 101 #define NUM 10 int S[SIZE]; //int *S; int T[SIZE]; //int ...
18.27439
98
0.475976
[ "vector" ]
5f3be28eba1883aaaabedc77b8c826dda5469ccc
1,273
cpp
C++
algorithms/strings/WeightedUniformStrings.cpp
HannoFlohr/hackerrank
9644c78ce05a6b1bc5d8f542966781d53e5366e3
[ "MIT" ]
null
null
null
algorithms/strings/WeightedUniformStrings.cpp
HannoFlohr/hackerrank
9644c78ce05a6b1bc5d8f542966781d53e5366e3
[ "MIT" ]
null
null
null
algorithms/strings/WeightedUniformStrings.cpp
HannoFlohr/hackerrank
9644c78ce05a6b1bc5d8f542966781d53e5366e3
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; vector<string> weightedUniformStrings(string s, vector<int> queries) { vector<bool> u (1e7); int cur, factor=1, w, last=0; for(int i=0; i<s.size(); i++) { cur = s[i] - 'a' + 1; if(cur==last) factor++; else factor = 1; last = cur...
20.532258
70
0.527887
[ "vector" ]
5f4b98534a185377be0e097cd502360d20628739
3,218
hpp
C++
inc/actuators.hpp
samuelluohaoen1/gTest-Example-with-Makefile
7d0062da05382fddec2b8522dde4eedd7c16a333
[ "MIT" ]
null
null
null
inc/actuators.hpp
samuelluohaoen1/gTest-Example-with-Makefile
7d0062da05382fddec2b8522dde4eedd7c16a333
[ "MIT" ]
null
null
null
inc/actuators.hpp
samuelluohaoen1/gTest-Example-with-Makefile
7d0062da05382fddec2b8522dde4eedd7c16a333
[ "MIT" ]
null
null
null
#ifndef __ACTUATORS_H #define __ACTUATORS_H #include "common.hpp" #include "sensors.hpp" class GrSim_Console{ private: typedef boost::asio::ip::udp udp; typedef boost::asio::io_service io_service; typedef boost::shared_ptr<udp::socket> socket_ptr; // smart pointer(no need to mannually deallocate stat...
31.242718
103
0.660037
[ "vector" ]
5f51339568df9779ba658c185341b9fc6eb07d38
2,575
hpp
C++
Code/Engine/Physics2D/Collider2D.hpp
yixuan-wei/PersonalEngine
6f3b1df3ddeb662fbf65ca8b3ea7ddb446ef5a20
[ "MIT" ]
1
2021-06-11T06:41:29.000Z
2021-06-11T06:41:29.000Z
Code/Engine/Physics2D/Collider2D.hpp
yixuan-wei/PersonalEngine
6f3b1df3ddeb662fbf65ca8b3ea7ddb446ef5a20
[ "MIT" ]
1
2022-02-25T07:46:54.000Z
2022-02-25T07:46:54.000Z
Code/Engine/Physics2D/Collider2D.hpp
yixuan-wei/PersonalEngine
6f3b1df3ddeb662fbf65ca8b3ea7ddb446ef5a20
[ "MIT" ]
null
null
null
#pragma once #include "Engine/Core/Rgba8.hpp" #include "Engine/Core/Delegate.hpp" #include "Engine/Math/Vec2.hpp" #include "Engine/Math/Disc2.hpp" #include "Engine/Physics2D/PhysicsMaterial.hpp" #include <vector> struct Vertex_PCU; class Physics2D; class Rigidbody2D; struct Manifold2; enum eSimulationMode : int; ///...
33.012821
120
0.700971
[ "object", "shape", "vector" ]
34fda547563fb551f4d391187fab68c0323da95f
17,441
cpp
C++
src/main.cpp
lmish001/rshell
b892987386efa6685fdd9adcc9beda20cc2ae210
[ "BSD-3-Clause" ]
null
null
null
src/main.cpp
lmish001/rshell
b892987386efa6685fdd9adcc9beda20cc2ae210
[ "BSD-3-Clause" ]
null
null
null
src/main.cpp
lmish001/rshell
b892987386efa6685fdd9adcc9beda20cc2ae210
[ "BSD-3-Clause" ]
null
null
null
#include <iostream> #include <string> #include <cstring> #include <vector> #include <unistd.h> #include <limits.h> #include "stdio.h" #include <stdlib.h> #include <stack> #include <limits> #include <sstream> #include<boost/tokenizer.hpp> using namespace std; #include "Parse.h" // Parse separates userInput and should...
35.092555
200
0.407603
[ "vector" ]
55120b59a1656cbcc463eaeefd087f8940d6df75
254
hpp
C++
lib/binding/cpu.hpp
Time1ess/StatsGenius
9f6e83d7b6b18aa6ea77b5f795e3473f23530648
[ "MIT" ]
null
null
null
lib/binding/cpu.hpp
Time1ess/StatsGenius
9f6e83d7b6b18aa6ea77b5f795e3473f23530648
[ "MIT" ]
null
null
null
lib/binding/cpu.hpp
Time1ess/StatsGenius
9f6e83d7b6b18aa6ea77b5f795e3473f23530648
[ "MIT" ]
null
null
null
#pragma once #include <nan.h> #include <vector> using namespace std; namespace StatsGenius { NAN_METHOD(V8GetAverageLoad); NAN_METHOD(V8GetCPUTotalUsage); NAN_METHOD(V8GetCPUCoresUsage); NAN_METHOD(V8GetCPUCoresTemperature); NAN_METHOD(V8GetUptime); }
18.142857
37
0.818898
[ "vector" ]
551dfd45fb0e94442fec8ca0b240db6721544cec
8,123
cpp
C++
XLib-v1.2.0/src/Graph/Host/GraphSTD_Read.cpp
mangrove-univr/Mangrove
3d95096c7adfad5eb27625b020c222487e91ab4e
[ "MIT" ]
1
2019-12-28T09:30:24.000Z
2019-12-28T09:30:24.000Z
XLib-v1.2.0/src/Graph/Host/GraphSTD_Read.cpp
mangrove-univr/Mangrove
3d95096c7adfad5eb27625b020c222487e91ab4e
[ "MIT" ]
1
2020-08-25T10:57:11.000Z
2020-08-25T10:57:11.000Z
XLib-v1.2.0/src/Graph/Host/GraphSTD_Read.cpp
mangrove-univr/Mangrove
3d95096c7adfad5eb27625b020c222487e91ab4e
[ "MIT" ]
null
null
null
/*------------------------------------------------------------------------------ Copyright © 2016 by Nicola Bombieri XLib is provided under the terms of The MIT License (MIT): Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Softwar...
33.566116
88
0.629693
[ "vector" ]
5520ecb90a55bdcf1ccac3cfdba50d2988dc81d7
3,058
cpp
C++
src/Morrigu/Renderer/APIs/Vulkan/Shader.cpp
Ithyx/Morrigu
dc98809467fef2c7f74b81886563abc9e38e157f
[ "MIT" ]
6
2020-08-23T22:53:33.000Z
2021-04-03T20:53:44.000Z
src/Morrigu/Renderer/APIs/Vulkan/Shader.cpp
Ithyx/Morrigu
dc98809467fef2c7f74b81886563abc9e38e157f
[ "MIT" ]
null
null
null
src/Morrigu/Renderer/APIs/Vulkan/Shader.cpp
Ithyx/Morrigu
dc98809467fef2c7f74b81886563abc9e38e157f
[ "MIT" ]
2
2020-09-15T21:01:55.000Z
2021-04-05T13:19:36.000Z
#include "Shader.h" #include "Debug/Instrumentor.h" #include "Renderer/APIs/Vulkan/Helper.h" #include "Renderer/Renderer2D.h" #include <filesystem> #include <ios> namespace { [[nodiscard]] std::vector<char> readFile(const std::string& fileName) { std::ifstream file(fileName, std::ios::ate | std::ios::binary); ...
31.525773
111
0.716808
[ "vector" ]
5527a49a20c59a246ae9bd02d8613616b062cf88
3,941
cpp
C++
pkg/cmd/src/opt_mgr.cpp
DavidLin2015/AtpgSystem
818b6233cbdfb850c880a328e124e5fde3612f30
[ "CECILL-B" ]
null
null
null
pkg/cmd/src/opt_mgr.cpp
DavidLin2015/AtpgSystem
818b6233cbdfb850c880a328e124e5fde3612f30
[ "CECILL-B" ]
null
null
null
pkg/cmd/src/opt_mgr.cpp
DavidLin2015/AtpgSystem
818b6233cbdfb850c880a328e124e5fde3612f30
[ "CECILL-B" ]
1
2021-01-26T08:26:15.000Z
2021-01-26T08:26:15.000Z
#include <opt_mgr.h> using namespace std; using namespace TCLAP; using namespace CmdNs; bool OptMgr::regArg(const string &name, const string &desc, const string &type_desc, const string &flag, bool is_req, ...
29.410448
71
0.375032
[ "vector" ]
5529b9d9f9d891272d498e67224cc952f29e46cd
1,279
cc
C++
src/io.cc
shin1m/xemmai
dbeb22058ffdec0dda7d2575b86e750b87ed4197
[ "MIT", "Unlicense" ]
5
2015-11-01T22:08:39.000Z
2021-06-08T04:44:38.000Z
src/io.cc
shin1m/xemmai
dbeb22058ffdec0dda7d2575b86e750b87ed4197
[ "MIT", "Unlicense" ]
null
null
null
src/io.cc
shin1m/xemmai
dbeb22058ffdec0dda7d2575b86e750b87ed4197
[ "MIT", "Unlicense" ]
null
null
null
#include <xemmai/io.h> #include <xemmai/convert.h> namespace xemmai { void t_io::f_scan(t_scan a_scan) { a_scan(v_symbol_close); a_scan(v_symbol_read); a_scan(v_symbol_write); a_scan(v_symbol_flush); a_scan(v_symbol_read_line); a_scan(v_symbol_write_line); a_scan(v_type_file); a_scan(v_type_reader); a_scan(v...
27.804348
64
0.755278
[ "vector" ]
552baed00ddb3935d39dd0a6de168e0eab20935b
1,912
cpp
C++
FMEGraphics/src/InputManager.cpp
FullMetalNicky/FullMetalEngine
26fbdd14332f9ab158180efea176e7aaa47f570c
[ "MIT" ]
12
2018-08-05T17:55:40.000Z
2021-08-22T07:17:12.000Z
FMEGraphics/src/InputManager.cpp
FullMetalNicky/FullMetalEngine
26fbdd14332f9ab158180efea176e7aaa47f570c
[ "MIT" ]
null
null
null
FMEGraphics/src/InputManager.cpp
FullMetalNicky/FullMetalEngine
26fbdd14332f9ab158180efea176e7aaa47f570c
[ "MIT" ]
1
2020-06-08T10:46:05.000Z
2020-06-08T10:46:05.000Z
#include "InputManager.h" using namespace FME::Graphics; void defaultKeyCallbackWrapper(GLFWwindow* window, int key, int scancode, int action, int mode); void defaultMouseCallbackWrapper(GLFWwindow* window, double xpos, double ypos); std::shared_ptr<InputManager> InputManager::m_instance = nullptr; std::sh...
23.036145
97
0.714435
[ "vector" ]
552d3a314f4a436cd39cad4184931b6bdb2880ed
3,449
cpp
C++
Sources/AGEngine/Render/Pipelining/Pipelines/CustomRenderPass/DeferredMerging.cpp
Another-Game-Engine/AGE
d5d9e98235198fe580a43007914f515437635830
[ "MIT" ]
47
2015-03-29T09:44:25.000Z
2020-11-30T10:05:56.000Z
Sources/AGEngine/Render/Pipelining/Pipelines/CustomRenderPass/DeferredMerging.cpp
Another-Game-Engine/AGE
d5d9e98235198fe580a43007914f515437635830
[ "MIT" ]
313
2015-01-01T18:16:30.000Z
2015-11-30T07:54:07.000Z
Sources/AGEngine/Render/Pipelining/Pipelines/CustomRenderPass/DeferredMerging.cpp
Another-Game-Engine/AGE
d5d9e98235198fe580a43007914f515437635830
[ "MIT" ]
9
2015-06-07T13:21:54.000Z
2020-08-25T09:50:07.000Z
#include <Render/Pipelining/Pipelines/CustomRenderPass/DeferredMerging.hh> #include <Render/Textures/Texture2D.hh> #include <Render/OpenGLTask/OpenGLState.hh> #include <Render/GeometryManagement/Painting/Painter.hh> #include <Render/ProgramResources/Types/Uniform/Mat4.hh> #include <Render/ProgramResources/Types/Unifor...
38.752809
122
0.796753
[ "render" ]
553295ee6b893ff8f6732a2da9386e77e8f1734c
438
cpp
C++
8/832. Flipping an Image.cpp
eagleoflqj/LeetCode
ca5dd06cad4c7fe5bf679cca7ee60f4348b316e9
[ "MIT" ]
null
null
null
8/832. Flipping an Image.cpp
eagleoflqj/LeetCode
ca5dd06cad4c7fe5bf679cca7ee60f4348b316e9
[ "MIT" ]
1
2021-12-25T10:33:23.000Z
2022-02-16T00:34:05.000Z
8/832. Flipping an Image.cpp
eagleoflqj/LeetCode
ca5dd06cad4c7fe5bf679cca7ee60f4348b316e9
[ "MIT" ]
null
null
null
class Solution { public: vector<vector<int>> flipAndInvertImage(vector<vector<int>>& A) { for(auto &row : A) { int i = 0, j = row.size() - 1; while(i < j) { int t = row[i]; row[i] = !row[j]; row[j] = !t; ++i; ...
23.052632
68
0.324201
[ "vector" ]
553e7184b74545145b77af8b1c429338c98dddcc
4,736
cpp
C++
component/oai-ausf/src/api_server/impl/DefaultApiImpl.cpp
kukkalli/oai-cn5g-fed
15634fac935ac8671b61654bdf75bf8af07d3c3a
[ "Apache-2.0" ]
null
null
null
component/oai-ausf/src/api_server/impl/DefaultApiImpl.cpp
kukkalli/oai-cn5g-fed
15634fac935ac8671b61654bdf75bf8af07d3c3a
[ "Apache-2.0" ]
null
null
null
component/oai-ausf/src/api_server/impl/DefaultApiImpl.cpp
kukkalli/oai-cn5g-fed
15634fac935ac8671b61654bdf75bf8af07d3c3a
[ "Apache-2.0" ]
null
null
null
/** * AUSF API * AUSF UE Authentication Service. © 2020, 3GPP Organizational Partners (ARIB, * ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * * The version of the OpenAPI document: 1.1.1 * * * NOTE: This class is auto generated by OpenAPI Generator * (https://openapi-generator.tech). https://openap...
34.071942
81
0.72614
[ "model" ]
55498b29103b18e3179206a16e2b20112f48638b
16,910
cpp
C++
src/compiler/Symbol Table/Attribute.cpp
dimashky/compiler
0b772d16aec1a327698886b1f28f3abdfa60c1a1
[ "MIT" ]
5
2018-07-06T04:05:05.000Z
2021-08-05T23:59:44.000Z
src/compiler/Symbol Table/Attribute.cpp
maheralkassir/compiler
0b772d16aec1a327698886b1f28f3abdfa60c1a1
[ "MIT" ]
4
2018-07-05T22:19:30.000Z
2018-07-05T22:19:30.000Z
src/compiler/Symbol Table/Attribute.cpp
maheralkassir/compiler
0b772d16aec1a327698886b1f28f3abdfa60c1a1
[ "MIT" ]
3
2018-12-08T10:13:32.000Z
2021-03-27T02:04:18.000Z
#include "Attribute.h" #include "../Error Handler/error_handler.h" #include<vector> set<string > Attribute::classModifiers = set<string>({ "PUBLIC", "PRIVATE", "PROTECTED", "STATIC", "INTERNAL","NEW","SEALED","ABSTRACT" }); set<string > Attribute::methodModifiers = set<string>({ "PUBLIC", "PRIVATE", "PROTECTED", "STAT...
37.246696
240
0.625074
[ "vector" ]
554b3ea57b5bfa5c20e9c7fae789f7267f97f128
2,535
cpp
C++
src/main.cpp
bggd/Arena
c27565a218e3ca27cca056f73181e757f188b099
[ "BSL-1.0" ]
null
null
null
src/main.cpp
bggd/Arena
c27565a218e3ca27cca056f73181e757f188b099
[ "BSL-1.0" ]
null
null
null
src/main.cpp
bggd/Arena
c27565a218e3ca27cca056f73181e757f188b099
[ "BSL-1.0" ]
null
null
null
#define SDL_MAIN_HANDLED #include "game_app.hpp" #include "model.hpp" #include "gmath.hpp" #include "camera.hpp" #include "game_object/game_object.hpp" struct Player : GameObject { Model model; void onUpdate(float dt) override { model.updateAnimation(dt); model.updateMesh(getWorldMatrix()...
27.857143
99
0.674556
[ "model" ]
55515294d2816d13629553745c8e4ff748fd7737
27,562
cpp
C++
GROMACS/nonbonded_benchmark/gromacs_source_code/src/gromacs/ewald/tests/pmetestcommon.cpp
berkhess/bioexcel-exascale-co-design-benchmarks
c32f811d41a93fb69e49b3e7374f6028e37970d2
[ "MIT" ]
1
2020-04-20T04:33:11.000Z
2020-04-20T04:33:11.000Z
GROMACS/nonbonded_benchmark/gromacs_source_code/src/gromacs/ewald/tests/pmetestcommon.cpp
berkhess/bioexcel-exascale-co-design-benchmarks
c32f811d41a93fb69e49b3e7374f6028e37970d2
[ "MIT" ]
8
2019-07-10T15:18:21.000Z
2019-07-31T13:38:09.000Z
GROMACS/nonbonded_benchmark/gromacs_source_code/src/gromacs/ewald/tests/pmetestcommon.cpp
berkhess/bioexcel-exascale-co-design-benchmarks
c32f811d41a93fb69e49b3e7374f6028e37970d2
[ "MIT" ]
3
2019-07-10T10:50:25.000Z
2020-12-08T13:42:52.000Z
/* * This file is part of the GROMACS molecular simulation package. * * Copyright (c) 2016,2017,2018,2019, by the GROMACS development team, led by * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl, * and including many others, as listed in the AUTHORS file in the * top-level source directory and at...
38.227462
218
0.596873
[ "3d" ]
555458f8d9e1d2396118bffca9ecf2af1365cd18
2,716
cc
C++
modules/ifpen_solvers/src/alien/kernels/ifp/data_structure/IFPSolverInternal.cc
cedricga91/alien_legacy_plugins
459701026d76dbe1e8a6b20454f6b50ec9722f7f
[ "Apache-2.0" ]
4
2021-12-02T09:06:38.000Z
2022-01-10T14:22:35.000Z
modules/ifpen_solvers/src/alien/kernels/ifp/data_structure/IFPSolverInternal.cc
cedricga91/alien_legacy_plugins
459701026d76dbe1e8a6b20454f6b50ec9722f7f
[ "Apache-2.0" ]
null
null
null
modules/ifpen_solvers/src/alien/kernels/ifp/data_structure/IFPSolverInternal.cc
cedricga91/alien_legacy_plugins
459701026d76dbe1e8a6b20454f6b50ec9722f7f
[ "Apache-2.0" ]
7
2021-11-23T14:50:58.000Z
2022-03-17T13:23:07.000Z
#include "IFPSolverInternal.h" /* Author : havep at Fri Jul 20 13:21:25 2012 * Generated by createNew */ #include <IFPSolver.h> #include <alien/core/impl/MultiVectorImpl.h> /*---------------------------------------------------------------------------*/ BEGIN_IFPSOLVERINTENRAL_NAMESPACE /*-------------------------...
26.115385
85
0.494109
[ "vector" ]
555720a85d5f59586967a97549179a5fff3bd6e1
2,017
cpp
C++
strings_attribute_parser.cpp
pysogge/cpp_script_projects
58578106ed0f33cc60de11df8eb4886fc3595797
[ "MIT" ]
1
2022-03-10T15:24:36.000Z
2022-03-10T15:24:36.000Z
strings_attribute_parser.cpp
pysogge/cpp_script_projects
58578106ed0f33cc60de11df8eb4886fc3595797
[ "MIT" ]
null
null
null
strings_attribute_parser.cpp
pysogge/cpp_script_projects
58578106ed0f33cc60de11df8eb4886fc3595797
[ "MIT" ]
null
null
null
#include <cmath> #include <cstdio> #include <vector> #include <iostream> #include <algorithm> using namespace std; struct Attribute { string name; string value; }; struct Tag { string name; vector<Attribute> attributes; vector<Tag> *children; Tag *parent; }; Tag parseTokens(string line) { ...
22.164835
56
0.422905
[ "vector" ]
555808da815376386a95fb2cc996e9ddee9927df
1,944
cpp
C++
Problem Solving Paradigms/Complete Search/416 LED Test.cpp
satvik007/UvaRevision
b2473130eb17435ac55132083e85262491db3d1b
[ "MIT" ]
null
null
null
Problem Solving Paradigms/Complete Search/416 LED Test.cpp
satvik007/UvaRevision
b2473130eb17435ac55132083e85262491db3d1b
[ "MIT" ]
null
null
null
Problem Solving Paradigms/Complete Search/416 LED Test.cpp
satvik007/UvaRevision
b2473130eb17435ac55132083e85262491db3d1b
[ "MIT" ]
null
null
null
#define BZ #include <bits/stdc++.h> #include <ext/pb_ds/assoc_container.hpp> #include <ext/pb_ds/detail/standard_policies.hpp> using ll = int64_t; using ld = long double; using ull = uint64_t; using namespace std; using namespace __gnu_pbds; typedef vector <int> vi; typedef pair <int, int> ii; const int INF = 1 << 30;...
25.246753
117
0.454218
[ "vector" ]
555da3d85bbff068d986987403ce26ca99f23d73
3,094
cpp
C++
ImportantExample/QRestClient/responsewidget.cpp
xiaohaijin/Qt
54d961c6a8123d8e4daf405b7996aba4be9ab7ed
[ "MIT" ]
3
2018-12-24T19:35:52.000Z
2022-02-04T14:45:59.000Z
ImportantExample/QRestClient/responsewidget.cpp
xiaohaijin/Qt
54d961c6a8123d8e4daf405b7996aba4be9ab7ed
[ "MIT" ]
null
null
null
ImportantExample/QRestClient/responsewidget.cpp
xiaohaijin/Qt
54d961c6a8123d8e4daf405b7996aba4be9ab7ed
[ "MIT" ]
1
2019-05-09T02:42:40.000Z
2019-05-09T02:42:40.000Z
/*************************************************************************** * Copyright (C) 2014 by Peter Komar * * udldevel@gmail.com * * * * This pr...
30.038835
77
0.480608
[ "render" ]
5562749583583e258068f10119f5c6de4720d7f5
21,121
cpp
C++
test/PowerBalancerAgentTest.cpp
alawibaba/geopm
dc5dd54cf260b0b51d517bb50d1ba5db9e013c71
[ "BSD-3-Clause" ]
null
null
null
test/PowerBalancerAgentTest.cpp
alawibaba/geopm
dc5dd54cf260b0b51d517bb50d1ba5db9e013c71
[ "BSD-3-Clause" ]
null
null
null
test/PowerBalancerAgentTest.cpp
alawibaba/geopm
dc5dd54cf260b0b51d517bb50d1ba5db9e013c71
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2015, 2016, 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 o...
41.741107
150
0.673595
[ "vector" ]
556bc54025bfc5a5179f9b16625691372b218355
6,303
cpp
C++
src/shader/compiler.cpp
SleepKiller/shaderpatch
4bda848df0273993c96f1d20a2cf79161088a77d
[ "MIT" ]
13
2019-03-25T09:40:12.000Z
2022-03-13T16:12:39.000Z
src/shader/compiler.cpp
SleepKiller/shaderpatch
4bda848df0273993c96f1d20a2cf79161088a77d
[ "MIT" ]
110
2018-10-16T09:05:43.000Z
2022-03-16T23:32:28.000Z
src/shader/compiler.cpp
SleepKiller/swbfii-shaderpatch
b49ce3349d4dd09b19237ff4766652166ba1ffd4
[ "MIT" ]
1
2020-02-06T20:32:50.000Z
2020-02-06T20:32:50.000Z
#include "compiler.hpp" #include "../logger.hpp" #include "retry_dialog.hpp" #include <type_traits> #include <absl/container/inlined_vector.h> #include <d3dcompiler.h> using namespace std::literals; namespace sp::shader { namespace { using Shader_defines = absl::InlinedVector<D3D_SHADER_MACRO, 64>; class Inclu...
30.746341
91
0.659686
[ "geometry" ]
557154928c7c54059661719b86f10667654efb4f
13,498
cpp
C++
catkin_ws/src/aist_modules/aist_motion_detector/src/MotionDetector.cpp
mitdo/o2ac-ur
74c82a54a693bf6a3fc995ff63e7c91ac1fda6fd
[ "MIT" ]
32
2021-09-02T12:29:47.000Z
2022-03-30T21:44:10.000Z
catkin_ws/src/aist_modules/aist_motion_detector/src/MotionDetector.cpp
kroglice/o2ac-ur
f684f21fd280a22ec061dc5d503801f6fefb2422
[ "MIT" ]
4
2021-09-22T00:51:14.000Z
2022-01-30T11:54:19.000Z
catkin_ws/src/aist_modules/aist_motion_detector/src/MotionDetector.cpp
kroglice/o2ac-ur
f684f21fd280a22ec061dc5d503801f6fefb2422
[ "MIT" ]
7
2021-11-02T12:26:09.000Z
2022-02-01T01:45:22.000Z
// Software License Agreement (BSD License) // // Copyright (c) 2021, National Institute of Advanced Industrial Science and Technology (AIST) // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met:...
30.469526
94
0.62513
[ "vector", "transform", "3d" ]
55744a575c444de43d6273a503551a2895ab8c26
9,972
hpp
C++
src/UI/UI.hpp
Strife-AI/Strife.Engine
6b83e762f28acb3f4440d5b7763beccfd08dfc8f
[ "NCSA" ]
12
2020-12-27T22:13:58.000Z
2021-03-14T09:03:02.000Z
src/UI/UI.hpp
Strife-AI/Strife.Engine
6b83e762f28acb3f4440d5b7763beccfd08dfc8f
[ "NCSA" ]
10
2021-01-14T15:14:31.000Z
2021-05-24T22:01:09.000Z
src/UI/UI.hpp
Strife-AI/Strife.Engine
6b83e762f28acb3f4440d5b7763beccfd08dfc8f
[ "NCSA" ]
null
null
null
#pragma once #include "Renderer/Renderer.hpp" #include <memory> #include "System/Input.hpp" #include "UiElement.hpp" class Input; class Renderer; struct LabelStyle { LabelStyle() = default; LabelStyle(const FontSettings& font_) : font(font_) { } FontSettings font; std::string text;...
22.061947
119
0.627657
[ "render", "vector" ]
5575705573ec89b57dcc7216529bf2e392c881d8
3,646
hpp
C++
src/ttauri/audio/audio_device_win32.hpp
RustWorks/ttauri
4b093eb16465091d01d80159e23fd26e5d4e4c03
[ "BSL-1.0" ]
279
2021-02-17T09:53:40.000Z
2022-03-22T04:08:40.000Z
src/ttauri/audio/audio_device_win32.hpp
RustWorks/ttauri
4b093eb16465091d01d80159e23fd26e5d4e4c03
[ "BSL-1.0" ]
269
2021-02-17T12:53:15.000Z
2022-03-29T22:10:49.000Z
src/ttauri/audio/audio_device_win32.hpp
RustWorks/ttauri
4b093eb16465091d01d80159e23fd26e5d4e4c03
[ "BSL-1.0" ]
25
2021-02-17T17:14:10.000Z
2022-03-16T04:13:00.000Z
// Copyright Take Vos 2020. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt) #pragma once #include "audio_device.hpp" #include "audio_stream_format.hpp" struct IMMDevice; struct IPropertyStore; struct IMMEndpoint...
40.511111
111
0.741086
[ "vector" ]
5578ad8a2375d03b0e3a7f998f119eea613bd38c
6,016
cpp
C++
src/ioPlacer/src/Netlist.cpp
agorararmard/OpenROAD
efae571392875c1e45c59e358b94d89b9b0735f8
[ "BSD-3-Clause-Clear" ]
null
null
null
src/ioPlacer/src/Netlist.cpp
agorararmard/OpenROAD
efae571392875c1e45c59e358b94d89b9b0735f8
[ "BSD-3-Clause-Clear" ]
null
null
null
src/ioPlacer/src/Netlist.cpp
agorararmard/OpenROAD
efae571392875c1e45c59e358b94d89b9b0735f8
[ "BSD-3-Clause-Clear" ]
1
2022-01-31T10:05:39.000Z
2022-01-31T10:05:39.000Z
///////////////////////////////////////////////////////////////////////////// // // BSD 3-Clause License // // Copyright (c) 2019, University of California, San Diego. // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the follow...
27.981395
80
0.643451
[ "vector" ]
5578ec845869be072159a1b85103025aa6fe72ea
1,342
cpp
C++
src/View/GameWindow.cpp
Raffson/Space-Invaders
5c390f0989e7354943c384059ce5d1d63d0a6100
[ "MIT" ]
1
2020-05-24T02:42:47.000Z
2020-05-24T02:42:47.000Z
src/View/GameWindow.cpp
Raffson/Space-Invaders
5c390f0989e7354943c384059ce5d1d63d0a6100
[ "MIT" ]
null
null
null
src/View/GameWindow.cpp
Raffson/Space-Invaders
5c390f0989e7354943c384059ce5d1d63d0a6100
[ "MIT" ]
null
null
null
/* * GameWindow.cpp * * Created on: Nov 18, 2013 * Author: raffson */ #include "GameWindow.h" namespace AR { GameWindow::GameWindow() { sf::ContextSettings settings; settings.antialiasingLevel = 8; window.create(sf::VideoMode(800, 600), "Game Window", sf::Style::Default, settings); window.clear(); ...
20.646154
86
0.695976
[ "object", "vector" ]
557921093f757ac279429b99b2b9998880bce4e4
174
cpp
C++
easy/69. Sqrt(x).cpp
xuan-415/leetcode
3777b12e6f574947506ec358108937f8be975289
[ "MIT" ]
null
null
null
easy/69. Sqrt(x).cpp
xuan-415/leetcode
3777b12e6f574947506ec358108937f8be975289
[ "MIT" ]
null
null
null
easy/69. Sqrt(x).cpp
xuan-415/leetcode
3777b12e6f574947506ec358108937f8be975289
[ "MIT" ]
null
null
null
#include<vector> #include<map> #include<string> #include<algorithm> using namespace std; class Solution { public: int mySqrt(int x) { return sqrt(x); } };
15.818182
27
0.643678
[ "vector" ]
535718207fcccad406fb806059c62a0e87a19196
412
cpp
C++
leetcode/monthly-challenge/2020/november-challenge/week-2/Flipping-an-Image.cpp
leohr/competitive-programming
f97488e0cb777c1df78257ce2644ac4ff8191267
[ "MIT" ]
1
2020-10-08T19:28:40.000Z
2020-10-08T19:28:40.000Z
leetcode/november-challenge/week-2/Flipping-an-Image.cpp
leohr/competitive-programming
f97488e0cb777c1df78257ce2644ac4ff8191267
[ "MIT" ]
null
null
null
leetcode/november-challenge/week-2/Flipping-an-Image.cpp
leohr/competitive-programming
f97488e0cb777c1df78257ce2644ac4ff8191267
[ "MIT" ]
1
2020-10-24T02:32:27.000Z
2020-10-24T02:32:27.000Z
class Solution { public: vector<vector<int>> flipAndInvertImage(vector<vector<int>>& A) { vector<vector<int>> B; for (int i = 0; i < A.size(); ++i) { vector<int> v = A[i]; vector<int> u; for (int j = 0; j < v.size(); ++j) { u.push_back(1-v[v.siz...
27.466667
68
0.419903
[ "vector" ]
53650146fe77801b06081c3c47884ae78030a4db
4,532
cpp
C++
src/khorne/Skullreapers.cpp
rweyrauch/AoSSimulator
d2bfbbe0fab904cc543f1a01e62e0b82cf67c27b
[ "MIT" ]
5
2019-02-01T01:41:19.000Z
2021-06-17T02:16:13.000Z
src/khorne/Skullreapers.cpp
rweyrauch/AoSSimulator
d2bfbbe0fab904cc543f1a01e62e0b82cf67c27b
[ "MIT" ]
2
2020-01-14T16:57:42.000Z
2021-04-01T00:53:18.000Z
src/khorne/Skullreapers.cpp
rweyrauch/AoSSimulator
d2bfbbe0fab904cc543f1a01e62e0b82cf67c27b
[ "MIT" ]
1
2019-03-02T20:03:51.000Z
2019-03-02T20:03:51.000Z
/* * Warhammer Age of Sigmar battle simulator. * * Copyright (C) 2019 by Rick Weyrauch - rpweyrauch@gmail.com * * This code is licensed under the MIT license (MIT) (http://opensource.org/licenses/MIT) */ #include <khorne/Skullreapers.h> #include <UnitFactory.h> #include <Board.h> #include "KhornePrivate.h" names...
38.084034
144
0.603266
[ "model" ]
536ab0f5297b4dfdb5c921b92d20b88e15658d45
12,022
cpp
C++
texada-src/tests/simpleparser_test.cpp
emmableu/texada
b299e842b1334b4fe8b5d02f41fb5e3087bd96a3
[ "BSD-3-Clause" ]
13
2020-05-26T06:51:49.000Z
2022-03-21T02:55:46.000Z
texada-src/tests/simpleparser_test.cpp
emmableu/texada
b299e842b1334b4fe8b5d02f41fb5e3087bd96a3
[ "BSD-3-Clause" ]
3
2021-06-02T18:47:00.000Z
2022-03-09T16:29:53.000Z
texada-src/tests/simpleparser_test.cpp
emmableu/texada
b299e842b1334b4fe8b5d02f41fb5e3087bd96a3
[ "BSD-3-Clause" ]
6
2020-11-02T07:21:54.000Z
2022-03-16T11:17:06.000Z
#include <gtest/gtest.h> #include "../src/parsers/linearparser.h" #include "../src/parsers/mapparser.h" #include "../src/parsers/prefixtreeparser.h" #include <fstream> #include <iostream> #include <stdlib.h> // Tests that the linear parser correctly parses a small trace TEST(SimpleParserTest, SmallFile) { if (geten...
38.408946
103
0.639744
[ "vector" ]
537a55a2bba7872545c9733f6c33bf4d52c200a6
23,837
cpp
C++
SofaKernel/modules/SofaBaseTopology/QuadSetTopologyContainer.cpp
sofa-framework/issofa
94855f488465bc3ed41223cbde987581dfca5389
[ "OML" ]
null
null
null
SofaKernel/modules/SofaBaseTopology/QuadSetTopologyContainer.cpp
sofa-framework/issofa
94855f488465bc3ed41223cbde987581dfca5389
[ "OML" ]
null
null
null
SofaKernel/modules/SofaBaseTopology/QuadSetTopologyContainer.cpp
sofa-framework/issofa
94855f488465bc3ed41223cbde987581dfca5389
[ "OML" ]
null
null
null
/****************************************************************************** * SOFA, Simulation Open-Framework Architecture, development version * * (c) 2006-2017 INRIA, USTL, UJF, CNRS, MGH * * * ...
28.823458
140
0.613584
[ "mesh", "vector" ]
53817f2cbcfdf68db79f87354ca04fda8ea5c7ae
7,765
cpp
C++
src/+cv/private/Boost_.cpp
schloegl/mexopencv
b7a34df8f844ceb5bebb93f439eb35135e9c074d
[ "BSD-3-Clause" ]
87
2016-10-28T18:36:43.000Z
2022-02-03T08:34:45.000Z
src/+cv/private/Boost_.cpp
schloegl/mexopencv
b7a34df8f844ceb5bebb93f439eb35135e9c074d
[ "BSD-3-Clause" ]
17
2016-11-06T10:36:35.000Z
2021-07-15T11:37:14.000Z
src/+cv/private/Boost_.cpp
schloegl/mexopencv
b7a34df8f844ceb5bebb93f439eb35135e9c074d
[ "BSD-3-Clause" ]
23
2016-10-30T11:48:55.000Z
2021-03-22T10:33:27.000Z
/** * @file Boost_.cpp * @brief mex interface for Boost * @author Kota Yamaguchi * @date 2012 */ #include "mexopencv.hpp" using namespace std; using namespace cv; // Persistent objects namespace { /// Last object id to allocate int last_id = 0; /// Object container map<int,CvBoost> obj_; /// Option values for Bo...
36.455399
109
0.580296
[ "object", "vector" ]
538429b5c4ee7763f1f2db65a7eda35d3be605c2
22,657
cpp
C++
parameter.cpp
vbillys/pose-estimation
e1b57da68d9c961358a6f8fd37706ed521c5c256
[ "MIT" ]
63
2017-03-30T23:56:47.000Z
2022-03-20T10:30:32.000Z
parameter.cpp
vbillys/pose-estimation
e1b57da68d9c961358a6f8fd37706ed521c5c256
[ "MIT" ]
2
2017-07-10T14:14:50.000Z
2020-07-10T10:08:04.000Z
parameter.cpp
aviate/pose-estimation
e1b57da68d9c961358a6f8fd37706ed521c5c256
[ "MIT" ]
15
2017-03-30T23:56:52.000Z
2021-10-12T12:08:20.000Z
#include <fstream> #include <boost/algorithm/string/join.hpp> #include <pcl/io/pcd_io.h> #include <pcl/console/parse.h> #include "json.hpp" #include "parameter.h" #include "logger.h" using namespace PoseEstimation; using Json = nlohmann::json; Parameter::Parameter(const std::string &category, const std::string &na...
29.424675
141
0.564991
[ "vector" ]
53a049634105cbabf022f1d1fbc6bfa12a37d3b7
1,442
cpp
C++
MonoNative.Tests/mscorlib/System/Resources/mscorlib_System_Resources_IResourceWriter_Fixture.cpp
brunolauze/MonoNative
959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66
[ "BSD-2-Clause" ]
7
2015-03-10T03:36:16.000Z
2021-11-05T01:16:58.000Z
MonoNative.Tests/mscorlib/System/Resources/mscorlib_System_Resources_IResourceWriter_Fixture.cpp
brunolauze/MonoNative
959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66
[ "BSD-2-Clause" ]
1
2020-06-23T10:02:33.000Z
2020-06-24T02:05:47.000Z
MonoNative.Tests/mscorlib/System/Resources/mscorlib_System_Resources_IResourceWriter_Fixture.cpp
brunolauze/MonoNative
959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66
[ "BSD-2-Clause" ]
null
null
null
// Mono Native Fixture // Assembly: mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 // Namespace: System.Resources // Name: IResourceWriter // C++ Typed Name: mscorlib::System::Resources::IResourceWriter #include <gtest/gtest.h> #include <mscorlib/System/Resources/mscorlib_System_Resources...
21.205882
91
0.721221
[ "object", "vector" ]
53a3a43048044e7663db6b249b7f2b82d7a6f34e
3,808
cpp
C++
sample_loader_app/render/raytracing.cpp
msu-graphics-group/scenes
802d800125faa90c18b23b402c073cf58c97992f
[ "MIT" ]
1
2021-11-03T17:37:13.000Z
2021-11-03T17:37:13.000Z
sample_loader_app/render/raytracing.cpp
msu-graphics-group/scenes
802d800125faa90c18b23b402c073cf58c97992f
[ "MIT" ]
3
2021-11-14T19:24:12.000Z
2022-01-26T12:42:34.000Z
sample_loader_app/render/raytracing.cpp
msu-graphics-group/scenes
802d800125faa90c18b23b402c073cf58c97992f
[ "MIT" ]
null
null
null
#include <cfloat> #include "raytracing.h" #include "../loader/hydraxml.h" #include "../loader/cmesh.h" void RayTracer::CastSingleRay(uint32_t tidX, uint32_t tidY, uint32_t* out_color) { LiteMath::float4 rayPosAndNear, rayDirAndFar; kernel_InitEyeRay(tidX, tidY, &rayPosAndNear, &rayDirAndFar); kernel_RayTrace(t...
35.259259
128
0.653361
[ "mesh" ]
53a869f85690a88e4c459ea9ec835e79c535e1ac
3,070
cpp
C++
LiveArchive/WhosTheBoss.cpp
aajjbb/contest-files
b8842681b96017063a7baeac52ae1318bf59d74d
[ "Apache-2.0" ]
1
2018-08-28T19:58:40.000Z
2018-08-28T19:58:40.000Z
LiveArchive/WhosTheBoss.cpp
aajjbb/contest-files
b8842681b96017063a7baeac52ae1318bf59d74d
[ "Apache-2.0" ]
2
2017-04-16T00:48:05.000Z
2017-08-03T20:12:26.000Z
LiveArchive/WhosTheBoss.cpp
aajjbb/contest-files
b8842681b96017063a7baeac52ae1318bf59d74d
[ "Apache-2.0" ]
4
2016-03-04T19:42:00.000Z
2018-01-08T11:42:00.000Z
#include <iostream> #include <string> #include <sstream> #include <vector> #include <set> #include <map> #include <list> #include <queue> #include <stack> #include <memory> #include <iomanip> #include <functional> #include <new> #include <algorithm> #include <cmath> #include <cstring> #include <cstdlib>...
21.468531
78
0.466124
[ "vector" ]
53aa6917eb016a68ce87a559653cdad9179e3aaa
12,651
cpp
C++
tools/remote_demo.cpp
derp-caf/external_skia
b09dc92e00edce8366085aaad7dcce94ceb11b69
[ "BSD-3-Clause" ]
1
2019-05-29T09:54:38.000Z
2019-05-29T09:54:38.000Z
tools/remote_demo.cpp
derp-caf/external_skia
b09dc92e00edce8366085aaad7dcce94ceb11b69
[ "BSD-3-Clause" ]
null
null
null
tools/remote_demo.cpp
derp-caf/external_skia
b09dc92e00edce8366085aaad7dcce94ceb11b69
[ "BSD-3-Clause" ]
8
2019-01-12T23:06:45.000Z
2021-09-03T00:15:46.000Z
/* * Copyright 2018 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "SkCanvas.h" #include "SkPathEffect.h" #include "SkMaskFilter.h" #include "SkData.h" #include "SkDescriptor.h" #include "SkGraphics.h" #include "SkSemaphore.h" #inclu...
31.866499
97
0.556873
[ "render" ]
53ad764415cce095dbf1dfe59f506deecaeadbbf
17,694
cxx
C++
test/clogMessage.cxx
mrab/CLog
a096e15c72c7a608e5fcd69bd07fb2263cfbd4d5
[ "MIT" ]
null
null
null
test/clogMessage.cxx
mrab/CLog
a096e15c72c7a608e5fcd69bd07fb2263cfbd4d5
[ "MIT" ]
null
null
null
test/clogMessage.cxx
mrab/CLog
a096e15c72c7a608e5fcd69bd07fb2263cfbd4d5
[ "MIT" ]
null
null
null
/** * @copyright (c) 2019 mrab * * This library is free software; you can redistribute it and/or modify it * under the terms of the MIT license. See LICENSE for details. * * @author Melchior Rabe (oss@mrab.de) * @brief * @date 2019-09-16 * * @file */ #include <gmock/gmock.h> #include <gtest/gtest.h> #inclu...
28.677472
82
0.626936
[ "vector" ]
53b2a4a62bcf72bbd5afee1f94a7e427f67e5665
2,929
cc
C++
src/capture/gather_images_by_match.cc
puyoai/puyoai
575068dffab021cd42b0178699d480a743ca4e1f
[ "CC-BY-4.0" ]
115
2015-02-21T15:08:26.000Z
2022-02-05T01:38:10.000Z
src/capture/gather_images_by_match.cc
haripo/puyoai
575068dffab021cd42b0178699d480a743ca4e1f
[ "CC-BY-4.0" ]
214
2015-01-16T04:53:35.000Z
2019-03-23T11:39:59.000Z
src/capture/gather_images_by_match.cc
haripo/puyoai
575068dffab021cd42b0178699d480a743ca4e1f
[ "CC-BY-4.0" ]
56
2015-01-16T05:14:13.000Z
2020-09-22T07:22:49.000Z
#include <algorithm> #include <iostream> #include <string> #include <vector> #include <gflags/gflags.h> #include <glog/logging.h> #include <SDL.h> #include <SDL_image.h> #include <sys/stat.h> #include <sys/types.h> #include "base/file/path.h" #include "base/strings.h" #include "capture/ac_analyzer.h" #include "gui/un...
25.034188
82
0.534995
[ "vector" ]
53ba98b889b31fe964dbf7969a67680d93f95f70
1,142
cc
C++
ext/candc/src/lib/tree/node.cc
TeamSPoon/logicmoo_nlu
5c3e5013a3048da7d68a8a43476ad84d3ea4bb47
[ "MIT" ]
6
2020-01-27T12:08:02.000Z
2020-02-28T19:30:28.000Z
pack/logicmoo_nlu/prolog/candc/src/lib/tree/node.cc
logicmoo/old_logicmoo_workspace
44025b6e389e2f2f7d86b46c1301cab0604bba26
[ "MIT" ]
2
2017-03-13T02:56:09.000Z
2019-07-27T02:47:29.000Z
ext/candc/src/lib/tree/node.cc
TeamSPoon/logicmoo_nlu
5c3e5013a3048da7d68a8a43476ad84d3ea4bb47
[ "MIT" ]
1
2020-11-25T06:09:33.000Z
2020-11-25T06:09:33.000Z
// C&C NLP tools // Copyright (c) Universities of Edinburgh, Oxford and Sydney // Copyright (c) James R. Curran // // This software is covered by a non-commercial use licence. // See LICENCE.txt for the full text of the licence. // // If LICENCE.txt is not included in this distribution // please email candc@it.usyd.edu...
20.392857
61
0.670753
[ "vector" ]
53c4a08c4725d679811420401510a9e5ac4d8016
2,528
cpp
C++
src/game/src/ec/entity_container.cpp
Sampas/cavez
b89185554477b92bf987c9e5d26b0a8abe1ae568
[ "MIT" ]
2
2019-03-11T11:26:52.000Z
2019-09-26T07:50:55.000Z
src/game/src/ec/entity_container.cpp
Sampas/cavez
b89185554477b92bf987c9e5d26b0a8abe1ae568
[ "MIT" ]
1
2020-10-29T15:44:47.000Z
2020-10-29T15:44:47.000Z
src/game/src/ec/entity_container.cpp
Sampas/cavez
b89185554477b92bf987c9e5d26b0a8abe1ae568
[ "MIT" ]
1
2020-10-28T18:56:46.000Z
2020-10-28T18:56:46.000Z
/// Copyright (c) 2019 Joni Louhela /// /// Permission is hereby granted, free of charge, to any person obtaining a copy /// of this software and associated documentation files (the "Software"), to /// deal in the Software without restriction, including without limitation the /// rights to use, copy, modify, merge, pub...
37.176471
84
0.698972
[ "render" ]
53c6fada54b38cf572d814034a3e29daf6b27ad7
6,115
cpp
C++
tools/editor/source/project/property.cpp
pixelballoon/pixelboost
085873310050ce62493df61142b7d4393795bdc2
[ "MIT" ]
6
2015-04-21T11:30:52.000Z
2020-04-29T00:10:04.000Z
tools/editor/source/project/property.cpp
pixelballoon/pixelboost
085873310050ce62493df61142b7d4393795bdc2
[ "MIT" ]
null
null
null
tools/editor/source/project/property.cpp
pixelballoon/pixelboost
085873310050ce62493df61142b7d4393795bdc2
[ "MIT" ]
null
null
null
#include "project/entity.h" #include "project/project.h" #include "project/property.h" #include "project/record.h" #include "project/struct.h" Property::Property(ProjectStruct* s, const SchemaProperty* schemaProperty) : _Struct(s) , _SchemaProperty(schemaProperty) { } Property::~Property() { } cons...
18.145401
113
0.680948
[ "vector" ]
53cc816929bd74f8fef77ad850056743982d2d88
16,190
cpp
C++
src/hsail_conformance/core/MemoryFenceTests.cpp
HSAFoundation/HSA-Conformance-Tests-PRM
1c383ba31c826a0745b4caba4903e51c4cb3c0d1
[ "Apache-2.0" ]
2
2017-05-22T17:21:19.000Z
2018-08-31T14:26:08.000Z
src/hsail_conformance/core/MemoryFenceTests.cpp
HSAFoundation/HSA-Conformance-Tests-PRM
1c383ba31c826a0745b4caba4903e51c4cb3c0d1
[ "Apache-2.0" ]
1
2017-07-01T08:56:55.000Z
2017-07-01T08:56:55.000Z
src/hsail_conformance/core/MemoryFenceTests.cpp
HSAFoundation/HSA-Conformance-Tests-PRM
1c383ba31c826a0745b4caba4903e51c4cb3c0d1
[ "Apache-2.0" ]
2
2018-03-09T09:13:21.000Z
2020-05-03T22:16:54.000Z
/* Copyright 2014-2015 Heterogeneous System Architecture (HSA) Foundation Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless re...
42.051948
320
0.714392
[ "geometry" ]