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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d77119b641a712929ca901a639fa323075c9c867 | 2,774 | cc | C++ | GUI/Master/LogViewWindow.cc | jwillemsen/sidecar | 941d9f3b84d05ca405df1444d4d9fd0bde03887f | [
"MIT"
] | null | null | null | GUI/Master/LogViewWindow.cc | jwillemsen/sidecar | 941d9f3b84d05ca405df1444d4d9fd0bde03887f | [
"MIT"
] | null | null | null | GUI/Master/LogViewWindow.cc | jwillemsen/sidecar | 941d9f3b84d05ca405df1444d4d9fd0bde03887f | [
"MIT"
] | null | null | null | #include "QtGui/QSyntaxHighlighter"
#include "QtGui/QTextCharFormat"
#include "QtGui/QTextCursor"
#include "QtGui/QTextDocument"
#include "QtWidgets/QScrollBar"
#include "GUI/LogUtils.h"
#include "App.h"
#include "LogViewWindow.h"
#include "RunnerLog.h"
#include "TreeViewItem.h"
#include "ui_LogViewWindow.h"
using n... | 29.827957 | 112 | 0.666907 | jwillemsen |
d7733136bff8161c2876c70bb24915465ddf0b5c | 217 | cpp | C++ | Runtime/Collision/CCollisionEdge.cpp | Jcw87/urde | fb9ea9092ad00facfe957ece282a86c194e9cbda | [
"MIT"
] | 267 | 2016-03-10T21:59:16.000Z | 2021-03-28T18:21:03.000Z | Runtime/Collision/CCollisionEdge.cpp | cobalt2727/metaforce | 3bb05c0ee5dd9b1b8eaa861fc49713aef62c844a | [
"MIT"
] | 129 | 2016-03-12T10:17:32.000Z | 2021-04-05T20:45:19.000Z | Runtime/Collision/CCollisionEdge.cpp | cobalt2727/metaforce | 3bb05c0ee5dd9b1b8eaa861fc49713aef62c844a | [
"MIT"
] | 31 | 2016-03-20T00:20:11.000Z | 2021-03-10T21:14:11.000Z | #include "Runtime/Collision/CCollisionEdge.hpp"
namespace metaforce {
CCollisionEdge::CCollisionEdge(CInputStream& in) {
x0_index1 = in.readUint16Big();
x2_index2 = in.readUint16Big();
}
} // namespace metaforce
| 24.111111 | 50 | 0.764977 | Jcw87 |
d7752a314259e95928faedb2fcb0528604676f1b | 1,214 | cpp | C++ | src/apps/generate_model/src/verifiers_task.cpp | boazsade/machine_learinig_models | eb1f9eda0e4e25a6d028b25682dfb20628a20624 | [
"MIT"
] | null | null | null | src/apps/generate_model/src/verifiers_task.cpp | boazsade/machine_learinig_models | eb1f9eda0e4e25a6d028b25682dfb20628a20624 | [
"MIT"
] | null | null | null | src/apps/generate_model/src/verifiers_task.cpp | boazsade/machine_learinig_models | eb1f9eda0e4e25a6d028b25682dfb20628a20624 | [
"MIT"
] | null | null | null | #include "apps/generate_model/verifiers_task.h"
#include "libs/scores_evaluation/score_evaluation.h"
#include "logging.h"
params_output
preform_action(const AUC_ROC& task, const actions::experiment_input& arg)
{
LOG_INFO<<"running AUC ROC calculation on data size of "<<std::get<0>(arg).size();
auto res = c... | 28.904762 | 93 | 0.728995 | boazsade |
d7759e6eddbe3820cfd6c5d605415de59210ef0b | 5,855 | hpp | C++ | AVL & BST/avl.hpp | gch144/Data-Structures | 462cb009eebc7259409d44b9b5c62c9fd9051d48 | [
"MIT"
] | null | null | null | AVL & BST/avl.hpp | gch144/Data-Structures | 462cb009eebc7259409d44b9b5c62c9fd9051d48 | [
"MIT"
] | null | null | null | AVL & BST/avl.hpp | gch144/Data-Structures | 462cb009eebc7259409d44b9b5c62c9fd9051d48 | [
"MIT"
] | null | null | null | #include <iostream>
#include <fstream>
#include <vector>
#include <algorithm>
template <typename Key, typename Info>
class AVLTree
{
// Node of the AVL tree
struct Node
{
public:
Key key;
Info info;
Node *left;
Node *right;
int height;
Node(const Key &key, const Info &info)
{
... | 18.41195 | 82 | 0.523997 | gch144 |
d7762dfddf0d080accb89e7702688760127d1091 | 647 | cpp | C++ | isometric-deformation/ext/libigl/tests/include/igl/is_symmetric.cpp | jiayaozhang/CS-370-Mesh-Processing | 26646d29af8cbc0d461302afa137f12b508b8b1b | [
"MIT"
] | 1 | 2021-11-03T11:30:05.000Z | 2021-11-03T11:30:05.000Z | isometric-deformation/ext/libigl/tests/include/igl/is_symmetric.cpp | jiayaozhang/CS-370-Mesh-Processing | 26646d29af8cbc0d461302afa137f12b508b8b1b | [
"MIT"
] | null | null | null | isometric-deformation/ext/libigl/tests/include/igl/is_symmetric.cpp | jiayaozhang/CS-370-Mesh-Processing | 26646d29af8cbc0d461302afa137f12b508b8b1b | [
"MIT"
] | null | null | null |
#include <test_common.h>
#include <igl/is_symmetric.h>
TEST(is_symmetric, sparse)
{
{
Eigen::MatrixXd M(3,3);
M<<1,2,3,4,5,6,7,8,9;
Eigen::SparseMatrix<double> S = M.sparseView();
ASSERT_FALSE(igl::is_symmetric(S));
}
{
Eigen::MatrixXd M(3,3);
M<<1,2,3,2,4,5,3,5,6;
Eigen::SparseMatri... | 17.972222 | 51 | 0.573416 | jiayaozhang |
d7777457bca06068d235a8522f6f391f74e9c2ef | 873 | cpp | C++ | Coursework 1/MultiThreading/MultiThreading/main.cpp | BarrySoap/Concurrent-Parallel-Systems | 628b84c7a7a8ef01b5f58216e35e74f03d066d95 | [
"MIT"
] | 1 | 2018-11-05T15:05:02.000Z | 2018-11-05T15:05:02.000Z | Coursework 1/MultiThreading/MultiThreading/main.cpp | BarrySoap/Concurrent-Parallel-Systems | 628b84c7a7a8ef01b5f58216e35e74f03d066d95 | [
"MIT"
] | null | null | null | Coursework 1/MultiThreading/MultiThreading/main.cpp | BarrySoap/Concurrent-Parallel-Systems | 628b84c7a7a8ef01b5f58216e35e74f03d066d95 | [
"MIT"
] | null | null | null | #include <chrono>
#include <fstream>
#include "block_chain.h"
using namespace std;
using namespace chrono;
int main()
{
block_chain bchain;
// Open a file in the root folder,
bchain.results.open("MultiThreading.csv", ofstream::out);
// And add the headings for average block time and difficulty.
bchain.results <<... | 26.454545 | 93 | 0.672394 | BarrySoap |
d77d7a87c950369f5b31f1c9220c5f503a2af38d | 1,797 | hpp | C++ | apps/router/api/assfire/router/api/RouteDetails.hpp | Eaglegor/assfire-suite | 6c8140e848932b6ce22b6addd07a93abba652c01 | [
"MIT"
] | null | null | null | apps/router/api/assfire/router/api/RouteDetails.hpp | Eaglegor/assfire-suite | 6c8140e848932b6ce22b6addd07a93abba652c01 | [
"MIT"
] | null | null | null | apps/router/api/assfire/router/api/RouteDetails.hpp | Eaglegor/assfire-suite | 6c8140e848932b6ce22b6addd07a93abba652c01 | [
"MIT"
] | null | null | null | #pragma once
#include <utility>
#include <vector>
#include "assfire/concepts/Location.hpp"
#include "RouteInfo.hpp"
namespace assfire::router {
class RouteDetails {
public:
using Waypoint = Location;
using Waypoints = std::vector<Waypoint>;
RouteDetails() :
summary(Rou... | 26.426471 | 86 | 0.554257 | Eaglegor |
d784cf0da031e7f68610edb83169de9c657102de | 9,275 | cpp | C++ | src/gpre/pat.cpp | aafemt/firebird | 6f5617524996a8ef6eb721cc782d7fa3513b7d3b | [
"Condor-1.1"
] | null | null | null | src/gpre/pat.cpp | aafemt/firebird | 6f5617524996a8ef6eb721cc782d7fa3513b7d3b | [
"Condor-1.1"
] | null | null | null | src/gpre/pat.cpp | aafemt/firebird | 6f5617524996a8ef6eb721cc782d7fa3513b7d3b | [
"Condor-1.1"
] | null | null | null | //____________________________________________________________
//
// PROGRAM: Language Preprocessor
// MODULE: pat.cpp
// DESCRIPTION: Code generator pattern generator
//
// The contents of this file are subject to the Interbase Public
// License Version 1.0 (the "License"); you may not use this file
// except i... | 19.734043 | 88 | 0.612183 | aafemt |
d78cf77ec801ae1619175bab3bcd12fd09dade2a | 10,541 | cc | C++ | xtcdata/xtcdata/app/amiwriter.cc | AntoineDujardin/lcls2 | 8b9d2815497fbbabb4d37800fd86a7be1728b552 | [
"BSD-3-Clause-LBNL"
] | null | null | null | xtcdata/xtcdata/app/amiwriter.cc | AntoineDujardin/lcls2 | 8b9d2815497fbbabb4d37800fd86a7be1728b552 | [
"BSD-3-Clause-LBNL"
] | null | null | null | xtcdata/xtcdata/app/amiwriter.cc | AntoineDujardin/lcls2 | 8b9d2815497fbbabb4d37800fd86a7be1728b552 | [
"BSD-3-Clause-LBNL"
] | null | null | null | #include "xtcdata/xtc/DescData.hh"
#include "xtcdata/xtc/Dgram.hh"
#include "xtcdata/xtc/VarDef.hh"
#include "xtcdata/xtc/NamesLookup.hh"
#include <stdio.h>
#include <stdlib.h>
#include <strings.h>
#include <unistd.h>
#include <stdint.h>
#include <sys/time.h>
using namespace XtcData;
#define BUFSIZE 0x4000000
class... | 32.838006 | 116 | 0.625652 | AntoineDujardin |
d78d273df487de6baa7bd73cebfb9d65870e363c | 2,317 | cpp | C++ | test/BytesTest.cpp | TheOsch2/boolinq | 5464cf801b046026e8d32cb37d9985fd672a34ec | [
"MIT"
] | 473 | 2015-01-03T03:58:48.000Z | 2022-03-18T19:27:09.000Z | test/BytesTest.cpp | TheOsch2/boolinq | 5464cf801b046026e8d32cb37d9985fd672a34ec | [
"MIT"
] | 58 | 2015-01-13T14:43:35.000Z | 2022-03-02T16:48:55.000Z | test/BytesTest.cpp | TheOsch2/boolinq | 5464cf801b046026e8d32cb37d9985fd672a34ec | [
"MIT"
] | 71 | 2015-02-17T20:30:50.000Z | 2022-03-21T00:56:54.000Z | #include <vector>
#include <string>
#include <gtest/gtest.h>
#include "CommonTests.h"
#include "boolinq.h"
using namespace boolinq;
//////////////////////////////////////////////////////////////////////////
TEST(Bytes, OneByteDefault)
{
unsigned char src[] = {0xAA};
int ans[] = {0xAA};
auto rng = from... | 18.244094 | 74 | 0.540354 | TheOsch2 |
d78eadf35b3641381ed81b8e9eb92a3a5f3153e8 | 1,607 | cpp | C++ | test/metafunctions.cpp | GuapoTaco/Modular-ECS | 479114936eba14fa701787d67de147c19bd6ce04 | [
"MIT"
] | null | null | null | test/metafunctions.cpp | GuapoTaco/Modular-ECS | 479114936eba14fa701787d67de147c19bd6ce04 | [
"MIT"
] | null | null | null | test/metafunctions.cpp | GuapoTaco/Modular-ECS | 479114936eba14fa701787d67de147c19bd6ce04 | [
"MIT"
] | null | null | null | #include <boost/test/unit_test.hpp>
#include <ecs/manager.hpp>
#define GET_HANA_CONSTANT_VALUE(name) ::std::decay_t<decltype(name)>::value
using namespace ecs;
BOOST_AUTO_TEST_CASE(get_index_of_first_matching_test)
{
auto tup = make_type_tuple<int, char, double>;
BOOST_TEST(
GET_HANA_CONSTANT_VALUE(get_index_o... | 33.479167 | 96 | 0.766646 | GuapoTaco |
d78f71aee3d4008daa43d9d4e16c196dd271b699 | 3,212 | cpp | C++ | 11. DP 2/Practice/4_Square_brackets.cpp | bhavinvirani/Competitive-Programming-coding-ninjas | 5e50ae7ad3fc969a4970f91f8d895c986353bb71 | [
"MIT"
] | null | null | null | 11. DP 2/Practice/4_Square_brackets.cpp | bhavinvirani/Competitive-Programming-coding-ninjas | 5e50ae7ad3fc969a4970f91f8d895c986353bb71 | [
"MIT"
] | null | null | null | 11. DP 2/Practice/4_Square_brackets.cpp | bhavinvirani/Competitive-Programming-coding-ninjas | 5e50ae7ad3fc969a4970f91f8d895c986353bb71 | [
"MIT"
] | null | null | null | /* Square Brackets
Send Feedback
You are given:
a positive integer n,
an integer k, 1<=k<=n,
an increasing sequence of k integers 0 < s1 < s2 < ... < sk <= 2n.
What is the number of proper bracket expressions of length 2n with opening brackets appearing in positions s1, s2,...,sk?
Illustration
Several proper bracket ex... | 25.291339 | 146 | 0.562578 | bhavinvirani |
d79317ca2c74ce53b6fd74b8d6a2b56ca19e0b1b | 13,880 | cpp | C++ | src/VK/PostProc/BlurPS.cpp | whatevermarch/Cauldron | b3a4f62bf79034240b979d575e67ee51790ab435 | [
"MIT"
] | 1 | 2021-10-13T06:15:46.000Z | 2021-10-13T06:15:46.000Z | src/VK/PostProc/BlurPS.cpp | whatevermarch/Cauldron | b3a4f62bf79034240b979d575e67ee51790ab435 | [
"MIT"
] | null | null | null | src/VK/PostProc/BlurPS.cpp | whatevermarch/Cauldron | b3a4f62bf79034240b979d575e67ee51790ab435 | [
"MIT"
] | null | null | null | // AMD Cauldron code
//
// Copyright(c) 2018 Advanced Micro Devices, Inc.All rights reserved.
// 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 limitat... | 45.064935 | 186 | 0.637896 | whatevermarch |
d7942f9c9247fc0e3ca862c1802c0286e22b8c14 | 1,773 | cpp | C++ | app/tools/KinectConnectTest.cpp | ycjungSubhuman/Kinect-Face | b582bd8572e998617b5a0d197b4ac9bd4a9b42be | [
"CNRI-Python"
] | 7 | 2018-08-12T22:05:26.000Z | 2021-05-14T08:39:32.000Z | app/tools/KinectConnectTest.cpp | ycjungSubhuman/Kinect-Face | b582bd8572e998617b5a0d197b4ac9bd4a9b42be | [
"CNRI-Python"
] | null | null | null | app/tools/KinectConnectTest.cpp | ycjungSubhuman/Kinect-Face | b582bd8572e998617b5a0d197b4ac9bd4a9b42be | [
"CNRI-Python"
] | 2 | 2019-02-14T08:29:16.000Z | 2019-03-01T07:11:17.000Z | #include <iostream>
#include "cloud/cloud_pipe.h"
#include "io/device.h"
namespace {
using namespace telef::io;
using namespace telef::types;
using namespace telef::cloud;
} // namespace
/**
* Continuously get frames of point cloud and image.
*
* Prints size of pointcloud and size of the image on every frame recei... | 32.236364 | 80 | 0.737733 | ycjungSubhuman |
d795b06a78d71ff25d3c40f3d3c245f3a7893f50 | 8,299 | cpp | C++ | examples/mantevo/miniFE-1.1/optional/stk_mesh/base/Bucket.cpp | sdressler/objekt | 30ee938f5cb06193871f802be0bbdae6ecd26a33 | [
"BSD-3-Clause"
] | 1 | 2019-11-26T22:24:12.000Z | 2019-11-26T22:24:12.000Z | examples/mantevo/miniFE-1.1/optional/stk_mesh/base/Bucket.cpp | sdressler/objekt | 30ee938f5cb06193871f802be0bbdae6ecd26a33 | [
"BSD-3-Clause"
] | null | null | null | examples/mantevo/miniFE-1.1/optional/stk_mesh/base/Bucket.cpp | sdressler/objekt | 30ee938f5cb06193871f802be0bbdae6ecd26a33 | [
"BSD-3-Clause"
] | null | null | null | /*------------------------------------------------------------------------*/
/* Copyright 2010 Sandia Corporation. */
/* Under terms of Contract DE-AC04-94AL85000, there is a non-exclusive */
/* license for use of this work by or on behalf of the U.S. Government. */
/* Export o... | 31.435606 | 115 | 0.554284 | sdressler |
d7965ae5f13da7506c2a6bd89f02667f04f807c9 | 3,242 | cpp | C++ | client/include/samp/CActor.cpp | MayconFelipeA/sampvoiceatt | 3fae8a2cf37dfad2e3925d56aebfbbcd4162b0ff | [
"MIT"
] | 97 | 2019-01-13T20:19:19.000Z | 2022-02-27T18:47:11.000Z | client/include/samp/CActor.cpp | MayconFelipeA/sampvoiceatt | 3fae8a2cf37dfad2e3925d56aebfbbcd4162b0ff | [
"MIT"
] | 92 | 2019-01-23T23:02:31.000Z | 2022-03-23T19:59:40.000Z | client/include/samp/CActor.cpp | MayconFelipeA/sampvoiceatt | 3fae8a2cf37dfad2e3925d56aebfbbcd4162b0ff | [
"MIT"
] | 69 | 2019-01-13T22:01:40.000Z | 2022-03-09T00:55:49.000Z | /*
This is a SAMP (0.3.7-R1/R3) API project file.
Developer: LUCHARE <luchare.dev@gmail.com>
See more here https://github.com/LUCHARE/SAMP-API
Copyright (c) 2018 BlastHack Team <BlastHack.Net>. All rights reserved.
*/
#include "CActor.h"
#if defined(SAMP_R1)
SAMP::CActor::CActor(int nSkin, CVectorSA vPos, fl... | 32.09901 | 183 | 0.713757 | MayconFelipeA |
d796fb41d4cb992c1d40777d98cb8b76a56b8d11 | 619 | cpp | C++ | Siv3D/src/Siv3D/BoolFormat/SivBoolFormat.cpp | Fuyutsubaki/OpenSiv3D | 4370f6ebe28addd39bfdd75915c5a18e3e5e9273 | [
"MIT"
] | null | null | null | Siv3D/src/Siv3D/BoolFormat/SivBoolFormat.cpp | Fuyutsubaki/OpenSiv3D | 4370f6ebe28addd39bfdd75915c5a18e3e5e9273 | [
"MIT"
] | null | null | null | Siv3D/src/Siv3D/BoolFormat/SivBoolFormat.cpp | Fuyutsubaki/OpenSiv3D | 4370f6ebe28addd39bfdd75915c5a18e3e5e9273 | [
"MIT"
] | 1 | 2019-10-06T17:09:26.000Z | 2019-10-06T17:09:26.000Z | //-----------------------------------------------
//
// This file is part of the Siv3D Engine.
//
// Copyright (c) 2008-2018 Ryo Suzuki
// Copyright (c) 2016-2018 OpenSiv3D Project
//
// Licensed under the MIT License.
//
//-----------------------------------------------
# include <Siv3D/BoolFormat.hpp>
# include <Siv... | 23.807692 | 73 | 0.589661 | Fuyutsubaki |
d798a82e4f7ba69b2133203e210918f14b22002e | 1,604 | cpp | C++ | firmware/src/views/menu.cpp | brianpepin/lpm | 969105a6374fa65c2de4e74a119d614b32e6ea2c | [
"MIT"
] | 3 | 2020-06-02T01:23:18.000Z | 2022-02-25T22:20:24.000Z | firmware/src/views/menu.cpp | brianpepin/lpm | 969105a6374fa65c2de4e74a119d614b32e6ea2c | [
"MIT"
] | null | null | null | firmware/src/views/menu.cpp | brianpepin/lpm | 969105a6374fa65c2de4e74a119d614b32e6ea2c | [
"MIT"
] | null | null | null | #include <globals.h>
#include <views/menu.h>
#include <adc.h>
#include <power.h>
#include <logger.h>
#define MI_CLEAR 0
#define MI_LOGGING 1
#define MI_CALIBRATION 2
#define MI_POWER_OFF 3
const char PROGMEM _menuTitle[] = "Menu";
const char PROGMEM _miClear[] = "Clear";
const char PROGMEM _... | 19.095238 | 68 | 0.589776 | brianpepin |
d79e6c7bc79b39e41e70ca3a4aad12d7772a9bfe | 1,976 | cpp | C++ | winshell/src/echo/main.cpp | ZhangShuaiH/demos | 8e4926e6fb40de54d9b50b9e36e3e90ea541e719 | [
"Apache-2.0"
] | 1 | 2021-05-18T14:07:05.000Z | 2021-05-18T14:07:05.000Z | winshell/src/echo/main.cpp | ZhangShuaiH/demos | 8e4926e6fb40de54d9b50b9e36e3e90ea541e719 | [
"Apache-2.0"
] | null | null | null | winshell/src/echo/main.cpp | ZhangShuaiH/demos | 8e4926e6fb40de54d9b50b9e36e3e90ea541e719 | [
"Apache-2.0"
] | null | null | null | #include <iostream>
#include <sstream>
#include <ctype.h>
using namespace std;
char newLine = '\n';
void noNewLine()
{
newLine = 0;
}
void help()
{
string command = "echo ";
cout<<command<<"[option].. [msg].."<<endl;
cout<<endl;
cout<<"options:"<<endl;
cout<<'\t'<<"-n --nonewline\t... | 19.564356 | 78 | 0.423583 | ZhangShuaiH |
d79f313e79434f7e056e0002d7af2fad3b4810e2 | 5,825 | cpp | C++ | syncfusion/cpp_succinctly/ExceptionsSample/ExceptionsSample.cpp | gusenov/examples-cpp | 2cd0abe15bf534c917bcfbca70694daaa19c4612 | [
"MIT"
] | 12 | 2019-08-18T19:28:55.000Z | 2022-03-29T12:55:20.000Z | syncfusion/cpp_succinctly/ExceptionsSample/ExceptionsSample.cpp | gusenov/examples-cpp | 2cd0abe15bf534c917bcfbca70694daaa19c4612 | [
"MIT"
] | null | null | null | syncfusion/cpp_succinctly/ExceptionsSample/ExceptionsSample.cpp | gusenov/examples-cpp | 2cd0abe15bf534c917bcfbca70694daaa19c4612 | [
"MIT"
] | null | null | null | #include <iostream>
#include <ostream>
#include <memory>
#include <exception>
#include <stdexcept>
#include <typeinfo>
#include <algorithm>
#include <cstdlib>
#include "InvalidArgumentException.h"
#include "../pchar.h"
using namespace CppForCsExceptions;
using namespace std;
class ThrowClass {
public:
ThrowClas... | 33.285714 | 80 | 0.680343 | gusenov |
d79fd6cd08a4cd2b58ea37a6ad691db9fa661f0c | 1,750 | hpp | C++ | consolemgr/include/Client.hpp | maximaximal/piga | 54530c208e59eaaf8d44c1f8d640f5ec028d4126 | [
"Zlib"
] | 2 | 2015-01-07T18:36:39.000Z | 2015-01-08T13:54:43.000Z | consolemgr/include/Client.hpp | maximaximal/piga | 54530c208e59eaaf8d44c1f8d640f5ec028d4126 | [
"Zlib"
] | null | null | null | consolemgr/include/Client.hpp | maximaximal/piga | 54530c208e59eaaf8d44c1f8d640f5ec028d4126 | [
"Zlib"
] | null | null | null | #ifndef CLIENT_HPP
#define CLIENT_HPP
#include <memory>
#include <QObject>
#include <Player.hpp>
namespace NetworkedClient
{
class PlayerManager;
class Client;
}
class Client : public QObject
{
Q_OBJECT
Q_PROPERTY(QString name READ name WRITE setName NOTIFY nameChanged)
Q_PROPERTY(Sta... | 25.362319 | 81 | 0.633143 | maximaximal |
d7a5226fd3c6dd9a220e51b64739d0304a7e5700 | 1,829 | cpp | C++ | Wk10_Optimization/demo2400_helpers.cpp | jwatson-CO-edu/CSCI2400-201_Demo | 166c411c1deac9e76d831146dab5b5b75b9286c7 | [
"MIT"
] | 1 | 2020-09-04T21:30:57.000Z | 2020-09-04T21:30:57.000Z | Wk10_Optimization/demo2400_helpers.cpp | jwatson-CO-edu/CSCI2400-201_Demo | 166c411c1deac9e76d831146dab5b5b75b9286c7 | [
"MIT"
] | null | null | null | Wk10_Optimization/demo2400_helpers.cpp | jwatson-CO-edu/CSCI2400-201_Demo | 166c411c1deac9e76d831146dab5b5b75b9286c7 | [
"MIT"
] | null | null | null | /*
demo2400_helpers.cpp
James Watson, 2020-10
Helper functions for CSCI 2400 @ CU Boulder
*/
#include "demo2400_helpers.hpp"
void print_binary_int( unsigned int arg ){
// print the binary representation of a uint
printf( "0b " );
for( int i = 0 ; i < 32 ; i++ ){
printf( "%i" , ( arg >> ( 31 - i... | 25.760563 | 84 | 0.579005 | jwatson-CO-edu |
d7a5b3513bd6df24b11c3b4f0592f2c2a2b0bc61 | 121 | cpp | C++ | error.cpp | s-hiiragi/hii | 318252225d0eed884f4b09a022f8ba54290d022c | [
"Apache-2.0"
] | null | null | null | error.cpp | s-hiiragi/hii | 318252225d0eed884f4b09a022f8ba54290d022c | [
"Apache-2.0"
] | null | null | null | error.cpp | s-hiiragi/hii | 318252225d0eed884f4b09a022f8ba54290d022c | [
"Apache-2.0"
] | null | null | null | #include <string>
#include "error.h"
namespace my
{
char error_format::tmp[256] = {};
std::string error_format::s;
}
| 10.083333 | 33 | 0.669421 | s-hiiragi |
d7a8f19b10136dcfc8ebc24eda6273e5e3c66c32 | 599 | cpp | C++ | cwsdk/cube.cpp | Andoryuuta/cwsdk | a3672e9c9645e6a0de388e07483e4f8bf22eb7fb | [
"MIT"
] | 2 | 2019-07-08T13:55:13.000Z | 2021-05-06T23:35:46.000Z | cwsdk/cube.cpp | Andoryuuta/cwsdk | a3672e9c9645e6a0de388e07483e4f8bf22eb7fb | [
"MIT"
] | 4 | 2018-11-09T12:18:17.000Z | 2019-07-08T19:16:24.000Z | cwsdk/cube.cpp | Andoryuuta/cwsdk | a3672e9c9645e6a0de388e07483e4f8bf22eb7fb | [
"MIT"
] | 1 | 2019-07-07T10:05:56.000Z | 2019-07-07T10:05:56.000Z | #include "cube.h"
#include <iostream>
#include <Windows.h>
#include "msvc_bincompat.h"
#include "cube_funcs.h"
#include "globals.h"
namespace cube {
GameController* BusywaitForGameController() {
auto imageBase = (uint32_t)GetModuleHandleA(NULL);
GameController** gcp = (GameController**)(imageBase + 0x36B1C8);
... | 21.392857 | 66 | 0.699499 | Andoryuuta |
d7a9d59035fd9d38f62374727b3bc16b76f06745 | 2,583 | cc | C++ | GUI/Splittable.cc | jwillemsen/sidecar | 941d9f3b84d05ca405df1444d4d9fd0bde03887f | [
"MIT"
] | null | null | null | GUI/Splittable.cc | jwillemsen/sidecar | 941d9f3b84d05ca405df1444d4d9fd0bde03887f | [
"MIT"
] | null | null | null | GUI/Splittable.cc | jwillemsen/sidecar | 941d9f3b84d05ca405df1444d4d9fd0bde03887f | [
"MIT"
] | null | null | null | #include "Splittable.h"
using namespace SideCar::GUI;
void
Splittable::setContents(QWidget* contents)
{
addWidget(contents);
setCurrentWidget(contents);
}
Splittable*
Splittable::locateChild(bool secondOne) const
{
QSplitter* splitter = dynamic_cast<QSplitter*>(currentWidget());
QWidget* widget = spl... | 24.140187 | 96 | 0.710801 | jwillemsen |
92e19a9145fa8222fb23c209ca0007fa0cec6d81 | 3,240 | cpp | C++ | src/common/backend/utils/adt/quote.cpp | opengauss-mirror/openGauss-graph | 6beb138fd00abdbfddc999919f90371522118008 | [
"MulanPSL-1.0"
] | 360 | 2020-06-30T14:47:34.000Z | 2022-03-31T15:21:53.000Z | src/common/backend/utils/adt/quote.cpp | opengauss-mirror/openGauss-graph | 6beb138fd00abdbfddc999919f90371522118008 | [
"MulanPSL-1.0"
] | 4 | 2020-06-30T15:09:16.000Z | 2020-07-14T06:20:03.000Z | src/common/backend/utils/adt/quote.cpp | opengauss-mirror/openGauss-graph | 6beb138fd00abdbfddc999919f90371522118008 | [
"MulanPSL-1.0"
] | 133 | 2020-06-30T14:47:36.000Z | 2022-03-25T15:29:00.000Z | /* -------------------------------------------------------------------------
*
* quote.c
* Functions for quoting identifiers and literals
*
* Portions Copyright (c) 2000-2012, PostgreSQL Global Development Group
*
*
* IDENTIFICATION
* src/backend/utils/adt/quote.c
*
* ------------------------------------... | 24 | 115 | 0.597222 | opengauss-mirror |
92e49af901e8c6d0e92f93792e55f8dd1cb9d1a4 | 428 | hpp | C++ | src/Qt5Network/QAbstractNetworkCache.hpp | dafrito/luacxx | 278bf8a7c6664536ea7f1dd1f59d35b6fb8d2dad | [
"MIT"
] | 128 | 2015-01-07T19:47:09.000Z | 2022-01-22T19:42:14.000Z | src/Qt5Network/QAbstractNetworkCache.hpp | dafrito/luacxx | 278bf8a7c6664536ea7f1dd1f59d35b6fb8d2dad | [
"MIT"
] | null | null | null | src/Qt5Network/QAbstractNetworkCache.hpp | dafrito/luacxx | 278bf8a7c6664536ea7f1dd1f59d35b6fb8d2dad | [
"MIT"
] | 24 | 2015-01-07T19:47:10.000Z | 2022-01-25T17:42:37.000Z | #ifndef luacxx_QAbstractNetworkCache_INCLUDED
#define luacxx_QAbstractNetworkCache_INCLUDED
#include "../stack.hpp"
#include <QAbstractNetworkCache>
#include "../Qt5Core/QObject.hpp"
// http://qt-project.org/doc/qt-5/qabstractnetworkcache.html
LUA_METATABLE_INHERIT(QAbstractNetworkCache, QObject)
extern "C" int l... | 25.176471 | 74 | 0.829439 | dafrito |
92e4e69ee851faaa71edec6736ccd4fc7cafacd5 | 3,006 | hpp | C++ | src/Controller/PhysicsFacade/RigidBody.hpp | MajorArkwolf/Project-Blue-Engine | e5fc6416d0a41a1251f1b369047e0ea1097775da | [
"MIT"
] | 1 | 2021-04-18T09:49:38.000Z | 2021-04-18T09:49:38.000Z | src/Controller/PhysicsFacade/RigidBody.hpp | MajorArkwolf/ICT397-Project-Blue | e5fc6416d0a41a1251f1b369047e0ea1097775da | [
"MIT"
] | null | null | null | src/Controller/PhysicsFacade/RigidBody.hpp | MajorArkwolf/ICT397-Project-Blue | e5fc6416d0a41a1251f1b369047e0ea1097775da | [
"MIT"
] | 2 | 2020-06-13T15:24:01.000Z | 2021-04-15T20:25:49.000Z | #pragma once
#include <glm/gtc/quaternion.hpp>
#include <glm/vec3.hpp>
namespace Physics {
enum class RigidBodyType { Static, Kinematic, Dynamic };
/**
* @class RigidBody
* A pure virtual class that represents a RigidBody for use within a dynamics world
*/
class RigidBody {
public:
... | 40.08 | 98 | 0.50998 | MajorArkwolf |
92e88cc08ce80fab430a5bf5b3b0977b7e492405 | 1,630 | cpp | C++ | src/util/indent.cpp | nachawati/zorba | f7719e4c0e6f03d9aa54a856bb9704c8bdfdfda3 | [
"Apache-2.0"
] | 40 | 2016-06-23T18:04:37.000Z | 2022-03-18T22:24:27.000Z | src/util/indent.cpp | nachawati/zorba | f7719e4c0e6f03d9aa54a856bb9704c8bdfdfda3 | [
"Apache-2.0"
] | 17 | 2016-10-04T14:05:47.000Z | 2020-02-20T01:37:40.000Z | src/util/indent.cpp | nachawati/zorba | f7719e4c0e6f03d9aa54a856bb9704c8bdfdfda3 | [
"Apache-2.0"
] | 18 | 2017-02-20T11:13:09.000Z | 2022-02-10T09:48:07.000Z | /*
* Copyright 2006-2016 zorba.io
*
* 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... | 33.265306 | 79 | 0.717791 | nachawati |
92e9a555fed018e70671d0b964c3ee9785a03b52 | 3,938 | cpp | C++ | src/game.cpp | toivjon/sdl2-pong | edf08a56d54759ae5074d52a8e9a81b746c02561 | [
"MIT"
] | null | null | null | src/game.cpp | toivjon/sdl2-pong | edf08a56d54759ae5074d52a8e9a81b746c02561 | [
"MIT"
] | null | null | null | src/game.cpp | toivjon/sdl2-pong | edf08a56d54759ae5074d52a8e9a81b746c02561 | [
"MIT"
] | null | null | null | #include "game.h"
#include "welcome_scene.h"
#include <SDL.h>
#include <SDL_ttf.h>
#include <iostream>
#define ERROR -1
#define OK 0
using namespace pong;
Game::Game()
: mWindow(nullptr),
mRenderer(nullptr),
mFont(nullptr),
mResolution({ 800, 600 }),
mHalfResolution({ mResolu... | 27.732394 | 143 | 0.628492 | toivjon |
92ea347cd955ba757106ded405f52df63d42ac5e | 7,158 | hpp | C++ | ivarp/include/ivarp/bound_dependency_analysis.hpp | phillip-keldenich/squares-in-disk | 501ebeb00b909b9264a9611fd63e082026cdd262 | [
"MIT"
] | null | null | null | ivarp/include/ivarp/bound_dependency_analysis.hpp | phillip-keldenich/squares-in-disk | 501ebeb00b909b9264a9611fd63e082026cdd262 | [
"MIT"
] | null | null | null | ivarp/include/ivarp/bound_dependency_analysis.hpp | phillip-keldenich/squares-in-disk | 501ebeb00b909b9264a9611fd63e082026cdd262 | [
"MIT"
] | null | null | null | // The code is open source under the MIT license.
// Copyright 2019-2020, Phillip Keldenich, TU Braunschweig, Algorithms Group
// https://ibr.cs.tu-bs.de/alg
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Software"), to de... | 44.185185 | 114 | 0.674211 | phillip-keldenich |
92ea4394d365ff9f627d7ee8e30f27b0c7b570c2 | 4,025 | cpp | C++ | YareEngine/Source/Utilities/IOHelper.cpp | Resoona/Yare | fc94403575285099ce93ef556f68c77b815577d9 | [
"MIT"
] | 2 | 2020-03-01T13:56:45.000Z | 2020-03-06T01:41:00.000Z | YareEngine/Source/Utilities/IOHelper.cpp | Riyusuna/Yare | fc94403575285099ce93ef556f68c77b815577d9 | [
"MIT"
] | null | null | null | YareEngine/Source/Utilities/IOHelper.cpp | Riyusuna/Yare | fc94403575285099ce93ef556f68c77b815577d9 | [
"MIT"
] | null | null | null | #include "Utilities/IOHelper.h"
#include "Utilities/Logger.h"
#define GLM_FORCE_RADIANS
#define GLM_FORCE_DEPTH_ZERO_TO_ONE
#define GLM_ENABLE_EXPERIMENTAL
#include <tinyobjloader/tiny_obj_loader.h>
#include <glm/glm.hpp>
#include <glm/gtx/hash.hpp>
#include <glm/gtx/string_cast.hpp>
#include <unordered_map>
namesp... | 37.616822 | 111 | 0.529193 | Resoona |
92ee579d1d85cd2a941338282ed3166b487d7413 | 452 | cpp | C++ | Server Lib/Projeto IOCP/PACKET/packet_func.cpp | CCasusensa/SuperSS-Dev | 6c6253b0a56bce5dad150c807a9bbf310e8ff61b | [
"MIT"
] | 23 | 2021-10-31T00:20:21.000Z | 2022-03-26T07:24:40.000Z | Server Lib/Projeto IOCP/PACKET/packet_func.cpp | CCasusensa/SuperSS-Dev | 6c6253b0a56bce5dad150c807a9bbf310e8ff61b | [
"MIT"
] | 5 | 2021-10-31T18:44:51.000Z | 2022-03-25T18:04:26.000Z | Server Lib/Projeto IOCP/PACKET/packet_func.cpp | CCasusensa/SuperSS-Dev | 6c6253b0a56bce5dad150c807a9bbf310e8ff61b | [
"MIT"
] | 18 | 2021-10-20T02:31:56.000Z | 2022-02-01T11:44:36.000Z | // Arquivo packet_func.cpp
// Criado em 05/12/2017 por Acrisio
// Implementação da classe packet_func_base
#if defined(_WIN32)
#include <Winsock2.h>
#elif defined(__linux__)
#include "../UTIL/WinPort.h"
#endif
#include "packet_func.h"
using namespace stdA;
func_arr packet_func_base::funcs;
func_arr packet_func_base... | 22.6 | 43 | 0.780973 | CCasusensa |
92ef8c3f89eb39202e5a05268a98f797da5dd951 | 8,950 | cpp | C++ | src/renderer/surface/swapchain.cpp | LwRuan/RainEngine | 0bf3c009190e86cf1b81a692ce26eb26646aca3c | [
"MIT"
] | null | null | null | src/renderer/surface/swapchain.cpp | LwRuan/RainEngine | 0bf3c009190e86cf1b81a692ce26eb26646aca3c | [
"MIT"
] | null | null | null | src/renderer/surface/swapchain.cpp | LwRuan/RainEngine | 0bf3c009190e86cf1b81a692ce26eb26646aca3c | [
"MIT"
] | null | null | null | #include "swapchain.h"
#include "device/device.h"
namespace Rain {
VkResult SwapChain::Init(Device* device, PhysicalDevice* physical_device,
GLFWwindow* window, VkSurfaceKHR surface) {
device_ = device;
VkSurfaceFormatKHR surface_format = physical_device->ChooseSurfaceFormat();
... | 42.018779 | 85 | 0.707039 | LwRuan |
92efbf827dfc576b2d9a57cc6331941ac50b24ae | 488 | cpp | C++ | 1200/00/1209.cpp | actium/timus | 6231d9e7fd325cae36daf5ee2ec7e61381f04003 | [
"Unlicense"
] | null | null | null | 1200/00/1209.cpp | actium/timus | 6231d9e7fd325cae36daf5ee2ec7e61381f04003 | [
"Unlicense"
] | null | null | null | 1200/00/1209.cpp | actium/timus | 6231d9e7fd325cae36daf5ee2ec7e61381f04003 | [
"Unlicense"
] | null | null | null | #include <iostream>
unsigned search(unsigned k)
{
unsigned lb = 0, ub = 92682;
while (lb + 1 < ub) {
const unsigned mid = (lb + ub) / 2;
const auto x = mid * (mid + 1ull) / 2 + 1;
if (x == k)
return 1;
(x < k ? lb : ub) = mid;
}
return k == 1;
}
int main()... | 15.25 | 50 | 0.418033 | actium |
92f1a3d8d9aa8b9a58ca2d3bb7662d1fabfe5e6f | 938 | cpp | C++ | src/tests/formula/Test_UninterpretedFunction.cpp | smtrat/carl-windows | 22b3a7677477cdbed9adc7619479ce82a0304666 | [
"MIT"
] | 29 | 2015-05-19T12:17:16.000Z | 2021-03-05T17:53:00.000Z | src/tests/formula/Test_UninterpretedFunction.cpp | smtrat/carl-windows | 22b3a7677477cdbed9adc7619479ce82a0304666 | [
"MIT"
] | 36 | 2016-10-26T12:47:11.000Z | 2021-03-03T15:19:38.000Z | src/tests/formula/Test_UninterpretedFunction.cpp | smtrat/carl-windows | 22b3a7677477cdbed9adc7619479ce82a0304666 | [
"MIT"
] | 16 | 2015-05-27T07:35:19.000Z | 2021-03-05T17:53:08.000Z | #include "gtest/gtest.h"
#include <carl/formula/SortManager.h>
#include <carl/formula/uninterpreted/UFManager.h>
#include <carl/formula/uninterpreted/UninterpretedFunction.h>
#include "../Common.h"
TEST(UninterpretedFunction, Basics)
{
carl::UninterpretedFunction uf;
EXPECT_EQ(0, uf.id());
carl::UninterpretedFunc... | 25.351351 | 73 | 0.71322 | smtrat |
92f26f31af131f2dc41f9a10919861e7af80e1c8 | 3,701 | cpp | C++ | prophy_cpp/test/test_generated_unions.cpp | florczakraf/prophy | a42a6151a77b31afa05300fc2e1f52cc15a298cf | [
"MIT"
] | 14 | 2015-02-19T22:00:37.000Z | 2020-11-30T03:03:55.000Z | prophy_cpp/test/test_generated_unions.cpp | florczakraf/prophy | a42a6151a77b31afa05300fc2e1f52cc15a298cf | [
"MIT"
] | 31 | 2015-06-22T11:11:10.000Z | 2021-05-12T06:35:47.000Z | prophy_cpp/test/test_generated_unions.cpp | florczakraf/prophy | a42a6151a77b31afa05300fc2e1f52cc15a298cf | [
"MIT"
] | 16 | 2015-06-12T06:48:06.000Z | 2019-11-26T22:48:13.000Z | #include <vector>
#include <gtest/gtest.h>
#include "Unions.ppf.hpp"
#include "util.hpp"
using namespace testing;
using namespace prophy::generated;
TEST(generated_unions, Union)
{
std::vector<char> data(1024);
Union x{Union::discriminator_a_t, 1};
size_t size = x.encode(data.data());
/// encoding
... | 25.701389 | 66 | 0.546339 | florczakraf |
92f2c6a65a98df6adcd6216a921f474d8723f77c | 37 | cpp | C++ | vm/mterp/c/OP_UNUSED_C7FF.cpp | ThirdProject/android_dalvik | 6a9739380c73a0256f2484f2bcd0b8f908a2db52 | [
"Apache-2.0"
] | null | null | null | vm/mterp/c/OP_UNUSED_C7FF.cpp | ThirdProject/android_dalvik | 6a9739380c73a0256f2484f2bcd0b8f908a2db52 | [
"Apache-2.0"
] | null | null | null | vm/mterp/c/OP_UNUSED_C7FF.cpp | ThirdProject/android_dalvik | 6a9739380c73a0256f2484f2bcd0b8f908a2db52 | [
"Apache-2.0"
] | null | null | null | HANDLE_OPCODE(OP_UNUSED_C7FF)
OP_END
| 12.333333 | 29 | 0.891892 | ThirdProject |
92f5d9348ec6baa14cef7af4ea7bacae586a9b18 | 354 | hpp | C++ | inference-engine/src/preprocessing/cpu_x86_sse42/ie_preprocess_data_sse42.hpp | anton-potapov/openvino | 84119afe9a8c965e0a0cd920fff53aee67b05108 | [
"Apache-2.0"
] | 2 | 2020-11-18T14:14:06.000Z | 2020-11-28T04:55:57.000Z | inference-engine/src/preprocessing/cpu_x86_sse42/ie_preprocess_data_sse42.hpp | anton-potapov/openvino | 84119afe9a8c965e0a0cd920fff53aee67b05108 | [
"Apache-2.0"
] | 30 | 2020-11-13T11:44:07.000Z | 2022-02-21T13:03:16.000Z | inference-engine/src/preprocessing/cpu_x86_sse42/ie_preprocess_data_sse42.hpp | anton-potapov/openvino | 84119afe9a8c965e0a0cd920fff53aee67b05108 | [
"Apache-2.0"
] | 3 | 2021-03-09T08:27:29.000Z | 2021-04-07T04:58:54.000Z | // Copyright (C) 2018-2020 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#pragma once
#include "ie_blob.h"
#include <stdint.h>
namespace InferenceEngine {
void resize_bilinear_u8(const Blob::Ptr inBlob, Blob::Ptr outBlob, uint8_t* buffer);
void resize_area_u8_downscale(const Blob::Ptr inBlob, Blob::... | 19.666667 | 90 | 0.751412 | anton-potapov |
92f7f0a9398dc2e0219401564a70be07672b339f | 1,087 | hpp | C++ | Programming Guide/Headers/Siv3D/Spline.hpp | Reputeless/Siv3D-Reference | d58e92885241d11612007fb9187ce0289a7ee9cb | [
"MIT"
] | 38 | 2016-01-14T13:51:13.000Z | 2021-12-29T01:49:30.000Z | Programming Guide/Headers/Siv3D/Spline.hpp | Reputeless/Siv3D-Reference | d58e92885241d11612007fb9187ce0289a7ee9cb | [
"MIT"
] | null | null | null | Programming Guide/Headers/Siv3D/Spline.hpp | Reputeless/Siv3D-Reference | d58e92885241d11612007fb9187ce0289a7ee9cb | [
"MIT"
] | 16 | 2016-01-15T11:07:51.000Z | 2021-12-29T01:49:37.000Z | //-----------------------------------------------
//
// This file is part of the Siv3D Engine.
//
// Copyright (C) 2008-2016 Ryo Suzuki
//
// Licensed under the MIT License.
//
//-----------------------------------------------
# pragma once
namespace s3d
{
/// <summary>
/// スプライン
/// </summary>
namespace Spline
... | 27.871795 | 132 | 0.533579 | Reputeless |
92f8015caf1e67ea934f7faf81467cc17cd343b9 | 3,000 | cpp | C++ | src/old/src/pmca.cpp | anupgp/astron | 5ef1b113b5025f5e0477a1fb2b5202fadbc5335c | [
"MIT"
] | null | null | null | src/old/src/pmca.cpp | anupgp/astron | 5ef1b113b5025f5e0477a1fb2b5202fadbc5335c | [
"MIT"
] | null | null | null | src/old/src/pmca.cpp | anupgp/astron | 5ef1b113b5025f5e0477a1fb2b5202fadbc5335c | [
"MIT"
] | null | null | null | // Time-stamp: <2017-09-21 17:59:25 anup>
// Units: all SI units - seconds, Volts, Ampere, Meters, Simenes, Farads
// Ref:bartol2015
#include <vector>
#include <iostream>
#include <cmath>
#include "insilico/core.hpp"
#include "data_types.hpp"
#include "physical_constants.hpp"
#include "pmca.hpp"
namespace consts=a... | 44.117647 | 124 | 0.726333 | anupgp |
92f808d6eaf2f84a6521df39b1e29a9b335ca967 | 3,762 | hpp | C++ | proj/KSP/src/SerialComs.hpp | bananu7/Arduino | 56769c0850a6da873c29a0ac78fa2e1133bb7cc7 | [
"MIT"
] | 1 | 2020-02-24T09:14:02.000Z | 2020-02-24T09:14:02.000Z | proj/KSP/src/SerialComs.hpp | bananu7/Arduino | 56769c0850a6da873c29a0ac78fa2e1133bb7cc7 | [
"MIT"
] | 2 | 2016-11-20T18:43:59.000Z | 2016-11-20T18:44:11.000Z | proj/KSP/src/SerialComs.hpp | bananu7/Arduino | 56769c0850a6da873c29a0ac78fa2e1133bb7cc7 | [
"MIT"
] | null | null | null | #pragma once
#include "Structure.h"
class SerialComs {
public:
struct ReadResult {
bool status;
enum class TypeOfPacket {
HandShakePacket,
VesselData
} typeOfPacket;
union {
HandShakePacket handShakePacket;
VesselData vesselData;
... | 28.938462 | 87 | 0.468634 | bananu7 |
92f8c60874f25595b4cdfb3e210a9ed34e23604d | 5,960 | cc | C++ | test/intersectionface.cc | untaugh/geotree | 4600a1cb4115094ed5c4c1500c6221a458e68be8 | [
"MIT"
] | 2 | 2018-07-27T00:58:07.000Z | 2021-11-20T22:26:10.000Z | test/intersectionface.cc | untaugh/geotree | 4600a1cb4115094ed5c4c1500c6221a458e68be8 | [
"MIT"
] | null | null | null | test/intersectionface.cc | untaugh/geotree | 4600a1cb4115094ed5c4c1500c6221a458e68be8 | [
"MIT"
] | null | null | null | #include "gtest/gtest.h"
#include <Eigen/Core>
#include <vector>
#include "MeshIntersection.h"
#include "IntersectionFace.h"
#include "MeshFactory.h"
#include "Face.h"
namespace {
using namespace Geotree;
class IntersectionFaceTest : public ::testing::Test {
};
TEST_F(IntersectionFaceTest, basic)
... | 25.147679 | 68 | 0.500168 | untaugh |
92fb903178035aa80b5092cd78999ddcaf4d2e15 | 3,773 | cpp | C++ | arcc/Listing.cpp | zethon/yarc | 37bd8d780689f262315f590d3dc354a9a147d296 | [
"MIT"
] | 5 | 2017-12-17T19:21:20.000Z | 2022-02-26T01:11:18.000Z | arcc/Listing.cpp | zethon/yarc | 37bd8d780689f262315f590d3dc354a9a147d296 | [
"MIT"
] | 22 | 2017-12-13T10:51:32.000Z | 2019-11-28T16:20:26.000Z | arcc/Listing.cpp | zethon/yarc | 37bd8d780689f262315f590d3dc354a9a147d296 | [
"MIT"
] | null | null | null | // Another Reddit Console Client
// Copyright (c) 2017-2019, Adalid Claure <aclaure@gmail.com>
#include <boost/algorithm/string.hpp>
#include <nlohmann/json.hpp>
#include "RedditSession.h"
#include "Listing.h"
namespace arcc
{
Listing::Listing(RedditSessionPtr session,
const std::string& endpoint,... | 24.5 | 112 | 0.572754 | zethon |
92fcd40c24decc57806b41372a0eb24b1b9ffe72 | 11,907 | hpp | C++ | include/codegen/include/UnityEngine/ProBuilder/PreferenceDictionary.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 1 | 2021-11-12T09:29:31.000Z | 2021-11-12T09:29:31.000Z | include/codegen/include/UnityEngine/ProBuilder/PreferenceDictionary.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | null | null | null | include/codegen/include/UnityEngine/ProBuilder/PreferenceDictionary.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 2 | 2021-10-03T02:14:20.000Z | 2021-11-12T09:29:36.000Z | // Autogenerated from CppHeaderCreator on 7/27/2020 3:10:21 PM
// Created by Sc2ad
// =========================================================================
#pragma once
#pragma pack(push, 8)
// Begin includes
#include "utils/typedefs.h"
// Including type: UnityEngine.ScriptableObject
#include "UnityEngine/Scriptabl... | 51.103004 | 166 | 0.738809 | Futuremappermydud |
92fd3892f8ba4a2fc53f95059b82150b7caf1a3e | 1,248 | hpp | C++ | extensions/cli/src/basic_interactive_terminal.hpp | pxscope-swkang/perfkit | a30b56fdeb6975dbd253e85da5f79865d16d9d80 | [
"MIT"
] | null | null | null | extensions/cli/src/basic_interactive_terminal.hpp | pxscope-swkang/perfkit | a30b56fdeb6975dbd253e85da5f79865d16d9d80 | [
"MIT"
] | null | null | null | extensions/cli/src/basic_interactive_terminal.hpp | pxscope-swkang/perfkit | a30b56fdeb6975dbd253e85da5f79865d16d9d80 | [
"MIT"
] | 1 | 2021-08-28T07:10:56.000Z | 2021-08-28T07:10:56.000Z | //
// Created by Seungwoo on 2021-09-25.
//
#pragma once
#include <future>
#include <list>
#include "perfkit/common/circular_queue.hxx"
#include "perfkit/detail/commands.hpp"
#include "perfkit/terminal.h"
namespace perfkit {
class basic_interactive_terminal : public if_terminal
{
public:
basic_interactive_ter... | 27.130435 | 76 | 0.713942 | pxscope-swkang |
92fec6f02743ac4a23cb32bcc56cd7479bb8861b | 4,698 | hpp | C++ | mpc_controller/ros_acado_bridge/ACADOtoolkit/external_packages/casadi/symbolic/casadi_exception.hpp | kurshakuz/graduation-project | 352a94c2d3e24ce714460446342b612fbb6d1f52 | [
"BSD-2-Clause"
] | 2 | 2021-04-07T08:37:28.000Z | 2021-09-30T09:38:22.000Z | mpc_controller/ros_acado_bridge/ACADOtoolkit/external_packages/casadi/symbolic/casadi_exception.hpp | kurshakuz/graduation-project | 352a94c2d3e24ce714460446342b612fbb6d1f52 | [
"BSD-2-Clause"
] | null | null | null | mpc_controller/ros_acado_bridge/ACADOtoolkit/external_packages/casadi/symbolic/casadi_exception.hpp | kurshakuz/graduation-project | 352a94c2d3e24ce714460446342b612fbb6d1f52 | [
"BSD-2-Clause"
] | 2 | 2021-03-01T14:20:58.000Z | 2021-06-21T12:34:33.000Z | /*
* This file is part of CasADi.
*
* CasADi -- A symbolic framework for dynamic optimization.
* Copyright (C) 2010 by Joel Andersson, Moritz Diehl, K.U.Leuven. All rights reserved.
*
* CasADi is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Pu... | 31.530201 | 207 | 0.697744 | kurshakuz |
130036c123970cf9f02946538abb1d81a21fe009 | 32,107 | cc | C++ | third_party/blink/renderer/bindings/core/v8/script_streamer.cc | iridium-browser/iridium-browser | 907e31cf5ce5ad14d832796e3a7c11e496828959 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 575 | 2015-06-18T23:58:20.000Z | 2022-03-23T09:32:39.000Z | third_party/blink/renderer/bindings/core/v8/script_streamer.cc | iridium-browser/iridium-browser | 907e31cf5ce5ad14d832796e3a7c11e496828959 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 113 | 2015-05-04T09:58:14.000Z | 2022-01-31T19:35:03.000Z | third_party/blink/renderer/bindings/core/v8/script_streamer.cc | iridium-browser/iridium-browser | 907e31cf5ce5ad14d832796e3a7c11e496828959 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 52 | 2015-07-14T10:40:50.000Z | 2022-03-15T01:11:49.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 "third_party/blink/renderer/bindings/core/v8/script_streamer.h"
#include <memory>
#include <utility>
#include "base/macros.h"
#include "base/me... | 36.947066 | 88 | 0.693587 | iridium-browser |
13004be04df018b4d049e5fe7a023097741d74f5 | 28,994 | cc | C++ | content/browser/frame_host/render_frame_proxy_host.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | content/browser/frame_host/render_frame_proxy_host.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | content/browser/frame_host/render_frame_proxy_host.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // 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 "content/browser/frame_host/render_frame_proxy_host.h"
#include <unordered_map>
#include <utility>
#include <vector>
#include "base/callback.h"... | 42.450952 | 96 | 0.733773 | sarang-apps |
1300a0b256fdbdf6885168d3e2471b63795ca7dd | 13,964 | cpp | C++ | src/client/communication/client_protocol.cpp | Santoi/quantum-chess | a2f5a0f322c6aa51488c52c8ebacbe0ad75ca9f9 | [
"MIT"
] | 9 | 2021-12-22T02:10:34.000Z | 2021-12-30T17:14:25.000Z | src/client/communication/client_protocol.cpp | Santoi/quantum-chess | a2f5a0f322c6aa51488c52c8ebacbe0ad75ca9f9 | [
"MIT"
] | null | null | null | src/client/communication/client_protocol.cpp | Santoi/quantum-chess | a2f5a0f322c6aa51488c52c8ebacbe0ad75ca9f9 | [
"MIT"
] | null | null | null | #include <string>
#include <unistd.h>
#include <arpa/inet.h>
#include <map>
#include <vector>
#include <list>
#include <utility>
#include "../../common/unique_ptr.h"
#include "client_protocol.h"
#include "../../common/client_data.h"
#include "chessman_data.h"
#include "../../common/socket_closed.h"
std::map<uint16_t, ... | 36.082687 | 80 | 0.655758 | Santoi |
13022bae3d38f95e25a88dfd2e86d7f3a7a935b9 | 2,922 | cpp | C++ | EngineLuke/src/ML_ENGINE/ML_ENGINE/ML/Utilities/Statistics.cpp | speed0606/team.luke | 6354d8237227276316a8f1e4bb10486a9ab968bf | [
"MIT"
] | 3 | 2016-12-03T08:24:51.000Z | 2017-02-26T21:28:29.000Z | EngineLuke/src/ML_ENGINE/ML_ENGINE/ML/Utilities/Statistics.cpp | dk-seo/team.luke | 6354d8237227276316a8f1e4bb10486a9ab968bf | [
"MIT"
] | null | null | null | EngineLuke/src/ML_ENGINE/ML_ENGINE/ML/Utilities/Statistics.cpp | dk-seo/team.luke | 6354d8237227276316a8f1e4bb10486a9ab968bf | [
"MIT"
] | 2 | 2017-02-19T23:41:27.000Z | 2017-02-26T21:28:31.000Z | #include "Similarity.h"
#include "../Dataframe/Dataframe.h"
#include <algorithm>
#include "Statistics.h"
double CalculateMean(
const std::vector<Instance*>& instances, size_t attributeIdx)
{
if (instances.size() == 0)
return 0.0;
double mean = 0.0f;
for (auto instance : instances)
mean += double(instance->Get... | 26.807339 | 96 | 0.709788 | speed0606 |
13029a4976338faf7e38f2672316abeedd4bcdb5 | 118 | cpp | C++ | main.cpp | Ruixues/Judo | 47925aec22edb49d41846e21a4add11411380ffb | [
"Apache-2.0"
] | 9 | 2020-09-14T15:16:47.000Z | 2021-06-05T07:36:32.000Z | main.cpp | Ruixues/Judo | 47925aec22edb49d41846e21a4add11411380ffb | [
"Apache-2.0"
] | 1 | 2020-12-28T04:06:58.000Z | 2020-12-28T04:06:58.000Z | main.cpp | Ruixues/Judo | 47925aec22edb49d41846e21a4add11411380ffb | [
"Apache-2.0"
] | 1 | 2020-12-20T09:42:16.000Z | 2020-12-20T09:42:16.000Z | #include "args.h"
#include <iostream>
int main(int argc, char *argv[]) {
HandleInput(argc, argv);
return 0;
} | 16.857143 | 34 | 0.635593 | Ruixues |
1303c7a7f4741f4c42fa49ee45fd19c7d22ca865 | 969 | cpp | C++ | dev/g++/projects/ttcn3/internal_tci/src/tci_type_impl.cpp | YannGarcia/repo | 0f3de24c71d942c752ada03c10861e83853fdf71 | [
"MIT"
] | null | null | null | dev/g++/projects/ttcn3/internal_tci/src/tci_type_impl.cpp | YannGarcia/repo | 0f3de24c71d942c752ada03c10861e83853fdf71 | [
"MIT"
] | null | null | null | dev/g++/projects/ttcn3/internal_tci/src/tci_type_impl.cpp | YannGarcia/repo | 0f3de24c71d942c752ada03c10861e83853fdf71 | [
"MIT"
] | 1 | 2017-01-27T12:53:50.000Z | 2017-01-27T12:53:50.000Z | /**
* @file tci_type_impl.h
* @brief Main implementation file for the tci_type_impl class.
* @author garciay.yann@gmail.com
* @copyright Copyright (c) 2015 ygarcia. All rights reserved
* @license This project is released under the MIT License
* @version 0.1
*/
#include "tci_module_id_impl.h"
namespace inte... | 26.916667 | 65 | 0.652219 | YannGarcia |
1306b7f69ccf390d57496a769ff2857a16e27893 | 1,447 | cpp | C++ | src/vector.cpp | S-VIN/GraphicLib | c57e6828a51f29ca06281e9ac2a8759565298f20 | [
"MIT"
] | null | null | null | src/vector.cpp | S-VIN/GraphicLib | c57e6828a51f29ca06281e9ac2a8759565298f20 | [
"MIT"
] | null | null | null | src/vector.cpp | S-VIN/GraphicLib | c57e6828a51f29ca06281e9ac2a8759565298f20 | [
"MIT"
] | null | null | null | #include "../headers/vector.h"
Vector::Vector() {}
Vector::~Vector() {}
void Vector:: addFigure(Figure* figure){
figures.push_back(figure);
};
void Vector:: deleteFigure(int i){
figures.erase(figures.begin() + i);
}
bool Vector:: isSquareHere(Point point, Square* square){
if(point.x <= square->zeroPoint... | 21.924242 | 67 | 0.516932 | S-VIN |
130b2e306b37d0c787dc5e5d06c0c44cc14695fc | 2,461 | cpp | C++ | src/02-ICP/main.cpp | m516/Point-Cloud-Stitching | a92c9cd257a29443de999b709677f5f4a3c7a279 | [
"MIT"
] | null | null | null | src/02-ICP/main.cpp | m516/Point-Cloud-Stitching | a92c9cd257a29443de999b709677f5f4a3c7a279 | [
"MIT"
] | null | null | null | src/02-ICP/main.cpp | m516/Point-Cloud-Stitching | a92c9cd257a29443de999b709677f5f4a3c7a279 | [
"MIT"
] | null | null | null | #include <iostream>
#include <pcl/console/parse.h>
#include <pcl/io/pcd_io.h>
#include <pcl/point_types.h>
#include <pcl/registration/icp.h>
#include <pcl/io/ply_io.h>
// This function displays the help
void
showHelp(char* program_name)
{
std::cout << std::endl;
std::cout << "Usage: " << program_name << " clo... | 33.256757 | 108 | 0.60382 | m516 |
130c6d8312e00e0b2128a3d0361f18d9bc7e0e7c | 1,479 | hpp | C++ | code/libuipf/src/include/data/opencv.hpp | jdkuhnke/uipf | a944237e71cc61be29c641f7320e8ee3a0f0624f | [
"BSD-2-Clause"
] | 4 | 2017-03-26T05:56:57.000Z | 2020-02-04T23:14:13.000Z | code/libuipf/src/include/data/opencv.hpp | jdkuhnke/uipf | a944237e71cc61be29c641f7320e8ee3a0f0624f | [
"BSD-2-Clause"
] | 3 | 2017-05-13T21:30:39.000Z | 2018-03-20T17:00:52.000Z | code/libuipf/src/include/data/opencv.hpp | jdkuhnke/uipf | a944237e71cc61be29c641f7320e8ee3a0f0624f | [
"BSD-2-Clause"
] | 3 | 2017-11-29T10:26:13.000Z | 2021-06-15T13:14:04.000Z | #ifndef LIBUIPF_DATA_OPENCV_HPP
#define LIBUIPF_DATA_OPENCV_HPP
#include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <map>
#include <string>
#include "../data.hpp"
#include "list.hpp"
namespace uipf {
namespace data {
// create types for OpenCV if built with OpenCV support
UIPF_DAT... | 25.5 | 87 | 0.705882 | jdkuhnke |
130c8f6ba144264ea19fe6be78d592faecf81d78 | 1,674 | hpp | C++ | src/vendor/cget/include/pqrs/osx/system_preferences/system_preferences.hpp | egelwan/Karabiner-Elements | 896439dd2130904275553282063dd7fe4852e1a8 | [
"Unlicense"
] | 5,422 | 2019-10-27T17:51:04.000Z | 2022-03-31T15:45:41.000Z | src/vendor/cget/include/pqrs/osx/system_preferences/system_preferences.hpp | XXXalice/Karabiner-Elements | 52f579cbf60251cf18915bd938eb4431360b763b | [
"Unlicense"
] | 1,310 | 2019-10-28T04:57:24.000Z | 2022-03-31T04:55:37.000Z | src/vendor/cget/include/pqrs/osx/system_preferences/system_preferences.hpp | XXXalice/Karabiner-Elements | 52f579cbf60251cf18915bd938eb4431360b763b | [
"Unlicense"
] | 282 | 2019-10-28T02:36:04.000Z | 2022-03-19T06:18:54.000Z | #pragma once
// (C) Copyright Takayama Fumihiko 2019.
// Distributed under the Boost Software License, Version 1.0.
// (See http://www.boost.org/LICENSE_1_0.txt)
#include "keyboard_type_key.hpp"
#include <pqrs/cf/number.hpp>
namespace pqrs {
namespace osx {
namespace system_preferences {
inline std::optional<bool> f... | 27.9 | 89 | 0.642772 | egelwan |
130cf73bec693b1d4720ecd16c3ac0ca97a10a14 | 5,740 | hpp | C++ | ZeroLibraries/Common/Containers/HashSet.hpp | jodavis42/ZeroPhysicsTestbed | e84a3f6faf16b7a4242dc049121b5338e80039f8 | [
"MIT"
] | 52 | 2018-09-11T17:18:35.000Z | 2022-03-13T15:28:21.000Z | ZeroLibraries/Common/Containers/HashSet.hpp | jodavis42/ZeroPhysicsTestbed | e84a3f6faf16b7a4242dc049121b5338e80039f8 | [
"MIT"
] | 1,409 | 2018-09-19T18:03:43.000Z | 2021-06-09T08:33:33.000Z | ZeroLibraries/Common/Containers/HashSet.hpp | jodavis42/ZeroPhysicsTestbed | e84a3f6faf16b7a4242dc049121b5338e80039f8 | [
"MIT"
] | 26 | 2018-09-11T17:16:32.000Z | 2021-11-22T06:21:19.000Z | ///////////////////////////////////////////////////////////////////////////////
///
/// \file HashSet.hpp
/// Definition of the HashSet associative container.
///
/// Authors: Chris Peters
/// Copyright 2010-2011, DigiPen Institute of Technology
///
//////////////////////////////////////////////////////////////... | 28 | 158 | 0.63101 | jodavis42 |
1310d125c3eb1723d3bc97c7388de8b5b03a1ab5 | 9,392 | cpp | C++ | openbr/plugins/validate.cpp | clcarwin/openbr | 00700cc8c3d19df5ff08045ef1b19bacfbe22b25 | [
"Apache-2.0"
] | 1 | 2015-11-06T05:29:35.000Z | 2015-11-06T05:29:35.000Z | openbr/plugins/validate.cpp | guker/openbr | 20fd2aaec557a51ad46b47d55dea9cf7e364818a | [
"Apache-2.0"
] | null | null | null | openbr/plugins/validate.cpp | guker/openbr | 20fd2aaec557a51ad46b47d55dea9cf7e364818a | [
"Apache-2.0"
] | null | null | null | #include <QFutureSynchronizer>
#include <QtConcurrentRun>
#include "openbr_internal.h"
#include "openbr/core/common.h"
#include <openbr/core/qtutils.h>
namespace br
{
static void _train(Transform *transform, TemplateList data) // think data has to be a copy -cao
{
transform->train(data);
}
/*!
* \ingroup transf... | 34.529412 | 132 | 0.592845 | clcarwin |
131182ee70ef5f641dbb8f99ef45aa1e0922ad6e | 2,118 | cpp | C++ | Part1/Chapter5/P5731.cpp | flics04/SSQCbook-Base-Luogu | c7ddbcfec58d6cc8f6396309daa8b511b6c8673d | [
"MIT"
] | null | null | null | Part1/Chapter5/P5731.cpp | flics04/SSQCbook-Base-Luogu | c7ddbcfec58d6cc8f6396309daa8b511b6c8673d | [
"MIT"
] | null | null | null | Part1/Chapter5/P5731.cpp | flics04/SSQCbook-Base-Luogu | c7ddbcfec58d6cc8f6396309daa8b511b6c8673d | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
int n;
int main() {
cin >> n;
if (n == 1)
cout << " 1\n";
if (n == 2)
cout << " 1 2\n 4 3\n";
if (n == 3) {
cout << " 1 2 3\n";
cout << " 8 9 4\n";
cout << " 7 6 5\n";
}
if (n == 4) {
cout <<... | 30.257143 | 48 | 0.383853 | flics04 |
1313e8c6e7d498c10678cc9dd2927d47b83e7a21 | 2,762 | cpp | C++ | lightports/shell/trayicon.cpp | R1tschY/liblightports | ee67a2682b068e480c19c83c880609df79f37d0d | [
"MIT"
] | null | null | null | lightports/shell/trayicon.cpp | R1tschY/liblightports | ee67a2682b068e480c19c83c880609df79f37d0d | [
"MIT"
] | null | null | null | lightports/shell/trayicon.cpp | R1tschY/liblightports | ee67a2682b068e480c19c83c880609df79f37d0d | [
"MIT"
] | null | null | null | #include "trayicon.h"
#include <algorithm>
#include <windowsx.h>
#include <cpp-utils/algorithm/length.h>
#include "../user/application.h"
#include <lightports/user/systeminformation.h>
#include <lightports/user/resources.h>
namespace Windows {
int TrayIcon::LastId = 0;
TrayIcon::TrayIcon():
added_(false)
{
tray... | 19.314685 | 95 | 0.683201 | R1tschY |
1314aeca991320a9b4d9ae26acc98b9c1160f11d | 2,806 | cc | C++ | src/lib/fidl/llcpp/tests/server_end_test.cc | DamieFC/fuchsia | f78a4a1326f4a4bb5834500918756173c01bab4f | [
"BSD-2-Clause"
] | 1 | 2020-12-29T17:07:06.000Z | 2020-12-29T17:07:06.000Z | src/lib/fidl/llcpp/tests/server_end_test.cc | DamieFC/fuchsia | f78a4a1326f4a4bb5834500918756173c01bab4f | [
"BSD-2-Clause"
] | null | null | null | src/lib/fidl/llcpp/tests/server_end_test.cc | DamieFC/fuchsia | f78a4a1326f4a4bb5834500918756173c01bab4f | [
"BSD-2-Clause"
] | null | null | null | // Copyright 2019 The Fuchsia 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 <lib/async-loop/cpp/loop.h>
#include <lib/async-loop/default.h>
#include <lib/fidl/llcpp/server.h>
#include <lib/fidl/llcpp/server_end.h>
#include... | 32.627907 | 95 | 0.731646 | DamieFC |
13155166fd496ef370cc43ab6e3115a972db7527 | 52,758 | cpp | C++ | src/3dstool.cpp | dnasdw/3dstool | 29ca751fef5edc6c865ced64777b4141d43fa433 | [
"MIT"
] | 281 | 2015-01-01T03:53:15.000Z | 2022-03-22T11:08:31.000Z | src/3dstool.cpp | dnasdw/3dstool-circleci | 878549e5a0b53f84c12d91ead2dff54f606c98e5 | [
"MIT"
] | 21 | 2016-11-10T02:09:28.000Z | 2022-01-04T14:52:25.000Z | src/3dstool.cpp | PMArkive/3dstool | 29ca751fef5edc6c865ced64777b4141d43fa433 | [
"MIT"
] | 38 | 2015-03-12T05:56:37.000Z | 2021-12-29T15:25:01.000Z | #include "3dstool.h"
#include "3dscrypt.h"
#include "backwardlz77.h"
#include "banner.h"
#include "code.h"
#include "exefs.h"
#include "huffman.h"
#include "lz77.h"
#include "ncch.h"
#include "ncsd.h"
#include "patch.h"
#include "romfs.h"
#include "runlength.h"
#include "url_manager.h"
#include "yaz0.h"
C3dsTool::SOpt... | 28.318841 | 193 | 0.668335 | dnasdw |
1316383c5bd61321c42690abd0d076610a9dc2aa | 151 | cpp | C++ | 2739.cpp | devlphj/BaekjoonOJ | ecf715ece2a81bb69aa2e2b045e53acec01d3736 | [
"MIT"
] | null | null | null | 2739.cpp | devlphj/BaekjoonOJ | ecf715ece2a81bb69aa2e2b045e53acec01d3736 | [
"MIT"
] | null | null | null | 2739.cpp | devlphj/BaekjoonOJ | ecf715ece2a81bb69aa2e2b045e53acec01d3736 | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
int main() {
int N; cin >> N;
for(int i=1; i<=9; i++)
cout << N << " * " << i << " = " << N*i << endl;
} | 16.777778 | 50 | 0.463576 | devlphj |
1317396c49bcc72492e971e9540e11a806b4fbe6 | 406 | hpp | C++ | Giga_v1/src/ui/KDUIUnitCommunication.hpp | azarashi2931/Giga-Project | 2acbd937bec01e6042453fe777f4182b6d67d9b7 | [
"MIT"
] | null | null | null | Giga_v1/src/ui/KDUIUnitCommunication.hpp | azarashi2931/Giga-Project | 2acbd937bec01e6042453fe777f4182b6d67d9b7 | [
"MIT"
] | null | null | null | Giga_v1/src/ui/KDUIUnitCommunication.hpp | azarashi2931/Giga-Project | 2acbd937bec01e6042453fe777f4182b6d67d9b7 | [
"MIT"
] | null | null | null | #ifndef KD_UI_UNIT_COMMUNICATION_h
#define KD_UI_UNIT_COMMUNICATION_h
class KDUIUnitCommunication
{
public:
KDUIUnitCommunication(HardwareSerial *serialInstance) : _serialInstance(serialInstance) {}
void init();
void reset();
int read();
void printValue();
private:
HardwareSerial *_serialI... | 21.368421 | 94 | 0.729064 | azarashi2931 |
1317f90e28428d14ce6522fac3da086d5bec7b55 | 3,402 | cpp | C++ | sources/modules/levelset/SpatialDerivative/UpwindFirst/UpwindFirstWENO5.cpp | mdoshi96/beacls | 860426ed1336d9539dea195987efcdd8a8276a1c | [
"BSD-2-Clause",
"BSD-2-Clause-FreeBSD"
] | 30 | 2017-12-17T22:57:50.000Z | 2022-01-30T17:06:34.000Z | sources/modules/levelset/SpatialDerivative/UpwindFirst/UpwindFirstWENO5.cpp | codingblazes/beacls | 6c1d685ee00e3b39d8100c4a170a850682679abc | [
"BSD-2-Clause",
"BSD-2-Clause-FreeBSD"
] | 2 | 2017-03-24T06:18:16.000Z | 2017-04-04T16:16:06.000Z | sources/modules/levelset/SpatialDerivative/UpwindFirst/UpwindFirstWENO5.cpp | codingblazes/beacls | 6c1d685ee00e3b39d8100c4a170a850682679abc | [
"BSD-2-Clause",
"BSD-2-Clause-FreeBSD"
] | 8 | 2018-07-06T01:47:21.000Z | 2021-07-23T15:50:34.000Z | #include <vector>
#include <cstdint>
#include <cmath>
#include <typeinfo>
#include <levelset/SpatialDerivative/UpwindFirst/UpwindFirstWENO5.hpp>
#include <levelset/SpatialDerivative/UpwindFirst/UpwindFirstWENO5a.hpp>
#include "UpwindFirstWENO5_impl.hpp"
using namespace levelset;
UpwindFirstWENO5_impl::UpwindFirstWENO5... | 29.842105 | 177 | 0.762787 | mdoshi96 |
13184c4960d5ba0c1a6ad5f7cf94c079542fabd8 | 2,880 | cpp | C++ | go_to_location/src/go_to_location_client_node.cpp | JRL-CARI-CNR-UNIBS/manipulation | 438bfcd863a94c48628abbe4212d11ca42775b3a | [
"BSD-3-Clause"
] | null | null | null | go_to_location/src/go_to_location_client_node.cpp | JRL-CARI-CNR-UNIBS/manipulation | 438bfcd863a94c48628abbe4212d11ca42775b3a | [
"BSD-3-Clause"
] | 1 | 2021-05-11T09:46:42.000Z | 2021-05-11T09:46:42.000Z | go_to_location/src/go_to_location_client_node.cpp | JRL-CARI-CNR-UNIBS/manipulation | 438bfcd863a94c48628abbe4212d11ca42775b3a | [
"BSD-3-Clause"
] | 2 | 2021-05-11T09:43:24.000Z | 2021-05-12T09:21:51.000Z | /*
Copyright (c) 2019, Manuel Beschi CNR-STIIMA manuel.beschi@stiima.cnr.it
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... | 43.636364 | 125 | 0.777431 | JRL-CARI-CNR-UNIBS |
13185702ee86670d77449f419b574243812fbd7f | 19,192 | cpp | C++ | app_helpers.cpp | rmsk2/rmsk2 | 812b2e495c9a15c16075d4358ca9b7b950b7a26c | [
"Apache-2.0"
] | 4 | 2020-06-16T03:52:50.000Z | 2021-12-25T13:12:02.000Z | app_helpers.cpp | rmsk2/rmsk2 | 812b2e495c9a15c16075d4358ca9b7b950b7a26c | [
"Apache-2.0"
] | null | null | null | app_helpers.cpp | rmsk2/rmsk2 | 812b2e495c9a15c16075d4358ca9b7b950b7a26c | [
"Apache-2.0"
] | null | null | null | /***************************************************************************
* Copyright 2018 Martin Grap
*
* 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... | 34.210339 | 175 | 0.616246 | rmsk2 |
131d1ed752dbfa1f44199ace6533d5b45b7b9af1 | 929 | hpp | C++ | include/ashespp/Enum/DescriptorPoolCreateFlags.hpp | DragonJoker/Ashes | a6ed950b3fd8fb9626c60b4291fbd52ea75ac66e | [
"MIT"
] | 227 | 2018-09-17T16:03:35.000Z | 2022-03-19T02:02:45.000Z | include/ashespp/Enum/DescriptorPoolCreateFlags.hpp | DragonJoker/RendererLib | 0f8ad8edec1b0929ebd10247d3dd0a9ee8f8c91a | [
"MIT"
] | 39 | 2018-02-06T22:22:24.000Z | 2018-08-29T07:11:06.000Z | include/ashespp/Enum/DescriptorPoolCreateFlags.hpp | DragonJoker/Ashes | a6ed950b3fd8fb9626c60b4291fbd52ea75ac66e | [
"MIT"
] | 8 | 2019-05-04T10:33:32.000Z | 2021-04-05T13:19:27.000Z | /*
This file belongs to Ashes.
See LICENSE file in root folder.
*/
#ifndef ___AshesPP_DescriptorPoolCreateFlags_HPP___
#define ___AshesPP_DescriptorPoolCreateFlags_HPP___
#pragma once
namespace ashes
{
/**
*\brief
* Gets the name of the given element type.
*\param[in] value
* The element type.
*\return
* The na... | 23.225 | 68 | 0.779333 | DragonJoker |
131dce6e97fbce5c7b0261a3a7dc1cf373024e04 | 1,598 | cpp | C++ | generation/scraper/Partitions/WinRT/main.cpp | tannergooding/win32metadata | 08577b93c4fa5ed8514f4d7290432773dbc4750a | [
"MIT"
] | null | null | null | generation/scraper/Partitions/WinRT/main.cpp | tannergooding/win32metadata | 08577b93c4fa5ed8514f4d7290432773dbc4750a | [
"MIT"
] | null | null | null | generation/scraper/Partitions/WinRT/main.cpp | tannergooding/win32metadata | 08577b93c4fa5ed8514f4d7290432773dbc4750a | [
"MIT"
] | null | null | null | #define SECURITY_WIN32 // For sspi.h
#define QCC_OS_GROUP_WINDOWS
#include "intrinfix.h"
#include "windows.fixed.h"
#include <sdkddkver.h>
//#define RO_NO_TEMPLATE_NAME
#include <dispatcherqueue.h>
#include <accountssettingspaneinterop.h>
#include <appserviceinterop.h>
#include <CastingInterop.h>
#include <dragdrop... | 29.054545 | 56 | 0.790989 | tannergooding |
131dd424f4c748416e874535d8de14c7730b5aeb | 2,655 | cpp | C++ | REDSI_1160929_1161573/boost_1_67_0/libs/numeric/odeint/examples/openmp/phase_chain.cpp | Wultyc/ISEP_1718_2A2S_REDSI_TrabalhoGrupo | eb0f7ef64e188fe871f47c2ef9cdef36d8a66bc8 | [
"MIT"
] | 32 | 2019-02-27T06:57:07.000Z | 2021-08-29T10:56:19.000Z | REDSI_1160929_1161573/boost_1_67_0/libs/numeric/odeint/examples/openmp/phase_chain.cpp | Wultyc/ISEP_1718_2A2S_REDSI_TrabalhoGrupo | eb0f7ef64e188fe871f47c2ef9cdef36d8a66bc8 | [
"MIT"
] | 1 | 2019-03-04T11:21:00.000Z | 2019-05-24T01:36:31.000Z | REDSI_1160929_1161573/boost_1_67_0/libs/numeric/odeint/examples/openmp/phase_chain.cpp | Wultyc/ISEP_1718_2A2S_REDSI_TrabalhoGrupo | eb0f7ef64e188fe871f47c2ef9cdef36d8a66bc8 | [
"MIT"
] | 5 | 2019-08-20T13:45:04.000Z | 2022-03-01T18:23:49.000Z | /*
* phase_chain.cpp
*
* Example of OMP parallelization with odeint
*
* Copyright 2013 Karsten Ahnert
* Copyright 2013 Mario Mulansky
* Copyright 2013 Pascal Germroth
* Distributed under the Boost Software License, Version 1.0. (See
* accompanying file LICENSE_1_0.txt or copy at
* http://www.boost.o... | 27.65625 | 85 | 0.579661 | Wultyc |
131f72a4fbffcc6341dff9bbeec5b34a62484d5a | 751 | cpp | C++ | Almond/src/Platform/OpenGL/OpenGLContext.cpp | joshrudesill/Almond | aab1e74eb5f85b9e06d5159ff3d429b728f7ac5e | [
"Apache-2.0"
] | null | null | null | Almond/src/Platform/OpenGL/OpenGLContext.cpp | joshrudesill/Almond | aab1e74eb5f85b9e06d5159ff3d429b728f7ac5e | [
"Apache-2.0"
] | null | null | null | Almond/src/Platform/OpenGL/OpenGLContext.cpp | joshrudesill/Almond | aab1e74eb5f85b9e06d5159ff3d429b728f7ac5e | [
"Apache-2.0"
] | null | null | null | #include "hzpch.h"
#include "OpenGLContext.h"
#include <GLFW/glfw3.h>
#include "glad/glad.h"
namespace Almond {
OpenGLContext::OpenGLContext(GLFWwindow* windowHandle)
:m_WindowHandle(windowHandle)
{
AL_CORE_ASSERT(windowHandle, "Handle is null.");
}
void OpenGLContext::init()
{
glfwMakeContextCurrent(m_Wind... | 27.814815 | 67 | 0.733688 | joshrudesill |
13208b68947bb2b80288b77122f4eb365debe157 | 8,191 | hpp | C++ | src/messaging_implementation/ZmqZmfMessagingServiceImplementation.hpp | zeroSDN/ZeroModuleFramework | a2262a77891b9c6b34d33dc6ff1b9734175fdcce | [
"Apache-2.0"
] | null | null | null | src/messaging_implementation/ZmqZmfMessagingServiceImplementation.hpp | zeroSDN/ZeroModuleFramework | a2262a77891b9c6b34d33dc6ff1b9734175fdcce | [
"Apache-2.0"
] | null | null | null | src/messaging_implementation/ZmqZmfMessagingServiceImplementation.hpp | zeroSDN/ZeroModuleFramework | a2262a77891b9c6b34d33dc6ff1b9734175fdcce | [
"Apache-2.0"
] | null | null | null | #ifndef ZMF_ZMQ_SERVICE_H
#define ZMF_ZMQ_SERVICE_H
#include "ModuleHandle.hpp"
#include "../messaging/IZmfMessagingService.hpp"
#include "ExternalRequestIdentity.hpp"
#include "../messaging/IZmfMessagingCoreInterface.hpp"
#include "../proto/FrameworkProto.pb.h"
#include <zmqpp/message.hpp>
#include <zmqpp/poller.hpp>... | 30.677903 | 116 | 0.54511 | zeroSDN |
1321fa202f00669ce132cf5d976a7df88fb940b6 | 4,130 | cpp | C++ | QP/v5.4.2/qpcpp/source/qs_fp.cpp | hyller/GladiatorCots | 36a69df68675bb40b562081c531e6674037192a8 | [
"Unlicense"
] | null | null | null | QP/v5.4.2/qpcpp/source/qs_fp.cpp | hyller/GladiatorCots | 36a69df68675bb40b562081c531e6674037192a8 | [
"Unlicense"
] | null | null | null | QP/v5.4.2/qpcpp/source/qs_fp.cpp | hyller/GladiatorCots | 36a69df68675bb40b562081c531e6674037192a8 | [
"Unlicense"
] | null | null | null | /// @file
/// @brief QS floating point output implementation
/// @ingroup qs
/// @cond
///***************************************************************************
/// Product: QS/C++
/// Last updated for version 5.4.0
/// Last updated on 2015-04-29
///
/// Q u a n t u m L e a P s
/// ... | 35.913043 | 78 | 0.584988 | hyller |
132338d9dc6ae6dc715778f201618755eca983b4 | 4,214 | hpp | C++ | src/benchmarks/misc.hpp | Michoumichmich/SYCL-Hashing-Algorithms | b1c20f8c0fd043c440dd7c88fe5c5766781d652f | [
"Intel"
] | null | null | null | src/benchmarks/misc.hpp | Michoumichmich/SYCL-Hashing-Algorithms | b1c20f8c0fd043c440dd7c88fe5c5766781d652f | [
"Intel"
] | null | null | null | src/benchmarks/misc.hpp | Michoumichmich/SYCL-Hashing-Algorithms | b1c20f8c0fd043c440dd7c88fe5c5766781d652f | [
"Intel"
] | null | null | null | #pragma once
#include <cstring>
#include <sycl_hash.hpp>
#include <tools/fill_rand.hpp>
#include <tools/chrono.hpp>
#include <iomanip>
using namespace usm_smart_ptr;
template<hash::method M, int ... args>
void compare_two_devices(sycl::queue q1, sycl::queue q2, size_t input_block_size, size_t n_blocs) {
std::c... | 49 | 196 | 0.640484 | Michoumichmich |
1323e23c83fe99d0be5d5b55f3a3c17e186b9336 | 17,826 | cc | C++ | src/test/testredux.cc | gitrah/cuMatrix | cab0239d0ec141528c7832275bac9c7daefdebf4 | [
"Unlicense"
] | null | null | null | src/test/testredux.cc | gitrah/cuMatrix | cab0239d0ec141528c7832275bac9c7daefdebf4 | [
"Unlicense"
] | null | null | null | src/test/testredux.cc | gitrah/cuMatrix | cab0239d0ec141528c7832275bac9c7daefdebf4 | [
"Unlicense"
] | null | null | null | #include "../CuMatrix.h"
#include "../util.h"
#include "../Kernels.h"
#include "tests.h"
#include "../MatrixExceptions.h"
#include "testKernels.h"
template int testRedux<float>::operator()(int argc, const char **argv) const;
template int testRedux<double>::operator()(int argc, const char **argv) const;
template int te... | 32.768382 | 169 | 0.640525 | gitrah |
1325537386dd8318d1360a7b92335ef2017989b4 | 11,543 | cpp | C++ | test/marshall/shared_buffer_test.cpp | oxenran/utility-rack | 5d757feea65e9e83375f4be0a770225ebf39d019 | [
"BSL-1.0"
] | null | null | null | test/marshall/shared_buffer_test.cpp | oxenran/utility-rack | 5d757feea65e9e83375f4be0a770225ebf39d019 | [
"BSL-1.0"
] | null | null | null | test/marshall/shared_buffer_test.cpp | oxenran/utility-rack | 5d757feea65e9e83375f4be0a770225ebf39d019 | [
"BSL-1.0"
] | null | null | null | /** @file
*
* @ingroup test_module
*
* @brief Test scenarios for @c mutable_shared_buffer and
* @c const_shared_buffer classes.
*
* @author Cliff Green
*
* Copyright (c) 2017-2018 by Cliff Green
*
* Distributed under the Boost Software License, Version 1.0.
* (See accompanying file LICENSE.txt or co... | 33.361272 | 101 | 0.616737 | oxenran |
1325813b45ef09d9dee98bae7a346e52099d9a37 | 4,786 | cpp | C++ | components/nvs_flash/src/nvs_encr.cpp | ebertn/esp-idf-nes | 9dc7e9a258fd378d36408a1348253b373974b431 | [
"Apache-2.0"
] | 2 | 2020-06-23T08:05:58.000Z | 2020-06-24T01:25:51.000Z | components/nvs_flash/src/nvs_encr.cpp | ebertn/esp-idf-nes | 9dc7e9a258fd378d36408a1348253b373974b431 | [
"Apache-2.0"
] | 2 | 2022-03-29T05:16:50.000Z | 2022-03-29T05:16:50.000Z | vendors/espressif/esp-idf/components/nvs_flash/src/nvs_encr.cpp | ictk-solution-dev/amazon-freertos | cc76512292ddfb70bba3030dbcb740ef3c6ead8b | [
"MIT"
] | null | null | null | // Copyright 2015-2018 Espressif Systems (Shanghai) PTE 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 require... | 31.486842 | 130 | 0.609695 | ebertn |
13280a99297fc67053595496affea981ea7754a4 | 3,677 | cc | C++ | chrome/browser/ui/ash/launcher/multi_profile_shell_window_launcher_controller.cc | SlimKatLegacy/android_external_chromium_org | ee480ef5039d7c561fc66ccf52169ead186f1bea | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 4 | 2017-04-05T01:51:34.000Z | 2018-02-15T03:11:54.000Z | chrome/browser/ui/ash/launcher/multi_profile_shell_window_launcher_controller.cc | j4ckfrost/android_external_chromium_org | a1a3dad8b08d1fcf6b6b36c267158ed63217c780 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2021-12-13T19:44:12.000Z | 2021-12-13T19:44:12.000Z | chrome/browser/ui/ash/launcher/multi_profile_shell_window_launcher_controller.cc | j4ckfrost/android_external_chromium_org | a1a3dad8b08d1fcf6b6b36c267158ed63217c780 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 4 | 2017-04-05T01:52:03.000Z | 2022-02-13T17:58:45.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 "chrome/browser/ui/ash/launcher/multi_profile_shell_window_launcher_controller.h"
#include "apps/shell_window.h"
#include "chrome/browser/profil... | 39.967391 | 90 | 0.741637 | SlimKatLegacy |
13298ae9a4c3f6fdc0b629cfad0e26bb7dc6ee9b | 1,502 | cc | C++ | third_party/blink/renderer/modules/peerconnection/rtc_quic_stream_event.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | third_party/blink/renderer/modules/peerconnection/rtc_quic_stream_event.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | third_party/blink/renderer/modules/peerconnection/rtc_quic_stream_event.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "third_party/blink/renderer/modules/peerconnection/rtc_quic_stream_event.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_rtc_quic_... | 32.652174 | 89 | 0.787617 | sarang-apps |
132ba4a63a21d9dfff4b8e474b90818c8214b51c | 5,187 | cpp | C++ | Common/IniFile.cpp | wolfgang1991/CommonLibraries | 949251019cc8dd532938d16ab85a4e772eb6817e | [
"Zlib"
] | null | null | null | Common/IniFile.cpp | wolfgang1991/CommonLibraries | 949251019cc8dd532938d16ab85a4e772eb6817e | [
"Zlib"
] | 1 | 2020-07-31T13:20:54.000Z | 2020-08-06T15:45:39.000Z | Common/IniFile.cpp | wolfgang1991/CommonLibraries | 949251019cc8dd532938d16ab85a4e772eb6817e | [
"Zlib"
] | null | null | null | #include <IniFile.h>
#include <IniIterator.h>
#include <IniParser.h>
#include <iostream>
#include <cstring>
#include <cassert>
#include <string>
#include <map>
#include <fstream>
#include <sstream>
using namespace std;
static const char characters[] = { '\n', '\\', '#', ';', ' ', '\t', '[', ']', '=', '\r'};
static c... | 25.551724 | 123 | 0.644496 | wolfgang1991 |
132bcb5535c6c01c1332eb6f41d2efb4c34ab682 | 3,037 | cc | C++ | lib/jxl/bits_test.cc | jxl-bot/libjxl | 44778c6902084bd239c5fb8eaa53bfd90dd9face | [
"Apache-2.0"
] | 1 | 2021-08-05T12:14:05.000Z | 2021-08-05T12:14:05.000Z | lib/jxl/bits_test.cc | jxl-bot/libjxl | 44778c6902084bd239c5fb8eaa53bfd90dd9face | [
"Apache-2.0"
] | null | null | null | lib/jxl/bits_test.cc | jxl-bot/libjxl | 44778c6902084bd239c5fb8eaa53bfd90dd9face | [
"Apache-2.0"
] | null | null | null | // Copyright (c) the JPEG XL Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agree... | 34.123596 | 75 | 0.726045 | jxl-bot |
132d80140a70a0d45b505429a0ac4947ef3c253e | 145 | cpp | C++ | UsageOfGetsString.cpp | klmsathish/C_ProgrammingBasics | 7ee127cd201155eddcaab3adb7a91fe71b62d1a2 | [
"MIT"
] | 1 | 2020-06-24T10:08:22.000Z | 2020-06-24T10:08:22.000Z | UsageOfGetsString.cpp | klmsathish/CProgrammingBasics | 7ee127cd201155eddcaab3adb7a91fe71b62d1a2 | [
"MIT"
] | null | null | null | UsageOfGetsString.cpp | klmsathish/CProgrammingBasics | 7ee127cd201155eddcaab3adb7a91fe71b62d1a2 | [
"MIT"
] | null | null | null | #include<stdio.h>
int main()
{
char name[20] ;
printf("ENTER YOUR NAME = ");
gets(name);
printf(" heloo %s ",name);
return 0;
}
| 13.181818 | 31 | 0.551724 | klmsathish |
132df23bd3d84d4f09460d39d8930ed599c3404a | 928 | cpp | C++ | Boost/unordered/unorderedset.cpp | Fernal73/LearnCpp | 100aa80e447fe7735d7f8217c2ec72ae32ed1c7f | [
"MIT"
] | null | null | null | Boost/unordered/unorderedset.cpp | Fernal73/LearnCpp | 100aa80e447fe7735d7f8217c2ec72ae32ed1c7f | [
"MIT"
] | null | null | null | Boost/unordered/unorderedset.cpp | Fernal73/LearnCpp | 100aa80e447fe7735d7f8217c2ec72ae32ed1c7f | [
"MIT"
] | null | null | null | #include <boost/unordered_set.hpp>
#include <iostream>
#include <unordered_set>
#include <string>
using namespace std;
int stdmain();
int main() {
typedef boost::unordered_set<string> unordered_set;
unordered_set set;
set.emplace("cat");
set.emplace("shark");
set.emplace("spider");
for (const string &s... | 19.744681 | 62 | 0.614224 | Fernal73 |
132f355fe8e539026d9ba7a8464fb28294042b51 | 1,703 | cpp | C++ | src/planner/interface/goal_interface.cpp | anuranbaka/Vulcan | 56339f77f6cf64b5fda876445a33e72cd15ce028 | [
"MIT"
] | 3 | 2020-03-05T23:56:14.000Z | 2021-02-17T19:06:50.000Z | src/planner/interface/goal_interface.cpp | anuranbaka/Vulcan | 56339f77f6cf64b5fda876445a33e72cd15ce028 | [
"MIT"
] | 1 | 2021-03-07T01:23:47.000Z | 2021-03-07T01:23:47.000Z | src/planner/interface/goal_interface.cpp | anuranbaka/Vulcan | 56339f77f6cf64b5fda876445a33e72cd15ce028 | [
"MIT"
] | 1 | 2021-03-03T07:54:16.000Z | 2021-03-03T07:54:16.000Z | /* Copyright (C) 2010-2019, The Regents of The University of Michigan.
All rights reserved.
This software was developed as part of the The Vulcan project in the Intelligent Robotics Lab
under the direction of Benjamin Kuipers, kuipers@umich.edu. Use of this code is governed by an
MIT-style License that can be foun... | 24.328571 | 106 | 0.660012 | anuranbaka |
132fa300d21cb683ec2335197570b8d7919cef7a | 1,257 | cpp | C++ | src/Examples/NavigationGraph/NavigationGraphExampleFactory.cpp | eegeo/cardboard-vr-integration | 3f0c3d0f1b7ddaa6b2ef980e46ead71c8a85a260 | [
"BSD-2-Clause"
] | 8 | 2017-07-02T01:14:29.000Z | 2021-06-19T07:14:38.000Z | src/Examples/NavigationGraph/NavigationGraphExampleFactory.cpp | eegeo/cardboard-vr-demo | 3f0c3d0f1b7ddaa6b2ef980e46ead71c8a85a260 | [
"BSD-2-Clause"
] | null | null | null | src/Examples/NavigationGraph/NavigationGraphExampleFactory.cpp | eegeo/cardboard-vr-demo | 3f0c3d0f1b7ddaa6b2ef980e46ead71c8a85a260 | [
"BSD-2-Clause"
] | 5 | 2018-02-07T07:43:51.000Z | 2020-01-24T12:29:25.000Z | // Copyright eeGeo Ltd (2012-2014), All Rights Reserved
#include "NavigationGraphExampleFactory.h"
#include "NavigationGraphExample.h"
#include "DefaultCameraControllerFactory.h"
#include "TransportModelModule.h"
namespace Examples
{
NavigationGraphExampleFactory::NavigationGraphExampleFactory(Eegeo::EegeoWorld& wor... | 35.914286 | 125 | 0.741448 | eegeo |
132ff6aded62f2d54d7817a6fad24398df1e71f1 | 311 | cpp | C++ | src/fe/subsystems/scripting/tableHandler.cpp | TheCandianVendingMachine/TCVM_Flat_Engine | 13797b91f6f4199d569f80baa29e2584652fc4b5 | [
"MIT"
] | 1 | 2018-06-15T23:49:37.000Z | 2018-06-15T23:49:37.000Z | src/fe/subsystems/scripting/tableHandler.cpp | TheCandianVendingMachine/TCVM_Flat_Engine | 13797b91f6f4199d569f80baa29e2584652fc4b5 | [
"MIT"
] | 5 | 2017-04-23T03:25:10.000Z | 2018-02-23T07:48:16.000Z | src/fe/subsystems/scripting/tableHandler.cpp | TheCandianVendingMachine/TCVM_Flat_Engine | 13797b91f6f4199d569f80baa29e2584652fc4b5 | [
"MIT"
] | null | null | null | #include "fe/subsystems/scripting/tableHandler.hpp"
#include "fe/subsystems/scripting/scriptHelpers.hpp"
fe::tableHandler::tableHandler(sol::state &state) : m_state(state)
{
}
sol::table fe::tableHandler::getTable(const char *path)
{
return fe::imp::getTableFromPath(path, m_state);
}
| 25.916667 | 66 | 0.70418 | TheCandianVendingMachine |
1330e9c2792da04cdd97f8991bc3000ea1165767 | 4,768 | cpp | C++ | tools/cppitertools/test/test_compress.cpp | Krissmedt/imprunko | 94171d0d47171cc4b199cd52f5f29385cbff903e | [
"MIT"
] | 1,050 | 2015-01-12T21:20:01.000Z | 2022-03-31T12:50:10.000Z | tools/cppitertools/test/test_compress.cpp | Krissmedt/imprunko | 94171d0d47171cc4b199cd52f5f29385cbff903e | [
"MIT"
] | 67 | 2015-02-14T18:53:26.000Z | 2022-03-30T06:03:38.000Z | tools/cppitertools/test/test_compress.cpp | Krissmedt/imprunko | 94171d0d47171cc4b199cd52f5f29385cbff903e | [
"MIT"
] | 121 | 2015-01-21T00:21:22.000Z | 2022-03-12T01:27:42.000Z | #include <compress.hpp>
#include "helpers.hpp"
#include <iterator>
#include <string>
#include <utility>
#include <vector>
#include "catch.hpp"
using iter::compress;
using itertest::SolidInt;
using itertest::BasicIterable;
using Vec = const std::vector<int>;
TEST_CASE("compress: alternating", "[compress]") {
std::... | 27.883041 | 79 | 0.627307 | Krissmedt |
133146c26ff37c5deed5f187fa747066237395af | 4,834 | cpp | C++ | 3rdParty/iresearch/core/store/data_output.cpp | specimen151/arangodb | 1a3a31dace16293426a19364eb4d93c8f17c0d68 | [
"BSL-1.0",
"Zlib",
"Apache-2.0"
] | null | null | null | 3rdParty/iresearch/core/store/data_output.cpp | specimen151/arangodb | 1a3a31dace16293426a19364eb4d93c8f17c0d68 | [
"BSL-1.0",
"Zlib",
"Apache-2.0"
] | null | null | null | 3rdParty/iresearch/core/store/data_output.cpp | specimen151/arangodb | 1a3a31dace16293426a19364eb4d93c8f17c0d68 | [
"BSL-1.0",
"Zlib",
"Apache-2.0"
] | null | null | null | ////////////////////////////////////////////////////////////////////////////////
/// DISCLAIMER
///
/// Copyright 2016 by EMC Corporation, 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... | 26.271739 | 80 | 0.542201 | specimen151 |
1331e825b4644c1d0da7f3b11954ec2cad7201df | 61,827 | cpp | C++ | src/electionguard/election.cpp | msprotz/electionguard-cpp | 206002a8873450141451c9b6f3da6cd389ee5c05 | [
"MIT"
] | null | null | null | src/electionguard/election.cpp | msprotz/electionguard-cpp | 206002a8873450141451c9b6f3da6cd389ee5c05 | [
"MIT"
] | null | null | null | src/electionguard/election.cpp | msprotz/electionguard-cpp | 206002a8873450141451c9b6f3da6cd389ee5c05 | [
"MIT"
] | null | null | null | #include "electionguard/election.hpp"
#include "electionguard/hash.hpp"
#include "log.hpp"
#include "serialize.hpp"
#include <cstring>
#include <iostream>
#include <utility>
using std::make_unique;
using std::map;
using std::move;
using std::out_of_range;
using std::ref;
using std::reference_wrapper;
using std::stri... | 37 | 100 | 0.646481 | msprotz |
1335e4bcd9bf40fb7bf1b663775829b57b2d3ac0 | 1,907 | cc | C++ | src/MEPED_SteppingAction.cc | kbyando/meped-etelescope | cb1805cb8d1662a561fb1b7a405aecbfffac8f2c | [
"Apache-2.0"
] | null | null | null | src/MEPED_SteppingAction.cc | kbyando/meped-etelescope | cb1805cb8d1662a561fb1b7a405aecbfffac8f2c | [
"Apache-2.0"
] | null | null | null | src/MEPED_SteppingAction.cc | kbyando/meped-etelescope | cb1805cb8d1662a561fb1b7a405aecbfffac8f2c | [
"Apache-2.0"
] | null | null | null | // NOAA POES Monte Carlo Simulation v1.4, 03/07/2010e
// MEPED :: Electron Telescope
// Karl Yando, Professor Robyn Millan
// Dartmouth College, 2008
//
// "MEPED_SteppingAction.cc"
#include "MEPED_SteppingAction.hh"
#include "MEPED_DetectorConstruction.hh"
#include "MEPED_EventAction.hh"
#include "G4Step.hh"
MEPED... | 33.45614 | 99 | 0.712638 | kbyando |
13366cb9cf1dba78fb79af64657a9770aaa04e69 | 2,217 | cpp | C++ | src/raspberry/bridge_wiringpi.cpp | OpenWinch/test-workflow | bb2dc7ae955d5b6f248518182ec78dd02fc8e7e4 | [
"Apache-2.0"
] | null | null | null | src/raspberry/bridge_wiringpi.cpp | OpenWinch/test-workflow | bb2dc7ae955d5b6f248518182ec78dd02fc8e7e4 | [
"Apache-2.0"
] | null | null | null | src/raspberry/bridge_wiringpi.cpp | OpenWinch/test-workflow | bb2dc7ae955d5b6f248518182ec78dd02fc8e7e4 | [
"Apache-2.0"
] | null | null | null | /**
* @file bridge_.cpp
* @author Mickael GAILLARD (mick.gaillard@gmail.com)
* @brief OpenWinch Project
*
* @copyright Copyright © 2020
*/
#include "openwinch.hpp"
#include "bridge_io.hpp"
#ifdef OW_BD_PI
#ifdef OW_BG_WIRINGPI
#ifdef __cplusplus
extern "C" {
#endif
#include <wiringPi.h>
#include <softPwm.h>
#... | 17.595238 | 73 | 0.664862 | OpenWinch |
13382a174a18e346e2f479ceec875c702a21aeef | 1,128 | cpp | C++ | src/Platform/SystemInfo.windows.cpp | tido64/rainbow | b54b84860979eca86e7d32ab61f92d9745fecfaa | [
"MIT"
] | 43 | 2019-03-13T16:35:09.000Z | 2021-11-14T20:35:05.000Z | src/Platform/SystemInfo.windows.cpp | tido64/rainbow | b54b84860979eca86e7d32ab61f92d9745fecfaa | [
"MIT"
] | 574 | 2019-02-27T22:21:55.000Z | 2021-09-06T18:46:59.000Z | src/Platform/SystemInfo.windows.cpp | tn0502/rainbow | b54b84860979eca86e7d32ab61f92d9745fecfaa | [
"MIT"
] | 7 | 2015-12-22T20:12:55.000Z | 2018-02-24T10:05:55.000Z | // Copyright (c) 2010-present Bifrost Entertainment AS and Tommy Nguyen
// Distributed under the MIT License.
// (See accompanying file LICENSE or copy at http://opensource.org/licenses/MIT)
#include "Platform/SystemInfo.h"
#include <Windows.h>
auto rainbow::system_info::has_accelerometer() -> bool
{
return fals... | 25.636364 | 80 | 0.671099 | tido64 |
133863fbd303d2e9a722dceaf26cc6c29c3ab0dc | 8,656 | cpp | C++ | src/tests/class_tests/openms/source/MissedCleavages_test.cpp | Amit0617/OpenMS | 70ef98e32b02721f45fe72bd4de4b4833755a66f | [
"BSL-1.0",
"Zlib",
"Apache-2.0"
] | 348 | 2015-01-17T16:50:12.000Z | 2022-03-30T22:55:39.000Z | src/tests/class_tests/openms/source/MissedCleavages_test.cpp | Amit0617/OpenMS | 70ef98e32b02721f45fe72bd4de4b4833755a66f | [
"BSL-1.0",
"Zlib",
"Apache-2.0"
] | 4,259 | 2015-01-01T14:07:54.000Z | 2022-03-31T16:49:14.000Z | src/tests/class_tests/openms/source/MissedCleavages_test.cpp | Amit0617/OpenMS | 70ef98e32b02721f45fe72bd4de4b4833755a66f | [
"BSL-1.0",
"Zlib",
"Apache-2.0"
] | 266 | 2015-01-24T14:56:14.000Z | 2022-03-30T12:32:35.000Z | // --------------------------------------------------------------------------
// OpenMS -- Open-Source Mass Spectrometry
// --------------------------------------------------------------------------
// Copyright The OpenMS Team -- Eberhard Karls University Tuebingen,
// ETH Zurich, and Freie Universit... | 36.217573 | 179 | 0.685305 | Amit0617 |
133aa04b1f093de1358e9fe5e042ee83e61a4cc5 | 1,869 | cpp | C++ | source/cxx/src/princomp.cpp | RBigData/coral2 | 1d20dde80319277cf59f84e9d1e47aeb9a1038f5 | [
"BSD-2-Clause"
] | null | null | null | source/cxx/src/princomp.cpp | RBigData/coral2 | 1d20dde80319277cf59f84e9d1e47aeb9a1038f5 | [
"BSD-2-Clause"
] | null | null | null | source/cxx/src/princomp.cpp | RBigData/coral2 | 1d20dde80319277cf59f84e9d1e47aeb9a1038f5 | [
"BSD-2-Clause"
] | null | null | null | #define ARMA_DONT_USE_WRAPPER
#include <armadillo>
#include <cstdio>
#include <mpi.h>
#include <string>
#define ALLREDUCE(X) MPI_Allreduce(MPI_IN_PLACE, X.memptr(), X.n_elem, MPI_DOUBLE, MPI_SUM, MPI_COMM_WORLD)
class Shaq
{
public:
Shaq()
{
MPI_Comm_rank(MPI_COMM_WORLD, &rank);
};
void ... | 19.268041 | 127 | 0.59176 | RBigData |
133b45b975ea6f0a8ed32025afd2259f9248e408 | 2,380 | cpp | C++ | src/butil/class_name.cpp | wu-hanqing/incubator-brpc | 7de0d7eaf6fca2b73b9f6018eb1b9128ce0a8f21 | [
"Apache-2.0"
] | 5,379 | 2019-03-02T14:35:09.000Z | 2022-03-31T14:19:19.000Z | src/butil/class_name.cpp | RichPure/incubator-brpc | 846f7998799dd3c9103ef743fecc3c75d6dcb7ef | [
"BSL-1.0",
"Apache-2.0"
] | 921 | 2019-03-02T00:57:34.000Z | 2022-03-30T08:58:23.000Z | src/butil/class_name.cpp | RichPure/incubator-brpc | 846f7998799dd3c9103ef743fecc3c75d6dcb7ef | [
"BSL-1.0",
"Apache-2.0"
] | 1,641 | 2019-03-02T06:53:17.000Z | 2022-03-31T11:35:07.000Z | // Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may... | 38.387097 | 72 | 0.65 | wu-hanqing |
133c6242316c32d514c943f7021811c06a9834ff | 3,161 | cpp | C++ | rack/drain/util/Variable.cpp | fmidev/rack | 95c39ef610637e8068253efc36aab40177caff03 | [
"MIT"
] | 20 | 2018-03-21T10:58:00.000Z | 2022-02-11T14:43:03.000Z | rack/drain/util/Variable.cpp | fmidev/rack | 95c39ef610637e8068253efc36aab40177caff03 | [
"MIT"
] | null | null | null | rack/drain/util/Variable.cpp | fmidev/rack | 95c39ef610637e8068253efc36aab40177caff03 | [
"MIT"
] | 6 | 2018-07-04T04:55:56.000Z | 2021-04-15T19:25:13.000Z | /*
MIT License
Copyright (c) 2017 FMI Open Development / Markus Peura, first.last@fmi.fi
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 rig... | 25.909836 | 111 | 0.703575 | fmidev |
133d68a2156f48924e685ecc273ac480f68c062c | 2,454 | cpp | C++ | Source/Computer/AssemblyDebugger.cpp | CharlesCarley/HackComputer | 2f29ec7929ef08f295b5be5810f324acc99604e0 | [
"MIT"
] | null | null | null | Source/Computer/AssemblyDebugger.cpp | CharlesCarley/HackComputer | 2f29ec7929ef08f295b5be5810f324acc99604e0 | [
"MIT"
] | null | null | null | Source/Computer/AssemblyDebugger.cpp | CharlesCarley/HackComputer | 2f29ec7929ef08f295b5be5810f324acc99604e0 | [
"MIT"
] | null | null | null | /*
-------------------------------------------------------------------------------
Copyright (c) Charles Carley.
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is gran... | 31.461538 | 79 | 0.627547 | CharlesCarley |
133e87031e4fd0599003e5e82338d7fc3388e452 | 7,087 | cpp | C++ | isis/tests/TestUtilities.cpp | robotprogrammer22/ISIS3 | 8a2ec4bb3c91969c81d75c681051a1fe77028788 | [
"CC0-1.0"
] | null | null | null | isis/tests/TestUtilities.cpp | robotprogrammer22/ISIS3 | 8a2ec4bb3c91969c81d75c681051a1fe77028788 | [
"CC0-1.0"
] | null | null | null | isis/tests/TestUtilities.cpp | robotprogrammer22/ISIS3 | 8a2ec4bb3c91969c81d75c681051a1fe77028788 | [
"CC0-1.0"
] | null | null | null | #include "TestUtilities.h"
namespace Isis {
/**
* Custom IException assertion that checks that the exception message contains
* a substring.
*/
::testing::AssertionResult AssertIExceptionMessage(
const char* e_expr,
const char* contents_expr,
IException &e,
QString... | 38.102151 | 96 | 0.584874 | robotprogrammer22 |
1340445bddb6a9819e70226bb542b7aff2478b6b | 7,531 | cc | C++ | tests/route_UT.cc | KnochJ/bus-sim | 5c736ad74200e4e69b73e730661a66f355b6daaf | [
"FSFAP"
] | null | null | null | tests/route_UT.cc | KnochJ/bus-sim | 5c736ad74200e4e69b73e730661a66f355b6daaf | [
"FSFAP"
] | null | null | null | tests/route_UT.cc | KnochJ/bus-sim | 5c736ad74200e4e69b73e730661a66f355b6daaf | [
"FSFAP"
] | null | null | null | /*
* Please note, the assessment tests for grading, will use the same include
* files, class names, and function names for accessing students' code that you
* find in this file. So students, if you write your code so that it passes
* these feedback tests, you can be assured that the auto-grader will at least
* be... | 36.558252 | 113 | 0.636303 | KnochJ |