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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
fc82bdd6585fdcc5d7a4f2f292b2a2c552859da1 | 9,290 | hpp | C++ | 3rdparty/link-android/include/ableton/link/Sessions.hpp | ferluht/pocketdaw | 0e40b32191e431cde54cd5944611c4b5b293ea68 | [
"BSD-2-Clause"
] | null | null | null | 3rdparty/link-android/include/ableton/link/Sessions.hpp | ferluht/pocketdaw | 0e40b32191e431cde54cd5944611c4b5b293ea68 | [
"BSD-2-Clause"
] | null | null | null | 3rdparty/link-android/include/ableton/link/Sessions.hpp | ferluht/pocketdaw | 0e40b32191e431cde54cd5944611c4b5b293ea68 | [
"BSD-2-Clause"
] | 1 | 2022-03-29T19:45:51.000Z | 2022-03-29T19:45:51.000Z | /* Copyright 2016, Ableton AG, Berlin. All rights reserved.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
... | 30.459016 | 90 | 0.646071 | [
"vector"
] |
fc83bd383ddff4800752a67950722b8aad3a1b1a | 184 | cc | C++ | facebook_interview_practice/HackerRank/Left_Rotation/solve.cc | ldy121/algorithm | 7939cb4c15e2bc655219c934f00c2bb74ddb4eec | [
"Apache-2.0"
] | 1 | 2020-04-11T22:04:23.000Z | 2020-04-11T22:04:23.000Z | facebook_interview_practice/HackerRank/Left_Rotation/solve.cc | ldy121/algorithm | 7939cb4c15e2bc655219c934f00c2bb74ddb4eec | [
"Apache-2.0"
] | null | null | null | facebook_interview_practice/HackerRank/Left_Rotation/solve.cc | ldy121/algorithm | 7939cb4c15e2bc655219c934f00c2bb74ddb4eec | [
"Apache-2.0"
] | null | null | null | vector<int> rotLeft(vector<int> a, int d) {
vector<int> ret;
for (int i = d % a.size(), j = 0; j < a.size(); ++j, i = (i + 1) % a.size()) {
ret.push_back(a[i]);
}
return ret;
}
| 23 | 79 | 0.516304 | [
"vector"
] |
fc844d2ffc69d51ab72d78b10e78cd86b1ad4fbe | 166,500 | cpp | C++ | html_parser/parser.cpp | johnzhd/learnandtraining | 31cc0595cded675c3c860920dfb57b0e49727a52 | [
"MIT"
] | null | null | null | html_parser/parser.cpp | johnzhd/learnandtraining | 31cc0595cded675c3c860920dfb57b0e49727a52 | [
"MIT"
] | null | null | null | html_parser/parser.cpp | johnzhd/learnandtraining | 31cc0595cded675c3c860920dfb57b0e49727a52 | [
"MIT"
] | 1 | 2019-04-30T18:56:59.000Z | 2019-04-30T18:56:59.000Z | // Copyright 2010 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... | 42.269612 | 141 | 0.712619 | [
"object",
"vector"
] |
fc86dd0cb320c80fcb381cccaa4885790a749d8a | 157,149 | cpp | C++ | admin/darwin/src/msitools/patchwiz/msistuff.cpp | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | admin/darwin/src/msitools/patchwiz/msistuff.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | admin/darwin/src/msitools/patchwiz/msistuff.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | //+-------------------------------------------------------------------------
//
// Microsoft Windows
//
// Copyright (C) Microsoft Corporation, 1999-2000
//
//--------------------------------------------------------------------------
/* MSISTUFF.CPP -- MSI stuff */
#pragma warning (disable:4553)
#inc... | 34.110918 | 318 | 0.660214 | [
"object"
] |
fc8a52ec0db8f3e6b86db51faf6eb8b7b8fbed79 | 2,709 | cpp | C++ | Server/BackEndMonitoringServer/src/CContainerOfLogicalDisk.cpp | ITA-Dnipro/BackEndMonitoring | 2962b6e14e47c789daaf6f6c5e200c8ec419bc7e | [
"MIT"
] | null | null | null | Server/BackEndMonitoringServer/src/CContainerOfLogicalDisk.cpp | ITA-Dnipro/BackEndMonitoring | 2962b6e14e47c789daaf6f6c5e200c8ec419bc7e | [
"MIT"
] | 44 | 2021-01-11T18:26:25.000Z | 2021-02-28T13:22:12.000Z | Server/BackEndMonitoringServer/src/CContainerOfLogicalDisk.cpp | ITA-Dnipro/BackEndMonitoring | 2962b6e14e47c789daaf6f6c5e200c8ec419bc7e | [
"MIT"
] | null | null | null | #include "stdafx.h"
#include "Utils.h"
#include "PlatformUtils.h"
#include "CLogicalDiskInfo.h"
#include "CContainerOfLogicalDisk.h"
#include "CLogger/include/Log.h"
CContainerOfLogicalDisk::CContainerOfLogicalDisk(
std::chrono::duration<int> period_of_checking_status,
EMemoryConvertType count_type) :
m_specifica... | 23.763158 | 88 | 0.787375 | [
"vector"
] |
4759d917db65d088aadffe68938172c833428bf3 | 1,846 | hpp | C++ | iOS/G3MiOSSDK/Commons/Basic/ColumnLayoutImageBuilder.hpp | AeroGlass/g3m | a21a9e70a6205f1f37046ae85dafc6e3bfaeb917 | [
"BSD-2-Clause"
] | null | null | null | iOS/G3MiOSSDK/Commons/Basic/ColumnLayoutImageBuilder.hpp | AeroGlass/g3m | a21a9e70a6205f1f37046ae85dafc6e3bfaeb917 | [
"BSD-2-Clause"
] | null | null | null | iOS/G3MiOSSDK/Commons/Basic/ColumnLayoutImageBuilder.hpp | AeroGlass/g3m | a21a9e70a6205f1f37046ae85dafc6e3bfaeb917 | [
"BSD-2-Clause"
] | null | null | null | //
// ColumnLayoutImageBuilder.hpp
// G3MiOSSDK
//
// Created by Diego Gomez Deck on 2/11/15.
//
//
#ifndef __G3MiOSSDK__ColumnLayoutImageBuilder__
#define __G3MiOSSDK__ColumnLayoutImageBuilder__
#include "LayoutImageBuilder.hpp"
class ColumnLayoutImageBuilder : public LayoutImageBuilder {
protected:
void doLay... | 40.130435 | 104 | 0.439328 | [
"vector"
] |
475b6ee73dff69a340212a6a80a1aa325c4efe49 | 13,855 | cpp | C++ | src/io.cpp | lambdaconservatory/vx-scheme | 6d4f56d2335d4620c6a4491e73dd32b27dee0ea1 | [
"Artistic-1.0-Perl"
] | null | null | null | src/io.cpp | lambdaconservatory/vx-scheme | 6d4f56d2335d4620c6a4491e73dd32b27dee0ea1 | [
"Artistic-1.0-Perl"
] | null | null | null | src/io.cpp | lambdaconservatory/vx-scheme | 6d4f56d2335d4620c6a4491e73dd32b27dee0ea1 | [
"Artistic-1.0-Perl"
] | null | null | null | //----------------------------------------------------------------------
// vx-scheme : Scheme interpreter.
// Copyright (c) 2002,2003,2006 and onwards Colin Smith.
//
// You may distribute under the terms of the Artistic License,
// as specified in the LICENSE file.
//
// io.cpp : reading and printing S-expressions.
... | 22.900826 | 77 | 0.45904 | [
"vector"
] |
475ce0034551b2d3b7c23ff588c72d7ba68c2b5c | 39,880 | cpp | C++ | examples/subpasses/subpasses.cpp | nidefawl/Vulkan-Examples-Fork | 2d93474957a6357ddebbe199d2bd79a215f16ee5 | [
"MIT"
] | null | null | null | examples/subpasses/subpasses.cpp | nidefawl/Vulkan-Examples-Fork | 2d93474957a6357ddebbe199d2bd79a215f16ee5 | [
"MIT"
] | null | null | null | examples/subpasses/subpasses.cpp | nidefawl/Vulkan-Examples-Fork | 2d93474957a6357ddebbe199d2bd79a215f16ee5 | [
"MIT"
] | null | null | null | /*
* Vulkan Example - Using subpasses for G-Buffer compositing
*
* Copyright (C) 2016-2021 by Sascha Willems - www.saschawillems.de
*
* This code is licensed under the MIT license (MIT) (http://opensource.org/licenses/MIT)
*/
/*
* This sample shows how to use sub passes and input attachments for reading from a... | 54.705075 | 210 | 0.803235 | [
"geometry",
"render",
"vector",
"model"
] |
4766026fc2741d801078b6a28214c39dd98cb9a8 | 6,757 | cpp | C++ | tests/verify/verify_metric.cpp | Roboauto/spatial | fe652631eb5ec23a719bf1788c68cbd67060e12b | [
"BSL-1.0"
] | 7 | 2015-12-07T02:10:23.000Z | 2022-01-01T05:39:05.000Z | tests/verify/verify_metric.cpp | Roboauto/spatial | fe652631eb5ec23a719bf1788c68cbd67060e12b | [
"BSL-1.0"
] | 1 | 2021-01-28T15:07:42.000Z | 2021-01-28T15:07:42.000Z | tests/verify/verify_metric.cpp | Roboauto/spatial | fe652631eb5ec23a719bf1788c68cbd67060e12b | [
"BSL-1.0"
] | 2 | 2016-08-31T13:30:18.000Z | 2021-07-07T07:22:03.000Z | // -*- C++ -*-
//
// Copyright Sylvain Bougerel 2009 - 2012.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file COPYING or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#define BOOST_TEST_DYN_LINK
#define SPATIAL_ENABLE_ASSERT // detect interal issues that should not occur
#inc... | 35.376963 | 83 | 0.583543 | [
"3d"
] |
477056bcde2dde09db044ac6ebfd791bc41bf571 | 3,005 | cpp | C++ | TxtAdv/TxtParser.cpp | doc97/TxtAdv | c74163548f5c68202a06d0ad320fbd5b687d6f1a | [
"MIT"
] | null | null | null | TxtAdv/TxtParser.cpp | doc97/TxtAdv | c74163548f5c68202a06d0ad320fbd5b687d6f1a | [
"MIT"
] | 31 | 2018-12-22T10:30:43.000Z | 2019-01-16T11:32:23.000Z | TxtAdv/TxtParser.cpp | doc97/TxtAdv | c74163548f5c68202a06d0ad320fbd5b687d6f1a | [
"MIT"
] | null | null | null | /**********************************************************
* License: The MIT License
* https://www.github.com/doc97/TxtAdv/blob/master/LICENSE
**********************************************************/
#include "TxtParser.h"
#include <regex>
#include <sstream>
#include <iomanip> // std::setprecision
namespace txt
... | 26.830357 | 113 | 0.590349 | [
"vector"
] |
4771548d8f79a93c034b196d4bed18a00866abab | 2,629 | hpp | C++ | include/codegen/include/NUnit/Framework/Internal/TestListener.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 1 | 2021-11-12T09:29:31.000Z | 2021-11-12T09:29:31.000Z | include/codegen/include/NUnit/Framework/Internal/TestListener.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | null | null | null | include/codegen/include/NUnit/Framework/Internal/TestListener.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:09:56 PM
// Created by Sc2ad
// =========================================================================
#pragma once
#pragma pack(push, 8)
// Begin includes
#include "utils/typedefs.h"
// Including type: System.Object
#include "System/Object.hpp"
// Including type... | 46.122807 | 110 | 0.739064 | [
"object"
] |
4777df9846335528553b37c3c381dbbe1eab8239 | 1,875 | cpp | C++ | SuffixArray.cpp | neinsys/acmicpc_teamnote | 1eebc52b662accaea6795c7b875241829314df0b | [
"MIT"
] | null | null | null | SuffixArray.cpp | neinsys/acmicpc_teamnote | 1eebc52b662accaea6795c7b875241829314df0b | [
"MIT"
] | null | null | null | SuffixArray.cpp | neinsys/acmicpc_teamnote | 1eebc52b662accaea6795c7b875241829314df0b | [
"MIT"
] | null | null | null | #include<bits/stdc++.h>
using std::vector;
using std::string;
struct suffixArray {
string str;
vector<int> group;
vector<int> sa;
vector<int> tmp;
vector<int> cnt;
vector<int> cnt2;
int len;
suffixArray(string str) :str(str) {
len = str.size();
group.resize(len * 2+10, -1);
sa.resize(len,0);
tmp.resi... | 24.038462 | 87 | 0.4512 | [
"vector"
] |
4778eacbd39ee5e936195cb2f6369299294d2b60 | 1,623 | cpp | C++ | ANode/parser/src/LateParser.cpp | mpartio/ecflow | ea4b89399d1e7b897ff48c59b1e885e6d53cc8d6 | [
"Apache-2.0"
] | null | null | null | ANode/parser/src/LateParser.cpp | mpartio/ecflow | ea4b89399d1e7b897ff48c59b1e885e6d53cc8d6 | [
"Apache-2.0"
] | null | null | null | ANode/parser/src/LateParser.cpp | mpartio/ecflow | ea4b89399d1e7b897ff48c59b1e885e6d53cc8d6 | [
"Apache-2.0"
] | null | null | null | //============================================================================
// Name :
// Author : Avi
// Revision : $Revision: #13 $
//
// Copyright 2009- ECMWF.
// This software is licensed under the terms of the Apache Licence version 2.0
// which can be obtained at http://www.apache.org/licenses/... | 35.282609 | 103 | 0.581023 | [
"vector"
] |
4779878f127ea424950bee16e56b1a47c8bd6bf6 | 1,128 | cpp | C++ | Code Chef/Code Chef - Tourist Translations.cpp | akash246/Competitive-Programming-Solutions | 68db69ba8a771a433e5338bc4e837a02d3f89823 | [
"MIT"
] | 28 | 2017-11-08T11:52:11.000Z | 2021-07-16T06:30:02.000Z | Code Chef/Code Chef - Tourist Translations.cpp | akash246/Competitive-Programming-Solutions | 68db69ba8a771a433e5338bc4e837a02d3f89823 | [
"MIT"
] | null | null | null | Code Chef/Code Chef - Tourist Translations.cpp | akash246/Competitive-Programming-Solutions | 68db69ba8a771a433e5338bc4e837a02d3f89823 | [
"MIT"
] | 30 | 2017-09-01T09:14:27.000Z | 2021-04-12T12:08:56.000Z | #include <bits/stdc++.h>
using namespace std;
namespace{
int CC_= 0;
#define sf scanf
#define pf printf
#define PP cin.get();
#define DD(x_) cout<<">>>>( "<<++CC_<<" ) "<<#x_<<": "<<x_<<endl;
#define SS printf(">_<LOOOOOK@MEEEEEEEEEEEEEEE<<( %d )>>\n",++CC_);
typedef long long LL;
typedef vector<int>... | 16.114286 | 69 | 0.499113 | [
"vector"
] |
4779cbc46177927ab500d98db57187a072ebbb48 | 2,080 | cpp | C++ | cpp/arrayMisc/permutations.cpp | locmpham/codingtests | 3805fc98c0fa0dbee52e12531f6205e77b52899e | [
"MIT"
] | null | null | null | cpp/arrayMisc/permutations.cpp | locmpham/codingtests | 3805fc98c0fa0dbee52e12531f6205e77b52899e | [
"MIT"
] | null | null | null | cpp/arrayMisc/permutations.cpp | locmpham/codingtests | 3805fc98c0fa0dbee52e12531f6205e77b52899e | [
"MIT"
] | 1 | 2021-07-09T19:13:11.000Z | 2021-07-09T19:13:11.000Z | /*
LEETCODE# 46
Given an array nums of distinct integers, return all the possible permutations.
You can return the answer in any order.
Example 1:
Input: nums = [1,2,3]
Output: [[1,2,3],[1,3,2],[2,1,3],[2,3,1],[3,1,2],[3,2,1]]
Example 2:
Input: nums = [0,1]
Output: [[0,1],[1... | 20.594059 | 100 | 0.518269 | [
"vector"
] |
47888307133e5502d04dd548dade9262a0d04311 | 32,782 | cpp | C++ | Engine/Source/Runtime/Renderer/Private/PlanarReflectionRendering.cpp | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | 1 | 2022-01-29T18:36:12.000Z | 2022-01-29T18:36:12.000Z | Engine/Source/Runtime/Renderer/Private/PlanarReflectionRendering.cpp | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | null | null | null | Engine/Source/Runtime/Renderer/Private/PlanarReflectionRendering.cpp | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | null | null | null | // Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
/*=============================================================================
PlanarReflectionRendering.cpp
=============================================================================*/
#include "PlanarReflectionRendering.h"
#include "Engine/Scene.h"
#... | 41.339218 | 314 | 0.790983 | [
"render",
"object",
"vector",
"transform"
] |
478bc8c6fa3e2f52aee7aac6acf972960ae3b28b | 14,409 | cc | C++ | bess/core/traffic_class.cc | JackKuo-tw/BESSGreatFirewall | 5a2d814df8ce508263eba1fcd4a2641c8f625402 | [
"BSD-3-Clause"
] | 1 | 2020-06-22T13:21:43.000Z | 2020-06-22T13:21:43.000Z | bess/core/traffic_class.cc | JackKuo-tw/BESSGreatFirewall | 5a2d814df8ce508263eba1fcd4a2641c8f625402 | [
"BSD-3-Clause"
] | null | null | null | bess/core/traffic_class.cc | JackKuo-tw/BESSGreatFirewall | 5a2d814df8ce508263eba1fcd4a2641c8f625402 | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2016-2017, Nefeli Networks, Inc.
// 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... | 26.584871 | 80 | 0.683531 | [
"vector"
] |
4794e89c40cb3e444a56e25c43ff30bf2cfcce68 | 1,409 | cc | C++ | ideep4py/py/mm/basic.cc | mingxiaoh/chainer_for_rebase | 8c5ba24bf81d648402d388dac1df7591b2557712 | [
"MIT"
] | 1 | 2020-05-28T10:07:25.000Z | 2020-05-28T10:07:25.000Z | ideep4py/py/mm/basic.cc | mingxiaoh/chainer_for_rebase | 8c5ba24bf81d648402d388dac1df7591b2557712 | [
"MIT"
] | null | null | null | ideep4py/py/mm/basic.cc | mingxiaoh/chainer_for_rebase | 8c5ba24bf81d648402d388dac1df7591b2557712 | [
"MIT"
] | null | null | null | #include "basic.h"
#include "tensor.h"
PyObject *basic::copyto(mdarray *dst, mdarray *src)
{
Tensor *tdst = dst->get()->tensor();
Tensor *tsrc = src->get()->tensor();
if (tdst->copyto(tsrc) == true)
Py_RETURN_NONE;
return nullptr;
}
PyObject *basic::copyto(mdarray *dst, Py_buffer *src_view)
{
... | 29.354167 | 72 | 0.635912 | [
"vector"
] |
4797543aaec4ae79175b0d11a4bb2bb33ae4105f | 6,413 | cpp | C++ | IProc/JPEGProcessor/JPEGProcessor.cpp | heshanera/IProc | 5e444038f46eec6f5d43e8d2fc169531aa8b68e5 | [
"MIT"
] | 3 | 2018-11-20T20:17:00.000Z | 2020-02-25T07:33:53.000Z | IProc/JPEGProcessor/JPEGProcessor.cpp | heshanera/IProc | 5e444038f46eec6f5d43e8d2fc169531aa8b68e5 | [
"MIT"
] | 2 | 2018-05-22T08:48:15.000Z | 2021-11-08T10:47:34.000Z | IProc/JPEGProcessor/JPEGProcessor.cpp | heshanera/IProc | 5e444038f46eec6f5d43e8d2fc169531aa8b68e5 | [
"MIT"
] | null | null | null | /*
* File: JPEGProcessor.cpp
* Author: heshan
*
* Created on October 5, 2017, 4:02 PM
*/
#include "JPEGProcessor.h"
JPEGProcessor::JPEGProcessor() { }
JPEGProcessor::JPEGProcessor(const JPEGProcessor& orig) { }
JPEGProcessor::~JPEGProcessor() { }
/**
* @param height of the image
* @return 1
*/
int JPE... | 27.642241 | 91 | 0.660845 | [
"object"
] |
479ef423003876c3919ec3570ef44ce31d23f8ca | 6,785 | cpp | C++ | src/mongo/db/write_concern_options_test.cpp | SunguckLee/real-mongodb | fef0e44fafc6d3709a84101327e7d2f54dd18d88 | [
"Apache-2.0"
] | 4 | 2018-02-06T01:53:12.000Z | 2018-02-20T01:47:36.000Z | src/mongo/db/write_concern_options_test.cpp | SunguckLee/real-mongodb | fef0e44fafc6d3709a84101327e7d2f54dd18d88 | [
"Apache-2.0"
] | null | null | null | src/mongo/db/write_concern_options_test.cpp | SunguckLee/real-mongodb | fef0e44fafc6d3709a84101327e7d2f54dd18d88 | [
"Apache-2.0"
] | 3 | 2018-02-06T01:53:18.000Z | 2021-07-28T09:48:15.000Z | /**
* Copyright 2016 MongoDB Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License, version 3,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be u... | 42.943038 | 85 | 0.715107 | [
"object"
] |
47b126ac515839682fe5c594c1ed39087df2cef1 | 850 | hpp | C++ | src/MqttController.hpp | kvoit/MqttController | 7a290e40238c1a9359ba6cc1aa164e3e44b50dc9 | [
"Apache-2.0"
] | null | null | null | src/MqttController.hpp | kvoit/MqttController | 7a290e40238c1a9359ba6cc1aa164e3e44b50dc9 | [
"Apache-2.0"
] | null | null | null | src/MqttController.hpp | kvoit/MqttController | 7a290e40238c1a9359ba6cc1aa164e3e44b50dc9 | [
"Apache-2.0"
] | null | null | null | #pragma once
#include <Arduino.h>
#include <PubSubClient.h>
#include <MqttListener.hpp>
#include <Messenger.hpp>
#include <vector>
class MqttListener;
class MqttController : public Messenger{
public:
MqttController(PubSubClient &psc, const char* mqttName, const char* mqttUser, const char* mqttPassword)
... | 27.419355 | 108 | 0.703529 | [
"vector"
] |
47b2ee81acc52e79e89a1d38206ef2bb2cf34099 | 12,356 | cpp | C++ | Turtlebot_Car4D_Car1D_Intersection/Reachability Computation/fourway_intersection.cpp | karenl7/stlhj | c3f35aefe81e2f6c721e4723ba4d07930b2661e7 | [
"MIT"
] | 6 | 2019-01-30T00:11:55.000Z | 2022-03-09T02:44:51.000Z | Turtlebot_Car4D_Car1D_Intersection/Reachability Computation/fourway_intersection.cpp | StanfordASL/stlhj | c3f35aefe81e2f6c721e4723ba4d07930b2661e7 | [
"MIT"
] | null | null | null | Turtlebot_Car4D_Car1D_Intersection/Reachability Computation/fourway_intersection.cpp | StanfordASL/stlhj | c3f35aefe81e2f6c721e4723ba4d07930b2661e7 | [
"MIT"
] | 4 | 2018-09-08T00:16:55.000Z | 2022-03-09T02:44:54.000Z | #include "theta_diff.cpp"
#include "add_lane.cpp"
#include "get_subvector.cpp"
#include "update_lane.cpp"
#include "add_lane_disturbance_v2.cpp"
#include "add_lane_initial_final.cpp"
#include "add_sq.cpp"
#include "add_lane_plain.cpp"
void fourway_intersection(
beacls::FloatVec& lane,
levelset::HJI_Grid* g,
beac... | 43.507042 | 158 | 0.613062 | [
"shape",
"vector"
] |
47b70d8681db70cd2de59cd1313b13a8192e67ab | 674 | cpp | C++ | Sandbox/sandboxecs.cpp | imefGames/Poplin | 932c4896b0da3f06f95ef30944d4df584ad8f7c5 | [
"MIT"
] | null | null | null | Sandbox/sandboxecs.cpp | imefGames/Poplin | 932c4896b0da3f06f95ef30944d4df584ad8f7c5 | [
"MIT"
] | null | null | null | Sandbox/sandboxecs.cpp | imefGames/Poplin | 932c4896b0da3f06f95ef30944d4df584ad8f7c5 | [
"MIT"
] | null | null | null | #include "sandboxecs.h"
#include "debugtoolssystem.h"
#include "playerbehaviorcomponent.h"
#include "scrollmessagecomponent.h"
namespace Poplin
{
void RegisterExternalComponents(std::vector<ComponentDescriptor*>& components)
{
components.push_back(ComponentDescriptorUtils::CreateLogicBehaviorDescriptor... | 37.444444 | 129 | 0.778932 | [
"vector"
] |
47c24e78d166ca1305e4f4e600597009803fda4d | 13,082 | cpp | C++ | src/linux_parser.cpp | karthikpakala/CppND-System-Monitor | b7b75b9268ec42f8ad549d78c2388a299af53304 | [
"MIT"
] | null | null | null | src/linux_parser.cpp | karthikpakala/CppND-System-Monitor | b7b75b9268ec42f8ad549d78c2388a299af53304 | [
"MIT"
] | null | null | null | src/linux_parser.cpp | karthikpakala/CppND-System-Monitor | b7b75b9268ec42f8ad549d78c2388a299af53304 | [
"MIT"
] | null | null | null | #include <dirent.h>
#include <unistd.h>
#include <string>
#include <vector>
#include <unistd.h>
#include <sys/time.h>
#include <sstream>
#include <fstream>
#include "linux_parser.h"
using std::stof;
using std::string;
using std::to_string;
using std::vector;
// DONE: An example of how to read data from the filesyst... | 29.530474 | 133 | 0.6353 | [
"vector"
] |
47cb000ba566accd4ce7e7418212223d4fde3cb3 | 57,400 | cpp | C++ | cppcrypto/kupyna.cpp | crashdemons/kerukuro-cppcrypto | 090d0e97280c0c34267ab50b72a2ffa5b991110b | [
"BSD-2-Clause"
] | null | null | null | cppcrypto/kupyna.cpp | crashdemons/kerukuro-cppcrypto | 090d0e97280c0c34267ab50b72a2ffa5b991110b | [
"BSD-2-Clause"
] | null | null | null | cppcrypto/kupyna.cpp | crashdemons/kerukuro-cppcrypto | 090d0e97280c0c34267ab50b72a2ffa5b991110b | [
"BSD-2-Clause"
] | null | null | null | /*
This code is written by kerukuro for cppcrypto library (http://cppcrypto.sourceforge.net/)
and released into public domain.
*/
#include "cpuinfo.h"
#include "kupyna.h"
#include "portability.h"
#include <memory.h>
//#define CPPCRYPTO_DEBUG
namespace cppcrypto
{
#ifdef CPPCRYPTO_DEBUG
void dump_state(const char* ... | 63.706992 | 176 | 0.795226 | [
"transform"
] |
47cc9c1b434e2eaaa730fa8c620ae782cbd438c5 | 15,314 | cpp | C++ | c/lib/miscl/AsyncQ.cpp | knowm/nSpace | 1e5380a8778e013f7e8c44c130ba32e9668755ed | [
"BSD-3-Clause"
] | 2 | 2020-05-06T21:45:13.000Z | 2020-06-14T11:48:03.000Z | c/lib/miscl/AsyncQ.cpp | knowm/nSpace | 1e5380a8778e013f7e8c44c130ba32e9668755ed | [
"BSD-3-Clause"
] | null | null | null | c/lib/miscl/AsyncQ.cpp | knowm/nSpace | 1e5380a8778e013f7e8c44c130ba32e9668755ed | [
"BSD-3-Clause"
] | 3 | 2017-09-18T14:46:03.000Z | 2021-09-26T17:10:36.000Z | ////////////////////////////////////////////////////////////////////////
//
// ASYNCQ.CPP
//
// Implementation of the asynchronous queue node
//
////////////////////////////////////////////////////////////////////////
#include "miscl_.h"
#include <stdio.h>
AsyncQ :: AsyncQ ( void )
{
////////////////////... | 22.162084 | 90 | 0.483806 | [
"object"
] |
47d3f1c9bd6652e57a2ea519f30743c228d27af9 | 5,213 | cpp | C++ | src/AddOns/Skippy widget copy/SQI-skippy.cpp | clasqm/Squirrel99 | 09fb4cf9c26433b5bc1915dee1b31178222d9e81 | [
"MIT"
] | 2 | 2019-01-26T14:35:33.000Z | 2020-03-31T10:39:39.000Z | src/AddOns/Skippy widget copy/SQI-skippy.cpp | clasqm/Squirrel99 | 09fb4cf9c26433b5bc1915dee1b31178222d9e81 | [
"MIT"
] | 1 | 2018-12-12T17:04:17.000Z | 2018-12-12T17:04:17.000Z | src/AddOns/Skippy widget copy/SQI-skippy.cpp | clasqm/Squirrel99 | 09fb4cf9c26433b5bc1915dee1b31178222d9e81 | [
"MIT"
] | 1 | 2020-10-26T08:56:12.000Z | 2020-10-26T08:56:12.000Z | /*
* Squirrel project
*
* file ? SQI-skippy.cpp
* what ? Skippy builtin predicates
* who ? jlv
* when ? 02/18/00
* last ? 01/24/01
*
*
* (c) Kirilla 2000-2001
*/
// First the needed header
#include "SQI-AddOn.h"
#include "SQI-font.h"
#include "SQI-utils.h"
#include "SQI-widget.h"
#include "SQI-bwidget.h"... | 24.023041 | 133 | 0.658354 | [
"render",
"object"
] |
47d9cc44fe314b0e6ba9798d484975314c91363c | 2,217 | cpp | C++ | HDU/37 - 39/hdu3784.cpp | bilibiliShen/CodeBank | 49a69b2b2c3603bf105140a9d924946ed3193457 | [
"MIT"
] | 1 | 2017-08-19T16:02:15.000Z | 2017-08-19T16:02:15.000Z | HDU/37 - 39/hdu3784.cpp | bilibiliShen/CodeBank | 49a69b2b2c3603bf105140a9d924946ed3193457 | [
"MIT"
] | null | null | null | HDU/37 - 39/hdu3784.cpp | bilibiliShen/CodeBank | 49a69b2b2c3603bf105140a9d924946ed3193457 | [
"MIT"
] | 1 | 2018-01-05T23:37:23.000Z | 2018-01-05T23:37:23.000Z | // <!-- encoding UTF-8 --!>
/*****************************************************************************
* ----Stay Hungry Stay Foolish---- *
* @author : Shen *
* @name : hdu 3784 ... | 29.959459 | 80 | 0.424899 | [
"vector"
] |
c5230b07fab815a12c8ed5501820e46f90542a6f | 13,584 | cpp | C++ | applications/physbam/physbam-lib/Public_Library/PhysBAM_Fluids/PhysBAM_Incompressible/Incompressible_Flows/VORTEX_PARTICLE_EVOLUTION_3D.cpp | schinmayee/nimbus | 170cd15e24a7a88243a6ea80aabadc0fc0e6e177 | [
"BSD-3-Clause"
] | 20 | 2017-07-03T19:09:09.000Z | 2021-09-10T02:53:56.000Z | applications/physbam/physbam-lib/Public_Library/PhysBAM_Fluids/PhysBAM_Incompressible/Incompressible_Flows/VORTEX_PARTICLE_EVOLUTION_3D.cpp | schinmayee/nimbus | 170cd15e24a7a88243a6ea80aabadc0fc0e6e177 | [
"BSD-3-Clause"
] | null | null | null | applications/physbam/physbam-lib/Public_Library/PhysBAM_Fluids/PhysBAM_Incompressible/Incompressible_Flows/VORTEX_PARTICLE_EVOLUTION_3D.cpp | schinmayee/nimbus | 170cd15e24a7a88243a6ea80aabadc0fc0e6e177 | [
"BSD-3-Clause"
] | 9 | 2017-09-17T02:05:06.000Z | 2020-01-31T00:12:01.000Z | //#####################################################################
// Copyright 2004-2005, Ron Fedkiw, Frank Losasso, Andrew Selle.
// This file is part of PhysBAM whose distribution is governed by the license contained in the accompanying file PHYSBAM_COPYRIGHT.txt.
//#############################################... | 76.314607 | 272 | 0.679402 | [
"vector"
] |
c523b2089df63e3495b80f1d428f23dbe452c0d3 | 792 | cpp | C++ | DS and Algo/15. Heatmaps/3. remove duplicates.cpp | tausiq2003/C-with-DS | 3ec324b180456116b03aec58f2a85025180af9aa | [
"Apache-2.0"
] | 7 | 2020-10-01T13:31:02.000Z | 2021-11-06T16:22:31.000Z | DS and Algo/15. Heatmaps/3. remove duplicates.cpp | tausiq2003/C-with-DS | 3ec324b180456116b03aec58f2a85025180af9aa | [
"Apache-2.0"
] | 9 | 2020-10-01T10:35:59.000Z | 2021-10-03T15:00:18.000Z | DS and Algo/15. Heatmaps/3. remove duplicates.cpp | tausiq2003/C-with-DS | 3ec324b180456116b03aec58f2a85025180af9aa | [
"Apache-2.0"
] | 44 | 2020-10-01T08:49:30.000Z | 2021-10-31T18:19:48.000Z | #include <iostream>
#include <unordered_map> //created using hashtable
#include <vector>
using namespace std;
vector<int> removeDuplicates(int *a, int size){
vector<int> output;
unordered_map<int, bool> map;
for(int i=0;i<size;i++){
if (map.count(a[i])) {
continue;
}/*el... | 20.842105 | 66 | 0.5 | [
"vector"
] |
c528d21873124e39a8ff4311abda9bef62fb2c14 | 4,356 | cc | C++ | chrome/browser/ui/font_access/font_access_chooser_controller_unittest.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 14,668 | 2015-01-01T01:57:10.000Z | 2022-03-31T23:33:32.000Z | chrome/browser/ui/font_access/font_access_chooser_controller_unittest.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 86 | 2015-10-21T13:02:42.000Z | 2022-03-14T07:50:50.000Z | chrome/browser/ui/font_access/font_access_chooser_controller_unittest.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 5,941 | 2015-01-02T11:32:21.000Z | 2022-03-31T16:35:46.000Z | // Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ui/font_access/font_access_chooser_controller.h"
#include "base/test/bind.h"
#include "base/test/scoped_feature_list.h"
#include... | 35.129032 | 80 | 0.699036 | [
"vector"
] |
c52c08e2c60780a7afca7aec1445175dfc8aa547 | 5,510 | cpp | C++ | sp/hdf52vtk/hdf52vtk.cpp | Devaraj-G/volna | f4a25c19ae041c81442fc0461ea3ff2d7d8f95ba | [
"BSD-2-Clause"
] | null | null | null | sp/hdf52vtk/hdf52vtk.cpp | Devaraj-G/volna | f4a25c19ae041c81442fc0461ea3ff2d7d8f95ba | [
"BSD-2-Clause"
] | null | null | null | sp/hdf52vtk/hdf52vtk.cpp | Devaraj-G/volna | f4a25c19ae041c81442fc0461ea3ff2d7d8f95ba | [
"BSD-2-Clause"
] | null | null | null | #include"../volna_common.h" // macro definitions
#include<math.h>
#include "../volna_writeVTK.h"
//
// Checks if error occured during hdf5 process and prints error message
//
void __check_hdf5_error(herr_t err, const char *file, const int line){
if (err < 0) {
printf("%s(%i) : OP2_HDF5_error() Runtime API error ... | 36.979866 | 119 | 0.611615 | [
"mesh",
"geometry"
] |
c52cc7aa1083a2e5384bf2f11717408bbef00ba1 | 12,802 | hpp | C++ | vitamin-k/render/vikSwapChainVK.hpp | patchedsoul/xrgears | 1ac9460a3fe49c9a47bc6d8262e124fd3d369758 | [
"MIT"
] | null | null | null | vitamin-k/render/vikSwapChainVK.hpp | patchedsoul/xrgears | 1ac9460a3fe49c9a47bc6d8262e124fd3d369758 | [
"MIT"
] | null | null | null | vitamin-k/render/vikSwapChainVK.hpp | patchedsoul/xrgears | 1ac9460a3fe49c9a47bc6d8262e124fd3d369758 | [
"MIT"
] | null | null | null | /*
* vitamin-k
*
* Copyright 2016 Sascha Willems - www.saschawillems.de
* Copyright 2017-2018 Collabora Ltd.
*
* Authors: Lubosz Sarnecki <lubosz.sarnecki@collabora.com>
* SPDX-License-Identifier: MIT
*
* Based on Vulkan Examples written by Sascha Willems
*/
#pragma once
#include <vulkan/vulkan.h>
#include... | 35.267218 | 126 | 0.694813 | [
"vector",
"transform"
] |
c52dcd44f99607787ac601095a062e925004d31e | 13,758 | cpp | C++ | src/graphics/material.cpp | ugozapad/hackathon | c2ab92c0564709107ef960840958643235326096 | [
"BSD-2-Clause"
] | 2 | 2021-11-26T15:11:00.000Z | 2022-03-30T15:26:39.000Z | src/graphics/material.cpp | ugozapad/hackathon | c2ab92c0564709107ef960840958643235326096 | [
"BSD-2-Clause"
] | null | null | null | src/graphics/material.cpp | ugozapad/hackathon | c2ab92c0564709107ef960840958643235326096 | [
"BSD-2-Clause"
] | null | null | null | #include "pch.h"
#include "graphics/material.h"
#include "graphics/texturemap.h"
#include "graphics/shader.h"
#include "graphics/shadermanager.h"
#include "graphics/graphicsdevice.h"
#include "graphics/rendercontext.h"
#include "graphics/shaderconstantmanager.h"
#include "common/parse.h"
#include "file/fil... | 25.909605 | 108 | 0.653801 | [
"model"
] |
c531fba5a206cd0c195f873fb9a03887e818c087 | 1,019 | cpp | C++ | libs/fontbitmap/impl/src/font/bitmap/impl/char_metric.cpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | 2 | 2016-01-27T13:18:14.000Z | 2018-05-11T01:11:32.000Z | libs/fontbitmap/impl/src/font/bitmap/impl/char_metric.cpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | null | null | null | libs/fontbitmap/impl/src/font/bitmap/impl/char_metric.cpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | 3 | 2018-05-11T01:11:34.000Z | 2021-04-24T19:47:45.000Z | // Copyright Carl Philipp Reh 2006 - 2019.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#include <sge/font/unit.hpp>
#include <sge/font/vector.hpp>
#include <sge/font/bitmap/impl/char_met... | 33.966667 | 94 | 0.713445 | [
"vector"
] |
c543767a4fc1c9f9135b384264451b02d5e8ea69 | 318 | cpp | C++ | DMOJ/ccc07j1.cpp | LV/ProjectEuler | 601274670d7e241f2daa4747df426613c9b87de6 | [
"MIT"
] | null | null | null | DMOJ/ccc07j1.cpp | LV/ProjectEuler | 601274670d7e241f2daa4747df426613c9b87de6 | [
"MIT"
] | null | null | null | DMOJ/ccc07j1.cpp | LV/ProjectEuler | 601274670d7e241f2daa4747df426613c9b87de6 | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
#include <bits/stdc++.h>
using namespace std;
int main() {
ios::sync_with_stdio(0);
cin.tie(0);
int a, b, c;
cin >> a >> b >> c;
vector<int> list;
list.push_back(a);
list.push_back(b);
list.push_back(c);
sort(list.begin(), list.end());
cout << list.at(1) << endl;
}
| 15.142857 | 32 | 0.616352 | [
"vector"
] |
c544ac13d3f9209d8b427eec0aaf289d56bd2700 | 2,005 | cc | C++ | Codeforces/Zepto Code Rush 2014/Problem E/E.cc | VastoLorde95/Competitive-Programming | 6c990656178fb0cd33354cbe5508164207012f24 | [
"MIT"
] | 170 | 2017-07-25T14:47:29.000Z | 2022-01-26T19:16:31.000Z | Codeforces/Zepto Code Rush 2014/Problem E/E.cc | navodit15/Competitive-Programming | 6c990656178fb0cd33354cbe5508164207012f24 | [
"MIT"
] | null | null | null | Codeforces/Zepto Code Rush 2014/Problem E/E.cc | navodit15/Competitive-Programming | 6c990656178fb0cd33354cbe5508164207012f24 | [
"MIT"
] | 55 | 2017-07-28T06:17:33.000Z | 2021-10-31T03:06:22.000Z | #include<cstdio>
#include<iostream>
#include<cmath>
#include<algorithm>
#include<cstring>
#include<map>
#include<set>
#include<vector>
#include<utility>
#include<queue>
#include<stack>
#define sd(x) scanf("%d",&x)
#define sd2(x,y) scanf("%d%d",&x,&y)
#define sd3(x,y,z) scanf("%d%d%d",&x,&y,&z)
#define fi first
#define... | 22.277778 | 124 | 0.571072 | [
"vector"
] |
c54b96be49e6873b6bbd53155718662bae1446d6 | 1,967 | cpp | C++ | engine/engine/gems/geometry/tests/transform_to_plane.cpp | ddr95070/RMIsaac | ee3918f685f0a88563248ddea11d089581077973 | [
"FSFAP"
] | 1 | 2020-04-14T13:55:16.000Z | 2020-04-14T13:55:16.000Z | engine/engine/gems/geometry/tests/transform_to_plane.cpp | ddr95070/RMIsaac | ee3918f685f0a88563248ddea11d089581077973 | [
"FSFAP"
] | 4 | 2020-09-25T22:34:29.000Z | 2022-02-09T23:45:12.000Z | engine/engine/gems/geometry/tests/transform_to_plane.cpp | ddr95070/RMIsaac | ee3918f685f0a88563248ddea11d089581077973 | [
"FSFAP"
] | 1 | 2020-07-02T11:51:17.000Z | 2020-07-02T11:51:17.000Z | /*
Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved.
NVIDIA CORPORATION and its licensors retain all intellectual property
and proprietary rights in and to this software, related documentation
and any modifications thereto. Any use, reproduction, disclosure or
distribution of this software and related docum... | 30.734375 | 91 | 0.670056 | [
"geometry"
] |
c54bb0d4db7130e623080a09ea834c357775d503 | 951 | cc | C++ | leetcode/1275-validate-binary-tree-nodes.cc | Magic07/online-judge-solutions | 02a289dd7eb52d7eafabc97bd1a043213b65f70a | [
"MIT"
] | null | null | null | leetcode/1275-validate-binary-tree-nodes.cc | Magic07/online-judge-solutions | 02a289dd7eb52d7eafabc97bd1a043213b65f70a | [
"MIT"
] | null | null | null | leetcode/1275-validate-binary-tree-nodes.cc | Magic07/online-judge-solutions | 02a289dd7eb52d7eafabc97bd1a043213b65f70a | [
"MIT"
] | null | null | null | class Solution {
public:
struct Node{
int left;
int right;
Node(int left, int right):left(left), right(right){ }
};
bool visitNodes(vector<Node*>& nodes, int index, vector<bool>& visited){
if(index==-1){
return true;
}
if(visited[index]){
return false;
... | 27.970588 | 111 | 0.563617 | [
"vector"
] |
c55045aae01738d063724878d26f6df4df661ede | 1,269 | cpp | C++ | CoolProp/Spline.cpp | perrante/coolprop | c67ecc570e545d624c18feaf2a01e48b63ae1501 | [
"MIT"
] | 12 | 2015-04-21T07:43:09.000Z | 2021-11-09T08:35:58.000Z | CoolProp/Spline.cpp | perrante/coolprop | c67ecc570e545d624c18feaf2a01e48b63ae1501 | [
"MIT"
] | 32 | 2015-01-04T05:05:05.000Z | 2017-12-13T18:03:29.000Z | CoolProp/Spline.cpp | perrante/coolprop | c67ecc570e545d624c18feaf2a01e48b63ae1501 | [
"MIT"
] | 8 | 2015-01-01T21:15:37.000Z | 2020-08-05T13:31:50.000Z |
#include "Spline.h"
#include "MatrixMath.h"
#include "CPExceptions.h"
#include "CoolPropTools.h"
SplineClass::SplineClass()
{
Nconstraints = 0;
A.resize(4, std::vector<double>(4, 0));
B.resize(4,0);
}
bool SplineClass::build()
{
if (Nconstraints == 4)
{
std::vector<double> abcd = linsolve(A,B);
a = abcd[0];
... | 19.227273 | 128 | 0.64145 | [
"vector"
] |
c552aa74549333917a3d3f800c8c5e3cc0ce0de8 | 2,482 | cc | C++ | test/main_test.cc | Wjc1999/Data_structure_touring_simulator | a794518e33311563fc58df9f7f6c65e17ced5a2a | [
"MIT"
] | null | null | null | test/main_test.cc | Wjc1999/Data_structure_touring_simulator | a794518e33311563fc58df9f7f6c65e17ced5a2a | [
"MIT"
] | 1 | 2019-03-30T10:50:48.000Z | 2019-03-30T10:50:48.000Z | test/main_test.cc | L-Jay1999/Data_structure_touring_simulator | 0553338bc1c42732c3a8251f02d3c2ca6b159487 | [
"MIT"
] | null | null | null | #ifndef TEST_MAIN
#define TEST_MAIN
#include <iostream>
#include "../src/io.h"
#include "../src/id_map.h"
#include "../src/city_graph.h"
#include "../src/traveller.h"
#include "../src/time_format.h"
#include "../src/log.h"
#include "../src/path.h"
#include "../src/simulation.h"
#include "../src/save_at_exit.h"
int ... | 25.854167 | 89 | 0.561644 | [
"vector"
] |
c55940dfb2f36fdf3a1310141bb72c3fd178feb1 | 1,452 | cpp | C++ | Saturn/src/Graphics/FrameBuffer.cpp | Tackwin/BossRoom | ecad5853e591b9edc54e75448547e20e14964f72 | [
"MIT"
] | null | null | null | Saturn/src/Graphics/FrameBuffer.cpp | Tackwin/BossRoom | ecad5853e591b9edc54e75448547e20e14964f72 | [
"MIT"
] | null | null | null | Saturn/src/Graphics/FrameBuffer.cpp | Tackwin/BossRoom | ecad5853e591b9edc54e75448547e20e14964f72 | [
"MIT"
] | null | null | null | #include "Graphics/FrameBuffer.hpp"
FrameBuffer::FrameBuffer(Vector2u size) {
glGenFramebuffers(1, &_info.id);
bind();
_info.color_texture.bind();
glTexImage2D(
GL_TEXTURE_2D, 0, GL_RGB, size.x , size.y, 0,
GL_RGB, GL_UNSIGNED_BYTE, nullptr
);
_info.color_texture.set_parameteri(GL_TEXTURE_MIN_FILTER, GL_NEA... | 26.4 | 76 | 0.767218 | [
"render"
] |
c559773a3cae059b5553b2b20e48417f2412e4d6 | 1,516 | hpp | C++ | src/org/apache/poi/ss/format/CellDateFormatter.hpp | pebble2015/cpoi | 6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6 | [
"Apache-2.0"
] | null | null | null | src/org/apache/poi/ss/format/CellDateFormatter.hpp | pebble2015/cpoi | 6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6 | [
"Apache-2.0"
] | null | null | null | src/org/apache/poi/ss/format/CellDateFormatter.hpp | pebble2015/cpoi | 6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6 | [
"Apache-2.0"
] | null | null | null | // Generated from /POI/java/org/apache/poi/ss/format/CellDateFormatter.java
#pragma once
#include <fwd-POI.hpp>
#include <java/lang/fwd-POI.hpp>
#include <java/text/fwd-POI.hpp>
#include <java/util/fwd-POI.hpp>
#include <org/apache/poi/ss/format/fwd-POI.hpp>
#include <org/apache/poi/ss/format/CellFormatter.hpp>
stru... | 28.074074 | 99 | 0.690633 | [
"object"
] |
c55acb77bcbd82bdc185061471cf93de3f23013d | 8,091 | cc | C++ | src/porcupine.cc | vauxel/pv-porcupine | 0a51571c954e55d1f798f577698f42f56cd2c809 | [
"Apache-2.0"
] | 5 | 2019-01-21T22:38:55.000Z | 2019-12-31T22:46:32.000Z | src/porcupine.cc | vauxel/pv-porcupine | 0a51571c954e55d1f798f577698f42f56cd2c809 | [
"Apache-2.0"
] | 6 | 2018-10-31T01:49:31.000Z | 2020-08-15T12:54:26.000Z | src/porcupine.cc | vauxel/pv-porcupine | 0a51571c954e55d1f798f577698f42f56cd2c809 | [
"Apache-2.0"
] | 10 | 2019-06-05T16:02:44.000Z | 2020-11-03T22:42:05.000Z | #include <nan.h>
#include <string>
#include <pv_porcupine.h>
namespace node_porcupine
{
void HandlePicovoiceStatus(pv_status_t status)
{
switch (status)
{
case PV_STATUS_SUCCESS:
break;
case PV_STATUS_OUT_OF_MEMORY:
Nan::ThrowError("Porcupine out of memory");
break;
case PV... | 31.239382 | 139 | 0.623162 | [
"object",
"model"
] |
c55cb2d12699188ed5c6d3772931ae434a2b1eb4 | 19,135 | cpp | C++ | src/appleseed/renderer/modeling/environmentedf/oslenvironmentedf.cpp | joelbarmettlerUZH/appleseed | 6da8ff684aa33648a247a4d4005bb4595862e0b3 | [
"MIT"
] | 1,907 | 2015-01-04T00:13:22.000Z | 2022-03-30T15:14:00.000Z | src/appleseed/renderer/modeling/environmentedf/oslenvironmentedf.cpp | joelbarmettlerUZH/appleseed | 6da8ff684aa33648a247a4d4005bb4595862e0b3 | [
"MIT"
] | 1,196 | 2015-01-04T10:50:01.000Z | 2022-03-04T09:18:22.000Z | src/appleseed/renderer/modeling/environmentedf/oslenvironmentedf.cpp | joelbarmettlerUZH/appleseed | 6da8ff684aa33648a247a4d4005bb4595862e0b3 | [
"MIT"
] | 373 | 2015-01-06T10:08:53.000Z | 2022-03-12T10:25:57.000Z |
//
// This source file is part of appleseed.
// Visit https://appleseedhq.net/ for additional information and resources.
//
// This software is released under the MIT license.
//
// Copyright (c) 2015-2018 Esteban Tovagliari, The appleseedhq Organization
//
// Permission is hereby granted, free of charge, to any perso... | 36.868979 | 116 | 0.599059 | [
"vector",
"model",
"transform"
] |
c55fae0d945eba7470215bea7bff7f373597eb97 | 5,590 | hpp | C++ | src/libraries/turbulenceModels/compressible/RAS/realizableKE/compressibleRealizableKE.hpp | MrAwesomeRocks/caelus-cml | 55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7 | [
"mpich2"
] | null | null | null | src/libraries/turbulenceModels/compressible/RAS/realizableKE/compressibleRealizableKE.hpp | MrAwesomeRocks/caelus-cml | 55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7 | [
"mpich2"
] | null | null | null | src/libraries/turbulenceModels/compressible/RAS/realizableKE/compressibleRealizableKE.hpp | MrAwesomeRocks/caelus-cml | 55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7 | [
"mpich2"
] | null | null | null | /*---------------------------------------------------------------------------*\
Copyright (C) 2011 OpenFOAM Foundation
-------------------------------------------------------------------------------
License
This file is part of Caelus.
Caelus is free software: you can redistribute it and/or modify it
under... | 26.875 | 79 | 0.533095 | [
"model"
] |
c56b475d9f5f73dbe85935077f5823851d6e1971 | 36,488 | cpp | C++ | src/rendering/utility/CreateGLObjects.cpp | halfmvsq/histolozee | c624c0d7c3a70bcc0d6aac87b4f24677e064b6a5 | [
"Apache-2.0"
] | null | null | null | src/rendering/utility/CreateGLObjects.cpp | halfmvsq/histolozee | c624c0d7c3a70bcc0d6aac87b4f24677e064b6a5 | [
"Apache-2.0"
] | null | null | null | src/rendering/utility/CreateGLObjects.cpp | halfmvsq/histolozee | c624c0d7c3a70bcc0d6aac87b4f24677e064b6a5 | [
"Apache-2.0"
] | null | null | null | #include "rendering/utility/CreateGLObjects.h"
#include "rendering/utility/vtk/PolyDataConversion.h"
#include "rendering/utility/vtk/PolyDataGenerator.h"
#include "common/HZeeException.hpp"
#include "logic/annotation/Polygon.h"
#include <glm/glm.hpp>
#include <glm/gtc/packing.hpp>
#define GLM_ENABLE_EXPERIMENTAL
#in... | 35.702544 | 105 | 0.632756 | [
"mesh",
"vector",
"3d"
] |
c56d89cb9a67982128bc880d5f1d0eb938aece40 | 1,674 | cpp | C++ | modules/min_max/kernel.cpp | hxmhuang/OpenArray_Dev | 863866a6b7accf21fa253567b0e66143c7506cdf | [
"MIT"
] | 3 | 2020-09-08T05:01:56.000Z | 2020-11-23T13:11:25.000Z | modules/min_max/kernel.cpp | hxmhuang/OpenArray_Dev | 863866a6b7accf21fa253567b0e66143c7506cdf | [
"MIT"
] | null | null | null | modules/min_max/kernel.cpp | hxmhuang/OpenArray_Dev | 863866a6b7accf21fa253567b0e66143c7506cdf | [
"MIT"
] | 2 | 2019-08-16T08:32:30.000Z | 2020-02-10T08:44:04.000Z |
#include "kernel.hpp"
///:include "../../NodeType.fypp"
namespace oa{
namespace kernel{
///:for k in ['min', 'max', 'min_at', 'max_at', 'abs_max', 'abs_min', 'abs_max_at', 'abs_min_at']
///:set name = k
// crate kernel_${name}$
// A = ${name}$(A)
ArrayPtr kernel_${name}$(vector<ArrayPtr> &ops_... | 24.26087 | 102 | 0.507766 | [
"vector"
] |
c56fda41a3a045f2e2ed5b74c852c7b68caca226 | 2,779 | cpp | C++ | TP3_Prog_SpaceSim/projectile.cpp | Arganancer/S3_TP3_Prog_SpaceSim | 43364f6613ad690f81c94f8a027ee3708fa58d3d | [
"MIT"
] | null | null | null | TP3_Prog_SpaceSim/projectile.cpp | Arganancer/S3_TP3_Prog_SpaceSim | 43364f6613ad690f81c94f8a027ee3708fa58d3d | [
"MIT"
] | null | null | null | TP3_Prog_SpaceSim/projectile.cpp | Arganancer/S3_TP3_Prog_SpaceSim | 43364f6613ad690f81c94f8a027ee3708fa58d3d | [
"MIT"
] | null | null | null | #include "projectile.h"
#include "tools.hpp"
projectile::projectile(Vector2f position, float mass, Vector2f direction, float angle):
collidable(position, mass),
owner_(npc),
max_time_(0),
projectile_scale_(0)
{
direction_ = direction;
projectile_damage_ = 0;
percentage_time_elapsed_ = 0;
time_since_created_ = ... | 23.752137 | 88 | 0.725441 | [
"shape",
"vector",
"transform"
] |
c5711d084f257f355e7dcb1f7881f9b0d2f1f05e | 34,196 | cpp | C++ | released_plugins/v3d_plugins/bigneuron_chingwei_ENT/ENT_plugin.cpp | zzhmark/vaa3d_tools | 3ca418add85a59ac7e805d55a600b78330d7e53d | [
"MIT"
] | 1 | 2021-12-27T19:14:03.000Z | 2021-12-27T19:14:03.000Z | released_plugins/v3d_plugins/bigneuron_chingwei_ENT/ENT_plugin.cpp | zzhmark/vaa3d_tools | 3ca418add85a59ac7e805d55a600b78330d7e53d | [
"MIT"
] | 1 | 2016-12-03T05:33:13.000Z | 2016-12-03T05:33:13.000Z | released_plugins/v3d_plugins/bigneuron_chingwei_ENT/ENT_plugin.cpp | zzhmark/vaa3d_tools | 3ca418add85a59ac7e805d55a600b78330d7e53d | [
"MIT"
] | null | null | null | /* ENT_plugin.cpp
* The plugin is called ensemble neuron tracer.
* Developers: Ching-Wei Wang, Hilmil Pradana, Cheng-Ta Huang
* Institution: National Taiwan University of Science and Technology
* Website: http://www-o.ntust.edu.tw/~cweiwang/
* Email: cweiwang@mail.ntust.edu.tw
* Release date: 2016-1-8
*/
#inc... | 25.691961 | 204 | 0.555211 | [
"vector",
"3d"
] |
c572d8354f684c8c05834fe6e2b02e8bd6d57dac | 1,064 | hpp | C++ | src/Client/RankCheck/CountryLookup.hpp | AlexWayfer/RankCheck | cf3005a2ba6f66bd66f27e0e42ca6b0ccb907014 | [
"Unlicense",
"MIT"
] | 10 | 2018-02-12T16:14:07.000Z | 2022-03-19T15:08:29.000Z | src/Client/RankCheck/CountryLookup.hpp | AlexWayfer/RankCheck | cf3005a2ba6f66bd66f27e0e42ca6b0ccb907014 | [
"Unlicense",
"MIT"
] | 11 | 2018-02-08T16:46:49.000Z | 2022-02-03T20:48:12.000Z | src/Client/RankCheck/CountryLookup.hpp | AlexWayfer/RankCheck | cf3005a2ba6f66bd66f27e0e42ca6b0ccb907014 | [
"Unlicense",
"MIT"
] | 3 | 2018-02-12T22:08:55.000Z | 2021-06-24T16:29:17.000Z | #ifndef SRC_CLIENT_RANKCHECK_COUNTRYLOOKUP_HPP_
#define SRC_CLIENT_RANKCHECK_COUNTRYLOOKUP_HPP_
#include <SFML/Network/IpAddress.hpp>
#include <atomic>
#include <functional>
#include <map>
#include <memory>
#include <string>
#include <thread>
#include <vector>
#include <mutex>
#include <thread>
#include <condition_var... | 20.075472 | 63 | 0.75094 | [
"vector"
] |
c574793adba9b63bf5b46c9bc8cac387d9b61da3 | 4,161 | cc | C++ | osp/impl/discovery/mdns/domain_name.cc | gtalis/openscreen | 9b28b9695df98d310c2271eaa65d20cc6d224203 | [
"BSD-3-Clause"
] | 1 | 2020-09-22T05:59:36.000Z | 2020-09-22T05:59:36.000Z | osp/impl/discovery/mdns/domain_name.cc | gtalis/openscreen | 9b28b9695df98d310c2271eaa65d20cc6d224203 | [
"BSD-3-Clause"
] | null | null | null | osp/impl/discovery/mdns/domain_name.cc | gtalis/openscreen | 9b28b9695df98d310c2271eaa65d20cc6d224203 | [
"BSD-3-Clause"
] | 1 | 2022-02-03T11:05:44.000Z | 2022-02-03T11:05:44.000Z | // Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "osp/impl/discovery/mdns/domain_name.h"
#include <algorithm>
#include <iterator>
#include "util/stringprintf.h"
namespace openscreen {
namespa... | 31.285714 | 75 | 0.667388 | [
"vector"
] |
c574e4bd0fe38c0ea77fae8fae81498e090b36f7 | 89,446 | cpp | C++ | src/model/HeatExchangerDesiccantBalancedFlowPerformanceDataType1.cpp | muehleisen/OpenStudio | 3bfe89f6c441d1e61e50b8e94e92e7218b4555a0 | [
"blessing"
] | 354 | 2015-01-10T17:46:11.000Z | 2022-03-29T10:00:00.000Z | src/model/HeatExchangerDesiccantBalancedFlowPerformanceDataType1.cpp | muehleisen/OpenStudio | 3bfe89f6c441d1e61e50b8e94e92e7218b4555a0 | [
"blessing"
] | 3,243 | 2015-01-02T04:54:45.000Z | 2022-03-31T17:22:22.000Z | src/model/HeatExchangerDesiccantBalancedFlowPerformanceDataType1.cpp | muehleisen/OpenStudio | 3bfe89f6c441d1e61e50b8e94e92e7218b4555a0 | [
"blessing"
] | 157 | 2015-01-07T15:59:55.000Z | 2022-03-30T07:46:09.000Z | /***********************************************************************************************************************
* OpenStudio(R), Copyright (c) 2008-2021, Alliance for Sustainable Energy, LLC, and other contributors. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without m... | 60.030872 | 150 | 0.838998 | [
"object",
"vector",
"model"
] |
c5847a31165015bd7959debc9e1dbb3cdba29365 | 19,108 | cpp | C++ | source/polyvec/curve-tracer/curve_solver.cpp | dedoardo/polyfit | fea3bb9f28c2a44a55825529198e5c3796ac1fa6 | [
"MIT"
] | 27 | 2020-08-17T17:25:59.000Z | 2022-03-01T05:49:12.000Z | source/polyvec/curve-tracer/curve_solver.cpp | dedoardo/polyfit | fea3bb9f28c2a44a55825529198e5c3796ac1fa6 | [
"MIT"
] | 4 | 2020-08-26T13:54:59.000Z | 2020-09-21T07:19:22.000Z | source/polyvec/curve-tracer/curve_solver.cpp | dedoardo/polyfit | fea3bb9f28c2a44a55825529198e5c3796ac1fa6 | [
"MIT"
] | 5 | 2020-08-26T23:26:48.000Z | 2021-01-04T09:06:07.000Z | // Header
#include <polyvec/curve-tracer/curve_solver.hpp>
#include <polyvec/core/log.hpp>
// Eigen
#include <Eigen/Core>
#include <Eigen/Jacobi>
// Polyvec
#include <polyvec/api.hpp>
#include <polyvec/utils/union-find.hpp>
#include <nse/MathematicaFormatter.h>
#include <fstream>
#include <iostream>
#include <ioman... | 31.171289 | 214 | 0.644808 | [
"vector"
] |
c5965849b16a7a723d8c7af68cbfa2a64c662808 | 11,543 | cpp | C++ | Source/src/ezcard/io/scribe/binary_property_scribe.cpp | ProtonMail/cpp-openpgp | b47316c51357b8d15eb3bcc376ea5e59a6a9a108 | [
"MIT"
] | 5 | 2019-10-30T06:10:10.000Z | 2020-04-25T16:52:06.000Z | Source/src/ezcard/io/scribe/binary_property_scribe.cpp | ProtonMail/cpp-openpgp | b47316c51357b8d15eb3bcc376ea5e59a6a9a108 | [
"MIT"
] | null | null | null | Source/src/ezcard/io/scribe/binary_property_scribe.cpp | ProtonMail/cpp-openpgp | b47316c51357b8d15eb3bcc376ea5e59a6a9a108 | [
"MIT"
] | 2 | 2019-11-27T23:47:54.000Z | 2020-01-13T16:36:03.000Z | //
// binary_property_scribe.cpp
// OpenPGP
//
// Created by Yanfeng Zhang on 5/19/17.
//
// The MIT License
//
// Copyright (c) 2019 Proton Technologies AG
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software")... | 37.970395 | 159 | 0.545959 | [
"object"
] |
c5a6da180715f4007f906ebc8057e32658d0ed50 | 7,174 | cpp | C++ | Sources/Entry/Gameplay/Character.cpp | ace13/LD32 | 17bcaf4940ad3e3133764df0353d4f3b4afc8c0f | [
"MIT"
] | null | null | null | Sources/Entry/Gameplay/Character.cpp | ace13/LD32 | 17bcaf4940ad3e3133764df0353d4f3b4afc8c0f | [
"MIT"
] | 2 | 2015-04-18T10:56:46.000Z | 2015-04-18T13:22:56.000Z | Sources/Entry/Gameplay/Character.cpp | ace13/LD32 | 17bcaf4940ad3e3133764df0353d4f3b4afc8c0f | [
"MIT"
] | null | null | null | #include "Character.hpp"
#include "FallacyTime.hpp"
#include <Game/ScriptObject.hpp>
#include <SFML/Graphics/CircleShape.hpp>
#include <SFML/Graphics/RenderTarget.hpp>
#include <scriptarray/scriptarray.h>
#include <angelscript.h>
using namespace Gameplay;
namespace
{
void* getCharacter()
{
asIScriptObject* obj = ... | 29.891667 | 146 | 0.727209 | [
"shape"
] |
c5a9ebcd960f1298d2f969ca4835c6bf288c9e10 | 2,045 | cpp | C++ | Lambdas/Source.cpp | Arpitkm/Cpp_Notes | 790d722ceeff59d4a835459b20bb48c2a489bfaa | [
"MIT"
] | null | null | null | Lambdas/Source.cpp | Arpitkm/Cpp_Notes | 790d722ceeff59d4a835459b20bb48c2a489bfaa | [
"MIT"
] | null | null | null | Lambdas/Source.cpp | Arpitkm/Cpp_Notes | 790d722ceeff59d4a835459b20bb48c2a489bfaa | [
"MIT"
] | null | null | null | //A case on why not to use namespace std;
// whenever we are using the standard library
#include<iostream>
using namespace std; // This line can be used to just take out the 'std::' part from our code
// as mentioned above this is requried when we are accessing methods from the standard library
// to understan... | 35.877193 | 135 | 0.723716 | [
"vector"
] |
c5b1af3ba0b493b58092ef916f13941dd29a59c0 | 9,897 | cpp | C++ | EScript/Objects/Values/String.cpp | antifermion/EScript | eca6765c28e319eb77b4da81125bdbb2510c9add | [
"MIT"
] | 3 | 2017-06-01T15:58:43.000Z | 2019-08-07T05:36:44.000Z | EScript/Objects/Values/String.cpp | antifermion/EScript | eca6765c28e319eb77b4da81125bdbb2510c9add | [
"MIT"
] | 4 | 2015-01-23T18:17:50.000Z | 2019-02-10T11:48:55.000Z | EScript/Objects/Values/String.cpp | antifermion/EScript | eca6765c28e319eb77b4da81125bdbb2510c9add | [
"MIT"
] | 12 | 2015-01-04T16:07:45.000Z | 2020-10-06T15:42:46.000Z | // String.cpp
// This file is part of the EScript programming language (https://github.com/EScript)
//
// Copyright (C) 2011-2013 Claudius Jähn <ClaudiusJ@live.de>
// Copyright (C) 2012-2013 Benjamin Eikel <benjamin@eikel.org>
//
// Licensed under the MIT License. See LICENSE file for details.
// ----------------------... | 31.122642 | 157 | 0.667273 | [
"object",
"vector"
] |
c5b6290e26b0b77eabe5948f474eb2e8a5475e9c | 6,038 | cpp | C++ | JanuaEngine/tgcviewer-cpp/TgcViewer/TgcGeometry/TgcBoundingBox.cpp | gigc/Janua | cbcc8ad0e9501e1faef5b37a964769970aa3d236 | [
"MIT",
"Unlicense"
] | 98 | 2015-01-13T16:23:23.000Z | 2022-02-14T21:51:07.000Z | JanuaEngine/tgcviewer-cpp/TgcViewer/TgcGeometry/TgcBoundingBox.cpp | gigc/Janua | cbcc8ad0e9501e1faef5b37a964769970aa3d236 | [
"MIT",
"Unlicense"
] | 1 | 2016-06-30T22:07:54.000Z | 2016-06-30T22:07:54.000Z | JanuaEngine/tgcviewer-cpp/TgcViewer/TgcGeometry/TgcBoundingBox.cpp | gigc/Janua | cbcc8ad0e9501e1faef5b37a964769970aa3d236 | [
"MIT",
"Unlicense"
] | 13 | 2015-08-26T11:19:08.000Z | 2021-07-12T03:41:50.000Z | /////////////////////////////////////////////////////////////////////////////////
// TgcViewer-cpp
//
// Author: Matias Leone
//
/////////////////////////////////////////////////////////////////////////////////
#include "TgcViewer/TgcGeometry/TgcBoundingBox.h"
#include "TgcViewer/GuiController.h" //required by for... | 24.346774 | 106 | 0.652203 | [
"render",
"vector"
] |
c5baa027b5364618bb567718ff7766c508cbb87f | 1,286 | cpp | C++ | 23/02_unordered_map.cpp | philipplenk/adventofcode20 | 5a9d8b42c4c43bfa32d4f43c4c6ba6de357e7a81 | [
"BSD-2-Clause"
] | null | null | null | 23/02_unordered_map.cpp | philipplenk/adventofcode20 | 5a9d8b42c4c43bfa32d4f43c4c6ba6de357e7a81 | [
"BSD-2-Clause"
] | null | null | null | 23/02_unordered_map.cpp | philipplenk/adventofcode20 | 5a9d8b42c4c43bfa32d4f43c4c6ba6de357e7a81 | [
"BSD-2-Clause"
] | null | null | null | #include <algorithm>
#include <iostream>
#include <numeric>
#include <unordered_map>
#include <vector>
#include <cstddef>
int main(int argc, char* argv[])
{
std::vector<int> cups;
char c;
while(std::cin>>c)
cups.push_back(c-'0');
cups.resize(1000000);
std::iota(std::begin(cups)+9, std::end(cups),10);
s... | 21.433333 | 83 | 0.643079 | [
"vector"
] |
c5befc519bc4f321748daa0e1139d218f867f3b9 | 6,102 | cpp | C++ | DataStructure/assign1/assignment1.cpp | wbjeon2k/uni06_archive | 5c37716d5c011f2aa23675778b0947c064882856 | [
"MIT"
] | null | null | null | DataStructure/assign1/assignment1.cpp | wbjeon2k/uni06_archive | 5c37716d5c011f2aa23675778b0947c064882856 | [
"MIT"
] | null | null | null | DataStructure/assign1/assignment1.cpp | wbjeon2k/uni06_archive | 5c37716d5c011f2aa23675778b0947c064882856 | [
"MIT"
] | null | null | null | //
// assignment1.cpp (Version 1.0)
//
// Please write your name, your student ID, and your email address here.
// Moreover, please describe the implementation of your functions here.
// You will have to submit this file.
/*
20161248 Jeon Woongbae
Email : wbjeon2k@gmail.com || woongbae@unist.ac.kr
description is writt... | 25.008197 | 102 | 0.651917 | [
"vector"
] |
c5c289ef2af5094b10693da6f7e753390362f367 | 2,098 | cpp | C++ | src/gps/Gps.cpp | EliasVerstappe/smart_campus_LoRaWAN | 2c4d895724bc53b1dfa37231d447bc81cde1ee00 | [
"MIT"
] | null | null | null | src/gps/Gps.cpp | EliasVerstappe/smart_campus_LoRaWAN | 2c4d895724bc53b1dfa37231d447bc81cde1ee00 | [
"MIT"
] | null | null | null | src/gps/Gps.cpp | EliasVerstappe/smart_campus_LoRaWAN | 2c4d895724bc53b1dfa37231d447bc81cde1ee00 | [
"MIT"
] | 1 | 2018-11-23T09:17:12.000Z | 2018-11-23T09:17:12.000Z | #include "Gps.h"
#include "mbed.h"
//required for fmod()
#include <math.h>
Gps::Gps(Serial* serial) : Adafruit_GPS(serial)
{
//gps = new Adafruit_GPS(serial); //object of Adafruit's GPS class
begin(9600); //sets baud rate for GPS communication; note this may be changed via Adafruit_GPS::sendCommand(char *)
... | 28.351351 | 144 | 0.653956 | [
"object"
] |
c5c8e183f8748c614d9dcc94339e1e5e03b7b368 | 39,085 | cpp | C++ | net/localplayer.cpp | NixonSiagian/samp-client | 7a10dfeddc806e199688c645b12f3bf37eaa4f61 | [
"FSFAP"
] | null | null | null | net/localplayer.cpp | NixonSiagian/samp-client | 7a10dfeddc806e199688c645b12f3bf37eaa4f61 | [
"FSFAP"
] | null | null | null | net/localplayer.cpp | NixonSiagian/samp-client | 7a10dfeddc806e199688c645b12f3bf37eaa4f61 | [
"FSFAP"
] | null | null | null | #include "../main.h"
#include "../game/game.h"
#include "netgame.h"
#include "../spawnscreen.h"
#include "../extrakeyboard.h"
#include "../util/armhook.h"
#include "../chatwindow.h"
// voice
#include "../voice/MicroIcon.h"
#include "../voice/SpeakerList.h"
extern CGame *pGame;
extern CNetGame *pNetGame;
extern CSpawn... | 29.81312 | 229 | 0.74865 | [
"vector",
"model"
] |
c5d08f248ca9e943e3b302d524be4ea464324f56 | 5,745 | cc | C++ | similarity_search/src/space/space_l2sqr_sift.cc | GuilhemN/nmslib | 9c464c077a9dd7e3d453b44e9a1b39829034d68e | [
"Apache-2.0"
] | 2,031 | 2018-03-29T00:59:55.000Z | 2022-03-31T23:54:33.000Z | similarity_search/src/space/space_l2sqr_sift.cc | GuilhemN/nmslib | 9c464c077a9dd7e3d453b44e9a1b39829034d68e | [
"Apache-2.0"
] | 262 | 2018-03-29T17:44:53.000Z | 2022-03-31T02:56:40.000Z | similarity_search/src/space/space_l2sqr_sift.cc | GuilhemN/nmslib | 9c464c077a9dd7e3d453b44e9a1b39829034d68e | [
"Apache-2.0"
] | 281 | 2018-03-29T13:12:50.000Z | 2022-03-28T15:18:31.000Z | /**
* Non-metric Space Library
*
* Main developers: Bilegsaikhan Naidan, Leonid Boytsov, Yury Malkov, Ben Frederickson, David Novak
*
* For the complete list of contributors and further details see:
* https://github.com/nmslib/nmslib
*
* Copyright (c) 2013-2018
*
* This code is released under the
* Apache Li... | 34.608434 | 129 | 0.652393 | [
"object",
"vector"
] |
c5d68714aebef5fecdd48600f2b4429be57d3121 | 2,979 | cc | C++ | src/ast/ast_type.cc | sunnyps/tint | 22daca166bbc412345fc60d4f60646d6d2f3ada0 | [
"Apache-2.0"
] | null | null | null | src/ast/ast_type.cc | sunnyps/tint | 22daca166bbc412345fc60d4f60646d6d2f3ada0 | [
"Apache-2.0"
] | null | null | null | src/ast/ast_type.cc | sunnyps/tint | 22daca166bbc412345fc60d4f60646d6d2f3ada0 | [
"Apache-2.0"
] | null | null | null | // Copyright 2020 The Tint Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed ... | 25.033613 | 77 | 0.687143 | [
"vector"
] |
c5e2bb4cc22481b374f1de8bb0d213fb3df46213 | 926 | cpp | C++ | Modules/REPlatform/Sources/REPlatform/Commands/Private/InspMemberModifyCommand.cpp | stinvi/dava.engine | 2b396ca49cdf10cdc98ad8a9ffcf7768a05e285e | [
"BSD-3-Clause"
] | 26 | 2018-09-03T08:48:22.000Z | 2022-02-14T05:14:50.000Z | Modules/REPlatform/Sources/REPlatform/Commands/Private/InspMemberModifyCommand.cpp | ANHELL-blitz/dava.engine | ed83624326f000866e29166c7f4cccfed1bb41d4 | [
"BSD-3-Clause"
] | null | null | null | Modules/REPlatform/Sources/REPlatform/Commands/Private/InspMemberModifyCommand.cpp | ANHELL-blitz/dava.engine | ed83624326f000866e29166c7f4cccfed1bb41d4 | [
"BSD-3-Clause"
] | 45 | 2018-05-11T06:47:17.000Z | 2022-02-03T11:30:55.000Z | #include "REPlatform/Commands/InspMemberModifyCommand.h"
#include <Base/Introspection.h>
#include <Reflection/ReflectionRegistrator.h>
namespace DAVA
{
InspMemberModifyCommand::InspMemberModifyCommand(const InspMember* _member, void* _object, const VariantType& _newValue)
: RECommand("Modify value")
, member(... | 22.047619 | 120 | 0.686825 | [
"object"
] |
c5e3e8524ae53f4c43db104c257796434ed2ea02 | 3,752 | cc | C++ | samgraph/common/run_config.cc | SJTU-IPADS/fgnn-artifacts | c96e7ec8204d767152958dc63a764466e90424fd | [
"Apache-2.0"
] | 23 | 2022-01-25T13:28:51.000Z | 2022-03-23T07:05:47.000Z | samgraph/common/run_config.cc | SJTU-IPADS/gnnlab | 5c73564e4a9bd5deeff7eed0b923c115ccba34d7 | [
"Apache-2.0"
] | null | null | null | samgraph/common/run_config.cc | SJTU-IPADS/gnnlab | 5c73564e4a9bd5deeff7eed0b923c115ccba34d7 | [
"Apache-2.0"
] | 1 | 2022-02-28T18:48:56.000Z | 2022-02-28T18:48:56.000Z | /*
* Copyright 2022 Institute of Parallel and Distributed Systems, Shanghai Jiao Tong University
*
* 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/license... | 35.396226 | 94 | 0.627399 | [
"vector"
] |
c5f2c544852054d4f74930b05e9785d15d134a9a | 6,830 | cpp | C++ | examples/pines2/openglwindow.cpp | tamirislira/abcg | 059a5da06c37670dde208e73a13f51fff9e6c086 | [
"MIT"
] | null | null | null | examples/pines2/openglwindow.cpp | tamirislira/abcg | 059a5da06c37670dde208e73a13f51fff9e6c086 | [
"MIT"
] | null | null | null | examples/pines2/openglwindow.cpp | tamirislira/abcg | 059a5da06c37670dde208e73a13f51fff9e6c086 | [
"MIT"
] | null | null | null | #include "openglwindow.hpp"
#include <fmt/core.h>
#include <imgui.h>
#include <tiny_obj_loader.h>
#include <cppitertools/itertools.hpp>
#include <glm/gtx/fast_trigonometry.hpp>
#include <glm/gtx/hash.hpp>
#include <unordered_map>
#include <glm/gtc/matrix_inverse.hpp>
// Explicit specialization of std::hash for Verte... | 30.355556 | 83 | 0.683748 | [
"mesh",
"render",
"object",
"model"
] |
c5faa571653ff90519d65225a6820d1552f0afce | 50,682 | cpp | C++ | Source Code/NEXTA-GUI/Dlg_ImportNetwork.cpp | OSADP/DTALite-AMS | 0779e0b3f1a423823b825b88237226a3216db960 | [
"Apache-2.0"
] | 1 | 2020-12-02T05:50:34.000Z | 2020-12-02T05:50:34.000Z | Source Code/NEXTA-GUI/Dlg_ImportNetwork.cpp | OSADP/DTALite-AMS | 0779e0b3f1a423823b825b88237226a3216db960 | [
"Apache-2.0"
] | null | null | null | Source Code/NEXTA-GUI/Dlg_ImportNetwork.cpp | OSADP/DTALite-AMS | 0779e0b3f1a423823b825b88237226a3216db960 | [
"Apache-2.0"
] | 2 | 2020-10-16T09:26:08.000Z | 2021-11-17T06:59:51.000Z | // TLiteDoc.h : interface of the CTLiteDoc class
//
// Portions Copyright 2010 Xuesong Zhou (xzhou99@gmail.com)
// If you help write or modify the code, please also list your names here.
// The reason of having Copyright info here is to ensure all the modified version, as a whole, under the GPL
// and further ... | 27.604575 | 196 | 0.690225 | [
"geometry",
"vector"
] |
c5fde054178bf3826f1379db65f2ae4234b7b570 | 759 | cpp | C++ | src/AdventOfCode2017/Day05-MazeOfTrampolines/test_Day05-MazeOfTrampolines.cpp | dbartok/advent-of-code-cpp | c8c2df7a21980f8f3e42128f7bc5df8288f18490 | [
"MIT"
] | null | null | null | src/AdventOfCode2017/Day05-MazeOfTrampolines/test_Day05-MazeOfTrampolines.cpp | dbartok/advent-of-code-cpp | c8c2df7a21980f8f3e42128f7bc5df8288f18490 | [
"MIT"
] | null | null | null | src/AdventOfCode2017/Day05-MazeOfTrampolines/test_Day05-MazeOfTrampolines.cpp | dbartok/advent-of-code-cpp | c8c2df7a21980f8f3e42128f7bc5df8288f18490 | [
"MIT"
] | null | null | null | #include "Day05-MazeOfTrampolines.h"
#include <AdventOfCodeCommon/DisableLibraryWarningsMacros.h>
__BEGIN_LIBRARIES_DISABLE_WARNINGS
#include "CppUnitTest.h"
__END_LIBRARIES_DISABLE_WARNINGS
using namespace Microsoft::VisualStudio::CppUnitTestFramework;
namespace CurrentDay = AdventOfCode::Year2017::Day05;
TEST_CLA... | 25.3 | 97 | 0.786561 | [
"vector"
] |
680016f2dd9defbe22d365ac39f1f48521e40c4f | 5,824 | cpp | C++ | ACS7xx_Allegro.cpp | sosandroid/ACS7XX_ALLEGRO | 3eb35cbc9f73defdf5c3789c896e8bf29387de00 | [
"BSD-3-Clause"
] | 6 | 2015-06-19T07:34:46.000Z | 2020-07-28T21:01:02.000Z | ACS7xx_Allegro.cpp | sosandroid/ACS7XX_ALLEGRO | 3eb35cbc9f73defdf5c3789c896e8bf29387de00 | [
"BSD-3-Clause"
] | 1 | 2017-01-17T12:42:15.000Z | 2017-01-17T13:11:52.000Z | ACS7xx_Allegro.cpp | sosandroid/ACS7XX_ALLEGRO | 3eb35cbc9f73defdf5c3789c896e8bf29387de00 | [
"BSD-3-Clause"
] | 3 | 2015-05-26T18:08:03.000Z | 2020-06-20T18:51:24.000Z | /**************************************************************************/
/*!
@file CurrentIC_ACS7xx_Allegro.cpp
@author SOSAndroid (E. Ha.)
@license BSD (see license.txt)
Set of methods to use measurements from ACS7xx sensors from Allegro Micro
All those methods are made to be called period... | 23.967078 | 132 | 0.619505 | [
"object"
] |
680adb4e2164e4442b9ac901c6860630fd942a0a | 9,395 | cpp | C++ | src/rayCaster.cpp | PSStefanov19/CBBA-6890 | 7e328e58033eaf2a6e9153c85d39d99b8a355249 | [
"MIT"
] | 3 | 2021-11-09T18:18:48.000Z | 2022-02-14T20:48:16.000Z | src/rayCaster.cpp | PSStefanov19/CBBA-6890 | 7e328e58033eaf2a6e9153c85d39d99b8a355249 | [
"MIT"
] | null | null | null | src/rayCaster.cpp | PSStefanov19/CBBA-6890 | 7e328e58033eaf2a6e9153c85d39d99b8a355249 | [
"MIT"
] | 1 | 2022-03-20T06:09:01.000Z | 2022-03-20T06:09:01.000Z | #include <ncurses.h>
#include <math.h>
#include "rayCaster.h"
/**
* @brief A function to check if player has won
*
* @param currectPosX The current X position of the player
* @param currentPosY The current Y position of the player
* @param exitX The X exit coordinate of the maze
* @param exitY The Y exit coordi... | 29.731013 | 127 | 0.58148 | [
"render",
"object",
"vector"
] |
6810ba405065df250f89800b5fa57e6e544006c2 | 2,449 | cpp | C++ | pattern_search.cpp | TsimafeiKhatkevich/graph-pattern-search | 5a213e1caa036b47e16ca69cbb2cf3beabc02d2a | [
"MIT"
] | null | null | null | pattern_search.cpp | TsimafeiKhatkevich/graph-pattern-search | 5a213e1caa036b47e16ca69cbb2cf3beabc02d2a | [
"MIT"
] | null | null | null | pattern_search.cpp | TsimafeiKhatkevich/graph-pattern-search | 5a213e1caa036b47e16ca69cbb2cf3beabc02d2a | [
"MIT"
] | null | null | null | #include "pattern_search.h"
#include <sstream>
#include <algorithm>
std::vector<char> GetReasonableVertices(const TAdjMatrix& hostGraph, const TAdjMatrix& pattern) {
const auto pComps = FindConnectedComponents(pattern);
std::unordered_map<ui32, ui32> pCompSizes;
for (ui32 mark : pComps) {
++pCompS... | 30.234568 | 97 | 0.55737 | [
"vector"
] |
681b5eacd20a250cc0af5f7b9fd316e57ec0560d | 10,768 | cpp | C++ | source/renderer/passes/ShadowMapPass.cpp | DaSutt/VolumetricParticles | 6ec9bac4bec4a8757343bb770b23110ef2364dfd | [
"Apache-2.0"
] | 6 | 2017-06-26T11:42:26.000Z | 2018-09-10T17:53:53.000Z | source/renderer/passes/ShadowMapPass.cpp | DaSutt/VolumetricParticles | 6ec9bac4bec4a8757343bb770b23110ef2364dfd | [
"Apache-2.0"
] | 8 | 2017-06-24T20:25:42.000Z | 2017-08-09T10:50:40.000Z | source/renderer/passes/ShadowMapPass.cpp | DaSutt/VolumetricParticles | 6ec9bac4bec4a8757343bb770b23110ef2364dfd | [
"Apache-2.0"
] | null | null | null | /*
MIT License
Copyright(c) 2017 Daniel Suttor
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files(the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, di... | 39.443223 | 139 | 0.743499 | [
"mesh",
"render",
"vector"
] |
681d45fd1fd1f258161a16b93866043274ad7bbe | 6,940 | cc | C++ | util/text/text.cc | WinterW/crawler_cpp | e0c8dba77233005b1ab13731d1cbcce274b70778 | [
"Apache-2.0"
] | null | null | null | util/text/text.cc | WinterW/crawler_cpp | e0c8dba77233005b1ab13731d1cbcce274b70778 | [
"Apache-2.0"
] | null | null | null | util/text/text.cc | WinterW/crawler_cpp | e0c8dba77233005b1ab13731d1cbcce274b70778 | [
"Apache-2.0"
] | 2 | 2020-09-12T13:50:38.000Z | 2020-09-16T15:55:14.000Z | /**
* @Copyright 2009 Ganji Inc.
* @file ganji/util/text/text.cc
* @namespace ganji::util::text
* @version 1.0
* @author haohuang
* @date 2010-07-21
*
* 改动程序后, 请使用tools/cpplint/cpplint.py 检查代码是否符合编码规范!
* 遵循的编码规范请参考: http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml
* Change Log:
*/
#incl... | 24.350877 | 145 | 0.634726 | [
"vector"
] |
68234b64ad7e374ffd966b448063941275f884a0 | 1,464 | hpp | C++ | bia/tokenizer/token/parameter.hpp | bialang/bia | b54fff096b4fe91ddb0b1d509ea828daa11cee7e | [
"BSD-3-Clause"
] | 2 | 2017-09-09T17:03:18.000Z | 2018-03-02T20:02:02.000Z | bia/tokenizer/token/parameter.hpp | terrakuh/Bia | 412b7e8aeb259f4925c3b588f6025760a43cd0b7 | [
"BSD-3-Clause"
] | 7 | 2018-10-11T18:14:19.000Z | 2018-12-26T15:31:04.000Z | bia/tokenizer/token/parameter.hpp | terrakuh/Bia | 412b7e8aeb259f4925c3b588f6025760a43cd0b7 | [
"BSD-3-Clause"
] | null | null | null | #ifndef BIA_TOKENIZER_TOKEN_PARAMETER_HPP_
#define BIA_TOKENIZER_TOKEN_PARAMETER_HPP_
#include "../reader.hpp"
#include "token.hpp"
#include <bia/error/bia_error.hpp>
#include <bia/resource/manager.hpp>
#include <vector>
namespace bia {
namespace tokenizer {
namespace token {
struct Parameter
{
class Ranger
{
pu... | 18.3 | 93 | 0.698087 | [
"vector"
] |
683989734368501588442592fc9efc35fc3151c4 | 1,426 | cpp | C++ | aws-cpp-sdk-kms/source/model/UpdateCustomKeyStoreRequest.cpp | Neusoft-Technology-Solutions/aws-sdk-cpp | 88c041828b0dbee18a297c3cfe98c5ecd0706d0b | [
"Apache-2.0"
] | 1 | 2022-01-05T18:20:03.000Z | 2022-01-05T18:20:03.000Z | aws-cpp-sdk-kms/source/model/UpdateCustomKeyStoreRequest.cpp | Neusoft-Technology-Solutions/aws-sdk-cpp | 88c041828b0dbee18a297c3cfe98c5ecd0706d0b | [
"Apache-2.0"
] | 1 | 2022-01-03T23:59:37.000Z | 2022-01-03T23:59:37.000Z | aws-cpp-sdk-kms/source/model/UpdateCustomKeyStoreRequest.cpp | ravindra-wagh/aws-sdk-cpp | 7d5ff01b3c3b872f31ca98fb4ce868cd01e97696 | [
"Apache-2.0"
] | 1 | 2021-12-30T04:25:33.000Z | 2021-12-30T04:25:33.000Z | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/kms/model/UpdateCustomKeyStoreRequest.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::KMS::Model;
using namespace Aws::Utils::Json;
using nam... | 21.938462 | 98 | 0.771388 | [
"model"
] |
683a68772b46282c39a6f76a7cea6a9dda2be35e | 1,969 | cc | C++ | csb/src/model/FindInstanceNodeListRequest.cc | iamzken/aliyun-openapi-cpp-sdk | 3c991c9ca949b6003c8f498ce7a672ea88162bf1 | [
"Apache-2.0"
] | 89 | 2018-02-02T03:54:39.000Z | 2021-12-13T01:32:55.000Z | csb/src/model/FindInstanceNodeListRequest.cc | iamzken/aliyun-openapi-cpp-sdk | 3c991c9ca949b6003c8f498ce7a672ea88162bf1 | [
"Apache-2.0"
] | 89 | 2018-03-14T07:44:54.000Z | 2021-11-26T07:43:25.000Z | csb/src/model/FindInstanceNodeListRequest.cc | aliyun/aliyun-openapi-cpp-sdk | 0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36 | [
"Apache-2.0"
] | 69 | 2018-01-22T09:45:52.000Z | 2022-03-28T07:58:38.000Z | /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | 26.608108 | 83 | 0.760792 | [
"model"
] |
683de09930a24eb93245612bad6af20a780cf1b1 | 1,825 | cpp | C++ | Miscellaneous/graph1p1.cpp | hardik0899/Competitive_Programming | 199039ad7a26a5f48152fe231a9ca5ac8685a707 | [
"MIT"
] | 1 | 2020-10-16T18:14:30.000Z | 2020-10-16T18:14:30.000Z | Miscellaneous/graph1p1.cpp | hardik0899/Competitive_Programming | 199039ad7a26a5f48152fe231a9ca5ac8685a707 | [
"MIT"
] | null | null | null | Miscellaneous/graph1p1.cpp | hardik0899/Competitive_Programming | 199039ad7a26a5f48152fe231a9ca5ac8685a707 | [
"MIT"
] | 1 | 2021-01-06T04:45:38.000Z | 2021-01-06T04:45:38.000Z | #define __USE_MINGW_ANSI_STDIO 0
#include <iostream>
#include <stdio.h>
#include <stdlib.h>
#include <vector>
#include <algorithm>
#include <queue>
#include <map>
#include <unordered_map>
#include <set>
#include <unordered_set>
#include <stack>
#include <deque>
#include <string.h>
#include <math.h>
using namespace std... | 25 | 79 | 0.503014 | [
"vector"
] |
684180454a71c398cd7aa04bb1c7d7a09b68a0f1 | 1,416 | cpp | C++ | coj.uci.cu/Primality.cpp | facug91/OJ-Solutions | 9aa55be066ce5596e4e64737c28cd3ff84e092fe | [
"Apache-2.0"
] | 6 | 2016-09-10T03:16:34.000Z | 2020-04-07T14:45:32.000Z | coj.uci.cu/Primality.cpp | facug91/OJ-Solutions | 9aa55be066ce5596e4e64737c28cd3ff84e092fe | [
"Apache-2.0"
] | null | null | null | coj.uci.cu/Primality.cpp | facug91/OJ-Solutions | 9aa55be066ce5596e4e64737c28cd3ff84e092fe | [
"Apache-2.0"
] | 2 | 2018-08-11T20:55:35.000Z | 2020-01-15T23:23:11.000Z | /*
By: facug91
From: http://coj.uci.cu/24h/problem.xhtml?pid=2019
Name: Primality
Date: 07/04/2015
*/
#include <bits/stdc++.h>
#define EPS 1e-9
#define DEBUG(x) cerr << "#" << (#x) << ": " << (x) << endl
const double PI = 2.0*acos(0.0);
#define INF 1000000000
//#define MOD... | 21.134328 | 94 | 0.547316 | [
"vector"
] |
969646ed2539df16bfed15e3008aa5429ad93880 | 12,282 | cc | C++ | flamingo/common/gramgen.cc | TsinghuaDatabaseGroup/Similarity-Search-and-Join | 0fba32f030ca9e466d1aed9d3c7dcf59ea3e88dc | [
"BSD-2-Clause"
] | 14 | 2018-01-29T06:54:06.000Z | 2021-07-09T18:18:51.000Z | flamingo/common/gramgen.cc | TsinghuaDatabaseGroup/similarity | 0fba32f030ca9e466d1aed9d3c7dcf59ea3e88dc | [
"BSD-2-Clause"
] | null | null | null | flamingo/common/gramgen.cc | TsinghuaDatabaseGroup/similarity | 0fba32f030ca9e466d1aed9d3c7dcf59ea3e88dc | [
"BSD-2-Clause"
] | 11 | 2018-04-11T04:56:40.000Z | 2021-12-17T04:00:22.000Z | /*
$Id: gramgen.h Tue Apr 05 10:20:24 PDT 2008 abehm$
Copyright (C) 2010 by The Regents of the University of California
Redistribution of this file is permitted under
the terms of the BSD license
Date: 04/05/2008
Author: Rares Vernica <rares (at) ics.uci.edu>
Alexander Behm <abehm (at) ics.uci.edu>
*/
... | 25.376033 | 87 | 0.630109 | [
"vector"
] |
96a2ef011f2394dfef29877849bd30f477308c2f | 264,761 | cpp | C++ | pj_loud_talking_detector/micro_features/model_5sec.cpp | iwatake2222/loud_talking_detector | 3b137877d227dc97810bebc7d712726aa374f47a | [
"Apache-2.0"
] | 16 | 2021-04-08T13:29:21.000Z | 2022-03-24T10:55:01.000Z | pj_loud_talking_detector/micro_features/model_5sec.cpp | iwatake2222/pico-loud_talking_detector | 3b137877d227dc97810bebc7d712726aa374f47a | [
"Apache-2.0"
] | null | null | null | pj_loud_talking_detector/micro_features/model_5sec.cpp | iwatake2222/pico-loud_talking_detector | 3b137877d227dc97810bebc7d712726aa374f47a | [
"Apache-2.0"
] | null | null | null | /* Copyright 2020 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | 73.565157 | 80 | 0.649114 | [
"model"
] |
96aff72318cfacb4744fa6255d066d701eac0ad7 | 8,964 | cxx | C++ | com/svcdlls/trksvcs/common/rpcsvr.cxx | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | com/svcdlls/trksvcs/common/rpcsvr.cxx | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | com/svcdlls/trksvcs/common/rpcsvr.cxx | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z |
// Copyright (c) 1996-1999 Microsoft Corporation
//+============================================================================
//
// rpcsvr.cxx
//
// Implementation of CRpcServer, with the common code to support
// trkwks & trksvr RPC servers.
//
//+=====================================================... | 37.041322 | 131 | 0.518407 | [
"vector"
] |
96c157ee696ec3105bc068491182e1b068b17dec | 991 | cpp | C++ | String/344. Reverse String/main.cpp | Minecodecraft/LeetCode-Minecode | 185fd6efe88d8ffcad94e581915c41502a0361a0 | [
"MIT"
] | 1 | 2021-11-19T19:58:33.000Z | 2021-11-19T19:58:33.000Z | String/344. Reverse String/main.cpp | Minecodecraft/LeetCode-Minecode | 185fd6efe88d8ffcad94e581915c41502a0361a0 | [
"MIT"
] | null | null | null | String/344. Reverse String/main.cpp | Minecodecraft/LeetCode-Minecode | 185fd6efe88d8ffcad94e581915c41502a0361a0 | [
"MIT"
] | 2 | 2021-11-26T12:47:27.000Z | 2022-01-13T16:14:46.000Z | //
// main.cpp
// 344. Reverse String
//
// Created by 边俊林 on 2019/8/11.
// Copyright © 2019 Minecode.Link. All rights reserved.
//
/* ------------------------------------------------------ *\
https://leetcode.com/problems/reverse-string/
\* ------------------------------------------------------ */
#include <map... | 20.22449 | 69 | 0.504541 | [
"vector"
] |
96c7ed27f6547c184f31cf4ebda497637cf88d31 | 1,715 | hpp | C++ | libs/sprite/include/sge/sprite/buffers/multi_decl.hpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | 2 | 2016-01-27T13:18:14.000Z | 2018-05-11T01:11:32.000Z | libs/sprite/include/sge/sprite/buffers/multi_decl.hpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | null | null | null | libs/sprite/include/sge/sprite/buffers/multi_decl.hpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | 3 | 2018-05-11T01:11:34.000Z | 2021-04-24T19:47:45.000Z | // Copyright Carl Philipp Reh 2006 - 2019.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#ifndef SGE_SPRITE_BUFFERS_MULTI_DECL_HPP_INCLUDED
#define SGE_SPRITE_BUFFERS_MULTI_DECL_HPP_INCLUD... | 26.796875 | 85 | 0.753353 | [
"object",
"vector"
] |
96cb752ea551b3c3f9e4ca539b0c4f94cd6c1ce2 | 12,334 | cc | C++ | alb/src/model/ListRulesResult.cc | aliyun/aliyun-openapi-cpp-sdk | 0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36 | [
"Apache-2.0"
] | 89 | 2018-02-02T03:54:39.000Z | 2021-12-13T01:32:55.000Z | alb/src/model/ListRulesResult.cc | aliyun/aliyun-openapi-cpp-sdk | 0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36 | [
"Apache-2.0"
] | 89 | 2018-03-14T07:44:54.000Z | 2021-11-26T07:43:25.000Z | alb/src/model/ListRulesResult.cc | aliyun/aliyun-openapi-cpp-sdk | 0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36 | [
"Apache-2.0"
] | 69 | 2018-01-22T09:45:52.000Z | 2022-03-28T07:58:38.000Z | /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | 51.606695 | 138 | 0.772418 | [
"vector",
"model"
] |
96ede5d3b31bb6c81d67d8aecd9865790da79400 | 231 | cpp | C++ | docs/mfc/codesnippet/CPP/crecordset-class_1.cpp | jmittert/cpp-docs | cea5a8ee2b4764b2bac4afe5d386362ffd64e55a | [
"CC-BY-4.0",
"MIT"
] | 14 | 2018-01-28T18:10:55.000Z | 2021-11-16T13:21:18.000Z | docs/mfc/codesnippet/CPP/crecordset-class_1.cpp | jmittert/cpp-docs | cea5a8ee2b4764b2bac4afe5d386362ffd64e55a | [
"CC-BY-4.0",
"MIT"
] | null | null | null | docs/mfc/codesnippet/CPP/crecordset-class_1.cpp | jmittert/cpp-docs | cea5a8ee2b4764b2bac4afe5d386362ffd64e55a | [
"CC-BY-4.0",
"MIT"
] | 2 | 2018-10-10T07:37:30.000Z | 2019-06-21T15:18:07.000Z | // Construct a snapshot object
CCustomer rsCustSet(NULL);
if(!rsCustSet.Open())
return;
// Use the snapshot ...
// Close the snapshot
rsCustSet.Close();
// Destructor is called when the function exits | 19.25 | 50 | 0.645022 | [
"object"
] |
96f52324c9cb5a632cc83669d0bf61c6035d7339 | 256,548 | hpp | C++ | SDK.hpp | Scorpyy1/NiagaraCheats | 8b51004213d8a6178067c6f60d4904cef3b5e72b | [
"MIT"
] | 4 | 2022-03-13T14:37:32.000Z | 2022-03-31T06:44:32.000Z | SDK.hpp | Scorpyy1/NiagaraCheats | 8b51004213d8a6178067c6f60d4904cef3b5e72b | [
"MIT"
] | null | null | null | SDK.hpp | Scorpyy1/NiagaraCheats | 8b51004213d8a6178067c6f60d4904cef3b5e72b | [
"MIT"
] | 1 | 2022-03-16T12:49:15.000Z | 2022-03-16T12:49:15.000Z |
#pragma once
// SKD
#include <set>
#include <string>
#include "SDK/FN_Basic.hpp"
#include "SDK/FN_CoreUObject_structs.hpp"
#include "SDK/FN_CoreUObject_classes.hpp"
#include "SDK/FN_CoreUObject_parameters.hpp"
#include "SDK/FN_SlateCore_structs.hpp"
#include "SDK/FN_SlateCore_classes.hpp"
#include "SDK/FN_SlateCo... | 53.280997 | 93 | 0.861745 | [
"solid"
] |
96f878ddccc262084e473824fb0883786861085d | 12,554 | cpp | C++ | he_meanshift/test/mean_shift.cpp | encryptogroup/SoK_ppClustering | 6b008a09bfe3f3b8074e24059ac3e2aa6b87f227 | [
"MIT"
] | 3 | 2021-06-18T08:09:46.000Z | 2021-12-19T05:41:24.000Z | he_meanshift/test/mean_shift.cpp | encryptogroup/SoK_ppClustering | 6b008a09bfe3f3b8074e24059ac3e2aa6b87f227 | [
"MIT"
] | null | null | null | he_meanshift/test/mean_shift.cpp | encryptogroup/SoK_ppClustering | 6b008a09bfe3f3b8074e24059ac3e2aa6b87f227 | [
"MIT"
] | null | null | null | // MIT License
//
// Copyright (c) 2021 Aditya Shridhar Hegde
//
// 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, cop... | 35.664773 | 81 | 0.637566 | [
"object",
"vector"
] |
96f8c62c52d4931d56727b6dd4461b8325fcbd89 | 3,974 | cpp | C++ | src/main/socket/socket.cpp | fchurca/7542-2015-2 | a537a69692820899a1cd28a07cbc74190f659895 | [
"BSD-3-Clause"
] | 1 | 2015-09-06T21:29:06.000Z | 2015-09-06T21:29:06.000Z | src/main/socket/socket.cpp | fchurca/7542-2015-2 | a537a69692820899a1cd28a07cbc74190f659895 | [
"BSD-3-Clause"
] | 2 | 2015-09-02T04:05:21.000Z | 2015-10-20T21:10:58.000Z | src/main/socket/socket.cpp | fchurca/7542-2015-2 | a537a69692820899a1cd28a07cbc74190f659895 | [
"BSD-3-Clause"
] | null | null | null | #include <cstring>
#include "socket.h"
#include "../model/charnames.h"
using namespace charnames;
using namespace std;
const size_t double_discretization_scale = 100;
const double double_offset = 100;
Socket::Socket() : inBufferIndex(0) {
}
Socket::~Socket() {
}
bool Socket::flushIn() {
size_t oldSize = inBuffe... | 17.820628 | 74 | 0.581782 | [
"model"
] |
96fd943aa1d8c9a30c4234283ffee7c4b484aa0e | 8,459 | cc | C++ | chrome/browser/intents/cws_intents_registry.cc | Crystalnix/BitPop | 1fae4ecfb965e163f6ce154b3988b3181678742a | [
"BSD-3-Clause"
] | 7 | 2015-05-20T22:41:35.000Z | 2021-11-18T19:07:59.000Z | chrome/browser/intents/cws_intents_registry.cc | Crystalnix/BitPop | 1fae4ecfb965e163f6ce154b3988b3181678742a | [
"BSD-3-Clause"
] | 1 | 2015-02-02T06:55:08.000Z | 2016-01-20T06:11:59.000Z | chrome/browser/intents/cws_intents_registry.cc | Crystalnix/BitPop | 1fae4ecfb965e163f6ce154b3988b3181678742a | [
"BSD-3-Clause"
] | 2 | 2015-12-08T00:37:41.000Z | 2017-04-06T05:34:05.000Z | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/intents/cws_intents_registry.h"
#include "base/callback.h"
#include "base/json/json_string_value_serializer.h"
#include "bas... | 34.8107 | 78 | 0.687079 | [
"object",
"vector"
] |
8c08afabda5486d23308a1b394b8ac2478ad75ec | 11,145 | cpp | C++ | tests/selections/lexer.cpp | jmintser/chemfiles | fb1ed5ee47790cc004468e5484954e2b3d1adff2 | [
"BSD-3-Clause"
] | 116 | 2015-11-05T01:18:13.000Z | 2022-02-20T06:33:47.000Z | tests/selections/lexer.cpp | jmintser/chemfiles | fb1ed5ee47790cc004468e5484954e2b3d1adff2 | [
"BSD-3-Clause"
] | 307 | 2015-10-08T09:22:46.000Z | 2022-03-28T13:42:51.000Z | tests/selections/lexer.cpp | Luthaf/Chemharp | d41036ff5645954bd691f868f066c760560eee13 | [
"BSD-3-Clause"
] | 57 | 2015-10-22T06:45:40.000Z | 2022-03-27T17:33:05.000Z | // Chemfiles, a modern library for chemistry file reading and writing
// Copyright (C) Guillaume Fraux and contributors -- BSD license
#include <catch.hpp>
#include "chemfiles/selections/lexer.hpp"
using namespace chemfiles;
using namespace chemfiles::selections;
static std::vector<Token> tokenize(std::string select... | 35.951613 | 119 | 0.53459 | [
"vector"
] |
8c095080d14fac47016913e3bc0a41f180a306e0 | 2,618 | cpp | C++ | SPOJ/RotaCritica.cpp | aajjbb/contest-files | b8842681b96017063a7baeac52ae1318bf59d74d | [
"Apache-2.0"
] | 1 | 2018-08-28T19:58:40.000Z | 2018-08-28T19:58:40.000Z | SPOJ/RotaCritica.cpp | aajjbb/contest-files | b8842681b96017063a7baeac52ae1318bf59d74d | [
"Apache-2.0"
] | 2 | 2017-04-16T00:48:05.000Z | 2017-08-03T20:12:26.000Z | SPOJ/RotaCritica.cpp | aajjbb/contest-files | b8842681b96017063a7baeac52ae1318bf59d74d | [
"Apache-2.0"
] | 4 | 2016-03-04T19:42:00.000Z | 2018-01-08T11:42:00.000Z | #include <iostream>
#include <fstream>
#include <vector>
#include <list>
#include <deque>
#include <stack>
#include <queue>
#include <set>
#include <map>
#include <bitset>
#include <algorithm>
#include <utility>
#include <functional>
#include <valarray>
#include <math.h>
#include <time.h>
#include <stdl... | 22 | 82 | 0.417494 | [
"vector"
] |
8c136301d3e7d533f5789a316487814cff8a64ca | 18,543 | cpp | C++ | audio/common/Semantic/jhcNetNode.cpp | jconnell11/ALIA | f7a6c9dfd775fbd41239051aeed7775adb878b0a | [
"Apache-2.0"
] | null | null | null | audio/common/Semantic/jhcNetNode.cpp | jconnell11/ALIA | f7a6c9dfd775fbd41239051aeed7775adb878b0a | [
"Apache-2.0"
] | null | null | null | audio/common/Semantic/jhcNetNode.cpp | jconnell11/ALIA | f7a6c9dfd775fbd41239051aeed7775adb878b0a | [
"Apache-2.0"
] | null | null | null | // jhcNetNode.cpp : node in semantic network for ALIA system
//
// Written by Jonathan H. Connell, jconnell@alum.mit.edu
//
///////////////////////////////////////////////////////////////////////////
//
// Copyright 2017-2020 IBM Corporation
// Copyright 2020-2021 Etaoin Systems
//
// Licensed under the Apache License,... | 26.41453 | 104 | 0.539826 | [
"object"
] |
22c5e63656c5d521099e66d70b9995a4ce1d8aad | 9,730 | cpp | C++ | 3rdParty/iresearch/core/utils/automaton_utils.cpp | rajeev02101987/arangodb | 817e6c04cb82777d266f3b444494140676da98e2 | [
"Apache-2.0"
] | 1 | 2020-07-30T23:33:02.000Z | 2020-07-30T23:33:02.000Z | 3rdParty/iresearch/core/utils/automaton_utils.cpp | rajeev02101987/arangodb | 817e6c04cb82777d266f3b444494140676da98e2 | [
"Apache-2.0"
] | null | null | null | 3rdParty/iresearch/core/utils/automaton_utils.cpp | rajeev02101987/arangodb | 817e6c04cb82777d266f3b444494140676da98e2 | [
"Apache-2.0"
] | null | null | null | ////////////////////////////////////////////////////////////////////////////////
/// DISCLAIMER
///
/// Copyright 2019 ArangoDB GmbH, Cologne, Germany
///
/// 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... | 29.219219 | 130 | 0.60555 | [
"object",
"vector"
] |
22cb2aaea412d63010e877d59293289566711292 | 2,539 | hpp | C++ | include/zeno/Graphics/Circle.hpp | zeno15/zeno | aa97dadde82bb17d54086d17d54254508b7ef39d | [
"MIT"
] | null | null | null | include/zeno/Graphics/Circle.hpp | zeno15/zeno | aa97dadde82bb17d54086d17d54254508b7ef39d | [
"MIT"
] | null | null | null | include/zeno/Graphics/Circle.hpp | zeno15/zeno | aa97dadde82bb17d54086d17d54254508b7ef39d | [
"MIT"
] | null | null | null | #ifndef INCLUDED_ZENO_GRAPHICS_CIRCLE_HPP
#define INCLUDED_ZENO_GRAPHICS_CIRCLE_HPP
#include <zeno/Graphics/Shape.hpp>
////////////////////////////////////////////////////////////
///
/// \namespace zeno
///
////////////////////////////////////////////////////////////
namespace zeno {
///////////////////////////////... | 28.852273 | 88 | 0.39425 | [
"render",
"shape"
] |
22cb2dc18faa4af91ce5aa40125b5e51e7d4ed42 | 3,824 | cpp | C++ | src/Text.cpp | markusfisch/PieDock | 070ec545659bca9ddf1e46b0c218ea8d933174ff | [
"MIT"
] | 10 | 2015-01-16T02:29:08.000Z | 2022-02-01T20:34:59.000Z | src/Text.cpp | markusfisch/PieDock | 070ec545659bca9ddf1e46b0c218ea8d933174ff | [
"MIT"
] | 10 | 2015-01-10T12:58:51.000Z | 2021-11-12T00:02:11.000Z | src/Text.cpp | markusfisch/PieDock | 070ec545659bca9ddf1e46b0c218ea8d933174ff | [
"MIT"
] | 7 | 2016-02-16T23:12:46.000Z | 2020-09-21T21:33:52.000Z | #include "Application.h"
#include "Text.h"
#include <string.h>
#include <stdio.h>
#include <string>
#include <stdexcept>
using namespace PieDock;
/**
* Initialize color by string
*
* @param s - color string
*/
Text::Color::Color(const char *s) :
alpha(0xff),
red(0),
green(0),
blue(0) {
// old sscanf still ... | 16.27234 | 70 | 0.648536 | [
"object",
"transform"
] |
22cd54b772b984c1765633644af2d8800cf3990c | 13,706 | cpp | C++ | src/cbag/oa/database.cpp | growly/cbag | 468bf580223490a8ce0769471e25abf936b56a4e | [
"Apache-2.0",
"BSD-3-Clause"
] | 7 | 2020-02-13T21:51:04.000Z | 2021-12-11T10:01:45.000Z | src/cbag/oa/database.cpp | growly/cbag | 468bf580223490a8ce0769471e25abf936b56a4e | [
"Apache-2.0",
"BSD-3-Clause"
] | 2 | 2019-06-03T19:05:14.000Z | 2020-03-17T22:59:36.000Z | src/cbag/oa/database.cpp | growly/cbag | 468bf580223490a8ce0769471e25abf936b56a4e | [
"Apache-2.0",
"BSD-3-Clause"
] | 5 | 2019-06-03T17:02:46.000Z | 2020-09-01T23:03:01.000Z | // SPDX-License-Identifier: BSD-3-Clause AND Apache-2.0
/*
Copyright (c) 2018, Regents of the University of California
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 mu... | 39.612717 | 100 | 0.622136 | [
"vector"
] |
22d544f25600264a7cda154b96d1e3a8310ffac5 | 17,633 | cpp | C++ | samples/06_lightmapping/graphicsLayer.cpp | giordi91/SirMetal | 394b973a78faec2fec54479f895802ddb1e580c1 | [
"MIT"
] | 25 | 2020-08-10T20:42:14.000Z | 2021-12-16T00:08:56.000Z | samples/06_lightmapping/graphicsLayer.cpp | giordi91/SirMetal | 394b973a78faec2fec54479f895802ddb1e580c1 | [
"MIT"
] | 1 | 2021-04-02T21:14:48.000Z | 2021-04-28T10:57:17.000Z | sandbox/graphicsLayer.cpp | giordi91/SirMetal | 394b973a78faec2fec54479f895802ddb1e580c1 | [
"MIT"
] | 2 | 2021-01-12T20:08:16.000Z | 2021-01-20T10:22:28.000Z | #include "graphicsLayer.h"
#import <Metal/Metal.h>
#import <QuartzCore/CAMetalLayer.h>
#include <SirMetal/core/mathUtils.h>
#include "SirMetal/application/window.h"
#include "SirMetal/core/input.h"
#include "SirMetal/engine.h"
#include "SirMetal/graphics/blit.h"
#include "SirMetal/graphics/constantBufferManager.h"
#i... | 37.839056 | 141 | 0.695004 | [
"mesh",
"render"
] |
22ddba1dd04f27aecb3970bff62fb517fef0b72b | 3,968 | hpp | C++ | legacy/galaxy/map/tile/Tile.hpp | reworks/rework | 90508252c9a4c77e45a38e7ce63cfd99f533f42b | [
"Apache-2.0"
] | 19 | 2020-02-02T16:36:46.000Z | 2021-12-25T07:02:28.000Z | legacy/galaxy/map/tile/Tile.hpp | reworks/rework | 90508252c9a4c77e45a38e7ce63cfd99f533f42b | [
"Apache-2.0"
] | 103 | 2020-10-13T09:03:42.000Z | 2022-03-26T03:41:50.000Z | legacy/galaxy/map/tile/Tile.hpp | reworks/rework | 90508252c9a4c77e45a38e7ce63cfd99f533f42b | [
"Apache-2.0"
] | 5 | 2020-03-13T06:14:37.000Z | 2021-12-12T02:13:46.000Z | ///
/// Tile.hpp
/// galaxy
///
/// Refer to LICENSE.txt for more details.
///
#ifndef GALAXY_MAP_TILE_TILE_HPP_
#define GALAXY_MAP_TILE_TILE_HPP_
#include <optional>
#include "galaxy/map/layer/ObjectLayer.hpp"
#include "galaxy/map/types/Frame.hpp"
namespace galaxy
{
namespace map
{
///
/// A tile on a tilese... | 21.106383 | 104 | 0.606855 | [
"object",
"vector"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.