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
000ab09754544ba8048451e7f2e38a34770463de
4,020
hpp
C++
src/lib/DriverFramework/framework/include/DFList.hpp
shening/PX4-1.34-Vision-Fix
1e696bc1c2dae71ba7b277d40106a5b6c0a1a050
[ "BSD-3-Clause" ]
24
2019-08-13T02:39:01.000Z
2022-03-03T15:44:54.000Z
src/lib/DriverFramework/framework/include/DFList.hpp
shening/PX4-1.34-Vision-Fix
1e696bc1c2dae71ba7b277d40106a5b6c0a1a050
[ "BSD-3-Clause" ]
4
2020-11-16T02:03:09.000Z
2021-08-19T08:16:48.000Z
src/lib/DriverFramework/framework/include/DFList.hpp
shening/PX4-1.34-Vision-Fix
1e696bc1c2dae71ba7b277d40106a5b6c0a1a050
[ "BSD-3-Clause" ]
11
2019-07-28T09:11:40.000Z
2022-03-17T08:08:27.000Z
/********************************************************************** * Copyright (c) 2015 Mark Charlebois * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted (subject to the limitations in the * disclaimer below) provided that the following co...
20.201005
74
0.687065
shening
000d264537608ffb9769272cd044e08410cec520
6,507
cpp
C++
Source.cpp
kenjinote/GetTwitterBearerToken
1c1ec7276cde25b7209c6dfc73bac1ec3dbbbbe6
[ "MIT" ]
null
null
null
Source.cpp
kenjinote/GetTwitterBearerToken
1c1ec7276cde25b7209c6dfc73bac1ec3dbbbbe6
[ "MIT" ]
null
null
null
Source.cpp
kenjinote/GetTwitterBearerToken
1c1ec7276cde25b7209c6dfc73bac1ec3dbbbbe6
[ "MIT" ]
null
null
null
#pragma comment(linker,"\"/manifestdependency:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") #pragma comment(lib, "wininet") #pragma comment(lib, "crypt32") #include <windows.h> #include <commctrl.h> #include...
33.890625
196
0.709851
kenjinote
000d80e15ffca2391a4b3fed007730c7e12c8a52
3,412
cc
C++
client/base/vlog_is_on_test.cc
zamorajavi/google-input-tools
fc9f11d80d957560f7accf85a5fc27dd23625f70
[ "Apache-2.0" ]
175
2015-01-01T12:40:33.000Z
2019-05-24T22:33:59.000Z
client/base/vlog_is_on_test.cc
DalavanCloud/google-input-tools
fc9f11d80d957560f7accf85a5fc27dd23625f70
[ "Apache-2.0" ]
11
2015-01-19T16:30:56.000Z
2018-04-25T01:06:52.000Z
client/base/vlog_is_on_test.cc
DalavanCloud/google-input-tools
fc9f11d80d957560f7accf85a5fc27dd23625f70
[ "Apache-2.0" ]
97
2015-01-19T15:35:29.000Z
2019-05-15T05:48:02.000Z
/* Copyright 2014 Google Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing,...
30.19469
74
0.730363
zamorajavi
000f36e0dff70ffa9eea1662beb5752d0582927c
4,060
hh
C++
include/hdf5/helper_functions_test_client_hdf5.hh
mlawsonca/empress
aa3eb8544f2e01fcbd77749f7dce1b95fbfa11e9
[ "MIT" ]
5
2018-11-28T19:38:23.000Z
2021-03-15T20:44:07.000Z
include/hdf5/helper_functions_test_client_hdf5.hh
mlawsonca/empress
aa3eb8544f2e01fcbd77749f7dce1b95fbfa11e9
[ "MIT" ]
null
null
null
include/hdf5/helper_functions_test_client_hdf5.hh
mlawsonca/empress
aa3eb8544f2e01fcbd77749f7dce1b95fbfa11e9
[ "MIT" ]
1
2018-07-18T15:22:36.000Z
2018-07-18T15:22:36.000Z
/* * Copyright 2018 National Technology & Engineering Solutions of * Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, * the U.S. Government retains certain rights in this software. * * The MIT License (MIT) * * Copyright (c) 2018 Sandia Corporation * * Permission is hereby granted, ...
48.333333
141
0.796552
mlawsonca
001054b5d4744c0808c4ff162e152d7dad69a1d6
1,971
cc
C++
oos/src/model/GetSecretParameterRequest.cc
iamzken/aliyun-openapi-cpp-sdk
3c991c9ca949b6003c8f498ce7a672ea88162bf1
[ "Apache-2.0" ]
89
2018-02-02T03:54:39.000Z
2021-12-13T01:32:55.000Z
oos/src/model/GetSecretParameterRequest.cc
iamzken/aliyun-openapi-cpp-sdk
3c991c9ca949b6003c8f498ce7a672ea88162bf1
[ "Apache-2.0" ]
89
2018-03-14T07:44:54.000Z
2021-11-26T07:43:25.000Z
oos/src/model/GetSecretParameterRequest.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "Apache-2.0" ]
69
2018-01-22T09:45:52.000Z
2022-03-28T07:58:38.000Z
/* * Copyright 2009-2017 Alibaba Cloud All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required...
26.635135
75
0.76002
iamzken
00121787f81db3a3224e3c7c8b80fd7ff1bbb873
2,207
hpp
C++
include/ight/common/pointer.hpp
alessandro40/libight
de434be18791844076603b50167c436a768e830e
[ "BSD-2-Clause" ]
null
null
null
include/ight/common/pointer.hpp
alessandro40/libight
de434be18791844076603b50167c436a768e830e
[ "BSD-2-Clause" ]
null
null
null
include/ight/common/pointer.hpp
alessandro40/libight
de434be18791844076603b50167c436a768e830e
[ "BSD-2-Clause" ]
null
null
null
/*- * This file is part of Libight <https://libight.github.io/>. * * Libight is free software. See AUTHORS and LICENSE for more * information on the copying conditions. */ #ifndef IGHT_COMMON_POINTER_HPP # define IGHT_COMMON_POINTER_HPP #include <memory> #include <stdexcept> namespace ight { namespace common { n...
29.824324
75
0.656547
alessandro40
0016f8dcd21a36f8299cb3bf17f56a6fda1f20b1
9,030
hpp
C++
symbol-tables/cpp/BinarySearchTree/BinarySearchTree.hpp
goldsborough/algs4
5f711f06ebc1da598cfbaeee16db0531f79e3fee
[ "MIT" ]
17
2017-03-06T10:11:41.000Z
2021-04-28T11:21:36.000Z
symbol-tables/cpp/BinarySearchTree/BinarySearchTree.hpp
goldsborough/algs4
5f711f06ebc1da598cfbaeee16db0531f79e3fee
[ "MIT" ]
null
null
null
symbol-tables/cpp/BinarySearchTree/BinarySearchTree.hpp
goldsborough/algs4
5f711f06ebc1da598cfbaeee16db0531f79e3fee
[ "MIT" ]
6
2016-11-23T07:31:46.000Z
2021-03-10T09:58:12.000Z
#ifndef BINARY_SEARCH_TREE_HPP #define BINARY_SEARCH_TREE_HPP #include <stdexcept> template<typename Key, typename Value> class BinarySearchTree { public: typedef unsigned long size_t; struct Pair { const Key& key; Value& value; }; private: struct Node { Node(const Key& k = Key(), const Value& v = Val...
15.253378
69
0.570653
goldsborough
001766550d49a60f20f6c9bb98be1cf0e5e86d3e
1,004
cpp
C++
engine/Engine.UI/src/ui/Color.cpp
Kartikeyapan598/Ghurund
bcdc5e1805bf82b3f9a0543a3bbe22681c5605ea
[ "MIT" ]
null
null
null
engine/Engine.UI/src/ui/Color.cpp
Kartikeyapan598/Ghurund
bcdc5e1805bf82b3f9a0543a3bbe22681c5605ea
[ "MIT" ]
10
2018-03-20T21:32:16.000Z
2018-04-23T19:42:59.000Z
engine/Engine.UI/src/ui/Color.cpp
Kartikeyapan598/Ghurund
bcdc5e1805bf82b3f9a0543a3bbe22681c5605ea
[ "MIT" ]
null
null
null
#include "ghuipch.h" #include "Color.h" #include <regex> namespace Ghurund::UI { Color Ghurund::UI::Color::parse(const AString& color) { uint32_t value = 0; AString str = color.toLowerCase(); std::regex regex(" *\\#((?:[a-f0-9]{2})?[a-f0-9]{6}) *"); std::smatch m; std::stri...
29.529412
98
0.465139
Kartikeyapan598
0021a96bced212c6e0f9187e795de7923b722581
653
hpp
C++
gibson/core/channels/common/MTLplyloader.hpp
rainprob/GibsonEnv
e0d0bc614713c676cb303bf9f11ca6a98713e0e0
[ "MIT" ]
731
2018-02-26T18:35:05.000Z
2022-03-23T04:00:09.000Z
gibson/core/channels/common/MTLplyloader.hpp
Shubodh/GibsonEnv
38274874d7c2c2a87efdb6ee529f2b366c5219de
[ "MIT" ]
111
2018-04-19T01:00:22.000Z
2022-03-18T17:43:50.000Z
gibson/core/channels/common/MTLplyloader.hpp
Shubodh/GibsonEnv
38274874d7c2c2a87efdb6ee529f2b366c5219de
[ "MIT" ]
153
2018-02-27T04:38:40.000Z
2022-03-28T08:10:39.000Z
#ifndef MTLPLYLOADER_H #define MTLPLYLOADER_H #include "MTLtexture.hpp" bool loadPLY_MTL( const char * path, std::vector<std::vector<glm::vec3>> & out_vertices, std::vector<std::vector<glm::vec2>> & out_uvs, std::vector<std::vector<glm::vec3>> & out_normals, std::vector<glm::vec3> & out_centers, ...
24.185185
55
0.672282
rainprob
0021b9dc56ef5c790cd45b1040be2e56e509b356
839
cc
C++
third_party/blink/renderer/extensions/chromeos/chromeos.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/extensions/chromeos/chromeos.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/extensions/chromeos/chromeos.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 2021 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 "third_party/blink/renderer/extensions/chromeos/chromeos.h" #include "third_party/blink/renderer/extensions/chromeos/system_extensions/window_ma...
32.269231
118
0.793802
chromium
002bf6c50769fe81aa30eabdf4222b6d9a59c003
1,118
cpp
C++
CPP/szuOJ/W12PC-creditCard.cpp
ParrySMS/Exp
78459e141308827b3e9a4ceb227808517d476a53
[ "Apache-2.0" ]
2
2019-05-09T16:35:21.000Z
2019-08-19T11:57:53.000Z
CPP/szuOJ/W12PC-creditCard.cpp
ParrySMS/Exp
78459e141308827b3e9a4ceb227808517d476a53
[ "Apache-2.0" ]
null
null
null
CPP/szuOJ/W12PC-creditCard.cpp
ParrySMS/Exp
78459e141308827b3e9a4ceb227808517d476a53
[ "Apache-2.0" ]
2
2019-03-29T05:31:55.000Z
2019-12-03T07:35:42.000Z
#include <iostream> #include <math.h> #include <cstring> #include <iomanip> using namespace std; class CVIP { protected: int card_id; int point; public: CCard() {} CCard(int c,int p) { card_id = c; point = p; } void init(int c,int p) { card_id = c; point = p; } }; class CCredit { protec...
12.704545
67
0.635957
ParrySMS
002d927385e6b8518269dd5cb130c407f293b87a
316
cc
C++
Ejercicio1/primes.cc
Jdorta62/Jdorta62-IB-2020-2021-Practica8-Funciones
08ad27b3b1b6eb8d5ad2da177c0fa1dea8469039
[ "MIT" ]
null
null
null
Ejercicio1/primes.cc
Jdorta62/Jdorta62-IB-2020-2021-Practica8-Funciones
08ad27b3b1b6eb8d5ad2da177c0fa1dea8469039
[ "MIT" ]
null
null
null
Ejercicio1/primes.cc
Jdorta62/Jdorta62-IB-2020-2021-Practica8-Funciones
08ad27b3b1b6eb8d5ad2da177c0fa1dea8469039
[ "MIT" ]
null
null
null
#include <iostream> #include <cstdlib> #include <string> #include "primefunciones.h" int main (int argc, char * argv[]) { std::string convert = argv[1]; int primeposition = stoi(convert); std::cout << "El primo #" << primeposition << " es: " << PrimePosition(primeposition) << std::endl; return 0; }
17.555556
87
0.642405
Jdorta62
002edff6b151af92ca0b0f991610936b6470f751
674
cpp
C++
Game/messageboxlogger.cpp
sethballantyne/Plexis
49b98918d9184321ba0dd449aded46b68eedb752
[ "MIT" ]
1
2021-04-14T15:06:55.000Z
2021-04-14T15:06:55.000Z
Game/messageboxlogger.cpp
sethballantyne/Plexis
49b98918d9184321ba0dd449aded46b68eedb752
[ "MIT" ]
7
2020-05-14T02:14:26.000Z
2020-05-22T04:57:47.000Z
Game/messageboxlogger.cpp
sethballantyne/Plexis
49b98918d9184321ba0dd449aded46b68eedb752
[ "MIT" ]
null
null
null
#include <vcclr.h> #include "messageboxlogger.h" MessageBoxLogger::MessageBoxLogger(HWND hWnd) { { if(!hWnd) { throw gcnew ArgumentNullException("hWnd is NULL."); } else { this->hWnd = hWnd; } } } void MessageBoxLogger::Write(String ^mess...
23.241379
102
0.649852
sethballantyne
002fd3ab99e86c06a4f8bdeab7a989ef10073872
43,933
cpp
C++
src/plugProjectHikinoU/PSSe.cpp
projectPiki/pikmin2
a431d992acde856d092889a515ecca0e07a3ea7c
[ "Unlicense" ]
33
2021-12-08T11:10:59.000Z
2022-03-26T19:59:37.000Z
src/plugProjectHikinoU/PSSe.cpp
projectPiki/pikmin2
a431d992acde856d092889a515ecca0e07a3ea7c
[ "Unlicense" ]
6
2021-12-22T17:54:31.000Z
2022-01-07T21:43:18.000Z
src/plugProjectHikinoU/PSSe.cpp
projectPiki/pikmin2
a431d992acde856d092889a515ecca0e07a3ea7c
[ "Unlicense" ]
2
2022-01-04T06:00:49.000Z
2022-01-26T07:27:28.000Z
#include "types.h" /* Generated from dpostproc .section .rodata # 0x804732E0 - 0x8049E220 .global lbl_80490038 lbl_80490038: .4byte 0x8373834C .4byte 0x53458AD4 .4byte 0x88F882AB .4byte 0x90DD92E8 .4byte 0x00000000 .4byte 0x8373834C .4byte 0x95A...
19.987716
86
0.556939
projectPiki
00349196d94850f17f334ed09b7811c8a9995fba
997
cpp
C++
src/examples/04_module/01_bank/main.cpp
acc-cosc-1337-spring-2020/acc-cosc-1337-spring-2020-redondoem
19a44954ebef1b621b851fb0089e1c72c6d7f935
[ "MIT" ]
null
null
null
src/examples/04_module/01_bank/main.cpp
acc-cosc-1337-spring-2020/acc-cosc-1337-spring-2020-redondoem
19a44954ebef1b621b851fb0089e1c72c6d7f935
[ "MIT" ]
null
null
null
src/examples/04_module/01_bank/main.cpp
acc-cosc-1337-spring-2020/acc-cosc-1337-spring-2020-redondoem
19a44954ebef1b621b851fb0089e1c72c6d7f935
[ "MIT" ]
null
null
null
#include "bank_account.h" #include "savings_account.h" #include "customer.h" #include<iostream> #include<vector> #include<string> using std::cout; using std::cin; int main() { SavingsAccount* s = new SavingsAccount(500); SavingsAccount s{ 90 }; SavingsAccount s{ 90 }; CheckingAccount checking{ 100 }; Checkin...
18.127273
55
0.656971
acc-cosc-1337-spring-2020
0034e67156b17c063d97497084d8497ba9f12601
1,138
cpp
C++
src/operators/gradient.cpp
lanl/shoccs
6fd72a612e872df62749eec6b010bd1f1e5ee1e7
[ "BSD-3-Clause" ]
null
null
null
src/operators/gradient.cpp
lanl/shoccs
6fd72a612e872df62749eec6b010bd1f1e5ee1e7
[ "BSD-3-Clause" ]
2
2022-02-18T22:43:06.000Z
2022-02-18T22:43:19.000Z
src/operators/gradient.cpp
lanl/shoccs
6fd72a612e872df62749eec6b010bd1f1e5ee1e7
[ "BSD-3-Clause" ]
null
null
null
#include "gradient.hpp" #include "io/logging.hpp" namespace ccs { gradient::gradient(const mesh& m, const stencil& st, const bcs::Grid& grid_bcs, const bcs::Object& obj_bcs, bool enable_logging) { logs logger{enable_logging, "gradient", "...
30.756757
74
0.558875
lanl
003b19cff897ccba73dd90d6c03796dd068c6f63
2,889
cc
C++
projects/SimpleApplication/code/main.cc
Destinum/S0008E
25344cc26c92ee022d7d7eac7428a113aa0be3a2
[ "MIT" ]
null
null
null
projects/SimpleApplication/code/main.cc
Destinum/S0008E
25344cc26c92ee022d7d7eac7428a113aa0be3a2
[ "MIT" ]
null
null
null
projects/SimpleApplication/code/main.cc
Destinum/S0008E
25344cc26c92ee022d7d7eac7428a113aa0be3a2
[ "MIT" ]
null
null
null
#include <iostream> #include <thread> #include<cmath> #include <unistd.h> #include <sys/utsname.h> #include <thread> #include <vector> using namespace std; unsigned long int Calculation() { unsigned long int Result = 0; for (int i = 1; i <= 50000; i++) { for (int j = 1; j <= i; j++) { Result += sqrt(i *...
19.787671
107
0.555556
Destinum
004012c9a61c056eb72c5768bb66577917fb131c
2,807
cpp
C++
src/ProjectionLibrary/src/HeightMapAnalysis.cpp
psteinb/premosa
5796bacbaea9abe404c3e04024e97bb0e0b542c2
[ "BSD-3-Clause" ]
6
2017-10-25T01:15:13.000Z
2021-03-02T23:06:06.000Z
src/ProjectionLibrary/src/HeightMapAnalysis.cpp
psteinb/premosa
5796bacbaea9abe404c3e04024e97bb0e0b542c2
[ "BSD-3-Clause" ]
1
2018-07-12T11:53:54.000Z
2018-10-19T21:37:25.000Z
src/ProjectionLibrary/src/HeightMapAnalysis.cpp
psteinb/premosa
5796bacbaea9abe404c3e04024e97bb0e0b542c2
[ "BSD-3-Clause" ]
2
2018-03-20T10:49:58.000Z
2019-07-10T13:32:39.000Z
// // HeightMapAnalysis.cpp // // Created by Corinna Blasse on 30/08/12. // #include "HeightMapAnalysis.h" #include <cmath> #include <iostream> extern "C" { #include "draw.h" #include "histogram.h" #include "image.h" } #include "MylibValues.h" #include "Develop.h" using namespace MylibValues; namespace Proj...
25.990741
166
0.608835
psteinb
00441f3298b17a8640d117909d59f37f59af3b46
2,196
cc
C++
src/libs/common/plugin/plugin_request.cc
warm-byte/DTC
ff98a585c07712000e486cfd2d71515e6538435f
[ "Apache-2.0" ]
24
2021-08-22T12:17:50.000Z
2022-03-03T06:39:00.000Z
src/libs/common/plugin/plugin_request.cc
warm-byte/DTC
ff98a585c07712000e486cfd2d71515e6538435f
[ "Apache-2.0" ]
2
2021-09-06T08:16:40.000Z
2021-11-04T06:06:57.000Z
src/libs/common/plugin/plugin_request.cc
warm-byte/DTC
ff98a585c07712000e486cfd2d71515e6538435f
[ "Apache-2.0" ]
15
2021-08-22T14:44:22.000Z
2022-01-30T02:03:22.000Z
/* * Copyright [2021] JD.com, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
20.333333
74
0.68898
warm-byte
004560ab9d5f31501e930cbfac1e2c839180e91c
862
cpp
C++
geonlp_ma_makedic/MakedicCsvFileIO.cpp
t-sagara/geonlp-software
bcb57f55d4790b8f332f44dcb78b5a3cca2f1a63
[ "BSD-2-Clause", "BSD-2-Clause-FreeBSD" ]
1
2019-09-15T07:47:41.000Z
2019-09-15T07:47:41.000Z
geonlp_ma_makedic/MakedicCsvFileIO.cpp
t-sagara/geonlp-software
bcb57f55d4790b8f332f44dcb78b5a3cca2f1a63
[ "BSD-2-Clause", "BSD-2-Clause-FreeBSD" ]
1
2019-09-13T08:27:35.000Z
2019-09-14T00:43:07.000Z
geonlp_ma_makedic/MakedicCsvFileIO.cpp
t-sagara/geonlp-software
bcb57f55d4790b8f332f44dcb78b5a3cca2f1a63
[ "BSD-2-Clause", "BSD-2-Clause-FreeBSD" ]
1
2018-10-03T10:56:23.000Z
2018-10-03T10:56:23.000Z
#include "MakedicCsvFileIO.h" #include <fstream> void MakedicCsvFileIO::write(const std::string& path, const std::vector<MakedicItem>& contents) { std::ofstream stream(path.c_str()); for (std::vector<MakedicItem>::const_iterator it = contents.begin(); it != contents.end(); it++) { MakedicItem item = *it; strea...
28.733333
99
0.603248
t-sagara
00492316f94c180b2d7ea6f3ec5006fec9d844c2
10,356
inl
C++
headers/Impl/GState.inl
NityaNandPandey/AndroidPDF
7a61d488c718dcb1246ed168502a6a3e6921fc87
[ "Apache-2.0" ]
1
2019-04-25T01:24:43.000Z
2019-04-25T01:24:43.000Z
headers/Impl/GState.inl
NityaNandPandey/AndroidPDF
7a61d488c718dcb1246ed168502a6a3e6921fc87
[ "Apache-2.0" ]
null
null
null
headers/Impl/GState.inl
NityaNandPandey/AndroidPDF
7a61d488c718dcb1246ed168502a6a3e6921fc87
[ "Apache-2.0" ]
null
null
null
inline GState::GState() : mp_state(0) { } inline GState::GState(const GState& c) { mp_state=c.mp_state; } inline GState& GState::operator=(const GState& c) { mp_state=c.mp_state; return *this; } inline Common::Matrix2D GState::GetTransform() { RetMtx(TRN_GStateGetTransform(mp_state,&result)); } inline ColorSp...
22.270968
92
0.781672
NityaNandPandey
00496c1a78cefa3402280a38f591de341fa1f608
14,602
cpp
C++
Bonsai/graphics/D3D.cpp
Resoona/Bonsai-Engine
d820455f940c03bd6cebc6ab1bd55b8ab524d88f
[ "MIT" ]
null
null
null
Bonsai/graphics/D3D.cpp
Resoona/Bonsai-Engine
d820455f940c03bd6cebc6ab1bd55b8ab524d88f
[ "MIT" ]
null
null
null
Bonsai/graphics/D3D.cpp
Resoona/Bonsai-Engine
d820455f940c03bd6cebc6ab1bd55b8ab524d88f
[ "MIT" ]
null
null
null
#include "D3D.h" namespace bonsai { namespace graphics { Direct3D::Direct3D() { m_SwapChain = nullptr; m_Device = nullptr; m_DeviceContext = nullptr; m_RenderTargetView = nullptr; m_DepthStencilBuffer = nullptr; m_DepthStencilState = nullptr; m_DepthDisabledStencilState = nullptr; m_DepthS...
32.73991
185
0.751472
Resoona
004a36e80a95872435312482183c0ab60c68c30e
1,071
cc
C++
test/class/class-impl.cc
gabrielschulhof/webidl-napi
88a9f9aa6975351b52b4a787468185c8a5024685
[ "MIT" ]
3
2020-10-20T17:58:24.000Z
2020-11-10T21:04:56.000Z
test/class/class-impl.cc
gabrielschulhof/webidl-napi
88a9f9aa6975351b52b4a787468185c8a5024685
[ "MIT" ]
18
2020-10-20T17:05:23.000Z
2020-11-16T07:04:28.000Z
test/class/class-impl.cc
gabrielschulhof/webidl-napi
88a9f9aa6975351b52b4a787468185c8a5024685
[ "MIT" ]
9
2020-10-20T14:40:31.000Z
2021-03-04T07:33:38.000Z
#include "class-impl.h" struct value__ { value__(unsigned long initial): val(initial) {} unsigned long val = 0; size_t refcount = 1; inline void Ref() { refcount++; } inline void Unref() { if (refcount == 0) abort(); if (--refcount == 0) delete this; } }; void Decrementor::operator=(const Decremen...
23.8
74
0.678805
gabrielschulhof
004bac6cdf5d212c65c44505d14ab2ee73bc0985
1,618
cpp
C++
tests/Cases/Allocators/TestStackAllocator.cpp
cpv-project/cpv-framework
b0da79c8c57ceecb6b13f4d8658ec4d4c0237668
[ "MIT" ]
86
2018-04-20T04:40:20.000Z
2022-02-09T08:36:28.000Z
tests/Cases/Allocators/TestStackAllocator.cpp
cpv-project/cpv-framework
b0da79c8c57ceecb6b13f4d8658ec4d4c0237668
[ "MIT" ]
16
2018-04-25T09:34:40.000Z
2020-10-16T03:55:05.000Z
tests/Cases/Allocators/TestStackAllocator.cpp
cpv-project/cpv-framework
b0da79c8c57ceecb6b13f4d8658ec4d4c0237668
[ "MIT" ]
10
2019-10-07T08:06:15.000Z
2021-07-26T18:46:11.000Z
#include <functional> #include <CPVFramework/Allocators/StackAllocator.hpp> #include <CPVFramework/Testing/GTestUtils.hpp> TEST(StackAllocator, allocate) { static constexpr const std::size_t Size = sizeof(int)*4; cpv::StackAllocatorStorage<Size> storage; cpv::StackAllocator<int, Size> allocator(storage); using p...
52.193548
95
0.70581
cpv-project
004cf962302aeb78432151a5e6daf4280d21a93f
2,955
cpp
C++
modules/crypto/src/ExternTemplates.cpp
TankerHQ/sdk-native
5d9eb7c2048fdefae230590a3110e583f08c2c49
[ "Apache-2.0" ]
19
2018-12-05T12:18:02.000Z
2021-07-13T07:33:22.000Z
modules/crypto/src/ExternTemplates.cpp
TankerHQ/sdk-native
5d9eb7c2048fdefae230590a3110e583f08c2c49
[ "Apache-2.0" ]
3
2020-03-16T15:52:06.000Z
2020-08-01T11:14:30.000Z
modules/crypto/src/ExternTemplates.cpp
TankerHQ/sdk-native
5d9eb7c2048fdefae230590a3110e583f08c2c49
[ "Apache-2.0" ]
3
2020-01-07T09:55:32.000Z
2020-08-01T01:29:28.000Z
#include <Tanker/Crypto/AeadIv.hpp> #include <Tanker/Crypto/BasicHash.hpp> #include <Tanker/Crypto/EncryptedSymmetricKey.hpp> #include <Tanker/Crypto/Mac.hpp> #include <Tanker/Crypto/PrivateEncryptionKey.hpp> #include <Tanker/Crypto/PrivateSignatureKey.hpp> #include <Tanker/Crypto/PublicEncryptionKey.hpp> #include <Tan...
50.084746
77
0.770558
TankerHQ
005a90986635ba22239690be245bb249f0927d70
2,420
cpp
C++
engine/calculators/source/SoakCalculator.cpp
sidav/shadow-of-the-wyrm
747afdeebed885b1a4f7ab42f04f9f756afd3e52
[ "MIT" ]
60
2019-08-21T04:08:41.000Z
2022-03-10T13:48:04.000Z
engine/calculators/source/SoakCalculator.cpp
cleancoindev/shadow-of-the-wyrm
51b23e98285ecb8336324bfd41ebf00f67b30389
[ "MIT" ]
3
2021-03-18T15:11:14.000Z
2021-10-20T12:13:07.000Z
engine/calculators/source/SoakCalculator.cpp
cleancoindev/shadow-of-the-wyrm
51b23e98285ecb8336324bfd41ebf00f67b30389
[ "MIT" ]
8
2019-11-16T06:29:05.000Z
2022-01-23T17:33:43.000Z
#include "SoakCalculator.hpp" #include "Wearable.hpp" using namespace std; SoakCalculator::SoakCalculator() { } SoakCalculator::~SoakCalculator() { } // A creature gets 1 point of Soak for every 4 Health over 10, // plus any bonuses or penalties from equipment. int SoakCalculator::calculate_soak(const CreaturePtr& ...
19.836066
92
0.656612
sidav
005c03dd374a0553105b5f618a997b48d8d309d4
7,908
cpp
C++
main.cpp
Daria602/AdventureIn10
4ad0418d4020cfb552a5cb1ab894ffa895caab3e
[ "MIT" ]
1
2021-05-03T12:29:52.000Z
2021-05-03T12:29:52.000Z
main.cpp
Daria602/AdventureIn10
4ad0418d4020cfb552a5cb1ab894ffa895caab3e
[ "MIT" ]
null
null
null
main.cpp
Daria602/AdventureIn10
4ad0418d4020cfb552a5cb1ab894ffa895caab3e
[ "MIT" ]
null
null
null
#include "Game.h" void addSpaces() { std::cout << std::endl; std::cout << std::endl; std::cout << std::endl; std::cout << std::endl; std::cout << std::endl; std::cout << std::endl; std::cout << std::endl; std::cout << std::endl; std::cout << std::endl; std::cout << std::endl; } void mainMenu(Cha...
25.758958
205
0.552226
Daria602
005c7dd846eae5eb9e39de2162ec96740911b3c7
580
hpp
C++
peek-mill-utils.hpp
andybarry/peekmill
d990877ef943a791f66d19ed897f1421b8e6e0ea
[ "BSD-3-Clause" ]
1
2016-08-22T13:46:32.000Z
2016-08-22T13:46:32.000Z
peek-mill-utils.hpp
andybarry/peekmill
d990877ef943a791f66d19ed897f1421b8e6e0ea
[ "BSD-3-Clause" ]
null
null
null
peek-mill-utils.hpp
andybarry/peekmill
d990877ef943a791f66d19ed897f1421b8e6e0ea
[ "BSD-3-Clause" ]
null
null
null
/* * Utility functions for opencv-stereo * * Copyright 2013, Andrew Barry <abarry@csail.mit.edu> * */ #ifndef PEEK_MILL_UTIL #define PEEK_MILL_UTIL #include "opencv2/legacy/legacy.hpp" #include "opencv2/opencv.hpp" #include <stdio.h> using namespace std; using namespace cv; struct OpenCvCalibration { M...
18.125
173
0.737931
andybarry
005d101e3205b261677a7a2160e17d31325af760
19,044
cc
C++
code/addons/locale/localeserver.cc
gscept/nebula-trifid
e7c0a0acb05eedad9ed37a72c1bdf2d658511b42
[ "BSD-2-Clause" ]
67
2015-03-30T19:56:16.000Z
2022-03-11T13:52:17.000Z
code/addons/locale/localeserver.cc
gscept/nebula-trifid
e7c0a0acb05eedad9ed37a72c1bdf2d658511b42
[ "BSD-2-Clause" ]
5
2015-04-15T17:17:33.000Z
2016-02-11T00:40:17.000Z
code/addons/locale/localeserver.cc
gscept/nebula-trifid
e7c0a0acb05eedad9ed37a72c1bdf2d658511b42
[ "BSD-2-Clause" ]
34
2015-03-30T15:08:00.000Z
2021-09-23T05:55:10.000Z
//------------------------------------------------------------------------------ // locale/localeserver_main.cc // (C) 2004 RadonLabs GmbH //------------------------------------------------------------------------------ #include "stdneb.h" #include "locale/localeserver.h" #include "locale/localeattributes.h" #include...
30.421725
200
0.53765
gscept
005d99e5dc4bc70053c9030d4942372b518209db
1,412
cpp
C++
Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/Chapter10Exercise7.cpp
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
6fd64801863e883508f15d16398744405f4f9e34
[ "Unlicense" ]
9
2018-10-24T15:16:47.000Z
2021-12-14T13:53:50.000Z
Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/Chapter10Exercise7.cpp
ChrisBKirov/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
6fd64801863e883508f15d16398744405f4f9e34
[ "Unlicense" ]
null
null
null
Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/Chapter10Exercise7.cpp
ChrisBKirov/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
6fd64801863e883508f15d16398744405f4f9e34
[ "Unlicense" ]
7
2018-10-29T15:30:37.000Z
2021-01-18T15:15:09.000Z
/* TITLE Roman numerals Chapter10Exercise7.cpp Bjarne Stroustrup "Programming: Principles and Practice Using C++" COMMENT Objective: Include calculations with Roman numerals. Input: - Output: - Author: Chris B. Kirov Data: 15.02.2015 */ /* Calculator Grammar: Calculation...
28.24
122
0.568697
Ziezi
005f2774a7ee51980431db92e3eaec5ce6112e93
30,403
cpp
C++
engine/xbox/generic/xboxport.cpp
christianhaitian/openbor
ce64eaffce90c407cc5a56e52c31ec8e62378bc8
[ "BSD-3-Clause" ]
600
2017-04-05T07:52:07.000Z
2022-03-31T07:56:47.000Z
engine/xbox/generic/xboxport.cpp
christianhaitian/openbor
ce64eaffce90c407cc5a56e52c31ec8e62378bc8
[ "BSD-3-Clause" ]
166
2017-04-16T12:16:11.000Z
2022-03-02T21:42:48.000Z
engine/xbox/generic/xboxport.cpp
christianhaitian/openbor
ce64eaffce90c407cc5a56e52c31ec8e62378bc8
[ "BSD-3-Clause" ]
105
2017-04-05T08:18:08.000Z
2022-03-31T06:44:04.000Z
/* * OpenBOR - http://www.LavaLit.com * ----------------------------------------------------------------------- * Licensed under the BSD license, see LICENSE in OpenBOR root for details. * * Copyright (c) 2004 - 2011 OpenBOR Team */ #include <XBApp.h> #include <XBFont.h> #include <XBHelp.h> #include <XBSound.h> ...
23.733802
171
0.66181
christianhaitian
00606d7e6028a2844e51c26293b4d5bcc89c39fd
8,235
cpp
C++
packages/sim/merlion/applications/source_inversion/src/source_inversion/InversionSim.cpp
USEPA/Water-Security-Toolkit
6b6b68e0e1b3dcc8023b453ab48a64f7fd740feb
[ "BSD-3-Clause" ]
3
2019-06-10T18:04:14.000Z
2020-12-05T18:11:40.000Z
packages/sim/merlion/applications/source_inversion/src/source_inversion/InversionSim.cpp
USEPA/Water-Security-Toolkit
6b6b68e0e1b3dcc8023b453ab48a64f7fd740feb
[ "BSD-3-Clause" ]
null
null
null
packages/sim/merlion/applications/source_inversion/src/source_inversion/InversionSim.cpp
USEPA/Water-Security-Toolkit
6b6b68e0e1b3dcc8023b453ab48a64f7fd740feb
[ "BSD-3-Clause" ]
2
2020-09-24T19:04:14.000Z
2020-12-05T18:11:43.000Z
#include <source_inversion/InversionDataWriter.hpp> #include <source_inversion/InversionSimOptions.hpp> #include <source_inversion/InversionNetworkSimulator.hpp> #include <merlionUtils/TaskTimer.hpp> #include <merlion/Merlion.hpp> #include <merlion/BlasWrapper.hpp> #include <merlion/TriSolve.hpp> #include <merlion/Me...
34.746835
153
0.647237
USEPA
006217f72f5d9786e94dbc7379d375ef41c4e270
4,020
cpp
C++
src/Overlay/Window/RoomWindow.cpp
GrimFlash/BBCF-Improvement-Mod-GGPO
9482ead2edd70714f427d3a5683d17b19ab8ac2e
[ "MIT" ]
48
2020-06-09T22:53:52.000Z
2022-01-02T12:44:33.000Z
src/Overlay/Window/RoomWindow.cpp
GrimFlash/BBCF-Improvement-Mod-GGPO
9482ead2edd70714f427d3a5683d17b19ab8ac2e
[ "MIT" ]
2
2020-05-27T21:25:49.000Z
2020-05-27T23:56:56.000Z
src/Overlay/Window/RoomWindow.cpp
GrimFlash/BBCF-Improvement-Mod-GGPO
9482ead2edd70714f427d3a5683d17b19ab8ac2e
[ "MIT" ]
12
2020-06-17T20:44:17.000Z
2022-01-04T18:15:27.000Z
#include "RoomWindow.h" #include "Core/interfaces.h" #include "Core/utils.h" #include "Game/gamestates.h" #include "Overlay/imgui_utils.h" #include "Overlay/WindowManager.h" #include "Overlay/Widget/ActiveGameModeWidget.h" #include "Overlay/Widget/GameModeSelectWidget.h" #include "Overlay/Widget/StageSelectWidget.h" #...
25.283019
131
0.74005
GrimFlash
006ab54d6ebae19511ea7481b2eb6e35854eb37a
15,657
hpp
C++
test/simulation_tests.hpp
marekpetrik/CRAAM
62cc392e876b5383faa5cb15ab1f6b70b26ff395
[ "MIT" ]
22
2015-09-28T14:41:00.000Z
2020-07-03T00:16:19.000Z
test/simulation_tests.hpp
marekpetrik/CRAAM
62cc392e876b5383faa5cb15ab1f6b70b26ff395
[ "MIT" ]
6
2017-08-10T18:35:40.000Z
2018-10-13T01:38:04.000Z
test/simulation_tests.hpp
marekpetrik/CRAAM
62cc392e876b5383faa5cb15ab1f6b70b26ff395
[ "MIT" ]
10
2016-09-19T18:31:07.000Z
2018-07-05T08:59:45.000Z
// This file is part of CRAAM, a C++ library for solving plain // and robust Markov decision processes. // // MIT License // // 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 restric...
32.686848
141
0.685444
marekpetrik
006bef6bf26e467e6902de9faaea6727a4a86a3d
86
cpp
C++
utils/uicommon/FAudioUI_main.cpp
benoit-pierre/FAudio
e37acb75c186a365dd55bdb97b4dac84ab6a163a
[ "Zlib" ]
null
null
null
utils/uicommon/FAudioUI_main.cpp
benoit-pierre/FAudio
e37acb75c186a365dd55bdb97b4dac84ab6a163a
[ "Zlib" ]
null
null
null
utils/uicommon/FAudioUI_main.cpp
benoit-pierre/FAudio
e37acb75c186a365dd55bdb97b4dac84ab6a163a
[ "Zlib" ]
null
null
null
/* Use this if your toolchain is fussy about the C file */ #include "FAudioUI_main.c"
28.666667
58
0.732558
benoit-pierre
006f6420103afc3273e353bb3a3cb285d6dd4a18
4,673
cpp
C++
Tga3D/Source/tga2dcore/tga2d/windows/WindowsWindow.cpp
sarisman84/C-CommonUtilities
a3649c32232ec342c25b804001c16c295885ce0c
[ "MIT" ]
1
2022-03-10T11:43:24.000Z
2022-03-10T11:43:24.000Z
Tga3D/Source/tga2dcore/tga2d/windows/WindowsWindow.cpp
sarisman84/C-CommonUtilities
a3649c32232ec342c25b804001c16c295885ce0c
[ "MIT" ]
null
null
null
Tga3D/Source/tga2dcore/tga2d/windows/WindowsWindow.cpp
sarisman84/C-CommonUtilities
a3649c32232ec342c25b804001c16c295885ce0c
[ "MIT" ]
null
null
null
#include "stdafx.h" #include <tga2d/windows/WindowsWindow.h> #include "resource.h" #include <WinUser.h> #include <tga2d/imguiinterface/ImGuiInterface.h> using namespace Tga2D; WindowsWindow::WindowsWindow(void) :myWndProcCallback(nullptr) { } WindowsWindow::~WindowsWindow(void) { } bool WindowsW...
27.815476
168
0.711748
sarisman84
006fc1f49ec8f6c0970729038579eb100d4bf8d5
254
cpp
C++
sdk/src/layers/ItemAton.cpp
Fpepe943/fairwindplusplus
8b9f5e13c751bb331f9f1b9979bf3049cc3a94d5
[ "Apache-2.0" ]
4
2021-07-07T10:42:53.000Z
2022-01-11T12:53:25.000Z
sdk/src/layers/ItemAton.cpp
Fpepe943/fairwindplusplus
8b9f5e13c751bb331f9f1b9979bf3049cc3a94d5
[ "Apache-2.0" ]
2
2022-02-13T19:59:25.000Z
2022-03-25T01:02:17.000Z
sdk/src/layers/ItemAton.cpp
Fpepe943/fairwindplusplus
8b9f5e13c751bb331f9f1b9979bf3049cc3a94d5
[ "Apache-2.0" ]
7
2021-06-07T07:12:55.000Z
2022-01-12T16:09:55.000Z
// // Created by Raffaele Montella on 03/05/21. // #include "FairWindSdk/layers/ItemAton.hpp" ItemAton::ItemAton(QString &typeUuid): ItemSignalK(typeUuid) { } QImage ItemAton::getImage() const { return QImage(":/resources/images/ais_aton.png"); }
19.538462
62
0.720472
Fpepe943
00786a1ab462b9cae550f5dfbb92685202f08563
1,603
hpp
C++
libs/gui/include/sge/gui/widget/bar.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
2
2016-01-27T13:18:14.000Z
2018-05-11T01:11:32.000Z
libs/gui/include/sge/gui/widget/bar.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
null
null
null
libs/gui/include/sge/gui/widget/bar.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
3
2018-05-11T01:11:34.000Z
2021-04-24T19:47:45.000Z
// Copyright Carl Philipp Reh 2006 - 2019. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #ifndef SGE_GUI_WIDGET_BAR_HPP_INCLUDED #define SGE_GUI_WIDGET_BAR_HPP_INCLUDED #include <sge/gui/...
25.046875
83
0.726138
cpreh
0078eaf95ade009a79cdf34c1a94c415a21100ad
1,407
cpp
C++
DWITE/DWITE_10_R5P5_Cube_World.cpp
Togohogo1/pg
ee3c36acde47769c66ee13a227762ee677591375
[ "MIT" ]
null
null
null
DWITE/DWITE_10_R5P5_Cube_World.cpp
Togohogo1/pg
ee3c36acde47769c66ee13a227762ee677591375
[ "MIT" ]
1
2021-10-14T18:26:56.000Z
2021-10-14T18:26:56.000Z
DWITE/DWITE_10_R5P5_Cube_World.cpp
Togohogo1/pg
ee3c36acde47769c66ee13a227762ee677591375
[ "MIT" ]
1
2021-08-06T03:39:55.000Z
2021-08-06T03:39:55.000Z
#include <bits/stdc++.h> using namespace std; #define f first #define s second const int MM = 22; int N, M, ans, grid[MM][MM], vis[MM][MM], dir[4][2] = {{1, 0}, {0, 1}, {-1, 0}, {0, -1}}; priority_queue<pair<int, pair<int, int>>> pq; int main() { ios::sync_with_stdio(0); cin.tie(0), cout.tie(0); for (i...
25.581818
89
0.331912
Togohogo1
0078fea0aae13cf93b439c1dca7535689c1ed16e
622
cpp
C++
Online-Judge-Solution/URI Solutions/1099(Sum of Consecutive Odd Numbers II).cpp
arifparvez14/Basic-and-competetive-programming
4cb9ee7fbed3c70307d0f63499fcede86ed3c732
[ "MIT" ]
null
null
null
Online-Judge-Solution/URI Solutions/1099(Sum of Consecutive Odd Numbers II).cpp
arifparvez14/Basic-and-competetive-programming
4cb9ee7fbed3c70307d0f63499fcede86ed3c732
[ "MIT" ]
null
null
null
Online-Judge-Solution/URI Solutions/1099(Sum of Consecutive Odd Numbers II).cpp
arifparvez14/Basic-and-competetive-programming
4cb9ee7fbed3c70307d0f63499fcede86ed3c732
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; int main() { int x,y,i,sum,t,k; while(cin>>t) { for(k=1; k<=t; k++) { cin>>x>>y; sum=0; if(x<=y) { for(i=x+1; i<y; i++) { if(i%2!=0) ...
18.294118
36
0.233119
arifparvez14
00796dce8f7bddbc4d4a1eee2c504af59ad4372e
8,388
cpp
C++
pdfium_lib/pdfium/core/fpdfapi/parser/cpdf_security_handler_embeddertest.cpp
qingqibing/vs_pdfium
6d009d478c3e761fac49b357d81532c3ed7aad9f
[ "BSD-3-Clause" ]
null
null
null
pdfium_lib/pdfium/core/fpdfapi/parser/cpdf_security_handler_embeddertest.cpp
qingqibing/vs_pdfium
6d009d478c3e761fac49b357d81532c3ed7aad9f
[ "BSD-3-Clause" ]
null
null
null
pdfium_lib/pdfium/core/fpdfapi/parser/cpdf_security_handler_embeddertest.cpp
qingqibing/vs_pdfium
6d009d478c3e761fac49b357d81532c3ed7aad9f
[ "BSD-3-Clause" ]
1
2020-04-04T17:23:01.000Z
2020-04-04T17:23:01.000Z
// Copyright 2016 PDFium 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 <memory> #include <string> #include "core/fxcrt/fx_system.h" #include "public/cpp/fpdf_scopers.h" #include "public/fpdf_edit.h" #include "public/fpdf_...
35.096234
78
0.771817
qingqibing
007c70b8547794cca85d109520cab277ee4f94b7
3,579
cxx
C++
Filters/Parallel/vtkPPartitionedDataSetCollectionToMultiBlockDataSet.cxx
akenmorris/VTK
cf80447580ff48cbdb4a588aaafe1d3397af3791
[ "BSD-3-Clause" ]
null
null
null
Filters/Parallel/vtkPPartitionedDataSetCollectionToMultiBlockDataSet.cxx
akenmorris/VTK
cf80447580ff48cbdb4a588aaafe1d3397af3791
[ "BSD-3-Clause" ]
2
2018-05-04T02:00:02.000Z
2018-05-04T02:15:19.000Z
Filters/Parallel/vtkPPartitionedDataSetCollectionToMultiBlockDataSet.cxx
akenmorris/VTK
cf80447580ff48cbdb4a588aaafe1d3397af3791
[ "BSD-3-Clause" ]
1
2020-08-18T11:44:39.000Z
2020-08-18T11:44:39.000Z
/*========================================================================= Program: Visualization Toolkit Module: vtkPPartitionedDataSetCollectionToMultiBlockDataSet.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.h...
37.673684
98
0.654652
akenmorris
007fc689f124f891c8ab4743497c17a90a6fe25d
148
cpp
C++
Ch01/Ex1_20.cpp
boscotsang/CppPrimerCode
65eed86652f5ec475dec593bd731b7752cb46c51
[ "MIT" ]
4
2015-04-20T10:04:49.000Z
2018-04-19T12:46:01.000Z
Ch01/Ex1_20.cpp
boscotsang/CppPrimerCode
65eed86652f5ec475dec593bd731b7752cb46c51
[ "MIT" ]
null
null
null
Ch01/Ex1_20.cpp
boscotsang/CppPrimerCode
65eed86652f5ec475dec593bd731b7752cb46c51
[ "MIT" ]
null
null
null
#include <iostream> #include "Sales_item.h" int main(){ Sales_item s1; while(std::cin >> s1) std::cout << s1 << std::endl; return 0; }
16.444444
55
0.594595
boscotsang
00803af5abfb8a6ab8da8a5e8de32254429127ad
3,562
hpp
C++
src/Setup.hpp
albrdev/kalk
529472931308da37391601ef47e59e03bc91b693
[ "Apache-2.0" ]
null
null
null
src/Setup.hpp
albrdev/kalk
529472931308da37391601ef47e59e03bc91b693
[ "Apache-2.0" ]
null
null
null
src/Setup.hpp
albrdev/kalk
529472931308da37391601ef47e59e03bc91b693
[ "Apache-2.0" ]
null
null
null
#ifndef __SETUP_HPP__ #define __SETUP_HPP__ #include "text/exception/SyntaxError.hpp" #include "text/expression/ExpressionParser.hpp" #include "text/parsing/CommandParser.hpp" #include <string> #include <tuple> #include <unordered_map> #include <vector> #include <mpfr.h> #include <mpreal.h> #include <boost/date_time...
39.142857
148
0.800955
albrdev
0082d550c3bc030679b8af046c7d4d62a8be6caf
3,736
cpp
C++
playground/mainwindow.cpp
evonove/moply
96ad70612fc652e46792c101d463364a824f60ec
[ "BSD-2-Clause-FreeBSD" ]
1
2017-06-01T12:54:29.000Z
2017-06-01T12:54:29.000Z
playground/mainwindow.cpp
evonove/moply
96ad70612fc652e46792c101d463364a824f60ec
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
playground/mainwindow.cpp
evonove/moply
96ad70612fc652e46792c101d463364a824f60ec
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
#include "moply/gldrawer.h" #include "mainwindow.h" #include "ui_mainwindow.h" #include <QFileDialog> #include <QDebug> #include <QSignalMapper> using namespace std; MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow) { ui->setupUi(this); loadAction = new QAction(tr(...
33.357143
116
0.671574
evonove
0083211ed313f9ef7734feba0aa047036abb9fdb
1,976
cpp
C++
src/main.cpp
grillbaer/esp32-iot-logger
e4beb8e324c00abc4de1cbe300d855ef904b0286
[ "MIT" ]
null
null
null
src/main.cpp
grillbaer/esp32-iot-logger
e4beb8e324c00abc4de1cbe300d855ef904b0286
[ "MIT" ]
null
null
null
src/main.cpp
grillbaer/esp32-iot-logger
e4beb8e324c00abc4de1cbe300d855ef904b0286
[ "MIT" ]
null
null
null
#include <Arduino.h> #include "driver/pcnt.h" #include "driver/gpio.h" #include "driver/rtc_io.h" #include "input.h" #include "display.h" #include "ingest.h" #include "ADS1115InputChannel.h" // blinky state int blinky = 1; const uint32_t sampleIntervalMicros = 1000000L; uint32_t sampleStartMicros; const int16_t inge...
21.247312
88
0.739879
grillbaer
0083d8116dbf8c73d9daf185fe21ad206df3a45f
9,227
cpp
C++
src/main.cpp
lscandolo/Compressed-shadow-maps
3cb6c11cfb3c3cbdbfc48a6cc33d54758b7d19cf
[ "MIT" ]
7
2020-04-07T18:53:12.000Z
2022-01-25T15:06:30.000Z
src/main.cpp
lscandolo/Compressed-shadow-maps
3cb6c11cfb3c3cbdbfc48a6cc33d54758b7d19cf
[ "MIT" ]
null
null
null
src/main.cpp
lscandolo/Compressed-shadow-maps
3cb6c11cfb3c3cbdbfc48a6cc33d54758b7d19cf
[ "MIT" ]
1
2021-07-14T02:14:45.000Z
2021-07-14T02:14:45.000Z
#include "common.h" #include "helpers/OpenGLHelpers.h" #include "helpers/FPCamera.h" #include "helpers/CameraRecord.h" #include "helpers/MeshData.h" #include "helpers/LightData.h" #include "helpers/ScopeTimer.h" #include "helpers/Ini.h" #include "gui/MeshGUI.h" #include "gui/LightGUI.h" #include "gui/FPCameraGUI.h" ...
28.744548
158
0.715834
lscandolo
0084908178ca0bc782ff19fd8e2cb48f57b035e7
12,523
cpp
C++
script/src/llasm_var.cpp
tweber-ill/ill_mirror-takin2-tlibs2
669fd34c306625fd306da278a5b29fb6aae16a87
[ "BSD-3-Clause-Open-MPI" ]
null
null
null
script/src/llasm_var.cpp
tweber-ill/ill_mirror-takin2-tlibs2
669fd34c306625fd306da278a5b29fb6aae16a87
[ "BSD-3-Clause-Open-MPI" ]
null
null
null
script/src/llasm_var.cpp
tweber-ill/ill_mirror-takin2-tlibs2
669fd34c306625fd306da278a5b29fb6aae16a87
[ "BSD-3-Clause-Open-MPI" ]
1
2021-09-20T19:30:13.000Z
2021-09-20T19:30:13.000Z
/** * llvm three-address code generator -- variables * @author Tobias Weber <tweber@ill.fr> * @date apr/may-2020 * @license GPLv3, see 'LICENSE' file * @desc Forked on 18/July/2020 from my privately developed "matrix_calc" project (https://github.com/t-weber/matrix_calc). * * References: * - https://llvm.org/...
32.275773
123
0.577737
tweber-ill
0a5263a045fa4ad3ccc150da1fc9ab4aaca1471d
268
cpp
C++
production/subsystems/gui/src/status_bar.cpp
ratelware/logreader
6ca96c49a342dcaef59221dd3497563f54b63ae7
[ "MIT" ]
null
null
null
production/subsystems/gui/src/status_bar.cpp
ratelware/logreader
6ca96c49a342dcaef59221dd3497563f54b63ae7
[ "MIT" ]
3
2017-11-21T22:16:51.000Z
2017-11-21T23:34:31.000Z
production/subsystems/gui/src/status_bar.cpp
ratelware/logreader
6ca96c49a342dcaef59221dd3497563f54b63ae7
[ "MIT" ]
null
null
null
#include <gui/status_bar.hpp> #include <nana/gui/filebox.hpp> namespace gui { status_bar::status_bar(nana::form& window_form) : bar_panel(window_form) { bar_panel.bgcolor(nana::colors::red); } nana::widget& status_bar::get_widget() { return bar_panel; } }
17.866667
75
0.716418
ratelware
0a58656e35d6a41487b1e652fc8f4bd7cb8c1d9e
6,721
cpp
C++
plll/src/lattices/enumimpl-simpleenum.cpp
KudrinMatvey/myfplll
99fa018201097b6c078c00721cdc409cdcd4092c
[ "MIT" ]
null
null
null
plll/src/lattices/enumimpl-simpleenum.cpp
KudrinMatvey/myfplll
99fa018201097b6c078c00721cdc409cdcd4092c
[ "MIT" ]
null
null
null
plll/src/lattices/enumimpl-simpleenum.cpp
KudrinMatvey/myfplll
99fa018201097b6c078c00721cdc409cdcd4092c
[ "MIT" ]
null
null
null
/* Copyright (c) 2011-2014 University of Zurich 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, m...
39.769231
125
0.502009
KudrinMatvey
0a60ff787f117849dd7641ad0070d95f852d964e
1,383
cpp
C++
json_source/test/test_json_source.cpp
waltronix/smaep
05d90c6ab9d1c76a6da1fa285857f7ec30fc8497
[ "MIT" ]
1
2019-12-21T15:09:40.000Z
2019-12-21T15:09:40.000Z
json_source/test/test_json_source.cpp
waltronix/smaep
05d90c6ab9d1c76a6da1fa285857f7ec30fc8497
[ "MIT" ]
null
null
null
json_source/test/test_json_source.cpp
waltronix/smaep
05d90c6ab9d1c76a6da1fa285857f7ec30fc8497
[ "MIT" ]
null
null
null
#include <string> #define CATCH_CONFIG_MAIN #include "catch2/catch.hpp" #include "json_source.h" TEST_CASE("some_simple_jsonpath", "json_tests") { const std::string json = R"JSON( { "x": "1", "y": "2" } )JSON"; smaep::data::json_source<double> jw(json); auto rs = jw.get_value_for("$.x"); REQUIRE(1 == r...
15.896552
49
0.561099
waltronix
0a62df76d2d85e117857b03ea8f23567aa542c64
1,357
hpp
C++
examples/modem_console/main/my_module_dce.hpp
jonathandreyer/esp-modem
6311c3bd775dcdb22878dab83e703b46ee5321c1
[ "Apache-2.0" ]
2
2021-08-23T09:07:11.000Z
2021-11-06T12:12:41.000Z
examples/modem_console/main/my_module_dce.hpp
jonathandreyer/esp-modem
6311c3bd775dcdb22878dab83e703b46ee5321c1
[ "Apache-2.0" ]
null
null
null
examples/modem_console/main/my_module_dce.hpp
jonathandreyer/esp-modem
6311c3bd775dcdb22878dab83e703b46ee5321c1
[ "Apache-2.0" ]
null
null
null
/* Modem console example: Custom DCE This example code is in the Public Domain (or CC0 licensed, at your option.) Unless required by applicable law or agreed to in writing, this software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ #pragm...
33.925
114
0.741341
jonathandreyer
0a64c7e5115802a1f0bdc4b0b2ffb390c42348b2
931
hpp
C++
src/Components/PlayerInputComponent.hpp
DylanConvery/2D-Game-Engine-Prototype
55e5adbb687ccec593a3f5063ad2195e760bd3b6
[ "MIT" ]
null
null
null
src/Components/PlayerInputComponent.hpp
DylanConvery/2D-Game-Engine-Prototype
55e5adbb687ccec593a3f5063ad2195e760bd3b6
[ "MIT" ]
null
null
null
src/Components/PlayerInputComponent.hpp
DylanConvery/2D-Game-Engine-Prototype
55e5adbb687ccec593a3f5063ad2195e760bd3b6
[ "MIT" ]
null
null
null
#ifndef PLAYERINPUTCOMPONENT_H #define PLAYERINPUTCOMPONENT_H #include "../AssetManager.hpp" #include "../Component.hpp" #include "SpriteComponent.hpp" #include "TransformComponent.hpp" #include "string" class SpriteComponent; class PlayerInputComponent : public Component { public: PlayerInputComponent(); ...
25.861111
149
0.736842
DylanConvery
0a6585ed4329612ee36bb987a8b87683f2c938bf
21,630
cpp
C++
src/mfx/uitk/pg/FxPEq.cpp
D-J-Roberts/pedalevite
157611b5ccf2bb97f0007d7d17b4c07bd6a21fba
[ "WTFPL" ]
69
2017-01-17T13:17:31.000Z
2022-03-01T14:56:32.000Z
src/mfx/uitk/pg/FxPEq.cpp
D-J-Roberts/pedalevite
157611b5ccf2bb97f0007d7d17b4c07bd6a21fba
[ "WTFPL" ]
1
2020-11-03T14:52:45.000Z
2020-12-01T20:31:15.000Z
src/mfx/uitk/pg/FxPEq.cpp
D-J-Roberts/pedalevite
157611b5ccf2bb97f0007d7d17b4c07bd6a21fba
[ "WTFPL" ]
8
2017-02-08T13:30:42.000Z
2021-12-09T08:43:09.000Z
/***************************************************************************** FxPEq.cpp Author: Laurent de Soras, 2017 --- 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 terms...
24.976905
136
0.614933
D-J-Roberts
0a68588d9ea092ab703badf7915c483c03cf27d7
194
cpp
C++
src/config.cpp
XujieSi/fse18-artifact-183
29cf14b5072fdfb1786eaaf60e9ac6e75f932d74
[ "MIT" ]
6
2018-11-01T23:15:38.000Z
2022-02-17T09:37:44.000Z
src/config.cpp
XujieSi/fse18-artifact-183
29cf14b5072fdfb1786eaaf60e9ac6e75f932d74
[ "MIT" ]
null
null
null
src/config.cpp
XujieSi/fse18-artifact-183
29cf14b5072fdfb1786eaaf60e9ac6e75f932d74
[ "MIT" ]
1
2018-11-01T23:15:41.000Z
2018-11-01T23:15:41.000Z
// // config.cpp // ALPS // // Created by Xujie Si on 11/9/17. // Copyright © 2017 Xujie Si. All rights reserved. // #include "config.hpp" Configuration* Configuration::config = nullptr;
14.923077
51
0.659794
XujieSi
0a68a7b34aad2694b2096f1fa098fe432a023e73
8,396
cpp
C++
FaceTracking/src/shape_model.cpp
johmathe/ComputerVisionStuff
8182e2a1284721cb1ac6091174ff5aa0d6aa561e
[ "Apache-2.0" ]
null
null
null
FaceTracking/src/shape_model.cpp
johmathe/ComputerVisionStuff
8182e2a1284721cb1ac6091174ff5aa0d6aa561e
[ "Apache-2.0" ]
null
null
null
FaceTracking/src/shape_model.cpp
johmathe/ComputerVisionStuff
8182e2a1284721cb1ac6091174ff5aa0d6aa561e
[ "Apache-2.0" ]
null
null
null
/***************************************************************************** * Non-Rigid Face Tracking ****************************************************************************** * by Jason Saragih, 5th Dec 2012 * http://jsaragih.org/ **************************************************************************...
30.754579
80
0.407932
johmathe
0a68fd4158f11695b65ff930a8fa9778ff613572
5,283
cpp
C++
bfcp/common/bfcp_msg.cpp
Issic47/bfcp
b0e78534f58820610df6133dc4043f902c001173
[ "BSD-3-Clause" ]
10
2015-08-05T06:07:41.000Z
2020-12-17T04:28:48.000Z
bfcp/common/bfcp_msg.cpp
Issic47/bfcp
b0e78534f58820610df6133dc4043f902c001173
[ "BSD-3-Clause" ]
null
null
null
bfcp/common/bfcp_msg.cpp
Issic47/bfcp
b0e78534f58820610df6133dc4043f902c001173
[ "BSD-3-Clause" ]
8
2015-11-27T13:22:30.000Z
2021-01-28T07:20:50.000Z
#include <bfcp/common/bfcp_msg.h> #include <algorithm> #include <muduo/base/Logging.h> using muduo::net::Buffer; using muduo::net::InetAddress; using muduo::strerror_tl; namespace bfcp { namespace detail { int printToString(const char *p, size_t size, void *arg) { string *str = static_cast<string*>(arg); str->...
21.388664
75
0.605338
Issic47
0a74e732b1a1b7620b37cf7c5074d79a87a6c213
3,229
hpp
C++
source/modules/distribution/multivariate/normal/normal.hpp
JonathanLehner/korali
90f97d8e2fed2311f988f39cfe014f23ba7dd6cf
[ "MIT" ]
43
2018-07-26T07:20:42.000Z
2022-03-02T10:23:12.000Z
source/modules/distribution/multivariate/normal/normal.hpp
JonathanLehner/korali
90f97d8e2fed2311f988f39cfe014f23ba7dd6cf
[ "MIT" ]
212
2018-09-21T10:44:07.000Z
2022-03-22T14:33:05.000Z
source/modules/distribution/multivariate/normal/normal.hpp
JonathanLehner/korali
90f97d8e2fed2311f988f39cfe014f23ba7dd6cf
[ "MIT" ]
16
2018-07-25T15:00:36.000Z
2022-03-22T14:19:46.000Z
/** \namespace multivariate * @brief Namespace declaration for modules of type: multivariate. */ /** \file * @brief Header file for module: Normal. */ /** \dir distribution/multivariate/normal * @brief Contains code, documentation, and scripts for module: Normal. */ #pragma once #include "modules/distribution/multi...
26.040323
119
0.704552
JonathanLehner
0a78be8d5b181f93ad7df01797458b5a6cd2f9f3
651
cc
C++
EDMUtils/src/TFileUtils.cc
NTUHEP-Tstar/ManagerUtils
2536174671e537f210c330fe739f4cf0615e735e
[ "MIT" ]
null
null
null
EDMUtils/src/TFileUtils.cc
NTUHEP-Tstar/ManagerUtils
2536174671e537f210c330fe739f4cf0615e735e
[ "MIT" ]
null
null
null
EDMUtils/src/TFileUtils.cc
NTUHEP-Tstar/ManagerUtils
2536174671e537f210c330fe739f4cf0615e735e
[ "MIT" ]
null
null
null
/******************************************************************************* * * Filename : TFileUtils.cc * Description : Implementation of utility functions * Author : Yi-Mu "Enoch" Chen [ ensc@hep1.phys.ntu.edu.tw ] * *******************************************************************************/ #inc...
29.590909
80
0.509985
NTUHEP-Tstar
0a7acbda3f66137d53aa010a061042622418c971
40,426
cc
C++
ns-allinone-3.35/ns-3.35/src/wifi/test/wifi-txop-test.cc
usi-systems/cc
487aa9e322b2b01b6af3a92e38545c119e4980a3
[ "Apache-2.0" ]
null
null
null
ns-allinone-3.35/ns-3.35/src/wifi/test/wifi-txop-test.cc
usi-systems/cc
487aa9e322b2b01b6af3a92e38545c119e4980a3
[ "Apache-2.0" ]
null
null
null
ns-allinone-3.35/ns-3.35/src/wifi/test/wifi-txop-test.cc
usi-systems/cc
487aa9e322b2b01b6af3a92e38545c119e4980a3
[ "Apache-2.0" ]
null
null
null
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2020 Universita' degli Studi di Napoli Federico II * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foun...
51.894737
120
0.619181
usi-systems
0a7c87e7d11a71320cbe4e5104f756505a98d13e
3,446
cpp
C++
src/lib/Components/WindowSizeComponent.cpp
romoadri21/boi
deef8e7148b50fbb36886ba4ff491a6c0e18ad67
[ "BSD-3-Clause" ]
null
null
null
src/lib/Components/WindowSizeComponent.cpp
romoadri21/boi
deef8e7148b50fbb36886ba4ff491a6c0e18ad67
[ "BSD-3-Clause" ]
null
null
null
src/lib/Components/WindowSizeComponent.cpp
romoadri21/boi
deef8e7148b50fbb36886ba4ff491a6c0e18ad67
[ "BSD-3-Clause" ]
null
null
null
/* Copyright (c) 2010, Piet Hein Schouten. All rights reserved. * This code is licensed under a BSD-style license that can be * found in the LICENSE file. The license can also be found at: * http://www.boi-project.org/license */ #include <QSizeF> #include <QPainter> #include <QVariant> #include <QStyleOptionGraphi...
23.127517
81
0.680499
romoadri21
0a7f2436adc749bb8a5257f5a526be7fa5b4f3b3
9,866
cpp
C++
src/ias/test/Analysis_test.cpp
anetczuk/ImageProcessingService
d9de80b2e51c0d3ac59b7bcc7cfd7e62393cfbd4
[ "MIT" ]
null
null
null
src/ias/test/Analysis_test.cpp
anetczuk/ImageProcessingService
d9de80b2e51c0d3ac59b7bcc7cfd7e62393cfbd4
[ "MIT" ]
null
null
null
src/ias/test/Analysis_test.cpp
anetczuk/ImageProcessingService
d9de80b2e51c0d3ac59b7bcc7cfd7e62393cfbd4
[ "MIT" ]
null
null
null
/// MIT License /// /// Copyright (c) 2017 Arkadiusz Netczuk <dev.arnet@gmail.com> /// /// Permission is hereby granted, free of charge, to any person obtaining a copy /// of this software and associated documentation files (the "Software"), to deal /// in the Software without restriction, including without limitation ...
35.746377
107
0.632982
anetczuk
0a7f7ff9084c32cdaa857adcc6691c16a32536c0
610
cpp
C++
examples/example_device/renderer/Raycast.cpp
Twinklebear/ANARI-SDK
d40eef6a8fb3bab65991f0ec1a347d7fcf7579e1
[ "Apache-2.0" ]
49
2021-11-02T13:05:57.000Z
2022-03-28T05:50:38.000Z
examples/example_device/renderer/Raycast.cpp
Twinklebear/ANARI-SDK
d40eef6a8fb3bab65991f0ec1a347d7fcf7579e1
[ "Apache-2.0" ]
25
2021-11-02T14:24:13.000Z
2022-03-28T13:40:57.000Z
examples/example_device/renderer/Raycast.cpp
Twinklebear/ANARI-SDK
d40eef6a8fb3bab65991f0ec1a347d7fcf7579e1
[ "Apache-2.0" ]
14
2021-11-02T14:19:35.000Z
2022-03-25T17:38:35.000Z
// Copyright 2021 The Khronos Group // SPDX-License-Identifier: Apache-2.0 #include "Raycast.h" namespace anari { namespace example_device { RenderedSample Raycast::renderSample(Ray ray, const World &world) const { if (auto hit = closestHit(ray, world); hitGeometry(hit)) { GeometryInfo &info = getGeometryInfo(...
23.461538
73
0.690164
Twinklebear
0a80ebb0bb5304e3df3e3c402222019b356db874
487
cpp
C++
ReverseAnArray/main.cpp
KhunJahad/Arrays
644e64fe2e88a4817afe1ce482e93f8876b85c6a
[ "MIT" ]
null
null
null
ReverseAnArray/main.cpp
KhunJahad/Arrays
644e64fe2e88a4817afe1ce482e93f8876b85c6a
[ "MIT" ]
null
null
null
ReverseAnArray/main.cpp
KhunJahad/Arrays
644e64fe2e88a4817afe1ce482e93f8876b85c6a
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; typedef long long int ll; void read_input(){ #ifndef ONLINE_JUDGE freopen("input.txt","r",stdin); freopen("output.txt","w",stdout); #endif } int main(){ read_input(); int n; cin>>n; int arr[n]; for(int i=0;i<n;i++) { cin>>arr[i]; } int i=0; int...
12.815789
35
0.527721
KhunJahad
0a82694de78ddc786187310c17ce3f7d0f5b6a0c
4,386
cpp
C++
Engine/Misc/Sources/Reflection/Archiver.cpp
kaluginadaria/YetAnotherProject
abedd20b484f868ded83e72261970703a27e024d
[ "MIT" ]
1
2018-05-02T10:40:26.000Z
2018-05-02T10:40:26.000Z
Engine/Misc/Sources/Reflection/Archiver.cpp
kaluginadaria/YetAnotherProject
abedd20b484f868ded83e72261970703a27e024d
[ "MIT" ]
9
2018-03-26T10:22:07.000Z
2018-05-22T20:43:14.000Z
Engine/Misc/Sources/Reflection/Archiver.cpp
kaluginadaria/YetAnotherProject
abedd20b484f868ded83e72261970703a27e024d
[ "MIT" ]
6
2018-04-15T16:03:32.000Z
2018-05-21T22:02:49.000Z
#include "Archiver.hpp" #include "boost/property_tree/ptree.hpp" #include "boost/property_tree/json_parser.hpp" #include <iostream> namespace pt = boost::property_tree; #define CAUGORY_PREFIX '@' bool IsCategory(const std::string& str) { if (str.length()) { return str[0] == CAUGORY_PREFIX; } throw std::run...
19.321586
79
0.581167
kaluginadaria
0a82acaa5ff8e88df5a421e4c3718cb2a14054e3
606
cpp
C++
src/parser/statement/insert_statement.cpp
AldoMyrtaj/duckdb
3aa4978a2ceab8df25e4b20c388bcd7629de73ed
[ "MIT" ]
1
2022-02-07T14:37:01.000Z
2022-02-07T14:37:01.000Z
src/parser/statement/insert_statement.cpp
AldoMyrtaj/duckdb
3aa4978a2ceab8df25e4b20c388bcd7629de73ed
[ "MIT" ]
1
2021-12-23T10:01:18.000Z
2021-12-23T10:01:18.000Z
src/parser/statement/insert_statement.cpp
AldoMyrtaj/duckdb
3aa4978a2ceab8df25e4b20c388bcd7629de73ed
[ "MIT" ]
null
null
null
#include "duckdb/parser/statement/insert_statement.hpp" namespace duckdb { InsertStatement::InsertStatement() : SQLStatement(StatementType::INSERT_STATEMENT), schema(DEFAULT_SCHEMA) { } InsertStatement::InsertStatement(const InsertStatement &other) : SQLStatement(other), select_statement(unique_ptr_cast<SQ...
31.894737
108
0.780528
AldoMyrtaj
0a8326a7dbeff6e00485ef6152f1a0f4098d6228
7,211
cpp
C++
src/main/cpp/edu/rice/habanero/benchmarks/caf/caf_15_banking.cpp
tud-ccc/savina
914be6292f379a119751a8b5a38e35e6a99de69d
[ "MIT" ]
null
null
null
src/main/cpp/edu/rice/habanero/benchmarks/caf/caf_15_banking.cpp
tud-ccc/savina
914be6292f379a119751a8b5a38e35e6a99de69d
[ "MIT" ]
1
2022-02-06T17:40:09.000Z
2022-02-10T22:48:19.000Z
src/main/cpp/edu/rice/habanero/benchmarks/caf/caf_15_banking.cpp
tud-ccc/savina
914be6292f379a119751a8b5a38e35e6a99de69d
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <limits> #include <fstream> #include "benchmark_runner.hpp" #include "pseudo_random.hpp" using namespace std; using std::chrono::seconds; using namespace caf; class config : public actor_system_config { public: int a = 1000; int n = 50000; static double initial_...
26.608856
89
0.631535
tud-ccc
0a84a29252caed809898f8295a3b742c5a02e20d
3,066
cpp
C++
src/util/fileloader.cpp
JGeicke/sdl-game-engine
4a656145a9fc4f4490e61cbc87040de9f1abbb72
[ "MIT" ]
null
null
null
src/util/fileloader.cpp
JGeicke/sdl-game-engine
4a656145a9fc4f4490e61cbc87040de9f1abbb72
[ "MIT" ]
null
null
null
src/util/fileloader.cpp
JGeicke/sdl-game-engine
4a656145a9fc4f4490e61cbc87040de9f1abbb72
[ "MIT" ]
null
null
null
#include "fileloader.h" /** * @brief Loads, parses and creates the tilemap from tilemap json files created with tiled. * @param path - File path to json file. * @param layerCount - Layer count of the tilemap. * @return Created tilemap. */ Tilemap* FileLoader::loadTilemap(const char* path, size_t layerCount) { std::ifs...
33.326087
153
0.69439
JGeicke
0a860bc9020a9e68525164d8f713d2b2eb6b0e6d
10,846
cpp
C++
src/tools/json/ConfigFileParser/ConfigFileParser.cpp
IgVelasco/Marvel_Vs_Capcom
a714453d1cba9596c1fdc99383a0228e62334cf7
[ "MIT" ]
null
null
null
src/tools/json/ConfigFileParser/ConfigFileParser.cpp
IgVelasco/Marvel_Vs_Capcom
a714453d1cba9596c1fdc99383a0228e62334cf7
[ "MIT" ]
null
null
null
src/tools/json/ConfigFileParser/ConfigFileParser.cpp
IgVelasco/Marvel_Vs_Capcom
a714453d1cba9596c1fdc99383a0228e62334cf7
[ "MIT" ]
1
2020-05-06T23:30:36.000Z
2020-05-06T23:30:36.000Z
/* * ConfigFileParser.cpp * * Created on: 23 mar. 2019 * Author: sebastian */ #include "ConfigFileParser.h" const string DEFAULT_CONFIG_FILE_PATH = "config/config_default.json"; const string ERROR = "ERROR"; const string INFO = "INFO"; const string DEBUG = "DEBUG"; ConfigFileParser::ConfigFileParser(strin...
36.766102
138
0.658676
IgVelasco
0a90b0ddbfc888a5313fc61f340dfb9c0ca68815
306
cpp
C++
tapi-master/test/Inputs/CPP2/CPP2.cpp
JunyiXie/ld64
ffaa615b31ff1baa5d6249e4d9a6a21c2ae603ae
[ "Apache-2.0" ]
null
null
null
tapi-master/test/Inputs/CPP2/CPP2.cpp
JunyiXie/ld64
ffaa615b31ff1baa5d6249e4d9a6a21c2ae603ae
[ "Apache-2.0" ]
null
null
null
tapi-master/test/Inputs/CPP2/CPP2.cpp
JunyiXie/ld64
ffaa615b31ff1baa5d6249e4d9a6a21c2ae603ae
[ "Apache-2.0" ]
null
null
null
#include "Templates.h" // Templates namespace templates { template int foo1<short>(short a); template <> int foo1<>(int a) { return a; } template <class T> Foo<T>::Foo() {} template <class T> Foo<T>::~Foo() {} template <class T> Bar<T>::Bar() {} template class Bar<int>; } // end namespace templates.
19.125
43
0.650327
JunyiXie
0a912c7fd635c13e6f7172ff61e5354d513b92d7
363
cpp
C++
Checking_tool_of_pouring_machine/main.cpp
MagicXran/artistic_work
7661f2df7ab642569752e64559e5176520b89369
[ "Apache-2.0" ]
1
2022-03-02T13:57:33.000Z
2022-03-02T13:57:33.000Z
Checking_tool_of_pouring_machine/main.cpp
MagicXran/artistic_work
7661f2df7ab642569752e64559e5176520b89369
[ "Apache-2.0" ]
null
null
null
Checking_tool_of_pouring_machine/main.cpp
MagicXran/artistic_work
7661f2df7ab642569752e64559e5176520b89369
[ "Apache-2.0" ]
null
null
null
#define CONSOLE 1 #define DEBUG 0 #include "mainwindow.h" #include <QApplication> #include <cmath> #include "HellQt_Clion.h" int main(int argc , char *argv[]) { #if (CONSOLE == 1) setbuf(stdout , nullptr); #endif #if DEBUG == 0 QApplication a(argc , argv); MainWindow w; w.show(); return QApplica...
13.961538
35
0.636364
MagicXran
0a995fa2a52abcfefcaf592e01ded35168548582
2,618
cpp
C++
src/FileWatcher/FileWatcher.cpp
MisterVento3/SteelEngine
403511b53b6575eb869b4ccfbda18514f0838e8d
[ "MIT" ]
3
2017-05-10T10:58:17.000Z
2018-10-30T09:50:26.000Z
src/FileWatcher/FileWatcher.cpp
mVento3/SteelEngine
403511b53b6575eb869b4ccfbda18514f0838e8d
[ "MIT" ]
3
2017-05-09T21:17:09.000Z
2020-02-24T14:46:22.000Z
src/FileWatcher/FileWatcher.cpp
mVento3/SteelEngine
403511b53b6575eb869b4ccfbda18514f0838e8d
[ "MIT" ]
null
null
null
#include "FileWatcher/FileWatcher.h" namespace SteelEngine { bool FileWatcher::Contains(const std::string& key) { return m_Paths.find(key) != m_Paths.end(); } void FileWatcher::UpdateRecursive() { for(auto& file : std::filesystem::recursive_directory_iterator(m_Path)) { ...
24.698113
83
0.524064
MisterVento3
0a99b174d41fe78dae0410c38669f9d144d3afe7
222
cpp
C++
analyzer/test/ProtobufTest.cpp
corvofeng/Niftyflow
fb8012760cf68f7fb53d5160d3cf338a5312e956
[ "MIT" ]
4
2018-05-15T08:37:32.000Z
2020-08-07T07:06:14.000Z
analyzer/test/ProtobufTest.cpp
corvofeng/Niftyflow
fb8012760cf68f7fb53d5160d3cf338a5312e956
[ "MIT" ]
2
2019-01-26T02:19:55.000Z
2019-09-12T07:22:23.000Z
analyzer/test/ProtobufTest.cpp
corvofeng/Niftyflow
fb8012760cf68f7fb53d5160d3cf338a5312e956
[ "MIT" ]
3
2018-07-12T06:06:52.000Z
2019-09-11T01:30:00.000Z
#include <stdio.h> #include <stdlib.h> #include <unistd.h> #include "proto/message.pb.h" int main() { using tutorial::Person; Person john; john.set_id(1234); john.set_name("John Doe"); return 0; }
13.058824
30
0.626126
corvofeng
0a9e468ee465c90ad835dc5d7ec3889de6be90f6
548
cpp
C++
src/Core/ECEditorModule/dllmain.cpp
antont/tundra
5c9b0a3957071f08ab425dff701cdbb34f9e1868
[ "Apache-2.0" ]
null
null
null
src/Core/ECEditorModule/dllmain.cpp
antont/tundra
5c9b0a3957071f08ab425dff701cdbb34f9e1868
[ "Apache-2.0" ]
null
null
null
src/Core/ECEditorModule/dllmain.cpp
antont/tundra
5c9b0a3957071f08ab425dff701cdbb34f9e1868
[ "Apache-2.0" ]
null
null
null
// For conditions of distribution and use, see copyright notice in license.txt #include "StableHeaders.h" #include "Framework.h" #include "ECEditorModule.h" #include "SceneStructureModule.h" extern "C" { DLLEXPORT void TundraPluginMain(Framework *fw) { Framework::SetInstance(fw); // Inside this DLL, remember th...
24.909091
104
0.733577
antont
0aa2979cf89ce86a8ecae5c278315674edbc0f8f
110,684
cpp
C++
freeswitch/src/mod/endpoints/mod_khomp/src/khomp_pvt_kxe1.cpp
gidmoth/freeswitch-image-builder
f0169671d6a4683dd4ac7226a6b38ad94640e592
[ "BSD-2-Clause" ]
null
null
null
freeswitch/src/mod/endpoints/mod_khomp/src/khomp_pvt_kxe1.cpp
gidmoth/freeswitch-image-builder
f0169671d6a4683dd4ac7226a6b38ad94640e592
[ "BSD-2-Clause" ]
null
null
null
freeswitch/src/mod/endpoints/mod_khomp/src/khomp_pvt_kxe1.cpp
gidmoth/freeswitch-image-builder
f0169671d6a4683dd4ac7226a6b38ad94640e592
[ "BSD-2-Clause" ]
null
null
null
/******************************************************************************* KHOMP generic endpoint/channel library. Copyright (C) 2007-2010 Khomp Ind. & Com. The contents of this file are subject to the Mozilla Public License Version 1.1 (the "License"); you may not use this file except in compliance...
30.822612
176
0.54792
gidmoth
0aa4a664dab1a1b3e258056d127c70c106773801
2,137
hpp
C++
area_light.hpp
miky-kr5/PhotonMF
fcc1643c53a9e95963482d80b14a196ac1993d04
[ "BSD-2-Clause" ]
1
2021-04-02T08:14:23.000Z
2021-04-02T08:14:23.000Z
EVI - 2017/EVI 21/EVIray/area_light.hpp
miky-kr5/Presentations
338669e488aecf796da4086fdea8389891294624
[ "CC0-1.0" ]
1
2021-04-19T10:37:24.000Z
2021-04-19T12:13:30.000Z
area_light.hpp
miky-kr5/PhotonMF
fcc1643c53a9e95963482d80b14a196ac1993d04
[ "BSD-2-Clause" ]
null
null
null
#pragma once #ifndef AREA_LIGHT_HPP #define AREA_LIGHT_HPP #include "light.hpp" using glm::length; using glm::normalize; using glm::dot; class AreaLight: public Light { public: float m_const_att; float m_lin_att; float m_quad_att; Figure * m_figure; AreaLight(): Light(AREA), m_const_att(1.0), ...
23.483516
127
0.631259
miky-kr5
0aa4e7039a887f59c61bd7854672b961561e533a
594
cpp
C++
Tool-IOStreams/src/Iconv/IconvStringStream.cpp
tryptichon/Tool-IOStreams-for-CPP
7da340735c95d7f0b7bd861a6335b1aecad02d21
[ "MIT" ]
1
2018-06-21T16:23:17.000Z
2018-06-21T16:23:17.000Z
Tool-IOStreams/src/Iconv/IconvStringStream.cpp
tryptichon/Tool-IOStreams-for-CPP
7da340735c95d7f0b7bd861a6335b1aecad02d21
[ "MIT" ]
null
null
null
Tool-IOStreams/src/Iconv/IconvStringStream.cpp
tryptichon/Tool-IOStreams-for-CPP
7da340735c95d7f0b7bd861a6335b1aecad02d21
[ "MIT" ]
null
null
null
/** * @file IconvStringStream.cpp * * @brief File for class IconvStringStream * @date 04.08.2016 * @author duke */ #include "IconvStringStream.h" using namespace std; IconvStringStream::IconvStringStream(const string& a_from, const string& a_to) : IconvStream(c_str, a_from, a_to) { } IconvStringStream...
17.470588
103
0.69697
tryptichon
0aa9c0988648259660915b88a372b7e8c2b1b5d3
692
cpp
C++
functions.cpp
davidlares/davidC-
7c479757ec8574623c02b03ad5b1223a43805f5c
[ "MIT" ]
null
null
null
functions.cpp
davidlares/davidC-
7c479757ec8574623c02b03ad5b1223a43805f5c
[ "MIT" ]
null
null
null
functions.cpp
davidlares/davidC-
7c479757ec8574623c02b03ad5b1223a43805f5c
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; // this is a global variable int globalVar = 50; // returning string string sayName(string name){ return "Hello, " + name; } // not returning void otherFunction(){ cout << "Yep, Buddy"; } // default arg declaration int sum(int a, int b = 20){ int c = 20; // local sc...
19.771429
74
0.631503
davidlares
0aaa65314229355d95678cc1327d75b31d72cdcc
866
c++
C++
42.1_Square_Root_Decomposition-introduction.c++
Sambitcr-7/DSA-C-
f3c80f54fa6160a99f39a934f330cdf40711de50
[ "Apache-2.0" ]
null
null
null
42.1_Square_Root_Decomposition-introduction.c++
Sambitcr-7/DSA-C-
f3c80f54fa6160a99f39a934f330cdf40711de50
[ "Apache-2.0" ]
null
null
null
42.1_Square_Root_Decomposition-introduction.c++
Sambitcr-7/DSA-C-
f3c80f54fa6160a99f39a934f330cdf40711de50
[ "Apache-2.0" ]
null
null
null
#include "bits/stdc++.h" using namespace std; #define int long long const int N = 1e5+2, MOD = 1e9+7; signed main() { int n; cin >> n; vector<int> a(n); for(int i = 0 ; i < n; i++) cin >> a[i]; int len = sqrtl(n) + 1; vector<int> b(len); for(int i = 0; i < n; i++){ ...
16.653846
48
0.312933
Sambitcr-7
0aac5d609f834dca378b8a0480db5d9e68e7370f
1,725
cpp
C++
sse/features/detector.cpp
phygitalism/opensse
9611503bd09009cd5319f15cac8511dfb7d7b388
[ "Apache-2.0" ]
628
2015-01-07T09:27:12.000Z
2022-03-24T04:52:33.000Z
sse/features/detector.cpp
phygitalism/opensse
9611503bd09009cd5319f15cac8511dfb7d7b388
[ "Apache-2.0" ]
21
2015-09-11T11:30:53.000Z
2020-06-29T14:23:55.000Z
sse/features/detector.cpp
phygitalism/opensse
9611503bd09009cd5319f15cac8511dfb7d7b388
[ "Apache-2.0" ]
164
2015-01-06T11:00:54.000Z
2022-03-09T03:47:19.000Z
/************************************************************************* * Copyright (c) 2014 Zhang Dongdong * 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 *...
31.944444
77
0.611014
phygitalism
0aadb43caabd239e05efb407e6b17daf5194c6da
9,332
cpp
C++
Plugins/ProceduralToolkit/Source/ProceduralToolkit/Private/MeshDeformationComponent.cpp
normalvector/ue4_procedural_toolkit_demos
90021f805150d4af85cbcd063cef5379a3a2a184
[ "Unlicense", "MIT" ]
3
2017-03-23T10:22:50.000Z
2017-07-12T23:48:06.000Z
Plugins/ProceduralToolkit/Source/ProceduralToolkit/Private/MeshDeformationComponent.cpp
normalvector/ue4_procedural_toolkit_demos
90021f805150d4af85cbcd063cef5379a3a2a184
[ "Unlicense", "MIT" ]
null
null
null
Plugins/ProceduralToolkit/Source/ProceduralToolkit/Private/MeshDeformationComponent.cpp
normalvector/ue4_procedural_toolkit_demos
90021f805150d4af85cbcd063cef5379a3a2a184
[ "Unlicense", "MIT" ]
null
null
null
// (c)2017 Paul Golds, released under MIT License. #include "ProceduralToolkit.h" #include "MeshGeometry.h" #include "MeshDeformationComponent.h" // Sets default values for this component's properties UMeshDeformationComponent::UMeshDeformationComponent() { // This component can never tick, it doesn't upd...
37.031746
266
0.747857
normalvector
0ab0e4296c8448eed643b8b691d1ad461c57b101
677
cpp
C++
Arrays/Rearrange the array in alternating positive and negative items.cpp
akshay-thummar/DSA-Busted
8194411555d978bcf9bd66f9e0da5e502a94a493
[ "MIT" ]
17
2021-12-03T14:29:01.000Z
2022-03-09T18:25:05.000Z
Arrays/Rearrange the array in alternating positive and negative items.cpp
riti2409/DSA-Busted
8194411555d978bcf9bd66f9e0da5e502a94a493
[ "MIT" ]
null
null
null
Arrays/Rearrange the array in alternating positive and negative items.cpp
riti2409/DSA-Busted
8194411555d978bcf9bd66f9e0da5e502a94a493
[ "MIT" ]
4
2022-01-29T14:03:48.000Z
2022-03-01T22:53:41.000Z
#include <bits/stdc++.h> using namespace std; void rearrange(int arr[], int n) { int i = -1, j = n; while (i < j) { while(i <= n - 1 and arr[i] > 0) i += 1; while (j >= 0 and arr[j] < 0) j -= 1; if (i < j) swap(arr[i], arr[j]); } if (i == 0 || i == n) return; int k = 0; while (k < n && i ...
13.019231
37
0.472674
akshay-thummar
0ab16f352baed697459b0e8a44486f9a280441e2
34,465
cxx
C++
com/ole32/dcomss/olescm/launch.cxx
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
com/ole32/dcomss/olescm/launch.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
com/ole32/dcomss/olescm/launch.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
//+------------------------------------------------------------------------- // // Microsoft Windows // Copyright (C) Microsoft Corporation, 1997. // // File: launch.cxx // // Contents: // // History: ?-??-?? ??? Created // 6-17-99 a-sergiv Added event log filtering // ...
30.554078
125
0.509125
npocmaka
0ab21f1f6a3c12d070a8c3a8429e872838c2f35a
1,670
hpp
C++
Oem/dbxml/dbxml/src/dbxml/NameID.hpp
achilex/MgDev
f7baf680a88d37659af32ee72b9a2046910b00d8
[ "PHP-3.0" ]
2
2017-04-19T01:38:30.000Z
2020-07-31T03:05:32.000Z
Oem/dbxml/dbxml/src/dbxml/NameID.hpp
achilex/MgDev
f7baf680a88d37659af32ee72b9a2046910b00d8
[ "PHP-3.0" ]
null
null
null
Oem/dbxml/dbxml/src/dbxml/NameID.hpp
achilex/MgDev
f7baf680a88d37659af32ee72b9a2046910b00d8
[ "PHP-3.0" ]
1
2021-12-29T10:46:12.000Z
2021-12-29T10:46:12.000Z
// // See the file LICENSE for redistribution information. // // Copyright (c) 2002,2009 Oracle. All rights reserved. // // #ifndef __NAMEID_HPP #define __NAMEID_HPP #include <dbxml/XmlPortability.hpp> #include <iosfwd> #include <db.h> /** NameID * A class to encapsulate Name IDs, which are primary * keys into th...
17.395833
56
0.682635
achilex
0ab923e2575c9df0a4a5a0d8c7646375cae8dd91
2,345
cc
C++
operator_cxx/contrib/decode_3d_bbox.cc
jie311/RangeDet
5078ce339c6d27a009aed1ca2790911ce4d10bc7
[ "Apache-2.0" ]
125
2021-08-09T02:14:04.000Z
2022-03-30T03:41:56.000Z
operator_cxx/contrib/decode_3d_bbox.cc
jie311/RangeDet
5078ce339c6d27a009aed1ca2790911ce4d10bc7
[ "Apache-2.0" ]
15
2021-08-31T06:12:31.000Z
2022-03-17T00:21:35.000Z
operator_cxx/contrib/decode_3d_bbox.cc
jie311/RangeDet
5078ce339c6d27a009aed1ca2790911ce4d10bc7
[ "Apache-2.0" ]
8
2021-08-10T03:08:10.000Z
2022-03-09T06:21:11.000Z
/*! * \file decode_3d_bbox.cc * \brief decode 3d bbox to laser frame * \author Lve Fan */ #include "./decode_3d_bbox-inl.h" #include <dmlc/parameter.h> #include "operator_common.h" namespace mxnet { namespace op { DMLC_REGISTER_PARAMETER(DecodeParam); NNVM_REGISTER_OP(_contrib_Decode3DBbox) .describe("Decode3DBbo...
34.485294
92
0.695522
jie311
0abc9aafaf3e5f98171c88fc873d188176b666c0
7,865
cpp
C++
willow/src/subgraph/suffixtree.cpp
gglin001/popart
3225214343f6d98550b6620e809a3544e8bcbfc6
[ "MIT" ]
61
2020-07-06T17:11:46.000Z
2022-03-12T14:42:51.000Z
willow/src/subgraph/suffixtree.cpp
gglin001/popart
3225214343f6d98550b6620e809a3544e8bcbfc6
[ "MIT" ]
1
2021-02-25T01:30:29.000Z
2021-11-09T11:13:14.000Z
willow/src/subgraph/suffixtree.cpp
gglin001/popart
3225214343f6d98550b6620e809a3544e8bcbfc6
[ "MIT" ]
6
2020-07-15T12:33:13.000Z
2021-11-07T06:55:00.000Z
// Copyright (c) 2019 Graphcore Ltd. All rights reserved. // ============================================================================= // Suffix Tree implementation based on: // http://llvm.org/doxygen/MachineOutliner_8cpp_source.html // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Iden...
29.791667
80
0.587413
gglin001
0ac6e5afbba86fd00ebe35dbf33cba1369ea44d3
300
cpp
C++
Online Judges/URI/1174/main.cpp
AnneLivia/URI-Online
02ff972be172a62b8abe25030c3676f6c04efd1b
[ "MIT" ]
64
2019-03-17T08:56:28.000Z
2022-01-14T02:31:21.000Z
Online Judges/URI/1174/main.cpp
AnneLivia/URI-Online
02ff972be172a62b8abe25030c3676f6c04efd1b
[ "MIT" ]
1
2020-12-24T07:16:30.000Z
2021-03-23T20:51:05.000Z
Online Judges/URI/1174/main.cpp
AnneLivia/URI-Online
02ff972be172a62b8abe25030c3676f6c04efd1b
[ "MIT" ]
19
2019-05-25T10:48:16.000Z
2022-01-07T10:07:46.000Z
#include <iostream> #include "stdio.h" using namespace std; int main() { float vet[100]; for(int i = 0; i < 100; i++) cin >> vet[i]; for(int i = 0; i < 100; i++) { if(vet[i] <= 10) { printf("A[%d] = %.1f\n",i,vet[i]); } } return 0; }
13.043478
46
0.423333
AnneLivia
0aca5a38a4d748d628d59c2cdefe5d6ed8b86d93
6,578
hpp
C++
integrations/near/include/marlin/near/OnRampNear.hpp
marlinprotocol/OpenWeaver
7a8c668cccc933d652fabe8a141e702b8a0fd066
[ "MIT" ]
60
2020-07-01T17:37:34.000Z
2022-02-16T03:56:55.000Z
integrations/near/include/marlin/near/OnRampNear.hpp
marlinpro/openweaver
0aca30fbda3121a8e507f48a52b718b5664a5bbc
[ "MIT" ]
5
2020-10-12T05:17:49.000Z
2021-05-25T15:47:01.000Z
integrations/near/include/marlin/near/OnRampNear.hpp
marlinpro/openweaver
0aca30fbda3121a8e507f48a52b718b5664a5bbc
[ "MIT" ]
18
2020-07-01T17:43:18.000Z
2022-01-09T14:29:08.000Z
#ifndef MARLIN_ONRAMP_NEAR_HPP #define MARLIN_ONRAMP_NEAR_HPP #include <marlin/multicast/DefaultMulticastClient.hpp> #include <marlin/near/NearTransportFactory.hpp> #include <marlin/near/NearTransport.hpp> #include <cryptopp/blake2.h> #include <libbase58.h> #include <boost/filesystem.hpp> #include <marlin/pubsub/attes...
27.991489
175
0.710702
marlinprotocol
0acc0091c5b171f1dc9e5a815584daee9c772ba3
4,942
cpp
C++
src/mayaToCorona/src/shaders/coronaSkyShader.cpp
haggi/OpenMaya
746e0740f480d9ef8d2173f31b3c99b9b0ea0d24
[ "MIT" ]
42
2015-01-03T15:07:25.000Z
2021-12-09T03:56:59.000Z
src/mayaToCorona/src/shaders/coronaSkyShader.cpp
haggi/OpenMaya
746e0740f480d9ef8d2173f31b3c99b9b0ea0d24
[ "MIT" ]
66
2015-01-02T13:28:44.000Z
2022-03-16T14:00:57.000Z
src/mayaToCorona/src/shaders/coronaSkyShader.cpp
haggi/OpenMaya
746e0740f480d9ef8d2173f31b3c99b9b0ea0d24
[ "MIT" ]
12
2015-02-07T05:02:17.000Z
2020-07-10T17:21:44.000Z
#include "CoronaSkyShader.h" #include <maya/MIOStream.h> #include <maya/MString.h> #include <maya/MPlug.h> #include <maya/MDataBlock.h> #include <maya/MDataHandle.h> #include <maya/MArrayDataHandle.h> #include <maya/MFnNumericAttribute.h> #include <maya/MFnLightDataAttribute.h> #include <maya/MFnEnumAttribute.h> #incl...
32.090909
105
0.784298
haggi
0ace9a65a4c571ade034821a6875ff8836c32a7f
1,772
cpp
C++
llvm/tools/clang/test/SemaCXX/declspec-thread.cpp
oslab-swrc/juxta
481cd6f01e87790041a07379805968bcf57d75f4
[ "MIT" ]
58
2016-08-27T03:19:14.000Z
2022-01-05T17:33:44.000Z
llvm/tools/clang/test/SemaCXX/declspec-thread.cpp
oslab-swrc/juxta
481cd6f01e87790041a07379805968bcf57d75f4
[ "MIT" ]
14
2017-12-01T17:16:59.000Z
2020-12-21T12:16:35.000Z
llvm/tools/clang/test/SemaCXX/declspec-thread.cpp
oslab-swrc/juxta
481cd6f01e87790041a07379805968bcf57d75f4
[ "MIT" ]
22
2016-11-27T09:53:31.000Z
2021-11-22T00:22:53.000Z
// RUN: %clang_cc1 -triple i686-pc-win32 -std=c++11 -fms-extensions -verify %s __thread __declspec(thread) int a; // expected-error {{already has a thread-local storage specifier}} __declspec(thread) __thread int b; // expected-error {{already has a thread-local storage specifier}} __declspec(thread) int c(); // expec...
41.209302
121
0.743228
oslab-swrc
0ad04d8b69dc66dd4d445976f266f906996e366d
14,363
cc
C++
example/Mcached/mraft/floyd/src/floyd_peer_thread.cc
fasShare/moxie-simple
9b21320f868ca1fe05ca5d39e70eb053d31155ee
[ "MIT" ]
1
2018-09-27T09:10:11.000Z
2018-09-27T09:10:11.000Z
example/Mcached/mraft/floyd/src/floyd_peer_thread.cc
fasShare/moxie-simple
9b21320f868ca1fe05ca5d39e70eb053d31155ee
[ "MIT" ]
1
2018-09-16T07:17:29.000Z
2018-09-16T07:17:29.000Z
example/Mcached/mraft/floyd/src/floyd_peer_thread.cc
fasShare/moxie-simple
9b21320f868ca1fe05ca5d39e70eb053d31155ee
[ "MIT" ]
null
null
null
// Copyright (c) 2015-present, Qihoo, Inc. All rights reserved. // This source code is licensed under the BSD-style license found in the // LICENSE file in the root directory of this source tree. An additional grant // of patent rights can be found in the PATENTS file in the same directory. #include "floyd/src/floyd_...
40.803977
128
0.695537
fasShare
bd5b2d5cb6ca0b2532b797a3479224695baa811f
930
cpp
C++
Przyklady/05_tabliceDwuwymiarowe/TablicaSumaWWierszu.cpp
galursa/WSB_PodstawyProgramowania
4cc3d7f205c060bf8f676fbc3ed6030a9235d71a
[ "MIT" ]
null
null
null
Przyklady/05_tabliceDwuwymiarowe/TablicaSumaWWierszu.cpp
galursa/WSB_PodstawyProgramowania
4cc3d7f205c060bf8f676fbc3ed6030a9235d71a
[ "MIT" ]
null
null
null
Przyklady/05_tabliceDwuwymiarowe/TablicaSumaWWierszu.cpp
galursa/WSB_PodstawyProgramowania
4cc3d7f205c060bf8f676fbc3ed6030a9235d71a
[ "MIT" ]
null
null
null
#include <iostream> #include <iomanip> using namespace std; // Pobieramy wartosci od uzytkownika i liczymy sume w wierszach i ja wyswietlamy int main() { int rozmiar = 3; int losowe[rozmiar][rozmiar]; cout<<"Liczymy sume w wierszach. Prosze podac wartosci do tablicy\n"; for(int i = 0; i<rozmiar; i++) ...
22.682927
80
0.452688
galursa
bd5f7e448e051e5da5b259abf12f1f6241da3b02
1,471
cpp
C++
src/ros_can_nodes/src/CANSendQueue.cpp
bluesat/ros_can_nodes
879114dc082c63c5d743e87a6f29e15ca6728156
[ "BSD-3-Clause" ]
1
2020-07-13T02:15:23.000Z
2020-07-13T02:15:23.000Z
src/ros_can_nodes/src/CANSendQueue.cpp
bluesat/ros_can_nodes
879114dc082c63c5d743e87a6f29e15ca6728156
[ "BSD-3-Clause" ]
3
2018-12-04T21:12:15.000Z
2019-09-08T05:54:48.000Z
src/ros_can_nodes/src/CANSendQueue.cpp
bluesat/ros_can_nodes
879114dc082c63c5d743e87a6f29e15ca6728156
[ "BSD-3-Clause" ]
null
null
null
#include "CANSendQueue.hpp" #include "CANHelpers.hpp" #include <mutex> #include <condition_variable> #include <thread> #include <ros/console.h> //#define DEBUG CANSendQueue& CANSendQueue::instance() { static CANSendQueue instance; return instance; } void CANSendQueue::push(const can_frame& frame) { std::...
24.516667
100
0.511217
bluesat
bd5f9fe5cad422e6b19dcfafae452e65e41f1db0
641
cpp
C++
leetcode/1318.cpp
raghavxk/Competitive-Programming
131c9fffc92b638834c33e0ee0933adcd1e0d92a
[ "MIT" ]
1
2021-09-29T13:10:03.000Z
2021-09-29T13:10:03.000Z
leetcode/1318.cpp
raghavxk/Competitive-Programming
131c9fffc92b638834c33e0ee0933adcd1e0d92a
[ "MIT" ]
null
null
null
leetcode/1318.cpp
raghavxk/Competitive-Programming
131c9fffc92b638834c33e0ee0933adcd1e0d92a
[ "MIT" ]
null
null
null
class Solution { public: int minFlips(int a, int b, int c) { int flips=0; for(int i=0;i<32;++i){ bool aCheck=(a&(1<<i)); bool bCheck=(b&(1<<i)); bool aOrB= (aCheck | bCheck); bool cCheck=(c&(1<<i)); if(aOrB!=cCheck){ ...
23.740741
52
0.316693
raghavxk
bd611ede16ba1b25fefb73a03009e0673751893e
6,975
hpp
C++
tools/IYFEditor/include/assetImport/ConverterState.hpp
manvis/IYFEngine
741a8d0dcc9b3e3ff8a8adb92850633523516604
[ "BSD-3-Clause" ]
5
2018-07-03T17:05:43.000Z
2020-02-03T00:23:46.000Z
tools/IYFEditor/include/assetImport/ConverterState.hpp
manvis/IYFEngine
741a8d0dcc9b3e3ff8a8adb92850633523516604
[ "BSD-3-Clause" ]
null
null
null
tools/IYFEditor/include/assetImport/ConverterState.hpp
manvis/IYFEngine
741a8d0dcc9b3e3ff8a8adb92850633523516604
[ "BSD-3-Clause" ]
null
null
null
// The IYFEngine // // Copyright (C) 2015-2018, Manvydas Šliamka // // Redistribution and use in source and binary forms, with or without modification, are // permitted provided that the following conditions are met: // // 1. Redistributions of source code must retain the above copyright notice, this list of // condi...
39.40678
153
0.723441
manvis
bd6498ebcf6b3862846ab9fbc7cd8e06f8914bc6
1,887
cpp
C++
test/test.cpp
ern0/tabletenniscounter
1157b6882978e3af8e6769d3a1cefc2db1fe446d
[ "MIT" ]
null
null
null
test/test.cpp
ern0/tabletenniscounter
1157b6882978e3af8e6769d3a1cefc2db1fe446d
[ "MIT" ]
null
null
null
test/test.cpp
ern0/tabletenniscounter
1157b6882978e3af8e6769d3a1cefc2db1fe446d
[ "MIT" ]
null
null
null
# include <stdio.h> enum Beep { B_IDLE1 = 1, B_IDLE2 = 2 }; int score[2]; char gameMode; char firstPlayer; # include "ttc_selectIdleBeep.cpp" int pass = 0; int fail = 0; int total = 0; void check(char gm, int sc0, int sc1, int res) { gameMode = gm; score[0] = sc0; score[1] = sc1; int r = selectIdleBeep();...
14.97619
48
0.595654
ern0
bd67a931654ebe222ab68bf555e3de5159fcec5a
1,315
cpp
C++
.upstream-tests/test/std/atomics/atomics.order/memory_order.pass.cpp
wmaxey/libcudacxx
f6a1e6067d0ccaae1c2717aef751622033481590
[ "Apache-2.0" ]
null
null
null
.upstream-tests/test/std/atomics/atomics.order/memory_order.pass.cpp
wmaxey/libcudacxx
f6a1e6067d0ccaae1c2717aef751622033481590
[ "Apache-2.0" ]
null
null
null
.upstream-tests/test/std/atomics/atomics.order/memory_order.pass.cpp
wmaxey/libcudacxx
f6a1e6067d0ccaae1c2717aef751622033481590
[ "Apache-2.0" ]
1
2021-11-12T21:19:28.000Z
2021-11-12T21:19:28.000Z
//===----------------------------------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
33.717949
80
0.624335
wmaxey
bd717254f479e9cdd051a705e97758ca777a24b8
9,223
hpp
C++
include/targets/LPC81x/lpc81x_pin.hpp
hparracho/Xarmlib
4a7c08fde796b3487845c3a4beecc21ceafde67c
[ "MIT" ]
3
2018-03-21T18:04:42.000Z
2018-05-30T09:27:29.000Z
include/targets/LPC81x/lpc81x_pin.hpp
hparracho/Xarmlib
4a7c08fde796b3487845c3a4beecc21ceafde67c
[ "MIT" ]
2
2018-06-28T14:39:19.000Z
2018-07-04T02:07:02.000Z
include/targets/LPC81x/lpc81x_pin.hpp
hparracho/Xarmlib
4a7c08fde796b3487845c3a4beecc21ceafde67c
[ "MIT" ]
5
2018-05-24T10:59:32.000Z
2021-08-06T15:57:58.000Z
// ---------------------------------------------------------------------------- // @file lpc81x_pin.hpp // @brief NXP LPC81x pin class. // @date 28 February 2019 // ---------------------------------------------------------------------------- // // Xarmlib 0.1.0 - https://github.com/hparracho/Xarmlib // Copyrigh...
35.748062
115
0.479996
hparracho
bd7259cbf18f2a5279e6c1dfe77392674b0b55cd
3,804
cc
C++
qualitycheck/src/model/GetPrecisionTaskResult.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "Apache-2.0" ]
89
2018-02-02T03:54:39.000Z
2021-12-13T01:32:55.000Z
qualitycheck/src/model/GetPrecisionTaskResult.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "Apache-2.0" ]
89
2018-03-14T07:44:54.000Z
2021-11-26T07:43:25.000Z
qualitycheck/src/model/GetPrecisionTaskResult.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...
34.581818
94
0.740799
aliyun
bd75be9438489717135ee58ddca13deac6e3e5ae
444
cpp
C++
Diversos trabalhos/Matriz/novo vetor.cpp
ewertonpugliesi/Trabalhos-em-C-C--
fd6400ff1621ac00907adc531ac7ad38121c532c
[ "MIT" ]
null
null
null
Diversos trabalhos/Matriz/novo vetor.cpp
ewertonpugliesi/Trabalhos-em-C-C--
fd6400ff1621ac00907adc531ac7ad38121c532c
[ "MIT" ]
null
null
null
Diversos trabalhos/Matriz/novo vetor.cpp
ewertonpugliesi/Trabalhos-em-C-C--
fd6400ff1621ac00907adc531ac7ad38121c532c
[ "MIT" ]
null
null
null
//Escrever um novo vetor,atraves de dois outros,mutiplicando valores de mesmo indice, #include<stdio.h> #include<conio.h> main() { int cont,num[10],num2[10],resul[10]; for (cont=0 ; cont<=9 ; cont++) { printf("Digite um valor "); scanf("%i",&num[10]); } for(cont=0; cont<=9 ; cont++) { printf("Digite um outro valor "); ...
18.5
85
0.632883
ewertonpugliesi