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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8b416c7ae2e62481514ba36d6e81f887758c427f | 474 | cpp | C++ | 154/findMin.cpp | Lixu518/leetcode | f8e868ef6963da92237e6dc6888d7dda0b9bdd19 | [
"MIT"
] | 1 | 2018-06-24T13:58:07.000Z | 2018-06-24T13:58:07.000Z | 154/findMin.cpp | Lixu518/leetcode | f8e868ef6963da92237e6dc6888d7dda0b9bdd19 | [
"MIT"
] | null | null | null | 154/findMin.cpp | Lixu518/leetcode | f8e868ef6963da92237e6dc6888d7dda0b9bdd19 | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
using namespace std;
int findMin(vector<int>&nums){
int left = 0, right = nums.size() - 1;
while(left < right){
int mid = (left + right)>>1;
if(nums[left] < nums[right]) right = mid;
else if(nums[mid] > nums[right]) left = mid + 1;
else right... | 23.7 | 56 | 0.561181 | Lixu518 |
8b427a4a94297484826d12e8ac381edcca1697d7 | 7,362 | cpp | C++ | libgpopt/src/operators/CPhysicalStreamAgg.cpp | hsyuan/gporca | 793b1dd7f55eb0e97f829e9e3b58d2a3133cf7ad | [
"ECL-2.0",
"Apache-2.0"
] | 466 | 2016-01-26T18:07:03.000Z | 2022-03-30T06:08:55.000Z | libgpopt/src/operators/CPhysicalStreamAgg.cpp | hsyuan/gporca | 793b1dd7f55eb0e97f829e9e3b58d2a3133cf7ad | [
"ECL-2.0",
"Apache-2.0"
] | 463 | 2016-01-26T19:13:02.000Z | 2022-03-24T03:08:13.000Z | libgpopt/src/operators/CPhysicalStreamAgg.cpp | hsyuan/gporca | 793b1dd7f55eb0e97f829e9e3b58d2a3133cf7ad | [
"ECL-2.0",
"Apache-2.0"
] | 203 | 2016-01-26T13:46:35.000Z | 2022-03-22T03:17:06.000Z | //---------------------------------------------------------------------------
// Greenplum Database
// Copyright (C) 2011 EMC Corp.
//
// @filename:
// CPhysicalStreamAgg.cpp
//
// @doc:
// Implementation of stream aggregation operator
//---------------------------------------------------------------------------
#in... | 28.099237 | 79 | 0.591144 | hsyuan |
8b4417699e581d52667e23b09518dd06b16010cc | 2,727 | cpp | C++ | libvast/test/system/explorer.cpp | frerich/vast | decac739ea4782ab91a1cee791ecd754b066419f | [
"BSD-3-Clause"
] | null | null | null | libvast/test/system/explorer.cpp | frerich/vast | decac739ea4782ab91a1cee791ecd754b066419f | [
"BSD-3-Clause"
] | null | null | null | libvast/test/system/explorer.cpp | frerich/vast | decac739ea4782ab91a1cee791ecd754b066419f | [
"BSD-3-Clause"
] | null | null | null | /******************************************************************************
* _ _____ __________ *
* | | / / _ | / __/_ __/ Visibility *
* | |/ / __ |_\ \ / / Across *
... | 38.408451 | 80 | 0.548588 | frerich |
8b45d902b014a3502d3b0d1b9d8c126e12f12b20 | 10,695 | cpp | C++ | src/nbl/asset/interchange/CImageLoaderPNG.cpp | devshgraphicsprogramming/Nabla | 5588c69ac714734ca50b5d3c1409fed88b258bff | [
"Apache-2.0"
] | null | null | null | src/nbl/asset/interchange/CImageLoaderPNG.cpp | devshgraphicsprogramming/Nabla | 5588c69ac714734ca50b5d3c1409fed88b258bff | [
"Apache-2.0"
] | null | null | null | src/nbl/asset/interchange/CImageLoaderPNG.cpp | devshgraphicsprogramming/Nabla | 5588c69ac714734ca50b5d3c1409fed88b258bff | [
"Apache-2.0"
] | null | null | null | // Copyright (C) 2019 - DevSH Graphics Programming Sp. z O.O.
// This file is part of the "Nabla Engine" and was originally part of the "Irrlicht Engine"
// For conditions of distribution and use, see copyright notice in nabla.h
// See the original file in irrlicht source for authors
#include "nbl/asset/ICPUImageView... | 30.29745 | 202 | 0.729406 | devshgraphicsprogramming |
8b46e273ecf38a4758330f62f7b3286c9280ef6f | 3,895 | hpp | C++ | sprout/algorithm/all_of.hpp | kariya-mitsuru/Sprout | 8274f34db498b02bff12277bac5416ea72e018cd | [
"BSL-1.0"
] | null | null | null | sprout/algorithm/all_of.hpp | kariya-mitsuru/Sprout | 8274f34db498b02bff12277bac5416ea72e018cd | [
"BSL-1.0"
] | null | null | null | sprout/algorithm/all_of.hpp | kariya-mitsuru/Sprout | 8274f34db498b02bff12277bac5416ea72e018cd | [
"BSL-1.0"
] | null | null | null | /*=============================================================================
Copyright (c) 2011-2017 Bolero MURAKAMI
https://github.com/bolero-MURAKAMI/Sprout
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.tx... | 33.869565 | 110 | 0.666239 | kariya-mitsuru |
8b483c21bfa42855dabbfd39baef5da2cb4a8a15 | 1,203 | hpp | C++ | include/boost/url/rfc/userinfo_bnf.hpp | madmongo1/url | e7c9b0c860abd5fba3b7a20c3b29552a326de7b5 | [
"BSL-1.0"
] | null | null | null | include/boost/url/rfc/userinfo_bnf.hpp | madmongo1/url | e7c9b0c860abd5fba3b7a20c3b29552a326de7b5 | [
"BSL-1.0"
] | null | null | null | include/boost/url/rfc/userinfo_bnf.hpp | madmongo1/url | e7c9b0c860abd5fba3b7a20c3b29552a326de7b5 | [
"BSL-1.0"
] | null | null | null | //
// Copyright (c) 2016-2019 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/CPPAlliance/url
//
#ifndef BOOST_URL_U... | 21.872727 | 79 | 0.670823 | madmongo1 |
8b49a84cd4a8878d58fcf0cd8d072da09adcade8 | 13,202 | hpp | C++ | include/pfp/dictionary.hpp | maxrossi91/pfp-data-structures | 6c5c1b801573d1c5116297e3cca20d1517c41e7b | [
"MIT"
] | 6 | 2020-06-23T11:46:27.000Z | 2021-06-01T09:59:01.000Z | include/pfp/dictionary.hpp | maxrossi91/pfp-data-structures | 6c5c1b801573d1c5116297e3cca20d1517c41e7b | [
"MIT"
] | null | null | null | include/pfp/dictionary.hpp | maxrossi91/pfp-data-structures | 6c5c1b801573d1c5116297e3cca20d1517c41e7b | [
"MIT"
] | null | null | null | /* pfp-dictionary - prefix free parsing dictionary
Copyright (C) 2020 Massimiliano Rossi
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at yo... | 31.136792 | 112 | 0.591577 | maxrossi91 |
8b4b0eac349275067c8eda66b9c81b17b3a3648d | 4,042 | cpp | C++ | DeepSkyStacker/SaturationTab.cpp | matdrapes/DSS | ab2c184cb9e03f5acc550df52aa3804f76ea59bb | [
"BSD-3-Clause"
] | 4 | 2018-02-26T09:45:52.000Z | 2018-03-04T16:23:37.000Z | DeepSkyStacker/SaturationTab.cpp | matdrapes/DSS | ab2c184cb9e03f5acc550df52aa3804f76ea59bb | [
"BSD-3-Clause"
] | null | null | null | DeepSkyStacker/SaturationTab.cpp | matdrapes/DSS | ab2c184cb9e03f5acc550df52aa3804f76ea59bb | [
"BSD-3-Clause"
] | null | null | null | // SaturationTab.cpp : implementation file
//
#include "stdafx.h"
#include "DeepSkyStacker.h"
#include "SaturationTab.h"
#include "DeepStackerDlg.h"
#include "ProcessingDlg.h"
/////////////////////////////////////////////////////////////////////////////
// CSaturationTab property page
/* ----------------------------... | 27.127517 | 89 | 0.571994 | matdrapes |
8b4b78755d976a7d149c91e2a8133c54ea47f193 | 3,228 | hpp | C++ | include/gltf2/Exceptions.hpp | Lugdunum3D/glTF2-loader | c2c6b32e65094ddde2a551b8a5bf10ef6ffb07a2 | [
"MIT"
] | 38 | 2017-04-19T02:15:57.000Z | 2022-01-28T09:43:46.000Z | include/gltf2/Exceptions.hpp | Lugdunum3D/glTF2-loader | c2c6b32e65094ddde2a551b8a5bf10ef6ffb07a2 | [
"MIT"
] | 2 | 2017-07-17T07:03:31.000Z | 2018-05-08T02:14:02.000Z | include/gltf2/Exceptions.hpp | Lugdunum3D/glTF2-loader | c2c6b32e65094ddde2a551b8a5bf10ef6ffb07a2 | [
"MIT"
] | 6 | 2017-06-22T13:52:39.000Z | 2022-03-28T08:15:31.000Z | #pragma once
#include <string>
#include <exception>
namespace gltf2 {
class MisformattedException: public std::exception {
public:
explicit MisformattedException(const char* key, const char* what) {
_what = std::string("Misformated file: '") + key + "' " + what;
}
explicit MisformattedException(c... | 41.922078 | 130 | 0.753717 | Lugdunum3D |
8b4d68a0668483b9de1b305cf742472641a73746 | 22,686 | cc | C++ | tensorflow/core/profiler/utils/group_events.cc | Squadrick/tensorflow | 735bb0fc23f70a7bbff8de4d3258b48f2853c0c3 | [
"Apache-2.0"
] | null | null | null | tensorflow/core/profiler/utils/group_events.cc | Squadrick/tensorflow | 735bb0fc23f70a7bbff8de4d3258b48f2853c0c3 | [
"Apache-2.0"
] | null | null | null | tensorflow/core/profiler/utils/group_events.cc | Squadrick/tensorflow | 735bb0fc23f70a7bbff8de4d3258b48f2853c0c3 | [
"Apache-2.0"
] | null | null | null | /* Copyright 2020 The TensorFlow Authors. 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 a... | 38.320946 | 80 | 0.692806 | Squadrick |
8b4f76a431758b3e139cbfceb5c46cb4f551b561 | 78,642 | cpp | C++ | editor/editor_file_system.cpp | Segs/Engine | 754aabfc2708a46f764979a604871633152ce479 | [
"CC-BY-3.0",
"Apache-2.0",
"MIT"
] | 8 | 2019-09-03T19:58:19.000Z | 2021-06-18T07:11:26.000Z | editor/editor_file_system.cpp | Segs/Engine | 754aabfc2708a46f764979a604871633152ce479 | [
"CC-BY-3.0",
"Apache-2.0",
"MIT"
] | 24 | 2019-09-03T17:35:45.000Z | 2020-10-27T14:36:02.000Z | editor/editor_file_system.cpp | nemerle/SegsEngine | b9dd0b5481b92d956befa72c746758d33a1a08c9 | [
"CC-BY-3.0",
"Apache-2.0",
"MIT"
] | 6 | 2019-09-27T15:44:35.000Z | 2021-01-23T18:52:51.000Z | /*************************************************************************/
/* editor_file_system.cpp */
/*************************************************************************/
/* This file is part of: */
/* ... | 34.859043 | 214 | 0.592152 | Segs |
332f04b476425becdfd4d2dd9605d44ef22c47e5 | 3,274 | cpp | C++ | src/Cpu_stub.cpp | oujx28/Ulordrig | cab7fa4e01c1cb93211a81a6fad20c604e960328 | [
"MIT"
] | 44 | 2018-04-04T09:48:50.000Z | 2021-01-15T10:45:22.000Z | src/Cpu_stub.cpp | oujx28/Ulordrig | cab7fa4e01c1cb93211a81a6fad20c604e960328 | [
"MIT"
] | 28 | 2018-05-04T13:44:52.000Z | 2020-03-27T03:38:03.000Z | src/Cpu_stub.cpp | oujx28/Ulordrig | cab7fa4e01c1cb93211a81a6fad20c604e960328 | [
"MIT"
] | 9 | 2018-04-19T03:47:46.000Z | 2019-04-14T11:02:51.000Z | /* UlordRig
* Copyright 2010 Jeff Garzik <jgarzik@pobox.com>
* Copyright 2012-2014 pooler <pooler@litecoinpool.org>
* Copyright 2014 Lucas Jones <https://github.com/lucasjones>
* Copyright 2014-2016 Wolf9466 <https://github.com/OhGodAPet>
* Copyright 2016 Jay D Dee <jayddee246@gmail.com>
... | 23.385714 | 75 | 0.638974 | oujx28 |
3330fde17bf0ebe928b49a1ec0be3c761b017232 | 45,707 | cc | C++ | test/extensions/clusters/redis/redis_cluster_test.cc | mengmichael1/envoy | cafccb2f92f90952619465c4f3a4f69ce43e2d55 | [
"Apache-2.0"
] | 1 | 2021-01-05T05:56:04.000Z | 2021-01-05T05:56:04.000Z | test/extensions/clusters/redis/redis_cluster_test.cc | mengmichael1/envoy | cafccb2f92f90952619465c4f3a4f69ce43e2d55 | [
"Apache-2.0"
] | 1 | 2021-01-26T05:15:20.000Z | 2021-01-26T05:15:20.000Z | test/extensions/clusters/redis/redis_cluster_test.cc | mengmichael1/envoy | cafccb2f92f90952619465c4f3a4f69ce43e2d55 | [
"Apache-2.0"
] | null | null | null | #include <bitset>
#include <chrono>
#include <memory>
#include <vector>
#include "envoy/config/cluster/redis/redis_cluster.pb.h"
#include "envoy/config/cluster/redis/redis_cluster.pb.validate.h"
#include "envoy/config/cluster/v3/cluster.pb.h"
#include "envoy/extensions/filters/network/redis_proxy/v3/redis_proxy.pb.h"
... | 43.324171 | 100 | 0.69683 | mengmichael1 |
3331139de82861cc8f6e5e025b2084bd2fd47043 | 5,030 | hpp | C++ | solvers/elliptic/elliptic.hpp | MalachiTimothyPhillips/libparanumal | f3fd4505df56207b05aa86164124ab6bad83f92a | [
"MIT"
] | null | null | null | solvers/elliptic/elliptic.hpp | MalachiTimothyPhillips/libparanumal | f3fd4505df56207b05aa86164124ab6bad83f92a | [
"MIT"
] | null | null | null | solvers/elliptic/elliptic.hpp | MalachiTimothyPhillips/libparanumal | f3fd4505df56207b05aa86164124ab6bad83f92a | [
"MIT"
] | null | null | null | /*
The MIT License (MIT)
Copyright (c) 2017 Tim Warburton, Noel Chalmers, Jesse Chan, Ali Karakus
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 limitatio... | 30.858896 | 79 | 0.757058 | MalachiTimothyPhillips |
3332526f3d566e703fa2abc40ae7419c1f800ddc | 8,266 | hpp | C++ | libraries/chain/include/graphene/chain/config.hpp | InsurChain/insur-core | c1743f1ced41b82cd7632016639230dfd1669704 | [
"MIT"
] | 8 | 2018-03-30T02:05:03.000Z | 2021-01-07T10:55:16.000Z | libraries/chain/include/graphene/chain/config.hpp | InsurChain/insur-core | c1743f1ced41b82cd7632016639230dfd1669704 | [
"MIT"
] | 1 | 2021-05-10T02:48:10.000Z | 2021-05-10T02:48:10.000Z | libraries/chain/include/graphene/chain/config.hpp | InsurChain/insur-core | c1743f1ced41b82cd7632016639230dfd1669704 | [
"MIT"
] | 3 | 2018-03-30T03:45:57.000Z | 2019-05-23T17:05:08.000Z | /*
* Copyright (c) 2015 Cryptonomex, Inc., and contributors.
*
* The MIT License
*
* 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... | 52.316456 | 127 | 0.74256 | InsurChain |
33325315971482f45af6013fca9c643bc35df8b2 | 2,300 | cpp | C++ | CLRS/BinaryTree/FindLeavesofBinaryTree.cpp | ComputerProgrammerStorager/DataStructureAlgorithm | 508f7e37898c907ea7ea6ec40749621a2349e93f | [
"MIT"
] | null | null | null | CLRS/BinaryTree/FindLeavesofBinaryTree.cpp | ComputerProgrammerStorager/DataStructureAlgorithm | 508f7e37898c907ea7ea6ec40749621a2349e93f | [
"MIT"
] | null | null | null | CLRS/BinaryTree/FindLeavesofBinaryTree.cpp | ComputerProgrammerStorager/DataStructureAlgorithm | 508f7e37898c907ea7ea6ec40749621a2349e93f | [
"MIT"
] | null | null | null | /*
Given the root of a binary tree, collect a tree's nodes as if you were doing this:
Collect all the leaf nodes.
Remove all the leaf nodes.
Repeat until the tree is empty.
Example 1:
Input: root = [1,2,3,4,5]
Output: [[4,5,3],[2],[1]]
Explanation:
[[3,5,4],[2],[1]] and [[3,4,5],[2],[1]] are also considered corre... | 25.842697 | 157 | 0.596087 | ComputerProgrammerStorager |
3332b46a90a8fc09175490fffedfe4c6501d26c6 | 1,780 | cpp | C++ | C++/course-schedule.cpp | black-shadows/LeetCode-Solutions | b1692583f7b710943ffb19b392b8bf64845b5d7a | [
"Fair",
"Unlicense"
] | 1 | 2020-04-16T08:38:14.000Z | 2020-04-16T08:38:14.000Z | course-schedule.cpp | Jeevan-kumar-Raj/LeetCode-Solutions-Topicwise | f1111b4edd401a3fc47111993bd7250cf4dc76da | [
"MIT"
] | null | null | null | course-schedule.cpp | Jeevan-kumar-Raj/LeetCode-Solutions-Topicwise | f1111b4edd401a3fc47111993bd7250cf4dc76da | [
"MIT"
] | 1 | 2021-12-25T14:48:56.000Z | 2021-12-25T14:48:56.000Z | // Time: O(|V| + |E|)
// Space: O(|E|)
// Topological sort solution.
class Solution {
public:
bool canFinish(int numCourses, vector<vector<int>>& prerequisites) {
// Store courses with in-degree zero.
queue<int> zeroInDegree;
// in-degree, out-degree
unordered_m... | 34.901961 | 84 | 0.512921 | black-shadows |
33349d9f0702121de810cca7b2449ace0e01ffe9 | 41,624 | cpp | C++ | Userland/Libraries/LibJS/Runtime/ECMAScriptFunctionObject.cpp | r00ster91/serenity | f8387dea2689d564aff612bfd4ec5086393fac35 | [
"BSD-2-Clause"
] | 19,438 | 2019-05-20T15:11:11.000Z | 2022-03-31T23:31:32.000Z | Userland/Libraries/LibJS/Runtime/ECMAScriptFunctionObject.cpp | r00ster91/serenity | f8387dea2689d564aff612bfd4ec5086393fac35 | [
"BSD-2-Clause"
] | 7,882 | 2019-05-20T01:03:52.000Z | 2022-03-31T23:26:31.000Z | Userland/Libraries/LibJS/Runtime/ECMAScriptFunctionObject.cpp | r00ster91/serenity | f8387dea2689d564aff612bfd4ec5086393fac35 | [
"BSD-2-Clause"
] | 2,721 | 2019-05-23T00:44:57.000Z | 2022-03-31T22:49:34.000Z | /*
* Copyright (c) 2020, Stephan Unverwerth <s.unverwerth@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <AK/Debug.h>
#include <AK/Function.h>
#include <LibJS/AST.h>
#include <LibJS/Bytecode/BasicBlock.h>
#include <LibJS/Bytecode/Generator.h>
#include <LibJS/Bytecode/Interpreter.h>
#include ... | 48.120231 | 394 | 0.686359 | r00ster91 |
3336a95d4e3b353008216a696220379a64c5294a | 1,566 | cpp | C++ | src/kits/mail/NodeMessage.cpp | stasinek/BHAPI | 5d9aa61665ae2cc5c6e34415957d49a769325b2b | [
"BSD-3-Clause",
"MIT"
] | 3 | 2018-05-21T15:32:32.000Z | 2019-03-21T13:34:55.000Z | src/kits/mail/NodeMessage.cpp | stasinek/BHAPI | 5d9aa61665ae2cc5c6e34415957d49a769325b2b | [
"BSD-3-Clause",
"MIT"
] | null | null | null | src/kits/mail/NodeMessage.cpp | stasinek/BHAPI | 5d9aa61665ae2cc5c6e34415957d49a769325b2b | [
"BSD-3-Clause",
"MIT"
] | null | null | null | #include <NodeMessage.h>
#include <kits/StorageKit.h>
#include <fs_attr.h>
#include <stdlib.h>
/*
These functions gives a nice BMessage interface to node attributes,
by letting you transfer attributes to and from BMessages. It makes
it so you can use all the convenient Find...() and Add...() functions
pr... | 23.373134 | 72 | 0.66092 | stasinek |
33373e6855e083d26b7765a96b276a1166653ebb | 6,325 | cpp | C++ | src/Evolution/Systems/RelativisticEuler/Valencia/PrimitiveFromConservative.cpp | trami18/spectre | 6b1f6497bf2e26d1474bfadf143b3321942c40b4 | [
"MIT"
] | 2 | 2021-04-11T04:07:42.000Z | 2021-04-11T05:07:54.000Z | src/Evolution/Systems/RelativisticEuler/Valencia/PrimitiveFromConservative.cpp | trami18/spectre | 6b1f6497bf2e26d1474bfadf143b3321942c40b4 | [
"MIT"
] | null | null | null | src/Evolution/Systems/RelativisticEuler/Valencia/PrimitiveFromConservative.cpp | trami18/spectre | 6b1f6497bf2e26d1474bfadf143b3321942c40b4 | [
"MIT"
] | null | null | null | // Distributed under the MIT License.
// See LICENSE.txt for details.
#include "Evolution/Systems/RelativisticEuler/Valencia/PrimitiveFromConservative.hpp"
#include <cmath>
#include <limits>
#include "DataStructures/DataVector.hpp" // IWYU pragma: keep
#include "DataStructures/Tensor/EagerMath/DotProduct.hpp"
#incl... | 40.544872 | 85 | 0.700553 | trami18 |
33380e066506e538883f055b0d8f02de8251b3c7 | 3,277 | hpp | C++ | TstarMassReco/interface/RecoUtils.hpp | NTUHEP-Tstar/TstarAnalysis | d3bcdf6f0fd19b9a34bbacb1052143856917bea7 | [
"MIT"
] | null | null | null | TstarMassReco/interface/RecoUtils.hpp | NTUHEP-Tstar/TstarAnalysis | d3bcdf6f0fd19b9a34bbacb1052143856917bea7 | [
"MIT"
] | null | null | null | TstarMassReco/interface/RecoUtils.hpp | NTUHEP-Tstar/TstarAnalysis | d3bcdf6f0fd19b9a34bbacb1052143856917bea7 | [
"MIT"
] | null | null | null | /*******************************************************************************
*
* Filename : RecoUtils.hh
* Description : Utility functions for converting CMSSW object to fitting results
* Author : Yi-Mu "Enoch" Chen [ ensc@hep1.phys.ntu.edu.tw ]
*
*********************************************************... | 47.492754 | 121 | 0.577968 | NTUHEP-Tstar |
333d71890bba236bfb2410f0a18453cdae81f702 | 172 | cpp | C++ | sources/classes/c_baseclasses.cpp | lukis101/ArcanistsScribblings | f05f83314066c12fcf64405ef45e538294fec296 | [
"MIT"
] | 5 | 2018-01-31T16:50:39.000Z | 2018-09-23T19:18:11.000Z | sources/classes/c_baseclasses.cpp | lukis101/ArcanistsScribblings | f05f83314066c12fcf64405ef45e538294fec296 | [
"MIT"
] | null | null | null | sources/classes/c_baseclasses.cpp | lukis101/ArcanistsScribblings | f05f83314066c12fcf64405ef45e538294fec296 | [
"MIT"
] | null | null | null |
//#include "SDL/SDL.h"
//#include <iostream>
//#include "classes/c_baseclasses.h"
//#include "functions/logic.h"
//#include "globals.h"
//#include "classes/c_baseclass.h"
| 21.5 | 36 | 0.697674 | lukis101 |
333dc29672c97df278d65b1dffbbea7797dd0f20 | 1,293 | hpp | C++ | http_parser/utils/find.hpp | zerhud/std_http_utils | 0c37eecc242a93a7bf7d2d7ea8f0eb9f51d77293 | [
"MIT"
] | null | null | null | http_parser/utils/find.hpp | zerhud/std_http_utils | 0c37eecc242a93a7bf7d2d7ea8f0eb9f51d77293 | [
"MIT"
] | null | null | null | http_parser/utils/find.hpp | zerhud/std_http_utils | 0c37eecc242a93a7bf7d2d7ea8f0eb9f51d77293 | [
"MIT"
] | null | null | null | #pragma once
/*************************************************************************
* Copyright © 2022 Hudyaev Alexy <hudyaev.alexy@gmail.com>
* This file is part of http_parser.
* Distributed under the MIT License.
* See accompanying file LICENSE (at the root of this repository)
*****************************... | 32.325 | 76 | 0.556071 | zerhud |
333e8c510602b4572f7fb7a665581c53fcf1d206 | 2,555 | hpp | C++ | modules/boost/simd/base/include/boost/simd/boolean/functions/if_one_else_zero.hpp | psiha/nt2 | 5e829807f6b57b339ca1be918a6b60a2507c54d0 | [
"BSL-1.0"
] | null | null | null | modules/boost/simd/base/include/boost/simd/boolean/functions/if_one_else_zero.hpp | psiha/nt2 | 5e829807f6b57b339ca1be918a6b60a2507c54d0 | [
"BSL-1.0"
] | null | null | null | modules/boost/simd/base/include/boost/simd/boolean/functions/if_one_else_zero.hpp | psiha/nt2 | 5e829807f6b57b339ca1be918a6b60a2507c54d0 | [
"BSL-1.0"
] | null | null | null | //==============================================================================
// Copyright 2003 - 2012 LASMEA UMR 6602 CNRS/Univ. Clermont II
// Copyright 2009 - 2012 LRI UMR 8623 CNRS/Univ Paris Sud XI
//
// Distributed under the Boost Software License, Version 1.0.
// ... | 31.9375 | 190 | 0.646184 | psiha |
333f597861ed901be25f25753175e181f6f94f6a | 1,266 | cpp | C++ | source/plc/src/document/EXACTLY.cpp | dlin172/Plange | 4b36a1225b2263bc8d38a6d1cc9b50c3d4b58e04 | [
"BSD-3-Clause"
] | null | null | null | source/plc/src/document/EXACTLY.cpp | dlin172/Plange | 4b36a1225b2263bc8d38a6d1cc9b50c3d4b58e04 | [
"BSD-3-Clause"
] | null | null | null | source/plc/src/document/EXACTLY.cpp | dlin172/Plange | 4b36a1225b2263bc8d38a6d1cc9b50c3d4b58e04 | [
"BSD-3-Clause"
] | null | null | null | // This file was generated using Parlex's cpp_generator
#include "EXACTLY.hpp"
#include "plange_grammar.hpp"
#include "parlex/detail/document.hpp"
#include "EXPRESSION.hpp"
#include "IC.hpp"
plc::EXACTLY plc::EXACTLY::build(parlex::detail::ast_node const & n) {
static auto const * b = state_machine().behavior;
p... | 45.214286 | 152 | 0.71248 | dlin172 |
334038fc5382de376e28dc2a08b4190a2f11bbad | 417 | cpp | C++ | BOCA/AB/src/validator.cpp | Raquel29/PC1-IFB-CC | 36b55e95373a5f022651545248d8cb66bac1cd3f | [
"MIT"
] | 1 | 2020-05-24T02:22:13.000Z | 2020-05-24T02:22:13.000Z | BOCA/AB/src/validator.cpp | danielsaad/PC1-IFB-CC | 36b55e95373a5f022651545248d8cb66bac1cd3f | [
"MIT"
] | null | null | null | BOCA/AB/src/validator.cpp | danielsaad/PC1-IFB-CC | 36b55e95373a5f022651545248d8cb66bac1cd3f | [
"MIT"
] | 4 | 2019-05-15T10:55:57.000Z | 2019-10-26T13:46:48.000Z | #include "testlib.h"
#include <bits/stdc++.h>
using namespace std;
const int MIN_N = 2;
const int MAX_N = 1e5;
const double MIN_VALUE = 0.0;
const double MAX_VALUE = 10.0;
int main(int argc, char* argv[]) {
registerValidation(argc, argv);
int n = inf.readInt(MIN_N,MAX_N,"n");
inf.readEoln();
inf.re... | 19.857143 | 52 | 0.657074 | Raquel29 |
33407ef0747e90112dffe5b4bd15a0c62064c56e | 315,827 | cpp | C++ | test/std/experimental/string.view/string.view.ops/compare.size_size_sv_size_size.pass.cpp | georgix/llvm_libcxx | 9962ddfa24575d41ffeeaaf4f90a33ea859980dd | [
"MIT"
] | 1,244 | 2015-01-02T21:08:56.000Z | 2022-03-22T21:34:16.000Z | test/std/experimental/string.view/string.view.ops/compare.size_size_sv_size_size.pass.cpp | georgix/llvm_libcxx | 9962ddfa24575d41ffeeaaf4f90a33ea859980dd | [
"MIT"
] | 125 | 2015-01-22T01:08:00.000Z | 2020-05-25T08:28:17.000Z | test/std/experimental/string.view/string.view.ops/compare.size_size_sv_size_size.pass.cpp | georgix/llvm_libcxx | 9962ddfa24575d41ffeeaaf4f90a33ea859980dd | [
"MIT"
] | 124 | 2015-01-12T15:06:17.000Z | 2022-03-26T07:48:53.000Z | //===----------------------------------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------... | 54.04295 | 88 | 0.569888 | georgix |
3340a84f5d1d80057b6bed08cf898648910a7d4e | 1,415 | cpp | C++ | src/game/shared/tf2/tf_gamemovement_pyro.cpp | cstom4994/SourceEngineRebuild | edfd7f8ce8af13e9d23586318350319a2e193c08 | [
"MIT"
] | 6 | 2022-01-23T09:40:33.000Z | 2022-03-20T20:53:25.000Z | src/game/shared/tf2/tf_gamemovement_pyro.cpp | cstom4994/SourceEngineRebuild | edfd7f8ce8af13e9d23586318350319a2e193c08 | [
"MIT"
] | null | null | null | src/game/shared/tf2/tf_gamemovement_pyro.cpp | cstom4994/SourceEngineRebuild | edfd7f8ce8af13e9d23586318350319a2e193c08 | [
"MIT"
] | 1 | 2022-02-06T21:05:23.000Z | 2022-02-06T21:05:23.000Z | //========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose: Auto Repair
//
// $NoKeywords: $
//=============================================================================//
#include "cbase.h"
#include "tf_gamemovement_pyro.h"
#include "tf_movedata.h"
CTFGameMovementPyro::CTFGameMovem... | 28.877551 | 98 | 0.727208 | cstom4994 |
3351218184d4e3d0f5a0b4c6048198aedf0c67bd | 798 | hpp | C++ | src/duke/streams/SingleFileStream.hpp | hradec/duke | efacf7139cd1d7c2cd2f5127079721bd263dda50 | [
"MIT"
] | 51 | 2015-01-07T18:36:39.000Z | 2021-11-30T15:24:44.000Z | src/duke/streams/SingleFileStream.hpp | virneo/duke | efacf7139cd1d7c2cd2f5127079721bd263dda50 | [
"MIT"
] | 1 | 2015-01-08T10:48:43.000Z | 2015-02-11T19:32:14.000Z | src/duke/streams/SingleFileStream.hpp | virneo/duke | efacf7139cd1d7c2cd2f5127079721bd263dda50 | [
"MIT"
] | 18 | 2015-05-11T12:43:37.000Z | 2019-11-29T11:15:41.000Z | #pragma once
#include "IMediaStream.hpp"
#include "duke/attributes/Attributes.hpp"
#include "duke/io/IO.hpp"
#include <mutex>
namespace sequence {
struct Item;
}
namespace duke {
class SingleFileStream final : public duke::IMediaStream {
public:
SingleFileStream(const sequence::Item& item);
~SingleFileStream... | 21 | 76 | 0.749373 | hradec |
3352b3882b2ab38b5ac7ca00f367c4ecdbb57303 | 6,503 | cpp | C++ | legacy/project/src/common/GraphicsData.cpp | gunnbr/lime | 87cd4b2dbb4b32d7cbe8a03895e0d2a35f8662cc | [
"MIT"
] | 6 | 2015-03-21T10:20:55.000Z | 2019-03-10T14:04:43.000Z | legacy/project/src/common/GraphicsData.cpp | gunnbr/lime | 87cd4b2dbb4b32d7cbe8a03895e0d2a35f8662cc | [
"MIT"
] | 1 | 2020-07-04T23:48:49.000Z | 2020-07-04T23:48:49.000Z | legacy/project/src/common/GraphicsData.cpp | gunnbr/lime | 87cd4b2dbb4b32d7cbe8a03895e0d2a35f8662cc | [
"MIT"
] | 2 | 2016-01-24T20:01:59.000Z | 2019-10-26T22:52:43.000Z | #include <Graphics.h>
namespace nme
{
// --- GraphicsPath ------------------------------------------
void GraphicsPath::initPosition(const UserPoint &inPoint)
{
commands.push_back(pcBeginAt);
data.push_back(inPoint.x);
data.push_back(inPoint.y);
}
void GraphicsPath::clear()
{
commands.resize(0);
data... | 23.733577 | 114 | 0.565893 | gunnbr |
3352ee924a53250514f942069e6b96ba72d835fe | 76,306 | cpp | C++ | automated-tests/src/dali/utc-Dali-CameraActor.cpp | Coquinho/dali-core | 97a968a80ad681b1cbbc219fa6729f2344672476 | [
"Apache-2.0",
"BSD-3-Clause"
] | 21 | 2016-11-18T10:26:40.000Z | 2021-11-02T09:46:15.000Z | automated-tests/src/dali/utc-Dali-CameraActor.cpp | Coquinho/dali-core | 97a968a80ad681b1cbbc219fa6729f2344672476 | [
"Apache-2.0",
"BSD-3-Clause"
] | 7 | 2016-10-18T17:39:12.000Z | 2020-12-01T11:45:36.000Z | automated-tests/src/dali/utc-Dali-CameraActor.cpp | expertisesolutions/dali-core | 444ee3f60f12a23aca07059c5e1109f26613e44e | [
"Apache-2.0",
"BSD-3-Clause"
] | 16 | 2017-03-08T15:50:32.000Z | 2021-05-24T06:58:10.000Z | /*
* Copyright (c) 2020 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | 35.976426 | 180 | 0.755091 | Coquinho |
33533c34088ba4131af99f6493e0c7c67909292b | 25,711 | cc | C++ | self_test/poisson/tree_rotation_tests/tree_3d.cc | PuneetMatharu/oomph-lib | edd590cbb4f3ef9940b9738f18275ea2fb828c55 | [
"RSA-MD"
] | null | null | null | self_test/poisson/tree_rotation_tests/tree_3d.cc | PuneetMatharu/oomph-lib | edd590cbb4f3ef9940b9738f18275ea2fb828c55 | [
"RSA-MD"
] | 1 | 2022-03-23T16:16:41.000Z | 2022-03-23T16:16:41.000Z | self_test/poisson/tree_rotation_tests/tree_3d.cc | PuneetMatharu/oomph-lib | edd590cbb4f3ef9940b9738f18275ea2fb828c55 | [
"RSA-MD"
] | null | null | null | //LIC// ====================================================================
//LIC// This file forms part of oomph-lib, the object-oriented,
//LIC// multi-physics finite-element library, available
//LIC// at http://www.oomph-lib.org.
//LIC//
//LIC// Copyright (C) 2006-2022 Matthias Heil and Andrew Hazel
//LIC//
//L... | 28.007625 | 79 | 0.598071 | PuneetMatharu |
3353cb6ede5da5fd87ab26a7495727020406705d | 2,162 | cpp | C++ | CsWeapon/Source/CsWp/Public/Projectile/Data/CsLibrary_Data_ProjectileWeapon.cpp | closedsum/core | c3cae44a177b9684585043a275130f9c7b67fef0 | [
"Unlicense"
] | 2 | 2019-03-17T10:43:53.000Z | 2021-04-20T21:24:19.000Z | CsWeapon/Source/CsWp/Public/Projectile/Data/CsLibrary_Data_ProjectileWeapon.cpp | closedsum/core | c3cae44a177b9684585043a275130f9c7b67fef0 | [
"Unlicense"
] | null | null | null | CsWeapon/Source/CsWp/Public/Projectile/Data/CsLibrary_Data_ProjectileWeapon.cpp | closedsum/core | c3cae44a177b9684585043a275130f9c7b67fef0 | [
"Unlicense"
] | null | null | null | // Copyright 2017-2021 Closed Sum Games, LLC. All Rights Reserved.
#include "Projectile/Data/CsLibrary_Data_ProjectileWeapon.h"
#include "CsWp.h"
// Library
#include "Library/CsLibrary_Valid.h"
// Data
#include "Projectile/Data/CsData_ProjectileWeapon.h"
namespace NCsWeapon
{
namespace NProjectile
{
namespace NDa... | 32.268657 | 158 | 0.703515 | closedsum |
335429359dac1d5601556f4550f4270b20170e8a | 10,227 | cpp | C++ | src/linux_platform.cpp | glitchheart/glitchheartengine | 7adf14475f8feb6239e12a9ce2cfd9c005592443 | [
"MIT"
] | 3 | 2019-07-11T18:16:48.000Z | 2019-07-18T11:53:34.000Z | src/linux_platform.cpp | glitchheart/glitchheartengine | 7adf14475f8feb6239e12a9ce2cfd9c005592443 | [
"MIT"
] | 5 | 2019-07-19T07:16:53.000Z | 2019-08-16T07:23:47.000Z | src/linux_platform.cpp | glitchheart/glitchheartengine | 7adf14475f8feb6239e12a9ce2cfd9c005592443 | [
"MIT"
] | null | null | null | #include <time.h>
#include <errno.h>
#include <sys/sendfile.h>
#include <sys/mman.h>
#include "unistd.h"
#include <dirent.h>
#include "dlfcn.h"
#include "linux_threading.cpp"
struct PlatformHandle
{
i32 handle;
};
inline PLATFORM_FILE_EXISTS(linux_file_exists)
{
struct stat buffer;
return (stat(file_path,... | 22.526432 | 123 | 0.582967 | glitchheart |
335653f54dd2f8c39bf3f44e2158859f4386ba2e | 15,542 | cpp | C++ | src/modes/hip/device.cpp | luspi/occa | a6d9846fc67f35dea1c3af1ef3dc36bbe1fdd244 | [
"MIT"
] | 4 | 2020-02-26T19:33:16.000Z | 2020-12-06T07:50:11.000Z | src/modes/hip/device.cpp | luspi/occa | a6d9846fc67f35dea1c3af1ef3dc36bbe1fdd244 | [
"MIT"
] | 12 | 2020-05-13T03:50:11.000Z | 2021-09-16T16:26:06.000Z | src/modes/hip/device.cpp | luspi/occa | a6d9846fc67f35dea1c3af1ef3dc36bbe1fdd244 | [
"MIT"
] | 10 | 2020-03-02T15:55:02.000Z | 2021-12-03T02:44:10.000Z | #include <occa/core/base.hpp>
#include <occa/io/output.hpp>
#include <occa/tools/env.hpp>
#include <occa/tools/misc.hpp>
#include <occa/tools/sys.hpp>
#include <occa/modes/hip/device.hpp>
#include <occa/modes/hip/kernel.hpp>
#include <occa/modes/hip/memory.hpp>
#include <occa/modes/hip/stream.hpp>
#include <occa/modes/... | 34.461197 | 92 | 0.527538 | luspi |
33589817109583ff5c0107e065fa2b2f95d9f573 | 152,808 | cpp | C++ | RenderSystems/GL3Plus/src/OgreGL3PlusRenderSystem.cpp | Ybalrid/ogre-next | 8a4919be31c4262643a77534f883e35fdf850f4a | [
"MIT"
] | null | null | null | RenderSystems/GL3Plus/src/OgreGL3PlusRenderSystem.cpp | Ybalrid/ogre-next | 8a4919be31c4262643a77534f883e35fdf850f4a | [
"MIT"
] | null | null | null | RenderSystems/GL3Plus/src/OgreGL3PlusRenderSystem.cpp | Ybalrid/ogre-next | 8a4919be31c4262643a77534f883e35fdf850f4a | [
"MIT"
] | null | null | null | /*
-----------------------------------------------------------------------------
This source file is part of OGRE
(Object-oriented Graphics Rendering Engine)
For the latest info, see http://www.ogre3d.org
Copyright (c) 2000-2014 Torus Knot Software Ltd
Permission is hereby granted, free of charge, to any pe... | 38.307345 | 182 | 0.573445 | Ybalrid |
3358c5e078d542649f3778d2702e7a73cc809bf0 | 1,501 | cpp | C++ | quic/common/test/TimeUtilTest.cpp | jsquyres/mvfst | 4dd8efffcbd49db0e7a70f534c2f01bac74cd0ed | [
"MIT"
] | null | null | null | quic/common/test/TimeUtilTest.cpp | jsquyres/mvfst | 4dd8efffcbd49db0e7a70f534c2f01bac74cd0ed | [
"MIT"
] | null | null | null | quic/common/test/TimeUtilTest.cpp | jsquyres/mvfst | 4dd8efffcbd49db0e7a70f534c2f01bac74cd0ed | [
"MIT"
] | null | null | null | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*/
#include <quic/common/TimeUtil.h>
#include <gtest/gtest.h>
namespace quic {
namespace test {
using namespace std;
using namesp... | 31.270833 | 66 | 0.711526 | jsquyres |
3359e463a9f49f08f03780efc8e4f8f4db39b0f6 | 2,250 | cpp | C++ | tests/lsutils_alloc_chunk_test.cpp | hamsham/LightUtils | ae909ee0e6d8915b1447cbb41aceceb98df1a2e6 | [
"BSD-3-Clause"
] | 1 | 2021-09-04T19:23:37.000Z | 2021-09-04T19:23:37.000Z | tests/lsutils_alloc_chunk_test.cpp | hamsham/LightUtils | ae909ee0e6d8915b1447cbb41aceceb98df1a2e6 | [
"BSD-3-Clause"
] | null | null | null | tests/lsutils_alloc_chunk_test.cpp | hamsham/LightUtils | ae909ee0e6d8915b1447cbb41aceceb98df1a2e6 | [
"BSD-3-Clause"
] | 1 | 2015-10-16T06:07:58.000Z | 2015-10-16T06:07:58.000Z |
#include <cassert>
#include <cstdio>
#include <iostream>
#include "lightsky/utils/ChunkAllocator.hpp"
int main()
{
constexpr unsigned alloc_table_size = 1024*1024;
constexpr unsigned block_size = 512;
constexpr unsigned max_allocations = alloc_table_size / block_size;
// test allocator of 64 bytes... | 25 | 95 | 0.492889 | hamsham |
335a1f7e2f14d2f765af640085054541005f500e | 10,910 | hpp | C++ | src/lib/xml_compiler/include/pqrs/xml_compiler/detail/extracted_ptree.hpp | liasica/Karabiner_CN | 5e9e4cb6734777bc9eecc57c5fcd0e8010c2bdc2 | [
"Unlicense"
] | null | null | null | src/lib/xml_compiler/include/pqrs/xml_compiler/detail/extracted_ptree.hpp | liasica/Karabiner_CN | 5e9e4cb6734777bc9eecc57c5fcd0e8010c2bdc2 | [
"Unlicense"
] | null | null | null | src/lib/xml_compiler/include/pqrs/xml_compiler/detail/extracted_ptree.hpp | liasica/Karabiner_CN | 5e9e4cb6734777bc9eecc57c5fcd0e8010c2bdc2 | [
"Unlicense"
] | null | null | null | // This header intentionally has no include guards.
class extracted_ptree final {
public:
extracted_ptree(const xml_compiler& xml_compiler,
const pqrs::string::replacement& replacement,
const boost::property_tree::ptree& pt,
const std::string& xml_file_path) : xm... | 35.537459 | 126 | 0.534189 | liasica |
335c4ea94b60c2b37eac096a95aa53644fd4b39b | 1,554 | cpp | C++ | src/scenemanager.cpp | thatretrodev/unnamedgame | 9292a8d6a02206b0cceb063e24d53dbd2e048f3d | [
"MIT"
] | 4 | 2022-01-09T18:13:29.000Z | 2022-01-09T18:15:54.000Z | src/scenemanager.cpp | thatretrodev/unnamedgame | 9292a8d6a02206b0cceb063e24d53dbd2e048f3d | [
"MIT"
] | null | null | null | src/scenemanager.cpp | thatretrodev/unnamedgame | 9292a8d6a02206b0cceb063e24d53dbd2e048f3d | [
"MIT"
] | null | null | null | #include "raylib.h"
#include "scenemanager.hpp"
SceneManager::SceneManager(bool* gameRunning) {
this->gameRunning = gameRunning;
}
void SceneManager::SwitchScene(int SceneID) {
this->sceneType = SceneID;
switch (this->sceneType) {
case 1:
this->mainMenuScene.Init(this->gameRunning);
break;
case 2:
th... | 21.287671 | 101 | 0.637066 | thatretrodev |
3364518322a07a828793414021d6a4ee5feacb8b | 770 | cc | C++ | test/google-test/loan_controllers_parser_test/loan_controllers_parser_test.cc | fadi-alkhoury/fisim | 08d91973251c94b8ac60b1889b41ffa3ace0d8ad | [
"MIT"
] | null | null | null | test/google-test/loan_controllers_parser_test/loan_controllers_parser_test.cc | fadi-alkhoury/fisim | 08d91973251c94b8ac60b1889b41ffa3ace0d8ad | [
"MIT"
] | null | null | null | test/google-test/loan_controllers_parser_test/loan_controllers_parser_test.cc | fadi-alkhoury/fisim | 08d91973251c94b8ac60b1889b41ffa3ace0d8ad | [
"MIT"
] | null | null | null | #include "json_helpers.h"
#include "rapidjson/document.h"
#include "rapidjson/filereadstream.h"
#include "simulator.h"
#include <gtest/gtest.h>
namespace {
TEST(ParserLoansDataTest, test00) {
using namespace rapidjson;
FILE* fp = std::fopen("./test/google-test/loan_controllers_parser_test/loan_controllers_tes... | 27.5 | 134 | 0.720779 | fadi-alkhoury |
336527597c5d575414f18202a7e0c7ad5b9fca4f | 114,677 | cc | C++ | zircon/kernel/vm/vm_unittest.cc | oshunter/fuchsia | 2196fc8c176d01969466b97bba3f31ec55f7767b | [
"BSD-3-Clause"
] | 2 | 2020-08-16T15:32:35.000Z | 2021-11-07T20:09:46.000Z | zircon/kernel/vm/vm_unittest.cc | oshunter/fuchsia | 2196fc8c176d01969466b97bba3f31ec55f7767b | [
"BSD-3-Clause"
] | null | null | null | zircon/kernel/vm/vm_unittest.cc | oshunter/fuchsia | 2196fc8c176d01969466b97bba3f31ec55f7767b | [
"BSD-3-Clause"
] | 1 | 2021-08-15T04:29:11.000Z | 2021-08-15T04:29:11.000Z | // Copyright 2016 The Fuchsia Authors
//
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file or at
// https://opensource.org/licenses/MIT
#include <align.h>
#include <assert.h>
#include <err.h>
#include <lib/instrumentation/asan.h>
#include <lib/unittest/unittest.h>
#... | 33.57055 | 100 | 0.704971 | oshunter |
33684bb6b44f771fa38c699b33d5f8c05b88a25c | 3,446 | hpp | C++ | Source/Matter/MatterCCZ4.impl.hpp | boxuange/GRChomboo | 22cf6751a3be29776f35a39f433f6bb497280720 | [
"BSD-3-Clause"
] | 3 | 2019-11-25T17:21:28.000Z | 2021-09-10T15:45:57.000Z | Source/Matter/MatterCCZ4.impl.hpp | boxuange/GRChomboo | 22cf6751a3be29776f35a39f433f6bb497280720 | [
"BSD-3-Clause"
] | null | null | null | Source/Matter/MatterCCZ4.impl.hpp | boxuange/GRChomboo | 22cf6751a3be29776f35a39f433f6bb497280720 | [
"BSD-3-Clause"
] | 1 | 2022-02-24T23:01:02.000Z | 2022-02-24T23:01:02.000Z | /* GRChombo
* Copyright 2012 The GRChombo collaboration.
* Please refer to LICENSE in GRChombo's root directory.
*/
#if !defined(MATTERCCZ4_HPP_)
#error "This file should only be included through MatterCCZ4.hpp"
#endif
#ifndef MATTERCCZ4_IMPL_HPP_
#define MATTERCCZ4_IMPL_HPP_
#include "DimensionDefinitions.hpp"
t... | 32.509434 | 80 | 0.663378 | boxuange |
3369b7a724d1f8ff24bc30f97d6e4c348a0202a0 | 4,332 | cpp | C++ | src/main.cpp | stoneface86/trackerboy | 68cbb4c56ec4bbccfd1fe172a57451bdaba91561 | [
"MIT"
] | 60 | 2019-11-30T00:30:33.000Z | 2022-03-26T03:44:53.000Z | src/main.cpp | stoneface86/trackerboy | 68cbb4c56ec4bbccfd1fe172a57451bdaba91561 | [
"MIT"
] | 8 | 2019-12-16T07:55:54.000Z | 2022-03-09T21:01:02.000Z | src/main.cpp | stoneface86/trackerboy | 68cbb4c56ec4bbccfd1fe172a57451bdaba91561 | [
"MIT"
] | 3 | 2021-08-06T07:17:15.000Z | 2022-03-08T03:39:06.000Z |
#include "forms/MainWindow.hpp"
#include <QApplication>
#include <QCommandLineParser>
#include <QDateTime>
#include <QFontDatabase>
#include <QFile>
#include <QFileInfo>
#include <QElapsedTimer>
#include <QMessageBox>
#include <QPointer>
#include <QStringBuilder>
#include <QtDebug>
#include <QTextStream>
#include <i... | 26.414634 | 97 | 0.64012 | stoneface86 |
336a96defe3ef94edeed2ef440f748d6a63e90e9 | 4,076 | hpp | C++ | ql/termstructures/volatility/equityfx/localvolsurface.hpp | urgu00/QuantLib | fecce0abb0ff3d50da29c129f8f9e73176e20ab9 | [
"BSD-3-Clause"
] | null | null | null | ql/termstructures/volatility/equityfx/localvolsurface.hpp | urgu00/QuantLib | fecce0abb0ff3d50da29c129f8f9e73176e20ab9 | [
"BSD-3-Clause"
] | null | null | null | ql/termstructures/volatility/equityfx/localvolsurface.hpp | urgu00/QuantLib | fecce0abb0ff3d50da29c129f8f9e73176e20ab9 | [
"BSD-3-Clause"
] | null | null | null | /* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
Copyright (C) 2003 Ferdinando Ametrano
This file is part of QuantLib, a free-software/open-source library
for financial quantitative analysts and developers - http://quantlib.org/
QuantLib is free software: you can redistribute it... | 34.252101 | 81 | 0.685967 | urgu00 |
336c2f274272c5e15bbb6787f56f08fb3be15f3c | 316 | cpp | C++ | PAT (Advanced Level) Practice/1001 A+B Format (20).cpp | vuzway/PAT | 5db8ca9295b51ad9e99c815a46e4ac764d7d06c1 | [
"MIT"
] | 5 | 2020-02-10T08:26:19.000Z | 2020-07-09T00:11:16.000Z | PAT (Advanced Level) Practice/1001 A+B Format (20).cpp | Assassin2016/zju_data_structures_and_algorithms_in_MOOC | 5db8ca9295b51ad9e99c815a46e4ac764d7d06c1 | [
"MIT"
] | null | null | null | PAT (Advanced Level) Practice/1001 A+B Format (20).cpp | Assassin2016/zju_data_structures_and_algorithms_in_MOOC | 5db8ca9295b51ad9e99c815a46e4ac764d7d06c1 | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
int sum = a + b;
if (sum < 0) printf("-");
string s = to_string(abs(sum));
for (int i = 0; i < s.length(); i++) {
if ((s.length()-1-i+1) % 3 == 0 && i != s.length()-1 && i != 0) printf(",");
printf("%c", s[i]);
}
return 0;
}
| 21.066667 | 78 | 0.490506 | vuzway |
33702a11cb136b3de30662890faddeefc097626c | 3,936 | hpp | C++ | engine_template/DebugEditor.hpp | grant-h/gfx | 1ae200350f019fec23dfd7c17fdae74a2e587a57 | [
"MIT"
] | 1 | 2019-03-07T12:00:12.000Z | 2019-03-07T12:00:12.000Z | engine_template/DebugEditor.hpp | grant-h/gfx | 1ae200350f019fec23dfd7c17fdae74a2e587a57 | [
"MIT"
] | null | null | null | engine_template/DebugEditor.hpp | grant-h/gfx | 1ae200350f019fec23dfd7c17fdae74a2e587a57 | [
"MIT"
] | null | null | null | #ifndef _DEBUG_EDITOR_H
#define _DEBUG_EDITOR_H
#include <vector>
#include <memory>
#include <Shader.hpp>
#include <ResourceManager.hpp>
#include <Renderer.hpp>
#include <imgui.h>
#include <TextEditor.h>
extern const TextEditor::Palette custom_palette;
class DebugEditor {
private:
TextEditor text_editor_;
... | 35.142857 | 124 | 0.60747 | grant-h |
337044fb8f5ddb5b107fafd26b38f26f048fdad7 | 362 | hpp | C++ | include/framework/Curves.hpp | ThePythonator/Bucket-Inc | d8d4fc7c3b66cf6b3c96d2ed4612f9ffc4844ba9 | [
"MIT"
] | 2 | 2022-03-17T18:11:07.000Z | 2022-03-17T19:55:35.000Z | include/framework/Curves.hpp | ThePythonator/Rocket-Manager | 61489a9df2ac25b96ac337afd5cb58375533c748 | [
"MIT"
] | null | null | null | include/framework/Curves.hpp | ThePythonator/Rocket-Manager | 61489a9df2ac25b96ac337afd5cb58375533c748 | [
"MIT"
] | null | null | null | #pragma once
#include "Maths.hpp"
namespace Framework {
namespace Curves {
// Linear interpolation, where t is from 0 to 1
int linear(int start, int end, float t);
float linear(float start, float end, float t);
vec2 linear(vec2 start, vec2 end, float t);
// Bezier curve, where t is from 0 to 1
vec2 bezi... | 24.133333 | 49 | 0.690608 | ThePythonator |
3372bcc8537467de772d82323dfede95a9170f38 | 3,017 | cpp | C++ | src/storage/NFS.cpp | varchar-io/nebula | 5a892b32fa0419d8fb87bd1b8e9f010b8b83fa8b | [
"Apache-2.0"
] | 96 | 2020-12-08T22:09:05.000Z | 2022-03-29T21:43:33.000Z | src/storage/NFS.cpp | varchar-io/nebula | 5a892b32fa0419d8fb87bd1b8e9f010b8b83fa8b | [
"Apache-2.0"
] | 94 | 2020-10-31T00:26:11.000Z | 2022-03-23T21:19:59.000Z | src/storage/NFS.cpp | varchar-io/nebula | 5a892b32fa0419d8fb87bd1b8e9f010b8b83fa8b | [
"Apache-2.0"
] | 9 | 2020-11-15T23:20:40.000Z | 2022-03-22T16:23:39.000Z | /*
* Copyright 2017-present varchar.io
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... | 29.009615 | 108 | 0.661584 | varchar-io |
3374a15076d2a5289401f1fa3ba1f8fc7816cb99 | 4,731 | cpp | C++ | mcrouter/lib/config/test/config_preprocessor_test.cpp | edenzik/mcrouter | 6087962cd45530447c51f659a918862e4ad6acc0 | [
"MIT"
] | 2 | 2020-03-19T17:25:21.000Z | 2020-03-19T17:25:29.000Z | mcrouter/lib/config/test/config_preprocessor_test.cpp | fakeNetflix/facebook-repo-mcrouter | cc9fb6ace9e21f174b2d620c3c9e57d99156df47 | [
"MIT"
] | null | null | null | mcrouter/lib/config/test/config_preprocessor_test.cpp | fakeNetflix/facebook-repo-mcrouter | cc9fb6ace9e21f174b2d620c3c9e57d99156df47 | [
"MIT"
] | null | null | null | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the LICENSE
* file in the root directory of this source tree.
*/
#include <string>
#include <vector>
#include <glog/logging.h>
#include <gtest/gtest.h>
#include <folly/FileUtil.h>
#include <folly... | 29.754717 | 79 | 0.680194 | edenzik |
33765ddc9bbc26f99197006f4a4db6fe60adc2c3 | 2,549 | cpp | C++ | test/op/ScatterNdTest.cpp | JujuDel/MNN | 8a82f5c5a7ae37192784c2dbd6dfc8ca8833565a | [
"Apache-2.0"
] | 6,958 | 2019-05-06T02:38:02.000Z | 2022-03-31T18:08:48.000Z | test/op/ScatterNdTest.cpp | JujuDel/MNN | 8a82f5c5a7ae37192784c2dbd6dfc8ca8833565a | [
"Apache-2.0"
] | 1,775 | 2019-05-06T04:40:19.000Z | 2022-03-30T15:39:24.000Z | test/op/ScatterNdTest.cpp | JujuDel/MNN | 8a82f5c5a7ae37192784c2dbd6dfc8ca8833565a | [
"Apache-2.0"
] | 1,511 | 2019-05-06T02:38:05.000Z | 2022-03-31T16:59:39.000Z | //
// ScatterNdTest.cpp
// MNNTests
//
// Created by MNN on 2019/11/28.
// Copyright © 2018, Alibaba Group Holding Limited
//
#include <MNN/expr/Expr.hpp>
#include <MNN/expr/ExprCreator.hpp>
#include "MNNTestSuite.h"
#include "TestUtils.h"
using namespace MNN::Express;
class ScatterNdTest : public MNNTestCase {
... | 40.460317 | 109 | 0.490781 | JujuDel |
337b9cd5b80093d14bfe28fc84d231c77c260445 | 2,109 | hpp | C++ | src/shard_port_calculator.hpp | jtcarnes/cpp-driver | 2bdfa2b90c2050b56c0572ba039f576fb5f1a922 | [
"Apache-2.0"
] | 11 | 2020-07-27T10:17:29.000Z | 2022-03-12T10:41:41.000Z | src/shard_port_calculator.hpp | jtcarnes/cpp-driver | 2bdfa2b90c2050b56c0572ba039f576fb5f1a922 | [
"Apache-2.0"
] | 40 | 2020-07-27T09:15:07.000Z | 2022-03-29T11:23:05.000Z | src/shard_port_calculator.hpp | jtcarnes/cpp-driver | 2bdfa2b90c2050b56c0572ba039f576fb5f1a922 | [
"Apache-2.0"
] | 15 | 2020-07-29T20:40:24.000Z | 2022-03-29T06:34:34.000Z | /*
* Copyright (C) 2020 ScyllaDB
*
* 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 in ... | 35.15 | 84 | 0.757231 | jtcarnes |
337e6e2c8337686849a847dd6d37ea8db7b1b90e | 5,619 | cpp | C++ | extra/facs/gui/lengthprofile/ProfilePane.cpp | scignscape/PGVM | e24f46cdf657a8bdb990c7883c6bd3d0a0c9cff0 | [
"BSL-1.0"
] | null | null | null | extra/facs/gui/lengthprofile/ProfilePane.cpp | scignscape/PGVM | e24f46cdf657a8bdb990c7883c6bd3d0a0c9cff0 | [
"BSL-1.0"
] | null | null | null | extra/facs/gui/lengthprofile/ProfilePane.cpp | scignscape/PGVM | e24f46cdf657a8bdb990c7883c6bd3d0a0c9cff0 | [
"BSL-1.0"
] | null | null | null |
// // license___here
#include "ProfilePane.h"
#include "ProfileView.h"
#include "FacsanaduProject.h"
#include "../gates/GateSet.h"
#include "MainWindow.h"
#include "../resource/ImgResource.h"
#include "../data/ProfChannel.h"
// package facsanadu.gui.lengthprofile;
ProfilePane::ProfilePane(MainWindow* mw)
: ... | 21.203774 | 77 | 0.668446 | scignscape |
3380798e50a5cbdbabe57f552792c922b4ccf40a | 1,055 | cpp | C++ | matrix/src/op/Convolution1DGradOp.cpp | Jarlene/Matrix | 7b2e07a46f8d0477243d49c76db575280096e247 | [
"Apache-2.0"
] | 2 | 2017-07-22T05:20:57.000Z | 2018-07-08T08:48:33.000Z | matrix/src/op/Convolution1DGradOp.cpp | Jarlene/Matrix | 7b2e07a46f8d0477243d49c76db575280096e247 | [
"Apache-2.0"
] | null | null | null | matrix/src/op/Convolution1DGradOp.cpp | Jarlene/Matrix | 7b2e07a46f8d0477243d49c76db575280096e247 | [
"Apache-2.0"
] | null | null | null | //
// Created by Jarlene on 2017/11/5.
//
#include "matrix/include/op/Convolution1DGradOp.h"
namespace matrix {
template<class T, class xpu>
Convolution1DGradOp<T, xpu>::Convolution1DGradOp(Parameter ¶m) {
INIT_PARAMS
}
template<class T, class Context>
bool Convolution1DGradOp<T, C... | 19.90566 | 94 | 0.616114 | Jarlene |
3382cd8b729c454f1780e8f2ebf2b97a206ae1af | 458 | cpp | C++ | Move Zeroes.cpp | durgirajesh/Leetcode | 18b11cd90e8a5ce33f4029d5b7edf9502273bc76 | [
"MIT"
] | 2 | 2020-06-25T12:46:13.000Z | 2021-07-06T06:34:33.000Z | Move Zeroes.cpp | durgirajesh/Leetcode | 18b11cd90e8a5ce33f4029d5b7edf9502273bc76 | [
"MIT"
] | null | null | null | Move Zeroes.cpp | durgirajesh/Leetcode | 18b11cd90e8a5ce33f4029d5b7edf9502273bc76 | [
"MIT"
] | null | null | null | class Solution {
public:
void moveZeroes(vector<int>& nums) {
int n=nums.size();
int i=0, j=0;
while(j < n){
if(nums[j] == 0){
j++;
}
else{
nums[i]=nums[j];
... | 17.615385 | 41 | 0.248908 | durgirajesh |
338643254d305d8be40e4fdeb983031cef85bbee | 44,260 | hxx | C++ | include/Clothoids/BaseCurve.hxx | MatteoRagni/Clothoids-1 | b7fa270e65ba291a67ff3a3612810595fa436d0f | [
"BSD-2-Clause"
] | null | null | null | include/Clothoids/BaseCurve.hxx | MatteoRagni/Clothoids-1 | b7fa270e65ba291a67ff3a3612810595fa436d0f | [
"BSD-2-Clause"
] | null | null | null | include/Clothoids/BaseCurve.hxx | MatteoRagni/Clothoids-1 | b7fa270e65ba291a67ff3a3612810595fa436d0f | [
"BSD-2-Clause"
] | null | null | null | /** * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* @file BaseCurve.hxx
* @author Matteo Ragni (info@ragni.me)
*
* @copyright Copyright (c) 2022 Matteo Ragni
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated docu... | 32.760918 | 120 | 0.561975 | MatteoRagni |
338775da5154d852759b7f2256d7ceebabd14b54 | 2,611 | ipp | C++ | ThirdParty/oglplus-develop/implement/eglplus/enums/renderable_type_bit_def.ipp | vif/3D-STG | 721402e76a9b9b99b88ba3eb06beb6abb17a9254 | [
"MIT"
] | 24 | 2015-01-31T15:30:49.000Z | 2022-01-29T08:36:42.000Z | ThirdParty/oglplus-develop/implement/eglplus/enums/renderable_type_bit_def.ipp | vif/3D-STG | 721402e76a9b9b99b88ba3eb06beb6abb17a9254 | [
"MIT"
] | 4 | 2015-08-21T02:29:15.000Z | 2020-05-02T13:50:36.000Z | ThirdParty/oglplus-develop/implement/eglplus/enums/renderable_type_bit_def.ipp | vif/3D-STG | 721402e76a9b9b99b88ba3eb06beb6abb17a9254 | [
"MIT"
] | 9 | 2015-06-08T22:04:15.000Z | 2021-08-16T03:52:11.000Z | /*
* .file eglplus/enums/renderable_type_bit_def.ipp
*
* Automatically generated header file. DO NOT modify manually,
* edit 'source/enums/eglplus/renderable_type_bit.txt' instead.
*
* Copyright 2010-2014 Matus Chochlik. Distributed under the Boost
* Software License, Version 1.0. (See accompanying file
* ... | 26.11 | 68 | 0.801226 | vif |
3389ba5c097cd3304e8c34983a2adaea0416e7c9 | 5,905 | cpp | C++ | dft.cpp | mtctr/ufrn-pdi | 55c2de9d6ad574d50d05b864b85acf253c4048cf | [
"MIT"
] | null | null | null | dft.cpp | mtctr/ufrn-pdi | 55c2de9d6ad574d50d05b864b85acf253c4048cf | [
"MIT"
] | null | null | null | dft.cpp | mtctr/ufrn-pdi | 55c2de9d6ad574d50d05b864b85acf253c4048cf | [
"MIT"
] | null | null | null | #include <iostream>
#include <opencv2/opencv.hpp>
#include <opencv2/imgproc/imgproc.hpp>
#define RADIUS 20
using namespace cv;
using namespace std;
// troca os quadrantes da imagem da DFT
void deslocaDFT(Mat& image ){
Mat tmp, A, B, C, D;
// se a imagem tiver tamanho impar, recorta a regiao para
// evitar có... | 25.343348 | 71 | 0.605588 | mtctr |
338d6d7907b07ef9a6e4398077b27ee2238a7d6d | 3,838 | cpp | C++ | packages/arb-avm-cpp/avm_values/src/codepoint.cpp | tahmed4/arbitrum | 423adb4a21935b4470a68d0d9b073d7da3e82a7e | [
"Apache-2.0"
] | 1 | 2022-03-26T05:16:22.000Z | 2022-03-26T05:16:22.000Z | packages/arb-avm-cpp/avm_values/src/codepoint.cpp | tahmed4/arbitrum | 423adb4a21935b4470a68d0d9b073d7da3e82a7e | [
"Apache-2.0"
] | 4 | 2022-02-18T21:35:24.000Z | 2022-03-31T07:15:09.000Z | packages/arb-avm-cpp/avm_values/src/codepoint.cpp | tahmed4/arbitrum | 423adb4a21935b4470a68d0d9b073d7da3e82a7e | [
"Apache-2.0"
] | 1 | 2022-02-24T09:01:44.000Z | 2022-02-24T09:01:44.000Z | /*
* Copyright 2019-2020, Offchain Labs, 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 ... | 30.220472 | 77 | 0.621939 | tahmed4 |
338ffde3f5b7f4117086baac1e5bf9b996ba0bf5 | 194,267 | cpp | C++ | src/locale.cpp | JacobW92/libcxx | 19cd3fd00f0a21023a32da67f134b076ad0c48fe | [
"MIT"
] | 6 | 2019-06-29T07:45:50.000Z | 2021-07-10T20:19:18.000Z | system/lib/libcxx/locale.cpp | binji/emscripten | 7d09ea2eeb1fa424c1c5d96a7ab130f6a7de4e69 | [
"MIT"
] | 2 | 2019-09-29T00:17:39.000Z | 2019-11-05T01:47:03.000Z | system/lib/libcxx/locale.cpp | binji/emscripten | 7d09ea2eeb1fa424c1c5d96a7ab130f6a7de4e69 | [
"MIT"
] | 4 | 2019-08-12T16:08:47.000Z | 2022-01-17T00:08:59.000Z | //===------------------------- locale.cpp ---------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------... | 31.572729 | 117 | 0.563245 | JacobW92 |
33948708b8beaa2576b8ca121ae42251a4a48c94 | 2,850 | hpp | C++ | C++ Development Root/SourceCode/Domain/Event/EventHandler.hpp | Dpham181/CPSC-462-GROUP-2 | 36f55ec4980e2e98d58f1f0a63ecc5070d7faa47 | [
"MIT"
] | 1 | 2021-05-19T06:35:15.000Z | 2021-05-19T06:35:15.000Z | C++ Development Root/SourceCode/Domain/Event/EventHandler.hpp | Dpham181/CPSC-462-GROUP-2 | 36f55ec4980e2e98d58f1f0a63ecc5070d7faa47 | [
"MIT"
] | null | null | null | C++ Development Root/SourceCode/Domain/Event/EventHandler.hpp | Dpham181/CPSC-462-GROUP-2 | 36f55ec4980e2e98d58f1f0a63ecc5070d7faa47 | [
"MIT"
] | null | null | null | #pragma once
#include <any>
#include <string>
#include <vector>
#include <memory> // unique_ptr
#include <stdexcept> // domain_error, runtime_error
#include "TechnicalServices/Persistence/PersistenceHandler.hpp"
namespace Domain::Event
{
using TechnicalServices::Persistence::Event;
using TechnicalSer... | 43.181818 | 194 | 0.644561 | Dpham181 |
3395624ea5571f2449e5f684634b3f8dfe774cd7 | 639 | hpp | C++ | libs/gui/include/sge/gui/widget/reference_alignment_vector.hpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | 2 | 2016-01-27T13:18:14.000Z | 2018-05-11T01:11:32.000Z | libs/gui/include/sge/gui/widget/reference_alignment_vector.hpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | null | null | null | libs/gui/include/sge/gui/widget/reference_alignment_vector.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_GUI_WIDGET_REFERENCE_ALIGNMENT_VECTOR_HPP_INCLUDED
#define SGE_GUI_WIDGET_REFERENCE_ALI... | 29.045455 | 91 | 0.779343 | cpreh |
33962aaba731a57008371bc7be5ad52d6fac5742 | 13,564 | hpp | C++ | include/eve/detail/overload.hpp | the-moisrex/eve | 80b52663eefee11460abb0aedf4158a5067cf7dc | [
"MIT"
] | 340 | 2020-09-16T21:12:48.000Z | 2022-03-28T15:40:33.000Z | third-party/eve/detail/overload.hpp | aguinet/ecsimd | cba9e7fe76601b98cbaeea317b6c4e671272e70b | [
"Apache-2.0"
] | 383 | 2020-09-17T06:56:35.000Z | 2022-03-13T15:58:53.000Z | third-party/eve/detail/overload.hpp | aguinet/ecsimd | cba9e7fe76601b98cbaeea317b6c4e671272e70b | [
"Apache-2.0"
] | 28 | 2021-02-27T23:11:23.000Z | 2022-03-25T12:31:29.000Z | //==================================================================================================
/*
EVE - Expressive Vector Engine
Copyright : EVE Contributors & Maintainers
SPDX-License-Identifier: MIT
*/
//==================================================================================================
#pr... | 60.553571 | 101 | 0.280891 | the-moisrex |
339a7139f5e28084d940d3172b0307c81c312f39 | 2,322 | cpp | C++ | exercise3/specs.cpp | alex-maleno/Fuzzing-Module | 15aa673a2499dba6bd70a4aa5f86cd091a574434 | [
"BSL-1.0"
] | 1 | 2022-03-29T20:38:40.000Z | 2022-03-29T20:38:40.000Z | exercise3/specs.cpp | alex-maleno/Fuzzing-Module | 15aa673a2499dba6bd70a4aa5f86cd091a574434 | [
"BSL-1.0"
] | null | null | null | exercise3/specs.cpp | alex-maleno/Fuzzing-Module | 15aa673a2499dba6bd70a4aa5f86cd091a574434 | [
"BSL-1.0"
] | null | null | null | #include <iostream>
#include <stdio.h>
#include <stdlib.h>
#include <string>
#include "specs.h"
Specs::Specs(int a, int f, int s){
alt = a;
fuel = f;
speed = s;
}
Specs::Specs(){
alt = 0;
fuel = 0;
speed = 0;
}
void Specs::choose_color() {
std::string color;
std::c... | 20.017241 | 56 | 0.47373 | alex-maleno |
339aeaec50f7842ffd5a827eb4f6648f0d15ae78 | 43,465 | cpp | C++ | source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderDarwin.cpp | frank-lesser/lldb | f5a215e2b1350fd0fa25780bc585c78b60b365a2 | [
"Apache-2.0"
] | null | null | null | source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderDarwin.cpp | frank-lesser/lldb | f5a215e2b1350fd0fa25780bc585c78b60b365a2 | [
"Apache-2.0"
] | null | null | null | source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderDarwin.cpp | frank-lesser/lldb | f5a215e2b1350fd0fa25780bc585c78b60b365a2 | [
"Apache-2.0"
] | null | null | null | //===-- DynamicLoaderDarwin.cpp -----------------------------*- C++ -*-===//
//
// 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
//
//===-------------------------------... | 38.842717 | 87 | 0.634787 | frank-lesser |
339bad356e8e18d513bd0f16595581fb5db67491 | 11,051 | cpp | C++ | ProjectEuler+/euler-0333.cpp | sarvekash/HackerRank_Solutions | 8f48e5b1a6e792a85a10d8c328cd1f5341fb16a8 | [
"Apache-2.0"
] | null | null | null | ProjectEuler+/euler-0333.cpp | sarvekash/HackerRank_Solutions | 8f48e5b1a6e792a85a10d8c328cd1f5341fb16a8 | [
"Apache-2.0"
] | null | null | null | ProjectEuler+/euler-0333.cpp | sarvekash/HackerRank_Solutions | 8f48e5b1a6e792a85a10d8c328cd1f5341fb16a8 | [
"Apache-2.0"
] | 1 | 2021-05-28T11:14:34.000Z | 2021-05-28T11:14:34.000Z | // ////////////////////////////////////////////////////////
// # Title
// Special partitions
//
// # URL
// https://projecteuler.net/problem=333
// http://euler.stephan-brumme.com/333/
//
// # Problem
// All positive integers can be partitioned in such a way that each and every term of the partition can be expressed as... | 35.306709 | 167 | 0.620939 | sarvekash |
339e4e31a2dc79426fb5156af52da3466e2741cb | 345 | cc | C++ | cpptest/infinite_loop.cc | wshonline/test | 2eed4c08798f7a68b139295f080a8df31c55fac4 | [
"MIT"
] | null | null | null | cpptest/infinite_loop.cc | wshonline/test | 2eed4c08798f7a68b139295f080a8df31c55fac4 | [
"MIT"
] | null | null | null | cpptest/infinite_loop.cc | wshonline/test | 2eed4c08798f7a68b139295f080a8df31c55fac4 | [
"MIT"
] | null | null | null |
// 死循环
// 传入形参m,拷贝了新的m,而it指向的是原m的地址
#include <map>
#include <iostream>
void test(std::map<int, int> mp, std::map<int, int>::iterator it) {
while (it != mp.end()) {
std::cout << it->first << std::endl;
it++;
}
}
int main() {
std::map<int, int> mp;
mp[0] = 1;
mp[1] = 2;
auto it = mp.begin();
tes... | 15 | 67 | 0.542029 | wshonline |
339ec6b7d56cc01612d4cd42f7f159af579b1045 | 5,485 | cpp | C++ | src/services/hardwareFileSystem/cpu/instructionsets.cpp | patrick-lafferty/saturn | 6dc36adb42ad9b647704dd19247423a522eeb551 | [
"BSD-3-Clause"
] | 26 | 2018-03-19T15:59:46.000Z | 2021-08-06T16:13:16.000Z | src/services/hardwareFileSystem/cpu/instructionsets.cpp | patrick-lafferty/saturn | 6dc36adb42ad9b647704dd19247423a522eeb551 | [
"BSD-3-Clause"
] | 34 | 2018-01-21T17:43:29.000Z | 2020-06-27T02:00:53.000Z | src/services/hardwareFileSystem/cpu/instructionsets.cpp | patrick-lafferty/saturn | 6dc36adb42ad9b647704dd19247423a522eeb551 | [
"BSD-3-Clause"
] | 3 | 2019-12-08T22:26:35.000Z | 2021-06-25T17:05:57.000Z | /*
Copyright (c) 2017, Patrick Lafferty
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 conditions and the... | 38.626761 | 134 | 0.67876 | patrick-lafferty |
339f63d47e6838822c8608a743aa11920c5ba72b | 117,798 | cc | C++ | src/MissionManager/MissionController.cc | pestophagous/qgroundcontrol | 9e261b56598a6c3e5cb4b71fbbe02640453e6d5b | [
"Apache-2.0"
] | null | null | null | src/MissionManager/MissionController.cc | pestophagous/qgroundcontrol | 9e261b56598a6c3e5cb4b71fbbe02640453e6d5b | [
"Apache-2.0"
] | null | null | null | src/MissionManager/MissionController.cc | pestophagous/qgroundcontrol | 9e261b56598a6c3e5cb4b71fbbe02640453e6d5b | [
"Apache-2.0"
] | null | null | null | /****************************************************************************
*
* (c) 2009-2020 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
*
* QGroundControl is licensed according to the terms in the file
* COPYING.md in the root of the source code directory.
*
***************************************... | 44.603559 | 203 | 0.6544 | pestophagous |
339ff395054a6144a88967b7f059cc5963f2b4f1 | 5,019 | hpp | C++ | src/mods/GameFunctions/PositionController.hpp | praydog/dx11_mod_base | cfbce80313b782813a959c2d2ceb69705643a6cd | [
"MIT"
] | 1 | 2022-03-26T22:57:55.000Z | 2022-03-26T22:57:55.000Z | src/mods/GameFunctions/PositionController.hpp | praydog/dx11_mod_base | cfbce80313b782813a959c2d2ceb69705643a6cd | [
"MIT"
] | null | null | null | src/mods/GameFunctions/PositionController.hpp | praydog/dx11_mod_base | cfbce80313b782813a959c2d2ceb69705643a6cd | [
"MIT"
] | null | null | null | #pragma once
#include <mods/GameFunctions/GameFunc.hpp>
namespace GameFunctions
{
class Transform_SetPosition : public GameFunc<void>
{
private:
typedef void (__cdecl *f_set_pos)(void *rcx, void *transform, Vec3 newPos);
f_set_pos set_pos;
void *transform = nullptr;
void invoke() override
{
throw std::... | 22.110132 | 84 | 0.687986 | praydog |
33a2f24aafaed2b130a041eb68d80854b5af7cd2 | 1,552 | cpp | C++ | aws-cpp-sdk-pinpoint/source/model/OverrideButtonConfiguration.cpp | perfectrecall/aws-sdk-cpp | fb8cbebf2fd62720b65aeff841ad2950e73d8ebd | [
"Apache-2.0"
] | 1 | 2022-02-10T08:06:54.000Z | 2022-02-10T08:06:54.000Z | aws-cpp-sdk-pinpoint/source/model/OverrideButtonConfiguration.cpp | perfectrecall/aws-sdk-cpp | fb8cbebf2fd62720b65aeff841ad2950e73d8ebd | [
"Apache-2.0"
] | 1 | 2021-10-14T16:57:00.000Z | 2021-10-18T10:47:24.000Z | aws-cpp-sdk-pinpoint/source/model/OverrideButtonConfiguration.cpp | ravindra-wagh/aws-sdk-cpp | 7d5ff01b3c3b872f31ca98fb4ce868cd01e97696 | [
"Apache-2.0"
] | 1 | 2021-11-09T12:02:58.000Z | 2021-11-09T12:02:58.000Z | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/pinpoint/model/OverrideButtonConfiguration.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::Utils::Json;
using namespace Aws::Utils;
namespac... | 20.421053 | 101 | 0.749356 | perfectrecall |
33a31f6c043bcbdc46062e11f8f25778446fdd91 | 1,267 | cc | C++ | Code/1177-tree-diameter.cc | SMartQi/Leetcode | 9e35c65a48ba1ecd5436bbe07dd65f993588766b | [
"MIT"
] | 2 | 2019-12-06T14:08:57.000Z | 2020-01-15T15:25:32.000Z | Code/1177-tree-diameter.cc | SMartQi/Leetcode | 9e35c65a48ba1ecd5436bbe07dd65f993588766b | [
"MIT"
] | 1 | 2020-01-15T16:29:16.000Z | 2020-01-26T12:40:13.000Z | Code/1177-tree-diameter.cc | SMartQi/Leetcode | 9e35c65a48ba1ecd5436bbe07dd65f993588766b | [
"MIT"
] | null | null | null | class Solution {
unordered_map<int, unordered_set<int>> m;
unordered_map<int, unordered_map<int, int>> dp;
public:
int treeDiameter(vector<vector<int>>& edges) {
for (auto &edge : edges) {
m[edge[0]].insert(edge[1]);
m[edge[1]].insert(edge[0]);
}
int result = ... | 35.194444 | 84 | 0.48382 | SMartQi |
33a5dd2e39d8208721052f3670c61097721a6d2c | 125,725 | cpp | C++ | src/module.cpp | tay10r/ispc | 33cd2311acaeeff5d870ae182f526fe08ecdbe3a | [
"BSD-3-Clause"
] | null | null | null | src/module.cpp | tay10r/ispc | 33cd2311acaeeff5d870ae182f526fe08ecdbe3a | [
"BSD-3-Clause"
] | null | null | null | src/module.cpp | tay10r/ispc | 33cd2311acaeeff5d870ae182f526fe08ecdbe3a | [
"BSD-3-Clause"
] | null | null | null | /*
Copyright (c) 2010-2021, 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
notice, this list of co... | 42.503381 | 120 | 0.584681 | tay10r |
33a7145848f45d8f86a7996d7ba6deb60f2f2b36 | 4,711 | cpp | C++ | HelperFunctions/getVkGraphicsPipelineShaderGroupsCreateInfoNV.cpp | dkaip/jvulkan-natives-Linux-x86_64 | ea7932f74e828953c712feea11e0b01751f9dc9b | [
"Apache-2.0"
] | null | null | null | HelperFunctions/getVkGraphicsPipelineShaderGroupsCreateInfoNV.cpp | dkaip/jvulkan-natives-Linux-x86_64 | ea7932f74e828953c712feea11e0b01751f9dc9b | [
"Apache-2.0"
] | null | null | null | HelperFunctions/getVkGraphicsPipelineShaderGroupsCreateInfoNV.cpp | dkaip/jvulkan-natives-Linux-x86_64 | ea7932f74e828953c712feea11e0b01751f9dc9b | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2020 Douglas Kaip
*
* 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 in ... | 33.892086 | 121 | 0.610062 | dkaip |
33a809f227a3f1ded6debd42b8ba596b3f1fa7b3 | 6,270 | cpp | C++ | driver_massless/FileSettingsLoader.cpp | Massless-io/OpenVRDriver_MasslessPen | bce3c01877752d4e9c2135dec3e56b40e956ae60 | [
"BSD-3-Clause-Clear",
"CC0-1.0",
"BSD-3-Clause"
] | null | null | null | driver_massless/FileSettingsLoader.cpp | Massless-io/OpenVRDriver_MasslessPen | bce3c01877752d4e9c2135dec3e56b40e956ae60 | [
"BSD-3-Clause-Clear",
"CC0-1.0",
"BSD-3-Clause"
] | null | null | null | driver_massless/FileSettingsLoader.cpp | Massless-io/OpenVRDriver_MasslessPen | bce3c01877752d4e9c2135dec3e56b40e956ae60 | [
"BSD-3-Clause-Clear",
"CC0-1.0",
"BSD-3-Clause"
] | null | null | null | /* Copyright (C) 2020 Massless Corp. - All Rights Reserved
* Author: Jacob Hilton.
* You may use, distribute and modify this code under the
* terms of the BSD 3-Clause "New" or "Revised" License.
*
* You should have received a copy of this license with
* this file. If not, please email support@massless.io
*/
#i... | 44.785714 | 179 | 0.687879 | Massless-io |
33ac5b4710cbe8c66d7e312b8c99a3a69e257c9e | 835 | cpp | C++ | Examples/Plugins/org.mitk.example.gui.extensionpointdefinition/src/internal/MinimalPerspective.cpp | zhaomengxiao/MITK | a09fd849a4328276806008bfa92487f83a9e2437 | [
"BSD-3-Clause"
] | 1 | 2022-03-03T12:03:32.000Z | 2022-03-03T12:03:32.000Z | Examples/Plugins/org.mitk.example.gui.extensionpointdefinition/src/internal/MinimalPerspective.cpp | zhaomengxiao/MITK | a09fd849a4328276806008bfa92487f83a9e2437 | [
"BSD-3-Clause"
] | 1 | 2021-12-22T10:19:02.000Z | 2021-12-22T10:19:02.000Z | Examples/Plugins/org.mitk.example.gui.extensionpointdefinition/src/internal/MinimalPerspective.cpp | zhaomengxiao/MITK_lancet | a09fd849a4328276806008bfa92487f83a9e2437 | [
"BSD-3-Clause"
] | 1 | 2020-11-27T09:41:18.000Z | 2020-11-27T09:41:18.000Z | /*============================================================================
The Medical Imaging Interaction Toolkit (MITK)
Copyright (c) German Cancer Research Center (DKFZ)
All rights reserved.
Use of this source code is governed by a 3-clause BSD license that can be
found in the LICENSE file.
=================... | 26.935484 | 94 | 0.619162 | zhaomengxiao |
33b279c7a50d49b839a9a38ae06959c75def0f6c | 3,401 | cc | C++ | src/tint/reader/wgsl/parser_impl_test.cc | encounter/dawn-cmake | 64a23ce0ede5f232cc209b69d64164ede6810b65 | [
"Apache-2.0"
] | null | null | null | src/tint/reader/wgsl/parser_impl_test.cc | encounter/dawn-cmake | 64a23ce0ede5f232cc209b69d64164ede6810b65 | [
"Apache-2.0"
] | null | null | null | src/tint/reader/wgsl/parser_impl_test.cc | encounter/dawn-cmake | 64a23ce0ede5f232cc209b69d64164ede6810b65 | [
"Apache-2.0"
] | null | null | null | // Copyright 2020 The Tint Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed ... | 24.120567 | 76 | 0.644516 | encounter |
33b375a446358c034004680c682287c4146f6ac2 | 48 | hpp | C++ | src/boost_serialization_split_member.hpp | miathedev/BoostForArduino | 919621dcd0c157094bed4df752b583ba6ea6409e | [
"BSL-1.0"
] | 11 | 2015-08-19T23:15:41.000Z | 2018-05-15T21:53:28.000Z | src/boost_serialization_split_member.hpp | miathedev/BoostForArduino | 919621dcd0c157094bed4df752b583ba6ea6409e | [
"BSL-1.0"
] | 2 | 2021-03-26T15:17:35.000Z | 2021-05-20T23:55:08.000Z | src/boost_serialization_split_member.hpp | miathedev/BoostForArduino | 919621dcd0c157094bed4df752b583ba6ea6409e | [
"BSL-1.0"
] | 5 | 2016-10-31T08:02:15.000Z | 2018-08-24T07:40:23.000Z | #include <boost/serialization/split_member.hpp>
| 24 | 47 | 0.833333 | miathedev |
33b381cb6f40a59474e57ca63d53f93ae2ec685e | 1,886 | cpp | C++ | tests/unit/fem/test_intruletypes.cpp | stefanhenneking/mfem | dc4715e03d177233ea0d891f2875324cadb06dc4 | [
"BSD-3-Clause"
] | 1 | 2020-08-15T07:00:22.000Z | 2020-08-15T07:00:22.000Z | tests/unit/fem/test_intruletypes.cpp | stefanhenneking/mfem | dc4715e03d177233ea0d891f2875324cadb06dc4 | [
"BSD-3-Clause"
] | null | null | null | tests/unit/fem/test_intruletypes.cpp | stefanhenneking/mfem | dc4715e03d177233ea0d891f2875324cadb06dc4 | [
"BSD-3-Clause"
] | 1 | 2021-09-15T14:14:29.000Z | 2021-09-15T14:14:29.000Z | // Copyright (c) 2010-2020, Lawrence Livermore National Security, LLC. Produced
// at the Lawrence Livermore National Laboratory. All Rights reserved. See files
// LICENSE and NOTICE for details. LLNL-CODE-806117.
//
// This file is part of the MFEM library. For more information and source code
// availability visit ht... | 34.925926 | 80 | 0.711029 | stefanhenneking |
33b43d1dd819e5e3edf84e91d29f9508329532c0 | 5,377 | hpp | C++ | include/text_view_detail/codecs/utf32be_codec.hpp | tahonermann/text_view | 65740356488d0dd98b65f221c71c7b7377c813de | [
"MIT"
] | 144 | 2015-10-10T10:12:53.000Z | 2021-12-31T16:07:27.000Z | include/text_view_detail/codecs/utf32be_codec.hpp | Quuxplusone/text_view | 65740356488d0dd98b65f221c71c7b7377c813de | [
"MIT"
] | 34 | 2016-01-22T03:52:53.000Z | 2018-08-04T01:56:06.000Z | include/text_view_detail/codecs/utf32be_codec.hpp | Quuxplusone/text_view | 65740356488d0dd98b65f221c71c7b7377c813de | [
"MIT"
] | 19 | 2016-02-10T11:29:20.000Z | 2021-06-28T11:11:36.000Z | // Copyright (c) 2017, Tom Honermann
//
// This file is distributed under the MIT License. See the accompanying file
// LICENSE.txt or http://www.opensource.org/licenses/mit-license.php for terms
// and conditions.
#if !defined(TEXT_VIEW_CODECS_UTF32BE_CODEC_HPP) // {
#define TEXT_VIEW_CODECS_UTF32BE_CODEC_HPP
#incl... | 30.039106 | 78 | 0.637344 | tahonermann |
33b56574e74bf0d863247ce49370b4677d73a9f6 | 3,423 | cpp | C++ | sdk_test/fido/flo_test.cpp | uriel1998/wwiv | 623cca6862540a5dc4ce355d7966766bf5d0fd0d | [
"Apache-2.0"
] | null | null | null | sdk_test/fido/flo_test.cpp | uriel1998/wwiv | 623cca6862540a5dc4ce355d7966766bf5d0fd0d | [
"Apache-2.0"
] | null | null | null | sdk_test/fido/flo_test.cpp | uriel1998/wwiv | 623cca6862540a5dc4ce355d7966766bf5d0fd0d | [
"Apache-2.0"
] | null | null | null | /**************************************************************************/
/* */
/* WWIV Version 5.x */
/* Copyright (C)2016-2020, WWIV Software Services */
/* ... | 31.40367 | 90 | 0.543091 | uriel1998 |
33b5666d92685a07477a8bcc80ae15af1cd3cc99 | 8,014 | cpp | C++ | src/Core/x/xCollide.cpp | stravant/bfbbdecomp | 2126be355a6bb8171b850f829c1f2731c8b5de08 | [
"OLDAP-2.7"
] | 1 | 2021-01-05T11:28:55.000Z | 2021-01-05T11:28:55.000Z | src/Core/x/xCollide.cpp | sonich2401/bfbbdecomp | 5f58b62505f8929a72ccf2aa118a1539eb3a5bd6 | [
"OLDAP-2.7"
] | null | null | null | src/Core/x/xCollide.cpp | sonich2401/bfbbdecomp | 5f58b62505f8929a72ccf2aa118a1539eb3a5bd6 | [
"OLDAP-2.7"
] | 1 | 2022-03-30T15:15:08.000Z | 2022-03-30T15:15:08.000Z | #include "xCollide.h"
#include <types.h>
// func_8000F058
#pragma GLOBAL_ASM("asm/Core/x/xCollide.s", "xCollideGetCollsIdx__FPC7xCollisPC5xVec3PC7xMat3x3")
// func_8000F1C8
#pragma GLOBAL_ASM("asm/Core/x/xCollide.s", "xCollideInit__FP6xScene")
// func_8000F1E8
#pragma GLOBAL_ASM("asm/Core/x/xCollide.s", "xSphereHit... | 34.995633 | 149 | 0.811205 | stravant |
33b6d09cf8896466edbc3f8c25c443502bb4abfc | 10,270 | cpp | C++ | Public/Src/Sandbox/MacOs/Sandbox/Src/ConcurrentSharedDataQueue.cpp | miniksa/BuildXL | 4dc257a82a6126fe7516f15fa6f505c14c122ffb | [
"MIT"
] | 448 | 2018-11-07T21:00:58.000Z | 2019-05-06T17:29:34.000Z | Public/Src/Sandbox/MacOs/Sandbox/Src/ConcurrentSharedDataQueue.cpp | miniksa/BuildXL | 4dc257a82a6126fe7516f15fa6f505c14c122ffb | [
"MIT"
] | 496 | 2019-05-06T21:38:22.000Z | 2022-03-14T18:17:14.000Z | Public/Src/Sandbox/MacOs/Sandbox/Src/ConcurrentSharedDataQueue.cpp | miniksa/BuildXL | 4dc257a82a6126fe7516f15fa6f505c14c122ffb | [
"MIT"
] | 88 | 2019-05-08T08:28:45.000Z | 2022-03-24T23:43:21.000Z | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
#include <IOKit/IOMemoryDescriptor.h>
#include <IOKit/IODataQueueShared.h>
#include "Alloc.hpp"
#include "BuildXLSandboxClient.hpp"
#include "ConcurrentSharedDataQueue.... | 27.831978 | 124 | 0.660662 | miniksa |
33b73db389d1ffd56d79febcb223f7f59de32bf6 | 27,566 | cc | C++ | protri.cc | bjbuckman/galprop_bb_ | 076b168f7475b3ba9fb198b6ec2df7be66b1763c | [
"MIT"
] | null | null | null | protri.cc | bjbuckman/galprop_bb_ | 076b168f7475b3ba9fb198b6ec2df7be66b1763c | [
"MIT"
] | null | null | null | protri.cc | bjbuckman/galprop_bb_ | 076b168f7475b3ba9fb198b6ec2df7be66b1763c | [
"MIT"
] | null | null | null |
//**.****|****.****|****.****|****.****|****.****|****.****|****.****|****.****|
// * protri.cc * galprop package * 3/25/2002
//**"****!****"****!****"****!****"****!****"****!****"****!****"****!****"****|
using namespace std;//AWS20050624
#include"galprop_classes.h"
#include"galprop... | 33.781863 | 142 | 0.446927 | bjbuckman |
33b9c68619e97cfedb66e33df977efdd210d87c9 | 2,299 | cpp | C++ | test/unit-test/single/test-continuable-promisify.cpp | sTabishAzam/continuable | 809f82673ad3458fe12b11fa6dee46d3cbcaf749 | [
"MIT"
] | 745 | 2017-02-27T22:17:27.000Z | 2022-03-21T20:15:14.000Z | test/unit-test/single/test-continuable-promisify.cpp | sTabishAzam/continuable | 809f82673ad3458fe12b11fa6dee46d3cbcaf749 | [
"MIT"
] | 45 | 2018-02-14T22:32:13.000Z | 2022-02-09T14:56:09.000Z | test/unit-test/single/test-continuable-promisify.cpp | sTabishAzam/continuable | 809f82673ad3458fe12b11fa6dee46d3cbcaf749 | [
"MIT"
] | 47 | 2017-03-07T17:24:13.000Z | 2022-02-03T07:06:21.000Z |
/*
Copyright(c) 2015 - 2020 Denis Blank <denis.blank 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"), to deal
in the Software without restriction, including without limitation the rights
to u... | 33.318841 | 79 | 0.693345 | sTabishAzam |
33bd58b1e92626a4773f714879077e22fbab40b6 | 3,467 | cpp | C++ | src/imu.cpp | josefadamcik/ESP32SelfBalancingRobot | 88030dc85177b309998adb628ca739f35636a997 | [
"MIT"
] | 3 | 2020-08-04T17:15:18.000Z | 2021-03-07T19:40:43.000Z | src/imu.cpp | josefadamcik/ESP32SelfBalancingRobot | 88030dc85177b309998adb628ca739f35636a997 | [
"MIT"
] | null | null | null | src/imu.cpp | josefadamcik/ESP32SelfBalancingRobot | 88030dc85177b309998adb628ca739f35636a997 | [
"MIT"
] | 2 | 2020-11-07T13:01:06.000Z | 2022-03-08T19:59:59.000Z | #include "imu.h"
#include "Arduino.h"
#include "I2Cdev.h"
#include "MPU6050_6Axis_MotionApps_V6_12.h"
#include "Preferences.h"
// MPU control/status vars
uint8_t mpuIntStatus; // holds actual interrupt status byte from MPU
uint8_t devStatus; // return status after each device operation (0 = success,
... | 39.850575 | 80 | 0.662532 | josefadamcik |
33be6fef5e30284157dfc1412eb1f4f3f4ac2c13 | 9,766 | cxx | C++ | sdk/scintilla/src/LexPOV.cxx | ixray-team/ixray-b2945 | ad5ef375994ee9cd790c4144891e9f00e7efe565 | [
"Linux-OpenIB"
] | 241 | 2015-01-04T00:36:58.000Z | 2022-01-06T19:19:23.000Z | sdk/scintilla/src/LexPOV.cxx | ixray-team/ixray-b2945 | ad5ef375994ee9cd790c4144891e9f00e7efe565 | [
"Linux-OpenIB"
] | 10 | 2015-07-10T18:27:17.000Z | 2019-06-26T20:59:59.000Z | sdk/scintilla/src/LexPOV.cxx | ixray-team/ixray-b2945 | ad5ef375994ee9cd790c4144891e9f00e7efe565 | [
"Linux-OpenIB"
] | 82 | 2015-01-25T18:02:35.000Z | 2022-03-05T12:28:17.000Z | // Scintilla source code edit control
/** @file LexPOV.cxx
** Lexer for POV-Ray SDL (Persistance of Vision Raytracer, Scene Description Language).
** Written by Philippe Lhoste but this is mostly a derivative of LexCPP...
**/
// Copyright 1998-2005 by Neil Hodgson <neilh@scintilla.org>
// The License.txt file ... | 30.807571 | 103 | 0.622773 | ixray-team |
33bea0d080603eaced79872714ac598c0e7ae9a0 | 1,240 | cpp | C++ | test/std/localization/locale.categories/category.collate/locale.collate/locale.collate.members/hash.pass.cpp | K-Wu/libcxx.doc | c3c0421b2a9cc003146e847d0b8dd3a37100f39a | [
"Apache-2.0"
] | null | null | null | test/std/localization/locale.categories/category.collate/locale.collate/locale.collate.members/hash.pass.cpp | K-Wu/libcxx.doc | c3c0421b2a9cc003146e847d0b8dd3a37100f39a | [
"Apache-2.0"
] | null | null | null | test/std/localization/locale.categories/category.collate/locale.collate/locale.collate.members/hash.pass.cpp | K-Wu/libcxx.doc | c3c0421b2a9cc003146e847d0b8dd3a37100f39a | [
"Apache-2.0"
] | null | null | null | //===----------------------------------------------------------------------===//
//
// 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
//
//===---------------------------... | 28.837209 | 83 | 0.512903 | K-Wu |
33c474e167900819a4233cae854cf178ed20ef67 | 30,955 | cpp | C++ | src/canvas/canvas.cpp | sixtyfive/lcdgfx | ef1a62fd4c86a7f5421c37065b6528634573f677 | [
"MIT"
] | null | null | null | src/canvas/canvas.cpp | sixtyfive/lcdgfx | ef1a62fd4c86a7f5421c37065b6528634573f677 | [
"MIT"
] | null | null | null | src/canvas/canvas.cpp | sixtyfive/lcdgfx | ef1a62fd4c86a7f5421c37065b6528634573f677 | [
"MIT"
] | null | null | null | /*
MIT License
Copyright (c) 2018-2020, Alexey Dynda
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, c... | 26.100337 | 126 | 0.47456 | sixtyfive |
33c560313771c0e4d30b210cd8b122ae95dcaa0c | 9,291 | cpp | C++ | gmsl_camera/src/SampleFramework.cpp | vehicularkech/gmsl-camera-ros-driver | 1dfadb91c4b5829ca562e362911f1b3dcb7ab083 | [
"MIT"
] | 2 | 2018-04-20T02:26:18.000Z | 2018-10-11T03:20:36.000Z | gmsl_camera/src/SampleFramework.cpp | vehicularkech/gmsl-camera-ros-driver | 1dfadb91c4b5829ca562e362911f1b3dcb7ab083 | [
"MIT"
] | 1 | 2018-07-12T08:19:31.000Z | 2018-07-12T08:19:31.000Z | gmsl_camera/src/SampleFramework.cpp | vehicularkech/gmsl-camera-ros-driver | 1dfadb91c4b5829ca562e362911f1b3dcb7ab083 | [
"MIT"
] | 1 | 2019-01-24T03:02:45.000Z | 2019-01-24T03:02:45.000Z | #pragma GCC diagnostic ignored "-Wold-style-cast"
#include <signal.h>
#include <cstring> // for memset
#include <iostream>
#include <SampleFramework.hpp>
void (*gUserKeyPressCallback)(int) = 0;
ProgramArguments gArguments;
WindowBase *gWindow = nullptr;
bool gRun = false;
void sig_int_handler(int sig)
{
(void)s... | 30.362745 | 103 | 0.618448 | vehicularkech |
33c70101bc3ea6a7e21263b245b9589dd07c9798 | 492 | hpp | C++ | include/cjdb/functional/invoke.hpp | cjdb/clang-concepts-ranges | 7019754e97c8f3863035db74de62004ae3814954 | [
"Apache-2.0"
] | 4 | 2019-03-02T01:09:07.000Z | 2019-10-16T15:46:21.000Z | include/cjdb/functional/invoke.hpp | cjdb/cjdb-ranges | 7019754e97c8f3863035db74de62004ae3814954 | [
"Apache-2.0"
] | 5 | 2019-11-29T12:23:55.000Z | 2019-12-14T13:03:00.000Z | include/cjdb/functional/invoke.hpp | cjdb/clang-concepts-ranges | 7019754e97c8f3863035db74de62004ae3814954 | [
"Apache-2.0"
] | 3 | 2020-06-08T18:27:28.000Z | 2021-03-27T17:49:46.000Z | // Copyright (c) Christopher Di Bella.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
#ifndef CJDB_FUNCTIONAL_INVOKE_HPP
#define CJDB_FUNCTIONAL_INVOKE_HPP
#include "cjdb/detail/functional/invoke.hpp"
namespace cjdb {
/// \brief An entity used to call function-like entities generically.
/// \note cjd... | 27.333333 | 70 | 0.752033 | cjdb |
33c8bc2b46e8d54bb2de64d35be47e2e946c60c6 | 3,260 | cpp | C++ | engine/source/wide/ui/property/basic/ui_property_base.cpp | skarab/coffee-master | 6c3ff71b7f15735e41c9859b6db981b94414c783 | [
"MIT"
] | null | null | null | engine/source/wide/ui/property/basic/ui_property_base.cpp | skarab/coffee-master | 6c3ff71b7f15735e41c9859b6db981b94414c783 | [
"MIT"
] | null | null | null | engine/source/wide/ui/property/basic/ui_property_base.cpp | skarab/coffee-master | 6c3ff71b7f15735e41c9859b6db981b94414c783 | [
"MIT"
] | null | null | null | //------------------------------------------------------------------------------------------------//
/// @file wide/ui/property/basic/ui_property_base.cpp
//------------------------------------------------------------------------------------------------//
//-INCLUDES----------------------------------------------------... | 36.629213 | 101 | 0.401227 | skarab |
33ca9894af9b0e54f4ecb690499bec65c4a395f4 | 1,835 | cpp | C++ | v1.0/src/test/PGI_OpenACC/MatMul/MatMul.cpp | dikujepsen/OpenTran | af9654fcf55e394e7bece38e59bbdc3dd343f092 | [
"MIT"
] | 1 | 2015-02-09T12:56:07.000Z | 2015-02-09T12:56:07.000Z | v1.0/src/test/PGI_OpenACC/MatMul/MatMul.cpp | dikujepsen/OpenTran | af9654fcf55e394e7bece38e59bbdc3dd343f092 | [
"MIT"
] | null | null | null | v1.0/src/test/PGI_OpenACC/MatMul/MatMul.cpp | dikujepsen/OpenTran | af9654fcf55e394e7bece38e59bbdc3dd343f092 | [
"MIT"
] | null | null | null | #include <cstdlib>
#include <cstdio>
#include <iostream>
#include "../../../utils/Stopwatch.cpp"
Stopwatch timer;
#include <openacc.h>
using namespace std;
void
matmul(float* A, float* B, float* C, unsigned hA, unsigned wA, unsigned wB)
{
#ifndef CPU
#ifdef READBACK
#pragma acc kernels loop copyin(A[0:hA*wA], B[0:wB*... | 19.521277 | 89 | 0.60436 | dikujepsen |
33ce799228197553e802b5e2ad31dbb39a368b04 | 93,493 | cpp | C++ | kcfi/llvm-kcfi/tools/clang/lib/Lex/PPDirectives.cpp | IntelSTORM/Projects | b983417a5ca22c7679da5a1144b348863bea5698 | [
"Intel"
] | 1 | 2022-01-11T11:12:00.000Z | 2022-01-11T11:12:00.000Z | kcfi/llvm-kcfi/tools/clang/lib/Lex/PPDirectives.cpp | IntelSTORMteam/Jurassic-Projects | b983417a5ca22c7679da5a1144b348863bea5698 | [
"Intel"
] | null | null | null | kcfi/llvm-kcfi/tools/clang/lib/Lex/PPDirectives.cpp | IntelSTORMteam/Jurassic-Projects | b983417a5ca22c7679da5a1144b348863bea5698 | [
"Intel"
] | null | null | null | //===--- PPDirectives.cpp - Directive Handling for Preprocessor -----------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | 37.056282 | 106 | 0.660049 | IntelSTORM |
33ce8b62be16a0ec9a6069434b6eea96aae71ed0 | 4,179 | hpp | C++ | include/caffe/layers/cudnn_deconv_layer.hpp | Julian-He/caffe | f6a177c9d4230ed0ee9f26769e0f1c99b3ec2487 | [
"BSD-2-Clause"
] | null | null | null | include/caffe/layers/cudnn_deconv_layer.hpp | Julian-He/caffe | f6a177c9d4230ed0ee9f26769e0f1c99b3ec2487 | [
"BSD-2-Clause"
] | null | null | null | include/caffe/layers/cudnn_deconv_layer.hpp | Julian-He/caffe | f6a177c9d4230ed0ee9f26769e0f1c99b3ec2487 | [
"BSD-2-Clause"
] | null | null | null | /*
All modification made by Cambricon Corporation: © 2018 Cambricon Corporation
All rights reserved.
All other contributions:
Copyright (c) 2014--2018, the respective contributors
All rights reserved.
For the list of contributors go to https://github.com/BVLC/caffe/blob/master/CONTRIBUTORS.md
Redistribution and use in ... | 42.642857 | 92 | 0.767408 | Julian-He |
33cfe4854ab1f3a8d72476c09806db43f5b721f4 | 2,281 | hpp | C++ | Versionen/2021_06_15/RMF/rmf_ws/install/rmf_building_map_msgs/include/rmf_building_map_msgs/msg/detail/affine_image__rosidl_typesupport_fastrtps_cpp.hpp | flitzmo-hso/flitzmo_agv_control_system | 99e8006920c03afbd93e4c7d38b4efff514c7069 | [
"MIT"
] | null | null | null | Versionen/2021_06_15/RMF/rmf_ws/install/rmf_building_map_msgs/include/rmf_building_map_msgs/msg/detail/affine_image__rosidl_typesupport_fastrtps_cpp.hpp | flitzmo-hso/flitzmo_agv_control_system | 99e8006920c03afbd93e4c7d38b4efff514c7069 | [
"MIT"
] | null | null | null | Versionen/2021_06_15/RMF/rmf_ws/install/rmf_building_map_msgs/include/rmf_building_map_msgs/msg/detail/affine_image__rosidl_typesupport_fastrtps_cpp.hpp | flitzmo-hso/flitzmo_agv_control_system | 99e8006920c03afbd93e4c7d38b4efff514c7069 | [
"MIT"
] | 2 | 2021-06-21T07:32:09.000Z | 2021-08-17T03:05:38.000Z | // generated from rosidl_typesupport_fastrtps_cpp/resource/idl__rosidl_typesupport_fastrtps_cpp.hpp.em
// with input from rmf_building_map_msgs:msg/AffineImage.idl
// generated code does not contain a copyright notice
#ifndef RMF_BUILDING_MAP_MSGS__MSG__DETAIL__AFFINE_IMAGE__ROSIDL_TYPESUPPORT_FASTRTPS_CPP_HPP_
#defin... | 28.5125 | 128 | 0.854011 | flitzmo-hso |
33d1c41fcaff576af5a008841e5c03cd665f9ee9 | 6,651 | cpp | C++ | src/Exclusion.cpp | hiliev/timewarrior | 025b36c051c70fef2beeb456df5ef9ad9221f2e9 | [
"MIT"
] | null | null | null | src/Exclusion.cpp | hiliev/timewarrior | 025b36c051c70fef2beeb456df5ef9ad9221f2e9 | [
"MIT"
] | null | null | null | src/Exclusion.cpp | hiliev/timewarrior | 025b36c051c70fef2beeb456df5ef9ad9221f2e9 | [
"MIT"
] | null | null | null | ////////////////////////////////////////////////////////////////////////////////
//
// Copyright 2015 - 2018, Thomas Lauf, Paul Beckingham, Federico Hernandez.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to d... | 32.443902 | 92 | 0.529544 | hiliev |
33d2cb50dee217a21996e318c5ef1a2eebefedeb | 22,533 | cpp | C++ | IGC/Compiler/Optimizer/OpenCLPasses/LocalBuffers/InlineLocalsResolution.cpp | ConiKost/intel-graphics-compiler | f5227c9658da35d08d7f711552ebcb12638ebc18 | [
"Intel",
"MIT"
] | 1 | 2020-09-03T17:11:47.000Z | 2020-09-03T17:11:47.000Z | IGC/Compiler/Optimizer/OpenCLPasses/LocalBuffers/InlineLocalsResolution.cpp | ConiKost/intel-graphics-compiler | f5227c9658da35d08d7f711552ebcb12638ebc18 | [
"Intel",
"MIT"
] | null | null | null | IGC/Compiler/Optimizer/OpenCLPasses/LocalBuffers/InlineLocalsResolution.cpp | ConiKost/intel-graphics-compiler | f5227c9658da35d08d7f711552ebcb12638ebc18 | [
"Intel",
"MIT"
] | null | null | null | /*========================== begin_copyright_notice ============================
Copyright (C) 2017-2021 Intel Corporation
SPDX-License-Identifier: MIT
============================= end_copyright_notice ===========================*/
#include "AdaptorCommon/ImplicitArgs.hpp"
#include "Compiler/Optimizer/OpenCLPasses... | 37.183168 | 133 | 0.577642 | ConiKost |
33d65048f975aeb53fac61ef2caefc48b72fcd97 | 10,752 | cpp | C++ | aws-cpp-sdk-timestream-query/source/TimestreamQueryClient.cpp | Eliyahu-Machluf/aws-sdk-cpp | 97b8d6cdc16df298b80941b94327a5026efa7f8c | [
"Apache-2.0"
] | null | null | null | aws-cpp-sdk-timestream-query/source/TimestreamQueryClient.cpp | Eliyahu-Machluf/aws-sdk-cpp | 97b8d6cdc16df298b80941b94327a5026efa7f8c | [
"Apache-2.0"
] | null | null | null | aws-cpp-sdk-timestream-query/source/TimestreamQueryClient.cpp | Eliyahu-Machluf/aws-sdk-cpp | 97b8d6cdc16df298b80941b94327a5026efa7f8c | [
"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/core/utils/Outcome.h>
#include <aws/core/auth/AWSAuthSigner.h>
#include <aws/core/client/CoreErrors.h>
#include <aws/core/client/RetryStrategy.h>
#include <aws/core/http/HttpClient.h>
#i... | 43.707317 | 231 | 0.751581 | Eliyahu-Machluf |
33d715e1533c353d55ab2f62af27176130608be6 | 602 | cpp | C++ | 3D PooFace/GDIPlusManager.cpp | guiteixeirapimentel/3DGameMechanics | ff02c0067841565cda6b5455fb6119a22783131a | [
"MIT"
] | null | null | null | 3D PooFace/GDIPlusManager.cpp | guiteixeirapimentel/3DGameMechanics | ff02c0067841565cda6b5455fb6119a22783131a | [
"MIT"
] | null | null | null | 3D PooFace/GDIPlusManager.cpp | guiteixeirapimentel/3DGameMechanics | ff02c0067841565cda6b5455fb6119a22783131a | [
"MIT"
] | null | null | null | #include "GDIPlusManager.h"
#include <algorithm>
namespace Gdiplus
{
using std::min;
using std::max;
}
#include <gdiplus.h>
#pragma comment(lib, "gdiplus.lib")
ULONG_PTR GDIPlusManager::token = 0;
int GDIPlusManager::refCount = 0;
GDIPlusManager::GDIPlusManager()
{
if (refCount++ == 0)
{
Gdiplus::GdiplusStart... | 17.2 | 51 | 0.714286 | guiteixeirapimentel |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.