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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
56235b42e92e62b2c824ef5db29b60893f325edb | 79,076 | cpp | C++ | Source/SystemQOR/MSWindows/WinQAPI/src/Kernel/kProcessThread.cpp | mfaithfull/QOR | 0fa51789344da482e8c2726309265d56e7271971 | [
"BSL-1.0"
] | 9 | 2016-05-27T01:00:39.000Z | 2021-04-01T08:54:46.000Z | Source/SystemQOR/MSWindows/WinQAPI/src/Kernel/kProcessThread.cpp | mfaithfull/QOR | 0fa51789344da482e8c2726309265d56e7271971 | [
"BSL-1.0"
] | 1 | 2016-03-03T22:54:08.000Z | 2016-03-03T22:54:08.000Z | Source/SystemQOR/MSWindows/WinQAPI/src/Kernel/kProcessThread.cpp | mfaithfull/QOR | 0fa51789344da482e8c2726309265d56e7271971 | [
"BSL-1.0"
] | 4 | 2016-05-27T01:00:43.000Z | 2018-08-19T08:47:49.000Z | //kProcessThread.cpp
// Copyright Querysoft Limited 2013
//
// Permission is hereby granted, free of charge, to any person or organization
// obtaining a copy of the software and accompanying documentation covered by
// this license (the "Software") to use, reproduce, display, distribute,
// execute, and transmit the ... | 38.743753 | 341 | 0.631481 | mfaithfull |
562638c4854b4e3d4336fde9c9d40a78fe0ea36e | 1,409 | cc | C++ | test/matrix/test3.1.1-3/test.cc | XpressAI/frovedis | bda0f2c688fb832671c5b542dd8df1c9657642ff | [
"BSD-2-Clause"
] | 63 | 2018-06-21T14:11:59.000Z | 2022-03-30T11:24:36.000Z | test/matrix/test3.1.1-3/test.cc | XpressAI/frovedis | bda0f2c688fb832671c5b542dd8df1c9657642ff | [
"BSD-2-Clause"
] | 5 | 2018-09-22T14:01:53.000Z | 2021-12-27T16:11:05.000Z | test/matrix/test3.1.1-3/test.cc | XpressAI/frovedis | bda0f2c688fb832671c5b542dd8df1c9657642ff | [
"BSD-2-Clause"
] | 12 | 2018-08-23T15:59:44.000Z | 2022-02-20T06:47:22.000Z | #include <frovedis.hpp>
#include <frovedis/matrix/sliced_vector.hpp>
#include <frovedis/matrix/sliced_matrix.hpp>
#include <frovedis/matrix/blas_wrapper.hpp>
#define BOOST_TEST_MODULE FrovedisTest
#include <boost/test/unit_test.hpp>
using namespace frovedis;
using namespace std;
BOOST_AUTO_TEST_CASE( frovedis_test )... | 28.755102 | 72 | 0.71753 | XpressAI |
56265ff78e926a840bede08994dc0891c27e500e | 3,394 | cpp | C++ | scene.cpp | HeckMina/CGI | 976dfe064ec8021ef615354c46ca93637c56b8c6 | [
"MIT"
] | 2 | 2021-07-06T01:01:55.000Z | 2021-07-07T01:30:31.000Z | scene.cpp | HeckMina/CGI | 976dfe064ec8021ef615354c46ca93637c56b8c6 | [
"MIT"
] | null | null | null | scene.cpp | HeckMina/CGI | 976dfe064ec8021ef615354c46ca93637c56b8c6 | [
"MIT"
] | 1 | 2021-03-31T05:36:27.000Z | 2021-03-31T05:36:27.000Z | #include "scene.h"
#include "ggl.h"
#include "utils.h"
#include "shader.h"
#include "ShaderPipeline.h"
#include "Material.h"
#include "model.h"
#include "SceneNode.h"
#include "framebufferobject.h"
#include "fullscreenquad.h"
#include "TextureCubeMap.h"
#include "InputUniform.h"
#include <thread>
using namespace Alice;... | 33.60396 | 157 | 0.769888 | HeckMina |
562ae6dbcbdc1213cf9c8ed90992413ad2618ff6 | 473 | cc | C++ | March/20220328/practice/02.cc | RecklessTeikon/MyCPPJourney | 0f11b810703f487cdbaf7a19e1ed6f999340a66a | [
"MIT"
] | 1 | 2022-03-28T15:59:22.000Z | 2022-03-28T15:59:22.000Z | March/20220328/practice/02.cc | RecklessTeikon/MyCPPJourney | 0f11b810703f487cdbaf7a19e1ed6f999340a66a | [
"MIT"
] | null | null | null | March/20220328/practice/02.cc | RecklessTeikon/MyCPPJourney | 0f11b810703f487cdbaf7a19e1ed6f999340a66a | [
"MIT"
] | null | null | null | #include <iostream>
using std::cout;
using std::endl;
void f2(int &x, int &y)
{
int z = x;
x = y;
y = z;
}
void f3(int *x, int *y)
{
int z = *x;
*x = *y;
*y = z;
}
int main()
{
int x, y;
x = 10; y = 26;
cout << "x, y = " << x << ", " << y << endl;
f2(x, y);
cout << "x, y = " << x << ", " << y << e... | 13.911765 | 45 | 0.365751 | RecklessTeikon |
562f573891ea07c72278d94baa205050279984d0 | 12,091 | cpp | C++ | source/Bezier.cpp | Osumi-Akari/energytycoon | 25d18a0ee4a9f8833e678af297734602918a92e9 | [
"Unlicense"
] | null | null | null | source/Bezier.cpp | Osumi-Akari/energytycoon | 25d18a0ee4a9f8833e678af297734602918a92e9 | [
"Unlicense"
] | null | null | null | source/Bezier.cpp | Osumi-Akari/energytycoon | 25d18a0ee4a9f8833e678af297734602918a92e9 | [
"Unlicense"
] | null | null | null | #include "StdAfx.h"
#include "Bezier.h"
/*-----------------------------------------------------------------------------------------------*/
BezierCurve2D::BezierCurve2D(std::vector< Ogre::Vector2 > pPoints, double pError, int pSubdivision)
: mSubdivision(pSubdivision),
mPoints(pPoints)
{
fitCubic(0, pPoints.s... | 29.634804 | 99 | 0.510297 | Osumi-Akari |
563477cefa788b8323ae2b4dbbdd66a70b70bb77 | 90 | cpp | C++ | XI/recursivitate/info.mcip.ro/197.cpp | rlodina99/Learn_cpp | 0c5bd9e6c52ca21e2eb95eb91597272ddc842c08 | [
"MIT"
] | null | null | null | XI/recursivitate/info.mcip.ro/197.cpp | rlodina99/Learn_cpp | 0c5bd9e6c52ca21e2eb95eb91597272ddc842c08 | [
"MIT"
] | null | null | null | XI/recursivitate/info.mcip.ro/197.cpp | rlodina99/Learn_cpp | 0c5bd9e6c52ca21e2eb95eb91597272ddc842c08 | [
"MIT"
] | null | null | null | #197. [2010-02-28 - 23:22:52]
Sa se calculeze recursiv suma primelor n patrate perfecte.
| 30 | 59 | 0.733333 | rlodina99 |
56381cfd635865967ba3d1c4596e929350e18ae5 | 1,862 | hpp | C++ | tau/TauEngine/include/texture/NullTexture.hpp | hyfloac/TauEngine | 1559b2a6e6d1887b8ee02932fe0aa6e5b9d5652c | [
"MIT"
] | 1 | 2020-04-22T04:07:01.000Z | 2020-04-22T04:07:01.000Z | tau/TauEngine/include/texture/NullTexture.hpp | hyfloac/TauEngine | 1559b2a6e6d1887b8ee02932fe0aa6e5b9d5652c | [
"MIT"
] | null | null | null | tau/TauEngine/include/texture/NullTexture.hpp | hyfloac/TauEngine | 1559b2a6e6d1887b8ee02932fe0aa6e5b9d5652c | [
"MIT"
] | null | null | null | #pragma once
#include "Texture.hpp"
class TAU_DLL NullTexture final : public ITexture
{
DEFAULT_CONSTRUCT_PU(NullTexture);
DEFAULT_DESTRUCT(NullTexture);
TEXTURE_IMPL(NullTexture);
public:
[[nodiscard]] ETexture::Format dataFormat() const noexcept override { return static_cast<ETexture::Format>(0); }
... | 30.032258 | 119 | 0.731472 | hyfloac |
563f4c3b021a63b25af6520c4961cb5e53482894 | 8,487 | hpp | C++ | Nacro/SDK/FN_LegacyRatingWidget_classes.hpp | Milxnor/Nacro | eebabf662bbce6d5af41820ea0342d3567a0aecc | [
"BSD-2-Clause"
] | 11 | 2021-08-08T23:25:10.000Z | 2022-02-19T23:07:22.000Z | Nacro/SDK/FN_LegacyRatingWidget_classes.hpp | Milxnor/Nacro | eebabf662bbce6d5af41820ea0342d3567a0aecc | [
"BSD-2-Clause"
] | 1 | 2022-01-01T22:51:59.000Z | 2022-01-08T16:14:15.000Z | Nacro/SDK/FN_LegacyRatingWidget_classes.hpp | Milxnor/Nacro | eebabf662bbce6d5af41820ea0342d3567a0aecc | [
"BSD-2-Clause"
] | 8 | 2021-08-09T13:51:54.000Z | 2022-01-26T20:33:37.000Z | #pragma once
// Fortnite (1.8) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace SDK
{
//---------------------------------------------------------------------------
//Classes
//---------------------------------------------------------------------------
// WidgetBlueprintGeneratedClass LegacyRatingWidget... | 104.777778 | 644 | 0.60575 | Milxnor |
5640746e8722acdc65f6bddc246365bfe7db9a9f | 475 | cpp | C++ | GradientDescent/GradientDescent/UnaryOperation.cpp | skostrov/GradientDescent | aed56fa9d1452252f76e8841227283372f2e761d | [
"MIT"
] | null | null | null | GradientDescent/GradientDescent/UnaryOperation.cpp | skostrov/GradientDescent | aed56fa9d1452252f76e8841227283372f2e761d | [
"MIT"
] | null | null | null | GradientDescent/GradientDescent/UnaryOperation.cpp | skostrov/GradientDescent | aed56fa9d1452252f76e8841227283372f2e761d | [
"MIT"
] | null | null | null | #include "stdafx.h"
#include "UnaryOperation.h"
UnaryOperation::UnaryOperation(const string& name_, AbstractOperation* operand_) :
AbstractOperation(name_),
operand(operand_)
{
}
UnaryOperation::~UnaryOperation()
{
}
OperationPriority UnaryOperation::GetPriority() const
{
return OperationPriority::HIGH;
}
double ... | 16.37931 | 82 | 0.766316 | skostrov |
564138bfdc400ea41af453df1757d3e57c983fe4 | 103,801 | cc | C++ | test/aarch64/test-disasm-morello-c64-aarch64.cc | capablevms/VIXL | 769c8e46a09bb077e9a2148b86a2093addce8233 | [
"BSD-3-Clause"
] | null | null | null | test/aarch64/test-disasm-morello-c64-aarch64.cc | capablevms/VIXL | 769c8e46a09bb077e9a2148b86a2093addce8233 | [
"BSD-3-Clause"
] | null | null | null | test/aarch64/test-disasm-morello-c64-aarch64.cc | capablevms/VIXL | 769c8e46a09bb077e9a2148b86a2093addce8233 | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2020, VIXL 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 source code must retain the above copyright notice,
// this list of conditions ... | 41.687149 | 80 | 0.60117 | capablevms |
5641c0bc364c11b7a0a1f7fed655c11887312b8c | 852 | cpp | C++ | MSCL/source/mscl/MicroStrain/Inertial/Commands/RawRTCM_2_3Message.cpp | contagon/MSCL | dc9029e7b7f83dc0eed5035ebb653102b0237060 | [
"BSL-1.0",
"OpenSSL",
"MIT"
] | 53 | 2015-08-28T02:41:41.000Z | 2022-03-03T07:50:53.000Z | MSCL/source/mscl/MicroStrain/Inertial/Commands/RawRTCM_2_3Message.cpp | contagon/MSCL | dc9029e7b7f83dc0eed5035ebb653102b0237060 | [
"BSL-1.0",
"OpenSSL",
"MIT"
] | 209 | 2015-09-30T19:36:11.000Z | 2022-03-04T21:52:20.000Z | MSCL/source/mscl/MicroStrain/Inertial/Commands/RawRTCM_2_3Message.cpp | contagon/MSCL | dc9029e7b7f83dc0eed5035ebb653102b0237060 | [
"BSL-1.0",
"OpenSSL",
"MIT"
] | 55 | 2015-09-03T14:40:01.000Z | 2022-02-04T02:02:01.000Z | #include "stdafx.h"
#include "RawRTCM_2_3Message.h"
#include "mscl/MicroStrain/MIP/MipDataField.h"
#include "mscl/MicroStrain/MIP/Packets/MipPacketBuilder.h"
#include "mscl/MicroStrain/MIP/MipTypes.h"
#include "mscl/MicroStrain/MIP/Commands/MIP_Commands.h"
namespace mscl
{
RawRTCM_2_3Message::RawRTCM_2_3Message(co... | 27.483871 | 85 | 0.725352 | contagon |
56464054c5a2a8ec94faac8484921f56cff92f5f | 153 | cpp | C++ | test/shared/class.cpp | PredatorCZ/PreCore | 98f5896e35371d034e6477dd0ce9edeb4fd8d814 | [
"Apache-2.0"
] | 5 | 2019-10-17T15:52:38.000Z | 2021-08-10T18:57:32.000Z | test/shared/class.cpp | PredatorCZ/PreCore | 98f5896e35371d034e6477dd0ce9edeb4fd8d814 | [
"Apache-2.0"
] | null | null | null | test/shared/class.cpp | PredatorCZ/PreCore | 98f5896e35371d034e6477dd0ce9edeb4fd8d814 | [
"Apache-2.0"
] | 1 | 2021-01-31T20:37:42.000Z | 2021-01-31T20:37:42.000Z | #include "datas/reflector.hpp"
struct SimpleStruct {
uint32 field0;
uint32 field1;
};
REFLECT(CLASS(SimpleStruct), MEMBER(field0), MEMBER(field1))
| 17 | 60 | 0.745098 | PredatorCZ |
5646ff388563153ca3d87ad144efdcd5eb8e7d15 | 2,323 | cpp | C++ | 3. Red/1 Week/8. Deque/deque.cpp | freeraisor/yandexcplusplus | 9708fdb6cd7e039672ebc2e77f131fbc7a765750 | [
"MIT"
] | 14 | 2019-08-29T12:34:07.000Z | 2022-03-09T13:31:18.000Z | 3. Red/1 Week/8. Deque/deque.cpp | freeraisor/yandexcplusplus | 9708fdb6cd7e039672ebc2e77f131fbc7a765750 | [
"MIT"
] | null | null | null | 3. Red/1 Week/8. Deque/deque.cpp | freeraisor/yandexcplusplus | 9708fdb6cd7e039672ebc2e77f131fbc7a765750 | [
"MIT"
] | 8 | 2020-09-10T11:40:03.000Z | 2022-03-24T00:34:38.000Z | //
// Created by ilya on 27.09.2019.
//
#include <vector>
#include <stdexcept>
#include <iostream>
#include <sstream>
#define LOG(name) \
//std::cerr << #name << std::endl
template <typename T>
class Deque {
public:
Deque() = default;
bool Empty() const {
LOG(empty);
return front_.empty() && back_.empty... | 16.475177 | 48 | 0.519587 | freeraisor |
871d402b58f6668770ff08305caa695ac9c99ae5 | 1,933 | cpp | C++ | lib-osc/src/oscstring.cpp | rodb70/rpidmx512 | 6e7eef3eaba35cc2eb7cdeb5bef906faea9366fd | [
"MIT"
] | 328 | 2015-02-26T09:54:16.000Z | 2022-03-31T11:04:00.000Z | lib-osc/src/oscstring.cpp | rodb70/rpidmx512 | 6e7eef3eaba35cc2eb7cdeb5bef906faea9366fd | [
"MIT"
] | 195 | 2016-07-13T10:43:37.000Z | 2022-03-20T19:14:55.000Z | lib-osc/src/oscstring.cpp | rodb70/rpidmx512 | 6e7eef3eaba35cc2eb7cdeb5bef906faea9366fd | [
"MIT"
] | 113 | 2015-06-08T04:54:23.000Z | 2022-02-15T09:06:10.000Z | /**
* @file oscstring.cpp
*
*/
/* Copyright (C) 2016-2020 by Arjan van Vught mailto:info@orangepi-dmx.nl
*
* 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, includin... | 30.203125 | 96 | 0.705122 | rodb70 |
8722f4049c4041e0e63d11533b0c0cd6d3f6602f | 10,558 | cpp | C++ | GenerateTypedPropertyEnums.cpp | ChristophHaag/steamvr-plugin-loader | 72ed904b1c0fa03f7d5b1e872e883fa511d700a4 | [
"Apache-2.0"
] | null | null | null | GenerateTypedPropertyEnums.cpp | ChristophHaag/steamvr-plugin-loader | 72ed904b1c0fa03f7d5b1e872e883fa511d700a4 | [
"Apache-2.0"
] | null | null | null | GenerateTypedPropertyEnums.cpp | ChristophHaag/steamvr-plugin-loader | 72ed904b1c0fa03f7d5b1e872e883fa511d700a4 | [
"Apache-2.0"
] | null | null | null | /** @file
@brief Implementation
@date 2016
@author
Sensics, Inc.
<http://sensics.com/osvr>
*/
// Copyright 2016 Razer, 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 Lic... | 33.201258 | 120 | 0.615836 | ChristophHaag |
872728281efd8394c28d853726223b3493a23ae1 | 5,651 | cc | C++ | srilm/lattice/src/LatticeIndex.cc | renmengye/neural-lm | b3dd7844f72fd63dc3d09f65d3cb5d186ca089e2 | [
"MIT"
] | 3 | 2019-10-24T07:50:29.000Z | 2020-05-06T13:08:42.000Z | srilm/lattice/src/LatticeIndex.cc | renmengye/neural-lm | b3dd7844f72fd63dc3d09f65d3cb5d186ca089e2 | [
"MIT"
] | null | null | null | srilm/lattice/src/LatticeIndex.cc | renmengye/neural-lm | b3dd7844f72fd63dc3d09f65d3cb5d186ca089e2 | [
"MIT"
] | null | null | null | /*
* LatticeIndex.cc --
* Indexing of N-grams in lattice
*
*/
#ifndef lint
static char Copyright[] = "Copyright (c) 2006-2010 SRI International. All Rights Reserved.";
static char RcsId[] = "@(#)$Header: /home/srilm/CVS/srilm/lattice/src/LatticeIndex.cc,v 1.8 2013-03-19 06:41:45 stolcke Exp $";
#endif
#include <... | 27.432039 | 127 | 0.649443 | renmengye |
8728cc211da420fe04d229bf285637f73ab7ce87 | 1,386 | cpp | C++ | 1742/5586185_AC_2032MS_19816K.cpp | vandreas19/POJ_sol | 4895764ab800e8c2c4b2334a562dec2f07fa243e | [
"MIT"
] | 18 | 2017-08-14T07:34:42.000Z | 2022-01-29T14:20:29.000Z | 1742/5586185_AC_2032MS_19816K.cpp | pinepara/poj_solutions | 4895764ab800e8c2c4b2334a562dec2f07fa243e | [
"MIT"
] | null | null | null | 1742/5586185_AC_2032MS_19816K.cpp | pinepara/poj_solutions | 4895764ab800e8c2c4b2334a562dec2f07fa243e | [
"MIT"
] | 14 | 2016-12-21T23:37:22.000Z | 2021-07-24T09:38:57.000Z | #include<cstdio>
#include<algorithm>
using namespace std;
const int COIN_CLASS_NUM_MAX=100,PRICE_RANGE_MAX=100000;
short remain[COIN_CLASS_NUM_MAX][PRICE_RANGE_MAX+1];
bool pay[PRICE_RANGE_MAX+1];
struct Coin{
int value,num;
};
Coin coins[COIN_CLASS_NUM_MAX];
bool CoinCompare(const Coin& left,const C... | 27.176471 | 73 | 0.65368 | vandreas19 |
87290f8b556a39e3025099fb0173d57e83c7cad6 | 3,568 | cpp | C++ | tools/converter/source/caffe/Convolution3D.cpp | xhuan28/MNN | 81df3a48d79cbc0b75251d12934345948866f7be | [
"Apache-2.0"
] | 6,958 | 2019-05-06T02:38:02.000Z | 2022-03-31T18:08:48.000Z | tools/converter/source/caffe/Convolution3D.cpp | xhuan28/MNN | 81df3a48d79cbc0b75251d12934345948866f7be | [
"Apache-2.0"
] | 1,775 | 2019-05-06T04:40:19.000Z | 2022-03-30T15:39:24.000Z | tools/converter/source/caffe/Convolution3D.cpp | xhuan28/MNN | 81df3a48d79cbc0b75251d12934345948866f7be | [
"Apache-2.0"
] | 1,511 | 2019-05-06T02:38:05.000Z | 2022-03-31T16:59:39.000Z | //
// Convolution3D.cpp
// MNNConverter
//
// Created by MNN on 2019/01/31.
// Copyright © 2018, Alibaba Group Holding Limited
//
#include <cstdint>
#include <vector>
#include "OpConverter.hpp"
#include "logkit.h"
using namespace std;
class Convolution3DConverter : public OpConverter {
public:
Convolution3DCo... | 36.408163 | 117 | 0.580998 | xhuan28 |
872a8c5709018ad77405d5f4e28448c061a04e73 | 3,235 | cpp | C++ | game/opengl/gl_utils.cpp | cassiersg/elec-2103 | f0152c81e8d808a1ab62c78e9324fb99b341638a | [
"Apache-2.0"
] | null | null | null | game/opengl/gl_utils.cpp | cassiersg/elec-2103 | f0152c81e8d808a1ab62c78e9324fb99b341638a | [
"Apache-2.0"
] | null | null | null | game/opengl/gl_utils.cpp | cassiersg/elec-2103 | f0152c81e8d808a1ab62c78e9324fb99b341638a | [
"Apache-2.0"
] | null | null | null | #include "gl_utils.hpp"
#include <stdlib.h>
#include <assert.h>
#include <stdio.h>
void assertOpenGLError(const char *msg)
{
GLenum error = glGetError();
if (error != GL_NO_ERROR) {
printf("openGL error %s, %x\n", msg, error);
assert(0);
}
}
// Create a shader object, load the shader sour... | 24.694656 | 82 | 0.620402 | cassiersg |
872bbb6294723baaac3e078c7416ba11e0d3793b | 911 | cpp | C++ | restresponse.cpp | mholyoak/SampleWeatherReport | 0947f865efeff93fcee8abc88d307809a3ab5055 | [
"MIT"
] | null | null | null | restresponse.cpp | mholyoak/SampleWeatherReport | 0947f865efeff93fcee8abc88d307809a3ab5055 | [
"MIT"
] | null | null | null | restresponse.cpp | mholyoak/SampleWeatherReport | 0947f865efeff93fcee8abc88d307809a3ab5055 | [
"MIT"
] | null | null | null | #include "restresponse.h"
CRestResponse::CRestResponse()
{
}
CRestResponse::CRestResponse(bool success, int code, std::string body) :
_success(success),
_code(code),
_stringBody(body)
{
}
CRestResponse::CRestResponse(bool success, int code, BinaryData body) :
_success(success),
_code(code),
... | 14.934426 | 72 | 0.706915 | mholyoak |
8730baa767df6df918a8e5903197b5220ca84cc8 | 1,929 | cpp | C++ | Code/GUI/Memo.cpp | BomjSoft/BCL | f6863035d987b3fad184db8533d395d73beaf601 | [
"MIT"
] | null | null | null | Code/GUI/Memo.cpp | BomjSoft/BCL | f6863035d987b3fad184db8533d395d73beaf601 | [
"MIT"
] | null | null | null | Code/GUI/Memo.cpp | BomjSoft/BCL | f6863035d987b3fad184db8533d395d73beaf601 | [
"MIT"
] | null | null | null | //---------------------------------------------------------------------------
#include "Memo.h"
//---------------------------------------------------------------------------
namespace bcl {
//---------------------------------------------------------------------------
CMemo::CMemo() : CComponent()
{
readOnly =... | 30.619048 | 252 | 0.378434 | BomjSoft |
87325b081c7667402448db6529bcae25e6ddd34c | 7,724 | cpp | C++ | Source/Scripting/bsfScript/Generated/BsScriptCD6Joint.generated.cpp | bsf2dev/bsf | b318cd4eb1b0299773d625e6c870b8d503cf539e | [
"MIT"
] | 1,745 | 2018-03-16T02:10:28.000Z | 2022-03-26T17:34:21.000Z | Source/Scripting/bsfScript/Generated/BsScriptCD6Joint.generated.cpp | bsf2dev/bsf | b318cd4eb1b0299773d625e6c870b8d503cf539e | [
"MIT"
] | 395 | 2018-03-16T10:18:20.000Z | 2021-08-04T16:52:08.000Z | Source/Scripting/bsfScript/Generated/BsScriptCD6Joint.generated.cpp | bsf2dev/bsf | b318cd4eb1b0299773d625e6c870b8d503cf539e | [
"MIT"
] | 267 | 2018-03-17T19:32:54.000Z | 2022-02-17T16:55:50.000Z | //********************************* bs::framework - Copyright 2018-2019 Marko Pintera ************************************//
//*********** Licensed under the MIT license. See LICENSE.md for full terms. This notice is not to be removed. ***********//
#include "BsScriptCD6Joint.generated.h"
#include "BsMonoMethod.h"
#inc... | 40.229167 | 134 | 0.789617 | bsf2dev |
8732d5a2ac189d5f61eacd1766004938bc739733 | 5,353 | cxx | C++ | panda/src/char/characterJointBundle.cxx | kestred/panda3d | 16bfd3750f726a8831771b81649d18d087917fd5 | [
"PHP-3.01",
"PHP-3.0"
] | 3 | 2018-03-09T12:07:29.000Z | 2021-02-25T06:50:25.000Z | panda/src/char/characterJointBundle.cxx | Sinkay/panda3d | 16bfd3750f726a8831771b81649d18d087917fd5 | [
"PHP-3.01",
"PHP-3.0"
] | null | null | null | panda/src/char/characterJointBundle.cxx | Sinkay/panda3d | 16bfd3750f726a8831771b81649d18d087917fd5 | [
"PHP-3.01",
"PHP-3.0"
] | null | null | null | // Filename: characterJointBundle.cxx
// Created by: drose (23Feb99)
//
////////////////////////////////////////////////////////////////////
//
// 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. ... | 37.173611 | 90 | 0.546236 | kestred |
87358cb390697556a66e68253c848828d3f24a4a | 15,050 | cpp | C++ | ConvertSpiderdb.cpp | privacore/open-source-search-engine | dac28de673068039381ca3f66521ea4c1eaf6a1e | [
"Apache-2.0"
] | 134 | 2016-05-30T13:29:37.000Z | 2021-06-18T02:13:51.000Z | ConvertSpiderdb.cpp | mehmet-biter/open-source-search-engine | dac28de673068039381ca3f66521ea4c1eaf6a1e | [
"Apache-2.0"
] | 65 | 2016-10-31T16:02:28.000Z | 2020-04-30T14:18:57.000Z | ConvertSpiderdb.cpp | mehmet-biter/open-source-search-engine | dac28de673068039381ca3f66521ea4c1eaf6a1e | [
"Apache-2.0"
] | 22 | 2016-05-30T13:29:39.000Z | 2020-06-30T08:43:38.000Z | #include "ConvertSpiderdb.h"
#include "sqlite3.h"
#include "Log.h"
#include "Spider.h"
#include "Rdb.h"
#include "types.h"
#include "Msg5.h"
#include "Collectiondb.h"
#include "Hostdb.h"
#include "SpiderdbSqlite.h"
#include <unistd.h>
static const char create_table_statmeent[] =
"CREATE TABLE spiderdb ("
" m_firstI... | 39.501312 | 167 | 0.708771 | privacore |
8735d28c035eaf68c2f63e7e196b2bfb9f9502ec | 875 | cpp | C++ | FindMDL.cpp | ReeceJones/csgomeme | 5c9ffc9372232912e98080359fbca47350fa493f | [
"Unlicense"
] | null | null | null | FindMDL.cpp | ReeceJones/csgomeme | 5c9ffc9372232912e98080359fbca47350fa493f | [
"Unlicense"
] | null | null | null | FindMDL.cpp | ReeceJones/csgomeme | 5c9ffc9372232912e98080359fbca47350fa493f | [
"Unlicense"
] | null | null | null | #include "Hooks.h"
#include "Interfaces.h"
#include "Definitions.h"
#include "Settings.h"
#include "Features.h"
FindMDLFn FindMDL_Original;
MDLHandle_t __fastcall Hooks::FindMDL_Hooked(void* ecx, void* edx, const char* pMDLRelativePath)
{
//if (strstr(pMDLRelativePath, "v_knife_default_ct.mdl")
// || strstr(pMDLRela... | 36.458333 | 98 | 0.770286 | ReeceJones |
8739d0df43f20b8d83ab20b984a198bb349164ae | 390 | cpp | C++ | MLSA Event-101/C++/array.cpp | rswalia/open-source-contribution-for-beginners | 1ea29479c6d949760c83926b4c43a6b0d33ad0a0 | [
"MIT"
] | 35 | 2021-12-20T13:37:01.000Z | 2022-03-22T20:52:36.000Z | MLSA Event-101/C++/array.cpp | rswalia/open-source-contribution-for-beginners | 1ea29479c6d949760c83926b4c43a6b0d33ad0a0 | [
"MIT"
] | 152 | 2021-11-01T06:00:11.000Z | 2022-03-20T11:40:00.000Z | MLSA Event-101/C++/array.cpp | rswalia/open-source-contribution-for-beginners | 1ea29479c6d949760c83926b4c43a6b0d33ad0a0 | [
"MIT"
] | 71 | 2021-11-01T06:02:37.000Z | 2022-03-20T04:49:30.000Z | #include<bits/stdc++.h>
using namespace std;
int main(){
int n;
cin>>n;
int arr[n];
for (int i = 0; i < n; i++)
{
cin>>arr[i];
}
// for (int i = 0; i < n; i++)
// {
// cout<<arr[i]<<" ";
// }
/******************Reverse Array***************/
for (int i = (n-1); i ... | 16.956522 | 48 | 0.335897 | rswalia |
873b5a1142c7ebf70727ec37e64d01cc0963563c | 2,054 | hpp | C++ | game/code/common/engine/system/assert.hpp | justinctlam/MarbleStrike | 64fe36a5a4db2b299983b0e2556ab1cd8126259b | [
"MIT"
] | null | null | null | game/code/common/engine/system/assert.hpp | justinctlam/MarbleStrike | 64fe36a5a4db2b299983b0e2556ab1cd8126259b | [
"MIT"
] | null | null | null | game/code/common/engine/system/assert.hpp | justinctlam/MarbleStrike | 64fe36a5a4db2b299983b0e2556ab1cd8126259b | [
"MIT"
] | 2 | 2019-03-08T03:02:45.000Z | 2019-05-14T08:41:26.000Z | #ifndef ASSERT_HPP
#define ASSERT_HPP
//////////////////////////////////////////////////////
// INCLUDES
//////////////////////////////////////////////////////
#if defined PLAT_PC || defined PLAT_WINDOWS_PHONE || defined PLAT_WINDOWS_8
#include <windows.h>
#endif
#include <stdio.h>
#include <assert.h>
#include <wcha... | 23.340909 | 102 | 0.610029 | justinctlam |
873dec0ac6c2a9eda481ac2d9d51e58a1329a44a | 7,595 | cpp | C++ | src/mains/main7.cpp | KSaunders98/simpleEngine | d2bb6f77606dba04c4289125ca3799cc725cb60f | [
"MIT"
] | 1 | 2022-02-17T03:25:14.000Z | 2022-02-17T03:25:14.000Z | src/mains/main7.cpp | KSaunders98/simpleEngine | d2bb6f77606dba04c4289125ca3799cc725cb60f | [
"MIT"
] | null | null | null | src/mains/main7.cpp | KSaunders98/simpleEngine | d2bb6f77606dba04c4289125ca3799cc725cb60f | [
"MIT"
] | null | null | null | #include <chrono>
#include <condition_variable>
#include <mutex>
#include <thread>
#include "mains/mains.hpp"
using std::size_t;
using namespace Render3D;
using namespace Math3D;
void main7() {
Window window(WIDTH, HEIGHT, "Render during resize (by multithreading and callback)");
Context3D* context = window... | 46.310976 | 141 | 0.633706 | KSaunders98 |
873fae10520db248eedb186f9ad27f739239b5da | 3,358 | cpp | C++ | view-transaction/main.cpp | jambolo/Equity | e9f142aec8c5292406b32633fd714c26cf7fd6cd | [
"MIT"
] | null | null | null | view-transaction/main.cpp | jambolo/Equity | e9f142aec8c5292406b32633fd714c26cf7fd6cd | [
"MIT"
] | null | null | null | view-transaction/main.cpp | jambolo/Equity | e9f142aec8c5292406b32633fd714c26cf7fd6cd | [
"MIT"
] | null | null | null | //
// main.cpp
// Equity
//
// Created by John Bolton on 10/16/15.
//
//
#include "equity/Script.h"
#include "equity/Transaction.h"
#include "p2p/Serialize.h"
#include "utility/Utility.h"
#include <cstdio>
#include <memory>
#include <vector>
using namespace Equity;
static void syntax(int argc, char ** argv);
in... | 40.95122 | 449 | 0.691483 | jambolo |
87459d1aa640774982b2eb21226c8b6dbbc8f318 | 341 | cpp | C++ | Dataset/Leetcode/test/7/138.cpp | kkcookies99/UAST | fff81885aa07901786141a71e5600a08d7cb4868 | [
"MIT"
] | null | null | null | Dataset/Leetcode/test/7/138.cpp | kkcookies99/UAST | fff81885aa07901786141a71e5600a08d7cb4868 | [
"MIT"
] | null | null | null | Dataset/Leetcode/test/7/138.cpp | kkcookies99/UAST | fff81885aa07901786141a71e5600a08d7cb4868 | [
"MIT"
] | null | null | null | class Solution {
public:
int XXX(int x) {
int a = 0;
long ret = 0;
while(x != 0)
{
a = x % 10;
x = x / 10;
ret = ret * 10 + a;
if(ret < INT_MIN || ret > INT_MAX)
return 0;
}
return (i... | 17.05 | 46 | 0.313783 | kkcookies99 |
87487ae9ddc7f1669a2962916ee42c4e44c0dfea | 628 | cc | C++ | kernel/mm/sbrk.cc | foreverbell/BadAppleOS | 695e4de5f41cc64e0d6a1b147ab6d84d50b91416 | [
"MIT"
] | 52 | 2015-07-11T02:35:11.000Z | 2022-01-06T22:03:23.000Z | kernel/mm/sbrk.cc | foreverbell/BadAppleOS | 695e4de5f41cc64e0d6a1b147ab6d84d50b91416 | [
"MIT"
] | null | null | null | kernel/mm/sbrk.cc | foreverbell/BadAppleOS | 695e4de5f41cc64e0d6a1b147ab6d84d50b91416 | [
"MIT"
] | 3 | 2018-06-10T06:52:37.000Z | 2021-11-05T05:49:15.000Z |
#include <stdint.h>
#include <stdio.h>
#include "sbrk.h"
namespace mm {
namespace {
void* const MFAIL = (void*) ~(size_t(0));
#define KRNL_MEM_BEGIN ((void*) 0xc0400000)
#define KRNL_MEM_END ((void*) 0xc0c00000)
uint8_t* pbreak = (uint8_t*) KRNL_MEM_BEGIN;
}
// implementation follows http://linux.die.net/man/... | 18.470588 | 59 | 0.660828 | foreverbell |
8749d632bde4167bea14c76e6f80d9a68ef58d32 | 740 | cpp | C++ | zad1.cpp | trt5/practika | ea2a1577fce97c98db83f517d8d815566b30dd7f | [
"Unlicense"
] | null | null | null | zad1.cpp | trt5/practika | ea2a1577fce97c98db83f517d8d815566b30dd7f | [
"Unlicense"
] | null | null | null | zad1.cpp | trt5/practika | ea2a1577fce97c98db83f517d8d815566b30dd7f | [
"Unlicense"
] | null | null | null | #include <iostream>
#include <cmath>
using namespace std;
int main() {
double a, b, c, D, x1, x2;
cout << "Roots of the equation: \n";
cin >> a >> b >> c;
if (a == 0) {
x1 = -(c / b);
cout << "x1 = x2 = " << x1 << "\n";
}
else {
D = pow(b, 2) - 4 * a * c... | 23.870968 | 48 | 0.287838 | trt5 |
874cce1c4de24994baa76a4b7d5e88fb6bd2e695 | 1,818 | cpp | C++ | REDSI_1160929_1161573/boost_1_67_0/libs/callable_traits/example/args.cpp | Wultyc/ISEP_1718_2A2S_REDSI_TrabalhoGrupo | eb0f7ef64e188fe871f47c2ef9cdef36d8a66bc8 | [
"MIT"
] | 32 | 2019-02-27T06:57:07.000Z | 2021-08-29T10:56:19.000Z | REDSI_1160929_1161573/boost_1_67_0/libs/callable_traits/example/args.cpp | Wultyc/ISEP_1718_2A2S_REDSI_TrabalhoGrupo | eb0f7ef64e188fe871f47c2ef9cdef36d8a66bc8 | [
"MIT"
] | 1 | 2019-03-04T11:21:00.000Z | 2019-05-24T01:36:31.000Z | REDSI_1160929_1161573/boost_1_67_0/libs/callable_traits/example/args.cpp | Wultyc/ISEP_1718_2A2S_REDSI_TrabalhoGrupo | eb0f7ef64e188fe871f47c2ef9cdef36d8a66bc8 | [
"MIT"
] | 5 | 2019-08-20T13:45:04.000Z | 2022-03-01T18:23:49.000Z | /*<-
Copyright (c) 2016 Barrett Adair
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
->*/
#include <boost/callable_traits/detail/config.hpp>
#ifdef BOOST_CLBL_TRTS_DISABLE_ABOMINABLE_FUNCTIONS
int main(){ return 0; }
... | 25.971429 | 79 | 0.586909 | Wultyc |
874da5a74f54504445850355ea706cc805145276 | 74 | cpp | C++ | src/examples/11_module/01_ref_pointers/main.cpp | acc-cosc-1337-spring-2020-hl/acc-cosc-1337-spring-2020-C0779752 | 884607c753f72e0390a7ea3c374137ce1debd6b3 | [
"MIT"
] | 2 | 2022-01-26T01:12:05.000Z | 2022-02-12T04:25:51.000Z | src/examples/11_module/01_ref_pointers/main.cpp | acc-cosc-1337-spring-2020-hl/acc-cosc-1337-spring-2020-C0779752 | 884607c753f72e0390a7ea3c374137ce1debd6b3 | [
"MIT"
] | 2 | 2021-09-25T03:34:05.000Z | 2021-10-02T03:30:43.000Z | src/examples/11_module/01_ref_pointers/main.cpp | acc-cosc-1337-spring-2020-hl/acc-cosc-1337-spring-2020-C0779752 | 884607c753f72e0390a7ea3c374137ce1debd6b3 | [
"MIT"
] | 3 | 2020-09-10T03:02:48.000Z | 2020-12-09T13:23:10.000Z | #include "ref_pointers.h"
#include<iostream>
int main()
{
return 0;
} | 9.25 | 25 | 0.662162 | acc-cosc-1337-spring-2020-hl |
8753f08789377e8d3235416a009692618ef686e6 | 1,534 | cpp | C++ | src/cpp/2016-11-18/__Coding 20 Longest Increasing subsequence.cpp | spurscoder/forTest | 2ab069d6740f9d7636c6988a5a0bd3825518335d | [
"MIT"
] | null | null | null | src/cpp/2016-11-18/__Coding 20 Longest Increasing subsequence.cpp | spurscoder/forTest | 2ab069d6740f9d7636c6988a5a0bd3825518335d | [
"MIT"
] | 1 | 2018-10-24T05:48:27.000Z | 2018-10-24T05:52:14.000Z | src/cpp/2016-11-18/__Coding 20 Longest Increasing subsequence.cpp | spurscoder/forTest | 2ab069d6740f9d7636c6988a5a0bd3825518335d | [
"MIT"
] | null | null | null | /*
问题描述:最长上升子序列
给定一个整数序列,找到最长上升子序列(LIS),返回LIS的长度。
最长上升子序列的定义:
最长上升子序列问题是在一个无序的给定序列中找到一个尽可能长的
由低到高排列的子序列,这种子序列不一定是连续的或者唯一的。
挑战 :
要求时间复杂度为O(n^2) 或者 O(nlogn)
标签 :
二分法 LintCode 版权所有 动态规划
思路:
如何把这个问题分解成子问题呢?经过分析,发现 “求以ak(k=1, 2, 3…N)为终点的最长上升子序列的
长度”是个好的子问题――这里把一个上升子序列中最右边的那个数,称为该子序列的“终点”。虽然这个
子问题和原问题形式上并不完全一样,但是只要这N个子问题... | 23.96875 | 66 | 0.616688 | spurscoder |
87562cb4238493db4d590c4ec28c1e0f2795efe2 | 6,478 | cpp | C++ | lib/fields/cjson_class_field.cpp | bouviervj/cjson | abc96451f02f1b6fc7dfa0b21cd459593c0b9e1e | [
"Apache-2.0"
] | 4 | 2015-10-28T17:12:43.000Z | 2018-09-11T14:45:11.000Z | lib/fields/cjson_class_field.cpp | bouviervj/cjson | abc96451f02f1b6fc7dfa0b21cd459593c0b9e1e | [
"Apache-2.0"
] | null | null | null | lib/fields/cjson_class_field.cpp | bouviervj/cjson | abc96451f02f1b6fc7dfa0b21cd459593c0b9e1e | [
"Apache-2.0"
] | 2 | 2016-10-21T12:36:56.000Z | 2020-08-13T11:07:27.000Z | /*
* Copyright 2013 BOUVIER-VOLAILLE Julien
*
* 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 ... | 28.04329 | 115 | 0.60142 | bouviervj |
875763dbcf35f5b4793ac596400d7594ededfba6 | 1,614 | hpp | C++ | library/include/lvgl/MessageBox.hpp | StratifyLabs/LvglAPI | c869d5b38ad3aa148fa0801d12271f2d9a6043c5 | [
"MIT"
] | 1 | 2022-01-03T19:16:58.000Z | 2022-01-03T19:16:58.000Z | library/include/lvgl/MessageBox.hpp | StratifyLabs/LvglAPI | c869d5b38ad3aa148fa0801d12271f2d9a6043c5 | [
"MIT"
] | null | null | null | library/include/lvgl/MessageBox.hpp | StratifyLabs/LvglAPI | c869d5b38ad3aa148fa0801d12271f2d9a6043c5 | [
"MIT"
] | null | null | null | #ifndef LVGLAPI_LVGL_MESSAGEBOX_HPP
#define LVGLAPI_LVGL_MESSAGEBOX_HPP
#include "Button.hpp"
#include "ButtonMatrix.hpp"
#include "Label.hpp"
#if defined MessageBox
#undef MessageBox
#endif
namespace lvgl {
class MessageBox : public ObjectAccess<MessageBox> {
public:
struct Construct {
Construct &set_button... | 27.827586 | 93 | 0.724287 | StratifyLabs |
8757ab5381e936617ed3e73c6be0c4a7cc548fe7 | 499 | cc | C++ | kmp-search/prefixfunction.cc | dkodar20/String-Matching-using-Fast-Fourier-Transform | 52c3d092bf9fe59993cf32064678f677957f246a | [
"MIT"
] | 1 | 2021-07-27T11:55:52.000Z | 2021-07-27T11:55:52.000Z | kmp-search/prefixfunction.cc | dkodar20/String-Matching-using-Fast-Fourier-Transform | 52c3d092bf9fe59993cf32064678f677957f246a | [
"MIT"
] | null | null | null | kmp-search/prefixfunction.cc | dkodar20/String-Matching-using-Fast-Fourier-Transform | 52c3d092bf9fe59993cf32064678f677957f246a | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
namespace PrefixFunction {
auto __pf = [](string &s, vector<int>& pi) -> void {
int n = (int)s.length();
pi.assign((unsigned)n, 0);
for(int i = 1; i < n; i++){
int j = pi[i-1];
while(j > 0 and s... | 21.695652 | 60 | 0.346693 | dkodar20 |
8759186d3f3b6f27ebf6da35633d8ca6909843b1 | 1,151 | cpp | C++ | Mistiq/src/Graphics/Shaders/Shader.cpp | SGAoo7/Mistiq | 05feb006366bc2ad15b1752f38bbe45f6967cc8c | [
"Apache-2.0"
] | 1 | 2020-10-05T15:36:31.000Z | 2020-10-05T15:36:31.000Z | Mistiq/src/Graphics/Shaders/Shader.cpp | SGAoo7/Mistiq | 05feb006366bc2ad15b1752f38bbe45f6967cc8c | [
"Apache-2.0"
] | null | null | null | Mistiq/src/Graphics/Shaders/Shader.cpp | SGAoo7/Mistiq | 05feb006366bc2ad15b1752f38bbe45f6967cc8c | [
"Apache-2.0"
] | 1 | 2020-10-05T15:36:15.000Z | 2020-10-05T15:36:15.000Z | #include "Mstqpch.h"
#include "Shader.h"
#include "include/glad/glad.h"
Mistiq::Shader::Shader(const char* a_Path, ESHADER_TYPE a_Type) : m_Type(a_Type)
{
std::string code;
std::ifstream shaderFile;
shaderFile.exceptions(std::ifstream::failbit | std::ifstream::badbit);
try
{
shaderFile.open(a_Path);
std::str... | 21.314815 | 80 | 0.719374 | SGAoo7 |
87595e0c8bda92fe36ce7464910075bb98cf5bb9 | 18,437 | cpp | C++ | src/Context.cpp | pizthewiz/Cinder-Pipeline | 2125bf034cd7160eeb1d00ec849ea59adabb9eed | [
"MIT"
] | 17 | 2015-04-29T22:24:19.000Z | 2018-12-06T13:18:06.000Z | src/Context.cpp | pizthewiz/Cinder-Pipeline | 2125bf034cd7160eeb1d00ec849ea59adabb9eed | [
"MIT"
] | null | null | null | src/Context.cpp | pizthewiz/Cinder-Pipeline | 2125bf034cd7160eeb1d00ec849ea59adabb9eed | [
"MIT"
] | 1 | 2021-12-22T12:05:16.000Z | 2021-12-22T12:05:16.000Z | //
// Context.cpp
// Cinder-Pipeline
//
// Created by Jean-Pierre Mouilleseaux on 19 Apr 2014.
// Copyright 2014-2015 Chorded Constructions. All rights reserved.
//
#include "Context.h"
#include "SourceNode.h"
#include "EffectorNode.h"
#include "cinder/Utilities.h"
#include "cinder/Json.h"
#include "cinder/Log.h"
... | 42.777262 | 171 | 0.648479 | pizthewiz |
875e66673f2b5c1e40347f2db8eb3eebb48c2a8f | 2,265 | cpp | C++ | aml-vm/src/vm/compiler/lexer/first_pass/dec_number.cpp | gear-lang/gear-vm-cpp | 89a36dcd6cacef27dd7c7fd72763e11b8eb948bd | [
"MIT"
] | null | null | null | aml-vm/src/vm/compiler/lexer/first_pass/dec_number.cpp | gear-lang/gear-vm-cpp | 89a36dcd6cacef27dd7c7fd72763e11b8eb948bd | [
"MIT"
] | 1 | 2015-09-07T22:56:07.000Z | 2015-09-12T23:41:13.000Z | aml-vm/src/vm/compiler/lexer/first_pass/dec_number.cpp | gear-lang/gear-vm-cpp | 89a36dcd6cacef27dd7c7fd72763e11b8eb948bd | [
"MIT"
] | null | null | null | #include "../lexer.hpp"
namespace AVM {
Lexer::
FirstPassDecimalNumberState::FirstPassDecimalNumberState(RawLexicalToken rawToken)
: FirstPassState(rawToken) {};
void
Lexer::
FirstPassDecimalNumberState::handle(AVM::Lexer::FirstPassMachine &machine, UChar32 inputChar) {
UChar32 const &lastChar = rawToken.... | 26.647059 | 97 | 0.664901 | gear-lang |
876321b4ed8fbf1d2e4a601d43222e125241122a | 2,078 | cpp | C++ | 0_homeworks/C++/oop/9/ClassArr/ClassArr/Source.cpp | Team-on/works | 16978b61c0d6bcb37e910efb4b5b80e9a2460230 | [
"MIT"
] | 10 | 2018-11-12T19:43:28.000Z | 2020-09-09T18:48:30.000Z | 0_homeworks/C++/oop/9/ClassArr/ClassArr/Source.cpp | Team-on/works | 16978b61c0d6bcb37e910efb4b5b80e9a2460230 | [
"MIT"
] | null | null | null | 0_homeworks/C++/oop/9/ClassArr/ClassArr/Source.cpp | Team-on/works | 16978b61c0d6bcb37e910efb4b5b80e9a2460230 | [
"MIT"
] | null | null | null | #include <iostream>
#include "ArrayTemplate.h"
using namespace std;
void main() {
ArrayTemplate <int> arr;
cout << "IsEmpty\t\t" << arr.IsEmpty() << endl;
cout << "GetSize\t\t" << arr.GetSize() << endl;
cout << "GetUpperBound\t" << arr.GetUpperBound() << endl;
cout << "GetData\t\t" << arr.GetData() << endl << en... | 30.115942 | 66 | 0.565448 | Team-on |
87637a460ff1c60c83dc1f8738e31856ea865939 | 267 | cpp | C++ | StiGame/files/Directory.cpp | jordsti/stigame | 6ac0ae737667b1c77da3ef5007f5c4a3a080045a | [
"MIT"
] | 8 | 2015-02-03T20:23:49.000Z | 2022-02-15T07:51:05.000Z | StiGame/files/Directory.cpp | jordsti/stigame | 6ac0ae737667b1c77da3ef5007f5c4a3a080045a | [
"MIT"
] | null | null | null | StiGame/files/Directory.cpp | jordsti/stigame | 6ac0ae737667b1c77da3ef5007f5c4a3a080045a | [
"MIT"
] | 2 | 2017-02-13T18:04:00.000Z | 2020-08-24T03:21:37.000Z | #include "Directory.h"
namespace StiGame
{
namespace FS
{
Directory::Directory(std::string m_name, std::string m_parent)
{
name = m_name;
parent = m_parent;
}
Directory::~Directory()
{
}
EntryType Directory::type(void)
{
return ET_Directory;
}
}
}
| 9.888889 | 62 | 0.674157 | jordsti |
8765699d8583ce31529d58ec3f744529a7545725 | 4,137 | cpp | C++ | src/Codecs/TemplateRegistry.cpp | divyang4481/quickfast | 339c78e96a1f63b74c139afa1a3c9a07afff7b5f | [
"BSD-3-Clause"
] | 198 | 2015-04-26T08:06:18.000Z | 2022-03-13T01:31:50.000Z | src/Codecs/TemplateRegistry.cpp | divyang4481/quickfast | 339c78e96a1f63b74c139afa1a3c9a07afff7b5f | [
"BSD-3-Clause"
] | 15 | 2015-07-07T19:47:08.000Z | 2022-02-04T05:56:51.000Z | src/Codecs/TemplateRegistry.cpp | divyang4481/quickfast | 339c78e96a1f63b74c139afa1a3c9a07afff7b5f | [
"BSD-3-Clause"
] | 96 | 2015-04-24T15:19:43.000Z | 2022-03-28T13:15:11.000Z | // Copyright (c) 2009, Object Computing, Inc.
// All rights reserved.
// See the file license.txt for licensing information.
#include <Common/QuickFASTPch.h>
#include "TemplateRegistry.h"
#include <Codecs/Template.h>
#include <Codecs/DictionaryIndexer.h>
using namespace ::QuickFAST;
using namespace ::QuickFAST::Codecs... | 22.856354 | 104 | 0.676819 | divyang4481 |
876598546fd634c6d81abccf7ccb09beb79d5908 | 6,654 | cpp | C++ | Source/web/ServiceWorkerGlobalScopeProxy.cpp | quanganh2627/bytm-x64-L-w05-2015_external_chromium_org_third_party_WebKit | 20e637e67a0c272870ae4d78466a68bcb77af041 | [
"BSD-3-Clause"
] | null | null | null | Source/web/ServiceWorkerGlobalScopeProxy.cpp | quanganh2627/bytm-x64-L-w05-2015_external_chromium_org_third_party_WebKit | 20e637e67a0c272870ae4d78466a68bcb77af041 | [
"BSD-3-Clause"
] | null | null | null | Source/web/ServiceWorkerGlobalScopeProxy.cpp | quanganh2627/bytm-x64-L-w05-2015_external_chromium_org_third_party_WebKit | 20e637e67a0c272870ae4d78466a68bcb77af041 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (C) 2013 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditio... | 40.327273 | 193 | 0.804328 | quanganh2627 |
87664bc86d17a960ca6c1a13f1d7a57b078acfc9 | 423 | hpp | C++ | src/bork/parse.hpp | NaerJeis/bork | 27fa5e7d4b2fc6e797d46c8266d8736277cd2886 | [
"MIT"
] | null | null | null | src/bork/parse.hpp | NaerJeis/bork | 27fa5e7d4b2fc6e797d46c8266d8736277cd2886 | [
"MIT"
] | null | null | null | src/bork/parse.hpp | NaerJeis/bork | 27fa5e7d4b2fc6e797d46c8266d8736277cd2886 | [
"MIT"
] | null | null | null | /***************************************************************************************************
* *
***************************************************************************************************/
#ifndef _BORK_... | 42.3 | 101 | 0.184397 | NaerJeis |
8766a316d834084a15d81ad95d8ebf567f2aa73f | 262 | cpp | C++ | 39 using continue statement.cpp | pujanmahat/c-oop-programme | 8f48bf409e27dbf9c03c8b3cb0a7a7dcdbc0ee46 | [
"Apache-2.0"
] | null | null | null | 39 using continue statement.cpp | pujanmahat/c-oop-programme | 8f48bf409e27dbf9c03c8b3cb0a7a7dcdbc0ee46 | [
"Apache-2.0"
] | null | null | null | 39 using continue statement.cpp | pujanmahat/c-oop-programme | 8f48bf409e27dbf9c03c8b3cb0a7a7dcdbc0ee46 | [
"Apache-2.0"
] | null | null | null | //wap to display the number from 200 to 400 except 207 usin continue statemetn in c++ programming
#include<iostream>
using namespace std;
int main()
{
int i;
for(i=200;i<=400;i++)
{
if (i==207)
{
continue;
}
cout<<i<<"\t";
}
}
| 14.555556 | 98 | 0.580153 | pujanmahat |
876a551beff3391ea8ed076552a3a9f36e37e2f4 | 4,892 | cpp | C++ | io/DirectoryInputStreamArchive.cpp | Andrewich/deadjustice | 48bea56598e79a1a10866ad41aa3517bf7d7c724 | [
"BSD-3-Clause"
] | 3 | 2019-04-20T10:16:36.000Z | 2021-03-21T19:51:38.000Z | io/DirectoryInputStreamArchive.cpp | Andrewich/deadjustice | 48bea56598e79a1a10866ad41aa3517bf7d7c724 | [
"BSD-3-Clause"
] | null | null | null | io/DirectoryInputStreamArchive.cpp | Andrewich/deadjustice | 48bea56598e79a1a10866ad41aa3517bf7d7c724 | [
"BSD-3-Clause"
] | 2 | 2020-04-18T20:04:24.000Z | 2021-09-19T05:07:41.000Z | #include "DirectoryInputStreamArchive.h"
#include <io/File.h>
#include <io/FileInputStream.h>
#include <io/FileNotFoundException.h>
#include <lang/Array.h>
#include <lang/Debug.h>
#include "config.h"
//-----------------------------------------------------------------------------
using namespace lang;
//-... | 21.086207 | 99 | 0.593827 | Andrewich |
876cfa131dc8c18353813208dc3f611c83e51abe | 5,322 | cpp | C++ | srcdll/ftdi.cpp | HPC-Factor/232usb | aaf0e43e20e7e7ea9d5f8b0a2c0ba37bcf0d1567 | [
"BSD-3-Clause"
] | null | null | null | srcdll/ftdi.cpp | HPC-Factor/232usb | aaf0e43e20e7e7ea9d5f8b0a2c0ba37bcf0d1567 | [
"BSD-3-Clause"
] | null | null | null | srcdll/ftdi.cpp | HPC-Factor/232usb | aaf0e43e20e7e7ea9d5f8b0a2c0ba37bcf0d1567 | [
"BSD-3-Clause"
] | null | null | null | // 232usb Copyright (c) 03-04,06 Zoroyoshi, Japan
// See source.txt for detail
#include <windows.h>
#include "usbdi.h"
#include "common.h"
#include "file.h"
#include "device.h"
#include "ftdi.h"
int ftdi_extension::
recvdata(BYTE* src, DWORD len)
{
//ftdi: every packet(64bytes) have two status header b... | 28.612903 | 91 | 0.684705 | HPC-Factor |
8771f169066637de0c000726cd53297210c8255d | 12,455 | cpp | C++ | Vivado_HLS_Tutorial/Interface_Synthesis/lab1/adders_prj/solution1/syn/systemc/adders.cpp | williambong/Vivado | 68efafbc44b65c0bb047dbafc0ff7f1b56ee36bb | [
"MIT"
] | null | null | null | Vivado_HLS_Tutorial/Interface_Synthesis/lab1/adders_prj/solution1/syn/systemc/adders.cpp | williambong/Vivado | 68efafbc44b65c0bb047dbafc0ff7f1b56ee36bb | [
"MIT"
] | null | null | null | Vivado_HLS_Tutorial/Interface_Synthesis/lab1/adders_prj/solution1/syn/systemc/adders.cpp | williambong/Vivado | 68efafbc44b65c0bb047dbafc0ff7f1b56ee36bb | [
"MIT"
] | null | null | null | // ==============================================================
// RTL generated by Vivado(TM) HLS - High-Level Synthesis from C, C++ and SystemC
// Version: 2015.2
// Copyright (C) 2015 Xilinx Inc. All rights reserved.
//
// ===========================================================
#include "adders.h"
#include "... | 32.434896 | 111 | 0.645203 | williambong |
8773cf166155df0f1409b68e3de6be5f5f16d04a | 1,088 | cc | C++ | src/fsm2/serial.cc | chenxuhao/gardenia | 01e8601a9ae76c3b58aa91f1c8c88203a6fe11d1 | [
"Intel",
"MIT"
] | 23 | 2017-08-16T15:14:25.000Z | 2022-01-05T06:41:08.000Z | mining/fsm2/serial.cc | chenxuhao/gardinia | 5894df11cf47f8839945edadff43dc79e260216d | [
"MIT"
] | 2 | 2020-12-14T04:51:01.000Z | 2022-02-02T20:57:28.000Z | mining/fsm2/serial.cc | chenxuhao/gardinia | 5894df11cf47f8839945edadff43dc79e260216d | [
"MIT"
] | 5 | 2019-01-22T02:09:06.000Z | 2020-04-02T12:05:42.000Z | // Copyright 2016, National University of Defense Technology
// Authors: Xuhao Chen <cxh@illinois.edu>
#include "fsm.h"
#include <timer.h>
#include <types.hpp>
#include <graph_types.hpp>
#include "miner.h"
#define FSM_VARIANT "serial"
void FSMSolver(const Graph &graph, int minsup, size_t &total) {
printf("Launching S... | 36.266667 | 105 | 0.671875 | chenxuhao |
8775eb0c5318e119aae0cf058ceb6c40666eb5f0 | 333 | cpp | C++ | emitter.cpp | privet56/qRabbifier | 4289016f9ba40658ad444580818292456574ffb5 | [
"Apache-2.0"
] | 10 | 2016-04-15T15:31:08.000Z | 2019-10-02T01:19:48.000Z | emitter.cpp | privet56/qRabbifier | 4289016f9ba40658ad444580818292456574ffb5 | [
"Apache-2.0"
] | null | null | null | emitter.cpp | privet56/qRabbifier | 4289016f9ba40658ad444580818292456574ffb5 | [
"Apache-2.0"
] | 5 | 2016-04-15T15:31:10.000Z | 2022-02-22T02:00:06.000Z | #include "emitter.h"
emitter::emitter(QObject* pLogTarget, QObject *parent) : QObject(parent)
{
connect(this,SIGNAL(log(QString,logger::LogLevel)),pLogTarget,SLOT(log(QString,logger::LogLevel)));
}
void emitter::emitlog(QString s, logger::LogLevel level, QObject* pLogTarget)
{
Q_UNUSED(pLogTarget)
emit log... | 27.75 | 103 | 0.732733 | privet56 |
877713aa2627033a2cab30753f80feef89d70bd9 | 117 | hh | C++ | src/rich-log/message.hh | project-arcana/rich-logging | 23998c8c0a2aa008dbc4dd218f3c730a5ab3058a | [
"MIT"
] | 1 | 2020-12-09T13:54:48.000Z | 2020-12-09T13:54:48.000Z | src/rich-log/message.hh | project-arcana/rich-logging | 23998c8c0a2aa008dbc4dd218f3c730a5ab3058a | [
"MIT"
] | 2 | 2020-04-03T21:00:25.000Z | 2021-03-25T14:25:05.000Z | src/rich-log/message.hh | project-arcana/rich-logging | 23998c8c0a2aa008dbc4dd218f3c730a5ab3058a | [
"MIT"
] | null | null | null | #pragma once
#include <rich-log/fwd.hh>
namespace rlog
{
struct message
{
rlog::location const* location;
};
}
| 9.75 | 35 | 0.683761 | project-arcana |
877b7b8681baf414367c859e8c2e0439fc5cdef8 | 5,579 | cpp | C++ | src/grep.cpp | jlangvand/jucipp | 0a3102f13e62d78a329d488fb1eb8812181e448e | [
"MIT"
] | null | null | null | src/grep.cpp | jlangvand/jucipp | 0a3102f13e62d78a329d488fb1eb8812181e448e | [
"MIT"
] | null | null | null | src/grep.cpp | jlangvand/jucipp | 0a3102f13e62d78a329d488fb1eb8812181e448e | [
"MIT"
] | null | null | null | #include "grep.hpp"
#include "config.hpp"
#include "dialog.hpp"
#include "filesystem.hpp"
#include "project_build.hpp"
#include "terminal.hpp"
#include "utility.hpp"
Grep::Grep(const boost::filesystem::path &path, const std::string &pattern, bool case_sensitive, bool extended_regex) {
if(path.empty())
return;
... | 28.464286 | 156 | 0.586306 | jlangvand |
877e1b954bddf9954d7916ea59d1ebddf7790694 | 5,495 | cc | C++ | src/ServiceTest.cc | rohankumardubey/ramcloud | 3a30ba5edc4a81d5e12ab20fda0360cb9bacf50f | [
"0BSD"
] | 5 | 2015-11-14T16:49:06.000Z | 2019-09-03T13:21:30.000Z | src/ServiceTest.cc | rohankumardubey/ramcloud | 3a30ba5edc4a81d5e12ab20fda0360cb9bacf50f | [
"0BSD"
] | null | null | null | src/ServiceTest.cc | rohankumardubey/ramcloud | 3a30ba5edc4a81d5e12ab20fda0360cb9bacf50f | [
"0BSD"
] | 1 | 2018-02-25T11:16:27.000Z | 2018-02-25T11:16:27.000Z | /* Copyright (c) 2010-2011 Stanford University
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR(... | 31.045198 | 80 | 0.683894 | rohankumardubey |
877f1723c0d14a29decf0dc64e9c613a41f75e73 | 797 | cpp | C++ | Libraries/RobsJuceModules/rosic/filters/rosic_BiquadBase.cpp | RobinSchmidt/RS-MET-Preliminary | 6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe | [
"FTL"
] | 34 | 2017-04-19T18:26:02.000Z | 2022-02-15T17:47:26.000Z | Libraries/RobsJuceModules/rosic/filters/rosic_BiquadBase.cpp | RobinSchmidt/RS-MET-Preliminary | 6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe | [
"FTL"
] | 307 | 2017-05-04T21:45:01.000Z | 2022-02-03T00:59:01.000Z | Libraries/RobsJuceModules/rosic/filters/rosic_BiquadBase.cpp | RobinSchmidt/RS-MET-Preliminary | 6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe | [
"FTL"
] | 4 | 2017-09-05T17:04:31.000Z | 2021-12-15T21:24:28.000Z | //#include "rosic_BiquadBase.h"
//using namespace rosic;
//-------------------------------------------------------------------------------------------------
// construction/destruction:
BiquadBase::BiquadBase()
{
initializeCoefficients();
}
BiquadBase::~BiquadBase()
{
}
//---------------------------... | 20.973684 | 102 | 0.415307 | RobinSchmidt |
87857273beb4ed6e219d8f058407d48944f8e98f | 493 | cpp | C++ | baekjoon/10950.cpp | GihwanKim/Baekjoon | 52eb2bf80bb1243697858445e5b5e2d50d78be4e | [
"MIT"
] | null | null | null | baekjoon/10950.cpp | GihwanKim/Baekjoon | 52eb2bf80bb1243697858445e5b5e2d50d78be4e | [
"MIT"
] | null | null | null | baekjoon/10950.cpp | GihwanKim/Baekjoon | 52eb2bf80bb1243697858445e5b5e2d50d78be4e | [
"MIT"
] | null | null | null | /*
10950 : A+B - 3
URL : https://www.acmicpc.net/problem/10950
Input :
5
1 1
2 3
3 4
9 8
5 2
Output :
2
5
7
17
7
*/
#include <iostream>
using namespace std;
int main(int argc, char const *argv[])
{
int N;
... | 12.02439 | 47 | 0.365112 | GihwanKim |
87882e34bbb1f68b4f8f6ad3537ef5ba4f6fb527 | 224 | cpp | C++ | tests/math.cpp | cenomla/oak-engine | e0b559497cddc69d5ed840a65e092dab263e24d1 | [
"MIT"
] | 3 | 2016-09-12T22:30:10.000Z | 2017-04-20T06:16:24.000Z | tests/math.cpp | cenomla/oakengine | e0b559497cddc69d5ed840a65e092dab263e24d1 | [
"MIT"
] | null | null | null | tests/math.cpp | cenomla/oakengine | e0b559497cddc69d5ed840a65e092dab263e24d1 | [
"MIT"
] | null | null | null | #include <oakengine.h>
#include <math/mat.h>
int main(int argc, char **argv) {
oak::math::Mat4 mat{ 2 };
oak::math::Vec4 vec{ 2 };
auto r = mat * vec;
if (r != oak::math::Vec4{ 4 }) {
return -1;
}
return 0;
}
| 11.789474 | 33 | 0.553571 | cenomla |
8788661d10ba31ea255bdbfd0aaa0ab6b8a1bcb3 | 3,872 | cpp | C++ | Week2/heap/heap.cpp | aakash-sahu/compsci-cs400 | eee279bde822784ba18c6f632f31a3e20ff13741 | [
"MIT"
] | null | null | null | Week2/heap/heap.cpp | aakash-sahu/compsci-cs400 | eee279bde822784ba18c6f632f31a3e20ff13741 | [
"MIT"
] | null | null | null | Week2/heap/heap.cpp | aakash-sahu/compsci-cs400 | eee279bde822784ba18c6f632f31a3e20ff13741 | [
"MIT"
] | null | null | null | #include <iostream>
#include "Cube.h"
using uiuc::Cube;
int main() {
// heap has to assigned by new operator
int *numPtr = new int;
std::cout << "*numptr: " << *numPtr << std::endl; // when dereferenced pointer is printed, it can return any random number
std::cout << "numptr: " << numPtr << std::... | 39.917526 | 162 | 0.573089 | aakash-sahu |
8789167f13ece3323c9814e4c8ad682a2fa879d6 | 1,673 | hpp | C++ | src/Common/Profiler.hpp | nickwn/Stratum | 3d99193199ef4e20aca9f9203a36f34e225cd896 | [
"MIT"
] | null | null | null | src/Common/Profiler.hpp | nickwn/Stratum | 3d99193199ef4e20aca9f9203a36f34e225cd896 | [
"MIT"
] | null | null | null | src/Common/Profiler.hpp | nickwn/Stratum | 3d99193199ef4e20aca9f9203a36f34e225cd896 | [
"MIT"
] | null | null | null | #pragma once
#include "common.hpp"
namespace stm {
struct ProfilerSample {
ProfilerSample* mParent;
list<unique_ptr<ProfilerSample>> mChildren;
chrono::high_resolution_clock::time_point mStartTime;
chrono::nanoseconds mDuration;
Vector4f mColor;
string mLabel;
};
class Profiler {
private:
STRATUM_API static ... | 30.418182 | 107 | 0.759115 | nickwn |
879aaa9b4605eef551fb06ce3dcf254a176754f6 | 3,070 | cpp | C++ | codeforces/F - The Number of Subpermutations/Accepted.cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | 1 | 2022-02-11T16:55:36.000Z | 2022-02-11T16:55:36.000Z | codeforces/F - The Number of Subpermutations/Accepted.cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | null | null | null | codeforces/F - The Number of Subpermutations/Accepted.cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | null | null | null | /****************************************************************************************
* @author: kzvd4729 created: Jul/14/2020 22:48
* solution_verdict: Accepted language: GNU C++17
* run... | 27.657658 | 111 | 0.485016 | kzvd4729 |
879b0fb2e9d33b6b1376dbed69573c59efb85c49 | 3,908 | cpp | C++ | src/gallium/auxiliary/util/u_debug_stack_android.cpp | thermasol/mesa3d | 6f1bc4e7edfface197ef281cffdf399b5389e24a | [
"MIT"
] | null | null | null | src/gallium/auxiliary/util/u_debug_stack_android.cpp | thermasol/mesa3d | 6f1bc4e7edfface197ef281cffdf399b5389e24a | [
"MIT"
] | null | null | null | src/gallium/auxiliary/util/u_debug_stack_android.cpp | thermasol/mesa3d | 6f1bc4e7edfface197ef281cffdf399b5389e24a | [
"MIT"
] | null | null | null | /*
* Copyright (C) 2018 Stefan Schake <stschake@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 limitation
* the rights to use, copy,... | 34.892857 | 86 | 0.692426 | thermasol |
879c0fe0d105e64e6c80733892fe3b2d81a71b0d | 8,045 | cpp | C++ | Qt/4/01_smarthome/01_smarthome/mainwindow.cpp | alientek-openedv/Embedded-Qt-Tutorial | 3c75142235b4d39c22e1ad56a5bd92d08c1a0d42 | [
"MIT"
] | 1 | 2022-02-21T03:19:36.000Z | 2022-02-21T03:19:36.000Z | Qt/4/01_smarthome/01_smarthome/mainwindow.cpp | alientek-openedv/Embedded-Qt-Tutorial | 3c75142235b4d39c22e1ad56a5bd92d08c1a0d42 | [
"MIT"
] | null | null | null | Qt/4/01_smarthome/01_smarthome/mainwindow.cpp | alientek-openedv/Embedded-Qt-Tutorial | 3c75142235b4d39c22e1ad56a5bd92d08c1a0d42 | [
"MIT"
] | 1 | 2021-10-19T04:03:56.000Z | 2021-10-19T04:03:56.000Z | /******************************************************************
Copyright © Deng Zhimao Co., Ltd. 1990-2021. All rights reserved.
* @projectName 01_smarthome
* @brief mainwindow.cpp
* @author Deng Zhimao
* @email 1252699831@qq.com
* @net www.openedv.com
* @date 2021-05-26... | 31.798419 | 68 | 0.590677 | alientek-openedv |
879cad3008564d5850747b22ea5e92478083a174 | 93 | hpp | C++ | tests/src/utility/ClassInstanceMethod.hpp | Ybalrid/jet-live | 14b909b00b98399d7e046cd8b7500a3fdfe0a0b1 | [
"MIT"
] | 325 | 2019-01-05T12:40:46.000Z | 2022-03-26T09:06:40.000Z | tests/src/utility/ClassInstanceMethod.hpp | Ybalrid/jet-live | 14b909b00b98399d7e046cd8b7500a3fdfe0a0b1 | [
"MIT"
] | 23 | 2019-01-05T19:43:47.000Z | 2022-01-10T20:11:06.000Z | tests/src/utility/ClassInstanceMethod.hpp | Ybalrid/jet-live | 14b909b00b98399d7e046cd8b7500a3fdfe0a0b1 | [
"MIT"
] | 29 | 2019-01-05T18:49:08.000Z | 2022-03-20T19:14:30.000Z |
#pragma once
class ClassInstanceMethod
{
public:
int computeResult(int v1, int v2);
};
| 10.333333 | 38 | 0.709677 | Ybalrid |
879dbd52d4434ff3e2c2200391de606dbbc18273 | 5,351 | cpp | C++ | src/cpp/uniform.cpp | dlitvak98/webgl-raub | 3456f387c2598fc4c8280724030ca4676b469be9 | [
"MIT"
] | 62 | 2018-06-03T13:54:54.000Z | 2022-03-11T08:27:36.000Z | src/cpp/uniform.cpp | dlitvak98/webgl-raub | 3456f387c2598fc4c8280724030ca4676b469be9 | [
"MIT"
] | 14 | 2018-10-18T21:34:32.000Z | 2022-02-06T03:34:10.000Z | src/cpp/uniform.cpp | dlitvak98/webgl-raub | 3456f387c2598fc4c8280724030ca4676b469be9 | [
"MIT"
] | 8 | 2018-08-22T03:35:51.000Z | 2022-02-04T00:34:06.000Z | #include "webgl.hpp"
using namespace std;
namespace webgl {
JS_METHOD(getActiveUniform) { NAPI_ENV;
REQ_INT32_ARG(0, program);
REQ_INT32_ARG(1, index);
char name[1024];
GLsizei length = 0;
GLenum type;
GLsizei size;
glGetActiveUniform(program, index, 1024, &length, &size, &type, name);
Napi::Array a... | 15.600583 | 71 | 0.683237 | dlitvak98 |
87a08f2917bd5e77de4298f24e6262b07bf09a89 | 11,349 | cpp | C++ | Source/WebCore/platform/mediastream/gstreamer/GStreamerVideoCaptureSource.cpp | jacadcaps/webkitty | 9aebd2081349f9a7b5d168673c6f676a1450a66d | [
"BSD-2-Clause"
] | 6 | 2021-07-05T16:09:39.000Z | 2022-03-06T22:44:42.000Z | Source/WebCore/platform/mediastream/gstreamer/GStreamerVideoCaptureSource.cpp | jacadcaps/webkitty | 9aebd2081349f9a7b5d168673c6f676a1450a66d | [
"BSD-2-Clause"
] | 7 | 2022-03-15T13:25:39.000Z | 2022-03-15T13:25:44.000Z | Source/WebCore/platform/mediastream/gstreamer/GStreamerVideoCaptureSource.cpp | jacadcaps/webkitty | 9aebd2081349f9a7b5d168673c6f676a1450a66d | [
"BSD-2-Clause"
] | null | null | null | /*
* Copyright (C) 2018 Metrological Group B.V.
* Author: Thibault Saunier <tsaunier@igalia.com>
* Author: Alejandro G. Castro <alex@igalia.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Soft... | 38.341216 | 184 | 0.740065 | jacadcaps |
87a2ef0a609e0e297d0543cab7c9e0049da9b7ba | 1,409 | cpp | C++ | ianlmk/cs161b/algorithms/bubbleSortArray.cpp | ianlmk/cs161 | 7a50740d1642ca0111a6d0d076b600744552a066 | [
"MIT"
] | null | null | null | ianlmk/cs161b/algorithms/bubbleSortArray.cpp | ianlmk/cs161 | 7a50740d1642ca0111a6d0d076b600744552a066 | [
"MIT"
] | 1 | 2022-03-25T18:34:47.000Z | 2022-03-25T18:35:23.000Z | ianlmk/cs161b/algorithms/bubbleSortArray.cpp | ianlmk/cs161 | 7a50740d1642ca0111a6d0d076b600744552a066 | [
"MIT"
] | null | null | null | #include <iostream>
#include <cstdlib>
#include <chrono>
#include <thread>
#define MAX 100
using namespace std;
int main(){
using namespace std::this_thread; // sleep_for, sleep_until
using namespace std::chrono; // nanoseconds, system_clock, seconds
int n;
int arr[MAX] = { };
srand(time(0));
cout << ... | 22.015625 | 71 | 0.528034 | ianlmk |
87a5f73fef10d407a0d2259d842885912ad30720 | 86 | cpp | C++ | Daxa/src/Application.cpp | Ipotrick/Daxa | 07f3f9717f43b32cbe60761602fc16b3a2789b5a | [
"MIT"
] | 3 | 2021-03-24T21:26:59.000Z | 2021-12-28T01:54:17.000Z | Daxa/src/Application.cpp | Ipotrick/Daxa | 07f3f9717f43b32cbe60761602fc16b3a2789b5a | [
"MIT"
] | 1 | 2021-12-10T01:08:15.000Z | 2021-12-15T23:38:33.000Z | Daxa/src/Application.cpp | Ipotrick/Daxa | 07f3f9717f43b32cbe60761602fc16b3a2789b5a | [
"MIT"
] | 1 | 2022-02-18T16:07:19.000Z | 2022-02-18T16:07:19.000Z | #include "Application.hpp"
#include <iostream>
#include <iomanip>
namespace daxa {
}
| 12.285714 | 26 | 0.732558 | Ipotrick |
87a9f0b9b598b3a203b8d65ae918600bd96163ce | 998 | cpp | C++ | Data_Structures/C++/Heapsort_rsathya4802.cpp | manasa-rajeshwari/DS_with_hacktoberfest | 1b09203b2e85a9b95e2cf4b17c5650ef78d33be7 | [
"Apache-2.0"
] | 16 | 2019-09-30T18:33:03.000Z | 2020-11-16T10:29:51.000Z | Data_Structures/C++/Heapsort_rsathya4802.cpp | manasa-rajeshwari/DS_with_hacktoberfest | 1b09203b2e85a9b95e2cf4b17c5650ef78d33be7 | [
"Apache-2.0"
] | 43 | 2019-09-30T13:37:57.000Z | 2020-10-30T06:13:20.000Z | Data_Structures/C++/Heapsort_rsathya4802.cpp | manasa-rajeshwari/DS_with_hacktoberfest | 1b09203b2e85a9b95e2cf4b17c5650ef78d33be7 | [
"Apache-2.0"
] | 142 | 2019-09-30T16:47:07.000Z | 2021-10-30T16:29:17.000Z | // LANGUAGE: c++
// ENV: gcc
// AUTHOR: Sathyanarayanan R
// GITHUB: https://github.com/rsathya4802
#include<iostream>
#include<bits/stdc++.h>
using namespace std;
#include<iostream>
#include<bits/stdc++.h>
using namespace std;
typedef int ll;
void swap(ll a[],ll x,ll y)
{
ll temp=a[x];
a[x]=a[y];
a[y]=temp... | 17.508772 | 41 | 0.497996 | manasa-rajeshwari |
87aa57eaece825d6443defd2e1651fc3d5d9d82c | 440 | cpp | C++ | EulerProject/0xx/01x/010/main.cpp | mathtimes/math-lab | 33b23a0f484174281daeff3ea6c80f56e32188df | [
"MIT"
] | 1 | 2022-03-23T03:29:51.000Z | 2022-03-23T03:29:51.000Z | EulerProject/0xx/01x/010/main.cpp | mathtimes/math-lab | 33b23a0f484174281daeff3ea6c80f56e32188df | [
"MIT"
] | null | null | null | EulerProject/0xx/01x/010/main.cpp | mathtimes/math-lab | 33b23a0f484174281daeff3ea6c80f56e32188df | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <vector>
using std::vector;
int main()
{
vector<long long> prime;
vector<long long>::iterator it;
long long i,sum = 2;
prime.push_back(2);
for(i=2;i<2e6;i++)
{
for(it=prime.begin();it!=prime.end();it++)
{
if(i%*it==0)
got... | 20 | 50 | 0.463636 | mathtimes |
87aa5f00665d41cc41c5aba3ceaaf703e258eb39 | 3,153 | cpp | C++ | aws-cpp-sdk-directconnect/source/model/LagState.cpp | Neusoft-Technology-Solutions/aws-sdk-cpp | 88c041828b0dbee18a297c3cfe98c5ecd0706d0b | [
"Apache-2.0"
] | 1 | 2022-02-10T08:06:54.000Z | 2022-02-10T08:06:54.000Z | aws-cpp-sdk-directconnect/source/model/LagState.cpp | Neusoft-Technology-Solutions/aws-sdk-cpp | 88c041828b0dbee18a297c3cfe98c5ecd0706d0b | [
"Apache-2.0"
] | 1 | 2021-10-14T16:57:00.000Z | 2021-10-18T10:47:24.000Z | aws-cpp-sdk-directconnect/source/model/LagState.cpp | ravindra-wagh/aws-sdk-cpp | 7d5ff01b3c3b872f31ca98fb4ce868cd01e97696 | [
"Apache-2.0"
] | 1 | 2021-12-30T04:25:33.000Z | 2021-12-30T04:25:33.000Z | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/directconnect/model/LagState.h>
#include <aws/core/utils/HashingUtils.h>
#include <aws/core/Globals.h>
#include <aws/core/utils/EnumParseOverflowContainer.h>
using namespace Aws::Utils;... | 29.745283 | 92 | 0.57818 | Neusoft-Technology-Solutions |
87ab7838b8408e2a52b1c0afe24a28a238042ae8 | 4,382 | hpp | C++ | cslibs_ndt/include/cslibs_ndt/common/weighted_occupancy_distribution.hpp | doge-of-the-day/cslibs_ndt | f326d05d5bde9750ad595790849eb2ac9a747123 | [
"BSD-3-Clause"
] | 36 | 2018-10-17T07:00:23.000Z | 2021-12-22T15:41:50.000Z | cslibs_ndt/include/cslibs_ndt/common/weighted_occupancy_distribution.hpp | doge-of-the-day/cslibs_ndt | f326d05d5bde9750ad595790849eb2ac9a747123 | [
"BSD-3-Clause"
] | 4 | 2018-10-04T14:16:28.000Z | 2020-11-26T10:03:14.000Z | cslibs_ndt/include/cslibs_ndt/common/weighted_occupancy_distribution.hpp | doge-of-the-day/cslibs_ndt | f326d05d5bde9750ad595790849eb2ac9a747123 | [
"BSD-3-Clause"
] | 18 | 2018-07-15T14:39:56.000Z | 2021-05-05T11:12:51.000Z | #ifndef CSLIBS_NDT_COMMON_WEIGHTED_OCCUPANCY_DISTRIBUTION_HPP
#define CSLIBS_NDT_COMMON_WEIGHTED_OCCUPANCY_DISTRIBUTION_HPP
#include <mutex>
#include <cslibs_math/statistics/weighted_distribution.hpp>
#include <cslibs_math/statistics/stable_weighted_distribution.hpp>
#include <cslibs_gridmaps/utility/inverse_model.hp... | 29.213333 | 106 | 0.641716 | doge-of-the-day |
87abc35abd6c12c3114f6d2caa091e340435d388 | 1,835 | cpp | C++ | src/tests/SparseLattice/sparse_lattice_functions.cpp | extragoya/LibNT | 60372bf4e3c5d6665185358c4756da4fe547f093 | [
"BSD-3-Clause"
] | 1 | 2021-04-26T05:11:32.000Z | 2021-04-26T05:11:32.000Z | src/tests/SparseLattice/sparse_lattice_functions.cpp | extragoya/LibNT | 60372bf4e3c5d6665185358c4756da4fe547f093 | [
"BSD-3-Clause"
] | null | null | null | src/tests/SparseLattice/sparse_lattice_functions.cpp | extragoya/LibNT | 60372bf4e3c5d6665185358c4756da4fe547f093 | [
"BSD-3-Clause"
] | 1 | 2017-09-21T15:38:23.000Z | 2017-09-21T15:38:23.000Z | #define BOOST_TEST_MODULE SparseLatticeFunctionTests
#include "SparseLattice.h"
#include "DenseLattice.h"
#include "MIAConfig.h"
#ifdef MIA_USE_HEADER_ONLY_TESTS
#include <boost/test/included/unit_test.hpp>
#else
#include <boost/test/unit_test.hpp>
#endif
//#include <boost/timer/timer.hpp>
template<ty... | 24.797297 | 126 | 0.67139 | extragoya |
87add2ba1c8b9b73a006430b360c1c6f7e2cd319 | 823 | cc | C++ | third_party/blink/renderer/modules/native_io/native_io_capacity_tracker.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 14,668 | 2015-01-01T01:57:10.000Z | 2022-03-31T23:33:32.000Z | third_party/blink/renderer/modules/native_io/native_io_capacity_tracker.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 113 | 2015-05-04T09:58:14.000Z | 2022-01-31T19:35:03.000Z | third_party/blink/renderer/modules/native_io/native_io_capacity_tracker.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 5,941 | 2015-01-02T11:32:21.000Z | 2022-03-31T16:35:46.000Z | // Copyright 2021 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "third_party/blink/renderer/modules/native_io/native_io_capacity_tracker.h"
#include "base/numerics/checked_math.h"
#include "base/sequence_check... | 29.392857 | 84 | 0.772783 | zealoussnow |
87b3f2890ca41a21096d9e126e2a0ad8c734768d | 3,348 | cpp | C++ | src/linad99/scbound.cpp | wStockhausen/admb | 876ec704ae974d0ed3bcc329f243dbc401ad0e6d | [
"BSD-3-Clause"
] | 79 | 2015-01-16T14:14:22.000Z | 2022-01-24T06:28:15.000Z | src/linad99/scbound.cpp | wStockhausen/admb | 876ec704ae974d0ed3bcc329f243dbc401ad0e6d | [
"BSD-3-Clause"
] | 172 | 2015-01-21T01:53:57.000Z | 2022-03-29T19:57:31.000Z | src/linad99/scbound.cpp | wStockhausen/admb | 876ec704ae974d0ed3bcc329f243dbc401ad0e6d | [
"BSD-3-Clause"
] | 22 | 2015-01-15T18:11:54.000Z | 2022-01-11T21:47:51.000Z | /*
* $Id$
*
* Author: David Fournier
* Copyright (c) 2008-2012 Regents of the University of California
*/
/**
* \file
* Description not yet available.
*/
#include "fvar.hpp"
#ifdef __TURBOC__
#pragma hdrstop
#endif
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
double dmin(double,double);
double d... | 19.241379 | 76 | 0.580346 | wStockhausen |
87b47917495c6de525022d7520b8e0066d33592f | 158 | cpp | C++ | thirdparty/apriltag/tests/test.cpp | catid/xrcap | d3c5900c44861e618fd28b4256387725646b85c7 | [
"BSD-3-Clause"
] | 62 | 2019-12-21T23:48:28.000Z | 2021-11-25T14:29:28.000Z | thirdparty/apriltag/tests/test.cpp | catid/xrcap | d3c5900c44861e618fd28b4256387725646b85c7 | [
"BSD-3-Clause"
] | 5 | 2020-01-06T19:55:41.000Z | 2020-06-19T23:13:24.000Z | thirdparty/apriltag/tests/test.cpp | catid/xrcap | d3c5900c44861e618fd28b4256387725646b85c7 | [
"BSD-3-Clause"
] | 10 | 2019-12-22T15:53:10.000Z | 2021-07-18T09:12:06.000Z | #include <apriltag.h>
int main()
{
apriltag_detector_t *detector = apriltag_detector_create();
apriltag_detector_destroy(detector);
return 0;
}
| 15.8 | 63 | 0.721519 | catid |
87b4796e38fd9cc6081aa124a4eb9ef755825a25 | 3,678 | cpp | C++ | components/scream/src/physics/shoc/tests/shoc_energy_threshold_fixer_tests.cpp | ambrad/scream | 52da60f65e870b8a3994bdbf4a6022fdcac7cab5 | [
"BSD-3-Clause"
] | 22 | 2018-12-12T17:44:55.000Z | 2022-03-11T03:47:38.000Z | components/scream/src/physics/shoc/tests/shoc_energy_threshold_fixer_tests.cpp | ambrad/scream | 52da60f65e870b8a3994bdbf4a6022fdcac7cab5 | [
"BSD-3-Clause"
] | 1,440 | 2018-07-10T16:49:55.000Z | 2022-03-31T22:41:25.000Z | components/scream/src/physics/shoc/tests/shoc_energy_threshold_fixer_tests.cpp | ambrad/scream | 52da60f65e870b8a3994bdbf4a6022fdcac7cab5 | [
"BSD-3-Clause"
] | 24 | 2018-11-12T15:43:53.000Z | 2022-03-30T18:10:52.000Z | #include "catch2/catch.hpp"
#include "shoc_unit_tests_common.hpp"
#include "physics/shoc/shoc_functions.hpp"
#include "physics/shoc/shoc_functions_f90.hpp"
#include "physics/share/physics_constants.hpp"
#include "share/scream_types.hpp"
#include "ekat/ekat_pack.hpp"
#include "ekat/util/ekat_arch.hpp"
#include "ekat/... | 26.271429 | 115 | 0.636759 | ambrad |
87b58e981229b712d5631df4c94d8263897e23d3 | 604 | cpp | C++ | vendor/detours/tests/test_image_api.cpp | Scaless/corn-cob | f8e2169c1c0882fba6047628e87e05e71fd4a676 | [
"MIT"
] | 1 | 2021-11-09T13:31:07.000Z | 2021-11-09T13:31:07.000Z | vendor/detours/tests/test_image_api.cpp | Scaless/corn-cob | f8e2169c1c0882fba6047628e87e05e71fd4a676 | [
"MIT"
] | null | null | null | vendor/detours/tests/test_image_api.cpp | Scaless/corn-cob | f8e2169c1c0882fba6047628e87e05e71fd4a676 | [
"MIT"
] | null | null | null | //////////////////////////////////////////////////////////////////////////////
//
// Unit Tests for Detours Image API (test_image_api.cpp of unittests.exe)
//
// Microsoft Research Detours Package
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
#include "catch.hpp"
#include "windows.h"
#include "... | 27.454545 | 78 | 0.592715 | Scaless |
87b69d70546afa22ad7b0306cdf6f61ed6aae1b7 | 1,108 | cc | C++ | packages/mccomponents/lib/kernels/sample/phonon/TargetCone.cc | mcvine/mcvine | 42232534b0c6af729628009bed165cd7d833789d | [
"BSD-3-Clause"
] | 5 | 2017-01-16T03:59:47.000Z | 2020-06-23T02:54:19.000Z | packages/mccomponents/lib/kernels/sample/phonon/TargetCone.cc | mcvine/mcvine | 42232534b0c6af729628009bed165cd7d833789d | [
"BSD-3-Clause"
] | 293 | 2015-10-29T17:45:52.000Z | 2022-01-07T16:31:09.000Z | packages/mccomponents/lib/kernels/sample/phonon/TargetCone.cc | mcvine/mcvine | 42232534b0c6af729628009bed165cd7d833789d | [
"BSD-3-Clause"
] | 1 | 2019-05-25T00:53:31.000Z | 2019-05-25T00:53:31.000Z | // -*- C++ -*-
//
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
// Jiao Lin
// California Institute of Technology
// (C) 2005 All Rights Reserved
//
// {LicenseText}
//
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~... | 21.307692 | 87 | 0.502708 | mcvine |
87bf36faf31ca7aafe18189fc74ce7e3be50f617 | 2,514 | cpp | C++ | test/bdhal/common/Weights_test.cpp | Stanford-BIS/pystorm | 4acaaee78a04b69ad17554126018016800e5a140 | [
"MIT"
] | 3 | 2018-12-19T06:46:15.000Z | 2019-11-08T18:53:20.000Z | test/bdhal/common/Weights_test.cpp | Stanford-BIS/pystorm | 4acaaee78a04b69ad17554126018016800e5a140 | [
"MIT"
] | 1 | 2018-12-13T00:30:08.000Z | 2018-12-14T18:55:44.000Z | test/bdhal/common/Weights_test.cpp | Stanford-BIS/pystorm | 4acaaee78a04b69ad17554126018016800e5a140 | [
"MIT"
] | null | null | null | #include "Weights.h"
#include <iostream>
#include <cstdlib>
#include "gtest/gtest.h"
namespace pystorm {
namespace bdhal {
template<typename T>
T* buildMatrix(uint32_t numRows, uint32_t numColumns) {
T* newMatrix = (T*) calloc(numRows*numColumns,sizeof(T));
return newMatrix;
}
TEST(TESTWeights, testConstr... | 25.653061 | 80 | 0.658313 | Stanford-BIS |
87bfa6a825f3d18164b52663e29ae20904385c25 | 8,204 | cpp | C++ | math/volume.cpp | Kahemp/C-Plus-Plus | 638babd61a998d67d9d68be0e67ece2255265d7f | [
"MIT"
] | 5 | 2022-01-01T04:32:12.000Z | 2022-01-01T05:14:44.000Z | math/volume.cpp | Kahemp/C-Plus-Plus | 638babd61a998d67d9d68be0e67ece2255265d7f | [
"MIT"
] | 1 | 2020-06-30T00:37:59.000Z | 2020-06-30T00:38:38.000Z | math/volume.cpp | Kahemp/C-Plus-Plus | 638babd61a998d67d9d68be0e67ece2255265d7f | [
"MIT"
] | 1 | 2022-03-10T11:13:20.000Z | 2022-03-10T11:13:20.000Z | /**
* @file
* @brief Implmentations for the [volume](https://en.wikipedia.org/wiki/Volume)
* of various 3D shapes.
* @details The volume of a 3D shape is the amount of 3D space that the shape
* takes up. All shapes have a formula to get the volume of any given shape.
* These implementations support multiple retur... | 34.32636 | 79 | 0.646148 | Kahemp |
87c2d8e2613505af95b92e74b9776bf3ef50e6fd | 520 | hpp | C++ | Machines/Utility/StringSerialiser.hpp | laurentd75/CLK | 55dbeefeb2539541409265391ba9f7d70d89449e | [
"MIT"
] | 674 | 2016-05-05T18:47:48.000Z | 2022-03-30T01:48:53.000Z | Machines/Utility/StringSerialiser.hpp | laurentd75/CLK | 55dbeefeb2539541409265391ba9f7d70d89449e | [
"MIT"
] | 223 | 2016-05-11T13:45:11.000Z | 2022-03-27T08:20:26.000Z | Machines/Utility/StringSerialiser.hpp | laurentd75/CLK | 55dbeefeb2539541409265391ba9f7d70d89449e | [
"MIT"
] | 36 | 2017-11-24T18:07:52.000Z | 2022-03-17T23:30:14.000Z | //
// StringSerialiser.hpp
// Clock Signal
//
// Created by Thomas Harte on 13/05/2018.
// Copyright 2018 Thomas Harte. All rights reserved.
//
#ifndef StringSerialiser_hpp
#define StringSerialiser_hpp
#include <string>
namespace Utility {
class StringSerialiser {
public:
StringSerialiser(const std::string &... | 16.774194 | 78 | 0.726923 | laurentd75 |
87c2fe561531cf2ff69403be99aecc1dc5a381e9 | 527 | cpp | C++ | firmware/robot2015/src-ctrl/modules/control/RobotModel.cpp | JNeiger/robocup-firmware | c1bfd4ba24070eaa4e012fdc88aa468aafcc2e4e | [
"Apache-2.0"
] | null | null | null | firmware/robot2015/src-ctrl/modules/control/RobotModel.cpp | JNeiger/robocup-firmware | c1bfd4ba24070eaa4e012fdc88aa468aafcc2e4e | [
"Apache-2.0"
] | null | null | null | firmware/robot2015/src-ctrl/modules/control/RobotModel.cpp | JNeiger/robocup-firmware | c1bfd4ba24070eaa4e012fdc88aa468aafcc2e4e | [
"Apache-2.0"
] | null | null | null | #include "RobotModel.hpp"
const RobotModel RobotModel2015 = []() {
RobotModel model;
model.WheelRadius = 0.02856;
// note: wheels are numbered clockwise, starting with the top-right
// TODO(ashaw596): Check angles.
model.WheelAngles = {
DegreesToRadians(38), DegreesToRadians(315), DegreesTo... | 26.35 | 75 | 0.671727 | JNeiger |
87c84a55a2f8167c2dbd0a0eabcdd3e3c1a190c6 | 925 | cpp | C++ | main.cpp | siirias/BatMan | 57214084e31c0d4f561a8fcbdba2fd6610cb21f7 | [
"MIT"
] | null | null | null | main.cpp | siirias/BatMan | 57214084e31c0d4f561a8fcbdba2fd6610cb21f7 | [
"MIT"
] | null | null | null | main.cpp | siirias/BatMan | 57214084e31c0d4f561a8fcbdba2fd6610cb21f7 | [
"MIT"
] | null | null | null | #define _hypot hypot
#include <cmath>
#include <irrlicht.h>
#include <stdlib.h> /* srand, rand */
#include <time.h> /* time */
#include "driverChoice.h"
#include<fstream>
#include<vector>
#include<list>
#include <sstream>
#include <iostream> // std::cout
#include <string> // std::string, std::stod
#if ... | 18.877551 | 76 | 0.705946 | siirias |
87c88d2b5e65a7e6faf770b037885ba82fde04cf | 4,567 | cpp | C++ | qwertyattack/tests/test_KeyChart.cpp | tblock007/qwertyattack | 9b02531fa896ca269dbaeb1611cc2cc0bbf41de9 | [
"MIT"
] | 1 | 2019-09-11T18:47:52.000Z | 2019-09-11T18:47:52.000Z | qwertyattack/tests/test_KeyChart.cpp | tblock007/qwertyattack | 9b02531fa896ca269dbaeb1611cc2cc0bbf41de9 | [
"MIT"
] | null | null | null | qwertyattack/tests/test_KeyChart.cpp | tblock007/qwertyattack | 9b02531fa896ca269dbaeb1611cc2cc0bbf41de9 | [
"MIT"
] | 1 | 2019-09-26T03:34:28.000Z | 2019-09-26T03:34:28.000Z | #include "../KeyChart.hpp"
#include "catch.hpp"
namespace qa {
TEST_CASE("Reading meta from KeyChart file", "[keychart]")
{
/*KeyChart kut;
kut.importFile("testdata/test1.kc", false);
REQUIRE(kut.getSongFile() == "alphabet.ogg");
REQUIRE(kut.getTitle() == "Alphabet Song");
REQUIRE(kut.getArtist() == "... | 44.77451 | 120 | 0.609372 | tblock007 |
87c9e8c38fb409c61fc687b3716c39b647a40562 | 437 | hpp | C++ | src/texture/parsers/json_array.hpp | hexoctal/zenith | eeef065ed62f35723da87c8e73a6716e50d34060 | [
"MIT"
] | 2 | 2021-03-18T16:25:04.000Z | 2021-11-13T00:29:27.000Z | src/texture/parsers/json_array.hpp | hexoctal/zenith | eeef065ed62f35723da87c8e73a6716e50d34060 | [
"MIT"
] | null | null | null | src/texture/parsers/json_array.hpp | hexoctal/zenith | eeef065ed62f35723da87c8e73a6716e50d34060 | [
"MIT"
] | 1 | 2021-11-13T00:29:30.000Z | 2021-11-13T00:29:30.000Z | /**
* @file
* @author __AUTHOR_NAME__ <mail@host.com>
* @copyright 2021 __COMPANY_LTD__
* @license <a href="https://opensource.org/licenses/MIT">MIT License</a>
*/
#ifndef ZEN_TEXTURES_PARSERS_JSONARRAY_HPP
#define ZEN_TEXTURES_PARSERS_JSONARRAY_HPP
#include "json/json.hpp"
#include "../../ecs/entity.hpp"
nam... | 20.809524 | 74 | 0.736842 | hexoctal |
d7ae4d54a755da8fc9927b84fd36f7d282af5a58 | 391 | cpp | C++ | samples/src/example.cpp | paddy74/lowletorfeats | 9305554d6af1bf156fccae1f383b83f32445275b | [
"MIT"
] | null | null | null | samples/src/example.cpp | paddy74/lowletorfeats | 9305554d6af1bf156fccae1f383b83f32445275b | [
"MIT"
] | 2 | 2019-04-23T17:24:04.000Z | 2019-04-23T17:28:46.000Z | samples/src/example.cpp | paddy74/lowletorfeats | 9305554d6af1bf156fccae1f383b83f32445275b | [
"MIT"
] | null | null | null | #include <iostream>
#include <lowletorfeats/FeatureCollector.hpp>
#include "sampleData.hpp"
int main()
{
auto const testData = getTestData();
auto const queryStr = testData.first;
auto const structDocMap = testData.second;
auto fc = lowletorfeats::FeatureCollector(structDocMap, queryStr);
fc.coll... | 20.578947 | 70 | 0.705882 | paddy74 |
d7ae81c343f63c8bae2f7bfbdc7968a291d0c69b | 4,060 | cc | C++ | backends/gpu/lib/wrapper/hipfft_wrapper.cc | sarvex/tensorflow-runtime | 39a1871e2267bd30810df1a550366babe002b615 | [
"Apache-2.0"
] | 669 | 2020-04-29T16:05:30.000Z | 2022-03-30T06:42:36.000Z | backends/gpu/lib/wrapper/hipfft_wrapper.cc | sloppyjuicy/runtime | 84b400aceb9bae054ff72e1fcd95e15daf910c2d | [
"Apache-2.0"
] | 76 | 2020-04-30T09:23:04.000Z | 2022-03-24T16:21:18.000Z | backends/gpu/lib/wrapper/hipfft_wrapper.cc | sloppyjuicy/runtime | 84b400aceb9bae054ff72e1fcd95e15daf910c2d | [
"Apache-2.0"
] | 108 | 2020-04-29T18:06:09.000Z | 2022-03-31T15:53:54.000Z | // Copyright 2021 The TensorFlow Runtime Authors
//
// 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 ... | 33.278689 | 79 | 0.71798 | sarvex |
d7af3a597fdb54322dda34f330108640b7b1f568 | 4,559 | cpp | C++ | ghost/gpsprotocol.cpp | Promises/ghostpp | 38709e8b41a5f680caec0155a7aa4255d1167296 | [
"Apache-2.0"
] | 1 | 2021-01-24T16:00:37.000Z | 2021-01-24T16:00:37.000Z | ghost/gpsprotocol.cpp | Promises/ghostpp | 38709e8b41a5f680caec0155a7aa4255d1167296 | [
"Apache-2.0"
] | null | null | null | ghost/gpsprotocol.cpp | Promises/ghostpp | 38709e8b41a5f680caec0155a7aa4255d1167296 | [
"Apache-2.0"
] | null | null | null | /*
ent-ghost
Copyright [2011-2013] [Jack Lu]
This file is part of the ent-ghost source code.
ent-ghost is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at yo... | 26.352601 | 140 | 0.696863 | Promises |
d7afaafd93ec0016be6c25a6b1d342a7f56c5626 | 469 | cpp | C++ | SVEngine/src/basesys/out/SVOutMissionNor.cpp | SVEChina/SVEngine | 56174f479a3096e57165448142c1822e7db8c02f | [
"MIT"
] | 34 | 2018-09-28T08:28:27.000Z | 2022-01-15T10:31:41.000Z | SVEngine/src/basesys/out/SVOutMissionNor.cpp | SVEChina/SVEngine | 56174f479a3096e57165448142c1822e7db8c02f | [
"MIT"
] | null | null | null | SVEngine/src/basesys/out/SVOutMissionNor.cpp | SVEChina/SVEngine | 56174f479a3096e57165448142c1822e7db8c02f | [
"MIT"
] | 8 | 2018-10-11T13:36:35.000Z | 2021-04-01T09:29:34.000Z | //
// SVOutMission.cpp
// SVEngine
// Copyright 2017-2020
// yizhou Fu,long Yin,longfei Lin,ziyu Xu,xiaofan Li,daming Li
//
#include "SVOutMissionNor.h"
SVOutMissionNor::SVOutMissionNor(SVInst* _app,cptr8 _name)
:SVOutMission(_app,_name)
,m_end(false){
}
SVOutMissionNor::~SVOutMissionNor() {
}
void SVOutMissionNor:... | 16.172414 | 62 | 0.712154 | SVEChina |
d7b6860248ade05aac6a7f658f05f35f4fb07501 | 2,144 | cpp | C++ | 2017/19.cpp | wgevaert/AOC | aaa9c06f9817e338cca01bbf37b6ba81256dd5ba | [
"WTFPL"
] | 2 | 2020-08-06T22:14:51.000Z | 2020-08-10T19:42:36.000Z | 2017/19.cpp | wgevaert/AOC | aaa9c06f9817e338cca01bbf37b6ba81256dd5ba | [
"WTFPL"
] | null | null | null | 2017/19.cpp | wgevaert/AOC | aaa9c06f9817e338cca01bbf37b6ba81256dd5ba | [
"WTFPL"
] | null | null | null | #include <iostream>
#include <fstream>
#include <string>
#include <vector>
int main(int argc, char** argv) {
if (argc < 2) {
std::cout << "Usage: {program} {name of input file}"<<std::endl;
return 0;
}
std::string filename = argv[1];
std::cout<<"reading file "<<filename<<':'<<std::endl;... | 34.580645 | 130 | 0.568097 | wgevaert |
d7b8b4b3bc1211ac18683883a7cbfcd62d55aae3 | 15,999 | inl | C++ | Sweet16_monodigits_ImGui.inl | kmar/Sweet16Font | 8c56c212f2dbb69931efaabd9ac92453dde5e776 | [
"BSL-1.0"
] | 27 | 2018-09-29T08:43:33.000Z | 2022-03-02T17:28:20.000Z | Sweet16_monodigits_ImGui.inl | kmar/Sweet16Font | 8c56c212f2dbb69931efaabd9ac92453dde5e776 | [
"BSL-1.0"
] | null | null | null | Sweet16_monodigits_ImGui.inl | kmar/Sweet16Font | 8c56c212f2dbb69931efaabd9ac92453dde5e776 | [
"BSL-1.0"
] | null | null | null | // File: 'Sweet16_monodigits.ttf' (34448 bytes)
// Exported using binary_to_compressed_c.cpp
static const char Sweet16_monodigits_compressed_data_base85[14270+1] =
"7])#######:c5IQ'/###[),##1xL$#Q6>##e@;*>IOB6@C7b(NW@'o/fY;99<nKB#s(m<-5@^01iZn42L]4oG#/>>#Y&g<6aNV=B^<g^/AYqr$K7YY#s0XGH7@l^$=umo%ijK8/d_(*H"
"lme+... | 120.293233 | 157 | 0.620664 | kmar |
d7bc1af0123f6984d8554b9ca3c8f766ab90ded7 | 555 | inl | C++ | Refureku/Library/Include/Public/Refureku/TypeInfo/Namespace/Namespace.inl | jsoysouvanh/Refureku | 7548cb3b196793119737a51c1cedc136aa60d3ee | [
"MIT"
] | 143 | 2020-04-07T21:38:21.000Z | 2022-03-30T01:06:33.000Z | Refureku/Library/Include/Public/Refureku/TypeInfo/Namespace/Namespace.inl | jsoysouvanh/Refureku | 7548cb3b196793119737a51c1cedc136aa60d3ee | [
"MIT"
] | 7 | 2021-03-30T07:26:21.000Z | 2022-03-28T16:31:02.000Z | Refureku/Library/Include/Public/Refureku/TypeInfo/Namespace/Namespace.inl | jsoysouvanh/Refureku | 7548cb3b196793119737a51c1cedc136aa60d3ee | [
"MIT"
] | 11 | 2020-06-06T09:45:12.000Z | 2022-01-25T17:17:55.000Z | /**
* Copyright (c) 2021 Julien SOYSOUVANH - All Rights Reserved
*
* This file is part of the Refureku library project which is released under the MIT License.
* See the README.md file for full license details.
*/
template <typename FunctionSignature>
Function const* Namespace::getFunctionByName(char const* name, EFu... | 26.428571 | 99 | 0.756757 | jsoysouvanh |
d7bc3ecc23d3b0cf2ca0d0eac7191be0f92648a3 | 2,255 | cpp | C++ | src/OverlappingPairCallback.cpp | AndresTraks/BulletSharp | c277666667f91c58191f4cfa97f117053de679ef | [
"MIT"
] | 245 | 2015-01-02T14:11:26.000Z | 2022-03-18T08:56:36.000Z | src/OverlappingPairCallback.cpp | AndresTraks/BulletSharp | c277666667f91c58191f4cfa97f117053de679ef | [
"MIT"
] | 50 | 2015-01-04T22:32:21.000Z | 2021-06-08T20:26:24.000Z | src/OverlappingPairCallback.cpp | AndresTraks/BulletSharp | c277666667f91c58191f4cfa97f117053de679ef | [
"MIT"
] | 69 | 2015-04-03T15:38:44.000Z | 2022-01-20T14:27:30.000Z | #include "StdAfx.h"
#include "BroadphaseProxy.h"
#include "Dispatcher.h"
#include "OverlappingPairCache.h"
#include "OverlappingPairCallback.h"
#ifndef DISABLE_UNCOMMON
#include "GhostObject.h"
#endif
OverlappingPairCallback::OverlappingPairCallback(btOverlappingPairCallback* native, bool preventDelete)
{
... | 30.472973 | 140 | 0.797339 | AndresTraks |
d7bcf4505e47d1b3a60f2ad2425e8cf5fd3836f9 | 3,833 | cpp | C++ | tests/cpp/multiplyStrings/multiplyStrings.cpp | zlc18/LocalJudge | e8b141d2e80087d447a45cce36bac27b4ddb9cd1 | [
"MIT"
] | null | null | null | tests/cpp/multiplyStrings/multiplyStrings.cpp | zlc18/LocalJudge | e8b141d2e80087d447a45cce36bac27b4ddb9cd1 | [
"MIT"
] | null | null | null | tests/cpp/multiplyStrings/multiplyStrings.cpp | zlc18/LocalJudge | e8b141d2e80087d447a45cce36bac27b4ddb9cd1 | [
"MIT"
] | null | null | null | // Source : https://oj.leetcode.com/problems/multiply-strings/
// Author : Hao Chen
// Date : 2014-07-18
/**********************************************************************************
*
* Given two numbers represented as strings, return multiplication of the numbers as a string.
*
* Note: The numbers can be ... | 25.898649 | 93 | 0.389773 | zlc18 |
d7bf16d4499593838f18bc1f3812b68fa9c7035e | 880 | cpp | C++ | Linked List/insertLinkedList.cpp | FahimMuntashir/theAlgorithms | 58348ea5c45059121a1cf83b8f99b4ac46973f01 | [
"MIT"
] | null | null | null | Linked List/insertLinkedList.cpp | FahimMuntashir/theAlgorithms | 58348ea5c45059121a1cf83b8f99b4ac46973f01 | [
"MIT"
] | null | null | null | Linked List/insertLinkedList.cpp | FahimMuntashir/theAlgorithms | 58348ea5c45059121a1cf83b8f99b4ac46973f01 | [
"MIT"
] | null | null | null | #include<iostream>
using namespace std;
struct Node
{
int data;
struct Node *link;
};
struct Node *head;
void insertData(int value){
struct Node* temp = new Node();
temp->data = value;
temp->link=NULL;
if (head==NULL)
{
head = temp;
}else {
struct Node* t;
... | 12.571429 | 35 | 0.477273 | FahimMuntashir |
d7bf4a1f2a3be6444ce065495b0d83a1dfa1df6e | 4,869 | cpp | C++ | differential_evolution/main.cpp | peheje/differential_evolution_cpp | d5c06498d5e0c41e3e1fc86d0cd25eedd07ca1f7 | [
"MIT"
] | null | null | null | differential_evolution/main.cpp | peheje/differential_evolution_cpp | d5c06498d5e0c41e3e1fc86d0cd25eedd07ca1f7 | [
"MIT"
] | null | null | null | differential_evolution/main.cpp | peheje/differential_evolution_cpp | d5c06498d5e0c41e3e1fc86d0cd25eedd07ca1f7 | [
"MIT"
] | null | null | null | //
// main.cpp
// differential_evolution
//
// Created by Peter Helstrup Jensen on 25/02/2018.
// Copyright © 2018 Peter Helstrup Jensen. All rights reserved.
//
#include <iostream>
#include <cmath>
#include <fstream>
#include "RandomGenerators.hpp"
#include "ArrayHelpers.hpp"
#include "OptimizationProblems.hpp"
#... | 31.012739 | 94 | 0.514274 | peheje |
d7c04be433918cfa6bc5b6744a110e8487dd585f | 5,645 | cpp | C++ | Engine/Source/Runtime/Engine/Private/GameStateBase.cpp | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | 1 | 2022-01-29T18:36:12.000Z | 2022-01-29T18:36:12.000Z | Engine/Source/Runtime/Engine/Private/GameStateBase.cpp | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | null | null | null | Engine/Source/Runtime/Engine/Private/GameStateBase.cpp | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | null | null | null | // Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
/*=============================================================================
GameState.cpp: GameState C++ code.
=============================================================================*/
#include "GameFramework/GameStateBase.h"
#include "TimerManag... | 25.313901 | 155 | 0.745616 | windystrife |
d7c89b0e05aafe18fe591213911ad94e525ada57 | 1,596 | cpp | C++ | tests/client_streaming.cpp | FrancoisChabot/easy_grpc | d811e63fa022e1030a086e38945f4000b947d9af | [
"Apache-2.0"
] | 26 | 2019-06-09T02:00:00.000Z | 2022-02-16T08:08:58.000Z | tests/client_streaming.cpp | FrancoisChabot/easy_grpc | d811e63fa022e1030a086e38945f4000b947d9af | [
"Apache-2.0"
] | 13 | 2019-05-28T02:05:23.000Z | 2019-07-10T20:21:12.000Z | tests/client_streaming.cpp | FrancoisChabot/easy_grpc | d811e63fa022e1030a086e38945f4000b947d9af | [
"Apache-2.0"
] | 4 | 2019-06-08T11:30:38.000Z | 2020-05-17T04:45:37.000Z | #include "easy_grpc/easy_grpc.h"
#include "generated/test.egrpc.pb.h"
#include "gtest/gtest.h"
namespace rpc = easy_grpc;
namespace {
class Test_async_impl {
public:
using service_type = tests::TestClientStreamingService;
::easy_grpc::Future<::tests::TestReply> TestMethod(::easy_grpc::Stream_future<::tests::Te... | 27.050847 | 111 | 0.663534 | FrancoisChabot |
d7c953f51b2be7e6d27f2d06d465e3c458dcfcef | 4,581 | cpp | C++ | Terra/transport/Transporter.cpp | leeairw/Terra | 9387c064b727633da34e3c2146a67b7fa9b59c62 | [
"MIT"
] | 68 | 2019-01-27T08:59:23.000Z | 2022-03-30T02:29:02.000Z | Terra/transport/Transporter.cpp | leeairw/Terra | 9387c064b727633da34e3c2146a67b7fa9b59c62 | [
"MIT"
] | 11 | 2019-03-18T17:21:53.000Z | 2019-07-07T05:28:55.000Z | Terra/transport/Transporter.cpp | leeairw/Terra | 9387c064b727633da34e3c2146a67b7fa9b59c62 | [
"MIT"
] | 8 | 2019-03-20T07:54:29.000Z | 2021-07-14T01:45:59.000Z | #include "Transporter.hpp"
#include "../misc/MathUtil.hpp"
NS_HWM_BEGIN
template<class F>
void Transporter::AlterTransportInfo(F f)
{
TransportInfo old_info;
TransportInfo new_info;
auto lock = lf_.make_lock();
old_info = transport_info_;
f(transport_info_);
new_info = transport_info_;
... | 24.629032 | 87 | 0.68675 | leeairw |