hexsha stringlengths 40 40 | size int64 7 1.05M | ext stringclasses 13
values | lang stringclasses 1
value | max_stars_repo_path stringlengths 4 269 | max_stars_repo_name stringlengths 5 108 | max_stars_repo_head_hexsha stringlengths 40 40 | max_stars_repo_licenses listlengths 1 9 | max_stars_count int64 1 191k ⌀ | max_stars_repo_stars_event_min_datetime stringlengths 24 24 ⌀ | max_stars_repo_stars_event_max_datetime stringlengths 24 24 ⌀ | max_issues_repo_path stringlengths 4 269 | max_issues_repo_name stringlengths 5 116 | max_issues_repo_head_hexsha stringlengths 40 40 | max_issues_repo_licenses listlengths 1 9 | max_issues_count int64 1 67k ⌀ | max_issues_repo_issues_event_min_datetime stringlengths 24 24 ⌀ | max_issues_repo_issues_event_max_datetime stringlengths 24 24 ⌀ | max_forks_repo_path stringlengths 4 269 | max_forks_repo_name stringlengths 5 116 | max_forks_repo_head_hexsha stringlengths 40 40 | max_forks_repo_licenses listlengths 1 9 | max_forks_count int64 1 105k ⌀ | max_forks_repo_forks_event_min_datetime stringlengths 24 24 ⌀ | max_forks_repo_forks_event_max_datetime stringlengths 24 24 ⌀ | content stringlengths 7 1.05M | avg_line_length float64 1.21 330k | max_line_length int64 6 990k | alphanum_fraction float64 0.01 0.99 | author_id stringlengths 2 40 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c13b20b4c5f957ca9facceae8d1b9ec3b149b080 | 225 | inl | C++ | node_modules/lzz-gyp/lzz-source/gram_Visitor.inl | SuperDizor/dizornator | 9f57dbb3f6af80283b4d977612c95190a3d47900 | [
"ISC"
] | 3 | 2019-09-18T16:44:33.000Z | 2021-03-29T13:45:27.000Z | node_modules/lzz-gyp/lzz-source/gram_Visitor.inl | SuperDizor/dizornator | 9f57dbb3f6af80283b4d977612c95190a3d47900 | [
"ISC"
] | null | null | null | node_modules/lzz-gyp/lzz-source/gram_Visitor.inl | SuperDizor/dizornator | 9f57dbb3f6af80283b4d977612c95190a3d47900 | [
"ISC"
] | 2 | 2019-03-29T01:06:38.000Z | 2019-09-18T16:44:34.000Z | // gram_Visitor.inl
//
#ifdef LZZ_ENABLE_INLINE
#define LZZ_INLINE inline
#else
#define LZZ_INLINE
#endif
namespace gram
{
LZZ_INLINE Visitor::Visitor (bool slippery)
: m_slippery (slippery)
{}
}
#undef LZZ_INLINE
| 14.0625 | 45 | 0.737778 | SuperDizor |
c13dc984026548a60265e21d62c2b5e041f979b1 | 1,462 | cpp | C++ | NULL Engine/Source/Component.cpp | BarcinoLechiguino/NULL_Engine | f2abecb44bee45b7cbf2d5b53609d79d38ecc5a3 | [
"MIT"
] | 4 | 2020-11-29T12:28:31.000Z | 2021-06-08T17:32:56.000Z | NULL Engine/Source/Component.cpp | BarcinoLechiguino/NULL_Engine | f2abecb44bee45b7cbf2d5b53609d79d38ecc5a3 | [
"MIT"
] | null | null | null | NULL Engine/Source/Component.cpp | BarcinoLechiguino/NULL_Engine | f2abecb44bee45b7cbf2d5b53609d79d38ecc5a3 | [
"MIT"
] | 4 | 2020-11-01T17:06:32.000Z | 2021-01-09T16:58:50.000Z | #include "Log.h"
#include "Random.h"
#include "VariableTypedefs.h"
#include "GameObject.h"
#include "Component.h"
Component::Component(GameObject* owner, COMPONENT_TYPE type, bool is_active) :
id (Random::LCG::GetRandomUint()),
type (type),
owner (owner),
is_active (is_active)
{
}
Component::~Component()
{
}
... | 17.404762 | 78 | 0.69015 | BarcinoLechiguino |
c13f1e8d75ce1246fa6245f3e4182839b7fbacd3 | 1,036 | cpp | C++ | p1070Mooncake.cpp | yangyueren/PAT | 950d820ec9174c5e2d74adafeb2abde4acdc635f | [
"MIT"
] | 1 | 2020-02-01T08:20:26.000Z | 2020-02-01T08:20:26.000Z | p1070Mooncake.cpp | yangyueren/PAT | 950d820ec9174c5e2d74adafeb2abde4acdc635f | [
"MIT"
] | null | null | null | p1070Mooncake.cpp | yangyueren/PAT | 950d820ec9174c5e2d74adafeb2abde4acdc635f | [
"MIT"
] | null | null | null | //
// Created by yryang on 2019/9/15.
//
#include "iostream"
#include "string.h"
#include "string"
#include "stdlib.h"
#include "stdio.h"
#include "map"
#include "vector"
#include "set"
#include "math.h"
#include "queue"
#include "algorithm"
#include "unordered_map"
using namespace std;
struct node{
double ton;
... | 18.175439 | 56 | 0.533784 | yangyueren |
c13f9629a2b7f0e10d6fc6bf1220fe71c39b143a | 895 | cpp | C++ | problem 1-50/21. Merge Two Sorted Lists.cpp | just-essential/LeetCode-Cpp | 3ec49434d257defd28bfe4784ecd0ff2f9077a31 | [
"MIT"
] | null | null | null | problem 1-50/21. Merge Two Sorted Lists.cpp | just-essential/LeetCode-Cpp | 3ec49434d257defd28bfe4784ecd0ff2f9077a31 | [
"MIT"
] | null | null | null | problem 1-50/21. Merge Two Sorted Lists.cpp | just-essential/LeetCode-Cpp | 3ec49434d257defd28bfe4784ecd0ff2f9077a31 | [
"MIT"
] | null | null | null | /*
Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two lists.
Example:
Input: 1->2->4, 1->3->4
Output: 1->1->2->3->4->4
*/
class Solution {
public:
ListNode *mergeTwoLists(ListNode *l1, ListNode *l2) {
ListNode head(0), *l... | 24.861111 | 141 | 0.459218 | just-essential |
c14077941b88c9b876d337ff86d2d1d967257037 | 16,838 | cpp | C++ | 3rdparty/pytorch/torch/csrc/jit/script/parser.cpp | WoodoLee/TorchCraft | 999f68aab9e7d50ed3ae138297226dc95fefc458 | [
"MIT"
] | null | null | null | 3rdparty/pytorch/torch/csrc/jit/script/parser.cpp | WoodoLee/TorchCraft | 999f68aab9e7d50ed3ae138297226dc95fefc458 | [
"MIT"
] | null | null | null | 3rdparty/pytorch/torch/csrc/jit/script/parser.cpp | WoodoLee/TorchCraft | 999f68aab9e7d50ed3ae138297226dc95fefc458 | [
"MIT"
] | null | null | null | #include <c10/util/Optional.h>
#include <torch/csrc/jit/script/lexer.h>
#include <torch/csrc/jit/script/parse_string_literal.h>
#include <torch/csrc/jit/script/parser.h>
#include <torch/csrc/jit/script/tree.h>
#include <torch/csrc/jit/script/tree_views.h>
namespace torch {
namespace jit {
namespace script {
Decl merg... | 29.907638 | 80 | 0.585521 | WoodoLee |
c144cb12e732cd551f7b2ac52de2cfd43aa4245a | 2,361 | hpp | C++ | PSME/common/agent-framework/include/agent-framework/module/enum/network.hpp | opencomputeproject/HWMgmt-DeviceMgr-PSME | 2a00188aab6f4bef3776987f0842ef8a8ea972ac | [
"Apache-2.0"
] | 5 | 2021-10-07T15:36:37.000Z | 2022-03-01T07:21:49.000Z | PSME/common/agent-framework/include/agent-framework/module/enum/network.hpp | opencomputeproject/HWMgmt-DeviceMgr-PSME | 2a00188aab6f4bef3776987f0842ef8a8ea972ac | [
"Apache-2.0"
] | null | null | null | PSME/common/agent-framework/include/agent-framework/module/enum/network.hpp | opencomputeproject/HWMgmt-DeviceMgr-PSME | 2a00188aab6f4bef3776987f0842ef8a8ea972ac | [
"Apache-2.0"
] | 1 | 2022-03-01T07:21:51.000Z | 2022-03-01T07:21:51.000Z | /*!
* @copyright
* Copyright (c) 2015-2017 Intel Corporation
*
* @copyright
* 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
*
* @copyright
* http://www.apache.org/licenses/LICENSE-... | 23.376238 | 76 | 0.711139 | opencomputeproject |
c146e2d8b34e78abf481531b645867f682d0c62f | 4,653 | cpp | C++ | simulator/src/monitor.cpp | CMU-SAFARI/DAMOV | ed39a0642f22d551bed6ab6baaf91c89cc8a3855 | [
"MIT"
] | 17 | 2021-07-10T13:22:26.000Z | 2022-02-09T20:11:39.000Z | simulator/src/monitor.cpp | CMU-SAFARI/DAMOV | ed39a0642f22d551bed6ab6baaf91c89cc8a3855 | [
"MIT"
] | 4 | 2021-08-18T14:07:24.000Z | 2022-01-24T16:38:06.000Z | simulator/src/monitor.cpp | CMU-SAFARI/DAMOV | ed39a0642f22d551bed6ab6baaf91c89cc8a3855 | [
"MIT"
] | 2 | 2021-08-03T10:56:16.000Z | 2022-01-31T12:10:56.000Z | /** $lic$
* Copyright (C) 2012-2015 by Massachusetts Institute of Technology
* Copyright (C) 2010-2013 by The Board of Trustees of Stanford University
*
* This file is part of zsim.
*
* zsim is free software; you can redistribute it and/or modify it under the
* terms of the GNU General Public License as publishe... | 34.213235 | 132 | 0.660434 | CMU-SAFARI |
c14a9437c1fa8ad7de2a867bc432c5242a18810b | 13,023 | cpp | C++ | 3rdparty/FlyCube/src/Apps/CoreDxrTriangle/main.cpp | CU-Production/FlyCube-Demos | 2763720818499bc9244eb4b16e60e647a5c88827 | [
"MIT"
] | 8 | 2021-03-17T19:25:12.000Z | 2022-02-05T02:08:21.000Z | 3rdparty/FlyCube/src/Apps/CoreDxrTriangle/main.cpp | THISISAGOODNAME/SSSR | ea4b6350b2da3d5656c7aa8c87f9965144369d22 | [
"MIT"
] | null | null | null | 3rdparty/FlyCube/src/Apps/CoreDxrTriangle/main.cpp | THISISAGOODNAME/SSSR | ea4b6350b2da3d5656c7aa8c87f9965144369d22 | [
"MIT"
] | 2 | 2021-09-22T14:39:51.000Z | 2021-11-08T09:47:38.000Z | #include <AppBox/AppBox.h>
#include <AppBox/ArgsParser.h>
#include <Instance/Instance.h>
#include <stdexcept>
#include <glm/gtx/transform.hpp>
#include <Utilities/Common.h>
int main(int argc, char* argv[])
{
Settings settings = ParseArgs(argc, argv);
AppBox app("CoreDxrTriangle", settings);
AppRect rect = ... | 61.140845 | 186 | 0.744222 | CU-Production |
c14ea670d80601a960264ee8bca5a1cbd59b206b | 67,124 | cpp | C++ | common/BaseDatapath.cpp | httsai/NTHU_Aladdin | 4140fcdade512b89647608b9b724690c5d3b2ba4 | [
"BSL-1.0"
] | null | null | null | common/BaseDatapath.cpp | httsai/NTHU_Aladdin | 4140fcdade512b89647608b9b724690c5d3b2ba4 | [
"BSL-1.0"
] | null | null | null | common/BaseDatapath.cpp | httsai/NTHU_Aladdin | 4140fcdade512b89647608b9b724690c5d3b2ba4 | [
"BSL-1.0"
] | null | null | null | #include <sstream>
#include <boost/tokenizer.hpp>
#include "opcode_func.h"
#include "BaseDatapath.h"
BaseDatapath::BaseDatapath(std::string bench, string trace_file, string config_file, float cycle_t)
{
benchName = (char*) bench.c_str();
cycleTime = cycle_t;
DDDG *dddg;
dddg = new DDDG(this, trace_file);
/*... | 34.671488 | 134 | 0.632218 | httsai |
c154237eb5944bd5697f2a8970747486a6764d80 | 595 | cpp | C++ | Programmers/C++/땅따먹기.cpp | sungmen/Solve_Algorithms | 64b3f96a9ce91a91d7eafbd3c27688b0a6dffdeb | [
"MIT"
] | 1 | 2020-07-08T23:16:19.000Z | 2020-07-08T23:16:19.000Z | Programmers/C++/땅따먹기.cpp | sungmen/Solve_Algorithms | 64b3f96a9ce91a91d7eafbd3c27688b0a6dffdeb | [
"MIT"
] | 1 | 2020-05-16T03:12:24.000Z | 2020-05-16T03:14:42.000Z | Programmers/C++/땅따먹기.cpp | sungmen/Solve_Algorithms | 64b3f96a9ce91a91d7eafbd3c27688b0a6dffdeb | [
"MIT"
] | 2 | 2020-05-16T03:25:16.000Z | 2021-02-10T16:51:25.000Z | #include <bits/stdc++.h>
using namespace std;
int solution(vector<vector<int> > land) {
ios_base::sync_with_stdio(false);
for (int i = 1; i < land.size(); i++) {
land[i][0] += max(land[i-1][1], max(land[i-1][2], land[i-1][3]));
land[i][1] += max(land[i-1][0], max(land[i-1][2], land[i-1][3]));
... | 49.583333 | 121 | 0.52437 | sungmen |
c154c8c082fd784e72327c947fa41f216c04e8bb | 8,153 | hpp | C++ | GPU_version/vio/include/vio/nlls_solver_impl.hpp | Pilot-Labs-Dev/vio_svo | 8274e4269b383e9816fca5c3102b51cd4d1b95ae | [
"MIT"
] | 2 | 2022-03-17T01:12:10.000Z | 2022-03-24T03:17:24.000Z | GPU_version/vio/include/vio/nlls_solver_impl.hpp | Pilot-Labs-Dev/vio_svo | 8274e4269b383e9816fca5c3102b51cd4d1b95ae | [
"MIT"
] | null | null | null | GPU_version/vio/include/vio/nlls_solver_impl.hpp | Pilot-Labs-Dev/vio_svo | 8274e4269b383e9816fca5c3102b51cd4d1b95ae | [
"MIT"
] | 1 | 2022-03-12T11:42:01.000Z | 2022-03-12T11:42:01.000Z | /*
* Abstract Nonlinear Least-Squares Solver Class
*
* nlls_solver.h
*
* Created on: Nov 5, 2012
* Author: cforster
*/
#ifndef LM_SOLVER_IMPL_HPP_
#define LM_SOLVER_IMPL_HPP_
#include <stdexcept>
template <int D, typename T>
void vk::NLLSSolver<D, T>::optimize(ModelType& model)
{
if(method_ == GaussNe... | 25.800633 | 92 | 0.535018 | Pilot-Labs-Dev |
c155a838b36e948a213f7fab326cccc63469505c | 432 | hpp | C++ | engine/generators/include/RoadGenerator.hpp | sidav/shadow-of-the-wyrm | 747afdeebed885b1a4f7ab42f04f9f756afd3e52 | [
"MIT"
] | 1 | 2020-05-24T22:44:03.000Z | 2020-05-24T22:44:03.000Z | engine/generators/include/RoadGenerator.hpp | cleancoindev/shadow-of-the-wyrm | 51b23e98285ecb8336324bfd41ebf00f67b30389 | [
"MIT"
] | null | null | null | engine/generators/include/RoadGenerator.hpp | cleancoindev/shadow-of-the-wyrm | 51b23e98285ecb8336324bfd41ebf00f67b30389 | [
"MIT"
] | null | null | null | #pragma once
#include "Map.hpp"
#include "Directions.hpp"
#define DEFAULT_ROAD_WIDTH 3
class RoadGenerator
{
public:
RoadGenerator(const int width=DEFAULT_ROAD_WIDTH);
RoadGenerator(const CardinalDirection direction, const int width=DEFAULT_ROAD_WIDTH);
virtual MapPtr generate(MapPtr map);
protected... | 20.571429 | 89 | 0.763889 | sidav |
c15a93fcca153424e4d9df95f44a1869f71cfe48 | 4,279 | cpp | C++ | plugins/resource_context/src/systems/BufferResourceCache.cpp | fuchstraumer/Caelestis | 9c4b76288220681bb245d84e5d7bf8c7f69b2716 | [
"MIT"
] | 5 | 2018-08-16T00:55:33.000Z | 2020-06-19T14:30:17.000Z | plugins/resource_context/src/systems/BufferResourceCache.cpp | fuchstraumer/Caelestis | 9c4b76288220681bb245d84e5d7bf8c7f69b2716 | [
"MIT"
] | null | null | null | plugins/resource_context/src/systems/BufferResourceCache.cpp | fuchstraumer/Caelestis | 9c4b76288220681bb245d84e5d7bf8c7f69b2716 | [
"MIT"
] | null | null | null | #include "systems/BufferResourceCache.hpp"
#include "core/ShaderResource.hpp"
#include "resource/Buffer.hpp"
namespace vpsk {
BufferResourceCache::BufferResourceCache(const vpr::Device* dvc) : device(dvc) { }
BufferResourceCache::~BufferResourceCache() {}
void BufferResourceCache::AddResources(const std... | 38.205357 | 136 | 0.646179 | fuchstraumer |
c15c5910de26010cd8cdfeda4e8f0660489a6aeb | 424 | cpp | C++ | Assignment2/IDivable.cpp | JJhuk/C-Unmanaged-Programming | 3c78a5be69e4cfd9b8cb33604d5f009b5d34c2fb | [
"MIT"
] | 1 | 2020-04-20T04:33:29.000Z | 2020-04-20T04:33:29.000Z | Assignment2/IDivable.cpp | JJhuk/C-Unmanaged-Programming | 3c78a5be69e4cfd9b8cb33604d5f009b5d34c2fb | [
"MIT"
] | null | null | null | Assignment2/IDivable.cpp | JJhuk/C-Unmanaged-Programming | 3c78a5be69e4cfd9b8cb33604d5f009b5d34c2fb | [
"MIT"
] | null | null | null | #pragma once
#include "Person.h"
namespace assignment2
{
class Vehicle
{
public:
Vehicle(unsigned int maxPassengersCount);
~Vehicle();
virtual unsigned int GetMaxSpeed() const = 0;
bool AddPassenger(const Person* person);
bool RemovePassenger(unsigned int i);
const Person* GetPassenger(unsigned int i... | 19.272727 | 51 | 0.742925 | JJhuk |
c15d575b85f1cfb33f82e192833cf99ecbc34955 | 822 | cpp | C++ | shadow/renderer/camera.cpp | thesamhurwitz/shadow | 437033ea54f1e1e28280c6d1d45e762aa850eaaa | [
"MIT"
] | null | null | null | shadow/renderer/camera.cpp | thesamhurwitz/shadow | 437033ea54f1e1e28280c6d1d45e762aa850eaaa | [
"MIT"
] | null | null | null | shadow/renderer/camera.cpp | thesamhurwitz/shadow | 437033ea54f1e1e28280c6d1d45e762aa850eaaa | [
"MIT"
] | null | null | null | #include "camera.h"
#include <glm/gtc/matrix_transform.hpp>
namespace Shadow {
Camera::Camera(float left, float right, float bottom, float top)
: mProjectionMatrix(glm::ortho(left, right, bottom, top, -1.0f, 1.0f)),
mViewMatrix(1.0f),
mPosition(0.0f)
{
mViewProjectionMatrix = mProjectionMatrix *... | 29.357143 | 100 | 0.670316 | thesamhurwitz |
c15dd93bf0661dfebf5efaeca1497419a5a0a0bc | 3,690 | cpp | C++ | scps/Schrodinger1DItem.cpp | gapost/MISfit | 882653365d2ae3b3173c763df3fc9b02724d91c2 | [
"MIT"
] | null | null | null | scps/Schrodinger1DItem.cpp | gapost/MISfit | 882653365d2ae3b3173c763df3fc9b02724d91c2 | [
"MIT"
] | null | null | null | scps/Schrodinger1DItem.cpp | gapost/MISfit | 882653365d2ae3b3173c763df3fc9b02724d91c2 | [
"MIT"
] | null | null | null | // Schrodinger1DItem.cpp: implementation of the CSchrodinger1DItem class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "Schrodinger1DItem.h"
#include "Schrodinger1D.h"
//////////////////////////////////////////////////////////////////////
// Construct... | 19.52381 | 81 | 0.463144 | gapost |
c15e3c19bb65075988046d812a4a968f4b958c1a | 3,490 | cpp | C++ | RadeonGPUAnalyzerGUI/src/rgUnsavedItemsDialog.cpp | alphonsetai/RGA | 76cd5f36b40bd5e3de40bfb3e79c410aa4c132c9 | [
"MIT"
] | null | null | null | RadeonGPUAnalyzerGUI/src/rgUnsavedItemsDialog.cpp | alphonsetai/RGA | 76cd5f36b40bd5e3de40bfb3e79c410aa4c132c9 | [
"MIT"
] | null | null | null | RadeonGPUAnalyzerGUI/src/rgUnsavedItemsDialog.cpp | alphonsetai/RGA | 76cd5f36b40bd5e3de40bfb3e79c410aa4c132c9 | [
"MIT"
] | null | null | null | // C++.
#include <cassert>
// Qt.
#include <QWidget>
#include <QDialog>
#include <QSignalMapper>
#include <QPainter>
// Local.
#include <RadeonGPUAnalyzerGUI/include/qt/rgUnsavedItemsDialog.h>
#include <RadeonGPUAnalyzerGUI/include/rgUtils.h>
#include <RadeonGPUAnalyzerGUI/include/rgDefinitions.h>
rgUnsavedItemsDial... | 30.347826 | 145 | 0.723209 | alphonsetai |
c15e9c69a07d80945aac87092984b1923f41acb4 | 686 | cpp | C++ | calculator/IdGenerator.cpp | fmidev/smartmet-library-calculator | 19366ff5af4d3a456d1841c3c3cb598eb900d86a | [
"MIT"
] | null | null | null | calculator/IdGenerator.cpp | fmidev/smartmet-library-calculator | 19366ff5af4d3a456d1841c3c3cb598eb900d86a | [
"MIT"
] | null | null | null | calculator/IdGenerator.cpp | fmidev/smartmet-library-calculator | 19366ff5af4d3a456d1841c3c3cb598eb900d86a | [
"MIT"
] | null | null | null | // ======================================================================
/*!
* \file
* \brief Interface of class TextGen::IdGenerator
*/
// ======================================================================
#include "IdGenerator.h"
#include <boost/atomic.hpp>
namespace TextGen
{
// --------------------------... | 22.129032 | 73 | 0.300292 | fmidev |
c15f4c9e92fef839991a274dfa983a9c8f42bd7f | 11,565 | cc | C++ | components/digital_asset_links/digital_asset_links_handler.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 | components/digital_asset_links/digital_asset_links_handler.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 | components/digital_asset_links/digital_asset_links_handler.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 2017 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 "components/digital_asset_links/digital_asset_links_handler.h"
#include <vector>
#include "base/bind.h"
#include "base/json/json_reader.h"
#inc... | 35.151976 | 80 | 0.694596 | zealoussnow |
c1601b8758430a450bffd6a48fd8840b9effcf39 | 1,564 | cpp | C++ | aws-cpp-sdk-sagemaker/source/model/OfflineStoreStatus.cpp | perfectrecall/aws-sdk-cpp | fb8cbebf2fd62720b65aeff841ad2950e73d8ebd | [
"Apache-2.0"
] | 1 | 2022-02-12T08:09:30.000Z | 2022-02-12T08:09:30.000Z | aws-cpp-sdk-sagemaker/source/model/OfflineStoreStatus.cpp | perfectrecall/aws-sdk-cpp | fb8cbebf2fd62720b65aeff841ad2950e73d8ebd | [
"Apache-2.0"
] | 1 | 2022-01-03T23:59:37.000Z | 2022-01-03T23:59:37.000Z | aws-cpp-sdk-sagemaker/source/model/OfflineStoreStatus.cpp | ravindra-wagh/aws-sdk-cpp | 7d5ff01b3c3b872f31ca98fb4ce868cd01e97696 | [
"Apache-2.0"
] | 1 | 2021-11-09T11:58:03.000Z | 2021-11-09T11:58:03.000Z | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/sagemaker/model/OfflineStoreStatus.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::Utils::Json;
using namespace Aws::Utils;
namespace Aws
{
... | 20.578947 | 111 | 0.751279 | perfectrecall |
c16288695b71e20cbd42e56b2dd3c4785ceb17d8 | 562 | hpp | C++ | libs/renderer/include/sge/renderer/texture/volume_shared_ptr.hpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | 2 | 2016-01-27T13:18:14.000Z | 2018-05-11T01:11:32.000Z | libs/renderer/include/sge/renderer/texture/volume_shared_ptr.hpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | null | null | null | libs/renderer/include/sge/renderer/texture/volume_shared_ptr.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_RENDERER_TEXTURE_VOLUME_SHARED_PTR_HPP_INCLUDED
#define SGE_RENDERER_TEXTURE_VOLUME_SHA... | 21.615385 | 61 | 0.770463 | cpreh |
c1633a5b5840f93790dd65fa5c759adb8a7d65ee | 1,875 | cpp | C++ | src/component/extra/fps.cpp | pepng-CU/pepng | 6030798b6936a6f85655d5e5d1ca638be282de92 | [
"MIT"
] | 2 | 2021-04-28T20:51:25.000Z | 2021-04-28T20:51:38.000Z | src/component/extra/fps.cpp | pepng-CU/pepng | 6030798b6936a6f85655d5e5d1ca638be282de92 | [
"MIT"
] | null | null | null | src/component/extra/fps.cpp | pepng-CU/pepng | 6030798b6936a6f85655d5e5d1ca638be282de92 | [
"MIT"
] | null | null | null | #include "fps.hpp"
#include <sstream>
#include "../../io/io.hpp"
#include "../transform.hpp"
FPS::FPS(float panSpeed, float rotationSpeed) :
Component("FPS"),
__pan_speed(panSpeed),
__rotation_speed(rotationSpeed)
{}
FPS::FPS(const FPS& fps) :
Component(fps),
__pan_speed(fps.__pan_speed),
... | 25.337838 | 138 | 0.6464 | pepng-CU |
c1639a7bba7ab0bf6112e0444e986527b4cc9e8b | 2,547 | hpp | C++ | include/wire/util/concatenate.hpp | zmij/wire | 9981eb9ea182fc49ef7243eed26b9d37be70a395 | [
"Artistic-2.0"
] | 5 | 2016-04-07T19:49:39.000Z | 2021-08-03T05:24:11.000Z | include/wire/util/concatenate.hpp | zmij/wire | 9981eb9ea182fc49ef7243eed26b9d37be70a395 | [
"Artistic-2.0"
] | null | null | null | include/wire/util/concatenate.hpp | zmij/wire | 9981eb9ea182fc49ef7243eed26b9d37be70a395 | [
"Artistic-2.0"
] | 1 | 2020-12-27T11:47:31.000Z | 2020-12-27T11:47:31.000Z | /*
* stream_feeder.hpp
*
* Created on: Jan 27, 2016
* Author: zmij
*/
#ifndef WIRE_UTIL_CONCATENATE_HPP_
#define WIRE_UTIL_CONCATENATE_HPP_
#include <sstream>
#include <string>
#include <typeinfo>
namespace wire {
namespace util {
namespace detail {
struct __io_meta_function_helper {
template <typena... | 22.147826 | 100 | 0.647428 | zmij |
c1690ab82760c5260d9e570a4abf35d3f5e766f6 | 1,517 | cc | C++ | src/qtui/qtui.cc | Acidburn0zzz/audacious-plugins | 6fa3edfb44750602c8dcd2f2b1517c4a8261ba28 | [
"BSD-3-Clause"
] | null | null | null | src/qtui/qtui.cc | Acidburn0zzz/audacious-plugins | 6fa3edfb44750602c8dcd2f2b1517c4a8261ba28 | [
"BSD-3-Clause"
] | null | null | null | src/qtui/qtui.cc | Acidburn0zzz/audacious-plugins | 6fa3edfb44750602c8dcd2f2b1517c4a8261ba28 | [
"BSD-3-Clause"
] | null | null | null | /*
* qtui.cc
* Copyright 2014 Michał Lipski
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions, and the fol... | 20.780822 | 80 | 0.715887 | Acidburn0zzz |
c16976c86bb4c6c946d5ae75bca57bd100ff3431 | 244 | hpp | C++ | Projects/krkr2_on_VC/kirikiri2/src/core/environ/win32/VS2005/my_vcl/FileCtrl.hpp | CATION-M/X-moe | 2bac3bb45ff21e50921aac8422f2e00839f546e5 | [
"MIT"
] | 2 | 2020-02-25T15:18:53.000Z | 2020-08-24T13:30:34.000Z | Projects/krkr2_on_VC/kirikiri2/src/core/environ/win32/VS2005/my_vcl/FileCtrl.hpp | CATION-M/X-moe | 2bac3bb45ff21e50921aac8422f2e00839f546e5 | [
"MIT"
] | null | null | null | Projects/krkr2_on_VC/kirikiri2/src/core/environ/win32/VS2005/my_vcl/FileCtrl.hpp | CATION-M/X-moe | 2bac3bb45ff21e50921aac8422f2e00839f546e5 | [
"MIT"
] | 1 | 2019-11-25T05:29:30.000Z | 2019-11-25T05:29:30.000Z | #pragma once
#include "vcl_base.h"
#include "Buttons.hpp"
#include "Classes.hpp"
#include "Controls.hpp"
#include "Forms.hpp"
#include "Graphics.hpp"
#include "Menus.hpp"
#include "Messages.hpp"
#include "StdCtrls.hpp"
#include "SysUtils.hpp"
| 18.769231 | 23 | 0.737705 | CATION-M |
c16a57f313d112c14818c4934d202e8dd34fd05f | 4,118 | cpp | C++ | components/scene_graph/sources/core/sg_particle_emitter.cpp | untgames/funner | c91614cda55fd00f5631d2bd11c4ab91f53573a3 | [
"MIT"
] | 7 | 2016-03-30T17:00:39.000Z | 2017-03-27T16:04:04.000Z | components/scene_graph/sources/core/sg_particle_emitter.cpp | untgames/Funner | c91614cda55fd00f5631d2bd11c4ab91f53573a3 | [
"MIT"
] | 4 | 2017-11-21T11:25:49.000Z | 2018-09-20T17:59:27.000Z | components/scene_graph/sources/core/sg_particle_emitter.cpp | untgames/Funner | c91614cda55fd00f5631d2bd11c4ab91f53573a3 | [
"MIT"
] | 4 | 2016-11-29T15:18:40.000Z | 2017-03-27T16:04:08.000Z | #include "shared.h"
using namespace scene_graph;
/*
ParticleEmitter implementation
*/
typedef xtl::signal<void (ParticleEmitter& sender, ParticleEmitterEvent event)> ParticleEmitterSignal;
struct ParticleEmitter::Impl: public xtl::instance_counter<ParticleEmitter>
{
stl::string particl... | 25.899371 | 169 | 0.685041 | untgames |
c16c56082492b65f4c46d10a81aef1e7318a0828 | 204 | cpp | C++ | ai/mean-max/test/test2.cpp | jonasnic/codingame | f1a7fe8007b9ca63bdf30cd72f4d6ac41a5ac721 | [
"MIT"
] | 30 | 2016-04-30T01:56:05.000Z | 2022-03-09T22:19:12.000Z | ai/mean-max/test/test2.cpp | jonasnic/codingame | f1a7fe8007b9ca63bdf30cd72f4d6ac41a5ac721 | [
"MIT"
] | 1 | 2021-05-19T19:36:45.000Z | 2021-05-19T19:36:45.000Z | ai/mean-max/test/test2.cpp | jonasnic/codingame | f1a7fe8007b9ca63bdf30cd72f4d6ac41a5ac721 | [
"MIT"
] | 17 | 2020-01-28T13:54:06.000Z | 2022-03-26T09:49:27.000Z | #include <iostream>
#include "../../src/referee.cpp"
using namespace std;
int main() {
Referee referee;
referee.readGameInfo();
Referee refereeCopy(referee);
cout << refereeCopy.toString();
}
| 15.692308 | 33 | 0.686275 | jonasnic |
c16d16e2804cffc8f8b85b880046d455eec7ef4c | 1,110 | cpp | C++ | hackerrank/practice/data_structures/trees/swap_nodes_algo.cpp | Loks-/competitions | 3bb231ba9dd62447048832f45b09141454a51926 | [
"MIT"
] | 4 | 2018-06-05T14:15:52.000Z | 2022-02-08T05:14:23.000Z | hackerrank/practice/data_structures/trees/swap_nodes_algo.cpp | Loks-/competitions | 3bb231ba9dd62447048832f45b09141454a51926 | [
"MIT"
] | null | null | null | hackerrank/practice/data_structures/trees/swap_nodes_algo.cpp | Loks-/competitions | 3bb231ba9dd62447048832f45b09141454a51926 | [
"MIT"
] | 1 | 2018-10-21T11:01:35.000Z | 2018-10-21T11:01:35.000Z | // https://www.hackerrank.com/challenges/swap-nodes-algo
#include "common/stl/base.h"
#include <functional>
int main_swap_nodes_algo() {
unsigned N;
cin >> N;
vector<int> vl(N + 1, -1), vr(N + 1, -1), vd(N + 1, -1);
vector<bool> vh(N + 1, true);
for (unsigned i = 1; i <= N; ++i) {
int l, r;
cin >> ... | 19.137931 | 68 | 0.435135 | Loks- |
c16dc9367f81c8ff11ae5bed4efdf9351fc6c171 | 2,176 | cpp | C++ | src/handler/media_mux.cpp | anjisuan783/media_server | 443fdbda8a778c7302020ea16f4fb25cd3fd8dae | [
"MIT"
] | 9 | 2022-01-07T03:10:45.000Z | 2022-03-31T03:29:02.000Z | src/handler/media_mux.cpp | anjisuan783/media_server | 443fdbda8a778c7302020ea16f4fb25cd3fd8dae | [
"MIT"
] | 16 | 2021-12-17T08:32:57.000Z | 2022-03-10T06:16:14.000Z | src/handler/media_mux.cpp | anjisuan783/media_lib | c09c7d48f495a803df79e39cf837bbcb1320ceb8 | [
"MIT"
] | 1 | 2022-02-21T15:47:21.000Z | 2022-02-21T15:47:21.000Z | //
// Copyright (c) 2021- anjisuan783
//
// SPDX-License-Identifier: MIT
//
#include "handler/media_mux.h"
#include "common/media_kernel_error.h"
#include "utils/json.h"
#include "connection/http_conn.h"
#include "http/http_stack.h"
#include "http/h/http_message.h"
#include "connection/h/media_conn_mgr.h"
#include "r... | 27.897436 | 83 | 0.737592 | anjisuan783 |
c1718e41050f137965ec0de32d9a4ca17db3d949 | 12,031 | cpp | C++ | escriptcore/src/WrappedArray.cpp | markendr/esys-escript.github.io | 0023eab09cd71f830ab098cb3a468e6139191e8d | [
"Apache-2.0"
] | null | null | null | escriptcore/src/WrappedArray.cpp | markendr/esys-escript.github.io | 0023eab09cd71f830ab098cb3a468e6139191e8d | [
"Apache-2.0"
] | null | null | null | escriptcore/src/WrappedArray.cpp | markendr/esys-escript.github.io | 0023eab09cd71f830ab098cb3a468e6139191e8d | [
"Apache-2.0"
] | null | null | null |
/*****************************************************************************
*
* Copyright (c) 2003-2020 by The University of Queensland
* http://www.uq.edu.au
*
* Primary Business: Queensland, Australia
* Licensed under the Apache License, version 2.0
* http://www.apache.org/licenses/LICENSE-2.0
*
* Development unt... | 21.638489 | 111 | 0.591306 | markendr |
c174b800b5a2517e76055a9369c8b9f60be4a046 | 2,945 | cpp | C++ | mesh_processing/VertexWeights.cpp | rms80/libgeometry | e60ec7d34968573a9cda3f3bf56d2d4717385dc9 | [
"BSL-1.0"
] | 23 | 2015-08-13T07:36:00.000Z | 2022-01-24T19:00:04.000Z | mesh_processing/VertexWeights.cpp | rms80/libgeometry | e60ec7d34968573a9cda3f3bf56d2d4717385dc9 | [
"BSL-1.0"
] | null | null | null | mesh_processing/VertexWeights.cpp | rms80/libgeometry | e60ec7d34968573a9cda3f3bf56d2d4717385dc9 | [
"BSL-1.0"
] | 6 | 2015-07-06T21:37:31.000Z | 2020-07-01T04:07:50.000Z | // Copyright Ryan Schmidt 2011.
// Distributed under the Boost Software License, Version 1.0.
// (See copy at http://www.boost.org/LICENSE_1_0.txt)
#include "VertexWeights.h"
#include "VectorUtil.h"
#include "rmsdebug.h"
using namespace rms;
void VertexWeights::Uniform( VFTriangleMesh & mesh, IMesh... | 28.872549 | 177 | 0.619694 | rms80 |
c17829c4cf2dfb4d15e419de03804ec968cd60e6 | 4,542 | cpp | C++ | jsk_recognition_utils/src/geo/cylinder.cpp | ShunjiroOsada/jsk_visualization_package | f5305ccb79b41a2efc994a535cb316e7467961de | [
"MIT"
] | 5 | 2016-07-18T02:20:30.000Z | 2022-01-23T13:12:20.000Z | jsk_recognition_utils/src/geo/cylinder.cpp | ShunjiroOsada/jsk_visualization_package | f5305ccb79b41a2efc994a535cb316e7467961de | [
"MIT"
] | null | null | null | jsk_recognition_utils/src/geo/cylinder.cpp | ShunjiroOsada/jsk_visualization_package | f5305ccb79b41a2efc994a535cb316e7467961de | [
"MIT"
] | 7 | 2015-11-01T13:40:30.000Z | 2020-02-21T12:59:18.000Z | // -*- mode: c++ -*-
/*********************************************************************
* Software License Agreement (BSD License)
*
* Copyright (c) 2014, JSK Lab
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the ... | 39.495652 | 86 | 0.643329 | ShunjiroOsada |
c178fc54bf3d7ce82998eb41a6ab8a68b9b7f669 | 454 | hpp | C++ | src/Client/EnviadoresCliente/EnviadorCredenciales.hpp | brunograssano/SuperMarioBros-Honguitos | f945e434bc317a6d8c8d682b1042d8a385929156 | [
"MIT"
] | 4 | 2021-02-21T17:12:46.000Z | 2021-02-25T20:36:27.000Z | src/Client/EnviadoresCliente/EnviadorCredenciales.hpp | brunograssano/SuperMarioBros-Honguitos | f945e434bc317a6d8c8d682b1042d8a385929156 | [
"MIT"
] | null | null | null | src/Client/EnviadoresCliente/EnviadorCredenciales.hpp | brunograssano/SuperMarioBros-Honguitos | f945e434bc317a6d8c8d682b1042d8a385929156 | [
"MIT"
] | 2 | 2021-02-20T19:49:33.000Z | 2021-02-25T20:35:22.000Z | #ifndef SRC_CLIENT_ENVIADORESCLIENTE_ENVIADORCREDENCIALES_HPP_
#define SRC_CLIENT_ENVIADORESCLIENTE_ENVIADORCREDENCIALES_HPP_
#include "src/Utils/Enviador.hpp"
class EnviadorCredenciales:public Enviador{
public:
explicit EnviadorCredenciales(Socket* socket);
void enviar()override;
void dejarInformacion(void* i... | 25.222222 | 67 | 0.84141 | brunograssano |
c17a07f579626e88d8c3f8149000b9873dfb35aa | 3,994 | cpp | C++ | code/src/GeminiClient.cpp | Blackmane/gemini | 4c7091aec06826bf2ff440c858a18c9e05730d59 | [
"MIT"
] | null | null | null | code/src/GeminiClient.cpp | Blackmane/gemini | 4c7091aec06826bf2ff440c858a18c9e05730d59 | [
"MIT"
] | null | null | null | code/src/GeminiClient.cpp | Blackmane/gemini | 4c7091aec06826bf2ff440c858a18c9e05730d59 | [
"MIT"
] | null | null | null | /**
* @file GeminiClient.cpp
* @brief implementation
*
* @author Niccolò Pieretti
* @date 02 Apr 2021
*
****************************************************************************
*
* _ _ o __ __ __ _ o _ ,_ _
* / |/ | | / / / \_|/ \_| |/ / | |/
... | 31.698413 | 78 | 0.604407 | Blackmane |
c17ccb994cf70cce6b7413301df3b7cf91582208 | 2,343 | cpp | C++ | uppdev/stdapp/stdappSplash.cpp | dreamsxin/ultimatepp | 41d295d999f9ff1339b34b43c99ce279b9b3991c | [
"BSD-2-Clause"
] | 2 | 2016-04-07T07:54:26.000Z | 2020-04-14T12:37:34.000Z | uppdev/stdapp/stdappSplash.cpp | dreamsxin/ultimatepp | 41d295d999f9ff1339b34b43c99ce279b9b3991c | [
"BSD-2-Clause"
] | null | null | null | uppdev/stdapp/stdappSplash.cpp | dreamsxin/ultimatepp | 41d295d999f9ff1339b34b43c99ce279b9b3991c | [
"BSD-2-Clause"
] | null | null | null | #include <stdapp/stdappSplash.hpp>
#define IMAGECLASS UPP_LogoImg
#define IMAGEFILE <stdapp/UPP_Logo_033.iml>
#include <Draw/iml_source.h>
Splash::Splash(const int language, const int ms)
{
SetLanguage(language);
SetRect(GetWorkArea().CenterRect(MakeSplash(*this, widgets) + 2));
SetFrame(BlackFr... | 33 | 87 | 0.685446 | dreamsxin |
c17fc0d94a34616853aac134528108d402eb6364 | 2,154 | hpp | C++ | libelement/src/object_model/declarations/declaration.hpp | ultraleap/Element | 6fe9ab800a9152482e719a7dc17d296bad464eb6 | [
"Apache-2.0"
] | 12 | 2019-12-17T18:27:04.000Z | 2021-06-04T08:46:05.000Z | libelement/src/object_model/declarations/declaration.hpp | ultraleap/Element | 6fe9ab800a9152482e719a7dc17d296bad464eb6 | [
"Apache-2.0"
] | 12 | 2020-10-27T14:30:37.000Z | 2022-01-05T16:50:53.000Z | libelement/src/object_model/declarations/declaration.hpp | ultraleap/Element | 6fe9ab800a9152482e719a7dc17d296bad464eb6 | [
"Apache-2.0"
] | 6 | 2020-01-10T23:45:48.000Z | 2021-07-01T22:58:01.000Z | #pragma once
//SELF
#include "object_model/object_internal.hpp"
#include "object_model/scope.hpp"
#include "object_model/call_stack.hpp"
namespace element
{
static const std::string intrinsic_qualifier = "intrinsic";
static const std::string namespace_qualifier = "namespace";
static const std::string constraint_quali... | 43.08 | 173 | 0.736769 | ultraleap |
c181b5a07187c900d3ad3a1b4baf132f13cfa7b0 | 61,082 | hpp | C++ | hpx/hpx_fwd.hpp | andreasbuhr/hpx | 4366a90aacbd3e95428a94ab24a1646a67459cc2 | [
"BSL-1.0"
] | null | null | null | hpx/hpx_fwd.hpp | andreasbuhr/hpx | 4366a90aacbd3e95428a94ab24a1646a67459cc2 | [
"BSL-1.0"
] | null | null | null | hpx/hpx_fwd.hpp | andreasbuhr/hpx | 4366a90aacbd3e95428a94ab24a1646a67459cc2 | [
"BSL-1.0"
] | null | null | null | // Copyright (c) 2007-2013 Hartmut Kaiser
// Copyright (c) 2011 Bryce Lelbach
//
// 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)
/// \file hpx_fwd.hpp
#if !defined(HPX_HPX_FWD_MAR_24_2008_1119AM)
#define ... | 43.167491 | 105 | 0.606447 | andreasbuhr |
c181d6aba3a40cbc3958e0b7b480daf7ef966266 | 2,158 | cpp | C++ | NodesKLevelFar.cpp | aak-301/data-structure | 13d63e408a0001ceb06e2937ab8fcc3f176db78d | [
"Apache-2.0"
] | null | null | null | NodesKLevelFar.cpp | aak-301/data-structure | 13d63e408a0001ceb06e2937ab8fcc3f176db78d | [
"Apache-2.0"
] | null | null | null | NodesKLevelFar.cpp | aak-301/data-structure | 13d63e408a0001ceb06e2937ab8fcc3f176db78d | [
"Apache-2.0"
] | null | null | null | // https://leetcode.com/problems/all-nodes-distance-k-in-binary-tree/submissions/
#include<iostream>
#include<vector>
using namespace std;
struct TreeNode{
int val;
struct TreeNode *left, *right;
TreeNode(int x){
val = x;
left=NULL;
right=NULL;
}
};
bool findUnti... | 28.025974 | 82 | 0.517609 | aak-301 |
c182d6effc1e8cac25e61efd8ea0c169dfbca65e | 8,529 | cpp | C++ | Source/World/Item.cpp | Andres6936/TinyRogue | 9198347fd5080ac1d6cf21f0da6266202594cf54 | [
"MIT"
] | 10 | 2017-12-04T14:15:53.000Z | 2021-07-28T06:17:56.000Z | Source/World/Item.cpp | Andres6936/TinyRogue | 9198347fd5080ac1d6cf21f0da6266202594cf54 | [
"MIT"
] | null | null | null | Source/World/Item.cpp | Andres6936/TinyRogue | 9198347fd5080ac1d6cf21f0da6266202594cf54 | [
"MIT"
] | 1 | 2018-01-21T16:15:39.000Z | 2018-01-21T16:15:39.000Z | #include "Item.hpp"
#include "ActorPlayer.hpp" // REMOVE:
#include "../Graphics/Color.hpp"
#include "../Utility/Rng.hpp"
#include "../Utility/Utility.hpp"
// Items
#include "Items/Potion.hpp"
#include "Items/Scroll.hpp"
#include "Items/Weapon.hpp"
#include "Items/Armor.hpp"
#include "Items/Ring.hpp"
#inclu... | 17.126506 | 95 | 0.584594 | Andres6936 |
c183d7754048099fca5672cd8a54e37c7aedb5a0 | 505 | cpp | C++ | main.cpp | sandsmark/epubreader | 1bc70119a6074d14fb9e5ff219097e058ef96442 | [
"BSD-3-Clause"
] | 19 | 2016-11-27T03:48:13.000Z | 2021-12-17T01:51:14.000Z | main.cpp | sandsmark/epubreader | 1bc70119a6074d14fb9e5ff219097e058ef96442 | [
"BSD-3-Clause"
] | 4 | 2017-03-22T16:31:53.000Z | 2022-01-25T01:43:42.000Z | main.cpp | sandsmark/epubreader | 1bc70119a6074d14fb9e5ff219097e058ef96442 | [
"BSD-3-Clause"
] | 5 | 2017-03-21T17:53:58.000Z | 2021-04-01T08:43:11.000Z | #include "widget.h"
#include <QApplication>
#include <QDebug>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
a.setQuitOnLastWindowClosed(true);
Widget *w = new Widget;
w->setAttribute(Qt::WA_DeleteOnClose);
if (argc > 1) {
if (!w->loadFile(argv[1])) {
qWarning()... | 19.423077 | 54 | 0.512871 | sandsmark |
c184149a9d38d0b872508529e4b4edbe5bcbc60e | 1,277 | cc | C++ | paddle/fluid/platform/device/ipu/ipu_info.cc | zmxdream/Paddle | 04f042a5d507ad98f7f2cfc3cbc44b06d7a7f45c | [
"Apache-2.0"
] | 2 | 2021-11-12T11:31:12.000Z | 2021-12-05T10:30:28.000Z | paddle/fluid/platform/device/ipu/ipu_info.cc | zmxdream/Paddle | 04f042a5d507ad98f7f2cfc3cbc44b06d7a7f45c | [
"Apache-2.0"
] | 1 | 2021-11-01T06:28:16.000Z | 2021-11-01T06:28:16.000Z | paddle/fluid/platform/device/ipu/ipu_info.cc | zmxdream/Paddle | 04f042a5d507ad98f7f2cfc3cbc44b06d7a7f45c | [
"Apache-2.0"
] | 5 | 2021-12-10T11:20:06.000Z | 2022-02-18T05:18:12.000Z | /* Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or ag... | 38.69697 | 72 | 0.762725 | zmxdream |
c1845d8cbb1d6e4ba2ed377596564af0620ae37d | 905 | cpp | C++ | migration_enclave/untrusted/TcpServer.cpp | SSGAalto/sgx-migration | 4dd8c4d9d9ffac1155a3161e9a0321b0f4a4377a | [
"Apache-2.0"
] | 14 | 2018-11-28T13:45:03.000Z | 2022-02-10T02:22:49.000Z | migration_enclave/untrusted/TcpServer.cpp | SSGAalto/sgx-migration | 4dd8c4d9d9ffac1155a3161e9a0321b0f4a4377a | [
"Apache-2.0"
] | 4 | 2020-02-26T07:41:18.000Z | 2021-06-15T09:58:45.000Z | migration_enclave/untrusted/TcpServer.cpp | SSGAalto/sgx-migration | 4dd8c4d9d9ffac1155a3161e9a0321b0f4a4377a | [
"Apache-2.0"
] | 6 | 2018-11-28T13:54:39.000Z | 2021-01-20T14:41:54.000Z | /*
* TcpServer.cpp
*
* Created on: Aug 22, 2017
*/
#include "TcpServer.h"
namespace network{
TcpServer::TcpServer(boost::asio::io_service& io_service, unsigned short port,
std::function<int(TcpConnection *conn, message_t *msg)> callback)
: acceptor_(io_service, tcp::endpoint(tcp::v4(), por... | 22.625 | 106 | 0.669613 | SSGAalto |
c1862f98a059c6beab92ef353f27e694106bef60 | 997 | cpp | C++ | codeforces/1430/1430D/main.cpp | xirc/cp-algorithm | 89c67cff2f00459c5bb020ab44bff5ae419a1728 | [
"Apache-2.0"
] | 8 | 2020-12-23T07:54:53.000Z | 2021-11-23T02:46:35.000Z | codeforces/1430/1430D/main.cpp | xirc/cp-algorithm | 89c67cff2f00459c5bb020ab44bff5ae419a1728 | [
"Apache-2.0"
] | 1 | 2020-11-07T13:22:29.000Z | 2020-12-20T12:54:00.000Z | codeforces/1430/1430D/main.cpp | xirc/cp-algorithm | 89c67cff2f00459c5bb020ab44bff5ae419a1728 | [
"Apache-2.0"
] | 1 | 2021-01-16T03:40:10.000Z | 2021-01-16T03:40:10.000Z | #include <bits/stdc++.h>
using namespace std;
int solve(int N, string const& S) {
map<int, int> count;
vector<int> next(N, -1);
for (int i = 0; i < N; ++i) {
int j;
for (j = i + 1; j < N; ++j) {
if (S[i] != S[j]) break;
}
if (j > i + 1) {
count[i] =... | 19.54902 | 72 | 0.377131 | xirc |
c1865d0df63483a4e1ed41a9f9d8eb601daa4d43 | 1,461 | hpp | C++ | engine/include/Engine/SpriteBounds.hpp | Alexthehuman3/ASGE | a9cf473a3117f4b67a2dbe8fac00b1a2a4fd6e44 | [
"MIT"
] | 8 | 2020-04-26T11:48:29.000Z | 2022-02-23T15:13:50.000Z | engine/include/Engine/SpriteBounds.hpp | Alexthehuman3/ASGE | a9cf473a3117f4b67a2dbe8fac00b1a2a4fd6e44 | [
"MIT"
] | null | null | null | engine/include/Engine/SpriteBounds.hpp | Alexthehuman3/ASGE | a9cf473a3117f4b67a2dbe8fac00b1a2a4fd6e44 | [
"MIT"
] | 1 | 2021-05-13T16:37:24.000Z | 2021-05-13T16:37:24.000Z | // Copyright (c) 2021 James Huxtable. All rights reserved.
//
// This work is licensed under the terms of the MIT license.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE... | 33.204545 | 81 | 0.698152 | Alexthehuman3 |
c18782859e92c0451ee2ec694d9b240aedca574b | 3,083 | cpp | C++ | winp/winp/test/hook_test.cpp | benbraide/winp2 | f2687fe00b8cbda10f3e8d169c0c3823cf8e6c5f | [
"MIT"
] | null | null | null | winp/winp/test/hook_test.cpp | benbraide/winp2 | f2687fe00b8cbda10f3e8d169c0c3823cf8e6c5f | [
"MIT"
] | null | null | null | winp/winp/test/hook_test.cpp | benbraide/winp2 | f2687fe00b8cbda10f3e8d169c0c3823cf8e6c5f | [
"MIT"
] | null | null | null | #include "hook_test.h"
void winp::test::hook::run(int cmd_show){
winp::window::object ws;
ws.set_caption(L"Test Window");
ws.set_position(30, 30);
ws.set_size(1500, 800);
ws.create();
ws.show(cmd_show);
ws.get_grid([](winp::grid::object &grd){
grd.add_object([](winp::grid::row &row){
row.add_object([](win... | 32.797872 | 174 | 0.662018 | benbraide |
c187b2ab8bcc19a64601b02337c4528c929d6911 | 5,731 | cpp | C++ | Project4/src/ofApp.cpp | WenheLI/advanced_creative_code_19 | 1480c6ff8b7f5f53cc0f3ff8677138e70cff5269 | [
"MIT"
] | null | null | null | Project4/src/ofApp.cpp | WenheLI/advanced_creative_code_19 | 1480c6ff8b7f5f53cc0f3ff8677138e70cff5269 | [
"MIT"
] | null | null | null | Project4/src/ofApp.cpp | WenheLI/advanced_creative_code_19 | 1480c6ff8b7f5f53cc0f3ff8677138e70cff5269 | [
"MIT"
] | null | null | null | #include "ofApp.h"
//--------------------------------------------------------------
void ofApp::setup(){
ofSetFrameRate(60);
for (int i = 0; i < 5; i++) {
auto b = make_shared<Ball>();
b->init();
balls.push_back(b);
}
phase = 0;
int bufferSize = 512;
vo... | 24.283898 | 113 | 0.462746 | WenheLI |
c1885c143429dafe1bc1a5ac7666e2d7aba77ab9 | 1,556 | cc | C++ | cc/test/fake_external_begin_frame_source.cc | kjthegod/chromium | cf940f7f418436b77e15b1ea23e6fa100ca1c91a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 5 | 2015-04-30T00:13:21.000Z | 2019-07-10T02:17:24.000Z | cc/test/fake_external_begin_frame_source.cc | kjthegod/chromium | cf940f7f418436b77e15b1ea23e6fa100ca1c91a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | cc/test/fake_external_begin_frame_source.cc | kjthegod/chromium | cf940f7f418436b77e15b1ea23e6fa100ca1c91a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2015-03-27T11:15:39.000Z | 2016-08-17T14:19:56.000Z | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "cc/test/fake_external_begin_frame_source.h"
#include "base/location.h"
#include "base/message_loop/message_loop.h"
#include "base/time/time.h"
... | 28.290909 | 79 | 0.760283 | kjthegod |
c18ed2a631202bf3c99791fc194a9bbd53ad84ae | 684 | cpp | C++ | 1 Mathematics/gcd.cpp | AdityaVSM/algorithms | 0ab0147a1e3905cf3096576a89cbce13de2673ed | [
"MIT"
] | null | null | null | 1 Mathematics/gcd.cpp | AdityaVSM/algorithms | 0ab0147a1e3905cf3096576a89cbce13de2673ed | [
"MIT"
] | null | null | null | 1 Mathematics/gcd.cpp | AdityaVSM/algorithms | 0ab0147a1e3905cf3096576a89cbce13de2673ed | [
"MIT"
] | null | null | null | #include<bits/stdc++.h>
using namespace std;
int gcd1(int a, int b){ //worst cse:O(min(a,b))
int small = std::min(a,b);
while(small > 0){
if(a%small == 0 && b%small == 0){
break;
}
small--;
}
return small;
}
//Euclid algo
int gcd2(int a, int b){
... | 19 | 60 | 0.457602 | AdityaVSM |
c1901445cf21033fb7a2bab6fdc196dbaa46cd42 | 6,059 | cpp | C++ | core/src/db/snapshot/Operations.cpp | zhang19941219/milvus | afac02ca2f1cab7bd98afb8fe6981d602b7a9a9b | [
"Apache-2.0"
] | null | null | null | core/src/db/snapshot/Operations.cpp | zhang19941219/milvus | afac02ca2f1cab7bd98afb8fe6981d602b7a9a9b | [
"Apache-2.0"
] | null | null | null | core/src/db/snapshot/Operations.cpp | zhang19941219/milvus | afac02ca2f1cab7bd98afb8fe6981d602b7a9a9b | [
"Apache-2.0"
] | null | null | null | // Copyright (C) 2019-2020 Zilliz. 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 l... | 24.139442 | 113 | 0.653738 | zhang19941219 |
c1914370cd26ac29d17d65ca214cdbda79fd6eea | 5,723 | cpp | C++ | algorithms/kernel/neural_networks/layers/pooling1d_layer/backward/pooling1d_layer_backward.cpp | rayrapetyan/daal | 41cc748dc50097b1064e40395a4da7ce6f836244 | [
"Apache-2.0"
] | null | null | null | algorithms/kernel/neural_networks/layers/pooling1d_layer/backward/pooling1d_layer_backward.cpp | rayrapetyan/daal | 41cc748dc50097b1064e40395a4da7ce6f836244 | [
"Apache-2.0"
] | null | null | null | algorithms/kernel/neural_networks/layers/pooling1d_layer/backward/pooling1d_layer_backward.cpp | rayrapetyan/daal | 41cc748dc50097b1064e40395a4da7ce6f836244 | [
"Apache-2.0"
] | null | null | null | /* file: pooling1d_layer_backward.cpp */
/*******************************************************************************
* Copyright 2014-2018 Intel Corporation
* All Rights Reserved.
*
* If this software was obtained under the Intel Simplified Software License,
* the following terms apply:
*
* The source code, i... | 38.153333 | 158 | 0.706098 | rayrapetyan |
c1920641d9f469968a5478ece13f1c1ddcd4f8c0 | 2,415 | cpp | C++ | src/heap.cpp | tenglvjun/Algorithm | 463873ae0dbbbf774ad427e98bf0c71147b1fb5c | [
"MIT"
] | null | null | null | src/heap.cpp | tenglvjun/Algorithm | 463873ae0dbbbf774ad427e98bf0c71147b1fb5c | [
"MIT"
] | null | null | null | src/heap.cpp | tenglvjun/Algorithm | 463873ae0dbbbf774ad427e98bf0c71147b1fb5c | [
"MIT"
] | null | null | null | #include "heap.h"
#include "macro.h"
#include <assert.h>
#include <cmath>
#include "tools.h"
Heap::Heap(bool maxHeapify /* = true */)
: ContinueContainer(), m_isMaxHeapify(maxHeapify)
{
}
Heap::Heap(int *data, int len, bool maxHeapify /* = true */)
: ContinueContainer(data, len), m_isMaxHeapify(maxHeapify)
{
... | 17.888889 | 74 | 0.496066 | tenglvjun |
c192da0b8712aa41516af77289357418d3410ac2 | 944 | cc | C++ | below2.1/whatdoesthefoxsay.cc | danzel-py/Kattis-Problem-Archive | bce1929d654b1bceb104f96d68c74349273dd1ff | [
"Apache-2.0"
] | null | null | null | below2.1/whatdoesthefoxsay.cc | danzel-py/Kattis-Problem-Archive | bce1929d654b1bceb104f96d68c74349273dd1ff | [
"Apache-2.0"
] | null | null | null | below2.1/whatdoesthefoxsay.cc | danzel-py/Kattis-Problem-Archive | bce1929d654b1bceb104f96d68c74349273dd1ff | [
"Apache-2.0"
] | null | null | null | #include <iostream>
#include <regex>
#include <sstream>
#include <map>
using namespace std;
int main()
{
int n;
cin >> n;
cin.ignore(11000, '\n');
string str, strdict, animal, goes, sound;
regex e("[A-Za-z]+");
for (int i = 0; i < n; i++)
{
map<string, int> maptoanimal;
... | 21.953488 | 105 | 0.439619 | danzel-py |
c19ce513d2df9cc41bf5e08315e929eeb353e771 | 693 | cpp | C++ | 3_OOP/LyThuyet-T6/Bai-3/Xe.cpp | SummerSad/HCMUS-Lectures | b376e144e2601a73684e2ff437ab5c94a943909c | [
"MIT"
] | 8 | 2020-05-11T09:48:40.000Z | 2022-03-28T13:43:27.000Z | 3_OOP/LyThuyet-T6/Bai-3/Xe.cpp | SummerSad/HCMUS-Lectures | b376e144e2601a73684e2ff437ab5c94a943909c | [
"MIT"
] | null | null | null | 3_OOP/LyThuyet-T6/Bai-3/Xe.cpp | SummerSad/HCMUS-Lectures | b376e144e2601a73684e2ff437ab5c94a943909c | [
"MIT"
] | 4 | 2021-04-13T04:01:50.000Z | 2021-12-10T01:12:15.000Z | #include "Xe.h"
// Xe
Xe::Xe(double tocdoXang0Tai, double tocdoXangHH)
{
m_xang = 0;
m_duong = 0;
m_hang = 0;
m_tocdoXang0Tai = tocdoXang0Tai;
m_tocdoXangHH = tocdoXangHH;
m_xangTieuThu = m_tocdoXang0Tai * m_duong + m_tocdoXangHH * m_hang;
}
void Xe::themHang(double hang)
{
m_hang += hang;
m_xangTieuThu += m_... | 14.744681 | 68 | 0.681097 | SummerSad |
c1a2643ada253d12752ac95c546898830176b297 | 9,925 | cpp | C++ | test/when_all_tests.cpp | toomuchsalt/cppcoro | 552e67e7381166747fe8ec5dc3f71637daf765b8 | [
"MIT"
] | 13 | 2020-09-30T17:03:18.000Z | 2022-02-21T11:42:12.000Z | test/when_all_tests.cpp | arthurzam/cppcoro | a736b873c599175f551b7bbdedc8365eacdd1334 | [
"MIT"
] | null | null | null | test/when_all_tests.cpp | arthurzam/cppcoro | a736b873c599175f551b7bbdedc8365eacdd1334 | [
"MIT"
] | 5 | 2020-10-10T14:22:58.000Z | 2021-02-10T01:58:40.000Z | ///////////////////////////////////////////////////////////////////////////////
// Copyright (c) Lewis Baker
// Licenced under MIT license. See LICENSE.txt for details.
///////////////////////////////////////////////////////////////////////////////
#include <cppcoro/when_all.hpp>
#include <cppcoro/config.hpp>
#includ... | 22.816092 | 111 | 0.672443 | toomuchsalt |
c1a3732f8f88d6bcca1283515024ce50f6da54b6 | 305 | cpp | C++ | allMatuCommit/根据公式输出圆周率(C++)_202021080718_20210920095442.cpp | BachWV/matu | d4e3a89385f0a205431dd34c2c7214af40bb8ddb | [
"MIT"
] | null | null | null | allMatuCommit/根据公式输出圆周率(C++)_202021080718_20210920095442.cpp | BachWV/matu | d4e3a89385f0a205431dd34c2c7214af40bb8ddb | [
"MIT"
] | null | null | null | allMatuCommit/根据公式输出圆周率(C++)_202021080718_20210920095442.cpp | BachWV/matu | d4e3a89385f0a205431dd34c2c7214af40bb8ddb | [
"MIT"
] | null | null | null | #include<iostream>
#include<math.h>
using namespace std;
int main() {
double i=0, a=1,sign=1;
double sum=0;
while (fabs(a) >= 1e-8) {
sum = sum + (sign *a);
i++;
a = 1/(2 * i + 1);
sign = -sign;
}
cout << "steps=" << i<<" " << "PI=" << sum*4.0;
} | 19.0625 | 49 | 0.429508 | BachWV |
c1a5382592dc116109dae31829044f0cf4264518 | 4,363 | cpp | C++ | src/trajectory_generator.cpp | marcomarasca/SDCND-Path-Planning | cf5a7104512d6d2d92943b53df040dc81e270511 | [
"MIT"
] | 1 | 2021-06-09T23:01:32.000Z | 2021-06-09T23:01:32.000Z | src/trajectory_generator.cpp | marcomarasca/SDCND-Path-Planning | cf5a7104512d6d2d92943b53df040dc81e270511 | [
"MIT"
] | 1 | 2020-10-03T08:58:44.000Z | 2020-10-17T13:05:14.000Z | src/trajectory_generator.cpp | marcomarasca/SDCND-Path-Planning | cf5a7104512d6d2d92943b53df040dc81e270511 | [
"MIT"
] | null | null | null | #include "trajectory_generator.h"
#include "Eigen/Dense"
#include "utils.h"
using Eigen::Matrix3d;
using Eigen::Vector3d;
PathPlanning::TrajectoryGenerator::TrajectoryGenerator(const Map &map, double step_dt, double max_speed, double max_acc)
: map(map), step_dt(step_dt), max_speed(max_speed), max_acc(max... | 38.27193 | 121 | 0.62755 | marcomarasca |
c1a72bedb047741b20802031c3673c820b213dfb | 4,378 | cpp | C++ | src/dataaccess/datalayer/cache/cachebase.cpp | mage-game/metagame-xm-server | 193b67389262803fe0eae742800b1e878b5b3087 | [
"MIT"
] | 3 | 2021-12-16T13:57:28.000Z | 2022-03-26T07:50:08.000Z | src/dataaccess/datalayer/cache/cachebase.cpp | mage-game/metagame-xm-server | 193b67389262803fe0eae742800b1e878b5b3087 | [
"MIT"
] | null | null | null | src/dataaccess/datalayer/cache/cachebase.cpp | mage-game/metagame-xm-server | 193b67389262803fe0eae742800b1e878b5b3087 | [
"MIT"
] | 1 | 2022-03-26T07:50:11.000Z | 2022-03-26T07:50:11.000Z |
#include "cachebase.h"
#include "db/connpool.h"
#include "db/statement.h"
#include "db/connection.h"
int CacheBase::GetNagtiveCount()
{
return 100;
}
void CacheBase::Nagtive(IStatement *stmt)
{
m_nagtive_lock.Lock();
if( (int)m_nagtive_list.size() <= (GetNagtiveCount() / 2) )
{
NagtiveHelper(stmt);
}
m_nag... | 21.89 | 103 | 0.679534 | mage-game |
c1a933dc92da5cf4d1256b14daa9af958f8914ec | 41,186 | cc | C++ | oommf/app/oxs/ext/rectangularmesh.cc | fangohr/oommf | 67fa0d69eadbbb9eef320babd07910f6d7b4e089 | [
"TCL"
] | 18 | 2016-04-29T10:11:29.000Z | 2022-02-13T08:48:39.000Z | oommf/app/oxs/ext/rectangularmesh.cc | fangohr/oommf | 67fa0d69eadbbb9eef320babd07910f6d7b4e089 | [
"TCL"
] | 29 | 2017-11-01T20:00:28.000Z | 2021-10-05T12:22:50.000Z | oommf/app/oxs/ext/rectangularmesh.cc | fangohr/oommf | 67fa0d69eadbbb9eef320babd07910f6d7b4e089 | [
"TCL"
] | 11 | 2015-10-17T19:41:29.000Z | 2021-05-12T08:32:37.000Z | /* FILE: rectangularmesh.cc -*-Mode: c++-*-
*
* Rectangular mesh, derived from Oxs_Mesh class.
*
*/
#include "nb.h"
#include "vf.h"
#include "atlas.h"
#include "meshvalue.h"
#include "oxsexcept.h"
#include "rectangularmesh.h"
#include "director.h"
#include "nb.h"
#include "energy.h" // Needed t... | 35.292202 | 78 | 0.619215 | fangohr |
c1aa769e9759479190f0376cde279662b9846eb1 | 373 | cpp | C++ | Arduino/build/sketch/ClassName.cpp | CrtomirJuren/ball-beam-pid-control | 3ce0cdfd946213b0330c24e24cd1c453efb97990 | [
"MIT"
] | null | null | null | Arduino/build/sketch/ClassName.cpp | CrtomirJuren/ball-beam-pid-control | 3ce0cdfd946213b0330c24e24cd1c453efb97990 | [
"MIT"
] | null | null | null | Arduino/build/sketch/ClassName.cpp | CrtomirJuren/ball-beam-pid-control | 3ce0cdfd946213b0330c24e24cd1c453efb97990 | [
"MIT"
] | null | null | null | #include "Arduino.h"
#include "ClassName.h"
// class constructor
ClassName::ClassName(int pin)
{
//pinMode(pin, OUTPUT);
_pin = pin;
}
void ClassName::dot()
{
//digitalWrite(_pin, HIGH);
delay(10);
//digitalWrite(_pin, LOW);
//delay(250);
}
void ClassName::dash()
{
//digitalWrite(_pin, HIGH);
delay... | 14.346154 | 29 | 0.632708 | CrtomirJuren |
c1aa805b870beded8db42ced40c0281d05694d63 | 2,760 | cpp | C++ | KCPlugins/Housing/mealcalendar.cpp | louvainlinux/KapCompta | 8d871a718f945748dbed9207222bfd1efb6d5526 | [
"MIT"
] | 1 | 2015-08-26T14:17:26.000Z | 2015-08-26T14:17:26.000Z | KCPlugins/Housing/mealcalendar.cpp | louvainlinux/KapCompta | 8d871a718f945748dbed9207222bfd1efb6d5526 | [
"MIT"
] | null | null | null | KCPlugins/Housing/mealcalendar.cpp | louvainlinux/KapCompta | 8d871a718f945748dbed9207222bfd1efb6d5526 | [
"MIT"
] | null | null | null | /*
* Copyright (c) 2012-2013, Olivier Tilmans
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merg... | 40.588235 | 99 | 0.681884 | louvainlinux |
c1aad387194468dec80a0d3d8197823493e1dfa5 | 10,592 | cpp | C++ | SIGMA/contig_reader.cpp | lorenzgerber/OPERA-MS | bd1fb94f73a1bb7cefe3d9ad438bc3c53c069f9f | [
"MIT"
] | 81 | 2018-03-22T15:01:08.000Z | 2022-01-17T17:52:31.000Z | SIGMA/contig_reader.cpp | lorenzgerber/OPERA-MS | bd1fb94f73a1bb7cefe3d9ad438bc3c53c069f9f | [
"MIT"
] | 68 | 2017-09-14T08:17:53.000Z | 2022-03-09T18:56:12.000Z | SIGMA/contig_reader.cpp | lorenzgerber/OPERA-MS | bd1fb94f73a1bb7cefe3d9ad438bc3c53c069f9f | [
"MIT"
] | 21 | 2017-09-14T06:15:18.000Z | 2021-09-30T03:19:22.000Z | #include <cstdlib>
#include <cstdio>
#include <iostream>
#include <fstream>
#include <string.h>
#include "contig_reader.h"
#include "sigma.h"
ContigReader::~ContigReader() {}
AllReader::AllReader(){}
long int AllReader::read(const char* contigs_file, ContigMap* contigs) {
int length = 0;
long int assembly_s... | 29.179063 | 114 | 0.54966 | lorenzgerber |
c1abd739aa9b31b2058152f6914efece0b0c7b3a | 496 | hpp | C++ | libs/fnd/tuple/include/bksge/fnd/tuple/tuple_tail_type.hpp | myoukaku/bksge | 0f8b60e475a3f1709723906e4796b5e60decf06e | [
"MIT"
] | 4 | 2018-06-10T13:35:32.000Z | 2021-06-03T14:27:41.000Z | libs/fnd/tuple/include/bksge/fnd/tuple/tuple_tail_type.hpp | myoukaku/bksge | 0f8b60e475a3f1709723906e4796b5e60decf06e | [
"MIT"
] | 566 | 2017-01-31T05:36:09.000Z | 2022-02-09T05:04:37.000Z | libs/fnd/tuple/include/bksge/fnd/tuple/tuple_tail_type.hpp | myoukaku/bksge | 0f8b60e475a3f1709723906e4796b5e60decf06e | [
"MIT"
] | 1 | 2018-07-05T04:40:53.000Z | 2018-07-05T04:40:53.000Z | /**
* @file tuple_tail_type.hpp
*
* @brief tuple_tail_type の定義
*
* @author myoukaku
*/
#ifndef BKSGE_FND_TUPLE_TUPLE_TAIL_TYPE_HPP
#define BKSGE_FND_TUPLE_TUPLE_TAIL_TYPE_HPP
#include <bksge/fnd/tuple/fwd/tuple_tail_type_fwd.hpp>
namespace bksge
{
/**
* @brief 先頭要素を除いたTupleを返す
*/
templat... | 17.714286 | 55 | 0.729839 | myoukaku |
c1abe2c5d195d7510f656b864aaf41cfed630299 | 8,934 | hxx | C++ | private/ispu/pkitrust/common/cjetblue.hxx | King0987654/windows2000 | 01f9c2e62c4289194e33244aade34b7d19e7c9b8 | [
"MIT"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | ds/security/cryptoapi/pkitrust/common/cjetblue.hxx | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | ds/security/cryptoapi/pkitrust/common/cjetblue.hxx | 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, 1996 - 1999
//
// File: cjetblue.hxx
//
// Contents: Microsoft Internet Security Common
//
// History: 23-Oct-1997 pberkman created
//
//---------... | 67.172932 | 124 | 0.561115 | King0987654 |
c1ae3abca0a1e3e56e8736ed3cfaa22d6255e6da | 2,829 | cpp | C++ | Various_Support_Classes/Path.cpp | ValveDigitalHealth/EPlabResearchWorksApp | bfae0b2e5e492bca778e96457738ba316e77b197 | [
"MIT"
] | null | null | null | Various_Support_Classes/Path.cpp | ValveDigitalHealth/EPlabResearchWorksApp | bfae0b2e5e492bca778e96457738ba316e77b197 | [
"MIT"
] | null | null | null | Various_Support_Classes/Path.cpp | ValveDigitalHealth/EPlabResearchWorksApp | bfae0b2e5e492bca778e96457738ba316e77b197 | [
"MIT"
] | null | null | null | //---------------------------------------------------------------------------
/*
MIT LICENSE Copyright (c) 2021 Pawel Kuklik
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, i... | 32.147727 | 78 | 0.583245 | ValveDigitalHealth |
c1b22530e46186ee57d0950099f4b8ae13f10b8f | 271 | cpp | C++ | CS154/10-8/A.cpp | daxixi/SJTU-online-Judge-solution | 8beb0ef4965a574ce6fffeba0aad308d96ac0c87 | [
"Apache-2.0"
] | null | null | null | CS154/10-8/A.cpp | daxixi/SJTU-online-Judge-solution | 8beb0ef4965a574ce6fffeba0aad308d96ac0c87 | [
"Apache-2.0"
] | null | null | null | CS154/10-8/A.cpp | daxixi/SJTU-online-Judge-solution | 8beb0ef4965a574ce6fffeba0aad308d96ac0c87 | [
"Apache-2.0"
] | null | null | null | #include<iostream>
#include<cstdio>
using namespace std;
int main()
{
int a,b;
cin>>a>>b;
cout<<a<<"+"<<b<<"="<<a+b<<endl;
cout<<a<<"*"<<b<<"="<<a*b<<endl;
cout<<a<<"/"<<b<<"="<<a/b<<endl;
cout<<a<<"%"<<b<<"="<<a%b<<endl;
return 0;
}
| 19.357143 | 39 | 0.431734 | daxixi |
c1b3da6e54fc4b5aecf92b02eedee000af1688fe | 552 | tcc | C++ | inc/libutils/io/ostream_log_strategy.tcc | nkming2/libutils | e044c8f1265aad50092e008d7706142c3029096a | [
"MIT"
] | null | null | null | inc/libutils/io/ostream_log_strategy.tcc | nkming2/libutils | e044c8f1265aad50092e008d7706142c3029096a | [
"MIT"
] | 1 | 2015-03-10T06:29:14.000Z | 2015-03-10T06:29:14.000Z | inc/libutils/io/ostream_log_strategy.tcc | nkming2/libutils | e044c8f1265aad50092e008d7706142c3029096a | [
"MIT"
] | null | null | null | /*
* ostream_log_strategy.tcc
*
* Author: Ming Tsang
* Copyright (c) 2014 Ming Tsang
* Refer to LICENSE for details
*/
#pragma once
#include <ostream>
#include "libutils/io/ostream_log_strategy.h"
namespace utils
{
namespace io
{
template<typename CharT_>
OstreamLogStrategy<CharT_>::OstreamLogStrategy(
std... | 14.526316 | 58 | 0.730072 | nkming2 |
c1b41419eb3ae3f7964de618b84776aaec65c0c8 | 12,755 | cpp | C++ | core/src/geom/mglnrel.cpp | rhcad/touchvg-v0.6 | 8b349ecd66b2363eec96e20873267aad9ed67ff1 | [
"RSA-MD"
] | 1 | 2016-06-14T06:22:50.000Z | 2016-06-14T06:22:50.000Z | core/src/geom/mglnrel.cpp | rhcad/touchvg-v0.6 | 8b349ecd66b2363eec96e20873267aad9ed67ff1 | [
"RSA-MD"
] | null | null | null | core/src/geom/mglnrel.cpp | rhcad/touchvg-v0.6 | 8b349ecd66b2363eec96e20873267aad9ed67ff1 | [
"RSA-MD"
] | null | null | null | // mglnrel.cpp: 实现直线位置关系函数
// Copyright (c) 2004-2012, Zhang Yungui
// License: LGPL, https://github.com/rhcad/touchvg
#include "mglnrel.h"
// 判断点pt是否在有向直线a->b的左边 (开区间)
GEOMAPI bool mgIsLeft(const Point2d& a, const Point2d& b, const Point2d& pt)
{
return (b-a).crossProduct(pt-a) > 0.f;
}
// 判断点pt是否在有向直线a->b的左边
G... | 27.312634 | 83 | 0.500902 | rhcad |
c1b427281453c0522ce35641f24cf15a64d5460d | 6,140 | cc | C++ | src/HistogramTest.cc | taschik/ramcloud | 6ef2e1cd61111995881d54bda6f9296b4777b928 | [
"0BSD"
] | 1 | 2016-01-18T12:41:28.000Z | 2016-01-18T12:41:28.000Z | src/HistogramTest.cc | taschik/ramcloud | 6ef2e1cd61111995881d54bda6f9296b4777b928 | [
"0BSD"
] | null | null | null | src/HistogramTest.cc | taschik/ramcloud | 6ef2e1cd61111995881d54bda6f9296b4777b928 | [
"0BSD"
] | null | null | null | /* Copyright (c) 2012 Stanford University
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR(S) DI... | 29.099526 | 78 | 0.617915 | taschik |
c1b6172a8fe9e87bcf68402ad3cbbbd46eff93ff | 5,030 | cpp | C++ | Source/Tank_To_Target/MyTank.cpp | Mati-C/Tank_To_Target | e506dc0744dff975a3d2f555656adf874b395962 | [
"Apache-2.0"
] | null | null | null | Source/Tank_To_Target/MyTank.cpp | Mati-C/Tank_To_Target | e506dc0744dff975a3d2f555656adf874b395962 | [
"Apache-2.0"
] | null | null | null | Source/Tank_To_Target/MyTank.cpp | Mati-C/Tank_To_Target | e506dc0744dff975a3d2f555656adf874b395962 | [
"Apache-2.0"
] | null | null | null | // Fill out your copyright notice in the Description page of Project Settings.
#include "MyTank.h"
// Sets default values
AMyTank::AMyTank()
{
// Set this pawn to call Tick() every frame. You can turn this off to improve performance if you don't need it.
PrimaryActorTick.bCanEverTick = true;
}
// Called when th... | 24.778325 | 130 | 0.708549 | Mati-C |
c1b72f6a3c9e99980981f79a102c3a6831b1fd82 | 417 | hpp | C++ | src/stan/math/prim/mat/fun/minus.hpp | alashworth/stan-monorepo | 75596bc1f860ededd7b3e9ae9002aea97ee1cd46 | [
"BSD-3-Clause"
] | 1 | 2019-09-06T15:53:17.000Z | 2019-09-06T15:53:17.000Z | src/stan/math/prim/mat/fun/minus.hpp | alashworth/stan-monorepo | 75596bc1f860ededd7b3e9ae9002aea97ee1cd46 | [
"BSD-3-Clause"
] | 8 | 2019-01-17T18:51:16.000Z | 2019-01-17T18:51:39.000Z | src/stan/math/prim/mat/fun/minus.hpp | alashworth/stan-monorepo | 75596bc1f860ededd7b3e9ae9002aea97ee1cd46 | [
"BSD-3-Clause"
] | null | null | null | #ifndef STAN_MATH_PRIM_MAT_FUN_MINUS_HPP
#define STAN_MATH_PRIM_MAT_FUN_MINUS_HPP
namespace stan {
namespace math {
/**
* Returns the negation of the specified scalar or matrix.
*
* @tparam T Type of subtrahend.
* @param x Subtrahend.
* @return Negation of subtrahend.
*/
template <typename T>
inli... | 18.954545 | 59 | 0.688249 | alashworth |
c1b73c59470fe87a63251df369dd1fd5d8be998d | 10,049 | hxx | C++ | com/oleutest/stgbvt/ctolestg/common/inc/automate.hxx | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | com/oleutest/stgbvt/ctolestg/common/inc/automate.hxx | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | com/oleutest/stgbvt/ctolestg/common/inc/automate.hxx | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | //+-------------------------------------------------------------------------
//
// Microsoft OLE
// Copyright (C) Microsoft Corporation, 1994 - 1995.
//
// File: automate.hxx
//
// Contents: Marina automation helper class
// Marina aware applications use this class to aid in the
// ... | 26.868984 | 79 | 0.57757 | npocmaka |
c1ba4af221b5c9c241bd425ab1916236f7fb8228 | 1,617 | cc | C++ | lib/Differentiator.cc | wcrvt/zARCS | 113dbad3c50aa55f1d8706763f026659799c8ff1 | [
"BSD-2-Clause",
"BSD-2-Clause-FreeBSD"
] | null | null | null | lib/Differentiator.cc | wcrvt/zARCS | 113dbad3c50aa55f1d8706763f026659799c8ff1 | [
"BSD-2-Clause",
"BSD-2-Clause-FreeBSD"
] | null | null | null | lib/Differentiator.cc | wcrvt/zARCS | 113dbad3c50aa55f1d8706763f026659799c8ff1 | [
"BSD-2-Clause",
"BSD-2-Clause-FreeBSD"
] | null | null | null | // 擬似微分器クラス
// 2011/02/10 Yuki YOKOKURA
//
// 擬似微分器 G(s)=(s*gpd)/(s+gpd) (双一次変換)
//
// Copyright (C) 2011 Yuki YOKOKURA
// This program is free software;
// you can redistribute it and/or modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; either version 3 of the... | 26.080645 | 103 | 0.714904 | wcrvt |
c1bc0f3351bec8de4f40892e22b1775e0c9f5257 | 2,528 | cpp | C++ | TAO/tao/Messaging/Buffering_Constraint_Policy.cpp | cflowe/ACE | 5ff60b41adbe1772372d1a43bcc1f2726ff8f810 | [
"DOC"
] | 36 | 2015-01-10T07:27:33.000Z | 2022-03-07T03:32:08.000Z | TAO/tao/Messaging/Buffering_Constraint_Policy.cpp | cflowe/ACE | 5ff60b41adbe1772372d1a43bcc1f2726ff8f810 | [
"DOC"
] | 2 | 2018-08-13T07:30:51.000Z | 2019-02-25T03:04:31.000Z | TAO/tao/Messaging/Buffering_Constraint_Policy.cpp | cflowe/ACE | 5ff60b41adbe1772372d1a43bcc1f2726ff8f810 | [
"DOC"
] | 38 | 2015-01-08T14:12:06.000Z | 2022-01-19T08:33:00.000Z | // $Id: Buffering_Constraint_Policy.cpp 91628 2010-09-07 11:11:12Z johnnyw $
#include "tao/Messaging/Buffering_Constraint_Policy.h"
#if (TAO_HAS_BUFFERING_CONSTRAINT_POLICY == 1)
#include "tao/Messaging/TAO_ExtA.h"
#include "tao/SystemException.h"
#include "ace/CORBA_macros.h"
#if ! defined (__ACE_INLINE__)
#includ... | 25.795918 | 119 | 0.752769 | cflowe |
c1bc6a696bf8f877de9dac41d77504f04bc3c10b | 6,179 | cc | C++ | hilti/codegen/instructions/classifier.cc | asilha/hilti | ebfffc7dad31059b43a02eb26abcf7a25f742eb8 | [
"BSD-3-Clause"
] | 46 | 2015-01-21T13:31:25.000Z | 2020-10-27T10:18:03.000Z | hilti/codegen/instructions/classifier.cc | jjchromik/hilti-104-total | 0f9e0cb7114acc157211af24f8254e4b23bd78a5 | [
"BSD-3-Clause"
] | 29 | 2015-03-30T08:23:04.000Z | 2019-05-03T13:11:35.000Z | hilti/codegen/instructions/classifier.cc | jjchromik/hilti-104-total | 0f9e0cb7114acc157211af24f8254e4b23bd78a5 | [
"BSD-3-Clause"
] | 20 | 2015-01-27T12:59:38.000Z | 2020-10-28T21:40:47.000Z |
#include <hilti/hilti-intern.h>
#include "../stmt-builder.h"
using namespace hilti;
using namespace codegen;
static void _freeFields(CodeGen* cg, shared_ptr<Type> rtype, llvm::Value* fields, const Location& l)
{
auto ftypes = ast::type::checkedTrait<type::trait::TypeList>(rtype)->typeList();
auto atype = ll... | 39.356688 | 100 | 0.603172 | asilha |
c1be7a57951f38077bfeb5de9a40d7be764888cf | 20,287 | cpp | C++ | src/commlib/zcelib/zce_server_base.cpp | sailzeng/zcelib | 88e14ab436f1b40e8071e15ef6d9fae396efc3b4 | [
"Apache-2.0"
] | 72 | 2015-01-08T05:01:48.000Z | 2021-12-28T06:13:03.000Z | src/commlib/zcelib/zce_server_base.cpp | sailzeng/zcelib | 88e14ab436f1b40e8071e15ef6d9fae396efc3b4 | [
"Apache-2.0"
] | 4 | 2016-01-18T12:24:59.000Z | 2019-10-12T07:19:15.000Z | src/commlib/zcelib/zce_server_base.cpp | sailzeng/zcelib | 88e14ab436f1b40e8071e15ef6d9fae396efc3b4 | [
"Apache-2.0"
] | 40 | 2015-01-26T06:49:18.000Z | 2021-07-20T08:11:48.000Z | #include "zce_predefine.h"
#include "zce_time_value.h"
#include "zce_os_adapt_file.h"
#include "zce_os_adapt_flock.h"
#include "zce_os_adapt_process.h"
#include "zce_os_adapt_socket.h"
#include "zce_os_adapt_time.h"
#include "zce_os_adapt_dirent.h"
#include "zce_log_logging.h"
#include "zce_server_base.h"
/**********... | 26.799207 | 112 | 0.614285 | sailzeng |
c1c177ba08b544e018421945e39c3c112afe7c03 | 544 | cpp | C++ | Chapter_2/2-7.cpp | MemoryDxx/CPP_Exercises | f789d194a72460fc4c6701c2710e1de53566394d | [
"Apache-2.0"
] | null | null | null | Chapter_2/2-7.cpp | MemoryDxx/CPP_Exercises | f789d194a72460fc4c6701c2710e1de53566394d | [
"Apache-2.0"
] | null | null | null | Chapter_2/2-7.cpp | MemoryDxx/CPP_Exercises | f789d194a72460fc4c6701c2710e1de53566394d | [
"Apache-2.0"
] | null | null | null | // 编写一个程序,要求用户输入小时数和分钟数。在main()函数中,将这两个值传递给一个void函数。
// void函数以下面的格式显示这两个值。
// Enter the number of hours: 9
// Enter the number of minutes: 28
// Time: 9:28
#include <iostream>
using namespace std;
void show_time(int hour, int minutes);
int main()
{
int hour, minutes;
cout << "Enter the number of hours: ";
... | 21.76 | 55 | 0.637868 | MemoryDxx |
c1c35e884065eb04f8e68a0df42130d20ab22d46 | 6,569 | cxx | C++ | Applications/ShrinkImage/niftkShrinkImage.cxx | NifTK/NifTK | 2358b333c89ff1bba1c232eecbbcdc8003305dfe | [
"BSD-3-Clause"
] | 13 | 2018-07-28T13:36:38.000Z | 2021-11-01T19:17:39.000Z | Applications/ShrinkImage/niftkShrinkImage.cxx | NifTK/NifTK | 2358b333c89ff1bba1c232eecbbcdc8003305dfe | [
"BSD-3-Clause"
] | null | null | null | Applications/ShrinkImage/niftkShrinkImage.cxx | NifTK/NifTK | 2358b333c89ff1bba1c232eecbbcdc8003305dfe | [
"BSD-3-Clause"
] | 10 | 2018-08-20T07:06:00.000Z | 2021-07-07T07:55:27.000Z | /*=============================================================================
NifTK: A software platform for medical image computing.
Copyright (c) University College London (UCL). All rights reserved.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY o... | 26.487903 | 155 | 0.548942 | NifTK |
c1c4530a228a487cdcc58517d493942f7c9633b2 | 8,071 | hxx | C++ | include/idocp/contact_complementarity/contact_complementarity_component_base.hxx | KY-Lin22/idocp | 8cacfea7bb2184023eb15316aea07154a62d59bb | [
"BSD-3-Clause"
] | 1 | 2021-09-04T07:43:04.000Z | 2021-09-04T07:43:04.000Z | include/idocp/contact_complementarity/contact_complementarity_component_base.hxx | KY-Lin22/idocp | 8cacfea7bb2184023eb15316aea07154a62d59bb | [
"BSD-3-Clause"
] | null | null | null | include/idocp/contact_complementarity/contact_complementarity_component_base.hxx | KY-Lin22/idocp | 8cacfea7bb2184023eb15316aea07154a62d59bb | [
"BSD-3-Clause"
] | null | null | null | #ifndef IDOCP_CONTACT_COMPLEMENTARITY_COMPONENT_BASE_HXX_
#define IDOCP_CONTACT_COMPLEMENTARITY_COMPONENT_BASE_HXX_
#include "idocp/contact_complementarity/contact_complementarity_component_base.hpp"
#include "idocp/constraints/pdipm_func.hpp"
#include <cmath>
#include <exception>
#include <assert.h>
namespace idoc... | 33.629167 | 83 | 0.7408 | KY-Lin22 |
c1c5331af48793255435eb2125ebae830b901c86 | 1,248 | hpp | C++ | src/parser/__ast/ClassSymbol.hpp | shockazoid/HydroLanguage | 25071995477406245911989584cb3e6f036229c0 | [
"Apache-2.0"
] | null | null | null | src/parser/__ast/ClassSymbol.hpp | shockazoid/HydroLanguage | 25071995477406245911989584cb3e6f036229c0 | [
"Apache-2.0"
] | null | null | null | src/parser/__ast/ClassSymbol.hpp | shockazoid/HydroLanguage | 25071995477406245911989584cb3e6f036229c0 | [
"Apache-2.0"
] | null | null | null | //
// __ __ __
// / / / /__ __ ____/ /_____ ____
// / /_/ // / / // __ // ___// __ \
// / __ // /_/ // /_/ // / / /_/ /
// /_/ /_/ \__, / \__,_//_/ \____/
// /____/
//
// ... | 28.363636 | 164 | 0.552083 | shockazoid |
c1c6d3444305ee4a4f6864d58e43dfe263511d9b | 12,194 | cpp | C++ | src/bls-signatures/python-bindings/pythonbindings.cpp | blondfrogs/tecracoin | 8ede0a2f550a31e85634e2bf91b79bd1c9cfda7c | [
"MIT"
] | 159 | 2020-11-09T22:39:58.000Z | 2022-03-29T21:14:57.000Z | src/bls-signatures/python-bindings/pythonbindings.cpp | blondfrogs/tecracoin | 8ede0a2f550a31e85634e2bf91b79bd1c9cfda7c | [
"MIT"
] | 366 | 2015-01-08T05:10:17.000Z | 2022-03-07T02:30:03.000Z | src/bls-signatures/python-bindings/pythonbindings.cpp | blondfrogs/tecracoin | 8ede0a2f550a31e85634e2bf91b79bd1c9cfda7c | [
"MIT"
] | 110 | 2015-01-03T17:00:15.000Z | 2022-02-13T15:31:08.000Z | // Copyright 2018 Chia Network Inc
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by applicable law or agreed to in wr... | 43.55 | 104 | 0.587994 | blondfrogs |
c1c86e247c906b2b7a04e1e853ada6172f61953d | 2,268 | hpp | C++ | libadb/include/libadb/api/guild/data/guild-features.hpp | faserg1/adb | 65507dc17589ac6ec00caf2ecd80f6dbc4026ad4 | [
"MIT"
] | 1 | 2022-03-10T15:14:13.000Z | 2022-03-10T15:14:13.000Z | libadb/include/libadb/api/guild/data/guild-features.hpp | faserg1/adb | 65507dc17589ac6ec00caf2ecd80f6dbc4026ad4 | [
"MIT"
] | 9 | 2022-03-07T21:00:08.000Z | 2022-03-15T23:14:52.000Z | libadb/include/libadb/api/guild/data/guild-features.hpp | faserg1/adb | 65507dc17589ac6ec00caf2ecd80f6dbc4026ad4 | [
"MIT"
] | null | null | null | #pragma once
#include <string>
#include <libadb/libadb.hpp>
#include <cstdint>
namespace adb::api
{
enum class GuildFeature : uint64_t
{
UNKNOWN,
/// guild has access to set an animated guild banner image
ANIMATED_BANNER,
/// guild has access to set an animated guild icon
... | 36.580645 | 127 | 0.648148 | faserg1 |
c1ca71e0c6b81edbe0cdc1c6c725608a90716964 | 1,187 | cpp | C++ | Assignment2/components.cpp | bertptrs/uni-snacs | 07b99185781de2e956989c2ebd26e03d3e798d2e | [
"MIT"
] | null | null | null | Assignment2/components.cpp | bertptrs/uni-snacs | 07b99185781de2e956989c2ebd26e03d3e798d2e | [
"MIT"
] | null | null | null | Assignment2/components.cpp | bertptrs/uni-snacs | 07b99185781de2e956989c2ebd26e03d3e798d2e | [
"MIT"
] | null | null | null | #include "TwitterGraph.hpp"
#include <vector>
#include <iterator>
#include <algorithm>
int TwitterGraph::weakComponents()
{
int maxComponent = 0;
for (unsigned int i = 0; i < nodes.size(); i++)
{
if (nodes[i].componentID == NO_COMPONENT) {
const int currentComponent = maxComponent++;
bfs(i, [currentComponen... | 24.22449 | 77 | 0.680708 | bertptrs |
c1cc4c70ad3f9d721f5789909359aa35f9a06e12 | 12,805 | cpp | C++ | Engine/Source/Editor/PropertyEditor/Private/ItemPropertyNode.cpp | PopCap/GameIdea | 201e1df50b2bc99afc079ce326aa0a44b178a391 | [
"BSD-2-Clause"
] | null | null | null | Engine/Source/Editor/PropertyEditor/Private/ItemPropertyNode.cpp | PopCap/GameIdea | 201e1df50b2bc99afc079ce326aa0a44b178a391 | [
"BSD-2-Clause"
] | 2 | 2015-06-21T17:38:11.000Z | 2015-06-22T20:54:42.000Z | Engine/Source/Editor/PropertyEditor/Private/ItemPropertyNode.cpp | PopCap/GameIdea | 201e1df50b2bc99afc079ce326aa0a44b178a391 | [
"BSD-2-Clause"
] | null | null | null | // Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
#include "PropertyEditorPrivatePCH.h"
#include "PropertyNode.h"
#include "ItemPropertyNode.h"
#include "CategoryPropertyNode.h"
#include "ObjectPropertyNode.h"
FItemPropertyNode::FItemPropertyNode(void)
: FPropertyNode()
{
}
FItemPropertyNode::~FItemPro... | 33.697368 | 187 | 0.728622 | PopCap |
c1cce410996db859dcd794148ec3017312a5f179 | 23,362 | cc | C++ | ash/services/ime/public/cpp/rulebased/def/ml_phone.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 | ash/services/ime/public/cpp/rulebased/def/ml_phone.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 | ash/services/ime/public/cpp/rulebased/def/ml_phone.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 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 "ash/services/ime/public/cpp/rulebased/def/ml_phone.h"
#include "base/cxx17_backports.h"
namespace ml_phone {
const char* kId = "ml_phone";
bo... | 27.745843 | 73 | 0.577476 | zealoussnow |
c1cd2d1fa8ea050fe57df86849a68b839f990fce | 465 | hpp | C++ | lib/c_Homie/c_homie.hpp | Christian-Me/homie-firmware | ea43546e763b7cf08a0393cd2bdcdea297a6462e | [
"Apache-2.0"
] | 3 | 2021-01-03T02:38:55.000Z | 2021-01-05T20:18:09.000Z | lib/c_Homie/c_homie.hpp | Christian-Me/homie-firmware | ea43546e763b7cf08a0393cd2bdcdea297a6462e | [
"Apache-2.0"
] | null | null | null | lib/c_Homie/c_homie.hpp | Christian-Me/homie-firmware | ea43546e763b7cf08a0393cd2bdcdea297a6462e | [
"Apache-2.0"
] | null | null | null | #pragma once
#include "Arduino.h"
#include <Homie.h>
// #include "homieSyslog.h"
// #include "datatypes.h"
#include "homie_property.hpp"
#include "homie_node.hpp"
#include "homie_device.hpp"
bool globalInputHandler(const HomieNode& node, const HomieRange& range, const String& property, const String& value);
void onHo... | 35.769231 | 117 | 0.787097 | Christian-Me |
c1cf903d7f5e461b255265f82f593fdd96415556 | 150 | cpp | C++ | Language Specific Notes/C Language Notes/String/6. Basic String Scanning Way 3.cpp | sayanmondal31/dev_stage | 0e52eb90ef71ee2a2c631720e38b0d36fe73e626 | [
"MIT"
] | 1 | 2020-10-22T18:48:16.000Z | 2020-10-22T18:48:16.000Z | Language Specific Notes/C Language Notes/String/6. Basic String Scanning Way 3.cpp | debajyatibanerjee0002/dev_stage | 2d853de917f574353f200b040427e8572e00d140 | [
"MIT"
] | 4 | 2020-10-17T16:30:38.000Z | 2020-10-19T10:18:48.000Z | Language Specific Notes/C Language Notes/String/6. Basic String Scanning Way 3.cpp | debajyatibanerjee0002/dev_stage | 2d853de917f574353f200b040427e8572e00d140 | [
"MIT"
] | 3 | 2020-10-17T12:40:21.000Z | 2020-10-18T16:26:39.000Z | #include<stdio.h>
int main(){
char name[20];
printf("Enter your name:-");
scanf("%[^\n]s", name);
printf("Hello Mr. %s",name);
return 0;
}
| 12.5 | 29 | 0.566667 | sayanmondal31 |
c1d0e9b8c0fa7e1fac552721151019790254a8e0 | 12,917 | cpp | C++ | esp/chips/ulp/assembler/ulp_assembler.cpp | kermitdafrog8/REDasm-Loaders | b401849f9aa54dfd9562aed1a6d2e03f75ac455f | [
"MIT"
] | 4 | 2019-06-09T10:22:28.000Z | 2022-02-12T13:11:43.000Z | esp/chips/ulp/assembler/ulp_assembler.cpp | kermitdafrog8/REDasm-Loaders | b401849f9aa54dfd9562aed1a6d2e03f75ac455f | [
"MIT"
] | 1 | 2019-07-15T13:55:31.000Z | 2022-01-10T08:06:31.000Z | esp/chips/ulp/assembler/ulp_assembler.cpp | kermitdafrog8/REDasm-Loaders | b401849f9aa54dfd9562aed1a6d2e03f75ac455f | [
"MIT"
] | 2 | 2020-10-11T13:13:46.000Z | 2021-09-10T22:35:04.000Z | #include "ulp_assembler.h"
#include "ulp_constants.h"
#define WORDS_TO_ADDR(instr) (instr) * sizeof(ULPInstruction)
std::array<const char*, 7> ULPAssembler::ALUSEL = {
"add", "sub", "and", "or", "move", "lsh", "rsh"
};
bool ULPAssembler::decode(const RDBufferView* view, ULPInstruction* ulpinstr)
{
if(!ulpins... | 39.622699 | 122 | 0.682821 | kermitdafrog8 |
c1d0f0e54409bb9ec02d355676ea3b5bf88e393f | 9,839 | hpp | C++ | service/src/geopm/CircularBuffer.hpp | dannosliwcd/geopm | 3ec0d223e700350ff37f6d10adde7b9bfbdba286 | [
"BSD-3-Clause"
] | 77 | 2015-10-16T22:20:51.000Z | 2022-03-30T22:51:12.000Z | service/src/geopm/CircularBuffer.hpp | dannosliwcd/geopm | 3ec0d223e700350ff37f6d10adde7b9bfbdba286 | [
"BSD-3-Clause"
] | 1,627 | 2016-05-17T18:25:53.000Z | 2022-03-31T22:49:45.000Z | service/src/geopm/CircularBuffer.hpp | dannosliwcd/geopm | 3ec0d223e700350ff37f6d10adde7b9bfbdba286 | [
"BSD-3-Clause"
] | 44 | 2015-10-28T15:59:44.000Z | 2022-03-25T20:28:18.000Z | /*
* Copyright (c) 2015 - 2021, Intel Corporation
*
* 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 condition... | 37.128302 | 141 | 0.594166 | dannosliwcd |
c1d52f3d55ec9edc06f61216a567651b36c52abd | 717 | cpp | C++ | ITU/proj_1/NormalInput.cpp | mikeek/FIT | da7fb8b4b57b0a28b345348d8fe1ecf30dccb9a2 | [
"MIT"
] | 1 | 2017-03-25T11:59:15.000Z | 2017-03-25T11:59:15.000Z | ITU/proj_1/NormalInput.cpp | mikeek/FIT | da7fb8b4b57b0a28b345348d8fe1ecf30dccb9a2 | [
"MIT"
] | null | null | null | ITU/proj_1/NormalInput.cpp | mikeek/FIT | da7fb8b4b57b0a28b345348d8fe1ecf30dccb9a2 | [
"MIT"
] | 6 | 2017-04-06T10:49:03.000Z | 2021-01-18T20:29:35.000Z | #include "NormalInput.h"
#include <time.h>
NormalInput::NormalInput()
{
}
float NormalInput::realTime(clock_t clockDiff)
{
return ((float) clockDiff) / CLOCKS_PER_SEC;
}
QChar NormalInput::resolve(int index, QString charField)
{
clock_t nowTime = clock();
clock_t diff = nowTime - _lastTime;
_last... | 20.485714 | 69 | 0.679219 | mikeek |
c1d79e8137b7a89ccda5ccb6ffc0ce4534e92535 | 18,441 | cpp | C++ | depends/work/build/i686-w64-mingw32/qt/5.9.7-f2560c1efa6/qtbase/src/network/socket/qlocalsocket_unix.cpp | GrinCash/Grinc-core | 1377979453ba84082f70f9c128be38e57b65a909 | [
"MIT"
] | null | null | null | depends/work/build/i686-w64-mingw32/qt/5.9.7-f2560c1efa6/qtbase/src/network/socket/qlocalsocket_unix.cpp | GrinCash/Grinc-core | 1377979453ba84082f70f9c128be38e57b65a909 | [
"MIT"
] | null | null | null | depends/work/build/i686-w64-mingw32/qt/5.9.7-f2560c1efa6/qtbase/src/network/socket/qlocalsocket_unix.cpp | GrinCash/Grinc-core | 1377979453ba84082f70f9c128be38e57b65a909 | [
"MIT"
] | null | null | null | /****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the QtNetwork module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage
** Licensees holding valid comm... | 33.167266 | 131 | 0.684236 | GrinCash |
c1d7f4b4f194d2668e731bd31795607911da6c76 | 1,915 | cpp | C++ | d3util/logger.cpp | d3roch4/d3util | d438e35c6fceff8cdca9ef6ea3e6c043389c6e4c | [
"MIT"
] | null | null | null | d3util/logger.cpp | d3roch4/d3util | d438e35c6fceff8cdca9ef6ea3e6c043389c6e4c | [
"MIT"
] | null | null | null | d3util/logger.cpp | d3roch4/d3util | d438e35c6fceff8cdca9ef6ea3e6c043389c6e4c | [
"MIT"
] | null | null | null | #include "logger.h"
#include <boost/log/attributes/attribute_value_set.hpp>
#include <boost/log/sources/severity_logger.hpp>
#include <boost/log/utility/setup/file.hpp>
#include <boost/log/utility/setup/console.hpp>
#include <boost/log/utility/setup/common_attributes.hpp>
#include <boost/log/expressions.hpp>
#include <... | 36.132075 | 95 | 0.562924 | d3roch4 |
c1d8c9b1a9b00818d5ae083fa70c5fabe91ba6eb | 9,016 | cpp | C++ | 2020/0125_ddcc2020-machine/A.cpp | kazunetakahashi/atcoder | 16ce65829ccc180260b19316e276c2fcf6606c53 | [
"MIT"
] | 7 | 2019-03-24T14:06:29.000Z | 2020-09-17T21:16:36.000Z | 2020/0125_ddcc2020-machine/A.cpp | kazunetakahashi/atcoder | 16ce65829ccc180260b19316e276c2fcf6606c53 | [
"MIT"
] | null | null | null | 2020/0125_ddcc2020-machine/A.cpp | kazunetakahashi/atcoder | 16ce65829ccc180260b19316e276c2fcf6606c53 | [
"MIT"
] | 1 | 2020-07-22T17:27:09.000Z | 2020-07-22T17:27:09.000Z | #define DEBUG 1
/**
* File : A.cpp
* Author : Kazune Takahashi
* Created : 2020/1/25 11:32:12
* Powered by Visual Studio Code
*/
#include <algorithm>
#include <bitset>
#include <cassert>
#include <cctype>
#include <chrono>
#include <cmath>
#include <complex>
#include <cstdint>
#include <cstdio>
#include <cstdl... | 20.822171 | 217 | 0.504326 | kazunetakahashi |
c1dae3a0935d087c2e8201fa1600b24661885a92 | 1,590 | cpp | C++ | Engine/Source/Runtime/Engine/Private/Info.cpp | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | 1 | 2022-01-29T18:36:12.000Z | 2022-01-29T18:36:12.000Z | Engine/Source/Runtime/Engine/Private/Info.cpp | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | null | null | null | Engine/Source/Runtime/Engine/Private/Info.cpp | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | null | null | null | // Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
#include "GameFramework/Info.h"
#include "UObject/ConstructorHelpers.h"
#include "Components/BillboardComponent.h"
#include "Engine/Texture2D.h"
AInfo::AInfo(const FObjectInitializer& ObjectInitializer)
: Super(ObjectInitializer)
{
#if WITH_EDITORONLY_DATA... | 30.576923 | 89 | 0.774843 | windystrife |
c1dcfb9b6c8c2eca8d0e535bd836ef6a35f7e905 | 569 | hpp | C++ | src/Render.hpp | Sartek/Platformer | a499c870c05d7169aaf56b8a93694668750a4b4e | [
"CC-BY-3.0"
] | null | null | null | src/Render.hpp | Sartek/Platformer | a499c870c05d7169aaf56b8a93694668750a4b4e | [
"CC-BY-3.0"
] | null | null | null | src/Render.hpp | Sartek/Platformer | a499c870c05d7169aaf56b8a93694668750a4b4e | [
"CC-BY-3.0"
] | null | null | null | #ifndef RENDER
#define RENDER
#include <SFML/Graphics.hpp>
#include <vector>
class Render
{
public:
Render();
virtual ~Render();
void Background();
void Tile(unsigned int x,unsigned int y,unsigned int id);
void Hud();
void Player();
private:
sf::Texture Tile1;
sf::Texture Tile2;
sf::Texture Til... | 18.966667 | 61 | 0.697715 | Sartek |
c1ddba9fc988d2143876f14b51096ac13e954eb6 | 3,913 | hpp | C++ | include/RootMotion/BipedReferences_AutoDetectParams.hpp | Fernthedev/BeatSaber-Quest-Codegen | 716e4ff3f8608f7ed5b83e2af3be805f69e26d9e | [
"Unlicense"
] | null | null | null | include/RootMotion/BipedReferences_AutoDetectParams.hpp | Fernthedev/BeatSaber-Quest-Codegen | 716e4ff3f8608f7ed5b83e2af3be805f69e26d9e | [
"Unlicense"
] | null | null | null | include/RootMotion/BipedReferences_AutoDetectParams.hpp | Fernthedev/BeatSaber-Quest-Codegen | 716e4ff3f8608f7ed5b83e2af3be805f69e26d9e | [
"Unlicense"
] | null | null | null | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "extern/beatsaber-hook/shared/utils/typedefs.h"
#include "extern/beatsaber-hook/shared/utils/byref.hpp"
// Including type: RootMotion.Bip... | 52.878378 | 186 | 0.741375 | Fernthedev |
c1df4685e1acba2c8fd40b402c8ab3199b11ce7c | 4,224 | cpp | C++ | shapes/rect.cpp | JacobSchneck/Flowers | 34f460cc584322f1eb1359bc203d2a89be23bccc | [
"MIT"
] | 2 | 2021-05-28T02:19:01.000Z | 2021-05-28T02:19:23.000Z | shapes/rect.cpp | JacobSchneck/Flowers | 34f460cc584322f1eb1359bc203d2a89be23bccc | [
"MIT"
] | null | null | null | shapes/rect.cpp | JacobSchneck/Flowers | 34f460cc584322f1eb1359bc203d2a89be23bccc | [
"MIT"
] | null | null | null | #include "../graphics.h"
#include "rect.h"
#include <iostream>
using namespace std;
/********************* Dimensions Struct ********************/
dimensions::dimensions() : width(0), height(0) {}
dimensions::dimensions(double w, double h) : width(w), height(h) {}
ostream& operator << (ostream& outs, const dimensio... | 27.076923 | 141 | 0.634233 | JacobSchneck |
c1e3d1b37f7c91dd15c250c077927364a96f7072 | 35,873 | cpp | C++ | src/USER-INTEL/pair_gayberne_intel.cpp | luwei0917/GlpG_Nature_Communication | a7f4f8b526e633b158dc606050e8993d70734943 | [
"MIT"
] | 1 | 2018-11-28T15:04:55.000Z | 2018-11-28T15:04:55.000Z | src/USER-INTEL/pair_gayberne_intel.cpp | luwei0917/GlpG_Nature_Communication | a7f4f8b526e633b158dc606050e8993d70734943 | [
"MIT"
] | null | null | null | src/USER-INTEL/pair_gayberne_intel.cpp | luwei0917/GlpG_Nature_Communication | a7f4f8b526e633b158dc606050e8993d70734943 | [
"MIT"
] | null | null | null | /* ----------------------------------------------------------------------
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
http://lammps.sandia.gov, Sandia National Laboratories
Steve Plimpton, sjplimp@sandia.gov
This software is distributed under the GNU General Public License.
See t... | 32.760731 | 79 | 0.557857 | luwei0917 |
c1e419456001f698245dfa37647536f3b621cf1c | 3,597 | cpp | C++ | src/mem/Pem.cpp | OmniNegro123/med | 48b00bfb9319f735a2406ff2efe7253c46007236 | [
"BSD-3-Clause"
] | 37 | 2015-10-05T17:44:20.000Z | 2022-03-24T02:55:04.000Z | src/mem/Pem.cpp | OmniNegro123/med | 48b00bfb9319f735a2406ff2efe7253c46007236 | [
"BSD-3-Clause"
] | 6 | 2017-04-01T02:26:22.000Z | 2022-02-19T07:46:29.000Z | src/mem/Pem.cpp | OmniNegro123/med | 48b00bfb9319f735a2406ff2efe7253c46007236 | [
"BSD-3-Clause"
] | 4 | 2020-07-23T17:27:36.000Z | 2021-12-25T20:29:56.000Z | #include <cinttypes>
#include <cstring>
#include <cstdio>
#include <iostream>
#include "mem/Pem.hpp"
#include "med/MedCommon.hpp"
#include "med/MedException.hpp"
#include "med/ScanParser.hpp"
#include "med/MedTypes.hpp"
#include "med/MemOperator.hpp"
Pem::Pem(size_t size, MemIO* memio) : Mem(size) {
this->memio = m... | 23.98 | 76 | 0.671115 | OmniNegro123 |
c1e6d152166ecd91c9d8301fab3452eef9ef214c | 1,488 | cpp | C++ | UVa 12961 - Lottery/sample/12961 - Lottery.cpp | tadvi/uva | 0ac0cbdf593879b4fb02a3efc09adbb031cb47d5 | [
"MIT"
] | 1 | 2020-11-24T03:17:21.000Z | 2020-11-24T03:17:21.000Z | UVa 12961 - Lottery/sample/12961 - Lottery.cpp | tadvi/uva | 0ac0cbdf593879b4fb02a3efc09adbb031cb47d5 | [
"MIT"
] | null | null | null | UVa 12961 - Lottery/sample/12961 - Lottery.cpp | tadvi/uva | 0ac0cbdf593879b4fb02a3efc09adbb031cb47d5 | [
"MIT"
] | 1 | 2021-04-11T16:22:31.000Z | 2021-04-11T16:22:31.000Z | #include <bits/stdc++.h>
using namespace std;
class XOR_GAUSSIAN { // XOR Gaussian Elimination
public:
static const int MAXN = 32767, MAXM = 64;
char mtx[MAXN][MAXM+1], varX[MAXN];
int compute(int n, int m) {
int row = 0, col = 0, arb = 0;
int equ = n, var = m;
while (row < equ && col < var)... | 17.927711 | 50 | 0.43078 | tadvi |
c1eaf17fe306911b6779f75d8a108fd00525c34f | 5,538 | cpp | C++ | Turtle/Event.cpp | mirek-fidler/Turtle | fd413460c3d92c9a85fc620f6f3db50d96f3be2f | [
"BSD-2-Clause"
] | 2 | 2021-01-07T20:30:16.000Z | 2021-02-11T21:33:07.000Z | Turtle/Event.cpp | mirek-fidler/Turtle | fd413460c3d92c9a85fc620f6f3db50d96f3be2f | [
"BSD-2-Clause"
] | null | null | null | Turtle/Event.cpp | mirek-fidler/Turtle | fd413460c3d92c9a85fc620f6f3db50d96f3be2f | [
"BSD-2-Clause"
] | null | null | null | #include "Turtle.h"
#define LLOG(x) // RLOG(x)
#define LDUMP(x) // RDUMP(x)
#define LTIMING(x)
namespace Upp {
static bool sQuit; // Ctrl::IsEndSession() would be much better to use had it been implemented.
static BiVector<String> sEventQueue;
Point ReadPoint(CParser& p)
{
Point pt;
pt.x = p.ReadInt();
pt... | 18.646465 | 95 | 0.62333 | mirek-fidler |