hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
108
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
int64
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
4
269
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
9
max_issues_count
int64
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
4
269
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
9
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
7
1.05M
avg_line_length
float64
1.21
330k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
0.99
author_id
stringlengths
2
40
61fead47df29906cf3576128c4e49d0d3adf3215
840
cpp
C++
CEOI/2017/palindrome.cpp
nalinbhardwaj/olympiad
6b640d8cef2fa16fb4e9776f8416575519357edf
[ "MIT" ]
1
2018-12-14T07:51:26.000Z
2018-12-14T07:51:26.000Z
CEOI/2017/palindrome.cpp
nalinbhardwaj/olympiad
6b640d8cef2fa16fb4e9776f8416575519357edf
[ "MIT" ]
null
null
null
CEOI/2017/palindrome.cpp
nalinbhardwaj/olympiad
6b640d8cef2fa16fb4e9776f8416575519357edf
[ "MIT" ]
1
2019-06-23T10:34:19.000Z
2019-06-23T10:34:19.000Z
//Palindromic Partitions #include <iostream> #include <cstdio> #include <vector> using namespace std; typedef long long int lli; const lli MOD = lli(1e9)+7, base = 31; lli n; string S; lli modpow(lli a, lli b) { if(!b) return 1; else if(b == 1) return a; else { lli res = modpow(a, b/2)%MOD; res *= res; r...
14.482759
50
0.54881
nalinbhardwaj
11006e9f92d20522e33039acbfc19819486c5c76
3,433
cpp
C++
examples/3d/easyCamExample/src/ofApp.cpp
creatologist/openFrameworks0084
aa74f188f105b62fbcecb7baf2b41d56d97cf7bc
[ "MIT" ]
3
2017-12-27T23:02:50.000Z
2018-10-14T00:50:49.000Z
examples/3d/easyCamExample/src/ofApp.cpp
creatologist/openFrameworks0084
aa74f188f105b62fbcecb7baf2b41d56d97cf7bc
[ "MIT" ]
null
null
null
examples/3d/easyCamExample/src/ofApp.cpp
creatologist/openFrameworks0084
aa74f188f105b62fbcecb7baf2b41d56d97cf7bc
[ "MIT" ]
1
2020-02-28T20:39:20.000Z
2020-02-28T20:39:20.000Z
#include "ofApp.h" //-------------------------------------------------------------- void ofApp::setup(){ ofSetVerticalSync(true); // this uses depth information for occlusion // rather than always drawing things on top of each other ofEnableDepthTest(); // this sets the camera's distance from the object cam....
24.697842
179
0.499272
creatologist
11021a8038ae3cc9d22b5c7026aebcae6a20e663
21,155
hpp
C++
include/jet/Utilities.hpp
XanaduAI/jet
c74fd61c7caf821153b05ab9f9a783e779040161
[ "Apache-2.0" ]
29
2021-07-22T20:32:55.000Z
2022-03-28T20:36:03.000Z
include/jet/Utilities.hpp
XanaduAI/jet
c74fd61c7caf821153b05ab9f9a783e779040161
[ "Apache-2.0" ]
25
2021-07-22T21:05:20.000Z
2021-11-24T17:34:31.000Z
include/jet/Utilities.hpp
XanaduAI/jet
c74fd61c7caf821153b05ab9f9a783e779040161
[ "Apache-2.0" ]
7
2021-07-23T11:47:12.000Z
2022-03-23T07:12:39.000Z
#pragma once #include <algorithm> #include <complex> #include <iostream> #include <numeric> #include <string> #include <vector> #include "Abort.hpp" namespace Jet { namespace Utilities { /** * @brief Determines if an integral value is a power of 2. * @param value Number to check. * @return True if `value` is a p...
30.007092
80
0.623068
XanaduAI
1102642a3aa47a79509c1d3c1dc28d7df27dd909
76
hh
C++
MCDataProducts/inc/GenParticleCollection.hh
michaelmackenzie/Offline
57bcd11d499af77ed0619deeddace51ed2b0b097
[ "Apache-2.0" ]
null
null
null
MCDataProducts/inc/GenParticleCollection.hh
michaelmackenzie/Offline
57bcd11d499af77ed0619deeddace51ed2b0b097
[ "Apache-2.0" ]
26
2019-11-08T09:56:55.000Z
2020-09-09T17:25:33.000Z
MCDataProducts/inc/GenParticleCollection.hh
ryuwd/Offline
92957f111425910274df61dbcbd2bad76885f993
[ "Apache-2.0" ]
null
null
null
// redirection: FIXME! #include "Offline/MCDataProducts/inc/GenParticle.hh"
25.333333
52
0.789474
michaelmackenzie
11055fd55298017876da7d5cb3b5b4b77dcb6f37
229
cpp
C++
Codeforces Rating < 1300/A_Word_Capitalization.cpp
Ritu7683/Codeforces-A20J-Ladder
eb9d54c20e2ab4f5eba06379258cf932a9b2d003
[ "MIT" ]
1
2021-09-15T08:48:10.000Z
2021-09-15T08:48:10.000Z
Codeforces Rating < 1300/A_Word_Capitalization.cpp
Ritu7683/Codeforces-A20J-Ladder
eb9d54c20e2ab4f5eba06379258cf932a9b2d003
[ "MIT" ]
null
null
null
Codeforces Rating < 1300/A_Word_Capitalization.cpp
Ritu7683/Codeforces-A20J-Ladder
eb9d54c20e2ab4f5eba06379258cf932a9b2d003
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define ll long int using namespace std; int main() { string s; cin>>s; if(s[0]>='a' && s[0]<='z') { s[0]=toupper(s[0]); cout<<s<<endl; } else { cout<<s<<endl; } return 0; }
12.722222
29
0.497817
Ritu7683
110600e685f25e393ecd6089d3f42a871ad26bc2
7,659
cpp
C++
xlslib/src/xlslib/note.cpp
ferkulat/xlslib
c3c2e04e80e39a8262fd334a0e13b28ff1745c63
[ "BSD-2-Clause" ]
9
2015-05-29T10:22:26.000Z
2018-03-18T12:36:49.000Z
xlslib/src/xlslib/note.cpp
loulansuiye/xlslib
c3c2e04e80e39a8262fd334a0e13b28ff1745c63
[ "BSD-2-Clause" ]
null
null
null
xlslib/src/xlslib/note.cpp
loulansuiye/xlslib
c3c2e04e80e39a8262fd334a0e13b28ff1745c63
[ "BSD-2-Clause" ]
1
2021-07-03T00:46:01.000Z
2021-07-03T00:46:01.000Z
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * This file is part of xlslib -- A multiplatform, C/C++ library * for dynamic generation of Excel(TM) files. * * Copyright 2004 Yeico S. A. de C. V. All Rights Reserved. * Copyright 2008-2013 David Hoerl All Rights Reserved. * * ...
35.623256
147
0.658572
ferkulat
11071bf61c8f056dd6fb1cf526fb261697f7038c
2,242
cc
C++
Geometry/MTDNumberingBuilder/plugins/CmsMTDBuilder.cc
bisnupriyasahu/cmssw
6cf37ca459246525be0e8a6f5172c6123637d259
[ "Apache-2.0" ]
3
2018-08-24T19:10:26.000Z
2019-02-19T11:45:32.000Z
Geometry/MTDNumberingBuilder/plugins/CmsMTDBuilder.cc
bisnupriyasahu/cmssw
6cf37ca459246525be0e8a6f5172c6123637d259
[ "Apache-2.0" ]
3
2018-08-23T13:40:24.000Z
2019-12-05T21:16:03.000Z
Geometry/MTDNumberingBuilder/plugins/CmsMTDBuilder.cc
bisnupriyasahu/cmssw
6cf37ca459246525be0e8a6f5172c6123637d259
[ "Apache-2.0" ]
5
2018-08-21T16:37:52.000Z
2020-01-09T13:33:17.000Z
#include "Geometry/MTDNumberingBuilder/plugins/CmsMTDBuilder.h" #include "DetectorDescription/Core/interface/DDFilteredView.h" #include "Geometry/MTDNumberingBuilder/interface/GeometricTimingDet.h" #include "Geometry/MTDNumberingBuilder/plugins/ExtractStringFromDDD.h" #include "DataFormats/DetId/interface/DetId.h" #inc...
33.969697
132
0.720339
bisnupriyasahu
1107c31cce77f11fbb647436998ceacf4e25fb8f
54,434
cpp
C++
src/edcommon/model.cpp
GarethNelson/ares
fb2b2d25f000a3e0aa974ff08a3f0ec8fc89845e
[ "MIT" ]
null
null
null
src/edcommon/model.cpp
GarethNelson/ares
fb2b2d25f000a3e0aa974ff08a3f0ec8fc89845e
[ "MIT" ]
null
null
null
src/edcommon/model.cpp
GarethNelson/ares
fb2b2d25f000a3e0aa974ff08a3f0ec8fc89845e
[ "MIT" ]
null
null
null
/* The MIT License Copyright (c) 2011 by Jorrit Tyberghein 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...
28.044307
119
0.665062
GarethNelson
11086346168afae2284634a663b83f4e9fc29531
7,930
cpp
C++
WDL/plush2/pl_read_3ds.cpp
hor-net/wdl-ol
4a88575f82c0c577b28fc3b27279456b12b187fe
[ "Zlib" ]
2
2017-12-05T04:18:55.000Z
2021-03-20T03:04:56.000Z
WDL/plush2/pl_read_3ds.cpp
Metabog/wdl-ol
bfe87d2c4297d003f2475dc22d460440e5e1b4fa
[ "Zlib" ]
null
null
null
WDL/plush2/pl_read_3ds.cpp
Metabog/wdl-ol
bfe87d2c4297d003f2475dc22d460440e5e1b4fa
[ "Zlib" ]
2
2017-04-24T12:45:33.000Z
2019-12-22T04:31:51.000Z
/****************************************************************************** Plush Version 1.2 read_3ds.c 3DS Object Reader Copyright (c) 1996-2000, Justin Frankel ******************************************************************************/ #include "plush.h" typedef struct { pl_uInt16 id; void...
22.787356
80
0.583102
hor-net
1109568803479872ecba62b53e9492f3aae3671b
38,338
cpp
C++
src/common/information_schema.cpp
tisuama/BaikalDB
22e414eaac9dd6150f61976df6c735d6e51ea3f3
[ "Apache-2.0" ]
null
null
null
src/common/information_schema.cpp
tisuama/BaikalDB
22e414eaac9dd6150f61976df6c735d6e51ea3f3
[ "Apache-2.0" ]
null
null
null
src/common/information_schema.cpp
tisuama/BaikalDB
22e414eaac9dd6150f61976df6c735d6e51ea3f3
[ "Apache-2.0" ]
null
null
null
// Copyright (c) 2018-present Baidu, Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required b...
48.714104
141
0.547759
tisuama
110e0562d099679db9aaebb93c080a3f1cedebc5
10,152
cc
C++
src/Mapping.cc
MIRTK/VolumetricMapping
0c7e58204f8c278d887510b46d7ad0b96735f04f
[ "Apache-2.0" ]
1
2017-06-09T14:39:15.000Z
2017-06-09T14:39:15.000Z
src/Mapping.cc
MIRTK/VolumetricMapping
0c7e58204f8c278d887510b46d7ad0b96735f04f
[ "Apache-2.0" ]
1
2017-03-23T13:56:33.000Z
2017-03-23T17:19:22.000Z
src/Mapping.cc
MIRTK/Mapping
0c7e58204f8c278d887510b46d7ad0b96735f04f
[ "Apache-2.0" ]
2
2017-06-09T14:39:16.000Z
2019-09-25T09:08:03.000Z
/* * Medical Image Registration ToolKit (MIRTK) * * Copyright 2013-2016 Imperial College London * Copyright 2013-2016 Andreas Schuh * * 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 * ...
28.923077
94
0.495764
MIRTK
1110c4184c0878954bb71f63e6e347e440e36cea
20,088
hpp
C++
libs/storage/include/nil/filecoin/storage/proofs/post/election/vanilla.hpp
NilFoundation/crypto3-fil-proofs
1fd78ad608278a1ed62fb29b0a077347b74a55f1
[ "MIT" ]
null
null
null
libs/storage/include/nil/filecoin/storage/proofs/post/election/vanilla.hpp
NilFoundation/crypto3-fil-proofs
1fd78ad608278a1ed62fb29b0a077347b74a55f1
[ "MIT" ]
4
2021-09-06T13:07:46.000Z
2021-11-16T12:38:09.000Z
libs/storage/include/nil/filecoin/storage/proofs/post/election/vanilla.hpp
NilFoundation/crypto3-fil-proofs
1fd78ad608278a1ed62fb29b0a077347b74a55f1
[ "MIT" ]
null
null
null
//---------------------------------------------------------------------------// // MIT License // // Copyright (c) 2020-2021 Mikhail Komarov <nemo@nil.foundation> // Copyright (c) 2020-2021 Nikita Kaskov <nemo@nil.foundation> // // Permission is hereby granted, free of charge, to any person obtaining a copy // of...
53.425532
120
0.505625
NilFoundation
1112decafa844b641a6e71e23d12f88e42cf043d
4,027
cpp
C++
src/LoadedModel.cpp
sidmishraw/martian-cos
364ca3d875efab896a821faad43accdab74bd5d4
[ "BSD-3-Clause" ]
1
2018-05-20T21:27:12.000Z
2018-05-20T21:27:12.000Z
src/LoadedModel.cpp
sidmishraw/martian-cos
364ca3d875efab896a821faad43accdab74bd5d4
[ "BSD-3-Clause" ]
2
2018-05-24T01:03:36.000Z
2021-02-28T08:15:44.000Z
src/LoadedModel.cpp
sidmishraw/martian-cos
364ca3d875efab896a821faad43accdab74bd5d4
[ "BSD-3-Clause" ]
null
null
null
// // LoadedModel.cpp // martian-terrain // // Created by Sidharth Mishra on 5/20/18. // #include "LoadedModel.h" using namespace sidmishraw_model; using namespace std; LoadedModel::LoadedModel():ofNode() { } LoadedModel::LoadedModel(string modelName, bool optimize):ofNode() { this->model = ofxAssimpModelLoade...
20.441624
94
0.735783
sidmishraw
1113a145ae73e5dd4080dc2629b8dde0ef79aa20
4,482
cc
C++
runtime/tests/test_buffer.cc
naoyam/physis
39ee5250a2d5baa545ca03e7c5c9aa9c81f1ab19
[ "BSD-3-Clause" ]
30
2015-01-27T02:45:34.000Z
2022-02-17T03:50:49.000Z
runtime/tests/test_buffer.cc
naoyam/physis
39ee5250a2d5baa545ca03e7c5c9aa9c81f1ab19
[ "BSD-3-Clause" ]
8
2015-01-02T02:10:04.000Z
2015-04-21T08:42:12.000Z
runtime/tests/test_buffer.cc
naoyam/physis
39ee5250a2d5baa545ca03e7c5c9aa9c81f1ab19
[ "BSD-3-Clause" ]
4
2015-12-16T10:18:31.000Z
2021-12-28T22:43:56.000Z
// Licensed under the BSD license. See LICENSE.txt for more details. #include "gmock/gmock.h" #include "gtest/gtest.h" #include "runtime/buffer.h" using namespace ::testing; using namespace ::std; namespace physis { namespace runtime { TEST(BufferHost, EnsureCapacity) { BufferHost buf; size_t s = 100; buf.En...
23.465969
68
0.500669
naoyam
1113aebdf33f8740412e440635e3da92af2ee58e
281
cpp
C++
allMatuCommit/回文_2020040901027_20210920120011.cpp
BachWV/matu
d4e3a89385f0a205431dd34c2c7214af40bb8ddb
[ "MIT" ]
null
null
null
allMatuCommit/回文_2020040901027_20210920120011.cpp
BachWV/matu
d4e3a89385f0a205431dd34c2c7214af40bb8ddb
[ "MIT" ]
null
null
null
allMatuCommit/回文_2020040901027_20210920120011.cpp
BachWV/matu
d4e3a89385f0a205431dd34c2c7214af40bb8ddb
[ "MIT" ]
null
null
null
#include <stdio.h> #define N 30 int main(void) { char a[N]; int i,j,n; gets(a); for(i=0;i<N;i++) { n=0; if(a[i]!='\0') n++; } for(j=0;j<n;j++) { if(a[j]==a[n-j-1]) printf("true"); else printf("false"); }return 0; }
12.772727
24
0.405694
BachWV
11144c8848f85cbd6d24ce08a8c6ff9ed28ecb5e
673
cpp
C++
Deitel/Chapter02/exercises/2.24/ex_224.cpp
SebastianTirado/Cpp-Learning-Archive
fb83379d0cc3f9b2390cef00119464ec946753f4
[ "MIT" ]
19
2019-09-15T12:23:51.000Z
2020-06-18T08:31:26.000Z
Deitel/Chapter02/exercises/2.24/ex_224.cpp
eirichan/CppLearingArchive
07a4baf63f0765d41eb0cc6d32a4c9d2ae1d5bac
[ "MIT" ]
15
2021-12-07T06:46:03.000Z
2022-01-31T07:55:32.000Z
Deitel/Chapter02/exercises/2.24/ex_224.cpp
eirichan/CppLearingArchive
07a4baf63f0765d41eb0cc6d32a4c9d2ae1d5bac
[ "MIT" ]
13
2019-06-29T02:58:27.000Z
2020-05-07T08:52:22.000Z
/* * ===================================================================================== * * Filename: * * Description: * * Version: 1.0 * Created: Thanks to github you know it * Revision: none * Compiler: g++ * * Author: Mahmut Erdem ÖZGEN m.erdemozgen...
22.433333
88
0.356612
SebastianTirado
11146beceed78a107969a3394a9839683fe5efd9
5,303
cpp
C++
test/sources/tools/match/test-optimize_mask.cpp
Kartonagnick/tools-match
ec27ca94a031e04f072f8366bde2d567c29134c8
[ "MIT" ]
null
null
null
test/sources/tools/match/test-optimize_mask.cpp
Kartonagnick/tools-match
ec27ca94a031e04f072f8366bde2d567c29134c8
[ "MIT" ]
7
2021-02-05T20:45:04.000Z
2021-03-09T15:12:14.000Z
test/sources/tools/match/test-optimize_mask.cpp
Kartonagnick/tools-match
ec27ca94a031e04f072f8366bde2d567c29134c8
[ "MIT" ]
null
null
null
// [2021y-02m-05d] Idrisov Denis R. #include <mygtest/modern.hpp> #ifdef TEST_TOOLS_MATCH_OPTIMIZE_MASK #define dTEST_COMPONENT tools, match #define dTEST_METHOD optimize_mask #define dTEST_TAG tdd #include <tools/match/optimize_mask.hpp> namespace me = ::tools; //===================================================...
29.960452
80
0.443334
Kartonagnick
1115266ea6f1ad6946315dcfd49244e9cfe17af4
1,109
hpp
C++
controller.hpp
Greentwip/PuyoPuyo
cb76c4b5861e29765050675cde0185d15aa055e6
[ "MIT" ]
null
null
null
controller.hpp
Greentwip/PuyoPuyo
cb76c4b5861e29765050675cde0185d15aa055e6
[ "MIT" ]
null
null
null
controller.hpp
Greentwip/PuyoPuyo
cb76c4b5861e29765050675cde0185d15aa055e6
[ "MIT" ]
null
null
null
#pragma once #include "sl.h" #include "defines.hpp" #include "input.hpp" class controller { public: virtual input get_input() { return input(direction::horizontal, 0, rotation::none); } }; class player_controller : public controller { virtual input get_input() override { auto key_left = slGetKey(SL_KEY_LEFT)...
20.924528
59
0.693417
Greentwip
11160972c1639127f27bf491266449eb98ff1944
5,937
cxx
C++
Rendering/OpenGL2/vtkHiddenLineRemovalPass.cxx
keithroe/vtkoptix
c5bbfa0105552af3022811a7c81efec640fb810f
[ "BSD-3-Clause" ]
null
null
null
Rendering/OpenGL2/vtkHiddenLineRemovalPass.cxx
keithroe/vtkoptix
c5bbfa0105552af3022811a7c81efec640fb810f
[ "BSD-3-Clause" ]
null
null
null
Rendering/OpenGL2/vtkHiddenLineRemovalPass.cxx
keithroe/vtkoptix
c5bbfa0105552af3022811a7c81efec640fb810f
[ "BSD-3-Clause" ]
null
null
null
/*========================================================================= Program: Visualization Toolkit Module: vtkHiddenLineRemovalPass.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. This ...
32.442623
80
0.595419
keithroe
1117705173cdc73bec8975a071c6e4844bdb4793
2,773
cpp
C++
Labo09-Ordenamiento/main.cpp
LecJackS/Taller-Algoritmos-1-2019
cb0c1599abfce73bee090cf58b5dc4ca8d47cb0b
[ "MIT" ]
null
null
null
Labo09-Ordenamiento/main.cpp
LecJackS/Taller-Algoritmos-1-2019
cb0c1599abfce73bee090cf58b5dc4ca8d47cb0b
[ "MIT" ]
null
null
null
Labo09-Ordenamiento/main.cpp
LecJackS/Taller-Algoritmos-1-2019
cb0c1599abfce73bee090cf58b5dc4ca8d47cb0b
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <vector> using namespace std; int get_all_digits(vector<char> num_palabra){ string digitos = ""; for(int i=0; i<num_palabra.size(); i++){ if(isdigit(num_palabra[i])){ digitos += num_palabra[i]; } } return stoi(digitos); } int ...
31.873563
109
0.465921
LecJackS
111793c676ad7140d1e988a74ed4cf5ffcc48d82
734
cpp
C++
libs/proto/example/hello.cpp
zyiacas/boost-doc-zh
689e5a3a0a4dbead1a960f7b039e3decda54aa2c
[ "BSL-1.0" ]
11
2015-07-12T13:04:52.000Z
2021-05-30T23:23:46.000Z
libs/proto/example/hello.cpp
sdfict/boost-doc-zh
689e5a3a0a4dbead1a960f7b039e3decda54aa2c
[ "BSL-1.0" ]
null
null
null
libs/proto/example/hello.cpp
sdfict/boost-doc-zh
689e5a3a0a4dbead1a960f7b039e3decda54aa2c
[ "BSL-1.0" ]
3
2015-12-23T01:51:57.000Z
2019-08-25T04:58:32.000Z
//[ HelloWorld //////////////////////////////////////////////////////////////////// // 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.boost.org/LICENSE_1_0.txt) #include <iostream> #include <boost/prot...
26.214286
69
0.589918
zyiacas
1118270fde5eb9566d518af7e17fe45c6fa0ab32
752
cc
C++
test/extensions/wasm/test_data/asm2wasm_cpp.cc
brian-avery/envoy-1
61101255b67b70b89fe4b3dd229cecd047bd5620
[ "Apache-2.0" ]
null
null
null
test/extensions/wasm/test_data/asm2wasm_cpp.cc
brian-avery/envoy-1
61101255b67b70b89fe4b3dd229cecd047bd5620
[ "Apache-2.0" ]
null
null
null
test/extensions/wasm/test_data/asm2wasm_cpp.cc
brian-avery/envoy-1
61101255b67b70b89fe4b3dd229cecd047bd5620
[ "Apache-2.0" ]
1
2022-03-08T09:23:49.000Z
2022-03-08T09:23:49.000Z
// NOLINT(namespace-envoy) #include <math.h> #include <string> #include "proxy_wasm_intrinsics.h" // Use global variables so the compiler cannot optimize the operations away. int32_t i32a = 0; int32_t i32b = 1; double f64a = 0.0; double f64b = 1.0; // Emscripten in some modes and versions would use functions from ...
35.809524
98
0.668883
brian-avery
111b589bf119bbe67c7855522445a6c0bde32047
3,611
hpp
C++
src/dag/dag_block_manager.hpp
agrebin/taraxa-node
a594b01f52e727c8fc5dc87c9c325510c2a6f1cb
[ "MIT" ]
null
null
null
src/dag/dag_block_manager.hpp
agrebin/taraxa-node
a594b01f52e727c8fc5dc87c9c325510c2a6f1cb
[ "MIT" ]
7
2021-06-08T12:40:38.000Z
2021-06-16T12:11:15.000Z
src/dag/dag_block_manager.hpp
agrebin/taraxa-node
a594b01f52e727c8fc5dc87c9c325510c2a6f1cb
[ "MIT" ]
null
null
null
#pragma once #include "dag_block.hpp" #include "final_chain/final_chain.hpp" #include "transaction_manager/transaction.hpp" #include "transaction_manager/transaction_manager.hpp" #include "vdf_sortition.hpp" namespace taraxa { enum class BlockStatus { invalid, proposed, broadcasted, verified, unseen }; using BlockS...
41.505747
118
0.7635
agrebin
111cdeaa469629cd408bfcf3d07afb61a4311821
178
cpp
C++
Runic/Src/Runic/Scene/SceneManager.cpp
Swarmley/Runic-Engine
80a471728ae10e77e5370414ec45341a75df2469
[ "Apache-2.0" ]
null
null
null
Runic/Src/Runic/Scene/SceneManager.cpp
Swarmley/Runic-Engine
80a471728ae10e77e5370414ec45341a75df2469
[ "Apache-2.0" ]
null
null
null
Runic/Src/Runic/Scene/SceneManager.cpp
Swarmley/Runic-Engine
80a471728ae10e77e5370414ec45341a75df2469
[ "Apache-2.0" ]
null
null
null
#include "runicpch.h" #include "SceneManager.h" namespace Runic { Scope<SceneManager::SceneManagerData> SceneManager::s_Data = CreateScope<SceneManager::SceneManagerData>(); }
29.666667
108
0.786517
Swarmley
1120fe5c48d0ec4925a967b3fae35d5a8517ae09
8,496
cpp
C++
modules/simulator/src/VehicleDynamics/VehicleAckermann.cpp
SRai22/mvsim
0890889353c89ac0f1ad9bd6f700068ca22262f3
[ "BSD-3-Clause" ]
11
2020-07-18T03:16:25.000Z
2022-03-29T12:59:34.000Z
modules/simulator/src/VehicleDynamics/VehicleAckermann.cpp
SRai22/mvsim
0890889353c89ac0f1ad9bd6f700068ca22262f3
[ "BSD-3-Clause" ]
1
2022-01-21T07:56:43.000Z
2022-01-21T08:07:30.000Z
modules/simulator/src/VehicleDynamics/VehicleAckermann.cpp
SRai22/mvsim
0890889353c89ac0f1ad9bd6f700068ca22262f3
[ "BSD-3-Clause" ]
6
2020-06-17T02:34:28.000Z
2022-03-13T01:37:01.000Z
/*+-------------------------------------------------------------------------+ | MultiVehicle simulator (libmvsim) | | | | Copyright (C) 2014-2020 Jose Luis Blanco Claraco | | Copy...
32.551724
108
0.660546
SRai22
11247378ff3ce23ff009136e2cb6c955e16446e2
1,126
hpp
C++
src/pbrrenderer2.hpp
jpbruyere/vke
cf965d29b9092ea6b56847028dc885b67b1603e0
[ "MIT" ]
1
2018-10-17T17:28:10.000Z
2018-10-17T17:28:10.000Z
src/pbrrenderer2.hpp
jpbruyere/vke
cf965d29b9092ea6b56847028dc885b67b1603e0
[ "MIT" ]
null
null
null
src/pbrrenderer2.hpp
jpbruyere/vke
cf965d29b9092ea6b56847028dc885b67b1603e0
[ "MIT" ]
1
2021-08-11T14:13:02.000Z
2021-08-11T14:13:02.000Z
#pragma once #include "vke.hpp" #include "vkrenderer.hpp" #include "texture.hpp" #include "VulkanglTFModel.hpp" class pbrRenderer : public vke::vkRenderer { void generateBRDFLUT(); void generateCubemaps(); protected: virtual void configurePipelineLayout(); virtual void loadRessources(); virtual v...
22.078431
86
0.676732
jpbruyere
1127332e487537822e4bbc0b99b5a872a57e23b8
3,723
cpp
C++
source/gameplay/PlayerProjectiles.cpp
Xett/gba-modern
8b74fcf78d49c156dc4ffa6c4adba8fd812004dd
[ "MIT" ]
null
null
null
source/gameplay/PlayerProjectiles.cpp
Xett/gba-modern
8b74fcf78d49c156dc4ffa6c4adba8fd812004dd
[ "MIT" ]
null
null
null
source/gameplay/PlayerProjectiles.cpp
Xett/gba-modern
8b74fcf78d49c156dc4ffa6c4adba8fd812004dd
[ "MIT" ]
1
2020-11-20T03:12:02.000Z
2020-11-20T03:12:02.000Z
//-------------------------------------------------------------------------------- // PlayerProjectiles.cpp //-------------------------------------------------------------------------------- // The class that manages the player projectiles //------------------------------------------------------------------------------...
37.606061
131
0.637658
Xett
1128adeb375e43db32f68460c232c4134508ccd6
2,817
hpp
C++
irohad/ordering/impl/on_demand_os_client_grpc.hpp
coderintherye/iroha
68509282851130c9818f21acef1ef28e53622315
[ "Apache-2.0" ]
null
null
null
irohad/ordering/impl/on_demand_os_client_grpc.hpp
coderintherye/iroha
68509282851130c9818f21acef1ef28e53622315
[ "Apache-2.0" ]
null
null
null
irohad/ordering/impl/on_demand_os_client_grpc.hpp
coderintherye/iroha
68509282851130c9818f21acef1ef28e53622315
[ "Apache-2.0" ]
null
null
null
/** * Copyright Soramitsu Co., Ltd. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ #ifndef IROHA_ON_DEMAND_OS_TRANSPORT_CLIENT_GRPC_HPP #define IROHA_ON_DEMAND_OS_TRANSPORT_CLIENT_GRPC_HPP #include "ordering/on_demand_os_transport.hpp" #include "network/impl/async_grpc_client.hpp" #include "orderin...
35.2125
80
0.676251
coderintherye
1128eef1ec4be5ec1817a87007c180758ea49b28
3,127
cpp
C++
lib/core/src/rodsError.cpp
aghsmith/irods
31d48a47a4942df688da94b30aa8a5b5210261bb
[ "BSD-3-Clause" ]
1
2022-03-08T13:00:56.000Z
2022-03-08T13:00:56.000Z
lib/core/src/rodsError.cpp
selroc/irods
d232c7f3e0154cacc3a115aa50e366a98617b126
[ "BSD-3-Clause" ]
null
null
null
lib/core/src/rodsError.cpp
selroc/irods
d232c7f3e0154cacc3a115aa50e366a98617b126
[ "BSD-3-Clause" ]
null
null
null
#include "irods/rodsDef.h" #include "irods/rodsError.h" #include "irods/rodsErrorTable.h" struct ErrorStack; int addRErrorMsg(ErrorStack *myError, const int status, const char *msg) { if (!myError) { return USER__NULL_INPUT_ERR; } if (myError->len >= MAX_ERROR_MESSAGES) { return 0; } ...
22.496403
87
0.57819
aghsmith
112aff1d4d6f7bbdbb57fe6e5e141556be472d73
3,173
hpp
C++
include/armadillo_bits/op_sum_meat.hpp
ArashMassoudieh/GIFMod_
1fa9eda21fab870fc3baf56462f79eb800d5154f
[ "MIT" ]
8
2017-01-12T14:18:50.000Z
2021-02-18T14:44:33.000Z
include/armadillo_bits/op_sum_meat.hpp
ArashMassoudieh/GIFMod_
1fa9eda21fab870fc3baf56462f79eb800d5154f
[ "MIT" ]
1
2017-07-04T05:40:30.000Z
2017-07-04T05:43:37.000Z
include/armadillo_bits/op_sum_meat.hpp
ArashMassoudieh/GIFMod_
1fa9eda21fab870fc3baf56462f79eb800d5154f
[ "MIT" ]
6
2016-08-21T00:29:08.000Z
2022-01-09T08:41:33.000Z
// Copyright (C) 2008-2015 Conrad Sanderson // Copyright (C) 2008-2015 NICTA (www.nicta.com.au) // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. //! \addtogroup ...
19.114458
99
0.589663
ArashMassoudieh
112c2dc9f8f72e002a965ea65ec48db3c184fd8e
5,533
cpp
C++
clb/src/v20180317/model/LbRsTargets.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
43
2019-08-14T08:14:12.000Z
2022-03-30T12:35:09.000Z
clb/src/v20180317/model/LbRsTargets.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
12
2019-07-15T10:44:59.000Z
2021-11-02T12:35:00.000Z
clb/src/v20180317/model/LbRsTargets.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
28
2019-07-12T09:06:22.000Z
2022-03-30T08:04:18.000Z
/* * Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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 ...
25.497696
139
0.663654
suluner
112c5818dcf4e4bda21a4cf79549cdbf05b2913a
1,439
cpp
C++
HackerRank/Problem Solving/Algorithms/GraphTheory/BreadthFirstSearch.cpp
AdityaChirravuri/CompetitiveProgramming
642550e8916b3f7939a1fdd52d10f5f8ae43f161
[ "MIT" ]
1
2021-07-13T01:49:25.000Z
2021-07-13T01:49:25.000Z
HackerRank/Problem Solving/Algorithms/GraphTheory/BreadthFirstSearch.cpp
AdityaChirravuri/CompetitiveProgramming
642550e8916b3f7939a1fdd52d10f5f8ae43f161
[ "MIT" ]
null
null
null
HackerRank/Problem Solving/Algorithms/GraphTheory/BreadthFirstSearch.cpp
AdityaChirravuri/CompetitiveProgramming
642550e8916b3f7939a1fdd52d10f5f8ae43f161
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; class Graph{ int V; list<int> *adj; public: Graph(int V); void AddEdge(int v, int w); void BFS(int s); }; Graph::Graph(int V) { this->V = V; adj = new list<int>[V]; } void Graph::AddEdge(int v, int w) { adj[v].push_back(w); } void Graph::...
17.765432
57
0.413482
AdityaChirravuri
112ed45777794d1ae5d574904f83d384da51ed65
2,990
hpp
C++
AirLib/include/vehicles/plane/UFRudder.hpp
artemopolus/AirSim-1
4a741e79c0197acf3cb6f3397bc55ea1d267f8c8
[ "MIT" ]
null
null
null
AirLib/include/vehicles/plane/UFRudder.hpp
artemopolus/AirSim-1
4a741e79c0197acf3cb6f3397bc55ea1d267f8c8
[ "MIT" ]
null
null
null
AirLib/include/vehicles/plane/UFRudder.hpp
artemopolus/AirSim-1
4a741e79c0197acf3cb6f3397bc55ea1d267f8c8
[ "MIT" ]
null
null
null
#ifndef airsimcore_ufrudder_hpp #define airsimcore_ufrudder_hpp #include "UniForce.hpp" #include "UFRudderParams.hpp" namespace msr { namespace airlib { class UFRudder : public UniForce { public: UFRudder(const Vector3r& position, const Vector3r& normal, UFRudderParams::UniForceDirection turning_direction, ...
33.595506
122
0.71204
artemopolus
113035645ab7998f7dc2089bb49985b608411cf1
463
cpp
C++
Codeforces/158A - Next Round.cpp
naimulcsx/online-judge-solutions
0b80f81bcfb05a7cfe7fc925304c70b19eff1d6f
[ "MIT" ]
null
null
null
Codeforces/158A - Next Round.cpp
naimulcsx/online-judge-solutions
0b80f81bcfb05a7cfe7fc925304c70b19eff1d6f
[ "MIT" ]
null
null
null
Codeforces/158A - Next Round.cpp
naimulcsx/online-judge-solutions
0b80f81bcfb05a7cfe7fc925304c70b19eff1d6f
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> using namespace std; int main() { int n, k; cin >> n >> k; vector <int> data; for (int i = 0; i < n; i++) { int input; cin >> input; data.push_back(input); } int kth_value = data.at(k - 1), count = 0; for (int i = 0; i < data...
17.148148
54
0.464363
naimulcsx
1131b490ca517a46f9455044c237f9e0e64b8671
19,743
cpp
C++
dev/Code/Sandbox/Plugins/UiCanvasEditor/PropertiesContainer.cpp
Kezryk/lumberyard
d21172c26536133a4213873469a171f4f0c4280c
[ "AML" ]
1
2017-10-21T11:19:32.000Z
2017-10-21T11:19:32.000Z
dev/Code/Sandbox/Plugins/UiCanvasEditor/PropertiesContainer.cpp
Kezryk/lumberyard
d21172c26536133a4213873469a171f4f0c4280c
[ "AML" ]
null
null
null
dev/Code/Sandbox/Plugins/UiCanvasEditor/PropertiesContainer.cpp
Kezryk/lumberyard
d21172c26536133a4213873469a171f4f0c4280c
[ "AML" ]
null
null
null
/* * All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or * its licensors. * * For complete copyright and license terms please see the LICENSE at the root of this * distribution (the "License"). All use of this software is governed by the License, * or, if provided, by the license below or t...
38.187621
169
0.634554
Kezryk
113289d7e964644ba652a33cf172d0d158897a3e
17,710
cpp
C++
Spades Game/Game/UI/LobbyFilterManager.cpp
jmasterx/StemwaterSpades
05e5d7c6d380d2f5986bd91269887f16c3e71962
[ "Unlicense" ]
6
2017-01-04T22:40:50.000Z
2019-11-24T15:37:46.000Z
Spades Game/Game/UI/LobbyFilterManager.cpp
jmasterx/StemwaterSpades
05e5d7c6d380d2f5986bd91269887f16c3e71962
[ "Unlicense" ]
1
2016-09-18T19:10:01.000Z
2017-08-04T23:53:38.000Z
Spades Game/Game/UI/LobbyFilterManager.cpp
jmasterx/StemwaterSpades
05e5d7c6d380d2f5986bd91269887f16c3e71962
[ "Unlicense" ]
2
2015-11-21T16:42:18.000Z
2019-04-21T20:41:39.000Z
#include "Game/UI/LobbyFilterManager.hpp" #include <iostream> namespace cge { LobbyFilterManager::~LobbyFilterManager(void) { if(m_container->getGui()) { m_container->getGui()->removeMousePreviewListener(this); } } LobbyFilterManager::LobbyFilterManager(agui::Gui* gui, GuiFactory* factory, LanguageMana...
30.8
102
0.746132
jmasterx
1134279f867fa714499bf0c32591872d4f988d79
18,052
cc
C++
src/media/audio/drivers/aml-g12-tdm/audio-stream.cc
EnderNightLord-ChromeBook/zircon-rpi
b09b1eb3aa7a127c65568229fe10edd251869283
[ "BSD-2-Clause" ]
null
null
null
src/media/audio/drivers/aml-g12-tdm/audio-stream.cc
EnderNightLord-ChromeBook/zircon-rpi
b09b1eb3aa7a127c65568229fe10edd251869283
[ "BSD-2-Clause" ]
null
null
null
src/media/audio/drivers/aml-g12-tdm/audio-stream.cc
EnderNightLord-ChromeBook/zircon-rpi
b09b1eb3aa7a127c65568229fe10edd251869283
[ "BSD-2-Clause" ]
null
null
null
// Copyright 2018 The Fuchsia Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "audio-stream.h" #include <lib/simple-codec/simple-codec-helper.h> #include <lib/zx/clock.h> #include <math.h> #include <string.h> #include <nume...
33.742056
99
0.679315
EnderNightLord-ChromeBook
11375d1474b937d09f081169435e7038a8ecf073
11,688
cpp
C++
moon/core/network/socket.cpp
PM5616/moon
04fe49c498caa53acb1b6a9ded76839a6c465289
[ "MIT" ]
null
null
null
moon/core/network/socket.cpp
PM5616/moon
04fe49c498caa53acb1b6a9ded76839a6c465289
[ "MIT" ]
null
null
null
moon/core/network/socket.cpp
PM5616/moon
04fe49c498caa53acb1b6a9ded76839a6c465289
[ "MIT" ]
1
2019-09-09T21:25:15.000Z
2019-09-09T21:25:15.000Z
#include "socket.h" #include "common/log.hpp" #include "common/string.hpp" #include "common/hash.hpp" #include "worker.h" #include "network/moon_connection.hpp" #include "network/custom_connection.hpp" #include "network/ws_connection.hpp" using namespace moon; socket::socket(router * r, worker* w, asio::io_context &...
28.231884
187
0.548939
PM5616
113a22f0880d64de816b0cf42ffa0668639a02b9
1,710
hpp
C++
src/share/connected_devices/details/descriptions.hpp
egelwan/Karabiner-Elements
896439dd2130904275553282063dd7fe4852e1a8
[ "Unlicense" ]
5,422
2019-10-27T17:51:04.000Z
2022-03-31T15:45:41.000Z
src/share/connected_devices/details/descriptions.hpp
XXXalice/Karabiner-Elements
52f579cbf60251cf18915bd938eb4431360b763b
[ "Unlicense" ]
1,310
2019-10-28T04:57:24.000Z
2022-03-31T04:55:37.000Z
src/share/connected_devices/details/descriptions.hpp
XXXalice/Karabiner-Elements
52f579cbf60251cf18915bd938eb4431360b763b
[ "Unlicense" ]
282
2019-10-28T02:36:04.000Z
2022-03-19T06:18:54.000Z
#pragma once #include "device_properties.hpp" #include <pqrs/json.hpp> namespace krbn { namespace connected_devices { namespace details { class descriptions { public: descriptions(void) : descriptions("", "") { } descriptions(const std::string& manufacturer, const std::string& product) : manufac...
27.580645
124
0.634503
egelwan
113f4fd6d216825e4a30be9575443514be07c4cb
887
hpp
C++
include/RED4ext/Types/generated/anim/AnimNode_BlendSpace_InternalsBlendSpacePoint.hpp
Cyberpunk-Extended-Development-Team/RED4ext.SDK
2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae
[ "MIT" ]
1
2021-02-01T23:07:50.000Z
2021-02-01T23:07:50.000Z
include/RED4ext/Types/generated/anim/AnimNode_BlendSpace_InternalsBlendSpacePoint.hpp
Cyberpunk-Extended-Development-Team/RED4ext.SDK
2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae
[ "MIT" ]
null
null
null
include/RED4ext/Types/generated/anim/AnimNode_BlendSpace_InternalsBlendSpacePoint.hpp
Cyberpunk-Extended-Development-Team/RED4ext.SDK
2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae
[ "MIT" ]
null
null
null
#pragma once // This file is generated from the Game's Reflection data #include <cstdint> #include <RED4ext/Common.hpp> #include <RED4ext/REDhash.hpp> #include <RED4ext/CName.hpp> #include <RED4ext/DynArray.hpp> namespace RED4ext { namespace anim { struct AnimNode_BlendSpace_InternalsBlendSpacePoint { static co...
27.71875
91
0.735062
Cyberpunk-Extended-Development-Team
114024e1b0915dfddf9bca872536bb96b808992a
1,719
cpp
C++
UVA/vol-100/10006.cpp
arash16/prays
0fe6bb2fa008b8fc46c80b01729f68308114020d
[ "MIT" ]
3
2017-05-12T14:45:37.000Z
2020-01-18T16:51:25.000Z
UVA/vol-100/10006.cpp
arash16/prays
0fe6bb2fa008b8fc46c80b01729f68308114020d
[ "MIT" ]
null
null
null
UVA/vol-100/10006.cpp
arash16/prays
0fe6bb2fa008b8fc46c80b01729f68308114020d
[ "MIT" ]
null
null
null
#include <math.h> #include <stdio.h> #include <cstring> #include <iostream> using namespace std; #define N 66000 unsigned int prime[N / 64]; #define gP(n) (prime[n>>6]&(1<<((n>>1)&31))) void sieve() { memset(prime, -1, sizeof(prime)); unsigned int i, i2, sqrtN = (unsigned int)sqrt((double)N) + 1; for(i = 3...
22.324675
99
0.528214
arash16
114271b5c47275bf0579b389fa1c3a5a0c384cfc
460
cpp
C++
BOJ_CPP/12789.cpp
tnsgh9603/BOJ_CPP
432b1350f6c67cce83aec3e723e30a3c6b5dbfda
[ "MIT" ]
null
null
null
BOJ_CPP/12789.cpp
tnsgh9603/BOJ_CPP
432b1350f6c67cce83aec3e723e30a3c6b5dbfda
[ "MIT" ]
null
null
null
BOJ_CPP/12789.cpp
tnsgh9603/BOJ_CPP
432b1350f6c67cce83aec3e723e30a3c6b5dbfda
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define fastio ios::sync_with_stdio(0), cin.tie(0), cout.tie(0) using namespace std; int n, board = 1, board[1001], board, t; int main() { fastio; cin >> n; for (int i = 0; i <= n; ++i) { if (i < n) { cin >> board; board[++t] = board; } ...
20.909091
63
0.428261
tnsgh9603
1143e3c9a20da3c8c480e28247b909e41e87d942
618
cpp
C++
src/BucketSort.cpp
MarutTomasz/PAMSI_Projekt_2
e8a154babd328fb18f48304021af90d6d7a79480
[ "MIT" ]
null
null
null
src/BucketSort.cpp
MarutTomasz/PAMSI_Projekt_2
e8a154babd328fb18f48304021af90d6d7a79480
[ "MIT" ]
null
null
null
src/BucketSort.cpp
MarutTomasz/PAMSI_Projekt_2
e8a154babd328fb18f48304021af90d6d7a79480
[ "MIT" ]
null
null
null
#include "BucketSort.hh" void BucketSort(Element Tablica[], long int pierwszy_element, long int ostatni_element) { Kubel Wiadro[11]; // stwórz tablice kubłów long int k = 0; // zmienna pomocnicza do obsługi tablicy for(long int i = pierwszy_element; i <= ostatni_element; i++) // Powtarzaj dla całej tablicy ...
44.142857
95
0.68932
MarutTomasz
1143e5133ef4efc20855683f857ea2bfb104721d
17,704
cpp
C++
Source/ResourceAnimator.cpp
JellyBitStudios/JellyBitEngine
4b975a50bb1934dfdbdf72e0c96c53a713e6cfa4
[ "MIT" ]
10
2019-02-05T07:57:21.000Z
2021-10-17T13:44:31.000Z
Source/ResourceAnimator.cpp
JellyBitStudios/JellyBitEngine
4b975a50bb1934dfdbdf72e0c96c53a713e6cfa4
[ "MIT" ]
178
2019-02-26T17:29:08.000Z
2019-06-05T10:55:42.000Z
Source/ResourceAnimator.cpp
JellyBitStudios/JellyBitEngine
4b975a50bb1934dfdbdf72e0c96c53a713e6cfa4
[ "MIT" ]
2
2020-02-27T18:57:27.000Z
2020-05-28T01:19:59.000Z
#include "ResourceAnimator.h" #include "imgui/imgui.h" #include "ModuleScene.h" #include "ModuleFileSystem.h" #include "Application.h" #include "Optick/include/optick.h" #include "ModuleTimeManager.h" #include "Application.h" #include "ResourceAvatar.h" #include "ModuleResourceManager.h" #include <assert.h> ResourceA...
23.859838
179
0.702666
JellyBitStudios
1146228624a8b8b9ab69bc02861e03c67580ec60
200
hpp
C++
Control_movement/chassis/Projects/RmBoardA/Src/IspImp.hpp
PhilosopheAM/21_Fall_project_gabbishSorting
15ef612d9e483ad72f9e37953875a7303f94b38e
[ "MIT" ]
1
2021-12-31T09:27:00.000Z
2021-12-31T09:27:00.000Z
Control_movement/chassis/Projects/RmBoardA/Src/IspImp.hpp
PhilosopheAM/21_Fall_project_gabbishSorting
15ef612d9e483ad72f9e37953875a7303f94b38e
[ "MIT" ]
null
null
null
Control_movement/chassis/Projects/RmBoardA/Src/IspImp.hpp
PhilosopheAM/21_Fall_project_gabbishSorting
15ef612d9e483ad72f9e37953875a7303f94b38e
[ "MIT" ]
1
2021-12-22T03:34:04.000Z
2021-12-22T03:34:04.000Z
#ifndef ISP_IMP_HPP #define ISP_IMP_HPP #include "stm32f4xx.h" extern "C" void CAN1_RX0_IRQHandler(void); extern "C" void CAN2_RX0_IRQHandler(void); extern "C" void USART6_IRQHandler(void); #endif
18.181818
42
0.78
PhilosopheAM
114680078d851d23f4ce09c036e0378d9c0da4e0
830
cpp
C++
VRDemoHelper/VRDemoHotKeyManager.cpp
sunzhuoshi/SteamVRDemoHelper
536280f1e5df5e4bdb85fca3460353e0f19cf43d
[ "MIT" ]
null
null
null
VRDemoHelper/VRDemoHotKeyManager.cpp
sunzhuoshi/SteamVRDemoHelper
536280f1e5df5e4bdb85fca3460353e0f19cf43d
[ "MIT" ]
null
null
null
VRDemoHelper/VRDemoHotKeyManager.cpp
sunzhuoshi/SteamVRDemoHelper
536280f1e5df5e4bdb85fca3460353e0f19cf43d
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "VRDemoHotKeyManager.h" #include "util\l4util.h" #include "VRDemoConfigurator.h" #include "VRDemoTogglesWrapper.h" const std::string VRDemoHotKeyManager::HOT_KEY_PAUSE = "HotKeyPause"; VRDemoHotKeyManager::VRDemoHotKeyManager() { } VRDemoHotKeyManager::~VRDemoHotKeyManager() { } void ...
24.411765
113
0.701205
sunzhuoshi
114847aae9ce44d97ea043bd5ae07da63ae2c1b7
2,961
cpp
C++
2/main.cpp
j00st/cpse2
f541d9097d1db064974d71f816cf49ecae30c6f8
[ "MIT" ]
null
null
null
2/main.cpp
j00st/cpse2
f541d9097d1db064974d71f816cf49ecae30c6f8
[ "MIT" ]
null
null
null
2/main.cpp
j00st/cpse2
f541d9097d1db064974d71f816cf49ecae30c6f8
[ "MIT" ]
null
null
null
#include <iostream> #include <functional> #include <SFML/Graphics.hpp> #include "ball.hpp" #include "entity.hpp" #include "character.hpp" #include "wall.hpp" class action { private: std::function< bool() > condition; std::function< void() > work; public: action( std::function< bool() > condition, std::func...
26.918182
120
0.61128
j00st
114a1391f6b8559b98560049e7c9e2fac7147cf0
5,737
hpp
C++
src/Players/MCTS/MCTS.hpp
ClubieDong/BoardGameAI
588506278f606fa6bef2864875bf8f78557ef03b
[ "MIT" ]
2
2021-05-26T07:17:24.000Z
2021-05-26T07:21:16.000Z
src/Players/MCTS/MCTS.hpp
ClubieDong/ChessAI
588506278f606fa6bef2864875bf8f78557ef03b
[ "MIT" ]
null
null
null
src/Players/MCTS/MCTS.hpp
ClubieDong/ChessAI
588506278f606fa6bef2864875bf8f78557ef03b
[ "MIT" ]
null
null
null
#pragma once #include <vector> #include <memory> #include <cmath> #include <cassert> #include <set> #include <chrono> #include <random> #include <ratio> #include <type_traits> #include "../RandomPlayer/RandomPlayer.hpp" template <typename Game, typename ActGen, unsigned int Iterations, typename Ratio = std::ratio<14,...
34.769697
117
0.495381
ClubieDong
114f7cd1d71a1928b7fdc9ee51b312e476ea714f
10,626
cpp
C++
test/hotspot/jtreg/vmTestbase/nsk/jvmti/PopFrame/popframe011/popframe011.cpp
1690296356/jdk
eaf668d1510c28d51e26c397b582b66ebdf7e263
[ "Apache-2.0" ]
null
null
null
test/hotspot/jtreg/vmTestbase/nsk/jvmti/PopFrame/popframe011/popframe011.cpp
1690296356/jdk
eaf668d1510c28d51e26c397b582b66ebdf7e263
[ "Apache-2.0" ]
null
null
null
test/hotspot/jtreg/vmTestbase/nsk/jvmti/PopFrame/popframe011/popframe011.cpp
1690296356/jdk
eaf668d1510c28d51e26c397b582b66ebdf7e263
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2003, 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
34.953947
123
0.641163
1690296356
1153397683add019ae00d8dfb3f32ab4f7e125b3
3,038
cpp
C++
src/system/boot/loader/RootFileSystem.cpp
Kirishikesan/haiku
835565c55830f2dab01e6e332cc7e2d9c015b51e
[ "MIT" ]
1,338
2015-01-03T20:06:56.000Z
2022-03-26T13:49:54.000Z
src/system/boot/loader/RootFileSystem.cpp
Kirishikesan/haiku
835565c55830f2dab01e6e332cc7e2d9c015b51e
[ "MIT" ]
15
2015-01-17T22:19:32.000Z
2021-12-20T12:35:00.000Z
src/system/boot/loader/RootFileSystem.cpp
Kirishikesan/haiku
835565c55830f2dab01e6e332cc7e2d9c015b51e
[ "MIT" ]
350
2015-01-08T14:15:27.000Z
2022-03-21T18:14:35.000Z
/* * Copyright 2003-2013, Axel Dörfler, axeld@pinc-software.de. * Distributed under the terms of the MIT License. */ #include "RootFileSystem.h" #include <OS.h> #include <string.h> #include <fcntl.h> RootFileSystem::RootFileSystem() { } RootFileSystem::~RootFileSystem() { struct entry *entry = NULL; while...
16.601093
74
0.691903
Kirishikesan
11540f3b5fc42fa35160a78cfafa58bc64951b83
480
cpp
C++
Phi Sieve.cpp
ArniRahman/Number-Theory
49ca663e8f425c4def53447fd9ad723b7096340a
[ "MIT" ]
null
null
null
Phi Sieve.cpp
ArniRahman/Number-Theory
49ca663e8f425c4def53447fd9ad723b7096340a
[ "MIT" ]
null
null
null
Phi Sieve.cpp
ArniRahman/Number-Theory
49ca663e8f425c4def53447fd9ad723b7096340a
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; int phi[100000]; void phiSieve(int n) { for(int i=1; i<=n;i++) phi[i] = i; for(int i=2; i<=n; i++ ) { if(phi[i]==i) { phi[i] = i-1; for(int j= 2*i;j<=n;j+=i) { phi[j] = (phi[j]/i)*(i...
12.307692
42
0.35625
ArniRahman
1156546512952871fafe93e4b5a42308322671df
3,346
cc
C++
tensorflow/compiler/tf2xla/kernels/arg_op.cc
DEVESHTARASIA/tensorflow
d3edb8c60ed4fd831d62833ed22f5c23486c561c
[ "Apache-2.0" ]
384
2017-02-21T18:38:04.000Z
2022-02-22T07:30:25.000Z
tensorflow/compiler/tf2xla/kernels/arg_op.cc
ChenAugustus/tensorflow
5828e285209ff8c3d1bef2e4bd7c55ca611080d5
[ "Apache-2.0" ]
15
2017-03-01T20:18:43.000Z
2020-05-07T10:33:51.000Z
tensorflow/compiler/tf2xla/kernels/arg_op.cc
ChenAugustus/tensorflow
5828e285209ff8c3d1bef2e4bd7c55ca611080d5
[ "Apache-2.0" ]
81
2017-02-21T19:31:19.000Z
2022-02-22T07:30:24.000Z
/* Copyright 2017 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
35.221053
80
0.658398
DEVESHTARASIA
1157eb9c22c481f11eb5f67797fc66579ee45f6b
3,317
cpp
C++
cpp/open3d/core/linalg/Det.cpp
BlenderGamer/Open3D
8c6a7e74582fe09f3a2295933794bfc16026c21f
[ "MIT" ]
3,673
2019-04-06T05:35:43.000Z
2021-07-27T14:53:14.000Z
cpp/open3d/core/linalg/Det.cpp
BlenderGamer/Open3D
8c6a7e74582fe09f3a2295933794bfc16026c21f
[ "MIT" ]
2,904
2019-04-06T06:51:22.000Z
2021-07-27T13:49:54.000Z
cpp/open3d/core/linalg/Det.cpp
BlenderGamer/Open3D
8c6a7e74582fe09f3a2295933794bfc16026c21f
[ "MIT" ]
1,127
2019-04-06T09:39:17.000Z
2021-07-27T03:06:49.000Z
// ---------------------------------------------------------------------------- // - Open3D: www.open3d.org - // ---------------------------------------------------------------------------- // The MIT License (MIT) // // Copyright (c) 2018-2021 www.open3d.org // // Perm...
40.950617
80
0.576726
BlenderGamer
115ba41d74147ea97c0af33b7b24739a62a5e7f1
4,957
cc
C++
SimMuon/MCTruth/src/RPCHitAssociator.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
13
2015-11-30T15:49:45.000Z
2022-02-08T16:11:30.000Z
SimMuon/MCTruth/src/RPCHitAssociator.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
640
2015-02-11T18:55:47.000Z
2022-03-31T14:12:23.000Z
SimMuon/MCTruth/src/RPCHitAssociator.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
51
2015-08-11T21:01:40.000Z
2022-03-30T07:31:34.000Z
#include "SimMuon/MCTruth/interface/RPCHitAssociator.h" #include "FWCore/MessageLogger/interface/MessageLogger.h" using namespace std; // Constructor RPCHitAssociator::RPCHitAssociator(const edm::ParameterSet &conf, edm::ConsumesCollector &&iC) : RPCdigisimlinkTag(conf.getParameter<edm::InputTag>("RPCdigisimlinkT...
40.631148
119
0.675005
ckamtsikis
115c6d79cb96d32e949955a41ed115a65db3d833
8,637
cpp
C++
UnrealEngine-4.11.2-release/Engine/Source/Developer/Merge/Private/SMergeTreeView.cpp
armroyce/Unreal
ea1cdebe70407d59af4e8366d7111c52ce4606df
[ "MIT" ]
1
2016-10-01T21:35:52.000Z
2016-10-01T21:35:52.000Z
UnrealEngine-4.11.2-release/Engine/Source/Developer/Merge/Private/SMergeTreeView.cpp
armroyce/Unreal
ea1cdebe70407d59af4e8366d7111c52ce4606df
[ "MIT" ]
null
null
null
UnrealEngine-4.11.2-release/Engine/Source/Developer/Merge/Private/SMergeTreeView.cpp
armroyce/Unreal
ea1cdebe70407d59af4e8366d7111c52ce4606df
[ "MIT" ]
1
2021-04-27T08:48:33.000Z
2021-04-27T08:48:33.000Z
// Copyright 1998-2016 Epic Games, Inc. All Rights Reserved. #include "MergePrivatePCH.h" #include "SMergeTreeView.h" void SMergeTreeView::Construct(const FArguments InArgs , const FBlueprintMergeData& InData , FOnMergeNodeSelected SelectionCallback , TArray< TSharedPtr<FBlueprintDifferenceTreeEntry> >& OutTreeEn...
29.477816
209
0.734051
armroyce
115c80700797302f141aeb6437e57e6d14fd10f6
347
cpp
C++
cwiczenia2/cwi2zaddom1.cpp
baatochan/BasicsOfProgrammingCourse
f0ca00815c359a3e7be3255a3586c5d13d78038e
[ "Unlicense" ]
null
null
null
cwiczenia2/cwi2zaddom1.cpp
baatochan/BasicsOfProgrammingCourse
f0ca00815c359a3e7be3255a3586c5d13d78038e
[ "Unlicense" ]
null
null
null
cwiczenia2/cwi2zaddom1.cpp
baatochan/BasicsOfProgrammingCourse
f0ca00815c359a3e7be3255a3586c5d13d78038e
[ "Unlicense" ]
null
null
null
#include <iostream> using namespace std; int main() { double liczba; cout<<"Podaj liczbe (z zakresu 100-200): "; cin>>liczba; cout<<"Podana liczba jest "; if (liczba<150){ cout<<"mala"; } else if (liczba < 175){ cout<<"srednia"; } else { cout<<"duza"; } ...
15.772727
47
0.510086
baatochan
115d84c1a5bfedf18d8d57a2759c260166164eb3
4,375
cpp
C++
ui/src/efxpreviewarea.cpp
hawesy/qlcplus
1702f03144fe210611881f15424a535febae0c6a
[ "ECL-2.0", "Apache-2.0" ]
478
2015-01-20T14:51:17.000Z
2022-03-31T06:56:05.000Z
ui/src/efxpreviewarea.cpp
hjtappe/qlcplus
b5537fa11d419d148eca5cb1321ee98d3dc5047b
[ "ECL-2.0", "Apache-2.0" ]
711
2015-01-05T06:50:06.000Z
2022-03-06T20:31:07.000Z
ui/src/efxpreviewarea.cpp
hjtappe/qlcplus
b5537fa11d419d148eca5cb1321ee98d3dc5047b
[ "ECL-2.0", "Apache-2.0" ]
386
2015-01-07T15:36:59.000Z
2022-03-31T06:56:07.000Z
/* Q Light Controller efxpreviewarea.cpp Copyright (c) Heikki Junnila 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.txt Unless req...
24.717514
100
0.648229
hawesy
115ddb39f978e32f3184b239375600c8c208546f
2,514
cc
C++
seurat/geometry/quad_mesh_test.cc
Asteur/vrhelper
7b20ac69265ca7390a6c7f52a4f25b0fe87d0b53
[ "Apache-2.0" ]
819
2018-05-04T20:43:55.000Z
2022-03-22T01:21:24.000Z
seurat/geometry/quad_mesh_test.cc
mebalzer/seurat
78c1293debdd2744cba11395024812f277f613f7
[ "Apache-2.0" ]
35
2018-05-05T03:50:16.000Z
2019-11-04T22:56:02.000Z
seurat/geometry/quad_mesh_test.cc
mebalzer/seurat
78c1293debdd2744cba11395024812f277f613f7
[ "Apache-2.0" ]
88
2018-05-04T20:53:42.000Z
2022-03-05T03:50:07.000Z
/* Copyright 2017 Google Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in ...
32.649351
78
0.687749
Asteur
11618e2e68b188bf2607133d4de66fdbe614ed12
20,505
cpp
C++
src/xercesc/dom/deprecated/AttrImpl.cpp
allianz-pmichel/xerces-c-src_2_8_0
7e62f6c653944894a34ee41581e6d7d66e3387dd
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
src/xercesc/dom/deprecated/AttrImpl.cpp
allianz-pmichel/xerces-c-src_2_8_0
7e62f6c653944894a34ee41581e6d7d66e3387dd
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
src/xercesc/dom/deprecated/AttrImpl.cpp
allianz-pmichel/xerces-c-src_2_8_0
7e62f6c653944894a34ee41581e6d7d66e3387dd
[ "ECL-2.0", "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"); you may ...
29.588745
88
0.59566
allianz-pmichel
1161d81cd3096f71e6c3a73bc54a64a61792f5c1
2,216
cpp
C++
src/PID.cpp
Hamidreza3252/PID-Control-Project
3d0cdca5eee4a4faa95578f812fbd18ce8655eb4
[ "MIT" ]
null
null
null
src/PID.cpp
Hamidreza3252/PID-Control-Project
3d0cdca5eee4a4faa95578f812fbd18ce8655eb4
[ "MIT" ]
null
null
null
src/PID.cpp
Hamidreza3252/PID-Control-Project
3d0cdca5eee4a4faa95578f812fbd18ce8655eb4
[ "MIT" ]
null
null
null
#include "PID.h" /** * TODO: Complete the PID class. You may add any additional desired functions. */ // -------------------------------------------------------------------------------------------------------------------- PID::PID() { i_steer_error_ = 0.0; i_throtle_error_ = 0.0; } // -------------------------...
31.657143
122
0.409747
Hamidreza3252
1162339471b72855c29bf140b78f84b7dc63d811
3,997
cpp
C++
src/window.cpp
Samulus/raytracer
2cfce84af0190117f16dc054df1667bc8868b438
[ "MIT" ]
null
null
null
src/window.cpp
Samulus/raytracer
2cfce84af0190117f16dc054df1667bc8868b438
[ "MIT" ]
1
2019-09-02T20:55:06.000Z
2019-09-02T20:55:06.000Z
src/window.cpp
Samulus/raytracer
2cfce84af0190117f16dc054df1667bc8868b438
[ "MIT" ]
null
null
null
// // window.cpp // Author: Samuel Vargas // Date: 08/25/2019 // #include <iostream> #include "window.h" // https://learnopengl.com/In-Practice/Debugging void APIENTRY glDebugOutput(GLenum source, GLenum type, GLuint id, GLenum sever...
35.061404
97
0.617713
Samulus
1162b0b99d357373a0a203e44e98a5d92306ef6d
2,356
cpp
C++
EU4toV2/Source/EU4World/Leader/EU4Leader.cpp
GregB76/EU4toVic2
0a8822101a36a16036fdc315e706d113d9231101
[ "MIT" ]
1
2020-04-22T03:09:51.000Z
2020-04-22T03:09:51.000Z
EU4toV2/Source/EU4World/Leader/EU4Leader.cpp
fessi1202/EU4toVic2
1f4cce609e495f8b4e00580a12ab4a29b304902f
[ "MIT" ]
null
null
null
EU4toV2/Source/EU4World/Leader/EU4Leader.cpp
fessi1202/EU4toVic2
1f4cce609e495f8b4e00580a12ab4a29b304902f
[ "MIT" ]
null
null
null
#include "EU4Leader.h" #include "../ID.h" #include "Log.h" #include "ParserHelpers.h" EU4::Leader::Leader(std::istream& theStream) { registerKeyword("name", [this](const std::string& unused, std::istream& theStream) { const commonItems::singleString nameString(theStream); name = nameString.getString(); }); ...
32.722222
89
0.699491
GregB76
1162e73158b027001d8203ff72fcde43dca72208
2,885
cpp
C++
libcaf_core/src/tracing_data.cpp
dosuperuser/actor-framework
bee96d84bbc95414df5084b2d65f4886ba731558
[ "BSL-1.0", "BSD-3-Clause" ]
null
null
null
libcaf_core/src/tracing_data.cpp
dosuperuser/actor-framework
bee96d84bbc95414df5084b2d65f4886ba731558
[ "BSL-1.0", "BSD-3-Clause" ]
null
null
null
libcaf_core/src/tracing_data.cpp
dosuperuser/actor-framework
bee96d84bbc95414df5084b2d65f4886ba731558
[ "BSL-1.0", "BSD-3-Clause" ]
null
null
null
/****************************************************************************** * ____ _ _____ * * / ___| / \ | ___| C++ * * | | / _ \ | |_ Actor * ...
32.41573
80
0.49636
dosuperuser
1164162e0914988f2f4e527e41b1fd8f6e4230dd
18,587
cc
C++
third_party/blink/renderer/core/layout/svg/layout_svg_shape.cc
chromium/chromium
df46e572c3449a4b108d6e02fbe4f6d24cf98381
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
14,668
2015-01-01T01:57:10.000Z
2022-03-31T23:33:32.000Z
third_party/blink/renderer/core/layout/svg/layout_svg_shape.cc
chromium/chromium
df46e572c3449a4b108d6e02fbe4f6d24cf98381
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
86
2015-10-21T13:02:42.000Z
2022-03-14T07:50:50.000Z
third_party/blink/renderer/core/layout/svg/layout_svg_shape.cc
chromium/chromium
df46e572c3449a4b108d6e02fbe4f6d24cf98381
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
5,941
2015-01-02T11:32:21.000Z
2022-03-31T16:35:46.000Z
/* * Copyright (C) 2004, 2005, 2007 Nikolas Zimmermann <zimmermann@kde.org> * Copyright (C) 2004, 2005, 2008 Rob Buis <buis@kde.org> * Copyright (C) 2005, 2007 Eric Seidel <eric@webkit.org> * Copyright (C) 2009 Google, Inc. * Copyright (C) 2009 Dirk Schulze <krit@webkit.org> * Copyright (C) Research In Motion Lim...
35.951644
88
0.719804
chromium
116526500659c13d6366b6db5a045c780a51a3a6
3,896
hpp
C++
samples/sampleslib/window.hpp
YiJiangFengYun/vulkan-graphics-examples
e7b788b8f47dd238b08840c019940c7c52335a54
[ "MIT" ]
1
2018-03-01T01:05:25.000Z
2018-03-01T01:05:25.000Z
samples/sampleslib/window.hpp
YiJiangFengYun/vulkan-graphics-examples
e7b788b8f47dd238b08840c019940c7c52335a54
[ "MIT" ]
null
null
null
samples/sampleslib/window.hpp
YiJiangFengYun/vulkan-graphics-examples
e7b788b8f47dd238b08840c019940c7c52335a54
[ "MIT" ]
null
null
null
#ifndef SAMPLES_LIB_WINDOW_H #define SAMPLES_LIB_WINDOW_H #include <framework/framework.hpp> namespace sampleslib { template<vg::SpaceType type> struct SpaceObjectInfo { using SceneType = void; using CameraType = void; }; template<> struct SpaceObjectInfo<vg::SpaceType::SPACE_...
29.074627
90
0.62808
YiJiangFengYun
11670232f86b94910304e9683dd1f2d7ebafda9d
229,759
cpp
C++
GBAemu/cpu/arm.cpp
robojan/EmuAll
0a589136df9fefbfa142e605e1d3a0c94f726bad
[ "Apache-2.0" ]
1
2021-03-04T03:52:39.000Z
2021-03-04T03:52:39.000Z
GBAemu/cpu/arm.cpp
robojan/EmuAll
0a589136df9fefbfa142e605e1d3a0c94f726bad
[ "Apache-2.0" ]
null
null
null
GBAemu/cpu/arm.cpp
robojan/EmuAll
0a589136df9fefbfa142e605e1d3a0c94f726bad
[ "Apache-2.0" ]
null
null
null
#include <GBAemu/cpu/hostInstructions.h> #include <GBAemu/cpu/cpu.h> #include <GBAemu/cpu/armException.h> #include <GBAemu/gba.h> #include <GBAemu/util/log.h> #include <GBAemu/defines.h> #include <GBAemu/util/preprocessor.h> // 001xxxxxxxxx uint32_t Cpu::GetShifterOperandImm(uint32_t instruction) { uint32_t operand ...
32.419783
103
0.640841
robojan
1168a89c89cebf5be103047656ef6479312eb5ab
22,602
cpp
C++
unittests/Interpreter/InterpreterInfra.cpp
b0r3dd3v/souper
26fc1d3f59ee86885c0b073865b8c97130a9778d
[ "Apache-2.0" ]
1,758
2015-01-02T13:40:08.000Z
2022-03-30T17:24:53.000Z
unittests/Interpreter/InterpreterInfra.cpp
b0r3dd3v/souper
26fc1d3f59ee86885c0b073865b8c97130a9778d
[ "Apache-2.0" ]
556
2015-01-02T13:11:38.000Z
2022-03-01T20:55:11.000Z
unittests/Interpreter/InterpreterInfra.cpp
b0r3dd3v/souper
26fc1d3f59ee86885c0b073865b8c97130a9778d
[ "Apache-2.0" ]
144
2015-01-03T07:30:58.000Z
2022-03-08T07:41:08.000Z
// Copyright 2019 The Souper Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by ap...
30.834925
102
0.541545
b0r3dd3v
1168e453db2ad86a204d3f15c0361243ed0625f7
295
cpp
C++
src/rendering/records/SlideGpuRecord.cpp
halfmvsq/histolozee
c624c0d7c3a70bcc0d6aac87b4f24677e064b6a5
[ "Apache-2.0" ]
null
null
null
src/rendering/records/SlideGpuRecord.cpp
halfmvsq/histolozee
c624c0d7c3a70bcc0d6aac87b4f24677e064b6a5
[ "Apache-2.0" ]
null
null
null
src/rendering/records/SlideGpuRecord.cpp
halfmvsq/histolozee
c624c0d7c3a70bcc0d6aac87b4f24677e064b6a5
[ "Apache-2.0" ]
null
null
null
#include "rendering/records/SlideGpuRecord.h" #include "rendering/utility/gl/GLTexture.h" SlideGpuRecord::SlideGpuRecord( std::shared_ptr<GLTexture> texture ) : m_texture( texture ), m_activeLevel( 0 ) { } std::weak_ptr<GLTexture> SlideGpuRecord::texture() { return m_texture; }
21.071429
68
0.732203
halfmvsq
1169ffcd851d833aae2dbddc3330975476a2a209
341
cpp
C++
src/HemeraGenerators/hemerageneratorsconfigureplugin.cpp
hemeraos/hemera-qt5-sdk
cb8c2a3fa692e5c3234bb9e1f1ae01b9e1d54771
[ "Apache-2.0" ]
null
null
null
src/HemeraGenerators/hemerageneratorsconfigureplugin.cpp
hemeraos/hemera-qt5-sdk
cb8c2a3fa692e5c3234bb9e1f1ae01b9e1d54771
[ "Apache-2.0" ]
null
null
null
src/HemeraGenerators/hemerageneratorsconfigureplugin.cpp
hemeraos/hemera-qt5-sdk
cb8c2a3fa692e5c3234bb9e1f1ae01b9e1d54771
[ "Apache-2.0" ]
1
2021-02-08T15:25:46.000Z
2021-02-08T15:25:46.000Z
/* * */ #include "hemerageneratorsconfigureplugin_p.h" namespace Hemera { namespace Generators { ConfigurePlugin::ConfigurePlugin(QObject* parent) : QObject(parent) , d(new Private) { } ConfigurePlugin::~ConfigurePlugin() { delete d; } BaseConfigure *ConfigurePlugin::baseConfigure() { return d->b...
12.178571
49
0.703812
hemeraos
116b40834155c6244b5bad09a34b0915491a81bc
145,952
cpp
C++
src/generator/x86_64/reg_alloc_multi.cpp
ERAP-SBT/ERAP-SBT
67cf885634ed9205650ee2353849d623d318e2d6
[ "MIT" ]
2
2022-03-28T07:43:02.000Z
2022-03-30T11:53:25.000Z
src/generator/x86_64/reg_alloc_multi.cpp
ERAP-SBT/ERAP-SBT
67cf885634ed9205650ee2353849d623d318e2d6
[ "MIT" ]
null
null
null
src/generator/x86_64/reg_alloc_multi.cpp
ERAP-SBT/ERAP-SBT
67cf885634ed9205650ee2353849d623d318e2d6
[ "MIT" ]
2
2022-03-30T10:39:04.000Z
2022-03-30T11:53:28.000Z
#include "generator/x86_64/generator.h" #include <iostream> #include <sstream> using namespace generator::x86_64; namespace { std::array<std::array<const char *, 4>, REG_COUNT> reg_names = { std::array<const char *, 4>{"rax", "eax", "ax", "al"}, {"rbx", "ebx", "bx", "bl"}, {"rcx", "ecx", "cx", "cl"}, ...
46.128951
195
0.521274
ERAP-SBT
116c13a620794960c5b365297a95697cef1ac28a
5,905
cpp
C++
3dparty/taglib/tests/test_aiff.cpp
olanser/uteg
c8c79a8e8e5d185253b415e67f7b6d9e37114da3
[ "MIT" ]
3,066
2016-06-10T09:23:40.000Z
2022-03-31T11:01:01.000Z
3dparty/taglib/tests/test_aiff.cpp
olanser/uteg
c8c79a8e8e5d185253b415e67f7b6d9e37114da3
[ "MIT" ]
414
2016-09-20T20:26:05.000Z
2022-03-29T00:43:13.000Z
3dparty/taglib/tests/test_aiff.cpp
olanser/uteg
c8c79a8e8e5d185253b415e67f7b6d9e37114da3
[ "MIT" ]
310
2016-06-13T21:53:04.000Z
2022-03-18T14:36:38.000Z
/*************************************************************************** copyright : (C) 2009 by Lukas Lalinsky email : lukas@oxygene.sk ***************************************************************************/ /*******************************************************************...
36.226994
98
0.598476
olanser
116f0d43144b6d728b73d8568444fff9379e5988
15,563
cpp
C++
library/bubble/bubble_border.cpp
topillar/PuTTY-ng
1f5bf26de0f42e03ef4f100fa879b16216d61abf
[ "MIT" ]
39
2019-06-22T12:25:54.000Z
2022-03-14T05:42:44.000Z
library/bubble/bubble_border.cpp
topillar/PuTTY-ng
1f5bf26de0f42e03ef4f100fa879b16216d61abf
[ "MIT" ]
5
2019-06-29T10:58:43.000Z
2020-09-04T08:44:09.000Z
library/bubble/bubble_border.cpp
topillar/PuTTY-ng
1f5bf26de0f42e03ef4f100fa879b16216d61abf
[ "MIT" ]
10
2019-08-07T06:08:23.000Z
2022-03-14T05:42:47.000Z
 #include "bubble_border.h" #include "base/logging.h" #include "SkBitmap.h" #include "ui_gfx/canvas_skia.h" #include "ui_gfx/path.h" #include "ui_gfx/rect.h" #include "ui_base/resource/resource_bundle.h" #include "view/view.h" #include "../../resource/resource.h" // static SkBitmap* BubbleBorder::left_ = NULL; ...
32.558577
86
0.586841
topillar
116f9457a86da21a7f2fab19654a4b143e44117b
2,654
cpp
C++
src/formats/pdb.cpp
danny305/ChargeFW2
c68fd06b9af244e5d8ed9172de17748e587bf46e
[ "MIT" ]
7
2020-05-19T15:14:15.000Z
2022-03-03T06:38:09.000Z
src/formats/pdb.cpp
danny305/ChargeFW2
c68fd06b9af244e5d8ed9172de17748e587bf46e
[ "MIT" ]
10
2021-03-04T21:38:49.000Z
2022-02-11T07:11:19.000Z
src/formats/pdb.cpp
danny305/ChargeFW2
c68fd06b9af244e5d8ed9172de17748e587bf46e
[ "MIT" ]
5
2021-03-05T00:42:41.000Z
2021-07-01T05:47:39.000Z
// // Created by krab1k on 24.1.19. // #include <vector> #include <fmt/format.h> #include <gemmi/pdb.hpp> #include "chargefw2.h" #include "../config.h" #include "pdb.h" #include "common.h" #include "bonds.h" #include "../periodic_table.h" MoleculeSet PDB::read_file(const std::string &filename) { gemmi::Structur...
33.175
124
0.536549
danny305
117344447aed3b85948f68d21f921c79c258bb8a
470
hpp
C++
ReactNativeFrontend/ios/Pods/boost/boost/align/detail/assume_aligned_gcc.hpp
Harshitha91/Tmdb-react-native-node
e06e3f25a7ee6946ef07a1f524fdf62e48424293
[ "Apache-2.0" ]
12,278
2015-01-29T17:11:33.000Z
2022-03-31T21:12:00.000Z
ReactNativeFrontend/ios/Pods/boost/boost/align/detail/assume_aligned_gcc.hpp
Harshitha91/Tmdb-react-native-node
e06e3f25a7ee6946ef07a1f524fdf62e48424293
[ "Apache-2.0" ]
9,469
2015-01-30T05:33:07.000Z
2022-03-31T16:17:21.000Z
ReactNativeFrontend/ios/Pods/boost/boost/align/detail/assume_aligned_gcc.hpp
Harshitha91/Tmdb-react-native-node
e06e3f25a7ee6946ef07a1f524fdf62e48424293
[ "Apache-2.0" ]
1,343
2017-12-08T19:47:19.000Z
2022-03-26T11:31:36.000Z
/* Copyright 2015 NumScale SAS Copyright 2015 LRI UMR 8623 CNRS/University Paris Sud XI Copyright 2015 Glen Joseph Fernandes (glenjofe@gmail.com) Distributed under the Boost Software License, Version 1.0. (http://www.boost.org/LICENSE_1_0.txt) */ #ifndef BOOST_ALIGN_DETAIL_ASSUME_ALIGNED_GCC_HPP #define BOOST_ALIGN_D...
26.111111
68
0.804255
Harshitha91
1173cf80ee2459415a91ffc58c302cb3fea25c97
2,787
cpp
C++
src/plugins/intel_gpu/src/kernel_selector/core/actual_kernels/lstm/lstm_gemm_kernel_base.cpp
kurylo/openvino
4da0941cd2e8f9829875e60df73d3cd01f820b9c
[ "Apache-2.0" ]
1,127
2018-10-15T14:36:58.000Z
2020-04-20T09:29:44.000Z
src/plugins/intel_gpu/src/kernel_selector/core/actual_kernels/lstm/lstm_gemm_kernel_base.cpp
kurylo/openvino
4da0941cd2e8f9829875e60df73d3cd01f820b9c
[ "Apache-2.0" ]
439
2018-10-20T04:40:35.000Z
2020-04-19T05:56:25.000Z
src/plugins/intel_gpu/src/kernel_selector/core/actual_kernels/lstm/lstm_gemm_kernel_base.cpp
kurylo/openvino
4da0941cd2e8f9829875e60df73d3cd01f820b9c
[ "Apache-2.0" ]
414
2018-10-17T05:53:46.000Z
2020-04-16T17:29:53.000Z
// Copyright (C) 2018-2022 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include "lstm_gemm_kernel_base.h" #include "kernel_selector_utils.h" #include "common_tools.h" namespace kernel_selector { JitConstants LSTMGemmKernelBase::GetJitConstants(const lstm_gemm_params& params) const { JitConstants j...
40.391304
114
0.70183
kurylo
117415d2c124edfe1bb4c3aa3225bf45e54ad78c
6,760
cxx
C++
Modules/IO/RAW/test/itkRawImageIOTest5.cxx
floryst/ITK
321e673bcbac15aae2fcad863fd0977b7fbdb3e9
[ "Apache-2.0" ]
1
2021-11-29T14:41:43.000Z
2021-11-29T14:41:43.000Z
Modules/IO/RAW/test/itkRawImageIOTest5.cxx
floryst/ITK
321e673bcbac15aae2fcad863fd0977b7fbdb3e9
[ "Apache-2.0" ]
1
2017-08-18T19:28:52.000Z
2017-08-18T19:28:52.000Z
Modules/IO/RAW/test/itkRawImageIOTest5.cxx
floryst/ITK
321e673bcbac15aae2fcad863fd0977b7fbdb3e9
[ "Apache-2.0" ]
1
2017-08-18T19:07:39.000Z
2017-08-18T19:07:39.000Z
/*========================================================================= * * Copyright Insight Software Consortium * * 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 * * h...
21.666667
85
0.607249
floryst
1174ced20b24d1e950683308d42fd49b34695b06
418
cpp
C++
leetcode/01-Arrays_and_Strings/JD0101E-IsUnique/IsUnique_set.cpp
BinRay/Learning
36a2380a9686e6922632e6b85ddb3d1f0903b37a
[ "MIT" ]
null
null
null
leetcode/01-Arrays_and_Strings/JD0101E-IsUnique/IsUnique_set.cpp
BinRay/Learning
36a2380a9686e6922632e6b85ddb3d1f0903b37a
[ "MIT" ]
null
null
null
leetcode/01-Arrays_and_Strings/JD0101E-IsUnique/IsUnique_set.cpp
BinRay/Learning
36a2380a9686e6922632e6b85ddb3d1f0903b37a
[ "MIT" ]
null
null
null
class Solution { public: bool isUnique(string astr) { if ( astr.empty() ) { return true; } // 1. 使用set 记录字符是否出现过 set<char> s; for ( auto it = astr.begin(); it != astr.end(); it++ ){ if ( s.count(*it) > 0 ){ return false; } e...
22
63
0.380383
BinRay
1176a84637af5773c0babc8ec2b6f993371e3b41
15,820
cpp
C++
frdm_im920c_rcv_coide_kl25z/frdm_im920c_rcv/main.cpp
bigw00d/TrapChecker
9b36f7fef86928d196637ca958fadcacadb6cf50
[ "Apache-2.0" ]
null
null
null
frdm_im920c_rcv_coide_kl25z/frdm_im920c_rcv/main.cpp
bigw00d/TrapChecker
9b36f7fef86928d196637ca958fadcacadb6cf50
[ "Apache-2.0" ]
null
null
null
frdm_im920c_rcv_coide_kl25z/frdm_im920c_rcv/main.cpp
bigw00d/TrapChecker
9b36f7fef86928d196637ca958fadcacadb6cf50
[ "Apache-2.0" ]
null
null
null
#include "mbed.h" #define MYDEBUG #define COMPLETE 1 #define INCOMPLETE 0 #define END_OF_PACKET '\n' #define SIZE_OF_SEND_PACKET 16 #define CHECK_CHUTTER_US 500000 #define ALERT_CYCLE_SEC 1 #define ARERT_MAX_CNT 60 #define CHECK_CONNECT_SEC 2 #define BUZZER_ON 1 #define BUZZER_OFF 0 #define SW_LED_ON 1 #define S...
26.27907
96
0.467826
bigw00d
1176b2596f2b6d1527e009db7ea27ca5cd96cc89
5,877
cc
C++
packages/@lse/core/addon/lse-core/lse/TextSceneNode.cc
lightsourceengine/LightSourceEngine
bc2d0cc08907f65a900d924d1a0ab19164171cb5
[ "Apache-2.0" ]
null
null
null
packages/@lse/core/addon/lse-core/lse/TextSceneNode.cc
lightsourceengine/LightSourceEngine
bc2d0cc08907f65a900d924d1a0ab19164171cb5
[ "Apache-2.0" ]
5
2020-07-23T01:09:07.000Z
2020-09-09T05:32:29.000Z
packages/@lse/core/addon/lse-core/lse/TextSceneNode.cc
lightsourceengine/LightSourceEngine
bc2d0cc08907f65a900d924d1a0ab19164171cb5
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2021 Light Source Software, LLC. 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 re...
26.958716
118
0.68181
lightsourceengine
117a71339b9d75ad8aafa4b2881cb96e8be488c0
1,506
hpp
C++
include/poplibs_test/NonLinearity.hpp
graphcore/poplibs
3fe5a3ecafe995eddb72675d1b4a7af8a622009e
[ "MIT" ]
95
2020-07-06T17:11:23.000Z
2022-03-12T14:42:28.000Z
include/poplibs_test/NonLinearity.hpp
graphcore/poplibs
3fe5a3ecafe995eddb72675d1b4a7af8a622009e
[ "MIT" ]
null
null
null
include/poplibs_test/NonLinearity.hpp
graphcore/poplibs
3fe5a3ecafe995eddb72675d1b4a7af8a622009e
[ "MIT" ]
14
2020-07-15T12:32:57.000Z
2022-01-26T14:58:45.000Z
// Copyright (c) 2017 Graphcore Ltd. All rights reserved. #ifndef poplibs_test_NonLinearity_hpp #define poplibs_test_NonLinearity_hpp #include "poplibs_support/Compiler.hpp" #include "poplibs_test/exceptions.hpp" #include "popnn/NonLinearity.hpp" #include <boost/multi_array.hpp> namespace poplibs_test { // input/ou...
39.631579
79
0.720452
graphcore
117c39f8367eab1a403f37173443594510adc699
3,491
cpp
C++
src/util/MathUtil.cpp
castacks/wind_estimator
833ab9c52b44c90ab0486c72215c1ddefb0e7f98
[ "BSD-3-Clause" ]
8
2018-03-06T16:32:05.000Z
2021-07-20T14:56:35.000Z
src/util/MathUtil.cpp
wkyoun/wind_estimator
833ab9c52b44c90ab0486c72215c1ddefb0e7f98
[ "BSD-3-Clause" ]
null
null
null
src/util/MathUtil.cpp
wkyoun/wind_estimator
833ab9c52b44c90ab0486c72215c1ddefb0e7f98
[ "BSD-3-Clause" ]
4
2018-07-24T05:56:48.000Z
2021-03-28T02:14:24.000Z
/* * Copyright (c) 2018 Julian Soeren Lorenz, Carnegie Mellon University, 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 copyri...
37.537634
118
0.672587
castacks
117eb1c55dd42e32b61a599b60b3a8c9c239adc5
2,850
cpp
C++
trunk/libs/angsys/source/value/boolean.cpp
ChuyX3/angsys
89b2eaee866bcfd11e66efda49b38acc7468c780
[ "Apache-2.0" ]
null
null
null
trunk/libs/angsys/source/value/boolean.cpp
ChuyX3/angsys
89b2eaee866bcfd11e66efda49b38acc7468c780
[ "Apache-2.0" ]
null
null
null
trunk/libs/angsys/source/value/boolean.cpp
ChuyX3/angsys
89b2eaee866bcfd11e66efda49b38acc7468c780
[ "Apache-2.0" ]
null
null
null
#include "pch.h" #include <angsys.h> using namespace ang; #define MY_TYPE ang::variable<bool> #include "ang/inline/object_wrapper_specialization.inl" #undef MY_TYPE static collections::pair<castr_t, bool> s_boolean_parsing_map[] = { { "FALSE"_sv, false }, { "False"_sv, false }, { "HIGH"_sv, true }, { "High"_sv, ...
20.80292
90
0.641754
ChuyX3
11802b5c8fb08dfd814d4deb2a3d48d258bcdb8c
3,986
cpp
C++
src/CheckBox.cpp
MStr3am/sfui
64bdf89e229c1f4c3461c9d8e21e2a2d6e83c5c4
[ "BSD-3-Clause" ]
null
null
null
src/CheckBox.cpp
MStr3am/sfui
64bdf89e229c1f4c3461c9d8e21e2a2d6e83c5c4
[ "BSD-3-Clause" ]
null
null
null
src/CheckBox.cpp
MStr3am/sfui
64bdf89e229c1f4c3461c9d8e21e2a2d6e83c5c4
[ "BSD-3-Clause" ]
null
null
null
/* Copyright (c) 2009, Robin RUAUX All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of ...
32.145161
87
0.585549
MStr3am
11817c4669ea4d00025ca7b88019be29e9d9b540
102
cc
C++
DQMServices/Core/test/DQMTestStandaloneBuildOfDQMStore.cc
NTrevisani/cmssw
a212a27526f34eb9507cf8b875c93896e6544781
[ "Apache-2.0" ]
1
2021-01-04T10:25:39.000Z
2021-01-04T10:25:39.000Z
DQMServices/Core/test/DQMTestStandaloneBuildOfDQMStore.cc
NTrevisani/cmssw
a212a27526f34eb9507cf8b875c93896e6544781
[ "Apache-2.0" ]
7
2016-07-17T02:34:54.000Z
2019-08-13T07:58:37.000Z
DQMServices/Core/test/DQMTestStandaloneBuildOfDQMStore.cc
NTrevisani/cmssw
a212a27526f34eb9507cf8b875c93896e6544781
[ "Apache-2.0" ]
2
2019-09-27T08:33:22.000Z
2019-11-14T10:52:30.000Z
#define WITHOUT_CMS_FRAMEWORK 1 #include "DQMServices/Core/src/DQMStore.cc" int main() { return 0; }
20.4
43
0.754902
NTrevisani
1182aae321619cac6684da397f96b049b85f163c
1,953
cpp
C++
aslam_splines_python/src/QuadraticIntegralError.cpp
Curium-sg/aslam_splines
d2c8c69d28d2f742b1d96a6a4e43a5c5112497af
[ "BSD-3-Clause" ]
null
null
null
aslam_splines_python/src/QuadraticIntegralError.cpp
Curium-sg/aslam_splines
d2c8c69d28d2f742b1d96a6a4e43a5c5112497af
[ "BSD-3-Clause" ]
null
null
null
aslam_splines_python/src/QuadraticIntegralError.cpp
Curium-sg/aslam_splines
d2c8c69d28d2f742b1d96a6a4e43a5c5112497af
[ "BSD-3-Clause" ]
null
null
null
/* * QuadraticIntegralErrorTerm.cpp * * Created on: Dec 4, 2013 * Author: hannes */ #include <sstream> #include <boost/python.hpp> #include <numpy_eigen/boost_python_headers.hpp> #include <Eigen/Core> #include <aslam/backend/QuadraticIntegralError.hpp> using namespace boost::python; template <int dim, ty...
31.5
224
0.760881
Curium-sg
11837e97ba838a6c922e550da0425e2f476ad3b6
10,249
cc
C++
src/codegen.cc
TinkerEdgeR-Android/external_v8
7c9cad78aca05245a07529da3d689282cd554df9
[ "BSD-3-Clause" ]
27
2017-12-14T13:48:25.000Z
2020-12-31T15:46:55.000Z
src/codegen.cc
TinkerEdgeR-Android/external_v8
7c9cad78aca05245a07529da3d689282cd554df9
[ "BSD-3-Clause" ]
null
null
null
src/codegen.cc
TinkerEdgeR-Android/external_v8
7c9cad78aca05245a07529da3d689282cd554df9
[ "BSD-3-Clause" ]
3
2019-01-14T12:12:27.000Z
2019-06-07T09:47:00.000Z
// Copyright 2012 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "src/codegen.h" #if defined(V8_OS_AIX) #include <fenv.h> // NOLINT(build/c++11) #endif #include <memory> #include "src/ast/prettyprinter.h"...
34.860544
80
0.612548
TinkerEdgeR-Android
1186c1da060ca7fce121b26d2ca885587ba746be
38,681
cpp
C++
src/energyplus/ForwardTranslator/ForwardTranslateAirConditionerVariableRefrigerantFlow.cpp
mehrdad-shokri/OpenStudio
1773b54ce1cb660818ac0114dd7eefae6639ca36
[ "blessing" ]
null
null
null
src/energyplus/ForwardTranslator/ForwardTranslateAirConditionerVariableRefrigerantFlow.cpp
mehrdad-shokri/OpenStudio
1773b54ce1cb660818ac0114dd7eefae6639ca36
[ "blessing" ]
null
null
null
src/energyplus/ForwardTranslator/ForwardTranslateAirConditionerVariableRefrigerantFlow.cpp
mehrdad-shokri/OpenStudio
1773b54ce1cb660818ac0114dd7eefae6639ca36
[ "blessing" ]
null
null
null
/*********************************************************************************************************************** * OpenStudio(R), Copyright (c) 2008-2020, Alliance for Sustainable Energy, LLC, and other contributors. All rights reserved. * * Redistribution and use in source and binary forms, with or without m...
39.309959
162
0.784132
mehrdad-shokri
1188967c68e1fe9048a3f5f1a97d44ee8d18c56d
4,196
cpp
C++
exotations/task_maps/task_map/src/Point2Line.cpp
LongfeiProjects/exotica
206b296edf9bf3b653ca3984b1449151ca17d374
[ "BSD-3-Clause" ]
1
2019-04-12T20:26:59.000Z
2019-04-12T20:26:59.000Z
exotations/task_maps/task_map/src/Point2Line.cpp
LongfeiProjects/exotica
206b296edf9bf3b653ca3984b1449151ca17d374
[ "BSD-3-Clause" ]
null
null
null
exotations/task_maps/task_map/src/Point2Line.cpp
LongfeiProjects/exotica
206b296edf9bf3b653ca3984b1449151ca17d374
[ "BSD-3-Clause" ]
null
null
null
/* * Author: Christian Rauch * * Copyright (c) 2018, University Of Edinburgh * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the abo...
40.346154
157
0.664919
LongfeiProjects
118c65525d22b302d8badb189bc39e171ea277d6
4,784
cpp
C++
world.cpp
rob05c/cppmud
2fc4cda4373d273fab49dd23975e278fa39ca28d
[ "MIT" ]
null
null
null
world.cpp
rob05c/cppmud
2fc4cda4373d273fab49dd23975e278fa39ca28d
[ "MIT" ]
null
null
null
world.cpp
rob05c/cppmud
2fc4cda4373d273fab49dd23975e278fa39ca28d
[ "MIT" ]
null
null
null
#include <atomic> #include <algorithm> #include <thread> #include <chrono> #include "world.hpp" #include "util.hpp" #include "player.hpp" #include "dir.hpp" #include "room.hpp" #include "object.hpp" World::World() { this->self = std::shared_ptr<World>(this); this->startActorThread(); } World::~World() { this->dest...
29.170732
124
0.709448
rob05c
118e303a8acf839dfd2e6f6b61cd81966dc92ebd
3,695
hpp
C++
Adobe/Illustrator/plugin/Illustrator2019SDK/illustratorapi/illustrator/AIContract.hpp
MingboPeng/rhino.inside
9fdb1cf1c72e8f16e2e75509c48d22b15e61bef5
[ "MIT" ]
317
2018-08-23T19:43:37.000Z
2022-03-12T04:22:20.000Z
Adobe/Illustrator/plugin/Illustrator2019SDK/illustratorapi/illustrator/AIContract.hpp
hiroyainage/rhino.inside
d4bc5d212a3e7492cc0dd18af541232c24bf9117
[ "MIT" ]
90
2018-10-23T17:11:15.000Z
2022-03-12T12:47:39.000Z
Adobe/Illustrator/plugin/Illustrator2019SDK/illustratorapi/illustrator/AIContract.hpp
hiroyainage/rhino.inside
d4bc5d212a3e7492cc0dd18af541232c24bf9117
[ "MIT" ]
153
2018-09-12T02:16:55.000Z
2022-03-30T04:30:52.000Z
/************************************************************************* * * ADOBE CONFIDENTIAL * * Copyright 2017 Adobe * * All Rights Reserved. * * NOTICE: Adobe permits you to use, modify, and distribute this file in * accordance with the terms of the Adobe license agreement accompanying * it. If you have received...
25.659722
129
0.679567
MingboPeng
119170a78d4fabfeffcc1bb49d5b6ccb9568f99b
6,579
hpp
C++
libs/EXTERNAL/libtatum/libtatum/tatum/tags/TimingTag.hpp
brycejh/vtr-verilog-to-routing
f61da5eb2d4e008728a01def827d55a0e9f285d0
[ "MIT" ]
682
2015-07-10T00:39:26.000Z
2022-03-30T05:24:53.000Z
libs/EXTERNAL/libtatum/libtatum/tatum/tags/TimingTag.hpp
brycejh/vtr-verilog-to-routing
f61da5eb2d4e008728a01def827d55a0e9f285d0
[ "MIT" ]
1,399
2015-07-24T22:09:09.000Z
2022-03-29T06:22:48.000Z
libs/EXTERNAL/libtatum/libtatum/tatum/tags/TimingTag.hpp
brycejh/vtr-verilog-to-routing
f61da5eb2d4e008728a01def827d55a0e9f285d0
[ "MIT" ]
311
2015-07-09T13:59:48.000Z
2022-03-28T00:15:20.000Z
#pragma once #include <iosfwd> #include <limits> #include "tatum/Time.hpp" #include "tatum/TimingGraphFwd.hpp" namespace tatum { enum class TagType : unsigned char { CLOCK_LAUNCH, CLOCK_CAPTURE, DATA_ARRIVAL, DATA_REQUIRED, SLACK, UNKOWN }; class TimingTag; std::ostream& operator<<(std::ost...
40.611111
116
0.655115
brycejh
1192580c35b8ba8a70cae37da2a7adeb26e3a1d5
510
hpp
C++
include/mppic/optimization/MotionModel.hpp
SteveMacenski/mppic
539d78a41777afba0d9a2195b6076a9167ed27a2
[ "MIT" ]
null
null
null
include/mppic/optimization/MotionModel.hpp
SteveMacenski/mppic
539d78a41777afba0d9a2195b6076a9167ed27a2
[ "MIT" ]
null
null
null
include/mppic/optimization/MotionModel.hpp
SteveMacenski/mppic
539d78a41777afba0d9a2195b6076a9167ed27a2
[ "MIT" ]
1
2022-03-27T01:44:43.000Z
2022-03-27T01:44:43.000Z
#pragma once #include <cstdint> #include <string> #include <unordered_map> namespace mppi::optimization { enum class MotionModel : uint8_t { Omni, DiffDrive, Carlike }; inline bool isHolonomic(MotionModel motion_model) { return (motion_model == MotionModel::Omni) ? true : false; } const inline std::unordered_map...
25.5
100
0.739216
SteveMacenski
119387e8f1d5c691234c6638eb5bca63a2f902c4
2,178
hpp
C++
src/engine/systems/physics_system/physics_system.hpp
Jean-LouisH/Omnia
e637746839801eb73707d10e3243d4a430dfea78
[ "MIT" ]
null
null
null
src/engine/systems/physics_system/physics_system.hpp
Jean-LouisH/Omnia
e637746839801eb73707d10e3243d4a430dfea78
[ "MIT" ]
null
null
null
src/engine/systems/physics_system/physics_system.hpp
Jean-LouisH/Omnia
e637746839801eb73707d10e3243d4a430dfea78
[ "MIT" ]
null
null
null
// MIT License // // Copyright (c) 2020 Jean-Louis Haywood // // 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...
39.6
100
0.76584
Jean-LouisH
1194ed9c749b1158dee62afbb44c4cd53c101ef0
17,312
cc
C++
media/cast/logging/encoding_event_subscriber_unittest.cc
halton/chromium-crosswalk
bfcca582b723b9535907f0b410b920ef99911b70
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
media/cast/logging/encoding_event_subscriber_unittest.cc
halton/chromium-crosswalk
bfcca582b723b9535907f0b410b920ef99911b70
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
media/cast/logging/encoding_event_subscriber_unittest.cc
halton/chromium-crosswalk
bfcca582b723b9535907f0b410b920ef99911b70
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2014 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 "base/memory/ref_counted.h" #include "base/memory/scoped_ptr.h" #include "base/test/simple_test_tick_clock.h" #include "base/time/tick_clock.h" #...
37.390929
80
0.71049
halton
11984da9a63001080bc3f57fde1a71f2b22afd32
10,216
cc
C++
util/mach/composite_mach_message_server_test.cc
hunter-packages/crashpad
3583c50a6575857abcf140f6ea3b8d11390205b3
[ "Apache-2.0" ]
777
2017-08-29T15:15:32.000Z
2022-03-21T05:29:41.000Z
util/mach/composite_mach_message_server_test.cc
hunter-packages/crashpad
3583c50a6575857abcf140f6ea3b8d11390205b3
[ "Apache-2.0" ]
66
2017-08-30T18:31:18.000Z
2021-08-02T10:59:35.000Z
util/mach/composite_mach_message_server_test.cc
hunter-packages/crashpad
3583c50a6575857abcf140f6ea3b8d11390205b3
[ "Apache-2.0" ]
123
2017-08-30T01:19:34.000Z
2022-03-17T22:55:31.000Z
// Copyright 2014 The Crashpad Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by ...
33.276873
78
0.751958
hunter-packages
11993fdb5fee80caf71360a53ddb1ebff02481d3
3,888
hpp
C++
src/mapping/had_map/lanelet2_map_provider/include/lanelet2_map_provider/lanelet2_map_provider_node.hpp
jiangtaojiang/AutowareAuto
579bd5cec65859779d215c28c468b06de809749b
[ "Apache-2.0" ]
4
2020-12-04T00:38:42.000Z
2022-02-24T05:48:58.000Z
src/mapping/had_map/lanelet2_map_provider/include/lanelet2_map_provider/lanelet2_map_provider_node.hpp
jiangtaojiang/AutowareAuto
579bd5cec65859779d215c28c468b06de809749b
[ "Apache-2.0" ]
null
null
null
src/mapping/had_map/lanelet2_map_provider/include/lanelet2_map_provider/lanelet2_map_provider_node.hpp
jiangtaojiang/AutowareAuto
579bd5cec65859779d215c28c468b06de809749b
[ "Apache-2.0" ]
1
2020-12-04T00:38:56.000Z
2020-12-04T00:38:56.000Z
// Copyright 2020 The Autoware Foundation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // //    http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or a...
40.5
99
0.773405
jiangtaojiang
119a8990fd825c7102acd6c0e0c1397ebc5bd533
4,118
cpp
C++
import/tests/gamma_by_eye.cpp
HosokawaKenchi/PsychlopsJS
3209442e6dbda57dbdf5e0ed6ffefc55972fb8fb
[ "MIT" ]
null
null
null
import/tests/gamma_by_eye.cpp
HosokawaKenchi/PsychlopsJS
3209442e6dbda57dbdf5e0ed6ffefc55972fb8fb
[ "MIT" ]
3
2020-06-06T04:16:06.000Z
2020-07-24T07:36:06.000Z
import/tests/gamma_by_eye.cpp
psychlopsdev/PsychlopsJS
3209442e6dbda57dbdf5e0ed6ffefc55972fb8fb
[ "MIT" ]
1
2018-12-17T04:59:11.000Z
2018-12-17T04:59:11.000Z
#include <psychlops.h> using namespace Psychlops; double estimated_gamma = 0; double gamma_step = 8.0; var estimate_gamma = function(colorlevel) { estimated_gamma = 0; gamma_step = 8.0; while (0.0001<gamma_step) { while (0<pow(colorlevel, estimated_gamma) - 0.5) { estimated_gamma += gamma_step; }...
27.453333
84
0.616076
HosokawaKenchi
119bba808d980f24e8481af7cc3ba34361c67faa
12,513
cpp
C++
tf2_src/utils/vmpi/iphelpers.cpp
d3fc0n6/TeamFortress2
1b81dded673d49adebf4d0958e52236ecc28a956
[ "MIT" ]
4
2021-10-03T05:16:55.000Z
2021-12-28T16:49:27.000Z
src/utils/vmpi/iphelpers.cpp
cafeed28/what
08e51d077f0eae50afe3b592543ffa07538126f5
[ "Unlicense" ]
null
null
null
src/utils/vmpi/iphelpers.cpp
cafeed28/what
08e51d077f0eae50afe3b592543ffa07538126f5
[ "Unlicense" ]
3
2022-02-02T18:09:58.000Z
2022-03-06T18:54:39.000Z
//========= Copyright Valve Corporation, All rights reserved. ============// // // Purpose: // // $NoKeywords: $ // //=============================================================================// #pragma warning (disable:4127) #include <winsock2.h> #include <ws2tcpip.h> #pragma warning (default:4127) #include "iph...
20.479542
121
0.603293
d3fc0n6
119e4894c0332b263e6a3f84dc6b052b9f35d03b
756
hh
C++
inc/EFiberMutex.hh
jjzhang166/CxxFiber
fb9a8744425725441d27016ee3707fc7c235f65d
[ "Apache-2.0" ]
14
2016-12-13T08:23:17.000Z
2020-03-29T23:28:46.000Z
inc/EFiberMutex.hh
jjzhang166/CxxFiber
fb9a8744425725441d27016ee3707fc7c235f65d
[ "Apache-2.0" ]
null
null
null
inc/EFiberMutex.hh
jjzhang166/CxxFiber
fb9a8744425725441d27016ee3707fc7c235f65d
[ "Apache-2.0" ]
8
2017-02-09T09:56:20.000Z
2019-02-19T07:22:11.000Z
/* * EFiberMutex.hh * * Created on: 2016-5-9 * Author: cxxjava@163.com */ #ifndef EFIBERMUTEX_HH_ #define EFIBERMUTEX_HH_ #include "./EFiberBlocker.hh" namespace efc { namespace eco { /** * Mutex for fiber. */ class EFiberMutex: public ELock { public: virtual ~EFiberMutex(); EFiberMutex(); virtual...
18.439024
78
0.72619
jjzhang166
119f554b83b2acb1d35c3604cc5a915b905ffc4b
4,799
hpp
C++
include/slate_api/lapack/lascl.hpp
rileyjmurray/tlapack
640dc35a2eb0748b3c094efda8187a9e0b6a5762
[ "BSD-3-Clause" ]
null
null
null
include/slate_api/lapack/lascl.hpp
rileyjmurray/tlapack
640dc35a2eb0748b3c094efda8187a9e0b6a5762
[ "BSD-3-Clause" ]
null
null
null
include/slate_api/lapack/lascl.hpp
rileyjmurray/tlapack
640dc35a2eb0748b3c094efda8187a9e0b6a5762
[ "BSD-3-Clause" ]
null
null
null
/// @file lascl.hpp Multiplies a matrix by a scalar. /// @author Weslley S Pereira, University of Colorado Denver, USA // // Copyright (c) 2012-2021, University of Colorado Denver. All rights reserved. // // This file is part of <T>LAPACK. // <T>LAPACK is free software: you can redistribute it and/or modify it under //...
37.492188
97
0.613461
rileyjmurray