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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f5ae32e32a5638d8fef7af97cff86068943bda25 | 201 | cpp | C++ | ComputerGraphics/Script.cpp | ylzf0000/TinyGameEngine | d15c3eb80189d91ed430eca1089475213ef0cad3 | [
"MIT"
] | null | null | null | ComputerGraphics/Script.cpp | ylzf0000/TinyGameEngine | d15c3eb80189d91ed430eca1089475213ef0cad3 | [
"MIT"
] | null | null | null | ComputerGraphics/Script.cpp | ylzf0000/TinyGameEngine | d15c3eb80189d91ed430eca1089475213ef0cad3 | [
"MIT"
] | null | null | null | #include "stdafx.h"
#include "Script.h"
#include "Object.h"
#include "Mesh.h"
#include "Transform.h"
cg::Script::Script(Object *pObj) :pObject(pObj), transform(pObj->transform), pMesh(pObj->pMesh)
{}
| 22.333333 | 95 | 0.706468 | ylzf0000 |
f5aedeeaf31c124b8443217321b012f263ebce23 | 1,065 | hpp | C++ | src/backend/cuda/Param.hpp | ckeitz/arrayfire | a1a1bbbc8487a032eb27a6c894b1b3dfb19d123b | [
"BSD-3-Clause"
] | 4 | 2015-12-16T09:41:32.000Z | 2018-10-29T10:38:53.000Z | src/backend/cuda/Param.hpp | ckeitz/arrayfire | a1a1bbbc8487a032eb27a6c894b1b3dfb19d123b | [
"BSD-3-Clause"
] | 3 | 2015-11-15T18:43:47.000Z | 2015-12-16T09:43:14.000Z | src/backend/cuda/Param.hpp | pavanky/arrayfire | f983a79c7d402450bd2a704bbc1015b89f0cd504 | [
"BSD-3-Clause"
] | null | null | null | /*******************************************************
* Copyright (c) 2014, ArrayFire
* All rights reserved.
*
* This file is distributed under 3-clause BSD license.
* The complete license agreement can be obtained at:
* http://arrayfire.com/licenses/BSD-3-Clause
**********************************************... | 19.722222 | 83 | 0.504225 | ckeitz |
f5b37d1b06dc760e0ba78f9280eeca201e8afdef | 3,200 | cpp | C++ | ExplorerXP/TextUtil.cpp | avrionov/explorerxp | c68bf161bb77bf5c9b3476be0e795d23bb0b6b5f | [
"Apache-2.0"
] | 12 | 2016-11-10T01:21:48.000Z | 2022-02-16T00:03:50.000Z | ExplorerXP/TextUtil.cpp | avrionov/explorerxp | c68bf161bb77bf5c9b3476be0e795d23bb0b6b5f | [
"Apache-2.0"
] | 4 | 2021-05-28T03:58:27.000Z | 2022-01-02T13:13:36.000Z | ExplorerXP/TextUtil.cpp | avrionov/explorerxp | c68bf161bb77bf5c9b3476be0e795d23bb0b6b5f | [
"Apache-2.0"
] | 2 | 2016-12-21T15:06:39.000Z | 2022-01-26T08:43:44.000Z | /* Copyright 2002-2020 Nikolay Avrionov. All Rights Reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or... | 17.486339 | 74 | 0.632188 | avrionov |
f5b442608e25181a2e86f9403215f627de5eb23e | 305 | hpp | C++ | src/renderbufferformat.hpp | mharrys/gust | db458cd604d5d560844c0f7c2364f098fd6937a0 | [
"MIT"
] | 6 | 2016-07-25T06:44:23.000Z | 2020-11-08T11:19:11.000Z | src/renderbufferformat.hpp | mharrys/gust | db458cd604d5d560844c0f7c2364f098fd6937a0 | [
"MIT"
] | null | null | null | src/renderbufferformat.hpp | mharrys/gust | db458cd604d5d560844c0f7c2364f098fd6937a0 | [
"MIT"
] | 1 | 2019-06-05T13:02:32.000Z | 2019-06-05T13:02:32.000Z | #ifndef RENDERBUFFERFORMAT_HPP_INCLUDED
#define RENDERBUFFERFORMAT_HPP_INCLUDED
namespace gst
{
// Supported renderbuffer storage formats.
enum class RenderbufferFormat {
DEPTH_COMPONENT16,
DEPTH_COMPONENT24,
DEPTH_COMPONENT32,
DEPTH_COMPONENT32F
};
}
#endif
| 19.0625 | 46 | 0.727869 | mharrys |
f5bb9e00f615f3bb76cc87691eb8a7aab5dc1fd4 | 7,660 | hpp | C++ | include/Core/Transform/Polygon.hpp | mjopenglsdl/ObEngine | a56116c8cdf1ce30b7fadb749f8ca4df54e5ee36 | [
"MIT"
] | null | null | null | include/Core/Transform/Polygon.hpp | mjopenglsdl/ObEngine | a56116c8cdf1ce30b7fadb749f8ca4df54e5ee36 | [
"MIT"
] | null | null | null | include/Core/Transform/Polygon.hpp | mjopenglsdl/ObEngine | a56116c8cdf1ce30b7fadb749f8ca4df54e5ee36 | [
"MIT"
] | null | null | null | #pragma once
#include <functional>
#include <memory>
#include <optional>
#include <vector>
#include <Transform/Movable.hpp>
#include <Transform/Rect.hpp>
#include <Transform/UnitBasedObject.hpp>
#include <Transform/UnitVector.hpp>
namespace obe::Transform
{
class Polygon;
using point_index_t = unsigned int;... | 45.595238 | 156 | 0.663316 | mjopenglsdl |
f5bf0ad176c860aed0ec40730959b6320c256315 | 35,812 | cpp | C++ | DT3LevelEditor/Animation/EdLevelAnimationWindow.cpp | nemerle/DT3 | 801615d507eda9764662f3a34339aa676170e93a | [
"MIT"
] | 3 | 2016-01-27T13:17:18.000Z | 2019-03-19T09:18:25.000Z | DT3LevelEditor/Animation/EdLevelAnimationWindow.cpp | nemerle/DT3 | 801615d507eda9764662f3a34339aa676170e93a | [
"MIT"
] | 1 | 2016-01-28T14:39:49.000Z | 2016-01-28T22:12:07.000Z | DT3LevelEditor/Animation/EdLevelAnimationWindow.cpp | adderly/DT3 | e2605be091ec903d3582e182313837cbaf790857 | [
"MIT"
] | 3 | 2016-01-25T16:44:51.000Z | 2021-01-29T19:59:45.000Z | //==============================================================================
///
/// File: EdLevelAnimationWindow.cpp
///
/// Copyright (C) 2000-2014 by Smells Like Donkey Software Inc. All rights reserved.
///
/// This file is subject to the terms and conditions defined in
/// file 'LICENSE.txt', which is part o... | 34.500963 | 211 | 0.501703 | nemerle |
f5c1054a308d3b17d7a75fc95ddf2f5624dd9ea8 | 12,266 | cpp | C++ | folly/experimental/coro/test/AsyncGeneratorTest.cpp | muralivemulapati/folly | d7808b52813448e4535455e87fbea838a2307ce7 | [
"Apache-2.0"
] | null | null | null | folly/experimental/coro/test/AsyncGeneratorTest.cpp | muralivemulapati/folly | d7808b52813448e4535455e87fbea838a2307ce7 | [
"Apache-2.0"
] | null | null | null | folly/experimental/coro/test/AsyncGeneratorTest.cpp | muralivemulapati/folly | d7808b52813448e4535455e87fbea838a2307ce7 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2019-present Facebook, 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 a... | 27.502242 | 78 | 0.628974 | muralivemulapati |
f5cd8edcce6b2ab80301b10999ca540023b06dc7 | 28,923 | cxx | C++ | Interaction/Widgets/vtkPointHandleRepresentation3D.cxx | DmitrySemikin/vtk-mirror | 7e70ac8c84797c7603686bd9bf8030c2ad8f101f | [
"BSD-3-Clause"
] | 1 | 2021-07-21T07:15:44.000Z | 2021-07-21T07:15:44.000Z | Interaction/Widgets/vtkPointHandleRepresentation3D.cxx | DmitrySemikin/vtk-mirror | 7e70ac8c84797c7603686bd9bf8030c2ad8f101f | [
"BSD-3-Clause"
] | null | null | null | Interaction/Widgets/vtkPointHandleRepresentation3D.cxx | DmitrySemikin/vtk-mirror | 7e70ac8c84797c7603686bd9bf8030c2ad8f101f | [
"BSD-3-Clause"
] | 2 | 2020-03-24T14:09:05.000Z | 2021-09-17T09:30:26.000Z | /*=========================================================================
Program: Visualization Toolkit
Module: vtkPointHandleRepresentation3D.cxx
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
... | 32.136667 | 99 | 0.608097 | DmitrySemikin |
f5cedba503219973d90e24eda157451a4a95d3c5 | 83,256 | cpp | C++ | runtime/variable.cpp | redm-pro/mLang | 67f12ecb9f8d451d2eeab1ed00e6e709ff52945d | [
"BSD-3-Clause"
] | null | null | null | runtime/variable.cpp | redm-pro/mLang | 67f12ecb9f8d451d2eeab1ed00e6e709ff52945d | [
"BSD-3-Clause"
] | null | null | null | runtime/variable.cpp | redm-pro/mLang | 67f12ecb9f8d451d2eeab1ed00e6e709ff52945d | [
"BSD-3-Clause"
] | null | null | null | /*
$Author = Sargis Ananyan;
$Corp = RedM Inc;
$Web = https://redm.pro/;
$Lincese = BSD 3;
$Name = mLang;
$Description = A programming language for web programming.;
*/
#pragma once
bool empty_bool __attribute__ ((weak));
int empty_int __attribute__ ((weak));
double empty_float __attribute__ ((weak));
string empty_st... | 23.255866 | 142 | 0.58576 | redm-pro |
f5cfafb744c7a053234516e2b4e10677edfc6c9f | 9,424 | cpp | C++ | src/models/bwc/stsu_data_istream.cpp | steptosky/3DsMax-X-Obj-Exporter | c70f5a60056ee71aba1569f1189c38b9e01d2f0e | [
"BSD-3-Clause"
] | 20 | 2017-07-07T06:07:30.000Z | 2022-03-09T12:00:57.000Z | src/models/bwc/stsu_data_istream.cpp | steptosky/3DsMax-X-Obj-Exporter | c70f5a60056ee71aba1569f1189c38b9e01d2f0e | [
"BSD-3-Clause"
] | 28 | 2017-07-07T06:08:27.000Z | 2022-03-09T12:09:23.000Z | src/models/bwc/stsu_data_istream.cpp | steptosky/3DsMax-X-Obj-Exporter | c70f5a60056ee71aba1569f1189c38b9e01d2f0e | [
"BSD-3-Clause"
] | 7 | 2018-01-24T19:43:22.000Z | 2020-01-06T00:05:40.000Z | /*
** Copyright(C) 2017, StepToSky
**
** 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 the following di... | 32.608997 | 106 | 0.463073 | steptosky |
f5d718cde2194d572b700cd9ed350c21a449b747 | 17,638 | cpp | C++ | src/qt/blocknetquicksend.cpp | mraksoll4/scalaris1 | f6e677780f51d570ff1ad8177e003fb8936aacc0 | [
"MIT"
] | 2 | 2021-04-11T15:25:15.000Z | 2021-10-01T17:37:19.000Z | src/qt/blocknetquicksend.cpp | mraksoll4/scalaris1 | f6e677780f51d570ff1ad8177e003fb8936aacc0 | [
"MIT"
] | null | null | null | src/qt/blocknetquicksend.cpp | mraksoll4/scalaris1 | f6e677780f51d570ff1ad8177e003fb8936aacc0 | [
"MIT"
] | 5 | 2021-03-24T11:53:45.000Z | 2021-11-24T00:49:08.000Z | // Copyright (c) 2018-2019 The Blocknet developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <qt/blocknetquicksend.h>
#include <qt/blocknetaddressbook.h>
#include <qt/blocknethdiv.h>
#include <qt/blockneticonbtn.... | 46.052219 | 141 | 0.688003 | mraksoll4 |
f5d75d5299d2004eb65463fa93108348b0cf7f4c | 20,819 | cpp | C++ | src/storage/data_table.cpp | hjhhsy120/terrier | c53e1ac9de629ec340c42e9797a7460fdf2a56dc | [
"MIT"
] | 1 | 2019-03-08T18:59:57.000Z | 2019-03-08T18:59:57.000Z | src/storage/data_table.cpp | LiuXiaoxuanPKU/terrier | 35916e9435201016903d8a01e3f587b8edb36f0b | [
"MIT"
] | 34 | 2019-03-21T20:47:59.000Z | 2019-05-17T06:06:46.000Z | src/storage/data_table.cpp | LiuXiaoxuanPKU/terrier | 35916e9435201016903d8a01e3f587b8edb36f0b | [
"MIT"
] | null | null | null | #include "storage/data_table.h"
#include <pthread.h>
#include <cstring>
#include <list>
#include <unordered_map>
#include "common/allocator.h"
#include "storage/block_access_controller.h"
#include "storage/storage_util.h"
#include "transaction/transaction_context.h"
#include "transaction/transaction_util.h"
namespace ... | 48.870892 | 120 | 0.706662 | hjhhsy120 |
f5d9a478ce87317c90a39a2bb45891a397feaf34 | 14,016 | cpp | C++ | tilefetcher.cpp | ateijelo/steps | 85392492fd6011c7af8f2de1604abee6f6f4b9df | [
"Apache-2.0"
] | 1 | 2019-06-03T21:20:49.000Z | 2019-06-03T21:20:49.000Z | tilefetcher.cpp | ateijelo/steps | 85392492fd6011c7af8f2de1604abee6f6f4b9df | [
"Apache-2.0"
] | null | null | null | tilefetcher.cpp | ateijelo/steps | 85392492fd6011c7af8f2de1604abee6f6f4b9df | [
"Apache-2.0"
] | 1 | 2018-11-12T12:35:18.000Z | 2018-11-12T12:35:18.000Z | /*
* tilefetcher.cpp -- part of Steps, a simple maps app
*
* Copyright 2009-2016 Andy Teijelo <www.ateijelo.com>
*
* 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.ap... | 28.37247 | 116 | 0.560859 | ateijelo |
f5d9d030b9be8ddae444348af6c7a5ba2a530626 | 49,061 | cpp | C++ | Direct3D/ShadowMap/shadowmap.cpp | walbourn/directx-sdk-legacy-samples | 93e8cc554b5ecb5cd574a06071ed784b6cb73fc5 | [
"MIT"
] | 27 | 2021-03-01T23:50:39.000Z | 2022-03-04T03:27:17.000Z | Direct3D/ShadowMap/shadowmap.cpp | walbourn/directx-sdk-legacy-samples | 93e8cc554b5ecb5cd574a06071ed784b6cb73fc5 | [
"MIT"
] | 3 | 2021-03-02T00:39:56.000Z | 2021-12-02T19:50:03.000Z | Direct3D/ShadowMap/shadowmap.cpp | walbourn/directx-sdk-legacy-samples | 93e8cc554b5ecb5cd574a06071ed784b6cb73fc5 | [
"MIT"
] | 3 | 2021-03-29T16:23:54.000Z | 2022-03-05T08:35:05.000Z | //--------------------------------------------------------------------------------------
// File: ShadowMap.cpp
//
// Starting point for new Direct3D applications
//
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License (MIT).
//----------------------------------------------------------------... | 44.763686 | 128 | 0.573001 | walbourn |
f5da61636291a496c1598e7b1bfba63cad7ea3ce | 1,970 | cpp | C++ | examples/Example5/Menu.cpp | hasaranga/RFC-Framework | 9c1881d412db6f9f7670b910a0918a631208cfd1 | [
"MIT"
] | 9 | 2017-10-02T08:15:50.000Z | 2021-08-09T21:29:46.000Z | examples/Example5/Menu.cpp | hasaranga/RFC-Framework | 9c1881d412db6f9f7670b910a0918a631208cfd1 | [
"MIT"
] | 1 | 2021-09-18T07:38:53.000Z | 2021-09-26T12:11:48.000Z | examples/Example5/Menu.cpp | hasaranga/RFC-Framework | 9c1881d412db6f9f7670b910a0918a631208cfd1 | [
"MIT"
] | 8 | 2017-10-02T13:21:29.000Z | 2021-07-30T09:35:31.000Z |
#include "../../amalgamated/rfc_amalgamated.h"
class MyWindow : public KFrame, public KMenuItemListener
{
protected:
KMenuBar menuBar;
KMenu mFile, mEdit, mHelp;
KMenuItem miOpen, miExit, miCut, miCopy, miPaste, miAbout;
public:
MyWindow()
{
this->SetText(L"My Window");
this->Create();
miOpen.SetText(L"... | 21.648352 | 100 | 0.706091 | hasaranga |
f5db9b1cd4ab5149de5c2222e5504e1d8fafbf02 | 2,726 | cpp | C++ | Day7/Day7.cpp | ATRI17Z/adventofcode18 | 5d743d7d277b416e3b5a287b0df598c4d5d67c6f | [
"MIT"
] | 1 | 2018-12-05T18:32:50.000Z | 2018-12-05T18:32:50.000Z | Day7/Day7.cpp | ATRI17Z/adventofcode18 | 5d743d7d277b416e3b5a287b0df598c4d5d67c6f | [
"MIT"
] | null | null | null | Day7/Day7.cpp | ATRI17Z/adventofcode18 | 5d743d7d277b416e3b5a287b0df598c4d5d67c6f | [
"MIT"
] | null | null | null | #include <iostream>
#include <fstream>
#include <sstream>
#include <string>
#include <vector>
#include <map>
#include <deque>
#include <algorithm>
#include <climits>
#include <chrono>
#include "InstructionScheduler.h"
std::string getInputAsString(std::string);
std::vector<std::string> getInputPerLines(std::string);
... | 26.211538 | 127 | 0.65077 | ATRI17Z |
f5dd62ffee22fc4d427e125832b5a72e4e6777dc | 2,215 | cpp | C++ | test/test_stable_sort_large.cpp | pruthvistony/rocThrust | c986b97395d4a6cbacc7a4600d11bdf389de639a | [
"Apache-2.0"
] | null | null | null | test/test_stable_sort_large.cpp | pruthvistony/rocThrust | c986b97395d4a6cbacc7a4600d11bdf389de639a | [
"Apache-2.0"
] | null | null | null | test/test_stable_sort_large.cpp | pruthvistony/rocThrust | c986b97395d4a6cbacc7a4600d11bdf389de639a | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2008-2013 NVIDIA Corporation
* Modifications Copyright© 2019 Advanced Micro Devices, 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
*
* ... | 34.609375 | 83 | 0.722799 | pruthvistony |
f5def028edf9cc51d0028f1345017031b1c31b25 | 947 | cpp | C++ | #Preparation/Placement-Overview/PrepInsta/max-contiguos-array.cpp | sounishnath003/CPP-for-beginner | d4755ab4ae098d63c9a0666d8eb4d152106d4a20 | [
"MIT"
] | 4 | 2020-05-14T04:41:04.000Z | 2021-06-13T06:42:03.000Z | #Preparation/Placement-Overview/PrepInsta/max-contiguos-array.cpp | sounishnath003/CPP-for-beginner | d4755ab4ae098d63c9a0666d8eb4d152106d4a20 | [
"MIT"
] | null | null | null | #Preparation/Placement-Overview/PrepInsta/max-contiguos-array.cpp | sounishnath003/CPP-for-beginner | d4755ab4ae098d63c9a0666d8eb4d152106d4a20 | [
"MIT"
] | null | null | null | #include<bits/stdc++.h>
#define fo(i, n) for(int i = 1; i < n; i++)
using namespace std ;
#define deb(x) {cout << #x << " " << x << endl ;}
int max_contiguos_subarray(vector<int> &nums) {
stack<int> cached ;
cached.push(nums[0]) ; int n = nums.size() ;
int cnt = INT_MIN, t = 0 ;
if(is_sorted(nums.begi... | 24.921053 | 77 | 0.510032 | sounishnath003 |
f5df0e72004df1e45f4c36c00742299324900e40 | 1,209 | hpp | C++ | include/nodamushi/svd/value/void_value.hpp | nodamushi/nsvd-reader | cf3a840aaac78d5791df1cf045596ec20dc03257 | [
"CC0-1.0"
] | null | null | null | include/nodamushi/svd/value/void_value.hpp | nodamushi/nsvd-reader | cf3a840aaac78d5791df1cf045596ec20dc03257 | [
"CC0-1.0"
] | null | null | null | include/nodamushi/svd/value/void_value.hpp | nodamushi/nsvd-reader | cf3a840aaac78d5791df1cf045596ec20dc03257 | [
"CC0-1.0"
] | null | null | null | /*!
@brief value<void>
@file nodamushi/svd/value/void_value.hpp
*/
/*
* These codes are licensed under CC0.
* http://creativecommons.org/publicdomain/zero/1.0/
*/
#ifndef NODAMUSHI_SVD_VALUE_VOID_VALUE_HPP
#define NODAMUSHI_SVD_VALUE_VOID_VALUE_HPP
# include "nodamushi/svd/value.hpp"
namespace nodamushi{... | 26.866667 | 82 | 0.74359 | nodamushi |
f5e62da46a8c8e64f061e76cbf2b946a01371188 | 3,721 | cpp | C++ | aws-cpp-sdk-lambda/source/model/UpdateEventSourceMappingRequest.cpp | blinemedical/aws-sdk-cpp | c7c814b2d6862b4cb48f3fb3ac083a9e419674e8 | [
"Apache-2.0"
] | null | null | null | aws-cpp-sdk-lambda/source/model/UpdateEventSourceMappingRequest.cpp | blinemedical/aws-sdk-cpp | c7c814b2d6862b4cb48f3fb3ac083a9e419674e8 | [
"Apache-2.0"
] | null | null | null | aws-cpp-sdk-lambda/source/model/UpdateEventSourceMappingRequest.cpp | blinemedical/aws-sdk-cpp | c7c814b2d6862b4cb48f3fb3ac083a9e419674e8 | [
"Apache-2.0"
] | 1 | 2022-03-23T15:17:18.000Z | 2022-03-23T15:17:18.000Z | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/lambda/model/UpdateEventSourceMappingRequest.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::Lambda::Model;
using namespace Aws::Utils::Json;... | 28.189394 | 185 | 0.795485 | blinemedical |
f5e7fb6b5b4a64f49bd06875a5235830160f3ff3 | 46,697 | cpp | C++ | cmdstan/stan/lib/stan_math/test/unit/math/mix/mat/fun/operator_subtraction_test.cpp | yizhang-cae/torsten | dc82080ca032325040844cbabe81c9a2b5e046f9 | [
"BSD-3-Clause"
] | null | null | null | cmdstan/stan/lib/stan_math/test/unit/math/mix/mat/fun/operator_subtraction_test.cpp | yizhang-cae/torsten | dc82080ca032325040844cbabe81c9a2b5e046f9 | [
"BSD-3-Clause"
] | null | null | null | cmdstan/stan/lib/stan_math/test/unit/math/mix/mat/fun/operator_subtraction_test.cpp | yizhang-cae/torsten | dc82080ca032325040844cbabe81c9a2b5e046f9 | [
"BSD-3-Clause"
] | null | null | null | #include <stan/math/mix/mat.hpp>
#include <gtest/gtest.h>
#include <test/unit/math/rev/mat/fun/util.hpp>
using stan::math::fvar;
TEST(AgradMixMatrixOperatorSubtraction,fv_scalar_matrix_1stDeriv) {
using stan::math::subtract;
using stan::math::matrix_fv;
matrix_fv v(2,2);
v << 1, 2, 3, 4;
v(0).d_ = 1.0;
... | 31.172897 | 111 | 0.635351 | yizhang-cae |
f5eb05845bb9112c7134f335fdd99bbdd7ccb202 | 2,507 | cpp | C++ | src/AppService.cpp | lan143/aqua_controller_esp8266 | 74a9a2a185037ae465898bcf797adfc7e560aebd | [
"MIT"
] | null | null | null | src/AppService.cpp | lan143/aqua_controller_esp8266 | 74a9a2a185037ae465898bcf797adfc7e560aebd | [
"MIT"
] | null | null | null | src/AppService.cpp | lan143/aqua_controller_esp8266 | 74a9a2a185037ae465898bcf797adfc7e560aebd | [
"MIT"
] | null | null | null | /**
* MIT License
*
* Copyright (c) 2018-2019 Kravchenko Artyom
*
* 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... | 31.734177 | 81 | 0.716394 | lan143 |
f5f4b5d10ebf69721c7cacaaa442f4ff7f57d79c | 128 | cpp | C++ | tensorflow-yolo-ios/dependencies/eigen/doc/snippets/SelfAdjointEigenSolver_compute_MatrixType2.cpp | initialz/tensorflow-yolo-face-ios | ba74cf39168d0128e91318e65a1b88ce4d65a167 | [
"MIT"
] | 27 | 2017-06-07T19:07:32.000Z | 2020-10-15T10:09:12.000Z | tensorflow-yolo-ios/dependencies/eigen/doc/snippets/SelfAdjointEigenSolver_compute_MatrixType2.cpp | initialz/tensorflow-yolo-face-ios | ba74cf39168d0128e91318e65a1b88ce4d65a167 | [
"MIT"
] | 3 | 2017-08-25T17:39:46.000Z | 2017-11-18T03:40:55.000Z | tensorflow-yolo-ios/dependencies/eigen/doc/snippets/SelfAdjointEigenSolver_compute_MatrixType2.cpp | initialz/tensorflow-yolo-face-ios | ba74cf39168d0128e91318e65a1b88ce4d65a167 | [
"MIT"
] | 10 | 2017-06-16T18:04:45.000Z | 2018-07-05T17:33:01.000Z | version https://git-lfs.github.com/spec/v1
oid sha256:8aa5ed706dca5c634da572b1fb1bbb853d4587e7f5852d746790690c0ed3cd7e
size 396
| 32 | 75 | 0.882813 | initialz |
f5f6075e06cee2818ca127e1d624ec7ff946fbc9 | 6,510 | cpp | C++ | Redneck/ReInstructionGenerator.cpp | MurielSoftware/Muriel | 169ab5a96e1cf70b47f7892906a3dca2d6481ae3 | [
"Apache-2.0"
] | 1 | 2017-03-01T12:15:27.000Z | 2017-03-01T12:15:27.000Z | Redneck/ReInstructionGenerator.cpp | MurielSoftware/Muriel | 169ab5a96e1cf70b47f7892906a3dca2d6481ae3 | [
"Apache-2.0"
] | 1 | 2017-03-01T12:19:17.000Z | 2017-03-01T12:19:52.000Z | Redneck/ReInstructionGenerator.cpp | MurielSoftware/Muriel | 169ab5a96e1cf70b47f7892906a3dca2d6481ae3 | [
"Apache-2.0"
] | null | null | null | #include "stdafx.h"
#include "ReInstructionGenerator.h"
#include "ReExpression.h"
#include "ReInstruction.h"
#include "ReBinaryOperationExpression.h"
#include "ReIfExpression.h"
#include "ReDeclarationExpression.h"
#include "ReAssociationExpression.h"
#include "ReValueExpression.h"
#include "ReIdentifierExpres... | 36.988636 | 128 | 0.747773 | MurielSoftware |
f5fc7cad59b5ad1db760f6bee7dd14efb13c592d | 8,377 | cpp | C++ | src/Selector.cpp | cppcooper/gumbo-query | f4c69278f09616e6275acd0dd2ea1d22f3785dc8 | [
"MIT"
] | 1 | 2022-02-28T15:51:39.000Z | 2022-02-28T15:51:39.000Z | src/Selector.cpp | cppcooper/gumbo-query | f4c69278f09616e6275acd0dd2ea1d22f3785dc8 | [
"MIT"
] | null | null | null | src/Selector.cpp | cppcooper/gumbo-query | f4c69278f09616e6275acd0dd2ea1d22f3785dc8 | [
"MIT"
] | null | null | null | /***************************************************************************
*
* $Id$
*
**************************************************************************/
/**
* @file $HeadURL$
* @author $Author$(hoping@baimashi.com)
* @date $Date$
* @version $Revision$
* @brief
*
**/
#include <gumbo-query/Se... | 19.34642 | 91 | 0.586726 | cppcooper |
f5fd1c55ef8abe98b3ce3a1103a32e218c189f88 | 2,257 | cpp | C++ | SysProgTemplate_SS_15/Buffer/src/Buffer.cpp | SystemOfAProg/SysProg | 75cec3d856033b5bada8b9af2290c692cb2084da | [
"MIT"
] | null | null | null | SysProgTemplate_SS_15/Buffer/src/Buffer.cpp | SystemOfAProg/SysProg | 75cec3d856033b5bada8b9af2290c692cb2084da | [
"MIT"
] | null | null | null | SysProgTemplate_SS_15/Buffer/src/Buffer.cpp | SystemOfAProg/SysProg | 75cec3d856033b5bada8b9af2290c692cb2084da | [
"MIT"
] | 1 | 2018-10-11T08:52:27.000Z | 2018-10-11T08:52:27.000Z | /*
* Buffer.cpp
*
* Created on: Sep 26, 2012
* Author: sofa1011
*/
using namespace std;
#include "../includes/Buffer.h"
#include <iostream>
#include <fstream>
#include <stdlib.h>
#include <unistd.h>
Buffer::Buffer( int bufferSize) {
size = bufferSize;
buffer1 = new char[bufferSize];
buffer2 = new char... | 21.701923 | 93 | 0.625609 | SystemOfAProg |
eb02baeea0b3dbeb7a460df319181fcff99baa62 | 2,278 | cpp | C++ | apps/settings/Settings.cpp | seldon1000/fairwindplusplus | 26cf18e0ecf49c642e24cc504d56722eaddd1399 | [
"Apache-2.0"
] | null | null | null | apps/settings/Settings.cpp | seldon1000/fairwindplusplus | 26cf18e0ecf49c642e24cc504d56722eaddd1399 | [
"Apache-2.0"
] | null | null | null | apps/settings/Settings.cpp | seldon1000/fairwindplusplus | 26cf18e0ecf49c642e24cc504d56722eaddd1399 | [
"Apache-2.0"
] | null | null | null | //
// Created by __author__ on 18/01/2022.
//
#include <FairWindSdk/settings/FairComboBox.hpp>
#include <FairWindSdk/settings/FairLineEdit.hpp>
#include <FairWindSdk/settings/FairCheckBox.hpp>
#include <FairWindSdk/settings/DisplaysBrowser.hpp>
#include <FairWindSdk/settings/LayersBrowser.hpp>
#include "Settings.hpp"
... | 27.119048 | 81 | 0.651888 | seldon1000 |
eb04decdd2e600bf815af60cbb8d329c507c2a7f | 14,982 | cpp | C++ | Matrix3x3.cpp | mbrandonw/opengl_physics_engine | 422815999f0dc14335d1b4238c58ce7813d58038 | [
"MIT"
] | 1 | 2018-05-07T18:29:18.000Z | 2018-05-07T18:29:18.000Z | Matrix3x3.cpp | mbrandonw/opengl_physics_engine | 422815999f0dc14335d1b4238c58ce7813d58038 | [
"MIT"
] | null | null | null | Matrix3x3.cpp | mbrandonw/opengl_physics_engine | 422815999f0dc14335d1b4238c58ce7813d58038 | [
"MIT"
] | null | null | null | /* ---------------------------------------------------------------------------
*
* Matrix2x2 class - Michael Brandon Williams
*
* Matrix2x2.cpp
*
* ---------------------------------------------------------------------------
*/
#include "Matrix3x3.h"
Matrix3x3::Matrix3x3()
{
elements[0][0] =... | 26.376761 | 103 | 0.551128 | mbrandonw |
eb0b3574be11276e7637fc8ad52a432e7a735406 | 600 | hpp | C++ | ios/IOS/IPCLog.hpp | StarMKWii/saoirse | 1acd4b2c56a30b6e105130cb6a58f95dd4d5d440 | [
"MIT"
] | 7 | 2022-02-16T18:21:22.000Z | 2022-02-27T18:39:07.000Z | ios/IOS/IPCLog.hpp | StarMKWii/saoirse | 1acd4b2c56a30b6e105130cb6a58f95dd4d5d440 | [
"MIT"
] | 2 | 2022-02-16T18:36:14.000Z | 2022-02-21T02:10:42.000Z | ios/IOS/IPCLog.hpp | StarMKWii/saoirse | 1acd4b2c56a30b6e105130cb6a58f95dd4d5d440 | [
"MIT"
] | 1 | 2022-02-16T18:32:08.000Z | 2022-02-16T18:32:08.000Z | // IPCLog.hpp - IOS to PowerPC logging through IPC
// Written by Palapeli
//
// Copyright (C) 2022 Team Saoirse
// SPDX-License-Identifier: MIT
#pragma once
#include <System/OS.hpp>
#include <System/Types.h>
class IPCLog
{
public:
static IPCLog* sInstance;
static constexpr int printSize = 256;
IPCLog(... | 19.354839 | 50 | 0.683333 | StarMKWii |
eb0ca5d8f491f3ebc3d3e2104e38c20e89a3d41c | 5,049 | cc | C++ | build/fuchsia/pkg/lib/vfs/cpp/service_unittest.cc | chinmaygarde/buildroot | 6b69caa4c7a04b6e81709bedd52297f29c2b1a14 | [
"BSD-3-Clause"
] | 1 | 2020-12-04T02:06:21.000Z | 2020-12-04T02:06:21.000Z | build/fuchsia/pkg/lib/vfs/cpp/service_unittest.cc | mdempsky/flutter_buildroot | 765b0ea58a095374a73943ad78471b915c2d63e1 | [
"BSD-3-Clause"
] | null | null | null | build/fuchsia/pkg/lib/vfs/cpp/service_unittest.cc | mdempsky/flutter_buildroot | 765b0ea58a095374a73943ad78471b915c2d63e1 | [
"BSD-3-Clause"
] | 1 | 2019-08-26T02:16:11.000Z | 2019-08-26T02:16:11.000Z | // Copyright 2019 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "lib/vfs/cpp/service.h"
#include <fidl/examples/echo/cpp/fidl.h>
#include <lib/fdio/vfs.h>
#include <lib/fidl/cpp/binding_set.h>
#include "lib/gt... | 33 | 80 | 0.655575 | chinmaygarde |
eb11c96949100356f0f01fb55f00ffa29279f7bf | 584 | cpp | C++ | max7219/src/main.cpp | snakeye/stm32-projects | ed20e723dc1e50111c6b547fc142665b7db7843b | [
"MIT"
] | null | null | null | max7219/src/main.cpp | snakeye/stm32-projects | ed20e723dc1e50111c6b547fc142665b7db7843b | [
"MIT"
] | null | null | null | max7219/src/main.cpp | snakeye/stm32-projects | ed20e723dc1e50111c6b547fc142665b7db7843b | [
"MIT"
] | null | null | null | #include <SPI.h>
#include "LedMatrix.h"
#define NUMBER_OF_DEVICES 1
#define CS_PIN PB8
SPIClass SPI_2(PA7, PA6, PA5);
LedMatrix ledMatrix = LedMatrix(NUMBER_OF_DEVICES, CS_PIN);
int x = 0;
void setup()
{
ledMatrix.init();
ledMatrix.setIntensity(3);
ledMatrix.setText("MAX7219 Animation Demo");
led... | 16.222222 | 59 | 0.643836 | snakeye |
eb12579345dbf532985963fd617dd2411b575fe3 | 8,709 | cpp | C++ | src/layers/medWidgets/medWidgets.cpp | arthursw/medInria-public | d52af882c36f0d96cc433cc1a4082accaa1ca11a | [
"BSD-4-Clause"
] | 61 | 2015-04-14T13:00:50.000Z | 2022-03-09T22:22:18.000Z | src/layers/medWidgets/medWidgets.cpp | arthursw/medInria-public | d52af882c36f0d96cc433cc1a4082accaa1ca11a | [
"BSD-4-Clause"
] | 510 | 2016-02-03T13:28:18.000Z | 2022-03-23T10:23:44.000Z | src/layers/medWidgets/medWidgets.cpp | arthursw/medInria-public | d52af882c36f0d96cc433cc1a4082accaa1ca11a | [
"BSD-4-Clause"
] | 36 | 2015-03-03T22:58:19.000Z | 2021-12-28T18:19:23.000Z | /*=========================================================================
medInria
Copyright (c) INRIA 2013 - 2018. All rights reserved.
See LICENSE.txt for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.... | 21.450739 | 84 | 0.620393 | arthursw |
eb12e8c106cc2023e2424f6bdea758c0671c1f82 | 1,152 | cpp | C++ | acm/siweishixun/F.cpp | xiaohuihuigh/cpp | c28bdb79ecb86f44a92971ac259910546dba29a7 | [
"MIT"
] | 17 | 2016-01-01T12:57:25.000Z | 2022-02-06T09:55:12.000Z | acm/siweishixun/F.cpp | xiaohuihuigh/cpp | c28bdb79ecb86f44a92971ac259910546dba29a7 | [
"MIT"
] | null | null | null | acm/siweishixun/F.cpp | xiaohuihuigh/cpp | c28bdb79ecb86f44a92971ac259910546dba29a7 | [
"MIT"
] | 8 | 2018-12-27T01:31:49.000Z | 2022-02-06T09:55:12.000Z | #include <iostream>
#include <sstream>
#include <ios>
#include <iomanip>
#include <functional>
#include <algorithm>
#include <vector>
#include <string>
#include <list>
#include <queue>
#include <deque>
#include <stack>
#include <set>
#include <map>
#include <cstdio>
#include <cstdlib>
#include <cmath>
#include <cstring... | 12.659341 | 60 | 0.625 | xiaohuihuigh |
eb14d23764369379aee9cfa82cf6393c07699923 | 5,358 | cpp | C++ | stack/stackTest.cpp | hballaba/STL | d1064c102e87f6d871b61d251b9f383bead7b056 | [
"Unlicense"
] | null | null | null | stack/stackTest.cpp | hballaba/STL | d1064c102e87f6d871b61d251b9f383bead7b056 | [
"Unlicense"
] | null | null | null | stack/stackTest.cpp | hballaba/STL | d1064c102e87f6d871b61d251b9f383bead7b056 | [
"Unlicense"
] | null | null | null | #include "stack.hpp"
#include <stack>
#include <vector>
#include <deque>
# define G "\e[92m\e[1m"
# define D "\e[39m\e[0m"
# define R "\e[91m"
# define Y "\e[93m"
int main() {
try {
/****** CONSTRUCTOR ********/
{
std::cout << Y "My constructor\n" D;
std::deque<int> m... | 38.271429 | 109 | 0.447555 | hballaba |
a3e1fe9e435a8a803c5e1fa8f3443340cc22002a | 11,551 | hpp | C++ | object_database/View.hpp | APrioriInvestments/object_database | d44b8432490b36b1ace67de0e23fb59f7ce9b529 | [
"Apache-2.0"
] | 2 | 2021-02-23T18:28:40.000Z | 2021-04-18T03:00:53.000Z | object_database/View.hpp | APrioriInvestments/object_database | d44b8432490b36b1ace67de0e23fb59f7ce9b529 | [
"Apache-2.0"
] | 115 | 2019-10-08T18:32:58.000Z | 2021-02-12T20:16:14.000Z | object_database/View.hpp | APrioriInvestments/object_database | d44b8432490b36b1ace67de0e23fb59f7ce9b529 | [
"Apache-2.0"
] | null | null | null | /******************************************************************************
Copyright 2017-2019 object_database 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:/... | 30.23822 | 114 | 0.644793 | APrioriInvestments |
a3e4539f4971a33311c2b5d816d06f0e2708ab7e | 1,121 | hpp | C++ | include/SSVOpenHexagon/Global/Version.hpp | PKPenguin321/SSVOpenHexagon | 1fcc25fea8f0ef6845d9b5502455a76563df91c3 | [
"AFL-3.0"
] | 20 | 2021-12-02T17:49:54.000Z | 2022-03-26T05:52:26.000Z | include/SSVOpenHexagon/Global/Version.hpp | PKPenguin321/SSVOpenHexagon | 1fcc25fea8f0ef6845d9b5502455a76563df91c3 | [
"AFL-3.0"
] | 4 | 2022-01-07T19:06:01.000Z | 2022-03-28T01:26:16.000Z | include/SSVOpenHexagon/Global/Version.hpp | PKPenguin321/SSVOpenHexagon | 1fcc25fea8f0ef6845d9b5502455a76563df91c3 | [
"AFL-3.0"
] | 1 | 2022-01-27T09:18:06.000Z | 2022-01-27T09:18:06.000Z | // Copyright (c) 2013-2020 Vittorio Romeo
// License: Academic Free License ("AFL") v. 3.0
// AFL License page: https://opensource.org/licenses/AFL-3.0
#pragma once
namespace hg {
// Allow us to represent the game's version in a major.minor.micro format
struct GameVersion
{
int major;
int minor;
int micr... | 22.42 | 73 | 0.58876 | PKPenguin321 |
a3eebe0c006811c0ed4bb8aed14a43b19205af91 | 432 | cpp | C++ | Firmware/unit_tests/tests/LcdBacklightTest/LcdBacklightTest.cpp | zukaitis/midi-grid | 527ad37348983f481511fef52d1645eab3a2f60e | [
"BSD-3-Clause"
] | 59 | 2018-03-17T10:32:48.000Z | 2022-03-19T17:59:29.000Z | Firmware/unit_tests/tests/LcdBacklightTest/LcdBacklightTest.cpp | zukaitis/midi-grid | 527ad37348983f481511fef52d1645eab3a2f60e | [
"BSD-3-Clause"
] | 3 | 2019-11-12T09:49:59.000Z | 2020-12-09T11:55:00.000Z | Firmware/unit_tests/tests/LcdBacklightTest/LcdBacklightTest.cpp | zukaitis/midi-grid | 527ad37348983f481511fef52d1645eab3a2f60e | [
"BSD-3-Clause"
] | 10 | 2019-03-14T22:53:39.000Z | 2021-12-26T13:42:20.000Z | #include <gtest/gtest.h>
#include "lcd/backlight/Backlight.h"
#include "hardware/lcd/MockBacklightDriver.h"
#include "freertos/MockThread.h"
int main( int argc, char **argv)
{
testing::InitGoogleTest(&argc, argv);
return RUN_ALL_TESTS();
}
TEST( BacklightConstructor, Create )
{
hardware::lcd::MockBa... | 20.571429 | 59 | 0.722222 | zukaitis |
a3f449eedbe5c0a195b2ab24f722062600fb5af9 | 28,928 | cc | C++ | attestation/server/pkcs11_key_store_test.cc | kalyankondapally/chromiumos-platform2 | 5e5337009a65b1c9aa9e0ea565f567438217e91f | [
"BSD-3-Clause"
] | null | null | null | attestation/server/pkcs11_key_store_test.cc | kalyankondapally/chromiumos-platform2 | 5e5337009a65b1c9aa9e0ea565f567438217e91f | [
"BSD-3-Clause"
] | null | null | null | attestation/server/pkcs11_key_store_test.cc | kalyankondapally/chromiumos-platform2 | 5e5337009a65b1c9aa9e0ea565f567438217e91f | [
"BSD-3-Clause"
] | 1 | 2020-11-04T22:31:45.000Z | 2020-11-04T22:31:45.000Z | // Copyright 2015 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 "attestation/server/pkcs11_key_store.h"
#include <map>
#include <string>
#include <vector>
#include <base/logging.h>
#include <base/strings/... | 45.05919 | 80 | 0.723106 | kalyankondapally |
a3f58ec8fd42d988fae022d5766d218c5ed405b7 | 6,695 | cpp | C++ | sources/GeoElementSide.cpp | Kauehenrik/FemCourseEigenClass2021 | d4927d92b541fdd2b2aa1fa424a413dd561ae96e | [
"MIT"
] | 1 | 2021-06-12T13:21:51.000Z | 2021-06-12T13:21:51.000Z | sources/GeoElementSide.cpp | Kauehenrik/FemCourseEigenClass2021 | d4927d92b541fdd2b2aa1fa424a413dd561ae96e | [
"MIT"
] | null | null | null | sources/GeoElementSide.cpp | Kauehenrik/FemCourseEigenClass2021 | d4927d92b541fdd2b2aa1fa424a413dd561ae96e | [
"MIT"
] | null | null | null | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
#include "GeoMesh.h"
#include "GeoElementSide.h"
///\cond
#include <stdio.h>
#include <algorithm>
///\endcond
GeoElementSide::GeoEl... | 33.143564 | 142 | 0.603137 | Kauehenrik |
4300268d0f5301e77ea9c96dfab712a5cc04d5c6 | 3,084 | cpp | C++ | msv_main/src/msv_main_node.cpp | daconjurer/ros_msv | dbf70083588b869172ac74f187b81166e78c8da1 | [
"BSD-3-Clause"
] | 2 | 2021-07-13T22:02:43.000Z | 2022-03-10T15:46:58.000Z | msv_main/src/msv_main_node.cpp | daconjurer/ros_msv | dbf70083588b869172ac74f187b81166e78c8da1 | [
"BSD-3-Clause"
] | null | null | null | msv_main/src/msv_main_node.cpp | daconjurer/ros_msv | dbf70083588b869172ac74f187b81166e78c8da1 | [
"BSD-3-Clause"
] | null | null | null | /*********************************************************************
* Software License Agreement (BSD License)
*
* Copyright (c) 2019, Robótica de la Mixteca
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the follow... | 40.578947 | 89 | 0.652724 | daconjurer |
4300b783305b277b46054bd480c590ebb58db0e2 | 5,015 | hpp | C++ | include/System/Net/NetworkCredential.hpp | darknight1050/BeatSaber-Quest-Codegen | a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032 | [
"Unlicense"
] | null | null | null | include/System/Net/NetworkCredential.hpp | darknight1050/BeatSaber-Quest-Codegen | a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032 | [
"Unlicense"
] | null | null | null | include/System/Net/NetworkCredential.hpp | darknight1050/BeatSaber-Quest-Codegen | a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032 | [
"Unlicense"
] | null | null | null | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "extern/beatsaber-hook/shared/utils/typedefs.h"
// Including type: System.Net.ICredentials
#include "System/Net/ICredentials.hpp"
#inclu... | 46.869159 | 222 | 0.700698 | darknight1050 |
430245be8e7100d866ddb34000ed7c0890073a00 | 396 | cpp | C++ | bracket.cpp | W-YXN/MyNOIPProjects | 0269a8385a6c8d87511236146f374f39dcdd2b82 | [
"Apache-2.0"
] | null | null | null | bracket.cpp | W-YXN/MyNOIPProjects | 0269a8385a6c8d87511236146f374f39dcdd2b82 | [
"Apache-2.0"
] | null | null | null | bracket.cpp | W-YXN/MyNOIPProjects | 0269a8385a6c8d87511236146f374f39dcdd2b82 | [
"Apache-2.0"
] | 1 | 2019-01-19T01:05:07.000Z | 2019-01-19T01:05:07.000Z | /*
#include <iostream>
#include <cstdlib>
#include <cmath>
#include <algorithm>
#include <stack>
#include <string>
#include <cstring>
using namespace std;
stack<int> st;
int main(){
string s;
cin>>s;
//cout<<"F@ck you";
for(int i=0;i<s.length();i++){
if(s[i]=='(') st.push(i);
if(s[i]==')... | 18 | 38 | 0.527778 | W-YXN |
430397d271dd238409778828ff1bf6fc5a793d68 | 4,759 | cpp | C++ | Runtime/MP1/CSamusFaceReflection.cpp | Jcw87/urde | fb9ea9092ad00facfe957ece282a86c194e9cbda | [
"MIT"
] | 267 | 2016-03-10T21:59:16.000Z | 2021-03-28T18:21:03.000Z | Runtime/MP1/CSamusFaceReflection.cpp | cobalt2727/metaforce | 3bb05c0ee5dd9b1b8eaa861fc49713aef62c844a | [
"MIT"
] | 129 | 2016-03-12T10:17:32.000Z | 2021-04-05T20:45:19.000Z | Runtime/MP1/CSamusFaceReflection.cpp | cobalt2727/metaforce | 3bb05c0ee5dd9b1b8eaa861fc49713aef62c844a | [
"MIT"
] | 31 | 2016-03-20T00:20:11.000Z | 2021-03-10T21:14:11.000Z | #include "Runtime/MP1/CSamusFaceReflection.hpp"
#include "Runtime/CStateManager.hpp"
#include "Runtime/GameGlobalObjects.hpp"
#include "Runtime/Camera/CFirstPersonCamera.hpp"
#include "Runtime/World/CPlayer.hpp"
#include "Runtime/World/CWorld.hpp"
#include "TCastTo.hpp" // Generated file, do not modify include path
... | 44.896226 | 119 | 0.699517 | Jcw87 |
4304992ce677ed0a51c999f03119555651941668 | 5,160 | cpp | C++ | AIPDebug/Out-Moc/moc_pic.cpp | Bluce-Song/Master-AIP | 1757ab392504d839de89460da17630d268ff3eed | [
"Apache-2.0"
] | null | null | null | AIPDebug/Out-Moc/moc_pic.cpp | Bluce-Song/Master-AIP | 1757ab392504d839de89460da17630d268ff3eed | [
"Apache-2.0"
] | null | null | null | AIPDebug/Out-Moc/moc_pic.cpp | Bluce-Song/Master-AIP | 1757ab392504d839de89460da17630d268ff3eed | [
"Apache-2.0"
] | null | null | null | /****************************************************************************
** Meta object code from reading C++ file 'pic.h'
**
** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************... | 36.595745 | 191 | 0.609496 | Bluce-Song |
430643a9b2aaca52dc58d619aad3b73e7f160d38 | 1,423 | cpp | C++ | Source/SumoUE4Editor/Private/Factories/SumoNetworkAssetFactory.cpp | iwer/SumoUE4 | 8f2e5281a0b94e46cff97e1e2b535eca0f021dd6 | [
"MIT"
] | 4 | 2021-08-31T09:40:18.000Z | 2022-02-07T02:48:25.000Z | Source/SumoUE4Editor/Private/Factories/SumoNetworkAssetFactory.cpp | iwer/SumoUE4 | 8f2e5281a0b94e46cff97e1e2b535eca0f021dd6 | [
"MIT"
] | null | null | null | Source/SumoUE4Editor/Private/Factories/SumoNetworkAssetFactory.cpp | iwer/SumoUE4 | 8f2e5281a0b94e46cff97e1e2b535eca0f021dd6 | [
"MIT"
] | 2 | 2021-07-18T02:29:21.000Z | 2022-02-07T02:48:28.000Z | // Copyright (c) Iwer Petersen. All rights reserved.
#include "SumoNetworkAssetFactory.h"
#include "SumoNetworkAsset.h"
#include "SumoNetworkParser.h"
USumoNetworkAssetFactory::USumoNetworkAssetFactory( const FObjectInitializer& ObjectInitializer )
: Super(ObjectInitializer)
{
SupportedClass = USumoNetworkAsset:... | 34.707317 | 97 | 0.556571 | iwer |
430739accc1c4d49b2f5740770d83ca719f25717 | 15,341 | cpp | C++ | Developments/solidity-develop/libsolidity/interface/StandardCompiler.cpp | jansenbarabona/NFT-Game-Development | 49bf6593925123f0212dac13badd609be3866561 | [
"MIT"
] | null | null | null | Developments/solidity-develop/libsolidity/interface/StandardCompiler.cpp | jansenbarabona/NFT-Game-Development | 49bf6593925123f0212dac13badd609be3866561 | [
"MIT"
] | null | null | null | Developments/solidity-develop/libsolidity/interface/StandardCompiler.cpp | jansenbarabona/NFT-Game-Development | 49bf6593925123f0212dac13badd609be3866561 | [
"MIT"
] | null | null | null | /*
This file is part of solidity.
solidity is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
solidity is distributed in the hope that i... | 30.620758 | 156 | 0.715338 | jansenbarabona |
43080d177f46fb72ce682e4cbc4d4d59f9ab2773 | 12,463 | cpp | C++ | black-scholes-omp/blackScholesAnalyticEngine.cpp | BeauJoh/HeCBench | 594b845171d686dc951971ce36ed59cf114dd2b4 | [
"BSD-3-Clause"
] | 58 | 2020-08-06T18:53:44.000Z | 2021-10-01T07:59:46.000Z | black-scholes-omp/blackScholesAnalyticEngine.cpp | BeauJoh/HeCBench | 594b845171d686dc951971ce36ed59cf114dd2b4 | [
"BSD-3-Clause"
] | 2 | 2020-12-04T12:35:02.000Z | 2021-03-04T22:49:25.000Z | black-scholes-omp/blackScholesAnalyticEngine.cpp | BeauJoh/HeCBench | 594b845171d686dc951971ce36ed59cf114dd2b4 | [
"BSD-3-Clause"
] | 13 | 2020-08-19T13:44:18.000Z | 2021-09-08T04:25:34.000Z | //blackScholesAnalyticEngine.cpp
//Functions for running black scholes using the analytic engine (from Quantlib) on the GPU
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <sys/time.h>
#include <time.h>
#define NUM_DIFF_SETTINGS 37
//needed for optionInputStruct
#include "blackScholesAnalyticEngine... | 36.229651 | 126 | 0.584209 | BeauJoh |
430e66876b32f5d02868476d2af6e5bb3895cfd5 | 19,921 | cpp | C++ | authkeys.cpp | lool/bootgen | 6bea30996979f085701542d8905966240545cd8e | [
"Apache-2.0",
"CC0-1.0"
] | null | null | null | authkeys.cpp | lool/bootgen | 6bea30996979f085701542d8905966240545cd8e | [
"Apache-2.0",
"CC0-1.0"
] | null | null | null | authkeys.cpp | lool/bootgen | 6bea30996979f085701542d8905966240545cd8e | [
"Apache-2.0",
"CC0-1.0"
] | null | null | null | /******************************************************************************
* Copyright 2015-2020 Xilinx, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/li... | 29.468935 | 135 | 0.460268 | lool |
43101b0ae11df976c4f2821f837e019a0c5d5c96 | 8,242 | cpp | C++ | apps/log/src/main_log.cpp | ShmFw/shmfw | d386841f8b1425cbeca8c8a3fc6919bf8d83c38e | [
"BSD-3-Clause"
] | 1 | 2016-02-06T14:57:32.000Z | 2016-02-06T14:57:32.000Z | apps/log/src/main_log.cpp | ShmFw/shmfw | d386841f8b1425cbeca8c8a3fc6919bf8d83c38e | [
"BSD-3-Clause"
] | null | null | null | apps/log/src/main_log.cpp | ShmFw/shmfw | d386841f8b1425cbeca8c8a3fc6919bf8d83c38e | [
"BSD-3-Clause"
] | 1 | 2018-11-07T02:45:24.000Z | 2018-11-07T02:45:24.000Z | /***************************************************************************
* Software License Agreement (BSD License) *
* Copyright (C) 2012 by Markus Bader <markus.bader@tuwien.ac.at> *
* *
* Redistr... | 43.378947 | 180 | 0.575467 | ShmFw |
4310b7e363a524d20b0f5c04306fecfce32c5f94 | 59,237 | cc | C++ | deps/exokit-bindings/glfw/src/glfw.cc | Palmer-JC/exokit | 55ee5a36d97c6bda5d380780632631b13ba0c8d2 | [
"MIT"
] | 547 | 2019-04-07T14:34:01.000Z | 2022-03-25T08:58:50.000Z | deps/exokit-bindings/glfw/src/glfw.cc | TizenTeam/exokit | 7734835a71cf5dff4575aafb2ecd9c9ad339977c | [
"MIT"
] | 514 | 2018-03-22T00:31:38.000Z | 2019-04-06T21:16:45.000Z | deps/exokit-bindings/glfw/src/glfw.cc | TizenTeam/exokit | 7734835a71cf5dff4575aafb2ecd9c9ad339977c | [
"MIT"
] | 120 | 2019-04-15T18:36:25.000Z | 2022-03-03T01:11:34.000Z | #include <glfw/include/glfw.h>
#include <windowsystem.h>
#include <webgl.h>
#include "canvas/src/stb_image.h"
#include <exout>
#if defined(TARGET_OS_MAC) || defined(__linux__)
#define MAIN_THREAD_POLLING 1
#endif
namespace glfw {
thread_local NATIVEwindow *currentWindow = nullptr;
std::mutex windowHandleMutex;
NATI... | 33.074819 | 160 | 0.68258 | Palmer-JC |
43116fbcfeff073fa6844712bf33c37cbe5fb7b9 | 955 | cpp | C++ | codeforces/B - Equalize Prices/Accepted.cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | 1 | 2022-02-11T16:55:36.000Z | 2022-02-11T16:55:36.000Z | codeforces/B - Equalize Prices/Accepted.cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | null | null | null | codeforces/B - Equalize Prices/Accepted.cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | null | null | null | /****************************************************************************************
* @author: kzvd4729 created: Jun/28/2019 19:22
* solution_verdict: Accepted language: GNU C++14
* run... | 35.37037 | 111 | 0.362304 | kzvd4729 |
4323ae1e55c975972ce0e40f3dd94e4413e2ae15 | 11,278 | cpp | C++ | FEM_2D_Plane_Stress.cpp | JoshuaSimon/2D-FEM-Solver | 9f3c19b760350338a33445e9817e1c077f4718d5 | [
"MIT"
] | 3 | 2019-03-27T12:45:51.000Z | 2019-08-25T09:41:56.000Z | FEM_2D_Plane_Stress.cpp | JoshuaSimon/2D-FEM-Solver | 9f3c19b760350338a33445e9817e1c077f4718d5 | [
"MIT"
] | null | null | null | FEM_2D_Plane_Stress.cpp | JoshuaSimon/2D-FEM-Solver | 9f3c19b760350338a33445e9817e1c077f4718d5 | [
"MIT"
] | null | null | null | // FEM_2D_Plane_Stress.cpp (Main)
#include "pch.h"
#include "FEM_Input.h"
#include "FEM_GNUPlot.h"
#include <Eigen/Dense>
#include <Eigen/Sparse>
#include <string>
#include <vector>
#include <iostream>
#include <fstream>
//Element data type
struct Element
{
void CalculateStiffnessMatrix(const Eigen::M... | 32.976608 | 119 | 0.628835 | JoshuaSimon |
43284a7fd3c9e1f4ccdf2ccee67e81a16209caba | 1,971 | cpp | C++ | Kernel/src/Arch/x86_64/Keyboard.cpp | adi-g15/LemonOS | 47a15ecc0efe47eeebde0b63d668fb70c9e22b57 | [
"BSD-2-Clause"
] | null | null | null | Kernel/src/Arch/x86_64/Keyboard.cpp | adi-g15/LemonOS | 47a15ecc0efe47eeebde0b63d668fb70c9e22b57 | [
"BSD-2-Clause"
] | null | null | null | Kernel/src/Arch/x86_64/Keyboard.cpp | adi-g15/LemonOS | 47a15ecc0efe47eeebde0b63d668fb70c9e22b57 | [
"BSD-2-Clause"
] | null | null | null | #include <Scheduler.h>
#include <System.h>
#include <IDT.h>
#include <Logging.h>
#include <APIC.h>
#include <Fs/Filesystem.h>
#include <Device.h>
#define KEY_QUEUE_SIZE 256
namespace Keyboard{
uint8_t keyQueue[KEY_QUEUE_SIZE];
unsigned short keyQueueEnd = 0;
unsigned short keyQueueStart = 0;
unsigned short ke... | 21.423913 | 66 | 0.572806 | adi-g15 |
4328e957fb7479b0a77f7dcadab32172d0f6d6e1 | 4,136 | hpp | C++ | include/boost/hana/detail/variadic/foldr1.hpp | rbock/hana | 2b76377f91a5ebe037dea444e4eaabba6498d3a8 | [
"BSL-1.0"
] | 2 | 2015-05-07T14:29:13.000Z | 2015-07-04T10:59:46.000Z | include/boost/hana/detail/variadic/foldr1.hpp | rbock/hana | 2b76377f91a5ebe037dea444e4eaabba6498d3a8 | [
"BSL-1.0"
] | null | null | null | include/boost/hana/detail/variadic/foldr1.hpp | rbock/hana | 2b76377f91a5ebe037dea444e4eaabba6498d3a8 | [
"BSL-1.0"
] | null | null | null | /*!
@file
Defines `boost::hana::detail::variadic::foldr1`.
@copyright Louis Dionne 2014
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
*/
#ifndef BOOST_HANA_DETAIL_VARIADIC_FOLDR1_HPP
#define BOOST_HANA_DETAIL_VARIADIC_FOLDR1_... | 34.181818 | 105 | 0.626692 | rbock |
43292ae2fa0c40ac72238dbd4ef74774a4d4a9e1 | 2,945 | cc | C++ | src/atlas/mesh/actions/ExtendNodesGlobal.cc | twsearle/atlas | a1916fd521f9935f846004e6194f80275de4de83 | [
"Apache-2.0"
] | 67 | 2018-03-01T06:56:49.000Z | 2022-03-08T18:44:47.000Z | src/atlas/mesh/actions/ExtendNodesGlobal.cc | twsearle/atlas | a1916fd521f9935f846004e6194f80275de4de83 | [
"Apache-2.0"
] | 93 | 2018-12-07T17:38:04.000Z | 2022-03-31T10:04:51.000Z | src/atlas/mesh/actions/ExtendNodesGlobal.cc | twsearle/atlas | a1916fd521f9935f846004e6194f80275de4de83 | [
"Apache-2.0"
] | 33 | 2018-02-28T17:06:19.000Z | 2022-01-20T12:12:27.000Z | /*
* (C) Copyright 2013 ECMWF.
*
* 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.
* In applying this licence, ECMWF does not waive the privileges and immunities
* granted to it by virtue of its status as an intergo... | 32.362637 | 91 | 0.64618 | twsearle |
432e5c2df7b0ea0380037b8c7691972f3e4e8c52 | 2,611 | cpp | C++ | higan/target-bsnes/settings/hotkeys.cpp | 13824125580/higan | fbdd3f980b65412c362096579869ae76730e4118 | [
"Intel",
"ISC"
] | 10 | 2019-12-19T01:19:41.000Z | 2021-02-18T16:30:29.000Z | higan/target-bsnes/settings/hotkeys.cpp | 13824125580/higan | fbdd3f980b65412c362096579869ae76730e4118 | [
"Intel",
"ISC"
] | null | null | null | higan/target-bsnes/settings/hotkeys.cpp | 13824125580/higan | fbdd3f980b65412c362096579869ae76730e4118 | [
"Intel",
"ISC"
] | null | null | null | auto HotkeySettings::create() -> void {
setIcon(Icon::Device::Keyboard);
setText("Hotkeys");
layout.setPadding(5);
mappingList.setBatchable();
mappingList.setHeadered();
mappingList.onActivate([&] {
if(assignButton.enabled()) assignButton.doActivate();
});
mappingList.onChange([&] {
auto batche... | 30.717647 | 133 | 0.692838 | 13824125580 |
432ebabcf62086404963b5b3d0bcd883448fcd26 | 5,214 | hpp | C++ | PathTracer/src/GDIWindow.hpp | Guarneri1743/PathTracer | 2eb4297ddbc425771dde5575fc67c054395b240d | [
"MIT"
] | null | null | null | PathTracer/src/GDIWindow.hpp | Guarneri1743/PathTracer | 2eb4297ddbc425771dde5575fc67c054395b240d | [
"MIT"
] | null | null | null | PathTracer/src/GDIWindow.hpp | Guarneri1743/PathTracer | 2eb4297ddbc425771dde5575fc67c054395b240d | [
"MIT"
] | null | null | null | #ifndef _GDI_WINDOW_
#define _GDI_WINDOW_
namespace Guarneri
{
static LRESULT event_callback(HWND, UINT, WPARAM, LPARAM);
static bool closed;
class GDIWindow
{
public:
void* framebuffer;
int width;
int height;
float aspect;
LPCSTR title;
LPCSTR name;
bool initialized;
int buffer_size;
HWND wind... | 25.684729 | 162 | 0.71097 | Guarneri1743 |
432f3d25a1dc81fab25c7e663e92e05d21de5d10 | 1,006 | cpp | C++ | mIon/Engine.cpp | Svensational/mIon | e72aec811a60592b9e7f5bf456bede83fc8ef509 | [
"MIT"
] | null | null | null | mIon/Engine.cpp | Svensational/mIon | e72aec811a60592b9e7f5bf456bede83fc8ef509 | [
"MIT"
] | null | null | null | mIon/Engine.cpp | Svensational/mIon | e72aec811a60592b9e7f5bf456bede83fc8ef509 | [
"MIT"
] | null | null | null | #include "Engine.h"
#include <thread>
namespace mion
{
Engine * Engine::s_pInstance = nullptr;
Engine::Engine() :
m_bRunning( false ),
m_pWindow( nullptr )
{
}
Engine::~Engine()
{
}
Engine * const Engine::getInstance()
{
return s_pInstance;
}
void Engine::renderLoop()
{
const std::chrono::high_res... | 18.981132 | 113 | 0.633201 | Svensational |
43312442df6f0bbff4cb5241d5bf75a40851a09a | 5,420 | cpp | C++ | Examples/Graph.cpp | haskellstudio/belle_old | a5ce86954b61dbacde1d1bf24472d95246be45e5 | [
"BSD-2-Clause"
] | null | null | null | Examples/Graph.cpp | haskellstudio/belle_old | a5ce86954b61dbacde1d1bf24472d95246be45e5 | [
"BSD-2-Clause"
] | null | null | null | Examples/Graph.cpp | haskellstudio/belle_old | a5ce86954b61dbacde1d1bf24472d95246be45e5 | [
"BSD-2-Clause"
] | null | null | null | /*
==============================================================================
Copyright 2007-2013 William Andrew Burnson. 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. Redistribut... | 40.75188 | 80 | 0.670295 | haskellstudio |
43354a170b1c217ee5bb68cebe6fab6e2b7b871c | 584 | cpp | C++ | CC/CF/UniqueNumber.cpp | MrRobo24/Codes | 9513f42b61e898577123d5b996e43ba7a067a019 | [
"MIT"
] | 1 | 2020-10-12T08:03:20.000Z | 2020-10-12T08:03:20.000Z | CC/CF/UniqueNumber.cpp | MrRobo24/Codes | 9513f42b61e898577123d5b996e43ba7a067a019 | [
"MIT"
] | null | null | null | CC/CF/UniqueNumber.cpp | MrRobo24/Codes | 9513f42b61e898577123d5b996e43ba7a067a019 | [
"MIT"
] | null | null | null | //AC
#include <bits/stdc++.h>
#define LLI long long
using namespace std;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
LLI t;
cin >> t;
while (t--) {
LLI x;
cin >> x;
if (x > 45) {
cout << -1 << "\n";
continue;
}
s... | 14.6 | 40 | 0.333904 | MrRobo24 |
433616b4fd14a9773fcbc76963fa29ec69c08b56 | 836 | cpp | C++ | storm/dp_knapsack_bottom-up.cpp | italo-batista/problems-solving | f83ad34f0abebd52925c4020635556f20743ba06 | [
"MIT"
] | null | null | null | storm/dp_knapsack_bottom-up.cpp | italo-batista/problems-solving | f83ad34f0abebd52925c4020635556f20743ba06 | [
"MIT"
] | null | null | null | storm/dp_knapsack_bottom-up.cpp | italo-batista/problems-solving | f83ad34f0abebd52925c4020635556f20743ba06 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
#include <cstdio>
#include <cstring>
#include <iostream>
#include <cstdlib>
#include <algorithm>
#define MAX 4000
using namespace std;
int n, s, peso[MAX], valor[MAX], dp[MAX][MAX];
int main() {
memset(dp, -1, sizeof(dp)); // dp[all i] = -1
cin >> s >> n;
for (int i=1; i<=n; i++) {
... | 15.481481 | 60 | 0.503589 | italo-batista |
433665e9296f999511098d4171f36eb6d3552a6e | 38,083 | cpp | C++ | src/asdxShader.cpp | ProjectAsura/asdx11 | 67c3d4129f3e6d32e66c64ee9354d873f99d0eaf | [
"MIT"
] | null | null | null | src/asdxShader.cpp | ProjectAsura/asdx11 | 67c3d4129f3e6d32e66c64ee9354d873f99d0eaf | [
"MIT"
] | null | null | null | src/asdxShader.cpp | ProjectAsura/asdx11 | 67c3d4129f3e6d32e66c64ee9354d873f99d0eaf | [
"MIT"
] | null | null | null | //-----------------------------------------------------------------------------
// File : asdxShader.h
// Desc : Shader Set Module.
// Copyright(c) Project Asura. ALl right reserved.
//-----------------------------------------------------------------------------
//-----------------------------------------------... | 30.712097 | 102 | 0.401675 | ProjectAsura |
4337b08acc7c11d11f0080fecfdd8a9033effeee | 50,009 | cxx | C++ | src/decomposition/path/path.cxx | huttered40/critter | 50609be057ff62b8f9f8018355736749bc83cfc9 | [
"BSD-2-Clause"
] | 1 | 2021-09-12T01:44:43.000Z | 2021-09-12T01:44:43.000Z | src/decomposition/path/path.cxx | huttered40/critter | 50609be057ff62b8f9f8018355736749bc83cfc9 | [
"BSD-2-Clause"
] | 20 | 2020-02-29T03:12:33.000Z | 2020-12-21T17:43:34.000Z | src/decomposition/path/path.cxx | huttered40/critter | 50609be057ff62b8f9f8018355736749bc83cfc9 | [
"BSD-2-Clause"
] | 1 | 2020-07-21T11:52:54.000Z | 2020-07-21T11:52:54.000Z | #include "path.h"
#include "../container/symbol_tracker.h"
#include "../../discretization/util/util.h"
#include "../util/util.h"
#include "../../util/util.h"
namespace critter{
namespace internal{
namespace decomposition{
void path::exchange_communicators(MPI_Comm oldcomm, MPI_Comm newcomm){
// Accumulate the compu... | 51.55567 | 175 | 0.707793 | huttered40 |
4337c0bd814d439575b21c2b54f38d573e1d0714 | 4,649 | cpp | C++ | Source/Gui/OptionBox.cpp | alvinahmadov/Dixter | 6f98f1e84192e1e43eee409bdee6b3dac75d6443 | [
"MIT"
] | 4 | 2018-12-06T01:20:50.000Z | 2019-08-04T10:19:23.000Z | Source/Gui/OptionBox.cpp | alvinahmadov/Dixter | 6f98f1e84192e1e43eee409bdee6b3dac75d6443 | [
"MIT"
] | null | null | null | Source/Gui/OptionBox.cpp | alvinahmadov/Dixter | 6f98f1e84192e1e43eee409bdee6b3dac75d6443 | [
"MIT"
] | null | null | null | /**
* Copyright (C) 2015-2019
* Author Alvin Ahmadov <alvin.dev.ahmadov@gmail.com>
*
* This file is part of Dixter Project
* License-Identifier: MIT License
* See README.md for more information.
*/
#include <QDebug>
#include "Utilities.hpp"
#include "Configuration.hpp"
#include "Constants.hpp"
#include "Gu... | 22.244019 | 102 | 0.640783 | alvinahmadov |
4338947a412da18f04207d6cd91e24b985b681b3 | 914 | cpp | C++ | RayTracing/Grid/UI/Float3Slider.cpp | DarriusWrightGD/realtimeraytracing | 1b1117858dcd8880ed88b59ce0388cfb39fc1d96 | [
"MIT"
] | 1 | 2020-03-27T18:59:57.000Z | 2020-03-27T18:59:57.000Z | RayTracing/Grid/UI/Float3Slider.cpp | DarriusWrightGD/RealtimeRaytracing | 1b1117858dcd8880ed88b59ce0388cfb39fc1d96 | [
"MIT"
] | null | null | null | RayTracing/Grid/UI/Float3Slider.cpp | DarriusWrightGD/RealtimeRaytracing | 1b1117858dcd8880ed88b59ce0388cfb39fc1d96 | [
"MIT"
] | null | null | null | #include "Float3Slider.h"
Float3Slider::Float3Slider(char * name, glm::vec3 min, glm::vec3 max, float * value , glm::vec3 gran) :
min(min), max(max), value(value), gran(gran)
{
sliderLayout = new QHBoxLayout();
vectorLabel = new QLabel(name);
sliderVector[0] = new FloatSlider("X", min[0],max[0],&value[0], gran[0]... | 23.435897 | 103 | 0.68709 | DarriusWrightGD |
433d04b598e823da49c5fb6e196785cd3745b131 | 3,505 | hpp | C++ | src/xalanc/PlatformSupport/Writer.hpp | ulisesten/xalanc | a722de08e61ce66965c4a828242f7d1250950621 | [
"Apache-2.0"
] | 24 | 2015-07-29T22:49:17.000Z | 2022-03-25T10:14:17.000Z | src/xalanc/PlatformSupport/Writer.hpp | ulisesten/xalanc | a722de08e61ce66965c4a828242f7d1250950621 | [
"Apache-2.0"
] | 14 | 2019-05-10T16:25:50.000Z | 2021-11-24T18:04:47.000Z | src/xalanc/PlatformSupport/Writer.hpp | ulisesten/xalanc | a722de08e61ce66965c4a828242f7d1250950621 | [
"Apache-2.0"
] | 28 | 2015-04-20T15:50:51.000Z | 2022-01-26T14:56:55.000Z | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the "License");
* you m... | 23.682432 | 144 | 0.637946 | ulisesten |
433d1527559c11feb2d9e258eecd883f91e66a7b | 2,174 | hh | C++ | src/rng/LC_Subrandom_Generator.hh | rspavel/Draco | b279b1afbfbb39f2d521579697172394c5efd81d | [
"BSD-3-Clause-Open-MPI"
] | null | null | null | src/rng/LC_Subrandom_Generator.hh | rspavel/Draco | b279b1afbfbb39f2d521579697172394c5efd81d | [
"BSD-3-Clause-Open-MPI"
] | null | null | null | src/rng/LC_Subrandom_Generator.hh | rspavel/Draco | b279b1afbfbb39f2d521579697172394c5efd81d | [
"BSD-3-Clause-Open-MPI"
] | null | null | null | //----------------------------------*-C++-*----------------------------------//
/*!
* \file rng/LC_Subrandom_Generator.hh
* \author Kent Budge
* \brief Definition of class LC_Subrandom_Generator
* \note Copyright (C) 2016-2019 Triad National Security, LLC.
* All rights reserved. */
//-----------------... | 28.233766 | 79 | 0.579577 | rspavel |
433e267645d7db0ec43692267f8e771a01a48d07 | 511 | hpp | C++ | plugins/libpng/include/sge/libpng/error_context_ref.hpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | 2 | 2016-01-27T13:18:14.000Z | 2018-05-11T01:11:32.000Z | plugins/libpng/include/sge/libpng/error_context_ref.hpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | null | null | null | plugins/libpng/include/sge/libpng/error_context_ref.hpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | 3 | 2018-05-11T01:11:34.000Z | 2021-04-24T19:47:45.000Z | // Copyright Carl Philipp Reh 2006 - 2019.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#ifndef SGE_LIBPNG_ERROR_CONTEXT_REF_HPP_INCLUDED
#define SGE_LIBPNG_ERROR_CONTEXT_REF_HPP_INCLUDED... | 25.55 | 71 | 0.761252 | cpreh |
433f775a1a2d66621435d3f82f7810ba28529c92 | 581 | cpp | C++ | 272 TEX Quotes.cpp | zihadboss/UVA-Solutions | 020fdcb09da79dc0a0411b04026ce3617c09cd27 | [
"Apache-2.0"
] | 86 | 2016-01-20T11:36:50.000Z | 2022-03-06T19:43:14.000Z | 272 TEX Quotes.cpp | Mehedishihab/UVA-Solutions | 474fe3d9d9ba574b97fd40ca5abb22ada95654a1 | [
"Apache-2.0"
] | null | null | null | 272 TEX Quotes.cpp | Mehedishihab/UVA-Solutions | 474fe3d9d9ba574b97fd40ca5abb22ada95654a1 | [
"Apache-2.0"
] | 113 | 2015-12-04T06:40:57.000Z | 2022-02-11T02:14:28.000Z | #include <iostream>
#include <string>
using namespace std;
int main()
{
string temp;
bool isFirst(true);
while (getline(cin, temp))
{
for (string::iterator iter = temp.begin(); iter != temp.end(); ++iter)
{
if (*iter == '"')
{
if (isFirst)
... | 18.15625 | 78 | 0.342513 | zihadboss |
434088dc41dd9cf7b51e868677a756cd0fce5f2d | 1,186 | cpp | C++ | Game_Engine/GameOver.cpp | IndiaWomble/Game-Engine | 8b2a47db6e976d272e62c6f9f4f2bc8d6b07b957 | [
"Apache-2.0"
] | null | null | null | Game_Engine/GameOver.cpp | IndiaWomble/Game-Engine | 8b2a47db6e976d272e62c6f9f4f2bc8d6b07b957 | [
"Apache-2.0"
] | null | null | null | Game_Engine/GameOver.cpp | IndiaWomble/Game-Engine | 8b2a47db6e976d272e62c6f9f4f2bc8d6b07b957 | [
"Apache-2.0"
] | null | null | null | //Game Over State source file
#include "GameOver.h"
//Instantiating static variable gameOverID
const std::string GameOverState::gameOverID = "GAMEOVER";
//GameOver State constructor
GameOverState::GameOverState(std::vector<GameObject*> parameter, void (*callbackFunction)())
{
for (int i = 0; i < parameter.size(); i... | 23.254902 | 97 | 0.735245 | IndiaWomble |
43416145b8f4cbbf25133e338b72525b6d825609 | 4,188 | cpp | C++ | src/ledger/FeeFrame.cpp | RomanTkachenkoDistr/SwarmCore | db0544758e7bb3c879778cfdd6946b9a72ba23ab | [
"Apache-2.0",
"BSD-2-Clause",
"MIT",
"ECL-2.0",
"BSL-1.0",
"BSD-3-Clause"
] | null | null | null | src/ledger/FeeFrame.cpp | RomanTkachenkoDistr/SwarmCore | db0544758e7bb3c879778cfdd6946b9a72ba23ab | [
"Apache-2.0",
"BSD-2-Clause",
"MIT",
"ECL-2.0",
"BSL-1.0",
"BSD-3-Clause"
] | null | null | null | src/ledger/FeeFrame.cpp | RomanTkachenkoDistr/SwarmCore | db0544758e7bb3c879778cfdd6946b9a72ba23ab | [
"Apache-2.0",
"BSD-2-Clause",
"MIT",
"ECL-2.0",
"BSL-1.0",
"BSD-3-Clause"
] | null | null | null | #include "ledger/FeeFrame.h"
#include "database/Database.h"
#include "crypto/SecretKey.h"
#include "crypto/SHA.h"
#include "LedgerDelta.h"
#include "util/types.h"
using namespace std;
using namespace soci;
namespace stellar
{
FeeFrame::FeeFrame() : EntryFrame(LedgerEntryType::FEE), mFee(mEntry.data.feeState())
... | 27.019355 | 121 | 0.608644 | RomanTkachenkoDistr |
43469e8d2db6b4e321b9f51e6b035ac8d2e50f45 | 13,751 | cxx | C++ | code/plugins/xray_re/xr_scene.cxx | Rikoshet-234/xray-oxygen | eaac3fa4780639152684f3251b8b4452abb8e439 | [
"Apache-2.0"
] | 7 | 2018-03-27T12:36:07.000Z | 2020-06-26T11:31:52.000Z | code/plugins/xray_re/xr_scene.cxx | Rikoshet-234/xray-oxygen | eaac3fa4780639152684f3251b8b4452abb8e439 | [
"Apache-2.0"
] | 2 | 2018-05-26T23:17:14.000Z | 2019-04-14T18:33:27.000Z | code/plugins/xray_re/xr_scene.cxx | Rikoshet-234/xray-oxygen | eaac3fa4780639152684f3251b8b4452abb8e439 | [
"Apache-2.0"
] | 5 | 2020-10-18T11:55:26.000Z | 2022-03-28T07:21:35.000Z | #include "xr_scene.h"
#include "xr_scene_ai_map.h"
#include "xr_scene_details.h"
#include "xr_scene_glows.h"
#include "xr_scene_groups.h"
#include "xr_scene_lights.h"
#include "xr_scene_particles.h"
#include "xr_scene_portals.h"
#include "xr_scene_sectors.h"
#include "xr_scene_shapes.h"
#include "xr_scene_sound_envs.h"... | 27.668008 | 120 | 0.726056 | Rikoshet-234 |
434a512f05e53fd9827c861245143c832012ecc9 | 25,850 | cxx | C++ | GPU/GPUTracking/Base/hip/GPUReconstructionHIP.hip.cxx | aknospe/AliRoot | 96d76b2078d6b757a2843ae4a890a85021241e70 | [
"BSD-3-Clause"
] | null | null | null | GPU/GPUTracking/Base/hip/GPUReconstructionHIP.hip.cxx | aknospe/AliRoot | 96d76b2078d6b757a2843ae4a890a85021241e70 | [
"BSD-3-Clause"
] | null | null | null | GPU/GPUTracking/Base/hip/GPUReconstructionHIP.hip.cxx | aknospe/AliRoot | 96d76b2078d6b757a2843ae4a890a85021241e70 | [
"BSD-3-Clause"
] | null | null | null | //**************************************************************************\
//* This file is property of and copyright by the ALICE Project *\
//* ALICE Experiment at CERN, All rights reserved. *\
//* *\
//* Prim... | 42.727273 | 287 | 0.670097 | aknospe |
434cdbfcf15052e3f8bba86220f599a4623b631c | 1,203 | hpp | C++ | Hog_HLS/solution1/csim/build/HOG.hpp | DoubleGithub/HOG_Zedboard | 6fc55c37ee210d7fc8bca919213e96bfc5c9d811 | [
"MIT"
] | 29 | 2018-07-09T10:12:47.000Z | 2022-01-14T18:57:52.000Z | Hog_HLS/solution1/csim/build/HOG.hpp | DoubleGithub/HOG_Zedboard | 6fc55c37ee210d7fc8bca919213e96bfc5c9d811 | [
"MIT"
] | 10 | 2018-10-30T10:38:12.000Z | 2021-04-14T00:43:29.000Z | Hog_HLS/solution1/csim/build/HOG.hpp | DoubleGithub/HOG_Zedboard | 6fc55c37ee210d7fc8bca919213e96bfc5c9d811 | [
"MIT"
] | 10 | 2019-07-04T07:39:38.000Z | 2021-05-11T13:54:07.000Z | #ifndef HOG_HPP_
#define HOG_HPP_
#include "types.h"
#include <iostream>
#include "consts.h"
#include <string.h>
#include "math.h"
#define VECTOR_SIZE 3780
using namespace std;
// void computeHOG(unsigned char *inputImage , unsigned char *output);
void hog(int *specs,unsigned char *image0);
//void hog(unsigned int... | 27.976744 | 135 | 0.719867 | DoubleGithub |
434d9303b5bf4fe27f58b07da1dacda0c7dd54af | 7,583 | cpp | C++ | android-31/android/animation/ValueAnimator.cpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 12 | 2020-03-26T02:38:56.000Z | 2022-03-14T08:17:26.000Z | android-28/android/animation/ValueAnimator.cpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 1 | 2021-01-27T06:07:45.000Z | 2021-11-13T19:19:43.000Z | android-30/android/animation/ValueAnimator.cpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 3 | 2021-02-02T12:34:55.000Z | 2022-03-08T07:45:57.000Z | #include "../../JFloatArray.hpp"
#include "../../JIntArray.hpp"
#include "../../JArray.hpp"
#include "../../JObjectArray.hpp"
#include "./Animator.hpp"
#include "../../JObject.hpp"
#include "../../JString.hpp"
#include "./ValueAnimator.hpp"
namespace android::animation
{
// Fields
jint ValueAnimator::INFINITE()
{
... | 19.645078 | 93 | 0.678359 | YJBeetle |
4350204c4b39af95b64e3d43058cd7f9c46b4bd4 | 2,425 | cpp | C++ | EngineTests/Platforms.GAPI/Compute/CApp_UpdateBuffer.cpp | azhirnov/GraphicsGenFramework-modular | 348be601f1991f102defa0c99250529f5e44c4d3 | [
"BSD-2-Clause"
] | 12 | 2017-12-23T14:24:57.000Z | 2020-10-02T19:52:12.000Z | EngineTests/Platforms.GAPI/Compute/CApp_UpdateBuffer.cpp | azhirnov/ModularGraphicsFramework | 348be601f1991f102defa0c99250529f5e44c4d3 | [
"BSD-2-Clause"
] | null | null | null | EngineTests/Platforms.GAPI/Compute/CApp_UpdateBuffer.cpp | azhirnov/ModularGraphicsFramework | 348be601f1991f102defa0c99250529f5e44c4d3 | [
"BSD-2-Clause"
] | null | null | null | // Copyright (c) Zhirnov Andrey. For more information see 'LICENSE.txt'
#include "CApp.h"
bool CApp::_Test_UpdateBuffer ()
{
// generate data
BinaryArray data; data.Resize( 512 );
BinaryArray data2; data2.Resize( 256 );
FOR( i, data ) {
data[i] = Random::Int<ubyte>();
}
FOR( i, data2 ) {
data2[i] = Rando... | 25.526316 | 95 | 0.686598 | azhirnov |
435145bddef934ff52ae533a1b85648ac45db1d9 | 4,818 | cpp | C++ | src/lib/src/sat/dimacs/parser.cpp | black-sat/black | 80902240987312fb0e6f00227a06e9f9c9728a67 | [
"MIT"
] | 4 | 2020-09-30T15:16:22.000Z | 2021-09-20T15:02:39.000Z | src/lib/src/sat/dimacs/parser.cpp | teodorov/black | 4de280ded5e99cc515141b4acc35137ba32c2469 | [
"MIT"
] | 42 | 2020-07-15T13:46:11.000Z | 2022-03-10T09:42:43.000Z | src/lib/src/sat/dimacs/parser.cpp | teodorov/black | 4de280ded5e99cc515141b4acc35137ba32c2469 | [
"MIT"
] | 3 | 2020-03-30T14:39:17.000Z | 2022-03-18T14:05:33.000Z | //
// BLACK - Bounded Ltl sAtisfiability ChecKer
//
// (C) 2021 Nicola Gigante
//
// 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 righ... | 24.835052 | 80 | 0.585305 | black-sat |
43517c785d6fc5a398a8df3ccbe4ec4568611f3a | 4,377 | cpp | C++ | SimpleSocks/cl_TCPServer.cpp | SimpleRepos/SimpleSocks | 7c5fe41d8a119d2ad285d0e98087cd4a0ed45859 | [
"MIT"
] | null | null | null | SimpleSocks/cl_TCPServer.cpp | SimpleRepos/SimpleSocks | 7c5fe41d8a119d2ad285d0e98087cd4a0ed45859 | [
"MIT"
] | null | null | null | SimpleSocks/cl_TCPServer.cpp | SimpleRepos/SimpleSocks | 7c5fe41d8a119d2ad285d0e98087cd4a0ed45859 | [
"MIT"
] | null | null | null | #include "cl_TCPServer.h"
#include <WS2tcpip.h>
//Set members to default values.
//SOCKET_ERROR is used here to indicate that the socket is closed
SSocks::TCPServer::TCPServer() : sock(SOCKET_ERROR), blocking(true) {
//nothing
}
//invoke the default constructor and then call start()
SSocks::TCPServer::TCPServer(uin... | 33.930233 | 109 | 0.720356 | SimpleRepos |
43518db909e026f9a4e402d831480b411057e047 | 2,120 | cpp | C++ | core/driver/disk.cpp | JartC0ding/horizon | 2b9a75b45ac768a8da0f7a98f164a37690dc583f | [
"MIT"
] | 4 | 2022-01-06T09:19:46.000Z | 2022-03-27T18:08:36.000Z | core/driver/disk.cpp | JartC0ding/horizon | 2b9a75b45ac768a8da0f7a98f164a37690dc583f | [
"MIT"
] | null | null | null | core/driver/disk.cpp | JartC0ding/horizon | 2b9a75b45ac768a8da0f7a98f164a37690dc583f | [
"MIT"
] | 1 | 2022-03-22T19:10:05.000Z | 2022-03-22T19:10:05.000Z | #include <driver/disk.h>
#include <utils/log.h>
using namespace driver;
disk_driver_manager* driver::global_disk_manager;
disk_device::disk_device() {
}
disk_device::~disk_device() {
}
void disk_device::read(uint64_t sector, uint32_t sector_count, void* buffer) {
}
void disk_device::write(uint64_t sector, ui... | 21.85567 | 108 | 0.696226 | JartC0ding |
4354429a7f3731314acf1f40f94f8661a6e197e9 | 8,839 | hpp | C++ | include/boost/compute/types/tuple.hpp | roshanr95/compute | 377e509acd16af466cdb133d70e2dcd525ec1a87 | [
"BSL-1.0"
] | null | null | null | include/boost/compute/types/tuple.hpp | roshanr95/compute | 377e509acd16af466cdb133d70e2dcd525ec1a87 | [
"BSL-1.0"
] | null | null | null | include/boost/compute/types/tuple.hpp | roshanr95/compute | 377e509acd16af466cdb133d70e2dcd525ec1a87 | [
"BSL-1.0"
] | 1 | 2020-04-09T15:56:37.000Z | 2020-04-09T15:56:37.000Z | //---------------------------------------------------------------------------//
// Copyright (c) 2013 Kyle Lutz <kyle.r.lutz@gmail.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
//
// See http://boostorg.gi... | 39.995475 | 85 | 0.489874 | roshanr95 |
4354fd8c8bc205aea0c35010ebf1c532539fe372 | 24,512 | cpp | C++ | Project/Source/Scene.cpp | TBD-org/RealBugEngine | 0131fde0abc2d86137500acd6f63ed8f0fc2835f | [
"MIT"
] | 7 | 2021-04-26T21:32:12.000Z | 2022-02-14T13:48:53.000Z | Project/Source/Scene.cpp | TBD-org/RealBugEngine | 0131fde0abc2d86137500acd6f63ed8f0fc2835f | [
"MIT"
] | 66 | 2021-04-24T10:08:07.000Z | 2021-10-05T16:52:56.000Z | Project/Source/Scene.cpp | TBD-org/Tesseract | 0131fde0abc2d86137500acd6f63ed8f0fc2835f | [
"MIT"
] | 1 | 2021-07-13T21:26:13.000Z | 2021-07-13T21:26:13.000Z | #include "Scene.h"
#include "GameObject.h"
#include "Application.h"
#include "Modules/ModuleTime.h"
#include "Modules/ModuleEditor.h"
#include "Modules/ModuleRender.h"
#include "Modules/ModulePhysics.h"
#include "Modules/ModuleTime.h"
#include "Modules/ModuleCamera.h"
#include "Modules/ModuleWindow.h"
#include "Module... | 33.214092 | 136 | 0.777945 | TBD-org |
435552d931ccffb65e45704f1b5909b4cb708ba0 | 1,606 | cpp | C++ | modules/argument_game/grid_controller_base.cpp | Niluk93/ArgumentGame | e934399578d3aa0852faed3175b8675439632c9e | [
"CC-BY-3.0",
"Apache-2.0",
"MIT"
] | 1 | 2020-03-08T21:31:15.000Z | 2020-03-08T21:31:15.000Z | modules/argument_game/grid_controller_base.cpp | Niluk93/ArgumentGame | e934399578d3aa0852faed3175b8675439632c9e | [
"CC-BY-3.0",
"Apache-2.0",
"MIT"
] | null | null | null | modules/argument_game/grid_controller_base.cpp | Niluk93/ArgumentGame | e934399578d3aa0852faed3175b8675439632c9e | [
"CC-BY-3.0",
"Apache-2.0",
"MIT"
] | null | null | null | #include "grid_controller_base.h"
#include "grid_state.h"
#include "game_grid.h"
#include <stdexcept>
GridControllerBase::GridControllerBase()
: bAcceptingInput(true)
{
}
void GridControllerBase::_bind_methods()
{
ClassDB::bind_method(D_METHOD("init", "owner"), &GridControllerBase::init);
ClassDB::bind_method(D_ME... | 30.301887 | 125 | 0.800125 | Niluk93 |
435df21ddd9ee3e897aae0f2896d3766695c88d1 | 12,938 | cpp | C++ | tests/unique_handle.cpp | DNKpp/Simple-Utility | db2d6cb1cc3849704f18272f8ce2d2bc05ad06a7 | [
"BSL-1.0"
] | null | null | null | tests/unique_handle.cpp | DNKpp/Simple-Utility | db2d6cb1cc3849704f18272f8ce2d2bc05ad06a7 | [
"BSL-1.0"
] | 8 | 2021-12-30T22:07:39.000Z | 2022-02-04T21:13:53.000Z | tests/unique_handle.cpp | DNKpp/Simple-Utility | db2d6cb1cc3849704f18272f8ce2d2bc05ad06a7 | [
"BSL-1.0"
] | 1 | 2020-08-19T13:02:58.000Z | 2020-08-19T13:02:58.000Z | // Copyright Dominic Koepke 2019 - 2022.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// https://www.boost.org/LICENSE_1_0.txt)
#include <catch2/catch.hpp>
#include "helper.hpp"
#include "Simple-Utility/unique_handle.hpp"
usi... | 25.269531 | 125 | 0.715257 | DNKpp |
cb196e35fc623b3aa0f1ca9511afa22f3352f8c7 | 750 | cpp | C++ | lib/Target/AVR/TargetInfo/AVRTargetInfo.cpp | kkeita/llvm_autofdo | 9ecd435b55a3e58e1e3f71d478ff02c57840a900 | [
"Apache-2.0"
] | 34 | 2019-05-29T03:15:48.000Z | 2022-03-24T03:14:58.000Z | lib/Target/AVR/TargetInfo/AVRTargetInfo.cpp | kkeita/llvm_autofdo | 9ecd435b55a3e58e1e3f71d478ff02c57840a900 | [
"Apache-2.0"
] | 1 | 2020-05-21T11:44:22.000Z | 2020-05-21T11:44:22.000Z | lib/Target/AVR/TargetInfo/AVRTargetInfo.cpp | kkeita/llvm_autofdo | 9ecd435b55a3e58e1e3f71d478ff02c57840a900 | [
"Apache-2.0"
] | 4 | 2019-12-16T18:49:42.000Z | 2021-10-11T18:41:54.000Z | //===-- AVRTargetInfo.cpp - AVR Target Implementation ---------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | 32.608696 | 80 | 0.586667 | kkeita |
cb1ecaceb1f1cbd84409850879b41f210ceaf3a1 | 487 | hpp | C++ | include/render/Triangle.hpp | nsentout/project-lambda-client | 3b6f84e90ebf1319bbbfd6649b1e9e94b96f1469 | [
"MIT"
] | null | null | null | include/render/Triangle.hpp | nsentout/project-lambda-client | 3b6f84e90ebf1319bbbfd6649b1e9e94b96f1469 | [
"MIT"
] | null | null | null | include/render/Triangle.hpp | nsentout/project-lambda-client | 3b6f84e90ebf1319bbbfd6649b1e9e94b96f1469 | [
"MIT"
] | null | null | null | #ifndef TRIANGLE_HPP
#define TRIANGLE_HPP
#include <GL/glew.h>
#include <GLFW/glfw3.h>
#include "GameObject.hpp"
#include "Position.h"
#include "Color.h"
//TODO: manage width and color
class Triangle : public GameObject
{
public:
Triangle();
void init() override;
void draw() const override;
void era... | 18.730769 | 47 | 0.704312 | nsentout |
cb1ef2b1565387a58e53630a76e8cbac8b92347c | 12,997 | cpp | C++ | src/openms/source/ANALYSIS/TARGETED/TargetedExperiment.cpp | mrurik/OpenMS | 3bf48247423dc28a7df7b12b72fbc7751965c321 | [
"Zlib",
"Apache-2.0"
] | null | null | null | src/openms/source/ANALYSIS/TARGETED/TargetedExperiment.cpp | mrurik/OpenMS | 3bf48247423dc28a7df7b12b72fbc7751965c321 | [
"Zlib",
"Apache-2.0"
] | null | null | null | src/openms/source/ANALYSIS/TARGETED/TargetedExperiment.cpp | mrurik/OpenMS | 3bf48247423dc28a7df7b12b72fbc7751965c321 | [
"Zlib",
"Apache-2.0"
] | null | null | null | // --------------------------------------------------------------------------
// OpenMS -- Open-Source Mass Spectrometry
// --------------------------------------------------------------------------
// Copyright The OpenMS Team -- Eberhard Karls University Tuebingen,
// ETH Zurich, and Freie Universit... | 30.50939 | 158 | 0.689467 | mrurik |
cb2704acf1688c0dd55810183741f63121b92191 | 196,624 | cpp | C++ | HTML_Lectures/Virtualization_Lecture/vbox/src/VBox/Devices/Audio/DevHDA.cpp | roughk/CSCI-49XX-OpenSource | 74268cbca8bcda3023b2350d046e2dca2853a3ef | [
"BSD-2-Clause",
"CC-BY-4.0"
] | null | null | null | HTML_Lectures/Virtualization_Lecture/vbox/src/VBox/Devices/Audio/DevHDA.cpp | roughk/CSCI-49XX-OpenSource | 74268cbca8bcda3023b2350d046e2dca2853a3ef | [
"BSD-2-Clause",
"CC-BY-4.0"
] | null | null | null | HTML_Lectures/Virtualization_Lecture/vbox/src/VBox/Devices/Audio/DevHDA.cpp | roughk/CSCI-49XX-OpenSource | 74268cbca8bcda3023b2350d046e2dca2853a3ef | [
"BSD-2-Clause",
"CC-BY-4.0"
] | null | null | null | /* $Id: DevHDA.cpp 73466 2018-08-03 09:41:27Z vboxsync $ */
/** @file
* DevHDA.cpp - VBox Intel HD Audio Controller.
*
* Implemented against the specifications found in "High Definition Audio
* Specification", Revision 1.0a June 17, 2010, and "Intel I/O Controller
* HUB 6 (ICH6) Family, Datasheet", document numbe... | 36.351266 | 210 | 0.595126 | roughk |
cb288eb1f968c86b8b67164743a542a058b9c6f1 | 3,376 | hpp | C++ | include/boost/application/detail/posix/path_impl.hpp | mlegenovic/Boost.Application | e69d4926027274dadb7d89c45964ddafa1edd7f5 | [
"BSL-1.0"
] | null | null | null | include/boost/application/detail/posix/path_impl.hpp | mlegenovic/Boost.Application | e69d4926027274dadb7d89c45964ddafa1edd7f5 | [
"BSL-1.0"
] | null | null | null | include/boost/application/detail/posix/path_impl.hpp | mlegenovic/Boost.Application | e69d4926027274dadb7d89c45964ddafa1edd7f5 | [
"BSL-1.0"
] | null | null | null | // Copyright 2014 Renato Tegon Forti
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt
// or copy at http://www.boost.org/LICENSE_1_0.txt)
#ifndef BOOST_APPLICATION_DETAIL_POSIX_PATH_FROM_ME_HPP
#define BOOST_APPLICATION_DETAIL_POSIX_PATH_FROM_ME_HPP
#include <... | 25.575758 | 71 | 0.534656 | mlegenovic |
cb29e7e9b4f4ea40ec91653b818bad6bada86e65 | 3,316 | cpp | C++ | M3ScriptHook/src/LuaStateManager.cpp | MartinJK/Mafia3ScriptHook | b27da0dfcc93118aa4eb5c45a82d0ddf70205bfc | [
"MIT"
] | 10 | 2016-10-09T19:23:18.000Z | 2019-03-20T21:10:48.000Z | M3ScriptHook/src/LuaStateManager.cpp | MartinJK/Mafia3ScriptHook | b27da0dfcc93118aa4eb5c45a82d0ddf70205bfc | [
"MIT"
] | 5 | 2016-10-12T01:55:32.000Z | 2017-05-31T09:50:19.000Z | M3ScriptHook/src/LuaStateManager.cpp | MartinJK/Mafia3ScriptHook | b27da0dfcc93118aa4eb5c45a82d0ddf70205bfc | [
"MIT"
] | 5 | 2016-10-20T21:51:22.000Z | 2018-11-25T22:42:58.000Z | // Base Application taken from Klusark (GPLv2)
// https://code.google.com/archive/p/mafia2injector/
/*
* Copyright (c) 2010 Barzakh (martinjk 'at' outlook 'dot' com)
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software... | 29.345133 | 119 | 0.741255 | MartinJK |
cb2c4f1e3c5b0b085e6b46dc11719ad005c3738d | 2,039 | cpp | C++ | libraries/render/src/task/Config.cpp | alphaversiond/hifi | 735944c912a29e948a557dbff13e0a1cb71d954e | [
"Apache-2.0"
] | 2 | 2018-05-07T16:12:38.000Z | 2019-04-28T17:32:01.000Z | libraries/render/src/task/Config.cpp | alphaversiond/hifi | 735944c912a29e948a557dbff13e0a1cb71d954e | [
"Apache-2.0"
] | null | null | null | libraries/render/src/task/Config.cpp | alphaversiond/hifi | 735944c912a29e948a557dbff13e0a1cb71d954e | [
"Apache-2.0"
] | null | null | null | //
// Config.cpp
// render/src/task
//
// Created by Zach Pomerantz on 1/21/2016.
// Copyright 2016 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
//
#include "Config.h"
#include "Task.h"
#includ... | 30.893939 | 90 | 0.642472 | alphaversiond |
cb2cb1a3ac7831ef9ceb690cd3bb8be97e3988a9 | 271 | hpp | C++ | ResInt.hpp | afarsitio5/javafar-14.github.io | 6378758230c1f3ef524d0f7e4b8f32a5660d59b7 | [
"CC0-1.0"
] | null | null | null | ResInt.hpp | afarsitio5/javafar-14.github.io | 6378758230c1f3ef524d0f7e4b8f32a5660d59b7 | [
"CC0-1.0"
] | null | null | null | ResInt.hpp | afarsitio5/javafar-14.github.io | 6378758230c1f3ef524d0f7e4b8f32a5660d59b7 | [
"CC0-1.0"
] | 1 | 2021-04-07T23:06:03.000Z | 2021-04-07T23:06:03.000Z | #ifndef __RES_INT_H__
#define __RES_INT_H__
#include <Arduino.h>
class ResInt {
public:
const int valor;
const String error;
ResInt(int _valor,
String _error );
ResInt(const ResInt& ref );
const char* valida();
};
#endif
| 16.9375 | 32 | 0.612546 | afarsitio5 |
cb312d165ce42f9aa367f53077e484d706e1ba2e | 1,081 | cpp | C++ | Stadium_Seating.cpp | MigPug/C-Plus-Plus | 53241378ded0adc509c32abb64cbfc780d7165f3 | [
"Apache-2.0"
] | 1 | 2020-12-03T05:17:00.000Z | 2020-12-03T05:17:00.000Z | Stadium_Seating.cpp | MigPug/Code | 53241378ded0adc509c32abb64cbfc780d7165f3 | [
"Apache-2.0"
] | null | null | null | Stadium_Seating.cpp | MigPug/Code | 53241378ded0adc509c32abb64cbfc780d7165f3 | [
"Apache-2.0"
] | 1 | 2022-01-30T06:11:59.000Z | 2022-01-30T06:11:59.000Z | /*
Stadium Seating
There are three seating categories at a stadium . For a softball game, Class A seats cost
$15, Class B seats cost $12, and Class C seats cost $9. Write a program that asks how
many tickets for each class of seats were sold, then displays the amount of income
generated from ticket ... | 26.365854 | 92 | 0.648474 | MigPug |
cb358c7b84f92119bced642a19a61bcecffcdaaa | 6,884 | cpp | C++ | pin-2.11/source/tools/SignalTests/mtstress.cpp | swchoi1994/Project | e46fa191afe54d6676016d41534c3531eb51ff79 | [
"Intel"
] | 3 | 2020-06-26T09:35:19.000Z | 2021-01-03T16:58:11.000Z | pin-2.11/source/tools/SignalTests/mtstress.cpp | swchoi1994/Project | e46fa191afe54d6676016d41534c3531eb51ff79 | [
"Intel"
] | null | null | null | pin-2.11/source/tools/SignalTests/mtstress.cpp | swchoi1994/Project | e46fa191afe54d6676016d41534c3531eb51ff79 | [
"Intel"
] | 2 | 2020-12-27T03:58:38.000Z | 2020-12-27T03:58:38.000Z | /*BEGIN_LEGAL
Intel Open Source License
Copyright (c) 2002-2012 Intel Corporation. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
Redistributions of source code must retain the above copyright noti... | 29.293617 | 96 | 0.662841 | swchoi1994 |
cb369df49755e93fdbbe09fdaefa7a0a84425f02 | 10,882 | cpp | C++ | stocks_exchange/unit-test/stock_exchange_kraken_unit_test.cpp | Rapprise/b2s-trader | ac8a3c2221d15c4df8df63842d20dafd6801e535 | [
"BSD-2-Clause"
] | 21 | 2020-06-07T20:34:47.000Z | 2021-08-10T20:19:59.000Z | stocks_exchange/unit-test/stock_exchange_kraken_unit_test.cpp | Rapprise/b2s-trader | ac8a3c2221d15c4df8df63842d20dafd6801e535 | [
"BSD-2-Clause"
] | null | null | null | stocks_exchange/unit-test/stock_exchange_kraken_unit_test.cpp | Rapprise/b2s-trader | ac8a3c2221d15c4df8df63842d20dafd6801e535 | [
"BSD-2-Clause"
] | 4 | 2020-07-13T10:19:44.000Z | 2022-03-11T12:15:43.000Z | /*
* Copyright (c) 2020, Rapprise.
* 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 condition... | 38.725979 | 99 | 0.787723 | Rapprise |
cb3dbd02009b0b677299e97faebaa34d6ccff415 | 529,602 | cpp | C++ | esp32/TinyCPCEMttgovga32/CPCem/Z80.cpp | rpsubc8/ESP32TinyCPC | 386a0d1d47fc6f32c0b3dace67a6c2197a846a9d | [
"WTFPL"
] | 19 | 2020-12-04T15:12:45.000Z | 2022-02-07T19:46:36.000Z | esp32/TinyCPCEMttgovga32/CPCem/Z80.cpp | rpsubc8/ESP32TinyCPC | 386a0d1d47fc6f32c0b3dace67a6c2197a846a9d | [
"WTFPL"
] | 3 | 2021-02-20T08:42:09.000Z | 2022-03-11T05:11:26.000Z | esp32/TinyCPCEMttgovga32/CPCem/Z80.cpp | rpsubc8/ESP32TinyCPC | 386a0d1d47fc6f32c0b3dace67a6c2197a846a9d | [
"WTFPL"
] | 4 | 2021-02-20T08:07:04.000Z | 2022-03-27T21:52:45.000Z | //offset 703 + 45056 = B2BF
#include "gbConfig.h"
#include <stdlib.h>
#include <stdio.h>
#include "CPCem.h"
#include "DAA.h"
#include "Z80.h"
#include <string.h>
#include "FDC.h"
#include "CRTC.h"
#include "GA.h"
#include "CRTC.h"
#include "8255.h"
#include "gb_globals.h"
#include "dataFlash/gbrom.h"
... | 70.925673 | 261 | 0.604099 | rpsubc8 |
cb4228247489e8a081d561cea3ee795112a74380 | 3,843 | cpp | C++ | src/sudoku/solution_queue.cpp | samwarring/sudoku | 0dee535363358e3124c869cd91f2b02a124e4c20 | [
"MIT"
] | null | null | null | src/sudoku/solution_queue.cpp | samwarring/sudoku | 0dee535363358e3124c869cd91f2b02a124e4c20 | [
"MIT"
] | 16 | 2020-04-25T19:53:04.000Z | 2020-07-13T00:06:56.000Z | src/sudoku/solution_queue.cpp | samwarring/sudoku | 0dee535363358e3124c869cd91f2b02a124e4c20 | [
"MIT"
] | null | null | null | #include <sudoku/solution_queue.h>
namespace sudoku
{
SolutionQueue::SolutionQueue(size_t maxSize) : maxSize_(maxSize)
{
}
SolutionQueue::Producer::Producer(SolutionQueue& queue) : queue_(queue)
{
std::lock_guard<std::mutex> lock(queue_.mutex_);
queue_.numProducers_++;
}
S... | 32.567797 | 97 | 0.602394 | samwarring |
cb45098d43af681ef458b5381157a9694310b2cf | 6,040 | cpp | C++ | src/error.cpp | BlubBlab/micromacro-with-OpenCV | c1a17d5faef38fc8532fb1a52ae1c41e7d2d3a34 | [
"BSD-3-Clause"
] | null | null | null | src/error.cpp | BlubBlab/micromacro-with-OpenCV | c1a17d5faef38fc8532fb1a52ae1c41e7d2d3a34 | [
"BSD-3-Clause"
] | null | null | null | src/error.cpp | BlubBlab/micromacro-with-OpenCV | c1a17d5faef38fc8532fb1a52ae1c41e7d2d3a34 | [
"BSD-3-Clause"
] | null | null | null | /******************************************************************************
Project: MicroMacro
Author: SolarStrike Software
URL: www.solarstrike.net
License: Modified BSD (see license.txt)
******************************************************************************/
#include "error.h"
#include "strl.h"
#... | 23.501946 | 95 | 0.665232 | BlubBlab |
cb4608985ca07706758e1f4c511dc8a060def709 | 1,699 | cpp | C++ | stimulus.cpp | dcblack/ModernSystemC | 953740c6d796cd3a2f60108c5093f0366d6ee3bd | [
"Apache-2.0"
] | 29 | 2019-06-17T20:46:21.000Z | 2022-03-21T13:13:42.000Z | stimulus.cpp | dcblack/ModernSystemC | 953740c6d796cd3a2f60108c5093f0366d6ee3bd | [
"Apache-2.0"
] | 4 | 2019-11-07T18:42:32.000Z | 2021-09-16T19:03:21.000Z | stimulus.cpp | dcblack/ModernSystemC | 953740c6d796cd3a2f60108c5093f0366d6ee3bd | [
"Apache-2.0"
] | 7 | 2020-02-04T17:17:28.000Z | 2021-11-05T23:16:23.000Z | /**
* @file stimulus.cpp
*/
#include "stimulus.hpp"
#include "objection.hpp"
#include "report.hpp"
#include <random>
using namespace sc_core;
namespace {
char const * const MSGID{ "/Doulos/Example/Modern/Stimulus_module" };
}
//..............................................................................
Stimulus... | 32.673077 | 99 | 0.560918 | dcblack |
cb4a4d1e1c306ca1bcdef8945b3e789bf8773c8a | 5,461 | cpp | C++ | openstudiocore/src/openstudio_lib/ConstructionsController.cpp | colemat/OpenStudio | 46680e95efa5ef51c7199176f366dfdede5ab706 | [
"blessing"
] | null | null | null | openstudiocore/src/openstudio_lib/ConstructionsController.cpp | colemat/OpenStudio | 46680e95efa5ef51c7199176f366dfdede5ab706 | [
"blessing"
] | 1 | 2019-02-04T23:30:45.000Z | 2019-02-04T23:30:45.000Z | openstudiocore/src/openstudio_lib/ConstructionsController.cpp | colemat/OpenStudio | 46680e95efa5ef51c7199176f366dfdede5ab706 | [
"blessing"
] | null | null | null | /***********************************************************************************************************************
* OpenStudio(R), Copyright (c) 2008-2019, Alliance for Sustainable Energy, LLC, and other contributors. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without m... | 42.333333 | 125 | 0.730819 | colemat |
cb4ba2cb949e2aaaf6e6c36f773ed35c82df9e73 | 7,632 | cpp | C++ | sim/decoder_tb.cpp | nmoroze/lemoncore | 8223f6f6fd9b3bb6dfeeae3025d1d63aceced324 | [
"MIT"
] | 11 | 2020-08-29T19:49:48.000Z | 2021-05-29T17:52:12.000Z | sim/decoder_tb.cpp | nmoroze/lemoncore | 8223f6f6fd9b3bb6dfeeae3025d1d63aceced324 | [
"MIT"
] | null | null | null | sim/decoder_tb.cpp | nmoroze/lemoncore | 8223f6f6fd9b3bb6dfeeae3025d1d63aceced324 | [
"MIT"
] | null | null | null | #include <stdint.h>
#include <stdlib.h>
#include <gtest/gtest.h>
#include "Vdecoder.h"
#include "verilated.h"
#include "riscv.h"
#include "decoder_tb.h"
const static int NUM_INSTRUCTIONS = 37;
struct control_signals_t {
std::string instr;
uint32_t (*gen_instr)();
int alu_op;
int a_src;
int b_src;
int b_n... | 43.363636 | 108 | 0.611242 | nmoroze |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.