hexsha stringlengths 40 40 | size int64 19 11.4M | ext stringclasses 13
values | lang stringclasses 1
value | max_stars_repo_path stringlengths 3 270 | max_stars_repo_name stringlengths 5 110 | max_stars_repo_head_hexsha stringlengths 40 40 | max_stars_repo_licenses listlengths 1 9 | max_stars_count float64 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 3 270 | max_issues_repo_name stringlengths 5 116 | max_issues_repo_head_hexsha stringlengths 40 78 | max_issues_repo_licenses listlengths 1 9 | max_issues_count float64 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 3 270 | max_forks_repo_name stringlengths 5 116 | max_forks_repo_head_hexsha stringlengths 40 78 | max_forks_repo_licenses listlengths 1 9 | max_forks_count float64 1 105k ⌀ | max_forks_repo_forks_event_min_datetime stringlengths 24 24 ⌀ | max_forks_repo_forks_event_max_datetime stringlengths 24 24 ⌀ | content stringlengths 19 11.4M | avg_line_length float64 1.93 229k | max_line_length int64 12 688k | alphanum_fraction float64 0.07 0.99 | matches listlengths 1 10 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
dd0d086ee6b505118f1f7ec80dfc918c78d733d8 | 7,649 | cpp | C++ | src/GLSandbox/GLSandbox.cpp | AlbertoRivadulla/OpenGL-base-library | ca8fac07c91642cdba40a66c99db87073240e449 | [
"MIT"
] | null | null | null | src/GLSandbox/GLSandbox.cpp | AlbertoRivadulla/OpenGL-base-library | ca8fac07c91642cdba40a66c99db87073240e449 | [
"MIT"
] | null | null | null | src/GLSandbox/GLSandbox.cpp | AlbertoRivadulla/OpenGL-base-library | ca8fac07c91642cdba40a66c99db87073240e449 | [
"MIT"
] | null | null | null | #include "GLSandbox.h"
using namespace GLBase;
using namespace GLGeometry;
using namespace GLUtils;
//==============================
// Methods of the GLSandbox class that depend on the scene to render
//==============================
// Setup the scene
// - Create the camera
// - Create/load geometry
// - Wo... | 40.04712 | 134 | 0.583736 | [
"geometry",
"render",
"model"
] |
dd19f2bfba0846d31d7eb9b24572a3069059fc73 | 12,195 | cpp | C++ | Previous Contests/IMMC-Grup-main/Core/Tabela.cpp | stOOrz-Mathematical-Modelling-Group/IMMC_2022_Autumn | 4430eec4940055e434d8c6183332fc55601937d2 | [
"MIT"
] | null | null | null | Previous Contests/IMMC-Grup-main/Core/Tabela.cpp | stOOrz-Mathematical-Modelling-Group/IMMC_2022_Autumn | 4430eec4940055e434d8c6183332fc55601937d2 | [
"MIT"
] | null | null | null | Previous Contests/IMMC-Grup-main/Core/Tabela.cpp | stOOrz-Mathematical-Modelling-Group/IMMC_2022_Autumn | 4430eec4940055e434d8c6183332fc55601937d2 | [
"MIT"
] | null | null | null | #include "Tabela.h"
#include "../IO/FileManager.h"
const string Tabela::REPORT_PREFIX = "select_";
const string Tabela::REPORT_EXTENSION = ".txt";
Tabela::Tabela(const char *numeTabela, int id, vector<Celula*> celule) : ID_TABELA(id)
{
strcpy(this->numeTabela, numeTabela);
this->celule = celule;
}
//operatorul =
T... | 24.586694 | 326 | 0.620336 | [
"vector"
] |
dd1ed3d87b9ea0c14e00cf5f002a95645f4a9e68 | 805 | cpp | C++ | Leetcode2/097.cpp | nolink/algorithm | 29d15403a2d720771cf266a1ab04b0ab29d4cb6c | [
"MIT"
] | null | null | null | Leetcode2/097.cpp | nolink/algorithm | 29d15403a2d720771cf266a1ab04b0ab29d4cb6c | [
"MIT"
] | null | null | null | Leetcode2/097.cpp | nolink/algorithm | 29d15403a2d720771cf266a1ab04b0ab29d4cb6c | [
"MIT"
] | null | null | null | class Solution {
public:
bool isInterleave(string s1, string s2, string s3) {
int n1 = s1.length(), n2 = s2.length(), n3 = s3.length();
if(n1 + n2 != n3) return false;
vector<vector<bool>> dp(n1+1, vector<bool>(n2+1, false));
for(int i=0;i<=n1;i++){
for(int j=0;j<=n2;j++)... | 35 | 108 | 0.35528 | [
"vector"
] |
dd27541fc40d670282a01d40129f1974906f6efb | 33,692 | cpp | C++ | src/ssdp/ssdp_device.cpp | neheb/npupnp | d00aaf2c5af8b9453cda32f9ed3981d49ef1d01c | [
"BSD-3-Clause"
] | null | null | null | src/ssdp/ssdp_device.cpp | neheb/npupnp | d00aaf2c5af8b9453cda32f9ed3981d49ef1d01c | [
"BSD-3-Clause"
] | null | null | null | src/ssdp/ssdp_device.cpp | neheb/npupnp | d00aaf2c5af8b9453cda32f9ed3981d49ef1d01c | [
"BSD-3-Clause"
] | null | null | null | /**************************************************************************
*
* Copyright (c) 2000-2003 Intel Corporation
* All rights reserved.
* Copyright (C) 2011-2012 France Telecom All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted prov... | 36.741549 | 105 | 0.552802 | [
"vector"
] |
dd2c3cec9ed48395f68248b79447490f13ef31c9 | 376 | cpp | C++ | doric-Qt/example/doric/utils/DoricSwitchBridge.cpp | Xcoder1011/Doric | ad1a409ef5edb9de8f3e1544748a9fa8015760c8 | [
"Apache-2.0"
] | 116 | 2019-12-30T11:34:47.000Z | 2022-03-31T05:32:58.000Z | doric-Qt/example/doric/utils/DoricSwitchBridge.cpp | Xcoder1011/Doric | ad1a409ef5edb9de8f3e1544748a9fa8015760c8 | [
"Apache-2.0"
] | 9 | 2020-04-26T02:04:27.000Z | 2022-01-26T07:31:01.000Z | doric-Qt/example/doric/utils/DoricSwitchBridge.cpp | Xcoder1011/Doric | ad1a409ef5edb9de8f3e1544748a9fa8015760c8 | [
"Apache-2.0"
] | 18 | 2020-01-24T15:42:03.000Z | 2021-12-28T08:17:36.000Z | #include "DoricSwitchBridge.h"
#include "shader/DoricSwitchNode.h"
DoricSwitchBridge::DoricSwitchBridge(QObject *parent) : QObject(parent) {}
void DoricSwitchBridge::onSwitch(QString pointer, bool checked) {
QObject *object = (QObject *)(pointer.toULongLong());
DoricSwitchNode *switchNode = dynamic_cast<DoricSwi... | 28.923077 | 74 | 0.768617 | [
"object"
] |
dd33e426242323826928410eaf856b8942a0d198 | 644 | cpp | C++ | libahabin/AhaNativeRefer.cpp | aha-lang/aha | d8d9d03d55ddfd844876a31c36d6bb83c046813c | [
"MIT"
] | null | null | null | libahabin/AhaNativeRefer.cpp | aha-lang/aha | d8d9d03d55ddfd844876a31c36d6bb83c046813c | [
"MIT"
] | 1 | 2016-07-03T09:32:01.000Z | 2016-07-03T09:32:01.000Z | libahabin/AhaNativeRefer.cpp | aha-lang/aha | d8d9d03d55ddfd844876a31c36d6bb83c046813c | [
"MIT"
] | null | null | null | #include "ahabin/AhaNativeRefer.h"
#include "ahabin/exceptions.h"
namespace aha
{
void AhaNativeRefer::Read(aha_u32 SizeOfNativeRefer, std::istream& strm)
{
try
{
m_impl.Read(SizeOfNativeRefer, strm);
}
catch (BadModuleReferError&)
{
throw BadModuleNativeReferError();
}
}
aha_u32 AhaNativeRefer:... | 17.405405 | 73 | 0.703416 | [
"vector"
] |
dd36824025fd44743b007285d5a1736c31d8e580 | 6,501 | hpp | C++ | lib/uti/my_network/BlockingMultiThread/Server/UDP/ServerUdpMultiThreadWrapper.hpp | NicolasKeita/Apache-like | e8e866ab164547dda4353dc6fbc8219e32846082 | [
"MIT"
] | 1 | 2020-01-13T22:50:40.000Z | 2020-01-13T22:50:40.000Z | lib/uti/my_network/BlockingMultiThread/Server/UDP/ServerUdpMultiThreadWrapper.hpp | NicolasKeita/My_Apache | e8e866ab164547dda4353dc6fbc8219e32846082 | [
"MIT"
] | null | null | null | lib/uti/my_network/BlockingMultiThread/Server/UDP/ServerUdpMultiThreadWrapper.hpp | NicolasKeita/My_Apache | e8e866ab164547dda4353dc6fbc8219e32846082 | [
"MIT"
] | null | null | null | /*
** EPITECH PROJECT, 2019
** ServerUdpMultiThreadWrapper.hpp
** File description:
**
*/
#pragma once
#include <memory>
#include <iostream>
#include <boost/asio.hpp>
#include <boost/serialization/vector.hpp>
#include <boost/archive/text_oarchive.hpp>
#include <boost/archive/text_iarchive.hpp>
#include <boost/bind.hpp... | 37.796512 | 123 | 0.570528 | [
"object",
"vector"
] |
dd49de4c17d87d7775b9ba6ceebb39966572d4a5 | 11,748 | cpp | C++ | ext/include/osgEarthUtil/PolyhedralLineOfSight.cpp | energonQuest/dtEarth | 47b04bb272ec8781702dea46f5ee9a03d4a22196 | [
"MIT"
] | 6 | 2015-09-26T15:33:41.000Z | 2021-06-13T13:21:50.000Z | ext/include/osgEarthUtil/PolyhedralLineOfSight.cpp | energonQuest/dtEarth | 47b04bb272ec8781702dea46f5ee9a03d4a22196 | [
"MIT"
] | null | null | null | ext/include/osgEarthUtil/PolyhedralLineOfSight.cpp | energonQuest/dtEarth | 47b04bb272ec8781702dea46f5ee9a03d4a22196 | [
"MIT"
] | 5 | 2015-05-04T09:02:23.000Z | 2019-06-17T11:34:12.000Z | /* -*-c++-*- */
/* osgEarth - Dynamic map generation toolkit for OpenSceneGraph
* Copyright 2008-2013 Pelican Mapping
* http://osgearth.org
*
* osgEarth is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; e... | 29.079208 | 107 | 0.602571 | [
"geometry",
"render",
"vector",
"transform"
] |
dd52b1230b2eb8843160ac3f6c9ad598adba345c | 683 | cpp | C++ | FightingGameProject/DevSettings.cpp | RoundBearChoi/CPP_FightingGame | 21d07caab82dd5ee0ad233886a36ef1fe93e25b6 | [
"Unlicense"
] | 8 | 2021-03-08T06:21:13.000Z | 2022-03-04T21:53:37.000Z | FightingGameProject/DevSettings.cpp | RoundBearChoi/CPP_FightingGame | 21d07caab82dd5ee0ad233886a36ef1fe93e25b6 | [
"Unlicense"
] | null | null | null | FightingGameProject/DevSettings.cpp | RoundBearChoi/CPP_FightingGame | 21d07caab82dd5ee0ad233886a36ef1fe93e25b6 | [
"Unlicense"
] | null | null | null | #include "DevSettings.h"
namespace RB
{
RenderMode DevSettings::renderMode = RenderMode::SPRITES_ONLY;
void DevSettings::UpdateDebugBoxSettings()
{
InputData& inputData = *InputData::ptr;
if (inputData.key_f8)
{
if (!inputData.key_f8->processed)
{
inputData.key_f8->processed = true;
ChangeRend... | 16.261905 | 78 | 0.642753 | [
"render"
] |
dd5a5c977211443da238d27855c58704d47c1ed4 | 5,358 | cpp | C++ | MistThread/IO/XML/XMLElement.cpp | Neko81795/CBREngine | 3ea100f09110d55fcbcadb23c246d47ed46c5121 | [
"CC-BY-4.0",
"MIT"
] | 2 | 2015-08-30T00:26:45.000Z | 2015-11-13T05:58:30.000Z | MistThread/IO/XML/XMLElement.cpp | Neko81795/CBREngine | 3ea100f09110d55fcbcadb23c246d47ed46c5121 | [
"CC-BY-4.0",
"MIT"
] | 1 | 2015-11-25T06:28:13.000Z | 2015-11-25T06:30:32.000Z | MistThread/IO/XML/XMLElement.cpp | Neko81795/CBREngine | 3ea100f09110d55fcbcadb23c246d47ed46c5121 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | #include "XMLElement.h"
#include "Core/Exception.h"
namespace MistThread
{
namespace IO
{
namespace XML
{
XMLElement * XMLElement::GetElementByName(const std::string &name)
{
for (unsigned int i = 0; i < Elements.size(); i++)
{
if (Elements[i].Name == name)
... | 27.19797 | 128 | 0.550765 | [
"vector"
] |
e5857bbec0f644f6dbcc1932992792b9eb523e2a | 8,669 | cc | C++ | test/min_acc_test.cc | RobertLWalton/min | 763bb5cf7cc72218831da2da685e8e5aa6e1408f | [
"Unlicense"
] | null | null | null | test/min_acc_test.cc | RobertLWalton/min | 763bb5cf7cc72218831da2da685e8e5aa6e1408f | [
"Unlicense"
] | null | null | null | test/min_acc_test.cc | RobertLWalton/min | 763bb5cf7cc72218831da2da685e8e5aa6e1408f | [
"Unlicense"
] | null | null | null | // MIN Language Allocator/Collector/Compactor Test
// Program
//
// File: min_acc_test.cc
// Author: Bob Walton (walton@acm.org)
// Date: Fri May 24 15:22:55 EDT 2019
//
// The authors have placed this program in the public
// domain; they make no warranty and accept no liability
// for this program.
// Table of Conte... | 25.497059 | 56 | 0.589572 | [
"object",
"vector"
] |
e58a84fec4117bd47f043245cd4ae467b465c86e | 4,473 | cpp | C++ | Street Fighter II/Street-Fighter-II/ModuleInput.cpp | PolGannau/RepeatersStudio | cfc5fec038dddd67c9b9b3bf98a1ac684f0f39db | [
"MIT"
] | null | null | null | Street Fighter II/Street-Fighter-II/ModuleInput.cpp | PolGannau/RepeatersStudio | cfc5fec038dddd67c9b9b3bf98a1ac684f0f39db | [
"MIT"
] | null | null | null | Street Fighter II/Street-Fighter-II/ModuleInput.cpp | PolGannau/RepeatersStudio | cfc5fec038dddd67c9b9b3bf98a1ac684f0f39db | [
"MIT"
] | 1 | 2019-06-10T20:48:03.000Z | 2019-06-10T20:48:03.000Z | #include "Globals.h"
#include "Application.h"
#include "ModuleInput.h"
#include "../SDL/include/SDL.h"
ModuleInput::ModuleInput() : Module()
{
for (uint i = 0; i < MAX_KEYS; ++i)
keyboard[i] = KEY_IDLE;
for (uint i = 0; i < SDL_CONTROLLER_BUTTON_MAX; ++i)
Controller1[i] = KEY_IDLE;
for (uint i = 0; i <SDL_CON... | 24.712707 | 97 | 0.653253 | [
"render"
] |
e58ac469326c15230679ca7127b441dceba51ec8 | 23,410 | cpp | C++ | ctsTraffic/ctsMediaStreamServer.cpp | microsoft/ctsTraffic | 00263ffac1d26917933472d75332c0733eb3fc65 | [
"Apache-2.0"
] | 75 | 2019-05-12T15:48:01.000Z | 2022-03-29T16:41:46.000Z | ctsTraffic/ctsMediaStreamServer.cpp | microsoft/ctsTraffic | 00263ffac1d26917933472d75332c0733eb3fc65 | [
"Apache-2.0"
] | 5 | 2020-06-16T00:48:21.000Z | 2022-02-17T18:26:17.000Z | ctsTraffic/ctsMediaStreamServer.cpp | microsoft/ctsTraffic | 00263ffac1d26917933472d75332c0733eb3fc65 | [
"Apache-2.0"
] | 25 | 2019-05-26T08:27:50.000Z | 2022-01-10T04:58:28.000Z | /*
Copyright (c) Microsoft Corporation
All rights reserved.
Licensed under the Apache License, Version 2.0 (the ""License""); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
THIS CODE IS PROVIDED ON AN *AS IS*... | 45.812133 | 263 | 0.550363 | [
"object",
"vector"
] |
e58bca88fb8018ddae716cd16ea51f7d51f86047 | 6,807 | cpp | C++ | tests/test_composite_graphs.cpp | kingang1986/purine2 | e53447da173e83fb62bae8cf50bde17f75723203 | [
"BSD-2-Clause"
] | 312 | 2015-03-16T15:29:38.000Z | 2021-09-16T22:48:41.000Z | tests/test_composite_graphs.cpp | zuiwufenghua/purine2 | e53447da173e83fb62bae8cf50bde17f75723203 | [
"BSD-2-Clause"
] | 19 | 2015-03-17T16:20:19.000Z | 2015-10-03T03:34:09.000Z | tests/test_composite_graphs.cpp | zuiwufenghua/purine2 | e53447da173e83fb62bae8cf50bde17f75723203 | [
"BSD-2-Clause"
] | 108 | 2015-03-16T07:07:30.000Z | 2021-08-22T07:32:13.000Z | // Copyright Lin Min 2015
#include <iostream>
#include "catch/catch.hpp"
#include "operations/operation.hpp"
#include "operations/include/random.hpp"
#include "dispatch/op.hpp"
#include "common/common.hpp"
#include "caffeine/math_functions.hpp"
#include "composite/connectable.hpp"
#include "dispatch/runnable.hpp"
#incl... | 33.204878 | 78 | 0.482885 | [
"vector"
] |
e58e8a74f104b69eda8bb4bfa8093b07850d4ac1 | 822 | cpp | C++ | goost/magma/BlkBackwarded.cpp | DronMDF/goost | 87a21ba383efc12209377ab686df7b93f4297f50 | [
"MIT"
] | 8 | 2017-04-06T20:38:44.000Z | 2022-01-08T09:01:52.000Z | goost/magma/BlkBackwarded.cpp | DronMDF/goost | 87a21ba383efc12209377ab686df7b93f4297f50 | [
"MIT"
] | 364 | 2017-02-16T19:07:32.000Z | 2021-12-23T16:36:43.000Z | goost/magma/BlkBackwarded.cpp | DronMDF/goost | 87a21ba383efc12209377ab686df7b93f4297f50 | [
"MIT"
] | 1 | 2017-10-08T20:46:48.000Z | 2017-10-08T20:46:48.000Z | // Copyright (c) 2017-2021 Andrey Valyaev <dron.valyaev@gmail.com>
//
// This software may be modified and distributed under the terms
// of the MIT license. See the LICENSE file for details.
#include "BlkBackwarded.h"
#include "LazyKey.h"
using namespace std;
using namespace goost::magma;
BlkBackwarded::BlkBackwar... | 24.176471 | 104 | 0.677616 | [
"transform"
] |
e59fdec841a11326040d9c9db409aae745506f13 | 438 | cpp | C++ | leetcode.com/0160 Intersection of Two Linked Lists/best.cpp | sky-bro/AC | 29bfa3f13994612887e18065fa6e854b9a29633d | [
"MIT"
] | 1 | 2020-08-20T11:02:49.000Z | 2020-08-20T11:02:49.000Z | leetcode.com/0160 Intersection of Two Linked Lists/best.cpp | sky-bro/AC | 29bfa3f13994612887e18065fa6e854b9a29633d | [
"MIT"
] | null | null | null | leetcode.com/0160 Intersection of Two Linked Lists/best.cpp | sky-bro/AC | 29bfa3f13994612887e18065fa6e854b9a29633d | [
"MIT"
] | 1 | 2022-01-01T23:23:13.000Z | 2022-01-01T23:23:13.000Z | #include <iostream>
#include <vector>
using namespace std;
// Definition for singly-linked list.
struct ListNode {
int val;
ListNode *next;
ListNode(int x) : val(x), next(NULL) {}
};
class Solution {
public:
ListNode *getIntersectionNode(ListNode *headA, ListNode *headB) {
ListNode *pA = headA, *pB = he... | 18.25 | 67 | 0.605023 | [
"vector"
] |
e5a9d4e84310102239b60aa7c30758ab7fafb9b3 | 683 | cpp | C++ | Olympiad Programs/Codeforces Training/3A.cpp | mirtaba/ACMICPC-INOI_Archive | ea06e4e40e984f0807410e4f9b5f7042580da2e3 | [
"MIT"
] | 1 | 2020-12-08T11:21:34.000Z | 2020-12-08T11:21:34.000Z | Olympiad Programs/Codeforces Training/3A.cpp | mirtaba/ACMICPC-INOI_Archive | ea06e4e40e984f0807410e4f9b5f7042580da2e3 | [
"MIT"
] | null | null | null | Olympiad Programs/Codeforces Training/3A.cpp | mirtaba/ACMICPC-INOI_Archive | ea06e4e40e984f0807410e4f9b5f7042580da2e3 | [
"MIT"
] | null | null | null | #include <iostream>
#include <cstdio>
#include <algorithm>
#include <cstring>
#include <string>
#include <cctype>
#include <stack>
#include <queue>
#include <list>
#include <vector>
#include <map>
#include <sstream>
#include <cmath>
#include <bitset>
#include <utility>
#include <set>
#include <numeric>
using namespace... | 18.972222 | 61 | 0.551977 | [
"vector"
] |
e5ad205acbef7715a463d0483ad00dc5b3553241 | 3,584 | cpp | C++ | src/strings.cpp | hoathienvu8x/chatmachine | a05e9afd2dabe49e4a61ba97fbd07d2fcd041b89 | [
"Apache-2.0"
] | 4 | 2019-05-01T02:34:17.000Z | 2020-12-27T23:29:45.000Z | src/strings.cpp | hoathienvu8x/chatmachine | a05e9afd2dabe49e4a61ba97fbd07d2fcd041b89 | [
"Apache-2.0"
] | 1 | 2020-03-25T09:14:18.000Z | 2020-03-25T09:14:18.000Z | src/strings.cpp | hoathienvu8x/chatmachine | a05e9afd2dabe49e4a61ba97fbd07d2fcd041b89 | [
"Apache-2.0"
] | 11 | 2019-03-15T07:53:58.000Z | 2022-01-08T03:51:21.000Z | #include "strings.h"
#include "locale"
#include <iostream>
#include <vector>
#include <sstream>
#include <string>
#include <regex>
using namespace std;
void subsitute(string &input, vector<subsitution_t> subs) {
for(int i=0, s=subs.size(); i<s; ++i) {
replace(input, subs[i].input, subs[i].sub);
}
}
void replace... | 22.540881 | 137 | 0.554967 | [
"vector"
] |
e5adf6fc6ab766039a06909009cea79a491d7e54 | 44,378 | cpp | C++ | libs/sge_engine/src/sge_engine/GameDrawer/DefaultGameDrawer.cpp | ongamex/SGEEngine | de17c10bd880e8175ea01588eeefeb70abfbc3d0 | [
"MIT"
] | 34 | 2021-06-15T10:24:49.000Z | 2022-03-22T19:20:23.000Z | libs/sge_engine/src/sge_engine/GameDrawer/DefaultGameDrawer.cpp | ongamex/SGEEngine | de17c10bd880e8175ea01588eeefeb70abfbc3d0 | [
"MIT"
] | 9 | 2021-03-04T21:34:03.000Z | 2021-05-04T18:33:47.000Z | libs/sge_engine/src/sge_engine/GameDrawer/DefaultGameDrawer.cpp | ongamex/SGEEngine | de17c10bd880e8175ea01588eeefeb70abfbc3d0 | [
"MIT"
] | 2 | 2021-12-29T01:15:22.000Z | 2022-02-01T10:53:15.000Z | #include "sge_engine/GameDrawer/DefaultGameDrawer.h"
#include "sge_core/Camera.h"
#include "sge_core/DebugDraw.h"
#include "sge_core/ICore.h"
#include "sge_core/QuickDraw.h"
#include "sge_core/materials/DefaultPBRMtl/DefaultPBRMtl.h"
#include "sge_core/materials/IMaterial.h"
#include "sge_core/shaders/LightDesc.h"
#inc... | 43.851779 | 136 | 0.707828 | [
"mesh",
"geometry",
"render",
"object",
"vector",
"transform"
] |
e5b00372b43573c135e5e8808dcaba8c768fd636 | 934 | cpp | C++ | baekjoon/2336/source.cpp | qilip/ACMStudy | c4d6f31b01358ead4959c92f1fac59a3826f3f77 | [
"CC-BY-3.0"
] | 4 | 2020-02-02T08:34:46.000Z | 2021-10-01T11:21:17.000Z | baekjoon/2336/source.cpp | qilip/ACMStudy | c4d6f31b01358ead4959c92f1fac59a3826f3f77 | [
"CC-BY-3.0"
] | 1 | 2021-09-04T14:03:50.000Z | 2021-09-04T14:03:50.000Z | baekjoon/2336/source.cpp | qilip/ACMStudy | c4d6f31b01358ead4959c92f1fac59a3826f3f77 | [
"CC-BY-3.0"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int n;
int nn[50'0010][3];
vector<pair<int, pair<int, int>>> v;
int tree[100'0010];
void update(int pos, int val){
int idx = pos + n;
tree[idx] = val;
idx >>= 1;
while(idx){
tree[idx] = min(tree[idx<<1], tree[idx<<1|1]);
idx>>=1;
}
}
int ... | 16.981818 | 48 | 0.517131 | [
"vector"
] |
e5b0d85d72800df34b8ea6552994bb3408e7052b | 4,587 | cpp | C++ | src/topo/base_topo/BaseTopology.cpp | thillux/topoGen | 219901bda2df2594393dd5f52a6b6e961c59225e | [
"BSD-3-Clause"
] | 3 | 2016-12-27T05:05:56.000Z | 2017-04-28T16:46:01.000Z | src/topo/base_topo/BaseTopology.cpp | thillux/topoGen | 219901bda2df2594393dd5f52a6b6e961c59225e | [
"BSD-3-Clause"
] | null | null | null | src/topo/base_topo/BaseTopology.cpp | thillux/topoGen | 219901bda2df2594393dd5f52a6b6e961c59225e | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2013-2015, Michael Grey and Markus Theil
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notic... | 35.835938 | 108 | 0.683453 | [
"vector"
] |
e5b2aa8a0c58f030dc7c5b02a5d76f70ce994c10 | 893 | cpp | C++ | gym/103107/f/f.cpp | GoatGirl98/cf | 4077ca8e0fe29dc2bbb7b60166989857cc062e17 | [
"MIT"
] | null | null | null | gym/103107/f/f.cpp | GoatGirl98/cf | 4077ca8e0fe29dc2bbb7b60166989857cc062e17 | [
"MIT"
] | null | null | null | gym/103107/f/f.cpp | GoatGirl98/cf | 4077ca8e0fe29dc2bbb7b60166989857cc062e17 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
#define watch(x) std::cout << (#x) << " is " << (x) << std::endl
using LL = long long;
std::vector<int> spf(int N) {
std::vector<int> sp(N), p{0, 2};
for (int i = 2; i < N; i += 2) sp[i] = 2;
for (int i = 1; i < N; i += 2) sp[i] = i;
for (int i = 3; i < N; i += 2) {
if (sp[i] == i) p.emp... | 23.5 | 80 | 0.459127 | [
"vector"
] |
e5bbe7023df14ec84d2b74058ff52f3bc43755f0 | 12,197 | cpp | C++ | Project.cpp | moinak878/ideal-octo-enigma | 3fcb0ead9eb383262495951c868b8f51b4fbf929 | [
"MIT"
] | 2 | 2019-12-26T08:48:16.000Z | 2020-01-08T10:12:39.000Z | Project.cpp | moinak878/ideal-octo-enigma | 3fcb0ead9eb383262495951c868b8f51b4fbf929 | [
"MIT"
] | null | null | null | Project.cpp | moinak878/ideal-octo-enigma | 3fcb0ead9eb383262495951c868b8f51b4fbf929 | [
"MIT"
] | null | null | null | #include<fstream.h>
#include<conio.h>
#include<stdio.h>
#include<dos.h>
#include<process.h>
#include<string.h>
void enterrecord();
void searchrecord();
void delrecord();
void modifyrecord();
int display();
void display1();
class student //to record temporarily
{
public:
int rollno;
char name[20];
int marks[5],... | 16.823448 | 92 | 0.542428 | [
"model"
] |
e5bfb1b7e281410a58fb430f9f985300fb18b5b0 | 5,557 | hpp | C++ | include/codegen/include/GlobalNamespace/GameplayModifiersModelSO.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 1 | 2021-11-12T09:29:31.000Z | 2021-11-12T09:29:31.000Z | include/codegen/include/GlobalNamespace/GameplayModifiersModelSO.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | null | null | null | include/codegen/include/GlobalNamespace/GameplayModifiersModelSO.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 2 | 2021-10-03T02:14:20.000Z | 2021-11-12T09:29:36.000Z | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
#pragma pack(push, 8)
// Begin includes
#include "extern/beatsaber-hook/shared/utils/typedefs.h"
// Including type: PersistentScriptableObject
#include "GlobalNamespace/Pe... | 51.934579 | 178 | 0.786396 | [
"object"
] |
e5d676aa82bfda667fe1514e0718f8728d991831 | 8,047 | cpp | C++ | Sources/Elastos/Packages/Apps/Launcher2/src/elastos/droid/launcher2/InstallWidgetReceiver.cpp | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | 7 | 2017-07-13T10:34:54.000Z | 2021-04-16T05:40:35.000Z | Sources/Elastos/Packages/Apps/Launcher2/src/elastos/droid/launcher2/InstallWidgetReceiver.cpp | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | null | null | null | Sources/Elastos/Packages/Apps/Launcher2/src/elastos/droid/launcher2/InstallWidgetReceiver.cpp | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | 9 | 2017-07-13T12:33:20.000Z | 2021-06-19T02:46:48.000Z | //=========================================================================
// Copyright (C) 2012 The Elastos 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
//
// ... | 31.311284 | 104 | 0.693426 | [
"object"
] |
e5d77a5511ec1a9ccbad23dda0d6c40a347e1ddc | 2,610 | cpp | C++ | src/playground/Main.cpp | jmnel/math4171 | 25f7b95b24bcac0cd707a16c0d387fce4e68be03 | [
"MIT"
] | null | null | null | src/playground/Main.cpp | jmnel/math4171 | 25f7b95b24bcac0cd707a16c0d387fce4e68be03 | [
"MIT"
] | null | null | null | src/playground/Main.cpp | jmnel/math4171 | 25f7b95b24bcac0cd707a16c0d387fce4e68be03 | [
"MIT"
] | null | null | null | // -- Calculations for assignment 1 --
// -- Chapter 3: Exercise 1 ----------
#include <cstdlib>
#include <iostream>
#include <memory>
#include <string>
#include <vector>
#include <Vec.hpp>
//#include <PythonCommon.hpp>
#include <PythonContext.hpp>
//#include <PythonFloat.hpp>
#include <PythonFunction.hpp>
#include ... | 24.857143 | 62 | 0.544061 | [
"vector"
] |
e5d9b413dc51ff4e0b622caa1a472c9bf59a26ed | 7,388 | cpp | C++ | src/Customs/FirstBossScript.cpp | fgagamedev/voID | 37cd56fe2878d036c36dafcf595e48ed85408d02 | [
"MIT"
] | null | null | null | src/Customs/FirstBossScript.cpp | fgagamedev/voID | 37cd56fe2878d036c36dafcf595e48ed85408d02 | [
"MIT"
] | null | null | null | src/Customs/FirstBossScript.cpp | fgagamedev/voID | 37cd56fe2878d036c36dafcf595e48ed85408d02 | [
"MIT"
] | null | null | null | /**
@file FirstBossScript.cpp
@brief Creates and handles with the first boss behavior.
@copyright MIT License.
*/
#include "Customs/FirstBossScript.hpp"
/**
@brief Constructor for the class FirstBossScript.
*/
FirstBossScript::FirstBossScript(GameObject *owner) : Script(owner) {}
/**
@brief Starts... | 34.849057 | 95 | 0.578506 | [
"vector"
] |
e5de70ce7c7b43d6c02bc59872924e9c225bfce3 | 5,287 | hpp | C++ | include/layered_hardware_gazebo/layered_hardware_gazebo.hpp | yoshito-n-students/layered_hardware_gazebo | 83a3b69f2a87f122e29d29d81eb058881b199121 | [
"MIT"
] | 1 | 2020-09-01T04:18:10.000Z | 2020-09-01T04:18:10.000Z | include/layered_hardware_gazebo/layered_hardware_gazebo.hpp | yoshito-n-students/layered_hardware_gazebo | 83a3b69f2a87f122e29d29d81eb058881b199121 | [
"MIT"
] | null | null | null | include/layered_hardware_gazebo/layered_hardware_gazebo.hpp | yoshito-n-students/layered_hardware_gazebo | 83a3b69f2a87f122e29d29d81eb058881b199121 | [
"MIT"
] | null | null | null | #ifndef LAYERED_HARDWARE_GAZEBO_LAYERED_HARDWARE_GAZEBO_HPP
#define LAYERED_HARDWARE_GAZEBO_LAYERED_HARDWARE_GAZEBO_HPP
#include <string>
#include <vector>
#include <layered_hardware/layer_base.hpp>
#include <layered_hardware/layered_hardware.hpp>
#include <layered_hardware_gazebo/common_namespaces.hpp>
#include <lay... | 38.591241 | 100 | 0.621524 | [
"vector",
"model"
] |
e5df7abd48332e28d88145d0f81981b5d5d7f740 | 711 | cpp | C++ | 0700/10/719a.cpp | actium/cf | d7be128c3a9adb014a231a399f1c5f19e1ab2a38 | [
"Unlicense"
] | 1 | 2020-07-03T15:55:52.000Z | 2020-07-03T15:55:52.000Z | 0700/10/719a.cpp | actium/cf | d7be128c3a9adb014a231a399f1c5f19e1ab2a38 | [
"Unlicense"
] | null | null | null | 0700/10/719a.cpp | actium/cf | d7be128c3a9adb014a231a399f1c5f19e1ab2a38 | [
"Unlicense"
] | 3 | 2020-10-01T14:55:28.000Z | 2021-07-11T11:33:58.000Z | #include <iostream>
#include <vector>
template <typename T>
std::istream& operator >>(std::istream& input, std::vector<T>& v)
{
for (T& a : v)
input >> a;
return input;
}
void no_answer()
{
std::cout << -1 << '\n';
}
void answer(const char* v)
{
std::cout << v << '\n';
}
void solve(const st... | 13.673077 | 65 | 0.500703 | [
"vector"
] |
e5e12a3b44b21ce24c6c0e3ef48ecbaef6d26a82 | 9,487 | hpp | C++ | src/tests/blueprint/blueprint_test_helpers.hpp | francois-kitware/conduit | e457aeeb249c445d67ca791c14f72062acfafb7f | [
"BSD-3-Clause"
] | 120 | 2015-12-09T00:58:22.000Z | 2022-03-25T00:14:39.000Z | src/tests/blueprint/blueprint_test_helpers.hpp | francois-kitware/conduit | e457aeeb249c445d67ca791c14f72062acfafb7f | [
"BSD-3-Clause"
] | 808 | 2016-02-27T22:25:15.000Z | 2022-03-30T23:42:12.000Z | src/tests/blueprint/blueprint_test_helpers.hpp | francois-kitware/conduit | e457aeeb249c445d67ca791c14f72062acfafb7f | [
"BSD-3-Clause"
] | 49 | 2016-02-12T17:19:16.000Z | 2022-02-01T14:36:21.000Z | // Copyright (c) Lawrence Livermore National Security, LLC and other Conduit
// Project developers. See top-level LICENSE AND COPYRIGHT files for dates and
// other details. No copyright assignment is required to contribute to Conduit.
//-----------------------------------------------------------------------------
///... | 37.350394 | 92 | 0.493412 | [
"mesh",
"vector"
] |
e5e3989e54a34dc0d026da5523587923b253865e | 42,096 | cpp | C++ | dbswzem/WzemHistRMUserUniversal.cpp | mpsitech/wzem-WhizniumSBE-Engine-Monitor | 0d9a204660bfad57f25dbd641fd86713986f32f1 | [
"MIT"
] | null | null | null | dbswzem/WzemHistRMUserUniversal.cpp | mpsitech/wzem-WhizniumSBE-Engine-Monitor | 0d9a204660bfad57f25dbd641fd86713986f32f1 | [
"MIT"
] | null | null | null | dbswzem/WzemHistRMUserUniversal.cpp | mpsitech/wzem-WhizniumSBE-Engine-Monitor | 0d9a204660bfad57f25dbd641fd86713986f32f1 | [
"MIT"
] | null | null | null | /**
* \file WzemHistRMUserUniversal.cpp
* database access for table TblWzemHistRMUserUniversal (implementation)
* \copyright (C) 2016-2020 MPSI Technologies GmbH
* \author Alexander Wirthmueller (auto-generation)
* \date created: 6 Dec 2020
*/
// IP header --- ABOVE
#include "WzemHistRMUserUniversal.h"
using n... | 30.884813 | 389 | 0.701326 | [
"vector"
] |
e5e8b209e66cbd3596a71899213855d9ad635963 | 3,534 | cc | C++ | kernel/krnl/irq.cc | foreverbell/BadAppleOS | 695e4de5f41cc64e0d6a1b147ab6d84d50b91416 | [
"MIT"
] | 52 | 2015-07-11T02:35:11.000Z | 2022-01-06T22:03:23.000Z | kernel/krnl/irq.cc | foreverbell/BadAppleOS | 695e4de5f41cc64e0d6a1b147ab6d84d50b91416 | [
"MIT"
] | null | null | null | kernel/krnl/irq.cc | foreverbell/BadAppleOS | 695e4de5f41cc64e0d6a1b147ab6d84d50b91416 | [
"MIT"
] | 3 | 2018-06-10T06:52:37.000Z | 2021-11-05T05:49:15.000Z |
#include <stdint.h>
#include <system.h>
#include <port.h>
#include <stdio.h>
#include <string.h>
#include <linkage.h>
asmlinkage {
void irq_handler0();
void irq_handler1();
void irq_handler2();
void irq_handler3();
void irq_handler4();
void irq_handler5();
void irq_handler6();
void irq_handler7();
void irq_handler8(... | 23.403974 | 110 | 0.684493 | [
"vector"
] |
e5eb1e2772bb2879f72ed879d7c7bb77b2103a89 | 235 | cpp | C++ | sprint01/t01/main.cpp | viacheslavpleshkov/unit-factory-ucode-half-marathon-c | 9ff260290382ea03b07e28a92c0f922ec85d31d0 | [
"MIT"
] | null | null | null | sprint01/t01/main.cpp | viacheslavpleshkov/unit-factory-ucode-half-marathon-c | 9ff260290382ea03b07e28a92c0f922ec85d31d0 | [
"MIT"
] | null | null | null | sprint01/t01/main.cpp | viacheslavpleshkov/unit-factory-ucode-half-marathon-c | 9ff260290382ea03b07e28a92c0f922ec85d31d0 | [
"MIT"
] | null | null | null | #include "src/moveAlong.h"
int main(int argc, char **argv) {
errors(argc);
std::vector<std::string> arguments;
for (int i = 1; i < argc; ++i)
arguments.push_back(argv[i]);
moveAlong(arguments);
return 0;
} | 21.363636 | 39 | 0.6 | [
"vector"
] |
e5ecf415749efd2712f87157367ae46df31d8a9f | 8,858 | cc | C++ | syncer/client/parsing_worker.cc | wahidHarb/rdp-1 | 73a0813d9a08f0aad34b56ba678167e6387b5e74 | [
"Apache-2.0"
] | 112 | 2018-12-05T07:45:42.000Z | 2022-01-24T11:28:11.000Z | syncer/client/parsing_worker.cc | wahidHarb/rdp-1 | 73a0813d9a08f0aad34b56ba678167e6387b5e74 | [
"Apache-2.0"
] | 2 | 2020-02-29T02:34:59.000Z | 2020-05-12T06:34:29.000Z | syncer/client/parsing_worker.cc | wahidHarb/rdp-1 | 73a0813d9a08f0aad34b56ba678167e6387b5e74 | [
"Apache-2.0"
] | 88 | 2018-12-16T07:35:10.000Z | 2022-03-09T17:41:16.000Z | //
//Copyright 2018 vip.com.
//
//Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
//the License. You may obtain a copy of the License at
//
//http://www.apache.org/licenses/LICENSE-2.0
//
//Unless required by applicable law or agreed to in writing, sof... | 32.094203 | 132 | 0.653985 | [
"vector"
] |
e5ef1610fe410a37b0eee2a1ee7127964531e3a5 | 5,171 | cpp | C++ | Engine/source/rendering/DrawingSystem.cpp | KnightTec/BaryonEngine | dd0ea1b1671c164471b1a5820394243abe621227 | [
"MIT"
] | null | null | null | Engine/source/rendering/DrawingSystem.cpp | KnightTec/BaryonEngine | dd0ea1b1671c164471b1a5820394243abe621227 | [
"MIT"
] | null | null | null | Engine/source/rendering/DrawingSystem.cpp | KnightTec/BaryonEngine | dd0ea1b1671c164471b1a5820394243abe621227 | [
"MIT"
] | null | null | null | #include "DrawingSystem.h"
#include "Shader.h"
#include "GpuData.h"
#include "DXErr.h"
#include "VirtualScreen.h"
#include "ConstantBuffer.h"
#include "DirectXMath.h"
using namespace Baryon;
using namespace DirectX;
using namespace Microsoft::WRL;
static ComPtr<ID3D11RasterizerState1> rasterState;
static ComPtr<ID3... | 28.888268 | 110 | 0.769097 | [
"mesh",
"geometry",
"render",
"vector"
] |
e5f1cb1b5dd42a823b2407d8f84c3614a56d6219 | 5,361 | hpp | C++ | include/chemfiles/selections/lexer.hpp | jjzhang166/chemfiles | 8b5ca75ef5af9cd4499aaf79a78e0cbc6e83429a | [
"BSD-3-Clause"
] | null | null | null | include/chemfiles/selections/lexer.hpp | jjzhang166/chemfiles | 8b5ca75ef5af9cd4499aaf79a78e0cbc6e83429a | [
"BSD-3-Clause"
] | null | null | null | include/chemfiles/selections/lexer.hpp | jjzhang166/chemfiles | 8b5ca75ef5af9cd4499aaf79a78e0cbc6e83429a | [
"BSD-3-Clause"
] | null | null | null | // Chemfiles, a modern library for chemistry file reading and writing
// Copyright (C) Guillaume Fraux and contributors -- BSD license
#ifndef CHEMFILES_SELECTION_LEXER_HPP
#define CHEMFILES_SELECTION_LEXER_HPP
#include <string>
#include <sstream>
#include <vector>
#include <cassert>
#include <chemfiles/exports.hpp>
... | 29.295082 | 89 | 0.579929 | [
"vector"
] |
e5fda074d6fa61ba44173381089f9056a843d5b0 | 4,721 | hpp | C++ | include/tcframe/spec/io/IOFormat.hpp | tcgen/tcgen | d3b79585b40995ea8fc8091ecc6b6b19c2cb46ad | [
"MIT"
] | 76 | 2015-03-31T01:36:17.000Z | 2021-12-29T08:16:25.000Z | include/tcframe/spec/io/IOFormat.hpp | tcgen/tcgen | d3b79585b40995ea8fc8091ecc6b6b19c2cb46ad | [
"MIT"
] | 68 | 2016-11-28T18:58:26.000Z | 2018-08-10T13:33:35.000Z | include/tcframe/spec/io/IOFormat.hpp | tcgen/tcgen | d3b79585b40995ea8fc8091ecc6b6b19c2cb46ad | [
"MIT"
] | 17 | 2015-04-24T03:52:32.000Z | 2022-03-11T23:28:02.000Z | #pragma once
#include <functional>
#include <stdexcept>
#include <utility>
#include <vector>
#include "GridIOSegment.hpp"
#include "IOSegment.hpp"
#include "LineIOSegment.hpp"
#include "LinesIOSegment.hpp"
#include "RawLineIOSegment.hpp"
#include "RawLinesIOSegment.hpp"
using std::function;
using std::move;
using st... | 26.522472 | 96 | 0.611311 | [
"vector"
] |
f900f8391d1d785d557afa86805e522497625ea9 | 6,146 | cpp | C++ | tengine/renderer/game_renderingcontext.cpp | BSVino/Digitanks | 1bd1ed115493bce22001ae6684b70b8fcf135db0 | [
"BSD-4-Clause"
] | 5 | 2015-07-03T18:42:32.000Z | 2017-08-25T10:28:12.000Z | tengine/renderer/game_renderingcontext.cpp | BSVino/Digitanks | 1bd1ed115493bce22001ae6684b70b8fcf135db0 | [
"BSD-4-Clause"
] | null | null | null | tengine/renderer/game_renderingcontext.cpp | BSVino/Digitanks | 1bd1ed115493bce22001ae6684b70b8fcf135db0 | [
"BSD-4-Clause"
] | null | null | null | #include "game_renderingcontext.h"
#include <maths.h>
#include <simplex.h>
#include <models/models.h>
#include <renderer/shaders.h>
#include <tinker/application.h>
#include <tinker/cvar.h>
#include <tinker/profiler.h>
#include <game/gameserver.h>
#include <textures/texturelibrary.h>
#include <renderer/renderer.h>
#in... | 29.980488 | 147 | 0.741946 | [
"vector"
] |
f909e1e2dba4867b5ed395e61755685ee938d9ed | 1,263 | cpp | C++ | src/shared/Sphere.cpp | RainerBlessing/TheRayTracerChallenge-C- | 22c990201507f46d5bb1604bc1f6ee88e59cef95 | [
"MIT"
] | null | null | null | src/shared/Sphere.cpp | RainerBlessing/TheRayTracerChallenge-C- | 22c990201507f46d5bb1604bc1f6ee88e59cef95 | [
"MIT"
] | null | null | null | src/shared/Sphere.cpp | RainerBlessing/TheRayTracerChallenge-C- | 22c990201507f46d5bb1604bc1f6ee88e59cef95 | [
"MIT"
] | null | null | null | //
// Created by rainer on 27.12.19.
//
#include <vector>
#include "Sphere.h"
#include "Ray.h"
std::vector<double> Sphere::intersects(Ray ray) {
std::vector<double> intersections;
auto ray2 = ray.transform(this->transform().inverse());
auto sphere_to_ray = ray2.origin - Point(0, 0, 0);
auto a = ray2... | 25.77551 | 75 | 0.665083 | [
"vector",
"transform"
] |
f91115e2c423c18941da7626f2d189253a5207c6 | 2,192 | cpp | C++ | 008_String_to_Integer/String_to_Integer.cpp | Rookie39/Algorithms_Leetcode | 433d1360a91774df21b283e8d5d1a4a6c2a8c63d | [
"Apache-2.0"
] | null | null | null | 008_String_to_Integer/String_to_Integer.cpp | Rookie39/Algorithms_Leetcode | 433d1360a91774df21b283e8d5d1a4a6c2a8c63d | [
"Apache-2.0"
] | null | null | null | 008_String_to_Integer/String_to_Integer.cpp | Rookie39/Algorithms_Leetcode | 433d1360a91774df21b283e8d5d1a4a6c2a8c63d | [
"Apache-2.0"
] | null | null | null | /*
*Author: Rookie118
*Title: String to Integer
*Completion time: 2018-03-12
*/
//The first version
//Time complexity: O(n^2)
//Space complexity: O(1)
class Solution {
public:
int myAtoi(string str) {
bool flag_neg = false, flag_num = false; //负数标记,数字标记
vector<int> nums;
int result = 0,... | 30.027397 | 123 | 0.380474 | [
"vector"
] |
f91722399f7264d798eb19f705937d07b262b634 | 5,150 | cpp | C++ | src/gui/graphsettings.cpp | evoplex/evoplex | c6e78af5fb0d2fc5a5ce7b02e5e4ec61de8934b6 | [
"Apache-2.0"
] | 101 | 2018-06-21T04:29:18.000Z | 2022-03-09T13:04:15.000Z | src/gui/graphsettings.cpp | ElsevierSoftwareX/SOFTX_2018_211 | cbfac5af0ad76b7c88a7ea296d94785692da3048 | [
"Apache-2.0"
] | 30 | 2018-06-26T15:12:03.000Z | 2019-10-10T04:02:13.000Z | src/gui/graphsettings.cpp | ElsevierSoftwareX/SOFTX_2018_211 | cbfac5af0ad76b7c88a7ea296d94785692da3048 | [
"Apache-2.0"
] | 23 | 2018-06-23T16:10:24.000Z | 2021-11-03T15:12:51.000Z | /**
* This file is part of Evoplex.
*
* Evoplex is a multi-agent system for networks.
* Copyright (C) 2018 - Marcos Cardinot <marcos@cardinot.net>
*
* 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 Soft... | 33.881579 | 86 | 0.713981 | [
"model"
] |
f918a0fc00438e22948f9faa839a2e82ab90f73c | 17,294 | cpp | C++ | src/application.cpp | danilopeixoto/thesaurus | d4b5f9b24726fb1f26b3fd121c5845a818c63c42 | [
"BSD-3-Clause"
] | null | null | null | src/application.cpp | danilopeixoto/thesaurus | d4b5f9b24726fb1f26b3fd121c5845a818c63c42 | [
"BSD-3-Clause"
] | null | null | null | src/application.cpp | danilopeixoto/thesaurus | d4b5f9b24726fb1f26b3fd121c5845a818c63c42 | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2017, Danilo Peixoto. All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistributions of source code must retain the above copyright notice, this
// list of condi... | 21.6175 | 94 | 0.527408 | [
"vector"
] |
23526687a3e21f186e3fcaf2dba9cd1ea8d89856 | 7,538 | cpp | C++ | src/pause_state.cpp | diegomacario/Teapong | ef09a8ae4b7c7fe5c12df09592bc267ee9ea586e | [
"MIT"
] | 25 | 2020-01-05T02:59:39.000Z | 2021-09-04T15:47:15.000Z | src/pause_state.cpp | diegomacario/Teapong | ef09a8ae4b7c7fe5c12df09592bc267ee9ea586e | [
"MIT"
] | 2 | 2020-01-05T20:55:04.000Z | 2020-01-22T15:13:20.000Z | src/pause_state.cpp | diegomacario/Teapong | ef09a8ae4b7c7fe5c12df09592bc267ee9ea586e | [
"MIT"
] | 5 | 2020-02-04T23:18:30.000Z | 2021-05-28T20:07:46.000Z | #include "play_state.h"
#include "pause_state.h"
PauseState::PauseState(const std::shared_ptr<FiniteStateMachine>& finiteStateMachine,
const std::shared_ptr<Window>& window,
const std::shared_ptr<Camera>& camera,
c... | 33.207048 | 132 | 0.622712 | [
"render",
"3d"
] |
2354546712a338a405beb04b7313b8e10082cd56 | 1,129 | hpp | C++ | Source/TitaniumKit/include/Titanium/UI/OptionDialogShowParams.hpp | garymathews/titanium_mobile_windows | ff2a02d096984c6cad08f498e1227adf496f84df | [
"Apache-2.0"
] | 20 | 2015-04-02T06:55:30.000Z | 2022-03-29T04:27:30.000Z | Source/TitaniumKit/include/Titanium/UI/OptionDialogShowParams.hpp | garymathews/titanium_mobile_windows | ff2a02d096984c6cad08f498e1227adf496f84df | [
"Apache-2.0"
] | 692 | 2015-04-01T21:05:49.000Z | 2020-03-10T10:11:57.000Z | Source/TitaniumKit/include/Titanium/UI/OptionDialogShowParams.hpp | garymathews/titanium_mobile_windows | ff2a02d096984c6cad08f498e1227adf496f84df | [
"Apache-2.0"
] | 22 | 2015-04-01T20:57:51.000Z | 2022-01-18T17:33:15.000Z | /**
* TitaniumKit OptionDialogShowParams
*
* Copyright (c) 2015 by Appcelerator, Inc. All Rights Reserved.
* Licensed under the terms of the Apache Public License.
* Please see the LICENSE included with this distribution for details.
*/
#ifndef _TITANIUM_UI_OPTIONDIALOGSHOWPARAMS_HPP_
#define _TITANIUM_UI_OPTION... | 26.880952 | 105 | 0.76705 | [
"object"
] |
23554a2bde0fabb6a42e14d9b7775a211a5449f3 | 6,345 | cpp | C++ | examples/todos_qt/window.cpp | deiflou/uroboros | defd4b02e7498abdd6eb2dd867a1a8e5ceda2820 | [
"MIT"
] | null | null | null | examples/todos_qt/window.cpp | deiflou/uroboros | defd4b02e7498abdd6eb2dd867a1a8e5ceda2820 | [
"MIT"
] | null | null | null | examples/todos_qt/window.cpp | deiflou/uroboros | defd4b02e7498abdd6eb2dd867a1a8e5ceda2820 | [
"MIT"
] | null | null | null | //
// MIT License
//
// Copyright (c) 2019 Deif Lou
//
// 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,... | 32.875648 | 88 | 0.608983 | [
"vector"
] |
235678281ca935d2f181df71a925cc1162699372 | 9,224 | cpp | C++ | src/direct_bt/DBTEnv.cpp | xranby/direct_bt | 135a8cce2307df1c899eac5f25527aadcd529687 | [
"MIT"
] | 1 | 2020-09-04T18:44:13.000Z | 2020-09-04T18:44:13.000Z | src/direct_bt/DBTEnv.cpp | xranby/direct_bt-1 | 135a8cce2307df1c899eac5f25527aadcd529687 | [
"MIT"
] | null | null | null | src/direct_bt/DBTEnv.cpp | xranby/direct_bt-1 | 135a8cce2307df1c899eac5f25527aadcd529687 | [
"MIT"
] | null | null | null | /*
* Author: Sven Gothel <sgothel@jausoft.com>
* Copyright (c) 2020 Gothel Software e.K.
* Copyright (c) 2020 ZAFENA AB
*
* 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 restri... | 42.311927 | 151 | 0.581093 | [
"vector"
] |
2356f2a36381e1a1a9d0f32b02d9acc04d8dbe57 | 17,700 | hpp | C++ | Base/include/Framework/Collection/List.impl.hpp | BlockProject3D/Framework | 1c27ef19d9a12d158a2b53f6bd28dd2d8e678912 | [
"BSD-3-Clause"
] | 2 | 2019-02-02T20:48:17.000Z | 2019-02-22T09:59:40.000Z | Base/include/Framework/Collection/List.impl.hpp | BlockProject3D/Framework | 1c27ef19d9a12d158a2b53f6bd28dd2d8e678912 | [
"BSD-3-Clause"
] | 125 | 2020-01-14T18:26:38.000Z | 2021-02-23T15:33:55.000Z | Base/include/Framework/Collection/List.impl.hpp | BlockProject3D/Framework | 1c27ef19d9a12d158a2b53f6bd28dd2d8e678912 | [
"BSD-3-Clause"
] | 1 | 2020-05-26T08:55:10.000Z | 2020-05-26T08:55:10.000Z | // Copyright (c) 2020, BlockProject 3D
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification,
// are permitted provided that the following conditions are met:
//
// * Redistributions of source code must retain the above copyright notice,
// this list ... | 29.598662 | 131 | 0.42661 | [
"3d"
] |
238593d1d4d3e831e33751c68a3acd75171000aa | 1,282 | cpp | C++ | Problems/Facebook/Facebook_Hacker_Cup/2018/Round_1/B.Ethan_Traverses_a_Tree.cpp | metehkaya/Algo-Archive | 03b5fdcf06f84a03125c57762c36a4e03ca6e756 | [
"MIT"
] | 2 | 2020-07-20T06:40:22.000Z | 2021-11-20T01:23:26.000Z | Problems/Facebook/Facebook_Hacker_Cup/2018/Round_1/B.Ethan_Traverses_a_Tree.cpp | metehkaya/Algo-Archive | 03b5fdcf06f84a03125c57762c36a4e03ca6e756 | [
"MIT"
] | null | null | null | Problems/Facebook/Facebook_Hacker_Cup/2018/Round_1/B.Ethan_Traverses_a_Tree.cpp | metehkaya/Algo-Archive | 03b5fdcf06f84a03125c57762c36a4e03ca6e756 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
#define maxn 2003
#define pb push_back
using namespace std;
int T,n,k,m;
int a[maxn];
int b[maxn];
int mark[maxn];
vector<int> v1,v2;
vector<int> adj[maxn];
void io() {
freopen("input.txt","r",stdin);
freopen("output.txt","w",stdout);
}
void reset() {
m = 0;
v1.clear();
v2.clear();
for... | 14.735632 | 54 | 0.49844 | [
"vector"
] |
2385b9ba9cc7b63a4597c6732c7a10290464c0e3 | 802 | cpp | C++ | competitive/c++/codeforces/round 695 div 2/mainb-f.cpp | HackintoshwithUbuntu/BigRepo | 70746ddf7edc1ec9f13fe5f53a40eb4c3ebd2874 | [
"MIT"
] | null | null | null | competitive/c++/codeforces/round 695 div 2/mainb-f.cpp | HackintoshwithUbuntu/BigRepo | 70746ddf7edc1ec9f13fe5f53a40eb4c3ebd2874 | [
"MIT"
] | null | null | null | competitive/c++/codeforces/round 695 div 2/mainb-f.cpp | HackintoshwithUbuntu/BigRepo | 70746ddf7edc1ec9f13fe5f53a40eb4c3ebd2874 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
int n;
vector<int> a(n);
bool isHill(int i){
if(i > 0 && i < n && a[i] > a[i-1] && a[i] > a[i + 1]){
return true;
}else return false;
}
bool isValley(int i){
if(i > 0 && i < n - 1 && a[i] < a[i-1] && a[i] < a[i + 1]){
return true;
}else r... | 16.367347 | 63 | 0.410224 | [
"vector"
] |
23864ad01e172aeb32f3afd96fcb1f62e907dd8e | 5,057 | cpp | C++ | src/Utility.cpp | jd-zhao/MirrorMirror | c90ed1f4ea521c0315aa003693eb2eea538d7c28 | [
"MIT"
] | 18 | 2016-06-21T19:56:33.000Z | 2021-05-09T19:17:22.000Z | src/Utility.cpp | LTHODAVDOPL/MirrorMirror | 52802123e28840d00f14406ff9789237fbb9faab | [
"MIT"
] | null | null | null | src/Utility.cpp | LTHODAVDOPL/MirrorMirror | 52802123e28840d00f14406ff9789237fbb9faab | [
"MIT"
] | 12 | 2016-12-09T23:49:51.000Z | 2021-05-09T20:05:14.000Z | #include "Utility.h"
const int MAX_FILENAME_LENGTH = 512;
#ifdef _WIN32
#include "io.h"
#include "direct.h"
#include "windows.h"
int utility::CUtility::FindImageFiles(string fName, vector<string>& nameVec,
vector<string> &extVec) {
_assert(fName.length() != 0);
WIN32_FIND_DATA fileName;
WCHAR wch_... | 25.80102 | 109 | 0.601542 | [
"vector"
] |
2388aa75fb938f6e33586f5c316146e5dfa620e1 | 16,369 | cpp | C++ | dali/internal/web-engine/common/web-engine-impl.cpp | dalihub/dali-adaptor | b7943ae5aeb7ddd069be7496a1c1cee186b740c5 | [
"Apache-2.0",
"BSD-3-Clause"
] | 6 | 2016-11-18T10:26:46.000Z | 2021-11-01T12:29:05.000Z | dali/internal/web-engine/common/web-engine-impl.cpp | dalihub/dali-adaptor | b7943ae5aeb7ddd069be7496a1c1cee186b740c5 | [
"Apache-2.0",
"BSD-3-Clause"
] | 5 | 2020-07-15T11:30:49.000Z | 2020-12-11T19:13:46.000Z | dali/internal/web-engine/common/web-engine-impl.cpp | dalihub/dali-adaptor | b7943ae5aeb7ddd069be7496a1c1cee186b740c5 | [
"Apache-2.0",
"BSD-3-Clause"
] | 7 | 2019-05-17T07:14:40.000Z | 2021-05-24T07:25:26.000Z | /*
* Copyright (c) 2021 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... | 24.952744 | 172 | 0.776956 | [
"object"
] |
23af62881446a216763396403af04759e1023cd4 | 3,909 | hpp | C++ | src/pscs/src_gen/PSCS/Semantics/Loci/LociPackage.hpp | MDE4CPP/MDE4CPP | 9db9352dd3b1ae26a5f640e614ed3925499b93f1 | [
"MIT"
] | 12 | 2017-02-17T10:33:51.000Z | 2022-03-01T02:48:10.000Z | src/pscs/src_gen/PSCS/Semantics/Loci/LociPackage.hpp | ndongmo/MDE4CPP | 9db9352dd3b1ae26a5f640e614ed3925499b93f1 | [
"MIT"
] | 28 | 2017-10-17T20:23:52.000Z | 2021-03-04T16:07:13.000Z | src/pscs/src_gen/PSCS/Semantics/Loci/LociPackage.hpp | ndongmo/MDE4CPP | 9db9352dd3b1ae26a5f640e614ed3925499b93f1 | [
"MIT"
] | 22 | 2017-03-24T19:03:58.000Z | 2022-03-31T12:10:07.000Z | //********************************************************************
//*
//* Warning: This file was generated by ecore4CPP Generator
//*
//********************************************************************
#ifndef PSCS_SEMANTICS_LOCIPACKAGE_HPP
#define PSCS_SEMANTICS_LOCIPACKAGE_HPP
#include "ecore/EPackage.h... | 30.539063 | 142 | 0.73625 | [
"model"
] |
23ba1619b5aff7814b74371ae194372908496afc | 1,730 | cpp | C++ | disjoint-sets-union/2-C.cpp | forestLoop/Learning-ITMO-Academy-Pilot-Course | b70ea387cb6a7c26871d99ecf7109fd8f0237c3e | [
"MIT"
] | 6 | 2021-07-04T08:47:48.000Z | 2022-01-12T09:34:20.000Z | disjoint-sets-union/2-C.cpp | forestLoop/Learning-ITMO-Academy-Pilot-Course | b70ea387cb6a7c26871d99ecf7109fd8f0237c3e | [
"MIT"
] | null | null | null | disjoint-sets-union/2-C.cpp | forestLoop/Learning-ITMO-Academy-Pilot-Course | b70ea387cb6a7c26871d99ecf7109fd8f0237c3e | [
"MIT"
] | 2 | 2021-11-24T12:18:58.000Z | 2022-02-06T00:18:51.000Z | // C. Restructuring Company
// https://codeforces.com/edu/course/2/lesson/7/2/practice/contest/289391/problem/C
#include <iostream>
#include <set>
#include <vector>
class Company {
public:
Company(int n)
: parent_(n, -1) {
std::set<int>::iterator it = unconnected_.end();
for (int i = 0;... | 23.066667 | 89 | 0.459538 | [
"vector"
] |
23bcfa15e62ea02995f8da38e306601ee0b650ba | 1,902 | cpp | C++ | 2D platformer/Game/Source/Checkpoint.cpp | avocadolau/Platformer2D | 40bed2c7b019434a65760288783b4b1d78f7a5d8 | [
"MIT"
] | null | null | null | 2D platformer/Game/Source/Checkpoint.cpp | avocadolau/Platformer2D | 40bed2c7b019434a65760288783b4b1d78f7a5d8 | [
"MIT"
] | null | null | null | 2D platformer/Game/Source/Checkpoint.cpp | avocadolau/Platformer2D | 40bed2c7b019434a65760288783b4b1d78f7a5d8 | [
"MIT"
] | null | null | null | #include "Checkpoint.h"
#include "App.h"
#include "Input.h"
#include "Textures.h"
#include "Audio.h"
#include "Render.h"
#include "Window.h"
#include "SceneGame.h"
#include "SceneWin.h"
#include "SceneLose.h"
#include "Collisions.h"
#include "Collider.h"
#include "Map.h"
#include "Animation.h"
#include "FadeToBlack.h"
... | 16.25641 | 78 | 0.684543 | [
"render"
] |
23c4a4f8c6954827388fc3daf9498ffa3019f81f | 1,083 | cpp | C++ | src/Graphics/Text.cpp | jkbz64/Zadymka | 16c2bf66ce6c3bbff8eeeb3fad291b2939e4a5b7 | [
"MIT"
] | 2 | 2020-03-18T16:13:04.000Z | 2021-07-30T12:18:52.000Z | src/Graphics/Text.cpp | jkbz64/Zadymka | 16c2bf66ce6c3bbff8eeeb3fad291b2939e4a5b7 | [
"MIT"
] | null | null | null | src/Graphics/Text.cpp | jkbz64/Zadymka | 16c2bf66ce6c3bbff8eeeb3fad291b2939e4a5b7 | [
"MIT"
] | null | null | null | #include <Graphics/Text.hpp>
#include <Graphics/Glyph.hpp>
#include <Graphics/Font.hpp>
#include <Graphics/Renderer.hpp>
Text::Text() :
Drawable()
{
setColor(Color::Black);
setCharacterSize(48);
}
Text::Text(Font &font) :
Text()
{
m_font = &font;
}
const std::string& Text::string() const
{
re... | 14.835616 | 59 | 0.65928 | [
"render"
] |
23c8fed558420b85e9cca1aef5a0caf681ec086c | 475 | cpp | C++ | CodeBlocks/Codeforces/Solved/Codeforces118A.cpp | ash1247/DocumentsWindows | 66f65b5170a1ba766cfae08b7104b63ab87331c2 | [
"MIT"
] | null | null | null | CodeBlocks/Codeforces/Solved/Codeforces118A.cpp | ash1247/DocumentsWindows | 66f65b5170a1ba766cfae08b7104b63ab87331c2 | [
"MIT"
] | null | null | null | CodeBlocks/Codeforces/Solved/Codeforces118A.cpp | ash1247/DocumentsWindows | 66f65b5170a1ba766cfae08b7104b63ab87331c2 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
int main(void)
{
string str;
char vowels[] = {'a', 'o', 'y', 'e', 'u', 'i'};
cin >> str;
transform(str.begin(), str.end(), str.begin(), ::tolower );
for(int j = 0; j <= strlen(vowels); j++)
{
str.erase(remove(str.begin(), str.end(), vowe... | 16.37931 | 75 | 0.450526 | [
"transform"
] |
23ca55979e2bd597d512b21d1121dbc936bd6ead | 1,625 | cpp | C++ | src/epecur/TrackReconstructionHook.cpp | veprbl/libepecur | 83167ac6220e69887c03b556f1a7ffc518cbb227 | [
"Unlicense"
] | 1 | 2021-06-25T13:41:19.000Z | 2021-06-25T13:41:19.000Z | src/epecur/TrackReconstructionHook.cpp | veprbl/libepecur | 83167ac6220e69887c03b556f1a7ffc518cbb227 | [
"Unlicense"
] | null | null | null | src/epecur/TrackReconstructionHook.cpp | veprbl/libepecur | 83167ac6220e69887c03b556f1a7ffc518cbb227 | [
"Unlicense"
] | null | null | null | #include <cstdlib>
#include <cmath>
#include <boost/assert.hpp>
#include <boost/foreach.hpp>
#include "TrackReconstructionHook.hpp"
TrackReconstructionHook::TrackReconstructionHook(
Geometry &g,
StdHits::calibration_curve_t *c
)
: StdHits(g, c),
geom(g)
{
// nothing
}
void TrackReconstructionHook::handle_ev... | 21.959459 | 108 | 0.718154 | [
"geometry",
"vector"
] |
23caad4c357d392e19e268e1e0dccda731b30cb8 | 1,923 | cpp | C++ | aoapcbac2nd/example8-15_shuffle.cpp | aoibird/pc | b72c0b10117f95d45e2e7423614343b5936b260a | [
"MIT"
] | null | null | null | aoapcbac2nd/example8-15_shuffle.cpp | aoibird/pc | b72c0b10117f95d45e2e7423614343b5936b260a | [
"MIT"
] | null | null | null | aoapcbac2nd/example8-15_shuffle.cpp | aoibird/pc | b72c0b10117f95d45e2e7423614343b5936b260a | [
"MIT"
] | null | null | null | // UVa 12174
#include <cctype>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <algorithm>
#include <vector>
#include <map>
#include <set>
using namespace std;
typedef long long ll;
typedef pair<int,int> PII;
const int MAXN = 100000 + 10;
int CNT[MAXN];
vector<int>... | 21.606742 | 79 | 0.447218 | [
"vector"
] |
23d3293b1745b6cb711e08a967aa722990158fbf | 10,756 | cpp | C++ | Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/app/ListFragment.cpp | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | 7 | 2017-07-13T10:34:54.000Z | 2021-04-16T05:40:35.000Z | Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/app/ListFragment.cpp | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | null | null | null | Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/app/ListFragment.cpp | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | 9 | 2017-07-13T12:33:20.000Z | 2021-06-19T02:46:48.000Z | //=========================================================================
// Copyright (C) 2012 The Elastos 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
//
// ... | 30.997118 | 126 | 0.637598 | [
"object"
] |
23d69d91bc6681d15ab3f5398b857e373cbc18b6 | 1,727 | cpp | C++ | src/sconelib/sconelua/lua_script.cpp | alexxlzhou/scone-core | 4a071626e5ee7ba253e72a973d4d214fa6e30cf5 | [
"Apache-2.0"
] | 5 | 2021-04-30T14:30:20.000Z | 2022-03-27T09:58:24.000Z | src/sconelib/sconelua/lua_script.cpp | alexxlzhou/scone-core | 4a071626e5ee7ba253e72a973d4d214fa6e30cf5 | [
"Apache-2.0"
] | 4 | 2021-06-15T10:52:10.000Z | 2021-12-15T10:25:21.000Z | src/sconelib/sconelua/lua_script.cpp | alexxlzhou/scone-core | 4a071626e5ee7ba253e72a973d4d214fa6e30cf5 | [
"Apache-2.0"
] | 2 | 2021-05-02T13:38:19.000Z | 2021-07-22T19:37:07.000Z | #include "lua_script.h"
#include "xo/container/prop_node_tools.h"
#include "scone/core/Log.h"
#include "scone/model/Actuator.h"
#include "lua_api.h"
namespace scone
{
lua_script::lua_script( const path& script_file, const PropNode& pn, Params& par, Model& model ) :
script_file_( script_file )
{
lua_.open_librar... | 28.783333 | 128 | 0.652577 | [
"model"
] |
23da0e9e33de14bbbab4e9979d7674db957354e1 | 1,416 | cpp | C++ | src/demo/vis_map_demo.cpp | jfangwpi/Interactive_planning_and_sensing | 00042c51c2fdc020b7b1c184286cf2b513ed9096 | [
"MIT"
] | null | null | null | src/demo/vis_map_demo.cpp | jfangwpi/Interactive_planning_and_sensing | 00042c51c2fdc020b7b1c184286cf2b513ed9096 | [
"MIT"
] | null | null | null | src/demo/vis_map_demo.cpp | jfangwpi/Interactive_planning_and_sensing | 00042c51c2fdc020b7b1c184286cf2b513ed9096 | [
"MIT"
] | null | null | null | /*
* task_map.cpp
*
* Created on: Feb 15, 2017
* Author: jfang
*/
/*** Read the map.ini and create the map ***/
// standard libaray
#include <stdio.h>
#include <vector>
#include <ctime>
#include <tuple>
#include <algorithm>
#include <bitset>
// opencv
#include "opencv2/opencv.hpp"
// self-defined library
#... | 27.764706 | 111 | 0.540254 | [
"vector"
] |
23e2fb99c07e7d36c16cf8ae909ca9eb5503dc20 | 617 | hpp | C++ | cpp/include/ste_bits/Radiation.hpp | tomerten/steibs | 8d4e994020dd17475ba1371e9c6f365c916828a0 | [
"MIT"
] | null | null | null | cpp/include/ste_bits/Radiation.hpp | tomerten/steibs | 8d4e994020dd17475ba1371e9c6f365c916828a0 | [
"MIT"
] | null | null | null | cpp/include/ste_bits/Radiation.hpp | tomerten/steibs | 8d4e994020dd17475ba1371e9c6f365c916828a0 | [
"MIT"
] | null | null | null | #ifndef RADIATION_H
#define RADIATION_H
// #include <CL/cl.h>
#include <map>
#include <string>
#include <vector>
namespace ste_radiation {
std::map<std::string, double>
radiationIntegrals(std::map<std::string, std::vector<double>> &twiss);
std::map<std::string, double>
radiationEquilib(std::map<std::string, double> ... | 26.826087 | 70 | 0.696921 | [
"vector"
] |
23e5e556e085a271a6fdd5d14bf3b9dc88af12df | 1,703 | cpp | C++ | OnlineJudge/LeetCode/Easy/35.search-insert-position.cpp | yangfly/Interview-Notes | db9214456db8833c0a618b44bbb1c4f8d5b3209e | [
"MIT"
] | 3 | 2019-02-19T07:23:30.000Z | 2020-05-11T03:16:57.000Z | OnlineJudge/LeetCode/Easy/35.search-insert-position.cpp | yangfly/Interview-Notes | db9214456db8833c0a618b44bbb1c4f8d5b3209e | [
"MIT"
] | null | null | null | OnlineJudge/LeetCode/Easy/35.search-insert-position.cpp | yangfly/Interview-Notes | db9214456db8833c0a618b44bbb1c4f8d5b3209e | [
"MIT"
] | 2 | 2019-02-19T07:23:33.000Z | 2020-04-20T16:44:04.000Z | /*
* [35] Search Insert Position
*
* https://leetcode.com/problems/search-insert-position/description/
*
* algorithms
* Easy (40.04%)
* Total Accepted: 240.1K
* Total Submissions: 599.6K
* Testcase Example: '[1,3,5,6]\n5'
*
* Given a sorted array and a target value, return the index if the target is
* f... | 18.922222 | 77 | 0.50734 | [
"vector"
] |
23eeeac0a66379e9de97edc13f1d36d2aafb99a6 | 626 | hpp | C++ | AAFInformer/StringUtils.hpp | clayne/AAFInformer | 933945b933a61c4fc2cd8ce1d11668f619a5aa89 | [
"MIT"
] | 3 | 2021-12-19T18:20:47.000Z | 2022-01-16T01:16:31.000Z | AAFInformer/StringUtils.hpp | clayne/AAFInformer | 933945b933a61c4fc2cd8ce1d11668f619a5aa89 | [
"MIT"
] | null | null | null | AAFInformer/StringUtils.hpp | clayne/AAFInformer | 933945b933a61c4fc2cd8ce1d11668f619a5aa89 | [
"MIT"
] | 1 | 2021-12-19T18:20:49.000Z | 2021-12-19T18:20:49.000Z | #pragma once
#include <cctype>
#include <algorithm>
struct SU
{
static std::string ToUpper(const std::string& s)
{
// All tags are in ASCII, so we don't care about locale during case conversion
std::string copy = s;
std::transform(copy.begin(), copy.end(), copy.begin(), [](unsigned char c) { return std::touppe... | 29.809524 | 106 | 0.667732 | [
"transform"
] |
23f186c1344665ace40ee992202a9ade6206b773 | 4,135 | hpp | C++ | source/entity/entity_define.hpp | Paul-Wortmann/Grume | 0ffdd8f98e0b7d7857cc6a3e0f971f9a74651d17 | [
"Intel"
] | 3 | 2021-12-19T12:00:34.000Z | 2021-12-30T08:36:58.000Z | source/entity/entity_define.hpp | Paul-Wortmann/Grume | 0ffdd8f98e0b7d7857cc6a3e0f971f9a74651d17 | [
"Intel"
] | 2 | 2021-11-02T05:30:53.000Z | 2021-11-30T00:11:16.000Z | source/entity/entity_define.hpp | Paul-Wortmann/Grume | 0ffdd8f98e0b7d7857cc6a3e0f971f9a74651d17 | [
"Intel"
] | null | null | null | /**
* Copyright (C) Paul Wortmann
* This file is part of "Grume"
*
* "Grume" 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, version 2 only.
*
* "Grume" is distributed in the hope that it will be usefu... | 32.304688 | 92 | 0.538331 | [
"model"
] |
23f9d15a694bd6cb69c4f0782bc4514627bef431 | 4,295 | hpp | C++ | demo_cpu/frame.hpp | tobguent/small-mcftle | 834e24845ddc874807e681c8630f9750935df917 | [
"MIT"
] | 9 | 2016-06-29T12:31:35.000Z | 2022-03-02T23:43:29.000Z | demo_cpu/frame.hpp | tobguent/small-mcftle | 834e24845ddc874807e681c8630f9750935df917 | [
"MIT"
] | null | null | null | demo_cpu/frame.hpp | tobguent/small-mcftle | 834e24845ddc874807e681c8630f9750935df917 | [
"MIT"
] | 5 | 2016-11-29T21:51:00.000Z | 2020-10-08T11:58:27.000Z | #pragma once
#ifndef _FRAME_INCLUDE_ONCE
#define _FRAME_INCLUDE_ONCE
#include "math.hpp"
#include <vector>
#include <fstream>
class Frame
{
public:
// Constructor. Reserves the memory for the frame.
Frame(const Vec2i& screenResolution) : _ScreenResolution(screenResolution)
{
_AccumColor.resize(screenResolution.... | 30.460993 | 99 | 0.627939 | [
"vector"
] |
6728e93e8f7c369e99d399b31b9a809e24d50c72 | 3,168 | hpp | C++ | include/codegen/include/UnityEngine/Events/InvokableCallList.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 1 | 2021-11-12T09:29:31.000Z | 2021-11-12T09:29:31.000Z | include/codegen/include/UnityEngine/Events/InvokableCallList.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | null | null | null | include/codegen/include/UnityEngine/Events/InvokableCallList.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 2 | 2021-10-03T02:14:20.000Z | 2021-11-12T09:29:36.000Z | // Autogenerated from CppHeaderCreator on 7/27/2020 3:10:30 PM
// Created by Sc2ad
// =========================================================================
#pragma once
#pragma pack(push, 8)
// Begin includes
#include "utils/typedefs.h"
// Including type: System.Object
#include "System/Object.hpp"
#include "utils/i... | 44.619718 | 113 | 0.744003 | [
"object"
] |
67301012212b6becb2241849ee6c3603207d17f2 | 602 | cc | C++ | 6_STLContainerUndIteratoren/Iterator2.cc | j3l4ck0ut/UdemyCpp | ed3b75cedbf9cad211a205195605cfd3c9280efc | [
"MIT"
] | null | null | null | 6_STLContainerUndIteratoren/Iterator2.cc | j3l4ck0ut/UdemyCpp | ed3b75cedbf9cad211a205195605cfd3c9280efc | [
"MIT"
] | null | null | null | 6_STLContainerUndIteratoren/Iterator2.cc | j3l4ck0ut/UdemyCpp | ed3b75cedbf9cad211a205195605cfd3c9280efc | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
#include <numeric>
#include <iterator>
#include <list>
int main()
{
std::vector<int> my_vector(5, 0);
std::iota(my_vector.begin(), my_vector.end(), 5);
std::list<int> my_list(my_vector.begin(), my_vector.end());
auto it = my_list.begin();
std::advance(it, 2);
// 5, 6, 7, 8... | 25.083333 | 65 | 0.574751 | [
"vector"
] |
6734c01961928f595b16fa2fae408702ee5c058e | 4,067 | cpp | C++ | oadrive/src/oadrive_missioncontrol/ManeuverListLive.cpp | fzi-forschungszentrum-informatik/aadc2016 | b00149f84f91be07d98f3be0ac79daebb732025b | [
"BSD-2-Clause"
] | 11 | 2016-04-30T14:55:20.000Z | 2020-06-04T21:13:31.000Z | oadrive/src/oadrive_missioncontrol/ManeuverListLive.cpp | fzi-forschungszentrum-informatik/aadc2016 | b00149f84f91be07d98f3be0ac79daebb732025b | [
"BSD-2-Clause"
] | null | null | null | oadrive/src/oadrive_missioncontrol/ManeuverListLive.cpp | fzi-forschungszentrum-informatik/aadc2016 | b00149f84f91be07d98f3be0ac79daebb732025b | [
"BSD-2-Clause"
] | 8 | 2016-04-30T14:58:18.000Z | 2019-12-27T10:37:53.000Z | // this is for emacs file handling -*- mode: c++; indent-tabs-mode: nil -*-
// -- BEGIN LICENSE BLOCK ----------------------------------------------
// Copyright (c) 2016, FZI Forschungszentrum Informatik
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, ... | 35.365217 | 330 | 0.669781 | [
"vector"
] |
67493c99a76face94f979469956a3e4698cc8bf5 | 1,513 | cpp | C++ | Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/internal/telephony/CSmsHeaderHelper.cpp | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | 7 | 2017-07-13T10:34:54.000Z | 2021-04-16T05:40:35.000Z | Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/internal/telephony/CSmsHeaderHelper.cpp | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | null | null | null | Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/internal/telephony/CSmsHeaderHelper.cpp | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | 9 | 2017-07-13T12:33:20.000Z | 2021-06-19T02:46:48.000Z | //=========================================================================
// Copyright (C) 2012 The Elastos 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
//
// ... | 32.191489 | 75 | 0.663582 | [
"object"
] |
674c2b2a106bedb5f373badf692430f39abd101f | 894 | cpp | C++ | ch14/ex14_38.cpp | Direct-Leo/CppPrimer | 9d3993c7604377abc5a925c9fe6342ad3a062983 | [
"CC0-1.0"
] | null | null | null | ch14/ex14_38.cpp | Direct-Leo/CppPrimer | 9d3993c7604377abc5a925c9fe6342ad3a062983 | [
"CC0-1.0"
] | null | null | null | ch14/ex14_38.cpp | Direct-Leo/CppPrimer | 9d3993c7604377abc5a925c9fe6342ad3a062983 | [
"CC0-1.0"
] | null | null | null | /*******************************************************
* @file ex14_38.cpp
* @author vleo
* @date 2021.12.14
* @remark a string check Class
*******************************************************/
#include <iostream>
#include <vector>
#include <algorithm>
#include <string>
#include <fstream>
class StringNumChe... | 19.866667 | 69 | 0.479866 | [
"vector"
] |
67583e329b896d61dc9193ea65a4928809cc4613 | 5,241 | hpp | C++ | sqf-value/method.hpp | arma3/sqf-value | 2032dcbbb5acba45eff33ab6502922f3e191289d | [
"MIT"
] | 1 | 2021-01-05T13:30:06.000Z | 2021-01-05T13:30:06.000Z | sqf-value/method.hpp | arma3/sqf-value | 2032dcbbb5acba45eff33ab6502922f3e191289d | [
"MIT"
] | 3 | 2021-01-03T23:56:06.000Z | 2021-03-19T00:02:40.000Z | sqf-value/method.hpp | arma3/sqf-value | 2032dcbbb5acba45eff33ab6502922f3e191289d | [
"MIT"
] | 1 | 2021-01-03T21:07:30.000Z | 2021-01-03T21:07:30.000Z | #pragma once
#include "value.hpp"
#include <vector>
#include <optional>
#include <variant>
#include <functional>
namespace sqf
{
namespace meta
{
template <typename ArgType>
struct is_optional : std::false_type {};
template <typename T>
struct is_optional<std::optional<T>> : st... | 44.794872 | 151 | 0.555047 | [
"vector"
] |
6760568c05f51b530c1a60933478113a5c89e709 | 3,879 | hh | C++ | tests/applications/QuickSilver/QuickSilver_orig_prof/src_mod/NuclearData.hh | rutgers-apl/omp-racer | a8a32e186950997b8eee7864f766819129a5ee06 | [
"BSD-2-Clause"
] | 2 | 2020-09-17T15:18:49.000Z | 2021-03-06T10:21:23.000Z | tests/applications/QuickSilver/QuickSilver_orig_prof/src/NuclearData.hh | rutgers-apl/omp-racer | a8a32e186950997b8eee7864f766819129a5ee06 | [
"BSD-2-Clause"
] | 1 | 2020-09-08T18:36:24.000Z | 2020-09-17T15:18:27.000Z | tests/applications/QuickSilver/QuickSilver_orig_ser/src/NuclearData.hh | rutgers-apl/omp-racer | a8a32e186950997b8eee7864f766819129a5ee06 | [
"BSD-2-Clause"
] | 1 | 2021-01-19T15:28:15.000Z | 2021-01-19T15:28:15.000Z | #ifndef NUCLEAR_DATA_HH
#define NUCLEAR_DATA_HH
#include <cstdio>
#include <string>
#include "QS_Vector.hh"
#include <cstdlib>
#include <cmath>
#include <algorithm>
#include "qs_assert.hh"
#include "DeclareMacro.hh"
class Polynomial
{
public:
Polynomial(double aa, double bb, double cc, double dd, double ee)
:
... | 25.86 | 106 | 0.690642 | [
"vector"
] |
6763dc358f350d8fa5676e660cb6feeb72d89ffb | 625 | cc | C++ | c11/day04/1.1thread_adv.cc | hankai17/test | 8f38d999a7c6a92eac94b4d9dc8e444619d2144f | [
"MIT"
] | 7 | 2017-07-16T15:09:26.000Z | 2021-09-01T02:13:15.000Z | c11/day04/1.1thread_adv.cc | hankai17/test | 8f38d999a7c6a92eac94b4d9dc8e444619d2144f | [
"MIT"
] | null | null | null | c11/day04/1.1thread_adv.cc | hankai17/test | 8f38d999a7c6a92eac94b4d9dc8e444619d2144f | [
"MIT"
] | 3 | 2017-09-13T09:54:49.000Z | 2019-03-18T01:29:15.000Z | #include<thread>
#include<iostream>
#include<vector>
std::vector<std::thread> g_list;
std::vector<std::shared_ptr<std::thread>> g_list2;
void func() {
std::cout<<"this is func \n";
return;
}
void create_thread() {
std::thread t(func);
g_list.push_back(std::move(t)); //如果直接push一个左值线程对象 就会调拷贝构造 会多出一个线程 这不是我们想要的
... | 18.382353 | 78 | 0.6848 | [
"vector"
] |
67716fcb61e6c2f66df2fb4cea2513aa1b60ab69 | 10,457 | cpp | C++ | tools/mull-xctestrun/XCTestRunInvocation.cpp | kateinoigakukun/mull-xctest | e7be5afa9afb64bef97dde29417c016af2a50dcc | [
"MIT"
] | 43 | 2021-03-04T04:57:41.000Z | 2022-03-03T17:16:54.000Z | tools/mull-xctestrun/XCTestRunInvocation.cpp | kateinoigakukun/mull-xctest | e7be5afa9afb64bef97dde29417c016af2a50dcc | [
"MIT"
] | 2 | 2021-03-09T10:32:29.000Z | 2021-10-19T12:01:25.000Z | tools/mull-xctestrun/XCTestRunInvocation.cpp | kateinoigakukun/mull-xctest | e7be5afa9afb64bef97dde29417c016af2a50dcc | [
"MIT"
] | 1 | 2021-03-09T14:29:17.000Z | 2021-03-09T14:29:17.000Z | #include "XCTestRunInvocation.h"
#include "MullXCTest/MutantSerialization.h"
#include "MullXCTest/XCResultFile.h"
#include "MullXCTest/XCTestRunFile.h"
#include <llvm/Object/Binary.h>
#include <llvm/Object/MachO.h>
#include <llvm/Support/FileSystem.h>
#include <llvm/Support/Path.h>
#include <mull/MutationResult.h>
#inc... | 36.562937 | 80 | 0.664722 | [
"object",
"vector"
] |
6772cceece4f362d4cf5bf8cf3b73f9adf3a3aba | 40,725 | cpp | C++ | export/windows/cpp/obj/src/DefaultAssetLibrary.cpp | TinyPlanetStudios/Project-Crash-Land | 365f196be4212602d32251566f26b53fb70693f6 | [
"MIT"
] | null | null | null | export/windows/cpp/obj/src/DefaultAssetLibrary.cpp | TinyPlanetStudios/Project-Crash-Land | 365f196be4212602d32251566f26b53fb70693f6 | [
"MIT"
] | null | null | null | export/windows/cpp/obj/src/DefaultAssetLibrary.cpp | TinyPlanetStudios/Project-Crash-Land | 365f196be4212602d32251566f26b53fb70693f6 | [
"MIT"
] | null | null | null | // Generated by Haxe 3.3.0
#include <hxcpp.h>
#ifndef INCLUDED_Date
#include <Date.h>
#endif
#ifndef INCLUDED_DefaultAssetLibrary
#include <DefaultAssetLibrary.h>
#endif
#ifndef INCLUDED_Std
#include <Std.h>
#endif
#ifndef INCLUDED_Sys
#include <Sys.h>
#endif
#ifndef INCLUDED_Type
#include <Type.h>
#endif
#ifndef INCL... | 45.861486 | 271 | 0.676587 | [
"3d"
] |
677e7a75c57900250c2c1b18b2361141273a0e02 | 3,822 | cpp | C++ | source/attributedvertexclouds-blockworld/BlockWorldRendering.cpp | cginternals/attributedvertexclouds | 5173948c6b381528738d128803dc2b22ac555a0f | [
"MIT"
] | 3 | 2017-07-23T21:31:54.000Z | 2018-11-25T02:53:58.000Z | source/attributedvertexclouds-blockworld/BlockWorldRendering.cpp | cginternals/attributedvertexclouds | 5173948c6b381528738d128803dc2b22ac555a0f | [
"MIT"
] | 1 | 2017-08-04T12:03:24.000Z | 2018-02-17T16:44:17.000Z | source/attributedvertexclouds-blockworld/BlockWorldRendering.cpp | cginternals/attributedvertexclouds | 5173948c6b381528738d128803dc2b22ac555a0f | [
"MIT"
] | 1 | 2019-12-13T17:53:14.000Z | 2019-12-13T17:53:14.000Z |
#include "BlockWorldRendering.h"
#include <iostream>
#include <chrono>
#include <algorithm>
#include <glm/gtc/random.hpp>
#include <glm/gtc/type_ptr.hpp>
#include <glbinding/gl/gl.h>
#include "common.h"
#include "BlockWorldVertexCloud.h"
#include "BlockWorldTriangles.h"
#include "BlockWorldTriangleStrip.h"
#inclu... | 30.094488 | 202 | 0.73888 | [
"vector"
] |
678010ffa792b54f45f0d77c77bc0ca6d14e95d4 | 6,266 | cxx | C++ | main/svx/source/sdr/primitive2d/sdrcaptionprimitive2d.cxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 679 | 2015-01-06T06:34:58.000Z | 2022-03-30T01:06:03.000Z | main/svx/source/sdr/primitive2d/sdrcaptionprimitive2d.cxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 102 | 2017-11-07T08:51:31.000Z | 2022-03-17T12:13:49.000Z | main/svx/source/sdr/primitive2d/sdrcaptionprimitive2d.cxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 331 | 2015-01-06T11:40:55.000Z | 2022-03-14T04:07:51.000Z | /**************************************************************
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to y... | 35.005587 | 129 | 0.618736 | [
"geometry",
"transform"
] |
67823ad7d472d1ca25ab1f66cf59053a446ff77e | 406 | cpp | C++ | Majority Element II.cpp | jatinmalav/leetcoding-problems | 420bf572f2db378c203adaf771e0d7e60f2f3579 | [
"Unlicense"
] | 5 | 2020-10-06T13:10:04.000Z | 2021-06-07T02:07:59.000Z | Majority Element II.cpp | jatinmalav/leetcoding-problems | 420bf572f2db378c203adaf771e0d7e60f2f3579 | [
"Unlicense"
] | 5 | 2020-10-05T17:23:57.000Z | 2020-10-10T12:56:15.000Z | Majority Element II.cpp | jatinmalav/leetcoding-problems | 420bf572f2db378c203adaf771e0d7e60f2f3579 | [
"Unlicense"
] | 43 | 2020-10-05T17:31:56.000Z | 2020-10-29T23:47:53.000Z | //https://leetcode.com/problems/majority-element-ii/
class Solution {
public:
vector<int> majorityElement(vector<int>& nums) {
unordered_map<int,int>mp;
vector<int>v;
for(int i=0;i<nums.size();i++)
{
mp[nums[i]]++;
}
for(auto x:mp)
{
i... | 21.368421 | 61 | 0.502463 | [
"vector"
] |
6788ee1f9988ac0f81f6ae04d1bd66a164783591 | 3,472 | cc | C++ | module/svg/src/svg/svg_root.cc | RuiwenTang/Skity | 2f98d8bda9946a9055d955fae878fef43c4eee57 | [
"MIT"
] | 65 | 2021-08-05T09:52:49.000Z | 2022-03-29T14:45:20.000Z | module/svg/src/svg/svg_root.cc | RuiwenTang/Skity | 2f98d8bda9946a9055d955fae878fef43c4eee57 | [
"MIT"
] | 1 | 2022-03-24T09:35:06.000Z | 2022-03-25T06:38:20.000Z | module/svg/src/svg/svg_root.cc | RuiwenTang/Skity | 2f98d8bda9946a9055d955fae878fef43c4eee57 | [
"MIT"
] | 9 | 2021-08-08T07:30:13.000Z | 2022-03-29T14:45:25.000Z |
#include "src/svg/svg_root.hpp"
#include <glm/gtc/matrix_transform.hpp>
#include <skity/render/canvas.hpp>
#include "src/svg/svg_render_context.hpp"
namespace skity {
bool SVGRoot::OnPrepareToRender(SVGRenderContext* ctx) const {
auto viewPortRect =
ctx->GetLengthContext().ResolveRect(fX, fY, fWidth, fHeig... | 31.279279 | 79 | 0.645449 | [
"render"
] |
678cd3abc3d0aa29a1a18ba555881f3c63056ce9 | 471 | cpp | C++ | compilecpp.cpp | numfo/tryme | 596b48160cc1c2377bee05675570f62df4f37d9d | [
"MIT"
] | null | null | null | compilecpp.cpp | numfo/tryme | 596b48160cc1c2377bee05675570f62df4f37d9d | [
"MIT"
] | null | null | null | compilecpp.cpp | numfo/tryme | 596b48160cc1c2377bee05675570f62df4f37d9d | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
#include <string>
using namespace std;
int main(){
cout <<"It works"<<endl;
string name{"Doe Bog"};
//int count{10};
auto age(10);
cout <<"I am"<<age<<"years old"<<endl;
int ages = 7;
bool birth = age >19?true:false;
cout<<"can give birth: " <<bir... | 16.821429 | 43 | 0.547771 | [
"vector"
] |
678d256faccba2cedf34cf92c3275b4e8e9a84a7 | 8,474 | hpp | C++ | data_analytics/L2/demos/text/log_analyzer/ref_result/ref_result.hpp | vmayoral/Vitis_Libraries | 2323dc5036041e18242718287aee4ce66ba071ef | [
"Apache-2.0"
] | 1 | 2021-09-11T01:05:01.000Z | 2021-09-11T01:05:01.000Z | data_analytics/L2/demos/text/log_analyzer/ref_result/ref_result.hpp | vmayoral/Vitis_Libraries | 2323dc5036041e18242718287aee4ce66ba071ef | [
"Apache-2.0"
] | null | null | null | data_analytics/L2/demos/text/log_analyzer/ref_result/ref_result.hpp | vmayoral/Vitis_Libraries | 2323dc5036041e18242718287aee4ce66ba071ef | [
"Apache-2.0"
] | 1 | 2021-04-28T05:58:38.000Z | 2021-04-28T05:58:38.000Z | /*
* Copyright 2020 Xilinx, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | 37.662222 | 120 | 0.519707 | [
"vector"
] |
678df47481f53ddf092f99f7fdc1464807ad70ba | 2,200 | cpp | C++ | cpp/Mobil Phone/Mobil Phone.cpp | xuzishan/Algorithm-learning-through-Problems | 4aee347af6fd7fd935838e1cbea57c197e88705c | [
"MIT"
] | 27 | 2016-11-04T09:18:25.000Z | 2022-02-12T12:34:01.000Z | cpp/Mobil Phone/Mobil Phone.cpp | Der1128/Algorithm-learning-through-Problems | 4aee347af6fd7fd935838e1cbea57c197e88705c | [
"MIT"
] | 1 | 2016-11-05T02:30:24.000Z | 2016-11-16T10:21:09.000Z | cpp/Mobil Phone/Mobil Phone.cpp | Der1128/Algorithm-learning-through-Problems | 4aee347af6fd7fd935838e1cbea57c197e88705c | [
"MIT"
] | 20 | 2016-11-04T10:26:02.000Z | 2021-09-25T05:41:21.000Z | //
// Mobil Phone.cpp
// laboratory
//
// Created by 徐子珊 on 15/12/22.
// Copyright © 2015年 xu_zishan. All rights reserved.
//
#include <fstream>
#include <iostream>
#include <vector>
#include <string>
using namespace std;
#include "../filepath.h"
struct command {
int c, x, y, z, w;
command(int a, int b=0, ... | 26.506024 | 73 | 0.475909 | [
"vector"
] |
096ef37e987e101a19d309329455a9cf1894e032 | 8,717 | hpp | C++ | core/sceneManager/network/3rdParty/raknet/DependentExtensions/cat/gfx/Vector.hpp | wterkaj/ApertusVR | 424ec5515ae08780542f33cc4841a8f9a96337b3 | [
"MIT"
] | 158 | 2016-11-17T19:37:51.000Z | 2022-03-21T19:57:55.000Z | core/sceneManager/network/3rdParty/raknet/DependentExtensions/cat/gfx/Vector.hpp | wterkaj/ApertusVR | 424ec5515ae08780542f33cc4841a8f9a96337b3 | [
"MIT"
] | 94 | 2016-11-18T09:55:57.000Z | 2021-01-14T08:50:40.000Z | core/sceneManager/network/3rdParty/raknet/DependentExtensions/cat/gfx/Vector.hpp | wterkaj/ApertusVR | 424ec5515ae08780542f33cc4841a8f9a96337b3 | [
"MIT"
] | 60 | 2015-02-17T00:12:11.000Z | 2021-08-21T22:16:58.000Z | /*
Copyright (c) 2009 Christopher A. Taylor. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice,
this list of conditions and ... | 22.351282 | 89 | 0.676494 | [
"vector",
"3d"
] |
09765172776eaa815a364bc12d729d83bf59a92e | 2,969 | cpp | C++ | packages/PyFrensie/src/PyFrensie_PythonTypeTraits.cpp | bam241/FRENSIE | e1760cd792928699c84f2bdce70ff54228e88094 | [
"BSD-3-Clause"
] | 10 | 2019-11-14T19:58:30.000Z | 2021-04-04T17:44:09.000Z | packages/PyFrensie/src/PyFrensie_PythonTypeTraits.cpp | bam241/FRENSIE | e1760cd792928699c84f2bdce70ff54228e88094 | [
"BSD-3-Clause"
] | 43 | 2020-03-03T19:59:20.000Z | 2021-09-08T03:36:08.000Z | packages/PyFrensie/src/PyFrensie_PythonTypeTraits.cpp | bam241/FRENSIE | e1760cd792928699c84f2bdce70ff54228e88094 | [
"BSD-3-Clause"
] | 6 | 2020-02-12T17:37:07.000Z | 2020-09-08T18:59:51.000Z | //---------------------------------------------------------------------------//
//!
//! \file PyFrensie_PythonTypeTraits.cpp
//! \author Alex Robinson
//! \brief The Python type traits helper function definitions
//!
//---------------------------------------------------------------------------//
// FRENSIE Includes... | 41.236111 | 79 | 0.363422 | [
"object"
] |
0977134fbd2333c995c44b67ea5f0b99bf5c7553 | 25,814 | cpp | C++ | qt-creator-opensource-src-4.6.1/src/plugins/bookmarks/bookmarkmanager.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/src/plugins/bookmarks/bookmarkmanager.cpp | kevinlq/Qt-Creator-Opensource-Study | b8cadff1f33f25a5d4ef33ed93f661b788b1ba0f | [
"MIT"
] | null | null | null | qt-creator-opensource-src-4.6.1/src/plugins/bookmarks/bookmarkmanager.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... | 31.79064 | 148 | 0.666305 | [
"model"
] |
097742c9d0f8b50bed779e745054705bf3920837 | 13,539 | hpp | C++ | hctrl/src/types/storage/circular_buffer.hpp | rikardonm/hctrl | 1bf70c0d2ae2a99852dcb80c27beb4501958d54b | [
"MIT"
] | null | null | null | hctrl/src/types/storage/circular_buffer.hpp | rikardonm/hctrl | 1bf70c0d2ae2a99852dcb80c27beb4501958d54b | [
"MIT"
] | 4 | 2022-03-16T19:24:37.000Z | 2022-03-16T21:37:35.000Z | hctrl/src/types/storage/circular_buffer.hpp | rikardonm/hctrl | 1bf70c0d2ae2a99852dcb80c27beb4501958d54b | [
"MIT"
] | null | null | null | #pragma once
#include <cstdint>
#include <cstring>
#include <cstdlib>
#include <tuple>
template<size_t SIZE>
class ScanCursor
{
public:
using _Base = ScanCursor<SIZE>;
/**
* @brief Construct a new Scan Cursor object
*
* @param cursor
*/
ScanCursor(size_t cursor)
... | 23.343103 | 117 | 0.431199 | [
"object"
] |
097feec0f5ce965d0cf75c7d364531c12a77fef5 | 5,981 | cc | C++ | src/RegionProps.cc | Gio-ch/Deep_SLAM | 556094b4f4ee6a58256b5e0075c2f712a1db64b8 | [
"CC0-1.0"
] | 6 | 2021-07-31T02:06:33.000Z | 2022-02-26T12:31:46.000Z | src/RegionProps.cc | Gio-ch/Deep_SLAM | 556094b4f4ee6a58256b5e0075c2f712a1db64b8 | [
"CC0-1.0"
] | null | null | null | src/RegionProps.cc | Gio-ch/Deep_SLAM | 556094b4f4ee6a58256b5e0075c2f712a1db64b8 | [
"CC0-1.0"
] | null | null | null | /*
* Regionprops
* Copyright 2015 Andrea Pennisi
*
* This file is part of Regionprops and it is distributed under the terms of the
* GNU Lesser General Public License (Lesser GPL)
*
*
*
* Regionprops is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General P... | 24.817427 | 105 | 0.64638 | [
"vector"
] |
098894a59e570b8c61a3cd29b91333b9809ead38 | 3,915 | cpp | C++ | 20.01.2020/program/src/Board.cpp | zdrzalik-przemek/pobi_proj_szachy | 4a8ce39b780432d57a342987fcafe3ac0cd72cdf | [
"Apache-2.0"
] | 2 | 2020-04-26T19:24:27.000Z | 2020-04-30T16:07:02.000Z | 20.01.2020/program/src/Board.cpp | zdrzalik-przemek/pobi_proj_szachy | 4a8ce39b780432d57a342987fcafe3ac0cd72cdf | [
"Apache-2.0"
] | null | null | null | 20.01.2020/program/src/Board.cpp | zdrzalik-przemek/pobi_proj_szachy | 4a8ce39b780432d57a342987fcafe3ac0cd72cdf | [
"Apache-2.0"
] | null | null | null | //
// Created by Przemek on 29.12.2019.
//
#include <iostream>
#include "Board.h"
#include "Field.h"
#include "Pieces/Piece.h"
#include <algorithm>
const int board_dimensions = 8;
Board::Board() {
for(int i = 0; i < 8; i++){
fields.push_back(std::vector<std::shared_ptr<Field>>());
for(int j = 0;... | 33.461538 | 201 | 0.527458 | [
"vector"
] |
098a66c6811eb2cac86c66049c2c1ca790c69d39 | 1,045 | hpp | C++ | etl/_tuple/make_tuple.hpp | tobanteAudio/taetl | 0aa6365aa156b297745f395882ff366a8626e5e0 | [
"BSL-1.0"
] | 4 | 2021-11-28T08:48:11.000Z | 2021-12-14T09:53:51.000Z | etl/_tuple/make_tuple.hpp | tobanteEmbedded/tetl | fc3272170843bcab47971191bcd269a86c5b5101 | [
"BSL-1.0"
] | null | null | null | etl/_tuple/make_tuple.hpp | tobanteEmbedded/tetl | fc3272170843bcab47971191bcd269a86c5b5101 | [
"BSL-1.0"
] | 1 | 2019-04-29T20:09:19.000Z | 2019-04-29T20:09:19.000Z |
/// \copyright Tobias Hienzsch 2019-2021
/// Distributed under the Boost Software License, Version 1.0.
/// See accompanying file LICENSE or copy at http://boost.org/LICENSE_1_0.txt
#ifndef TETL_TUPLE_MAKE_TUPLE_HPP
#define TETL_TUPLE_MAKE_TUPLE_HPP
#include "etl/_functional/reference_wrapper.hpp"
#include "etl/_tu... | 24.880952 | 77 | 0.747368 | [
"object"
] |
099068d2145af1a499ed6a9b5e679ac8d181d7e7 | 7,527 | cpp | C++ | rr_iarrc/src/laplacian_line_detection/laplacian_line_detector.cpp | ldricci3/roboracing-software | d6059042d831f6523e93ae59e7eb246e7664dabc | [
"MIT"
] | null | null | null | rr_iarrc/src/laplacian_line_detection/laplacian_line_detector.cpp | ldricci3/roboracing-software | d6059042d831f6523e93ae59e7eb246e7664dabc | [
"MIT"
] | null | null | null | rr_iarrc/src/laplacian_line_detection/laplacian_line_detector.cpp | ldricci3/roboracing-software | d6059042d831f6523e93ae59e7eb246e7664dabc | [
"MIT"
] | null | null | null | #include <ros/ros.h>
#include <ros/publisher.h>
#include <cv_bridge/cv_bridge.h>
#include <sensor_msgs/Image.h>
#include <opencv2/opencv.hpp>
#include <iostream>
#include <stdlib.h>
#include <stdio.h>
using namespace std;
cv::Mat kernel(int, int);
cv::Mat fillColorLines(const cv::Mat&, const cv::Mat&);
void blockEnvi... | 39.825397 | 117 | 0.687791 | [
"vector"
] |
09943e04aae2330e1eb1ffd2432cd6313f4eb62e | 72,356 | cpp | C++ | verifier/Verifier.cpp | oi02lyl/has-verifier | 513c0e975ab591146d7e50ecd657deac9a66f0e4 | [
"MIT"
] | 1 | 2017-01-26T00:16:56.000Z | 2017-01-26T00:16:56.000Z | verifier/Verifier.cpp | oi02lyl/has-verifier | 513c0e975ab591146d7e50ecd657deac9a66f0e4 | [
"MIT"
] | null | null | null | verifier/Verifier.cpp | oi02lyl/has-verifier | 513c0e975ab591146d7e50ecd657deac9a66f0e4 | [
"MIT"
] | null | null | null | /*
* Verifier.cpp
*
* Created on: Feb 3, 2016
* Author: lyl
*/
#include "Verifier.h"
#include <stack>
#include <queue>
#include <vector>
#include <set>
#include <unordered_set>
#include <unordered_map>
#include <map>
#include <algorithm>
namespace std {
Node::Node() {
expr_id = -1;
}
Node::~Node() {
}
... | 28.264063 | 113 | 0.595279 | [
"vector"
] |
09a57e206586d41e8208a0bcdd9b27b2c29e5a3f | 9,420 | cpp | C++ | retroc/test/rand.cpp | raggledodo/testify | e96e793b7082c3eb95f6177d5e7b0612ef6cd29c | [
"MIT"
] | null | null | null | retroc/test/rand.cpp | raggledodo/testify | e96e793b7082c3eb95f6177d5e7b0612ef6cd29c | [
"MIT"
] | null | null | null | retroc/test/rand.cpp | raggledodo/testify | e96e793b7082c3eb95f6177d5e7b0612ef6cd29c | [
"MIT"
] | null | null | null | #include <unordered_set>
#include <unordered_map>
#include "gtest/gtest.h"
#include "retroc/rand.hpp"
#define ASSERT_ARR_BETWEEN(bot, top, arr)\
for (auto v : arr) {\
ASSERT_LE(bot, v);\
ASSERT_GE(top, v);\
}
int main (int argc, char** argv)
{
size_t seed = std::time(nullptr);
retro::get_engine().seed(seed);
... | 23.72796 | 83 | 0.648514 | [
"vector"
] |
09aabec893c8c15e01190c31aa92e553573fc353 | 3,070 | cpp | C++ | rai/core_test/common_util.cpp | gokoo/Raicoin | 494be83a1e29106d268f71e613fac1e4033a82f2 | [
"MIT"
] | 6 | 2020-10-19T06:39:08.000Z | 2022-03-06T21:12:50.000Z | rai/core_test/common_util.cpp | gokoo/Raicoin | 494be83a1e29106d268f71e613fac1e4033a82f2 | [
"MIT"
] | null | null | null | rai/core_test/common_util.cpp | gokoo/Raicoin | 494be83a1e29106d268f71e613fac1e4033a82f2 | [
"MIT"
] | 1 | 2020-10-19T06:39:09.000Z | 2020-10-19T06:39:09.000Z | #include <gtest/gtest.h>
#include <rai/core_test/test_util.hpp>
#include <rai/common/util.hpp>
TEST(CommonUtil, CheckUtf8)
{
bool ctrl;
ASSERT_EQ(false, rai::CheckUtf8("Raicoin", ctrl));
ASSERT_EQ(false, ctrl);
ASSERT_EQ(false, rai::CheckUtf8("κόσμε", ctrl));
ASSERT_EQ(false, ctrl);
std::vecto... | 26.929825 | 60 | 0.625081 | [
"vector"
] |
09ae424633299c59e43afcf4f9b697a90fcca9db | 48,305 | cpp | C++ | kmultisplit.cpp | PlainSailing/GraduationDesignTest | cebcfcdc6d04b24c5e0ba03b962d6896694369ab | [
"MIT"
] | 1 | 2021-01-27T07:20:30.000Z | 2021-01-27T07:20:30.000Z | kmultisplit.cpp | PlainSailing/GraduationDesignTest | cebcfcdc6d04b24c5e0ba03b962d6896694369ab | [
"MIT"
] | null | null | null | kmultisplit.cpp | PlainSailing/GraduationDesignTest | cebcfcdc6d04b24c5e0ba03b962d6896694369ab | [
"MIT"
] | null | null | null | #include "kmultisplit.h"
#include "common.h"
//#define TIXML_USE_STL
#include "cpl_conv.h" // for CPLMalloc()
#include "tinyxml.h"
#include "kutility.h"
#include "kprogressbar.h"
#include "kwaitbar.h"
#include <QString>
#include <QDebug>
#include <boost/math/special_functions/powm1.hpp>
#include <cmath>
#include ... | 39.888522 | 161 | 0.558286 | [
"vector"
] |
09b2b7c8674621c819c9edbd996393a706851aaf | 35,133 | cxx | C++ | com/netfx/src/framework/xsp/state/tracker.cxx | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | com/netfx/src/framework/xsp/state/tracker.cxx | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | com/netfx/src/framework/xsp/state/tracker.cxx | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | /**
* tracker
*
* Copyright (c) 1998-1999, Microsoft Corporation
*
*/
#include "precomp.h"
#include "stweb.h"
#include "ary.h"
#include "event.h"
#define FIX_RESPONSE 0
long StateItem::s_cStateItems;
TrackerList Tracker::s_TrackerList;
TrackerList Tracker::s_Track... | 25.532703 | 131 | 0.576381 | [
"object"
] |
09b7f50bdbb7fb489f147ff8ff7e5983b4a7fa48 | 5,264 | cpp | C++ | Soruce/ModuleImGui.cpp | ermario/3DEngineApp | 9a6ae32ce3aba5c610c71b616743580eabcaa0d8 | [
"MIT"
] | 2 | 2021-12-02T01:31:20.000Z | 2021-12-09T17:32:02.000Z | Soruce/ModuleImGui.cpp | ermario/3DEngineApp | 9a6ae32ce3aba5c610c71b616743580eabcaa0d8 | [
"MIT"
] | null | null | null | Soruce/ModuleImGui.cpp | ermario/3DEngineApp | 9a6ae32ce3aba5c610c71b616743580eabcaa0d8 | [
"MIT"
] | null | null | null | #include "Globals.h"
#include "Application.h"
#include "ModuleImGui.h"
#include "ModuleWindow.h"
#include "ModuleProgram.h"
#include "ModuleRender.h"
#include "ModuleCamera.h"
#include "SDL.h"
#include "GL/glew.h"
#include "imgui.h"
#include "imgui_impl_sdl.h"
#include "imgui_impl_opengl3.h"
ModuleImGui::ModuleImGu... | 22.886957 | 84 | 0.698708 | [
"render"
] |
09bd34b76fad2c654cafa48bb2e0671080edf8ec | 5,621 | cpp | C++ | r3d/load/load_texture.cpp | ryanw3bb/r3d | 73920cd11a623d1eeb73855be5ca1be7dc4679cb | [
"MIT"
] | 3 | 2018-06-20T08:28:01.000Z | 2021-08-02T13:45:07.000Z | r3d/load/load_texture.cpp | ryanw3bb/r3d | 73920cd11a623d1eeb73855be5ca1be7dc4679cb | [
"MIT"
] | null | null | null | r3d/load/load_texture.cpp | ryanw3bb/r3d | 73920cd11a623d1eeb73855be5ca1be7dc4679cb | [
"MIT"
] | 1 | 2018-06-11T15:28:48.000Z | 2018-06-11T15:28:48.000Z | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <GL/glew.h>
#include <GLFW/glfw3.h>
#include "load_texture.hpp"
#include "../util/file.hpp"
#define STB_IMAGE_IMPLEMENTATION
#include "../lib/stb_image.h"
GLuint r3d::load_texture(std::string image_path)
{
image_path.insert(0, get_running_dir());... | 30.383784 | 107 | 0.649173 | [
"vector"
] |
09c0123207b4737001e5921ddd68491caaea39aa | 6,344 | cpp | C++ | project_code/GALabs/src/ofApp.cpp | nykwil/devart-template | 6d9ab9757fbb6cfd36354090d1821184989a5d1b | [
"Apache-2.0"
] | null | null | null | project_code/GALabs/src/ofApp.cpp | nykwil/devart-template | 6d9ab9757fbb6cfd36354090d1821184989a5d1b | [
"Apache-2.0"
] | null | null | null | project_code/GALabs/src/ofApp.cpp | nykwil/devart-template | 6d9ab9757fbb6cfd36354090d1821184989a5d1b | [
"Apache-2.0"
] | null | null | null | #include "ofApp.h"
#include "ofxSimpleGuiToo.h"
#include "TestProblem.h"
#include "rbMath.h"
//#include "ofxFatLine.h"
#include "ofEasyCam.h"
#include "LineStrip.h"
#include "ColorLook.h"
// @TODO clear button
static ofEasyCam mCam;
static bool bRun = false;
static bool bDebug = false;
static bool bDrawAll = true;
st... | 23.496296 | 71 | 0.598834 | [
"vector"
] |
09c1bfceffa78fec699bf0b3d730e020fe2d4ee5 | 5,391 | cpp | C++ | Blue-Flame-Engine/Sandbox/Sandbox/Hello_Triangle.cpp | FantasyVII/Blue-Flame-Engine | b0e44ccffdd41539fa9075e5d6a2b3c1cc811d96 | [
"MIT"
] | 2 | 2020-10-12T13:40:05.000Z | 2021-09-17T08:37:03.000Z | Blue-Flame-Engine/Sandbox/Sandbox/Hello_Triangle.cpp | FantasyVII/Blue-Flame-Engine | b0e44ccffdd41539fa9075e5d6a2b3c1cc811d96 | [
"MIT"
] | null | null | null | Blue-Flame-Engine/Sandbox/Sandbox/Hello_Triangle.cpp | FantasyVII/Blue-Flame-Engine | b0e44ccffdd41539fa9075e5d6a2b3c1cc811d96 | [
"MIT"
] | null | null | null | #include "Hello_Triangle.h"
namespace Hello_Triangle
{
using namespace BF;
using namespace BF::AI;
using namespace BF::Application;
using namespace BF::Graphics;
using namespace BF::Graphics::API;
using namespace BF::Graphics::Renderers;
using namespace BF::Graphics::Materials;
using namespace BF::ECS;
using ... | 39.350365 | 258 | 0.629939 | [
"mesh",
"render",
"vector",
"model",
"3d"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.