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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
e4743715c23329c9093f27627c9886744d797f27 | 661 | cc | C++ | friend-exceptions.cc | waybeforenow/modular-friend | 12e35a49a2a3cd2d6482293788ee5223d981f8cf | [
"MIT"
] | null | null | null | friend-exceptions.cc | waybeforenow/modular-friend | 12e35a49a2a3cd2d6482293788ee5223d981f8cf | [
"MIT"
] | null | null | null | friend-exceptions.cc | waybeforenow/modular-friend | 12e35a49a2a3cd2d6482293788ee5223d981f8cf | [
"MIT"
] | null | null | null | #include "friend-exceptions.h"
#include <exception>
namespace Friend {
runtime_error::runtime_error(const char* file, const size_t line)
: what_str(new std::string(file)) {
what_str->push_back(':');
what_str->append(std::to_string(line));
}
runtime_error::runtime_error(const char* what, const char* file,
... | 26.44 | 78 | 0.665658 | waybeforenow |
e474596427aeb62785795d119a336d2c45e0b672 | 3,487 | cpp | C++ | mysql-server/storage/ndb/src/common/util/ndb_az31.cpp | silenc3502/MYSQL-Arch-Doc-Summary | fcc6bb65f72a385b9f56debc9b2c00cee5914bae | [
"MIT"
] | null | null | null | mysql-server/storage/ndb/src/common/util/ndb_az31.cpp | silenc3502/MYSQL-Arch-Doc-Summary | fcc6bb65f72a385b9f56debc9b2c00cee5914bae | [
"MIT"
] | null | null | null | mysql-server/storage/ndb/src/common/util/ndb_az31.cpp | silenc3502/MYSQL-Arch-Doc-Summary | fcc6bb65f72a385b9f56debc9b2c00cee5914bae | [
"MIT"
] | null | null | null | /* Copyright (c) 2020, Oracle and/or its affiliates.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License, version 2.0,
as published by the Free Software Foundation.
This program is also distributed with certain software (including
but not... | 31.7 | 78 | 0.60195 | silenc3502 |
e4772c060b481e349a963de360f6565102585ce0 | 7,379 | cpp | C++ | dynamic_vino_lib/src/inferences/object_segmentation.cpp | pqLee/ros2_openvino_toolkit | 6ba38446bf9778567be2df14d1141c3669e7ac92 | [
"Apache-2.0"
] | 120 | 2018-09-30T05:36:25.000Z | 2022-01-28T17:52:47.000Z | dynamic_vino_lib/src/inferences/object_segmentation.cpp | sammysun0711/ros2_openvino_toolkit | f6ed1d367e452c8672d41d739243bdf59ea6f578 | [
"Apache-2.0"
] | 151 | 2018-10-16T17:46:24.000Z | 2022-03-11T14:38:54.000Z | dynamic_vino_lib/src/inferences/object_segmentation.cpp | sammysun0711/ros2_openvino_toolkit | f6ed1d367e452c8672d41d739243bdf59ea6f578 | [
"Apache-2.0"
] | 83 | 2018-09-30T05:09:35.000Z | 2022-01-26T04:56:09.000Z | // Copyright (c) 2018 Intel Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agr... | 31.4 | 94 | 0.681122 | pqLee |
e4783050ca55769bc19dd05305c9fbbc1033f357 | 37,343 | cxx | C++ | opal-3.16.2/plugins/video/VP8-WebM/vp8_webm.cxx | wwl33695/myopal | d302113c8ad8156b3392ce514cde491cf42d51af | [
"MIT"
] | null | null | null | opal-3.16.2/plugins/video/VP8-WebM/vp8_webm.cxx | wwl33695/myopal | d302113c8ad8156b3392ce514cde491cf42d51af | [
"MIT"
] | null | null | null | opal-3.16.2/plugins/video/VP8-WebM/vp8_webm.cxx | wwl33695/myopal | d302113c8ad8156b3392ce514cde491cf42d51af | [
"MIT"
] | null | null | null | /*
* VP8 (WebM) video codec Plugin codec for OPAL
*
* Copyright (C) 2012 Vox Lucida Pty Ltd, All Rights Reserved
*
* The contents of this file are subject to the Mozilla Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the L... | 31.145121 | 121 | 0.581474 | wwl33695 |
e47b4ca64593f882aaeaca2b7a52de6482a4136f | 449 | cpp | C++ | SGE/src/Platform/Vulkan/VulkanRendererAPI.cpp | Stealthhyy/SGE | e56560a93a4d7c9aac2a525240be6d4d9ba3d4e7 | [
"Apache-2.0"
] | 1 | 2021-04-25T05:45:28.000Z | 2021-04-25T05:45:28.000Z | SGE/src/Platform/Vulkan/VulkanRendererAPI.cpp | Stealthhyy/SGE | e56560a93a4d7c9aac2a525240be6d4d9ba3d4e7 | [
"Apache-2.0"
] | null | null | null | SGE/src/Platform/Vulkan/VulkanRendererAPI.cpp | Stealthhyy/SGE | e56560a93a4d7c9aac2a525240be6d4d9ba3d4e7 | [
"Apache-2.0"
] | null | null | null | #include "sgepch.h"
#include "VulkanRendererAPI.h"
#include <glad/glad.h>
namespace SGE
{
void VulkanRendererAPI::Init()
{
}
void VulkanRendererAPI::SetViewport(uint32_t x, uint32_t y, uint32_t width, uint32_t height)
{
}
void VulkanRendererAPI::SetClearColor(const glm::vec4& color)
{
}
void VulkanRe... | 14.966667 | 94 | 0.726058 | Stealthhyy |
e47d069bb3a266c8454fa442b094041188ba2741 | 2,326 | hpp | C++ | src/CGPCircuit.hpp | xkraut03/evococo | 602461bea72a9f2b81e6e8c289f91030266a08ae | [
"Apache-2.0"
] | null | null | null | src/CGPCircuit.hpp | xkraut03/evococo | 602461bea72a9f2b81e6e8c289f91030266a08ae | [
"Apache-2.0"
] | null | null | null | src/CGPCircuit.hpp | xkraut03/evococo | 602461bea72a9f2b81e6e8c289f91030266a08ae | [
"Apache-2.0"
] | null | null | null | // CGPCircuit.hpp
// author: Daniel Kraut
// creation date: 10th of September, 2017
//
// Copyright © 2017 Daniel Kraut
//
// 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://w... | 30.605263 | 76 | 0.726569 | xkraut03 |
e47f66c6b9df1644d9eaf8c12fa96aa243a0c8c5 | 19,328 | hpp | C++ | include/http_frame.hpp | jonathonl/IPSuite | 76dfd7913388851c6714645252b2caa3c5596dcc | [
"MIT"
] | 1 | 2016-03-01T15:23:13.000Z | 2016-03-01T15:23:13.000Z | include/http_frame.hpp | jonathonl/IPSuite | 76dfd7913388851c6714645252b2caa3c5596dcc | [
"MIT"
] | null | null | null | include/http_frame.hpp | jonathonl/IPSuite | 76dfd7913388851c6714645252b2caa3c5596dcc | [
"MIT"
] | null | null | null | #pragma once
#ifndef MANIFOLD_HTTP_FRAME_HPP
#define MANIFOLD_HTTP_FRAME_HPP
#include <vector>
#include <list>
#include <cstdint>
#include "socket.hpp"
#include "http_error_category.hpp"
#ifndef MANIFOLD_DISABLE_HTTP2
namespace manifold
{
namespace http
{
//================================================... | 41.036093 | 212 | 0.527318 | jonathonl |
6b00c0e9e77f92465f60759944c1f0b4effce707 | 2,194 | hpp | C++ | src/polybench/POLYBENCH_FLOYD_WARSHALL.hpp | woodard/RAJAPerf | 14a64c4fd124868018735d7bed5ffb5269b519c9 | [
"BSD-3-Clause"
] | null | null | null | src/polybench/POLYBENCH_FLOYD_WARSHALL.hpp | woodard/RAJAPerf | 14a64c4fd124868018735d7bed5ffb5269b519c9 | [
"BSD-3-Clause"
] | null | null | null | src/polybench/POLYBENCH_FLOYD_WARSHALL.hpp | woodard/RAJAPerf | 14a64c4fd124868018735d7bed5ffb5269b519c9 | [
"BSD-3-Clause"
] | 1 | 2019-06-11T13:43:36.000Z | 2019-06-11T13:43:36.000Z | //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~//
// Copyright (c) 2017-19, Lawrence Livermore National Security, LLC
// and RAJA Performance Suite project contributors.
// See the RAJAPerf/COPYRIGHT file for details.
//
// SPDX-License-Identifier: (BSD-3-Clause)
//~~~~~~~~~~~~~~~~~~~~~~~~... | 26.433735 | 79 | 0.596627 | woodard |
6b01bb3f25456bcf86ee4a198f7e9291d1b90d51 | 752 | cpp | C++ | text file.cpp | lazarevtill/mirealabs | fcd57fd036ad987bc8b0545cb7b3f7bdd29fc215 | [
"MIT"
] | 1 | 2020-04-30T14:09:21.000Z | 2020-04-30T14:09:21.000Z | text file.cpp | lazarevtill/mirealabs | fcd57fd036ad987bc8b0545cb7b3f7bdd29fc215 | [
"MIT"
] | null | null | null | text file.cpp | lazarevtill/mirealabs | fcd57fd036ad987bc8b0545cb7b3f7bdd29fc215 | [
"MIT"
] | null | null | null | #include <iostream>
#include <string>
#include <fstream>
#include <iostream>
#include <fstream>
#include <iomanip>
using namespace std;
int main()
{
//const std::string source;//где ищем
const std::string lexeme = "g";//что ищем
std::string source;
std::ifstream inf;
inf.open("myfile.txt");//if (!... | 20.324324 | 74 | 0.551862 | lazarevtill |
6b01fe71f63d426286c9570f7eb1854ac4b50882 | 241,811 | cpp | C++ | Source/tests/functional/general/openpgp_pka_rsa_test.cpp | ProtonMail/cpp-openpgp | b47316c51357b8d15eb3bcc376ea5e59a6a9a108 | [
"MIT"
] | 5 | 2019-10-30T06:10:10.000Z | 2020-04-25T16:52:06.000Z | Source/tests/functional/general/openpgp_pka_rsa_test.cpp | ProtonMail/cpp-openpgp | b47316c51357b8d15eb3bcc376ea5e59a6a9a108 | [
"MIT"
] | null | null | null | Source/tests/functional/general/openpgp_pka_rsa_test.cpp | ProtonMail/cpp-openpgp | b47316c51357b8d15eb3bcc376ea5e59a6a9a108 | [
"MIT"
] | 2 | 2019-11-27T23:47:54.000Z | 2020-01-13T16:36:03.000Z | //
// openpgp_pka_verify_test.cpp
// OpenPGP
//
// Created by Yanfeng Zhang on 8/28/17.
//
// The MIT License
//
// Copyright (c) 2019 Proton Technologies AG
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"... | 365.273414 | 1,047 | 0.932762 | ProtonMail |
6b035add0b6daa8d234ad47186246d2cff5ee694 | 4,228 | cc | C++ | src/ast/decorated_variable_test.cc | dorba/tint | f81c1081ea7d27ea55f373c0bfaf651e491da7e6 | [
"Apache-2.0"
] | null | null | null | src/ast/decorated_variable_test.cc | dorba/tint | f81c1081ea7d27ea55f373c0bfaf651e491da7e6 | [
"Apache-2.0"
] | null | null | null | src/ast/decorated_variable_test.cc | dorba/tint | f81c1081ea7d27ea55f373c0bfaf651e491da7e6 | [
"Apache-2.0"
] | null | null | null | // Copyright 2020 The Tint Authors.
//
// 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 ... | 29.985816 | 80 | 0.730369 | dorba |
6b068242a3f0dab24e125eb9d33607cfacdd1b8f | 2,500 | hpp | C++ | DFNs/Executors/PerspectiveNPointSolving/PerspectiveNPointSolvingExecutor.hpp | H2020-InFuse/cdff | e55fd48f9a909d0c274c3dfa4fe2704bc5071542 | [
"BSD-2-Clause"
] | 7 | 2019-02-26T15:09:50.000Z | 2021-09-30T07:39:01.000Z | DFNs/Executors/PerspectiveNPointSolving/PerspectiveNPointSolvingExecutor.hpp | H2020-InFuse/cdff | e55fd48f9a909d0c274c3dfa4fe2704bc5071542 | [
"BSD-2-Clause"
] | null | null | null | DFNs/Executors/PerspectiveNPointSolving/PerspectiveNPointSolvingExecutor.hpp | H2020-InFuse/cdff | e55fd48f9a909d0c274c3dfa4fe2704bc5071542 | [
"BSD-2-Clause"
] | 1 | 2020-12-06T12:09:05.000Z | 2020-12-06T12:09:05.000Z | /**
* @addtogroup DFNs
* @{
*/
#ifndef PERSPECTIVENPOINTSOLVING_EXECUTOR_HPP
#define PERSPECTIVENPOINTSOLVING_EXECUTOR_HPP
#include "DFNCommonInterface.hpp"
#include <PerspectiveNPointSolving/PerspectiveNPointSolvingInterface.hpp>
#include <Types/CPP/Pose.hpp>
#include <Types/CPP/VisualPointFeatureVector2D.hpp>
#i... | 50 | 172 | 0.8108 | H2020-InFuse |
6b0864b4d35147e22b5b75d6cf0e553225040e6e | 9,510 | cpp | C++ | MqttTopic.cpp | ERNICommunity/mqtt-client | 0807aafce90d8cabe84ae9e789323b679b0fbef0 | [
"MIT"
] | 1 | 2017-02-23T08:34:52.000Z | 2017-02-23T08:34:52.000Z | MqttTopic.cpp | ERNICommunity/mqtt-client | 0807aafce90d8cabe84ae9e789323b679b0fbef0 | [
"MIT"
] | 8 | 2016-09-15T21:53:45.000Z | 2021-11-29T11:52:19.000Z | MqttTopic.cpp | ERNICommunity/mqtt-client | 0807aafce90d8cabe84ae9e789323b679b0fbef0 | [
"MIT"
] | 2 | 2016-09-22T01:09:40.000Z | 2017-04-02T22:35:38.000Z | /*
* MqttTopic.cpp
*
* Created on: 16.12.2016
* Author: nid
*/
#include <string.h>
#include <stdio.h>
#include <DbgTracePort.h>
#include <DbgTraceLevel.h>
#include <MqttClientController.h>
#include <MqttTopic.h>
//-----------------------------------------------------------------------------
TopicLevel::To... | 22.429245 | 210 | 0.641115 | ERNICommunity |
6b08b4ee5129bbb1564727a367e2e3bcdcd6b66f | 1,845 | cpp | C++ | test/map_tests.cpp | jmsktm/CarND-Path-Planning-Project | f23f673655ba95a9e8c1e8b01f4d971631cb4880 | [
"MIT"
] | 1 | 2019-11-18T00:35:08.000Z | 2019-11-18T00:35:08.000Z | test/map_tests.cpp | jmsktm/CarND-Path-Planning-Project | f23f673655ba95a9e8c1e8b01f4d971631cb4880 | [
"MIT"
] | null | null | null | test/map_tests.cpp | jmsktm/CarND-Path-Planning-Project | f23f673655ba95a9e8c1e8b01f4d971631cb4880 | [
"MIT"
] | null | null | null | #define CATCH_CONFIG_MAIN
#include "catch.hpp"
#include <string>
#include <vector>
#include "../src/map.h"
#include "../src/waypoint.h"
using std::string;
using std::vector;
TEST_CASE("Map should contain a list of endpoints on initialization") {
Map map = Map();
vector<Waypoint> waypoints = map.getWaypoints(... | 40.108696 | 116 | 0.582114 | jmsktm |
6b08fe9f98e5c286507ff4b048e1f2c44830bd43 | 6,675 | hpp | C++ | Source/VkToolbox/Camera.hpp | glampert/VulkanDemo | cd9cae2dcbc790bbe6c42f811cb3aee792242ae0 | [
"MIT"
] | null | null | null | Source/VkToolbox/Camera.hpp | glampert/VulkanDemo | cd9cae2dcbc790bbe6c42f811cb3aee792242ae0 | [
"MIT"
] | null | null | null | Source/VkToolbox/Camera.hpp | glampert/VulkanDemo | cd9cae2dcbc790bbe6c42f811cb3aee792242ae0 | [
"MIT"
] | null | null | null | #pragma once
// ================================================================================================
// File: VkToolbox/Camera.hpp
// Author: Guilherme R. Lampert
// Created on: 24/04/17
// Brief: Simple first person camera.
// ===============================================================================... | 32.560976 | 110 | 0.523296 | glampert |
6b0eef0248262580b298fe3acf93129e143788e5 | 221 | cpp | C++ | src/Native/search_bndm64.cpp | tcwz/vs-chromium | 81b39383940f17c642f5a4fbfe2b881768c315bc | [
"BSD-3-Clause"
] | 251 | 2015-02-26T21:28:34.000Z | 2022-03-30T12:32:12.000Z | src/Native/search_bndm64.cpp | tcwz/vs-chromium | 81b39383940f17c642f5a4fbfe2b881768c315bc | [
"BSD-3-Clause"
] | 72 | 2015-03-11T03:54:46.000Z | 2022-01-21T10:23:12.000Z | src/Native/search_bndm64.cpp | tcwz/vs-chromium | 81b39383940f17c642f5a4fbfe2b881768c315bc | [
"BSD-3-Clause"
] | 88 | 2015-03-04T07:02:26.000Z | 2022-01-30T23:06:31.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 "stdafx.h"
#include "search_bndm64.h"
| 27.625 | 74 | 0.723982 | tcwz |
6b0ef1ebbed1e1a22bbaf91a20089a81bbf4f550 | 38,968 | hpp | C++ | apps/evaluate_compression/include/pcl/apps/evaluate_compression/impl/evaluate_compression_impl.hpp | cwi-dis/cwipc_codec | 35c3663c81e90183e0d353505c81175f04ab9022 | [
"MIT"
] | null | null | null | apps/evaluate_compression/include/pcl/apps/evaluate_compression/impl/evaluate_compression_impl.hpp | cwi-dis/cwipc_codec | 35c3663c81e90183e0d353505c81175f04ab9022 | [
"MIT"
] | null | null | null | apps/evaluate_compression/include/pcl/apps/evaluate_compression/impl/evaluate_compression_impl.hpp | cwi-dis/cwipc_codec | 35c3663c81e90183e0d353505c81175f04ab9022 | [
"MIT"
] | null | null | null | /*
* Software License Agreement (BSD License)
*
* Point Cloud Library (PCL) - www.pointclouds.org
* Copyright (c) 2014- Centrum Wiskunde en Informatica
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following con... | 43.34594 | 274 | 0.6463 | cwi-dis |
6b10020a56c1d4d51b1460b49a7b12f6e63c44aa | 3,784 | cpp | C++ | copasi/function/CEvaluationNodeVariable.cpp | MedAnisse/COPASI | 561f591f8231b1c4880ce554d0197ff21ef4734c | [
"Artistic-2.0"
] | 64 | 2015-03-14T14:06:18.000Z | 2022-02-04T23:19:08.000Z | copasi/function/CEvaluationNodeVariable.cpp | MedAnisse/COPASI | 561f591f8231b1c4880ce554d0197ff21ef4734c | [
"Artistic-2.0"
] | 4 | 2017-08-16T10:26:46.000Z | 2020-01-08T12:05:54.000Z | copasi/function/CEvaluationNodeVariable.cpp | MedAnisse/COPASI | 561f591f8231b1c4880ce554d0197ff21ef4734c | [
"Artistic-2.0"
] | 28 | 2015-04-16T14:14:59.000Z | 2022-03-28T12:04:14.000Z | // Copyright (C) 2019 - 2021 by Pedro Mendes, Rector and Visitors of the
// University of Virginia, University of Heidelberg, and University
// of Connecticut School of Medicine.
// All rights reserved.
// Copyright (C) 2017 - 2018 by Pedro Mendes, Virginia Tech Intellectual
// Properties, Inc., University of Heidelbe... | 27.42029 | 127 | 0.721723 | MedAnisse |
6b107ce024a153f730255300ee26f9926cb7fff9 | 8,971 | hpp | C++ | INCLUDE/Vcl/fmtbcd.hpp | earthsiege2/borland-cpp-ide | 09bcecc811841444338e81b9c9930c0e686f9530 | [
"Unlicense",
"FSFAP",
"Apache-1.1"
] | 1 | 2022-01-13T01:03:55.000Z | 2022-01-13T01:03:55.000Z | INCLUDE/Vcl/fmtbcd.hpp | earthsiege2/borland-cpp-ide | 09bcecc811841444338e81b9c9930c0e686f9530 | [
"Unlicense",
"FSFAP",
"Apache-1.1"
] | null | null | null | INCLUDE/Vcl/fmtbcd.hpp | earthsiege2/borland-cpp-ide | 09bcecc811841444338e81b9c9930c0e686f9530 | [
"Unlicense",
"FSFAP",
"Apache-1.1"
] | null | null | null | // Borland C++ Builder
// Copyright (c) 1995, 2002 by Borland Software Corporation
// All rights reserved
// (DO NOT EDIT: machine generated header) 'FMTBcd.pas' rev: 6.00
#ifndef FMTBcdHPP
#define FMTBcdHPP
#pragma delphiheader begin
#pragma option push -w-
#pragma option push -Vx
#include <Variants.hpp... | 53.718563 | 258 | 0.73916 | earthsiege2 |
6b1081d6513a948256d0627c3f7a5c9c3779ccc1 | 294 | hh | C++ | Cassie_Example/opt_two_step/periodic/c_code/include/frost/gen/J_BezierSymmetry.hh | prem-chand/Cassie_CFROST | da4bd51442f86e852cbb630cc91c9a380a10b66d | [
"BSD-3-Clause"
] | null | null | null | Cassie_Example/opt_two_step/periodic/c_code/include/frost/gen/J_BezierSymmetry.hh | prem-chand/Cassie_CFROST | da4bd51442f86e852cbb630cc91c9a380a10b66d | [
"BSD-3-Clause"
] | null | null | null | Cassie_Example/opt_two_step/periodic/c_code/include/frost/gen/J_BezierSymmetry.hh | prem-chand/Cassie_CFROST | da4bd51442f86e852cbb630cc91c9a380a10b66d | [
"BSD-3-Clause"
] | null | null | null | /*
* Automatically Generated from Mathematica.
* Fri 5 Nov 2021 09:01:52 GMT-04:00
*/
#ifndef J_BEZIERSYMMETRY_HH
#define J_BEZIERSYMMETRY_HH
namespace frost {
namespace gen {
void J_BezierSymmetry(double *p_output1, const double *var1);
}
}
#endif // J_BEZIERSYMMETRY_HH
| 18.375 | 69 | 0.717687 | prem-chand |
6b11371422ce356e60810a4e7fb40ea2f6c6ad4e | 488 | cpp | C++ | gcommon/source/gscenenodecomponentfactorystubload.cpp | DavidCoenFish/ancient-code-0 | 243fb47b9302a77f9b9392b6e3f90bba2ef3c228 | [
"Unlicense"
] | null | null | null | gcommon/source/gscenenodecomponentfactorystubload.cpp | DavidCoenFish/ancient-code-0 | 243fb47b9302a77f9b9392b6e3f90bba2ef3c228 | [
"Unlicense"
] | null | null | null | gcommon/source/gscenenodecomponentfactorystubload.cpp | DavidCoenFish/ancient-code-0 | 243fb47b9302a77f9b9392b6e3f90bba2ef3c228 | [
"Unlicense"
] | null | null | null | //
// GSceneNodeComponentFactoryStubLoad.cpp
//
// Created by David Coen on 2011 01 28
// Copyright 2010 Pleasure seeking morons. All rights reserved.
//
#include "GSceneNodeComponentFactoryStubLoad.h"
//constructor
GSceneNodeComponentFactoryStubLoad::GSceneNodeComponentFactoryStubLoad(
const char* const in_name,... | 19.52 | 73 | 0.784836 | DavidCoenFish |
6b12255200e548b339a171ca4bf8f9ecfac51f62 | 2,082 | cc | C++ | arms/src/model/CreateAlertContactGroupRequest.cc | iamzken/aliyun-openapi-cpp-sdk | 3c991c9ca949b6003c8f498ce7a672ea88162bf1 | [
"Apache-2.0"
] | 89 | 2018-02-02T03:54:39.000Z | 2021-12-13T01:32:55.000Z | arms/src/model/CreateAlertContactGroupRequest.cc | iamzken/aliyun-openapi-cpp-sdk | 3c991c9ca949b6003c8f498ce7a672ea88162bf1 | [
"Apache-2.0"
] | 89 | 2018-03-14T07:44:54.000Z | 2021-11-26T07:43:25.000Z | arms/src/model/CreateAlertContactGroupRequest.cc | aliyun/aliyun-openapi-cpp-sdk | 0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36 | [
"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... | 28.135135 | 94 | 0.773775 | iamzken |
6b1363396d0568fc04c2334fe9e37fe4992a1709 | 3,350 | hpp | C++ | include/geneticpp/individual.hpp | brentnd/geneticpp | e3a4e7c9e7985384a0546d1e96bdebaa458f77f2 | [
"MIT"
] | null | null | null | include/geneticpp/individual.hpp | brentnd/geneticpp | e3a4e7c9e7985384a0546d1e96bdebaa458f77f2 | [
"MIT"
] | null | null | null | include/geneticpp/individual.hpp | brentnd/geneticpp | e3a4e7c9e7985384a0546d1e96bdebaa458f77f2 | [
"MIT"
] | null | null | null | #pragma once
#include <algorithm> // std::min, std::swap_ranges
#include <functional> // std::function
#include <iostream>
#include <utility> // std::swap
#include <vector>
#include "attribute.hpp"
#include "fitness.hpp"
namespace genetic {
class individual {
public:
individual();
// crossover
template <t... | 34.536082 | 117 | 0.699104 | brentnd |
6b13c9d19d862dc90eba2b66b469298eb123a137 | 259 | cc | C++ | py/capnp/src/module.cc | clchiou/garage | 446ff34f86cdbd114b09b643da44988cf5d027a3 | [
"MIT"
] | 3 | 2016-01-04T06:28:52.000Z | 2020-09-20T13:18:40.000Z | py/capnp/src/module.cc | clchiou/garage | 446ff34f86cdbd114b09b643da44988cf5d027a3 | [
"MIT"
] | null | null | null | py/capnp/src/module.cc | clchiou/garage | 446ff34f86cdbd114b09b643da44988cf5d027a3 | [
"MIT"
] | null | null | null | // Definition of the extension module
#include "hack.h"
#include <boost/python/module.hpp>
#include "common.h"
BOOST_PYTHON_MODULE(native) {
capnp_python::defineSchemaCapnp();
capnp_python::defineResourceTypes();
capnp_python::defineValueTypes();
}
| 18.5 | 38 | 0.756757 | clchiou |
6b17a6bd185b63bf401936f6c67ec2e8a9b27894 | 1,336 | hpp | C++ | src/Linux/ChildProcessExperiment/ChildProcessExperiment/BinaryWriter.hpp | asmichi/playground | 08730da902c63c005817e98ec247eeb786ba15c4 | [
"MIT"
] | null | null | null | src/Linux/ChildProcessExperiment/ChildProcessExperiment/BinaryWriter.hpp | asmichi/playground | 08730da902c63c005817e98ec247eeb786ba15c4 | [
"MIT"
] | null | null | null | src/Linux/ChildProcessExperiment/ChildProcessExperiment/BinaryWriter.hpp | asmichi/playground | 08730da902c63c005817e98ec247eeb786ba15c4 | [
"MIT"
] | null | null | null | // Copyright (c) @asmichi (https://github.com/asmichi). Licensed under the MIT License. See LICENCE in the project root for details.
#pragma once
#include <cstddef>
#include <cstdint>
#include <cstring>
#include <numeric>
#include <stdexcept>
#include <string>
#include <vector>
class BinaryWriter final
... | 22.266667 | 133 | 0.554641 | asmichi |
6b17cc122147f60cc020310c3574872aef7425e4 | 4,201 | cc | C++ | src/tests/test_fourcenter.cc | fossabot/xtp | e82cc53f23e213d09da15da80ada6e32ac031a07 | [
"Apache-2.0"
] | null | null | null | src/tests/test_fourcenter.cc | fossabot/xtp | e82cc53f23e213d09da15da80ada6e32ac031a07 | [
"Apache-2.0"
] | null | null | null | src/tests/test_fourcenter.cc | fossabot/xtp | e82cc53f23e213d09da15da80ada6e32ac031a07 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2009-2020 The VOTCA Development Team (http://www.votca.org)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | 34.154472 | 80 | 0.689836 | fossabot |
6b184d189a001bc0f281eea593046df62bc5bda6 | 3,474 | hpp | C++ | src/lapack_like/spectral/HessenbergSchur/Simple/SingleShift.hpp | pjt1988/Elemental | 71d3e2b98829594e9f52980a8b1ef7c1e99c724b | [
"Apache-2.0"
] | 473 | 2015-01-11T03:22:11.000Z | 2022-03-31T05:28:39.000Z | src/lapack_like/spectral/HessenbergSchur/Simple/SingleShift.hpp | pjt1988/Elemental | 71d3e2b98829594e9f52980a8b1ef7c1e99c724b | [
"Apache-2.0"
] | 205 | 2015-01-10T20:33:45.000Z | 2021-07-25T14:53:25.000Z | src/lapack_like/spectral/HessenbergSchur/Simple/SingleShift.hpp | pjt1988/Elemental | 71d3e2b98829594e9f52980a8b1ef7c1e99c724b | [
"Apache-2.0"
] | 109 | 2015-02-16T14:06:42.000Z | 2022-03-23T21:34:26.000Z | /*
Copyright (c) 2009-2016, Jack Poulson
All rights reserved.
This file is part of Elemental and is under the BSD 2-Clause License,
which can be found in the LICENSE file in the root directory, or at
http://opensource.org/licenses/BSD-2-Clause
*/
#ifndef EL_HESS_SCHUR_SINGLE_SHIFT_HPP
#define EL_HESS_... | 28.47541 | 77 | 0.552389 | pjt1988 |
6b1b3b50b2fe37bdc175b66be2446214213e58e4 | 1,088 | cpp | C++ | 397_longest-increasing-continuous-subsequence/longest-increasing-continuous-subsequence.cpp | piguin/lintcode | 382e0880f82480eb8153041e78c297dbaeb4b9ea | [
"CC0-1.0"
] | null | null | null | 397_longest-increasing-continuous-subsequence/longest-increasing-continuous-subsequence.cpp | piguin/lintcode | 382e0880f82480eb8153041e78c297dbaeb4b9ea | [
"CC0-1.0"
] | null | null | null | 397_longest-increasing-continuous-subsequence/longest-increasing-continuous-subsequence.cpp | piguin/lintcode | 382e0880f82480eb8153041e78c297dbaeb4b9ea | [
"CC0-1.0"
] | null | null | null | /*
@Copyright:LintCode
@Author: qili
@Problem: http://www.lintcode.com/problem/longest-increasing-continuous-subsequence
@Language: C++
@Datetime: 16-07-26 00:34
*/
class Solution {
public:
int max(int a, int b) {
return a > b ? a : b;
}
/**
* @param A an array of Integer
* @ret... | 23.148936 | 84 | 0.488971 | piguin |
6b1b94b8e17de4888b661a8b011cac08abb1091b | 932 | cpp | C++ | src/main.cpp | AlexNDRmac/pcloud-console-client | 0a6764de44e25ef159a5f629388fba728a0f6a43 | [
"BSD-3-Clause"
] | 21 | 2021-07-14T13:23:43.000Z | 2022-03-14T11:30:46.000Z | src/main.cpp | AlexNDRmac/pcloud-console-client | 0a6764de44e25ef159a5f629388fba728a0f6a43 | [
"BSD-3-Clause"
] | 14 | 2021-07-17T16:45:17.000Z | 2022-03-14T21:15:45.000Z | src/main.cpp | AlexNDRmac/pcloud-console-client | 0a6764de44e25ef159a5f629388fba728a0f6a43 | [
"BSD-3-Clause"
] | 5 | 2021-07-16T10:41:32.000Z | 2021-12-26T23:23:29.000Z | // This file is part of the pCloud Console Client.
//
// (c) 2021 Serghei Iakovlev <egrep@protonmail.ch>
//
// For the full copyright and license information, please view
// the LICENSE file that was distributed with this source code.
#include <memory>
#include <string>
#include <vector>
#include "cli/app.hpp"
stati... | 25.189189 | 76 | 0.659871 | AlexNDRmac |
6b1c4adc798c9cf7f8a56fe994d78cc7db683229 | 6,050 | cc | C++ | src/filters/particle_filter.cc | jwidauer/refill | 64947e0a8e15855f4a5ad048f09f8d38715bbe91 | [
"MIT"
] | 2 | 2021-06-13T07:28:51.000Z | 2021-09-08T11:26:34.000Z | src/filters/particle_filter.cc | jwidauer/refill | 64947e0a8e15855f4a5ad048f09f8d38715bbe91 | [
"MIT"
] | null | null | null | src/filters/particle_filter.cc | jwidauer/refill | 64947e0a8e15855f4a5ad048f09f8d38715bbe91 | [
"MIT"
] | 3 | 2021-06-01T13:21:41.000Z | 2021-06-01T20:33:20.000Z | #include "refill/filters/particle_filter.h"
using std::size_t;
using Eigen::MatrixXd;
using Eigen::VectorXd;
namespace refill {
ParticleFilter::ParticleFilter()
: num_particles_(0),
particles_(0, 0),
weights_(0),
system_model_(nullptr),
measurement_model_(nullptr),
resample_method_(... | 33.611111 | 79 | 0.722314 | jwidauer |
6b1d21f6469f9edb73a2804840722da9fb79c90b | 351 | cpp | C++ | tests/Issue45Example.cpp | galorojo/cppinsights | 52ecab4ddd8e36fb99893551cf0fb8b5d58589f2 | [
"MIT"
] | 1,853 | 2018-05-13T21:49:17.000Z | 2022-03-30T10:34:45.000Z | tests/Issue45Example.cpp | galorojo/cppinsights | 52ecab4ddd8e36fb99893551cf0fb8b5d58589f2 | [
"MIT"
] | 398 | 2018-05-15T14:48:51.000Z | 2022-03-24T12:14:33.000Z | tests/Issue45Example.cpp | galorojo/cppinsights | 52ecab4ddd8e36fb99893551cf0fb8b5d58589f2 | [
"MIT"
] | 104 | 2018-05-15T04:00:59.000Z | 2022-03-17T02:04:15.000Z | int main()
{
int x = 0;
for(; x < 20; ++x) {
x += x;
}
for(int i=0; x < 20; ++x) {
x += i;
}
for(int i = 0, y=2, t=4, o=5; i < 20; ++i) {
x += i;
}
for(int *i = &x, *y=&x; i ; ++i) {
x += *i;
}
for(;;);
char data[5]{};
for(auto& x : ... | 12.103448 | 48 | 0.270655 | galorojo |
6b1f1422f82b7b23ad946a60eb9998c5f66dd41c | 145 | cpp | C++ | lang/Math.cpp | gizmomogwai/cpplib | a09bf4d3f2a312774d3d85a5c65468099a1797b0 | [
"MIT"
] | null | null | null | lang/Math.cpp | gizmomogwai/cpplib | a09bf4d3f2a312774d3d85a5c65468099a1797b0 | [
"MIT"
] | null | null | null | lang/Math.cpp | gizmomogwai/cpplib | a09bf4d3f2a312774d3d85a5c65468099a1797b0 | [
"MIT"
] | null | null | null | #include <lang/Math.h>
const float Math::PI = 3.1415926535897932384626433832795f;
const float Math::A_PI = 0.0174532925199432957692369076848f;
| 24.166667 | 60 | 0.8 | gizmomogwai |
6b1f4ef9f8f398bed644cd86cac558535e77194e | 4,175 | hh | C++ | src/transport/ConnectionManager.hh | nherment/gazebo | fff0aa30b4b5748e43c2b0aa54ffcd366e9f042a | [
"ECL-2.0",
"Apache-2.0"
] | 5 | 2016-01-17T20:41:39.000Z | 2018-05-01T12:02:58.000Z | src/transport/ConnectionManager.hh | nherment/gazebo | fff0aa30b4b5748e43c2b0aa54ffcd366e9f042a | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | src/transport/ConnectionManager.hh | nherment/gazebo | fff0aa30b4b5748e43c2b0aa54ffcd366e9f042a | [
"ECL-2.0",
"Apache-2.0"
] | 5 | 2015-09-29T02:30:16.000Z | 2022-03-30T12:11:22.000Z | /*
* Copyright 2011 Nate Koenig & Andrew Howard
*
* 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 l... | 30.698529 | 75 | 0.651018 | nherment |
6b2155265d526ef29c860991525c0ac240e4fe8d | 17,701 | hpp | C++ | boards/src/hls/xfopencv_erosion/include/imgproc/xf_resize_nn_bilinear.hpp | maxpark/Pynq-CV-OV5640 | 8245e17766ff9cad678bd40020bfa0f0d5203972 | [
"BSD-3-Clause"
] | 26 | 2020-04-17T02:24:52.000Z | 2022-03-29T23:17:48.000Z | boards/src/hls/xfopencv_erosion/include/imgproc/xf_resize_nn_bilinear.hpp | maxpark/Pynq-CV-OV5640 | 8245e17766ff9cad678bd40020bfa0f0d5203972 | [
"BSD-3-Clause"
] | 2 | 2020-08-20T06:28:34.000Z | 2020-11-01T04:14:03.000Z | boards/src/hls/xfopencv_erosion/include/imgproc/xf_resize_nn_bilinear.hpp | maxpark/Pynq-CV-OV5640 | 8245e17766ff9cad678bd40020bfa0f0d5203972 | [
"BSD-3-Clause"
] | 16 | 2020-04-24T09:36:43.000Z | 2022-02-08T16:39:25.000Z | /***************************************************************************
Copyright (c) 2018, Xilinx, Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
1. Redistributions of source code must reta... | 39.777528 | 617 | 0.698774 | maxpark |
6b256a3b2e23b1a6805a51d2cd7f357dd8af8df0 | 22,390 | cpp | C++ | game/code/common/engine/render/renderobject.cpp | justinctlam/MarbleStrike | 64fe36a5a4db2b299983b0e2556ab1cd8126259b | [
"MIT"
] | null | null | null | game/code/common/engine/render/renderobject.cpp | justinctlam/MarbleStrike | 64fe36a5a4db2b299983b0e2556ab1cd8126259b | [
"MIT"
] | null | null | null | game/code/common/engine/render/renderobject.cpp | justinctlam/MarbleStrike | 64fe36a5a4db2b299983b0e2556ab1cd8126259b | [
"MIT"
] | 2 | 2019-03-08T03:02:45.000Z | 2019-05-14T08:41:26.000Z | //////////////////////////////////////////////////////
// INCLUDES
//////////////////////////////////////////////////////
#include "common/engine/math/quaternion.hpp"
#include "common/engine/math/mathfunctions.hpp"
#include "common/engine/render/renderobject.hpp"
#include "common/engine/physics/physicsdata.hpp"
#inclu... | 31.57969 | 128 | 0.544082 | justinctlam |
6b282cf7fc44dee5fc193d0a910f09c1aab123b5 | 555 | cpp | C++ | common/src/debug_test.cpp | honzatran/llvm-message-routing | 6878dffb935efe44fa8fdf443bfb9905ea604d29 | [
"MIT"
] | null | null | null | common/src/debug_test.cpp | honzatran/llvm-message-routing | 6878dffb935efe44fa8fdf443bfb9905ea604d29 | [
"MIT"
] | null | null | null | common/src/debug_test.cpp | honzatran/llvm-message-routing | 6878dffb935efe44fa8fdf443bfb9905ea604d29 | [
"MIT"
] | null | null | null |
#include <routing/call_counter.h>
#include <routing/debug.h>
#include <routing/testing.h>
#include <gtest/gtest.h>
using namespace std;
using namespace routing;
TEST(Once_in_time_test, test)
{
auto call_counter = define_void_mock<>(2, DEFINED("once in time"));
auto counter_fn = [&call_counter] { call_coun... | 20.555556 | 72 | 0.686486 | honzatran |
6b2b010c58353d60391b0c4d878aa10f9547d3a9 | 3,314 | cpp | C++ | src/Threading/Thread.cpp | tak2004/RadonFramework | e916627a54a80fac93778d5010c50c09b112259b | [
"Apache-2.0"
] | 3 | 2015-09-15T06:57:50.000Z | 2021-03-16T19:05:02.000Z | src/Threading/Thread.cpp | tak2004/RadonFramework | e916627a54a80fac93778d5010c50c09b112259b | [
"Apache-2.0"
] | 2 | 2015-09-26T12:41:10.000Z | 2015-12-08T08:41:37.000Z | src/Threading/Thread.cpp | tak2004/RadonFramework | e916627a54a80fac93778d5010c50c09b112259b | [
"Apache-2.0"
] | 1 | 2015-07-09T02:56:34.000Z | 2015-07-09T02:56:34.000Z | #include "RadonFramework/System/Threading/Thread.hpp"
#include "RadonFramework/System/Hardware/Hardware.hpp"
#include "RadonFramework/Threading/Scopelock.hpp"
#include "RadonFramework/precompiled.hpp"
namespace RadonFramework::Threading
{
Thread::Thread()
{
m_AffinityMask.Resize(RF_SysHardware::GetAvailableLogicalPr... | 20.331288 | 77 | 0.714544 | tak2004 |
6b2b939775548cc32356ff1fc6745c2056be752c | 778 | cpp | C++ | docs/examples/Pixmap_erase_3.cpp | travisleithead/skia | 2092340a0edc25e9082ce9717643d12d901c3971 | [
"BSD-3-Clause"
] | 6,304 | 2015-01-05T23:45:12.000Z | 2022-03-31T09:48:13.000Z | docs/examples/Pixmap_erase_3.cpp | travisleithead/skia | 2092340a0edc25e9082ce9717643d12d901c3971 | [
"BSD-3-Clause"
] | 67 | 2016-04-18T13:30:02.000Z | 2022-03-31T23:06:55.000Z | docs/examples/Pixmap_erase_3.cpp | travisleithead/skia | 2092340a0edc25e9082ce9717643d12d901c3971 | [
"BSD-3-Clause"
] | 1,231 | 2015-01-05T03:17:39.000Z | 2022-03-31T22:54:58.000Z | // Copyright 2019 Google LLC.
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
#include "tools/fiddle/examples.h"
// HASH=f884f3f46a565f052a5e252ae2f36e9b
REG_FIDDLE(Pixmap_erase_3, 256, 50, false, 0) {
void draw(SkCanvas* canvas) {
uint32_t storage[2];
SkImag... | 38.9 | 100 | 0.68509 | travisleithead |
6b3042475334dcb0e3c53dc27d02adfc9ce82cb2 | 417 | cpp | C++ | examples/set/set.cpp | lostjared/cpp17_Examples | bd754ffca5e894d877624c45db64f9dda93d880a | [
"Unlicense"
] | 20 | 2017-07-22T19:06:39.000Z | 2021-07-12T06:46:24.000Z | examples/set/set.cpp | lostjared/cpp17_Examples | bd754ffca5e894d877624c45db64f9dda93d880a | [
"Unlicense"
] | null | null | null | examples/set/set.cpp | lostjared/cpp17_Examples | bd754ffca5e894d877624c45db64f9dda93d880a | [
"Unlicense"
] | 7 | 2018-05-20T10:26:07.000Z | 2021-07-12T04:11:18.000Z | #include<iostream>
#include<set>
#include<string>
int main() {
std::set<std::string> ideas;
std::string idea;
while(1) {
std::cout << "Enter idea: ";
std::getline(std::cin, idea);
ideas.insert(idea);
for(auto i = ideas.begin(); i != ideas.end(); ++i) {
std::cout ... | 21.947368 | 60 | 0.484412 | lostjared |
6b3057b8f519336b7bd3f939eda4a3338ecb62eb | 2,329 | cc | C++ | src/utils/tests/legacy/test_split.cc | nrc-cnrc/Portage-SMT-TAS | 73f5a65de4adfa13008ea9a01758385c97526059 | [
"MIT"
] | null | null | null | src/utils/tests/legacy/test_split.cc | nrc-cnrc/Portage-SMT-TAS | 73f5a65de4adfa13008ea9a01758385c97526059 | [
"MIT"
] | null | null | null | src/utils/tests/legacy/test_split.cc | nrc-cnrc/Portage-SMT-TAS | 73f5a65de4adfa13008ea9a01758385c97526059 | [
"MIT"
] | null | null | null | /**
* @author Samuel Larkin
* @file test_split.cc Simple test pgm for split
*
* $Id$
*
* Technologies langagieres interactives / Interactive Language Technologies
* Inst. de technologie de l'information / Institute for Information Technology
* Conseil national de recherches Canada / National Research Council C... | 25.877778 | 100 | 0.623873 | nrc-cnrc |
6b3636a660101397297e7fa40df26d6bd7c2cc15 | 1,043 | hpp | C++ | addons/ares_compositions/Ares/Walls/Wall Sections/Military Wall Corner.hpp | Braincrushy/TBMod | 785f11cd9cd0defb0d01a6d2861beb6c207eb8a3 | [
"MIT"
] | null | null | null | addons/ares_compositions/Ares/Walls/Wall Sections/Military Wall Corner.hpp | Braincrushy/TBMod | 785f11cd9cd0defb0d01a6d2861beb6c207eb8a3 | [
"MIT"
] | 4 | 2018-12-21T06:57:25.000Z | 2020-07-09T09:06:38.000Z | addons/ares_compositions/Ares/Walls/Wall Sections/Military Wall Corner.hpp | Braincrushy/TBMod | 785f11cd9cd0defb0d01a6d2861beb6c207eb8a3 | [
"MIT"
] | null | null | null | class Object0 {side=8;rank="";vehicle="Land_Mil_WallBig_4m_F";position[]={-0.168457,-1.55762,0};dir=0;};
class Object1 {side=8;rank="";vehicle="Land_Mil_WallBig_4m_F";position[]={3.63428,-1.54736,0};dir=0;};
class Object2 {side=8;rank="";vehicle="Land_Mil_WallBig_4m_F";position[]={-3.98242,-1.59229,0};dir=0;};
class Ob... | 104.3 | 107 | 0.717162 | Braincrushy |
6b382883b5c1a0017bf865591e30279e1b3abbf5 | 4,445 | cpp | C++ | ImportantExample/QFinances/src/mytransactionslist.cpp | xiaohaijin/Qt | 54d961c6a8123d8e4daf405b7996aba4be9ab7ed | [
"MIT"
] | 3 | 2018-12-24T19:35:52.000Z | 2022-02-04T14:45:59.000Z | ImportantExample/QFinances/src/mytransactionslist.cpp | xiaohaijin/Qt | 54d961c6a8123d8e4daf405b7996aba4be9ab7ed | [
"MIT"
] | null | null | null | ImportantExample/QFinances/src/mytransactionslist.cpp | xiaohaijin/Qt | 54d961c6a8123d8e4daf405b7996aba4be9ab7ed | [
"MIT"
] | 1 | 2019-05-09T02:42:40.000Z | 2019-05-09T02:42:40.000Z | /***************************************************************************
* Copyright (C) 2007 by Peter Komar *
* udldevel@gmail.com *
* *
* This pr... | 34.726563 | 119 | 0.580427 | xiaohaijin |
6b38e9bcc5b8077f5061e261b171315aa5383851 | 1,972 | cpp | C++ | http_service/src/register.cpp | nchalkley2/ImgboardServer | 6ee1fa06ef20442aef11c98b3e9588c116a1ef79 | [
"MIT"
] | null | null | null | http_service/src/register.cpp | nchalkley2/ImgboardServer | 6ee1fa06ef20442aef11c98b3e9588c116a1ef79 | [
"MIT"
] | null | null | null | http_service/src/register.cpp | nchalkley2/ImgboardServer | 6ee1fa06ef20442aef11c98b3e9588c116a1ef79 | [
"MIT"
] | null | null | null | #include "routes.hpp"
#include "database.hpp"
#include "account_validation.hpp"
#include <optional>
#include <string>
#include <utility>
#include <acorn>
#include <net/http/request.hpp>
namespace chan::routes
{
using namespace mana;
void
acc_register(Request_ptr req, Response_ptr res)
{
http::Request src = req... | 26.293333 | 74 | 0.632353 | nchalkley2 |
6b39821d806f5bb7956ee8e666986a3ea9d6918d | 6,768 | cc | C++ | ui/base/gtk/gtk_expanded_container.cc | nagineni/chromium-crosswalk | 5725642f1c67d0f97e8613ec1c3e8107ab53fdf8 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 231 | 2015-01-08T09:04:44.000Z | 2021-12-30T03:03:10.000Z | ui/base/gtk/gtk_expanded_container.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 | ui/base/gtk/gtk_expanded_container.cc | j4ckfrost/android_external_chromium_org | a1a3dad8b08d1fcf6b6b36c267158ed63217c780 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 268 | 2015-01-21T05:53:28.000Z | 2022-03-25T22:09:01.000Z | // Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/base/gtk/gtk_expanded_container.h"
#include <gtk/gtk.h>
#include <algorithm>
#include "ui/gfx/gtk_compat.h"
namespace {
enum {
CHI... | 34.530612 | 79 | 0.684249 | nagineni |
6b3da3b6c0fc38c4f30f5e5c105ef3088b596141 | 854 | cpp | C++ | CodeBlocks/C++ Primer/ch4/conditional_operator.cpp | ash1247/DocumentsWindows | 66f65b5170a1ba766cfae08b7104b63ab87331c2 | [
"MIT"
] | null | null | null | CodeBlocks/C++ Primer/ch4/conditional_operator.cpp | ash1247/DocumentsWindows | 66f65b5170a1ba766cfae08b7104b63ab87331c2 | [
"MIT"
] | null | null | null | CodeBlocks/C++ Primer/ch4/conditional_operator.cpp | ash1247/DocumentsWindows | 66f65b5170a1ba766cfae08b7104b63ab87331c2 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
int main()
{
int num;
while(cin >> num){
cout << ( (num >= 75) ? "high pass" : (num < 60) ? "fail" : "low pass");
cout << endl;
}
int quiz1 = 0;
cout << (3 || 7) << endl;
quiz1 |= 1UL << 27;
cout << quiz1 << endl;
quiz1 &=... | 23.081081 | 80 | 0.449649 | ash1247 |
6b3eb128ce3a6de0f6eabb141ca4038bee6d1885 | 1,346 | hpp | C++ | engine/graphics/direct3d11/D3D11RenderTarget.hpp | wzhengsen/ouzel | b3b99c42b39efd2998c03967ee8d5b3e91305167 | [
"Unlicense"
] | 923 | 2016-05-30T15:11:16.000Z | 2022-03-30T20:26:24.000Z | engine/graphics/direct3d11/D3D11RenderTarget.hpp | wzhengsen/ouzel | b3b99c42b39efd2998c03967ee8d5b3e91305167 | [
"Unlicense"
] | 46 | 2016-05-31T18:32:23.000Z | 2022-01-18T02:26:06.000Z | engine/graphics/direct3d11/D3D11RenderTarget.hpp | wzhengsen/ouzel | b3b99c42b39efd2998c03967ee8d5b3e91305167 | [
"Unlicense"
] | 131 | 2016-05-30T20:20:07.000Z | 2022-03-10T10:56:08.000Z | // Ouzel by Elviss Strazdins
#ifndef OUZEL_GRAPHICS_D3D11RENDERTARGET_HPP
#define OUZEL_GRAPHICS_D3D11RENDERTARGET_HPP
#include "../../core/Setup.h"
#if OUZEL_COMPILE_DIRECT3D11
#include <set>
#include <vector>
#pragma push_macro("WIN32_LEAN_AND_MEAN")
#pragma push_macro("NOMINMAX")
#ifndef WIN32_LEAN_AND_MEAN
# ... | 24.035714 | 81 | 0.717682 | wzhengsen |
6b3f1f93fff25740320c65140bab2fa7a527e877 | 43 | cpp | C++ | vma.cpp | dylangentile/RayPath | 3a7e0cf78f482554bcb4155f486f1708cdc126c0 | [
"MIT"
] | null | null | null | vma.cpp | dylangentile/RayPath | 3a7e0cf78f482554bcb4155f486f1708cdc126c0 | [
"MIT"
] | null | null | null | vma.cpp | dylangentile/RayPath | 3a7e0cf78f482554bcb4155f486f1708cdc126c0 | [
"MIT"
] | null | null | null | #define VMA_IMPLEMENTATION
#include "vma.h" | 21.5 | 26 | 0.813953 | dylangentile |
6b412fe5dfc215d280ec0ea2565c47093f558bf2 | 1,558 | hpp | C++ | Kernel/Tasking/Processes/Threads/Thread.hpp | Plunkerusr/podsOS | b68e2ebdaa4eb99366dea6cc5509ba0c92c3601a | [
"MIT"
] | null | null | null | Kernel/Tasking/Processes/Threads/Thread.hpp | Plunkerusr/podsOS | b68e2ebdaa4eb99366dea6cc5509ba0c92c3601a | [
"MIT"
] | null | null | null | Kernel/Tasking/Processes/Threads/Thread.hpp | Plunkerusr/podsOS | b68e2ebdaa4eb99366dea6cc5509ba0c92c3601a | [
"MIT"
] | null | null | null | #pragma once
#include "Signals.hpp"
#include <Hardware/Trapframe.hpp>
namespace Kernel::Tasking {
constexpr size_t kernel_stack_size = 4096;
constexpr size_t user_stack_size = 512 * 4096;
// Not realy used inside the C++ code.
// Just to clarify the sequence of push / pop opertions
// inside Scheduling.s block rout... | 27.333333 | 98 | 0.712452 | Plunkerusr |
6b41ae332b2907083c9533638081806b9caf3094 | 188 | cpp | C++ | lab5/1 - concrete types/main.cpp | uiowa-cs-3210-0001/cs3210-labs | d6263d719a45257ba056a1ead7cc3dd428d377f3 | [
"MIT"
] | 1 | 2019-01-24T14:04:45.000Z | 2019-01-24T14:04:45.000Z | lab5/1 - concrete types/main.cpp | uiowa-cs-3210-0001/cs3210-labs | d6263d719a45257ba056a1ead7cc3dd428d377f3 | [
"MIT"
] | 1 | 2019-01-24T18:32:45.000Z | 2019-01-28T04:10:28.000Z | lab5/1 - concrete types/main.cpp | uiowa-cs-3210-0001/cs3210-labs | d6263d719a45257ba056a1ead7cc3dd428d377f3 | [
"MIT"
] | 1 | 2019-02-07T00:28:20.000Z | 2019-02-07T00:28:20.000Z | #include "complex.hpp"
int main()
{
complex z = {1,0};
complex a{ 2.3 }; // construct {2.3,0.0} from 2.3
complex b{ a + z };
// ...
if (a != b)
a = -b;
} | 17.090909 | 59 | 0.420213 | uiowa-cs-3210-0001 |
6b43103eb3798281232631c954ec08e0e4fa8b1a | 1,261 | cpp | C++ | solutions/059.cpp | procrastiraptor/euler | 1dd1040527c8de18e6325199a5939b32b8f76cac | [
"MIT"
] | 1 | 2017-10-25T14:45:57.000Z | 2017-10-25T14:45:57.000Z | solutions/059.cpp | procrastiraptor/euler | 1dd1040527c8de18e6325199a5939b32b8f76cac | [
"MIT"
] | null | null | null | solutions/059.cpp | procrastiraptor/euler | 1dd1040527c8de18e6325199a5939b32b8f76cac | [
"MIT"
] | null | null | null | #include <algorithm>
#include <array>
#include <iostream>
#include <numeric>
#include <string>
#include <string_view>
namespace {
using Key = std::array<char, 3>;
std::string tr(std::string_view input, Key key) {
std::string res;
res.reserve(input.size());
std::transform(
input.begin(),
input.end()... | 20.33871 | 73 | 0.547978 | procrastiraptor |
6b451cab1ac5c6c903fe41bcce9e60d5ca7eb276 | 609 | hpp | C++ | pehlaschool/Classes/Common/Controls/Subtitle.hpp | maqsoftware/Pehla-School-Hindi | 61aeae0f1d91952b44eaeaff5d2f6ec1d5aa3c43 | [
"Apache-2.0"
] | 2 | 2019-11-06T23:06:22.000Z | 2019-12-08T09:10:19.000Z | pehlaschool/Classes/Common/Controls/Subtitle.hpp | maqsoftware/GLEXP-Team-KitkitSchool-Hindi | 61aeae0f1d91952b44eaeaff5d2f6ec1d5aa3c43 | [
"Apache-2.0"
] | 123 | 2019-05-28T14:03:04.000Z | 2019-07-12T04:23:26.000Z | pehlaschool/Classes/Common/Controls/Subtitle.hpp | maqsoftware/Pehla-School-Hindi | 61aeae0f1d91952b44eaeaff5d2f6ec1d5aa3c43 | [
"Apache-2.0"
] | 5 | 2019-07-25T09:46:07.000Z | 2020-12-22T06:37:40.000Z | //
// Subtitle.hpp
// PehlaSchool
//
// Created by Jaehun Jung on 17/09/2018.
//
#pragma once
#include <stdio.h>
#include "cocos2d.h"
using namespace cocos2d;
using namespace std;
struct SubtitleStruct {
float start;
float end;
string content;
};
class Subtitle : public Node {
public:
stati... | 15.615385 | 49 | 0.669951 | maqsoftware |
6b458c24afaf856d32f721e5518c8647c25b2267 | 3,148 | cpp | C++ | src-qt5/core/lumina-desktop/LDesktopBackground.cpp | orangecms/lumina-desktop | 603e57e5d0a473ea7f51bf4cf274bebe512ac159 | [
"BSD-3-Clause"
] | null | null | null | src-qt5/core/lumina-desktop/LDesktopBackground.cpp | orangecms/lumina-desktop | 603e57e5d0a473ea7f51bf4cf274bebe512ac159 | [
"BSD-3-Clause"
] | null | null | null | src-qt5/core/lumina-desktop/LDesktopBackground.cpp | orangecms/lumina-desktop | 603e57e5d0a473ea7f51bf4cf274bebe512ac159 | [
"BSD-3-Clause"
] | null | null | null | //===========================================
// Lumina-DE source code
// Copyright (c) 2016, Henry Hu
// Available under the 3-clause BSD license
// See the LICENSE file for full details
//===========================================
#include "LDesktopBackground.h"
#include <QPainter>
#include <QPaintEvent>
#inclu... | 34.593407 | 134 | 0.54892 | orangecms |
6b48e70698ce77c3730b1b9fbe02a5c548756827 | 9,515 | cpp | C++ | mandelbrot/Program.cpp | 08jne01/Mandelbrot-Explorer | 40685555165138d7fd195a02ceee4db6ea511b0f | [
"MIT"
] | 2 | 2018-03-22T21:47:40.000Z | 2018-03-23T03:18:58.000Z | mandelbrot/Program.cpp | 08jne01/Mandelbrot-Explorer | 40685555165138d7fd195a02ceee4db6ea511b0f | [
"MIT"
] | 14 | 2018-03-22T03:04:04.000Z | 2018-09-26T16:29:15.000Z | mandelbrot/Program.cpp | 08jne01/Mandelbrot-Explorer | 40685555165138d7fd195a02ceee4db6ea511b0f | [
"MIT"
] | null | null | null | #include "Header.h"
#include "Complex.h"
#include "InMandel.h"
#include "MandelClass.h"
#include "Program.h"
void program::init(int width_, int height_, double step_, double x_, double y_, double scale_, double greyScale_, double phase_, int fullScreen_)
{
//Set all starting parameters
width = width_;
height = h... | 20.462366 | 166 | 0.6433 | 08jne01 |
6b4cd8b41945db540a9de931cbcd7d0eecb25dfc | 1,873 | cc | C++ | test/cc/unit/envoy_config_test.cc | Yannic/envoy-mobile | 27fd74c88d71b2c91f484e3660c936948b2eb481 | [
"Apache-2.0"
] | 1 | 2021-06-24T15:10:49.000Z | 2021-06-24T15:10:49.000Z | test/cc/unit/envoy_config_test.cc | Yannic/envoy-mobile | 27fd74c88d71b2c91f484e3660c936948b2eb481 | [
"Apache-2.0"
] | null | null | null | test/cc/unit/envoy_config_test.cc | Yannic/envoy-mobile | 27fd74c88d71b2c91f484e3660c936948b2eb481 | [
"Apache-2.0"
] | null | null | null | #include <string>
#include <vector>
#include "absl/synchronization/notification.h"
#include "gtest/gtest.h"
#include "library/cc/engine_builder.h"
#include "library/cc/log_level.h"
namespace Envoy {
namespace {
using namespace Platform;
TEST(TestConfig, ConfigIsApplied) {
auto engine_builder = EngineBuilder();
... | 31.745763 | 92 | 0.683396 | Yannic |
6b50f39fb4a2f540fce73757004af5b8ebebfd51 | 222 | cpp | C++ | src/unittest/main.cpp | jhasse/jngl | 1aab1bb5b9712eca50786418d44e9559373441a8 | [
"Zlib"
] | 61 | 2015-09-30T14:42:38.000Z | 2022-03-30T13:56:54.000Z | src/unittest/main.cpp | jhasse/jngl | 1aab1bb5b9712eca50786418d44e9559373441a8 | [
"Zlib"
] | 57 | 2016-08-10T19:28:36.000Z | 2022-03-15T07:18:00.000Z | src/unittest/main.cpp | jhasse/jngl | 1aab1bb5b9712eca50786418d44e9559373441a8 | [
"Zlib"
] | 3 | 2021-12-14T18:08:56.000Z | 2022-02-23T08:29:19.000Z | // Copyright 2018-2019 Jan Niklas Hasse <jhasse@bixense.com>
// For conditions of distribution and use, see copyright notice in LICENSE.txt
#define BOOST_TEST_MODULE JNGLTest // NOLINT
#include <boost/test/unit_test.hpp>
| 37 | 78 | 0.788288 | jhasse |
6b526978bb6cea400caed492b64c60b5552ca2c8 | 5,562 | cpp | C++ | tools/bins/importance_sampling_cpp/src/random_sampling_std.cpp | junipertcy/network-archaeology | 7cef0de7a388e8dde812e746d50470d167da8a9b | [
"MIT"
] | null | null | null | tools/bins/importance_sampling_cpp/src/random_sampling_std.cpp | junipertcy/network-archaeology | 7cef0de7a388e8dde812e746d50470d167da8a9b | [
"MIT"
] | null | null | null | tools/bins/importance_sampling_cpp/src/random_sampling_std.cpp | junipertcy/network-archaeology | 7cef0de7a388e8dde812e746d50470d167da8a9b | [
"MIT"
] | null | null | null | /**
* \file importance_sampling.cpp
* \brief main file for importance sampling method to infere the age of edges
in a network.
* \author Guillaume St-Onge
* \version 1.0
* \date 08/11/2017
*/
#include "DynamicNetwork.hpp"
#include "auxiliaryFunctions.hpp"
#include <iostream>
#include <fstream>
#include <sstream>
#inc... | 25.631336 | 93 | 0.658756 | junipertcy |
6b52ed178bfc8f6caeacf021d832505c01e2d642 | 1,060 | cpp | C++ | demo/thread.cpp | Pawapek/ocilib | 46ea6532e9ae0cf43ecc11dc2ca6542238b3d34d | [
"Apache-2.0"
] | 290 | 2015-07-07T12:53:43.000Z | 2022-02-19T13:17:56.000Z | demo/thread.cpp | Pawapek/ocilib | 46ea6532e9ae0cf43ecc11dc2ca6542238b3d34d | [
"Apache-2.0"
] | 270 | 2015-06-25T10:04:02.000Z | 2022-03-29T11:48:19.000Z | demo/thread.cpp | ljx0305/ocilib | b3d9ce9658766cc4cbd225d22f55e9f50f112a31 | [
"Apache-2.0"
] | 135 | 2015-06-24T05:38:34.000Z | 2022-03-12T06:58:55.000Z | #include <iostream>
#include "ocilib.hpp"
using namespace ocilib;
const int MaxThreads = 50;
void worker(ThreadHandle handle, void *data)
{
ThreadKey::SetValue("ID", const_cast<AnyPointer>(Thread::GetThreadId(handle)));
/* ... do some more processing here... */
std::cout << " Thread handle = " << hand... | 20.384615 | 83 | 0.537736 | Pawapek |
6b5402c64b97a3fb70ff8a2121a4cdcac33377cd | 1,344 | hpp | C++ | day_01/src/calculate_fuel.hpp | Krenth/Advent-of-Code-2019 | 1a8b3dadc0ee0852f12aa6788aef5c94bac06a5b | [
"MIT"
] | null | null | null | day_01/src/calculate_fuel.hpp | Krenth/Advent-of-Code-2019 | 1a8b3dadc0ee0852f12aa6788aef5c94bac06a5b | [
"MIT"
] | null | null | null | day_01/src/calculate_fuel.hpp | Krenth/Advent-of-Code-2019 | 1a8b3dadc0ee0852f12aa6788aef5c94bac06a5b | [
"MIT"
] | null | null | null | #ifndef CALCULATE_FUEL_HPP
#define CALCULATE_FUEL_HPP
#include <vector>
#include <cmath>
#include <iostream>
using namespace std;
/** Calculate Additional Fuel
* Calculates the additional fuel required for the part specific fuel.
*
* COMMENT THIS FUNCTION OUT FOR PART ONE
*/
int calculate_additional_fuel (int pa... | 27.428571 | 95 | 0.629464 | Krenth |
6b5499d7ad14419d9da02d08ed3c044733738547 | 125,082 | cc | C++ | src/ClusterPerf.cc | IMCG/RamCloud | dad96cf34d330608acb43b009d12949ed2d938f4 | [
"0BSD"
] | 1 | 2021-12-06T01:24:22.000Z | 2021-12-06T01:24:22.000Z | src/ClusterPerf.cc | IMCG/RamCloud | dad96cf34d330608acb43b009d12949ed2d938f4 | [
"0BSD"
] | null | null | null | src/ClusterPerf.cc | IMCG/RamCloud | dad96cf34d330608acb43b009d12949ed2d938f4 | [
"0BSD"
] | 1 | 2021-12-06T01:24:22.000Z | 2021-12-06T01:24:22.000Z | /* Copyright (c) 2011-2014 Stanford University
* Copyright (c) 2011 Facebook
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS P... | 36.467055 | 80 | 0.585784 | IMCG |
6b54c3afcc8529415bd995c841d21f600f768a2b | 552 | cc | C++ | string/1047.cc | MingfeiPan/leetcode | 55dc878cfb7b15a34252410ae7420a656da604f8 | [
"Apache-2.0"
] | null | null | null | string/1047.cc | MingfeiPan/leetcode | 55dc878cfb7b15a34252410ae7420a656da604f8 | [
"Apache-2.0"
] | null | null | null | string/1047.cc | MingfeiPan/leetcode | 55dc878cfb7b15a34252410ae7420a656da604f8 | [
"Apache-2.0"
] | null | null | null | class Solution {
public:
string removeDuplicates(string s) {
int index = 0;
while (!s.empty() && index < (s.size()-1)) {
if (s[index] == s[index+1]) {
if ((index+2) < s.size()) {
s = s.substr(0, index) + s.substr(index+2);
... | 25.090909 | 71 | 0.327899 | MingfeiPan |
6b568e5c6693776854d166f9a265e3bdde0ab282 | 79 | hpp | C++ | std/cstdio.hpp | mapsme/travelguide | 26dd50b93f55ef731175c19d12514da5bace9fa4 | [
"Apache-2.0"
] | 61 | 2015-12-05T19:34:20.000Z | 2021-06-25T09:07:09.000Z | std/cstdio.hpp | mapsme/travelguide | 26dd50b93f55ef731175c19d12514da5bace9fa4 | [
"Apache-2.0"
] | 9 | 2016-02-19T23:22:20.000Z | 2017-01-03T18:41:04.000Z | std/cstdio.hpp | mapsme/travelguide | 26dd50b93f55ef731175c19d12514da5bace9fa4 | [
"Apache-2.0"
] | 35 | 2015-12-17T00:09:14.000Z | 2021-01-27T10:47:11.000Z | #pragma once
#include <cstdio>
#define fseek64 fseeko
#define ftell64 ftello
| 11.285714 | 22 | 0.772152 | mapsme |
6b579f458a33197559c108f4151b21ae7ffbd13d | 6,103 | hpp | C++ | include/System/IO/Compression/Crc32Helper.hpp | RedBrumbler/virtuoso-codegen | e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3 | [
"Unlicense"
] | null | null | null | include/System/IO/Compression/Crc32Helper.hpp | RedBrumbler/virtuoso-codegen | e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3 | [
"Unlicense"
] | null | null | null | include/System/IO/Compression/Crc32Helper.hpp | RedBrumbler/virtuoso-codegen | e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3 | [
"Unlicense"
] | null | null | null | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "beatsaber-hook/shared/utils/typedefs.h"
#include "beatsaber-hook/shared/utils/byref.hpp"
#include "beatsaber-hook/shared/utils/typedefs-array.h... | 59.252427 | 196 | 0.729805 | RedBrumbler |
6b5886f37a33bfc263dab3178b586b62373416bd | 20,060 | cpp | C++ | lib/Basics/skip-list.cpp | morsdatum/ArangoDB | 9cfc6d5cd50b8f451ebdedd77e2c5257fa72a573 | [
"Apache-2.0"
] | null | null | null | lib/Basics/skip-list.cpp | morsdatum/ArangoDB | 9cfc6d5cd50b8f451ebdedd77e2c5257fa72a573 | [
"Apache-2.0"
] | null | null | null | lib/Basics/skip-list.cpp | morsdatum/ArangoDB | 9cfc6d5cd50b8f451ebdedd77e2c5257fa72a573 | [
"Apache-2.0"
] | null | null | null | ////////////////////////////////////////////////////////////////////////////////
/// @brief generic skip list implementation
///
/// @file
///
/// DISCLAIMER
///
/// Copyright 2014 ArangoDB GmbH, Cologne, Germany
/// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany
///
/// Licensed under the Apache License, Version ... | 35.757576 | 91 | 0.53679 | morsdatum |
6b59eccfc19f7499f13abf641d0efaa774288378 | 556 | cpp | C++ | UnitTests/Source/Main-Tests-Run.cpp | jwolak/Equinox-Logger | 982d4a8688133299a77671e927ae9506172fe16c | [
"BSD-3-Clause"
] | null | null | null | UnitTests/Source/Main-Tests-Run.cpp | jwolak/Equinox-Logger | 982d4a8688133299a77671e927ae9506172fe16c | [
"BSD-3-Clause"
] | null | null | null | UnitTests/Source/Main-Tests-Run.cpp | jwolak/Equinox-Logger | 982d4a8688133299a77671e927ae9506172fe16c | [
"BSD-3-Clause"
] | null | null | null | /*#include "Command-Line-Parser-Tests.cpp"*/
#include <gtest/gtest.h>
#include "gmock/gmock.h"
#include "EquinoxLoggerTests/File-Logger-Tests.cpp"
#include "EquinoxLoggerTests/Console-Logger-Tests.cpp"
#include "EquinoxLoggerTests/Logger-Level-Tests.cpp"
#include "EquinoxLoggerTests/Logger-Output-Tests.cpp"
#include ... | 32.705882 | 71 | 0.77518 | jwolak |
6b633ea015d0ccd621f0f928e772682c35999e83 | 33,267 | cpp | C++ | vsomeip/implementation/utility/src/utility.cpp | MicrochipTech/some-ip | b1ab3161f38c4db498c16b1dd478693b17b994f9 | [
"BSD-3-Clause"
] | 5 | 2021-09-03T13:31:46.000Z | 2022-03-30T05:02:49.000Z | vsomeip/implementation/utility/src/utility.cpp | MicrochipTech/some-ip | b1ab3161f38c4db498c16b1dd478693b17b994f9 | [
"BSD-3-Clause"
] | null | null | null | vsomeip/implementation/utility/src/utility.cpp | MicrochipTech/some-ip | b1ab3161f38c4db498c16b1dd478693b17b994f9 | [
"BSD-3-Clause"
] | 5 | 2019-06-17T05:27:14.000Z | 2021-12-26T01:16:08.000Z | // Copyright (C) 2014-2017 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
#ifdef _WIN32
#include <iostream>... | 43.14786 | 137 | 0.575946 | MicrochipTech |
6b63e91fc0d00d3343cc1d25388a9f0b99053f65 | 3,186 | cc | C++ | optickscore/OpticksEventStat.cc | hanswenzel/opticks | b75b5929b6cf36a5eedeffb3031af2920f75f9f0 | [
"Apache-2.0"
] | 11 | 2020-07-05T02:39:32.000Z | 2022-03-20T18:52:44.000Z | optickscore/OpticksEventStat.cc | hanswenzel/opticks | b75b5929b6cf36a5eedeffb3031af2920f75f9f0 | [
"Apache-2.0"
] | null | null | null | optickscore/OpticksEventStat.cc | hanswenzel/opticks | b75b5929b6cf36a5eedeffb3031af2920f75f9f0 | [
"Apache-2.0"
] | 4 | 2020-09-03T20:36:32.000Z | 2022-01-19T07:42:21.000Z | /*
* Copyright (c) 2019 Opticks Team. All Rights Reserved.
*
* This file is part of Opticks
* (see https://bitbucket.org/simoncblyth/opticks).
*
* 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 ... | 26.55 | 139 | 0.58914 | hanswenzel |
6b646a330e5c2783f756079ef40e7c121d937408 | 1,485 | cpp | C++ | tests/copySwap/copySwap.cpp | mlund/h5pp | a12edaf53b064cd00a073f28d489a6eaf7103246 | [
"MIT"
] | null | null | null | tests/copySwap/copySwap.cpp | mlund/h5pp | a12edaf53b064cd00a073f28d489a6eaf7103246 | [
"MIT"
] | null | null | null | tests/copySwap/copySwap.cpp | mlund/h5pp | a12edaf53b064cd00a073f28d489a6eaf7103246 | [
"MIT"
] | null | null | null |
#include <complex>
#include <h5pp/h5pp.h>
#include <iostream>
/*! \brief Prints the content of a vector nicely */
template<typename T> std::ostream &operator<<(std::ostream &out, const std::vector<T> &v) {
if(!v.empty()) {
out << "[ ";
std::copy(v.begin(), v.end(), std::ostream_iterator<T>(out, " ... | 32.282609 | 147 | 0.653199 | mlund |
6b65c69ceefbc0441a16b05a83ab6d7c286df93e | 198 | cpp | C++ | Lab04/ZBledami/Wypisz.cpp | arokasprz100/CPP-Labs-Third-Semester | 774daafdde2a2bd737fec7ebd1fb181c9ccb9d63 | [
"MIT"
] | null | null | null | Lab04/ZBledami/Wypisz.cpp | arokasprz100/CPP-Labs-Third-Semester | 774daafdde2a2bd737fec7ebd1fb181c9ccb9d63 | [
"MIT"
] | null | null | null | Lab04/ZBledami/Wypisz.cpp | arokasprz100/CPP-Labs-Third-Semester | 774daafdde2a2bd737fec7ebd1fb181c9ccb9d63 | [
"MIT"
] | null | null | null | #include"Typy.h"
#include<iostream>
using namespace std;
void Wypisz(ciag dane, rozmiarCiagu ile)
{
cout<<"("<<dane[0];
for (int i = 1; i < ile; ++i)
cout<<", "<<dane[i];
cout<<")\n";
}
| 15.230769 | 40 | 0.570707 | arokasprz100 |
6b6cab436f17d7f013f10058d542b9d919b57719 | 3,943 | cpp | C++ | Gear/Win32/System.cpp | Alpha255/Rockcat | f04124b17911fb6148512dd8fb260bd84702ffc1 | [
"MIT"
] | null | null | null | Gear/Win32/System.cpp | Alpha255/Rockcat | f04124b17911fb6148512dd8fb260bd84702ffc1 | [
"MIT"
] | null | null | null | Gear/Win32/System.cpp | Alpha255/Rockcat | f04124b17911fb6148512dd8fb260bd84702ffc1 | [
"MIT"
] | null | null | null | #include "Gear/System.h"
#include "Gear/File.hpp"
NAMESPACE_START(Gear)
namespace System
{
#if defined(PLATFORM_WIN32)
std::string getErrorMessage(uint32_t err)
{
static std::shared_ptr<char8_t> buffer(new char8_t[UINT16_MAX]());
memset(buffer.get(), 0, UINT16_MAX);
VERIFY(::FormatMessageA(
FORMAT_MESSAGE... | 24.490683 | 102 | 0.697438 | Alpha255 |
6b6dc43732deb51532d61f2c3d16c638d33f7740 | 74 | cc | C++ | src/aut_catch_flag.cc | schlepil/funnels_cpp_2 | 1ed746a90019f7f6aff7a54fd4b63bfbd58fa2ac | [
"MIT"
] | null | null | null | src/aut_catch_flag.cc | schlepil/funnels_cpp_2 | 1ed746a90019f7f6aff7a54fd4b63bfbd58fa2ac | [
"MIT"
] | null | null | null | src/aut_catch_flag.cc | schlepil/funnels_cpp_2 | 1ed746a90019f7f6aff7a54fd4b63bfbd58fa2ac | [
"MIT"
] | null | null | null | //
// Created by philipp on 1/21/20.
//
#include "aut/aut_catch_flag.hh"
| 12.333333 | 33 | 0.662162 | schlepil |
6b7024372850ff3b8874874a15cdf36abe07fd52 | 5,720 | cpp | C++ | test/feature-test.cpp | Telecommunication-Telemedia-Assessment/GBVS360-BMS360-ProSal | d0312f54a28e1ef2cf1e1581241571d9612bb36c | [
"MIT",
"Unlicense"
] | 26 | 2018-01-23T14:37:03.000Z | 2021-10-31T13:53:41.000Z | test/feature-test.cpp | Telecommunication-Telemedia-Assessment/GBVS360-BMS360-ProSal | d0312f54a28e1ef2cf1e1581241571d9612bb36c | [
"MIT",
"Unlicense"
] | 8 | 2018-09-05T23:38:09.000Z | 2021-09-27T18:52:18.000Z | test/feature-test.cpp | Telecommunication-Telemedia-Assessment/GBVS360-BMS360-ProSal | d0312f54a28e1ef2cf1e1581241571d9612bb36c | [
"MIT",
"Unlicense"
] | 6 | 2017-12-13T00:35:10.000Z | 2021-09-08T16:55:07.000Z | // **************************************************************************************************
//
// The MIT License (MIT)
//
// Copyright (c) 2017 Pierre Lebreton
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
// associated documentation files (the "So... | 29.183673 | 142 | 0.601049 | Telecommunication-Telemedia-Assessment |
6b71126c7f38f08ff52515f725b55930aa642234 | 169 | cc | C++ | tests/CompileTests/ElsaTestCases/t0477.cc | maurizioabba/rose | 7597292cf14da292bdb9a4ef573001b6c5b9b6c0 | [
"BSD-3-Clause"
] | 488 | 2015-01-09T08:54:48.000Z | 2022-03-30T07:15:46.000Z | tests/CompileTests/ElsaTestCases/t0477.cc | sujankh/rose-matlab | 7435d4fa1941826c784ba97296c0ec55fa7d7c7e | [
"BSD-3-Clause"
] | 174 | 2015-01-28T18:41:32.000Z | 2022-03-31T16:51:05.000Z | tests/CompileTests/ElsaTestCases/t0477.cc | sujankh/rose-matlab | 7435d4fa1941826c784ba97296c0ec55fa7d7c7e | [
"BSD-3-Clause"
] | 146 | 2015-04-27T02:48:34.000Z | 2022-03-04T07:32:53.000Z | // t0477.cc
// template class with nested class and instance declared together
template < class T >
class A {
private:
struct B { } b;
};
void foo()
{
A<int> x;
}
| 12.071429 | 66 | 0.64497 | maurizioabba |
6b73864347d969b4ad938fea3a345b4d4066bd25 | 6,683 | cpp | C++ | dali/internal/system/common/performance-server.cpp | Coquinho/dali-adaptor | a8006aea66b316a5eb710e634db30f566acda144 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | dali/internal/system/common/performance-server.cpp | Coquinho/dali-adaptor | a8006aea66b316a5eb710e634db30f566acda144 | [
"Apache-2.0",
"BSD-3-Clause"
] | 2 | 2020-10-19T13:45:40.000Z | 2020-12-10T20:21:03.000Z | dali/internal/system/common/performance-server.cpp | expertisesolutions/dali-adaptor | 810bf4dea833ea7dfbd2a0c82193bc0b3b155011 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2017 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | 27.845833 | 105 | 0.724226 | Coquinho |
6b778df8d301b3f59ef70bd1de11b3578c4ef526 | 6,493 | cpp | C++ | code/src/apps/celldetection-class/CellDetectorClass.cpp | pkainz/MICCAI2015 | 933e9e52d244ad1179713fe2f1dbb749d9e1f8d5 | [
"Apache-2.0"
] | 23 | 2015-12-14T06:06:45.000Z | 2022-03-25T10:51:42.000Z | code/src/apps/celldetection-class/CellDetectorClass.cpp | pkainz/MICCAI2015 | 933e9e52d244ad1179713fe2f1dbb749d9e1f8d5 | [
"Apache-2.0"
] | 3 | 2016-08-18T13:16:30.000Z | 2017-04-01T15:04:00.000Z | code/src/apps/celldetection-class/CellDetectorClass.cpp | pkainz/MICCAI2015 | 933e9e52d244ad1179713fe2f1dbb749d9e1f8d5 | [
"Apache-2.0"
] | 8 | 2015-08-18T10:31:06.000Z | 2020-12-30T13:55:01.000Z | /*
* CellDetectorClass.cpp
*
* Author: Philipp Kainz, Martin Urschler, Samuel Schulter, Paul Wohlhart, Vincent Lepetit
* Institution: Medical University of Graz and Graz University of Technology, Austria
*
*/
#include "CellDetectorClass.h"
CellDetectorClass::CellDetectorClass(TClassificationForest* rfin, AppCon... | 35.097297 | 175 | 0.652087 | pkainz |
6b7b3a65f4277ffa6cf15de6369cc343a7ff1b03 | 6,188 | cpp | C++ | SDK/Examples/FilamentViewer/FilamentViewer/Quesa to Filament/GeomToRenderable.cpp | h-haris/Quesa | a438ab824291ce6936a88dfae4fd0482dcba1247 | [
"BSD-3-Clause"
] | 24 | 2019-10-28T07:01:48.000Z | 2022-03-04T16:10:39.000Z | SDK/Examples/FilamentViewer/FilamentViewer/Quesa to Filament/GeomToRenderable.cpp | h-haris/Quesa | a438ab824291ce6936a88dfae4fd0482dcba1247 | [
"BSD-3-Clause"
] | 8 | 2020-04-22T19:42:45.000Z | 2021-04-30T16:28:32.000Z | SDK/Examples/FilamentViewer/FilamentViewer/Quesa to Filament/GeomToRenderable.cpp | h-haris/Quesa | a438ab824291ce6936a88dfae4fd0482dcba1247 | [
"BSD-3-Clause"
] | 6 | 2019-09-22T14:44:15.000Z | 2021-04-01T20:04:29.000Z | //
// GeomToRenderable.cpp
// FilamentViewer
//
// Created by James Walker on 6/3/21.
//
/* ___________________________________________________________________________
COPYRIGHT:
Copyright (c) 2021, Quesa Developers. All rights reserved.
For the current release of Quesa, please see:
... | 34.960452 | 93 | 0.730608 | h-haris |
6b7d20cc507e453e49708c2418f6d67abf3326f8 | 3,133 | cpp | C++ | paddle/gserver/layers/IdentityProjection.cpp | TarzanQll/Paddle-master | 1f192b22c641f91bd98a5babe7189ac5d7d3b408 | [
"Apache-2.0"
] | 1 | 2016-10-23T09:31:38.000Z | 2016-10-23T09:31:38.000Z | paddle/gserver/layers/IdentityProjection.cpp | TarzanQll/Paddle-master | 1f192b22c641f91bd98a5babe7189ac5d7d3b408 | [
"Apache-2.0"
] | 3 | 2016-10-22T16:06:11.000Z | 2016-11-07T06:30:37.000Z | paddle/gserver/layers/IdentityProjection.cpp | TarzanQll/Paddle-master | 1f192b22c641f91bd98a5babe7189ac5d7d3b408 | [
"Apache-2.0"
] | 1 | 2019-10-26T12:51:13.000Z | 2019-10-26T12:51:13.000Z | /* Copyright (c) 2016 Baidu, Inc. All Rights Reserve.
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 ... | 30.417476 | 80 | 0.710182 | TarzanQll |
6b8616869162bc986ad83782fd880beb74c8a518 | 554 | cpp | C++ | src/demo/benchmark_suite/functions/Sphere.cpp | geneial/geneial | 5e525c32b7c1e1e88788644e448e9234c93b55e2 | [
"MIT"
] | 5 | 2015-08-25T15:40:09.000Z | 2020-03-15T19:33:22.000Z | src/demo/benchmark_suite/functions/Sphere.cpp | geneial/geneial | 5e525c32b7c1e1e88788644e448e9234c93b55e2 | [
"MIT"
] | null | null | null | src/demo/benchmark_suite/functions/Sphere.cpp | geneial/geneial | 5e525c32b7c1e1e88788644e448e9234c93b55e2 | [
"MIT"
] | 3 | 2019-01-24T13:14:51.000Z | 2022-01-03T07:30:20.000Z | #include "Sphere.h"
#include <numeric>
#include <cmath>
#include <iostream>
double Sphere::compute(const std::vector<double>& coordinates) const
{
const double sum = std::accumulate(coordinates.begin(), coordinates.end(), 0.0, [](double a, double b)
{
return a + std::pow(b,2);
});
return sum;
... | 21.307692 | 106 | 0.644404 | geneial |
6b87810b20a9ec133ef2907ef636a66a44de7510 | 1,098 | cpp | C++ | tests/texture_atlas.cpp | mnewhouse/tselements | bd1c6724018e862156948a680bb1bc70dd28bef6 | [
"MIT"
] | null | null | null | tests/texture_atlas.cpp | mnewhouse/tselements | bd1c6724018e862156948a680bb1bc70dd28bef6 | [
"MIT"
] | null | null | null | tests/texture_atlas.cpp | mnewhouse/tselements | bd1c6724018e862156948a680bb1bc70dd28bef6 | [
"MIT"
] | null | null | null | /*
* TS Elements
* Copyright 2015-2018 M. Newhouse
* Released under the MIT license.
*/
#include "catch.hpp"
#include "utility/texture_atlas.hpp"
#include <vector>
#include <iostream>
using namespace ts;
using utility::TextureAtlas;
TEST_CASE("Let's see if the texture atlas works and packs in an efficient manner."... | 21.529412 | 83 | 0.641166 | mnewhouse |
6b8938d3b05591ed8a0822f19d89b89be68ab87a | 5,135 | hpp | C++ | src/crypto/crypto/crypto.hpp | games-on-whales/wolf | cd5aa47e0547d1bc7b093fb6cdd0582eae78b391 | [
"MIT"
] | 1 | 2021-12-30T13:15:05.000Z | 2021-12-30T13:15:05.000Z | src/crypto/crypto/crypto.hpp | games-on-whales/wolf | cd5aa47e0547d1bc7b093fb6cdd0582eae78b391 | [
"MIT"
] | null | null | null | src/crypto/crypto/crypto.hpp | games-on-whales/wolf | cd5aa47e0547d1bc7b093fb6cdd0582eae78b391 | [
"MIT"
] | null | null | null | #pragma once
#include <openssl/aes.h>
#include <openssl/x509.h>
#include <optional>
#include <string>
namespace crypto {
/**
* @brief Generates length random bytes using a cryptographically secure pseudo random generator (CSPRNG)
*/
std::string random(int length);
/**
* Encrypt the given msg using AES ecb at 128... | 29.511494 | 115 | 0.699708 | games-on-whales |
6b89f70aed90f8504ee7392cc765f50211d0aff9 | 968 | hpp | C++ | src/host/registry.hpp | Ghosty141/Terminal | c1220435bea5790ea3596b30568f724b74ce5dda | [
"MIT"
] | 5 | 2019-05-10T19:37:22.000Z | 2021-02-14T12:22:35.000Z | src/host/registry.hpp | Ghosty141/Terminal | c1220435bea5790ea3596b30568f724b74ce5dda | [
"MIT"
] | 2 | 2019-05-27T11:40:16.000Z | 2019-09-03T05:58:42.000Z | src/host/registry.hpp | Ghosty141/Terminal | c1220435bea5790ea3596b30568f724b74ce5dda | [
"MIT"
] | 2 | 2019-12-21T19:14:22.000Z | 2021-02-17T16:12:52.000Z | /*++
Copyright (c) Microsoft Corporation
Licensed under the MIT license.
Module Name:
- registry.hpp
Abstract:
- This module is used for reading/writing registry operations
Author(s):
- Michael Niksa (MiNiksa) 23-Jul-2014
- Paul Campbell (PaulCam) 23-Jul-2014
Revision History:
- From components of sr... | 22.511628 | 132 | 0.679752 | Ghosty141 |
6b8d0938aeccd4302da2742c7bc8b8af96b1a92a | 3,716 | hpp | C++ | gsMassAssembler.hpp | gismo/gsElasticity | a94347d4b8d8cd76de79d4b512023be9b68363bf | [
"BSD-3-Clause-Attribution"
] | 7 | 2020-04-24T04:11:02.000Z | 2021-09-18T19:24:10.000Z | gsMassAssembler.hpp | gismo/gsElasticity | a94347d4b8d8cd76de79d4b512023be9b68363bf | [
"BSD-3-Clause-Attribution"
] | 1 | 2021-08-16T20:41:48.000Z | 2021-08-16T20:41:48.000Z | gsMassAssembler.hpp | gismo/gsElasticity | a94347d4b8d8cd76de79d4b512023be9b68363bf | [
"BSD-3-Clause-Attribution"
] | 6 | 2020-05-12T11:11:51.000Z | 2021-10-21T14:13:46.000Z | /** @file gsElMassAssembler.hpp
@brief Provides mass matrix for elasticity systems in 2D plain strain and 3D continua.
This file is part of the G+Smo library.
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
fi... | 34.728972 | 115 | 0.67465 | gismo |
6b91940f5e4de26027991a0e6671bceb3c08b61c | 3,735 | cc | C++ | firestore/src/common/listener_registration.cc | NetsoftHoldings/firebase-cpp-sdk | 356c63bddde5ed76483cbfc5f3ff5b228c5cbe1f | [
"Apache-2.0"
] | null | null | null | firestore/src/common/listener_registration.cc | NetsoftHoldings/firebase-cpp-sdk | 356c63bddde5ed76483cbfc5f3ff5b228c5cbe1f | [
"Apache-2.0"
] | null | null | null | firestore/src/common/listener_registration.cc | NetsoftHoldings/firebase-cpp-sdk | 356c63bddde5ed76483cbfc5f3ff5b228c5cbe1f | [
"Apache-2.0"
] | null | null | null | #include "firestore/src/include/firebase/firestore/listener_registration.h"
#include <utility>
#include "firestore/src/common/cleanup.h"
#if defined(__ANDROID__)
#include "firestore/src/android/listener_registration_android.h"
#elif defined(FIRESTORE_STUB_BUILD)
#include "firestore/src/stub/listener_registration_stu... | 34.583333 | 80 | 0.754752 | NetsoftHoldings |
6b91b26cc8afa584c77f7a9c3aa088a64679542d | 3,172 | cpp | C++ | Homework01v2/Matrix4D.cpp | Nazul/MSC-CG_OpenGL | 266823851b09a72aebcd9c62e806db36e7ec7409 | [
"Apache-2.0"
] | null | null | null | Homework01v2/Matrix4D.cpp | Nazul/MSC-CG_OpenGL | 266823851b09a72aebcd9c62e806db36e7ec7409 | [
"Apache-2.0"
] | null | null | null | Homework01v2/Matrix4D.cpp | Nazul/MSC-CG_OpenGL | 266823851b09a72aebcd9c62e806db36e7ec7409 | [
"Apache-2.0"
] | null | null | null | #include "stdafx.h"
#include "Matrix4D.h"
#include <math.h>
MATRIX4D operator*(MATRIX4D & A, MATRIX4D & B) {
MATRIX4D R = Zero();
for (int j = 0; j < 4; j++)
for (int i = 0; i < 4; i++)
for (int k = 0; k < 4; k++)
R.m[j][i] += A.m[j][k] * B.m[k][i];
return R;
}
VECTOR4D operator*(MATRIX4D &... | 18.549708 | 68 | 0.50662 | Nazul |
6b944121c76ab19157aa731af2fbefcb3ec68d43 | 3,362 | cpp | C++ | wpimath/src/test/native/cpp/filter/LinearFilterOutputTest.cpp | liorsagy/allwpilib | 3838cc4ec48d4bf38815565fab016f0c4f746585 | [
"BSD-3-Clause"
] | null | null | null | wpimath/src/test/native/cpp/filter/LinearFilterOutputTest.cpp | liorsagy/allwpilib | 3838cc4ec48d4bf38815565fab016f0c4f746585 | [
"BSD-3-Clause"
] | null | null | null | wpimath/src/test/native/cpp/filter/LinearFilterOutputTest.cpp | liorsagy/allwpilib | 3838cc4ec48d4bf38815565fab016f0c4f746585 | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) FIRST and other WPILib contributors.
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
#include "frc/filter/LinearFilter.h" // NOLINT(build/include_order)
#include <cmath>
#include <functional>
#include <m... | 27.785124 | 77 | 0.665675 | liorsagy |
6b9453f5254feefd99566baab97330134e296acd | 11,970 | cc | C++ | compiler/jit/jit_logger.cc | Paschalis/android-llvm | 317f7fd4b736a0511a2273a2487915c34cf8933e | [
"Apache-2.0"
] | 20 | 2021-06-24T16:38:42.000Z | 2022-01-20T16:15:57.000Z | compiler/jit/jit_logger.cc | Paschalis/android-llvm | 317f7fd4b736a0511a2273a2487915c34cf8933e | [
"Apache-2.0"
] | null | null | null | compiler/jit/jit_logger.cc | Paschalis/android-llvm | 317f7fd4b736a0511a2273a2487915c34cf8933e | [
"Apache-2.0"
] | 4 | 2021-11-03T06:01:12.000Z | 2022-02-24T02:57:31.000Z | /*
* Copyright 2016 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 38.737864 | 100 | 0.647118 | Paschalis |
6b95e79e995335c6323e9e09400bd830da835586 | 3,751 | hpp | C++ | include/motion_manager/scenario.hpp | JoaoQPereira/motion_manager | de853e9341c482a0c13e0ba7b78429c019890507 | [
"MIT"
] | null | null | null | include/motion_manager/scenario.hpp | JoaoQPereira/motion_manager | de853e9341c482a0c13e0ba7b78429c019890507 | [
"MIT"
] | null | null | null | include/motion_manager/scenario.hpp | JoaoQPereira/motion_manager | de853e9341c482a0c13e0ba7b78429c019890507 | [
"MIT"
] | null | null | null | #ifndef SCENARIO_HPP
#define SCENARIO_HPP
#include "robot.hpp"
#include "object.hpp"
#include "pose.hpp"
#include "waypoint.hpp"
namespace motion_manager
{
typedef boost::shared_ptr<Robot> robotPtr; /**< shared pointer to a robot */
typedef boost::shared_ptr<Object> objectPtr; /**< shared pointer to an object*/
type... | 22.195266 | 87 | 0.597174 | JoaoQPereira |
6b95f5915b84bf0426913b35b698fed6a19e1c52 | 460 | cpp | C++ | src/tests/Interop/MarshalAPI/IUnknown/IUnknownNative.cpp | pyracanda/runtime | 72bee25ab532a4d0636118ec2ed3eabf3fd55245 | [
"MIT"
] | 9,402 | 2019-11-25T23:26:24.000Z | 2022-03-31T23:19:41.000Z | src/tests/Interop/MarshalAPI/IUnknown/IUnknownNative.cpp | pyracanda/runtime | 72bee25ab532a4d0636118ec2ed3eabf3fd55245 | [
"MIT"
] | 37,522 | 2019-11-25T23:30:32.000Z | 2022-03-31T23:58:30.000Z | src/tests/Interop/MarshalAPI/IUnknown/IUnknownNative.cpp | pyracanda/runtime | 72bee25ab532a4d0636118ec2ed3eabf3fd55245 | [
"MIT"
] | 3,629 | 2019-11-25T23:29:16.000Z | 2022-03-31T21:52:28.000Z | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#include <stdio.h>
#include <xplatform.h>
extern "C" DLL_EXPORT BOOL __cdecl Marshal_IUnknown(/*[in]*/IUnknown *o)
{
//Call AddRef and Release on the passed IUnknown
//test if the ... | 30.666667 | 72 | 0.726087 | pyracanda |
6b97f9de5307f0df4092fe3d93cb5439bc6d4931 | 4,800 | cpp | C++ | src/gl/Renderer.cpp | chao-mu/vidrevolt | d7be4ed7a30ef9cec794c54ca1a06e4117420604 | [
"MIT"
] | null | null | null | src/gl/Renderer.cpp | chao-mu/vidrevolt | d7be4ed7a30ef9cec794c54ca1a06e4117420604 | [
"MIT"
] | null | null | null | src/gl/Renderer.cpp | chao-mu/vidrevolt | d7be4ed7a30ef9cec794c54ca1a06e4117420604 | [
"MIT"
] | null | null | null | #include "gl/Renderer.h"
#include <stdexcept>
#define AUX_OUTPUT_NAME "aux"
namespace vidrevolt {
namespace gl {
void Renderer::setResolution(const Resolution& res) {
resolution_ = res;
}
void Renderer::render(const Address target, const std::string& shader_path, ParamSet par... | 34.285714 | 114 | 0.472708 | chao-mu |
6b9a7a425e2265a6ba4d6877c5cba08eaa87afda | 943 | cpp | C++ | B2G/gecko/tools/profiler/nsProfilerFactory.cpp | wilebeast/FireFox-OS | 43067f28711d78c429a1d6d58c77130f6899135f | [
"Apache-2.0"
] | 3 | 2015-08-31T15:24:31.000Z | 2020-04-24T20:31:29.000Z | B2G/gecko/tools/profiler/nsProfilerFactory.cpp | wilebeast/FireFox-OS | 43067f28711d78c429a1d6d58c77130f6899135f | [
"Apache-2.0"
] | null | null | null | B2G/gecko/tools/profiler/nsProfilerFactory.cpp | wilebeast/FireFox-OS | 43067f28711d78c429a1d6d58c77130f6899135f | [
"Apache-2.0"
] | 3 | 2015-07-29T07:17:15.000Z | 2020-11-04T06:55:37.000Z | /* -*- Mode: C++; tab-width: 20; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "mozilla/ModuleUtils.h"
... | 29.46875 | 80 | 0.717922 | wilebeast |
6b9b73451fa776993372eee5efb36f5405b924e4 | 2,407 | cpp | C++ | test-app/runtime/src/main/cpp/v8_inspector/src/inspector/v8-network-agent-impl.cpp | ClarkGuan/android-runtime | fd3a3c06f1b4590b4f8177b7deef91ebdf9166e3 | [
"Apache-2.0"
] | null | null | null | test-app/runtime/src/main/cpp/v8_inspector/src/inspector/v8-network-agent-impl.cpp | ClarkGuan/android-runtime | fd3a3c06f1b4590b4f8177b7deef91ebdf9166e3 | [
"Apache-2.0"
] | null | null | null | test-app/runtime/src/main/cpp/v8_inspector/src/inspector/v8-network-agent-impl.cpp | ClarkGuan/android-runtime | fd3a3c06f1b4590b4f8177b7deef91ebdf9166e3 | [
"Apache-2.0"
] | null | null | null | //
// Created by pkanev on 2/22/2017.
//
#include <assert.h>
#include <v8_inspector/src/inspector/utils/v8-inspector-common.h>
#include "v8-network-agent-impl.h"
namespace v8_inspector {
namespace NetworkAgentState {
static const char networkEnabled[] = "networkEnabled";
}
V8NetworkAgentImpl::V8NetworkAgentImpl(V8I... | 29 | 162 | 0.718322 | ClarkGuan |
6b9e8a83bb3c48542cb60fd7b7e8a7177c45948b | 2,353 | cpp | C++ | sqaodc/tests/DeviceTest.cpp | rickyHong/Qubo-GPU-repl | a2bea6857885d318cd3aa6b6ed37dc6e7f011433 | [
"Apache-2.0"
] | 51 | 2018-01-04T06:26:07.000Z | 2022-03-31T12:05:16.000Z | sqaodc/tests/DeviceTest.cpp | rickyHong/Qubo-GPU-repl | a2bea6857885d318cd3aa6b6ed37dc6e7f011433 | [
"Apache-2.0"
] | 63 | 2018-02-21T10:57:26.000Z | 2020-10-20T18:25:25.000Z | sqaodc/tests/DeviceTest.cpp | rickyHong/Qubo-GPU-repl | a2bea6857885d318cd3aa6b6ed37dc6e7f011433 | [
"Apache-2.0"
] | 15 | 2018-01-18T16:56:15.000Z | 2021-09-16T12:19:43.000Z | #include "DeviceTest.h"
#include <vector>
using namespace sqaod_cuda;
DeviceTest::DeviceTest(void) : MinimalTestSuite("DeviceTest") {
}
DeviceTest::~DeviceTest(void) {
}
void DeviceTest::setUp() {
}
void DeviceTest::tearDown() {
}
void DeviceTest::run(std::ostream &ostm) {
testcase("DevInit/Fin") {
... | 24.257732 | 83 | 0.568636 | rickyHong |
6ba52671fdce3d6eacbfa3551eb4a6afcfed4718 | 3,761 | cpp | C++ | contrib/spreadinterp.cpp | elliottslaughter/cufinufft | bb1453dfe9dc12159e8e346eae79ad4d71fd566f | [
"Apache-2.0"
] | 56 | 2020-05-12T22:22:22.000Z | 2022-01-28T23:54:48.000Z | contrib/spreadinterp.cpp | elliottslaughter/cufinufft | bb1453dfe9dc12159e8e346eae79ad4d71fd566f | [
"Apache-2.0"
] | 108 | 2020-05-13T16:59:51.000Z | 2022-03-31T22:30:57.000Z | contrib/spreadinterp.cpp | elliottslaughter/cufinufft | bb1453dfe9dc12159e8e346eae79ad4d71fd566f | [
"Apache-2.0"
] | 15 | 2020-05-22T12:29:36.000Z | 2022-03-03T18:08:03.000Z | #include "spreadinterp.h"
#include <stdlib.h>
#include <vector>
#include <math.h>
int setup_spreader(SPREAD_OPTS &opts,FLT eps, FLT upsampfac, int kerevalmeth)
// Initializes spreader kernel parameters given desired NUFFT tolerance eps,
// upsampling factor (=sigma in paper, or R in Dutt-Rokhlin), and ker eval meth
//... | 45.313253 | 145 | 0.667642 | elliottslaughter |
6ba7c527633cf9a4f1de6d4670ab5afbd46e649e | 1,472 | cpp | C++ | Source/OpenExrWrapper/OpenExrWrapper.cpp | TQwan/ExrMedia | 3934b82b85c4f0c00987c535fb0a2fb2d1602034 | [
"MIT"
] | null | null | null | Source/OpenExrWrapper/OpenExrWrapper.cpp | TQwan/ExrMedia | 3934b82b85c4f0c00987c535fb0a2fb2d1602034 | [
"MIT"
] | null | null | null | Source/OpenExrWrapper/OpenExrWrapper.cpp | TQwan/ExrMedia | 3934b82b85c4f0c00987c535fb0a2fb2d1602034 | [
"MIT"
] | null | null | null | #pragma warning(push)
#pragma warning(disable:28251)
#include "OpenExrWrapper.h"
#include "ImathBox.h"
#include "ImfHeader.h"
#include "ImfRgbaFile.h"
#include "ImfStandardAttributes.h"
#include "Modules/ModuleManager.h"
FRgbaInputFile::FRgbaInputFile(const FString& FilePath)
{
InputFile = new Imf::RgbaInputFile(T... | 22.30303 | 124 | 0.737772 | TQwan |
6ba84b024c11855a782c96fe585b836a8cfe5170 | 1,233 | cpp | C++ | Introduction/Ad Hoc Problems - Part 2/12060 All Integer Average.cpp | satvik007/UvaRevision | b2473130eb17435ac55132083e85262491db3d1b | [
"MIT"
] | null | null | null | Introduction/Ad Hoc Problems - Part 2/12060 All Integer Average.cpp | satvik007/UvaRevision | b2473130eb17435ac55132083e85262491db3d1b | [
"MIT"
] | null | null | null | Introduction/Ad Hoc Problems - Part 2/12060 All Integer Average.cpp | satvik007/UvaRevision | b2473130eb17435ac55132083e85262491db3d1b | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef vector <int> vi;
int n, u, sum;
void solve(){
if(abs(sum) % n == 0){
sum /= n;
if(sum < 0) cout << "- ";
cout << abs(sum) << "\n";
}else{
int sign = (sum < 0);
sum = abs(sum);
int avg = ... | 26.234043 | 62 | 0.42498 | satvik007 |
6ba8908e11be99d3e63f5eee5ade7b1c7abb7f66 | 3,645 | cpp | C++ | SFML/SFML04-2dExplorer/src/State_Game.cpp | Gaetz/cpp-training | 5191da36be37c5bef18637ba82f1edac1c2474fa | [
"MIT"
] | null | null | null | SFML/SFML04-2dExplorer/src/State_Game.cpp | Gaetz/cpp-training | 5191da36be37c5bef18637ba82f1edac1c2474fa | [
"MIT"
] | null | null | null | SFML/SFML04-2dExplorer/src/State_Game.cpp | Gaetz/cpp-training | 5191da36be37c5bef18637ba82f1edac1c2474fa | [
"MIT"
] | null | null | null | #include "State_Game.h"
#include "StateManager.h"
State_Game::State_Game(StateManager *stateManager) : BaseState(stateManager) {}
State_Game::~State_Game() {}
void State_Game::onCreate()
{
// View setup
sf::Vector2u viewSize = mStateManager->getContext()->mWindow->getWindowSize();
mView.setSize(viewSize.... | 34.714286 | 149 | 0.691084 | Gaetz |
6ba92bcc7a6c613243d8ed0b8e0389b6bb8563f7 | 4,491 | hpp | C++ | include/estd/tuple/for_each.hpp | fizyr/estd | 6562e7d3d21972f9eee7f4b36dfd381b4ae9d2bf | [
"BSD-3-Clause"
] | 9 | 2018-07-28T21:37:28.000Z | 2021-12-20T22:24:14.000Z | include/estd/tuple/for_each.hpp | fizyr/estd | 6562e7d3d21972f9eee7f4b36dfd381b4ae9d2bf | [
"BSD-3-Clause"
] | 8 | 2019-05-17T18:40:19.000Z | 2021-10-11T09:35:08.000Z | include/estd/tuple/for_each.hpp | fizyr/estd | 6562e7d3d21972f9eee7f4b36dfd381b4ae9d2bf | [
"BSD-3-Clause"
] | 4 | 2019-02-23T13:39:26.000Z | 2021-12-20T22:24:19.000Z | /* Copyright 2017-2018 Fizyr B.V. - https://fizyr.com
*
* 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 ... | 41.583333 | 97 | 0.717435 | fizyr |
6baa61169badd91f1029ae2817562f354457a866 | 1,103 | cpp | C++ | linear-list/array/median_of_two_sorted_arrays.cpp | zhangxin23/leetcode | 4c8fc60e59448045a3e880caaedd0486164e68e7 | [
"MIT"
] | 1 | 2015-07-15T07:31:42.000Z | 2015-07-15T07:31:42.000Z | linear-list/array/median_of_two_sorted_arrays.cpp | zhangxin23/leetcode | 4c8fc60e59448045a3e880caaedd0486164e68e7 | [
"MIT"
] | null | null | null | linear-list/array/median_of_two_sorted_arrays.cpp | zhangxin23/leetcode | 4c8fc60e59448045a3e880caaedd0486164e68e7 | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
/**
* There are two sorted arrays A and B of size m and n respectively. Find the median of the two sorted arrays.
* The overall run time complexity should be O(log(m + n)).
* */
class Solution {
public:
double findMedian(int A[], int m, int B[], int n) {
int to... | 29.026316 | 110 | 0.4932 | zhangxin23 |
6bb02840355fc14356f0266998b0c1ed3b7128db | 25,634 | hpp | C++ | include/virt_wrap/Domain.hpp | AeroStun/virthttp | d6ae9d752721aa5ecc74dbc2dbb54de917ba31ad | [
"Apache-2.0"
] | 7 | 2019-08-22T20:48:15.000Z | 2021-12-31T16:08:59.000Z | include/virt_wrap/Domain.hpp | AeroStun/virthttp | d6ae9d752721aa5ecc74dbc2dbb54de917ba31ad | [
"Apache-2.0"
] | 10 | 2019-08-22T21:40:43.000Z | 2020-09-03T14:21:21.000Z | include/virt_wrap/Domain.hpp | AeroStun/virthttp | d6ae9d752721aa5ecc74dbc2dbb54de917ba31ad | [
"Apache-2.0"
] | 2 | 2019-08-22T21:08:28.000Z | 2019-08-23T21:31:56.000Z | //
// Created by _as on 2019-01-31.
//
#ifndef VIRTPP_DOMAIN_HPP
#define VIRTPP_DOMAIN_HPP
#include <filesystem>
#include <stdexcept>
#include <variant>
#include <vector>
#include <gsl/gsl>
#include "../cexpr_algs.hpp"
#include "enums/Connection/Decls.hpp"
#include "enums/Domain/Decls.hpp"
#include "enums/Domain/Doma... | 43.082353 | 150 | 0.721815 | AeroStun |
6bb03b09da63988edc7040cc8632669eddb6daa5 | 1,454 | cpp | C++ | testing/execution/executor/executor_traits/executor_execution_category.cpp | brycelelbach/agency | aef6649ea4e8cce334dd47c346d42b3c9eaf1222 | [
"BSD-3-Clause"
] | null | null | null | testing/execution/executor/executor_traits/executor_execution_category.cpp | brycelelbach/agency | aef6649ea4e8cce334dd47c346d42b3c9eaf1222 | [
"BSD-3-Clause"
] | null | null | null | testing/execution/executor/executor_traits/executor_execution_category.cpp | brycelelbach/agency | aef6649ea4e8cce334dd47c346d42b3c9eaf1222 | [
"BSD-3-Clause"
] | 1 | 2019-06-10T06:21:44.000Z | 2019-06-10T06:21:44.000Z | #include <iostream>
#include <agency/execution/executor/executor_traits.hpp>
#include "../test_executors.hpp"
struct bulk_executor_without_category
{
template<class Function, class ResultFactory, class SharedFactory>
typename std::result_of<ResultFactory()>::type
bulk_sync_execute(Function f, size_t n, ResultF... | 34.619048 | 147 | 0.815681 | brycelelbach |
6bb046663e3e1ca84b74ca857009a40e40915b9b | 7,473 | cpp | C++ | src/tohir.cpp | kimmoli/tohiri-app | 8508dd05bf55847158c3d1ed99fa6dad2d013bfb | [
"MIT"
] | 1 | 2017-10-06T10:39:50.000Z | 2017-10-06T10:39:50.000Z | src/tohir.cpp | kimmoli/tohiri-app | 8508dd05bf55847158c3d1ed99fa6dad2d013bfb | [
"MIT"
] | null | null | null | src/tohir.cpp | kimmoli/tohiri-app | 8508dd05bf55847158c3d1ed99fa6dad2d013bfb | [
"MIT"
] | null | null | null | #include "tohir.h"
#include <QSettings>
#include <QCoreApplication>
#include <QTime>
#include <QtDBus/QtDBus>
#include <QDBusArgument>
#include "amg883x.h"
TohIR::TohIR(QObject *parent) :
QObject(parent)
{
// Create seed for the random
// That is needed only once on application startup
QTime time = ... | 23.951923 | 93 | 0.569785 | kimmoli |