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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
87090155798e02849440b7df1a3fa33529136b2a | 269 | hpp | C++ | src/typetraits/EnableIf.hpp | jmitchell24/cpp-utility-lib | 76e7bae9f07b741c409a282604a999ab86fc0702 | [
"Apache-2.0"
] | null | null | null | src/typetraits/EnableIf.hpp | jmitchell24/cpp-utility-lib | 76e7bae9f07b741c409a282604a999ab86fc0702 | [
"Apache-2.0"
] | null | null | null | src/typetraits/EnableIf.hpp | jmitchell24/cpp-utility-lib | 76e7bae9f07b741c409a282604a999ab86fc0702 | [
"Apache-2.0"
] | null | null | null | // Copyright 2013, James Mitchell, All rights reserved.
#pragma once
#include "Types.hpp"
namespace util
{
template<bool, typename _Tp = void> struct enable_if { };
template<typename T> struct enable_if<true, T> { DEFINE_TYPE(T) };
}
| 22.416667 | 85 | 0.639405 | jmitchell24 |
870a4efe0b87e9d44cc4fbac19d5f70a924e675a | 1,006 | cpp | C++ | development/C++/src/client/Da/ClientDaGetPropertiesOptions.cpp | Movares/OPC-Classic-SDK | 65e022dd4ccf20bbdacdfc49cac23bd99d773b98 | [
"MIT"
] | 19 | 2021-05-19T11:03:57.000Z | 2022-03-18T06:53:48.000Z | development/C++/src/client/Da/ClientDaGetPropertiesOptions.cpp | Movares/OPC-Classic-SDK | 65e022dd4ccf20bbdacdfc49cac23bd99d773b98 | [
"MIT"
] | 8 | 2021-04-26T10:47:20.000Z | 2022-03-15T11:25:07.000Z | development/C++/src/client/Da/ClientDaGetPropertiesOptions.cpp | Movares/OPC-Classic-SDK | 65e022dd4ccf20bbdacdfc49cac23bd99d773b98 | [
"MIT"
] | 11 | 2021-05-28T06:35:20.000Z | 2022-03-31T14:07:25.000Z | #include "OSCompat.h"
#include "ClientDaGetPropertiesOptions.h"
using namespace SoftingOPCToolboxClient;
DaGetPropertiesOptions::DaGetPropertiesOptions()
{
m_whatPropertyData = (EnumPropertyData)0;
} //end constructor
DaGetPropertiesOptions::~DaGetPropertiesOptions()
{
}//end destructor
EnumPropertyData DaGetPrope... | 25.794872 | 84 | 0.813121 | Movares |
8710a8fd5e0fbcff499b7a3a4eb52546c6d56649 | 3,331 | hpp | C++ | include/codegen/include/UnityEngine/XR/InputTracking_TrackingStateEventType.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 1 | 2021-11-12T09:29:31.000Z | 2021-11-12T09:29:31.000Z | include/codegen/include/UnityEngine/XR/InputTracking_TrackingStateEventType.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | null | null | null | include/codegen/include/UnityEngine/XR/InputTracking_TrackingStateEventType.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 2 | 2021-10-03T02:14:20.000Z | 2021-11-12T09:29:36.000Z | // Autogenerated from CppHeaderCreator on 7/27/2020 3:10:39 PM
// Created by Sc2ad
// =========================================================================
#pragma once
#pragma pack(push, 8)
// Begin includes
// Including type: System.Enum
#include "System/Enum.hpp"
// Including type: UnityEngine.XR.InputTracking
#... | 62.849057 | 137 | 0.783248 | Futuremappermydud |
87163c9a64bfe7a68cf6b6a346a3343bf9c8d1de | 1,600 | cpp | C++ | HDUOJ/2110/generating_function.cpp | codgician/ACM | 391f3ce9b89b0a4bbbe3ff60eb2369fef57460d4 | [
"MIT"
] | 2 | 2018-02-14T01:59:31.000Z | 2018-03-28T03:30:45.000Z | HDUOJ/2110/generating_function.cpp | codgician/ACM | 391f3ce9b89b0a4bbbe3ff60eb2369fef57460d4 | [
"MIT"
] | null | null | null | HDUOJ/2110/generating_function.cpp | codgician/ACM | 391f3ce9b89b0a4bbbe3ff60eb2369fef57460d4 | [
"MIT"
] | 2 | 2017-12-30T02:46:35.000Z | 2018-03-28T03:30:49.000Z | #include <iostream>
#include <cstdio>
#include <cmath>
#include <algorithm>
#include <string>
#include <cstring>
#include <iomanip>
#include <climits>
#define SIZE 10001
using namespace std;
typedef struct _Prop
{
int value;
int num;
} prop;
prop arr[SIZE];
int c1[SIZE], c2[SIZE];
const int mod = 10000;
int... | 21.621622 | 83 | 0.3925 | codgician |
8716e23fdac924e63170d4c0a2c1618179b694c0 | 1,100 | cpp | C++ | cpp/20209.cpp | jinhan814/BOJ | 47d2a89a2602144eb08459cabac04d036c758577 | [
"MIT"
] | 9 | 2021-01-15T13:36:39.000Z | 2022-02-23T03:44:46.000Z | cpp/20209.cpp | jinhan814/BOJ | 47d2a89a2602144eb08459cabac04d036c758577 | [
"MIT"
] | 1 | 2021-07-31T17:11:26.000Z | 2021-08-02T01:01:03.000Z | cpp/20209.cpp | jinhan814/BOJ | 47d2a89a2602144eb08459cabac04d036c758577 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
#define fastio cin.tie(0)->sync_with_stdio(0)
using namespace std;
struct State {
vector<int> v;
State(int n) : v(n) {}
int operator() () {
int ret = 0;
for (auto& i : v) ret = ret * 5 + i;
return ret;
}
bool Check() {
for (auto& i : v) if (i != v[0]) return 0;
return 1;
}
voi... | 22.916667 | 66 | 0.490909 | jinhan814 |
871831b48c69ee39c50d0046a02517f1f5fe94b0 | 748 | hpp | C++ | engine/util/WindGenerator.hpp | isonil/survival | ecb59af9fcbb35b9c28fd4fe29a4628f046165c8 | [
"MIT"
] | 1 | 2017-05-12T10:12:41.000Z | 2017-05-12T10:12:41.000Z | engine/util/WindGenerator.hpp | isonil/Survival | ecb59af9fcbb35b9c28fd4fe29a4628f046165c8 | [
"MIT"
] | null | null | null | engine/util/WindGenerator.hpp | isonil/Survival | ecb59af9fcbb35b9c28fd4fe29a4628f046165c8 | [
"MIT"
] | 1 | 2019-01-09T04:05:36.000Z | 2019-01-09T04:05:36.000Z | #ifndef ENGINE_WIND_GENERATOR_HPP
#define ENGINE_WIND_GENERATOR_HPP
#include "Vec2.hpp"
#include "Vec3.hpp"
namespace engine
{
class WindGenerator
{
public:
WindGenerator(float strength, float regularity);
float getStrength() const;
void setStrength(float strength);
float getRegularity() const;
... | 20.216216 | 59 | 0.735294 | isonil |
8719cf93353ea539a3162d3ff80b5b06f5f6013b | 1,553 | hpp | C++ | drivers/CoreVideo/include/CoreVideo.hpp | MMyster/LekaOS | 4d7fbfe83fd222eb0fb33f1f4a3fbbdc50b25ddb | [
"Apache-2.0"
] | null | null | null | drivers/CoreVideo/include/CoreVideo.hpp | MMyster/LekaOS | 4d7fbfe83fd222eb0fb33f1f4a3fbbdc50b25ddb | [
"Apache-2.0"
] | null | null | null | drivers/CoreVideo/include/CoreVideo.hpp | MMyster/LekaOS | 4d7fbfe83fd222eb0fb33f1f4a3fbbdc50b25ddb | [
"Apache-2.0"
] | null | null | null | // Leka - LekaOS
// Copyright 2021 APF France handicap
// SPDX-License-Identifier: Apache-2.0
#ifndef _LEKA_OS_DRIVER_CORE_VIDEO_H_
#define _LEKA_OS_DRIVER_CORE_VIDEO_H_
#include "CoreSTM32HalBase.h"
#include "interface/DMA2D.hpp"
#include "interface/DSI.hpp"
#include "interface/Font.hpp"
#include "interface/Graphics... | 28.236364 | 111 | 0.768835 | MMyster |
26bb028f4fa7e6b5a52a3612176d82174ab1587a | 310 | cpp | C++ | Src/TabelaDeSimbolos/Teste/Teste.cpp | pedrol3001/Compiler | 3e68304bb35b8e4f3f4e17030ae8c6c10da0bcb4 | [
"MIT"
] | 1 | 2022-03-01T16:57:32.000Z | 2022-03-01T16:57:32.000Z | Src/TabelaDeSimbolos/Teste/Teste.cpp | pedrol3001/Compiler | 3e68304bb35b8e4f3f4e17030ae8c6c10da0bcb4 | [
"MIT"
] | null | null | null | Src/TabelaDeSimbolos/Teste/Teste.cpp | pedrol3001/Compiler | 3e68304bb35b8e4f3f4e17030ae8c6c10da0bcb4 | [
"MIT"
] | 1 | 2022-03-23T18:35:12.000Z | 2022-03-23T18:35:12.000Z | #include "Teste.h"
#include <string>
using namespace std;
StrAtt::StrAtt(string _str, long long int _linha, long long int _coluna, long long int _posicao) :
Atributo("StrAtt"), str(_str),linha(_linha),coluna(_coluna),posicao(_posicao) {}
NameAtt::NameAtt(string _str) : Atributo("NameAtt"), str(_str) {}
| 28.181818 | 99 | 0.725806 | pedrol3001 |
26bc3aff8d23a92d56377a94beb2252256a9cf07 | 7,290 | cpp | C++ | src/Microsoft.DotNet.Wpf/src/System.Printing/CPP/src/PrintSystemAttributeValueFactory.cpp | reyqn/wpf | 6858a87af432aae629e28970a14c3560bef4f349 | [
"MIT"
] | 1 | 2020-01-11T12:53:52.000Z | 2020-01-11T12:53:52.000Z | src/Microsoft.DotNet.Wpf/src/System.Printing/CPP/src/PrintSystemAttributeValueFactory.cpp | reyqn/wpf | 6858a87af432aae629e28970a14c3560bef4f349 | [
"MIT"
] | null | null | null | src/Microsoft.DotNet.Wpf/src/System.Printing/CPP/src/PrintSystemAttributeValueFactory.cpp | reyqn/wpf | 6858a87af432aae629e28970a14c3560bef4f349 | [
"MIT"
] | 1 | 2021-05-05T12:05:28.000Z | 2021-05-05T12:05:28.000Z | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#include "win32inc.hpp"
using namespace System;
using namespace System::IO;
using namespace System::Collect... | 22.639752 | 90 | 0.593141 | reyqn |
26be764d9a47683a99f73033ecfaeb1b2023ec1f | 253 | cc | C++ | src/remain.cc | xet7/JadeLib | f1b2d7d9179904103baf70c29b5029500fb55bf9 | [
"MIT"
] | null | null | null | src/remain.cc | xet7/JadeLib | f1b2d7d9179904103baf70c29b5029500fb55bf9 | [
"MIT"
] | null | null | null | src/remain.cc | xet7/JadeLib | f1b2d7d9179904103baf70c29b5029500fb55bf9 | [
"MIT"
] | null | null | null | #include "include/jade.hpp"
FUNCTION STRING REMAIN$ (STRING src, STRING match) DO
STRING tmpStr;
INTEGER pos;
pos = src.find(match);
IF (pos >= 0) THEN
tmpStr = src.substr(pos,src.size());
END
RETURN tmpStr;
END
| 15.8125 | 53 | 0.604743 | xet7 |
26c01fac9c00495d500cc22b6a3fe183185c2dc4 | 468 | cpp | C++ | UnitTest/test_math.cpp | SFCMM/GridGenerator | b9fcb6e660f0d1343c8c992234e85490514942c0 | [
"BSD-3-Clause"
] | null | null | null | UnitTest/test_math.cpp | SFCMM/GridGenerator | b9fcb6e660f0d1343c8c992234e85490514942c0 | [
"BSD-3-Clause"
] | null | null | null | UnitTest/test_math.cpp | SFCMM/GridGenerator | b9fcb6e660f0d1343c8c992234e85490514942c0 | [
"BSD-3-Clause"
] | null | null | null | #include "gtest/gtest.h"
#include "math/mathfunctions.h"
TEST(MathApprox, HandlesZeroInput) {
const double eps = std::numeric_limits<double>::epsilon();
ASSERT_TRUE(approx(1.0, 1.0, eps));
ASSERT_FALSE(approx(1.0, 1.0 + eps, eps));
const float one = 1.0;
const float epsf = std::numeric_limits<float>::epsil... | 27.529412 | 60 | 0.690171 | SFCMM |
26c07a555e21348d05e8a98da5b7f76539017920 | 1,598 | cpp | C++ | Latte/Latte/RenderingContext.cpp | Morkonena/Coffee-Maker | 45d91301ef497c3a009379ec4ea3bbe18ec21808 | [
"MIT"
] | null | null | null | Latte/Latte/RenderingContext.cpp | Morkonena/Coffee-Maker | 45d91301ef497c3a009379ec4ea3bbe18ec21808 | [
"MIT"
] | null | null | null | Latte/Latte/RenderingContext.cpp | Morkonena/Coffee-Maker | 45d91301ef497c3a009379ec4ea3bbe18ec21808 | [
"MIT"
] | null | null | null | #include "RenderingContext.h"
#include "Window.h"
#include <GL\glew.h>
#include <GL\wglew.h>
#include <Log.h>
#include <thread>
using namespace Core;
#define MAX_UNBIND_TRIES 10
RenderingContext::RenderingContext()
{}
RenderingContext::RenderingContext(const Window* window, const RenderingContext* share)
{
thi... | 20.487179 | 107 | 0.732165 | Morkonena |
26c1007fc53c988c21b4e3c09af06bb56ec394c0 | 781 | cc | C++ | code-examples/absl_flags_demos/flagit/logit.cc | storypku/storydev | 61fbfbf665a5e6e2f1bcfdf80ce6bf21d9e28b95 | [
"Apache-2.0"
] | 6 | 2020-06-11T08:31:48.000Z | 2022-03-29T17:06:42.000Z | code-examples/absl_flags_demos/flagit/logit.cc | storypku/storydev | 61fbfbf665a5e6e2f1bcfdf80ce6bf21d9e28b95 | [
"Apache-2.0"
] | 1 | 2020-06-03T01:45:52.000Z | 2021-07-17T14:49:53.000Z | code-examples/absl_flags_demos/flagit/logit.cc | storypku/storydev | 61fbfbf665a5e6e2f1bcfdf80ce6bf21d9e28b95 | [
"Apache-2.0"
] | 1 | 2022-03-30T15:41:12.000Z | 2022-03-30T15:41:12.000Z | #include <iostream>
#include "absl/flags/flag.h"
#include "absl/flags/parse.h"
#include "glog/logging.h"
// Conflict with glog
// ABSL_FLAG(bool, logtostderr, false, "Whether log to stderr");
ABSL_FLAG(bool, enable_log, false, "Whether log to stderr");
int main(int argc, char* argv[]) {
google::InitGoogleLogging(a... | 33.956522 | 79 | 0.696543 | storypku |
26c1518c05ad73b6cd8b78c31bc04883a04377ba | 890 | cpp | C++ | source/web.cpp | schregardusc/dishtiny | b0b1841a457a955fa4c22f36a050d91f12484f9e | [
"MIT"
] | 1 | 2021-02-12T23:53:55.000Z | 2021-02-12T23:53:55.000Z | source/web.cpp | schregardusc/dishtiny | b0b1841a457a955fa4c22f36a050d91f12484f9e | [
"MIT"
] | null | null | null | source/web.cpp | schregardusc/dishtiny | b0b1841a457a955fa4c22f36a050d91f12484f9e | [
"MIT"
] | null | null | null | #define DISH2_LOG_ENABLE
#include <emscripten.h>
#include "conduit/include/uitsl/polyfill/ompi_mpi_comm_world.hpp"
#include "Empirical/include/emp/config/ArgManager.hpp"
#include "Empirical/include/emp/web/UrlParams.hpp"
#include "dish2/config/cfg.hpp"
#include "dish2/config/make_arg_specs.hpp"
#include "dish2/confi... | 23.421053 | 65 | 0.723596 | schregardusc |
26c22fb275907e1552ed3e14b095f764b6298159 | 2,341 | hh | C++ | include/memory.hh | fmatthew5876/stdcxx-align | 51cd1bd60cd3257ddc40cb4c32195e7c1f39eddd | [
"MIT"
] | 1 | 2021-06-04T13:18:13.000Z | 2021-06-04T13:18:13.000Z | include/memory.hh | fmatthew5876/stdcxx-align | 51cd1bd60cd3257ddc40cb4c32195e7c1f39eddd | [
"MIT"
] | null | null | null | include/memory.hh | fmatthew5876/stdcxx-align | 51cd1bd60cd3257ddc40cb4c32195e7c1f39eddd | [
"MIT"
] | null | null | null | #ifndef _MEMORY_HH_
#define _MEMORY_HH_
#include <cstdio>
#include <memory>
#include <type_traits>
namespace std {
template <typename T>
constexpr auto is_aligned(T x, size_t a) noexcept
-> typename std::enable_if<std::is_integral<T>::value &&!is_same<T,bool>::value, bool>::type {
return (x & (a-1)) == 0;
... | 29.632911 | 96 | 0.668518 | fmatthew5876 |
26c42b996b47698525281a1b721a154d6d7e96b0 | 1,267 | cc | C++ | examples/ui-gtk3.cc | jpcima/skeleton.lv2 | e696eb2c1c63f4fad390744d185ca230e49c59fe | [
"BSL-1.0"
] | 8 | 2019-08-22T15:17:22.000Z | 2022-02-04T04:24:28.000Z | examples/ui-gtk3.cc | jpcima/skeleton.lv2 | e696eb2c1c63f4fad390744d185ca230e49c59fe | [
"BSL-1.0"
] | 1 | 2020-05-31T10:29:09.000Z | 2020-06-01T09:57:11.000Z | examples/ui-gtk3.cc | jpcima/skeleton.lv2 | e696eb2c1c63f4fad390744d185ca230e49c59fe | [
"BSL-1.0"
] | null | null | null | #include "framework/ui.h"
#include <gtk/gtk.h>
struct UI::Impl {
static constexpr unsigned width = 600;
static constexpr unsigned height = 400;
GtkWidget *widget = nullptr;
void create_widget();
};
//==============================================================================
UI::UI(void *parent, LV2_URID_M... | 22.22807 | 85 | 0.600631 | jpcima |
26c7d4fa3fd4a6eec6125c710a41d0af4af36076 | 334 | hpp | C++ | NCGB/Compile/src/OBSOLETE2009/PrintSet.hpp | mcdeoliveira/NC | 54b2a81ebda9e5260328f88f83f56fe8cf472ac3 | [
"BSD-3-Clause"
] | 103 | 2016-09-21T06:01:23.000Z | 2022-03-27T06:52:10.000Z | NCGB/Compile/src/OBSOLETE2009/PrintSet.hpp | albinjames/NC | 157a55458931a18dd1f42478872c9df0de5cc450 | [
"BSD-3-Clause"
] | 11 | 2017-03-27T13:11:42.000Z | 2022-03-08T13:46:14.000Z | NCGB/Compile/src/OBSOLETE2009/PrintSet.hpp | albinjames/NC | 157a55458931a18dd1f42478872c9df0de5cc450 | [
"BSD-3-Clause"
] | 21 | 2017-06-23T09:01:21.000Z | 2022-02-18T06:24:00.000Z | // PrintSet.h
#pragma warning(disable:4786)
#include "Choice.hpp"
#ifdef HAS_INCLUDE_NO_DOTS
#include <set>
#else
#include <set.h>
#endif
#include "vcpp.hpp"
class MyOstream;
template<class T,class U> void PrintSet(MyOstream &,const char *,const set<T,U> &);
template<class T,class U> void PrintSet(const char *,const... | 22.266667 | 83 | 0.724551 | mcdeoliveira |
26cbf690de01fee725818be049d9fd484ebe3439 | 17,030 | cpp | C++ | emulator/src/mame/drivers/tmc600.cpp | rjw57/tiw-computer | 5ef1c79893165b8622d1114d81cd0cded58910f0 | [
"MIT"
] | 1 | 2022-01-15T21:38:38.000Z | 2022-01-15T21:38:38.000Z | emulator/src/mame/drivers/tmc600.cpp | rjw57/tiw-computer | 5ef1c79893165b8622d1114d81cd0cded58910f0 | [
"MIT"
] | null | null | null | emulator/src/mame/drivers/tmc600.cpp | rjw57/tiw-computer | 5ef1c79893165b8622d1114d81cd0cded58910f0 | [
"MIT"
] | null | null | null | // license:BSD-3-Clause
// copyright-holders:Curt Coder
/*
Telmac TMC-600
PCB Layout
----------
HP14782-1
CN2 CN3
|---------| |------------------------|
|-------|---------|-----|------------------------|------------------------------------------|
| CN1 ... | 50.235988 | 199 | 0.669113 | rjw57 |
26cce06b6b5b88197caaa30305218e366defdf88 | 10,894 | cpp | C++ | src/boosted_regression_tree/input_rb.cpp | heyyy/burned-area | f31195d7fc7bec5fba6301e57b4fb76ec7be0075 | [
"NASA-1.3"
] | null | null | null | src/boosted_regression_tree/input_rb.cpp | heyyy/burned-area | f31195d7fc7bec5fba6301e57b4fb76ec7be0075 | [
"NASA-1.3"
] | null | null | null | src/boosted_regression_tree/input_rb.cpp | heyyy/burned-area | f31195d7fc7bec5fba6301e57b4fb76ec7be0075 | [
"NASA-1.3"
] | 1 | 2021-11-07T09:32:59.000Z | 2021-11-07T09:32:59.000Z | /*****************************************************************************
FILE: input_rb.cpp
PURPOSE: Contains functions for opening, reading, closing, and processing
input raw binary products for seasonal summaries and annual maximums.
PROJECT: Land Satellites Data System Science Research and Development (LS... | 32.135693 | 80 | 0.556637 | heyyy |
26d02fc38146af2f48b82f101cfa66584d346a1e | 894 | cpp | C++ | aslam_backend_python/src/L1Regularizer.cpp | ethz-asl/aslam_optimizer | 8e9dd18f9f0d8af461e88e108a3beda2003daf11 | [
"BSD-3-Clause"
] | 33 | 2017-04-26T13:30:49.000Z | 2022-02-25T01:52:22.000Z | aslam_backend_python/src/L1Regularizer.cpp | ethz-asl/aslam_optimizer | 8e9dd18f9f0d8af461e88e108a3beda2003daf11 | [
"BSD-3-Clause"
] | 15 | 2017-02-14T16:02:31.000Z | 2020-05-12T06:07:22.000Z | aslam_backend_python/src/L1Regularizer.cpp | ethz-asl/aslam_optimizer | 8e9dd18f9f0d8af461e88e108a3beda2003daf11 | [
"BSD-3-Clause"
] | 8 | 2017-06-28T04:17:08.000Z | 2021-04-10T04:58:36.000Z | /*
* L1Regularizer.cpp
*
* Created on: 22.09.2015
* Author: Ulrich Schwesinger
*/
#include <numpy_eigen/boost_python_headers.hpp>
#include <boost/python/suite/indexing/vector_indexing_suite.hpp>
#include <aslam/backend/L1Regularizer.hpp>
#include <boost/shared_ptr.hpp>
using namespace boost::python;
using ... | 27.9375 | 137 | 0.756152 | ethz-asl |
26d168de38dc22e0dc1d78a81e93904099e23ae7 | 1,319 | cpp | C++ | napi/algorithms.cpp | graeme-hill/snakebot | 21059e4b5e3153ada5e74ba2e1331c10b5142b2f | [
"MIT",
"Unlicense"
] | 8 | 2018-06-26T05:42:17.000Z | 2021-10-20T23:19:20.000Z | napi/algorithms.cpp | graeme-hill/snakebot | 21059e4b5e3153ada5e74ba2e1331c10b5142b2f | [
"MIT",
"Unlicense"
] | null | null | null | napi/algorithms.cpp | graeme-hill/snakebot | 21059e4b5e3153ada5e74ba2e1331c10b5142b2f | [
"MIT",
"Unlicense"
] | 5 | 2019-06-01T15:34:07.000Z | 2022-02-12T06:10:16.000Z | #include "algorithms.hpp"
#include "algorithms/cautious.hpp"
#include "algorithms/hungry.hpp"
#include "algorithms/terminator.hpp"
#include "algorithms/dog.hpp"
#include "algorithms/sim.hpp"
#include "algorithms/inyourface.hpp"
#include "algorithms/random.hpp"
#include "algorithms/onedirection.hpp"
Algorithms Algorith... | 35.648649 | 89 | 0.715694 | graeme-hill |
26d3b8fc08ff61e501e6bb7ce3478f89dcda3e2d | 16,880 | cpp | C++ | moos-ivp/ivp/src/pEchoVar/EchoVar.cpp | EasternEdgeRobotics/2018 | 24df2fe56fa6d172ba3c34c1a97f249dbd796787 | [
"MIT"
] | null | null | null | moos-ivp/ivp/src/pEchoVar/EchoVar.cpp | EasternEdgeRobotics/2018 | 24df2fe56fa6d172ba3c34c1a97f249dbd796787 | [
"MIT"
] | null | null | null | moos-ivp/ivp/src/pEchoVar/EchoVar.cpp | EasternEdgeRobotics/2018 | 24df2fe56fa6d172ba3c34c1a97f249dbd796787 | [
"MIT"
] | null | null | null | /*****************************************************************/
/* NAME: Michael Benjamin */
/* ORGN: Dept of Mechanical Eng / CSAIL, MIT Cambridge MA */
/* FILE: EchoVar.cpp */
/* DATE: July 22 2006 ... | 29.823322 | 87 | 0.544076 | EasternEdgeRobotics |
26d55ffb5234568d62e92cf72fdfe96fb496bc3e | 470 | cpp | C++ | cpp/has-rebind.cpp | lindsayad/misc_programming | 60d4056a99d52e247bc1ae08b9eaaf0b13cc1b2e | [
"MIT"
] | null | null | null | cpp/has-rebind.cpp | lindsayad/misc_programming | 60d4056a99d52e247bc1ae08b9eaaf0b13cc1b2e | [
"MIT"
] | null | null | null | cpp/has-rebind.cpp | lindsayad/misc_programming | 60d4056a99d52e247bc1ae08b9eaaf0b13cc1b2e | [
"MIT"
] | null | null | null | #include <iostream>
template <typename T>
struct hasRebind
{
template <typename C, typename Enable = typename C::value_type>
static constexpr bool test(int)
{
return true;
}
template <typename C>
static constexpr bool test(...)
{
return false;
}
static constexpr bool value = test<T>(int());... | 14.6875 | 65 | 0.648936 | lindsayad |
26d621fbe096a3b23742a5159b6ae15d0bf023a3 | 7,526 | cc | C++ | ftr-js/binding/json.cc | louis-tru/Ngui | c1f25d8b6c42e873d5969fb588af22f428c58d4c | [
"BSD-3-Clause-Clear"
] | 86 | 2017-11-21T01:05:30.000Z | 2020-05-21T12:30:31.000Z | ftr-js/binding/json.cc | louis-tru/Ngui | c1f25d8b6c42e873d5969fb588af22f428c58d4c | [
"BSD-3-Clause-Clear"
] | 14 | 2020-10-16T11:30:57.000Z | 2021-04-16T06:10:06.000Z | ftr-js/binding/json.cc | louis-tru/Ngui | c1f25d8b6c42e873d5969fb588af22f428c58d4c | [
"BSD-3-Clause-Clear"
] | 13 | 2017-11-21T10:18:53.000Z | 2019-10-18T09:15:55.000Z | /* ***** BEGIN LICENSE BLOCK *****
* Distributed under the BSD license:
*
* Copyright (c) 2015, xuewen.chu
* 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... | 27.567766 | 93 | 0.623572 | louis-tru |
26d8f5fb3168d29084c4645ed4e692d72ea13e7f | 1,759 | cpp | C++ | src/framework/suites.cpp | getweasel/weasel-cpp | 871e7790edb791b76a62ef3554b3330f1eb3d1f9 | [
"Apache-2.0"
] | 8 | 2021-01-02T11:41:31.000Z | 2021-04-15T07:05:54.000Z | src/framework/suites.cpp | getweasel/weasel-cpp | 871e7790edb791b76a62ef3554b3330f1eb3d1f9 | [
"Apache-2.0"
] | 17 | 2021-01-08T06:52:51.000Z | 2021-04-18T20:00:28.000Z | src/framework/suites.cpp | getweasel/weasel-cpp | 871e7790edb791b76a62ef3554b3330f1eb3d1f9 | [
"Apache-2.0"
] | 1 | 2021-04-16T10:30:23.000Z | 2021-04-16T10:30:23.000Z | // Copyright 2021 Touca, Inc. Subject to Apache-2.0 License.
#include "touca/framework/suites.hpp"
#include <algorithm>
#include <fstream>
#include "touca/devkit/platform.hpp"
namespace touca {
namespace framework {
RemoteSuite::RemoteSuite(const Options& options) : Suite(), _options(options) {}
void RemoteSuite:... | 25.492754 | 80 | 0.633314 | getweasel |
26d907f758509cc2a75e820b8e5d8dcbe26968a5 | 13,389 | cpp | C++ | lib/rendercore_vulkan_rt/vulkan_gl_texture_interop.cpp | vincevannoort/lighthouse2 | 31c76490e01ccdcd01766ea046d66687375c04da | [
"Apache-2.0"
] | 691 | 2019-07-10T13:46:05.000Z | 2022-03-31T05:31:56.000Z | lib/rendercore_vulkan_rt/vulkan_gl_texture_interop.cpp | vincevannoort/lighthouse2 | 31c76490e01ccdcd01766ea046d66687375c04da | [
"Apache-2.0"
] | 20 | 2019-07-11T08:16:48.000Z | 2022-02-21T17:59:28.000Z | lib/rendercore_vulkan_rt/vulkan_gl_texture_interop.cpp | vincevannoort/lighthouse2 | 31c76490e01ccdcd01766ea046d66687375c04da | [
"Apache-2.0"
] | 83 | 2019-07-11T09:55:24.000Z | 2022-03-30T03:04:01.000Z | /* vulkan_gl_texture_interop.cpp - Copyright 2019/2020 Utrecht University
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... | 40.696049 | 213 | 0.79528 | vincevannoort |
26d97328bfba1b176f4aa7358df5db6d1a413591 | 755 | cpp | C++ | test/heap_test.cpp | FrezCirno/TinySTL | f5a4d310ada5c9ffc84798162add719ad6fa7b20 | [
"MIT"
] | 1 | 2021-05-12T13:24:21.000Z | 2021-05-12T13:24:21.000Z | test/heap_test.cpp | FrezCirno/tinySTL | f5a4d310ada5c9ffc84798162add719ad6fa7b20 | [
"MIT"
] | 1 | 2020-04-29T10:01:18.000Z | 2020-05-01T08:47:27.000Z | test/heap_test.cpp | FrezCirno/tinySTL | f5a4d310ada5c9ffc84798162add719ad6fa7b20 | [
"MIT"
] | null | null | null | #include "vector.hpp"
#include "heap.hpp"
// #include <queue>
#include <iostream>
using namespace std;
template <typename T>
void print(T &vec)
{
for (auto it = vec.begin(); it < vec.end(); it++)
{
cout << *it << " ";
}
cout << endl;
}
int main(int argc, char const *argv[])
... | 17.55814 | 54 | 0.519205 | FrezCirno |
26dc81775866ef94723349774409c2a3709b5db9 | 4,609 | hpp | C++ | DoodleJump/src/include/game_play.hpp | PashaBarahimi/DoodleJump | 2cd34368022347d4ae2015f30ea8425d8c9b6310 | [
"MIT"
] | 1 | 2021-05-15T05:28:02.000Z | 2021-05-15T05:28:02.000Z | DoodleJump/src/include/game_play.hpp | PashaBarahimi/DoodleJump | 2cd34368022347d4ae2015f30ea8425d8c9b6310 | [
"MIT"
] | null | null | null | DoodleJump/src/include/game_play.hpp | PashaBarahimi/DoodleJump | 2cd34368022347d4ae2015f30ea8425d8c9b6310 | [
"MIT"
] | 1 | 2021-07-29T14:21:06.000Z | 2021-07-29T14:21:06.000Z | #ifndef GAME_PLAY_HPP
#define GAME_PLAY_HPP
#include "rsdl.hpp"
#include "game_board.hpp"
#include "doodler.hpp"
#include "platform.hpp"
#include "normal_platform.hpp"
#include "movable_platform.hpp"
#include "breakable_platform.hpp"
#include "spring.hpp"
#include "enemy.hpp"
#include "normal_enemy.hpp"
#include "mova... | 24.647059 | 122 | 0.765459 | PashaBarahimi |
26e398b94faf192b549c350f9c711ddd906600f1 | 13,287 | cpp | C++ | src/prod/src/Management/FileStoreService/PartitionContext.cpp | gridgentoo/ServiceFabricAzure | c3e7a07617e852322d73e6cc9819d266146866a4 | [
"MIT"
] | 2,542 | 2018-03-14T21:56:12.000Z | 2019-05-06T01:18:20.000Z | src/prod/src/Management/FileStoreService/PartitionContext.cpp | gridgentoo/ServiceFabricAzure | c3e7a07617e852322d73e6cc9819d266146866a4 | [
"MIT"
] | 994 | 2019-05-07T02:39:30.000Z | 2022-03-31T13:23:04.000Z | src/prod/src/Management/FileStoreService/PartitionContext.cpp | gridgentoo/ServiceFabricAzure | c3e7a07617e852322d73e6cc9819d266146866a4 | [
"MIT"
] | 300 | 2018-03-14T21:57:17.000Z | 2019-05-06T20:07:00.000Z | // ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
#include "stdafx.h"
using nam... | 32.726601 | 165 | 0.631745 | gridgentoo |
26e63fc9dc0714abda70e802c96985b6b8d90175 | 1,424 | cpp | C++ | flume/planner/first_layer_dispatcher.cpp | tushushu/bigflow | ab494e49a02b446bb2f504a2652f866c924c1baf | [
"Apache-2.0"
] | 1,236 | 2017-11-14T11:10:10.000Z | 2022-03-08T11:54:41.000Z | flume/planner/first_layer_dispatcher.cpp | tushushu/bigflow | ab494e49a02b446bb2f504a2652f866c924c1baf | [
"Apache-2.0"
] | 38 | 2017-11-14T16:29:12.000Z | 2020-01-23T08:32:04.000Z | flume/planner/first_layer_dispatcher.cpp | tushushu/bigflow | ab494e49a02b446bb2f504a2652f866c924c1baf | [
"Apache-2.0"
] | 184 | 2017-11-27T07:23:36.000Z | 2022-03-14T02:54:16.000Z | /***************************************************************************
*
* Copyright (c) 2013 Baidu, Inc. 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
*
... | 30.297872 | 76 | 0.627809 | tushushu |
26e87f84de5d70c5e017f668a260d085aca36ef5 | 719 | inl | C++ | src/Core/Geometry/DCEL/Iterator/Face/FFEIterator.inl | sylvaindeker/Radium-Engine | 64164a258b3f7864c73a07c070e49b7138488d62 | [
"Apache-2.0"
] | 1 | 2018-04-16T13:55:45.000Z | 2018-04-16T13:55:45.000Z | src/Core/Geometry/DCEL/Iterator/Face/FFEIterator.inl | sylvaindeker/Radium-Engine | 64164a258b3f7864c73a07c070e49b7138488d62 | [
"Apache-2.0"
] | null | null | null | src/Core/Geometry/DCEL/Iterator/Face/FFEIterator.inl | sylvaindeker/Radium-Engine | 64164a258b3f7864c73a07c070e49b7138488d62 | [
"Apache-2.0"
] | null | null | null | #include <Core/Geometry/DCEL/Iterator/Face/FFEIterator.hpp>
#include <Core/Geometry/DCEL/Face.hpp>
#include <Core/Geometry/DCEL/FullEdge.hpp>
#include <Core/Geometry/DCEL/HalfEdge.hpp>
namespace Ra {
namespace Core {
/// CONSTRUCTOR
FFEIterator::FFEIterator( Face_ptr& f ) : FIterator<FullEdge>( f ) {}
/// DESTRUCTO... | 20.542857 | 69 | 0.646732 | sylvaindeker |
26ee413da88a0613a08a7d7190aa25937bf8af91 | 2,835 | hpp | C++ | src/object.hpp | rokashevich/cp19 | ce63a3f31797795b25a23dda7e75748c098d3e4f | [
"Zlib",
"Apache-2.0"
] | 2 | 2020-11-17T18:40:04.000Z | 2021-02-23T15:18:47.000Z | src/object.hpp | rokashevich/cp19 | ce63a3f31797795b25a23dda7e75748c098d3e4f | [
"Zlib",
"Apache-2.0"
] | null | null | null | src/object.hpp | rokashevich/cp19 | ce63a3f31797795b25a23dda7e75748c098d3e4f | [
"Zlib",
"Apache-2.0"
] | 1 | 2020-09-19T19:24:40.000Z | 2020-09-19T19:24:40.000Z | #pragma once
#include <array>
#include <cstddef>
#include <glm/vec3.hpp>
#include <glm/vec4.hpp>
#include <iostream>
#include <vector>
#include "t.hpp"
struct ShapeInfo {
std::vector<float> vertices_buffer;
const char* vertex_shader;
const char* pixel_shader;
};
template <class T>
class Shape {
static const... | 32.215909 | 78 | 0.682187 | rokashevich |
26f18562c0d46bd6a5ee111b283e22dab8445d79 | 10,245 | hpp | C++ | RockportEd/Extensions/InGame Menu/Items/TimeOfDayEditor.hpp | berkayylmao/RockportEd | eb99bf5ed2d60eedf86e38e164e04b0e46b47d1f | [
"MIT"
] | null | null | null | RockportEd/Extensions/InGame Menu/Items/TimeOfDayEditor.hpp | berkayylmao/RockportEd | eb99bf5ed2d60eedf86e38e164e04b0e46b47d1f | [
"MIT"
] | null | null | null | RockportEd/Extensions/InGame Menu/Items/TimeOfDayEditor.hpp | berkayylmao/RockportEd | eb99bf5ed2d60eedf86e38e164e04b0e46b47d1f | [
"MIT"
] | 1 | 2021-06-03T09:17:20.000Z | 2021-06-03T09:17:20.000Z | /*
MIT License
Copyright (c) 2019 Berkay Yigit <berkay2578@gmail.com>
Copyright holder detail: Nickname(s) used by the copyright holder: 'berkay2578', 'berkayylmao'.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the ... | 52.809278 | 146 | 0.638555 | berkayylmao |
26f69d3b74c98bffcf7ee6d2d7985a71b8634aa6 | 10,304 | cc | C++ | ast/build_param_dependency_graph.cc | perimosocordiae/Icarus | 183098eff886a0503562e5571e7009dd22719367 | [
"Apache-2.0"
] | 10 | 2015-10-28T18:54:41.000Z | 2021-12-29T16:48:31.000Z | ast/build_param_dependency_graph.cc | perimosocordiae/Icarus | 183098eff886a0503562e5571e7009dd22719367 | [
"Apache-2.0"
] | 95 | 2020-02-27T22:34:02.000Z | 2022-03-06T19:45:24.000Z | ast/build_param_dependency_graph.cc | perimosocordiae/Icarus | 183098eff886a0503562e5571e7009dd22719367 | [
"Apache-2.0"
] | 2 | 2019-02-01T23:16:04.000Z | 2020-02-27T16:06:02.000Z | #include "ast/build_param_dependency_graph.h"
#include "absl/container/node_hash_map.h"
#include "ast/ast.h"
#include "ast/module.h"
#include "ast/visitor.h"
namespace ast {
namespace {
struct ParamDependencyGraphBuilder
: Visitor<void(core::DependencyNode<Declaration const *>)> {
explicit ParamDependencyGraph... | 35.047619 | 80 | 0.617818 | perimosocordiae |
26f83738d1d5f341deea2f52e36d1fa0f5daff60 | 1,750 | cpp | C++ | src/gui/MainMenuBar.cpp | mbassale/ownpass | a84e0cd3933ec8c3febf0e09647990baf3c2d506 | [
"MIT"
] | null | null | null | src/gui/MainMenuBar.cpp | mbassale/ownpass | a84e0cd3933ec8c3febf0e09647990baf3c2d506 | [
"MIT"
] | null | null | null | src/gui/MainMenuBar.cpp | mbassale/ownpass | a84e0cd3933ec8c3febf0e09647990baf3c2d506 | [
"MIT"
] | null | null | null | //
// Created by Marco Bassaletti on 07-04-21.
//
#include "MainMenuBar.h"
#include "states/StateContext.h"
namespace NSPass::GUI {
using States::StateContext;
using States::StateName;
MainMenuBar::MainMenuBar()
{
// create a menu bar
fileMenu = new wxMenu;
fileMenu->Append(MainFrame_OpenDefault, "Open Def... | 26.119403 | 99 | 0.697714 | mbassale |
26fa3a90f5743067b3238a06e3e07f5a5d96047b | 1,107 | cpp | C++ | PrimaLezione/sortPairs.cpp | NeverMendel/Competitive-Programming-Risorse | e75c28394a38ecc6c28b3ec4b9311fdf6b6ea8ed | [
"MIT"
] | null | null | null | PrimaLezione/sortPairs.cpp | NeverMendel/Competitive-Programming-Risorse | e75c28394a38ecc6c28b3ec4b9311fdf6b6ea8ed | [
"MIT"
] | null | null | null | PrimaLezione/sortPairs.cpp | NeverMendel/Competitive-Programming-Risorse | e75c28394a38ecc6c28b3ec4b9311fdf6b6ea8ed | [
"MIT"
] | null | null | null | /*
Data una lista di cognomi di studenti e la loro relativa media,
ordinali con ordine non crescente in base alla loro media,
in caso di parità ordinali in ordine alfabetico in base al cognome.
Input:
n (numero di studenti)
[cognome] [media]
...
Output:
[cognome] [media]
...
... | 20.5 | 97 | 0.606143 | NeverMendel |
26ff00b0b16c6de003fb8dba67241c373dc32529 | 29,588 | cc | C++ | helpers.cc | rbhambriiit/deeptorch | 77f04f850da36ee11303b8647dda5025e039d444 | [
"Apache-2.0"
] | null | null | null | helpers.cc | rbhambriiit/deeptorch | 77f04f850da36ee11303b8647dda5025e039d444 | [
"Apache-2.0"
] | null | null | null | helpers.cc | rbhambriiit/deeptorch | 77f04f850da36ee11303b8647dda5025e039d444 | [
"Apache-2.0"
] | null | null | null | // Copyright 2008 Google 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 in... | 37.031289 | 137 | 0.62958 | rbhambriiit |
f8024ae5c224530eb96e8621ece5add32201f971 | 6,686 | cpp | C++ | Frame/OpenGL/Fill.cpp | anirul/ShaderGL | 1de7d6cad8e2acd974e89040c9b1b41e4ae3870d | [
"MIT"
] | 1 | 2020-06-15T15:58:05.000Z | 2020-06-15T15:58:05.000Z | Frame/OpenGL/Fill.cpp | anirul/ShaderGL | 1de7d6cad8e2acd974e89040c9b1b41e4ae3870d | [
"MIT"
] | 3 | 2020-06-21T09:08:21.000Z | 2020-06-24T08:14:23.000Z | Frame/OpenGL/Fill.cpp | anirul/ShaderGL | 1de7d6cad8e2acd974e89040c9b1b41e4ae3870d | [
"MIT"
] | null | null | null | #include "Fill.h"
#include <array>
#include <assert.h>
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include "Frame/Error.h"
#include "Frame/OpenGL/FrameBuffer.h"
#include "Frame/OpenGL/RenderBuffer.h"
#include "Frame/OpenGL/Renderer.h"
#include "Frame/OpenGL/StaticMesh.h"
namespace frame::opengl {
... | 30.669725 | 74 | 0.680826 | anirul |
f802aac28738d0e361e44df8f8dc2aad390c8b2a | 2,890 | cpp | C++ | ecal/core/src/ecal_time.cpp | jonico/ecal | 244531e4a0f3be8f1ce881f5bbeca354b05d29aa | [
"Apache-2.0"
] | null | null | null | ecal/core/src/ecal_time.cpp | jonico/ecal | 244531e4a0f3be8f1ce881f5bbeca354b05d29aa | [
"Apache-2.0"
] | null | null | null | ecal/core/src/ecal_time.cpp | jonico/ecal | 244531e4a0f3be8f1ce881f5bbeca354b05d29aa | [
"Apache-2.0"
] | null | null | null | /* ========================= eCAL LICENSE =================================
*
* Copyright (C) 2016 - 2019 Continental Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* ... | 27.788462 | 102 | 0.595156 | jonico |
f803af6cd442c1572b81b3b6598daf2eaff72220 | 2,257 | cpp | C++ | qt/other/wuziqi2/client/chessboard.cpp | yanrong/book_demo | 20cd13f3c3507a11e826ebbf22bd1c7bcb36e06f | [
"Apache-2.0"
] | null | null | null | qt/other/wuziqi2/client/chessboard.cpp | yanrong/book_demo | 20cd13f3c3507a11e826ebbf22bd1c7bcb36e06f | [
"Apache-2.0"
] | null | null | null | qt/other/wuziqi2/client/chessboard.cpp | yanrong/book_demo | 20cd13f3c3507a11e826ebbf22bd1c7bcb36e06f | [
"Apache-2.0"
] | null | null | null | //chessboard.cpp
#include "chessboard.h"
#include <iostream>
using namespace std;
ChessBoard::ChessBoard() {
initBoard();
}
void ChessBoard::initBoard()
{
for(int i=0; i<19; i++)
for(int j=0; j<19; j++)
board[i][j] = null;
}
//棋手走一步棋
bool ChessBoard::SetChess(int x, int y, enum Chess c)
{... | 19.973451 | 74 | 0.454143 | yanrong |
f8040bfe6f3ea5d722d1de0b376a1752b0e55c4d | 304 | cpp | C++ | ion/src/device/n0110/bench/command/vblank.cpp | VersiraSec/epsilon-cfw | d12b44c6c6668ecc14b60d8dd098ba5c230b1291 | [
"FSFAP"
] | 1,442 | 2017-08-28T19:39:45.000Z | 2022-03-30T00:56:14.000Z | ion/src/device/n0110/bench/command/vblank.cpp | VersiraSec/epsilon-cfw | d12b44c6c6668ecc14b60d8dd098ba5c230b1291 | [
"FSFAP"
] | 1,321 | 2017-08-28T23:03:10.000Z | 2022-03-31T19:32:17.000Z | ion/src/device/n0110/bench/command/vblank.cpp | VersiraSec/epsilon-cfw | d12b44c6c6668ecc14b60d8dd098ba5c230b1291 | [
"FSFAP"
] | 421 | 2017-08-28T22:02:39.000Z | 2022-03-28T20:52:21.000Z | #include "command.h"
#include <ion/post_and_hardware_tests.h>
namespace Ion {
namespace Device {
namespace Bench {
namespace Command {
void VBlank(const char * input) {
if (input != nullptr) {
reply(sSyntaxError);
return;
}
reply(POSTAndHardwareTests::VBlankOK() ? sOK : sKO);
}
}
}
}
}
| 14.47619 | 54 | 0.677632 | VersiraSec |
f8045d31dce06b3b78588f61714667125d276cbd | 4,875 | cpp | C++ | Assigment 12/Numbermaze.cpp | UrfanAlvany/Algorithms-and-Data-Structures | 263dced4a24df11dad61ab6f8ed9561eb3f44b8f | [
"MIT"
] | null | null | null | Assigment 12/Numbermaze.cpp | UrfanAlvany/Algorithms-and-Data-Structures | 263dced4a24df11dad61ab6f8ed9561eb3f44b8f | [
"MIT"
] | null | null | null | Assigment 12/Numbermaze.cpp | UrfanAlvany/Algorithms-and-Data-Structures | 263dced4a24df11dad61ab6f8ed9561eb3f44b8f | [
"MIT"
] | null | null | null | #include <iostream>
#include <fstream>
#include <algorithm>
#include <queue>
using namespace std;
#define INF 0x3f3f3f3f
typedef pair<int, int> iPair;
class PuzzleBoard
{
private:
int **graph;
int graphsize;
int cuurentY;
int currentX;
public:
PuzzleBoard(int boardSize, int **fields = nullptr);
... | 20.744681 | 84 | 0.442872 | UrfanAlvany |
f805ea225187bddb821299d8da798e0cfa5c1863 | 137 | cpp | C++ | src/main.cpp | zedrex/algosketch | ff0f759f9e7e0e4ff040cf6c84334aceac47adae | [
"MIT"
] | 16 | 2021-03-27T06:20:42.000Z | 2022-03-31T16:30:37.000Z | src/main.cpp | zedrex/Algo-Plus-Plus | ff0f759f9e7e0e4ff040cf6c84334aceac47adae | [
"MIT"
] | 1 | 2021-07-13T07:57:41.000Z | 2021-07-13T07:57:41.000Z | src/main.cpp | zedrex/Algo-Plus-Plus | ff0f759f9e7e0e4ff040cf6c84334aceac47adae | [
"MIT"
] | 3 | 2021-04-03T02:58:56.000Z | 2021-06-04T18:23:49.000Z | #include <managers/application.hpp>
using namespace std;
int main()
{
Application algoSketch;
algoSketch.run();
return 0;
} | 13.7 | 35 | 0.686131 | zedrex |
f8064d6b852d0883f3b6fcd1bd3ebb97209f54d7 | 26,781 | cpp | C++ | 01_Develop/libXMFFmpeg/Source/libavcodec/cavsdec.cpp | mcodegeeks/OpenKODE-Framework | d4382d781da7f488a0e7667362a89e8e389468dd | [
"MIT"
] | 2 | 2017-08-03T07:15:00.000Z | 2018-06-18T10:32:53.000Z | 01_Develop/libXMFFmpeg/Source/libavcodec/cavsdec.cpp | mcodegeeks/OpenKODE-Framework | d4382d781da7f488a0e7667362a89e8e389468dd | [
"MIT"
] | null | null | null | 01_Develop/libXMFFmpeg/Source/libavcodec/cavsdec.cpp | mcodegeeks/OpenKODE-Framework | d4382d781da7f488a0e7667362a89e8e389468dd | [
"MIT"
] | 2 | 2019-03-04T22:57:42.000Z | 2020-03-06T01:32:26.000Z | /*
* Chinese AVS video (AVS1-P2, JiZhun profile) decoder.
* Copyright (c) 2006 Stefan Gehrer <stefan.gehrer@gmx.de>
*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Softwa... | 36.436735 | 95 | 0.534633 | mcodegeeks |
f8065874dd9df276f5ece038c3f0b65c3f8c1425 | 46 | hpp | C++ | src/app/include/example.hpp | rockonedege/SCPI-CPP | f295f684ffbd4b03e65b439bf0d771fb673fd700 | [
"MIT"
] | null | null | null | src/app/include/example.hpp | rockonedege/SCPI-CPP | f295f684ffbd4b03e65b439bf0d771fb673fd700 | [
"MIT"
] | null | null | null | src/app/include/example.hpp | rockonedege/SCPI-CPP | f295f684ffbd4b03e65b439bf0d771fb673fd700 | [
"MIT"
] | null | null | null | #pragma once
void example(const char* port); | 11.5 | 31 | 0.73913 | rockonedege |
f808b7ca2fa22ee382ec1025148e25f60324239f | 2,279 | hpp | C++ | vendor/bit7z/include/bit7z/include/fileextractcallback.hpp | moonantonio/LinaEngine | fe5a91a85c64dd0719656eb38e2fb37037bacfc1 | [
"MIT"
] | 16 | 2021-07-15T04:00:38.000Z | 2022-02-27T02:37:23.000Z | vendor/bit7z/include/bit7z/include/fileextractcallback.hpp | moonantonio/LinaEngine | fe5a91a85c64dd0719656eb38e2fb37037bacfc1 | [
"MIT"
] | 15 | 2018-10-02T22:14:17.000Z | 2018-10-12T08:01:36.000Z | vendor/bit7z/include/bit7z/include/fileextractcallback.hpp | moonantonio/LinaEngine | fe5a91a85c64dd0719656eb38e2fb37037bacfc1 | [
"MIT"
] | 16 | 2021-07-18T02:40:12.000Z | 2022-02-09T05:25:07.000Z | /*
* bit7z - A C++ static library to interface with the 7-zip DLLs.
* Copyright (c) 2014-2019 Riccardo Ostani - All Rights Reserved.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; eith... | 35.609375 | 107 | 0.649846 | moonantonio |
f80a6b9eb32daca9e2594a462c011ec4273909b8 | 2,995 | hpp | C++ | AudioKit/Common/Nodes/Mixing/Panner/AKPannerDSP.hpp | MattTolleson/AudioKit | 796c974e5f6ea00fdacca062f20f01bfb4689de8 | [
"MIT"
] | 1,699 | 2017-05-06T02:22:00.000Z | 2022-03-30T07:51:03.000Z | Pods/AudioKit/macOS/AudioKit.framework/Versions/A/Headers/AKPannerDSP.hpp | guruantree/MacAssistant | 21c4537fbedaab1a3be28daef578ad8d91cf8604 | [
"MIT"
] | 85 | 2017-05-08T18:48:44.000Z | 2022-03-07T05:30:01.000Z | Pods/AudioKit/macOS/AudioKit.framework/Versions/A/Headers/AKPannerDSP.hpp | guruantree/MacAssistant | 21c4537fbedaab1a3be28daef578ad8d91cf8604 | [
"MIT"
] | 180 | 2017-05-18T22:28:37.000Z | 2022-03-28T12:28:04.000Z | //
// AKPannerDSP.hpp
// AudioKit
//
// Created by Aurelius Prochazka, revision history on Github.
// Copyright © 2018 AudioKit. All rights reserved.
//
#pragma once
#import <AVFoundation/AVFoundation.h>
typedef NS_ENUM(AUParameterAddress, AKPannerParameter) {
AKPannerParameterPan,
AKPannerParameterRampD... | 27.477064 | 99 | 0.589649 | MattTolleson |
f80d1c980f1270a4f36835c7818e42763e39dab0 | 12,902 | cc | C++ | components/safe_browsing/content/browser/browser_url_loader_throttle.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | components/safe_browsing/content/browser/browser_url_loader_throttle.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | components/safe_browsing/content/browser/browser_url_loader_throttle.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/safe_browsing/content/browser/browser_url_loader_throttle.h"
#include "base/bind.h"
#include "base/logging.h"
#include "base/memory/... | 38.861446 | 81 | 0.708185 | sarang-apps |
f80ddc18169a57b6eb52ab5e40b3d31efed68896 | 1,972 | cpp | C++ | codeforces/59E/main.cpp | xirc/cp-algorithm | 89c67cff2f00459c5bb020ab44bff5ae419a1728 | [
"Apache-2.0"
] | 8 | 2020-12-23T07:54:53.000Z | 2021-11-23T02:46:35.000Z | codeforces/59E/main.cpp | xirc/cp-algorithm | 89c67cff2f00459c5bb020ab44bff5ae419a1728 | [
"Apache-2.0"
] | 1 | 2020-11-07T13:22:29.000Z | 2020-12-20T12:54:00.000Z | codeforces/59E/main.cpp | xirc/cp-algorithm | 89c67cff2f00459c5bb020ab44bff5ae419a1728 | [
"Apache-2.0"
] | 1 | 2021-01-16T03:40:10.000Z | 2021-01-16T03:40:10.000Z | // https://codeforces.com/contest/59/problem/E
#include <iostream>
#include <vector>
#include <map>
#include <tuple>
#include <queue>
#include <algorithm>
using namespace std;
int N;
vector<vector<int>> adj;
map<tuple<int,int,int>,bool> prohibit;
vector<int> solve() {
tuple<int,int,int> last;
map<pair<int,i... | 21.911111 | 65 | 0.43002 | xirc |
f8136c19f7063125f0532ef70d598dc3146fe837 | 2,249 | cpp | C++ | data-plane/config/tests/ESActionTest.cpp | duderino/everscale | 38388289dcce869852680a167f3dcb7e090d851c | [
"Apache-2.0"
] | null | null | null | data-plane/config/tests/ESActionTest.cpp | duderino/everscale | 38388289dcce869852680a167f3dcb7e090d851c | [
"Apache-2.0"
] | null | null | null | data-plane/config/tests/ESActionTest.cpp | duderino/everscale | 38388289dcce869852680a167f3dcb7e090d851c | [
"Apache-2.0"
] | null | null | null | #ifndef ES_ACTION_H
#include <ESAction.h>
#endif
#ifndef ES_ENTITY_TEST_H
#include "ESEntityTest.h"
#endif
#include <gtest/gtest.h>
#define UUID "0f42a1d1-cb6e-4a7b-be44-35fe34c6d5e1"
using namespace ES;
class ActionTest : public EntityTest {
public:
ActionTest() {}
virtual ~ActionTest() {}
virtual void Se... | 28.833333 | 88 | 0.640285 | duderino |
f81b9243dee9c450c31d3a4a10bf7af796d89a30 | 562 | hpp | C++ | library/ATF/CNetTimer.hpp | lemkova/Yorozuya | f445d800078d9aba5de28f122cedfa03f26a38e4 | [
"MIT"
] | 29 | 2017-07-01T23:08:31.000Z | 2022-02-19T10:22:45.000Z | library/ATF/CNetTimer.hpp | kotopes/Yorozuya | 605c97d3a627a8f6545cc09f2a1b0a8afdedd33a | [
"MIT"
] | 90 | 2017-10-18T21:24:51.000Z | 2019-06-06T02:30:33.000Z | library/ATF/CNetTimer.hpp | kotopes/Yorozuya | 605c97d3a627a8f6545cc09f2a1b0a8afdedd33a | [
"MIT"
] | 44 | 2017-12-19T08:02:59.000Z | 2022-02-24T23:15:01.000Z | // This file auto generated by plugin for ida pro. Generated code only for x64. Please, dont change manually
#pragma once
#include <common/common.h>
START_ATF_NAMESPACE
#pragma pack(push, 4)
struct CNetTimer
{
int m_nTickTerm;
unsigned int m_dwTickOld;
bool m_bOper;
public:
... | 24.434783 | 108 | 0.653025 | lemkova |
f81ca2d3a28a56ad94fc4e7bc20523a4ef0a0365 | 555 | hpp | C++ | src/cuda/n_body.hpp | savcardamone/tyche- | ea89edea89a607291e4fe0ba738d75522f54dc1a | [
"MIT"
] | null | null | null | src/cuda/n_body.hpp | savcardamone/tyche- | ea89edea89a607291e4fe0ba738d75522f54dc1a | [
"MIT"
] | 1 | 2018-12-28T13:30:16.000Z | 2018-12-29T10:30:33.000Z | src/cuda/n_body.hpp | savcardamone/tyche | ea89edea89a607291e4fe0ba738d75522f54dc1a | [
"MIT"
] | null | null | null | /**
* @file n_body.hpp
* @author Salvatore Cardamone
* @brief Basic N-Body implementation using CUDA.
*/
#ifndef N_BODY_CUDA_HPP__
#define N_BODY_CUDA_HPP__
// See https://stackoverflow.com/a/6978720
#ifdef __CUDACC__
#define CUDA_MEMBER __host__ __device__
#else
#define CUDA_MEMBER
#endif /* #ifdef __CUDACC__ */
... | 18.5 | 87 | 0.744144 | savcardamone |
f81e00fd1c7e53cdf2a97abdb19467afff9085bc | 1,164 | cpp | C++ | main.cpp | TomasDmArg/bulkwebpconverter | 7c82cfbd6b47b8b3ae1d62990ebdf69963050bbe | [
"MIT"
] | null | null | null | main.cpp | TomasDmArg/bulkwebpconverter | 7c82cfbd6b47b8b3ae1d62990ebdf69963050bbe | [
"MIT"
] | null | null | null | main.cpp | TomasDmArg/bulkwebpconverter | 7c82cfbd6b47b8b3ae1d62990ebdf69963050bbe | [
"MIT"
] | null | null | null | #include <iostream>
#include <string>
#include <vector>
using namespace std;
int main(){
int n, lang;
string textos[] = {"De: (ej. jpg/png/etc) ", "Cantidad de archivos: ", "Nombre de archivo: "};
string texts[] = {"From: (e.g. jpg/png/etc) ","File quantity: ", "filename: "};
string actual[] = {""};
... | 29.1 | 99 | 0.49055 | TomasDmArg |
f81e85c2db0556c68b7556aa87c71f1899ad4e71 | 6,954 | cpp | C++ | editor/widgets/DebugWidgets.cpp | gan74/yave | c71b5dd7c05b1aa39c59a8071fc243c1472e71d1 | [
"MIT"
] | null | null | null | editor/widgets/DebugWidgets.cpp | gan74/yave | c71b5dd7c05b1aa39c59a8071fc243c1472e71d1 | [
"MIT"
] | null | null | null | editor/widgets/DebugWidgets.cpp | gan74/yave | c71b5dd7c05b1aa39c59a8071fc243c1472e71d1 | [
"MIT"
] | null | null | null | /*******************************
Copyright (c) 2016-2022 Grégoire Angerand
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... | 36.793651 | 109 | 0.563129 | gan74 |
f81f92fe645075b68e828b219b6060e97187c699 | 518 | cpp | C++ | csacademy/fenwick.cpp | freedomDR/coding | 310a68077de93ef445ccd2929e90ba9c22a9b8eb | [
"MIT"
] | null | null | null | csacademy/fenwick.cpp | freedomDR/coding | 310a68077de93ef445ccd2929e90ba9c22a9b8eb | [
"MIT"
] | null | null | null | csacademy/fenwick.cpp | freedomDR/coding | 310a68077de93ef445ccd2929e90ba9c22a9b8eb | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
#define LSB(i) ((i)&-(i))
const int SIZE = 5;
int A[SIZE];
int sum(int i)
{
int sum = 0;
while(i > 0){
sum += A[i], i -= LSB(i);
}
return sum;
}
void add(int i, int p)
{
while(i < SIZE){
A[i] += p, ... | 15.69697 | 41 | 0.388031 | freedomDR |
f824bf9d8353425e66d331f7f8224a1305789731 | 17,897 | cpp | C++ | ardupilot/ArduPlane/Log.cpp | quadrotor-IITKgp/emulate_GPS | 3c888d5b27b81fb17e74d995370f64bdb110fb65 | [
"MIT"
] | 1 | 2021-07-17T11:37:16.000Z | 2021-07-17T11:37:16.000Z | ardupilot/ArduPlane/Log.cpp | arl-kgp/emulate_GPS | 3c888d5b27b81fb17e74d995370f64bdb110fb65 | [
"MIT"
] | null | null | null | ardupilot/ArduPlane/Log.cpp | arl-kgp/emulate_GPS | 3c888d5b27b81fb17e74d995370f64bdb110fb65 | [
"MIT"
] | null | null | null | // -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
#include "Plane.h"
#if LOGGING_ENABLED == ENABLED
#if CLI_ENABLED == ENABLED
// Code to Write and Read packets from DataFlash.log memory
// Code to interact with the user to dump or erase logs
// Creates a constant array of structs represe... | 29.87813 | 123 | 0.661228 | quadrotor-IITKgp |
f8264539778f2687084a99144e72cea6aaaee963 | 25,196 | cpp | C++ | source/games/blood/src/aicult.cpp | Quake-Backup/Raze | 16c81f0b1f409436ebf576d2c23f2459a29b34b4 | [
"RSA-MD"
] | 1 | 2022-03-30T15:53:09.000Z | 2022-03-30T15:53:09.000Z | source/games/blood/src/aicult.cpp | Quake-Backup/Raze | 16c81f0b1f409436ebf576d2c23f2459a29b34b4 | [
"RSA-MD"
] | null | null | null | source/games/blood/src/aicult.cpp | Quake-Backup/Raze | 16c81f0b1f409436ebf576d2c23f2459a29b34b4 | [
"RSA-MD"
] | null | null | null | //-------------------------------------------------------------------------
/*
Copyright (C) 2010-2019 EDuke32 developers and contributors
Copyright (C) 2019 Nuke.YKT
This file is part of NBlood.
NBlood is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License versio... | 40.573269 | 184 | 0.65173 | Quake-Backup |
f828ccf5f29d887122b5f31c780777d3c04d5d21 | 1,143 | cpp | C++ | src/bitshow.cpp | kindlychung/bitshow | b94ab1e7b6cdb32ad5ce8a22d5696eb52168e2e4 | [
"MIT"
] | null | null | null | src/bitshow.cpp | kindlychung/bitshow | b94ab1e7b6cdb32ad5ce8a22d5696eb52168e2e4 | [
"MIT"
] | null | null | null | src/bitshow.cpp | kindlychung/bitshow | b94ab1e7b6cdb32ad5ce8a22d5696eb52168e2e4 | [
"MIT"
] | null | null | null | #include "bitshow.h"
#include "details.h"
#include "masks.h"
#include "types.h"
namespace bitshow {
floating_formats::format<double> anatomy(double x) {
auto x_bits = bits(x);
std::bitset<1> sign_bit(
((x_bits & masks::double_sign_mask) >> 63).to_ullong());
std::bitset<11> exponent_bits(
((... | 35.71875 | 68 | 0.622047 | kindlychung |
f82cae8e8b8d25cdcefc2cffde99716d5148896e | 1,528 | hpp | C++ | src/popup/popup-stage-system-error.hpp | tilnewman/heroespath-src | a7784e44d8b5724f305ef8b8671fed54e2e5fd69 | [
"BSL-1.0",
"Beerware"
] | 2 | 2019-02-28T00:28:08.000Z | 2019-10-20T14:39:48.000Z | src/popup/popup-stage-system-error.hpp | tilnewman/heroespath-src | a7784e44d8b5724f305ef8b8671fed54e2e5fd69 | [
"BSL-1.0",
"Beerware"
] | null | null | null | src/popup/popup-stage-system-error.hpp | tilnewman/heroespath-src | a7784e44d8b5724f305ef8b8671fed54e2e5fd69 | [
"BSL-1.0",
"Beerware"
] | null | null | null | // ----------------------------------------------------------------------------
// "THE BEER-WARE LICENSE" (Revision 42):
// <ztn@zurreal.com> wrote this file. As long as you retain this notice you
// can do whatever you want with this stuff. If we meet some day, and you think
// this stuff is worth it, you can buy me... | 36.380952 | 82 | 0.656414 | tilnewman |
f82d257f89575fff02afb18bb59610c72de43037 | 11,545 | cpp | C++ | tests/test_basic.cpp | preet/libobdref | 9282b2e30ef97578b3d17eeb757090b001809972 | [
"Apache-2.0"
] | 2 | 2015-11-07T18:32:10.000Z | 2017-11-20T21:13:22.000Z | tests/test_basic.cpp | preet/libobdref | 9282b2e30ef97578b3d17eeb757090b001809972 | [
"Apache-2.0"
] | null | null | null | tests/test_basic.cpp | preet/libobdref | 9282b2e30ef97578b3d17eeb757090b001809972 | [
"Apache-2.0"
] | null | null | null | /*
This source is part of libobdref
Copyright (C) 2012,2013 Preet Desai (preet.desai@gmail.com)
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... | 37.36246 | 80 | 0.532438 | preet |
f82df592f8a01ac47de7f3c28dd253350fcb3d04 | 240 | cpp | C++ | cpp/abl_b/main.cpp | kokosabu/atcoder | 8d512587d234eb45941a2f6341c4dd003e6c9ad3 | [
"Apache-2.0"
] | null | null | null | cpp/abl_b/main.cpp | kokosabu/atcoder | 8d512587d234eb45941a2f6341c4dd003e6c9ad3 | [
"Apache-2.0"
] | null | null | null | cpp/abl_b/main.cpp | kokosabu/atcoder | 8d512587d234eb45941a2f6341c4dd003e6c9ad3 | [
"Apache-2.0"
] | null | null | null | #include <iostream>
using namespace std;
int main()
{
long long A, B, C, D;
cin >> A >> B >> C >> D;
if(!((B < C) || (D < A))) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return 0;
}
| 14.117647 | 31 | 0.4 | kokosabu |
f830375d6113627933b3c59105412991899b795a | 2,590 | hpp | C++ | Sources/Post/IPostFilter.hpp | 0xflotus/Acid | cf680a13c3894822920737dcf1b7d17aef74a474 | [
"MIT"
] | 3 | 2018-10-19T23:33:37.000Z | 2019-04-07T11:46:44.000Z | Sources/Post/IPostFilter.hpp | sum01/Acid | d921472e062fc26b87c0163918aab553ac20739a | [
"MIT"
] | null | null | null | Sources/Post/IPostFilter.hpp | sum01/Acid | d921472e062fc26b87c0163918aab553ac20739a | [
"MIT"
] | null | null | null | #pragma once
#include "Models/Model.hpp"
#include "Renderer/IRenderer.hpp"
#include "Renderer/Renderer.hpp"
#include "Renderer/Handlers/DescriptorsHandler.hpp"
#include "Renderer/Pipelines/Pipeline.hpp"
namespace acid
{
/// <summary>
/// Represents a post effect shader and on application saves the result into a FBO... | 41.774194 | 175 | 0.745946 | 0xflotus |
f830701d4dd232a2392ad1c173ac9dd1cb5d1655 | 1,029 | cpp | C++ | src/VkRenderer/Image.cpp | WubiCookie/VkRenderer | 87cc5d858591fc976c197ab2834e1ac9a418becd | [
"MIT"
] | 2 | 2020-05-31T19:54:19.000Z | 2021-09-14T12:00:12.000Z | src/VkRenderer/Image.cpp | WubiCookie/VkRenderer | 87cc5d858591fc976c197ab2834e1ac9a418becd | [
"MIT"
] | null | null | null | src/VkRenderer/Image.cpp | WubiCookie/VkRenderer | 87cc5d858591fc976c197ab2834e1ac9a418becd | [
"MIT"
] | null | null | null | #include "Image.hpp"
#include <cassert>
#include <stdexcept>
namespace cdm
{
Image::Image(const VulkanDevice& device_, VkFormat format)
: AbstractImage(device_, format)
{
}
Image::~Image() { device().destroy(m_image.get()); }
VkImage Image::image()
{
if (outdated())
recreate();
return m_image.get();
}
boo... | 16.078125 | 75 | 0.683188 | WubiCookie |
f830aa215f418e783a4e7a32c67d379d189fbae3 | 19,991 | cpp | C++ | Steamhammer/Source/ScoutManager.cpp | kant2002/steamhammer | 375756e40f427faf3496fcf5da20955720ceda0a | [
"MIT"
] | 10 | 2017-07-06T18:47:02.000Z | 2019-03-22T04:49:41.000Z | Steamhammer/Source/ScoutManager.cpp | kant2002/steamhammer | 375756e40f427faf3496fcf5da20955720ceda0a | [
"MIT"
] | null | null | null | Steamhammer/Source/ScoutManager.cpp | kant2002/steamhammer | 375756e40f427faf3496fcf5da20955720ceda0a | [
"MIT"
] | 6 | 2017-09-05T14:40:19.000Z | 2018-11-01T08:00:53.000Z | #include "ScoutManager.h"
#include "Bases.h"
#include "GameCommander.h"
#include "MapGrid.h"
#include "MapTools.h"
#include "Micro.h"
#include "OpponentModel.h"
#include "ProductionManager.h"
#include "The.h"
// This class is responsible for early game scouting.
// It controls any scouting worker and scou... | 28.4367 | 113 | 0.656045 | kant2002 |
f834d86cd5a85b91413774337c3d1cabe45fd571 | 15,315 | cpp | C++ | blades/xbmc/xbmc/network/linux/ZeroconfBrowserAvahi.cpp | krattai/AEBL | a7b12c97479e1236d5370166b15ca9f29d7d4265 | [
"BSD-2-Clause"
] | 4 | 2016-04-26T03:43:54.000Z | 2016-11-17T08:09:04.000Z | blades/xbmc/xbmc/network/linux/ZeroconfBrowserAvahi.cpp | krattai/AEBL | a7b12c97479e1236d5370166b15ca9f29d7d4265 | [
"BSD-2-Clause"
] | 17 | 2015-01-05T21:06:22.000Z | 2015-12-07T20:45:44.000Z | blades/xbmc/xbmc/network/linux/ZeroconfBrowserAvahi.cpp | krattai/AEBL | a7b12c97479e1236d5370166b15ca9f29d7d4265 | [
"BSD-2-Clause"
] | 3 | 2016-04-26T03:43:55.000Z | 2020-11-06T11:02:08.000Z | /*
* Copyright (C) 2005-2013 Team XBMC
* http://xbmc.org
*
* This Program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* ... | 36.903614 | 239 | 0.685472 | krattai |
f83956db74d79cb7106e8f6c9cfb6716adfaaea0 | 987 | hpp | C++ | src/PlaylistsPage/PlaylistsPage.hpp | AlexeyGurevsky/bbtube | d7329b52cec08cdc80c521e8f3d4f5de746639e7 | [
"Apache-2.0"
] | 15 | 2020-07-13T03:51:10.000Z | 2022-03-16T13:56:28.000Z | src/PlaylistsPage/PlaylistsPage.hpp | AlexeyGurevsky/bbtube | d7329b52cec08cdc80c521e8f3d4f5de746639e7 | [
"Apache-2.0"
] | 2 | 2021-01-07T20:31:29.000Z | 2021-12-15T21:20:34.000Z | src/PlaylistsPage/PlaylistsPage.hpp | AlexeyGurevsky/bbtube | d7329b52cec08cdc80c521e8f3d4f5de746639e7 | [
"Apache-2.0"
] | 4 | 2020-08-15T01:52:31.000Z | 2022-03-16T13:56:30.000Z | #ifndef PlaylistsPage_HPP_
#define PlaylistsPage_HPP_
#include "src/utils/BasePage.hpp"
#include "src/parser/models/StorageData.hpp"
#include "src/parser/models/VideoMetadata.hpp"
#include "src/models/PlaylistVideoModel.hpp"
#include "src/models/PlaylistListItemModel.hpp"
#include <bb/cascades/Page>
#include <bb/casc... | 29.029412 | 91 | 0.787234 | AlexeyGurevsky |
f83b0fd5ac67bf7a21b3d1fdc11ea2010feecdf9 | 3,010 | cpp | C++ | src/world/Scene.cpp | jensmcatanho/iris | 0334bc0ec34be4a6702462480b6452fcc2d1172c | [
"MIT"
] | 2 | 2019-10-23T01:03:39.000Z | 2020-03-31T18:59:16.000Z | src/world/Scene.cpp | jensmcatanho/iris | 0334bc0ec34be4a6702462480b6452fcc2d1172c | [
"MIT"
] | 2 | 2016-11-02T10:41:02.000Z | 2017-07-19T01:41:33.000Z | src/world/Scene.cpp | jensmcatanho/iris | 0334bc0ec34be4a6702462480b6452fcc2d1172c | [
"MIT"
] | null | null | null | /*
-----------------------------------------------------------------------------
The MIT License (MIT)
Copyright (c) 2016-2017 Jean Michel Catanho
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 ... | 33.820225 | 92 | 0.711296 | jensmcatanho |
f840bced7bf2ee6717187698f544317555047880 | 55,779 | cpp | C++ | @VyperLogixProjects/@workspace_fb46/as3gullinburstilibs/raw/wxChecksums-1.2.0/src/lvwSums.cpp | raychorn/svn_Flash_Builder_4 | 17069d420d5d9b9635738d4ce40395d85213e785 | [
"CC0-1.0"
] | null | null | null | @VyperLogixProjects/@workspace_fb46/as3gullinburstilibs/raw/wxChecksums-1.2.0/src/lvwSums.cpp | raychorn/svn_Flash_Builder_4 | 17069d420d5d9b9635738d4ce40395d85213e785 | [
"CC0-1.0"
] | null | null | null | @VyperLogixProjects/@workspace_fb46/as3gullinburstilibs/raw/wxChecksums-1.2.0/src/lvwSums.cpp | raychorn/svn_Flash_Builder_4 | 17069d420d5d9b9635738d4ce40395d85213e785 | [
"CC0-1.0"
] | null | null | null | /*
* wxChecksums
* Copyright (C) 2003-2004 Julien Couot
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* T... | 30.150811 | 152 | 0.599347 | raychorn |
f840fae09ce816f07c74e06fb22a7184a8f82b6d | 438 | cpp | C++ | POO/Exercitii_examen/Exercitii/063.cpp | andrei-micuda/teme-fmi | d31c032c45e0e910d75fc05faab3681d421aac7c | [
"MIT"
] | 1 | 2020-06-07T09:45:17.000Z | 2020-06-07T09:45:17.000Z | POO/Exercitii_examen/Exercitii/063.cpp | micu01/teme-fmi | d31c032c45e0e910d75fc05faab3681d421aac7c | [
"MIT"
] | null | null | null | POO/Exercitii_examen/Exercitii/063.cpp | micu01/teme-fmi | d31c032c45e0e910d75fc05faab3681d421aac7c | [
"MIT"
] | 2 | 2020-04-09T19:27:36.000Z | 2020-06-28T17:45:14.000Z | #include<iostream>
using namespace std;
class cls {
public:
int x;
cls() { x = 3; }
void f(cls& c) { cout << c.x; }
};
/*void f(const cls& c) { cout << c.x; }*/ // REZ: cls& c => const cls& c si scoatem functia in afara clasei
void main()
{
const cls d;
f(d); // f este metoda nestatica a clasei => trebuie apelat... | 27.375 | 176 | 0.659817 | andrei-micuda |
f8414574671acb0dd73638b76e08400db7c9e0da | 2,224 | cpp | C++ | source/Tokens.cpp | KaloyanKaludov/Element | fbe675301d04f0a62497d8f05e7bcbaeba72d102 | [
"MIT"
] | 1 | 2016-05-15T21:17:26.000Z | 2016-05-15T21:17:26.000Z | source/Tokens.cpp | KaloyanKaludov/Element | fbe675301d04f0a62497d8f05e7bcbaeba72d102 | [
"MIT"
] | 1 | 2016-05-19T12:39:58.000Z | 2016-09-19T07:37:50.000Z | source/Tokens.cpp | KaloyanKaludov/Element | fbe675301d04f0a62497d8f05e7bcbaeba72d102 | [
"MIT"
] | null | null | null | #include "Tokens.h"
namespace element
{
const char* TokenAsString(Token token)
{
switch(token)
{
case T_EOF: return "EOF";
case T_NewLine: return "\\n";
case T_Identifier: return "identifier";
case T_Integer: return "integer";
case T_Float: return "float";
case T_String: return "string";
... | 23.659574 | 45 | 0.627698 | KaloyanKaludov |
f842fddbfae1336624a484543253acc3faa68c12 | 3,655 | cpp | C++ | third_party_builtin/tuvok/tuvok/Basics/DynamicDX.cpp | ahota/visit_ospray | d80b2e18ff5654d04bfb56ae4d6f42e45f87c9b9 | [
"BSD-3-Clause"
] | null | null | null | third_party_builtin/tuvok/tuvok/Basics/DynamicDX.cpp | ahota/visit_ospray | d80b2e18ff5654d04bfb56ae4d6f42e45f87c9b9 | [
"BSD-3-Clause"
] | null | null | null | third_party_builtin/tuvok/tuvok/Basics/DynamicDX.cpp | ahota/visit_ospray | d80b2e18ff5654d04bfb56ae4d6f42e45f87c9b9 | [
"BSD-3-Clause"
] | null | null | null | /*
For more information, please see: http://software.sci.utah.edu
The MIT License
Copyright (c) 2008 Scientific Computing and Imaging Institute,
University of Utah.
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (... | 34.809524 | 124 | 0.734337 | ahota |
f84381986bc199b3e2b8f142d7b97c934dfd94b2 | 1,951 | cc | C++ | set_modulation_curve/main.cc | tsubasatamba/cipher_analysis | 395aa270810c12515d64cacd74cb70388ce55ada | [
"Unlicense"
] | null | null | null | set_modulation_curve/main.cc | tsubasatamba/cipher_analysis | 395aa270810c12515d64cacd74cb70388ce55ada | [
"Unlicense"
] | null | null | null | set_modulation_curve/main.cc | tsubasatamba/cipher_analysis | 395aa270810c12515d64cacd74cb70388ce55ada | [
"Unlicense"
] | null | null | null | #include <iostream>
#include <string>
#include <vector>
#include <fstream>
#include <TStyle.h>
#include <TROOT.h>
#include <TFile.h>
#include <TTree.h>
#include <TH1.h>
#include <TCanvas.h>
#include <TF1.h>
#include <TGraphErrors.h>
#include "FitModulationCurve.hh"
#include "GetAngle.hh"
#include <nlohmann/json.hpp>
... | 30.484375 | 141 | 0.660174 | tsubasatamba |
f84749945c2c591a8e604fee572a3bbf27da23ba | 801 | cpp | C++ | tests/test-library.cpp | bjtj/oslayer | 92cc41288a4bae8e63a680fe714806e89421df16 | [
"MIT"
] | 1 | 2020-03-08T14:25:24.000Z | 2020-03-08T14:25:24.000Z | tests/test-library.cpp | bjtj/oslayer | 92cc41288a4bae8e63a680fe714806e89421df16 | [
"MIT"
] | null | null | null | tests/test-library.cpp | bjtj/oslayer | 92cc41288a4bae8e63a680fe714806e89421df16 | [
"MIT"
] | null | null | null | #include <liboslayer/TestSuite.hpp>
#include <liboslayer/Library.hpp>
using namespace std;
using namespace osl;
class LoadLibraryTestCase : public TestCase {
public:
LoadLibraryTestCase() : TestCase("LoadLibraryTestCase") { /**/ }
virtual ~LoadLibraryTestCase() { /**/ }
virtual void setUp(TestEnvironment... | 21.648649 | 68 | 0.62422 | bjtj |
f847c59fe4a13875127a3bd23613ae7892e3733b | 8,264 | cpp | C++ | Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Private/GameplayCueInterface.cpp | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | 1 | 2022-01-29T18:36:12.000Z | 2022-01-29T18:36:12.000Z | Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Private/GameplayCueInterface.cpp | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | null | null | null | Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Private/GameplayCueInterface.cpp | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | null | null | null | // Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
#include "GameplayCueInterface.h"
#include "AbilitySystemStats.h"
#include "GameplayTagsModule.h"
#include "AbilitySystemComponent.h"
#include "GameplayCueSet.h"
namespace GameplayCueInterfacePrivate
{
struct FCueNameAndUFunction
{
FGameplayTag Tag;
... | 31.907336 | 176 | 0.779768 | windystrife |
f848c06c62dadad4f9e00b4264a6df74cd2010b3 | 5,983 | cpp | C++ | CPUT/source/opengl/CPUTGPUTimerOGL.cpp | GameTechDev/ChatHeads | f83c43f7fd3537badd74c31545ce2a45340474ee | [
"Apache-2.0"
] | 13 | 2016-03-11T16:39:13.000Z | 2021-09-16T09:05:50.000Z | CPUT/source/opengl/CPUTGPUTimerOGL.cpp | GameTechDev/ChatHeads | f83c43f7fd3537badd74c31545ce2a45340474ee | [
"Apache-2.0"
] | 1 | 2016-09-14T01:57:00.000Z | 2016-09-18T19:29:06.000Z | CPUT/source/opengl/CPUTGPUTimerOGL.cpp | GameTechDev/ChatHeads | f83c43f7fd3537badd74c31545ce2a45340474ee | [
"Apache-2.0"
] | 10 | 2016-04-27T02:09:52.000Z | 2019-12-08T12:35:40.000Z |
/////////////////////////////////////////////////////////////////////////////////////////////
// Copyright 2017 Intel Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// ht... | 23.011538 | 111 | 0.644994 | GameTechDev |
f84d951333fd041c064a8d421406648cdf837983 | 2,015 | cpp | C++ | src/lib/AST/PType.cpp | LittleLaGi/p2llvm | 549b82c2e89c2cc1324a3d8b8d7760bb96ba0ba3 | [
"MIT"
] | null | null | null | src/lib/AST/PType.cpp | LittleLaGi/p2llvm | 549b82c2e89c2cc1324a3d8b8d7760bb96ba0ba3 | [
"MIT"
] | null | null | null | src/lib/AST/PType.cpp | LittleLaGi/p2llvm | 549b82c2e89c2cc1324a3d8b8d7760bb96ba0ba3 | [
"MIT"
] | null | null | null | #include "AST/PType.hpp"
#include <cassert>
const char *kTypeString[] = {"void", "integer", "real", "boolean", "string"};
// logical constness
const char *PType::getPTypeCString() const {
if (!m_type_string_is_valid) {
m_type_string += kTypeString[static_cast<size_t>(m_type)];
if (m_dimensions.s... | 25.833333 | 81 | 0.583623 | LittleLaGi |
f84ed5a21909008dd393c61e05f5a189c81629e6 | 627 | cpp | C++ | .emacs.d/cedet/semantic/tests/testfriends.cpp | littletwolee/emacs-configure | 6fe0f3e99cab1c40de8e32e50740ff5d0d765fa3 | [
"MIT"
] | 6 | 2019-01-06T05:55:47.000Z | 2021-05-28T09:29:58.000Z | .emacs.d/cedet/semantic/tests/testfriends.cpp | littletwolee/emacs-configure | 6fe0f3e99cab1c40de8e32e50740ff5d0d765fa3 | [
"MIT"
] | null | null | null | .emacs.d/cedet/semantic/tests/testfriends.cpp | littletwolee/emacs-configure | 6fe0f3e99cab1c40de8e32e50740ff5d0d765fa3 | [
"MIT"
] | 2 | 2015-12-09T19:06:16.000Z | 2021-12-02T14:41:31.000Z | // Test parsing of friends and how they are used in completion.
/*
>> Thanks Damien Profeta for the nice example.
>
> I paste a small example.
> It would be great if friend can be well parsed and even greater if
> class B can access to all the members of A.
*/
class Af // %2% ( ( "testfriends.cpp" ) ( "A... | 16.5 | 71 | 0.590112 | littletwolee |
f8514663a9a5964d0ca85313a06ce10e16016bc9 | 1,951 | cc | C++ | src/rns/main.cc | emer/pdpp | ccce243ae356dc5908cdd667419a7afd74cf22ad | [
"BSD-3-Clause"
] | null | null | null | src/rns/main.cc | emer/pdpp | ccce243ae356dc5908cdd667419a7afd74cf22ad | [
"BSD-3-Clause"
] | null | null | null | src/rns/main.cc | emer/pdpp | ccce243ae356dc5908cdd667419a7afd74cf22ad | [
"BSD-3-Clause"
] | null | null | null | /* -*- C++ -*- */
/*=============================================================================
// //
// This file is part of the PDP++ software package. //
// //
// Copyright (c) 1994 Carnegie Mellon University (CMU), James L. McClelland, //
// Chadley K. Dawson, and Randa... | 48.775 | 80 | 0.578678 | emer |
f8515cb5e9bbf5ef7a813577bf3884c9c6c7ef4b | 6,122 | hpp | C++ | src/pyinterp/core/include/pyinterp/detail/math.hpp | apatlpo/pangeo-pyinterp | b5242c6869d7e601a5695b304c81992deb63367d | [
"BSD-3-Clause"
] | null | null | null | src/pyinterp/core/include/pyinterp/detail/math.hpp | apatlpo/pangeo-pyinterp | b5242c6869d7e601a5695b304c81992deb63367d | [
"BSD-3-Clause"
] | null | null | null | src/pyinterp/core/include/pyinterp/detail/math.hpp | apatlpo/pangeo-pyinterp | b5242c6869d7e601a5695b304c81992deb63367d | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2019 CNES
//
// All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
#pragma once
#include <cmath>
#include <tuple>
namespace pyinterp {
namespace detail {
namespace math {
/// π
template <typename T>
inline constexpr T pi() noexcep... | 26.617391 | 78 | 0.639824 | apatlpo |
f8517aaf27e3823e0bab69f02e0c7766c43c9a3f | 1,144 | cpp | C++ | niceday-1.cpp | ohmyjons/SPOJ-1 | 870ae3b072a3fbc89149b35fe5649a74512a8f60 | [
"Unlicense"
] | 264 | 2015-01-08T10:07:01.000Z | 2022-03-26T04:11:51.000Z | niceday-1.cpp | ohmyjons/SPOJ-1 | 870ae3b072a3fbc89149b35fe5649a74512a8f60 | [
"Unlicense"
] | 17 | 2016-04-15T03:38:07.000Z | 2020-10-30T00:33:57.000Z | niceday-1.cpp | ohmyjons/SPOJ-1 | 870ae3b072a3fbc89149b35fe5649a74512a8f60 | [
"Unlicense"
] | 127 | 2015-01-08T04:56:44.000Z | 2022-02-25T18:40:37.000Z | // 2008-09-01
// niceday-1.cpp uses misof's "staircase" data structure.
// See niceday-2.cpp for another approach.
#include <cstdio>
#include <algorithm>
#include <map>
using namespace std;
#define MAX(a,b) ((a)>(b)?(a):(b))
#ifdef _MSC_VER
#define GC getchar
#else
#define GC getchar_unlocked
#endif
#define SIZE 100000... | 16.342857 | 57 | 0.557692 | ohmyjons |
f8520985b3e1a675d9f327e1ea6af307d93a8e42 | 7,723 | cpp | C++ | src/tsppd/solver/oneil/oneil_atsppd_solver.cpp | ryanjoneil/tsppd | f0e1e5e867e13c8fa0dcddf4d2ffa2aae7f46da4 | [
"AFL-1.1"
] | 4 | 2018-03-30T20:58:57.000Z | 2018-04-25T01:48:09.000Z | src/tsppd/solver/oneil/oneil_atsppd_solver.cpp | ryanjoneil/tsppd | f0e1e5e867e13c8fa0dcddf4d2ffa2aae7f46da4 | [
"AFL-1.1"
] | 7 | 2019-04-21T13:42:09.000Z | 2019-05-09T15:49:56.000Z | src/tsppd/solver/oneil/oneil_atsppd_solver.cpp | ryanjoneil/tsppd-hybrid | f0e1e5e867e13c8fa0dcddf4d2ffa2aae7f46da4 | [
"AFL-1.1"
] | 1 | 2020-03-01T16:19:18.000Z | 2020-03-01T16:19:18.000Z | /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/* */
/* This file is part of the tsppd program and library for solving */
/* Traveling Salesman Problems with Pickup and Delivery. tsppd requires */
... | 38.809045 | 101 | 0.491389 | ryanjoneil |
f858ec4fad057dd63562ccfd42a5c660c2675b38 | 8,755 | cpp | C++ | external/Coin3D/src/lists/SbList.cpp | skrat/ifcplusplus | 1e65d8e0d5e3365d4d1da399081ffaa78fd8a486 | [
"MIT"
] | 7 | 2018-03-07T06:51:41.000Z | 2020-05-22T08:32:54.000Z | external/Coin3D/src/lists/SbList.cpp | skrat/ifcplusplus | 1e65d8e0d5e3365d4d1da399081ffaa78fd8a486 | [
"MIT"
] | 1 | 2019-03-06T08:59:24.000Z | 2019-03-06T08:59:24.000Z | external/Coin3D/src/lists/SbList.cpp | skrat/ifcplusplus | 1e65d8e0d5e3365d4d1da399081ffaa78fd8a486 | [
"MIT"
] | 8 | 2018-05-02T20:16:07.000Z | 2021-06-10T03:06:04.000Z | /**************************************************************************\
* Copyright (c) Kongsberg Oil & Gas Technologies AS
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* Red... | 31.721014 | 76 | 0.716848 | skrat |
f8591fdced8db9de69105f3667cccb4a95bb4aa5 | 27,481 | cc | C++ | content/child/runtime_features.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | content/child/runtime_features.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | content/child/runtime_features.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // Copyright 2013 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 "content/child/runtime_features.h"
#include <vector>
#include "base/command_line.h"
#include "base/feature_list.h"
#include "base/metrics/field... | 45.348185 | 102 | 0.762163 | sarang-apps |
f859bebd724186d33d763504c385dacb0309ff7e | 4,430 | cpp | C++ | src/in_2sf/desmume/addons/slot1_retail.cpp | CyberBotX/in_xsf | 6d78469746b17bf1a9356c7a26ecd2850ba46eb3 | [
"BSD-3-Clause"
] | 15 | 2015-09-04T10:36:15.000Z | 2022-02-23T23:52:37.000Z | src/in_2sf/desmume/addons/slot1_retail.cpp | WACUP/in_xsf | 719f5b443af91e53f35f86055dd0b1b4851db2b0 | [
"BSD-3-Clause"
] | 3 | 2017-11-09T18:09:47.000Z | 2021-02-04T05:39:09.000Z | src/in_2sf/desmume/addons/slot1_retail.cpp | WACUP/in_xsf | 719f5b443af91e53f35f86055dd0b1b4851db2b0 | [
"BSD-3-Clause"
] | 9 | 2016-11-22T10:05:20.000Z | 2021-06-12T19:48:53.000Z | /* Copyright (C) 2010-2011 DeSmuME team
This file is part of DeSmuME
DeSmuME is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later ve... | 26.369048 | 140 | 0.688713 | CyberBotX |
f85d695eed711dbf2fc70ef58615aa9d44d562b1 | 799 | cpp | C++ | arc060_b/Main.cpp | s-shirayama/AtCoder | 8bb777af516a6a24ce88a5b9f2c22bf4fc7cd3c8 | [
"MIT"
] | null | null | null | arc060_b/Main.cpp | s-shirayama/AtCoder | 8bb777af516a6a24ce88a5b9f2c22bf4fc7cd3c8 | [
"MIT"
] | null | null | null | arc060_b/Main.cpp | s-shirayama/AtCoder | 8bb777af516a6a24ce88a5b9f2c22bf4fc7cd3c8 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
#define REP(i, n, s) for (LL i = (s); i < (n); i++)
#define SIZE 1
using namespace std;
typedef long long int LL;
typedef long double LD;
LL func(LL b, LL n) {
if (n < b) return n;
return func(b, floor(n/b)) + (n % b);
}
int main() {
ios::sync_with_stdio(0);
cin.tie(0);
LL N, S;
cin >>... | 15.365385 | 51 | 0.459324 | s-shirayama |
f86122b64e73a12002a05e074d397c9ae9536865 | 26 | cc | C++ | examples/POSIX/json-rpc-server/jsonRpcServer.cc | PetroShevchenko/lib-coap-cpp | f99bff174925257ea63480f598f5753ece0f392d | [
"Apache-2.0"
] | null | null | null | examples/POSIX/json-rpc-server/jsonRpcServer.cc | PetroShevchenko/lib-coap-cpp | f99bff174925257ea63480f598f5753ece0f392d | [
"Apache-2.0"
] | null | null | null | examples/POSIX/json-rpc-server/jsonRpcServer.cc | PetroShevchenko/lib-coap-cpp | f99bff174925257ea63480f598f5753ece0f392d | [
"Apache-2.0"
] | null | null | null | #include "jsonRpcServer.h" | 26 | 26 | 0.807692 | PetroShevchenko |
f861ec595025bdb258c2ae0cb3f416f88b0a6742 | 1,583 | cpp | C++ | C++/Valid Sudoku.cpp | mafia1989/leetcode | f0bc9708a58602866818120556d8b8caf114811e | [
"MIT"
] | 3 | 2015-08-29T15:25:13.000Z | 2015-08-29T15:25:21.000Z | C++/Valid Sudoku.cpp | mafia1989/leetcode | f0bc9708a58602866818120556d8b8caf114811e | [
"MIT"
] | null | null | null | C++/Valid Sudoku.cpp | mafia1989/leetcode | f0bc9708a58602866818120556d8b8caf114811e | [
"MIT"
] | null | null | null | // Valid Sudoku
// Determine if a Sudoku is valid, according to: Sudoku Puzzles - The Rules.
// The Sudoku board could be partially filled, where empty cells are filled with the character '.'.
// A partially filled sudoku which is valid.
// Note:
// A valid Sudoku board (partially filled) is not necessarily solvab... | 25.532258 | 115 | 0.44662 | mafia1989 |
d379c1471b7caf3cdbf0d0efade3bd5a414b6754 | 1,437 | cpp | C++ | tests/TestMain.cpp | RaygenEngine/Raygen | 2e61afd35f594d06186c16397b536412ebf4298d | [
"MIT"
] | 2 | 2021-01-27T15:49:04.000Z | 2021-01-28T07:40:30.000Z | tests/TestMain.cpp | RaygenEngine/Raygen | 2e61afd35f594d06186c16397b536412ebf4298d | [
"MIT"
] | null | null | null | tests/TestMain.cpp | RaygenEngine/Raygen | 2e61afd35f594d06186c16397b536412ebf4298d | [
"MIT"
] | 1 | 2021-03-07T23:17:31.000Z | 2021-03-07T23:17:31.000Z | #include "pch.h"
#include "engine/Logger.h"
#define CATCH_CONFIG_RUNNER
#include <catch2/catch.hpp>
int main(int argc, char* argv[])
{
Catch::Session session; // There must be exactly one instance
int height = 0; // Some user variable you want to be able to set
Log.Init(LogLevel::Error);
// Build a new parser ... | 26.127273 | 82 | 0.673626 | RaygenEngine |
d379d8ce06495b08d7e48b8db08585337b63ea5a | 2,968 | tpp | C++ | core/src/function_space/03_function_space_partition_composite.tpp | maierbn/opendihu | 577650e2f6b36a7306766b0f4176f8124458cbf0 | [
"MIT"
] | 17 | 2018-11-25T19:29:34.000Z | 2021-09-20T04:46:22.000Z | core/src/function_space/03_function_space_partition_composite.tpp | maierbn/opendihu | 577650e2f6b36a7306766b0f4176f8124458cbf0 | [
"MIT"
] | 1 | 2020-11-12T15:15:58.000Z | 2020-12-29T15:29:24.000Z | core/src/function_space/03_function_space_partition_composite.tpp | maierbn/opendihu | 577650e2f6b36a7306766b0f4176f8124458cbf0 | [
"MIT"
] | 4 | 2018-10-17T12:18:10.000Z | 2021-05-28T13:24:20.000Z | #include "function_space/03_function_space_partition.h"
#include <cmath>
#include <array>
#include <sstream>
#include "easylogging++.h"
#include "utility/python_utility.h"
namespace FunctionSpace
{
// forward declaration
template<typename MeshType,typename BasisFunctionType>
class FunctionSpace;
template<int D,typ... | 37.1 | 148 | 0.790768 | maierbn |
d37bb5937797e26b8648e5cd79d5d1c5f0f70e42 | 1,217 | cpp | C++ | src/mt-options.cpp | chrmoritz/lzma-native | 313fb09ede27bed1c4e7f189b5fc99eadfddb5c2 | [
"MIT"
] | 20 | 2019-09-02T02:14:47.000Z | 2022-02-23T23:13:50.000Z | src/mt-options.cpp | chrmoritz/lzma-native | 313fb09ede27bed1c4e7f189b5fc99eadfddb5c2 | [
"MIT"
] | 7 | 2019-09-06T08:23:55.000Z | 2021-03-19T11:59:39.000Z | node_modules/lzma-native/src/mt-options.cpp | 96vksingh/nodejs_action | 675a6bd8dfd3aa25c0863d1cec9597b71fbdac58 | [
"MIT"
] | 3 | 2019-09-22T20:57:13.000Z | 2022-01-03T16:59:03.000Z | #include "liblzma-node.hpp"
namespace lzma {
MTOptions::MTOptions() : filters_(NULL), ok_(false) { }
MTOptions::~MTOptions() {
delete filters_;
}
MTOptions::MTOptions(Local<Object> opt) : filters_(NULL), ok_(true) {
opts_.flags = 0;
opts_.filters = NULL;
opts_.block_size = Nan::To<int64_t>(Nan::Get(opt, ... | 29.682927 | 106 | 0.657354 | chrmoritz |
d37c1e9430bcf7605b43ebd233675f37195dea3d | 3,642 | cpp | C++ | src/GameOptionsManager.cpp | psobow/TicTacToeCpp | 479ba81b9fcb37be4776ef528f0e8d81bed4245c | [
"MIT"
] | null | null | null | src/GameOptionsManager.cpp | psobow/TicTacToeCpp | 479ba81b9fcb37be4776ef528f0e8d81bed4245c | [
"MIT"
] | null | null | null | src/GameOptionsManager.cpp | psobow/TicTacToeCpp | 479ba81b9fcb37be4776ef528f0e8d81bed4245c | [
"MIT"
] | null | null | null | #include "../include/GameOptionsManager.hpp"
GameOptionsManager* GameOptionsManager::instance = nullptr;
GameOptionsManager* GameOptionsManager::getInstance()
{
if(instance == nullptr)
{
instance = new GameOptionsManager();
}
return instance;
}
void GameOptionsManager::setGameStartingPlayer(c... | 24.119205 | 127 | 0.654036 | psobow |
d380deef0233914b2b3a1961cd6f31b477311473 | 1,021 | cpp | C++ | COGengine/src/Core/AsyncProcess.cpp | dodoknight/CogEngine | fda1193c2d1258ba9780e1025933d33a8dce2284 | [
"MIT"
] | 3 | 2016-06-01T10:14:00.000Z | 2016-10-11T15:53:45.000Z | COGengine/src/Core/AsyncProcess.cpp | dormantor/ofxCogEngine | fda1193c2d1258ba9780e1025933d33a8dce2284 | [
"MIT"
] | null | null | null | COGengine/src/Core/AsyncProcess.cpp | dormantor/ofxCogEngine | fda1193c2d1258ba9780e1025933d33a8dce2284 | [
"MIT"
] | 1 | 2020-08-15T17:01:00.000Z | 2020-08-15T17:01:00.000Z | #include "AsyncProcess.h"
#include "Scene.h"
#include "Stage.h"
#include "ComponentStorage.h"
namespace Cog {
SceneLoader::SceneLoader(Scene* scene, stenum tweenDir)
: scene(scene), tweenDir(tweenDir) {
}
void SceneLoader::DoJob() {
spt<xml_document> scenes = CogPreloadXMLFile(ofToDataPath(PATH_SCENES));
... | 25.525 | 85 | 0.691479 | dodoknight |
d3827fa9bb01a457c202c7e679efccf122e45d32 | 481 | hpp | C++ | source/standalone/config/chimera/chimeraPort.hpp | brandonbraun653/Loki | 65c9472a81f66c13b729d7c2047013d1198f0c3c | [
"MIT"
] | 1 | 2020-02-23T09:55:46.000Z | 2020-02-23T09:55:46.000Z | source/standalone/config/chimera/chimeraPort.hpp | brandonbraun653/Loki | 65c9472a81f66c13b729d7c2047013d1198f0c3c | [
"MIT"
] | 28 | 2019-04-02T17:12:19.000Z | 2020-12-13T15:12:23.000Z | source/standalone/config/chimera/chimeraPort.hpp | brandonbraun653/Loki | 65c9472a81f66c13b729d7c2047013d1198f0c3c | [
"MIT"
] | null | null | null | /********************************************************************************
* File Name:
* chimeraPort.hpp
*
* Description:
* Implements the Chimera back end driver redirects into simulator variants
*
* 2020 | Brandon Braun | brandonbraun653@gmail.com
********************************************... | 30.0625 | 82 | 0.492723 | brandonbraun653 |
d382b5597aee79eda902a1f3a0059f942078e317 | 975 | cpp | C++ | chapter_1/ex-35.cpp | chwit/DSAA_by_CPP | 5038de5229a098107e6861c17df088b8b85c711e | [
"BSD-2-Clause"
] | null | null | null | chapter_1/ex-35.cpp | chwit/DSAA_by_CPP | 5038de5229a098107e6861c17df088b8b85c711e | [
"BSD-2-Clause"
] | null | null | null | chapter_1/ex-35.cpp | chwit/DSAA_by_CPP | 5038de5229a098107e6861c17df088b8b85c711e | [
"BSD-2-Clause"
] | null | null | null | //
// Created by user on 2019/4/10.
// Copyright © 2019 user. All rights reserved.
//
#include <algorithm>
#include <iostream>
#include <string>
#include <vector>
using namespace std;
//next_permutation
//只有排序之后的数组才能只用next_permutation获得全排列
int count_my = 0;
//输出范围[start,end)内的全排列
template<typename T>
void permuta... | 18.055556 | 83 | 0.610256 | chwit |
d383ec12679fb011994fb8de43f92751bf8d8534 | 1,595 | hpp | C++ | include/text_view_detail/basic_view.hpp | tahonermann/text_view | 65740356488d0dd98b65f221c71c7b7377c813de | [
"MIT"
] | 144 | 2015-10-10T10:12:53.000Z | 2021-12-31T16:07:27.000Z | include/text_view_detail/basic_view.hpp | Quuxplusone/text_view | 65740356488d0dd98b65f221c71c7b7377c813de | [
"MIT"
] | 34 | 2016-01-22T03:52:53.000Z | 2018-08-04T01:56:06.000Z | include/text_view_detail/basic_view.hpp | Quuxplusone/text_view | 65740356488d0dd98b65f221c71c7b7377c813de | [
"MIT"
] | 19 | 2016-02-10T11:29:20.000Z | 2021-06-28T11:11:36.000Z | // Copyright (c) 2016, Tom Honermann
//
// This file is distributed under the MIT License. See the accompanying file
// LICENSE.txt or http://www.opensource.org/licenses/mit-license.php for terms
// and conditions.
#ifndef TEXT_VIEW_BASIC_VIEW_HPP // {
#define TEXT_VIEW_BASIC_VIEW_HPP
#include <utility>
#include <ex... | 24.538462 | 78 | 0.673981 | tahonermann |
d3854495041606d4beb6c602b9c1bedf5808541e | 1,960 | cpp | C++ | rmw_dds_common/src/security.cpp | ros2/rmw_dds_common | 42d86b736a7292ae0ab926f818afc28e3d64aebd | [
"Apache-2.0"
] | 5 | 2020-02-18T22:54:06.000Z | 2021-12-26T08:48:51.000Z | rmw_dds_common/src/security.cpp | ros2/rmw_dds_common | 42d86b736a7292ae0ab926f818afc28e3d64aebd | [
"Apache-2.0"
] | 33 | 2020-04-03T15:49:56.000Z | 2022-03-31T00:35:12.000Z | rmw_dds_common/src/security.cpp | ros2/rmw_dds_common | 42d86b736a7292ae0ab926f818afc28e3d64aebd | [
"Apache-2.0"
] | 11 | 2020-04-03T14:42:19.000Z | 2021-07-01T06:39:11.000Z | // Copyright 2021 Open Source Robotics Foundation, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by appli... | 30.153846 | 79 | 0.690816 | ros2 |
d387a96b0da99eb463484c940d8f899aec583257 | 150 | cpp | C++ | tests/std/tests/VSO_0000000_c_math_functions/cmath.cpp | oktonion/STL | e2fce45b9ca899f3887b7fa48e24de95859a7b8e | [
"Apache-2.0"
] | 2 | 2021-01-19T02:43:19.000Z | 2021-11-20T05:21:42.000Z | tests/std/tests/VSO_0000000_c_math_functions/cmath.cpp | tapaswenipathak/STL | 0d75fc5ab6684d4f6239879a6ec162aad0da860d | [
"Apache-2.0"
] | null | null | null | tests/std/tests/VSO_0000000_c_math_functions/cmath.cpp | tapaswenipathak/STL | 0d75fc5ab6684d4f6239879a6ec162aad0da860d | [
"Apache-2.0"
] | 4 | 2020-04-24T05:04:54.000Z | 2020-05-17T22:48:58.000Z | // Copyright (c) Microsoft Corporation.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#include "type_asserts.hpp"
#include <cmath>
| 25 | 59 | 0.733333 | oktonion |
d3898cc4b2eaeeb41b0bcae89c516391864463f8 | 1,553 | cpp | C++ | firmware/library/L3_HAL/test/buzzer_test.cpp | Jeremy-Chau/SJSU-Dev2 | b3c0b008f9f19a12fe70d319760459b4b2111003 | [
"Apache-2.0"
] | null | null | null | firmware/library/L3_HAL/test/buzzer_test.cpp | Jeremy-Chau/SJSU-Dev2 | b3c0b008f9f19a12fe70d319760459b4b2111003 | [
"Apache-2.0"
] | null | null | null | firmware/library/L3_HAL/test/buzzer_test.cpp | Jeremy-Chau/SJSU-Dev2 | b3c0b008f9f19a12fe70d319760459b4b2111003 | [
"Apache-2.0"
] | 2 | 2018-07-27T20:48:40.000Z | 2018-08-02T21:32:05.000Z | #include "L3_HAL/buzzer.hpp"
#include "L1_Drivers/pwm.hpp"
#include "L5_Testing/testing_frameworks.hpp"
TEST_CASE("Testing buzzer", "[buzzer]")
{
// Create mock for PWM class
Mock<PwmInterface> mock_pwm_pin;
Fake(
Method(mock_pwm_pin, Initialize),
Method(mock_pwm_pin, SetDutyCycle),
... | 27.245614 | 65 | 0.62009 | Jeremy-Chau |
d389a37275dcfd0fb9414cd69117d9011c92b6a3 | 2,320 | hxx | C++ | com/ole32/com/dcomrem/stream.hxx | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | com/ole32/com/dcomrem/stream.hxx | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | com/ole32/com/dcomrem/stream.hxx | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | //+-------------------------------------------------------------------
//
// File: stream.hxx
//
// Contents: Implements the IStream interface on a memory buffer.
//
//--------------------------------------------------------------------
#ifndef _STREAM_HXX_
#define _STREAM_HXX_
class CNdrStream :... | 24.421053 | 71 | 0.550431 | npocmaka |
d38fcd266b8d2c9e2344810afc71ad502341d39d | 2,653 | cpp | C++ | tools/mcrl3linearize/mcrl3linearize.cpp | wiegerw/mcrl3 | 15260c92ab35930398d6dfb34d31351b05101ca9 | [
"BSL-1.0"
] | 1 | 2021-02-22T09:16:39.000Z | 2021-02-22T09:16:39.000Z | tools/mcrl3linearize/mcrl3linearize.cpp | wiegerw/mcrl3 | 15260c92ab35930398d6dfb34d31351b05101ca9 | [
"BSL-1.0"
] | null | null | null | tools/mcrl3linearize/mcrl3linearize.cpp | wiegerw/mcrl3 | 15260c92ab35930398d6dfb34d31351b05101ca9 | [
"BSL-1.0"
] | null | null | null | // Copyright: Wieger Wesselink
//
// 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)
//
/// \file mcrl3linearize.cpp
#define NAME "mcrl3linearize"
#define AUTHOR "Wieger Wesselink"
#include <iostream>
#include "mc... | 33.582278 | 111 | 0.698078 | wiegerw |