hexsha stringlengths 40 40 | size int64 7 1.05M | ext stringclasses 13
values | lang stringclasses 1
value | max_stars_repo_path stringlengths 4 269 | max_stars_repo_name stringlengths 5 108 | max_stars_repo_head_hexsha stringlengths 40 40 | max_stars_repo_licenses listlengths 1 9 | max_stars_count int64 1 191k ⌀ | max_stars_repo_stars_event_min_datetime stringlengths 24 24 ⌀ | max_stars_repo_stars_event_max_datetime stringlengths 24 24 ⌀ | max_issues_repo_path stringlengths 4 269 | max_issues_repo_name stringlengths 5 116 | max_issues_repo_head_hexsha stringlengths 40 40 | max_issues_repo_licenses listlengths 1 9 | max_issues_count int64 1 67k ⌀ | max_issues_repo_issues_event_min_datetime stringlengths 24 24 ⌀ | max_issues_repo_issues_event_max_datetime stringlengths 24 24 ⌀ | max_forks_repo_path stringlengths 4 269 | max_forks_repo_name stringlengths 5 116 | max_forks_repo_head_hexsha stringlengths 40 40 | max_forks_repo_licenses listlengths 1 9 | max_forks_count int64 1 105k ⌀ | max_forks_repo_forks_event_min_datetime stringlengths 24 24 ⌀ | max_forks_repo_forks_event_max_datetime stringlengths 24 24 ⌀ | content stringlengths 7 1.05M | avg_line_length float64 1.21 330k | max_line_length int64 6 990k | alphanum_fraction float64 0.01 0.99 | author_id stringlengths 2 40 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6103e30e9979fe5f02c6e7636e57309d0f7f09ff | 9,351 | cpp | C++ | texture-view/src/main/cpp/android_main.cpp | yge58/real-time-caffe-ndkcamera | ad7117787cfdd70d4a276a2ec12286b9d88e04df | [
"MIT"
] | 20 | 2017-10-24T00:25:07.000Z | 2021-05-15T08:25:09.000Z | texture-view/src/main/cpp/android_main.cpp | yge58/real-time-caffe-ndkcamera | ad7117787cfdd70d4a276a2ec12286b9d88e04df | [
"MIT"
] | 1 | 2017-11-13T08:32:18.000Z | 2017-11-14T01:53:03.000Z | texture-view/src/main/cpp/android_main.cpp | yge58/real-time-caffe-ndkcamera | ad7117787cfdd70d4a276a2ec12286b9d88e04df | [
"MIT"
] | 6 | 2018-04-06T13:38:35.000Z | 2020-06-05T03:22:15.000Z | /**
* Copyright (C) 2017 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | 39.622881 | 93 | 0.637686 | yge58 |
6106308efdb5b30b5d34e6fd914095d0aa3c519f | 30,110 | hpp | C++ | msys64/mingw64/include/c++/8.2.1/ext/pb_ds/assoc_container.hpp | Bhuvanesh1208/ruby2.6.1 | 17642e3f37233f6d0e0523af68d7600a91ece1c7 | [
"Ruby"
] | 432 | 2015-01-03T20:05:29.000Z | 2022-03-24T16:39:09.000Z | msys64/mingw64/include/c++/8.2.1/ext/pb_ds/assoc_container.hpp | Bhuvanesh1208/ruby2.6.1 | 17642e3f37233f6d0e0523af68d7600a91ece1c7 | [
"Ruby"
] | 75 | 2020-10-28T00:44:55.000Z | 2022-03-05T20:21:53.000Z | msys64/mingw64/include/c++/8.2.1/ext/pb_ds/assoc_container.hpp | Bhuvanesh1208/ruby2.6.1 | 17642e3f37233f6d0e0523af68d7600a91ece1c7 | [
"Ruby"
] | 114 | 2015-01-07T16:23:00.000Z | 2022-03-23T18:26:01.000Z | // -*- C++ -*-
// Copyright (C) 2005-2018 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library 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... | 34.930394 | 89 | 0.667486 | Bhuvanesh1208 |
61069541be8386d23469f4bbe1bf7aa5aaeef365 | 24,858 | cpp | C++ | src/main.cpp | DigitalGlobe/gbdxm | d3b6bbbaf308337ab20005c3241de5475ee85a7e | [
"Apache-2.0"
] | 1 | 2018-09-06T14:46:51.000Z | 2018-09-06T14:46:51.000Z | src/main.cpp | DigitalGlobe/GGD-gbdxm | d3b6bbbaf308337ab20005c3241de5475ee85a7e | [
"Apache-2.0"
] | 23 | 2017-06-27T19:26:59.000Z | 2018-04-18T21:19:50.000Z | src/main.cpp | DigitalGlobe/GGD-gbdxm | d3b6bbbaf308337ab20005c3241de5475ee85a7e | [
"Apache-2.0"
] | 2 | 2017-07-31T08:30:29.000Z | 2019-12-05T21:09:16.000Z | /********************************************************************************
* Copyright 2017 DigitalGlobe, Inc.
* Author: Aleksey Vitebskiy
*
* 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 ... | 35.110169 | 158 | 0.617507 | DigitalGlobe |
61069d1b0599f2ea9c0bab435f67b9c5edec5860 | 1,215 | cpp | C++ | test/scene_tree/test_stree.cpp | samkellett/g2 | 99e0598fd5c85fd329a5d820f99563e7d39b65d3 | [
"MIT"
] | 1 | 2015-12-15T15:03:14.000Z | 2015-12-15T15:03:14.000Z | test/scene_tree/test_stree.cpp | samkellett/g2 | 99e0598fd5c85fd329a5d820f99563e7d39b65d3 | [
"MIT"
] | 1 | 2015-10-23T20:20:23.000Z | 2015-10-23T20:20:23.000Z | test/scene_tree/test_stree.cpp | samkellett/g2 | 99e0598fd5c85fd329a5d820f99563e7d39b65d3 | [
"MIT"
] | null | null | null | #include "scene_tree/stree.hpp"
#include <gtest/gtest.h>
using namespace g2;
using testing::Test;
struct Fixture : public Test
{
scene_tree::stree uut;
const scene_tree::stree &const_uut;
Fixture()
: uut("badger", 640, 480),
const_uut(uut)
{
}
};
TEST_F(Fixture, TitleIsCorrect)
{
ASSERT_EQ("badger", u... | 15.779221 | 55 | 0.706996 | samkellett |
610ba6c60f739ed079fe62c40a790d793697a46c | 854 | cpp | C++ | Experiment 8.cpp | Pr33datorrr/DS-Practical-File | a5f3e60f59bb768b28b916e036ef936f20f4618c | [
"Apache-2.0"
] | null | null | null | Experiment 8.cpp | Pr33datorrr/DS-Practical-File | a5f3e60f59bb768b28b916e036ef936f20f4618c | [
"Apache-2.0"
] | null | null | null | Experiment 8.cpp | Pr33datorrr/DS-Practical-File | a5f3e60f59bb768b28b916e036ef936f20f4618c | [
"Apache-2.0"
] | null | null | null | #include<iostream>
using namespace std;
void insertionsort(int ar[],int n)
{
int i,j,k,temp,m;
for(i=0;i<n;i++)
{
m=ar[i];
j=i;
while(ar[j-1]>m && j>0)
{
ar[j]=ar[j-1];
j--;
}
ar[j]=m;
}
}
int main()
{
int i... | 16.745098 | 49 | 0.362998 | Pr33datorrr |
610bcb7724f64c0916d800974e45cd4ba3dc048b | 9,532 | cpp | C++ | src/QMCWaveFunctions/Jastrow/RPAJastrow.cpp | bwvdg/qmcpack | cd09fc54b36de2579c9802f5e64b7ec15506f3c3 | [
"NCSA"
] | null | null | null | src/QMCWaveFunctions/Jastrow/RPAJastrow.cpp | bwvdg/qmcpack | cd09fc54b36de2579c9802f5e64b7ec15506f3c3 | [
"NCSA"
] | 1 | 2020-04-10T15:33:28.000Z | 2020-04-10T15:35:59.000Z | src/QMCWaveFunctions/Jastrow/RPAJastrow.cpp | bwvdg/qmcpack | cd09fc54b36de2579c9802f5e64b7ec15506f3c3 | [
"NCSA"
] | null | null | null | //////////////////////////////////////////////////////////////////////////////////////
// This file is distributed under the University of Illinois/NCSA Open Source License.
// See LICENSE file in top directory for details.
//
// Copyright (c) 2016 Jeongnim Kim and QMCPACK developers.
//
// File developed by: Jeongnim ... | 29.419753 | 172 | 0.663449 | bwvdg |
610cbf57f73e65f49b9467358031751fdcc7b6d1 | 2,573 | cc | C++ | src/orbit/RFCavities/Dual_Harmonic_Cav.cc | LeoRya/py-orbit | 340b14b6fd041ed8ec2cc25b0821b85742aabe0c | [
"MIT"
] | 17 | 2018-02-09T23:39:06.000Z | 2022-03-04T16:27:04.000Z | src/orbit/RFCavities/Dual_Harmonic_Cav.cc | LeoRya/py-orbit | 340b14b6fd041ed8ec2cc25b0821b85742aabe0c | [
"MIT"
] | 22 | 2017-05-31T19:40:14.000Z | 2021-09-24T22:07:47.000Z | src/orbit/RFCavities/Dual_Harmonic_Cav.cc | LeoRya/py-orbit | 340b14b6fd041ed8ec2cc25b0821b85742aabe0c | [
"MIT"
] | 37 | 2016-12-08T19:39:35.000Z | 2022-02-11T19:59:34.000Z | #include "Dual_Harmonic_Cav.hh"
#include "ParticleMacroSize.hh"
#include <iostream>
#include <cmath>
#include "Bunch.hh"
#include "OrbitConst.hh"
using namespace OrbitUtils;
// Constructor
Dual_Harmonic_Cav::Dual_Harmonic_Cav(double ZtoPhi ,
double RFHNum ,
... | 19.492424 | 155 | 0.678197 | LeoRya |
610cc30296ba60167615440ae075f7d3014a5d0b | 2,612 | cpp | C++ | game/roydWalkingState.cpp | theepsi/simpsons-arcade | 26f716a2aed6a914a799adb00c6cf02e60aab1da | [
"MIT"
] | 1 | 2017-01-04T16:00:15.000Z | 2017-01-04T16:00:15.000Z | game/roydWalkingState.cpp | theepsi/simpsons-arcade | 26f716a2aed6a914a799adb00c6cf02e60aab1da | [
"MIT"
] | 15 | 2016-12-28T18:27:27.000Z | 2017-02-17T09:47:52.000Z | game/roydWalkingState.cpp | theepsi/simpsons-arcade | 26f716a2aed6a914a799adb00c6cf02e60aab1da | [
"MIT"
] | 1 | 2019-09-13T09:55:07.000Z | 2019-09-13T09:55:07.000Z | #include "core.h"
#include "royd.h"
#include "player.h"
#include "enemy.h"
#include "roydIdleState.h"
#include "roydWalkingState.h"
using namespace std;
RoydWalkingState::RoydWalkingState()
{
}
RoydWalkingState::~RoydWalkingState()
{
}
void RoydWalkingState::Update(Character& player)
{
Enemy* enemy = static_cast<E... | 28.703297 | 98 | 0.667688 | theepsi |
610d0bdd53fd948743ef66c4b155d6e2ed4c3da6 | 678 | hpp | C++ | library/ATF/_QUEST_CASH.hpp | lemkova/Yorozuya | f445d800078d9aba5de28f122cedfa03f26a38e4 | [
"MIT"
] | 29 | 2017-07-01T23:08:31.000Z | 2022-02-19T10:22:45.000Z | library/ATF/_QUEST_CASH.hpp | kotopes/Yorozuya | 605c97d3a627a8f6545cc09f2a1b0a8afdedd33a | [
"MIT"
] | 90 | 2017-10-18T21:24:51.000Z | 2019-06-06T02:30:33.000Z | library/ATF/_QUEST_CASH.hpp | kotopes/Yorozuya | 605c97d3a627a8f6545cc09f2a1b0a8afdedd33a | [
"MIT"
] | 44 | 2017-12-19T08:02:59.000Z | 2022-02-24T23:15:01.000Z | // This file auto generated by plugin for ida pro. Generated code only for x64. Please, dont change manually
#pragma once
#include <common/common.h>
START_ATF_NAMESPACE
#pragma pack(push, 4)
struct _QUEST_CASH
{
unsigned int dwAvatorSerial;
char byQuestType;
int nPvpPoint;
... | 25.111111 | 108 | 0.647493 | lemkova |
610d2ea418d14532463cf87a2a95dd6c1e6ea3df | 168 | cpp | C++ | docs/mfc/codesnippet/CPP/exceptions-changes-to-exception-macros-in-version-3-0_4.cpp | bobbrow/cpp-docs | 769b186399141c4ea93400863a7d8463987bf667 | [
"CC-BY-4.0",
"MIT"
] | 965 | 2017-06-25T23:57:11.000Z | 2022-03-31T14:17:32.000Z | docs/mfc/codesnippet/CPP/exceptions-changes-to-exception-macros-in-version-3-0_4.cpp | bobbrow/cpp-docs | 769b186399141c4ea93400863a7d8463987bf667 | [
"CC-BY-4.0",
"MIT"
] | 3,272 | 2017-06-24T00:26:34.000Z | 2022-03-31T22:14:07.000Z | docs/mfc/codesnippet/CPP/exceptions-changes-to-exception-macros-in-version-3-0_4.cpp | bobbrow/cpp-docs | 769b186399141c4ea93400863a7d8463987bf667 | [
"CC-BY-4.0",
"MIT"
] | 951 | 2017-06-25T12:36:14.000Z | 2022-03-26T22:49:06.000Z | TRY
{
// Do something to throw an exception.
AfxThrowUserException();
}
CATCH(CException, e)
{
THROW(e); // Wrong. Use THROW_LAST() instead
}
END_CATCH
} | 15.272727 | 50 | 0.64881 | bobbrow |
610e3270b49511fb1c1921350829cbac56e293ce | 3,564 | hpp | C++ | components/RelatednessComponent/include/components/RelatednessComponent/PCAComputer.hpp | CreRecombinase/qctool | 6dad3a15c461177bf6940ba7b991337402ca5c41 | [
"BSL-1.0"
] | 3 | 2021-04-21T05:42:24.000Z | 2022-01-26T14:59:43.000Z | components/RelatednessComponent/include/components/RelatednessComponent/PCAComputer.hpp | CreRecombinase/qctool | 6dad3a15c461177bf6940ba7b991337402ca5c41 | [
"BSL-1.0"
] | 2 | 2020-04-09T16:11:04.000Z | 2020-11-10T11:18:56.000Z | components/RelatednessComponent/include/components/RelatednessComponent/PCAComputer.hpp | gavinband/qctool | 8d8adb45151c91f953fe4a9af00498073b1132ba | [
"BSL-1.0"
] | null | null | null |
// Copyright Gavin Band 2008 - 2012.
// 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 COMPONENTS_RELATEDNESS_COMPONENT_PCA_COMPUTER_HPP
#define COMPONENTS_RELATEDNESS_COMPONENT_PCA_C... | 40.044944 | 222 | 0.788721 | CreRecombinase |
610e7627ea9746a8ea470106ee0ef86a787d5a3d | 180 | hpp | C++ | aslam_optimizer/aslam_backend_expressions/include/aslam/backend/implementation/GenericScalarExpressionNode.hpp | chengfzy/kalibr | fe9705b380b160dc939607135f7d30efa64ea2e9 | [
"BSD-4-Clause"
] | null | null | null | aslam_optimizer/aslam_backend_expressions/include/aslam/backend/implementation/GenericScalarExpressionNode.hpp | chengfzy/kalibr | fe9705b380b160dc939607135f7d30efa64ea2e9 | [
"BSD-4-Clause"
] | null | null | null | aslam_optimizer/aslam_backend_expressions/include/aslam/backend/implementation/GenericScalarExpressionNode.hpp | chengfzy/kalibr | fe9705b380b160dc939607135f7d30efa64ea2e9 | [
"BSD-4-Clause"
] | null | null | null | #include <aslam/backend/GenericScalarExpressionNode.hpp>
#include <sm/kinematics/rotations.hpp>
namespace aslam {
namespace backend {} // namespace backend
} // namespace aslam
| 25.714286 | 56 | 0.777778 | chengfzy |
610e8dc7e559b2708faf04f58935bee62dad72f7 | 2,251 | cpp | C++ | vm/native_libraries.cpp | larrytheliquid/rubinius | 5af42280ab95626f33517ca5f6330e17be04ec64 | [
"BSD-3-Clause"
] | 1 | 2016-05-09T10:45:38.000Z | 2016-05-09T10:45:38.000Z | vm/native_libraries.cpp | samleb/rubinius | 38eec1983b9b6739d7a552081e208aa433b99483 | [
"BSD-3-Clause"
] | 1 | 2022-03-12T14:09:00.000Z | 2022-03-12T14:09:00.000Z | vm/native_libraries.cpp | isabella232/rubinius | 5af42280ab95626f33517ca5f6330e17be04ec64 | [
"BSD-3-Clause"
] | 1 | 2022-03-12T12:08:44.000Z | 2022-03-12T12:08:44.000Z | #include <string>
#include "builtin/exception.hpp"
#include "builtin/module.hpp"
#include "builtin/string.hpp"
#include "vm.hpp"
#include "native_libraries.hpp"
#include "vm/object_utils.hpp"
namespace rubinius {
void VM::init_native_libraries() {
globals.rubinius.get()->set_const(this, "LIBSUFFIX", String:... | 27.790123 | 94 | 0.667703 | larrytheliquid |
610eb4eb0b4b039fa39363635fea4fe47952f2e4 | 655 | cpp | C++ | C++/OOPs/Constructor/Copy Constructor/Cpy Constructor Example/main.cpp | Nike98/personal-code | 75aff2dedb21612f02cb03b7b017da2b4d6c6e87 | [
"MIT"
] | 1 | 2018-07-25T13:06:56.000Z | 2018-07-25T13:06:56.000Z | C++/OOPs/Constructor/Copy Constructor/Cpy Constructor Example/main.cpp | Nike98/Master | 75aff2dedb21612f02cb03b7b017da2b4d6c6e87 | [
"MIT"
] | 3 | 2022-02-13T14:36:08.000Z | 2022-02-27T05:41:15.000Z | C++/OOPs/Constructor/Copy Constructor/Cpy Constructor Example/main.cpp | Nike98/personal-code | 75aff2dedb21612f02cb03b7b017da2b4d6c6e87 | [
"MIT"
] | 2 | 2017-11-10T10:36:54.000Z | 2018-01-18T05:13:46.000Z | ///
/**
* WAP to demonstrate the use of a Copy Constructor
*/
///
#include<iostream>
using namespace std;
class Point
{
private:
int x, y;
public:
Point(int x1, int y1) { x = x1; y = y1; }
// Copy Constructor
Point(const Point &p2) { x = p2.x; y = p2.y; }
int getX() { return x; }
... | 18.194444 | 72 | 0.505344 | Nike98 |
610f2d0de6542d2606ce66d982fa1eb878dec19c | 33,107 | cc | C++ | RecoLocalTracker/SiPixelRecHits/src/PixelCPEClusterRepair.cc | SWuchterl/cmssw | 769b4a7ef81796579af7d626da6039dfa0347b8e | [
"Apache-2.0"
] | 6 | 2017-09-08T14:12:56.000Z | 2022-03-09T23:57:01.000Z | RecoLocalTracker/SiPixelRecHits/src/PixelCPEClusterRepair.cc | SWuchterl/cmssw | 769b4a7ef81796579af7d626da6039dfa0347b8e | [
"Apache-2.0"
] | 545 | 2017-09-19T17:10:19.000Z | 2022-03-07T16:55:27.000Z | RecoLocalTracker/SiPixelRecHits/src/PixelCPEClusterRepair.cc | SWuchterl/cmssw | 769b4a7ef81796579af7d626da6039dfa0347b8e | [
"Apache-2.0"
] | 14 | 2017-10-04T09:47:21.000Z | 2019-10-23T18:04:45.000Z | // Include our own header first
#include "RecoLocalTracker/SiPixelRecHits/interface/PixelCPEClusterRepair.h"
// Geometry services
#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
#include "Geometry/TrackerGeometryBuilder/interface/RectangularPixelTopology.h"
// MessageLogger
#include "FWCore/MessageLogg... | 45.166439 | 122 | 0.609599 | SWuchterl |
6111a8f73dd93079b7812474296829519950b2a2 | 1,162 | hpp | C++ | src/region.hpp | eldariont/vg | aa394a8477eb3f27ccfe421457e2e013e7907493 | [
"BSL-1.0"
] | null | null | null | src/region.hpp | eldariont/vg | aa394a8477eb3f27ccfe421457e2e013e7907493 | [
"BSL-1.0"
] | null | null | null | src/region.hpp | eldariont/vg | aa394a8477eb3f27ccfe421457e2e013e7907493 | [
"BSL-1.0"
] | null | null | null | #ifndef VG_REGION_HPP_INCLUDED
#define VG_REGION_HPP_INCLUDED
#include <string>
#include <vector>
#include <sstream>
#include "xg.hpp"
namespace vg {
using namespace std;
// Represent a parsed genomic region.
// A -1 for start or end indicates that that coordinate is not used.
// Generally regions parsed form user ... | 25.822222 | 84 | 0.678141 | eldariont |
6111ca962daa52d3ec3b4eead4b82445c77cb2a0 | 15,274 | cc | C++ | prop-src/pat.cc | AaronNGray/prop-cc-new | 3d9660f55c94c5bd260f6b7cc902fa19109d35a9 | [
"BSD-2-Clause"
] | 1 | 2018-03-23T20:32:09.000Z | 2018-03-23T20:32:09.000Z | prop-src/pat.cc | AaronNGray/prop-cc-new | 3d9660f55c94c5bd260f6b7cc902fa19109d35a9 | [
"BSD-2-Clause"
] | null | null | null | prop-src/pat.cc | AaronNGray/prop-cc-new | 3d9660f55c94c5bd260f6b7cc902fa19109d35a9 | [
"BSD-2-Clause"
] | null | null | null | ///////////////////////////////////////////////////////////////////////////////
// This file is generated automatically using Prop (version 2.4.0),
// last updated on Jul 1, 2011.
// The original source file is "pat.pcc".
///////////////////////////////////////////////////////////////////////////////
#line 1 "pat.p... | 28.710526 | 247 | 0.473746 | AaronNGray |
6112d9433899302aac49bf3d91fd308ca6367354 | 183 | cpp | C++ | foo_spider_monkey_panel/utils/thread_pool_instance.cpp | kbuffington/foo_spider_monkey_panel | ce39bb098a9ea150baf78d18c60f7ee6617598f7 | [
"MIT"
] | 189 | 2018-09-28T19:02:41.000Z | 2022-03-30T06:43:36.000Z | foo_spider_monkey_panel/utils/thread_pool_instance.cpp | kbuffington/foo_spider_monkey_panel | ce39bb098a9ea150baf78d18c60f7ee6617598f7 | [
"MIT"
] | 145 | 2018-09-20T01:09:55.000Z | 2022-03-03T16:50:40.000Z | foo_spider_monkey_panel/utils/thread_pool_instance.cpp | kbuffington/foo_spider_monkey_panel | ce39bb098a9ea150baf78d18c60f7ee6617598f7 | [
"MIT"
] | 34 | 2018-09-20T12:44:01.000Z | 2022-03-13T22:24:21.000Z | #include <stdafx.h>
#include "thread_pool_instance.h"
namespace smp
{
qwr::ThreadPool& GetThreadPoolInstance()
{
static qwr::ThreadPool tp;
return tp;
}
} // namespace smp | 13.071429 | 40 | 0.704918 | kbuffington |
611332ccadac4357a7eed567fabf10567e1ff0af | 3,762 | cpp | C++ | src/modules/cl/hip_build_utils.cpp | kiritigowda/rpp | 29adb084ebbc90e35459c3040014051a64eca680 | [
"MIT"
] | 26 | 2019-09-04T17:48:41.000Z | 2022-02-23T17:04:24.000Z | src/modules/cl/hip_build_utils.cpp | kiritigowda/rpp | 29adb084ebbc90e35459c3040014051a64eca680 | [
"MIT"
] | 57 | 2019-09-06T21:37:34.000Z | 2022-03-09T02:13:46.000Z | src/modules/cl/hip_build_utils.cpp | kiritigowda/rpp | 29adb084ebbc90e35459c3040014051a64eca680 | [
"MIT"
] | 24 | 2019-09-04T23:12:07.000Z | 2022-03-30T02:06:22.000Z | /*******************************************************************************
*
* MIT License
*
* Copyright (c) 2019 Advanced Micro Devices, Inc.
*
* 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 S... | 40.021277 | 97 | 0.626794 | kiritigowda |
611462324000767a1e132c37329a083812b97f84 | 3,393 | cpp | C++ | OGDF/src/energybased/multilevelmixer/MMMExampleNiceLayout.cpp | jim-bo/silp2 | 1186a84b2570af0e4ed305ddfff8f931e012eadf | [
"MIT"
] | 1 | 2018-01-29T05:00:43.000Z | 2018-01-29T05:00:43.000Z | OGDF/src/energybased/multilevelmixer/MMMExampleNiceLayout.cpp | jim-bo/silp2 | 1186a84b2570af0e4ed305ddfff8f931e012eadf | [
"MIT"
] | 1 | 2016-01-31T13:13:10.000Z | 2016-02-02T14:16:05.000Z | OGDF/src/energybased/multilevelmixer/MMMExampleNiceLayout.cpp | jim-bo/silp2 | 1186a84b2570af0e4ed305ddfff8f931e012eadf | [
"MIT"
] | null | null | null | /*
* $Revision: 2523 $
*
* last checkin:
* $Author: gutwenger $
* $Date: 2012-07-02 20:59:27 +0200 (Mon, 02 Jul 2012) $
***************************************************************/
/** \file
* \brief useable example of the Modular Multilevel Mixer
*
* \author Gereon Bartel
*
* \par License:
* This ... | 29.25 | 97 | 0.720896 | jim-bo |
61155fb63705cd7a62bae132085d77586068e88d | 576 | cpp | C++ | Sources/Elastos/Packages/Apps/Dialer/src/elastos/droid/dialerbind/analytics/AnalyticsPreferenceActivity.cpp | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | 7 | 2017-07-13T10:34:54.000Z | 2021-04-16T05:40:35.000Z | Sources/Elastos/Packages/Apps/Dialer/src/elastos/droid/dialerbind/analytics/AnalyticsPreferenceActivity.cpp | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | null | null | null | Sources/Elastos/Packages/Apps/Dialer/src/elastos/droid/dialerbind/analytics/AnalyticsPreferenceActivity.cpp | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | 9 | 2017-07-13T12:33:20.000Z | 2021-06-19T02:46:48.000Z |
#include "elastos/droid/dialerbind/analytics/AnalyticsPreferenceActivity.h"
namespace Elastos {
namespace Droid {
namespace DialerBind {
namespace Analytics {
CAR_INTERFACE_IMPL(AnalyticsPreferenceActivity, PreferenceActivity, IAnalyticsInterface)
ECode AnalyticsPreferenceActivity::SendHitEvent(
/* [in] */ cons... | 20.571429 | 88 | 0.739583 | jingcao80 |
611795f16c08c1f9ebf57dfc13f6c966ea286b00 | 2,075 | hpp | C++ | include/octargs/internal/valued_argument_impl.hpp | KOLANICH/octargs | e2dfb9715a676c6a7a49b7dac7b2b71bfd9143ef | [
"MIT"
] | 4 | 2020-03-23T16:30:11.000Z | 2021-12-21T10:07:38.000Z | include/octargs/internal/valued_argument_impl.hpp | KOLANICH/octargs | e2dfb9715a676c6a7a49b7dac7b2b71bfd9143ef | [
"MIT"
] | 32 | 2020-01-28T22:29:59.000Z | 2021-12-21T10:05:36.000Z | include/octargs/internal/valued_argument_impl.hpp | KOLANICH/octargs | e2dfb9715a676c6a7a49b7dac7b2b71bfd9143ef | [
"MIT"
] | 1 | 2021-07-22T16:50:08.000Z | 2021-07-22T16:50:08.000Z | #ifndef OCTARGS_VALUED_ARGUMENT_IMPL_HPP_
#define OCTARGS_VALUED_ARGUMENT_IMPL_HPP_
#include "argument_base_impl.hpp"
namespace oct
{
namespace args
{
namespace internal
{
template <typename char_T, typename values_storage_T>
class basic_valued_argument_impl
: public basic_argument_base_impl<basic_valued_argumen... | 26.265823 | 117 | 0.731084 | KOLANICH |
611998fe0894ddc8da3fc6e6512a7208a7fa3b8b | 7,171 | cpp | C++ | Dynamic Programming/943. Find the Shortest Superstring.cpp | beckswu/Leetcode | 480e8dc276b1f65961166d66efa5497d7ff0bdfd | [
"MIT"
] | 138 | 2020-02-08T05:25:26.000Z | 2021-11-04T11:59:28.000Z | Dynamic Programming/943. Find the Shortest Superstring.cpp | beckswu/Leetcode | 480e8dc276b1f65961166d66efa5497d7ff0bdfd | [
"MIT"
] | null | null | null | Dynamic Programming/943. Find the Shortest Superstring.cpp | beckswu/Leetcode | 480e8dc276b1f65961166d66efa5497d7ff0bdfd | [
"MIT"
] | 24 | 2021-01-02T07:18:43.000Z | 2022-03-20T08:17:54.000Z | /*
Travelling Salesman Problem
dp[val][i]: 走过的路径为val, 最后的到达的i所需要的最小cost
path[val][i]: 走过的路径为val, 最后的到达的i所需要的最小cost 的上一点
*/
class Solution {
public:
string shortestSuperstring(vector<string>& A) {
int n = A.size();
vector<vector<int>>graph(n, vector<int>(n));
for(int i = 0; i<n; ++i){
... | 32.894495 | 115 | 0.375819 | beckswu |
6119f227acd33b0b3b34cec6eeeb6f9f93f0a5c1 | 4,467 | hpp | C++ | modules/boost/simd/sdk/include/boost/simd/memory/functions/scalar/aligned_store.hpp | psiha/nt2 | 5e829807f6b57b339ca1be918a6b60a2507c54d0 | [
"BSL-1.0"
] | 34 | 2017-05-19T18:10:17.000Z | 2022-01-04T02:18:13.000Z | modules/boost/simd/sdk/include/boost/simd/memory/functions/scalar/aligned_store.hpp | psiha/nt2 | 5e829807f6b57b339ca1be918a6b60a2507c54d0 | [
"BSL-1.0"
] | null | null | null | modules/boost/simd/sdk/include/boost/simd/memory/functions/scalar/aligned_store.hpp | psiha/nt2 | 5e829807f6b57b339ca1be918a6b60a2507c54d0 | [
"BSL-1.0"
] | 7 | 2017-12-02T12:59:17.000Z | 2021-07-31T12:46:14.000Z | //==============================================================================
// Copyright 2003 - 2012 LASMEA UMR 6602 CNRS/Univ. Clermont II
// Copyright 2009 - 2012 LRI UMR 8623 CNRS/Univ Paris Sud XI
// Copyright 2011 - 2014 MetaScale SAS
//
// Distributed under the Boost Sof... | 34.898438 | 80 | 0.478173 | psiha |
611f5caca5c1c3caba123f9ad30210b802f190f2 | 571 | cpp | C++ | tests/test1.cpp | chrisroman/llvm-pass-skeleton | 5e0308c38bd8aec7ac33b794f7d9551cfdf01733 | [
"MIT"
] | 1 | 2020-10-26T02:45:22.000Z | 2020-10-26T02:45:22.000Z | tests/test1.cpp | chrisroman/llvm-pass-skeleton | 5e0308c38bd8aec7ac33b794f7d9551cfdf01733 | [
"MIT"
] | null | null | null | tests/test1.cpp | chrisroman/llvm-pass-skeleton | 5e0308c38bd8aec7ac33b794f7d9551cfdf01733 | [
"MIT"
] | null | null | null | #include <stdlib.h> /* exit, EXIT_FAILURE */
#include "track_nullptr.h"
void foo(void *p) {
return;
}
// TODO:
// create a nullp
// call escale(rnullp)
// replace all instances of nullptr with nullp
void deref_null(int argc) {
//void *nullp = nullptr;
//escape(&nullp);
int *p = (int*) nullptr;
... | 17.30303 | 48 | 0.52014 | chrisroman |
6120b1949bfbf7b1864f8046dfcfcfe22d1662b2 | 725 | cpp | C++ | ojcpp/hht/035_first_non_repeat.cpp | softarts/oj | 2f51f360a7a6c49e865461755aec2f3a7e721b9e | [
"Apache-2.0"
] | 3 | 2019-05-04T03:26:02.000Z | 2019-08-29T01:20:44.000Z | ojcpp/hht/035_first_non_repeat.cpp | softarts/oj | 2f51f360a7a6c49e865461755aec2f3a7e721b9e | [
"Apache-2.0"
] | null | null | null | ojcpp/hht/035_first_non_repeat.cpp | softarts/oj | 2f51f360a7a6c49e865461755aec2f3a7e721b9e | [
"Apache-2.0"
] | null | null | null | //
// Created by rui zhou on 08/05/19.
//
#include <codech/codech_def.h>
using namespace std;
// AMAZON 考题,f*
// GS 1st
// 使用hashmap,遍历两次
namespace {
class Solution {
public:
char firstNonRepeat(string s) {
unordered_map<char,int> m;
for (auto &it:s) {
m[it]+=1... | 18.125 | 57 | 0.496552 | softarts |
61221e062c8e35c21f660bac68af98399b01c67d | 3,285 | cpp | C++ | qt-creator-opensource-src-4.6.1/share/qtcreator/qml/qmlpuppet/commands/childrenchangedcommand.cpp | kevinlq/Qt-Creator-Opensource-Study | b8cadff1f33f25a5d4ef33ed93f661b788b1ba0f | [
"MIT"
] | 5 | 2018-12-22T14:49:13.000Z | 2022-01-13T07:21:46.000Z | qt-creator-opensource-src-4.6.1/share/qtcreator/qml/qmlpuppet/commands/childrenchangedcommand.cpp | kevinlq/Qt-Creator-Opensource-Study | b8cadff1f33f25a5d4ef33ed93f661b788b1ba0f | [
"MIT"
] | null | null | null | qt-creator-opensource-src-4.6.1/share/qtcreator/qml/qmlpuppet/commands/childrenchangedcommand.cpp | kevinlq/Qt-Creator-Opensource-Study | b8cadff1f33f25a5d4ef33ed93f661b788b1ba0f | [
"MIT"
] | 8 | 2018-07-17T03:55:48.000Z | 2021-12-22T06:37:53.000Z | /****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of Qt Creator.
**
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this file in
** accordance w... | 32.85 | 160 | 0.694673 | kevinlq |
6122ab3b23e22c49c9646a3c445f567e7ccd13a8 | 4,257 | cpp | C++ | gdal/frmts/nitf/nitfbilevel.cpp | dtusk/gdal1 | 30dcdc1eccbca2331674f6421f1c5013807da609 | [
"MIT"
] | 3 | 2017-01-12T10:18:56.000Z | 2020-03-21T16:42:55.000Z | gdal/frmts/nitf/nitfbilevel.cpp | ShinNoNoir/gdal-1.11.5-vs2015 | 5d544e176a4c11f9bcd12a0fe66f97fd157824e6 | [
"MIT"
] | null | null | null | gdal/frmts/nitf/nitfbilevel.cpp | ShinNoNoir/gdal-1.11.5-vs2015 | 5d544e176a4c11f9bcd12a0fe66f97fd157824e6 | [
"MIT"
] | null | null | null | /******************************************************************************
* $Id$
*
* Project: NITF Read/Write Library
* Purpose: Module implement BILEVEL (C1) compressed image reading.
* Author: Frank Warmerdam, warmerdam@pobox.com
*
*********************************************************************... | 37.672566 | 79 | 0.571294 | dtusk |
6123a23ea132e1dca89108f53c573f719945941b | 340 | cpp | C++ | test/incrementalTest/taskexecutor.cpp | JamesMBallard/qmake-unity | cf5006a83e7fb1bbd173a9506771693a673d387f | [
"MIT"
] | 16 | 2019-05-23T08:10:39.000Z | 2021-12-21T11:20:37.000Z | test/incrementalTest/taskexecutor.cpp | JamesMBallard/qmake-unity | cf5006a83e7fb1bbd173a9506771693a673d387f | [
"MIT"
] | null | null | null | test/incrementalTest/taskexecutor.cpp | JamesMBallard/qmake-unity | cf5006a83e7fb1bbd173a9506771693a673d387f | [
"MIT"
] | 2 | 2019-05-23T18:37:43.000Z | 2021-08-24T21:29:40.000Z | #include "taskexecutor.h"
#include <QCoreApplication>
#include <QDebug>
#include "factory.h"
#include "task.h"
TaskExecutor::TaskExecutor()
{
}
void TaskExecutor::Exec()
{
qDebug() << Factory::Instance().GetTasks().keys();
for (Task *task : Factory::Instance().GetTasks())
{
task->Exec();
}
... | 14.782609 | 54 | 0.617647 | JamesMBallard |
6124788fc0796d3af47371f6248c4b272111f6d3 | 2,492 | cpp | C++ | src/generated/rpg_skill.cpp | TestGabu/liblcf | c4b58844ef10179910b92a7cfbf23ab593cc2ade | [
"MIT"
] | 1 | 2020-06-13T08:21:53.000Z | 2020-06-13T08:21:53.000Z | src/generated/rpg_skill.cpp | TestGabu/liblcf | c4b58844ef10179910b92a7cfbf23ab593cc2ade | [
"MIT"
] | 8 | 2020-06-13T08:22:17.000Z | 2022-03-02T00:56:44.000Z | src/generated/rpg_skill.cpp | TestGabu/liblcf | c4b58844ef10179910b92a7cfbf23ab593cc2ade | [
"MIT"
] | null | null | null | /* !!!! GENERATED FILE - DO NOT EDIT !!!!
* --------------------------------------
*
* This file is part of liblcf. Copyright (c) 2020 liblcf authors.
* https://github.com/EasyRPG/liblcf - https://easyrpg.org
*
* liblcf is Free/Libre Open Source Software, released under the MIT License.
* For the full copyright ... | 34.136986 | 77 | 0.607143 | TestGabu |
61291c6337289c39a0f16036e033bfec3e31c400 | 25,726 | cpp | C++ | Firmware/graphics/fonts/LcdNova16px.cpp | ValentiWorkLearning/GradWork | 70bb5a629df056a559bae3694b47a2e5dc98c23b | [
"MIT"
] | 39 | 2019-10-23T12:06:16.000Z | 2022-01-26T04:28:29.000Z | Firmware/graphics/fonts/LcdNova16px.cpp | ValentiWorkLearning/GradWork | 70bb5a629df056a559bae3694b47a2e5dc98c23b | [
"MIT"
] | 20 | 2020-03-21T20:21:46.000Z | 2021-11-19T14:34:03.000Z | Firmware/graphics/fonts/LcdNova16px.cpp | ValentiWorkLearning/GradWork | 70bb5a629df056a559bae3694b47a2e5dc98c23b | [
"MIT"
] | 7 | 2019-10-18T09:44:10.000Z | 2021-06-11T13:05:16.000Z | /*******************************************************************************
* Size: 16 px
* Bpp: 2
* Opts:
******************************************************************************/
#ifdef LV_LVGL_H_INCLUDE_SIMPLE
#include "lvgl.h"
#else
#include "lvgl/lvgl.h"
#endif
#ifndef LCDNOVA16PX
#define LCDNOVA... | 38.225854 | 116 | 0.539571 | ValentiWorkLearning |
61297217838392a620afa280b2f3460a11ebf701 | 9,121 | cpp | C++ | src/shogun/mathematics/Math.cpp | srgnuclear/shogun | 33c04f77a642416376521b0cd1eed29b3256ac13 | [
"Ruby",
"MIT"
] | 1 | 2015-11-05T18:31:14.000Z | 2015-11-05T18:31:14.000Z | src/shogun/mathematics/Math.cpp | waderly/shogun | 9288b6fa38e001d63c32188f7f847dadea66e2ae | [
"Ruby",
"MIT"
] | null | null | null | src/shogun/mathematics/Math.cpp | waderly/shogun | 9288b6fa38e001d63c32188f7f847dadea66e2ae | [
"Ruby",
"MIT"
] | null | null | null | /*
* 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 your option) any later version.
*
* Written (W) 1999-2009 Soeren Sonnenburg
* Written (W) 1999... | 24.002632 | 109 | 0.662318 | srgnuclear |
612ab4a1d6d24658a06cf445b492f4b86ff929b7 | 4,132 | cpp | C++ | Cala/src/Graphics/Camera.cpp | dominikcondric/Cala | 1393d5266b2d7e709a3a7aa0abcc7c0d86a4a810 | [
"Apache-2.0"
] | null | null | null | Cala/src/Graphics/Camera.cpp | dominikcondric/Cala | 1393d5266b2d7e709a3a7aa0abcc7c0d86a4a810 | [
"Apache-2.0"
] | null | null | null | Cala/src/Graphics/Camera.cpp | dominikcondric/Cala | 1393d5266b2d7e709a3a7aa0abcc7c0d86a4a810 | [
"Apache-2.0"
] | null | null | null | #include "Camera.h"
#include <iostream>
#include <glm/gtx/string_cast.hpp>
#define SPACE_MOVE (movCalagth * deltaTime)
#define FULL_CIRCLE (2 * glm::pi<float>())
Camera::Camera()
{
recalculateEulerAngles();
}
void Camera::recalculateEulerAngles()
{
wDirection = glm::normalize(center - position);
center = position... | 20.974619 | 139 | 0.717086 | dominikcondric |
612c6b07b7eb8356d1b331a3e10e990e608ec2fd | 4,929 | cxx | C++ | pandatool/src/flt/fltTransformPut.cxx | cmarshall108/panda3d-python3 | 8bea2c0c120b03ec1c9fd179701fdeb7510bb97b | [
"PHP-3.0",
"PHP-3.01"
] | null | null | null | pandatool/src/flt/fltTransformPut.cxx | cmarshall108/panda3d-python3 | 8bea2c0c120b03ec1c9fd179701fdeb7510bb97b | [
"PHP-3.0",
"PHP-3.01"
] | null | null | null | pandatool/src/flt/fltTransformPut.cxx | cmarshall108/panda3d-python3 | 8bea2c0c120b03ec1c9fd179701fdeb7510bb97b | [
"PHP-3.0",
"PHP-3.01"
] | null | null | null | /**
* PANDA 3D SOFTWARE
* Copyright (c) Carnegie Mellon University. All rights reserved.
*
* All use of this software is subject to the terms of the revised BSD
* license. You should have received a copy of this license along
* with this source code in a file named "LICENSE."
*
* @file fltTransformPut.cxx
* ... | 25.147959 | 84 | 0.725096 | cmarshall108 |
612cc7a9fa34f85443bafc8594bfcf01419674aa | 304 | cpp | C++ | examples/OnOffButton/main.cpp | Qt-Widgets/Qt-custom-switch-widget | 6b8afa155255fad0731dc8ec0ab86cdec202ba02 | [
"Apache-2.0"
] | null | null | null | examples/OnOffButton/main.cpp | Qt-Widgets/Qt-custom-switch-widget | 6b8afa155255fad0731dc8ec0ab86cdec202ba02 | [
"Apache-2.0"
] | null | null | null | examples/OnOffButton/main.cpp | Qt-Widgets/Qt-custom-switch-widget | 6b8afa155255fad0731dc8ec0ab86cdec202ba02 | [
"Apache-2.0"
] | null | null | null | #include <QApplication>
#include <qcswitchwidget.hpp>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
SwitchButton w;
w.setStylesheet("../../../examples/OnOffButton/power_on.png", "../../../examples/OnOffButton/power_off.png");
w.show();
return a.exec();
}
| 25.333333 | 114 | 0.625 | Qt-Widgets |
9ed412a174a0385263fdc0d2a8dcbdb0169e1ec7 | 1,102 | cpp | C++ | test/cpp/asyncworker.cpp | yorkie/nan | f500c71a31da98de4278d8e1d009068b72a34344 | [
"MITNFA"
] | 380 | 2015-01-06T15:52:07.000Z | 2021-11-08T11:17:02.000Z | test/cpp/asyncworker.cpp | yorkie/nan | f500c71a31da98de4278d8e1d009068b72a34344 | [
"MITNFA"
] | 124 | 2015-01-01T02:51:40.000Z | 2021-03-03T18:06:55.000Z | test/cpp/asyncworker.cpp | yorkie/nan | f500c71a31da98de4278d8e1d009068b72a34344 | [
"MITNFA"
] | 36 | 2015-01-09T19:01:16.000Z | 2019-09-05T05:34:12.000Z | /**********************************************************************************
* NAN - Native Abstractions for Node.js
*
* Copyright (c) 2014 NAN contributors
*
* MIT +no-false-attribs License <https://github.com/rvagg/nan/blob/master/LICENSE>
*****************************************************************... | 25.627907 | 84 | 0.594374 | yorkie |
9ed4a394313a449f9994f3557edf14360a300eb8 | 8,873 | cc | C++ | chrome/browser/extensions/api/automation_internal/automation_internal_api.cc | anirudhSK/chromium | a8f23c87e656ab9ba49de9ccccbc53f614cdcb41 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/extensions/api/automation_internal/automation_internal_api.cc | anirudhSK/chromium | a8f23c87e656ab9ba49de9ccccbc53f614cdcb41 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/extensions/api/automation_internal/automation_internal_api.cc | anirudhSK/chromium | a8f23c87e656ab9ba49de9ccccbc53f614cdcb41 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2015-04-17T13:19:09.000Z | 2021-10-21T12:55:15.000Z | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/extensions/api/automation_internal/automation_internal_api.h"
#include "base/command_line.h"
#include "base/lazy_instance.h"
#in... | 38.578261 | 86 | 0.698636 | anirudhSK |
9ed5c858eaa34150ae4a77912341a4047fd70f46 | 22,679 | cpp | C++ | app.cpp | wang-bin/keygen | 4d00bf41b88b1a7e0fec228e89fb94a3a871ffe7 | [
"MIT"
] | 6 | 2021-04-09T03:04:11.000Z | 2022-02-18T01:38:38.000Z | app.cpp | wang-bin/keygen | 4d00bf41b88b1a7e0fec228e89fb94a3a871ffe7 | [
"MIT"
] | null | null | null | app.cpp | wang-bin/keygen | 4d00bf41b88b1a7e0fec228e89fb94a3a871ffe7 | [
"MIT"
] | 1 | 2021-04-09T08:42:25.000Z | 2021-04-09T08:42:25.000Z | /*
* Copyright (c) 2019-2021 WangBin <wbsecg1 at gmail.com>
* This file is part of MDK
* MDK SDK: https://github.com/wang-bin/mdk-sdk
*
* The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
*
* This code is public domain.
*/
#ifndef ... | 31.897328 | 236 | 0.59888 | wang-bin |
9ed9b5fd17228803f9947dc8b3580215bc18ad57 | 15,066 | cpp | C++ | ros/src/airsim_ros_pkgs/src/pd_position_controller_simple.cpp | whatseven/AirSim | fe7e4e7c782cf1077594c1ee6cc1bbfec3f66bd1 | [
"MIT"
] | 4 | 2018-06-27T02:18:53.000Z | 2019-08-27T18:52:32.000Z | ros/src/airsim_ros_pkgs/src/pd_position_controller_simple.cpp | Abdulkadir-Muhendis/AirSim | c6f0729006ecd6d792a750edc7e27021469c5649 | [
"MIT"
] | 4 | 2020-03-05T15:42:17.000Z | 2020-03-19T05:37:58.000Z | ros/src/airsim_ros_pkgs/src/pd_position_controller_simple.cpp | Abdulkadir-Muhendis/AirSim | c6f0729006ecd6d792a750edc7e27021469c5649 | [
"MIT"
] | 4 | 2020-04-08T21:53:00.000Z | 2022-01-14T17:04:29.000Z | #include "pd_position_controller_simple.h"
bool PIDParams::load_from_rosparams(const ros::NodeHandle &nh)
{
bool found = true;
found = found && nh.getParam("kp_x", kp_x);
found = found && nh.getParam("kp_y", kp_y);
found = found && nh.getParam("kp_z", kp_z);
found = found && nh.getParam("kp_yaw", ... | 43.543353 | 213 | 0.694544 | whatseven |
9eda34e5cd436234aa61ef24ed29db7b766a1ce1 | 3,069 | cpp | C++ | basic/array/fenwick_count_smaller_greater.cpp | sanjosh/smallprogs | 8acf7a357080b9154b55565be7c7667db0d4049b | [
"Apache-2.0"
] | 7 | 2017-02-28T06:33:43.000Z | 2021-12-17T04:58:19.000Z | basic/array/fenwick_count_smaller_greater.cpp | sanjosh/smallprogs | 8acf7a357080b9154b55565be7c7667db0d4049b | [
"Apache-2.0"
] | null | null | null | basic/array/fenwick_count_smaller_greater.cpp | sanjosh/smallprogs | 8acf7a357080b9154b55565be7c7667db0d4049b | [
"Apache-2.0"
] | 3 | 2017-02-28T06:33:30.000Z | 2021-02-25T09:42:31.000Z | /*
https://www.geeksforgeeks.org/find-number-of-triplets-in-array-such-that-aiajak-and-ijk/
*/
#include <iostream>
#include <cassert>
using namespace std;
template <int NUM>
class Fenwick
{
/*
* array looks like 1,2,1,4,1,2,1,8,
*/
public:
static constexpr int MAXN = NUM;
private:
... | 19.928571 | 88 | 0.429782 | sanjosh |
9edd23c236713d0d7828ca70da21acbcb9622034 | 64,024 | cc | C++ | ui/ozone/platform/wayland/wayland_buffer_manager_unittest.cc | Ron423c/chromium | 2edf7b980065b648f8b2a6e52193d83832fe36b7 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | ui/ozone/platform/wayland/wayland_buffer_manager_unittest.cc | Ron423c/chromium | 2edf7b980065b648f8b2a6e52193d83832fe36b7 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | ui/ozone/platform/wayland/wayland_buffer_manager_unittest.cc | Ron423c/chromium | 2edf7b980065b648f8b2a6e52193d83832fe36b7 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2021-03-07T14:20:02.000Z | 2021-03-07T14:20:02.000Z | // Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/ozone/platform/wayland/gpu/wayland_buffer_manager_gpu.h"
#include "ui/ozone/platform/wayland/host/wayland_buffer_manager_host.h"
#include <d... | 37.816893 | 80 | 0.701628 | Ron423c |
9ede66f8f8c0478160490390440cd9c6f62476c4 | 7,571 | cpp | C++ | level_zero/core/test/unit_tests/sources/debugger/linux/test_l0_debugger_linux.cpp | lukaszgotszaldintel/compute-runtime | 9b12dc43904806db07616ffb8b1c4495aa7d610f | [
"MIT"
] | 1 | 2019-03-01T13:54:45.000Z | 2019-03-01T13:54:45.000Z | level_zero/core/test/unit_tests/sources/debugger/linux/test_l0_debugger_linux.cpp | lukaszgotszaldintel/compute-runtime | 9b12dc43904806db07616ffb8b1c4495aa7d610f | [
"MIT"
] | 5 | 2019-03-26T17:26:07.000Z | 2021-03-30T12:17:10.000Z | level_zero/core/test/unit_tests/sources/debugger/linux/test_l0_debugger_linux.cpp | lukaszgotszaldintel/compute-runtime | 9b12dc43904806db07616ffb8b1c4495aa7d610f | [
"MIT"
] | 4 | 2018-05-09T10:04:27.000Z | 2018-07-12T13:33:31.000Z | /*
* Copyright (C) 2020-2021 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "shared/source/execution_environment/root_device_environment.h"
#include "shared/source/kernel/debug_data.h"
#include "shared/source/os_interface/linux/os_interface.h"
#include "opencl/test/unit_test/mocks/linux/mock_dr... | 41.828729 | 127 | 0.766874 | lukaszgotszaldintel |
9edee36420ae6d029fe5e7c08bfa2fe67a3ebb86 | 1,782 | cpp | C++ | 111. Minimum Depth of Binary Tree.cpp | NeoYY/Leetcode-Solution | 0f067973d3c296ac7f2fa85a89dbdd5295b0b037 | [
"MIT"
] | null | null | null | 111. Minimum Depth of Binary Tree.cpp | NeoYY/Leetcode-Solution | 0f067973d3c296ac7f2fa85a89dbdd5295b0b037 | [
"MIT"
] | null | null | null | 111. Minimum Depth of Binary Tree.cpp | NeoYY/Leetcode-Solution | 0f067973d3c296ac7f2fa85a89dbdd5295b0b037 | [
"MIT"
] | null | null | null | /*
Given a binary tree, find its minimum depth.
The minimum depth is the number of nodes along the shortest path from the root node down to the nearest leaf node.
Note: A leaf is a node with no children.
Example:
Given binary tree [3,9,20,null,null,15,7],
3
/ \
9 20
/ \
15 7
return its minimum ... | 25.826087 | 114 | 0.517957 | NeoYY |
9ee3ee9edf23e614f0743dc65fe3a2791c969bc0 | 2,455 | cc | C++ | src/yb/tablet/operations/truncate_operation.cc | hstenzel/yugabyte-db | b25c8f4d7a9e66d106c41c446b71af870aefa304 | [
"Apache-2.0",
"CC0-1.0"
] | 1 | 2020-06-23T20:28:25.000Z | 2020-06-23T20:28:25.000Z | src/yb/tablet/operations/truncate_operation.cc | hstenzel/yugabyte-db | b25c8f4d7a9e66d106c41c446b71af870aefa304 | [
"Apache-2.0",
"CC0-1.0"
] | 189 | 2021-02-19T01:23:31.000Z | 2021-04-02T01:03:14.000Z | src/yb/tablet/operations/truncate_operation.cc | hstenzel/yugabyte-db | b25c8f4d7a9e66d106c41c446b71af870aefa304 | [
"Apache-2.0",
"CC0-1.0"
] | 1 | 2020-12-30T00:43:38.000Z | 2020-12-30T00:43:38.000Z | // Copyright (c) YugaByte, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
// in compliance with the License. You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writ... | 30.308642 | 100 | 0.752342 | hstenzel |
9ee4d958de2ba5e20658dbec5b892bb427c1751c | 1,347 | cpp | C++ | Uncategorized/coi20p2.cpp | crackersamdjam/DMOJ-Solutions | 97992566595e2c7bf41b5da9217d8ef61bdd1d71 | [
"MIT"
] | null | null | null | Uncategorized/coi20p2.cpp | crackersamdjam/DMOJ-Solutions | 97992566595e2c7bf41b5da9217d8ef61bdd1d71 | [
"MIT"
] | null | null | null | Uncategorized/coi20p2.cpp | crackersamdjam/DMOJ-Solutions | 97992566595e2c7bf41b5da9217d8ef61bdd1d71 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
#define all(x) (x).begin(), (x).end()
#ifdef LOCAL
template<typename T> void pr(T a){std::cerr<<a<<std::endl;}
template<typename T,typename... Args> void pr(T a, Args... args) {std::cerr<<a<<' ',pr(args...);}
#else
template<typename... Args> void pr(Args... args){}
#endif
using name... | 19.808824 | 98 | 0.466221 | crackersamdjam |
9ee550ee6ddf842985c6a79ad3843bd996d9ad36 | 11,290 | c++ | C++ | c++/src/kj/mutex.c++ | michaeledgar/capnproto | a211aa603c74ff5ce9ac1b1b8c7b1871148c39ab | [
"MIT"
] | null | null | null | c++/src/kj/mutex.c++ | michaeledgar/capnproto | a211aa603c74ff5ce9ac1b1b8c7b1871148c39ab | [
"MIT"
] | null | null | null | c++/src/kj/mutex.c++ | michaeledgar/capnproto | a211aa603c74ff5ce9ac1b1b8c7b1871148c39ab | [
"MIT"
] | null | null | null | // Copyright (c) 2013-2014 Sandstorm Development Group, Inc. and contributors
// Licensed under 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, inc... | 33.802395 | 98 | 0.636935 | michaeledgar |
9ee9bb95e61fce5de7a41a560133841e914e03f2 | 15,343 | cpp | C++ | data/409.cpp | TianyiChen/rdcpp-data | 75c6868c876511e3ce143fdc3c08ddd74c7aa4ea | [
"MIT"
] | null | null | null | data/409.cpp | TianyiChen/rdcpp-data | 75c6868c876511e3ce143fdc3c08ddd74c7aa4ea | [
"MIT"
] | null | null | null | data/409.cpp | TianyiChen/rdcpp-data | 75c6868c876511e3ce143fdc3c08ddd74c7aa4ea | [
"MIT"
] | null | null | null | int/**/
dK /*OSX*/,ta , /*LIV*/ cbh
,
Vf8aBIx
, lKz,
JW ,
RPh , h ,/*HD*/ rOZ
, ODplY,Qn , kn5H5B , S9c, OZv
//2F
, Pc5
,Wk ,ageqw4H,
UP
, x74 , WB
,t8f//7WX4R
,//af
Zo ,
EpY, tYq1//l
, FMLIpo, yy4BNG,
RZyG
, cSq,Gc ,QvLJ,SXJ,
u2TZ ,//BKv
DZn
,dEwTH,
tBKTulS8
,wTiQr ,DP, di9
,uUe ,vohZ ,Hg... | 10.221852 | 87 | 0.453106 | TianyiChen |
9eea46f2a6f0fde3b5d54984a6828485c1954a81 | 1,526 | cxx | C++ | Modules/Core/Common/src/itkNumericTraitsTensorPixel2.cxx | khangthk/ITK | f3c12edaf9cef07dbc34107e1a8aec9859204116 | [
"Apache-2.0"
] | null | null | null | Modules/Core/Common/src/itkNumericTraitsTensorPixel2.cxx | khangthk/ITK | f3c12edaf9cef07dbc34107e1a8aec9859204116 | [
"Apache-2.0"
] | null | null | null | Modules/Core/Common/src/itkNumericTraitsTensorPixel2.cxx | khangthk/ITK | f3c12edaf9cef07dbc34107e1a8aec9859204116 | [
"Apache-2.0"
] | null | null | null | /*=========================================================================
*
* Copyright NumFOCUS
*
* 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
*
* https://www.apache.o... | 41.243243 | 97 | 0.699869 | khangthk |
9eeac98af5009ed592d4fdb55c08b26df865e519 | 2,850 | cpp | C++ | BAC_2nd/ch9/uva10618.cpp | Anyrainel/aoapc-code | e787a01380698fb9236d933462052f97b20e6132 | [
"Apache-2.0"
] | 3 | 2017-08-15T06:00:01.000Z | 2018-12-10T09:05:53.000Z | BAC_2nd/ch9/uva10618.cpp | Anyrainel/aoapc-related-code | e787a01380698fb9236d933462052f97b20e6132 | [
"Apache-2.0"
] | null | null | null | BAC_2nd/ch9/uva10618.cpp | Anyrainel/aoapc-related-code | e787a01380698fb9236d933462052f97b20e6132 | [
"Apache-2.0"
] | 2 | 2017-09-16T18:46:27.000Z | 2018-05-22T05:42:03.000Z | // UVa10618 Tango Tango Insurrection
// Rujia Liu
// Tricky case: .RDLU
// Answer: RLRLR (yes, you TURNED around!)
#include<cstdio>
#include<cstring>
#include<cassert>
const int UP = 0;
const int LEFT = 1;
const int RIGHT = 2;
const int DOWN = 3;
const int maxn = 70 + 5;
// d[i][a][b][s] means the minimal future ene... | 26.886792 | 104 | 0.488421 | Anyrainel |
9eed1baa918fa824b153af7b47a3524aa46d02d7 | 12,572 | hpp | C++ | src/container/ordered_map.hpp | clienthax/neptools | 90f3e1cc8cf388e7050b15c44fa51e330973fd53 | [
"WTFPL"
] | 1 | 2021-04-23T20:23:26.000Z | 2021-04-23T20:23:26.000Z | src/container/ordered_map.hpp | clienthax/neptools | 90f3e1cc8cf388e7050b15c44fa51e330973fd53 | [
"WTFPL"
] | null | null | null | src/container/ordered_map.hpp | clienthax/neptools | 90f3e1cc8cf388e7050b15c44fa51e330973fd53 | [
"WTFPL"
] | null | null | null | #ifndef UUID_6D8552D7_1BF6_468A_A6E3_D0829B5390C1
#define UUID_6D8552D7_1BF6_468A_A6E3_D0829B5390C1
#pragma once
#include "intrusive.hpp"
#include "../shared_ptr.hpp"
#include <boost/intrusive/set.hpp>
#include <vector>
namespace Neptools
{
NEPTOOLS_GEN_EXCEPTION_TYPE(ItemAlreadyAdded, std::logic_error);
template ... | 32.569948 | 84 | 0.606984 | clienthax |
9eee905d9168959b415257b0e45eb82e1bdacda0 | 620 | cpp | C++ | extra/news/src/apk/hgdm/phr-graph/phr-graph-core/token/phr-graph-statement-info.cpp | scignscape/PGVM | e24f46cdf657a8bdb990c7883c6bd3d0a0c9cff0 | [
"BSL-1.0"
] | null | null | null | extra/news/src/apk/hgdm/phr-graph/phr-graph-core/token/phr-graph-statement-info.cpp | scignscape/PGVM | e24f46cdf657a8bdb990c7883c6bd3d0a0c9cff0 | [
"BSL-1.0"
] | null | null | null | extra/news/src/apk/hgdm/phr-graph/phr-graph-core/token/phr-graph-statement-info.cpp | scignscape/PGVM | e24f46cdf657a8bdb990c7883c6bd3d0a0c9cff0 | [
"BSL-1.0"
] | null | null | null |
// Copyright Nathaniel Christen 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)
#include "phr-graph-statement-info.h"
#include <QRegularExpression>
#include <QDebug>
#include "... | 23.846154 | 85 | 0.759677 | scignscape |
9eef4e7d197ab709c6b0043b1db9641b07d6b67a | 2,395 | cpp | C++ | src/os/linux/VulkanSurfaceXcb.cpp | mlfarrell/VGL-Vulkan-Core | 9528f18920c67abd0f722db0e1472972a77c51be | [
"Apache-2.0"
] | 60 | 2018-12-17T07:35:32.000Z | 2022-01-27T11:21:03.000Z | src/os/linux/VulkanSurfaceXcb.cpp | mlfarrell/VGL-Vulkan-Core | 9528f18920c67abd0f722db0e1472972a77c51be | [
"Apache-2.0"
] | 12 | 2018-12-16T23:30:15.000Z | 2020-10-02T06:29:45.000Z | src/os/linux/VulkanSurfaceXcb.cpp | mlfarrell/VulkanConcepts | 9528f18920c67abd0f722db0e1472972a77c51be | [
"Apache-2.0"
] | 8 | 2018-12-18T14:16:23.000Z | 2021-08-05T01:08:59.000Z | /*********************************************************************
Copyright 2018 VERTO STUDIO LLC.
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.... | 30.705128 | 121 | 0.662213 | mlfarrell |
9eefb1c8c07e9546f88a3b90aeb082fba7ddae1d | 894 | cpp | C++ | LeetCode/704. Binary Search/solution.cpp | nik3212/challenges | b127bc66ffa27bfdef87ac402dc080f933dad893 | [
"MIT"
] | 1 | 2021-06-15T12:48:47.000Z | 2021-06-15T12:48:47.000Z | LeetCode/704. Binary Search/solution.cpp | nik3212/challenges | b127bc66ffa27bfdef87ac402dc080f933dad893 | [
"MIT"
] | null | null | null | LeetCode/704. Binary Search/solution.cpp | nik3212/challenges | b127bc66ffa27bfdef87ac402dc080f933dad893 | [
"MIT"
] | null | null | null | /*
704. Binary Search
Given an array of integers nums which is sorted in ascending order, and an integer target, write a function to search target in nums. If target exists, then return its index. Otherwise, return -1.
You must write an algorithm with O(log n) runtime complexity.
*/
class Solution {
int binary... | 28.83871 | 196 | 0.60179 | nik3212 |
9ef052b7ec67264d226353784f7f301ff23734de | 30,311 | hpp | C++ | master/core/third/boost/ratio/detail/ratio_io.hpp | importlib/klib | a59837857689d0e60d3df6d2ebd12c3160efa794 | [
"MIT"
] | 198 | 2015-01-13T05:47:18.000Z | 2022-03-09T04:46:46.000Z | master/core/third/boost/ratio/detail/ratio_io.hpp | isuhao/klib | a59837857689d0e60d3df6d2ebd12c3160efa794 | [
"MIT"
] | 197 | 2017-07-06T16:53:59.000Z | 2019-05-31T17:57:51.000Z | master/core/third/boost/ratio/detail/ratio_io.hpp | isuhao/klib | a59837857689d0e60d3df6d2ebd12c3160efa794 | [
"MIT"
] | 139 | 2015-01-15T20:09:31.000Z | 2022-01-31T15:21:16.000Z | // ratio_io
//
// (C) Copyright Howard Hinnant
// (C) Copyright 2010 Vicente J. Botet Escriba
// Use, modification and distribution are subject to 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).
//
// This code was ada... | 28.978011 | 191 | 0.675266 | importlib |
9ef3b1f958a702f198ee0bb41c73ea079dafcdc3 | 27,271 | cpp | C++ | java/src/main/native/src/NvcompJni.cpp | sperlingxx/cudf | c681211df6253e1ceee9203658108980e7e93e3c | [
"Apache-2.0"
] | 1 | 2021-12-17T19:28:00.000Z | 2021-12-17T19:28:00.000Z | java/src/main/native/src/NvcompJni.cpp | sperlingxx/cudf | c681211df6253e1ceee9203658108980e7e93e3c | [
"Apache-2.0"
] | 1 | 2021-02-23T18:05:36.000Z | 2021-02-23T18:05:36.000Z | java/src/main/native/src/NvcompJni.cpp | sperlingxx/cudf | c681211df6253e1ceee9203658108980e7e93e3c | [
"Apache-2.0"
] | 1 | 2020-11-10T03:19:16.000Z | 2020-11-10T03:19:16.000Z | /*
* Copyright (c) 2020, NVIDIA 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 ... | 49.048561 | 100 | 0.543398 | sperlingxx |
9ef4f8167cb9e25833b85487b6024e71ebe4882e | 1,571 | cpp | C++ | models/cache/mcp-cache/coherence/sharers.cpp | Basseuph/manifold | 99779998911ed7e8b8ff6adacc7f93080409a5fe | [
"BSD-3-Clause"
] | 8 | 2016-01-22T18:28:48.000Z | 2021-05-07T02:27:21.000Z | models/cache/mcp-cache/coherence/sharers.cpp | Basseuph/manifold | 99779998911ed7e8b8ff6adacc7f93080409a5fe | [
"BSD-3-Clause"
] | 3 | 2016-04-15T02:58:58.000Z | 2017-01-19T17:07:34.000Z | models/cache/mcp-cache/coherence/sharers.cpp | Basseuph/manifold | 99779998911ed7e8b8ff6adacc7f93080409a5fe | [
"BSD-3-Clause"
] | 10 | 2015-12-11T04:16:55.000Z | 2019-05-25T20:58:13.000Z | #include "sharers.h"
namespace manifold {
namespace mcp_cache_namespace {
/** @brief sharers
*
* @todo: document this function
*/
sharers::sharers(size_t size) : data(size)
{
}
/** @brief ~sharers
*
* @todo: document this function
*/
sharers::~sharers()
{
}
/** @brief get
*
* Get the status of a ... | 14.412844 | 61 | 0.565882 | Basseuph |
9ef8259611d7e67c3566eaa3ae7425665c2e94e5 | 600 | hpp | C++ | includes/eeros/sequencer/SequencerUI.hpp | RicoPauli/eeros | 3cc2802253c764b16c6368ad7bdaef1e3c683367 | [
"Apache-2.0"
] | null | null | null | includes/eeros/sequencer/SequencerUI.hpp | RicoPauli/eeros | 3cc2802253c764b16c6368ad7bdaef1e3c683367 | [
"Apache-2.0"
] | null | null | null | includes/eeros/sequencer/SequencerUI.hpp | RicoPauli/eeros | 3cc2802253c764b16c6368ad7bdaef1e3c683367 | [
"Apache-2.0"
] | null | null | null | #ifndef ORG_EEROS_SEQUENCER_SEQUENCERUI_HPP_
#define ORG_EEROS_SEQUENCER_SEQUENCERUI_HPP_
#include <eeros/core/Thread.hpp>
namespace eeros {
namespace sequencer {
void sigPipeHandler(int signum);
// class Sequencer;
class SequencerUI : public eeros::Thread {
public:
SequencerUI();
virtual ~Seq... | 18.181818 | 46 | 0.703333 | RicoPauli |
9efc0554ce97d02a80dcaf7c5fadb4ee32bf1b1d | 530 | cpp | C++ | 2.3.cpp | sushithreddy75/DATA-STRUCTURES | ec948dbaadd0c675596ba1b6fd7c71ef14c9d656 | [
"MIT"
] | 1 | 2021-07-22T04:19:46.000Z | 2021-07-22T04:19:46.000Z | 2.3.cpp | sushithreddy75/DATA-STRUCTURES | ec948dbaadd0c675596ba1b6fd7c71ef14c9d656 | [
"MIT"
] | null | null | null | 2.3.cpp | sushithreddy75/DATA-STRUCTURES | ec948dbaadd0c675596ba1b6fd7c71ef14c9d656 | [
"MIT"
] | null | null | null | #include<iostream>
using namespace std;
union u
{
int x;
char c;
};
int main()
{
int n,i,j=0;
cout<<"ENTER SIZE OF ARRAY: ";
cin>>n;
union u a[n];
union u *l=a,*r=a+n-1;
while(l<=r)
{
cout<<"ENTER 0 TO ENTER INTEGER 1 FOR CHARACTER ";
cin>>i;
if(i==1)
{
cout<<"ENTER CHARACTER: ";
cin>>r->c;
r-... | 13.25 | 52 | 0.50566 | sushithreddy75 |
9efd0e70d4aed1aa2a96b7c6c054c24a0ae8b0a3 | 82 | cxx | C++ | Information_Extraction/CRF++/python/PaxHeader/CRFPP_wrap.cxx | zenithanu/Information_Analysis | 5436838212509523d89f0ad395b945ef66015890 | [
"Apache-2.0"
] | null | null | null | Information_Extraction/CRF++/python/PaxHeader/CRFPP_wrap.cxx | zenithanu/Information_Analysis | 5436838212509523d89f0ad395b945ef66015890 | [
"Apache-2.0"
] | null | null | null | Information_Extraction/CRF++/python/PaxHeader/CRFPP_wrap.cxx | zenithanu/Information_Analysis | 5436838212509523d89f0ad395b945ef66015890 | [
"Apache-2.0"
] | null | null | null | 14 gid=567620
14 uid=567620
27 mtime=1464137112.294804
27 atime=1466558106.914905
| 16.4 | 26 | 0.829268 | zenithanu |
9efd1dae3a7eefaeaa85d7269a5260e45e74697a | 103 | cpp | C++ | chap02/Main.cpp | HarryLovesCode/Vulkan-API-Book | ac552b5d9cba1c4f85d9ec911ec39698b2649c79 | [
"MIT"
] | 58 | 2016-03-28T18:53:34.000Z | 2021-12-16T09:04:35.000Z | chap03/Main.cpp | HarryLovesCode/Vulkan-API-Book | ac552b5d9cba1c4f85d9ec911ec39698b2649c79 | [
"MIT"
] | 9 | 2016-03-24T01:08:31.000Z | 2021-05-31T10:56:49.000Z | chap03/Main.cpp | HarryLovesCode/Vulkan-API-Book | ac552b5d9cba1c4f85d9ec911ec39698b2649c79 | [
"MIT"
] | 6 | 2016-11-30T15:42:37.000Z | 2021-12-16T09:04:34.000Z | #include "VulkanExample.hpp"
int main(int argc, char *argv[]) { VulkanExample ve = VulkanExample(); }
| 25.75 | 72 | 0.708738 | HarryLovesCode |
9effae0a0aae26af71b3e7680cc52677362e4197 | 10,222 | cpp | C++ | CViewer.cpp | mhoopmann/KojakSpectrumViewer | 35fe56b3686dfdbe36e4bd5aab6f8d7ee04d6491 | [
"Apache-2.0"
] | 4 | 2017-06-08T21:28:24.000Z | 2021-02-25T13:22:00.000Z | CViewer.cpp | mhoopmann/KojakSpectrumViewer | 35fe56b3686dfdbe36e4bd5aab6f8d7ee04d6491 | [
"Apache-2.0"
] | null | null | null | CViewer.cpp | mhoopmann/KojakSpectrumViewer | 35fe56b3686dfdbe36e4bd5aab6f8d7ee04d6491 | [
"Apache-2.0"
] | 1 | 2020-10-04T18:10:01.000Z | 2020-10-04T18:10:01.000Z | /*
Copyright 2016, Michael R. Hoopmann, Institute for Systems Biology
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 o... | 21.076289 | 247 | 0.648699 | mhoopmann |
9effedced5b54003e0023eaba910e312ed8ff668 | 1,497 | cpp | C++ | sdl2/arkanoid/src/source/App.cpp | pdpdds/SDLGameProgramming | 3af68e2133296f3e7bc3d7454d9301141bca2d5a | [
"BSD-2-Clause"
] | null | null | null | sdl2/arkanoid/src/source/App.cpp | pdpdds/SDLGameProgramming | 3af68e2133296f3e7bc3d7454d9301141bca2d5a | [
"BSD-2-Clause"
] | null | null | null | sdl2/arkanoid/src/source/App.cpp | pdpdds/SDLGameProgramming | 3af68e2133296f3e7bc3d7454d9301141bca2d5a | [
"BSD-2-Clause"
] | null | null | null | /*
ArkanoidRemakeSDL
a sample of object-oriented game programming with C++.
version 1.0, May 2016
Copyright (c) 2016 Giovanni Paolo Vigano'
The source code of the SDL library used by ArkanoidRemakeSDL can be found here:
https://www.libsdl.org/
---
ArkanoidRemakeSDL source code is licensed with the same zlib license:... | 26.732143 | 80 | 0.708083 | pdpdds |
7300451101ebda19476d1d6e158e7b8e30ed3994 | 3,744 | cpp | C++ | src/support/win32/locale_win32.cpp | baggio63446333/libcxx | fd596ad2a2a848159385d4b2b0f97b379e1b6245 | [
"MIT"
] | 1 | 2019-01-02T16:14:19.000Z | 2019-01-02T16:14:19.000Z | libxx/libcxx/support/win32/locale_win32.cpp | scott-eddy/libcxx | ff3918c28d405ef619716fd69260b5ca026db2d0 | [
"MIT"
] | 6 | 2019-01-02T16:13:43.000Z | 2019-01-06T12:31:45.000Z | libxx/libcxx/support/win32/locale_win32.cpp | scott-eddy/libcxx | ff3918c28d405ef619716fd69260b5ca026db2d0 | [
"MIT"
] | 2 | 2019-08-09T09:14:31.000Z | 2019-09-24T05:28:09.000Z | // -*- C++ -*-
//===-------------------- support/win32/locale_win32.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.
//
//===-------------------------... | 33.72973 | 99 | 0.657853 | baggio63446333 |
73036cf3967bd143e0cf483a92a2016ca797186c | 1,967 | cpp | C++ | gm/overdrawcolorfilter.cpp | pospx/external_skia | 7a135275c9fc2a4b3cbdcf9a96e7102724752234 | [
"BSD-3-Clause"
] | 3 | 2020-08-06T00:31:13.000Z | 2021-07-29T07:28:17.000Z | gm/overdrawcolorfilter.cpp | pospx/external_skia | 7a135275c9fc2a4b3cbdcf9a96e7102724752234 | [
"BSD-3-Clause"
] | 3 | 2020-04-26T17:03:31.000Z | 2020-04-28T14:55:33.000Z | gm/overdrawcolorfilter.cpp | pospx/external_skia | 7a135275c9fc2a4b3cbdcf9a96e7102724752234 | [
"BSD-3-Clause"
] | 57 | 2016-12-29T02:00:25.000Z | 2021-11-16T01:22:50.000Z | /*
* Copyright 2016 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "gm.h"
#include "SkCanvas.h"
#include "SkOverdrawColorFilter.h"
static inline void set_bitmap(SkBitmap* bitmap, uint8_t alpha) {
for (int y = 0; y < bitmap->heig... | 28.507246 | 87 | 0.621251 | pospx |
7304f7e0e6bdd93fec4968f507b274c80e1fa436 | 11,138 | cpp | C++ | src/Coordination/KeeperStateManager.cpp | chalice19/ClickHouse | 2f38e7bc5c2113935ab86260439bb543a1737291 | [
"Apache-2.0"
] | null | null | null | src/Coordination/KeeperStateManager.cpp | chalice19/ClickHouse | 2f38e7bc5c2113935ab86260439bb543a1737291 | [
"Apache-2.0"
] | null | null | null | src/Coordination/KeeperStateManager.cpp | chalice19/ClickHouse | 2f38e7bc5c2113935ab86260439bb543a1737291 | [
"Apache-2.0"
] | null | null | null | #include <Coordination/KeeperStateManager.h>
#include <Coordination/Defines.h>
#include <Common/Exception.h>
#include <filesystem>
#include <Common/isLocalAddress.h>
#include <Common/DNSResolver.h>
namespace DB
{
namespace ErrorCodes
{
extern const int RAFT_ERROR;
}
namespace
{
bool isLoopback(const std::strin... | 35.35873 | 171 | 0.665021 | chalice19 |
730573d2d88d24486374b280c1196ba532a9ae1d | 2,269 | inl | C++ | samples/sine.inl | kibergus/LidarVox | ac66dfe94b0e11534aa22bfd64293c614ba19d1c | [
"WTFPL"
] | null | null | null | samples/sine.inl | kibergus/LidarVox | ac66dfe94b0e11534aa22bfd64293c614ba19d1c | [
"WTFPL"
] | null | null | null | samples/sine.inl | kibergus/LidarVox | ac66dfe94b0e11534aa22bfd64293c614ba19d1c | [
"WTFPL"
] | null | null | null | static const dacsample_t dac_buffer_sine[] = {
2047, 2082, 2118, 2154, 2189, 2225, 2260, 2296, 2331, 2367, 2402, 2437,
2472, 2507, 2542, 2576, 2611, 2645, 2679, 2713, 2747, 2780, 2813, 2846,
2879, 2912, 2944, 2976, 3008, 3039, 3070, 3101, 3131, 3161, 3191, 3221,
3250, 3278, 3307, 3335, 3362, 3389, 3416, 3443, 3... | 68.757576 | 73 | 0.578228 | kibergus |
730852aeb662c1e4862b0141a2dcfb8ad66ed5b9 | 9,714 | cpp | C++ | src/caffe/layers/convolution3d_layer.cpp | antran89/New-C3D-Caffe | 50644ddee7321dcd0a9c754f09672ff6fbf2029f | [
"BSD-2-Clause"
] | 11 | 2016-06-06T14:15:53.000Z | 2021-09-07T03:12:30.000Z | src/caffe/layers/convolution3d_layer.cpp | antran89/New-C3D-Caffe | 50644ddee7321dcd0a9c754f09672ff6fbf2029f | [
"BSD-2-Clause"
] | 5 | 2016-06-13T06:40:23.000Z | 2017-01-07T09:49:29.000Z | src/caffe/layers/convolution3d_layer.cpp | antran89/New-C3D-Caffe | 50644ddee7321dcd0a9c754f09672ff6fbf2029f | [
"BSD-2-Clause"
] | 8 | 2016-06-12T11:26:00.000Z | 2018-01-04T12:33:33.000Z | /*
*
* Copyright (c) 2015, Facebook, Inc. All rights reserved.
*
* Licensed under the Creative Commons Attribution-NonCommercial 3.0
* License (the "License"). You may obtain a copy of the License at
* https://creativecommons.org/licenses/by-nc/3.0/.
* Unless required by applicable law or agreed to in writi... | 39.327935 | 118 | 0.599341 | antran89 |
730c196d21b33301570e7632c84c744cd8e62d67 | 6,072 | cpp | C++ | src/mvvmquick/inputviewfactory.cpp | SammyEnigma/QtMvvm | 441d68c6b3208cf7a50c5906782f797f3e5ccf32 | [
"BSD-3-Clause"
] | 259 | 2017-04-05T09:06:18.000Z | 2022-03-28T02:56:14.000Z | src/mvvmquick/inputviewfactory.cpp | broknfutr/QtMvvm | 441d68c6b3208cf7a50c5906782f797f3e5ccf32 | [
"BSD-3-Clause"
] | 4 | 2018-08-15T07:27:43.000Z | 2020-06-07T18:58:03.000Z | src/mvvmquick/inputviewfactory.cpp | broknfutr/QtMvvm | 441d68c6b3208cf7a50c5906782f797f3e5ccf32 | [
"BSD-3-Clause"
] | 68 | 2017-08-09T15:10:52.000Z | 2022-03-11T18:31:41.000Z | #include "inputviewfactory.h"
#include "inputviewfactory_p.h"
#include <QtCore/QCoreApplication>
#include <QtCore/QMetaType>
#include <QtQml/qqml.h>
#include <QtMvvmCore/private/qtmvvm_logging_p.h>
#include "formatters_p.h"
using namespace QtMvvm;
InputViewFactory::InputViewFactory(QObject *parent) :
QObject(par... | 38.675159 | 151 | 0.755435 | SammyEnigma |
730c4f6691fccc14dcf240041cb240fd1f235002 | 6,787 | cc | C++ | system_wrappers/source/rtp_to_ntp_estimator.cc | airmelody5211/webrtc-clone | 943843f1da42e47668c22ca758830334167f1b17 | [
"BSD-3-Clause"
] | 2 | 2019-09-01T23:36:33.000Z | 2020-04-13T11:40:13.000Z | system_wrappers/source/rtp_to_ntp_estimator.cc | zhangj1024/webrtc | 3a6b729a8edaabd2fe324e1f6f830869ec38d5ab | [
"BSD-3-Clause"
] | 2 | 2019-04-26T04:57:02.000Z | 2019-06-11T17:55:16.000Z | system_wrappers/source/rtp_to_ntp_estimator.cc | zhangj1024/webrtc | 3a6b729a8edaabd2fe324e1f6f830869ec38d5ab | [
"BSD-3-Clause"
] | 4 | 2021-04-22T09:36:05.000Z | 2022-02-21T01:57:59.000Z | /*
* Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | 33.107317 | 80 | 0.690585 | airmelody5211 |
730caa6ac54a5c03c3a983c822bb35b6993b7c1c | 1,270 | cpp | C++ | IOI/IOI14P2.cpp | Genius1506/Competitive-Programming | 0fcbd9cd1a2381cf6dcb6e31f4ad0afe7cb98947 | [
"MIT"
] | null | null | null | IOI/IOI14P2.cpp | Genius1506/Competitive-Programming | 0fcbd9cd1a2381cf6dcb6e31f4ad0afe7cb98947 | [
"MIT"
] | null | null | null | IOI/IOI14P2.cpp | Genius1506/Competitive-Programming | 0fcbd9cd1a2381cf6dcb6e31f4ad0afe7cb98947 | [
"MIT"
] | null | null | null | #include<bits/stdc++.h>
using namespace std;
#define ll long long
#define ld long double
#define pb push_back
#define all(x) x.begin(),x.end()
#define pii pair<int,int>
#define f first
#define s second
const int INF = 0x3f3f3f3f;
struct Node{
int mn,mx;
}st[1<<22];
void app(int i, int xl, int xr){
st[i].mn =... | 24.423077 | 92 | 0.555118 | Genius1506 |
730eebf9c1f946f7c0fb44d36f3e05a98c4193c4 | 1,282 | hpp | C++ | include/whack/codegen/expressions/factors/floatingpt.hpp | onchere/whack | 0702e46f13855d4efd8dd0cb67af2fddfb84b00c | [
"Apache-2.0"
] | 54 | 2018-10-28T07:18:31.000Z | 2022-03-08T20:30:40.000Z | include/whack/codegen/expressions/factors/floatingpt.hpp | onchere/whack | 0702e46f13855d4efd8dd0cb67af2fddfb84b00c | [
"Apache-2.0"
] | null | null | null | include/whack/codegen/expressions/factors/floatingpt.hpp | onchere/whack | 0702e46f13855d4efd8dd0cb67af2fddfb84b00c | [
"Apache-2.0"
] | 5 | 2018-10-28T14:43:53.000Z | 2020-04-26T19:52:58.000Z | /**
* Copyright 2018-present Onchere Bironga
*
* 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... | 29.813953 | 75 | 0.73869 | onchere |
731085d45ab41bdf58063a9dcc137f995f51b873 | 5,014 | hpp | C++ | include/util/iutest_util_menu.hpp | yumetodo/iutest | 69bdc23a4da4b8752e04d944b3fb308c7523653b | [
"BSD-3-Clause"
] | null | null | null | include/util/iutest_util_menu.hpp | yumetodo/iutest | 69bdc23a4da4b8752e04d944b3fb308c7523653b | [
"BSD-3-Clause"
] | null | null | null | include/util/iutest_util_menu.hpp | yumetodo/iutest | 69bdc23a4da4b8752e04d944b3fb308c7523653b | [
"BSD-3-Clause"
] | null | null | null | //======================================================================
//-----------------------------------------------------------------------
/**
* @file iutest_util_menu.hpp
* @brief iris unit test テスト メニュー生成 ファイル
*
* @author t.shirayanagi
* @par copyright
* Copyright (C) 2013-201... | 30.760736 | 102 | 0.514759 | yumetodo |
7310e81a1676f4653d6a3d639e58131b6ab5c47a | 2,255 | cpp | C++ | CheckSuperCalls/Result.cpp | Neo7k/CheckSuperCalls | d799ef9e30988dc39581e63411c9c6061138fb18 | [
"MIT"
] | null | null | null | CheckSuperCalls/Result.cpp | Neo7k/CheckSuperCalls | d799ef9e30988dc39581e63411c9c6061138fb18 | [
"MIT"
] | null | null | null | CheckSuperCalls/Result.cpp | Neo7k/CheckSuperCalls | d799ef9e30988dc39581e63411c9c6061138fb18 | [
"MIT"
] | null | null | null | #include "Result.h"
#include "Files.h"
#include "Algorithms.h"
Result::Result(int threads_num)
{
issues.resize(threads_num);
}
Result::~Result()
{
Clear();
}
void Result::AddIssue(Issue* issue, int thread_id)
{
issues[thread_id].push_back(issue);
}
Result::IssuesVec Result::GetAllIssues() const
{
IssuesVec grou... | 19.608696 | 103 | 0.687361 | Neo7k |
7313adb79dc2ccb1acbe60345aeea61cdbe116d8 | 4,215 | cpp | C++ | benchmarks/BM_writeInterleaved.cpp | michaelwillis/sfizz | 0461f6e5e288da71aeccf7b7dfd71302bf0ba175 | [
"BSD-2-Clause"
] | 281 | 2019-06-06T05:58:59.000Z | 2022-03-06T12:20:09.000Z | benchmarks/BM_writeInterleaved.cpp | michaelwillis/sfizz | 0461f6e5e288da71aeccf7b7dfd71302bf0ba175 | [
"BSD-2-Clause"
] | 590 | 2019-09-22T00:26:10.000Z | 2022-03-31T19:21:58.000Z | benchmarks/BM_writeInterleaved.cpp | michaelwillis/sfizz | 0461f6e5e288da71aeccf7b7dfd71302bf0ba175 | [
"BSD-2-Clause"
] | 44 | 2019-10-08T08:24:20.000Z | 2022-02-26T04:21:44.000Z | // SPDX-License-Identifier: BSD-2-Clause
// This code is part of the sfizz library and is licensed under a BSD 2-clause
// license. You should have receive a LICENSE.md file along with the code.
// If not, contact the sfizz maintainers at https://github.com/sfztools/sfizz
#include "SIMDHelpers.h"
#include "Buffer.h"
... | 38.318182 | 78 | 0.688731 | michaelwillis |
731418d117145f0ad6f2d6a72f319a6057416cfe | 7,341 | cpp | C++ | Assignment2/Program2/main.cpp | Siddhant628/Prog1_Compressor-Decompressor-In-C | 94b27155cb03296a6ad2a5989616c6fa78aadb1c | [
"MIT"
] | null | null | null | Assignment2/Program2/main.cpp | Siddhant628/Prog1_Compressor-Decompressor-In-C | 94b27155cb03296a6ad2a5989616c6fa78aadb1c | [
"MIT"
] | null | null | null | Assignment2/Program2/main.cpp | Siddhant628/Prog1_Compressor-Decompressor-In-C | 94b27155cb03296a6ad2a5989616c6fa78aadb1c | [
"MIT"
] | null | null | null | #define _CRT_SECURE_NO_WARNINGS
#include<iostream>
#include<stdio.h>
#include"main.h"
int main(int argc, char* argv[])
{
if (argc > 1)
{
sscanf(argv[1], "%d", &bitsPerValue);
}
double rootMeanSquaredError;
InitializeFiles();
ProcessMetaData();
CalculateTheNumberOfDataShorts();
RecreateData();
rootMeanSq... | 30.715481 | 94 | 0.738183 | Siddhant628 |
7314771828254f2e8cffa24e852c49cb57046ac7 | 1,953 | hpp | C++ | modules/memory/include/shard/memory/allocator.hpp | ikimol/shard | 72a72dbebfd247d2b7b300136c489672960b37d8 | [
"MIT"
] | null | null | null | modules/memory/include/shard/memory/allocator.hpp | ikimol/shard | 72a72dbebfd247d2b7b300136c489672960b37d8 | [
"MIT"
] | null | null | null | modules/memory/include/shard/memory/allocator.hpp | ikimol/shard | 72a72dbebfd247d2b7b300136c489672960b37d8 | [
"MIT"
] | null | null | null | // Copyright (c) 2021 Miklos Molnar. All rights reserved.
#ifndef SHARD_MEMORY_ALLOCATOR_HPP
#define SHARD_MEMORY_ALLOCATOR_HPP
#include <shard/core/non_copyable.hpp>
#include <cassert>
#include <cstddef>
#include <type_traits>
#include <utility>
namespace shard {
namespace memory {
class allocator {
public:
e... | 26.04 | 93 | 0.709165 | ikimol |
7314e256aa2e8173247b13000bc514cea4cc2c3d | 811 | cpp | C++ | src/util.cpp | njw1204/IIKH | 48be7f34262ab6217ebe7eede45a1dee5d22cc2c | [
"MIT"
] | null | null | null | src/util.cpp | njw1204/IIKH | 48be7f34262ab6217ebe7eede45a1dee5d22cc2c | [
"MIT"
] | null | null | null | src/util.cpp | njw1204/IIKH | 48be7f34262ab6217ebe7eede45a1dee5d22cc2c | [
"MIT"
] | 1 | 2020-10-24T07:20:02.000Z | 2020-10-24T07:20:02.000Z | #include "util.h"
#include <cstdio>
#include <string>
void clrscr()
{
#ifdef _WIN32
system("cls");
#else
system("clear");
#endif
}
void waitEnter()
{
while (std::getchar() != '\n');
}
std::string ReplaceAll(std::string &str, const std::string& from, const std::string& to)
{
size_t start_pos = 0;
... | 20.275 | 89 | 0.600493 | njw1204 |
7314ef7f0254c33f75503578de1a656ee2d2dac1 | 6,428 | cc | C++ | src/virtualization/bin/vmm/arch/x64/io_apic.cc | casey/fuchsia | 2b965e9a1e8f2ea346db540f3611a5be16bb4d6b | [
"BSD-3-Clause"
] | null | null | null | src/virtualization/bin/vmm/arch/x64/io_apic.cc | casey/fuchsia | 2b965e9a1e8f2ea346db540f3611a5be16bb4d6b | [
"BSD-3-Clause"
] | null | null | null | src/virtualization/bin/vmm/arch/x64/io_apic.cc | casey/fuchsia | 2b965e9a1e8f2ea346db540f3611a5be16bb4d6b | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2017 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "src/virtualization/bin/vmm/arch/x64/io_apic.h"
#include <string.h>
#include <zircon/assert.h>
#include <zircon/syscalls.h>
#include <zircon/sysc... | 32.14 | 97 | 0.680772 | casey |
7315e4b1025e0b42f093611714738c06e06e53cb | 7,086 | cpp | C++ | QtFresnelZones/amplitudeplatewindow.cpp | Lnd-stoL/fresnel-zones-qt | ada6d03e285665eb5281808a55f9b7cc8289710b | [
"MIT"
] | 2 | 2015-09-07T19:19:33.000Z | 2015-09-07T19:19:40.000Z | QtFresnelZones/amplitudeplatewindow.cpp | Lnd-stoL/fresnel-zones-qt | ada6d03e285665eb5281808a55f9b7cc8289710b | [
"MIT"
] | null | null | null | QtFresnelZones/amplitudeplatewindow.cpp | Lnd-stoL/fresnel-zones-qt | ada6d03e285665eb5281808a55f9b7cc8289710b | [
"MIT"
] | null | null | null |
#include "amplitudeplatewindow.h"
#include "ui_amplitudeplatewindow.h"
#include "colortransform.h"
#include "titlewindow.h"
AmplitudePlateWindow::AmplitudePlateWindow (Fresnel *fresnel, TitleWindow *tw) :
QMainWindow (nullptr),
ui (new Ui::AmplitudePlateWindow),
titleWindow (tw),
_fresnel (fresnel)
{... | 31.353982 | 120 | 0.673582 | Lnd-stoL |
731602358390a00ddf38f0eedb745db3d8f3ec65 | 1,174 | hpp | C++ | machiavelli/src/server.hpp | robhendriks/avans-cpp2 | beaae5650d4446cd271f7f9b07b0e90deb80d994 | [
"WTFPL"
] | null | null | null | machiavelli/src/server.hpp | robhendriks/avans-cpp2 | beaae5650d4446cd271f7f9b07b0e90deb80d994 | [
"WTFPL"
] | null | null | null | machiavelli/src/server.hpp | robhendriks/avans-cpp2 | beaae5650d4446cd271f7f9b07b0e90deb80d994 | [
"WTFPL"
] | null | null | null | #ifndef server_h
#define server_h
#include <thread>
#include <vector>
#include <chrono>
#include <networking/Socket.h>
#include <networking/Sync_queue.h>
#include "game.hpp"
#include "client_info.hpp"
#include "client_command.hpp"
#include "string_utils.hpp"
#include "options.hpp"
namespace machiavelli
{
class s... | 24.458333 | 128 | 0.632879 | robhendriks |
7316a92f7fada4cda64b8093e97d17806aba954d | 4,458 | hpp | C++ | include/UnityEngine/Rendering/MeshUpdateFlags.hpp | marksteward/BeatSaber-Quest-Codegen | a76f063f71cef207a9f048ad7613835f554911a7 | [
"Unlicense"
] | null | null | null | include/UnityEngine/Rendering/MeshUpdateFlags.hpp | marksteward/BeatSaber-Quest-Codegen | a76f063f71cef207a9f048ad7613835f554911a7 | [
"Unlicense"
] | null | null | null | include/UnityEngine/Rendering/MeshUpdateFlags.hpp | marksteward/BeatSaber-Quest-Codegen | a76f063f71cef207a9f048ad7613835f554911a7 | [
"Unlicense"
] | null | null | null | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "extern/beatsaber-hook/shared/utils/typedefs.h"
#include "extern/beatsaber-hook/shared/utils/byref.hpp"
// Including type: System.Enum
#include ... | 57.153846 | 111 | 0.769403 | marksteward |
73174e310e79bdb608eeb0c3c24781615a488735 | 1,678 | cpp | C++ | sdl/Hypergraph/src/HypPrune.cpp | sdl-research/hyp | d39f388f9cd283bcfa2f035f399b466407c30173 | [
"Apache-2.0"
] | 29 | 2015-01-26T21:49:51.000Z | 2021-06-18T18:09:42.000Z | sdl/Hypergraph/src/HypPrune.cpp | hypergraphs/hyp | d39f388f9cd283bcfa2f035f399b466407c30173 | [
"Apache-2.0"
] | 1 | 2015-12-08T15:03:15.000Z | 2016-01-26T14:31:06.000Z | sdl/Hypergraph/src/HypPrune.cpp | hypergraphs/hyp | d39f388f9cd283bcfa2f035f399b466407c30173 | [
"Apache-2.0"
] | 4 | 2015-11-21T14:25:38.000Z | 2017-10-30T22:22:00.000Z | // Copyright 2014-2015 SDL plc
// 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 writing,... | 36.478261 | 104 | 0.717521 | sdl-research |
73183a28dfa5e628b5284a949a3d2c68a73b745e | 4,042 | cpp | C++ | src/pumex/TextureLoaderJPEG.cpp | pumexx/pumex | 86fda7fa351d00bd5918ad90899ce2d6bb8b1dfe | [
"MIT"
] | 299 | 2017-07-17T17:07:39.000Z | 2022-03-27T20:33:20.000Z | src/pumex/TextureLoaderJPEG.cpp | pumexx/pumex | 86fda7fa351d00bd5918ad90899ce2d6bb8b1dfe | [
"MIT"
] | 9 | 2018-08-09T11:49:37.000Z | 2020-12-10T03:55:12.000Z | src/pumex/TextureLoaderJPEG.cpp | pumexx/pumex | 86fda7fa351d00bd5918ad90899ce2d6bb8b1dfe | [
"MIT"
] | 21 | 2017-12-03T16:08:21.000Z | 2022-01-17T06:34:39.000Z | //
// Copyright(c) 2017-2018 Paweł Księżopolski ( pumexx )
//
// 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, m... | 37.082569 | 107 | 0.729342 | pumexx |
731940b64855a5663c767489135ad610bda295e8 | 1,218 | cpp | C++ | lammps-master/src/RIGID/fix_rigid_nve.cpp | rajkubp020/helloword | 4bd22691de24b30a0f5b73821c35a7ac0666b034 | [
"MIT"
] | 1 | 2018-11-28T15:04:55.000Z | 2018-11-28T15:04:55.000Z | src/RIGID/fix_rigid_nve.cpp | luwei0917/GlpG_Nature_Communication | a7f4f8b526e633b158dc606050e8993d70734943 | [
"MIT"
] | null | null | null | src/RIGID/fix_rigid_nve.cpp | luwei0917/GlpG_Nature_Communication | a7f4f8b526e633b158dc606050e8993d70734943 | [
"MIT"
] | null | null | null | /* ----------------------------------------------------------------------
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
http://lammps.sandia.gov, Sandia National Laboratories
Steve Plimpton, sjplimp@sandia.gov
Copyright (2003) Sandia Corporation. Under the terms of Contract
DE-AC04... | 42 | 77 | 0.504105 | rajkubp020 |
7322edf5b2f191af15035bb3e039481725534583 | 871 | cpp | C++ | libraries/RedBot2/RedBotButton.cpp | Rosebotics/rosebot-arduino-library | 97ca1d56c25acfd4eebabd2feaa0e7aa90ad2530 | [
"MIT"
] | null | null | null | libraries/RedBot2/RedBotButton.cpp | Rosebotics/rosebot-arduino-library | 97ca1d56c25acfd4eebabd2feaa0e7aa90ad2530 | [
"MIT"
] | null | null | null | libraries/RedBot2/RedBotButton.cpp | Rosebotics/rosebot-arduino-library | 97ca1d56c25acfd4eebabd2feaa0e7aa90ad2530 | [
"MIT"
] | null | null | null | /****************************************************************
Main CPP for RedBot button control.
This code is beerware; if you use it, please buy me (or any other
SparkFun employee) a cold beverage next time you run into one of
us at the local.
04 Oct 2014- B. Huang, SparkFun Electronics
Code developed in Ardui... | 28.096774 | 79 | 0.632606 | Rosebotics |
7325237252eec7504392fc9c634e9a7d58a2002c | 968 | cc | C++ | lib/interception/interception_linux.cc | tylerfox/compiler-rt | 940db39932e702fbc6ced148ff16263562862f5a | [
"MIT"
] | null | null | null | lib/interception/interception_linux.cc | tylerfox/compiler-rt | 940db39932e702fbc6ced148ff16263562862f5a | [
"MIT"
] | null | null | null | lib/interception/interception_linux.cc | tylerfox/compiler-rt | 940db39932e702fbc6ced148ff16263562862f5a | [
"MIT"
] | null | null | null | //===-- interception_linux.cc -----------------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | 26.888889 | 80 | 0.551653 | tylerfox |
7326b4cfa424eb64d5f010cf6a3c9e8425b1b03c | 1,613 | cpp | C++ | leetcode/cpp/p216/p216.cpp | davidlunadeleon/leetcode | 3a3d7d3ec9b708982658b154f8e551ae9a9fb8c1 | [
"Unlicense"
] | 1 | 2020-08-20T23:27:13.000Z | 2020-08-20T23:27:13.000Z | leetcode/cpp/p216/p216.cpp | davidlunadeleon/leetcode | 3a3d7d3ec9b708982658b154f8e551ae9a9fb8c1 | [
"Unlicense"
] | null | null | null | leetcode/cpp/p216/p216.cpp | davidlunadeleon/leetcode | 3a3d7d3ec9b708982658b154f8e551ae9a9fb8c1 | [
"Unlicense"
] | null | null | null | // Source: https://leetcode.com/problems/combination-sum-iii/
// Date: 12.09.2020
// Solution by: David Luna
// Runtime: 0ms
// Memory usage: 6.4 MB
#include <algorithm>
#include <iostream>
#include <vector>
#include "../lib/vectorUtils/vectorUtils.h"
// Leetcode solution starts
class Solution {
public:
std::vec... | 18.976471 | 76 | 0.593304 | davidlunadeleon |
7328c6a584e60b42e90d620d4b98842fcdcb9dc8 | 9,446 | cpp | C++ | emidi_alpha/CMIDIModule.cpp | Wohlstand/scc | 0c22eaa8d52c1339232401ec4d42e1e228253c5f | [
"Zlib"
] | 2 | 2018-10-08T19:02:11.000Z | 2018-10-09T17:18:35.000Z | emidi_alpha/CMIDIModule.cpp | Wohlstand/scc | 0c22eaa8d52c1339232401ec4d42e1e228253c5f | [
"Zlib"
] | 1 | 2018-10-08T20:33:10.000Z | 2018-10-08T20:33:10.000Z | emidi_alpha/CMIDIModule.cpp | Wohlstand/scc | 0c22eaa8d52c1339232401ec4d42e1e228253c5f | [
"Zlib"
] | 1 | 2018-10-08T19:27:04.000Z | 2018-10-08T19:27:04.000Z | #include "CMIDIModule.hpp"
#if defined (_MSC_VER)
#if defined (_DEBUG)
#define new new( _NORMAL_BLOCK, __FILE__, __LINE__)
#endif
#endif
using namespace dsa;
CMIDIModule::CMIDIModule() : m_device(NULL) {}
CMIDIModule::~CMIDIModule() {}
RESULT CMIDIModule::Reset() {
if(m_device==NULL) return FAILUR... | 28.197015 | 93 | 0.627991 | Wohlstand |
732b38f10e924e355ecc0e0b37c3ed5c0c819f70 | 40,498 | cpp | C++ | Modules/DiffusionImaging/FiberTracking/Algorithms/itkTractsToDWIImageFilter.cpp | rfloca/MITK | b7dcb830dc36a5d3011b9828c3d71e496d3936ad | [
"BSD-3-Clause"
] | null | null | null | Modules/DiffusionImaging/FiberTracking/Algorithms/itkTractsToDWIImageFilter.cpp | rfloca/MITK | b7dcb830dc36a5d3011b9828c3d71e496d3936ad | [
"BSD-3-Clause"
] | null | null | null | Modules/DiffusionImaging/FiberTracking/Algorithms/itkTractsToDWIImageFilter.cpp | rfloca/MITK | b7dcb830dc36a5d3011b9828c3d71e496d3936ad | [
"BSD-3-Clause"
] | null | null | null | /*===================================================================
The Medical Imaging Interaction Toolkit (MITK)
Copyright (c) German Cancer Research Center,
Division of Medical and Biological Informatics.
All rights reserved.
This software is distributed WITHOUT ANY WARRANTY; without
even the implied warranty o... | 42.185417 | 200 | 0.591733 | rfloca |
732b9d71dcd40e26f2faa386581f9101f107a59f | 5,231 | cc | C++ | src/cpu/power/predictors/prediction_cam_table.cc | JimmyZhang12/gem5 | 34a009b9f7f33667cc230ac7f7ebfb8705718c5d | [
"BSD-3-Clause"
] | null | null | null | src/cpu/power/predictors/prediction_cam_table.cc | JimmyZhang12/gem5 | 34a009b9f7f33667cc230ac7f7ebfb8705718c5d | [
"BSD-3-Clause"
] | null | null | null | src/cpu/power/predictors/prediction_cam_table.cc | JimmyZhang12/gem5 | 34a009b9f7f33667cc230ac7f7ebfb8705718c5d | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2020, University of Illinois
* All rights reserved
*
* 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 ... | 29.721591 | 92 | 0.688205 | JimmyZhang12 |
732be75daffe7ecdb6ae3ab417351f5cdcb3347b | 6,305 | cpp | C++ | Logic/OpenCL/GpuActivityLogger.cpp | k0zmo/mouve | 8d5db0da1abdf5fab991e50c5136bfe766f8a7cf | [
"MIT"
] | 4 | 2018-04-10T22:52:59.000Z | 2020-01-02T09:24:45.000Z | Logic/OpenCL/GpuActivityLogger.cpp | k0zmo/mouve | 8d5db0da1abdf5fab991e50c5136bfe766f8a7cf | [
"MIT"
] | null | null | null | Logic/OpenCL/GpuActivityLogger.cpp | k0zmo/mouve | 8d5db0da1abdf5fab991e50c5136bfe766f8a7cf | [
"MIT"
] | null | null | null | /*
* Copyright (c) 2013-2014 Kajetan Swierk <k0zmo@outlook.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 use, ... | 32.333333 | 92 | 0.653608 | k0zmo |
732c5c7d1f82ebf9e2de88de59f9578c58098635 | 1,773 | cpp | C++ | pxr/usd/lib/usdGeom/wrapXformCache.cpp | unity3d-jp/USD | 0f146383613e1efe872ea7c85aa3536f170fcda2 | [
"BSD-3-Clause"
] | 7 | 2016-12-13T00:53:38.000Z | 2020-04-02T13:25:50.000Z | pxr/usd/lib/usdGeom/wrapXformCache.cpp | unity3d-jp/USD | 0f146383613e1efe872ea7c85aa3536f170fcda2 | [
"BSD-3-Clause"
] | null | null | null | pxr/usd/lib/usdGeom/wrapXformCache.cpp | unity3d-jp/USD | 0f146383613e1efe872ea7c85aa3536f170fcda2 | [
"BSD-3-Clause"
] | 2 | 2016-12-13T00:53:40.000Z | 2020-05-04T07:32:53.000Z | //
// Copyright 2016 Pixar
//
// Licensed under the Apache License, Version 2.0 (the "Apache License")
// with the following modification; you may not use this file except in
// compliance with the Apache License and the following modification to it:
// Section 6. Trademarks. is deleted and replaced with:
//
// 6. Trad... | 38.543478 | 75 | 0.706712 | unity3d-jp |
732d38f222e0f21c87eb8f9c401e44405d8dce9f | 6,045 | cpp | C++ | examples/space/space.cpp | kraj/egt | 7065fd97e8bc61b0b0555bd48461ac9b2160ac7a | [
"Apache-2.0"
] | null | null | null | examples/space/space.cpp | kraj/egt | 7065fd97e8bc61b0b0555bd48461ac9b2160ac7a | [
"Apache-2.0"
] | null | null | null | examples/space/space.cpp | kraj/egt | 7065fd97e8bc61b0b0555bd48461ac9b2160ac7a | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (C) 2018 Microchip Technology Inc. All rights reserved.
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <cassert>
#include <chrono>
#include <cmath>
#include <egt/ui>
#include <random>
#include <vector>
#include <sstream>
using namespace egt;
class Ball : public ImageLabel
{
public:
Ball()... | 25.292887 | 97 | 0.557816 | kraj |
733107d2dc3added16613bf41d80af9683b23ad0 | 5,092 | cc | C++ | content/test/plugin/plugin_delete_plugin_in_deallocate_test.cc | kjthegod/chromium | cf940f7f418436b77e15b1ea23e6fa100ca1c91a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 231 | 2015-01-08T09:04:44.000Z | 2021-12-30T03:03:10.000Z | content/test/plugin/plugin_delete_plugin_in_deallocate_test.cc | j4ckfrost/android_external_chromium_org | a1a3dad8b08d1fcf6b6b36c267158ed63217c780 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2018-02-10T21:00:08.000Z | 2018-03-20T05:09:50.000Z | content/test/plugin/plugin_delete_plugin_in_deallocate_test.cc | j4ckfrost/android_external_chromium_org | a1a3dad8b08d1fcf6b6b36c267158ed63217c780 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 268 | 2015-01-21T05:53:28.000Z | 2022-03-25T22:09:01.000Z | // Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/test/plugin/plugin_delete_plugin_in_deallocate_test.h"
#include "base/basictypes.h"
#include "base/compiler_specific.h"
namespace ... | 33.064935 | 79 | 0.725059 | kjthegod |
73383f8ffdfc68eb51fd4fb298821c7224be93e7 | 774 | cpp | C++ | codes/Chapter-04/ObjectasArgu.cpp | muyuuuu/Cpp-Notes | a514559eb4258304768167ea26de1e54f4a792d4 | [
"MIT"
] | 1 | 2022-03-25T06:07:27.000Z | 2022-03-25T06:07:27.000Z | codes/Chapter-04/ObjectasArgu.cpp | muyuuuu/Cpp-Notes | a514559eb4258304768167ea26de1e54f4a792d4 | [
"MIT"
] | null | null | null | codes/Chapter-04/ObjectasArgu.cpp | muyuuuu/Cpp-Notes | a514559eb4258304768167ea26de1e54f4a792d4 | [
"MIT"
] | 1 | 2021-09-24T07:28:17.000Z | 2021-09-24T07:28:17.000Z | #include <iostream>
using std::cout;
using std::endl;
class Circle
{
private:
double radius = 1.3;
public:
Circle();
Circle(double r);
double getArea();
double getRadius() const;
void setRadius(double r);
};
Circle::Circle(){
}
Circle::Circle(double r){
radius = r;
}
double Circle::getA... | 13.821429 | 36 | 0.581395 | muyuuuu |
7339b05f30f935305f7c02afff2f65944a734a1d | 2,948 | cpp | C++ | patched-driver-sdk/customSDK/psw/ae/aesm_service/source/aesm_wrapper/src/Thread.cpp | shwetasshinde24/Panoply | 9a762c24dec61250d953d1769b070df7f0dd0317 | [
"Apache-2.0"
] | 30 | 2017-02-08T02:53:36.000Z | 2022-03-24T14:26:17.000Z | linux-sdk/psw/ae/aesm_service/source/aesm_wrapper/src/Thread.cpp | sslab-gatech/SGX-Shield | 04b09dd6e5dc538fbc9533a2264ed4b8612b0f48 | [
"MIT"
] | 4 | 2017-05-25T00:39:02.000Z | 2018-04-27T10:38:47.000Z | patched-driver-sdk/customSDK/psw/ae/aesm_service/source/aesm_wrapper/src/Thread.cpp | shwetasshinde24/Panoply | 9a762c24dec61250d953d1769b070df7f0dd0317 | [
"Apache-2.0"
] | 8 | 2017-10-31T11:12:35.000Z | 2020-06-15T04:12:51.000Z | /*
* Copyright (C) 2011-2016 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 li... | 28.07619 | 102 | 0.657395 | shwetasshinde24 |
7339f7eaefe4d589e84431addf589325086e5c10 | 3,456 | cc | C++ | tests/point_test.cc | snsinfu/cxx-point | bdc1509c5026f36f2346035b5edff086a0f85a8a | [
"BSL-1.0"
] | null | null | null | tests/point_test.cc | snsinfu/cxx-point | bdc1509c5026f36f2346035b5edff086a0f85a8a | [
"BSL-1.0"
] | 1 | 2020-10-20T18:14:00.000Z | 2020-10-20T18:14:00.000Z | tests/point_test.cc | snsinfu/cxx-point | bdc1509c5026f36f2346035b5edff086a0f85a8a | [
"BSL-1.0"
] | null | null | null | // Copyright snsinfu 2018.
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#include <sstream>
#include "catch.hpp"
#include "../include/point.hpp"
TEST_CASE("point - is default constructible as the origin")
{
cx... | 23.834483 | 81 | 0.572627 | snsinfu |
733a3af8779582e231f44826af5f60485d73a637 | 42,587 | cpp | C++ | dali-csharp-binder/src/watch.cpp | mark-nick-o/dali-csharp-binder | db621cd920007c903b4d4da68a29575349d6bd06 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | dali-csharp-binder/src/watch.cpp | mark-nick-o/dali-csharp-binder | db621cd920007c903b4d4da68a29575349d6bd06 | [
"Apache-2.0",
"BSD-3-Clause"
] | 1 | 2020-10-26T17:13:48.000Z | 2020-10-26T17:13:48.000Z | dali-csharp-binder/src/watch.cpp | expertisesolutions/dali-csharp-binder | 53ab220b616fd762fc2ccf0ed83361b4f9123ece | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | /** Copyright (c) 2017 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ag... | 30.09682 | 242 | 0.629089 | mark-nick-o |
733adeba0b39aaed149347103a1631e04134e63d | 45,153 | cpp | C++ | Holo/Il2CppOutputProject/IL2CPP/libil2cpp/vm/MetadataCache.cpp | kyungyeon-lee/ExtendedRealitySearchTask | cd182ca92a056c068e1b8a7fe8b2f9a1dfa1990b | [
"MIT"
] | 1 | 2021-06-01T19:33:53.000Z | 2021-06-01T19:33:53.000Z | Unity-Project/App-HL2/Il2CppOutputProject/IL2CPP/libil2cpp/vm/MetadataCache.cpp | JBrentJ/mslearn-mixed-reality-and-azure-digital-twins-in-unity | 6e13b31a0b053443b9c93267d8f174f1554e79dd | [
"CC-BY-4.0",
"MIT"
] | null | null | null | Unity-Project/App-HL2/Il2CppOutputProject/IL2CPP/libil2cpp/vm/MetadataCache.cpp | JBrentJ/mslearn-mixed-reality-and-azure-digital-twins-in-unity | 6e13b31a0b053443b9c93267d8f174f1554e79dd | [
"CC-BY-4.0",
"MIT"
] | null | null | null | #include "il2cpp-config.h"
#include "MetadataCache.h"
#include "GlobalMetadata.h"
#include <map>
#include <limits>
#include "il2cpp-tabledefs.h"
#include "il2cpp-runtime-stats.h"
#include "gc/GarbageCollector.h"
#include "metadata/ArrayMetadata.h"
#include "metadata/GenericMetadata.h"
#include "metadata/GenericMethod.... | 38.7247 | 263 | 0.745111 | kyungyeon-lee |
733c8797b7d490c0cb4abba5650afa543337c98c | 9,867 | cpp | C++ | code/appLoadingFunctions.cpp | robbitay/ConstPort | d948ceb5f0e22504640578e3ef31e3823b29c1c3 | [
"Unlicense"
] | null | null | null | code/appLoadingFunctions.cpp | robbitay/ConstPort | d948ceb5f0e22504640578e3ef31e3823b29c1c3 | [
"Unlicense"
] | null | null | null | code/appLoadingFunctions.cpp | robbitay/ConstPort | d948ceb5f0e22504640578e3ef31e3823b29c1c3 | [
"Unlicense"
] | null | null | null | /*
File: appLoadingFunctions.cpp
Author: Taylor Robbins
Date: 06\13\2017
Description:
** Includes a collection of functions that manage loading
** various sorts of resources
*/
Texture_t CreateTexture(const u8* bitmapData, i32 width, i32 height, bool pixelated = false, bool repeat = true)
{
Texture_t result =... | 34.5 | 120 | 0.752711 | robbitay |