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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1b8d63ace9bc75c1cfa2f5753b2e2b72ff29c59e | 9,574 | cpp | C++ | modules/imgui/imguimodule.cpp | tychonaut/OpenSpace | fa5bbc5a44b3c55474a6594d8be31ce8f25150c7 | [
"MIT"
] | null | null | null | modules/imgui/imguimodule.cpp | tychonaut/OpenSpace | fa5bbc5a44b3c55474a6594d8be31ce8f25150c7 | [
"MIT"
] | null | null | null | modules/imgui/imguimodule.cpp | tychonaut/OpenSpace | fa5bbc5a44b3c55474a6594d8be31ce8f25150c7 | [
"MIT"
] | null | null | null | /*****************************************************************************************
* *
* OpenSpace *
* ... | 37.108527 | 90 | 0.488719 | tychonaut |
1b8f3b1c8d749cfc3834dff2ea86fd5095a91e05 | 2,033 | cpp | C++ | source/nyra/unittests/transform.cpp | LCClyde/WorkingTitle | f2d4c5e4d1eab597d45ef4ce586c1f8f17defa69 | [
"MIT"
] | null | null | null | source/nyra/unittests/transform.cpp | LCClyde/WorkingTitle | f2d4c5e4d1eab597d45ef4ce586c1f8f17defa69 | [
"MIT"
] | 2 | 2015-11-02T12:41:02.000Z | 2015-11-06T03:21:46.000Z | source/nyra/unittests/transform.cpp | LCClyde/WorkingTitle | f2d4c5e4d1eab597d45ef4ce586c1f8f17defa69 | [
"MIT"
] | null | null | null | /*
* The MIT License (MIT)
*
* Copyright (c) 2015 Clyde Stanfield
*
* 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 u... | 36.963636 | 79 | 0.731923 | LCClyde |
1b90b4f850955002f67f0e3a3240f84c2daa8219 | 2,033 | cpp | C++ | third_party/omr/fvtest/utiltest/main.cpp | xiacijie/omr-wala-linkage | a1aff7aef9ed131a45555451abde4615a04412c1 | [
"Apache-2.0"
] | null | null | null | third_party/omr/fvtest/utiltest/main.cpp | xiacijie/omr-wala-linkage | a1aff7aef9ed131a45555451abde4615a04412c1 | [
"Apache-2.0"
] | null | null | null | third_party/omr/fvtest/utiltest/main.cpp | xiacijie/omr-wala-linkage | a1aff7aef9ed131a45555451abde4615a04412c1 | [
"Apache-2.0"
] | null | null | null | /*******************************************************************************
* Copyright (c) 2015, 2018 IBM Corp. and others
*
* This program and the accompanying materials are made available under
* the terms of the Eclipse Public License 2.0 which accompanies this
* distribution and is available at http://ec... | 35.666667 | 135 | 0.671422 | xiacijie |
1b994fde11422c094b973ea200686c8888419e8e | 6,747 | cc | C++ | third_party/blink/renderer/core/frame/v8_scanner/scanner-character-streams.cc | 1qaz2wsx7u8i9o0p/DOM-Tree-Type | 151e4c2c85bf93ba506277486d7989361d02b54c | [
"MIT"
] | null | null | null | third_party/blink/renderer/core/frame/v8_scanner/scanner-character-streams.cc | 1qaz2wsx7u8i9o0p/DOM-Tree-Type | 151e4c2c85bf93ba506277486d7989361d02b54c | [
"MIT"
] | null | null | null | third_party/blink/renderer/core/frame/v8_scanner/scanner-character-streams.cc | 1qaz2wsx7u8i9o0p/DOM-Tree-Type | 151e4c2c85bf93ba506277486d7989361d02b54c | [
"MIT"
] | null | null | null | // Copyright 2011 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "third_party/blink/renderer/core/frame/v8_scanner/scanner-character-streams.h"
#include <memory>
#include <vector>
#include "third_party/blin... | 31.236111 | 87 | 0.716763 | 1qaz2wsx7u8i9o0p |
1b9a1dd180ffc6e64cb35e9b28a5e2ff3f593b13 | 4,242 | cpp | C++ | libraries/M10SevenSeg/src/M10SevenSeg.cpp | adinath1/A4Arduino | 54429f095223db8016ede54188cc927784f4f02b | [
"Apache-2.0"
] | null | null | null | libraries/M10SevenSeg/src/M10SevenSeg.cpp | adinath1/A4Arduino | 54429f095223db8016ede54188cc927784f4f02b | [
"Apache-2.0"
] | null | null | null | libraries/M10SevenSeg/src/M10SevenSeg.cpp | adinath1/A4Arduino | 54429f095223db8016ede54188cc927784f4f02b | [
"Apache-2.0"
] | 1 | 2021-09-06T06:20:07.000Z | 2021-09-06T06:20:07.000Z | /*
###############################################################################
# Copyright (c) 2018, PulseRain Technology LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License (LGPL) as
# published by the Free Software Foundation... | 28.28 | 97 | 0.519802 | adinath1 |
1b9a58d856a3f425718cfa0a31c8e43e354fc25f | 664 | cpp | C++ | cpp/0_check/johnstonc_programmingtoday_sourcecode/chapter04_pointers/ch4_moreptrs/ch.cpp | shadialameddin/numerical_tools_and_friends | cc9f10f58886ee286ed89080e38ebd303d3c72a5 | [
"Unlicense"
] | null | null | null | cpp/0_check/johnstonc_programmingtoday_sourcecode/chapter04_pointers/ch4_moreptrs/ch.cpp | shadialameddin/numerical_tools_and_friends | cc9f10f58886ee286ed89080e38ebd303d3c72a5 | [
"Unlicense"
] | null | null | null | cpp/0_check/johnstonc_programmingtoday_sourcecode/chapter04_pointers/ch4_moreptrs/ch.cpp | shadialameddin/numerical_tools_and_friends | cc9f10f58886ee286ed89080e38ebd303d3c72a5 | [
"Unlicense"
] | null | null | null | //Program 4-6 What are pointers pointing to?
#include <iostream.h>
#include <iomanip.h>
int main()
{
//set up variables and assign addresses into pointers
int m , *m_ptr = &m;
float p, *p_ptr = &p;
//assign values where the pointers are pointing
*m_ptr = 4;
*p_ptr = (float)3.1415... | 24.592593 | 75 | 0.555723 | shadialameddin |
1b9a6243f32680942c0ef65acfeef60fc5cefc65 | 1,080 | cpp | C++ | src/pcc/psb_cc_base.cpp | uyjulian/psbfile | 1f7a6f14a698f160b99198d985f9fa0938c5b910 | [
"MIT"
] | 41 | 2016-10-10T12:36:48.000Z | 2022-02-20T00:56:08.000Z | src/pcc/psb_cc_base.cpp | uyjulian/psbfile | 1f7a6f14a698f160b99198d985f9fa0938c5b910 | [
"MIT"
] | 3 | 2018-03-21T16:15:35.000Z | 2021-11-17T22:49:08.000Z | src/pcc/psb_cc_base.cpp | uyjulian/psbfile | 1f7a6f14a698f160b99198d985f9fa0938c5b910 | [
"MIT"
] | 12 | 2016-12-29T02:34:10.000Z | 2021-12-04T06:44:12.000Z | /*
KRKR PSBFILE Compiler/Decompiler
Author:201724
QQ:495159
EMail:number201724@me.com
*/
#include "def.h"
#include "psb_cc_base.h"
psb_cc_base::psb_cc_base(psb_value_t::type_t type) : _data(NULL), _length(0), _type(type), _cc(NULL)
{
}
psb_cc_base::psb_cc_base(psb_cc* cc, psb_value_t::type_t type) :_cc(cc), _data(NU... | 15 | 138 | 0.676852 | uyjulian |
1b9a6a9711be571fa5c98cf70546f9764438d1ae | 119 | cpp | C++ | sources/kimpc/ardsim/Keypad.cpp | BleuLlama/kim_uno_remix | 908c9e770a9980a88f0663b3ad67cec507cd8301 | [
"MIT"
] | 5 | 2015-04-07T02:20:05.000Z | 2021-03-06T09:09:59.000Z | sources/kimpc/ardsim/Keypad.cpp | BleuLlama/kim_uno_remix | 908c9e770a9980a88f0663b3ad67cec507cd8301 | [
"MIT"
] | null | null | null | sources/kimpc/ardsim/Keypad.cpp | BleuLlama/kim_uno_remix | 908c9e770a9980a88f0663b3ad67cec507cd8301 | [
"MIT"
] | 4 | 2016-03-02T03:07:33.000Z | 2021-03-06T09:12:29.000Z |
#include "Keypad.h"
Keypad::Keypad(char *userKeymap, byte *row, byte *col, byte rows, byte cols)
{
/* nothing */
}
| 14.875 | 77 | 0.647059 | BleuLlama |
1ba21795be4e33ff522d8b9084a0393c0cf8a96c | 5,041 | hpp | C++ | cpp/subprojects/common/include/common/data/view_csr_binary.hpp | mrapp-ke/SyndromeLearner | ed18c282949bebbc8e1dd5d2ddfb0b224ee71293 | [
"MIT"
] | null | null | null | cpp/subprojects/common/include/common/data/view_csr_binary.hpp | mrapp-ke/SyndromeLearner | ed18c282949bebbc8e1dd5d2ddfb0b224ee71293 | [
"MIT"
] | null | null | null | cpp/subprojects/common/include/common/data/view_csr_binary.hpp | mrapp-ke/SyndromeLearner | ed18c282949bebbc8e1dd5d2ddfb0b224ee71293 | [
"MIT"
] | 1 | 2022-03-08T22:06:56.000Z | 2022-03-08T22:06:56.000Z | /*
* @author Michael Rapp (mrapp@ke.tu-darmstadt.de)
*/
#pragma once
#include "common/indices/index_forward_iterator.hpp"
/**
* Implements row-wise read-only access to binary values that are stored in a pre-allocated matrix in the compressed
* sparse row (CSR) format.
*/
class BinaryCsrConstView {
protecte... | 35.006944 | 120 | 0.594922 | mrapp-ke |
1ba25478ed9db1f61a3e9c49e3dd72b0103eea87 | 2,915 | cpp | C++ | Tutorials/AMR_Adv_C/Source/Adv_advance.cpp | Voskrese/BoxLib-old-msvc | da83349af10ef8f951b7a5b3182fc7cd710abeec | [
"BSD-3-Clause-LBNL"
] | null | null | null | Tutorials/AMR_Adv_C/Source/Adv_advance.cpp | Voskrese/BoxLib-old-msvc | da83349af10ef8f951b7a5b3182fc7cd710abeec | [
"BSD-3-Clause-LBNL"
] | null | null | null | Tutorials/AMR_Adv_C/Source/Adv_advance.cpp | Voskrese/BoxLib-old-msvc | da83349af10ef8f951b7a5b3182fc7cd710abeec | [
"BSD-3-Clause-LBNL"
] | 1 | 2019-08-06T13:09:09.000Z | 2019-08-06T13:09:09.000Z |
#include <Adv.H>
#include <Adv_F.H>
Real
Adv::advance (Real time,
Real dt,
int iteration,
int ncycle)
{
for (int k = 0; k < NUM_STATE_TYPE; k++) {
state[k].allocOldData();
state[k].swapTimeLevels(dt);
}
MultiFab& S_new = get_new_data(State_Type)... | 24.91453 | 75 | 0.592453 | Voskrese |
1ba2a2866b3a3a4557bc420ed3df7293d4522457 | 2,128 | cc | C++ | arch/mx/decoder.cc | Gandalf-ND/fluxengine | 683bdcdf7f9147b43da90467e545fe0c78d6dcd1 | [
"MIT"
] | null | null | null | arch/mx/decoder.cc | Gandalf-ND/fluxengine | 683bdcdf7f9147b43da90467e545fe0c78d6dcd1 | [
"MIT"
] | null | null | null | arch/mx/decoder.cc | Gandalf-ND/fluxengine | 683bdcdf7f9147b43da90467e545fe0c78d6dcd1 | [
"MIT"
] | null | null | null | #include "globals.h"
#include "decoders/decoders.h"
#include "mx/mx.h"
#include "crc.h"
#include "fluxmap.h"
#include "decoders/fluxmapreader.h"
#include "sector.h"
#include "record.h"
#include "track.h"
#include <string.h>
const int SECTOR_SIZE = 256;
/*
* MX disks are a bunch of sectors glued together with no gaps... | 28 | 88 | 0.656955 | Gandalf-ND |
1ba4197170a3c0d9c397896e00527355f5165170 | 4,942 | cc | C++ | src/ufo/filters/obsfunctions/BgdDepartureAnomaly.cc | NOAA-EMC/ufo | 3bf1407731b79eab16ceff64129552577d9cfcd0 | [
"Apache-2.0"
] | null | null | null | src/ufo/filters/obsfunctions/BgdDepartureAnomaly.cc | NOAA-EMC/ufo | 3bf1407731b79eab16ceff64129552577d9cfcd0 | [
"Apache-2.0"
] | 10 | 2020-12-10T22:57:51.000Z | 2020-12-17T15:57:04.000Z | src/ufo/filters/obsfunctions/BgdDepartureAnomaly.cc | NOAA-EMC/ufo | 3bf1407731b79eab16ceff64129552577d9cfcd0 | [
"Apache-2.0"
] | 3 | 2020-12-10T18:38:22.000Z | 2020-12-11T01:36:37.000Z | /*
* (C) Copyright 2021 Met Office UK
*
* This software is licensed under the terms of the Apache Licence Version 2.0
* which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
*/
#include <memory>
#include "ioda/distribution/Accumulator.h"
#include "ioda/ObsDataVector.h"
#include "oops/util/missingV... | 36.880597 | 94 | 0.660461 | NOAA-EMC |
1ba4b8b102907257247ea72aee9b2eaa89429156 | 6,905 | cc | C++ | tensorflow_io/bigquery/kernels/test_kernels/bigquery_test_client_op.cc | rjpower/tensorflow-io | 39aa0b46cfaa403121fdddbd491a03d2f3190a87 | [
"Apache-2.0"
] | null | null | null | tensorflow_io/bigquery/kernels/test_kernels/bigquery_test_client_op.cc | rjpower/tensorflow-io | 39aa0b46cfaa403121fdddbd491a03d2f3190a87 | [
"Apache-2.0"
] | null | null | null | tensorflow_io/bigquery/kernels/test_kernels/bigquery_test_client_op.cc | rjpower/tensorflow-io | 39aa0b46cfaa403121fdddbd491a03d2f3190a87 | [
"Apache-2.0"
] | null | null | null | /* Copyright 2018 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | 41.10119 | 86 | 0.623461 | rjpower |
1ba9757b17aa5ed9852294b0a4d569ae7aaa3de2 | 5,074 | hpp | C++ | include/EntryPoint.hpp | NaioTechnologies/camCapture | 2af0ecbfe3b84fdeed8667ee73401cbfe22766cc | [
"MIT"
] | 1 | 2019-08-28T13:42:21.000Z | 2019-08-28T13:42:21.000Z | include/EntryPoint.hpp | NaioTechnologies/camCapture | 2af0ecbfe3b84fdeed8667ee73401cbfe22766cc | [
"MIT"
] | null | null | null | include/EntryPoint.hpp | NaioTechnologies/camCapture | 2af0ecbfe3b84fdeed8667ee73401cbfe22766cc | [
"MIT"
] | 1 | 2021-02-18T23:17:45.000Z | 2021-02-18T23:17:45.000Z | //==================================================================================================
//
// Copyright(c) 2013 - 2015 Naïo Technologies
//
// 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 ... | 29.847059 | 100 | 0.539417 | NaioTechnologies |
1baacc10653cb8db8cbbb6feb1b11b4bb3beebfc | 1,357 | cpp | C++ | Source/DACore/DUtil.cpp | XDApp/DawnAppFramework | 8655de88200e847ce0e822899395247ade515bc6 | [
"MIT"
] | 1 | 2015-07-13T11:45:18.000Z | 2015-07-13T11:45:18.000Z | Source/DACore/DUtil.cpp | XDApp/DawnAppFramework | 8655de88200e847ce0e822899395247ade515bc6 | [
"MIT"
] | null | null | null | Source/DACore/DUtil.cpp | XDApp/DawnAppFramework | 8655de88200e847ce0e822899395247ade515bc6 | [
"MIT"
] | null | null | null | #include "stdafx.h"
#include "DUtil.h"
std::wstring_convert<std::codecvt_utf16<wchar_t>> DUtil::converter;
DUtil::DUtil()
{
}
DUtil::~DUtil()
{
}
std::wstring DUtil::StringAtoW(const std::string &Origin)
{
return DUtil::converter.from_bytes(Origin);
}
std::string DUtil::StringWtoA(const std::wstring &Origin)
{
... | 17.623377 | 67 | 0.676492 | XDApp |
1babcf3f19fc09aa66c30129945e65a4c3f29318 | 2,848 | hh | C++ | src/c++/include/main/GenomeMutatorOptions.hh | sequencing/EAGLE | 6da0438c1f7620ea74dec1f34baf20bb0b14b110 | [
"BSD-3-Clause"
] | 28 | 2015-05-22T16:03:29.000Z | 2022-01-15T12:12:46.000Z | src/c++/include/main/GenomeMutatorOptions.hh | sequencing/EAGLE | 6da0438c1f7620ea74dec1f34baf20bb0b14b110 | [
"BSD-3-Clause"
] | 15 | 2015-10-21T11:19:09.000Z | 2020-07-15T05:01:12.000Z | src/c++/include/main/GenomeMutatorOptions.hh | sequencing/EAGLE | 6da0438c1f7620ea74dec1f34baf20bb0b14b110 | [
"BSD-3-Clause"
] | 8 | 2017-01-21T00:31:17.000Z | 2018-08-12T13:28:57.000Z | /**
** Copyright (c) 2014 Illumina, Inc.
**
** This file is part of Illumina's Enhanced Artificial Genome Engine (EAGLE),
** covered by the "BSD 2-Clause License" (see accompanying LICENSE file)
**
** \description Command line options for 'variantModelling'
**
** \author Mauricio Varea
**/
#ifndef EAGLE_MAIN_... | 37.473684 | 125 | 0.534059 | sequencing |
1bb15126aaa1a5bc5954e1580b36ffb405c2244a | 4,864 | cpp | C++ | Mongoose/Source/Mongoose_IO.cpp | gabrielfougeron/SuiteSparse | f196042715861c28846f3e01a394931c00860de2 | [
"Apache-2.0"
] | 370 | 2015-01-30T01:04:37.000Z | 2022-03-26T18:48:39.000Z | Mongoose/Source/Mongoose_IO.cpp | gabrielfougeron/SuiteSparse | f196042715861c28846f3e01a394931c00860de2 | [
"Apache-2.0"
] | 85 | 2015-02-03T22:57:35.000Z | 2021-12-17T12:39:55.000Z | Mongoose/Source/Mongoose_IO.cpp | gabrielfougeron/SuiteSparse | f196042715861c28846f3e01a394931c00860de2 | [
"Apache-2.0"
] | 234 | 2015-01-14T15:09:09.000Z | 2022-03-26T18:48:41.000Z | /* ========================================================================== */
/* === Source/Mongoose_IO.cpp =============================================== */
/* ========================================================================== */
/* -------------------------------------------------------------------------... | 27.480226 | 80 | 0.558388 | gabrielfougeron |
1bb4055254f0051d2870fbe910e9acb35bca88dc | 1,579 | cpp | C++ | Gep/Source/ps2/file.cpp | Sunlitspace542/SNESticle | 9590ebf3bf768424ebd6cb018f322e724a7aade3 | [
"MIT"
] | 318 | 2022-01-15T23:35:01.000Z | 2022-03-24T13:37:20.000Z | Gep/Source/ps2/file.cpp | Sunlitspace542/SNESticle | 9590ebf3bf768424ebd6cb018f322e724a7aade3 | [
"MIT"
] | 2 | 2022-01-25T23:58:23.000Z | 2022-01-30T21:59:09.000Z | Gep/Source/ps2/file.cpp | Sunlitspace542/SNESticle | 9590ebf3bf768424ebd6cb018f322e724a7aade3 | [
"MIT"
] | 46 | 2022-01-17T22:46:08.000Z | 2022-03-06T16:52:00.000Z |
//#include <sys/stat.h>
//#include <stdlib.h>
//#include <stdio.h>
#include <fileio.h>
#include "types.h"
#include "file.h"
Bool FileReadMem(Char *pFilePath, void *pMem, Uint32 nBytes)
{
#if 0
FILE *pFile;
pFile = fopen(pFilePath, "rb");
if (pFile)
{
Uint32 nReadBytes;
nReadBytes = fread... | 15.182692 | 62 | 0.602913 | Sunlitspace542 |
1bb5f45c42ace30cd11f4ba10eff08925e217de5 | 5,137 | cpp | C++ | holdem/src/LYHoldemTrunk.cpp | caiqingfeng/libpoker | a2c60884fc5c8e31455fb39e432c49e0df55956b | [
"Apache-2.0"
] | 1 | 2021-04-20T06:22:30.000Z | 2021-04-20T06:22:30.000Z | holdem/src/LYHoldemTrunk.cpp | caiqingfeng/libpoker | a2c60884fc5c8e31455fb39e432c49e0df55956b | [
"Apache-2.0"
] | null | null | null | holdem/src/LYHoldemTrunk.cpp | caiqingfeng/libpoker | a2c60884fc5c8e31455fb39e432c49e0df55956b | [
"Apache-2.0"
] | 2 | 2020-10-29T08:21:22.000Z | 2020-12-02T06:40:18.000Z | /*
* LYHoldemTrunk.cpp
*
* Created on: 2013-7-5
* Author: caiqingfeng
*/
#include <cstdlib>
#include "LYHoldemTrunk.h"
#include "LYHoldemTable.h"
#include "LYHoldemGame.h"
//#include <boost/foreach.hpp>
//#include "common/src/my_log.h"
LYHoldemTrunk:: LYHoldemTrunk(const std::string &trunk_id, const std::s... | 25.058537 | 125 | 0.696905 | caiqingfeng |
1bb8d67c0f9a83627c2c6eddd412be78c9295d64 | 5,467 | cpp | C++ | src/frameworks/av/media/libmedia/IMediaHTTPConnection.cpp | dAck2cC2/m3e | 475b89b59d5022a94e00b636438b25e27e4eaab2 | [
"Apache-2.0"
] | null | null | null | src/frameworks/av/media/libmedia/IMediaHTTPConnection.cpp | dAck2cC2/m3e | 475b89b59d5022a94e00b636438b25e27e4eaab2 | [
"Apache-2.0"
] | null | null | null | src/frameworks/av/media/libmedia/IMediaHTTPConnection.cpp | dAck2cC2/m3e | 475b89b59d5022a94e00b636438b25e27e4eaab2 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (C) 2013 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... | 26.668293 | 76 | 0.600878 | dAck2cC2 |
1bb9a61043791730943e9a2018a2d27aec1a13d0 | 12,855 | cpp | C++ | MATLAB Files/StarshotACS1_ert_rtw/StarshotACS1.cpp | Natsoulas/ACS | aac4468e2bcd71eee61d89e9483a5dc9ef7302c1 | [
"MIT"
] | null | null | null | MATLAB Files/StarshotACS1_ert_rtw/StarshotACS1.cpp | Natsoulas/ACS | aac4468e2bcd71eee61d89e9483a5dc9ef7302c1 | [
"MIT"
] | null | null | null | MATLAB Files/StarshotACS1_ert_rtw/StarshotACS1.cpp | Natsoulas/ACS | aac4468e2bcd71eee61d89e9483a5dc9ef7302c1 | [
"MIT"
] | 1 | 2022-03-18T18:57:10.000Z | 2022-03-18T18:57:10.000Z | //
// Academic License - for use in teaching, academic research, and meeting
// course requirements at degree granting institutions only. Not for
// government, commercial, or other organizational use.
//
// File: StarshotACS1.cpp
//
// Code generated for Simulink model 'StarshotACS1'.
//
// Model version ... | 29.349315 | 83 | 0.629094 | Natsoulas |
1bbb6e029620e5e3a94d0818b318f66b513abf15 | 49,004 | cpp | C++ | src/vulkan/scene.cpp | shacklettbp/rlpbr | 5d6f65ca223fccb6abeb56c63b3043eef46abf57 | [
"MIT"
] | 13 | 2022-02-04T19:26:47.000Z | 2022-02-22T09:37:51.000Z | src/vulkan/scene.cpp | shacklettbp/rlpbr | 5d6f65ca223fccb6abeb56c63b3043eef46abf57 | [
"MIT"
] | null | null | null | src/vulkan/scene.cpp | shacklettbp/rlpbr | 5d6f65ca223fccb6abeb56c63b3043eef46abf57 | [
"MIT"
] | null | null | null | #include "scene.hpp"
#include <vulkan/vulkan_core.h>
#include "rlpbr_core/utils.hpp"
#include "shader.hpp"
#include "utils.hpp"
#include <glm/gtc/type_ptr.hpp>
#include <glm/gtx/string_cast.hpp>
#include <cassert>
#include <cstring>
#include <iostream>
#include <unordered_map>
#define STB_IMAGE_IMPLEMENTATION
#incl... | 35.691187 | 85 | 0.653436 | shacklettbp |
1bbdc79532f96536257f9f19ccabae3020b510d2 | 3,323 | cpp | C++ | src/renderer/rt/objects/extern.cpp | gartenriese2/monorenderer | 56c6754b2b765d5841fe73fb43ea49438f5dd96f | [
"MIT"
] | null | null | null | src/renderer/rt/objects/extern.cpp | gartenriese2/monorenderer | 56c6754b2b765d5841fe73fb43ea49438f5dd96f | [
"MIT"
] | null | null | null | src/renderer/rt/objects/extern.cpp | gartenriese2/monorenderer | 56c6754b2b765d5841fe73fb43ea49438f5dd96f | [
"MIT"
] | null | null | null | #include "extern.hpp"
#include <MonoEngine/core/log.hpp>
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wfloat-equal"
#pragma GCC diagnostic ignored "-Wconversion"
#include <assimp/Importer.hpp>
#include <assimp/scene.h>
#pragma GCC diagnostic pop
#include <assimp/postprocess.h>
#include <glm/glm.hpp>
... | 29.669643 | 107 | 0.647006 | gartenriese2 |
1bbf7ecaf3a304724db01622d481b4650767f2a3 | 646 | hpp | C++ | runtime/waitgroup.hpp | vron/compute | 25c57423a77171bdcf18e6ee17316cc295ea5469 | [
"Unlicense"
] | 6 | 2020-07-24T15:29:38.000Z | 2021-03-09T05:16:58.000Z | runtime/waitgroup.hpp | vron/compute | 25c57423a77171bdcf18e6ee17316cc295ea5469 | [
"Unlicense"
] | 1 | 2020-07-27T12:24:50.000Z | 2020-08-15T11:18:22.000Z | runtime/waitgroup.hpp | vron/compute | 25c57423a77171bdcf18e6ee17316cc295ea5469 | [
"Unlicense"
] | 1 | 2021-03-09T02:25:09.000Z | 2021-03-09T02:25:09.000Z | #pragma once
#include <condition_variable>
#include <mutex>
template <class T> class WaitGroup {
std::mutex m;
std::condition_variable cv;
T counter;
public:
WaitGroup() : counter(0) {};
~WaitGroup(){};
void add(T n) {
std::lock_guard<std::mutex> lk(m);
counter += n;
}
void done() {
bool... | 17.459459 | 55 | 0.557276 | vron |
1bc313d041ed043298578ce482c9df781a7a3c38 | 6,327 | cpp | C++ | src/cvar/cameraCalibration.cpp | vnm-interactive/Cinder-MarkerlessAR | 28db3199d92145cfb143c4cc457e2b8b013f5729 | [
"MIT"
] | null | null | null | src/cvar/cameraCalibration.cpp | vnm-interactive/Cinder-MarkerlessAR | 28db3199d92145cfb143c4cc457e2b8b013f5729 | [
"MIT"
] | null | null | null | src/cvar/cameraCalibration.cpp | vnm-interactive/Cinder-MarkerlessAR | 28db3199d92145cfb143c4cc457e2b8b013f5729 | [
"MIT"
] | null | null | null | /*M///////////////////////////////////////////////////////////////////////////////////////
//
// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
//
// By downloading, copying, installing or using the software you agree to this license.
// If you do not agree to this license, do not download, instal... | 30.128571 | 132 | 0.706654 | vnm-interactive |
1bc55f8f655ef35887559e1a5d08e4b5cfbd86da | 3,838 | cpp | C++ | src/mapart/map_nbt.cpp | AgustinSRG/ImageToMapMC | fbff8017e87c30baaa0c9c2327bdd28846253646 | [
"MIT"
] | null | null | null | src/mapart/map_nbt.cpp | AgustinSRG/ImageToMapMC | fbff8017e87c30baaa0c9c2327bdd28846253646 | [
"MIT"
] | null | null | null | src/mapart/map_nbt.cpp | AgustinSRG/ImageToMapMC | fbff8017e87c30baaa0c9c2327bdd28846253646 | [
"MIT"
] | null | null | null | /*
* This file is part of ImageToMapMC project
*
* Copyright (c) 2021 Agustin San Roman
*
* 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 limit... | 28.857143 | 123 | 0.656592 | AgustinSRG |
1bca8822cc7f4e1d41211158ff39b24eb841a77e | 10,247 | cpp | C++ | Src/Eni/UsbDevice/Stm/USBDDevice.cpp | vlad230596/Eni | 2bbd07b6e4e20b2c2a6ad6fdc9d948e6352eecb7 | [
"MIT"
] | null | null | null | Src/Eni/UsbDevice/Stm/USBDDevice.cpp | vlad230596/Eni | 2bbd07b6e4e20b2c2a6ad6fdc9d948e6352eecb7 | [
"MIT"
] | null | null | null | Src/Eni/UsbDevice/Stm/USBDDevice.cpp | vlad230596/Eni | 2bbd07b6e4e20b2c2a6ad6fdc9d948e6352eecb7 | [
"MIT"
] | null | null | null | #include "EniConfig.h"
#if defined(ENI_USB_DEVICE) && defined(ENI_STM)
#include "UsbDDevice.h"
#include "usbd_conf.h"
#include "Core/usbd_def.h"
#include "Core/usbd_ioreq.h"
#include "Core/usbd_ctlreq.h"
#include "Core/usbd_core.h"
#include ENI_HAL_INCLUDE_FILE
#include "USBTypes.h"
#include "UsbMicrosoftTypes.h"
#i... | 29.110795 | 132 | 0.760027 | vlad230596 |
1bcd386bae008d200b1b68a5f70bff7ccfe2d92c | 706 | cpp | C++ | src/main.cpp | QQB17/simple_log | e800cce5bde4e04bc9d91d1180a6c28a1b658c69 | [
"MIT"
] | null | null | null | src/main.cpp | QQB17/simple_log | e800cce5bde4e04bc9d91d1180a6c28a1b658c69 | [
"MIT"
] | null | null | null | src/main.cpp | QQB17/simple_log | e800cce5bde4e04bc9d91d1180a6c28a1b658c69 | [
"MIT"
] | null | null | null | #include <iostream>
#include "logger.h"
int main()
{
// Simple log message
qlog::log("Hello world!");
// Select log_level
qlog::log(log_level::level::debug, "Debuging: ", "Selected log level");
// Debug log
qlog::debug("This is a debug message.");
// Info log
qlog::info("Informatio... | 22.774194 | 83 | 0.621813 | QQB17 |
1bce55470ec93585ddba0657ed132f96c2a85aec | 1,627 | hpp | C++ | src/MarkerInterval.hpp | rlorigro/shasta | 06522d841362ee22265d006062759b0cbcf3a1ea | [
"BSD-3-Clause-Open-MPI"
] | 1 | 2019-02-11T02:46:16.000Z | 2019-02-11T02:46:16.000Z | src/MarkerInterval.hpp | rlorigro/shasta | 06522d841362ee22265d006062759b0cbcf3a1ea | [
"BSD-3-Clause-Open-MPI"
] | null | null | null | src/MarkerInterval.hpp | rlorigro/shasta | 06522d841362ee22265d006062759b0cbcf3a1ea | [
"BSD-3-Clause-Open-MPI"
] | 1 | 2019-08-14T22:56:29.000Z | 2019-08-14T22:56:29.000Z | #ifndef SHASTA_MARKER_INTERVAL_HPP
#define SHASTA_MARKER_INTERVAL_HPP
// Shasta.
#include "ReadId.hpp"
#include"tuple.hpp"
// Standard library.
#include "array.hpp"
namespace shasta {
class MarkerInterval;
class MarkerIntervalWithRepeatCounts;
}
// Class to describe the interval between
// two markers on a... | 23.57971 | 74 | 0.672403 | rlorigro |
1bd6375b3f8a52ee376f3ed86437ace1b3a75d38 | 2,788 | cpp | C++ | solved-lightOj/1220.cpp | Maruf-Tuhin/Online_Judge | cf9b2a522e8b1a9623d3996a632caad7fd67f751 | [
"MIT"
] | 1 | 2019-03-31T05:47:30.000Z | 2019-03-31T05:47:30.000Z | solved-lightOj/1220.cpp | the-redback/competitive-programming | cf9b2a522e8b1a9623d3996a632caad7fd67f751 | [
"MIT"
] | null | null | null | solved-lightOj/1220.cpp | the-redback/competitive-programming | cf9b2a522e8b1a9623d3996a632caad7fd67f751 | [
"MIT"
] | null | null | null | /**
* @author : Maruf Tuhin
* @College : CUET CSE 11
* @Topcoder : the_redback
* @CodeForces : the_redback
* @UVA : the_redback
* @link : http://www.fb.com/maruf.2hin
*/
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef unsigned long lo... | 20.350365 | 102 | 0.455524 | Maruf-Tuhin |
1bd89cca521d094d1cd134dc7bfc1de501552147 | 948 | hpp | C++ | RubetekIOS-CPP.framework/Versions/A/Headers/libnet/dawn/string_method.hpp | yklishevich/RubetekIOS-CPP-releases | 7dfbbb45b8de7dbb6fa995ff5dcbca4ec06c2bdb | [
"MIT"
] | null | null | null | RubetekIOS-CPP.framework/Versions/A/Headers/libnet/dawn/string_method.hpp | yklishevich/RubetekIOS-CPP-releases | 7dfbbb45b8de7dbb6fa995ff5dcbca4ec06c2bdb | [
"MIT"
] | null | null | null | RubetekIOS-CPP.framework/Versions/A/Headers/libnet/dawn/string_method.hpp | yklishevich/RubetekIOS-CPP-releases | 7dfbbb45b8de7dbb6fa995ff5dcbca4ec06c2bdb | [
"MIT"
] | null | null | null | #pragma once
#include <string>
namespace dawn
{
inline void string_pop_front(std::string& s, size_t n)
{
s = s.substr(n);
}
inline bool string_pop_front_if_find(std::string& s, std::string const& w)
{
size_t const pos = s.find(w);
if (pos == std::string::npos) return false... | 25.621622 | 87 | 0.549578 | yklishevich |
1bdb8642d7c9b5cf912f7b4b68073aa0aa0c49e6 | 1,560 | cpp | C++ | homework/Pashchenko/01/hw02.cpp | nkotelevskii/msu_cpp_spring_2018 | b5d84447f9b8c7f3615b421c51cf4192f1b90342 | [
"MIT"
] | 12 | 2018-02-20T15:25:12.000Z | 2022-02-15T03:31:55.000Z | homework/Pashchenko/01/hw02.cpp | nkotelevskii/msu_cpp_spring_2018 | b5d84447f9b8c7f3615b421c51cf4192f1b90342 | [
"MIT"
] | 1 | 2018-02-26T12:40:47.000Z | 2018-02-26T12:40:47.000Z | homework/Pashchenko/01/hw02.cpp | nkotelevskii/msu_cpp_spring_2018 | b5d84447f9b8c7f3615b421c51cf4192f1b90342 | [
"MIT"
] | 33 | 2018-02-20T15:25:11.000Z | 2019-02-13T22:33:36.000Z | #include <iostream>
#include "numbers.dat"
void sieve(bool *primes, int len)
{
for(int i = 0; i < len; i++)
primes[i] = true;
primes[0] = primes[1] = false;
for (int i = 2; i < len; i++)
{
if (primes[i])
{
for (int j = 2 * i; j < len; j += i)
primes... | 16.595745 | 48 | 0.398077 | nkotelevskii |
1bdc4885c28ba7c99411d2f285e03d1db51cce5f | 3,900 | cc | C++ | src/PhysListParticles.cc | hbidaman/detectorSimulations_v10 | 6ceae8e9561638d5a3c886571f60141abc09922c | [
"MIT"
] | 1 | 2020-06-26T15:29:46.000Z | 2020-06-26T15:29:46.000Z | src/PhysListParticles.cc | hbidaman/detectorSimulations_v10 | 6ceae8e9561638d5a3c886571f60141abc09922c | [
"MIT"
] | 1 | 2020-08-05T18:03:43.000Z | 2020-08-05T18:03:43.000Z | src/PhysListParticles.cc | hbidaman/detectorSimulations_v10 | 6ceae8e9561638d5a3c886571f60141abc09922c | [
"MIT"
] | 1 | 2020-06-08T14:21:23.000Z | 2020-06-08T14:21:23.000Z | //
// ********************************************************************
// * License and Disclaimer *
// * *
// * The Geant4 software is copyright of the Copyright Holders of *
// * the Geant4 Collaboration... | 33.333333 | 80 | 0.642564 | hbidaman |
1bdc71c2b1af4f9a4743741f85a126d6acc92bea | 2,983 | cpp | C++ | external/text/example/editor/curses_interface.cpp | geenen124/iresearch | f89902a156619429f9e8df94bd7eea5a78579dbc | [
"Apache-2.0"
] | 12,278 | 2015-01-29T17:11:33.000Z | 2022-03-31T21:12:00.000Z | external/text/example/editor/curses_interface.cpp | geenen124/iresearch | f89902a156619429f9e8df94bd7eea5a78579dbc | [
"Apache-2.0"
] | 9,469 | 2015-01-30T05:33:07.000Z | 2022-03-31T16:17:21.000Z | external/text/example/editor/curses_interface.cpp | geenen124/iresearch | f89902a156619429f9e8df94bd7eea5a78579dbc | [
"Apache-2.0"
] | 892 | 2015-01-29T16:26:19.000Z | 2022-03-20T07:44:30.000Z | // Copyright (C) 2020 T. Zachary Laine
//
// Distributed under the Boost Software License, Version 1.0. (See
// accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#include "curses_interface.hpp"
extern "C" {
#include <ncurses.h>
}
curses_interface_t::curses_interface_t() : win_(ini... | 27.878505 | 79 | 0.602749 | geenen124 |
1be01f08d164fc69baeb7682f3aab33360199da3 | 2,887 | cpp | C++ | src/Http/HttpContext.cpp | MisakiOfScut/SingHttpServer | 039636d7cee16ccc46c281456d71a410f3f16e23 | [
"Apache-2.0"
] | 1 | 2021-03-05T09:27:35.000Z | 2021-03-05T09:27:35.000Z | src/Http/HttpContext.cpp | MisakiOfScut/SingHttpServer | 039636d7cee16ccc46c281456d71a410f3f16e23 | [
"Apache-2.0"
] | null | null | null | src/Http/HttpContext.cpp | MisakiOfScut/SingHttpServer | 039636d7cee16ccc46c281456d71a410f3f16e23 | [
"Apache-2.0"
] | null | null | null | #include "HttpContext.h"
#include <unistd.h>
#include <iostream>
#include <bits/types/struct_iovec.h>
using namespace sing;
HttpContext::HttpContext(int fd)
:state(REQUEST_LINE),fd(fd),working(false){
assert(fd>=0);
}
HttpContext::~HttpContext(){
close(fd);// FIX ME
}
bool HttpContext::parseRequest(){
... | 25.776786 | 81 | 0.472116 | MisakiOfScut |
1be0a95f175a7c09216195eede94d650accf8a95 | 5,230 | cc | C++ | third_party/chromium/mp4/src/mp4/video_codecs.cc | google/ndash | 1465e2fb851ee17fd235280bdbbbf256e5af8044 | [
"Apache-2.0"
] | 41 | 2017-04-19T19:38:10.000Z | 2021-09-07T02:40:27.000Z | third_party/chromium/mp4/src/mp4/video_codecs.cc | google/ndash | 1465e2fb851ee17fd235280bdbbbf256e5af8044 | [
"Apache-2.0"
] | 8 | 2017-04-21T16:40:09.000Z | 2019-12-09T19:48:40.000Z | third_party/chromium/mp4/src/mp4/video_codecs.cc | google/ndash | 1465e2fb851ee17fd235280bdbbbf256e5af8044 | [
"Apache-2.0"
] | 19 | 2017-04-24T14:43:18.000Z | 2022-03-17T19:13:45.000Z | // Copyright 2015 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 "mp4/video_codecs.h"
#include "base/logging.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/string_split.h"
#inclu... | 29.055556 | 79 | 0.673423 | google |
1be324fe4fb70a4b08022431c19002cb56571040 | 6,046 | cpp | C++ | ASSIGNMENTS_MCA_3RD_SEM/Section B/Q9/q9.cpp | therishh/Data-Structures-and-Algorithms | 4e0daf666b94615268478bec8be1ca1b55f2a807 | [
"MIT"
] | null | null | null | ASSIGNMENTS_MCA_3RD_SEM/Section B/Q9/q9.cpp | therishh/Data-Structures-and-Algorithms | 4e0daf666b94615268478bec8be1ca1b55f2a807 | [
"MIT"
] | null | null | null | ASSIGNMENTS_MCA_3RD_SEM/Section B/Q9/q9.cpp | therishh/Data-Structures-and-Algorithms | 4e0daf666b94615268478bec8be1ca1b55f2a807 | [
"MIT"
] | null | null | null | //
// q9.cpp
// Algorithm
//
// Created by Mohd Shoaib Rayeen on 13/11/18.
// Copyright © 2018 Shoaib Rayeen. All rights reserved.
//
#include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
class triathlon {
/*
----------------------------------------------------------------------... | 35.775148 | 124 | 0.291598 | therishh |
1be5a97bef7d8c1cabb90ce9e64eb1168d42bcac | 8,234 | cc | C++ | src/core/events.cc | tcoppex/barbu | 02be5b3179a460560191818d9ee1c3ba4ee858c9 | [
"MIT"
] | 2 | 2021-04-15T04:58:01.000Z | 2021-10-11T05:17:34.000Z | src/core/events.cc | tcoppex/barbu | 02be5b3179a460560191818d9ee1c3ba4ee858c9 | [
"MIT"
] | null | null | null | src/core/events.cc | tcoppex/barbu | 02be5b3179a460560191818d9ee1c3ba4ee858c9 | [
"MIT"
] | null | null | null | #include "core/events.h"
#include <algorithm>
#include "core/logger.h"
#include "ui/imgui_wrapper.h" //<! used for UI events preemption.
// ----------------------------------------------------------------------------
void Events::prepareNextFrame() {
// Reset per-frame values.
mouse_moved_ = false;
m... | 28.992958 | 118 | 0.63845 | tcoppex |
1bea047d1eaa1f89b50ad105e7e550ee6f5e9005 | 5,063 | cpp | C++ | obvclip/tests/test_convex_polytope.cpp | javierdelapuente/tfm_ode_bullet | cc0d40b9a91e43b5045c10903b5244e680d909ef | [
"Zlib"
] | 1 | 2021-04-08T11:22:13.000Z | 2021-04-08T11:22:13.000Z | obvclip/tests/test_convex_polytope.cpp | javierdelapuente/tfm_ode_bullet | cc0d40b9a91e43b5045c10903b5244e680d909ef | [
"Zlib"
] | null | null | null | obvclip/tests/test_convex_polytope.cpp | javierdelapuente/tfm_ode_bullet | cc0d40b9a91e43b5045c10903b5244e680d909ef | [
"Zlib"
] | null | null | null | #include "gtest/gtest.h"
#include <fstream>
#include "polytope.hpp"
#include "polytope_examples.hpp"
using namespace OB;
TEST(TESTConvexPolytope, basicTest) {
std::vector<Point> points;
points.push_back(Point(-1, -1, -1));
points.push_back(Point(-1, -1, 1));
points.push_back(Point(-1, 1, -1));
points.push_... | 32.455128 | 110 | 0.6508 | javierdelapuente |
1bea19058f4b17ba0b19109b788f5a10cc5e9a62 | 1,269 | cc | C++ | Mu2eUtilities/src/RandomUnitSphere.cc | resnegfk/Offline | 4ba81dad54486188fa83fea8c085438d104afbbc | [
"Apache-2.0"
] | 9 | 2020-03-28T00:21:41.000Z | 2021-12-09T20:53:26.000Z | Mu2eUtilities/src/RandomUnitSphere.cc | resnegfk/Offline | 4ba81dad54486188fa83fea8c085438d104afbbc | [
"Apache-2.0"
] | 684 | 2019-08-28T23:37:43.000Z | 2022-03-31T22:47:45.000Z | Mu2eUtilities/src/RandomUnitSphere.cc | resnegfk/Offline | 4ba81dad54486188fa83fea8c085438d104afbbc | [
"Apache-2.0"
] | 61 | 2019-08-16T23:28:08.000Z | 2021-12-20T08:29:48.000Z | //
// Return CLHEP::Hep3Vector objects that are unit vectors uniformly
// distributed over the unit sphere.
//
//
// Original author Rob Kutschke
//
#include "Offline/Mu2eUtilities/inc/RandomUnitSphere.hh"
#include "Offline/Mu2eUtilities/inc/ThreeVectorUtil.hh"
namespace CLHEP { class HepRandomEngine; }
using CLHE... | 25.897959 | 74 | 0.602049 | resnegfk |
1bea191f3634094731b743274e4e9f4050db1f5b | 1,273 | cpp | C++ | projects/hydra/src/Hydra/Debug/Logging/Logger.cpp | Drischdaan/HydraEngine | 587f5d61d9b2f0c3951db3467d839ba39896e44f | [
"Apache-2.0"
] | null | null | null | projects/hydra/src/Hydra/Debug/Logging/Logger.cpp | Drischdaan/HydraEngine | 587f5d61d9b2f0c3951db3467d839ba39896e44f | [
"Apache-2.0"
] | null | null | null | projects/hydra/src/Hydra/Debug/Logging/Logger.cpp | Drischdaan/HydraEngine | 587f5d61d9b2f0c3951db3467d839ba39896e44f | [
"Apache-2.0"
] | null | null | null | #include "hypch.h"
#include <Hydra/Debug/Logging/Logger.h>
#include "spdlog/sinks/stdout_color_sinks.h"
void Hydra::Debug::Logger::Initialize()
{
const auto consoleSink = std::make_shared<spdlog::sinks::stdout_color_sink_mt>();
consoleSink->set_level(static_cast<spdlog::level::level_enum>(LOGGER_ACTIVE_LEV... | 36.371429 | 108 | 0.714061 | Drischdaan |
1bebbbc9d211a9e8a751dbb00cfd610b27ee39fb | 75,396 | cpp | C++ | src/core/particle.cpp | jojoelfe/cisTEM | 6d5bc5803fd726022c381e65a721a24661b48639 | [
"BSD-3-Clause"
] | null | null | null | src/core/particle.cpp | jojoelfe/cisTEM | 6d5bc5803fd726022c381e65a721a24661b48639 | [
"BSD-3-Clause"
] | 9 | 2022-03-21T13:16:20.000Z | 2022-03-31T00:07:13.000Z | src/core/particle.cpp | jojoelfe/cisTEM | 6d5bc5803fd726022c381e65a721a24661b48639 | [
"BSD-3-Clause"
] | null | null | null | #include "core_headers.h"
ParameterMap::ParameterMap( ) {
phi = false;
theta = false;
psi = false;
x_shift = false;
y_shift = false;
}
void ParameterMap::SetAllTrue( ) {
phi = true;
theta = true;
psi = true;
x_shift = true;
y_shift = true;
}
Particle::Parti... | 50.030524 | 341 | 0.665751 | jojoelfe |
1bec1a22f7bc14d6dffd47b2898b401dc7ba0a90 | 1,818 | cpp | C++ | BFLib/src/BFFileHelper.cpp | McGill-DMaS/Privacy-ITSA | ff1fc65d01660f38530256e8661831b0d3020e6e | [
"CC0-1.0"
] | null | null | null | BFLib/src/BFFileHelper.cpp | McGill-DMaS/Privacy-ITSA | ff1fc65d01660f38530256e8661831b0d3020e6e | [
"CC0-1.0"
] | null | null | null | BFLib/src/BFFileHelper.cpp | McGill-DMaS/Privacy-ITSA | ff1fc65d01660f38530256e8661831b0d3020e6e | [
"CC0-1.0"
] | 1 | 2020-09-15T01:45:28.000Z | 2020-09-15T01:45:28.000Z | //---------------------------------------------------------------------------
// File:
// BFFileHelper.cpp BFFileHelper.hpp
//
// Module:
// CBFFileHelper
//
// History:
// May. 7, 2002 Created by Benjamin Fung
//---------------------------------------------------------------------------
#includ... | 28.40625 | 108 | 0.366887 | McGill-DMaS |
1bec4f0f39352babd8398d5ca478fa78cb75bd0e | 2,459 | cc | C++ | felicia/core/lib/unit/bytes.cc | chokobole/felicia | 3b5eeb5f93c59c5364d3932bc407e054977aa1ec | [
"BSD-3-Clause"
] | 17 | 2018-10-28T13:58:01.000Z | 2022-03-22T07:54:12.000Z | felicia/core/lib/unit/bytes.cc | chokobole/felicia | 3b5eeb5f93c59c5364d3932bc407e054977aa1ec | [
"BSD-3-Clause"
] | 2 | 2018-11-09T04:15:58.000Z | 2018-11-09T06:42:57.000Z | felicia/core/lib/unit/bytes.cc | chokobole/felicia | 3b5eeb5f93c59c5364d3932bc407e054977aa1ec | [
"BSD-3-Clause"
] | 5 | 2019-10-31T06:50:05.000Z | 2022-03-22T07:54:30.000Z | // Copyright (c) 2019 The Felicia 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 "felicia/core/lib/unit/bytes.h"
namespace felicia {
Bytes::Bytes() = default;
Bytes::Bytes(int64_t bytes) : bytes_(bytes) {}
bool Bytes::op... | 30.358025 | 76 | 0.721838 | chokobole |
1bf3169b42d205aefeeb0ccad8c4a13d4c1f0bb7 | 2,742 | hpp | C++ | wsi/surface_properties.hpp | xytovl/vulkan-wsi-layer | 4030ab0c70d301695c2aaf42ac98e97184ad79d3 | [
"MIT"
] | 2 | 2021-03-27T15:18:26.000Z | 2021-03-27T15:18:27.000Z | wsi/surface_properties.hpp | xytovl/vulkan-wsi-layer | 4030ab0c70d301695c2aaf42ac98e97184ad79d3 | [
"MIT"
] | null | null | null | wsi/surface_properties.hpp | xytovl/vulkan-wsi-layer | 4030ab0c70d301695c2aaf42ac98e97184ad79d3 | [
"MIT"
] | null | null | null | /*
* Copyright (c) 2017-2019, 2021 Arm Limited.
*
* SPDX-License-Identifier: MIT
*
* 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... | 37.054054 | 113 | 0.724654 | xytovl |
1bf47543d28e2addda492c2fa7444505064439ae | 8,601 | ipp | C++ | rice/Data_Type.ipp | keyme/rice | 4b5e4ad3e2294a1b58886fb946eb26e3512599d9 | [
"BSD-2-Clause"
] | 11 | 2015-02-09T12:13:45.000Z | 2019-11-25T01:14:31.000Z | rice/Data_Type.ipp | jsomers/rice | 6bbcc2dd85d010a1108a4d7ac7ece39b1c1210f5 | [
"BSD-2-Clause"
] | null | null | null | rice/Data_Type.ipp | jsomers/rice | 6bbcc2dd85d010a1108a4d7ac7ece39b1c1210f5 | [
"BSD-2-Clause"
] | 2 | 2019-11-25T01:14:35.000Z | 2021-09-29T04:57:36.000Z | #ifndef Rice__Data_Type__ipp_
#define Rice__Data_Type__ipp_
#include "Class.hpp"
#include "String.hpp"
#include "Data_Object.hpp"
#include "detail/default_allocation_func.hpp"
#include "detail/creation_funcs.hpp"
#include "detail/method_data.hpp"
#include "detail/Caster.hpp"
#include "detail/demangle.hpp"
#include <s... | 23.5 | 81 | 0.679921 | keyme |
1bf49ec926522d878d1647d282675fffdf09c433 | 240 | cpp | C++ | Source/InventorySystem/Private/Inventory/DataTypes/StackData.cpp | spencer-melnick/Threshold | b0178e322548ca7cbe31cbf26943df3d4c616c8a | [
"MIT"
] | 3 | 2020-09-16T02:33:59.000Z | 2021-11-24T02:38:17.000Z | Source/InventorySystem/Private/Inventory/DataTypes/StackData.cpp | spencer-melnick/Threshold | b0178e322548ca7cbe31cbf26943df3d4c616c8a | [
"MIT"
] | 29 | 2020-08-03T19:35:28.000Z | 2020-11-18T15:41:13.000Z | Source/InventorySystem/Private/Inventory/DataTypes/StackData.cpp | spencer-melnick/Threshold | b0178e322548ca7cbe31cbf26943df3d4c616c8a | [
"MIT"
] | 3 | 2021-03-19T14:23:10.000Z | 2021-11-24T02:38:34.000Z | // Copyright (c) 2020 Spencer Melnick
#include "Inventory/DataTypes/StackData.h"
bool FInventoryStackData::NetSerialize(FArchive& Ar, UPackageMap* PackageMap, bool& bOutSuccess)
{
Ar << StackCount;
bOutSuccess = true;
return true;
}
| 20 | 96 | 0.754167 | spencer-melnick |
1bf68601f4d5e4898fad071812db64978e2b0f4f | 597 | hpp | C++ | QQDemo/color_skin.hpp | auxs2015/DuiDesign | fb98c38dacae7d77a603a325f635135b54f3f898 | [
"BSD-2-Clause"
] | 11 | 2017-05-26T06:52:32.000Z | 2021-07-01T00:39:27.000Z | QQDemo/color_skin.hpp | auxs2015/DuiDesign | fb98c38dacae7d77a603a325f635135b54f3f898 | [
"BSD-2-Clause"
] | null | null | null | QQDemo/color_skin.hpp | auxs2015/DuiDesign | fb98c38dacae7d77a603a325f635135b54f3f898 | [
"BSD-2-Clause"
] | 24 | 2016-12-12T02:56:31.000Z | 2021-12-06T01:23:52.000Z | #ifndef COLORSKIN_HPP
#define COLORSKIN_HPP
class MainFrame;
using namespace DuiLib;
class ColorSkinWindow : public WindowImplBase
{
public:
ColorSkinWindow(MainFrame* main_frame, RECT rcParentWindow);
LPCTSTR GetWindowClassName() const;
virtual void OnFinalMessage(HWND hWnd);
void Notify(TNotifyUI& msg);
vi... | 18.65625 | 86 | 0.788945 | auxs2015 |
1bf847e6322659bc044bd9b9912da9b0933757b0 | 803 | hpp | C++ | bintree_cpp/test/testavl01.hpp | thanhit95/data-structures-algorithms | 87e9680cb1d5cdb93d23131c2345237582d5f6d2 | [
"BSD-3-Clause"
] | 28 | 2021-02-26T15:03:45.000Z | 2021-07-12T06:13:21.000Z | bintree_cpp/test/testavl01.hpp | thanhit95/data-structures-algorithms | 87e9680cb1d5cdb93d23131c2345237582d5f6d2 | [
"BSD-3-Clause"
] | null | null | null | bintree_cpp/test/testavl01.hpp | thanhit95/data-structures-algorithms | 87e9680cb1d5cdb93d23131c2345237582d5f6d2 | [
"BSD-3-Clause"
] | 3 | 2021-04-26T13:40:41.000Z | 2021-04-26T15:43:44.000Z | #ifndef __TEST_AVL_01_HPP__
#define __TEST_AVL_01_HPP__
#include <iostream>
#include "testbase.hpp"
#include "binarytree/avltree.hpp"
using namespace my::test;
using namespace my::bt;
namespace my
{
namespace test
{
namespace avl01
{
void doTask()
{
auto avl = AvlTree<int>();
for ( auto &&value : {10,... | 15.745098 | 64 | 0.56538 | thanhit95 |
1bfb4d5a42c697404908a83b68183377f8036d13 | 980 | cpp | C++ | Programas de aceptaelreto/418. RENUM/renum.cpp | marcosherreroa/Competitive-Programming | 26b0f0f211172a06cc2e498a7aa8706f7fbf0038 | [
"CC0-1.0"
] | null | null | null | Programas de aceptaelreto/418. RENUM/renum.cpp | marcosherreroa/Competitive-Programming | 26b0f0f211172a06cc2e498a7aa8706f7fbf0038 | [
"CC0-1.0"
] | null | null | null | Programas de aceptaelreto/418. RENUM/renum.cpp | marcosherreroa/Competitive-Programming | 26b0f0f211172a06cc2e498a7aa8706f7fbf0038 | [
"CC0-1.0"
] | null | null | null | //Marcos Herrro
#include <iostream>
#include <string>
#include <queue>
#include <unordered_map>
void resuelveCaso() {
std::unordered_map<int, int> tabla;
std::queue<std::string> instrucciones;
std::queue<int> lineasSaltos;
int num, renum = 10; std::string instr;
std::cin >> num;
while (num != 0) {
... | 21.304348 | 77 | 0.566327 | marcosherreroa |
1bfb951530f712545adc5d4d58f1d520c9b5314d | 11,690 | hpp | C++ | heart/test/extended_bidomain/TestExtendedBidomainProblem.hpp | mdp19pn/Chaste | f7b6bafa64287d567125b587b29af6d8bd7aeb90 | [
"Apache-2.0",
"BSD-3-Clause"
] | 100 | 2015-02-23T08:32:23.000Z | 2022-02-25T11:39:26.000Z | heart/test/extended_bidomain/TestExtendedBidomainProblem.hpp | mdp19pn/Chaste | f7b6bafa64287d567125b587b29af6d8bd7aeb90 | [
"Apache-2.0",
"BSD-3-Clause"
] | 11 | 2017-06-14T13:48:43.000Z | 2022-03-10T10:42:07.000Z | heart/test/extended_bidomain/TestExtendedBidomainProblem.hpp | mdp19pn/Chaste | f7b6bafa64287d567125b587b29af6d8bd7aeb90 | [
"Apache-2.0",
"BSD-3-Clause"
] | 53 | 2015-02-23T13:52:44.000Z | 2022-02-28T18:57:35.000Z | /*
Copyright (c) 2005-2021, University of Oxford.
All rights reserved.
University of Oxford means the Chancellor, Masters and Scholars of the
University of Oxford, having an administrative office at Wellington
Square, Oxford OX1 2JD, UK.
This file is part of Chaste.
Redistribution and use in source and binary forms... | 40.731707 | 158 | 0.688452 | mdp19pn |
1bfef9640fa774dd0e2336d062ae546865f5d710 | 11,053 | cc | C++ | cpp/oop/object_two.cc | Mobink980/C-C-Development | ecb86f31c608b1c69a0c3332dfabcb7abb7b7b96 | [
"MIT"
] | 1 | 2020-02-08T10:36:01.000Z | 2020-02-08T10:36:01.000Z | cpp/oop/object_two.cc | Mobink980/C-C-Development | ecb86f31c608b1c69a0c3332dfabcb7abb7b7b96 | [
"MIT"
] | null | null | null | cpp/oop/object_two.cc | Mobink980/C-C-Development | ecb86f31c608b1c69a0c3332dfabcb7abb7b7b96 | [
"MIT"
] | null | null | null | #include <functional> // reference_wrapper
#include <iostream>
#include <string>
#include <vector>
//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ Association @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@... | 34.757862 | 116 | 0.55632 | Mobink980 |
1bff06ba9de6103e50970d6f75693784c19cd27f | 3,773 | cpp | C++ | toolboxes/operators/cpu/hoWaveletOperator.cpp | roopchansinghv/gadgetron | fb6c56b643911152c27834a754a7b6ee2dd912da | [
"MIT"
] | 1 | 2022-02-22T21:06:36.000Z | 2022-02-22T21:06:36.000Z | toolboxes/operators/cpu/hoWaveletOperator.cpp | apd47/gadgetron | 073e84dabe77d2dae3b3dd9aa4bf9edbf1f890f2 | [
"MIT"
] | null | null | null | toolboxes/operators/cpu/hoWaveletOperator.cpp | apd47/gadgetron | 073e84dabe77d2dae3b3dd9aa4bf9edbf1f890f2 | [
"MIT"
] | null | null | null |
#include "hoWaveletOperator.h"
namespace Gadgetron
{
template <typename T>
hoWaveletOperator<T>::hoWaveletOperator(std::vector<size_t> *dims) : input_in_kspace_(false), no_null_space_(true), num_of_wav_levels_(1), with_approx_coeff_(false), proximity_across_cha_(false), BaseClass(dims)
{
p_active_... | 30.92623 | 215 | 0.559237 | roopchansinghv |
1bffb4ca3421346685f6d2dce8fd3c74ace3a015 | 3,090 | cpp | C++ | scrimmage/plugins/autonomy/Straight/Straight.cpp | ddfan/swarm_evolve | cd2d972c021e9af5946673363fbfd39cff18f13f | [
"MIT"
] | 10 | 2019-04-29T03:01:19.000Z | 2022-03-22T03:11:30.000Z | scrimmage/plugins/autonomy/Straight/Straight.cpp | lyers179/swarm_evolve | cd2d972c021e9af5946673363fbfd39cff18f13f | [
"MIT"
] | 3 | 2018-10-29T02:14:10.000Z | 2020-11-23T02:36:14.000Z | scrimmage/plugins/autonomy/Straight/Straight.cpp | lyers179/swarm_evolve | cd2d972c021e9af5946673363fbfd39cff18f13f | [
"MIT"
] | 8 | 2018-10-29T02:07:56.000Z | 2022-01-04T06:37:53.000Z | /// ---------------------------------------------------------------------------
/// @section LICENSE
///
/// Copyright (c) 2016 Georgia Tech Research Institute (GTRI)
/// All Rights Reserved
///
/// The above copyright notice and this permission notice shall be included in
/// all copies or substantial po... | 36.352941 | 79 | 0.585761 | ddfan |
4005555dc194543c8ad6dbb0ee639e958efc922c | 13,064 | cpp | C++ | GROMACS/nonbonded_benchmark/gromacs_source_code/src/programs/view/dialogs.cpp | berkhess/bioexcel-exascale-co-design-benchmarks | c32f811d41a93fb69e49b3e7374f6028e37970d2 | [
"MIT"
] | 1 | 2020-04-20T04:33:11.000Z | 2020-04-20T04:33:11.000Z | GROMACS/nonbonded_benchmark/gromacs_source_code/src/programs/view/dialogs.cpp | berkhess/bioexcel-exascale-co-design-benchmarks | c32f811d41a93fb69e49b3e7374f6028e37970d2 | [
"MIT"
] | 8 | 2019-07-10T15:18:21.000Z | 2019-07-31T13:38:09.000Z | GROMACS/nonbonded_benchmark/gromacs_source_code/src/programs/view/dialogs.cpp | berkhess/bioexcel-exascale-co-design-benchmarks | c32f811d41a93fb69e49b3e7374f6028e37970d2 | [
"MIT"
] | 3 | 2019-07-10T10:50:25.000Z | 2020-12-08T13:42:52.000Z | /*
* This file is part of the GROMACS molecular simulation package.
*
* Copyright (c) 1991-2000, University of Groningen, The Netherlands.
* Copyright (c) 2001-2013, The GROMACS development team.
* Copyright (c) 2013,2014,2015,2016,2017, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel,... | 28.155172 | 85 | 0.481705 | berkhess |
4005dae3af059be1fc2fcef53024776fd0e2429a | 6,436 | cpp | C++ | src/engine/toppane.cpp | FreeAllegiance/AllegianceDX7 | 3955756dffea8e7e31d3a55fcf6184232b792195 | [
"MIT"
] | 76 | 2015-08-18T19:18:40.000Z | 2022-01-08T12:47:22.000Z | src/engine/toppane.cpp | StudentAlleg/Allegiance | e91660a471eb4e57e9cea4c743ad43a82f8c7b18 | [
"MIT"
] | 37 | 2015-08-14T22:44:12.000Z | 2020-01-21T01:03:06.000Z | src/engine/toppane.cpp | StudentAlleg/Allegiance | e91660a471eb4e57e9cea4c743ad43a82f8c7b18 | [
"MIT"
] | 42 | 2015-08-13T23:31:35.000Z | 2022-03-17T02:20:26.000Z | #include "toppane.h"
#include "engine.h"
#include "enginep.h"
#include "surface.h"
/////////////////////////////////////////////////////////////////////////////
//
// TopPane
//
/////////////////////////////////////////////////////////////////////////////
class TopPaneSurfaceSite : public SurfaceSite {
private:
... | 23.837037 | 107 | 0.596178 | FreeAllegiance |
4006628102af648b6603c72aced9b105bfe7fd2a | 1,468 | cpp | C++ | region_olympiads/Vinnytsia/2016/III/Remake/palway/palway_twodimensional.cpp | mstrechen/cp | ffac439840a71f70580a0ef197e47479e167a0eb | [
"MIT"
] | null | null | null | region_olympiads/Vinnytsia/2016/III/Remake/palway/palway_twodimensional.cpp | mstrechen/cp | ffac439840a71f70580a0ef197e47479e167a0eb | [
"MIT"
] | null | null | null | region_olympiads/Vinnytsia/2016/III/Remake/palway/palway_twodimensional.cpp | mstrechen/cp | ffac439840a71f70580a0ef197e47479e167a0eb | [
"MIT"
] | null | null | null | #include<iostream>
using namespace std;
const int MAXN = 128;
const int MOD = 101;
char state1[MAXN*MAXN], state2[MAXN*MAXN];
int field[MAXN][MAXN];
int main()
{
cin.tie(0);
ios::sync_with_stdio(false);
int n;
cin >> n;
for(int i = 1; i<=n; i++)
for(int j = 1... | 23.301587 | 86 | 0.381471 | mstrechen |
40080cb4299d2abfbf73f362827597e3353b56cc | 2,091 | cpp | C++ | src/entities/splatmap.cpp | h4k1m0u/video | 4739f8b1b6c837c41fdb53fc7dea97a47b285d0b | [
"MIT"
] | 5 | 2021-11-11T23:59:38.000Z | 2022-03-24T02:10:40.000Z | src/entities/splatmap.cpp | h4k1m0u/video | 4739f8b1b6c837c41fdb53fc7dea97a47b285d0b | [
"MIT"
] | null | null | null | src/entities/splatmap.cpp | h4k1m0u/video | 4739f8b1b6c837c41fdb53fc7dea97a47b285d0b | [
"MIT"
] | 1 | 2022-01-15T13:31:10.000Z | 2022-01-15T13:31:10.000Z | #include <glm/gtc/matrix_transform.hpp>
#include "entities/splatmap.hpp"
#include "shader_exception.hpp"
#include "geometries/terrain.hpp"
Splatmap::Splatmap():
// terrain textures (used by same shader) need to be attached to different texture units
m_texture_terrain_water(Image("assets/images/terrain/water.jpg")... | 34.278689 | 113 | 0.72023 | h4k1m0u |
400cff47ff8ca3ddfdd70bada915ff074d5654eb | 6,678 | cpp | C++ | logs/test/main.cpp | mingkaic/travis-test | 84d45f7c7a079dfd66316d7c31969b43fb9e7c7f | [
"BSL-1.0",
"MIT"
] | null | null | null | logs/test/main.cpp | mingkaic/travis-test | 84d45f7c7a079dfd66316d7c31969b43fb9e7c7f | [
"BSL-1.0",
"MIT"
] | 8 | 2019-11-07T03:59:17.000Z | 2022-02-19T19:42:47.000Z | logs/test/main.cpp | mingkaic/travis-test | 84d45f7c7a079dfd66316d7c31969b43fb9e7c7f | [
"BSL-1.0",
"MIT"
] | null | null | null | #include "gtest/gtest.h"
#include "logs/logs.hpp"
const std::string log_level_ret = "103272";
struct TestLogger : public logs::iLogger
{
static std::string latest_warning_;
static std::string latest_error_;
static std::string latest_fatal_;
static std::string latest_log_msg_;
static std::string set_log_level_;... | 22.186047 | 76 | 0.690925 | mingkaic |
400da1c8f4866d0d34f601c3de2a2f567e600191 | 498 | hpp | C++ | src/avif/Box.hpp | link-u/libavifparser | 17984420ff8806a6a852306b839219605ccc1628 | [
"MIT"
] | null | null | null | src/avif/Box.hpp | link-u/libavifparser | 17984420ff8806a6a852306b839219605ccc1628 | [
"MIT"
] | null | null | null | src/avif/Box.hpp | link-u/libavifparser | 17984420ff8806a6a852306b839219605ccc1628 | [
"MIT"
] | null | null | null | //
// Created by psi on 2019/11/24.
//
#pragma once
#include <optional>
#include <string>
namespace avif {
struct Box {
struct Header {
uint32_t offset = {};
uint32_t size = {};
uint32_t type = {};
[[ nodiscard ]] uint32_t end() const {
return this->offset + this->size;
}
};
public:
... | 15.5625 | 42 | 0.582329 | link-u |
400f04332708cf1d422cb448d5c0930846c4b1d4 | 14,333 | cpp | C++ | src/widgets/XMRigWidget.cpp | Midar/feather | ac9693077c338527a4b31ca6b2d85514f8fe739a | [
"BSD-3-Clause"
] | null | null | null | src/widgets/XMRigWidget.cpp | Midar/feather | ac9693077c338527a4b31ca6b2d85514f8fe739a | [
"BSD-3-Clause"
] | null | null | null | src/widgets/XMRigWidget.cpp | Midar/feather | ac9693077c338527a4b31ca6b2d85514f8fe739a | [
"BSD-3-Clause"
] | null | null | null | // SPDX-License-Identifier: BSD-3-Clause
// SPDX-FileCopyrightText: 2020-2022 The Monero Project
#include "XMRigWidget.h"
#include "ui_XMRigWidget.h"
#include <QDesktopServices>
#include <QFileDialog>
#include <QInputDialog>
#include <QMessageBox>
#include <QScrollBar>
#include <QStandardItemModel>
#include <QTableWi... | 35.477723 | 142 | 0.669155 | Midar |
400f3ad1b8bbd7ff2e3e1015d72397aca32a6e11 | 8,490 | cpp | C++ | src/core/application.cpp | dream-overflow/o3d | 087ab870cc0fd9091974bb826e25c23903a1dde0 | [
"FSFAP"
] | 2 | 2019-06-22T23:29:44.000Z | 2019-07-07T18:34:04.000Z | src/core/application.cpp | dream-overflow/o3d | 087ab870cc0fd9091974bb826e25c23903a1dde0 | [
"FSFAP"
] | null | null | null | src/core/application.cpp | dream-overflow/o3d | 087ab870cc0fd9091974bb826e25c23903a1dde0 | [
"FSFAP"
] | null | null | null | /**
* @file application.cpp
* @brief
* @author Frederic SCHERMA (frederic.scherma@dreamoverflow.org)
* @date 2001-12-25
* @copyright Copyright (c) 2001-2017 Dream Overflow. All rights reserved.
* @details
*/
#include "o3d/core/precompiled.h"
#include "o3d/core/application.h"
#include "o3d/core/classfactory.h... | 21.225 | 121 | 0.66384 | dream-overflow |
4014349595174704789f2de878af3e95cfa028cc | 440 | cpp | C++ | 9/9.45.cpp | kousikpramanik/C-_Primer_5th | e21fb665f04b26193fc13f9c2c263b782aea3f3c | [
"MIT"
] | null | null | null | 9/9.45.cpp | kousikpramanik/C-_Primer_5th | e21fb665f04b26193fc13f9c2c263b782aea3f3c | [
"MIT"
] | 2 | 2020-08-15T17:33:00.000Z | 2021-07-05T14:18:26.000Z | 9/9.45.cpp | kousikpramanik/C-_Primer_5th | e21fb665f04b26193fc13f9c2c263b782aea3f3c | [
"MIT"
] | 1 | 2020-08-15T17:24:54.000Z | 2020-08-15T17:24:54.000Z | #include <iostream>
#include <string>
void prefix_name_suffix(std::string &name, const std::string &prefix, const std::string &suffix) {
name.insert(name.begin(), 1, ' ');
name.insert(name.begin(), prefix.cbegin(), prefix.cend());
name.append(1, ' ');
name.append(suffix);
}
int main() {
std::strin... | 24.444444 | 98 | 0.618182 | kousikpramanik |
4014b0465d54eeca251524335ae005378cec2081 | 379 | cpp | C++ | src/messages/ExtSequencer.cpp | nspotrepka/ofxPDSP | e106991f4abf4314116d4e7c4ef7ad69d6ca005f | [
"MIT"
] | 288 | 2016-02-06T18:50:47.000Z | 2022-03-21T12:54:30.000Z | src/messages/ExtSequencer.cpp | nspotrepka/ofxPDSP | e106991f4abf4314116d4e7c4ef7ad69d6ca005f | [
"MIT"
] | 68 | 2016-03-09T15:12:48.000Z | 2021-11-29T14:05:49.000Z | src/messages/ExtSequencer.cpp | nspotrepka/ofxPDSP | e106991f4abf4314116d4e7c4ef7ad69d6ca005f | [
"MIT"
] | 37 | 2016-02-11T20:36:28.000Z | 2022-01-23T17:31:22.000Z |
#include "ExtSequencer.h"
std::vector<pdsp::ExtSequencer*> pdsp::ExtSequencer::instances;
pdsp::ExtSequencer::ExtSequencer() {
instances.push_back(this);
}
pdsp::ExtSequencer::~ExtSequencer() {
for (size_t i = 0; i < instances.size(); ++i) {
if (instances[i] == this) {
instances.erase(in... | 21.055556 | 63 | 0.591029 | nspotrepka |
4017a06d7784bb9ced27156a5e90a225a70002f0 | 3,290 | cc | C++ | src/um/LoginToken.cc | rchicoli/opennebula | d93f13297f4ca8448e994de34b66ca0e7a574fdd | [
"Apache-2.0"
] | 1 | 2015-04-23T10:56:44.000Z | 2015-04-23T10:56:44.000Z | src/um/LoginToken.cc | hsanjuan/one | 0e7bf161095f11be0f2827527029f750cac36692 | [
"Apache-2.0"
] | null | null | null | src/um/LoginToken.cc | hsanjuan/one | 0e7bf161095f11be0f2827527029f750cac36692 | [
"Apache-2.0"
] | 17 | 2017-01-12T09:36:03.000Z | 2019-04-18T20:52:02.000Z | /* -------------------------------------------------------------------------- */
/* Copyright 2002-2016, OpenNebula Project, OpenNebula Systems */
/* */
/* Licensed under the Apache License, Version 2.0 (the "License"); you may ... | 31.634615 | 80 | 0.386626 | rchicoli |
4017a39b14c250e5467b575075367f6cde6a683b | 15,723 | cpp | C++ | win32-OpenGL/MotionPlanning_Project/Graph.cpp | Peanoquio/fuzzy-logic-demo | 100a64094adb2d5274c32761ed4ede15b912dd90 | [
"MIT"
] | null | null | null | win32-OpenGL/MotionPlanning_Project/Graph.cpp | Peanoquio/fuzzy-logic-demo | 100a64094adb2d5274c32761ed4ede15b912dd90 | [
"MIT"
] | null | null | null | win32-OpenGL/MotionPlanning_Project/Graph.cpp | Peanoquio/fuzzy-logic-demo | 100a64094adb2d5274c32761ed4ede15b912dd90 | [
"MIT"
] | null | null | null | /******************************************************************************/
/*!
\file Graph.cpp
\author Oliver Ryan Chong
\par email: oliver.chong\@digipen.edu
\par oliver.chong 900863
\par Course: CS1150
\par Project #02
\date 01/03/2012
\brief
This is the graph class that will be used to generate the graph to be... | 26.694397 | 143 | 0.423011 | Peanoquio |
4018a792a0a6347c5f884fceecd845d56585bc05 | 11,424 | hpp | C++ | src/framework/gui/CommonControls.hpp | yslking/GPURayTraversal | cfcc825aef473318fc7eb4975c13fe40cda5c915 | [
"BSD-3-Clause"
] | 39 | 2016-07-19T15:25:16.000Z | 2021-07-15T16:06:15.000Z | src/framework/gui/CommonControls.hpp | ItsHoff/BDPT | 4a5ae6559764799c77182a965a674cae127e2b0e | [
"MIT"
] | null | null | null | src/framework/gui/CommonControls.hpp | ItsHoff/BDPT | 4a5ae6559764799c77182a965a674cae127e2b0e | [
"MIT"
] | 14 | 2017-12-19T03:14:50.000Z | 2021-06-24T16:53:10.000Z | /*
* Copyright (c) 2009-2011, NVIDIA Corporation
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright
* notice,... | 44.976378 | 349 | 0.523372 | yslking |
40198441b55144c425d6a51c11f979b7e34474ca | 1,595 | cpp | C++ | ogsr_engine/xrGame/GraviArtifact.cpp | stepa2/OGSR-Engine | 32a23aa30506684be1267d9c4fc272350cd167c5 | [
"Apache-2.0"
] | 247 | 2018-11-02T18:50:55.000Z | 2022-03-15T09:11:43.000Z | ogsr_engine/xrGame/GraviArtifact.cpp | stepa2/OGSR-Engine | 32a23aa30506684be1267d9c4fc272350cd167c5 | [
"Apache-2.0"
] | 193 | 2018-11-02T20:12:44.000Z | 2022-03-07T13:35:17.000Z | ogsr_engine/xrGame/GraviArtifact.cpp | stepa2/OGSR-Engine | 32a23aa30506684be1267d9c4fc272350cd167c5 | [
"Apache-2.0"
] | 106 | 2018-10-26T11:33:01.000Z | 2022-03-19T12:34:20.000Z | ///////////////////////////////////////////////////////////////
// GraviArtifact.cpp
// GraviArtefact - гравитационный артефакт, прыгает на месте
// и неустойчиво парит над землей
///////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "GraviArtifact.h"
#include "PhysicsShell.h"
#i... | 22.152778 | 109 | 0.619436 | stepa2 |
401a1a934270716c9dee2332135d5c7416f85b84 | 9,387 | cpp | C++ | MIDI Test/console_io_handler.cpp | MiguelGuthridge/HDSQs-MIDI-Editor | a5d6a2ea84b5123fb8f1aa0921da0b04e6e6cc27 | [
"MIT"
] | null | null | null | MIDI Test/console_io_handler.cpp | MiguelGuthridge/HDSQs-MIDI-Editor | a5d6a2ea84b5123fb8f1aa0921da0b04e6e6cc27 | [
"MIT"
] | 1 | 2018-07-01T08:51:05.000Z | 2018-08-18T10:40:53.000Z | MIDI Test/console_io_handler.cpp | HDSQmid/HDSQs-MIDI-Editor | a5d6a2ea84b5123fb8f1aa0921da0b04e6e6cc27 | [
"MIT"
] | null | null | null | #include "stdafx.h"
#include "console_io_handler.h"
#include "messageSend.h"
#include "multiLingual.h"
#include "settings.h"
ConsoleQuit quit;
ConsoleHelp help;
ConsoleFileNew newFile;
ConsoleFileOpen openFile;
ConsoleFileClose closeFile;
ConsoleFileSave saveFile;
ConsoleFileSaveAs saveFileAs;
ConsoleMidiMakeEdit mak... | 23.12069 | 103 | 0.764994 | MiguelGuthridge |
401ad8c461094fc5318bf9c6a8dc60facfa68a02 | 3,002 | cpp | C++ | os/x11/event_queue.cpp | turbolent/laf | 75f29b27c661e66e1549dc6e6a172f284cd9326b | [
"MIT"
] | null | null | null | os/x11/event_queue.cpp | turbolent/laf | 75f29b27c661e66e1549dc6e6a172f284cd9326b | [
"MIT"
] | null | null | null | os/x11/event_queue.cpp | turbolent/laf | 75f29b27c661e66e1549dc6e6a172f284cd9326b | [
"MIT"
] | null | null | null | // LAF OS Library
// Copyright (C) 2016-2018 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "os/x11/event_queue.h"
#include "os/x11/window.h"
#include <X11/Xlib.h>
#define EV_TRACE(...... | 28.056075 | 73 | 0.713524 | turbolent |
401c083e6d832432cd0da8ad4d0ba575ca809608 | 2,194 | cc | C++ | chrome/browser/chromeos/net/network_diagnostics/fake_tcp_connected_socket.cc | Ron423c/chromium | 2edf7b980065b648f8b2a6e52193d83832fe36b7 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 575 | 2015-06-18T23:58:20.000Z | 2022-03-23T09:32:39.000Z | chrome/browser/chromeos/net/network_diagnostics/fake_tcp_connected_socket.cc | Ron423c/chromium | 2edf7b980065b648f8b2a6e52193d83832fe36b7 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 113 | 2015-05-04T09:58:14.000Z | 2022-01-31T19:35:03.000Z | chrome/browser/chromeos/net/network_diagnostics/fake_tcp_connected_socket.cc | iridium-browser/iridium-browser | 907e31cf5ce5ad14d832796e3a7c11e496828959 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 52 | 2015-07-14T10:40:50.000Z | 2022-03-15T01:11:49.000Z | // Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/chromeos/net/network_diagnostics/fake_tcp_connected_socket.h"
#include <utility>
#include "base/callback.h"
#include "base/logg... | 34.28125 | 86 | 0.706016 | Ron423c |
401cf996e5148b7507fd95cdc9a84ddbc9ae99b8 | 1,469 | hpp | C++ | brainfucppk/include/implementations/StandardImplementation.hpp | Milo46/brainfuck-interpreter | 55065f4ff80df229f29a35e1875fc195eb092cb8 | [
"MIT"
] | null | null | null | brainfucppk/include/implementations/StandardImplementation.hpp | Milo46/brainfuck-interpreter | 55065f4ff80df229f29a35e1875fc195eb092cb8 | [
"MIT"
] | 1 | 2022-02-04T14:16:44.000Z | 2022-02-04T14:16:44.000Z | brainfucppk/include/implementations/StandardImplementation.hpp | Milo46/brainfuck-interpreter | 55065f4ff80df229f29a35e1875fc195eb092cb8 | [
"MIT"
] | 1 | 2022-02-04T14:07:51.000Z | 2022-02-04T14:07:51.000Z | #pragma once
#include "core/Implementation.hpp"
#include <map>
BRAINFUCPPK_BEGIN
enum class StandardToken : char
{
IncrementPointer = '>',
DecrementPointer = '<',
IncrementValue = '+',
DecrementValue = '-',
Write = '.',
Read = ',',
BeginLoop = '[',
E... | 29.38 | 118 | 0.673928 | Milo46 |
401e1cd2bde42a05fa8a0953fa5731908a00eb85 | 3,078 | cpp | C++ | source/sirtthread.cpp | drminix/ctsimulator | b6ef3feed5310ff43b60ddd039a6a187c6e60718 | [
"MIT"
] | 7 | 2017-02-10T10:12:48.000Z | 2022-03-06T06:43:57.000Z | source/sirtthread.cpp | drminix/ctsimulator | b6ef3feed5310ff43b60ddd039a6a187c6e60718 | [
"MIT"
] | null | null | null | source/sirtthread.cpp | drminix/ctsimulator | b6ef3feed5310ff43b60ddd039a6a187c6e60718 | [
"MIT"
] | 4 | 2017-02-21T07:31:15.000Z | 2022-03-10T02:54:49.000Z | /****************************
* Author: Sanghyeb(Sam) Lee
* Date: Jan/2013
* email: drminix@gmail.com
* Copyright 2013 Sang hyeb(Sam) Lee MIT License
*
* X-ray CT simulation & reconstruction
*****************************/
#include "SirtThread.h"
SirtThread::SirtThread(QObject *parent) :
QThread(parent)
{... | 26.084746 | 99 | 0.565627 | drminix |
40203db47ac7f7ebe9ed5b73ddf8f75e00a5176e | 3,743 | cc | C++ | DreamDaq/dream_to_offline/DreamDaqEventUnpacker.cc | ivivarel/DREMTubes | ac768990b4c5e2c23d986284ed10189f31796b38 | [
"MIT"
] | 3 | 2021-07-22T12:17:48.000Z | 2021-07-27T07:22:54.000Z | DreamDaq/dream_to_offline/DreamDaqEventUnpacker.cc | ivivarel/DREMTubes | ac768990b4c5e2c23d986284ed10189f31796b38 | [
"MIT"
] | 38 | 2021-07-14T15:41:04.000Z | 2022-03-29T14:18:20.000Z | DreamDaq/dream_to_offline/DreamDaqEventUnpacker.cc | ivivarel/DREMTubes | ac768990b4c5e2c23d986284ed10189f31796b38 | [
"MIT"
] | 7 | 2021-07-21T12:00:33.000Z | 2021-11-13T10:45:30.000Z | #include <cassert>
#include <cstdio>
#include "DreamDaqEventUnpacker.hh"
#include "DreamDaqEvent.h"
#include "DaqModuleUnpackers.hh"
#include "myFIFO-IOp.h"
#include "myRawFile.h"
DreamDaqEventUnpacker::DreamDaqEventUnpacker() :
event_(0)
{
}
DreamDaqEventUnpacker::DreamDaqEventUnpacker(DreamDaqEvent* event) :
... | 27.522059 | 85 | 0.604862 | ivivarel |
4021b6e5c0aafd3d6d9ab3325cc50dec47e6877b | 4,904 | hpp | C++ | inc/core/setst.hpp | frang75/nappgui | fffa48d0f93f0b7db4e547838b33b625d19c2430 | [
"MIT"
] | 25 | 2020-01-31T09:23:45.000Z | 2022-02-01T04:46:32.000Z | inc/core/setst.hpp | frang75/nappgui | fffa48d0f93f0b7db4e547838b33b625d19c2430 | [
"MIT"
] | 2 | 2021-10-20T13:05:18.000Z | 2021-11-26T08:24:31.000Z | inc/core/setst.hpp | frang75/nappgui | fffa48d0f93f0b7db4e547838b33b625d19c2430 | [
"MIT"
] | 1 | 2020-01-31T09:22:16.000Z | 2020-01-31T09:22:16.000Z | /*
* NAppGUI Cross-platform C SDK
* 2015-2021 Francisco Garcia Collado
* MIT Licence
* https://nappgui.com/en/legal/license.html
*
* File: setst.hpp
*
*/
/* Set of structures */
#ifndef __SETST_HPP__
#define __SETST_HPP__
#include "bstd.h"
#include "nowarn.hxx"
#include <typeinfo>
#include "warn.hxx"
templa... | 25.278351 | 113 | 0.530995 | frang75 |
4022f37b7207ac5266e1e55f48ac59a382285560 | 700 | cpp | C++ | cpp/types_is_pointer_interconvertible_with_class.cpp | rpuntaie/c-examples | 385b3c792e5b39f81a187870100ed6401520a404 | [
"MIT"
] | null | null | null | cpp/types_is_pointer_interconvertible_with_class.cpp | rpuntaie/c-examples | 385b3c792e5b39f81a187870100ed6401520a404 | [
"MIT"
] | null | null | null | cpp/types_is_pointer_interconvertible_with_class.cpp | rpuntaie/c-examples | 385b3c792e5b39f81a187870100ed6401520a404 | [
"MIT"
] | null | null | null | /*
# g++ --std=c++20 -pthread -o ../_build/cpp/types_is_pointer_interconvertible_with_class.exe ./cpp/types_is_pointer_interconvertible_with_class.cpp && (cd ../_build/cpp/;./types_is_pointer_interconvertible_with_class.exe)
https://en.cppreference.com/w/cpp/types/is_pointer_interconvertible_with_class
*/
#include <typ... | 38.888889 | 221 | 0.7 | rpuntaie |
4024bd8f28e7e99e89a77318e4df297a76cfceda | 3,779 | cpp | C++ | src/it/resources/expected/my_record/cwrapper/dh__map_string_int32_t.cpp | mutagene/djinni-generator | 09b420537183e0f941ae55afbf15d72c3f8b76a1 | [
"Apache-2.0"
] | 60 | 2020-10-17T18:05:37.000Z | 2022-03-14T22:58:27.000Z | src/it/resources/expected/my_record/cwrapper/dh__map_string_int32_t.cpp | mutagene/djinni-generator | 09b420537183e0f941ae55afbf15d72c3f8b76a1 | [
"Apache-2.0"
] | 85 | 2020-10-13T21:58:40.000Z | 2022-03-16T09:29:01.000Z | src/it/resources/expected/my_record/cwrapper/dh__map_string_int32_t.cpp | mutagene/djinni-generator | 09b420537183e0f941ae55afbf15d72c3f8b76a1 | [
"Apache-2.0"
] | 24 | 2020-10-16T21:22:31.000Z | 2022-03-02T18:15:29.000Z | // AUTOGENERATED FILE - DO NOT MODIFY!
// This file was generated by Djinni from my_record.djinni
#include <iostream> // for debugging
#include <cassert>
#include "djinni/cwrapper/wrapper_marshal.hpp"
#include "../cpp-headers/my_record.hpp"
#include "dh__map_string_int32_t.hpp"
#include "dh__my_record.hpp"
#include "... | 40.634409 | 184 | 0.767399 | mutagene |
40257420d09a9d8802142b66e2fde1874bb642c4 | 59,307 | cpp | C++ | OgreMain/src/OgreRenderSystem.cpp | FreeNightKnight/ogre-next | f2d1a31887a87c492b4225e063325c48693fec19 | [
"MIT"
] | null | null | null | OgreMain/src/OgreRenderSystem.cpp | FreeNightKnight/ogre-next | f2d1a31887a87c492b4225e063325c48693fec19 | [
"MIT"
] | null | null | null | OgreMain/src/OgreRenderSystem.cpp | FreeNightKnight/ogre-next | f2d1a31887a87c492b4225e063325c48693fec19 | [
"MIT"
] | null | null | null | /*
-----------------------------------------------------------------------------
This source file is part of OGRE-Next
(Object-oriented Graphics Rendering Engine)
For the latest info, see http://www.ogre3d.org/
Copyright (c) 2000-2014 Torus Knot Software Ltd
Permission is hereby granted, free of charge, to any pe... | 41.589762 | 105 | 0.51633 | FreeNightKnight |
4027453f9518a17a754721bc386f6e52a00cf360 | 409 | cpp | C++ | hdu/1000/1412.cpp | TheBadZhang/OJ | b5407f2483aa630068343b412ecaf3a9e3303f7e | [
"Apache-2.0"
] | 1 | 2020-07-22T16:54:07.000Z | 2020-07-22T16:54:07.000Z | hdu/1000/1412.cpp | TheBadZhang/OJ | b5407f2483aa630068343b412ecaf3a9e3303f7e | [
"Apache-2.0"
] | 1 | 2018-05-12T12:53:06.000Z | 2018-05-12T12:53:06.000Z | hdu/1000/1412.cpp | TheBadZhang/OJ | b5407f2483aa630068343b412ecaf3a9e3303f7e | [
"Apache-2.0"
] | null | null | null | #include<iostream>
#include<cstdio>
#include<set>
using namespace std;
int main() {
int temp,n1,n2;
while(scanf("%d %d",&n1,&n2)!=EOF) {
set<int> s;
n1=n1+n2;
while(n1--) {
scanf("%d",&temp);
s.insert(temp);
}
set<int>::const_iterator itor;
itor=s.begin();
while(itor!=s.end()) {
printf("%d",*it... | 15.730769 | 37 | 0.550122 | TheBadZhang |
402856fb2566b33a6b8817e60d7a765c9f69c48f | 3,747 | hh | C++ | tce/src/applibs/PlatformIntegrator/AlmaIFIntegrator.hh | kanishkan/tce | 430e764b4d43f46bd1dc754aeb1d5632fc742110 | [
"MIT"
] | 74 | 2015-10-22T15:34:10.000Z | 2022-03-25T07:57:23.000Z | tce/src/applibs/PlatformIntegrator/AlmaIFIntegrator.hh | kanishkan/tce | 430e764b4d43f46bd1dc754aeb1d5632fc742110 | [
"MIT"
] | 79 | 2015-11-19T09:23:08.000Z | 2022-01-12T14:15:16.000Z | tce/src/applibs/PlatformIntegrator/AlmaIFIntegrator.hh | kanishkan/tce | 430e764b4d43f46bd1dc754aeb1d5632fc742110 | [
"MIT"
] | 38 | 2015-11-17T10:12:23.000Z | 2022-03-25T07:57:24.000Z | /*
Copyright (c) 2002-2016 Tampere University.
This file is part of TTA-Based Codesign Environment (TCE).
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, ... | 32.025641 | 78 | 0.731785 | kanishkan |
4029fe61bd9aaa38e13a6aacea0750c6aa697b2c | 2,685 | cpp | C++ | src/CL_DataBuffer_stub.cpp | fccm/ocaml-clanlib | 1929f1c11d4cc9fc19e7da22826238b4cce7a07d | [
"Zlib",
"OLDAP-2.2.1"
] | 1 | 2020-10-24T14:48:04.000Z | 2020-10-24T14:48:04.000Z | src/CL_DataBuffer_stub.cpp | fccm/ocaml-clanlib | 1929f1c11d4cc9fc19e7da22826238b4cce7a07d | [
"Zlib",
"OLDAP-2.2.1"
] | null | null | null | src/CL_DataBuffer_stub.cpp | fccm/ocaml-clanlib | 1929f1c11d4cc9fc19e7da22826238b4cce7a07d | [
"Zlib",
"OLDAP-2.2.1"
] | null | null | null | /* ocaml-clanlib: OCaml bindings to the ClanLib SDK
Copyright (C) 2013 Florent Monnier
This software is provided "AS-IS", without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this soft... | 24.189189 | 94 | 0.72365 | fccm |
402e91dbc88528fd74639a15bb0e5689aed78f82 | 3,491 | cpp | C++ | libcaf_core/src/response_promise.cpp | v2nero/actor-framework | c2f811809143d32c598471a20363238b0882a761 | [
"BSL-1.0",
"BSD-3-Clause"
] | 1 | 2021-03-06T19:51:07.000Z | 2021-03-06T19:51:07.000Z | libcaf_core/src/response_promise.cpp | Boubou818/actor-framework | da90ef78b26da5d225f039072e616da415c48494 | [
"BSL-1.0",
"BSD-3-Clause"
] | null | null | null | libcaf_core/src/response_promise.cpp | Boubou818/actor-framework | da90ef78b26da5d225f039072e616da415c48494 | [
"BSL-1.0",
"BSD-3-Clause"
] | null | null | null | /******************************************************************************
* ____ _ _____ *
* / ___| / \ | ___| C++ *
* | | / _ \ | |_ Actor *
... | 35.262626 | 80 | 0.493841 | v2nero |
402efd6856e50ca629d5b72ec75b07bbe50e7ac7 | 1,948 | hpp | C++ | system/dummy_diag_publisher/include/dummy_diag_publisher/dummy_diag_publisher_node.hpp | meliketanrikulu/autoware.universe | 04f2b53ae1d7b41846478641ad6ff478c3d5a247 | [
"Apache-2.0"
] | 58 | 2021-11-30T09:03:46.000Z | 2022-03-31T15:25:17.000Z | system/dummy_diag_publisher/include/dummy_diag_publisher/dummy_diag_publisher_node.hpp | meliketanrikulu/autoware.universe | 04f2b53ae1d7b41846478641ad6ff478c3d5a247 | [
"Apache-2.0"
] | 425 | 2021-11-30T02:24:44.000Z | 2022-03-31T10:26:37.000Z | system/dummy_diag_publisher/include/dummy_diag_publisher/dummy_diag_publisher_node.hpp | meliketanrikulu/autoware.universe | 04f2b53ae1d7b41846478641ad6ff478c3d5a247 | [
"Apache-2.0"
] | 69 | 2021-11-30T02:09:18.000Z | 2022-03-31T15:38:29.000Z | // Copyright 2020 Tier IV, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to i... | 25.973333 | 78 | 0.755647 | meliketanrikulu |
4035fef9cc227b62898e0aa7c51bdcd618626852 | 4,416 | hpp | C++ | src/libraries/core/fvMesh/fvMeshMapper/fvSurfaceMapper.hpp | MrAwesomeRocks/caelus-cml | 55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7 | [
"mpich2"
] | null | null | null | src/libraries/core/fvMesh/fvMeshMapper/fvSurfaceMapper.hpp | MrAwesomeRocks/caelus-cml | 55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7 | [
"mpich2"
] | null | null | null | src/libraries/core/fvMesh/fvMeshMapper/fvSurfaceMapper.hpp | MrAwesomeRocks/caelus-cml | 55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7 | [
"mpich2"
] | null | null | null | /*---------------------------------------------------------------------------*\
Copyright (C) 2011 OpenFOAM Foundation
-------------------------------------------------------------------------------
License
This file is part of CAELUS.
CAELUS is free software: you can redistribute it and/or modify it
under... | 25.526012 | 79 | 0.532382 | MrAwesomeRocks |
4036c8a294efeb2a4193bc52a7f0d5a28ffa74ea | 1,749 | hpp | C++ | sdk/boost_1_30_0/boost/type_traits/detail/cv_traits_impl.hpp | acidicMercury8/xray-1.0 | 65e85c0e31e82d612c793d980dc4b73fa186c76c | [
"Linux-OpenIB"
] | 10 | 2021-05-04T06:40:27.000Z | 2022-01-20T20:24:28.000Z | sdk/boost_1_30_0/boost/type_traits/detail/cv_traits_impl.hpp | acidicMercury8/xray-1.0 | 65e85c0e31e82d612c793d980dc4b73fa186c76c | [
"Linux-OpenIB"
] | null | null | null | sdk/boost_1_30_0/boost/type_traits/detail/cv_traits_impl.hpp | acidicMercury8/xray-1.0 | 65e85c0e31e82d612c793d980dc4b73fa186c76c | [
"Linux-OpenIB"
] | 2 | 2020-05-17T10:01:14.000Z | 2020-09-11T20:17:27.000Z |
// (C) Copyright Dave Abrahams, Steve Cleary, Beman Dawes, Howard
// Hinnant & John Maddock 2000. Permission to copy, use, modify,
// sell and distribute this software is granted provided this
// copyright notice appears in all copies. This software is provided
// "as is" without express or implied warranty, and... | 27.761905 | 77 | 0.740423 | acidicMercury8 |
4037198d8d3c56b935e3d4812801ed4cddd9e74f | 11,493 | cpp | C++ | rilc_test.cpp | cocktail828/rilc | 09d469e26b527cef9b407e7e8d4186ac3726eef7 | [
"MIT"
] | null | null | null | rilc_test.cpp | cocktail828/rilc | 09d469e26b527cef9b407e7e8d4186ac3726eef7 | [
"MIT"
] | null | null | null | rilc_test.cpp | cocktail828/rilc | 09d469e26b527cef9b407e7e8d4186ac3726eef7 | [
"MIT"
] | null | null | null | #include <iostream>
#include <string>
#include <thread>
#include <chrono>
#include <future>
#include <vector>
#include <getopt.h>
#include <unistd.h>
#include <string.h>
#include "rilc_api.h"
#include "rilc_interface.h"
#include "logger.h"
std::mutex mutexSocilited;
std::condition_variable condSocilited;
void socil... | 45.426877 | 127 | 0.595406 | cocktail828 |
4038654c9fcdc2b790ca19c3b87d229ac0346f20 | 939 | cpp | C++ | sample03/utils.cpp | trumpsilver/Aladin | 283233c0583db120eb2a881cddca20f474dc6a98 | [
"MIT"
] | null | null | null | sample03/utils.cpp | trumpsilver/Aladin | 283233c0583db120eb2a881cddca20f474dc6a98 | [
"MIT"
] | null | null | null | sample03/utils.cpp | trumpsilver/Aladin | 283233c0583db120eb2a881cddca20f474dc6a98 | [
"MIT"
] | null | null | null | #include <d3dx9.h>
#include "utils.h"
#include "trace.h"
LPDIRECT3DSURFACE9 CreateSurfaceFromFile(LPDIRECT3DDEVICE9 d3ddv, LPWSTR FilePath)
{
D3DXIMAGE_INFO info;
HRESULT result = D3DXGetImageInfoFromFile(FilePath,&info);
if (result!=D3D_OK)
{
trace(L"[ERROR] Failed to get image info '%s'",FilePath);
retur... | 20.866667 | 82 | 0.681576 | trumpsilver |
40392ee2adc672b6b7007720bda215e1dca4677c | 3,619 | cpp | C++ | CanInterface/module.cpp | code2love/Can4Python | 3899442bea7985bf790412bafc8048a550f59249 | [
"BSD-2-Clause"
] | 1 | 2020-03-18T22:29:35.000Z | 2020-03-18T22:29:35.000Z | CanInterface/module.cpp | code2love/Can4Python | 3899442bea7985bf790412bafc8048a550f59249 | [
"BSD-2-Clause"
] | null | null | null | CanInterface/module.cpp | code2love/Can4Python | 3899442bea7985bf790412bafc8048a550f59249 | [
"BSD-2-Clause"
] | null | null | null | #include <pybind11/pybind11.h>
#include <pybind11/stl.h>
#include <Windows.h>
#include <cmath>
#include "CanInterface.h"
using namespace pybind11::literals;
namespace py = pybind11;
class Can4Python : public CanInterface
{
public:
Can4Python()
: CanInterface()
{}
bool SendCanMessage(int devIndex, unsigned int m... | 40.662921 | 134 | 0.751036 | code2love |
403ac187da7e7c7c5fc71365257f91d6306c8305 | 356 | cpp | C++ | dataset/test/modification/1467_rename/27/transformation_1.cpp | Karina5005/Plagiarism | ce11f72ba21a754ca84a27e5f26a31a19d6cb6fb | [
"MIT"
] | 3 | 2022-02-15T00:29:39.000Z | 2022-03-15T08:36:44.000Z | dataset/test/modification/1467_rename/27/transformation_1.cpp | Kira5005-code/Plagiarism | ce11f72ba21a754ca84a27e5f26a31a19d6cb6fb | [
"MIT"
] | null | null | null | dataset/test/modification/1467_rename/27/transformation_1.cpp | Kira5005-code/Plagiarism | ce11f72ba21a754ca84a27e5f26a31a19d6cb6fb | [
"MIT"
] | null | null | null | #include <cstdio>
int main() {
int pwg;scanf("%d", &pwg);
while (pwg--) {
int awr;scanf("%d", &awr);
switch (awr) {
case 1: printf("9");break;
case 2: printf("98");break;
default: printf("989");int zqi_ifn = 0;for (int ebe = 4;ebe <= awr;ebe++) {printf("%d", zqi_ifn);zqi_ifn = (zqi_ifn + 1) % 10;}break;
... | 23.733333 | 136 | 0.55618 | Karina5005 |
403b76428c6f36b0dfa3723efaa3cd6befc6fdbc | 9,350 | hpp | C++ | vsl/Types.hpp | VegaLib/VSL | c110b1b8ce6aa7a88d2bc97a3e99385e638dfc6d | [
"MS-PL"
] | null | null | null | vsl/Types.hpp | VegaLib/VSL | c110b1b8ce6aa7a88d2bc97a3e99385e638dfc6d | [
"MS-PL"
] | null | null | null | vsl/Types.hpp | VegaLib/VSL | c110b1b8ce6aa7a88d2bc97a3e99385e638dfc6d | [
"MS-PL"
] | null | null | null | /*
* Microsoft Public License (Ms-PL) - Copyright (c) 2020-2021 Sean Moss
* This file is subject to the terms and conditions of the Microsoft Public License, the text of which can be found in
* the 'LICENSE' file at the root of this repository, or online at <https://opensource.org/licenses/MS-PL>.
*/
#pragma once
... | 31.694915 | 118 | 0.694118 | VegaLib |
403b95a9c060df7849f5de1ded3bd9053846e746 | 4,223 | cpp | C++ | MachoRuntimeSpy/utils.cpp | jmpews/rtspy | a2cfd5875a1a45935e5da53e8d5e4c51bf76abd7 | [
"Apache-2.0"
] | 30 | 2017-03-20T13:25:31.000Z | 2021-04-25T10:22:45.000Z | MachoRuntimeSpy/utils.cpp | jmpews/rtspy | a2cfd5875a1a45935e5da53e8d5e4c51bf76abd7 | [
"Apache-2.0"
] | null | null | null | MachoRuntimeSpy/utils.cpp | jmpews/rtspy | a2cfd5875a1a45935e5da53e8d5e4c51bf76abd7 | [
"Apache-2.0"
] | 9 | 2017-03-28T02:07:18.000Z | 2020-05-04T09:44:31.000Z | #include "utils.hpp"
#include "cli.hpp"
#include <mach-o/dyld_images.h>
bool readTaskMemory(task_t t, vm_address_t addr, void *buf, unsigned long len)
{
if(addr <= 0)
Serror("memory read address < 0");
if(len <= 0)
Serror("memory read length <0");
vm_size_t dataCnt = len;
kern_return_t... | 29.950355 | 125 | 0.542505 | jmpews |
403bf13cd3d727bb040b68c6ed8860e673818d6d | 5,322 | cpp | C++ | VEngine/src/VEngine/scene/Scene.cpp | Parsif/VEngine | a31bdb1479c4dabe6a5eb808008600e736164180 | [
"MIT"
] | null | null | null | VEngine/src/VEngine/scene/Scene.cpp | Parsif/VEngine | a31bdb1479c4dabe6a5eb808008600e736164180 | [
"MIT"
] | null | null | null | VEngine/src/VEngine/scene/Scene.cpp | Parsif/VEngine | a31bdb1479c4dabe6a5eb808008600e736164180 | [
"MIT"
] | null | null | null | #include "precheader.h"
#include "Scene.h"
#include "renderer/ModelLoader.h"
#include "renderer/Renderer.h"
#include "renderer/MaterialLibrary.h"
#include <glm/gtx/string_cast.hpp>
namespace vengine
{
void Scene::init(Ref<Renderer> renderer)
{
m_renderer = renderer;
create_camera();
}
void Scene::on_updat... | 28.923913 | 151 | 0.753288 | Parsif |
403d1d9668f7539cd39f7d681a82ce208c989495 | 688 | cc | C++ | leetcode/Math/2_keys_keyboard.cc | LIZHICHAOUNICORN/Toolkits | db45dac4de14402a21be0c40ba8e87b4faeda1b6 | [
"Apache-2.0"
] | null | null | null | leetcode/Math/2_keys_keyboard.cc | LIZHICHAOUNICORN/Toolkits | db45dac4de14402a21be0c40ba8e87b4faeda1b6 | [
"Apache-2.0"
] | null | null | null | leetcode/Math/2_keys_keyboard.cc | LIZHICHAOUNICORN/Toolkits | db45dac4de14402a21be0c40ba8e87b4faeda1b6 | [
"Apache-2.0"
] | null | null | null | #include <vector>
#include "third_party/gflags/include/gflags.h"
#include "third_party/glog/include/logging.h"
using namespace std;
// Problem: https://leetcode-cn.com/problems/2-keys-keyboard
class Solution {
public:
int minSteps(int n) {
int ret = 0;
for (int i = 2; i * i < n; ++i) {
while (n % i ... | 19.657143 | 60 | 0.56686 | LIZHICHAOUNICORN |
403edaaa28d03cb446f8c7595ea664af9d30887e | 126 | cpp | C++ | Computer_science/B06_Makefile/S1_Basics/S1_01_zZAux03.cpp | Polirecyliente/SGConocimiento | 560b08984236d7a10f50c6b5e6fb28844193d81b | [
"CC-BY-4.0"
] | null | null | null | Computer_science/B06_Makefile/S1_Basics/S1_01_zZAux03.cpp | Polirecyliente/SGConocimiento | 560b08984236d7a10f50c6b5e6fb28844193d81b | [
"CC-BY-4.0"
] | null | null | null | Computer_science/B06_Makefile/S1_Basics/S1_01_zZAux03.cpp | Polirecyliente/SGConocimiento | 560b08984236d7a10f50c6b5e6fb28844193d81b | [
"CC-BY-4.0"
] | null | null | null | #include <iostream>
using namespace std;
void print_fun1()
{
cout << "In Section1_1AuxC, function print one" << endl;
} | 15.75 | 60 | 0.68254 | Polirecyliente |
404140631d8c24907572ed196bb6790b21d7964d | 12,853 | cpp | C++ | src/main.cpp | sthoduka/VOCUS2 | 19da5f334ee59c36853a5989030ff63bc82b9f28 | [
"MIT"
] | 6 | 2018-03-21T03:33:26.000Z | 2021-08-04T07:19:52.000Z | src/main.cpp | sthoduka/VOCUS2 | 19da5f334ee59c36853a5989030ff63bc82b9f28 | [
"MIT"
] | null | null | null | src/main.cpp | sthoduka/VOCUS2 | 19da5f334ee59c36853a5989030ff63bc82b9f28 | [
"MIT"
] | 7 | 2017-12-01T11:01:19.000Z | 2022-01-17T12:03:11.000Z | /*****************************************************************************
*
* main.cpp file for the saliency program VOCUS2.
* A detailed description of the algorithm can be found in the paper: "Traditional Saliency Reloaded: A Good Old Model in New Shape", S. Frintrop, T. Werner, G. Martin Garcia, in Proceedings... | 27.522484 | 285 | 0.597993 | sthoduka |
40418b3b6842bf314c4fddc9277886581fc06913 | 5,112 | cpp | C++ | msg_re/parse_x3/src/main.cpp | Bram-Wel/routeros | 21d721384c25edbca66a3d52c853edc9faa83cad | [
"BSD-3-Clause"
] | 732 | 2018-10-07T14:51:37.000Z | 2022-03-31T09:25:20.000Z | msg_re/parse_x3/src/main.cpp | Bram-Wel/routeros | 21d721384c25edbca66a3d52c853edc9faa83cad | [
"BSD-3-Clause"
] | 22 | 2018-10-09T06:49:35.000Z | 2020-05-17T07:43:20.000Z | msg_re/parse_x3/src/main.cpp | Bram-Wel/routeros | 21d721384c25edbca66a3d52c853edc9faa83cad | [
"BSD-3-Clause"
] | 401 | 2018-10-07T16:28:58.000Z | 2022-03-30T09:17:47.000Z | #include <fstream>
#include <iostream>
#include <boost/cstdint.hpp>
#include <boost/scoped_array.hpp>
#include <boost/program_options.hpp>
namespace
{
const char s_version[] = "x3 parser version 1.0.0";
// at least need room for the header
const boost::uint32_t s_minFileSize = 12;
// this isn't actua... | 31.170732 | 133 | 0.544405 | Bram-Wel |
4045ef2d3dc6f14adcf1e7a489ccfcb50f8ab5a7 | 1,603 | hh | C++ | include/sot/torque_control/utils/lin-estimator.hh | nim65s/sot-torque-control | 0277baa065e6addf16df804676d47597cf1b4b06 | [
"BSD-2-Clause"
] | 6 | 2017-11-01T20:14:53.000Z | 2020-04-03T04:51:07.000Z | include/sot/torque_control/utils/lin-estimator.hh | nim65s/sot-torque-control | 0277baa065e6addf16df804676d47597cf1b4b06 | [
"BSD-2-Clause"
] | 52 | 2017-03-31T21:24:38.000Z | 2021-11-03T08:27:46.000Z | include/sot/torque_control/utils/lin-estimator.hh | nim65s/sot-torque-control | 0277baa065e6addf16df804676d47597cf1b4b06 | [
"BSD-2-Clause"
] | 14 | 2017-04-06T20:03:27.000Z | 2020-07-28T14:20:42.000Z | /*
Oscar Efrain RAMOS PONCE, LAAS-CNRS
Date: 28/10/2014
Object to estimate a polynomial of first order that fits some data.
*/
#ifndef _LIN_ESTIMATOR_HH_
#define _LIN_ESTIMATOR_HH_
#include <sot/torque_control/utils/poly-estimator.hh>
/**
* Object to fit a first order polynomial to a given data. This can b... | 28.625 | 114 | 0.716157 | nim65s |
4047ee09ebe17c6fbed2988abb3bf23a30aab4cc | 2,213 | cpp | C++ | Lab 09/lab9.cpp | ndbeals/Operating-System-Labs | a691558b240fd54ce8272ee2b045cd4c4743804c | [
"MIT"
] | null | null | null | Lab 09/lab9.cpp | ndbeals/Operating-System-Labs | a691558b240fd54ce8272ee2b045cd4c4743804c | [
"MIT"
] | null | null | null | Lab 09/lab9.cpp | ndbeals/Operating-System-Labs | a691558b240fd54ce8272ee2b045cd4c4743804c | [
"MIT"
] | null | null | null | #include <iostream>
#include <stdio.h>
#include <string>
#include <numeric>
#include <algorithm>
// supplied values
int blockSize[] = {5,10,50,100};
int numBlocks = sizeof blockSize / sizeof blockSize[0];
int processSize[] = {11,6,34,5,25,60};
int numberOfProcesses = sizeof processSize / sizeof processSize[0];
// pro... | 22.581633 | 86 | 0.617714 | ndbeals |
4048742113c630cd43b4c35c76e0e91c1a86eadf | 18,177 | cxx | C++ | pandatool/src/palettizer/txaLine.cxx | kestred/panda3d | 16bfd3750f726a8831771b81649d18d087917fd5 | [
"PHP-3.01",
"PHP-3.0"
] | 3 | 2018-03-09T12:07:29.000Z | 2021-02-25T06:50:25.000Z | pandatool/src/palettizer/txaLine.cxx | Sinkay/panda3d | 16bfd3750f726a8831771b81649d18d087917fd5 | [
"PHP-3.01",
"PHP-3.0"
] | null | null | null | pandatool/src/palettizer/txaLine.cxx | Sinkay/panda3d | 16bfd3750f726a8831771b81649d18d087917fd5 | [
"PHP-3.01",
"PHP-3.0"
] | null | null | null | // Filename: txaLine.cxx
// Created by: drose (30Nov00)
//
////////////////////////////////////////////////////////////////////
//
// PANDA 3D SOFTWARE
// Copyright (c) Carnegie Mellon University. All rights reserved.
//
// All use of this software is subject to the terms of the revised BSD
// license. You should ha... | 28.898251 | 116 | 0.550641 | kestred |
4049ab855718aaf0cb3883e3cb1477f844a019cd | 2,893 | cpp | C++ | src/mame/video/exterm.cpp | Robbbert/messui | 49b756e2140d8831bc81335298ee8c5471045e79 | [
"BSD-3-Clause"
] | 26 | 2015-03-31T06:25:51.000Z | 2021-12-14T09:29:04.000Z | src/mame/video/exterm.cpp | Robbbert/messui | 49b756e2140d8831bc81335298ee8c5471045e79 | [
"BSD-3-Clause"
] | null | null | null | src/mame/video/exterm.cpp | Robbbert/messui | 49b756e2140d8831bc81335298ee8c5471045e79 | [
"BSD-3-Clause"
] | 10 | 2015-03-27T05:45:51.000Z | 2022-02-04T06:57:36.000Z | // license:BSD-3-Clause
// copyright-holders:Alex Pasadyn,Zsolt Vasvari,Aaron Giles
/***************************************************************************
Gottlieb Exterminator hardware
***************************************************************************/
#include "emu.h"
#include "includes/exterm.h... | 26.541284 | 120 | 0.58728 | Robbbert |