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 109 | 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 48.5k ⌀ | 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f6a46ae046491631678bd174c12ea009a5ac819a | 21,480 | cpp | C++ | src/ext-handler.cpp | denis-b/seadrive-gui | d2966c0444134effb4da806e67145b84f955bbd1 | [
"Apache-2.0"
] | null | null | null | src/ext-handler.cpp | denis-b/seadrive-gui | d2966c0444134effb4da806e67145b84f955bbd1 | [
"Apache-2.0"
] | null | null | null | src/ext-handler.cpp | denis-b/seadrive-gui | d2966c0444134effb4da806e67145b84f955bbd1 | [
"Apache-2.0"
] | null | null | null | #include <winsock2.h>
#include <windows.h>
#include <io.h>
#include <shlobj.h>
#include <shlwapi.h>
#include <fcntl.h>
#include <ctype.h>
#include <userenv.h>
#include <string>
#include <QMutexLocker>
#include <QList>
#include <QDir>
#include <QDebug>
#include "utils/file-utils.h"
#include "api/requests.h"
#include "... | 30.338983 | 109 | 0.5946 | denis-b |
f6a597e65b0e67c3cebc3abb5c732e27be1ae79d | 3,416 | cxx | C++ | Examples/ImageRegistrationMethod2.cxx | hendradarwin/SimpleITK | 57e6a5265ae45e535c9bb4887ca92cf95aa79cb9 | [
"Apache-2.0"
] | null | null | null | Examples/ImageRegistrationMethod2.cxx | hendradarwin/SimpleITK | 57e6a5265ae45e535c9bb4887ca92cf95aa79cb9 | [
"Apache-2.0"
] | null | null | null | Examples/ImageRegistrationMethod2.cxx | hendradarwin/SimpleITK | 57e6a5265ae45e535c9bb4887ca92cf95aa79cb9 | [
"Apache-2.0"
] | null | null | null | /*=========================================================================
*
* Copyright Insight Software Consortium
*
* 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://ww... | 30.5 | 116 | 0.623536 | hendradarwin |
f6a5a7d68842157adbe9125116a21213544d6884 | 2,093 | hpp | C++ | Test/Common/VerifyCurrentStates.hpp | krzysztof-jusiak/qfsm | b339f8bdb7f4d2c65dc943cc84e0e0038552190c | [
"BSL-1.0"
] | 1 | 2020-12-18T20:43:20.000Z | 2020-12-18T20:43:20.000Z | Test/Common/VerifyCurrentStates.hpp | krzysztof-jusiak/qfsm | b339f8bdb7f4d2c65dc943cc84e0e0038552190c | [
"BSL-1.0"
] | null | null | null | Test/Common/VerifyCurrentStates.hpp | krzysztof-jusiak/qfsm | b339f8bdb7f4d2c65dc943cc84e0e0038552190c | [
"BSL-1.0"
] | null | null | null | //
// Copyright (c) 2011-2012 Krzysztof Jusiak (krzysztof at jusiak dot net)
//
// 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)
//
#ifndef QFSM_TEST_COMMON_VERIFYCURRENTSTATES_HPP
#define QFSM_TEST_COMMON_VERIFYCURR... | 29.478873 | 163 | 0.690397 | krzysztof-jusiak |
f6abc3d974e1712bc19d3a44e8d4141fe4f5a608 | 8,017 | cpp | C++ | test/bdd/test_utility_functions.cpp | aabbas90/BDD | abab0c746a22ae04e8ca5ceacbec1d8f75b758bb | [
"BSD-2-Clause"
] | 4 | 2021-03-20T11:29:15.000Z | 2022-03-22T10:43:14.000Z | test/bdd/test_utility_functions.cpp | aabbas90/BDD | abab0c746a22ae04e8ca5ceacbec1d8f75b758bb | [
"BSD-2-Clause"
] | null | null | null | test/bdd/test_utility_functions.cpp | aabbas90/BDD | abab0c746a22ae04e8ca5ceacbec1d8f75b758bb | [
"BSD-2-Clause"
] | 3 | 2021-03-31T15:26:20.000Z | 2022-03-24T08:58:01.000Z | #include "bdd_manager/bdd_mgr.h"
#include "../test.h"
#include <array>
#include <vector>
#include <numeric>
using namespace BDD;
using namespace LPMP;
template<typename LABEL_ITERATOR>
inline void test_labeling(BDD::node_ref p, LABEL_ITERATOR label_begin, LABEL_ITERATOR label_end, const bool result)
{
test(p.eval... | 46.883041 | 115 | 0.591119 | aabbas90 |
f6ac90afddeba38df635adfbb506ed3433ac3541 | 8,023 | cc | C++ | cpp/src/arrow/json/reader.cc | Metronlab/arrow | 45a0ad38929699c600dee8a7b44898f49da19a26 | [
"Apache-2.0"
] | 1 | 2020-06-20T00:45:11.000Z | 2020-06-20T00:45:11.000Z | cpp/src/arrow/json/reader.cc | Metronlab/arrow | 45a0ad38929699c600dee8a7b44898f49da19a26 | [
"Apache-2.0"
] | 8 | 2020-04-10T19:03:51.000Z | 2021-01-21T01:06:28.000Z | cpp/src/arrow/json/reader.cc | signavio/arrow | 866e6a82e2794b151235c19b8c5cbf1fcaf780ef | [
"CC-BY-3.0",
"Apache-2.0",
"CC0-1.0"
] | 1 | 2020-09-23T12:12:19.000Z | 2020-09-23T12:12:19.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... | 36.468182 | 89 | 0.660975 | Metronlab |
f6aef0040dd2d778f44c399fb385c2eaf1d8ecc3 | 479 | cpp | C++ | Dev/src/Engine/FileWriter.cpp | MarkusRannare/FryEngine | 79f60599c1cd5f4f28714f24916950461d5cbbba | [
"MIT"
] | 1 | 2021-12-20T14:21:41.000Z | 2021-12-20T14:21:41.000Z | Dev/src/Engine/FileWriter.cpp | MarkusRannare/FryEngine | 79f60599c1cd5f4f28714f24916950461d5cbbba | [
"MIT"
] | null | null | null | Dev/src/Engine/FileWriter.cpp | MarkusRannare/FryEngine | 79f60599c1cd5f4f28714f24916950461d5cbbba | [
"MIT"
] | null | null | null | #include "FileWriter.h"
#include <Core/Assert.h>
#include <Core/Types.h>
namespace fry_engine
{
FileWriter::FileWriter( FILE* File ) :
mFile( File )
{
CHECK_ALWAYS( File != NULL );
}
FileWriter::~FileWriter()
{
// @TODO: Refactor, we open the file in Filesystem, then we should close it there too!
fclose... | 18.423077 | 88 | 0.668058 | MarkusRannare |
f6b12bcc98ce9d5b5a3311a65c648fec0e7c683f | 7,128 | cpp | C++ | tests/staggered_dslash_ctest.cpp | ylin910095/quda | 1704c0096d5dac34b478b77698946f96d0db8909 | [
"MIT"
] | null | null | null | tests/staggered_dslash_ctest.cpp | ylin910095/quda | 1704c0096d5dac34b478b77698946f96d0db8909 | [
"MIT"
] | null | null | null | tests/staggered_dslash_ctest.cpp | ylin910095/quda | 1704c0096d5dac34b478b77698946f96d0db8909 | [
"MIT"
] | null | null | null | #include "staggered_dslash_test_utils.h"
using namespace quda;
StaggeredDslashTestWrapper dslash_test_wrapper;
bool gauge_loaded = false;
const char *prec_str[] = {"quarter", "half", "single", "double"};
const char *recon_str[] = {"r18", "r13", "r9"};
void display_test_info(int precision, QudaReconstructType link_... | 34.770732 | 123 | 0.655724 | ylin910095 |
f6b1e8d836873ab0b93d0fe5406a7c13e4985f90 | 3,516 | hpp | C++ | src/ttauri/widgets/overlay_view_widget.hpp | prollings/ttauri | 51aa748eb52b72a06038ffa12952523cf3d4f9b6 | [
"BSL-1.0"
] | null | null | null | src/ttauri/widgets/overlay_view_widget.hpp | prollings/ttauri | 51aa748eb52b72a06038ffa12952523cf3d4f9b6 | [
"BSL-1.0"
] | null | null | null | src/ttauri/widgets/overlay_view_widget.hpp | prollings/ttauri | 51aa748eb52b72a06038ffa12952523cf3d4f9b6 | [
"BSL-1.0"
] | null | null | null | // Copyright Take Vos 2020-2021.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt)
#pragma once
#include "widget.hpp"
#include "grid_layout_widget.hpp"
namespace tt {
class overlay_view_widget final : public abst... | 36.247423 | 130 | 0.690842 | prollings |
f6b6419bc7b3c96a61b2bfd30f9971fe985856ae | 4,527 | cc | C++ | google/cloud/storage/internal/unified_rest_credentials_test.cc | jacobsa/google-cloud-cpp | ebfa1c583e0a4c83a77eafacf19475e8b3239ad2 | [
"Apache-2.0"
] | null | null | null | google/cloud/storage/internal/unified_rest_credentials_test.cc | jacobsa/google-cloud-cpp | ebfa1c583e0a4c83a77eafacf19475e8b3239ad2 | [
"Apache-2.0"
] | null | null | null | google/cloud/storage/internal/unified_rest_credentials_test.cc | jacobsa/google-cloud-cpp | ebfa1c583e0a4c83a77eafacf19475e8b3239ad2 | [
"Apache-2.0"
] | null | null | null | // Copyright 2021 Google LLC
//
// 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 w... | 36.508065 | 79 | 0.727192 | jacobsa |
f6b68f04fc14e4bcd8a2db2c4d2713805ccc750d | 2,002 | cpp | C++ | src/linux/GetWindows.cpp | BradyBrenot/screen_capture_lite | 775d058408dcc393f632d2bf3483104d5d781432 | [
"MIT"
] | 3 | 2018-07-08T15:32:27.000Z | 2019-11-08T16:50:55.000Z | src/linux/GetWindows.cpp | BradyBrenot/screen_capture_lite | 775d058408dcc393f632d2bf3483104d5d781432 | [
"MIT"
] | null | null | null | src/linux/GetWindows.cpp | BradyBrenot/screen_capture_lite | 775d058408dcc393f632d2bf3483104d5d781432 | [
"MIT"
] | 1 | 2018-12-02T09:02:04.000Z | 2018-12-02T09:02:04.000Z | #include "ScreenCapture.h"
#include "SCCommon.h"
#include <X11/Xlib.h>
#include <algorithm>
#include <string>
namespace SL
{
namespace Screen_Capture
{
void AddWindow(Display* display, XID& window, std::vector<Window>& wnd)
{
std::string name;
char* n = NULL;
if(XFetchName(display, win... | 31.28125 | 75 | 0.442557 | BradyBrenot |
f6b7e637e12fec31ef8550a2a71060e1136e4c5f | 1,395 | cpp | C++ | Examples/Fractals/Mandelbrot.cpp | BaderEddineOuaich/BitmapPlusPlus | 98145ac609d8935faa7a6eec5ab4a5d48e2b9911 | [
"MIT"
] | 3 | 2021-03-30T19:40:14.000Z | 2021-11-06T06:53:32.000Z | Examples/Fractals/Mandelbrot.cpp | BaderEddineOuaich/BitmapPlusPlus | 98145ac609d8935faa7a6eec5ab4a5d48e2b9911 | [
"MIT"
] | null | null | null | Examples/Fractals/Mandelbrot.cpp | BaderEddineOuaich/BitmapPlusPlus | 98145ac609d8935faa7a6eec5ab4a5d48e2b9911 | [
"MIT"
] | 1 | 2020-09-21T05:44:05.000Z | 2020-09-21T05:44:05.000Z | #include "BitmapPlusPlus.hpp"
#include "ColorMaps.inl"
#include <cmath>
int main(void)
{
bmp::Bitmap image(600, 400);
double cr, ci;
double nextr, nexti;
double prevr, previ;
constexpr const std::uint16_t max_iterations = 3000;
for (std::int32_t y = 0; y < image.Height(); ++y)
{
f... | 27.9 | 139 | 0.476703 | BaderEddineOuaich |
f6b8439e5fa97bb6d82d4cb3ba92c4790f8024e1 | 6,062 | cpp | C++ | Astar/Game.cpp | antunesluiz/Jogo-Astar-C- | cf5d18a65f55b1072f1b5f4a52bee390d6b2d65b | [
"Apache-2.0"
] | null | null | null | Astar/Game.cpp | antunesluiz/Jogo-Astar-C- | cf5d18a65f55b1072f1b5f4a52bee390d6b2d65b | [
"Apache-2.0"
] | null | null | null | Astar/Game.cpp | antunesluiz/Jogo-Astar-C- | cf5d18a65f55b1072f1b5f4a52bee390d6b2d65b | [
"Apache-2.0"
] | null | null | null | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
#include "Game.hpp"
SDL_Renderer* Game::renderer = nullptr;
Game::Game() {
Maplvl = 0;
menu = true;
instruc... | 29.004785 | 122 | 0.467338 | antunesluiz |
f6ba29b376c88be4ac75691b95028a7dedc60d3b | 11,333 | cpp | C++ | MIC/MicMgr/Access.cpp | hnordquist/MIC | 18528ce80790925f05a409b0d08995576555298e | [
"Unlicense"
] | null | null | null | MIC/MicMgr/Access.cpp | hnordquist/MIC | 18528ce80790925f05a409b0d08995576555298e | [
"Unlicense"
] | 1 | 2017-09-14T15:23:39.000Z | 2017-09-14T15:23:39.000Z | MIC/MicMgr/Access.cpp | hnordquist/MIC | 18528ce80790925f05a409b0d08995576555298e | [
"Unlicense"
] | null | null | null | /*
This work was supported by the United States Member State Support Program to IAEA Safeguards;
the U.S. Department of Energy, Office of Nonproliferation and National Security, International
Safeguards Division; and the U.S. Department of Energy, Office of Safeguards and Security.
LA-CC-14-089. This software was... | 31.923944 | 98 | 0.688432 | hnordquist |
f6c0b776ffefc33b2e4afe5e51c2ccaa0885972f | 377 | hpp | C++ | Jagerts.Felcp.Xml/XmlNamedObject.hpp | Jagreaper/Project-Felcp | 195d5de4230fe98e53d862c5c69b986344bc2cf5 | [
"MIT"
] | null | null | null | Jagerts.Felcp.Xml/XmlNamedObject.hpp | Jagreaper/Project-Felcp | 195d5de4230fe98e53d862c5c69b986344bc2cf5 | [
"MIT"
] | null | null | null | Jagerts.Felcp.Xml/XmlNamedObject.hpp | Jagreaper/Project-Felcp | 195d5de4230fe98e53d862c5c69b986344bc2cf5 | [
"MIT"
] | null | null | null | #pragma once
#include "Jagerts.Felcp.Shared/Common.hpp"
#include <string>
#define jfxUsingXmlNamedObject \
using XmlNamedObject::SetName; \
using XmlNamedObject::GetName \
namespace Jagerts::Felcp::Xml
{
class JAGERTS_FELCP_XML_API XmlNamedObject
{
public:
void SetName(const std::string name);
const std::stri... | 18.85 | 43 | 0.750663 | Jagreaper |
f6c0c922fb6413929bcec04a5b5770a628c39f10 | 4,400 | hpp | C++ | Phoenix/Client/Include/Client/Game.hpp | zardium/Phoenix | f04152e65e6175580f96dd5ed7d6151c7739de4e | [
"BSD-3-Clause"
] | null | null | null | Phoenix/Client/Include/Client/Game.hpp | zardium/Phoenix | f04152e65e6175580f96dd5ed7d6151c7739de4e | [
"BSD-3-Clause"
] | null | null | null | Phoenix/Client/Include/Client/Game.hpp | zardium/Phoenix | f04152e65e6175580f96dd5ed7d6151c7739de4e | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2019-20 Genten Studios
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// 1. Redistributions of source code must retain the above copyright notice,
// this list of conditions and the following disclai... | 34.645669 | 80 | 0.730909 | zardium |
f6c0dce25dd082819988819226ead6f627864b4b | 1,969 | cpp | C++ | tests/parser_test_pr2.cpp | gborghesan/expressiongraph_wbf | 42d2851b5cf1d9b805883730a6e18d55b08be6fd | [
"MIT"
] | null | null | null | tests/parser_test_pr2.cpp | gborghesan/expressiongraph_wbf | 42d2851b5cf1d9b805883730a6e18d55b08be6fd | [
"MIT"
] | null | null | null | tests/parser_test_pr2.cpp | gborghesan/expressiongraph_wbf | 42d2851b5cf1d9b805883730a6e18d55b08be6fd | [
"MIT"
] | null | null | null | #include "expressiongraph_wbf/solver/constraints.hpp"
#include "expressiongraph_wbf/utils/Urdf2Expr.hpp"
#include <ros/package.h>
using namespace wbf;
using namespace std;
using namespace KDL;
int main()
{
//set input values
std::string path = ros::package::getPath("expressiongraph_wbf");
Urdf2Expressions u;
... | 28.955882 | 112 | 0.628746 | gborghesan |
f6c3ac6249da8b1e0806f6357cc891ea830878f3 | 413 | cpp | C++ | workshop 2020/Advanced/primality/main.cpp | wdjpng/soi | dd565587ae30985676f7f374093ec0687436b881 | [
"MIT"
] | null | null | null | workshop 2020/Advanced/primality/main.cpp | wdjpng/soi | dd565587ae30985676f7f374093ec0687436b881 | [
"MIT"
] | null | null | null | workshop 2020/Advanced/primality/main.cpp | wdjpng/soi | dd565587ae30985676f7f374093ec0687436b881 | [
"MIT"
] | null | null | null | #include <iostream>
#include <math.h>
#define int long long
using namespace std;
signed main() {
int n;
cin >> n;
bool isPrime = true;
int sqr = sqrt(n);
for (int i = 2; i < sqr + 1; ++i) {
if(n%i == 0 && i!=n){
isPrime = false;
break;
}
}
if(isP... | 15.296296 | 39 | 0.440678 | wdjpng |
f6ca24ee80bb3546b9cb530bcaf795b339fae718 | 1,124 | cpp | C++ | day6/main.cpp | Bl4ckb0ne/adventofcode2016 | f0fd9fd2d2dd3bbd1732fe3716a4ca1919cd89e1 | [
"WTFPL"
] | null | null | null | day6/main.cpp | Bl4ckb0ne/adventofcode2016 | f0fd9fd2d2dd3bbd1732fe3716a4ca1919cd89e1 | [
"WTFPL"
] | null | null | null | day6/main.cpp | Bl4ckb0ne/adventofcode2016 | f0fd9fd2d2dd3bbd1732fe3716a4ca1919cd89e1 | [
"WTFPL"
] | null | null | null | #include <iostream>
#include <vector>
#include <map>
#include <algorithm>
#include <string>
std::vector<std::pair<char, int>> frequency(std::vector<std::string>& list, size_t pos)
{
std::map<char, int> m;
for(auto &it : list)
{
m[it[pos]] += 1;
}
std::vector<std::pair<char, int>> v;
fo... | 19.050847 | 108 | 0.505338 | Bl4ckb0ne |
f6cd4e85b483c88fb71233d40d9dcdc675f7870d | 10,993 | cpp | C++ | plugins/WinVST/VinylDither/VinylDitherProc.cpp | PanieriLorenzo/airwindows | 03fe0bddb4689eddd5444116ba4862942d069b76 | [
"MIT"
] | 446 | 2018-01-22T18:03:39.000Z | 2022-03-31T18:57:27.000Z | plugins/WinVST/VinylDither/VinylDitherProc.cpp | PanieriLorenzo/airwindows | 03fe0bddb4689eddd5444116ba4862942d069b76 | [
"MIT"
] | 33 | 2018-01-24T20:36:48.000Z | 2022-03-23T21:27:37.000Z | plugins/WinVST/VinylDither/VinylDitherProc.cpp | PanieriLorenzo/airwindows | 03fe0bddb4689eddd5444116ba4862942d069b76 | [
"MIT"
] | 71 | 2018-02-16T18:17:21.000Z | 2022-03-24T21:31:46.000Z | /* ========================================
* VinylDither - VinylDither.h
* Copyright (c) 2016 airwindows, All rights reserved
* ======================================== */
#ifndef __VinylDither_H
#include "VinylDither.h"
#endif
void VinylDither::processReplacing(float **inputs, float **outputs, VstInt32 sampleF... | 38.437063 | 99 | 0.583735 | PanieriLorenzo |
f6d18f3090dbda6f9e67301940be754c119c4c40 | 21,040 | cpp | C++ | src/mongo/db/storage/mmap_v1/mmap_v1_extent_manager.cpp | dpercy/mongo | 7aadbc29c07ee73c62ccfa3696fbd6262fb3d70e | [
"Apache-2.0"
] | null | null | null | src/mongo/db/storage/mmap_v1/mmap_v1_extent_manager.cpp | dpercy/mongo | 7aadbc29c07ee73c62ccfa3696fbd6262fb3d70e | [
"Apache-2.0"
] | null | null | null | src/mongo/db/storage/mmap_v1/mmap_v1_extent_manager.cpp | dpercy/mongo | 7aadbc29c07ee73c62ccfa3696fbd6262fb3d70e | [
"Apache-2.0"
] | null | null | null | // mmap_v1_extent_manager.cpp
/**
* Copyright (C) 2014 MongoDB Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License, version 3,
* as published by the Free Software Foundation.
*
* This program is distributed in the h... | 35.661017 | 111 | 0.530846 | dpercy |
f6d5b915ddca9bc3b51eb5d9b0855763fb2ec3b9 | 296 | cpp | C++ | rtos/Source/taskerschedule.cpp | snorkysnark/CortexLib | 0db035332ebdfbebf21ca36e5e04b78a5a908a49 | [
"MIT"
] | 22 | 2019-09-07T22:38:01.000Z | 2022-01-31T21:35:55.000Z | rtos/Source/taskerschedule.cpp | snorkysnark/CortexLib | 0db035332ebdfbebf21ca36e5e04b78a5a908a49 | [
"MIT"
] | null | null | null | rtos/Source/taskerschedule.cpp | snorkysnark/CortexLib | 0db035332ebdfbebf21ca36e5e04b78a5a908a49 | [
"MIT"
] | 9 | 2019-09-22T11:26:24.000Z | 2022-03-21T10:53:15.000Z | // Filename: taskertypes.hpp
// Created by by Sergey Kolody aka Lamerok on 29.03.2020.
#include "susudefs.hpp" // for __forceinline
#include "taskerconfig.hpp" // die
__forceinline void TaskerSchedule()
{
myTasker::Schedule();
}
extern "C"
{
void Schedule()
{
TaskerSchedule();
}
}
| 14.095238 | 57 | 0.689189 | snorkysnark |
f6d5e7a1da2fbea18118ea3e1bfcbd60422629e0 | 37,362 | cpp | C++ | dali-toolkit/internal/controls/page-turn-view/page-turn-view-impl.cpp | pwisbey/dali-toolkit | aeb2a95e6cb48788c99d0338dd9788c402ebde07 | [
"Apache-2.0"
] | null | null | null | dali-toolkit/internal/controls/page-turn-view/page-turn-view-impl.cpp | pwisbey/dali-toolkit | aeb2a95e6cb48788c99d0338dd9788c402ebde07 | [
"Apache-2.0"
] | null | null | null | dali-toolkit/internal/controls/page-turn-view/page-turn-view-impl.cpp | pwisbey/dali-toolkit | aeb2a95e6cb48788c99d0338dd9788c402ebde07 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2016 Samsung Electronics Co., 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... | 33.568733 | 210 | 0.717119 | pwisbey |
f6d643bc74c16e641612df4d7a4739032096d031 | 1,650 | cpp | C++ | GeeksForGeeks/C Plus Plus/Binary_Tree_to_DLL.cpp | ankit-sr/Competitive-Programming | 3397b313b80a32a47cfe224426a6e9c7cf05dec2 | [
"MIT"
] | 4 | 2021-06-19T14:15:34.000Z | 2021-06-21T13:53:53.000Z | GeeksForGeeks/C Plus Plus/Binary_Tree_to_DLL.cpp | ankit-sr/Competitive-Programming | 3397b313b80a32a47cfe224426a6e9c7cf05dec2 | [
"MIT"
] | 2 | 2021-07-02T12:41:06.000Z | 2021-07-12T09:37:50.000Z | GeeksForGeeks/C Plus Plus/Binary_Tree_to_DLL.cpp | ankit-sr/Competitive-Programming | 3397b313b80a32a47cfe224426a6e9c7cf05dec2 | [
"MIT"
] | 3 | 2021-06-19T15:19:20.000Z | 2021-07-02T17:24:51.000Z | /*
Problem Statement:
-----------------
Given a Binary Tree (BT), convert it to a Doubly Linked List(DLL) In-Place. The left and right pointers in nodes are to be used as
previous and next pointers respectively in converted DLL. The order of nodes in DLL must be same as Inorder of the given Binary Tree.
The first nod... | 22.297297 | 134 | 0.581818 | ankit-sr |
f6d8222066977c89bb8e2317475035a7948aa414 | 12,244 | cpp | C++ | src/mongocxx/test/database.cpp | CURG-old/mongo-cxx-driver | 06d29a00e4e554e7930e3f8ab40ebcecc9ab31c8 | [
"Apache-2.0"
] | null | null | null | src/mongocxx/test/database.cpp | CURG-old/mongo-cxx-driver | 06d29a00e4e554e7930e3f8ab40ebcecc9ab31c8 | [
"Apache-2.0"
] | null | null | null | src/mongocxx/test/database.cpp | CURG-old/mongo-cxx-driver | 06d29a00e4e554e7930e3f8ab40ebcecc9ab31c8 | [
"Apache-2.0"
] | null | null | null | // Copyright 2014 MongoDB 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 wri... | 33.730028 | 100 | 0.631166 | CURG-old |
f6d8e6ed1c1acb892e262c51c87f5044d341ce31 | 402 | cpp | C++ | examples/C++NPv2/Configurable_Logging_Server.cpp | azerothcore/lib-ace | c1fedd5f2033951eee9ecf898f6f2b75584aaefc | [
"DOC"
] | null | null | null | examples/C++NPv2/Configurable_Logging_Server.cpp | azerothcore/lib-ace | c1fedd5f2033951eee9ecf898f6f2b75584aaefc | [
"DOC"
] | null | null | null | examples/C++NPv2/Configurable_Logging_Server.cpp | azerothcore/lib-ace | c1fedd5f2033951eee9ecf898f6f2b75584aaefc | [
"DOC"
] | 1 | 2020-04-26T03:07:12.000Z | 2020-04-26T03:07:12.000Z | /*
** Copyright 2002 Addison Wesley. All Rights Reserved.
*/
#include "ace/OS_main.h"
#include "ace/Service_Config.h"
#include "ace/Reactor.h"
int ACE_TMAIN (int argc, ACE_TCHAR *argv[]) {
ACE_STATIC_SVC_REGISTER (Reporter_Descriptor);
ACE_Service_Config::open
(argc, argv, ACE_DEFAULT_LOGGER_KE... | 21.157895 | 55 | 0.69403 | azerothcore |
f6da1283e15ae204b17de2a5ca36f8d59ca06ff7 | 956 | cxx | C++ | demo/stl/vec1.cxx | paulwratt/cin-5.34.00 | 036a8202f11a4a0e29ccb10d3c02f304584cda95 | [
"MIT"
] | 10 | 2018-03-26T07:41:44.000Z | 2021-11-06T08:33:24.000Z | demo/stl/vec1.cxx | paulwratt/cin-5.34.00 | 036a8202f11a4a0e29ccb10d3c02f304584cda95 | [
"MIT"
] | null | null | null | demo/stl/vec1.cxx | paulwratt/cin-5.34.00 | 036a8202f11a4a0e29ccb10d3c02f304584cda95 | [
"MIT"
] | 1 | 2020-11-17T03:17:00.000Z | 2020-11-17T03:17:00.000Z | /* -*- C++ -*- */
/*************************************************************************
* Copyright(c) 1995~2005 Masaharu Goto (root-cint@cern.ch)
*
* For the licensing terms see the file COPYING
*
************************************************************************/
#include <iostream.h>
#include <strin... | 24.512821 | 74 | 0.507322 | paulwratt |
f6dcc3ef0480ce4f89875717224709f200d54d6e | 579 | cpp | C++ | src/crop.cpp | dbddqy/DPI | 9fa05335902a7404cbc197653e476706ed724ae1 | [
"MIT"
] | null | null | null | src/crop.cpp | dbddqy/DPI | 9fa05335902a7404cbc197653e476706ed724ae1 | [
"MIT"
] | null | null | null | src/crop.cpp | dbddqy/DPI | 9fa05335902a7404cbc197653e476706ed724ae1 | [
"MIT"
] | null | null | null | //
// Created by yue on 29.11.19.
//
#include <iostream>
#include <time.h>
#include <opencv2/opencv.hpp>
using namespace std;
using namespace cv;
int main()
{
Mat myImage = imread("../../images/01.jpg");
Mat mask = Mat::zeros(myImage.size(), CV_8UC1);
Rect r1(0, 256, 256, 512);
Rect r2(600, 50, 128,... | 19.3 | 51 | 0.623489 | dbddqy |
f6def2c6fcddc67da4a188bc5b387e375b1bf740 | 1,285 | cpp | C++ | MyGame/MyGame/fire.cpp | nickoulos/Cpp_Arcade-Game | df63fdbc908e1c37c180278fac2531ac4183de09 | [
"MIT"
] | null | null | null | MyGame/MyGame/fire.cpp | nickoulos/Cpp_Arcade-Game | df63fdbc908e1c37c180278fac2531ac4183de09 | [
"MIT"
] | null | null | null | MyGame/MyGame/fire.cpp | nickoulos/Cpp_Arcade-Game | df63fdbc908e1c37c180278fac2531ac4183de09 | [
"MIT"
] | null | null | null | #include "Fire.h"
#include "graphics.h"
#include "game.h"
#include "config.h"
#include "util.h"
void Fire::update()
{
pos_x += speed * graphics::getDeltaTime();
if (pos_x > WINDOW_WIDTH)
{
active = false;
}
}
void Fire::draw()
{
graphics::setOrientation(rotation);
brush.texture = std::... | 17.847222 | 76 | 0.616342 | nickoulos |
f6df14a5ece69b4fb0a14ce01efa11ab80e6a742 | 4,388 | hxx | C++ | qtOgitor/include/projectfilesview.hxx | nexustheru/ogitor | a700f8fefffa4ac51c5c20ad155e97e6700aabd4 | [
"MIT"
] | null | null | null | qtOgitor/include/projectfilesview.hxx | nexustheru/ogitor | a700f8fefffa4ac51c5c20ad155e97e6700aabd4 | [
"MIT"
] | null | null | null | qtOgitor/include/projectfilesview.hxx | nexustheru/ogitor | a700f8fefffa4ac51c5c20ad155e97e6700aabd4 | [
"MIT"
] | 2 | 2021-04-02T03:53:18.000Z | 2022-03-03T07:12:16.000Z | /*/////////////////////////////////////////////////////////////////////////////////
/// An
/// ___ ____ ___ _____ ___ ____
/// / _ \ / ___|_ _|_ _/ _ \| _ \
/// | | | | | _ | | | || | | | |_) |
/// | |_| | |_| || | | || |_| | _ <
/// \___/ \____|___| |_| \___/|_| \_\
/// ... | 33.496183 | 83 | 0.600273 | nexustheru |
f6dfd616ed5ca22d96968ae95f7635820eff364e | 10,306 | cpp | C++ | QuantumGateLib/Core/UDP/UDPConnectionMTUD.cpp | Colorfingers/QuantumGate | e183e02464859f4ca486999182c4c41221f3261a | [
"MIT"
] | null | null | null | QuantumGateLib/Core/UDP/UDPConnectionMTUD.cpp | Colorfingers/QuantumGate | e183e02464859f4ca486999182c4c41221f3261a | [
"MIT"
] | null | null | null | QuantumGateLib/Core/UDP/UDPConnectionMTUD.cpp | Colorfingers/QuantumGate | e183e02464859f4ca486999182c4c41221f3261a | [
"MIT"
] | null | null | null | // This file is part of the QuantumGate project. For copyright and
// licensing information refer to the license file(s) in the project root.
#include "pch.h"
#include "UDPConnectionMTUD.h"
#include "UDPConnection.h"
using namespace std::chrono_literals;
namespace QuantumGate::Implementation::Core::UDP::Connection
{... | 29.614943 | 138 | 0.678149 | Colorfingers |
f6e69cfca1157cdc85039100aee96a3ca956f236 | 1,443 | hpp | C++ | include/codegen/include/TMPro/SpriteAssetUtilities/TexturePacker_SpriteSize.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 1 | 2021-11-12T09:29:31.000Z | 2021-11-12T09:29:31.000Z | include/codegen/include/TMPro/SpriteAssetUtilities/TexturePacker_SpriteSize.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | null | null | null | include/codegen/include/TMPro/SpriteAssetUtilities/TexturePacker_SpriteSize.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:24 PM
// Created by Sc2ad
// =========================================================================
#pragma once
#pragma pack(push, 8)
// Begin includes
#include "utils/typedefs.h"
// Including type: System.ValueType
#include "System/ValueType.hpp"
// Includin... | 37.973684 | 137 | 0.70201 | Futuremappermydud |
f6eca25f0c2d7aac5f74e917ae42703c2f8a7025 | 1,739 | hh | C++ | dune/xt/common/parallel/helper.hh | dune-community/dune-xt | da921524c6fff8d60c715cb4849a0bdd5f020d2b | [
"BSD-2-Clause"
] | 2 | 2020-02-08T04:08:52.000Z | 2020-08-01T18:54:14.000Z | dune/xt/common/parallel/helper.hh | dune-community/dune-xt | da921524c6fff8d60c715cb4849a0bdd5f020d2b | [
"BSD-2-Clause"
] | 35 | 2019-08-19T12:06:35.000Z | 2020-03-27T08:20:39.000Z | dune/xt/common/parallel/helper.hh | dune-community/dune-xt | da921524c6fff8d60c715cb4849a0bdd5f020d2b | [
"BSD-2-Clause"
] | 1 | 2020-02-08T04:09:34.000Z | 2020-02-08T04:09:34.000Z | // This file is part of the dune-xt project:
// https://zivgitlab.uni-muenster.de/ag-ohlberger/dune-community/dune-xt
// Copyright 2009-2021 dune-xt developers and contributors. All rights reserved.
// License: Dual licensed as BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause)
// or GPL-2.0+ (h... | 31.618182 | 100 | 0.753882 | dune-community |
f6f163aad5a4a8d8f71589c92102800b58029d60 | 495 | cpp | C++ | src/systems/launching-system/impl.cpp | Ghabriel/ecs-arkanoid | af005bc89ce535616c7a006c7c76b2a414c90901 | [
"Apache-2.0"
] | 1 | 2019-07-12T04:54:44.000Z | 2019-07-12T04:54:44.000Z | src/systems/launching-system/impl.cpp | Ghabriel/ecs-arkanoid | af005bc89ce535616c7a006c7c76b2a414c90901 | [
"Apache-2.0"
] | null | null | null | src/systems/launching-system/impl.cpp | Ghabriel/ecs-arkanoid | af005bc89ce535616c7a006c7c76b2a414c90901 | [
"Apache-2.0"
] | null | null | null | #include "include.hpp"
#include "../../helpers/ball-paddle-contact.hpp"
void useLaunchingSystem(ecs::World& world) {
ecs::Entity paddleId = world.unique<Paddle>();
const Position& paddlePos = world.getData<Position>(paddleId);
world.findAll<Ball>()
.join<Position>()
.forEach(
... | 29.117647 | 83 | 0.620202 | Ghabriel |
f6f306e7879aec5880387d3f63ee4c4c28ead300 | 11,938 | cxx | C++ | vendor/fltk-sys/cfltk/fltk/src/drivers/Pico/Fl_Pico_Graphics_Driver.cxx | dareludum/icfpc2020 | a4fae7389da30a8f1d151df00752290ec2472b84 | [
"MIT"
] | null | null | null | vendor/fltk-sys/cfltk/fltk/src/drivers/Pico/Fl_Pico_Graphics_Driver.cxx | dareludum/icfpc2020 | a4fae7389da30a8f1d151df00752290ec2472b84 | [
"MIT"
] | null | null | null | vendor/fltk-sys/cfltk/fltk/src/drivers/Pico/Fl_Pico_Graphics_Driver.cxx | dareludum/icfpc2020 | a4fae7389da30a8f1d151df00752290ec2472b84 | [
"MIT"
] | null | null | null | //
// Rectangle drawing routines for the Fast Light Tool Kit (FLTK).
//
// Copyright 1998-2020 by Bill Spitzak and others.
//
// This library is free software. Distribution and use rights are outlined in
// the file "COPYING" which should have been included with this file. If this
// file is missing or damaged, see th... | 23.546351 | 169 | 0.546406 | dareludum |
f6f3847ed066e65f3b74567c02a2bc888b41354d | 2,812 | cpp | C++ | network/http/src/http/plugin.cpp | naazgull/zapata | e5734ff88a17b261a2f4547fa47f01dbb1a69d84 | [
"Unlicense"
] | 9 | 2016-08-10T16:51:23.000Z | 2020-04-08T22:07:47.000Z | network/http/src/http/plugin.cpp | naazgull/zapata | e5734ff88a17b261a2f4547fa47f01dbb1a69d84 | [
"Unlicense"
] | 78 | 2015-02-25T15:16:02.000Z | 2021-10-31T15:58:15.000Z | network/http/src/http/plugin.cpp | naazgull/zapata | e5734ff88a17b261a2f4547fa47f01dbb1a69d84 | [
"Unlicense"
] | 7 | 2015-01-13T14:39:21.000Z | 2018-11-24T06:48:09.000Z | /*
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or distribute
this software, either in source code form or as a compiled binary, for any
purpose, commercial or non-commercial, and by any means.
In jurisdictions that reco... | 42.606061 | 92 | 0.665363 | naazgull |
f6f4a46ebc90aeca38bdab2980a582bf373a19c1 | 483 | cpp | C++ | Part I - The Basics/Chapter 4 - Computation/Exercises/ch_4_ex_11.cpp | vjavs/Programming | ef1eed5c0a2782dd3ef1c0453460c93384dab41b | [
"MIT"
] | 2 | 2020-04-13T20:46:23.000Z | 2020-06-09T04:38:15.000Z | Part I - The Basics/Chapter 4 - Computation/Exercises/ch_4_ex_11.cpp | vjavs/Programming | ef1eed5c0a2782dd3ef1c0453460c93384dab41b | [
"MIT"
] | null | null | null | Part I - The Basics/Chapter 4 - Computation/Exercises/ch_4_ex_11.cpp | vjavs/Programming | ef1eed5c0a2782dd3ef1c0453460c93384dab41b | [
"MIT"
] | null | null | null | //Copyright 2016 Vinicius Sa (viniciusjavs@gmail.com)
//Chapter 4, Exercise 11
/*
* Program to find all the prime numbers
* between 1 and 100.
*/
#include "std_lib_facilities.h"
vector<int> primes = {2};
bool is_prime(int number)
{
for (int prime : primes)
if (!(number % prime)) return false;
return true;
... | 17.888889 | 53 | 0.616977 | vjavs |
f6f67eda841d96be20cbe78b0ec788c60d887bc9 | 607 | cpp | C++ | boj/silver/2740.cpp | pseudowasabi/Resolucion-de-problemas | 47164c106d666aa07a48b8c2909a3d81f26d3dc9 | [
"MIT"
] | null | null | null | boj/silver/2740.cpp | pseudowasabi/Resolucion-de-problemas | 47164c106d666aa07a48b8c2909a3d81f26d3dc9 | [
"MIT"
] | null | null | null | boj/silver/2740.cpp | pseudowasabi/Resolucion-de-problemas | 47164c106d666aa07a48b8c2909a3d81f26d3dc9 | [
"MIT"
] | 1 | 2020-03-14T10:58:54.000Z | 2020-03-14T10:58:54.000Z | // 2740
#include <iostream>
using namespace std;
int n, m, k;
int a[100][100], b[100][100], c[100][100];
int main() {
cin >> n >> m;
for(int i=0;i<n;++i) {
for(int j=0;j<m;++j) {
cin >> a[i][j];
}
}
cin >> m >> k;
for(int i=0;i<m;++i) {
for(int j=0;j<k;++j) {
... | 18.96875 | 47 | 0.329489 | pseudowasabi |
f6f6bf23efb7f645b65fd277ec36a793dcfa1fa5 | 5,676 | cpp | C++ | src/Tracker/graph/GTL/src/gml_parser.cpp | xzou999/Multitarget-tracker | 94b22341d009c9585d08fcb64c25859283f86e7d | [
"Apache-2.0"
] | 1,801 | 2015-01-19T16:28:03.000Z | 2022-03-31T12:28:56.000Z | src/Tracker/graph/GTL/src/gml_parser.cpp | xzou999/Multitarget-tracker | 94b22341d009c9585d08fcb64c25859283f86e7d | [
"Apache-2.0"
] | 168 | 2016-03-02T06:23:20.000Z | 2022-03-25T12:29:37.000Z | src/Tracker/graph/GTL/src/gml_parser.cpp | xzou999/Multitarget-tracker | 94b22341d009c9585d08fcb64c25859283f86e7d | [
"Apache-2.0"
] | 608 | 2015-01-19T16:27:51.000Z | 2022-03-30T02:07:56.000Z | /* This software is distributed under the GNU Lesser General Public License */
//==========================================================================
//
// gml_parser.cpp - parser for the GML-file-format specified in:
// Michael Himsolt, GML: Graph Modelling Language,
// 21... | 19.985915 | 78 | 0.548978 | xzou999 |
f6f759da6a412722907e06bdb4200cfd1c90ca37 | 144 | cpp | C++ | SilverEngine/system/default_code.cpp | JoseLRM/SilverEngine | c23586f4c953161e3b2ba5b473655105b8987774 | [
"Apache-2.0"
] | 14 | 2020-10-07T17:55:55.000Z | 2021-12-29T22:49:50.000Z | SilverEngine/system/default_code.cpp | JoseLRM/SilverEngine | c23586f4c953161e3b2ba5b473655105b8987774 | [
"Apache-2.0"
] | null | null | null | SilverEngine/system/default_code.cpp | JoseLRM/SilverEngine | c23586f4c953161e3b2ba5b473655105b8987774 | [
"Apache-2.0"
] | null | null | null | #include "SilverEngine.h"
using namespace sv;
SV_USER void initialize_game()
{
set_scene("Main");
}
SV_USER void update_scene()
{
}
| 10.285714 | 30 | 0.680556 | JoseLRM |
f6f89fb6b9ceaf5e89a5573ba6a717fdf1ba5435 | 3,882 | hpp | C++ | src/NumericalAlgorithms/DiscontinuousGalerkin/NormalDotFlux.hpp | nilsvu/spectre | 1455b9a8d7e92db8ad600c66f54795c29c3052ee | [
"MIT"
] | 117 | 2017-04-08T22:52:48.000Z | 2022-03-25T07:23:36.000Z | src/NumericalAlgorithms/DiscontinuousGalerkin/NormalDotFlux.hpp | GitHimanshuc/spectre | 4de4033ba36547113293fe4dbdd77591485a4aee | [
"MIT"
] | 3,177 | 2017-04-07T21:10:18.000Z | 2022-03-31T23:55:59.000Z | src/NumericalAlgorithms/DiscontinuousGalerkin/NormalDotFlux.hpp | geoffrey4444/spectre | 9350d61830b360e2d5b273fdd176dcc841dbefb0 | [
"MIT"
] | 85 | 2017-04-07T19:36:13.000Z | 2022-03-01T10:21:00.000Z | // Distributed under the MIT License.
// See LICENSE.txt for details.
#pragma once
#include <cstddef>
#include <string>
#include "DataStructures/DataBox/PrefixHelpers.hpp"
#include "DataStructures/DataBox/Prefixes.hpp"
#include "DataStructures/DataBox/Tag.hpp"
#include "DataStructures/Tensor/EagerMath/Magnitude.hpp"... | 37.68932 | 80 | 0.688047 | nilsvu |
f6fdc76ca6172499a3c0f61a570a9c88bfd63ea8 | 9,321 | cpp | C++ | c2000/C2000Ware_1_00_06_00/utilities/flash_programmers/serial_flash_programmer/serial_flash_programmer/source/f021_DownloadImage.cpp | jwestmoreland/ForHPSDR | bf121ce2f03027c408dd1bed6bb8a747fdb6d648 | [
"Unlicense"
] | null | null | null | c2000/C2000Ware_1_00_06_00/utilities/flash_programmers/serial_flash_programmer/serial_flash_programmer/source/f021_DownloadImage.cpp | jwestmoreland/ForHPSDR | bf121ce2f03027c408dd1bed6bb8a747fdb6d648 | [
"Unlicense"
] | null | null | null | c2000/C2000Ware_1_00_06_00/utilities/flash_programmers/serial_flash_programmer/serial_flash_programmer/source/f021_DownloadImage.cpp | jwestmoreland/ForHPSDR | bf121ce2f03027c408dd1bed6bb8a747fdb6d648 | [
"Unlicense"
] | 1 | 2021-07-21T08:10:37.000Z | 2021-07-21T08:10:37.000Z | //###########################################################################
// FILE: f021_DownloadIimage.cpp
// TITLE: Download Image function for f021 devices.
//
// This function is used to communicate and download with the device. For
// F021 devices, the serial flash programmer sends the application the same... | 27.823881 | 96 | 0.605407 | jwestmoreland |
1002ec3250ea00615f3f645dbbd0268f370a75a2 | 2,371 | hpp | C++ | modules/models/behavior/behavior_model.hpp | ChenyangTang1/bark | c4215be6464c249639b8c7b390684bd13100b41e | [
"MIT"
] | null | null | null | modules/models/behavior/behavior_model.hpp | ChenyangTang1/bark | c4215be6464c249639b8c7b390684bd13100b41e | [
"MIT"
] | null | null | null | modules/models/behavior/behavior_model.hpp | ChenyangTang1/bark | c4215be6464c249639b8c7b390684bd13100b41e | [
"MIT"
] | null | null | null | // Copyright (c) 2019 fortiss GmbH, Julian Bernhard, Klemens Esterle, Patrick Hart, Tobias Kessler
//
// This work is licensed under the terms of the MIT license.
// For a copy, see <https://opensource.org/licenses/MIT>.
#ifndef MODULES_MODELS_BEHAVIOR_BEHAVIOR_MODEL_HPP_
#define MODULES_MODELS_BEHAVIOR_BEHAVIOR_MODE... | 29.271605 | 98 | 0.767609 | ChenyangTang1 |
100b5adc33ae166d2d6625c4ed4a102014fd322c | 1,293 | hxx | C++ | src/Launcher/AppConsole.hxx | sasobadovinac/CADRays | b6b6dff7bbcaae9ebf1fe079459ea17eda1a3827 | [
"CC0-1.0"
] | 14 | 2019-12-12T05:12:07.000Z | 2021-12-19T08:21:57.000Z | src/Launcher/AppConsole.hxx | sasobadovinac/CADRays | b6b6dff7bbcaae9ebf1fe079459ea17eda1a3827 | [
"CC0-1.0"
] | null | null | null | src/Launcher/AppConsole.hxx | sasobadovinac/CADRays | b6b6dff7bbcaae9ebf1fe079459ea17eda1a3827 | [
"CC0-1.0"
] | 3 | 2020-10-11T14:36:00.000Z | 2022-02-06T14:17:43.000Z | // Created: 2016-10-06
//
// Copyright (c) 2019 OPEN CASCADE SAS
//
// This file is a part of CADRays software.
//
// CADRays is free software; you can use it under the terms of the MIT license,
// refer to file LICENSE.txt for complete text of the license and disclaimer of
// any warranty.
#ifndef _AppConsole_Header... | 23.944444 | 91 | 0.698376 | sasobadovinac |
100e7bb588889d9309641ac3b648d6500e8a6fd6 | 388 | cpp | C++ | notes/day3/code/37-streaming-operators.cpp | ajbennieston/cpp | e43687b4289c2e07c0c9c87b4c0003abf4e2a054 | [
"BSD-2-Clause"
] | 2 | 2020-06-08T16:23:49.000Z | 2020-06-08T23:33:29.000Z | notes/day3/code/37-streaming-operators.cpp | ajbennieston/cpp | e43687b4289c2e07c0c9c87b4c0003abf4e2a054 | [
"BSD-2-Clause"
] | 1 | 2015-12-07T22:55:35.000Z | 2015-12-07T22:55:35.000Z | notes/day3/code/37-streaming-operators.cpp | ajbennieston/cpp | e43687b4289c2e07c0c9c87b4c0003abf4e2a054 | [
"BSD-2-Clause"
] | null | null | null | /*
* C++ Notes Accompanying Code
* Compile: Y
* Compile Should Succeed: Y
* Run: Y
* Run Should Succeed: Y
*/
#include <iostream>
struct FourVector {
double some_value;
};
// NOTES: BEGIN INCLUSION
std::istream& operator>>(std::istream& in, FourVector& vec);
std::ostream& operator<<(std::ostream& out, const ... | 18.47619 | 67 | 0.67268 | ajbennieston |
100f01e43a550d78ef030eb9020a83844166852d | 1,137 | cc | C++ | Codeforces/1008/C/sol.cc | angrajales/CompetitiveProgramming | 497a5a4ecf61defdce6534160125f027aa69cc49 | [
"Apache-2.0"
] | null | null | null | Codeforces/1008/C/sol.cc | angrajales/CompetitiveProgramming | 497a5a4ecf61defdce6534160125f027aa69cc49 | [
"Apache-2.0"
] | null | null | null | Codeforces/1008/C/sol.cc | angrajales/CompetitiveProgramming | 497a5a4ecf61defdce6534160125f027aa69cc49 | [
"Apache-2.0"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
int a[100005];
map<int, int> mp;
int main(){
ios::sync_with_stdio(false);
cin.tie(0);
int n;
cin >> n;
for(int i = 0; i < n; ++i){
cin >> a[i];
mp[a[i]]++;
}
sort(a, a + n);
int res = 0;
int diff = 0;
for(int i = 1; i < n; ++i){
if(a[i] == ... | 19.947368 | 35 | 0.352682 | angrajales |
101094306b5575aadd5793013aac638b8ac5fc2c | 2,546 | cpp | C++ | test/TestOperators.cpp | rigred/VC4C | 6c900c0e2fae2cbdd22c5adb044f385ae005468a | [
"MIT"
] | null | null | null | test/TestOperators.cpp | rigred/VC4C | 6c900c0e2fae2cbdd22c5adb044f385ae005468a | [
"MIT"
] | null | null | null | test/TestOperators.cpp | rigred/VC4C | 6c900c0e2fae2cbdd22c5adb044f385ae005468a | [
"MIT"
] | null | null | null | /*
* Author: doe300
*
* See the file "LICENSE" for the full license governing this code.
*/
#include "TestOperators.h"
#include "Module.h"
#include "Values.h"
#include "intrinsics/Operators.h"
#include "intermediate/operators.h"
using namespace vc4c;
using namespace vc4c::intrinsics;
using namespace vc4c::opera... | 33.5 | 118 | 0.744305 | rigred |
1011445fd98cf0449acc25cf173693477cd2fc93 | 8,413 | cc | C++ | proxy/logging/YamlLogConfig.cc | zwoop/trafficserver | 140d1dd9cc5dd79608ff4c03ac29f53af4bf23ba | [
"Apache-2.0"
] | null | null | null | proxy/logging/YamlLogConfig.cc | zwoop/trafficserver | 140d1dd9cc5dd79608ff4c03ac29f53af4bf23ba | [
"Apache-2.0"
] | null | null | null | proxy/logging/YamlLogConfig.cc | zwoop/trafficserver | 140d1dd9cc5dd79608ff4c03ac29f53af4bf23ba | [
"Apache-2.0"
] | null | null | null | /** @file
@section license License
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, Versi... | 32.992157 | 128 | 0.650779 | zwoop |
101986aa3fc992daecac138ebd7107bc8c3909a0 | 4,654 | cpp | C++ | pcap_parsers/jsproxy_pcap_password_bruteforce/src/main.cpp | Bram-Wel/routeros | 21d721384c25edbca66a3d52c853edc9faa83cad | [
"BSD-3-Clause"
] | 732 | 2018-10-07T14:51:37.000Z | 2022-03-31T09:25:20.000Z | pcap_parsers/jsproxy_pcap_password_bruteforce/src/main.cpp | Bram-Wel/routeros | 21d721384c25edbca66a3d52c853edc9faa83cad | [
"BSD-3-Clause"
] | 22 | 2018-10-09T06:49:35.000Z | 2020-05-17T07:43:20.000Z | pcap_parsers/jsproxy_pcap_password_bruteforce/src/main.cpp | Bram-Wel/routeros | 21d721384c25edbca66a3d52c853edc9faa83cad | [
"BSD-3-Clause"
] | 401 | 2018-10-07T16:28:58.000Z | 2022-03-30T09:17:47.000Z | #include <cstdlib>
#include <pcap.h>
#include <iostream>
#include <boost/cstdint.hpp>
#include <boost/program_options.hpp>
#include "session_parser.hpp"
namespace
{
const char s_version[] = "JSProxy Password Bruteforce version 1.0.0";
bool parseCommandLine(int p_argCount, const char* p_argArray[],
... | 29.27044 | 118 | 0.532875 | Bram-Wel |
1019e2d9e54f2e331acc928fa2fd212e24462d97 | 544 | cpp | C++ | net.ssa/Dima/bge.root/bge/bge/stdafx.cpp | ixray-team/xray-vss-archive | b245c8601dcefb505b4b51f58142da6769d4dc92 | [
"Linux-OpenIB"
] | 1 | 2022-03-26T17:00:19.000Z | 2022-03-26T17:00:19.000Z | Dima/bge.root/bge/bge/stdafx.cpp | ixray-team/xray-vss-archive | b245c8601dcefb505b4b51f58142da6769d4dc92 | [
"Linux-OpenIB"
] | null | null | null | Dima/bge.root/bge/bge/stdafx.cpp | ixray-team/xray-vss-archive | b245c8601dcefb505b4b51f58142da6769d4dc92 | [
"Linux-OpenIB"
] | 1 | 2022-03-26T17:00:21.000Z | 2022-03-26T17:00:21.000Z | ////////////////////////////////////////////////////////////////////////////
// Module : stdafx.cpp
// Created : 01.10.2004
// Modified : 01.10.2004
// Author : Dmitriy Iassenev
// Description : Standard precompiled header
////////////////////////////////////////////////////////////////////////////
#prag... | 27.2 | 78 | 0.465074 | ixray-team |
101b5c77385b58ac91e5c4d82cd54080198602c4 | 2,879 | cpp | C++ | ch12/dense_RGBD/surfel_mapping.cpp | TongLing916/slambook2 | 73adc5a0228d449d6eaa9e7de162a684e174d17e | [
"MIT"
] | null | null | null | ch12/dense_RGBD/surfel_mapping.cpp | TongLing916/slambook2 | 73adc5a0228d449d6eaa9e7de162a684e174d17e | [
"MIT"
] | null | null | null | ch12/dense_RGBD/surfel_mapping.cpp | TongLing916/slambook2 | 73adc5a0228d449d6eaa9e7de162a684e174d17e | [
"MIT"
] | null | null | null | #include <pcl/io/pcd_io.h>
#include <pcl/kdtree/kdtree_flann.h>
#include <pcl/point_cloud.h>
#include <pcl/point_types.h>
#include <pcl/surface/gp3.h>
#include <pcl/surface/mls.h>
#include <pcl/surface/surfel_smoothing.h>
#include <pcl/visualization/pcl_visualizer.h>
#include <pcl/surface/impl/mls.hpp>
using PointT = ... | 33.476744 | 76 | 0.716568 | TongLing916 |
101c61781a66ae02069ea2e45a40280330d99f95 | 50,760 | cpp | C++ | src/masternodes/rpc_oracles.cpp | Bushstar/ain | c0a25f727f32c1b2c32a5120059276ec97e38bd2 | [
"MIT"
] | null | null | null | src/masternodes/rpc_oracles.cpp | Bushstar/ain | c0a25f727f32c1b2c32a5120059276ec97e38bd2 | [
"MIT"
] | null | null | null | src/masternodes/rpc_oracles.cpp | Bushstar/ain | c0a25f727f32c1b2c32a5120059276ec97e38bd2 | [
"MIT"
] | null | null | null | // Copyright (c) DeFi Blockchain Developers
// Distributed under the MIT software license, see the accompanying
// file LICENSE or http://www.opensource.org/licenses/mit-license.php.
#include <masternodes/mn_rpc.h>
extern CTokenCurrencyPair DecodePriceFeedUni(const UniValue& value);
extern CTokenCurrencyPair DecodePr... | 44.0625 | 222 | 0.542967 | Bushstar |
101cca3efbd1f185052abe746dbe79b0005ad0e9 | 5,325 | cpp | C++ | Hashing/ExtendibleHashingDoubleBuffering.cpp | siddharth2010/DBMS | f986cb95658a63f76ae5f9affc54cae82aff72ea | [
"MIT"
] | null | null | null | Hashing/ExtendibleHashingDoubleBuffering.cpp | siddharth2010/DBMS | f986cb95658a63f76ae5f9affc54cae82aff72ea | [
"MIT"
] | null | null | null | Hashing/ExtendibleHashingDoubleBuffering.cpp | siddharth2010/DBMS | f986cb95658a63f76ae5f9affc54cae82aff72ea | [
"MIT"
] | 1 | 2019-10-28T05:58:33.000Z | 2019-10-28T05:58:33.000Z | #include <bits/stdc++.h>
using namespace std;
class Bucket{
vector <int> m;
int localdepth;
int size;
public:
Bucket(int depth, int size){
this->size = size;
this->localdepth = depth;
}
int getsize();
bool isEmpty();
int insert(int key);
int search(int key);
void copy(vector <int> &temp)... | 22.75641 | 105 | 0.56939 | siddharth2010 |
101d2847a913dc8dbc0be0658fa4b07223e3adea | 2,409 | cpp | C++ | src/PCRegistration/estimate_plane.cpp | iakov/mrob | fdbb0cf1b2a0e32eb9bad655e54222c85279a91d | [
"Apache-2.0"
] | 12 | 2020-09-22T15:33:48.000Z | 2022-03-02T17:27:39.000Z | src/PCRegistration/estimate_plane.cpp | iakov/mrob | fdbb0cf1b2a0e32eb9bad655e54222c85279a91d | [
"Apache-2.0"
] | 46 | 2020-09-22T15:47:08.000Z | 2022-01-22T10:56:44.000Z | src/PCRegistration/estimate_plane.cpp | iakov/mrob | fdbb0cf1b2a0e32eb9bad655e54222c85279a91d | [
"Apache-2.0"
] | 9 | 2020-09-22T15:59:33.000Z | 2021-12-20T20:15:16.000Z | /* Copyright (c) 2018, Skolkovo Institute of Science and Technology (Skoltech)
*
* 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
*
* U... | 27.375 | 120 | 0.674969 | iakov |
101d284fd8db7b112d51a84c1c5a4a16d645699a | 1,329 | cpp | C++ | Chapter05/06_thread_specific_ptr/main.cpp | apolukhin/boost-cookbook | 912e36f38b9b1da93b03ae7afd19fcec0900aa83 | [
"BSL-1.0"
] | 313 | 2017-05-28T15:30:57.000Z | 2022-03-15T12:32:40.000Z | Chapter05/06_thread_specific_ptr/main.cpp | apolukhin/boost-cookbook | 912e36f38b9b1da93b03ae7afd19fcec0900aa83 | [
"BSL-1.0"
] | 15 | 2021-12-07T06:46:03.000Z | 2022-01-31T07:55:32.000Z | Chapter05/06_thread_specific_ptr/main.cpp | apolukhin/boost-cookbook | 912e36f38b9b1da93b03ae7afd19fcec0900aa83 | [
"BSL-1.0"
] | 85 | 2017-05-28T16:47:33.000Z | 2022-03-30T10:04:55.000Z | #include <boost/noncopyable.hpp>
class connection: boost::noncopyable {
public:
// Opening a connection is a slow operation
void open();
void send_result(int result);
// Other methods
// ...
int open_count_;
connection(): open_count_(0) {}
};
// In header file:
connection& get_connection... | 18.458333 | 54 | 0.610233 | apolukhin |
101f4de6536af5bd5864d2fe9382c8bf94af8901 | 9,222 | cpp | C++ | src/core/net/ip6_address.cpp | yuzhyang/openthread | 38f206c6708d8fc7eae21db6ff3e3a50a2053b58 | [
"BSD-3-Clause"
] | null | null | null | src/core/net/ip6_address.cpp | yuzhyang/openthread | 38f206c6708d8fc7eae21db6ff3e3a50a2053b58 | [
"BSD-3-Clause"
] | null | null | null | src/core/net/ip6_address.cpp | yuzhyang/openthread | 38f206c6708d8fc7eae21db6ff3e3a50a2053b58 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2016, The OpenThread Authors.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this ... | 27.777108 | 114 | 0.621882 | yuzhyang |
1020075405e5e1d2d2718351f75ce12b593668f3 | 3,281 | cpp | C++ | src/node/address_verifier.cpp | datavetaren/prologcoin | 8583db7d99a8007f634210aefdfb92bf45596fd3 | [
"MIT"
] | 38 | 2017-06-14T07:13:10.000Z | 2022-02-16T15:41:25.000Z | src/node/address_verifier.cpp | datavetaren/prologcoin | 8583db7d99a8007f634210aefdfb92bf45596fd3 | [
"MIT"
] | 10 | 2017-07-01T11:13:10.000Z | 2021-02-27T05:40:30.000Z | src/node/address_verifier.cpp | datavetaren/prologcoin | 8583db7d99a8007f634210aefdfb92bf45596fd3 | [
"MIT"
] | 7 | 2017-07-05T20:38:51.000Z | 2021-08-02T04:30:46.000Z | #include "../common/term_match.hpp"
#include "../common/checked_cast.hpp"
#include "self_node.hpp"
#include "address_verifier.hpp"
#include "local_interpreter.hpp"
using namespace prologcoin::common;
namespace prologcoin { namespace node {
task_address_verifier::task_address_verifier(out_connection *out)
: out_t... | 25.834646 | 68 | 0.625114 | datavetaren |
1020c1041b460d8354ddafdddcf643eefd91e1a1 | 82,271 | cpp | C++ | src/common/isc_sync.cpp | sas9mba/FB-ISQL-autopadding | 033393aa80de4274ed9469767464e9b189b26838 | [
"Condor-1.1"
] | null | null | null | src/common/isc_sync.cpp | sas9mba/FB-ISQL-autopadding | 033393aa80de4274ed9469767464e9b189b26838 | [
"Condor-1.1"
] | null | null | null | src/common/isc_sync.cpp | sas9mba/FB-ISQL-autopadding | 033393aa80de4274ed9469767464e9b189b26838 | [
"Condor-1.1"
] | null | null | null | /*
* PROGRAM: JRD Access Method
* MODULE: isc_sync.cpp
* DESCRIPTION: OS-dependent IPC: shared memory, mutex and event.
*
* The contents of this file are subject to the Interbase Public
* License Version 1.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a cop... | 22.181451 | 113 | 0.661825 | sas9mba |
1020c52fe321c6be40b61613dac93316ccdf78c6 | 78,489 | hpp | C++ | common/workunit/workunit.hpp | lucasmauro/HPCC-Platform | 6df37c79a97bfb02f068c44d2635ffffc5b090c0 | [
"Apache-2.0"
] | null | null | null | common/workunit/workunit.hpp | lucasmauro/HPCC-Platform | 6df37c79a97bfb02f068c44d2635ffffc5b090c0 | [
"Apache-2.0"
] | null | null | null | common/workunit/workunit.hpp | lucasmauro/HPCC-Platform | 6df37c79a97bfb02f068c44d2635ffffc5b090c0 | [
"Apache-2.0"
] | null | null | null | /*##############################################################################
HPCC SYSTEMS software Copyright (C) 2012 HPCC Systems®.
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... | 44.723077 | 294 | 0.733479 | lucasmauro |
102167c223eba8d7e27f3f099073e83487b6677a | 2,106 | cpp | C++ | src/fixed-speed-motor.cpp | KDWLMBS/Balls-Bridge | 1c1a99ca1f755310c6a96403a5b3a347fd9ec7b0 | [
"MIT"
] | null | null | null | src/fixed-speed-motor.cpp | KDWLMBS/Balls-Bridge | 1c1a99ca1f755310c6a96403a5b3a347fd9ec7b0 | [
"MIT"
] | null | null | null | src/fixed-speed-motor.cpp | KDWLMBS/Balls-Bridge | 1c1a99ca1f755310c6a96403a5b3a347fd9ec7b0 | [
"MIT"
] | 2 | 2018-09-14T08:40:01.000Z | 2018-09-14T10:07:27.000Z | #include <cstdint>
#include <iostream>
#include <cmath>
#include "fixed-speed-motor.hpp"
FixedSpeedMotor::FixedSpeedMotor(int _index) {
//the number of the motor, useful for debugging
index = _index;
//the current position
position = 0;
//the position we want to go to
target = 0;
should... | 23.142857 | 82 | 0.562203 | KDWLMBS |
1023a7da64b26784796bb5b4be2774a58c028aec | 16,458 | hpp | C++ | stdex/include/iterator.hpp | oktonion/stdex | 592fd88a4480ba4a583dd4b74061fa560df399e3 | [
"MIT"
] | 53 | 2018-01-09T02:51:49.000Z | 2022-02-24T15:22:59.000Z | stdex/include/iterator.hpp | oktonion/stdex | 592fd88a4480ba4a583dd4b74061fa560df399e3 | [
"MIT"
] | 9 | 2018-04-17T17:53:29.000Z | 2021-01-29T12:41:35.000Z | stdex/include/iterator.hpp | oktonion/stdex | 592fd88a4480ba4a583dd4b74061fa560df399e3 | [
"MIT"
] | 6 | 2018-01-09T02:51:53.000Z | 2019-11-08T07:23:24.000Z | #ifndef _STDEX_ITERATOR_H
#define _STDEX_ITERATOR_H
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// stdex includes
// POSIX includes
// std includes
#include <iterator>
#include <cstddef> //cstddef::size_t
#ifdef _STDEX_NATIVE_CPP11_SUPPORT
#define _STDEX_DELETED_FUNCTION =delete
#define _STDEX_NOE... | 33.519348 | 130 | 0.603293 | oktonion |
1026a033205a44ca8a609faa060658f69c1fbe88 | 16,716 | cpp | C++ | Source/Voxel/Private/VoxelTools/VoxelTools.cpp | hamdiahmedamin/VoxelPlugin | f5ed7061811e9410fb31d5b2713038215df4e8be | [
"MIT"
] | 1 | 2021-12-22T02:31:46.000Z | 2021-12-22T02:31:46.000Z | Source/Voxel/Private/VoxelTools/VoxelTools.cpp | hamdiahmedamin/VoxelPlugin | f5ed7061811e9410fb31d5b2713038215df4e8be | [
"MIT"
] | null | null | null | Source/Voxel/Private/VoxelTools/VoxelTools.cpp | hamdiahmedamin/VoxelPlugin | f5ed7061811e9410fb31d5b2713038215df4e8be | [
"MIT"
] | null | null | null | // Copyright 2019 Phyronnaz
#include "VoxelTools/VoxelTools.h"
#include "VoxelLogStatDefinitions.h"
#include "DrawDebugHelpers.h"
#include "GameFramework/HUD.h"
#include "Engine/LocalPlayer.h"
#include "Kismet/GameplayStatics.h"
#include "VoxelWorldGenerators/EmptyWorldGenerator.h"
#include "VoxelData/VoxelDa... | 32.970414 | 287 | 0.603553 | hamdiahmedamin |
10274f4e095337465731147adc123743559fc9de | 1,311 | hpp | C++ | ares/md/cartridge/board/board.hpp | CasualPokePlayer/ares | 58690cd5fc7bb6566c22935c5b80504a158cca29 | [
"BSD-3-Clause"
] | 153 | 2020-07-25T17:55:29.000Z | 2021-10-01T23:45:01.000Z | ares/md/cartridge/board/board.hpp | CasualPokePlayer/ares | 58690cd5fc7bb6566c22935c5b80504a158cca29 | [
"BSD-3-Clause"
] | 176 | 2020-07-25T19:11:23.000Z | 2021-10-04T17:11:32.000Z | ares/md/cartridge/board/board.hpp | CasualPokePlayer/ares | 58690cd5fc7bb6566c22935c5b80504a158cca29 | [
"BSD-3-Clause"
] | 44 | 2020-07-25T08:51:55.000Z | 2021-09-25T16:09:01.000Z | namespace Board {
struct Interface {
VFS::Pak pak;
Interface(Cartridge& cartridge) : cartridge(cartridge) {}
virtual ~Interface() = default;
virtual auto frequency() -> u32 { return 1; }
virtual auto load() -> void {}
virtual auto unload() -> void {}
virtual auto save() -> void {}
virtual auto main() ... | 38.558824 | 118 | 0.669718 | CasualPokePlayer |
1028697774efde93ef5ba1f29fa56060fe7d9d5c | 132,283 | cpp | C++ | gui/controls/textrendering/TextRendering.cpp | mail-ru-im/im-desktop | d6bb606650ad84b31046fe39b81db1fec4e6050b | [
"Apache-2.0"
] | 81 | 2019-09-18T13:53:17.000Z | 2022-03-19T00:44:20.000Z | gui/controls/textrendering/TextRendering.cpp | mail-ru-im/im-desktop | d6bb606650ad84b31046fe39b81db1fec4e6050b | [
"Apache-2.0"
] | 4 | 2019-10-03T15:17:00.000Z | 2019-11-03T01:05:41.000Z | gui/controls/textrendering/TextRendering.cpp | mail-ru-im/im-desktop | d6bb606650ad84b31046fe39b81db1fec4e6050b | [
"Apache-2.0"
] | 25 | 2019-09-27T16:56:02.000Z | 2022-03-14T07:11:14.000Z | #include "stdafx.h"
#include "TextRenderingUtils.h"
#include "TextRendering.h"
#include "FormattedTextRendering.h"
#include "TextWordRenderer.h"
#include "utils/utils.h"
#include "utils/features.h"
#include "utils/UrlParser.h"
#include "utils/InterConnector.h"
#include "fonts.h"
using ftype = core::data::format_type... | 32.146537 | 307 | 0.518903 | mail-ru-im |
1029b095198c79dc0afc2cff230daa69eafbd0d2 | 1,108 | cpp | C++ | number_of_closed_islands.cpp | shafitek/ArXives | 67170d6bde2093703d9cd3e8efa55b61e7b5ea75 | [
"MIT"
] | null | null | null | number_of_closed_islands.cpp | shafitek/ArXives | 67170d6bde2093703d9cd3e8efa55b61e7b5ea75 | [
"MIT"
] | null | null | null | number_of_closed_islands.cpp | shafitek/ArXives | 67170d6bde2093703d9cd3e8efa55b61e7b5ea75 | [
"MIT"
] | null | null | null | // https://leetcode.com/problems/number-of-closed-islands/
class Solution
{
public:
int closedIsland(vector<vector<int>> &grid)
{
int soln = 0;
for (int i = 1; i < grid.size() - 1; i++)
{
for (int j = 1; j < grid[0].size() - 1; j++)
{
if (grid[i][... | 23.083333 | 80 | 0.365523 | shafitek |
102b87aa033b2bc8dc24604dd34202360698f752 | 15,428 | cpp | C++ | Framework/[C++ Core]/FSpriteSequence.cpp | nraptis/Metal_OpenGL_MobileGameEngine | cc36682676a9797df8b3a7ee235b99be3ae2f666 | [
"MIT"
] | 3 | 2019-10-10T19:25:42.000Z | 2019-12-17T10:51:23.000Z | Framework/[C++ Core]/FSpriteSequence.cpp | nraptis/Metal_OpenGL_MobileGameEngine | cc36682676a9797df8b3a7ee235b99be3ae2f666 | [
"MIT"
] | null | null | null | Framework/[C++ Core]/FSpriteSequence.cpp | nraptis/Metal_OpenGL_MobileGameEngine | cc36682676a9797df8b3a7ee235b99be3ae2f666 | [
"MIT"
] | 1 | 2021-11-16T15:29:40.000Z | 2021-11-16T15:29:40.000Z | //
// FSpriteSequence.cpp
// CoreDemo
//
// Created by Nick Raptis on 10/19/13.
// Copyright (c) 2013 Nick Raptis. All rights reserved.
//
#include "core_includes.h"
#include "FSpriteSequence.h"
#include "FFileTable.hpp"
FSpriteSequence::FSpriteSequence()
{
mWidth = 0.0f;
mHeight = 0.0f;
}
FSpriteSequenc... | 26.831304 | 151 | 0.555743 | nraptis |
102d1ba5c5f1bf95f5b4e3c67211dfa3b2574ab9 | 1,197 | cpp | C++ | codeforces/B - Balls of Buma/Accepted.cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | 1 | 2022-02-11T16:55:36.000Z | 2022-02-11T16:55:36.000Z | codeforces/B - Balls of Buma/Accepted.cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | null | null | null | codeforces/B - Balls of Buma/Accepted.cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | null | null | null | /****************************************************************************************
* @author: kzvd4729 created: Dec/01/2019 13:22
* solution_verdict: Accepted language: GNU C++14
* run... | 29.925 | 111 | 0.385965 | kzvd4729 |
102edd86a2ad761cd39054910fec4d178408e1cc | 4,261 | cpp | C++ | src/Core/Utils/StringUtils.cpp | mjopenglsdl/ObEngine | a56116c8cdf1ce30b7fadb749f8ca4df54e5ee36 | [
"MIT"
] | null | null | null | src/Core/Utils/StringUtils.cpp | mjopenglsdl/ObEngine | a56116c8cdf1ce30b7fadb749f8ca4df54e5ee36 | [
"MIT"
] | null | null | null | src/Core/Utils/StringUtils.cpp | mjopenglsdl/ObEngine | a56116c8cdf1ce30b7fadb749f8ca4df54e5ee36 | [
"MIT"
] | null | null | null | #include <algorithm>
#include <clocale>
#include <cctype>
#include <Utils/MathUtils.hpp>
#include <Utils/StringUtils.hpp>
#include <Utils/VectorUtils.hpp>
namespace obe::Utils::String
{
std::vector<std::string> split(const std::string& str, const std::string& delimiters)
{
std::vector<std::string> tok... | 30.654676 | 117 | 0.551748 | mjopenglsdl |
102f163ad449686e13332fb416e1e260182b93f5 | 16,790 | cpp | C++ | Test.cpp | MarkMichaely/number-with-units | 86671e694ca60d963b90ec1a3d8fa7e28d3bbf70 | [
"MIT"
] | null | null | null | Test.cpp | MarkMichaely/number-with-units | 86671e694ca60d963b90ec1a3d8fa7e28d3bbf70 | [
"MIT"
] | null | null | null | Test.cpp | MarkMichaely/number-with-units | 86671e694ca60d963b90ec1a3d8fa7e28d3bbf70 | [
"MIT"
] | null | null | null | /**
* unit test of board.cpp
* AUTHORS: <Mark Michaely>
*
* Date: 2021-04
*/
#include "doctest.h"
#include "NumberWithUnits.hpp"
using namespace ariel;
#include <string>
using namespace std;
TEST_CASE("0: Testing EQ and NE"){
CHECK_EQ(NumberWithUnits{1,"km"},NumberWithUnits(1000,"m"));
CHECK_EQ(Numbe... | 43.83812 | 107 | 0.631686 | MarkMichaely |
103022d45f9989d581c9bd0e0a2baaaa84449bce | 15,649 | cpp | C++ | src/pow/diff_delta.cpp | guldenpay/gulden-official | 4ae4cc4143ed9c1c15896fe81ad5b64f43829e1b | [
"MIT"
] | 1 | 2015-09-27T07:07:57.000Z | 2015-09-27T07:07:57.000Z | src/pow/diff_delta.cpp | guldenpay/gulden-official | 4ae4cc4143ed9c1c15896fe81ad5b64f43829e1b | [
"MIT"
] | null | null | null | src/pow/diff_delta.cpp | guldenpay/gulden-official | 4ae4cc4143ed9c1c15896fe81ad5b64f43829e1b | [
"MIT"
] | null | null | null | // Copyright (c) 2015-2018 The Gulden developers
// Authored by: Frank (dt_cdog@yahoo.com) and Malcolm MacLeod (mmacleod@gmx.com)
// Distributed under the GULDEN software license, see the accompanying
// file COPYING
//
// This file contains Delta, the Gulden Difficulty Re-adjustment algorithm developed by Frank (dt_cd... | 48.599379 | 283 | 0.654035 | guldenpay |
1030c64ae5ff451162a57d795c97c2edc5d67bc5 | 9,292 | hpp | C++ | pibt2/include/solver.hpp | simwijs/pibt2 | cec6f0796cdd4e7ead9cccf177e1fbf0bfb42505 | [
"MIT"
] | null | null | null | pibt2/include/solver.hpp | simwijs/pibt2 | cec6f0796cdd4e7ead9cccf177e1fbf0bfb42505 | [
"MIT"
] | null | null | null | pibt2/include/solver.hpp | simwijs/pibt2 | cec6f0796cdd4e7ead9cccf177e1fbf0bfb42505 | [
"MIT"
] | null | null | null | #pragma once
#include <getopt.h>
#include <chrono>
#include <functional>
#include <memory>
#include <queue>
#include <unordered_map>
#include "paths.hpp"
#include "plan.hpp"
#include "problem.hpp"
#include "util.hpp"
class MinimumSolver
{
protected:
std::string solver_name; // solver name
Graph* const G; ... | 30.565789 | 80 | 0.611924 | simwijs |
1030d9e4540605f05e21867d6e6f2116237f9e3a | 1,532 | hpp | C++ | external/boost_1_60_0/qsboost/phoenix/core/visit_each.hpp | wouterboomsma/quickstep | a33447562eca1350c626883f21c68125bd9f776c | [
"MIT"
] | 1 | 2019-06-27T17:54:13.000Z | 2019-06-27T17:54:13.000Z | external/boost_1_60_0/qsboost/phoenix/core/visit_each.hpp | wouterboomsma/quickstep | a33447562eca1350c626883f21c68125bd9f776c | [
"MIT"
] | null | null | null | external/boost_1_60_0/qsboost/phoenix/core/visit_each.hpp | wouterboomsma/quickstep | a33447562eca1350c626883f21c68125bd9f776c | [
"MIT"
] | null | null | null | /*==============================================================================
Copyright (c) 2005-2010 Joel de Guzman
Copyright (c) 2010 Thomas Heller
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)
===... | 30.64 | 80 | 0.58812 | wouterboomsma |
103135301bfeefbfc74f6e21efef978d0c2ad2b6 | 7,958 | cc | C++ | chapter-acceleration/opencl/gol.cc | Mark1626/road-to-plus-plus | 500db757051e32e6ccd144b70171c826527610d4 | [
"CC0-1.0"
] | 1 | 2021-07-04T12:41:16.000Z | 2021-07-04T12:41:16.000Z | chapter-acceleration/opencl/gol.cc | Mark1626/road-to-plus-plus | 500db757051e32e6ccd144b70171c826527610d4 | [
"CC0-1.0"
] | null | null | null | chapter-acceleration/opencl/gol.cc | Mark1626/road-to-plus-plus | 500db757051e32e6ccd144b70171c826527610d4 | [
"CC0-1.0"
] | null | null | null | #include <OpenCL/opencl.h>
#include <cstddef>
#include <fstream>
#include <iostream>
#include <string>
#include <vector>
#define WITH_PPM
// #define GPU
#ifdef WITH_PPM
#include <cstdio>
#include "ppm.h"
#endif
using std::string;
void check_status(cl_int ret, std::string msg) {
if (ret != CL_SUCCESS) {
std::c... | 25.754045 | 80 | 0.591857 | Mark1626 |
103412f0ba3e82de30b4bbe192db17b820ad369f | 7,929 | cc | C++ | test/channel_transport/traffic_control_win.cc | aleonliao/webrtc-3.31 | a282cc166883aea82a8149d64e82ca29aa9f27f1 | [
"DOC",
"BSD-3-Clause"
] | 7 | 2015-08-06T01:46:07.000Z | 2020-10-20T09:14:58.000Z | test/channel_transport/traffic_control_win.cc | aleonliao/webrtc-3.31 | a282cc166883aea82a8149d64e82ca29aa9f27f1 | [
"DOC",
"BSD-3-Clause"
] | null | null | null | test/channel_transport/traffic_control_win.cc | aleonliao/webrtc-3.31 | a282cc166883aea82a8149d64e82ca29aa9f27f1 | [
"DOC",
"BSD-3-Clause"
] | 16 | 2015-01-08T01:47:24.000Z | 2022-02-25T06:06:06.000Z | /*
* Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | 30.732558 | 80 | 0.619246 | aleonliao |
1034dbdf9b555a9f775e4bc40db2c03789fa6979 | 10,925 | cc | C++ | lib/msan/msan_allocator.cc | andestech/riscv-compiler-rt | 2409b3d2f11ab6c9f357f7158f217c7e5b4a952f | [
"MIT"
] | 4 | 2017-09-11T16:48:00.000Z | 2021-03-21T17:10:27.000Z | lib/msan/msan_allocator.cc | andestech/riscv-compiler-rt | 2409b3d2f11ab6c9f357f7158f217c7e5b4a952f | [
"MIT"
] | null | null | null | lib/msan/msan_allocator.cc | andestech/riscv-compiler-rt | 2409b3d2f11ab6c9f357f7158f217c7e5b4a952f | [
"MIT"
] | 1 | 2017-10-05T01:07:38.000Z | 2017-10-05T01:07:38.000Z | //===-- msan_allocator.cc --------------------------- ---------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | 34.355346 | 80 | 0.716339 | andestech |
10353d0291258f22b31e0461123152c0a4959f78 | 5,523 | cpp | C++ | savedecrypter-master/savedecrypter/ClanLib-2.0/Sources/Core/System/keep_alive.cpp | ZephyrXD/Z-Builder-Source-CPP | f48e0f22b5d4d183b841abb8e61e1bdb5c25999d | [
"Apache-2.0"
] | 6 | 2020-11-11T15:49:11.000Z | 2021-03-08T10:29:23.000Z | savedecrypter-master/savedecrypter/ClanLib-2.0/Sources/Core/System/keep_alive.cpp | ZeppyXD/Z-Builder-Source-CPP | f48e0f22b5d4d183b841abb8e61e1bdb5c25999d | [
"Apache-2.0"
] | 1 | 2020-11-08T17:28:35.000Z | 2020-11-09T01:35:27.000Z | savedecrypter-master/savedecrypter/ClanLib-2.0/Sources/Core/System/keep_alive.cpp | ZeppyXD/Z-Builder-Source-CPP | f48e0f22b5d4d183b841abb8e61e1bdb5c25999d | [
"Apache-2.0"
] | 3 | 2021-06-26T13:00:23.000Z | 2022-02-01T02:16:50.000Z | /*
** ClanLib SDK
** Copyright (c) 1997-2010 The ClanLib Team
**
** 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 software for a... | 27.341584 | 122 | 0.749774 | ZephyrXD |
10394793ac326174be9a466a2b566fd4e6108841 | 5,037 | cpp | C++ | webExemplos1Bimestre/superCubo.cpp | taynarodrigues/OpenGL | c1309835313f2a00b07668cfddbea21a26c5b21f | [
"MIT"
] | 2 | 2020-04-05T02:38:14.000Z | 2020-04-05T02:48:18.000Z | webExemplos1Bimestre/superCubo.cpp | taynarodrigues/OpenGL--Computacao-Grafica | c1309835313f2a00b07668cfddbea21a26c5b21f | [
"MIT"
] | null | null | null | webExemplos1Bimestre/superCubo.cpp | taynarodrigues/OpenGL--Computacao-Grafica | c1309835313f2a00b07668cfddbea21a26c5b21f | [
"MIT"
] | null | null | null | //
// File: meucubo.c
// Author: Matt Daisley
// Created: 25/4/2012
// Project: Código Fonte para o artigo Como Fazer um Cubo em OpenGL
// Description: Cria uma janela OpenGL e desenha um cubo em 3D.
// Que o usuário pode rotacionar com as setas do teclado
//
// Controls: Seta para ... | 27.52459 | 87 | 0.51757 | taynarodrigues |
103b58634d5b0fe0f36255324f974f8bad583eb5 | 2,244 | hpp | C++ | lib/alice/include/alice/commands/current.hpp | hriener/esop_synthesis | 811d7fa36e1ae7b8bc2418ef751d14ac15809bf9 | [
"MIT"
] | 3 | 2018-01-06T14:10:10.000Z | 2018-01-20T10:29:47.000Z | lib/alice/include/alice/commands/current.hpp | hriener/esop_synthesis | 811d7fa36e1ae7b8bc2418ef751d14ac15809bf9 | [
"MIT"
] | null | null | null | lib/alice/include/alice/commands/current.hpp | hriener/esop_synthesis | 811d7fa36e1ae7b8bc2418ef751d14ac15809bf9 | [
"MIT"
] | null | null | null | /* alice: C++ command shell library
* Copyright (C) 2017-2018 EPFL
*
* 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... | 26.714286 | 171 | 0.690285 | hriener |
103b67ebb7ca14d6548b15bcb064346b997f720f | 611 | cpp | C++ | Engine/Flora/Render/RenderCommand.cpp | chgalante/flora | 17db42ce92925c5e9e5e3a9084747553a27cfa96 | [
"MIT"
] | 1 | 2021-07-09T03:32:51.000Z | 2021-07-09T03:32:51.000Z | Engine/Flora/Render/RenderCommand.cpp | chgalante/flora | 17db42ce92925c5e9e5e3a9084747553a27cfa96 | [
"MIT"
] | 1 | 2021-08-21T19:13:15.000Z | 2021-08-21T19:13:15.000Z | Engine/Flora/Render/RenderCommand.cpp | chgalante/flora | 17db42ce92925c5e9e5e3a9084747553a27cfa96 | [
"MIT"
] | null | null | null | #include "RenderCommand.hpp"
#include "glad/glad.h"
namespace FloraEngine {
void RenderCommand::DrawIndices(Mesh *mesh, Shader *shader) {
glBindVertexArray(mesh->VAO);
glGenBuffers(1, &mesh->VBO);
glBindBuffer(GL_ARRAY_BUFFER, mesh->VBO);
glBufferData(GL_ARRAY_BUFFER,
sizeof(mesh->mVertices),
... | 27.772727 | 80 | 0.685761 | chgalante |
103ec05bfd5fc36688b34ba9178514870653b0b3 | 2,344 | cpp | C++ | src/Modules/LayersModule/Entity/Layer.cpp | danielfilipealmeida/Orange | e0118a7d1391e74c15c707e64a2e0458d51d318f | [
"MIT"
] | null | null | null | src/Modules/LayersModule/Entity/Layer.cpp | danielfilipealmeida/Orange | e0118a7d1391e74c15c707e64a2e0458d51d318f | [
"MIT"
] | null | null | null | src/Modules/LayersModule/Entity/Layer.cpp | danielfilipealmeida/Orange | e0118a7d1391e74c15c707e64a2e0458d51d318f | [
"MIT"
] | null | null | null | //
// Layer.cpp
// orange
//
// Created by Daniel Almeida on 17/11/2018.
//
#include "Layer.hpp"
#include "BaseVisual.hpp"
#include "Video.hpp"
#include "VisualsHelpers.hpp"
using namespace Orange::Layers;
Layer::Layer()
{
name = "Layer";
alpha = 0.5;
blendMode = OF_BLENDMODE_ALPHA;
currentVisualI... | 20.206897 | 115 | 0.65401 | danielfilipealmeida |
1041a4db6a18347783387c0d52108b6155192194 | 6,617 | cpp | C++ | src/main.cpp | Zielon/ParallelQSlim | de78d7575e98d90818b8ed667528bcccb7dd8363 | [
"BSD-2-Clause"
] | 52 | 2020-11-06T21:07:12.000Z | 2022-02-17T08:43:27.000Z | src/main.cpp | DuMengByte/ParallelQSlim | de78d7575e98d90818b8ed667528bcccb7dd8363 | [
"BSD-2-Clause"
] | null | null | null | src/main.cpp | DuMengByte/ParallelQSlim | de78d7575e98d90818b8ed667528bcccb7dd8363 | [
"BSD-2-Clause"
] | 6 | 2020-11-08T22:51:49.000Z | 2021-11-12T13:32:12.000Z | #include <boost/filesystem.hpp>
#include <memory>
#include <boost/program_options.hpp>
#include <cstdio>
#include <cmath>
#include <iostream>
#include "reader/reader_factory.h"
#include "garland/models/quadric/3x3/quadric3.h"
#include "garland/models/quadric/6x6/quadric6.h"
#include "garland/models/quadric/9x9/quadric... | 36.357143 | 117 | 0.541786 | Zielon |
10458d3964caa22183085cdb9f1d078ee943ad5f | 16,654 | hpp | C++ | Axis.Yuzu/yuzu/foundation/blas/AutoRowVector.hpp | renato-yuzup/axis-fem | 2e8d325eb9c8e99285f513b4c1218ef53eb0ab22 | [
"MIT"
] | 2 | 2021-07-23T08:49:54.000Z | 2021-07-29T22:07:30.000Z | Axis.Yuzu/yuzu/foundation/blas/AutoRowVector.hpp | renato-yuzup/axis-fem | 2e8d325eb9c8e99285f513b4c1218ef53eb0ab22 | [
"MIT"
] | null | null | null | Axis.Yuzu/yuzu/foundation/blas/AutoRowVector.hpp | renato-yuzup/axis-fem | 2e8d325eb9c8e99285f513b4c1218ef53eb0ab22 | [
"MIT"
] | null | null | null | /**********************************************************************************************//**
* @file foundation/blas/AutoRowVector.hpp
*
* @brief Contains definitions of classes for vector manipulation.
**************************************************************************************************/
#pragm... | 33.441767 | 102 | 0.386754 | renato-yuzup |
1046ecaf3cc51d46637789724bc6607de8bc3507 | 10,070 | cc | C++ | nexus/core/test/tests_options.cc | mozuysal/virg-workspace | ff0df41ceb288609c5279a85d9d04dbbc178d33e | [
"BSD-3-Clause"
] | null | null | null | nexus/core/test/tests_options.cc | mozuysal/virg-workspace | ff0df41ceb288609c5279a85d9d04dbbc178d33e | [
"BSD-3-Clause"
] | 3 | 2017-02-07T11:26:33.000Z | 2017-02-07T12:43:41.000Z | nexus/core/test/tests_options.cc | mozuysal/virg-workspace | ff0df41ceb288609c5279a85d9d04dbbc178d33e | [
"BSD-3-Clause"
] | null | null | null | /**
* @file tests_options.cc
*
* This file is part of the IYTE Visual Intelligence Research Group Software Library
*
* Copyright (C) 2015 Mustafa Ozuysal. All rights reserved.
*
* @author Mustafa Ozuysal
*
* Contact mustafaozuysal@iyte.edu.tr for comments and bug reports.
*
*/
#include <cstdlib>
#include <cs... | 37.296296 | 93 | 0.614995 | mozuysal |
10481f142e59af5a7108a9a94c55ab6445e3b0c6 | 5,090 | cpp | C++ | KLEE/klee/lib/Module/Checks.cpp | YizhuoZhai/UBITect | 525866d8ca24e03cb9ddd805c4dd0d789c33cff8 | [
"MIT"
] | 26 | 2020-06-20T15:13:14.000Z | 2022-03-30T12:49:51.000Z | KLEE/klee/lib/Module/Checks.cpp | YizhuoZhai/UBITect | 525866d8ca24e03cb9ddd805c4dd0d789c33cff8 | [
"MIT"
] | 1 | 2021-05-25T03:54:19.000Z | 2021-05-25T04:22:29.000Z | lib/Module/Checks.cpp | qiaokang92/P4wn | cd2418de2dff238f67508898e3bfdf2aae1889a4 | [
"NCSA"
] | 8 | 2020-07-09T23:39:23.000Z | 2021-04-21T20:21:20.000Z | //===-- Checks.cpp --------------------------------------------------------===//
//
// The KLEE Symbolic Virtual Machine
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===------------------------------------------------------... | 32.012579 | 83 | 0.613752 | YizhuoZhai |
104a360911a05d1fa1dd98b4a98f62d06c5ede61 | 120,027 | cpp | C++ | libnd4j/include/ops/declarable/generic/helpers/impl/convolutions.cpp | DongJiHui/deeplearning4j | bd9d42d946d6c99f04b9ea1b99c9f703d5b7b854 | [
"Apache-2.0"
] | null | null | null | libnd4j/include/ops/declarable/generic/helpers/impl/convolutions.cpp | DongJiHui/deeplearning4j | bd9d42d946d6c99f04b9ea1b99c9f703d5b7b854 | [
"Apache-2.0"
] | null | null | null | libnd4j/include/ops/declarable/generic/helpers/impl/convolutions.cpp | DongJiHui/deeplearning4j | bd9d42d946d6c99f04b9ea1b99c9f703d5b7b854 | [
"Apache-2.0"
] | null | null | null | //
// @author raver119@gmail.com, created on 07.10.2017.
// @author Yurii Shyrma (iuriish@yahoo.com)
//
#include <ops/declarable/generic/helpers/convolutions.h>
#include <NDArrayFactory.h>
namespace nd4j {
namespace ops {
//////////////////////////////////////////////////////////////////////////
template<t... | 52.04987 | 327 | 0.417173 | DongJiHui |
104a3f111a871c5634069539683ec3c89b4a87a7 | 129 | cpp | C++ | src/devices.cpp | es1024/marbelous.cpp | 280fa8690338923992c2640cbb09fb6bc114c0eb | [
"MIT"
] | 6 | 2015-11-02T09:17:05.000Z | 2018-11-16T08:42:44.000Z | src/devices.cpp | es1024/marbelous.cpp | 280fa8690338923992c2640cbb09fb6bc114c0eb | [
"MIT"
] | null | null | null | src/devices.cpp | es1024/marbelous.cpp | 280fa8690338923992c2640cbb09fb6bc114c0eb | [
"MIT"
] | null | null | null | #include "devices.h"
const char *device_names[] = {
#define X(device_name) #device_name,
FOR_EACH_DEVICE(X)
#undef X
0
};
| 12.9 | 37 | 0.682171 | es1024 |
104a7a7ea5d08c235c7b2ce813a3f9421f7e70b6 | 8,883 | cpp | C++ | src/tsplugins/tsplugin_analyze.cpp | manuelmann/tsduck-test | 13760d34bd6f522c2ff813a996371a7cb30e1835 | [
"BSD-2-Clause"
] | null | null | null | src/tsplugins/tsplugin_analyze.cpp | manuelmann/tsduck-test | 13760d34bd6f522c2ff813a996371a7cb30e1835 | [
"BSD-2-Clause"
] | null | null | null | src/tsplugins/tsplugin_analyze.cpp | manuelmann/tsduck-test | 13760d34bd6f522c2ff813a996371a7cb30e1835 | [
"BSD-2-Clause"
] | null | null | null | //----------------------------------------------------------------------------
//
// TSDuck - The MPEG Transport Stream Toolkit
// Copyright (c) 2005-2020, Thierry Lelegard
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the f... | 33.90458 | 184 | 0.545649 | manuelmann |
104a7e9d4ad6519f2f8ed65e82cd2c851c1f8048 | 4,018 | cpp | C++ | Foundation/library/source/TTQueue.cpp | jamoma/JamomaCore | 7b1becc7f6ae2bc1f283a34af0b3986ce20f3a43 | [
"BSD-3-Clause"
] | 31 | 2015-02-28T23:51:10.000Z | 2021-12-25T04:16:01.000Z | Foundation/library/source/TTQueue.cpp | jamoma/JamomaCore | 7b1becc7f6ae2bc1f283a34af0b3986ce20f3a43 | [
"BSD-3-Clause"
] | 126 | 2015-01-01T13:42:05.000Z | 2021-07-13T14:11:42.000Z | Foundation/library/source/TTQueue.cpp | jamoma/JamomaCore | 7b1becc7f6ae2bc1f283a34af0b3986ce20f3a43 | [
"BSD-3-Clause"
] | 14 | 2015-02-10T15:08:32.000Z | 2019-09-17T01:21:25.000Z | /*
* TTBlue low-priority queue
* Copyright © 2008, Timothy Place
*
* License: This code is licensed under the terms of the "New BSD License"
* http://creativecommons.org/licenses/BSD/
*/
#include "TTQueue.h"
#if OLD
void* TTQueueMaster(void* anArgument)
{
TTQueue *queue = (TTQueue*)anArgument;
return q... | 23.225434 | 112 | 0.721005 | jamoma |
104bee1cade2bc1c352716ea106cef9418d919b3 | 997 | cpp | C++ | Cracking coding Interview/Array and String/Palindrome permutation.cpp | jv640/Coding | 19bda40200ee1fdcc16bb3dc174fe14c7090b58d | [
"MIT"
] | null | null | null | Cracking coding Interview/Array and String/Palindrome permutation.cpp | jv640/Coding | 19bda40200ee1fdcc16bb3dc174fe14c7090b58d | [
"MIT"
] | null | null | null | Cracking coding Interview/Array and String/Palindrome permutation.cpp | jv640/Coding | 19bda40200ee1fdcc16bb3dc174fe14c7090b58d | [
"MIT"
] | null | null | null | /*
Description : Given a string, write a function to check if it is a permutation of a palindrome.
A palindrome is a word or phrase that is the same forwards and backwards. A permutation is a rearrangement of letters.
The palindrome does not need to be limited to just dictionary word... | 25.564103 | 135 | 0.50652 | jv640 |
104c88a0db738974c62dbba872faed6e82c340bd | 12,845 | cc | C++ | chrome/browser/prefs/pref_hash_browsertest.cc | lauer3912/chromium.src | 969c559f5e43b329295b68c49ae9bf46a833395c | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2019-06-27T11:52:41.000Z | 2019-06-27T11:52:41.000Z | chrome/browser/prefs/pref_hash_browsertest.cc | davgit/chromium.src | 29b19806a790a12fb0a64ee148d019e27db350db | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/prefs/pref_hash_browsertest.cc | davgit/chromium.src | 29b19806a790a12fb0a64ee148d019e27db350db | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // 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 <set>
#include <vector>
#include "base/bind.h"
#include "base/command_line.h"
#include "base/files/file_path.h"
#include "base/macros.h"
#includ... | 39.042553 | 92 | 0.727443 | lauer3912 |
104dfa80fc3c4671ae602442088a47d5e31f5b28 | 7,499 | cpp | C++ | windows_time_logger/mainwindow.cpp | sanojsubran/utility_projects | 8f0f5e35700550293f178a57891c5c6150a56aa8 | [
"MIT"
] | null | null | null | windows_time_logger/mainwindow.cpp | sanojsubran/utility_projects | 8f0f5e35700550293f178a57891c5c6150a56aa8 | [
"MIT"
] | null | null | null | windows_time_logger/mainwindow.cpp | sanojsubran/utility_projects | 8f0f5e35700550293f178a57891c5c6150a56aa8 | [
"MIT"
] | null | null | null | #include <QSharedPointer>
#include <QDesktopWidget>
#include <QTime>
#include <QTimer>
#include <QMenu>
#include <QRect>
#include <QMessageBox>
#include "mainwindow.h"
#include "ui_mainwindow.h"
const QTime dailyWorkHours( 8, 0 );
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::Main... | 29.407843 | 79 | 0.529271 | sanojsubran |
104e26d04c6e95ec44d9cbdbd41913b1c61fa7a5 | 8,481 | cpp | C++ | src/PercentageDisplay.cpp | JavaJeremy/stepmania | 5dad6a1c9a1caba66ebc1aa0feab9bc920399455 | [
"MIT"
] | 3 | 2018-05-28T15:03:50.000Z | 2021-11-07T22:30:10.000Z | src/PercentageDisplay.cpp | JavaJeremy/stepmania | 5dad6a1c9a1caba66ebc1aa0feab9bc920399455 | [
"MIT"
] | 6 | 2020-07-29T17:45:36.000Z | 2020-07-29T18:48:03.000Z | src/PercentageDisplay.cpp | JavaJeremy/stepmania | 5dad6a1c9a1caba66ebc1aa0feab9bc920399455 | [
"MIT"
] | 3 | 2017-07-25T17:04:51.000Z | 2021-08-30T05:12:15.000Z | #include "global.h"
#include "PercentageDisplay.h"
#include "GameState.h"
#include "ThemeManager.h"
#include "PrefsManager.h"
#include "ActorUtil.h"
#include "RageLog.h"
#include "StageStats.h"
#include "PlayerState.h"
#include "XmlFile.h"
#include "Course.h"
REGISTER_ACTOR_CLASS( PercentageDisplay );
PercentageDis... | 33 | 159 | 0.748968 | JavaJeremy |
1055dab118e457f6cffca44a71b293b83eb10a37 | 105,111 | cpp | C++ | RoboRePair/Images.cpp | erwinbonsma/RoboRePairGB | 202308220d7bc320a8c228f7a7372545c3e97559 | [
"MIT"
] | null | null | null | RoboRePair/Images.cpp | erwinbonsma/RoboRePairGB | 202308220d7bc320a8c228f7a7372545c3e97559 | [
"MIT"
] | null | null | null | RoboRePair/Images.cpp | erwinbonsma/RoboRePairGB | 202308220d7bc320a8c228f7a7372545c3e97559 | [
"MIT"
] | null | null | null | /*
* Bumble Bots Re-Pair, a Gamebuino game
*
* Copyright 2020, Erwin Bonsma
*/
#include "Images.h"
/* Normal move sprites for blue bot (all rotations)
* 0..15 - Default look
* 16..31 - Orange rearlight (instead of red)
*/
const uint8_t botsData1[] = {
13, 13, 32, 0, 0, (uint8_t)INDEX_BLACK, 1,
0x00, 0x00,... | 34.943816 | 97 | 0.631504 | erwinbonsma |
1062718a55085244642dcf9b3591ecaf7e2865d0 | 3,092 | cpp | C++ | MsixCore/msixmgr/PSFScriptExecuter.cpp | bfourie/msix-packaging | c30aa5218cc7e2f80b96e27ee60c4eca8e3c2f0a | [
"MIT"
] | 486 | 2018-03-07T17:15:03.000Z | 2019-05-06T20:05:44.000Z | MsixCore/msixmgr/PSFScriptExecuter.cpp | bfourie/msix-packaging | c30aa5218cc7e2f80b96e27ee60c4eca8e3c2f0a | [
"MIT"
] | 172 | 2019-05-14T18:56:36.000Z | 2022-03-30T16:35:24.000Z | MsixCore/msixmgr/PSFScriptExecuter.cpp | bfourie/msix-packaging | c30aa5218cc7e2f80b96e27ee60c4eca8e3c2f0a | [
"MIT"
] | 83 | 2019-05-29T18:38:36.000Z | 2022-03-17T07:34:16.000Z | #include <windows.h>
#include "PSFScriptExecuter.hpp"
#include "GeneralUtil.hpp"
#include <TraceLoggingProvider.h>
#include "MsixTraceLoggingProvider.hpp"
#include "document.h"
using namespace MsixCoreLib;
const PCWSTR PSFScriptExecuter::HandlerName = L"PSFScriptExecuter";
HRESULT PSFScriptExecuter::Exe... | 35.136364 | 135 | 0.700517 | bfourie |
1063501bc5a82a4d0bf7bbe8df7e55d289a01add | 4,363 | cpp | C++ | Undergraduate Research/Arm_Action_Training/Arm_Action_Training.cpp | GCY/NTCU-CSIE-Homework | 25ce4c4586c7a68fc3935295635063e07c8d4e42 | [
"MIT"
] | 1 | 2016-12-07T02:33:26.000Z | 2016-12-07T02:33:26.000Z | Undergraduate Research/Arm_Action_Training/Arm_Action_Training.cpp | GCY/NTCU-CSIE-Homework | 25ce4c4586c7a68fc3935295635063e07c8d4e42 | [
"MIT"
] | null | null | null | Undergraduate Research/Arm_Action_Training/Arm_Action_Training.cpp | GCY/NTCU-CSIE-Homework | 25ce4c4586c7a68fc3935295635063e07c8d4e42 | [
"MIT"
] | null | null | null | #include <iostream>
#include <fstream>
#include <sstream>
#include <cstring>
#include <time.h>
// OpenNN includes
#include "opennn.h"
using namespace OpenNN;
int main(int argc, char** argv)
{
int inputNumber = 4;
int neuronNumber = 0;
int outputNumber = 0;
if(atoi(argv[1])>0 && ato... | 32.804511 | 140 | 0.699519 | GCY |
106540f15fc0ae664b235298f5e34c3083159688 | 82 | cpp | C++ | exercises/practice/grade-school/grade_school.cpp | lotharschulz/cpp | 26352eb5dccf8553228add904ae6aca227e3b07f | [
"MIT"
] | 1 | 2021-02-04T08:13:24.000Z | 2021-02-04T08:13:24.000Z | exercises/practice/grade-school/grade_school.cpp | lotharschulz/cpp | 26352eb5dccf8553228add904ae6aca227e3b07f | [
"MIT"
] | 4 | 2019-09-08T15:56:22.000Z | 2021-12-03T00:53:01.000Z | exercises/practice/grade-school/grade_school.cpp | lotharschulz/cpp | 26352eb5dccf8553228add904ae6aca227e3b07f | [
"MIT"
] | null | null | null | #include "grade_school.h"
namespace grade_school {
} // namespace grade_school
| 13.666667 | 28 | 0.756098 | lotharschulz |
1066494d65cc32b8f6c09ae44bdfbe11058f552c | 1,527 | hpp | C++ | include/ClientLib/Scripting/ClientEditorEntityStore.hpp | ImperatorS79/BurgWar | 5d8282513945e8f25e30d8491639eb297bfc0317 | [
"MIT"
] | null | null | null | include/ClientLib/Scripting/ClientEditorEntityStore.hpp | ImperatorS79/BurgWar | 5d8282513945e8f25e30d8491639eb297bfc0317 | [
"MIT"
] | null | null | null | include/ClientLib/Scripting/ClientEditorEntityStore.hpp | ImperatorS79/BurgWar | 5d8282513945e8f25e30d8491639eb297bfc0317 | [
"MIT"
] | null | null | null | // Copyright (C) 2020 Jérôme Leclercq
// This file is part of the "Burgwar" project
// For conditions of distribution and use, see copyright notice in LICENSE
#pragma once
#ifndef BURGWAR_CORELIB_SCRIPTING_CLIENTEDITORENTITYSTORE_HPP
#define BURGWAR_CORELIB_SCRIPTING_CLIENTEDITORENTITYSTORE_HPP
#include <CoreLib/Scr... | 35.511628 | 278 | 0.802227 | ImperatorS79 |
106792565966f4dbade642322c9a15b7f6d3a45e | 13,623 | cpp | C++ | src/Protocols/DHCP.cpp | rschlaikjer/w5500 | bc75fd70ca535dc6b41ff3efae2ad254a07825ba | [
"MIT"
] | 1 | 2021-09-18T00:03:29.000Z | 2021-09-18T00:03:29.000Z | src/Protocols/DHCP.cpp | rschlaikjer/w5500 | bc75fd70ca535dc6b41ff3efae2ad254a07825ba | [
"MIT"
] | 1 | 2021-02-11T13:35:39.000Z | 2021-02-11T14:51:55.000Z | src/Protocols/DHCP.cpp | rschlaikjer/w5500 | bc75fd70ca535dc6b41ff3efae2ad254a07825ba | [
"MIT"
] | 1 | 2019-10-03T13:45:59.000Z | 2019-10-03T13:45:59.000Z | #include <W5500/Protocols/DHCP.hpp>
namespace W5500 {
namespace Protocols {
namespace DHCP {
void Client::update() {
switch (_state) {
case State::START:
fsm_start();
break;
case State::DISCOVER:
fsm_discover();
break;
case State::REQUEST:
case State::RENEW:
... | 32.281991 | 80 | 0.602804 | rschlaikjer |
106975168c0e39d827c38f5fbec43ab2a883a227 | 30,938 | cpp | C++ | Libs/Image/Image.cpp | ben2k/ShapeWorks | a61d2710c5592db1dc00b4fe11990e512220161f | [
"MIT"
] | 1 | 2022-01-14T19:04:58.000Z | 2022-01-14T19:04:58.000Z | Libs/Image/Image.cpp | ben2k/ShapeWorks | a61d2710c5592db1dc00b4fe11990e512220161f | [
"MIT"
] | null | null | null | Libs/Image/Image.cpp | ben2k/ShapeWorks | a61d2710c5592db1dc00b4fe11990e512220161f | [
"MIT"
] | null | null | null | #include "Image.h"
#include "ShapeworksUtils.h"
#include "itkTPGACLevelSetImageFilter.h" // actually a shapeworks class, not itk
#include "MeshUtils.h"
#include <itkImageFileReader.h>
#include <itkImageFileWriter.h>
#include <itkAntiAliasBinaryImageFilter.h>
#include <itkResampleImageFilter.h>
#include <itkChangeInfo... | 29.862934 | 134 | 0.714655 | ben2k |
1069a8fd975f9cbb3b51166d0c3f4bee964bbca9 | 6,287 | cc | C++ | libcef_dll/ctocpp/views/menu_button_delegate_ctocpp.cc | Exstream-OpenSource/Chromium-Embedded-Framework | 74cf22c97ad16b56a37c9362c47a04425615dc28 | [
"BSD-3-Clause"
] | 1 | 2020-06-30T01:18:35.000Z | 2020-06-30T01:18:35.000Z | libcef_dll/ctocpp/views/menu_button_delegate_ctocpp.cc | Exstream-OpenSource/Chromium-Embedded-Framework | 74cf22c97ad16b56a37c9362c47a04425615dc28 | [
"BSD-3-Clause"
] | null | null | null | libcef_dll/ctocpp/views/menu_button_delegate_ctocpp.cc | Exstream-OpenSource/Chromium-Embedded-Framework | 74cf22c97ad16b56a37c9362c47a04425615dc28 | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights
// reserved. Use of this source code is governed by a BSD-style license that
// can be found in the LICENSE file.
//
// ---------------------------------------------------------------------------
//
// This file was generated by the CEF translato... | 29.24186 | 80 | 0.726579 | Exstream-OpenSource |
106b8e19fee71a954bdf3823bf1549e819b4df73 | 4,087 | hpp | C++ | include/eepp/ui/uilistbox.hpp | jayrulez/eepp | 09c5c1b6b4c0306bb0a188474778c6949b5df3a7 | [
"MIT"
] | 37 | 2020-01-20T06:21:24.000Z | 2022-03-21T17:44:50.000Z | include/eepp/ui/uilistbox.hpp | jayrulez/eepp | 09c5c1b6b4c0306bb0a188474778c6949b5df3a7 | [
"MIT"
] | null | null | null | include/eepp/ui/uilistbox.hpp | jayrulez/eepp | 09c5c1b6b4c0306bb0a188474778c6949b5df3a7 | [
"MIT"
] | 9 | 2019-03-22T00:33:07.000Z | 2022-03-01T01:35:59.000Z | #ifndef EE_UICUILISTBOX_HPP
#define EE_UICUILISTBOX_HPP
#include <eepp/ui/uiitemcontainer.hpp>
#include <eepp/ui/uilistboxitem.hpp>
#include <eepp/ui/uinode.hpp>
#include <eepp/ui/uiscrollbar.hpp>
#include <eepp/ui/uitouchdraggablewidget.hpp>
namespace EE { namespace UI {
class EE_API UIListBox : public UITouchDragg... | 21.397906 | 78 | 0.762173 | jayrulez |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.