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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0bd05c938bd58b39c11485a86c4303f5565d118f | 539 | cpp | C++ | designpattern/mvc/mvc/src/mvc/model.cpp | bg1bgst333/Sample | 68e3a5c26c6d9bc1906ce0cca2fd586f0790fa52 | [
"MIT"
] | 9 | 2016-12-22T20:24:09.000Z | 2021-05-08T08:48:24.000Z | designpattern/mvc/mvc/src/mvc/model.cpp | bg1bgst333/Sample | 68e3a5c26c6d9bc1906ce0cca2fd586f0790fa52 | [
"MIT"
] | 36 | 2018-08-16T06:43:36.000Z | 2022-03-25T19:01:34.000Z | designpattern/mvc/mvc/src/mvc/model.cpp | bg1bgst333/Sample | 68e3a5c26c6d9bc1906ce0cca2fd586f0790fa52 | [
"MIT"
] | 9 | 2016-09-03T02:57:31.000Z | 2021-09-09T02:42:26.000Z | // 既定のヘッダ
#include <iostream> // C++標準入出力
// 独自のヘッダ
#include "model.h" // class_model
// メンバの定義
// メンバ関数set_observer
void class_model::set_observer(interface_observer *observer){
// メンバにセット.
observer_ = observer; // observer_にobserverをセット.
observer_->set_subject(this); // observer_->set_subjectで自身(this)をセットすること... | 20.730769 | 95 | 0.705009 | bg1bgst333 |
0bd39c5cf06f01ba1df7246af22c7859405ea451 | 45 | cc | C++ | lib/colour/Colour.cc | westrik/millipede | b2049b9333c1888e75fb8688a24be35f5724ac4d | [
"MIT"
] | 1 | 2020-11-12T08:26:55.000Z | 2020-11-12T08:26:55.000Z | lib/colour/Colour.cc | westrik/millipede | b2049b9333c1888e75fb8688a24be35f5724ac4d | [
"MIT"
] | null | null | null | lib/colour/Colour.cc | westrik/millipede | b2049b9333c1888e75fb8688a24be35f5724ac4d | [
"MIT"
] | null | null | null | #include "Colour.h"
namespace Millipede {
} | 9 | 21 | 0.711111 | westrik |
0bd5c65c9b335cfdcb2e438a1681dd1cc1084754 | 3,657 | cpp | C++ | leetcode/cpp/003_longest_substring_without_repeating_characters.cpp | qiaotian/CodeInterview | 294c1ba86d8ace41a121c5ada4ba4c3765ccc17d | [
"WTFPL"
] | 5 | 2016-10-29T09:28:11.000Z | 2019-10-19T23:02:48.000Z | leetcode/cpp/003_longest_substring_without_repeating_characters.cpp | qiaotian/CodeInterview | 294c1ba86d8ace41a121c5ada4ba4c3765ccc17d | [
"WTFPL"
] | null | null | null | leetcode/cpp/003_longest_substring_without_repeating_characters.cpp | qiaotian/CodeInterview | 294c1ba86d8ace41a121c5ada4ba4c3765ccc17d | [
"WTFPL"
] | null | null | null | /*
Given a string, find the length of the longest substring without repeating characters.
Examples:
Given "abcabcbb", the answer is "abc", which the length is 3.
Given "bbbbb", the answer is "b", with the length of 1.
Given "pwwkew", the answer is "wke", with the length of 3. Note that the answer must be a substring,... | 31.8 | 158 | 0.449549 | qiaotian |
0bdc848c91d9cb7b9c11d16e5b89a35082e46987 | 29,229 | cpp | C++ | TransShiftMex/lpc_formant.cpp | 084/audapter_mex | d01df787e860062fd3360e533f3ecd5104d034a9 | [
"Apache-2.0"
] | 7 | 2015-10-26T19:44:08.000Z | 2021-03-24T02:19:41.000Z | TransShiftMex/lpc_formant.cpp | 084/audapter_mex | d01df787e860062fd3360e533f3ecd5104d034a9 | [
"Apache-2.0"
] | 5 | 2016-07-13T15:23:52.000Z | 2021-07-08T18:13:46.000Z | TransShiftMex/lpc_formant.cpp | 084/audapter_mex | d01df787e860062fd3360e533f3ecd5104d034a9 | [
"Apache-2.0"
] | 13 | 2018-06-26T01:09:16.000Z | 2021-09-03T12:06:20.000Z | /*
lpc_formant.cpp
Linear prediction and formant tracking
Shanqing Cai 12/2013
*/
#include <algorithm>
#include <cmath>
#include <vector>
#include "mex.h"
#include "lpc_formant.h"
#include "DSPF.h"
/* Utility inline functions */
inline dtype mul_sign(const dtype &a, const dtype &b) {
return (b >= 0.0 ? fabs... | 28.543945 | 175 | 0.533203 | 084 |
0bdcba48167abd60cf2d47c88ae6aa54b2fb565c | 22,443 | hpp | C++ | lib/mtl4/boost/numeric/mtl/interface/umfpack_solve.hpp | spraetor/amdis2 | 53c45c81a65752a8fafbb54f9ae6724a86639dcd | [
"MIT"
] | 2 | 2018-07-04T16:44:04.000Z | 2021-01-03T07:26:27.000Z | lib/mtl4/boost/numeric/mtl/interface/umfpack_solve.hpp | spraetor/amdis2 | 53c45c81a65752a8fafbb54f9ae6724a86639dcd | [
"MIT"
] | null | null | null | lib/mtl4/boost/numeric/mtl/interface/umfpack_solve.hpp | spraetor/amdis2 | 53c45c81a65752a8fafbb54f9ae6724a86639dcd | [
"MIT"
] | null | null | null | // Software License for MTL
//
// Copyright (c) 2007 The Trustees of Indiana University.
// 2008 Dresden University of Technology and the Trustees of Indiana University.
// 2010 SimuNova UG (haftungsbeschränkt), www.simunova.com.
// All rights reserved.
// Authors: Peter Gottschling and Andr... | 39.512324 | 142 | 0.648666 | spraetor |
0bdd832726dc6ddca7ecb83a5d60cac34c516680 | 1,161 | cpp | C++ | misc/test/mmaptest.cpp | warsier/nstore | 0959cba2c68cddab490fd9ded3a92a6baa0cd6fa | [
"BSD-3-Clause"
] | 23 | 2016-10-07T11:13:45.000Z | 2022-01-18T06:51:04.000Z | misc/test/mmaptest.cpp | warsier/nstore | 0959cba2c68cddab490fd9ded3a92a6baa0cd6fa | [
"BSD-3-Clause"
] | null | null | null | misc/test/mmaptest.cpp | warsier/nstore | 0959cba2c68cddab490fd9ded3a92a6baa0cd6fa | [
"BSD-3-Clause"
] | 9 | 2017-07-23T03:39:50.000Z | 2022-03-30T11:46:17.000Z | #include <stdio.h>
#include <stdlib.h>
#include <fcntl.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/mman.h>
#include <sys/stat.h>
#include <errno.h>
int main(int argc, char *argv[]) {
int fd, offset;
char *data;
struct stat sbuf;
if (argc != 1) {
fprintf(stderr, "usage: mmapdemo \n");
e... | 17.861538 | 78 | 0.540913 | warsier |
0be0b0f10e7706f7566e7ada6953dab84a2fee9e | 1,676 | cpp | C++ | Engine/nvImage/src/nvImageHdr.cpp | ansel86castro/Igneel | 7a1e6c81e18326aff78be97cc4321f3a610481ff | [
"Apache-2.0"
] | 8 | 2017-03-08T20:20:13.000Z | 2021-12-12T20:20:07.000Z | Engine/nvImage/src/nvImageHdr.cpp | ansel86castro/Igneel | 7a1e6c81e18326aff78be97cc4321f3a610481ff | [
"Apache-2.0"
] | null | null | null | Engine/nvImage/src/nvImageHdr.cpp | ansel86castro/Igneel | 7a1e6c81e18326aff78be97cc4321f3a610481ff | [
"Apache-2.0"
] | 4 | 2018-09-28T15:45:08.000Z | 2021-03-22T17:15:46.000Z | //
// nvImageHdr.cpp - Image support class
//
// The nvImage class implements an interface for a multipurpose image
// object. This class is useful for loading and formating images
// for use as textures. The class supports dds, png, and hdr formats.
//
// This file implements the HDR specific functionality.
//
// Auth... | 21.766234 | 80 | 0.563842 | ansel86castro |
0be1223ac789454d04643ea4363650c9fd64c2d2 | 4,467 | cpp | C++ | tf2_src/hammer/MapDiffDlg.cpp | IamIndeedGamingAsHardAsICan03489/TeamFortress2 | 1b81dded673d49adebf4d0958e52236ecc28a956 | [
"MIT"
] | 4 | 2021-10-03T05:16:55.000Z | 2021-12-28T16:49:27.000Z | src/hammer/MapDiffDlg.cpp | cafeed28/what | 08e51d077f0eae50afe3b592543ffa07538126f5 | [
"Unlicense"
] | null | null | null | src/hammer/MapDiffDlg.cpp | cafeed28/what | 08e51d077f0eae50afe3b592543ffa07538126f5 | [
"Unlicense"
] | 3 | 2022-02-02T18:09:58.000Z | 2022-03-06T18:54:39.000Z | //========= Copyright Valve Corporation, All rights reserved. ============//
// MapDiffDlg.cpp : implementation file
//
#include "stdafx.h"
#include "GlobalFunctions.h"
#include "History.h"
#include "MainFrm.h"
#include "MapDiffDlg.h"
#include "MapDoc.h"
#include "MapEntity.h"
#include "MapSolid.h"
#include "MapView2D.... | 25.820809 | 240 | 0.670025 | IamIndeedGamingAsHardAsICan03489 |
0be12afc1cd459e68d697162fd7960a35b011dd9 | 1,155 | cpp | C++ | Data_Structures/Linked_list/insert_circularLL.cpp | SouvikSSG/C-Programming | e5ae8b4b0ab0ca39532ed4d25e1d997b793f669c | [
"Apache-2.0"
] | null | null | null | Data_Structures/Linked_list/insert_circularLL.cpp | SouvikSSG/C-Programming | e5ae8b4b0ab0ca39532ed4d25e1d997b793f669c | [
"Apache-2.0"
] | null | null | null | Data_Structures/Linked_list/insert_circularLL.cpp | SouvikSSG/C-Programming | e5ae8b4b0ab0ca39532ed4d25e1d997b793f669c | [
"Apache-2.0"
] | null | null | null | #include "headers/create_circular_LLcpp.h"
#include <iostream>
node *linkedList::InsertCLL(struct node *ptr) {
int x, index;
std::cout << "Enter an index and data to insert respectively: ";
std::cin >> index >> x;
if (index < 0 || index > CountCLL(ptr)) {
std::cout << "Invalid index. Unable to in... | 24.574468 | 67 | 0.547186 | SouvikSSG |
0be3898d6529a68c3dd1a023bf1f2809a12160f3 | 6,246 | cpp | C++ | Lux/MainPage.cpp | axodox/Lux | 00e8da582233ab4ecf22d773e647c9bd84eb7b32 | [
"MIT"
] | 9 | 2020-11-30T01:13:25.000Z | 2022-03-14T15:17:44.000Z | Lux/MainPage.cpp | axodox/Lux | 00e8da582233ab4ecf22d773e647c9bd84eb7b32 | [
"MIT"
] | 1 | 2020-11-30T15:45:27.000Z | 2021-02-17T22:11:14.000Z | Lux/MainPage.cpp | axodox/Lux | 00e8da582233ab4ecf22d773e647c9bd84eb7b32 | [
"MIT"
] | 1 | 2021-02-15T22:17:37.000Z | 2021-02-15T22:17:37.000Z | #include "pch.h"
#include "MainPage.h"
#include "MainPage.g.cpp"
#include "DeviceSettings.h"
#include "DependencyConfiguration.h"
#include "ThreadName.h"
using namespace ::Lux;
using namespace ::Lux::Events;
using namespace ::Lux::Observable;
using namespace ::Lux::Graphics;
using namespace ::Lux::Configuration;
usin... | 31.074627 | 162 | 0.715818 | axodox |
0be7c665e83cc7532588799e82587b42fe43128e | 650 | cpp | C++ | Breakout/Server/CommandConstants.cpp | woliveirax/SO2_Breakout | 15d964acaca0b163ffd44eea446cea304c88c31c | [
"MIT"
] | 1 | 2021-11-03T19:24:23.000Z | 2021-11-03T19:24:23.000Z | Breakout/Server/CommandConstants.cpp | anafalves/SO2_Breakout | 15d964acaca0b163ffd44eea446cea304c88c31c | [
"MIT"
] | null | null | null | Breakout/Server/CommandConstants.cpp | anafalves/SO2_Breakout | 15d964acaca0b163ffd44eea446cea304c88c31c | [
"MIT"
] | 2 | 2020-09-04T16:54:09.000Z | 2021-05-16T22:21:30.000Z | #include "CommandConstants.h"
const tstring CommandConstants::bonusDropRate = TEXT("chance_bonus");
const tstring CommandConstants::levelCount = TEXT("nlevels");
const tstring CommandConstants::maxLives = TEXT("vidas_ini");
const tstring CommandConstants::movementSpeed = TEXT("velocidade_movimento");
const tst... | 59.090909 | 78 | 0.784615 | woliveirax |
0be82666b248c05ec8a49f0226b8f0e4d1dd5749 | 1,414 | cpp | C++ | fistr1/tools/neu2fstr/HECD/CHECDB_Amplitude.cpp | tkoyama010/FrontISTR | 2ce1f0425b87df76261c86ddb93bb4b588f72718 | [
"MIT"
] | null | null | null | fistr1/tools/neu2fstr/HECD/CHECDB_Amplitude.cpp | tkoyama010/FrontISTR | 2ce1f0425b87df76261c86ddb93bb4b588f72718 | [
"MIT"
] | null | null | null | fistr1/tools/neu2fstr/HECD/CHECDB_Amplitude.cpp | tkoyama010/FrontISTR | 2ce1f0425b87df76261c86ddb93bb4b588f72718 | [
"MIT"
] | null | null | null | /*****************************************************************************
* Copyright (c) 2016 The University of Tokyo
* This software is released under the MIT License, see LICENSE.txt
*****************************************************************************/
/*
CHECDB_Amplitude Ver.1.0
*/
#include "CHE... | 26.679245 | 80 | 0.571429 | tkoyama010 |
0be8ac1c160e42e43740fcffc6bac14b3c4cc920 | 130 | cpp | C++ | src/drivers/uavcan/uavcan_servers.cpp | Diksha-agg/Firmware_val | 1efc1ba06997d19df3ed9bd927cfb24401b0fe03 | [
"BSD-3-Clause"
] | null | null | null | src/drivers/uavcan/uavcan_servers.cpp | Diksha-agg/Firmware_val | 1efc1ba06997d19df3ed9bd927cfb24401b0fe03 | [
"BSD-3-Clause"
] | null | null | null | src/drivers/uavcan/uavcan_servers.cpp | Diksha-agg/Firmware_val | 1efc1ba06997d19df3ed9bd927cfb24401b0fe03 | [
"BSD-3-Clause"
] | null | null | null | version https://git-lfs.github.com/spec/v1
oid sha256:e684b09136ca6c7639d0daeee71deb8ac30ebb9f0a33ca01c127846e8fce807a
size 38788
| 32.5 | 75 | 0.884615 | Diksha-agg |
0be8ba93767d692410957a05128a899a7f442745 | 5,102 | hpp | C++ | include/net.hpp | EntireTwix/Ruminate | 0f40bd78d9cec4c0b52b480495699a0cece11a54 | [
"MIT"
] | 12 | 2020-10-30T20:57:55.000Z | 2021-05-06T22:10:45.000Z | include/net.hpp | EntireTwix/Ruminate | 0f40bd78d9cec4c0b52b480495699a0cece11a54 | [
"MIT"
] | 2 | 2020-12-04T04:12:52.000Z | 2021-03-13T08:28:53.000Z | include/net.hpp | EntireTwix/Ruminate | 0f40bd78d9cec4c0b52b480495699a0cece11a54 | [
"MIT"
] | 3 | 2020-11-04T23:17:47.000Z | 2020-12-04T23:36:47.000Z | #pragma once
#include <string>
#include <numeric>
#include "layers.hpp"
namespace rum
{
template <Matrix M>
class NeuralNetwork
{
private:
Layer<M> **layers = nullptr;
const uint_fast8_t sz;
public:
NeuralNetwork() noexcept = delete;
template <typename... Params>
... | 32.705128 | 116 | 0.48138 | EntireTwix |
0be9131f820914d5ab7ac523350750983eff795c | 183 | hpp | C++ | Runtime/MP1/CInGameTweakManager.hpp | jackoalan/urde | 413483a996805a870f002324ee46cfc123f4df06 | [
"MIT"
] | 1 | 2020-06-09T07:49:34.000Z | 2020-06-09T07:49:34.000Z | Runtime/MP1/CInGameTweakManager.hpp | jackoalan/urde | 413483a996805a870f002324ee46cfc123f4df06 | [
"MIT"
] | 6 | 2020-06-09T07:49:45.000Z | 2021-04-06T22:19:57.000Z | Runtime/MP1/CInGameTweakManager.hpp | jackoalan/urde | 413483a996805a870f002324ee46cfc123f4df06 | [
"MIT"
] | null | null | null | #pragma once
#include "Runtime/CInGameTweakManagerBase.hpp"
namespace urde::MP1 {
class CInGameTweakManager : public CInGameTweakManagerBase {
public:
};
} // namespace urde::MP1
| 15.25 | 60 | 0.770492 | jackoalan |
0bf11cafdf2894d63ea8a59ff15ff677da72ebb5 | 2,498 | hh | C++ | extern/glow-extras/viewer/glow-extras/viewer/aabb.hh | rovedit/Fort-Candle | 445fb94852df56c279c71b95c820500e7fb33cf7 | [
"MIT"
] | null | null | null | extern/glow-extras/viewer/glow-extras/viewer/aabb.hh | rovedit/Fort-Candle | 445fb94852df56c279c71b95c820500e7fb33cf7 | [
"MIT"
] | null | null | null | extern/glow-extras/viewer/glow-extras/viewer/aabb.hh | rovedit/Fort-Candle | 445fb94852df56c279c71b95c820500e7fb33cf7 | [
"MIT"
] | null | null | null | #pragma once
#include <initializer_list>
#include <sstream>
#include <string>
#include <typed-geometry/tg-std.hh>
#include <glow/common/log.hh>
namespace glow
{
namespace viewer
{
struct aabb
{
// member
public:
tg::pos3 min = tg::pos3(std::numeric_limits<tg::f32>::max());
tg::pos3 max = tg::pos3(std::n... | 23.790476 | 103 | 0.598078 | rovedit |
0bf3433c99a4ac6c853be5e75731b108d0b19952 | 576 | cpp | C++ | code/framework/src/instigation.cpp | Feupos/utfprct-tex | 8ed2994fd907e3bef93d5f734d58731cd0ef64e2 | [
"LPPL-1.3c"
] | null | null | null | code/framework/src/instigation.cpp | Feupos/utfprct-tex | 8ed2994fd907e3bef93d5f734d58731cd0ef64e2 | [
"LPPL-1.3c"
] | null | null | null | code/framework/src/instigation.cpp | Feupos/utfprct-tex | 8ed2994fd907e3bef93d5f734d58731cd0ef64e2 | [
"LPPL-1.3c"
] | null | null | null | #include "libnop/instigation.h"
#include <execution>
namespace NOP
{
void Instigation::AddMethod(Method method)
{
methods_.insert(methods_.end(), std::move(method));
}
void Instigation::Instigate()
{
LOG(this, "Instigated");
for (const auto& method : methods_)
{
method();
... | 19.862069 | 63 | 0.578125 | Feupos |
0bf7071a706170648877edd995042c748041738e | 4,029 | hpp | C++ | src/common/utilities/initializehelper.hpp | squeevee/Addle | 20ec4335669fbd88d36742f586899d8416920959 | [
"MIT"
] | 3 | 2020-03-05T06:36:51.000Z | 2020-06-20T03:25:02.000Z | src/common/utilities/initializehelper.hpp | squeevee/Addle | 20ec4335669fbd88d36742f586899d8416920959 | [
"MIT"
] | 13 | 2020-03-11T17:43:42.000Z | 2020-12-11T03:36:05.000Z | src/common/utilities/initializehelper.hpp | squeevee/Addle | 20ec4335669fbd88d36742f586899d8416920959 | [
"MIT"
] | 1 | 2020-09-28T06:53:46.000Z | 2020-09-28T06:53:46.000Z | /**
* Addle source code
* @file
* @copyright Copyright 2020 Eleanor Hawk
* @copyright Modification and distribution permitted under the terms of the
* MIT License. See "LICENSE" for full details.
*/
#ifndef INITIALIZEHELPER_HPP
#define INITIALIZEHELPER_HPP
#include <QObject>
#include <typeinfo>
#include <type_t... | 27.979167 | 101 | 0.692728 | squeevee |
0bf9b05fedd901d57b0f3f13aa31c8552de5856f | 667 | hh | C++ | Rowset.hh | shuLhan/libvos | 831491b197fa8f267fd94966d406596896e6f25c | [
"BSD-3-Clause"
] | 1 | 2017-09-14T13:31:16.000Z | 2017-09-14T13:31:16.000Z | Rowset.hh | shuLhan/libvos | 831491b197fa8f267fd94966d406596896e6f25c | [
"BSD-3-Clause"
] | null | null | null | Rowset.hh | shuLhan/libvos | 831491b197fa8f267fd94966d406596896e6f25c | [
"BSD-3-Clause"
] | 5 | 2015-04-11T02:59:06.000Z | 2021-03-03T19:45:39.000Z | //
// Copyright 2009-2016 M. Shulhan (ms@kilabit.info). All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
#ifndef _LIBVOS_ROWSET_HH
#define _LIBVOS_ROWSET_HH 1
#include "List.hh"
namespace vos {
//
// class Rowset define a list of row.
//... | 18.527778 | 73 | 0.701649 | shuLhan |
0bfa1c6a82258463a0c97b516169b5b236b054c8 | 1,296 | hpp | C++ | modules/math/source/blub/math/ray.hpp | qwertzui11/voxelTerrain | 05038fb261893dd044ae82fab96b7708ea5ed623 | [
"MIT"
] | 96 | 2015-02-02T20:01:24.000Z | 2021-11-14T20:33:29.000Z | modules/math/source/blub/math/ray.hpp | qwertzui11/voxelTerrain | 05038fb261893dd044ae82fab96b7708ea5ed623 | [
"MIT"
] | 12 | 2016-06-04T15:45:30.000Z | 2020-02-04T11:10:51.000Z | modules/math/source/blub/math/ray.hpp | qwertzui11/voxelTerrain | 05038fb261893dd044ae82fab96b7708ea5ed623 | [
"MIT"
] | 19 | 2015-09-22T01:21:45.000Z | 2020-09-30T09:52:27.000Z | #ifndef LINE_HPP
#define LINE_HPP
#include "blub/math/vector3.hpp"
namespace Ogre
{
class Ray;
}
namespace blub
{
class ray
{
public:
#ifndef BLUB_NO_OGRE3D
ray(const Ogre::Ray &vec);
operator Ogre::Ray() const;
#endif
ray():mOrigin(vector3::ZERO), mDirection(vector3::UNIT_Z) {}
ray(const vec... | 21.966102 | 92 | 0.652778 | qwertzui11 |
0bfcfa7e7e86b593c2ef6719b0fa63bed6de57b9 | 2,550 | hpp | C++ | include/boost/spirit/fusion/sequence/detail/trsfrm_view_begin_end_trts.hpp | dstrigl/mcotf | 92a9caf6173b1241a2f9ed45cd379469762b7178 | [
"BSL-1.0"
] | 93 | 2015-11-20T04:13:36.000Z | 2022-03-24T00:03:08.000Z | include/boost/spirit/fusion/sequence/detail/trsfrm_view_begin_end_trts.hpp | dstrigl/mcotf | 92a9caf6173b1241a2f9ed45cd379469762b7178 | [
"BSL-1.0"
] | 206 | 2015-11-09T00:27:15.000Z | 2021-12-04T19:05:18.000Z | include/boost/spirit/fusion/sequence/detail/trsfrm_view_begin_end_trts.hpp | dstrigl/mcotf | 92a9caf6173b1241a2f9ed45cd379469762b7178 | [
"BSL-1.0"
] | 117 | 2015-11-08T02:43:46.000Z | 2022-02-12T06:29:00.000Z | /*=============================================================================
Copyright (c) 2003 Joel de Guzman
Use, modification and distribution is subject to 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)
=====... | 28.651685 | 82 | 0.548235 | dstrigl |
0bfd1c83aa7807ce32bba2a0982ee857401268bb | 2,535 | cc | C++ | numpy/linalg/inv.cc | IntelPython/optimizations_bench | e6f28e528187f9b42df1830ffcfb3b20f2545f6a | [
"MIT"
] | 3 | 2017-05-10T11:09:17.000Z | 2019-05-14T14:04:19.000Z | numpy/linalg/inv.cc | IntelPython/optimizations_bench | e6f28e528187f9b42df1830ffcfb3b20f2545f6a | [
"MIT"
] | 4 | 2017-04-15T12:03:23.000Z | 2019-07-25T18:01:57.000Z | numpy/linalg/inv.cc | IntelPython/optimizations_bench | e6f28e528187f9b42df1830ffcfb3b20f2545f6a | [
"MIT"
] | 4 | 2017-04-15T12:07:42.000Z | 2020-04-16T01:36:19.000Z | /*
* Copyright (C) 2016, 2019 Intel Corporation
*
* SPDX-License-Identifier: MIT
*/
#include "inv.h"
#include <cstring>
#include <iostream>
static const int test_size = 5;
Inv::Inv() {
x_mat = 0;
x_mat_init = 0;
ipiv = 0;
}
void Inv::clean_args() {
if (ipiv)
mkl_free(ipiv);
if (x_mat... | 21.125 | 77 | 0.536884 | IntelPython |
0bff6c1add4ac634e906b20584fb1b78a1b1776c | 32,043 | cpp | C++ | rssavers-0.2/src/Flux/Flux.cpp | NickPepper/MacScreensavers | 088625b06b123adcb61c7e9e1adc4415dda66a59 | [
"MIT"
] | 3 | 2017-08-13T14:47:57.000Z | 2020-03-02T06:48:29.000Z | rssavers-0.2/src/Flux/Flux.cpp | NickPepper/MacScreensavers | 088625b06b123adcb61c7e9e1adc4415dda66a59 | [
"MIT"
] | 1 | 2018-09-19T14:14:54.000Z | 2018-09-26T22:35:03.000Z | rssavers-0.2/src/Flux/Flux.cpp | NickPepper/MacScreensavers | 088625b06b123adcb61c7e9e1adc4415dda66a59 | [
"MIT"
] | 1 | 2018-09-19T14:13:55.000Z | 2018-09-19T14:13:55.000Z | /*
* Copyright (C) 1999-2010 Terence M. Welsh
*
* This file is part of Flux.
*
* Flux is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published
* by the Free Software Foundation; either version 2 of the License,
* or (at your option) any later v... | 28.971971 | 123 | 0.681334 | NickPepper |
0400720c40240e32520f31fa769cd744bb446c1b | 2,812 | cpp | C++ | src/ngraph/pass/dump_sorted.cpp | magrawal128/ngraph | ca911487d1eadfe6ec66dbe3da6f05cee3645b24 | [
"Apache-2.0"
] | 1 | 2020-04-28T22:50:33.000Z | 2020-04-28T22:50:33.000Z | src/ngraph/pass/dump_sorted.cpp | biswajitcsecu/ngraph | d6bff37d7968922ef81f3bed63379e849fcf3b45 | [
"Apache-2.0"
] | 1 | 2019-02-20T20:56:47.000Z | 2019-02-22T20:10:28.000Z | src/ngraph/pass/dump_sorted.cpp | biswajitcsecu/ngraph | d6bff37d7968922ef81f3bed63379e849fcf3b45 | [
"Apache-2.0"
] | null | null | null | //*****************************************************************************
// Copyright 2017-2019 Intel Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://w... | 36.051282 | 93 | 0.448791 | magrawal128 |
0402ae3480bcdf1e980db3b3f22209d578338540 | 384 | cpp | C++ | AnimationProgramming/src/AnimationProgramming.cpp | Hukunaa/Animation_Programming | b48834a70e79d2bf5a2761c03af042ba0e76ff11 | [
"MIT"
] | null | null | null | AnimationProgramming/src/AnimationProgramming.cpp | Hukunaa/Animation_Programming | b48834a70e79d2bf5a2761c03af042ba0e76ff11 | [
"MIT"
] | null | null | null | AnimationProgramming/src/AnimationProgramming.cpp | Hukunaa/Animation_Programming | b48834a70e79d2bf5a2761c03af042ba0e76ff11 | [
"MIT"
] | null | null | null | // AnimationProgramming.cpp : Defines the entry point for the console application.
//
#include <iostream>
#include "stdafx.h"
#include "Engine.h"
#include "Simulation.h"
#include <Animation.h>
int main()
{
Animation anim;
//IF IT CRASHES HERE, RESTART THE PROGRAM
Run(&anim, 1400, 800);
//IF IT CRASHES ... | 17.454545 | 82 | 0.679688 | Hukunaa |
0407753fbffec5323acf3cf0b815d67ba3daa2bc | 921 | c++ | C++ | .metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/Programming World/c++samples/array.c++ | surajgupta1288/E-programming | 914781f899e376d379bfecae0538cdfc02e4b2c6 | [
"MIT"
] | 1 | 2020-05-23T15:29:44.000Z | 2020-05-23T15:29:44.000Z | Programming World/WebContent/c++samples/array.c++ | surajgupta1288/E-programming | 914781f899e376d379bfecae0538cdfc02e4b2c6 | [
"MIT"
] | null | null | null | Programming World/WebContent/c++samples/array.c++ | surajgupta1288/E-programming | 914781f899e376d379bfecae0538cdfc02e4b2c6 | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
#include <iomanip>
using std::setw;
int main () {
int n[ 10 ]; // n is an array of 10 integers
// initialize elements of array n to 0
for ( int i = 0; i < 10; i++ ) {
n[ i ] = i + 100; // set element at location i to i + 100
}
cout << "Elem... | 23.025 | 143 | 0.465798 | surajgupta1288 |
040893e9b714a5e9057dfe143f23422006654db8 | 3,878 | cpp | C++ | B2G/gecko/parser/html/nsHtml5NamedCharacters.cpp | wilebeast/FireFox-OS | 43067f28711d78c429a1d6d58c77130f6899135f | [
"Apache-2.0"
] | 3 | 2015-08-31T15:24:31.000Z | 2020-04-24T20:31:29.000Z | B2G/gecko/parser/html/nsHtml5NamedCharacters.cpp | wilebeast/FireFox-OS | 43067f28711d78c429a1d6d58c77130f6899135f | [
"Apache-2.0"
] | null | null | null | B2G/gecko/parser/html/nsHtml5NamedCharacters.cpp | wilebeast/FireFox-OS | 43067f28711d78c429a1d6d58c77130f6899135f | [
"Apache-2.0"
] | 3 | 2015-07-29T07:17:15.000Z | 2020-11-04T06:55:37.000Z | /*
* Copyright (c) 2008-2010 Mozilla Foundation
*
* 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,... | 26.930556 | 78 | 0.736978 | wilebeast |
040adf94d9f986bd60daf16db9f697e06a8efdb6 | 3,498 | cpp | C++ | src/EncSim.cpp | luni64/EncSim | 0be09144e6f968d65c2a361578fa0819f5bf7bcf | [
"MIT"
] | 9 | 2017-06-12T02:59:45.000Z | 2022-03-16T22:27:14.000Z | src/EncSim.cpp | luni64/EncSim | 0be09144e6f968d65c2a361578fa0819f5bf7bcf | [
"MIT"
] | 3 | 2019-07-10T10:30:28.000Z | 2020-10-06T19:02:14.000Z | src/EncSim.cpp | luni64/EncSim | 0be09144e6f968d65c2a361578fa0819f5bf7bcf | [
"MIT"
] | 3 | 2018-07-23T00:36:28.000Z | 2021-12-04T16:35:52.000Z | #include "EncSim.h"
EncSim::EncSim(unsigned pinA, unsigned pinB, unsigned pinZ)
{
this->A = pinA;
this->B = pinB;
this->Z = pinZ;
}
EncSim& EncSim::begin(/*unsigned pinA, unsigned pinB, int pinZ*/)
{
phaseA.begin(A);
phaseB.begin(B);
if (Z < UINT32_MAX)
{
pinMode(Z, OUTPUT);
... | 22.423077 | 77 | 0.628645 | luni64 |
040ba8b0ae87e46c9614648c4ce38b4ba7b8cf47 | 2,382 | cpp | C++ | Dsa self paced course Track/stack/MaxOfMinOfEveryWindowSize.cpp | sagar-maheshwari653/HactoberFest21 | 76797aba35b7b168688f2702b52defbff4014da8 | [
"Unlicense"
] | 1 | 2021-11-21T03:37:18.000Z | 2021-11-21T03:37:18.000Z | Dsa self paced course Track/stack/MaxOfMinOfEveryWindowSize.cpp | sonishsinghal/HactoberFest21 | c4ca69f2f8198585db9914e8b113290dad07a188 | [
"Unlicense"
] | 1 | 2021-10-06T04:41:55.000Z | 2021-10-06T04:41:55.000Z | Dsa self paced course Track/stack/MaxOfMinOfEveryWindowSize.cpp | sonishsinghal/HactoberFest21 | c4ca69f2f8198585db9914e8b113290dad07a188 | [
"Unlicense"
] | 1 | 2021-10-08T12:31:04.000Z | 2021-10-08T12:31:04.000Z | // { Driver Code Starts
#include <bits/stdc++.h>
using namespace std;
// } Driver Code Ends
class Solution
{
public:
//Function to find maximum of minimums of every window size.
vector<int> maxOfMin(int arr[], int n)
{
// Your code here
stack<int> st;
unordered_map<int, int> mp;
... | 25.340426 | 72 | 0.309824 | sagar-maheshwari653 |
040df1067b0791be972cc98febcd1ef1fb45fc98 | 3,586 | cpp | C++ | app/src/main/cpp/VR720.cpp | imengyu/VR720 | 256a5da596ed19736d3c0a44c401f2ea21c2c30b | [
"MIT"
] | 4 | 2021-06-29T12:27:17.000Z | 2022-03-29T00:59:47.000Z | app/src/main/cpp/VR720.cpp | imengyu/VR720 | 256a5da596ed19736d3c0a44c401f2ea21c2c30b | [
"MIT"
] | null | null | null | app/src/main/cpp/VR720.cpp | imengyu/VR720 | 256a5da596ed19736d3c0a44c401f2ea21c2c30b | [
"MIT"
] | 2 | 2021-06-29T12:36:44.000Z | 2022-03-29T00:59:49.000Z | #include "stdafx.h"
#include "VR720Renderer.h"
#include "./utils/Logger.h"
#include "./core/CCAssetsManager.h"
#include "./core/CCMeshLoader.h"
#include "./core/CCSmartPtr.hpp"
#include "./core/CMobileGameRenderer.h"
#include "./player/CCVideoPlayer.h"
JavaVM *globalJvm;
bool nativeInitStaus = false;
jboolean JNICALL... | 30.649573 | 139 | 0.638037 | imengyu |
04123b610095bdc8d1a1959ec31917a286dce373 | 158,811 | cpp | C++ | source/PEST++/src/libs/opt/CoinAbcBaseFactorization1.cpp | usgs/neversink_workflow | acd61435b8553e38d4a903c8cd7a3afc612446f9 | [
"CC0-1.0"
] | 1 | 2021-02-23T20:47:29.000Z | 2021-02-23T20:47:29.000Z | source/PEST++/src/libs/opt/CoinAbcBaseFactorization1.cpp | usgs/neversink_workflow | acd61435b8553e38d4a903c8cd7a3afc612446f9 | [
"CC0-1.0"
] | null | null | null | source/PEST++/src/libs/opt/CoinAbcBaseFactorization1.cpp | usgs/neversink_workflow | acd61435b8553e38d4a903c8cd7a3afc612446f9 | [
"CC0-1.0"
] | 2 | 2020-01-03T17:14:39.000Z | 2020-03-04T14:21:27.000Z | /* $Id: CoinAbcBaseFactorization1.cpp 2078 2015-01-05 12:39:49Z forrest $ */
// Copyright (C) 2002, International Business Machines
// Corporation and others, Copyright (C) 2012, FasterCoin. All Rights Reserved.
// This code is licensed under the terms of the Eclipse Public License (EPL).
#ifdef ABC_JUST_ONE_FACTORIZA... | 33.447978 | 146 | 0.705323 | usgs |
0412411b700494122657cab69ac31fdcd1c9e267 | 565 | cpp | C++ | Codeforces/41A - Translation.cpp | naimulcsx/online-judge-solutions | 0b80f81bcfb05a7cfe7fc925304c70b19eff1d6f | [
"MIT"
] | null | null | null | Codeforces/41A - Translation.cpp | naimulcsx/online-judge-solutions | 0b80f81bcfb05a7cfe7fc925304c70b19eff1d6f | [
"MIT"
] | null | null | null | Codeforces/41A - Translation.cpp | naimulcsx/online-judge-solutions | 0b80f81bcfb05a7cfe7fc925304c70b19eff1d6f | [
"MIT"
] | null | null | null | #include <iostream>
#include <string>
using namespace std;
bool is_reversed(const string &, const string &);
int main() {
string ber_lang, bir_lang;
cin >> ber_lang >> bir_lang;
if (is_reversed(ber_lang, bir_lang))
cout << "YES" << endl;
else
cout << "NO" << endl;
}
bool is_reverse... | 18.833333 | 54 | 0.546903 | naimulcsx |
04145c55e15e83f7eb1d57c758ceaf00a4525c21 | 801 | hpp | C++ | SDK/ARKSurvivalEvolved_PrimalItem_GenericMisc_classes.hpp | 2bite/ARK-SDK | c38ca9925309516b2093ad8c3a70ed9489e1d573 | [
"MIT"
] | 10 | 2020-02-17T19:08:46.000Z | 2021-07-31T11:07:19.000Z | SDK/ARKSurvivalEvolved_PrimalItem_GenericMisc_classes.hpp | 2bite/ARK-SDK | c38ca9925309516b2093ad8c3a70ed9489e1d573 | [
"MIT"
] | 9 | 2020-02-17T18:15:41.000Z | 2021-06-06T19:17:34.000Z | SDK/ARKSurvivalEvolved_PrimalItem_GenericMisc_classes.hpp | 2bite/ARK-SDK | c38ca9925309516b2093ad8c3a70ed9489e1d573 | [
"MIT"
] | 3 | 2020-07-22T17:42:07.000Z | 2021-06-19T17:16:13.000Z | #pragma once
// ARKSurvivalEvolved (329.9) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "ARKSurvivalEvolved_PrimalItem_GenericMisc_structs.hpp"
namespace sdk
{
//---------------------------------------------------------------------------
//Classes
//--------------------------------------------------... | 20.538462 | 114 | 0.639201 | 2bite |
0423a73330544570ec92984d9801ff01826c27cd | 10,825 | cpp | C++ | Libraries/libcar/Sources/Reader.cpp | djgalloway/xcbuild | 936df10e59e5f5d531efca8bd48e445d88e78e0c | [
"BSD-2-Clause-NetBSD"
] | 9 | 2018-04-30T23:18:27.000Z | 2021-06-20T15:13:38.000Z | Libraries/libcar/Sources/Reader.cpp | djgalloway/xcbuild | 936df10e59e5f5d531efca8bd48e445d88e78e0c | [
"BSD-2-Clause-NetBSD"
] | null | null | null | Libraries/libcar/Sources/Reader.cpp | djgalloway/xcbuild | 936df10e59e5f5d531efca8bd48e445d88e78e0c | [
"BSD-2-Clause-NetBSD"
] | 4 | 2018-10-10T19:44:17.000Z | 2020-01-12T11:56:31.000Z | /**
Copyright (c) 2015-present, Facebook, Inc.
All rights reserved.
This source code is licensed under the BSD-style license found in the
LICENSE file in the root directory of this source tree. An additional grant
of patent rights can be found in the PATENTS file in the same directory.
*/
#include <car/Reader.h... | 39.363636 | 369 | 0.697182 | djgalloway |
04241dc9f917c856adeb302e90df8f5a1d0498d7 | 5,634 | hpp | C++ | include/desalt/match/match.hpp | dechimal/desalt | 29f2bbe9e41850ddd4ebff39958747e504e3a6a3 | [
"WTFPL"
] | 10 | 2015-03-05T08:28:29.000Z | 2020-10-21T09:52:52.000Z | include/desalt/match/match.hpp | dechimal/desalt | 29f2bbe9e41850ddd4ebff39958747e504e3a6a3 | [
"WTFPL"
] | null | null | null | include/desalt/match/match.hpp | dechimal/desalt | 29f2bbe9e41850ddd4ebff39958747e504e3a6a3 | [
"WTFPL"
] | null | null | null | #ifndef DESALT_MATCH_MATCH_HPP_INCLUDED_
#define DESALT_MATCH_MATCH_HPP_INCLUDED_
#include <type_traits>
#include <utility>
#include <tuple>
#include <desalt/match/fwd.hpp>
#include <desalt/match/pattern_types.hpp>
namespace desalt::match {
namespace detail {
namespace here = detail;
// definitions
// match_result
... | 39.398601 | 148 | 0.671282 | dechimal |
042479c1f005ce0fbd2892bfe2ae3b487bdfff71 | 8,486 | hxx | C++ | src/tools.hxx | gregorweiss/Clustering | 484eceff161adf972b068b02550d492af33535d5 | [
"BSD-2-Clause"
] | 9 | 2019-09-30T15:52:05.000Z | 2022-01-23T07:18:49.000Z | src/tools.hxx | gregorweiss/Clustering | 484eceff161adf972b068b02550d492af33535d5 | [
"BSD-2-Clause"
] | 5 | 2019-05-16T11:13:20.000Z | 2021-03-11T17:22:23.000Z | src/tools.hxx | gregorweiss/Clustering | 484eceff161adf972b068b02550d492af33535d5 | [
"BSD-2-Clause"
] | 3 | 2019-11-21T12:15:03.000Z | 2021-04-19T10:45:20.000Z | /*
Copyright (c) 2015-2019, Florian Sittel (www.lettis.net) and Daniel Nagel
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice,
... | 28.381271 | 92 | 0.604054 | gregorweiss |
0424d8175e3de82ef5e0f2616e4b6aff37349ed5 | 3,969 | cpp | C++ | src/Protocols/TelnetProtocol.cpp | kangwenhang/WindTerm | 24c96a6aa611675aeb5decf7f673318c0b626399 | [
"Apache-2.0"
] | 4,267 | 2019-10-12T03:52:44.000Z | 2022-03-31T14:55:28.000Z | src/Protocols/TelnetProtocol.cpp | kangwenhang/WindTerm | 24c96a6aa611675aeb5decf7f673318c0b626399 | [
"Apache-2.0"
] | 537 | 2020-01-24T09:34:07.000Z | 2022-03-31T23:59:11.000Z | src/Protocols/TelnetProtocol.cpp | kangwenhang/WindTerm | 24c96a6aa611675aeb5decf7f673318c0b626399 | [
"Apache-2.0"
] | 337 | 2019-10-17T00:11:40.000Z | 2022-03-31T11:16:56.000Z | /*
* Copyright 2020, WindTerm.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | 42.223404 | 133 | 0.719577 | kangwenhang |
0426086813c9126af5c4efd16ce569a2bf832915 | 631 | cpp | C++ | Sem1/WDI/zielu c++/3.1.cpp | YuunOoO/Code | 5e01c53ab54b4cd8e1694e5f343b012797805688 | [
"MIT"
] | 1 | 2021-06-03T14:54:30.000Z | 2021-06-03T14:54:30.000Z | Sem1/WDI/zielu c++/3.1.cpp | YuunOoO/Code | 5e01c53ab54b4cd8e1694e5f343b012797805688 | [
"MIT"
] | null | null | null | Sem1/WDI/zielu c++/3.1.cpp | YuunOoO/Code | 5e01c53ab54b4cd8e1694e5f343b012797805688 | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
int main()
{
int liczba;
cout << " Program podzielnosci liczby przez 3 / 2"
cout << "Podaj liczbe: " << endl;
cin>>liczba;
if(liczba==0) return 0;
if(liczba%3==0)
{
if(liczba%2==0)
{
cout<<"jest podzielna przez 3 i 2 , ... | 20.354839 | 68 | 0.499208 | YuunOoO |
0426e00f10765435e5fb86761a155a32c495fdff | 427 | cc | C++ | tests/mul.spec.cc | ganler/CUWRAP | c7abc3b546739e143163ce4d386f497adca1cb1b | [
"MIT"
] | 4 | 2020-02-08T13:02:19.000Z | 2020-02-10T17:59:02.000Z | tests/mul.spec.cc | ganler/CUWRAP | c7abc3b546739e143163ce4d386f497adca1cb1b | [
"MIT"
] | null | null | null | tests/mul.spec.cc | ganler/CUWRAP | c7abc3b546739e143163ce4d386f497adca1cb1b | [
"MIT"
] | null | null | null | #include "test.hpp"
#include <cuwrap/kernels/mul.hpp>
TEST(Test, MulTwoVectors)
{
constexpr std::size_t N = 1 << 20;
int *a = new int[N](),
*b = new int[N](),
*r = new int[N]();
for (int i = 0; i < N; i++) {
a[i] = 2.0f;
b[i] = 2.0f;
}
cuwrap::mul(N, a, b, r);
... | 17.791667 | 38 | 0.440281 | ganler |
54b6e500a518e9897c39abba562e09a5967a1451 | 1,149 | cpp | C++ | components/common/tests/file_system/zip-read-speed.cpp | untgames/funner | c91614cda55fd00f5631d2bd11c4ab91f53573a3 | [
"MIT"
] | 7 | 2016-03-30T17:00:39.000Z | 2017-03-27T16:04:04.000Z | components/common/tests/file_system/zip-read-speed.cpp | untgames/Funner | c91614cda55fd00f5631d2bd11c4ab91f53573a3 | [
"MIT"
] | 4 | 2017-11-21T11:25:49.000Z | 2018-09-20T17:59:27.000Z | components/common/tests/file_system/zip-read-speed.cpp | untgames/Funner | c91614cda55fd00f5631d2bd11c4ab91f53573a3 | [
"MIT"
] | 4 | 2016-11-29T15:18:40.000Z | 2017-03-27T16:04:08.000Z | #include <common/file.h>
#include <stdio.h>
#include <time.h>
using namespace common;
const char* SEARCH_PATH = "data";
const char* FILE_NAME = "speed-test.txt";
const size_t BUF_SIZE = 128;
const size_t TESTS_COUNT = 10;
void PrintLog (const char* message)
{
printf ("\t%s\n",message);
}
static char buf [B... | 20.890909 | 130 | 0.618799 | untgames |
54b8897e799a6bcc77211f35ad16ec6affc4b71f | 6,258 | cpp | C++ | src/app/screens/main/help_screen.cpp | nabijaczleweli/controller-display | d7abaa206a0f2bfdbae92a6b8258a6d1a965b6fb | [
"MIT"
] | null | null | null | src/app/screens/main/help_screen.cpp | nabijaczleweli/controller-display | d7abaa206a0f2bfdbae92a6b8258a6d1a965b6fb | [
"MIT"
] | null | null | null | src/app/screens/main/help_screen.cpp | nabijaczleweli/controller-display | d7abaa206a0f2bfdbae92a6b8258a6d1a965b6fb | [
"MIT"
] | null | null | null | // The MIT License (MIT)
// Copyright (c) 2017 nabijaczleweli
// 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... | 46.355556 | 159 | 0.63247 | nabijaczleweli |
54c07a948d06dc9fa8852f3ebe2aff390dcee4d8 | 16,475 | cpp | C++ | coast/modules/Oracle/OracleConnection.cpp | zer0infinity/CuteForCoast | 37d933c5fe2e0ce9a801f51b2aa27c7a18098511 | [
"BSD-3-Clause"
] | null | null | null | coast/modules/Oracle/OracleConnection.cpp | zer0infinity/CuteForCoast | 37d933c5fe2e0ce9a801f51b2aa27c7a18098511 | [
"BSD-3-Clause"
] | null | null | null | coast/modules/Oracle/OracleConnection.cpp | zer0infinity/CuteForCoast | 37d933c5fe2e0ce9a801f51b2aa27c7a18098511 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2009, Peter Sommerlad and IFS Institute for Software at HSR Rapperswil, Switzerland
* All rights reserved.
*
* This library/application is free software; you can redistribute and/or modify it under the terms of
* the license that is included with this library/application in the file license.txt.... | 36.611111 | 141 | 0.683945 | zer0infinity |
54c1a37652bc75ebf384d7736af20c6483781443 | 3,752 | cpp | C++ | core/sceneManager/apeFileTextureImpl.cpp | wterkaj/ApertusVR | 424ec5515ae08780542f33cc4841a8f9a96337b3 | [
"MIT"
] | 158 | 2016-11-17T19:37:51.000Z | 2022-03-21T19:57:55.000Z | core/sceneManager/apeFileTextureImpl.cpp | wterkaj/ApertusVR | 424ec5515ae08780542f33cc4841a8f9a96337b3 | [
"MIT"
] | 94 | 2016-11-18T09:55:57.000Z | 2021-01-14T08:50:40.000Z | core/sceneManager/apeFileTextureImpl.cpp | wterkaj/ApertusVR | 424ec5515ae08780542f33cc4841a8f9a96337b3 | [
"MIT"
] | 51 | 2017-05-24T10:20:25.000Z | 2022-03-17T15:07:02.000Z | /*MIT License
Copyright (c) 2018 MTA SZTAKI
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, dist... | 40.344086 | 161 | 0.811834 | wterkaj |
54c39d14d014487a4cdc76357fdbde79e1351641 | 1,227 | cpp | C++ | core/src/Behaviors/Actions/Trigger.cpp | hhsaez/crimild | e3efee09489939338df55e8af9a1f9ddc01301f7 | [
"BSD-3-Clause"
] | 36 | 2015-03-12T10:42:36.000Z | 2022-01-12T04:20:40.000Z | core/src/Behaviors/Actions/Trigger.cpp | hhsaez/crimild | e3efee09489939338df55e8af9a1f9ddc01301f7 | [
"BSD-3-Clause"
] | 1 | 2015-12-17T00:25:43.000Z | 2016-02-20T12:00:57.000Z | core/src/Behaviors/Actions/Trigger.cpp | hhsaez/crimild | e3efee09489939338df55e8af9a1f9ddc01301f7 | [
"BSD-3-Clause"
] | 6 | 2017-06-17T07:57:53.000Z | 2019-04-09T21:11:24.000Z | #include "Trigger.hpp"
#include "Coding/Encoder.hpp"
#include "Coding/Decoder.hpp"
using namespace crimild;
using namespace crimild::messaging;
using namespace crimild::behaviors;
using namespace crimild::behaviors::actions;
std::list< Trigger * > Trigger::_allTriggers;
void Trigger::each( std::function< void( std::... | 20.114754 | 100 | 0.715566 | hhsaez |
54c6987ab1cc68e3e7f6560fe3674e730416928c | 1,094 | cpp | C++ | tests/fasm/test_framework/test_instrlookup.cpp | Forec/FoldScript | 0bc672d00148235a7834ca89f6bb622303bac948 | [
"0BSD"
] | null | null | null | tests/fasm/test_framework/test_instrlookup.cpp | Forec/FoldScript | 0bc672d00148235a7834ca89f6bb622303bac948 | [
"0BSD"
] | null | null | null | tests/fasm/test_framework/test_instrlookup.cpp | Forec/FoldScript | 0bc672d00148235a7834ca89f6bb622303bac948 | [
"0BSD"
] | null | null | null | //
// Created by 王耀 on 2017/10/8.
//
#include <gtest/gtest.h>
#include "inslktable.h"
#include "macro.h"
TEST(InstrLookupTest, InstrLookupTest_MANAGE_INSTR_LOOKUP_Test) {
InstrLookupTable table;
EXPECT_TRUE(table.addInstrLookup("mov", 1, 2)); // 添加 mov 指令,操作码 1,操作数 2 个
EXPECT_FALSE(table.addInstrLookup(... | 40.518519 | 94 | 0.710238 | Forec |
54c818ab3a0d5a2e77d409bb2ab68cc3f09a6a44 | 9,387 | cpp | C++ | src/QormDefaultSession.cpp | marcobusemann/QMetaOrm | 3d133f0e7f9a42cf9abb5dcb9ff79d85f83729b4 | [
"MIT"
] | null | null | null | src/QormDefaultSession.cpp | marcobusemann/QMetaOrm | 3d133f0e7f9a42cf9abb5dcb9ff79d85f83729b4 | [
"MIT"
] | 1 | 2017-07-29T21:22:10.000Z | 2017-07-29T21:22:10.000Z | src/QormDefaultSession.cpp | marcobusemann/QMetaOrm | 3d133f0e7f9a42cf9abb5dcb9ff79d85f83729b4 | [
"MIT"
] | null | null | null | #include <QMetaOrm/QormExceptions.h>
#include <QMetaOrm/QormSqlQueryBuilder.h>
#include "QormDefaultSession.h"
#include "QormEntityMapper.h"
#include <QSqlQuery>
#include <QUuid>
class QormOnDemandRecordMapperImpl : public QormOnDemandRecordMapper {
public:
QormOnDemandRecordMapperImpl(
std::function<QSh... | 30.980198 | 118 | 0.712794 | marcobusemann |
54ca45e4568a6a8d16d2d2924cfa1e7a26ec6d1c | 4,250 | cpp | C++ | code/peakbagger_collection.cpp | akirmse/mountains | a3f119a245ee9f19b1a66ef0c8e7ea002f846ef7 | [
"MIT"
] | 18 | 2017-07-11T17:55:45.000Z | 2022-03-11T21:37:26.000Z | code/peakbagger_collection.cpp | oargudo/mountains | b295281f81ed93163b71f5caf7465b0a91df8bb2 | [
"MIT"
] | 1 | 2019-12-16T23:12:09.000Z | 2019-12-17T11:09:48.000Z | code/peakbagger_collection.cpp | oargudo/mountains | b295281f81ed93163b71f5caf7465b0a91df8bb2 | [
"MIT"
] | 3 | 2020-04-05T12:13:12.000Z | 2021-03-19T13:29:31.000Z | /*
* MIT License
*
* Copyright (c) 2017 Andrew Kirmse
*
* 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, ... | 34.274194 | 133 | 0.612941 | akirmse |
54caab7f0befa02f012f05935ffb2d905cb2c762 | 282 | hh | C++ | MaxQuadSize.hh | gvissers/quill2 | 589d7bc3ce20da888547f8f4f6b8da908b3d63a5 | [
"Apache-2.0"
] | null | null | null | MaxQuadSize.hh | gvissers/quill2 | 589d7bc3ce20da888547f8f4f6b8da908b3d63a5 | [
"Apache-2.0"
] | null | null | null | MaxQuadSize.hh | gvissers/quill2 | 589d7bc3ce20da888547f8f4f6b8da908b3d63a5 | [
"Apache-2.0"
] | null | null | null | #ifndef MAXQUADSIZE_HH
#define MAXQUADSIZE_HH
/*!
* \file MaxQuadSize
* \brief Set of structures to determine the maximum size of a basis function quartet
*/
#include "CGTOQuad.hh"
struct MaxQuadSize
{
static const size_t size = sizeof(CGTOQuad);
};
#endif // MAXQUADSIZE_HH | 17.625 | 85 | 0.748227 | gvissers |
54cac30f7cc9070c33f4d5588b42e2682251c684 | 1,610 | cpp | C++ | surena4/src/ft_sensor_board/src/main.cpp | amin-amani/humanoid | 7493fc566064ff903deb130376eb67e684c6a303 | [
"MIT"
] | 1 | 2021-11-16T08:51:26.000Z | 2021-11-16T08:51:26.000Z | surena4/src/ft_sensor_board/src/main.cpp | amin-amani/humanoid | 7493fc566064ff903deb130376eb67e684c6a303 | [
"MIT"
] | 1 | 2018-10-27T13:34:18.000Z | 2018-10-27T13:34:18.000Z | surena4/src/ft_sensor_board/src/main.cpp | amin-amani/humanoid | 7493fc566064ff903deb130376eb67e684c6a303 | [
"MIT"
] | null | null | null | #include "mainwindow.h"
#include <QApplication>
#include <ros/ros.h>
#include <geometry_msgs/Twist.h>
#include<std_msgs/Int32MultiArray.h>
#include<std_msgs/Int32.h>
#include<std_msgs/Float64MultiArray.h>
#include <stdlib.h>
#include "ft_sensor.h"
/// =================================================================... | 27.288136 | 184 | 0.527329 | amin-amani |
54ce4ff10189cc661d83773bd21cf1214c273696 | 2,405 | cc | C++ | PHOTOBOOTH/cod_python/pygame/tmp/SDL-1.2.14/src/video/bwindow/SDL_syswm.cc | AngelaRT/tailor_drawer | f81bdd74a99dee04b91b1bc47f672a5fe9a4cca8 | [
"MIT"
] | 37 | 2015-01-11T20:08:48.000Z | 2022-01-06T17:25:22.000Z | SDL-1.2.14/src/video/bwindow/SDL_syswm.cc | vidkidz/crossbridge | ba0bf94aee0ce6cf7eb5be882382e52bc57ba396 | [
"MIT"
] | 4 | 2016-05-20T01:01:59.000Z | 2016-06-22T00:03:27.000Z | SDL-1.2.14/src/video/bwindow/SDL_syswm.cc | vidkidz/crossbridge | ba0bf94aee0ce6cf7eb5be882382e52bc57ba396 | [
"MIT"
] | 6 | 2015-09-14T14:44:20.000Z | 2019-01-11T09:52:21.000Z | /*
SDL - Simple DirectMedia Layer
Copyright (C) 1997-2009 Sam Lantinga
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your op... | 25.860215 | 78 | 0.668607 | AngelaRT |
54cf89a42ce87d4261639b7613a71fdbb69b9188 | 6,719 | cpp | C++ | CaptainAmericaAndTheAvengers/GameManager.cpp | nguyenlamlll/CaptainAmericaAndTheAvengers | 73494d11d59d8f3a08326e22fca0db4cf0b108eb | [
"MIT"
] | null | null | null | CaptainAmericaAndTheAvengers/GameManager.cpp | nguyenlamlll/CaptainAmericaAndTheAvengers | 73494d11d59d8f3a08326e22fca0db4cf0b108eb | [
"MIT"
] | null | null | null | CaptainAmericaAndTheAvengers/GameManager.cpp | nguyenlamlll/CaptainAmericaAndTheAvengers | 73494d11d59d8f3a08326e22fca0db4cf0b108eb | [
"MIT"
] | null | null | null | #include "stdafx.h"
#include "GameManager.h"
#include <mmsystem.h>
// Constructor
GameManager::GameManager()
{
input = new Input(); // initialize keyboard input immediately
// additional initialization is handled in later call to input->initialize()
paused = false; // game is not paused
... | 27.764463 | 89 | 0.660366 | nguyenlamlll |
54d0a7a7eb6f6efcad50e315b47e549476edbdd0 | 294 | hh | C++ | cycle/restime/_Trapezoidal+/restime.hh | zhanghuanqian/CFDWARP | 9340a8526bb263d910f79d79e84dcac7aec211b6 | [
"BSD-2-Clause"
] | 29 | 2018-09-13T13:58:18.000Z | 2022-03-08T21:44:13.000Z | cycle/restime/_Trapezoidal+/restime.hh | zhanghuanqian/CFDWARP | 9340a8526bb263d910f79d79e84dcac7aec211b6 | [
"BSD-2-Clause"
] | 3 | 2020-11-10T11:28:30.000Z | 2021-11-23T09:21:28.000Z | cycle/restime/_Trapezoidal+/restime.hh | zhanghuanqian/CFDWARP | 9340a8526bb263d910f79d79e84dcac7aec211b6 | [
"BSD-2-Clause"
] | 20 | 2018-07-26T08:17:37.000Z | 2022-03-04T08:41:55.000Z | #define _RESTIME_METHOD "Trapezoidal+ 2nd-Order"
#define _RESTIME_BW 2
#define _RESTIME_TRAPEZOIDAL_MUSCL
#define _RESTIME_STORAGE_TRAPEZOIDAL
#define _RESTIME_STORAGE_TRAPEZOIDAL_MUSCLVARS
#define UNSTEADY
#define _RESTIME_ACTIONNAME "TrapezoidalPlus"
typedef struct {
} gl_cycle_restime_t;
| 24.5 | 48 | 0.860544 | zhanghuanqian |
54d322cb8a5d7faa98d8266c37f83e96573e22fd | 329 | cpp | C++ | acmicpc/2482.cpp | juseongkr/BOJ | 8f10a2bf9a7d695455493fbe7423347a8b648416 | [
"Apache-2.0"
] | 7 | 2020-02-03T10:00:19.000Z | 2021-11-16T11:03:57.000Z | acmicpc/2482.cpp | juseongkr/Algorithm-training | 8f10a2bf9a7d695455493fbe7423347a8b648416 | [
"Apache-2.0"
] | 1 | 2021-01-03T06:58:24.000Z | 2021-01-03T06:58:24.000Z | acmicpc/2482.cpp | juseongkr/Algorithm-training | 8f10a2bf9a7d695455493fbe7423347a8b648416 | [
"Apache-2.0"
] | 1 | 2020-01-22T14:34:03.000Z | 2020-01-22T14:34:03.000Z | #include <iostream>
using namespace std;
#define MAX 1001
const int MOD = 1e9+3;
int n, k;
int dp[MAX][MAX];
int main()
{
cin >> n >> k;
for (int i=1; i<=n; ++i)
dp[i][1] = i;
for (int i=4; i<=n; ++i)
for (int j=2; j<=i/2; ++j)
dp[i][j] = (dp[i-2][j-1] + dp[i-1][j]) % MOD;
cout << dp[n][k] << '\n';
ret... | 14.304348 | 48 | 0.489362 | juseongkr |
54d7ceb5ae7b00152ba801e8ba333a7c3df02daa | 11,206 | hpp | C++ | include/algorithm_assembler/utils/heterogeneous_container_functions.hpp | Tristis116/Algorithm-assembler | 2da69a7e2842f2c261ce0c81d74b3116687b511f | [
"Apache-2.0"
] | null | null | null | include/algorithm_assembler/utils/heterogeneous_container_functions.hpp | Tristis116/Algorithm-assembler | 2da69a7e2842f2c261ce0c81d74b3116687b511f | [
"Apache-2.0"
] | null | null | null | include/algorithm_assembler/utils/heterogeneous_container_functions.hpp | Tristis116/Algorithm-assembler | 2da69a7e2842f2c261ce0c81d74b3116687b511f | [
"Apache-2.0"
] | null | null | null | /*
Copyright 2019 Ilia S. Kovalev
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writi... | 28.2267 | 109 | 0.713189 | Tristis116 |
54d9279424de695fb9ccc371637e4293c0936047 | 312 | hh | C++ | include/ten/optional.hh | toffaletti/libten | 00c6dcc91c8d769c74ed9063277b1120c9084427 | [
"Apache-2.0"
] | 23 | 2015-02-28T12:51:54.000Z | 2021-07-21T10:34:20.000Z | include/ten/optional.hh | toffaletti/libten | 00c6dcc91c8d769c74ed9063277b1120c9084427 | [
"Apache-2.0"
] | 1 | 2015-04-26T05:44:18.000Z | 2015-04-26T05:44:18.000Z | include/ten/optional.hh | toffaletti/libten | 00c6dcc91c8d769c74ed9063277b1120c9084427 | [
"Apache-2.0"
] | 8 | 2015-05-04T08:04:11.000Z | 2020-09-07T11:30:56.000Z | #ifndef TEN_OPTIONAL_HH
#define TEN_OPTIONAL_HH
#include "ten/bits/optional.hpp"
namespace ten {
using std::experimental::optional;
using std::experimental::nullopt;
using std::experimental::in_place;
using std::experimental::in_place_t;
using std::experimental::is_not_optional;
}
#endif
| 20.8 | 45 | 0.74359 | toffaletti |
54da2c18b78249c5f6ed11a6242e51cc120d7a6c | 3,946 | cpp | C++ | Codeforces/Archives/Round464 Div2/D.cpp | lxdlam/ACM | cde519ef9732ff9e4e9e3f53c00fb30d07bdb306 | [
"MIT"
] | 1 | 2017-10-25T13:33:27.000Z | 2017-10-25T13:33:27.000Z | Codeforces/Archives/Round464 Div2/D.cpp | lxdlam/ACM | cde519ef9732ff9e4e9e3f53c00fb30d07bdb306 | [
"MIT"
] | null | null | null | Codeforces/Archives/Round464 Div2/D.cpp | lxdlam/ACM | cde519ef9732ff9e4e9e3f53c00fb30d07bdb306 | [
"MIT"
] | 1 | 2021-05-05T01:16:28.000Z | 2021-05-05T01:16:28.000Z | #include <bits/stdc++.h>
using namespace std;
// Useful Marcos
//====================START=====================
// Compile use C++11 and above
#ifdef LOCAL
#define debug(args...) \
{ \
string _s = #args; \
replace(_s.begin(... | 22.293785 | 113 | 0.529143 | lxdlam |
54dba8fe7c1f6f30ec133b38c6e952cc9afcf23b | 358 | cpp | C++ | FightingGame/FightingGame/EndingScene.cpp | boxerprogrammer/2d_actiongame_samples | 4fb240abe15485ca6299579b208e415eb5d9c8af | [
"MIT"
] | 1 | 2020-10-22T12:03:37.000Z | 2020-10-22T12:03:37.000Z | FightingGame/FightingGame/EndingScene.cpp | boxerprogrammer/2d_actiongame_samples | 4fb240abe15485ca6299579b208e415eb5d9c8af | [
"MIT"
] | null | null | null | FightingGame/FightingGame/EndingScene.cpp | boxerprogrammer/2d_actiongame_samples | 4fb240abe15485ca6299579b208e415eb5d9c8af | [
"MIT"
] | null | null | null | #include "EndingScene.h"
#include<DxLib.h>
#include"GameMain.h"
#include"StaffrollScene.h"
EndingScene::EndingScene():_timer(300)
{
}
EndingScene::~EndingScene()
{
}
void
EndingScene::Update(const KeyState& key){
DxLib::DrawString(100, 200, "Ending Scene", 0xffffffff);
if(--_timer==0){
GameMain::Instance().Ch... | 15.565217 | 57 | 0.712291 | boxerprogrammer |
54dede18f9e4d8c3f394ca7e5d128d6c53f234ef | 770 | cpp | C++ | CO2003/2_Recursion/q15/main.cpp | Smithienious/hcmut-201 | be16b77831aae83ff42e656a181881686c74e674 | [
"MIT"
] | null | null | null | CO2003/2_Recursion/q15/main.cpp | Smithienious/hcmut-201 | be16b77831aae83ff42e656a181881686c74e674 | [
"MIT"
] | 2 | 2020-10-12T09:57:12.000Z | 2020-11-09T11:05:01.000Z | CO2003/2_Recursion/q15/main.cpp | Smithienious/hcmut-201 | be16b77831aae83ff42e656a181881686c74e674 | [
"MIT"
] | 4 | 2020-10-12T10:30:56.000Z | 2020-12-15T14:46:04.000Z | #include <iostream>
using namespace std;
bool matchPattern(char *text, char *pattern)
{
if (*text == '\0' && *pattern != '\0')
return false;
if (*pattern == '\0')
return true;
if (*text == *pattern)
return matchPattern(text + 1, pattern + 1);
return false;
}
bool containsPa... | 17.906977 | 78 | 0.542857 | Smithienious |
54e0d1d56cb470aaac31d42c386b2ab307e95d80 | 674 | hpp | C++ | NWNXLib/API/Linux/API/CExoArrayListTemplatedunsignedshort.hpp | acaos/nwnxee-unified | 0e4c318ede64028c1825319f39c012e168e0482c | [
"MIT"
] | 1 | 2019-06-04T04:30:24.000Z | 2019-06-04T04:30:24.000Z | NWNXLib/API/Linux/API/CExoArrayListTemplatedunsignedshort.hpp | presscad/nwnee | 0f36b281524e0b7e9796bcf30f924792bf9b8a38 | [
"MIT"
] | null | null | null | NWNXLib/API/Linux/API/CExoArrayListTemplatedunsignedshort.hpp | presscad/nwnee | 0f36b281524e0b7e9796bcf30f924792bf9b8a38 | [
"MIT"
] | 1 | 2019-10-20T07:54:45.000Z | 2019-10-20T07:54:45.000Z | #pragma once
#include <cstdint>
namespace NWNXLib {
namespace API {
struct CExoArrayListTemplatedunsignedshort
{
void Add(uint16_t);
void Allocate(int32_t);
void Insert(uint16_t, int32_t);
void SetSize(int32_t);
};
void CExoArrayListTemplatedunsignedshort__Add(CExoArrayListTemplatedunsignedshort* ... | 25.923077 | 114 | 0.835312 | acaos |
54e30925c615ac4f64ef4d9a33c003ec5dc0ddec | 1,315 | cpp | C++ | Crypt/CHARSTAT/test.cpp | mjohne/Turbo-Pascal-Apps | 2b0b20ead9a6feaef5a6afbbd7616cd29b7a934f | [
"Unlicense"
] | null | null | null | Crypt/CHARSTAT/test.cpp | mjohne/Turbo-Pascal-Apps | 2b0b20ead9a6feaef5a6afbbd7616cd29b7a934f | [
"Unlicense"
] | null | null | null | Crypt/CHARSTAT/test.cpp | mjohne/Turbo-Pascal-Apps | 2b0b20ead9a6feaef5a6afbbd7616cd29b7a934f | [
"Unlicense"
] | null | null | null | #include <fstream>
#include <iostream>
#include <iomanip>
#include <math.h>
#include <stdlib.h>
#include <string>
#include <time.h>
using namespace std;
char ch,ch2;
unsigned int i,n,Characters[256] = {0}, Letters[26],MaxChars = 0;
ifstream IFile;
ofstream StatisticsFile;
string IFilename, Statistic... | 22.672414 | 106 | 0.565019 | mjohne |
54e614fb5aca9328e00e3b9bdba9a4d9465116b1 | 226,899 | cpp | C++ | sdktools/debuggers/ntsd64/ia64_reg.cpp | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | sdktools/debuggers/ntsd64/ia64_reg.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | sdktools/debuggers/ntsd64/ia64_reg.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | //----------------------------------------------------------------------------
//
// IA64 machine implementation.
//
// Copyright (C) Microsoft Corporation, 2000-2002.
// Copyright (C) Intel Corporation, 1995.
//
//----------------------------------------------------------------------------
#include "ntsdp.hp... | 35.17814 | 174 | 0.592929 | npocmaka |
54e6ed0eebb77e78d3eb45c794daea019a07b732 | 1,198 | hpp | C++ | app/recorder.hpp | yuki-koyama/sequential-gallery | 693d7c061377580522c454c789750fa25a468967 | [
"MIT"
] | 12 | 2021-03-09T11:07:55.000Z | 2021-09-15T07:55:45.000Z | app/recorder.hpp | yuki-koyama/sequential-gallery | 693d7c061377580522c454c789750fa25a468967 | [
"MIT"
] | null | null | null | app/recorder.hpp | yuki-koyama/sequential-gallery | 693d7c061377580522c454c789750fa25a468967 | [
"MIT"
] | 2 | 2021-03-10T03:03:13.000Z | 2021-03-15T16:01:26.000Z | #ifndef RECORDER_HPP
#define RECORDER_HPP
#include <Eigen/Core>
#include <chrono>
#include <iostream>
#include <memory>
#include <string>
#include <vector>
namespace sps
{
class AbstractPlane;
}
class Recorder
{
public:
Recorder(const std::string& task_type, const std::string& dir_path);
void ResetClock... | 23.490196 | 118 | 0.688648 | yuki-koyama |
54e931306e018128bcbdffd5ba156723280f6917 | 33,952 | cc | C++ | src/gpu-compute/schedule_stage.cc | jyhuang91/gem5-avx | f988da46080f8db49beb39e20af437219f3aa4cb | [
"BSD-3-Clause"
] | 2 | 2021-01-15T17:32:18.000Z | 2021-12-21T02:53:58.000Z | src/gpu-compute/schedule_stage.cc | jyhuang91/gem5-avx | f988da46080f8db49beb39e20af437219f3aa4cb | [
"BSD-3-Clause"
] | 3 | 2021-03-26T20:33:59.000Z | 2022-01-24T22:54:03.000Z | src/gpu-compute/schedule_stage.cc | jyhuang91/gem5-avx | f988da46080f8db49beb39e20af437219f3aa4cb | [
"BSD-3-Clause"
] | 3 | 2021-03-27T16:36:19.000Z | 2022-03-28T18:32:57.000Z | /*
* Copyright (c) 2014-2015 Advanced Micro Devices, Inc.
* All rights reserved.
*
* For use for simulation and test purposes only
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of sourc... | 38.450736 | 79 | 0.591423 | jyhuang91 |
54eb590a9629f5a8ab82dbfb5288df7c871950f2 | 9,237 | cpp | C++ | test/hotspot/jtreg/vmTestbase/nsk/jvmti/IterateOverHeap/iterheap004/iterheap004.cpp | 1690296356/jdk | eaf668d1510c28d51e26c397b582b66ebdf7e263 | [
"Apache-2.0"
] | null | null | null | test/hotspot/jtreg/vmTestbase/nsk/jvmti/IterateOverHeap/iterheap004/iterheap004.cpp | 1690296356/jdk | eaf668d1510c28d51e26c397b582b66ebdf7e263 | [
"Apache-2.0"
] | null | null | null | test/hotspot/jtreg/vmTestbase/nsk/jvmti/IterateOverHeap/iterheap004/iterheap004.cpp | 1690296356/jdk | eaf668d1510c28d51e26c397b582b66ebdf7e263 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2004, 2018, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | 34.211111 | 130 | 0.596622 | 1690296356 |
54f432b6682071df308f2e53c807f7de4a6aef77 | 889 | ipp | C++ | libs/config/test/boost_no_cv_void_spec.ipp | zyiacas/boost-doc-zh | 689e5a3a0a4dbead1a960f7b039e3decda54aa2c | [
"BSL-1.0"
] | 198 | 2015-01-13T05:47:18.000Z | 2022-03-09T04:46:46.000Z | libs/config/test/boost_no_cv_void_spec.ipp | sdfict/boost-doc-zh | 689e5a3a0a4dbead1a960f7b039e3decda54aa2c | [
"BSL-1.0"
] | 9 | 2015-01-28T16:33:19.000Z | 2020-04-12T23:03:28.000Z | libs/config/test/boost_no_cv_void_spec.ipp | sdfict/boost-doc-zh | 689e5a3a0a4dbead1a960f7b039e3decda54aa2c | [
"BSL-1.0"
] | 139 | 2015-01-15T20:09:31.000Z | 2022-01-31T15:21:16.000Z | // (C) Copyright John Maddock 2001.
// Use, modification and distribution are subject to 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)
// See http://www.boost.org/libs/config for most recent version.
// MACRO: ... | 19.326087 | 69 | 0.664792 | zyiacas |
54f4e46d46e11bcad6252fa4ff03c6bef1783a7d | 5,527 | cpp | C++ | src/chrono/physics/ChShaftsLoads.cpp | Benatti1991/chrono | d927a7fae8ed2f4e6695cacaef28c605fcd9ffaf | [
"BSD-3-Clause"
] | 1,383 | 2015-02-04T14:17:40.000Z | 2022-03-30T04:58:16.000Z | src/chrono/physics/ChShaftsLoads.cpp | Benatti1991/chrono | d927a7fae8ed2f4e6695cacaef28c605fcd9ffaf | [
"BSD-3-Clause"
] | 245 | 2015-01-11T15:30:51.000Z | 2022-03-30T21:28:54.000Z | src/chrono/physics/ChShaftsLoads.cpp | Benatti1991/chrono | d927a7fae8ed2f4e6695cacaef28c605fcd9ffaf | [
"BSD-3-Clause"
] | 351 | 2015-02-04T14:17:47.000Z | 2022-03-30T04:42:52.000Z | // =============================================================================
// PROJECT CHRONO - http://projectchrono.org
//
// Copyright (c) 2014 projectchrono.org
// All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found
// in the LICENSE file at the top level of t... | 37.344595 | 115 | 0.537905 | Benatti1991 |
54f500fa906b623036656adc354d277d039a3533 | 1,502 | cc | C++ | squid/squid3-3.3.8.spaceify/src/CpuAffinity.cc | spaceify/spaceify | 4296d6c93cad32bb735cefc9b8157570f18ffee4 | [
"MIT"
] | 4 | 2015-01-20T15:25:34.000Z | 2017-12-20T06:47:42.000Z | squid/squid3-3.3.8.spaceify/src/CpuAffinity.cc | spaceify/spaceify | 4296d6c93cad32bb735cefc9b8157570f18ffee4 | [
"MIT"
] | 4 | 2015-05-15T09:32:55.000Z | 2016-02-18T13:43:31.000Z | squid/squid3-3.3.8.spaceify/src/CpuAffinity.cc | spaceify/spaceify | 4296d6c93cad32bb735cefc9b8157570f18ffee4 | [
"MIT"
] | null | null | null | /*
* DEBUG: section 54 Interprocess Communication
*/
#include "squid.h"
#include "base/TextException.h"
#include "CpuAffinity.h"
#include "CpuAffinityMap.h"
#include "CpuAffinitySet.h"
#include "Debug.h"
#include "globals.h"
#include "SquidConfig.h"
#include "tools.h"
#include <algorithm>
static CpuAffinitySet ... | 25.033333 | 79 | 0.649134 | spaceify |
54f58550e698a79503e2c23dd9847580a5517079 | 1,436 | cpp | C++ | snippets/cpp/VS_Snippets_CLR/ADSetAppDomainPolicy/CPP/adsetappdomainpolicy.cpp | BohdanMosiyuk/samples | 59d435ba9e61e0fc19f5176c96b1cdbd53596142 | [
"CC-BY-4.0",
"MIT"
] | 2 | 2020-03-12T19:26:36.000Z | 2022-01-10T21:45:33.000Z | snippets/cpp/VS_Snippets_CLR/ADSetAppDomainPolicy/CPP/adsetappdomainpolicy.cpp | BohdanMosiyuk/samples | 59d435ba9e61e0fc19f5176c96b1cdbd53596142 | [
"CC-BY-4.0",
"MIT"
] | 555 | 2019-09-23T22:22:58.000Z | 2021-07-15T18:51:12.000Z | snippets/cpp/VS_Snippets_CLR/ADSetAppDomainPolicy/CPP/adsetappdomainpolicy.cpp | BohdanMosiyuk/samples | 59d435ba9e61e0fc19f5176c96b1cdbd53596142 | [
"CC-BY-4.0",
"MIT"
] | 3 | 2020-01-29T16:31:15.000Z | 2021-08-24T07:00:15.000Z |
// <SNIPPET1>
using namespace System;
using namespace System::Threading;
using namespace System::Security;
using namespace System::Security::Policy;
using namespace System::Security::Permissions;
int main()
{
// Create a new application domain.
AppDomain^ domain = System::AppDomain::CreateDomain( "MyDomain" ... | 30.553191 | 91 | 0.698468 | BohdanMosiyuk |
54f6072aae3a4b33ad4ca7790e63ace81cc31f67 | 918 | cpp | C++ | solution088.cpp | white-shark/leetcode-cpp | ba1389d3083ee2a2bb0a232672ee316afc125b58 | [
"MIT"
] | 31 | 2016-08-18T16:30:59.000Z | 2022-02-15T11:21:39.000Z | solution088.cpp | runguanner/Leetcode | ba1389d3083ee2a2bb0a232672ee316afc125b58 | [
"MIT"
] | null | null | null | solution088.cpp | runguanner/Leetcode | ba1389d3083ee2a2bb0a232672ee316afc125b58 | [
"MIT"
] | 22 | 2017-07-17T07:30:00.000Z | 2022-01-24T08:37:15.000Z | /**
* Merge Sorted Array
* From right most to left.
*
* cpselvis (cpselvis@gmail.com)
* August 30th, 2016
*/
#include<iostream>
#include<vector>
using namespace std;
class Solution {
public:
void merge(vector<int>& nums1, int m, vector<int>& nums2, int n) {
int i = m - 1, j = n - 1, p = m + n - 1;
... | 16.105263 | 68 | 0.454248 | white-shark |
54f70c5d529d8ce17ab96cd43b0e0643029521e9 | 23,033 | cpp | C++ | demos/demo_imgui/main.cpp | cmaughan/picovim | ebf7c29c4da417ca6fed232099cb58e06ce41f58 | [
"MIT"
] | null | null | null | demos/demo_imgui/main.cpp | cmaughan/picovim | ebf7c29c4da417ca6fed232099cb58e06ce41f58 | [
"MIT"
] | null | null | null | demos/demo_imgui/main.cpp | cmaughan/picovim | ebf7c29c4da417ca6fed232099cb58e06ce41f58 | [
"MIT"
] | null | null | null | // ImGui - standalone example application for SDL2 + OpenGL
// If you are new to ImGui, see examples/README.txt and documentation at the top of imgui.cpp.
// (SDL is a cross-platform general purpose library for handling windows, inputs, OpenGL/Vulkan graphics context creation, etc.)
// (GL3W is a helper library to acce... | 34.845688 | 191 | 0.598923 | cmaughan |
54f951ae2e1e5946fe24afdd48b2a3c4e0ba362d | 7,137 | cc | C++ | slb/src/model/CreateLoadBalancerRequest.cc | sdk-team/aliyun-openapi-cpp-sdk | d0e92f6f33126dcdc7e40f60582304faf2c229b7 | [
"Apache-2.0"
] | 3 | 2020-01-06T08:23:14.000Z | 2022-01-22T04:41:35.000Z | slb/src/model/CreateLoadBalancerRequest.cc | sdk-team/aliyun-openapi-cpp-sdk | d0e92f6f33126dcdc7e40f60582304faf2c229b7 | [
"Apache-2.0"
] | null | null | null | slb/src/model/CreateLoadBalancerRequest.cc | sdk-team/aliyun-openapi-cpp-sdk | d0e92f6f33126dcdc7e40f60582304faf2c229b7 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | 24.441781 | 97 | 0.771753 | sdk-team |
54f9beecebd1b33700d4460ee5e326007602eeb7 | 668 | hpp | C++ | SymbolTable.hpp | graehu/MidiMaker | 8104a172447bc015d8854571a57976ebe6f20569 | [
"MIT"
] | 1 | 2016-04-20T11:04:32.000Z | 2016-04-20T11:04:32.000Z | SymbolTable.hpp | graehu/MidiMaker | 8104a172447bc015d8854571a57976ebe6f20569 | [
"MIT"
] | null | null | null | SymbolTable.hpp | graehu/MidiMaker | 8104a172447bc015d8854571a57976ebe6f20569 | [
"MIT"
] | null | null | null | #ifndef SYMBOLTABLE_H
#define SYMBOLTABLE_H
//#define SymbolTable::instance() SymbolTable
#include <vector>
using namespace std;
class SymbolTable
{
public:
static SymbolTable& instance()
{
static SymbolTable content;
return content;
}
struct Symbol
{
char Identifier[32];
};
char* getId(int ind... | 13.36 | 85 | 0.706587 | graehu |
54fa487bcc7b3e832a331c1df6064396bd906875 | 5,109 | hpp | C++ | source/include/coffee/dbms/datatype/Set.hpp | ciscoruiz/wepa | e6d922157543c91b6804f11073424a0a9c6e8f51 | [
"MIT"
] | 2 | 2018-02-03T06:56:29.000Z | 2021-04-20T10:28:32.000Z | source/include/coffee/dbms/datatype/Set.hpp | ciscoruiz/wepa | e6d922157543c91b6804f11073424a0a9c6e8f51 | [
"MIT"
] | 8 | 2018-02-18T21:00:07.000Z | 2018-02-20T15:31:24.000Z | source/include/coffee/dbms/datatype/Set.hpp | ciscoruiz/wepa | e6d922157543c91b6804f11073424a0a9c6e8f51 | [
"MIT"
] | 1 | 2018-02-09T07:09:26.000Z | 2018-02-09T07:09:26.000Z | // MIT License
//
// Copyright (c) 2018 Francisco Ruiz (francisco.ruiz.rayo@gmail.com)
//
// 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 limitatio... | 42.575 | 141 | 0.749853 | ciscoruiz |
54fb89ba0af0d6dcf716f01eb0e19a505b6e803b | 1,891 | cpp | C++ | Userland/Utilities/uniq.cpp | densogiaichned/serenity | 99c0b895fed02949b528437d6b450d85befde7a5 | [
"BSD-2-Clause"
] | 2 | 2022-02-16T02:12:38.000Z | 2022-02-20T18:40:41.000Z | Userland/Utilities/uniq.cpp | densogiaichned/serenity | 99c0b895fed02949b528437d6b450d85befde7a5 | [
"BSD-2-Clause"
] | null | null | null | Userland/Utilities/uniq.cpp | densogiaichned/serenity | 99c0b895fed02949b528437d6b450d85befde7a5 | [
"BSD-2-Clause"
] | null | null | null | /*
* Copyright (c) 2020, Matthew L. Curry <matthew.curry@gmail.com>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <AK/RefPtr.h>
#include <LibCore/ArgsParser.h>
#include <LibCore/System.h>
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
struct linebuf {
... | 23.6375 | 106 | 0.592279 | densogiaichned |
070100a0446b41bc82209a7fad92f23b987736a4 | 4,399 | cpp | C++ | results/Github/jtfell_c-fft/accelerated_ffta.cpp | FourierACceleratorCompiler/FACC | 601c77789114b623af8760756949d879e8398896 | [
"Apache-2.0"
] | null | null | null | results/Github/jtfell_c-fft/accelerated_ffta.cpp | FourierACceleratorCompiler/FACC | 601c77789114b623af8760756949d879e8398896 | [
"Apache-2.0"
] | 3 | 2022-02-15T16:30:06.000Z | 2022-03-05T18:21:30.000Z | results/Github/jtfell_c-fft/accelerated_ffta.cpp | j-c-w/DSPAcceleratorSupport | 0d3a686f57361d40ccc5f203e59fd019d861c53e | [
"Apache-2.0"
] | null | null | null | /* Orignal skeleton is:
Pre: SKELETON:
With the array index wrappers adi_acc_output,Annon
And (fromvars) []
Under dimensions [adi_acc_n = N]
With conversion function IdentityConversion
>(new binding):
With the array index wrappers adi_acc_n
And (fromvars) [N]
Under dimensions []
With conversion function IdentityCo... | 26.5 | 384 | 0.703796 | FourierACceleratorCompiler |
0702b69d65b38892c01ddd8c121498f9c11a5455 | 1,911 | cpp | C++ | Frame3.cpp | Svengali/cblib | 77ddfd452cff842575750b9e6d792790f5ec5fee | [
"Zlib"
] | 1 | 2021-05-01T04:34:24.000Z | 2021-05-01T04:34:24.000Z | Frame3.cpp | Svengali/cblib | 77ddfd452cff842575750b9e6d792790f5ec5fee | [
"Zlib"
] | null | null | null | Frame3.cpp | Svengali/cblib | 77ddfd452cff842575750b9e6d792790f5ec5fee | [
"Zlib"
] | null | null | null | #include "Base.h"
#include "Frame3.h"
#include "Vec3U.h"
START_CB
//////////////////////////////////////////
// NOTEZ : IMPORTANT WARNING
// the order of initialization of static class variables is
// undefined !!
// that means you CANNOT use things like Vec3::zero to initialize here !!
const Frame3 Frame3::identit... | 26.915493 | 99 | 0.540555 | Svengali |
0702f49c16d491783d894b4156f9f9f0d958b8fd | 7,696 | cpp | C++ | electroslag/application/loading_screen.cpp | jwb1/electroslag | a0f81ec6f8f8485c2418193b2e3d3f5347c92df5 | [
"Apache-2.0"
] | 1 | 2018-08-19T11:06:17.000Z | 2018-08-19T11:06:17.000Z | electroslag/application/loading_screen.cpp | jwb1/electroslag | a0f81ec6f8f8485c2418193b2e3d3f5347c92df5 | [
"Apache-2.0"
] | null | null | null | electroslag/application/loading_screen.cpp | jwb1/electroslag | a0f81ec6f8f8485c2418193b2e3d3f5347c92df5 | [
"Apache-2.0"
] | null | null | null | // Electroslag Interactive Graphics System
// Copyright 2018 Joshua Buckman
//
// 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
//
/... | 39.265306 | 144 | 0.62578 | jwb1 |
07062eaf2dfa690cb911d2211a355d9974198c61 | 627 | cpp | C++ | artery_tree/validate_tree.cpp | ncrookston/liver_source | 9876ac4e9ea57d8e23767af9be061a9b10c6f1e5 | [
"BSL-1.0"
] | null | null | null | artery_tree/validate_tree.cpp | ncrookston/liver_source | 9876ac4e9ea57d8e23767af9be061a9b10c6f1e5 | [
"BSL-1.0"
] | null | null | null | artery_tree/validate_tree.cpp | ncrookston/liver_source | 9876ac4e9ea57d8e23767af9be061a9b10c6f1e5 | [
"BSL-1.0"
] | null | null | null |
#include "liver/macrocell_tree.hpp"
#include "utility/options.hpp"
#include <boost/filesystem.hpp>
#include <boost/program_options.hpp>
namespace po = boost::program_options;
using namespace jhmi;
int main(int argc, char* argv[]) {
GOOGLE_PROTOBUF_VERIFY_VERSION;
try {
auto opts = options<treefile_option>{}... | 22.392857 | 68 | 0.684211 | ncrookston |
070b800765bbc4cb9c1983518e34cf039b379193 | 970 | hpp | C++ | include/ftl/platform/avr/utils/setbaud.hpp | nnarain/ftl | 18cb39b8214bab76e42f5fea48810279114b7e70 | [
"MIT"
] | null | null | null | include/ftl/platform/avr/utils/setbaud.hpp | nnarain/ftl | 18cb39b8214bab76e42f5fea48810279114b7e70 | [
"MIT"
] | 23 | 2021-02-14T21:26:27.000Z | 2021-06-29T23:53:51.000Z | include/ftl/platform/avr/utils/setbaud.hpp | nnarain/ftl | 18cb39b8214bab76e42f5fea48810279114b7e70 | [
"MIT"
] | null | null | null | //
// setbaud.hpp
//
// @author Natesh Narain <nnaraindev@gmail.com>
// @date Oct 30 2020
//
#ifndef FTL_PLATFORM_AVR_SETBAUD_HPP
#define FTL_PLATFORM_AVR_SETBAUD_HPP
#include <avr/io.h>
namespace ftl
{
namespace platform
{
namespace avr
{
struct BaudConfig
{
BaudConfig(uint16_t b, bool u) : baud_value{b}... | 16.166667 | 66 | 0.628866 | nnarain |
070df54df488dfb8e42548d041f7de60977c279d | 4,563 | cc | C++ | power/libperfmgr/FileNode.cc | Micha-Btz/device_xiaomi_grus | d516af03a8e7a73a34e72ef882fa6869e8ef34c3 | [
"Apache-2.0"
] | 6 | 2020-09-11T14:24:20.000Z | 2020-11-11T17:59:34.000Z | power/libperfmgr/FileNode.cc | Micha-Btz/device_xiaomi_grus | d516af03a8e7a73a34e72ef882fa6869e8ef34c3 | [
"Apache-2.0"
] | 1 | 2021-01-17T22:26:47.000Z | 2021-01-18T13:23:20.000Z | power/libperfmgr/FileNode.cc | Micha-Btz/device_xiaomi_grus | d516af03a8e7a73a34e72ef882fa6869e8ef34c3 | [
"Apache-2.0"
] | 24 | 2020-04-22T09:22:31.000Z | 2021-07-23T23:35:37.000Z | /*
* Copyright (C) 2017 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 37.097561 | 80 | 0.60881 | Micha-Btz |
070eaae8c8d0e85e0462bde9f985d348fe35af25 | 2,861 | cpp | C++ | dev/Code/Framework/AzToolsFramework/AzToolsFramework/SQLite/SQLiteQuery.cpp | jeikabu/lumberyard | 07228c605ce16cbf5aaa209a94a3cb9d6c1a4115 | [
"AML"
] | null | null | null | dev/Code/Framework/AzToolsFramework/AzToolsFramework/SQLite/SQLiteQuery.cpp | jeikabu/lumberyard | 07228c605ce16cbf5aaa209a94a3cb9d6c1a4115 | [
"AML"
] | null | null | null | dev/Code/Framework/AzToolsFramework/AzToolsFramework/SQLite/SQLiteQuery.cpp | jeikabu/lumberyard | 07228c605ce16cbf5aaa209a94a3cb9d6c1a4115 | [
"AML"
] | null | null | null | /*
* All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
* its licensors.
*
* For complete copyright and license terms please see the LICENSE at the root of this
* distribution (the "License"). All use of this software is governed by the License,
* or, if provided, by the license below or t... | 31.097826 | 98 | 0.583712 | jeikabu |
07118dc51b0e9178e490f5bd0010f0a306835df1 | 862 | cpp | C++ | 265B.cpp | felikjunvianto/kfile-codeforces-submissions | 1b53da27a294a12063b0912e12ad32efe24af678 | [
"MIT"
] | null | null | null | 265B.cpp | felikjunvianto/kfile-codeforces-submissions | 1b53da27a294a12063b0912e12ad32efe24af678 | [
"MIT"
] | null | null | null | 265B.cpp | felikjunvianto/kfile-codeforces-submissions | 1b53da27a294a12063b0912e12ad32efe24af678 | [
"MIT"
] | null | null | null | #include <cstdio>
#include <cmath>
#include <iostream>
#include <string>
#include <cstring>
#include <algorithm>
#include <vector>
#include <utility>
#include <stack>
#include <queue>
#include <map>
#define fi first
#define se second
#define pb push_back
#define mp make_pair
#define pi 2*acos(0.0)
#de... | 16.264151 | 45 | 0.539443 | felikjunvianto |
0714b75a98563b22b6b5517c77be92d6f6e78889 | 3,189 | cpp | C++ | modules/task_2/chernyh_d_simpson/main.cpp | allnes/pp_2022_spring | 159191f9c2f218f8b8487f92853cc928a7652462 | [
"BSD-3-Clause"
] | null | null | null | modules/task_2/chernyh_d_simpson/main.cpp | allnes/pp_2022_spring | 159191f9c2f218f8b8487f92853cc928a7652462 | [
"BSD-3-Clause"
] | null | null | null | modules/task_2/chernyh_d_simpson/main.cpp | allnes/pp_2022_spring | 159191f9c2f218f8b8487f92853cc928a7652462 | [
"BSD-3-Clause"
] | 2 | 2022-03-31T17:48:22.000Z | 2022-03-31T18:06:07.000Z | // Copyright 2022 Chernyh Daria
#include <gtest/gtest.h>
#include <iostream>
#include <cmath>
#include "./simpson.h"
double func_1(const std::vector<double>& x) {
return x[0];
}
double func_2(const std::vector<double>& x) {
return sin(x[0]) + cos(x[1]);
}
double func_3(const std::vector<double>& x) {
ret... | 24.159091 | 86 | 0.605205 | allnes |
0714d5926f6c823b1403d8c66b8b0b71e58ff8d7 | 3,153 | cpp | C++ | modules/task_2/rodionov_n_linked_areas_lookup_omp/main.cpp | allnes/pp_2022_spring | 159191f9c2f218f8b8487f92853cc928a7652462 | [
"BSD-3-Clause"
] | null | null | null | modules/task_2/rodionov_n_linked_areas_lookup_omp/main.cpp | allnes/pp_2022_spring | 159191f9c2f218f8b8487f92853cc928a7652462 | [
"BSD-3-Clause"
] | null | null | null | modules/task_2/rodionov_n_linked_areas_lookup_omp/main.cpp | allnes/pp_2022_spring | 159191f9c2f218f8b8487f92853cc928a7652462 | [
"BSD-3-Clause"
] | 2 | 2022-03-31T17:48:22.000Z | 2022-03-31T18:06:07.000Z | // Copyright 2022 Nikita Rodionov
#include <gtest/gtest.h>
#include <omp.h>
#include <iostream>
#include <cstdio>
#include <gtest-mpi-listener.hpp>
#include "./linked_areas.h"
const int IMAGE_SIZE1 = 10;
const int IMAGE_SIZE2 = 10;
const int IMAGE_SIZE3 = 20;
const int IMAGE_SIZE4 = 50;
const int IMAGE_SIZE5 = 100;
b... | 28.151786 | 69 | 0.671107 | allnes |
071a2bfe8f8f8718f2a40aa85c459cc111a3a0a7 | 5,054 | cpp | C++ | src/protocols/pppoe/CPPPOESessionHandler.cpp | vBRAS/OpenBRAS | cb227f48c5839ec95296c532b177a6639bfbd657 | [
"BSD-3-Clause"
] | 8 | 2017-06-05T08:56:27.000Z | 2020-04-08T16:50:11.000Z | src/protocols/pppoe/CPPPOESessionHandler.cpp | vBRAS/OpenBRAS | cb227f48c5839ec95296c532b177a6639bfbd657 | [
"BSD-3-Clause"
] | 2 | 2018-12-30T10:37:53.000Z | 2019-04-16T21:29:53.000Z | src/protocols/pppoe/CPPPOESessionHandler.cpp | vBRAS/OpenBRAS | cb227f48c5839ec95296c532b177a6639bfbd657 | [
"BSD-3-Clause"
] | 17 | 2017-06-05T08:54:27.000Z | 2021-08-29T14:19:12.000Z | /***********************************************************************
Copyright (c) 2017, The OpenBRAS project authors. 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 sou... | 31.006135 | 115 | 0.608231 | vBRAS |
071f30633689f8b7677c920a58024e7feea6ec75 | 10,567 | cpp | C++ | pnwtl/textclips/cliphandler.cpp | Adept-Space/pn | d722f408cf3c3b8d0b8028846c0199969b6a103c | [
"BSD-3-Clause"
] | null | null | null | pnwtl/textclips/cliphandler.cpp | Adept-Space/pn | d722f408cf3c3b8d0b8028846c0199969b6a103c | [
"BSD-3-Clause"
] | null | null | null | pnwtl/textclips/cliphandler.cpp | Adept-Space/pn | d722f408cf3c3b8d0b8028846c0199969b6a103c | [
"BSD-3-Clause"
] | null | null | null | /**
* @file cliphandler.cpp
* @brief Handle textclip insertion in the text view Scintilla control.
* @author Simon Steele
* @note Copyright (c) 2010+ Simon Steele - http://untidy.net/
*
* Programmer's Notepad 2 : The license file (license.[txt|html]) describes
* the conditions under which this source may be mod... | 21.521385 | 134 | 0.67408 | Adept-Space |
0722d13e06ad7e03738f80ad8f8a7b426be62ceb | 1,832 | hpp | C++ | complete_token_stream.hpp | CobaltXII/cxci | e8f7dc10ab954de504f10fca76121d0ce9de9e15 | [
"MIT"
] | null | null | null | complete_token_stream.hpp | CobaltXII/cxci | e8f7dc10ab954de504f10fca76121d0ce9de9e15 | [
"MIT"
] | null | null | null | complete_token_stream.hpp | CobaltXII/cxci | e8f7dc10ab954de504f10fca76121d0ce9de9e15 | [
"MIT"
] | null | null | null | #pragma once
#include <string>
#include <vector>
#include <sstream>
#include <iostream>
#include "ansi_colors.hpp"
#include "token_stream.hpp"
// A completed token stream.
struct complete_token_stream_t {
std::string filename;
token_stream_t input;
std::vector<token_t> tokens;
long cursor = 0;
// Default constr... | 26.941176 | 97 | 0.639192 | CobaltXII |
072377f5b45681f1d6137894ceecbb56a836635f | 412 | hpp | C++ | logos/wallet_server/client/callback_manager.hpp | LogosNetwork/logos-core | 6b155539a734efefb8f649a761d044b5f267a51a | [
"BSD-2-Clause"
] | 3 | 2020-01-17T18:05:19.000Z | 2021-12-29T04:21:59.000Z | logos/wallet_server/client/callback_manager.hpp | LogosNetwork/logos-core | 6b155539a734efefb8f649a761d044b5f267a51a | [
"BSD-2-Clause"
] | null | null | null | logos/wallet_server/client/callback_manager.hpp | LogosNetwork/logos-core | 6b155539a734efefb8f649a761d044b5f267a51a | [
"BSD-2-Clause"
] | 2 | 2020-12-22T05:51:53.000Z | 2021-06-08T00:27:46.000Z | #pragma once
#include <logos/wallet_server/client/callback_handler.hpp>
#include <logos/wallet_server/client/common.hpp>
#include <mutex>
class CallbackManager
{
using Handlers = wallet_server::client::callback::Handlers;
using Handle = wallet_server::client::callback::Handle;
public:
void OnCallback... | 18.727273 | 63 | 0.740291 | LogosNetwork |
0725ee7006458581314e05229d89b3b5256db8a9 | 6,757 | cpp | C++ | NeuralNetworkCode/src/Synapse/MongilloSynapse.cpp | SFB1089/BrainCode | d7fab1f455c2c58f9be73be47e9f4538b426155c | [
"MIT"
] | null | null | null | NeuralNetworkCode/src/Synapse/MongilloSynapse.cpp | SFB1089/BrainCode | d7fab1f455c2c58f9be73be47e9f4538b426155c | [
"MIT"
] | null | null | null | NeuralNetworkCode/src/Synapse/MongilloSynapse.cpp | SFB1089/BrainCode | d7fab1f455c2c58f9be73be47e9f4538b426155c | [
"MIT"
] | null | null | null | #include "MongilloSynapse.hpp"
MongilloSynapse::MongilloSynapse(NeuronPop * postNeurons,NeuronPop * preNeurons,GlobalSimInfo * info):Synapse(postNeurons,preNeurons,info)
{
u = 0;
tau_f = 0;
tau_d = 0;
SetSeed(0);
x.resize(GetNoNeuronsPre());
... | 37.960674 | 148 | 0.602634 | SFB1089 |
072a49d88c309999af85346f19ac1000166215e7 | 756 | cpp | C++ | tools/xml/XSDCacheAdd.cpp | nakkim/smartmet-plugin-wfs | 851334dd3be1a24b9708f66696f088fdc857a999 | [
"MIT"
] | null | null | null | tools/xml/XSDCacheAdd.cpp | nakkim/smartmet-plugin-wfs | 851334dd3be1a24b9708f66696f088fdc857a999 | [
"MIT"
] | 2 | 2018-04-17T10:02:46.000Z | 2019-10-21T08:57:55.000Z | tools/xml/XSDCacheAdd.cpp | nakkim/smartmet-plugin-wfs | 851334dd3be1a24b9708f66696f088fdc857a999 | [
"MIT"
] | 2 | 2017-05-10T12:03:51.000Z | 2021-07-06T07:05:25.000Z | #include <cassert>
#include <iostream>
#include <sstream>
#include <boost/filesystem.hpp>
#include <openssl/sha.h>
namespace fs = boost::filesystem;
int main(int argc, char* argv[])
{
assert(argc == 3);
const std::string fn = argv[1];
const std::string uri = argv[2];
std::ostringstream fn_str;
un... | 25.2 | 82 | 0.628307 | nakkim |
072d9956d942d886efe79033af00a14700d2436c | 7,921 | hpp | C++ | POC/gazebo_ros_ws/src/gazebo_ros/include/gazebo_ros/conversions/geometry_msgs.hpp | antarikshnarain/ArtemisLeapFrog | 4bfdad2f7696d5ce3de419abbd82e9a3d659ce5a | [
"BSD-3-Clause"
] | 3 | 2021-02-23T05:23:48.000Z | 2021-03-23T07:53:58.000Z | POC/gazebo_ros_ws/src/gazebo_ros/include/gazebo_ros/conversions/geometry_msgs.hpp | antarikshnarain/ArtemisLeapFrog | 4bfdad2f7696d5ce3de419abbd82e9a3d659ce5a | [
"BSD-3-Clause"
] | 1 | 2021-04-23T01:23:19.000Z | 2021-04-23T01:23:19.000Z | POC/gazebo_ros_ws/src/gazebo_ros/include/gazebo_ros/conversions/geometry_msgs.hpp | antarikshnarain/ArtemisLeapFrog | 4bfdad2f7696d5ce3de419abbd82e9a3d659ce5a | [
"BSD-3-Clause"
] | 1 | 2021-04-01T21:45:40.000Z | 2021-04-01T21:45:40.000Z | // Copyright 2018 Open Source Robotics Foundation, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by appli... | 31.062745 | 99 | 0.729201 | antarikshnarain |
072f73c771e6d77aa7e04753c36cf023299d4aff | 2,460 | cpp | C++ | Proj_Android/app/src/main/cpp/FColor.cpp | nraptis/Metal_OpenGL_MobileGameEngine | cc36682676a9797df8b3a7ee235b99be3ae2f666 | [
"MIT"
] | 3 | 2019-10-10T19:25:42.000Z | 2019-12-17T10:51:23.000Z | Framework/[C++ Core]/FColor.cpp | nraptis/Metal_OpenGL_MobileGameEngine | cc36682676a9797df8b3a7ee235b99be3ae2f666 | [
"MIT"
] | null | null | null | Framework/[C++ Core]/FColor.cpp | nraptis/Metal_OpenGL_MobileGameEngine | cc36682676a9797df8b3a7ee235b99be3ae2f666 | [
"MIT"
] | 1 | 2021-11-16T15:29:40.000Z | 2021-11-16T15:29:40.000Z |
#include "FColor.hpp"
#include "core_includes.h"
FColor::FColor(const char *pRGBAString)
{
mRed = 1.0f;
mGreen = 1.0f;
mBlue = 1.0f;
mAlpha = 1.0f;
const char *aPtr = pRGBAString;
bool aFoundHex = false;
if(aPtr)
{
while(*aPtr)
{
if((*aPtr>='0'&&*aPtr<='9')|... | 26.170213 | 141 | 0.376829 | nraptis |
0731f5ff74c870cb968cab0c81edf4e564911f7e | 13,842 | cpp | C++ | sdk/sources/sim_engine.cpp | funZX/game-sdk | 6d6cee60a1a63b5b6b3f1e9c4664ed9ed791a767 | [
"MIT"
] | 5 | 2018-11-05T12:40:53.000Z | 2020-09-05T11:37:14.000Z | sdk/sources/sim_engine.cpp | funZX/game-sdk | 6d6cee60a1a63b5b6b3f1e9c4664ed9ed791a767 | [
"MIT"
] | null | null | null | sdk/sources/sim_engine.cpp | funZX/game-sdk | 6d6cee60a1a63b5b6b3f1e9c4664ed9ed791a767 | [
"MIT"
] | null | null | null | /*
*
* MIT License
*
* SIM - OpenGL ES 2.0 portable game engine
* Copyright (C) 2012 Adrian SIMINCIUC
*
* 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,... | 24.542553 | 83 | 0.526225 | funZX |
07334a2f8d1d2d47ebf17ae17f37f3808d818da5 | 3,652 | cpp | C++ | src/app/xlink/xhhc_predict_peptide_ions.cpp | johnhalloran321/crux-toolkit | 329390c63a4ec8ab4add22d847732dfa2e7f74ca | [
"Apache-2.0"
] | 8 | 2018-02-26T00:56:14.000Z | 2021-10-31T03:45:53.000Z | src/app/xlink/xhhc_predict_peptide_ions.cpp | johnhalloran321/crux-toolkit | 329390c63a4ec8ab4add22d847732dfa2e7f74ca | [
"Apache-2.0"
] | null | null | null | src/app/xlink/xhhc_predict_peptide_ions.cpp | johnhalloran321/crux-toolkit | 329390c63a4ec8ab4add22d847732dfa2e7f74ca | [
"Apache-2.0"
] | null | null | null | #include "LinkedIonSeries.h"
#include "xhhc_scorer.h"
#include "LinkedPeptide.h"
#include "XHHC_Peptide.h"
#include "util/Params.h"
#include <iostream>
#include <fstream>
#define NUM_ARGUMENTS 6
#define NUM_OPTIONS 4
using namespace std;
int main(int argc, char** argv) {
char* peptideA = NULL;
char* peptideB = ... | 29.934426 | 121 | 0.634173 | johnhalloran321 |
0733b9cbe7a15d31fc856bb8f4b7225d44730968 | 991 | cpp | C++ | src/duke/engine/overlay/OnScreenDisplayOverlay.cpp | PaulDoessel/duke | ccead104bb856b6eec9bb44cad6fdb7a47e418c1 | [
"MIT"
] | null | null | null | src/duke/engine/overlay/OnScreenDisplayOverlay.cpp | PaulDoessel/duke | ccead104bb856b6eec9bb44cad6fdb7a47e418c1 | [
"MIT"
] | null | null | null | src/duke/engine/overlay/OnScreenDisplayOverlay.cpp | PaulDoessel/duke | ccead104bb856b6eec9bb44cad6fdb7a47e418c1 | [
"MIT"
] | null | null | null | /*
* StatusOverlay.cpp
*
* Created on: Feb 19, 2013
* Author: Guillaume Chatelet
*/
#include "OnScreenDisplayOverlay.h"
#include <duke/engine/rendering/GlyphRenderer.h>
#include <duke/engine/Context.h>
#include <duke/animation/Animation.h>
#include <algorithm>
namespace duke {
OnScreenDisplayOverlay::OnSc... | 23.595238 | 84 | 0.713421 | PaulDoessel |
0735f8ef746d1e026e5c87c74c8a5fdb90d49d87 | 1,959 | cpp | C++ | source/TalosScopePayload.cpp | damucz/talos-cpp | 1a2d445cb94bcf4597d5f7dd5882ba1a90893289 | [
"MIT"
] | 3 | 2021-11-06T09:38:20.000Z | 2022-01-11T08:32:11.000Z | source/TalosScopePayload.cpp | damucz/talos-cpp | 1a2d445cb94bcf4597d5f7dd5882ba1a90893289 | [
"MIT"
] | null | null | null | source/TalosScopePayload.cpp | damucz/talos-cpp | 1a2d445cb94bcf4597d5f7dd5882ba1a90893289 | [
"MIT"
] | null | null | null | #include "TalosScopePayload.h"
#include "values/TalosNumericalValue.h"
namespace Talos
{
ScopePayload::ScopePayload()
{
for (int i = 0; i < TLAST; ++i)
{
_map[i] = new NumericalValue;
_dynamicValues[i] = new NumericalValue;
}
}
ScopePayload::~ScopePayload()
{
... | 21.766667 | 80 | 0.583461 | damucz |
0736b4e4f7853da6c060f854b241c2e8ae820756 | 34,152 | cpp | C++ | libbiokanga/SmithWaterman.cpp | rsuchecki/biokanga | ef0fa1cf58fb2903ae18d14e5b0f84de7b7e744e | [
"MIT"
] | null | null | null | libbiokanga/SmithWaterman.cpp | rsuchecki/biokanga | ef0fa1cf58fb2903ae18d14e5b0f84de7b7e744e | [
"MIT"
] | null | null | null | libbiokanga/SmithWaterman.cpp | rsuchecki/biokanga | ef0fa1cf58fb2903ae18d14e5b0f84de7b7e744e | [
"MIT"
] | null | null | null | /*
* CSIRO Open Source Software License Agreement (GPLv3)
* Copyright (c) 2017, Commonwealth Scientific and Industrial Research Organisation (CSIRO) ABN 41 687 119 230.
* See LICENSE for the complete license information (https://github.com/csiro-crop-informatics/biokanga/LICENSE)
* Contact: Alex Whan <alex.whan... | 29.905429 | 276 | 0.688042 | rsuchecki |
0737004046b1864fa2c96acbd9b8ffff1be1e7b8 | 1,185 | cpp | C++ | DeviceCode/GHI/Libraries/GHI.OSHW.Hardware/Managed/stubs/HAL_GHI_OSHW_Hardware_LowLevel_Register.cpp | valoni/STM32F103 | 75f0cb8be593ca287a08f5992d1f5d3c3bb12bfc | [
"Apache-2.0"
] | null | null | null | DeviceCode/GHI/Libraries/GHI.OSHW.Hardware/Managed/stubs/HAL_GHI_OSHW_Hardware_LowLevel_Register.cpp | valoni/STM32F103 | 75f0cb8be593ca287a08f5992d1f5d3c3bb12bfc | [
"Apache-2.0"
] | null | null | null | DeviceCode/GHI/Libraries/GHI.OSHW.Hardware/Managed/stubs/HAL_GHI_OSHW_Hardware_LowLevel_Register.cpp | valoni/STM32F103 | 75f0cb8be593ca287a08f5992d1f5d3c3bb12bfc | [
"Apache-2.0"
] | 1 | 2019-12-03T05:37:43.000Z | 2019-12-03T05:37:43.000Z | //-----------------------------------------------------------------------------
//
// ** WARNING! **
// This file was generated automatically by a tool.
// Re-running the tool will overwrite this file.
// You should copy this file to a custom location
// before adding any customizat... | 26.333333 | 83 | 0.581435 | valoni |
07374202a97900ae656de6164961a67e3bf2e120 | 489 | hpp | C++ | 5_Processes_Signals_Files_Pipes/4_Pipes/3_Process-with-workers/src/AWorker/AWorker.hpp | PP189B/Multithreaded-programming-practice | f80378343824e51a164241289399ec92150852e8 | [
"MIT"
] | null | null | null | 5_Processes_Signals_Files_Pipes/4_Pipes/3_Process-with-workers/src/AWorker/AWorker.hpp | PP189B/Multithreaded-programming-practice | f80378343824e51a164241289399ec92150852e8 | [
"MIT"
] | null | null | null | 5_Processes_Signals_Files_Pipes/4_Pipes/3_Process-with-workers/src/AWorker/AWorker.hpp | PP189B/Multithreaded-programming-practice | f80378343824e51a164241289399ec92150852e8 | [
"MIT"
] | null | null | null | #pragma once
#include <vector>
namespace App
{
class AWorker
{
// Fields
private:
static std::vector<int> opened_sockets_;
protected:
int pid_;
int socket_;
// Constructors and destructor
public:
AWorker();
AWorker(const AWorker& other) = delete;
AWorker(AWorker&& old) =... | 13.583333 | 44 | 0.607362 | PP189B |
073b14be617bf97a34ca6ac733866aae7efbd328 | 6,267 | cpp | C++ | runtime/src/tiger-rt.cpp | tdp2110/HaskellTiger | 73b0171b45783fcc322365a55a5edc4740e5901d | [
"BSL-1.0"
] | 5 | 2019-04-05T00:07:06.000Z | 2021-11-16T14:11:02.000Z | runtime/src/tiger-rt.cpp | tdp2110/HaskellTiger | 73b0171b45783fcc322365a55a5edc4740e5901d | [
"BSL-1.0"
] | 100 | 2019-07-31T04:19:55.000Z | 2021-09-30T19:31:11.000Z | runtime/src/tiger-rt.cpp | tdp2110/HaskellTiger | 73b0171b45783fcc322365a55a5edc4740e5901d | [
"BSL-1.0"
] | null | null | null | #include "tiger-rt.hpp"
#include <cstdio>
#include <cstring>
#include <iostream>
#include <new>
#include <random>
#include <string>
#include <utility>
#include <vector>
template <typename T>
static void AssertNotNull(T const *const p, char const *const funcname) {
if (p == nullptr) {
std::cerr << "TIGER RT ERRO... | 28.747706 | 79 | 0.63986 | tdp2110 |