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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ba1e0761241ad122b7c59b6720fab5b18b557639 | 4,714 | hpp | C++ | include/callisto/framework/templates/handlers/shared_handler.hpp | Anton-Vasyaev/callisto.framework | 4013fcfdae4adbee4c3b368fd3a43468dc287918 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | include/callisto/framework/templates/handlers/shared_handler.hpp | Anton-Vasyaev/callisto.framework | 4013fcfdae4adbee4c3b368fd3a43468dc287918 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | include/callisto/framework/templates/handlers/shared_handler.hpp | Anton-Vasyaev/callisto.framework | 4013fcfdae4adbee4c3b368fd3a43468dc287918 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | #ifndef SHARED_SCOPE_HANDLER_HPP
#define SHARED_SCOPE_HANDLER_HPP
// std
#include <utility>
#include <mutex>
// project
#include "default_disposer.hpp"
namespace callisto::framework
{
template<
typename _data_type,
typename _disposer_type=default_disposer<_data_type>
>
class shared_handle... | 21.723502 | 75 | 0.485363 | Anton-Vasyaev |
ba1e9698d1d5c042d7347687b25253f501dfc7e5 | 6,171 | cpp | C++ | Backends/System/Windows/Sources/kinc/backend/video.cpp | IbrahimHindawi/Kinc | 4dd1b313d0b6ebfeb5b21df75563d3e6bf0b9b8b | [
"Zlib"
] | null | null | null | Backends/System/Windows/Sources/kinc/backend/video.cpp | IbrahimHindawi/Kinc | 4dd1b313d0b6ebfeb5b21df75563d3e6bf0b9b8b | [
"Zlib"
] | null | null | null | Backends/System/Windows/Sources/kinc/backend/video.cpp | IbrahimHindawi/Kinc | 4dd1b313d0b6ebfeb5b21df75563d3e6bf0b9b8b | [
"Zlib"
] | null | null | null | #include "pch.h"
#include <kinc/video.h>
#include <streams.h>
namespace {
IGraphBuilder *graphBuilder;
IMediaControl *mediaControl;
IMediaPosition *mediaPosition;
IMediaEvent *mediaEvent;
struct __declspec(uuid("{71771540-2017-11cf-ae24-0020afd79767}")) CLSID_TextureRenderer;
}
class CTextureRenderer : public... | 30.25 | 157 | 0.71674 | IbrahimHindawi |
ba1e9bcb61d2d3cbb5440645d5278160e0a2e66a | 1,895 | cpp | C++ | tests/Packets/Tag60.cpp | httese/OpenPGP | 7dce08dc8b72eeb0dcbf3df56d64606a6b957938 | [
"MIT"
] | 99 | 2015-01-06T01:53:26.000Z | 2022-01-31T18:18:27.000Z | tests/Packets/Tag60.cpp | httese/OpenPGP | 7dce08dc8b72eeb0dcbf3df56d64606a6b957938 | [
"MIT"
] | 27 | 2015-03-09T05:46:53.000Z | 2020-05-06T02:52:18.000Z | tests/Packets/Tag60.cpp | httese/OpenPGP | 7dce08dc8b72eeb0dcbf3df56d64606a6b957938 | [
"MIT"
] | 42 | 2015-03-18T03:44:43.000Z | 2022-03-31T21:34:06.000Z | #include <gtest/gtest.h>
#include "Packets/Tag60.h"
static const std::string stream("\x00\x01\x02\x03\x04\x05\x06\x07", 8);
static void TAG60_FILL(OpenPGP::Packet::Tag60 & tag60) {
tag60.set_stream(stream);
}
#define TAG60_EQ(tag60) \
EXPECT_EQ((tag60).get_stream(), s... | 22.034884 | 71 | 0.604749 | httese |
ba20d5b36e760c5c7e52847ff0615ccce8dec7f3 | 2,870 | hpp | C++ | plugins/community/repos/Valley/src/Common/DSP/DADSR.hpp | guillaume-plantevin/VeeSeeVSTRack | 76fafc8e721613669d6f5ae82a0f58ce923a91e1 | [
"Zlib",
"BSD-3-Clause"
] | 233 | 2018-07-02T16:49:36.000Z | 2022-02-27T21:45:39.000Z | plugins/community/repos/Valley/src/Common/DSP/DADSR.hpp | guillaume-plantevin/VeeSeeVSTRack | 76fafc8e721613669d6f5ae82a0f58ce923a91e1 | [
"Zlib",
"BSD-3-Clause"
] | 24 | 2018-07-09T11:32:15.000Z | 2022-01-07T01:45:43.000Z | plugins/community/repos/Valley/src/Common/DSP/DADSR.hpp | guillaume-plantevin/VeeSeeVSTRack | 76fafc8e721613669d6f5ae82a0f58ce923a91e1 | [
"Zlib",
"BSD-3-Clause"
] | 24 | 2018-07-14T21:55:30.000Z | 2021-05-04T04:20:34.000Z | #pragma once
class DEnv {
public:
DEnv() {
_idling = true;
_attacking = false;
_decaying = false;
_sustaining = false;
_releasing = false;
loop = false;
value = 0.f;
attackTime = 0.f;
decayTime = 0.f;
sustain = 1.f;
releaseTim... | 26.330275 | 103 | 0.455749 | guillaume-plantevin |
ba22a032f9a8fcb7fc224b77a9f54ad8bd431b89 | 66 | cpp | C++ | unit_test/serial/Test_Serial_Batched_VectorView.cpp | dialecticDolt/kokkos-kernels | 00189c0be23a70979aeaa162f0abd4c0e4d1c479 | [
"BSD-3-Clause"
] | 156 | 2017-03-01T23:38:10.000Z | 2022-03-27T21:28:03.000Z | unit_test/serial/Test_Serial_Batched_VectorView.cpp | dialecticDolt/kokkos-kernels | 00189c0be23a70979aeaa162f0abd4c0e4d1c479 | [
"BSD-3-Clause"
] | 1,257 | 2017-03-03T15:25:16.000Z | 2022-03-31T19:46:09.000Z | unit_test/serial/Test_Serial_Batched_VectorView.cpp | dialecticDolt/kokkos-kernels | 00189c0be23a70979aeaa162f0abd4c0e4d1c479 | [
"BSD-3-Clause"
] | 76 | 2017-03-01T17:03:59.000Z | 2022-03-03T21:04:41.000Z | #include "Test_Serial.hpp"
#include "Test_Batched_VectorView.hpp"
| 22 | 38 | 0.818182 | dialecticDolt |
ba2451fefd4833b4c09790781fdf0cdc73b67599 | 235 | hpp | C++ | py-bindings/bindings/app/QuadrotorPlanning.pypp.hpp | SZanlongo/omplapp | c56679337e2a71d266359450afbe63d700c0a666 | [
"BSD-3-Clause"
] | null | null | null | py-bindings/bindings/app/QuadrotorPlanning.pypp.hpp | SZanlongo/omplapp | c56679337e2a71d266359450afbe63d700c0a666 | [
"BSD-3-Clause"
] | null | null | null | py-bindings/bindings/app/QuadrotorPlanning.pypp.hpp | SZanlongo/omplapp | c56679337e2a71d266359450afbe63d700c0a666 | [
"BSD-3-Clause"
] | null | null | null | // This file has been generated by Py++.
#ifndef QuadrotorPlanning_hpp__pyplusplus_wrapper
#define QuadrotorPlanning_hpp__pyplusplus_wrapper
void register_QuadrotorPlanning_class();
#endif//QuadrotorPlanning_hpp__pyplusplus_wrapper
| 26.111111 | 49 | 0.868085 | SZanlongo |
ba27ab20758870bbd3a6776bb3df46f67db425c9 | 3,352 | cpp | C++ | source/Board.cpp | yotam5/SFML_TicTacToe_Socket | b01c3402371b73e61d066a081e589553baea4c53 | [
"Unlicense"
] | null | null | null | source/Board.cpp | yotam5/SFML_TicTacToe_Socket | b01c3402371b73e61d066a081e589553baea4c53 | [
"Unlicense"
] | null | null | null | source/Board.cpp | yotam5/SFML_TicTacToe_Socket | b01c3402371b73e61d066a081e589553baea4c53 | [
"Unlicense"
] | null | null | null |
#pragma once
#include "../header/Board.h"
Board::Board()
{
this->initBoard();
}
Board::~Board()
{
for (int i = 0; i < SIDE; ++i)
{
for (int k = 0; k < SIDE; ++k)
{
delete this->boardArr[i][k];
}
}
}
bool Board::isWinner()
{
int row = 0;
int column = 0;
... | 22.802721 | 130 | 0.449582 | yotam5 |
ba29a95570c4487efb91832c0c46d94504ef3a27 | 8,578 | cpp | C++ | isis/src/base/objs/PlaneShape/PlaneShape.cpp | kdl222/ISIS3 | aab0e63088046690e6c031881825596c1c2cc380 | [
"CC0-1.0"
] | 134 | 2018-01-18T00:16:24.000Z | 2022-03-24T03:53:33.000Z | isis/src/base/objs/PlaneShape/PlaneShape.cpp | kdl222/ISIS3 | aab0e63088046690e6c031881825596c1c2cc380 | [
"CC0-1.0"
] | 3,825 | 2017-12-11T21:27:34.000Z | 2022-03-31T21:45:20.000Z | isis/src/base/objs/PlaneShape/PlaneShape.cpp | jlaura/isis3 | 2c40e08caed09968ea01d5a767a676172ad20080 | [
"CC0-1.0"
] | 164 | 2017-11-30T21:15:44.000Z | 2022-03-23T10:22:29.000Z | /** This is free and unencumbered software released into the public domain.
The authors of ISIS do not claim copyright on the contents of this file.
For more details about the LICENSE terms and the AUTHORS, you will
find files of those names at the top level of this repository. **/
/* SPDX-License-Identifier: CC0-1.0 ... | 28.688963 | 81 | 0.657846 | kdl222 |
ba2bc89a0325c81bcf4c9544dc4b86a45d8ba875 | 4,927 | cpp | C++ | emulator/src/mame/machine/pecom.cpp | rjw57/tiw-computer | 5ef1c79893165b8622d1114d81cd0cded58910f0 | [
"MIT"
] | 1 | 2022-01-15T21:38:38.000Z | 2022-01-15T21:38:38.000Z | emulator/src/mame/machine/pecom.cpp | rjw57/tiw-computer | 5ef1c79893165b8622d1114d81cd0cded58910f0 | [
"MIT"
] | null | null | null | emulator/src/mame/machine/pecom.cpp | rjw57/tiw-computer | 5ef1c79893165b8622d1114d81cd0cded58910f0 | [
"MIT"
] | null | null | null | // license:BSD-3-Clause
// copyright-holders:Miodrag Milanovic
/***************************************************************************
Pecom driver by Miodrag Milanovic
08/11/2008 Preliminary driver.
****************************************************************************/
#include "emu.h"
... | 27.52514 | 113 | 0.690887 | rjw57 |
ba2f0a853cce49c6556889e00228d415b67e6732 | 23,964 | cpp | C++ | Example_CPP/Screen_Capture_Example.cpp | Intro-Ventors/screen_capture_lite | 5a39deda85d6f444d9c99c72da711be73ce68055 | [
"MIT"
] | null | null | null | Example_CPP/Screen_Capture_Example.cpp | Intro-Ventors/screen_capture_lite | 5a39deda85d6f444d9c99c72da711be73ce68055 | [
"MIT"
] | null | null | null | Example_CPP/Screen_Capture_Example.cpp | Intro-Ventors/screen_capture_lite | 5a39deda85d6f444d9c99c72da711be73ce68055 | [
"MIT"
] | null | null | null | #include "ScreenCapture.h"
#include "ScreenCapture_C_API.h"
#include "internal/SCCommon.h" //DONT USE THIS HEADER IN PRODUCTION CODE!!!! ITS INTERNAL FOR A REASON IT WILL CHANGE!!! ITS HERE FOR TESTS ONLY!!!
#include <algorithm>
#include <atomic>
#include <chrono>
#include <climits>
#include <iostream>
#include <locale... | 46.532039 | 166 | 0.580454 | Intro-Ventors |
ba32cffec207d3cea263351d68887f2983e973e7 | 411 | hpp | C++ | src/opengl.hpp | anima-libera/qwy2 | 4875caf8035c5fb60e12eaba787d29017ffa0ed8 | [
"Apache-2.0"
] | null | null | null | src/opengl.hpp | anima-libera/qwy2 | 4875caf8035c5fb60e12eaba787d29017ffa0ed8 | [
"Apache-2.0"
] | null | null | null | src/opengl.hpp | anima-libera/qwy2 | 4875caf8035c5fb60e12eaba787d29017ffa0ed8 | [
"Apache-2.0"
] | null | null | null |
#ifndef QWY2_HEADER_OPENGL_
#define QWY2_HEADER_OPENGL_
/* Declares the OpenGL functions, types and constants. */
#ifdef USE_GLEW
#include <GL/glew.h>
#else
#define GL_GLEXT_PROTOTYPES
#include <GL/gl.h>
#include <GL/glext.h>
//#include <GL/glx.h>
#endif
/* For some reason I don't use the GLfloat type in the c... | 20.55 | 63 | 0.727494 | anima-libera |
ba33731e7e6c072d1bbfc4638939077f363d4dff | 3,490 | hpp | C++ | src/beast/include/beast/core/buffer_cat.hpp | Py9595/Backpack-Travel-Underlying-Code | c5758792eba7cdd62cb6ff46e642e8e4e4e5417e | [
"BSL-1.0"
] | 5 | 2018-02-02T04:50:43.000Z | 2020-10-14T08:15:01.000Z | src/beast/include/beast/core/buffer_cat.hpp | Py9595/Backpack-Travel-Underlying-Code | c5758792eba7cdd62cb6ff46e642e8e4e4e5417e | [
"BSL-1.0"
] | 10 | 2019-01-07T05:33:34.000Z | 2020-07-15T00:09:26.000Z | src/beast/include/beast/core/buffer_cat.hpp | Py9595/Backpack-Travel-Underlying-Code | c5758792eba7cdd62cb6ff46e642e8e4e4e5417e | [
"BSL-1.0"
] | 3 | 2017-07-19T11:39:47.000Z | 2019-08-06T07:52:21.000Z | //
// Copyright (c) 2013-2017 Vinnie Falco (vinnie dot falco at gmail dot com)
//
// 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 BEAST_BUFFER_CAT_HPP
#define BEAST_BUFFER_CAT_HPP
#include <beast/config... | 29.083333 | 79 | 0.711461 | Py9595 |
ba3523a390724f4ff7a0a2856fac71cd5669994a | 6,642 | hpp | C++ | cppcache/src/statistics/HostStatSampler.hpp | onichols-pivotal/geode-native | 4513e9771918ceb7e222bfd7ac614d54dc3114cb | [
"Apache-2.0"
] | 48 | 2017-02-08T22:24:07.000Z | 2022-02-06T02:47:56.000Z | cppcache/src/statistics/HostStatSampler.hpp | onichols-pivotal/geode-native | 4513e9771918ceb7e222bfd7ac614d54dc3114cb | [
"Apache-2.0"
] | 388 | 2017-02-13T17:09:45.000Z | 2022-03-29T22:18:39.000Z | cppcache/src/statistics/HostStatSampler.hpp | onichols-pivotal/geode-native | 4513e9771918ceb7e222bfd7ac614d54dc3114cb | [
"Apache-2.0"
] | 68 | 2017-02-09T18:43:15.000Z | 2022-03-14T22:59:13.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 ... | 28.144068 | 78 | 0.715598 | onichols-pivotal |
ba362e74f40a18f0a392e71c92d58c69a32605d9 | 1,071 | cpp | C++ | modules/DGM/TrainLink.cpp | aliyasineser/DGM | 87b9b70ba4eebb3ef8c330e56b15268597880f7d | [
"BSD-3-Clause"
] | 1 | 2021-05-24T17:46:05.000Z | 2021-05-24T17:46:05.000Z | modules/DGM/TrainLink.cpp | liuxinren456852/DGM | db078c91cea433148907700b71a0f3d8f0c98afc | [
"BSD-3-Clause"
] | null | null | null | modules/DGM/TrainLink.cpp | liuxinren456852/DGM | db078c91cea433148907700b71a0f3d8f0c98afc | [
"BSD-3-Clause"
] | null | null | null | #include "TrainLink.h"
#include "macroses.h"
namespace DirectGraphicalModels
{
void CTrainLink::addFeatureVec(const Mat &featureVectors, const Mat >b, const Mat >o)
{
DGM_ASSERT_MSG(featureVectors.channels() == m_nFeatures, "Number of features in the <featureVectors> (%d) does not correspond to the spe... | 42.84 | 193 | 0.734827 | aliyasineser |
ba37a9cebd0d3805034e6b678fe965b1cdd7b5be | 8,835 | cpp | C++ | source/ualgobase.cpp | fincs/uSTL-FeOS | 6493f68b5c22df1dcbd2b07652fdffaf76e878e4 | [
"MIT"
] | 1 | 2019-04-27T20:16:18.000Z | 2019-04-27T20:16:18.000Z | source/ualgobase.cpp | fincs/uSTL-FeOS | 6493f68b5c22df1dcbd2b07652fdffaf76e878e4 | [
"MIT"
] | null | null | null | source/ualgobase.cpp | fincs/uSTL-FeOS | 6493f68b5c22df1dcbd2b07652fdffaf76e878e4 | [
"MIT"
] | null | null | null | // This file is part of the uSTL library, an STL implementation.
//
// Copyright (c) 2005 by Mike Sharov <msharov@users.sourceforge.net>
// This file is free software, distributed under the MIT License.
#ifndef NDEBUG // Optimized code here. asserts slow it down, and are checked elsewhere.
#define NDEBUG
#endif
#prag... | 30.783972 | 97 | 0.584493 | fincs |
ba397241a9c96add3debea611d2e991d67ff2981 | 1,720 | cxx | C++ | Modules/Numerics/Optimizers/src/itkRegularStepGradientDescentOptimizer.cxx | HongdaZ/ITK | f5d004fa3607b8e11edc30f1ba299df35af8aff8 | [
"Apache-2.0"
] | 1 | 2021-01-10T14:19:08.000Z | 2021-01-10T14:19:08.000Z | Modules/Numerics/Optimizers/src/itkRegularStepGradientDescentOptimizer.cxx | HongdaZ/ITK | f5d004fa3607b8e11edc30f1ba299df35af8aff8 | [
"Apache-2.0"
] | 1 | 2017-03-19T12:56:50.000Z | 2018-10-24T10:40:21.000Z | Modules/Numerics/Optimizers/src/itkRegularStepGradientDescentOptimizer.cxx | HongdaZ/ITK | f5d004fa3607b8e11edc30f1ba299df35af8aff8 | [
"Apache-2.0"
] | 1 | 2020-07-24T22:58:19.000Z | 2020-07-24T22:58:19.000Z | /*=========================================================================
*
* Copyright NumFOCUS
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.or... | 33.72549 | 114 | 0.683721 | HongdaZ |
ba3b53bb750f240122a4e459cf808f7b965d0e88 | 3,546 | cpp | C++ | C++/RPNC.cpp | Jamboii/misc-projects | 3f7201212a0aab00fe5021343e296d3c47957f1e | [
"MIT"
] | 1 | 2020-03-07T19:41:14.000Z | 2020-03-07T19:41:14.000Z | C++/RPNC.cpp | Jamboii/misc-projects | 3f7201212a0aab00fe5021343e296d3c47957f1e | [
"MIT"
] | null | null | null | C++/RPNC.cpp | Jamboii/misc-projects | 3f7201212a0aab00fe5021343e296d3c47957f1e | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <vector>
#include <string>
#include <sstream>
#include <iostream>
#include <fstream>
#include <cmath>
#include <algorithm>
#include <iterator>
#include <cstdlib>
#include <stdint.h>
#include <stdlib.h>
#include "stack.hpp"
using namespace std;
int rpn(const string &expr)
{
Stack value... | 30.307692 | 143 | 0.511844 | Jamboii |
ba428a58e66d17b0b335a8f52ba6fc5459e29039 | 28,546 | cpp | C++ | cocos2dx/base_nodes/CCNode.cpp | nickflink/cocos2d-x | 2a2730bf842567c2b8d460006abf06035243602d | [
"Zlib",
"libtiff",
"BSD-2-Clause",
"Apache-2.0",
"MIT",
"Libpng",
"curl",
"BSD-3-Clause"
] | null | null | null | cocos2dx/base_nodes/CCNode.cpp | nickflink/cocos2d-x | 2a2730bf842567c2b8d460006abf06035243602d | [
"Zlib",
"libtiff",
"BSD-2-Clause",
"Apache-2.0",
"MIT",
"Libpng",
"curl",
"BSD-3-Clause"
] | null | null | null | cocos2dx/base_nodes/CCNode.cpp | nickflink/cocos2d-x | 2a2730bf842567c2b8d460006abf06035243602d | [
"Zlib",
"libtiff",
"BSD-2-Clause",
"Apache-2.0",
"MIT",
"Libpng",
"curl",
"BSD-3-Clause"
] | null | null | null | /****************************************************************************
Copyright (c) 2010-2012 cocos2d-x.org
Copyright (c) 2008-2010 Ricardo Quesada
Copyright (c) 2009 Valentin Milea
Copyright (c) 2011 Zynga Inc.
http://www.cocos2d-x.org
Permission is hereby granted, free of charge, to any person obt... | 23.076799 | 171 | 0.667519 | nickflink |
ba440c5556e1bcb9ee74f9fe1305ae88e48426ee | 1,216 | cpp | C++ | lib/poorMansDi/example/main.cpp | TNG/mustard-cli | aa8db4e923271546b46a1f9a71778b3bed1efe3a | [
"Apache-2.0"
] | 7 | 2019-04-12T07:13:32.000Z | 2021-09-22T20:53:44.000Z | lib/poorMansDi/example/main.cpp | TNG/mustard-cli | aa8db4e923271546b46a1f9a71778b3bed1efe3a | [
"Apache-2.0"
] | 2 | 2020-07-21T05:01:13.000Z | 2020-08-14T15:38:17.000Z | lib/poorMansDi/example/main.cpp | TNG/mustard-cli | aa8db4e923271546b46a1f9a71778b3bed1efe3a | [
"Apache-2.0"
] | 1 | 2020-07-21T05:03:09.000Z | 2020-07-21T05:03:09.000Z | #include <iostream>
#include "Techday.h"
#include "CoffeeMachines/Barista.h"
#include "CoffeeMachines/KlixMachine.h"
#include "TechdayConfiguration.h"
Techday createTechday ( CoffeeMaker *coffeeMaker );
void showThatDiWorks();
void showOverrideOfConfiguration();
using namespace std;
int main()
{
//Which coffee... | 24.32 | 90 | 0.711349 | TNG |
ba44eef7891d244d20d2cc2ad4289c827a0dcff5 | 681 | cpp | C++ | libcxx/fuzzing/fuzz_test_template.cpp | medismailben/llvm-project | e334a839032fe500c3bba22bf976ab7af13ce1c1 | [
"Apache-2.0"
] | 305 | 2019-09-14T17:16:05.000Z | 2022-03-31T15:05:20.000Z | libcxx/fuzzing/fuzz_test_template.cpp | medismailben/llvm-project | e334a839032fe500c3bba22bf976ab7af13ce1c1 | [
"Apache-2.0"
] | 47 | 2019-12-11T02:34:13.000Z | 2020-06-08T19:26:59.000Z | libcxx/fuzzing/fuzz_test_template.cpp | medismailben/llvm-project | e334a839032fe500c3bba22bf976ab7af13ce1c1 | [
"Apache-2.0"
] | 24 | 2019-10-03T11:22:11.000Z | 2022-01-25T09:59:30.000Z | //===------------------------- fuzz_test.cpp ------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | 29.608696 | 80 | 0.585903 | medismailben |
ba44ff7ad3f4b1f8407c728334c58df2f2b20fd7 | 5,873 | cpp | C++ | src/Library.cpp | zbanks/radiance | baf2c403de3b9cfaecbac17460ba30b2dc18334f | [
"MIT"
] | 143 | 2016-05-02T22:08:13.000Z | 2022-03-31T21:56:12.000Z | src/Library.cpp | zbanks/radiance | baf2c403de3b9cfaecbac17460ba30b2dc18334f | [
"MIT"
] | 95 | 2016-05-05T01:43:51.000Z | 2021-10-19T19:14:53.000Z | src/Library.cpp | zbanks/radiance | baf2c403de3b9cfaecbac17460ba30b2dc18334f | [
"MIT"
] | 19 | 2016-07-18T07:35:21.000Z | 2022-01-10T17:19:16.000Z | #include "Library.h"
#include "Paths.h"
#include "Registry.h"
#include <QDir>
#include <QDebug>
LibraryItem::LibraryItem(const QString &name, const QString &fileToInstantiate, LibraryItem *parent)
{
m_parentItem = parent;
m_name = name;
m_file = fileToInstantiate;
}
LibraryItem::~LibraryItem()
{
qDele... | 25.872247 | 117 | 0.638004 | zbanks |
ba45aa35ad891de7f37766013ed7d0667ec66a28 | 2,808 | cpp | C++ | src/Externals/cleaver/test/backup/volumeMesh.cpp | benjaminlarson/SCIRunGUIPrototype | ed34ee11cda114e3761bd222a71a9f397517914d | [
"Unlicense"
] | 1 | 2019-05-30T06:00:15.000Z | 2019-05-30T06:00:15.000Z | src/Externals/cleaver/test/backup/volumeMesh.cpp | manual123/SCIRun | 3816b1dc4ebd0c5bd4539b7e50e08592acdac903 | [
"MIT"
] | null | null | null | src/Externals/cleaver/test/backup/volumeMesh.cpp | manual123/SCIRun | 3816b1dc4ebd0c5bd4539b7e50e08592acdac903 | [
"MIT"
] | null | null | null |
#include <iostream>
#include <vector>
#include <string>
#include <Cleaver/Cleaver.h>
#include <Cleaver/InverseField.h>
#include <Cleaver/FloatField.h>
//#include "nrrd2cleaver.h"
using namespace std;
//using namespace Cleaver;
const std::string scirun = "scirun";
const std::string tetgen = "tetgen";
const std::st... | 23.79661 | 90 | 0.573362 | benjaminlarson |
ba488c21ea147814aaed8f146df16e19c59b7558 | 5,830 | cc | C++ | SimFastTiming/FastTimingCommon/src/ETLElectronicsSim.cc | Purva-Chaudhari/cmssw | 32e5cbfe54c4d809d60022586cf200b7c3020bcf | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | SimFastTiming/FastTimingCommon/src/ETLElectronicsSim.cc | Purva-Chaudhari/cmssw | 32e5cbfe54c4d809d60022586cf200b7c3020bcf | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | SimFastTiming/FastTimingCommon/src/ETLElectronicsSim.cc | Purva-Chaudhari/cmssw | 32e5cbfe54c4d809d60022586cf200b7c3020bcf | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | #include "SimFastTiming/FastTimingCommon/interface/ETLElectronicsSim.h"
#include "FWCore/Framework/interface/ConsumesCollector.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "CLHEP/Random/RandGaussQ.h"
using namespace mtd;
ETLElectronicsSim::ETLElectronicsSim(const edm::ParameterSet& pset, edm... | 40.486111 | 109 | 0.64717 | Purva-Chaudhari |
ba4927f2adf024b91af61bd4e846ebf82820fda0 | 3,643 | cpp | C++ | UTL/tokenbuf.cpp | yingtaohu/ogs5 | 3ebcbbc209e2306e0721d408a699ecaea52b89d1 | [
"BSD-4-Clause"
] | 1 | 2018-07-28T01:46:45.000Z | 2018-07-28T01:46:45.000Z | UTL/tokenbuf.cpp | yingtaohu/ogs5 | 3ebcbbc209e2306e0721d408a699ecaea52b89d1 | [
"BSD-4-Clause"
] | 1 | 2016-08-03T14:13:54.000Z | 2016-08-03T14:13:54.000Z | UTL/tokenbuf.cpp | yingtaohu/ogs5 | 3ebcbbc209e2306e0721d408a699ecaea52b89d1 | [
"BSD-4-Clause"
] | 2 | 2016-06-27T15:30:02.000Z | 2021-06-15T08:30:31.000Z | /**
* \copyright
* Copyright (c) 2015, OpenGeoSys Community (http://www.opengeosys.org)
* Distributed under a Modified BSD License.
* See accompanying file LICENSE.txt or
* http://www.opengeosys.org/project/license
*
*/
#include <iostream>
#include <string>
#include "tokenb... | 16.484163 | 119 | 0.582212 | yingtaohu |
ba4b2ca0da77241e930f6524dd8cc66a92faa3b6 | 765 | cpp | C++ | Short Notes/dataTypes.cpp | Darklaneanjana/Cpp-programming | bd00e402f51877c7b62b508f9125fb2436a04806 | [
"MIT"
] | 19 | 2021-04-28T13:32:15.000Z | 2022-03-08T11:52:59.000Z | Short Notes/dataTypes.cpp | Darklaneanjana/Cpp-programming | bd00e402f51877c7b62b508f9125fb2436a04806 | [
"MIT"
] | 5 | 2021-03-03T08:06:15.000Z | 2021-12-26T18:14:45.000Z | Short Notes/dataTypes.cpp | Darklaneanjana/Cpp-programming | bd00e402f51877c7b62b508f9125fb2436a04806 | [
"MIT"
] | 27 | 2021-01-18T22:35:01.000Z | 2022-02-22T19:52:19.000Z | #include <iostream>
int main ()
{
// std::cout << "LuciferX" << std::endl;
// Numerical Data Types
// int i = 10; // Size = 4
// short int j = 20; // Size = 2
// long int k = 300;
// std::cout << "Integer (int) : " << sizeof(int) << std::endl;
//
// unsigned short s = 65535; // +0 to +65535
// signed short t = ... | 18.658537 | 63 | 0.509804 | Darklaneanjana |
ba514009a9620615401ebda25038d99f5761ebf8 | 3,546 | cc | C++ | src/storage/blobfs/test/unit/fsck_test.cc | wwjiang007/fuchsia-1 | 0db66b52b5bcd3e27c8b8c2163925309e8522f94 | [
"BSD-2-Clause"
] | 210 | 2019-02-05T12:45:09.000Z | 2022-03-28T07:59:06.000Z | src/storage/blobfs/test/unit/fsck_test.cc | wwjiang007/fuchsia-1 | 0db66b52b5bcd3e27c8b8c2163925309e8522f94 | [
"BSD-2-Clause"
] | 56 | 2021-06-03T03:16:25.000Z | 2022-03-20T01:07:44.000Z | src/storage/blobfs/test/unit/fsck_test.cc | Prajwal-Koirala/fuchsia | ca7ae6c143cd4c10bad9aa1869ffcc24c3e4b795 | [
"BSD-2-Clause"
] | 73 | 2019-03-06T18:55:23.000Z | 2022-03-26T12:04:51.000Z | // Copyright 2020 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "src/storage/blobfs/fsck.h"
#include <block-client/cpp/fake-device.h>
#include <gtest/gtest.h>
#include "src/storage/blobfs/blobfs.h"
#include "... | 36.556701 | 100 | 0.756909 | wwjiang007 |
ba54bf372e58b0c7b39e1752323331fd7bab8a9e | 3,184 | cc | C++ | modules/prediction/submodules/predictor_submodule.cc | Inertial-Labs/apollo | 1c101673a85ab69981b85952fb1dd52acde1ccbd | [
"Apache-2.0"
] | 1 | 2018-09-13T03:37:20.000Z | 2018-09-13T03:37:20.000Z | modules/prediction/submodules/predictor_submodule.cc | Inertial-Labs/apollo | 1c101673a85ab69981b85952fb1dd52acde1ccbd | [
"Apache-2.0"
] | 1 | 2018-10-30T05:53:11.000Z | 2018-10-30T05:53:11.000Z | modules/prediction/submodules/predictor_submodule.cc | Inertial-Labs/apollo | 1c101673a85ab69981b85952fb1dd52acde1ccbd | [
"Apache-2.0"
] | null | null | null | /******************************************************************************
* Copyright 2019 The Apollo 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
... | 38.829268 | 79 | 0.735867 | Inertial-Labs |
ba552f0c64a532ff0326ebcf6d797b9e38ca7340 | 5,287 | cpp | C++ | src/unsupported.cpp | skn123/VC4CL | 1acb1b8d4b296e22136480e0f142aa3a6e014bf2 | [
"MIT"
] | 690 | 2017-10-15T09:49:08.000Z | 2022-03-30T06:44:55.000Z | src/unsupported.cpp | skn123/VC4CL | 1acb1b8d4b296e22136480e0f142aa3a6e014bf2 | [
"MIT"
] | 98 | 2017-11-09T06:37:01.000Z | 2022-02-19T14:11:12.000Z | src/unsupported.cpp | skn123/VC4CL | 1acb1b8d4b296e22136480e0f142aa3a6e014bf2 | [
"MIT"
] | 90 | 2017-10-10T10:19:24.000Z | 2022-02-28T05:39:54.000Z | /*
* Author: doe300
*
* See the file "LICENSE" for the full license governing this code.
*/
/*
* Collection of OpenCL 2.x functions which are not supported, but need to be present for OpenCL 3.0 support.
*
* All functions present in here are part of some OpenCL 3.0 optional feature for which VC4CL returns CL_FAL... | 40.669231 | 120 | 0.780783 | skn123 |
ba5697badfd84e8a3269349b7cefd68b9503bae6 | 657 | hh | C++ | src/auracle/format.hh | eli-schwartz/auracle | 941b5aa1617b6987a4053219260c1aca7c7a9860 | [
"MIT"
] | null | null | null | src/auracle/format.hh | eli-schwartz/auracle | 941b5aa1617b6987a4053219260c1aca7c7a9860 | [
"MIT"
] | null | null | null | src/auracle/format.hh | eli-schwartz/auracle | 941b5aa1617b6987a4053219260c1aca7c7a9860 | [
"MIT"
] | null | null | null | #ifndef FORMAT_HH
#define FORMAT_HH
#include <string_view>
#include "aur/package.hh"
#include "pacman.hh"
namespace format {
void NameOnly(const aur::Package& package);
void Update(const auracle::Pacman::Package& from, const aur::Package& to);
void Short(const aur::Package& package,
const std::optional<a... | 27.375 | 74 | 0.727549 | eli-schwartz |
ba56f1f9791e7f4f00b0275f50162bd2818d6846 | 3,959 | cpp | C++ | src_pybind/gl/py_sampler.cpp | fixedchaos/delfem2 | c8a7a000ec6a51c44bc45bc6ad0d0106d9315ade | [
"MIT"
] | null | null | null | src_pybind/gl/py_sampler.cpp | fixedchaos/delfem2 | c8a7a000ec6a51c44bc45bc6ad0d0106d9315ade | [
"MIT"
] | null | null | null | src_pybind/gl/py_sampler.cpp | fixedchaos/delfem2 | c8a7a000ec6a51c44bc45bc6ad0d0106d9315ade | [
"MIT"
] | null | null | null | #include <vector>
#include <pybind11/pybind11.h>
#include <pybind11/stl.h>
#include <pybind11/numpy.h>
#include "delfem2/opengl/r2tglo_glold.h"
namespace py = pybind11;
namespace dfm2 = delfem2;
// -----------------
py::array_t<float> depth_buffer(dfm2::opengl::CRender2Tex_DrawOldGL& sampler)
{
std::vector<float>... | 43.032609 | 118 | 0.645112 | fixedchaos |
ba59c30d0d0a2af9ced28e264d53e6ab5ba15a1f | 14,004 | cpp | C++ | src/lunar-master/eart2000.cpp | TehSnappy/lib_lunar_ex | a4cd4a3cdec44c2adaefbf1791b8863db568cbbd | [
"MIT"
] | 1 | 2019-03-11T14:46:04.000Z | 2019-03-11T14:46:04.000Z | lib/net/src/nrun/astro/eart2000.cpp | lcityd/paragon | 47a43872a5656a8c431c774d353ed214f9d0ed1d | [
"MIT"
] | null | null | null | lib/net/src/nrun/astro/eart2000.cpp | lcityd/paragon | 47a43872a5656a8c431c774d353ed214f9d0ed1d | [
"MIT"
] | 1 | 2019-10-12T03:23:41.000Z | 2019-10-12T03:23:41.000Z | /* eart2000.cpp: functions for computing Earth coordinates
Copyright (C) 2010, Project Pluto
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any ... | 50.193548 | 70 | 0.479506 | TehSnappy |
ba5a5bd0ffd3d2c69cd341fd78272f02cd76f043 | 21,406 | cpp | C++ | test/crypto/test_webauthn.cpp | celes-dev/fc | 0732c19245fad322b8785f9d43efda2117066490 | [
"MIT"
] | 37 | 2018-06-14T07:17:36.000Z | 2022-02-18T18:03:42.000Z | test/crypto/test_webauthn.cpp | celes-dev/fc | 0732c19245fad322b8785f9d43efda2117066490 | [
"MIT"
] | 36 | 2018-07-14T16:18:20.000Z | 2021-12-24T01:45:26.000Z | test/crypto/test_webauthn.cpp | celes-dev/fc | 0732c19245fad322b8785f9d43efda2117066490 | [
"MIT"
] | 131 | 2017-05-31T02:15:02.000Z | 2022-03-23T12:19:35.000Z | #define BOOST_TEST_MODULE webauthn_test_mod
#include <boost/test/included/unit_test.hpp>
#include <boost/algorithm/string.hpp>
#include <fc/crypto/public_key.hpp>
#include <fc/crypto/private_key.hpp>
#include <fc/crypto/signature.hpp>
#include <fc/utility.hpp>
using namespace fc::crypto;
using namespace fc;
using nam... | 50.845606 | 187 | 0.710408 | celes-dev |
ba5ab78e00c5a929886d9a2065668b6015ecb77a | 7,250 | hxx | C++ | main/svx/inc/svx/algitem.hxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 679 | 2015-01-06T06:34:58.000Z | 2022-03-30T01:06:03.000Z | main/svx/inc/svx/algitem.hxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 102 | 2017-11-07T08:51:31.000Z | 2022-03-17T12:13:49.000Z | main/svx/inc/svx/algitem.hxx | 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... | 36.432161 | 104 | 0.638759 | Grosskopf |
ba5f8baad5842668ffaf18b6d998c3101d79c366 | 5,215 | cpp | C++ | Woopsi/libwoopsi/src/fonts/msserif11b.cpp | ant512/Woopsi | e7a568dc5e16ae772a5cad850527861ac2c2e703 | [
"BSD-3-Clause"
] | 14 | 2016-01-25T01:01:25.000Z | 2021-07-02T22:49:27.000Z | Woopsi/libwoopsi/src/fonts/msserif11b.cpp | ant512/Woopsi | e7a568dc5e16ae772a5cad850527861ac2c2e703 | [
"BSD-3-Clause"
] | 1 | 2021-07-29T23:14:59.000Z | 2021-07-29T23:14:59.000Z | Woopsi/libwoopsi/src/fonts/msserif11b.cpp | ant512/Woopsi | e7a568dc5e16ae772a5cad850527861ac2c2e703 | [
"BSD-3-Clause"
] | 4 | 2016-01-25T01:01:45.000Z | 2021-09-04T23:39:10.000Z | #include "msserif11b.h"
#include <nds.h>
using namespace WoopsiUI;
static const u16 MSSerif11b_glyphdata[414] = {
/* '!' */ 0xFFF0,0xC000,
/* '"' */ 0xFFF0,0x0000,0x0000,
/* '#' */ 0x79EF,0xDE79,0xEFDE,0x7800,0x0000,
/* '$' */ 0x33B7,0x8618,0x7B71,0x8000,
/* '%' */ 0x70F6,0x6DB1,0xD80C,0x06E3,0x6D9B,0xC380,0x0000,0x0... | 38.62963 | 96 | 0.612848 | ant512 |
ba603bb8de16a7368eb74c3e68e3b09663c0cc34 | 20,065 | hpp | C++ | srcs/common/smallvector.hpp | brooklet/heif | 87d0427d750d882acba5f31bae697fe9a433ab50 | [
"BSD-3-Clause"
] | 1 | 2019-12-27T00:55:05.000Z | 2019-12-27T00:55:05.000Z | srcs/common/smallvector.hpp | brooklet/heif | 87d0427d750d882acba5f31bae697fe9a433ab50 | [
"BSD-3-Clause"
] | null | null | null | srcs/common/smallvector.hpp | brooklet/heif | 87d0427d750d882acba5f31bae697fe9a433ab50 | [
"BSD-3-Clause"
] | null | null | null | /* This file is part of Nokia HEIF library
*
* Copyright (c) 2015-2018 Nokia Corporation and/or its subsidiary(-ies). All rights reserved.
*
* Contact: heif@nokia.com
*
* This software, including documentation, is protected by copyright controlled by Nokia Corporation and/ or its
* subsidiaries. All rights are r... | 30.77454 | 119 | 0.599551 | brooklet |
ba60f7154d7273af690b7770c8521ec96c6cf1fb | 2,358 | cpp | C++ | solved/i-k/jogging-trails/uva/jogging.cpp | abuasifkhan/pc-code | 77ce51d692acf6edcb9e47aeb7b7f06bf56e4e90 | [
"Unlicense"
] | 13 | 2015-09-30T19:18:04.000Z | 2021-06-26T21:11:30.000Z | solved/i-k/jogging-trails/uva/jogging.cpp | sbmaruf/pc-code | 77ce51d692acf6edcb9e47aeb7b7f06bf56e4e90 | [
"Unlicense"
] | null | null | null | solved/i-k/jogging-trails/uva/jogging.cpp | sbmaruf/pc-code | 77ce51d692acf6edcb9e47aeb7b7f06bf56e4e90 | [
"Unlicense"
] | 13 | 2015-01-04T09:49:54.000Z | 2021-06-03T13:18:44.000Z | #include <cstdio>
#include <cstring>
#define MAXN 15
#define INF (1 << 30)
#define Neg(v) memset((v), -1, sizeof(v))
#define GetFS(b) ((b) & -(b))
#define ClrFS(b) (b &= ~GetFS(b))
static const int m37pos[] = {
32, 0, 1, 26, 2, 23, 27, 0, 3,
16, 24, 30, 28, 11, 0, 13, 4, 7,
17, 0, 25, 22, 31, ... | 19.170732 | 63 | 0.39313 | abuasifkhan |
ba62178787cfae7bd6cf381337288b92faf94f45 | 840 | cpp | C++ | src/PathTracing/Materials/Metal.cpp | agordeevw/pathtracer | 85340f398d34b79e757a6341af9a448f033884db | [
"MIT"
] | null | null | null | src/PathTracing/Materials/Metal.cpp | agordeevw/pathtracer | 85340f398d34b79e757a6341af9a448f033884db | [
"MIT"
] | 1 | 2019-01-08T15:11:47.000Z | 2019-01-08T15:11:47.000Z | src/PathTracing/Materials/Metal.cpp | agordeevw/pathtracer | 85340f398d34b79e757a6341af9a448f033884db | [
"MIT"
] | null | null | null | #include <glm/geometric.hpp>
#include "PathTracing/Hitable.h"
#include "PathTracing/Materials/Metal.h"
#include "PathTracing/Ray.h"
#include "Util/Random.h"
namespace PathTracing {
namespace Materials {
Metal::Metal(const Texture& albedo, float fuzziness)
: albedo(albedo), fuzziness(std::min(std::max(fuzziness, 0... | 35 | 78 | 0.694048 | agordeevw |
ba6229a55b6a26a1571323bbac8f0f4b7df05fb7 | 24,140 | cpp | C++ | cpp/cppsearch/tests/SearcherTest.cpp | clarkcb/xsearch | 977ab28518c4560140e13eb0bf9050e32c2f5472 | [
"MIT"
] | 5 | 2015-06-30T04:13:04.000Z | 2022-01-01T23:06:07.000Z | cpp/cppsearch/tests/SearcherTest.cpp | clarkcb/xsearch | 977ab28518c4560140e13eb0bf9050e32c2f5472 | [
"MIT"
] | 4 | 2015-03-23T23:42:46.000Z | 2020-11-30T04:42:59.000Z | cpp/cppsearch/tests/SearcherTest.cpp | clarkcb/xsearch | 977ab28518c4560140e13eb0bf9050e32c2f5472 | [
"MIT"
] | 2 | 2015-03-23T23:41:21.000Z | 2020-01-24T07:34:32.000Z | #include <catch2/catch.hpp>
#include "config.h"
#include "Searcher.h"
/***************************************************************************
* filter_file tests
**************************************************************************/
TEST_CASE("Test filter_file hidden file should be false", "[Searcher]") {
... | 37.777778 | 98 | 0.676305 | clarkcb |
ba6383cf3f9d04a4b17c853eed1eefb6342da8ff | 13,943 | cpp | C++ | activemq-cpp/src/main/decaf/lang/Long.cpp | novomatic-tech/activemq-cpp | d6f76ede90d21b7ee2f0b5d4648e440e66d63003 | [
"Apache-2.0"
] | 87 | 2015-03-02T17:58:20.000Z | 2022-02-11T02:52:52.000Z | activemq-cpp/src/main/decaf/lang/Long.cpp | novomatic-tech/activemq-cpp | d6f76ede90d21b7ee2f0b5d4648e440e66d63003 | [
"Apache-2.0"
] | 3 | 2017-05-10T13:16:08.000Z | 2019-01-23T20:21:53.000Z | activemq-cpp/src/main/decaf/lang/Long.cpp | novomatic-tech/activemq-cpp | d6f76ede90d21b7ee2f0b5d4648e440e66d63003 | [
"Apache-2.0"
] | 71 | 2015-04-28T06:04:04.000Z | 2022-03-15T13:34:06.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 ... | 29.792735 | 138 | 0.479811 | novomatic-tech |
ba698c2da270c7a494ce4045928a3280e4e611c0 | 8,371 | cpp | C++ | tests/Unit/DataStructures/DataBox/Test_TagName.cpp | tomwlodarczyk/spectre | 086aaee002f2f07eb812cf17b8e1ba54052feb71 | [
"MIT"
] | null | null | null | tests/Unit/DataStructures/DataBox/Test_TagName.cpp | tomwlodarczyk/spectre | 086aaee002f2f07eb812cf17b8e1ba54052feb71 | [
"MIT"
] | null | null | null | tests/Unit/DataStructures/DataBox/Test_TagName.cpp | tomwlodarczyk/spectre | 086aaee002f2f07eb812cf17b8e1ba54052feb71 | [
"MIT"
] | 1 | 2019-01-03T21:47:04.000Z | 2019-01-03T21:47:04.000Z | // Distributed under the MIT License.
// See LICENSE.txt for details.
#include "Framework/TestingFramework.hpp"
#include <string>
#include "DataStructures/DataBox/Tag.hpp"
#include "DataStructures/DataBox/TagName.hpp"
#include "Helpers/DataStructures/DataBox/TestTags.hpp"
namespace {
struct NamedSimple : db::Simple... | 39.300469 | 80 | 0.691315 | tomwlodarczyk |
ba6a16756b10a9314cce08706495397462d9c786 | 657 | cc | C++ | ports/www/chromium-legacy/newport/files/patch-base_native__library__posix.cc | danielfojt/DeltaPorts | 5710b4af4cacca5eb1ac577df304c788c07c4217 | [
"BSD-2-Clause-FreeBSD"
] | 1 | 2022-02-08T02:24:08.000Z | 2022-02-08T02:24:08.000Z | ports/www/chromium-legacy/newport/files/patch-base_native__library__posix.cc | danielfojt/DeltaPorts | 5710b4af4cacca5eb1ac577df304c788c07c4217 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | ports/www/chromium-legacy/newport/files/patch-base_native__library__posix.cc | danielfojt/DeltaPorts | 5710b4af4cacca5eb1ac577df304c788c07c4217 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | --- base/native_library_posix.cc.orig 2019-03-11 22:00:51 UTC
+++ base/native_library_posix.cc
@@ -29,7 +29,7 @@ NativeLibrary LoadNativeLibraryWithOptions(const FileP
// http://crbug.com/17943, http://crbug.com/17557, http://crbug.com/36892,
// and http://crbug.com/40794.
int flags = RTLD_LAZY;
-#if defined(O... | 54.75 | 77 | 0.733638 | danielfojt |
ba6cf754e6436704494295c75eafd77ba4d43054 | 250 | cpp | C++ | src/622A.cpp | viing937/codeforces | d694eb6967cd56af02963c3a662066048cb78d07 | [
"MIT"
] | 2 | 2016-08-19T09:47:03.000Z | 2016-10-01T10:15:03.000Z | src/622A.cpp | viing937/codeforces | d694eb6967cd56af02963c3a662066048cb78d07 | [
"MIT"
] | null | null | null | src/622A.cpp | viing937/codeforces | d694eb6967cd56af02963c3a662066048cb78d07 | [
"MIT"
] | 1 | 2015-07-01T23:57:32.000Z | 2015-07-01T23:57:32.000Z | #include <iostream>
using namespace std;
int main()
{
long long n;
cin >> n;
long long t = 0;
while ( (t%2 ? (t+1)/2*(t+2) : (t+2)/2*(t+1)) < n )
t += 1;
cout << n - (t%2 ? (t+1)/2*t : t/2*(t+1)) << endl;
return 0;
}
| 17.857143 | 55 | 0.432 | viing937 |
ba6d1798bcfa767be300d256ad0526cbcaf2e85e | 167,969 | cpp | C++ | src/AssemblyGraph2.cpp | chanzuckerberg/shasta | a8933d5aade5c8cc8b92852bf3092fb32bf30b22 | [
"BSD-3-Clause-Open-MPI"
] | 267 | 2018-07-31T16:12:24.000Z | 2022-03-29T13:57:53.000Z | src/AssemblyGraph2.cpp | chanzuckerberg/shasta | a8933d5aade5c8cc8b92852bf3092fb32bf30b22 | [
"BSD-3-Clause-Open-MPI"
] | 140 | 2018-08-10T14:14:19.000Z | 2022-02-18T22:05:05.000Z | src/AssemblyGraph2.cpp | chanzuckerberg/shasta | a8933d5aade5c8cc8b92852bf3092fb32bf30b22 | [
"BSD-3-Clause-Open-MPI"
] | 47 | 2018-09-28T18:29:37.000Z | 2022-02-21T02:45:40.000Z | // Shasta.
#include "AssemblyGraph2.hpp"
#include "AssembledSegment.hpp"
#include "assembleMarkerGraphPath.hpp"
#include "computeLayout.hpp"
#include "copyNumber.hpp"
#include "deduplicate.hpp"
#include "dominatorTree.hpp"
#include "enumeratePaths.hpp"
#include "findLinearChains.hpp"
#include "findMarkerId.hpp"
#includ... | 33.287554 | 131 | 0.602069 | chanzuckerberg |
ba707d265066148b6a3f557cbb2b7c5a3adddfe2 | 873 | hpp | C++ | include/paddyutils/functions/additiveMerge.hpp | paddy74/paddyutils | e2be1cbee56fffbb225588b391d4efac2a287a1c | [
"MIT"
] | null | null | null | include/paddyutils/functions/additiveMerge.hpp | paddy74/paddyutils | e2be1cbee56fffbb225588b391d4efac2a287a1c | [
"MIT"
] | null | null | null | include/paddyutils/functions/additiveMerge.hpp | paddy74/paddyutils | e2be1cbee56fffbb225588b391d4efac2a287a1c | [
"MIT"
] | null | null | null | #pragma once
namespace paddyutils
{
/**
* @brief Merge b into a (inplace). The values of matching keys are summed.
*
* @tparam KEY_T
* @tparam VALUE_T
* @param a
* @param b
*/
template <typename KEY_T, typename VALUE_T>
void additiveMergeInplace(
std::unordered_map<KEY_T, VALUE_T> & a,
std::unordered_ma... | 21.292683 | 79 | 0.674685 | paddy74 |
ba7208cc4021d34bab2210880d1893a19224a59a | 579 | cpp | C++ | src/backends/backendsCommon/test/TensorCopyUtils.cpp | Project-Xtended/external_armnn | c5e1bbf9fc8ecbb8c9eb073a1550d4c8c15fce94 | [
"MIT"
] | 856 | 2018-03-09T17:26:23.000Z | 2022-03-24T21:31:33.000Z | src/backends/backendsCommon/test/TensorCopyUtils.cpp | Project-Xtended/external_armnn | c5e1bbf9fc8ecbb8c9eb073a1550d4c8c15fce94 | [
"MIT"
] | 623 | 2018-03-13T04:40:42.000Z | 2022-03-31T09:45:17.000Z | src/backends/backendsCommon/test/TensorCopyUtils.cpp | Project-Xtended/external_armnn | c5e1bbf9fc8ecbb8c9eb073a1550d4c8c15fce94 | [
"MIT"
] | 284 | 2018-03-09T23:05:28.000Z | 2022-03-29T14:42:28.000Z | //
// Copyright © 2017 Arm Ltd. All rights reserved.
// SPDX-License-Identifier: MIT
//
#include "TensorCopyUtils.hpp"
#include <Half.hpp>
void CopyDataToITensorHandle(armnn::ITensorHandle* tensorHandle, const void* memory)
{
tensorHandle->CopyInFrom(memory);
}
void CopyDataFromITensorHandle(void* memory, const ... | 24.125 | 95 | 0.766839 | Project-Xtended |
ba73f6f983e7e46de5f0c98120b919f6002d14b7 | 2,807 | hpp | C++ | 10-riscv/_more/mini_riscv/02/riscv.hpp | al2698/sp | fceabadef49ffe6ed25dfef38e3dc418f309e128 | [
"MIT"
] | null | null | null | 10-riscv/_more/mini_riscv/02/riscv.hpp | al2698/sp | fceabadef49ffe6ed25dfef38e3dc418f309e128 | [
"MIT"
] | null | null | null | 10-riscv/_more/mini_riscv/02/riscv.hpp | al2698/sp | fceabadef49ffe6ed25dfef38e3dc418f309e128 | [
"MIT"
] | null | null | null | #ifndef __RISCV_H__
#define __RISCV_H__
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdint.h>
#include <stddef.h>
#include <assert.h>
#include <iostream>
#include <map>
using namespace std;
#define SMAX 100
#define LMAX 256
#define TMAX 10000
#define MMAX 32768
typedef struct _Op {
strin... | 37.932432 | 123 | 0.599572 | al2698 |
ba77177dbb28c549f71f4369a29bfedac9bcf97f | 11,728 | hpp | C++ | libraries/chain/include/graphene/chain/content_object.hpp | VIZ-World/viz-core | 634825fcfff9e392a26789f8e23c4cfab2952b71 | [
"MIT"
] | 7 | 2018-03-21T12:56:32.000Z | 2018-04-02T16:06:24.000Z | libraries/chain/include/graphene/chain/content_object.hpp | VIZ-World/viz-core | 634825fcfff9e392a26789f8e23c4cfab2952b71 | [
"MIT"
] | 18 | 2018-03-21T13:29:46.000Z | 2018-05-18T10:56:43.000Z | libraries/chain/include/graphene/chain/content_object.hpp | VIZ-World/VIZ.Core | 634825fcfff9e392a26789f8e23c4cfab2952b71 | [
"MIT"
] | 9 | 2018-10-17T19:02:40.000Z | 2019-02-14T10:35:00.000Z | #pragma once
#include <graphene/protocol/authority.hpp>
#include <graphene/protocol/chain_operations.hpp>
#include <graphene/chain/chain_object_types.hpp>
#include <graphene/chain/witness_objects.hpp>
#include <boost/multi_index/composite_key.hpp>
namespace graphene {
namespace chain {
namespace bip =... | 43.437037 | 156 | 0.617667 | VIZ-World |
ba7f9691d1d64b71f076c993b28ffcf730e901e5 | 1,167 | hpp | C++ | Abzynt/Abzynt/sdk/memory/memory.hpp | patrykkolodziej/Abzynt-Cheat | 862c72514f868fe24728ae83278647bcc3092180 | [
"MIT"
] | 14 | 2019-04-11T19:09:26.000Z | 2021-03-27T06:18:02.000Z | Abzynt/Abzynt/sdk/memory/memory.hpp | patrykkolodziej/Abzynt-Cheat | 862c72514f868fe24728ae83278647bcc3092180 | [
"MIT"
] | 2 | 2019-05-01T09:19:31.000Z | 2019-08-23T01:20:20.000Z | Abzynt/Abzynt/sdk/memory/memory.hpp | patrykkolodziej/Abzynt-Cheat | 862c72514f868fe24728ae83278647bcc3092180 | [
"MIT"
] | 7 | 2019-04-16T12:49:30.000Z | 2020-09-27T01:53:49.000Z | #pragma once
#include "../sdk.hpp"
class c_memory {
private:
uint32_t process_id;
HANDLE process_handle;
public:
~c_memory();
bool get_process_id(const std::string process_name);
bool get_handle(const std::string process_name);
uint32_t get_module(const std::string module_name);
bool free_memory(con... | 28.463415 | 113 | 0.736075 | patrykkolodziej |
ba811925ae9946aefdcc396a64614f0952d96149 | 6,669 | cpp | C++ | ft32/ConfigHandler.cpp | josephpal/ft32 | 9e7e87254687c25dd6aa0ace8623601019d9467c | [
"Apache-2.0"
] | 3 | 2017-12-11T15:51:25.000Z | 2021-11-11T13:08:41.000Z | ft32/ConfigHandler.cpp | josephpal/ft32 | 9e7e87254687c25dd6aa0ace8623601019d9467c | [
"Apache-2.0"
] | 4 | 2018-02-26T11:30:26.000Z | 2021-02-20T14:17:44.000Z | ft32/ConfigHandler.cpp | josephpal/ft32 | 9e7e87254687c25dd6aa0ace8623601019d9467c | [
"Apache-2.0"
] | 4 | 2017-12-11T13:46:22.000Z | 2020-11-21T15:55:41.000Z | /*
* ConfigHandler.cpp
*
* Created on: Feb 28, 2019
* Author: joseph
*/
#include "ConfigHandler.h"
ConfigHandler::ConfigHandler(SHM *ptr) {
mPtr = ptr;
}
ConfigHandler::~ConfigHandler() {
}
void ConfigHandler::checkup() {
// check (and correct if needed) for "/spiffs-cody-storage.txt" (cody program ... | 28.74569 | 109 | 0.683461 | josephpal |
ba816a2fd5284a2f31fac8abd767bb2fb21316f2 | 1,975 | cpp | C++ | source/threads/thread_worker.cpp | zeplaz/s_liz_rz | 612ebd97be4d0624b967b1968c45f092ea1c8ddb | [
"MIT"
] | null | null | null | source/threads/thread_worker.cpp | zeplaz/s_liz_rz | 612ebd97be4d0624b967b1968c45f092ea1c8ddb | [
"MIT"
] | null | null | null | source/threads/thread_worker.cpp | zeplaz/s_liz_rz | 612ebd97be4d0624b967b1968c45f092ea1c8ddb | [
"MIT"
] | null | null | null | ///thread_worker.cpp
#include "thread_worker.hpp"
thread_worker::thread_worker()
{
work_que.store(new std::queue<work_request>);
}
thread_worker::~thread_worker()
{
delete work_que.load();
}
void thread_worker::process_next()
{
unsigned int size = work_que.load(... | 27.430556 | 138 | 0.559494 | zeplaz |
ba81edbb5e9c8ef57afb2428f9387c6aefeda48f | 2,928 | cpp | C++ | uebungen/0x02/harkshire.cpp | pblan/fha-cpp | 5008f54133cf4913f0ca558a3817b01b10d04494 | [
"CECILL-B"
] | null | null | null | uebungen/0x02/harkshire.cpp | pblan/fha-cpp | 5008f54133cf4913f0ca558a3817b01b10d04494 | [
"CECILL-B"
] | null | null | null | uebungen/0x02/harkshire.cpp | pblan/fha-cpp | 5008f54133cf4913f0ca558a3817b01b10d04494 | [
"CECILL-B"
] | null | null | null | #include <iostream>
const size_t stack_dim{3};
// Beispielstruktur 'stack':
// Informieren Sie sich, wie ein 'Stack' funkt.
// https://de.wikipedia.org/wiki/Stapelspeicher
// Definieren Sie eine Struktur 'stack', die ein Feld fester Länge (z.B. 3) von
// 'int' enthält, sowie eine Variable 'next' für die nächs... | 25.684211 | 83 | 0.554986 | pblan |
ba84f2773de782f37cbd01ec2112889b21ca28e7 | 1,690 | cpp | C++ | networkit/cpp/graph/test/SpanningGTest.cpp | kmc-kk/networkit | 28c1208104acae8ef70911340bf88b3e3dd08db7 | [
"MIT"
] | null | null | null | networkit/cpp/graph/test/SpanningGTest.cpp | kmc-kk/networkit | 28c1208104acae8ef70911340bf88b3e3dd08db7 | [
"MIT"
] | 1 | 2019-11-29T08:57:52.000Z | 2019-11-29T08:57:52.000Z | networkit/cpp/graph/test/SpanningGTest.cpp | kmc-kk/networkit | 28c1208104acae8ef70911340bf88b3e3dd08db7 | [
"MIT"
] | 1 | 2020-02-05T17:39:47.000Z | 2020-02-05T17:39:47.000Z | /*
* SpanningGTest.cpp
*
* Created on: 03.09.2015
* Author: Henning
*/
#include <gtest/gtest.h>
#include <networkit/auxiliary/Log.hpp>
#include <networkit/graph/KruskalMSF.hpp>
#include <networkit/graph/SpanningForest.hpp>
#include <networkit/io/METISGraphReader.hpp>
namespace NetworKit {
class SpanningG... | 29.137931 | 87 | 0.611243 | kmc-kk |
ba8765d687f15ce52dfac373a261061fdf9ef469 | 3,731 | cpp | C++ | src/xercesc/validators/common/CMAny.cpp | rajesh-ibm-power/xerces-c | bee41e87651b935130ed76015fe4c38507f6b32f | [
"Apache-2.0"
] | 115 | 2015-03-17T16:22:59.000Z | 2022-03-09T12:06:59.000Z | src/xercesc/validators/common/CMAny.cpp | rajesh-ibm-power/xerces-c | bee41e87651b935130ed76015fe4c38507f6b32f | [
"Apache-2.0"
] | 25 | 2018-11-19T14:10:23.000Z | 2022-03-12T17:18:24.000Z | src/xercesc/validators/common/CMAny.cpp | rajesh-ibm-power/xerces-c | bee41e87651b935130ed76015fe4c38507f6b32f | [
"Apache-2.0"
] | 122 | 2015-03-16T11:44:23.000Z | 2022-03-15T12:33:22.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 ... | 33.612613 | 85 | 0.506835 | rajesh-ibm-power |
ba883986a6e743edd41d05845b9216cdca1cf0f5 | 11,262 | cpp | C++ | src/utils/QCImporter.cpp | avasq011/FinalProject_OpenMS_76ers | 6c9e2c295df6ec0eb296a3badfcdff245a869d59 | [
"BSL-1.0",
"Zlib",
"Apache-2.0"
] | 1 | 2019-06-11T13:03:08.000Z | 2019-06-11T13:03:08.000Z | src/utils/QCImporter.cpp | avasq011/FinalProject_OpenMS_76ers | 6c9e2c295df6ec0eb296a3badfcdff245a869d59 | [
"BSL-1.0",
"Zlib",
"Apache-2.0"
] | 1 | 2017-05-05T21:20:12.000Z | 2017-05-05T21:20:12.000Z | src/utils/QCImporter.cpp | avasq011/FinalProject_OpenMS_76ers | 6c9e2c295df6ec0eb296a3badfcdff245a869d59 | [
"BSL-1.0",
"Zlib",
"Apache-2.0"
] | null | null | null | // --------------------------------------------------------------------------
// OpenMS -- Open-Source Mass Spectrometry
// --------------------------------------------------------------------------
// Copyright The OpenMS Team -- Eberhard Karls University Tuebingen,
// ETH Zurich, and Freie Universit... | 41.404412 | 358 | 0.580448 | avasq011 |
ba8846bc029a3762e8fe6a2177d813a26897f75e | 41,993 | cpp | C++ | src/engine/components/vgui2/dme_controls/particlesystempropertiespanel.cpp | cstom4994/SourceEngineRebuild | edfd7f8ce8af13e9d23586318350319a2e193c08 | [
"MIT"
] | 6 | 2022-01-23T09:40:33.000Z | 2022-03-20T20:53:25.000Z | src/engine/components/vgui2/dme_controls/particlesystempropertiespanel.cpp | cstom4994/SourceEngineRebuild | edfd7f8ce8af13e9d23586318350319a2e193c08 | [
"MIT"
] | null | null | null | src/engine/components/vgui2/dme_controls/particlesystempropertiespanel.cpp | cstom4994/SourceEngineRebuild | edfd7f8ce8af13e9d23586318350319a2e193c08 | [
"MIT"
] | 1 | 2022-02-06T21:05:23.000Z | 2022-02-06T21:05:23.000Z | //========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose: Dialog used to edit properties of a particle system definition
//
//===========================================================================//
#include "dme_controls/ParticleSystemPropertiesPanel.h"
#include "tier1/KeyValue... | 39.136067 | 123 | 0.586145 | cstom4994 |
ba897d44a823429ef14b9af0eb17167487b7fa39 | 6,571 | hpp | C++ | api/util/tar.hpp | KristianJerpetjon/IncludeOS | 367a1dcefafd6f9618e5373c9133839f9ee2d675 | [
"Apache-2.0"
] | 1 | 2019-09-14T09:58:20.000Z | 2019-09-14T09:58:20.000Z | api/util/tar.hpp | KristianJerpetjon/IncludeOS | 367a1dcefafd6f9618e5373c9133839f9ee2d675 | [
"Apache-2.0"
] | 1 | 2016-06-28T13:30:26.000Z | 2016-06-28T13:30:26.000Z | api/util/tar.hpp | KristianJerpetjon/IncludeOS | 367a1dcefafd6f9618e5373c9133839f9ee2d675 | [
"Apache-2.0"
] | 1 | 2019-09-14T09:58:31.000Z | 2019-09-14T09:58:31.000Z | // This file is a part of the IncludeOS unikernel - www.includeos.org
//
// Copyright 2015 Oslo and Akershus University College of Applied Sciences
// and Alfred Bratterud
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may... | 32.210784 | 113 | 0.671435 | KristianJerpetjon |
ba8d1905106b11cc07999049f162f433b17541e6 | 5,776 | cc | C++ | components/viz/service/display/delegated_ink_point_renderer_base.cc | Ron423c/chromium | 2edf7b980065b648f8b2a6e52193d83832fe36b7 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | components/viz/service/display/delegated_ink_point_renderer_base.cc | Ron423c/chromium | 2edf7b980065b648f8b2a6e52193d83832fe36b7 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | components/viz/service/display/delegated_ink_point_renderer_base.cc | Ron423c/chromium | 2edf7b980065b648f8b2a6e52193d83832fe36b7 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2021-03-07T14:20:02.000Z | 2021-03-07T14:20:02.000Z | // Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/viz/service/display/delegated_ink_point_renderer_base.h"
#include "base/trace_event/trace_event.h"
#include "components/viz/common/d... | 40.964539 | 80 | 0.728186 | Ron423c |
ba9029fc3d027c284d5ff8f48df412f56becc9f3 | 2,697 | cpp | C++ | src/software/ai/primitive/chip_primitive_test.cpp | scveloso/Software | ac882d3df0aa0d108e5157c076c82c030d023e12 | [
"MIT"
] | null | null | null | src/software/ai/primitive/chip_primitive_test.cpp | scveloso/Software | ac882d3df0aa0d108e5157c076c82c030d023e12 | [
"MIT"
] | null | null | null | src/software/ai/primitive/chip_primitive_test.cpp | scveloso/Software | ac882d3df0aa0d108e5157c076c82c030d023e12 | [
"MIT"
] | null | null | null | /**
* This file contains the unit tests for the ChipPrimitive class
*/
#include "software/ai/primitive/chip_primitive.h"
#include <gtest/gtest.h>
#include <string.h>
TEST(ChipPrimTest, primitive_name_test)
{
ChipPrimitive chip_prim = ChipPrimitive(0, Point(), Angle(), 0.0);
EXPECT_EQ("Chip Primitive", chi... | 29.315217 | 87 | 0.737486 | scveloso |
ba90ce8cc743823b07c52c2123af9b1befbe1ec7 | 7,020 | inl | C++ | deqp/framework/egl/egluCallLogWrapperApi.inl | Keneral/ae1 | e5bbf05e3a01b449f33cca14c5ce8048df45624b | [
"Unlicense"
] | null | null | null | deqp/framework/egl/egluCallLogWrapperApi.inl | Keneral/ae1 | e5bbf05e3a01b449f33cca14c5ce8048df45624b | [
"Unlicense"
] | null | null | null | deqp/framework/egl/egluCallLogWrapperApi.inl | Keneral/ae1 | e5bbf05e3a01b449f33cca14c5ce8048df45624b | [
"Unlicense"
] | null | null | null | /* WARNING: This is auto-generated file. Do not modify, since changes will
* be lost! Modify the generating script instead.
*
* Generated from Khronos EGL API description (egl.xml) revision 31042.
*/
eglw::EGLBoolean eglBindAPI (eglw::EGLenum api);
eglw::EGLBoolean eglBindTexImage (eglw::EG... | 108 | 190 | 0.726923 | Keneral |
ba910b5f9eee7e2f2c56c12059027045c9d7dc54 | 1,284 | cpp | C++ | leetcode/886.cpp | yyong119/ACM-OnlineJudge | 5871993b15231c6615bfa3e7c2b04f0f6a23e9dc | [
"MIT"
] | 22 | 2017-08-12T11:56:19.000Z | 2022-03-27T10:04:31.000Z | leetcode/886.cpp | yyong119/ACM-OnlineJudge | 5871993b15231c6615bfa3e7c2b04f0f6a23e9dc | [
"MIT"
] | 2 | 2017-12-17T02:52:59.000Z | 2018-02-09T02:10:43.000Z | leetcode/886.cpp | yyong119/ACM-OnlineJudge | 5871993b15231c6615bfa3e7c2b04f0f6a23e9dc | [
"MIT"
] | 4 | 2017-12-22T15:24:38.000Z | 2020-05-18T14:51:16.000Z | class Solution {
public:
bool possibleBipartition(int N, vector<vector<int>>& dislikes) {
vector<int> link[N + 1];
for (int i = 0; i < dislikes.size(); ++i) {
link[dislikes[i][0]].push_back(dislikes[i][1]);
link[dislikes[i][1]].push_back(dislikes[i][0]);
}
int... | 37.764706 | 68 | 0.35514 | yyong119 |
ba9295ce2e0d37f48f486fd07175b7e7e912fe00 | 7,716 | cpp | C++ | src/io/bin.cpp | arnocandel/LightGBM | 19e085c9925ac039cf2ce17649013b1ef69385ee | [
"MIT"
] | 1 | 2016-12-27T07:50:44.000Z | 2016-12-27T07:50:44.000Z | src/io/bin.cpp | arnocandel/LightGBM | 19e085c9925ac039cf2ce17649013b1ef69385ee | [
"MIT"
] | null | null | null | src/io/bin.cpp | arnocandel/LightGBM | 19e085c9925ac039cf2ce17649013b1ef69385ee | [
"MIT"
] | 1 | 2020-02-12T16:47:06.000Z | 2020-02-12T16:47:06.000Z | #include <LightGBM/utils/common.h>
#include <LightGBM/bin.h>
#include "dense_bin.hpp"
#include "sparse_bin.hpp"
#include "ordered_sparse_bin.hpp"
#include <cmath>
#include <cstring>
#include <cstdint>
#include <limits>
#include <vector>
#include <algorithm>
namespace LightGBM {
BinMapper::BinMapper() {
}
// deep ... | 31.365854 | 133 | 0.670555 | arnocandel |
ba93fde246a818826ea6cf607e2efcb071f460d3 | 15,031 | cpp | C++ | HQEngine/Source/HQEngine/HQEngineApp.cpp | kakashidinho/HQEngine | 8125b290afa7c62db6cc6eac14e964d8138c7fd0 | [
"MIT"
] | 1 | 2019-04-03T01:53:28.000Z | 2019-04-03T01:53:28.000Z | HQEngine/Source/HQEngine/HQEngineApp.cpp | kakashidinho/HQEngine | 8125b290afa7c62db6cc6eac14e964d8138c7fd0 | [
"MIT"
] | null | null | null | HQEngine/Source/HQEngine/HQEngineApp.cpp | kakashidinho/HQEngine | 8125b290afa7c62db6cc6eac14e964d8138c7fd0 | [
"MIT"
] | null | null | null | /*
Copyright (C) 2010-2013 Le Hoang Quyen (lehoangq@gmail.com)
This program is free software; you can redistribute it and/or
modify it under the terms of the MIT license. See the file
COPYING.txt included with this distribution for more information.
*/
#include "HQEnginePCH.h"
#include "../HQEngineApp.h"
#include... | 24.088141 | 127 | 0.743996 | kakashidinho |
ba949495d5bb239bd15d802a48dc9df345793881 | 2,866 | cc | C++ | crawl/tests/httpget.cc | chanchann/WfCrawl | 9c1d4f91a107e90099eaf62bdc8da1091b9dd793 | [
"MIT"
] | null | null | null | crawl/tests/httpget.cc | chanchann/WfCrawl | 9c1d4f91a107e90099eaf62bdc8da1091b9dd793 | [
"MIT"
] | null | null | null | crawl/tests/httpget.cc | chanchann/WfCrawl | 9c1d4f91a107e90099eaf62bdc8da1091b9dd793 | [
"MIT"
] | null | null | null |
#include <netdb.h>
#include <signal.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <string>
#include "workflow/HttpMessage.h"
#include "workflow/HttpUtil.h"
#include "workflow/WFTaskFactory.h"
#include "workflow/WFFacilities.h"
#define REDIRECT_MAX 5
#define RETRY_MAX 2
void wget_cal... | 25.362832 | 68 | 0.613747 | chanchann |
ba94d7e3a217c2e79a69a304e0d02d488a7b0527 | 5,732 | cpp | C++ | src/compiler/glsl/tests/invalidate_locations_test.cpp | thermasol/mesa3d | 6f1bc4e7edfface197ef281cffdf399b5389e24a | [
"MIT"
] | 7 | 2019-09-04T03:44:26.000Z | 2022-01-06T02:54:24.000Z | src/compiler/glsl/tests/invalidate_locations_test.cpp | thermasol/mesa3d | 6f1bc4e7edfface197ef281cffdf399b5389e24a | [
"MIT"
] | null | null | null | src/compiler/glsl/tests/invalidate_locations_test.cpp | thermasol/mesa3d | 6f1bc4e7edfface197ef281cffdf399b5389e24a | [
"MIT"
] | 3 | 2021-06-11T23:53:38.000Z | 2021-08-31T03:18:34.000Z | /*
* Copyright © 2013 Intel Corporation
*
* 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, pub... | 29.096447 | 77 | 0.693999 | thermasol |
ba97adde06d4a4a0985cfa399192096e2f4368a5 | 2,478 | cpp | C++ | third_party/WebKit/Source/core/editing/spellcheck/SpellCheckerTest.cpp | google-ar/chromium | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 777 | 2017-08-29T15:15:32.000Z | 2022-03-21T05:29:41.000Z | third_party/WebKit/Source/core/editing/spellcheck/SpellCheckerTest.cpp | harrymarkovskiy/WebARonARCore | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 66 | 2017-08-30T18:31:18.000Z | 2021-08-02T10:59:35.000Z | third_party/WebKit/Source/core/editing/spellcheck/SpellCheckerTest.cpp | harrymarkovskiy/WebARonARCore | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 123 | 2017-08-30T01:19:34.000Z | 2022-03-17T22:55:31.000Z | // Copyright 2016 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 "core/editing/spellcheck/SpellChecker.h"
#include "core/editing/EditingTestBase.h"
#include "core/editing/Editor.h"
#include "core/frame/FrameVi... | 35.4 | 79 | 0.748184 | google-ar |
ba9b26d0f04710c35a13c9bbc3333385eb2a1a96 | 916 | cpp | C++ | src/cpp11.cpp | davidchall/rinja | 60938ed3d5f4f9b4a7b5352080abac4b04363da7 | [
"MIT"
] | 3 | 2021-09-15T21:48:20.000Z | 2022-02-04T03:28:41.000Z | src/cpp11.cpp | davidchall/rinja | 60938ed3d5f4f9b4a7b5352080abac4b04363da7 | [
"MIT"
] | 2 | 2021-09-16T02:44:20.000Z | 2021-10-09T01:40:07.000Z | src/cpp11.cpp | davidchall/rinja | 60938ed3d5f4f9b4a7b5352080abac4b04363da7 | [
"MIT"
] | null | null | null | // Generated by cpp11: do not edit by hand
// clang-format off
#include "cpp11/declarations.hpp"
#include <R_ext/Visibility.h>
// render.cpp
cpp11::strings c_render(const cpp11::strings& input, const cpp11::strings& data_json, const cpp11::list& config);
extern "C" SEXP _jinjar_c_render(SEXP input, SEXP data_json, S... | 32.714286 | 221 | 0.731441 | davidchall |
baa465d8c5d414d461248dac6219c099a9f70dd8 | 305 | hpp | C++ | Chap_7/7.5/Point.hpp | DrC0okie/Exercices | 40bb8040ff3bda218850fa348ceb9a7079eaaef0 | [
"MIT"
] | 1 | 2022-02-21T18:54:28.000Z | 2022-02-21T18:54:28.000Z | Chap_7/7.5/Point.hpp | DrC0okie/HEIG_PRG1_Exercices | 40bb8040ff3bda218850fa348ceb9a7079eaaef0 | [
"MIT"
] | null | null | null | Chap_7/7.5/Point.hpp | DrC0okie/HEIG_PRG1_Exercices | 40bb8040ff3bda218850fa348ceb9a7079eaaef0 | [
"MIT"
] | null | null | null | #ifndef POINT_HPP
#define POINT_HPP
class Point
{
private:
float x, y;
public:
Point(float x, float y);
void deplacer(float translation_x, float translation_y);
float abscisse() const;
float ordonnee() const;
Point operator+(const Point &droite) const;
};
#endif | 17.941176 | 61 | 0.655738 | DrC0okie |
baa488e25854c5926c5ce5ee5aa12e42a423db5c | 6,226 | hpp | C++ | include/Zenject/KeyedFactory_6.hpp | RedBrumbler/BeatSaber-Quest-Codegen | 73dda50b5a3e51f10d86b766dcaa24b0c6226e25 | [
"Unlicense"
] | null | null | null | include/Zenject/KeyedFactory_6.hpp | RedBrumbler/BeatSaber-Quest-Codegen | 73dda50b5a3e51f10d86b766dcaa24b0c6226e25 | [
"Unlicense"
] | null | null | null | include/Zenject/KeyedFactory_6.hpp | RedBrumbler/BeatSaber-Quest-Codegen | 73dda50b5a3e51f10d86b766dcaa24b0c6226e25 | [
"Unlicense"
] | null | null | null | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "beatsaber-hook/shared/utils/typedefs.h"
#include "beatsaber-hook/shared/utils/byref.hpp"
// Including type: Zenject.KeyedFactoryBase`2
... | 64.854167 | 339 | 0.732734 | RedBrumbler |
baa60292e3dfa79d325d6c40162c3f5200f70fe1 | 5,627 | cpp | C++ | unittests/clangd/TweakTests.cpp | Szelethus/clang-tools-extra | 4bff9e7bc96ac495d7b6b2e8cc6c6f629e824022 | [
"Apache-2.0"
] | null | null | null | unittests/clangd/TweakTests.cpp | Szelethus/clang-tools-extra | 4bff9e7bc96ac495d7b6b2e8cc6c6f629e824022 | [
"Apache-2.0"
] | 2 | 2019-01-24T00:38:27.000Z | 2019-02-28T00:23:56.000Z | unittests/clangd/TweakTests.cpp | Szelethus/clang-tools-extra | 4bff9e7bc96ac495d7b6b2e8cc6c6f629e824022 | [
"Apache-2.0"
] | null | null | null | //===-- TweakTests.cpp ------------------------------------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | 29.460733 | 80 | 0.612582 | Szelethus |
baa768ed9e8d80f21d144616c0d6a044c2590a69 | 5,680 | cpp | C++ | watchman/query/QueryContext.cpp | mathewhodson/watchman | 7e831f2fe71deb6429819aa1f7856a5335b0111e | [
"Apache-2.0"
] | null | null | null | watchman/query/QueryContext.cpp | mathewhodson/watchman | 7e831f2fe71deb6429819aa1f7856a5335b0111e | [
"Apache-2.0"
] | null | null | null | watchman/query/QueryContext.cpp | mathewhodson/watchman | 7e831f2fe71deb6429819aa1f7856a5335b0111e | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* 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 applic... | 29.430052 | 79 | 0.70757 | mathewhodson |
bab1e315ea6dec0a9de3860a1c1d647c71ebee39 | 2,453 | hpp | C++ | src/boost/system/detail/system_category_impl.hpp | 107-systems/107-Arduino-BoostUnits | fc3677ae79c1e75c99b3aa7813eb6ec83124b944 | [
"MIT"
] | null | null | null | src/boost/system/detail/system_category_impl.hpp | 107-systems/107-Arduino-BoostUnits | fc3677ae79c1e75c99b3aa7813eb6ec83124b944 | [
"MIT"
] | 1 | 2021-08-30T18:02:49.000Z | 2021-08-30T18:02:49.000Z | src/boost/system/detail/system_category_impl.hpp | 107-systems/107-Arduino-BoostUnits | fc3677ae79c1e75c99b3aa7813eb6ec83124b944 | [
"MIT"
] | null | null | null | #ifndef BOOST_SYSTEM_DETAIL_SYSTEM_CATEGORY_IMPL_HPP_INCLUDED
#define BOOST_SYSTEM_DETAIL_SYSTEM_CATEGORY_IMPL_HPP_INCLUDED
// Copyright Beman Dawes 2006, 2007
// Copyright Christoper Kohlhoff 2007
// Copyright Peter Dimov 2017, 2018, 2020
//
// Distributed under the Boost Software License, Version 1.0. (See accom... | 33.148649 | 138 | 0.767631 | 107-systems |
bab474e2935e1e8e5e2d0a216e9a728bc260df59 | 1,910 | cpp | C++ | 6. Linked List/8_Merge_sort_over_ll.cpp | manishhedau/Data-Structure-Algorithm | d45de87aa44d3af18d58fd59491993cf98dbe6fc | [
"MIT"
] | 3 | 2021-02-01T07:56:21.000Z | 2021-02-01T11:56:50.000Z | 6. Linked List/8_Merge_sort_over_ll.cpp | manishhedau/Data-Structure-Algorithm | d45de87aa44d3af18d58fd59491993cf98dbe6fc | [
"MIT"
] | null | null | null | 6. Linked List/8_Merge_sort_over_ll.cpp | manishhedau/Data-Structure-Algorithm | d45de87aa44d3af18d58fd59491993cf98dbe6fc | [
"MIT"
] | null | null | null | // Code By - Manish Hedau
#include<bits/stdc++.h>
using namespace std;
class node
{
public:
int data;
node *next;
// constructor
node(int d) {
data = d;
next = NULL;
}
};
void insertHead(node *&head, int data) {
// check if ll is empty
if (head == NULL) {
head = new node(data);
return;
}
node *new_b... | 15.785124 | 46 | 0.587958 | manishhedau |
bab4992c0c2c4a4ba78ab27b0e8b70599b238080 | 291 | cpp | C++ | Learning_c++/Inheritence/main.cpp | valentine9510/C-plus-plus-learning | 4702ae84051d7f4f323c040a030b2d8607536def | [
"MIT"
] | 1 | 2021-11-27T05:25:09.000Z | 2021-11-27T05:25:09.000Z | Learning_c++/Inheritence/main.cpp | valentine9510/C-plus-plus-learning | 4702ae84051d7f4f323c040a030b2d8607536def | [
"MIT"
] | null | null | null | Learning_c++/Inheritence/main.cpp | valentine9510/C-plus-plus-learning | 4702ae84051d7f4f323c040a030b2d8607536def | [
"MIT"
] | null | null | null | #include "account.h"
#include "saving_account.h"
#include <iostream>
#include <vector>
#include <string>
using namespace std;
int main()
{
Account a1(1000.0);
Savings_Account s1{1000.0,5.0};
s1.deposit(1000.0);
s1.withdraw(200.0);
s1.withdraw(100.0);
return 0;
} | 14.55 | 35 | 0.649485 | valentine9510 |
3bf8c29c924c4808f7388ca5748905a761d121d3 | 22,324 | cpp | C++ | Fuji/Source/MFPrimitive.cpp | TurkeyMan/fuji | afd6a26c710ce23965b088ad158fe916d6a1a091 | [
"BSD-2-Clause"
] | 35 | 2015-01-19T22:07:48.000Z | 2022-02-21T22:17:53.000Z | Fuji/Source/MFPrimitive.cpp | TurkeyMan/fuji | afd6a26c710ce23965b088ad158fe916d6a1a091 | [
"BSD-2-Clause"
] | 1 | 2022-02-23T09:34:15.000Z | 2022-02-23T09:34:15.000Z | Fuji/Source/MFPrimitive.cpp | TurkeyMan/fuji | afd6a26c710ce23965b088ad158fe916d6a1a091 | [
"BSD-2-Clause"
] | 4 | 2015-05-11T03:31:35.000Z | 2018-09-27T04:55:57.000Z | /**** Defines ****/
/**** Includes ****/
#include "Fuji_Internal.h"
#include "MFDisplay.h"
#include "MFView.h"
#include "MFPrimitive.h"
/**** Globals ****/
/**** Functions ****/
MF_API void MFPrimitive_BlitRect(int x, int y, const MFRect &uvs)
{
MFPrimitive_Blit(x, y, (int)uvs.x, (int)uvs.y, (int)u... | 25.897912 | 192 | 0.660276 | TurkeyMan |
3bfc8e639185323a3809ca82c09428b3b1b8afe5 | 5,137 | cpp | C++ | 3rdparty/libprocess/3rdparty/stout/tests/json_tests.cpp | tillt/mesos | 3031114c7bb93853b526fa62e4735a96bc8a9150 | [
"Apache-2.0"
] | 1 | 2015-11-06T09:33:10.000Z | 2015-11-06T09:33:10.000Z | 3rdparty/libprocess/3rdparty/stout/tests/json_tests.cpp | yuzhu/mesos-akaros | 6a905943542cd93e1f71069ea6c228b7085533b7 | [
"Apache-2.0"
] | 1 | 2015-12-21T23:47:34.000Z | 2015-12-21T23:47:47.000Z | 3rdparty/libprocess/3rdparty/stout/tests/json_tests.cpp | tillt/mesos | 3031114c7bb93853b526fa62e4735a96bc8a9150 | [
"Apache-2.0"
] | null | null | null | #include <gtest/gtest.h>
#include <gmock/gmock.h>
#include <stdint.h>
#include <sys/stat.h>
#include <string>
#include <stout/gtest.hpp>
#include <stout/json.hpp>
#include <stout/stringify.hpp>
#include <stout/strings.hpp>
using std::string;
using boost::get;
TEST(JsonTest, DefaultValueIsNull)
{
JSON::Value ... | 21.952991 | 78 | 0.64707 | tillt |
3bfced874a27779e4b731e074247da3dd036426c | 30,993 | hpp | C++ | Headers/InteractionEntities.hpp | RealTimeChris/DiscordCoreAPI | 8286783c8fa220c72ec9c9bb2d5f35076233d1ee | [
"Apache-2.0"
] | 107 | 2021-06-12T07:07:33.000Z | 2022-03-29T05:53:17.000Z | Headers/InteractionEntities.hpp | RealTimeChris/DiscordCoreAPI | 8286783c8fa220c72ec9c9bb2d5f35076233d1ee | [
"Apache-2.0"
] | 4 | 2022-01-21T23:32:46.000Z | 2022-02-25T17:53:05.000Z | Headers/InteractionEntities.hpp | RealTimeChris/DiscordCoreAPI | 8286783c8fa220c72ec9c9bb2d5f35076233d1ee | [
"Apache-2.0"
] | 21 | 2021-06-11T02:01:39.000Z | 2022-03-29T06:08:56.000Z | // InteractionEntities.hpp - Header for the interaction related classes and structs.
// May 28, 2021
// Chris M.
// https://github.com/RealTimeChris
#pragma once
#include "IndexInitial.hpp"
#include "FoundationEntities.hpp"
#include "JSONIFier.hpp"
#include "MessageEntities.hpp"
namespace DiscordCoreAPI {
/**
... | 47.755008 | 198 | 0.675669 | RealTimeChris |
3bff378fa2a78c0f7e4d42f136c915168b7d0954 | 1,095 | cpp | C++ | categories/BEGINNER/1061/event-time.cpp | JonathaCLima/uri-online-judge | 3bfe7e0512daf1dbba608c94fc1e5b64e13b2a79 | [
"MIT"
] | 4 | 2022-01-23T07:55:52.000Z | 2022-02-19T15:26:20.000Z | categories/BEGINNER/1061/event-time.cpp | JonathaCLima/Beecrowd | f7208ec4bd73ac2804a9f2427c00b2baad96d13d | [
"MIT"
] | null | null | null | categories/BEGINNER/1061/event-time.cpp | JonathaCLima/Beecrowd | f7208ec4bd73ac2804a9f2427c00b2baad96d13d | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
int main()
{
string colon, day;
int start_day, start_hour, start_minute, start_second;
int end_day, end_hour, end_minute, end_second;
cin >> day >> start_day;
cin >> start_hour >> colon >> start_minute >> colon >> start_second;
cin >> day >> end_day;
... | 24.333333 | 72 | 0.6 | JonathaCLima |
ce0052b34cc5da4814b3f1e7828a258de0bbf560 | 2,926 | cpp | C++ | 3. Red/1 Week/4. Update Field Macros/update_field.cpp | freeraisor/yandexcplusplus | 9708fdb6cd7e039672ebc2e77f131fbc7a765750 | [
"MIT"
] | 14 | 2019-08-29T12:34:07.000Z | 2022-03-09T13:31:18.000Z | 3. Red/1 Week/4. Update Field Macros/update_field.cpp | freeraisor/yandexcplusplus | 9708fdb6cd7e039672ebc2e77f131fbc7a765750 | [
"MIT"
] | null | null | null | 3. Red/1 Week/4. Update Field Macros/update_field.cpp | freeraisor/yandexcplusplus | 9708fdb6cd7e039672ebc2e77f131fbc7a765750 | [
"MIT"
] | 8 | 2020-09-10T11:40:03.000Z | 2022-03-24T00:34:38.000Z | #include "airline_ticket.h"
//#include "../../../Utils/MyTestFramework/TestFramework.h"
#include <map>
#include <sstream>
#include <iostream>
bool operator<(const Date& lhs, const Date& rhs) {
return std::tie(lhs.year, lhs.month, lhs.day)
< std::tie(rhs.year, rhs.month, rhs.day);
}
bool operator<(const Time&... | 26.844037 | 77 | 0.586466 | freeraisor |
ce00907527650e7a7e2e15412f90b718f671f9f9 | 8,041 | cpp | C++ | src/reaction.cpp | ypark234/openmc | 571ed3b6ab449e555fc9c8452106425d26b19bd3 | [
"MIT"
] | 1 | 2020-11-19T14:46:10.000Z | 2020-11-19T14:46:10.000Z | src/reaction.cpp | ypark234/openmc | 571ed3b6ab449e555fc9c8452106425d26b19bd3 | [
"MIT"
] | 2 | 2020-02-24T15:13:15.000Z | 2020-03-17T18:59:22.000Z | src/reaction.cpp | ypark234/openmc | 571ed3b6ab449e555fc9c8452106425d26b19bd3 | [
"MIT"
] | null | null | null | #include "openmc/reaction.h"
#include <string>
#include <utility> // for move
#include <fmt/core.h>
#include "openmc/constants.h"
#include "openmc/hdf5_interface.h"
#include "openmc/endf.h"
#include "openmc/random_lcg.h"
#include "openmc/secondary_uncorrelated.h"
namespace openmc {
//==============================... | 29.028881 | 80 | 0.532645 | ypark234 |
ce05970bb26171b733f8dd710be4df45ae5c0d5d | 5,004 | cpp | C++ | Sandbox/src/Application.cpp | Ckyre/brio | 77a41a2a9d16c20542b60b2425e44525d3f4eef8 | [
"Apache-2.0"
] | null | null | null | Sandbox/src/Application.cpp | Ckyre/brio | 77a41a2a9d16c20542b60b2425e44525d3f4eef8 | [
"Apache-2.0"
] | null | null | null | Sandbox/src/Application.cpp | Ckyre/brio | 77a41a2a9d16c20542b60b2425e44525d3f4eef8 | [
"Apache-2.0"
] | null | null | null | #include <Brio.h>
#include <Brio/Core/EntryPoint.h>
#include "Platform/OpenGL/OpenGLShader.h"
#include "imgui/imgui.h"
#include "glm/gtc/type_ptr.hpp"
#include <GLFW/include/GLFW/glfw3.h>
class ExampleLayer : public Brio::Layer
{
public:
ExampleLayer()
: Layer("Example"), m_CameraController(55.0f, 1280.0f / 720.0... | 32.076923 | 147 | 0.684053 | Ckyre |
ce07c79a0a0a87c26935b310797b462cc6399d30 | 4,670 | cpp | C++ | src/shaders/gradients/SkSweepGradient.cpp | fourgrad/skia | b9b550e9bb1b73001088ba89483e2f9bbe46c3db | [
"BSD-3-Clause"
] | null | null | null | src/shaders/gradients/SkSweepGradient.cpp | fourgrad/skia | b9b550e9bb1b73001088ba89483e2f9bbe46c3db | [
"BSD-3-Clause"
] | null | null | null | src/shaders/gradients/SkSweepGradient.cpp | fourgrad/skia | b9b550e9bb1b73001088ba89483e2f9bbe46c3db | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright 2012 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "src/shaders/gradients/SkSweepGradient.h"
#include "include/private/SkFloatingPoint.h"
#include "src/core/SkKeyHelpers.h"
#include "src/core/SkRasterPipeline.h"
#inc... | 37.66129 | 92 | 0.574732 | fourgrad |
ce099b6ec2f7a586f9dc8bdad654584c3622ff09 | 1,305 | cc | C++ | src/devices/bin/driver_manager/component_lifecycle.cc | liexusong/fuchsia | 81897680af92a1848a063e3c20ff3a4892ccff07 | [
"BSD-2-Clause"
] | 3 | 2021-09-02T07:21:06.000Z | 2022-03-12T03:20:10.000Z | src/devices/bin/driver_manager/component_lifecycle.cc | liexusong/fuchsia | 81897680af92a1848a063e3c20ff3a4892ccff07 | [
"BSD-2-Clause"
] | 56 | 2021-06-03T03:16:25.000Z | 2022-03-20T01:07:44.000Z | src/devices/bin/driver_manager/component_lifecycle.cc | liexusong/fuchsia | 81897680af92a1848a063e3c20ff3a4892ccff07 | [
"BSD-2-Clause"
] | 2 | 2022-02-25T12:22:49.000Z | 2022-03-12T03:20:10.000Z | // Copyright 2020 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "component_lifecycle.h"
#include <lib/fidl-async/cpp/bind.h>
#include <zircon/status.h>
#include "fuchsia/hardware/power/statecontrol/llcpp/fidl... | 36.25 | 100 | 0.739464 | liexusong |
ce0b77aea957fe218fa00581de2f6bd6bf0dde8e | 3,886 | cpp | C++ | tests/Unit/DataStructures/Test_SliceTensorToVariables.cpp | nilsvu/spectre | 1455b9a8d7e92db8ad600c66f54795c29c3052ee | [
"MIT"
] | 117 | 2017-04-08T22:52:48.000Z | 2022-03-25T07:23:36.000Z | tests/Unit/DataStructures/Test_SliceTensorToVariables.cpp | GitHimanshuc/spectre | 4de4033ba36547113293fe4dbdd77591485a4aee | [
"MIT"
] | 3,177 | 2017-04-07T21:10:18.000Z | 2022-03-31T23:55:59.000Z | tests/Unit/DataStructures/Test_SliceTensorToVariables.cpp | geoffrey4444/spectre | 9350d61830b360e2d5b273fdd176dcc841dbefb0 | [
"MIT"
] | 85 | 2017-04-07T19:36:13.000Z | 2022-03-01T10:21:00.000Z | // Distributed under the MIT License.
// See LICENSE.txt for details.
#include "Framework/TestingFramework.hpp"
#include <algorithm>
#include <array>
#include <cstddef>
#include <string>
#include "DataStructures/ComplexDataVector.hpp"
#include "DataStructures/ComplexModalVector.hpp"
#include "DataStructures/DataVect... | 38.098039 | 79 | 0.681163 | nilsvu |
ce0c722071f7414539570872adc3b9cfb12d564a | 1,242 | cpp | C++ | hackathon/2010/brunsc/python_console/generated_code/XYZ.pypp.cpp | zzhmark/vaa3d_tools | 3ca418add85a59ac7e805d55a600b78330d7e53d | [
"MIT"
] | 1 | 2021-12-27T19:14:03.000Z | 2021-12-27T19:14:03.000Z | hackathon/2010/brunsc/python_console/generated_code/XYZ.pypp.cpp | zzhmark/vaa3d_tools | 3ca418add85a59ac7e805d55a600b78330d7e53d | [
"MIT"
] | 1 | 2016-12-03T05:33:13.000Z | 2016-12-03T05:33:13.000Z | hackathon/2010/brunsc/python_console/generated_code/XYZ.pypp.cpp | zzhmark/vaa3d_tools | 3ca418add85a59ac7e805d55a600b78330d7e53d | [
"MIT"
] | null | null | null | // This file has been generated by Py++.
#include "boost/python.hpp"
#include "wrappable_v3d.h"
#include "XYZ.pypp.hpp"
namespace bp = boost::python;
void register_XYZ_class(){
{ //::XYZ
typedef bp::class_< XYZ > XYZ_exposer_t;
XYZ_exposer_t XYZ_exposer = XYZ_exposer_t( "XYZ", bp::init< float, f... | 38.8125 | 138 | 0.577295 | zzhmark |
ce0d97f633ecdd8be2aa58498f3fa5e3451bf73c | 16,600 | cc | C++ | test/helpers/tensor_index.cc | mcleary/SYCL-DNN | 059a265fc1c80e90ef2652e5c4fe698a5b34eefa | [
"Apache-2.0"
] | 85 | 2018-06-04T08:07:20.000Z | 2022-03-30T15:53:46.000Z | test/helpers/tensor_index.cc | mcleary/SYCL-DNN | 059a265fc1c80e90ef2652e5c4fe698a5b34eefa | [
"Apache-2.0"
] | 8 | 2019-07-19T11:10:43.000Z | 2021-02-05T10:18:49.000Z | test/helpers/tensor_index.cc | mcleary/SYCL-DNN | 059a265fc1c80e90ef2652e5c4fe698a5b34eefa | [
"Apache-2.0"
] | 19 | 2018-12-28T12:09:22.000Z | 2022-01-08T02:55:14.000Z | /*
* Copyright 2018 Codeplay Software Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ... | 52.201258 | 80 | 0.498012 | mcleary |
ce0fc12011a8abe155b51ff36f6b6a2fea948ce7 | 5,467 | hpp | C++ | oss_src/fault/sockets/async_reply_socket.hpp | parquette/ParFrame | 0522aa6afdf529b3e91505b70e918f1500aae886 | [
"BSD-3-Clause"
] | null | null | null | oss_src/fault/sockets/async_reply_socket.hpp | parquette/ParFrame | 0522aa6afdf529b3e91505b70e918f1500aae886 | [
"BSD-3-Clause"
] | null | null | null | oss_src/fault/sockets/async_reply_socket.hpp | parquette/ParFrame | 0522aa6afdf529b3e91505b70e918f1500aae886 | [
"BSD-3-Clause"
] | null | null | null | /**
* Copyright (C) 2015 Dato, Inc.
* All rights reserved.
*
* This software may be modified and distributed under the terms
* of the BSD license. See the LICENSE file for details.
*/
#ifndef FAULT_SOCKETS_ASYNC_REPLY_SOCKET_HPP
#define FAULT_SOCKETS_ASYNC_REPLY_SOCKET_HPP
#include <string>
#include <vector>
#inc... | 31.601156 | 88 | 0.706603 | parquette |
ce1345997058d80cdb45301f60fc09bfb681ee17 | 4,520 | cpp | C++ | thirdparty/geogram/src/lib/geogram/delaunay/delaunay_triangle.cpp | AmericaMakes/OASIS-marcwang | 7aa10040251d7a1b807a773a45d123e1a52faac5 | [
"BSD-2-Clause"
] | 1 | 2021-03-07T14:47:09.000Z | 2021-03-07T14:47:09.000Z | thirdparty/geogram/src/lib/geogram/delaunay/delaunay_triangle.cpp | AmericaMakes/OASIS-marcwang | 7aa10040251d7a1b807a773a45d123e1a52faac5 | [
"BSD-2-Clause"
] | null | null | null | thirdparty/geogram/src/lib/geogram/delaunay/delaunay_triangle.cpp | AmericaMakes/OASIS-marcwang | 7aa10040251d7a1b807a773a45d123e1a52faac5 | [
"BSD-2-Clause"
] | 1 | 2021-03-07T00:24:57.000Z | 2021-03-07T00:24:57.000Z | /*
* Copyright (c) 2012-2014, Bruno Levy
* 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 l... | 35.590551 | 87 | 0.665265 | AmericaMakes |
ce13799d4196663356f1ab747ecf17a5281bd70e | 1,682 | cpp | C++ | codeforces/div2/291/C/C.cpp | mathemage/CompetitiveProgramming | fe39017e3b017f9259f9c1e6385549270940be64 | [
"MIT"
] | 2 | 2015-08-18T09:51:19.000Z | 2019-01-29T03:18:10.000Z | codeforces/div2/291/C/C.cpp | mathemage/CompetitiveProgramming | fe39017e3b017f9259f9c1e6385549270940be64 | [
"MIT"
] | null | null | null | codeforces/div2/291/C/C.cpp | mathemage/CompetitiveProgramming | fe39017e3b017f9259f9c1e6385549270940be64 | [
"MIT"
] | null | null | null | /* ========================================
* File Name : C.cpp
* Creation Date : 14-02-2015
* Last Modified : Sat 14 Feb 2015 09:43:20 PM CET
* Created By : Karel Ha <mathemage@gmail.com>
* URL : http://codeforces.com/contest/514/problem/C
* Points Gained (in case of online contest) : unsubmitt... | 22.426667 | 142 | 0.476219 | mathemage |
ce166383e1c89655de44926c35f688ac7cc7e293 | 3,901 | cpp | C++ | SpatialGDK/Source/SpatialGDK/Private/EngineClasses/SpatialNetDriverAuthorityDebugger.cpp | cyberbibby/UnrealGDK | 9502a1ba11d21b3cb64978ba7ea178c63371cdd0 | [
"MIT"
] | null | null | null | SpatialGDK/Source/SpatialGDK/Private/EngineClasses/SpatialNetDriverAuthorityDebugger.cpp | cyberbibby/UnrealGDK | 9502a1ba11d21b3cb64978ba7ea178c63371cdd0 | [
"MIT"
] | null | null | null | SpatialGDK/Source/SpatialGDK/Private/EngineClasses/SpatialNetDriverAuthorityDebugger.cpp | cyberbibby/UnrealGDK | 9502a1ba11d21b3cb64978ba7ea178c63371cdd0 | [
"MIT"
] | null | null | null | // Copyright (c) Improbable Worlds Ltd, All Rights Reserved
#include "EngineClasses/SpatialNetDriverAuthorityDebugger.h"
#include "EngineClasses/SpatialNetDriver.h"
#include "EngineClasses/SpatialPackageMapClient.h"
#include "EngineClasses/SpatialShadowActor.h"
DEFINE_LOG_CATEGORY(LogSpatialNetDriverAuthorityDebugge... | 36.457944 | 122 | 0.791336 | cyberbibby |
ce1a15173a687edda0f5b453a829a4a73a26c0f2 | 428 | cpp | C++ | c++/containers/array.cpp | DevNaga/c_cpp_book | c08ac6c62a98c701d512ac432df77385b51af97b | [
"Apache-2.0"
] | 1 | 2020-11-25T02:06:23.000Z | 2020-11-25T02:06:23.000Z | c++/containers/array.cpp | madmax440/c_cpp_book | c08ac6c62a98c701d512ac432df77385b51af97b | [
"Apache-2.0"
] | null | null | null | c++/containers/array.cpp | madmax440/c_cpp_book | c08ac6c62a98c701d512ac432df77385b51af97b | [
"Apache-2.0"
] | null | null | null | /**
* Author Devendra Naga (devendra.aaru@gmail.com)
*
* License Apache
*/
#include <iostream>
#include <array>
int main()
{
std::array <int, 4> a;
int i;
for (i = 0; i < 4; i ++) {
a[i] = i;
}
std::array <int, 4> :: const_iterator it;
i = 0;
for (it = a.begin(); it != a.end(... | 15.285714 | 71 | 0.446262 | DevNaga |
ce1a17c9fdc8c602f409dbca93c81d8a9681109f | 2,856 | cpp | C++ | Final/Dataset/B2016_Z3_Z1/student3756.cpp | Team-PyRated/PyRated | 1df171c8a5a98977b7a96ee298a288314d1b1b96 | [
"MIT"
] | null | null | null | Final/Dataset/B2016_Z3_Z1/student3756.cpp | Team-PyRated/PyRated | 1df171c8a5a98977b7a96ee298a288314d1b1b96 | [
"MIT"
] | null | null | null | Final/Dataset/B2016_Z3_Z1/student3756.cpp | Team-PyRated/PyRated | 1df171c8a5a98977b7a96ee298a288314d1b1b96 | [
"MIT"
] | null | null | null | /B2016/2017: Zadaća 3, Zadatak 1
//Autotestovi by Enil Pajic (epajic1@etf.unsa.ba)
#include <iostream>
#include <vector>
#include <utility>
#include <cmath>
#include <functional>
double f(double x){
return (x*x)+std::sin(x);
}
double w(std::vector<std::pair<double,double>>v,const int d,int i){
... | 26.691589 | 134 | 0.518557 | Team-PyRated |
ce1bf0f7250af4b7e6bf59e946ee5d9892f34e80 | 4,452 | ipp | C++ | Siv3D/include/Siv3D/detail/Math.ipp | Siv3D/siv6 | 090e82b2f6398640638dfa43da3f829ba977d0e2 | [
"MIT"
] | 2 | 2020-07-26T05:14:33.000Z | 2020-08-11T08:00:54.000Z | Siv3D/include/Siv3D/detail/Math.ipp | Siv3D/siv6 | 090e82b2f6398640638dfa43da3f829ba977d0e2 | [
"MIT"
] | 6 | 2020-03-03T04:01:10.000Z | 2020-09-27T14:33:19.000Z | Siv3D/include/Siv3D/detail/Math.ipp | Siv3D/siv6 | 090e82b2f6398640638dfa43da3f829ba977d0e2 | [
"MIT"
] | 5 | 2020-03-03T03:34:27.000Z | 2020-09-05T18:42:55.000Z | //-----------------------------------------------
//
// This file is part of the Siv3D Engine.
//
// Copyright (c) 2008-2020 Ryo Suzuki
// Copyright (c) 2016-2020 OpenSiv3D Project
//
// Licensed under the MIT License.
//
//-----------------------------------------------
# pragma once
# define SIV3D_MATH_FUNCTION_XY... | 27.146341 | 84 | 0.504942 | Siv3D |
ce1d0372ff953d6de49db5fcc4289fed1d20e667 | 7,005 | cpp | C++ | tests/src/deviceLib/hipSimpleAtomicsTest.cpp | pzins/HIP | ab7e727fa241d998b9f2bca23b0d82dfb64c9a05 | [
"MIT"
] | 1 | 2021-12-15T15:09:07.000Z | 2021-12-15T15:09:07.000Z | tests/src/deviceLib/hipSimpleAtomicsTest.cpp | rahulmula/Gladiator_Hip | fcede25343a79f5005f5a4d88a8c0e41205dc08f | [
"MIT"
] | null | null | null | tests/src/deviceLib/hipSimpleAtomicsTest.cpp | rahulmula/Gladiator_Hip | fcede25343a79f5005f5a4d88a8c0e41205dc08f | [
"MIT"
] | 1 | 2019-07-04T00:48:48.000Z | 2019-07-04T00:48:48.000Z | /*
Copyright (c) 2015-2016 Advanced Micro Devices, Inc. All rights reserved.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, cop... | 23.585859 | 84 | 0.574732 | pzins |
ce1d54a40ddd0e8cc546a9f2ecc8fa162264d806 | 5,201 | cpp | C++ | aws-cpp-sdk-securityhub/source/model/ThreatIntelIndicatorType.cpp | curiousjgeorge/aws-sdk-cpp | 09b65deba03cfbef9a1e5d5986aa4de71bc03cd8 | [
"Apache-2.0"
] | 2 | 2019-03-11T15:50:55.000Z | 2020-02-27T11:40:27.000Z | aws-cpp-sdk-securityhub/source/model/ThreatIntelIndicatorType.cpp | curiousjgeorge/aws-sdk-cpp | 09b65deba03cfbef9a1e5d5986aa4de71bc03cd8 | [
"Apache-2.0"
] | null | null | null | aws-cpp-sdk-securityhub/source/model/ThreatIntelIndicatorType.cpp | curiousjgeorge/aws-sdk-cpp | 09b65deba03cfbef9a1e5d5986aa4de71bc03cd8 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | 36.118056 | 92 | 0.636032 | curiousjgeorge |
ce1ddf1248f50c71990b93df7d2138a926f360c1 | 821 | cpp | C++ | Competitive Programming/Day 34/SourceCode.cpp | pooja-gera/TheWireUsChallenge | 18abb5ff3fd31b7dbfef41b8008f91d3fac029d3 | [
"MIT"
] | null | null | null | Competitive Programming/Day 34/SourceCode.cpp | pooja-gera/TheWireUsChallenge | 18abb5ff3fd31b7dbfef41b8008f91d3fac029d3 | [
"MIT"
] | null | null | null | Competitive Programming/Day 34/SourceCode.cpp | pooja-gera/TheWireUsChallenge | 18abb5ff3fd31b7dbfef41b8008f91d3fac029d3 | [
"MIT"
] | 1 | 2021-05-21T09:30:41.000Z | 2021-05-21T09:30:41.000Z | #include <iostream>
using namespace std;
int main() {
int t;
cin>>t;
while( t-- )
{ int n ;
int a[1000];
int count[1001];
for( int i = 1 ; i <= 1000 ; i++ )
count[i] = 0 ;
cin>>n;
for( int i = 0 ; i < n ; i++)
{ cin>>a[i];
count[a[i]]++;
}
if( n < 4 )
... | 20.02439 | 42 | 0.336175 | pooja-gera |
ce1f2cc4786ee904811e2ebfb3bbad3b03e85c33 | 1,245 | hpp | C++ | include/boost/simd/function/cosd.hpp | yaeldarmon/boost.simd | 561316cc54bdc6353ca78f3b6d7e9120acd11144 | [
"BSL-1.0"
] | null | null | null | include/boost/simd/function/cosd.hpp | yaeldarmon/boost.simd | 561316cc54bdc6353ca78f3b6d7e9120acd11144 | [
"BSL-1.0"
] | null | null | null | include/boost/simd/function/cosd.hpp | yaeldarmon/boost.simd | 561316cc54bdc6353ca78f3b6d7e9120acd11144 | [
"BSL-1.0"
] | null | null | null | //==================================================================================================
/*!
@file
@copyright 2016 NumScale SAS
@copyright 2016 J.T. Lapreste
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
... | 21.465517 | 100 | 0.578313 | yaeldarmon |
ce2158f93c4cbf503350cd1316b4b09ce66e2cfb | 2,827 | cc | C++ | lib/src/facts/linux/disk_resolver.cc | whopper/cfacter | f489f62e19a161e2d909199aebd896e323dac0e8 | [
"Apache-2.0"
] | null | null | null | lib/src/facts/linux/disk_resolver.cc | whopper/cfacter | f489f62e19a161e2d909199aebd896e323dac0e8 | [
"Apache-2.0"
] | null | null | null | lib/src/facts/linux/disk_resolver.cc | whopper/cfacter | f489f62e19a161e2d909199aebd896e323dac0e8 | [
"Apache-2.0"
] | null | null | null | #include <facter/facts/linux/disk_resolver.hpp>
#include <facter/logging/logging.hpp>
#include <facter/util/file.hpp>
#include <facter/util/directory.hpp>
#include <boost/lexical_cast.hpp>
#include <boost/filesystem.hpp>
#include <boost/algorithm/string.hpp>
using namespace std;
using namespace facter::util;
using nam... | 33.258824 | 103 | 0.591793 | whopper |
ce24fce1b43c0a2a12db333d20be28e760da996f | 2,340 | cc | C++ | libtransport/src/protocols/reassembly.cc | srene/hicn | 354f916b5ec7a2b7d63d29d9019fc3e7fa2d1b89 | [
"Apache-2.0"
] | 47 | 2019-02-18T13:54:34.000Z | 2022-03-03T04:46:50.000Z | libtransport/src/protocols/reassembly.cc | srene/hicn | 354f916b5ec7a2b7d63d29d9019fc3e7fa2d1b89 | [
"Apache-2.0"
] | 1 | 2019-09-09T09:14:43.000Z | 2019-09-09T09:14:43.000Z | libtransport/src/protocols/reassembly.cc | srene/hicn | 354f916b5ec7a2b7d63d29d9019fc3e7fa2d1b89 | [
"Apache-2.0"
] | 28 | 2019-02-22T17:40:03.000Z | 2021-08-18T02:39:40.000Z | /*
* Copyright (c) 2017-2019 Cisco and/or its affiliates.
* 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 appl... | 32.5 | 75 | 0.714103 | srene |
ce265d5b157d721ebc003a1905e55cfbaa3b5886 | 7,289 | cpp | C++ | tests/eig17.cpp | tweber-ill/ill_mirror-takin2-tlibs2 | 669fd34c306625fd306da278a5b29fb6aae16a87 | [
"BSD-3-Clause-Open-MPI"
] | null | null | null | tests/eig17.cpp | tweber-ill/ill_mirror-takin2-tlibs2 | 669fd34c306625fd306da278a5b29fb6aae16a87 | [
"BSD-3-Clause-Open-MPI"
] | null | null | null | tests/eig17.cpp | tweber-ill/ill_mirror-takin2-tlibs2 | 669fd34c306625fd306da278a5b29fb6aae16a87 | [
"BSD-3-Clause-Open-MPI"
] | 1 | 2021-09-20T19:30:13.000Z | 2021-09-20T19:30:13.000Z | /**
* test eigensystem calculation
* @author Tobias Weber <tweber@ill.fr>
* @date 11-aug-20
* @license GPLv3, see 'LICENSE' file
*
* g++ -std=c++17 -DUSE_LAPACK -I.. -I/usr/include/lapacke -Iext/lapacke/include -Lext/lapacke/lib -o eig17 eig17.cpp ../libs/log.cpp -llapacke
*
* ----------------------------------... | 28.142857 | 143 | 0.619289 | tweber-ill |
ce283973201ba5108e758cca0aa51a144fdc600c | 265 | cpp | C++ | src/CellularAutomaton.cpp | MaxMutantMayer/wolfram_r184 | 3ba55e4c10f071384dc174d348d0556c4f462688 | [
"MIT"
] | null | null | null | src/CellularAutomaton.cpp | MaxMutantMayer/wolfram_r184 | 3ba55e4c10f071384dc174d348d0556c4f462688 | [
"MIT"
] | null | null | null | src/CellularAutomaton.cpp | MaxMutantMayer/wolfram_r184 | 3ba55e4c10f071384dc174d348d0556c4f462688 | [
"MIT"
] | null | null | null | #include "CellularAutomaton.hpp"
namespace wolfram_r184
{
void CellularAutomaton::Run(size_t numberOfTransitions)
{
m_grid.Print();
for (size_t i = 0; i < numberOfTransitions; ++i)
{
m_grid.DoTransition();
m_grid.Print();
}
}
} // namespace wolfram_r184
| 15.588235 | 55 | 0.716981 | MaxMutantMayer |