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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ecb9d9a556ffb3fd54b3cce5077b37052fd85bec | 747 | cpp | C++ | Data Structures/Binary Tree/C++/Deletion of a node in a BST.cpp | sanchit2812/Data-Structures-Algorithms-Hacktoberfest-2K19 | 88bc29e924d6d15993db742ccaede4752c0083e8 | [
"MIT"
] | null | null | null | Data Structures/Binary Tree/C++/Deletion of a node in a BST.cpp | sanchit2812/Data-Structures-Algorithms-Hacktoberfest-2K19 | 88bc29e924d6d15993db742ccaede4752c0083e8 | [
"MIT"
] | null | null | null | Data Structures/Binary Tree/C++/Deletion of a node in a BST.cpp | sanchit2812/Data-Structures-Algorithms-Hacktoberfest-2K19 | 88bc29e924d6d15993db742ccaede4752c0083e8 | [
"MIT"
] | null | null | null | node* del(node* root, int data){
if(root == NULL) return NULL;
if(data > root->data) root->right = del(root->right, data);
else if(data<root->data) root->left = del(root->left,data);
else{
if (root->left == NULL){
node* temp =root->right;
free(root);
r... | 27.666667 | 64 | 0.497992 | sanchit2812 |
ecbf1c4da32433f343307200c5540b44d77d3bb2 | 3,984 | cpp | C++ | questions/button-timer-38645219/main.cpp | SammyEnigma/stackoverflown | 0f70f2534918b2e65cec1046699573091d9a40b5 | [
"Unlicense"
] | 54 | 2015-09-13T07:29:52.000Z | 2022-03-16T07:43:50.000Z | questions/button-timer-38645219/main.cpp | SammyEnigma/stackoverflown | 0f70f2534918b2e65cec1046699573091d9a40b5 | [
"Unlicense"
] | null | null | null | questions/button-timer-38645219/main.cpp | SammyEnigma/stackoverflown | 0f70f2534918b2e65cec1046699573091d9a40b5 | [
"Unlicense"
] | 31 | 2016-08-26T13:35:01.000Z | 2022-03-13T16:43:12.000Z | // https://github.com/KubaO/stackoverflown/tree/master/questions/button-timer-38645219
#if 1
#include <QtWidgets>
class Timer : public QObject {
Q_OBJECT
QElapsedTimer timer;
public:
Q_SLOT void start() { timer.start(); }
Q_SLOT void stop() { emit elapsed(timer.elapsed()); }
Q_SIGNAL void elapsed(qint6... | 24.145455 | 87 | 0.6501 | SammyEnigma |
ecc285734c6431dddcc9839cec5ce843d8c2ab51 | 159 | cpp | C++ | Source/FSDEngine/Private/CSGCircleDuplicatorProperties.cpp | trumank/DRG-Mods | 2febc879f2ffe83498ac913c114d0e933427e93e | [
"MIT"
] | 8 | 2021-07-10T20:06:05.000Z | 2022-03-04T19:03:50.000Z | Source/FSDEngine/Private/CSGCircleDuplicatorProperties.cpp | trumank/DRG-Mods | 2febc879f2ffe83498ac913c114d0e933427e93e | [
"MIT"
] | 9 | 2022-01-13T20:49:44.000Z | 2022-03-27T22:56:48.000Z | Source/FSDEngine/Private/CSGCircleDuplicatorProperties.cpp | trumank/DRG-Mods | 2febc879f2ffe83498ac913c114d0e933427e93e | [
"MIT"
] | 2 | 2021-07-10T20:05:42.000Z | 2022-03-14T17:05:35.000Z | #include "CSGCircleDuplicatorProperties.h"
FCSGCircleDuplicatorProperties::FCSGCircleDuplicatorProperties() {
this->Num = 0;
this->Radius = 0.00f;
}
| 19.875 | 66 | 0.748428 | trumank |
ecc30d71863c58c6d76be2ac7f1ce8bcdce39af1 | 822 | hpp | C++ | cpp-source/tls-epoll-server.hpp | bwackwat/event-spiral | 177331035a23f68a0294a0f3e9af948779eef794 | [
"MIT"
] | 3 | 2016-12-08T02:28:27.000Z | 2019-05-15T23:16:11.000Z | cpp-source/tls-epoll-server.hpp | bwackwat/event-spiral | 177331035a23f68a0294a0f3e9af948779eef794 | [
"MIT"
] | 3 | 2017-02-10T18:21:28.000Z | 2017-09-21T00:06:44.000Z | cpp-source/tls-epoll-server.hpp | bwackwat/event-spiral | 177331035a23f68a0294a0f3e9af948779eef794 | [
"MIT"
] | 3 | 2017-02-04T01:37:24.000Z | 2019-05-15T23:17:43.000Z | #pragma once
#include <unordered_map>
#include "openssl/ssl.h"
#include "openssl/err.h"
#include "tcp-server.hpp"
class TlsEpollServer : public EpollServer{
private:
SSL_CTX* ctx;
std::unordered_map<int, SSL*> client_ssl;
void close_client(int* fd, std::function<void(int*)> callback);
public:
TlsEpollServer(st... | 31.615385 | 146 | 0.756691 | bwackwat |
ecc90a195b2c23533e38ab29f2058fc49afa0c10 | 14,279 | cpp | C++ | MongoDB/samples/SQLToMongo/src/SQLToMongo.cpp | abyss7/poco | a651a78c76eebd414b37745f7dd8539460154cab | [
"BSL-1.0"
] | null | null | null | MongoDB/samples/SQLToMongo/src/SQLToMongo.cpp | abyss7/poco | a651a78c76eebd414b37745f7dd8539460154cab | [
"BSL-1.0"
] | 3 | 2021-06-02T02:59:06.000Z | 2021-09-16T04:35:06.000Z | MongoDB/samples/SQLToMongo/src/SQLToMongo.cpp | abyss7/poco | a651a78c76eebd414b37745f7dd8539460154cab | [
"BSL-1.0"
] | 6 | 2021-06-02T02:39:34.000Z | 2022-03-29T05:51:57.000Z | //
// main.cpp
//
// $Id$
//
// This sample shows SQL to mongo Shell to C++ examples.
//
// Copyright (c) 2013, Applied Informatics Software Engineering GmbH.
// and Contributors.
//
// SPDX-License-Identifier: BSL-1.0
//
#include "Poco/MongoDB/MongoDB.h"
#include "Poco/MongoDB/Connection.h"
#include "Poco/MongoDB/Da... | 29.810021 | 159 | 0.663702 | abyss7 |
ecca2c85028fc214c245c0c32dc1e89412bb87c1 | 594 | cc | C++ | test/asan/TestCases/use-after-poison.cc | crystax/android-toolchain-compiler-rt-3-7 | 6b848d1e7d55df3227b212aa229f8b60b16bdd5d | [
"MIT"
] | 21 | 2015-04-19T20:47:50.000Z | 2019-03-08T18:39:41.000Z | test/asan/TestCases/use-after-poison.cc | crystax/android-toolchain-compiler-rt-3-7 | 6b848d1e7d55df3227b212aa229f8b60b16bdd5d | [
"MIT"
] | 1 | 2016-02-10T15:40:03.000Z | 2016-02-10T15:40:03.000Z | test/asan/TestCases/use-after-poison.cc | crystax/android-toolchain-compiler-rt-3-7 | 6b848d1e7d55df3227b212aa229f8b60b16bdd5d | [
"MIT"
] | 12 | 2019-06-21T03:33:51.000Z | 2021-12-13T09:08:31.000Z | // Check that __asan_poison_memory_region works.
// RUN: %clangxx_asan -O0 %s -o %t && not %run %t 2>&1 | FileCheck %s
//
// Check that we can disable it
// RUN: env ASAN_OPTIONS=$ASAN_OPTIONS:allow_user_poisoning=0 %run %t
#include <stdlib.h>
extern "C" void __asan_poison_memory_region(void *, size_t);
int main(int... | 28.285714 | 69 | 0.6633 | crystax |
eccacdbde2cec28a56457d2153fe83d95c2b79b9 | 1,207 | cpp | C++ | PTA/PAT(Advanced Level)/c++/A1068.dfs.cpp | Sunrisepeak/AC-Online-Judge | 5b5ea2eefa2ba48d718957720158fb79134a8fa7 | [
"Apache-2.0"
] | 3 | 2019-03-17T11:47:05.000Z | 2021-12-10T03:41:42.000Z | PTA/PAT(Advanced Level)/c++/A1068.dfs.cpp | Sunrisepeak/AC-Online-Judge | 5b5ea2eefa2ba48d718957720158fb79134a8fa7 | [
"Apache-2.0"
] | null | null | null | PTA/PAT(Advanced Level)/c++/A1068.dfs.cpp | Sunrisepeak/AC-Online-Judge | 5b5ea2eefa2ba48d718957720158fb79134a8fa7 | [
"Apache-2.0"
] | null | null | null | #include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
int N, M;
vector<int> coins, ans;
bool isOk = false;
void DFS(int begin, int sum) {
if (sum == M) {
isOk = true;
} else if (sum < M) {
for (int i = begin; i < coins.size(); i++) {
ans.push_back(coins[i]... | 20.457627 | 52 | 0.432477 | Sunrisepeak |
eccd481033b7ae318e7b4df53c8de1083fd9e584 | 289 | cpp | C++ | src/CEditEd.cpp | colinw7/CQEd | 4a22e8027df9710ec19ac3a5082a8c2906d95a26 | [
"MIT"
] | 1 | 2021-12-23T02:20:57.000Z | 2021-12-23T02:20:57.000Z | src/CEditEd.cpp | colinw7/CQEdit | 4a22e8027df9710ec19ac3a5082a8c2906d95a26 | [
"MIT"
] | null | null | null | src/CEditEd.cpp | colinw7/CQEdit | 4a22e8027df9710ec19ac3a5082a8c2906d95a26 | [
"MIT"
] | null | null | null | #include <CEditEd.h>
#include <CEditFile.h>
CEditEd::
CEditEd(CEditFile *file) :
CEd(file), file_(file)
{
}
CEditEd::
~CEditEd()
{
}
void
CEditEd::
output(const std::string &msg)
{
file_->addMsgLine(msg);
}
void
CEditEd::
error(const std::string &msg)
{
file_->addErrLine(msg);
}
| 10.321429 | 30 | 0.66436 | colinw7 |
ecd1295805faf1e6eef13cac5780ee657a541e73 | 738 | cpp | C++ | Failed/B920_failed.cpp | fahimfarhan/legendary-coding-odyssey | 55289e05aa04f866201c607bed00c505cd9c4df9 | [
"MIT"
] | 3 | 2019-07-20T07:26:31.000Z | 2020-08-06T09:31:09.000Z | Failed/B920_failed.cpp | fahimfarhan/legendary-coding-odyssey | 55289e05aa04f866201c607bed00c505cd9c4df9 | [
"MIT"
] | null | null | null | Failed/B920_failed.cpp | fahimfarhan/legendary-coding-odyssey | 55289e05aa04f866201c607bed00c505cd9c4df9 | [
"MIT"
] | 4 | 2019-06-20T18:43:32.000Z | 2020-10-07T16:45:23.000Z | #include <bits/stdc++.h>
using namespace std;
class Soln{
private:
int n,l,r, T;
public:
Soln(){
scanf("%d",&T);
while(T--){
scanf("%d",&n);
int time = 1;
for(int i=0; i<n; i++){
scanf("%d %d",&l,&r);
if(time>r){
... | 18.923077 | 46 | 0.317073 | fahimfarhan |
ecd1c7d45f0a7bf93de565fc9066c60fb36f06b2 | 229 | cpp | C++ | books/tech/cpp/std-14/s_meyers-effective_modern_cpp/code/ch_08-tweaks/item_42-consider_emplacement_instead_of_insertion/01-emplacement_example-01/main.cpp | ordinary-developer/education | 1b1f40dacab873b28ee01dfa33a9bd3ec4cfed58 | [
"MIT"
] | 1 | 2017-05-04T08:23:46.000Z | 2017-05-04T08:23:46.000Z | books/techno/cpp/__intermediate/effective_modern_cpp_s_meyers/code/ch_8-TWEAKS/item_42-consider_emplacement_instead_of_insertion/01-emplacement_example-01/main.cpp | ordinary-developer/lin_education | 13d65b20cdbc3e5467b2383e5c09c73bbcdcb227 | [
"MIT"
] | null | null | null | books/techno/cpp/__intermediate/effective_modern_cpp_s_meyers/code/ch_8-TWEAKS/item_42-consider_emplacement_instead_of_insertion/01-emplacement_example-01/main.cpp | ordinary-developer/lin_education | 13d65b20cdbc3e5467b2383e5c09c73bbcdcb227 | [
"MIT"
] | null | null | null | #include <vector>
#include <string>
int main() {
std::vector<std::string> vs;
vs.push_back("xyzzy");
vs.push_back(std::string("xyzzy"));
vs.emplace_back("xyzzy");
vs.emplace_back(50, 'x');
return 0;
}
| 15.266667 | 39 | 0.598253 | ordinary-developer |
ecd362a4100bf815d2c2b50f074575bd8f6cff07 | 4,365 | cpp | C++ | source/Reeval/MMASib_experiments.cpp | fq00/noisyLandscapes | 5866a6f523e4e99f9b1ab68b08b2443821ec10dd | [
"MIT"
] | null | null | null | source/Reeval/MMASib_experiments.cpp | fq00/noisyLandscapes | 5866a6f523e4e99f9b1ab68b08b2443821ec10dd | [
"MIT"
] | null | null | null | source/Reeval/MMASib_experiments.cpp | fq00/noisyLandscapes | 5866a6f523e4e99f9b1ab68b08b2443821ec10dd | [
"MIT"
] | null | null | null | //
// rAnalysis.cpp
// Reeval
//
// Created by Francesco Quinzan on 26.11.15.
// Copyright © 2015 Francesco Quinzan. All rights reserved.
//
#include "MMASib_experiments.hpp"
void MMASib_experiments::parameter_calibration(string dir, int seed){
randomEngine::set_seed(seed);
int sample_size = 100;
typ... | 26.779141 | 95 | 0.529439 | fq00 |
ecd3aae26ea04430c1ff48dcc3b931f294fa0f57 | 915 | cpp | C++ | Backends/System/Windows/Sources/Kore/Input/Mouse.cpp | psmtec/Kore | 3665641e1c411bfafbf55aa946dc8636eb379a12 | [
"Zlib"
] | null | null | null | Backends/System/Windows/Sources/Kore/Input/Mouse.cpp | psmtec/Kore | 3665641e1c411bfafbf55aa946dc8636eb379a12 | [
"Zlib"
] | null | null | null | Backends/System/Windows/Sources/Kore/Input/Mouse.cpp | psmtec/Kore | 3665641e1c411bfafbf55aa946dc8636eb379a12 | [
"Zlib"
] | null | null | null | #include "../pch.h"
#include <Kore/Input/Mouse.h>
#include <Kore/System.h>
#include <Kore/Window.h>
#include <Windows.h>
using namespace Kore;
void Mouse::_lock(int windowId, bool truth) {
show(!truth);
if (truth) {
HWND handle = Kore::Window::get(windowId)->_data.handle;
SetCapture(handle);
RECT rect;
Ge... | 18.673469 | 61 | 0.68306 | psmtec |
ecd48d99a78f6aacdb6798713d2c0aa136742fb2 | 2,780 | hxx | C++ | include/occutils/ListUtils.hxx | ulikoehler/OCCUtil | 39d72ecf35dd3840ed23efac0b335bd4c9d16dad | [
"Apache-2.0"
] | 29 | 2019-08-12T14:03:11.000Z | 2022-03-11T17:38:47.000Z | include/occutils/ListUtils.hxx | ulikoehler/OCCUtil | 39d72ecf35dd3840ed23efac0b335bd4c9d16dad | [
"Apache-2.0"
] | 1 | 2021-12-09T02:28:10.000Z | 2021-12-09T02:28:10.000Z | include/occutils/ListUtils.hxx | ulikoehler/OCCUtil | 39d72ecf35dd3840ed23efac0b335bd4c9d16dad | [
"Apache-2.0"
] | 6 | 2020-07-28T15:57:11.000Z | 2022-02-24T01:52:34.000Z | #pragma once
#include <NCollection_List.hxx>
#include <utility> // std::pair<>
#include <vector>
#include <list>
#include <initializer_list>
namespace OCCUtils {
namespace ListUtils {
/**
* Split a NCollection_List<T> into
* a head list and a tail list.
*/
template<typen... | 29.892473 | 97 | 0.503237 | ulikoehler |
ecd6361fb7eb8012b86da23f244376a3df282638 | 3,958 | cpp | C++ | engine/utils/grabfont.cpp | jpmorris33/ire | d6a0a9468c1f98010c5959be301b717f02336895 | [
"BSD-3-Clause"
] | null | null | null | engine/utils/grabfont.cpp | jpmorris33/ire | d6a0a9468c1f98010c5959be301b717f02336895 | [
"BSD-3-Clause"
] | 8 | 2020-03-29T21:03:23.000Z | 2020-04-11T23:28:14.000Z | engine/utils/grabfont.cpp | jpmorris33/ire | d6a0a9468c1f98010c5959be301b717f02336895 | [
"BSD-3-Clause"
] | 1 | 2020-06-11T16:54:37.000Z | 2020-06-11T16:54:37.000Z | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define IRE_FNT1 0x31544e46
#define IRE_FNT2 0x32544e46
int Getpixel(int x, int y);
int FindNextRow(int start, int *height);
int FindNextCharacter(int x, int y, int *width);
int W,H;
int nullcolour=0;
unsigned char buffer[131072];
int main(int argc, char *... | 15.281853 | 85 | 0.602072 | jpmorris33 |
ecd9dde3446b314caf24c7374a0cbd70cf1a7f97 | 1,366 | cpp | C++ | soil.cpp | ZacharyWesterman/pico-sandbox | 4ab83b7a52242a6a684bf5aef3cd39fb1b4d9c30 | [
"Unlicense"
] | null | null | null | soil.cpp | ZacharyWesterman/pico-sandbox | 4ab83b7a52242a6a684bf5aef3cd39fb1b4d9c30 | [
"Unlicense"
] | null | null | null | soil.cpp | ZacharyWesterman/pico-sandbox | 4ab83b7a52242a6a684bf5aef3cd39fb1b4d9c30 | [
"Unlicense"
] | null | null | null | #include "soil.hpp"
#include "pico/stdlib.h"
soil::soil(i2c_inst_t* i2c_instance, uint i2c_address) noexcept
{
i2c = i2c_instance;
address = i2c_address;
}
float soil::temperature(char degrees) const noexcept
{
//Request temperature
const uint8_t txdata[2] = { 0x00, 0x04 };
i2c_write_blocking(i2c, address, txdat... | 27.32 | 125 | 0.688141 | ZacharyWesterman |
ecdbd986f8b950e695d4919071ecaa7cd73a1e7c | 1,919 | hpp | C++ | include/elemental/matrices/Identity.hpp | ahmadia/Elemental-1 | f9a82c76a06728e9e04a4316e41803efbadb5a19 | [
"BSD-3-Clause"
] | null | null | null | include/elemental/matrices/Identity.hpp | ahmadia/Elemental-1 | f9a82c76a06728e9e04a4316e41803efbadb5a19 | [
"BSD-3-Clause"
] | null | null | null | include/elemental/matrices/Identity.hpp | ahmadia/Elemental-1 | f9a82c76a06728e9e04a4316e41803efbadb5a19 | [
"BSD-3-Clause"
] | null | null | null | /*
Copyright (c) 2009-2013, Jack Poulson
All rights reserved.
This file is part of Elemental and is under the BSD 2-Clause License,
which can be found in the LICENSE file in the root directory, or at
http://opensource.org/licenses/BSD-2-Clause
*/
#pragma once
#ifndef MATRICES_IDENTITY_HPP
#define MATR... | 23.120482 | 73 | 0.647733 | ahmadia |
ecdc6d90eb6a1c1ced869705a88cc0f91f038414 | 1,530 | cpp | C++ | leet/ac/1008.construct-binary-search-tree-from-preorder-traversal.cpp | vitorgt/problem-solving | 11fa59de808f7a113c08454b4aca68b01410892e | [
"MIT"
] | null | null | null | leet/ac/1008.construct-binary-search-tree-from-preorder-traversal.cpp | vitorgt/problem-solving | 11fa59de808f7a113c08454b4aca68b01410892e | [
"MIT"
] | null | null | null | leet/ac/1008.construct-binary-search-tree-from-preorder-traversal.cpp | vitorgt/problem-solving | 11fa59de808f7a113c08454b4aca68b01410892e | [
"MIT"
] | null | null | null | #include "../TreeNode.hpp"
class Solution { // O(n)
public:
const int INF = 0x3f3f3f3f;
int i = 0;
TreeNode *bstFromPreorder(vector<int> &preorder, int key, int min,
int max) {
if (i < preorder.size() && min < key && key < max) {
TreeNode *root = new Tree... | 31.22449 | 79 | 0.434641 | vitorgt |
ecdcd7a2bf47ea5e9081e0e6b305cd7101aeb747 | 1,603 | hpp | C++ | third_party/boost/simd/constant/signmask.hpp | SylvainCorlay/pythran | 908ec070d837baf77d828d01c3e35e2f4bfa2bfa | [
"BSD-3-Clause"
] | 6 | 2018-02-25T22:23:33.000Z | 2021-01-15T15:13:12.000Z | third_party/boost/simd/constant/signmask.hpp | SylvainCorlay/pythran | 908ec070d837baf77d828d01c3e35e2f4bfa2bfa | [
"BSD-3-Clause"
] | null | null | null | third_party/boost/simd/constant/signmask.hpp | SylvainCorlay/pythran | 908ec070d837baf77d828d01c3e35e2f4bfa2bfa | [
"BSD-3-Clause"
] | 7 | 2017-12-12T12:36:31.000Z | 2020-02-10T14:27:07.000Z | //==================================================================================================
/*!
@file
@copyright 2016 NumScale SAS
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
*/
//===========================... | 30.826923 | 100 | 0.547723 | SylvainCorlay |
ecde0c61eed21d8e946bb7adf80b461bab2844d0 | 935 | hpp | C++ | src/Enums.hpp | jason-markham/pinchot-c-api | 6b28f2b021a249e02b0a9ac87abad4e289cfbd9e | [
"BSD-3-Clause"
] | null | null | null | src/Enums.hpp | jason-markham/pinchot-c-api | 6b28f2b021a249e02b0a9ac87abad4e289cfbd9e | [
"BSD-3-Clause"
] | null | null | null | src/Enums.hpp | jason-markham/pinchot-c-api | 6b28f2b021a249e02b0a9ac87abad4e289cfbd9e | [
"BSD-3-Clause"
] | 2 | 2020-11-24T00:56:02.000Z | 2021-12-07T04:12:53.000Z | /**
* Copyright (c) JoeScan Inc. All Rights Reserved.
*
* Licensed under the BSD 3 Clause License. See LICENSE.txt in the project
* root for license information.
*/
#ifndef JOESCAN_ENUMS_H
#define JOESCAN_ENUMS_H
#include "enum.h"
namespace joescan {
// This enum has to agree with the `ConnectionType` enum in t... | 30.16129 | 77 | 0.59893 | jason-markham |
ecde30044bc1faec52caa12086edf74dc8236e7f | 2,683 | cpp | C++ | tests/Waves/SignerTests.cpp | Khaos-Labs/khaos-wallet-core | 2c06d49fddf978e0815b208dddef50ee2011c551 | [
"MIT"
] | 2 | 2020-11-16T08:06:30.000Z | 2021-06-18T03:21:44.000Z | tests/Waves/SignerTests.cpp | Khaos-Labs/khaos-wallet-core | 2c06d49fddf978e0815b208dddef50ee2011c551 | [
"MIT"
] | null | null | null | tests/Waves/SignerTests.cpp | Khaos-Labs/khaos-wallet-core | 2c06d49fddf978e0815b208dddef50ee2011c551 | [
"MIT"
] | null | null | null | // Copyright © 2017-2020 Khaos Wallet.
//
// This file is part of Trust. The full Trust copyright notice, including
// terms governing use, modification, and redistribution, is contained in the
// file LICENSE at the root of the source code distribution tree.
#include "HexCoding.h"
#include "PublicKey.h"
#include "Wav... | 43.274194 | 106 | 0.740962 | Khaos-Labs |
ecde5f4777f94c406c33ef92760ed81620808356 | 5,497 | cpp | C++ | FKCore/FKServerConnectionManager.cpp | FajraKatviro/FKFramework2 | 0b55b402c255b50fe07ee568bbf46acd6617a6e4 | [
"MIT"
] | 2 | 2015-10-01T07:25:36.000Z | 2015-11-02T23:14:10.000Z | FKCore/FKServerConnectionManager.cpp | FajraKatviro/FKFramework2 | 0b55b402c255b50fe07ee568bbf46acd6617a6e4 | [
"MIT"
] | 13 | 2015-11-02T22:15:14.000Z | 2015-11-03T21:08:51.000Z | FKCore/FKServerConnectionManager.cpp | FajraKatviro/FKFramework2 | 0b55b402c255b50fe07ee568bbf46acd6617a6e4 | [
"MIT"
] | null | null | null | #include "FKServerConnectionManager.h"
#include "FKServerInfrastructure.h"
#include "FKClientInfrastructureReferent.h"
#include "FKMessage.h"
#include "FKBasicEvent.h"
#include "FKEventObject.h"
#include "FKLogger.h"
#include "FKBasicEventSubjects.h"
/*!
\class FKServerConnectionManager
\brief This class used to pro... | 30.038251 | 138 | 0.744588 | FajraKatviro |
ecde884684663576fef3f92ae1d4f7a5c2ffc33e | 4,811 | hpp | C++ | core/lgraphbase.hpp | MikeAnj/LiveHD_clone | d725a3bebc04457be7eb356f27e3b93969ee8d60 | [
"BSD-3-Clause"
] | 1 | 2022-01-30T03:06:22.000Z | 2022-01-30T03:06:22.000Z | core/lgraphbase.hpp | MikeAnj/LiveHD_clone | d725a3bebc04457be7eb356f27e3b93969ee8d60 | [
"BSD-3-Clause"
] | null | null | null | core/lgraphbase.hpp | MikeAnj/LiveHD_clone | d725a3bebc04457be7eb356f27e3b93969ee8d60 | [
"BSD-3-Clause"
] | null | null | null | // This file is distributed under the BSD 3-Clause License. See LICENSE for details.
#pragma once
#include <iostream>
#include <map>
#include <type_traits>
#include <vector>
#include "absl/container/flat_hash_map.h"
#include "iassert.hpp"
#include "lgedge.hpp"
#include "lgraph_base_core.hpp"
#include "mmap_vector.hp... | 31.03871 | 127 | 0.717314 | MikeAnj |
ecdf3edf5748efc3a3def4f73fba7235dc90b9cc | 2,729 | hpp | C++ | src/IceRay/geometry/flat/box.hpp | dmilos/IceRay | 4e01f141363c0d126d3c700c1f5f892967e3d520 | [
"MIT-0"
] | 2 | 2020-09-04T12:27:15.000Z | 2022-01-17T14:49:40.000Z | src/IceRay/geometry/flat/box.hpp | dmilos/IceRay | 4e01f141363c0d126d3c700c1f5f892967e3d520 | [
"MIT-0"
] | null | null | null | src/IceRay/geometry/flat/box.hpp | dmilos/IceRay | 4e01f141363c0d126d3c700c1f5f892967e3d520 | [
"MIT-0"
] | 1 | 2020-09-04T12:27:52.000Z | 2020-09-04T12:27:52.000Z | #ifndef _DDMM_IceRAY_geometry_box_HPP_
#define _DDMM_IceRAY_geometry_box_HPP_
// GS_DDMRM::S_IceRay::S_geometry::GC_box
#include "../_pure/_base.hpp"
#include "../_pure/intersect.hpp"
#include "../_pure/normal.hpp"
#include "../_pure/inside.hpp"
#include "../_pure/distance.hpp"
namespace GS_DDMRM
{... | 34.544304 | 113 | 0.563576 | dmilos |
ecdf978c6a6c76859033d608991561bffaf574c7 | 108 | cpp | C++ | Engine/source/EtEditor/Rendering/EpoxyGlContext.cpp | NeroBurner/ETEngine | 3fe039ff65cd1355957bcfce3f851fa411a86d94 | [
"MIT"
] | 552 | 2017-08-21T18:12:52.000Z | 2022-03-31T15:41:56.000Z | Engine/source/EtEditor/Rendering/EpoxyGlContext.cpp | NeroBurner/ETEngine | 3fe039ff65cd1355957bcfce3f851fa411a86d94 | [
"MIT"
] | 14 | 2017-08-07T23:36:13.000Z | 2021-05-10T08:41:19.000Z | Engine/source/EtEditor/Rendering/EpoxyGlContext.cpp | NeroBurner/ETEngine | 3fe039ff65cd1355957bcfce3f851fa411a86d94 | [
"MIT"
] | 40 | 2017-10-10T14:42:22.000Z | 2022-03-10T07:14:33.000Z | #include "stdafx.h"
#include "EpoxyGlContext.h"
#include <EtRendering/GraphicsContext/GlContextImpl.hpp>
| 15.428571 | 56 | 0.787037 | NeroBurner |
ece1eff65c6bb09da113047b761b6e7f13020cf3 | 13,135 | cpp | C++ | src/dedicated/console/TextConsoleWin32.cpp | DeadZoneLuna/csso-src | 6c978ea304ee2df3796bc9c0d2916bac550050d5 | [
"Unlicense"
] | 4 | 2021-10-03T05:16:55.000Z | 2021-12-28T16:49:27.000Z | src/dedicated/console/TextConsoleWin32.cpp | cafeed28/what | 08e51d077f0eae50afe3b592543ffa07538126f5 | [
"Unlicense"
] | null | null | null | src/dedicated/console/TextConsoleWin32.cpp | cafeed28/what | 08e51d077f0eae50afe3b592543ffa07538126f5 | [
"Unlicense"
] | 3 | 2022-02-02T18:09:58.000Z | 2022-03-06T18:54:39.000Z | //========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $NoKeywords: $
//
//=============================================================================//
// CTextConsoleWin32.cpp: Win32 implementation of the TextConsole class.
//
/////////////////////////////////////////////... | 20.364341 | 140 | 0.659536 | DeadZoneLuna |
ece3bc32ec565796b3f4da56d7fe87f6c8c112bd | 974 | cpp | C++ | src/engine/EngineInterface.cpp | Arkshine/PrototypeEngine | 6833b931ca02934dd5f68377fc8c486f01103841 | [
"Unlicense"
] | 2 | 2018-10-09T14:42:39.000Z | 2021-02-07T21:41:00.000Z | src/engine/EngineInterface.cpp | Arkshine/PrototypeEngine | 6833b931ca02934dd5f68377fc8c486f01103841 | [
"Unlicense"
] | null | null | null | src/engine/EngineInterface.cpp | Arkshine/PrototypeEngine | 6833b931ca02934dd5f68377fc8c486f01103841 | [
"Unlicense"
] | 1 | 2018-10-09T14:42:41.000Z | 2018-10-09T14:42:41.000Z | #include "Platform.h"
#include "Engine.h"
#include "FilePaths.h"
#include "EngineInterface.h"
#ifdef WIN32
//See post VS 2015 update 3 delayimp.h for the reason why this has to be defined. - Solokiller
#define DELAYIMP_INSECURE_WRITABLE_HOOKS
#include <delayimp.h>
FARPROC WINAPI DelayHook(
unsigned dliNotify... | 22.136364 | 130 | 0.693018 | Arkshine |
ece58171e099594ed65ee2ba0214810bedaf06b5 | 4,068 | cpp | C++ | PythonAPI/src/ctypeswrappers/jetfuelmediactypes.cpp | InsightGit/JetfuelGameEngine | 3ea0bf2fb5e09aadf304b7b5a16882d72336c408 | [
"Apache-2.0"
] | 4 | 2018-02-05T03:40:10.000Z | 2021-06-18T16:22:13.000Z | PythonAPI/src/ctypeswrappers/jetfuelmediactypes.cpp | InsightGit/JetfuelGameEngine | 3ea0bf2fb5e09aadf304b7b5a16882d72336c408 | [
"Apache-2.0"
] | null | null | null | PythonAPI/src/ctypeswrappers/jetfuelmediactypes.cpp | InsightGit/JetfuelGameEngine | 3ea0bf2fb5e09aadf304b7b5a16882d72336c408 | [
"Apache-2.0"
] | null | null | null | /*
* Jetfuel Game Engine- A SDL-based 2D game-engine
* Copyright (C) 2018 InfernoStudios
*
* 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... | 28.447552 | 81 | 0.644051 | InsightGit |
ece5c5993b62ac96455e64e2039b2e4f929ea31d | 6,340 | hpp | C++ | esp/logging/logginglib/logconfigptree.hpp | asselitx/HPCC-Platform | b13c1a368d132f0282323667313afd647ede63c9 | [
"Apache-2.0"
] | null | null | null | esp/logging/logginglib/logconfigptree.hpp | asselitx/HPCC-Platform | b13c1a368d132f0282323667313afd647ede63c9 | [
"Apache-2.0"
] | null | null | null | esp/logging/logginglib/logconfigptree.hpp | asselitx/HPCC-Platform | b13c1a368d132f0282323667313afd647ede63c9 | [
"Apache-2.0"
] | null | null | null | /*##############################################################################
HPCC SYSTEMS software Copyright (C) 2021 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... | 35.617978 | 99 | 0.579653 | asselitx |
ece61a786b25557969da5a4009fa858ce8754175 | 5,197 | cpp | C++ | src/config/TOMLConfigBuilder.cpp | smangano/theoria | 216c3edb5973cee60d3381881071e0a32428fee5 | [
"Apache-2.0"
] | null | null | null | src/config/TOMLConfigBuilder.cpp | smangano/theoria | 216c3edb5973cee60d3381881071e0a32428fee5 | [
"Apache-2.0"
] | 1 | 2016-10-09T15:40:16.000Z | 2016-10-20T03:11:38.000Z | src/config/TOMLConfigBuilder.cpp | smangano/theoria | 216c3edb5973cee60d3381881071e0a32428fee5 | [
"Apache-2.0"
] | null | null | null | #include <theoria/config/TOMLConfigBuilder.h>
#include <theoria/config/Config.h>
#include <theoria/except/except.h>
#include <utility>
#include <cpptoml.h>
#include <iostream>
using namespace theoria ;
using namespace config ;
TOMLConfigBuilder::~TOMLConfigBuilder()
{
}
std::unique_ptr<const Config> TOMLConfigBuilde... | 32.48125 | 132 | 0.552242 | smangano |
ece7f17340f89d425515401fa2efc6389a433ef5 | 25,596 | cpp | C++ | 01_Develop/libXMFFmpeg/Source/libavformat/wav.cpp | mcodegeeks/OpenKODE-Framework | d4382d781da7f488a0e7667362a89e8e389468dd | [
"MIT"
] | 2 | 2017-08-03T07:15:00.000Z | 2018-06-18T10:32:53.000Z | 01_Develop/libXMFFmpeg/Source/libavformat/wav.cpp | mcodegeeks/OpenKODE-Framework | d4382d781da7f488a0e7667362a89e8e389468dd | [
"MIT"
] | null | null | null | 01_Develop/libXMFFmpeg/Source/libavformat/wav.cpp | mcodegeeks/OpenKODE-Framework | d4382d781da7f488a0e7667362a89e8e389468dd | [
"MIT"
] | 2 | 2019-03-04T22:57:42.000Z | 2020-03-06T01:32:26.000Z | /*
* WAV muxer and demuxer
* Copyright (c) 2001, 2002 Fabrice Bellard
*
* Sony Wave64 demuxer
* RF64 demuxer
* Copyright (c) 2009 Daniel Verkamp
*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License... | 31.176614 | 118 | 0.56294 | mcodegeeks |
ecef06aa5811d7e2a8dc5e6fe6a6e2de24bc04c8 | 3,872 | cpp | C++ | libs/network/src/muddle/muddle_register.cpp | devjsc/ledger-1 | 2aa68e05b9f9c10a9971fc8ddf4848695511af3c | [
"Apache-2.0"
] | null | null | null | libs/network/src/muddle/muddle_register.cpp | devjsc/ledger-1 | 2aa68e05b9f9c10a9971fc8ddf4848695511af3c | [
"Apache-2.0"
] | null | null | null | libs/network/src/muddle/muddle_register.cpp | devjsc/ledger-1 | 2aa68e05b9f9c10a9971fc8ddf4848695511af3c | [
"Apache-2.0"
] | null | null | null | //------------------------------------------------------------------------------
//
// Copyright 2018-2019 Fetch.AI Limited
//
// 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
//
// ... | 25.642384 | 95 | 0.684401 | devjsc |
ecf282b05d74a86c9e9ab28fa8f37754ea41f60a | 745 | cpp | C++ | Test/Expect/test046.cpp | archivest/spin2cpp | 8541238366076777717e683efac35458e3796859 | [
"MIT"
] | 2 | 2021-05-27T18:22:01.000Z | 2021-05-29T13:40:38.000Z | Test/Expect/test046.cpp | archivest/spin2cpp | 8541238366076777717e683efac35458e3796859 | [
"MIT"
] | 1 | 2020-10-24T22:25:37.000Z | 2020-10-24T22:25:37.000Z | Test/Expect/test046.cpp | archivest/spin2cpp | 8541238366076777717e683efac35458e3796859 | [
"MIT"
] | null | null | null | #include <propeller.h>
#include "test046.h"
void test046::Fun(int32_t X, int32_t Y)
{
int32_t _tmp__0000, _tmp__0001;
_tmp__0001 = X;
if (_tmp__0001 == 0) {
goto _case__0005;
}
if ((_tmp__0001 >= 10) && (_tmp__0001 <= 12)) {
goto _case__0006;
}
goto _case__0007;
_case__0005: ;
_tmp__0000 = Y... | 18.170732 | 49 | 0.64698 | archivest |
ecf63bfdab2b037a2d5f8534c38e4858a146a757 | 7,584 | cpp | C++ | shared/lib_pv_incidence_modifier.cpp | JordanMalan/ssc | cadb7a9f3183d63c600b5c33f53abced35b6b319 | [
"BSD-3-Clause"
] | 61 | 2017-08-09T15:10:59.000Z | 2022-02-15T21:45:31.000Z | shared/lib_pv_incidence_modifier.cpp | JordanMalan/ssc | cadb7a9f3183d63c600b5c33f53abced35b6b319 | [
"BSD-3-Clause"
] | 462 | 2017-07-31T21:26:46.000Z | 2022-03-30T22:53:50.000Z | shared/lib_pv_incidence_modifier.cpp | JordanMalan/ssc | cadb7a9f3183d63c600b5c33f53abced35b6b319 | [
"BSD-3-Clause"
] | 73 | 2017-08-24T17:39:31.000Z | 2022-03-28T08:37:47.000Z | /**
BSD-3-Clause
Copyright 2019 Alliance for Sustainable Energy, LLC
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 f... | 47.698113 | 174 | 0.734045 | JordanMalan |
ecf8754e50232012c40a4cf5311e853562ff70f0 | 2,251 | cpp | C++ | src/ripple_websocket/autosocket/LogWebsockets.cpp | latcoin/rippled | ca0740de23ec4366d53b0d3770d9a05fc83072db | [
"BSL-1.0"
] | null | null | null | src/ripple_websocket/autosocket/LogWebsockets.cpp | latcoin/rippled | ca0740de23ec4366d53b0d3770d9a05fc83072db | [
"BSL-1.0"
] | null | null | null | src/ripple_websocket/autosocket/LogWebsockets.cpp | latcoin/rippled | ca0740de23ec4366d53b0d3770d9a05fc83072db | [
"BSL-1.0"
] | null | null | null | //------------------------------------------------------------------------------
/*
This file is part of rippled: https://github.com/ripple/rippled
Copyright (c) 2012, 2013 Ripple Labs Inc.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby ... | 33.102941 | 95 | 0.627721 | latcoin |
ecf90e7d34f9f7c983fe02322941359ff1a9b32e | 5,640 | cpp | C++ | Source/Runtime/Memory.cpp | EOSIO/WAVM | 940ec12d2c1df715602c58db3a7305af10003db9 | [
"BSD-3-Clause"
] | 21 | 2018-03-21T22:40:22.000Z | 2021-05-21T06:42:31.000Z | Source/Runtime/Memory.cpp | EOSIO/WAVM | 940ec12d2c1df715602c58db3a7305af10003db9 | [
"BSD-3-Clause"
] | null | null | null | Source/Runtime/Memory.cpp | EOSIO/WAVM | 940ec12d2c1df715602c58db3a7305af10003db9 | [
"BSD-3-Clause"
] | 9 | 2018-06-04T11:44:35.000Z | 2019-01-09T03:10:37.000Z | #include "Inline/BasicTypes.h"
#include "Runtime.h"
#include "RuntimePrivate.h"
namespace Runtime
{
// Global lists of memories; used to query whether an address is reserved by one of them.
static Platform::Mutex* memoriesMutex = Platform::createMutex();
static std::vector<MemoryInstance*> memories;
enum { numGua... | 33.176471 | 145 | 0.725709 | EOSIO |
ecf9f4fe21b28770fc69e0cb86863a2ffabadcfc | 1,058 | cpp | C++ | 12791/12791.cpp14.cpp | isac322/BOJ | 35959dd1a63d75ebca9ed606051f7a649d5c0c7b | [
"MIT"
] | 14 | 2017-05-02T02:00:42.000Z | 2021-11-16T07:25:29.000Z | 12791/12791.cpp14.cpp | isac322/BOJ | 35959dd1a63d75ebca9ed606051f7a649d5c0c7b | [
"MIT"
] | 1 | 2017-12-25T14:18:14.000Z | 2018-02-07T06:49:44.000Z | 12791/12791.cpp14.cpp | isac322/BOJ | 35959dd1a63d75ebca9ed606051f7a649d5c0c7b | [
"MIT"
] | 9 | 2016-03-03T22:06:52.000Z | 2020-04-30T22:06:24.000Z | #include <cstdio>
#include <algorithm>
using namespace std;
int main() {
int q, s, e;
scanf("%d", &q);
int years[] = { 1967,1969,1970,1971,1972,1973,1973,1974,1975,1976,1977,1977,1979, 1980,1983,1984,1987,1993,1995,1997,1999,2002,2003,2013,2016,9999 };
char album[][51] = { "DavidBowie","SpaceOddity","TheManWhoSo... | 32.060606 | 404 | 0.598299 | isac322 |
ecfb927497c22a6d3fb71ce0e9631df2140cadcb | 3,063 | hpp | C++ | ThirdParty-mod/java2cpp/android/content/ActivityNotFoundException.hpp | kakashidinho/HQEngine | 8125b290afa7c62db6cc6eac14e964d8138c7fd0 | [
"MIT"
] | 1 | 2019-04-03T01:53:28.000Z | 2019-04-03T01:53:28.000Z | ThirdParty-mod/java2cpp/android/content/ActivityNotFoundException.hpp | kakashidinho/HQEngine | 8125b290afa7c62db6cc6eac14e964d8138c7fd0 | [
"MIT"
] | null | null | null | ThirdParty-mod/java2cpp/android/content/ActivityNotFoundException.hpp | kakashidinho/HQEngine | 8125b290afa7c62db6cc6eac14e964d8138c7fd0 | [
"MIT"
] | null | null | null | /*================================================================================
code generated by: java2cpp
author: Zoran Angelov, mailto://baldzar@gmail.com
class: android.content.ActivityNotFoundException
================================================================================*/
#ifndef J2CP... | 28.896226 | 114 | 0.739145 | kakashidinho |
a601d99ec6c3fd43f4caf1cfde442e51d739667d | 2,642 | cpp | C++ | src/core/visual/win32/krmovie/ogg/iBE_Math.cpp | miahmie/krkrz | e4948f61393ca4a2acac0301a975165dd4efc643 | [
"Unlicense",
"Apache-2.0",
"Libpng",
"FTL",
"IJG"
] | null | null | null | src/core/visual/win32/krmovie/ogg/iBE_Math.cpp | miahmie/krkrz | e4948f61393ca4a2acac0301a975165dd4efc643 | [
"Unlicense",
"Apache-2.0",
"Libpng",
"FTL",
"IJG"
] | null | null | null | src/core/visual/win32/krmovie/ogg/iBE_Math.cpp | miahmie/krkrz | e4948f61393ca4a2acac0301a975165dd4efc643 | [
"Unlicense",
"Apache-2.0",
"Libpng",
"FTL",
"IJG"
] | null | null | null | //===========================================================================
//Copyright (C) 2003, 2004 Zentaro Kavanagh
//
//Redistribution and use in source and binary forms, with or without
//modification, are permitted provided that the following conditions
//are met:
//
//- Redistributions of source code must ret... | 38.852941 | 91 | 0.700227 | miahmie |
a60642ea3e29e8f63955d27ec24f3f6fb83d7b7d | 3,997 | cpp | C++ | Engine/Source/Runtime/Engine/Private/DataBunch.cpp | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | 1 | 2022-01-29T18:36:12.000Z | 2022-01-29T18:36:12.000Z | Engine/Source/Runtime/Engine/Private/DataBunch.cpp | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | null | null | null | Engine/Source/Runtime/Engine/Private/DataBunch.cpp | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | null | null | null | // Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
/*=============================================================================
DataBunch.cpp: Unreal bunch (sub-packet) functions.
=============================================================================*/
#include "Net/DataBunch.h"
#include "Engine/... | 27.376712 | 104 | 0.629972 | windystrife |
a607057f41683c7a0b919ac86a7b44c3ee7a58f7 | 11,127 | cpp | C++ | sdk/storage/azure-storage-files-datalake/src/datalake_directory_client.cpp | RickWinter/azure-sdk-for-cpp | b4fe751310f53669a941e00aa93072f2d10a4eba | [
"MIT"
] | 96 | 2020-03-19T07:49:39.000Z | 2022-03-20T14:22:41.000Z | sdk/storage/azure-storage-files-datalake/src/datalake_directory_client.cpp | RickWinter/azure-sdk-for-cpp | b4fe751310f53669a941e00aa93072f2d10a4eba | [
"MIT"
] | 2,572 | 2020-03-18T22:54:53.000Z | 2022-03-31T22:09:59.000Z | sdk/storage/azure-storage-files-datalake/src/datalake_directory_client.cpp | RickWinter/azure-sdk-for-cpp | b4fe751310f53669a941e00aa93072f2d10a4eba | [
"MIT"
] | 81 | 2020-03-19T09:42:00.000Z | 2022-03-24T05:11:05.000Z | // Copyright (c) Microsoft Corporation. All rights reserved.
// SPDX-License-Identifier: MIT
#include "azure/storage/files/datalake/datalake_directory_client.hpp"
#include <azure/core/http/policies/policy.hpp>
#include <azure/storage/common/crypt.hpp>
#include <azure/storage/common/internal/constants.hpp>
#include <a... | 43.127907 | 100 | 0.764986 | RickWinter |
a6091729a24fe205bc2cc6e473e989fa8480d769 | 1,836 | cpp | C++ | src/condor_startd.V6/StartdPluginManager.cpp | datadvance/htcondor | aa9cc9e87832003fb2533e6be5bc95ead4222318 | [
"Apache-2.0"
] | 217 | 2015-01-08T04:49:42.000Z | 2022-03-27T10:11:58.000Z | src/condor_startd.V6/StartdPluginManager.cpp | datadvance/htcondor | aa9cc9e87832003fb2533e6be5bc95ead4222318 | [
"Apache-2.0"
] | 185 | 2015-05-03T13:26:31.000Z | 2022-03-28T03:08:59.000Z | src/condor_startd.V6/StartdPluginManager.cpp | datadvance/htcondor | aa9cc9e87832003fb2533e6be5bc95ead4222318 | [
"Apache-2.0"
] | 133 | 2015-02-11T09:17:45.000Z | 2022-03-31T07:28:54.000Z | /*
* Copyright 2008 Red Hat, 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 t... | 22.95 | 78 | 0.729303 | datadvance |
a611437d2f6c1d9a6d439591540f5a3692af13c9 | 540 | hpp | C++ | Sources/OskGadgetCWrap/include/OskGadgetCWrap.hpp | opensmartkitchen/OSK-Bridge | 42bb222f6db74dda43ea86849862f338efb72339 | [
"Apache-2.0"
] | null | null | null | Sources/OskGadgetCWrap/include/OskGadgetCWrap.hpp | opensmartkitchen/OSK-Bridge | 42bb222f6db74dda43ea86849862f338efb72339 | [
"Apache-2.0"
] | null | null | null | Sources/OskGadgetCWrap/include/OskGadgetCWrap.hpp | opensmartkitchen/OSK-Bridge | 42bb222f6db74dda43ea86849862f338efb72339 | [
"Apache-2.0"
] | null | null | null | #ifndef OSK_GADGET_CWRAP_
#define OSK_GADGET_CWRAP_
#include <stddef.h>
#include <stdint.h>
#include <stdbool.h>
#ifdef __cplusplus
extern "C" {
#endif
// Class Memory Management
void * oskGadgetCreate();
void oskGadgetDestroy(void* oskGadget);
bool oskGadgetInit(void* oskGadget);
void o... | 18.62069 | 53 | 0.716667 | opensmartkitchen |
a611e4e2ae22cbdbe3729bf20d7e9959001ca527 | 1,789 | cpp | C++ | solid/utility/test/test_workpool_context.cpp | solidoss/solidframe | 92fa8ce5737b9e88f3df3f549a38e9df79b7bf96 | [
"BSL-1.0"
] | 4 | 2020-12-05T23:33:32.000Z | 2021-10-04T02:59:41.000Z | solid/utility/test/test_workpool_context.cpp | solidoss/solidframe | 92fa8ce5737b9e88f3df3f549a38e9df79b7bf96 | [
"BSL-1.0"
] | 1 | 2020-03-22T20:38:05.000Z | 2020-03-22T20:38:05.000Z | solid/utility/test/test_workpool_context.cpp | solidoss/solidframe | 92fa8ce5737b9e88f3df3f549a38e9df79b7bf96 | [
"BSL-1.0"
] | 2 | 2021-01-30T09:08:52.000Z | 2021-02-20T03:33:33.000Z | #include "solid/system/exception.hpp"
#include "solid/system/log.hpp"
#include "solid/utility/function.hpp"
#include "solid/utility/workpool.hpp"
#include <atomic>
#include <future>
#include <iostream>
using namespace solid;
using namespace std;
namespace {
const LoggerT logger("test_context");
struct Context {
s... | 24.506849 | 85 | 0.515931 | solidoss |
a6140feaed8ba2fb2b40bedf8c886301415d5aa3 | 668 | cpp | C++ | DSA1_gfg/05_insertion_sort.cpp | yashlad27/codeforce-codechef-problems | 4223dccb668e1d9ecabce4740178bc1bfe468023 | [
"MIT"
] | null | null | null | DSA1_gfg/05_insertion_sort.cpp | yashlad27/codeforce-codechef-problems | 4223dccb668e1d9ecabce4740178bc1bfe468023 | [
"MIT"
] | null | null | null | DSA1_gfg/05_insertion_sort.cpp | yashlad27/codeforce-codechef-problems | 4223dccb668e1d9ecabce4740178bc1bfe468023 | [
"MIT"
] | null | null | null | // INSERTION SORT:-
#include<bits/stdc++.h>
using namespace std;
void insertion_sort(int arr[], int n)
{
int i, key, j;
for (i = 0; i < n; i++)
{
key = arr[i];
j=i-1;
while(j>=0 && arr[j] > key)
{
arr[j+1] = arr[j];
j=j-1;
}... | 15.904762 | 40 | 0.399701 | yashlad27 |
a614cafd6c222ddcd37f6c1322341ba447edfa48 | 686 | cpp | C++ | common.cpp | FrozenCow/nzbtotar | c9760337c8cb690608149d71c107bebccad3dabc | [
"MIT"
] | null | null | null | common.cpp | FrozenCow/nzbtotar | c9760337c8cb690608149d71c107bebccad3dabc | [
"MIT"
] | null | null | null | common.cpp | FrozenCow/nzbtotar | c9760337c8cb690608149d71c107bebccad3dabc | [
"MIT"
] | null | null | null | #include "common.h"
#define PRINTFILE "/tmp/trace2"
void printrarread(const char *buf,size_t size, size_t offset) {
FILE *f = fopen(PRINTFILE,"a");
fprintf(f,"RAR_READ %lld @ %lld\n",size,offset);
for(int i=0;i<size;i++) {
fprintf(f,"%02x ", buf[i] & 0xff);
}
fprintf(f,"\n");
fclose(f);
sleep(1);
}
... | 26.384615 | 68 | 0.632653 | FrozenCow |
a6173c72e9a7b0d13e2615d5f286865c730d4a6c | 3,541 | cc | C++ | src/core/lib/gpr/sync_windows.cc | warlock135/grpc | 81e13e4fa9c0cdf7dc131ce548e1604c895b738c | [
"Apache-2.0"
] | 36,552 | 2015-02-26T17:30:13.000Z | 2022-03-31T22:41:33.000Z | src/core/lib/gpr/sync_windows.cc | SanjanaSingh897/grpc | 2d858866eb95ce5de8ccc8c35189a12733d8ca79 | [
"Apache-2.0"
] | 23,536 | 2015-02-26T17:50:56.000Z | 2022-03-31T23:39:42.000Z | src/core/lib/gpr/sync_windows.cc | SanjanaSingh897/grpc | 2d858866eb95ce5de8ccc8c35189a12733d8ca79 | [
"Apache-2.0"
] | 11,050 | 2015-02-26T17:22:10.000Z | 2022-03-31T10:12:35.000Z | /*
*
* Copyright 2015 gRPC authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... | 29.264463 | 78 | 0.664502 | warlock135 |
a6179bb570e97ba9b4b934c0623c27b7eebde47d | 305 | cpp | C++ | suda/0511/test.cpp | tusikalanse/acm-icpc | 20150f42752b85e286d812e716bb32ae1fa3db70 | [
"MIT"
] | 2 | 2021-06-09T12:27:07.000Z | 2021-06-11T12:02:03.000Z | suda/0511/test.cpp | tusikalanse/acm-icpc | 20150f42752b85e286d812e716bb32ae1fa3db70 | [
"MIT"
] | 1 | 2021-09-08T12:00:05.000Z | 2021-09-08T14:52:30.000Z | suda/0511/test.cpp | tusikalanse/acm-icpc | 20150f42752b85e286d812e716bb32ae1fa3db70 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
int main() {
cout << 1 << endl;
const int MAXN = 5e5;
cout << MAXN << " " << MAXN << endl;
for(int i = 1; i <= MAXN; ++i) {
cout << i + 1 << " ";
}
cout << endl;
for(int i = 1; i <= MAXN; ++i) {
cout << i + 1 << " ";
}
cout << endl;
return 0;
} | 17.941176 | 37 | 0.468852 | tusikalanse |
a617f4a4ee62a911cc221a084f7daa20d3b66ded | 4,417 | cpp | C++ | src/midi_player.cpp | Fadis/ifm | 8e538c67e756cfc4056bf406e578809dc2b462f9 | [
"MIT"
] | 20 | 2020-02-08T08:51:42.000Z | 2021-05-28T04:44:24.000Z | src/midi_player.cpp | Fadis/ifm | 8e538c67e756cfc4056bf406e578809dc2b462f9 | [
"MIT"
] | 1 | 2020-04-01T18:31:50.000Z | 2020-04-01T18:31:50.000Z | src/midi_player.cpp | Fadis/ifm | 8e538c67e756cfc4056bf406e578809dc2b462f9 | [
"MIT"
] | null | null | null | /*
Copyright (c) 2020 Naomasa Matsubayashi
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, publish, distri... | 35.336 | 125 | 0.678741 | Fadis |
a6192185a52c12a39daa89aeb06409cf43b90df1 | 11,733 | cpp | C++ | src/owPhysicsFluidSimulator.cpp | ranr01/pySibernetic | 82fee81c90b10c0135a10b710964a1b6ef0fc7c2 | [
"MIT"
] | 1 | 2021-08-31T01:49:37.000Z | 2021-08-31T01:49:37.000Z | src/owPhysicsFluidSimulator.cpp | ranr01/pySibernetic | 82fee81c90b10c0135a10b710964a1b6ef0fc7c2 | [
"MIT"
] | null | null | null | src/owPhysicsFluidSimulator.cpp | ranr01/pySibernetic | 82fee81c90b10c0135a10b710964a1b6ef0fc7c2 | [
"MIT"
] | 1 | 2022-02-19T16:20:27.000Z | 2022-02-19T16:20:27.000Z | /*******************************************************************************
* The MIT License (MIT)
*
* Copyright (c) 2011, 2013 OpenWorm.
* http://openworm.org
*
* Copyright (c) 2017, Ran Rubin.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of t... | 37.726688 | 113 | 0.677491 | ranr01 |
a619763bda3f8ac8dd0bc1c935305855eafc0d91 | 3,527 | hpp | C++ | src/lib/driver/Driver.hpp | psrebniak/css-preprocessor | 7b54fe3d47c22039239e0690eab39f5ebf027b83 | [
"MIT"
] | null | null | null | src/lib/driver/Driver.hpp | psrebniak/css-preprocessor | 7b54fe3d47c22039239e0690eab39f5ebf027b83 | [
"MIT"
] | null | null | null | src/lib/driver/Driver.hpp | psrebniak/css-preprocessor | 7b54fe3d47c22039239e0690eab39f5ebf027b83 | [
"MIT"
] | null | null | null | #ifndef __DRIVER_HPP__
#define __DRIVER_HPP__
#include <string>
#include <cstddef>
#include <istream>
#include <iostream>
#include <utility>
#include <map>
#include <queue>
#include "lib/types.hpp"
#include "lib/lexer/Lexer.hpp"
#include "lib/logger/Logger.hpp"
#include "lib/ast/node/Node.hpp"
#include "lib/generator... | 22.322785 | 85 | 0.516019 | psrebniak |
a619981023bae18c2816d723dde2a121c4af02a8 | 3,246 | cpp | C++ | Codeforces/Codeforces Round #492 (Div. 2)/C. Tesla.cpp | edwinsun98/Competitive-Programming-Solutions | 67d79a2193e6912a644d27b9a399ba02a60766b7 | [
"MIT"
] | null | null | null | Codeforces/Codeforces Round #492 (Div. 2)/C. Tesla.cpp | edwinsun98/Competitive-Programming-Solutions | 67d79a2193e6912a644d27b9a399ba02a60766b7 | [
"MIT"
] | null | null | null | Codeforces/Codeforces Round #492 (Div. 2)/C. Tesla.cpp | edwinsun98/Competitive-Programming-Solutions | 67d79a2193e6912a644d27b9a399ba02a60766b7 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#define f first
#define s second
#define all(vec) begin(vec), end(vec)
#define pf push_front
#define pb push_back
#define lb lower_bound
#define ub upper_bound
#define mk make_pair
using namespace std;
using namespace __gnu_pbds;
typedef long long ll;
ty... | 26.826446 | 68 | 0.331793 | edwinsun98 |
a61b6a138ac8e68efeb4a51c09296590cac9cc0d | 2,323 | hpp | C++ | ngraph/core/include/openvino/core/preprocess/input_network_info.hpp | tpwrules/openvino | 6addc0d535e9ab0b591dcefa2f771997a477ba4f | [
"Apache-2.0"
] | 1 | 2020-11-19T15:53:18.000Z | 2020-11-19T15:53:18.000Z | ngraph/core/include/openvino/core/preprocess/input_network_info.hpp | tpwrules/openvino | 6addc0d535e9ab0b591dcefa2f771997a477ba4f | [
"Apache-2.0"
] | 44 | 2020-12-09T12:38:22.000Z | 2022-03-28T13:18:29.000Z | ngraph/core/include/openvino/core/preprocess/input_network_info.hpp | evkotov/openvino | edb98aeb8eedc5ee2d1cc4bc03a0c5eae3fa85c8 | [
"Apache-2.0"
] | 4 | 2021-09-29T20:44:49.000Z | 2021-10-20T13:02:12.000Z | // Copyright (C) 2018-2021 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#pragma once
#include "openvino/core/core_visibility.hpp"
#include "openvino/core/layout.hpp"
#include "openvino/core/type/element_type.hpp"
namespace ov {
namespace preprocess {
/// \brief Information about network's input tenso... | 33.666667 | 120 | 0.687904 | tpwrules |
a61dc97200203ca53ebbdc1b2128cf2b22fcedb3 | 1,596 | cpp | C++ | test/test_ultrasonic_sensor.cpp | nr-parikh/acme_robotics_perception_module | c681454b8b77c5e0aa7f990cc1fd6345f717920f | [
"MIT"
] | null | null | null | test/test_ultrasonic_sensor.cpp | nr-parikh/acme_robotics_perception_module | c681454b8b77c5e0aa7f990cc1fd6345f717920f | [
"MIT"
] | null | null | null | test/test_ultrasonic_sensor.cpp | nr-parikh/acme_robotics_perception_module | c681454b8b77c5e0aa7f990cc1fd6345f717920f | [
"MIT"
] | 2 | 2017-10-16T03:16:35.000Z | 2020-12-12T20:18:20.000Z | /**
* @file test_ultrasonic_sensor.cpp
* @author nrparikh
* @copyright MIT license
*
* @brief DESCRIPTION
* Testing file for the UltrasonicSensor.
*/
#include <gtest/gtest.h>
#include <stdlib.h>
#include <ctime>
#include <iostream>
#include "ultrasonic_sensor.hpp"
/**
* @brief Class to test the worki... | 29.555556 | 73 | 0.714912 | nr-parikh |
a61f93b8b0f87f7c287a1b62cb396dfac256b0ec | 269 | cpp | C++ | problems/problem152/main.cpp | PoH314/Algorithms-and-Data-Structures | b295379d6b6515921702e2dc358b02680df3960a | [
"MIT"
] | 1 | 2022-03-01T15:47:08.000Z | 2022-03-01T15:47:08.000Z | problems/problem152/main.cpp | PoH314/Algorithms-and-Data-Structures | b295379d6b6515921702e2dc358b02680df3960a | [
"MIT"
] | 1 | 2022-03-21T20:01:08.000Z | 2022-03-21T20:01:08.000Z | problems/problem152/main.cpp | PoH314/Algorithms-and-Data-Structures | b295379d6b6515921702e2dc358b02680df3960a | [
"MIT"
] | 1 | 2022-03-21T17:53:34.000Z | 2022-03-21T17:53:34.000Z | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
int v[3];
cin >> a >> b >> c;
v[0] = b*2 + c*4;
v[1] = a*2 + c*2;
v[2] = b*2 + a*4;
sort(v, v + 3);
cout << v[0] << endl;
return 0;
}
| 12.809524 | 25 | 0.36803 | PoH314 |
a62635804f19de3c2e0d50b6b8cbf0d128cb5a75 | 1,595 | cpp | C++ | third_party/wds/src/libwds/rtsp/clientrtpports.cpp | zipated/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 2,151 | 2020-04-18T07:31:17.000Z | 2022-03-31T08:39:18.000Z | third_party/wds/src/libwds/rtsp/clientrtpports.cpp | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 395 | 2020-04-18T08:22:18.000Z | 2021-12-08T13:04:49.000Z | third_party/wds/src/libwds/rtsp/clientrtpports.cpp | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 338 | 2020-04-18T08:03:10.000Z | 2022-03-29T12:33:22.000Z | /*
* This file is part of Wireless Display Software for Linux OS
*
* Copyright (C) 2014 Intel Corporation.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 o... | 30.09434 | 70 | 0.729781 | zipated |
98a98143a7087d89cf0af185e135c112ea5b1610 | 1,503 | cpp | C++ | demo/cpp/cppver.cpp | berak/opencv_smallfry | fd8f64980dff0527523791984d6cb3dfcd2bc9bc | [
"BSD-3-Clause"
] | 57 | 2015-02-16T06:43:24.000Z | 2022-03-16T06:21:36.000Z | demo/cpp/cppver.cpp | berak/opencv_smallfry | fd8f64980dff0527523791984d6cb3dfcd2bc9bc | [
"BSD-3-Clause"
] | 4 | 2016-03-08T09:51:09.000Z | 2021-03-29T10:18:55.000Z | demo/cpp/cppver.cpp | berak/opencv_smallfry | fd8f64980dff0527523791984d6cb3dfcd2bc9bc | [
"BSD-3-Clause"
] | 27 | 2015-03-28T19:55:34.000Z | 2022-01-09T15:03:15.000Z | #include <iostream>
using namespace std;
#include <windows.h>
#if (defined(_M_ARM) || defined(_M_X64) || defined(WINRT)) && _WIN32_WINNT >= 0x501
const char *s="arm";
#else
const char *s="bein";
#endif
int getNumberOfCPUs(void)
{
#if defined WIN32 || defined _WIN32
SYSTEM_INFO sysinfo;
#if (defined(_M_ARM) || ... | 20.310811 | 83 | 0.617432 | berak |
98acb8216244257b95c2cc18842cdb5a27ee5ccb | 510 | cpp | C++ | Basic/Check Leap Year/SolutionByGourav.cpp | Mdanish777/Programmers-Community | b5ca9582fc1cd4337baa7077ff62130a1052583f | [
"MIT"
] | 261 | 2019-09-30T19:47:29.000Z | 2022-03-29T18:20:07.000Z | Basic/Check Leap Year/SolutionByGourav.cpp | Mdanish777/Programmers-Community | b5ca9582fc1cd4337baa7077ff62130a1052583f | [
"MIT"
] | 647 | 2019-10-01T16:51:29.000Z | 2021-12-16T20:39:44.000Z | Basic/Check Leap Year/SolutionByGourav.cpp | Mdanish777/Programmers-Community | b5ca9582fc1cd4337baa7077ff62130a1052583f | [
"MIT"
] | 383 | 2019-09-30T19:32:07.000Z | 2022-03-24T16:18:26.000Z | // Program to check if entered year is a leap year.
// Author: Gourav Khunger(https://github.com/GouravKhunger)
#include <iostream>
using namespace std;
bool isLeap(int year)
{
if (year % 400 == 0)
return true;
else if (year % 100 == 0)
return false;
else if (year % 4 == 0)
return ... | 17.586207 | 59 | 0.55098 | Mdanish777 |
98adf7ff814aa83fac119ab52e0d90c05920eb7d | 1,071 | cpp | C++ | CodeForces/Solutions/1029D.cpp | Shefin-CSE16/Competitive-Programming | 7c792081ae1d4b7060893165de34ffe7b9b7caed | [
"MIT"
] | 5 | 2020-10-03T17:15:26.000Z | 2022-03-29T21:39:22.000Z | CodeForces/Solutions/1029D.cpp | Shefin-CSE16/Competitive-Programming | 7c792081ae1d4b7060893165de34ffe7b9b7caed | [
"MIT"
] | null | null | null | CodeForces/Solutions/1029D.cpp | Shefin-CSE16/Competitive-Programming | 7c792081ae1d4b7060893165de34ffe7b9b7caed | [
"MIT"
] | 1 | 2021-03-01T12:56:50.000Z | 2021-03-01T12:56:50.000Z | #include <bits/stdc++.h>
using namespace std;
#define ll long long
map <ll, ll> cnt[12];
ll ara[200009], ln[200009];
int main()
{
ll n, k;
cin >> n >> k;
for(ll i = 1; i <= n; i++) {
scanf("%lld", &ara[i]);
ll tmp = ara[i];
ll len = 0;
while(tmp != 0) {
tmp ... | 18.789474 | 72 | 0.316527 | Shefin-CSE16 |
98ae9b01ba3e47e3f7efdb0c534d05cdfaf7b976 | 3,832 | hpp | C++ | libstm/algs/RedoRAWUtils.hpp | nmadduri/rstm | 5f4697f987625379d99bca1f32b33ee8e821c8a5 | [
"BSD-3-Clause"
] | 8 | 2016-12-05T19:39:55.000Z | 2021-07-22T07:00:40.000Z | libstm/algs/RedoRAWUtils.hpp | hlitz/rstm_zsim_tm | 1c66824b124f84c8812ca25f4a9aa225f9f1fa34 | [
"BSD-3-Clause"
] | null | null | null | libstm/algs/RedoRAWUtils.hpp | hlitz/rstm_zsim_tm | 1c66824b124f84c8812ca25f4a9aa225f9f1fa34 | [
"BSD-3-Clause"
] | 2 | 2018-06-02T07:46:33.000Z | 2020-06-26T02:12:34.000Z | /**
* Copyright (C) 2011
* University of Rochester Department of Computer Science
* and
* Lehigh University Department of Computer Science and Engineering
*
* License: Modified BSD
* Please see the file LICENSE.RSTM for licensing information
*/
#ifndef STM_REDO_RAW_CHECK_HPP
#define STM_REDO_RAW... | 36.495238 | 79 | 0.634656 | nmadduri |
98af66ad112c887b8ceae40f93ebf51354227d01 | 1,045 | cpp | C++ | src/widget-wifi-signal.cpp | 9ae8sdf76/odbii-pilot | 8ea5ba7c7001d5b9c293ab4d3a375d44bfd2d145 | [
"MIT"
] | null | null | null | src/widget-wifi-signal.cpp | 9ae8sdf76/odbii-pilot | 8ea5ba7c7001d5b9c293ab4d3a375d44bfd2d145 | [
"MIT"
] | 1 | 2021-05-11T16:04:44.000Z | 2021-05-11T16:04:44.000Z | src/widget-wifi-signal.cpp | 9ae8sdf76/odbii-pilot | 8ea5ba7c7001d5b9c293ab4d3a375d44bfd2d145 | [
"MIT"
] | 2 | 2021-01-31T13:04:05.000Z | 2022-01-12T12:01:17.000Z | #include "widget-wifi-signal.h"
using namespace dbuddy;
extern "C" void cb_time_change_task_handler(lv_task_t *);
void WifiSignal::init() {
Widget * time_container = get_ui()->get_widget(WIDGET_TIME_CONTAINER);
Widget * time_label = get_ui()->get_widget(WIDGET_TIME_LABEL);
set_self(lv_label_create(time_... | 34.833333 | 108 | 0.742584 | 9ae8sdf76 |
98af7427c8ca690220e45fe77f99a0609f05e9d9 | 6,610 | cpp | C++ | gvsoc/gvsoc_gap/models/pulp/udma/uart/v2/udma_uart.cpp | mfkiwl/gap_sdk | 642b798dfdc7b85ccabe6baba295033f0eadfcd4 | [
"Apache-2.0"
] | null | null | null | gvsoc/gvsoc_gap/models/pulp/udma/uart/v2/udma_uart.cpp | mfkiwl/gap_sdk | 642b798dfdc7b85ccabe6baba295033f0eadfcd4 | [
"Apache-2.0"
] | null | null | null | gvsoc/gvsoc_gap/models/pulp/udma/uart/v2/udma_uart.cpp | mfkiwl/gap_sdk | 642b798dfdc7b85ccabe6baba295033f0eadfcd4 | [
"Apache-2.0"
] | 1 | 2021-11-11T02:12:25.000Z | 2021-11-11T02:12:25.000Z | /*
* Copyright (C) 2021 GreenWaves Technologies, SAS
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
... | 29.247788 | 116 | 0.661725 | mfkiwl |
98b18d6b66815637b76fe5242075360f32657839 | 2,365 | cpp | C++ | DistributedTrees/ForestManager.cpp | palvaradomoya/forests | eec6a5e003a2849367fdeef18b7b5340b6d0e480 | [
"BSD-3-Clause"
] | null | null | null | DistributedTrees/ForestManager.cpp | palvaradomoya/forests | eec6a5e003a2849367fdeef18b7b5340b6d0e480 | [
"BSD-3-Clause"
] | null | null | null | DistributedTrees/ForestManager.cpp | palvaradomoya/forests | eec6a5e003a2849367fdeef18b7b5340b6d0e480 | [
"BSD-3-Clause"
] | 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.
*/
/*
* File: TreeManager.cpp
* Author: gabo
*
* Created on May 17, 2018, 4:24 PM
*/
#include "ForestManager.h"
rdf::ForestMan... | 25.430108 | 79 | 0.645666 | palvaradomoya |
98b4dc002fe27045decc8563ec701ed5f9504dbc | 6,921 | cxx | C++ | tomviz/ModuleThreshold.cxx | utkarshayachit/tomviz | 02efc26a14965602cced2343fe6d058c4a0ff903 | [
"BSD-3-Clause"
] | null | null | null | tomviz/ModuleThreshold.cxx | utkarshayachit/tomviz | 02efc26a14965602cced2343fe6d058c4a0ff903 | [
"BSD-3-Clause"
] | null | null | null | tomviz/ModuleThreshold.cxx | utkarshayachit/tomviz | 02efc26a14965602cced2343fe6d058c4a0ff903 | [
"BSD-3-Clause"
] | null | null | null | /******************************************************************************
This source file is part of the tomviz project.
Copyright Kitware, Inc.
This source code is released under the New BSD License, (the "License").
Unless required by applicable law or agreed to in writing, software
distributed u... | 30.355263 | 97 | 0.699754 | utkarshayachit |
98b624f55ebfdb877a0c5786e34067036f1a48de | 2,714 | cpp | C++ | src/game/systems/KeyboardInputSystem.cpp | MrBattary/darkest-castle | f5980f3f9167533197f711b79a852103a88a4569 | [
"MIT"
] | 2 | 2020-11-19T19:50:22.000Z | 2020-11-19T19:51:01.000Z | src/game/systems/KeyboardInputSystem.cpp | MrBattary/darkest-castle | f5980f3f9167533197f711b79a852103a88a4569 | [
"MIT"
] | null | null | null | src/game/systems/KeyboardInputSystem.cpp | MrBattary/darkest-castle | f5980f3f9167533197f711b79a852103a88a4569 | [
"MIT"
] | null | null | null | //
// Created by Battary on 26.05.2020.
//
#include "game/systems/KeyboardInputSystem.h"
KeyboardInputSystem::KeyboardInputSystem() {
setID(0);
setKeys(TK_ESCAPE, TK_UP, TK_DOWN, TK_LEFT, TK_RIGHT, TK_ENTER, TK_SPACE, TK_H, TK_I);
setKeysNames();
}
void KeyboardInputSystem::setKeys(int back = 0, int up = 0, in... | 36.186667 | 119 | 0.686072 | MrBattary |
98b69334f8d37209679dae8aa2d2a95d43a38499 | 377 | cpp | C++ | acmicpc.net/source/11869.cpp | tdm1223/Algorithm | 994149afffa21a81e38b822afcfc01f677d9e430 | [
"MIT"
] | 7 | 2019-06-26T07:03:32.000Z | 2020-11-21T16:12:51.000Z | acmicpc.net/source/11869.cpp | tdm1223/Algorithm | 994149afffa21a81e38b822afcfc01f677d9e430 | [
"MIT"
] | null | null | null | acmicpc.net/source/11869.cpp | tdm1223/Algorithm | 994149afffa21a81e38b822afcfc01f677d9e430 | [
"MIT"
] | 9 | 2019-02-28T03:34:54.000Z | 2020-12-18T03:02:40.000Z | // 11869. 님블
// 2021.05.11
// 게임 이론, 스프라그–그런디 정리
#include<iostream>
using namespace std;
int main()
{
int n;
cin >> n;
int ans = 0;
int k;
for (int i = 0; i < n; i++)
{
cin >> k;
ans ^= k;
}
if (ans > 0)
{
cout << "koosaga" << endl;
}
else
{
... | 12.16129 | 36 | 0.408488 | tdm1223 |
98b895494a7782ca9424df19781bdb1caf0ce80d | 6,884 | cpp | C++ | rest/src/database/tests/TestDatabase.cpp | cisocrgroup/pocoweb | 93546d026321744602f6ee90fd82503da56da3b7 | [
"Apache-2.0"
] | 10 | 2018-04-09T20:46:49.000Z | 2021-08-07T17:29:02.000Z | rest/src/database/tests/TestDatabase.cpp | cisocrgroup/pocoweb | 93546d026321744602f6ee90fd82503da56da3b7 | [
"Apache-2.0"
] | 61 | 2018-01-03T09:49:16.000Z | 2022-02-18T12:26:11.000Z | rest/src/database/tests/TestDatabase.cpp | cisocrgroup/pocoweb | 93546d026321744602f6ee90fd82503da56da3b7 | [
"Apache-2.0"
] | 3 | 2020-01-10T15:44:18.000Z | 2021-05-19T13:39:53.000Z | #define BOOST_TEST_DYN_LINK
#define BOOST_TEST_MODULE TestDatabase
#include "core/Book.hpp"
#include "core/Line.hpp"
#include "core/Page.hpp"
#include "database/Database.hpp"
#include "database/Tables.h"
#include "utils/MockDb.h"
#include <boost/test/unit_test.hpp>
#include <iostream>
#include <sqlpp11/sqlpp11.h>
usi... | 36.041885 | 80 | 0.579895 | cisocrgroup |
98be8a2b186d1c350434bba3bbef42aee864e222 | 4,770 | cpp | C++ | applicationsSrc/simpleCatoms3D/simpleCatom3DBlockCode.cpp | claytronics/visiblesim | 2762a88a23e50516d0f166dd9629f1ac7290fded | [
"Apache-2.0"
] | 4 | 2016-08-18T03:19:49.000Z | 2020-09-20T03:29:26.000Z | applicationsSrc/simpleCatoms3D/simpleCatom3DBlockCode.cpp | claytronics/visiblesim | 2762a88a23e50516d0f166dd9629f1ac7290fded | [
"Apache-2.0"
] | 2 | 2016-08-18T03:25:07.000Z | 2016-08-29T17:51:50.000Z | applicationsSrc/simpleCatoms3D/simpleCatom3DBlockCode.cpp | claytronics/visiblesim | 2762a88a23e50516d0f166dd9629f1ac7290fded | [
"Apache-2.0"
] | 3 | 2015-05-14T07:29:55.000Z | 2021-07-18T23:45:36.000Z | /*
* catom2D1BlockCode.cpp
*
* Created on: 12 avril 2013
* Author: ben
*/
#include <iostream>
#include <sstream>
#include "catoms3DWorld.h"
#include "simpleCatom3DBlockCode.h"
#include "scheduler.h"
#include "events.h"
#include <memory>
#define verbose 1
using namespace std;
using namespace Catoms3D;
Sim... | 32.896552 | 123 | 0.621593 | claytronics |
98bf4134e6cd2192628fcc10118ac305f981d354 | 3,085 | cpp | C++ | local.1.genesis/app.loaderTest/c_getopt.cpp | manxinator/aok | b8d7908dec4c04508f6eabf252684b105c14608b | [
"MIT"
] | null | null | null | local.1.genesis/app.loaderTest/c_getopt.cpp | manxinator/aok | b8d7908dec4c04508f6eabf252684b105c14608b | [
"MIT"
] | null | null | null | local.1.genesis/app.loaderTest/c_getopt.cpp | manxinator/aok | b8d7908dec4c04508f6eabf252684b105c14608b | [
"MIT"
] | null | null | null | /*------------------------------------------------------------------------------
Copyright (c) 2015 manxinator
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, includin... | 31.161616 | 80 | 0.544246 | manxinator |
98c05af6895832daab7d7259165ff6ad855e7bec | 1,196 | cxx | C++ | all-tests/test-dblbuff.cxx | Hungerarray/winbgim | 4a0bc7da71cacba61bcf6dcb7d3e2ad1ef8ebb82 | [
"MIT"
] | null | null | null | all-tests/test-dblbuff.cxx | Hungerarray/winbgim | 4a0bc7da71cacba61bcf6dcb7d3e2ad1ef8ebb82 | [
"MIT"
] | null | null | null | all-tests/test-dblbuff.cxx | Hungerarray/winbgim | 4a0bc7da71cacba61bcf6dcb7d3e2ad1ef8ebb82 | [
"MIT"
] | null | null | null | // FILE: dblbuff.cpp
// Demostrates double-buffering with the winbgim library.
// Michael Main -- Nov 25, 1998
#include <stdio.h> // Provides sprintf function
#include "winbgim.h" // Provides Windows BGI functions
int main( )
{
const int COLUMNS = 8;
const int ROWS = 16;
int x, y; // x and y pix... | 28.47619 | 63 | 0.620401 | Hungerarray |
98c2aa70232b5d4dd162b5e94617f00768c9c321 | 286 | cpp | C++ | api/games/OnlineMultiplayer.cpp | Paragoumba/Sships | 08dd8bb6e6d5cc6763771f22f2e3d04abaefc739 | [
"MIT"
] | null | null | null | api/games/OnlineMultiplayer.cpp | Paragoumba/Sships | 08dd8bb6e6d5cc6763771f22f2e3d04abaefc739 | [
"MIT"
] | null | null | null | api/games/OnlineMultiplayer.cpp | Paragoumba/Sships | 08dd8bb6e6d5cc6763771f22f2e3d04abaefc739 | [
"MIT"
] | null | null | null | //
// Created by paragoumba on 16/10/2019.
//
#include "OnlineMultiplayer.hpp"
OnlineMultiplayer::OnlineMultiplayer() = default;
Game* OnlineMultiplayer::newInstance(){
delete(instance);
return instance = new OnlineMultiplayer();
}
void OnlineMultiplayer::update(){
}
| 13 | 49 | 0.713287 | Paragoumba |
98c2f3d6736670bb307f7d0dda5a6ad941ba850f | 10,524 | cpp | C++ | FamilyTree.cpp | TomerDvir123/ancestor-tree-b | 013b89ae3c47408f177abf6fa94de53a01a8013e | [
"MIT"
] | null | null | null | FamilyTree.cpp | TomerDvir123/ancestor-tree-b | 013b89ae3c47408f177abf6fa94de53a01a8013e | [
"MIT"
] | null | null | null | FamilyTree.cpp | TomerDvir123/ancestor-tree-b | 013b89ae3c47408f177abf6fa94de53a01a8013e | [
"MIT"
] | null | null | null | //#include "FamilyTree.hpp"
//#include <iostream>
//#include <string>
//
//
//
//using namespace std;
//using namespace family;
#include "FamilyTree.hpp"
#include <string>
#include <stdexcept>
#include <iostream>
#include <cstring>
using namespace std;
using namespace family;
Tree::Tree(string name) {
this->MyNa... | 22.779221 | 90 | 0.418757 | TomerDvir123 |
98c3b175988236bcb60c1ce5cf9f831b9a1788ba | 1,614 | cpp | C++ | thrift/lib/cpp2/protocol/nimble/EncodeNimbleBlock.cpp | andywei/fbthrift | 59330df4969ecde98c09a5e2ae6e78a31735418f | [
"Apache-2.0"
] | null | null | null | thrift/lib/cpp2/protocol/nimble/EncodeNimbleBlock.cpp | andywei/fbthrift | 59330df4969ecde98c09a5e2ae6e78a31735418f | [
"Apache-2.0"
] | null | null | null | thrift/lib/cpp2/protocol/nimble/EncodeNimbleBlock.cpp | andywei/fbthrift | 59330df4969ecde98c09a5e2ae6e78a31735418f | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2019-present Facebook, 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 a... | 28.821429 | 77 | 0.737299 | andywei |
98c48edaf8079e3633fca88e0dac2b69c771448a | 6,349 | cc | C++ | src/post.cc | smirolo/tero | 8db171a22e6723bc1eed0b235f17cc962528b93d | [
"BSD-3-Clause"
] | 1 | 2020-06-27T00:27:10.000Z | 2020-06-27T00:27:10.000Z | src/post.cc | smirolo/tero | 8db171a22e6723bc1eed0b235f17cc962528b93d | [
"BSD-3-Clause"
] | null | null | null | src/post.cc | smirolo/tero | 8db171a22e6723bc1eed0b235f17cc962528b93d | [
"BSD-3-Clause"
] | null | null | null | /* Copyright (c) 2009-2013, Fortylines LLC
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of condi... | 28.34375 | 80 | 0.606867 | smirolo |
98c5aa208506bbc593f4d18ce839c305dc7ab179 | 10,983 | cpp | C++ | src/3rdparty/qt-components/src/mx/qmxtoplevelitem.cpp | qtmediahub/qtmediahub-ruins | 844c71dbd7bcbd94a6ba76b952b7d1850e3ddc67 | [
"BSD-3-Clause"
] | null | null | null | src/3rdparty/qt-components/src/mx/qmxtoplevelitem.cpp | qtmediahub/qtmediahub-ruins | 844c71dbd7bcbd94a6ba76b952b7d1850e3ddc67 | [
"BSD-3-Clause"
] | null | null | null | src/3rdparty/qt-components/src/mx/qmxtoplevelitem.cpp | qtmediahub/qtmediahub-ruins | 844c71dbd7bcbd94a6ba76b952b7d1850e3ddc67 | [
"BSD-3-Clause"
] | null | null | null | /****************************************************************************
**
** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the Qt Components project on Qt Labs.
**
** No Commercial Usage
** Th... | 35.201923 | 111 | 0.688792 | qtmediahub |
98c9dd552d306a0b0642eff4e09097777e3a0f7e | 1,729 | hpp | C++ | include/Utilities/MoveList.hpp | NicolasAlmerge/chess_game | 5f10d911cea40ac8d09cf418bdc14facaa1ecd4e | [
"MIT"
] | 1 | 2022-02-05T10:38:48.000Z | 2022-02-05T10:38:48.000Z | include/Utilities/MoveList.hpp | NicolasAlmerge/chess_game | 5f10d911cea40ac8d09cf418bdc14facaa1ecd4e | [
"MIT"
] | null | null | null | include/Utilities/MoveList.hpp | NicolasAlmerge/chess_game | 5f10d911cea40ac8d09cf418bdc14facaa1ecd4e | [
"MIT"
] | null | null | null | #pragma once
#include <list>
#include <iterator>
#include <SFML/Graphics.hpp>
#include "../Components/Board.hpp"
#include "Move.hpp"
#include "PieceTransition.hpp"
using namespace sf;
class MoveList
{
public:
MoveList(Board&, PieceTransition&);
list<shared_ptr<Move>>::iterator getNewIterator() { return m_mov... | 39.295455 | 114 | 0.716021 | NicolasAlmerge |
98cb18f4fa2d6fe4ee76e9133bf2eecbdb51b72c | 3,337 | cpp | C++ | MineFLTKDRM/Minesweeper.cpp | i-anton/MineFLTK | 70e268b5559f982e666c63bfae808e3476c9b503 | [
"Unlicense"
] | 1 | 2019-12-01T20:23:05.000Z | 2019-12-01T20:23:05.000Z | MineFLTKDRM/Minesweeper.cpp | i-anton/MineFLTK | 70e268b5559f982e666c63bfae808e3476c9b503 | [
"Unlicense"
] | null | null | null | MineFLTKDRM/Minesweeper.cpp | i-anton/MineFLTK | 70e268b5559f982e666c63bfae808e3476c9b503 | [
"Unlicense"
] | null | null | null | #include "Minesweeper.h"
#include <queue>
#include "Vector2i.h"
Cell::Cell() :
marked(false),
opened(false),
neighbours(0)
{}
Minesweeper::Minesweeper() :
current_state(GameState::Playing),
unmarked_mines(0),
not_mined(TABLE_ROWS*TABLE_ROWS),
total_cells(not_mined)
{}
Minesweeper::~Minesweeper(... | 23.666667 | 85 | 0.611328 | i-anton |
98cd6c7f68e741510ffc669f2385e806cdeb8e0c | 83 | cpp | C++ | raygame/Condition.cpp | MatthewRagas/AI_Agents | 7c513fe63956929bb55ee1f5e6fdf756422497fc | [
"MIT"
] | null | null | null | raygame/Condition.cpp | MatthewRagas/AI_Agents | 7c513fe63956929bb55ee1f5e6fdf756422497fc | [
"MIT"
] | null | null | null | raygame/Condition.cpp | MatthewRagas/AI_Agents | 7c513fe63956929bb55ee1f5e6fdf756422497fc | [
"MIT"
] | null | null | null | #include "Condition.h"
Condition::Condition()
{
}
Condition::~Condition()
{
}
| 6.384615 | 23 | 0.638554 | MatthewRagas |
98cdd283af66eece5017b11bef8424da853301d5 | 609 | cpp | C++ | Source/Zmey/Graphics/Features/FeatureTemplate.cpp | nikoladimitroff/Zmey | 4bcea8d66cd3452c532fa68286aa03ad8528a3b4 | [
"MIT"
] | 22 | 2017-05-06T18:08:48.000Z | 2022-01-12T02:10:22.000Z | Source/Zmey/Graphics/Features/FeatureTemplate.cpp | nikoladimitroff/Zmey | 4bcea8d66cd3452c532fa68286aa03ad8528a3b4 | [
"MIT"
] | 21 | 2017-12-11T18:42:49.000Z | 2018-08-27T23:13:47.000Z | Source/Zmey/Graphics/Features/FeatureTemplate.cpp | nikoladimitroff/Zmey | 4bcea8d66cd3452c532fa68286aa03ad8528a3b4 | [
"MIT"
] | null | null | null | #pragma once
#include <Zmey/Graphics/Features/FEATURE_NAME.h>
#include <Zmey/Graphics/Backend/CommandList.h>
#include <Zmey/Graphics/Renderer.h>
#include <Zmey/World.h>
#include <Zmey/Components/TransformManager.h>
namespace Zmey
{
namespace Graphics
{
namespace Features
{
void FEATURE_NAME::GatherDat... | 18.454545 | 138 | 0.73399 | nikoladimitroff |
98d24ada6d0581a80f79fa313d4ebafb8cb975c0 | 1,348 | cpp | C++ | system/zombie/backup_dancer.cpp | dnartz/PvZ-Emulator | 3954f36f4e0f22cee07d6a86003d3892f0938b8b | [
"BSD-2-Clause"
] | 1 | 2022-03-29T23:49:55.000Z | 2022-03-29T23:49:55.000Z | system/zombie/backup_dancer.cpp | dnartz/PvZ-Emulator | 3954f36f4e0f22cee07d6a86003d3892f0938b8b | [
"BSD-2-Clause"
] | 2 | 2021-03-10T18:17:07.000Z | 2021-05-11T13:59:22.000Z | system/zombie/backup_dancer.cpp | dnartz/PvZ-Emulator | 3954f36f4e0f22cee07d6a86003d3892f0938b8b | [
"BSD-2-Clause"
] | 1 | 2021-10-18T18:29:47.000Z | 2021-10-18T18:29:47.000Z | #include <cmath>
#include "zombie.h"
namespace pvz_emulator::system {
using namespace pvz_emulator::object;
void zombie_backup_dancer::update(zombie& z) {
if (z.is_eating) {
return;
}
if (z.status == zombie_status::backup_spawning) {
z.dy = static_cast<float>(round(z.countdown.action * (... | 24.962963 | 86 | 0.626113 | dnartz |
98d496eb24f8642f90d9d4326a5049bac96ce92e | 3,488 | cxx | C++ | python/kwiver/sprokit/pipeline/version.cxx | mwoehlke-kitware/kwiver | 614a488bd2b7fe551ac75eec979766d882709791 | [
"BSD-3-Clause"
] | 176 | 2015-07-31T23:33:37.000Z | 2022-03-21T23:42:44.000Z | python/kwiver/sprokit/pipeline/version.cxx | mwoehlke-kitware/kwiver | 614a488bd2b7fe551ac75eec979766d882709791 | [
"BSD-3-Clause"
] | 1,276 | 2015-05-03T01:21:27.000Z | 2022-03-31T15:32:20.000Z | python/kwiver/sprokit/pipeline/version.cxx | mwoehlke-kitware/kwiver | 614a488bd2b7fe551ac75eec979766d882709791 | [
"BSD-3-Clause"
] | 85 | 2015-01-25T05:13:38.000Z | 2022-01-14T14:59:37.000Z | // This file is part of KWIVER, and is distributed under the
// OSI-approved BSD 3-Clause License. See top-level LICENSE file or
// https://github.com/Kitware/kwiver/blob/master/LICENSE for details.
#include <pybind11/pybind11.h>
#include <sprokit/pipeline/version.h>
#include <vital/version.h>
/**
* \file version.... | 30.596491 | 77 | 0.733372 | mwoehlke-kitware |
98d8e2d19b2350c7ebdbcdfa7c1a74983942dfea | 21,492 | cpp | C++ | Info/Info/Quests/QuestsInfo.cpp | Teles1/LuniaAsio | 62e404442cdb6e5523fc6e7a5b0f64a4471180ed | [
"MIT"
] | null | null | null | Info/Info/Quests/QuestsInfo.cpp | Teles1/LuniaAsio | 62e404442cdb6e5523fc6e7a5b0f64a4471180ed | [
"MIT"
] | null | null | null | Info/Info/Quests/QuestsInfo.cpp | Teles1/LuniaAsio | 62e404442cdb6e5523fc6e7a5b0f64a4471180ed | [
"MIT"
] | null | null | null | #include <Info/Info/Quests/QuestsInfo.h>
namespace Lunia {
namespace XRated {
namespace Database {
namespace Info {
const int QuestInfo::Condition::NonUseGuildLevel = -1;
QuestInfo::QuestInfo()
{
}
void QuestInfo::Serialize(Serializer::IStreamWriter& out) const
{
out.Begin(L"AllM::XR... | 35.348684 | 149 | 0.640238 | Teles1 |
98daca3368b733539d9fab918f657c1c1c477cf7 | 1,015 | cpp | C++ | p173_Binary_Search_Tree_Iterator/p173.cpp | Song1996/Leetcode | ecb0a2de67a57b899a12d0cb18272fb37dbf3ceb | [
"MIT"
] | null | null | null | p173_Binary_Search_Tree_Iterator/p173.cpp | Song1996/Leetcode | ecb0a2de67a57b899a12d0cb18272fb37dbf3ceb | [
"MIT"
] | null | null | null | p173_Binary_Search_Tree_Iterator/p173.cpp | Song1996/Leetcode | ecb0a2de67a57b899a12d0cb18272fb37dbf3ceb | [
"MIT"
] | null | null | null | #include <iostream>
#include <memory>
#include <vector>
#include <stack>
#include <map>
#include <string>
#include <assert.h>
#include <stdlib.h>
#include <fstream>
#include <algorithm>
using namespace std;
struct TreeNode {
int val;
TreeNode *left;
TreeNode *right;
TreeNode(int x) : val(x), left(NULL)... | 19.150943 | 57 | 0.529064 | Song1996 |
98dd474cc006efd11bf59e94f1eefd4b99d8da0c | 1,818 | cpp | C++ | Graph/GetPath_BFS.cpp | ayushhsinghh/DSASolutions | f898b35484b86519f73fdca969f7d579be98804e | [
"MIT"
] | null | null | null | Graph/GetPath_BFS.cpp | ayushhsinghh/DSASolutions | f898b35484b86519f73fdca969f7d579be98804e | [
"MIT"
] | null | null | null | Graph/GetPath_BFS.cpp | ayushhsinghh/DSASolutions | f898b35484b86519f73fdca969f7d579be98804e | [
"MIT"
] | null | null | null | #include<iostream>
#include<algorithm>
#include<queue>
#include<vector>
#include<utility>
#include<map>
using namespace std;
vector<int> getPath(int **edges , int nVertex , int start , int end){
bool *visited = new bool[nVertex];
for(int i = 0 ; i < nVertex ; i++){
visited[i] = false;
}
map<in... | 20.659091 | 69 | 0.459296 | ayushhsinghh |
98e287c837bad8a95e763c62d94662568007a21f | 10,774 | cpp | C++ | production/libs/fog/Fog/Src/Fog/Core/Math/Solve_Polynomial_Analytic.cpp | Lewerow/DetailIdentifier | bd5e0b3b55b5ce5b24db51ae45ed53298d331687 | [
"MIT"
] | null | null | null | production/libs/fog/Fog/Src/Fog/Core/Math/Solve_Polynomial_Analytic.cpp | Lewerow/DetailIdentifier | bd5e0b3b55b5ce5b24db51ae45ed53298d331687 | [
"MIT"
] | null | null | null | production/libs/fog/Fog/Src/Fog/Core/Math/Solve_Polynomial_Analytic.cpp | Lewerow/DetailIdentifier | bd5e0b3b55b5ce5b24db51ae45ed53298d331687 | [
"MIT"
] | null | null | null | // [Fog-Core]
//
// [License]
// MIT, See COPYING file in package
// [Precompiled Headers]
#if defined(FOG_PRECOMP)
#include FOG_PRECOMP
#endif // FOG_PRECOMP
// [Dependencies]
#include <Fog/Core/Global/Init_p.h>
#include <Fog/Core/Global/Private.h>
#include <Fog/Core/Math/Fuzzy.h>
#include <Fog/Core/Math/Math.h>
#in... | 26.278049 | 121 | 0.542417 | Lewerow |
98e43dc5cec0add6ee5418aa39dc5042224c1779 | 871 | hpp | C++ | test/mock/core/consensus/grandpa/chain_mock.hpp | FlorianFranzen/kagome | 27ee11c78767e72f0ecd2c515c77bebc2ff5758d | [
"Apache-2.0"
] | null | null | null | test/mock/core/consensus/grandpa/chain_mock.hpp | FlorianFranzen/kagome | 27ee11c78767e72f0ecd2c515c77bebc2ff5758d | [
"Apache-2.0"
] | null | null | null | test/mock/core/consensus/grandpa/chain_mock.hpp | FlorianFranzen/kagome | 27ee11c78767e72f0ecd2c515c77bebc2ff5758d | [
"Apache-2.0"
] | null | null | null | /**
* Copyright Soramitsu Co., Ltd. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef KAGOME_TEST_MOCK_CORE_CONSENSUS_GRANDPA_CHAIN_MOCK_HPP
#define KAGOME_TEST_MOCK_CORE_CONSENSUS_GRANDPA_CHAIN_MOCK_HPP
#include <gmock/gmock.h>
#include "consensus/grandpa/chain.hpp"
namespace kagome::consensu... | 30.034483 | 75 | 0.692308 | FlorianFranzen |
98e486358337d37f335709045df2b528399ecccc | 3,511 | hpp | C++ | sdk/cpp/core/src/netconf_provider.hpp | YDK-Solutions/ydk | 7ab961284cdc82de8828e53fa4870d3204d7730e | [
"ECL-2.0",
"Apache-2.0"
] | 125 | 2016-03-15T17:04:13.000Z | 2022-03-22T02:46:17.000Z | sdk/cpp/core/src/netconf_provider.hpp | YDK-Solutions/ydk | 7ab961284cdc82de8828e53fa4870d3204d7730e | [
"ECL-2.0",
"Apache-2.0"
] | 818 | 2016-03-17T17:06:00.000Z | 2022-03-28T03:56:17.000Z | sdk/cpp/core/src/netconf_provider.hpp | YDK-Solutions/ydk | 7ab961284cdc82de8828e53fa4870d3204d7730e | [
"ECL-2.0",
"Apache-2.0"
] | 93 | 2016-03-15T19:18:55.000Z | 2022-02-24T13:55:07.000Z | /* ----------------------------------------------------------------
Copyright 2016 Cisco 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 at
http://www.apache.org/licenses/LICENSE-2.0
... | 42.817073 | 170 | 0.522928 | YDK-Solutions |
98e6387f57e12ab0a0cd9d3adaba20e2137c9c5a | 297 | cpp | C++ | src/Support/ContextTransition.cpp | G-o-T-o/CircuitOS | 383bd4794b4f3f55f8249d602f1f7bd10b336a84 | [
"MIT"
] | 14 | 2020-03-22T13:21:46.000Z | 2021-12-10T04:28:44.000Z | src/Support/ContextTransition.cpp | G-o-T-o/CircuitOS | 383bd4794b4f3f55f8249d602f1f7bd10b336a84 | [
"MIT"
] | 5 | 2020-04-14T19:35:16.000Z | 2021-08-30T03:02:36.000Z | src/Support/ContextTransition.cpp | G-o-T-o/CircuitOS | 383bd4794b4f3f55f8249d602f1f7bd10b336a84 | [
"MIT"
] | 5 | 2021-02-10T09:02:43.000Z | 2021-08-24T04:56:04.000Z | #include "../../Setup.hpp"
#include "ContextTransition.h"
bool ContextTransition::transitionRunning = false;
bool ContextTransition::isRunning(){
return transitionRunning;
}
#ifdef CIRCUITOS_LOWRAM
#include "LowRamContextTransition.impl"
#else
#include "StandardContextTransition.impl"
#endif | 22.846154 | 50 | 0.794613 | G-o-T-o |
98e691599abd777f53fa861969a4e6c64dec5037 | 790 | cpp | C++ | src/cxx11-detection-idiom.cpp | mariokonrad/cppug-sfinae-concepts | aeb633261d15fe5f63bf36c79e30247c8db88cfc | [
"CC-BY-4.0"
] | null | null | null | src/cxx11-detection-idiom.cpp | mariokonrad/cppug-sfinae-concepts | aeb633261d15fe5f63bf36c79e30247c8db88cfc | [
"CC-BY-4.0"
] | null | null | null | src/cxx11-detection-idiom.cpp | mariokonrad/cppug-sfinae-concepts | aeb633261d15fe5f63bf36c79e30247c8db88cfc | [
"CC-BY-4.0"
] | 1 | 2019-05-29T05:08:30.000Z | 2019-05-29T05:08:30.000Z | #include <iostream>
#include <type_traits>
namespace cxx11_detection_idom
{
template <class T>
struct has_add
{
template <class U>
static constexpr decltype(std::declval<U>().add(int(), int()), bool()) test(int)
{ return true; }
template <class U>
static constexpr bool test(...)
{ return false; }
static const... | 22.571429 | 81 | 0.634177 | mariokonrad |
98e71ba74173ebce8c049d3fc3b1191557f7db94 | 4,923 | cpp | C++ | src/Utils/Utils.cpp | district10/learning-opencv | 485c1b632fab8522646f93f5ace19664c4ecfb7e | [
"MIT"
] | null | null | null | src/Utils/Utils.cpp | district10/learning-opencv | 485c1b632fab8522646f93f5ace19664c4ecfb7e | [
"MIT"
] | null | null | null | src/Utils/Utils.cpp | district10/learning-opencv | 485c1b632fab8522646f93f5ace19664c4ecfb7e | [
"MIT"
] | null | null | null | #include "Utils.h"
#include <QImage>
#include <QDebug>
#include <vector>
#include <cv.h>
#include "opencv2/highgui/highgui.hpp"
#include "opencv2/imgproc/imgproc.hpp"
#include "Configs.h"
#ifndef DEFAULT_INPUT_IMAGE_DIR
#define DEFAULT_INPUT_IMAGE_DIR ""
#endif
using namespace cv;
cv::RNG Utils::rng(12345);
... | 31.356688 | 112 | 0.540727 | district10 |
98e8e9340270c099a7277cbb4a0848b58a2ce121 | 983 | hpp | C++ | Include/vtb/BuilderBase.hpp | cschladetsch/VulkanDemo | ea3ebd86f47c2d8f37b9eb790253e0a55284e943 | [
"MIT"
] | null | null | null | Include/vtb/BuilderBase.hpp | cschladetsch/VulkanDemo | ea3ebd86f47c2d8f37b9eb790253e0a55284e943 | [
"MIT"
] | null | null | null | Include/vtb/BuilderBase.hpp | cschladetsch/VulkanDemo | ea3ebd86f47c2d8f37b9eb790253e0a55284e943 | [
"MIT"
] | null | null | null | #pragma once
#include "Vulkan.hpp"
VTB_BEGIN
// Provides a `heap` that always increases in size, so that objects
// can be referenced by pointer across method calls without using the runtime heap.
// This is only suitable for PODs.
struct BuilderBase
{
protected:
BuilderBase(size_t size = heapSize_) : heap_(new ... | 23.97561 | 83 | 0.639878 | cschladetsch |
98e91a8fdf1b1ff993647939f3947f4b38b4af23 | 2,843 | cpp | C++ | GCanvas/core/src/support/Util.cpp | nicholasalx/GCanvas | b65dc955e62cad69b65cad35c1e7c920eaf9cdfd | [
"Apache-2.0"
] | 1 | 2019-08-29T07:30:19.000Z | 2019-08-29T07:30:19.000Z | GCanvas/core/src/support/Util.cpp | nicholasalx/GCanvas | b65dc955e62cad69b65cad35c1e7c920eaf9cdfd | [
"Apache-2.0"
] | null | null | null | GCanvas/core/src/support/Util.cpp | nicholasalx/GCanvas | b65dc955e62cad69b65cad35c1e7c920eaf9cdfd | [
"Apache-2.0"
] | null | null | null | /**
* Created by G-Canvas Open Source Team.
* Copyright (c) 2017, Alibaba, Inc. All rights reserved.
*
* This source code is licensed under the Apache Licence 2.0.
* For the full copyright and license information, please view
* the LICENSE file in the root directory of this source tree.
*/
#include "Util.h"
#inc... | 25.159292 | 81 | 0.600422 | nicholasalx |
98edbef3d21fd3c0d7e5ce8b7e9aae68809cef84 | 349 | cpp | C++ | Recursion/Sort_a_stack.cpp | Razdeep/GeeksforGeeks | 32f471932f1c17eb538e0376d141a8fbf303cf55 | [
"MIT"
] | null | null | null | Recursion/Sort_a_stack.cpp | Razdeep/GeeksforGeeks | 32f471932f1c17eb538e0376d141a8fbf303cf55 | [
"MIT"
] | null | null | null | Recursion/Sort_a_stack.cpp | Razdeep/GeeksforGeeks | 32f471932f1c17eb538e0376d141a8fbf303cf55 | [
"MIT"
] | null | null | null | // https://practice.geeksforgeeks.org/problems/sort-a-stack/1
void SortedStack :: sort()
{
//Your code here
vector<int> arr;
while(int(this->s.size()))
{
arr.push_back(this->s.top());
this->s.pop();
}
std::sort(arr.begin(), arr.end());
for (int i = 0; i < int(arr.size()); ++i)
... | 23.266667 | 61 | 0.544413 | Razdeep |
98eeaee5dbb9d6687efcf9789bd08c67f5654c54 | 1,058 | hpp | C++ | makepad/ChakraCore/pal/src/include/pal/event.hpp | makepaddev/makepad | 25d2f18c8a7c190fd1b199762817b6514118e045 | [
"MIT"
] | 8,664 | 2016-01-13T17:33:19.000Z | 2019-05-06T19:55:36.000Z | makepad/ChakraCore/pal/src/include/pal/event.hpp | makepaddev/makepad | 25d2f18c8a7c190fd1b199762817b6514118e045 | [
"MIT"
] | 5,058 | 2016-01-13T17:57:02.000Z | 2019-05-04T15:41:54.000Z | makepad/ChakraCore/pal/src/include/pal/event.hpp | makepaddev/makepad | 25d2f18c8a7c190fd1b199762817b6514118e045 | [
"MIT"
] | 1,367 | 2016-01-13T17:54:57.000Z | 2019-04-29T18:16:27.000Z | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
/*++
Module Name:
event.hpp
Abstract:
Event object structure definition.
--*/
#ifndef _PAL_EVENT_H... | 15.114286 | 71 | 0.646503 | makepaddev |
98eefbe0c57de60318f9579bd07ee5dfe66172c8 | 930 | hpp | C++ | source/quantum-script.lib/quantum-script-iterator.hpp | g-stefan/quantum-script | 479c7c9bc3831ecafa79071c40fa766985130b59 | [
"MIT",
"Unlicense"
] | null | null | null | source/quantum-script.lib/quantum-script-iterator.hpp | g-stefan/quantum-script | 479c7c9bc3831ecafa79071c40fa766985130b59 | [
"MIT",
"Unlicense"
] | null | null | null | source/quantum-script.lib/quantum-script-iterator.hpp | g-stefan/quantum-script | 479c7c9bc3831ecafa79071c40fa766985130b59 | [
"MIT",
"Unlicense"
] | null | null | null | //
// Quantum Script
//
// Copyright (c) 2020-2021 Grigore Stefan <g_stefan@yahoo.com>
// Created by Grigore Stefan <g_stefan@yahoo.com>
//
// MIT License (MIT) <http://opensource.org/licenses/MIT>
//
#ifndef QUANTUM_SCRIPT_ITERATOR_HPP
#define QUANTUM_SCRIPT_ITERATOR_HPP
#ifndef QUANTUM_SCRIPT_VARIABLE_H... | 16.909091 | 63 | 0.673118 | g-stefan |
98f00cbc4f5031658cec1d50210652783d5be6fc | 10,343 | cpp | C++ | src/exactextract/test/test_raster_cell_intersection.cpp | dbaston/exactextractr | 15ec58e8b40d5ea84752e51d0b914376b5122d5d | [
"Apache-2.0"
] | null | null | null | src/exactextract/test/test_raster_cell_intersection.cpp | dbaston/exactextractr | 15ec58e8b40d5ea84752e51d0b914376b5122d5d | [
"Apache-2.0"
] | null | null | null | src/exactextract/test/test_raster_cell_intersection.cpp | dbaston/exactextractr | 15ec58e8b40d5ea84752e51d0b914376b5122d5d | [
"Apache-2.0"
] | null | null | null | #include <geos_c.h>
#include "catch.hpp"
#include "geos_utils.h"
#include "raster_cell_intersection.h"
using namespace exactextract;
void check_cell_intersections(const RasterCellIntersection & rci, const std::vector<std::vector<float>> & v) {
const Matrix<float>& actual = rci.overlap_areas();
Matrix<float>... | 30.510324 | 916 | 0.580102 | dbaston |
98f34c7cb2bb2d82586beb57f2a72bd53f11a4cb | 1,565 | cpp | C++ | src/libsignalflows/delay_vector.cpp | s3a-spatialaudio/VISR | 55f6289bc5058d4898106f3520e1a60644ffb3ab | [
"ISC"
] | 17 | 2019-03-12T14:52:22.000Z | 2021-11-09T01:16:23.000Z | src/libsignalflows/delay_vector.cpp | s3a-spatialaudio/VISR | 55f6289bc5058d4898106f3520e1a60644ffb3ab | [
"ISC"
] | null | null | null | src/libsignalflows/delay_vector.cpp | s3a-spatialaudio/VISR | 55f6289bc5058d4898106f3520e1a60644ffb3ab | [
"ISC"
] | 2 | 2019-08-11T12:53:07.000Z | 2021-06-22T10:08:08.000Z | /* Copyright Institute of Sound and Vibration Research - All rights reserved */
#include "delay_vector.hpp"
#include <algorithm>
#include <vector>
namespace visr
{
namespace signalflows
{
DelayVector::DelayVector( SignalFlowContext const & context,
const char * name,
... | 33.297872 | 92 | 0.663259 | s3a-spatialaudio |
98f371c857935fc189e6b85e571ea24df47ec046 | 9,706 | cpp | C++ | src/Library/Core/FileSystem/Path.cpp | cowlicks/library-core | 9a872ab7aa6bc4aba22734705b72dc22ea35ee77 | [
"Apache-2.0"
] | null | null | null | src/Library/Core/FileSystem/Path.cpp | cowlicks/library-core | 9a872ab7aa6bc4aba22734705b72dc22ea35ee77 | [
"Apache-2.0"
] | null | null | null | src/Library/Core/FileSystem/Path.cpp | cowlicks/library-core | 9a872ab7aa6bc4aba22734705b72dc22ea35ee77 | [
"Apache-2.0"
] | 1 | 2020-12-01T14:50:50.000Z | 2020-12-01T14:50:50.000Z | ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// @project Library ▸ Core
/// @file Library/Core/FileSystem/Path.cpp
/// @author Lucas Brémond <lucas@loftorbital.com>
/// @license... | 26.961111 | 170 | 0.360396 | cowlicks |
98f6b6d9e5042144e5430e5364c8dae30a9ce48c | 827 | hpp | C++ | alignment/datastructures/anchoring/AnchorParameters.hpp | ggraham/blasr_libcpp | 4abef36585bbb677ebc4acb9d4e44e82331d59f7 | [
"RSA-MD"
] | 4 | 2015-07-03T11:59:54.000Z | 2018-05-17T00:03:22.000Z | alignment/datastructures/anchoring/AnchorParameters.hpp | ggraham/blasr_libcpp | 4abef36585bbb677ebc4acb9d4e44e82331d59f7 | [
"RSA-MD"
] | 79 | 2015-06-29T18:07:21.000Z | 2018-09-19T13:38:39.000Z | alignment/datastructures/anchoring/AnchorParameters.hpp | ggraham/blasr_libcpp | 4abef36585bbb677ebc4acb9d4e44e82331d59f7 | [
"RSA-MD"
] | 19 | 2015-06-23T08:43:29.000Z | 2021-04-28T18:37:47.000Z | #ifndef _BLASR_ANCHOR_PARAMETERS_HPP_
#define _BLASR_ANCHOR_PARAMETERS_HPP_
#include <fstream>
#include <iostream>
#include <pbdata/DNASequence.hpp>
#include <pbdata/qvs/QualityValue.hpp>
class AnchorParameters
{
public:
QualityValue branchQualityThreshold;
DNALength minMatchLength;
int maxMatchScore;
... | 22.351351 | 61 | 0.76179 | ggraham |
98f8a704a0b525a01c23915877bac44396e8be00 | 2,523 | cpp | C++ | src/MentalMux8.cpp | CommanderAsdasd/asdasd_modules | b3270044623430f3a5e5565327b89296bcbfd181 | [
"BSD-3-Clause"
] | null | null | null | src/MentalMux8.cpp | CommanderAsdasd/asdasd_modules | b3270044623430f3a5e5565327b89296bcbfd181 | [
"BSD-3-Clause"
] | null | null | null | src/MentalMux8.cpp | CommanderAsdasd/asdasd_modules | b3270044623430f3a5e5565327b89296bcbfd181 | [
"BSD-3-Clause"
] | null | null | null | ///////////////////////////////////////////////////
//
// 8 to 1 Mux with Binary Decoder selector VCV Module
//
// Strum 2017
//
///////////////////////////////////////////////////
#include "mental.hpp"
struct MentalMux8 : Module {
enum ParamIds {
NUM_PARAMS
};
enum InputIds {
INPUT_1,
INPUT_2,
... | 23.579439 | 139 | 0.584621 | CommanderAsdasd |
98fa4ff52209303b062549ba0ae526fc9d2dcbe8 | 7,261 | cpp | C++ | Test/PikeVM.cpp | AirGuanZ/Utils | 6ededbd838697682430a2c0746bfd3b36ff14a5b | [
"MIT"
] | 10 | 2018-10-30T14:19:57.000Z | 2021-12-06T07:46:59.000Z | Test/PikeVM.cpp | AirGuanZ/Utils | 6ededbd838697682430a2c0746bfd3b36ff14a5b | [
"MIT"
] | null | null | null | Test/PikeVM.cpp | AirGuanZ/Utils | 6ededbd838697682430a2c0746bfd3b36ff14a5b | [
"MIT"
] | 3 | 2019-04-24T13:42:02.000Z | 2021-06-28T08:17:28.000Z | #include <AGZUtils/Utils/String.h>
#include "Catch.hpp"
using namespace AGZ;
void P8(const WStr &str)
{
(void)StrImpl::PikeVM::Parser<WUTF>().Parse(str);
}
void Gen(const WStr &str)
{
size_t slotCount;
(void)StrImpl::PikeVM::Backend<WUTF>().Generate(
StrImpl::PikeVM::Parser<WUTF>().Parse(str), ... | 37.045918 | 94 | 0.519488 | AirGuanZ |