hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
108
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
int64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
4
269
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
9
max_issues_count
int64
1
67k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
4
269
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
9
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
7
1.05M
avg_line_length
float64
1.21
330k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
0.99
author_id
stringlengths
2
40
6b486945bff46f9ca1f77fd28cefac913519ad71
1,963
cpp
C++
src/iotjs_debuglog.cpp
chivalry02/iotjs
a7007b88120a020c5ece835811cec9ded48f9f2b
[ "Apache-2.0" ]
null
null
null
src/iotjs_debuglog.cpp
chivalry02/iotjs
a7007b88120a020c5ece835811cec9ded48f9f2b
[ "Apache-2.0" ]
null
null
null
src/iotjs_debuglog.cpp
chivalry02/iotjs
a7007b88120a020c5ece835811cec9ded48f9f2b
[ "Apache-2.0" ]
1
2021-01-16T18:15:34.000Z
2021-01-16T18:15:34.000Z
/* Copyright 2015 Samsung Electronics Co., Ltd. * * 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 la...
29.298507
78
0.715741
chivalry02
6b49546ec6903b975f88349a4d398c7fab8a221f
7,373
hpp
C++
ThirdParty-mod/java2cpp/android/content/pm/PackageStats.hpp
kakashidinho/HQEngine
8125b290afa7c62db6cc6eac14e964d8138c7fd0
[ "MIT" ]
1
2019-04-03T01:53:28.000Z
2019-04-03T01:53:28.000Z
ThirdParty-mod/java2cpp/android/content/pm/PackageStats.hpp
kakashidinho/HQEngine
8125b290afa7c62db6cc6eac14e964d8138c7fd0
[ "MIT" ]
null
null
null
ThirdParty-mod/java2cpp/android/content/pm/PackageStats.hpp
kakashidinho/HQEngine
8125b290afa7c62db6cc6eac14e964d8138c7fd0
[ "MIT" ]
null
null
null
/*================================================================================ code generated by: java2cpp author: Zoran Angelov, mailto://baldzar@gmail.com class: android.content.pm.PackageStats ================================================================================*/ #ifndef J2CPP_INCLUDE_...
34.134259
146
0.722094
kakashidinho
6b495bf056d46a6feec39ffa963396592ec72858
1,393
cpp
C++
BZOJ/BZOJ1589.cpp
xehoth/OnlineJudgeCodes
013d31cccaaa1d2b6d652c2f5d5d6cb2e39884a7
[ "Apache-2.0" ]
7
2017-09-21T13:20:05.000Z
2020-03-02T03:03:04.000Z
BZOJ/BZOJ1589.cpp
xehoth/OnlineJudgeCodes
013d31cccaaa1d2b6d652c2f5d5d6cb2e39884a7
[ "Apache-2.0" ]
null
null
null
BZOJ/BZOJ1589.cpp
xehoth/OnlineJudgeCodes
013d31cccaaa1d2b6d652c2f5d5d6cb2e39884a7
[ "Apache-2.0" ]
3
2019-01-05T07:02:57.000Z
2019-06-13T08:23:13.000Z
#include <algorithm> #include <cstdio> using namespace std; const int maxn = 100005; int n, dp[maxn], size[maxn], belong[maxn], next[maxn], to[maxn], dfn[maxn], low[maxn], clo, tot; bool ins[maxn]; inline int iread() { int f = 1, x = 0; char ch = getchar(); for (; ch < '0' || ch > '9'; ch = getchar(...
24.438596
75
0.4458
xehoth
6b4a4d491d0868c2677c2e25712f00bcda7f9592
23,449
cpp
C++
CKGfx/NodeRenderer.cpp
samkusin/overview
affddf0b21f7e76ad9dae1425a4f5ac6a29a24c1
[ "MIT" ]
null
null
null
CKGfx/NodeRenderer.cpp
samkusin/overview
affddf0b21f7e76ad9dae1425a4f5ac6a29a24c1
[ "MIT" ]
null
null
null
CKGfx/NodeRenderer.cpp
samkusin/overview
affddf0b21f7e76ad9dae1425a4f5ac6a29a24c1
[ "MIT" ]
null
null
null
// // NodeRenderer.cpp // GfxPrototype // // Created by Samir Sinha on 10/5/15. // // #include "NodeRenderer.hpp" #include "ShaderLibrary.hpp" #include "VertexTypes.hpp" #include "Material.hpp" #include "Texture.hpp" #include "Mesh.hpp" #include "Animation.hpp" #include "AnimationController.hpp" #include "Light.hp...
33.836941
159
0.541174
samkusin
6b4da9c530096baa58f9a044f3be038db9b63f34
5,114
cpp
C++
lldb/source/Symbol/SymbolFile.cpp
bytesnake/Enzyme
247606c279920d476645d2e319e574bf8be10fc9
[ "Apache-2.0" ]
null
null
null
lldb/source/Symbol/SymbolFile.cpp
bytesnake/Enzyme
247606c279920d476645d2e319e574bf8be10fc9
[ "Apache-2.0" ]
null
null
null
lldb/source/Symbol/SymbolFile.cpp
bytesnake/Enzyme
247606c279920d476645d2e319e574bf8be10fc9
[ "Apache-2.0" ]
null
null
null
//===-- SymbolFile.cpp ------------------------------------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
33.424837
80
0.62632
bytesnake
6b4ed243dbe916a9d29bc62f50aec92c78146786
4,734
cpp
C++
code archive/codechef/ROBAGAIN.cpp
brianbbsu/program
c4505f2b8c0b91010e157db914a63c49638516bc
[ "MIT" ]
4
2018-04-08T08:07:58.000Z
2021-06-07T14:55:24.000Z
code archive/codechef/ROBAGAIN.cpp
brianbbsu/program
c4505f2b8c0b91010e157db914a63c49638516bc
[ "MIT" ]
null
null
null
code archive/codechef/ROBAGAIN.cpp
brianbbsu/program
c4505f2b8c0b91010e157db914a63c49638516bc
[ "MIT" ]
1
2018-10-29T12:37:25.000Z
2018-10-29T12:37:25.000Z
//{ #include<bits/stdc++.h> using namespace std; typedef long long ll; typedef double lf; typedef pair<ll,ll> ii; #define REP(i,n) for(ll i=0;i<n;i++) #define REP1(i,n) for(ll i=1;i<=n;i++) #define FILL(i,n) memset(i,n,sizeof i) #define X first #define Y second #define SZ(_a) (int)_a.size() #define ALL(_a) _a.begin(),_...
27.523256
129
0.440642
brianbbsu
6b4f526ab4dd550cd487e3a3beab70bba9f6d573
1,300
cpp
C++
src/Tokenizer.cpp
Kahsolt/TuringMachine
a24b4b1c7eca0b89cca228af8f61210d917130ca
[ "WTFPL" ]
null
null
null
src/Tokenizer.cpp
Kahsolt/TuringMachine
a24b4b1c7eca0b89cca228af8f61210d917130ca
[ "WTFPL" ]
null
null
null
src/Tokenizer.cpp
Kahsolt/TuringMachine
a24b4b1c7eca0b89cca228af8f61210d917130ca
[ "WTFPL" ]
null
null
null
#include <iostream> #include "utils.h" #include "Exception.h" #include "Tokenizer.h" Token Token::EMPTY_TOKEN = Token(); Tokenizer::Tokenizer() : line(nullptr), p(nullptr), use_last_token(false), last_token(Token::EMPTY_TOKEN) { } void Tokenizer::tokenize(char* line) { this->line = p = line; } Token Toke...
41.935484
110
0.626154
Kahsolt
6b4ff13897b20a91e4b15ae42f9123a65c01e46c
279
hpp
C++
src/rpc.hpp
skybon/boinc-rpc-cpp
bfb7e238d815167c438a26cdb5cdcd31d0d9acdc
[ "Apache-2.0" ]
1
2016-10-11T06:58:38.000Z
2016-10-11T06:58:38.000Z
src/rpc.hpp
skybon/boinc-rpc-cpp
bfb7e238d815167c438a26cdb5cdcd31d0d9acdc
[ "Apache-2.0" ]
null
null
null
src/rpc.hpp
skybon/boinc-rpc-cpp
bfb7e238d815167c438a26cdb5cdcd31d0d9acdc
[ "Apache-2.0" ]
null
null
null
#ifndef _RPC_HPP_ #define _RPC_HPP_ #include <string> #include <glibmm.h> #include "util.hpp" namespace Boinc { std::string compute_nonce_hash(std::string, std::string); void query_boinc_daemon(Glib::ustring, int, Glib::ustring, XMLCallback, XMLCallback = nullptr); } #endif
17.4375
95
0.756272
skybon
6b513ba71885aa370cf6f4d7db79a3a4c821c80a
3,465
cxx
C++
src/core/BeaconSender.cxx
dlopes7/openkit-native
669871b0f48d85534c3ecfdfca2c9fb6de5811f9
[ "Apache-2.0" ]
null
null
null
src/core/BeaconSender.cxx
dlopes7/openkit-native
669871b0f48d85534c3ecfdfca2c9fb6de5811f9
[ "Apache-2.0" ]
null
null
null
src/core/BeaconSender.cxx
dlopes7/openkit-native
669871b0f48d85534c3ecfdfca2c9fb6de5811f9
[ "Apache-2.0" ]
null
null
null
/** * Copyright 2018-2019 Dynatrace LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
26.450382
113
0.768831
dlopes7
6b52546edc14d096a393a08a2d8b8909a7e615d4
607
cpp
C++
XSoftRenderer/src/main.cpp
hovhannest/XSoftRenderer_old
94458b36998376011ec62f878aac52195a3b414e
[ "MIT" ]
null
null
null
XSoftRenderer/src/main.cpp
hovhannest/XSoftRenderer_old
94458b36998376011ec62f878aac52195a3b414e
[ "MIT" ]
null
null
null
XSoftRenderer/src/main.cpp
hovhannest/XSoftRenderer_old
94458b36998376011ec62f878aac52195a3b414e
[ "MIT" ]
null
null
null
//============================================================================ // Name : XSoftwareRenderer.cpp // Author : // Version : // Copyright : Your copyright notice // Description : Hello World in C++, Ansi-style //============================================================================ ...
20.233333
78
0.444811
hovhannest
6b563fbc9736dc85dbafbdbd9778a831cca39bc9
351
cpp
C++
6. Polymorphism/1. Function Overloading/4.OverloadingParameterNumber.cpp
Imran4424/C-Plus-Plus-Object-Oriented
a9c16ce6506b4cc0f3ec82fdf2e750bec50aab79
[ "MIT" ]
3
2019-11-06T15:43:06.000Z
2020-06-05T10:47:28.000Z
6. Polymorphism/1. Function Overloading/4.OverloadingParameterNumber.cpp
Imran4424/C-Plus-Plus-Object-Oriented
a9c16ce6506b4cc0f3ec82fdf2e750bec50aab79
[ "MIT" ]
null
null
null
6. Polymorphism/1. Function Overloading/4.OverloadingParameterNumber.cpp
Imran4424/C-Plus-Plus-Object-Oriented
a9c16ce6506b4cc0f3ec82fdf2e750bec50aab79
[ "MIT" ]
1
2019-09-06T03:37:08.000Z
2019-09-06T03:37:08.000Z
#include <iostream> using namespace std; int Add(int a, int b) { return a + b; } int Add(int a, int b, int c) { return a + b + c; } int Add(int a, int b, int c, int d) { return a + b + c + d; } int main(int argc, char const *argv[]) { cout << Add(7, 4) << endl; cout << Add(4, 9, 1) << endl; cout << Add(1, 1...
12.535714
38
0.541311
Imran4424
6b58f092dae6be00a0d8c399ca19b210f0d9eac1
5,805
hpp
C++
lg/solvers/htd-master/include/htd/IteratorWrapper.hpp
vuphan314/dpo
e24fe63fc3321c0cd6d2179c3300596b91082ab5
[ "MIT" ]
14
2020-01-31T23:02:39.000Z
2021-12-26T06:00:13.000Z
lg/solvers/htd-master/include/htd/IteratorWrapper.hpp
vuphan314/dpo
e24fe63fc3321c0cd6d2179c3300596b91082ab5
[ "MIT" ]
3
2020-06-27T21:11:46.000Z
2020-06-27T21:11:47.000Z
lg/solvers/htd-master/include/htd/IteratorWrapper.hpp
vuphan314/dpo
e24fe63fc3321c0cd6d2179c3300596b91082ab5
[ "MIT" ]
2
2020-08-08T03:04:30.000Z
2021-05-21T04:56:02.000Z
/* * File: IteratorWrapper.hpp * * Author: ABSEHER Michael (abseher@dbai.tuwien.ac.at) * * Copyright 2015-2017, Michael Abseher * E-Mail: <abseher@dbai.tuwien.ac.at> * * This file is part of htd. * * htd is free software: you can redistribute it and/or modify it under * the terms of the GNU Genera...
30.87766
152
0.538157
vuphan314
6b598cd646e7f3c28876d57101b088975900e82b
831
hpp
C++
src/statements/SpawnStatement.hpp
vgsantoniazzi/TinyInterpreter
c7269d50b47a1318989a43d807a40896f182ed16
[ "MIT" ]
29
2015-11-14T12:26:48.000Z
2021-01-02T12:47:37.000Z
src/statements/SpawnStatement.hpp
vgsantoniazzi/TinyInterpreter
c7269d50b47a1318989a43d807a40896f182ed16
[ "MIT" ]
9
2015-06-12T13:58:54.000Z
2016-06-07T03:00:41.000Z
src/statements/SpawnStatement.hpp
vgsantoniazzi/TinyInterpreter
c7269d50b47a1318989a43d807a40896f182ed16
[ "MIT" ]
6
2015-06-14T20:39:32.000Z
2020-07-27T01:14:48.000Z
/** * @file src/statements/SpawnStatement.hpp * @author Victor Antoniazzi <vgsantoniazzi@gmail.com> * @brief Implements threads. * * @details Spawn statement will run inside a thread. It will load only the * next statement. */ #ifndef _SPAWN_STATEMENT_ #define _SPAWN_STATEMENT_ #include "Statement.hpp" #include...
19.785714
78
0.68231
vgsantoniazzi
6b5a5b0f56816ac5317992325c5dbc5fe05adfa5
717
cpp
C++
src/effects/effect.cpp
mikelukas/errantry
e1c09ca5ef8bc9ef32cf8bcb86306a1415ddd37c
[ "MIT" ]
1
2018-05-11T16:09:35.000Z
2018-05-11T16:09:35.000Z
src/effects/effect.cpp
mikelukas/errantry
e1c09ca5ef8bc9ef32cf8bcb86306a1415ddd37c
[ "MIT" ]
null
null
null
src/effects/effect.cpp
mikelukas/errantry
e1c09ca5ef8bc9ef32cf8bcb86306a1415ddd37c
[ "MIT" ]
null
null
null
#include "effect.h" EffectParams::EffectParams(Element element, Character& applier, Character& target) : element(element), applier(applier), target(target) { } Effect::Effect(const EffectParams& effectParams) : element(effectParams.element), applier(effectParams.applier), target(effectParams.target), ...
19.378378
82
0.736402
mikelukas
6b5bb909ae0a4c09fed69e1c452ead29aee4ad66
305
cc
C++
source/day-22/main.cc
raphaelmeyer/advent-of-code-2020
c9d2eea98667c03a29ec6f0681ac733455df9dbd
[ "MIT" ]
null
null
null
source/day-22/main.cc
raphaelmeyer/advent-of-code-2020
c9d2eea98667c03a29ec6f0681ac733455df9dbd
[ "MIT" ]
null
null
null
source/day-22/main.cc
raphaelmeyer/advent-of-code-2020
c9d2eea98667c03a29ec6f0681ac733455df9dbd
[ "MIT" ]
null
null
null
#include "cards.h" #include <iostream> int main() { auto const start = parse_input(std::cin); auto const game1 = play(start); std::cout << "Part I : " << calculate_score(game1) << "\n"; auto const game2 = play_recursive(start); std::cout << "Part II : " << calculate_score(game2) << "\n"; }
21.785714
62
0.619672
raphaelmeyer
6b5da9e300fc148d634211450d21043a68492f12
14,273
cpp
C++
src/liboslexec/batched_rendservices.cpp
LongerVision/OpenShadingLanguage
30d2a4a089c5c9d521b27519329c205763dfe483
[ "BSD-3-Clause" ]
5
2016-04-18T20:25:17.000Z
2021-09-22T23:36:17.000Z
src/liboslexec/batched_rendservices.cpp
LongerVision/OpenShadingLanguage
30d2a4a089c5c9d521b27519329c205763dfe483
[ "BSD-3-Clause" ]
1
2018-05-18T00:19:04.000Z
2018-05-18T00:19:04.000Z
src/liboslexec/batched_rendservices.cpp
LongerVision/OpenShadingLanguage
30d2a4a089c5c9d521b27519329c205763dfe483
[ "BSD-3-Clause" ]
2
2021-08-04T22:07:22.000Z
2021-08-06T20:20:22.000Z
// Copyright Contributors to the Open Shading Language project. // SPDX-License-Identifier: BSD-3-Clause // https://github.com/AcademySoftwareFoundation/OpenShadingLanguage #include <cstdio> #include <string> #include "oslexec_pvt.h" #include <OSL/batched_rendererservices.h> using namespace OSL; using namespace OSL:...
55.753906
176
0.407903
LongerVision
6b5ed3e733b74c67687873037bbb2b92a3852506
952
cpp
C++
chapter19/local_class.cpp
iwiniwin/learncpp
b346c886364c8829647c3359f23a4a7f06989a4d
[ "MIT" ]
null
null
null
chapter19/local_class.cpp
iwiniwin/learncpp
b346c886364c8829647c3359f23a4a7f06989a4d
[ "MIT" ]
null
null
null
chapter19/local_class.cpp
iwiniwin/learncpp
b346c886364c8829647c3359f23a4a7f06989a4d
[ "MIT" ]
null
null
null
/* * @Author: iwiniwin * @Date: 2020-12-24 21:36:32 * @Last Modified by: iwiniwin * @Last Modified time: 2020-12-24 22:34:05 * @Description: 局部类 */ #include <string> #include <iostream> using namespace std; int a, val; void test1(int val){ static int si; enum Loc {a = 1024, b}; // Bar是test1的局部类 ...
17.962264
65
0.526261
iwiniwin
6b63d2dc1b00073200da3e0d3aab6861f338af5d
6,142
hpp
C++
ql/cashflows/zcinflationcapfloor.hpp
universe1987/QuantLib
bbb0145aff285853755b9f6ed013f53a41163acb
[ "BSD-3-Clause" ]
4
2016-03-28T15:05:23.000Z
2020-02-17T23:05:57.000Z
ql/cashflows/zcinflationcapfloor.hpp
universe1987/QuantLib
bbb0145aff285853755b9f6ed013f53a41163acb
[ "BSD-3-Clause" ]
1
2015-02-02T20:32:43.000Z
2015-02-02T20:32:43.000Z
ql/cashflows/zcinflationcapfloor.hpp
pcaspers/quantlib
bbb0145aff285853755b9f6ed013f53a41163acb
[ "BSD-3-Clause" ]
10
2015-01-26T14:50:24.000Z
2015-10-23T07:41:30.000Z
/* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Copyright (C) 2012 Peter Caspers 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/o...
38.149068
118
0.659557
universe1987
6b64abbfe35597f2c2ffd39bbd38fa21d2b9f778
358
cpp
C++
942-di-string-match/942-di-string-match.cpp
Edith-panda/leetcode
175b4cbcd25b95b4863d793c876719eabb94dafc
[ "Apache-2.0" ]
null
null
null
942-di-string-match/942-di-string-match.cpp
Edith-panda/leetcode
175b4cbcd25b95b4863d793c876719eabb94dafc
[ "Apache-2.0" ]
null
null
null
942-di-string-match/942-di-string-match.cpp
Edith-panda/leetcode
175b4cbcd25b95b4863d793c876719eabb94dafc
[ "Apache-2.0" ]
null
null
null
class Solution { public: vector<int> diStringMatch(string s) { int n = s.size(); int k=0, j=n; vector<int> v; for(int i=0;i<=n;i++){ if(s[i] == 'I') v.push_back(k++); else v.push_back(j--); ...
18.842105
41
0.343575
Edith-panda
6b6602c7556eb0928d3233517724e393a65ba09e
14,717
cpp
C++
driver/src/oasis_hid.cpp
mmmspatz/wumbo_mr
7dfecd4cb824ad2268f6f9208e3fe6c9510fb097
[ "BSL-1.0" ]
1
2021-02-12T06:54:53.000Z
2021-02-12T06:54:53.000Z
driver/src/oasis_hid.cpp
mmmspatz/wumbo_mr
7dfecd4cb824ad2268f6f9208e3fe6c9510fb097
[ "BSL-1.0" ]
null
null
null
driver/src/oasis_hid.cpp
mmmspatz/wumbo_mr
7dfecd4cb824ad2268f6f9208e3fe6c9510fb097
[ "BSL-1.0" ]
null
null
null
// Copyright Mark H. Spatz 2021-present // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE or copy at // https://www.boost.org/LICENSE_1_0.txt) #include "oasis_hid.hpp" #include <spdlog/spdlog.h> #include <algorithm> #include <cassert> #include <chrono> #include <cstddef>...
34.957245
100
0.684311
mmmspatz
6b69591128a9b33277073ebe2c3f8d8e621d4839
1,423
cpp
C++
dev/Basic/long/database/entity/CreateOutputSchema.cpp
gusugusu1018/simmobility-prod
d30a5ba353673f8fd35f4868c26994a0206a40b6
[ "MIT" ]
50
2018-12-21T08:21:38.000Z
2022-01-24T09:47:59.000Z
dev/Basic/long/database/entity/CreateOutputSchema.cpp
gusugusu1018/simmobility-prod
d30a5ba353673f8fd35f4868c26994a0206a40b6
[ "MIT" ]
2
2018-12-19T13:42:47.000Z
2019-05-13T04:11:45.000Z
dev/Basic/long/database/entity/CreateOutputSchema.cpp
gusugusu1018/simmobility-prod
d30a5ba353673f8fd35f4868c26994a0206a40b6
[ "MIT" ]
27
2018-11-28T07:30:34.000Z
2022-02-05T02:22:26.000Z
//Copyright (c) 2013 Singapore-MIT Alliance for Research and Technology //Licensed under the terms of the MIT License, as described in the file: // license.txt (http://opensource.org/licenses/MIT) /* * CreateOutputSchema.cpp * * Created on: Nov 23, 2015 * Author: gishara */ #include "CreateOutputSchema...
24.534483
86
0.624034
gusugusu1018
6b6a9ee9c8275c7b664b18ee06b41487632400c8
18,695
cp
C++
Linux/Sources/Application/Rules/Dialog/CRulesDialog.cp
mbert/mulberry-main
6b7951a3ca56e01a7be67aa12e55bfeafc63950d
[ "ECL-2.0", "Apache-2.0" ]
12
2015-04-21T16:10:43.000Z
2021-11-05T13:41:46.000Z
Linux/Sources/Application/Rules/Dialog/CRulesDialog.cp
SpareSimian/mulberry-main
e868f3f4d86efae3351000818a3cb2d72ae5eac3
[ "ECL-2.0", "Apache-2.0" ]
2
2015-11-02T13:32:11.000Z
2019-07-10T21:11:21.000Z
Linux/Sources/Application/Rules/Dialog/CRulesDialog.cp
SpareSimian/mulberry-main
e868f3f4d86efae3351000818a3cb2d72ae5eac3
[ "ECL-2.0", "Apache-2.0" ]
6
2015-01-12T08:49:12.000Z
2021-03-27T09:11:10.000Z
/* Copyright (c) 2007 Cyrus Daboo. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless re...
25.750689
129
0.671891
mbert
6b6ca32553a3f511a5c8d23c7a1a0f3d7a024d6e
3,407
cpp
C++
qtmultimedia/src/plugins/android/src/common/qandroidmultimediautils.cpp
wgnet/wds_qt
8db722fd367d2d0744decf99ac7bafaba8b8a3d3
[ "Apache-2.0" ]
1
2020-04-30T15:47:35.000Z
2020-04-30T15:47:35.000Z
qtmultimedia/src/plugins/android/src/common/qandroidmultimediautils.cpp
wgnet/wds_qt
8db722fd367d2d0744decf99ac7bafaba8b8a3d3
[ "Apache-2.0" ]
null
null
null
qtmultimedia/src/plugins/android/src/common/qandroidmultimediautils.cpp
wgnet/wds_qt
8db722fd367d2d0744decf99ac7bafaba8b8a3d3
[ "Apache-2.0" ]
null
null
null
/**************************************************************************** ** ** Copyright (C) 2015 The Qt Company Ltd. ** Contact: http://www.qt.io/licensing/ ** ** This file is part of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL21$ ** Commercial License Usage ** Licensees holding valid commercial Qt licenses may ...
31.546296
91
0.65835
wgnet
6b6fb696342f23f890bca26716a01d374d7bf01d
1,664
hpp
C++
src/cxx/ctul/cfg/mutex.hpp
c0de4un/cxx-thread-util
3b7f85e32370cfeb699d7a7d3c8bf08ca99acbe5
[ "MIT" ]
1
2020-01-30T15:13:37.000Z
2020-01-30T15:13:37.000Z
src/cxx/ctul/cfg/mutex.hpp
c0de4un/cxx-thread-util
3b7f85e32370cfeb699d7a7d3c8bf08ca99acbe5
[ "MIT" ]
null
null
null
src/cxx/ctul/cfg/mutex.hpp
c0de4un/cxx-thread-util
3b7f85e32370cfeb699d7a7d3c8bf08ca99acbe5
[ "MIT" ]
null
null
null
/** * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABIL...
29.192982
90
0.519231
c0de4un
6b7609c25d10b3adf3ea816d2b7b295b0d76a31c
2,866
cpp
C++
src/sd/FileListIterator.cpp
r4dx/sentinel-hill
9b5770240f2d603da08925e86460925799a91bc9
[ "Apache-2.0" ]
1
2019-12-27T20:07:45.000Z
2019-12-27T20:07:45.000Z
src/sd/FileListIterator.cpp
r4dx/sentinel-hill
9b5770240f2d603da08925e86460925799a91bc9
[ "Apache-2.0" ]
25
2016-10-21T04:44:34.000Z
2017-08-18T20:54:22.000Z
src/sd/FileListIterator.cpp
r4dx/sentinel-hill
9b5770240f2d603da08925e86460925799a91bc9
[ "Apache-2.0" ]
null
null
null
#include "FileListIterator.h" #include "File.h" #include "logger/ConsoleFileLoggerWrapper.h" #include <assert.h> namespace sentinel { namespace sd { namespace file { FileListIterator::FileListIterator(File& folder) : folder(&folder), current(nullptr), isEnd(false), ...
33.717647
89
0.474529
r4dx
6b780e45f353ee9e9b5288bce4ef6ed2b49003f1
881
cpp
C++
duds/data/Int128.cpp
jjackowski/duds
0fc4eec0face95c13575672f2a2d8625517c9469
[ "BSD-2-Clause" ]
null
null
null
duds/data/Int128.cpp
jjackowski/duds
0fc4eec0face95c13575672f2a2d8625517c9469
[ "BSD-2-Clause" ]
null
null
null
duds/data/Int128.cpp
jjackowski/duds
0fc4eec0face95c13575672f2a2d8625517c9469
[ "BSD-2-Clause" ]
null
null
null
/* * This file is part of the DUDS project. It is subject to the BSD-style * license terms in the LICENSE file found in the top-level directory of this * distribution and at https://github.com/jjackowski/duds/blob/master/LICENSE. * No part of DUDS, including this file, may be copied, modified, propagated, * or dis...
28.419355
78
0.721907
jjackowski
6b783e448c1307903bf75d9c2b6e6d518fb32b39
17,384
cpp
C++
OledDisplay.cpp
Hans-Beerman/CompressorNodeSoftware-main
fea1e6ff31fe20c2aa0eda00284652a2a31f0b96
[ "Apache-2.0" ]
null
null
null
OledDisplay.cpp
Hans-Beerman/CompressorNodeSoftware-main
fea1e6ff31fe20c2aa0eda00284652a2a31f0b96
[ "Apache-2.0" ]
null
null
null
OledDisplay.cpp
Hans-Beerman/CompressorNodeSoftware-main
fea1e6ff31fe20c2aa0eda00284652a2a31f0b96
[ "Apache-2.0" ]
null
null
null
#include "OledDisplay.h" #include <U8x8lib.h> // install U8g2 library by oliver // for I2C display #ifndef I2C_SDA #define I2C_SDA (13) // I2C SDA = GPIO 13 #endif #ifndef I2C_SCL #define I2C_SCL (16) // I2C SCL = GPIO 16 #endif // oled display #define DISPLAY_WINDOW (1000) // in ms, update display...
34.837675
145
0.583928
Hans-Beerman
6b78b03f02739f08f517d4a3b7bac2249562fc2d
7,330
cpp
C++
rtree-run-dataset.cpp
jyuatsfl/avatar
8bbb5d72fda0857e04d0c76329f32162f6d98a92
[ "Apache-2.0" ]
53
2020-06-10T09:47:02.000Z
2022-02-09T01:41:28.000Z
rtree-run-dataset.cpp
SFM2020/avatar
8c03dbdf4eed15219797285dbac6ca04e8f1b6f4
[ "Apache-2.0" ]
5
2020-07-08T03:40:34.000Z
2021-12-22T12:24:33.000Z
rtree-run-dataset.cpp
SFM2020/avatar
8c03dbdf4eed15219797285dbac6ca04e8f1b6f4
[ "Apache-2.0" ]
16
2020-06-10T09:47:04.000Z
2021-12-23T09:54:46.000Z
#include <iostream> #include <iomanip> #include <cstring> #include <boost/program_options.hpp> #include <boost/filesystem.hpp> #include "opencv2/core.hpp" #include "opencv2/imgproc.hpp" #include "opencv2/highgui.hpp" #include <Eigen/Core> #include "RTree.h" namespace { constexpr char WIND_NAME[] = "Image"; cv::Vec3b...
37.589744
180
0.499181
jyuatsfl
6b78f2bbe172f47b2f3292a5fc446c833d8d57c0
1,250
hpp
C++
src/main/cpp/pistis/json/util/Utf8CharEncoder.hpp
tomault/pistis-json
db39580d3e905dc4fbdbb22b06f4670cc3d76b04
[ "Apache-2.0" ]
null
null
null
src/main/cpp/pistis/json/util/Utf8CharEncoder.hpp
tomault/pistis-json
db39580d3e905dc4fbdbb22b06f4670cc3d76b04
[ "Apache-2.0" ]
null
null
null
src/main/cpp/pistis/json/util/Utf8CharEncoder.hpp
tomault/pistis-json
db39580d3e905dc4fbdbb22b06f4670cc3d76b04
[ "Apache-2.0" ]
null
null
null
#ifndef __PISTIS__JSON__UTIL__UTF8CHARENCODER_HPP__ #define __PISTIS__JSON__UTIL__UTF8CHARENCODER_HPP__ #include <pistis/exceptions/IllegalValueError.hpp> #include <iomanip> #include <sstream> namespace pistis { namespace json { namespace util { class Utf8CharEncoder { public: template <typename ...
26.041667
59
0.5864
tomault
6b7a9c6c404706d744b31eb8b2213748ac982b19
751
cpp
C++
CPP/Leet Code Solutions/add-two-numbers/add-two-numbers.cpp
thefool76/hacktoberfest2021
237751e17a4fc325ded29fca013fb9f5853cd27c
[ "CC0-1.0" ]
448
2021-10-01T04:24:14.000Z
2022-03-06T14:34:20.000Z
CPP/Leet Code Solutions/add-two-numbers/add-two-numbers.cpp
Chanaka-Madushan-Herath/hacktoberfest2021
8473df9e058ccb6049720dd372342e0ea60f0e59
[ "CC0-1.0" ]
282
2021-10-01T04:29:06.000Z
2022-03-07T12:42:57.000Z
CPP/Leet Code Solutions/add-two-numbers/add-two-numbers.cpp
Chanaka-Madushan-Herath/hacktoberfest2021
8473df9e058ccb6049720dd372342e0ea60f0e59
[ "CC0-1.0" ]
1,807
2021-10-01T04:24:02.000Z
2022-03-28T04:51:25.000Z
/** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode() : val(0), next(nullptr) {} * ListNode(int x) : val(x), next(nullptr) {} * ListNode(int x, ListNode *next) : val(x), next(next) {} * }; */ class Solution { public: ListNode* addTwoNumbe...
26.821429
62
0.478029
thefool76
6b7b4f0f7e85896b28c57915ef7f051fa7a6da73
4,979
cpp
C++
entity_manager.cpp
jasonhutchens/kranzky_ice
8b1cf40f7948ac8811cdf49729d1df0acb7fc611
[ "Unlicense" ]
4
2016-06-05T04:36:12.000Z
2016-08-21T20:11:49.000Z
entity_manager.cpp
kranzky/kranzky_ice
8b1cf40f7948ac8811cdf49729d1df0acb7fc611
[ "Unlicense" ]
null
null
null
entity_manager.cpp
kranzky/kranzky_ice
8b1cf40f7948ac8811cdf49729d1df0acb7fc611
[ "Unlicense" ]
null
null
null
//============================================================================== #include <entity_manager.hpp> #include <entity.hpp> #include <engine.hpp> #include <hgeResource.h> #include <sstream> #include <cstdarg> //------------------------------------------------------------------------------ Entit...
26.625668
81
0.420165
jasonhutchens
6b7c08973280db624a523f6c53e5003ed6ac2865
3,957
cpp
C++
Spark/ShapeCreator.cpp
MickAlmighty/SparkRenderer
0e30e342c7cf4003da54e9ce191fead647a868eb
[ "MIT" ]
1
2022-02-15T19:50:01.000Z
2022-02-15T19:50:01.000Z
Spark/ShapeCreator.cpp
MickAlmighty/SparkRenderer
0e30e342c7cf4003da54e9ce191fead647a868eb
[ "MIT" ]
null
null
null
Spark/ShapeCreator.cpp
MickAlmighty/SparkRenderer
0e30e342c7cf4003da54e9ce191fead647a868eb
[ "MIT" ]
null
null
null
#include "ShapeCreator.h" #include <cstring> #include <glm/gtx/rotate_vector.hpp> constexpr double pi = 3.14159265358979323846; namespace spark { std::vector<glm::vec3> ShapeCreator::createSphere(float radius, int precision, glm::vec3 centerPoint) { if(radius < 0.0f) return {}; if(precision < 3) ...
28.06383
148
0.564064
MickAlmighty
6b7c3b1188b77990433a6f6ce8f5a8a43f6367c2
1,863
cc
C++
tf_euler/utils/init_nebula_graph.cc
MMyheart/euler
d5910cec735daa7b2f94dc7675a376ffc649b128
[ "Apache-2.0" ]
null
null
null
tf_euler/utils/init_nebula_graph.cc
MMyheart/euler
d5910cec735daa7b2f94dc7675a376ffc649b128
[ "Apache-2.0" ]
null
null
null
tf_euler/utils/init_nebula_graph.cc
MMyheart/euler
d5910cec735daa7b2f94dc7675a376ffc649b128
[ "Apache-2.0" ]
null
null
null
/* Copyright 2021 Alibaba Group Holding Limited. 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 o...
31.05
119
0.661299
MMyheart
6b7c98ce8f1ae5ba9c190e80bbcccd50fc74afc3
620
cpp
C++
Engine/Source/Editor/AudioEditor/Private/Factories/SoundConcurrencyFactory.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
1
2022-01-29T18:36:12.000Z
2022-01-29T18:36:12.000Z
Engine/Source/Editor/AudioEditor/Private/Factories/SoundConcurrencyFactory.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
Engine/Source/Editor/AudioEditor/Private/Factories/SoundConcurrencyFactory.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved. #include "Factories/SoundConcurrencyFactory.h" #include "Sound/SoundConcurrency.h" USoundConcurrencyFactory::USoundConcurrencyFactory(const FObjectInitializer& ObjectInitializer) : Super(ObjectInitializer) { SupportedClass = USoundConcurrency::StaticClass...
31
159
0.803226
windystrife
6b7f7e2fe5c718d23ef535be5580e276a4f357bc
1,951
cpp
C++
packages/ogdf.js/src/module/src/InitialPlacer.cpp
ZJUVAI/ogdf.js
6670d20b6c630a46593ac380d1edf91d2c9aabe8
[ "MIT" ]
3
2021-09-14T08:11:37.000Z
2022-03-04T15:42:07.000Z
packages/ogdf.js/src/module/src/InitialPlacer.cpp
JackieAnxis/ogdf.js
6670d20b6c630a46593ac380d1edf91d2c9aabe8
[ "MIT" ]
2
2021-12-04T17:09:53.000Z
2021-12-16T08:57:25.000Z
packages/ogdf.js/src/module/src/InitialPlacer.cpp
ZJUVAI/ogdf.js
6670d20b6c630a46593ac380d1edf91d2c9aabe8
[ "MIT" ]
2
2021-06-22T08:21:54.000Z
2021-07-07T06:57:22.000Z
#include "../main.h" #include <ogdf/energybased/multilevel_mixer/BarycenterPlacer.h> #include <ogdf/energybased/multilevel_mixer/CirclePlacer.h> #include <ogdf/energybased/multilevel_mixer/MedianPlacer.h> #include <ogdf/energybased/multilevel_mixer/RandomPlacer.h> #include <ogdf/energybased/multilevel_mixer/SolarPlace...
30.968254
100
0.785751
ZJUVAI
6b812e16b1b874e106d2f3934e718069d869b33a
1,361
cpp
C++
LightOJ/1191 - Bar Codes.cpp
shamiul94/Problem-Solving-Online-Judges
0387ccd02cc692c70429b4683311070dc9d69b28
[ "MIT" ]
2
2019-11-10T18:42:11.000Z
2020-07-04T07:05:22.000Z
LightOJ/1191 - Bar Codes.cpp
shamiul94/Problem-Solving-Online-Judges
0387ccd02cc692c70429b4683311070dc9d69b28
[ "MIT" ]
null
null
null
LightOJ/1191 - Bar Codes.cpp
shamiul94/Problem-Solving-Online-Judges
0387ccd02cc692c70429b4683311070dc9d69b28
[ "MIT" ]
1
2019-11-04T11:05:17.000Z
2019-11-04T11:05:17.000Z
// LightOJ always needs this format for sure..so I made a copy of it... #include <bits/stdc++.h> #include<vector> #define ll long long int #define fi freopen("in.txt", "r", stdin) #define fo freopen("out.txt"...
23.877193
155
0.486407
shamiul94
6b86d28ee53ed184f4f4c4741fa63e439e49332e
399
cpp
C++
diag.cpp
kaushalvivek/programming-practice
23cb71b7c9a5144926ce472294d8f4113bcc5086
[ "MIT" ]
null
null
null
diag.cpp
kaushalvivek/programming-practice
23cb71b7c9a5144926ce472294d8f4113bcc5086
[ "MIT" ]
null
null
null
diag.cpp
kaushalvivek/programming-practice
23cb71b7c9a5144926ce472294d8f4113bcc5086
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main() { int n,temp; cin >> n; int d1 = 0, d2 = 0; for(int j = 1,i = 1;i < n || j < n+1 ; i++) { cin >> temp; if(i>n)i%=n; if (i == j) d1 += temp; if (i == n-j+1) d2+=temp; if (i == n) j++; //cout << "i is " << i <<" ||| j is " << j << " ||| d1 is " << ...
22.166667
99
0.418546
kaushalvivek
6b87577d459e6ac851f43a6e95106c6b94b68af4
25
cpp
C++
Source/Utility/TextureLoader.cpp
reo-prg/TurnZ_code
f079c27921e2597bb824eba416b8b9a31258580c
[ "Unlicense" ]
null
null
null
Source/Utility/TextureLoader.cpp
reo-prg/TurnZ_code
f079c27921e2597bb824eba416b8b9a31258580c
[ "Unlicense" ]
null
null
null
Source/Utility/TextureLoader.cpp
reo-prg/TurnZ_code
f079c27921e2597bb824eba416b8b9a31258580c
[ "Unlicense" ]
null
null
null
#include <DirectXTex.h>
8.333333
23
0.72
reo-prg
6b897acf6092080c0e6a1ce1abe3cc23b2c68296
2,191
cpp
C++
Scene.cpp
KosukeTakahashi/CoSDL
9e7ae8e2f9f2434eca2236e25c6bcf54d5af716e
[ "MIT" ]
null
null
null
Scene.cpp
KosukeTakahashi/CoSDL
9e7ae8e2f9f2434eca2236e25c6bcf54d5af716e
[ "MIT" ]
null
null
null
Scene.cpp
KosukeTakahashi/CoSDL
9e7ae8e2f9f2434eca2236e25c6bcf54d5af716e
[ "MIT" ]
null
null
null
#include <SDL.h> #include "./Scene.hpp" #include "evcodes.hpp" #include "logger.hpp" Scene::Scene() { } Scene::~Scene() { } bool Scene::run(int fps, SDL_Renderer *renderer) { auto intervalMs = fps <= 0 ? 0 : 1000 / fps; SDL_Event ev; while (true) { auto start = SDL_GetTicks(); while (SDL_...
25.776471
92
0.545413
KosukeTakahashi
6b951db2f0edf984e31abad90d864157ad8bb550
568
cpp
C++
template/specialization.cpp
0iui0/Cpp-Primer
ff8530a202ac0340a3e8de6bb9726cf0516c50fc
[ "CC0-1.0" ]
null
null
null
template/specialization.cpp
0iui0/Cpp-Primer
ff8530a202ac0340a3e8de6bb9726cf0516c50fc
[ "CC0-1.0" ]
null
null
null
template/specialization.cpp
0iui0/Cpp-Primer
ff8530a202ac0340a3e8de6bb9726cf0516c50fc
[ "CC0-1.0" ]
null
null
null
// // Created by iouoi on 2021/5/29. // //1.full specialization //指定任意类型会走这里 template<class Key> struct hash { }; //指定以下类型会走这里 template<> struct hash<int> { size_t operator( int x){ return x; }; } template<> //cout<<hash<long>()(1000)<<endl; struct hash<long> { size_t operator( long x){ return x; }; ...
13.853659
41
0.646127
0iui0
6b96be766f6f9d3cd5fba220af39669fa1a5ab3b
4,369
hpp
C++
PCL SAC + Boost/SampleConsensusProblem.hpp
erfannoury/sac
7e4c183a91bf16803bc78536476bba594bfba109
[ "MIT" ]
7
2016-10-19T12:35:06.000Z
2019-06-26T08:19:24.000Z
PCL SAC + Boost/SampleConsensusProblem.hpp
erfannoury/sac
7e4c183a91bf16803bc78536476bba594bfba109
[ "MIT" ]
null
null
null
PCL SAC + Boost/SampleConsensusProblem.hpp
erfannoury/sac
7e4c183a91bf16803bc78536476bba594bfba109
[ "MIT" ]
null
null
null
#ifndef ASLAM_SAMPLE_CONSENSUS_PROBLEM_HPP #define ASLAM_SAMPLE_CONSENSUS_PROBLEM_HPP #include <boost/random.hpp> #include <boost/shared_ptr.hpp> #include <ctime> namespace aslam { template<typename MODEL_T> class SampleConsensusProblem { public: typedef MODEL_T model_t; SampleConsensusProblem(bool rand...
37.025424
109
0.650721
erfannoury
6b9786f5b54b7a2bd3419b0ce0f4ab580f992559
1,074
cpp
C++
Backtracking/Graph Coloring.cpp
Sakshi14-code/CompetitiveCodingQuestions
2b23bb743106df2178f2832d5b4c8d7601127c91
[ "MIT" ]
null
null
null
Backtracking/Graph Coloring.cpp
Sakshi14-code/CompetitiveCodingQuestions
2b23bb743106df2178f2832d5b4c8d7601127c91
[ "MIT" ]
null
null
null
Backtracking/Graph Coloring.cpp
Sakshi14-code/CompetitiveCodingQuestions
2b23bb743106df2178f2832d5b4c8d7601127c91
[ "MIT" ]
null
null
null
#include<stdio.h> #include<stdlib.h> #define n 4 #define m 3 int *node; int adj[4][4]={{0, 1, 1, 1}, {1, 0, 1, 0}, {1, 1, 0, 1}, {1, 0, 1, 0}, }; void printSoln() { int i; for(i=0;i<n;i++) { printf("Node %d is colored with color %d.\n",(i+1),node[i]); } printf("\n"); ...
17.047619
103
0.522346
Sakshi14-code
6b99e439e31c0d2d76002a320af24055df0c3361
657
cpp
C++
module-utils/log/tests/RandomStringGenerator.cpp
bitigchi/MuditaOS
425d23e454e09fd6ae274b00f8d19c57a577aa94
[ "BSL-1.0" ]
369
2021-11-10T09:20:29.000Z
2022-03-30T06:36:58.000Z
module-utils/log/tests/RandomStringGenerator.cpp
bitigchi/MuditaOS
425d23e454e09fd6ae274b00f8d19c57a577aa94
[ "BSL-1.0" ]
149
2021-11-10T08:38:35.000Z
2022-03-31T23:01:52.000Z
module-utils/log/tests/RandomStringGenerator.cpp
bitigchi/MuditaOS
425d23e454e09fd6ae274b00f8d19c57a577aa94
[ "BSL-1.0" ]
41
2021-11-10T08:30:37.000Z
2022-03-29T08:12:46.000Z
// Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved. // For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md #include <algorithm> #include "RandomStringGenerator.hpp" std::string RandomStringGenerator::getRandomString() { const size_t length = lengthDist(rng); std::string str(length,...
31.285714
86
0.700152
bitigchi
6ba2be1caddcdfc24816fcbc4821a7d1f3081fc3
10,665
hpp
C++
Runtime/World/CAi.hpp
jackoalan/urde
413483a996805a870f002324ee46cfc123f4df06
[ "MIT" ]
null
null
null
Runtime/World/CAi.hpp
jackoalan/urde
413483a996805a870f002324ee46cfc123f4df06
[ "MIT" ]
null
null
null
Runtime/World/CAi.hpp
jackoalan/urde
413483a996805a870f002324ee46cfc123f4df06
[ "MIT" ]
null
null
null
#pragma once #include <string_view> #include "Runtime/GCNTypes.hpp" #include "Runtime/RetroTypes.hpp" #include "Runtime/World/CDamageVulnerability.hpp" #include "Runtime/World/CEntity.hpp" #include "Runtime/World/CHealthInfo.hpp" #include "Runtime/World/CKnockBackController.hpp" #include "Runtime/World/CPhysicsActor....
55.837696
117
0.751524
jackoalan
6ba30af97637070ff4419988180d966e19938234
3,949
cpp
C++
src/CopyConstructors.cpp
jonathan-santos/learning-cpp
321208f8e7064c0efd86ce060b41bdb97f9ede7f
[ "MIT" ]
null
null
null
src/CopyConstructors.cpp
jonathan-santos/learning-cpp
321208f8e7064c0efd86ce060b41bdb97f9ede7f
[ "MIT" ]
null
null
null
src/CopyConstructors.cpp
jonathan-santos/learning-cpp
321208f8e7064c0efd86ce060b41bdb97f9ede7f
[ "MIT" ]
null
null
null
#include <iostream> #include <cstring> void ValuesDoCopy() { int a = 1; int b = a; b++; std::cout << "Value do not copy[a]: " << a << std::endl; // 1 std::cout << "Value do not copy[b]: " << b << std::endl; // 2 } struct VectorCopy { float x, y; }; void ClassesAndStructsDoCopy() { VectorC...
28.615942
340
0.610028
jonathan-santos
6ba47d5d3947f9fc8055d86f5092314861d21602
11,764
cpp
C++
third_party/WebKit/Source/platform/bindings/V8PerIsolateData.cpp
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
third_party/WebKit/Source/platform/bindings/V8PerIsolateData.cpp
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
third_party/WebKit/Source/platform/bindings/V8PerIsolateData.cpp
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
/* * Copyright (C) 2009 Google Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions ...
37.346032
80
0.743285
metux
6ba589f3afecb475eca6d0e39f67292118a50415
4,546
cc
C++
chrome/worker/webworkerclient_proxy.cc
rwatson/chromium-capsicum
b03da8e897f897c6ad2cda03ceda217b760fd528
[ "BSD-3-Clause" ]
11
2015-03-20T04:08:08.000Z
2021-11-15T15:51:36.000Z
chrome/worker/webworkerclient_proxy.cc
rwatson/chromium-capsicum
b03da8e897f897c6ad2cda03ceda217b760fd528
[ "BSD-3-Clause" ]
null
null
null
chrome/worker/webworkerclient_proxy.cc
rwatson/chromium-capsicum
b03da8e897f897c6ad2cda03ceda217b760fd528
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2009 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/worker/webworkerclient_proxy.h" #include "base/command_line.h" #include "chrome/common/chrome_switches.h" #include "chrome/common/we...
34.180451
78
0.763088
rwatson
6ba6411940d40ce526dd9a3cf369fe1edb1ec492
3,260
cxx
C++
pandatool/src/dxfegg/dxfToEggConverter.cxx
cmarshall108/panda3d-python3
8bea2c0c120b03ec1c9fd179701fdeb7510bb97b
[ "PHP-3.0", "PHP-3.01" ]
null
null
null
pandatool/src/dxfegg/dxfToEggConverter.cxx
cmarshall108/panda3d-python3
8bea2c0c120b03ec1c9fd179701fdeb7510bb97b
[ "PHP-3.0", "PHP-3.01" ]
null
null
null
pandatool/src/dxfegg/dxfToEggConverter.cxx
cmarshall108/panda3d-python3
8bea2c0c120b03ec1c9fd179701fdeb7510bb97b
[ "PHP-3.0", "PHP-3.01" ]
null
null
null
/** * PANDA 3D SOFTWARE * Copyright (c) Carnegie Mellon University. All rights reserved. * * All use of this software is subject to the terms of the revised BSD * license. You should have received a copy of this license along * with this source code in a file named "LICENSE." * * @file dxfToEggConverter.cxx ...
22.328767
77
0.684969
cmarshall108
6baa8aaebc87835c39186149cca16792ca3e6c4f
15,081
cpp
C++
source/backend/cpu/compute/DenseConvolutionTiledExecutor.cpp
foreverlms/MNN
8f9d3e3331fb54382bb61ac3a2087637a161fec5
[ "Apache-2.0" ]
null
null
null
source/backend/cpu/compute/DenseConvolutionTiledExecutor.cpp
foreverlms/MNN
8f9d3e3331fb54382bb61ac3a2087637a161fec5
[ "Apache-2.0" ]
null
null
null
source/backend/cpu/compute/DenseConvolutionTiledExecutor.cpp
foreverlms/MNN
8f9d3e3331fb54382bb61ac3a2087637a161fec5
[ "Apache-2.0" ]
null
null
null
// // DenseConvolutionTiledExecutor.cpp // MNN // // Created by MNN on 2018/07/16. // Copyright © 2018, Alibaba Group Holding Limited // #include "DenseConvolutionTiledExecutor.hpp" #include <MNN/AutoTime.hpp> #include "backend/cpu/CPUBackend.hpp" #include "CommonOptFunction.h" #include "core/Concurrency.h" #inclu...
45.561934
191
0.562496
foreverlms
6baac81394bddd9d2004eed038e8f2c76543a91d
5,054
cpp
C++
src/SortVisualizer.cpp
NFWSA/SortVisualizer
32ce9b42d0c50b5ebca47169b5a9cc6eecec292b
[ "MIT" ]
null
null
null
src/SortVisualizer.cpp
NFWSA/SortVisualizer
32ce9b42d0c50b5ebca47169b5a9cc6eecec292b
[ "MIT" ]
null
null
null
src/SortVisualizer.cpp
NFWSA/SortVisualizer
32ce9b42d0c50b5ebca47169b5a9cc6eecec292b
[ "MIT" ]
null
null
null
#include "DataLine.h" #include "SortView.h" #include <ege.h> #include <string> #include <algorithm> #include <map> #include <exception> using namespace ege; using namespace SurgeNight; class sort_break : std::logic_error { public: sort_break(const std::string &msg) : std::logic_error(msg) {} }; v...
27.318919
97
0.475069
NFWSA
6bab921d21ad76d971808fd81abb4f1875381fa3
11,206
cpp
C++
src/qt/qtbase/src/widgets/dialogs/qerrormessage.cpp
chihlee/phantomjs
644e0b3a6c9c16bcc6f7ce2c24274bf7d764f53c
[ "BSD-3-Clause" ]
null
null
null
src/qt/qtbase/src/widgets/dialogs/qerrormessage.cpp
chihlee/phantomjs
644e0b3a6c9c16bcc6f7ce2c24274bf7d764f53c
[ "BSD-3-Clause" ]
null
null
null
src/qt/qtbase/src/widgets/dialogs/qerrormessage.cpp
chihlee/phantomjs
644e0b3a6c9c16bcc6f7ce2c24274bf7d764f53c
[ "BSD-3-Clause" ]
null
null
null
/**************************************************************************** ** ** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of the QtWidgets module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL21$ ** Commercial License Usage ** Lice...
28.807198
141
0.664465
chihlee
6babdeee115e810008549689e67d33f8cd193da3
7,294
cpp
C++
user/simple_shell/simple_shell.cpp
martin-hughes/project_azalea
28aa0183cde350073cf0167df3f51435ea409c8b
[ "MIT" ]
13
2017-12-20T00:02:38.000Z
2022-01-07T11:18:36.000Z
user/simple_shell/simple_shell.cpp
martin-hughes/project_azalea
28aa0183cde350073cf0167df3f51435ea409c8b
[ "MIT" ]
21
2016-09-21T16:50:39.000Z
2020-04-12T12:58:19.000Z
user/simple_shell/simple_shell.cpp
martin-hughes/project_azalea
28aa0183cde350073cf0167df3f51435ea409c8b
[ "MIT" ]
6
2017-12-20T00:02:27.000Z
2019-03-21T16:28:24.000Z
#include <azalea/azalea.h> #include <string.h> #include <stdlib.h> #include <limits.h> #include <stdio.h> #include <time.h> #define SC_DEBUG_MSG(string) \ syscall_debug_output((string), strlen((string)) ) extern "C" int main (int argc, char **argv, char **env_p); // #define OUTPUT_PARSE_RESULTS char **child_argv ...
20.95977
129
0.541815
martin-hughes
6babe9b2516f92e9e3db90d77a034a4747cd90b5
14,283
cpp
C++
DeepSkyDad.AF2.ESP32/src/Motor_AF2.cpp
DeepSkyDad/AF2
126bb3e09c76fd83932dd60cf9df8ba7ddc1df7e
[ "MIT" ]
null
null
null
DeepSkyDad.AF2.ESP32/src/Motor_AF2.cpp
DeepSkyDad/AF2
126bb3e09c76fd83932dd60cf9df8ba7ddc1df7e
[ "MIT" ]
1
2019-09-09T23:56:16.000Z
2019-09-22T08:15:27.000Z
DeepSkyDad.AF2.ESP32/src/Motor_AF2.cpp
DeepSkyDad/AF2
126bb3e09c76fd83932dd60cf9df8ba7ddc1df7e
[ "MIT" ]
null
null
null
#include <Arduino.h> #include "Motor_AF2.h" void Motor_AF2::_writeCoilsMode() { //Serial.println(_eeprom->getIsManualControl()); if (isMoving()) return; unsigned short coilsMode = _eeprom->getIsManualControl() ? _eeprom->getManualCoilsMode() : _eeprom->getCoilsMode(); unsigned int holdCurrent ...
31.669623
148
0.660505
DeepSkyDad
6bb0458ab4e21e879de84213c10e3435ea28d335
1,394
cc
C++
dyn/src/main.cc
balayette/saphIR-project
18da494ac21e5433fdf1c646be02c9bf25177d7d
[ "MIT" ]
14
2020-07-31T09:35:23.000Z
2021-11-15T11:18:35.000Z
dyn/src/main.cc
balayette/saphIR-project
18da494ac21e5433fdf1c646be02c9bf25177d7d
[ "MIT" ]
null
null
null
dyn/src/main.cc
balayette/saphIR-project
18da494ac21e5433fdf1c646be02c9bf25177d7d
[ "MIT" ]
null
null
null
#include <iostream> #include <getopt.h> #include "utils/fs.hh" #include "dyn/emu.hh" #include "dyn/unicorn-emu.hh" #include "fmt/format.h" #include <string> #include <optional> struct options { std::optional<std::string> coverage_file; std::string binary; bool help; bool singlestep; }; options parse_options(int a...
19.633803
64
0.621951
balayette
6bb2533d765f7526f977de70830165c431947c14
9,305
cpp
C++
core/fileManager.cpp
n3on/revisy
f69f778563776ae463505baf9835820704e72bd4
[ "MIT" ]
1
2020-02-18T22:59:20.000Z
2020-02-18T22:59:20.000Z
core/fileManager.cpp
n3on/revisy
f69f778563776ae463505baf9835820704e72bd4
[ "MIT" ]
null
null
null
core/fileManager.cpp
n3on/revisy
f69f778563776ae463505baf9835820704e72bd4
[ "MIT" ]
null
null
null
/*************************************************************************** * This file is part of the ReViSy project * Copyright (C) 2007 by Neon ***************************************************************************/ #include "fileManager.h" FileManager* FileManager::m_instance = NULL; FileManager::F...
32.309028
138
0.450188
n3on
6bb3e07fc264cfe462095b63872339a0d6fc0e7e
5,833
cpp
C++
cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_spirit_corehelper_cfg.cpp
CiscoDevNet/ydk-cpp
ef7d75970f2ef1154100e0f7b0a2ee823609b481
[ "ECL-2.0", "Apache-2.0" ]
17
2016-12-02T05:45:49.000Z
2022-02-10T19:32:54.000Z
cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_spirit_corehelper_cfg.cpp
CiscoDevNet/ydk-cpp
ef7d75970f2ef1154100e0f7b0a2ee823609b481
[ "ECL-2.0", "Apache-2.0" ]
2
2017-03-27T15:22:38.000Z
2019-11-05T08:30:16.000Z
cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_spirit_corehelper_cfg.cpp
CiscoDevNet/ydk-cpp
ef7d75970f2ef1154100e0f7b0a2ee823609b481
[ "ECL-2.0", "Apache-2.0" ]
11
2016-12-02T05:45:52.000Z
2019-11-07T08:28:17.000Z
#include <sstream> #include <iostream> #include <ydk/entity_util.hpp> #include "bundle_info.hpp" #include "generated_entity_lookup.hpp" #include "Cisco_IOS_XR_spirit_corehelper_cfg.hpp" using namespace ydk; namespace cisco_ios_xr { namespace Cisco_IOS_XR_spirit_corehelper_cfg { Exception::Exception() : file...
24.508403
161
0.688496
CiscoDevNet
6bb89fe1087399aa9b253295809e2906d107c237
4,558
cpp
C++
src/appleseed/renderer/modeling/project/regexrenderlayerrule.cpp
istemi-bahceci/appleseed
2db1041acb04bad4742cf7826ce019f0e623fe35
[ "MIT" ]
1
2021-04-02T10:51:57.000Z
2021-04-02T10:51:57.000Z
src/appleseed/renderer/modeling/project/regexrenderlayerrule.cpp
istemi-bahceci/appleseed
2db1041acb04bad4742cf7826ce019f0e623fe35
[ "MIT" ]
null
null
null
src/appleseed/renderer/modeling/project/regexrenderlayerrule.cpp
istemi-bahceci/appleseed
2db1041acb04bad4742cf7826ce019f0e623fe35
[ "MIT" ]
null
null
null
// // This source file is part of appleseed. // Visit http://appleseedhq.net/ for additional information and resources. // // This software is released under the MIT license. // // Copyright (c) 2010-2013 Francois Beaune, Jupiter Jazz Limited // Copyright (c) 2014-2017 Francois Beaune, The appleseedhq Organization // ...
29.217949
113
0.679026
istemi-bahceci
6bb8d53f360caca99c16992039093cd54edb784f
7,103
cpp
C++
object_analytics_nodelet/src/segmenter/organized_multi_plane_segmenter.cpp
Zippen-Huang/ros_object_analytics
eb0208edbb6da67e5d5c4092fd2964a2c8d9838e
[ "Apache-2.0" ]
186
2017-11-30T14:08:54.000Z
2022-02-24T19:17:20.000Z
object_analytics_nodelet/src/segmenter/organized_multi_plane_segmenter.cpp
Zippen-Huang/ros_object_analytics
eb0208edbb6da67e5d5c4092fd2964a2c8d9838e
[ "Apache-2.0" ]
38
2017-12-06T12:03:22.000Z
2021-10-18T13:38:10.000Z
object_analytics_nodelet/src/segmenter/organized_multi_plane_segmenter.cpp
Zippen-Huang/ros_object_analytics
eb0208edbb6da67e5d5c4092fd2964a2c8d9838e
[ "Apache-2.0" ]
58
2017-11-30T07:37:35.000Z
2022-02-04T20:45:59.000Z
/* * Copyright (c) 2017 Intel Corporation * * 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...
40.129944
120
0.770801
Zippen-Huang
6bba5c3ae4bcc603f36e8c0bdceaec11b201d83d
1,231
cpp
C++
src/controllerNode.cpp
amrish1222/intelli_bot
8bfa25296d942c9b79a828788a19ff8f0d0dac34
[ "MIT" ]
null
null
null
src/controllerNode.cpp
amrish1222/intelli_bot
8bfa25296d942c9b79a828788a19ff8f0d0dac34
[ "MIT" ]
null
null
null
src/controllerNode.cpp
amrish1222/intelli_bot
8bfa25296d942c9b79a828788a19ff8f0d0dac34
[ "MIT" ]
1
2018-12-05T01:07:40.000Z
2018-12-05T01:07:40.000Z
#include "ros/ros.h" #include "std_msgs/String.h" #include "geometry_msgs/Twist.h" #include "nav_msgs/Odometry.h" #include "../include/Control.h" #include "std_msgs/Empty.h" #include <sstream> int main(int argc, char **argv) { ros::init(argc, argv, "intelli_bot"); ros::NodeHandle n; Control _control; _con...
23.226415
95
0.618197
amrish1222
6bbad17aeb39418aa1dac2e26916013680bd97dd
9,527
cpp
C++
src/textfile.cpp
alexezh/trv
1dd97096ed9f60ffb64c4e44e2e309e9c5002224
[ "MIT" ]
null
null
null
src/textfile.cpp
alexezh/trv
1dd97096ed9f60ffb64c4e44e2e309e9c5002224
[ "MIT" ]
2
2016-11-25T19:52:09.000Z
2017-04-15T14:49:52.000Z
src/textfile.cpp
alexezh/trv
1dd97096ed9f60ffb64c4e44e2e309e9c5002224
[ "MIT" ]
null
null
null
// Copyright (c) 2013 Alexandre Grigorovitch (alexezh@gmail.com). // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use,...
21.554299
116
0.651622
alexezh
6bbb18d6f4cb21042af6175e1c7804f23212f82c
11,366
cpp
C++
private/tst/debugFascadeTest/src/SmartXDebugFacadeTest.cpp
juimonen/SmartXbar
033f521a5dba5bce5e097df9c98af5b2cc2636dd
[ "BSD-3-Clause" ]
5
2018-11-05T07:37:58.000Z
2022-03-04T06:40:09.000Z
private/tst/debugFascadeTest/src/SmartXDebugFacadeTest.cpp
juimonen/SmartXbar
033f521a5dba5bce5e097df9c98af5b2cc2636dd
[ "BSD-3-Clause" ]
null
null
null
private/tst/debugFascadeTest/src/SmartXDebugFacadeTest.cpp
juimonen/SmartXbar
033f521a5dba5bce5e097df9c98af5b2cc2636dd
[ "BSD-3-Clause" ]
7
2018-12-04T07:32:19.000Z
2021-02-17T11:28:28.000Z
/* * Copyright (C) 2018 Intel Corporation.All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ /* * @file SmartXDebugFascadeTest.cpp * @date 2017 * @brief */ #include <functional> #include <gtest/gtest.h> #include <dlt/dlt.h> #include "boost/filesystem.hpp" #include "audio/configparser/IasSmartXD...
32.381766
135
0.747668
juimonen
6bbd9a23b1dbf317a5fa62b99f3f5118ecf642d0
3,087
cpp
C++
samples/roulette/wheel.cpp
sarvex/wallaroo
6a1fa4241b982b5901df3137d2db4ca0c653565a
[ "BSL-1.0" ]
3
2016-05-10T08:21:21.000Z
2021-05-03T12:38:09.000Z
samples/roulette/wheel.cpp
sarvex/wallaroo
6a1fa4241b982b5901df3137d2db4ca0c653565a
[ "BSL-1.0" ]
null
null
null
samples/roulette/wheel.cpp
sarvex/wallaroo
6a1fa4241b982b5901df3137d2db4ca0c653565a
[ "BSL-1.0" ]
2
2015-09-08T13:25:28.000Z
2016-04-06T12:29:37.000Z
/******************************************************************************* * wallaroo - A library for configurable creation and wiring of C++ classes. * Copyright (C) 2012 Daniele Pallastrelli * * This file is part of wallaroo. * For more information, see http://wallaroo.googlecode.com/ * * Boost Software ...
33.554348
80
0.650794
sarvex
6bbe9daba875ff05d39bdab9508820e0a4c12542
9,837
cpp
C++
Modules/Core/test/mitkPropertyPersistenceTest.cpp
samsmu/MITK
c93dce6dc38d8f4c961de4440e4dd113b9841c8c
[ "BSD-3-Clause" ]
5
2015-02-05T10:58:41.000Z
2019-04-17T15:04:07.000Z
Modules/Core/test/mitkPropertyPersistenceTest.cpp
kometa-dev/MITK
984b5f7ac8ea614e80f303381ef1fc77d8ca4c3d
[ "BSD-3-Clause" ]
141
2015-03-03T06:52:01.000Z
2020-12-10T07:28:14.000Z
Modules/Core/test/mitkPropertyPersistenceTest.cpp
kometa-dev/MITK
984b5f7ac8ea614e80f303381ef1fc77d8ca4c3d
[ "BSD-3-Clause" ]
4
2015-02-19T06:48:13.000Z
2020-06-19T16:20:25.000Z
/*=================================================================== The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty o...
41.506329
190
0.723391
samsmu
6bbf6df0693d77d43c19578f830f171975dfd6d4
17,009
cpp
C++
settingsHelper/SettingsHelperLib/Payload.cpp
stegru/windows
6e113cb192fe8360a697657d0221c8b4e771e506
[ "BSD-3-Clause" ]
12
2015-06-03T18:30:06.000Z
2021-12-07T12:22:25.000Z
settingsHelper/SettingsHelperLib/Payload.cpp
GPII/windows
d5a5a66059c308729ca6f8099e06819f77fdddb9
[ "BSD-3-Clause" ]
271
2015-01-28T13:24:59.000Z
2020-11-23T13:46:43.000Z
settingsHelper/SettingsHelperLib/Payload.cpp
stegru/windows
6e113cb192fe8360a697657d0221c8b4e771e506
[ "BSD-3-Clause" ]
31
2015-04-16T20:09:12.000Z
2022-01-19T14:29:05.000Z
/** * Datatypes representing payload and functions. * * Copyright 2019 Raising the Floor - US * * Licensed under the New BSD license. You may not use this file except in * compliance with this License. * * You may obtain a copy of the License at * https://github.com/GPII/universal/blob/master/LICENSE.txt */ ...
31.324125
137
0.587454
stegru
6bc0b00fdb774b8a05fe9c9b6a2f1b72447027f5
10,897
hpp
C++
parser/ParseCaseExpressions.hpp
Hacker0912/quickstep-datalog
1de22e7ab787b5efa619861a167a097ff6a4f549
[ "Apache-2.0" ]
82
2016-04-18T03:59:06.000Z
2019-02-04T11:46:08.000Z
parser/ParseCaseExpressions.hpp
Hacker0912/quickstep-datalog
1de22e7ab787b5efa619861a167a097ff6a4f549
[ "Apache-2.0" ]
265
2016-04-19T17:52:43.000Z
2018-10-11T17:55:08.000Z
parser/ParseCaseExpressions.hpp
Hacker0912/quickstep-datalog
1de22e7ab787b5efa619861a167a097ff6a4f549
[ "Apache-2.0" ]
68
2016-04-18T05:00:34.000Z
2018-10-30T12:41:02.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...
34.484177
93
0.696706
Hacker0912
6bc210a3465b5cd4ef962cb2b8e18d8913cbf87a
6,724
cpp
C++
Coin3D/src/Inventor/Xt/devices/SoXtMouse.cpp
pniaz20/inventor-utils
2306b758b15bd1a0df3fb9bd250215b7bb7fac3f
[ "MIT" ]
null
null
null
Coin3D/src/Inventor/Xt/devices/SoXtMouse.cpp
pniaz20/inventor-utils
2306b758b15bd1a0df3fb9bd250215b7bb7fac3f
[ "MIT" ]
null
null
null
Coin3D/src/Inventor/Xt/devices/SoXtMouse.cpp
pniaz20/inventor-utils
2306b758b15bd1a0df3fb9bd250215b7bb7fac3f
[ "MIT" ]
null
null
null
/**************************************************************************\ * * This file is part of the Coin 3D visualization library. * Copyright (C) by Kongsberg Oil & Gas Technologies. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public ...
31.716981
103
0.644259
pniaz20
6bc2e5171220162347f5c4700c7a2e61d36db9f1
3,161
hpp
C++
libvast/vast/arrow_table_slice.hpp
frerich/vast
decac739ea4782ab91a1cee791ecd754b066419f
[ "BSD-3-Clause" ]
null
null
null
libvast/vast/arrow_table_slice.hpp
frerich/vast
decac739ea4782ab91a1cee791ecd754b066419f
[ "BSD-3-Clause" ]
null
null
null
libvast/vast/arrow_table_slice.hpp
frerich/vast
decac739ea4782ab91a1cee791ecd754b066419f
[ "BSD-3-Clause" ]
null
null
null
/****************************************************************************** * _ _____ __________ * * | | / / _ | / __/_ __/ Visibility * * | |/ / __ |_\ \ / / Across * ...
33.989247
80
0.53211
frerich
6bc422c93e0de3c9491a71ed7ac33d3810efeee0
2,022
cpp
C++
src/Example/project_WhiteBoxStudio/code/ModelTest/ObjectSerDef/_tagDirectoryInfoSetSoap_StructInfo.cpp
yds086/HereticOS-ObjectSystem
bdbf48bc3a5ef96c54b3d1652b90740c28c5cf49
[ "Apache-2.0" ]
5
2017-09-07T06:58:34.000Z
2021-07-21T08:41:26.000Z
src/Example/project_WhiteBoxStudio/code/ModelTest/ObjectSerDef/_tagDirectoryInfoSetSoap_StructInfo.cpp
yds086/HereticOS-ObjectSystem
bdbf48bc3a5ef96c54b3d1652b90740c28c5cf49
[ "Apache-2.0" ]
null
null
null
src/Example/project_WhiteBoxStudio/code/ModelTest/ObjectSerDef/_tagDirectoryInfoSetSoap_StructInfo.cpp
yds086/HereticOS-ObjectSystem
bdbf48bc3a5ef96c54b3d1652b90740c28c5cf49
[ "Apache-2.0" ]
2
2017-09-27T06:31:11.000Z
2020-05-13T12:29:58.000Z
#include "stdafx.h" #include "CommonTypeDef.h" #include "_tagDirectoryInfoSetSoap_StructInfo.h" Serialize__tagDirectoryInfoSetSoap::_Myt& Serialize__tagDirectoryInfoSetSoap::operator=(_tagDirectoryInfoSetSoap & _X) { SetData(_X); return *this; } void Serialize__tagDirectoryInfoSetSoap::GetData() { m_Val.ObjectNam...
27.324324
131
0.794263
yds086
6bc4970846db1d0b632b6bcc7c103ab94da08e19
5,003
cpp
C++
client/dll/offset.cpp
Nullptr-Archives/CSNS-SoftON-Hack
d68ee3c577181ef3b2910b413203aa9fc36e7c70
[ "MIT" ]
13
2021-03-14T11:34:29.000Z
2021-04-13T03:20:19.000Z
client/dll/offset.cpp
Nullptr-Archives/CSNS-SoftON-Hack
d68ee3c577181ef3b2910b413203aa9fc36e7c70
[ "MIT" ]
1
2021-03-26T17:03:50.000Z
2021-03-26T17:03:50.000Z
client/dll/offset.cpp
Nullptr-Archives/CSNS-SoftON-Hack
d68ee3c577181ef3b2910b413203aa9fc36e7c70
[ "MIT" ]
9
2021-03-14T11:35:19.000Z
2021-04-21T08:12:47.000Z
#include "offset.h" #include <unordered_map> #include "globals.h" #include "utils.h" // universal representation for game modules struct GameModule { DWORD start, end; GameModule() = default; // construct module with its start and end address GameModule(DWORD start_, DWORD end_) : start(start_...
30.693252
147
0.658605
Nullptr-Archives
6bc59a6e13328a2f0907c60638b45d5eb1a2b01c
1,773
hpp
C++
genfile/include/genfile/SNPDataSinkChain.hpp
gavinband/bingwa
d52e166b3bb6bc32cd32ba63bf8a4a147275eca1
[ "BSL-1.0" ]
3
2021-04-21T05:42:24.000Z
2022-01-26T14:59:43.000Z
genfile/include/genfile/SNPDataSinkChain.hpp
gavinband/bingwa
d52e166b3bb6bc32cd32ba63bf8a4a147275eca1
[ "BSL-1.0" ]
2
2020-04-09T16:11:04.000Z
2020-11-10T11:18:56.000Z
genfile/include/genfile/SNPDataSinkChain.hpp
gavinband/qctool
8d8adb45151c91f953fe4a9af00498073b1132ba
[ "BSL-1.0" ]
null
null
null
// Copyright Gavin Band 2008 - 2012. // 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 SNPDATAsinkCHAIN_HPP #define SNPDATAsinkCHAIN_HPP #include <iostream> #include <string> #includ...
26.462687
93
0.744501
gavinband
6bc60dd1c75c0af46927f6ff45b986130514f09c
544
cpp
C++
trace_server/dock/dock.cpp
mojmir-svoboda/DbgToolkit
590887987d0856032be906068a3103b6ce31d21c
[ "MIT" ]
null
null
null
trace_server/dock/dock.cpp
mojmir-svoboda/DbgToolkit
590887987d0856032be906068a3103b6ce31d21c
[ "MIT" ]
null
null
null
trace_server/dock/dock.cpp
mojmir-svoboda/DbgToolkit
590887987d0856032be906068a3103b6ce31d21c
[ "MIT" ]
null
null
null
#include "dock.h" #include <QCloseEvent> #include <QMainWindow> #include "mainwindow.h" #include "dockwidget.h" #include <QApplication> DockedWidgetBase::DockedWidgetBase (MainWindow * mw, QStringList const & path) : ActionAble(path) , m_main_window(mw) , m_dockwidget(0) { qDebug("%s this=0x%08x", __FUNCTION__, th...
21.76
78
0.738971
mojmir-svoboda
6bceede515f48fe461a8df7ab13cfb97ee20f3eb
1,743
cpp
C++
src/cckVec3.cpp
frmr/cck
0528157c6439057077547418c22e7977927c29f7
[ "MIT" ]
1
2015-10-02T17:00:18.000Z
2015-10-02T17:00:18.000Z
src/cckVec3.cpp
frmr/cck
0528157c6439057077547418c22e7977927c29f7
[ "MIT" ]
null
null
null
src/cckVec3.cpp
frmr/cck
0528157c6439057077547418c22e7977927c29f7
[ "MIT" ]
null
null
null
#include "cckVec3.h" #include "cckMath.h" #include <cmath> cck::GeoCoord cck::Vec3::ToGeographic() const { double lonRadians = atan2( y, x ); if ( lonRadians < -cck::pi ) { lonRadians += cck::twoPi; } else if ( lonRadians > cck::pi ) { lonRadians -= cck::twoPi; ...
19.58427
75
0.500287
frmr
6bcfbac38550d8b76a7e14d1c84c7987cff6c711
7,372
cpp
C++
src/planner/insert_plan.cpp
vittvolt/15721-peloton
3394c745ce5f3d71d1d71a09c700d5e367345e2e
[ "Apache-2.0" ]
7
2017-03-12T01:57:48.000Z
2022-03-16T12:44:07.000Z
src/planner/insert_plan.cpp
vittvolt/15721-peloton
3394c745ce5f3d71d1d71a09c700d5e367345e2e
[ "Apache-2.0" ]
null
null
null
src/planner/insert_plan.cpp
vittvolt/15721-peloton
3394c745ce5f3d71d1d71a09c700d5e367345e2e
[ "Apache-2.0" ]
2
2017-03-30T00:43:50.000Z
2021-07-21T06:27:44.000Z
//===----------------------------------------------------------------------===// // // PelotonDB // // insert_plan.cpp // // Identification: /peloton/src/planner/insert_plan.cpp // // Copyright (c) 2015, Carnegie Mellon University Database Group // //===-----------------------------------------...
37.42132
80
0.582339
vittvolt
6bd1f664608392956ecb975849d95fe25a09be4b
144
cpp
C++
src/app.cpp
overworks/MhGameLib
87973e29633ed09a3fa51eb27ea7fc8af5e9d71b
[ "MIT" ]
null
null
null
src/app.cpp
overworks/MhGameLib
87973e29633ed09a3fa51eb27ea7fc8af5e9d71b
[ "MIT" ]
null
null
null
src/app.cpp
overworks/MhGameLib
87973e29633ed09a3fa51eb27ea7fc8af5e9d71b
[ "MIT" ]
null
null
null
#include <mh/app.hpp> namespace Mh { App::App() : m_client_width(0), m_client_height(0), m_current_renderer(nullptr) {} App::~App() {} }
13.090909
70
0.652778
overworks
6bd2150707a370bf4806990ee933594e166545c9
19,085
hpp
C++
include/asioex/async.hpp
madmongo1/asio_experiments
4ed09b5fc1e3fe2597346d87cdcccc11f70d7d7f
[ "BSL-1.0" ]
1
2022-01-25T04:10:59.000Z
2022-01-25T04:10:59.000Z
include/asioex/async.hpp
madmongo1/asio_experiments
4ed09b5fc1e3fe2597346d87cdcccc11f70d7d7f
[ "BSL-1.0" ]
null
null
null
include/asioex/async.hpp
madmongo1/asio_experiments
4ed09b5fc1e3fe2597346d87cdcccc11f70d7d7f
[ "BSL-1.0" ]
null
null
null
// Copyright (c) 2022 Klemens D. Morgenstern // // 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 ASIO_EXPERIMENTS_ASYNC_HPP #define ASIO_EXPERIMENTS_ASYNC_HPP #include <asio/compose.hpp> #include <asio/post....
29.316436
135
0.599266
madmongo1
6bd67c6ee4af56160e99eb4384240e18ddaa27d0
3,491
cc
C++
chromium/ui/views/widget/desktop_widget_unittest.cc
wedataintelligence/vivaldi-source
22a46f2c969f6a0b7ca239a05575d1ea2738768c
[ "BSD-3-Clause" ]
27
2016-04-27T01:02:03.000Z
2021-12-13T08:53:19.000Z
chromium/ui/views/widget/desktop_widget_unittest.cc
wedataintelligence/vivaldi-source
22a46f2c969f6a0b7ca239a05575d1ea2738768c
[ "BSD-3-Clause" ]
2
2017-03-09T09:00:50.000Z
2017-09-21T15:48:20.000Z
chromium/ui/views/widget/desktop_widget_unittest.cc
wedataintelligence/vivaldi-source
22a46f2c969f6a0b7ca239a05575d1ea2738768c
[ "BSD-3-Clause" ]
17
2016-04-27T02:06:39.000Z
2019-12-18T08:07:00.000Z
// Copyright 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/views/test/views_test_base.h" #include "ui/views/test/widget_test.h" #include "ui/views/widget/widget.h" #include "ui/views/window/dialog_del...
42.573171
79
0.761386
wedataintelligence
6bd6b2d10da7b45da59bc08522f75daf082cae37
950
cpp
C++
src/rtcore/ICamera.cpp
potato3d/rtrt2
5c135c1aea0ded2898e16220cec5ed2860dcc9b3
[ "MIT" ]
1
2021-11-06T06:13:05.000Z
2021-11-06T06:13:05.000Z
src/rtcore/ICamera.cpp
potato3d/rtrt2
5c135c1aea0ded2898e16220cec5ed2860dcc9b3
[ "MIT" ]
null
null
null
src/rtcore/ICamera.cpp
potato3d/rtrt2
5c135c1aea0ded2898e16220cec5ed2860dcc9b3
[ "MIT" ]
null
null
null
#include <rti/ICamera.h> using namespace rti; void ICamera::translate( float x, float y, float z ) { // avoid warnings x;y;z; } void ICamera::rotate( float radians, uint32 axis ) { // avoid warnings radians;axis; } void ICamera::setLookAt( float eyeX, float eyeY, float eyeZ, float centerX, float center...
18.269231
67
0.670526
potato3d
6bd710168637674b6d3df69830b4e992e2140114
1,736
cpp
C++
test/main.cpp
tdegeus/VTKHighFive
c92a00a778f37432142f70075f2c736aedad7f5c
[ "MIT" ]
2
2021-02-21T21:23:11.000Z
2021-02-24T09:00:01.000Z
test/main.cpp
tdegeus/VTKHighFive
c92a00a778f37432142f70075f2c736aedad7f5c
[ "MIT" ]
6
2020-06-09T11:24:50.000Z
2021-02-22T13:37:17.000Z
test/main.cpp
tdegeus/VTKHighFive
c92a00a778f37432142f70075f2c736aedad7f5c
[ "MIT" ]
null
null
null
#define CATCH_CONFIG_MAIN // tells Catch to provide a main() - only do this in one cpp file #include <catch2/catch.hpp> #include <GooseFEM/GooseFEM.h> #include <highfive/H5Easy.hpp> #define XDMFWRITE_HIGHFIVE_INDENT 0 #include <XDMFWrite_HighFive.hpp> namespace xh = XDMFWrite_HighFive; TEST_CASE("XDMFWrite_HighFiv...
28.459016
92
0.554724
tdegeus
6bd7be057a7b8fc1ffa799e2aeb17f7b363b1d33
16,353
cpp
C++
src/ARIA/ArRangeBuffer.cpp
rzsavilla/Robot_PathPlanning
7ca805b917824ecaf8f12a950b1f77bd76ac5836
[ "MIT" ]
1
2018-10-13T02:50:25.000Z
2018-10-13T02:50:25.000Z
src/ARIA/ArRangeBuffer.cpp
rzsavilla/Robot_PathPlanning
7ca805b917824ecaf8f12a950b1f77bd76ac5836
[ "MIT" ]
null
null
null
src/ARIA/ArRangeBuffer.cpp
rzsavilla/Robot_PathPlanning
7ca805b917824ecaf8f12a950b1f77bd76ac5836
[ "MIT" ]
1
2018-10-13T02:50:26.000Z
2018-10-13T02:50:26.000Z
/* MobileRobots Advanced Robotics Interface for Applications (ARIA) Copyright (C) 2004, 2005 ActivMedia Robotics LLC Copyright (C) 2006, 2007, 2008, 2009 MobileRobots Inc. Copyright (C) 2010, 2011 Adept Technology, Inc. This program is free software; you can redistribute it and/or modify it under the terms o...
30.395911
131
0.699077
rzsavilla
6bd87ff8e4fc490d9868b273cdec7dd49e3c96c2
706
cc
C++
tensorflow/core/kernels/relu_op_gpu.cu.cc
vsilyaev/tensorflow
f41959ccb2d9d4c722fe8fc3351401d53bcf4900
[ "Apache-2.0" ]
4
2021-06-11T09:43:32.000Z
2021-11-17T11:15:52.000Z
tensorflow/core/kernels/relu_op_gpu.cu.cc
cleargraphinc/tensorflow
21fac39c471dede0e4ae62dd60e2b0b85db48415
[ "Apache-2.0" ]
null
null
null
tensorflow/core/kernels/relu_op_gpu.cu.cc
cleargraphinc/tensorflow
21fac39c471dede0e4ae62dd60e2b0b85db48415
[ "Apache-2.0" ]
2
2016-05-18T12:48:06.000Z
2019-03-30T03:56:31.000Z
#if GOOGLE_CUDA #define EIGEN_USE_GPU #include <stdio.h> #include "tensorflow/core/kernels/relu_op.h" #include "tensorflow/core/framework/register_types.h" #include "tensorflow/core/framework/tensor_types.h" namespace tensorflow { typedef Eigen::GpuDevice GPUDevice; // Definition of the GPU implementations decla...
25.214286
64
0.743626
vsilyaev
6bd9433f6e8f80ed996d8fc39bde31b6267e9efe
932
hpp
C++
includes/firework.hpp
Penaz91/firework_demo
4ec185583d1b3db2b147fb25557effdf3e49f66e
[ "Unlicense" ]
null
null
null
includes/firework.hpp
Penaz91/firework_demo
4ec185583d1b3db2b147fb25557effdf3e49f66e
[ "Unlicense" ]
null
null
null
includes/firework.hpp
Penaz91/firework_demo
4ec185583d1b3db2b147fb25557effdf3e49f66e
[ "Unlicense" ]
null
null
null
#ifndef FIREWORK_H #define FIREWORK_H #include<SFML/Graphics.hpp> #include<SFML/Audio.hpp> #include "particle.hpp" #include <cmath> #include <list> #include <vector> class Firework: public sf::Drawable { private: sf::Vector2f vDestination; sf::Vector2f vOrigin; sf::Vector2f vPosition; ...
26.628571
113
0.638412
Penaz91
6bda31de544e5c9f02f100ab88930531faa26073
1,186
cpp
C++
Framework/ML/Src/Datasets.cpp
TheJimmyGod/JimmyGod_Engine
b9752c6fbd9db17dc23f03330b5e4537bdcadf8e
[ "MIT" ]
null
null
null
Framework/ML/Src/Datasets.cpp
TheJimmyGod/JimmyGod_Engine
b9752c6fbd9db17dc23f03330b5e4537bdcadf8e
[ "MIT" ]
null
null
null
Framework/ML/Src/Datasets.cpp
TheJimmyGod/JimmyGod_Engine
b9752c6fbd9db17dc23f03330b5e4537bdcadf8e
[ "MIT" ]
null
null
null
#include "Precompiled.h" #include "Datasets.h" using namespace JimmyGod::ML; using namespace JimmyGod::Math; Dataset Datasets::MakeLinear(size_t samples, float b0, float b1, float minX, float maxX, float noise) { Dataset dataset; dataset.x0.reserve(samples); dataset.y.reserve(samples); for (size_t i ...
24.708333
114
0.652614
TheJimmyGod
6bda6936d265fff3d320b0b4ef4b7ffbe1d5f45c
11,098
cc
C++
spectator/http_client.cc
copperlight/spectatord
dfc0ec35bc027d090f1d71a3f067fe164ef84b56
[ "Apache-2.0" ]
null
null
null
spectator/http_client.cc
copperlight/spectatord
dfc0ec35bc027d090f1d71a3f067fe164ef84b56
[ "Apache-2.0" ]
null
null
null
spectator/http_client.cc
copperlight/spectatord
dfc0ec35bc027d090f1d71a3f067fe164ef84b56
[ "Apache-2.0" ]
null
null
null
#include "http_client.h" #include "gzip.h" #include "log_entry.h" #include "version.h" #include <algorithm> #include <utility> #include <curl/curl.h> namespace spectator { class CurlHeaders { public: CurlHeaders() = default; ~CurlHeaders() { curl_slist_free_all(list_); } CurlHeaders(const CurlHeaders&) = dele...
31.439093
80
0.66138
copperlight
6bdba0acdd1a4fda91ae31329a1dc36cdf6581c3
6,737
cpp
C++
src/bin/license_checker/callback.cpp
opengauss-mirror/openGauss-graph
6beb138fd00abdbfddc999919f90371522118008
[ "MulanPSL-1.0" ]
360
2020-06-30T14:47:34.000Z
2022-03-31T15:21:53.000Z
src/bin/license_checker/callback.cpp
opengauss-mirror/openGauss-graph
6beb138fd00abdbfddc999919f90371522118008
[ "MulanPSL-1.0" ]
4
2020-06-30T15:09:16.000Z
2020-07-14T06:20:03.000Z
src/bin/license_checker/callback.cpp
opengauss-mirror/openGauss-graph
6beb138fd00abdbfddc999919f90371522118008
[ "MulanPSL-1.0" ]
133
2020-06-30T14:47:36.000Z
2022-03-25T15:29:00.000Z
/* * Copyright (c) 2020 Huawei Technologies Co.,Ltd. * * openGauss is licensed under Mulan PSL v2. * You can use this software according to the terms and conditions of the Mulan PSL v2. * You may obtain a copy of Mulan PSL v2 at: * * http://license.coscl.org.cn/MulanPSL2 * * THIS SOFTWARE IS PROVIDED ...
33.517413
112
0.464895
opengauss-mirror
6bdc38145a33e2bce6e327a72f86e72f4dbde44d
1,961
hpp
C++
examples/toy/bnsl_state.hpp
kp1181/scool
296cd49a0d62de609d681b3ec3d7019b3d2c7c30
[ "MIT" ]
1
2022-03-14T05:23:51.000Z
2022-03-14T05:23:51.000Z
examples/toy/bnsl_state.hpp
kp1181/scool
296cd49a0d62de609d681b3ec3d7019b3d2c7c30
[ "MIT" ]
null
null
null
examples/toy/bnsl_state.hpp
kp1181/scool
296cd49a0d62de609d681b3ec3d7019b3d2c7c30
[ "MIT" ]
null
null
null
/*** * $Id$ ** * File: bnsl_state.hpp * Created: Jan 13, 2022 * * Author: Jaroslaw Zola <jaroslaw.zola@hush.com> * Distributed under the MIT License. * See accompanying file LICENSE. * * This file is part of SCoOL. */ #ifndef BNSL_STATE_HPP #define BNSL_STATE_HPP #include <istream> #include <ostream...
26.863014
83
0.627231
kp1181
6be3d1104b8a3558401ebea570dab62f6a9821fd
5,740
cpp
C++
nifti_user/ogre_tools_diamond_back/src/ogre_tools/fps_camera.cpp
talkingrobots/NIFTi_OCU
017a36cd98f4302ebcd0f024a6c0c517b044bac7
[ "BSD-3-Clause" ]
1
2019-08-14T09:59:21.000Z
2019-08-14T09:59:21.000Z
nifti_user/ogre_tools_diamond_back/src/ogre_tools/fps_camera.cpp
talkingrobots/NIFTi_OCU
017a36cd98f4302ebcd0f024a6c0c517b044bac7
[ "BSD-3-Clause" ]
null
null
null
nifti_user/ogre_tools_diamond_back/src/ogre_tools/fps_camera.cpp
talkingrobots/NIFTi_OCU
017a36cd98f4302ebcd0f024a6c0c517b044bac7
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2008, Willow Garage, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright * notice, this l...
23.52459
136
0.676481
talkingrobots
6be4cd9a50a13a41540512bd06b0f1974356c5b7
5,376
cpp
C++
3rdparty/meshlab-master/src/sampleplugins/sample_pclfilter/sample_pclfilter.cpp
HoEmpire/slambook2
96d360f32aa5d8b5c5dcbbf9ee7ba865e84409f4
[ "MIT" ]
4
2016-03-30T14:31:52.000Z
2019-02-02T05:01:32.000Z
graphics/meshlab/src/sampleplugins/sample_pclfilter/sample_pclfilter.cpp
hlzz/dotfiles
0591f71230c919c827ba569099eb3b75897e163e
[ "BSD-3-Clause" ]
null
null
null
graphics/meshlab/src/sampleplugins/sample_pclfilter/sample_pclfilter.cpp
hlzz/dotfiles
0591f71230c919c827ba569099eb3b75897e163e
[ "BSD-3-Clause" ]
null
null
null
/**************************************************************************** * MeshLab o o * * A versatile mesh processing toolbox o o * * _ O _ * * Co...
40.727273
157
0.56622
HoEmpire
6be5bdf8ee06389987bc2aec558020fc8ab87a24
270
hpp
C++
gnet/include/noncopyable.hpp
gapry/GNet
4d63540e1f532fae1a44a97f9b2d74a6754f2513
[ "MIT" ]
1
2021-05-19T03:56:47.000Z
2021-05-19T03:56:47.000Z
gnet/include/noncopyable.hpp
gapry/GNet
4d63540e1f532fae1a44a97f9b2d74a6754f2513
[ "MIT" ]
null
null
null
gnet/include/noncopyable.hpp
gapry/GNet
4d63540e1f532fae1a44a97f9b2d74a6754f2513
[ "MIT" ]
null
null
null
#pragma once namespace gnet { template<class T> class noncopyable { protected: noncopyable() = default; ~noncopyable() noexcept = default; private: noncopyable(noncopyable const&) = delete; auto operator=(T const&) -> void = delete; }; } // namespace gnet
14.210526
44
0.692593
gapry
6be829fa560ac84566ad8005667e51f92788d306
3,795
cpp
C++
Core/src/DoubleBufferWithAllocs.cpp
int-Frank/BSR
16310147281c76ca37836b07aff2974234e09a47
[ "Apache-2.0" ]
1
2020-01-04T20:17:42.000Z
2020-01-04T20:17:42.000Z
Core/src/DoubleBufferWithAllocs.cpp
int-Frank/BSR
16310147281c76ca37836b07aff2974234e09a47
[ "Apache-2.0" ]
null
null
null
Core/src/DoubleBufferWithAllocs.cpp
int-Frank/BSR
16310147281c76ca37836b07aff2974234e09a47
[ "Apache-2.0" ]
null
null
null
#include "DoubleBufferWithAllocs.h" //------------------------------------------------------------------------------------------ // DoubleBufferWithAllocs::Ref //------------------------------------------------------------------------------------------ DoubleBufferWithAllocs::Ref::Ref() : m_nProdRefs(nullptr) , m...
22.861446
92
0.637418
int-Frank
6be89af3018eb4f867beea416f18d83030109bd9
236
cpp
C++
chapter-11/11.21.cpp
zero4drift/Cpp-Primer-5th-Exercises
d3d0f0d228e8c2c5a3b3fe1fd03ce34e0894e93f
[ "MIT" ]
null
null
null
chapter-11/11.21.cpp
zero4drift/Cpp-Primer-5th-Exercises
d3d0f0d228e8c2c5a3b3fe1fd03ce34e0894e93f
[ "MIT" ]
null
null
null
chapter-11/11.21.cpp
zero4drift/Cpp-Primer-5th-Exercises
d3d0f0d228e8c2c5a3b3fe1fd03ce34e0894e93f
[ "MIT" ]
null
null
null
// map<string, size_t> word_count // string word // while(cin >> word) ++word_count.insert({word, 0}).first->second; // see the privileges of operators in P147 // while(cin >> word) ++((((word_count.insert)({word, 0})).first)->second)
33.714286
74
0.661017
zero4drift
6bf0bb379c365859d6061f42d6779c6c8348871b
259
hpp
C++
legacy/include/distconv/tensor/stream.hpp
benson31/DiHydrogen
f12d1e0281ae58e40eadf98b3e2209208c82f5e2
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
legacy/include/distconv/tensor/stream.hpp
benson31/DiHydrogen
f12d1e0281ae58e40eadf98b3e2209208c82f5e2
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
legacy/include/distconv/tensor/stream.hpp
benson31/DiHydrogen
f12d1e0281ae58e40eadf98b3e2209208c82f5e2
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
#pragma once namespace distconv { namespace tensor { template <typename Allocator> struct Stream; struct DefaultStream { DefaultStream() = default; DefaultStream(int v) {} static DefaultStream value; }; } // namespace tensro } // namespae distconv
14.388889
29
0.733591
benson31
6bf3f4b4e1214252547d37aa3bf1d9163f695b8b
254
cpp
C++
day-10-4-1.cpp
duasong111/c_lang_learn
4a939204a9d12a1fd0a6ca4ff36ed3bfdfb97482
[ "BSD-2-Clause" ]
null
null
null
day-10-4-1.cpp
duasong111/c_lang_learn
4a939204a9d12a1fd0a6ca4ff36ed3bfdfb97482
[ "BSD-2-Clause" ]
null
null
null
day-10-4-1.cpp
duasong111/c_lang_learn
4a939204a9d12a1fd0a6ca4ff36ed3bfdfb97482
[ "BSD-2-Clause" ]
null
null
null
//字符串数组 #include <stdio.h> int main(void) { int i; char cs[][6] = { "turbo","naaaa","dohc" }; //此处的数组[6]则是限制括号内的数字 for (i = 0; i < 3; i++) printf("cs[%d] = \"%s\"\n", i, cs[i]); //其实那个\"%s\"的作用就是为了多出 " "的,因为单个斜杠不显示 return 0; }
19.538462
44
0.488189
duasong111
6bf56b249cc3bc231b7d3a2df80328da24fb04d7
7,718
cpp
C++
src/fileutils.cpp
sdclarke/recc
df8e1dd3c9b5e9d1a46ebdc4f74dce0241a3cb1b
[ "Apache-2.0" ]
null
null
null
src/fileutils.cpp
sdclarke/recc
df8e1dd3c9b5e9d1a46ebdc4f74dce0241a3cb1b
[ "Apache-2.0" ]
null
null
null
src/fileutils.cpp
sdclarke/recc
df8e1dd3c9b5e9d1a46ebdc4f74dce0241a3cb1b
[ "Apache-2.0" ]
null
null
null
// Copyright 2018 Bloomberg Finance L.P // // 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 agr...
29.346008
78
0.570744
sdclarke
6bf8fca4274fc3f829148363b44e5efb165ce604
8,476
cc
C++
modules/task_1/danshin_g_matrix_max_by_rows/main.cc
Gekata-2/pp_2021_autumn
caeac9a213e9b0c9fe1ed877d43d1eae5a1bb2cf
[ "BSD-3-Clause" ]
1
2021-12-09T17:20:25.000Z
2021-12-09T17:20:25.000Z
modules/task_1/danshin_g_matrix_max_by_rows/main.cc
Gekata-2/pp_2021_autumn
caeac9a213e9b0c9fe1ed877d43d1eae5a1bb2cf
[ "BSD-3-Clause" ]
null
null
null
modules/task_1/danshin_g_matrix_max_by_rows/main.cc
Gekata-2/pp_2021_autumn
caeac9a213e9b0c9fe1ed877d43d1eae5a1bb2cf
[ "BSD-3-Clause" ]
3
2022-02-23T14:20:50.000Z
2022-03-30T09:00:02.000Z
// Copyright 2021 Gleb "belgad" Danshin #include <gtest/gtest.h> #include <cstring> #include "../../../modules/task_1/danshin_g_matrix_max_by_rows/matrix_max_by_rows.h" #include <gtest-mpi-listener.hpp> TEST(DanshinGMatrixMaxByRow, ConstMatrixSize5x5) { int rank; MPI_Comm_rank(MPI_COMM_WORLD, &rank); int *...
36.068085
101
0.604412
Gekata-2
6bfb55de8e0dcf938ed071f55e5f640d3bed28e7
995
cxx
C++
panda/src/express/p3express_composite1.cxx
cmarshall108/panda3d-python3
8bea2c0c120b03ec1c9fd179701fdeb7510bb97b
[ "PHP-3.0", "PHP-3.01" ]
3
2018-03-09T12:07:29.000Z
2021-02-25T06:50:25.000Z
panda/src/express/p3express_composite1.cxx
cmarshall108/panda3d-python3
8bea2c0c120b03ec1c9fd179701fdeb7510bb97b
[ "PHP-3.0", "PHP-3.01" ]
null
null
null
panda/src/express/p3express_composite1.cxx
cmarshall108/panda3d-python3
8bea2c0c120b03ec1c9fd179701fdeb7510bb97b
[ "PHP-3.0", "PHP-3.01" ]
null
null
null
#include "buffer.cxx" #include "checksumHashGenerator.cxx" #include "config_express.cxx" #include "compress_string.cxx" #include "copy_stream.cxx" #include "datagram.cxx" #include "datagramGenerator.cxx" #include "datagramIterator.cxx" #include "datagramSink.cxx" #include "dcast.cxx" #include "encrypt_string.cxx" #incl...
28.428571
40
0.794975
cmarshall108
6bfee5ce76617eed17113adf139adbd41ca03e6b
1,405
hh
C++
src/bugengine/meta/include/builtin-ubytex.script.hh
bugengine/BugEngine
1b3831d494ee06b0bd74a8227c939dd774b91226
[ "BSD-3-Clause" ]
4
2015-05-13T16:28:36.000Z
2017-05-24T15:34:14.000Z
src/bugengine/meta/include/builtin-ubytex.script.hh
bugengine/BugEngine
1b3831d494ee06b0bd74a8227c939dd774b91226
[ "BSD-3-Clause" ]
null
null
null
src/bugengine/meta/include/builtin-ubytex.script.hh
bugengine/BugEngine
1b3831d494ee06b0bd74a8227c939dd774b91226
[ "BSD-3-Clause" ]
1
2017-03-21T08:28:07.000Z
2017-03-21T08:28:07.000Z
/* BugEngine <bugengine.devel@gmail.com> see LICENSE for detail */ #ifndef BE_META_BUILTIN_UBYTEX_SCRIPT_HH_ #define BE_META_BUILTIN_UBYTEX_SCRIPT_HH_ /**************************************************************************************************/ #include <bugengine/meta/stdafx.h> #include <bugengine/meta/buil...
23.032787
100
0.579359
bugengine
6bffc1817191a100adbdbd8d9e9fc9f454789e06
10,343
cpp
C++
includes/textureLoading.cpp
MuUusta/Hello-GFX
c707570207a2db638458352c2de6c03bce5a6759
[ "MIT" ]
2
2019-05-20T11:12:07.000Z
2021-03-25T04:24:57.000Z
includes/textureLoading.cpp
MuUusta/Hello-GFX
c707570207a2db638458352c2de6c03bce5a6759
[ "MIT" ]
null
null
null
includes/textureLoading.cpp
MuUusta/Hello-GFX
c707570207a2db638458352c2de6c03bce5a6759
[ "MIT" ]
null
null
null
#include <textureLoading.h> #define STB_IMAGE_IMPLEMENTATION #include <stb_image.h> static unsigned int getint(FILE *fp) { int c, c1, c2, c3; // get 4 bytes c = getc(fp); c1 = getc(fp); c2 = getc(fp); c3 = getc(fp); return ((unsigned int) c) + (((unsigned int) c1) << 8) + (((unsigned int) c2) << 16...
34.023026
246
0.685101
MuUusta
d4031270386dc644c650974438d059ec12860c2d
666
cpp
C++
solutions/25.reverse-nodes-in-k-group.228894559.ac.cpp
satu0king/Leetcode-Solutions
2edff60d76c2898d912197044f6284efeeb34119
[ "MIT" ]
78
2020-10-22T11:31:53.000Z
2022-02-22T13:27:49.000Z
solutions/25.reverse-nodes-in-k-group.228894559.ac.cpp
satu0king/Leetcode-Solutions
2edff60d76c2898d912197044f6284efeeb34119
[ "MIT" ]
null
null
null
solutions/25.reverse-nodes-in-k-group.228894559.ac.cpp
satu0king/Leetcode-Solutions
2edff60d76c2898d912197044f6284efeeb34119
[ "MIT" ]
26
2020-10-23T15:10:44.000Z
2021-11-07T16:13:50.000Z
/** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode(int x) : val(x), next(NULL) {} * }; */ class Solution { public: ListNode *reverseKGroup(ListNode *head, int k) { int c = k; ListNode *temp = head; while (c && temp) { c--; t...
16.65
50
0.493994
satu0king
d4038ade082441b5b466d996370b16dd01f5ce14
5,006
cpp
C++
pwiz/data/vendor_readers/Waters/Reader_Waters_Detail.cpp
austinkeller/pwiz
aa8e575cb40fd5e97cc7d922e4d8da44c9277cca
[ "Apache-2.0" ]
null
null
null
pwiz/data/vendor_readers/Waters/Reader_Waters_Detail.cpp
austinkeller/pwiz
aa8e575cb40fd5e97cc7d922e4d8da44c9277cca
[ "Apache-2.0" ]
null
null
null
pwiz/data/vendor_readers/Waters/Reader_Waters_Detail.cpp
austinkeller/pwiz
aa8e575cb40fd5e97cc7d922e4d8da44c9277cca
[ "Apache-2.0" ]
null
null
null
// // $Id$ // // // Original author: Matt Chambers <matt.chambers .@. vanderbilt.edu> // // Copyright 2009 Vanderbilt University - Nashville, TN 37232 // // 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 c...
29.621302
100
0.628046
austinkeller
d4056c16701e69db4fbd6b7b219e5fbbe02b674d
3,358
cpp
C++
qt-ticket/src/useruletablemodel.cpp
waitWindComing/QT
c8401679b7265785ec8c7e97eea7e1e37631f37d
[ "Apache-2.0" ]
null
null
null
qt-ticket/src/useruletablemodel.cpp
waitWindComing/QT
c8401679b7265785ec8c7e97eea7e1e37631f37d
[ "Apache-2.0" ]
null
null
null
qt-ticket/src/useruletablemodel.cpp
waitWindComing/QT
c8401679b7265785ec8c7e97eea7e1e37631f37d
[ "Apache-2.0" ]
null
null
null
#include "useruletablemodel.h" #include <qDebug> UseRuleTableModel::UseRuleTableModel(const QList<UseRule *> &useRules, QObject* parent) :_useRules(useRules), QAbstractTableModel(parent) { _header << trUtf8("名称") << trUtf8("最低消费") << trUtf8("最大抵扣") << trUtf8("类型") << trUtf8("信息") << trUtf8("选择"); } int U...
29.45614
112
0.581298
waitWindComing