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
54dede18f9e4d8c3f394ca7e5d128d6c53f234ef
770
cpp
C++
CO2003/2_Recursion/q15/main.cpp
Smithienious/hcmut-201
be16b77831aae83ff42e656a181881686c74e674
[ "MIT" ]
null
null
null
CO2003/2_Recursion/q15/main.cpp
Smithienious/hcmut-201
be16b77831aae83ff42e656a181881686c74e674
[ "MIT" ]
2
2020-10-12T09:57:12.000Z
2020-11-09T11:05:01.000Z
CO2003/2_Recursion/q15/main.cpp
Smithienious/hcmut-201
be16b77831aae83ff42e656a181881686c74e674
[ "MIT" ]
4
2020-10-12T10:30:56.000Z
2020-12-15T14:46:04.000Z
#include <iostream> using namespace std; bool matchPattern(char *text, char *pattern) { if (*text == '\0' && *pattern != '\0') return false; if (*pattern == '\0') return true; if (*text == *pattern) return matchPattern(text + 1, pattern + 1); return false; } bool containsPa...
17.906977
78
0.542857
Smithienious
54e0d1d56cb470aaac31d42c386b2ab307e95d80
674
hpp
C++
NWNXLib/API/Linux/API/CExoArrayListTemplatedunsignedshort.hpp
acaos/nwnxee-unified
0e4c318ede64028c1825319f39c012e168e0482c
[ "MIT" ]
1
2019-06-04T04:30:24.000Z
2019-06-04T04:30:24.000Z
NWNXLib/API/Linux/API/CExoArrayListTemplatedunsignedshort.hpp
presscad/nwnee
0f36b281524e0b7e9796bcf30f924792bf9b8a38
[ "MIT" ]
null
null
null
NWNXLib/API/Linux/API/CExoArrayListTemplatedunsignedshort.hpp
presscad/nwnee
0f36b281524e0b7e9796bcf30f924792bf9b8a38
[ "MIT" ]
1
2019-10-20T07:54:45.000Z
2019-10-20T07:54:45.000Z
#pragma once #include <cstdint> namespace NWNXLib { namespace API { struct CExoArrayListTemplatedunsignedshort { void Add(uint16_t); void Allocate(int32_t); void Insert(uint16_t, int32_t); void SetSize(int32_t); }; void CExoArrayListTemplatedunsignedshort__Add(CExoArrayListTemplatedunsignedshort* ...
25.923077
114
0.835312
acaos
54e30925c615ac4f64ef4d9a33c003ec5dc0ddec
1,315
cpp
C++
Crypt/CHARSTAT/test.cpp
mjohne/Turbo-Pascal-Apps
2b0b20ead9a6feaef5a6afbbd7616cd29b7a934f
[ "Unlicense" ]
null
null
null
Crypt/CHARSTAT/test.cpp
mjohne/Turbo-Pascal-Apps
2b0b20ead9a6feaef5a6afbbd7616cd29b7a934f
[ "Unlicense" ]
null
null
null
Crypt/CHARSTAT/test.cpp
mjohne/Turbo-Pascal-Apps
2b0b20ead9a6feaef5a6afbbd7616cd29b7a934f
[ "Unlicense" ]
null
null
null
#include <fstream> #include <iostream> #include <iomanip> #include <math.h> #include <stdlib.h> #include <string> #include <time.h> using namespace std; char ch,ch2; unsigned int i,n,Characters[256] = {0}, Letters[26],MaxChars = 0; ifstream IFile; ofstream StatisticsFile; string IFilename, Statistic...
22.672414
106
0.565019
mjohne
54e931306e018128bcbdffd5ba156723280f6917
33,952
cc
C++
src/gpu-compute/schedule_stage.cc
jyhuang91/gem5-avx
f988da46080f8db49beb39e20af437219f3aa4cb
[ "BSD-3-Clause" ]
2
2021-01-15T17:32:18.000Z
2021-12-21T02:53:58.000Z
src/gpu-compute/schedule_stage.cc
jyhuang91/gem5-avx
f988da46080f8db49beb39e20af437219f3aa4cb
[ "BSD-3-Clause" ]
3
2021-03-26T20:33:59.000Z
2022-01-24T22:54:03.000Z
src/gpu-compute/schedule_stage.cc
jyhuang91/gem5-avx
f988da46080f8db49beb39e20af437219f3aa4cb
[ "BSD-3-Clause" ]
3
2021-03-27T16:36:19.000Z
2022-03-28T18:32:57.000Z
/* * Copyright (c) 2014-2015 Advanced Micro Devices, Inc. * All rights reserved. * * For use for simulation and test purposes only * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of sourc...
38.450736
79
0.591423
jyhuang91
54f432b6682071df308f2e53c807f7de4a6aef77
889
ipp
C++
libs/config/test/boost_no_cv_void_spec.ipp
zyiacas/boost-doc-zh
689e5a3a0a4dbead1a960f7b039e3decda54aa2c
[ "BSL-1.0" ]
198
2015-01-13T05:47:18.000Z
2022-03-09T04:46:46.000Z
libs/config/test/boost_no_cv_void_spec.ipp
sdfict/boost-doc-zh
689e5a3a0a4dbead1a960f7b039e3decda54aa2c
[ "BSL-1.0" ]
9
2015-01-28T16:33:19.000Z
2020-04-12T23:03:28.000Z
libs/config/test/boost_no_cv_void_spec.ipp
sdfict/boost-doc-zh
689e5a3a0a4dbead1a960f7b039e3decda54aa2c
[ "BSL-1.0" ]
139
2015-01-15T20:09:31.000Z
2022-01-31T15:21:16.000Z
// (C) Copyright John Maddock 2001. // Use, modification and distribution are subject to the // Boost Software License, Version 1.0. (See accompanying file // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // See http://www.boost.org/libs/config for most recent version. // MACRO: ...
19.326087
69
0.664792
zyiacas
54f500fa906b623036656adc354d277d039a3533
1,502
cc
C++
squid/squid3-3.3.8.spaceify/src/CpuAffinity.cc
spaceify/spaceify
4296d6c93cad32bb735cefc9b8157570f18ffee4
[ "MIT" ]
4
2015-01-20T15:25:34.000Z
2017-12-20T06:47:42.000Z
squid/squid3-3.3.8.spaceify/src/CpuAffinity.cc
spaceify/spaceify
4296d6c93cad32bb735cefc9b8157570f18ffee4
[ "MIT" ]
4
2015-05-15T09:32:55.000Z
2016-02-18T13:43:31.000Z
squid/squid3-3.3.8.spaceify/src/CpuAffinity.cc
spaceify/spaceify
4296d6c93cad32bb735cefc9b8157570f18ffee4
[ "MIT" ]
null
null
null
/* * DEBUG: section 54 Interprocess Communication */ #include "squid.h" #include "base/TextException.h" #include "CpuAffinity.h" #include "CpuAffinityMap.h" #include "CpuAffinitySet.h" #include "Debug.h" #include "globals.h" #include "SquidConfig.h" #include "tools.h" #include <algorithm> static CpuAffinitySet ...
25.033333
79
0.649134
spaceify
54f58550e698a79503e2c23dd9847580a5517079
1,436
cpp
C++
snippets/cpp/VS_Snippets_CLR/ADSetAppDomainPolicy/CPP/adsetappdomainpolicy.cpp
BohdanMosiyuk/samples
59d435ba9e61e0fc19f5176c96b1cdbd53596142
[ "CC-BY-4.0", "MIT" ]
2
2020-03-12T19:26:36.000Z
2022-01-10T21:45:33.000Z
snippets/cpp/VS_Snippets_CLR/ADSetAppDomainPolicy/CPP/adsetappdomainpolicy.cpp
BohdanMosiyuk/samples
59d435ba9e61e0fc19f5176c96b1cdbd53596142
[ "CC-BY-4.0", "MIT" ]
555
2019-09-23T22:22:58.000Z
2021-07-15T18:51:12.000Z
snippets/cpp/VS_Snippets_CLR/ADSetAppDomainPolicy/CPP/adsetappdomainpolicy.cpp
BohdanMosiyuk/samples
59d435ba9e61e0fc19f5176c96b1cdbd53596142
[ "CC-BY-4.0", "MIT" ]
3
2020-01-29T16:31:15.000Z
2021-08-24T07:00:15.000Z
// <SNIPPET1> using namespace System; using namespace System::Threading; using namespace System::Security; using namespace System::Security::Policy; using namespace System::Security::Permissions; int main() { // Create a new application domain. AppDomain^ domain = System::AppDomain::CreateDomain( "MyDomain" ...
30.553191
91
0.698468
BohdanMosiyuk
54f6072aae3a4b33ad4ca7790e63ace81cc31f67
918
cpp
C++
solution088.cpp
white-shark/leetcode-cpp
ba1389d3083ee2a2bb0a232672ee316afc125b58
[ "MIT" ]
31
2016-08-18T16:30:59.000Z
2022-02-15T11:21:39.000Z
solution088.cpp
runguanner/Leetcode
ba1389d3083ee2a2bb0a232672ee316afc125b58
[ "MIT" ]
null
null
null
solution088.cpp
runguanner/Leetcode
ba1389d3083ee2a2bb0a232672ee316afc125b58
[ "MIT" ]
22
2017-07-17T07:30:00.000Z
2022-01-24T08:37:15.000Z
/** * Merge Sorted Array * From right most to left. * * cpselvis (cpselvis@gmail.com) * August 30th, 2016 */ #include<iostream> #include<vector> using namespace std; class Solution { public: void merge(vector<int>& nums1, int m, vector<int>& nums2, int n) { int i = m - 1, j = n - 1, p = m + n - 1; ...
16.105263
68
0.454248
white-shark
54f70c5d529d8ce17ab96cd43b0e0643029521e9
23,033
cpp
C++
demos/demo_imgui/main.cpp
cmaughan/picovim
ebf7c29c4da417ca6fed232099cb58e06ce41f58
[ "MIT" ]
null
null
null
demos/demo_imgui/main.cpp
cmaughan/picovim
ebf7c29c4da417ca6fed232099cb58e06ce41f58
[ "MIT" ]
null
null
null
demos/demo_imgui/main.cpp
cmaughan/picovim
ebf7c29c4da417ca6fed232099cb58e06ce41f58
[ "MIT" ]
null
null
null
// ImGui - standalone example application for SDL2 + OpenGL // If you are new to ImGui, see examples/README.txt and documentation at the top of imgui.cpp. // (SDL is a cross-platform general purpose library for handling windows, inputs, OpenGL/Vulkan graphics context creation, etc.) // (GL3W is a helper library to acce...
34.845688
191
0.598923
cmaughan
54fa487bcc7b3e832a331c1df6064396bd906875
5,109
hpp
C++
source/include/coffee/dbms/datatype/Set.hpp
ciscoruiz/wepa
e6d922157543c91b6804f11073424a0a9c6e8f51
[ "MIT" ]
2
2018-02-03T06:56:29.000Z
2021-04-20T10:28:32.000Z
source/include/coffee/dbms/datatype/Set.hpp
ciscoruiz/wepa
e6d922157543c91b6804f11073424a0a9c6e8f51
[ "MIT" ]
8
2018-02-18T21:00:07.000Z
2018-02-20T15:31:24.000Z
source/include/coffee/dbms/datatype/Set.hpp
ciscoruiz/wepa
e6d922157543c91b6804f11073424a0a9c6e8f51
[ "MIT" ]
1
2018-02-09T07:09:26.000Z
2018-02-09T07:09:26.000Z
// MIT License // // Copyright (c) 2018 Francisco Ruiz (francisco.ruiz.rayo@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 limitatio...
42.575
141
0.749853
ciscoruiz
54fb89ba0af0d6dcf716f01eb0e19a505b6e803b
1,891
cpp
C++
Userland/Utilities/uniq.cpp
densogiaichned/serenity
99c0b895fed02949b528437d6b450d85befde7a5
[ "BSD-2-Clause" ]
2
2022-02-16T02:12:38.000Z
2022-02-20T18:40:41.000Z
Userland/Utilities/uniq.cpp
densogiaichned/serenity
99c0b895fed02949b528437d6b450d85befde7a5
[ "BSD-2-Clause" ]
null
null
null
Userland/Utilities/uniq.cpp
densogiaichned/serenity
99c0b895fed02949b528437d6b450d85befde7a5
[ "BSD-2-Clause" ]
null
null
null
/* * Copyright (c) 2020, Matthew L. Curry <matthew.curry@gmail.com> * * SPDX-License-Identifier: BSD-2-Clause */ #include <AK/RefPtr.h> #include <LibCore/ArgsParser.h> #include <LibCore/System.h> #include <errno.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> struct linebuf { ...
23.6375
106
0.592279
densogiaichned
0702b69d65b38892c01ddd8c121498f9c11a5455
1,911
cpp
C++
Frame3.cpp
Svengali/cblib
77ddfd452cff842575750b9e6d792790f5ec5fee
[ "Zlib" ]
1
2021-05-01T04:34:24.000Z
2021-05-01T04:34:24.000Z
Frame3.cpp
Svengali/cblib
77ddfd452cff842575750b9e6d792790f5ec5fee
[ "Zlib" ]
null
null
null
Frame3.cpp
Svengali/cblib
77ddfd452cff842575750b9e6d792790f5ec5fee
[ "Zlib" ]
null
null
null
#include "Base.h" #include "Frame3.h" #include "Vec3U.h" START_CB ////////////////////////////////////////// // NOTEZ : IMPORTANT WARNING // the order of initialization of static class variables is // undefined !! // that means you CANNOT use things like Vec3::zero to initialize here !! const Frame3 Frame3::identit...
26.915493
99
0.540555
Svengali
0702f49c16d491783d894b4156f9f9f0d958b8fd
7,696
cpp
C++
electroslag/application/loading_screen.cpp
jwb1/electroslag
a0f81ec6f8f8485c2418193b2e3d3f5347c92df5
[ "Apache-2.0" ]
1
2018-08-19T11:06:17.000Z
2018-08-19T11:06:17.000Z
electroslag/application/loading_screen.cpp
jwb1/electroslag
a0f81ec6f8f8485c2418193b2e3d3f5347c92df5
[ "Apache-2.0" ]
null
null
null
electroslag/application/loading_screen.cpp
jwb1/electroslag
a0f81ec6f8f8485c2418193b2e3d3f5347c92df5
[ "Apache-2.0" ]
null
null
null
// Electroslag Interactive Graphics System // Copyright 2018 Joshua Buckman // // 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 // /...
39.265306
144
0.62578
jwb1
07062eaf2dfa690cb911d2211a355d9974198c61
627
cpp
C++
artery_tree/validate_tree.cpp
ncrookston/liver_source
9876ac4e9ea57d8e23767af9be061a9b10c6f1e5
[ "BSL-1.0" ]
null
null
null
artery_tree/validate_tree.cpp
ncrookston/liver_source
9876ac4e9ea57d8e23767af9be061a9b10c6f1e5
[ "BSL-1.0" ]
null
null
null
artery_tree/validate_tree.cpp
ncrookston/liver_source
9876ac4e9ea57d8e23767af9be061a9b10c6f1e5
[ "BSL-1.0" ]
null
null
null
#include "liver/macrocell_tree.hpp" #include "utility/options.hpp" #include <boost/filesystem.hpp> #include <boost/program_options.hpp> namespace po = boost::program_options; using namespace jhmi; int main(int argc, char* argv[]) { GOOGLE_PROTOBUF_VERIFY_VERSION; try { auto opts = options<treefile_option>{}...
22.392857
68
0.684211
ncrookston
070b800765bbc4cb9c1983518e34cf039b379193
970
hpp
C++
include/ftl/platform/avr/utils/setbaud.hpp
nnarain/ftl
18cb39b8214bab76e42f5fea48810279114b7e70
[ "MIT" ]
null
null
null
include/ftl/platform/avr/utils/setbaud.hpp
nnarain/ftl
18cb39b8214bab76e42f5fea48810279114b7e70
[ "MIT" ]
23
2021-02-14T21:26:27.000Z
2021-06-29T23:53:51.000Z
include/ftl/platform/avr/utils/setbaud.hpp
nnarain/ftl
18cb39b8214bab76e42f5fea48810279114b7e70
[ "MIT" ]
null
null
null
// // setbaud.hpp // // @author Natesh Narain <nnaraindev@gmail.com> // @date Oct 30 2020 // #ifndef FTL_PLATFORM_AVR_SETBAUD_HPP #define FTL_PLATFORM_AVR_SETBAUD_HPP #include <avr/io.h> namespace ftl { namespace platform { namespace avr { struct BaudConfig { BaudConfig(uint16_t b, bool u) : baud_value{b}...
16.166667
66
0.628866
nnarain
070df54df488dfb8e42548d041f7de60977c279d
4,563
cc
C++
power/libperfmgr/FileNode.cc
Micha-Btz/device_xiaomi_grus
d516af03a8e7a73a34e72ef882fa6869e8ef34c3
[ "Apache-2.0" ]
6
2020-09-11T14:24:20.000Z
2020-11-11T17:59:34.000Z
power/libperfmgr/FileNode.cc
Micha-Btz/device_xiaomi_grus
d516af03a8e7a73a34e72ef882fa6869e8ef34c3
[ "Apache-2.0" ]
1
2021-01-17T22:26:47.000Z
2021-01-18T13:23:20.000Z
power/libperfmgr/FileNode.cc
Micha-Btz/device_xiaomi_grus
d516af03a8e7a73a34e72ef882fa6869e8ef34c3
[ "Apache-2.0" ]
24
2020-04-22T09:22:31.000Z
2021-07-23T23:35:37.000Z
/* * Copyright (C) 2017 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
37.097561
80
0.60881
Micha-Btz
07118dc51b0e9178e490f5bd0010f0a306835df1
862
cpp
C++
265B.cpp
felikjunvianto/kfile-codeforces-submissions
1b53da27a294a12063b0912e12ad32efe24af678
[ "MIT" ]
null
null
null
265B.cpp
felikjunvianto/kfile-codeforces-submissions
1b53da27a294a12063b0912e12ad32efe24af678
[ "MIT" ]
null
null
null
265B.cpp
felikjunvianto/kfile-codeforces-submissions
1b53da27a294a12063b0912e12ad32efe24af678
[ "MIT" ]
null
null
null
#include <cstdio> #include <cmath> #include <iostream> #include <string> #include <cstring> #include <algorithm> #include <vector> #include <utility> #include <stack> #include <queue> #include <map> #define fi first #define se second #define pb push_back #define mp make_pair #define pi 2*acos(0.0) #de...
16.264151
45
0.539443
felikjunvianto
071a2bfe8f8f8718f2a40aa85c459cc111a3a0a7
5,054
cpp
C++
src/protocols/pppoe/CPPPOESessionHandler.cpp
vBRAS/OpenBRAS
cb227f48c5839ec95296c532b177a6639bfbd657
[ "BSD-3-Clause" ]
8
2017-06-05T08:56:27.000Z
2020-04-08T16:50:11.000Z
src/protocols/pppoe/CPPPOESessionHandler.cpp
vBRAS/OpenBRAS
cb227f48c5839ec95296c532b177a6639bfbd657
[ "BSD-3-Clause" ]
2
2018-12-30T10:37:53.000Z
2019-04-16T21:29:53.000Z
src/protocols/pppoe/CPPPOESessionHandler.cpp
vBRAS/OpenBRAS
cb227f48c5839ec95296c532b177a6639bfbd657
[ "BSD-3-Clause" ]
17
2017-06-05T08:54:27.000Z
2021-08-29T14:19:12.000Z
/*********************************************************************** Copyright (c) 2017, The OpenBRAS project authors. 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 sou...
31.006135
115
0.608231
vBRAS
0722d13e06ad7e03738f80ad8f8a7b426be62ceb
1,832
hpp
C++
complete_token_stream.hpp
CobaltXII/cxci
e8f7dc10ab954de504f10fca76121d0ce9de9e15
[ "MIT" ]
null
null
null
complete_token_stream.hpp
CobaltXII/cxci
e8f7dc10ab954de504f10fca76121d0ce9de9e15
[ "MIT" ]
null
null
null
complete_token_stream.hpp
CobaltXII/cxci
e8f7dc10ab954de504f10fca76121d0ce9de9e15
[ "MIT" ]
null
null
null
#pragma once #include <string> #include <vector> #include <sstream> #include <iostream> #include "ansi_colors.hpp" #include "token_stream.hpp" // A completed token stream. struct complete_token_stream_t { std::string filename; token_stream_t input; std::vector<token_t> tokens; long cursor = 0; // Default constr...
26.941176
97
0.639192
CobaltXII
072377f5b45681f1d6137894ceecbb56a836635f
412
hpp
C++
logos/wallet_server/client/callback_manager.hpp
LogosNetwork/logos-core
6b155539a734efefb8f649a761d044b5f267a51a
[ "BSD-2-Clause" ]
3
2020-01-17T18:05:19.000Z
2021-12-29T04:21:59.000Z
logos/wallet_server/client/callback_manager.hpp
LogosNetwork/logos-core
6b155539a734efefb8f649a761d044b5f267a51a
[ "BSD-2-Clause" ]
null
null
null
logos/wallet_server/client/callback_manager.hpp
LogosNetwork/logos-core
6b155539a734efefb8f649a761d044b5f267a51a
[ "BSD-2-Clause" ]
2
2020-12-22T05:51:53.000Z
2021-06-08T00:27:46.000Z
#pragma once #include <logos/wallet_server/client/callback_handler.hpp> #include <logos/wallet_server/client/common.hpp> #include <mutex> class CallbackManager { using Handlers = wallet_server::client::callback::Handlers; using Handle = wallet_server::client::callback::Handle; public: void OnCallback...
18.727273
63
0.740291
LogosNetwork
0725ee7006458581314e05229d89b3b5256db8a9
6,757
cpp
C++
NeuralNetworkCode/src/Synapse/MongilloSynapse.cpp
SFB1089/BrainCode
d7fab1f455c2c58f9be73be47e9f4538b426155c
[ "MIT" ]
null
null
null
NeuralNetworkCode/src/Synapse/MongilloSynapse.cpp
SFB1089/BrainCode
d7fab1f455c2c58f9be73be47e9f4538b426155c
[ "MIT" ]
null
null
null
NeuralNetworkCode/src/Synapse/MongilloSynapse.cpp
SFB1089/BrainCode
d7fab1f455c2c58f9be73be47e9f4538b426155c
[ "MIT" ]
null
null
null
#include "MongilloSynapse.hpp" MongilloSynapse::MongilloSynapse(NeuronPop * postNeurons,NeuronPop * preNeurons,GlobalSimInfo * info):Synapse(postNeurons,preNeurons,info) { u = 0; tau_f = 0; tau_d = 0; SetSeed(0); x.resize(GetNoNeuronsPre()); ...
37.960674
148
0.602634
SFB1089
072a49d88c309999af85346f19ac1000166215e7
756
cpp
C++
tools/xml/XSDCacheAdd.cpp
nakkim/smartmet-plugin-wfs
851334dd3be1a24b9708f66696f088fdc857a999
[ "MIT" ]
null
null
null
tools/xml/XSDCacheAdd.cpp
nakkim/smartmet-plugin-wfs
851334dd3be1a24b9708f66696f088fdc857a999
[ "MIT" ]
2
2018-04-17T10:02:46.000Z
2019-10-21T08:57:55.000Z
tools/xml/XSDCacheAdd.cpp
nakkim/smartmet-plugin-wfs
851334dd3be1a24b9708f66696f088fdc857a999
[ "MIT" ]
2
2017-05-10T12:03:51.000Z
2021-07-06T07:05:25.000Z
#include <cassert> #include <iostream> #include <sstream> #include <boost/filesystem.hpp> #include <openssl/sha.h> namespace fs = boost::filesystem; int main(int argc, char* argv[]) { assert(argc == 3); const std::string fn = argv[1]; const std::string uri = argv[2]; std::ostringstream fn_str; un...
25.2
82
0.628307
nakkim
072d9956d942d886efe79033af00a14700d2436c
7,921
hpp
C++
POC/gazebo_ros_ws/src/gazebo_ros/include/gazebo_ros/conversions/geometry_msgs.hpp
antarikshnarain/ArtemisLeapFrog
4bfdad2f7696d5ce3de419abbd82e9a3d659ce5a
[ "BSD-3-Clause" ]
3
2021-02-23T05:23:48.000Z
2021-03-23T07:53:58.000Z
POC/gazebo_ros_ws/src/gazebo_ros/include/gazebo_ros/conversions/geometry_msgs.hpp
antarikshnarain/ArtemisLeapFrog
4bfdad2f7696d5ce3de419abbd82e9a3d659ce5a
[ "BSD-3-Clause" ]
1
2021-04-23T01:23:19.000Z
2021-04-23T01:23:19.000Z
POC/gazebo_ros_ws/src/gazebo_ros/include/gazebo_ros/conversions/geometry_msgs.hpp
antarikshnarain/ArtemisLeapFrog
4bfdad2f7696d5ce3de419abbd82e9a3d659ce5a
[ "BSD-3-Clause" ]
1
2021-04-01T21:45:40.000Z
2021-04-01T21:45:40.000Z
// Copyright 2018 Open Source Robotics Foundation, 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 appli...
31.062745
99
0.729201
antarikshnarain
072f73c771e6d77aa7e04753c36cf023299d4aff
2,460
cpp
C++
Proj_Android/app/src/main/cpp/FColor.cpp
nraptis/Metal_OpenGL_MobileGameEngine
cc36682676a9797df8b3a7ee235b99be3ae2f666
[ "MIT" ]
3
2019-10-10T19:25:42.000Z
2019-12-17T10:51:23.000Z
Framework/[C++ Core]/FColor.cpp
nraptis/Metal_OpenGL_MobileGameEngine
cc36682676a9797df8b3a7ee235b99be3ae2f666
[ "MIT" ]
null
null
null
Framework/[C++ Core]/FColor.cpp
nraptis/Metal_OpenGL_MobileGameEngine
cc36682676a9797df8b3a7ee235b99be3ae2f666
[ "MIT" ]
1
2021-11-16T15:29:40.000Z
2021-11-16T15:29:40.000Z
#include "FColor.hpp" #include "core_includes.h" FColor::FColor(const char *pRGBAString) { mRed = 1.0f; mGreen = 1.0f; mBlue = 1.0f; mAlpha = 1.0f; const char *aPtr = pRGBAString; bool aFoundHex = false; if(aPtr) { while(*aPtr) { if((*aPtr>='0'&&*aPtr<='9')|...
26.170213
141
0.376829
nraptis
0737004046b1864fa2c96acbd9b8ffff1be1e7b8
1,185
cpp
C++
DeviceCode/GHI/Libraries/GHI.OSHW.Hardware/Managed/stubs/HAL_GHI_OSHW_Hardware_LowLevel_Register.cpp
valoni/STM32F103
75f0cb8be593ca287a08f5992d1f5d3c3bb12bfc
[ "Apache-2.0" ]
null
null
null
DeviceCode/GHI/Libraries/GHI.OSHW.Hardware/Managed/stubs/HAL_GHI_OSHW_Hardware_LowLevel_Register.cpp
valoni/STM32F103
75f0cb8be593ca287a08f5992d1f5d3c3bb12bfc
[ "Apache-2.0" ]
null
null
null
DeviceCode/GHI/Libraries/GHI.OSHW.Hardware/Managed/stubs/HAL_GHI_OSHW_Hardware_LowLevel_Register.cpp
valoni/STM32F103
75f0cb8be593ca287a08f5992d1f5d3c3bb12bfc
[ "Apache-2.0" ]
1
2019-12-03T05:37:43.000Z
2019-12-03T05:37:43.000Z
//----------------------------------------------------------------------------- // // ** WARNING! ** // This file was generated automatically by a tool. // Re-running the tool will overwrite this file. // You should copy this file to a custom location // before adding any customizat...
26.333333
83
0.581435
valoni
07374202a97900ae656de6164961a67e3bf2e120
489
hpp
C++
5_Processes_Signals_Files_Pipes/4_Pipes/3_Process-with-workers/src/AWorker/AWorker.hpp
PP189B/Multithreaded-programming-practice
f80378343824e51a164241289399ec92150852e8
[ "MIT" ]
null
null
null
5_Processes_Signals_Files_Pipes/4_Pipes/3_Process-with-workers/src/AWorker/AWorker.hpp
PP189B/Multithreaded-programming-practice
f80378343824e51a164241289399ec92150852e8
[ "MIT" ]
null
null
null
5_Processes_Signals_Files_Pipes/4_Pipes/3_Process-with-workers/src/AWorker/AWorker.hpp
PP189B/Multithreaded-programming-practice
f80378343824e51a164241289399ec92150852e8
[ "MIT" ]
null
null
null
#pragma once #include <vector> namespace App { class AWorker { // Fields private: static std::vector<int> opened_sockets_; protected: int pid_; int socket_; // Constructors and destructor public: AWorker(); AWorker(const AWorker& other) = delete; AWorker(AWorker&& old) =...
13.583333
44
0.607362
PP189B
073b4edfb7d5c65ba6509a0b0a5ae8010b1a704c
302
cxx
C++
source/game/host_system/SceneManager.cxx
stblr/mkw-cs
520254ee41c262332fd2fe429a9364202fd02dc0
[ "MIT" ]
12
2021-06-30T20:05:33.000Z
2022-01-15T23:10:53.000Z
source/game/host_system/SceneManager.cxx
stblr/mkw-cs
520254ee41c262332fd2fe429a9364202fd02dc0
[ "MIT" ]
13
2021-07-04T10:06:07.000Z
2021-11-07T22:41:34.000Z
source/game/host_system/SceneManager.cxx
stblr/mkw-cs
520254ee41c262332fd2fe429a9364202fd02dc0
[ "MIT" ]
null
null
null
#include "SceneManager.hxx" namespace System { void SceneManager::my_changeSceneWithCreator(s32 sceneId, EGG::SceneCreator *creator) { m_creator = creator; changeSiblingScene(sceneId); } } // namespace System REPLACE(changeSceneWithCreator__Q26System12SceneManagerFlPQ23EGG12SceneCreator);
23.230769
87
0.804636
stblr
073bbe665f0eb80791d35a3390cbca720c51f76f
1,683
cpp
C++
LAB6/LAB6/Circuit.cpp
florinERotaru/oop-et-al
750af01be09967e4112e7c783439fe2bdc0a11ce
[ "MIT" ]
null
null
null
LAB6/LAB6/Circuit.cpp
florinERotaru/oop-et-al
750af01be09967e4112e7c783439fe2bdc0a11ce
[ "MIT" ]
null
null
null
LAB6/LAB6/Circuit.cpp
florinERotaru/oop-et-al
750af01be09967e4112e7c783439fe2bdc0a11ce
[ "MIT" ]
null
null
null
#include "Circuit.h" #include <iostream> Circuit::Circuit() { carsNumber = 0; // stoppedNumber = 0; } void Circuit::AddCar(Car* model) { cars[carsNumber++] = model; //pun adresa direct } //void Circuit::AddStopped(Car* model) { // stopped[stoppedNumber++] = model; //} void Circuit::SetWeather(int we...
26.714286
167
0.52347
florinERotaru
074357f99cac48070d29f37d6bdf8191dbe7d9e3
65,289
cpp
C++
src/Backends/Helmholtz/TransportRoutines.cpp
friederikeboehm/CoolProp
44325d9e6abd9e6f88f428720f4f64a0c1962784
[ "MIT" ]
null
null
null
src/Backends/Helmholtz/TransportRoutines.cpp
friederikeboehm/CoolProp
44325d9e6abd9e6f88f428720f4f64a0c1962784
[ "MIT" ]
null
null
null
src/Backends/Helmholtz/TransportRoutines.cpp
friederikeboehm/CoolProp
44325d9e6abd9e6f88f428720f4f64a0c1962784
[ "MIT" ]
null
null
null
#include "TransportRoutines.h" #include "CoolPropFluid.h" namespace CoolProp { CoolPropDbl TransportRoutines::viscosity_dilute_kinetic_theory(HelmholtzEOSMixtureBackend& HEOS) { if (HEOS.is_pure_or_pseudopure) { CoolPropDbl Tstar = HEOS.T() / HEOS.components[0].transport.epsilon_over_k; CoolPropD...
48.942279
174
0.578489
friederikeboehm
07435cfeb75f5c3e1334bad63d90566a9506acfc
7,109
cpp
C++
test/moddims.cpp
ckeitz/arrayfire
a1a1bbbc8487a032eb27a6c894b1b3dfb19d123b
[ "BSD-3-Clause" ]
null
null
null
test/moddims.cpp
ckeitz/arrayfire
a1a1bbbc8487a032eb27a6c894b1b3dfb19d123b
[ "BSD-3-Clause" ]
null
null
null
test/moddims.cpp
ckeitz/arrayfire
a1a1bbbc8487a032eb27a6c894b1b3dfb19d123b
[ "BSD-3-Clause" ]
null
null
null
/******************************************************* * Copyright (c) 2014, ArrayFire * All rights reserved. * * This file is distributed under 3-clause BSD license. * The complete license agreement can be obtained at: * http://arrayfire.com/licenses/BSD-3-Clause **********************************************...
29.135246
142
0.620059
ckeitz
07439ae178f5d7834cc88f2c47ef09141dc3f310
1,644
cpp
C++
work/day14_figure.cpp
eatyouzi/AH
2beb8252f967d8492a63498c5866d5268eaed4af
[ "Unlicense" ]
null
null
null
work/day14_figure.cpp
eatyouzi/AH
2beb8252f967d8492a63498c5866d5268eaed4af
[ "Unlicense" ]
null
null
null
work/day14_figure.cpp
eatyouzi/AH
2beb8252f967d8492a63498c5866d5268eaed4af
[ "Unlicense" ]
null
null
null
#include<iostream> #include <cstdio> #include <fstream> #include <stdlib.h> using namespace std; class Figure{ public: Figure(); Figure(string name) :_typename(name) { } virtual double getArea( )=0; virtual string getName( )=0; virtual void show()=0; //打印图形的相关信息 protected: string _typename ; }; class ...
15.807692
51
0.607664
eatyouzi
0743b6b5e08885bcbeeb031436fd67c4ba897a65
124
cpp
C++
vortex/assert.cpp
LeDYoM/sgh
66a56d0df5c0acc8a3f47212a91da7ea889695de
[ "MIT" ]
null
null
null
vortex/assert.cpp
LeDYoM/sgh
66a56d0df5c0acc8a3f47212a91da7ea889695de
[ "MIT" ]
null
null
null
vortex/assert.cpp
LeDYoM/sgh
66a56d0df5c0acc8a3f47212a91da7ea889695de
[ "MIT" ]
null
null
null
#include "include/assert.hpp" #include "common_def_priv.hpp" namespace vtx { Assert::Assert() {} Assert::~Assert() {} }
12.4
30
0.677419
LeDYoM
0745802cf61c83a6b3b707eb4973f77385475d5a
836
cpp
C++
external/FW1FontWrapper/Source/FW1FontWrapper.cpp
CptLucky8/OpenXR-Toolkit
82bfe926d64faa119556725ab5e8bcd2cd7dbab5
[ "MIT" ]
54
2018-12-18T01:43:15.000Z
2022-02-13T09:37:41.000Z
external/FW1FontWrapper/Source/FW1FontWrapper.cpp
CptLucky8/OpenXR-Toolkit
82bfe926d64faa119556725ab5e8bcd2cd7dbab5
[ "MIT" ]
162
2021-12-29T09:27:33.000Z
2022-03-31T02:59:04.000Z
external/FW1FontWrapper/Source/FW1FontWrapper.cpp
CptLucky8/OpenXR-Toolkit
82bfe926d64faa119556725ab5e8bcd2cd7dbab5
[ "MIT" ]
17
2018-12-16T12:16:35.000Z
2022-02-15T18:58:01.000Z
// FW1FontWrapper.cpp #include "FW1Precompiled.h" #include "CFW1Factory.h" #ifndef FW1_DELAYLOAD_DWRITE_DLL #pragma comment (lib, "DWrite.lib") #endif #ifndef FW1_DELAYLOAD_D3DCOMPILER_XX_DLL #pragma comment (lib, "DWrite.lib") #endif #ifdef FW1_COMPILETODLL #ifndef _M_X64 #pragma comment (linker, "/EXPORT:FW...
19.44186
96
0.740431
CptLucky8
074aa629651f56e34920eceb191d702d723480cf
10,284
cpp
C++
src/d_effect.cpp
Krzysiek-K/dxfw
ca8010fd1dc3969a5cdeee062c4ca43090b0815a
[ "BSD-4-Clause" ]
1
2019-01-17T22:57:40.000Z
2019-01-17T22:57:40.000Z
src/d_effect.cpp
Krzysiek-K/dxfw
ca8010fd1dc3969a5cdeee062c4ca43090b0815a
[ "BSD-4-Clause" ]
null
null
null
src/d_effect.cpp
Krzysiek-K/dxfw
ca8010fd1dc3969a5cdeee062c4ca43090b0815a
[ "BSD-4-Clause" ]
null
null
null
#include "dxfw.h" using namespace std; using namespace base; static bool _load_scrambled(const char *path,vector<byte> &data) { if(!NFS.GetFileBytes(path,data)) return false; unsigned int key = 1716253875; for(int i=0;i<(int)data.size();i++) { data[i] ^= (key>>24); key = key*134775813 + 1...
22.405229
121
0.615908
Krzysiek-K
074aba4ac8cd17f5b576a985f4a93691da34d019
8,760
cpp
C++
game/bg_slidemove.cpp
kugelrund/Elite-Reinforce
a2fe0c0480ff2d9cdc241b9e5416ee7f298f00ca
[ "DOC" ]
10
2017-07-04T14:38:48.000Z
2022-03-08T22:46:39.000Z
game/bg_slidemove.cpp
UberGames/SP-Mod-Source-Code
04e0e618d1ee57a2919f1a852a688c03b1aa155d
[ "DOC" ]
null
null
null
game/bg_slidemove.cpp
UberGames/SP-Mod-Source-Code
04e0e618d1ee57a2919f1a852a688c03b1aa155d
[ "DOC" ]
2
2017-04-23T18:24:44.000Z
2021-11-19T23:27:03.000Z
#include "q_shared.h" #include "bg_public.h" #include "bg_local.h" /* input: origin, velocity, bounds, groundPlane, trace function output: origin, velocity, impacts, stairup boolean */ /* ================== PM_SlideMove Returns qtrue if the velocity was clipped in some way ================== */ #define MAX_CLIP_P...
26.465257
134
0.638128
kugelrund
074bda5fb0986fa2c221fd1829df4b2502550247
9,107
cpp
C++
PIPS-IPM/Drivers/statgdx/p3Custom2.cpp
dRehfeldt/PIPS
24d3ea89a0a1aa77c133cfc698a568eb685c9fdb
[ "BSD-3-Clause-LBNL" ]
6
2020-10-29T15:14:14.000Z
2021-07-14T13:31:54.000Z
PIPS-IPM/Drivers/statgdx/p3Custom2.cpp
dRehfeldt/PIPS
24d3ea89a0a1aa77c133cfc698a568eb685c9fdb
[ "BSD-3-Clause-LBNL" ]
null
null
null
PIPS-IPM/Drivers/statgdx/p3Custom2.cpp
dRehfeldt/PIPS
24d3ea89a0a1aa77c133cfc698a568eb685c9fdb
[ "BSD-3-Clause-LBNL" ]
1
2019-02-15T16:30:44.000Z
2019-02-15T16:30:44.000Z
/* $Id: p3Custom2.cpp 52165 2015-05-19 13:33:37Z sdirkse $ * This code is sensitive to the order of the #defines, so inlining is not OK */ #if defined(__linux) && ! defined(_GNU_SOURCE) # define _GNU_SOURCE /* required for dladdr() but no desired globally */ #endif #include <stdio.h> #include <stdlib.h> #include <...
26.16954
103
0.527616
dRehfeldt
074ef64e1adb81315179e0c97678b58f80be9f71
8,342
cpp
C++
arimaa_com.cpp
TFiFiE/4steps
fa0830bea3187dd49d5e8ad1476a8ad29a676cdf
[ "Apache-2.0" ]
9
2018-01-12T08:22:35.000Z
2022-01-05T01:31:39.000Z
arimaa_com.cpp
TFiFiE/4steps
fa0830bea3187dd49d5e8ad1476a8ad29a676cdf
[ "Apache-2.0" ]
4
2018-02-05T21:57:39.000Z
2018-12-01T23:38:31.000Z
arimaa_com.cpp
TFiFiE/4steps
fa0830bea3187dd49d5e8ad1476a8ad29a676cdf
[ "Apache-2.0" ]
2
2018-02-05T23:18:51.000Z
2021-12-17T18:42:02.000Z
#include <QNetworkReply> #include <QNetworkCookieJar> #include <QNetworkCookie> #include <QCheckBox> #include <QDesktopServices> #include "arimaa_com.hpp" #include "asip1.hpp" #include "asip2.hpp" #include "server.hpp" #include "io.hpp" #include "bots.hpp" template<class Base> Arimaa_com<Base>::Arimaa_com(QNetworkAcce...
33.502008
179
0.729921
TFiFiE
0754f28f523f0241dceb47eec5faa20c19e5dd21
484
cpp
C++
src/utils.cpp
KarateSnoopy/vcv-karatesnoopy
4168a22c4fd90790697f8a2416472fe257153294
[ "MIT" ]
25
2017-10-26T12:44:09.000Z
2019-11-19T16:56:05.000Z
src/utils.cpp
KarateSnoopy/vcv-snoopy
4168a22c4fd90790697f8a2416472fe257153294
[ "MIT" ]
10
2017-10-27T06:17:58.000Z
2021-02-05T15:42:43.000Z
src/utils.cpp
KarateSnoopy/vcv-snoopy
4168a22c4fd90790697f8a2416472fe257153294
[ "MIT" ]
2
2017-11-09T09:06:23.000Z
2018-03-01T00:32:33.000Z
#include "utils.h" static long _stepCount = 0; void log_increase_step_number() { _stepCount++; } void write_log(long freq, const char *format, ...) { if (freq == 0) freq++; if (_stepCount % freq == 0) // log every "freq". eg pass in 10000 to issue this log every 10k steps { va_list ...
16.689655
104
0.566116
KarateSnoopy
075c6da5785e389ddbebf04c64bf0e0eb79df09e
640
hpp
C++
test/vector/vml/v_max.hpp
rigarash/monolish-debian-package
70b4917370184bcf07378e1907c5239a1ad9579b
[ "Apache-2.0" ]
172
2021-04-05T10:04:40.000Z
2022-03-28T14:30:38.000Z
test/vector/vml/v_max.hpp
rigarash/monolish-debian-package
70b4917370184bcf07378e1907c5239a1ad9579b
[ "Apache-2.0" ]
96
2021-04-06T01:53:44.000Z
2022-03-09T07:27:09.000Z
test/vector/vml/v_max.hpp
termoshtt/monolish
1cba60864002b55bc666da9baa0f8c2273578e01
[ "Apache-2.0" ]
8
2021-04-05T13:21:07.000Z
2022-03-09T23:24:06.000Z
#include "../../test_utils.hpp" template <typename T> T ans_vmax(monolish::vector<T> &ans) { return *(std::max_element(ans.begin(), ans.end())); } template <typename T> bool test_send_vmax(const size_t size, double tol) { monolish::vector<T> x(size, 0.1, 10.0); T ans = ans_vmax(x); monolish::util::send(x);...
22.068966
74
0.65625
rigarash
075f30d00377f3e0a27342f4fdf1ab7d5535e71b
2,829
cpp
C++
Source/Objects/Shop.cpp
DrStrangelove42/DearmOfaRidiculousMan
a19af08c0a044ed4a30194ffdfac912475618b14
[ "MIT" ]
null
null
null
Source/Objects/Shop.cpp
DrStrangelove42/DearmOfaRidiculousMan
a19af08c0a044ed4a30194ffdfac912475618b14
[ "MIT" ]
7
2020-11-20T08:57:10.000Z
2021-03-22T20:40:04.000Z
Source/Objects/Shop.cpp
DrStrangelove42/DreamOfaRidiculousMan
a19af08c0a044ed4a30194ffdfac912475618b14
[ "MIT" ]
null
null
null
#include "Shop.h" //#include "../Characters/Player.h" Shop::Shop(string id, string name, string speech, int posx, int posy, RenderContext& renderer, Map* map) : NPC(id, name, speech, posx, posy, "shop", renderer, map, false), player(NULL) { } Shop::~Shop() { for (auto& entry : contents) { delete entry.first; ...
24.179487
153
0.653588
DrStrangelove42
076188d3b38034867405a8190c6ff683f53f0bf6
2,177
cpp
C++
ex01-09.cpp
GabrielScalici/UVA
e5a56b1ad10df8f1e3d1d6f8fd6d32348a16349f
[ "MIT" ]
null
null
null
ex01-09.cpp
GabrielScalici/UVA
e5a56b1ad10df8f1e3d1d6f8fd6d32348a16349f
[ "MIT" ]
null
null
null
ex01-09.cpp
GabrielScalici/UVA
e5a56b1ad10df8f1e3d1d6f8fd6d32348a16349f
[ "MIT" ]
null
null
null
#include <iostream> #include <string.h> #include <algorithm> #include <stdio.h> #include <stdlib.h> #include <vector> #include <stack> #include <queue> #include <math.h> #define MAX 100 #define GRANDE 100000.0 #define TAM 2 using namespace std; int main(int argc, char const *argv[]){ double P[MAX][TAM]; int...
21.989899
58
0.47175
GabrielScalici
79e45a3459f7bccf1f06af827911d93a3425021c
233
cpp
C++
0744_find_smallest_letter_greater_than_target.cpp
fxshan/LeetCode
a54bbe22bc335dcb3c7efffcc34357cab7641492
[ "Apache-2.0" ]
2
2020-06-04T13:20:20.000Z
2020-06-04T14:49:10.000Z
0744_find_smallest_letter_greater_than_target.cpp
fxshan/LeetCode
a54bbe22bc335dcb3c7efffcc34357cab7641492
[ "Apache-2.0" ]
null
null
null
0744_find_smallest_letter_greater_than_target.cpp
fxshan/LeetCode
a54bbe22bc335dcb3c7efffcc34357cab7641492
[ "Apache-2.0" ]
null
null
null
class Solution { public: char nextGreatestLetter(vector<char>& letters, char target) { for (int i = 0; i < letters.size(); i++) { if ((int)target < (int)letters[i]) return letters[i]; } return letters[0]; } };
23.3
63
0.596567
fxshan
79ed1e5b281d02b10c8e8d7bb46485a4f357abdf
86,647
cc
C++
src/app/common/proto/data.pb.cc
mloves0824/Antalk
fdca57697fb69a6e14bfc12ff2878da419aef793
[ "MIT" ]
null
null
null
src/app/common/proto/data.pb.cc
mloves0824/Antalk
fdca57697fb69a6e14bfc12ff2878da419aef793
[ "MIT" ]
null
null
null
src/app/common/proto/data.pb.cc
mloves0824/Antalk
fdca57697fb69a6e14bfc12ff2878da419aef793
[ "MIT" ]
null
null
null
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: data.proto #include "data.pb.h" #include <algorithm> #include <google/protobuf/stubs/common.h> #include <google/protobuf/stubs/port.h> #include <google/protobuf/stubs/once.h> #include <google/protobuf/io/coded_stream.h> #include <google/protobuf/...
36.421606
131
0.708057
mloves0824
79ef41d0c35c576c2f0aad5e54868f50983bad0e
897
cpp
C++
src/Protein.cpp
pelafustan/aed_u1g0
69342941c1dc22f6641b39a80ce35e2fe9076fbd
[ "MIT" ]
null
null
null
src/Protein.cpp
pelafustan/aed_u1g0
69342941c1dc22f6641b39a80ce35e2fe9076fbd
[ "MIT" ]
null
null
null
src/Protein.cpp
pelafustan/aed_u1g0
69342941c1dc22f6641b39a80ce35e2fe9076fbd
[ "MIT" ]
null
null
null
#include "../include/Protein.h" // default constructor Protein::Protein() { // default attributes this->Name = ""; this->ID = ""; } // specific constructor Protein::Protein(std::string name, std::string id) { // user defined attributes this->Name = name; this->ID = id; } // overloaded specifi...
26.382353
77
0.654404
pelafustan
79f4c2940f75053ea6f5a9d091814cfbf11c2d42
4,748
cpp
C++
Doom/src/Doom/Doom.cpp
Shturm0weak/OpenGL_Engine
6e6570f8dd9000724274942fff5a100f0998b780
[ "MIT" ]
126
2020-10-20T21:39:53.000Z
2022-01-25T14:43:44.000Z
Doom/src/Doom/Doom.cpp
Shturm0weak/2D_OpenGL_Engine
6e6570f8dd9000724274942fff5a100f0998b780
[ "MIT" ]
2
2021-01-07T17:29:19.000Z
2021-08-14T14:04:28.000Z
Doom/src/Doom/Doom.cpp
Shturm0weak/2D_OpenGL_Engine
6e6570f8dd9000724274942fff5a100f0998b780
[ "MIT" ]
16
2021-01-09T09:08:40.000Z
2022-01-25T14:43:46.000Z
#include "pch.h" #include "Core/World.h" #include "Core/Core.h" #include "Render/Renderer.h" #include "Text/Character.h" #include "Core/Timer.h" #include "Render/Batch.h" #include "Objects/Line.h" #include "Objects/ParticleSystem.h" #include "Audio/SoundManager.h" #include "Core/Editor.h" #include "Components/Rectangle...
38.290323
108
0.771693
Shturm0weak
79fa92b27f3137bfbed6662649626a55c9f6671a
9,104
cpp
C++
Mercury3/src/renderer/OpenVRRenderTarget.cpp
axlecrusher/hgengine3
7eed878015e47a3275e2dae53cac00e93b74dc19
[ "MIT" ]
4
2018-05-27T18:56:59.000Z
2020-08-02T21:41:30.000Z
Mercury3/src/renderer/OpenVRRenderTarget.cpp
axlecrusher/hgengine3
7eed878015e47a3275e2dae53cac00e93b74dc19
[ "MIT" ]
null
null
null
Mercury3/src/renderer/OpenVRRenderTarget.cpp
axlecrusher/hgengine3
7eed878015e47a3275e2dae53cac00e93b74dc19
[ "MIT" ]
2
2019-05-16T05:23:12.000Z
2020-04-17T10:16:04.000Z
#include <OpenVRRenderTarget.h> #include <HgUtils.h> #include <HgCamera.h> #include <MercuryWindow.h> #include <RenderBackend.h> #include <Win32Window.h> #include <OGLFramebuffer.h> #include <EventSystem.h> #include <Logging.h> OpenVRRenderTarget::OpenVRRenderTarget(OpenVrProxy* openvr) :m_openvr(openvr), m_initaliz...
29.462783
149
0.745826
axlecrusher
79ff22d850d7e3df640a66fcaa1eb9c2a8b5e3e3
3,352
cpp
C++
src/LuminoEngine/src/Graphics/RHIs/RHIResource.cpp
infinnie/Lumino
921caabdbcb91528a2aac290e31d650628bc3bed
[ "MIT" ]
113
2020-03-05T01:27:59.000Z
2022-03-28T13:20:51.000Z
src/LuminoEngine/src/Graphics/RHIs/RHIResource.cpp
infinnie/Lumino
921caabdbcb91528a2aac290e31d650628bc3bed
[ "MIT" ]
13
2020-03-23T20:36:44.000Z
2022-02-28T11:07:32.000Z
src/LuminoEngine/src/Graphics/RHIs/RHIResource.cpp
infinnie/Lumino
921caabdbcb91528a2aac290e31d650628bc3bed
[ "MIT" ]
12
2020-12-21T12:03:59.000Z
2021-12-15T02:07:49.000Z
 #include "Internal.hpp" #include "GraphicsDeviceContext.hpp" #include "RHIProfiler.hpp" #include "RHIResource.hpp" namespace ln { namespace detail { //============================================================================= // RHIResource RHIResource::RHIResource() : m_type(RHIResourceType::Unknown) , m_us...
