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
8c7e47df1030eb78c17af1231ce1eb25253e7c85
20,552
cpp
C++
test/src/tc/pm/gtest/csdk/src/btc/PMCsdkCertTest.cpp
jonghenhan/iotivity
7dfc2bc6a5c0506cf88bc23e88e38fe1b795da31
[ "Apache-2.0" ]
301
2015-01-20T16:11:32.000Z
2021-11-25T04:29:36.000Z
test/src/tc/pm/gtest/csdk/src/btc/PMCsdkCertTest.cpp
jonghenhan/iotivity
7dfc2bc6a5c0506cf88bc23e88e38fe1b795da31
[ "Apache-2.0" ]
13
2015-06-04T09:55:15.000Z
2020-09-23T00:38:07.000Z
test/src/tc/pm/gtest/csdk/src/btc/PMCsdkCertTest.cpp
jonghenhan/iotivity
7dfc2bc6a5c0506cf88bc23e88e38fe1b795da31
[ "Apache-2.0" ]
233
2015-01-26T03:41:59.000Z
2022-03-18T23:54:04.000Z
/****************************************************************** * * Copyright 2016 Samsung Electronics 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 * ...
43.542373
147
0.700905
jonghenhan
8c827a3acfa11b8d4421ffcd52b263ad714ba17e
504
cpp
C++
a17/dispatch/topic.cpp
SRI-IPS/general-tools
b3113cbcf83c3a430c630d050d1b96e722dfb043
[ "BSD-3-Clause" ]
null
null
null
a17/dispatch/topic.cpp
SRI-IPS/general-tools
b3113cbcf83c3a430c630d050d1b96e722dfb043
[ "BSD-3-Clause" ]
null
null
null
a17/dispatch/topic.cpp
SRI-IPS/general-tools
b3113cbcf83c3a430c630d050d1b96e722dfb043
[ "BSD-3-Clause" ]
null
null
null
#include "topic.h" namespace a17 { namespace dispatch { std::string Topic::str() const { auto str = std::string{""}; if (!device_name.empty()) { str.append(device_name); } if (!node_name.empty()) { if (!str.empty() && str.back() != '/') { str.append("/"); } str.append(node_name); } i...
18
44
0.531746
SRI-IPS
8c83556c0aa9a4d923a0b62fae6c8681b0504e1b
429
hpp
C++
src/wire/wire2lua/generate_options.hpp
zmij/wire
9981eb9ea182fc49ef7243eed26b9d37be70a395
[ "Artistic-2.0" ]
5
2016-04-07T19:49:39.000Z
2021-08-03T05:24:11.000Z
src/wire/wire2lua/generate_options.hpp
zmij/wire
9981eb9ea182fc49ef7243eed26b9d37be70a395
[ "Artistic-2.0" ]
null
null
null
src/wire/wire2lua/generate_options.hpp
zmij/wire
9981eb9ea182fc49ef7243eed26b9d37be70a395
[ "Artistic-2.0" ]
1
2020-12-27T11:47:31.000Z
2020-12-27T11:47:31.000Z
/* * generate_options.hpp * * Created on: May 13, 2016 * Author: zmij */ #ifndef WIRE_WIRE2LUA_GENERATE_OPTIONS_HPP_ #define WIRE_WIRE2LUA_GENERATE_OPTIONS_HPP_ #include <string> namespace wire { namespace idl { namespace lua { struct generate_options { ::std::string target_file; }; } /* namespa...
14.793103
48
0.694639
zmij
8c84768841166dad2649cf110ad5c9cd34c08bf9
1,507
cpp
C++
ceres_test/curve_fitting.cpp
HeadReaper-hc/mystudy-and-test
4220093304592237a0d9ab56d610206ded89ffe7
[ "MIT" ]
null
null
null
ceres_test/curve_fitting.cpp
HeadReaper-hc/mystudy-and-test
4220093304592237a0d9ab56d610206ded89ffe7
[ "MIT" ]
null
null
null
ceres_test/curve_fitting.cpp
HeadReaper-hc/mystudy-and-test
4220093304592237a0d9ab56d610206ded89ffe7
[ "MIT" ]
null
null
null
#include <iostream> #include <stdlib.h> #include <math.h> #include <ceres/ceres.h> #include <vector> using namespace std; using namespace ceres; struct CostFunctor { CostFunctor(double observed_x , double observed_y):_observed_x(observed_x),_observed_y(observed_y){} template <typename T> bool operator()(cons...
25.116667
103
0.606503
HeadReaper-hc
8c851d86924779f46c92fcd7497a8202579ea6a9
498
cpp
C++
tests/demo.cpp
KingsleyXie/IntroDB
7c73290145c35ee31b94eae7d59000d73b9403ec
[ "MIT" ]
null
null
null
tests/demo.cpp
KingsleyXie/IntroDB
7c73290145c35ee31b94eae7d59000d73b9403ec
[ "MIT" ]
null
null
null
tests/demo.cpp
KingsleyXie/IntroDB
7c73290145c35ee31b94eae7d59000d73b9403ec
[ "MIT" ]
null
null
null
#define CATCH_CONFIG_MAIN #include "../dependency/catch.hpp" unsigned int Factorial( unsigned int number ) { if (number == 0) throw "excep"; return number <= 1 ? number : Factorial(number-1)*number; } TEST_CASE( "Factorials are computed", "[factorial]" ) { SECTION( "Exception" ) { REQUIRE_THROWS( Factorial(0),...
22.636364
58
0.644578
KingsleyXie
8c86bfdba89670c1d6c6e6701eee93740fa2e751
7,460
cxx
C++
StRoot/StEEmcPool/LCP/StGeant2LcpTreeMaker.cxx
xiaohaijin/RHIC-STAR
a305cb0a6ac15c8165bd8f0d074d7075d5e58752
[ "MIT" ]
2
2018-12-24T19:37:00.000Z
2022-02-28T06:57:20.000Z
StRoot/StEEmcPool/LCP/StGeant2LcpTreeMaker.cxx
xiaohaijin/RHIC-STAR
a305cb0a6ac15c8165bd8f0d074d7075d5e58752
[ "MIT" ]
null
null
null
StRoot/StEEmcPool/LCP/StGeant2LcpTreeMaker.cxx
xiaohaijin/RHIC-STAR
a305cb0a6ac15c8165bd8f0d074d7075d5e58752
[ "MIT" ]
null
null
null
// *-- Author : Jan Balewski // // $Id: StGeant2LcpTreeMaker.cxx,v 1.4 2007/07/12 19:24:55 fisyak Exp $ #include <math.h> #include <TFile.h> #include <TH2.h> #include "StGeant2LcpTreeMaker.h" #include "TChain.h" #include "TClonesArray.h" #include "StEventInfo.h" #include "StMuDSTMaker/COMMON/StMuEvent.h" #include ...
26.642857
160
0.618231
xiaohaijin
8c886a2a571dbcd71d63c516583be8dfd082b872
2,612
hpp
C++
include/utility/EventType.hpp
benhj/KnoxCrypt
41d2c2518fb42728a5a07f6de43682bf881ec77e
[ "BSD-3-Clause" ]
21
2016-08-24T04:48:43.000Z
2021-12-21T18:41:00.000Z
include/utility/EventType.hpp
benhj/KnoxCrypt
41d2c2518fb42728a5a07f6de43682bf881ec77e
[ "BSD-3-Clause" ]
2
2016-02-16T16:20:12.000Z
2016-02-27T16:51:14.000Z
include/utility/EventType.hpp
benhj/KnoxCrypt
41d2c2518fb42728a5a07f6de43682bf881ec77e
[ "BSD-3-Clause" ]
3
2016-09-15T17:29:58.000Z
2021-04-26T21:59:07.000Z
/* Copyright (c) <2014-2015>, <BenHJ> 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 and th...
52.24
85
0.672665
benhj
8c8ca008978b8807ba1c0c050f2526089ea5cf36
7,096
hpp
C++
include/IteratorRecognition/Analysis/GraphUpdater.hpp
robcasloz/IteratorRecognition
fa1a1e67c36cde3639ac40528228ae85e54e3b13
[ "MIT" ]
null
null
null
include/IteratorRecognition/Analysis/GraphUpdater.hpp
robcasloz/IteratorRecognition
fa1a1e67c36cde3639ac40528228ae85e54e3b13
[ "MIT" ]
6
2019-05-29T21:11:03.000Z
2021-07-01T10:47:02.000Z
include/IteratorRecognition/Analysis/GraphUpdater.hpp
robcasloz/IteratorRecognition
fa1a1e67c36cde3639ac40528228ae85e54e3b13
[ "MIT" ]
1
2019-05-13T11:55:39.000Z
2019-05-13T11:55:39.000Z
// // // #pragma once #include "IteratorRecognition/Config.hpp" #include "IteratorRecognition/Analysis/IteratorValueTracking.hpp" #include "IteratorRecognition/Support/Utils/StringConversion.hpp" #include "Pedigree/Analysis/Hazards.hpp" #include "llvm/Support/JSON.h" // using json::Value // using json::Object #i...
28.963265
80
0.654594
robcasloz
8c8fe7c6ec689f8dfdf0c4748e1c408ac3949bad
3,153
cpp
C++
src/model/WxToolbarPanel.cpp
xzrunner/easyone
c6cc33585a3a5affd44e51938a1bae5b146ab7af
[ "MIT" ]
1
2020-07-07T07:14:01.000Z
2020-07-07T07:14:01.000Z
src/model/WxToolbarPanel.cpp
xzrunner/easyone
c6cc33585a3a5affd44e51938a1bae5b146ab7af
[ "MIT" ]
null
null
null
src/model/WxToolbarPanel.cpp
xzrunner/easyone
c6cc33585a3a5affd44e51938a1bae5b146ab7af
[ "MIT" ]
null
null
null
#include "model/WxToolbarPanel.h" #ifdef MODULE_MODEL #include "model/WxStagePage.h" #include <ee0/SubjectMgr.h> #include <ee0/WxImageVList.h> #include <ee0/WxLibraryItem.h> #include <ee3/WxSkeletalTreeCtrl.h> #include <node0/SceneNode.h> #include <node3/CompModelInst.h> #include <model/Model.h> #include <model/Mod...
23.183824
99
0.68633
xzrunner
8c93b6455389186169e1ba624b7979eefda443b9
1,221
cpp
C++
Contest/Qualification Round Oct 2010/dinner.cpp
felikjunvianto/kfile-usaco-submissions
d4afdc0cbde7e19f09afc70c4b02d4bc5992696d
[ "MIT" ]
null
null
null
Contest/Qualification Round Oct 2010/dinner.cpp
felikjunvianto/kfile-usaco-submissions
d4afdc0cbde7e19f09afc70c4b02d4bc5992696d
[ "MIT" ]
null
null
null
Contest/Qualification Round Oct 2010/dinner.cpp
felikjunvianto/kfile-usaco-submissions
d4afdc0cbde7e19f09afc70c4b02d4bc5992696d
[ "MIT" ]
null
null
null
/* PROG: dinner LANG: C++ ID: felikju1 */ #include <cstdio> #include <iostream> #include <string> #include <cstring> #include <utility> #include <algorithm> #define fi first #define se second using namespace std; pair < long long, long long > sapi[1100]; pair < long long, long long > meja[1100...
17.442857
79
0.579853
felikjunvianto
8c9636a4b960d08ccfae43c943340ba100c1e262
1,236
cc
C++
app/run_mapping_online.cc
xiaotaw/faster-lio
ff0c9092989da5dc3f1f66e798915d648b31b695
[ "MIT" ]
null
null
null
app/run_mapping_online.cc
xiaotaw/faster-lio
ff0c9092989da5dc3f1f66e798915d648b31b695
[ "MIT" ]
null
null
null
app/run_mapping_online.cc
xiaotaw/faster-lio
ff0c9092989da5dc3f1f66e798915d648b31b695
[ "MIT" ]
null
null
null
// // Created by xiang on 2021/10/8. // #include <gflags/gflags.h> #include <unistd.h> #include <csignal> #include "laser_mapping.h" /// run the lidar mapping in online mode DEFINE_string(traj_log_file, "./Log/traj.txt", "path to traj log file"); void SigHandle(int sig) { faster_lio::options::FLAG_EXIT = true; ...
24.235294
75
0.644822
xiaotaw
8c96b6b8d78cc49c8dc3ca8b1b93021797ce1c74
1,817
cpp
C++
lib/protobuf/qml/server_method.cpp
pauldotknopf/protobuf-qml
e10f46567344738563140e8f06d5a2569b961d06
[ "MIT" ]
56
2015-05-14T16:00:43.000Z
2022-02-11T20:25:36.000Z
lib/protobuf/qml/server_method.cpp
pauldotknopf/protobuf-qml
e10f46567344738563140e8f06d5a2569b961d06
[ "MIT" ]
19
2015-05-11T14:50:33.000Z
2018-09-06T05:45:34.000Z
lib/protobuf/qml/server_method.cpp
pauldotknopf/protobuf-qml
e10f46567344738563140e8f06d5a2569b961d06
[ "MIT" ]
16
2015-10-29T13:25:48.000Z
2021-06-30T18:34:32.000Z
#include "protobuf/qml/server_method.h" #include <private/qv4arrayobject_p.h> #include <private/qv4scopedvalue_p.h> using namespace QV4; namespace protobuf { namespace qml { void ServerMethodHolder::respond(QQmlV4Function* args) { if (!impl()) { qWarning() << "Server method is not initialized."; args->set...
25.236111
79
0.598239
pauldotknopf
8c9bd8c59c2be336d4bf321d13f63e4b09e0ab4b
1,824
hh
C++
srcs/algorithm/Simulation.hh
JeremyPouyet/equation_finder
bac228b7aeb720c083c4d673545573b65e42e784
[ "BSD-3-Clause" ]
null
null
null
srcs/algorithm/Simulation.hh
JeremyPouyet/equation_finder
bac228b7aeb720c083c4d673545573b65e42e784
[ "BSD-3-Clause" ]
null
null
null
srcs/algorithm/Simulation.hh
JeremyPouyet/equation_finder
bac228b7aeb720c083c4d673545573b65e42e784
[ "BSD-3-Clause" ]
null
null
null
#pragma once #include <string> #include <iostream> #include "AProblem.hh" #include "Config.hh" #include "Population.hh" #include "Display.hpp" #include "Chrono.hpp" #include "DynamicLoader.hpp" class Simulation { public: Simulation(); /** * Initialise the simulation * @param ac, command line p...
25.333333
82
0.648026
JeremyPouyet
8c9c094c9a7247ac578d2f9050891faa0a715e85
1,364
cpp
C++
brian2/codegen/runtime/weave_rt/templates/lumped_variable.cpp
divyashivaram/brian2
ac086e478efa50be772c6cee55b52b43018bc77a
[ "BSD-2-Clause" ]
1
2019-12-25T16:33:37.000Z
2019-12-25T16:33:37.000Z
brian2/codegen/runtime/weave_rt/templates/lumped_variable.cpp
divyashivaram/brian2
ac086e478efa50be772c6cee55b52b43018bc77a
[ "BSD-2-Clause" ]
null
null
null
brian2/codegen/runtime/weave_rt/templates/lumped_variable.cpp
divyashivaram/brian2
ac086e478efa50be772c6cee55b52b43018bc77a
[ "BSD-2-Clause" ]
null
null
null
//////////////////////////////////////////////////////////////////////////// //// MAIN CODE ///////////////////////////////////////////////////////////// {% macro main() %} // USES_VARIABLES { _synaptic_post, _synaptic_pre, _num_target_neurons } ////// HANDLE DENORMALS /// {% for line in denormals_code_lines %...
27.836735
76
0.502933
divyashivaram
8ca3aba8c8312b563ce5db9432626ec50cbf5601
21,269
cpp
C++
exploitimpl.cpp
smalltong02/Bruce-Ma
2ee9455635af9f0300f53781382de88d3ef99003
[ "MIT" ]
1
2021-06-22T04:41:41.000Z
2021-06-22T04:41:41.000Z
exploitimpl.cpp
smalltong02/Bruce-Ma
2ee9455635af9f0300f53781382de88d3ef99003
[ "MIT" ]
1
2021-02-23T17:45:30.000Z
2021-02-23T17:45:30.000Z
exploitimpl.cpp
smalltong02/Bruce-Ma
2ee9455635af9f0300f53781382de88d3ef99003
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "hookimpl.h" #include "HookImplementObject.h" #include "utils.h" #include "exploitmpl.h" #include "UniversalObject.h" using namespace cchips; processing_status WINAPI CHookImplementObject::detour_virtualAlloc(detour_node* node, LPVOID lpAddress, SIZE_T dwSize, DWORD flAllocationType, DWOR...
39.68097
432
0.669613
smalltong02
8caa26682c79e0eab7a19e45a9da271cc67aefdc
710
cpp
C++
Graphs/Traverse/BFS.cpp
xdanielsb/Marathon-book
620f1eb9ce54fc05a923e087ef1b130c98251b60
[ "MIT" ]
4
2017-01-15T04:59:55.000Z
2018-04-06T19:51:49.000Z
Graphs/Traverse/BFS.cpp
xdanielsb/MarathonBook
620f1eb9ce54fc05a923e087ef1b130c98251b60
[ "MIT" ]
1
2017-02-21T01:00:51.000Z
2017-03-06T03:24:27.000Z
Graphs/Traverse/BFS.cpp
xdanielsb/MarathonBook
620f1eb9ce54fc05a923e087ef1b130c98251b60
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define pb push_back using namespace std; typedef vector < int > vi; vi dis; vector < vi > graph; void show_distances(){ for( int i = 0; i< dis.size(); i++){ cout << i << " : " << dis[i] << "\n"; } } void bfs(int origin){ queue < int > q; dis[origin] = 0; q.push(origin); while( ...
18.205128
41
0.530986
xdanielsb
8cac01860bd3a906cd8d1492b09240f19944d139
3,630
hpp
C++
include/STELA/binding.hpp
Kerndog73/STELA
11449b4bb440494f3ec4b1172b2688b5ec1bcd0a
[ "MIT" ]
10
2018-06-20T05:12:59.000Z
2021-11-23T02:56:04.000Z
include/STELA/binding.hpp
Kerndog73/STELA
11449b4bb440494f3ec4b1172b2688b5ec1bcd0a
[ "MIT" ]
null
null
null
include/STELA/binding.hpp
Kerndog73/STELA
11449b4bb440494f3ec4b1172b2688b5ec1bcd0a
[ "MIT" ]
null
null
null
// // binding.hpp // STELA // // Created by Indi Kernick on 13/12/18. // Copyright © 2018 Indi Kernick. All rights reserved. // #ifndef stela_binding_hpp #define stela_binding_hpp #include <tuple> #include <memory> #include <algorithm> #include <type_traits> #include "retain ptr.hpp" #include "pass traits.hpp" n...
26.115108
89
0.664738
Kerndog73
8caf49c95577d13de763dc7b13301730f166370a
11,029
cpp
C++
deps/trucov/parser_builder.cpp
havocp/hwf
a99e9a0461983226717b278513cfd9f1e53ba0f1
[ "MIT" ]
1
2015-04-19T10:49:48.000Z
2015-04-19T10:49:48.000Z
deps/trucov/parser_builder.cpp
havocp/hwf
a99e9a0461983226717b278513cfd9f1e53ba0f1
[ "MIT" ]
null
null
null
deps/trucov/parser_builder.cpp
havocp/hwf
a99e9a0461983226717b278513cfd9f1e53ba0f1
[ "MIT" ]
null
null
null
/////////////////////////////////////////////////////////////////////////////// // COPYRIGHT (c) 2009 Schweitzer Engineering Laboratories, Pullman, WA /////////////////////////////////////////////////////////////////////////////// // Permission is hereby granted, free of charge, to any person // obtaining a copy of ...
33.831288
101
0.553994
havocp
8caf5b87ce063dcc81b8972ce58f417e9fec1e4e
6,159
hpp
C++
src/R.hpp
dantehemerson/Arkanoid-Returns
478ae8df92f978dce95fd227a9047e83dea9a855
[ "MIT" ]
3
2018-09-25T07:59:06.000Z
2019-08-24T09:35:43.000Z
src/R.hpp
dantehemerson/Arkanoid-Returns
478ae8df92f978dce95fd227a9047e83dea9a855
[ "MIT" ]
1
2018-05-08T11:34:05.000Z
2018-05-08T11:34:05.000Z
src/R.hpp
dantehemerson/Arkanoid-Returns
478ae8df92f978dce95fd227a9047e83dea9a855
[ "MIT" ]
1
2020-06-07T21:23:24.000Z
2020-06-07T21:23:24.000Z
#pragma once #ifndef R_HPP #define R_HPP #include <allegro5/allegro.h> #include <allegro5/allegro_color.h> #include <string> #include <array> namespace R { namespace Constant { // Frames por segundo. static const int FPS = 60; static const int SIZE_FONT_VENUS_18 = 18; static const int SIZE_FONT_VENUS_20 = ...
31.106061
99
0.732911
dantehemerson
8cb0272f0e643c9b079dde59ecdd221daf95a676
595
hpp
C++
ext/twenty48/vbyte_writer.hpp
jdleesmiller/twenty48
8f4b81855a1a760c3a5f8fb5073f1ab689b3558a
[ "MIT", "Unlicense" ]
54
2017-09-05T06:33:17.000Z
2021-09-19T10:58:46.000Z
ext/twenty48/vbyte_writer.hpp
jdleesmiller/twenty48
8f4b81855a1a760c3a5f8fb5073f1ab689b3558a
[ "MIT", "Unlicense" ]
null
null
null
ext/twenty48/vbyte_writer.hpp
jdleesmiller/twenty48
8f4b81855a1a760c3a5f8fb5073f1ab689b3558a
[ "MIT", "Unlicense" ]
3
2018-03-30T12:07:15.000Z
2021-10-14T07:50:28.000Z
#ifndef TWENTY48_VBYTE_WRITER_HPP #include <fstream> namespace twenty48 { /** * Write 64-bit integers one at a time using vbyte compression. */ struct vbyte_writer_t { explicit vbyte_writer_t(const char *pathname); uint64_t get_bytes_written() const { return bytes_written; } uint64_t get_previous() const { ...
19.193548
63
0.746218
jdleesmiller
8cb0ff58250ec2516772661669fbf090ad30c7f9
4,051
cpp
C++
moos-ivp/ivp/src/lib_ivpbuild/AOF_Rings.cpp
EasternEdgeRobotics/2018
24df2fe56fa6d172ba3c34c1a97f249dbd796787
[ "MIT" ]
null
null
null
moos-ivp/ivp/src/lib_ivpbuild/AOF_Rings.cpp
EasternEdgeRobotics/2018
24df2fe56fa6d172ba3c34c1a97f249dbd796787
[ "MIT" ]
null
null
null
moos-ivp/ivp/src/lib_ivpbuild/AOF_Rings.cpp
EasternEdgeRobotics/2018
24df2fe56fa6d172ba3c34c1a97f249dbd796787
[ "MIT" ]
null
null
null
/*****************************************************************/ /* NAME: Michael Benjamin */ /* ORGN: Dept of Mechanical Eng / CSAIL, MIT Cambridge MA */ /* FILE: AOF_Rings.cpp */ /* DATE: Very old - modernized Jan 21 2006 ...
29.355072
74
0.466551
EasternEdgeRobotics
8cb76d19d9392da03fb96c0e8d64cbc8f82df5ef
4,667
cc
C++
regionator_test.cc
dstndstn/wcs2kml
840667fe142bfe5c34f61fc2cd5fbfecfa27e87e
[ "BSD-3-Clause" ]
null
null
null
regionator_test.cc
dstndstn/wcs2kml
840667fe142bfe5c34f61fc2cd5fbfecfa27e87e
[ "BSD-3-Clause" ]
1
2020-03-08T04:42:30.000Z
2020-03-08T04:42:30.000Z
regionator_test.cc
dstndstn/wcs2kml
840667fe142bfe5c34f61fc2cd5fbfecfa27e87e
[ "BSD-3-Clause" ]
1
2020-02-29T19:56:15.000Z
2020-02-29T19:56:15.000Z
// Copyright (c) 2007-2009, Google Inc. // Author: Jeremy Brewer // 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 noti...
36.178295
80
0.718449
dstndstn
8cb7bdd20573b785824dcaf639fcd55279fd8b1a
853
cpp
C++
luogu/P1182.cpp
delphi122/knowledge_planet
e86cb8f9aa47ef8918cde0e814984a6535023c21
[ "Apache-2.0" ]
1
2020-07-24T03:07:08.000Z
2020-07-24T03:07:08.000Z
luogu/P1182.cpp
delphi122/knowledge_planet
e86cb8f9aa47ef8918cde0e814984a6535023c21
[ "Apache-2.0" ]
null
null
null
luogu/P1182.cpp
delphi122/knowledge_planet
e86cb8f9aa47ef8918cde0e814984a6535023c21
[ "Apache-2.0" ]
null
null
null
// // Created by yangtao on 20-4-21. // #include <iostream> #include <cstdio> #include <cstring> #include <algorithm> using namespace std; const int N = 1e5 + 5; int a[N]; int l, r; int n, m; int mmax, ssum; int calc(int step) { int team = 0; int s = a[0]; for(int i = 1; i < n; i++) { if(s + a[i] ...
16.09434
33
0.393904
delphi122
8cb7dd3fd41ca63c4f12a308fd305ce7897cffe5
696
cpp
C++
QClient/rdtreceiversocket.cpp
KailinLi/QChat
ea5e762b31cc4769611516d4f6ca1a79ad0f93c1
[ "MIT" ]
4
2017-10-19T15:44:06.000Z
2021-08-24T12:32:29.000Z
QClient/rdtreceiversocket.cpp
KailinLi/QChat
ea5e762b31cc4769611516d4f6ca1a79ad0f93c1
[ "MIT" ]
null
null
null
QClient/rdtreceiversocket.cpp
KailinLi/QChat
ea5e762b31cc4769611516d4f6ca1a79ad0f93c1
[ "MIT" ]
1
2020-04-30T08:21:50.000Z
2020-04-30T08:21:50.000Z
#include "rdtreceiversocket.h" RdtReceiverSocket::RdtReceiverSocket(QObject *parent, QHostAddress destination, quint16 destinationPort): QUdpSocket(parent) { block.resize (0); connectToHost (destination, destinationPort); } RdtReceiverSocket::~RdtReceiverSocket() { disconnectFromHost (); deleteLat...
23.2
105
0.715517
KailinLi
8cc1f4903612346513193a1c4c8303abb19724af
47
hpp
C++
src/boost_bimap_views_multiset_view.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_bimap_views_multiset_view.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_bimap_views_multiset_view.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/bimap/views/multiset_view.hpp>
23.5
46
0.808511
miathedev
8cc2c85345ee197e4cc77bf837a465dafaae05ea
18,435
cc
C++
content/common/gpu/image_transport_surface_mac.cc
gavinp/chromium
681563ea0f892a051f4ef3d5e53438e0bb7d2261
[ "BSD-3-Clause" ]
1
2016-03-10T09:13:57.000Z
2016-03-10T09:13:57.000Z
content/common/gpu/image_transport_surface_mac.cc
gavinp/chromium
681563ea0f892a051f4ef3d5e53438e0bb7d2261
[ "BSD-3-Clause" ]
1
2022-03-13T08:39:05.000Z
2022-03-13T08:39:05.000Z
content/common/gpu/image_transport_surface_mac.cc
gavinp/chromium
681563ea0f892a051f4ef3d5e53438e0bb7d2261
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2012 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. #if defined(ENABLE_GPU) #include "content/common/gpu/image_transport_surface.h" #include "base/mac/scoped_cftyperef.h" #include "base/memory/scoped_...
31.08769
80
0.727149
gavinp
8cc4f062d8fcf8956d82c9fed1c24a2ebd568897
5,458
cpp
C++
Final Exam/MakeReservation.cpp
tomy0000000/YZU-Computer-Programming-II
ec3254bc545581fa91c1efd957cbcef1f76cae21
[ "MIT" ]
1
2020-09-20T12:29:01.000Z
2020-09-20T12:29:01.000Z
Final Exam/MakeReservation.cpp
tomy0000000/YZU-Computer-Programming-II
ec3254bc545581fa91c1efd957cbcef1f76cae21
[ "MIT" ]
null
null
null
Final Exam/MakeReservation.cpp
tomy0000000/YZU-Computer-Programming-II
ec3254bc545581fa91c1efd957cbcef1f76cae21
[ "MIT" ]
null
null
null
// MakeReservation.cpp // Member-function definitions for class MakeReservation. #include <iostream> #include <iomanip> #include <string> using namespace std; #include "MakeReservation.h" // MakeReservation class definition extern bool leapYear(unsigned int year); // MakeReservation constructor initializes ...
30.154696
177
0.652803
tomy0000000
8cc576545ef5141f79d3698baeb0eac7f9626913
349
hpp
C++
src/catkin_ws/src/modrob_workstation/workstation/include/JointTorqueCommanded.hpp
JakobThumm/safe_rl_manipulators
1724aee2ec4cbbd8fecfbf1653991e182d4ca48b
[ "MIT" ]
null
null
null
src/catkin_ws/src/modrob_workstation/workstation/include/JointTorqueCommanded.hpp
JakobThumm/safe_rl_manipulators
1724aee2ec4cbbd8fecfbf1653991e182d4ca48b
[ "MIT" ]
null
null
null
src/catkin_ws/src/modrob_workstation/workstation/include/JointTorqueCommanded.hpp
JakobThumm/safe_rl_manipulators
1724aee2ec4cbbd8fecfbf1653991e182d4ca48b
[ "MIT" ]
null
null
null
// // Created by lukas on 28.01.20. // #ifndef WORKSTAION_JOINTTORQUECOMMAND_H #define WORKSTAION_JOINTTORQUECOMMAND_H class JointTorqueCommanded { private: double jointTorque; public: JointTorqueCommanded(double jointTorque); char *serialize(char *result); static int getSize(); }; #endif //WOR...
14.541667
45
0.753582
JakobThumm
bc4b8e0170b513dc78154fe2976e4e5333999e02
54,459
cpp
C++
FDPS-5.0g/src/particle_mesh/decomposition.cpp
subarutaro/GPLUM
89b1dadb08a0c6adcdc48879ddf2b7b0fb02912f
[ "MIT" ]
77
2015-02-12T02:35:40.000Z
2022-03-11T01:10:31.000Z
FDPS-5.0g/src/particle_mesh/decomposition.cpp
subarutaro/GPLUM
89b1dadb08a0c6adcdc48879ddf2b7b0fb02912f
[ "MIT" ]
9
2015-03-24T09:44:29.000Z
2021-11-30T19:42:58.000Z
FDPS-5.0g/src/particle_mesh/decomposition.cpp
subarutaro/GPLUM
89b1dadb08a0c6adcdc48879ddf2b7b0fb02912f
[ "MIT" ]
28
2015-03-17T06:58:09.000Z
2022-02-14T07:16:25.000Z
#include "pp.h" namespace ParticleSimulator{ namespace ParticleMesh{ extern double (*p_cache)[4]; static char cbuf[CHARMAX]; void createDivision( const int n, int *ndiv){ int nx, ny, nz; int n0, n1; n0 = (int)pow(n+0.1,0.33333333333333333333); while(n%n0)n0--; nx = n0; n1 = n/nx; n0 = (int)sqrt...
28.334547
128
0.631246
subarutaro
bc507b82a15ddcf6137dbb7d418e83b632962315
655
hpp
C++
src/mxd.hpp
DavidR86/mxd
bf0a72305701dd5c76c2b3daa4bdba14d638b29d
[ "MIT" ]
2
2018-11-06T18:57:29.000Z
2018-11-06T19:06:36.000Z
src/mxd.hpp
DavidR86/mxd
bf0a72305701dd5c76c2b3daa4bdba14d638b29d
[ "MIT" ]
27
2018-11-12T23:45:43.000Z
2019-01-21T15:39:18.000Z
src/mxd.hpp
DavidR86/mxd
bf0a72305701dd5c76c2b3daa4bdba14d638b29d
[ "MIT" ]
3
2018-11-08T00:38:49.000Z
2020-06-18T04:40:11.000Z
// -*- coding:utf-8; mode:c++; mode:auto-fill; fill-column:80; -*- /// @file mxd.hpp /// @brief /// @author J. Arrieta <Juan.Arrieta@nablazerolabs.com> /// @date November 13, 2018 /// @copyright (C) 2018 Nabla Zero Labs #pragma once // C++ Standard Library namespace nzl { /// @brief Initialize mxd. //...
24.259259
72
0.683969
DavidR86
bc512300cf211cac876998370987f2d78c9adb65
1,888
hpp
C++
src/Parser.hpp
yatsuha4/lilyan
6005667fb0bc887a74be8957b462f9963a75a6b6
[ "MIT" ]
null
null
null
src/Parser.hpp
yatsuha4/lilyan
6005667fb0bc887a74be8957b462f9963a75a6b6
[ "MIT" ]
null
null
null
src/Parser.hpp
yatsuha4/lilyan
6005667fb0bc887a74be8957b462f9963a75a6b6
[ "MIT" ]
null
null
null
/***********************************************************************//** @file ***************************************************************************/ #pragma once #include "Grammer.hpp" #include "Output.hpp" #include "Action.hpp" /***********************************************************************//** ...
28.606061
77
0.581568
yatsuha4
bc5736ee4ae8e1d85b0bafff7b2656a873be6d61
452
hh
C++
include/Core/Error/Error.hh
asmodehn/WkCore
bb630656c6184ec27591d3ca0d3b18983845b567
[ "BSD-2-Clause" ]
4
2016-01-24T00:25:36.000Z
2019-05-31T09:14:40.000Z
include/Core/Error/Error.hh
asmodehn/WkCore
bb630656c6184ec27591d3ca0d3b18983845b567
[ "BSD-2-Clause" ]
null
null
null
include/Core/Error/Error.hh
asmodehn/WkCore
bb630656c6184ec27591d3ca0d3b18983845b567
[ "BSD-2-Clause" ]
null
null
null
#ifndef ERROR_HH #define ERROR_HH //To make sure Core is properly configured #include "Config.hh" //To include mandatory, generci classes #include "Core/Error/ErrorCategory.hh" #include "Core/Error/ErrorCondition.hh" //including system specific errors. //These will include ErrorCode.hh //If a header doesnt match the...
18.833333
73
0.767699
asmodehn
bc58f2b69b5b577695b6ce37e76e3118b8ce913b
4,323
hpp
C++
src/metaspades/src/projects/online_vis/drawing_commands.hpp
STRIDES-Codes/Exploring-the-Microbiome-
bd29c8c74d8f40a58b63db28815acb4081f20d6b
[ "MIT" ]
null
null
null
src/metaspades/src/projects/online_vis/drawing_commands.hpp
STRIDES-Codes/Exploring-the-Microbiome-
bd29c8c74d8f40a58b63db28815acb4081f20d6b
[ "MIT" ]
null
null
null
src/metaspades/src/projects/online_vis/drawing_commands.hpp
STRIDES-Codes/Exploring-the-Microbiome-
bd29c8c74d8f40a58b63db28815acb4081f20d6b
[ "MIT" ]
2
2021-06-05T07:40:20.000Z
2021-06-05T08:02:58.000Z
//*************************************************************************** //* Copyright (c) 2015 Saint Petersburg State University //* Copyright (c) 2011-2014 Saint Petersburg Academic University //* All Rights Reserved //* See file LICENSE for details. //************************************************************...
37.921053
132
0.533657
STRIDES-Codes
bc5cd5834144b4965f8e7fbfa8e2b9e1db2d595c
470
cpp
C++
option.cpp
sovaz1997/Zevra
cef3318279f9092e8e1a046ad74492c39cdbd67e
[ "Apache-2.0" ]
3
2017-03-03T18:49:47.000Z
2018-03-11T12:51:34.000Z
option.cpp
sovaz1997/Zevra
cef3318279f9092e8e1a046ad74492c39cdbd67e
[ "Apache-2.0" ]
6
2016-10-11T18:17:56.000Z
2016-11-27T11:46:20.000Z
option.cpp
sovaz1997/Zevra
cef3318279f9092e8e1a046ad74492c39cdbd67e
[ "Apache-2.0" ]
12
2018-01-17T22:23:15.000Z
2020-02-22T19:29:42.000Z
#include "option.hpp" Option::Option() : UCI_AnalyseMode(false) {} void Option::print() { std::cout << "option name Clear Hash type button\n"; std::cout << "option name Hash type spin default 256 min " << min_hash_size << " max "<< max_hash_size << "\n"; std::cout << "option name UCI_AnalyseMode type check...
42.727273
126
0.657447
sovaz1997
bc64bb3d8b67cbb7348a0c554dcf9406fa90178c
1,059
cpp
C++
RegisterFile.cpp
AaqilZ/RISK-Non-pipelined-Processor-Simulation
148b5e8cc6b71296f524e5cef62225cb7052be9e
[ "MIT" ]
null
null
null
RegisterFile.cpp
AaqilZ/RISK-Non-pipelined-Processor-Simulation
148b5e8cc6b71296f524e5cef62225cb7052be9e
[ "MIT" ]
null
null
null
RegisterFile.cpp
AaqilZ/RISK-Non-pipelined-Processor-Simulation
148b5e8cc6b71296f524e5cef62225cb7052be9e
[ "MIT" ]
null
null
null
#include "RegisterFile.h" #include "Utilities.h" void RegisterFile:: print(){ if(writeToFile){ o << "*********** Register File ***********" << std::endl; o << "---Inputs---" << std::endl; o << "Read Register 1:" << readReg1 << std::endl; o << "Read Register 2:" << readReg2 << std::endl; o << "Write Regist...
40.730769
68
0.524079
AaqilZ
bc65200dd0dc4a52b859c40c98bf8417f5bd67f5
1,150
cpp
C++
src/handlers/file/FileOpenHandler.cpp
Aerijo/latex-language-server
fbd520e40e7878ca9b114e408b21b6b1e181a875
[ "MIT" ]
4
2019-04-08T17:03:24.000Z
2019-09-13T17:20:20.000Z
src/handlers/file/FileOpenHandler.cpp
Aerijo/latex-language-server
fbd520e40e7878ca9b114e408b21b6b1e181a875
[ "MIT" ]
null
null
null
src/handlers/file/FileOpenHandler.cpp
Aerijo/latex-language-server
fbd520e40e7878ca9b114e408b21b6b1e181a875
[ "MIT" ]
null
null
null
#include <iostream> #include <filesystem/File.h> #include <filesystem/FileManager.h> #include <biber/BibIndexer.h> #include <lconfig.h> #include "FileOpenHandler.h" void FileOpenHandler::run (optional<Value> &params) { if (!params) { handleMissingFileOpenParams(); return; } Value &value = *params; Valu...
25.555556
91
0.654783
Aerijo
bc658dd458b5532dcdd1d02c79a284b34b91d4a1
1,398
hpp
C++
include/user_view.hpp
aaronamk/WM-GDC-Project-Parry
77c829e2ea241a3d0a47ea1263b10afb20d76ca2
[ "MIT" ]
7
2020-11-11T17:36:07.000Z
2021-09-23T00:19:39.000Z
include/user_view.hpp
aaronamk/WM-GDC-Project-Parry
77c829e2ea241a3d0a47ea1263b10afb20d76ca2
[ "MIT" ]
79
2020-12-06T21:42:56.000Z
2021-08-24T03:09:44.000Z
include/user_view.hpp
aaronamk/WM-GDC-Project-Parry
77c829e2ea241a3d0a47ea1263b10afb20d76ca2
[ "MIT" ]
5
2021-01-29T12:27:13.000Z
2021-04-24T01:52:53.000Z
#ifndef USER_VIEW_HPP #define USER_VIEW_HPP #include <chrono> #include <list> #include <memory> #include <SFML/Graphics.hpp> #include <SFML/Audio.hpp> #include <box2d/box2d.h> #include "view.hpp" #include "game_state_factory.hpp" class GameController; class Actor; class Pari; /** * Draw the screen for the playe...
16.642857
55
0.693133
aaronamk
bc66c348c440aa1bc034ee555b6df4b673b4455c
31,809
cc
C++
src/KnowledgeBase.cc
mnowotnik/fovris
82f692743fa6c96fef05041e686d716b03c22f07
[ "BSD-3-Clause" ]
4
2017-01-04T17:22:55.000Z
2018-12-08T02:10:18.000Z
src/KnowledgeBase.cc
Mike-Now/fovris
82f692743fa6c96fef05041e686d716b03c22f07
[ "BSD-3-Clause" ]
null
null
null
src/KnowledgeBase.cc
Mike-Now/fovris
82f692743fa6c96fef05041e686d716b03c22f07
[ "BSD-3-Clause" ]
1
2022-03-24T05:26:13.000Z
2022-03-24T05:26:13.000Z
#include "KnowledgeBase.h" #include "Utils.h" #include "DataPool.h" #include "KB/KBRuleDisjunct.h" #include "Pred/BinPredicateFunction.h" #include <cassert> #include <functional> #include <set> #include <utility> namespace fovris { namespace { struct VarInfo { TermType type; bool satisfied; }; /** * @par...
33.412815
80
0.594014
mnowotnik
bc6747102e6ab8a206d1a82eb8c61d368458af3b
2,557
cc
C++
core/Player.cc
bsdelf/mous
eb59b625d0ba8236f3597ae6015d9215cef922cf
[ "BSD-2-Clause" ]
75
2015-04-26T11:22:07.000Z
2022-02-12T17:18:37.000Z
core/Player.cc
bsdelf/mous
eb59b625d0ba8236f3597ae6015d9215cef922cf
[ "BSD-2-Clause" ]
7
2016-05-31T21:56:01.000Z
2019-09-15T06:25:28.000Z
core/Player.cc
bsdelf/mous
eb59b625d0ba8236f3597ae6015d9215cef922cf
[ "BSD-2-Clause" ]
19
2015-09-23T01:50:15.000Z
2022-02-12T17:18:41.000Z
#include <core/Player.h> #include <util/Plugin.h> #include "PlayerImpl.h" namespace mous { Player::Player() : impl(std::make_unique<Impl>()) { } Player::~Player() { } PlayerStatus Player::Status() const { return impl->Status(); } void Player::LoadFormatProbePlugin(const std::shared_ptr<Plugin>& plugin) { ...
17.756944
75
0.698084
bsdelf
bc6a1aecb5cfde3720a7532e9d5e608e1d057e31
3,324
cc
C++
media/cast/logging/log_serializer.cc
iplo/Chain
8bc8943d66285d5258fffc41bed7c840516c4422
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
231
2015-01-08T09:04:44.000Z
2021-12-30T03:03:10.000Z
media/cast/logging/log_serializer.cc
JasonEric/chromium
c7361d39be8abd1574e6ce8957c8dbddd4c6ccf7
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2017-02-14T21:55:58.000Z
2017-02-14T21:55:58.000Z
media/cast/logging/log_serializer.cc
JasonEric/chromium
c7361d39be8abd1574e6ce8957c8dbddd4c6ccf7
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
268
2015-01-21T05:53:28.000Z
2022-03-25T22:09:01.000Z
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "media/cast/logging/log_serializer.h" #include "net/base/big_endian.h" namespace media { namespace cast { LogSerializer::LogSerializer(const i...
31.961538
78
0.705174
iplo
bc6a7359892790e93dc8e01384d37d3adf1c82bf
4,859
cpp
C++
geopdf/src/ossimGeoPdfInfo.cpp
martidi/ossim-plugins
7dfb14d3fb87ce954fd13d41bd78d26cddc9f9c8
[ "MIT" ]
null
null
null
geopdf/src/ossimGeoPdfInfo.cpp
martidi/ossim-plugins
7dfb14d3fb87ce954fd13d41bd78d26cddc9f9c8
[ "MIT" ]
null
null
null
geopdf/src/ossimGeoPdfInfo.cpp
martidi/ossim-plugins
7dfb14d3fb87ce954fd13d41bd78d26cddc9f9c8
[ "MIT" ]
1
2019-11-02T11:01:58.000Z
2019-11-02T11:01:58.000Z
//---------------------------------------------------------------------------- // // License: LGPL // // See LICENSE.txt file in the top level directory for more details. // // Author: Mingjie Su // // Description: Ogr Info object. // //---------------------------------------------------------------------------- //...
24.054455
79
0.603211
martidi
bc71eb1f819a8f299a5fb66ba34a5992bb802c87
3,614
cpp
C++
quantitative_finance/L2/tests/FdEuropeanHestonEngine/hls/main.cpp
heeran-xilinx/Vitis_Libraries
ab3f6969e397dc44705a7278fb0d480e905e72db
[ "Apache-2.0" ]
null
null
null
quantitative_finance/L2/tests/FdEuropeanHestonEngine/hls/main.cpp
heeran-xilinx/Vitis_Libraries
ab3f6969e397dc44705a7278fb0d480e905e72db
[ "Apache-2.0" ]
null
null
null
quantitative_finance/L2/tests/FdEuropeanHestonEngine/hls/main.cpp
heeran-xilinx/Vitis_Libraries
ab3f6969e397dc44705a7278fb0d480e905e72db
[ "Apache-2.0" ]
1
2021-06-08T06:18:10.000Z
2021-06-08T06:18:10.000Z
/* * Copyright 2019 Xilinx, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
37.645833
120
0.533204
heeran-xilinx
bc73e10a5ee2f14e5c9fd475d580849789e7faf2
7,924
hh
C++
atomic.hh
couchbaselabs/ep-engine
22f16e840dc17c79d5ffbfa7e15fe07509d0236c
[ "Apache-2.0" ]
null
null
null
atomic.hh
couchbaselabs/ep-engine
22f16e840dc17c79d5ffbfa7e15fe07509d0236c
[ "Apache-2.0" ]
null
null
null
atomic.hh
couchbaselabs/ep-engine
22f16e840dc17c79d5ffbfa7e15fe07509d0236c
[ "Apache-2.0" ]
null
null
null
/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */ #ifndef ATOMIC_HH #define ATOMIC_HH #include <pthread.h> #include <queue> #include <sched.h> #include <errno.h> #include <stdio.h> #include <stdlib.h> #include "callbacks.hh" #include "locks.hh" #define MAX_THREADS 100 #if defined(HAVE_...
20.214286
90
0.536345
couchbaselabs
bc73f65cbe8cc38613c797e4b423c5726673d8ec
1,090
hpp
C++
IbeoLux/src/Additional/Convert/ConvertException.hpp
MechLabEngineering/SICKRPi-Scanner
19d7603a7bee444c8cfbd646f9773178ecf2e188
[ "MIT" ]
null
null
null
IbeoLux/src/Additional/Convert/ConvertException.hpp
MechLabEngineering/SICKRPi-Scanner
19d7603a7bee444c8cfbd646f9773178ecf2e188
[ "MIT" ]
null
null
null
IbeoLux/src/Additional/Convert/ConvertException.hpp
MechLabEngineering/SICKRPi-Scanner
19d7603a7bee444c8cfbd646f9773178ecf2e188
[ "MIT" ]
null
null
null
/** * @file ConvertException.hpp * * Enthält die Exceptionklassen für die verschiedenen Konvertierungen. * * @author Christian Blumberg * @date 2012-06-04 */ #ifndef CONVERTEXCEPTION_H_ #define CONVERTEXCEPTION_H_ #include <exception> namespace convert { /** @brief allgemeine Exception. * * Die allgemein...
29.459459
178
0.761468
MechLabEngineering
bc74f2be16b58fa8c88975bfddb548ce871a7ea2
21,700
cpp
C++
source/RobotController/RobotControllerGUI/GeneratedFiles/RelWithDebInfo/moc_MainWindowProgram.cpp
xxzl0130/ProgrammingExperience
4f18ad6eb6bc1e7f0d69b458e0c4efbbf4326cfd
[ "MIT" ]
1
2020-09-08T02:54:11.000Z
2020-09-08T02:54:11.000Z
source/RobotController/RobotControllerGUI/GeneratedFiles/RelWithDebInfo/moc_MainWindowProgram.cpp
xxzl0130/ProgrammingExperience
4f18ad6eb6bc1e7f0d69b458e0c4efbbf4326cfd
[ "MIT" ]
1
2020-09-08T02:53:54.000Z
2020-09-23T00:55:35.000Z
source/RobotController/RobotControllerGUI/GeneratedFiles/RelWithDebInfo/moc_MainWindowProgram.cpp
xxzl0130/ProgrammingExperience
4f18ad6eb6bc1e7f0d69b458e0c4efbbf4326cfd
[ "MIT" ]
null
null
null
/**************************************************************************** ** Meta object code from reading C++ file 'MainWindowProgram.h' ** ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.11.1) ** ** WARNING! All changes made in this file will be lost! **************************************************...
44.195519
103
0.621198
xxzl0130
bc7a79209526906197dfce22e24243d748c5d4b1
2,517
cc
C++
chrome/views/accessibility/accessible_wrapper.cc
bluebellzhy/chromium
008c4fef2676506869a0404239da31e83fd6ccc7
[ "BSD-3-Clause" ]
1
2016-05-08T15:35:17.000Z
2016-05-08T15:35:17.000Z
chrome/views/accessibility/accessible_wrapper.cc
bluebellzhy/chromium
008c4fef2676506869a0404239da31e83fd6ccc7
[ "BSD-3-Clause" ]
null
null
null
chrome/views/accessibility/accessible_wrapper.cc
bluebellzhy/chromium
008c4fef2676506869a0404239da31e83fd6ccc7
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2006-2008 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/views/accessibility/accessible_wrapper.h" #include "base/logging.h" #include "chrome/views/accessibility/view_accessibility.h" ...
30.695122
80
0.663488
bluebellzhy
bc7d00659b4d78f44476da4c7441047e37e37d84
4,754
cxx
C++
writer/bpCompressionAlgorithmFactory.cxx
ome/ImarisWriter
bbb8178e072d8c94ce74e9bc7adc77906b7e0d83
[ "Apache-2.0" ]
20
2020-08-25T11:33:58.000Z
2022-03-09T22:49:39.000Z
writer/bpCompressionAlgorithmFactory.cxx
ome/ImarisWriter
bbb8178e072d8c94ce74e9bc7adc77906b7e0d83
[ "Apache-2.0" ]
5
2020-11-05T06:43:55.000Z
2022-03-31T10:59:57.000Z
writer/bpCompressionAlgorithmFactory.cxx
ome/ImarisWriter
bbb8178e072d8c94ce74e9bc7adc77906b7e0d83
[ "Apache-2.0" ]
10
2020-08-26T02:23:05.000Z
2022-01-20T18:15:23.000Z
/*************************************************************************** * Copyright (c) 2020-present Bitplane AG Zuerich * * * * Licensed under the Apache License, Version 2.0 (the "License"); * * you may...
51.673913
176
0.702987
ome
bc835a23401a6501032d80f893a6f8890279e628
981
cpp
C++
src/scene.cpp
workhorsy/test_wasm
13764cda35102d4ec8a0a2ef46df8187c15c5c50
[ "MIT" ]
null
null
null
src/scene.cpp
workhorsy/test_wasm
13764cda35102d4ec8a0a2ef46df8187c15c5c50
[ "MIT" ]
null
null
null
src/scene.cpp
workhorsy/test_wasm
13764cda35102d4ec8a0a2ef46df8187c15c5c50
[ "MIT" ]
null
null
null
#include "three.h" namespace THREE { Scene::Scene() : Object3D() { this->type = "Scene"; this->background = nullptr; this->fog = nullptr; // this->overrideMaterial = nullptr; this->autoUpdate = true; // checked by the renderer } THREE::Scene* Scene::copy(THREE::Scene* source, bool recursive ) { Object3D::cop...
25.153846
105
0.678899
workhorsy
bc83b577104ff2d20a0cb607272c0cf23f48cd9b
14,008
cc
C++
squid/squid3-3.3.8.spaceify/src/ssl/ErrorDetail.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/ssl/ErrorDetail.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/ssl/ErrorDetail.cc
spaceify/spaceify
4296d6c93cad32bb735cefc9b8157570f18ffee4
[ "MIT" ]
null
null
null
#include "squid.h" #include "errorpage.h" #include "ssl/ErrorDetail.h" #if HAVE_MAP #include <map> #endif #if HAVE_CLIMITS #include <climits> #endif struct SslErrorEntry { Ssl::ssl_error_t value; const char *name; }; static const char *SslErrorDetailDefaultStr = "SSL handshake error (%err_name)"; //Use std::m...
31.337808
130
0.698387
spaceify
bc851415eb6e085b42b5e526a2901403e79cd9c4
500
hpp
C++
foundation/pro/include/pro/log/debug.hpp
xleakOfficial/xmax-mainchain
16bb71da7f4c9f7c897d1de7b4e88b721d20cfdf
[ "MIT" ]
14
2018-06-16T04:49:50.000Z
2021-04-10T03:18:40.000Z
foundation/pro/include/pro/log/debug.hpp
xleakOfficial/xmax-mainchain
16bb71da7f4c9f7c897d1de7b4e88b721d20cfdf
[ "MIT" ]
null
null
null
foundation/pro/include/pro/log/debug.hpp
xleakOfficial/xmax-mainchain
16bb71da7f4c9f7c897d1de7b4e88b721d20cfdf
[ "MIT" ]
7
2018-06-14T10:15:32.000Z
2020-11-06T17:07:09.000Z
/** * @file * @copyright defined in xmax/LICENSE */ #pragma once namespace pro { /** * ouput a msg to console * @param[in] char* content of msg */ void _debug_output(const char* ouput); /** * ouput a msg to console in a line * @param[in] char* content of msg */ void _debug_output_line(const char* ouput); ...
17.241379
50
0.67
xleakOfficial
bc90d411a58b49272fccf8a06f815a34a17da3bc
216
cpp
C++
src/babs_ecs_tests.cpp
misnor/babsecs
a8d1dc1f2a0fa5bd03563be125c8e6d90e81495f
[ "Apache-2.0" ]
null
null
null
src/babs_ecs_tests.cpp
misnor/babsecs
a8d1dc1f2a0fa5bd03563be125c8e6d90e81495f
[ "Apache-2.0" ]
16
2019-07-27T00:27:37.000Z
2021-09-12T16:43:58.000Z
src/babs_ecs_tests.cpp
misnor/babsecs
a8d1dc1f2a0fa5bd03563be125c8e6d90e81495f
[ "Apache-2.0" ]
null
null
null
#include "doctest.h" #include "babs_ecs.hpp" TEST_CASE("Confirming symlink babs_ecs -> ECSManager works") { babs_ecs::ECSManager ecs; babs_ecs::Entity e = ecs.CreateEntity(); REQUIRE(e.UUID == 1); }
15.428571
60
0.675926
misnor
bc91c8d9c597cff54f6a84b1680f9458bd162806
335
hpp
C++
osx-main/inc/m4c0/osx/main.hpp
m4c0/m4c0-stl
5e47439528faee466270706534143c87b4af8cbb
[ "MIT" ]
null
null
null
osx-main/inc/m4c0/osx/main.hpp
m4c0/m4c0-stl
5e47439528faee466270706534143c87b4af8cbb
[ "MIT" ]
null
null
null
osx-main/inc/m4c0/osx/main.hpp
m4c0/m4c0-stl
5e47439528faee466270706534143c87b4af8cbb
[ "MIT" ]
null
null
null
#pragma once #include "m4c0/objc/mtk_view.hpp" #include "m4c0/objc/ns_event.hpp" namespace m4c0::osx { class delegate { public: virtual void start(const objc::mtk_view * view) = 0; virtual void on_event(const objc::ns_event * e) = 0; virtual void stop() = 0; }; int main(int argc, char ** argv, de...
20.9375
56
0.656716
m4c0
bc97c5b4f558671610f1be3f26bf85766269ec13
3,453
hpp
C++
benchmark_apps/elmerfem/ElmerGUI/netgen/libsrc/csg/revolution.hpp
readex-eu/readex-apps
38493b11806c306f4e8f1b7b2d97764b45fac8e2
[ "BSD-3-Clause" ]
2
2020-11-25T13:10:11.000Z
2021-03-15T20:26:35.000Z
elmerfem/ElmerGUI/netgen/libsrc/csg/revolution.hpp
jcmcmurry/pipelining
8fface1a501b5050f58e7b902aacdcdde68e9648
[ "MIT" ]
null
null
null
elmerfem/ElmerGUI/netgen/libsrc/csg/revolution.hpp
jcmcmurry/pipelining
8fface1a501b5050f58e7b902aacdcdde68e9648
[ "MIT" ]
2
2021-08-02T23:23:40.000Z
2022-02-26T12:39:30.000Z
#ifndef _REVOLUTION_HPP #define _REVOLUTION_HPP class Revolution; class RevolutionFace : public Surface { private: bool isfirst, islast; const SplineSeg<2> * spline; bool deletable; Point<3> p0; Vec<3> v_axis; int id; mutable Vector spline_coefficient; ARRAY < Vec<2>* > checklines_vec; ARRAY ...
23.02
76
0.663191
readex-eu
bc9dae90d8b31268f72c6fec07e22c44cc91dd4c
1,653
hpp
C++
pom/maths/matrix/matrix.hpp
e-Sharp/pom_gen_proc
cef7a57620d52631c1e94f71c71e0455f9e1b653
[ "MIT" ]
null
null
null
pom/maths/matrix/matrix.hpp
e-Sharp/pom_gen_proc
cef7a57620d52631c1e94f71c71e0455f9e1b653
[ "MIT" ]
null
null
null
pom/maths/matrix/matrix.hpp
e-Sharp/pom_gen_proc
cef7a57620d52631c1e94f71c71e0455f9e1b653
[ "MIT" ]
null
null
null
#pragma once #include "dynamic_matrix/dynamic_matrix.hpp" #include "matrix_view/matrix_view.hpp" #include <range/v3/view/drop.hpp> #include <range/v3/view/for_each.hpp> namespace pom { namespace maths { // Dynamic matrix factories. //template<typename Ty> constexpr //auto matrix() { // return dynamic_matrix<Ty>();...
22.04
61
0.699335
e-Sharp
bca0e0986fd75ad575dd819364d3ad08d9a8af91
2,025
cpp
C++
src/SpriteEdit/SpriteEditView.cpp
segafan/wme1_jankavan_tlc_edition-repo
72163931f348d5a2132577930362d297cc375a26
[ "MIT" ]
3
2021-03-28T00:11:48.000Z
2022-01-12T13:10:52.000Z
src/SpriteEdit/SpriteEditView.cpp
segafan/wme1_jankavan_tlc_edition-repo
72163931f348d5a2132577930362d297cc375a26
[ "MIT" ]
null
null
null
src/SpriteEdit/SpriteEditView.cpp
segafan/wme1_jankavan_tlc_edition-repo
72163931f348d5a2132577930362d297cc375a26
[ "MIT" ]
null
null
null
// SpriteEditView.cpp : implementation of the CSpriteEditView class // #include "stdafx.h" #include "SpriteEdit.h" #include "SpriteEditDoc.h" #include "SpriteEditView.h" #ifdef _DEBUG #define new DEBUG_NEW #endif // CSpriteEditView IMPLEMENT_DYNCREATE(CSpriteEditView, CView) BEGIN_MESSAGE_MAP(C...
20.25
84
0.725432
segafan
bca1956fbf29c6987aa220186307632abedd123f
3,556
cpp
C++
3282 Tree/main.cpp
sqc1999/BZOJ
eff99fe97dbb4c59e650c54f343a2365eebd1d99
[ "MIT" ]
1
2016-07-18T12:05:57.000Z
2016-07-18T12:05:57.000Z
3282 Tree/main.cpp
sqc1999/BZOJ
eff99fe97dbb4c59e650c54f343a2365eebd1d99
[ "MIT" ]
null
null
null
3282 Tree/main.cpp
sqc1999/BZOJ
eff99fe97dbb4c59e650c54f343a2365eebd1d99
[ "MIT" ]
null
null
null
#include <cstdio> #include <algorithm> #include <cstdarg> #include <cctype> using namespace std; const int N = 3e5; struct splay_node { static splay_node *nul; struct constructor { constructor() { nul = new splay_node; nul->l = nul->r = nul->p = nul; } }; static constructor ctor; sp...
18.520833
90
0.495219
sqc1999
bca910f2df9d33f4349d93a72df17536c0ccb3b3
1,284
hpp
C++
modules/fs/include/fs/file_entry.hpp
aversiveplusplus/aversiveplusplus
5f5fe9faca50197fd6207e2c816efa7e9af6c804
[ "BSD-3-Clause" ]
29
2016-01-27T09:43:44.000Z
2020-03-12T04:16:02.000Z
modules/fs/include/fs/file_entry.hpp
aversiveplusplus/aversiveplusplus
5f5fe9faca50197fd6207e2c816efa7e9af6c804
[ "BSD-3-Clause" ]
20
2016-01-22T15:59:33.000Z
2016-10-28T10:22:45.000Z
modules/fs/include/fs/file_entry.hpp
aversiveplusplus/aversiveplusplus
5f5fe9faca50197fd6207e2c816efa7e9af6c804
[ "BSD-3-Clause" ]
6
2016-02-11T14:09:04.000Z
2018-03-17T00:18:35.000Z
#ifndef AVERSIVE_FS_FILE_ENTRY_HPP #define AVERSIVE_FS_FILE_ENTRY_HPP #include "entry.hpp" #include "filesystem.hpp" #include "path_list.hpp" namespace Aversive { namespace fs { class FileEntry : public Entry, public FileSystem, public PathList<FileEntry> { private: File _file; public: template<cla...
18.342857
74
0.653427
aversiveplusplus
bcb7e1b4cc6d93356a490c44f1e8d94bf1afb0f8
1,330
hpp
C++
include/vbte/compute/context.hpp
Berling/bachelor_arbeit
c788227721a132560943c6991f5e3a25c47217cf
[ "MIT" ]
null
null
null
include/vbte/compute/context.hpp
Berling/bachelor_arbeit
c788227721a132560943c6991f5e3a25c47217cf
[ "MIT" ]
null
null
null
include/vbte/compute/context.hpp
Berling/bachelor_arbeit
c788227721a132560943c6991f5e3a25c47217cf
[ "MIT" ]
null
null
null
#pragma once #include <CL/cl.hpp> #include <GL/glew.h> namespace vbte { namespace compute { class buffer; class kernel; class shared_buffer; } } namespace vbte { namespace compute { class context { private: cl::Context default_context_; cl::Device default_device_; cl::CommandQueue command_queue...
22.166667
152
0.691729
Berling
bcb99a49438eb7eeb7a99182e052f67cec9db7d6
19,547
cpp
C++
src/MagnumPlugins/StanfordImporter/Test/StanfordImporterTest.cpp
bowling-allie/magnum-plugins
40181647a0725a255dbbc53d59dd261dff3a6f14
[ "MIT" ]
null
null
null
src/MagnumPlugins/StanfordImporter/Test/StanfordImporterTest.cpp
bowling-allie/magnum-plugins
40181647a0725a255dbbc53d59dd261dff3a6f14
[ "MIT" ]
null
null
null
src/MagnumPlugins/StanfordImporter/Test/StanfordImporterTest.cpp
bowling-allie/magnum-plugins
40181647a0725a255dbbc53d59dd261dff3a6f14
[ "MIT" ]
null
null
null
/* This file is part of Magnum. Copyright © 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019 Vladimír Vondruš <mosra@centrum.cz> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), ...
40.137577
132
0.728398
bowling-allie
bcc056cd984d5fea6f448def9c6a7416d312f9ab
1,731
cpp
C++
src/Config.cpp
pezcode/Cluster
2e5d7a1bea0493ff3554dc329b83db950cb49eff
[ "MIT" ]
243
2019-11-21T11:35:43.000Z
2022-03-13T11:56:25.000Z
src/Config.cpp
pezcode/Cluster
2e5d7a1bea0493ff3554dc329b83db950cb49eff
[ "MIT" ]
7
2020-01-24T15:07:23.000Z
2021-06-04T04:33:09.000Z
src/Config.cpp
pezcode/Cluster
2e5d7a1bea0493ff3554dc329b83db950cb49eff
[ "MIT" ]
18
2019-11-21T11:35:49.000Z
2022-02-09T20:06:14.000Z
#include "Config.h" #include <bx/commandline.h> #include "Renderer/Renderer.h" Config::Config() : writeLog(true), logFile("Cluster.log"), renderer(bgfx::RendererType::Count), // default renderer, chosen by platform renderPath(Cluster::RenderPath::Clustered), tonemappingMode(Renderer::TonemappingMo...
27.919355
80
0.649913
pezcode
bcc24ea20aa53be8adc810359c0791135d4d58ae
439
cpp
C++
cpp_sandbox/wxw_attempt/wxwidgets_practice.cpp
kjgonzalez/codefiles
b86f25182d1b5553a331f8721dd06b51fa157c3e
[ "MIT" ]
null
null
null
cpp_sandbox/wxw_attempt/wxwidgets_practice.cpp
kjgonzalez/codefiles
b86f25182d1b5553a331f8721dd06b51fa157c3e
[ "MIT" ]
10
2019-10-01T20:48:15.000Z
2020-04-14T18:21:09.000Z
cpp_sandbox/wxw_attempt/wxwidgets_practice.cpp
kjgonzalez/codefiles
b86f25182d1b5553a331f8721dd06b51fa157c3e
[ "MIT" ]
null
null
null
/* date: 200205 objective: try to make a simple gui with buttons, and will build up from there NOTES: * don't need an "int main" thing need a class that represents what the application is. "pixel game engine" ??? stat | description ???? | ??? ???? | ??? ???? | ??? ???? | ??? ???? | ??? ???? | ??? */ #include <iostr...
14.633333
78
0.585421
kjgonzalez
bcc4576d45258fcbc2ba1a95851fc8e32d457201
394
hpp
C++
pieces/Exception.hpp
ismo-karkkainen/specificjson
e948881dad57d79908a31c73f92ed4a34f2f026b
[ "UPL-1.0" ]
null
null
null
pieces/Exception.hpp
ismo-karkkainen/specificjson
e948881dad57d79908a31c73f92ed4a34f2f026b
[ "UPL-1.0" ]
null
null
null
pieces/Exception.hpp
ismo-karkkainen/specificjson
e948881dad57d79908a31c73f92ed4a34f2f026b
[ "UPL-1.0" ]
null
null
null
class Exception : public std::exception { private: const char* reason; public: Exception(const char* Reason) : reason(Reason) { } const char* what() const throw() { return reason; } }; class ContextException : public Exception { private: char context[64]; public: ContextException(const Exception...
20.736842
65
0.675127
ismo-karkkainen
3449eb11e34cd9099368b15ec6f150de155dd4bb
111
cpp
C++
Graph Algorithms/BFS.cpp
moinak878/Data-Structures-and-Algorithms-
75692d39c50e57121f12eb8175aa2de13c13196d
[ "MIT" ]
2
2019-10-20T03:13:35.000Z
2020-06-23T16:23:35.000Z
Graph Algorithms/BFS.cpp
moinak878/Data-Structures-and-Algorithms-
75692d39c50e57121f12eb8175aa2de13c13196d
[ "MIT" ]
2
2019-10-01T16:02:25.000Z
2020-01-30T18:28:38.000Z
Graph Algorithms/BFS.cpp
moinak878/Data-Structures-and-Algorithms-
75692d39c50e57121f12eb8175aa2de13c13196d
[ "MIT" ]
5
2020-01-30T17:08:21.000Z
2020-10-01T13:48:22.000Z
#include <vector> #include <iostream> using namespace std; //graphs adjacency list given int main(){ }
12.333333
29
0.684685
moinak878
344ac20976c6d0485ffe4afa041a10e829c3c82e
1,448
cpp
C++
Source_/HeroDebugModule/Private/HeroDebuggerCategory_OwnedTag.cpp
JiaqiJin/RPGPrototype_ue4
e328798e880089841c0bfea1e25abee045dbf447
[ "MIT" ]
2
2021-09-25T19:34:12.000Z
2021-09-29T10:52:55.000Z
Source_/HeroDebugModule/Private/HeroDebuggerCategory_OwnedTag.cpp
JiaqiJin/RPGPrototype_ue4
e328798e880089841c0bfea1e25abee045dbf447
[ "MIT" ]
null
null
null
Source_/HeroDebugModule/Private/HeroDebuggerCategory_OwnedTag.cpp
JiaqiJin/RPGPrototype_ue4
e328798e880089841c0bfea1e25abee045dbf447
[ "MIT" ]
null
null
null
#include "HeroDebuggerCategory_OwnedTag.h" #if WITH_GAMEPLAY_DEBUGGER #include "AbilitySystemComponent.h" #include "AbilitySystemGlobals.h" #include "GameplayEffect.h" #include "GameplayAbilitySpec.h" #include "GameplayDebugger.h" #include "GameplayTagContainer.h" HeroDebuggerCategory_OwnedTag::HeroDebuggerCategory_O...
28.392157
131
0.791436
JiaqiJin
344d45d488221d4273c43c6310c8b45a5c4606f9
855
cpp
C++
Source Code/Source/ReturnoftheGorm/BTTask_AnimIsStarting.cpp
creosB/Return-Of-the-Gorm
09f413cf30ae5bd74dd8f8afccf3a2824a82eeb3
[ "MIT" ]
null
null
null
Source Code/Source/ReturnoftheGorm/BTTask_AnimIsStarting.cpp
creosB/Return-Of-the-Gorm
09f413cf30ae5bd74dd8f8afccf3a2824a82eeb3
[ "MIT" ]
null
null
null
Source Code/Source/ReturnoftheGorm/BTTask_AnimIsStarting.cpp
creosB/Return-Of-the-Gorm
09f413cf30ae5bd74dd8f8afccf3a2824a82eeb3
[ "MIT" ]
null
null
null
// Fill out your copyright notice in the Description page of Project Settings. #include "BTTask_AnimIsStarting.h" #include "AIController.h" #include "Enemy.h" #include "BehaviorTree/BlackboardComponent.h" UBTTask_AnimIsStarting::UBTTask_AnimIsStarting() { NodeName = TEXT("Anim Is Starting"); } EBTNodeResult::Type ...
32.884615
109
0.778947
creosB
344f091cd5770c170cfebbf2a270dbf088806c3d
5,758
cpp
C++
dependencies/PyMesh/tools/Wires/Attributes/WireVertexPeriodicIndexAttribute.cpp
aprieels/3D-watermarking-spectral-decomposition
dcab78857d0bb201563014e58900917545ed4673
[ "MIT" ]
5
2018-06-04T19:52:02.000Z
2022-01-22T09:04:00.000Z
dependencies/PyMesh/tools/Wires/Attributes/WireVertexPeriodicIndexAttribute.cpp
aprieels/3D-watermarking-spectral-decomposition
dcab78857d0bb201563014e58900917545ed4673
[ "MIT" ]
null
null
null
dependencies/PyMesh/tools/Wires/Attributes/WireVertexPeriodicIndexAttribute.cpp
aprieels/3D-watermarking-spectral-decomposition
dcab78857d0bb201563014e58900917545ed4673
[ "MIT" ]
null
null
null
/* This file is part of PyMesh. Copyright (c) 2015 by Qingnan Zhou */ #include "WireVertexPeriodicIndexAttribute.h" #include <algorithm> #include <cmath> #include <functional> #include <list> #include <sstream> #include <Core/Exception.h> #include <Wires/WireNetwork/WireNetwork.h> #include <Misc/HashGrid.h> using na...
43.621212
80
0.551407
aprieels
344f4d6732cb33a9d1f2df8a68c5a51e0d663875
1,209
hpp
C++
gamess/libqc/src/matrix/plot.hpp
andremirt/v_cond
6b5c364d7cd4243686488b2bd4318be3927e07ea
[ "Unlicense" ]
null
null
null
gamess/libqc/src/matrix/plot.hpp
andremirt/v_cond
6b5c364d7cd4243686488b2bd4318be3927e07ea
[ "Unlicense" ]
null
null
null
gamess/libqc/src/matrix/plot.hpp
andremirt/v_cond
6b5c364d7cd4243686488b2bd4318be3927e07ea
[ "Unlicense" ]
null
null
null
#ifndef _MATRIX_PLOT_HPP_ #define _MATRIX_PLOT_HPP_ #include <boost/thread.hpp> #include <boost/shared_ptr.hpp> namespace matrix { namespace plot { struct expression { virtual double operator()(int i, int j) const = 0; virtual int size1() const = 0; virtual int size2() const = 0; }; template<...
21.589286
70
0.636063
andremirt
34512c39220f63a719f0f0e82be8e904e4e5f084
5,713
cpp
C++
mobility/planner_qp/traj_opt_basic/src/polynomial_basis.cpp
Robo0603179/astrobee
19e58806c63cddd9046342c7fa2ac7808f40ad3c
[ "Apache-2.0" ]
629
2017-08-31T23:09:00.000Z
2022-03-30T11:55:40.000Z
mobility/planner_qp/traj_opt_basic/src/polynomial_basis.cpp
Robo0603179/astrobee
19e58806c63cddd9046342c7fa2ac7808f40ad3c
[ "Apache-2.0" ]
269
2018-05-05T12:31:16.000Z
2022-03-30T22:04:11.000Z
mobility/planner_qp/traj_opt_basic/src/polynomial_basis.cpp
Robo0603179/astrobee
19e58806c63cddd9046342c7fa2ac7808f40ad3c
[ "Apache-2.0" ]
248
2017-08-31T23:20:56.000Z
2022-03-30T22:29:16.000Z
/* Copyright (c) 2017, United States Government, as represented by the * Administrator of the National Aeronautics and Space Administration. * * All rights reserved. * * The Astrobee platform is licensed under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with...
31.048913
80
0.650271
Robo0603179
3452bb2339526cbf4a5d55bc4edc9d45e3e80473
2,253
cpp
C++
plugins/community/repos/arjo_modules/src/Seq.cpp
guillaume-plantevin/VeeSeeVSTRack
76fafc8e721613669d6f5ae82a0f58ce923a91e1
[ "Zlib", "BSD-3-Clause" ]
233
2018-07-02T16:49:36.000Z
2022-02-27T21:45:39.000Z
plugins/community/repos/arjo_modules/src/Seq.cpp
guillaume-plantevin/VeeSeeVSTRack
76fafc8e721613669d6f5ae82a0f58ce923a91e1
[ "Zlib", "BSD-3-Clause" ]
24
2018-07-09T11:32:15.000Z
2022-01-07T01:45:43.000Z
plugins/community/repos/arjo_modules/src/Seq.cpp
guillaume-plantevin/VeeSeeVSTRack
76fafc8e721613669d6f5ae82a0f58ce923a91e1
[ "Zlib", "BSD-3-Clause" ]
24
2018-07-14T21:55:30.000Z
2021-05-04T04:20:34.000Z
#include "arjo_modules.hpp" #include "dsp/digital.hpp" namespace rack_plugin_arjo_modules { struct Seq : Module { enum ParamIds { ENUMS(VALUE_PARAM, 8), NUM_PARAMS }; enum InputIds { CLK_INPUT, RST_INPUT, NUM_INPUTS }; enum OutputIds { VALUE_OUTPUT, NUM_OUTPUTS }; enum LightIds { ENUMS(LIGHTS, ...
23.46875
124
0.696405
guillaume-plantevin
34570acbf06258f37721bba99c703e52fb2dba9a
1,038
cpp
C++
ishxiao/3087/12033155_AC_0MS_220K.cpp
ishx/poj
b4e5498117d7c8fc3d96eca2fa7f71f2dfa13c2d
[ "MIT" ]
null
null
null
ishxiao/3087/12033155_AC_0MS_220K.cpp
ishx/poj
b4e5498117d7c8fc3d96eca2fa7f71f2dfa13c2d
[ "MIT" ]
null
null
null
ishxiao/3087/12033155_AC_0MS_220K.cpp
ishx/poj
b4e5498117d7c8fc3d96eca2fa7f71f2dfa13c2d
[ "MIT" ]
null
null
null
//3087 #include<iostream> #include<string> #include<map> using namespace std; int main(int i,int k) { int test,c; int t=0; cin>>test; while(++t<=test) { cin>>c; char s1[201]; //牌堆1 char s2[201]; //牌堆2 char s12[401]; //预设最终的牌堆状态 cin>>s1>>s2>>s12; map<string,bool>vist; //记录出...
17.016393
73
0.462428
ishx
3457529236d584234fa2924ecfd856fdc6388cf9
531
cpp
C++
GeeksForGeeks/Detect cycle in an undirected graph.cpp
DSC-IIITKota/coding-platform
f596f3e2677c353a4723633ddb3b499df8791037
[ "MIT" ]
null
null
null
GeeksForGeeks/Detect cycle in an undirected graph.cpp
DSC-IIITKota/coding-platform
f596f3e2677c353a4723633ddb3b499df8791037
[ "MIT" ]
null
null
null
GeeksForGeeks/Detect cycle in an undirected graph.cpp
DSC-IIITKota/coding-platform
f596f3e2677c353a4723633ddb3b499df8791037
[ "MIT" ]
1
2020-12-04T12:46:52.000Z
2020-12-04T12:46:52.000Z
bool helper(int node, int parent, vector<bool> &visited, vector<int> g[]){ visited[node] = true; for(auto i : g[node]){ if(!visited[i]){ if(helper(i, node, visited, g)) return true; } else if(i!=parent || i==node) return true; } return fals...
24.136364
74
0.504708
DSC-IIITKota
345c8fb5fb11ef80c9b609f9b69e327c9d5b0983
1,850
cpp
C++
Estruturas de dados/douglas Maioli/Hash/hash.cpp
RodriguesAlonso/UNIVESP
c80c408f52136672ee4eea31fbfeedd8bca9abfb
[ "MIT" ]
null
null
null
Estruturas de dados/douglas Maioli/Hash/hash.cpp
RodriguesAlonso/UNIVESP
c80c408f52136672ee4eea31fbfeedd8bca9abfb
[ "MIT" ]
null
null
null
Estruturas de dados/douglas Maioli/Hash/hash.cpp
RodriguesAlonso/UNIVESP
c80c408f52136672ee4eea31fbfeedd8bca9abfb
[ "MIT" ]
null
null
null
#include<iostream> #include "hash.h" using namespace std; Hash::Hash(int max){ max_item = max; structure = new Aluno[max_item]; length = 0; } Hash::~Hash(){ delete []structure; } int Hash::getHash(Aluno aluno){ return aluno.getRa() % max_item; } int Hash::getLenght(){ return length; } void H...
23.417722
91
0.522703
RodriguesAlonso
3468120b76dc07b57974d2844c99b63d8c92d153
1,714
hpp
C++
src/vkg/render/pass/raytracing/comp_tlas_pass.hpp
wumo/vkg
3318a4730fd5d9e069717745b419ba5f1aeb095a
[ "MIT" ]
5
2020-09-05T07:18:57.000Z
2021-02-02T03:05:22.000Z
src/vkg/render/pass/raytracing/comp_tlas_pass.hpp
wumo/vkg
3318a4730fd5d9e069717745b419ba5f1aeb095a
[ "MIT" ]
1
2020-07-22T02:19:33.000Z
2020-07-22T02:19:33.000Z
src/vkg/render/pass/raytracing/comp_tlas_pass.hpp
wumo/vkg
3318a4730fd5d9e069717745b419ba5f1aeb095a
[ "MIT" ]
null
null
null
#pragma once #include "vkg/base/base.hpp" #include "vkg/render/scene_config.hpp" #include "vkg/render/graph/frame_graph.hpp" namespace vkg { struct CompTLASPassIn { FrameGraphResource<BufferInfo> meshInstances; FrameGraphResource<uint32_t> meshInstancesCount; FrameGraphResource<SceneConfig> sceneConfig; FrameG...
29.050847
66
0.770712
wumo
346c3e99e424048708e943c89a9f5b91abd3a83c
213
hpp
C++
third-party/sprawl/include/sprawl/common/noncopyable.hpp
3Jade/Ocean
a17bbd6ece6ba0a7539c933cadfc7faad564f9d2
[ "MIT" ]
null
null
null
third-party/sprawl/include/sprawl/common/noncopyable.hpp
3Jade/Ocean
a17bbd6ece6ba0a7539c933cadfc7faad564f9d2
[ "MIT" ]
null
null
null
third-party/sprawl/include/sprawl/common/noncopyable.hpp
3Jade/Ocean
a17bbd6ece6ba0a7539c933cadfc7faad564f9d2
[ "MIT" ]
null
null
null
#pragma once namespace sprawl { class noncopyable; } class sprawl::noncopyable { public: noncopyable() {} private: noncopyable(const noncopyable& other); noncopyable& operator=(const noncopyable& other); };
13.3125
50
0.746479
3Jade
346d2bf5d56aec1140d7113b1d67bb22a1eb9492
2,554
hpp
C++
libEPLViz/src/mainWidgets/PluginSelectorWidget.hpp
epl-viz/EPL-Viz
80d790110113f83da6845ce124997d13bfd45270
[ "BSD-3-Clause" ]
3
2017-01-23T13:29:21.000Z
2021-03-08T17:40:42.000Z
libEPLViz/src/mainWidgets/PluginSelectorWidget.hpp
epl-viz/EPL-Viz
80d790110113f83da6845ce124997d13bfd45270
[ "BSD-3-Clause" ]
4
2017-03-26T12:56:08.000Z
2017-08-18T20:32:37.000Z
libEPLViz/src/mainWidgets/PluginSelectorWidget.hpp
epl-viz/EPL-Viz
80d790110113f83da6845ce124997d13bfd45270
[ "BSD-3-Clause" ]
null
null
null
/* Copyright (c) 2017, EPL-Vizards * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright * notice, this list of conditi...
34.513514
82
0.723962
epl-viz
346e17f4393de3cb209d82fc6647b18cc5cf1b36
2,271
cpp
C++
introduction_to_cpp_programming/Statistics/statistics.cpp
CalciumCat/cpp-playground
21cc96e00f4bea768bbc3cb3f6f820ca81eab973
[ "MIT" ]
null
null
null
introduction_to_cpp_programming/Statistics/statistics.cpp
CalciumCat/cpp-playground
21cc96e00f4bea768bbc3cb3f6f820ca81eab973
[ "MIT" ]
null
null
null
introduction_to_cpp_programming/Statistics/statistics.cpp
CalciumCat/cpp-playground
21cc96e00f4bea768bbc3cb3f6f820ca81eab973
[ "MIT" ]
null
null
null
/* statistics.cpp contains functions that calculate the average and standard deviation of 1, 2, 3 or 4 real values */ #include<iostream> #include<cmath> #include "statistics.h" using namespace std; /* Function to calculate the average of one number */ double average(double first){ return first; } /* Function to c...
28.746835
85
0.726112
CalciumCat
3473687083f37e9078965ca178eaaec29fde1bec
6,244
cpp
C++
Client/TrainMobileModest/Source/TrainMobileModest/Fx/MaskMaterialReplacer.cpp
RaiiGitHub/TrainMobile
d083f72a4020c39180c8e9a8bfe401d237500ae3
[ "Apache-2.0" ]
4
2017-12-02T17:32:49.000Z
2020-12-08T06:20:21.000Z
Client/TrainMobileModest/Source/TrainMobileModest/Fx/MaskMaterialReplacer.cpp
RaiiGitHub/TrainMobile
d083f72a4020c39180c8e9a8bfe401d237500ae3
[ "Apache-2.0" ]
null
null
null
Client/TrainMobileModest/Source/TrainMobileModest/Fx/MaskMaterialReplacer.cpp
RaiiGitHub/TrainMobile
d083f72a4020c39180c8e9a8bfe401d237500ae3
[ "Apache-2.0" ]
1
2017-12-02T17:32:30.000Z
2017-12-02T17:32:30.000Z
// As Part of GuangZhou Training. #include "MaskMaterialReplacer.h" #include "TrainMobileModest.h" #include "TextureFinder.h" // Sets default values AMaskMaterialReplacer::AMaskMaterialReplacer() { // Set this actor to call Tick() every frame. You can turn this off to improve performance if you don't need it. Pr...
32.691099
115
0.772261
RaiiGitHub
34745d0a7e9aca3ca1c02e16a8e6b8bb7c57e5e7
4,134
cpp
C++
Libraries/WNContainers/test/src/WNRangePartitionTests.cpp
WNProject/WNFramework
293d2b550ed8745654cc0a1da391588ed6abb96b
[ "BSD-2-Clause" ]
6
2015-05-04T17:39:37.000Z
2022-03-04T02:30:28.000Z
Libraries/WNContainers/test/src/WNRangePartitionTests.cpp
WNProject/WNFramework
293d2b550ed8745654cc0a1da391588ed6abb96b
[ "BSD-2-Clause" ]
276
2015-05-27T21:30:31.000Z
2022-03-24T01:52:36.000Z
Libraries/WNContainers/test/src/WNRangePartitionTests.cpp
WNProject/WNFramework
293d2b550ed8745654cc0a1da391588ed6abb96b
[ "BSD-2-Clause" ]
2
2017-11-30T19:06:08.000Z
2020-09-30T23:56:48.000Z
// Copyright (c) 2021, WNProject 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 "WNContainers/inc/WNDynamicArray.h" #include "WNContainers/inc/WNRangePartition.h" #include "executable_test/inc/WNTestHarness.h" using range_...
33.609756
79
0.723512
WNProject
347853b713f279739e55622ddb84254ec06a87c8
2,963
cc
C++
components/service/ucloud/live/src/model/SetLiveStreamDelayConfigRequest.cc
wanguojian/AliOS-Things
47fce29d4dd39d124f0bfead27998ad7beea8441
[ "Apache-2.0" ]
89
2018-02-02T03:54:39.000Z
2021-12-13T01:32:55.000Z
components/service/ucloud/live/src/model/SetLiveStreamDelayConfigRequest.cc
wanguojian/AliOS-Things
47fce29d4dd39d124f0bfead27998ad7beea8441
[ "Apache-2.0" ]
89
2018-03-14T07:44:54.000Z
2021-11-26T07:43:25.000Z
components/service/ucloud/live/src/model/SetLiveStreamDelayConfigRequest.cc
wanguojian/AliOS-Things
47fce29d4dd39d124f0bfead27998ad7beea8441
[ "Apache-2.0" ]
69
2018-01-22T09:45:52.000Z
2022-03-28T07:58:38.000Z
/* * Copyright 2009-2017 Alibaba Cloud All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required...
25.110169
83
0.76409
wanguojian
347bd0f8d9e4b13ec2b4100dcdd1dcd221aefefe
1,067
cpp
C++
ext/n7zip/streams/out_stream.cpp
yagisumi/node-n7zip
d9648a99734115cead0c148fba6b0729a77eda1b
[ "MIT" ]
null
null
null
ext/n7zip/streams/out_stream.cpp
yagisumi/node-n7zip
d9648a99734115cead0c148fba6b0729a77eda1b
[ "MIT" ]
1
2020-10-16T17:26:54.000Z
2020-10-16T17:26:54.000Z
ext/n7zip/streams/out_stream.cpp
yagisumi/node-n7zip
d9648a99734115cead0c148fba6b0729a77eda1b
[ "MIT" ]
null
null
null
#include "out_stream.h" #include "../reader/extract_worker.h" namespace n7zip { OutStream::OutStream(UInt32 index, ExtractWorker* worker, UInt32 limit) : m_index(index) , m_worker(worker) { TRACE_THIS("+ OutStream"); if (limit > MIN_LIMIT) { m_limit = limit; } m_buffer = std::make_unique<OutBufferData...
19.759259
71
0.671978
yagisumi
34884ea74e47de370e1cda1462985be5f81c90f9
1,192
cpp
C++
src/model/StreetMap/MapPoint.cpp
bdmendes/feup-cal-parking
57e793d32a176c43c93bbf03a1b863bbe5b7a3e3
[ "MIT" ]
null
null
null
src/model/StreetMap/MapPoint.cpp
bdmendes/feup-cal-parking
57e793d32a176c43c93bbf03a1b863bbe5b7a3e3
[ "MIT" ]
null
null
null
src/model/StreetMap/MapPoint.cpp
bdmendes/feup-cal-parking
57e793d32a176c43c93bbf03a1b863bbe5b7a3e3
[ "MIT" ]
null
null
null
#include <stdexcept> #include "MapPoint.h" #include <math.h> MapPoint::MapPoint(double x, double y, double latitude, double longitude, bool park, ParkFields parkFields) : _x(x), _y(y), _latitude(latitude), _longitude(longitude), _park(park), _parkFields(parkFields) { } double MapPoint::getX() const { ret...
22.074074
107
0.656879
bdmendes
3488c980390ca04d2093e567051f18001e437889
698
cpp
C++
PETCS/Advanced/ccc12s5.cpp
dl4us/Competitive-Programming-1
d42fab3bd68168adbe4b5f594f19ee5dfcd1389b
[ "MIT" ]
null
null
null
PETCS/Advanced/ccc12s5.cpp
dl4us/Competitive-Programming-1
d42fab3bd68168adbe4b5f594f19ee5dfcd1389b
[ "MIT" ]
null
null
null
PETCS/Advanced/ccc12s5.cpp
dl4us/Competitive-Programming-1
d42fab3bd68168adbe4b5f594f19ee5dfcd1389b
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; const int MAX = 30; int R, C, K, dp[MAX][MAX]; bool cat[MAX][MAX]; int main() { cin.tie(0)->sync_with_stdio(0); #ifndef ONLINE_JUDGE freopen("../../input.txt", "r", stdin); freopen("../../output.txt", "w", stdout); #endif cin >> R >> C >> K; for...
24.928571
50
0.406877
dl4us
348ccf6be4a3baf4c57f4a00c508b4bbcec87533
985
cpp
C++
EssentialCPP/ch3_generic_algorithm.cpp
kingmax/cpp
b0c3abcfc77094421d906695a4ac167463a43b92
[ "Apache-2.0" ]
null
null
null
EssentialCPP/ch3_generic_algorithm.cpp
kingmax/cpp
b0c3abcfc77094421d906695a4ac167463a43b92
[ "Apache-2.0" ]
null
null
null
EssentialCPP/ch3_generic_algorithm.cpp
kingmax/cpp
b0c3abcfc77094421d906695a4ac167463a43b92
[ "Apache-2.0" ]
null
null
null
#include <algorithm> #include <vector> #include <iostream> #include <string> using namespace std; // only for fibnacci bool grow_vec(vector<int> &vec, int elem) { vector<int> temp(vec.size()); copy(vec.begin(), vec.end(), temp.begin()); sort(temp.begin(), temp.end()); int max_value = temp.empty() ? 0 : temp[temp.s...
21.888889
110
0.639594
kingmax
3492ae4184012ab6884cc874ce5dc8dcf4bea16b
7,315
cc
C++
mysql-dst/mysql-cluster/rapid/plugin/x/src/callback_command_delegate.cc
SJTU-IPADS/dst
897b929a692642cbf295c105d9d6e64090abb673
[ "Apache-2.0" ]
9
2020-12-17T01:59:13.000Z
2022-03-30T16:25:08.000Z
mysql-dst/mysql-cluster/rapid/plugin/x/src/callback_command_delegate.cc
SJTU-IPADS/dst
897b929a692642cbf295c105d9d6e64090abb673
[ "Apache-2.0" ]
1
2021-07-30T12:06:33.000Z
2021-07-31T10:16:09.000Z
mysql-dst/mysql-cluster/rapid/plugin/x/src/callback_command_delegate.cc
SJTU-IPADS/dst
897b929a692642cbf295c105d9d6e64090abb673
[ "Apache-2.0" ]
1
2021-08-01T13:47:07.000Z
2021-08-01T13:47:07.000Z
/* * Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; version 2 of the * License. * * This program is distri...
21.901198
117
0.703759
SJTU-IPADS
3496bc19069fcb6a3d8cd0f09ac2d3e1a8cab5da
1,464
cpp
C++
lammps-master/lib/poems/particle.cpp
rajkubp020/helloword
4bd22691de24b30a0f5b73821c35a7ac0666b034
[ "MIT" ]
null
null
null
lammps-master/lib/poems/particle.cpp
rajkubp020/helloword
4bd22691de24b30a0f5b73821c35a7ac0666b034
[ "MIT" ]
null
null
null
lammps-master/lib/poems/particle.cpp
rajkubp020/helloword
4bd22691de24b30a0f5b73821c35a7ac0666b034
[ "MIT" ]
null
null
null
/* *_________________________________________________________________________* * POEMS: PARALLELIZABLE OPEN SOURCE EFFICIENT MULTIBODY SOFTWARE * * DESCRIPTION: SEE READ-ME * * FILE NAME: particle.cpp * * A...
35.707317
77
0.486339
rajkubp020
34974bf01c6e284c51a6e036a32a9838985c1f88
1,951
cpp
C++
midisong.cpp
shikolad/PianoPractice
9d705f2064dcc5499f2a7feb1975164523912249
[ "MIT" ]
null
null
null
midisong.cpp
shikolad/PianoPractice
9d705f2064dcc5499f2a7feb1975164523912249
[ "MIT" ]
null
null
null
midisong.cpp
shikolad/PianoPractice
9d705f2064dcc5499f2a7feb1975164523912249
[ "MIT" ]
null
null
null
#include "midisong.h" #include <QFile> #include <QDataStream> MidiSong::MidiSong(QObject *parent) : QObject(parent) { } MidiSong::~MidiSong() { } void MidiSong::addTrack(MidiTrack *track){ trackList.append(track); } MidiSong *MidiSong::loadFromFile(QString filePath){ QFile file; file.setFileName(fileP...
21.206522
71
0.604818
shikolad
34a4b32adc1cb751010fde275d4cd1e5789224ba
920
hpp
C++
src/primitives/line.hpp
jgsogo/render_context
ec1d1ad6a39875e38a35035a0a0fcede9099ad10
[ "MIT" ]
1
2022-01-22T21:06:28.000Z
2022-01-22T21:06:28.000Z
src/primitives/line.hpp
jgsogo/render_context
ec1d1ad6a39875e38a35035a0a0fcede9099ad10
[ "MIT" ]
5
2022-02-06T11:06:55.000Z
2022-03-10T16:22:47.000Z
src/primitives/line.hpp
jgsogo/render_context
ec1d1ad6a39875e38a35035a0a0fcede9099ad10
[ "MIT" ]
null
null
null
#pragma once #include "line_element.hpp" namespace primitives { template<const char *Origin, typename TDrawList, const char *PixelsSymbol> struct Line : LineElement<Origin, TDrawList, PixelsSymbol> { using RenderContext = typename LineElement<Origin, TDrawList, PixelsSymbol>::RenderContext; u...
35.384615
131
0.693478
jgsogo
34a5062f7bfd22d0b9dbce3a722ddb2caf970d13
2,255
cpp
C++
src/coloc_node.cpp
saihv/coloc
260e78eb34b1b86928ac0bd3ddf29072325c7a2e
[ "MIT" ]
7
2018-10-24T05:12:48.000Z
2021-12-28T08:08:17.000Z
src/coloc_node.cpp
saihv/coloc
260e78eb34b1b86928ac0bd3ddf29072325c7a2e
[ "MIT" ]
1
2019-02-21T10:13:11.000Z
2019-02-24T18:30:05.000Z
src/coloc_node.cpp
saihv/coloc
260e78eb34b1b86928ac0bd3ddf29072325c7a2e
[ "MIT" ]
4
2018-10-31T04:02:04.000Z
2021-04-23T07:41:16.000Z
#include "coloc/coloc.hpp" using namespace openMVG; void readCalibData(std::pair <int, int>& imageSize, std::vector<Mat3>& K, std::vector<Vec3>& dist, std::string& fileName, unsigned int& numDrones) { std::ifstream calibData; calibData.open(fileName); std::string line; std::vector<double> values; std::getline(...
23.489583
146
0.680266
saihv
34a52666fb7f98df5a07fc1ff2bd56dca263a605
1,240
cpp
C++
source/graphics/hal/vulkan/vulkanpipelinestatemanager.cpp
lukaklar/Khan-Engine
2496366759649d282d725fa637b25fb1e0d4fdfa
[ "Apache-2.0" ]
null
null
null
source/graphics/hal/vulkan/vulkanpipelinestatemanager.cpp
lukaklar/Khan-Engine
2496366759649d282d725fa637b25fb1e0d4fdfa
[ "Apache-2.0" ]
null
null
null
source/graphics/hal/vulkan/vulkanpipelinestatemanager.cpp
lukaklar/Khan-Engine
2496366759649d282d725fa637b25fb1e0d4fdfa
[ "Apache-2.0" ]
null
null
null
#include "graphics/precomp.h" #ifdef KH_GFXAPI_VULKAN #include "graphics/hal/vulkan/vulkanpipelinestatemanager.hpp" namespace Khan { void VulkanPipelineStateManager::Create(VkDevice device) { // TODO: Load pipeline cache m_PipelineCache = VK_NULL_HANDLE; } void VulkanPipelineStateManager::Destroy(VkDevice d...
27.555556
88
0.779032
lukaklar
34a89aa4a8ce1d5355c55b9a53baf54a7c93f94f
2,903
cpp
C++
SRM615/AmebaDiv1.cpp
CanoeFZH/SRM
02e3eeaa6044b14640e450725f68684e392009cb
[ "MIT" ]
null
null
null
SRM615/AmebaDiv1.cpp
CanoeFZH/SRM
02e3eeaa6044b14640e450725f68684e392009cb
[ "MIT" ]
null
null
null
SRM615/AmebaDiv1.cpp
CanoeFZH/SRM
02e3eeaa6044b14640e450725f68684e392009cb
[ "MIT" ]
null
null
null
// BEGIN CUT HERE // END CUT HERE #include <sstream> #include <cstdio> #include <cstdlib> #include <iostream> #include <cstring> #include <algorithm> #include <cmath> #include <vector> #include <map> #include <string> #include <set> #include <algorithm> using namespace std; class AmebaDiv1 { public: int ...
40.887324
308
0.512573
CanoeFZH
34ab57be203613de1a4e9556f905b46a39c5c211
41,087
cpp
C++
source/dataIO/dataio_silo_utility.cpp
jfbucas/PION
e0a66aa301e4d94d581ba4df078f1a3b82faab99
[ "BSD-3-Clause" ]
4
2020-08-20T11:31:22.000Z
2020-12-05T13:30:03.000Z
source/dataIO/dataio_silo_utility.cpp
Mapoet/PION
51559b18f700c372974ac8658a266b6a647ec764
[ "BSD-3-Clause" ]
null
null
null
source/dataIO/dataio_silo_utility.cpp
Mapoet/PION
51559b18f700c372974ac8658a266b6a647ec764
[ "BSD-3-Clause" ]
4
2020-08-20T14:33:19.000Z
2022-03-07T10:29:34.000Z
/// \file dataio_silo_utility.cpp /// \author Jonathan Mackey /// /// This is code for analysing silo data files in serial mode; /// written so that a single function will determine if the file is /// serial or parallel and read in the data regardless. It gets the /// parameters for the grid from the header. /// /// ...
30.639075
90
0.560761
jfbucas
34af0db0e62fa70c384f9a59d3d093fc3b0aa016
927
hpp
C++
includeH/setup.hpp
mangoldk/AdvIonChannelMMOptimizer
c86f0564ef3419a46d5ffa0bed89ca4747090fae
[ "BSD-3-Clause" ]
1
2021-08-18T09:29:17.000Z
2021-08-18T09:29:17.000Z
includeH/setup.hpp
silvalab/AdvIonChannelMMOptimizer
c86f0564ef3419a46d5ffa0bed89ca4747090fae
[ "BSD-3-Clause" ]
null
null
null
includeH/setup.hpp
silvalab/AdvIonChannelMMOptimizer
c86f0564ef3419a46d5ffa0bed89ca4747090fae
[ "BSD-3-Clause" ]
null
null
null
#ifndef SETUP_HPP_ #define SETUP_HPP_ #include <iostream> #include "MarkovChannel.hpp" #include <string> #include <sstream> #include "math.hpp" #include "restart.hpp" #include <vector> #include <limits.h> #include <sys/stat.h> #include <sys/types.h> #include <unistd.h> class Setup{ private: int N; int times; int ...
23.175
72
0.730313
mangoldk
34b2ec3fef06b52b997f1ba68508614a2b39f56f
412
cpp
C++
cpp/arc034_1/main.cpp
kokosabu/atcoder
8d512587d234eb45941a2f6341c4dd003e6c9ad3
[ "Apache-2.0" ]
null
null
null
cpp/arc034_1/main.cpp
kokosabu/atcoder
8d512587d234eb45941a2f6341c4dd003e6c9ad3
[ "Apache-2.0" ]
null
null
null
cpp/arc034_1/main.cpp
kokosabu/atcoder
8d512587d234eb45941a2f6341c4dd003e6c9ad3
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <iomanip> using namespace std; int main() { int N; cin >> N; double max = 0.0; for(int i = 0; i < N; i++) { double a, b, c, d, e; cin >> a >> b >> c >> d >> e; double sum = a + b + c + d + (e * 110 / 900); if(sum > max) { max = s...
17.166667
53
0.419903
kokosabu
34b4ab14d82536fd27f5dcf8e900c358ea14aadb
3,183
hpp
C++
Source/Jobrocket/Job.hpp
jacobmilligan/JobRocket
8f6a505c6e4e8fe0f13720dd93d8248ca0572b22
[ "MIT" ]
1
2020-09-18T16:51:57.000Z
2020-09-18T16:51:57.000Z
Source/Jobrocket/Job.hpp
jacobmilligan/JobRocket
8f6a505c6e4e8fe0f13720dd93d8248ca0572b22
[ "MIT" ]
null
null
null
Source/Jobrocket/Job.hpp
jacobmilligan/JobRocket
8f6a505c6e4e8fe0f13720dd93d8248ca0572b22
[ "MIT" ]
null
null
null
// // Job.hpp // Jobrocket // // -------------------------------------------------------------- // // Created by // Jacob Milligan on 9/12/2017 // Copyright (c) 2016 Jacob Milligan. All rights reserved. // #pragma once #include "Jobrocket/Detail/Apply.hpp" #include "Jobrocket/Detail/AtomicCounter.hpp" #include...
26.525
99
0.638391
jacobmilligan
34b5920b6f66b364cde26fde95950fd3637fda29
774
cpp
C++
tests/format-io-tests/angular_momentum-tests/angular_momentum-tests.cpp
LoliGothick/mitama-dimensional
46b9ae3764bd472da9ed5372afd82e6b5d542543
[ "MIT" ]
34
2019-01-18T11:51:02.000Z
2021-09-17T02:46:43.000Z
tests/format-io-tests/angular_momentum-tests/angular_momentum-tests.cpp
LoliGothick/mitama-dimensional
46b9ae3764bd472da9ed5372afd82e6b5d542543
[ "MIT" ]
11
2019-02-10T23:12:07.000Z
2019-05-06T21:05:09.000Z
tests/format-io-tests/angular_momentum-tests/angular_momentum-tests.cpp
LoliGothick/mitama-dimensional
46b9ae3764bd472da9ed5372afd82e6b5d542543
[ "MIT" ]
5
2019-02-27T11:53:20.000Z
2021-03-20T21:59:59.000Z
#define CATCH_CONFIG_MAIN #include <catch2/catch.hpp> #include <mitama/dimensional/systems/si/derived_units/angular_momentum.hpp> #include <mitama/dimensional/systems/si/quantity.hpp> #include "../format_io_common.hpp" TEST_CASE("angular_momentum format test", "[quantity][abbreviation]") { REQUIRE(fmt(1 | systems::s...
48.375
186
0.745478
LoliGothick
34b6cb642b80758dae5f969e7f38914459304d51
5,897
cpp
C++
src/Ext/WeaponType/Hooks.Wave.cpp
Otamaa/Antares
7241a5ff20f4dbf7153cc77e16edca5c9db473d4
[ "BSD-4-Clause" ]
4
2021-04-24T04:34:06.000Z
2021-09-19T13:55:33.000Z
src/Ext/WeaponType/Hooks.Wave.cpp
Otamaa/Antares
7241a5ff20f4dbf7153cc77e16edca5c9db473d4
[ "BSD-4-Clause" ]
null
null
null
src/Ext/WeaponType/Hooks.Wave.cpp
Otamaa/Antares
7241a5ff20f4dbf7153cc77e16edca5c9db473d4
[ "BSD-4-Clause" ]
2
2021-08-17T14:44:45.000Z
2021-09-19T11:02:04.000Z
#include "Body.h" #include "../Techno/Body.h" #include <HouseClass.h> #include <WaveClass.h> // custom beam styles // 6FF5F5, 6 DEFINE_HOOK(6FF5F5, TechnoClass_Fire, 6) { GET(TechnoClass* const, pThis, ESI); GET(WeaponTypeClass* const, pSource, EBX); GET(TechnoClass* const, pTarget, EDI); auto const pData = Weap...
21.840741
95
0.686959
Otamaa
34bcd4184391ad1f18777b945b389f2dc5902a59
121
cpp
C++
sources/source.cpp
Ko71k/lab-05-stack
037400eed089f0aeab059e6fea91526a045b22b9
[ "MIT" ]
null
null
null
sources/source.cpp
Ko71k/lab-05-stack
037400eed089f0aeab059e6fea91526a045b22b9
[ "MIT" ]
null
null
null
sources/source.cpp
Ko71k/lab-05-stack
037400eed089f0aeab059e6fea91526a045b22b9
[ "MIT" ]
null
null
null
//Copyright 2022 Ko71k <rassmagin.rrr@gmail.com> #include <stdexcept> #include <stack.hpp> auto example() -> void { }
13.444444
48
0.694215
Ko71k
34bd3de71b160877ba5de357da0dabbb420294a7
2,120
cpp
C++
thirdparty/GeometricTools/WildMagic5/LibMathematics/NumericalAnalysis/Wm5SingularValueDecomposition.cpp
SoMa-Project/vision
ea8199d98edc363b2be79baa7c691da3a5a6cc86
[ "BSD-2-Clause-FreeBSD" ]
1
2020-07-24T23:40:01.000Z
2020-07-24T23:40:01.000Z
thirdparty/GeometricTools/WildMagic5/LibMathematics/NumericalAnalysis/Wm5SingularValueDecomposition.cpp
SoMa-Project/vision
ea8199d98edc363b2be79baa7c691da3a5a6cc86
[ "BSD-2-Clause-FreeBSD" ]
4
2020-05-19T18:14:33.000Z
2021-03-19T15:53:43.000Z
thirdparty/GeometricTools/WildMagic5/LibMathematics/NumericalAnalysis/Wm5SingularValueDecomposition.cpp
SoMa-Project/vision
ea8199d98edc363b2be79baa7c691da3a5a6cc86
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
// Geometric Tools, LLC // Copyright (c) 1998-2014 // Distributed under the Boost Software License, Version 1.0. // http://www.boost.org/LICENSE_1_0.txt // http://www.geometrictools.com/License/Boost/LICENSE_1_0.txt // // File Version: 5.0.3 (2014/07/02) #include "Wm5MathematicsPCH.h" #include "Wm5SingularVal...
34.193548
79
0.537264
SoMa-Project
34bfd73c403ff66faa96450e84c53da252cd7223
342
cpp
C++
src/OpenRTMPlugin/pybind11/PyOpenRTMPlugin.cpp
jun0/choreonoid
37167e52bfa054088272e1924d2062604104ac08
[ "MIT" ]
1
2019-08-23T05:48:47.000Z
2019-08-23T05:48:47.000Z
src/OpenRTMPlugin/pybind11/PyOpenRTMPlugin.cpp
jun0/choreonoid
37167e52bfa054088272e1924d2062604104ac08
[ "MIT" ]
2
2018-09-05T05:01:23.000Z
2019-08-19T21:03:15.000Z
src/OpenRTMPlugin/pybind11/PyOpenRTMPlugin.cpp
jun0/choreonoid
37167e52bfa054088272e1924d2062604104ac08
[ "MIT" ]
3
2019-12-21T17:54:10.000Z
2019-12-27T13:03:29.000Z
/*! @author Shin'ichiro Nakaoka */ #include <cnoid/PyUtil> namespace py = pybind11; namespace cnoid { void exportItems(py::module m); } PYBIND11_MODULE(OpenRTMPlugin, m) { m.doc() = "Choreonoid OpenRTMPlugin module"; py::module::import("cnoid.Base"); py::module::import("cnoid.BodyPlugin"); cno...
14.25
48
0.669591
jun0
34c7c3831acb508e26bf7799b9d2d103ca8ead86
1,091
cc
C++
src/small-int.cc
xdissent/node-linux-cec
7bb8ce1b434397e809e64bc9ab8ddbc70d4e1bfa
[ "MIT" ]
2
2019-05-13T21:34:33.000Z
2022-03-22T17:39:53.000Z
src/small-int.cc
xdissent/node-linux-cec
7bb8ce1b434397e809e64bc9ab8ddbc70d4e1bfa
[ "MIT" ]
4
2018-11-17T20:56:30.000Z
2022-01-22T06:58:52.000Z
src/small-int.cc
xdissent/node-linux-cec
7bb8ce1b434397e809e64bc9ab8ddbc70d4e1bfa
[ "MIT" ]
null
null
null
#include "small-int.h" #include <napi.h> #define UINT8_MASK 0xffffff00 #define UINT16_MASK 0xffff0000 namespace nodelinuxcec { SmallInt SmallInt::New(napi_env env, uint16_t val) { napi_value value; napi_status status = napi_create_uint32(env, val, &value); if (status != napi_ok) throw Napi::Error::New(env); ...
27.974359
79
0.724106
xdissent