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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7b6bf81fb3469f8133a3e0ad57675fd2d2cd3243 | 829 | cpp | C++ | utility/rep.cpp | Cyanmond/Library | e77bb2e46ebc8630983025045570bd094aca7aa7 | [
"CC0-1.0"
] | 1 | 2021-11-04T05:41:45.000Z | 2021-11-04T05:41:45.000Z | utility/rep.cpp | Cyanmond/Library | e77bb2e46ebc8630983025045570bd094aca7aa7 | [
"CC0-1.0"
] | null | null | null | utility/rep.cpp | Cyanmond/Library | e77bb2e46ebc8630983025045570bd094aca7aa7 | [
"CC0-1.0"
] | null | null | null | #pragma once
#include "../utility/int_alias.cpp"
#include <algorithm>
class rep {
struct rep_iterator {
usize itr;
constexpr rep_iterator(const usize pos) noexcept : itr(pos) {}
constexpr void operator++() noexcept {
++itr;
}
constexpr bool operator!=(const usiz... | 24.382353 | 70 | 0.588661 | Cyanmond |
7b6c1b160aacc80b48f7f16bd1a74d3faf807215 | 1,847 | cc | C++ | cpp/tools/parquet/parquet-dump-schema.cc | paulkernfeld/arrow | 501cde9fbf4cf3752d8df1d9e6b27367893045cb | [
"Apache-2.0"
] | 1 | 2021-01-28T17:30:06.000Z | 2021-01-28T17:30:06.000Z | cpp/tools/parquet/parquet-dump-schema.cc | azkh93/arrow | f08e109ff009e911bb772e5b0490c7cacf02140e | [
"Apache-2.0"
] | 1 | 2019-01-04T21:42:29.000Z | 2019-01-04T21:42:29.000Z | cpp/tools/parquet/parquet-dump-schema.cc | azkh93/arrow | f08e109ff009e911bb772e5b0490c7cacf02140e | [
"Apache-2.0"
] | 2 | 2019-11-18T06:31:46.000Z | 2020-11-19T13:36:36.000Z | // Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may... | 29.790323 | 78 | 0.658365 | paulkernfeld |
7b6df611b5cfd460401bdb79ade1fe1ddbdc13ae | 1,313 | cc | C++ | RangeSim/src/StackingAction.cc | murffer/DetectorSim | 1ba114c405eff42c0a52b6dc394cbecfc2d2bab0 | [
"Apache-2.0"
] | 5 | 2018-01-13T22:42:24.000Z | 2021-03-19T07:38:47.000Z | RangeSim/src/StackingAction.cc | murffer/DetectorSim | 1ba114c405eff42c0a52b6dc394cbecfc2d2bab0 | [
"Apache-2.0"
] | 1 | 2017-05-03T19:01:12.000Z | 2017-05-03T19:01:12.000Z | RangeSim/src/StackingAction.cc | murffer/DetectorSim | 1ba114c405eff42c0a52b6dc394cbecfc2d2bab0 | [
"Apache-2.0"
] | 3 | 2015-10-10T15:12:22.000Z | 2021-10-18T00:53:35.000Z | #include "StackingAction.hh"
#include "HistoManager.hh"
#include "G4Track.hh"
#include "G4VProcess.hh"
/**
* Default Constructor - nothing to be done
*/
StackingAction::StackingAction(){ }
/**
* Deconstructor
*/
StackingAction::~StackingAction(){ }
/**
* Classifies a new track, and fills the energy of the charge... | 25.745098 | 74 | 0.678599 | murffer |
7b75e8006e2687d18e5b2b5875ce4226d7fdd846 | 14,345 | cpp | C++ | NOLF/ObjectDLL/Editable.cpp | rastrup/no-one-lives-forever | dfbe22fb4cc01bf7e5f54a79174fa8f108dd2f54 | [
"Unlicense"
] | 65 | 2015-02-28T03:35:14.000Z | 2021-09-23T05:43:33.000Z | NOLF/ObjectDLL/Editable.cpp | rastrup/no-one-lives-forever | dfbe22fb4cc01bf7e5f54a79174fa8f108dd2f54 | [
"Unlicense"
] | null | null | null | NOLF/ObjectDLL/Editable.cpp | rastrup/no-one-lives-forever | dfbe22fb4cc01bf7e5f54a79174fa8f108dd2f54 | [
"Unlicense"
] | 27 | 2015-02-28T07:42:01.000Z | 2022-02-11T01:35:20.000Z | //----------------------------------------------------------
//
// MODULE : Editable.cpp
//
// PURPOSE : Editable aggreate
//
// CREATED : 3/10/99
//
//----------------------------------------------------------
#include "stdafx.h"
#include "Editable.h"
#include "iltserver.h"
#include "ObjectMsgs.h"
//... | 24.190556 | 110 | 0.425793 | rastrup |
7b75fcd7ee901aa2bcc22a96bd5cdacaeb41602e | 25,316 | cc | C++ | external/src/blosc/shuffle-sse2.cc | upj977155/TileDB | 1c96c6a0c030e058930ff9d47409865fbfe2178f | [
"MIT"
] | 1,478 | 2017-06-15T13:58:50.000Z | 2022-03-30T13:46:00.000Z | external/src/blosc/shuffle-sse2.cc | upj977155/TileDB | 1c96c6a0c030e058930ff9d47409865fbfe2178f | [
"MIT"
] | 1,435 | 2017-05-25T01:16:18.000Z | 2022-03-31T21:57:06.000Z | external/src/blosc/shuffle-sse2.cc | upj977155/TileDB | 1c96c6a0c030e058930ff9d47409865fbfe2178f | [
"MIT"
] | 169 | 2017-06-09T18:35:45.000Z | 2022-03-13T01:11:18.000Z | /*********************************************************************
Blosc - Blocked Shuffling and Compression Library
Author: Francesc Alted <francesc@blosc.org>
See LICENSES/BLOSC.txt for details about copyright and rights to use.
Modifications for TileDB by Tyler Denniston <tyler@tiledb.io>
************... | 40.184127 | 112 | 0.622808 | upj977155 |
7b77bac2a43768468ac9619b6160875f737cbb8f | 628 | cpp | C++ | W1/Project 1/Source.cpp | katookei/Code202 | 0b046e9f8812de00405c14e512da50c8c6ece378 | [
"MIT"
] | null | null | null | W1/Project 1/Source.cpp | katookei/Code202 | 0b046e9f8812de00405c14e512da50c8c6ece378 | [
"MIT"
] | null | null | null | W1/Project 1/Source.cpp | katookei/Code202 | 0b046e9f8812de00405c14e512da50c8c6ece378 | [
"MIT"
] | null | null | null | #include <iostream>
#include <fstream>
#include <string>
#include "Header.h"
using namespace std;
void fraction::readfile(fraction &b)
{
ifstream fou;
int data[10];
fou.open("a.txt");
for (int i = 0; i < 4; i++)
{
fou >> data[i];
}
fou.close();
nu = data[0]; de = data[1];
b.nu = data[2]; ... | 19.625 | 56 | 0.509554 | katookei |
7b798a71b278bd50752db3b6da6a429f32ea77d7 | 4,550 | cpp | C++ | butano/src/bn_hdma_manager.cpp | laqieer/butano | 986ec1d235922fbe7acafa7564a911085d3a9c6e | [
"Zlib"
] | 1 | 2022-02-06T10:02:14.000Z | 2022-02-06T10:02:14.000Z | butano/src/bn_hdma_manager.cpp | laqieer/butano | 986ec1d235922fbe7acafa7564a911085d3a9c6e | [
"Zlib"
] | null | null | null | butano/src/bn_hdma_manager.cpp | laqieer/butano | 986ec1d235922fbe7acafa7564a911085d3a9c6e | [
"Zlib"
] | null | null | null | /*
* Copyright (c) 2020-2022 Gustavo Valiente gustavo.valiente@protonmail.com
* zlib License, see LICENSE file.
*/
#include "bn_hdma_manager.h"
#include "bn_display.h"
#include "../hw/include/bn_hw_hdma.h"
#include "../hw/include/bn_hw_memory.h"
#include "bn_hdma.cpp.h"
namespace bn::hdma_manager
{
namespace
{
... | 22.087379 | 94 | 0.560879 | laqieer |
7b7bbf24f4684cf7cc5e4a503a3f84acb9ec4e7a | 1,173 | cc | C++ | src/ufo/predictors/Constant.cc | JCSDA/ufo | 69a6475f478306dd4d4f6728705fe0cd205752c7 | [
"Apache-2.0"
] | 4 | 2020-12-04T08:26:06.000Z | 2021-11-20T01:18:47.000Z | src/ufo/predictors/Constant.cc | JCSDA/ufo | 69a6475f478306dd4d4f6728705fe0cd205752c7 | [
"Apache-2.0"
] | 21 | 2020-10-30T08:57:16.000Z | 2021-05-17T15:11:20.000Z | src/ufo/predictors/Constant.cc | JCSDA/ufo | 69a6475f478306dd4d4f6728705fe0cd205752c7 | [
"Apache-2.0"
] | 8 | 2020-11-04T00:10:11.000Z | 2021-11-14T09:18:14.000Z | /*
* (C) Copyright 2020 UCAR
*
* This software is licensed under the terms of the Apache Licence Version 2.0
* which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
*/
#include <string>
#include "ufo/predictors/Constant.h"
#include "ioda/ObsSpace.h"
namespace ufo {
static PredictorMaker<Constan... | 27.928571 | 80 | 0.500426 | JCSDA |
7b80fc0bde60c3e98bcde8a0d787d1c3cac08978 | 2,706 | cpp | C++ | apps/hls_examples/hls_support/syn_target.cpp | akifoezkan/Halide-HLS | 1eee3f38f32722f3e725c29a5b7a084275062a7f | [
"MIT"
] | 71 | 2016-11-17T19:22:21.000Z | 2022-01-10T10:03:58.000Z | apps/hls_examples/hls_support/syn_target.cpp | akifoezkan/Halide-HLS | 1eee3f38f32722f3e725c29a5b7a084275062a7f | [
"MIT"
] | 30 | 2017-02-02T21:03:33.000Z | 2018-06-27T20:49:31.000Z | apps/hls_examples/hls_support/syn_target.cpp | akifoezkan/Halide-HLS | 1eee3f38f32722f3e725c29a5b7a084275062a7f | [
"MIT"
] | 22 | 2017-04-16T11:44:34.000Z | 2022-03-26T13:27:10.000Z | #include "Linebuffer.h"
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
void syn_target(hls::stream<PackedStencil<uint8_t, 2, 1> > &input_stream,
hls::stream<PackedStencil<uint8_t, 2, 3> > &output_stream) {
#pragma HLS DATAFLOW
linebuffer<20, 12>(input_stream, output_stream);
}
void sy... | 39.217391 | 91 | 0.665558 | akifoezkan |
7b83dab5444b86b4a95aaa0adc8f908e1bcef221 | 1,883 | cpp | C++ | mainwindow.cpp | Kronephon/Rasp4Home | 162bd2a5ee2b718037862bffe9a117b188eff710 | [
"MIT"
] | null | null | null | mainwindow.cpp | Kronephon/Rasp4Home | 162bd2a5ee2b718037862bffe9a117b188eff710 | [
"MIT"
] | 11 | 2020-12-28T21:56:55.000Z | 2021-09-25T23:46:30.000Z | mainwindow.cpp | Kronephon/Rasp4Home | 162bd2a5ee2b718037862bffe9a117b188eff710 | [
"MIT"
] | null | null | null | #include <QApplication>
#include <QColor>
#include <QPalette>
#include <QFont>
#include <QBoxLayout>
#include "mainwindow.h"
namespace
{
const float Orange = 0xE95420;
const float WarmGrey = 0xAEA79F;
const float CoolGrey = 0x333333;
const float Aubergine = 0x772953;
const QFont sansFont("Helvetica [Cronyx]", 12);
}
... | 23.246914 | 81 | 0.686139 | Kronephon |
7b83f9b2e9ed820773769516250107094068a8fc | 2,797 | cpp | C++ | DarkSpace/StructureSolar.cpp | SnipeDragon/darkspace | b6a1fa0a29d3559b158156e7b96935bd0a832ee3 | [
"MIT"
] | 1 | 2016-05-22T21:28:29.000Z | 2016-05-22T21:28:29.000Z | DarkSpace/StructureSolar.cpp | SnipeDragon/darkspace | b6a1fa0a29d3559b158156e7b96935bd0a832ee3 | [
"MIT"
] | null | null | null | DarkSpace/StructureSolar.cpp | SnipeDragon/darkspace | b6a1fa0a29d3559b158156e7b96935bd0a832ee3 | [
"MIT"
] | null | null | null | /*
StructureSolar.cpp
(c)2000 Palestar Inc, Richard Lyle
*/
#include "Debug/Assert.h"
#include "NounStar.h"
#include "GameContext.h"
#include "StructureSolar.h"
//----------------------------------------------------------------------------
const float MAX_STAR_RANGE = 300000.0f;
const float MAX_POWER = 100.0f;
/... | 20.718519 | 86 | 0.607079 | SnipeDragon |
7b8735dfcf5702cf6bd4302b7796ab83c70ddbc7 | 318 | cpp | C++ | src/2000/2193.cpp14.cpp | upple/BOJ | e6dbf9fd17fa2b458c6a781d803123b14c18e6f1 | [
"MIT"
] | 8 | 2018-04-12T15:54:09.000Z | 2020-06-05T07:41:15.000Z | src/2000/2193.cpp14.cpp | upple/BOJ | e6dbf9fd17fa2b458c6a781d803123b14c18e6f1 | [
"MIT"
] | null | null | null | src/2000/2193.cpp14.cpp | upple/BOJ | e6dbf9fd17fa2b458c6a781d803123b14c18e6f1 | [
"MIT"
] | null | null | null | #include <cstdio>
using namespace std;
int main()
{
int n;
long long ans = 0, dp[91][2] = {};
scanf("%d", &n);
dp[1][0] = 0;
dp[1][1] = 1;
for (int i = 2; i <= n; i++)
{
dp[i][0] = dp[i - 1][0] + dp[i - 1][1];
dp[i][1] = dp[i - 1][0];
}
ans = dp[n][0] + dp[n][1];
printf("%lld\n", ans);
return 0;
} | 13.826087 | 41 | 0.440252 | upple |
7b8c9ad4a14e5a9f5b240f54706943637926380c | 742 | cpp | C++ | src/racket.cpp | CS126SP20/Crazy-Pong | b26d348535f8cc884b49dc9b5541c8dd552c2e9f | [
"MIT"
] | 1 | 2020-07-29T03:49:11.000Z | 2020-07-29T03:49:11.000Z | src/racket.cpp | CS126SP20/Crazy-Pong | b26d348535f8cc884b49dc9b5541c8dd552c2e9f | [
"MIT"
] | null | null | null | src/racket.cpp | CS126SP20/Crazy-Pong | b26d348535f8cc884b49dc9b5541c8dd552c2e9f | [
"MIT"
] | null | null | null | //
// Created by Riya Gupta on 4/27/20.
//
#include "mylibrary/racket.h";
using namespace mylibrary;
Racket::Racket() { x = 0.0f; y = 0.0f; score = 0; }
float Racket::getX() const { return x; }
float Racket::getY() const { return y; }
void Racket::Init( float a, float b) { x = a; y = b; }
int Racket::getScore() const ... | 26.5 | 59 | 0.552561 | CS126SP20 |
7b90342ee9f4e6fca9ff2bfc0e5d68458ab25bc0 | 411 | cpp | C++ | samples/snippets/cpp/VS_Snippets_CLR_System/system.Char.CompareTo/CPP/compareto.cpp | hamarb123/dotnet-api-docs | 6aeb55784944a2f1f5e773b657791cbd73a92dd4 | [
"CC-BY-4.0",
"MIT"
] | 421 | 2018-04-01T01:57:50.000Z | 2022-03-28T15:24:42.000Z | samples/snippets/cpp/VS_Snippets_CLR_System/system.Char.CompareTo/CPP/compareto.cpp | hamarb123/dotnet-api-docs | 6aeb55784944a2f1f5e773b657791cbd73a92dd4 | [
"CC-BY-4.0",
"MIT"
] | 5,797 | 2018-04-02T21:12:23.000Z | 2022-03-31T23:54:38.000Z | samples/snippets/cpp/VS_Snippets_CLR_System/system.Char.CompareTo/CPP/compareto.cpp | hamarb123/dotnet-api-docs | 6aeb55784944a2f1f5e773b657791cbd73a92dd4 | [
"CC-BY-4.0",
"MIT"
] | 1,482 | 2018-03-31T11:26:20.000Z | 2022-03-30T22:36:45.000Z |
// <snippet19>
using namespace System;
int main()
{
char chA = 'A';
char chB = 'B';
Console::WriteLine( chA.CompareTo( 'A' ) ); // Output: "0" (meaning they're equal)
Console::WriteLine( 'b'.CompareTo( chB ) ); // Output: "32" (meaning 'b' is greater than 'B' by 32)
Console::WriteLine( chA.Comp... | 29.357143 | 103 | 0.579075 | hamarb123 |
7b90c2c2b7f432370fdadd01accd3f25d094c45f | 2,495 | cpp | C++ | Traveling Salesman Problem/driver.cpp | Tony-Taehoon-Kwon/Algorithm-Analysis | a40fc99c1627672433122b671d5cab65e9ba9e32 | [
"MIT"
] | null | null | null | Traveling Salesman Problem/driver.cpp | Tony-Taehoon-Kwon/Algorithm-Analysis | a40fc99c1627672433122b671d5cab65e9ba9e32 | [
"MIT"
] | null | null | null | Traveling Salesman Problem/driver.cpp | Tony-Taehoon-Kwon/Algorithm-Analysis | a40fc99c1627672433122b671d5cab65e9ba9e32 | [
"MIT"
] | null | null | null | #include "tsp.h"
#include <iostream>
#include <vector>
#include <limits> // numeric_limits
#include <numeric> // accumulate
#include <fstream> // ifstream
void read( char const* filename, MAP& map, int& TotalCity )
{
map.clear();
std::ifstream in( filename, std::ifstream::in );
if( !in.is_open() ) {
... | 25.20202 | 93 | 0.501403 | Tony-Taehoon-Kwon |
7b92b2674214aeea2c32f3eb186fa8d9b8177513 | 5,235 | hpp | C++ | src/centurion/initialization.hpp | Creeperface01/centurion | e3b674c11849367a18c2d976ce94071108e1590d | [
"MIT"
] | 14 | 2020-05-17T21:38:03.000Z | 2020-11-21T00:16:25.000Z | src/centurion/initialization.hpp | Creeperface01/centurion | e3b674c11849367a18c2d976ce94071108e1590d | [
"MIT"
] | 70 | 2020-04-26T17:08:52.000Z | 2020-11-21T17:34:03.000Z | src/centurion/initialization.hpp | Creeperface01/centurion | e3b674c11849367a18c2d976ce94071108e1590d | [
"MIT"
] | null | null | null | /*
* MIT License
*
* Copyright (c) 2019-2022 Albin Johansson
*
* 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, c... | 23.581081 | 92 | 0.697994 | Creeperface01 |
7b99d3ce05a090fef59aa439f23f343830e0db07 | 180 | cpp | C++ | recipes/poly2tri/all/test_package/test_package.cpp | rockandsalt/conan-center-index | d739adcec3e4dd4c250eff559ceb738e420673dd | [
"MIT"
] | 562 | 2019-09-04T12:23:43.000Z | 2022-03-29T16:41:43.000Z | recipes/poly2tri/all/test_package/test_package.cpp | rockandsalt/conan-center-index | d739adcec3e4dd4c250eff559ceb738e420673dd | [
"MIT"
] | 9,799 | 2019-09-04T12:02:11.000Z | 2022-03-31T23:55:45.000Z | recipes/poly2tri/all/test_package/test_package.cpp | rockandsalt/conan-center-index | d739adcec3e4dd4c250eff559ceb738e420673dd | [
"MIT"
] | 1,126 | 2019-09-04T11:57:46.000Z | 2022-03-31T16:43:38.000Z | #include <poly2tri/poly2tri.h>
int main() {
p2t::Point p1(0.0, 0.0);
p2t::Point p2(1.0, 0.0);
p2t::Point p3(0.0, 1.0);
p2t::Triangle triangle(p1, p2, p3);
return 0;
}
| 15 | 37 | 0.583333 | rockandsalt |
7ba5c8510ca867c972b3377b1e628d4e31576afa | 291 | hpp | C++ | SQL/FactoryRedis.hpp | useryoung-2019/MyHttpServer | ce23c1bf161edba08a82d54de6693167a8917d18 | [
"MIT"
] | null | null | null | SQL/FactoryRedis.hpp | useryoung-2019/MyHttpServer | ce23c1bf161edba08a82d54de6693167a8917d18 | [
"MIT"
] | null | null | null | SQL/FactoryRedis.hpp | useryoung-2019/MyHttpServer | ce23c1bf161edba08a82d54de6693167a8917d18 | [
"MIT"
] | null | null | null | #ifndef FACTORYREDIS_H
#define FACTORYREDIS_H
#include"AbstractFactory.hpp"
#include"ProductRedis.hpp"
class FactoryRedis:public AbstractFactory
{
public:
shared_ptr<AbstractProductSQL> createSQL()
{
return shared_ptr<AbstractProductSQL>(new ProductRedis);
}
};
#endif | 18.1875 | 64 | 0.762887 | useryoung-2019 |
7ba6461d2878e207b78317483922383b7d936371 | 1,872 | cpp | C++ | tests/cpp/restoreIPAddresses/restoreIPAddresses.cpp | zlc18/LocalJudge | e8b141d2e80087d447a45cce36bac27b4ddb9cd1 | [
"MIT"
] | null | null | null | tests/cpp/restoreIPAddresses/restoreIPAddresses.cpp | zlc18/LocalJudge | e8b141d2e80087d447a45cce36bac27b4ddb9cd1 | [
"MIT"
] | null | null | null | tests/cpp/restoreIPAddresses/restoreIPAddresses.cpp | zlc18/LocalJudge | e8b141d2e80087d447a45cce36bac27b4ddb9cd1 | [
"MIT"
] | null | null | null | // Source : https://oj.leetcode.com/problems/restore-ip-addresses/
// Author : Hao Chen
// Date : 2014-08-26
/**********************************************************************************
*
* Given a string containing only digits, restore it by returning all possible valid IP address combinations.
*
* For ex... | 24.631579 | 108 | 0.511218 | zlc18 |
7ba6f89a0bb3ce7cb8ffe9410a66ae4e91723a37 | 7,736 | cpp | C++ | PointCloudGenerator/cpp/src/messaging.cpp | first95/ImageProcessorStub | 7b95b8b80ad708115e10104aaa1515f626b94c7d | [
"MIT"
] | 1 | 2021-07-05T07:39:27.000Z | 2021-07-05T07:39:27.000Z | PointCloudGenerator/cpp/src/messaging.cpp | first95/ImageProcessorStub | 7b95b8b80ad708115e10104aaa1515f626b94c7d | [
"MIT"
] | null | null | null | PointCloudGenerator/cpp/src/messaging.cpp | first95/ImageProcessorStub | 7b95b8b80ad708115e10104aaa1515f626b94c7d | [
"MIT"
] | null | null | null | /*
messaging.h
Declarations for PCG messaging
2016-12-23 JDW Created.
*/
#include <messaging.h>
using namespace std;
void Messaging::test() {
Messaging module;
module.initSend();
module.initListen();
cout << "Testing receive. Waiting for packet." << endl;
Msg* msg_in = NULL;
while(1) {
while (msg... | 34.690583 | 139 | 0.677482 | first95 |
7bb11b832ba20d98c9d7c8a8d06658affa55c560 | 3,919 | cpp | C++ | src/cipher.cpp | chrisballinger/OLMKit | daab2a58af947cddd67fe9f30dd3a9fc327650c0 | [
"Apache-2.0"
] | 2 | 2016-04-14T13:48:33.000Z | 2021-01-11T03:48:19.000Z | src/cipher.cpp | chrisballinger/OLMKit | daab2a58af947cddd67fe9f30dd3a9fc327650c0 | [
"Apache-2.0"
] | 1 | 2019-01-25T16:20:41.000Z | 2020-10-28T13:54:39.000Z | src/cipher.cpp | chrisballinger/OLMKit | daab2a58af947cddd67fe9f30dd3a9fc327650c0 | [
"Apache-2.0"
] | 1 | 2017-01-11T18:13:00.000Z | 2017-01-11T18:13:00.000Z | /* Copyright 2015 OpenMarket Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | 28.194245 | 78 | 0.700944 | chrisballinger |
7bb208e8ba6f8a0ce70f31250587a31f0cf1ed7b | 4,387 | hpp | C++ | mod/wrd/src/ast/node.hpp | kniz/worldlang | 78701ab003c158211d42d129f91259d17febbb22 | [
"MIT"
] | 7 | 2019-03-12T03:04:32.000Z | 2021-12-26T04:33:44.000Z | mod/wrd/src/ast/node.hpp | kniz/worldlang | 78701ab003c158211d42d129f91259d17febbb22 | [
"MIT"
] | 7 | 2019-02-13T14:01:43.000Z | 2020-11-20T11:09:06.000Z | mod/wrd/src/ast/node.hpp | kniz/worldlang | 78701ab003c158211d42d129f91259d17febbb22 | [
"MIT"
] | null | null | null | #pragma once
#include "clonable.hpp"
#include "../builtin/container/native/tnarr.hpp"
#include "validable.hpp"
namespace wrd {
class ases;
/// node provides common API to manipulate its sub nodes.
class node : public instance, public clonable {
WRD(INTERFACE(node, instance))
public:
no... | 34.543307 | 99 | 0.578527 | kniz |
7bb29975b2420b277accdb5621008b6c37ad4fbd | 1,776 | hpp | C++ | Example/src/MYENG_DB/ModuleBase.hpp | heesok2/MFC | 1ff13a425609addbf458d00f9853d16ada2b29ec | [
"MIT"
] | null | null | null | Example/src/MYENG_DB/ModuleBase.hpp | heesok2/MFC | 1ff13a425609addbf458d00f9853d16ada2b29ec | [
"MIT"
] | null | null | null | Example/src/MYENG_DB/ModuleBase.hpp | heesok2/MFC | 1ff13a425609addbf458d00f9853d16ada2b29ec | [
"MIT"
] | null | null | null | #pragma once
#ifndef MODULEDATA_DEF
#define MODULEDATA_DEF
#include "Module.h"
#include "EntityDictionary.hpp"
namespace mydb
{
template <class ENTITY_DATA>
class CModuleData : public mydb::CModule
{
public:
CModuleData(CPackage * pPackage)
: CModule(pPackage)
{}
virtual ~CModuleData() {}
public: // D... | 16.444444 | 59 | 0.684122 | heesok2 |
7bb2ef35750e081f80ff1393e876834f6050f347 | 388 | cpp | C++ | ParallelProgramming/lab1/readfiletest.cpp | maysincerity/GradLab | b9f067a1ba33e43f240261b092056a18494b3c22 | [
"MIT"
] | null | null | null | ParallelProgramming/lab1/readfiletest.cpp | maysincerity/GradLab | b9f067a1ba33e43f240261b092056a18494b3c22 | [
"MIT"
] | null | null | null | ParallelProgramming/lab1/readfiletest.cpp | maysincerity/GradLab | b9f067a1ba33e43f240261b092056a18494b3c22 | [
"MIT"
] | null | null | null | #include <fstream>
#include <iostream>
using namespace std;
int main(){
int data;
int count = 0;
ifstream infile;
infile.open("data.txt");
while(!infile.eof()){
cout<<"reading file ";
infile>>data;
if(infile.fail()){
break;
}
cout << data << " "<<... | 17.636364 | 34 | 0.497423 | maysincerity |
7bb36148ad788f1fa9884d648231660a92519887 | 10,501 | cpp | C++ | test/jhash_test.cpp | MrVoi/ric-plt-xapp-frame-cpp | dad910695faf755da932bdbd07430f58718fd910 | [
"Apache-2.0",
"CC-BY-4.0"
] | 1 | 2021-07-19T21:29:30.000Z | 2021-07-19T21:29:30.000Z | test/jhash_test.cpp | MrVoi/ric-plt-xapp-frame-cpp | dad910695faf755da932bdbd07430f58718fd910 | [
"Apache-2.0",
"CC-BY-4.0"
] | null | null | null | test/jhash_test.cpp | MrVoi/ric-plt-xapp-frame-cpp | dad910695faf755da932bdbd07430f58718fd910 | [
"Apache-2.0",
"CC-BY-4.0"
] | 1 | 2022-03-11T02:36:36.000Z | 2022-03-11T02:36:36.000Z | // vim: ts=4 sw=4 noet :
/*
==================================================================================
Copyright (c) 2020 Nokia
Copyright (c) 2020 AT&T Intellectual Property.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with ... | 36.975352 | 124 | 0.614799 | MrVoi |
7bb4eac23f8ec73f6d3b79e9a42265c3740afa8e | 20,282 | cpp | C++ | src/binance/wallet.cpp | Hsin-Hung/binance_api_cpp | 1c7662cf0cd682122644dc5819dfe9b88e06b8a6 | [
"Apache-2.0"
] | 1 | 2022-02-06T17:40:55.000Z | 2022-02-06T17:40:55.000Z | src/binance/wallet.cpp | Hsin-Hung/binance_api_cpp | 1c7662cf0cd682122644dc5819dfe9b88e06b8a6 | [
"Apache-2.0"
] | null | null | null | src/binance/wallet.cpp | Hsin-Hung/binance_api_cpp | 1c7662cf0cd682122644dc5819dfe9b88e06b8a6 | [
"Apache-2.0"
] | 1 | 2022-03-31T07:54:23.000Z | 2022-03-31T07:54:23.000Z | /*
Binance API Wrapper for C++
Copyright (c) 2022 Hsin-Hung <https://github.com/Hsin-Hung>
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/li... | 33.57947 | 107 | 0.671383 | Hsin-Hung |
7bb5307d403a7aeb7338108d2dd8b342c703c01a | 9,797 | cpp | C++ | Othello/othello.cpp | MBadriNarayanan/C-Project | a0a117252d0ded90d0fa7b5a813ef205d80e20e5 | [
"MIT"
] | 1 | 2020-05-02T17:16:15.000Z | 2020-05-02T17:16:15.000Z | Othello/othello.cpp | MBadriNarayanan/C-Project | a0a117252d0ded90d0fa7b5a813ef205d80e20e5 | [
"MIT"
] | null | null | null | Othello/othello.cpp | MBadriNarayanan/C-Project | a0a117252d0ded90d0fa7b5a813ef205d80e20e5 | [
"MIT"
] | 1 | 2021-09-28T09:19:52.000Z | 2021-09-28T09:19:52.000Z | class square
{ int c_x,c_y;
int col;
public: void fill();
void plot();
void play(int game=3);
void draw_circle(int ,int , int );
int check_YELLOW();
int check(int, int, int, int);
int check_chance(int ,int );
int load_game(char *);
void load_fill();
void save_game(int... | 21.819599 | 88 | 0.54384 | MBadriNarayanan |
7bb9222e4be394a7c69581b489375ab5b69c9a15 | 8,253 | cpp | C++ | Sourcecode/mxtest/core/MusicDataGroupTest.cpp | diskzero/MusicXML-Class-Library | bd4d1357b8ab2d4df8f1c6077883bbf169f6f0db | [
"MIT"
] | null | null | null | Sourcecode/mxtest/core/MusicDataGroupTest.cpp | diskzero/MusicXML-Class-Library | bd4d1357b8ab2d4df8f1c6077883bbf169f6f0db | [
"MIT"
] | null | null | null | Sourcecode/mxtest/core/MusicDataGroupTest.cpp | diskzero/MusicXML-Class-Library | bd4d1357b8ab2d4df8f1c6077883bbf169f6f0db | [
"MIT"
] | null | null | null | // MusicXML Class Library
// Copyright (c) by Matthew James Briggs
// Distributed under the MIT License
#include "mxtest/control/CompileControl.h"
#ifdef MX_COMPILE_CORE_TESTS
#include "cpul/cpulTestHarness.h"
#include "mxtest/core/HelperFunctions.h"
#include "mxtest/core/MusicDataGroupTest.h"
#include "mxtest/core/M... | 35.573276 | 94 | 0.515691 | diskzero |
7bb9d944f93d87f4a9c032404c24759ef5e140b6 | 5,320 | cpp | C++ | tools/unittests/Runtime/ArgmaxTest.cpp | jdh8/onnc | 018ff007e20734585579aac87ca9a573aa012909 | [
"BSD-3-Clause"
] | 1 | 2021-02-25T13:36:26.000Z | 2021-02-25T13:36:26.000Z | tools/unittests/Runtime/ArgmaxTest.cpp | jdh8/onnc | 018ff007e20734585579aac87ca9a573aa012909 | [
"BSD-3-Clause"
] | null | null | null | tools/unittests/Runtime/ArgmaxTest.cpp | jdh8/onnc | 018ff007e20734585579aac87ca9a573aa012909 | [
"BSD-3-Clause"
] | null | null | null | #if defined(__GNUC__) || defined(_MSC_VER)
# define restrict __restrict
#else
# define restrict
#endif
extern "C" {
#include <onnc/Runtime/onnc-runtime.h>
}
#undef restrict
#include "norm.hpp"
#include <skypat/skypat.h>
SKYPAT_F(Operator_ArgMax, test_argmax_no_keepdims_example)
{
const float input_0[] = {... | 41.24031 | 120 | 0.618233 | jdh8 |
7bba4af1cef957d08f16b1d9a35229cdbbf47e4a | 1,755 | cc | C++ | servlib/bundling/ForwardingInfo.cc | delay-tolerant-networking/DTN2 | 1c12a9dea32c5cbae8c46db105012a2031f4161e | [
"Apache-2.0"
] | 14 | 2016-06-27T19:28:23.000Z | 2021-06-28T20:41:17.000Z | servlib/bundling/ForwardingInfo.cc | delay-tolerant-networking/DTN2 | 1c12a9dea32c5cbae8c46db105012a2031f4161e | [
"Apache-2.0"
] | 3 | 2020-09-18T13:48:53.000Z | 2021-05-27T18:28:14.000Z | servlib/bundling/ForwardingInfo.cc | lauramazzuca21/DTNME | c97b598b09a8c8e97c2e4136879d9f0e157c8df7 | [
"Apache-2.0"
] | 10 | 2020-09-26T05:08:40.000Z | 2022-01-25T12:57:55.000Z | /*
* Copyright 2006-2007 The MITRE Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requ... | 34.411765 | 103 | 0.688319 | delay-tolerant-networking |
7bbc2d3f991fedd2498b0bab564e00a59c5e82d6 | 3,303 | cpp | C++ | test/PAGFontTest.cpp | henryzt/libpag | 9d3bb92a5a90240615884ff7f8afc3ea6c34d7a1 | [
"BSL-1.0",
"CC0-1.0",
"MIT"
] | 1 | 2022-02-15T03:04:01.000Z | 2022-02-15T03:04:01.000Z | test/PAGFontTest.cpp | henryzt/libpag | 9d3bb92a5a90240615884ff7f8afc3ea6c34d7a1 | [
"BSL-1.0",
"CC0-1.0",
"MIT"
] | null | null | null | test/PAGFontTest.cpp | henryzt/libpag | 9d3bb92a5a90240615884ff7f8afc3ea6c34d7a1 | [
"BSL-1.0",
"CC0-1.0",
"MIT"
] | null | null | null | /////////////////////////////////////////////////////////////////////////////////////////////////
//
// Tencent is pleased to support the open source community by making libpag available.
//
// Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
//
// Licensed under the Apache License, Versio... | 35.902174 | 129 | 0.659098 | henryzt |
7bbebd4206ef6ff96f71336e287356d3c17ce424 | 3,929 | cpp | C++ | src/motioncore/crypto/output_message_handler.cpp | Udbhavbisarya23/MOTION2NX | eb26f639d8c1729cebfa85dd3bf41b770cebe92b | [
"MIT"
] | 6 | 2021-11-05T00:39:47.000Z | 2022-02-26T16:42:55.000Z | src/motioncore/crypto/output_message_handler.cpp | Udbhavbisarya23/MOTION2NX | eb26f639d8c1729cebfa85dd3bf41b770cebe92b | [
"MIT"
] | 7 | 2021-11-07T06:53:00.000Z | 2022-03-23T11:46:40.000Z | src/motioncore/crypto/output_message_handler.cpp | Udbhavbisarya23/MOTION2NX | eb26f639d8c1729cebfa85dd3bf41b770cebe92b | [
"MIT"
] | 7 | 2021-11-04T12:01:07.000Z | 2022-03-29T12:15:23.000Z | // MIT License
//
// Copyright (c) 2020 Lennart Braun
//
// 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, modif... | 38.519608 | 100 | 0.697633 | Udbhavbisarya23 |
7bc37a0f5eb3e44bb6b106c6c4b22bd0469ffc6e | 764 | cpp | C++ | pc-qa-matchbox/DPQAlib/XMLUtils.cpp | openpreserve/scape | 8b08bbad43feaa7a5070412079d476e31bb8194b | [
"Apache-2.0"
] | 6 | 2015-05-19T09:48:16.000Z | 2020-01-13T02:29:57.000Z | pc-qa-matchbox/DPQAlib/XMLUtils.cpp | openpreserve/scape | 8b08bbad43feaa7a5070412079d476e31bb8194b | [
"Apache-2.0"
] | 2 | 2021-06-03T23:48:14.000Z | 2021-09-02T15:27:13.000Z | pc-qa-matchbox/DPQAlib/XMLUtils.cpp | openpreserve/scape | 8b08bbad43feaa7a5070412079d476e31bb8194b | [
"Apache-2.0"
] | 4 | 2015-05-19T09:48:25.000Z | 2021-08-18T08:53:10.000Z | #include "XMLUtils.h"
XMLUtils::XMLUtils(void)
{
}
XMLUtils::~XMLUtils(void)
{
}
//string XMLUtils::getElementValue(DOMElement *rootelem, const string *name)
//{
// XMLCh* elemName = XMLString::transcode(name->c_str());
//
// DOMNodeList* nodes = rootelem->getElementsByTagName(elemName);
// DOMElement* elem = dyn... | 22.470588 | 76 | 0.693717 | openpreserve |
7bc678974e45c20f132531188608fd8281d719b1 | 6,182 | hpp | C++ | Source/Terrain/TerrainConstructionData.hpp | storm20200/UniversitySecondYearTerrain | 4455f9804e165202839fdd05f660f6a9bbc999eb | [
"MIT"
] | 2 | 2016-06-05T04:52:35.000Z | 2016-07-10T04:18:04.000Z | Source/Terrain/TerrainConstructionData.hpp | storm20200/University3DGraphicsTerrain | 4455f9804e165202839fdd05f660f6a9bbc999eb | [
"MIT"
] | null | null | null | Source/Terrain/TerrainConstructionData.hpp | storm20200/University3DGraphicsTerrain | 4455f9804e165202839fdd05f660f6a9bbc999eb | [
"MIT"
] | null | null | null | #ifndef TERRAIN_CONSTRUCTION_DATA_3GP_HPP
#define TERRAIN_CONSTRUCTION_DATA_3GP_HPP
// Personal headers.
#include <Terrain/Terrain.hpp>
/// <summary>
/// A structure containing all the information required to generate terrain elements and vertices.
/// </summary>
class Terrain::ConstructionData final
{
public:
... | 52.837607 | 119 | 0.602232 | storm20200 |
dcf24a695c136a6aae5c03d46bc526c17eac0baa | 2,217 | hpp | C++ | GPUImage-x/proj.iOS/GPUImage-x/GPUImage-x/GLProgram.hpp | antowang/GPUImage-x | 8c9237fd0bde008a69ccab5dc267871c4959f97d | [
"Apache-2.0"
] | 197 | 2017-04-04T16:49:42.000Z | 2022-02-15T10:47:24.000Z | GPUImage-x/proj.iOS/GPUImage-x/GPUImage-x/GLProgram.hpp | antowang/GPUImage-x | 8c9237fd0bde008a69ccab5dc267871c4959f97d | [
"Apache-2.0"
] | 6 | 2017-10-04T13:23:11.000Z | 2018-09-26T06:18:11.000Z | GPUImage-x/proj.iOS/GPUImage-x/GPUImage-x/GLProgram.hpp | antowang/GPUImage-x | 8c9237fd0bde008a69ccab5dc267871c4959f97d | [
"Apache-2.0"
] | 53 | 2017-08-07T14:55:30.000Z | 2022-02-25T09:55:25.000Z | /*
* GPUImage-x
*
* Copyright (C) 2017 Yijin Wang, Yiqian Wang
*
* 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... | 31.671429 | 123 | 0.741543 | antowang |
dcf875f106d6fc1b9e6c23f766fd45c079b7833a | 919 | cpp | C++ | algorithm/tests/PrimaryQueueTests.cpp | AirChen/AlgorithmCpp | a1af7ee437278682d9d0319bab76d85473c3baa0 | [
"MIT"
] | null | null | null | algorithm/tests/PrimaryQueueTests.cpp | AirChen/AlgorithmCpp | a1af7ee437278682d9d0319bab76d85473c3baa0 | [
"MIT"
] | null | null | null | algorithm/tests/PrimaryQueueTests.cpp | AirChen/AlgorithmCpp | a1af7ee437278682d9d0319bab76d85473c3baa0 | [
"MIT"
] | null | null | null | //
// PrimaryQueueTests.cpp
// tests
//
// Created by tuRen on 2021/5/17.
//
#include "PrimaryQueueTests.hpp"
#include "gtest/gtest.h"
#include "PrimaryQueue.hpp"
using std::vector;
class PrimaryQueueTest: public ::testing::Test {
public:
vector<int> _vn = {6, 5, 2, 7, 3, 9, 8, 4, 10, 1 };
};
TEST_F(PrimaryQ... | 19.145833 | 75 | 0.574538 | AirChen |
0d00a7b0316dc482655c9c851accaecb555a66bd | 12,255 | hpp | C++ | DT3Windows8/DeviceGraphicsDX11Material.hpp | 9heart/DT3 | 4ba8fd2af3aebb5c0d77036ac3941e83cd4d1c7e | [
"MIT"
] | 3 | 2016-01-27T13:17:18.000Z | 2019-03-19T09:18:25.000Z | DT3Windows8/DeviceGraphicsDX11Material.hpp | pakoito/DT3 | 4ba8fd2af3aebb5c0d77036ac3941e83cd4d1c7e | [
"MIT"
] | 1 | 2016-01-28T14:39:49.000Z | 2016-01-28T22:12:07.000Z | DT3Windows8/DeviceGraphicsDX11Material.hpp | adderly/DT3 | e2605be091ec903d3582e182313837cbaf790857 | [
"MIT"
] | 3 | 2016-01-25T16:44:51.000Z | 2021-01-29T19:59:45.000Z | #ifndef DT2_DEVICEGRAPHICSDX11MATERIAL
#define DT2_DEVICEGRAPHICSDX11MATERIAL
//==============================================================================
///
/// File: DeviceGraphicsDX11Material.hpp
///
/// Copyright (C) 2000-2013 by Smells Like Donkey, Inc. All rights reserved.
///
/// This file is subject to t... | 35.938416 | 125 | 0.616157 | 9heart |
0d030c0917640d62afef953096945e7e1dedf137 | 1,432 | cpp | C++ | Codechef_Long_Chalenge_2021/shortestPath.cpp | AkashKumarSingh11032001/Coding-Challenge-Solutions | c46b5d466b1403b8e58b6ac9081298d617ad8611 | [
"MIT"
] | null | null | null | Codechef_Long_Chalenge_2021/shortestPath.cpp | AkashKumarSingh11032001/Coding-Challenge-Solutions | c46b5d466b1403b8e58b6ac9081298d617ad8611 | [
"MIT"
] | null | null | null | Codechef_Long_Chalenge_2021/shortestPath.cpp | AkashKumarSingh11032001/Coding-Challenge-Solutions | c46b5d466b1403b8e58b6ac9081298d617ad8611 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
#define maxn 3E5 + 5
void solve()
{
int n, m;
cin >> n >> m;
int a[n];
int b[m];
int i, j;
for (i = 0; i < n; i++)
{
cin >> a[i];
}
for (i = 0; i < m; i++)
{
cin >> b[i];
}
int max_i = maxn;
int rough[n];
... | 16.45977 | 51 | 0.261872 | AkashKumarSingh11032001 |
0d040c97e20584697571dd9a08d3888e732af4b9 | 444 | cpp | C++ | CompetitiveProgramming/Exercise2.2.1/5-LongestContiguousSubArray.cpp | omarcespedes/algorithms-cpp | 5c66e41d0f4080ccd2c384ff9658ceb721545b19 | [
"MIT"
] | null | null | null | CompetitiveProgramming/Exercise2.2.1/5-LongestContiguousSubArray.cpp | omarcespedes/algorithms-cpp | 5c66e41d0f4080ccd2c384ff9658ceb721545b19 | [
"MIT"
] | null | null | null | CompetitiveProgramming/Exercise2.2.1/5-LongestContiguousSubArray.cpp | omarcespedes/algorithms-cpp | 5c66e41d0f4080ccd2c384ff9658ceb721545b19 | [
"MIT"
] | null | null | null | //increasing
#include <iostream>
using namespace std;
#define N 12
int arr[N] = {12, 13, 14, 15, 4, 7, 8, 1, 10, 11,25,26};
int main(){
int max = 1, len = 1;
for(int i = 1 ; i < N ; i++) {
if(arr[i] > arr[i-1]) {
len++;
} else {
if(len > max) {
max = l... | 17.76 | 56 | 0.394144 | omarcespedes |
0d0438ec54dbbc75f365e7d3a351ed9b2661df27 | 4,453 | cpp | C++ | test/integration_tests/src/config.cpp | Paycasso/cpp-driver | 9e6efd4842afc226d999baf890a55275e7e94cf8 | [
"Apache-2.0"
] | null | null | null | test/integration_tests/src/config.cpp | Paycasso/cpp-driver | 9e6efd4842afc226d999baf890a55275e7e94cf8 | [
"Apache-2.0"
] | null | null | null | test/integration_tests/src/config.cpp | Paycasso/cpp-driver | 9e6efd4842afc226d999baf890a55275e7e94cf8 | [
"Apache-2.0"
] | null | null | null | #define BOOST_TEST_DYN_LINK
#ifdef STAND_ALONE
# define BOOST_TEST_MODULE cassandra
#endif
#include <boost/test/unit_test.hpp>
#include "cassandra.h"
#include "test_utils.hpp"
struct ConfigTests {
ConfigTests() { }
};
BOOST_FIXTURE_TEST_SUITE(config, ConfigTests)
BOOST_AUTO_TEST_CASE(test_options)
{
test_... | 37.108333 | 146 | 0.760835 | Paycasso |
0d0446ac2835a18565812064ad6568f2fc69d033 | 6,268 | cpp | C++ | src/Auxiliary/Aux_Check_Conservation.cpp | zhulianhua/Daino | db88f5738aba76fa8a28d7672450e0c5c832b3de | [
"MIT"
] | 3 | 2019-04-13T02:08:01.000Z | 2020-11-17T12:45:37.000Z | src/Auxiliary/Aux_Check_Conservation.cpp | zhulianhua/Daino | db88f5738aba76fa8a28d7672450e0c5c832b3de | [
"MIT"
] | null | null | null | src/Auxiliary/Aux_Check_Conservation.cpp | zhulianhua/Daino | db88f5738aba76fa8a28d7672450e0c5c832b3de | [
"MIT"
] | 2 | 2019-11-12T02:00:20.000Z | 2019-12-09T14:52:31.000Z |
#include "DAINO.h"
#if ( MODEL == MHD )
#warning : WAIT MHD !!!
#endif
//-------------------------------------------------------------------------------------------------------
// Function : Aux_Check_Conservation
// Description : Verify the conservation laws
// --> HYDRO : check mass, momenum... | 31.979592 | 113 | 0.469368 | zhulianhua |
0d0d6309cc3d18e9b97b348f1e2afd22e039ddea | 1,897 | cpp | C++ | crazyrc/rc_parser.cpp | mojmir-svoboda/BlackBoxTT | 0c87b989827107695538e1bf1266c08b083dda44 | [
"MIT"
] | 11 | 2017-06-19T14:21:15.000Z | 2020-03-04T06:43:16.000Z | crazyrc/rc_parser.cpp | mojmir-svoboda/BlackBoxTT | 0c87b989827107695538e1bf1266c08b083dda44 | [
"MIT"
] | null | null | null | crazyrc/rc_parser.cpp | mojmir-svoboda/BlackBoxTT | 0c87b989827107695538e1bf1266c08b083dda44 | [
"MIT"
] | 3 | 2017-07-23T18:08:55.000Z | 2019-09-16T16:28:18.000Z | #include <boost/spirit/include/qi.hpp>
#include <boost/foreach.hpp>
#include <boost/assert.hpp>
#include <boost/variant/variant.hpp>
#include <iostream>
#include <string>
#include <cstdlib>
#include <map>
#include "rc_grammar.h"
#include "rc_dump.h"
#include "unicode.h"
#include "utils_file.h"
#include "rc_cache.h"
us... | 18.066667 | 79 | 0.633632 | mojmir-svoboda |
0d0df500dc9c7cc3755a92e5f113f6e931144607 | 2,552 | cpp | C++ | LibraryDX12/Resource/D2DWrappedResource.cpp | DziubanMaciej/DirectX-Deconfused | a8a4177beeb40436f6e0734e6d28d60aa1867d40 | [
"MIT"
] | null | null | null | LibraryDX12/Resource/D2DWrappedResource.cpp | DziubanMaciej/DirectX-Deconfused | a8a4177beeb40436f6e0734e6d28d60aa1867d40 | [
"MIT"
] | null | null | null | LibraryDX12/Resource/D2DWrappedResource.cpp | DziubanMaciej/DirectX-Deconfused | a8a4177beeb40436f6e0734e6d28d60aa1867d40 | [
"MIT"
] | null | null | null | #include "D2DWrappedResource.h"
#include "Application/ApplicationImpl.h"
#include "Resource/Resource.h"
#include "Utility/ThrowIfFailed.h"
#include <cassert>
void D2DWrappedResource::wrap(float dpi) {
auto &d2dContext = ApplicationImpl::getInstance().getD2DContext();
// Create DX11 Resource
const D3D11_... | 34.486486 | 122 | 0.738245 | DziubanMaciej |
0d11f1dccbf81b4bfe3341997c844aed40fcb94a | 22,910 | hpp | C++ | 3rdparty/sospd/include/litiv/3rdparty/sospd/sospd.hpp | jpjodoin/litiv | 435556bea20d60816aff492f50587b1a2d748b21 | [
"BSD-3-Clause"
] | 97 | 2015-10-16T04:32:33.000Z | 2022-03-29T07:04:02.000Z | 3rdparty/sospd/include/litiv/3rdparty/sospd/sospd.hpp | jpjodoin/litiv | 435556bea20d60816aff492f50587b1a2d748b21 | [
"BSD-3-Clause"
] | 19 | 2016-07-01T16:37:02.000Z | 2020-09-10T06:09:39.000Z | 3rdparty/sospd/include/litiv/3rdparty/sospd/sospd.hpp | jpjodoin/litiv | 435556bea20d60816aff492f50587b1a2d748b21 | [
"BSD-3-Clause"
] | 41 | 2015-11-17T05:59:23.000Z | 2022-02-16T09:30:28.000Z | #pragma once
#include "litiv/3rdparty/sospd/multilabel-energy.hpp"
#include "litiv/3rdparty/sospd/submodular-ibfs.hpp"
namespace sospd {
/** Optimizer using Sum-of-submodular Primal Dual algorithm.
*
* Implements SoSPD algorithm from Fix, Wang, Zabih in CVPR 14.
*/
template<typename ValueType,... | 38.056478 | 137 | 0.564426 | jpjodoin |
0d126d18997c5116c1ffe32a9d37b6e080a1a95c | 1,210 | cpp | C++ | Aid/Aid/Main.cpp | mbikovitsky/bearded-octo-wallhack | d4df51b7f3dfc7f79ca958fd331ec043a4a2b5bc | [
"MIT"
] | 6 | 2016-08-22T18:43:38.000Z | 2021-09-06T15:22:11.000Z | Aid/Aid/Main.cpp | mbikovitsky/bearded-octo-wallhack | d4df51b7f3dfc7f79ca958fd331ec043a4a2b5bc | [
"MIT"
] | null | null | null | Aid/Aid/Main.cpp | mbikovitsky/bearded-octo-wallhack | d4df51b7f3dfc7f79ca958fd331ec043a4a2b5bc | [
"MIT"
] | 3 | 2016-08-22T18:57:14.000Z | 2018-05-13T11:34:22.000Z | #include <deque>
#include <boost\lexical_cast.hpp>
#include <boost\filesystem.hpp>
#include "Common\Utils.hpp"
#include "Exercises\Exercises.hpp"
namespace Aid {
void DoStuff(const std::deque<std::wstring> & arguments)
{
if (1 == arguments.size())
{
boost::filesystem::path modulePath(Utils::WinApiHelper... | 20.508475 | 86 | 0.668595 | mbikovitsky |
0d1855467673227af463320dd6c9e725b1a7c2e8 | 5,541 | cpp | C++ | Data Structrures Lab/StringOperations.cpp | IamVaibhavsar/Second_Year_Lab_Assignments | dec3a0d4e71bc30820948d40d4e073b1d3e1da98 | [
"MIT"
] | 34 | 2020-02-09T08:42:49.000Z | 2022-03-01T09:04:53.000Z | Data Structrures Lab/StringOperations.cpp | MXNXV/Second_Year_Lab_Assignments | dec3a0d4e71bc30820948d40d4e073b1d3e1da98 | [
"MIT"
] | 1 | 2020-10-16T15:41:43.000Z | 2020-10-16T16:03:50.000Z | Data Structrures Lab/StringOperations.cpp | MXNXV/Second_Year_Lab_Assignments | dec3a0d4e71bc30820948d40d4e073b1d3e1da98 | [
"MIT"
] | 34 | 2020-01-07T08:47:42.000Z | 2022-03-29T16:45:56.000Z | /*Write C++ program for string operations- copy, concatenate, check substring, equal, reverse and length*/
#include<iostream>
#include<string.h> //noted
using namespace std;
class str
{
char a[20],b[20]; //Bydefault Private
public:
void read1(char []);
void read2(char []);
void copy(char [],char []);
... | 18.59396 | 106 | 0.439451 | IamVaibhavsar |
0d1c148b5ab0de3d48c69dc629e369d28b987032 | 5,090 | cpp | C++ | AGVCCON/fDurationTasks.cpp | jluzardo1971/ActiveGanttVC | 4748cb4d942551dc64c9017f279c90969cdcc634 | [
"MIT"
] | null | null | null | AGVCCON/fDurationTasks.cpp | jluzardo1971/ActiveGanttVC | 4748cb4d942551dc64c9017f279c90969cdcc634 | [
"MIT"
] | null | null | null | AGVCCON/fDurationTasks.cpp | jluzardo1971/ActiveGanttVC | 4748cb4d942551dc64c9017f279c90969cdcc634 | [
"MIT"
] | null | null | null | // ----------------------------------------------------------------------------------------
// COPYRIGHT NOTICE
// ----------------------------------------------------------------------------------------
//
// The Source Code Store LLC
// ACTIVEGANTT SCHEDULER COMPONENT FOR C++ - ActiveGan... | 37.426471 | 148 | 0.68998 | jluzardo1971 |
0d1d42bb1a2bbac80182053dd249695c15c4e76e | 2,919 | cpp | C++ | PickerControls/WxColourPickerCtrl1/src/WxColourPickerCtrl1Frame.cpp | wxIshiko/wxWidgetsTutorials | 83efacbad925a78b3111e055c2f0646ab68b973f | [
"Unlicense"
] | 38 | 2018-05-10T08:01:05.000Z | 2022-03-28T23:14:45.000Z | PickerControls/WxColourPickerCtrl1/src/WxColourPickerCtrl1Frame.cpp | zhuhui09/wxWidgetsTutorials | 83efacbad925a78b3111e055c2f0646ab68b973f | [
"Unlicense"
] | null | null | null | PickerControls/WxColourPickerCtrl1/src/WxColourPickerCtrl1Frame.cpp | zhuhui09/wxWidgetsTutorials | 83efacbad925a78b3111e055c2f0646ab68b973f | [
"Unlicense"
] | 16 | 2018-01-14T09:53:12.000Z | 2022-03-20T00:34:56.000Z | /*
Copyright (c) 2015 Xavier Leclercq
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, ... | 43.567164 | 89 | 0.7506 | wxIshiko |
0d20612ce77898f7ac8dbf6c3b055826f72b798d | 3,010 | cpp | C++ | src/dialog/vinserttabledialog.cpp | linails/vnote | 97810731db97292f474951c3450aac150acef0bc | [
"MIT"
] | 1 | 2020-10-13T14:28:59.000Z | 2020-10-13T14:28:59.000Z | src/dialog/vinserttabledialog.cpp | linails/vnote | 97810731db97292f474951c3450aac150acef0bc | [
"MIT"
] | 1 | 2022-01-22T13:10:44.000Z | 2022-01-22T13:10:44.000Z | src/dialog/vinserttabledialog.cpp | linails/vnote | 97810731db97292f474951c3450aac150acef0bc | [
"MIT"
] | 1 | 2021-06-17T02:43:27.000Z | 2021-06-17T02:43:27.000Z | #include "vinserttabledialog.h"
#include <QSpinBox>
#include <QRadioButton>
#include <QGridLayout>
#include <QHBoxLayout>
#include <QVBoxLayout>
#include <QLabel>
#include <QDialogButtonBox>
#include <QPushButton>
#include <QButtonGroup>
VInsertTableDialog::VInsertTableDialog(QWidget *p_parent)
: QDialog(p_parent... | 31.354167 | 92 | 0.68505 | linails |
0d22b3c91dc6464f08e620187d9368e7af62be64 | 5,644 | hpp | C++ | pythran/pythonic/numpy/reduce.hpp | xmar/pythran | dbf2e8b70ed1e4d4ac6b5f26ead4add940a72592 | [
"BSD-3-Clause"
] | null | null | null | pythran/pythonic/numpy/reduce.hpp | xmar/pythran | dbf2e8b70ed1e4d4ac6b5f26ead4add940a72592 | [
"BSD-3-Clause"
] | null | null | null | pythran/pythonic/numpy/reduce.hpp | xmar/pythran | dbf2e8b70ed1e4d4ac6b5f26ead4add940a72592 | [
"BSD-3-Clause"
] | null | null | null | #ifndef PYTHONIC_NUMPY_REDUCE_HPP
#define PYTHONIC_NUMPY_REDUCE_HPP
#include "pythonic/include/numpy/reduce.hpp"
#include "pythonic/types/ndarray.hpp"
#include "pythonic/__builtin__/None.hpp"
#include "pythonic/__builtin__/ValueError.hpp"
#include "pythonic/utils/neutral.hpp"
#include <algorithm>
namespace pythonic... | 31.18232 | 80 | 0.546244 | xmar |
0d23fc8040b4d8729801a99ee105e6519236bcc1 | 2,274 | cpp | C++ | exe/Python_launcher.cpp | dillionhacker/python222 | 205414c33fba8166167fd8a6a03eda1a68f16316 | [
"Apache-2.0"
] | 1 | 2022-03-17T13:55:02.000Z | 2022-03-17T13:55:02.000Z | exe/Python_launcher.cpp | tuankien2601/python222 | 205414c33fba8166167fd8a6a03eda1a68f16316 | [
"Apache-2.0"
] | null | null | null | exe/Python_launcher.cpp | tuankien2601/python222 | 205414c33fba8166167fd8a6a03eda1a68f16316 | [
"Apache-2.0"
] | null | null | null | /*
* ====================================================================
* Python_launcher.cpp
*
* Launchpad EXE for starting Python server scripts
*
* Copyright (c) 2005 Nokia Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the... | 25.266667 | 74 | 0.686456 | dillionhacker |
0d24f56177201d598d47147f622e6b09f149d58c | 6,792 | cpp | C++ | circular_buffer.cpp | travc/vt | 20ba6b7a313aebf2162eb877c38a5c818322bafe | [
"MIT"
] | 166 | 2015-01-14T23:14:05.000Z | 2022-03-31T14:15:56.000Z | circular_buffer.cpp | travc/vt | 20ba6b7a313aebf2162eb877c38a5c818322bafe | [
"MIT"
] | 108 | 2015-01-16T13:21:07.000Z | 2022-01-26T22:47:55.000Z | circular_buffer.cpp | travc/vt | 20ba6b7a313aebf2162eb877c38a5c818322bafe | [
"MIT"
] | 48 | 2015-01-16T23:35:18.000Z | 2022-03-01T12:14:53.000Z | /* The MIT License
Copyright (c) 2015 Adrian Tan <atks@umich.edu>
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 us... | 20.581818 | 153 | 0.602621 | travc |
0d2d08597e179e4c55fc483afeed40178a2fc5e5 | 1,804 | hpp | C++ | host/include/serial_can_dump.hpp | hephaisto/serial-can-dump | a3aa3e6e166327ad86b491ca8d89fbcc1090f597 | [
"MIT"
] | 1 | 2016-09-20T20:20:00.000Z | 2016-09-20T20:20:00.000Z | host/include/serial_can_dump.hpp | hephaisto/serial-can-dump | a3aa3e6e166327ad86b491ca8d89fbcc1090f597 | [
"MIT"
] | null | null | null | host/include/serial_can_dump.hpp | hephaisto/serial-can-dump | a3aa3e6e166327ad86b491ca8d89fbcc1090f597 | [
"MIT"
] | null | null | null | #include <memory>
#include <string>
#include <boost/signals2.hpp>
#include <boost/asio.hpp>
namespace bs2 = boost::signals2;
class ExtendedCanFrame
{
public:
ExtendedCanFrame(const uint32_t id, const uint8_t data_len, const uint8_t *data, const bool rtr=false);
ExtendedCanFrame(const uint32_t id, const bool rtr=fa... | 30.066667 | 104 | 0.764412 | hephaisto |
0d2f495a880d395a7ea3446c654f4a054c254bf0 | 1,059 | hpp | C++ | gpu/cpu/CpuRaw.hpp | osom8979/example | f3cbe2c345707596edc1ec2763f9318c4676a92f | [
"Zlib"
] | 1 | 2020-02-11T05:37:54.000Z | 2020-02-11T05:37:54.000Z | gpu/cpu/CpuRaw.hpp | osom8979/example | f3cbe2c345707596edc1ec2763f9318c4676a92f | [
"Zlib"
] | null | null | null | gpu/cpu/CpuRaw.hpp | osom8979/example | f3cbe2c345707596edc1ec2763f9318c4676a92f | [
"Zlib"
] | 1 | 2022-03-01T00:47:19.000Z | 2022-03-01T00:47:19.000Z | /**
* @file CpuRaw.hpp
* @brief CpuRaw class prototype.
* @author zer0
* @date 2018-01-10
*/
#ifndef __INCLUDE_LIBTBAG__LIBTBAG_GPU_CPU_CPURAW_HPP__
#define __INCLUDE_LIBTBAG__LIBTBAG_GPU_CPU_CPURAW_HPP__
// MS compatible compilers support #pragma once
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
#pragma onc... | 25.214286 | 93 | 0.661001 | osom8979 |
0d2f8d0b7c16eab8cc09638155ac707c42c53665 | 4,256 | cpp | C++ | Sources/Modules/Renderer/Stub/RendererStub.cpp | benkaraban/anima-games-engine | 8aa7a5368933f1b82c90f24814f1447119346c3b | [
"BSD-3-Clause"
] | 2 | 2015-04-16T01:05:53.000Z | 2019-08-26T07:38:43.000Z | Sources/Modules/Renderer/Stub/RendererStub.cpp | benkaraban/anima-games-engine | 8aa7a5368933f1b82c90f24814f1447119346c3b | [
"BSD-3-Clause"
] | null | null | null | Sources/Modules/Renderer/Stub/RendererStub.cpp | benkaraban/anima-games-engine | 8aa7a5368933f1b82c90f24814f1447119346c3b | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2010, Anima Games, Benjamin Karaban, Laurent Schneider,
* Jérémie Comarmond, Didier Colin.
* 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 ... | 44.8 | 121 | 0.574718 | benkaraban |
0d2ff67406c27f944c704f1a3394a211baa512ca | 18,585 | cpp | C++ | source/fontpage.cpp | tomorrow-wakeup/Font-Creator-For-Unity3D | 6bcb740def77679f8f6f7d9c08e4c6afca6fe2ab | [
"BSD-3-Clause"
] | null | null | null | source/fontpage.cpp | tomorrow-wakeup/Font-Creator-For-Unity3D | 6bcb740def77679f8f6f7d9c08e4c6afca6fe2ab | [
"BSD-3-Clause"
] | null | null | null | source/fontpage.cpp | tomorrow-wakeup/Font-Creator-For-Unity3D | 6bcb740def77679f8f6f7d9c08e4c6afca6fe2ab | [
"BSD-3-Clause"
] | 1 | 2019-09-09T06:44:23.000Z | 2019-09-09T06:44:23.000Z | /*
AngelCode Bitmap Font Generator
Copyright (c) 2004-2014 Andreas Jonsson
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any
damages arising from the use of this software.
Permission is granted to anyone to use this so... | 26.324363 | 212 | 0.612429 | tomorrow-wakeup |
0d319dd56d678092a074bd1a97fcbcfca5af379c | 1,710 | cpp | C++ | hermes/common/cuda_utils.cpp | filipecn/hermes | c0411cec4d5b216b0f5f7e095805101af2aa6fc0 | [
"MIT"
] | null | null | null | hermes/common/cuda_utils.cpp | filipecn/hermes | c0411cec4d5b216b0f5f7e095805101af2aa6fc0 | [
"MIT"
] | null | null | null | hermes/common/cuda_utils.cpp | filipecn/hermes | c0411cec4d5b216b0f5f7e095805101af2aa6fc0 | [
"MIT"
] | null | null | null | /// Copyright (c) 2021, FilipeCN.
///
/// The MIT License (MIT)
///
/// Permission is hereby granted, free of charge, to any person obtaining a copy
/// of this software and associated documentation files (the "Software"), to
/// deal in the Software without restriction, including without limitation the
/// rights to u... | 31.666667 | 80 | 0.725731 | filipecn |
0d339d3773f7bf9f3892264b1742b35a09dd50e6 | 7,130 | cxx | C++ | examples/Registration/RegistrationFrameworkBenchmark.cxx | mseng10/ITKPerformanceBenchmarking | 95698a3c9eb03b5e4ea74079bc0f68b2e7ccfdf6 | [
"Apache-2.0"
] | 1 | 2017-12-07T21:29:59.000Z | 2017-12-07T21:29:59.000Z | examples/Registration/RegistrationFrameworkBenchmark.cxx | mseng10/ITKPerformanceBenchmarking | 95698a3c9eb03b5e4ea74079bc0f68b2e7ccfdf6 | [
"Apache-2.0"
] | 33 | 2017-06-30T19:35:06.000Z | 2021-09-22T00:07:26.000Z | examples/Registration/RegistrationFrameworkBenchmark.cxx | mseng10/ITKPerformanceBenchmarking | 95698a3c9eb03b5e4ea74079bc0f68b2e7ccfdf6 | [
"Apache-2.0"
] | 6 | 2017-06-30T18:22:47.000Z | 2020-02-19T23:10:16.000Z | /*=========================================================================
*
* Copyright NumFOCUS
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.or... | 34.61165 | 119 | 0.736466 | mseng10 |
0d3a74e11d00f485465ebcb165fa432dc5095dc5 | 306 | hpp | C++ | vm/os-solaris-x86.64.hpp | seckar/factor | 9683b081e3d93a996d00c91a139b533139dfb945 | [
"BSD-2-Clause"
] | 1 | 2016-05-08T19:43:03.000Z | 2016-05-08T19:43:03.000Z | vm/os-solaris-x86.64.hpp | seckar/factor | 9683b081e3d93a996d00c91a139b533139dfb945 | [
"BSD-2-Clause"
] | null | null | null | vm/os-solaris-x86.64.hpp | seckar/factor | 9683b081e3d93a996d00c91a139b533139dfb945 | [
"BSD-2-Clause"
] | null | null | null | #include <ucontext.h>
namespace factor
{
inline static void *ucontext_stack_pointer(void *uap)
{
ucontext_t *ucontext = (ucontext_t *)uap;
return (void *)ucontext->uc_mcontext.gregs[RSP];
}
#define UAP_PROGRAM_COUNTER(ucontext) \
(((ucontext_t *)(ucontext))->uc_mcontext.gregs[RIP])
}
| 19.125 | 56 | 0.699346 | seckar |
0d3bba656186d2d469e71c41c3b328baff71fbfa | 5,468 | cpp | C++ | src/devices/bus/spectrum/intf1.cpp | Robbbert/messui | 49b756e2140d8831bc81335298ee8c5471045e79 | [
"BSD-3-Clause"
] | 26 | 2015-03-31T06:25:51.000Z | 2021-12-14T09:29:04.000Z | src/devices/bus/spectrum/intf1.cpp | Robbbert/messui | 49b756e2140d8831bc81335298ee8c5471045e79 | [
"BSD-3-Clause"
] | null | null | null | src/devices/bus/spectrum/intf1.cpp | Robbbert/messui | 49b756e2140d8831bc81335298ee8c5471045e79 | [
"BSD-3-Clause"
] | 10 | 2015-03-27T05:45:51.000Z | 2022-02-04T06:57:36.000Z | // license:BSD-3-Clause
// copyright-holders:Nigel Barnes
/**********************************************************************
ZX Interface 1
The ZX Interface 1 combines the three functions of microdrive
controller, local area network and RS232 interface.
**********************************************... | 26.935961 | 125 | 0.571507 | Robbbert |
0d3c0e729231216556dd90d9abf9febc31be5e36 | 1,409 | cpp | C++ | plugins/ChannelMute/Source/PluginEditor.cpp | COx2/slPlugins | 72f6e8e70b23e97d44d27001df02433585c7fb81 | [
"BSD-3-Clause"
] | 39 | 2020-04-24T10:36:31.000Z | 2022-02-15T17:09:03.000Z | plugins/ChannelMute/Source/PluginEditor.cpp | COx2/slPlugins | 72f6e8e70b23e97d44d27001df02433585c7fb81 | [
"BSD-3-Clause"
] | 3 | 2020-04-28T00:24:43.000Z | 2020-11-09T21:43:34.000Z | plugins/ChannelMute/Source/PluginEditor.cpp | COx2/slPlugins | 72f6e8e70b23e97d44d27001df02433585c7fb81 | [
"BSD-3-Clause"
] | 5 | 2020-06-15T08:42:12.000Z | 2021-06-10T06:49:57.000Z | /*
==============================================================================
This file was auto-generated by the Introjucer!
It contains the basic framework code for a JUCE plugin editor.
==============================================================================
*/
#include "PluginProcessor.h"
... | 28.18 | 95 | 0.51171 | COx2 |
0d40e47199a89b577d1743a70e3572f4f2b20088 | 1,723 | cpp | C++ | array/pair-with-sum-in-unsorted-array.cpp | HarshitKaushik/ds-algorithms-revision | 98fddca7b196179dd795dfde822a1d9bb1518b74 | [
"MIT"
] | 1 | 2018-08-28T17:44:45.000Z | 2018-08-28T17:44:45.000Z | array/pair-with-sum-in-unsorted-array.cpp | HarshitKaushik/ds-algorithms-revision | 98fddca7b196179dd795dfde822a1d9bb1518b74 | [
"MIT"
] | null | null | null | array/pair-with-sum-in-unsorted-array.cpp | HarshitKaushik/ds-algorithms-revision | 98fddca7b196179dd795dfde822a1d9bb1518b74 | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
// Given an array A[] and a number x, check for pair in A[] with sum as x
// https://www.geeksforgeeks.org/write-a-c-program-that-given-a-set-a-of-n-numbers-and-another-number-x-determines-whether-or-not-there-exist-two-elements-in-s-whose-sum-is-exactly-x/
// Method to swap t... | 24.971014 | 183 | 0.611143 | HarshitKaushik |
0d424cd08a4656c2bc957dabc6c46163c364a778 | 4,506 | cpp | C++ | source/App/EnmConsole.cpp | Borrk/Enzyme-labeled-instrument | a7c8f4459511c774f7e0c4fee1fe05baf1ae2a5f | [
"MIT"
] | null | null | null | source/App/EnmConsole.cpp | Borrk/Enzyme-labeled-instrument | a7c8f4459511c774f7e0c4fee1fe05baf1ae2a5f | [
"MIT"
] | null | null | null | source/App/EnmConsole.cpp | Borrk/Enzyme-labeled-instrument | a7c8f4459511c774f7e0c4fee1fe05baf1ae2a5f | [
"MIT"
] | null | null | null | #include "EnmConsole.h"
CEnmConsole::CEnmConsole()
{
Init();
}
CEnmConsole::~CEnmConsole()
{
}
#include "Mig_Page.hpp"
enConsoleCommand CEnmConsole::SetConsoleCmdLine( INT8U* pCmdLine, INT16U size )
{
INT8S aFrame[32];
mCurCmd = ENM_CONSOLE_NONE;
mParser.Push( (INT8U*)pCmdLine, size );
INT16U aLen = mPars... | 18.697095 | 91 | 0.562583 | Borrk |
0d4443dbe65e09b81ed32908937afd93343a5e3d | 20,740 | cpp | C++ | core/src/control/dihu_context.cpp | maierbn/opendihu | 577650e2f6b36a7306766b0f4176f8124458cbf0 | [
"MIT"
] | 17 | 2018-11-25T19:29:34.000Z | 2021-09-20T04:46:22.000Z | core/src/control/dihu_context.cpp | maierbn/opendihu | 577650e2f6b36a7306766b0f4176f8124458cbf0 | [
"MIT"
] | 1 | 2020-11-12T15:15:58.000Z | 2020-12-29T15:29:24.000Z | core/src/control/dihu_context.cpp | maierbn/opendihu | 577650e2f6b36a7306766b0f4176f8124458cbf0 | [
"MIT"
] | 4 | 2018-10-17T12:18:10.000Z | 2021-05-28T13:24:20.000Z | #include "control/dihu_context.h"
#include <Python.h> // this has to be the first included header
#include <python_home.h> // defines PYTHON_HOME_DIRECTORY
#include <omp.h>
#include <fstream>
#include <iostream>
#include <iomanip>
#include <memory>
#include <thread>
#include <list>
#include <petscvec.h>
#include <s... | 32.816456 | 162 | 0.696866 | maierbn |
0d45caf5e5072c6dfb885f377dac04ce2cafe8e6 | 8,084 | cpp | C++ | examples/check-trx-approving/send-1xdr-wait-for-approving.cpp | mile-core/mile-csa-light | de15599ad38a2b6c672da1fba321cd9eb473ddef | [
"MIT"
] | null | null | null | examples/check-trx-approving/send-1xdr-wait-for-approving.cpp | mile-core/mile-csa-light | de15599ad38a2b6c672da1fba321cd9eb473ddef | [
"MIT"
] | null | null | null | examples/check-trx-approving/send-1xdr-wait-for-approving.cpp | mile-core/mile-csa-light | de15599ad38a2b6c672da1fba321cd9eb473ddef | [
"MIT"
] | null | null | null | //
// Created by lotus mile on 17/11/2018.
//
// Example shows how to prepare MILE transaction, then send to node use MILE JSON-RPC API
// and waiting for transaction approving by blockchain
//
// Alternate C++ wrappper for json-rpc API: https://github.com/mile-core/mile-csa-jsonrpc-client
//
#include <string>
#inclu... | 24.203593 | 124 | 0.539955 | mile-core |
0d4686544a5e554f737ac86f116d4c7c3f948baa | 435 | cpp | C++ | LAB-1/CODE/Lab-1-Program-5-Write a program to receive marks of physics, chemistry & maths from user.cpp | CSIT-Knowledge-Hub-EBulk/PPS-C-Lang.-Lab-Based-Programs-AKTU--KCS-151P-KCS-251P- | 7e6fcf1658d7122cfeeb04ce97ecda0355f6c4e1 | [
"Apache-2.0"
] | 2 | 2022-02-24T14:28:03.000Z | 2022-03-03T06:18:10.000Z | LAB-1/CODE/Lab-1-Program-5-Write a program to receive marks of physics, chemistry & maths from user.cpp | CSIT-Knowledge-Hub-EBulk/PPS-C-Lang.-Lab-Based-Programs-AKTU--KCS-151P-KCS-251P- | 7e6fcf1658d7122cfeeb04ce97ecda0355f6c4e1 | [
"Apache-2.0"
] | null | null | null | LAB-1/CODE/Lab-1-Program-5-Write a program to receive marks of physics, chemistry & maths from user.cpp | CSIT-Knowledge-Hub-EBulk/PPS-C-Lang.-Lab-Based-Programs-AKTU--KCS-151P-KCS-251P- | 7e6fcf1658d7122cfeeb04ce97ecda0355f6c4e1 | [
"Apache-2.0"
] | null | null | null | #include<stdio.h>
#include<math.h>
int main()
{
int phy,che,math,total,PM;
printf("Enter the marks of the physics chemistry and math's\n");
scanf("%d%d%d",&phy,&che,&math);
total=(phy+che+math);
PM=phy+math;
if(phy>40 && che>50 && math>60 && (PM>150||total>200))
{
printf("... | 22.894737 | 69 | 0.542529 | CSIT-Knowledge-Hub-EBulk |
0d479d8cd3aab2ea0db1c5db3db6a934ea60bbd3 | 2,376 | cc | C++ | src/core/tests/ordered_fixed_list_test.cc | litlpoet/beliefbox | 6b303e49017f8054f43c6c840686fcc632205e4e | [
"OLDAP-2.3"
] | null | null | null | src/core/tests/ordered_fixed_list_test.cc | litlpoet/beliefbox | 6b303e49017f8054f43c6c840686fcc632205e4e | [
"OLDAP-2.3"
] | null | null | null | src/core/tests/ordered_fixed_list_test.cc | litlpoet/beliefbox | 6b303e49017f8054f43c6c840686fcc632205e4e | [
"OLDAP-2.3"
] | null | null | null | /* -*- Mode: c++ -*- */
// copyright (c) 2009 by Christos Dimitrakakis <christos.dimitrakakis@gmail.com>
/***************************************************************************
* *
* This program is free software; you can redistribute it a... | 25.826087 | 80 | 0.457912 | litlpoet |
0d4bf48003af45391df0befebd85e79a05dbde89 | 182 | cpp | C++ | server/main.cpp | kaiqiangren/webrtc | f898ba54714a58d387282b4a9bbd4ab2b9bc7659 | [
"MIT"
] | 1 | 2020-06-16T05:05:40.000Z | 2020-06-16T05:05:40.000Z | server/main.cpp | kaiqiangren/webrtc | f898ba54714a58d387282b4a9bbd4ab2b9bc7659 | [
"MIT"
] | null | null | null | server/main.cpp | kaiqiangren/webrtc | f898ba54714a58d387282b4a9bbd4ab2b9bc7659 | [
"MIT"
] | null | null | null | #include <iostream>
#include "server.h"
int main (int argc, char* argv[]){
avdance::Server* server = new avdance::Server();
if (server)
{
server->run();
}
return 0;
}; | 16.545455 | 50 | 0.604396 | kaiqiangren |
0d4c928dcd47f276b2461bb23895566cdd1185a0 | 5,813 | cxx | C++ | Modules/ThirdParty/VNL/src/vxl/core/vnl/algo/tests/test_symmetric_eigensystem.cxx | arobert01/ITK | 230d319fdeaa3877273fab5d409dd6c11f0a6874 | [
"Apache-2.0"
] | 945 | 2015-01-09T00:43:52.000Z | 2022-03-30T08:23:02.000Z | Modules/ThirdParty/VNL/src/vxl/core/vnl/algo/tests/test_symmetric_eigensystem.cxx | arobert01/ITK | 230d319fdeaa3877273fab5d409dd6c11f0a6874 | [
"Apache-2.0"
] | 2,354 | 2015-02-04T21:54:21.000Z | 2022-03-31T20:58:21.000Z | Modules/ThirdParty/VNL/src/vxl/core/vnl/algo/tests/test_symmetric_eigensystem.cxx | arobert01/ITK | 230d319fdeaa3877273fab5d409dd6c11f0a6874 | [
"Apache-2.0"
] | 566 | 2015-01-04T14:26:57.000Z | 2022-03-18T20:33:18.000Z | // This is core/vnl/algo/tests/test_symmetric_eigensystem.cxx
#include <iostream>
#include <chrono> // Needed for high resolution clock
#include <algorithm>
#include "testlib/testlib_test.h"
//:
// \file
// \brief test program for symmetric eigensystem routines.
// \author Andrew W. Fitzgibbon, Oxford RRG.
// \date 29 ... | 34.808383 | 112 | 0.565801 | arobert01 |
0d4f7ca83e76c6b2bc23448babd58a7f3c3019cf | 4,384 | cpp | C++ | system/BufferVector_tests.cpp | EvilMcJerkface/grappa | 69f2f3674d6f8e512e0bf55264bb75b972fd82de | [
"BSD-3-Clause"
] | 144 | 2015-01-16T01:53:24.000Z | 2022-02-27T21:59:09.000Z | system/BufferVector_tests.cpp | EvilMcJerkface/grappa | 69f2f3674d6f8e512e0bf55264bb75b972fd82de | [
"BSD-3-Clause"
] | 79 | 2015-01-01T00:32:30.000Z | 2021-07-06T12:26:08.000Z | system/BufferVector_tests.cpp | EvilMcJerkface/grappa | 69f2f3674d6f8e512e0bf55264bb75b972fd82de | [
"BSD-3-Clause"
] | 53 | 2015-02-02T17:55:46.000Z | 2022-03-08T09:35:16.000Z | ////////////////////////////////////////////////////////////////////////
// Copyright (c) 2010-2015, University of Washington and Battelle
// Memorial Institute. All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following cond... | 32.474074 | 72 | 0.619526 | EvilMcJerkface |
0d502432df28a49db97ff275ca967b2453e10b19 | 765 | cpp | C++ | tools/WmarkEditor/src/viewmodel/commands/ReplaceCommand.cpp | meilj/CppTS | 00b077c264a7c32fcbd416f73c4bdc2e0027afd8 | [
"BSD-2-Clause"
] | null | null | null | tools/WmarkEditor/src/viewmodel/commands/ReplaceCommand.cpp | meilj/CppTS | 00b077c264a7c32fcbd416f73c4bdc2e0027afd8 | [
"BSD-2-Clause"
] | null | null | null | tools/WmarkEditor/src/viewmodel/commands/ReplaceCommand.cpp | meilj/CppTS | 00b077c264a7c32fcbd416f73c4bdc2e0027afd8 | [
"BSD-2-Clause"
] | null | null | null | /*
** Mei Lijuan, 2019
*/
////////////////////////////////////////////////////////////////////////////////
#include "precomp.h"
#include "../../model/TextModel.h"
#include "../TextViewModel.h"
////////////////////////////////////////////////////////////////////////////////
namespace CSL {
////////////... | 26.37931 | 82 | 0.282353 | meilj |
0d553ac226f783748c49c6bfb439bac18b562242 | 3,078 | cpp | C++ | demos/FileInstrument.cpp | michaelwillis/sfizz | 0461f6e5e288da71aeccf7b7dfd71302bf0ba175 | [
"BSD-2-Clause"
] | 281 | 2019-06-06T05:58:59.000Z | 2022-03-06T12:20:09.000Z | demos/FileInstrument.cpp | michaelwillis/sfizz | 0461f6e5e288da71aeccf7b7dfd71302bf0ba175 | [
"BSD-2-Clause"
] | 590 | 2019-09-22T00:26:10.000Z | 2022-03-31T19:21:58.000Z | demos/FileInstrument.cpp | michaelwillis/sfizz | 0461f6e5e288da71aeccf7b7dfd71302bf0ba175 | [
"BSD-2-Clause"
] | 44 | 2019-10-08T08:24:20.000Z | 2022-02-26T04:21:44.000Z | // SPDX-License-Identifier: BSD-2-Clause
// This code is part of the sfizz library and is licensed under a BSD 2-clause
// license. You should have receive a LICENSE.md file along with the code.
// If not, contact the sfizz maintainers at https://github.com/sfztools/sfizz
#include "sfizz/FileMetadata.h"
#include "abs... | 26.534483 | 78 | 0.561079 | michaelwillis |
0d567711d2da622f3ada827358709f9e36ecc4f0 | 5,152 | cpp | C++ | dependencies/PyMesh/python/PyCGAL.cpp | aprieels/3D-watermarking-spectral-decomposition | dcab78857d0bb201563014e58900917545ed4673 | [
"MIT"
] | 5 | 2018-06-04T19:52:02.000Z | 2022-01-22T09:04:00.000Z | dependencies/PyMesh/python/PyCGAL.cpp | aprieels/3D-watermarking-spectral-decomposition | dcab78857d0bb201563014e58900917545ed4673 | [
"MIT"
] | null | null | null | dependencies/PyMesh/python/PyCGAL.cpp | aprieels/3D-watermarking-spectral-decomposition | dcab78857d0bb201563014e58900917545ed4673 | [
"MIT"
] | null | null | null | #include <memory>
#include <pybind11/pybind11.h>
#include <pybind11/eigen.h>
#include <pybind11/stl.h>
#include <pybind11/operators.h>
#include <Core/EigenTypedef.h>
#include <CGAL/SelfIntersection.h>
#include <CGAL/enum.h>
#include <CGAL/Gmpz.h>
#include <CGAL/Gmpq.h>
namespace py = pybind11;
using namespace PyMes... | 32.815287 | 101 | 0.477484 | aprieels |
0d56fc306f89d4c03bb78b2ea29efa086c108fbf | 18,793 | cpp | C++ | gui/main_window/history_control/reactions/ReactionsPlate.cpp | SammyEnigma/im-desktop | d93c1c335c8290b21b69c578c399edf61cb899e8 | [
"Apache-2.0"
] | 2 | 2020-10-23T06:27:27.000Z | 2021-11-12T12:06:12.000Z | gui/main_window/history_control/reactions/ReactionsPlate.cpp | john-preston/im-desktop | 271e42db657bdaa8e261f318c627ca5414e0dd87 | [
"Apache-2.0"
] | null | null | null | gui/main_window/history_control/reactions/ReactionsPlate.cpp | john-preston/im-desktop | 271e42db657bdaa8e261f318c627ca5414e0dd87 | [
"Apache-2.0"
] | null | null | null | #include "stdafx.h"
#include "controls/TextUnit.h"
#include "controls/GeneralDialog.h"
#include "styles/ThemeParameters.h"
#include "main_window/MainWindow.h"
#include "main_window/contact_list/ContactListModel.h"
#include "../HistoryControlPageItem.h"
#include "utils/InterConnector.h"
#include "animation/animation.h"... | 28.604262 | 154 | 0.59751 | SammyEnigma |
0d5724dfa5986996aea11106ca56d2d0be617aee | 2,054 | cpp | C++ | Codigos/16-3SumClosest.cpp | BrunoHarlis/Solucoes_LeetCode | cca9b1331cbfe7d8dc8d844a810ac651a92d8c97 | [
"MIT"
] | null | null | null | Codigos/16-3SumClosest.cpp | BrunoHarlis/Solucoes_LeetCode | cca9b1331cbfe7d8dc8d844a810ac651a92d8c97 | [
"MIT"
] | null | null | null | Codigos/16-3SumClosest.cpp | BrunoHarlis/Solucoes_LeetCode | cca9b1331cbfe7d8dc8d844a810ac651a92d8c97 | [
"MIT"
] | null | null | null | //Source: https://leetcode.com/problems/3sum-closest/
//Author: Bruno Harlis
//Date: 30/04/2020
/******************************************************************************************
* PROPOSED PROBLEM
* Given an array nums of n integers and an integer target, find three integers in nums such
* that the sum is c... | 26 | 92 | 0.373905 | BrunoHarlis |
0d5d22d011900ffe9b83e68d7fcc64c80ca902cb | 259 | cpp | C++ | Benchine/BenchineCore/Core/BaseGame.cpp | DatTestBench/Benchine | 7f2034dc9d486f8eae39cb5bf917012d3b234955 | [
"MIT"
] | null | null | null | Benchine/BenchineCore/Core/BaseGame.cpp | DatTestBench/Benchine | 7f2034dc9d486f8eae39cb5bf917012d3b234955 | [
"MIT"
] | null | null | null | Benchine/BenchineCore/Core/BaseGame.cpp | DatTestBench/Benchine | 7f2034dc9d486f8eae39cb5bf917012d3b234955 | [
"MIT"
] | null | null | null | #include "BenchinePCH.h"
#include "Core/BaseGame.h"
void BaseGame::BaseInitialize()
{
// User Definined Initialize
Initialize();
}
void BaseGame::BaseUpdate(const float dT)
{
SceneManager::GetInstance()->Update(dT);
// User Defined Update
Update(dT);
} | 17.266667 | 41 | 0.725869 | DatTestBench |
0d5d8f71c15c0ac407463b55c1f1a842b07ffcfa | 1,687 | cpp | C++ | Stack/ImplementStackusingQueues_225.cpp | obviouskkk/leetcode | 5d25c3080fdc9f68ae79e0f4655a474a51ff01fc | [
"BSD-3-Clause"
] | null | null | null | Stack/ImplementStackusingQueues_225.cpp | obviouskkk/leetcode | 5d25c3080fdc9f68ae79e0f4655a474a51ff01fc | [
"BSD-3-Clause"
] | null | null | null | Stack/ImplementStackusingQueues_225.cpp | obviouskkk/leetcode | 5d25c3080fdc9f68ae79e0f4655a474a51ff01fc | [
"BSD-3-Clause"
] | null | null | null | /* ***********************************************************************
> File Name: ImplementStackusingQueues_225.cpp
> Author: zzy
> Mail: 942744575@qq.com
> Created Time: Mon 08 Jul 2019 05:14:47 PM CST
********************************************************************** */
#include <stdio.h>
#incl... | 17.572917 | 74 | 0.559573 | obviouskkk |
0d6185bf85c772eee717b669d205d60c550916cf | 683 | cpp | C++ | Codeforces/1409/D.cpp | noobie7/Codes | 4d8265f4b7042bd7e8c0e0402d417c7e160ae6d4 | [
"MIT"
] | 2 | 2021-09-14T15:57:24.000Z | 2022-03-18T14:11:04.000Z | Codeforces/1409/D.cpp | noobie7/Codes | 4d8265f4b7042bd7e8c0e0402d417c7e160ae6d4 | [
"MIT"
] | null | null | null | Codeforces/1409/D.cpp | noobie7/Codes | 4d8265f4b7042bd7e8c0e0402d417c7e160ae6d4 | [
"MIT"
] | null | null | null | #include<bits/stdc++.h>
using namespace std;
typedef long long int ll;
int sum(ll n){
int res = 0;
while(n){
res+= n%10;
n/=10;
}
return res;
}
int main(){
int t; cin>>t;
while(t--){
ll n; cin>>n;
int s; cin>>s;
if(sum(n)<=s){
cout<<0<<endl;
... | 18.972222 | 40 | 0.358712 | noobie7 |
0d6369dbb568aebf1daa3ff253108d961ef326de | 2,916 | hxx | C++ | main/dtrans/source/os2/clipb/Os2Transferable.hxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 679 | 2015-01-06T06:34:58.000Z | 2022-03-30T01:06:03.000Z | main/dtrans/source/os2/clipb/Os2Transferable.hxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 102 | 2017-11-07T08:51:31.000Z | 2022-03-17T12:13:49.000Z | main/dtrans/source/os2/clipb/Os2Transferable.hxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 331 | 2015-01-06T11:40:55.000Z | 2022-03-14T04:07:51.000Z | /**************************************************************
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to y... | 32.4 | 124 | 0.698903 | Grosskopf |
0d66d7240298fc05d53ee3e0e879d17a5781870f | 1,202 | cpp | C++ | data_structures/disjoint_union.cpp | vedantiitkgp/CP-Algorithms | 81d1a64624f8b0e918b7d5b7f8dc1e2cdcbc88b4 | [
"MIT"
] | null | null | null | data_structures/disjoint_union.cpp | vedantiitkgp/CP-Algorithms | 81d1a64624f8b0e918b7d5b7f8dc1e2cdcbc88b4 | [
"MIT"
] | null | null | null | data_structures/disjoint_union.cpp | vedantiitkgp/CP-Algorithms | 81d1a64624f8b0e918b7d5b7f8dc1e2cdcbc88b4 | [
"MIT"
] | null | null | null | // https://cp-algorithms.com/data_structures/disjoint_set_union.html
#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<int, int> pii;
typedef pair<ll, ll> pll;
typedef pair<string, string> pss;
typedef vector<int> vi;
typedef vector<vi> vvi;
typedef vector<pii> vii;
typedef vector<ll> v... | 21.087719 | 82 | 0.647255 | vedantiitkgp |
0d6799d2d6c25ceb8e8ef8d5a47b2670e85d48c9 | 2,567 | cc | C++ | src/main_perft.cc | swgillespie/apollo3 | 2cd7b613cba08c21f65be722769dcb1e2540cd3c | [
"MIT"
] | null | null | null | src/main_perft.cc | swgillespie/apollo3 | 2cd7b613cba08c21f65be722769dcb1e2540cd3c | [
"MIT"
] | null | null | null | src/main_perft.cc | swgillespie/apollo3 | 2cd7b613cba08c21f65be722769dcb1e2540cd3c | [
"MIT"
] | null | null | null | #include <cstdlib>
#include <cstring>
#include <fstream>
#include <iomanip>
#include <iostream>
#include "json.hpp"
#include "position.h"
using apollo::Color;
using apollo::Move;
using apollo::Position;
using nlohmann::json;
const char* const kIntermediateFilename = "intermediates.json";
namespace {
bool save_inte... | 22.716814 | 78 | 0.580834 | swgillespie |
0d6a1c5c4ca0b2f1b23eb3d286c935b6eadc9bde | 6,013 | cpp | C++ | ql/experimental/preexperimental/oneFactorGauss.cpp | universe1987/QuantLib | bbb0145aff285853755b9f6ed013f53a41163acb | [
"BSD-3-Clause"
] | 4 | 2016-03-28T15:05:23.000Z | 2020-02-17T23:05:57.000Z | ql/experimental/preexperimental/oneFactorGauss.cpp | universe1987/QuantLib | bbb0145aff285853755b9f6ed013f53a41163acb | [
"BSD-3-Clause"
] | 1 | 2015-02-02T20:32:43.000Z | 2015-02-02T20:32:43.000Z | ql/experimental/preexperimental/oneFactorGauss.cpp | pcaspers/quantlib | bbb0145aff285853755b9f6ed013f53a41163acb | [
"BSD-3-Clause"
] | 10 | 2015-01-26T14:50:24.000Z | 2015-10-23T07:41:30.000Z | #include <oneFactorGauss.hpp>
using namespace std;
namespace QuantLib {
OneFactorGauss::OneFactorGauss() {
nd_ = NormalDistribution();
cnd_ = CumulativeNormalDistribution();
icn_ = InverseCumulativeNormal();
gh_= new GaussHermiteIntegration(64);
}
boost::shared_ptr<KernelDensity> OneFactorGauss::empir... | 32.502703 | 188 | 0.695493 | universe1987 |
0d6c36c9db140a3c320beb1ba93be709d81f3e76 | 2,020 | cpp | C++ | rali/rali/source/video_loader_module.cpp | rsudheerk001/MIVisionX | fc7574bd58446ff9072f7e5cf4c50d989dcb6cd8 | [
"MIT"
] | 153 | 2018-12-20T19:33:15.000Z | 2022-03-30T03:51:14.000Z | rali/rali/source/video_loader_module.cpp | rsudheerk001/MIVisionX | fc7574bd58446ff9072f7e5cf4c50d989dcb6cd8 | [
"MIT"
] | 484 | 2019-01-02T23:51:58.000Z | 2022-03-31T15:52:43.000Z | rali/rali/source/video_loader_module.cpp | rsudheerk001/MIVisionX | fc7574bd58446ff9072f7e5cf4c50d989dcb6cd8 | [
"MIT"
] | 105 | 2018-12-21T00:02:38.000Z | 2022-03-25T15:44:02.000Z | /*
Copyright (c) 2019 - 2020 Advanced Micro Devices, Inc. All rights reserved.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, ... | 34.237288 | 124 | 0.784158 | rsudheerk001 |
0d6f1615cafefe7c90f44f151a636a3b692d9ffc | 1,472 | cc | C++ | ash/sticky_keys/sticky_keys_overlay_unittest.cc | Fusion-Rom/android_external_chromium_org | d8b126911c6ea9753e9f526bee5654419e1d0ebd | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2015-08-13T21:04:58.000Z | 2015-08-13T21:04:58.000Z | ash/sticky_keys/sticky_keys_overlay_unittest.cc | Fusion-Rom/android_external_chromium_org | d8b126911c6ea9753e9f526bee5654419e1d0ebd | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2018-02-10T21:00:08.000Z | 2018-03-20T05:09:50.000Z | ash/sticky_keys/sticky_keys_overlay_unittest.cc | Fusion-Rom/android_external_chromium_org | d8b126911c6ea9753e9f526bee5654419e1d0ebd | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2020-11-04T06:34:36.000Z | 2020-11-04T06:34:36.000Z | // Copyright 2014 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 "ash/sticky_keys/sticky_keys_overlay.h"
#include "ash/shell.h"
#include "ash/sticky_keys/sticky_keys_controller.h"
#include "ash/test/ash_test_b... | 32.711111 | 77 | 0.780571 | Fusion-Rom |
0d6f3493d31cf0a9e3d9ff78a25ae5a42e803ab0 | 8,813 | cpp | C++ | src/Map.cpp | xDUDSSx/bomberman | 693a6aae2dba44662ceb1599d1cbdb47f1a9240c | [
"MIT"
] | 1 | 2022-01-14T02:12:01.000Z | 2022-01-14T02:12:01.000Z | src/Map.cpp | xDUDSSx/bomberman | 693a6aae2dba44662ceb1599d1cbdb47f1a9240c | [
"MIT"
] | null | null | null | src/Map.cpp | xDUDSSx/bomberman | 693a6aae2dba44662ceb1599d1cbdb47f1a9240c | [
"MIT"
] | 1 | 2021-02-02T19:31:12.000Z | 2021-02-02T19:31:12.000Z | #include "Map.h"
#include "Tile.h"
#include "Constants.h"
#include "Game.h"
#include "MapData.h"
#include "EntityManager.h"
#include <iostream>
#include <sstream>
#include "Utils.h"
Map::Map() = default;
Map::Map(const Map &map) {
*this = map;
}
Map& Map::operator=(const Map& map) {
if (this != &map) {
this->... | 29.773649 | 124 | 0.662998 | xDUDSSx |
0d729f3d3e2f57eec981b42bebd09c63a0404270 | 1,004 | cpp | C++ | chapter13/ex03_arrow.cpp | ClassAteam/stroustrup-ppp | ea9e85d4ea9890038eb5611c3bc82734c8706ce7 | [
"MIT"
] | 124 | 2018-06-23T10:16:56.000Z | 2022-03-19T15:16:12.000Z | chapter13/ex03_arrow.cpp | therootfolder/stroustrup-ppp | b1e936c9a67b9205fdc9712c42496b45200514e2 | [
"MIT"
] | 23 | 2018-02-08T20:57:46.000Z | 2021-10-08T13:58:29.000Z | chapter13/ex03_arrow.cpp | ClassAteam/stroustrup-ppp | ea9e85d4ea9890038eb5611c3bc82734c8706ce7 | [
"MIT"
] | 65 | 2019-05-27T03:05:56.000Z | 2022-03-26T03:43:05.000Z | #include "../GUI/Simple_window.h"
#include "../GUI/Graph.h"
#include "./Arrow.h"
#include <string>
#include <iostream>
using namespace Graph_lib;
int main()
try {
// Window
const Point tl {100, 100};
Simple_window win {tl, 600, 400, "Chapter 12 Ex 3"};
Arrow a1 {Point{100, 100}, Point{250, 200}};
... | 22.818182 | 169 | 0.605578 | ClassAteam |
0d730f69c1a1a9e1651ac8a1ba1a5cb1be303c01 | 597 | cpp | C++ | hackerrank.com/crush/main.cpp | bepec/challenge | cf2d4fcf11a9a1724b6f620fdda86afbb1ba9ddc | [
"MIT"
] | null | null | null | hackerrank.com/crush/main.cpp | bepec/challenge | cf2d4fcf11a9a1724b6f620fdda86afbb1ba9ddc | [
"MIT"
] | null | null | null | hackerrank.com/crush/main.cpp | bepec/challenge | cf2d4fcf11a9a1724b6f620fdda86afbb1ba9ddc | [
"MIT"
] | null | null | null | #include <cstdio>
using namespace std;
#define out if(1)cout
#define min(a,b) (((a)<(b))?(a):(b))
#define max(a,b) (((a)>(b))?(a):(b))
#define abs(a) (((a)<0)?(-(a)):(a))
static const int MAXN = 10000001;
typedef long long int i64;
static i64 ar[MAXN];
int main()
{
ios::sync_with_stdio(false);
int N, M;
scanf... | 16.135135 | 37 | 0.499162 | bepec |
0d7dccb58719fb31c6c88506b2609791bf5806be | 7,872 | cpp | C++ | Engine/Source/Editor/PropertyEditor/Private/UserInterface/PropertyEditor/SPropertyEditorCombo.cpp | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | 1 | 2022-01-29T18:36:12.000Z | 2022-01-29T18:36:12.000Z | Engine/Source/Editor/PropertyEditor/Private/UserInterface/PropertyEditor/SPropertyEditorCombo.cpp | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | null | null | null | Engine/Source/Editor/PropertyEditor/Private/UserInterface/PropertyEditor/SPropertyEditorCombo.cpp | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | null | null | null | // Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
#include "UserInterface/PropertyEditor/SPropertyEditorCombo.h"
#include "IDocumentation.h"
#include "PropertyEditorHelpers.h"
#include "UserInterface/PropertyEditor/SPropertyComboBox.h"
#define LOCTEXT_NAMESPACE "PropertyEditor"
static int32 FindEnumValu... | 30.045802 | 181 | 0.744284 | windystrife |
0d7e5319b22f5592b0f6282cfc140da11673585c | 871 | cpp | C++ | _includes/code/max-area-of-island/solution.cpp | rajat19/interview-questions | cb1fa382a76f2f287f1c12dd3d1fca9bfb7fa311 | [
"MIT"
] | null | null | null | _includes/code/max-area-of-island/solution.cpp | rajat19/interview-questions | cb1fa382a76f2f287f1c12dd3d1fca9bfb7fa311 | [
"MIT"
] | 2 | 2022-03-01T06:30:35.000Z | 2022-03-13T07:05:50.000Z | _includes/code/max-area-of-island/solution.cpp | rajat19/interview-questions | cb1fa382a76f2f287f1c12dd3d1fca9bfb7fa311 | [
"MIT"
] | 1 | 2022-02-09T12:13:36.000Z | 2022-02-09T12:13:36.000Z | class Solution {
public:
int maxAreaOfIsland(vector<vector<int>>& grid) {
int n = grid.size(), m = grid[0].size();
int mx = 0;
int count[1] = {0};
for(int i=0; i<n; i++) {
for(int j = 0; j<m; j++) {
if (grid[i][j] == 1) {
count[0] = 0;
... | 29.033333 | 81 | 0.360505 | rajat19 |
0d7f4096f8519e8578083bcd259d40a0c43da262 | 3,900 | cpp | C++ | CodeXL/AMDTApplicationFramework/src/afGlobalVariableChangedEvent.cpp | jeongjoonyoo/CodeXL | ea6d623d0530aa3a862ef0bf60ad2923a2f8f8a5 | [
"MIT"
] | 1,025 | 2016-04-19T21:36:08.000Z | 2020-04-26T05:12:53.000Z | CodeXL/AMDTApplicationFramework/src/afGlobalVariableChangedEvent.cpp | jeongjoonyoo/CodeXL | ea6d623d0530aa3a862ef0bf60ad2923a2f8f8a5 | [
"MIT"
] | 244 | 2016-04-20T02:05:43.000Z | 2020-04-29T17:40:49.000Z | CodeXL/AMDTApplicationFramework/src/afGlobalVariableChangedEvent.cpp | jeongjoonyoo/CodeXL | ea6d623d0530aa3a862ef0bf60ad2923a2f8f8a5 | [
"MIT"
] | 161 | 2016-04-20T03:23:53.000Z | 2020-04-14T01:46:55.000Z | //==================================================================================
// Copyright (c) 2016 , Advanced Micro Devices, Inc. All rights reserved.
//
/// \author AMD Developer Tools Team
/// \file afGlobalVariableChangedEvent.cpp
///
//=======================================================================... | 38.613861 | 87 | 0.529231 | jeongjoonyoo |
0d80b0bae4b066968105b537e4245878c1aee91a | 3,156 | hpp | C++ | include/GTGE/Physics/CollisionShapeTypes.hpp | mackron/GTGameEngine | 380d1e01774fe6bc2940979e4e5983deef0bf082 | [
"BSD-3-Clause"
] | 31 | 2015-03-19T08:44:48.000Z | 2021-12-15T20:52:31.000Z | include/GTGE/Physics/CollisionShapeTypes.hpp | mackron/GTGameEngine | 380d1e01774fe6bc2940979e4e5983deef0bf082 | [
"BSD-3-Clause"
] | 19 | 2015-07-09T09:02:44.000Z | 2016-06-09T03:51:03.000Z | include/GTGE/Physics/CollisionShapeTypes.hpp | mackron/GTGameEngine | 380d1e01774fe6bc2940979e4e5983deef0bf082 | [
"BSD-3-Clause"
] | 3 | 2017-10-04T23:38:18.000Z | 2022-03-07T08:27:13.000Z | // Copyright (C) 2011 - 2014 David Reid. See included LICENCE.
#ifndef GT_CollisionShapeTypes
#define GT_CollisionShapeTypes
#include <BulletCollision/CollisionShapes/btCylinderShape.h>
#include <BulletCollision/CollisionShapes/btCapsuleShape.h>
namespace GT
{
enum CollisionShapeType
{
CollisionShape... | 29.495327 | 98 | 0.498733 | mackron |
0d82f71a6ee579f7c7271823129651b733a44cf2 | 203 | hpp | C++ | Paramedic.hpp | liorls/wargame-a | b4e2f65259defe5664dfc0f83294269beb18fea0 | [
"MIT"
] | null | null | null | Paramedic.hpp | liorls/wargame-a | b4e2f65259defe5664dfc0f83294269beb18fea0 | [
"MIT"
] | null | null | null | Paramedic.hpp | liorls/wargame-a | b4e2f65259defe5664dfc0f83294269beb18fea0 | [
"MIT"
] | null | null | null | #pragma once
#include "Soldier.hpp"
class Paramedic : public Soldier {
public:
Paramedic(int p): Soldier(p, 100, 0, 100) {}
void attack(vector<vector<Soldier*>> &b, pair<int,int> location);
}; | 20.3 | 69 | 0.669951 | liorls |
0d877b6c00c091ecbac688cf441eab948af5189c | 237 | hpp | C++ | src/lattice_boltzmann/LBUtils/Stencil.hpp | flowzario/mesoBasic | 0a86c98e784a7446a7b6f03b48eef4c9dbfe5940 | [
"MIT"
] | null | null | null | src/lattice_boltzmann/LBUtils/Stencil.hpp | flowzario/mesoBasic | 0a86c98e784a7446a7b6f03b48eef4c9dbfe5940 | [
"MIT"
] | null | null | null | src/lattice_boltzmann/LBUtils/Stencil.hpp | flowzario/mesoBasic | 0a86c98e784a7446a7b6f03b48eef4c9dbfe5940 | [
"MIT"
] | null | null | null | # ifndef STENCIL_H
# define STENCIL_H
# include <vector>
# include <string>
struct Stencil {
int nn;
std::vector<int> exi,eyi,ezi;
std::vector<double> ex,ey,ez,wa;
void setStencil(const std::string);
};
# endif // STENCIL_H
| 11.85 | 36 | 0.675105 | flowzario |
0d88a900ecb849ab151c7e1816019193d7201541 | 889 | cpp | C++ | core/HighPrecisionClock/SimpleClock.cpp | esayui/mworks | 0522e5afc1e30fdbf1e67cedd196ee50f7924499 | [
"MIT"
] | null | null | null | core/HighPrecisionClock/SimpleClock.cpp | esayui/mworks | 0522e5afc1e30fdbf1e67cedd196ee50f7924499 | [
"MIT"
] | null | null | null | core/HighPrecisionClock/SimpleClock.cpp | esayui/mworks | 0522e5afc1e30fdbf1e67cedd196ee50f7924499 | [
"MIT"
] | null | null | null | //
// SimpleClock.cpp
// MWorksCore
//
// Created by Christopher Stawarz on 8/17/16.
//
//
#include "SimpleClock.hpp"
BEGIN_NAMESPACE_MW
SimpleClock::SimpleClock() :
systemBaseTimeAbsolute(mach_absolute_time())
{ }
MWTime SimpleClock::getSystemBaseTimeNS() {
return timebase.absoluteToNanos(systemBaseT... | 12.347222 | 106 | 0.68054 | esayui |
0d891d182cebe76956d01f5c436f5b1cb77a5a8d | 11,123 | cpp | C++ | ModelGenerator/src/ModelGenerator.cpp | adam-lafontaine/AugmentedAI | a4736ce59963ee86313a5936aaf09f0f659e4184 | [
"MIT"
] | null | null | null | ModelGenerator/src/ModelGenerator.cpp | adam-lafontaine/AugmentedAI | a4736ce59963ee86313a5936aaf09f0f659e4184 | [
"MIT"
] | null | null | null | ModelGenerator/src/ModelGenerator.cpp | adam-lafontaine/AugmentedAI | a4736ce59963ee86313a5936aaf09f0f659e4184 | [
"MIT"
] | null | null | null | /*
Copyright (c) 2021 Adam Lafontaine
*/
#include "ModelGenerator.hpp"
#include "pixel_conversion.hpp"
#include "cluster_distance.hpp"
#include "../../utils/cluster_config.hpp"
#include "../../utils/dirhelper.hpp"
#include "../../DataAdaptor/src/data_adaptor.hpp"
#include <algorithm>
#include <numeric>
#include <fu... | 24.286026 | 137 | 0.685427 | adam-lafontaine |
0d8a3cfa3854dfce410e87e120e2042b9ee5860e | 7,571 | cc | C++ | server/src/JsonNode.cc | shawndfl/http_server | f4a0e13146ca95cc9f7c4e1145fbc52bfd45a8a0 | [
"MIT"
] | null | null | null | server/src/JsonNode.cc | shawndfl/http_server | f4a0e13146ca95cc9f7c4e1145fbc52bfd45a8a0 | [
"MIT"
] | null | null | null | server/src/JsonNode.cc | shawndfl/http_server | f4a0e13146ca95cc9f7c4e1145fbc52bfd45a8a0 | [
"MIT"
] | null | null | null | /*
* JsonNode.cc
*
* Created on: Jun 1, 2020
* Author: sdady
*/
#include "JsonNode.h"
namespace ehs {
/*************************************************/
JsonNode::JsonNode() {
type_ = JsonNull;
valueNum_ = 0;
}
/*************************************************/
JsonNode::~JsonNode() {
}
/******... | 24.188498 | 90 | 0.439704 | shawndfl |
0d8cd40a38502f306fcf411fca8525436a599e58 | 5,382 | cpp | C++ | src/UDPSocket.cpp | MaoChen1980/wrighteaglebase | 12b29e5d6d9ada4dd98ec288f7cb6fb845596717 | [
"BSD-2-Clause"
] | 86 | 2016-06-16T05:10:57.000Z | 2022-03-01T08:02:43.000Z | src/UDPSocket.cpp | rc2dcc/wrighteaglebase | f6be453447b657fa4c7417b5b62b5ea2067409bc | [
"BSD-2-Clause"
] | 1 | 2020-03-04T16:59:58.000Z | 2020-03-04T16:59:58.000Z | src/UDPSocket.cpp | rc2dcc/wrighteaglebase | f6be453447b657fa4c7417b5b62b5ea2067409bc | [
"BSD-2-Clause"
] | 43 | 2016-07-08T03:19:19.000Z | 2022-01-12T12:28:44.000Z | /************************************************************************************
* WrightEagle (Soccer Simulation League 2D) *
* BASE SOURCE CODE RELEASE 2016 *
* Copyright (c) 1998-2016 WrightEagle 2D Soccer Simulation Te... | 34.722581 | 86 | 0.533631 | MaoChen1980 |
0d8e59b76d9e6fc939bee9474ebe232cef51a86f | 1,088 | cpp | C++ | src/backlight_set.cpp | klokik/JemUtilities | 21dd11aae53557109e1b1613c2343c8a1eb5d165 | [
"MIT"
] | 1 | 2021-01-13T07:57:05.000Z | 2021-01-13T07:57:05.000Z | src/backlight_set.cpp | klokik/JemUtilities | 21dd11aae53557109e1b1613c2343c8a1eb5d165 | [
"MIT"
] | null | null | null | src/backlight_set.cpp | klokik/JemUtilities | 21dd11aae53557109e1b1613c2343c8a1eb5d165 | [
"MIT"
] | null | null | null | #include <cstring>
#include <iostream>
#include <fstream>
#include <string>
#include <sys/types.h>
#include <unistd.h>
int main(int argc, char **argv) {
if (argc != 2) {
std::cout << "Invalid parameters" << std::endl;
return 0;
}
int delta = atoi(argv[1]);
int max_level = 7;
int cur_level = 3;
if (setui... | 18.758621 | 83 | 0.629596 | klokik |
0d8f9eaa121e233592aaf3d98c930b091a2cf348 | 924 | hpp | C++ | include/platform/internal/list/top_type.hpp | vladankor/types_library | 9f0f64946b621c447c5f72a6df34ced9438b1ff2 | [
"MIT"
] | null | null | null | include/platform/internal/list/top_type.hpp | vladankor/types_library | 9f0f64946b621c447c5f72a6df34ced9438b1ff2 | [
"MIT"
] | null | null | null | include/platform/internal/list/top_type.hpp | vladankor/types_library | 9f0f64946b621c447c5f72a6df34ced9438b1ff2 | [
"MIT"
] | null | null | null | // ----------------------------------------------------------------------------
// Copyright (C) 2019 Korobov Vladislav
// ----------------------------------------------------------------------------
#pragma once
//- platform ------------------------------------------------------------------
#include <platform/intern... | 28.875 | 79 | 0.351732 | vladankor |
0d964f38068ef7aecaf433a374b4bd07436db0ab | 4,857 | cc | C++ | lib/pods-trie-builder.cc | rockeet/taiju | 90f152d5e66b1741d35b9d871f7a5db68699d48d | [
"BSD-3-Clause"
] | null | null | null | lib/pods-trie-builder.cc | rockeet/taiju | 90f152d5e66b1741d35b9d871f7a5db68699d48d | [
"BSD-3-Clause"
] | null | null | null | lib/pods-trie-builder.cc | rockeet/taiju | 90f152d5e66b1741d35b9d871f7a5db68699d48d | [
"BSD-3-Clause"
] | null | null | null | #include <taiju/pods-trie-builder.h>
#include <algorithm>
namespace taiju {
PodsTrieBuilder::PodsTrieBuilder() : node_order_(DEFAULT_NODE_ORDER),
num_keys_(0), child_diffs_(), has_siblings_(), labels_(),
is_terminals_(), inters_(), finished_(false) {}
UInt64 PodsTrieBuilder::size() const
{
return sizeof(TrieType... | 21.977376 | 73 | 0.704756 | rockeet |