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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3f198c4d47c235a57dba098a41c9dc2c308c512a | 698 | cpp | C++ | Kattis-Solutions/Encoded Message.cpp | SurgicalSteel/Competitive-Programming | 3662b676de94796f717b25dc8d1b93c6851fb274 | [
"MIT"
] | 14 | 2016-02-11T09:26:13.000Z | 2022-03-27T01:14:29.000Z | Kattis-Solutions/Encoded Message.cpp | SurgicalSteel/Competitive-Programming | 3662b676de94796f717b25dc8d1b93c6851fb274 | [
"MIT"
] | null | null | null | Kattis-Solutions/Encoded Message.cpp | SurgicalSteel/Competitive-Programming | 3662b676de94796f717b25dc8d1b93c6851fb274 | [
"MIT"
] | 7 | 2016-10-25T19:29:35.000Z | 2021-12-05T18:31:39.000Z | #include <bits/stdc++.h>
using namespace std;
string solve(string enc)
{
int res =(int) sqrt((double) enc.length());
int curr,counter=0;
string builder="";
int pos=res-1;
int awal=pos;
while(counter<enc.length())
{
while(pos<enc.length())
{
builder+=e... | 18.864865 | 47 | 0.469914 | SurgicalSteel |
3f1cc7f38155b2ff1e00ccc8d620991997fe9338 | 1,448 | cpp | C++ | rect.cpp | tonymiceli/tinymfc | 68a5fbbaecf07a038d8e46cfc9a96d62480b12b5 | [
"MIT"
] | 1 | 2020-03-27T23:31:30.000Z | 2020-03-27T23:31:30.000Z | rect.cpp | tonymiceli/tinymfc | 68a5fbbaecf07a038d8e46cfc9a96d62480b12b5 | [
"MIT"
] | null | null | null | rect.cpp | tonymiceli/tinymfc | 68a5fbbaecf07a038d8e46cfc9a96d62480b12b5 | [
"MIT"
] | null | null | null | //#include "stdafx.h"
#include "rect.h"
void CRect::SetRect(LONG nLeft, LONG nTop, LONG nRight, LONG nBottom)
{
left = nLeft;
top = nTop;
right = nRight;
bottom = nBottom;
}
POINT CRect::GetTopLeft()
{
POINT pt;
pt.x = left;
pt.y = top;
return pt;
}
POINT CRect::GetBottomLeft... | 15.242105 | 70 | 0.571823 | tonymiceli |
3f1e6dcee05e63f98608608c7c815a22801fc025 | 7,367 | cxx | C++ | inetsrv/query/icommand/metqspec.cxx | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | inetsrv/query/icommand/metqspec.cxx | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | inetsrv/query/icommand/metqspec.cxx | 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, 1992 - 1995.
//
// File: StdQSpec.cxx
//
// Contents: ICommand for file-based queries
//
// Classes: CMetadataQuerySpec
//
// History: 30 Jun 1995... | 32.170306 | 80 | 0.474141 | npocmaka |
3f28fb71ec040541b3028b4032d7c0516d04e992 | 7,719 | hpp | C++ | src/Core/Managers/RenderingManager.hpp | Rexagon/2drift | 31d687c9b4a289ca2c62757cba7b4f6e3c0b5d14 | [
"Apache-2.0"
] | null | null | null | src/Core/Managers/RenderingManager.hpp | Rexagon/2drift | 31d687c9b4a289ca2c62757cba7b4f6e3c0b5d14 | [
"Apache-2.0"
] | null | null | null | src/Core/Managers/RenderingManager.hpp | Rexagon/2drift | 31d687c9b4a289ca2c62757cba7b4f6e3c0b5d14 | [
"Apache-2.0"
] | null | null | null | #pragma once
#include <glm/vec2.hpp>
#include <glm/vec4.hpp>
#include "Core/Rendering/Stuff/RenderingParameters.hpp"
#include "WindowManager.hpp"
namespace core
{
/**
* @brief Rendering manager
*
* Handle OpenGL state and optimizes state calls
*/
class RenderingManager final : public Manager
{
public:
/**
... | 24.273585 | 86 | 0.628708 | Rexagon |
3f2ddf44463cbe1e1e2ac6271f0b4cd2b031eb7c | 9,120 | cpp | C++ | weather.cpp | kubeeapp/Sprinks-Firmware | 5afb4e7184b1b34af7e123baa0dcd67adcfc6b8c | [
"Apache-2.0"
] | null | null | null | weather.cpp | kubeeapp/Sprinks-Firmware | 5afb4e7184b1b34af7e123baa0dcd67adcfc6b8c | [
"Apache-2.0"
] | null | null | null | weather.cpp | kubeeapp/Sprinks-Firmware | 5afb4e7184b1b34af7e123baa0dcd67adcfc6b8c | [
"Apache-2.0"
] | null | null | null | /* OpenSprinkler Unified (AVR/RPI/BBB/LINUX) Firmware
* Copyright (C) 2015 by Ray Wang (ray@opensprinkler.com)
*
* Weather functions
* Feb 2015 @ OpenSprinkler.com
*
* This file is part of the OpenSprinkler library
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of... | 27.142857 | 124 | 0.634868 | kubeeapp |
3f2f517f2caebce603c1709fbb3c674f21e09b8f | 6,376 | cpp | C++ | cpp-restsdk/model/Simulation.cpp | thracesystems/powermeter-api | 7bdab034ff916ee49e986de88f157bd044e981c1 | [
"Apache-2.0"
] | null | null | null | cpp-restsdk/model/Simulation.cpp | thracesystems/powermeter-api | 7bdab034ff916ee49e986de88f157bd044e981c1 | [
"Apache-2.0"
] | null | null | null | cpp-restsdk/model/Simulation.cpp | thracesystems/powermeter-api | 7bdab034ff916ee49e986de88f157bd044e981c1 | [
"Apache-2.0"
] | null | null | null | /**
* PowerMeter API
* API
*
* The version of the OpenAPI document: 2021.4.1
*
* NOTE: This class is auto generated by OpenAPI-Generator 4.3.1.
* https://openapi-generator.tech
* Do not edit the class manually.
*/
#include "Simulation.h"
namespace powermeter {
namespace model {
Simulation::Simulation()... | 24.617761 | 129 | 0.646644 | thracesystems |
3f2ff5bee1823fa9a0cb46a659aeb463e7ff7e5a | 2,130 | cpp | C++ | TerraForge3D/src/Shading/ShaderNodes/ShaderOutputNode.cpp | fiplox/TerraForge3D | 940c301a8590d00ea24d966b772478a6cacba115 | [
"MIT"
] | 434 | 2021-11-03T06:03:07.000Z | 2022-03-31T22:52:19.000Z | TerraForge3D/src/Shading/ShaderNodes/ShaderOutputNode.cpp | fiplox/TerraForge3D | 940c301a8590d00ea24d966b772478a6cacba115 | [
"MIT"
] | 14 | 2021-11-03T12:11:30.000Z | 2022-03-31T16:52:24.000Z | TerraForge3D/src/Shading/ShaderNodes/ShaderOutputNode.cpp | fiplox/TerraForge3D | 940c301a8590d00ea24d966b772478a6cacba115 | [
"MIT"
] | 45 | 2021-11-04T07:34:21.000Z | 2022-03-31T07:06:05.000Z | #include "Shading/ShaderNodes/ShaderOutputNode.h"
#include <iostream>
void ShaderOutputNode::OnEvaluate(GLSLFunction *function, GLSLLine *line)
{
if (inputPins[0]->IsLinked())
{
GLSLLine ln("");
inputPins[0]->other->Evaluate(GetParams(function, &ln));
line->line = ln.line;
}
else
{
function->AddLine(GLS... | 25.058824 | 123 | 0.619249 | fiplox |
3f30da1b7a5853ea1b7bf89005db4e021dc2baed | 1,195 | cpp | C++ | Thalassa/Motor2D/j1LifeItem.cpp | xavimarin35/PlatformerDev | 98565270f5c62c1a47103bb413ef377e124b35ec | [
"MIT"
] | 1 | 2020-07-04T11:04:52.000Z | 2020-07-04T11:04:52.000Z | Thalassa/Motor2D/j1LifeItem.cpp | xavimarin35/PlatformerDev | 98565270f5c62c1a47103bb413ef377e124b35ec | [
"MIT"
] | null | null | null | Thalassa/Motor2D/j1LifeItem.cpp | xavimarin35/PlatformerDev | 98565270f5c62c1a47103bb413ef377e124b35ec | [
"MIT"
] | 2 | 2019-12-27T12:14:20.000Z | 2020-09-05T16:01:29.000Z | #include "j1LifeItem.h"
#include "p2Defs.h"
#include "p2Log.h"
#include "j1App.h"
#include "j1Textures.h"
#include "j1Render.h"
#include "j1Input.h"
#include "j1Collisions.h"
#include "j1Window.h"
#include "j1Player.h"
#include "j1Audio.h"
#include "j1Map.h"
#include "j1Scene1.h"
#include "Brofiler/Brofiler.h"
j1Life... | 18.106061 | 131 | 0.701255 | xavimarin35 |
3f3214cefd61d5ced909f28c65f01c228e54d931 | 427 | hpp | C++ | src/red4ext/LoadResRef.hpp | jackhumbert/flight_control | 02938f5a26b3a299ef3d9b9e4d40e9294872a7ee | [
"MIT"
] | 1 | 2021-11-09T13:31:07.000Z | 2021-11-09T13:31:07.000Z | src/red4ext/LoadResRef.hpp | jackhumbert/flight_control | 02938f5a26b3a299ef3d9b9e4d40e9294872a7ee | [
"MIT"
] | null | null | null | src/red4ext/LoadResRef.hpp | jackhumbert/flight_control | 02938f5a26b3a299ef3d9b9e4d40e9294872a7ee | [
"MIT"
] | null | null | null | #include <RED4ext/Addresses.hpp>
#include <RED4ext/NativeTypes.hpp>
// 48 89 5C 24 08 48 89 74 24 10 57 48 83 EC 60 41 0F B6 D8 48 8B FA 48 8B F1 48 C7 44 24 20 00 00
constexpr uintptr_t LoadResRefAddr = 0x140200060 - RED4ext::Addresses::ImageBase;
template<typename T>
RED4ext::RelocFunc<RED4ext::ResourceHandle<T> *(... | 47.444444 | 123 | 0.751756 | jackhumbert |
3f338b92d7a033347435f56b928f618be65676b8 | 32,220 | cpp | C++ | enhanced/java/jdktools/modules/jpda/src/main/native/jdwp/common/transport/dt_socket/SocketTransport.cpp | qinFamily/freeVM | 9caa0256b4089d74186f84b8fb2afc95a0afc7bc | [
"Apache-2.0"
] | 5 | 2017-03-08T20:32:39.000Z | 2021-07-10T10:12:38.000Z | enhanced/java/jdktools/modules/jpda/src/main/native/jdwp/common/transport/dt_socket/SocketTransport.cpp | qinFamily/freeVM | 9caa0256b4089d74186f84b8fb2afc95a0afc7bc | [
"Apache-2.0"
] | null | null | null | enhanced/java/jdktools/modules/jpda/src/main/native/jdwp/common/transport/dt_socket/SocketTransport.cpp | qinFamily/freeVM | 9caa0256b4089d74186f84b8fb2afc95a0afc7bc | [
"Apache-2.0"
] | 4 | 2015-07-07T07:06:59.000Z | 2018-06-19T22:38:04.000Z | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | 34.496788 | 165 | 0.662663 | qinFamily |
3f344eafb26b0d3e245293a9b07c7db37b9267dc | 3,129 | cc | C++ | cbsasl/scram-sha/stringutils.cc | BenHuddleston/kv_engine | 78123c9aa2c2feb24b7c31eecc862bf2ed6325e4 | [
"MIT",
"BSD-3-Clause"
] | 104 | 2017-05-22T20:41:57.000Z | 2022-03-24T00:18:34.000Z | cbsasl/scram-sha/stringutils.cc | BenHuddleston/kv_engine | 78123c9aa2c2feb24b7c31eecc862bf2ed6325e4 | [
"MIT",
"BSD-3-Clause"
] | 3 | 2017-11-14T08:12:46.000Z | 2022-03-03T11:14:17.000Z | cbsasl/scram-sha/stringutils.cc | BenHuddleston/kv_engine | 78123c9aa2c2feb24b7c31eecc862bf2ed6325e4 | [
"MIT",
"BSD-3-Clause"
] | 71 | 2017-05-22T20:41:59.000Z | 2022-03-29T10:34:32.000Z | /* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
* Copyright 2016-Present Couchbase, Inc.
*
* Use of this software is governed by the Business Source License included
* in the file licenses/BSL-Couchbase.txt. As of the Change Date specified
* in that file, in accordance... | 32.257732 | 79 | 0.549696 | BenHuddleston |
3f3766e33e293997297c1d6665b34c7b6fc59e5f | 2,581 | cpp | C++ | applications/qTox/src/net/avatarbroadcaster.cpp | gaohangaohan/qkd-net | 90f52104412b5c5c82668362dbd3e4791261f332 | [
"MIT"
] | 17 | 2019-04-21T14:10:57.000Z | 2022-03-26T09:32:53.000Z | applications/qTox/src/net/avatarbroadcaster.cpp | gaohangaohan/qkd-net | 90f52104412b5c5c82668362dbd3e4791261f332 | [
"MIT"
] | 22 | 2019-01-11T19:13:44.000Z | 2022-02-26T17:58:32.000Z | applications/qTox/src/net/avatarbroadcaster.cpp | gaohangaohan/qkd-net | 90f52104412b5c5c82668362dbd3e4791261f332 | [
"MIT"
] | 17 | 2019-03-06T17:29:29.000Z | 2021-08-10T10:17:09.000Z | /*
Copyright © 2015 by The qTox Project Contributors
This file is part of qTox, a Qt-based graphical interface for Tox.
qTox is libre 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 ... | 30.72619 | 96 | 0.722976 | gaohangaohan |
3f39ec123b86ba4e78ebaa7c0798838102ce3650 | 2,995 | cpp | C++ | miscellaneous/test_hdf5/exam_test.cpp | gwpark-git/dynamics_of_networks_and_colloids | 0b0a3687533379ec75171ae6b906aeff5bedfbba | [
"MIT"
] | null | null | null | miscellaneous/test_hdf5/exam_test.cpp | gwpark-git/dynamics_of_networks_and_colloids | 0b0a3687533379ec75171ae6b906aeff5bedfbba | [
"MIT"
] | null | null | null | miscellaneous/test_hdf5/exam_test.cpp | gwpark-git/dynamics_of_networks_and_colloids | 0b0a3687533379ec75171ae6b906aeff5bedfbba | [
"MIT"
] | null | null | null |
#include <iostream>
#include <string>
#include "H5Cpp.h"
const H5std_string FILE_NAME("test_cpp.h5"); // file name setting
const H5std_string DATASET_NAME("IntArray"); // example dataset
const int RANK = 2; ... | 45.378788 | 389 | 0.475459 | gwpark-git |
27842da87a9d0ee310e13c10f7f23608a9c9d703 | 965 | cpp | C++ | test/mp/remove.cpp | Cleyera/gdv | c89dd24898a58c4f905a4d53b6c2b262f2689b09 | [
"MIT"
] | null | null | null | test/mp/remove.cpp | Cleyera/gdv | c89dd24898a58c4f905a4d53b6c2b262f2689b09 | [
"MIT"
] | null | null | null | test/mp/remove.cpp | Cleyera/gdv | c89dd24898a58c4f905a4d53b6c2b262f2689b09 | [
"MIT"
] | null | null | null | #include <tuple>
#include <gdv/mp/test/test.h>
template <typename ...Args>
struct packer;
GDV_MP_TEST_CASE(remove) {
using l1 = ::std::tuple<int, char, short>;
using l2 = ::std::tuple<char, short, unsigned>;
using l3 = ::std::tuple<int, int, int>;
using l4 = ::std::tuple<>;
using l5 = packer<int, ... | 38.6 | 80 | 0.662176 | Cleyera |
27850beb565534dda356ebf90a52d9289bfe016a | 2,186 | cpp | C++ | src/hud/minimap.cpp | WilliamLewww/Mustard | c9fc1ea7780e51e78e3362670a08b1764843ed7e | [
"MIT"
] | null | null | null | src/hud/minimap.cpp | WilliamLewww/Mustard | c9fc1ea7780e51e78e3362670a08b1764843ed7e | [
"MIT"
] | 4 | 2018-01-03T04:51:24.000Z | 2018-09-05T03:02:35.000Z | src/hud/minimap.cpp | WilliamLewww/Mustard | c9fc1ea7780e51e78e3362670a08b1764843ed7e | [
"MIT"
] | null | null | null | #include "minimap.h"
Minimap::Minimap(Vector2 pos, double w, double h) {
position = pos;
width = w;
height = h;
}
void Minimap::initialize(std::vector<std::vector<Vector2>> rList, Vector2 bInitialPosition) {
trianglePosition = position + Vector2((width / 8) - 2.5, (height / 2) - 2);
boardInitialPosition = bIniti... | 33.121212 | 118 | 0.701281 | WilliamLewww |
278573c2e6ee1948ab31f782586df86a67229ec6 | 529 | cpp | C++ | MyFiles/ HLPSUG.cpp | manishSRM/solvedProblems | 78492e51488605e46fd19bba472736825a2faf32 | [
"Apache-2.0"
] | null | null | null | MyFiles/ HLPSUG.cpp | manishSRM/solvedProblems | 78492e51488605e46fd19bba472736825a2faf32 | [
"Apache-2.0"
] | null | null | null | MyFiles/ HLPSUG.cpp | manishSRM/solvedProblems | 78492e51488605e46fd19bba472736825a2faf32 | [
"Apache-2.0"
] | null | null | null | #include <cstdio>
#include <algorithm>
#include <limits.h>
#include <vector>
using namespace std;
const K = 25;
int main () {
int T;
scanf ("%d", &T);
while (T--) {
int N;
scanf ("%d", &N);
vector <bool> prime (N + 1, true);
for(int i = 2; i <= MAX / i; i++) {
for(int j = i * i; j <= MAX; j += i)... | 17.633333 | 47 | 0.451796 | manishSRM |
2787b9db157213a4953936b15695e99f362ffe03 | 3,303 | cpp | C++ | src/other/ext/openscenegraph/src/osgUtil/PositionalStateContainer.cpp | lf-/brlcad | f91ea585c1a930a2e97c3f5a8274db8805ebbb46 | [
"BSD-4-Clause",
"BSD-3-Clause"
] | 1 | 2019-10-23T16:17:49.000Z | 2019-10-23T16:17:49.000Z | src/other/openscenegraph/src/osgUtil/PositionalStateContainer.cpp | pombredanne/sf.net-brlcad | fb56f37c201b51241e8f3aa7b979436856f43b8c | [
"BSD-4-Clause",
"BSD-3-Clause"
] | null | null | null | src/other/openscenegraph/src/osgUtil/PositionalStateContainer.cpp | pombredanne/sf.net-brlcad | fb56f37c201b51241e8f3aa7b979436856f43b8c | [
"BSD-4-Clause",
"BSD-3-Clause"
] | 1 | 2018-12-21T21:09:47.000Z | 2018-12-21T21:09:47.000Z | /* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield
*
* This library is open source and may be redistributed and/or modified under
* the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or
* (at your option) any later version. The full license is in LICENSE file
* included with this... | 30.302752 | 111 | 0.629428 | lf- |
278a0a3d9c9bf3ab89677a7f9eb05faf5b61f1a4 | 3,266 | hpp | C++ | include/ecst/signature_list/system/bf_traversal.hpp | SuperV1234/ecst | b3c42e2c28978f1cd8ea620ade62613c6c875432 | [
"AFL-3.0"
] | 475 | 2016-05-03T13:34:30.000Z | 2021-11-26T07:02:47.000Z | include/ecst/signature_list/system/bf_traversal.hpp | vittorioromeo/ecst | b3c42e2c28978f1cd8ea620ade62613c6c875432 | [
"AFL-3.0"
] | 28 | 2016-08-30T06:37:40.000Z | 2017-11-24T11:14:07.000Z | include/ecst/signature_list/system/bf_traversal.hpp | vittorioromeo/ecst | b3c42e2c28978f1cd8ea620ade62613c6c875432 | [
"AFL-3.0"
] | 60 | 2016-05-11T22:16:15.000Z | 2021-08-02T20:42:35.000Z | // Copyright (c) 2015-2016 Vittorio Romeo
// License: Academic Free License ("AFL") v. 3.0
// AFL License page: http://opensource.org/licenses/AFL-3.0
// http://vittorioromeo.info | vittorio.romeo@outlook.com
#pragma once
#include <ecst/config.hpp>
#include <ecst/aliases.hpp>
#include <ecst/mp/list.hpp>
ECST_SIGNATU... | 31.104762 | 79 | 0.541335 | SuperV1234 |
27907eefca50530af5307051e28e616bf24d857f | 8,867 | cpp | C++ | binding-cpp/runtime/src/test/serialization/EtchValidatorObjectTest.cpp | apache/etch | 5a875755019a7f342a07c8c368a50e3efb6ae68c | [
"ECL-2.0",
"Apache-2.0"
] | 9 | 2015-02-14T15:09:54.000Z | 2021-11-10T15:09:45.000Z | binding-cpp/runtime/src/test/serialization/EtchValidatorObjectTest.cpp | apache/etch | 5a875755019a7f342a07c8c368a50e3efb6ae68c | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | binding-cpp/runtime/src/test/serialization/EtchValidatorObjectTest.cpp | apache/etch | 5a875755019a7f342a07c8c368a50e3efb6ae68c | [
"ECL-2.0",
"Apache-2.0"
] | 14 | 2015-04-20T10:35:00.000Z | 2021-11-10T15:09:35.000Z |
/* $Id$
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to you under the Apache License, Version
* 2.0 (the "License"); ... | 48.190217 | 140 | 0.754032 | apache |
2790b02970561906ce1fc2c115f11842d482fd0c | 1,313 | hpp | C++ | include/pch.hpp | KaixoCode/SoundMixr | 6f27c14f596c45debb584925db4e1f45808031a9 | [
"MIT"
] | 18 | 2021-01-24T14:28:15.000Z | 2021-12-02T20:19:09.000Z | include/pch.hpp | KaixoCode/SoundMixr | 6f27c14f596c45debb584925db4e1f45808031a9 | [
"MIT"
] | 1 | 2021-06-21T18:39:56.000Z | 2021-06-22T16:09:18.000Z | include/pch.hpp | KaixoCode/SoundMixr | 6f27c14f596c45debb584925db4e1f45808031a9 | [
"MIT"
] | null | null | null | #include <iostream>
#include <any>
#include <ranges>
#include "GuiCode2/pch.hpp"
#include "GuiCode2/Panel.hpp"
#include "GuiCode2/Menu.hpp"
#include "GuiCode2/Event.hpp"
#include "GuiCode2/Frame.hpp"
#include "GuiCode2/ContextMenu.hpp"
#include "GuiCode2/TextBox.hpp"
#include "GuiCode2/TextArea.hpp"
#define JSON_TRY... | 24.314815 | 81 | 0.657273 | KaixoCode |
2790f2ae01a2407222aa9fc9a81518fb63ab3fa5 | 8,396 | cpp | C++ | Source/ModuleParticles.cpp | IconicGIT/NextStage | a6740b64ac40c5f99e6620f98f423da38cb73d7e | [
"MIT"
] | 3 | 2021-02-22T09:04:25.000Z | 2021-02-22T16:56:36.000Z | Source/ModuleParticles.cpp | IconicGIT/NextStage | a6740b64ac40c5f99e6620f98f423da38cb73d7e | [
"MIT"
] | null | null | null | Source/ModuleParticles.cpp | IconicGIT/NextStage | a6740b64ac40c5f99e6620f98f423da38cb73d7e | [
"MIT"
] | 5 | 2021-02-22T08:50:22.000Z | 2021-10-02T11:02:55.000Z | #include "ModuleParticles.h"
#include "Application.h"
#include "ModuleTextures.h"
#include "ModuleRender.h"
#include "ModuleCollisions.h"
#include "Collider.h"
#include "Globals.h"
#include "SDL/include/SDL_timer.h"
ModuleParticles::ModuleParticles(bool startEnabled) : Module(startEnabled)
{
for(uint i = 0; i < MA... | 25.442424 | 137 | 0.650548 | IconicGIT |
2792555cf9355da77fd105139a32a85f40fb725d | 46 | cpp | C++ | examples/YAJL/boo.cpp | Costallat/hunter | dc0d79cb37b30cad6d6472d7143fe27be67e26d5 | [
"BSD-2-Clause"
] | 2,146 | 2015-01-10T07:26:58.000Z | 2022-03-21T02:28:01.000Z | examples/YAJL/boo.cpp | koinos/hunter | fc17bc391210bf139c55df7f947670c5dff59c57 | [
"BSD-2-Clause"
] | 1,778 | 2015-01-03T11:50:30.000Z | 2019-12-26T05:31:20.000Z | examples/YAJL/boo.cpp | koinos/hunter | fc17bc391210bf139c55df7f947670c5dff59c57 | [
"BSD-2-Clause"
] | 734 | 2015-03-05T19:52:34.000Z | 2022-02-22T23:18:54.000Z | #include <yajl/yajl_common.h>
int main() {
}
| 9.2 | 29 | 0.652174 | Costallat |
279480253a520924f7aeeedbe05e6518b9434fb3 | 6,535 | cc | C++ | src/base/time/time.cc | 243286065/cpplib_base | 9c63d556a0097fa5d9893e83c78ce9ebfd401ee0 | [
"BSD-3-Clause"
] | 10 | 2020-05-27T10:01:26.000Z | 2022-02-12T16:54:54.000Z | src/base/time/time.cc | 243286065/cpplib_base | 9c63d556a0097fa5d9893e83c78ce9ebfd401ee0 | [
"BSD-3-Clause"
] | 1 | 2020-09-16T00:50:02.000Z | 2020-09-17T03:53:06.000Z | src/base/time/time.cc | 243286065/cpplib_base | 9c63d556a0097fa5d9893e83c78ce9ebfd401ee0 | [
"BSD-3-Clause"
] | 9 | 2020-06-03T09:40:00.000Z | 2021-12-05T12:43:20.000Z | #include "base/time/time.h"
#include <chrono>
#include <iomanip>
#include "base/log/logging.h"
namespace base {
const int64_t kHoursPerDay = 24;
const int64_t kSecondsPerMinute = 60;
const int64_t kSecondsPerHour = 60 * kSecondsPerMinute;
const int64_t kMillisecondsPerSecond = 1000;
const int64_t kMillisecondsPerDa... | 28.413043 | 76 | 0.695486 | 243286065 |
27965ac4051d43b2d857b12477817ab90f28b336 | 3,459 | cc | C++ | programs/playlist.cc | paulfd/fmidi | f12d08d6ccd27d2580ec4e21717fbc3ab4b73a20 | [
"BSL-1.0"
] | 17 | 2018-04-18T08:57:12.000Z | 2022-01-25T08:24:14.000Z | programs/playlist.cc | paulfd/fmidi | f12d08d6ccd27d2580ec4e21717fbc3ab4b73a20 | [
"BSL-1.0"
] | 3 | 2018-11-02T13:20:51.000Z | 2021-08-03T13:42:06.000Z | programs/playlist.cc | paulfd/fmidi | f12d08d6ccd27d2580ec4e21717fbc3ab4b73a20 | [
"BSL-1.0"
] | 3 | 2020-04-22T17:55:31.000Z | 2021-08-02T21:10:01.000Z | // Copyright Jean Pierre Cimalando 2018.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE.md or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#include "playlist.h"
#if defined(FMIDI_PLAY_USE_BOOST_FILESYSTEM)
#include <boost/filesystem.hpp>
namespa... | 20.589286 | 69 | 0.614629 | paulfd |
279ce6b4234aa64bada26d7ab15ce3a0d2bf02c8 | 4,027 | cc | C++ | tests/test_geometry.cc | tatsy/rainy | 9c1485eae242a13cff18f7cedc88962ed2538168 | [
"MIT"
] | 22 | 2015-08-20T01:29:31.000Z | 2020-12-20T01:05:41.000Z | tests/test_geometry.cc | tatsy/rainy | 9c1485eae242a13cff18f7cedc88962ed2538168 | [
"MIT"
] | 17 | 2015-04-21T23:44:12.000Z | 2017-08-02T09:55:41.000Z | tests/test_geometry.cc | tatsy/rainy | 9c1485eae242a13cff18f7cedc88962ed2538168 | [
"MIT"
] | 5 | 2015-11-11T13:26:59.000Z | 2020-04-27T10:55:53.000Z | #include "gtest/gtest.h"
#include <cmath>
#include "spica.h"
using namespace spica;
// ------------------------------
// Sphere class test
// ------------------------------
TEST(BSphereTest, InstanceTest) {
BSphere sp0;
EXPECT_EQ(0.0, sp0.center().x());
EXPECT_EQ(0.0, sp0.center().y());
... | 31.960317 | 93 | 0.548299 | tatsy |
279d9d7f6e6fb3e43173bfb31229a534e324ab41 | 919 | cpp | C++ | imGUIWin.Demo/mainapp.cpp | Bit00009/imGUIWin | 98c3f2d114a9ebd5351a6a863317a3a474e0c994 | [
"MIT"
] | null | null | null | imGUIWin.Demo/mainapp.cpp | Bit00009/imGUIWin | 98c3f2d114a9ebd5351a6a863317a3a474e0c994 | [
"MIT"
] | null | null | null | imGUIWin.Demo/mainapp.cpp | Bit00009/imGUIWin | 98c3f2d114a9ebd5351a6a863317a3a474e0c994 | [
"MIT"
] | null | null | null | #include <Windows.h>
#include <iostream>
#include "imGUIWinLib.h"
#pragma comment(lib, "..\\build\\imGUIWinLib.lib")
using namespace std;
int main()
{
cout << "imGUIWin.Demo" << endl;
InitializeGUIEngine();
cout << "GUI Engine has been initialized." << endl;
ViewHandle view01 = CreateNewViewWind... | 24.837838 | 75 | 0.581066 | Bit00009 |
279f48a21abbc7ed488f83df337c9021492e9b6e | 545 | cpp | C++ | insomnia.cpp | VamsiKrishna04/Hacktoberfest_2021-1 | 6d0d217161957746a4b60b7d1f0f71db21026f5a | [
"MIT"
] | 1 | 2021-11-10T10:01:53.000Z | 2021-11-10T10:01:53.000Z | insomnia.cpp | VamsiKrishna04/Hacktoberfest_2021-1 | 6d0d217161957746a4b60b7d1f0f71db21026f5a | [
"MIT"
] | 3 | 2021-10-22T04:46:25.000Z | 2021-11-17T06:37:10.000Z | insomnia.cpp | VamsiKrishna04/Hacktoberfest_2021-1 | 6d0d217161957746a4b60b7d1f0f71db21026f5a | [
"MIT"
] | 12 | 2021-10-21T13:56:49.000Z | 2021-11-17T06:32:30.000Z | #include <bits/stdc++.h>
using namespace std;
int LCM(int a,int b){
int lcm =(a/__gcd(a,b))*b;
return lcm;
}
int main(){
int j,k,l,m,d;
cin>>j;
cin>>k;
cin>>l;
cin>>m;
cin>>d;
int f1=(d/j)+(d/k)+(d/l)+(d/m);
int f2=(d/LCM(j,k))+(d/LCM(j,l))+(d/LCM(j,m))+(d/LCM(l... | 23.695652 | 90 | 0.456881 | VamsiKrishna04 |
27a1666fb2f9df9fbeadd5efa5ddf5724aa308d4 | 5,673 | cpp | C++ | src/backend/dnnl/patterns/reorder_fusion.cpp | wuxun-zhang/mkl-dnn | 00a239ad2c932b967234ffb528069800ffcc0334 | [
"Apache-2.0"
] | null | null | null | src/backend/dnnl/patterns/reorder_fusion.cpp | wuxun-zhang/mkl-dnn | 00a239ad2c932b967234ffb528069800ffcc0334 | [
"Apache-2.0"
] | null | null | null | src/backend/dnnl/patterns/reorder_fusion.cpp | wuxun-zhang/mkl-dnn | 00a239ad2c932b967234ffb528069800ffcc0334 | [
"Apache-2.0"
] | null | null | null | /*******************************************************************************
* Copyright 2021-2022 Intel Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apa... | 45.75 | 80 | 0.52318 | wuxun-zhang |
27a206a12ebb0045c7d3f79113374bc09331e8ad | 127 | cpp | C++ | cpp_CS225/daily-exercise/day34-Balancing-an-AVL-Tree/potd-q34-clean/TreeNode.cpp | Rothdyt/codes-for-courses | a2dfea516ebc7cabef31a5169533b6da352e7ccb | [
"MIT"
] | 4 | 2018-09-23T00:00:13.000Z | 2018-11-02T22:56:35.000Z | cpp_CS225/daily-exercise/day34-Balancing-an-AVL-Tree/potd-q34-clean/TreeNode.cpp | Rothdyt/codes-for-courses | a2dfea516ebc7cabef31a5169533b6da352e7ccb | [
"MIT"
] | null | null | null | cpp_CS225/daily-exercise/day34-Balancing-an-AVL-Tree/potd-q34-clean/TreeNode.cpp | Rothdyt/codes-for-courses | a2dfea516ebc7cabef31a5169533b6da352e7ccb | [
"MIT"
] | null | null | null | #include "TreeNode.h"
TreeNode::RotationType balanceTree(TreeNode*& subroot) {
// Your code here
return TreeNode::right;
}
| 18.142857 | 56 | 0.732283 | Rothdyt |
27a44b5fc024dbf5b1c983b9890f44a2cbc0b8a4 | 2,858 | cpp | C++ | lang/Uint8.cpp | wangsun1983/Obotcha | 2464e53599305703f5150df72bf73579a39d8ef4 | [
"MIT"
] | 27 | 2019-04-27T00:51:22.000Z | 2022-03-30T04:05:44.000Z | lang/Uint8.cpp | wangsun1983/Obotcha | 2464e53599305703f5150df72bf73579a39d8ef4 | [
"MIT"
] | 9 | 2020-05-03T12:17:50.000Z | 2021-10-15T02:18:47.000Z | lang/Uint8.cpp | wangsun1983/Obotcha | 2464e53599305703f5150df72bf73579a39d8ef4 | [
"MIT"
] | 1 | 2019-04-16T01:45:36.000Z | 2019-04-16T01:45:36.000Z | /**
* @file String.cpp
* @brief this class used for uint8
* @details none
* @mainpage none
* @author sunli.wang
* @email wang_sun_1983@yahoo.co.jp
* @version 0.0.1
* @date 2019-07-12
* @license none
*/
#include <algorithm>
#include "InitializeException.hpp"
#include "NullPointerException.hpp"
#include "Numbe... | 24.016807 | 88 | 0.625612 | wangsun1983 |
27a866584475c55810bc531c68d8d198a631ea02 | 20,232 | hpp | C++ | lib/swig/cpp_wrappers/pokemon.hpp | ncorgan/libpkmn | c683bf8b85b03eef74a132b5cfdce9be0969d523 | [
"MIT"
] | 4 | 2017-06-10T13:21:44.000Z | 2019-10-30T21:20:19.000Z | lib/swig/cpp_wrappers/pokemon.hpp | PMArkive/libpkmn | c683bf8b85b03eef74a132b5cfdce9be0969d523 | [
"MIT"
] | 12 | 2017-04-05T11:13:34.000Z | 2018-06-03T14:31:03.000Z | lib/swig/cpp_wrappers/pokemon.hpp | PMArkive/libpkmn | c683bf8b85b03eef74a132b5cfdce9be0969d523 | [
"MIT"
] | 2 | 2019-01-22T21:02:31.000Z | 2019-10-30T21:20:20.000Z | /*
* Copyright (c) 2017-2018 Nicholas Corgan (n.corgan@gmail.com)
*
* Distributed under the MIT License (MIT) (See accompanying file LICENSE.txt
* or copy at http://opensource.org/licenses/MIT)
*/
#ifndef CPP_WRAPPERS_POKEMON_HPP
#define CPP_WRAPPERS_POKEMON_HPP
#include "exception_internal.hpp"
#include "privat... | 27.084337 | 90 | 0.453588 | ncorgan |
27ab6eb974d421324d24ad2527fcb0c1b80f652c | 1,711 | cpp | C++ | main.cpp | thirdkindgames/thread_context | 715ba7a7a8be11f3806b85828096107cd9eb1619 | [
"Unlicense"
] | null | null | null | main.cpp | thirdkindgames/thread_context | 715ba7a7a8be11f3806b85828096107cd9eb1619 | [
"Unlicense"
] | null | null | null | main.cpp | thirdkindgames/thread_context | 715ba7a7a8be11f3806b85828096107cd9eb1619 | [
"Unlicense"
] | null | null | null | #include <assert.h>
#include <stack>
#include <windows.h>
#include "fiber_job_system.h"
#include "memory_pool.h"
#include "page_allocator.h"
#include "system_memory_pool.h"
#include "thread_context.h"
// Program
void main()
{
// Mem Test
char* x = new char[ 512 ]; // All... | 45.026316 | 191 | 0.670368 | thirdkindgames |
27aded1679161f1d0eefd20d95a03c012fb6fb36 | 1,013 | cpp | C++ | leetcode-solutions/medium/61 Rotate-List.cpp | jaikarans/coding-solutions | b3cb8251c902d6a8b626fff1a86500249ff7c9e4 | [
"MIT"
] | null | null | null | leetcode-solutions/medium/61 Rotate-List.cpp | jaikarans/coding-solutions | b3cb8251c902d6a8b626fff1a86500249ff7c9e4 | [
"MIT"
] | null | null | null | leetcode-solutions/medium/61 Rotate-List.cpp | jaikarans/coding-solutions | b3cb8251c902d6a8b626fff1a86500249ff7c9e4 | [
"MIT"
] | null | null | null | /**
* Definition for singly-linked list.
* struct ListNode {
* int val;
* ListNode *next;
* ListNode() : val(0), next(nullptr) {}
* ListNode(int x) : val(x), next(nullptr) {}
* ListNode(int x, ListNode *next) : val(x), next(next) {}
* };
*/
class Solution {
public:
ListNode* rotateRight... | 28.942857 | 90 | 0.483712 | jaikarans |
27aee6c3b55d0786b7cd4ba9de5fa736f359e3ef | 31,636 | cpp | C++ | src/TraceMin.cpp | ycwu1030/PhaseTransitions | 76bee3915b26025a607a71c372005ea88b3d1389 | [
"MIT"
] | 1 | 2020-06-05T22:59:34.000Z | 2020-06-05T22:59:34.000Z | src/TraceMin.cpp | ycwu1030/PhaseTransitions | 76bee3915b26025a607a71c372005ea88b3d1389 | [
"MIT"
] | null | null | null | src/TraceMin.cpp | ycwu1030/PhaseTransitions | 76bee3915b26025a607a71c372005ea88b3d1389 | [
"MIT"
] | null | null | null | /*
* @Description : Trace the minima of a potential and find critical temperature
*/
#include <iostream>
#include "TraceMin.h"
#include "Phases.h"
#include <tuple>
#include <functional>
#include <algorithm>
#include <gsl/gsl_math.h>
#include <gsl/gsl_eigen.h>
#include <gsl/gsl_linalg.h>
#include <gsl/gsl_multimin.h>... | 33.512712 | 269 | 0.509831 | ycwu1030 |
27aef24a7ac056d1fd0950cd6b1e13db814f5b83 | 2,428 | hh | C++ | include/G4NRFNuclearLevelStore.hh | jvavrek/NIMB2018 | 0aaf4143db2194b9f95002c681e4f860c8c76f7a | [
"MIT"
] | 4 | 2020-06-28T02:18:53.000Z | 2022-01-17T07:54:31.000Z | include/G4NRFNuclearLevelStore.hh | jvavrek/NIMB2018 | 0aaf4143db2194b9f95002c681e4f860c8c76f7a | [
"MIT"
] | 3 | 2018-08-16T18:49:53.000Z | 2020-10-19T18:04:25.000Z | include/G4NRFNuclearLevelStore.hh | jvavrek/NIMB2018 | 0aaf4143db2194b9f95002c681e4f860c8c76f7a | [
"MIT"
] | null | null | null | //
// ********************************************************************
// * License and Disclaimer *
// * *
// * The Geant4 software is copyright of the Copyright Holders of *
// * the Geant4 Collaboration... | 39.803279 | 97 | 0.59514 | jvavrek |
27aefb76dc69488e0458ffb30b71fcdf94edd217 | 864 | hpp | C++ | src/metal-pipeline/include/metal-pipeline/operator_specification.hpp | metalfs/metal_fs | f244d4125622849f36bd7846881a5f3a7efca188 | [
"MIT"
] | 12 | 2020-04-21T05:21:32.000Z | 2022-02-19T11:27:18.000Z | src/metal-pipeline/include/metal-pipeline/operator_specification.hpp | metalfs/metal_fs | f244d4125622849f36bd7846881a5f3a7efca188 | [
"MIT"
] | 10 | 2019-02-10T17:10:16.000Z | 2020-02-01T20:05:42.000Z | src/metal-pipeline/include/metal-pipeline/operator_specification.hpp | metalfs/metal_fs | f244d4125622849f36bd7846881a5f3a7efca188 | [
"MIT"
] | 4 | 2020-07-15T04:42:20.000Z | 2022-02-19T11:27:19.000Z | #pragma once
#include <metal-pipeline/metal-pipeline_api.h>
#include <string>
#include <unordered_map>
#include <metal-pipeline/operator_argument.hpp>
namespace metal {
class METAL_PIPELINE_API OperatorSpecification {
public:
explicit OperatorSpecification(std::string id, const std::string& manifest);
std::s... | 25.411765 | 79 | 0.758102 | metalfs |
27b098d055129ec8db52feaeb06fb904b49f0fc2 | 428 | cpp | C++ | Engine/Source/Core/Intersectable/Bvh/BvhIntersectableInfo.cpp | jasonoscar88/Photon-v2 | 90649196c436261d28cc2300511b78ac88236448 | [
"MIT"
] | 88 | 2017-01-21T18:20:16.000Z | 2021-12-21T02:32:04.000Z | Engine/Source/Core/Intersectable/Bvh/BvhIntersectableInfo.cpp | jasonoscar88/Photon-v2 | 90649196c436261d28cc2300511b78ac88236448 | [
"MIT"
] | 72 | 2017-07-28T10:00:35.000Z | 2021-11-09T18:36:23.000Z | Engine/Source/Core/Intersectable/Bvh/BvhIntersectableInfo.cpp | jasonoscar88/Photon-v2 | 90649196c436261d28cc2300511b78ac88236448 | [
"MIT"
] | 8 | 2017-03-19T12:19:10.000Z | 2020-05-19T15:15:05.000Z | #include "Core/Intersectable/Bvh/BvhIntersectableInfo.h"
#include "Core/Intersectable/Intersectable.h"
#include <iostream>
namespace ph
{
BvhIntersectableInfo::BvhIntersectableInfo(
const Intersectable* const intersectable,
const std::size_t index) :
index(index), aabb(), aabbCentroid(), intersectable(i... | 23.777778 | 67 | 0.759346 | jasonoscar88 |
27b0e47d6ba351a80f5da82c3c167c3f05893d6e | 1,978 | cpp | C++ | Source/NightLight/Core/BaseImpactEffect.cpp | sena0711/NightLight | d7de62c0e731fa42973ac27ab20be7bc99e05688 | [
"Apache-2.0"
] | null | null | null | Source/NightLight/Core/BaseImpactEffect.cpp | sena0711/NightLight | d7de62c0e731fa42973ac27ab20be7bc99e05688 | [
"Apache-2.0"
] | null | null | null | Source/NightLight/Core/BaseImpactEffect.cpp | sena0711/NightLight | d7de62c0e731fa42973ac27ab20be7bc99e05688 | [
"Apache-2.0"
] | null | null | null | // Fill out your copyright notice in the Description page of Project Settings.
#include "BaseImpactEffect.h"
#include "PhysicalMaterials/PhysicalMaterial.h"
#include "Kismet/GameplayStatics.h"
#include "Materials/Material.h"
//#include "Components/SceneComponent.h"
//#include "Sound/SoundBase.h"
#include "Components/P... | 29.522388 | 115 | 0.787159 | sena0711 |
27b2961fb467b28a14de8321f475dc26165779db | 723 | cpp | C++ | swig/cpp/tests/transport/inproc.cpp | mwpowellhtx/cppnngswig | 44e4c050b77b83608b440801dd253995c14bd1fc | [
"MIT"
] | null | null | null | swig/cpp/tests/transport/inproc.cpp | mwpowellhtx/cppnngswig | 44e4c050b77b83608b440801dd253995c14bd1fc | [
"MIT"
] | null | null | null | swig/cpp/tests/transport/inproc.cpp | mwpowellhtx/cppnngswig | 44e4c050b77b83608b440801dd253995c14bd1fc | [
"MIT"
] | null | null | null | //
// Copyright (c) 2017 Michael W Powell <mwpowellhtx@gmail.com>
// Copyright 2017 Garrett D'Amore <garrett@damore.org>
// Copyright 2017 Capitar IT Group BV <info@capitar.com>
//
// This software is supplied under the terms of the MIT License, a
// copy of which should be located in the distribution where this
// fil... | 27.807692 | 70 | 0.706777 | mwpowellhtx |
27b5a4972bbff713175558c3a0de9c12ee830474 | 1,487 | cpp | C++ | test/engine/world/scene.t.cpp | numinousgames/tron | 86cd3e5a1f020f0b7f938e1abede8bb29a432dbb | [
"Apache-2.0"
] | null | null | null | test/engine/world/scene.t.cpp | numinousgames/tron | 86cd3e5a1f020f0b7f938e1abede8bb29a432dbb | [
"Apache-2.0"
] | null | null | null | test/engine/world/scene.t.cpp | numinousgames/tron | 86cd3e5a1f020f0b7f938e1abede8bb29a432dbb | [
"Apache-2.0"
] | null | null | null | // scene.t.cpp
#include <engine/world/scene.h>
#include <gtest/gtest.h>
#include "engine/world/mock_tickable.h"
TEST( Scene, Construction )
{
using namespace nge::wrld;
Scene scene;
Scene copy( scene );
Scene moved( std::move( scene ) );
copy = moved;
copy = std::move( moved );
}
TEST( Scen... | 20.943662 | 42 | 0.60121 | numinousgames |
27b7eaa025acf6383d0b4de7c42b7ebf3b4e55d4 | 8,117 | cpp | C++ | gui_manager.cpp | shlomif/Impatience | 2460ad95f78559a30223112f899d7e8f53c4a4a5 | [
"X11",
"MIT"
] | null | null | null | gui_manager.cpp | shlomif/Impatience | 2460ad95f78559a30223112f899d7e8f53c4a4a5 | [
"X11",
"MIT"
] | null | null | null | gui_manager.cpp | shlomif/Impatience | 2460ad95f78559a30223112f899d7e8f53c4a4a5 | [
"X11",
"MIT"
] | null | null | null | /* Copyright (c) 2012 Ivan Rubinson
*
* 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,... | 33.130612 | 177 | 0.52889 | shlomif |
27b82be43355c125f8dc94b99ea1500e2ba04c58 | 346 | hpp | C++ | template/debug.hpp | rogeryoungh/code-of-acm | 3de301444b22e08a9266ecb2e72c3a8ed3014611 | [
"MIT"
] | 1 | 2021-11-25T02:11:49.000Z | 2021-11-25T02:11:49.000Z | template/debug.hpp | rogeryoungh/code-of-acm | 3de301444b22e08a9266ecb2e72c3a8ed3014611 | [
"MIT"
] | null | null | null | template/debug.hpp | rogeryoungh/code-of-acm | 3de301444b22e08a9266ecb2e72c3a8ed3014611 | [
"MIT"
] | null | null | null | #include "template/debug/print.hpp"
pair<int, int> approx(int p, int q, int A) {
int x = q, y = p, a = 1, b = 0;
while (x > A) {
swap(x, y); swap(a, b);
a -= x / y * b;
x %= y;
}
return make_pair(x, a);
}
#ifdef ACM_MOD
pair<int, int> simp(int n, int m = mod) {
return appro... | 18.210526 | 44 | 0.488439 | rogeryoungh |
27b990e961898e03202bbd0ecb432f3e2a2d7c73 | 59 | cpp | C++ | Plugins/ParseXML/Source/ParseXML/Private/SimpleSpline.cpp | dymons/Sumo2Unreal | c0dc6a9552572035535c9081df0006889213179a | [
"MIT"
] | 33 | 2018-10-03T17:05:14.000Z | 2022-03-09T08:10:40.000Z | Plugins/ParseXML/Source/ParseXML/Private/SimpleSpline.cpp | dymons/Sumo2Unreal | c0dc6a9552572035535c9081df0006889213179a | [
"MIT"
] | 7 | 2018-12-06T15:49:18.000Z | 2021-07-27T03:33:11.000Z | Plugins/ParseXML/Source/ParseXML/Private/SimpleSpline.cpp | dymons/Sumo2Unreal | c0dc6a9552572035535c9081df0006889213179a | [
"MIT"
] | 19 | 2019-04-17T05:22:27.000Z | 2021-07-27T03:08:43.000Z | #include "SimpleSpline.h"
SimpleSpline::SimpleSpline() {}; | 19.666667 | 32 | 0.745763 | dymons |
27b99f627bae9a54b10e0fa3479cbde992218694 | 664 | hpp | C++ | include/lol/def/LcdsPayloadDto.hpp | Maufeat/LeagueAPI | be7cb5093aab3f27d95b3c0e1d5700aa50126c47 | [
"BSD-3-Clause"
] | 1 | 2020-07-22T11:14:55.000Z | 2020-07-22T11:14:55.000Z | include/lol/def/LcdsPayloadDto.hpp | Maufeat/LeagueAPI | be7cb5093aab3f27d95b3c0e1d5700aa50126c47 | [
"BSD-3-Clause"
] | null | null | null | include/lol/def/LcdsPayloadDto.hpp | Maufeat/LeagueAPI | be7cb5093aab3f27d95b3c0e1d5700aa50126c47 | [
"BSD-3-Clause"
] | 4 | 2018-12-01T22:48:21.000Z | 2020-07-22T11:14:56.000Z | #pragma once
#include "../base_def.hpp"
namespace lol {
struct LcdsPayloadDto {
std::string method;
std::map<std::string, std::string> headers;
std::string path;
std::string body;
};
inline void to_json(json& j, const LcdsPayloadDto& v) {
j["method"] = v.method;
j["headers"] = v.header... | 30.181818 | 75 | 0.585843 | Maufeat |
27bd55db8a9046a9a14a30bbe9c7dd6b56b54d99 | 462 | hpp | C++ | source/mat2.hpp | Lucius-sama/programmiersprachen-aufgabenblatt-2 | 35c98e73aece7c490269db35d0bfd595086a473a | [
"MIT"
] | null | null | null | source/mat2.hpp | Lucius-sama/programmiersprachen-aufgabenblatt-2 | 35c98e73aece7c490269db35d0bfd595086a473a | [
"MIT"
] | null | null | null | source/mat2.hpp | Lucius-sama/programmiersprachen-aufgabenblatt-2 | 35c98e73aece7c490269db35d0bfd595086a473a | [
"MIT"
] | null | null | null | #ifndef MAT2_HPP
#define MAT2_HPP
#include<array>
#include <cmath>
#include"vec2.hpp"
struct Mat2 {
float e_00 = 1.0f;
float e_01 = 0.0f;
float e_10 = 0.0f;
float e_11 = 1.0f;
Mat2& operator*=(Mat2 const& m);
float deter() const;
};
Mat2 operator*(Mat2 const& m1, Mat2 const& m2);
Vec2 opera... | 18.48 | 47 | 0.668831 | Lucius-sama |
27bf90cd7e52709c04f8b34582765168ac2a5af2 | 2,141 | cpp | C++ | lib/dataset/variable_reduction.cpp | mlund/scipp | 26648fdcda49b21a7aacdafd58625fab7ee3403b | [
"BSD-3-Clause"
] | null | null | null | lib/dataset/variable_reduction.cpp | mlund/scipp | 26648fdcda49b21a7aacdafd58625fab7ee3403b | [
"BSD-3-Clause"
] | null | null | null | lib/dataset/variable_reduction.cpp | mlund/scipp | 26648fdcda49b21a7aacdafd58625fab7ee3403b | [
"BSD-3-Clause"
] | null | null | null | // SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 2022 Scipp contributors (https://github.com/scipp)
/// @file
/// @author Simon Heybrock
#include "scipp/dataset/map_view.h"
#include "../variable/operations_common.h"
#include "scipp/variable/arithmetic.h"
#include "scipp/variable/creation.h"
#include "scipp/va... | 32.938462 | 80 | 0.698272 | mlund |
27c0dac61f1aeb9f4c4cb987c46aa74053235b57 | 2,652 | cpp | C++ | day08/08_04_videoDrift/src/ofApp.cpp | ajbajb/ARTTECH3135-spring2019 | ecce35823dbdb37ad6d1071a6e0c290d5d795b2e | [
"MIT"
] | 1 | 2019-01-24T05:03:27.000Z | 2019-01-24T05:03:27.000Z | day08/08_04_videoDrift/src/ofApp.cpp | ajbajb/ARTTECH3135-spring2019 | ecce35823dbdb37ad6d1071a6e0c290d5d795b2e | [
"MIT"
] | null | null | null | day08/08_04_videoDrift/src/ofApp.cpp | ajbajb/ARTTECH3135-spring2019 | ecce35823dbdb37ad6d1071a6e0c290d5d795b2e | [
"MIT"
] | 1 | 2019-04-11T18:26:18.000Z | 2019-04-11T18:26:18.000Z | #include "ofApp.h"
//--------------------------------------------------------------
void ofApp::setup()
{
grabber.setup(640, 480);
gw = grabber.getWidth();
gh = grabber.getHeight();
bufferPix.allocate(gw, gh, OF_PIXELS_RGB);
tex.allocate(gw, gh, GL_RGB);
bufferPix.set(255);
}
//-----... | 23.678571 | 86 | 0.343514 | ajbajb |
27c434434326a9860e4be3c01c1e5129d6a280f5 | 50 | cpp | C++ | extensions/aasb/platforms/android/modules/aasb-core/src/main/cpp/dummy.cpp | krishnaprasad/alexa-auto-sdk | 2fb8d28a9c4138111f9b19c2527478562acc4643 | [
"Apache-2.0"
] | 122 | 2019-06-26T17:55:52.000Z | 2022-03-25T04:32:28.000Z | extensions/aasb/platforms/android/modules/aasb-core/src/main/cpp/dummy.cpp | krishnaprasad/alexa-auto-sdk | 2fb8d28a9c4138111f9b19c2527478562acc4643 | [
"Apache-2.0"
] | 13 | 2020-12-17T00:32:05.000Z | 2022-03-30T10:45:21.000Z | extensions/aasb/platforms/android/modules/aasb-core/src/main/cpp/dummy.cpp | krishnaprasad/alexa-auto-sdk | 2fb8d28a9c4138111f9b19c2527478562acc4643 | [
"Apache-2.0"
] | 98 | 2019-06-28T08:34:20.000Z | 2022-03-07T23:14:22.000Z | static const char* AASB_CORE_MODULE = "aasb.core"; | 50 | 50 | 0.78 | krishnaprasad |
27c7e278a0ba05774413146ed4b9f8f68c15ebc3 | 1,761 | cpp | C++ | src/Sphere.cpp | nsilvestri/cpp-raytracer | 79336657784f5bd76bb3d15985488bd61255e00b | [
"MIT"
] | 1 | 2021-03-29T09:39:33.000Z | 2021-03-29T09:39:33.000Z | src/Sphere.cpp | nsilvestri/cpp-raytracer | 79336657784f5bd76bb3d15985488bd61255e00b | [
"MIT"
] | 1 | 2021-05-19T05:55:23.000Z | 2021-09-07T14:00:01.000Z | src/Sphere.cpp | nsilvestri/cpp-raytracer | 79336657784f5bd76bb3d15985488bd61255e00b | [
"MIT"
] | null | null | null | #include <iostream>
#include <math.h>
#include "Sphere.hpp"
#include "Vector3D.hpp"
#include "Ray3D.hpp"
#include "IntersectionRecord.hpp"
Sphere::Sphere()
{
}
Sphere::Sphere(Vector3D position, float radius)
{
this->setPosition(position);
this->setRadius(radius);
}
Vector3D Sphere::getPo... | 24.123288 | 112 | 0.578648 | nsilvestri |
27c8e7abdea4e48fff14c39789b4633ec14f7e0d | 18,739 | cpp | C++ | TextFile/TextFile.cpp | pmachapman/Tulip | 54f7bc3e8d5bb452ed8de6e6622e23d5e9be650a | [
"Unlicense"
] | null | null | null | TextFile/TextFile.cpp | pmachapman/Tulip | 54f7bc3e8d5bb452ed8de6e6622e23d5e9be650a | [
"Unlicense"
] | 33 | 2018-09-14T21:58:20.000Z | 2022-01-12T21:39:22.000Z | TextFile/TextFile.cpp | pmachapman/Tulip | 54f7bc3e8d5bb452ed8de6e6622e23d5e9be650a | [
"Unlicense"
] | null | null | null | /* ==========================================================================
Class : CTextFile
Author : Johan Rosengren, Abstrakt Mekanik AB
Date : 2004-03-22
Purpose : The class is a helper-package for text files and
windows. It allows loading and saving text files in a
single operation, as wel... | 23.780457 | 104 | 0.566946 | pmachapman |
27ca80b6272ba5eb58720a3e31c5d014730c7cd3 | 1,835 | cpp | C++ | test_004.cpp | AlexRogalskiy/cplus | 4f0f78ae2da8857807d4bf8fcef22b3e75696524 | [
"MIT"
] | null | null | null | test_004.cpp | AlexRogalskiy/cplus | 4f0f78ae2da8857807d4bf8fcef22b3e75696524 | [
"MIT"
] | null | null | null | test_004.cpp | AlexRogalskiy/cplus | 4f0f78ae2da8857807d4bf8fcef22b3e75696524 | [
"MIT"
] | null | null | null | //template <class T, template <class> class CheckingPolicy, template <class> class ThreadingModel, template <class> class Storage = DefaultSmartPtrStorage> class SmartPtr : public CheckingPolicy<T>, public ThreadingModel<SmartPtr>, public Storage<T>
//{
// T* operator->()
// {
// typename ThreadingModel<Sm... | 26.214286 | 249 | 0.615259 | AlexRogalskiy |
27cac3ab4618836b2c4357611d31a49178579e95 | 1,376 | cpp | C++ | Week4/Ex_Curs/main.cpp | cristearadu02/CommandDefense | e8878359b18cedf4c2d3975198fcd661bdff1d8b | [
"MIT"
] | null | null | null | Week4/Ex_Curs/main.cpp | cristearadu02/CommandDefense | e8878359b18cedf4c2d3975198fcd661bdff1d8b | [
"MIT"
] | null | null | null | Week4/Ex_Curs/main.cpp | cristearadu02/CommandDefense | e8878359b18cedf4c2d3975198fcd661bdff1d8b | [
"MIT"
] | null | null | null | #define _CRT_SECURE_NO_WARNINGS
#include <iostream>
#include <string.h>
#include "Sort.h"
using namespace std;
int main()
{
char c1[] = "209,73,900,85,6";
Sort a(c1); // din sir de caractere
a.Print();
a.BubbleSort();
a.Print();
a.QuickSort();
a.Print();
a.InsertSort();
a.Print();
printf("\n%d\n%d", a.GetEl... | 20.537313 | 68 | 0.617733 | cristearadu02 |
27cc57bc206f0f416f6da50d0b0047a514f44313 | 3,331 | cpp | C++ | test/testGeneric.cpp | borisVanhoof/peafowl | 56f7feb6480fc20052d3077a1b5032f48266dca9 | [
"MIT"
] | null | null | null | test/testGeneric.cpp | borisVanhoof/peafowl | 56f7feb6480fc20052d3077a1b5032f48266dca9 | [
"MIT"
] | null | null | null | test/testGeneric.cpp | borisVanhoof/peafowl | 56f7feb6480fc20052d3077a1b5032f48266dca9 | [
"MIT"
] | null | null | null | /**
* Generic tests.
**/
#include "common.h"
#include <time.h>
TEST(GenericTest, MaxFlows) {
pfwl_state_t* state = pfwl_init();
std::vector<uint> protocols;
pfwl_set_expected_flows(state, 1, PFWL_FLOWS_STRATEGY_SKIP);
uint errors = 0;
getProtocols("./pcaps/whatsapp.pcap", protocols, state, [&](pfwl_status... | 40.621951 | 110 | 0.794056 | borisVanhoof |
27d04c21ae8ad74b0fd41881785163136d4bbf7e | 3,535 | hpp | C++ | src/test/test_component_oom.hpp | jmbannon/KerasSynthesized | 50e0275dadd45c5418384186e2541f4db7f5f9ed | [
"MIT"
] | 3 | 2018-10-30T04:10:34.000Z | 2021-09-07T15:19:55.000Z | src/test/test_component_oom.hpp | jmbannon/KerasSynthesized | 50e0275dadd45c5418384186e2541f4db7f5f9ed | [
"MIT"
] | null | null | null | src/test/test_component_oom.hpp | jmbannon/KerasSynthesized | 50e0275dadd45c5418384186e2541f4db7f5f9ed | [
"MIT"
] | null | null | null | #ifndef TEST_CONVOLUTION_OOM_HPP
#define TEST_CONVOLUTION_OOM_HPP
#include "HLS/hls.h"
#include <stdio.h>
#include <math.h>
#include "../tensor3.hpp"
#include "../tensor4.hpp"
#include "../common.hpp"
#include "../component_convolver.hpp"
int test_component_oom_args(uint input_rows,
uint i... | 29.214876 | 184 | 0.610184 | jmbannon |
27d051e118c6aaca9f3210335c3162ce99c38c6b | 46,532 | cpp | C++ | src/Parser.cpp | Ibarria/rapid | 866e32bc9b902f5f5814063f1556cfc6b1c697bf | [
"MIT"
] | 8 | 2019-10-25T19:49:27.000Z | 2022-01-25T00:20:29.000Z | src/Parser.cpp | Ibarria/c2 | 866e32bc9b902f5f5814063f1556cfc6b1c697bf | [
"MIT"
] | null | null | null | src/Parser.cpp | Ibarria/c2 | 866e32bc9b902f5f5814063f1556cfc6b1c697bf | [
"MIT"
] | null | null | null | #include "Parser.h"
#include "Lexer.h"
#include "Interpreter.h"
#include <assert.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#ifndef WIN32
# define sprintf_s sprintf
# define vsprintf_s vsnprintf
# define strncpy_s strncpy
#endif
extern bool option_printTokens;
#define NEW_AST... | 29.469284 | 112 | 0.572058 | Ibarria |
27d267ead683bc769840aec6e7f7a5acd2b22680 | 1,425 | hpp | C++ | schema_parser/Schema.hpp | josefschmeisser/TardisDB | 0d805c4730533fa37c3668acd592404027b9b0d6 | [
"Apache-2.0"
] | 5 | 2021-01-15T16:59:59.000Z | 2022-02-28T15:41:00.000Z | schema_parser/Schema.hpp | josefschmeisser/TardisDB | 0d805c4730533fa37c3668acd592404027b9b0d6 | [
"Apache-2.0"
] | null | null | null | schema_parser/Schema.hpp | josefschmeisser/TardisDB | 0d805c4730533fa37c3668acd592404027b9b0d6 | [
"Apache-2.0"
] | 1 | 2021-06-22T04:53:38.000Z | 2021-06-22T04:53:38.000Z | #ifndef H_Schema_hpp
#define H_Schema_hpp
#include <vector>
#include <string>
#include <unordered_map>
#include "Types.hpp"
#include <memory>
namespace SchemaParser {
struct Schema {
struct SecondaryIndex {
std::string name;
std::string table;
std::vector<unsigned> attributes;
SecondaryIn... | 25.446429 | 75 | 0.667368 | josefschmeisser |
27d39bfa2b856a1d6bc6d630c33bf409fb69264d | 1,385 | cpp | C++ | DESIRE-Engine/src/Engine/Physics/PhysicsComponent.cpp | nyaki-HUN/DESIRE | dd579bffa77bc6999266c8011bc389bb96dee01d | [
"BSD-2-Clause"
] | 1 | 2020-10-04T18:50:01.000Z | 2020-10-04T18:50:01.000Z | DESIRE-Engine/src/Engine/Physics/PhysicsComponent.cpp | nyaki-HUN/DESIRE | dd579bffa77bc6999266c8011bc389bb96dee01d | [
"BSD-2-Clause"
] | null | null | null | DESIRE-Engine/src/Engine/Physics/PhysicsComponent.cpp | nyaki-HUN/DESIRE | dd579bffa77bc6999266c8011bc389bb96dee01d | [
"BSD-2-Clause"
] | 1 | 2018-09-18T08:03:33.000Z | 2018-09-18T08:03:33.000Z | #include "Engine/stdafx.h"
#include "Engine/Physics/PhysicsComponent.h"
#include "Engine/Physics/ColliderShape.h"
#include "Engine/Physics/Physics.h"
PhysicsComponent::PhysicsComponent(GameObject& object)
: Component(object)
, m_collisionLayer(EPhysicsCollisionLayer::Default)
{
Modules::Physics->OnPhysicsComponent... | 28.854167 | 96 | 0.823105 | nyaki-HUN |
27d5c06f468040ac9f7a3fb1a5d1da135cf3b071 | 3,368 | cpp | C++ | Sources/Files/LoadedValue.cpp | hhYanGG/Acid | f5543e9290aee5e25c6ecdafe8a3051054b203c0 | [
"MIT"
] | 1 | 2019-03-13T08:26:38.000Z | 2019-03-13T08:26:38.000Z | Sources/Files/LoadedValue.cpp | hhYanGG/Acid | f5543e9290aee5e25c6ecdafe8a3051054b203c0 | [
"MIT"
] | null | null | null | Sources/Files/LoadedValue.cpp | hhYanGG/Acid | f5543e9290aee5e25c6ecdafe8a3051054b203c0 | [
"MIT"
] | null | null | null | #include "LoadedValue.hpp"
#include <ostream>
namespace acid
{
LoadedValue::LoadedValue(LoadedValue *parent, const std::string &name, const std::string &value, const std::map<std::string, std::string> &attributes) :
m_parent(parent),
m_children(std::vector<LoadedValue *>()),
m_name(FormatString::RemoveAll(name... | 19.468208 | 159 | 0.649644 | hhYanGG |
27d6344871393ba0ea54801376ae49b4ef1f9650 | 5,223 | cc | C++ | daemon/network_interface_description.cc | nawazish-couchbase/kv_engine | 132f1bb04c9212bcac9e401d069aeee5f63ff1cd | [
"MIT",
"BSD-3-Clause"
] | 104 | 2017-05-22T20:41:57.000Z | 2022-03-24T00:18:34.000Z | daemon/network_interface_description.cc | nawazish-couchbase/kv_engine | 132f1bb04c9212bcac9e401d069aeee5f63ff1cd | [
"MIT",
"BSD-3-Clause"
] | 3 | 2017-11-14T08:12:46.000Z | 2022-03-03T11:14:17.000Z | daemon/network_interface_description.cc | nawazish-couchbase/kv_engine | 132f1bb04c9212bcac9e401d069aeee5f63ff1cd | [
"MIT",
"BSD-3-Clause"
] | 71 | 2017-05-22T20:41:59.000Z | 2022-03-29T10:34:32.000Z | /*
* Copyright 2021-Present Couchbase, Inc.
*
* Use of this software is governed by the Business Source License included
* in the file licenses/BSL-Couchbase.txt. As of the Change Date specified
* in that file, in accordance with the Business Source License, use of this
* software will be governed by... | 39.870229 | 80 | 0.515987 | nawazish-couchbase |
27dac96816d29817f5b26faa1fc7d35519651029 | 422 | hpp | C++ | exceptions/InvalidDataException.hpp | Adrijaned/oglPlaygorund | ce3c31669263545650efcc4b12dd22e6517ccaa7 | [
"MIT"
] | null | null | null | exceptions/InvalidDataException.hpp | Adrijaned/oglPlaygorund | ce3c31669263545650efcc4b12dd22e6517ccaa7 | [
"MIT"
] | null | null | null | exceptions/InvalidDataException.hpp | Adrijaned/oglPlaygorund | ce3c31669263545650efcc4b12dd22e6517ccaa7 | [
"MIT"
] | null | null | null | //
// Created by adrijarch on 5/26/19.
//
#ifndef OGLPLAYGROUND_INVALIDDATAEXCEPTION_HPP
#define OGLPLAYGROUND_INVALIDDATAEXCEPTION_HPP
#include <stdexcept>
/**
* Marks any case where data has not been as expected.
*/
class InvalidDataException : public std::runtime_error {
public:
explicit InvalidDataException(... | 21.1 | 80 | 0.774882 | Adrijaned |
27dbe03cdcc424e19cf179c200f36afdfb516e5e | 854 | hpp | C++ | Helena/Traits/Constness.hpp | NIKEA-SOFT/HelenaFramework | 4f443710e6a67242ddd4361f9c1a89e9d757c820 | [
"MIT"
] | 24 | 2020-08-17T21:49:38.000Z | 2022-03-31T13:31:46.000Z | Helena/Traits/Constness.hpp | NIKEA-SOFT/HelenaFramework | 4f443710e6a67242ddd4361f9c1a89e9d757c820 | [
"MIT"
] | null | null | null | Helena/Traits/Constness.hpp | NIKEA-SOFT/HelenaFramework | 4f443710e6a67242ddd4361f9c1a89e9d757c820 | [
"MIT"
] | 2 | 2021-04-21T09:27:03.000Z | 2021-08-20T09:44:53.000Z | #ifndef HELENA_TRAITS_CONSTNESS_HPP
#define HELENA_TRAITS_CONSTNESS_HPP
#include <type_traits>
namespace Helena::Traits
{
/**
* @brief Transcribes the constness of a type to another type.
* @tparam To The type to which to transcribe the constness.
* @tparam From The type from which to tra... | 30.5 | 82 | 0.660422 | NIKEA-SOFT |
27e0906939c0c5bb899d69db0c6b1248684703e9 | 10,225 | cc | C++ | Validation/EcalRecHits/src/EcalTBValidation.cc | pasmuss/cmssw | 566f40c323beef46134485a45ea53349f59ae534 | [
"Apache-2.0"
] | null | null | null | Validation/EcalRecHits/src/EcalTBValidation.cc | pasmuss/cmssw | 566f40c323beef46134485a45ea53349f59ae534 | [
"Apache-2.0"
] | null | null | null | Validation/EcalRecHits/src/EcalTBValidation.cc | pasmuss/cmssw | 566f40c323beef46134485a45ea53349f59ae534 | [
"Apache-2.0"
] | null | null | null | // Ecal H4 tesbeam analysis
#include "Validation/EcalRecHits/interface/EcalTBValidation.h"
#include "DataFormats/EcalRecHit/interface/EcalUncalibratedRecHit.h"
#include "DataFormats/EcalRecHit/interface/EcalRecHitCollections.h"
#include "DataFormats/EcalDigi/interface/EcalDigiCollections.h"
#include "TBDataFormats/Eca... | 36.258865 | 133 | 0.661809 | pasmuss |
27e39159526886e35b3c2a1dd3f5a8f41ecb930d | 11,945 | cpp | C++ | CoralSDK_Cocos2d-x_DemoV/Classes/Snake/GameLayer.cpp | zoozooll/MyExercise | 1be14e0252babb28e32951fa1e35fc867a6ac070 | [
"Apache-2.0"
] | 2 | 2019-07-03T00:38:50.000Z | 2020-08-06T06:24:06.000Z | CoralSDK_Cocos2d-x_DemoV/Classes/Snake/GameLayer.cpp | zoozooll/MyExercise | 1be14e0252babb28e32951fa1e35fc867a6ac070 | [
"Apache-2.0"
] | null | null | null | CoralSDK_Cocos2d-x_DemoV/Classes/Snake/GameLayer.cpp | zoozooll/MyExercise | 1be14e0252babb28e32951fa1e35fc867a6ac070 | [
"Apache-2.0"
] | null | null | null | #include "GameLayer.h"
#include "GameManager.h"
#include "SnakeNode.h"
#include "GameOver.h"
USING_NS_CC;
int GameLayer::gridwidth = 50;
int GameLayer::gridcount = 12;
int GameLayer::grid[12][12] = {0};
int GameLayer::linewidth = 2;
int GameLayer::startX = 0;
int GameLayer::startY = 0;
int GameLayer::defaultbodynum... | 28.922518 | 156 | 0.566429 | zoozooll |
27e7f84dd56ff1377295227a2b0ede4ee928a7fd | 1,178 | hpp | C++ | src/gui/hud/hud.hpp | louiz/batajelo | 4d8edce8da9d3b17dbad68eb4881d7f6fee2f76e | [
"BSL-1.0",
"BSD-2-Clause",
"Zlib",
"MIT"
] | 7 | 2015-01-28T09:17:08.000Z | 2020-04-21T13:51:16.000Z | src/gui/hud/hud.hpp | louiz/batajelo | 4d8edce8da9d3b17dbad68eb4881d7f6fee2f76e | [
"BSL-1.0",
"BSD-2-Clause",
"Zlib",
"MIT"
] | null | null | null | src/gui/hud/hud.hpp | louiz/batajelo | 4d8edce8da9d3b17dbad68eb4881d7f6fee2f76e | [
"BSL-1.0",
"BSD-2-Clause",
"Zlib",
"MIT"
] | 1 | 2020-07-11T09:20:25.000Z | 2020-07-11T09:20:25.000Z | /** @addtogroup Ui
* @{
*/
/**
* Uniq object owned by the Screen. It is in charge of displaying all
* static information about the game, like the time, the minimap, entities
* attributes, interface buttons, etc.
* @class Hud
*/
#include <SFML/System.hpp>
#ifndef __HUP_HPP__
# define __HUP_HPP__
#define HUD_... | 22.226415 | 74 | 0.726655 | louiz |
27e8d30d8d97607b38b9e8a62dc690c7c1e31b2c | 2,697 | cpp | C++ | aoj/CGL/CGL_7_E/solve.cpp | tobyapi/online-judge-solutions | 4088adb97ea592e8e6582ae7d2ecde2f85e2ed9c | [
"MIT"
] | null | null | null | aoj/CGL/CGL_7_E/solve.cpp | tobyapi/online-judge-solutions | 4088adb97ea592e8e6582ae7d2ecde2f85e2ed9c | [
"MIT"
] | null | null | null | aoj/CGL/CGL_7_E/solve.cpp | tobyapi/online-judge-solutions | 4088adb97ea592e8e6582ae7d2ecde2f85e2ed9c | [
"MIT"
] | null | null | null | #include<cmath>
#include<algorithm>
#include<iostream>
#include<vector>
#include<climits>
#include<cfloat>
#include<cstdio>
#define all(c) (c).begin(),(c).end()
#define curr(P,i) P[(i)%P.size()]
#define next(P,i) P[(i+1)%P.size()]
#define prev(P,i) P[(i+P.size()-1)%P.size()]
using namespace std;
typedef double Real;... | 24.743119 | 69 | 0.557286 | tobyapi |
27e9f2aa136291997b4f98ad4946faa09e82375f | 1,944 | hpp | C++ | pellets/z_http/mem_write.hpp | wohaaitinciu/zpublic | 0e4896b16e774d2f87e1fa80f1b9c5650b85c57e | [
"Unlicense"
] | 50 | 2015-01-07T01:54:54.000Z | 2021-01-15T00:41:48.000Z | pellets/z_http/mem_write.hpp | sinmx/ZPublic | 0e4896b16e774d2f87e1fa80f1b9c5650b85c57e | [
"Unlicense"
] | 1 | 2015-05-26T07:40:19.000Z | 2015-05-26T07:40:19.000Z | pellets/z_http/mem_write.hpp | sinmx/ZPublic | 0e4896b16e774d2f87e1fa80f1b9c5650b85c57e | [
"Unlicense"
] | 39 | 2015-01-07T02:03:15.000Z | 2021-01-15T00:41:50.000Z | /*************************************************************************
* *
* I|*j^3Cl|a "+!*% qt Nd gW *
* l]{y+l?MM* !#Wla\NNP NW MM I| *
* PW ?E| ... | 30.857143 | 74 | 0.296811 | wohaaitinciu |
27eee5181ee98dc3d63b1216c64d059f9b5afdba | 5,995 | hpp | C++ | src/math/CartesianToGeodeticFukushima.hpp | JordanMcManus/MBES-lib | 618d64f4e042bf5660015819f89537cdd70e696d | [
"MIT"
] | 13 | 2019-10-29T14:16:13.000Z | 2022-02-24T06:44:37.000Z | src/math/CartesianToGeodeticFukushima.hpp | JordanMcManus/MBES-lib | 618d64f4e042bf5660015819f89537cdd70e696d | [
"MIT"
] | 62 | 2019-04-16T13:53:50.000Z | 2022-03-07T19:44:23.000Z | src/math/CartesianToGeodeticFukushima.hpp | JordanMcManus/MBES-lib | 618d64f4e042bf5660015819f89537cdd70e696d | [
"MIT"
] | 18 | 2019-04-10T19:51:21.000Z | 2022-01-31T21:42:22.000Z | /*
* Copyright 2020 © Centre Interdisciplinaire de développement en Cartographie des Océans (CIDCO), Tous droits réservés
*/
/*
* File: CartesianToGeodeticFukushima.hpp
* Author: jordan
*/
#ifndef CARTESIANTOGEODETICFUKUSHIMA_HPP
#define CARTESIANTOGEODETICFUKUSHIMA_HPP
#ifdef _WIN32
#define _USE_MATH_DEFINES... | 32.93956 | 139 | 0.568474 | JordanMcManus |
27f50ee1c6d1bb148b49053e73d852f5ee973bd8 | 2,350 | cpp | C++ | src/framework/GSD3D11Mesh.cpp | 3dhater/miGUI | a086201ce18393d7d00f4018a201635ed5aa63c0 | [
"MIT"
] | 1 | 2021-11-16T23:11:26.000Z | 2021-11-16T23:11:26.000Z | src/framework/GSD3D11Mesh.cpp | 3dhater/miGUI | a086201ce18393d7d00f4018a201635ed5aa63c0 | [
"MIT"
] | null | null | null | src/framework/GSD3D11Mesh.cpp | 3dhater/miGUI | a086201ce18393d7d00f4018a201635ed5aa63c0 | [
"MIT"
] | null | null | null | #include "mgf.h"
#ifdef MGF_GS_D3D11
#include "Log.h"
#include "GSD3D11.h"
#include "GSD3D11Mesh.h"
using namespace mgf;
GSD3D11Mesh::GSD3D11Mesh(GSMeshInfo* mi, ID3D11Device* d, ID3D11DeviceContext* dc)
{
m_d3d11DevCon = dc;
m_meshInfo = *mi;
Mesh* mesh = (Mesh*)m_meshInfo.m_meshPtr;
m_vertexType = mesh->m_ver... | 21.363636 | 82 | 0.722979 | 3dhater |
27f56b53bc11e807e51a4ede90f64c85420a85ec | 758 | cpp | C++ | src/scenes/stage.cpp | AgoutiGames/Piper | 160f0c7e8afb8d3ea91dd69ee10c63da60f66a21 | [
"MIT"
] | null | null | null | src/scenes/stage.cpp | AgoutiGames/Piper | 160f0c7e8afb8d3ea91dd69ee10c63da60f66a21 | [
"MIT"
] | 2 | 2020-06-13T11:48:59.000Z | 2020-06-13T11:56:24.000Z | src/scenes/stage.cpp | AgoutiGames/Piper | 160f0c7e8afb8d3ea91dd69ee10c63da60f66a21 | [
"MIT"
] | null | null | null | #include "scenes/stage.hpp"
#include "core/scene_manager.hpp"
const char* Stage::type = "Stage";
const bool Stage::good = GameScene::register_class<Stage>(Stage::type);
Stage::Stage(salmon::MapRef map, SceneManager* scene_manager) :
GameScene(map,scene_manager) {}
void Stage::init() {
m_scene_manager->set_g... | 25.266667 | 71 | 0.695251 | AgoutiGames |
27f5fe883f7794051f6b849c5c471c04802a8a84 | 1,957 | cxx | C++ | main/sc/source/ui/unoobj/unoreflist.cxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 679 | 2015-01-06T06:34:58.000Z | 2022-03-30T01:06:03.000Z | main/sc/source/ui/unoobj/unoreflist.cxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 102 | 2017-11-07T08:51:31.000Z | 2022-03-17T12:13:49.000Z | main/sc/source/ui/unoobj/unoreflist.cxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 331 | 2015-01-06T11:40:55.000Z | 2022-03-14T04:07:51.000Z | /**************************************************************
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to y... | 27.957143 | 77 | 0.618293 | Grosskopf |
27f7d4bfcbb0624d36a6f492fcc93315fc86bbb9 | 1,141 | cxx | C++ | Applications/WorkBench/main.cxx | linson7017/MIPF | adf982ae5de69fca9d6599fbbbd4ca30f4ae9767 | [
"ECL-2.0",
"Apache-2.0"
] | 4 | 2017-04-13T06:01:49.000Z | 2019-12-04T07:23:53.000Z | Applications/WorkBench/main.cxx | linson7017/MIPF | adf982ae5de69fca9d6599fbbbd4ca30f4ae9767 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2017-10-27T02:00:44.000Z | 2017-10-27T02:00:44.000Z | Applications/WorkBench/main.cxx | linson7017/MIPF | adf982ae5de69fca9d6599fbbbd4ca30f4ae9767 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2017-09-06T01:59:07.000Z | 2019-12-04T07:23:54.000Z | #include <QApplication>
//qfmain
#include "iqf_main.h"
//qtxml
#include "Utils/PluginFactory.h"
#include "UIs/QF_Plugin.h"
#ifdef Q_WS_X11
#include <X11/Xlib.h>
#endif
#include "qf_log.h"
int main(int argc, char *argv[])
{
QApplication qtapplication(argc, argv);
std::cout << "*****************************... | 33.558824 | 154 | 0.568799 | linson7017 |
27f9371977b9d599d725a7c73671a4ead38ad6b0 | 3,819 | cpp | C++ | src/tracer/src/core/medium/heterogeneous.cpp | AirGuanZ/Atrc | a0c4bc1b7bb96ddffff8bb1350f88b651b94d993 | [
"MIT"
] | 358 | 2018-11-29T08:15:05.000Z | 2022-03-31T07:48:37.000Z | src/tracer/src/core/medium/heterogeneous.cpp | happyfire/Atrc | 74cac111e277be53eddea5638235d97cec96c378 | [
"MIT"
] | 23 | 2019-04-06T17:23:58.000Z | 2022-02-08T14:22:46.000Z | src/tracer/src/core/medium/heterogeneous.cpp | happyfire/Atrc | 74cac111e277be53eddea5638235d97cec96c378 | [
"MIT"
] | 22 | 2019-03-04T01:47:56.000Z | 2022-01-13T06:06:49.000Z | #include <agz/tracer/core/medium.h>
#include <agz/tracer/core/texture3d.h>
#include <agz/tracer/utility/phase_function.h>
#include <agz-utils/misc.h>
#include <agz-utils/texture.h>
AGZ_TRACER_BEGIN
class HeterogeneousMedium : public Medium
{
FTransform3 local_to_world_;
RC<const Texture3D> density_;
RC<c... | 28.5 | 81 | 0.579733 | AirGuanZ |
27fcfebeff3b27791de0b719cb8ce91194fb2163 | 23,275 | cpp | C++ | src/third_party/VisionWorks-1.6-Demos/nvxio/src/NVX/FrameSource/NvMedia/OV10635/ImageCapture.cpp | reveriel/cuda_scheduling_examiner_mirror | 16d2404c0dc8d72f7a13e4a167d3db4c86128a26 | [
"BSD-2-Clause-FreeBSD"
] | 39 | 2017-05-23T00:27:50.000Z | 2022-02-16T07:56:07.000Z | src/third_party/VisionWorks-1.6-Demos/nvxio/src/NVX/FrameSource/NvMedia/OV10635/ImageCapture.cpp | reveriel/cuda_scheduling_examiner_mirror | 16d2404c0dc8d72f7a13e4a167d3db4c86128a26 | [
"BSD-2-Clause-FreeBSD"
] | 2 | 2019-10-22T13:47:39.000Z | 2020-04-03T16:09:04.000Z | src/third_party/VisionWorks-1.6-Demos/nvxio/src/NVX/FrameSource/NvMedia/OV10635/ImageCapture.cpp | reveriel/cuda_scheduling_examiner_mirror | 16d2404c0dc8d72f7a13e4a167d3db4c86128a26 | [
"BSD-2-Clause-FreeBSD"
] | 14 | 2017-09-11T19:59:19.000Z | 2021-02-03T10:00:22.000Z | /*
# Copyright (c) 2015-2016, NVIDIA CORPORATION. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# * Redistributions of source code must retain the above copyright
# notice, this list of cond... | 32.874294 | 106 | 0.630333 | reveriel |
27feaafbd6e5d8ad98ca139ed48012a2e7c4f153 | 4,199 | hpp | C++ | include/cmbml/behavior/reader_state_machine_actions.hpp | osrf/cmbml | 3804228f192db676b3e0b06d040f03bed545df61 | [
"Apache-2.0"
] | 1 | 2020-03-26T20:12:52.000Z | 2020-03-26T20:12:52.000Z | include/cmbml/behavior/reader_state_machine_actions.hpp | osrf/cmbml | 3804228f192db676b3e0b06d040f03bed545df61 | [
"Apache-2.0"
] | null | null | null | include/cmbml/behavior/reader_state_machine_actions.hpp | osrf/cmbml | 3804228f192db676b3e0b06d040f03bed545df61 | [
"Apache-2.0"
] | null | null | null | #ifndef CMBML__READER_STATE_MACHINE_ACTIONS__HPP_
#define CMBML__READER_STATE_MACHINE_ACTIONS__HPP_
#include <cmbml/structure/reader.hpp>
#include <cmbml/types.hpp>
#include <cmbml/structure/history.hpp>
#include <cmbml/message/data.hpp>
namespace cmbml {
auto on_reader_created = [](auto & e) {
WriterProxy wri... | 37.491071 | 93 | 0.705882 | osrf |
27ff2c22dafd0a4ad0ed52b585bd84ce243fb6b4 | 1,326 | cpp | C++ | example/nulldemo/nullcontroller_main.cpp | byllyfish/oftr | ac1e4ef09388376ea6fa7b460b6abe2ab3471624 | [
"MIT"
] | 1 | 2019-06-14T13:57:28.000Z | 2019-06-14T13:57:28.000Z | example/nulldemo/nullcontroller_main.cpp | byllyfish/oftr | ac1e4ef09388376ea6fa7b460b6abe2ab3471624 | [
"MIT"
] | 20 | 2017-02-20T04:49:10.000Z | 2019-07-09T05:32:54.000Z | example/nulldemo/nullcontroller_main.cpp | byllyfish/oftr | ac1e4ef09388376ea6fa7b460b6abe2ab3471624 | [
"MIT"
] | 1 | 2019-07-16T00:21:42.000Z | 2019-07-16T00:21:42.000Z | // Copyright (c) 2015-2018 William W. Fisher (at gmail dot com)
// This file is distributed under the MIT License.
#include <iostream>
#include "ofp/ofp.h"
using namespace ofp;
class NullController : public ChannelListener {
public:
void onChannelUp(Channel *channel) override {
log_debug(__PRETTY_FUNCTION__);... | 26 | 77 | 0.634238 | byllyfish |
7e061b21f22d9c5e4f585bf7e991810c4974be77 | 554 | cpp | C++ | src/ShowAlwaysOn.cpp | joergkeller/arduino-musicbox | 2fbbfabd77a9daf6fdc73b6212416be7ec7bca22 | [
"MIT"
] | null | null | null | src/ShowAlwaysOn.cpp | joergkeller/arduino-musicbox | 2fbbfabd77a9daf6fdc73b6212416be7ec7bca22 | [
"MIT"
] | 7 | 2019-05-12T22:08:55.000Z | 2021-04-29T12:26:25.000Z | src/ShowAlwaysOn.cpp | joergkeller/arduino-musicbox | 2fbbfabd77a9daf6fdc73b6212416be7ec7bca22 | [
"MIT"
] | null | null | null | /*
* Constantly switch on all lights of the trellis display.
*
* Written by Jörg Keller, Winterthur, Switzerland
* https://github.com/joergkeller/arduino-musicbox
* MIT license, all text above must be included in any redistribution
*/
#include "ShowAlwaysOn.h"
ShowAlwaysOn::ShowAlwaysOn(const Adafruit_Trellis&... | 25.181818 | 69 | 0.722022 | joergkeller |
7e0632a6b7ea90d7a3fcf349fdf244bc5716bea7 | 53 | cpp | C++ | unit_test/cuda/Test_Cuda_Blas_gesv.cpp | hmaarrfk/kokkos-kernels | d86db111124cea12e23dd3447b6c307f96ef7439 | [
"BSD-3-Clause"
] | null | null | null | unit_test/cuda/Test_Cuda_Blas_gesv.cpp | hmaarrfk/kokkos-kernels | d86db111124cea12e23dd3447b6c307f96ef7439 | [
"BSD-3-Clause"
] | 1 | 2019-07-03T18:02:17.000Z | 2019-07-03T22:54:16.000Z | unit_test/cuda/Test_Cuda_Blas_gesv.cpp | hmaarrfk/kokkos-kernels | d86db111124cea12e23dd3447b6c307f96ef7439 | [
"BSD-3-Clause"
] | null | null | null | #include<Test_Cuda.hpp>
#include<Test_Blas_gesv.hpp>
| 17.666667 | 28 | 0.811321 | hmaarrfk |
7e06ef896353231f4eff47e0e43f4e24ef7d53cf | 1,164 | cpp | C++ | src/drawing/foundation/Colour.cpp | andystanton/lana-tetris | df39d2c157d9f7eb587801315a4c3079a937de72 | [
"MIT"
] | 3 | 2021-05-14T17:56:11.000Z | 2022-01-25T10:00:40.000Z | src/drawing/foundation/Colour.cpp | andystanton/lana-tetris | df39d2c157d9f7eb587801315a4c3079a937de72 | [
"MIT"
] | null | null | null | src/drawing/foundation/Colour.cpp | andystanton/lana-tetris | df39d2c157d9f7eb587801315a4c3079a937de72 | [
"MIT"
] | null | null | null |
#include "Colour.h"
Colour::Colour(const string& name, int r, int g, int b) {
this->r = r;
this->g = g;
this->b = b;
colour = new GLfloat[3];
this->colour[0] = r/255.f;
this->colour[1] = g/255.f;
this->colour[2] = b/255.f;
this->name = name;
}
Colour::Colour(const string& na... | 17.373134 | 63 | 0.536082 | andystanton |
7e07dac253ac857403e4b9a58e497f2dec093b05 | 1,919 | cc | C++ | NEST-14.0-FPGA/sli/oosupport.cc | OpenHEC/SNN-simulator-on-PYNQcluster | 14f86a76edf4e8763b58f84960876e95d4efc43a | [
"MIT"
] | 45 | 2019-12-09T06:45:53.000Z | 2022-01-29T12:16:41.000Z | NEST-14.0-FPGA/sli/oosupport.cc | zlchai/SNN-simulator-on-PYNQcluster | 14f86a76edf4e8763b58f84960876e95d4efc43a | [
"MIT"
] | 2 | 2020-05-23T05:34:21.000Z | 2021-09-08T02:33:46.000Z | NEST-14.0-FPGA/sli/oosupport.cc | OpenHEC/SNN-simulator-on-PYNQcluster | 14f86a76edf4e8763b58f84960876e95d4efc43a | [
"MIT"
] | 10 | 2019-12-09T06:45:59.000Z | 2021-03-25T09:32:56.000Z | /*
* oosupport.cc
*
* This file is part of NEST.
*
* Copyright (C) 2004 The NEST Initiative
*
* NEST 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 y... | 23.9875 | 72 | 0.663366 | OpenHEC |
7e0d343109dfea3b9c1cc5bb77248222b6979b1d | 1,114 | cpp | C++ | 02_Programming_Fundamentals/06_Programming_Fundamentals_CPP/12_Judge_Assignment_3_(7_July_2018)/03_Teams.cpp | Knightwalker/Knowledgebase | 00c6dea5e52c0d2b0fe0dc3b7b5c298d445f0161 | [
"MIT"
] | null | null | null | 02_Programming_Fundamentals/06_Programming_Fundamentals_CPP/12_Judge_Assignment_3_(7_July_2018)/03_Teams.cpp | Knightwalker/Knowledgebase | 00c6dea5e52c0d2b0fe0dc3b7b5c298d445f0161 | [
"MIT"
] | null | null | null | 02_Programming_Fundamentals/06_Programming_Fundamentals_CPP/12_Judge_Assignment_3_(7_July_2018)/03_Teams.cpp | Knightwalker/Knowledgebase | 00c6dea5e52c0d2b0fe0dc3b7b5c298d445f0161 | [
"MIT"
] | null | null | null | #include <iostream>;
#include <string>;
#include <unordered_set>
#include <unordered_map>
#include <map>;
using std::cin;
using std::cout;
using std::endl;
using std::string;
using std::map;
using std::unordered_map;
using std::unordered_set;
int main() {
std::cin.sync_with_stdio(false);
std::cout.sync_with_stdio(... | 20.62963 | 95 | 0.631957 | Knightwalker |
7e0e20571e65425e820aaa66dbf3d6afa3724856 | 559 | cpp | C++ | Graph/dijkstra.cpp | JanaSabuj/CodingLibrary | 92bc141ae327ce01b480fde7a10ffb0be0ba401d | [
"MIT"
] | 14 | 2020-05-17T18:31:32.000Z | 2021-02-04T03:56:30.000Z | Graph/dijkstra.cpp | JanaSabuj/cppdump | 92bc141ae327ce01b480fde7a10ffb0be0ba401d | [
"MIT"
] | null | null | null | Graph/dijkstra.cpp | JanaSabuj/cppdump | 92bc141ae327ce01b480fde7a10ffb0be0ba401d | [
"MIT"
] | 2 | 2020-05-27T10:42:36.000Z | 2021-02-02T11:59:04.000Z | vector<pii> adj[N];
priority_queue<pii, vector<pii>, greater<pii>> pq;
int dis[N];
void dijkstra(int src) {
for (int i = 0; i < N; ++i) {
dis[i] = LLONG_MAX;
}
pq.push({0, src});
dis[src] = 0;
while (!pq.empty()) {
auto curr = pq.top();
pq.pop();
int v = curr.second;
int d_v = curr.fir... | 18.032258 | 51 | 0.495528 | JanaSabuj |
7e0ed2ed9273a7f594c83ab02d157548ca530ace | 1,483 | cpp | C++ | solved/c-e/dynamic-frog/frog.cpp | abuasifkhan/pc-code | 77ce51d692acf6edcb9e47aeb7b7f06bf56e4e90 | [
"Unlicense"
] | 13 | 2015-09-30T19:18:04.000Z | 2021-06-26T21:11:30.000Z | solved/c-e/dynamic-frog/frog.cpp | sbmaruf/pc-code | 77ce51d692acf6edcb9e47aeb7b7f06bf56e4e90 | [
"Unlicense"
] | null | null | null | solved/c-e/dynamic-frog/frog.cpp | sbmaruf/pc-code | 77ce51d692acf6edcb9e47aeb7b7f06bf56e4e90 | [
"Unlicense"
] | 13 | 2015-01-04T09:49:54.000Z | 2021-06-03T13:18:44.000Z | #include <algorithm>
#include <cstdio>
#include <cstring>
using namespace std;
#define MAXN 100
#define Zero(v) memset((v), 0, sizeof(v))
int N, D;
int rocks[MAXN + 2];
int n;
bool vis[MAXN + 2];
bool check(int d)
{
Zero(vis);
int from = 0, to = 0;
for (int i = 1; i < n; ++i) {
if (rocks[i]... | 16.662921 | 62 | 0.403237 | abuasifkhan |
7e1138342c72fe7393be850a40fe3caadc53f764 | 250 | hh | C++ | User/motor/HBridge.hh | synergia/synermycha-firmware-stm32 | 990bcc057d6cf7a3719524014b8c2babb5d2baf5 | [
"MIT"
] | null | null | null | User/motor/HBridge.hh | synergia/synermycha-firmware-stm32 | 990bcc057d6cf7a3719524014b8c2babb5d2baf5 | [
"MIT"
] | 21 | 2020-03-06T20:11:32.000Z | 2021-02-25T17:15:44.000Z | User/motor/HBridge.hh | synergia/synermycha-firmware-stm32 | 990bcc057d6cf7a3719524014b8c2babb5d2baf5 | [
"MIT"
] | null | null | null | #pragma once
#include "utils/HalUtils.hh"
class HBridge
{
public:
HBridge(GpioPort portEnable, GpioPin pinEnable);
void initialize();
void enable();
void disable();
private:
GpioPort mPortEnable;
GpioPin mPinEnable;
}; | 14.705882 | 52 | 0.676 | synergia |
7e117928c5361185524e258430ca1ae09e6aa5f2 | 1,247 | cpp | C++ | aws-cpp-sdk-datapipeline/source/model/RemoveTagsRequest.cpp | Neusoft-Technology-Solutions/aws-sdk-cpp | 88c041828b0dbee18a297c3cfe98c5ecd0706d0b | [
"Apache-2.0"
] | 1 | 2022-02-10T08:06:54.000Z | 2022-02-10T08:06:54.000Z | aws-cpp-sdk-datapipeline/source/model/RemoveTagsRequest.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-datapipeline/source/model/RemoveTagsRequest.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/datapipeline/model/RemoveTagsRequest.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::DataPipeline::Model;
using namespace Aws::Utils::Json;
u... | 22.267857 | 93 | 0.744186 | Neusoft-Technology-Solutions |
7e12279f45de48bf733b2984cf350751b11a54a0 | 838 | cpp | C++ | src/util/util.cpp | TijnBertens/light-show | a95c63b96643b9ec5dead495ffc6f45048bfee5f | [
"MIT"
] | 1 | 2020-11-10T22:05:19.000Z | 2020-11-10T22:05:19.000Z | src/util/util.cpp | TijnBertens/light-show | a95c63b96643b9ec5dead495ffc6f45048bfee5f | [
"MIT"
] | null | null | null | src/util/util.cpp | TijnBertens/light-show | a95c63b96643b9ec5dead495ffc6f45048bfee5f | [
"MIT"
] | null | null | null | #include "util.hpp"
int Util::read_file(char **buffer, size_t *size, const char *file_name)
{
FILE *file = fopen(file_name, "rb");
if (!file) {
ls_log::log(LOG_ERROR, "failed to open file \"%s\"\n", file_name);
return EXIT_FAILURE;
}
fseek(file, 0, SEEK_END);
*size = ftell(file);
... | 23.277778 | 76 | 0.577566 | TijnBertens |
7e14065129dfc400b0987c24236954090dbe741d | 4,811 | cpp | C++ | test_deprecated/testUtil/example_tc_socket.cpp | SuckShit/TarsCpp | 3f42f4e7a7bf43026a782c5d4b033155c27ed0c4 | [
"BSD-3-Clause"
] | 1 | 2019-09-05T07:25:51.000Z | 2019-09-05T07:25:51.000Z | test_deprecated/testUtil/example_tc_socket.cpp | SuckShit/TarsCpp | 3f42f4e7a7bf43026a782c5d4b033155c27ed0c4 | [
"BSD-3-Clause"
] | null | null | null | test_deprecated/testUtil/example_tc_socket.cpp | SuckShit/TarsCpp | 3f42f4e7a7bf43026a782c5d4b033155c27ed0c4 | [
"BSD-3-Clause"
] | 1 | 2021-05-21T09:59:06.000Z | 2021-05-21T09:59:06.000Z | /**
* Tencent is pleased to support the open source community by making Tars available.
*
* Copyright (C) 2016 THL A29 Limited, a Tencent company. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License"); you may not use this file except
* in compliance with the License. You may obtain a ... | 21.193833 | 92 | 0.49761 | SuckShit |
7e1a89c99a9a348b915aaa0775bee5202db11528 | 5,943 | cpp | C++ | samples/sample_03_global.cpp | fengjixuchui/protolesshooks | 7cb9aeeef7e36939663b015dfa7977809fbaa566 | [
"MIT"
] | 112 | 2020-05-07T09:54:13.000Z | 2022-03-22T10:01:00.000Z | samples/sample_03_global.cpp | fengjixuchui/protolesshooks | 7cb9aeeef7e36939663b015dfa7977809fbaa566 | [
"MIT"
] | 2 | 2020-05-14T03:39:14.000Z | 2020-05-23T16:00:21.000Z | samples/sample_03_global.cpp | vovkos/protolesshooks | 19145c1e9428d29b35c1e3dcda66309eb72c7c0f | [
"MIT"
] | 28 | 2020-05-09T18:55:26.000Z | 2022-02-18T01:58:56.000Z | #include "plh_ModuleEnumerator.h"
#include "plh_ImportEnumerator.h"
#include "plh_ImportWriteProtection.h"
#include "plh_Hook.h"
#include <stdio.h>
#include <string.h>
#include <cinttypes>
#include <string>
#include <sstream>
#include <list>
#include <unordered_map>
#define _TRACE_HOOKING_MODULE 1
#define _TRACE_HOO... | 22.175373 | 106 | 0.62948 | fengjixuchui |
7e1e127e19c3473f9d35587aee2a2f2ef038b05e | 610 | cpp | C++ | Level 4/Exercices de deblocage du Niveau 4/Baguenaudier/main.cpp | Wurlosh/France-ioi | f5fb36003cbfc56a2e7cf64ad43c4452f086f198 | [
"MIT"
] | 31 | 2018-10-30T09:54:23.000Z | 2022-03-02T21:45:51.000Z | Level 4/Exercices de deblocage du Niveau 4/Baguenaudier/main.cpp | Wurlosh/France-ioi | f5fb36003cbfc56a2e7cf64ad43c4452f086f198 | [
"MIT"
] | 2 | 2016-12-24T23:39:20.000Z | 2017-07-02T22:51:28.000Z | Level 4/Exercices de deblocage du Niveau 4/Baguenaudier/main.cpp | Wurlosh/France-ioi | f5fb36003cbfc56a2e7cf64ad43c4452f086f198 | [
"MIT"
] | 30 | 2018-10-25T12:28:36.000Z | 2022-01-31T14:31:02.000Z | #include <bits/stdc++.h>
#define N 20
using namespace std;
int tab[N];
string ans[N];
string v[N];
int n;
int main()
{
ios_base::sync_with_stdio(0);
ans[1]="1";
ans[2]="2\n1";
v[1]="1";
v[2]="1\n2\n1";
cin>>n;
for(int i=3;i<=n;++i)
{
ans[i]="";
ans[i]=ans[i]+ans[i-2]+"\n";
if... | 16.944444 | 34 | 0.406557 | Wurlosh |
7e219e1b2c300ef8b466403ebd01c7ddd29d7c70 | 2,897 | cpp | C++ | CaptureManagerSource/CaptureManager/Main.cpp | luoyingwen/CaptureManagerSDK | e96395a120175a45c56ff4e2b3283b807a42fd75 | [
"MIT"
] | 64 | 2020-07-20T09:35:16.000Z | 2022-03-27T19:13:08.000Z | CaptureManagerSource/CaptureManager/Main.cpp | luoyingwen/CaptureManagerSDK | e96395a120175a45c56ff4e2b3283b807a42fd75 | [
"MIT"
] | 8 | 2020-07-30T09:20:28.000Z | 2022-03-03T22:37:10.000Z | CaptureManagerSource/CaptureManager/Main.cpp | luoyingwen/CaptureManagerSDK | e96395a120175a45c56ff4e2b3283b807a42fd75 | [
"MIT"
] | 28 | 2020-07-20T13:02:42.000Z | 2022-03-18T07:36:05.000Z | /*
MIT License
Copyright(c) 2020 Evgeny Pereguda
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,... | 24.974138 | 85 | 0.754574 | luoyingwen |
7e28d48a883b09ea6b4fbe126622a7206d5a7d32 | 1,872 | cc | C++ | transformations/legacy/LinearInterpolator.cc | gnafit/gna | c1a58dac11783342c97a2da1b19c97b85bce0394 | [
"MIT"
] | 5 | 2019-10-14T01:06:57.000Z | 2021-02-02T16:33:06.000Z | transformations/legacy/LinearInterpolator.cc | gnafit/gna | c1a58dac11783342c97a2da1b19c97b85bce0394 | [
"MIT"
] | null | null | null | transformations/legacy/LinearInterpolator.cc | gnafit/gna | c1a58dac11783342c97a2da1b19c97b85bce0394 | [
"MIT"
] | null | null | null | #include "LinearInterpolator.hh"
void LinearInterpolator::indexBins() {
if (m_xs.size() < 2) {
return;
}
double minbinsize = std::numeric_limits<double>::infinity();
for (size_t i = 0; i < m_xs.size()-1; ++i) {
minbinsize = std::min(minbinsize, m_xs[i+1] - m_xs[i]);
}
m_index.clear();
m_index.res... | 27.130435 | 74 | 0.514423 | gnafit |
7e2aadb0e396b36365109f16ac9086a5307fcc81 | 990 | cpp | C++ | learn_joy/src/jaws_joy_pub_joint.cpp | iConor/learn-ros | 91343f06c9d0df1c69ff01203a959366b0905953 | [
"BSD-3-Clause"
] | 2 | 2015-10-21T16:37:07.000Z | 2017-09-03T13:54:36.000Z | learn_joy/src/jaws_joy_pub_joint.cpp | iConor/learn-ros | 91343f06c9d0df1c69ff01203a959366b0905953 | [
"BSD-3-Clause"
] | null | null | null | learn_joy/src/jaws_joy_pub_joint.cpp | iConor/learn-ros | 91343f06c9d0df1c69ff01203a959366b0905953 | [
"BSD-3-Clause"
] | null | null | null | #include <ros/ros.h>
#include <sensor_msgs/JointState.h>
#include <sensor_msgs/Joy.h>
class Servos
{
private:
ros::NodeHandle nh;
ros::Subscriber sub;
ros::Publisher pub;
sensor_msgs::JointState js;
public:
Servos();
void callback(const sensor_msgs::Joy::ConstPtr& joy);
void loop();
};
... | 19.411765 | 74 | 0.634343 | iConor |
7e2bab5d6ac4d2e4637bccf49e1b6a47992d715b | 4,664 | cc | C++ | third_party/blink/renderer/modules/service_worker/navigator_service_worker.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | third_party/blink/renderer/modules/service_worker/navigator_service_worker.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | third_party/blink/renderer/modules/service_worker/navigator_service_worker.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // 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 "third_party/blink/renderer/modules/service_worker/navigator_service_worker.h"
#include "services/network/public/mojom/web_sandbox_flags.mojom-b... | 38.545455 | 87 | 0.733705 | sarang-apps |
7e2e35a3010afffb4f4882e87cd594fc5d4b5db6 | 1,813 | hpp | C++ | src/FrameWork/Math/Vectors.hpp | kevin20x2/PersistEngine | eeb4e14840d53274aa51fca6ad69f6f44a4e61ab | [
"MIT"
] | null | null | null | src/FrameWork/Math/Vectors.hpp | kevin20x2/PersistEngine | eeb4e14840d53274aa51fca6ad69f6f44a4e61ab | [
"MIT"
] | null | null | null | src/FrameWork/Math/Vectors.hpp | kevin20x2/PersistEngine | eeb4e14840d53274aa51fca6ad69f6f44a4e61ab | [
"MIT"
] | null | null | null | #pragma once
#include <math.h>
namespace Persist
{
#pragma pack(push)
#pragma pack(4)
template <typename T>
struct Vector2
{
Vector2(T _x, T _y) :
x(_x)
{
}
T x,y;
};
using Vector2f = Vector2<float>;
template <typename T>
struct Vector3
{
Vector3(T _x,T _y , T _z) :
x(_x),y(... | 15.62931 | 64 | 0.453392 | kevin20x2 |
7e2fe949026cf8235f24d233935c8342af9c649a | 2,955 | cpp | C++ | benchmarks/statistical/spawn_threads_analysis.cpp | vamatya/benchmarks | 8a86c6eebac5f9a29a0e37a62bdace45395c8d73 | [
"BSL-1.0"
] | null | null | null | benchmarks/statistical/spawn_threads_analysis.cpp | vamatya/benchmarks | 8a86c6eebac5f9a29a0e37a62bdace45395c8d73 | [
"BSL-1.0"
] | null | null | null | benchmarks/statistical/spawn_threads_analysis.cpp | vamatya/benchmarks | 8a86c6eebac5f9a29a0e37a62bdace45395c8d73 | [
"BSL-1.0"
] | null | null | null | // Copyright (c) 2012 Daniel Kogler
//
// 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)
/*This benchmark measures how long it takes to spawn new threads directly*/
#include "statstd.hpp"
#include <hpx/includ... | 33.579545 | 82 | 0.554315 | vamatya |
7e314be72e15b42eb5bf81a4f947791aeed1a9ab | 2,040 | cpp | C++ | src/net/LwipOutputQueue.cpp | jnmeurisse/FortiRDP | 53f48413c8a292304de27468b271847534353c61 | [
"Apache-2.0"
] | null | null | null | src/net/LwipOutputQueue.cpp | jnmeurisse/FortiRDP | 53f48413c8a292304de27468b271847534353c61 | [
"Apache-2.0"
] | null | null | null | src/net/LwipOutputQueue.cpp | jnmeurisse/FortiRDP | 53f48413c8a292304de27468b271847534353c61 | [
"Apache-2.0"
] | 1 | 2022-02-19T19:47:43.000Z | 2022-02-19T19:47:43.000Z | /*!
* This file is part of FortiRDP
*
* Copyright (C) 2022 Jean-Noel Meurisse
* SPDX-License-Identifier: Apache-2.0
*
*/
#include <algorithm>
#include "net/LwipOutputQueue.h"
namespace net {
using namespace tools;
LwipOutputQueue::LwipOutputQueue(int capacity):
OutputQueue(capacity),
_logger(Logger::get_logger... | 21.030928 | 84 | 0.647059 | jnmeurisse |
7e31d3a9b404e35f3690f98cd86c7ee04d181cdd | 432 | cpp | C++ | C++/TrainingCode/example_16.cpp | jedrzejpolaczek/code_snippets | 04dd6821840d897a95c2a94d75693072ac3c08eb | [
"MIT"
] | null | null | null | C++/TrainingCode/example_16.cpp | jedrzejpolaczek/code_snippets | 04dd6821840d897a95c2a94d75693072ac3c08eb | [
"MIT"
] | null | null | null | C++/TrainingCode/example_16.cpp | jedrzejpolaczek/code_snippets | 04dd6821840d897a95c2a94d75693072ac3c08eb | [
"MIT"
] | null | null | null | /* kompilator: MinGW 6.3.0 */
/* Czy ta funkcja jest poprawna? */
#include <iostream>
#include <stdio.h>
int foo(int * p){
return 0;
}
int main(int argc, char **argv) {
int tab[] = {0,0,0};
foo(tab);
return 0;
}
//-----------------------------------------------
/* ODPOWIEDŹ:
* Tak. Do funkcj... | 12.342857 | 70 | 0.548611 | jedrzejpolaczek |
cce3401856453e5ad64f0c61acf95e1c3f2e7067 | 1,339 | hpp | C++ | challenges/c0005/challenge.hpp | cdalvaro/project-euler | 7a09b06a0034ab555706214017ac2e6e3f019806 | [
"MIT"
] | null | null | null | challenges/c0005/challenge.hpp | cdalvaro/project-euler | 7a09b06a0034ab555706214017ac2e6e3f019806 | [
"MIT"
] | 18 | 2021-02-27T16:42:33.000Z | 2022-02-12T11:40:40.000Z | challenges/c0005/challenge.hpp | cdalvaro/project-euler | 7a09b06a0034ab555706214017ac2e6e3f019806 | [
"MIT"
] | 1 | 2021-02-22T13:08:13.000Z | 2021-02-22T13:08:13.000Z | //
// challenge.hpp
// Challenges
//
// Created by Carlos David on 11/06/2020.
// Copyright © 2020 cdalvaro. All rights reserved.
//
#ifndef challenges_c0005_challenge_hpp
#define challenges_c0005_challenge_hpp
#include "challenges/ichallenge.hpp"
namespace challenges {
/**
@class Challenge5
@brie... | 23.910714 | 79 | 0.625093 | cdalvaro |
cce4ba72a191d9307a795629a1381f53b5e47067 | 3,611 | cpp | C++ | SynchronisationServer/src/mainapp.cpp | FilmakademieRnd/v-p-e-t | d7dd8efb6d4aa03784e1bb4f941d2bcef919f28b | [
"MIT"
] | 62 | 2016-10-12T17:29:37.000Z | 2022-02-27T01:24:48.000Z | SynchronisationServer/src/mainapp.cpp | FilmakademieRnd/v-p-e-t | d7dd8efb6d4aa03784e1bb4f941d2bcef919f28b | [
"MIT"
] | 75 | 2017-01-05T12:02:43.000Z | 2021-04-06T19:07:50.000Z | SynchronisationServer/src/mainapp.cpp | FilmakademieRnd/v-p-e-t | d7dd8efb6d4aa03784e1bb4f941d2bcef919f28b | [
"MIT"
] | 16 | 2016-10-12T17:29:42.000Z | 2021-12-01T17:27:33.000Z | /*
-----------------------------------------------------------------------------
This source file is part of VPET - Virtual Production Editing Tool
http://vpet.research.animationsinstitut.de/
http://github.com/FilmakademieRnd/VPET
Copyright (c) 2018 Filmakademie Baden-Wuerttemberg, Animationsinstitut R&D Lab
This pro... | 43.506024 | 158 | 0.725561 | FilmakademieRnd |
ccea11ed15950bb342b61ab41dd08d1312f6e1ed | 592 | cpp | C++ | src/app/QVTKOpenGLInit.cpp | edrumwri/director | c82aff0ed2ad0083dc5ac9cf4b90994d2d852be8 | [
"BSD-3-Clause"
] | 18 | 2018-11-05T09:16:11.000Z | 2021-12-21T09:05:50.000Z | src/app/QVTKOpenGLInit.cpp | edrumwri/director | c82aff0ed2ad0083dc5ac9cf4b90994d2d852be8 | [
"BSD-3-Clause"
] | 36 | 2018-10-09T21:33:43.000Z | 2020-12-10T11:22:29.000Z | src/app/QVTKOpenGLInit.cpp | edrumwri/director | c82aff0ed2ad0083dc5ac9cf4b90994d2d852be8 | [
"BSD-3-Clause"
] | 5 | 2017-02-22T17:56:52.000Z | 2019-07-21T09:04:53.000Z | #include "QVTKOpenGLInit.h"
// Qt includes
#include <QtGlobal>
// VTK includes
#include <vtkVersionMacros.h>
#include <vtkRenderingOpenGLConfigure.h>
#if QT_VERSION >= QT_VERSION_CHECK(5, 4, 0) && VTK_MAJOR_VERSION >= 8
# ifdef VTK_OPENGL2
#include <QSurfaceFormat>
#include <QVTKOpenGLWidget.h>
# endif
#endif
... | 22.769231 | 70 | 0.744932 | edrumwri |
ccea58bdb68c43bd9734b4a77a0afa626e250990 | 614 | hpp | C++ | lab1/1_triangle/triangle/triangle.hpp | zaychenko-sergei/oop-ki13 | 97405077de1f66104ec95c1bb2785bc18445532d | [
"MIT"
] | 2 | 2015-10-08T15:07:07.000Z | 2017-09-17T10:08:36.000Z | lab1/1_triangle/triangle/triangle.hpp | zaychenko-sergei/oop-ki13 | 97405077de1f66104ec95c1bb2785bc18445532d | [
"MIT"
] | null | null | null | lab1/1_triangle/triangle/triangle.hpp | zaychenko-sergei/oop-ki13 | 97405077de1f66104ec95c1bb2785bc18445532d | [
"MIT"
] | null | null | null | // (C) 2013-2014, Sergei Zaychenko, KNURE, Kharkiv, Ukraine
#ifndef _TRIANGLE_HPP_
#define _TRIANGLE_HPP_
/*****************************************************************************/
#include "point.hpp"
/*****************************************************************************/
class Triangle
... | 21.928571 | 80 | 0.218241 | zaychenko-sergei |