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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
106cc66213980d0299c763ee0a3247c604f64d97 | 7,829 | cc | C++ | src/Modules/Visualization/ShowString.cc | kimjohn1/SCIRun | 62ae6cb632100371831530c755ef0b133fb5c978 | [
"MIT"
] | 92 | 2015-02-09T22:42:11.000Z | 2022-03-25T09:14:50.000Z | src/Modules/Visualization/ShowString.cc | kimjohn1/SCIRun | 62ae6cb632100371831530c755ef0b133fb5c978 | [
"MIT"
] | 1,618 | 2015-01-05T19:39:13.000Z | 2022-03-27T20:28:45.000Z | src/Modules/Visualization/ShowString.cc | kimjohn1/SCIRun | 62ae6cb632100371831530c755ef0b133fb5c978 | [
"MIT"
] | 64 | 2015-02-20T17:51:23.000Z | 2021-11-19T07:08:08.000Z | /*
For more information, please see: http://software.sci.utah.edu
The MIT License
Copyright (c) 2020 Scientific Computing and Imaging Institute,
University of Utah.
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the ... | 34.641593 | 105 | 0.730489 | kimjohn1 |
1070e90f63ebb43473dbd60b96fcabe1b2f5d9cb | 20,029 | cpp | C++ | modules/attention_segmentation/src/convertions.cpp | ToMadoRe/v4r | 7cb817e05cb9d99cb2f68db009c27d7144d07f09 | [
"MIT"
] | 17 | 2015-11-16T14:21:10.000Z | 2020-11-09T02:57:33.000Z | modules/attention_segmentation/src/convertions.cpp | ToMadoRe/v4r | 7cb817e05cb9d99cb2f68db009c27d7144d07f09 | [
"MIT"
] | 35 | 2015-07-27T15:04:43.000Z | 2019-08-22T10:52:35.000Z | modules/attention_segmentation/src/convertions.cpp | ToMadoRe/v4r | 7cb817e05cb9d99cb2f68db009c27d7144d07f09 | [
"MIT"
] | 18 | 2015-08-06T09:26:27.000Z | 2020-09-03T01:31:00.000Z | /**
* Copyright (C) 2012
* Ekaterina Potapova
* Automation and Control Institute
* Vienna University of Technology
* Gusshausstraße 25-29
* 1040 Vienna, Austria
* potapova(at)acin.tuwien.ac.at
*
* This program is free software: you can redistribute it and/or modify
* it under the terms ... | 30.028486 | 151 | 0.60692 | ToMadoRe |
107370106c941da471197df74dc396a6fff8cc30 | 2,891 | cpp | C++ | csapex_point_cloud/src/conversion/pointcloud_to_depthimage.cpp | AdrianZw/csapex_core_plugins | 1b23c90af7e552c3fc37c7dda589d751d2aae97f | [
"BSD-3-Clause"
] | 2 | 2016-09-02T15:33:22.000Z | 2019-05-06T22:09:33.000Z | csapex_point_cloud/src/conversion/pointcloud_to_depthimage.cpp | AdrianZw/csapex_core_plugins | 1b23c90af7e552c3fc37c7dda589d751d2aae97f | [
"BSD-3-Clause"
] | 1 | 2021-02-14T19:53:30.000Z | 2021-02-14T19:53:30.000Z | csapex_point_cloud/src/conversion/pointcloud_to_depthimage.cpp | AdrianZw/csapex_core_plugins | 1b23c90af7e552c3fc37c7dda589d751d2aae97f | [
"BSD-3-Clause"
] | 6 | 2016-10-12T00:55:23.000Z | 2021-02-10T17:49:25.000Z |
/// PROJECT
#include <csapex/model/node.h>
#include <csapex/model/node_modifier.h>
#include <csapex/msg/io.h>
#include <csapex/param/parameter_factory.h>
#include <csapex/utility/register_apex_plugin.h>
#include <csapex_core_plugins/timestamp_message.h>
#include <csapex_opencv/cv_mat_message.h>
#include <csapex_point_... | 28.067961 | 108 | 0.617088 | AdrianZw |
1073f469f8755494b669063ddd5817fddb2c7620 | 3,956 | cpp | C++ | core/model/src/model_math_t.cpp | lkeegan/spatial-model-editor | 5dcb06550607b0a734acddd8b719035b68e35307 | [
"MIT"
] | 4 | 2019-07-18T15:05:09.000Z | 2020-03-14T09:50:07.000Z | core/model/src/model_math_t.cpp | lkeegan/spatial-model-editor | 5dcb06550607b0a734acddd8b719035b68e35307 | [
"MIT"
] | 328 | 2019-06-30T12:03:01.000Z | 2020-10-05T15:56:35.000Z | core/model/src/model_math_t.cpp | lkeegan/spatial-model-editor | 5dcb06550607b0a734acddd8b719035b68e35307 | [
"MIT"
] | 1 | 2019-06-08T22:47:14.000Z | 2019-06-08T22:47:14.000Z | #include "catch_wrapper.hpp"
#include "model_test_utils.hpp"
#include "sme/model.hpp"
#include "sme/model_math.hpp"
#include <QFile>
#include <cmath>
using namespace sme;
using namespace sme::test;
TEST_CASE("SBML math", "[core/model/math][core/model][core][model][math]") {
SECTION("No SBML model, valid expressions... | 36.62963 | 77 | 0.60541 | lkeegan |
1075b208a14f1e7be9140232429ef4b5afe897b8 | 930 | cpp | C++ | LinkedList/palindromell.cpp | riti2409/180DSAProblemsbusted | 4cce47fa61bf2e7cb3b621996e2e327e9ef61ad1 | [
"MIT"
] | 8 | 2021-10-20T02:19:59.000Z | 2022-02-05T16:49:49.000Z | LinkedList/palindromell.cpp | riti2409/180DSAProblemsbusted | 4cce47fa61bf2e7cb3b621996e2e327e9ef61ad1 | [
"MIT"
] | null | null | null | LinkedList/palindromell.cpp | riti2409/180DSAProblemsbusted | 4cce47fa61bf2e7cb3b621996e2e327e9ef61ad1 | [
"MIT"
] | null | null | null | class Solution {
public:
ListNode* reverse(ListNode* head){
ListNode*prev=NULL;
ListNode*curr=head;
ListNode*next;
while(curr!=NULL){
next=curr->next;
curr->next=prev;
prev=curr;
curr=next;
}
re... | 25.135135 | 59 | 0.446237 | riti2409 |
1076f1a9d8c7ba961e690f6a0b44e521701554dc | 62,349 | cpp | C++ | cmfe/lib/AST/TypePrinter.cpp | dmitryryintel/cm-compiler | 1ef7651dc1c33d3e4853f8779d6a720e45e20e19 | [
"Intel",
"MIT"
] | 115 | 2018-02-01T18:56:44.000Z | 2022-03-21T13:23:00.000Z | cmfe/lib/AST/TypePrinter.cpp | dmitryryintel/cm-compiler | 1ef7651dc1c33d3e4853f8779d6a720e45e20e19 | [
"Intel",
"MIT"
] | 27 | 2018-09-17T17:49:49.000Z | 2021-11-03T04:31:51.000Z | cmfe/lib/AST/TypePrinter.cpp | dmitryryintel/cm-compiler | 1ef7651dc1c33d3e4853f8779d6a720e45e20e19 | [
"Intel",
"MIT"
] | 55 | 2018-02-01T07:11:49.000Z | 2022-03-04T01:20:23.000Z | //===- TypePrinter.cpp - Pretty-Print Clang Types -------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | 32.205062 | 82 | 0.63807 | dmitryryintel |
10786f7a915956d6e83da511fac1ece010f98a2a | 2,362 | cpp | C++ | engine/source/gom/source/src/Actor.cpp | mateusgondim/Demos | 6aa5da3a6c0e960d10811c9e71e9a0a746e8d6ab | [
"MIT"
] | 5 | 2019-02-12T07:23:55.000Z | 2020-06-22T15:03:36.000Z | engine/source/gom/source/src/Actor.cpp | mateusgondim/Demos | 6aa5da3a6c0e960d10811c9e71e9a0a746e8d6ab | [
"MIT"
] | null | null | null | engine/source/gom/source/src/Actor.cpp | mateusgondim/Demos | 6aa5da3a6c0e960d10811c9e71e9a0a746e8d6ab | [
"MIT"
] | 2 | 2019-06-17T05:04:21.000Z | 2020-04-22T09:05:57.000Z | #include "Actor.hpp"
#include "vec3.hpp"
#include "vec2.hpp"
#include "mat4.hpp"
#include "Body_2d_def.hpp"
#include "Body_2d.hpp"
#include "World.hpp"
#include "Physics_manager.hpp"
#include "Projectile.hpp"
#include "Sprite.hpp"
#include "Sprite_atlas.hpp"
#include "Graphics_manager.hpp"
#include "Gameplay_state.h... | 32.356164 | 185 | 0.724809 | mateusgondim |
10791f85ae8e2c6fe3473339e07ca53247fc4fc9 | 2,216 | cpp | C++ | hazelcast/src/hazelcast/client/TypedData.cpp | sbrown-uhd/hazelcast-cpp-client | ce57a508092fa42b9b4b371ae6c2782a21c75515 | [
"Apache-2.0"
] | null | null | null | hazelcast/src/hazelcast/client/TypedData.cpp | sbrown-uhd/hazelcast-cpp-client | ce57a508092fa42b9b4b371ae6c2782a21c75515 | [
"Apache-2.0"
] | null | null | null | hazelcast/src/hazelcast/client/TypedData.cpp | sbrown-uhd/hazelcast-cpp-client | ce57a508092fa42b9b4b371ae6c2782a21c75515 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2008-2019, Hazelcast, Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required ... | 36.933333 | 124 | 0.574007 | sbrown-uhd |
107a5f0d2e59a6cc83a80733e005a74f3f4b7928 | 11,129 | cc | C++ | src/automaton/tests/interop/abi_encoder_test.cc | automaton-network/automaton | 34f6df278dc71d11340084c3487564ab58b04c2e | [
"MIT"
] | 2 | 2018-12-19T18:01:14.000Z | 2019-03-29T12:54:41.000Z | src/automaton/tests/interop/abi_encoder_test.cc | automaton-network/automaton | 34f6df278dc71d11340084c3487564ab58b04c2e | [
"MIT"
] | 3 | 2018-12-20T17:44:31.000Z | 2020-03-25T16:45:04.000Z | src/automaton/tests/interop/abi_encoder_test.cc | automaton-network/automaton | 34f6df278dc71d11340084c3487564ab58b04c2e | [
"MIT"
] | 2 | 2020-03-12T13:33:10.000Z | 2020-03-22T00:48:51.000Z | #include <fstream>
#include <string>
#include <vector>
#include <json.hpp>
#include "automaton/core/interop/ethereum/eth_contract_curl.h"
#include "automaton/core/interop/ethereum/eth_helper_functions.h"
#include "automaton/core/io/io.h"
#include "gtest/gtest.h"
using json = nlohmann::json;
using namespace automat... | 34.669782 | 162 | 0.572738 | automaton-network |
107ac452648bfa7b6d7dd997b2314ecf40390d6f | 891 | cpp | C++ | data/dailyCodingProblem972.cpp | vidit1999/daily_coding_problem | b90319cb4ddce11149f54010ba36c4bd6fa0a787 | [
"MIT"
] | 2 | 2020-09-04T20:56:23.000Z | 2021-06-11T07:42:26.000Z | data/dailyCodingProblem972.cpp | vidit1999/daily_coding_problem | b90319cb4ddce11149f54010ba36c4bd6fa0a787 | [
"MIT"
] | null | null | null | data/dailyCodingProblem972.cpp | vidit1999/daily_coding_problem | b90319cb4ddce11149f54010ba36c4bd6fa0a787 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
/*
Given a string with repeated characters, rearrange the string so that no two adjacent
characters are the same. If this is not possible, return None.
For example, given "aaabbc", you could return "ababac". Given "aaab", return None.
*/
string rearrangeNoTwoAdj(string ... | 19.8 | 85 | 0.637486 | vidit1999 |
107fc4b66b44d92e397aa1a95acdfa2007b5cc6c | 696 | cpp | C++ | src/rt64lib/private/rt64_common.cpp | Ridge-Racer/RT64 | 20c983ea6875f23063449dd9c31e87e1f6b12fdf | [
"MIT"
] | null | null | null | src/rt64lib/private/rt64_common.cpp | Ridge-Racer/RT64 | 20c983ea6875f23063449dd9c31e87e1f6b12fdf | [
"MIT"
] | null | null | null | src/rt64lib/private/rt64_common.cpp | Ridge-Racer/RT64 | 20c983ea6875f23063449dd9c31e87e1f6b12fdf | [
"MIT"
] | null | null | null | //
// RT64
//
#include "rt64_common.h"
#ifndef RT64_MINIMAL
namespace nv_helpers_dx12
{
ID3D12DescriptorHeap* CreateDescriptorHeap(ID3D12Device* device, uint32_t count, D3D12_DESCRIPTOR_HEAP_TYPE type, bool shaderVisible) {
D3D12_DESCRIPTOR_HEAP_DESC desc = {};
desc.NumDescriptors = count;
desc.Type = type;
... | 24 | 136 | 0.780172 | Ridge-Racer |
108089c02f264c5e026a26f721739850094a0de1 | 1,536 | hpp | C++ | castle-crawl/src/game-coordinator.hpp | Biyorne/learningcpp | bcf963990800ed939fa4cc1b30fadccaf098155b | [
"MIT"
] | null | null | null | castle-crawl/src/game-coordinator.hpp | Biyorne/learningcpp | bcf963990800ed939fa4cc1b30fadccaf098155b | [
"MIT"
] | null | null | null | castle-crawl/src/game-coordinator.hpp | Biyorne/learningcpp | bcf963990800ed939fa4cc1b30fadccaf098155b | [
"MIT"
] | null | null | null | #ifndef CASTLECRAWL_GAMECOORDINATOR_HPP_INCLUDED
#define CASTLECRAWL_GAMECOORDINATOR_HPP_INCLUDED
//
// game-coordinator.hpp
//
#include "animation-player.hpp"
#include "board.hpp"
#include "context.hpp"
#include "keys.hpp"
#include "maps.hpp"
#include "player-piece.hpp"
#include "popup-manager.hpp"
#include "random.hp... | 23.272727 | 61 | 0.685547 | Biyorne |
1080f8af35ddc9c69953f48f79aa560094477ae8 | 5,227 | hpp | C++ | include/DynPDT.hpp | kamp78/dynpdt | 5ecdb043b3185f3adcdc6e084786608f01547bcc | [
"MIT"
] | null | null | null | include/DynPDT.hpp | kamp78/dynpdt | 5ecdb043b3185f3adcdc6e084786608f01547bcc | [
"MIT"
] | null | null | null | include/DynPDT.hpp | kamp78/dynpdt | 5ecdb043b3185f3adcdc6e084786608f01547bcc | [
"MIT"
] | null | null | null | #ifndef DYNPDT_DYNPDT_HPP
#define DYNPDT_DYNPDT_HPP
#include "SimpleBonsai.hpp"
#include "LabelPool_Plain.hpp"
#include "LabelPool_BitMap.hpp"
namespace dynpdt {
struct Setting {
uint64_t num_keys = 0;
double load_factor = 0.0;
uint64_t fixed_len = 0; // of node labels
uint8_t width_1st = 0;
void show_sta... | 25.748768 | 87 | 0.616223 | kamp78 |
1081364e434d72176856ce2745b3f4e78289a2f6 | 32,131 | cpp | C++ | Plugins/Rename/Rename.cpp | GideonCrawle/unified | 2a310e0012badfcc9675bd8c8554613b5354e21a | [
"MIT"
] | null | null | null | Plugins/Rename/Rename.cpp | GideonCrawle/unified | 2a310e0012badfcc9675bd8c8554613b5354e21a | [
"MIT"
] | null | null | null | Plugins/Rename/Rename.cpp | GideonCrawle/unified | 2a310e0012badfcc9675bd8c8554613b5354e21a | [
"MIT"
] | null | null | null | #include "Rename.hpp"
#include <sstream>
#include <regex>
#include <string>
#include <random>
#include <algorithm>
#include "API/CAppManager.hpp"
#include "API/CServerExoApp.hpp"
#include "API/CNetLayer.hpp"
#include "API/CNetLayerPlayerInfo.hpp"
#include "API/Constants.hpp"
#include "API/Globals.hpp"
#include "API/CN... | 43.954856 | 170 | 0.669385 | GideonCrawle |
10816f47c2a8ec6f56032fccf80bcd9e7d5649ba | 3,062 | cpp | C++ | compiler/moco-tf/src/Canonicalization/PadCanonicalizer.cpp | wateret/ONE_private | 9789c52633e665d2e10273d88d6f7970faa8aee9 | [
"Apache-2.0"
] | null | null | null | compiler/moco-tf/src/Canonicalization/PadCanonicalizer.cpp | wateret/ONE_private | 9789c52633e665d2e10273d88d6f7970faa8aee9 | [
"Apache-2.0"
] | null | null | null | compiler/moco-tf/src/Canonicalization/PadCanonicalizer.cpp | wateret/ONE_private | 9789c52633e665d2e10273d88d6f7970faa8aee9 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2019 Samsung Electronics Co., Ltd. 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... | 30.316832 | 92 | 0.643044 | wateret |
1083834ea7c86c67df16cb6493f39dd9144f26f0 | 1,127 | cc | C++ | aslam_cv_common/test/test-hash-id.cc | shuhannod/aslam_cv2 | 4dd48916b9e5b9d5aa56e28894a04d4a25a87348 | [
"Apache-2.0"
] | 3 | 2019-09-16T02:11:58.000Z | 2020-03-20T22:49:32.000Z | aslam_cv_common/test/test-hash-id.cc | shuhannod/aslam_cv2 | 4dd48916b9e5b9d5aa56e28894a04d4a25a87348 | [
"Apache-2.0"
] | null | null | null | aslam_cv_common/test/test-hash-id.cc | shuhannod/aslam_cv2 | 4dd48916b9e5b9d5aa56e28894a04d4a25a87348 | [
"Apache-2.0"
] | 3 | 2019-07-04T00:47:45.000Z | 2019-10-17T02:22:11.000Z | #include <algorithm>
#include <unordered_set>
#include <gtest/gtest.h>
#include <aslam/common/entrypoint.h>
#include <aslam/common/hash-id.h>
using namespace aslam;
TEST(HashIdTest, Different) {
HashId a(HashId::random()), b(HashId::random());
EXPECT_NE(a, b);
}
TEST(HashIdTest, Validity) {
HashId a, b;
EX... | 21.673077 | 67 | 0.687666 | shuhannod |
1088be6841bce3d3a0624d4bfb5a6edfc47edc50 | 104 | cpp | C++ | ShipEditorSimulation/Pool.cpp | timdecode/GraphSimulation | 7dec48ea9d2e094bab0825cde44c93fe83d1a92c | [
"MIT"
] | 1 | 2018-09-05T21:01:29.000Z | 2018-09-05T21:01:29.000Z | ShipEditorSimulation/Pool.cpp | timdecode/GraphSimulation | 7dec48ea9d2e094bab0825cde44c93fe83d1a92c | [
"MIT"
] | null | null | null | ShipEditorSimulation/Pool.cpp | timdecode/GraphSimulation | 7dec48ea9d2e094bab0825cde44c93fe83d1a92c | [
"MIT"
] | null | null | null | // Copyright 2016 Timothy Davison, all rights reserved.
#include "RegionGrowing.h"
#include "Pool.h"
| 14.857143 | 55 | 0.740385 | timdecode |
1089607571bba3f5291fa7ee90fcab2cc793f19d | 11,569 | hh | C++ | src/base/remote_gdb.hh | zinob15/gem5 | fb2946e314ea9e63c7696ee8023150ed13956582 | [
"BSD-3-Clause"
] | 1 | 2021-10-11T18:06:53.000Z | 2021-10-11T18:06:53.000Z | src/base/remote_gdb.hh | zinob15/gem5 | fb2946e314ea9e63c7696ee8023150ed13956582 | [
"BSD-3-Clause"
] | 1 | 2022-01-31T13:15:08.000Z | 2022-01-31T13:15:08.000Z | src/base/remote_gdb.hh | zinob15/gem5 | fb2946e314ea9e63c7696ee8023150ed13956582 | [
"BSD-3-Clause"
] | 1 | 2021-11-08T18:50:43.000Z | 2021-11-08T18:50:43.000Z | /*
* Copyright (c) 2018 ARM Limited
*
* The license below extends only to copyright in the software and shall
* not be construed as granting a license to any other intellectual
* property including but not limited to intellectual property relating
* to a hardware implementation of the functionality of the softwar... | 27.545238 | 79 | 0.665485 | zinob15 |
c80935789299c12c90ec7b8c5af1211d58c42842 | 10,674 | cpp | C++ | Tests/NumLib/LocalToGlobalIndexMap.cpp | hosseinsotudeh/ogs | 214afcb00af23e4393168a846c7ee8ce4f13e489 | [
"BSD-4-Clause"
] | null | null | null | Tests/NumLib/LocalToGlobalIndexMap.cpp | hosseinsotudeh/ogs | 214afcb00af23e4393168a846c7ee8ce4f13e489 | [
"BSD-4-Clause"
] | null | null | null | Tests/NumLib/LocalToGlobalIndexMap.cpp | hosseinsotudeh/ogs | 214afcb00af23e4393168a846c7ee8ce4f13e489 | [
"BSD-4-Clause"
] | null | null | null | /**
* \copyright
* Copyright (c) 2012-2018, OpenGeoSys Community (http://www.opengeosys.org)
* Distributed under a Modified BSD License.
* See accompanying file LICENSE.txt or
* http://www.opengeosys.org/project/license
*
*/
#include <memory>
#include <vector>
#include <gte... | 38.121429 | 135 | 0.719974 | hosseinsotudeh |
c810c8e43f2259753f488137169fb82a19380b5f | 22,229 | cpp | C++ | src/navier_stokes/StaggeredStokesBlockFactorizationPreconditioner.cpp | kkeonho/IBAMR | 50d5c37d8f2952abc21f05ab224f22003d23d6e7 | [
"BSD-3-Clause"
] | 264 | 2015-01-04T12:11:02.000Z | 2022-03-31T13:10:37.000Z | src/navier_stokes/StaggeredStokesBlockFactorizationPreconditioner.cpp | kkeonho/IBAMR | 50d5c37d8f2952abc21f05ab224f22003d23d6e7 | [
"BSD-3-Clause"
] | 1,057 | 2015-04-27T04:27:57.000Z | 2022-03-31T13:14:59.000Z | src/navier_stokes/StaggeredStokesBlockFactorizationPreconditioner.cpp | drwells/IBAMR | 0ceda3873405a35da4888c99e7d2b24d132f9071 | [
"BSD-3-Clause"
] | 126 | 2015-02-13T15:36:02.000Z | 2022-03-27T21:59:50.000Z | // ---------------------------------------------------------------------
//
// Copyright (c) 2014 - 2020 by the IBAMR developers
// All rights reserved.
//
// This file is part of IBAMR.
//
// IBAMR is free software and is distributed under the 3-clause BSD
// license. The full text of the license can be found in the f... | 39.836918 | 117 | 0.586531 | kkeonho |
c81174fe2da7990dfd340c6fae2a403c36b93d47 | 1,921 | cpp | C++ | gameboy_core/ios/Classes/gb/game_boy.cpp | momo5502/game-man | 296c1bfdde98541e5cc29507309e8903f1bc20a6 | [
"MIT"
] | 5 | 2022-01-03T21:20:15.000Z | 2022-01-05T11:58:35.000Z | gameboy_core/ios/Classes/gb/game_boy.cpp | momo5502/game-man | 296c1bfdde98541e5cc29507309e8903f1bc20a6 | [
"MIT"
] | null | null | null | gameboy_core/ios/Classes/gb/game_boy.cpp | momo5502/game-man | 296c1bfdde98541e5cc29507309e8903f1bc20a6 | [
"MIT"
] | null | null | null | #include "std_include.hpp"
#include "game_boy.hpp"
game_boy::game_boy(joypad* joypad, display* display)
: joypad_(joypad)
, display_(display)
, input_(this)
, cpu_(this)
, mmu_(this)
, gpu_(this)
{
}
game_boy::~game_boy()
{
this->off_ = true;
}
void game_boy::serialize(utils::binary_buffer& buffer)
... | 17.463636 | 74 | 0.665799 | momo5502 |
c815542decfce80dde10af976a3a4229608c7f7e | 98,025 | hpp | C++ | MyFish/Pods/Realm/include/core/realm/impl/transact_log.hpp | aidudu/MyFish | b2cc6c82c67c535016d6dad601452c172823fb4f | [
"MIT"
] | 10 | 2016-05-12T02:01:49.000Z | 2020-04-18T10:21:50.000Z | MyFish/Pods/Realm/include/core/realm/impl/transact_log.hpp | aidudu/MyFish | b2cc6c82c67c535016d6dad601452c172823fb4f | [
"MIT"
] | 1 | 2018-10-18T20:30:01.000Z | 2018-10-18T20:30:01.000Z | MyFish/Pods/Realm/include/core/realm/impl/transact_log.hpp | aidudu/MyFish | b2cc6c82c67c535016d6dad601452c172823fb4f | [
"MIT"
] | 13 | 2016-03-29T02:00:33.000Z | 2020-10-27T16:26:35.000Z | /*************************************************************************
*
* Copyright 2016 Realm 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/lice... | 37.144752 | 140 | 0.641857 | aidudu |
c819c251ef201a40de037e129c7af31f4a818911 | 14,077 | cpp | C++ | flinter/linkage/linkage_worker.cpp | yiyuanzhong/flinter | c52655ea5f8e48244fdb59bdf34b915faee57a6e | [
"Apache-2.0"
] | 29 | 2016-01-29T09:31:09.000Z | 2021-07-11T12:00:31.000Z | flinter/linkage/linkage_worker.cpp | yiyuanzhong/flinter | c52655ea5f8e48244fdb59bdf34b915faee57a6e | [
"Apache-2.0"
] | 2 | 2015-03-30T09:59:51.000Z | 2017-03-13T09:35:18.000Z | flinter/linkage/linkage_worker.cpp | yiyuanzhong/flinter | c52655ea5f8e48244fdb59bdf34b915faee57a6e | [
"Apache-2.0"
] | 17 | 2015-03-28T09:24:53.000Z | 2021-08-07T10:09:10.000Z | /* Copyright 2014 yiyuanzhong@gmail.com (Yiyuan Zhong)
*
* 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 applic... | 27.281008 | 94 | 0.624281 | yiyuanzhong |
c81b062864945c16921507bd55ccc183064da6ba | 10,057 | cpp | C++ | beelzebub/arc/x86/src/djinn.arc.cpp | vercas/Beelzebub | 9d0e4790060b313c6681ca7e478d08d3910332b0 | [
"NCSA"
] | 32 | 2015-09-02T22:56:22.000Z | 2021-02-24T17:15:50.000Z | beelzebub/arc/x86/src/djinn.arc.cpp | vercas/Beelzebub | 9d0e4790060b313c6681ca7e478d08d3910332b0 | [
"NCSA"
] | 30 | 2015-04-26T18:35:07.000Z | 2021-06-06T09:57:02.000Z | beelzebub/arc/x86/src/djinn.arc.cpp | vercas/Beelzebub | 9d0e4790060b313c6681ca7e478d08d3910332b0 | [
"NCSA"
] | 11 | 2015-09-03T20:47:41.000Z | 2021-06-25T17:00:01.000Z | /*
Copyright (c) 2018 Alexandru-Mihai Maftei. All rights reserved.
Developed by: Alexandru-Mihai Maftei
aka Vercas
http://vercas.com | https://github.com/vercas/Beelzebub
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation... | 30.661585 | 117 | 0.615691 | vercas |
c81d4fac2f9504aba74f0121100f9f7073ce5a75 | 1,114 | cpp | C++ | src/lib/utils/mem_ops.cpp | reneme/botan | b8b50eaf392a5da53d59f28919af0dcfd16b6f4d | [
"BSD-2-Clause"
] | 1 | 2018-01-07T03:42:28.000Z | 2018-01-07T03:42:28.000Z | src/lib/utils/mem_ops.cpp | reneme/botan | b8b50eaf392a5da53d59f28919af0dcfd16b6f4d | [
"BSD-2-Clause"
] | null | null | null | src/lib/utils/mem_ops.cpp | reneme/botan | b8b50eaf392a5da53d59f28919af0dcfd16b6f4d | [
"BSD-2-Clause"
] | null | null | null | /*
* Memory Scrubbing
* (C) 2012,2015,2016 Jack Lloyd
*
* Botan is released under the Simplified BSD License (see license.txt)
*/
#include <botan/mem_ops.h>
#if defined(BOTAN_TARGET_OS_HAS_RTLSECUREZEROMEMORY)
#define NOMINMAX 1
#include <windows.h>
#endif
namespace Botan {
void secure_scrub_memory(void* ptr, s... | 27.85 | 94 | 0.722621 | reneme |
c81d84f952c06ed98cc22444f9d57d2b036f83d6 | 3,406 | hpp | C++ | include/bits/decor/select.hpp | vashman/range_layer | 056b6ee805a92187021b686960bc7d9766ab478b | [
"BSL-1.0"
] | null | null | null | include/bits/decor/select.hpp | vashman/range_layer | 056b6ee805a92187021b686960bc7d9766ab478b | [
"BSL-1.0"
] | null | null | null | include/bits/decor/select.hpp | vashman/range_layer | 056b6ee805a92187021b686960bc7d9766ab478b | [
"BSL-1.0"
] | null | null | null | //
// Copyright Sundeep S. Sangha 2015 - 2017.
// 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 RANGE_LAYER_SELECT_RANGE_HPP
#define RANGE_LAYER_SELECT_RANGE_HPP
#include <tuple>
#i... | 26.2 | 61 | 0.389313 | vashman |
c820cee12f73821d255fcc217074988befbeeeb5 | 2,739 | hpp | C++ | ql/models/marketmodels/historicalratesanalysis.hpp | haozhangphd/QuantLib-noBoost | ddded069868161099843c04840454f00816113ad | [
"BSD-3-Clause"
] | 76 | 2017-06-28T21:24:38.000Z | 2021-12-19T18:07:37.000Z | ql/models/marketmodels/historicalratesanalysis.hpp | haozhangphd/QuantLib-noBoost | ddded069868161099843c04840454f00816113ad | [
"BSD-3-Clause"
] | 2 | 2017-07-05T09:20:13.000Z | 2019-10-31T12:06:51.000Z | ql/models/marketmodels/historicalratesanalysis.hpp | haozhangphd/QuantLib-noBoost | ddded069868161099843c04840454f00816113ad | [
"BSD-3-Clause"
] | 34 | 2017-07-02T14:49:21.000Z | 2021-11-26T15:32:04.000Z | /* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
Copyright (C) 2007 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... | 33.402439 | 81 | 0.682731 | haozhangphd |
c82144220807594eed0894a47269f00319a46bf7 | 486 | cpp | C++ | other/la/blas/level1.cpp | MTang23/AMS562-lecture-notes | 0d49d584e43eff7283aebbf468b14c3f86f75d0d | [
"MIT"
] | 2 | 2020-09-09T01:37:46.000Z | 2021-11-30T19:21:42.000Z | other/la/blas/level1.cpp | MTang23/AMS562-lecture-notes | 0d49d584e43eff7283aebbf468b14c3f86f75d0d | [
"MIT"
] | 2 | 2021-08-30T13:47:12.000Z | 2021-09-10T16:54:18.000Z | other/la/blas/level1.cpp | MTang23/AMS562-lecture-notes | 0d49d584e43eff7283aebbf468b14c3f86f75d0d | [
"MIT"
] | 4 | 2019-12-01T17:33:13.000Z | 2022-02-27T00:53:48.000Z | #include <cblas.h>
#include <vector>
#include <iostream>
int main() {
std::vector<double> x(10), y(10);
for (int i = 0; i < 10; ++i)
x[i] = i + 1;
// copy x to y, then y = [1, 2, ... 10]
cblas_dcopy(10, x.data(), 1, y.data(), 1);
for (int i = 0; i < 10; ++i)
std::cout << y[i] << ' ';
std::cout ... | 20.25 | 49 | 0.489712 | MTang23 |
c823738c43f76f2428c04c3a96ae2b9c2453939d | 420 | cpp | C++ | tools/level_editor/src/objects/items/ThreeDObject.cpp | filipwasil/fillwave | 65f5eeebf8ca4a8ce2d25293874b051c2a4c0550 | [
"MIT"
] | 27 | 2015-09-26T23:29:48.000Z | 2021-03-06T08:54:46.000Z | tools/level_editor/src/objects/items/ThreeDObject.cpp | filipwasil/fillwave | 65f5eeebf8ca4a8ce2d25293874b051c2a4c0550 | [
"MIT"
] | 83 | 2015-09-28T22:20:16.000Z | 2018-05-16T13:25:28.000Z | tools/level_editor/src/objects/items/ThreeDObject.cpp | filipwasil/fillwave | 65f5eeebf8ca4a8ce2d25293874b051c2a4c0550 | [
"MIT"
] | 8 | 2015-11-03T22:29:29.000Z | 2018-11-17T08:49:07.000Z | #include "ThreeDObject.h"
namespace objects {
ThreeDObject::ThreeDObject(IItem* parent, QString name, QByteArray id, std::unique_ptr<Model> model)
: BaseItem(parent, name, id)
, mModel(std::move(model)) {
init();
}
void ThreeDObject::init() {
BaseItem::init();
//TODO:add to model and scene, node controler ... | 26.25 | 100 | 0.716667 | filipwasil |
c82650f6932e6f20124a3c843bb81126f1773ae3 | 2,589 | cpp | C++ | modules/task_3/vizgalov_a_dijkstra/main.cpp | orcyyy/pp_2020_autumn_engineer-1 | 14cb1248b8b765a02eaa4c73f06807c250545491 | [
"BSD-3-Clause"
] | null | null | null | modules/task_3/vizgalov_a_dijkstra/main.cpp | orcyyy/pp_2020_autumn_engineer-1 | 14cb1248b8b765a02eaa4c73f06807c250545491 | [
"BSD-3-Clause"
] | 1 | 2020-12-27T20:31:37.000Z | 2020-12-27T20:31:37.000Z | modules/task_3/vizgalov_a_dijkstra/main.cpp | schelyanskovan/pp_2020_autumn_engineer | 2bacf7ccaf3c638044c41068565a693ac4fae828 | [
"BSD-3-Clause"
] | 1 | 2021-03-29T10:15:47.000Z | 2021-03-29T10:15:47.000Z | // Copyright 2020 Vizgalov Anton
#include <gtest-mpi-listener.hpp>
#include <gtest/gtest.h>
#include <vector>
#include "./dijkstra.h"
TEST(Dijkstra, Dijkstra_Generate_Random) {
int rank;
MPI_Comm_rank(MPI_COMM_WORLD, &rank);
if (rank == 0) {
ASSERT_NO_THROW(generateRandomGraph(100));
}
}
T... | 26.151515 | 95 | 0.633449 | orcyyy |
c8266040dd5a025d4a2303aae679d45a5d7b04d9 | 16,687 | cpp | C++ | test/index/test_index.cpp | DecodeGenetics/graphtyper | f9edcf4cf040197f57e208ff6f910e5a2875f692 | [
"MIT"
] | 122 | 2017-06-09T18:05:57.000Z | 2022-03-27T20:22:22.000Z | test/index/test_index.cpp | DecodeGenetics/graphtyper | f9edcf4cf040197f57e208ff6f910e5a2875f692 | [
"MIT"
] | 79 | 2017-06-12T06:35:06.000Z | 2022-03-30T16:01:11.000Z | test/index/test_index.cpp | DecodeGenetics/graphtyper | f9edcf4cf040197f57e208ff6f910e5a2875f692 | [
"MIT"
] | 14 | 2017-06-22T13:02:21.000Z | 2022-03-26T01:45:02.000Z | #include <climits>
#include <cstdio>
#include <fstream>
#include <iostream>
#include <stdio.h>
#include <string>
#include <graphtyper/graph/constructor.hpp>
#include <graphtyper/graph/graph_serialization.hpp>
#include <graphtyper/index/indexer.hpp>
#include <graphtyper/index/ph_index.hpp>
#include <graphtyper/utilitie... | 37.498876 | 118 | 0.710134 | DecodeGenetics |
c826865cfd74ffb5fa2d4c297f5f957d3a8d5db1 | 1,221 | cpp | C++ | src/kits/media/MediaClientDefs.cpp | stasinek/BHAPI | 5d9aa61665ae2cc5c6e34415957d49a769325b2b | [
"BSD-3-Clause",
"MIT"
] | 3 | 2018-05-21T15:32:32.000Z | 2019-03-21T13:34:55.000Z | src/kits/media/MediaClientDefs.cpp | stasinek/BHAPI | 5d9aa61665ae2cc5c6e34415957d49a769325b2b | [
"BSD-3-Clause",
"MIT"
] | null | null | null | src/kits/media/MediaClientDefs.cpp | stasinek/BHAPI | 5d9aa61665ae2cc5c6e34415957d49a769325b2b | [
"BSD-3-Clause",
"MIT"
] | null | null | null | /*
* Copyright 2015, Dario Casalinuovo. All rights reserved.
* Distributed under the terms of the MIT License.
*/
#include <MediaClient.h>
#include <MediaConnection.h>
#include <kits/debug/Debug.h>
media_client_id
media_client::Id() const
{
return node.node;
}
media_connection_id
media_connection::Id() const
... | 13.875 | 58 | 0.747748 | stasinek |
c82a00726c77d8638ed7c7eae0a5d7b9ccf0e475 | 1,006 | cpp | C++ | project/OFEC_sc2/instance/algorithm/realworld/DVRP/LKH/RestoreTour.cpp | BaiChunhui-9803/bch_sc2_OFEC | d50211b27df5a51a953a2475b6c292d00cbfeff6 | [
"MIT"
] | null | null | null | project/OFEC_sc2/instance/algorithm/realworld/DVRP/LKH/RestoreTour.cpp | BaiChunhui-9803/bch_sc2_OFEC | d50211b27df5a51a953a2475b6c292d00cbfeff6 | [
"MIT"
] | null | null | null | project/OFEC_sc2/instance/algorithm/realworld/DVRP/LKH/RestoreTour.cpp | BaiChunhui-9803/bch_sc2_OFEC | d50211b27df5a51a953a2475b6c292d00cbfeff6 | [
"MIT"
] | null | null | null | #include "./INCLUDE/Segment.h"
#include "./INCLUDE/LKH.h"
/*
* The RestoreTour function is used to undo a series of moves. The function
* restores the tour from SwapStack, the stack of 2-opt moves. A bad sequence
* of moves is undone by unstacking the 2-opt moves and making the inverse
* 2-opt moves in this rev... | 31.4375 | 78 | 0.610338 | BaiChunhui-9803 |
c82ada9c718d4ba753f956c213ed671f356570de | 43,370 | cpp | C++ | drishti/clipobject.cpp | shouhengli/drishti | 46558d12adcc1d365b7e2125d28190e3be2181c3 | [
"MIT"
] | null | null | null | drishti/clipobject.cpp | shouhengli/drishti | 46558d12adcc1d365b7e2125d28190e3be2181c3 | [
"MIT"
] | null | null | null | drishti/clipobject.cpp | shouhengli/drishti | 46558d12adcc1d365b7e2125d28190e3be2181c3 | [
"MIT"
] | null | null | null | #include "global.h"
#include "staticfunctions.h"
#include "clipobject.h"
#include "volumeinformation.h"
#include "captiondialog.h"
#include "dcolordialog.h"
#include "propertyeditor.h"
#include "enums.h"
#include "matrix.h"
#include <QFileDialog>
//------------------------------------------------------------------
Cl... | 25.496767 | 82 | 0.607033 | shouhengli |
c82b7b12cbb69b99e703af602b997cddb160a6c9 | 2,641 | hpp | C++ | OREData/ored/marketdata/fxtriangulation.hpp | PiotrSiejda/Engine | 8360b5de32408f2a37da5ac3ca7b4e913bf67e9f | [
"BSD-3-Clause"
] | null | null | null | OREData/ored/marketdata/fxtriangulation.hpp | PiotrSiejda/Engine | 8360b5de32408f2a37da5ac3ca7b4e913bf67e9f | [
"BSD-3-Clause"
] | null | null | null | OREData/ored/marketdata/fxtriangulation.hpp | PiotrSiejda/Engine | 8360b5de32408f2a37da5ac3ca7b4e913bf67e9f | [
"BSD-3-Clause"
] | 1 | 2022-02-07T02:04:10.000Z | 2022-02-07T02:04:10.000Z | /*
Copyright (C) 2016 Quaternion Risk Management Ltd
All rights reserved.
This file is part of ORE, a free-software/open-source library
for transparent pricing and risk analysis - http://opensourcerisk.org
ORE is free software: you can redistribute it and/or modify it
under the terms of the Modified BSD License... | 36.178082 | 106 | 0.736842 | PiotrSiejda |
c82f177184b0c2f5911a6b8f2dcc9c0e98ae86a4 | 9,584 | cpp | C++ | Dependencies/crossguid/src/guid.cpp | solidajenjo/CyberPimpEngine | da4fc5d22bc7c52a45794ea73e2bac903d893178 | [
"MIT"
] | null | null | null | Dependencies/crossguid/src/guid.cpp | solidajenjo/CyberPimpEngine | da4fc5d22bc7c52a45794ea73e2bac903d893178 | [
"MIT"
] | null | null | null | Dependencies/crossguid/src/guid.cpp | solidajenjo/CyberPimpEngine | da4fc5d22bc7c52a45794ea73e2bac903d893178 | [
"MIT"
] | null | null | null | /*
The MIT License (MIT)
Copyright (c) 2014 Graeme Hill (http://graemehill.ca)
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,... | 23.262136 | 90 | 0.675814 | solidajenjo |
c833061537004d21b1d7abfe6ca66315b946f6ab | 2,733 | cc | C++ | src/sycl/plugin-Validation/CountValidator.cc | lauracappelli/pixeltrack-standalone | 1a8286f1712e8693796503328e300d52c0c73e61 | [
"Apache-2.0"
] | null | null | null | src/sycl/plugin-Validation/CountValidator.cc | lauracappelli/pixeltrack-standalone | 1a8286f1712e8693796503328e300d52c0c73e61 | [
"Apache-2.0"
] | null | null | null | src/sycl/plugin-Validation/CountValidator.cc | lauracappelli/pixeltrack-standalone | 1a8286f1712e8693796503328e300d52c0c73e61 | [
"Apache-2.0"
] | null | null | null | #include "SYCLCore/Product.h"
#include "SYCLCore/ScopedContext.h"
#include "SYCLDataFormats/SiPixelClustersCUDA.h"
#include "SYCLDataFormats/SiPixelDigisCUDA.h"
#include "DataFormats/DigiClusterCount.h"
#include "DataFormats/TrackCount.h"
#include "DataFormats/VertexCount.h"
#include "Framework/EventSetup.h"
#include "... | 31.413793 | 117 | 0.683132 | lauracappelli |
c8375a4d91e53b3a94a6cdbfe9ddf77653ba0c9f | 3,465 | cpp | C++ | src/import/MultiFormatReader.cpp | The-audafoss-crew/audafoss | e9ea301028272da918c2e94e3298fa5d4fec4c14 | [
"CC-BY-3.0"
] | 393 | 2021-07-04T20:27:15.000Z | 2021-09-21T10:44:47.000Z | src/import/MultiFormatReader.cpp | The-audafoss-crew/audafoss | e9ea301028272da918c2e94e3298fa5d4fec4c14 | [
"CC-BY-3.0"
] | 41 | 2021-07-05T17:31:57.000Z | 2021-09-14T03:51:01.000Z | src/import/MultiFormatReader.cpp | The-audafoss-crew/audafoss | e9ea301028272da918c2e94e3298fa5d4fec4c14 | [
"CC-BY-3.0"
] | 32 | 2021-07-05T12:34:57.000Z | 2021-08-15T21:18:54.000Z | /**********************************************************************
Audacium: A Digital Audio Editor
MultiFormatReader.cpp
Philipp Sibler
******************************************************************//**
\class MultiFormatReader
\brief MultiFormatReader reads raw audio files in different formats and... | 21.93038 | 87 | 0.559596 | The-audafoss-crew |
c8377e40ccb5033b12e7ad8b89fcc22ed83230dd | 1,049 | cpp | C++ | HDUOJ/6674/math.cpp | codgician/ACM | 391f3ce9b89b0a4bbbe3ff60eb2369fef57460d4 | [
"MIT"
] | 2 | 2018-02-14T01:59:31.000Z | 2018-03-28T03:30:45.000Z | HDUOJ/6674/math.cpp | codgician/ACM | 391f3ce9b89b0a4bbbe3ff60eb2369fef57460d4 | [
"MIT"
] | null | null | null | HDUOJ/6674/math.cpp | codgician/ACM | 391f3ce9b89b0a4bbbe3ff60eb2369fef57460d4 | [
"MIT"
] | 2 | 2017-12-30T02:46:35.000Z | 2018-03-28T03:30:49.000Z | #include <bits/stdc++.h>
using namespace std;
unordered_map<int, int> mp; vector<int> vec;
int bitSum(int num) {
int ret = 0;
while (num > 0) {
ret += num % 10;
num /= 10;
}
return ret;
}
void factorize(int num) {
for (int i = 1; i * i <= num; i++) {
if (nu... | 22.319149 | 48 | 0.419447 | codgician |
c838e79e53765085afe99d2cf7e6c8d52edf7237 | 7,502 | cpp | C++ | CubeEngine/EngineSrc/Scene/OctreeScene.cpp | tangziwen/Cube-Engine | c79b878dcc7e2e382f4463ca63519627d6220afd | [
"MIT"
] | 360 | 2015-01-26T08:15:01.000Z | 2021-07-11T16:30:58.000Z | CubeEngine/EngineSrc/Scene/OctreeScene.cpp | tangziwen/Cube-Engine | c79b878dcc7e2e382f4463ca63519627d6220afd | [
"MIT"
] | 6 | 2015-03-09T09:15:07.000Z | 2020-07-06T01:34:00.000Z | CubeEngine/EngineSrc/Scene/OctreeScene.cpp | tangziwen/CubeMiniGame | 90bffa66d4beba5fddc39fc642a8fb36703cf32d | [
"MIT"
] | 41 | 2015-03-10T03:17:46.000Z | 2021-07-13T06:26:26.000Z | #include "OctreeScene.h"
#include "../Interface/Drawable3D.h"
#include <algorithm>
#include "../base/Camera.h"
#include <cassert>
#include "3D/Primitive/CubePrimitive.h"
#include "Base/TAssert.h"
#define MAX_DEEP 5
namespace tzw {
static int g_nodeIndex = 0;
void OctreeNode::genId()
{
m_index = g_nodeIndex;
g_nodeInd... | 24.278317 | 177 | 0.599573 | tangziwen |
c83a2442a7f35ab3791b047d5d6b5f076a5fbfd3 | 2,309 | cpp | C++ | src/structure/map_generation/mapCell.cpp | Galfurian/RadMud | 1362cb0ee1b7a17386e57a98e29dd8baeea75af3 | [
"MIT"
] | 18 | 2016-05-26T18:11:31.000Z | 2022-02-10T20:00:52.000Z | src/structure/map_generation/mapCell.cpp | Galfurian/RadMud | 1362cb0ee1b7a17386e57a98e29dd8baeea75af3 | [
"MIT"
] | null | null | null | src/structure/map_generation/mapCell.cpp | Galfurian/RadMud | 1362cb0ee1b7a17386e57a98e29dd8baeea75af3 | [
"MIT"
] | 2 | 2016-06-30T15:20:01.000Z | 2020-08-27T18:28:33.000Z | /// @file mapCell.cpp
/// @author Enrico Fraccaroli
/// @date Jan 06 2017
/// @copyright
/// Copyright (c) 2017 Enrico Fraccaroli <enrico.fraccaroli@gmail.com>
/// Permission is hereby granted, free of charge, to any person obtaining a
/// copy of this software and associated documentation files (the "Software"),
/... | 30.381579 | 79 | 0.67735 | Galfurian |
c83ca41a3955a9ed16a737513eccec82f1802028 | 25,182 | cpp | C++ | libraries/blockchain/market_engine.cpp | dacsunlimited/dacplay | 91e354c951cf137617f2593c895e009866923bed | [
"Unlicense"
] | 20 | 2015-03-30T23:41:06.000Z | 2017-03-30T02:20:14.000Z | libraries/blockchain/market_engine.cpp | dacsunlimited/dacplay | 91e354c951cf137617f2593c895e009866923bed | [
"Unlicense"
] | 112 | 2015-01-01T13:45:59.000Z | 2015-08-05T09:16:10.000Z | libraries/blockchain/market_engine.cpp | dacsunlimited/dacplay | 91e354c951cf137617f2593c895e009866923bed | [
"Unlicense"
] | 5 | 2015-06-06T08:09:50.000Z | 2017-12-13T07:34:15.000Z | #include <bts/blockchain/exceptions.hpp>
#include <bts/blockchain/market_engine.hpp>
#include <fc/real128.hpp>
#include <algorithm>
namespace bts { namespace blockchain { namespace detail {
#define MARKET_ENGINE_PASS_PROCESS_MARGIN_CALLS 0
#define MARKET_ENGINE_PASS_PROCESS_EXPIRED_COVERS 1
#define MARKET_ENGINE_PA... | 42.75382 | 129 | 0.599396 | dacsunlimited |
c83cc9d2c7defdfc6ce9001efb4d6a872a8693f3 | 2,312 | cpp | C++ | lib/Runtime/Library/JavascriptSimdUint8x16.cpp | satheeshravi/ChakraCore | 3bf47ff12bf80ab06fb7ea6925ec7579985ac1f5 | [
"MIT"
] | 1 | 2021-11-07T18:56:21.000Z | 2021-11-07T18:56:21.000Z | lib/Runtime/Library/JavascriptSimdUint8x16.cpp | MaxMood96/ChakraCore | 9d9fea268ce1ae6c00873fd966a6a2be048f3455 | [
"MIT"
] | null | null | null | lib/Runtime/Library/JavascriptSimdUint8x16.cpp | MaxMood96/ChakraCore | 9d9fea268ce1ae6c00873fd966a6a2be048f3455 | [
"MIT"
] | 1 | 2021-09-04T23:26:57.000Z | 2021-09-04T23:26:57.000Z | //-------------------------------------------------------------------------------------------------------
// Copyright (C) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
//---------------------------------------------------------... | 39.862069 | 183 | 0.651817 | satheeshravi |
c83d4c60f8f57461b4773c8648aa5dfa7dbb9dcb | 103 | hpp | C++ | include/vpp/util/span.hpp | nyorain/vpp | ccffafa0b59baa633df779274d7743f169d61c06 | [
"BSL-1.0"
] | 308 | 2016-02-23T11:59:20.000Z | 2022-03-14T18:40:24.000Z | include/vpp/util/span.hpp | nyorain/vpp | ccffafa0b59baa633df779274d7743f169d61c06 | [
"BSL-1.0"
] | 11 | 2017-01-21T17:33:13.000Z | 2020-08-17T10:33:42.000Z | include/vpp/util/span.hpp | nyorain/vpp | ccffafa0b59baa633df779274d7743f169d61c06 | [
"BSL-1.0"
] | 11 | 2016-02-23T10:35:08.000Z | 2021-12-18T16:15:39.000Z | #pragma once
#include <vpp/fwd.hpp>
#include <vkpp/span.hpp>
namespace vpp {
// using nytl::Span;
}
| 11.444444 | 24 | 0.669903 | nyorain |
c83ddcd9a1023b540706630f941b58e1fae0e4a1 | 839 | hpp | C++ | ReactNativeFrontend/ios/Pods/boost/boost/metaparse/v1/cpp98/impl/sequence_impl.hpp | Harshitha91/Tmdb-react-native-node | e06e3f25a7ee6946ef07a1f524fdf62e48424293 | [
"Apache-2.0"
] | 12,278 | 2015-01-29T17:11:33.000Z | 2022-03-31T21:12:00.000Z | ReactNativeFrontend/ios/Pods/boost/boost/metaparse/v1/cpp98/impl/sequence_impl.hpp | Harshitha91/Tmdb-react-native-node | e06e3f25a7ee6946ef07a1f524fdf62e48424293 | [
"Apache-2.0"
] | 9,469 | 2015-01-30T05:33:07.000Z | 2022-03-31T16:17:21.000Z | ReactNativeFrontend/ios/Pods/boost/boost/metaparse/v1/cpp98/impl/sequence_impl.hpp | Harshitha91/Tmdb-react-native-node | e06e3f25a7ee6946ef07a1f524fdf62e48424293 | [
"Apache-2.0"
] | 892 | 2015-01-29T16:26:19.000Z | 2022-03-20T07:44:30.000Z | #ifndef BOOST_METAPARSE_V1_CPP98_IMPL_SEQUENCE_IMPL_HPP
#define BOOST_METAPARSE_V1_CPP98_IMPL_SEQUENCE_IMPL_HPP
// Copyright Abel Sinkovics (abel@sinkovics.hu) 2013.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/L... | 22.078947 | 61 | 0.646007 | Harshitha91 |
c8405e9329e11cd8f3c2af2e59d6c59b29fab7c3 | 5,779 | hpp | C++ | AqooleEngine/src/main/cpp/boost/boost/geometry/strategy/cartesian/side_robust.hpp | kodai731/Aqoole-Engine-Android-Vulkan-Rendering-Engine- | 72c8f34b6b6d507319069e681ff8c5008337b7c6 | [
"Apache-2.0",
"MIT"
] | null | null | null | AqooleEngine/src/main/cpp/boost/boost/geometry/strategy/cartesian/side_robust.hpp | kodai731/Aqoole-Engine-Android-Vulkan-Rendering-Engine- | 72c8f34b6b6d507319069e681ff8c5008337b7c6 | [
"Apache-2.0",
"MIT"
] | null | null | null | AqooleEngine/src/main/cpp/boost/boost/geometry/strategy/cartesian/side_robust.hpp | kodai731/Aqoole-Engine-Android-Vulkan-Rendering-Engine- | 72c8f34b6b6d507319069e681ff8c5008337b7c6 | [
"Apache-2.0",
"MIT"
] | null | null | null | // Boost.Geometry (aka GGL, Generic Geometry Library)
// Copyright (c) 2019 Tinko Bartels, Berlin, Germany.
// Contributed and/or modified by Tinko Bartels,
// as part of Google Summer of Code 2019 program.
// This file was modified by Oracle on 2021.
// Modifications copyright (c) 2021, Oracle and/or its affiliat... | 31.069892 | 613 | 0.64596 | kodai731 |
c840ed385ca7bb408ee42bb8d459aaff55f661cb | 8,531 | cpp | C++ | src/paraminspector.cpp | Sirithang/eitri | 8f72061c52e0b2b95ed9ff0695c3c3b718200769 | [
"MIT"
] | 4 | 2015-06-10T04:05:19.000Z | 2018-01-13T14:10:55.000Z | src/paraminspector.cpp | Sirithang/eitri | 8f72061c52e0b2b95ed9ff0695c3c3b718200769 | [
"MIT"
] | null | null | null | src/paraminspector.cpp | Sirithang/eitri | 8f72061c52e0b2b95ed9ff0695c3c3b718200769 | [
"MIT"
] | 1 | 2019-03-11T19:22:13.000Z | 2019-03-11T19:22:13.000Z | #include "paraminspector.h"
#include "graphcanvas.h"
#include "eitri.h"
#include <QSpinBox>
#include <QDoubleSpinBox>
#include <QHBoxLayout>
#include <QLabel>
#include <QVBoxLayout>
#include <QPushButton>
#include <QColorDialog>
#include <QFrame>
#include <QLineEdit>
//---helper func
void setButtonToColor(QPushButt... | 27.519355 | 140 | 0.527957 | Sirithang |
c842092c7791498068c09bca3c014f49a0e1077f | 10,459 | cpp | C++ | src/ini_parser.cpp | Erwan28250/ini_parser | f9534e931a28daa52729e0049db3d2dfdc4af880 | [
"MIT"
] | null | null | null | src/ini_parser.cpp | Erwan28250/ini_parser | f9534e931a28daa52729e0049db3d2dfdc4af880 | [
"MIT"
] | null | null | null | src/ini_parser.cpp | Erwan28250/ini_parser | f9534e931a28daa52729e0049db3d2dfdc4af880 | [
"MIT"
] | null | null | null | /*
MIT License
Copyright (c) 2022 Erwan Saclier de la Bâtie
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, copy, modify, merg... | 25.263285 | 119 | 0.592982 | Erwan28250 |
c8437bca6d8e7f4911beb853c9b98623a266cf36 | 1,723 | cpp | C++ | lib/soc/m4/stm32l4/peripherals/WWDG.cpp | msemegen/CML | f37e20f0add711c743b69607d39aa5ab0680cf7e | [
"MIT"
] | 23 | 2020-07-16T21:52:38.000Z | 2022-03-13T18:24:16.000Z | lib/soc/m4/stm32l4/peripherals/WWDG.cpp | msemegen/CML | f37e20f0add711c743b69607d39aa5ab0680cf7e | [
"MIT"
] | 16 | 2019-12-28T01:14:44.000Z | 2021-04-15T14:40:07.000Z | lib/soc/m4/stm32l4/peripherals/WWDG.cpp | msemegen/CML | f37e20f0add711c743b69607d39aa5ab0680cf7e | [
"MIT"
] | 5 | 2020-07-17T17:48:50.000Z | 2022-03-25T16:06:52.000Z | /*
* Name: WWDG.cpp
*
* Copyright (c) Mateusz Semegen and contributors. All rights reserved.
* Licensed under the MIT license. See LICENSE file in the project root for details.
*/
#ifdef STM32L4
// this
#include <soc/m4/stm32l4/peripherals/WWDG.hpp>
// cml
#include <cml/bit_flag.hpp>
#include <cml/debug/a... | 18.329787 | 103 | 0.703424 | msemegen |
c844860023ddf357b9293691cb2b0b5963be1658 | 5,985 | cpp | C++ | src/plugProjectOgawaU/ogSceneSMenuItem.cpp | projectPiki/pikmin2 | a431d992acde856d092889a515ecca0e07a3ea7c | [
"Unlicense"
] | 33 | 2021-12-08T11:10:59.000Z | 2022-03-26T19:59:37.000Z | src/plugProjectOgawaU/ogSceneSMenuItem.cpp | projectPiki/pikmin2 | a431d992acde856d092889a515ecca0e07a3ea7c | [
"Unlicense"
] | 6 | 2021-12-22T17:54:31.000Z | 2022-01-07T21:43:18.000Z | src/plugProjectOgawaU/ogSceneSMenuItem.cpp | projectPiki/pikmin2 | a431d992acde856d092889a515ecca0e07a3ea7c | [
"Unlicense"
] | 2 | 2022-01-04T06:00:49.000Z | 2022-01-26T07:27:28.000Z | #include "types.h"
/*
Generated from dpostproc
.section .rodata # 0x804732E0 - 0x8049E220
.global lbl_8048E550
lbl_8048E550:
.4byte 0x534D656E
.4byte 0x75497465
.4byte 0x6D207363
.4byte 0x7265656E
.4byte 0x00000000
.global lbl_8048E564
lbl_8048E564:
... | 20.637931 | 80 | 0.647619 | projectPiki |
c84808cfac1f4ecd63b78488b5f8f8efe62b79a7 | 1,360 | cpp | C++ | openicc/oyjl/oyjl-args-qml/src/utils.cpp | oyranos-cms/oyranos | 43d16a5a457bc3b8b66feabfe992f2a665723faa | [
"BSD-3-Clause"
] | 15 | 2015-03-06T07:21:55.000Z | 2021-12-31T02:07:10.000Z | openicc/oyjl/oyjl-args-qml/src/utils.cpp | oyranos-cms/oyranos | 43d16a5a457bc3b8b66feabfe992f2a665723faa | [
"BSD-3-Clause"
] | 64 | 2015-02-09T11:07:32.000Z | 2022-03-26T13:03:05.000Z | openicc/oyjl/oyjl-args-qml/src/utils.cpp | oyranos-cms/oyranos | 43d16a5a457bc3b8b66feabfe992f2a665723faa | [
"BSD-3-Clause"
] | 7 | 2015-05-23T23:17:04.000Z | 2021-06-24T13:27:30.000Z | /** @file utils.cpp
*
* Oyjl JSON QML is a graphical renderer of UI files.
*
* @par Copyright:
* 2018 (C) Kai-Uwe Behrmann
* All Rights reserved.
*
* @par License:
* MIT <http://www.opensource.org/licenses/mit-license.php>
* @since 2018/02/26
*
* logging and helpers
... | 25.185185 | 104 | 0.622059 | oyranos-cms |
c84a127c1f0dc3d83ea406232d4c3d9d58291fcd | 16,922 | cpp | C++ | src/cloud_scene.cpp | JakubLukas/LumixCloudSystem | 42a8cbffb54c12fec8e5bd130fcbf83b133bccb0 | [
"MIT"
] | 4 | 2017-02-21T05:00:43.000Z | 2020-10-26T20:01:08.000Z | src/cloud_scene.cpp | JakubLukas/LumixCloudSystem | 42a8cbffb54c12fec8e5bd130fcbf83b133bccb0 | [
"MIT"
] | 1 | 2020-10-13T00:50:39.000Z | 2020-10-13T00:50:39.000Z | src/cloud_scene.cpp | JakubLukas/LumixCloudSystem | 42a8cbffb54c12fec8e5bd130fcbf83b133bccb0 | [
"MIT"
] | null | null | null | #include "cloud_scene.h"
#include "engine/universe/universe.h"
#include "engine/iallocator.h"
#include "engine/associative_array.h"
#include "engine/property_register.h"
#include "engine/serializer.h"
#include "engine/blob.h"
#include "engine/engine.h"
#include "engine/resource.h"
#include "engine/resource_manager_bas... | 27.0752 | 144 | 0.698322 | JakubLukas |
c84c3ed67f1c9b0a60038280b30f437d53cd1850 | 2,370 | cpp | C++ | SherbertEngine Project/SherbertEngine/Pass.cpp | JDSherbert/Sherbert-Engine | e7a22035b077c78fc324b3ae3cb33a4fe1a5487d | [
"MIT"
] | 1 | 2022-02-22T18:27:00.000Z | 2022-02-22T18:27:00.000Z | SherbertEngine Project/SherbertEngine/Pass.cpp | JDSherbert/Sherbert-Engine | e7a22035b077c78fc324b3ae3cb33a4fe1a5487d | [
"MIT"
] | null | null | null | SherbertEngine Project/SherbertEngine/Pass.cpp | JDSherbert/Sherbert-Engine | e7a22035b077c78fc324b3ae3cb33a4fe1a5487d | [
"MIT"
] | null | null | null | #include "Pass.h"
#include "RenderGraphCompileException.h"
#include "RenderTarget.h"
#include "DepthStencil.h"
#include <sstream>
#include "SherbertENgine_Utilities.h"
#include "Sink.h"
#include "Source.h"
namespace n_SherbRendergraphpass
{
Pass::Pass( std::string name ) noexcept
:
name( std::move( name ) )
{}
... | 20.789474 | 99 | 0.631646 | JDSherbert |
c84f7c4de90997f8e7a9ce448769a26f0cf21116 | 3,089 | hpp | C++ | tracy/common/TracySocket.hpp | MacdaraTwomey/KeepTime | eacfecbaf9a401a87c5c8df09a6d2a2c4d24c3d5 | [
"MIT"
] | 19 | 2020-02-11T19:57:41.000Z | 2022-02-20T14:11:33.000Z | tracy/common/TracySocket.hpp | MacdaraTwomey/KeepTime | eacfecbaf9a401a87c5c8df09a6d2a2c4d24c3d5 | [
"MIT"
] | null | null | null | tracy/common/TracySocket.hpp | MacdaraTwomey/KeepTime | eacfecbaf9a401a87c5c8df09a6d2a2c4d24c3d5 | [
"MIT"
] | 5 | 2019-11-05T17:38:33.000Z | 2022-03-04T12:49:58.000Z | #ifndef __TRACYSOCKET_HPP__
#define __TRACYSOCKET_HPP__
#include <atomic>
#include <stdint.h>
#include "TracyForceInline.hpp"
struct addrinfo;
struct sockaddr;
namespace tracy
{
#ifdef _WIN32
void InitWinSock();
#endif
class Socket
{
public:
Socket();
Socket( int sock );
~Socket();
bool Connect( ... | 20.058442 | 67 | 0.626416 | MacdaraTwomey |
c8518e8b006549f430517d66945e12d3e771e7fe | 1,609 | cpp | C++ | src/Screens/ShowOrientationScreen.cpp | underscoredotspace/watchy-revolution | 9403314a47e53565e36172c37a75d9622657c51f | [
"MIT"
] | null | null | null | src/Screens/ShowOrientationScreen.cpp | underscoredotspace/watchy-revolution | 9403314a47e53565e36172c37a75d9622657c51f | [
"MIT"
] | null | null | null | src/Screens/ShowOrientationScreen.cpp | underscoredotspace/watchy-revolution | 9403314a47e53565e36172c37a75d9622657c51f | [
"MIT"
] | null | null | null | #include "ShowOrientationScreen.h"
#include "OptimaLTStd12pt7b.h"
#include "Watchy.h"
void ShowOrientationScreen::showMe() {
Watchy::display.fillScreen(bgColor);
Watchy::display.setCursor(0,0);
Accel acc;
if (Watchy::sensor.getAccel(acc)) {
Watchy::display.printf("\n X: %d", acc.x);
Watchy::display.p... | 25.539683 | 52 | 0.640771 | underscoredotspace |
c85315372dc02dd2d409a8e214ea587101241a43 | 224 | hpp | C++ | RuneFramework/vendor/glm/glm/mat3x2.hpp | IvanNSBS/Rune-Engine | b0e42b143f85da44381a498a9935355083429be4 | [
"MIT"
] | 6,097 | 2015-01-03T02:11:03.000Z | 2022-03-31T03:29:58.000Z | RuneFramework/vendor/glm/glm/mat3x2.hpp | IvanNSBS/Rune-Engine | b0e42b143f85da44381a498a9935355083429be4 | [
"MIT"
] | 1,340 | 2017-08-29T15:28:41.000Z | 2022-03-31T23:45:51.000Z | RuneFramework/vendor/glm/glm/mat3x2.hpp | IvanNSBS/Rune-Engine | b0e42b143f85da44381a498a9935355083429be4 | [
"MIT"
] | 2,057 | 2015-01-03T00:07:34.000Z | 2022-03-31T22:49:17.000Z | /// @ref core
/// @file glm/mat3x2.hpp
#pragma once
#include "./ext/matrix_double3x2.hpp"
#include "./ext/matrix_double3x2_precision.hpp"
#include "./ext/matrix_float3x2.hpp"
#include "./ext/matrix_float3x2_precision.hpp"
| 22.4 | 47 | 0.745536 | IvanNSBS |
c8545b568dfb334eead1802acd50651402b756df | 53,946 | cpp | C++ | test/examples/code/3rdparty/assimp/detail/LWOLoader.cpp | maikebing/vpp | efa6c32f898e103d749764ce3a0b7dc29d6e9a51 | [
"BSD-2-Clause"
] | null | null | null | test/examples/code/3rdparty/assimp/detail/LWOLoader.cpp | maikebing/vpp | efa6c32f898e103d749764ce3a0b7dc29d6e9a51 | [
"BSD-2-Clause"
] | null | null | null | test/examples/code/3rdparty/assimp/detail/LWOLoader.cpp | maikebing/vpp | efa6c32f898e103d749764ce3a0b7dc29d6e9a51 | [
"BSD-2-Clause"
] | null | null | null | /*
---------------------------------------------------------------------------
Open Asset Import Library (assimp)
---------------------------------------------------------------------------
Copyright (c) 2006-2016, assimp team
All rights reserved.
Redistribution and use of this software in source and binary forms,
w... | 36.54878 | 146 | 0.528306 | maikebing |
c856fe947589d7709e9114760b5dee39312e1abf | 942 | cpp | C++ | Challenge-2021-08/03_subsets_II.cpp | qiufengyu/LetsCode | 196fae0bf5c78ee20d05798a9439596e702fdb24 | [
"MIT"
] | null | null | null | Challenge-2021-08/03_subsets_II.cpp | qiufengyu/LetsCode | 196fae0bf5c78ee20d05798a9439596e702fdb24 | [
"MIT"
] | null | null | null | Challenge-2021-08/03_subsets_II.cpp | qiufengyu/LetsCode | 196fae0bf5c78ee20d05798a9439596e702fdb24 | [
"MIT"
] | null | null | null | #include "../header.h"
class Solution {
vector<int> temp;
vector<vector<int>> res;
public:
vector<vector<int>> subsetsWithDup(vector<int>& nums) {
int n = nums.size();
sort(nums.begin(), nums.end());
int total = 1 << n; // n <= 10
for (int mask = 0; mask < total; ++mask) {
... | 30.387097 | 86 | 0.381104 | qiufengyu |
c8578edc0e09188fb1cc224df4794f9b3731131b | 5,386 | cpp | C++ | src/io/frontend_io/unvmf_io_handler.cpp | hsungyang/poseidonos | 0f523b36ccf0d70726364395ea96ac6ae3b845c3 | [
"BSD-3-Clause"
] | 38 | 2021-04-06T03:20:55.000Z | 2022-03-02T09:33:28.000Z | src/io/frontend_io/unvmf_io_handler.cpp | gye-ul/poseidonos | bce8fe2cd1f36ede8647446ecc4cf8a9749e6918 | [
"BSD-3-Clause"
] | 19 | 2021-04-08T02:27:44.000Z | 2022-03-23T00:59:04.000Z | src/io/frontend_io/unvmf_io_handler.cpp | gye-ul/poseidonos | bce8fe2cd1f36ede8647446ecc4cf8a9749e6918 | [
"BSD-3-Clause"
] | 28 | 2021-04-08T04:39:18.000Z | 2022-03-24T05:56:00.000Z | /*
* BSD LICENSE
* Copyright (c) 2021 Samsung Electronics 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 th... | 34.305732 | 127 | 0.630524 | hsungyang |
c8586c1a94963d672798450f73fa3184979e0da4 | 1,424 | hpp | C++ | src/CardCanvas/AlarmPanelCardCanvas.hpp | RobinSinghNanda/Home-assistant-display | 6f59104012c0956b54d4b55e190aa89941c2c1af | [
"MIT"
] | 2 | 2020-10-23T19:53:56.000Z | 2020-11-06T08:59:48.000Z | src/CardCanvas/AlarmPanelCardCanvas.hpp | RobinSinghNanda/Home-assistant-display | 6f59104012c0956b54d4b55e190aa89941c2c1af | [
"MIT"
] | null | null | null | src/CardCanvas/AlarmPanelCardCanvas.hpp | RobinSinghNanda/Home-assistant-display | 6f59104012c0956b54d4b55e190aa89941c2c1af | [
"MIT"
] | null | null | null | #ifndef __ALARMPANELCARDCANVAS_H__
#define __ALARMPANELCARDCANVAS_H__
#include "CardCanvas.hpp"
#include <Canvas/ImageCanvas.hpp>
#include <Canvas/TextCanvas.hpp>
#include <Canvas/NumberPadCanvas.hpp>
#include "LovelaceConfig/AlarmPanelCardConfig.hpp"
#include "HomeAssistant/Components/AlarmControlPanel.hpp"
#include ... | 35.6 | 141 | 0.707865 | RobinSinghNanda |
c859a157c7f49e0b6967e486a0e93c0fcd4b708b | 1,369 | cpp | C++ | src/layers/reductions/layer_reduction.cpp | ilveroluca/eddl | 02e37c0dfb674468495f4d0ae3c159de3b2d3cc0 | [
"MIT"
] | null | null | null | src/layers/reductions/layer_reduction.cpp | ilveroluca/eddl | 02e37c0dfb674468495f4d0ae3c159de3b2d3cc0 | [
"MIT"
] | null | null | null | src/layers/reductions/layer_reduction.cpp | ilveroluca/eddl | 02e37c0dfb674468495f4d0ae3c159de3b2d3cc0 | [
"MIT"
] | null | null | null | /*
* EDDL Library - European Distributed Deep Learning Library.
* Version: 0.6
* copyright (c) 2020, Universidad Politécnica de Valencia (UPV), PRHLT Research Centre
* Date: April 2020
* Author: PRHLT Research Centre, UPV, (rparedes@prhlt.upv.es), (jon@prhlt.upv.es)
* All rights reserved
*/
#include <cstdio>
#include... | 22.816667 | 108 | 0.623083 | ilveroluca |
c85d86987fb543faa3254b804a2e7fd72d09acd4 | 1,927 | cpp | C++ | src/lsm6_imu.cpp | agv-polsl/minimu | 2ec1abeb5fad2f0ba20e435879576bb7d71267af | [
"MIT"
] | null | null | null | src/lsm6_imu.cpp | agv-polsl/minimu | 2ec1abeb5fad2f0ba20e435879576bb7d71267af | [
"MIT"
] | 15 | 2020-04-19T12:46:38.000Z | 2020-09-08T12:00:06.000Z | src/lsm6_imu.cpp | agv-polsl/minimu | 2ec1abeb5fad2f0ba20e435879576bb7d71267af | [
"MIT"
] | 1 | 2020-09-08T14:20:35.000Z | 2020-09-08T14:20:35.000Z | #include "minimu/lsm6_imu.h"
namespace minimu {
Lsm6_imu::Lsm6_imu(const uint8_t adapter_nr, const sa0_state device_mode)
: Minimu_i2c_device<lsm6_regs_addr, lsm6_id>{adapter_nr, device_mode} {
default_setup();
}
point3d Lsm6_imu::read_3d_burst(lsm6_regs_addr start_addr, double scale) {
constexpr size_t ... | 30.109375 | 80 | 0.736378 | agv-polsl |
c85e5173312b5f3477fd296fdc15bd5e90fa9f88 | 3,109 | cpp | C++ | core/src/bind/hotkey/clipboard.cpp | pit-ray/win-vind | 7386f6f7528d015ce7f1a5ae230d6e63f9492df9 | [
"MIT"
] | 731 | 2020-05-07T06:22:59.000Z | 2022-03-31T16:36:03.000Z | core/src/bind/hotkey/clipboard.cpp | pit-ray/win-vind | 7386f6f7528d015ce7f1a5ae230d6e63f9492df9 | [
"MIT"
] | 67 | 2020-07-20T19:46:42.000Z | 2022-03-31T15:34:47.000Z | core/src/bind/hotkey/clipboard.cpp | pit-ray/win-vind | 7386f6f7528d015ce7f1a5ae230d6e63f9492df9 | [
"MIT"
] | 15 | 2021-01-29T04:49:11.000Z | 2022-03-04T22:16:31.000Z | #include "bind/hotkey/clipboard.hpp"
#include <windows.h>
#include "key/char_logger.hpp"
#include "mode.hpp"
#include "key/ntype_logger.hpp"
#include "util/def.hpp"
#include "bind/emu/edi_change_mode.hpp"
#include "bind/mode/change_mode.hpp"
#include "io/keybrd.hpp"
#include "io/mouse.hpp"
#include "key/key_absorbe... | 24.674603 | 74 | 0.62496 | pit-ray |
c8603f1d5f07e9c96c16fe832d53d2c466648886 | 8,257 | cpp | C++ | src/FullSystem/Residuals.cpp | danielecolautti/DSO-Server | 34968398f9834c9177ca373d9a3b3d2e13c2ee86 | [
"Apache-2.0"
] | null | null | null | src/FullSystem/Residuals.cpp | danielecolautti/DSO-Server | 34968398f9834c9177ca373d9a3b3d2e13c2ee86 | [
"Apache-2.0"
] | null | null | null | src/FullSystem/Residuals.cpp | danielecolautti/DSO-Server | 34968398f9834c9177ca373d9a3b3d2e13c2ee86 | [
"Apache-2.0"
] | null | null | null | /**
* This file is part of DSO.
*
* Copyright 2016 Technical University of Munich and Intel.
* Developed by Jakob Engel <engelj at in dot tum dot de>,
* for more information see <http://vision.in.tum.de/dso>.
* If you use this code, please cite the respective publications as
* listed on the above website.
*
* DSO is f... | 25.021212 | 127 | 0.672884 | danielecolautti |
c86579f5f0c690af1eb201a088dea19a608e2f03 | 13,511 | cpp | C++ | openEAR-0.1.0/src/semaineEmmaSender.cpp | trimlab/Voice-Emotion-Detection | c7272dd2f70e2d4b8eee304e68578494d7ef624c | [
"MIT"
] | null | null | null | openEAR-0.1.0/src/semaineEmmaSender.cpp | trimlab/Voice-Emotion-Detection | c7272dd2f70e2d4b8eee304e68578494d7ef624c | [
"MIT"
] | null | null | null | openEAR-0.1.0/src/semaineEmmaSender.cpp | trimlab/Voice-Emotion-Detection | c7272dd2f70e2d4b8eee304e68578494d7ef624c | [
"MIT"
] | null | null | null | /*F******************************************************************************
*
* openSMILE - open Speech and Music Interpretation by Large-space Extraction
* the open-source Munich Audio Feature Extraction Toolkit
* Copyright (C) 2008-2009 Florian Eyben, Martin Woellmer, Bjoern Schuller
*
*
* Institu... | 36.814714 | 153 | 0.735253 | trimlab |
c8695aa9b61aed42bfba5bfff680886bd68e6231 | 2,411 | cpp | C++ | Abacus.cpp | south37/topcoder | 9edee3f723189ccdbecb1cbc5c186a99f392e6dd | [
"MIT"
] | null | null | null | Abacus.cpp | south37/topcoder | 9edee3f723189ccdbecb1cbc5c186a99f392e6dd | [
"MIT"
] | null | null | null | Abacus.cpp | south37/topcoder | 9edee3f723189ccdbecb1cbc5c186a99f392e6dd | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
#define N 6
#define M 12
class Abacus {
public:
std::vector <std::string> add(std::vector <std::string> original, int val) {
int c = changeToLong(original) + val;
std::vector <std::string> result(6, "oooooooooooo");
changeToVector(result, c);
r... | 30.518987 | 135 | 0.491083 | south37 |
c86aa93d2153b2b8dccc9022319c3a2dc8900ade | 962 | cpp | C++ | src/vcpkg/buildenvironment.cpp | autoantwort/vcpkg-tool | fb3475040d256bc0d744fa72a20b0a9d103d48b3 | [
"MIT"
] | null | null | null | src/vcpkg/buildenvironment.cpp | autoantwort/vcpkg-tool | fb3475040d256bc0d744fa72a20b0a9d103d48b3 | [
"MIT"
] | null | null | null | src/vcpkg/buildenvironment.cpp | autoantwort/vcpkg-tool | fb3475040d256bc0d744fa72a20b0a9d103d48b3 | [
"MIT"
] | null | null | null | #include <vcpkg/buildenvironment.h>
#include <vcpkg/tools.h>
#include <vcpkg/triplet.h>
#include <vcpkg/vcpkgpaths.h>
namespace vcpkg
{
System::Command make_cmake_cmd(const VcpkgPaths& paths,
const fs::path& cmake_script,
std::vector<System::CMa... | 43.727273 | 109 | 0.689189 | autoantwort |
c86d975e9b89e79c786522a62419a71c386e11a4 | 3,106 | cpp | C++ | test/focus-cycle.cpp | 8l/swm | dfa4ba130ff39aa0bf96b991bca34fba086b333b | [
"BSD-2-Clause"
] | null | null | null | test/focus-cycle.cpp | 8l/swm | dfa4ba130ff39aa0bf96b991bca34fba086b333b | [
"BSD-2-Clause"
] | null | null | null | test/focus-cycle.cpp | 8l/swm | dfa4ba130ff39aa0bf96b991bca34fba086b333b | [
"BSD-2-Clause"
] | null | null | null | #include <iostream>
#include <vector>
#include <UnitTest++.h>
#include "model/focus-cycle.h"
#include "logging/logging.h"
#include "logging/stream.h"
const int last_window = 9;
StreamLog log(std::cerr);
struct FocusCycleFixture
{
FocusCycle cycle;
std::vector<Window> windows;
FocusCycleFixture() :
... | 25.669421 | 81 | 0.594656 | 8l |
c86de741c299f5cfe6e3f3665c39031dce01f69e | 37,829 | hpp | C++ | src/ocl/jit_gen9_common_conv_kernel.hpp | uyongw/mkl-dnn | 5588edb4f12b7ddd4b25ca857acde64066fbd699 | [
"Apache-2.0"
] | 1 | 2018-04-13T01:38:53.000Z | 2018-04-13T01:38:53.000Z | src/ocl/jit_gen9_common_conv_kernel.hpp | uyongw/mkl-dnn | 5588edb4f12b7ddd4b25ca857acde64066fbd699 | [
"Apache-2.0"
] | null | null | null | src/ocl/jit_gen9_common_conv_kernel.hpp | uyongw/mkl-dnn | 5588edb4f12b7ddd4b25ca857acde64066fbd699 | [
"Apache-2.0"
] | 2 | 2021-06-29T13:24:31.000Z | 2021-06-30T12:07:02.000Z | /*******************************************************************************
* Copyright 2019 Intel Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.o... | 39.736345 | 80 | 0.486214 | uyongw |
c86fa9294611c85f7f6f0cc2435d0f86cbcd02ff | 1,075 | hpp | C++ | src/GameState/PhysicalObject/Player.hpp | Heaven31415/SpaceShooter | 385e43aa2deb8720c1b0a23834ad31de97fd25eb | [
"Zlib"
] | null | null | null | src/GameState/PhysicalObject/Player.hpp | Heaven31415/SpaceShooter | 385e43aa2deb8720c1b0a23834ad31de97fd25eb | [
"Zlib"
] | null | null | null | src/GameState/PhysicalObject/Player.hpp | Heaven31415/SpaceShooter | 385e43aa2deb8720c1b0a23834ad31de97fd25eb | [
"Zlib"
] | null | null | null | #pragma once
#include "Weapons\LaserFactory.hpp"
#include "../PhysicalObject.hpp"
#include "../../Common/Context.hpp"
#include "../../Common/Observer.hpp"
class World;
class Player : public PhysicalObject
{
public:
enum class Frame
{
Straight,
Left,
Right
};
enum class Weapon... | 29.861111 | 107 | 0.512558 | Heaven31415 |
c87016a61baadf2a9cb74fbd2a002c384803322d | 809 | hpp | C++ | include/lug/Graphics/Builder/Scene.hpp | Lugdunum3D/Lugdunum3D | b6d6907d034fdba1ffc278b96598eba1d860f0d4 | [
"MIT"
] | 275 | 2016-10-08T15:33:17.000Z | 2022-03-30T06:11:56.000Z | include/lug/Graphics/Builder/Scene.hpp | Lugdunum3D/Lugdunum3D | b6d6907d034fdba1ffc278b96598eba1d860f0d4 | [
"MIT"
] | 24 | 2016-09-29T20:51:20.000Z | 2018-05-09T21:41:36.000Z | include/lug/Graphics/Builder/Scene.hpp | Lugdunum3D/Lugdunum3D | b6d6907d034fdba1ffc278b96598eba1d860f0d4 | [
"MIT"
] | 37 | 2017-02-25T05:03:48.000Z | 2021-05-10T19:06:29.000Z | #pragma once
#include <vector>
#include <string>
#include <lug/Graphics/Resource.hpp>
#include <lug/Graphics/Scene/Scene.hpp>
namespace lug {
namespace Graphics {
class Renderer;
namespace Builder {
class LUG_GRAPHICS_API Scene {
public:
explicit Scene(Renderer& renderer);
Scene(const Scene&) = delete;
... | 16.854167 | 61 | 0.647713 | Lugdunum3D |
c87418f9015157295076a8c57c6a644028956a46 | 17,341 | cpp | C++ | src/pgen/mignone_advection.cpp | kahoooo/athena-public | 583aee106677cba7fa5ea4e3689e2cfb81796e25 | [
"BSD-3-Clause"
] | 174 | 2016-11-30T01:20:14.000Z | 2022-02-22T16:23:55.000Z | src/pgen/mignone_advection.cpp | kahoooo/athena-public | 583aee106677cba7fa5ea4e3689e2cfb81796e25 | [
"BSD-3-Clause"
] | 74 | 2017-01-30T22:37:33.000Z | 2021-05-10T17:20:33.000Z | src/pgen/mignone_advection.cpp | kahoooo/athena-public | 583aee106677cba7fa5ea4e3689e2cfb81796e25 | [
"BSD-3-Clause"
] | 126 | 2016-12-08T14:03:22.000Z | 2022-03-31T06:01:59.000Z | //========================================================================================
// Athena++ astrophysical MHD code
// Copyright(C) 2014 James M. Stone <jmstone@princeton.edu> and other code contributors
// Licensed under the 3-clause BSD License, see LICENSE file for details
//===============================... | 40.995272 | 90 | 0.56427 | kahoooo |
c877fa444a3a164676cc295c9b060dd8da7b2770 | 6,040 | cpp | C++ | C45/contin.cpp | everyday-solution/ESolutions.C45 | 3285440e0b5812820c85f318c5d50585a7cee288 | [
"MIT"
] | null | null | null | C45/contin.cpp | everyday-solution/ESolutions.C45 | 3285440e0b5812820c85f318c5d50585a7cee288 | [
"MIT"
] | null | null | null | C45/contin.cpp | everyday-solution/ESolutions.C45 | 3285440e0b5812820c85f318c5d50585a7cee288 | [
"MIT"
] | null | null | null | /*************************************************************************/
/* */
/* Evaluation of a test on a continuous valued attribute */
/* ----------------------------------------------------- */
/* */
/***************************... | 25.166667 | 85 | 0.480629 | everyday-solution |
c87ab1bf12e789acfe15bfc687f2743a06515c8e | 12,253 | cpp | C++ | dpnp/backend/kernels/dpnp_krnl_manipulation.cpp | antonwolfy/dpnp | 7595c82a41bf5ab34cdefb3b5a9631f2365ac69a | [
"BSD-2-Clause"
] | null | null | null | dpnp/backend/kernels/dpnp_krnl_manipulation.cpp | antonwolfy/dpnp | 7595c82a41bf5ab34cdefb3b5a9631f2365ac69a | [
"BSD-2-Clause"
] | null | null | null | dpnp/backend/kernels/dpnp_krnl_manipulation.cpp | antonwolfy/dpnp | 7595c82a41bf5ab34cdefb3b5a9631f2365ac69a | [
"BSD-2-Clause"
] | null | null | null | //*****************************************************************************
// Copyright (c) 2016-2020, 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:
// - Redistributio... | 45.720149 | 117 | 0.558149 | antonwolfy |
c87b9e09c7f32121e12d52365d377923ae6efe53 | 5,238 | cpp | C++ | tests/Unit/Time/StepChoosers/Test_PreventRapidIncrease.cpp | Ambrou/spectre | a819ebbcca607d8af9683db3683bea14bf4ac23c | [
"MIT"
] | null | null | null | tests/Unit/Time/StepChoosers/Test_PreventRapidIncrease.cpp | Ambrou/spectre | a819ebbcca607d8af9683db3683bea14bf4ac23c | [
"MIT"
] | null | null | null | tests/Unit/Time/StepChoosers/Test_PreventRapidIncrease.cpp | Ambrou/spectre | a819ebbcca607d8af9683db3683bea14bf4ac23c | [
"MIT"
] | 1 | 2019-01-03T21:47:04.000Z | 2019-01-03T21:47:04.000Z | // Distributed under the MIT License.
// See LICENSE.txt for details.
#include "Framework/TestingFramework.hpp"
#include <algorithm>
#include <cstddef>
#include <cstdint>
#include <initializer_list>
#include <limits>
#include <memory>
#include <utility>
#include <vector>
#include "DataStructures/DataBox/DataBox.hpp"... | 33.793548 | 80 | 0.641084 | Ambrou |
c8810fb05be038ac190400a166720131d636b6f9 | 4,560 | cpp | C++ | src/NovelRT.Interop/DotNet/NrtRuntimeService.cpp | chococookies131/NovelRT | 1e9b72abf53391a9d86f7fd3e171599e820de2a2 | [
"MIT"
] | null | null | null | src/NovelRT.Interop/DotNet/NrtRuntimeService.cpp | chococookies131/NovelRT | 1e9b72abf53391a9d86f7fd3e171599e820de2a2 | [
"MIT"
] | null | null | null | src/NovelRT.Interop/DotNet/NrtRuntimeService.cpp | chococookies131/NovelRT | 1e9b72abf53391a9d86f7fd3e171599e820de2a2 | [
"MIT"
] | null | null | null | // Copyright © Matt Jones and Contributors. Licensed under the MIT Licence (MIT). See LICENCE.md in the repository root for more information.
#include <NovelRT.Interop/NrtInteropErrorHandlingInternal.h>
#include <NovelRT.Interop/NrtInteropUtils.h>
#include <NovelRT.Interop/DotNet/NrtRuntimeService.h>
#include <NovelRT... | 31.888112 | 141 | 0.745175 | chococookies131 |
c8815f45a9da1dc0e19958879c39e4ad05810e1c | 56,801 | cpp | C++ | Source/VoxelGraphEditor/Private/VoxelGraphEditorToolkit.cpp | SolarStormInteractive/VoxelPlugin | b0b8a1838262227fa586fbcb1b46a6184cdf1e8c | [
"MIT"
] | null | null | null | Source/VoxelGraphEditor/Private/VoxelGraphEditorToolkit.cpp | SolarStormInteractive/VoxelPlugin | b0b8a1838262227fa586fbcb1b46a6184cdf1e8c | [
"MIT"
] | null | null | null | Source/VoxelGraphEditor/Private/VoxelGraphEditorToolkit.cpp | SolarStormInteractive/VoxelPlugin | b0b8a1838262227fa586fbcb1b46a6184cdf1e8c | [
"MIT"
] | null | null | null | // Copyright 2020 Phyronnaz
#include "VoxelGraphEditorToolkit.h"
#include "VoxelGraphEditorUtilities.h"
#include "VoxelGraphGenerator.h"
#include "VoxelGraphShortcuts.h"
#include "VoxelGraphPreviewSettings.h"
#include "VoxelGraphImportExposedVariablesValues.h"
#include "VoxelGraphSchema.h"
#include "VoxelNode... | 32.383694 | 190 | 0.706678 | SolarStormInteractive |
c8842edb55f427acc1ab99f1f35fad7930b7b61c | 2,548 | hpp | C++ | include/System/DefaultBinder_BinderState.hpp | darknight1050/BeatSaber-Quest-Codegen | a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032 | [
"Unlicense"
] | null | null | null | include/System/DefaultBinder_BinderState.hpp | darknight1050/BeatSaber-Quest-Codegen | a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032 | [
"Unlicense"
] | null | null | null | include/System/DefaultBinder_BinderState.hpp | darknight1050/BeatSaber-Quest-Codegen | a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032 | [
"Unlicense"
] | null | null | null | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "extern/beatsaber-hook/shared/utils/typedefs.h"
// Including type: System.DefaultBinder
#include "System/DefaultBinder.hpp"
#include "ex... | 47.185185 | 202 | 0.69741 | darknight1050 |
c888d8434dbe6267c3226793419b3fb3fcfc39e3 | 3,125 | cpp | C++ | Linked List/Sorting a LL.cpp | hidayat7z/Data-Structures-and-Algorithms | b78fc9c09b55f6ce9e92edeb48b5069792c4341b | [
"MIT"
] | 22 | 2020-09-13T15:12:50.000Z | 2021-01-29T08:29:57.000Z | Linked List/Sorting a LL.cpp | hidayat7z/Data-Structures-and-Algorithms | b78fc9c09b55f6ce9e92edeb48b5069792c4341b | [
"MIT"
] | null | null | null | Linked List/Sorting a LL.cpp | hidayat7z/Data-Structures-and-Algorithms | b78fc9c09b55f6ce9e92edeb48b5069792c4341b | [
"MIT"
] | 6 | 2020-09-13T15:34:38.000Z | 2021-01-29T08:30:01.000Z | #include<stdio.h>
#include<stdlib.h>
struct node
{
int data;
struct node *next;
};
struct node *start1= NULL;
struct node *createList(struct node*,int);
void display(struct node*);
struct node *swap(struct node*, struct node*);
struct node *sort(int);
int main()
{
int n,i,val;
printf("Ente... | 15.625 | 83 | 0.55008 | hidayat7z |
c889ab8f1ce62c843c8327d8a7d1e33e95100dfa | 176 | cpp | C++ | src/core/utils/build/external_template.cpp | lii-enac/djnn-cpp | f27c5ba3186186ee22c93ae91c16063556e929b6 | [
"BSD-2-Clause"
] | 4 | 2018-09-11T14:27:57.000Z | 2019-12-16T21:06:26.000Z | src/core/utils/build/external_template.cpp | lii-enac/djnn-cpp | f27c5ba3186186ee22c93ae91c16063556e929b6 | [
"BSD-2-Clause"
] | null | null | null | src/core/utils/build/external_template.cpp | lii-enac/djnn-cpp | f27c5ba3186186ee22c93ae91c16063556e929b6 | [
"BSD-2-Clause"
] | 2 | 2018-06-11T14:15:30.000Z | 2019-01-09T12:23:35.000Z | #include "precompiled.h"
template class djnnstl::basic_string<char>;
template class djnn::map<djnn::string, djnn::CoreProcess*>;
template class djnn::vector<djnn::Coupling*>;
| 29.333333 | 59 | 0.767045 | lii-enac |
c8913671a099e4122e485136541322089eb68915 | 729 | cpp | C++ | LeetCode/search-BST.cpp | abusomani/DS-Algo | b81b592b4ccb6c1c8a1c5275f1411ba4e91977ba | [
"Unlicense"
] | null | null | null | LeetCode/search-BST.cpp | abusomani/DS-Algo | b81b592b4ccb6c1c8a1c5275f1411ba4e91977ba | [
"Unlicense"
] | null | null | null | LeetCode/search-BST.cpp | abusomani/DS-Algo | b81b592b4ccb6c1c8a1c5275f1411ba4e91977ba | [
"Unlicense"
] | null | null | null | //Sometimes I feel like giving up, then I remember I have a lot of motherfuckers to prove wrong!
//@BEGIN OF SOURCE CODE ( By Abhishek Somani)
#include <bits/stdc++.h>
using namespace std;
// Definition for a binary tree node.
struct TreeNode
{
int val;
TreeNode *left;
TreeNode *right;
TreeNode(int x) ... | 23.516129 | 96 | 0.565158 | abusomani |
c891a4a6ebd43d3530ea74f4aec70387ce79630e | 8,244 | cpp | C++ | extensions/openpower-pels/pldm_interface.cpp | Alpana07/phosphor-logging | 1be39849bd974c2f7df7fa932edcd7f71a2c6d59 | [
"Apache-2.0"
] | 5 | 2017-12-01T19:34:13.000Z | 2020-12-29T10:50:32.000Z | extensions/openpower-pels/pldm_interface.cpp | Alpana07/phosphor-logging | 1be39849bd974c2f7df7fa932edcd7f71a2c6d59 | [
"Apache-2.0"
] | 26 | 2017-02-02T08:20:10.000Z | 2021-11-16T18:28:44.000Z | extensions/openpower-pels/pldm_interface.cpp | Alpana07/phosphor-logging | 1be39849bd974c2f7df7fa932edcd7f71a2c6d59 | [
"Apache-2.0"
] | 28 | 2016-07-20T16:46:54.000Z | 2022-03-16T11:20:03.000Z | /**
* Copyright © 2019 IBM Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... | 22.963788 | 80 | 0.574842 | Alpana07 |
c89241cd3ffc7e58eaa6ca180033c710a644f2e4 | 3,641 | cpp | C++ | examples/rgb2hsv.cpp | Bensuo/visioncpp | 8b4233809fbc9f0ad2ee59ec8dfe6de078e44777 | [
"Apache-2.0"
] | 156 | 2016-09-15T13:05:21.000Z | 2022-03-04T01:41:39.000Z | examples/rgb2hsv.cpp | Bensuo/visioncpp | 8b4233809fbc9f0ad2ee59ec8dfe6de078e44777 | [
"Apache-2.0"
] | 24 | 2016-09-20T11:25:23.000Z | 2022-02-01T02:20:27.000Z | examples/rgb2hsv.cpp | Bensuo/visioncpp | 8b4233809fbc9f0ad2ee59ec8dfe6de078e44777 | [
"Apache-2.0"
] | 58 | 2016-09-15T14:08:28.000Z | 2022-02-28T04:55:55.000Z | // This file is part of VisionCpp, a lightweight C++ template library
// for computer vision and image processing.
//
// Copyright (C) 2016 Codeplay Software Limited. All Rights Reserved.
//
// Contact: visioncpp@codeplay.com
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this ... | 39.150538 | 80 | 0.650096 | Bensuo |
c89881ac919d7a172dcf68afd9e39961f89368ac | 9,654 | cpp | C++ | src/peco/task/impl/loopimpl.cpp | littlepush/libpeco | c0ca92ddb7a70cd8183ade1ee0ec57fd534e280e | [
"MIT"
] | 1 | 2020-04-14T06:31:56.000Z | 2020-04-14T06:31:56.000Z | src/peco/task/impl/loopimpl.cpp | littlepush/libpeco | c0ca92ddb7a70cd8183ade1ee0ec57fd534e280e | [
"MIT"
] | null | null | null | src/peco/task/impl/loopimpl.cpp | littlepush/libpeco | c0ca92ddb7a70cd8183ade1ee0ec57fd534e280e | [
"MIT"
] | null | null | null | /*
loopimpl.cpp
libpeco
2022-02-12
Push Chen
*/
/*
MIT License
Copyright (c) 2019 Push Chen
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... | 30.647619 | 97 | 0.672985 | littlepush |
c89c334baa1f7025bf4ac08852dc2cd7505e1d7f | 444 | cc | C++ | networking/packet_handlers/unknown_packet_handler.cc | RikoOphorst/Tremble | 650fa53402f9c6114642e0cc8515b2ed517d40d6 | [
"MIT"
] | 1 | 2021-10-17T06:41:46.000Z | 2021-10-17T06:41:46.000Z | networking/packet_handlers/unknown_packet_handler.cc | RikoOphorst/Tremble | 650fa53402f9c6114642e0cc8515b2ed517d40d6 | [
"MIT"
] | null | null | null | networking/packet_handlers/unknown_packet_handler.cc | RikoOphorst/Tremble | 650fa53402f9c6114642e0cc8515b2ed517d40d6 | [
"MIT"
] | null | null | null | //#include "unknown_packet_handler.h"
//#include <iostream>
//
//using namespace networking;
//
//UnknownPacketHandler::UnknownPacketHandler(NetworkController & net_controller) : IPacketHandler(net_controller)
//{
//}
//
//UnknownPacketHandler::~UnknownPacketHandler()
//{
//}
//
//void UnknownPacketHandler::Handle(int ... | 24.666667 | 113 | 0.707207 | RikoOphorst |
c8a3fe8757fd21ba2c56f472f3a0a54a86a4fefd | 1,219 | cpp | C++ | source/SoloFeature.cpp | rammid1189/STAR | 75461e7e1a4a315e6dde87c85317e3f67e8d7a98 | [
"MIT"
] | 1 | 2020-04-29T12:37:20.000Z | 2020-04-29T12:37:20.000Z | source/SoloFeature.cpp | alexey0308/STAR | eb9b28f869ba82cdfcc45c6f76c53513e25f1fcc | [
"MIT"
] | null | null | null | source/SoloFeature.cpp | alexey0308/STAR | eb9b28f869ba82cdfcc45c6f76c53513e25f1fcc | [
"MIT"
] | null | null | null | #include "SoloFeature.h"
#include "streamFuns.h"
#include "ErrorWarning.h"
SoloFeature::SoloFeature(int32 feTy, Parameters &Pin, Transcriptome &inTrans, SoloReadBarcode *readBarSumIn, SoloFeature **soloFeatAll)
:featureType(feTy), P(Pin), Trans(inTrans), soloFeatAll(soloFeatAll), pSolo(P.pSolo), readBarSum... | 43.535714 | 135 | 0.707957 | rammid1189 |
c8a6c5d326cd4726e9f91cbe381d4dda1c4d47e8 | 3,020 | cpp | C++ | alignmut/restable.cpp | sferanchuk/tbev | 71e62ae093719aa0e0de4708e87e589129b44f96 | [
"MIT"
] | null | null | null | alignmut/restable.cpp | sferanchuk/tbev | 71e62ae093719aa0e0de4708e87e589129b44f96 | [
"MIT"
] | null | null | null | alignmut/restable.cpp | sferanchuk/tbev | 71e62ae093719aa0e0de4708e87e589129b44f96 | [
"MIT"
] | null | null | null |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <string>
#include <vector>
#include <set>
#include <map>
using namespace std;
int main( int argc, char **argv )
{
vector< vector< string > > table;
vector<int> mut;
vector< string > ids;
vector< map<string,int> > other;
vector<int> lcvec;
int... | 29.320388 | 147 | 0.527152 | sferanchuk |
c8a709c0f8f841becae522a2b9d2e2fec7be4345 | 5,900 | cpp | C++ | c-src/Fl_Paged_DeviceC.cpp | ericu/fltkhs | 3ca521ca30d51a84f8ec87938932f2ce5af8a7c0 | [
"MIT"
] | 222 | 2015-01-11T19:01:16.000Z | 2022-03-25T14:47:26.000Z | c-src/Fl_Paged_DeviceC.cpp | ericu/fltkhs | 3ca521ca30d51a84f8ec87938932f2ce5af8a7c0 | [
"MIT"
] | 143 | 2015-01-13T19:08:33.000Z | 2021-10-10T20:43:46.000Z | c-src/Fl_Paged_DeviceC.cpp | ericu/fltkhs | 3ca521ca30d51a84f8ec87938932f2ce5af8a7c0 | [
"MIT"
] | 36 | 2015-01-14T15:30:18.000Z | 2021-08-11T13:04:28.000Z | #include "Fl_Paged_DeviceC.h"
#ifdef __cplusplus
EXPORT {
#endif
FL_EXPORT_C(void,Fl_Paged_Device_set_current)(fl_Paged_Device paged_device){
return (static_cast<Fl_Paged_Device*>(paged_device))->set_current();
}
FL_EXPORT_C(fl_Surface_Device,Fl_Paged_Device_surface)(){
return (fl_Surface_Device)Fl_Surfac... | 62.105263 | 160 | 0.80322 | ericu |
c8a7b8d8387e470634834f5a8a8b65415c370361 | 1,598 | hpp | C++ | source/boost/simd/arch/common/generic/function/genmask.hpp | chronos38/low_latency_demo | de0d0d3dcebff23ba77c06c6c368b9d1c3d2c648 | [
"MIT"
] | 3 | 2017-11-18T18:23:16.000Z | 2019-02-15T12:41:24.000Z | include/boost/simd/arch/common/generic/function/genmask.hpp | dendisuhubdy/boost.simd | 7630b1c1ffbd0300c100885b89ff78c2d579a24c | [
"BSL-1.0"
] | null | null | null | include/boost/simd/arch/common/generic/function/genmask.hpp | dendisuhubdy/boost.simd | 7630b1c1ffbd0300c100885b89ff78c2d579a24c | [
"BSL-1.0"
] | 1 | 2019-04-11T20:18:39.000Z | 2019-04-11T20:18:39.000Z | //==================================================================================================
/*!
@file
@copyright 2016 NumScale SAS
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
*/
//===========================... | 36.318182 | 100 | 0.539424 | chronos38 |
c8a8725ed614bcf63b701b3d956082746cd92963 | 8,394 | cpp | C++ | src/behaviortree/nodes/composites/parallel.cpp | zja147/behaviac | 2e9c53c8368cf451139d50db01276e3f9da78733 | [
"BSD-3-Clause"
] | null | null | null | src/behaviortree/nodes/composites/parallel.cpp | zja147/behaviac | 2e9c53c8368cf451139d50db01276e3f9da78733 | [
"BSD-3-Clause"
] | null | null | null | src/behaviortree/nodes/composites/parallel.cpp | zja147/behaviac | 2e9c53c8368cf451139d50db01276e3f9da78733 | [
"BSD-3-Clause"
] | null | null | null | /////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Tencent is pleased to support the open source community by making behaviac available.
//
// Copyright (C) 2015-2017 THL A29 Limited, a Tencent company. All rights reserved.
//
// Licensed under the BSD 3... | 33.846774 | 149 | 0.560043 | zja147 |
c8aa61a07552b8493e57baacb0ae1efd9abb1537 | 4,469 | cpp | C++ | src/hip/SELF_Model.cpp | FluidNumerics/self-fluids | 98293579cd438e51d45ea136eecb930ff54c3f25 | [
"BSD-3-Clause"
] | 1 | 2018-07-22T15:03:31.000Z | 2018-07-22T15:03:31.000Z | src/hip/SELF_Model.cpp | FluidNumerics/self-fluids | 98293579cd438e51d45ea136eecb930ff54c3f25 | [
"BSD-3-Clause"
] | 15 | 2018-05-30T14:51:15.000Z | 2018-07-13T06:06:00.000Z | src/hip/SELF_Model.cpp | FluidNumerics/SELF-Fluids | 98293579cd438e51d45ea136eecb930ff54c3f25 | [
"BSD-3-Clause"
] | null | null | null | #include <hip/hip_runtime.h>
#include "SELF_HIP_Macros.h"
__global__ void UpdateSolution_Model1D_gpu(real *solution, real *dSdt, real dt, int N, int nVar){
size_t iVar = blockIdx.x;
size_t iEl = blockIdx.y;
size_t i = threadIdx.x;
solution[SC_1D_INDEX(i,iVar,iEl,N,nVar)] += dt*dSdt[SC_1D_INDEX(i,iVar,iEl,N... | 32.151079 | 139 | 0.68606 | FluidNumerics |
c8aad589036ab57563a3fb0389b1f6ffe6b35595 | 13,524 | hpp | C++ | src/noise/quantum_error.hpp | jakelishman/qiskit-aer | 7512ecede820e0d2bc7ad7b6704bcf06a861ca3a | [
"Apache-2.0"
] | 313 | 2018-12-19T09:19:12.000Z | 2022-03-21T18:15:41.000Z | src/noise/quantum_error.hpp | jakelishman/qiskit-aer | 7512ecede820e0d2bc7ad7b6704bcf06a861ca3a | [
"Apache-2.0"
] | 933 | 2018-12-21T02:56:49.000Z | 2022-03-30T01:19:54.000Z | src/noise/quantum_error.hpp | jakelishman/qiskit-aer | 7512ecede820e0d2bc7ad7b6704bcf06a861ca3a | [
"Apache-2.0"
] | 313 | 2018-12-19T14:52:55.000Z | 2022-02-28T20:20:14.000Z | /**
* This code is part of Qiskit.
*
* (C) Copyright IBM 2018, 2019.
*
* This code is licensed under the Apache License, Version 2.0. You may
* obtain a copy of this license in the LICENSE.txt file in the root directory
* of this source tree or at http://www.apache.org/licenses/LICENSE-2.0.
*
* Any modificatio... | 34.237975 | 105 | 0.619269 | jakelishman |
c8af7dd0b1e8bab893d6944622d50f80760346d3 | 4,239 | hpp | C++ | engine/executor/include/model.hpp | huggingface/neural-compressor | aaad4c357a86914ffa583753c9a26d949838a2a5 | [
"Apache-2.0"
] | 52 | 2020-08-04T04:31:48.000Z | 2020-11-29T02:34:32.000Z | engine/executor/include/model.hpp | intel/lp-opt-tool | 130eefa3586b38df6c0ff78cc8807ae273f6a63f | [
"Apache-2.0"
] | null | null | null | engine/executor/include/model.hpp | intel/lp-opt-tool | 130eefa3586b38df6c0ff78cc8807ae273f6a63f | [
"Apache-2.0"
] | 7 | 2020-08-21T01:08:55.000Z | 2020-11-29T03:36:55.000Z | // Copyright (c) 2021 Intel Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or... | 36.543103 | 97 | 0.718802 | huggingface |
c8b34ae4f19227892a1c611ff7a2191a9f9185dd | 3,932 | hpp | C++ | openstudiocore/src/utilities/core/Application.hpp | ORNL-BTRIC/OpenStudio | 878f94bebf6f025445d1373e8b2304ececac16d8 | [
"blessing"
] | null | null | null | openstudiocore/src/utilities/core/Application.hpp | ORNL-BTRIC/OpenStudio | 878f94bebf6f025445d1373e8b2304ececac16d8 | [
"blessing"
] | null | null | null | openstudiocore/src/utilities/core/Application.hpp | ORNL-BTRIC/OpenStudio | 878f94bebf6f025445d1373e8b2304ececac16d8 | [
"blessing"
] | null | null | null | /**********************************************************************
* Copyright (c) 2008-2014, Alliance for Sustainable Energy.
* All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published ... | 36.747664 | 99 | 0.694557 | ORNL-BTRIC |
c8b3cd5099a8215296f3b9eea9112369767dbda9 | 1,895 | cc | C++ | faster_tokenizers/faster_tokenizers/src/normalizers/unicode.cc | Beacontownfc/PaddleNLP | cec1caf485f2552a678a1d56a182d399106eeff3 | [
"Apache-2.0"
] | null | null | null | faster_tokenizers/faster_tokenizers/src/normalizers/unicode.cc | Beacontownfc/PaddleNLP | cec1caf485f2552a678a1d56a182d399106eeff3 | [
"Apache-2.0"
] | null | null | null | faster_tokenizers/faster_tokenizers/src/normalizers/unicode.cc | Beacontownfc/PaddleNLP | cec1caf485f2552a678a1d56a182d399106eeff3 | [
"Apache-2.0"
] | null | null | null | /* Copyright (c) 2022 PaddlePaddle 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... | 30.564516 | 79 | 0.658575 | Beacontownfc |
c8b5f499b86355b2f06d18af2b58493871a28c6a | 20,032 | cpp | C++ | XBoxController_UART/LynxStructure.cpp | Kjelland/lynxLib | d3e8c6f9df19d258438451aec14a0a6cfc49bf1e | [
"Apache-2.0"
] | null | null | null | XBoxController_UART/LynxStructure.cpp | Kjelland/lynxLib | d3e8c6f9df19d258438451aec14a0a6cfc49bf1e | [
"Apache-2.0"
] | null | null | null | XBoxController_UART/LynxStructure.cpp | Kjelland/lynxLib | d3e8c6f9df19d258438451aec14a0a6cfc49bf1e | [
"Apache-2.0"
] | null | null | null | //------------------------------------------------------------------------------------------------------------------------------
//--------------------------------------------------- Version 1.2.0.3 ----------------------------------------------------------
//----------------------------------------------------------... | 21.632829 | 140 | 0.586911 | Kjelland |
c8b725ef7e1bf610a9eb04257b0cc95177250cb1 | 2,020 | hpp | C++ | ysu/core_test/fakes/websocket_client.hpp | lik2129/ysu_coin | 47e40ed5d4000fc59566099929bd08a9ae16a4c1 | [
"BSD-3-Clause"
] | null | null | null | ysu/core_test/fakes/websocket_client.hpp | lik2129/ysu_coin | 47e40ed5d4000fc59566099929bd08a9ae16a4c1 | [
"BSD-3-Clause"
] | null | null | null | ysu/core_test/fakes/websocket_client.hpp | lik2129/ysu_coin | 47e40ed5d4000fc59566099929bd08a9ae16a4c1 | [
"BSD-3-Clause"
] | null | null | null | #pragma once
#include <ysu/boost/asio/connect.hpp>
#include <ysu/boost/asio/ip/tcp.hpp>
#include <ysu/boost/beast/core.hpp>
#include <ysu/boost/beast/websocket.hpp>
#include <ysu/node/websocket.hpp>
#include <chrono>
using namespace std::chrono_literals;
namespace
{
// Creates its own io context
class fake_websocke... | 26.933333 | 136 | 0.682178 | lik2129 |
c8bab8baf9ef025c36c65a426b2fec85107f75db | 5,451 | cpp | C++ | core/block_validation.cpp | tradingsecret/beam_wallet | abfe5dbb6c2fe325839887271150ae8e996e100f | [
"Apache-2.0"
] | 631 | 2018-11-10T05:56:05.000Z | 2022-03-30T13:21:00.000Z | core/block_validation.cpp | tradingsecret/beam_wallet | abfe5dbb6c2fe325839887271150ae8e996e100f | [
"Apache-2.0"
] | 1,824 | 2018-11-08T11:32:58.000Z | 2022-03-28T12:33:03.000Z | core/block_validation.cpp | tradingsecret/beam_wallet | abfe5dbb6c2fe325839887271150ae8e996e100f | [
"Apache-2.0"
] | 216 | 2018-11-12T08:07:21.000Z | 2022-03-08T20:50:19.000Z | // Copyright 2018 The Beam Team
//
// 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... | 22.903361 | 135 | 0.657127 | tradingsecret |
c8c21fb2930622d349c6c3314126de7657e6c43d | 6,160 | hpp | C++ | sdk/storage/azure-storage-blobs/inc/azure/storage/blobs/blob_batch_client.hpp | lordgamez/azure-sdk-for-cpp | 78e34a218926ac43fb06d54190b6c746eeb63692 | [
"MIT"
] | null | null | null | sdk/storage/azure-storage-blobs/inc/azure/storage/blobs/blob_batch_client.hpp | lordgamez/azure-sdk-for-cpp | 78e34a218926ac43fb06d54190b6c746eeb63692 | [
"MIT"
] | null | null | null | sdk/storage/azure-storage-blobs/inc/azure/storage/blobs/blob_batch_client.hpp | lordgamez/azure-sdk-for-cpp | 78e34a218926ac43fb06d54190b6c746eeb63692 | [
"MIT"
] | null | null | null | // Copyright (c) Microsoft Corporation. All rights reserved.
// SPDX-License-Identifier: MIT
#pragma once
#include "azure/storage/blobs/blob_service_client.hpp"
namespace Azure { namespace Storage { namespace Blobs {
/**
* @brief A BlobBatch allows you to batch multiple Azure Storage operations in a single req... | 36.886228 | 99 | 0.700649 | lordgamez |
c8c4ee498faa938663c0243da7df485212965077 | 25,372 | cpp | C++ | project/src/common/Graphics.cpp | delahee/lime | c4bc1ff140fa27c12f580fa3b518721e2a8266f2 | [
"MIT"
] | 1 | 2020-09-16T15:18:39.000Z | 2020-09-16T15:18:39.000Z | openfl_lime/src/common/Graphics.cpp | wannaphong/flappy | bc4630ca9120463c57c1d756c39c60a6dc509940 | [
"MIT"
] | 1 | 2020-11-17T00:58:59.000Z | 2020-11-17T00:58:59.000Z | openfl_lime/src/common/Graphics.cpp | wannaphong/flappy | bc4630ca9120463c57c1d756c39c60a6dc509940 | [
"MIT"
] | null | null | null | #include <Graphics.h>
#include "renderer/common/Surface.h"
#include <Display.h>
namespace lime
{
void Graphics::OnChanged()
{
mVersion++;
if (mOwner && !(mOwner->mDirtyFlags & dirtExtent))
mOwner->DirtyExtent();
}
// TODO: invlidate/cache extents (do for whole lot at once)
Graphics::Graphics(DisplayO... | 24.704966 | 110 | 0.563377 | delahee |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.