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
109
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
48.5k
⌀
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
b4b95bc71828d479913b129fbbe58c8e6e1e5e19
7,414
cc
C++
src/captain/CaptWirePlaneBuilder.cc
andrewmogan/edep-sim
4e9923ccba8b2f65f47b72cbb41ed683f19f1123
[ "MIT" ]
15
2017-04-25T14:20:22.000Z
2022-03-15T19:39:43.000Z
src/captain/CaptWirePlaneBuilder.cc
andrewmogan/edep-sim
4e9923ccba8b2f65f47b72cbb41ed683f19f1123
[ "MIT" ]
24
2017-11-08T21:16:48.000Z
2022-03-04T13:33:18.000Z
src/captain/CaptWirePlaneBuilder.cc
andrewmogan/edep-sim
4e9923ccba8b2f65f47b72cbb41ed683f19f1123
[ "MIT" ]
20
2017-11-09T15:41:46.000Z
2022-01-25T20:52:32.000Z
#include "CaptWirePlaneBuilder.hh" #include "EDepSimBuilder.hh" #include "EDepSimLog.hh" #include <globals.hh> #include <G4Material.hh> #include <G4LogicalVolume.hh> #include <G4VPhysicalVolume.hh> #include <G4PVPlacement.hh> #include <G4VisAttributes.hh> #include <G4SystemOfUnits.hh> #include <G4PhysicalConstants.h...
36.70297
88
0.542217
andrewmogan
b4bd651a1d78aa0cbc6c1cad42b68372cddb9f5c
51,875
cpp
C++
tests/containers/ppq/benchmark_pqs.cpp
motis-project/stxxl
693fc195b7b8645264dc955e886b117a0e25d422
[ "BSL-1.0" ]
406
2015-01-31T01:37:16.000Z
2022-03-14T00:58:18.000Z
tests/containers/ppq/benchmark_pqs.cpp
bensuperpc/stxxl
b9e44f0ecba7d7111fbb33f3330c3e53f2b75236
[ "BSL-1.0" ]
82
2015-01-06T14:06:19.000Z
2021-05-02T13:30:32.000Z
tests/containers/ppq/benchmark_pqs.cpp
bensuperpc/stxxl
b9e44f0ecba7d7111fbb33f3330c3e53f2b75236
[ "BSL-1.0" ]
89
2015-02-11T20:01:16.000Z
2022-03-28T18:20:18.000Z
/*************************************************************************** * tests/containers/ppq/benchmark_pqs.cpp * * Part of the STXXL. See http://stxxl.sourceforge.net * * Copyright (C) 2014-2015 Thomas Keh <thomas.keh@student.kit.edu> * Copyright (C) 2014-2015 Timo Bingmann <tb@panthema.net> * * Dis...
27.666667
95
0.572472
motis-project
b4be82e52136ecc8632b3dd79cd83b9fd7ad9b71
1,842
cpp
C++
src/get-watched-videos-by-your-friends.cpp
Liuchang0812/leetcode
d71f87b0035e661d0009f4382b39c4787c355f89
[ "MIT" ]
9
2015-09-09T20:28:31.000Z
2019-05-15T09:13:07.000Z
src/get-watched-videos-by-your-friends.cpp
liuchang0812/leetcode
d71f87b0035e661d0009f4382b39c4787c355f89
[ "MIT" ]
1
2015-02-25T13:10:09.000Z
2015-02-25T13:10:09.000Z
src/get-watched-videos-by-your-friends.cpp
liuchang0812/leetcode
d71f87b0035e661d0009f4382b39c4787c355f89
[ "MIT" ]
1
2016-08-31T19:14:52.000Z
2016-08-31T19:14:52.000Z
class Solution { public: vector<string> watchedVideosByFriends(vector<vector<string>>& watchedVideos, vector<vector<int>>& friends, int id, int level) { bool ok[100][100]; memset(ok, 0, sizeof ok); for (int i=0;i<friends.size(); ++i) for (int j=0; j<friends[i].size(); ++j) { ...
32.892857
131
0.428882
Liuchang0812
b4c0eec267281a97820abeddfba2d4009928d7a8
3,836
cc
C++
src/odc/tools/ImportTool.cc
wsmigaj/odc
df2b00ee92be567500f5e96af0a6131f954d927d
[ "Apache-2.0" ]
2
2020-03-17T15:44:50.000Z
2020-11-18T09:28:18.000Z
src/odc/tools/ImportTool.cc
wsmigaj/odc
df2b00ee92be567500f5e96af0a6131f954d927d
[ "Apache-2.0" ]
4
2020-03-25T20:50:46.000Z
2021-10-20T00:03:19.000Z
src/odc/tools/ImportTool.cc
wsmigaj/odc
df2b00ee92be567500f5e96af0a6131f954d927d
[ "Apache-2.0" ]
6
2020-03-30T16:43:22.000Z
2021-11-14T09:22:07.000Z
/* * (C) Copyright 1996-2012 ECMWF. * * This software is licensed under the terms of the Apache Licence Version 2.0 * which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. * In applying this licence, ECMWF does not waive the privileges and immunities * granted to it by virtue of its status as an...
31.442623
131
0.645725
wsmigaj
b4c55a08ce3863d4018d1b2c780903cdb7d2acee
1,170
cp
C++
0.PARTE-I/A2.EX0LCD+BUZZER/AULA.cp
ronchifabricio/progparamicroprocessadores
692c6a334975b958a68e3348d2badd938871e506
[ "Unlicense", "MIT" ]
2
2015-06-18T18:52:23.000Z
2015-06-18T19:24:35.000Z
0.PARTE-I/A2.EX0LCD+BUZZER/AULA.cp
ronchifabricio/progparamicroprocessadores
692c6a334975b958a68e3348d2badd938871e506
[ "Unlicense", "MIT" ]
null
null
null
0.PARTE-I/A2.EX0LCD+BUZZER/AULA.cp
ronchifabricio/progparamicroprocessadores
692c6a334975b958a68e3348d2badd938871e506
[ "Unlicense", "MIT" ]
null
null
null
#line 1 "C:/Users/ceviana.CATOLICASC/Desktop/6_MCUs/_LAB/CODE/A2.EX0/AULA.c" #line 1 "c:/users/ceviana.catolicasc/desktop/6_mcus/_lab/code/a2.ex0/lcd_kitpic16f.h" sbit LCD_RS at RE2_bit; sbit LCD_EN at RE1_bit; sbit LCD_D4 at RD4_bit; sbit LCD_D5 at RD5_bit; sbit LCD_D6 at RD6_bit; sbit LCD_D7 at RD7_bit; sbit ...
27.209302
86
0.71453
ronchifabricio
b4cbafb91ba218f6357f94ad30196f4eaa3f28c3
1,244
cpp
C++
MaterialImporter.cpp
BorjaSasietaSole/KokaEngineV0
8da3c50100f30bbdfcba45a9cd9e6c999d7de4db
[ "MIT" ]
null
null
null
MaterialImporter.cpp
BorjaSasietaSole/KokaEngineV0
8da3c50100f30bbdfcba45a9cd9e6c999d7de4db
[ "MIT" ]
null
null
null
MaterialImporter.cpp
BorjaSasietaSole/KokaEngineV0
8da3c50100f30bbdfcba45a9cd9e6c999d7de4db
[ "MIT" ]
null
null
null
#include "MaterialImporter.h" #include "Globals.h" #include "Application.h" #include "ModuleFileSystem.h" #include "DevIL/include/IL/il.h" #include "DevIL/include/IL/ilut.h" bool MaterialImporter::Import(const char* path) { bool result = false; char* fileBuffer = nullptr; unsigned lenghBuffer = App->fileSystem-...
21.824561
78
0.66881
BorjaSasietaSole
b4cd91ea8a4bce6f8a2bbeb01d15f03cb5053de7
7,289
cc
C++
paddle/fluid/operators/cinn/cinn_launch_op_test.cc
gfwm0502/Paddle
cbce0e603ac2900258dfe29218860f30448aa53e
[ "Apache-2.0" ]
null
null
null
paddle/fluid/operators/cinn/cinn_launch_op_test.cc
gfwm0502/Paddle
cbce0e603ac2900258dfe29218860f30448aa53e
[ "Apache-2.0" ]
null
null
null
paddle/fluid/operators/cinn/cinn_launch_op_test.cc
gfwm0502/Paddle
cbce0e603ac2900258dfe29218860f30448aa53e
[ "Apache-2.0" ]
null
null
null
/* Copyright (c) 2021 PaddlePaddle 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...
37.963542
80
0.708465
gfwm0502
b4d44fc691f4958628fe989aa50ebe4803c1240a
299
cpp
C++
268.Missing Number/test.cpp
ReZeroS/LeetCode
807ae800437e0b6224bd4672f28007388625437b
[ "MIT" ]
2
2018-10-24T03:34:44.000Z
2020-07-16T15:34:44.000Z
268.Missing Number/test.cpp
ReZeroS/LeetCode
807ae800437e0b6224bd4672f28007388625437b
[ "MIT" ]
null
null
null
268.Missing Number/test.cpp
ReZeroS/LeetCode
807ae800437e0b6224bd4672f28007388625437b
[ "MIT" ]
null
null
null
class Solution { public: int missingNumber(vector<int>& nums) { int sum = 0; int vsum = 0; int cnt = nums.size(); for(int i = 0; i < cnt; ++i) { sum += i; vsum += nums[i]; } sum += cnt; return sum - vsum; } };
19.933333
42
0.408027
ReZeroS
b4d4538be9b4607e4d3115936a2333d3f79e2a1e
686
hpp
C++
sim_algorithm/vEB_search.hpp
pachicobue/CacheObliviousAlgorithms
db6e5f19c708d83208206091ae44cd6d7c71c4e0
[ "Unlicense" ]
null
null
null
sim_algorithm/vEB_search.hpp
pachicobue/CacheObliviousAlgorithms
db6e5f19c708d83208206091ae44cd6d7c71c4e0
[ "Unlicense" ]
null
null
null
sim_algorithm/vEB_search.hpp
pachicobue/CacheObliviousAlgorithms
db6e5f19c708d83208206091ae44cd6d7c71c4e0
[ "Unlicense" ]
null
null
null
#pragma once /** * @file vEB_search.hpp * @brief vEB Layoutを用いたCache Obliviousな二分探索 * @note * - 静的なデータのみを扱う */ #include "config.hpp" #include "simulator/data_cache.hpp" #include "simulator/disk_variable.hpp" /** * @brief vEB Layoutでデータを保持する構造体 * @details * - LowerBound(x): データのうちx以上の最小の値を返す */ class vEB_searc...
18.540541
50
0.638484
pachicobue
b4d52637a64d74d6a3ed3b19146a4de2b46d65c7
16,388
cpp
C++
src/knowbug_core/source_files.cpp
vain0x/knowbug
c0a5e3c5d7ba9bae95cf790652055026a200ba3e
[ "BSD-2-Clause" ]
7
2019-05-17T02:38:34.000Z
2022-02-19T07:44:01.000Z
src/knowbug_core/source_files.cpp
vain0x/knowbug
c0a5e3c5d7ba9bae95cf790652055026a200ba3e
[ "BSD-2-Clause" ]
92
2018-11-10T06:00:17.000Z
2021-12-01T15:18:20.000Z
src/knowbug_core/source_files.cpp
vain0x/knowbug
c0a5e3c5d7ba9bae95cf790652055026a200ba3e
[ "BSD-2-Clause" ]
3
2019-05-17T02:38:41.000Z
2021-08-01T01:31:13.000Z
#include "pch.h" #include <algorithm> #include <array> #include <fstream> #include <iterator> #include "source_files.h" #include "string_split.h" // 改行コードを CRLF に固定する。 static auto normalize_lines(Utf8StringView text) -> Utf8String { auto output = Utf8String{}; auto first = true; for (auto&& line : StringLines{ tex...
28.352941
135
0.690993
vain0x
b4d67e73e2fe9dd6377f3619fc24ce3d621c9524
22,151
cpp
C++
src/Magnum/Math/Test/FunctionsTest.cpp
felixguendling/magnum
8439cb792b3af9a878591186596e2f0c406b0897
[ "MIT" ]
4,038
2015-01-03T20:13:09.000Z
2022-03-29T06:19:13.000Z
src/Magnum/Math/Test/FunctionsTest.cpp
felixguendling/magnum
8439cb792b3af9a878591186596e2f0c406b0897
[ "MIT" ]
470
2015-01-02T13:19:22.000Z
2022-03-29T11:27:00.000Z
src/Magnum/Math/Test/FunctionsTest.cpp
felixguendling/magnum
8439cb792b3af9a878591186596e2f0c406b0897
[ "MIT" ]
473
2015-01-15T07:00:01.000Z
2022-03-28T01:04:18.000Z
/* This file is part of Magnum. Copyright © 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021 Vladimír Vondruš <mosra@centrum.cz> Copyright © 2020 janos <janos.meny@googlemail.com> Permission is hereby granted, free of charge, to any person obtaining a copy of ...
35.669887
146
0.646788
felixguendling
b4daa1221bbb25bf1924d06374fbcc684301d7bc
1,972
cpp
C++
OnlineChallenge/LeetCode/RelyOn/cTerminal.cpp
zxyinz/OnlineChallenge
3bd10de82d9ba64995fb64368e9f9af0989bbec8
[ "MIT" ]
null
null
null
OnlineChallenge/LeetCode/RelyOn/cTerminal.cpp
zxyinz/OnlineChallenge
3bd10de82d9ba64995fb64368e9f9af0989bbec8
[ "MIT" ]
null
null
null
OnlineChallenge/LeetCode/RelyOn/cTerminal.cpp
zxyinz/OnlineChallenge
3bd10de82d9ba64995fb64368e9f9af0989bbec8
[ "MIT" ]
null
null
null
#include"cTerminal.h" using namespace std; cTerminal::cTerminal(const string &strPrefix, const string &strBanner) :m_strPrefix(strPrefix), m_strBanner(strBanner), m_bStatus(true) { } cTerminal::~cTerminal() { this->m_CmdTable.clear(); } void cTerminal::iCreateCommand(const string &strCmd, CALLBACKFUNCPTR pFunc, const...
23.47619
98
0.724645
zxyinz
b4dbd8f1f93045e211770884b5aa2b22c1fa2504
6,039
cpp
C++
src/dis7/EntityAssociation.cpp
AlphaPixel/open-dis-cpp
90634cade32ac98e2108be8799bd2ec949c4337e
[ "BSD-2-Clause" ]
42
2017-02-22T07:23:06.000Z
2022-03-07T12:34:11.000Z
src/dis7/EntityAssociation.cpp
AlphaPixel/open-dis-cpp
90634cade32ac98e2108be8799bd2ec949c4337e
[ "BSD-2-Clause" ]
62
2017-07-14T11:06:55.000Z
2022-01-22T02:32:45.000Z
src/dis7/EntityAssociation.cpp
AlphaPixel/open-dis-cpp
90634cade32ac98e2108be8799bd2ec949c4337e
[ "BSD-2-Clause" ]
51
2017-08-10T16:44:32.000Z
2021-12-16T09:57:42.000Z
#include <dis7/EntityAssociation.h> using namespace DIS; EntityAssociation::EntityAssociation(): _recordType(2), _changeIndicator(0), _associationStatus(0), _associationType(0), _entityID(), _owsSttionLocation(0), _physicalConnectionType(0), _groupMemberType(0), _groupNumber(0) { }...
29.033654
89
0.745322
AlphaPixel
b4ddc438b30d7ac0680b80fbdcbc4680e85875a1
10,403
cpp
C++
aDDict/DDwindow.cpp
ConspiracyHu/2012SourcePack
e878e3a2ecece26931ad23416d4f856fd5d33540
[ "BSD-2-Clause" ]
115
2015-04-25T14:18:22.000Z
2022-03-31T13:12:00.000Z
aDDict/DDwindow.cpp
ConspiracyHu/2012SourcePack
e878e3a2ecece26931ad23416d4f856fd5d33540
[ "BSD-2-Clause" ]
null
null
null
aDDict/DDwindow.cpp
ConspiracyHu/2012SourcePack
e878e3a2ecece26931ad23416d4f856fd5d33540
[ "BSD-2-Clause" ]
13
2015-10-21T02:17:05.000Z
2021-12-01T20:13:52.000Z
#include "DDwindow.h" HDC hDC=NULL; HGLRC hRC=NULL; HWND hWnd=NULL; HINSTANCE hInstance; int mx,my,lx,ly,rx,ry,mbx,mby,wheel,fwKeys; bool leftbutton,rightbutton,middlebutton,lbuttonreleased,rbuttonreleased,mbuttonreleased = false; bool keys[256]; bool active=TRUE; bool fullscreen=TRUE; bool done = false;...
20.640873
100
0.617034
ConspiracyHu
b4e41efd17b8fa168885cc372505b7bbc68f0d90
7,816
cpp
C++
logdevice/lib/ops/EventLogUtils.cpp
SimonKinds/LogDevice
fc9ac2fccb6faa3292b2b0a610a9eb77fd445824
[ "BSD-3-Clause" ]
1
2018-10-17T06:49:04.000Z
2018-10-17T06:49:04.000Z
logdevice/lib/ops/EventLogUtils.cpp
msdgwzhy6/LogDevice
bc2491b7dfcd129e25490c7d5321d3d701f53ac4
[ "BSD-3-Clause" ]
null
null
null
logdevice/lib/ops/EventLogUtils.cpp
msdgwzhy6/LogDevice
bc2491b7dfcd129e25490c7d5321d3d701f53ac4
[ "BSD-3-Clause" ]
null
null
null
/** * Copyright (c) 2017-present, Facebook, Inc. and its affiliates. * 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. */ #include "EventLogUtils.h" #include <signal.h> #include <unordered_map> #include <uno...
34.892857
82
0.664278
SimonKinds
b4e5a874e26b2ffdd770c29d4e2c55f284001946
1,634
hpp
C++
src/include/duckdb/parser/query_node.hpp
pachamaltese/duckdb
81a0e923fd9d061f79c97aec05b41dfa26cf8581
[ "MIT" ]
1
2021-09-15T10:29:20.000Z
2021-09-15T10:29:20.000Z
src/include/duckdb/parser/query_node.hpp
pachamaltese/duckdb
81a0e923fd9d061f79c97aec05b41dfa26cf8581
[ "MIT" ]
null
null
null
src/include/duckdb/parser/query_node.hpp
pachamaltese/duckdb
81a0e923fd9d061f79c97aec05b41dfa26cf8581
[ "MIT" ]
1
2021-05-04T04:41:11.000Z
2021-05-04T04:41:11.000Z
//===----------------------------------------------------------------------===// // DuckDB // // duckdb/parser/query_node.hpp // // //===----------------------------------------------------------------------===// #pragma once #include "duckdb/common/common.hpp" #include "duckdb/common/serializ...
28.172414
80
0.676867
pachamaltese
b4e61accb32d4d04d78fe582729ed5278fc77b88
8,635
cc
C++
Archive/Stroika_FINAL_for_STERL_1992/Library/Foundation/Sources/Stack_LinkList.cc
SophistSolutions/Stroika
f4e5d84767903a054fba0a6b9c7c4bd1aaefd105
[ "MIT" ]
28
2015-09-22T21:43:32.000Z
2022-02-28T01:35:01.000Z
Archive/Stroika_FINAL_for_STERL_1992/Library/Foundation/Sources/Stack_LinkList.cc
SophistSolutions/Stroika
f4e5d84767903a054fba0a6b9c7c4bd1aaefd105
[ "MIT" ]
98
2015-01-22T03:21:27.000Z
2022-03-02T01:47:00.000Z
Archive/Stroika_FINAL_for_STERL_1992/Library/Foundation/Sources/Stack_LinkList.cc
SophistSolutions/Stroika
f4e5d84767903a054fba0a6b9c7c4bd1aaefd105
[ "MIT" ]
4
2019-02-21T16:45:25.000Z
2022-02-18T13:40:04.000Z
/* Copyright(c) Sophist Solutions Inc. 1990-1992. All rights reserved */ // This ifndef/define/endif stuff only needed if qRealTemplatesAvailable && !qTemplatesHasRepository #ifndef __Stack_LinkList__cc #define __Stack_LinkList__cc /* * $Header: /fuji/lewis/RCS/Stack_LinkList.cc,v 1.18 1992/12/04 16:10:47 lewis Exp...
26.009036
107
0.655704
SophistSolutions
b4e7b7cc93f5464818f03d23aa46392dc7e5fe43
13,893
cc
C++
src/theia/sfm/pose/five_point_focal_length_radial_distortion.cc
nuernber/TheiaSfM
0475f6b7b021a36d1d5c0d4a30608a2f45a1decb
[ "BSD-3-Clause" ]
null
null
null
src/theia/sfm/pose/five_point_focal_length_radial_distortion.cc
nuernber/TheiaSfM
0475f6b7b021a36d1d5c0d4a30608a2f45a1decb
[ "BSD-3-Clause" ]
null
null
null
src/theia/sfm/pose/five_point_focal_length_radial_distortion.cc
nuernber/TheiaSfM
0475f6b7b021a36d1d5c0d4a30608a2f45a1decb
[ "BSD-3-Clause" ]
1
2018-12-11T04:09:18.000Z
2018-12-11T04:09:18.000Z
// Copyright (C) 2014 The Regents of the University of California (Regents). // 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...
47.255102
79
0.598215
nuernber
b4e9bda518fa344434cfe55bc35af8aaad0d5460
2,700
hpp
C++
src/inc/internal/BundleManifestWriter.hpp
palenshus/msix-packaging
5883559c90f792f24e2237e9e4de10164548f2a2
[ "MIT" ]
486
2018-03-07T17:15:03.000Z
2019-05-06T20:05:44.000Z
src/inc/internal/BundleManifestWriter.hpp
palenshus/msix-packaging
5883559c90f792f24e2237e9e4de10164548f2a2
[ "MIT" ]
172
2019-05-14T18:56:36.000Z
2022-03-30T16:35:24.000Z
src/inc/internal/BundleManifestWriter.hpp
palenshus/msix-packaging
5883559c90f792f24e2237e9e4de10164548f2a2
[ "MIT" ]
83
2019-05-29T18:38:36.000Z
2022-03-17T07:34:16.000Z
// // Copyright (C) 2019 Microsoft. All rights reserved. // See LICENSE file in the project root for full license information. // #pragma once #include "XmlWriter.hpp" #include "ComHelper.hpp" #include "Exceptions.hpp" #include "UnicodeConversion.hpp" #include "VersionHelpers.hpp" #include <vector> ...
34.177215
117
0.67037
palenshus
b4eaddac3764db0b6ab26ea424f33b25eadd3a1f
943
cc
C++
messagefacility/Utilities/catch_main.cc
art-framework-suite/messagefacility
20afdb92552837cf7e782eaeaa05cb55d0b0c297
[ "BSD-3-Clause" ]
null
null
null
messagefacility/Utilities/catch_main.cc
art-framework-suite/messagefacility
20afdb92552837cf7e782eaeaa05cb55d0b0c297
[ "BSD-3-Clause" ]
null
null
null
messagefacility/Utilities/catch_main.cc
art-framework-suite/messagefacility
20afdb92552837cf7e782eaeaa05cb55d0b0c297
[ "BSD-3-Clause" ]
null
null
null
// vim: set sw=2 expandtab : #define CATCH_CONFIG_RUNNER #include "catch2/catch.hpp" #include "cetlib/filepath_maker.h" #include "fhiclcpp/ParameterSet.h" #include "messagefacility/MessageLogger/MessageLogger.h" #include <string> using namespace std; using namespace std::string_literals; int main(int argc, char** a...
26.194444
76
0.709438
art-framework-suite
b4ec20d411a6ff1bc837ddc9f00231aacb8b2381
24,003
cpp
C++
wxWidgets-3.1.0/src/common/xtistrm.cpp
screwjack/nemesis
8c2587d2aa60f8da6cf49e5f4f5740bf2666c6fd
[ "BSD-2-Clause" ]
2
2016-10-15T05:12:16.000Z
2016-11-06T16:19:53.000Z
wxWidgets-3.1.0/src/common/xtistrm.cpp
screwjack/nemesis
8c2587d2aa60f8da6cf49e5f4f5740bf2666c6fd
[ "BSD-2-Clause" ]
14
2016-09-21T21:24:46.000Z
2016-11-15T07:54:21.000Z
wxWidgets-3.1.0/src/common/xtistrm.cpp
screwjack/nemesis
8c2587d2aa60f8da6cf49e5f4f5740bf2666c6fd
[ "BSD-2-Clause" ]
null
null
null
///////////////////////////////////////////////////////////////////////////// // Name: src/common/xtistrm.cpp // Purpose: streaming runtime metadata information // Author: Stefan Csomor // Modified by: // Created: 27/07/03 // Copyright: (c) 2003 Stefan Csomor // Licence: wxWindows licence ////...
35.454948
103
0.540349
screwjack
b4ee1f38199bce39495df3f242e727afb7419e8a
791
hh
C++
const.hh
mascanio/Canny-Acc-Cuda-compare
0f4221f693a760a11213f25e823170f5b6850f03
[ "MIT" ]
null
null
null
const.hh
mascanio/Canny-Acc-Cuda-compare
0f4221f693a760a11213f25e823170f5b6850f03
[ "MIT" ]
null
null
null
const.hh
mascanio/Canny-Acc-Cuda-compare
0f4221f693a760a11213f25e823170f5b6850f03
[ "MIT" ]
null
null
null
// Miguel Ascanio Gómez // GPU - Práctica 1 #pragma once #include <math_constants.h> const float gaussKernel[] = { 2.0f, 4.0f, 5.0f, 4.0f, 2.0f, 4.0f, 9.0f, 12.0f, 9.0f, 4.0f, 5.0f, 12.0f, 15.0f, 12.0f, 5.0f, 4.0f, 9.0f, 12.0f, 9.0f, 4.0f, 2.0f, 4.0f, 5.0f, 4.0f, 2.0f }; const float gxKernel[] = ...
23.264706
40
0.537295
mascanio
b4f127022c426d3d1eec034e6494974bd05bc921
1,951
cpp
C++
solutions/subsets-ii/solution.cpp
locker/leetcode
bf34a697de47aaf32823224d054f9a45613ce180
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
solutions/subsets-ii/solution.cpp
locker/leetcode
bf34a697de47aaf32823224d054f9a45613ce180
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
solutions/subsets-ii/solution.cpp
locker/leetcode
bf34a697de47aaf32823224d054f9a45613ce180
[ "BSD-2-Clause-FreeBSD" ]
1
2019-08-30T06:53:23.000Z
2019-08-30T06:53:23.000Z
#include <algorithm> #include <iostream> #include <vector> using namespace std; template<typename T> ostream& operator<<(ostream& out, const vector<T>& v) { out << '['; for (auto it = v.begin(); it != v.end(); ++it) { if (it != v.begin()) out << ','; out << *it; } out << ']'; return out; } template<typen...
19.908163
64
0.555613
locker
b4f3909595208da11c86d34ee028179bb84f2c80
7,235
cpp
C++
src/src/range.cpp
Akaflieg-Freiburg/qhttpengine
aabc0ea3e507ba2d305c81b38c8c8c692472b434
[ "MIT" ]
null
null
null
src/src/range.cpp
Akaflieg-Freiburg/qhttpengine
aabc0ea3e507ba2d305c81b38c8c8c692472b434
[ "MIT" ]
null
null
null
src/src/range.cpp
Akaflieg-Freiburg/qhttpengine
aabc0ea3e507ba2d305c81b38c8c8c692472b434
[ "MIT" ]
null
null
null
/* * Copyright (c) 2017 Aleksei Ermakov * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to * deal in the Software without restriction, including without limitation the * rights to use, copy, modify, merge, pub...
25.297203
79
0.509191
Akaflieg-Freiburg
b4f7f4c0694c67e94de6f8f630e05d628a616810
2,361
hpp
C++
ql/math/randomnumbers/ranluxuniformrng.hpp
jiangjiali/QuantLib
37c98eccfa18a95acb1e98b276831641be92b38e
[ "BSD-3-Clause" ]
3,358
2015-12-18T02:56:17.000Z
2022-03-31T02:42:47.000Z
ql/math/randomnumbers/ranluxuniformrng.hpp
jiangjiali/QuantLib
37c98eccfa18a95acb1e98b276831641be92b38e
[ "BSD-3-Clause" ]
965
2015-12-21T10:35:28.000Z
2022-03-30T02:47:00.000Z
ql/math/randomnumbers/ranluxuniformrng.hpp
jiangjiali/QuantLib
37c98eccfa18a95acb1e98b276831641be92b38e
[ "BSD-3-Clause" ]
1,663
2015-12-17T17:45:38.000Z
2022-03-31T07:58:29.000Z
/* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Copyright (C) 2009 Klaus Spanderen This file is part of QuantLib, a free-software/open-source library for financial quantitative analysts and developers - http://quantlib.org/ QuantLib is free software: you can redistribute it and...
31.905405
79
0.694621
jiangjiali
b4fc442aebfa646b5aa112bcf95722285e48ff5a
396
hpp
C++
includes/logger.hpp
sndrz/glen
398fbc146c92a2fa36433e9a9865344bc4c23c6e
[ "MIT" ]
null
null
null
includes/logger.hpp
sndrz/glen
398fbc146c92a2fa36433e9a9865344bc4c23c6e
[ "MIT" ]
null
null
null
includes/logger.hpp
sndrz/glen
398fbc146c92a2fa36433e9a9865344bc4c23c6e
[ "MIT" ]
null
null
null
#pragma once #include <spdlog/spdlog.h> namespace glen { #ifdef NDEBUG #define LOG_INFO(...) #define LOG_WARNING(...) #define LOG_ERROR(...) #define LOG_CRITICAL(...) #else #define LOG_INFO(...) spdlog::info(__VA_ARGS__) #define LOG_WARNING(...) spdlog::warn(__VA_ARGS__) #define LOG_ERROR(...) spdlog::error(__V...
17.217391
55
0.707071
sndrz
b4fc57c5c2bf13a49401338e4ebd2d8c0f5a4bfd
1,320
cpp
C++
src/Base/Math/MathUtil.cpp
perezite/orbis
b22c2608c5b75ca3627feb17e86202b6b80e1ead
[ "MIT" ]
null
null
null
src/Base/Math/MathUtil.cpp
perezite/orbis
b22c2608c5b75ca3627feb17e86202b6b80e1ead
[ "MIT" ]
null
null
null
src/Base/Math/MathUtil.cpp
perezite/orbis
b22c2608c5b75ca3627feb17e86202b6b80e1ead
[ "MIT" ]
null
null
null
#include "MathUtil.h" #define _USE_MATH_DEFINES #include <math.h> #include <stdlib.h> #include <vector> #include <algorithm> namespace base { float MathUtil::getPi() { return (float)M_PI; } float MathUtil::radianToDegrees(float radian) { return (radian / (2.0f * getPi())) * 360.0f; } ...
19.130435
60
0.607576
perezite
370143df14fd66a89f7156b0afdbe081b8263222
5,390
hpp
C++
src/PoseUKFConfig.hpp
rock-slam/slam-uwv_filters
10b53f33e53de3f97d8afd9a45cf1330a4461dc0
[ "BSD-3-Clause" ]
2
2020-02-21T13:54:25.000Z
2020-03-22T05:02:04.000Z
src/PoseUKFConfig.hpp
rock-slam/slam-uwv_filters
10b53f33e53de3f97d8afd9a45cf1330a4461dc0
[ "BSD-3-Clause" ]
null
null
null
src/PoseUKFConfig.hpp
rock-slam/slam-uwv_filters
10b53f33e53de3f97d8afd9a45cf1330a4461dc0
[ "BSD-3-Clause" ]
5
2017-05-30T13:49:01.000Z
2022-03-24T20:26:24.000Z
#ifndef _UWV_KALMAN_FILTERS_POSE_UKF_CONFIG_HPP #define _UWV_KALMAN_FILTERS_POSE_UKF_CONFIG_HPP #include <base/Eigen.hpp> #include <vector> namespace uwv_kalman_filters { struct WaterVelocityParameters { /* time scale for water current change */ double tau; /* limits of the water current change from tem...
28.518519
104
0.696104
rock-slam
3701d6ecd894fc5995fb95e1f1bb3d30a052be29
177
cpp
C++
project/Source/Zero/Zero.cpp
ZhangShiQi/Zero
598b9ec6b1b5ed98bbd366bb3ec9a4e0649db931
[ "MIT" ]
null
null
null
project/Source/Zero/Zero.cpp
ZhangShiQi/Zero
598b9ec6b1b5ed98bbd366bb3ec9a4e0649db931
[ "MIT" ]
null
null
null
project/Source/Zero/Zero.cpp
ZhangShiQi/Zero
598b9ec6b1b5ed98bbd366bb3ec9a4e0649db931
[ "MIT" ]
null
null
null
// Copyright Epic Games, Inc. All Rights Reserved. #include "Zero.h" #include "Modules/ModuleManager.h" IMPLEMENT_PRIMARY_GAME_MODULE( FDefaultGameModuleImpl, Zero, "Zero" );
25.285714
70
0.774011
ZhangShiQi
370208707c823c6e82fe9083383a1e552c633c03
1,500
hpp
C++
FootSoldier.hpp
dean985/wargame
9861505f2b0e00ff3982bf079c47ef21e86408aa
[ "MIT" ]
null
null
null
FootSoldier.hpp
dean985/wargame
9861505f2b0e00ff3982bf079c47ef21e86408aa
[ "MIT" ]
8
2020-05-31T14:31:48.000Z
2020-06-04T07:14:49.000Z
FootSoldier.hpp
dean985/wargame
9861505f2b0e00ff3982bf079c47ef21e86408aa
[ "MIT" ]
null
null
null
#pragma once #include "Soldier.hpp" #include <cstdlib> class FootSoldier : public Soldier { const int maxLife = 100; public: FootSoldier(int team) : Soldier(100, 10, role::Foot, false, team) {} virtual void hit(std::vector<std::vector<Soldier *>> &board, std::pair<int, int> source) override ...
28.846154
106
0.464667
dean985
3705d05b1e6ae2b8dcb19a28533d0ac104f94f66
42,125
cpp
C++
src/common/ob_obj_compare.cpp
stutiredboy/obproxy
b5f98a6e1c45e6a878376df49b9c10b4249d3626
[ "Apache-2.0" ]
74
2021-05-31T15:23:49.000Z
2022-03-12T04:46:39.000Z
src/common/ob_obj_compare.cpp
stutiredboy/obproxy
b5f98a6e1c45e6a878376df49b9c10b4249d3626
[ "Apache-2.0" ]
16
2021-05-31T15:26:38.000Z
2022-03-30T06:02:43.000Z
src/common/ob_obj_compare.cpp
stutiredboy/obproxy
b5f98a6e1c45e6a878376df49b9c10b4249d3626
[ "Apache-2.0" ]
64
2021-05-31T15:25:36.000Z
2022-02-23T08:43:58.000Z
/** * Copyright (c) 2021 OceanBase * OceanBase Database Proxy(ODP) is licensed under Mulan PubL v2. * You can use this software according to the terms and conditions of the Mulan PubL v2. * You may obtain a copy of Mulan PubL v2 at: * http://license.coscl.org.cn/MulanPubL-2.0 * THIS SOFTWARE IS PROVIDED ...
38.682277
105
0.635371
stutiredboy
37064384825ad5d58a2f740e4a5b09f95c270e5d
355
hpp
C++
src/armnn/DeviceSpec.hpp
KevinRodrigues05/armnn_caffe2_parser
c577f2c6a3b4ddb6ba87a882723c53a248afbeba
[ "MIT" ]
null
null
null
src/armnn/DeviceSpec.hpp
KevinRodrigues05/armnn_caffe2_parser
c577f2c6a3b4ddb6ba87a882723c53a248afbeba
[ "MIT" ]
null
null
null
src/armnn/DeviceSpec.hpp
KevinRodrigues05/armnn_caffe2_parser
c577f2c6a3b4ddb6ba87a882723c53a248afbeba
[ "MIT" ]
null
null
null
// // Copyright © 2017 Arm Ltd. All rights reserved. // See LICENSE file in the project root for full license information. // #pragma once #include "armnn/Types.hpp" #include <set> namespace armnn { class DeviceSpec : public IDeviceSpec { public: DeviceSpec() {} virtual ~DeviceSpec() {} std::set<Compute...
15.434783
69
0.698592
KevinRodrigues05
370652e60b5374a62550873697c106d816d16c42
1,189
hpp
C++
libraries/plugins/stats_export/include/delta/plugins/stats_export/stats_export_plugin.hpp
yashbhavsar007/Delta-Blockchain
602dd5335d2cd51303e953e4c233c8f099da0b07
[ "MIT" ]
null
null
null
libraries/plugins/stats_export/include/delta/plugins/stats_export/stats_export_plugin.hpp
yashbhavsar007/Delta-Blockchain
602dd5335d2cd51303e953e4c233c8f099da0b07
[ "MIT" ]
null
null
null
libraries/plugins/stats_export/include/delta/plugins/stats_export/stats_export_plugin.hpp
yashbhavsar007/Delta-Blockchain
602dd5335d2cd51303e953e4c233c8f099da0b07
[ "MIT" ]
null
null
null
#pragma once #include <appbase/application.hpp> #include <delta/plugins/chain/chain_plugin.hpp> #include <delta/plugins/block_data_export/block_data_export_plugin.hpp> namespace delta { namespace plugins { namespace stats_export { namespace detail { class stats_export_plugin_impl; } using namespace appbase; #defin...
31.289474
113
0.749369
yashbhavsar007
3709d6cd8a49de8a0961eff189e2c7871b612ef3
5,600
cpp
C++
src/layer/requantize.cpp
happog/ncnn
f904eb05e4e1d1167dea549438d9b478d42120a2
[ "BSD-3-Clause" ]
81
2019-08-26T09:27:52.000Z
2022-03-04T05:46:05.000Z
src/layer/requantize.cpp
happog/ncnn
f904eb05e4e1d1167dea549438d9b478d42120a2
[ "BSD-3-Clause" ]
13
2019-08-26T09:32:03.000Z
2021-05-17T04:12:49.000Z
src/layer/requantize.cpp
happog/ncnn
f904eb05e4e1d1167dea549438d9b478d42120a2
[ "BSD-3-Clause" ]
28
2019-08-26T10:54:52.000Z
2021-08-11T11:50:14.000Z
// BUG1989 is pleased to support the open source community by supporting ncnn available. // // Copyright (C) 2019 BUG1989. All rights reserved. // // Licensed under the BSD 3-Clause License (the "License"); you may not use this file except // in compliance with the License. You may obtain a copy of the License at // //...
28.717949
93
0.483036
happog
370a48344d41d00bab3a8db0c1052a0057022945
38,247
cpp
C++
PhysX-3.2.4_PC_SDK_Core/Source/PvdRuntime/src/PvdSceneVisualDebugger.cpp
emlowry/AIEFramework
8f1dd02105237e72cfe303ec4c541eea7debd1f7
[ "MIT" ]
null
null
null
PhysX-3.2.4_PC_SDK_Core/Source/PvdRuntime/src/PvdSceneVisualDebugger.cpp
emlowry/AIEFramework
8f1dd02105237e72cfe303ec4c541eea7debd1f7
[ "MIT" ]
null
null
null
PhysX-3.2.4_PC_SDK_Core/Source/PvdRuntime/src/PvdSceneVisualDebugger.cpp
emlowry/AIEFramework
8f1dd02105237e72cfe303ec4c541eea7debd1f7
[ "MIT" ]
3
2017-01-04T19:48:57.000Z
2020-03-24T03:05:27.000Z
// This code contains NVIDIA Confidential Information and is disclosed to you // under a form of NVIDIA software license agreement provided separately to you. // // Notice // NVIDIA Corporation and its licensors retain all intellectual property and // proprietary rights in and to this software and related documentation...
35.946429
168
0.767746
emlowry
370cc0c3edc93d07b64c8636a558666f42a334a1
1,657
cpp
C++
helloOffer/dataStructure/string.cpp
gaohanyu/helloOffer
5420cb1376908d87c136ff754ae4383c50826611
[ "MIT" ]
null
null
null
helloOffer/dataStructure/string.cpp
gaohanyu/helloOffer
5420cb1376908d87c136ff754ae4383c50826611
[ "MIT" ]
null
null
null
helloOffer/dataStructure/string.cpp
gaohanyu/helloOffer
5420cb1376908d87c136ff754ae4383c50826611
[ "MIT" ]
null
null
null
// // string.cpp // helloworld // // Created by 高翰宇 on 16/10/12. // Copyright © 2016年 高翰宇. All rights reserved. // /*串*/ #include <stdio.h> #include <iostream> #include <cstdlib> #include <string.h> using namespace std; /*朴素的模式匹配算法*/ /*返回子串T在主串S中第pos个字符之后的位置。若不存在,则函数返回值为0*/ /*T非空,1 <= pos <= StrLength(S)*/ int ...
20.207317
62
0.440555
gaohanyu
371341fc1f9b48b0f9a97e576a5e286bf1cb4da6
1,300
cpp
C++
talent-orle-2019/grupa-platynowa/gornicy.cpp
Aleshkev/algoritmika
fc95b0c0f318d9eb4ef1fef4cc3c6e85d2417189
[ "MIT" ]
2
2019-05-04T09:37:09.000Z
2019-05-22T18:07:28.000Z
talent-orle-2019/grupa-platynowa/gornicy.cpp
Aleshkev/algoritmika
fc95b0c0f318d9eb4ef1fef4cc3c6e85d2417189
[ "MIT" ]
null
null
null
talent-orle-2019/grupa-platynowa/gornicy.cpp
Aleshkev/algoritmika
fc95b0c0f318d9eb4ef1fef4cc3c6e85d2417189
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; typedef intmax_t I; const I inf = 1e18; I unique(I a, I b, I c) { return 3 - (a == 0 || a == b || a == c) - (b == 0 || b == c) - (c == 0); } int main() { ios_base::sync_with_stdio(false); cin.tie(nullptr), cout.tie(nullptr); I n; cin >> n; string s; cin ...
22.413793
79
0.454615
Aleshkev
3713a14aa80e60103d316ed22726376c1d10ebd6
468
hpp
C++
include/veho/bus_template_fwd.hpp
foundry27/veho
9f1dbf52202f4764f2ec9e74942dc77b9ab04735
[ "MIT" ]
2
2021-06-18T18:05:40.000Z
2022-02-06T07:49:30.000Z
include/veho/bus_template_fwd.hpp
notfoundry/veho
9f1dbf52202f4764f2ec9e74942dc77b9ab04735
[ "MIT" ]
null
null
null
include/veho/bus_template_fwd.hpp
notfoundry/veho
9f1dbf52202f4764f2ec9e74942dc77b9ab04735
[ "MIT" ]
null
null
null
/* * Created by Mark Johnson on 4/2/2018. */ #ifndef VEHO_BUS_TEMPLATE_FWD_HPP #define VEHO_BUS_TEMPLATE_FWD_HPP #include <veho/config/config_traits.hpp> #include <veho/config/builder_config.hpp> namespace veho { template < typename CompiletimeConfig, typename RuntimeConfig = config::buil...
23.4
127
0.75
foundry27
3713d6e9096f529e92a4201248dd8699be0bba41
1,000
hpp
C++
src/Render/Ogl3/OGL3CubeMap.hpp
Sebajuste/Omeglond3D
28a3910b47490ec837a29e40e132369f957aedc7
[ "MIT" ]
1
2019-06-14T08:24:17.000Z
2019-06-14T08:24:17.000Z
src/Render/Ogl3/OGL3CubeMap.hpp
Sebajuste/Omeglond3D
28a3910b47490ec837a29e40e132369f957aedc7
[ "MIT" ]
null
null
null
src/Render/Ogl3/OGL3CubeMap.hpp
Sebajuste/Omeglond3D
28a3910b47490ec837a29e40e132369f957aedc7
[ "MIT" ]
null
null
null
#ifndef _DEF_OMEGLOND3D_OGLCUBEMAP_HPP #define _DEF_OMEGLOND3D_OGLCUBEMAP_HPP #include "../../Core/CCubeMap.hpp" #include <map> #define GL3_PROTOTYPES 1 #include <GL3/gl3.h> namespace OMGL3D { namespace OGL3 { class OGL3CubeMap : public CORE::CCubeMap { public: ...
22.727273
124
0.621
Sebajuste
3714cfb4c080c60c20ce580f1b3b8bda9442de7d
14,695
cpp
C++
StrSTUN-synthesizer/main.cpp
HALOCORE/SynGuar
8f7f9ba52e83091ad3def501169fd60d20b28321
[ "MIT" ]
1
2021-06-23T05:10:36.000Z
2021-06-23T05:10:36.000Z
StrSTUN-synthesizer/main.cpp
HALOCORE/SynGuar
8f7f9ba52e83091ad3def501169fd60d20b28321
[ "MIT" ]
null
null
null
StrSTUN-synthesizer/main.cpp
HALOCORE/SynGuar
8f7f9ba52e83091ad3def501169fd60d20b28321
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> #include <sstream> #include <chrono> #include <unistd.h> #include "ValueVector.hpp" #include "VisitorPretty.hpp" #include "Program.hpp" #include "StrSTUNSynthesizer.hpp" using namespace std; void process_mem_usage(double& vm_usage, double& resident_set) { vm_usage = 0.0...
37.971576
162
0.531745
HALOCORE
3717311060eb566f74d50a9fad402d618fad5190
26,757
hpp
C++
ReactNativeFrontend/ios/Pods/boost/boost/thread/detail/thread.hpp
Harshitha91/Tmdb-react-native-node
e06e3f25a7ee6946ef07a1f524fdf62e48424293
[ "Apache-2.0" ]
123
2020-04-13T14:49:43.000Z
2022-03-10T06:42:26.000Z
ReactNativeFrontend/ios/Pods/boost/boost/thread/detail/thread.hpp
Harshitha91/Tmdb-react-native-node
e06e3f25a7ee6946ef07a1f524fdf62e48424293
[ "Apache-2.0" ]
130
2016-06-22T22:11:25.000Z
2020-11-29T20:24:09.000Z
ReactNativeFrontend/ios/Pods/boost/boost/thread/detail/thread.hpp
Harshitha91/Tmdb-react-native-node
e06e3f25a7ee6946ef07a1f524fdf62e48424293
[ "Apache-2.0" ]
41
2015-07-08T19:18:35.000Z
2021-01-14T16:39:56.000Z
#ifndef BOOST_THREAD_THREAD_COMMON_HPP #define BOOST_THREAD_THREAD_COMMON_HPP // 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) // (C) Copyright 2007-2010 Anthony Williams // (C) Copyright 2011-2012 Vicente J. Bote...
30.826037
158
0.608775
Harshitha91
371845bb3b3ce6f77e46d95fbe47795cf9b55dd3
372
hpp
C++
include/tao/config/internal/limits.hpp
taocpp/conf
ab8c38a2d00e58dd004fd71da7f0e70749993fc1
[ "MIT" ]
122
2018-10-29T17:56:12.000Z
2022-03-30T20:43:30.000Z
include/tao/config/internal/limits.hpp
taocpp/conf
ab8c38a2d00e58dd004fd71da7f0e70749993fc1
[ "MIT" ]
5
2020-03-10T13:13:57.000Z
2022-03-10T11:50:03.000Z
include/tao/config/internal/limits.hpp
taocpp/conf
ab8c38a2d00e58dd004fd71da7f0e70749993fc1
[ "MIT" ]
14
2019-02-11T17:18:00.000Z
2022-02-02T00:47:38.000Z
// Copyright (c) 2021 Dr. Colin Hirsch and Daniel Frey // Please see LICENSE for license or visit https://github.com/taocpp/config/ #ifndef TAO_CONFIG_INTERNAL_LIMITS_HPP #define TAO_CONFIG_INTERNAL_LIMITS_HPP #include <cstdint> namespace tao::config::internal { static constexpr std::size_t global_nesting_limit =...
23.25
76
0.774194
taocpp
7deb3594cd4be885f00d37e9081a335f59ea9d13
5,581
cc
C++
src/ppl/nn/engines/cuda/kernels/onnx/conv_depthwise_kernel.cc
Alcanderian/ppl.nn
e127cf6dda87412bc9bb551da6aa5d29d7ca22fd
[ "Apache-2.0" ]
764
2021-06-30T13:36:15.000Z
2022-03-31T02:29:38.000Z
src/ppl/nn/engines/cuda/kernels/onnx/conv_depthwise_kernel.cc
FeiGeChuanShu/ppl.nn
6f3477f00d174c9c2e36cfffea42d22bc357e0a5
[ "Apache-2.0" ]
66
2021-06-30T14:03:32.000Z
2022-03-30T02:41:00.000Z
src/ppl/nn/engines/cuda/kernels/onnx/conv_depthwise_kernel.cc
FeiGeChuanShu/ppl.nn
6f3477f00d174c9c2e36cfffea42d22bc357e0a5
[ "Apache-2.0" ]
151
2021-06-30T13:43:11.000Z
2022-03-27T07:43:55.000Z
// Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may...
46.123967
167
0.659918
Alcanderian
7dec9fd5b05b846656b26d9887fadd844130763b
3,874
hpp
C++
include/swift2d/components/OffsetComponent.hpp
Simmesimme/swift2d
147a862208dee56f972361b5325009e020124137
[ "MIT" ]
null
null
null
include/swift2d/components/OffsetComponent.hpp
Simmesimme/swift2d
147a862208dee56f972361b5325009e020124137
[ "MIT" ]
null
null
null
include/swift2d/components/OffsetComponent.hpp
Simmesimme/swift2d
147a862208dee56f972361b5325009e020124137
[ "MIT" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////// // // // This file is part of Swift2D. // // ...
35.218182
80
0.466959
Simmesimme
7dee406d7395c36fd4565a0d0eaaa743b2a8092d
2,857
cpp
C++
source/framework/algorithm/test/uniform_test.cpp
OliverSchmitz/lue
da097e8c1de30724bfe7667cc04344b6535b40cd
[ "MIT" ]
null
null
null
source/framework/algorithm/test/uniform_test.cpp
OliverSchmitz/lue
da097e8c1de30724bfe7667cc04344b6535b40cd
[ "MIT" ]
null
null
null
source/framework/algorithm/test/uniform_test.cpp
OliverSchmitz/lue
da097e8c1de30724bfe7667cc04344b6535b40cd
[ "MIT" ]
null
null
null
#define BOOST_TEST_MODULE lue framework algorithm uniform #include "lue/framework/algorithm/all.hpp" #include "lue/framework/algorithm/comparison.hpp" #include "lue/framework/algorithm/uniform.hpp" #include "lue/framework/test/array.hpp" #include "lue/framework/test/hpx_unit_test.hpp" namespace detail { template< ...
28.858586
72
0.59188
OliverSchmitz
7deee180af01403ef221f53d67a186d759ce0240
14,518
cpp
C++
YorozuyaGSLib/source/CNetWorkingDetail.cpp
lemkova/Yorozuya
f445d800078d9aba5de28f122cedfa03f26a38e4
[ "MIT" ]
29
2017-07-01T23:08:31.000Z
2022-02-19T10:22:45.000Z
YorozuyaGSLib/source/CNetWorkingDetail.cpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
90
2017-10-18T21:24:51.000Z
2019-06-06T02:30:33.000Z
YorozuyaGSLib/source/CNetWorkingDetail.cpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
44
2017-12-19T08:02:59.000Z
2022-02-24T23:15:01.000Z
#include <CNetWorkingDetail.hpp> #include <common/ATFCore.hpp> START_ATF_NAMESPACE namespace Detail { Info::CNetWorkingAcceptClientCheck2_ptr CNetWorkingAcceptClientCheck2_next(nullptr); Info::CNetWorkingAcceptClientCheck2_clbk CNetWorkingAcceptClientCheck2_user(nullptr); Info...
56.710938
172
0.685632
lemkova
7def3ad650d9188f1f57ea8e87bcb04f8cb25d5a
2,611
cpp
C++
source/src/util/cs_WireFormat.cpp
lingfennan/bluenet
6cedf1631e98a5a277abf2674a319b12d5fa5e9d
[ "Apache-2.0", "MIT" ]
45
2016-06-17T02:40:19.000Z
2022-01-19T00:21:49.000Z
source/src/util/cs_WireFormat.cpp
lingfennan/bluenet
6cedf1631e98a5a277abf2674a319b12d5fa5e9d
[ "Apache-2.0", "MIT" ]
111
2016-06-06T16:18:06.000Z
2022-03-25T14:31:20.000Z
source/src/util/cs_WireFormat.cpp
lingfennan/bluenet
6cedf1631e98a5a277abf2674a319b12d5fa5e9d
[ "Apache-2.0", "MIT" ]
31
2016-07-27T21:33:10.000Z
2021-11-17T09:40:11.000Z
/** * Author: Crownstone Team * Copyright: Crownstone (https://crownstone.rocks) * Date: Sep 24, 2019 * License: LGPLv3+, Apache License 2.0, and/or MIT (triple-licensed) */ #include <util/cs_WireFormat.h> #include <behaviour/cs_Behaviour.h> #include <behaviour/cs_SwitchBehaviour.h> #include <behaviour/cs_Twilig...
27.776596
82
0.636155
lingfennan
7defd05f44699b271600c36c5f92455b19a53866
669
hpp
C++
NightEngine2/src/Editor/GameObjectBrowser.hpp
rittikornt/NightEngine2
14004b48d1708736373010a3fe47d05d876e0baa
[ "MIT" ]
2
2020-03-09T06:24:46.000Z
2022-02-04T23:09:23.000Z
NightEngine2/src/Editor/GameObjectBrowser.hpp
rittikornt/NightEngine2
14004b48d1708736373010a3fe47d05d876e0baa
[ "MIT" ]
null
null
null
NightEngine2/src/Editor/GameObjectBrowser.hpp
rittikornt/NightEngine2
14004b48d1708736373010a3fe47d05d876e0baa
[ "MIT" ]
2
2020-09-07T03:04:36.000Z
2022-02-04T23:09:24.000Z
/*! @file GameObjectBrowser.hpp @author Rittikorn Tangtrongchit @brief Contain the Interface of GameObjectBrowser */ #pragma once namespace Editor { //Forward declaraction class MemberSerializerEditor; class GameObjectBrowser { public: GameObjectBrowser(void) {} //! @brief Update void Upda...
20.90625
68
0.702541
rittikornt
7df24e02b535a003435e65da9a89b30eff27e472
8,512
cc
C++
modules/external_packages/src/alien/kernels/hypre/converters/SimpleCSR/SimpleCSR_to_Hypre_MatrixConverter.cc
cedricga91/alien_legacy_plugins
459701026d76dbe1e8a6b20454f6b50ec9722f7f
[ "Apache-2.0" ]
4
2021-12-02T09:06:38.000Z
2022-01-10T14:22:35.000Z
modules/external_packages/src/alien/kernels/hypre/converters/SimpleCSR/SimpleCSR_to_Hypre_MatrixConverter.cc
cedricga91/alien_legacy_plugins
459701026d76dbe1e8a6b20454f6b50ec9722f7f
[ "Apache-2.0" ]
null
null
null
modules/external_packages/src/alien/kernels/hypre/converters/SimpleCSR/SimpleCSR_to_Hypre_MatrixConverter.cc
cedricga91/alien_legacy_plugins
459701026d76dbe1e8a6b20454f6b50ec9722f7f
[ "Apache-2.0" ]
7
2021-11-23T14:50:58.000Z
2022-03-17T13:23:07.000Z
#include <iostream> #include <alien/utils/Precomp.h> #include <alien/core/backend/IMatrixConverter.h> #include <alien/core/backend/MatrixConverterRegisterer.h> #include <alien/kernels/hypre/data_structure/HypreMatrix.h> #include <alien/kernels/hypre/HypreBackEnd.h> #include <alien/kernels/simple_csr/CSRStructInfo.h>...
36.067797
90
0.634398
cedricga91
7df7e138d18939fd92f0ee0833068312d1ee5239
462
cpp
C++
EasyTcp/EasyTcpServer1.8.1/EasyTcpServer1_8_1_main.cpp
zklmiao/CppNet
f32de93ddff8a2d49194840111a181edc8ae0293
[ "BSD-3-Clause" ]
null
null
null
EasyTcp/EasyTcpServer1.8.1/EasyTcpServer1_8_1_main.cpp
zklmiao/CppNet
f32de93ddff8a2d49194840111a181edc8ae0293
[ "BSD-3-Clause" ]
null
null
null
EasyTcp/EasyTcpServer1.8.1/EasyTcpServer1_8_1_main.cpp
zklmiao/CppNet
f32de93ddff8a2d49194840111a181edc8ae0293
[ "BSD-3-Clause" ]
null
null
null
#include "EasyTcpServer1_8_1.hpp" bool g_bRun = true; void cmdThread() { while (true) { char cmdBuf[256]; scanf("%s", cmdBuf); if (!strcmp(cmdBuf, "exit")) { g_bRun = false; break; } } } int main(int argc, char* argv[]) { MyServer server; server.InitSocket(); server.Bind(nullptr, 4567); server...
12.486486
33
0.621212
zklmiao
7df9a7b9ea045c9abccce853d63230ca4e925b63
23,501
cpp
C++
tests/ArkShadowMap.cpp
rampart5555/ark
1399679feac89a84d3597e377992e90756e27dd0
[ "Apache-2.0" ]
null
null
null
tests/ArkShadowMap.cpp
rampart5555/ark
1399679feac89a84d3597e377992e90756e27dd0
[ "Apache-2.0" ]
null
null
null
tests/ArkShadowMap.cpp
rampart5555/ark
1399679feac89a84d3597e377992e90756e27dd0
[ "Apache-2.0" ]
null
null
null
/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield * * This library is open source and may be redistributed and/or modified under * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or * (at your option) any later version. The full license is in LICENSE file * included with this...
36.266975
149
0.63942
rampart5555
7dfc6e0d3ed4b869aa952dc54489739fb07868b0
102,269
cpp
C++
Linux_build/SharedMultiSpec/SFieldsToThematicFile.cpp
cas-nctu/multispec
0bc840bdb073b5feaeec650c2da762cfa34ee37d
[ "Apache-2.0" ]
11
2020-03-10T02:06:00.000Z
2022-02-17T19:59:50.000Z
Linux_build/SharedMultiSpec/SFieldsToThematicFile.cpp
cas-nctu/multispec
0bc840bdb073b5feaeec650c2da762cfa34ee37d
[ "Apache-2.0" ]
null
null
null
Linux_build/SharedMultiSpec/SFieldsToThematicFile.cpp
cas-nctu/multispec
0bc840bdb073b5feaeec650c2da762cfa34ee37d
[ "Apache-2.0" ]
5
2020-05-30T00:59:22.000Z
2021-12-06T01:37:05.000Z
// MultiSpec // // Copyright 1988-2020 Purdue Research 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: https://www.apach...
29.353904
88
0.612757
cas-nctu
b4040f39b9a05cee9ade6add098043f7a91a51e1
8,248
hpp
C++
include/RootMotion/FinalIK/OffsetModifierVRIK.hpp
marksteward/BeatSaber-Quest-Codegen
a76f063f71cef207a9f048ad7613835f554911a7
[ "Unlicense" ]
null
null
null
include/RootMotion/FinalIK/OffsetModifierVRIK.hpp
marksteward/BeatSaber-Quest-Codegen
a76f063f71cef207a9f048ad7613835f554911a7
[ "Unlicense" ]
null
null
null
include/RootMotion/FinalIK/OffsetModifierVRIK.hpp
marksteward/BeatSaber-Quest-Codegen
a76f063f71cef207a9f048ad7613835f554911a7
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" #include "extern/beatsaber-hook/shared/utils/byref.hpp" // Including type: UnityEngine.Mo...
49.987879
206
0.718598
marksteward
b405c686e850b7371b23a45f416a091a8a361377
191
cpp
C++
src/Zadanie5.cpp
radzbydzi/Podstawy-Programowania
c97e72fd2fc0ecf3a88b0095cc409802be009013
[ "Unlicense" ]
null
null
null
src/Zadanie5.cpp
radzbydzi/Podstawy-Programowania
c97e72fd2fc0ecf3a88b0095cc409802be009013
[ "Unlicense" ]
null
null
null
src/Zadanie5.cpp
radzbydzi/Podstawy-Programowania
c97e72fd2fc0ecf3a88b0095cc409802be009013
[ "Unlicense" ]
null
null
null
#include "Zadanie5.h" Zadanie5::Zadanie5() { //ctor } Zadanie5::~Zadanie5() { //dtor } void Zadanie5::run() { cout<<"Zadanie5"<<endl<<endl; pokazTresc(); }
10.611111
33
0.528796
radzbydzi
b405e1958c73e16e387e09f2cc951e4e01b09049
8,366
cpp
C++
src/armnnTfLiteParser/test/Unsupported.cpp
tkdhmin/armnn
af2dac50e2581262492af05010a4bf7bb26b690d
[ "MIT" ]
856
2018-03-09T17:26:23.000Z
2022-03-24T21:31:33.000Z
src/armnnTfLiteParser/test/Unsupported.cpp
tkdhmin/armnn
af2dac50e2581262492af05010a4bf7bb26b690d
[ "MIT" ]
623
2018-03-13T04:40:42.000Z
2022-03-31T09:45:17.000Z
src/armnnTfLiteParser/test/Unsupported.cpp
tkdhmin/armnn
af2dac50e2581262492af05010a4bf7bb26b690d
[ "MIT" ]
284
2018-03-09T23:05:28.000Z
2022-03-29T14:42:28.000Z
// // Copyright © 2019 Arm Ltd and Contributors. All rights reserved. // SPDX-License-Identifier: MIT // #include "ParserFlatbuffersFixture.hpp" #include <armnn/LayerVisitorBase.hpp> #include <armnn/utility/Assert.hpp> #include <armnn/utility/NumericCast.hpp> #include <armnn/utility/PolymorphicDowncast.hpp> #include...
33.870445
114
0.525938
tkdhmin
b40abb3b3203fb5e7aad5635f807faa120482a01
2,708
ipp
C++
implement/oglplus/enums/ext/amd_perf_monitor_type_class.ipp
jnbrq/oglplus
2e072e91292643e0871565ae5147584403846290
[ "BSL-1.0" ]
null
null
null
implement/oglplus/enums/ext/amd_perf_monitor_type_class.ipp
jnbrq/oglplus
2e072e91292643e0871565ae5147584403846290
[ "BSL-1.0" ]
null
null
null
implement/oglplus/enums/ext/amd_perf_monitor_type_class.ipp
jnbrq/oglplus
2e072e91292643e0871565ae5147584403846290
[ "BSL-1.0" ]
null
null
null
// File implement/oglplus/enums/ext/amd_perf_monitor_type_class.ipp // // Automatically generated file, DO NOT modify manually. // Edit the source 'source/enums/oglplus/ext/amd_perf_monitor_type.txt' // or the 'source/enums/make_enum.py' script instead. // // Copyright 2010-2017 Matus Chochlik. // Distributed und...
24.618182
72
0.755908
jnbrq
b40cfb09da07f92eec7459453b2bb8e6f4eecd0e
74,109
cpp
C++
tests/loader_handle_validation_tests.cpp
charles-lunarg/Vulkan-Loader
6df9f13c7b6845102af9b8db11f72b6070f930e8
[ "Apache-2.0" ]
null
null
null
tests/loader_handle_validation_tests.cpp
charles-lunarg/Vulkan-Loader
6df9f13c7b6845102af9b8db11f72b6070f930e8
[ "Apache-2.0" ]
null
null
null
tests/loader_handle_validation_tests.cpp
charles-lunarg/Vulkan-Loader
6df9f13c7b6845102af9b8db11f72b6070f930e8
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2021 The Khronos Group Inc. * Copyright (c) 2021 Valve Corporation * Copyright (c) 2021 LunarG, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and/or associated documentation files (the "Materials"), to * deal in the Materials without r...
44.941783
132
0.763254
charles-lunarg
b40f996dbdb902a5b5511e0163861d2177d535c6
575
cpp
C++
UOJ/267/code.cpp
sjj118/OI-Code
964ea6e799d14010f305c7e4aee269d860a781f7
[ "MIT" ]
null
null
null
UOJ/267/code.cpp
sjj118/OI-Code
964ea6e799d14010f305c7e4aee269d860a781f7
[ "MIT" ]
null
null
null
UOJ/267/code.cpp
sjj118/OI-Code
964ea6e799d14010f305c7e4aee269d860a781f7
[ "MIT" ]
null
null
null
#include<iostream> #include<cstdio> #define rep(i,x,y) for(int i=(x);i<=(y);++i) #define per(i,x,y) for(int i=(x);i>=(y);--i) typedef long long LL; const int N=1e6+10; int n,m,a[N]; LL c[N]; int main(){ scanf("%d",&n);rep(i,0,n-1)scanf("%d",a+i); scanf("%d",&m);rep(i,0,m-1)scanf("%lld",c+i); LL sum=1; a[n]=1e9; re...
20.535714
46
0.526957
sjj118
b4102a4bbcb2c6befcd2a5eb4567dda9373df74b
9,173
cpp
C++
src/QrCodeModel.cpp
monich/harbour-qrclip
dc580c18a400eb011306b8741d8366b0a11e7da0
[ "BSD-3-Clause-Clear" ]
1
2019-05-06T17:37:35.000Z
2019-05-06T17:37:35.000Z
src/QrCodeModel.cpp
monich/harbour-qrclip
dc580c18a400eb011306b8741d8366b0a11e7da0
[ "BSD-3-Clause-Clear" ]
9
2019-05-05T09:10:37.000Z
2021-10-05T14:38:42.000Z
src/QrCodeModel.cpp
monich/harbour-qrclip
dc580c18a400eb011306b8741d8366b0a11e7da0
[ "BSD-3-Clause-Clear" ]
7
2019-05-05T08:25:03.000Z
2021-06-27T10:05:28.000Z
/* * Copyright (C) 2021 Jolla Ltd. * Copyright (C) 2021 Slava Monich <slava@monich.com> * * You may use this file under the terms of BSD license as follows: * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * ...
29.400641
100
0.584324
monich
b411cea1b1de249c46b8a94bd0f1638e337737f7
1,017
ipp
C++
implement/eglplus/enums/gl_colorspace_names.ipp
jnbrq/oglplus
2e072e91292643e0871565ae5147584403846290
[ "BSL-1.0" ]
null
null
null
implement/eglplus/enums/gl_colorspace_names.ipp
jnbrq/oglplus
2e072e91292643e0871565ae5147584403846290
[ "BSL-1.0" ]
null
null
null
implement/eglplus/enums/gl_colorspace_names.ipp
jnbrq/oglplus
2e072e91292643e0871565ae5147584403846290
[ "BSL-1.0" ]
null
null
null
// File implement/eglplus/enums/gl_colorspace_names.ipp // // Automatically generated file, DO NOT modify manually. // Edit the source 'source/enums/eglplus/gl_colorspace.txt' // or the 'source/enums/make_enum.py' script instead. // // Copyright 2010-2017 Matus Chochlik. // Distributed under the Boost Software Li...
26.076923
73
0.779744
jnbrq
b4122aee8a02020d1671ff8699dcfd20ed61e817
14,718
cpp
C++
Modules/Contents/3DPhysics/Source/PolyPhysicsScene.cpp
MattDBell/Polycode
fc66547813a34a2388c9a45ec0b69919ce3253b2
[ "MIT" ]
1
2020-04-30T23:05:26.000Z
2020-04-30T23:05:26.000Z
Modules/Contents/3DPhysics/Source/PolyPhysicsScene.cpp
MattDBell/Polycode
fc66547813a34a2388c9a45ec0b69919ce3253b2
[ "MIT" ]
null
null
null
Modules/Contents/3DPhysics/Source/PolyPhysicsScene.cpp
MattDBell/Polycode
fc66547813a34a2388c9a45ec0b69919ce3253b2
[ "MIT" ]
null
null
null
/* Copyright (C) 2011 by Ivan Safrin 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, publish, distribute, ...
34.148492
198
0.772727
MattDBell
b412ae1ec21fc1c56ba370bf2334b67b7ca7f035
4,596
cpp
C++
src/AtNuVrTr.cpp
AScustomWorks/AS
771e499a71e57c22760f80c7a787642e71f8c195
[ "BSD-3-Clause" ]
121
2017-12-24T07:19:28.000Z
2021-11-22T04:51:36.000Z
src/AtNuVrTr.cpp
AScustomWorks/AS
771e499a71e57c22760f80c7a787642e71f8c195
[ "BSD-3-Clause" ]
56
2017-12-24T21:14:17.000Z
2022-01-27T00:55:48.000Z
src/AtNuVrTr.cpp
AScustomWorks/AS
771e499a71e57c22760f80c7a787642e71f8c195
[ "BSD-3-Clause" ]
20
2017-12-24T12:58:36.000Z
2022-01-27T02:53:16.000Z
#include "AS.hpp" struct AtNuVrTr : Module { enum ParamIds { ATEN1_PARAM, OFFSET1_PARAM, ATEN2_PARAM, OFFSET2_PARAM, NUM_PARAMS }; enum InputIds { CV_ATEN_1, CV_ATEN_2, CV_OFFSET_1, CV_OFFSET_2, IN1_INPUT, IN2_INPUT, NUM_INPUTS }; enum OutputIds { OUT1_OUTPUT, OUT2_OUTPUT, NUM_OUTPU...
34.044444
113
0.71584
AScustomWorks
b4171fe21181ea2b17423c16b12c05c96ffc03d7
4,489
hpp
C++
lib/src/options.hpp
quesnel/efyj
5f214449e26000fb30f3a037cac52269704fe703
[ "MIT" ]
1
2021-05-04T16:06:55.000Z
2021-05-04T16:06:55.000Z
lib/src/options.hpp
quesnel/efyj
5f214449e26000fb30f3a037cac52269704fe703
[ "MIT" ]
null
null
null
lib/src/options.hpp
quesnel/efyj
5f214449e26000fb30f3a037cac52269704fe703
[ "MIT" ]
null
null
null
/* Copyright (C) 2015-2016 INRA * * 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, publish, dis...
31.836879
79
0.67632
quesnel
b41803ec79bee68feb5efacc5bf40b8a99c0ec9f
434
cpp
C++
P1/Util/File.cpp
KKovs/BlastEngine
235e145c65f061c79a00f7e0ce678cc444f03a5c
[ "MIT" ]
1
2017-09-21T14:36:17.000Z
2017-09-21T14:36:17.000Z
P1/Util/File.cpp
KKovs/BlastEngine
235e145c65f061c79a00f7e0ce678cc444f03a5c
[ "MIT" ]
null
null
null
P1/Util/File.cpp
KKovs/BlastEngine
235e145c65f061c79a00f7e0ce678cc444f03a5c
[ "MIT" ]
null
null
null
#include "File.h" File::File(std::string fileName) { fileStream = std::fstream(fileName, std::ios::binary | std::ios::out | std::ios::in); } File::~File() { fileStream.close(); } void File::Write(const void* buffer, int64_t count) { fileStream.write(reinterpret_cast<const char*>(buffer), count); } ...
19.727273
87
0.66129
KKovs
b419c9e786e31f6241cbd7f43b64d2e12e6daab0
530
cpp
C++
test/snippet/range/views/single_pass_input.cpp
marehr/nomchop
a88bfb6f5d4a291a71b6b3192eeac81fdc450d43
[ "CC-BY-4.0", "CC0-1.0" ]
1
2021-03-01T11:12:56.000Z
2021-03-01T11:12:56.000Z
test/snippet/range/views/single_pass_input.cpp
simonsasse/seqan3
0ff2e117952743f081735df9956be4c512f4ccba
[ "CC0-1.0", "CC-BY-4.0" ]
2
2017-05-17T07:16:19.000Z
2020-02-13T16:10:10.000Z
test/snippet/range/views/single_pass_input.cpp
simonsasse/seqan3
0ff2e117952743f081735df9956be4c512f4ccba
[ "CC0-1.0", "CC-BY-4.0" ]
null
null
null
#include <string> #include <seqan3/core/debug_stream.hpp> #include <seqan3/range/views/single_pass_input.hpp> int main() { std::string str{"hello"}; auto v = str | seqan3::views::single_pass_input; auto b = v.begin(); seqan3::debug_stream << *b << '\n'; // prints 'h' seqan3::debug_stream << ...
29.444444
58
0.554717
marehr
b41b9e0bb03867fbc237f29ad1c2e800bc979229
9,850
cpp
C++
src/bstream/obstream.cpp
Collobos/nodeoze
40d98bb085d27f6c283aac61d2b373bf761188d6
[ "MIT" ]
null
null
null
src/bstream/obstream.cpp
Collobos/nodeoze
40d98bb085d27f6c283aac61d2b373bf761188d6
[ "MIT" ]
null
null
null
src/bstream/obstream.cpp
Collobos/nodeoze
40d98bb085d27f6c283aac61d2b373bf761188d6
[ "MIT" ]
null
null
null
#include <nodeoze/bstream/obstream.h> using namespace nodeoze; using namespace bstream; obstream& obstream::write_map_header(std::uint32_t size ) { if (size <= 15 ) { std::uint8_t code = 0x80 | static_cast< std::uint8_t >(size ); put(code ); } else if (size <= std::numeric_limits< std:...
25.78534
112
0.547208
Collobos
b41d468b78354f455a29d30f467f5e42602b079d
1,273
cpp
C++
Sources/Plugins/PhysicsSystem_Software/SoftwarePhysicsSystem.cpp
jdelezenne/Sonata
fb1b1b64a78874a0ab2809995be4b6f14f9e4d56
[ "MIT" ]
null
null
null
Sources/Plugins/PhysicsSystem_Software/SoftwarePhysicsSystem.cpp
jdelezenne/Sonata
fb1b1b64a78874a0ab2809995be4b6f14f9e4d56
[ "MIT" ]
null
null
null
Sources/Plugins/PhysicsSystem_Software/SoftwarePhysicsSystem.cpp
jdelezenne/Sonata
fb1b1b64a78874a0ab2809995be4b6f14f9e4d56
[ "MIT" ]
null
null
null
/*============================================================================= SoftwarePhysicsSystem.cpp Project: Sonata Engine Author: Julien Delezenne =============================================================================*/ #include "SoftwarePhysicsSystem.h" #include "PhysicsScene.h" namespace SE_Software {...
18.720588
79
0.666929
jdelezenne
b41decaa453d9b640ede40f441f7a532b5682c03
458
hpp
C++
include/parser.hpp
sdukshis/otus-cpp-calc
65fdb26ee3d6b833c767ae0d96c11bd02351ecd2
[ "MIT" ]
null
null
null
include/parser.hpp
sdukshis/otus-cpp-calc
65fdb26ee3d6b833c767ae0d96c11bd02351ecd2
[ "MIT" ]
null
null
null
include/parser.hpp
sdukshis/otus-cpp-calc
65fdb26ee3d6b833c767ae0d96c11bd02351ecd2
[ "MIT" ]
null
null
null
#pragma once #include <istream> #include "astnode.hpp" #include "lexer.hpp" class Parser { public: explicit Parser(Lexer &lexer) : lexer_(lexer) {} Parser(const Parser &other) = delete; Parser &operator=(const Parser &other) = delete; ~Parser() = default; ASTNode *parse(); privat...
13.878788
52
0.60262
sdukshis
b42193d6bef116b5bcc4aa2aa396f28c62ca012b
5,369
cpp
C++
Chaos-Engine/ShadowDemoState.cpp
MrAbnox/Chaos-Engine
cad124526f416d661f110ac1fcc7070f4ae9fedf
[ "MIT" ]
1
2020-02-10T13:30:44.000Z
2020-02-10T13:30:44.000Z
Chaos-Engine/ShadowDemoState.cpp
MrAbnox/Chaos-Engine
cad124526f416d661f110ac1fcc7070f4ae9fedf
[ "MIT" ]
null
null
null
Chaos-Engine/ShadowDemoState.cpp
MrAbnox/Chaos-Engine
cad124526f416d661f110ac1fcc7070f4ae9fedf
[ "MIT" ]
null
null
null
#include "ShadowDemoState.h" #include "TheDebug.h" #include "Game.h" #include "Box.h" #include "Wall.h" #include "Floor.h" #include "TheShader.h" #include "Cube.h" #include <iostream> //---------------------------------------------------------------- //Constructor //----------------------------------------...
30.68
148
0.612591
MrAbnox
b4222ccdd4d913c808e2c7bb1f19f5c62e44532b
1,107
ipp
C++
ThirdParty/oglplus-develop/implement/oglplus/enums/ext/nv_path_fill_mode_names.ipp
vif/3D-STG
721402e76a9b9b99b88ba3eb06beb6abb17a9254
[ "MIT" ]
24
2015-01-31T15:30:49.000Z
2022-01-29T08:36:42.000Z
ThirdParty/oglplus-develop/implement/oglplus/enums/ext/nv_path_fill_mode_names.ipp
vif/3D-STG
721402e76a9b9b99b88ba3eb06beb6abb17a9254
[ "MIT" ]
4
2015-08-21T02:29:15.000Z
2020-05-02T13:50:36.000Z
ThirdParty/oglplus-develop/implement/oglplus/enums/ext/nv_path_fill_mode_names.ipp
vif/3D-STG
721402e76a9b9b99b88ba3eb06beb6abb17a9254
[ "MIT" ]
9
2015-06-08T22:04:15.000Z
2021-08-16T03:52:11.000Z
/* * .file oglplus/enums/ext/nv_path_fill_mode_names.ipp * * Automatically generated header file. DO NOT modify manually, * edit 'source/enums/oglplus/ext/nv_path_fill_mode.txt' instead. * * Copyright 2010-2013 Matus Chochlik. Distributed under the Boost * Software License, Version 1.0. (See accompanying fi...
24.6
73
0.775068
vif
b424293cefb69b6bb5fb01cd818f1fec9ecb00ea
875
cpp
C++
solved/c-e/divisibility/divisibility.cpp
abuasifkhan/pc-code
77ce51d692acf6edcb9e47aeb7b7f06bf56e4e90
[ "Unlicense" ]
13
2015-09-30T19:18:04.000Z
2021-06-26T21:11:30.000Z
solved/c-e/divisibility/divisibility.cpp
sbmaruf/pc-code
77ce51d692acf6edcb9e47aeb7b7f06bf56e4e90
[ "Unlicense" ]
null
null
null
solved/c-e/divisibility/divisibility.cpp
sbmaruf/pc-code
77ce51d692acf6edcb9e47aeb7b7f06bf56e4e90
[ "Unlicense" ]
13
2015-01-04T09:49:54.000Z
2021-06-03T13:18:44.000Z
#include <algorithm> #include <cstdio> #include <cstring> using namespace std; #define MAXK 100 bool mod[2][MAXK]; int N, K; #define Clear(v) memset((v), 0, sizeof(mod[0])) int m(int n) { int r = n % K; if (r < 0) r += K; return r; } int main() { int M; scanf("%d", &M); while (M--) { ...
14.830508
57
0.394286
abuasifkhan
b427d1d78fb411725d60b8453f40cb380e11209a
592
hpp
C++
AbstractFactoryPattern/ShapeFactory.hpp
jonathan-daniel/ModernDesignPatterns
e9c79ced4261ba98c2c773cc725375903ae4c21c
[ "MIT" ]
94
2018-07-15T19:20:54.000Z
2021-11-17T15:56:06.000Z
AbstractFactoryPattern/ShapeFactory.hpp
junyanchang/ModernDesignPatterns
e9c79ced4261ba98c2c773cc725375903ae4c21c
[ "MIT" ]
2
2018-07-15T19:58:31.000Z
2021-02-22T19:43:15.000Z
AbstractFactoryPattern/ShapeFactory.hpp
junyanchang/ModernDesignPatterns
e9c79ced4261ba98c2c773cc725375903ae4c21c
[ "MIT" ]
20
2018-07-24T04:47:07.000Z
2022-03-19T08:52:09.000Z
#pragma once #include "Factory.hpp" #include "Shapes.hpp" #include <memory> namespace shapefactory { using ShapeFactory = factory::Factory<std::unique_ptr<Shape>>; enum class ShapeTag {rectangle, circle, square}; ShapeFactory shapeFactoryProducer(ShapeTag tag) { return [=] { if(tag == ShapeTag::rectangle) ...
19.733333
62
0.706081
jonathan-daniel
b429ab4687ca65ae41ebc55d04ff079ded7447fe
1,074
hpp
C++
src/PlayingState.hpp
syanush/rhotetris
4f85da828e966a2679e8160c5f810cde6b19419c
[ "MIT" ]
null
null
null
src/PlayingState.hpp
syanush/rhotetris
4f85da828e966a2679e8160c5f810cde6b19419c
[ "MIT" ]
null
null
null
src/PlayingState.hpp
syanush/rhotetris
4f85da828e966a2679e8160c5f810cde6b19419c
[ "MIT" ]
null
null
null
#pragma once #include "Board.hpp" #include "Game.hpp" #include "IGameOverEventHandler.hpp" #include "Piece.hpp" namespace RhoTetris { class PlayingState : public GameState, public IGameOverEventHandler { public: PlayingState(Game& game); virtual void initialize() override; virtual void handleKeyPressedEvents...
26.195122
72
0.739292
syanush
b429fb198f42f93b07970b7d98da64bf880ad490
556
cpp
C++
source/Ch18/Drill/drill18array.cpp
Leglacli/UDProg-Introduction
17987185bb96134157abf4b089fab89715dcc056
[ "CC0-1.0" ]
null
null
null
source/Ch18/Drill/drill18array.cpp
Leglacli/UDProg-Introduction
17987185bb96134157abf4b089fab89715dcc056
[ "CC0-1.0" ]
null
null
null
source/Ch18/Drill/drill18array.cpp
Leglacli/UDProg-Introduction
17987185bb96134157abf4b089fab89715dcc056
[ "CC0-1.0" ]
null
null
null
#include "std_lib_facilities.h" int ga[10] = { 1, 2, 4, 8, 16, 32, 64, 128, 256, 512 }; void f(int arr[], int n) { int la[10]; for (int i = 0; i < 10; i++) { la[i] = ga[i]; } for (int j = 0; j < 10; j++) cout << la[j] << endl; int* p = new int[n]; for (int k = 0; k < n; k++) p[k] = arr[k]; for (int l...
17.375
136
0.451439
Leglacli
b42a2f2f495008f79088d08d224709da11e63da6
4,029
cpp
C++
library/openxlsx/implementation/sources/XLSharedStrings_Impl.cpp
sezamin/OpenXLSX
9a44c48a3cda934e9b287c015f094a002fd67d1f
[ "BSD-3-Clause" ]
1
2020-04-25T01:40:41.000Z
2020-04-25T01:40:41.000Z
library/openxlsx/implementation/sources/XLSharedStrings_Impl.cpp
sezamin/OpenXLSX
9a44c48a3cda934e9b287c015f094a002fd67d1f
[ "BSD-3-Clause" ]
null
null
null
library/openxlsx/implementation/sources/XLSharedStrings_Impl.cpp
sezamin/OpenXLSX
9a44c48a3cda934e9b287c015f094a002fd67d1f
[ "BSD-3-Clause" ]
1
2020-06-12T03:52:04.000Z
2020-06-12T03:52:04.000Z
// // Created by Troldal on 01/09/16. // #include "XLSharedStrings_Impl.h" #include "XLDocument_Impl.h" #include <pugixml.hpp> using namespace std; using namespace OpenXLSX; /** * @details Constructs a new XLSharedStrings object. Only one (common) object is allowed per XLDocument instance. * A filepath to the und...
29.195652
125
0.696203
sezamin
b42b564f5c93035498d0494bfc9994839444a396
340
cpp
C++
component_solution/1.5/06.cpp
hsefz2018/NOIP-openjudge
b606d399b780959caadcf0094b90fa9163f30029
[ "MIT" ]
11
2016-02-03T11:13:07.000Z
2021-05-30T04:37:02.000Z
1.5/06.cpp
20200117/noip-openjudge
5c8b0786ea3fe2208ff9a44f244a631dbc5bb24c
[ "MIT" ]
4
2015-08-18T10:52:33.000Z
2015-10-29T12:51:52.000Z
1.5/06.cpp
20200117/noip-openjudge
5c8b0786ea3fe2208ff9a44f244a631dbc5bb24c
[ "MIT" ]
5
2016-02-03T11:13:09.000Z
2019-07-10T13:25:59.000Z
#include <iostream> using namespace std; int main() { int n; int a, b, c; a = b = c = 0; cin >> n; for(int i = 0; i < n; i++) { int _a, _b, _c; cin >> _a >> _b >> _c; a += _a; b += _b; c += _c; } cout << a << " " << b << " " << c << " " << a + b + c << en...
18.888889
66
0.341176
hsefz2018
b42d0e72d238990745c0f2015ad09fcbec7d7abe
4,347
cpp
C++
test/unit/math/rev/mat/fun/mdivide_left_spd_test.cpp
jrmie/math
2850ec262181075a5843968e805dc9ad1654e069
[ "BSD-3-Clause" ]
1
2019-09-06T15:53:17.000Z
2019-09-06T15:53:17.000Z
test/unit/math/rev/mat/fun/mdivide_left_spd_test.cpp
jrmie/math
2850ec262181075a5843968e805dc9ad1654e069
[ "BSD-3-Clause" ]
8
2019-01-17T18:51:16.000Z
2019-01-17T18:51:39.000Z
test/unit/math/rev/mat/fun/mdivide_left_spd_test.cpp
jrmie/math
2850ec262181075a5843968e805dc9ad1654e069
[ "BSD-3-Clause" ]
null
null
null
#include <stan/math/rev/mat.hpp> #include <gtest/gtest.h> #include <test/unit/math/rev/mat/fun/util.hpp> #include <test/unit/math/rev/mat/util.hpp> TEST(AgradRevMatrix, mdivide_left_spd_val) { using stan::math::matrix_d; using stan::math::matrix_v; using stan::math::mdivide_left_spd; matrix_v Av(2, 2); matr...
25.421053
79
0.52772
jrmie
b42d748756916e55c75d6e1b857c8062c98df1fa
155
hpp
C++
include/GTGE/Rendering.hpp
mackron/GTGameEngine
380d1e01774fe6bc2940979e4e5983deef0bf082
[ "BSD-3-Clause" ]
31
2015-03-19T08:44:48.000Z
2021-12-15T20:52:31.000Z
include/GTGE/Rendering.hpp
mackron/GTGameEngine
380d1e01774fe6bc2940979e4e5983deef0bf082
[ "BSD-3-Clause" ]
19
2015-07-09T09:02:44.000Z
2016-06-09T03:51:03.000Z
include/GTGE/Rendering.hpp
mackron/GTGameEngine
380d1e01774fe6bc2940979e4e5983deef0bf082
[ "BSD-3-Clause" ]
3
2017-10-04T23:38:18.000Z
2022-03-07T08:27:13.000Z
// Copyright (C) 2011 - 2014 David Reid. See included LICENCE. #ifndef GT_Rendering #define GT_Rendering #include "Rendering/Renderer.hpp" #endif
19.375
63
0.729032
mackron
b42dece7a8992d338cce25b08b3c82b6bcccb630
8,752
cc
C++
diagnostics/cros_healthd/routines/battery_health/battery_health.cc
kalyankondapally/chromiumos-platform2
5e5337009a65b1c9aa9e0ea565f567438217e91f
[ "BSD-3-Clause" ]
null
null
null
diagnostics/cros_healthd/routines/battery_health/battery_health.cc
kalyankondapally/chromiumos-platform2
5e5337009a65b1c9aa9e0ea565f567438217e91f
[ "BSD-3-Clause" ]
null
null
null
diagnostics/cros_healthd/routines/battery_health/battery_health.cc
kalyankondapally/chromiumos-platform2
5e5337009a65b1c9aa9e0ea565f567438217e91f
[ "BSD-3-Clause" ]
1
2020-11-04T22:31:45.000Z
2020-11-04T22:31:45.000Z
// Copyright 2019 The Chromium OS Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "diagnostics/cros_healthd/routines/battery_health/battery_health.h" #include <cstdint> #include <string> #include <utility> #include <base/f...
37.401709
80
0.715951
kalyankondapally
b43418844ec0e89816b6aa2f2f6a5540821be9a2
30,250
cpp
C++
lib/Target/AArch64/MCTargetDesc/AArch64AsmBackend.cpp
HikariObfuscatorSuite/Hikari-with-llvm
88514bf7d454b4f25a3c040e2f84e66a3651975c
[ "Apache-2.0" ]
null
null
null
lib/Target/AArch64/MCTargetDesc/AArch64AsmBackend.cpp
HikariObfuscatorSuite/Hikari-with-llvm
88514bf7d454b4f25a3c040e2f84e66a3651975c
[ "Apache-2.0" ]
null
null
null
lib/Target/AArch64/MCTargetDesc/AArch64AsmBackend.cpp
HikariObfuscatorSuite/Hikari-with-llvm
88514bf7d454b4f25a3c040e2f84e66a3651975c
[ "Apache-2.0" ]
1
2022-01-03T19:46:57.000Z
2022-01-03T19:46:57.000Z
//===-- AArch64AsmBackend.cpp - AArch64 Assembler Backend -----------------===// // // 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 // //===---------------------------...
38.291139
84
0.660364
HikariObfuscatorSuite
b43761ed9985a9a45e8f660e06f2f9ed8adb946a
583
hpp
C++
libs/renderer/include/sge/renderer/optional_matrix4_fwd.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
2
2016-01-27T13:18:14.000Z
2018-05-11T01:11:32.000Z
libs/renderer/include/sge/renderer/optional_matrix4_fwd.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
null
null
null
libs/renderer/include/sge/renderer/optional_matrix4_fwd.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_RENDERER_OPTIONAL_MATRIX4_FWD_HPP_INCLUDED #define SGE_RENDERER_OPTIONAL_MATRIX4_FWD_HP...
23.32
73
0.758148
cpreh
b438c1708623c83ac2a729235aaa6c9f22dc2fb9
665
cpp
C++
src/SpiDevice.cpp
karol57/Bme280SpiTest
ecbd64a71396f63be1e4595b2562f6feaa6690ae
[ "MIT" ]
null
null
null
src/SpiDevice.cpp
karol57/Bme280SpiTest
ecbd64a71396f63be1e4595b2562f6feaa6690ae
[ "MIT" ]
null
null
null
src/SpiDevice.cpp
karol57/Bme280SpiTest
ecbd64a71396f63be1e4595b2562f6feaa6690ae
[ "MIT" ]
null
null
null
#include "SpiDevice.hpp" #include <sysapi/fcntl.hpp> #include <sysapi/unistd.hpp> #include <linux/spi/spidev.h> #include <stdexcept> #include <iostream> SpiDevice::SpiDevice(const char* path) : m_fd{ sysapi::open(path, O_RDWR) } {} SpiDevice::~SpiDevice() try { sysapi::close(m_fd); } catch(const std::exceptio...
20.78125
68
0.688722
karol57
b43a37a3068877951a91767fbd0e230a8cb01be5
3,227
cpp
C++
src/game/server/toolframework_server.cpp
vxsd/refraction
bb6def1feb6c2e5c94b2604ad55607ed380a2d7e
[ "MIT" ]
14
2021-02-16T14:13:50.000Z
2022-03-17T18:29:19.000Z
src/game/server/toolframework_server.cpp
undbsd/refraction
bb6def1feb6c2e5c94b2604ad55607ed380a2d7e
[ "MIT" ]
7
2021-08-06T18:40:37.000Z
2022-03-09T18:05:08.000Z
src/game/server/toolframework_server.cpp
undbsd/refraction
bb6def1feb6c2e5c94b2604ad55607ed380a2d7e
[ "MIT" ]
2
2021-08-05T16:03:03.000Z
2021-11-26T00:11:27.000Z
//========= Copyright Valve Corporation, All rights reserved. ============// // // Purpose: // // $NoKeywords: $ // //===========================================================================// #include "cbase.h" #include "igamesystem.h" #include "toolframework/iserverenginetools.h" #include "init_factory.h" //-----...
23.215827
122
0.643632
vxsd
b43e9959bf72876ae33e696e5b155bbb8626a054
2,815
cpp
C++
code_blocks/check_indicators/main.cpp
rafald/xtechnical_analysis
7686c16241e9e53fb5a5548354531b533f983b54
[ "MIT" ]
12
2020-01-20T14:22:18.000Z
2022-01-26T04:41:36.000Z
code_blocks/check_indicators/main.cpp
rafald/xtechnical_analysis
7686c16241e9e53fb5a5548354531b533f983b54
[ "MIT" ]
1
2020-05-23T07:35:03.000Z
2020-05-23T07:35:03.000Z
code_blocks/check_indicators/main.cpp
rafald/xtechnical_analysis
7686c16241e9e53fb5a5548354531b533f983b54
[ "MIT" ]
9
2019-11-02T19:01:55.000Z
2021-07-08T21:51:44.000Z
#include <iostream> #include "xtechnical_indicators.hpp" using namespace std; int main() { cout << "Hello world!" << endl; xtechnical_indicators::MW<double> iMW(30); xtechnical_indicators::MMA<double> iMMA(5); xtechnical_indicators::SMA<double> iSMA(5); xtechnical_indicators::AMA<double> iAMA(10);...
33.117647
108
0.546714
rafald
b43ea915f54c9939f89f4d80430d470611aa5219
8,532
cpp
C++
Firmware/app/alpha_mqqt_queue/main/interrupt_app.cpp
eptecon/NoiseDetector
99c2cf4440a50f7b5511168a0ddaf7cdccc219c0
[ "MIT" ]
null
null
null
Firmware/app/alpha_mqqt_queue/main/interrupt_app.cpp
eptecon/NoiseDetector
99c2cf4440a50f7b5511168a0ddaf7cdccc219c0
[ "MIT" ]
null
null
null
Firmware/app/alpha_mqqt_queue/main/interrupt_app.cpp
eptecon/NoiseDetector
99c2cf4440a50f7b5511168a0ddaf7cdccc219c0
[ "MIT" ]
null
null
null
/* Created by Oleksandra Baga * Created for Eptecon Berlin */ #include <stdio.h> #include <string.h> #include <stdlib.h> #include "freertos/FreeRTOS.h" #include "freertos/task.h" #include "freertos/queue.h" #include "driver/gpio.h" #include "sdkconfig.h" #include "adc_app.h" #include "spi_app.h" #include "interrupt_a...
35.848739
101
0.531763
eptecon
b43fd3e96694b9c19f1cdfa1f6b27c99edd5bc83
3,644
cpp
C++
src/Old/Enemy.cpp
warzes/MicroDungeons
0df770288b3a16031434361e94c1d88413f84486
[ "MIT" ]
1
2022-03-15T22:29:07.000Z
2022-03-15T22:29:07.000Z
src/Old/Enemy.cpp
warzes/MicroDungeons
0df770288b3a16031434361e94c1d88413f84486
[ "MIT" ]
null
null
null
src/Old/Enemy.cpp
warzes/MicroDungeons
0df770288b3a16031434361e94c1d88413f84486
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "Enemy.h" #include "oWorld.h" #include "EnemyManager.h" #include "oPlayer.h" //----------------------------------------------------------------------------- void Enemy::Init() { m_enemyStartPos.x = static_cast<float>(rand() % 32); m_enemyStartPos.y = 0.3f; m_enemyStartPos.z = static_cast...
31.145299
125
0.586443
warzes
b44323fc7d0f8ab10e2bc3b092c0592f9c95850e
2,625
cpp
C++
Dark-And-Under/src/fonts/Font3x5.cpp
Pharap/Dark-And-Under-Blinky
992a4dd48dd8f01150d59c8458f210818f223620
[ "BSD-3-Clause" ]
27
2017-12-20T23:47:55.000Z
2022-02-14T18:33:31.000Z
Dark-And-Under/src/fonts/Font3x5.cpp
Pharap/Dark-And-Under-Blinky
992a4dd48dd8f01150d59c8458f210818f223620
[ "BSD-3-Clause" ]
10
2017-12-24T02:15:43.000Z
2019-06-04T19:43:27.000Z
Dark-And-Under/src/fonts/Font3x5.cpp
Pharap/Dark-And-Under-Blinky
992a4dd48dd8f01150d59c8458f210818f223620
[ "BSD-3-Clause" ]
18
2017-12-25T22:40:32.000Z
2021-11-16T10:31:10.000Z
#include <Arduino.h> #include <Print.h> #include "../Arduboy/Sprites.h" #include "Font3x5.h" #define FONT3X5_WIDTH 3 #define FONT3X5_HEIGHT 6 const uint8_t PROGMEM font_images[] = { 3, 7, 0x1F, 0x05, 0x1F, // A 0x1F, 0x15, 0x1B, 0x1F, 0x11, 0x11, 0x1F, 0x11, 0x0E, 0x1F, 0x15, 0x11, 0x1F, 0x05, 0x01, 0x1F, 0x11, ...
18.617021
103
0.635048
Pharap
b444b583adbac848a669c19eb3eb0ac9bd1291e8
29,738
cpp
C++
fdk-aac/libAACenc/src/psy_configuration.cpp
akhand1010/ODR-AudioEnc
550dcf24ce19e9819c0bad0061fbd5ce9dbd34e3
[ "Apache-2.0" ]
15
2016-10-18T11:46:21.000Z
2022-01-16T10:34:52.000Z
fdk-aac/libAACenc/src/psy_configuration.cpp
akhand1010/ODR-AudioEnc
550dcf24ce19e9819c0bad0061fbd5ce9dbd34e3
[ "Apache-2.0" ]
14
2016-11-15T21:14:50.000Z
2020-09-15T10:13:23.000Z
fdk-aac/libAACenc/src/psy_configuration.cpp
akhand1010/ODR-AudioEnc
550dcf24ce19e9819c0bad0061fbd5ce9dbd34e3
[ "Apache-2.0" ]
21
2016-11-15T09:00:30.000Z
2022-03-23T17:54:40.000Z
/* ----------------------------------------------------------------------------- Software License for The Fraunhofer FDK AAC Codec Library for Android © Copyright 1995 - 2018 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. All rights reserved. 1. INTRODUCTION The Fraunhofer FDK AAC Codec Lib...
37.0798
86
0.617257
akhand1010
b4458634a13cbaaced1fb4116d98f382d96392b0
1,010
cpp
C++
apps/test_aes.cpp
believedotchenyu/UDPRandString
1b3bd8336ee6b3df7db4bca375ac54405066dc10
[ "MIT" ]
null
null
null
apps/test_aes.cpp
believedotchenyu/UDPRandString
1b3bd8336ee6b3df7db4bca375ac54405066dc10
[ "MIT" ]
null
null
null
apps/test_aes.cpp
believedotchenyu/UDPRandString
1b3bd8336ee6b3df7db4bca375ac54405066dc10
[ "MIT" ]
null
null
null
#include <aes.h> #include <cassert> int main(int argc, char *argv[]) { /* 256 bit key */ uint8_t key[] = { 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f, 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x1d, 0x1e, 0x1f};...
21.489362
77
0.552475
believedotchenyu
b4468b2198ab513f348f690ca8573d88b4b5ffb2
832
cpp
C++
cpp/benchmark-na-meancf-cpp.cpp
dereckdemezquita/cs-Rcpp
1f991adb52a56cc4ca672bffe150b00391b27a13
[ "MIT" ]
null
null
null
cpp/benchmark-na-meancf-cpp.cpp
dereckdemezquita/cs-Rcpp
1f991adb52a56cc4ca672bffe150b00391b27a13
[ "MIT" ]
null
null
null
cpp/benchmark-na-meancf-cpp.cpp
dereckdemezquita/cs-Rcpp
1f991adb52a56cc4ca672bffe150b00391b27a13
[ "MIT" ]
null
null
null
#include <Rcpp.h> using namespace Rcpp; // [[Rcpp::export]] NumericVector na_meancf_cpp(NumericVector x) { double total_not_na = 0.0; double n_not_na = 0.0; NumericVector res = clone(x); int n = x.size(); for(int i = 0; i < n; i++) { // If ith value of x is NA if(NumericVector::is_na(x[i])) { // Set the...
20.292683
63
0.641827
dereckdemezquita
b447e80333ca226f52ed41c1b25f04d7831da7f7
1,838
cpp
C++
examples/Bedroom/src/main.cpp
founek2/IoT-Platform-library
b2392033fd386fc884772f0c661d629cab7a1fd7
[ "MIT" ]
null
null
null
examples/Bedroom/src/main.cpp
founek2/IoT-Platform-library
b2392033fd386fc884772f0c661d629cab7a1fd7
[ "MIT" ]
null
null
null
examples/Bedroom/src/main.cpp
founek2/IoT-Platform-library
b2392033fd386fc884772f0c661d629cab7a1fd7
[ "MIT" ]
null
null
null
#include "IOTPlatform.h" #include "Arduino.h" IOTPlatform plat("Postel"); Property *propSwitch; bool change = false; const int LED_PIN = 15; const int PIR_PIN = 13; void ICACHE_RAM_ATTR interrupt_routine() { change = true; Serial.println("interrupt"); int pir_state = digitalRead(PIR_PIN); if (pir_s...
23.265823
83
0.530468
founek2
b4481b7eedd8789723891abd28de73432e920886
3,852
cpp
C++
test/TestBucket.cpp
RPG-18/qtawss3
08705667ea494993d0abd5a7637334e9ee9e04a8
[ "Apache-2.0" ]
1
2015-08-17T13:10:30.000Z
2015-08-17T13:10:30.000Z
test/TestBucket.cpp
RPG-18/qtawss3
08705667ea494993d0abd5a7637334e9ee9e04a8
[ "Apache-2.0" ]
null
null
null
test/TestBucket.cpp
RPG-18/qtawss3
08705667ea494993d0abd5a7637334e9ee9e04a8
[ "Apache-2.0" ]
1
2021-05-14T05:24:43.000Z
2021-05-14T05:24:43.000Z
#include "gtest/gtest.h" #include <QtCore/QFile> #include <QtCore/QPair> #include <QtCore/QString> #include <QtCore/QDebug> #include "Auth.h" #include "Bucket.h" using namespace ASSS; TEST(Bucket, DISABLED_buckets) { QString accessKey = qgetenv("S3_ACCESS_KEY_ID"); QString secretKey = qgetenv("S3_SECRET_AC...
27.71223
75
0.666926
RPG-18
b44f59dd34d5194c641f9bcbea24b27d334d7585
5,474
cpp
C++
Galton/PaeJamesTE17BProgrammering1Galtonbräda.cpp
JFrap/Multithreaded-Galton-Board
0c98ddd8685cf9ffe7352fd9808c2cd47ce92110
[ "MIT" ]
null
null
null
Galton/PaeJamesTE17BProgrammering1Galtonbräda.cpp
JFrap/Multithreaded-Galton-Board
0c98ddd8685cf9ffe7352fd9808c2cd47ce92110
[ "MIT" ]
null
null
null
Galton/PaeJamesTE17BProgrammering1Galtonbräda.cpp
JFrap/Multithreaded-Galton-Board
0c98ddd8685cf9ffe7352fd9808c2cd47ce92110
[ "MIT" ]
null
null
null
//Arbitrary thread maximum incase you want to bottleneck the simulation for testing (1024 by default, because reasons) #define MAX_THREADS 1024u //Bias for the bernoulli distribution (0 left, 0.5 middle, 1 right). #define BIAS 0.5f //Includes #include <iostream> #include <algorithm> #include <ctime> #include <vector>...
32.975904
225
0.679211
JFrap
b451c9f87e34bf43b8f5bb23327637e359703182
2,075
cpp
C++
test/axis_category_test.cpp
henryiii/histogram
d9f000cb86a4b4ac5ebfcb395616fa9aaa28e06c
[ "BSL-1.0" ]
null
null
null
test/axis_category_test.cpp
henryiii/histogram
d9f000cb86a4b4ac5ebfcb395616fa9aaa28e06c
[ "BSL-1.0" ]
null
null
null
test/axis_category_test.cpp
henryiii/histogram
d9f000cb86a4b4ac5ebfcb395616fa9aaa28e06c
[ "BSL-1.0" ]
null
null
null
// Copyright 2015-2018 Hans Dembinski // // 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 <boost/core/lightweight_test.hpp> #include <boost/histogram/axis/category.hpp> #include <limits> #include <sstrea...
28.040541
74
0.625542
henryiii
b45b7fad7574a8533226e8c845392eb8acea4295
1,574
hpp
C++
tests/hsm/TrafficLightHsm.hpp
igor-krechetov/hsmcpp
5b0fcddacc43ad54a474c16767fa593ac0919393
[ "MIT" ]
10
2021-03-17T17:26:50.000Z
2022-03-30T17:33:23.000Z
tests/hsm/TrafficLightHsm.hpp
igor-krechetov/hsmcpp
5b0fcddacc43ad54a474c16767fa593ac0919393
[ "MIT" ]
1
2022-03-30T16:29:01.000Z
2022-03-30T16:29:01.000Z
tests/hsm/TrafficLightHsm.hpp
igor-krechetov/hsmcpp
5b0fcddacc43ad54a474c16767fa593ac0919393
[ "MIT" ]
null
null
null
#ifndef __HSMCPP_TESTS_HSM_TRAFFICLIGHTHSM_HPP__ #define __HSMCPP_TESTS_HSM_TRAFFICLIGHTHSM_HPP__ #include "TestsCommon.hpp" #include "hsmcpp/hsm.hpp" #undef __HSM_TRACE_CLASS__ #define __HSM_TRACE_CLASS__ "TrafficLightHsm" enum class TrafficLightState { OFF, STARTING, OPERABLE, ...
22.485714
92
0.749047
igor-krechetov
b45d05e0b39ebd8e52d8dea0261e1aadf921b0b3
828
cpp
C++
test/classwork_test/11_assign_test/vector_tests.cpp
acc-cosc-1337-fall-2019/acc-cosc-1337-fall-2019-gary-burns2
f42801f71be9e97354a927a755ec86022bec6d41
[ "MIT" ]
null
null
null
test/classwork_test/11_assign_test/vector_tests.cpp
acc-cosc-1337-fall-2019/acc-cosc-1337-fall-2019-gary-burns2
f42801f71be9e97354a927a755ec86022bec6d41
[ "MIT" ]
null
null
null
test/classwork_test/11_assign_test/vector_tests.cpp
acc-cosc-1337-fall-2019/acc-cosc-1337-fall-2019-gary-burns2
f42801f71be9e97354a927a755ec86022bec6d41
[ "MIT" ]
null
null
null
#define CATCH_CONFIG_MAIN // This tells Catch to provide a main() - only do this in one cpp file #include "catch.hpp" #include "vector.h" TEST_CASE("Verify Test Configuration", "verification") { REQUIRE(true == true); } TEST_CASE("Test vector class copy with stack variables") { Vector v(5); Vector v2 =...
16.235294
98
0.602657
acc-cosc-1337-fall-2019
b45e434e8da7a50b71b4bfcc81c31f4a7289bb8f
4,065
hpp
C++
src/stan/lang/ast/fun/block_type_locscale_vis.hpp
lseffer/stan
7ea40259c64a5fd90bd8b867e25afd6788ff22cc
[ "CC-BY-3.0", "BSD-3-Clause" ]
null
null
null
src/stan/lang/ast/fun/block_type_locscale_vis.hpp
lseffer/stan
7ea40259c64a5fd90bd8b867e25afd6788ff22cc
[ "CC-BY-3.0", "BSD-3-Clause" ]
null
null
null
src/stan/lang/ast/fun/block_type_locscale_vis.hpp
lseffer/stan
7ea40259c64a5fd90bd8b867e25afd6788ff22cc
[ "CC-BY-3.0", "BSD-3-Clause" ]
null
null
null
#ifndef STAN_LANG_AST_FUN_BLOCK_TYPE_LOCSCALE_VIS_HPP #define STAN_LANG_AST_FUN_BLOCK_TYPE_LOCSCALE_VIS_HPP #include <stan/lang/ast/node/locscale.hpp> #include <stan/lang/ast/type/block_array_type.hpp> #include <stan/lang/ast/type/cholesky_factor_corr_block_type.hpp> #include <stan/lang/ast/type/cholesky_factor_cov_bl...
25.89172
77
0.60738
lseffer
b46264adab30898f21f858c9a7cd37be78e24553
1,596
hpp
C++
include/Sirius/Core/Layer.hpp
xam4lor/Sirius
f05a89538ab2bc79a8d46f482fbb060271adce0a
[ "MIT" ]
1
2021-07-12T11:53:06.000Z
2021-07-12T11:53:06.000Z
include/Sirius/Core/Layer.hpp
xam4lor/Sirius
f05a89538ab2bc79a8d46f482fbb060271adce0a
[ "MIT" ]
null
null
null
include/Sirius/Core/Layer.hpp
xam4lor/Sirius
f05a89538ab2bc79a8d46f482fbb060271adce0a
[ "MIT" ]
1
2021-07-12T11:51:53.000Z
2021-07-12T11:51:53.000Z
#pragma once #include "srspch.hpp" #include "Sirius/Core/Timestep.hpp" #include "Sirius/Events/Event.hpp" namespace Sirius { /////////////////////////////////////////////////////////////// /// @brief Window layer class /// /// Provides functions to update a layer and set an event /// callback up...
28.5
68
0.425439
xam4lor
b466c07eefebbd03999d0f5d3adafa686a85e3f0
1,020
hpp
C++
src/ibeo_8l_sdk/src/ibeosdk/SplitFile.hpp
tomcamp0228/ibeo_ros2
ff56c88d6e82440ae3ce4de08f2745707c354604
[ "MIT" ]
1
2020-06-19T11:01:49.000Z
2020-06-19T11:01:49.000Z
include/ibeosdk/SplitFile.hpp
chouer19/enjoyDriving
e4a29e6cad7d3b0061d59f584cce7cdea2a55351
[ "MIT" ]
null
null
null
include/ibeosdk/SplitFile.hpp
chouer19/enjoyDriving
e4a29e6cad7d3b0061d59f584cce7cdea2a55351
[ "MIT" ]
2
2020-06-19T11:01:48.000Z
2020-10-29T03:07:14.000Z
//====================================================================== /*! \file SplitFile.hpp * * \copydoc Copyright * \author Jan Christian Dittmer (jcd) * \date Jan 24, 2013 *///------------------------------------------------------------------- #ifndef IBEOSDK_SPLITFILE_HPP_SEEN #define IBEOSDK_SPLITFILE_HP...
26.842105
72
0.315686
tomcamp0228
b46901f2eb380ac81c36beea230326ecb13de421
47,895
cpp
C++
dash_client_lib/source/api/indications.cpp
juergh/dash-sdk
16757836f1f96ee3220992f70bffe92c18e08e76
[ "AMDPLPA" ]
13
2015-08-06T14:55:10.000Z
2021-12-26T04:41:54.000Z
dash_client_lib/source/api/indications.cpp
juergh/dash-sdk
16757836f1f96ee3220992f70bffe92c18e08e76
[ "AMDPLPA" ]
null
null
null
dash_client_lib/source/api/indications.cpp
juergh/dash-sdk
16757836f1f96ee3220992f70bffe92c18e08e76
[ "AMDPLPA" ]
1
2017-06-17T14:15:41.000Z
2017-06-17T14:15:41.000Z
/* * License Agreement * * Copyright (c) 2007, 2008, 2009 Advanced Micro Devices Inc. * * All rights reserved. * * Redistribution and use in any form of this material and any product thereof including * software in source or binary forms, along with any related documentation, with or * without modification (...
27.151361
130
0.755131
juergh