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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d49e38623b5d6e90c87c2688271bcf77c07f9954 | 557 | cpp | C++ | Userland/Libraries/LibC/sys/statvfs.cpp | r00ster91/serenity | f8387dea2689d564aff612bfd4ec5086393fac35 | [
"BSD-2-Clause"
] | 19,438 | 2019-05-20T15:11:11.000Z | 2022-03-31T23:31:32.000Z | Userland/Libraries/LibC/sys/statvfs.cpp | r00ster91/serenity | f8387dea2689d564aff612bfd4ec5086393fac35 | [
"BSD-2-Clause"
] | 7,882 | 2019-05-20T01:03:52.000Z | 2022-03-31T23:26:31.000Z | Userland/Libraries/LibC/sys/statvfs.cpp | r00ster91/serenity | f8387dea2689d564aff612bfd4ec5086393fac35 | [
"BSD-2-Clause"
] | 2,721 | 2019-05-23T00:44:57.000Z | 2022-03-31T22:49:34.000Z | /*
* Copyright (c) 2021, Justin Mietzner <sw1tchbl4d3@sw1tchbl4d3.com>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <errno.h>
#include <string.h>
#include <sys/statvfs.h>
#include <syscall.h>
extern "C" {
int statvfs(const char* path, struct statvfs* buf)
{
Syscall::SC_statvfs_params params { { path... | 20.62963 | 70 | 0.669659 | r00ster91 |
d49fd5316b7717073e4885c3b434b6ccb590196c | 11,669 | hpp | C++ | control/zone.hpp | msbarth/phosphor-fan-presence | 9f5330e691ae2baa4c26fff8c828dcfcb04d5be8 | [
"Apache-2.0"
] | null | null | null | control/zone.hpp | msbarth/phosphor-fan-presence | 9f5330e691ae2baa4c26fff8c828dcfcb04d5be8 | [
"Apache-2.0"
] | null | null | null | control/zone.hpp | msbarth/phosphor-fan-presence | 9f5330e691ae2baa4c26fff8c828dcfcb04d5be8 | [
"Apache-2.0"
] | 1 | 2017-02-14T01:46:05.000Z | 2017-02-14T01:46:05.000Z | #pragma once
#include <chrono>
#include <vector>
#include <algorithm>
#include <sdbusplus/bus.hpp>
#include "fan.hpp"
#include "types.hpp"
#include "timer.hpp"
namespace phosphor
{
namespace fan
{
namespace control
{
/**
* The mode fan control will run in:
* - init - only do the initialization steps
* - contro... | 28.530562 | 79 | 0.520439 | msbarth |
d4a03f8b56c7310ef0478d07df24158f6987d9f2 | 1,566 | cpp | C++ | src/Generic/edt/FullEntitySetCache.cpp | BBN-E/serif | 1e2662d82fb1c377ec3c79355a5a9b0644606cb4 | [
"Apache-2.0"
] | 1 | 2022-03-24T19:57:00.000Z | 2022-03-24T19:57:00.000Z | src/Generic/edt/FullEntitySetCache.cpp | BBN-E/serif | 1e2662d82fb1c377ec3c79355a5a9b0644606cb4 | [
"Apache-2.0"
] | null | null | null | src/Generic/edt/FullEntitySetCache.cpp | BBN-E/serif | 1e2662d82fb1c377ec3c79355a5a9b0644606cb4 | [
"Apache-2.0"
] | null | null | null | // Copyright 2008 by BBN Technologies Corp.
// All Rights Reserved.
#include "common/leak_detection.h"
#include "edt/FullEntitySetCache.h"
FullEntitySetCache::FullEntitySetCache(int cache_size) {
_keys = _new EntitySetUID[cache_size];
_values = _new LexEntitySet*[cache_size];
_capacity = cache_size;
_nV... | 22.056338 | 77 | 0.661558 | BBN-E |
d4a2bf5b3dfe99be6e11e4a728259477089dfd40 | 509 | cpp | C++ | image_projection/src/periodic_image_projection_node.cpp | dudasdavid/image_projection | 53ec2dace3f2e3474fef7e6d5571b1f7bb289040 | [
"MIT"
] | 91 | 2021-02-24T11:47:02.000Z | 2022-03-25T14:18:51.000Z | image_projection/src/periodic_image_projection_node.cpp | dudasdavid/image_projection | 53ec2dace3f2e3474fef7e6d5571b1f7bb289040 | [
"MIT"
] | 8 | 2021-04-03T14:29:58.000Z | 2022-03-24T10:07:13.000Z | image_projection/src/periodic_image_projection_node.cpp | dudasdavid/image_projection | 53ec2dace3f2e3474fef7e6d5571b1f7bb289040 | [
"MIT"
] | 19 | 2021-02-24T14:59:07.000Z | 2022-03-19T20:06:05.000Z | #include <nodelet/loader.h>
#include <ros/ros.h>
int main(int argc, char** argv) {
ros::init(argc, argv, "periodic_image_projection_node");
nodelet::Loader nodelet;
const nodelet::M_string& remap(ros::names::getRemappings());
nodelet::V_string nargv;
const std::string& nodelet_name = ros::this_node::getName(... | 33.933333 | 94 | 0.721022 | dudasdavid |
d4a3962642aa1fe238a3adba316f0ea1a6b559cd | 1,513 | cpp | C++ | SPOJ/SPOJ Easy Longest Increasing Subsequence.cpp | akash246/Competitive-Programming-Solutions | 68db69ba8a771a433e5338bc4e837a02d3f89823 | [
"MIT"
] | 28 | 2017-11-08T11:52:11.000Z | 2021-07-16T06:30:02.000Z | SPOJ/SPOJ Easy Longest Increasing Subsequence.cpp | akash246/Competitive-Programming-Solutions | 68db69ba8a771a433e5338bc4e837a02d3f89823 | [
"MIT"
] | null | null | null | SPOJ/SPOJ Easy Longest Increasing Subsequence.cpp | akash246/Competitive-Programming-Solutions | 68db69ba8a771a433e5338bc4e837a02d3f89823 | [
"MIT"
] | 30 | 2017-09-01T09:14:27.000Z | 2021-04-12T12:08:56.000Z | //#Name: Sofen Hoque Anonta #Problm:
#include <bits/stdc++.h>
using namespace std;
//FOLD ME
namespace{
typedef long long LL;
typedef vector<int> vint;
typedef pair<int,int> pint;
typedef unsigned long long ULL;
//Macros
int CC_;
#define sf scanf
#define pf printf
#define PP cin.get();
#define NL cout<<endl;
#define... | 21.927536 | 184 | 0.582287 | akash246 |
d4a4fa156c78981431c0bb01c00857633b2b5d12 | 5,718 | cpp | C++ | python/openvds/PyVolumeDataAxisDescriptor.cpp | wadesalazar/open-vds2 | 71b6a49f39f79c913b1a560be1869c8bd391de19 | [
"Apache-2.0"
] | null | null | null | python/openvds/PyVolumeDataAxisDescriptor.cpp | wadesalazar/open-vds2 | 71b6a49f39f79c913b1a560be1869c8bd391de19 | [
"Apache-2.0"
] | null | null | null | python/openvds/PyVolumeDataAxisDescriptor.cpp | wadesalazar/open-vds2 | 71b6a49f39f79c913b1a560be1869c8bd391de19 | [
"Apache-2.0"
] | null | null | null | /****************************************************************************
** Copyright 2019 The Open Group
** Copyright 2019 Bluware, 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... | 105.888889 | 349 | 0.779818 | wadesalazar |
d4a83cfa625f7e61eef55accc24ee6baeececf93 | 3,868 | hxx | C++ | src/cgi/Parser.hxx | CM4all/beng-proxy | ce5a81f7969bc5cb6c5985cdc98f61ef8b5c6159 | [
"BSD-2-Clause"
] | 35 | 2017-08-16T06:52:26.000Z | 2022-03-27T21:49:01.000Z | src/cgi/Parser.hxx | nn6n/beng-proxy | 2cf351da656de6fbace3048ee90a8a6a72f6165c | [
"BSD-2-Clause"
] | 2 | 2017-12-22T15:34:23.000Z | 2022-03-08T04:15:23.000Z | src/cgi/Parser.hxx | nn6n/beng-proxy | 2cf351da656de6fbace3048ee90a8a6a72f6165c | [
"BSD-2-Clause"
] | 8 | 2017-12-22T15:11:47.000Z | 2022-03-15T22:54:04.000Z | /*
* Copyright 2007-2021 CM4all GmbH
* All rights reserved.
*
* author: Max Kellermann <mk@cm4all.com>
*
* 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 abo... | 25.116883 | 71 | 0.719235 | CM4all |
d4ac17c9e7fc0c91a40fff2d3328d669baa8a7f1 | 3,222 | cpp | C++ | src/main.cpp | ThorNielsen/loxint | a5456afad37f22973e2b1292aff0276ac2c6fcdd | [
"MIT"
] | 7 | 2018-03-09T10:10:39.000Z | 2021-12-23T07:19:39.000Z | src/main.cpp | ThorNielsen/loxint | a5456afad37f22973e2b1292aff0276ac2c6fcdd | [
"MIT"
] | 1 | 2021-12-23T07:19:29.000Z | 2021-12-23T07:19:29.000Z | src/main.cpp | ThorNielsen/loxint | a5456afad37f22973e2b1292aff0276ac2c6fcdd | [
"MIT"
] | 1 | 2019-06-09T21:00:46.000Z | 2019-06-09T21:00:46.000Z | #include <iostream>
#include <fstream>
#include <string>
#include <stdexcept>
#include "lexer.hpp"
#include "resolver.hpp"
#include "astprinter.hpp"
#include "parser.hpp"
#include "interpreter.hpp"
int run(Interpreter& interpreter, std::string source, bool repl = false)
{
try
{
Parser p;
Lexe... | 21.337748 | 80 | 0.463377 | ThorNielsen |
d4ac3de56e77ad26702e06f13ace16b23188a1d7 | 3,806 | cpp | C++ | Classes/AppDelegate.cpp | kystudio/LostRoutes | c4636b9ab59a89b76fc7a6cac63ee4c9859e9840 | [
"MIT"
] | null | null | null | Classes/AppDelegate.cpp | kystudio/LostRoutes | c4636b9ab59a89b76fc7a6cac63ee4c9859e9840 | [
"MIT"
] | null | null | null | Classes/AppDelegate.cpp | kystudio/LostRoutes | c4636b9ab59a89b76fc7a6cac63ee4c9859e9840 | [
"MIT"
] | null | null | null | #include "AppDelegate.h"
#include "HelloWorldScene.h"
// #define USE_AUDIO_ENGINE 1
// #define USE_SIMPLE_AUDIO_ENGINE 1
#if USE_AUDIO_ENGINE && USE_SIMPLE_AUDIO_ENGINE
#error "Don't use AudioEngine and SimpleAudioEngine at the same time. Please just select one in your game!"
#endif
#if USE_AUDIO_ENGINE
#include "a... | 28.402985 | 107 | 0.746978 | kystudio |
d4ad52af38f5bf079191e7d8d577356eae096a1a | 6,267 | cc | C++ | chrome/browser/ui/task_manager/task_manager_columns.cc | google-ar/chromium | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 777 | 2017-08-29T15:15:32.000Z | 2022-03-21T05:29:41.000Z | chrome/browser/ui/task_manager/task_manager_columns.cc | harrymarkovskiy/WebARonARCore | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 66 | 2017-08-30T18:31:18.000Z | 2021-08-02T10:59:35.000Z | chrome/browser/ui/task_manager/task_manager_columns.cc | harrymarkovskiy/WebARonARCore | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 123 | 2017-08-30T01:19:34.000Z | 2022-03-17T22:55:31.000Z | // Copyright 2015 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 "chrome/browser/ui/task_manager/task_manager_columns.h"
#include "base/logging.h"
#include "base/macros.h"
#include "build/build_config.h"
#incl... | 43.520833 | 80 | 0.738152 | google-ar |
d4b3ba2ae4316a10d30d66c346a077b9734a5768 | 6,428 | cpp | C++ | kernel/src/drivers/pci.cpp | ArdenyUser/ArdenWareOS | e09261093ba469d2291554c026037351bba28ab0 | [
"MIT"
] | 1,574 | 2015-01-15T16:35:30.000Z | 2022-03-29T07:27:49.000Z | kernel/src/drivers/pci.cpp | bgwilf/thor-os | 2dc0fef72595598aff7e5f950809042104f29b48 | [
"MIT"
] | 43 | 2016-08-23T16:22:29.000Z | 2022-03-09T10:28:05.000Z | kernel/src/drivers/pci.cpp | bgwilf/thor-os | 2dc0fef72595598aff7e5f950809042104f29b48 | [
"MIT"
] | 196 | 2016-02-17T10:52:24.000Z | 2022-03-28T17:41:29.000Z | //=======================================================================
// Copyright Baptiste Wicht 2013-2018.
// Distributed under the terms of the MIT License.
// (See accompanying file LICENSE or copy at
// http://www.opensource.org/licenses/MIT)
//=================================================================... | 34.934783 | 125 | 0.660236 | ArdenyUser |
d4b5859fea4e48898f3bd6681f93826c6904cc49 | 3,333 | cpp | C++ | solutions/serialize_and_deserialize_binary_tree.cpp | kmykoh97/My-Leetcode | 0ffdea16c3025805873aafb6feffacaf3411a258 | [
"Apache-2.0"
] | null | null | null | solutions/serialize_and_deserialize_binary_tree.cpp | kmykoh97/My-Leetcode | 0ffdea16c3025805873aafb6feffacaf3411a258 | [
"Apache-2.0"
] | null | null | null | solutions/serialize_and_deserialize_binary_tree.cpp | kmykoh97/My-Leetcode | 0ffdea16c3025805873aafb6feffacaf3411a258 | [
"Apache-2.0"
] | null | null | null | // Serialization is the process of converting a data structure or object into a sequence of bits so that it can be stored in a file or memory buffer, or transmitted across a network connection link to be reconstructed later in the same or another computer environment.
// Design an algorithm to serialize and deserializ... | 29.236842 | 296 | 0.510651 | kmykoh97 |
d4b76f6baa88122184ca23e080f5b9b950891286 | 10,904 | cpp | C++ | src/bitset.cpp | isabella232/stdcxx | b0b0cab391b7b1f2d17ef4342aeee6b792bde63c | [
"Apache-2.0"
] | 53 | 2015-01-13T05:46:43.000Z | 2022-02-24T23:46:04.000Z | src/bitset.cpp | mann-patel/stdcxx | a22c5192f4b2a8b0b27d3588ea8f6d1faf8b037a | [
"Apache-2.0"
] | 1 | 2021-11-04T12:35:39.000Z | 2021-11-04T12:35:39.000Z | src/bitset.cpp | isabella232/stdcxx | b0b0cab391b7b1f2d17ef4342aeee6b792bde63c | [
"Apache-2.0"
] | 33 | 2015-07-09T13:31:00.000Z | 2021-11-04T12:12:20.000Z | /***************************************************************************
*
* bitset.cpp - definitions of bitset operations
*
* $Id$
*
***************************************************************************
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license ag... | 34.726115 | 76 | 0.575293 | isabella232 |
d4badf36606ec1a05672471e45ae87227b3955c5 | 2,114 | hpp | C++ | R2017b/extern/include/coder/target_services/crc8.hpp | catou93/pelican_test | 23de9722c431fa0caa3c68d038de9423cfcdda80 | [
"BSD-2-Clause"
] | 5 | 2018-11-21T11:52:49.000Z | 2021-04-14T03:13:31.000Z | R2017b/extern/include/coder/target_services/crc8.hpp | catou93/pelican_test | 23de9722c431fa0caa3c68d038de9423cfcdda80 | [
"BSD-2-Clause"
] | 3 | 2018-08-24T03:12:36.000Z | 2019-09-29T06:21:32.000Z | R2017b/extern/include/coder/target_services/crc8.hpp | catou93/pelican_test | 23de9722c431fa0caa3c68d038de9423cfcdda80 | [
"BSD-2-Clause"
] | 4 | 2018-08-10T07:02:30.000Z | 2022-03-09T07:20:16.000Z | /* Copyright 2015 The MathWorks, Inc. */
#ifndef crc8_hpp__
#define crc8_hpp__
#include <stdint.h>
const uint8_t crc8_table[] = {
0x00, 0x3e, 0x7c, 0x42, 0xf8, 0xc6, 0x84, 0xba, 0x95, 0xab, 0xe9, 0xd7,
0x6d, 0x53, 0x11, 0x2f, 0x4f, 0x71, 0x33, 0x0d, 0xb7, 0x89, 0xcb, 0xf5,
0xda, 0xe4, 0xa6, 0x98, 0x22, 0... | 43.142857 | 75 | 0.631977 | catou93 |
d4bb437d4afacb50c2d72be62d816fb1d414f8dc | 1,505 | cpp | C++ | src/sim/RandomSeedWidget.cpp | wuyx/mms | 2959ef76405b069aaeb4c1574f52ab776dfaff77 | [
"MIT"
] | null | null | null | src/sim/RandomSeedWidget.cpp | wuyx/mms | 2959ef76405b069aaeb4c1574f52ab776dfaff77 | [
"MIT"
] | null | null | null | src/sim/RandomSeedWidget.cpp | wuyx/mms | 2959ef76405b069aaeb4c1574f52ab776dfaff77 | [
"MIT"
] | null | null | null | #include "RandomSeedWidget.h"
#include <QGroupBox>
#include <QHBoxLayout>
#include <QLabel>
#include "SimUtilities.h"
namespace mms {
RandomSeedWidget::RandomSeedWidget(int max) :
m_max(max),
m_lockSeed(new QCheckBox("Lock")),
m_nextSeedBox(new QSpinBox()),
m_prevSeedBox(new QSpinBox... | 28.396226 | 65 | 0.700332 | wuyx |
d4c3dbab17b1b2910e09dcf219a350f2da2855c3 | 13,001 | cpp | C++ | g2opy/contrib/vertigo/examples/robustISAM2/robustISAM2.cpp | alecone/ROS_project | f058fb0bc5c4c9b1a590b7536f75b83af35b7785 | [
"MIT"
] | 5 | 2022-03-28T04:41:35.000Z | 2022-03-30T12:34:41.000Z | thirdparty/g2opy/contrib/vertigo/examples/robustISAM2/robustISAM2.cpp | rpng/suo_slam | 5de01433d177fde5cac4423f05fd554e3c00794e | [
"MIT"
] | null | null | null | thirdparty/g2opy/contrib/vertigo/examples/robustISAM2/robustISAM2.cpp | rpng/suo_slam | 5de01433d177fde5cac4423f05fd554e3c00794e | [
"MIT"
] | null | null | null | /*
* robustISAM2.cpp
*
* Created on: Jul 13, 2012
* Author: niko
*/
#include <gtsam/slam/planarSLAM.h>
#include <gtsam/nonlinear/ISAM2.h>
#include <gtsam/nonlinear/NonlinearFactorGraph.h>
#include <gtsam/nonlinear/Marginals.h>
using namespace gtsam;
// additional boost features
#include "boost/program_opt... | 33.507732 | 221 | 0.634105 | alecone |
d4c3ffeff719fbfd380b7c0a3694f645100a1e7a | 508 | cpp | C++ | Data_structures/Bit Manipulation/splitting_numbers.cpp | satvik007/uva | 72a763f7ed46a34abfcf23891300d68581adeb44 | [
"MIT"
] | 3 | 2017-08-12T06:09:39.000Z | 2018-09-16T02:31:27.000Z | Data_structures/Bit Manipulation/splitting_numbers.cpp | satvik007/uva | 72a763f7ed46a34abfcf23891300d68581adeb44 | [
"MIT"
] | null | null | null | Data_structures/Bit Manipulation/splitting_numbers.cpp | satvik007/uva | 72a763f7ed46a34abfcf23891300d68581adeb44 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef vector <int> vi;
int main(){
ios_base::sync_with_stdio(false);
cin.tie(NULL);
//ifstream cin("in.txt");
//ofstream cout("out.txt");
ll n;
while(cin >> n, n){
bitset <32> a(n);
int flag = 0;
ll b=0, c=0;
for(int i=0; i<32; i++){
... | 15.393939 | 34 | 0.476378 | satvik007 |
d4c5da0c305d13cd514283378584234bcacd26bf | 18,902 | cpp | C++ | src/parser/expr.cpp | RauliL/snek | ad530c0485addaf71fd01469860b83a16d16bf9d | [
"BSD-2-Clause"
] | null | null | null | src/parser/expr.cpp | RauliL/snek | ad530c0485addaf71fd01469860b83a16d16bf9d | [
"BSD-2-Clause"
] | null | null | null | src/parser/expr.cpp | RauliL/snek | ad530c0485addaf71fd01469860b83a16d16bf9d | [
"BSD-2-Clause"
] | null | null | null | /*
* Copyright (c) 2020, Rauli Laine
* 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 list of conditi... | 25.543243 | 79 | 0.577082 | RauliL |
d4c5ddd1faf81ce27d6095efed0d55742209d34e | 364 | cpp | C++ | Tek2/PSU/Zappy/client/src/main.cpp | PhilippeDeSousa/EpitechBundle | 5981d424c7dd25a5fbae79172e6a14db27ba985d | [
"MIT"
] | 1 | 2019-03-14T19:05:58.000Z | 2019-03-14T19:05:58.000Z | Tek2/PSU/Zappy/client/src/main.cpp | PhilippeDeSousa/EpitechBundle | 5981d424c7dd25a5fbae79172e6a14db27ba985d | [
"MIT"
] | null | null | null | Tek2/PSU/Zappy/client/src/main.cpp | PhilippeDeSousa/EpitechBundle | 5981d424c7dd25a5fbae79172e6a14db27ba985d | [
"MIT"
] | null | null | null | /*
** EPITECH PROJECT, 2018
** zappy
** File description:
** main
*/
#include <exception>
#include <iostream>
#include <cstdlib>
#include <ctime>
#include "Errors.hpp"
#include "Client.hpp"
int main(int ac, char **av)
{
std::srand(std::time(nullptr));
try {
zappy::Client Cl(ac, av);
} catch (std::exception &e) {... | 15.166667 | 37 | 0.626374 | PhilippeDeSousa |
d4c65ed64bf7348080b11a9e4a280d06404a084c | 912 | hpp | C++ | concepts/ComponentEntity/GeneratedEntity_TestEntity.hpp | hyfloac/TauEngine | 1559b2a6e6d1887b8ee02932fe0aa6e5b9d5652c | [
"MIT"
] | 1 | 2020-04-22T04:07:01.000Z | 2020-04-22T04:07:01.000Z | concepts/ComponentEntity/GeneratedEntity_TestEntity.hpp | hyfloac/TauEngine | 1559b2a6e6d1887b8ee02932fe0aa6e5b9d5652c | [
"MIT"
] | null | null | null | concepts/ComponentEntity/GeneratedEntity_TestEntity.hpp | hyfloac/TauEngine | 1559b2a6e6d1887b8ee02932fe0aa6e5b9d5652c | [
"MIT"
] | null | null | null | #pragma once
#include "Entity.hpp"
#include <cstdint>
#include "./ForwardComponent.hpp"
#include "./FloatComponent.hpp"
class TestEntity : public Entity {
public:
ForwardComponent* _comp0;
FloatComponent* _comp1;
TestEntity() {
std::uint8_t* rawBuf = new std::uint8_t[8];
_comp0 = new(rawBuf ... | 28.5 | 51 | 0.626096 | hyfloac |
d4c7113d488d4ed7caaf366990672537dd03ca9e | 2,755 | cpp | C++ | src/App.cpp | nirustim/openGLproject | 51cdd160694be055dcca2ec97d1f74963c9e0796 | [
"MIT"
] | null | null | null | src/App.cpp | nirustim/openGLproject | 51cdd160694be055dcca2ec97d1f74963c9e0796 | [
"MIT"
] | null | null | null | src/App.cpp | nirustim/openGLproject | 51cdd160694be055dcca2ec97d1f74963c9e0796 | [
"MIT"
] | null | null | null | #include "App.hpp"
App::App()
{
Engine::Log("Object Made");
}
App::~App()
{
Engine::Log("Object Destroyed");
}
void App::Run()
{
if (appState == AppState::ON)
Engine::FatalError("App already running.");
Engine::Init();
unsigned int windowFlags = 0;
// windowFlags |= Engine::WindowFlags::FULLSCREEN;... | 22.04 | 81 | 0.645735 | nirustim |
d4c90981421e399bd426d12275f0b0585b59a7c4 | 27,740 | cc | C++ | dg/src/DgClient.cc | aliyun/aliyun-openapi-cpp-sdk | 0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36 | [
"Apache-2.0"
] | 89 | 2018-02-02T03:54:39.000Z | 2021-12-13T01:32:55.000Z | dg/src/DgClient.cc | aliyun/aliyun-openapi-cpp-sdk | 0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36 | [
"Apache-2.0"
] | 89 | 2018-03-14T07:44:54.000Z | 2021-11-26T07:43:25.000Z | dg/src/DgClient.cc | aliyun/aliyun-openapi-cpp-sdk | 0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36 | [
"Apache-2.0"
] | 69 | 2018-01-22T09:45:52.000Z | 2022-03-28T07:58:38.000Z | /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | 34.246914 | 212 | 0.778767 | aliyun |
d4cd8498727cc0992fb635801b77c94cbe85b855 | 11,384 | cpp | C++ | Source/src/Modules/ModuleRender.cpp | Erick9Thor/Engine3D | 32d78f79723fb7c319f79d5e26cdc26481d5cb35 | [
"MIT"
] | 1 | 2021-11-17T19:20:07.000Z | 2021-11-17T19:20:07.000Z | Source/src/Modules/ModuleRender.cpp | Erick9Thor/Engine3D | 32d78f79723fb7c319f79d5e26cdc26481d5cb35 | [
"MIT"
] | null | null | null | Source/src/Modules/ModuleRender.cpp | Erick9Thor/Engine3D | 32d78f79723fb7c319f79d5e26cdc26481d5cb35 | [
"MIT"
] | null | null | null | #include "../Globals.h"
#include "../Application.h"
#include "../Utils/Logger.h"
#include "ModuleRender.h"
#include "ModuleWindow.h"
#include "ModuleProgram.h"
#include "ModuleCamera.h"
#include "ModuleDebugDraw.h"
#include "ModuleSceneManager.h"
#include "ModuleEditor.h"
#include "../Scene.h"
#include "../Skybox.h"
#... | 27.765854 | 156 | 0.746486 | Erick9Thor |
d4cd98a098614e5987d76a0215bd91020a0a5e6a | 974,238 | cpp | C++ | cisco-ios-xr/ydk/models/cisco_ios_xr/fragmented/Cisco_IOS_XR_ipv4_bgp_oper_6.cpp | CiscoDevNet/ydk-cpp | ef7d75970f2ef1154100e0f7b0a2ee823609b481 | [
"ECL-2.0",
"Apache-2.0"
] | 17 | 2016-12-02T05:45:49.000Z | 2022-02-10T19:32:54.000Z | cisco-ios-xr/ydk/models/cisco_ios_xr/fragmented/Cisco_IOS_XR_ipv4_bgp_oper_6.cpp | CiscoDevNet/ydk-cpp | ef7d75970f2ef1154100e0f7b0a2ee823609b481 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2017-03-27T15:22:38.000Z | 2019-11-05T08:30:16.000Z | cisco-ios-xr/ydk/models/cisco_ios_xr/fragmented/Cisco_IOS_XR_ipv4_bgp_oper_6.cpp | CiscoDevNet/ydk-cpp | ef7d75970f2ef1154100e0f7b0a2ee823609b481 | [
"ECL-2.0",
"Apache-2.0"
] | 11 | 2016-12-02T05:45:52.000Z | 2019-11-07T08:28:17.000Z |
#include <sstream>
#include <iostream>
#include <ydk/entity_util.hpp>
#include "bundle_info.hpp"
#include "generated_entity_lookup.hpp"
#include "Cisco_IOS_XR_ipv4_bgp_oper_6.hpp"
#include "Cisco_IOS_XR_ipv4_bgp_oper_7.hpp"
using namespace ydk;
namespace cisco_ios_xr {
namespace Cisco_IOS_XR_ipv4_bgp_oper {
Bgp::Co... | 49.117116 | 827 | 0.764025 | CiscoDevNet |
d4d2c41eff69c1dbdbe887fcad382b18419494ec | 5,159 | cpp | C++ | msame/src/main.cpp | Huawei-Ascend/tools | e42cacee256e84131742e281853675da2562e430 | [
"Apache-2.0"
] | 3 | 2020-09-26T05:28:10.000Z | 2020-12-21T07:39:02.000Z | msame/src/main.cpp | Huawei-Ascend/tools | e42cacee256e84131742e281853675da2562e430 | [
"Apache-2.0"
] | 10 | 2020-09-26T01:31:49.000Z | 2022-03-12T00:51:16.000Z | msame/src/main.cpp | Huawei-Ascend/tools | e42cacee256e84131742e281853675da2562e430 | [
"Apache-2.0"
] | 15 | 2020-09-02T16:24:33.000Z | 2021-11-28T09:11:23.000Z | /**
* Copyright 2020 Huawei Technologies 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 law or agreed ... | 29.994186 | 98 | 0.518705 | Huawei-Ascend |
d4d35d752be72487a0839cdee9d55ec5db6bad50 | 21,042 | cc | C++ | pmem-mariadb/sql/wsrep_hton.cc | wc222/pmdk-examples | 64aadc3a70471c469ac8e214eb1e04ff47cf18ff | [
"BSD-3-Clause"
] | 1 | 2019-10-31T08:25:52.000Z | 2019-10-31T08:25:52.000Z | pmem-mariadb/sql/wsrep_hton.cc | WSCWDA/pmdk-examples | c3d079e52cd18b0e14836ef42bad9a995336bf90 | [
"BSD-3-Clause"
] | 1 | 2021-02-24T05:26:44.000Z | 2021-02-24T05:26:44.000Z | pmem-mariadb/sql/wsrep_hton.cc | isabella232/pmdk-examples | be7a5a18ba7bb8931e512f6d552eadf820fa2235 | [
"BSD-3-Clause"
] | null | null | null | /* Copyright 2008-2015 Codership Oy <http://www.codership.com>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; version 2 of the License.
This program is distributed in the hope that it w... | 32.174312 | 108 | 0.657637 | wc222 |
d4dadf6e20689466e1c472ef39b47de2f9bb8cb7 | 3,538 | cpp | C++ | gui-firmware/devices/Display.cpp | Danfx/BR-Ventilador | 052524803e35a8e5db8b1c3f72c16dc91c19ca54 | [
"MIT"
] | null | null | null | gui-firmware/devices/Display.cpp | Danfx/BR-Ventilador | 052524803e35a8e5db8b1c3f72c16dc91c19ca54 | [
"MIT"
] | null | null | null | gui-firmware/devices/Display.cpp | Danfx/BR-Ventilador | 052524803e35a8e5db8b1c3f72c16dc91c19ca54 | [
"MIT"
] | null | null | null | /*
* LICENSE MIT - https://tldrlegal.com/license/mit-license
*
* Copyright Daniel Fussia, https://github.com/Danfx
*
* 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... | 26.402985 | 97 | 0.665065 | Danfx |
d4dd0afd948698afa9d16f3a5e98beb464d4f3ff | 6,104 | cpp | C++ | src/reconstruction/Image.cpp | ShnitzelKiller/Reverse-Engineering-Carpentry | 585b5ff053c7e3bf286b663a584bc83687691bd6 | [
"MIT"
] | 3 | 2021-09-08T07:28:13.000Z | 2022-03-02T21:12:40.000Z | src/reconstruction/Image.cpp | ShnitzelKiller/Reverse-Engineering-Carpentry | 585b5ff053c7e3bf286b663a584bc83687691bd6 | [
"MIT"
] | 1 | 2021-09-21T14:40:55.000Z | 2021-09-26T01:19:38.000Z | src/reconstruction/Image.cpp | ShnitzelKiller/Reverse-Engineering-Carpentry | 585b5ff053c7e3bf286b663a584bc83687691bd6 | [
"MIT"
] | null | null | null | //
// Created by James Noeckel on 12/10/19.
//
#include "Image.h"
#include <fstream>
#include <memory>
#include "parsing.hpp"
#include <iostream>
#include <utility>
std::unordered_map<int32_t, Image> Image::parse_file(const std::string &filename, const std::string &image_path, const std::string &depth_path, double s... | 35.08046 | 263 | 0.544233 | ShnitzelKiller |
d4de32547d2bf6774e0645816f83923e2ca9a3fb | 913 | cpp | C++ | C_C++/oop_assignment/contest/week1Contest/date.cpp | oneofsunshine/program_learning | 5afc2e5e6e7a6604d4bd9c8e102822e1cf751c0b | [
"Apache-2.0"
] | 1 | 2018-02-10T03:53:45.000Z | 2018-02-10T03:53:45.000Z | C_C++/oop_assignment/contest/week1Contest/date.cpp | oneofsunshine/program_learning | 5afc2e5e6e7a6604d4bd9c8e102822e1cf751c0b | [
"Apache-2.0"
] | null | null | null | C_C++/oop_assignment/contest/week1Contest/date.cpp | oneofsunshine/program_learning | 5afc2e5e6e7a6604d4bd9c8e102822e1cf751c0b | [
"Apache-2.0"
] | null | null | null | #include<iostream>
using namespace std;
int ap[12] = {31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31};
int ar[12] = {31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31};
int date(int s, int rOrP, int m, int d)
{
int t = s;
if(rOrP)
{
for(int i = 0; i < m - 1; i++)
t += ar[i];
t += d;... | 23.410256 | 62 | 0.463308 | oneofsunshine |
d4e05aaa8660d582f77ea064cfc04eb35c534074 | 26,577 | cc | C++ | src/lib/fidl_codec/wire_object.cc | opensource-assist/fuschia | 66646c55b3d0b36aae90a4b6706b87f1a6261935 | [
"BSD-3-Clause"
] | null | null | null | src/lib/fidl_codec/wire_object.cc | opensource-assist/fuschia | 66646c55b3d0b36aae90a4b6706b87f1a6261935 | [
"BSD-3-Clause"
] | null | null | null | src/lib/fidl_codec/wire_object.cc | opensource-assist/fuschia | 66646c55b3d0b36aae90a4b6706b87f1a6261935 | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2019 The Fuchsia 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 "wire_object.h"
#include <iomanip>
#include <iostream>
#include <memory>
#include <vector>
#include "src/lib/fidl_codec/colors.h"
#include "src/... | 36.208447 | 100 | 0.594236 | opensource-assist |
d4e0fa3bc07a83ad0fad4cc327a560b227fcc8ce | 2,047 | hpp | C++ | czrpc/base/singleton.hpp | chxuan/czrpc | 95695f6400e8d981f6e451707937cea3d92c87d5 | [
"MIT"
] | 5 | 2017-02-12T14:39:28.000Z | 2021-10-07T04:54:09.000Z | czrpc/base/singleton.hpp | xulinzhang/czrpc | 95695f6400e8d981f6e451707937cea3d92c87d5 | [
"MIT"
] | null | null | null | czrpc/base/singleton.hpp | xulinzhang/czrpc | 95695f6400e8d981f6e451707937cea3d92c87d5 | [
"MIT"
] | 4 | 2018-08-24T02:31:14.000Z | 2021-02-20T07:34:29.000Z | #pragma once
#include <iostream>
#include <mutex>
namespace czrpc
{
namespace base
{
template<typename T>
class singleton_helper
{
public:
singleton_helper() = delete;
virtual ~singleton_helper() = delete;
singleton_helper(const singleton_helper&) = delete;
singleton_helper& operator=(const singleton_... | 22.25 | 88 | 0.655105 | chxuan |
d4e11eed102183d3ddb1cf50c75b0bde7504b6d5 | 1,049 | cpp | C++ | tests/eventloop_test.cpp | lddddd1997/NetServer | 940b84bef7d0856bc2fe5f16164bfe041e4d4c9f | [
"MIT"
] | null | null | null | tests/eventloop_test.cpp | lddddd1997/NetServer | 940b84bef7d0856bc2fe5f16164bfe041e4d4c9f | [
"MIT"
] | null | null | null | tests/eventloop_test.cpp | lddddd1997/NetServer | 940b84bef7d0856bc2fe5f16164bfe041e4d4c9f | [
"MIT"
] | null | null | null | // #include <EventLoopThread.h>
// #include <iostream>
// #include <unistd.h>
// using namespace std;
// // g++ eventloop_test.cpp EventLoopThread.cpp EventLoop.cpp Channel.cpp Epoller.cpp -I . -pthread
// void print(EventLoop *p = nullptr)
// {
// printf("print: pid = %d, tid = %ld, loop = %p\n",
// getp... | 22.804348 | 100 | 0.503337 | lddddd1997 |
d4e415253b0aece975c5bf55a54b123d4eb9403e | 9,659 | cpp | C++ | VirtualBox-5.0.0/src/VBox/Runtime/testcase/tstFileAppendWin-1.cpp | egraba/vbox_openbsd | 6cb82f2eed1fa697d088cecc91722b55b19713c2 | [
"MIT"
] | 1 | 2015-04-30T14:18:45.000Z | 2015-04-30T14:18:45.000Z | VirtualBox-5.0.0/src/VBox/Runtime/testcase/tstFileAppendWin-1.cpp | egraba/vbox_openbsd | 6cb82f2eed1fa697d088cecc91722b55b19713c2 | [
"MIT"
] | null | null | null | VirtualBox-5.0.0/src/VBox/Runtime/testcase/tstFileAppendWin-1.cpp | egraba/vbox_openbsd | 6cb82f2eed1fa697d088cecc91722b55b19713c2 | [
"MIT"
] | null | null | null | /* $Id: tstFileAppendWin-1.cpp $ */
/** @file
* IPRT Testcase - Exploration of File Appending on Windows.
*/
/*
* Copyright (C) 2008-2015 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free software;
* you can redistr... | 37.293436 | 102 | 0.586707 | egraba |
d4e42d3f21202f45938ecfb54efe2260b204a37d | 10,259 | cpp | C++ | logdevice/clients/python/logdevice_reader.cpp | mickvav/LogDevice | 24a8b6abe4576418eceb72974083aa22d7844705 | [
"BSD-3-Clause"
] | 1 | 2021-05-19T23:01:58.000Z | 2021-05-19T23:01:58.000Z | logdevice/clients/python/logdevice_reader.cpp | mickvav/LogDevice | 24a8b6abe4576418eceb72974083aa22d7844705 | [
"BSD-3-Clause"
] | null | null | null | logdevice/clients/python/logdevice_reader.cpp | mickvav/LogDevice | 24a8b6abe4576418eceb72974083aa22d7844705 | [
"BSD-3-Clause"
] | null | null | null | /**
* Copyright (c) 2017-present, Facebook, Inc. and its affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <algorithm>
#include <atomic>
#include <chrono>
#include <cmath>
#include <bo... | 36.902878 | 80 | 0.651915 | mickvav |
d4e6742e509a534b5d9f6b7fd58d812161159754 | 694 | cpp | C++ | cpp_dsgn_pattern_n_derivatives_pricing/chapter16/exercise16_1/exercise16_1/TreeProductsDecoupling.cpp | calvin456/intro_derivative_pricing | 0841fbc0344bee00044d67977faccfd2098b5887 | [
"MIT"
] | 5 | 2016-12-28T16:07:38.000Z | 2022-03-11T09:55:57.000Z | cpp_dsgn_pattern_n_derivatives_pricing/chapter16/exercise16_1/exercise16_1/TreeProductsDecoupling.cpp | calvin456/intro_derivative_pricing | 0841fbc0344bee00044d67977faccfd2098b5887 | [
"MIT"
] | null | null | null | cpp_dsgn_pattern_n_derivatives_pricing/chapter16/exercise16_1/exercise16_1/TreeProductsDecoupling.cpp | calvin456/intro_derivative_pricing | 0841fbc0344bee00044d67977faccfd2098b5887 | [
"MIT"
] | 5 | 2017-06-04T04:50:47.000Z | 2022-03-17T17:41:16.000Z | //TreeProductsDecoupling.cpp
#include "TreeProductsDecoupling.h"
TreeProduct::TreeProduct(double FinalTime_)
: FinalTime(FinalTime_)
{
}
double TreeProduct::GetFinalTime() const
{
return FinalTime;
}
/*
*
* Copyright (c) 2002
* Mark Joshi
*
* Permission to use, copy, modify, distribute and sell this
* software fo... | 23.133333 | 63 | 0.772334 | calvin456 |
d4e6f627ea3a154d7cb6c140543469ad6399fadf | 2,449 | cpp | C++ | C++ aleatorios/C++/main.cpp | higorslva/projetos-universidade | 92ed784025c85369f722f5d06c7a42fff7957f2e | [
"Apache-2.0"
] | null | null | null | C++ aleatorios/C++/main.cpp | higorslva/projetos-universidade | 92ed784025c85369f722f5d06c7a42fff7957f2e | [
"Apache-2.0"
] | null | null | null | C++ aleatorios/C++/main.cpp | higorslva/projetos-universidade | 92ed784025c85369f722f5d06c7a42fff7957f2e | [
"Apache-2.0"
] | null | null | null | #include <windows.h>
#include <stdio.h>
#include <stdlib.h>
/* This is where all the input to the window goes to */
LRESULT CALLBACK WndProc(HWND hwnd, UINT Message, WPARAM wParam, LPARAM lParam) {
switch(Message) {
/* Upon destruction, tell the main thread to stop */
case WM_DESTROY: {
PostQuitMe... | 35.492754 | 98 | 0.681911 | higorslva |
d4e934f1a0b756729dc58ef03910e155318d58dd | 517 | cpp | C++ | runtime/indirect_heap/indirect_heap.cpp | cwang64/compute-runtime | 440520ffdc5807574f0abfbf64b3790d1c0547e4 | [
"MIT"
] | 3 | 2019-09-20T23:26:36.000Z | 2019-10-03T17:44:12.000Z | runtime/indirect_heap/indirect_heap.cpp | cwang64/compute-runtime | 440520ffdc5807574f0abfbf64b3790d1c0547e4 | [
"MIT"
] | 1 | 2019-09-17T08:06:24.000Z | 2019-09-17T08:06:24.000Z | runtime/indirect_heap/indirect_heap.cpp | cwang64/compute-runtime | 440520ffdc5807574f0abfbf64b3790d1c0547e4 | [
"MIT"
] | 3 | 2019-05-16T07:22:51.000Z | 2019-11-11T03:05:32.000Z | /*
* Copyright (C) 2017-2019 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "indirect_heap.h"
namespace NEO {
IndirectHeap::IndirectHeap(GraphicsAllocation *gfxAllocation) : BaseClass(gfxAllocation) {
}
IndirectHeap::IndirectHeap(GraphicsAllocation *gfxAllocation, bool canBeUtilizedAs4GbHeap)... | 23.5 | 167 | 0.777563 | cwang64 |
d4e9ffcc1b51dc4883025ba2995e531cf681fdc0 | 3,380 | cpp | C++ | src/library/projection.cpp | JLimperg/lean | 81cabd7b5a8f789633639f5fba64b45d31e37259 | [
"Apache-2.0"
] | 2,232 | 2015-01-01T18:20:29.000Z | 2022-03-30T02:35:50.000Z | src/library/projection.cpp | JLimperg/lean | 81cabd7b5a8f789633639f5fba64b45d31e37259 | [
"Apache-2.0"
] | 1,187 | 2015-01-06T05:18:44.000Z | 2019-10-31T18:45:42.000Z | src/library/projection.cpp | JLimperg/lean | 81cabd7b5a8f789633639f5fba64b45d31e37259 | [
"Apache-2.0"
] | 306 | 2015-01-16T22:30:27.000Z | 2022-03-28T02:55:51.000Z | /*
Copyright (c) 2015 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Leonardo de Moura
*/
#include <string>
#include "util/sstream.h"
#include "kernel/kernel_exception.h"
#include "kernel/instantiate.h"
#include "kernel/inductive/inductive.h"
#in... | 33.137255 | 142 | 0.718047 | JLimperg |
d4eaa86b9b2429aa8e8f8a30748d0c6aebffea37 | 5,533 | hpp | C++ | config/Templates/FslUtil.Vulkan/Template_header0.hpp | Unarmed1000/RAIIGen | 2516ab5949c1fb54ca1b6e51e5e99e15ecfebbfb | [
"BSD-3-Clause"
] | 8 | 2016-11-02T14:08:51.000Z | 2021-03-25T02:00:00.000Z | config/Templates/FslUtil.Vulkan/Template_header0.hpp | Unarmed1000/RAIIGen | 2516ab5949c1fb54ca1b6e51e5e99e15ecfebbfb | [
"BSD-3-Clause"
] | 4 | 2016-08-23T12:37:17.000Z | 2016-09-30T01:58:20.000Z | config/Templates/FslUtil.Vulkan/Template_header0.hpp | Unarmed1000/RAIIGen | 2516ab5949c1fb54ca1b6e51e5e99e15ecfebbfb | [
"BSD-3-Clause"
] | null | null | null | #ifndef FSLUTIL_##NAMESPACE_NAME!##_##CLASS_NAME!##_HPP
#define FSLUTIL_##NAMESPACE_NAME!##_##CLASS_NAME!##_HPP
/****************************************************************************************************************************************************
* Copyright (c) 2016 Freescale Semiconductor, Inc.
* All r... | 37.134228 | 149 | 0.646665 | Unarmed1000 |
d4eb747851a50f569fa5c90030ce176ed16fc555 | 36,687 | hxx | C++ | dev/ese/src/os/_osdisk.hxx | augustoproiete-forks/microsoft--Extensible-Storage-Engine | a38945d2147167e3fa749594f54dae6c7307b8da | [
"MIT"
] | 1 | 2021-02-02T07:04:07.000Z | 2021-02-02T07:04:07.000Z | dev/ese/src/os/_osdisk.hxx | augustoproiete-forks/microsoft--Extensible-Storage-Engine | a38945d2147167e3fa749594f54dae6c7307b8da | [
"MIT"
] | null | null | null | dev/ese/src/os/_osdisk.hxx | augustoproiete-forks/microsoft--Extensible-Storage-Engine | a38945d2147167e3fa749594f54dae6c7307b8da | [
"MIT"
] | null | null | null | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#ifndef __OSDISK_HXX_INCLUDED
#define __OSDISK_HXX_INCLUDED
#include <winioctl.h>
class _OSFILE;
class COSDisk;
typedef _OSFILE* P_OSFILE;
struct IFILEIBOFFSET
{
QWORD iFile;
QWORD ibOffset;
... | 34.032468 | 242 | 0.528471 | augustoproiete-forks |
d4ecabab21eb4134631ffb318840a0501e082d08 | 6,302 | cpp | C++ | src/qt/src/3rdparty/webkit/Source/WebCore/platform/audio/mac/AudioDestinationMac.cpp | ant0ine/phantomjs | 8114d44a28134b765ab26b7e13ce31594fa81253 | [
"BSD-3-Clause"
] | 46 | 2015-01-08T14:32:34.000Z | 2022-02-05T16:48:26.000Z | src/qt/src/3rdparty/webkit/Source/WebCore/platform/audio/mac/AudioDestinationMac.cpp | ant0ine/phantomjs | 8114d44a28134b765ab26b7e13ce31594fa81253 | [
"BSD-3-Clause"
] | 7 | 2015-01-20T14:28:12.000Z | 2017-01-18T17:21:44.000Z | src/qt/src/3rdparty/webkit/Source/WebCore/platform/audio/mac/AudioDestinationMac.cpp | ant0ine/phantomjs | 8114d44a28134b765ab26b7e13ce31594fa81253 | [
"BSD-3-Clause"
] | 14 | 2015-10-27T06:17:48.000Z | 2020-03-03T06:15:50.000Z | /*
* Copyright (C) 2010 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of condit... | 36.639535 | 177 | 0.762615 | ant0ine |
d4ee1d1d4809b78f5db59b951bf03a4f9400e971 | 921 | cpp | C++ | lib/openGL/src/Evenement.cpp | benjyup/cpp_arcade | 4b755990b64156148e529da1c39efe8a8c0c5d1f | [
"MIT"
] | null | null | null | lib/openGL/src/Evenement.cpp | benjyup/cpp_arcade | 4b755990b64156148e529da1c39efe8a8c0c5d1f | [
"MIT"
] | null | null | null | lib/openGL/src/Evenement.cpp | benjyup/cpp_arcade | 4b755990b64156148e529da1c39efe8a8c0c5d1f | [
"MIT"
] | null | null | null | //
// Created by florian on 4/5/17.
//
#include "Evenement.hpp"
arcade::Evenement::Evenement(IEvenement::KeyCode keycode) : _keyCode(keycode),
_action(IEvenement::Action::KeyPressDown),
_score(0)
{}
... | 38.375 | 101 | 0.641694 | benjyup |
d4ef889e0b5e9c454d6a0fffc270440b1b149fae | 41,279 | cpp | C++ | src/EHooker.cpp | cxxjava/CxxFiber | 0558eb2f070f9e36859050f9d0fec89ef9d19982 | [
"Apache-2.0"
] | 14 | 2016-12-13T08:23:17.000Z | 2020-03-29T23:28:46.000Z | src/EHooker.cpp | cxxjava/CxxFiber | 0558eb2f070f9e36859050f9d0fec89ef9d19982 | [
"Apache-2.0"
] | null | null | null | src/EHooker.cpp | cxxjava/CxxFiber | 0558eb2f070f9e36859050f9d0fec89ef9d19982 | [
"Apache-2.0"
] | 8 | 2017-02-09T09:56:20.000Z | 2019-02-19T07:22:11.000Z | /*
* EHooker.cpp
*
* Created on: 2016-5-12
* Author: cxxjava@163.com
*/
#include "./EHooker.hh"
#include "./EIoWaiter.hh"
#include "./EFileContext.hh"
#include "../inc/EFiberLocal.hh"
#include "../inc/EFiberScheduler.hh"
#include "eco_ae.h"
#include <dlfcn.h>
#include <poll.h>
#include <signal.h>
#include ... | 26.944517 | 118 | 0.672473 | cxxjava |
d4f08af725ac4c4915603a9ee3da04b2cbda6646 | 4,269 | hpp | C++ | modules/viz/include/opencv2/viz.hpp | Nerei/opencv | 92d5f8744c872ccf63b17334f018343973353e47 | [
"BSD-3-Clause"
] | 1 | 2015-04-22T14:10:46.000Z | 2015-04-22T14:10:46.000Z | modules/viz/include/opencv2/viz.hpp | ameydhar/opencv | 1c3bfae2121f689535ab1a17284f40f5d64e0927 | [
"BSD-3-Clause"
] | null | null | null | modules/viz/include/opencv2/viz.hpp | ameydhar/opencv | 1c3bfae2121f689535ab1a17284f40f5d64e0927 | [
"BSD-3-Clause"
] | 2 | 2018-05-03T21:08:19.000Z | 2020-09-26T06:27:08.000Z | /*M///////////////////////////////////////////////////////////////////////////////////////
//
// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
//
// By downloading, copying, installing or using the software you agree to this license.
// If you do not agree to this license, do not download, instal... | 43.561224 | 150 | 0.676037 | Nerei |
d4f19247f56162ffb8ad0c8a7f454126ce2046bd | 8,036 | hpp | C++ | demo/c10k-server/ftp/ftp.hpp | AndreLouisCaron/w32 | 75b26a149e268138cbcf43e6f4669756ac4ac850 | [
"BSD-2-Clause"
] | 9 | 2015-12-30T15:21:20.000Z | 2021-03-21T04:23:14.000Z | demo/c10k-server/ftp/ftp.hpp | AndreLouisCaron/w32 | 75b26a149e268138cbcf43e6f4669756ac4ac850 | [
"BSD-2-Clause"
] | 1 | 2022-01-02T11:12:57.000Z | 2022-01-02T11:12:57.000Z | demo/c10k-server/ftp/ftp.hpp | AndreLouisCaron/w32 | 75b26a149e268138cbcf43e6f4669756ac4ac850 | [
"BSD-2-Clause"
] | 5 | 2018-04-09T04:44:58.000Z | 2020-04-10T12:51:51.000Z | #ifndef _ftp_hpp__
#define _ftp_hpp__
// Copyright (c) 2009-2012, Andre Caron (andre.l.caron@gmail.com)
// 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 ... | 30.210526 | 74 | 0.578895 | AndreLouisCaron |
d4f3b97894c2b6e1f656275c0c48d8d7ad6005ad | 518 | cpp | C++ | CPP/pascalTriangle.cpp | thefool76/hacktoberfest2021 | 237751e17a4fc325ded29fca013fb9f5853cd27c | [
"CC0-1.0"
] | 448 | 2021-10-01T04:24:14.000Z | 2022-03-06T14:34:20.000Z | CPP/pascalTriangle.cpp | Chanaka-Madushan-Herath/hacktoberfest2021 | 8473df9e058ccb6049720dd372342e0ea60f0e59 | [
"CC0-1.0"
] | 282 | 2021-10-01T04:29:06.000Z | 2022-03-07T12:42:57.000Z | CPP/pascalTriangle.cpp | Chanaka-Madushan-Herath/hacktoberfest2021 | 8473df9e058ccb6049720dd372342e0ea60f0e59 | [
"CC0-1.0"
] | 1,807 | 2021-10-01T04:24:02.000Z | 2022-03-28T04:51:25.000Z | #include<iostream>
using namespace std;
int main()
{
int n; // last level
cin >> n;
int arr[n][n];
for (int line = 0; line < n; ++line)
{
for(int space = 0; space <= n - line; ++space) cout << " ";
for (int i = 0; i <= line; i++)
{
if (line == i || i == 0)
... | 22.521739 | 71 | 0.376448 | thefool76 |
d4f3ef40aed90c2afd070c8ec73eb1dbd5143634 | 614 | cpp | C++ | Week02/example2.cpp | Stoefff/Object-Oriented-Programming-FMI-2017 | d2f8083ff146fb3cc68425cbd9af50bc37581e19 | [
"MIT"
] | 3 | 2018-03-05T13:57:56.000Z | 2018-05-03T19:25:05.000Z | Week02/example2.cpp | Stoefff/Object-Oriented-Programming-FMI-2017 | d2f8083ff146fb3cc68425cbd9af50bc37581e19 | [
"MIT"
] | null | null | null | Week02/example2.cpp | Stoefff/Object-Oriented-Programming-FMI-2017 | d2f8083ff146fb3cc68425cbd9af50bc37581e19 | [
"MIT"
] | null | null | null | #include <iostream>
#include <fstream>
int main(){
std::ifstream file ("example.txt"); // saved us one row of writing same as ^
// We should always if the opening of a files is valid
if (! file.good() ){ // there are also bad(), fail(), eof()
std::cerr << "Could not open files"; // cerr - standart ... | 30.7 | 80 | 0.586319 | Stoefff |
d4f8b23421ac1afb4535fd401b3ac24b99887c11 | 6,131 | cpp | C++ | code/wxWidgets/src/motif/colour.cpp | Bloodknight/NeuTorsion | a5890e9ca145a8c1b6bec7b70047a43d9b1c29ea | [
"MIT"
] | 38 | 2016-02-20T02:46:28.000Z | 2021-11-17T11:39:57.000Z | code/wxWidgets/src/motif/colour.cpp | Dwarf-King/TorsionEditor | e6887d1661ebaf4ccbf1d09f2690e2bf805fbb50 | [
"MIT"
] | 17 | 2016-02-20T02:19:55.000Z | 2021-02-08T15:15:17.000Z | code/wxWidgets/src/motif/colour.cpp | Dwarf-King/TorsionEditor | e6887d1661ebaf4ccbf1d09f2690e2bf805fbb50 | [
"MIT"
] | 46 | 2016-02-20T02:47:33.000Z | 2021-01-31T15:46:05.000Z | /////////////////////////////////////////////////////////////////////////////
// Name: colour.cpp
// Purpose: wxColour class
// Author: Julian Smart
// Modified by:
// Created: 17/09/98
// RCS-ID: $Id: colour.cpp,v 1.16 2005/02/06 17:38:29 MBN Exp $
// Copyright: (c) Julian Smart
// Licence: ... | 26.890351 | 85 | 0.619801 | Bloodknight |
d4f93502df57adfce487eed90f94adcbcd31da73 | 44,682 | cpp | C++ | avocadod/Replication/InitialSyncer.cpp | jjzhang166/avocadodb | 948d94592c10731857c8617b133bda840b8e833e | [
"BSL-1.0",
"Zlib",
"Apache-2.0"
] | null | null | null | avocadod/Replication/InitialSyncer.cpp | jjzhang166/avocadodb | 948d94592c10731857c8617b133bda840b8e833e | [
"BSL-1.0",
"Zlib",
"Apache-2.0"
] | null | null | null | avocadod/Replication/InitialSyncer.cpp | jjzhang166/avocadodb | 948d94592c10731857c8617b133bda840b8e833e | [
"BSL-1.0",
"Zlib",
"Apache-2.0"
] | null | null | null | ////////////////////////////////////////////////////////////////////////////////
/// DISCLAIMER
///
/// Copyright 2014-2016 ArangoDB GmbH, Cologne, Germany
/// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany
///
/// Licensed under the Apache License, Version 2.0 (the "License");
/// you may not use this file except... | 31.444053 | 182 | 0.573251 | jjzhang166 |
d4fb7098083ee0f3440c9361171afbb35927a570 | 8,970 | hpp | C++ | dsa/include/dsa/list.hpp | Abstract-Everything/dsa | fcbc0f4fa1eb3493f0e1b8f05d7f159ea6f2342c | [
"Unlicense"
] | null | null | null | dsa/include/dsa/list.hpp | Abstract-Everything/dsa | fcbc0f4fa1eb3493f0e1b8f05d7f159ea6f2342c | [
"Unlicense"
] | null | null | null | dsa/include/dsa/list.hpp | Abstract-Everything/dsa | fcbc0f4fa1eb3493f0e1b8f05d7f159ea6f2342c | [
"Unlicense"
] | null | null | null | #ifndef DSA_LIST_HPP
#define DSA_LIST_HPP
#include <dsa/allocator_traits.hpp>
#include <dsa/default_allocator.hpp>
#include <dsa/node.hpp>
#include <cstddef>
#include <memory>
namespace dsa
{
namespace detail
{
template<typename Satellite_t, template<typename> typename Allocator_Base>
class List_Node
{
private:
... | 22.039312 | 90 | 0.676589 | Abstract-Everything |
be0245983274bff9a89bcd08c0d1c92801c36854 | 1,078 | hpp | C++ | api/hw/async_device.hpp | jaeh/IncludeOS | 1cc2bcf36758ff5ef3099e0c0c1ee55f0bb1de02 | [
"Apache-2.0"
] | 3,673 | 2015-12-01T22:14:02.000Z | 2019-03-22T03:07:20.000Z | api/hw/async_device.hpp | jaeh/IncludeOS | 1cc2bcf36758ff5ef3099e0c0c1ee55f0bb1de02 | [
"Apache-2.0"
] | 960 | 2015-12-01T20:40:36.000Z | 2019-03-22T13:21:21.000Z | api/hw/async_device.hpp | jaeh/IncludeOS | 1cc2bcf36758ff5ef3099e0c0c1ee55f0bb1de02 | [
"Apache-2.0"
] | 357 | 2015-12-02T09:32:50.000Z | 2019-03-22T09:32:34.000Z |
#pragma once
#include <kernel/events.hpp>
#include <hw/usernet.hpp>
#include <deque>
namespace hw
{
template <typename Driver>
class Async_device {
public:
using transmit_func = delegate<void(net::Packet_ptr)>;
void connect(Async_device& other) {
this->set_transmit({&other, &Async_device::receive});
}
A... | 20.339623 | 57 | 0.634508 | jaeh |
be0518e58275bdfe1937a19b1b9de2bc8fa5f8de | 2,174 | cpp | C++ | leetcode/l5169.cpp | Victrid/Atlas | da25d50424790e571f29b66fc815245c1093798c | [
"MIT"
] | 1 | 2020-01-19T16:00:07.000Z | 2020-01-19T16:00:07.000Z | leetcode/l5169.cpp | Victrid/Atlas | da25d50424790e571f29b66fc815245c1093798c | [
"MIT"
] | null | null | null | leetcode/l5169.cpp | Victrid/Atlas | da25d50424790e571f29b66fc815245c1093798c | [
"MIT"
] | null | null | null | #include "lc.hpp"
class Solution {
public:
struct Date {
int year;
int month;
int day;
Date(string a) {
year = stoi(a.substr(0, 4));
month = stoi(a.substr(5, 2));
day = stoi(a.substr(8, 2));
}
Date() {}
};
int days(Date a... | 32.447761 | 158 | 0.371665 | Victrid |
be07518bfce95bf1c817cc74f89b6d26f1ffcd22 | 35,659 | cpp | C++ | Interframe EZBC/EZBC0a/src/dwt_bitplane_dec_cxt_AC.cpp | Dongcunhui/Wavelet-Based-Learned-Scalable-Video-Coding | 7142addafac9ce58e7e273b68bd0b83a01fc0ce4 | [
"MIT"
] | 1 | 2022-01-26T01:22:29.000Z | 2022-01-26T01:22:29.000Z | Interframe EZBC/EZBC0a/src/dwt_bitplane_dec_cxt_AC.cpp | Dongcunhui/WL-SVC | 7142addafac9ce58e7e273b68bd0b83a01fc0ce4 | [
"MIT"
] | null | null | null | Interframe EZBC/EZBC0a/src/dwt_bitplane_dec_cxt_AC.cpp | Dongcunhui/WL-SVC | 7142addafac9ce58e7e273b68bd0b83a01fc0ce4 | [
"MIT"
] | null | null | null | /* ========================================================================= */
/* Description: menber functions for class DecSubband with contex modeling */
/* Author: Shih-Ta Hsiang */
/* Version: v0.a */
... | 25.896151 | 80 | 0.577975 | Dongcunhui |
be086d36f62e2133d6d3e1b813edcb319ee5f62b | 20,839 | hpp | C++ | src/cppmat/map_diagonal_matrix.hpp | tdegeus/cppmatrix | a6738a2c8be4c6e83b499b54bd874a3d3ee05000 | [
"MIT"
] | 6 | 2017-05-05T15:44:36.000Z | 2019-01-19T09:58:47.000Z | src/cppmat/map_diagonal_matrix.hpp | tdegeus/cppmatrix | a6738a2c8be4c6e83b499b54bd874a3d3ee05000 | [
"MIT"
] | 32 | 2017-08-31T08:04:09.000Z | 2019-10-21T15:42:01.000Z | src/cppmat/map_diagonal_matrix.hpp | tdegeus/cppmatrix | a6738a2c8be4c6e83b499b54bd874a3d3ee05000 | [
"MIT"
] | 2 | 2018-08-03T09:08:32.000Z | 2022-01-25T07:38:25.000Z | /* =================================================================================================
(c - MIT) T.W.J. de Geus (Tom) | tom@geus.me | www.geus.me | github.com/tdegeus/cppmat
================================================================================================= */
#ifndef CPPMAT_MAP_DIAGONAL_... | 26.958603 | 101 | 0.355583 | tdegeus |
be08967d395cde607e5d9366c78185f3167c8d62 | 6,505 | hxx | C++ | OCC/opencascade-7.2.0/x64/debug/inc/SelectMgr_Selection.hxx | jiaguobing/FastCAE | 2348ab87e83fe5c704e4c998cf391229c25ac5d5 | [
"BSD-3-Clause"
] | 2 | 2020-02-21T01:04:35.000Z | 2020-02-21T03:35:37.000Z | OCC/opencascade-7.2.0/x64/debug/inc/SelectMgr_Selection.hxx | Sunqia/FastCAE | cbc023fe07b6e306ceefae8b8bd7c12bc1562acb | [
"BSD-3-Clause"
] | 1 | 2020-03-06T04:49:42.000Z | 2020-03-06T04:49:42.000Z | OCC/opencascade-7.2.0/x64/debug/inc/SelectMgr_Selection.hxx | Sunqia/FastCAE | cbc023fe07b6e306ceefae8b8bd7c12bc1562acb | [
"BSD-3-Clause"
] | 1 | 2021-11-21T13:03:26.000Z | 2021-11-21T13:03:26.000Z | // Created on: 1995-02-16
// Created by: Mister rmi
// Copyright (c) 1995-1999 Matra Datavision
// Copyright (c) 1999-2014 OPEN CASCADE SAS
//
// This file is part of Open CASCADE Technology software library.
//
// This library is free software; you can redistribute it and/or modify it under
// the terms of the GNU Les... | 39.664634 | 99 | 0.733897 | jiaguobing |
be09d4b050ec8c96f006454ca05570e9169a9865 | 57,773 | cpp | C++ | armnn-ethos-n-backend/test/EthosNMappingTests.cpp | QPC-database/ethos-n-driver-stack | 484b865d854cd50abf461adcde08e115d6600026 | [
"Apache-2.0"
] | 1 | 2021-07-03T23:51:07.000Z | 2021-07-03T23:51:07.000Z | armnn-ethos-n-backend/test/EthosNMappingTests.cpp | QPC-database/ethos-n-driver-stack | 484b865d854cd50abf461adcde08e115d6600026 | [
"Apache-2.0"
] | null | null | null | armnn-ethos-n-backend/test/EthosNMappingTests.cpp | QPC-database/ethos-n-driver-stack | 484b865d854cd50abf461adcde08e115d6600026 | [
"Apache-2.0"
] | null | null | null | //
// Copyright © 2019-2021 Arm Limited. All rights reserved.
// SPDX-License-Identifier: Apache-2.0
//
#include "EthosNConfig.hpp"
#include "EthosNLayerSupport.hpp"
#include "EthosNMapping.hpp"
#include "EthosNTestUtils.hpp"
#include <EthosNBackend.hpp>
#include <EthosNBackendId.hpp>
#include <Network.hpp>
#include ... | 41.03196 | 227 | 0.626192 | QPC-database |
be09d8e4cbbad885c4ba4fd8b910550976ada034 | 10,093 | cpp | C++ | Sources/Tools/EPI/Document/ContentInfo/SplineRepresentation.cpp | benkaraban/anima-games-engine | 8aa7a5368933f1b82c90f24814f1447119346c3b | [
"BSD-3-Clause"
] | 2 | 2015-04-16T01:05:53.000Z | 2019-08-26T07:38:43.000Z | Sources/Tools/EPI/Document/ContentInfo/SplineRepresentation.cpp | benkaraban/anima-games-engine | 8aa7a5368933f1b82c90f24814f1447119346c3b | [
"BSD-3-Clause"
] | null | null | null | Sources/Tools/EPI/Document/ContentInfo/SplineRepresentation.cpp | benkaraban/anima-games-engine | 8aa7a5368933f1b82c90f24814f1447119346c3b | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2010, Anima Games, Benjamin Karaban, Laurent Schneider,
* Jérémie Comarmond, Didier Colin.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* - Redistributions of ... | 41.028455 | 148 | 0.635886 | benkaraban |
be0a10874dda4946544813fa28b986dc9a86ae50 | 9,353 | cpp | C++ | VC2010Samples/MFC/Visual C++ 2008 Feature Pack/VisualStudioDemo/PropertiesViewBar.cpp | alonmm/VCSamples | 6aff0b4902f5027164d593540fcaa6601a0407c3 | [
"MIT"
] | 300 | 2019-05-09T05:32:33.000Z | 2022-03-31T20:23:24.000Z | VC2010Samples/MFC/Visual C++ 2008 Feature Pack/VisualStudioDemo/PropertiesViewBar.cpp | JaydenChou/VCSamples | 9e1d4475555b76a17a3568369867f1d7b6cc6126 | [
"MIT"
] | 9 | 2016-09-19T18:44:26.000Z | 2018-10-26T10:20:05.000Z | VC2010Samples/MFC/Visual C++ 2008 Feature Pack/VisualStudioDemo/PropertiesViewBar.cpp | JaydenChou/VCSamples | 9e1d4475555b76a17a3568369867f1d7b6cc6126 | [
"MIT"
] | 633 | 2019-05-08T07:34:12.000Z | 2022-03-30T04:38:28.000Z | // This is a part of the Microsoft Foundation Classes C++ library.
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// This source code is only intended as a supplement to the
// Microsoft Foundation Classes Reference and related
// electronic documentation provided with the library.
// See these source... | 32.58885 | 173 | 0.755373 | alonmm |
be0a3dc4cd03044b5dc9758163abf6484d898f12 | 45,091 | cpp | C++ | multiview/contrib/alglib/cpp/src/diffequations.cpp | prcvlabs/multiview | 1a03e14855292967ffb0c0ec7fff855c5abbc9d2 | [
"Apache-2.0"
] | 5 | 2021-09-03T23:12:08.000Z | 2022-03-04T21:43:32.000Z | multiview/contrib/alglib/cpp/src/diffequations.cpp | prcvlabs/multiview | 1a03e14855292967ffb0c0ec7fff855c5abbc9d2 | [
"Apache-2.0"
] | 3 | 2021-09-08T02:57:46.000Z | 2022-02-26T05:33:02.000Z | multiview/contrib/alglib/cpp/src/diffequations.cpp | prcvlabs/multiview | 1a03e14855292967ffb0c0ec7fff855c5abbc9d2 | [
"Apache-2.0"
] | 2 | 2021-09-26T03:14:40.000Z | 2022-01-26T06:42:52.000Z | /*************************************************************************
ALGLIB 3.12.0 (source code generated 2017-08-22)
Copyright (c) Sergey Bochkanov (ALGLIB project).
>>> SOURCE LICENSE >>>
This program is a Commercial Edition of the ALGLIB package licensed
to Perceive, Inc. (Licensee), agreement ID ... | 35.957735 | 278 | 0.590983 | prcvlabs |
be0a77ef2bc95116abf1dc0136905aea561d0411 | 2,816 | cpp | C++ | src/equation/lu/lu_mumps_cpu.cpp | rigarash/monolish-debian-package | 70b4917370184bcf07378e1907c5239a1ad9579b | [
"Apache-2.0"
] | 172 | 2021-04-05T10:04:40.000Z | 2022-03-28T14:30:38.000Z | src/equation/lu/lu_mumps_cpu.cpp | rigarash/monolish-debian-package | 70b4917370184bcf07378e1907c5239a1ad9579b | [
"Apache-2.0"
] | 96 | 2021-04-06T01:53:44.000Z | 2022-03-09T07:27:09.000Z | src/equation/lu/lu_mumps_cpu.cpp | termoshtt/monolish | 1cba60864002b55bc666da9baa0f8c2273578e01 | [
"Apache-2.0"
] | 8 | 2021-04-05T13:21:07.000Z | 2022-03-09T23:24:06.000Z | #include "../../../include/monolish_blas.hpp"
#include "../../../include/monolish_equation.hpp"
#include "../../internal/monolish_internal.hpp"
// #include "dmumps_c.h"
// #include "mpi.h"
#define JOB_INIT -1
#define JOB_END -2
#define USE_COMM_WORLD -987654
namespace monolish {
// mumps is choushi warui..
template... | 27.607843 | 79 | 0.51669 | rigarash |
be0bd4470583830df7a5937b497088823737d0a1 | 1,387 | cc | C++ | solutions/online-judge/362.cc | zwliew/ctci | 871f4fc957be96c6d0749d205549b7b35dc53d9e | [
"MIT"
] | 4 | 2020-11-07T14:38:02.000Z | 2022-01-03T19:02:36.000Z | solutions/online-judge/362.cc | zwliew/ctci | 871f4fc957be96c6d0749d205549b7b35dc53d9e | [
"MIT"
] | 1 | 2019-04-17T06:55:14.000Z | 2019-04-17T06:55:14.000Z | solutions/online-judge/362.cc | zwliew/ctci | 871f4fc957be96c6d0749d205549b7b35dc53d9e | [
"MIT"
] | null | null | null | #include <algorithm>
#include <array>
#include <bitset>
#include <chrono>
#include <climits>
#include <cmath>
#include <cstring>
#include <deque>
#include <ext/pb_ds/assoc_container.hpp>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include ... | 20.397059 | 74 | 0.549387 | zwliew |
be0f9301fd27d653611d4f9dd16aa97fac781adc | 1,018 | hpp | C++ | src/filters_cpp/src/filters.hpp | satvik007/Scanner_OP | c146f67e3851cd537d62989842abfee7d34de2c0 | [
"MIT"
] | null | null | null | src/filters_cpp/src/filters.hpp | satvik007/Scanner_OP | c146f67e3851cd537d62989842abfee7d34de2c0 | [
"MIT"
] | null | null | null | src/filters_cpp/src/filters.hpp | satvik007/Scanner_OP | c146f67e3851cd537d62989842abfee7d34de2c0 | [
"MIT"
] | 1 | 2021-05-10T10:14:27.000Z | 2021-05-10T10:14:27.000Z | /**
* This document is part of the project ScanIN. See License for more details.
* This is implementation of all the filters of the app, it contains the following filters
* - Magic
* - Sepia
* - Lighten
* - Gray
* - Sharpen
* Author : Satvik Choudhary
* Created on : 8 July 2020
*/
#ifndef __FILTERS_... | 31.8125 | 158 | 0.70334 | satvik007 |
be1227178877f99896d09f3483eb5d7e0ced186f | 1,593 | cc | C++ | PhysicsTools/TagAndProbe/src/RooCBExGaussShape.cc | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 1 | 2020-08-12T08:37:04.000Z | 2020-08-12T08:37:04.000Z | PhysicsTools/TagAndProbe/src/RooCBExGaussShape.cc | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 5 | 2021-03-09T10:27:32.000Z | 2021-12-08T18:47:35.000Z | PhysicsTools/TagAndProbe/src/RooCBExGaussShape.cc | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 1 | 2019-03-19T13:44:54.000Z | 2019-03-19T13:44:54.000Z | #include "PhysicsTools/TagAndProbe/interface/RooCBExGaussShape.h"
ClassImp(RooCBExGaussShape)
RooCBExGaussShape::RooCBExGaussShape(const char *name, const char *title,
RooAbsReal& _m,
RooAbsReal& _m0,
RooAbsReal& _sigma,
RooAbsReal& _alpha,
RooAbsReal& _n,
... | 26.114754 | 87 | 0.600753 | nistefan |
be13fed23660a6a5a4180e8493276df85e869a86 | 597 | cpp | C++ | src/Audio.cpp | flipcoder/bitplanes | 6d37b261929bac815cd97b09b00baa60dc55b950 | [
"MIT"
] | 5 | 2015-08-14T15:27:35.000Z | 2019-07-08T07:06:22.000Z | src/Audio.cpp | flipcoder/bitplanes | 6d37b261929bac815cd97b09b00baa60dc55b950 | [
"MIT"
] | null | null | null | src/Audio.cpp | flipcoder/bitplanes | 6d37b261929bac815cd97b09b00baa60dc55b950 | [
"MIT"
] | null | null | null | #include "Audio.h"
Audio::Sound :: Sound(const std::string& fn):
IConfigurable(fn, "data/audio/")
{
nullify();
scoped_dtor<Sound> dtor(this);
//m_spSample = sample;
m_spSample = Audio::get().samples().cache(fn); // might throw
if(!(m_pSound = al_create_sample_instance(m_spSample->sample())))
... | 31.421053 | 98 | 0.675042 | flipcoder |
be1462aa6602c994fd635fae6f6e2f94dea022d7 | 19,750 | cpp | C++ | SymbolExtractorAndRenamer/lldb/source/Plugins/Process/Windows/Common/DebuggerThread.cpp | Polidea/SiriusObfuscator | b0e590d8130e97856afe578869b83a209e2b19be | [
"Apache-2.0"
] | 427 | 2018-05-29T14:21:02.000Z | 2022-03-16T03:17:54.000Z | SymbolExtractorAndRenamer/lldb/source/Plugins/Process/Windows/Common/DebuggerThread.cpp | PolideaPlayground/SiriusObfuscator | b0e590d8130e97856afe578869b83a209e2b19be | [
"Apache-2.0"
] | 25 | 2018-07-23T08:34:15.000Z | 2021-11-05T07:13:36.000Z | SymbolExtractorAndRenamer/lldb/source/Plugins/Process/Windows/Common/DebuggerThread.cpp | PolideaPlayground/SiriusObfuscator | b0e590d8130e97856afe578869b83a209e2b19be | [
"Apache-2.0"
] | 52 | 2018-07-19T19:57:32.000Z | 2022-03-11T16:05:38.000Z | //===-- DebuggerThread.cpp --------------------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | 35.909091 | 80 | 0.681418 | Polidea |
be14ad9c2abf5da992de1f349c2c8a5e995b43da | 12,482 | hpp | C++ | src/Optimization/hiopAlgPrimalDecomp.hpp | LLNL/hiop | d348485926effc459d2da54c3962d802da2de9e8 | [
"BSD-3-Clause"
] | 126 | 2017-12-30T13:06:07.000Z | 2022-03-27T03:30:46.000Z | src/Optimization/hiopAlgPrimalDecomp.hpp | LLNL/hiop | d348485926effc459d2da54c3962d802da2de9e8 | [
"BSD-3-Clause"
] | 344 | 2018-01-24T22:05:38.000Z | 2022-03-31T17:49:52.000Z | src/Optimization/hiopAlgPrimalDecomp.hpp | LLNL/hiop | d348485926effc459d2da54c3962d802da2de9e8 | [
"BSD-3-Clause"
] | 30 | 2018-01-20T00:16:06.000Z | 2022-03-18T12:57:19.000Z | // Copyright (c) 2017, Lawrence Livermore National Security, LLC.
// Produced at the Lawrence Livermore National Laboratory (LLNL).
// LLNL-CODE-742473. All rights reserved.
//
// This file is part of HiOp. For details, see https://github.com/LLNL/hiop. HiOp
// is released under the BSD 3-clause license (https://openso... | 35.867816 | 104 | 0.715671 | LLNL |
be1e1e764273ff0de290313638af9cac4f2a34c9 | 10,317 | cc | C++ | src/cpp/src/IMPL/MCParticleImpl.cc | tmadlener/LCIO | 8f9e86b93b7d5d83221fabb872ed7e82f1638476 | [
"BSD-3-Clause"
] | 17 | 2016-09-12T15:39:23.000Z | 2021-07-27T00:25:25.000Z | src/cpp/src/IMPL/MCParticleImpl.cc | tmadlener/LCIO | 8f9e86b93b7d5d83221fabb872ed7e82f1638476 | [
"BSD-3-Clause"
] | 88 | 2016-10-03T18:49:06.000Z | 2022-03-23T18:19:28.000Z | src/cpp/src/IMPL/MCParticleImpl.cc | tmadlener/LCIO | 8f9e86b93b7d5d83221fabb872ed7e82f1638476 | [
"BSD-3-Clause"
] | 44 | 2016-09-12T15:42:26.000Z | 2021-12-02T12:33:05.000Z |
#include "IMPL/MCParticleImpl.h"
#include "EVENT/LCIO.h"
#include <iostream>
#include <sstream>
#include <stdexcept>
#include <vector>
#include <math.h>
#include <algorithm>
namespace EVENT{
// the standard requires static const ints to be defined aoutside the class declaration
// so we do this here :
const ... | 31.263636 | 129 | 0.621983 | tmadlener |
be1f640bb7ae1ac25391a191f2a10783811cc823 | 8,373 | cpp | C++ | SerialPrograms/Source/PokemonLA/Programs/ShinyHunting/PokemonLA_CrobatFinder.cpp | Gin890/Arduino-Source | 9047ff584010d8ddc3558068874f16fb3c7bb46d | [
"MIT"
] | null | null | null | SerialPrograms/Source/PokemonLA/Programs/ShinyHunting/PokemonLA_CrobatFinder.cpp | Gin890/Arduino-Source | 9047ff584010d8ddc3558068874f16fb3c7bb46d | [
"MIT"
] | null | null | null | SerialPrograms/Source/PokemonLA/Programs/ShinyHunting/PokemonLA_CrobatFinder.cpp | Gin890/Arduino-Source | 9047ff584010d8ddc3558068874f16fb3c7bb46d | [
"MIT"
] | null | null | null | /* Alpha Crobat Hunter
*
* From: https://github.com/PokemonAutomation/Arduino-Source
*
*/
#include "Common/Cpp/Exceptions.h"
#include "CommonFramework/Notifications/ProgramNotifications.h"
#include "CommonFramework/VideoPipeline/VideoFeed.h"
#include "CommonFramework/InferenceInfra/InferenceRoutines.h"
... | 37.716216 | 137 | 0.655798 | Gin890 |
be20ee6191c0133a8fd3b2c9cd606ddd40ee012b | 1,733 | cpp | C++ | src/basic/adt/ApSInt.cpp | PHP-OPEN-HUB/polarphp | 70ff4046e280fd99d718d4761686168fa8012aa5 | [
"PHP-3.01"
] | null | null | null | src/basic/adt/ApSInt.cpp | PHP-OPEN-HUB/polarphp | 70ff4046e280fd99d718d4761686168fa8012aa5 | [
"PHP-3.01"
] | null | null | null | src/basic/adt/ApSInt.cpp | PHP-OPEN-HUB/polarphp | 70ff4046e280fd99d718d4761686168fa8012aa5 | [
"PHP-3.01"
] | null | null | null | // This source file is part of the polarphp.org open source project
//
// Copyright (c) 2017 - 2019 polarphp software foundation
// Copyright (c) 2017 - 2019 zzu_softboy <zzu_softboy@163.com>
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://polarphp.org/LICENSE.txt for license info... | 30.946429 | 85 | 0.612233 | PHP-OPEN-HUB |
be23611dc134a0bacfb74518ac7874cb12086dd1 | 2,988 | cc | C++ | Geometry/CaloEventSetup/test/CaloAlignmentRcdWrite.cc | knash/cmssw | d4f63ec2b2c322e3be4c4d78ce20ebddbcd88ca7 | [
"Apache-2.0"
] | null | null | null | Geometry/CaloEventSetup/test/CaloAlignmentRcdWrite.cc | knash/cmssw | d4f63ec2b2c322e3be4c4d78ce20ebddbcd88ca7 | [
"Apache-2.0"
] | 1 | 2021-06-28T14:25:47.000Z | 2021-06-30T10:12:29.000Z | Geometry/CaloEventSetup/test/CaloAlignmentRcdWrite.cc | knash/cmssw | d4f63ec2b2c322e3be4c4d78ce20ebddbcd88ca7 | [
"Apache-2.0"
] | null | null | null | #include <string>
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include "FWCore/ServiceRegistry/interface/Service.h"
#include "FWCore/Framework/interface/EventSetup.h"
#include "FWCore/Framework/interface/one/EDAnalyzer.h"
#include "FWCore/Framework/interface/MakerMacros.h"
#include "Utilities/General/inter... | 35.152941 | 115 | 0.745315 | knash |
be2573d5eb880e484668a4b198ee5040d92238b7 | 5,352 | cpp | C++ | LeetCode/C++/884. Uncommon Words from Two Sentences.cpp | shreejitverma/GeeksforGeeks | d7bcb166369fffa9a031a258e925b6aff8d44e6c | [
"MIT"
] | 2 | 2022-02-18T05:14:28.000Z | 2022-03-08T07:00:08.000Z | LeetCode/C++/884. Uncommon Words from Two Sentences.cpp | shivaniverma1/Competitive-Programming-1 | d7bcb166369fffa9a031a258e925b6aff8d44e6c | [
"MIT"
] | 6 | 2022-01-13T04:31:04.000Z | 2022-03-12T01:06:16.000Z | LeetCode/C++/884. Uncommon Words from Two Sentences.cpp | shivaniverma1/Competitive-Programming-1 | d7bcb166369fffa9a031a258e925b6aff8d44e6c | [
"MIT"
] | 2 | 2022-02-14T19:53:53.000Z | 2022-02-18T05:14:30.000Z | /**
We are given two sentences A and B. (A sentence is a string of space separated words. Each word consists only of lowercase letters.)
A word is uncommon if it appears exactly once in one of the sentences, and does not appear in the other sentence.
Return a list of all uncommon words.
You may return the list in an... | 31.857143 | 134 | 0.545217 | shreejitverma |
be26304c1812023d42cb498cbf7686409bc6d23a | 7,933 | cpp | C++ | src/BldRecons/SPB2OBJ/MeshGrid.cpp | liuxinren/UrbanReconstruction | 079d9b0c9089aa9cdb15d31d76155e50a5e72f00 | [
"MIT"
] | 94 | 2017-07-20T05:32:07.000Z | 2022-03-02T03:38:54.000Z | src/BldRecons/SPB2OBJ/MeshGrid.cpp | GucciPrada/UrbanReconstruction | 8b058349fd860ea9029623a92d705dd93a4e4878 | [
"MIT"
] | 3 | 2017-09-12T00:07:05.000Z | 2020-03-08T21:12:36.000Z | src/BldRecons/SPB2OBJ/MeshGrid.cpp | GucciPrada/UrbanReconstruction | 8b058349fd860ea9029623a92d705dd93a4e4878 | [
"MIT"
] | 38 | 2017-07-25T06:00:52.000Z | 2022-03-19T10:01:06.000Z | #include "StdAfx.h"
#include "MeshGrid.h"
#include "ParamManager.h"
#include "Miscs\TimeMeter.h"
CMeshGrid::CMeshGrid(void)
{
}
CMeshGrid::~CMeshGrid(void)
{
}
void CMeshGrid::Mesh()
{
CParamManager * manager = CParamManager::GetParamManager();
CTimeMeter timer;
timer.Start();
fprintf_s( stderr, "==============... | 26.982993 | 124 | 0.556284 | liuxinren |
be27d9ac8acb3f9a5aaa1968cd7eced13c4325e2 | 5,471 | cpp | C++ | src/WWWAPIHandler.cpp | backuperator/daemon | ae30bb57ceb5a989752cdde322c300c9208d3a50 | [
"BSD-2-Clause"
] | null | null | null | src/WWWAPIHandler.cpp | backuperator/daemon | ae30bb57ceb5a989752cdde322c300c9208d3a50 | [
"BSD-2-Clause"
] | null | null | null | src/WWWAPIHandler.cpp | backuperator/daemon | ae30bb57ceb5a989752cdde322c300c9208d3a50 | [
"BSD-2-Clause"
] | null | null | null | #include "WWWAPIHandler.hpp"
#include "IOLib.h"
#include <stdlib.h>
#include <glog/logging.h>
#include <boost/regex.hpp>
using json = nlohmann::json;
using namespace boost;
using namespace std;
// Create regexes for all URLs we support.
static regex _exprLibraries("^\\/api\\/libraries$");
/**
* Initializes the h... | 25.211982 | 89 | 0.640468 | backuperator |
be27fe93d77b6389d9ad019f2b1fda05c4348c84 | 277 | cpp | C++ | LearnC++ForProgramingDevelopement/Part_I_ProgramacionProcedural/Chapter06/TheIfStatement.cpp | Gabroide/TextAdvenure | d2fc9b2ef21d66a17b9b716975087093c592abbc | [
"MIT"
] | null | null | null | LearnC++ForProgramingDevelopement/Part_I_ProgramacionProcedural/Chapter06/TheIfStatement.cpp | Gabroide/TextAdvenure | d2fc9b2ef21d66a17b9b716975087093c592abbc | [
"MIT"
] | null | null | null | LearnC++ForProgramingDevelopement/Part_I_ProgramacionProcedural/Chapter06/TheIfStatement.cpp | Gabroide/TextAdvenure | d2fc9b2ef21d66a17b9b716975087093c592abbc | [
"MIT"
] | null | null | null | #include <iostream>
int main(int argc, char** argv[])
{
if (true)
{
std::cout << "Print This!" << std::endl;
}
std::cout << std::endl;
std::cout << std::endl;
std::cout << "Enter a 0 to finish the program" << std::endl;
int number;
std::cin >> number;
return 0;
} | 16.294118 | 61 | 0.581227 | Gabroide |
be28b458b28ca656e1ada7977e8fadb8c5308ce3 | 19,229 | cpp | C++ | ImportantExample/Cutegram-master/Cutegram/asemantools/asemandesktoptools.cpp | xiaohaijin/Qt | 54d961c6a8123d8e4daf405b7996aba4be9ab7ed | [
"MIT"
] | 3 | 2018-12-24T19:35:52.000Z | 2022-02-04T14:45:59.000Z | ImportantExample/Cutegram-master/Cutegram/asemantools/asemandesktoptools.cpp | xiaohaijin/Qt | 54d961c6a8123d8e4daf405b7996aba4be9ab7ed | [
"MIT"
] | null | null | null | ImportantExample/Cutegram-master/Cutegram/asemantools/asemandesktoptools.cpp | xiaohaijin/Qt | 54d961c6a8123d8e4daf405b7996aba4be9ab7ed | [
"MIT"
] | 1 | 2019-05-09T02:42:40.000Z | 2019-05-09T02:42:40.000Z | /*
Copyright (C) 2014 Aseman
http://aseman.co
This project is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This... | 25.268068 | 132 | 0.567112 | xiaohaijin |
be2bdfa47de831bcc65f7d59d91ed114576d0441 | 594 | cpp | C++ | ITP2/ITP2_9_D.cpp | felixny/AizuOnline | 8ff399d60077e08961845502d4a99244da580cd2 | [
"MIT"
] | null | null | null | ITP2/ITP2_9_D.cpp | felixny/AizuOnline | 8ff399d60077e08961845502d4a99244da580cd2 | [
"MIT"
] | null | null | null | ITP2/ITP2_9_D.cpp | felixny/AizuOnline | 8ff399d60077e08961845502d4a99244da580cd2 | [
"MIT"
] | null | null | null | // ITP2_9_D
#include <algorithm>
#include <iostream>
#include <map>
#include <numeric>
#include <set>
#include <tuple>
#include <utility>
#include <vector>
using namespace std;
int main() {
int n;
cin >> n;
vector<int> a(n);
for(int i = 0; i < n; i++){
cin >> a[i];
}
int m;
cin >> m;
vector<int> ... | 15.631579 | 93 | 0.538721 | felixny |
be2d3ee6ae6cf6ff3465d3636ffa7fe6d5463a99 | 15,152 | inl | C++ | src/fonts/stb_font_arial_bold_11_usascii.inl | stetre/moonfonts | 5c8010c02ea62edcf42902e09478b0cd14af56ea | [
"MIT"
] | 3 | 2018-03-13T12:51:57.000Z | 2021-10-11T11:32:17.000Z | src/fonts/stb_font_arial_bold_11_usascii.inl | stetre/moonfonts | 5c8010c02ea62edcf42902e09478b0cd14af56ea | [
"MIT"
] | null | null | null | src/fonts/stb_font_arial_bold_11_usascii.inl | stetre/moonfonts | 5c8010c02ea62edcf42902e09478b0cd14af56ea | [
"MIT"
] | null | null | null | // Font generated by stb_font_inl_generator.c (4/1 bpp)
//
// Following instructions show how to use the only included font, whatever it is, in
// a generic way so you can replace it with any other font by changing the include.
// To use multiple fonts, replace STB_SOMEFONT_* below with STB_FONT_arial_bold_11_usasc... | 56.118519 | 127 | 0.716473 | stetre |
be2fc81cea460806903605b49557b1c34b4f1610 | 610 | hpp | C++ | include/RED4ext/Types/generated/CMaterialParameterHairParameters.hpp | Cyberpunk-Extended-Development-Team/RED4ext.SDK | 2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae | [
"MIT"
] | 1 | 2021-02-01T23:07:50.000Z | 2021-02-01T23:07:50.000Z | include/RED4ext/Types/generated/CMaterialParameterHairParameters.hpp | Cyberpunk-Extended-Development-Team/RED4ext.SDK | 2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae | [
"MIT"
] | null | null | null | include/RED4ext/Types/generated/CMaterialParameterHairParameters.hpp | Cyberpunk-Extended-Development-Team/RED4ext.SDK | 2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae | [
"MIT"
] | null | null | null | #pragma once
// This file is generated from the Game's Reflection data
#include <cstdint>
#include <RED4ext/Common.hpp>
#include <RED4ext/REDhash.hpp>
#include <RED4ext/Types/SimpleTypes.hpp>
#include <RED4ext/Types/generated/CMaterialParameter.hpp>
namespace RED4ext
{
struct CHairProfile;
struct CMaterialParameter... | 25.416667 | 75 | 0.786885 | Cyberpunk-Extended-Development-Team |
be315af64055a1a6c8ebdc94fb12af8c9b1ebaa7 | 8,534 | cc | C++ | core/scene-manager.cc | bourdenas/troll | 0c00a993ecca95fa33a2a1bc39f912be1cfff960 | [
"MIT"
] | null | null | null | core/scene-manager.cc | bourdenas/troll | 0c00a993ecca95fa33a2a1bc39f912be1cfff960 | [
"MIT"
] | null | null | null | core/scene-manager.cc | bourdenas/troll | 0c00a993ecca95fa33a2a1bc39f912be1cfff960 | [
"MIT"
] | null | null | null | #include "core/scene-manager.h"
#include <glog/logging.h>
#include <range/v3/action/push_back.hpp>
#include <range/v3/action/sort.hpp>
#include <range/v3/view/filter.hpp>
#include <range/v3/view/map.hpp>
#include <range/v3/view/transform.hpp>
#include "core/collision-checker.h"
#include "core/geometry.h"
#include "co... | 33.865079 | 80 | 0.663698 | bourdenas |
be346571c9a043d8b44d62c4df674e382526b73a | 923 | cpp | C++ | console/src/boost_1_78_0/libs/lexical_cast/test/typedefed_wchar_test.cpp | vany152/FilesHash | 39f282807b7f1abc56dac389e8259ee3bb557a8d | [
"MIT"
] | 106 | 2015-08-07T04:23:50.000Z | 2020-12-27T18:25:15.000Z | console/src/boost_1_78_0/libs/lexical_cast/test/typedefed_wchar_test.cpp | vany152/FilesHash | 39f282807b7f1abc56dac389e8259ee3bb557a8d | [
"MIT"
] | 130 | 2016-06-22T22:11:25.000Z | 2020-11-29T20:24:09.000Z | Libs/boost_1_76_0/libs/lexical_cast/test/typedefed_wchar_test.cpp | Antd23rus/S2DE | 47cc7151c2934cd8f0399a9856c1e54894571553 | [
"MIT"
] | 64 | 2015-01-21T19:08:51.000Z | 2021-07-16T19:32:11.000Z | // Unit test for boost::lexical_cast.
//
// See http://www.boost.org for most recent version, including documentation.
//
// Copyright Antony Polukhin, 2011-2021.
//
// 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... | 24.945946 | 92 | 0.717226 | vany152 |
be3471da2d0d6fcd161b03f087c27d73fff0a7bb | 698 | cpp | C++ | SpaceBomber/Linux/graph/MyEventReceiver.cpp | 667MARTIN/Epitech | 81095d8e7d54e9abd95541ee3dfcc3bc85d5cf0e | [
"MIT"
] | 40 | 2018-01-28T14:23:27.000Z | 2022-03-05T15:57:47.000Z | SpaceBomber/Linux/graph/MyEventReceiver.cpp | 667MARTIN/Epitech | 81095d8e7d54e9abd95541ee3dfcc3bc85d5cf0e | [
"MIT"
] | 1 | 2021-10-05T09:03:51.000Z | 2021-10-05T09:03:51.000Z | SpaceBomber/Linux/graph/MyEventReceiver.cpp | 667MARTIN/Epitech | 81095d8e7d54e9abd95541ee3dfcc3bc85d5cf0e | [
"MIT"
] | 73 | 2019-01-07T18:47:00.000Z | 2022-03-31T08:48:38.000Z | #include "MyEventReceiver.hpp"
#include <iostream>
MyEventReceiver::MyEventReceiver() {
for (irr::u32 i=0; i<irr::KEY_KEY_CODES_COUNT; ++i)
KeyIsDown[i] = false;
}
MyEventReceiver& MyEventReceiver::operator=(const MyEventReceiver&) {
return *this;
}
bool MyEventReceiver::IsKeyDown(irr::EKEY_CODE keyCode) co... | 25.851852 | 69 | 0.72063 | 667MARTIN |
be39ac2f62d4f7ba6242103dc37ce23beade3f44 | 1,310 | cpp | C++ | codeforces/contests/round/601-div2/d.cpp | tysm/cpsols | 262212646203e516d1706edf962290de93762611 | [
"MIT"
] | 4 | 2020-10-05T19:24:10.000Z | 2021-07-15T00:45:43.000Z | codeforces/contests/round/601-div2/d.cpp | tysm/cpsols | 262212646203e516d1706edf962290de93762611 | [
"MIT"
] | null | null | null | codeforces/contests/round/601-div2/d.cpp | tysm/cpsols | 262212646203e516d1706edf962290de93762611 | [
"MIT"
] | null | null | null | #include <cpplib/stdinc.hpp>
int32_t main(){
desync();
int t;
cin >> t;
while(t--){
int n, m, k;
cin >> n >> m >> k;
int acc = 0;
vector<string> ans(n);
for(string &s:ans){
cin >> s;
for(char c:s)
acc += (c == 'R');
... | 26.734694 | 116 | 0.276336 | tysm |
be3bb8db30b8f4b1dc95bc0b404a5b7bacdcb7c2 | 1,535 | cpp | C++ | Sources/core/core/data_utils.cpp | GoodAI/ArnoldSimulator | ee99633db0a2ad773ec365ad0677888b46f78f9d | [
"Apache-2.0"
] | 47 | 2016-11-21T15:36:00.000Z | 2021-11-08T13:06:03.000Z | Sources/core/core/data_utils.cpp | boltofdeathbeam/ArnoldSimulator | ee99633db0a2ad773ec365ad0677888b46f78f9d | [
"Apache-2.0"
] | 1 | 2016-11-24T04:43:42.000Z | 2017-01-26T15:23:51.000Z | Sources/core/core/data_utils.cpp | boltofdeathbeam/ArnoldSimulator | ee99633db0a2ad773ec365ad0677888b46f78f9d | [
"Apache-2.0"
] | 11 | 2016-11-24T03:44:55.000Z | 2021-08-15T02:15:06.000Z | #include "log.h"
#include <memory>
#include "data_utils.h"
void PutFloatToByteVector(std::vector<uint8_t> &targetByteVector, float item)
{
uint8_t *bytes = reinterpret_cast<uint8_t *>(&item);
for (int i = 0; i < sizeof(float); ++i)
targetByteVector.push_back(bytes[i]);
}
void AssingBuff... | 39.358974 | 146 | 0.704886 | GoodAI |
be3c374db0c2ae1e2ebec5ee0a71cf325b97320a | 6,069 | cpp | C++ | src/vns/tb2localsearch.cpp | Pierre-Mont/toulbar2 | 623b92d593eab2dc1e21df9f853c28cc84626ed6 | [
"MIT"
] | null | null | null | src/vns/tb2localsearch.cpp | Pierre-Mont/toulbar2 | 623b92d593eab2dc1e21df9f853c28cc84626ed6 | [
"MIT"
] | null | null | null | src/vns/tb2localsearch.cpp | Pierre-Mont/toulbar2 | 623b92d593eab2dc1e21df9f853c28cc84626ed6 | [
"MIT"
] | null | null | null | /*
* tb2localsearch.cpp
*
* Created on: 3 mars 2015
* Author: Abdelkader Ouali
* Phd. Student : LITIO, University of Oran. GREYC, University of Caen.
*/
#include "tb2localsearch.hpp"
#include "core/tb2wcsp.hpp"
LocalSearch::LocalSearch(Cost initUpperBound)
: Solver(initUpperBound)
, bestUb(MA... | 34.288136 | 147 | 0.593508 | Pierre-Mont |
be3e221677a67d6866b9af51ec40836e36a5b8a6 | 56 | cpp | C++ | test/autogen/smp@algorithm@adjacent_difference.cpp | jonathanpoelen/jln.mp | e5f05fc4467f14ac0047e3bdc75a04076e689985 | [
"MIT"
] | 9 | 2020-07-04T16:46:13.000Z | 2022-01-09T21:59:31.000Z | test/autogen/smp@algorithm@adjacent_difference.cpp | jonathanpoelen/jln.mp | e5f05fc4467f14ac0047e3bdc75a04076e689985 | [
"MIT"
] | null | null | null | test/autogen/smp@algorithm@adjacent_difference.cpp | jonathanpoelen/jln.mp | e5f05fc4467f14ac0047e3bdc75a04076e689985 | [
"MIT"
] | 1 | 2021-05-23T13:37:40.000Z | 2021-05-23T13:37:40.000Z | #include "jln/mp/smp/algorithm/adjacent_difference.hpp"
| 28 | 55 | 0.821429 | jonathanpoelen |
be3e9424cfd5c64c7b7e70853359c0e8cfa1c0f0 | 3,434 | cc | C++ | chrome/browser/media_galleries/win/recursive_mtp_device_object_enumerator.cc | GnorTech/chromium | e1c7731d5bd099ca5544fcf8eda3867d4ce5bab5 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2018-03-10T13:08:49.000Z | 2018-03-10T13:08:49.000Z | chrome/browser/media_galleries/win/recursive_mtp_device_object_enumerator.cc | GnorTech/chromium | e1c7731d5bd099ca5544fcf8eda3867d4ce5bab5 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/media_galleries/win/recursive_mtp_device_object_enumerator.cc | GnorTech/chromium | e1c7731d5bd099ca5544fcf8eda3867d4ce5bab5 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2020-11-04T07:19:31.000Z | 2020-11-04T07:19:31.000Z | // Copyright (c) 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// RecursiveMTPDeviceObjectEnumerator implementation.
#include "chrome/browser/media_galleries/win/recursive_mtp_device_object_enumerator.h"
#incl... | 36.531915 | 86 | 0.751893 | GnorTech |
be3ee158571ba3a744909f43b7b0a59de1b5d321 | 1,501 | hpp | C++ | android-28/android/database/MergeCursor.hpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 12 | 2020-03-26T02:38:56.000Z | 2022-03-14T08:17:26.000Z | android-28/android/database/MergeCursor.hpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 1 | 2021-01-27T06:07:45.000Z | 2021-11-13T19:19:43.000Z | android-30/android/database/MergeCursor.hpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 3 | 2021-02-02T12:34:55.000Z | 2022-03-08T07:45:57.000Z | #pragma once
#include "./AbstractCursor.hpp"
class JByteArray;
class JArray;
class JArray;
namespace android::database
{
class ContentObserver;
}
namespace android::database
{
class DataSetObserver;
}
class JString;
namespace android::database
{
class MergeCursor : public android::database::AbstractCursor
{
pub... | 27.290909 | 178 | 0.752831 | YJBeetle |
be42514fd2c22eaf4d1378c2510877bf09f607ed | 1,667 | cpp | C++ | src/1.1.3/Stack.cpp | minhdangphuoc/Stack_Profix_Calculator | b9b05dabb7e77039437eac4c93846b00355acf61 | [
"MIT"
] | null | null | null | src/1.1.3/Stack.cpp | minhdangphuoc/Stack_Profix_Calculator | b9b05dabb7e77039437eac4c93846b00355acf61 | [
"MIT"
] | null | null | null | src/1.1.3/Stack.cpp | minhdangphuoc/Stack_Profix_Calculator | b9b05dabb7e77039437eac4c93846b00355acf61 | [
"MIT"
] | null | null | null | #include "Stack.hpp"
#include "iostream"
Error_code Stack::push(const Stack_entry &item)
/* Pre: None.
Post: If the Stack is not full, item is added to the top of the Stack. If the Stack is
full, an Error code of overflow is returned and the Stack is left unchanged.
*/
{
Error_code outcome = success;
if (count ... | 23.814286 | 87 | 0.643671 | minhdangphuoc |
be476c16b432110068fc6f158452c0c9d0480535 | 1,508 | hpp | C++ | RubetekIOS-CPP.framework/Versions/A/Headers/libnet/msw/asio/resolver.hpp | yklishevich/RubetekIOS-CPP-releases | 7dfbbb45b8de7dbb6fa995ff5dcbca4ec06c2bdb | [
"MIT"
] | null | null | null | RubetekIOS-CPP.framework/Versions/A/Headers/libnet/msw/asio/resolver.hpp | yklishevich/RubetekIOS-CPP-releases | 7dfbbb45b8de7dbb6fa995ff5dcbca4ec06c2bdb | [
"MIT"
] | null | null | null | RubetekIOS-CPP.framework/Versions/A/Headers/libnet/msw/asio/resolver.hpp | yklishevich/RubetekIOS-CPP-releases | 7dfbbb45b8de7dbb6fa995ff5dcbca4ec06c2bdb | [
"MIT"
] | null | null | null | #pragma once
#include <memory>
#include <msw/zzz/asio/resolver.hpp>
namespace msw
{
template <typename Protocol>
struct resolver
: noncopyable
{
typedef typename zzz::resolver<Protocol>::iterator iterator ;
typedef typename zzz::resolver<Protocol>::query query ;... | 30.16 | 126 | 0.587533 | yklishevich |
be49b48e7d1d077fcd0571dc4032f61ce949414d | 106,218 | ipp | C++ | REDSI_1160929_1161573/boost_1_67_0/libs/math/test/bessel_j_prime_data.ipp | Wultyc/ISEP_1718_2A2S_REDSI_TrabalhoGrupo | eb0f7ef64e188fe871f47c2ef9cdef36d8a66bc8 | [
"MIT"
] | 85 | 2015-02-08T20:36:17.000Z | 2021-11-14T20:38:31.000Z | libs/boost/libs/math/test/bessel_j_prime_data.ipp | flingone/frameworks_base_cmds_remoted | 4509d9f0468137ed7fd8d100179160d167e7d943 | [
"Apache-2.0"
] | 9 | 2015-01-28T16:33:19.000Z | 2020-04-12T23:03:28.000Z | libs/boost/libs/math/test/bessel_j_prime_data.ipp | flingone/frameworks_base_cmds_remoted | 4509d9f0468137ed7fd8d100179160d167e7d943 | [
"Apache-2.0"
] | 27 | 2015-01-28T16:33:30.000Z | 2021-08-12T05:04:39.000Z | // Copyright (c) 2014 Anton Bikineev
// Use, modification and distribution are subject to 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)
static const boost::array<boost::array<typename table_type<T>::type, 3>, 720
#if ... | 144.711172 | 161 | 0.787456 | Wultyc |
be5064e3921d036ba100e8519203df1bf50ec079 | 4,658 | hpp | C++ | Pods/Realm/include/core/realm/util/buffer_stream.hpp | Jethro87/DevSwitch | 0ff977fb0e1225b58304e2b46ddb129abc5b9fbe | [
"MIT"
] | 1,562 | 2020-08-19T00:30:37.000Z | 2022-03-31T15:15:22.000Z | Pods/Realm/include/core/realm/util/buffer_stream.hpp | Jethro87/DevSwitch | 0ff977fb0e1225b58304e2b46ddb129abc5b9fbe | [
"MIT"
] | 1,472 | 2020-12-18T07:19:53.000Z | 2022-03-31T15:34:27.000Z | Pods/Realm/include/core/realm/util/buffer_stream.hpp | Jethro87/DevSwitch | 0ff977fb0e1225b58304e2b46ddb129abc5b9fbe | [
"MIT"
] | 247 | 2020-09-06T18:34:40.000Z | 2022-03-30T09:03:50.000Z | /*************************************************************************
*
* REALM CONFIDENTIAL
* __________________
*
* [2011] - [2016] Realm Inc
* All Rights Reserved.
*
* NOTICE: All information contained herein is, and remains
* the property of Realm Incorporated and its suppliers,
* if any. The int... | 30.644737 | 97 | 0.718549 | Jethro87 |
be50c76627d5c2cddd40d82d998d06e3e1a1c0ea | 690 | cpp | C++ | firmware/ventilator-controller-stm32/Core/Src/Pufferfish/Driver/I2C/ExtendedI2CDevice.cpp | raavilagoo/Test | e2de25cc4b6fcbffe3f98f4a7ce1644fa8b6bb16 | [
"Apache-2.0"
] | 1 | 2020-10-20T23:47:23.000Z | 2020-10-20T23:47:23.000Z | firmware/ventilator-controller-stm32/Core/Src/Pufferfish/Driver/I2C/ExtendedI2CDevice.cpp | raavilagoo/Test | e2de25cc4b6fcbffe3f98f4a7ce1644fa8b6bb16 | [
"Apache-2.0"
] | 242 | 2020-10-23T06:44:01.000Z | 2022-01-28T05:50:45.000Z | firmware/ventilator-controller-stm32/Core/Src/Pufferfish/Driver/I2C/ExtendedI2CDevice.cpp | pez-globo/pufferfish-vent-software | f1e5e47acf1941e7c729adb750b85bf26c38b274 | [
"Apache-2.0"
] | 1 | 2021-04-12T02:10:18.000Z | 2021-04-12T02:10:18.000Z | /*
* Copyright 2020, the Pez Globo team and the Pufferfish project contributors
*
* Author: March Boonyapaluk
*/
#include "Pufferfish/Driver/I2C/ExtendedI2CDevice.h"
namespace Pufferfish::Driver::I2C {
I2CDeviceStatus ExtendedI2CDevice::read(uint8_t *buf, size_t count) {
I2CDeviceStatus stat = mux_.select... | 23 | 77 | 0.717391 | raavilagoo |
be516196e6880ddceaa3e9b29516ffbc6c49e479 | 4,502 | hpp | C++ | inc/lmdb-wrapper/cursor.hpp | douderg/lmdb-wrapper | b37e46b8420b023baeabc0c9688ac5e07c3a6734 | [
"MIT"
] | null | null | null | inc/lmdb-wrapper/cursor.hpp | douderg/lmdb-wrapper | b37e46b8420b023baeabc0c9688ac5e07c3a6734 | [
"MIT"
] | null | null | null | inc/lmdb-wrapper/cursor.hpp | douderg/lmdb-wrapper | b37e46b8420b023baeabc0c9688ac5e07c3a6734 | [
"MIT"
] | null | null | null | #pragma once
#include "lmdb-wrapper/value.hpp"
#include <optional>
namespace lmdb {
template <class K, class T>
class cursor {
public:
cursor(): cursor_{nullptr} {
}
cursor(MDB_txn* t, MDB_dbi d): cursor() {
if (mdb_cursor_open(t, d, &cursor_)) {
throw std::runtime_error("failed to ... | 30.214765 | 94 | 0.512217 | douderg |
be521275934a9cf69185bc331ee294ad91bd623f | 819 | hpp | C++ | src/image/RGB555-RGB565.hpp | PhysShell/SEZEII | 0c7ea7fb52d0df67437d158a81a72971e3753461 | [
"MIT"
] | null | null | null | src/image/RGB555-RGB565.hpp | PhysShell/SEZEII | 0c7ea7fb52d0df67437d158a81a72971e3753461 | [
"MIT"
] | null | null | null | src/image/RGB555-RGB565.hpp | PhysShell/SEZEII | 0c7ea7fb52d0df67437d158a81a72971e3753461 | [
"MIT"
] | null | null | null | #pragma once
#include "../utils/macro.hpp"
namespace seze {
extern const byte table5[];
extern const byte table6[];
struct RGB565 {
public:
uint16_t RGB = 0; ///< 5:6:5
RGB565(byte r=0, byte g=0, byte b=0);
RGB565(uint16_t data);
//! copy components to vals
void set_to(byte& r, byte& g, byte& b) const;
};... | 20.475 | 47 | 0.578755 | PhysShell |
be561fd2c5d5b0a9297fcca191c9fca9e7e73dea | 2,214 | cpp | C++ | Hackerrank/greedy/reverse_shuffle_merge.cpp | JordanKoeller/InterviewPrep | 8f73168ac7ccc5711851193f006bfc387c44ea7e | [
"MIT"
] | null | null | null | Hackerrank/greedy/reverse_shuffle_merge.cpp | JordanKoeller/InterviewPrep | 8f73168ac7ccc5711851193f006bfc387c44ea7e | [
"MIT"
] | null | null | null | Hackerrank/greedy/reverse_shuffle_merge.cpp | JordanKoeller/InterviewPrep | 8f73168ac7ccc5711851193f006bfc387c44ea7e | [
"MIT"
] | null | null | null | // s = aabbccdd
// char <- a = {d, c, b, a}
// lexMin = abcd
// reverse(A) = abcd
// A = dcba
// s has a LCS(reverse(A), s) = reverse(A)
/**
* Steps:
* 1. Count repetions of characters. divide by 2
* to get the number of each character in A
* 2. Construct the lexographically maximal substring from s
* ... | 24.32967 | 121 | 0.635953 | JordanKoeller |
be56775a22941981fe4b170b175857ae4072943f | 6,186 | cpp | C++ | InputWidgetBayesianCalibration.cpp | charlesxwang/uqFEM | a29104c581ff6f23b4736c440425add681979829 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | InputWidgetBayesianCalibration.cpp | charlesxwang/uqFEM | a29104c581ff6f23b4736c440425add681979829 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | InputWidgetBayesianCalibration.cpp | charlesxwang/uqFEM | a29104c581ff6f23b4736c440425add681979829 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | // Written: fmckenna
/* *****************************************************************************
Copyright (c) 2016-2017, The Regents of the University of California (Regents).
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the f... | 31.561224 | 109 | 0.731005 | charlesxwang |
be57e359793b2b3113cdfaf1955e1373ce2ddbef | 924 | cpp | C++ | TRAP/src/Graphics/API/Vulkan/Internals/Objects/VulkanSemaphore.cpp | GamesTrap/TRAP | 007de9ce70273cb8ae11066cc8488d9db78b1038 | [
"MIT",
"Zlib",
"Apache-2.0",
"BSD-3-Clause"
] | 3 | 2018-06-23T18:18:19.000Z | 2019-05-27T21:10:07.000Z | TRAP/src/Graphics/API/Vulkan/Internals/Objects/VulkanSemaphore.cpp | GamesTrap/TRAP | 007de9ce70273cb8ae11066cc8488d9db78b1038 | [
"MIT",
"Zlib",
"Apache-2.0",
"BSD-3-Clause"
] | 88 | 2018-08-02T01:08:04.000Z | 2019-07-24T19:13:26.000Z | TRAP/src/Graphics/API/Vulkan/Internals/Objects/VulkanSemaphore.cpp | GamesTrap/TRAP | 007de9ce70273cb8ae11066cc8488d9db78b1038 | [
"MIT",
"Zlib",
"Apache-2.0",
"BSD-3-Clause"
] | 2 | 2018-08-02T01:10:40.000Z | 2020-08-14T14:05:58.000Z | #include "TRAPPCH.h"
#include "VulkanSemaphore.h"
#include "VulkanDevice.h"
#include "Graphics/API/Vulkan/Internals/VulkanInitializers.h"
TRAP::Graphics::API::Vulkan::Semaphore::Semaphore(Device* device)
: m_semaphore(), m_device(device)
{
VkSemaphoreCreateInfo semaphoreCreateInfo = Initializers::SemaphoreCreateInf... | 30.8 | 119 | 0.563853 | GamesTrap |
be5cfef1fbff2e83155a869bf0214015bb2051f7 | 102,185 | cpp | C++ | extern/glslang/SPIRV/doc.cpp | tmpvar/glslang-sys | 0cff8c5163380348f6d7e6c573b859a1e68f470b | [
"MIT"
] | 1 | 2017-08-29T14:07:31.000Z | 2017-08-29T14:07:31.000Z | extern/glslang/SPIRV/doc.cpp | tmpvar/glslang-sys | 0cff8c5163380348f6d7e6c573b859a1e68f470b | [
"MIT"
] | 1 | 2018-11-25T07:43:23.000Z | 2019-05-19T05:28:26.000Z | extern/glslang/SPIRV/doc.cpp | tmpvar/glslang-sys | 0cff8c5163380348f6d7e6c573b859a1e68f470b | [
"MIT"
] | 2 | 2018-12-22T13:48:15.000Z | 2020-01-31T20:56:46.000Z | //
//Copyright (C) 2014 LunarG, Inc.
//
//All rights reserved.
//
//Redistribution and use in source and binary forms, with or without
//modification, are permitted provided that the following conditions
//are met:
//
// Redistributions of source code must retain the above copyright
// notice, this list... | 48.200472 | 146 | 0.745569 | tmpvar |
4154af50e799c60e9b8af8eb53642ba3d5dc51c5 | 362 | hpp | C++ | CookieEngine/include/Gameplay/AIBehavior.hpp | qbleuse/Cookie-Engine | 705d19d9e4c79e935e32244759ab63523dfbe6c4 | [
"CC-BY-4.0"
] | null | null | null | CookieEngine/include/Gameplay/AIBehavior.hpp | qbleuse/Cookie-Engine | 705d19d9e4c79e935e32244759ab63523dfbe6c4 | [
"CC-BY-4.0"
] | null | null | null | CookieEngine/include/Gameplay/AIBehavior.hpp | qbleuse/Cookie-Engine | 705d19d9e4c79e935e32244759ab63523dfbe6c4 | [
"CC-BY-4.0"
] | null | null | null | #ifndef _AIBEHAVIOR_HPP__
#define _AIBEHAVIOR_HPP__
#include <algorithm>
#include "Gameplay/AIStep.hpp"
namespace Cookie
{
namespace Gameplay
{
struct AIBehavior
{
std::string name {"No Name"}; //for UI and Save
std::vector<AIStep> steps;
void Clear()
{
name = "No Name";
steps.clear();
... | 14.48 | 52 | 0.651934 | qbleuse |
415501e4aa84deb3064f3ae591a1c91288037ae0 | 4,686 | cpp | C++ | esp32_simple_ota.cpp | willson556/esp32-https-ota | 9ecb2e8cbde06e89771445a91f5e5a7c787875a6 | [
"MIT"
] | 1 | 2020-03-17T01:59:58.000Z | 2020-03-17T01:59:58.000Z | esp32_simple_ota.cpp | willson556/esp32-simple-ota | 9ecb2e8cbde06e89771445a91f5e5a7c787875a6 | [
"MIT"
] | null | null | null | esp32_simple_ota.cpp | willson556/esp32-simple-ota | 9ecb2e8cbde06e89771445a91f5e5a7c787875a6 | [
"MIT"
] | null | null | null | #include "esp32_simple_ota.hpp"
#include <cstdint>
#include <cstring>
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include <esp_log.h>
#include <esp_https_ota.h>
#include <cJSON.h>
static const char *TAG = "ota";
extern const uint8_t server_cert_pem_start[] asm("_binary_ca_cert_pem_start");
extern co... | 31.449664 | 125 | 0.577465 | willson556 |