24.115108
130
0.724642
infinnie
0301d55e286597f3520052d182d8971d0afa307d
871
cpp
C++
standalone/main.cpp
sirofen/read-memory-dll
035b008cdb6ffbf2d00f30234f9ef976c04eee1e
[ "MIT" ]
null
null
null
standalone/main.cpp
sirofen/read-memory-dll
035b008cdb6ffbf2d00f30234f9ef976c04eee1e
[ "MIT" ]
null
null
null
standalone/main.cpp
sirofen/read-memory-dll
035b008cdb6ffbf2d00f30234f9ef976c04eee1e
[ "MIT" ]
null
null
null
// spdlog #define SPDLOG_ACTIVE_LEVEL SPDLOG_LEVEL_TRACE #include <spdlog/spdlog.h> #include <spdlog/sinks/stdout_color_sinks.h> // module #include <module/base_listener.hpp> #include <module/internal/kbd_remap_pointer_dep.hpp> #include <module/module_run.hpp> // C++ STL #include <iostream> class listener : public m...
24.194444
68
0.711825
sirofen
030760168ca9cfa92c8fa38ddbdbeadc8472a4dd
32,100
cpp
C++
kernel/thor/generic/address-space.cpp
64/managarm
8250ae9110703e5db796011078d8d856b8119f3c
[ "MIT" ]
1
2021-02-03T09:21:08.000Z
2021-02-03T09:21:08.000Z
kernel/thor/generic/address-space.cpp
MichaelTrikergiotis/managarm
7966d1ca02bf5295a51c56dbb5496c4ad4de9730
[ "MIT" ]
null
null
null
kernel/thor/generic/address-space.cpp
MichaelTrikergiotis/managarm
7966d1ca02bf5295a51c56dbb5496c4ad4de9730
[ "MIT" ]
null
null
null
#include <type_traits> #include <thor-internal/coroutine.hpp> #include <thor-internal/physical.hpp> #include <thor-internal/fiber.hpp> #include <frg/container_of.hpp> #include <thor-internal/types.hpp> namespace thor { extern size_t kernelMemoryUsage; namespace { constexpr bool logCleanup = false; constexpr bool ...
31.782178
103
0.673115
64
030c119e42ce28723ff3883ec3513ba8666b1d52
16,531
cpp
C++
dev/spark/Gem/Code/Components/GameManagerSystemComponent.cpp
chrisinajar/spark
3c6b30592c00bc38738cc3aaca2144edfc6cc8b2
[ "AML" ]
2
2020-08-20T03:40:24.000Z
2021-02-07T20:31:43.000Z
dev/spark/Gem/Code/Components/GameManagerSystemComponent.cpp
chrisinajar/spark
3c6b30592c00bc38738cc3aaca2144edfc6cc8b2
[ "AML" ]
null
null
null
dev/spark/Gem/Code/Components/GameManagerSystemComponent.cpp
chrisinajar/spark
3c6b30592c00bc38738cc3aaca2144edfc6cc8b2
[ "AML" ]
5
2020-08-27T20:44:18.000Z
2021-08-21T22:54:11.000Z
#include "spark_precompiled.h" #include <ISystem.h> #include <CryAction.h> #include <AzCore/Component/Component.h> #include <AzCore/Component/Entity.h> #include <AzFramework/Script/ScriptComponent.h> #include <AzCore/Asset/AssetManagerBus.h> #include <AzFramework/Entity/EntityContextBus.h> #include <AzFramework/Entit...
30.443831
163
0.721432
chrisinajar
0310133372a8a8f1654321664c21e429d0545c45
930
cpp
C++
[376] Wiggle Subsequence/376.wiggle-subsequence.cpp
Coolzyh/Leetcode
4abf685501427be0ce36b83016c4fa774cdf1a1a
[ "MIT" ]
null
null
null
[376] Wiggle Subsequence/376.wiggle-subsequence.cpp
Coolzyh/Leetcode
4abf685501427be0ce36b83016c4fa774cdf1a1a
[ "MIT" ]
null
null
null
[376] Wiggle Subsequence/376.wiggle-subsequence.cpp
Coolzyh/Leetcode
4abf685501427be0ce36b83016c4fa774cdf1a1a
[ "MIT" ]
null
null
null
/* * @lc app=leetcode id=376 lang=cpp * * [376] Wiggle Subsequence */ // @lc code=start class Solution { public: int wiggleMaxLength(vector<int>& nums) { // O(n) dp method int n = nums.size(); if (n == 1) return 1; // up[] and down[] record the max wiggle sequence length so far ...
25.135135
83
0.416129
Coolzyh
03123a6d86ea7e87e1afe345039412b79c1ff84b
12,852
cpp
C++
src/gpu/gl/GrGLNameAllocator.cpp
Perspex/skia
e25fe5a294e9cee8f23207eef63fad6cffa9ced4
[ "Apache-2.0" ]
7
2016-01-12T23:32:32.000Z
2021-12-03T11:21:26.000Z
src/gpu/gl/GrGLNameAllocator.cpp
AvaloniaUI/skia
e25fe5a294e9cee8f23207eef63fad6cffa9ced4
[ "Apache-2.0" ]
null
null
null
src/gpu/gl/GrGLNameAllocator.cpp
AvaloniaUI/skia
e25fe5a294e9cee8f23207eef63fad6cffa9ced4
[ "Apache-2.0" ]
6
2015-12-09T14:00:19.000Z
2021-12-06T03:08:43.000Z
/* * Copyright 2014 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "GrGLNameAllocator.h" /** * This is the abstract base class for a nonempty AVL tree that tracks allocated * names within the half-open range [fFirst, fEnd). The i...
34.641509
109
0.625506
Perspex
0315b9a79c66e94e3b82f15fc90e4e3758bfaefd
2,112
cpp
C++
C++17TemplateFeatures/folding_basics.cpp
rostislav-nikitin/edu.cpp
3cbb87b32042cc24ebfc9937927ba86ca24a92aa
[ "MIT" ]
null
null
null
C++17TemplateFeatures/folding_basics.cpp
rostislav-nikitin/edu.cpp
3cbb87b32042cc24ebfc9937927ba86ca24a92aa
[ "MIT" ]
null
null
null
C++17TemplateFeatures/folding_basics.cpp
rostislav-nikitin/edu.cpp
3cbb87b32042cc24ebfc9937927ba86ca24a92aa
[ "MIT" ]
null
null
null
// Single-line comment /* * Multiple line comment */ #include <iostream> #include <sstream> using namespace std; // Variadic tempalte auto sum() { return 0; } template<typename T, typename...Args> auto sum(T current, Args ...args) { return current + sum(args...); } //C++17 fold expressions //Unary templa...
18.526316
79
0.552557
rostislav-nikitin
031b13288a44c73b9bb85d08c2c8372ed60e2bc4
2,259
cpp
C++
database/moviemodel.cpp
softmarch/learnqml
9aded6804e74f8f5383ab577437bc5c9dc4a0d56
[ "MIT" ]
3
2020-09-25T09:32:01.000Z
2021-07-10T05:17:39.000Z
database/moviemodel.cpp
heafox/learnqml
37f9d7a22dad03c0bb4b7bb036a4638a9a9e4354
[ "MIT" ]
null
null
null
database/moviemodel.cpp
heafox/learnqml
37f9d7a22dad03c0bb4b7bb036a4638a9a9e4354
[ "MIT" ]
5
2020-09-24T05:27:12.000Z
2022-02-22T17:44:29.000Z
#include "moviemodel.h" #include <QSqlQuery> #include <QVariant> MovieModel::MovieModel(QObject *parent) : QObject(parent) { } void MovieModel::create() { QSqlQuery q; q.exec("drop table Movies"); q.exec("drop table Names"); q.exec("create table Movies (id integer primary key, Title varchar, Dire...
22.147059
107
0.585215
softmarch
0320601242ad93efda44e5ebcbaee0ab884cf04e
1,447
cc
C++
Sandbox/src/MakeTestInputFile_module.cc
bonventre/Offline
77db9d6368f27ab9401c690c2c2a4257ade6c231
[ "Apache-2.0" ]
9
2020-03-28T00:21:41.000Z
2021-12-09T20:53:26.000Z
Sandbox/src/MakeTestInputFile_module.cc
bonventre/Offline
77db9d6368f27ab9401c690c2c2a4257ade6c231
[ "Apache-2.0" ]
684
2019-08-28T23:37:43.000Z
2022-03-31T22:47:45.000Z
Sandbox/src/MakeTestInputFile_module.cc
bonventre/Offline
77db9d6368f27ab9401c690c2c2a4257ade6c231
[ "Apache-2.0" ]
61
2019-08-16T23:28:08.000Z
2021-12-20T08:29:48.000Z
// // Write a text file that can be used as input for the Source00 module. // // Original author Rob Kutschke // // The format of the file is one event per line: // runNumber subRunNumber eventNumber dataProduct // // where dataProduct is a trivial data product: it is a single // integer whose value is: // // 1...
24.525424
95
0.67519
bonventre
032be2b0115cffea95fc220954cdd2f0b383a2ca
11,175
cpp
C++
src/Recording.cpp
JanitzaElectronics/umg801-recordings
39b39bcbe9dfcf1e7c5b31726951e5d00f2ba63a
[ "MIT" ]
null
null
null
src/Recording.cpp
JanitzaElectronics/umg801-recordings
39b39bcbe9dfcf1e7c5b31726951e5d00f2ba63a
[ "MIT" ]
null
null
null
src/Recording.cpp
JanitzaElectronics/umg801-recordings
39b39bcbe9dfcf1e7c5b31726951e5d00f2ba63a
[ "MIT" ]
null
null
null
/* * Recording.cpp * * Created on: 06.09.2021 * Copyright: 2021 by Janitza electronics GmbH */ #include "Recording.hpp" #include "Umg801.hpp" #include <iostream> #include <iomanip> #include <chrono> #include <ctime> Recording::Recording(Umg801& client, const uint32_t& id, const NodeId& nodeId) : m_client(cl...
38.270548
155
0.708993
JanitzaElectronics
033491cc97254a0ce5e5e614a7138c018d9fd099
12,229
cpp
C++
src/db/db_bookshelf.cpp
cuhk-eda/ripple-fpga
059646fcaa0c8d77e4283f55be2bd5692862a039
[ "Unlicense" ]
60
2019-05-15T13:21:40.000Z
2021-12-11T14:38:56.000Z
src/db/db_bookshelf.cpp
jordanpui/ripplefpga
059646fcaa0c8d77e4283f55be2bd5692862a039
[ "Unlicense" ]
3
2020-05-31T13:14:05.000Z
2021-12-11T14:27:59.000Z
src/db/db_bookshelf.cpp
cuhk-eda/ripple-fpga
059646fcaa0c8d77e4283f55be2bd5692862a039
[ "Unlicense" ]
16
2019-06-07T14:56:34.000Z
2022-03-29T20:22:38.000Z
#include "db.h" using namespace db; bool read_line_as_tokens(istream &is, vector<string> &tokens) { tokens.clear(); string line; getline(is, line); while (is && tokens.empty()) { string token = ""; for (unsigned i=0; i<line.size(); ++i) { char currChar = line[i]; ...
32.962264
96
0.485567
cuhk-eda
0335ed4041cad29100751e37044a798e3b592f78
8,910
cpp
C++
Beta 3 casi final/gestionarowner.cpp
roiso/unisys
f23f66ccb426a8127ebe79479953c7b4367121d8
[ "MIT" ]
null
null
null
Beta 3 casi final/gestionarowner.cpp
roiso/unisys
f23f66ccb426a8127ebe79479953c7b4367121d8
[ "MIT" ]
null
null
null
Beta 3 casi final/gestionarowner.cpp
roiso/unisys
f23f66ccb426a8127ebe79479953c7b4367121d8
[ "MIT" ]
null
null
null
#include "gestionarowner.h" #include "ui_gestionarowner.h" #include <qmessagebox.h> #include <QDebug> //Guillermo gestionarOwner::gestionarOwner(QWidget *parent) : QDialog(parent), ui(new Ui::gestionarOwner){ ui->setupUi(this); } gestionarOwner::~gestionarOwner() { compania v2; v2.setController(...
39.955157
320
0.63771
roiso
033f3439742b4c8100746e943d5ff7fcd865af51
339
hpp
C++
Server/include/Pages/ControlPannel.hpp
siisgoo/siisty
66103c54e0d1b35b88177c290e2bf60012607309
[ "MIT" ]
null
null
null
Server/include/Pages/ControlPannel.hpp
siisgoo/siisty
66103c54e0d1b35b88177c290e2bf60012607309
[ "MIT" ]
null
null
null
Server/include/Pages/ControlPannel.hpp
siisgoo/siisty
66103c54e0d1b35b88177c290e2bf60012607309
[ "MIT" ]
null
null
null
#ifndef CONTROLPANNEL_HPP #define CONTROLPANNEL_HPP #include <QWidget> namespace Ui { class ControlPannel; } class ControlPannel : public QWidget { Q_OBJECT public: explicit ControlPannel(QWidget *parent = nullptr); ~ControlPannel(); private: Ui::ControlPannel *ui; }; #endif //...
15.409091
58
0.690265
siisgoo
034018a24168009ea6ac2846053c600e898da0fa
1,321
cpp
C++
Source/FactoryGame/FGTargetPointLinkedList.cpp
iam-Legend/Project-Assembly
1ff3587704232d5e330515bc0d2aceb64ff09a7f
[ "MIT" ]
null
null
null
Source/FactoryGame/FGTargetPointLinkedList.cpp
iam-Legend/Project-Assembly
1ff3587704232d5e330515bc0d2aceb64ff09a7f
[ "MIT" ]
null
null
null
Source/FactoryGame/FGTargetPointLinkedList.cpp
iam-Legend/Project-Assembly
1ff3587704232d5e330515bc0d2aceb64ff09a7f
[ "MIT" ]
null
null
null
// This file has been automatically generated by the Unreal Header Implementation tool #include "FGTargetPointLinkedList.h" UFGTargetPointLinkedList::UFGTargetPointLinkedList(){ } void UFGTargetPointLinkedList::PreSaveGame_Implementation( int32 saveVersion, int32 gameVersion){ } void UFGTargetPointLinkedList::PostSav...
66.05
110
0.84103
iam-Legend
03409f67932eecc7dff926f199e2c962a793cf50
3,052
inl
C++
include/eagine/memory/alloc_arena.inl
matus-chochlik/eagine-core
5bc2d6b9b053deb3ce6f44f0956dfccd75db4649
[ "BSL-1.0" ]
1
2022-01-25T10:31:51.000Z
2022-01-25T10:31:51.000Z
include/eagine/memory/alloc_arena.inl
matus-chochlik/eagine-core
5bc2d6b9b053deb3ce6f44f0956dfccd75db4649
[ "BSL-1.0" ]
null
null
null
include/eagine/memory/alloc_arena.inl
matus-chochlik/eagine-core
5bc2d6b9b053deb3ce6f44f0956dfccd75db4649
[ "BSL-1.0" ]
null
null
null
/// @file /// /// Copyright Matus Chochlik. /// 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 <eagine/assert.hpp> #include <cstdlib> namespace eagine::memory { //------------------------------------...
31.142857
80
0.524574
matus-chochlik
034422cdc98a49c025a3585cef8bfe146bc259bf
1,383
cpp
C++
source/Cell.cpp
LgHS/GameOfLife-3DS-ClubMatrix
f3c73be09cb9ebeda7334679aa3b83df7dbb428e
[ "MIT" ]
null
null
null
source/Cell.cpp
LgHS/GameOfLife-3DS-ClubMatrix
f3c73be09cb9ebeda7334679aa3b83df7dbb428e
[ "MIT" ]
null
null
null
source/Cell.cpp
LgHS/GameOfLife-3DS-ClubMatrix
f3c73be09cb9ebeda7334679aa3b83df7dbb428e
[ "MIT" ]
null
null
null
#include <3ds.h> #include <stdio.h> #include <string.h> #include "Cell.h" #include <stdlib.h> Cell::Cell(Vector2* position, int isAlive, Vector2* worldSize) { this->IsAlive = isAlive; this->Position = position; this->newState = IsAlive; this->worldSize = worldSize; memset(neighbours, ...
23.440678
63
0.587852
LgHS
034a73e43802c08ce8cdb045177e3d679765d325
302
hpp
C++
sources/CastlesStrategy/Server/Managers/Manager.hpp
KonstantinTomashevich/castles-strategy
5e57119ba7701e0f1f9c8d84ffb45abb6ad33a21
[ "MIT" ]
null
null
null
sources/CastlesStrategy/Server/Managers/Manager.hpp
KonstantinTomashevich/castles-strategy
5e57119ba7701e0f1f9c8d84ffb45abb6ad33a21
[ "MIT" ]
null
null
null
sources/CastlesStrategy/Server/Managers/Manager.hpp
KonstantinTomashevich/castles-strategy
5e57119ba7701e0f1f9c8d84ffb45abb6ad33a21
[ "MIT" ]
null
null
null
#pragma once namespace CastlesStrategy { class ManagersHub; class Manager { public: explicit Manager (ManagersHub *managersHub); virtual ~Manager (); ManagersHub * GetManagersHub () const; virtual void HandleUpdate (float timeStep) = 0; private: ManagersHub *managersHub_; }; }
15.1
51
0.715232
KonstantinTomashevich
034ae43994310df4301f805397fb442d10c7f6ff
12,728
cpp
C++
Homework/boilerplate/main.cpp
lflame/Router-Lab
58cbcf72fd8e86babbdb3abbe03b4eb23826b79b
[ "Linux-OpenIB" ]
1
2021-09-13T02:38:19.000Z
2021-09-13T02:38:19.000Z
Homework/boilerplate/main.cpp
lflame/Router-Lab
58cbcf72fd8e86babbdb3abbe03b4eb23826b79b
[ "Linux-OpenIB" ]
null
null
null
Homework/boilerplate/main.cpp
lflame/Router-Lab
58cbcf72fd8e86babbdb3abbe03b4eb23826b79b
[ "Linux-OpenIB" ]
1
2021-05-22T08:09:28.000Z
2021-05-22T08:09:28.000Z
#include "router_hal.h" #include "rip.h" #include "router.h" #include <stdint.h> #include <stdlib.h> #include <stdio.h> #include <string.h> #include <time.h> #include <vector> #define RIP_MAX_ENTRY 25 #define TICKS_PER_SEC 1000 #define TIMEOUT 60 // TODO 暂定为 60s 超时 // 注意1s有1000个TICKS extern bool validateIPChecksum(uin...
34.032086
110
0.594987
lflame
034fcc273045ccc0e78d1ab866f9407015901004
7,244
cpp
C++
src/Util/VRMLWriter.cpp
snozawa/choreonoid
12ab42ccbf287d68216637e55ddae8412771c752
[ "MIT" ]
null
null
null
src/Util/VRMLWriter.cpp
snozawa/choreonoid
12ab42ccbf287d68216637e55ddae8412771c752
[ "MIT" ]
null
null
null
src/Util/VRMLWriter.cpp
snozawa/choreonoid
12ab42ccbf287d68216637e55ddae8412771c752
[ "MIT" ]
null
null
null
/*! @file @author Shin'ichiro Nakaoka */ #include "VRMLWriter.h" using namespace std; using namespace boost; using namespace cnoid; namespace { typedef void (VRMLWriter::*VRMLWriterNodeMethod)(VRMLNodePtr node); typedef std::map<std::string, VRMLWriterNodeMethod> TNodeMethodMap; typedef std::pair<std::string, V...
23.367742
89
0.583793
snozawa
0350f1705a77c68a74f42c0d54992730d42b45c3
1,580
hpp
C++
caffe/include/caffe/layers/sparse_histogram_extractor_layer.hpp
gustavla/autocolorizer
79d4ce1054d35c06bdfcc93236b71e161e082ebb
[ "BSD-3-Clause" ]
234
2016-04-04T15:12:24.000Z
2022-03-14T12:55:09.000Z
caffe/include/caffe/layers/sparse_histogram_extractor_layer.hpp
TrinhQuocNguyen/autocolorize
79d4ce1054d35c06bdfcc93236b71e161e082ebb
[ "BSD-3-Clause" ]
20
2016-04-05T12:44:04.000Z
2022-02-22T06:02:17.000Z
caffe/include/caffe/layers/sparse_histogram_extractor_layer.hpp
TrinhQuocNguyen/autocolorize
79d4ce1054d35c06bdfcc93236b71e161e082ebb
[ "BSD-3-Clause" ]
71
2016-07-12T15:28:16.000Z
2021-12-16T12:22:57.000Z
#ifndef CAFFE_SPARSE_PATCH_LAYER_HPP #define CAFFE_SPARSE_PATCH_LAYER_HPP #include <string> #include <utility> #include <vector> #include "caffe/blob.hpp" #include "caffe/common.hpp" #include "caffe/layer.hpp" namespace caffe { /** * Takes locations and extracts a stack of histograms. */ template <typename Dtype>...
29.259259
80
0.729747
gustavla
03568559c8068436b36aa4d72dab560a5e174e05
2,939
cpp
C++
opcodes.cpp
stavros-avramidis/Assembler
5c061cfd7c98e1b607f024f30e2545a19d0a70ea
[ "MIT" ]
null
null
null
opcodes.cpp
stavros-avramidis/Assembler
5c061cfd7c98e1b607f024f30e2545a19d0a70ea
[ "MIT" ]
null
null
null
opcodes.cpp
stavros-avramidis/Assembler
5c061cfd7c98e1b607f024f30e2545a19d0a70ea
[ "MIT" ]
null
null
null
/* opcodes.cpp * * Created by purpl3f0x on 9/12/18. * Stavros Avramidis */ #include "opcodes.hpp" /*-------------------------------------------*/ /*-------------- OpCodes ---------------*/ unsigned int OpCodes::getBinary(std::string name) const { for (auto op: *this) if (op.name==name) return...
22.265152
57
0.578088
stavros-avramidis
035d9bb4998f07127523f0ec169ac61e67a2b910
508
cpp
C++
UnitTest/IntentTest.cpp
omarekik/EmbeddedIntentRecognizer
dc3104702e1d3c572f62d9deb763a9b60f97e14e
[ "MIT" ]
null
null
null
UnitTest/IntentTest.cpp
omarekik/EmbeddedIntentRecognizer
dc3104702e1d3c572f62d9deb763a9b60f97e14e
[ "MIT" ]
null
null
null
UnitTest/IntentTest.cpp
omarekik/EmbeddedIntentRecognizer
dc3104702e1d3c572f62d9deb763a9b60f97e14e
[ "MIT" ]
null
null
null
#include <gtest/gtest.h> #include "Intent.h" TEST(Intent, canFindContextInSentence) { Intent intent({"HELLO", "HI", "MORNING"}, "GREETING"); EXPECT_FALSE(intent.find("IT WILL BE THE BEST DAY.")); EXPECT_TRUE(intent.find("GOOD MORNING MY CAR.")); } TEST(Intent, canFindExpressionContextInSentence)...
29.882353
64
0.661417
omarekik
035db36438e670f15e3f72d03de21b4be307d031
434
cpp
C++
src_compressible/conservedPrimitiveConversions.cpp
ckim103/FHDeX
9182d7589db7e7ee318ca2a0f343c378d9c120a0
[ "BSD-3-Clause-LBNL" ]
null
null
null
src_compressible/conservedPrimitiveConversions.cpp
ckim103/FHDeX
9182d7589db7e7ee318ca2a0f343c378d9c120a0
[ "BSD-3-Clause-LBNL" ]
null
null
null
src_compressible/conservedPrimitiveConversions.cpp
ckim103/FHDeX
9182d7589db7e7ee318ca2a0f343c378d9c120a0
[ "BSD-3-Clause-LBNL" ]
null
null
null
#include "compressible_functions.H" #include "compressible_functions_F.H" void conservedToPrimitive(MultiFab& prim, const MultiFab& cons) { // Loop over boxes for ( MFIter mfi(prim); mfi.isValid(); ++mfi) { const Box& bx = mfi.validbox(); cons_to_prim(ARLIM_3D(bx.loVect()), ARLIM_3D(b...
27.125
68
0.576037
ckim103
035e3f6d11f0a2b7634651309c930cfacac9808e
2,953
cpp
C++
src/tasks.cpp
Algorithms-and-Data-Structures-2021/h00_cpp_basics-if-tim
f4e5c4959a4d8848823c1eccf85c53251962df3b
[ "MIT" ]
null
null
null
src/tasks.cpp
Algorithms-and-Data-Structures-2021/h00_cpp_basics-if-tim
f4e5c4959a4d8848823c1eccf85c53251962df3b
[ "MIT" ]
null
null
null
src/tasks.cpp
Algorithms-and-Data-Structures-2021/h00_cpp_basics-if-tim
f4e5c4959a4d8848823c1eccf85c53251962df3b
[ "MIT" ]
null
null
null
#include <iostream> // cout #include <algorithm> // copy, fill #include "tasks.hpp" // ИСПОЛЬЗОВАНИЕ ЛЮБЫХ ДРУГИХ БИБЛИОТЕК НЕ СОВЕТУЕТСЯ И МОЖЕТ ПОВЛИЯТЬ НА ВАШИ БАЛЛЫ using std::cout; using std::fill; using std::copy; // Задание 1 void swap_args(int *lhs, int *rhs) { if (lhs == nullptr || rhs == nullptr) {...
26.603604
95
0.568574
Algorithms-and-Data-Structures-2021
24e9d1f3329528c4b173fab20fa8988fea791da1
652
cpp
C++
windows/wrapper/impl_org_webRtc.cpp
webrtc-uwp/webrtc-windows-apis
accb133e195da9b0e77f59d749a282d133a80f24
[ "BSD-3-Clause" ]
9
2019-03-27T12:19:29.000Z
2022-01-25T05:13:55.000Z
windows/wrapper/impl_org_webRtc.cpp
webrtc-uwp/webrtc-windows-apis
accb133e195da9b0e77f59d749a282d133a80f24
[ "BSD-3-Clause" ]
8
2018-11-07T19:09:19.000Z
2019-11-27T15:20:08.000Z
windows/wrapper/impl_org_webRtc.cpp
webrtc-uwp/webrtc-windows-apis
accb133e195da9b0e77f59d749a282d133a80f24
[ "BSD-3-Clause" ]
12
2019-06-06T14:15:26.000Z
2022-01-24T13:35:30.000Z
#include <zsLib/Log.h> #include "Org.WebRtc.Glue.events.h" #include "Org.WebRtc.Glue.events.jman.h" namespace wrapper { namespace impl { namespace org { namespace webRtc { ZS_IMPLEMENT_SUBSYSTEM(wrapper_org_webRtc); } } } } ZS_EVENTING_SUBSYSTEM_DEFAULT_LEVEL(wrapper_org_webRtc, Debug) namespace wrapper ...
25.076923
124
0.745399
webrtc-uwp
24eb934681d78000ad65cb9e4a4409f1e88088d8
4,340
cpp
C++
tools/jsoncons/tests/src/jsonpath/jsonpath_error_tests.cpp
SheldonHH/eosio.cdt
64448283307b2daebb7db4df947fafd3fc56a83c
[ "MIT" ]
476
2018-09-07T01:27:11.000Z
2022-03-21T05:16:50.000Z
tools/jsoncons/tests/src/jsonpath/jsonpath_error_tests.cpp
SheldonHH/eosio.cdt
64448283307b2daebb7db4df947fafd3fc56a83c
[ "MIT" ]
594
2018-09-06T02:03:01.000Z
2022-03-23T19:18:26.000Z
tools/jsoncons/tests/src/jsonpath/jsonpath_error_tests.cpp
SheldonHH/eosio.cdt
64448283307b2daebb7db4df947fafd3fc56a83c
[ "MIT" ]
349
2018-09-06T05:02:09.000Z
2022-03-12T11:07:17.000Z
// Copyright 2013 Daniel Parker // Distributed under Boost license #ifdef __linux__ #define BOOST_TEST_DYN_LINK #endif #include <boost/test/unit_test.hpp> #include <sstream> #include <vector> #include <utility> #include <ctime> #include <new> #include <jsoncons/json.hpp> #include <jsoncons_ext/jsonpath/json_query.hpp...
35.284553
608
0.62765
SheldonHH
24edf49e181944da98af31a868f2d29d7553e08a
1,387
cpp
C++
general/occa.cpp
benzwick/mfem
4d5fdfd553b24ff37716f736f83df2d238d9a696
[ "BSD-3-Clause" ]
1
2020-08-15T07:00:22.000Z
2020-08-15T07:00:22.000Z
general/occa.cpp
benzwick/mfem
4d5fdfd553b24ff37716f736f83df2d238d9a696
[ "BSD-3-Clause" ]
1
2019-04-24T21:18:24.000Z
2019-04-25T18:00:45.000Z
general/occa.cpp
benzwick/mfem
4d5fdfd553b24ff37716f736f83df2d238d9a696
[ "BSD-3-Clause" ]
1
2021-09-15T14:14:29.000Z
2021-09-15T14:14:29.000Z
// Copyright (c) 2010-2020, Lawrence Livermore National Security, LLC. Produced // at the Lawrence Livermore National Laboratory. All Rights reserved. See files // LICENSE and NOTICE for details. LLNL-CODE-806117. // // This file is part of the MFEM library. For more information and source code // availability visit ht...
30.822222
80
0.740447
benzwick
24f2abc15752f49ebf22d4295f33d62b280dd16a
432
hpp
C++
src/gs/gsTundraTextureGenerator.hpp
frmr/gs
b9721ad27f59ca2e19f637bccd9eba32b663b6a3
[ "MIT" ]
2
2016-12-06T17:51:30.000Z
2018-06-21T08:52:58.000Z
src/gs/gsTundraTextureGenerator.hpp
frmr/gs
b9721ad27f59ca2e19f637bccd9eba32b663b6a3
[ "MIT" ]
null
null
null
src/gs/gsTundraTextureGenerator.hpp
frmr/gs
b9721ad27f59ca2e19f637bccd9eba32b663b6a3
[ "MIT" ]
null
null
null
#pragma once #include "gsLandTile.hpp" #include "gsColor.hpp" #include <vector> #include "../FastNoise/FastNoise.h" namespace gs { class TundraTextureGenerator { private: static const std::vector<gs::Vec3d> colors; static const std::vector<float> limits; FastNoise noiseA; FastNoise noiseB; public: g...
17.28
80
0.722222
frmr
24f4d724ede6f8e8482fe1bab8097ce7277e0eb2
3,237
hh
C++
ACAP_linux/3rd/CoMISo/NSolver/FiniteElementLogBarrier.hh
shubhMaheshwari/Automatic-Unpaired-Shape-Deformation-Transfer
8c9afe017769f9554706bcd267b6861c4c144999
[ "MIT" ]
216
2018-09-09T11:53:56.000Z
2022-03-19T13:41:35.000Z
ACAP_linux/3rd/CoMISo/NSolver/FiniteElementLogBarrier.hh
gaolinorange/Automatic-Unpaired-Shape-Deformation-Transfer
8c9afe017769f9554706bcd267b6861c4c144999
[ "MIT" ]
13
2018-10-23T08:29:09.000Z
2021-09-08T06:45:34.000Z
ACAP_linux/3rd/CoMISo/NSolver/FiniteElementLogBarrier.hh
shubhMaheshwari/Automatic-Unpaired-Shape-Deformation-Transfer
8c9afe017769f9554706bcd267b6861c4c144999
[ "MIT" ]
41
2018-09-13T08:50:41.000Z
2022-02-23T00:33:54.000Z
//============================================================================= // // CLASS FiniteElementLogBarrier // //============================================================================= #ifndef COMISO_FINITEELEMENTLOGBARRIER_HH #define COMISO_FINITEELEMENTLOGBARRIER_HH //== INCLUDES ==================...
25.488189
100
0.531047
shubhMaheshwari
24f4e64bc56fa15c9f344524594aacc9f448f597
2,464
cpp
C++
devices/GNSS/NMEA/src/GGAProcessor.cpp
gboyraz/macchina.io
3e26fea95e87512459693831242b297f0780cc21
[ "Apache-2.0" ]
2
2020-11-23T23:37:00.000Z
2020-12-22T04:02:41.000Z
devices/GNSS/NMEA/src/GGAProcessor.cpp
gboyraz/macchina.io
3e26fea95e87512459693831242b297f0780cc21
[ "Apache-2.0" ]
null
null
null
devices/GNSS/NMEA/src/GGAProcessor.cpp
gboyraz/macchina.io
3e26fea95e87512459693831242b297f0780cc21
[ "Apache-2.0" ]
1
2020-11-23T23:37:09.000Z
2020-11-23T23:37:09.000Z
// // GGAProcessor.cpp // // Library: IoT/GNSS/NMEA // Package: Sentences // Module: GGAProcessor // // Copyright (c) 2010-2015, Applied Informatics Software Engineering GmbH. // All rights reserved. // // SPDX-License-Identifier: Apache-2.0 // #include "IoT/GNSS/NMEA/GGAProcessor.h" #include "Poco/DateTimeParser.h"...
19.25
119
0.609172
gboyraz
24faecdf69e9cb2a9a9a76567079c752184286af
27,128
cpp
C++
src/Kiln.cpp
0xc0dec/kiln
4fbaf31a2f9e07f1dca7af2bed86f479e0079fa5
[ "MIT" ]
null
null
null
src/Kiln.cpp
0xc0dec/kiln
4fbaf31a2f9e07f1dca7af2bed86f479e0079fa5
[ "MIT" ]
null
null
null
src/Kiln.cpp
0xc0dec/kiln
4fbaf31a2f9e07f1dca7af2bed86f479e0079fa5
[ "MIT" ]
null
null
null
// TODO Refactor ImageData/Font using pointers avoiding pimpl // TODO Font geometry and rendering // TODO Use shaderc (see Granite project on Github) /* Copyright (c) Aleksey Fedotov MIT license */ #include "Input.h" #include "FileSystem.h" #include "Spectator.h" #include "Camera.h" #include "Win...
40.855422
138
0.656812
0xc0dec
70053f070cef049d40b9d50d3bd58b4823cafb54
1,978
cpp
C++
test/main_gtest.cpp
Ali2500/nao_whole_body_ik
5955415c6a248eda2343098407ef0c080b7d60ec
[ "BSD-2-Clause" ]
null
null
null
test/main_gtest.cpp
Ali2500/nao_whole_body_ik
5955415c6a248eda2343098407ef0c080b7d60ec
[ "BSD-2-Clause" ]
null
null
null
test/main_gtest.cpp
Ali2500/nao_whole_body_ik
5955415c6a248eda2343098407ef0c080b7d60ec
[ "BSD-2-Clause" ]
null
null
null
#include "database_reader_test.h" #include "whole_body_ik_solver_test.h" nao_whole_body_ik::DatabaseReader2Ptr database_reader; TEST_F(DatabaseReaderTest, databaseLoadingTest) { ASSERT_TRUE(databaseLoadTest()); } TEST_F(DatabaseReaderTest, DefaultValuesRightArmKNNTest) { ASSERT_TRUE(knnDifferenceDefaultPositionR...
26.026316
84
0.822042
Ali2500
7006c26b1c4d19162f5f98022c7e12137e9a43ab
4,872
hpp
C++
capo/sequence.hpp
mutouyun/capo
d90528cf5bb59bdf76cdf94dfa6a55bcb1bfdc13
[ "MIT" ]
58
2015-03-22T03:26:07.000Z
2022-03-30T05:15:22.000Z
capo/sequence.hpp
mutouyun/capo
d90528cf5bb59bdf76cdf94dfa6a55bcb1bfdc13
[ "MIT" ]
1
2019-03-07T12:32:41.000Z
2019-03-16T15:01:55.000Z
capo/sequence.hpp
mutouyun/capo
d90528cf5bb59bdf76cdf94dfa6a55bcb1bfdc13
[ "MIT" ]
21
2015-02-27T06:44:56.000Z
2022-03-05T15:53:30.000Z
/* The Capo Library Code covered by the MIT License Author: mutouyun (http://orzz.org) */ #pragma once #include "capo/assert.hpp" #include "capo/iterator.hpp" #include <type_traits> // std::add_const, std::add_lvalue_reference #include <tuple> // std::tuple, std::tie #include <stdexcept> // s...
24.984615
103
0.476396
mutouyun
701178a3f85e3f48ee623745c6709532f279d4f5
766
cc
C++
2021_1004_1010/265.cc
guohaoqiang/leetcode
802447c029c36892e8dd7391c825bcfc7ac0fd0b
[ "MIT" ]
null
null
null
2021_1004_1010/265.cc
guohaoqiang/leetcode
802447c029c36892e8dd7391c825bcfc7ac0fd0b
[ "MIT" ]
null
null
null
2021_1004_1010/265.cc
guohaoqiang/leetcode
802447c029c36892e8dd7391c825bcfc7ac0fd0b
[ "MIT" ]
null
null
null
class Solution { public: int minCostII(vector<vector<int>>& costs) { int n = costs.size(); int k = costs.at(0).size(); vector<vector<int>> dp(n, vector<int>(k,2021)); for (int i=0; i<k; ++i){ dp.at(n-1).at(i) = costs.at(n-1).at(i); } ...
26.413793
97
0.353786
guohaoqiang
7011b277bf89acabd297d37e10d5f82c30fe0216
2,494
cpp
C++
tests/data/ModelProperty_Tests.cpp
Jamiras/RAIntegration
ccf3dea24d81aefdcf51535f073889d03272b259
[ "MIT" ]
71
2018-04-15T13:02:43.000Z
2022-03-26T11:19:18.000Z
tests/data/ModelProperty_Tests.cpp
Jamiras/RAIntegration
ccf3dea24d81aefdcf51535f073889d03272b259
[ "MIT" ]
309
2018-04-15T12:10:59.000Z
2022-01-22T20:13:04.000Z
tests/data/ModelProperty_Tests.cpp
Jamiras/RAIntegration
ccf3dea24d81aefdcf51535f073889d03272b259
[ "MIT" ]
17
2018-04-17T16:09:31.000Z
2022-03-04T08:49:03.000Z
#include "data\ModelProperty.hh" using namespace Microsoft::VisualStudio::CppUnitTestFramework; namespace ra { namespace data { namespace tests { TEST_CLASS(ModelProperty_Tests) { void AssertProperty(int nKey, const ModelPropertyBase* pExpected) { const ModelPropertyBase* pLookup = ModelPropertyBase:...
28.340909
88
0.60425
Jamiras
70150516962287d6c6cb22d764f61a1dbc4e9ec5
2,623
hpp
C++
include/codegen/include/RootMotion/FinalIK/InteractionSystem_InteractionDelegate.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
1
2021-11-12T09:29:31.000Z
2021-11-12T09:29:31.000Z
include/codegen/include/RootMotion/FinalIK/InteractionSystem_InteractionDelegate.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
null
null
null
include/codegen/include/RootMotion/FinalIK/InteractionSystem_InteractionDelegate.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
2
2021-10-03T02:14:20.000Z
2021-11-12T09:29:36.000Z
// Autogenerated from CppHeaderCreator on 7/27/2020 3:09:17 PM // Created by Sc2ad // ========================================================================= #pragma once #pragma pack(push, 8) // Begin includes #include "utils/typedefs.h" // Including type: System.MulticastDelegate #include "System/MulticastDelegate....
50.442308
211
0.775829
Futuremappermydud
70165506ceb745c49a5e850c651aa9f1618910c8
1,459
cpp
C++
src/stl_copy_it_insert/main.cpp
MaksimPopp/STL_practice_UNN_381906-3
83dedf756b170b4ce89e0c74e615bbfd72c4e0a7
[ "Apache-2.0" ]
null
null
null
src/stl_copy_it_insert/main.cpp
MaksimPopp/STL_practice_UNN_381906-3
83dedf756b170b4ce89e0c74e615bbfd72c4e0a7
[ "Apache-2.0" ]
1
2020-12-12T09:55:31.000Z
2020-12-12T11:04:55.000Z
src/stl_copy_it_insert/main.cpp
MaksimPopp/STL_practice_UNN_381906-3
83dedf756b170b4ce89e0c74e615bbfd72c4e0a7
[ "Apache-2.0" ]
12
2020-12-12T09:42:22.000Z
2020-12-19T11:44:27.000Z
#include <iostream> #include <vector> #include <list> using namespace std; #define COPY int main() { int a[4] = { 10,20,30,40 };//создаём массив a[] на 4 элемента //копируем массив a[] в вектор v(указатель на начало участка который нужно скопировать,конец участка копирования) vector<int> v(a, a + 4); #ifdef CO...
31.717391
168
0.703221
MaksimPopp
701760b91996bb0439dd44c7fbde49cfa6a5a77b
103
hpp
C++
src/agl/opengl/function/sampler/all.hpp
the-last-willy/abstractgl
d685bef25ac18773d3eea48ca52806c3a3485ddb
[ "MIT" ]
null
null
null
src/agl/opengl/function/sampler/all.hpp
the-last-willy/abstractgl
d685bef25ac18773d3eea48ca52806c3a3485ddb
[ "MIT" ]
null
null
null
src/agl/opengl/function/sampler/all.hpp
the-last-willy/abstractgl
d685bef25ac18773d3eea48ca52806c3a3485ddb
[ "MIT" ]
null
null
null
#pragma once #include "bind.hpp" #include "create.hpp" #include "delete.hpp" #include "parameter.hpp"
14.714286
24
0.728155
the-last-willy
7019415f3760818b6829d9b312ba55aa882cef45
128
cpp
C++
tensorflow-yolo-ios/dependencies/eigen/failtest/fullpivqr_int.cpp
initialz/tensorflow-yolo-face-ios
ba74cf39168d0128e91318e65a1b88ce4d65a167
[ "MIT" ]
27
2017-06-07T19:07:32.000Z
2020-10-15T10:09:12.000Z
tensorflow-yolo-ios/dependencies/eigen/failtest/fullpivqr_int.cpp
initialz/tensorflow-yolo-face-ios
ba74cf39168d0128e91318e65a1b88ce4d65a167
[ "MIT" ]
3
2017-08-25T17:39:46.000Z
2017-11-18T03:40:55.000Z
tensorflow-yolo-ios/dependencies/eigen/failtest/fullpivqr_int.cpp
initialz/tensorflow-yolo-face-ios
ba74cf39168d0128e91318e65a1b88ce4d65a167
[ "MIT" ]
10
2017-06-16T18:04:45.000Z
2018-07-05T17:33:01.000Z
version https://git-lfs.github.com/spec/v1 oid sha256:b7c6229e11e2ea021cf66d05b528c35bf8936f5109e7bfb4413548b392e111d9 size 258
32
75
0.882813
initialz
702427a1dd34e78d8a72eb295907bde3d145dd98
5,229
cpp
C++
tests/spmc_fifo.cpp
drbobbeaty/DKit
b3ae323449a8ad6c93e46dd4d07443f8fcc1a001
[ "Unlicense" ]
19
2015-01-16T10:11:39.000Z
2022-02-17T01:48:25.000Z
tests/spmc_fifo.cpp
drbobbeaty/DKit
b3ae323449a8ad6c93e46dd4d07443f8fcc1a001
[ "Unlicense" ]
null
null
null
tests/spmc_fifo.cpp
drbobbeaty/DKit
b3ae323449a8ad6c93e46dd4d07443f8fcc1a001
[ "Unlicense" ]
3
2015-06-28T13:20:15.000Z
2015-12-01T08:35:35.000Z
/** * This is the tests for the SPMC CircularFIFO */ // System Headers #include <iostream> #include <string> // Third-Party Headers // Other Headers #include "spmc/CircularFIFO.h" #include "util/timer.h" #include "hammer.h" #include "drain.h" int main(int argc, char *argv[]) { bool error = false; // make a circ...
27.81383
196
0.536814
drbobbeaty
702ac5ddfe1b70c5668a5f3e1250734676e10b0c
2,054
cpp
C++
Source/Engine/Editor/Widgets/PropertyWidget.cpp
muit/FecoEngine
b2f8729c0bf0893b770434645c2a0fa8e7717cb7
[ "Apache-2.0" ]
3
2019-03-01T19:34:26.000Z
2021-03-31T09:25:16.000Z
Source/Engine/Editor/Widgets/PropertyWidget.cpp
muit/FecoEngine
b2f8729c0bf0893b770434645c2a0fa8e7717cb7
[ "Apache-2.0" ]
null
null
null
Source/Engine/Editor/Widgets/PropertyWidget.cpp
muit/FecoEngine
b2f8729c0bf0893b770434645c2a0fa8e7717cb7
[ "Apache-2.0" ]
1
2019-01-21T21:45:13.000Z
2019-01-21T21:45:13.000Z
// Copyright 2015-2019 Piperift - All rights reserved #include "PropertyWidget.h" #if WITH_EDITOR #include "Core/Reflection/Runtime/TPropertyHandle.h" #include "Properties/BoolPropertyWidget.h" #include "Properties/UInt8PropertyWidget.h" #include "Properties/Int32PropertyWidget.h" #include "Properties/FloatPropertyW...
34.813559
132
0.757059
muit
702c85fa25150642f93577e4c912e3b0ae9312bb
2,129
cpp
C++
Windows/Controls/DefinitionView.cpp
TrevorShelton/cplot
8bf40e94519cc4fd69b2e0677d3a3dcf8695245a
[ "MIT" ]
32
2017-11-27T03:04:44.000Z
2022-01-21T17:03:40.000Z
Windows/Controls/DefinitionView.cpp
TrevorShelton/cplot
8bf40e94519cc4fd69b2e0677d3a3dcf8695245a
[ "MIT" ]
30
2017-11-10T09:47:16.000Z
2018-11-21T22:36:47.000Z
Windows/Controls/DefinitionView.cpp
TrevorShelton/cplot
8bf40e94519cc4fd69b2e0677d3a3dcf8695245a
[ "MIT" ]
20
2018-01-05T17:15:11.000Z
2021-07-30T14:11:01.000Z
#include "../stdafx.h" #include "DefinitionView.h" #include "../Document.h" #include "../res/resource.h" #include "ViewUtil.h" #include "SideSectionDefs.h" #include "../MainWindow.h" #include "../MainView.h" #include "../CPlotApp.h" #ifdef _DEBUG #define new DEBUG_NEW #endif enum { ID_def = 2000 }; IMPLEMENT_DYNAMI...
21.29
102
0.721465
TrevorShelton
702ebc555e0536e62e3091d3c25c340bddce8033
878
hpp
C++
src/crossserver/crossserver/crossactivity/impl/crossactivitycrossboss.hpp
mage-game/metagame-xm-server
193b67389262803fe0eae742800b1e878b5b3087
[ "MIT" ]
3
2021-12-16T13:57:28.000Z
2022-03-26T07:50:08.000Z
src/crossserver/crossserver/crossactivity/impl/crossactivitycrossboss.hpp
mage-game/metagame-xm-server
193b67389262803fe0eae742800b1e878b5b3087
[ "MIT" ]
null
null
null
src/crossserver/crossserver/crossactivity/impl/crossactivitycrossboss.hpp
mage-game/metagame-xm-server
193b67389262803fe0eae742800b1e878b5b3087
[ "MIT" ]
1
2022-03-26T07:50:11.000Z
2022-03-26T07:50:11.000Z
#ifndef __CROSS_ACTIVITY_CROSS_BOSS_HPP__ #define __CROSS_ACTIVITY_CROSS_BOSS_HPP__ #include "crossactivity/crossactivity.hpp" #include "servercommon/internalprotocal/crossgameprotocal.h" #include <map> class CrossActivityCrossBoss : public CrossActivity { public: CrossActivityCrossBoss(CrossActivityManager *cross_a...
29.266667
110
0.823462
mage-game
70319f9109bd638d460b7dc5701da2e20d4cc9f9
1,322
cpp
C++
CrimeEngine/source/Core/Input/Event.cpp
boschman32/Crime-Engine
128529634011d41a1f7fc1a356245d7f7ef77cb3
[ "MIT" ]
1
2021-07-21T17:14:35.000Z
2021-07-21T17:14:35.000Z
CrimeEngine/source/Core/Input/Event.cpp
boschman32/Crime-Engine
128529634011d41a1f7fc1a356245d7f7ef77cb3
[ "MIT" ]
null
null
null
CrimeEngine/source/Core/Input/Event.cpp
boschman32/Crime-Engine
128529634011d41a1f7fc1a356245d7f7ef77cb3
[ "MIT" ]
3
2021-03-07T15:51:03.000Z
2021-07-13T20:01:34.000Z
#include "cepch.h" #include "Core/Input/Event.h" #include "Core/Input/KeyEvent.h" void Event::NotifyHandlers(const KeyEvent& a_notifyKey) { std::vector<std::shared_ptr<EventHandler>>::iterator handle = m_handlers.begin(); for (; handle != m_handlers.end(); ++handle) { if (*handle != nullptr) { (*(*handle))(a_n...
22.793103
82
0.728442
boschman32
70392118b102124f1f9745e03372a8deb357bbf9
1,249
cpp
C++
WRK-V1.2/TOOLS/TOOLSX/atlmfc/src/mfc/appdlg.cpp
intj-t/openvmsft
0d17fbce8607ab2b880be976c2e86d8cfc3e83bb
[ "Intel" ]
2
2021-01-27T10:19:30.000Z
2021-02-09T06:24:30.000Z
WRK-V1.2/TOOLS/TOOLSX/atlmfc/src/mfc/appdlg.cpp
intj-t/openvmsft
0d17fbce8607ab2b880be976c2e86d8cfc3e83bb
[ "Intel" ]
null
null
null
WRK-V1.2/TOOLS/TOOLSX/atlmfc/src/mfc/appdlg.cpp
intj-t/openvmsft
0d17fbce8607ab2b880be976c2e86d8cfc3e83bb
[ "Intel" ]
1
2021-01-27T10:19:36.000Z
2021-01-27T10:19:36.000Z
// This is a part of the Microsoft Foundation Classes C++ library. // Copyright (C) Microsoft Corporation // All rights reserved. // // This source code is only intended as a supplement to the // Microsoft Foundation Classes Reference and related // electronic documentation provided with the library. // See these sourc...
29.046512
79
0.614091
intj-t
703b02d15777e9efc4672b462315d3c6ac932e11
3,064
hpp
C++
test/propertyaccess.hpp
IRCAD/camp
fbbada73d6fd25c30f22a69f195c871757e362dd
[ "MIT" ]
6
2017-12-27T03:13:29.000Z
2021-01-04T15:07:18.000Z
test/propertyaccess.hpp
fw4spl-org/camp
e70eca1d2bf7f20df782dacc5d6baa51ce364e12
[ "MIT" ]
1
2021-10-19T14:03:39.000Z
2021-10-19T14:03:39.000Z
test/propertyaccess.hpp
IRCAD/camp
fbbada73d6fd25c30f22a69f195c871757e362dd
[ "MIT" ]
1
2019-08-30T15:20:46.000Z
2019-08-30T15:20:46.000Z
/**************************************************************************** ** ** This file is part of the CAMP library. ** ** The MIT License (MIT) ** ** Copyright (C) 2009-2014 TEGESO/TEGESOFT and/or its subsidiary(-ies) and mother company. ** Contact: Tegesoft Information (contact@tegesoft.com) ** ** Permission is...
37.365854
98
0.613251
IRCAD
703d242e34177ae85614f512fc8a8780fe99174b
865
cc
C++
src/results/output.cc
SlaybaughLab/Transport
8eb32cb8ae50c92875526a7540350ef9a85bc050
[ "MIT" ]
12
2018-03-14T12:30:53.000Z
2022-01-23T14:46:44.000Z
src/results/output.cc
jsrehak/BART
0460dfffbcf5671a730448de7f45cce39fd4a485
[ "MIT" ]
194
2017-07-07T01:38:15.000Z
2021-05-19T18:21:19.000Z
src/results/output.cc
jsrehak/BART
0460dfffbcf5671a730448de7f45cce39fd4a485
[ "MIT" ]
10
2017-07-06T22:58:59.000Z
2021-03-15T07:01:21.000Z
#include "results/output.h" #include <deal.II/base/exceptions.h> namespace bart { namespace results { void Output::WriteVector(std::ostream &output_stream, const std::vector<double> to_write) const { for (std::vector<double>::size_type i =0 ; i < to_write.size(); ++i) output_stream <<...
30.892857
77
0.587283
SlaybaughLab
703d7de100fc7ff71c7f7ff64f600c2140011fa0
11,355
cpp
C++
src/find_relatives_table.cpp
jjmccollum/open-cbgm
c231b1fa0b5ff86c0701c0f7f2b389c3a60434f4
[ "MIT" ]
21
2020-01-17T21:45:28.000Z
2022-03-29T07:24:45.000Z
src/find_relatives_table.cpp
jjmccollum/open-cbgm
c231b1fa0b5ff86c0701c0f7f2b389c3a60434f4
[ "MIT" ]
4
2020-03-05T03:33:44.000Z
2020-10-16T23:29:44.000Z
src/find_relatives_table.cpp
jjmccollum/open-cbgm
c231b1fa0b5ff86c0701c0f7f2b389c3a60434f4
[ "MIT" ]
1
2020-01-30T16:17:08.000Z
2020-01-30T16:17:08.000Z
/* * find_relatives_table.cpp * * Created on: Sept 18, 2020 * Author: jjmccollum */ #include <iostream> #include <iomanip> #include <string> #include <list> #include <set> #include <algorithm> #include <limits> #include "variation_unit.h" #include "witness.h" #include "find_relatives_table.h" using namesp...
33.594675
155
0.559401
jjmccollum
703d8f3b61a17e7b445f7c162fda17d78e4130b6
1,627
cpp
C++
NoteHandler/midi.cpp
vikbez/PlayerPianoController
098e0a9df2be3d029490986eedd1bf2eac0a44ca
[ "MIT" ]
27
2019-07-23T21:13:27.000Z
2022-03-26T09:51:58.000Z
ProMicro/midi.cpp
anodeaday/PianoProject
ff31af5d5eaa72ee6dbe8b1f445979bc1ab84e90
[ "MIT" ]
4
2020-11-05T16:41:14.000Z
2022-02-07T20:31:11.000Z
ProMicro/midi.cpp
anodeaday/PianoProject
ff31af5d5eaa72ee6dbe8b1f445979bc1ab84e90
[ "MIT" ]
10
2019-07-24T01:00:22.000Z
2022-02-09T17:36:04.000Z
#include <MIDIUSB.h> #include "midi.h" #include "shiftRegister.h" #include "serial.h" void decodeMidi(uint8_t header, uint8_t byte1, uint8_t byte2, uint8_t byte3); extern const bool DEBUG_MODE; void checkForMidiUSB() { midiEventPacket_t rx; //midi data struct from midiUSB libray do { rx = MidiUSB.read(); //get...
23.242857
77
0.664413
vikbez
703fa38c7280501c98858c29beec0029573ece45
6,475
cpp
C++
gSpiderMac/testv8/testv8/main.cpp
reichtiger/grampusSpider
d8ba6b96a7af085c7c2420a5bcb1fa35ee8b03b7
[ "Apache-2.0" ]
87
2015-08-05T12:49:16.000Z
2021-09-23T03:24:40.000Z
gSpiderMac/testv8/testv8/main.cpp
reichtiger/grampusSpider
d8ba6b96a7af085c7c2420a5bcb1fa35ee8b03b7
[ "Apache-2.0" ]
null
null
null
gSpiderMac/testv8/testv8/main.cpp
reichtiger/grampusSpider
d8ba6b96a7af085c7c2420a5bcb1fa35ee8b03b7
[ "Apache-2.0" ]
52
2015-09-24T05:19:29.000Z
2020-10-14T07:14:22.000Z
// // main.cpp // testv8 // // Created by reich on 14/11/18. // Copyright (c) 2014年 chupeng. All rights reserved. // #include <stdlib.h> #include <stdio.h> #include <string.h> #include <iostream> #include <string> #include <v8.h> #include <assert.h> #include <wchar.h> using namespace std; using namespace v8; /*...
30.980861
106
0.567104
reichtiger
704687f51a5d25683a21da0cfe97488a3dc540d2
3,734
cpp
C++
samples/parser.cpp
tlammi/upp
480615e11b8dd12b36fee0e78b984e1b5051183d
[ "MIT" ]
null
null
null
samples/parser.cpp
tlammi/upp
480615e11b8dd12b36fee0e78b984e1b5051183d
[ "MIT" ]
null
null
null
samples/parser.cpp
tlammi/upp
480615e11b8dd12b36fee0e78b984e1b5051183d
[ "MIT" ]
null
null
null
#include "upp/parser.hpp" #include <iterator> #include <iostream> #include <fstream> #include <string_view> #include <map> #include <vector> #include <variant> struct Value; using Obj = std::map<std::string, Value>; // Deque to avoid relocation on assignment using List = std::deque<Value>; using ValueBase = std::v...
24.405229
89
0.633369
tlammi
704762ae42702157acd11411a5a7c08b295231cb
727
cpp
C++
Project_2DGameSDK/src/world/GameWorld.cpp
markoczy/2DGameSDK
53da378d604ace1d931dfe6ec336241045675667
[ "MIT" ]
1
2020-12-15T08:20:44.000Z
2020-12-15T08:20:44.000Z
Project_2DGameSDK/src/world/GameWorld.cpp
markoczy/2DGameSDK
53da378d604ace1d931dfe6ec336241045675667
[ "MIT" ]
8
2019-09-14T10:05:33.000Z
2019-09-25T18:47:59.000Z
Project_2DGameSDK/src/world/GameWorld.cpp
markoczy/2DGameSDK
53da378d604ace1d931dfe6ec336241045675667
[ "MIT" ]
null
null
null
#include <2DGameSDK/world/GameWorld.h> using namespace sf; namespace game { GameWorld::GameWorld(Game* game, Tilemap* tilemap, MaterialMap* materialMap) : mGame(game), mTilemap(tilemap), mMaterialMap(materialMap) { mBounds.width = mTilemap->TileWidth * mTilemap->TilesWide; mBounds.height = mTilemap->...
27.961538
141
0.672627
markoczy
704b287c3fb15089d13601b52d15e9d22b1a8727
2,215
cpp
C++
leetcode/problems/hard/1293-shortest-path-in-a-grid-with-obstacles-elimination.cpp
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
18
2020-08-27T05:27:50.000Z
2022-03-08T02:56:48.000Z
leetcode/problems/hard/1293-shortest-path-in-a-grid-with-obstacles-elimination.cpp
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
null
null
null
leetcode/problems/hard/1293-shortest-path-in-a-grid-with-obstacles-elimination.cpp
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
1
2020-10-13T05:23:58.000Z
2020-10-13T05:23:58.000Z
/* Shortest Path in a Grid with Obstacles Elimination https://leetcode.com/problems/shortest-path-in-a-grid-with-obstacles-elimination/ You are given an m x n integer matrix grid where each cell is either 0 (empty) or 1 (obstacle). You can move up, down, left, or right from and to an empty cell in one step. Return th...
28.766234
218
0.506998
wingkwong
704c0f47f9e2a1552f926a54281972ea39ee9ad8
1,380
cpp
C++
medium/5_longest_palindromic_substring.cpp
pdu/leetcode_cpp
c487df7561f92562b20a31317957f47e0a20c485
[ "Apache-2.0" ]
4
2019-07-22T03:53:23.000Z
2019-10-17T01:37:41.000Z
medium/5_longest_palindromic_substring.cpp
pdu/leetcode_cpp
c487df7561f92562b20a31317957f47e0a20c485
[ "Apache-2.0" ]
null
null
null
medium/5_longest_palindromic_substring.cpp
pdu/leetcode_cpp
c487df7561f92562b20a31317957f47e0a20c485
[ "Apache-2.0" ]
2
2020-03-10T03:30:41.000Z
2020-11-10T06:51:34.000Z
// step 1: clarify // // Q: how long is the string? // A: at most 1000 // // step 2: solutions // // the naive way is to enumate all the substrings, and check whether it's palindromic or not // time complexity: O(n^3) // space complexity: O(1) // // for the palindromic string, it's substring s[1, n-1) must be palindrom...
27.058824
101
0.521739
pdu