hexsha stringlengths 40 40 | size int64 7 1.05M | ext stringclasses 13
values | lang stringclasses 1
value | max_stars_repo_path stringlengths 4 269 | max_stars_repo_name stringlengths 5 109 | max_stars_repo_head_hexsha stringlengths 40 40 | max_stars_repo_licenses listlengths 1 9 | max_stars_count int64 1 191k ⌀ | max_stars_repo_stars_event_min_datetime stringlengths 24 24 ⌀ | max_stars_repo_stars_event_max_datetime stringlengths 24 24 ⌀ | max_issues_repo_path stringlengths 4 269 | max_issues_repo_name stringlengths 5 116 | max_issues_repo_head_hexsha stringlengths 40 40 | max_issues_repo_licenses listlengths 1 9 | max_issues_count int64 1 48.5k ⌀ | max_issues_repo_issues_event_min_datetime stringlengths 24 24 ⌀ | max_issues_repo_issues_event_max_datetime stringlengths 24 24 ⌀ | max_forks_repo_path stringlengths 4 269 | max_forks_repo_name stringlengths 5 116 | max_forks_repo_head_hexsha stringlengths 40 40 | max_forks_repo_licenses listlengths 1 9 | max_forks_count int64 1 105k ⌀ | max_forks_repo_forks_event_min_datetime stringlengths 24 24 ⌀ | max_forks_repo_forks_event_max_datetime stringlengths 24 24 ⌀ | content stringlengths 7 1.05M | avg_line_length float64 1.21 330k | max_line_length int64 6 990k | alphanum_fraction float64 0.01 0.99 | author_id stringlengths 2 40 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b423ea51b53c85d9c46b53d07fca32d5bd553b69 | 614 | cpp | C++ | module04/ex02/Cat.cpp | JLL32/piscine-cpp | d1d3296d8e25a1c33f7c92df4f61e6f76b8dab8c | [
"MIT"
] | null | null | null | module04/ex02/Cat.cpp | JLL32/piscine-cpp | d1d3296d8e25a1c33f7c92df4f61e6f76b8dab8c | [
"MIT"
] | null | null | null | module04/ex02/Cat.cpp | JLL32/piscine-cpp | d1d3296d8e25a1c33f7c92df4f61e6f76b8dab8c | [
"MIT"
] | null | null | null | //
// Created by jll32 on 26/2/2022.
//
#include "Cat.hpp"
Cat::Cat(): brain(new Brain()) {
this->type = "Cat";
std::cout << "Default Constructor for " << this->type << std::endl;
}
Cat::Cat(const Cat ©) {
*this = copy;
std::cout << "Copy Constructor for " << this->type << std::endl;
}
Cat::~Cat... | 19.806452 | 71 | 0.560261 | JLL32 |
b423f7e8055004d9aacc0878ffcd601ef1c7ab8b | 3,839 | inl | C++ | glm/gtx/transform2.inl | MilosSubotic/static_float | 0180f7efc5153b6d4da15c6cfc8140bea0fe4218 | [
"BSD-3-Clause"
] | 14 | 2015-03-30T13:10:12.000Z | 2021-02-17T14:21:16.000Z | glm/gtx/transform2.inl | RichardOB/3D-Camera-Movement | bec846df5f49e4774e4964a159b0a16d32474eb9 | [
"MIT"
] | 9 | 2015-11-30T10:29:42.000Z | 2016-05-27T07:06:25.000Z | 3rdParty/glm/gtx/transform2.inl | simonmeister/hydraulic-terrain-modeler | 025fb38493344c6fa676e5b9ab9422aea3d3309c | [
"MIT"
] | 2 | 2015-02-06T11:52:29.000Z | 2021-07-16T03:48:13.000Z | ///////////////////////////////////////////////////////////////////////////////////////////////////
// OpenGL Mathematics Copyright (c) 2005 - 2012 G-Truc Creation (www.g-truc.net)
///////////////////////////////////////////////////////////////////////////////////////////////////
// Created : 2005-02-28
// Updated ... | 24.767742 | 100 | 0.513936 | MilosSubotic |
b42448dbe91dd9bbc21da2b653ddc8a360fe1536 | 2,760 | cpp | C++ | rcff/src/RCF/Platform.cpp | DayBreakZhang/CXKJ_Code | c7caab736313f029324f1c95714f5a94b2589076 | [
"Apache-2.0"
] | null | null | null | rcff/src/RCF/Platform.cpp | DayBreakZhang/CXKJ_Code | c7caab736313f029324f1c95714f5a94b2589076 | [
"Apache-2.0"
] | null | null | null | rcff/src/RCF/Platform.cpp | DayBreakZhang/CXKJ_Code | c7caab736313f029324f1c95714f5a94b2589076 | [
"Apache-2.0"
] | null | null | null |
//******************************************************************************
// RCF - Remote Call Framework
//
// Copyright (c) 2005 - 2019, Delta V Software. All rights reserved.
// http://www.deltavsoft.com
//
// RCF is distributed under dual licenses - closed source or GPL.
// Consult your particular license fo... | 24.210526 | 85 | 0.600725 | DayBreakZhang |
b4296ed51a92201f0d1af4610ae2dff8fc8cd588 | 640 | cpp | C++ | src/utils/LogHandler.cpp | konnidb/bridgeDB | 0590e88d50323750a0e207ba5e7e948986f38ac5 | [
"Apache-2.0"
] | 3 | 2019-08-10T20:59:22.000Z | 2019-09-15T06:58:00.000Z | src/utils/LogHandler.cpp | konnidb/bridgeDB | 0590e88d50323750a0e207ba5e7e948986f38ac5 | [
"Apache-2.0"
] | 9 | 2019-08-10T20:44:11.000Z | 2019-10-28T10:41:58.000Z | src/utils/LogHandler.cpp | konnidb/bridgeDB | 0590e88d50323750a0e207ba5e7e948986f38ac5 | [
"Apache-2.0"
] | 1 | 2019-09-15T07:02:58.000Z | 2019-09-15T07:02:58.000Z | #pragma once
#include<iostream>
#include<string>
#include<unordered_map>
#include"LogHandler.h"
using namespace std;
Log::Log(long logCode, string logName, string description, LogType logType, void(*action)()) {
this->logCode = logCode;
this->logName = logName;
this->description = description;
this->logType = log... | 25.6 | 95 | 0.715625 | konnidb |
b42a4ff7c2dc8da8f038ffd7d9b3e14aefcc1bb6 | 14,635 | hpp | C++ | src/device_trezor/trezor/protocol.hpp | MKEcoin/MkecoinTest | 1ecc8eef4e8e8d86c63d254dc7c31099c3972864 | [
"MIT"
] | 7 | 2021-06-06T02:29:08.000Z | 2021-08-24T08:47:51.000Z | src/device_trezor/trezor/protocol.hpp | MKEcoin/MkecoinTest | 1ecc8eef4e8e8d86c63d254dc7c31099c3972864 | [
"MIT"
] | 3 | 2021-06-11T15:16:20.000Z | 2021-08-11T07:05:39.000Z | src/device_trezor/trezor/protocol.hpp | MKEcoin/MkecoinTest | 1ecc8eef4e8e8d86c63d254dc7c31099c3972864 | [
"MIT"
] | 2 | 2021-08-20T09:53:15.000Z | 2021-09-06T07:25:13.000Z | // Copyright (c) 2017-2020, The MKEcoin Project
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification, are
// permitted provided that the following conditions are met:
//
// 1. Redistributions of source code must retain the above copyright notice, this list of
... | 41.814286 | 199 | 0.734814 | MKEcoin |
b42b54fd601b6b22695a5d620cb205d72748fc18 | 20,235 | hpp | C++ | include/htcw_bits.hpp | codewitch-honey-crisis/htcw_bits | 97af67ab24a2ffc43a5314f46e162ce857fa3f2d | [
"MIT"
] | null | null | null | include/htcw_bits.hpp | codewitch-honey-crisis/htcw_bits | 97af67ab24a2ffc43a5314f46e162ce857fa3f2d | [
"MIT"
] | null | null | null | include/htcw_bits.hpp | codewitch-honey-crisis/htcw_bits | 97af67ab24a2ffc43a5314f46e162ce857fa3f2d | [
"MIT"
] | null | null | null | #ifndef HTCW_BITS_HPP
#define HTCW_BITS_HPP
#include "htcw_endian.hpp"
#define HTCW_PACKED __attribute__((packed))
#define HTCW_PACK // TODO: Add Microsoft pack pragmas here
#define HTCW_RESTORE_PACK
#include <stddef.h>
#include <stdint.h>
#include <math.h>
#include <string.h>
namespace bits {
constexpr size_t ge... | 39.75442 | 116 | 0.568866 | codewitch-honey-crisis |
b42f149069056fa3deddef428d51171277ef5136 | 716 | cpp | C++ | 1101-9999/1300. Sum of Mutated Array Closest to Target.cpp | erichuang1994/leetcode-solution | d5b3bb3ce2a428a3108f7369715a3700e2ba699d | [
"MIT"
] | null | null | null | 1101-9999/1300. Sum of Mutated Array Closest to Target.cpp | erichuang1994/leetcode-solution | d5b3bb3ce2a428a3108f7369715a3700e2ba699d | [
"MIT"
] | null | null | null | 1101-9999/1300. Sum of Mutated Array Closest to Target.cpp | erichuang1994/leetcode-solution | d5b3bb3ce2a428a3108f7369715a3700e2ba699d | [
"MIT"
] | null | null | null | class Solution
{
public:
int findBestValue(vector<int> &arr, int target)
{
sort(arr.begin(), arr.end());
int len = arr.size();
int ret = INT_MIN;
int val = INT_MAX;
int preS = 0;
for (int i = 0; i < len && preS < target; preS += arr[i++])
{
int v = (target - preS) / (len - i);
... | 21.69697 | 63 | 0.423184 | erichuang1994 |
b430cc3920e634b3a23c83878801e7bbf701ba36 | 273 | cpp | C++ | Introductory Problems/weird.cpp | jahnavi-yelamanchi/cses-practice | d3bb152397758d4e51e1eb042c0a9886616cffad | [
"MIT"
] | null | null | null | Introductory Problems/weird.cpp | jahnavi-yelamanchi/cses-practice | d3bb152397758d4e51e1eb042c0a9886616cffad | [
"MIT"
] | null | null | null | Introductory Problems/weird.cpp | jahnavi-yelamanchi/cses-practice | d3bb152397758d4e51e1eb042c0a9886616cffad | [
"MIT"
] | null | null | null | #include<iostream>
using namespace std;
int main(){
long long int n;
cin>>n;
cout<<n<<" ";
while(n!=1){
if(n%2==0){
n/=2;
}
else{
n=n*3+1;
}
cout<<n<<" ";
}
cout<<endl;
return 0;
}
| 14.368421 | 21 | 0.373626 | jahnavi-yelamanchi |
b4317f747f0296f35957a78c1f50015b81efa053 | 1,248 | cpp | C++ | test/transducer/iter.cpp | Yohsi/zug | ec11ca4642c51eb07de76a5b4a3b90a675cc428e | [
"BSL-1.0"
] | 163 | 2019-11-19T20:58:55.000Z | 2022-03-07T10:30:10.000Z | test/transducer/iter.cpp | Yohsi/zug | ec11ca4642c51eb07de76a5b4a3b90a675cc428e | [
"BSL-1.0"
] | 26 | 2019-09-16T18:09:44.000Z | 2022-01-25T10:04:13.000Z | test/transducer/iter.cpp | Yohsi/zug | ec11ca4642c51eb07de76a5b4a3b90a675cc428e | [
"BSL-1.0"
] | 16 | 2019-09-08T15:22:18.000Z | 2022-02-11T20:33:04.000Z | //
// zug: transducers for C++
// Copyright (C) 2019 Juan Pedro Bolivar Puente
//
// This software is distributed under the Boost Software License, Version 1.0.
// See accompanying file LICENSE or copy at http://boost.org/LICENSE_1_0.txt
//
#include <catch2/catch.hpp>
#include <zug/into_vector.hpp>
#include <zug/tran... | 27.733333 | 78 | 0.578526 | Yohsi |
b432c1a01c6f22458b19fe89b7dc39d100c6168d | 4,252 | cpp | C++ | libs/resiliency/tests/performance/replay/async_replay_validate.cpp | McKillroy/hpx | f1bcb93f90a0b3c96e5fb3423028f0347f17f943 | [
"BSL-1.0"
] | null | null | null | libs/resiliency/tests/performance/replay/async_replay_validate.cpp | McKillroy/hpx | f1bcb93f90a0b3c96e5fb3423028f0347f17f943 | [
"BSL-1.0"
] | null | null | null | libs/resiliency/tests/performance/replay/async_replay_validate.cpp | McKillroy/hpx | f1bcb93f90a0b3c96e5fb3423028f0347f17f943 | [
"BSL-1.0"
] | null | null | null | // Copyright (c) 2019 National Technology & Engineering Solutions of Sandia,
// LLC (NTESS).
// Copyright (c) 2019 Nikunj Gupta
//
// SPDX-License-Identifier: BSL-1.0
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.bo... | 27.432258 | 82 | 0.592427 | McKillroy |
b434bcd502f5aa7b790c478c029ced2f052690ee | 14,034 | hpp | C++ | include/CL/sycl/group.hpp | GeorgeScrivener/hipSYCL | 9c822dace605962477a37ab4d4b2d518b666e779 | [
"BSD-2-Clause"
] | null | null | null | include/CL/sycl/group.hpp | GeorgeScrivener/hipSYCL | 9c822dace605962477a37ab4d4b2d518b666e779 | [
"BSD-2-Clause"
] | null | null | null | include/CL/sycl/group.hpp | GeorgeScrivener/hipSYCL | 9c822dace605962477a37ab4d4b2d518b666e779 | [
"BSD-2-Clause"
] | null | null | null | /*
* This file is part of hipSYCL, a SYCL implementation based on CUDA/HIP
*
* Copyright (c) 2018,2019 Aksel Alpay
* 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 o... | 28.180723 | 103 | 0.697663 | GeorgeScrivener |
b436110fe5df0216c89dc0735c46eecead209910 | 1,187 | hpp | C++ | include/Nazara/VulkanRenderer/VulkanWindowFramebuffer.hpp | jayrulez/NazaraEngine | e0310cd141f3cc11dbe8abfd5bfedf6b61de1a99 | [
"BSD-3-Clause-Clear",
"Apache-2.0",
"MIT"
] | 11 | 2019-11-27T00:40:43.000Z | 2020-01-29T14:31:52.000Z | include/Nazara/VulkanRenderer/VulkanWindowFramebuffer.hpp | jayrulez/NazaraEngine | e0310cd141f3cc11dbe8abfd5bfedf6b61de1a99 | [
"BSD-3-Clause-Clear",
"Apache-2.0",
"MIT"
] | 7 | 2019-11-27T00:29:08.000Z | 2020-01-08T18:53:39.000Z | include/Nazara/VulkanRenderer/VulkanWindowFramebuffer.hpp | jayrulez/NazaraEngine | e0310cd141f3cc11dbe8abfd5bfedf6b61de1a99 | [
"BSD-3-Clause-Clear",
"Apache-2.0",
"MIT"
] | 7 | 2019-11-27T10:27:40.000Z | 2020-01-15T17:43:33.000Z | // Copyright (C) 2022 Jérôme "Lynix" Leclercq (lynix680@gmail.com)
// This file is part of the "Nazara Engine - Vulkan renderer"
// For conditions of distribution and use, see copyright notice in Config.hpp
#pragma once
#ifndef NAZARA_VULKANRENDERER_VULKANWINDOWFRAMEBUFFER_HPP
#define NAZARA_VULKANRENDERER_VULKANWIND... | 32.972222 | 89 | 0.808762 | jayrulez |
b438109724b0e34362bd1b235dd12d8fd5bb8eec | 834 | cc | C++ | src/net/quic/crypto/chacha20_poly1305_encrypter.cc | acmd/GIT-TCC-LIBQUIC-ACMD | f100c1ff7b4c24ed2fbb3ae11d9516f6ce5ccc6d | [
"BSD-3-Clause"
] | 2 | 2019-01-28T08:09:58.000Z | 2021-11-15T15:32:10.000Z | net/quic/crypto/chacha20_poly1305_encrypter.cc | maidiHaitai/haitaibrowser | a232a56bcfb177913a14210e7733e0ea83a6b18d | [
"BSD-3-Clause"
] | null | null | null | net/quic/crypto/chacha20_poly1305_encrypter.cc | maidiHaitai/haitaibrowser | a232a56bcfb177913a14210e7733e0ea83a6b18d | [
"BSD-3-Clause"
] | 6 | 2020-09-23T08:56:12.000Z | 2021-11-18T03:40: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 "net/quic/crypto/chacha20_poly1305_encrypter.h"
#include <openssl/evp.h>
namespace net {
namespace {
const size_t kKeySize = 32;
const size_t... | 26.903226 | 73 | 0.689448 | acmd |
b43c90680b812c48a5138f2604ae13769cfaf26d | 14,627 | cpp | C++ | logdevice/common/test/ZookeeperClientInMemory.cpp | calebmarchent/LogDevice | 8c4181270548be3b7a0bf2df5c4aa632b56bfb52 | [
"BSD-3-Clause"
] | 1 | 2018-09-12T15:45:05.000Z | 2018-09-12T15:45:05.000Z | logdevice/common/test/ZookeeperClientInMemory.cpp | march-github/LogDevice | e32e9fd8337cfbe7861c5f78846d42a9abd82d96 | [
"BSD-3-Clause"
] | null | null | null | logdevice/common/test/ZookeeperClientInMemory.cpp | march-github/LogDevice | e32e9fd8337cfbe7861c5f78846d42a9abd82d96 | [
"BSD-3-Clause"
] | null | null | null | /**
* Copyright (c) 2017-present, Facebook, Inc. and its affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "logdevice/common/test/ZookeeperClientInMemory.h"
#include <iostream>
#includ... | 32.432373 | 80 | 0.564504 | calebmarchent |
b43cab1e0c92aa1358e663a29cceb202f2fd96a0 | 1,070 | hpp | C++ | SwapChain/Driver/OpenGL-DX/include/GL-DX/Win32/SwapChain.hpp | Gpinchon/OCRA | 341bb07facc616f1f8a27350054d1e86f022d7c6 | [
"Apache-2.0"
] | null | null | null | SwapChain/Driver/OpenGL-DX/include/GL-DX/Win32/SwapChain.hpp | Gpinchon/OCRA | 341bb07facc616f1f8a27350054d1e86f022d7c6 | [
"Apache-2.0"
] | null | null | null | SwapChain/Driver/OpenGL-DX/include/GL-DX/Win32/SwapChain.hpp | Gpinchon/OCRA | 341bb07facc616f1f8a27350054d1e86f022d7c6 | [
"Apache-2.0"
] | null | null | null | #pragma once
#include <GL-DX/SwapChain.hpp>
#include <memory>
namespace OCRA::WGLDX {
struct DeviceMapping;
struct TextureMapping;
}
namespace OCRA::SwapChain::Win32 {
struct D3DContainer;
}
namespace OCRA::SwapChain::Win32
{
struct Impl : SwapChain::Impl
{
Impl(const Device::Handle& a_Device, const Info& a_In... | 29.722222 | 77 | 0.638318 | Gpinchon |
b43d314af259add733e7e234f6aa2a01c530436e | 7,179 | cpp | C++ | src/vi_estimator/landmark_database.cpp | fkgkdfgy/BASALT_NOTED | 4bdcf05fd530f38b0ee3564843b5559bef9aedcf | [
"BSD-3-Clause"
] | 1 | 2022-01-21T06:39:07.000Z | 2022-01-21T06:39:07.000Z | src/vi_estimator/landmark_database.cpp | fkgkdfgy/BASALT_NOTED | 4bdcf05fd530f38b0ee3564843b5559bef9aedcf | [
"BSD-3-Clause"
] | null | null | null | src/vi_estimator/landmark_database.cpp | fkgkdfgy/BASALT_NOTED | 4bdcf05fd530f38b0ee3564843b5559bef9aedcf | [
"BSD-3-Clause"
] | null | null | null | /**
BSD 3-Clause License
This file is part of the Basalt project.
https://gitlab.com/VladyslavUsenko/basalt.git
Copyright (c) 2019, Vladyslav Usenko and Nikolaus Demmel.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following con... | 29.422131 | 80 | 0.65998 | fkgkdfgy |
b43e08efc00d142d7b943acc074bd0b8821573d8 | 71,554 | cpp | C++ | LosTopos/LosTopos3D/dynamicsurface.cpp | xchern/MultiTracker | 06cdad3e1b2e24f1a87de07f64b9aab2807b129e | [
"BSD-2-Clause"
] | 3 | 2017-10-31T20:51:12.000Z | 2020-12-18T15:56:40.000Z | LosTopos/LosTopos3D/dynamicsurface.cpp | xchern/MultiTracker | 06cdad3e1b2e24f1a87de07f64b9aab2807b129e | [
"BSD-2-Clause"
] | null | null | null | LosTopos/LosTopos3D/dynamicsurface.cpp | xchern/MultiTracker | 06cdad3e1b2e24f1a87de07f64b9aab2807b129e | [
"BSD-2-Clause"
] | 3 | 2018-03-19T12:29:31.000Z | 2020-12-22T12:04:46.000Z | // ---------------------------------------------------------
//
// dynamicsurface.cpp
// Tyson Brochu 2008
// Christopher Batty, Fang Da 2014
//
// A triangle mesh with associated vertex locations and masses. Query functions for getting geometry info.
//
// --------------------------------------------------------... | 36.138384 | 172 | 0.513375 | xchern |
b43e84755b7fe46a22bbbbb2fea680de0fc1c341 | 882 | cpp | C++ | src/13_1_resampling.cpp | liwind/PCL_Example | 9f807412ecf8110e0e05d5f41df31335a1c7d4ae | [
"MIT"
] | 2 | 2019-12-05T15:05:11.000Z | 2021-04-17T09:15:04.000Z | src/13_1_resampling.cpp | liwind/PCL_Example | 9f807412ecf8110e0e05d5f41df31335a1c7d4ae | [
"MIT"
] | null | null | null | src/13_1_resampling.cpp | liwind/PCL_Example | 9f807412ecf8110e0e05d5f41df31335a1c7d4ae | [
"MIT"
] | 2 | 2019-12-05T15:05:15.000Z | 2021-04-18T01:57:24.000Z | #include <pcl/point_types.h>
#include <pcl/io/pcd_io.h>
#include <pcl/kdtree/kdtree_flann.h>
#include <pcl/surface/mls.h>
int main(int argc, char** argv)
{
pcl::PointCloud<pcl::PointXYZ>::Ptr cloud(new pcl::PointCloud<pcl::PointXYZ>());
// load a test pcd file
pcl::io::loadPCDFile<pcl::PointXYZ>("../data/bun0.pcd",... | 30.413793 | 86 | 0.718821 | liwind |
b44197047a726af3414e1eb6dc3bf68202aaf206 | 10,302 | cpp | C++ | .vim/sourceCode/opencv-2.4.5/modules/imgproc/src/sumpixels.cpp | lakehui/Vim_config | 6cab80dc1209b34bf6379f42b1a92790bd0c146b | [
"MIT"
] | 3 | 2015-08-29T06:56:58.000Z | 2016-11-15T10:35:59.000Z | .vim/sourceCode/opencv-2.4.5/modules/imgproc/src/sumpixels.cpp | lakehui/Vim_config | 6cab80dc1209b34bf6379f42b1a92790bd0c146b | [
"MIT"
] | null | null | null | .vim/sourceCode/opencv-2.4.5/modules/imgproc/src/sumpixels.cpp | lakehui/Vim_config | 6cab80dc1209b34bf6379f42b1a92790bd0c146b | [
"MIT"
] | null | null | null | /*M///////////////////////////////////////////////////////////////////////////////////////
//
// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
//
// By downloading, copying, installing or using the software you agree to this license.
// If you do not agree to this license, do not download, instal... | 33.232258 | 110 | 0.508639 | lakehui |
b441b17d1cf9f556ac13fe57f7fe41ad65bca41e | 1,103 | cpp | C++ | Source/ui_qt/GSH_OpenGLQt.cpp | Hirato/Play- | 427deebbdc1a377411128bee6539860fc529b06a | [
"BSD-2-Clause"
] | 1 | 2021-04-14T07:36:01.000Z | 2021-04-14T07:36:01.000Z | Source/ui_qt/GSH_OpenGLQt.cpp | Hirato/Play- | 427deebbdc1a377411128bee6539860fc529b06a | [
"BSD-2-Clause"
] | 2 | 2019-05-21T17:54:25.000Z | 2019-05-21T20:19:54.000Z | Source/ui_qt/GSH_OpenGLQt.cpp | boberto5888/Play- | ee1586c9ec4f249e2030e5467af9bcd9567d8e1a | [
"BSD-2-Clause"
] | 6 | 2020-06-04T15:19:21.000Z | 2020-06-18T07:29:53.000Z | #if !defined(GLES_COMPATIBILITY)
#include "GSH_OpenGLQt.h"
#endif
#include <QWindow>
#include <QOpenGLContext>
#if defined(GLES_COMPATIBILITY)
#include "GSH_OpenGLQt.h"
#endif
CGSH_OpenGLQt::CGSH_OpenGLQt(QWindow* renderWindow)
: m_renderWindow(renderWindow)
{
}
CGSH_OpenGL::FactoryFunction CGSH_OpenGLQt::GetFa... | 19.350877 | 85 | 0.765186 | Hirato |
b441e47a2e2c605c0e0ca1e87b8018b54f7bc934 | 2,659 | hpp | C++ | miopengemm/include/miopengemm/basegenerator.hpp | pruthvistony/MIOpenGEMM | 8f844e134d54244a6138504a4190486d8702e8fd | [
"MIT"
] | 52 | 2017-06-30T06:45:19.000Z | 2021-11-04T01:53:48.000Z | miopengemm/include/miopengemm/basegenerator.hpp | pruthvistony/MIOpenGEMM | 8f844e134d54244a6138504a4190486d8702e8fd | [
"MIT"
] | 31 | 2017-08-01T03:17:25.000Z | 2022-03-22T18:19:41.000Z | miopengemm/include/miopengemm/basegenerator.hpp | pruthvistony/MIOpenGEMM | 8f844e134d54244a6138504a4190486d8702e8fd | [
"MIT"
] | 23 | 2017-07-17T02:09:17.000Z | 2021-11-10T00:38:19.000Z | /*******************************************************************************
* Copyright (C) 2017 Advanced Micro Devices, Inc. All rights reserved.
*******************************************************************************/
#ifndef GUARD_MIOPENGEMM_BASEGENERATOR_HPP
#define GUARD_MIOPENGEMM_BASEGENERATOR_HPP... | 26.858586 | 81 | 0.573148 | pruthvistony |
b44256dae9c643908322a20c2a58bb918fdc0921 | 1,333 | cpp | C++ | shootermain/BlackHole.cpp | RobLach/Red-Girder | a4364597ba790a38184ed07348b1c586e1e766fe | [
"MIT"
] | null | null | null | shootermain/BlackHole.cpp | RobLach/Red-Girder | a4364597ba790a38184ed07348b1c586e1e766fe | [
"MIT"
] | null | null | null | shootermain/BlackHole.cpp | RobLach/Red-Girder | a4364597ba790a38184ed07348b1c586e1e766fe | [
"MIT"
] | null | null | null | #include "stdafx.h"
#include "BlackHole.h"
#include "Depth.h"
#include "ShooterState.h"
#include "Parser.h"
extern Parser entityConfig;
void BlackHole::tick(float deltaT){
// Move around.
twitch += deltaT*0.1;
pos = Vector2(5.9, 4.2)+Vector2(sin(twitch*11), cos(twitch*5))*0.1;
collider.setTranslation(pos.x, pos.... | 18.260274 | 78 | 0.683421 | RobLach |
b4466bbaee32f2a0c2f57e446d5b479ad37828d1 | 1,950 | hpp | C++ | Siv3D/src/Siv3D-Platform/WindowsDesktop/Siv3D/Renderer/D3D11/BackBuffer/D3D11InternalTexture2D.hpp | ichi-raven/OpenSiv3D | 2354bbaede17d43488fc2676ff7f034420ac14ee | [
"MIT"
] | null | null | null | Siv3D/src/Siv3D-Platform/WindowsDesktop/Siv3D/Renderer/D3D11/BackBuffer/D3D11InternalTexture2D.hpp | ichi-raven/OpenSiv3D | 2354bbaede17d43488fc2676ff7f034420ac14ee | [
"MIT"
] | null | null | null | Siv3D/src/Siv3D-Platform/WindowsDesktop/Siv3D/Renderer/D3D11/BackBuffer/D3D11InternalTexture2D.hpp | ichi-raven/OpenSiv3D | 2354bbaede17d43488fc2676ff7f034420ac14ee | [
"MIT"
] | null | null | null | //-----------------------------------------------
//
// This file is part of the Siv3D Engine.
//
// Copyright (c) 2008-2021 Ryo Suzuki
// Copyright (c) 2016-2021 OpenSiv3D Project
//
// Licensed under the MIT License.
//
//-----------------------------------------------
# pragma once
# include <Siv3D/Common.hpp>
# i... | 22.941176 | 117 | 0.706154 | ichi-raven |
b4469aa99389693002c3c6328049621fd6ae55a4 | 3,724 | cpp | C++ | opencl/test/unit_test/command_queue/enqueue_command_without_kernel_tests_dg2_and_later.cpp | mattcarter2017/compute-runtime | 1f52802aac02c78c19d5493dd3a2402830bbe438 | [
"Intel",
"MIT"
] | null | null | null | opencl/test/unit_test/command_queue/enqueue_command_without_kernel_tests_dg2_and_later.cpp | mattcarter2017/compute-runtime | 1f52802aac02c78c19d5493dd3a2402830bbe438 | [
"Intel",
"MIT"
] | null | null | null | opencl/test/unit_test/command_queue/enqueue_command_without_kernel_tests_dg2_and_later.cpp | mattcarter2017/compute-runtime | 1f52802aac02c78c19d5493dd3a2402830bbe438 | [
"Intel",
"MIT"
] | null | null | null | /*
* Copyright (C) 2021-2022 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "shared/source/os_interface/os_context.h"
#include "shared/test/common/helpers/debug_manager_state_restore.h"
#include "shared/test/common/mocks/mock_graphics_allocation.h"
#include "shared/test/common/mocks/mock_timesta... | 51.722222 | 203 | 0.79565 | mattcarter2017 |
b446e132c637d27c967af805d20e4272f6cebc00 | 2,898 | cc | C++ | src/subprocess_test.cc | ascherkus/ninja | 17a0335519638e3f821d38172d104bfad62eb01c | [
"Apache-2.0"
] | 1 | 2017-12-22T10:22:05.000Z | 2017-12-22T10:22:05.000Z | src/subprocess_test.cc | ascherkus/ninja | 17a0335519638e3f821d38172d104bfad62eb01c | [
"Apache-2.0"
] | null | null | null | src/subprocess_test.cc | ascherkus/ninja | 17a0335519638e3f821d38172d104bfad62eb01c | [
"Apache-2.0"
] | null | null | null | // Copyright 2011 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... | 24.982759 | 75 | 0.675983 | ascherkus |
b448be507d21d0ccb1fad709deb00a7fc0e92ace | 565 | cpp | C++ | Wave Patterns/wavepattern8.cpp | Kajal13081/CPlusPlus-PatternHouse | 257270f9b01e099f9c13f5bde39f07172f5474c0 | [
"MIT"
] | 4 | 2021-09-21T03:43:26.000Z | 2022-01-07T03:07:56.000Z | Wave Patterns/wavepattern8.cpp | Kajal13081/CPlusPlus-PatternHouse | 257270f9b01e099f9c13f5bde39f07172f5474c0 | [
"MIT"
] | 916 | 2021-09-01T15:40:24.000Z | 2022-01-10T17:57:59.000Z | Wave Patterns/wavepattern8.cpp | Kajal13081/CPlusPlus-PatternHouse | 257270f9b01e099f9c13f5bde39f07172f5474c0 | [
"MIT"
] | 20 | 2021-09-30T18:13:58.000Z | 2022-01-06T09:55:36.000Z | #include <iostream>
using namespace std;
int main(){
int n=4;
int height=n-1, length=n, pc=n-1;
char ch='/';
for(int i=0; i<height+1; i++){
for(int j=0; j<(2*height*length) +1; j++){
if ((j % (height * 2) == pc) || (j % (height * 2) == height + i)){
cou... | 21.730769 | 79 | 0.313274 | Kajal13081 |
b449a50e08fe0411c389fb43fe150b64f05b0cb6 | 1,704 | cpp | C++ | Engine/Renderer/OpenGL/Components/GLFrameBuffer.cpp | MadLadSquad/UntitledVulkanGameEngine | e7d41ab7fe6e104ad4aed6363cb384032ff6c184 | [
"MIT"
] | 16 | 2020-12-13T09:38:04.000Z | 2022-03-20T14:33:55.000Z | Engine/Renderer/OpenGL/Components/GLFrameBuffer.cpp | MadLadSquad/UntitledVulkanGameEngine | e7d41ab7fe6e104ad4aed6363cb384032ff6c184 | [
"MIT"
] | 8 | 2020-12-25T14:49:41.000Z | 2021-08-25T01:21:53.000Z | Engine/Renderer/OpenGL/Components/GLFrameBuffer.cpp | MadLadSquad/UntitledVulkanGameEngine | e7d41ab7fe6e104ad4aed6363cb384032ff6c184 | [
"MIT"
] | 4 | 2021-04-05T13:19:53.000Z | 2022-03-18T10:56:35.000Z | // GLFrameBuffer.cpp
// Last update 2/9/2021 by Madman10K
#include <GL/glew.h>
#include "GLFrameBuffer.hpp"
UVK::GLFrameBuffer::GLFrameBuffer(int width, int height)
{
init(width, height);
}
uint32_t UVK::GLFrameBuffer::getFramebuffer() const
{
return FBO;
}
uint32_t UVK::GLFrameBuffer::getFramebufferTexture(... | 28.881356 | 103 | 0.762324 | MadLadSquad |
b44b1abf412b666cb8ab3ae4b4036a7cb845d363 | 12,261 | hpp | C++ | src/MetaInfo.hpp | evanova/libdgmpp | 867dc081b8dc474b396481ae1b92283affc858d3 | [
"MIT"
] | 4 | 2018-05-07T16:47:27.000Z | 2021-05-17T13:38:18.000Z | src/MetaInfo.hpp | evanova/libdgmpp | 867dc081b8dc474b396481ae1b92283affc858d3 | [
"MIT"
] | null | null | null | src/MetaInfo.hpp | evanova/libdgmpp | 867dc081b8dc474b396481ae1b92283affc858d3 | [
"MIT"
] | null | null | null | //
// MetaInfo.hpp
// dgmpp
//
// Created by Artem Shimanski on 10.11.2017.
//
#pragma once
#include "Utility.hpp"
#include <array>
namespace dgmpp {
namespace MetaInfo {
struct Attribute {
AttributeID attributeID;
AttributeID maxAttributeID;
Float defaultValue;
bool isStackable;
bool hig... | 31.119289 | 207 | 0.695376 | evanova |
b44bb9531c48aee63b8ab1857926bf6d8db8786c | 1,993 | cpp | C++ | src/mtf1_codec.cpp | HorstBaerbel/compress | 4eb3fcc38731ae43a80eb4dcb606893a16f0cdc2 | [
"BSD-2-Clause"
] | 1 | 2018-07-04T13:21:58.000Z | 2018-07-04T13:21:58.000Z | src/mtf1_codec.cpp | HorstBaerbel/compress | 4eb3fcc38731ae43a80eb4dcb606893a16f0cdc2 | [
"BSD-2-Clause"
] | null | null | null | src/mtf1_codec.cpp | HorstBaerbel/compress | 4eb3fcc38731ae43a80eb4dcb606893a16f0cdc2 | [
"BSD-2-Clause"
] | null | null | null | #include "mtf1_codec.h"
#include <array>
#include <numeric>
const uint8_t Mtf1::CodecIdentifier = 50;
uint8_t Mtf1::codecIdentifier() const
{
return CodecIdentifier;
}
std::string Mtf1::codecName() const
{
return "Move-to-front-1";
}
Mtf1 * Mtf1::Create()
{
return new Mtf1();
}
std::vector<uint8_t> Mtf1::enco... | 24.9125 | 77 | 0.65429 | HorstBaerbel |
b44d3aa69ce95c518ed61dafb9d57ff4b4156551 | 16,149 | cpp | C++ | vstgui/uidescription/uiviewfactory.cpp | raygit83/vstgui_keyboard_focus | 2639e602f51f7e4e3c4b9a41b6a3a93c96d26157 | [
"Unlicense"
] | null | null | null | vstgui/uidescription/uiviewfactory.cpp | raygit83/vstgui_keyboard_focus | 2639e602f51f7e4e3c4b9a41b6a3a93c96d26157 | [
"Unlicense"
] | null | null | null | vstgui/uidescription/uiviewfactory.cpp | raygit83/vstgui_keyboard_focus | 2639e602f51f7e4e3c4b9a41b6a3a93c96d26157 | [
"Unlicense"
] | null | null | null | // This file is part of VSTGUI. It is subject to the license terms
// in the LICENSE file found in the top-level directory of this
// distribution and at http://github.com/steinbergmedia/vstgui/LICENSE
#include "uiviewfactory.h"
#include "uiattributes.h"
#include "../lib/cview.h"
#include "../lib/cstring.h"
#include "... | 34.803879 | 171 | 0.641154 | raygit83 |
b44e8cf7ff0f1b67e1b467a23d3c51e4ce7b1eaf | 2,215 | cc | C++ | benchmark/post_task/post_task6.cc | chengchenwish/evpp | 750f87eb7c0f0313c85e280f41ba0f424ad455ce | [
"BSD-3-Clause"
] | 3,189 | 2017-03-04T02:56:39.000Z | 2022-03-31T16:06:08.000Z | benchmark/post_task/post_task6.cc | chengchenwish/evpp | 750f87eb7c0f0313c85e280f41ba0f424ad455ce | [
"BSD-3-Clause"
] | 259 | 2017-03-07T02:01:25.000Z | 2022-03-27T09:16:19.000Z | benchmark/post_task/post_task6.cc | chengchenwish/evpp | 750f87eb7c0f0313c85e280f41ba0f424ad455ce | [
"BSD-3-Clause"
] | 990 | 2017-03-06T03:55:43.000Z | 2022-03-24T10:50:18.000Z | #include <evpp/event_loop.h>
#include <evpp/event_loop_thread_pool.h>
#include "examples/winmain-inl.h"
uint64_t clock_us() {
return std::chrono::steady_clock::now().time_since_epoch().count() / 1000;
}
class PostTask {
public:
PostTask(int thread_count, uint64_t post_count)
: thread_count_(thread_co... | 25.170455 | 141 | 0.52009 | chengchenwish |
b454092acd290d5cc0f0b677a4ce3a4753aef845 | 1,531 | cpp | C++ | src/Time.cpp | geoffviola/time_prototype | bf0d6b9bedfd99a218ae1a7f0153029b9cfe9d80 | [
"Apache-2.0"
] | null | null | null | src/Time.cpp | geoffviola/time_prototype | bf0d6b9bedfd99a218ae1a7f0153029b9cfe9d80 | [
"Apache-2.0"
] | null | null | null | src/Time.cpp | geoffviola/time_prototype | bf0d6b9bedfd99a218ae1a7f0153029b9cfe9d80 | [
"Apache-2.0"
] | null | null | null | #include <chrono>
#include "time/Time.hpp"
namespace framework
{
using std::chrono::nanoseconds;
using std::chrono::steady_clock;
using std::chrono::time_point;
Time::Time(rclcpp::node::Node::SharedPtr node)
: receivedFirstClockMsg(false)
, sub(node->create_subscription<builtin_interfaces::msg::Time>(
... | 27.836364 | 96 | 0.698236 | geoffviola |
b4543132d684c2888beb177c114c35b3515fda33 | 285 | hh | C++ | src/Zynga/Framework/Service/V2/Test/Router/Mock.hh | chintan-j-patel/zynga-hacklang-framework | d9893b8873e3c8c7223772fd3c94d2531760172a | [
"MIT"
] | 19 | 2018-04-23T09:30:48.000Z | 2022-03-06T21:35:18.000Z | src/Zynga/Framework/Service/V2/Test/Router/Mock.hh | chintan-j-patel/zynga-hacklang-framework | d9893b8873e3c8c7223772fd3c94d2531760172a | [
"MIT"
] | 22 | 2017-11-27T23:39:25.000Z | 2019-08-09T08:56:57.000Z | src/Zynga/Framework/Service/V2/Test/Router/Mock.hh | chintan-j-patel/zynga-hacklang-framework | d9893b8873e3c8c7223772fd3c94d2531760172a | [
"MIT"
] | 28 | 2017-11-16T20:53:56.000Z | 2021-01-04T11:13:17.000Z | <?hh // strict
namespace Zynga\Framework\Service\V2\Test\Router;
use Zynga\Framework\Service\V2\Router\Base as ServiceRouterBase;
class Mock extends ServiceRouterBase {
public function getClassBase(): string {
return 'Zynga\Framework\Service\V2\Test\Router\Services';
}
}
| 20.357143 | 64 | 0.761404 | chintan-j-patel |
b4560ee1571e2c852eef996da7697d1c7bc7275b | 9,115 | cpp | C++ | scopeprotocols/DownconvertFilter.cpp | mandl/scopehal | d70961d15513cd3a10ebd140415ba309ca3381fc | [
"BSD-3-Clause"
] | null | null | null | scopeprotocols/DownconvertFilter.cpp | mandl/scopehal | d70961d15513cd3a10ebd140415ba309ca3381fc | [
"BSD-3-Clause"
] | null | null | null | scopeprotocols/DownconvertFilter.cpp | mandl/scopehal | d70961d15513cd3a10ebd140415ba309ca3381fc | [
"BSD-3-Clause"
] | null | null | null | /***********************************************************************************************************************
* *
* libscopeprotocols ... | 40.154185 | 120 | 0.541306 | mandl |
b45e6f4a5fe3296caade6a5dd37a7ac60b14d7f3 | 770 | cpp | C++ | src/r3fg/r3fgros.cpp | sdsonawani/irl_robots | f393fd4ad37e3016062b9f719407d2b56b2159b6 | [
"MIT"
] | null | null | null | src/r3fg/r3fgros.cpp | sdsonawani/irl_robots | f393fd4ad37e3016062b9f719407d2b56b2159b6 | [
"MIT"
] | null | null | null | src/r3fg/r3fgros.cpp | sdsonawani/irl_robots | f393fd4ad37e3016062b9f719407d2b56b2159b6 | [
"MIT"
] | null | null | null | #include "r3fgros.h"
#include "r3fgnetwork.h"
R3FGRos::R3FGRos(ros::NodeHandle* _rn, R3FGNetwork* _n) :
m_ros_node(_rn),
m_gripper_net(_n)
{
m_sub_control = m_ros_node->subscribe("/r3fg/control", 1, &R3FGRos::callbackGripperControl, this);
m_sub_control2 = m_ros_node->subscribe("/r3fg/simplecontrol", 1, &R3FG... | 22 | 106 | 0.736364 | sdsonawani |
b45e91658e9b8ae72a6a4e112f9fcc706fea51d4 | 183 | cpp | C++ | Source/FSD/Private/DroneDisplayActionComponent.cpp | Dr-Turtle/DRG_ModPresetManager | abd7ff98a820969504491a1fe68cf2f9302410dc | [
"MIT"
] | 8 | 2021-07-10T20:06:05.000Z | 2022-03-04T19:03:50.000Z | Source/FSD/Private/DroneDisplayActionComponent.cpp | Dr-Turtle/DRG_ModPresetManager | abd7ff98a820969504491a1fe68cf2f9302410dc | [
"MIT"
] | 9 | 2022-01-13T20:49:44.000Z | 2022-03-27T22:56:48.000Z | Source/FSD/Private/DroneDisplayActionComponent.cpp | Dr-Turtle/DRG_ModPresetManager | abd7ff98a820969504491a1fe68cf2f9302410dc | [
"MIT"
] | 2 | 2021-07-10T20:05:42.000Z | 2022-03-14T17:05:35.000Z | #include "DroneDisplayActionComponent.h"
void UDroneDisplayActionComponent::SetMode(EDroneActions droneAction) {
}
UDroneDisplayActionComponent::UDroneDisplayActionComponent() {
}
| 20.333333 | 71 | 0.84153 | Dr-Turtle |
b46187a9ccc9a3e5bd9bd79d9871c9268136235b | 4,717 | hpp | C++ | Systems/Content/ContentComposition.hpp | jodavis42/ZeroPhysicsTestbed | e84a3f6faf16b7a4242dc049121b5338e80039f8 | [
"MIT"
] | 1 | 2022-03-26T21:08:19.000Z | 2022-03-26T21:08:19.000Z | Systems/Content/ContentComposition.hpp | jodavis42/ZeroPhysicsTestbed | e84a3f6faf16b7a4242dc049121b5338e80039f8 | [
"MIT"
] | null | null | null | Systems/Content/ContentComposition.hpp | jodavis42/ZeroPhysicsTestbed | e84a3f6faf16b7a4242dc049121b5338e80039f8 | [
"MIT"
] | null | null | null | ///////////////////////////////////////////////////////////////////////////////
///
/// \file ContentComposition.hpp
///
///
/// Authors: Chris Peters
/// Copyright 2011, DigiPen Institute of Technology
///
///////////////////////////////////////////////////////////////////////////////
#pragma once
namesp... | 34.940741 | 111 | 0.698961 | jodavis42 |
b464f8bf5574e2a43777c11819698b7fc0eb5533 | 1,490 | cpp | C++ | Code/Engine/Allocators/TrackedAllocator.cpp | pronaypeddiraju/Engine | 0ca9720a00f51340c6eb6bba07d70972489663e8 | [
"Unlicense"
] | 1 | 2021-01-25T23:53:44.000Z | 2021-01-25T23:53:44.000Z | Code/Engine/Allocators/TrackedAllocator.cpp | pronaypeddiraju/Engine | 0ca9720a00f51340c6eb6bba07d70972489663e8 | [
"Unlicense"
] | null | null | null | Code/Engine/Allocators/TrackedAllocator.cpp | pronaypeddiraju/Engine | 0ca9720a00f51340c6eb6bba07d70972489663e8 | [
"Unlicense"
] | 1 | 2021-01-25T23:53:46.000Z | 2021-01-25T23:53:46.000Z | #include "Engine/Allocators/TrackedAllocator.hpp"
//------------------------------------------------------------------------------------------------------------------------------
static TrackedAllocator* gTrackedAllocator = nullptr;
//------------------------------------------------------------------------------------... | 31.041667 | 128 | 0.365101 | pronaypeddiraju |
b46752ac9670cd1c20f2d84ca8ae22e127ba9916 | 3,715 | hpp | C++ | ql/errors.hpp | SoftwareIngenieur/QuantLib | 7a59dd749869f7a679536df322482bf9c6531d38 | [
"BSD-3-Clause"
] | null | null | null | ql/errors.hpp | SoftwareIngenieur/QuantLib | 7a59dd749869f7a679536df322482bf9c6531d38 | [
"BSD-3-Clause"
] | null | null | null | ql/errors.hpp | SoftwareIngenieur/QuantLib | 7a59dd749869f7a679536df322482bf9c6531d38 | [
"BSD-3-Clause"
] | null | null | null | /* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
Copyright (C) 2000, 2001, 2002, 2003 RiskMap srl
Copyright (C) 2003, 2004, 2005 StatPro Italia srl
This file is part of QuantLib, a free-software/open-source library
for financial quantitative analysts and developers - http://quant... | 29.251969 | 79 | 0.671602 | SoftwareIngenieur |
b470243f726a7f71d98b5e59916dd4fa8cf1e68d | 6,108 | cxx | C++ | src/runtime_src/core/pcie/emulation/hw_em/generic_pcie_hal2/debug.cxx | venkatp36/XRT | 3d059992446fdfbc35f2e6b6882f79c212873fb1 | [
"Apache-2.0"
] | 1 | 2019-08-06T00:14:50.000Z | 2019-08-06T00:14:50.000Z | src/runtime_src/core/pcie/emulation/hw_em/generic_pcie_hal2/debug.cxx | venkatp36/XRT | 3d059992446fdfbc35f2e6b6882f79c212873fb1 | [
"Apache-2.0"
] | 20 | 2018-10-03T23:01:00.000Z | 2019-05-10T22:57:57.000Z | src/runtime_src/core/pcie/emulation/hw_em/generic_pcie_hal2/debug.cxx | venkatp36/XRT | 3d059992446fdfbc35f2e6b6882f79c212873fb1 | [
"Apache-2.0"
] | 3 | 2019-07-26T04:39:35.000Z | 2019-08-05T17:53:40.000Z | /**
* Copyright (C) 2016-2017 Xilinx, Inc
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may
* not use this file except in compliance with the License. A copy of the
* License is located at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | 38.658228 | 128 | 0.667649 | venkatp36 |
b4730261fbdeb481a39dc42d7c739b8c2d31f891 | 12,802 | cpp | C++ | .examples/example_sfml_no_include.cpp | KMH19/greenhouse_project | 8d22383459996d98a7b968e7162e9fafe4e0051d | [
"MIT"
] | null | null | null | .examples/example_sfml_no_include.cpp | KMH19/greenhouse_project | 8d22383459996d98a7b968e7162e9fafe4e0051d | [
"MIT"
] | null | null | null | .examples/example_sfml_no_include.cpp | KMH19/greenhouse_project | 8d22383459996d98a7b968e7162e9fafe4e0051d | [
"MIT"
] | null | null | null | #include <vector>
#include <iostream>
#include <thread>
#include <chrono>
#include "climate_change.h"
#include "hard_states.h"
#include "tomato_plant.h"
#include "cucumber_plant.h"
#include <SFML/Graphics.hpp>
#include "imgui.h"
#include "imgui-SFML.h"
Greenhouses::tomatoPlant tp_1;
Greenhouses::tomatoPlant tp_2;
G... | 36.472934 | 123 | 0.57077 | KMH19 |
b47775ae9f89870a8f39b1790f55c83020a3d7e9 | 653 | cpp | C++ | example/example.cpp | jmscreation/libquicksynth | c8685d3381347f72c4c8fa638f1f01a85bde4628 | [
"MIT"
] | null | null | null | example/example.cpp | jmscreation/libquicksynth | c8685d3381347f72c4c8fa638f1f01a85bde4628 | [
"MIT"
] | null | null | null | example/example.cpp | jmscreation/libquicksynth | c8685d3381347f72c4c8fa638f1f01a85bde4628 | [
"MIT"
] | null | null | null | // CPP Implementation
#include <thread>
#include <chrono>
#include "quick_synth.h"
int main() {
QuickSynth tts;
tts.TextToSpeech("This is a test!", "kal16");
tts.TextToSpeech("Additional Text");
tts.WaitForSynth();
tts.TextToSpeech("This is amazing", "kal16");
tts.WaitForSynth();
tts.Tex... | 24.185185 | 101 | 0.661562 | jmscreation |
b4791d0002e5fa5bff44ba27be635ead36283916 | 7,091 | cpp | C++ | StuFW/src/lcd/menu/menu_info.cpp | onekk/StuFW | 9dd7cd41c0cec2749ded8d1d97b7f9fcaa61489b | [
"RSA-MD"
] | 1 | 2020-12-30T21:45:12.000Z | 2020-12-30T21:45:12.000Z | StuFW/src/lcd/menu/menu_info.cpp | onekk/StuFW | 9dd7cd41c0cec2749ded8d1d97b7f9fcaa61489b | [
"RSA-MD"
] | 1 | 2020-08-24T16:17:25.000Z | 2020-08-24T16:17:25.000Z | StuFW/src/lcd/menu/menu_info.cpp | onekk/StuFW | 9dd7cd41c0cec2749ded8d1d97b7f9fcaa61489b | [
"RSA-MD"
] | null | null | null | /**
* StuFW Firmware for 3D Printer
*
* Based on MK4duo, Marlin, Sprinter and grbl
* Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm
* Copyright (C) 2013 Alberto Cotronei @MagoKimbra
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Pu... | 33.606635 | 98 | 0.689042 | onekk |
b47bec39762779cebf1e4375947b253e29379848 | 839 | cpp | C++ | serverplugin/dbp/db/DbMySQLConnection.cpp | shrewdlin/BPE | cf29647479b1b8ed53afadaf70557387f4c07e16 | [
"BSD-3-Clause"
] | 1 | 2016-07-12T06:00:37.000Z | 2016-07-12T06:00:37.000Z | serverplugin/dbp/db/DbMySQLConnection.cpp | shrewdlin/BPE | cf29647479b1b8ed53afadaf70557387f4c07e16 | [
"BSD-3-Clause"
] | null | null | null | serverplugin/dbp/db/DbMySQLConnection.cpp | shrewdlin/BPE | cf29647479b1b8ed53afadaf70557387f4c07e16 | [
"BSD-3-Clause"
] | 2 | 2016-09-06T07:59:09.000Z | 2020-12-12T03:25:24.000Z |
#include "DbMySQLConnection.h"
CMysqlDbConnection::CMysqlDbConnection()
{
}
CMysqlDbConnection::~CMysqlDbConnection()
{
}
bool CMysqlDbConnection::CheckDbConnect()
{
session_backend* pBackEnd = dbsession.get_backend();
if(!pBackEnd)
{
m_bIsConnected = false;
SV_XLOG(XLOG_WARNING,"CMysqlDbConnection::%s,C... | 19.511628 | 84 | 0.753278 | shrewdlin |
b47c2681fcabf0d87c669359dcf0755218f514af | 5,158 | cpp | C++ | Code/Engine/GameEngine/Gameplay/Implementation/AreaDamageComponent.cpp | fereeh/ezEngine | 14e46cb2a1492812888602796db7ddd66e2b7110 | [
"MIT"
] | null | null | null | Code/Engine/GameEngine/Gameplay/Implementation/AreaDamageComponent.cpp | fereeh/ezEngine | 14e46cb2a1492812888602796db7ddd66e2b7110 | [
"MIT"
] | null | null | null | Code/Engine/GameEngine/Gameplay/Implementation/AreaDamageComponent.cpp | fereeh/ezEngine | 14e46cb2a1492812888602796db7ddd66e2b7110 | [
"MIT"
] | null | null | null | #include <GameEnginePCH.h>
#include <Core/WorldSerializer/WorldReader.h>
#include <Core/WorldSerializer/WorldWriter.h>
#include <Foundation/Serialization/AbstractObjectGraph.h>
#include <GameEngine/Gameplay/AreaDamageComponent.h>
#include <GameEngine/Interfaces/PhysicsWorldModule.h>
#include <GameEngine/Messages/Damag... | 29.815029 | 159 | 0.714618 | fereeh |
b47ca9b1d1630b2b313e944f25b45608152a909d | 727 | hpp | C++ | src/application.hpp | vantonyy/Consumer-Producer | b17d382eccd26da4c31c05ffe559670e0d3ab07b | [
"MIT"
] | null | null | null | src/application.hpp | vantonyy/Consumer-Producer | b17d382eccd26da4c31c05ffe559670e0d3ab07b | [
"MIT"
] | null | null | null | src/application.hpp | vantonyy/Consumer-Producer | b17d382eccd26da4c31c05ffe559670e0d3ab07b | [
"MIT"
] | null | null | null | #ifndef APPLICATION_HPP
#define APPLICATION_HPP
#include "options.hpp"
#include <cassert>
#include <string>
#include <vector>
namespace consumerProducer {
//@class application
class application
{
public:
application(const application&) = delete;
application& operator=(const application&) = delete;... | 20.194444 | 54 | 0.72077 | vantonyy |
b47ee0251662295d4f4330f4cf69ab0c57b61f06 | 7,636 | cc | C++ | diagnostics/cros_healthd/fetchers/system_fetcher.cc | dgreid/platform2 | 9b8b30df70623c94f1c8aa634dba94195343f37b | [
"BSD-3-Clause"
] | 4 | 2020-07-24T06:54:16.000Z | 2021-06-16T17:13:53.000Z | diagnostics/cros_healthd/fetchers/system_fetcher.cc | dgreid/platform2 | 9b8b30df70623c94f1c8aa634dba94195343f37b | [
"BSD-3-Clause"
] | 1 | 2021-04-02T17:35:07.000Z | 2021-04-02T17:35:07.000Z | diagnostics/cros_healthd/fetchers/system_fetcher.cc | dgreid/platform2 | 9b8b30df70623c94f1c8aa634dba94195343f37b | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2020 The Chromium OS 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 "diagnostics/cros_healthd/fetchers/system_fetcher.h"
#include <string>
#include <utility>
#include <base/files/file_path.h>
#include <base/f... | 35.849765 | 79 | 0.711367 | dgreid |
b4808b7ddbe3c9d94d21c05ffb195c20a6d08d53 | 1,343 | cpp | C++ | Lab2/src/main.cpp | CynricFeng/Cloud-Computing-Labs-2020 | e71897a10a4b76a4f856f3547b026897c0354947 | [
"MIT"
] | 1 | 2020-02-29T10:59:11.000Z | 2020-02-29T10:59:11.000Z | Lab2/src/main.cpp | CynricFeng/Cloud-Computing-Labs-2020 | e71897a10a4b76a4f856f3547b026897c0354947 | [
"MIT"
] | null | null | null | Lab2/src/main.cpp | CynricFeng/Cloud-Computing-Labs-2020 | e71897a10a4b76a4f856f3547b026897c0354947 | [
"MIT"
] | 5 | 2020-02-29T11:03:30.000Z | 2021-03-29T09:58:15.000Z | #include "global.h"
#include "sockethandle.h"
#include "util.hpp"
namespace this_debug {
static unsigned debug_counter = 0;
void break_point() { cout << " ---- DEBUG " << debug_counter++ << " ---- \n"; }
} // namespace // this_debug
extern bool serverOn;
extern vector<int> socketFlag;
extern cpLock *cplock;
int main... | 20.348485 | 79 | 0.612063 | CynricFeng |
b48323f7fc32ac3813eaca301038f25a9591dd49 | 3,272 | cpp | C++ | thorlcr/activities/diskwrite/thdiskwrite.cpp | miguelvazq/HPCC-Platform | 22ad8e5fcb59626abfd8febecbdfccb1e9fb0aa5 | [
"Apache-2.0"
] | 286 | 2015-01-03T12:45:17.000Z | 2022-03-25T18:12:57.000Z | thorlcr/activities/diskwrite/thdiskwrite.cpp | miguelvazq/HPCC-Platform | 22ad8e5fcb59626abfd8febecbdfccb1e9fb0aa5 | [
"Apache-2.0"
] | 9,034 | 2015-01-02T08:49:19.000Z | 2022-03-31T20:34:44.000Z | thorlcr/activities/diskwrite/thdiskwrite.cpp | cloLN/HPCC-Platform | 42ffb763a1cdcf611d3900831973d0a68e722bbe | [
"Apache-2.0"
] | 208 | 2015-01-02T03:27:28.000Z | 2022-02-11T05:54:52.000Z | /*##############################################################################
HPCC SYSTEMS software Copyright (C) 2012 HPCC Systems®.
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... | 33.731959 | 93 | 0.611247 | miguelvazq |
b48c7dfc377328d4f83bf6ff045f72bef087dc77 | 48,362 | cpp | C++ | torch/csrc/jit/codegen/cuda/executor_utils.cpp | qqaatw/pytorch | 44764f131b040a41a6dcf1304bb635c574bf5a3b | [
"Intel"
] | null | null | null | torch/csrc/jit/codegen/cuda/executor_utils.cpp | qqaatw/pytorch | 44764f131b040a41a6dcf1304bb635c574bf5a3b | [
"Intel"
] | null | null | null | torch/csrc/jit/codegen/cuda/executor_utils.cpp | qqaatw/pytorch | 44764f131b040a41a6dcf1304bb635c574bf5a3b | [
"Intel"
] | null | null | null | #include <ATen/cuda/CUDAContext.h>
#include <ATen/cuda/CUDAGeneratorImpl.h>
#include <ATen/cuda/nvrtc_stub/ATenNVRTC.h>
#include <c10/cuda/CUDACachingAllocator.h>
#include <c10/util/irange.h>
#include <torch/csrc/jit/codegen/cuda/contiguity.h>
#include <torch/csrc/jit/codegen/cuda/executor_utils.h>
#include <torch/cs... | 34.372424 | 97 | 0.676895 | qqaatw |
b48d53bf23ed3409e94fa320477114aa898fc3ff | 8,356 | cpp | C++ | src/ScoreKeeperRave.cpp | Midiman/stepmania | a55d5d614c4caa8b035b9b7cdca94017baba026b | [
"MIT"
] | 1 | 2019-02-13T07:01:27.000Z | 2019-02-13T07:01:27.000Z | src/ScoreKeeperRave.cpp | Tatsh/stepmania | bff04ba72e9d578e922fd830819515559b535c45 | [
"MIT"
] | null | null | null | src/ScoreKeeperRave.cpp | Tatsh/stepmania | bff04ba72e9d578e922fd830819515559b535c45 | [
"MIT"
] | null | null | null | #include "global.h"
#include "ScoreKeeperRave.h"
#include "ThemeManager.h"
#include "RageUtil.h"
#include "GameState.h"
#include "Character.h"
#include "ScreenManager.h"
#include "PrefsManager.h"
#include "ThemeMetric.h"
#include "PlayerState.h"
#include "NoteTypes.h"
ThemeMetric<float> ATTACK_DURATION_SECONDS ("Score... | 35.557447 | 109 | 0.751795 | Midiman |
b48f4d72687c458622b33d5a708f668503be7f47 | 5,073 | cpp | C++ | src/lib/bms/DataCompression.cpp | minium/bitcoin-messaging | 74d8431e42718f2104f6f4838a24bc4e3cce1427 | [
"Unlicense",
"MIT"
] | 7 | 2015-02-19T07:55:01.000Z | 2021-04-20T07:50:19.000Z | src/lib/bms/DataCompression.cpp | minium/bitcoin-messaging | 74d8431e42718f2104f6f4838a24bc4e3cce1427 | [
"Unlicense",
"MIT"
] | null | null | null | src/lib/bms/DataCompression.cpp | minium/bitcoin-messaging | 74d8431e42718f2104f6f4838a24bc4e3cce1427 | [
"Unlicense",
"MIT"
] | 6 | 2015-07-09T09:51:05.000Z | 2018-05-10T17:30:39.000Z | /**
* DataCompression.cpp
*
* Module with auxiliary functions for the Huffman coding scheme.
* It comprises a function to compute the Huffman coding itself as
* well as a compression and decompression function.
*
* @author Krzysztof Okupski
* @version 1.0
*/
#include <algorithm>
#include <queue>
#include <ite... | 19.894118 | 99 | 0.692884 | minium |
b4910ac937296c1b4e6d89f97935c6522290607f | 16,994 | cpp | C++ | apps/icp-slam-live/icp-slam-live_main.cpp | feroze/mrpt-shivang | 95bf524c5e10ed2e622bd199f1b0597951b45370 | [
"BSD-3-Clause"
] | 2 | 2017-03-25T18:09:17.000Z | 2017-05-22T08:14:48.000Z | apps/icp-slam-live/icp-slam-live_main.cpp | feroze/mrpt-shivang | 95bf524c5e10ed2e622bd199f1b0597951b45370 | [
"BSD-3-Clause"
] | null | null | null | apps/icp-slam-live/icp-slam-live_main.cpp | feroze/mrpt-shivang | 95bf524c5e10ed2e622bd199f1b0597951b45370 | [
"BSD-3-Clause"
] | 1 | 2018-07-29T09:40:46.000Z | 2018-07-29T09:40:46.000Z | /* +---------------------------------------------------------------------------+
| Mobile Robot Programming Toolkit (MRPT) |
| http://www.mrpt.org/ |
| ... | 32.618042 | 149 | 0.639343 | feroze |
b493a6f4e494b33217945c5d941b323a3748795f | 14,366 | hpp | C++ | erasure/include/bk/erasure/policies/policies_descriptor.hpp | Barath-Kannan/erasure | 6892b1c3c93d6e4f6f792eb3ba8b3ff188eb9efa | [
"BSL-1.0"
] | null | null | null | erasure/include/bk/erasure/policies/policies_descriptor.hpp | Barath-Kannan/erasure | 6892b1c3c93d6e4f6f792eb3ba8b3ff188eb9efa | [
"BSL-1.0"
] | null | null | null | erasure/include/bk/erasure/policies/policies_descriptor.hpp | Barath-Kannan/erasure | 6892b1c3c93d6e4f6f792eb3ba8b3ff188eb9efa | [
"BSL-1.0"
] | null | null | null | // Copyright (c) 2020 Barath Kannan
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file license.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#pragma once
#include "bk/erasure/bits/pointer_table_holder.hpp"
#include "bk/erasure/bits/special_members.hpp"
#include "bk/erasu... | 42.377581 | 158 | 0.715439 | Barath-Kannan |
b494a8c6e5f1e36762a8cfe58a7406bbdc8ce195 | 444 | cpp | C++ | tests/ptest002.cpp | 0x0c/rapidcsv | 93e25e7c60c7fc435a1fcb24ee0e19d0fcc056e1 | [
"BSD-3-Clause"
] | 439 | 2017-05-20T09:08:04.000Z | 2022-03-30T21:20:58.000Z | tests/ptest002.cpp | 0x0c/rapidcsv | 93e25e7c60c7fc435a1fcb24ee0e19d0fcc056e1 | [
"BSD-3-Clause"
] | 500 | 2020-09-15T09:45:10.000Z | 2022-03-30T04:28:38.000Z | tests/ptest002.cpp | 0x0c/rapidcsv | 93e25e7c60c7fc435a1fcb24ee0e19d0fcc056e1 | [
"BSD-3-Clause"
] | 148 | 2017-10-09T01:30:31.000Z | 2022-03-24T04:10:31.000Z | // ptest002.cpp - file load
#include <rapidcsv.h>
#include "perftest.h"
#include "unittest.h"
int main()
{
int rv = 0;
try
{
perftest::Timer timer;
for (int i = 0; i < 10; ++i)
{
timer.Start();
rapidcsv::Document doc("../tests/msft.csv");
timer.Stop();
}
timer.ReportMe... | 13.058824 | 50 | 0.529279 | 0x0c |
b49841ecd5b26548376d10baa26d2635dc365458 | 727 | cpp | C++ | sp/src/tier1/rangecheckedvar.cpp | tingtom/Fodder | 3250572dbc56547709f564ba68e451b21660cdb4 | [
"Unlicense"
] | 15 | 2016-04-07T21:29:55.000Z | 2022-03-18T08:03:31.000Z | sp/src/tier1/rangecheckedvar.cpp | tingtom/Fodder | 3250572dbc56547709f564ba68e451b21660cdb4 | [
"Unlicense"
] | 31 | 2016-11-27T14:38:02.000Z | 2020-06-03T11:11:29.000Z | sp/src/tier1/rangecheckedvar.cpp | tingtom/Fodder | 3250572dbc56547709f564ba68e451b21660cdb4 | [
"Unlicense"
] | 6 | 2015-02-20T06:11:13.000Z | 2018-11-15T08:22:01.000Z | //========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
//=============================================================================//
#include "rangecheckedvar.h"
// memdbgon must be the last include file in a .cpp file!!!
#include "tier0/memdbgon.h"
bool g_bDoR... | 17.309524 | 82 | 0.554333 | tingtom |
b499295105105935a619c8dcc09848e938487dba | 619 | hpp | C++ | include/burst/container/access/cback.hpp | izvolov/thrust | 399e12eed54131d731c4c5ef40512b17107bca56 | [
"BSL-1.0"
] | 85 | 2015-11-25T14:05:42.000Z | 2021-11-15T11:47:19.000Z | include/burst/container/access/cback.hpp | izvolov/burst | 399e12eed54131d731c4c5ef40512b17107bca56 | [
"BSL-1.0"
] | 147 | 2015-01-11T08:36:53.000Z | 2021-11-04T09:03:36.000Z | include/burst/container/access/cback.hpp | izvolov/thrust | 399e12eed54131d731c4c5ef40512b17107bca56 | [
"BSL-1.0"
] | 6 | 2016-06-02T17:28:26.000Z | 2020-04-05T11:16:16.000Z | #ifndef BURST__CONTAINER__ACCESS__CBACK_HPP
#define BURST__CONTAINER__ACCESS__CBACK_HPP
#include <cstddef>
namespace burst
{
struct cback_t
{
template <class T, std::size_t Size>
constexpr decltype(auto) operator () (const T (& array) [Size]) const
{
return array[Size - 1];... | 22.925926 | 80 | 0.633279 | izvolov |
a33375f9491399ad745ae3ae35d27e5121327976 | 445 | cxx | C++ | tests/core/functional.cxx | slurps-mad-rips/apex | 8d88e6167e460a74e2c42a4d11d7f8e70adb5102 | [
"Apache-2.0"
] | 4 | 2020-12-14T18:07:28.000Z | 2021-04-21T18:10:26.000Z | tests/core/functional.cxx | slurps-mad-rips/apex | 8d88e6167e460a74e2c42a4d11d7f8e70adb5102 | [
"Apache-2.0"
] | 11 | 2020-07-21T03:27:10.000Z | 2021-03-22T20:24:44.000Z | tests/core/functional.cxx | slurps-mad-rips/apex | 8d88e6167e460a74e2c42a4d11d7f8e70adb5102 | [
"Apache-2.0"
] | 3 | 2020-12-14T17:40:07.000Z | 2022-03-18T15:43:10.000Z | #include <apex/core/functional.hpp>
#include <type_traits>
TEST_CASE("bind_front") {
auto function = [] (auto&& x, auto&& y) {
return std::forward<decltype(x)>(x) + std::forward<decltype(y)>(y);
};
constexpr auto call = apex::bind_front(std::move(function), 4);
REQUIRE(call(5) == 9);
}
TEST_CASE("function... | 24.722222 | 71 | 0.61573 | slurps-mad-rips |
a335985895be9cacf732366ea2e671c1e7939cfc | 5,472 | cpp | C++ | src/cetty/handler/codec/http/HttpChunkAggregator.cpp | frankee/Cetty | 4ec5be459e42f3ef76617a5a9c8d70cee277d131 | [
"BSL-1.0",
"Apache-2.0",
"BSD-3-Clause"
] | 11 | 2015-01-22T11:23:23.000Z | 2021-04-18T13:06:04.000Z | src/cetty/handler/codec/http/HttpChunkAggregator.cpp | frankee/Cetty | 4ec5be459e42f3ef76617a5a9c8d70cee277d131 | [
"BSL-1.0",
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | src/cetty/handler/codec/http/HttpChunkAggregator.cpp | frankee/Cetty | 4ec5be459e42f3ef76617a5a9c8d70cee277d131 | [
"BSL-1.0",
"Apache-2.0",
"BSD-3-Clause"
] | 7 | 2015-04-17T08:13:04.000Z | 2020-11-28T04:12:29.000Z | /*
* Copyright (c) 2010-2011 frankee zhou (frankee.zhou at gmail dot com)
*
* Distributed under under the Apache License, version 2.0 (the "License").
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
... | 39.085714 | 102 | 0.640534 | frankee |
a3363787d7917eb940fd21632a4e23da0aa5f835 | 24,456 | cpp | C++ | Foundation/testsuite/src/CoreTest.cpp | AppAnywhere/agent-sdk | c5495c4a1d892f2d3bca5b82a7436db7d8adff71 | [
"BSL-1.0"
] | null | null | null | Foundation/testsuite/src/CoreTest.cpp | AppAnywhere/agent-sdk | c5495c4a1d892f2d3bca5b82a7436db7d8adff71 | [
"BSL-1.0"
] | null | null | null | Foundation/testsuite/src/CoreTest.cpp | AppAnywhere/agent-sdk | c5495c4a1d892f2d3bca5b82a7436db7d8adff71 | [
"BSL-1.0"
] | null | null | null | //
// CoreTest.cpp
//
// $Id: //poco/1.7/Foundation/testsuite/src/CoreTest.cpp#2 $
//
// Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH.
// and Contributors.
//
// SPDX-License-Identifier: BSL-1.0
//
#include "CoreTest.h"
#include "CppUnit/TestCaller.h"
#include "CppUnit/TestSuite.h"
#include ... | 20.920445 | 80 | 0.585909 | AppAnywhere |
a33686e250107e9c9db3f8b7ba07843ea0f54904 | 1,897 | cpp | C++ | src/caffe/test/test_multinomial_logistic_loss_layer.cpp | Amanda-Barbara/nvcaffe | 5155a708b235a818ce300aa3f9fc235ece9a35fb | [
"BSD-2-Clause"
] | 758 | 2015-03-08T20:54:38.000Z | 2022-01-11T03:14:51.000Z | src/caffe/test/test_multinomial_logistic_loss_layer.cpp | Matsuko9/caffe | 17e347e42e664b87d80f63bfbbb89bec5e559242 | [
"BSD-2-Clause"
] | 493 | 2015-04-28T00:08:53.000Z | 2021-08-04T07:26:54.000Z | src/caffe/test/test_multinomial_logistic_loss_layer.cpp | Matsuko9/caffe | 17e347e42e664b87d80f63bfbbb89bec5e559242 | [
"BSD-2-Clause"
] | 389 | 2015-03-05T12:11:44.000Z | 2022-03-13T21:49:42.000Z | #include <vector>
#include "gtest/gtest.h"
#include "caffe/blob.hpp"
#include "caffe/common.hpp"
#include "caffe/filler.hpp"
#include "caffe/layers/multinomial_logistic_loss_layer.hpp"
#include "caffe/test/test_caffe_main.hpp"
#include "caffe/test/test_gradient_check_util.hpp"
namespace caffe {
template <typename ... | 32.152542 | 72 | 0.753295 | Amanda-Barbara |
a338624bd917500486cacaeddfae63c6b791597e | 6,773 | cpp | C++ | third_party/pdfium/fpdfsdk/src/javascript/color.cpp | satorumpen/node-pdfium-native | 90e5bf8bc69c80620f9f4231ebf8e39ef1178b8c | [
"BSD-2-Clause"
] | 69 | 2015-03-27T14:37:54.000Z | 2022-01-05T10:04:01.000Z | third_party/pdfium/fpdfsdk/src/javascript/color.cpp | satorumpen/node-pdfium-native | 90e5bf8bc69c80620f9f4231ebf8e39ef1178b8c | [
"BSD-2-Clause"
] | 15 | 2015-04-03T02:33:53.000Z | 2020-01-28T10:42:29.000Z | third_party/pdfium/fpdfsdk/src/javascript/color.cpp | satorumpen/node-pdfium-native | 90e5bf8bc69c80620f9f4231ebf8e39ef1178b8c | [
"BSD-2-Clause"
] | 21 | 2015-05-14T12:59:43.000Z | 2021-12-11T16:31:21.000Z | // Copyright 2014 PDFium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
#include "../../include/javascript/JavaScript.h"
#include "../../include/java... | 26.665354 | 112 | 0.734682 | satorumpen |
a33c82f84572dfd848ff6dcc34bfa46d2711cf0a | 1,869 | cpp | C++ | tests/stack/push.cpp | paulahemsi/ft_containers | c7d6c878c25bf4faeb60f86f977639c8a7006776 | [
"MIT"
] | 1 | 2022-03-02T15:14:16.000Z | 2022-03-02T15:14:16.000Z | tests/stack/push.cpp | paulahemsi/ft_containers | c7d6c878c25bf4faeb60f86f977639c8a7006776 | [
"MIT"
] | 73 | 2021-12-11T18:54:53.000Z | 2022-03-28T01:32:52.000Z | tests/stack/push.cpp | paulahemsi/ft_containers | c7d6c878c25bf4faeb60f86f977639c8a7006776 | [
"MIT"
] | null | null | null | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* push.cpp :+: :+: :+: ... | 29.666667 | 88 | 0.392723 | paulahemsi |
a33e136eeaba7ca44bc862559c100a9b1871de42 | 7,002 | cpp | C++ | src/Backends/Audio/3DS.cpp | haya3218/cse2-tweaks | 48bccbd58240942ed5f5b288a90ef092820698c0 | [
"MIT"
] | 12 | 2020-12-14T19:10:55.000Z | 2022-03-16T12:45:56.000Z | src/Backends/Audio/3DS.cpp | haya3218/cse2-tweaks | 48bccbd58240942ed5f5b288a90ef092820698c0 | [
"MIT"
] | null | null | null | src/Backends/Audio/3DS.cpp | haya3218/cse2-tweaks | 48bccbd58240942ed5f5b288a90ef092820698c0 | [
"MIT"
] | 6 | 2020-12-13T03:05:24.000Z | 2021-11-23T14:16:49.000Z | // Released under the MIT licence.
// See LICENCE.txt for details.
#include "../Audio.h"
#include <math.h>
#include <stddef.h>
#include <stdlib.h>
#include <string.h>
#include <3ds.h>
#include "../Misc.h"
#define MIN(a, b) ((a) < (b) ? (a) : (b))
#define MAX(a, b) ((a) > (b) ? (a) : (b))
#define CLAMP(a, min, max)... | 23.496644 | 188 | 0.716224 | haya3218 |
a34276b551931e48fe9a2160534fa9659aeb2fb4 | 35,020 | cpp | C++ | src/Interpreters/JoinToSubqueryTransformVisitor.cpp | chengy8934/ClickHouse | c1d2d2d7f759536cdac991077110ea40023030c2 | [
"Apache-2.0"
] | null | null | null | src/Interpreters/JoinToSubqueryTransformVisitor.cpp | chengy8934/ClickHouse | c1d2d2d7f759536cdac991077110ea40023030c2 | [
"Apache-2.0"
] | null | null | null | src/Interpreters/JoinToSubqueryTransformVisitor.cpp | chengy8934/ClickHouse | c1d2d2d7f759536cdac991077110ea40023030c2 | [
"Apache-2.0"
] | null | null | null | #include <Common/typeid_cast.h>
#include <Core/NamesAndTypes.h>
#include <Interpreters/JoinToSubqueryTransformVisitor.h>
#include <Interpreters/IdentifierSemantic.h>
#include <Interpreters/AsteriskSemantic.h>
#include <Interpreters/DatabaseAndTableWithAlias.h>
#include <Interpreters/RequiredSourceColumnsVisitor.h>
#inc... | 36.555324 | 139 | 0.636351 | chengy8934 |
a343eccec9746afd47eadda51d22ca4088d2f857 | 6,448 | hpp | C++ | parameter2.hpp | odinthenerd/parameter2 | 9850cd5bac0b3a93ea3992eaa0a97a306410eb97 | [
"BSL-1.0"
] | 14 | 2017-06-14T02:31:55.000Z | 2019-02-20T16:34:10.000Z | parameter2.hpp | odinthenerd/parameter2 | 9850cd5bac0b3a93ea3992eaa0a97a306410eb97 | [
"BSL-1.0"
] | 4 | 2016-06-06T12:53:48.000Z | 2016-06-06T15:19:30.000Z | parameter2.hpp | porkybrain/parameter2 | 9850cd5bac0b3a93ea3992eaa0a97a306410eb97 | [
"BSL-1.0"
] | null | null | null | /*==================================================================================================
Copyright (c) 2016 Odin Holmes and Carlos van Rooijen
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
===========================... | 35.822222 | 177 | 0.686725 | odinthenerd |
a34a643e00646b9115aa9629398173c273608153 | 11,179 | cpp | C++ | WLC_v1.0/src/wlc.cpp | saxbophone/wlc | b56af913f46ee9aa5db065d4479ea07299a44543 | [
"MIT"
] | null | null | null | WLC_v1.0/src/wlc.cpp | saxbophone/wlc | b56af913f46ee9aa5db065d4479ea07299a44543 | [
"MIT"
] | null | null | null | WLC_v1.0/src/wlc.cpp | saxbophone/wlc | b56af913f46ee9aa5db065d4479ea07299a44543 | [
"MIT"
] | null | null | null | #define LANG "en-GB"
#ifndef __cplusplus
#error A C++ Compiler is required!
#endif
#include <iostream>
#include <string>
#include <ctime>
using namespace std;
#define TITLE "Word-ladder Cracker"
#define VERSION 0.1
#define ACKNOWLEDGE "J.A.SAXBY"
#define WRITTEN "Oct 12 2012"
#define DESCRIPTION "WLC will solve a 4-... | 36.295455 | 158 | 0.502907 | saxbophone |
a34ba2978358300f826577d0599ad9fa3fa1f34f | 4,931 | hpp | C++ | sdk/packages/navigation/gems/spherical_robot_shape.hpp | ddr95070/RMIsaac | ee3918f685f0a88563248ddea11d089581077973 | [
"FSFAP"
] | null | null | null | sdk/packages/navigation/gems/spherical_robot_shape.hpp | ddr95070/RMIsaac | ee3918f685f0a88563248ddea11d089581077973 | [
"FSFAP"
] | null | null | null | sdk/packages/navigation/gems/spherical_robot_shape.hpp | ddr95070/RMIsaac | ee3918f685f0a88563248ddea11d089581077973 | [
"FSFAP"
] | 1 | 2022-01-28T16:37:51.000Z | 2022-01-28T16:37:51.000Z | /*
Copyright (c) 2019, NVIDIA CORPORATION. All rights reserved.
NVIDIA CORPORATION and its licensors retain all intellectual property
and proprietary rights in and to this software, related documentation
and any modifications thereto. Any use, reproduction, disclosure or
distribution of this software and related docum... | 41.788136 | 100 | 0.728453 | ddr95070 |
a34be83efe56ff34519b9798fc909de71e39b5df | 31,810 | hpp | C++ | third_party/nlio/repo/include/nlio-byteorder-big.hpp | Shumaro/openweave-core | 0f1388d2d887208d59c3409bd73d5939727c8bda | [
"Apache-2.0"
] | null | null | null | third_party/nlio/repo/include/nlio-byteorder-big.hpp | Shumaro/openweave-core | 0f1388d2d887208d59c3409bd73d5939727c8bda | [
"Apache-2.0"
] | null | null | null | third_party/nlio/repo/include/nlio-byteorder-big.hpp | Shumaro/openweave-core | 0f1388d2d887208d59c3409bd73d5939727c8bda | [
"Apache-2.0"
] | 1 | 2020-11-04T06:58:12.000Z | 2020-11-04T06:58:12.000Z | /**
* Copyright 2013-2016 Nest Labs Inc. 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
*
* ... | 34.463705 | 78 | 0.660233 | Shumaro |
a34d79711964b6e3d55a299e229c984cbb16f688 | 4,267 | cpp | C++ | 11_learning_materials/stanford_self_driving_car/planner/rndf_edit/src/RESpot.cpp | EatAllBugs/autonomous_learning | 02ff7b0fa7b131a2f2203505ef5cc7e43b40bc47 | [
"MIT"
] | 14 | 2021-09-01T14:25:45.000Z | 2022-02-21T08:49:57.000Z | 11_learning_materials/stanford_self_driving_car/planner/rndf_edit/src/RESpot.cpp | yinflight/autonomous_learning | 02ff7b0fa7b131a2f2203505ef5cc7e43b40bc47 | [
"MIT"
] | null | null | null | 11_learning_materials/stanford_self_driving_car/planner/rndf_edit/src/RESpot.cpp | yinflight/autonomous_learning | 02ff7b0fa7b131a2f2203505ef5cc7e43b40bc47 | [
"MIT"
] | 3 | 2021-10-10T00:58:29.000Z | 2022-01-23T13:16:09.000Z | /********************************************************
Stanford Driving Software
Copyright (c) 2011 Stanford University
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... | 31.375 | 120 | 0.685728 | EatAllBugs |
a350d72989a55040f365215ce2cd8d3494865df3 | 4,287 | hpp | C++ | src/Ransac.hpp | ser94mor/lidar-obstacle-detection | e0271e6cd7c925fbd1804ecbe24eb0b7706c1f64 | [
"MIT"
] | 23 | 2019-08-05T08:53:42.000Z | 2022-03-25T07:14:29.000Z | lidar-pcl/src/Ransac.hpp | YinRui1991/pointpillars-on-openvino | 125a51e3817d1597c4a9804a42de60e1e10816a9 | [
"Apache-2.0"
] | 8 | 2019-06-20T09:23:31.000Z | 2020-11-25T09:14:06.000Z | lidar-pcl/src/Ransac.hpp | YinRui1991/pointpillars-on-openvino | 125a51e3817d1597c4a9804a42de60e1e10816a9 | [
"Apache-2.0"
] | 7 | 2019-08-07T18:38:00.000Z | 2021-06-23T21:43:04.000Z | /**
* Copyright (C) 2019 Sergey Morozov <sergey@morozov.ch>
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
* files (the "Software"), to deal in the Software without restriction,
* including without limitation the rights to use, ... | 34.296 | 109 | 0.658969 | ser94mor |
a351a61ef6b7ed862d911caaf9ead28be82235e3 | 3,065 | cc | C++ | net/http/net-plugin-bridge.cc | cmotc/schs738c-external_chromium | b54214e4443901c508a353a0f9293c4ffb0934b4 | [
"BSD-3-Clause"
] | null | null | null | net/http/net-plugin-bridge.cc | cmotc/schs738c-external_chromium | b54214e4443901c508a353a0f9293c4ffb0934b4 | [
"BSD-3-Clause"
] | null | null | null | net/http/net-plugin-bridge.cc | cmotc/schs738c-external_chromium | b54214e4443901c508a353a0f9293c4ffb0934b4 | [
"BSD-3-Clause"
] | 1 | 2020-11-01T22:03:15.000Z | 2020-11-01T22:03:15.000Z | /*
* Copyright (c) 2011, Code Aurora Forum. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
* * Redistributions of source code must retain the above copyright
* notice, this list of cond... | 35.229885 | 82 | 0.734421 | cmotc |
a353a313c70376a1788a9c97249c8c86c243af6f | 192 | cpp | C++ | test/suite/test_008_ifelse-wfv.cpp | baziotis/rv | e0e9373bed333cf19370d811ecfd1146d605118a | [
"Apache-2.0"
] | 71 | 2017-03-03T01:36:28.000Z | 2022-02-25T19:57:12.000Z | test/suite/test_008_ifelse-wfv.cpp | baziotis/rv | e0e9373bed333cf19370d811ecfd1146d605118a | [
"Apache-2.0"
] | 48 | 2017-04-05T16:41:47.000Z | 2021-06-09T09:52:36.000Z | test/suite/test_008_ifelse-wfv.cpp | baziotis/rv | e0e9373bed333cf19370d811ecfd1146d605118a | [
"Apache-2.0"
] | 21 | 2017-03-01T16:04:35.000Z | 2021-09-15T13:38:24.000Z | // Shapes: U_TrT, LaunchCode: foout2f
#include <cmath>
extern "C" float
foo(float u, float t) {
float r;
if (u > 0) {
r = sqrtf(t);
} else {
r = fabs(t);
}
return r*.5f;
}
| 12.8 | 37 | 0.536458 | baziotis |
a3554e74b41dea92ae5b98b48cf4ca6d1f5fe20d | 6,003 | cpp | C++ | Samples/Source Files/NormalMap/main.cpp | ThibaultTricard/-LavaCake-Examples | b5b3bf829b716cee96e5dfa0587326dbeaf8b64c | [
"MIT"
] | 1 | 2021-01-16T01:03:49.000Z | 2021-01-16T01:03:49.000Z | Samples/Source Files/NormalMap/main.cpp | ThibaultTricard/LavaCake-Examples | b5b3bf829b716cee96e5dfa0587326dbeaf8b64c | [
"MIT"
] | null | null | null | Samples/Source Files/NormalMap/main.cpp | ThibaultTricard/LavaCake-Examples | b5b3bf829b716cee96e5dfa0587326dbeaf8b64c | [
"MIT"
] | null | null | null | #include "Framework/Framework.h"
#include "AllHeaders.h"
#include "Common.h"
#include "VulkanDestroyer.h"
#include "Geometry/meshLoader.h"
using namespace LavaCake;
using namespace LavaCake::Geometry;
using namespace LavaCake::Framework;
using namespace LavaCake::Core;
int main() {
int nbFrames = 3;
ErrorCheck::Pri... | 33.915254 | 222 | 0.702982 | ThibaultTricard |
a35931a9532736de0d44bf4647742c284be2248b | 13,742 | cpp | C++ | src/RedisServerLib.cpp | TigerZhang/redis-server | b2f2f02eaa5dfac63b22767d0e8c19f52746004b | [
"MIT"
] | 1 | 2017-01-09T10:57:01.000Z | 2017-01-09T10:57:01.000Z | src/RedisServerLib.cpp | TigerZhang/redis-server | b2f2f02eaa5dfac63b22767d0e8c19f52746004b | [
"MIT"
] | null | null | null | src/RedisServerLib.cpp | TigerZhang/redis-server | b2f2f02eaa5dfac63b22767d0e8c19f52746004b | [
"MIT"
] | null | null | null | /*
* ----------------------------------------------------------------------------
* Copyright (c) 2015-2016, xSky <guozhw@gmail.com>
* All rights reserved.
* Distributed under GPL license.
* ----------------------------------------------------------------------------
*/
#include <inttypes.h>
#include <assert.... | 26.735409 | 113 | 0.584849 | TigerZhang |
a359fb7c7dcedc7cf86d52ec402d3313c986dcd3 | 2,622 | cpp | C++ | indra/newview/llfloaterhowto.cpp | bloomsirenix/Firestorm-manikineko | 67e1bb03b2d05ab16ab98097870094a8cc9de2e7 | [
"Unlicense"
] | 1 | 2022-03-26T15:03:34.000Z | 2022-03-26T15:03:34.000Z | indra/newview/llfloaterhowto.cpp | bloomsirenix/Firestorm-manikineko | 67e1bb03b2d05ab16ab98097870094a8cc9de2e7 | [
"Unlicense"
] | null | null | null | indra/newview/llfloaterhowto.cpp | bloomsirenix/Firestorm-manikineko | 67e1bb03b2d05ab16ab98097870094a8cc9de2e7 | [
"Unlicense"
] | null | null | null | /**
* @file llfloaterhowto.cpp
* @brief A variant of web floater meant to open guidebook
*
* $LicenseInfo:firstyear=2021&license=viewerlgpl$
* Second Life Viewer Source Code
* Copyright (C) 2021, Linden Research, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the ter... | 28.193548 | 104 | 0.709764 | bloomsirenix |
a35d61366ab02d625e81ec0fe2051f9755b6860c | 525 | cpp | C++ | sources codes/tute62.cpp | darkrabel/c-personal-reference-code- | 0ea62666a6f8b7ea876e96498e3c0b6b4e773a7f | [
"MIT"
] | 2 | 2021-06-17T11:05:01.000Z | 2021-11-15T11:39:46.000Z | sources codes/tute62.cpp | darkrabel/c-personal-reference-code- | 0ea62666a6f8b7ea876e96498e3c0b6b4e773a7f | [
"MIT"
] | null | null | null | sources codes/tute62.cpp | darkrabel/c-personal-reference-code- | 0ea62666a6f8b7ea876e96498e3c0b6b4e773a7f | [
"MIT"
] | null | null | null | #include <iostream>
#include <fstream>
#include <string>
using namespace std;
int main()
{
// declaring an object of the type ifstream
ifstream in;
//declaring string variable st
string st;
//opening the text file into in
in.open("sample60.txt");
// giving output the string lines by st... | 20.192308 | 91 | 0.619048 | darkrabel |
a35ffeaf101a7a6c21065b2f6b5cacab1179ef40 | 639 | cpp | C++ | C语言程序设计基础/48. 【中学】求特定三位数.cpp | xiabee/BIT-CS | 5d8d8331e6b9588773991a872c259e430ef1eae1 | [
"Apache-2.0"
] | 63 | 2021-01-10T02:32:17.000Z | 2022-03-30T04:08:38.000Z | C语言程序设计基础/48. 【中学】求特定三位数.cpp | xiabee/BIT-CS | 5d8d8331e6b9588773991a872c259e430ef1eae1 | [
"Apache-2.0"
] | 2 | 2021-06-09T05:38:58.000Z | 2021-12-14T13:53:54.000Z | C语言程序设计基础/48. 【中学】求特定三位数.cpp | xiabee/BIT-CS | 5d8d8331e6b9588773991a872c259e430ef1eae1 | [
"Apache-2.0"
] | 20 | 2021-01-12T11:49:36.000Z | 2022-03-26T11:04:58.000Z | #include <stdio.h>
int main()
{
int n, flag = 0;
scanf ("%d", &n);
for (int i = 1; i <= 9; i++)
{
for (int j = 1; j <= 9; j++)
{
int a[15] = {0}, ok = 1;
int temp1 = n*100 + i*10 + j;
int temp2 = temp1*2;
int temp3 = temp1*3;
int n1 = temp1, n2 = temp2, n3 = temp3;
while (temp1)
{
a[temp1... | 16.815789 | 42 | 0.449139 | xiabee |
a361984ee33c6da8a90820c43a0edd2f26c37ae5 | 11,752 | cpp | C++ | src/core/solver.cpp | Lab-RoCoCo/fps_mapper | 376e557c8f5012e05187fe85ee3f4044f99f944a | [
"BSD-3-Clause"
] | 1 | 2017-12-01T14:57:16.000Z | 2017-12-01T14:57:16.000Z | src/core/solver.cpp | Lab-RoCoCo/fps_mapper | 376e557c8f5012e05187fe85ee3f4044f99f944a | [
"BSD-3-Clause"
] | null | null | null | src/core/solver.cpp | Lab-RoCoCo/fps_mapper | 376e557c8f5012e05187fe85ee3f4044f99f944a | [
"BSD-3-Clause"
] | null | null | null | #include "solver.h"
#include <iostream>
#include <cassert>
#include <stdexcept>
#include <omp.h>
#ifdef _GO_PARALLEL_
#endif
#define _FAST_MULT_
//#define NAN_CHECK
namespace fps_mapper {
Solver::Solver(){
_H.setZero();
_b.setZero();
_T.setIdentity();
_error = 0;
_reference = 0;
_current =... | 27.457944 | 114 | 0.641593 | Lab-RoCoCo |
a3649e5c9251511605632b1974aa69e084e78223 | 4,061 | cpp | C++ | samplecode/SampleSubpixelTranslate.cpp | Vurich/skia | 38418af1bbc8b822339b557b8852655723d94482 | [
"BSD-3-Clause"
] | 54 | 2016-04-05T17:45:19.000Z | 2022-01-31T06:27:33.000Z | samplecode/SampleSubpixelTranslate.cpp | Vurich/skia | 38418af1bbc8b822339b557b8852655723d94482 | [
"BSD-3-Clause"
] | 25 | 2016-03-18T04:01:06.000Z | 2020-06-27T15:39:35.000Z | samplecode/SampleSubpixelTranslate.cpp | Vurich/skia | 38418af1bbc8b822339b557b8852655723d94482 | [
"BSD-3-Clause"
] | 50 | 2016-03-03T20:31:58.000Z | 2022-03-31T18:26:13.000Z | /*
* Copyright 2014 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "samplecode/Sample.h"
#include "include/core/SkCanvas.h"
#include "include/core/SkColorPriv.h"
#include "include/core/SkFont.h"
#include "include/core/SkStream.h"
#i... | 36.258929 | 132 | 0.589017 | Vurich |
a364a64827d8fbcdc955767dc5b989b9634f8728 | 20,696 | cc | C++ | src/osiris/maincontroller.cc | lorenzo-stoakes/janus | 88cb536d569edf15af112230b02ea946c828cc12 | [
"MIT"
] | 1 | 2022-02-16T11:23:47.000Z | 2022-02-16T11:23:47.000Z | src/osiris/maincontroller.cc | lorenzo-stoakes/janus | 88cb536d569edf15af112230b02ea946c828cc12 | [
"MIT"
] | null | null | null | src/osiris/maincontroller.cc | lorenzo-stoakes/janus | 88cb536d569edf15af112230b02ea946c828cc12 | [
"MIT"
] | null | null | null | #include "janus.hh"
#include "maincontroller.hh"
#include <QtWidgets>
#include <ctime>
#include <iostream>
#include <stdexcept>
#include <string>
#include <string_view>
// Create a read-only table item for insertion into a table.
static auto make_readonly_table_item() -> QTableWidgetItem*
{
QTableWidgetItem* item =... | 27.195795 | 98 | 0.710041 | lorenzo-stoakes |
a364ef910482398f8c8121d8aad139c3ab219645 | 3,182 | cc | C++ | src/ufo/utils/RecursiveSplitter.cc | fmahebert/ufo | 2af9b91433553ca473c72fcd131400a01c3aabdb | [
"Apache-2.0"
] | 1 | 2021-10-08T16:37:25.000Z | 2021-10-08T16:37:25.000Z | src/ufo/utils/RecursiveSplitter.cc | fmahebert/ufo | 2af9b91433553ca473c72fcd131400a01c3aabdb | [
"Apache-2.0"
] | 9 | 2021-06-25T17:18:06.000Z | 2021-10-08T17:40:31.000Z | src/ufo/utils/RecursiveSplitter.cc | fmahebert/ufo | 2af9b91433553ca473c72fcd131400a01c3aabdb | [
"Apache-2.0"
] | 31 | 2021-06-24T18:07:53.000Z | 2021-10-08T15:40:39.000Z | /*
* (C) Copyright 2019 Met Office UK
*
* This software is licensed under the terms of the Apache Licence Version 2.0
* which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
*/
#include "ufo/utils/RecursiveSplitter.h"
#include <algorithm>
#include <numeric>
#include "oops/util/Random.h"
namespac... | 32.804124 | 86 | 0.688875 | fmahebert |
a365591a75d9c133e8145230cd1cdb81a73ac658 | 2,118 | hpp | C++ | module-services/service-db/include/service-db/Settings.hpp | SP2FET/MuditaOS-1 | 2906bb8a2fb3cdd39b167e600f6cc6d9ce1327bd | [
"BSL-1.0"
] | 1 | 2021-11-11T22:56:43.000Z | 2021-11-11T22:56:43.000Z | module-services/service-db/include/service-db/Settings.hpp | SP2FET/MuditaOS-1 | 2906bb8a2fb3cdd39b167e600f6cc6d9ce1327bd | [
"BSL-1.0"
] | null | null | null | module-services/service-db/include/service-db/Settings.hpp | SP2FET/MuditaOS-1 | 2906bb8a2fb3cdd39b167e600f6cc6d9ce1327bd | [
"BSL-1.0"
] | null | null | null | // Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md
#pragma once
#include "EntryPath.hpp"
#include "SettingsScope.hpp"
#include "SettingsProxy.hpp"
#include <cstdint>
#include <functional>
#include <list>
#include <map>
#include <mem... | 34.721311 | 115 | 0.652502 | SP2FET |
a367651a33c9034d6d3da20881ecee1ce4ead530 | 1,234 | cpp | C++ | world/tiles/features/source/unit_tests/Barrel_test.cpp | sidav/shadow-of-the-wyrm | 747afdeebed885b1a4f7ab42f04f9f756afd3e52 | [
"MIT"
] | null | null | null | world/tiles/features/source/unit_tests/Barrel_test.cpp | sidav/shadow-of-the-wyrm | 747afdeebed885b1a4f7ab42f04f9f756afd3e52 | [
"MIT"
] | null | null | null | world/tiles/features/source/unit_tests/Barrel_test.cpp | sidav/shadow-of-the-wyrm | 747afdeebed885b1a4f7ab42f04f9f756afd3e52 | [
"MIT"
] | null | null | null | #include "gtest/gtest.h"
TEST(SW_World_Tiles_Features_Barrel, pour)
{
Barrel b;
b.set_tap(true);
b.set_pour_item_id("orcish_hooch");
b.set_drinks(15);
EXPECT_TRUE(b.pour());
EXPECT_EQ(14, b.get_drinks());
b.set_drinks(1);
EXPECT_TRUE(b.pour());
EXPECT_EQ(0, b.get_drinks());
EXPECT_FALSE(b.pour(... | 17.380282 | 77 | 0.713128 | sidav |
a36c29a834c37ad318c361a34b7baa1e1b976d7b | 4,387 | cpp | C++ | ThirdLib/glslang/External/spirv-tools/source/opt/eliminate_dead_constant_pass.cpp | winddyhe/WindGE | 377438805cd92bdb435eae8a137699fa8e0b1105 | [
"MIT"
] | 4 | 2016-11-22T17:53:36.000Z | 2019-05-04T14:28:45.000Z | ThirdLib/glslang/External/spirv-tools/source/opt/eliminate_dead_constant_pass.cpp | winddyhe/WindGE | 377438805cd92bdb435eae8a137699fa8e0b1105 | [
"MIT"
] | null | null | null | ThirdLib/glslang/External/spirv-tools/source/opt/eliminate_dead_constant_pass.cpp | winddyhe/WindGE | 377438805cd92bdb435eae8a137699fa8e0b1105 | [
"MIT"
] | null | null | null | // Copyright (c) 2016 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to... | 35.959016 | 80 | 0.63597 | winddyhe |
a36ced587d63734eefe09c218fea453bfcf7fda0 | 1,753 | hpp | C++ | include/boost/beast/core/buffers_to_string.hpp | johron/beast | 066af76975e55a291815508af03f177c411fbbb9 | [
"BSL-1.0"
] | null | null | null | include/boost/beast/core/buffers_to_string.hpp | johron/beast | 066af76975e55a291815508af03f177c411fbbb9 | [
"BSL-1.0"
] | null | null | null | include/boost/beast/core/buffers_to_string.hpp | johron/beast | 066af76975e55a291815508af03f177c411fbbb9 | [
"BSL-1.0"
] | null | null | null | //
// Copyright (c) 2016-2017 Vinnie Falco (vinnie dot falco at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
// Official repository: https://github.com/boostorg/beast
//
#ifndef BOOST_BEAST_... | 27.825397 | 79 | 0.727895 | johron |
a36ee28078634f4f838bd181aed77ebbd91dc58b | 3,899 | cpp | C++ | tests/cfloat/api/subnormals.cpp | FloEdelmann/universal | c5b83f251ad91229399b7f97e4eeefcf718819d4 | [
"MIT"
] | 254 | 2017-05-24T16:51:57.000Z | 2022-03-22T13:07:29.000Z | tests/cfloat/api/subnormals.cpp | jamesquinlan/universal | 3b7e6bf37cbb9123425b634d18af18a409c2eccc | [
"MIT"
] | 101 | 2017-11-09T22:57:24.000Z | 2022-03-17T12:44:59.000Z | tests/cfloat/api/subnormals.cpp | jamesquinlan/universal | 3b7e6bf37cbb9123425b634d18af18a409c2eccc | [
"MIT"
] | 55 | 2017-06-09T10:04:38.000Z | 2022-02-01T16:54:56.000Z | // subnormals.cpp: showcase for cfloat subnormals
//
// Copyright (C) 2017-2021 Stillwater Supercomputing, Inc.
//
// This file is part of the universal numbers project, which is released under an MIT Open Source license.
#include <universal/utility/directives.hpp>
// Configure the cfloat template environment
// first:... | 42.846154 | 106 | 0.700692 | FloEdelmann |
a36ee693fb9fc6eba7ffb9d6af63fe91dd4659a8 | 3,339 | cpp | C++ | src/remotedebug/bee/rdebug_utility.cpp | fesily/lua-debug | b23434a5e56635cece7012ff350c3574e553191c | [
"MIT"
] | 117 | 2016-10-22T09:52:51.000Z | 2019-02-14T02:08:05.000Z | src/remotedebug/bee/rdebug_utility.cpp | fesily/lua-debug | b23434a5e56635cece7012ff350c3574e553191c | [
"MIT"
] | 38 | 2016-11-02T08:52:49.000Z | 2019-02-14T03:08:46.000Z | src/remotedebug/bee/rdebug_utility.cpp | fesily/lua-debug | b23434a5e56635cece7012ff350c3574e553191c | [
"MIT"
] | 33 | 2016-10-31T10:54:20.000Z | 2019-01-17T07:02:07.000Z | #define RLUA_REPLACE
#include "../rlua.h"
#if defined(_WIN32)
#include <binding/lua_unicode.cpp>
#include <Windows.h>
#include <tlhelp32.h>
#else
#include <bee/lua/binding.h>
#endif
#include <bee/filesystem.h>
#include <bee/utility/path_helper.h>
#include <bee/utility/path_helper.cpp>
#include <signal.h>
namespace rde... | 30.081081 | 120 | 0.596286 | fesily |
a36f75e9164afd3b8e63a93e8809d4adcd298b8b | 10,230 | cpp | C++ | Net/testsuite/src/SMTPClientSessionTest.cpp | Agile-Solutions/poco | 10b18e0ce76d1f6c303e7b31ae55735f23df6e6c | [
"BSL-1.0"
] | null | null | null | Net/testsuite/src/SMTPClientSessionTest.cpp | Agile-Solutions/poco | 10b18e0ce76d1f6c303e7b31ae55735f23df6e6c | [
"BSL-1.0"
] | null | null | null | Net/testsuite/src/SMTPClientSessionTest.cpp | Agile-Solutions/poco | 10b18e0ce76d1f6c303e7b31ae55735f23df6e6c | [
"BSL-1.0"
] | 1 | 2019-10-21T03:40:54.000Z | 2019-10-21T03:40:54.000Z | //
// SMTPClientSessionTest.cpp
//
// $Id: //poco/1.4/Net/testsuite/src/SMTPClientSessionTest.cpp#1 $
//
// Copyright (c) 2005-2006, Applied Informatics Software Engineering GmbH.
// and Contributors.
//
// SPDX-License-Identifier: BSL-1.0
//
#include "SMTPClientSessionTest.h"
#include "Poco/CppUnit/TestCaller.h"
#in... | 30.628743 | 107 | 0.721994 | Agile-Solutions |
a36faf20a554ddc2dc0f35c9157059add2981c15 | 4,513 | cpp | C++ | fileOps.cpp | pepelawycliffe/Bank_system | 881bc1f639aea10996fd7e74c1a6033c804f110e | [
"MIT"
] | 3 | 2021-03-15T05:30:11.000Z | 2021-12-14T07:28:27.000Z | fileOps.cpp | pepelawycliffe/Bank_system | 881bc1f639aea10996fd7e74c1a6033c804f110e | [
"MIT"
] | null | null | null | fileOps.cpp | pepelawycliffe/Bank_system | 881bc1f639aea10996fd7e74c1a6033c804f110e | [
"MIT"
] | null | null | null | //
// basic opertion on text file in c++
// 1. include header file fstream in program
// 2. declare file stream object
// 3. open file with file stream object
// 4. use file stream object >>, << or other i/o functions
// 5. close the files.
// http://www.cppforschool.com/tutorial/files2.html
//
#include "p... | 18.495902 | 64 | 0.609794 | pepelawycliffe |
a371ceefa3c12514491f0e7888f94ee7ac12bb30 | 5,063 | cpp | C++ | src/dpp/planalg/BoustrophedonCpp.cpp | dagoodma/dubins_coverage | f05333b55fb2cb073bb572562726f8b711df54ad | [
"MIT"
] | 11 | 2017-09-28T00:56:51.000Z | 2022-03-16T16:02:56.000Z | src/dpp/planalg/BoustrophedonCpp.cpp | dagoodma/dubins_coverage | f05333b55fb2cb073bb572562726f8b711df54ad | [
"MIT"
] | null | null | null | src/dpp/planalg/BoustrophedonCpp.cpp | dagoodma/dubins_coverage | f05333b55fb2cb073bb572562726f8b711df54ad | [
"MIT"
] | 11 | 2016-12-16T03:32:45.000Z | 2021-08-31T06:54:03.000Z | /*
* Implementation of dpp::BoustrophdeonCpp class for solving CPP problems
* by generating field tracks that cover a convex field, and decomposing
* the tracks into waypoints by joining the tracks end-to-end.
*
* Copyright (C) 2014-2015 DubinsPathPlanner.
* Created by David Goodman <dagoodma@gmail.com>
* Redist... | 39.248062 | 110 | 0.698993 | dagoodma |
a3770e94c19fcfbcf9f40c416032fd012d68ee6a | 1,716 | cpp | C++ | Giga_v1/src/math/KDMath.cpp | azarashi2931/Giga-Project | 2acbd937bec01e6042453fe777f4182b6d67d9b7 | [
"MIT"
] | null | null | null | Giga_v1/src/math/KDMath.cpp | azarashi2931/Giga-Project | 2acbd937bec01e6042453fe777f4182b6d67d9b7 | [
"MIT"
] | null | null | null | Giga_v1/src/math/KDMath.cpp | azarashi2931/Giga-Project | 2acbd937bec01e6042453fe777f4182b6d67d9b7 | [
"MIT"
] | null | null | null | #include <Arduino.h>
#include <math.h>
#include "KDMath.hpp"
//コンパイルオプション -O3 コードサイズを大きくしてでも高速にする
//(unsigned int)i / 4;//掛け算割り算自動ビットシフト
//ポインタ &aでアドレス、*aで値
//int8_t int より速い、arduinoは8bit
//差の絶対値が十分に小さい…範囲で見る(+-)
//間違ってる&使わないので一時凍結
/*constexpr double ArcsinConstexpr(double x, int i = 10)
{
return i == 0 ? x :
... | 22.578947 | 136 | 0.588578 | azarashi2931 |
a37b9655d423e4c33115bda9a2f37e39072137af | 41,230 | cpp | C++ | src/mc_rbdyn/configuration_io.cpp | anastasiabolotnikova/mc_rtc | 694143deb4f58a30dae25a2c2ebbf4111dad8ef5 | [
"BSD-2-Clause"
] | null | null | null | src/mc_rbdyn/configuration_io.cpp | anastasiabolotnikova/mc_rtc | 694143deb4f58a30dae25a2c2ebbf4111dad8ef5 | [
"BSD-2-Clause"
] | null | null | null | src/mc_rbdyn/configuration_io.cpp | anastasiabolotnikova/mc_rtc | 694143deb4f58a30dae25a2c2ebbf4111dad8ef5 | [
"BSD-2-Clause"
] | null | null | null | /*
* Copyright 2015-2019 CNRS-UM LIRMM, CNRS-AIST JRL
*/
#include <mc_rbdyn/Robots.h>
#include <mc_rbdyn/configuration_io.h>
#include <RBDyn/parsers/urdf.h>
#include <sch-core/STP_BV.h>
#include <sch-core/STP_BV_P.h>
#include <sch-core/S_Box.h>
#include <sch-core/S_Capsule.h>
#include <sch-core/S_Cone.h>
#include ... | 31.837838 | 121 | 0.659932 | anastasiabolotnikova |
a37d635b90ad77a77cdc9596b1ef899c7fe04be4 | 3,234 | cpp | C++ | msvc/EuhatExpert/Expert/peer/FileMan/FileManCfgDlg.cpp | euhat/EuhatExpert | 3932238a0bd72a8f12b4ae6ced1ade6482228fe0 | [
"BSD-2-Clause"
] | null | null | null | msvc/EuhatExpert/Expert/peer/FileMan/FileManCfgDlg.cpp | euhat/EuhatExpert | 3932238a0bd72a8f12b4ae6ced1ade6482228fe0 | [
"BSD-2-Clause"
] | null | null | null | msvc/EuhatExpert/Expert/peer/FileMan/FileManCfgDlg.cpp | euhat/EuhatExpert | 3932238a0bd72a8f12b4ae6ced1ade6482228fe0 | [
"BSD-2-Clause"
] | null | null | null | #include "stdafx.h"
#include "../../Expert.h"
#include "FileManCfgDlg.h"
#include "FileManDlg.h"
#include "EuhatCertificateDlg.h"
#include <EuhatTabCtrl.h>
#include <dbop/DbOpIni.h>
#include <app/FileMan/client/FileManClient.h>
#include <app/FileMan/common/FileManType.h>
#include <common/JyTcpSelector.h>
#include <Euha... | 21.851351 | 132 | 0.74397 | euhat |
a37e06a6cb425e27f66ca1d39817d453db2fc10c | 2,784 | cpp | C++ | Algorithms/searching/symbolTable/SequentialSearchST/SequentialSearchST/main.cpp | mingyuefly/geekTimeCode | d97c5f29a429ac9cc7289ac34e049ea43fa58822 | [
"MIT"
] | 1 | 2019-05-01T04:51:14.000Z | 2019-05-01T04:51:14.000Z | Algorithms/searching/symbolTable/SequentialSearchST/SequentialSearchST/main.cpp | mingyuefly/geekTimeCode | d97c5f29a429ac9cc7289ac34e049ea43fa58822 | [
"MIT"
] | null | null | null | Algorithms/searching/symbolTable/SequentialSearchST/SequentialSearchST/main.cpp | mingyuefly/geekTimeCode | d97c5f29a429ac9cc7289ac34e049ea43fa58822 | [
"MIT"
] | null | null | null | //
// main.cpp
// SequentialSearchST
//
// Created by mingyue on 2022/2/8.
// Copyright © 2022 Gmingyue. All rights reserved.
//
#include <iostream>
using namespace std;
typedef struct Comparable {
public:
int value;
int compareTo(Comparable a) {
return value - a.value;
}
}Comparable;
typede... | 22.095238 | 78 | 0.496408 | mingyuefly |
a37e46a6000ce06dce3bd15241732698b5ea23d7 | 462 | hpp | C++ | src/parts/messages/order_update.hpp | Maxim-byte/simba_decoder | 2c8f28cff6ca79fe8a94698620dc476e1a9634e5 | [
"MIT"
] | null | null | null | src/parts/messages/order_update.hpp | Maxim-byte/simba_decoder | 2c8f28cff6ca79fe8a94698620dc476e1a9634e5 | [
"MIT"
] | null | null | null | src/parts/messages/order_update.hpp | Maxim-byte/simba_decoder | 2c8f28cff6ca79fe8a94698620dc476e1a9634e5 | [
"MIT"
] | null | null | null | #pragma once
#include <cstdint>
#include "../../utility/types.hpp"
namespace incremental {
struct order_update
{
std::int64_t md_entry_id;
types::decimal5 md_entry_px;
std::int64_t md_entry_size;
std::uint64_t md_flags; //enum class md_flags_set
std::int32_t security_i... | 20.086957 | 57 | 0.625541 | Maxim-byte |
a37f504a1de3a095b1920fe526169e57cd95bc1f | 6,681 | cc | C++ | src/Core/Algorithms/Legacy/Fields/MarchingCubes/TriMC.cc | mckees/SCIRun | 40c2c5b17925181bd2581ab8e11b325d58618165 | [
"MIT"
] | null | null | null | src/Core/Algorithms/Legacy/Fields/MarchingCubes/TriMC.cc | mckees/SCIRun | 40c2c5b17925181bd2581ab8e11b325d58618165 | [
"MIT"
] | null | null | null | src/Core/Algorithms/Legacy/Fields/MarchingCubes/TriMC.cc | mckees/SCIRun | 40c2c5b17925181bd2581ab8e11b325d58618165 | [
"MIT"
] | null | null | null | /*
For more information, please see: http://software.sci.utah.edu
The MIT License
Copyright (c) 2020 Scientific Computing and Imaging Institute,
University of Utah.
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the ... | 25.116541 | 91 | 0.640174 | mckees |
a37f6f48529648e84379a01f66ddf551a1fc1a86 | 2,713 | hh | C++ | plugin/ServiceGenerator.hh | sroycode/zqrpc | aa2eee8b794f71998e0861f40f0a4e9895d2c527 | [
"MIT"
] | 6 | 2015-01-08T17:09:43.000Z | 2022-01-28T01:45:57.000Z | plugin/ServiceGenerator.hh | sroycode/zqrpc | aa2eee8b794f71998e0861f40f0a4e9895d2c527 | [
"MIT"
] | null | null | null | plugin/ServiceGenerator.hh | sroycode/zqrpc | aa2eee8b794f71998e0861f40f0a4e9895d2c527 | [
"MIT"
] | 3 | 2016-03-04T10:54:42.000Z | 2022-01-28T01:45:59.000Z | #ifndef _ZQRPC_SERVICE_GENERATOR_HH_
#define _ZQRPC_SERVICE_GENERATOR_HH_
#include <google/protobuf/descriptor.h>
#include <google/protobuf/stubs/common.h>
#include <map>
#include <string>
namespace google {
namespace protobuf {
class ServiceDescriptor;
} // namespace protobuf
} // namespace google
namespace googl... | 29.48913 | 78 | 0.732031 | sroycode |
a380f1dc9d2301f64fafee241c6f968e74e58164 | 8,538 | hpp | C++ | src/helics/application_api/ValueConverter_impl.hpp | corinnegroth/HELICS | b8eda371b081a7d391d019c14bba5cf5042ae590 | [
"BSD-3-Clause"
] | null | null | null | src/helics/application_api/ValueConverter_impl.hpp | corinnegroth/HELICS | b8eda371b081a7d391d019c14bba5cf5042ae590 | [
"BSD-3-Clause"
] | null | null | null | src/helics/application_api/ValueConverter_impl.hpp | corinnegroth/HELICS | b8eda371b081a7d391d019c14bba5cf5042ae590 | [
"BSD-3-Clause"
] | null | null | null | /*
Copyright (c) 2017-2020,
Battelle Memorial Institute; Lawrence Livermore National Security, LLC; Alliance for Sustainable Energy, LLC. See
the top-level NOTICE for additional details. All rights reserved.
SPDX-License-Identifier: BSD-3-Clause
*/
#pragma once
/** the purpose of these objects are to convert a specif... | 26.433437 | 114 | 0.622043 | corinnegroth |
a381218ae56ba2adec1fe81c03f9c95e54ac228e | 9,324 | cpp | C++ | src/debug/di/shimevents.cpp | CyberSys/coreclr-mono | 83b2cb83b32faa45b4f790237b5c5e259692294a | [
"MIT"
] | 10 | 2015-11-03T16:35:25.000Z | 2021-07-31T16:36:29.000Z | src/debug/di/shimevents.cpp | CyberSys/coreclr-mono | 83b2cb83b32faa45b4f790237b5c5e259692294a | [
"MIT"
] | 1 | 2019-03-05T18:50:09.000Z | 2019-03-05T18:50:09.000Z | src/debug/di/shimevents.cpp | CyberSys/coreclr-mono | 83b2cb83b32faa45b4f790237b5c5e259692294a | [
"MIT"
] | 4 | 2015-10-28T12:26:26.000Z | 2021-09-04T11:36:04.000Z | //
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
//*****************************************************************************
// File: ShimEvents.cpp
//
//
// The V3 ICD debugging APIs have a lower abstracti... | 31.714286 | 159 | 0.529172 | CyberSys |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.