blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 905
values | visit_date timestamp[us]date 2015-08-09 11:21:18 2023-09-06 10:45:07 | revision_date timestamp[us]date 1997-09-14 05:04:47 2023-09-17 19:19:19 | committer_date timestamp[us]date 1997-09-14 05:04:47 2023-09-06 06:22:19 | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 22
values | gha_event_created_at timestamp[us]date 2012-06-07 00:51:45 2023-09-14 21:58:39 ⌀ | gha_created_at timestamp[us]date 2008-03-27 23:40:48 2023-08-21 23:17:38 ⌀ | gha_language stringclasses 141
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 115
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f96b090dfa59b04b6969f2e71c3fe812682febbd | c96607ecd41fb1afa317c8361993558245bff556 | /vector/simd/source/neon_conditional.cpp | f3f024ba0373846945d696e0b005e66c593ed9eb | [] | no_license | xy095045/VectorBench | c211b096e874d1017e5f8af4181e578e2a6221bd | 77073a06779a1dbd948bd5f5a37660946ae07750 | refs/heads/master | 2021-10-18T23:57:25.428775 | 2019-02-15T15:38:14 | 2019-02-15T15:38:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,935 | cpp | /*
* Simd Library (http://simd.sourceforge.net).
*
* Copyright (c) 2011-2016 Yermalayeu Ihar.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without ... | [
"charithm@mit.edu"
] | charithm@mit.edu |
40efa4eff688305121ffa976d05184098a144c6e | 91934b8ad2f42f29c445d511c6dd273b7e35ed86 | /juce/src/io/files/juce_ZipFile.h | 7a40465406353fa6e200b6412c19574bc6e860a8 | [] | no_license | fubyo/osccalibrator | 882d348ecf738a11f9bfddf3511693a69d6c1d9e | 9c3652957c2ddc3d2a550f80be1cdb5e6707b8ce | refs/heads/master | 2021-01-10T21:04:00.712697 | 2015-03-16T12:45:03 | 2015-03-16T12:45:03 | 32,316,417 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,083 | h | /*
==============================================================================
This file is part of the JUCE library - "Jules' Utility Class Extensions"
Copyright 2004-10 by Raw Material Software Ltd.
------------------------------------------------------------------------------
JUCE can be redistrib... | [
"fubyo@yahoo.com"
] | fubyo@yahoo.com |
b2fdb7b19532caec576cccf2511c207f45fa34e7 | 729fb0d4e56e6cc07734377e7afc97903a900ea1 | /workflow/examples/example_workflow_with_options.cpp | cae37ebf37fe2a15deb856bcd0aa739977acdaca | [
"Apache-2.0"
] | permissive | redantlabs/utils | 37b8fa4edb513d474d9ca7ed63c9db7e2d048e66 | 452f7a93e96ed0e765809bc3a4a2430592015e5b | refs/heads/master | 2020-03-19T17:05:20.383229 | 2018-06-12T06:41:39 | 2018-06-12T06:41:39 | 136,743,682 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,455 | cpp | #include <iostream>
#include <string>
#include <utils/workflow.hpp>
#include <utils/workflow_options.hpp>
#include "sort.hpp"
#include "find.hpp"
using namespace utils;
using namespace workflow;
//Problem : We cannot have several instances of the same module,
//otherwise we would have multiple inheritences from the s... | [
"tom.dreyfus@inria.fr"
] | tom.dreyfus@inria.fr |
b81b8457b1c6d090857276e1702e05e083fd9812 | 46cdcdb7c0848966404c149b75594ebd0b25d370 | /src/graphics/renderers/renderEntity.cpp | 43b564d40ab04a98f3309c1215a9ee03d869197d | [] | no_license | antoine510/Mario | aea4036dbc0e942c564fe1f4e9941395a5ab3e21 | f4d817e707459842601a945396f54caed98dd7b0 | refs/heads/master | 2021-01-24T11:00:40.149149 | 2017-05-20T15:53:08 | 2020-03-06T23:00:28 | 70,285,217 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 164 | cpp | #include "renderEntity.h"
#include "../renderDatas.h"
using namespace Graphics;
RenderEntity::RenderEntity(GfxData* renderDatas)
{
m_gfxData = renderDatas;
}
| [
"antoine_510@hotmail.fr"
] | antoine_510@hotmail.fr |
287eda5ea39193c1cb2969bdd58f09be6ba89408 | 7c0c20ec4ce4ce3ce0f8be006377bfb3184b38ca | /eNNpi/nnNode.hpp | 520dc0c2de95c02b9f4bc2b7495ce8cd9b080a06 | [] | no_license | nickoppen/eNNpi | 64753a655d93322a59cd5acc5cd120539aeffe6f | 55ef69d7b74315866a7a69044c7b259d7ecb60de | refs/heads/master | 2016-09-15T17:50:35.170365 | 2013-12-08T10:13:33 | 2013-12-08T10:13:33 | 13,791,612 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 13,484 | hpp | #ifndef _nnNode_h
#define _nnNode_h
#include <sstream>
#include <float.h>
#include "nnLink.hpp"
#include "networkDescription.hpp"
#include "nnNodeVirtual.hpp" // includes the virtual base classes for actual nodes
// C decls
//unsigned int hidden_runner(void * arg) // used in hiddenNode to start the next layer o... | [
"nick65au@yahoo.com.au"
] | nick65au@yahoo.com.au |
955e4dae748138d305bf53a21c3050df5b03b3e5 | 4c25432a6d82aaebd82fd48e927317b15a6bf6ab | /src/LibToolingAST/feature_extraction_single/extract_all_features.cpp | 39a7c6c6f373259bca7c6b08da37ed1f8bebd16b | [] | no_license | wzj1988tv/code-imitator | dca9fb7c2e7559007e5dbadbbc0d0f2deeb52933 | 07a461d43e5c440931b6519c8a3f62e771da2fc2 | refs/heads/master | 2020-12-09T05:33:21.473300 | 2020-01-09T15:29:24 | 2020-01-09T15:29:24 | 231,937,335 | 1 | 0 | null | 2020-01-05T15:28:38 | 2020-01-05T15:28:37 | null | UTF-8 | C++ | false | false | 6,801 | cpp | //
// ast_node_bigram, ast_node_types, code_in_ast_leaves, lexical_features in one call.
// saves parsing time to create AST
//
#ifndef CLANG_AST_LIBS
#define CLANG_AST_LIBS
#include "clang/AST/ASTConsumer.h"
#include "clang/AST/RecursiveASTVisitor.h"
#include "clang/Frontend/CompilerInstance.h"
#include "clang/Fronte... | [
"e.quiring@tu-bs.de"
] | e.quiring@tu-bs.de |
11890771abb7071ee871c1434a9cb06ee169e417 | b2c0517a0421c32f6782d76e4df842875d6ffce5 | /Algorithms/String/1071. Greatest Common Divisor of Strings.cpp | ffee4e6ce71862dbf053e302aeee3553fb693467 | [] | no_license | SuYuxi/yuxi | e875b1536dc4b363194d0bef7f9a5aecb5d6199a | 45ad23a47592172101072a80a90de17772491e04 | refs/heads/master | 2022-10-04T21:29:42.017462 | 2022-09-30T04:00:48 | 2022-09-30T04:00:48 | 66,703,247 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 458 | cpp | class Solution {
public:
string gcdOfStrings(string str1, string str2) {
int n1 = str1.size(), n2 = str2.size();
int T = gcd(n1, n2);
string X = str1.substr(0, T);
for(int i = 0; i < max(n1, n2); i += T)
{
if(i < n1 && str1.compare(i, T, X)) return "";
if(i < n2 && str2.compare(i, T, X)) return "";
... | [
"soration2099@gmail.com"
] | soration2099@gmail.com |
8d84691d6de15179624e976cc9a369fb50a06d35 | 93bb87f91e55d55dc2f9bf78b914e6290c3a17be | /src/spirv/SPIRVParserBase.h | 4e3890f8cfb8be764e95f1f263d3c6f0294af30b | [
"MIT"
] | permissive | doe300/VC4C | 5bbde383fb1230af42f72bd20accb84418b8b7fa | 3d89be8692ae20b8f712e9d2bc45b6998dac8259 | refs/heads/master | 2023-06-07T06:25:07.948224 | 2023-05-30T09:42:15 | 2023-05-30T16:11:04 | 106,166,771 | 123 | 38 | MIT | 2023-05-30T16:11:05 | 2017-10-08T10:11:39 | C | UTF-8 | C++ | false | false | 5,238 | h | /*
* Author: doe300
*
* See the file "LICENSE" for the full license governing this code.
*/
#ifndef SPIRV_PARSER_BASE_H
#define SPIRV_PARSER_BASE_H
#include "../Parser.h"
#include "../performance.h"
#include "CompilationError.h"
#include "Precompiler.h"
#include "SPIRVOperation.h"
#include "spirv/unified1/spirv.... | [
"stadeldani@web.de"
] | stadeldani@web.de |
b29d388b3243d39ac3bb4efd8d3ad6224393b990 | 4e0b17789bff7798250d82d593b4d421ffa72460 | /c++/135.cpp | 24910f17d3271f9e0b7d79c78cb606dafdcd69d6 | [] | no_license | talentlyb/Leetcode | edf7324cb4e22093d897628712a189f74fff5a19 | f4999033e0aed7df0e748debd8d6a351bc3f5f0b | refs/heads/master | 2016-09-06T09:57:53.538389 | 2016-01-17T10:23:23 | 2016-01-17T10:23:23 | 33,287,262 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 631 | cpp | /** First time. 4/28/2015
*
* Two passes.
*/
class Solution {
public:
int candy(vector<int>& ratings) {
vector<int> number (ratings.size(), 1);
int result = 0;
for (int i = 1; i < number.size(); ++i) {
if (ratings[i-1] < ratings[i]) {
number[i] = number[i-1] ... | [
"liyubobuaa@gmail.com"
] | liyubobuaa@gmail.com |
96df0e7db2360b456e8aa78e5141424d854c6c90 | 069cbfd5c4661343a7656f8919a1fec204335ef4 | /chigraphgui/debugger/variableview.hpp | e8c85f2031bd04303d485edc05596563d8b620dc | [
"Apache-2.0"
] | permissive | aunali1/chigraph | 1a0590efa697336ef3a4af4b7744632eaa6cd8d0 | abee58ddcb60127dfe397835e978cb1e5843d607 | refs/heads/master | 2020-06-22T09:36:23.654461 | 2017-04-09T20:15:45 | 2017-04-09T20:15:45 | 87,737,692 | 1 | 0 | null | 2017-04-09T20:42:06 | 2017-04-09T20:42:06 | null | UTF-8 | C++ | false | false | 611 | hpp | #pragma once
#ifndef CHIGRAPHGUI_DEBUGGER_VARIABLE_VIEW_HPP
#define CHIGRAPHGUI_DEBUGGER_VARIABLE_VIEW_HPP
#include "../toolview.hpp"
#include <QTreeWidget>
#include <KLocalizedString>
#include <lldb/API/SBFrame.h>
class VariableView : public QTreeWidget, public ToolView {
public:
VariableView();
void setFrame... | [
"russellgreene8@gmail.com"
] | russellgreene8@gmail.com |
ae8dd073a8dd0bd347fac068d2d5fa301e1404b1 | b991b3822572e13c1a0e17f037564326d4932ff6 | /h-index/Wrong Answer/8-11-2020, 5_04_16 AM/Solution.cpp | 9368b9700e6ba40da06dfe6941df6402669e8e1e | [] | no_license | isaigm/leetcode | 8f1188a824e78f11b8223302fe625e9a8bf9262a | e53b04a9f627ff95aaae9f8e5315f5f688c6b9e2 | refs/heads/master | 2023-01-06T02:07:41.118942 | 2022-12-31T23:13:20 | 2022-12-31T23:13:20 | 248,679,884 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 351 | cpp | // https://leetcode.com/problems/h-index
class Solution {
public:
int hIndex(std::vector<int>& citations) {
std::sort(citations.begin(), citations.end(), [](const auto &n1, const auto &n2){
return n1 > n2;
});
for(size_t h = 0; h < citations.size(); h++){
if(h >= (size_t) citations[h]) ret... | [
"isaigm23@gmail.com"
] | isaigm23@gmail.com |
befc364c303bb853e3ea75e8fa17ddea3753310f | bd8b8a0a2453e92c3ab25c3df342df5b6b02dd5e | /4 Game Stat correction/Warrior.h | 0222d6708825008c1070d33826ac44733d93b2c3 | [] | no_license | 4Benedictus4/BevProg2-Game | 875f652faa28fd08e4baa0eb9db8b40a3e755974 | eef61cc86dc1b93267cf130b73d5badc2710be68 | refs/heads/master | 2020-06-09T04:13:01.041896 | 2015-05-25T00:56:22 | 2015-05-25T00:56:22 | 35,726,864 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 352 | h | #ifndef WARRIOR_H_INCLUDED
#define WARRIOR_H_INCLUDED
#include "Unit.h"
class Warrior : public Unit{
public:
void Log();
void draw();
std::map<std::string, int> get_stats();
Warrior(const int x, const int y, const int w, const int h, const int id, std::string type) : Unit(x, y, w, h, id, type) {}
};... | [
"4benedictus4@citromail.hu"
] | 4benedictus4@citromail.hu |
50991708f386ab27ae4071744fecefc9d5e337de | e07c43537af98839db8eddf4fba8ef67ebd86d70 | /src/MyNodeClass.cpp | cff4a812c17c96710772f2d2257fcd134f23a6d2 | [
"MIT"
] | permissive | dringakn/ROSExamples | faf7b83000287fefdb3be7aaf337026ee169eb51 | 57bd8a29e6b689032bd5afa4ba35d0afb69eea12 | refs/heads/master | 2023-07-20T09:06:42.690967 | 2023-07-16T20:46:28 | 2023-07-16T20:46:28 | 239,103,279 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,764 | cpp | /*
Author: Dr. Ing. Ahmad Kamal Nasir
Email: dringakn@gmail.com
Description:
*/
#include "MyNodeClass.h"
MyNodeClass::MyNodeClass(ros::NodeHandle *nhPtr)
: nh(*nhPtr), // Initialize node handle member variable
valFromSub(""), // Initialize the private variable as required
valFromSer(0... | [
"dringakn@gmail.com"
] | dringakn@gmail.com |
49ce55479f5df32474147113c4c8dd84b5e8b207 | 60bd79d18cf69c133abcb6b0d8b0a959f61b4d10 | /libraries/AD9833/AD9833.cpp | 5a0f22529e13ac951071fa23962139c401236d4a | [
"MIT"
] | permissive | RobTillaart/Arduino | e75ae38fa6f043f1213c4c7adb310e91da59e4ba | 48a7d9ec884e54fcc7323e340407e82fcc08ea3d | refs/heads/master | 2023-09-01T03:32:38.474045 | 2023-08-31T20:07:39 | 2023-08-31T20:07:39 | 2,544,179 | 1,406 | 3,798 | MIT | 2022-10-27T08:28:51 | 2011-10-09T19:53:59 | C++ | UTF-8 | C++ | false | false | 6,088 | cpp | //
// FILE: AD9833.cpp
// AUTHOR: Rob Tillaart
// PURPOSE: Arduino library for AD9833 function generator
// VERSION: 0.1.0
// URL: https://github.com/RobTillaart/AD9833
//
#include "AD9833.h"
// CONTROL REGISTER BITS
#define AD9833_B28 (1 << 13)
#define AD9833_HLB (1 << 12)
#define AD9833_FSELECT ... | [
"rob.tillaart@gmail.com"
] | rob.tillaart@gmail.com |
740280999e7ff121c3eaa59b72a52516275bb92b | 697ece97d86013137f38b6049a6755a7fec6e693 | /code/toolkit/toolkitutil/texutil/textureattrs.cc | 5879b49ca4998e4599e8c7b7af30696e84d3ede1 | [] | no_license | Chinamming/nebuladevice3 | 6ace3c9fd97632ed43743e8eb7fce151f976a906 | 1180cec07aff77da1e9f97cedbcfbf5b56c3630d | refs/heads/master | 2021-01-10T18:17:09.958301 | 2012-11-23T19:55:13 | 2012-11-23T19:55:13 | 47,537,441 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 3,628 | cc | //------------------------------------------------------------------------------
// textureattrs.cc
// (C) 2008 Radon Labs GmbH
//------------------------------------------------------------------------------
#include "stdneb.h"
#include "textureattrs.h"
namespace ToolkitUtil
{
using namespace Util;
//--... | [
"xoyojank@d47e28a6-9597-afde-2b20-6ad4a23d23fd"
] | xoyojank@d47e28a6-9597-afde-2b20-6ad4a23d23fd |
97513408039c218179cbcd7664ee547405ed4c37 | f0435c1a3294180670f13dc81f43757ca4d6aa3f | /src/bench/Mmf.hpp | 01d49a14e1d4a50538561b5cd4add8f9c937ff13 | [
"BSD-2-Clause",
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | moloned/sparsex | 7adcc802a11672fe2e9cfc18f9e3b75bc2505798 | 62fdf4da1c84c498e5d01eb75def4e2687af1b0e | refs/heads/master | 2021-01-15T20:48:52.255713 | 2014-07-23T22:09:56 | 2014-07-23T22:09:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,921 | hpp | /*
* Copyright (C) 2013-2014, Computing Systems Laboratory (CSLab), NTUA.
* Copyright (C) 2013-2014, Athena Elafrou
* All rights reserved.
*
* This file is distributed under the BSD License. See LICENSE.txt for details.
*/
/**
* \file Mmf.hpp
* \brief Matrix Market Format routines
*
* \author Athena Elafrou
... | [
"bkk@cslab.ece.ntua.gr"
] | bkk@cslab.ece.ntua.gr |
14b894de794cec6931de19a4e5a0c2b08ddd3c68 | 84257c31661e43bc54de8ea33128cd4967ecf08f | /ppc_85xx/usr/include/c++/4.2.2/gnu/javax/crypto/prng/ARCFour.h | 3d7e49e5918ed012a54dd84e689af81aa85f8d1c | [] | no_license | nateurope/eldk | 9c334a64d1231364980cbd7bd021d269d7058240 | 8895f914d192b83ab204ca9e62b61c3ce30bb212 | refs/heads/master | 2022-11-15T01:29:01.991476 | 2020-07-10T14:31:34 | 2020-07-10T14:31:34 | 278,655,691 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 926 | h | // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __gnu_javax_crypto_prng_ARCFour__
#define __gnu_javax_crypto_prng_ARCFour__
#pragma interface
#include <gnu/java/security/prng/BasePRNG.h>
#include <gcj/array.h>
extern "Java"
{
namespace gnu
{
namespace javax
{
namespace crypt... | [
"Andre.Mueller@nateurope.com"
] | Andre.Mueller@nateurope.com |
4dffffa906ab2644fde11bd7b8ea537ec5c2eaba | d0c44dd3da2ef8c0ff835982a437946cbf4d2940 | /cmake-build-debug/programs_tiling/function14347/function14347_schedule_27/function14347_schedule_27_wrapper.cpp | 156ae95257d72d2c99a036f3f3e5d2174903dbe1 | [] | no_license | IsraMekki/tiramisu_code_generator | 8b3f1d63cff62ba9f5242c019058d5a3119184a3 | 5a259d8e244af452e5301126683fa4320c2047a3 | refs/heads/master | 2020-04-29T17:27:57.987172 | 2019-04-23T16:50:32 | 2019-04-23T16:50:32 | 176,297,755 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 859 | cpp | #include "Halide.h"
#include "function14347_schedule_27_wrapper.h"
#include "tiramisu/utils.h"
#include <cstdlib>
#include <iostream>
#include <time.h>
#include <fstream>
#include <chrono>
#define MAX_RAND 200
int main(int, char **){Halide::Buffer<int32_t> buf0(128, 64, 64, 64);
init_buffer(buf0, (int32_t)0);
... | [
"ei_mekki@esi.dz"
] | ei_mekki@esi.dz |
254279b85627aebf0febfc4a5c14afdf08aed0f2 | 8d8768f9fe35e5b92390ed9cdc96cb8ce2d560dc | /df/Skill.h | 1aa04ce56b733e0a46315da8671e46e42b187f44 | [] | no_license | tbetten/df_repo | d980e0f6ad8bcf294a723c07ee86b74dbe960d33 | f09ac09c53a016e9765f9ecba9ed61bccb8e3319 | refs/heads/master | 2022-07-24T13:15:40.149167 | 2022-07-05T09:28:14 | 2022-07-05T09:28:14 | 137,575,390 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 625 | h | #pragma once
#include <string>
#include <vector>
#include <array>
#include "attributes.h"
namespace skill
{
struct Default
{
std::string skill;
int modifier;
};
struct Skill
{
enum class Difficulty { Invalid = -1, NA, Easy, Average, Hard, Very_hard };
enum class Skill_type { Skill, Attribute };
std::st... | [
"tbetten@hotmail.com"
] | tbetten@hotmail.com |
1d77683c026422257fa5842e1ab65f32ea829adc | 221e094fed9ad42a0e5cc434414037982f4537af | /LibraryApp/Klant.cpp | 5a2992fd7a9712dcfffb1882dea446423b459008 | [] | no_license | Mrjsaw/LibraryEHB | a00a0b95487ff2ff04037f14adae7df8a330579c | c50c11b75a4245d6a3e08c551786aedfa24ccc11 | refs/heads/master | 2020-04-30T15:40:08.845892 | 2019-03-21T12:42:11 | 2019-03-21T12:42:11 | 176,925,985 | 1 | 0 | null | 2019-03-21T17:21:24 | 2019-03-21T10:52:49 | C++ | UTF-8 | C++ | false | false | 139 | cpp | #include "Klant.h"
Klant::Klant()
{
}
Klant::Klant(string vNaam, string vPasswoord) : User(vNaam, vPasswoord)
{
}
Klant::~Klant()
{
}
| [
"mrjsaw@gmail.com"
] | mrjsaw@gmail.com |
18b7b3a3ded0663b0036c0122ebb3da8caaa3a8a | 0ec79ee98e6672eac7048d07e65681a7022d0d02 | /libbhuman/RoboCupGameControlData.h | a60b45664a7408baa68d1406b51f7eae3c0e90d4 | [] | no_license | dengxianga/testbhuman | 71ff1eb46375d867b19f594bc613d3432c22af4f | ac29db4b147f9e7e3d7d010a0f198de568294711 | refs/heads/master | 2021-03-30T18:26:25.391021 | 2017-06-19T17:03:58 | 2017-06-19T17:03:58 | 92,452,078 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 897 | h | /**
* @file RoboCupGameControlData.h
* The file encapsulates definitions in the file RoboCupGameControlData.h
* that is provided with the GameController in a namespace.
* @author <a href="mailto:Thomas.Roefer@dfki.de">Thomas Röfer</a>
*/
#pragma once
#include <stdint.h>
#include <cstring>
namespace RoboCup
{
#d... | [
"fionala7@gmail.com"
] | fionala7@gmail.com |
905b9c790b853704f8b4d6cb21ecc242bca2f8ed | b08e948c33317a0a67487e497a9afbaf17b0fc4c | /Display/GeometryHelper.h | 8f8bcab4e6c373ed1791daf12e2bc0409b103f08 | [] | no_license | 15831944/bastionlandscape | e1acc932f6b5a452a3bd94471748b0436a96de5d | c8008384cf4e790400f9979b5818a5a3806bd1af | refs/heads/master | 2023-03-16T03:28:55.813938 | 2010-05-21T15:00:07 | 2010-05-21T15:00:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,059 | h | #ifndef __GEOMETRYHELPER_H__
#define __GEOMETRYHELPER_H__
#include "../Core/Core.h"
#include "../Core/Octree.h"
#include "../Display/Display.h"
namespace ElixirEngine
{
//-----------------------------------------------------------------------------------------------
//-------------------------------------... | [
"voodoohaust@97c0069c-804f-11de-81da-11cc53ed4329"
] | voodoohaust@97c0069c-804f-11de-81da-11cc53ed4329 |
f822a83e880df1d932d58e1ea2781cae30d20597 | 860f7050356462e3149a07256d905db91303f05f | /wxProjectEricode/cApp.h | c555c08754bc7cba8d5df5b56a367258324f8cd8 | [] | no_license | ericodex/wxProjectEricode | 769957a421476e27f5844a344f0f6f64f5a99525 | b074d897f8159ce3f2abe646e5d5f3bde45d3bba | refs/heads/master | 2023-04-02T05:28:26.956830 | 2021-04-06T20:17:30 | 2021-04-06T20:17:30 | 355,318,934 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 184 | h | #pragma once
#include "wx/wx.h"
#include "cMain.h"
class cApp : public wxApp
{
public:
cApp();
~cApp();
private:
cMain* m_frame1 = nullptr;
public:
virtual bool OnInit();
};
| [
"eric.lima@callink.com.br"
] | eric.lima@callink.com.br |
53d57cf99d7077c82449e1ca7d82957a967ec668 | 04288cac6e3be98d5eb15d405f1a8d17d5091179 | /src/mainwindow.h | 4413bc9c19cb3d4af868be4474e0e725d85abb8d | [] | no_license | evouga/bristlecopters | 106f3ffb1cc933527339dff9bd9aae450d83aebe | 7f75a4de92bb2560f1dd2397a2b5768d8686b529 | refs/heads/master | 2020-05-17T05:24:00.070387 | 2013-12-10T22:58:37 | 2013-12-10T22:58:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,616 | h | #ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include <string>
#include "mesh.h"
class Controller;
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
explicit MainWindow(QWidget *parent = 0);
~MainWindow();
void setController(Control... | [
"evouga@gmail.com"
] | evouga@gmail.com |
dfc48c9a2adab0b2da9463f28ee0fc3df90c1d43 | b9d9b29c2a180399393c6ab298b9e5bfba17831e | /Top 100 Liked Questions/399-Evaluate Division.cpp | 7e99ef6a05499090fe391ad8ca38b39da685f21d | [] | no_license | qqwangxiaow/leetcode-fast-and-elegant | 08b7c6120b82f7ee3b5a99b84e7ba0f0eb38a477 | f5081a9e1d893b9d936d9486cf6141b5b35684e1 | refs/heads/master | 2022-02-11T00:36:22.911461 | 2022-01-02T05:14:20 | 2022-01-02T05:14:20 | 199,302,384 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,346 | cpp | //graph and bfs
//mymap[a]=[b,val] means a/b=val;
//a/d=a/b*b/c*c/d
class Solution {
public:
vector<double> calcEquation(vector<vector<string>>& equations, vector<double>& values, vector<vector<string>>& queries) {
int n=equations.size();
while(n--)
{
mymap[equations[n][0]].push... | [
"ywwangxiaow@qq.com"
] | ywwangxiaow@qq.com |
1f66b8be7f591db09ee409ce09db660d2dbd520a | 21686dd76b84f655ecbba5992509b9871c638e3b | /DxLibMake/DxModelLoader1.cpp | 7c2978c02c4ddd20d84002e7d7e44b8be530ab36 | [] | no_license | TwilightWings/DxLibMakeDLL | ea818a81ba5373be527b843bf2f65458c401b72c | c26b587d6729e6d6b8516a974cb16871a54034fd | refs/heads/master | 2022-10-14T09:55:09.019622 | 2015-05-10T16:04:12 | 2015-05-10T16:04:12 | null | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 66,914 | cpp | // -------------------------------------------------------------------------------
//
// DXライブラリ FBXモデルデータ読み込みプログラム
//
// Ver 3.12a
//
// -------------------------------------------------------------------------------
#define __DX_MAKE
#include "DxModelRead.h"
#ifndef DX_NON_MODEL
#ifdef DX_LOAD_FBX_MODEL
... | [
"sorairo@mofumofu.com"
] | sorairo@mofumofu.com |
9b5b64058b8c486c4502de92eacaa4d29d11e9d7 | 9b37fdf52cb2eb9795bb7cead33dd0ae053fa80f | /catkin_ws/devel/include/fundamentals/TimePastResponse.h | 142200480a84b0cc7c91739369793e461eff800d | [
"MIT"
] | permissive | a-yildiz/ROS-Simple-Sample-Packages | 9d3e01371e750a9489eb20487f524b380e34e0f7 | eb6b18adcd1fe26e2b5e644c42922e8102867cd9 | refs/heads/master | 2023-08-22T17:18:52.148201 | 2021-09-19T07:29:43 | 2021-09-19T07:29:43 | 390,817,521 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,037 | h | // Generated by gencpp from file fundamentals/TimePastResponse.msg
// DO NOT EDIT!
#ifndef FUNDAMENTALS_MESSAGE_TIMEPASTRESPONSE_H
#define FUNDAMENTALS_MESSAGE_TIMEPASTRESPONSE_H
#include <string>
#include <vector>
#include <map>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_message_t... | [
"yildiz@stanford.edu"
] | yildiz@stanford.edu |
c2859d0d7d0420afec0e398cec20f5b6b0792607 | 3296cab14de3ba88ba01637c634f213f2345da55 | /HSDF/ExternalLibs/GeoTools/Mathematics/Hyperellipsoid.h | 934afb3430d6d3dc1147f76a93d7def3190c18b2 | [] | no_license | teshaTe/HybridFrep | 63b2fe47a6ce49927309743e1f708658c2f2f18d | ded2bbb917bd1f8bc22e28b35bdf86cf6b0340a7 | refs/heads/master | 2023-03-04T01:35:36.054376 | 2021-02-18T21:36:13 | 2021-02-18T21:36:13 | 158,251,562 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,735 | h | // David Eberly, Geometric Tools, Redmond WA 98052
// Copyright (c) 1998-2020
// Distributed under the Boost Software License, Version 1.0.
// https://www.boost.org/LICENSE_1_0.txt
// https://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
// Version: 4.0.2019.08.13
#pragma once
#include <Mathematics/Ma... | [
"tereshin.tesha@gmail.com"
] | tereshin.tesha@gmail.com |
aedef543bcd98144bb297095a116075b77a1ea14 | 70950c7e1a6233c42ae80c79f998761c3eb01024 | /CodeForces/Educational 38 DIV 2 B.cpp | 220bf023c9348b31e40630fc49172097c3cbb75e | [] | no_license | karimelghazouly/CompetitiveProgramming | be54f9cf0f70d131bb44025077eb852539e5c405 | f1e1beb23b1301e154cdec4f12ddaf08b7cfe514 | refs/heads/master | 2021-09-14T00:33:44.856073 | 2018-05-06T17:52:58 | 2018-05-06T17:52:58 | 100,038,836 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 401 | cpp | #include <bits/stdc++.h>
using namespace std;
int main()
{
ios::sync_with_stdio(false);
cin.tie(0); cout.tie(0);
int n,ans=-1,l=1,r=1e6,mid=(1e6)/2;
//cout<<"mid = "<<mid-1<<endl;
cin>>n;
int arr[n];
for(int i=0;i<n;i++)
{
cin>>arr[i];
if(arr[i]<=mid)ans=max(arr[i]-l,ans);... | [
"karimelghazouly@gmail.com"
] | karimelghazouly@gmail.com |
062b38c533848a21d7803385bbadd4f5887c427a | 04b1803adb6653ecb7cb827c4f4aa616afacf629 | /chrome/chrome_cleaner/test/scoped_process_protector.h | 6140e2d35e478ab52da57a595b22c932b89673d9 | [
"BSD-3-Clause"
] | permissive | Samsung/Castanets | 240d9338e097b75b3f669604315b06f7cf129d64 | 4896f732fc747dfdcfcbac3d442f2d2d42df264a | refs/heads/castanets_76_dev | 2023-08-31T09:01:04.744346 | 2021-07-30T04:56:25 | 2021-08-11T05:45:21 | 125,484,161 | 58 | 49 | BSD-3-Clause | 2022-10-16T19:31:26 | 2018-03-16T08:07:37 | null | UTF-8 | C++ | false | false | 1,219 | h | // Copyright 2019 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.
#ifndef CHROME_CHROME_CLEANER_TEST_SCOPED_PROCESS_PROTECTOR_H_
#define CHROME_CHROME_CLEANER_TEST_SCOPED_PROCESS_PROTECTOR_H_
#include <windows.h>
#incl... | [
"sunny.nam@samsung.com"
] | sunny.nam@samsung.com |
17c45af03dae2f423ffdc996fb8d6911c5bda709 | d4d48fb0eb655871b963575326b112dac746c33d | /src/libs/fvcams/shmem.h | f06aed1a6c71d5db8de7f45db136a21f5d8da4f9 | [] | no_license | kiranchhatre/fawkes | 30ac270af6d56a1a98b344c610386dfe1bc30c3e | f19a5b421f796fc4126ae9d966f21462fbc9b79e | refs/heads/master | 2020-04-06T19:41:36.405574 | 2018-11-13T18:41:58 | 2018-11-13T18:41:58 | 157,746,078 | 1 | 0 | null | 2018-11-15T17:11:44 | 2018-11-15T17:11:44 | null | UTF-8 | C++ | false | false | 2,529 | h |
/***************************************************************************
* shmem.h - This header defines a reader for shared memory images
*
* Created: Thu Jan 12 19:41:17 2006
* Copyright 2005-2009 Tim Niemueller [www.niemueller.de]
*
********************************************************************... | [
"niemueller@kbsg.rwth-aachen.de"
] | niemueller@kbsg.rwth-aachen.de |
c316c14cb8e9e496c8d3f56d0eb2a80ebb41df49 | 4e967b71394b18774f7c51409b9f5cd3d423d5e0 | /microbenchmark/test6.cpp | 6e2873da6cf5426018e9cd65d107b7578739e705 | [] | no_license | spurnaye/Feather | 2cdbfa1a05c648da69efd62bf5df3bb63e600e97 | d607651aafff9240a06df12044ae38526ddf0057 | refs/heads/master | 2020-03-16T04:27:47.999559 | 2018-01-18T17:40:30 | 2018-01-18T17:40:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,585 | cpp | // Proportion of false sharing
#include<atomic>
#include<iostream>
#include<thread>
#define N (1L << 28)
#define CACHE_LINE_SIZE (64)
using namespace std;
struct alignas(CACHE_LINE_SIZE) {
atomic<int> x;
atomic<int> y;
} A;
struct alignas(CACHE_LINE_SIZE) {
atomic<int> x;
atomic<int> y;
} B;
struct ali... | [
"witchtoolsdev@gmail.com"
] | witchtoolsdev@gmail.com |
5f4addcc833a30a761ca850f60a085db9bce517b | 0d9e4e4733da98b6aad0e7ee976c9a749ffa2b7c | /src/tools/ttf2uvf/previewbutton.cpp | ab6a369fec9e793926d0026f569487b0de456826 | [] | no_license | av1ctor/old-uGL | 4f93be3b9b4e89322ac6f4b1fa311437011d2a73 | 9ef24fb05351ba26d8f25ecaf98757cff17208d6 | refs/heads/master | 2023-01-09T00:48:32.813668 | 2020-11-04T19:51:48 | 2020-11-04T19:51:48 | 310,103,382 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,009 | cpp | // PreviewButton.cpp : implementation file
//
#include "stdafx.h"
#include "ttf2uvf.h"
#include "ttf2uvfdlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CPreviewButton
CPreviewButto... | [
"av1ctortv@gmail.com"
] | av1ctortv@gmail.com |
2ab297f9f61a3d3a878505811fbad8e496723797 | d40efadec5724c236f1ec681ac811466fcf848d8 | /branches/fs2_open_3_6_14/code/cutscene/mveplayer.cpp | be1d5aaadca3d0ee152747be1539429521f64359 | [] | no_license | svn2github/fs2open | 0fcbe9345fb54d2abbe45e61ef44a41fa7e02e15 | c6d35120e8372c2c74270c85a9e7d88709086278 | refs/heads/master | 2020-05-17T17:37:03.969697 | 2015-01-08T15:24:21 | 2015-01-08T15:24:21 | 14,258,345 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,644 | cpp |
#ifdef SCP_UNIX
#include <errno.h>
#include <time.h>
#include <sys/time.h>
#endif
#include "graphics/gropengl.h"
#include "graphics/gropengltexture.h"
#include "graphics/gropenglextension.h"
#include "graphics/gropenglstate.h"
#include "globalincs/pstypes.h"
#include "cutscene/mvelib.h"
#include "cutscene/movie.h"
... | [
"chief1983@387891d4-d844-0410-90c0-e4c51a9137d3"
] | chief1983@387891d4-d844-0410-90c0-e4c51a9137d3 |
1fb60e6e0b782a3ec7222bcd2d7d20343732e27c | 16def4b168c88f74ffbd1aa29b24460f5081dc73 | /LearnOpenGL/Header/mesh.h | 0cec2c7caeae13cc440756eb1abd7183357593fd | [] | no_license | pfjhetg/LearnOpenGL | 99f698e7b777bf1000fcdd52839e61ad73323132 | 4ebee2d2a58f60a0098d6bb1c652425de4ed283d | refs/heads/master | 2021-07-19T12:27:14.920693 | 2017-10-24T02:10:20 | 2017-10-24T02:10:20 | 103,898,328 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,771 | h | //
// mesh.h
// LearnOpenGL
//
// Created by pfjhetg on 2017/9/26.
// Copyright © 2017年 pfjhetg. All rights reserved.
//
#ifndef mesh_h
#define mesh_h
#include "shader.h"
#include <vector>
//通过brew安装,成功后就直接使用
#include <assimp/Importer.hpp>
struct Vertex {
// position
glm::vec3 Position;
// normal
... | [
"pfjhetg@139.com"
] | pfjhetg@139.com |
85584a7aaf3f4cec3e3bc90b4f1b9d5d7f786730 | da0e478aa133828b46cd9cdce321440806d6f5df | /IbeoSDK6.0.4/sdk/source/sdk/test/src/timeRelationsListTests/TimeRelationsListTestSupport.hpp | 707957c03ce427337de776f932c5bec5aa3e9973 | [] | no_license | mak6gulati/IBEO_sdk_check | 1a911fe1b5bd92bab2800fa40e4dfa219a10cd5b | 1114cbb88fa1a95e00b912a501582b3a42544379 | refs/heads/master | 2022-12-30T17:27:45.848079 | 2020-10-20T07:59:07 | 2020-10-20T07:59:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,132 | hpp | //==============================================================================
//!\file
//!
//!$$IBEO_LICENSE_BEGIN$$
//!Copyright (c) Ibeo Automotive Systems GmbH 2010-2019
//!All Rights Reserved.
//!
//!For more details, please refer to the accompanying file
//!IbeoLicense.txt.
//!$$IBEO_LICENSE_END$$
//!
//!\date ... | [
"mayank.gulati@automotive-ai.com"
] | mayank.gulati@automotive-ai.com |
2e715c9cedf0b4410141dff1eccb028a2dc5ae86 | a0d4581536b07075171dc22ccedd683ad5a0a573 | /internal/.laplacian/testing/testing_zsysv_nopiv_gpu.cpp | 1bb8324aae6c7b280ef195f31b3bf40d4b38321b | [
"Apache-2.0"
] | permissive | KyungWonPark/Correlation | 0e3a37c3819b1f377ec90b8fa26198bb2afad72b | 827b3c369161e1e5be1b29c73364dcf0cd44d1c0 | refs/heads/master | 2023-04-18T15:41:45.549415 | 2021-04-30T01:15:05 | 2021-04-30T01:15:05 | 297,269,204 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,653 | cpp | /*
-- MAGMA (version 2.5.3) --
Univ. of Tennessee, Knoxville
Univ. of California, Berkeley
Univ. of Colorado, Denver
@date March 2020
@precisions normal z -> c
@author Mark Gates
@author Adrien Remy
*/
// includes, system
#include <stdio.h>
#include <stdlib.... | [
"kw.park.person@gmail.com"
] | kw.park.person@gmail.com |
a44f7d36010e2f20ab58eeb82bac9527cbf53fc4 | 57394e0ce79556f1d31e4966ba9bb9c68fe085b6 | /DuiLib/Core/UIBase.cpp | 0acfece1b9659fbef3ace68509d6e6f247582ccc | [
"MIT"
] | permissive | z-zroud/Duilib | f21490813e2669e44aa815469030b251837b468f | 1fd1e9da5525b65685f965a6850f2a156f059529 | refs/heads/master | 2020-04-08T19:53:00.792995 | 2018-11-29T14:08:51 | 2018-11-29T14:08:51 | 159,674,805 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,014 | cpp | #include "StdAfx.h"
#ifdef _DEBUG
#include <shlwapi.h>
#pragma comment(lib, "shlwapi.lib")
#endif
namespace DuiLib {
/////////////////////////////////////////////////////////////////////////////////////
//
//
void UILIB_API DUI__Trace(LPCTSTR pstrFormat, ...)
{
#ifdef _DEBUG
TCHAR szBuffer[2048] = {0};
va_list... | [
"489469935@qq.com"
] | 489469935@qq.com |
a7de66ed544a0b4e1a86d664325f25c755864ee7 | ce2a34f527a713134731c8ef5fdff601b960513a | /InputHandler.h | cfd4caf7c6f4fdeab09581109aa575d09c00f6d3 | [] | no_license | Wylex/Snake | be3b11cd3db3c9bba94f73a79dd422953a9d033d | e87e78fcc46428fca5a5d39d2823af8dd86e10b9 | refs/heads/master | 2016-08-04T23:06:40.200478 | 2015-12-05T21:24:40 | 2015-12-05T21:24:40 | 41,547,224 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 511 | h | //inputHandler.h
#ifndef INPUTHANDLER_H
#define INPUTHANDLER_H
#include "Command.h"
#include <SFML/Graphics.hpp>
#include <memory>
class InputHandler
{
public:
InputHandler();
std::shared_ptr<Command> handleInput(sf::RenderWindow & win);
private:
sf::Event event;
std::shar... | [
"daniellopezh@hotmail.es"
] | daniellopezh@hotmail.es |
29ed8ebd4c1ad658d99dcd199b85796736c9df8d | f71da688aa63ceb96aa7824f5c6e3c3af6c3a357 | /old/Program/data/running/2930982954/Main.cpp | 068156cb5dc4bb479dcd5d9a0dc905e25fe082b0 | [
"MIT"
] | permissive | kernight/ayitoj | fc1b4fb89423ea5e5a02f3b67f96b7d77130a750 | a752ae5202f4719976437e4b9e6d508e7686f103 | refs/heads/master | 2021-06-05T02:51:27.905904 | 2016-10-21T16:25:04 | 2016-10-21T16:25:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 119 | cpp | #include <iostream>
#include<windows.h>
using namespace std;
int main()
{
int a,b;
cin>>a>>b;
cout<<a+b;
return 0;
}
| [
"1836608435@qq.com"
] | 1836608435@qq.com |
1b926d03e2e14864b2c102ee3157c259e627cf56 | 0590e3430c60296b2930d1c532efb9d116ba1c17 | /KisokaraCpp-samples/06/06-copy.cpp | 332dfae2ca8a50c86acc4b4f20ad41c70a414bab | [] | no_license | datsu0/cpp | 645b8f9e9991fccbe514d6ea59a9353ee7da0841 | 0e363668fc89e589fedadbc79801d9adf53b05c9 | refs/heads/master | 2022-08-06T12:06:56.100520 | 2020-05-24T14:15:54 | 2020-05-24T14:15:54 | 255,307,034 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 293 | cpp | #include <iostream>
#include <vector>
using namespace std;
int main() {
vector<int> v1{ 2, 3, 5, 7 };
auto v2(v1);
//auto v2 = v1;//OK
v1[0] = 100;//v1を変更する。
for (auto x : v2) cout << x << ", ";
cout << endl;//出力値:2, 3, 5, 7 (v2は変わっていない)
} | [
"atsu34412@gmail.com"
] | atsu34412@gmail.com |
f677630337fcc112d81201d66a42b89c53464aa1 | e9ed46363f3a6f7c6b40ebdc03cac6b476b2b89d | /VectorEx01/VectorEx01/list.cpp | a9a82d3fbeb320bc0132f9ab9275f246e1a52b46 | [] | no_license | moo1o/CppStudy | 2593c9a5fdf498653082d9c9de89b30e595b942a | 1abdb57be50173befc3a361e69379cafade2a476 | refs/heads/master | 2021-07-22T03:41:56.906378 | 2017-10-30T22:48:38 | 2017-10-30T22:48:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 482 | cpp | #include <iostream>
#include <list>
using namespace std;
int main(void)
{
list<int> linked_list;
for(int i=0 ; i<6 ; ++i)
{
linked_list.push_back(i);
}
list<int>::iterator it = linked_list.begin();
while(it!=linked_list.end())
{
cout << *it++ << endl;
}
it = linked_list.begin();
++it;
linked_list.ins... | [
"kmyms2@naver.com"
] | kmyms2@naver.com |
93043b3589274f962fb1a65713db36ab2b691ecb | da1aa824deb8d7d7416151601e662629765780f0 | /Seg3D/src/Core/Exceptions/AssertionFailed.h | 551430c0a1b282054772db51043ecdcd752a9ddb | [
"MIT"
] | permissive | viscenter/educe | 69b5402782a4455af6d4009cb69f0d9a47042095 | 2dca76e7def3e0620896f155af64f6ba84163d77 | refs/heads/master | 2021-01-02T22:44:36.560170 | 2009-06-12T15:16:15 | 2009-06-12T15:16:15 | 5,413,435 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,342 | h | /*
For more information, please see: http://software.sci.utah.edu
The MIT License
Copyright (c) 2004 Scientific Computing and Imaging Institute,
University of Utah.
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (... | [
"ryan.baumann@gmail.com"
] | ryan.baumann@gmail.com |
fa9119cea7fec523c40e8d1521a644547cadb309 | 200cc322c9e14819f5c494c03ee66bc4770f1942 | /PAT/cpp/Public_Bike_Management.cpp | cfde7589825560434eda7b48d31600bf8cc51959 | [] | no_license | DeftHaHa/ACM | 405965d8da104edae69f46545c301848c88df382 | 462de76d49c1ca10cb834ed03df2ae7ea046359e | refs/heads/master | 2020-04-27T20:12:59.513127 | 2019-03-09T04:51:54 | 2019-03-09T04:51:54 | 174,649,510 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,787 | cpp | #include<iostream>
#include<cstdio>
#include<cstring>
#include<vector>
using namespace std;
const int inf=0x3f3f3f3f;
struct edgde
{
int v,next,w;
}e[10005];
int p[10005];
int eid;
void addedge(int u,int v,int w)
{
e[eid].v=v;
e[eid].w=w;
e[eid].next=p[u];
p[u]=eid++;
}
int d[505];
int cmax,sp,N,M;
int s[505];
boo... | [
"2431416414@qq.com"
] | 2431416414@qq.com |
2309e86e5eec5f0a55f3c73050b31e2e7e391f6a | 2a64c259fdde52c1405a9c867260df995a54c931 | /hackerrank/missionhelix3oct/b.cpp | 14ad586c19d9bb15dfcbf900a7df77b34ff7d051 | [] | no_license | arjitkansal/CP-contests | dab952af7624552e101701764cac8a29a5504435 | 05573e6a7096505029ef1ae06fc0e6f430f50848 | refs/heads/master | 2023-06-21T17:38:22.368174 | 2021-08-08T17:40:42 | 2021-08-08T17:40:42 | 310,842,153 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,118 | cpp | #include<bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
using namespace __gnu_pbds;
#define mod ((int)1e9+7)
#define lim 1000000000000000007
#define lim1 18446744073709551615 //Unsigned
#define sq(a) ((a)*(a))
#define all(v) v.begin(),v.end()
#define rall(v) v.rbegin(),v.rend()
#define mms(v,i) memset(v,i,siz... | [
"kansal.arjit@gmail.com"
] | kansal.arjit@gmail.com |
3e804552a7824886efdb442d067076f081c7c7d2 | bc102ef7fff887a16a406517a03e5232f28651cb | /src/SpaceInvaders.h | 6f1fd1c4e9006b6fe3ca87b1ba82ab455f8adf0b | [] | no_license | dima91/SpaceInvaders | cf5266ed3d752d5dd113e618d4c77c5ab493c977 | 0bf4c9740614342c9cd385845679b986edeae53c | refs/heads/master | 2020-06-04T08:58:36.332941 | 2014-04-14T20:18:01 | 2014-04-14T20:18:01 | 18,613,339 | 6 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 3,486 | h | /**
* \file SpaceInvaders.h
* \brief Header file for the library of project "Space Invaders"
* \author Luca Di Mauro
*/
#ifndef _SPACEINVADERS_H
#define _SPACEINVADERS_H
#include <ncurses.h>
#include <ctime>
#include "./Components.h"
/** \brief Offset of cannon's left side from focus */
#define OFF_SX 1
/** \b... | [
"luca@Notebook.(none)"
] | luca@Notebook.(none) |
4865e3bc50d1533f08357527b9c688f74ba3e03a | d6f231aa64df78689776dde56ea7afb8cbd215f3 | /HDU/4825/13827372_AC_577ms_17360kB.cpp | ebd4da6385bc9af814d7dcbd0c549b486ac81b52 | [] | no_license | Linzecong/My-ACM-Code | 18de33b786d51fd0729b601349f0db0f8ff22141 | d5487590d400510f387d352cd0748e9224f7acdd | refs/heads/master | 2021-01-24T04:28:53.268943 | 2018-11-30T08:36:40 | 2018-11-30T08:36:40 | 122,939,894 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,302 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
int node[100000*20][2];
int tot=0;
int root=0;
void insert(ll x){
int cur=root;
for(int i=32;i>=0;i--){
int c=((x>>i)&1);
if(node[cur][c]==0)
node[cur][c]=++tot;
cur=node[cur][c];
}
}
ll search(ll ... | [
"504603913@qq.com"
] | 504603913@qq.com |
3838b649bc3d94ab090095c94cfbca0e79f078c9 | d875df6d3ab5161475156661777aabfa01cef560 | /otherOJs/cf_A.cpp | c763bab1510b7d5e32c4c6d4e29230355a3101b8 | [
"BSD-2-Clause"
] | permissive | partho222/programming | 385de1c86e203d305e89543d7590012367dec41c | 98a87b6a04f39c343125cf5f0dd85e0f1c37d56c | refs/heads/master | 2021-01-10T05:23:46.470483 | 2015-11-24T15:35:36 | 2015-11-24T15:35:36 | 46,603,152 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,931 | cpp | /* Tariq ahmed khan - Daffodil */
#include <algorithm>
#include <cctype>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <deque>
#include <iostream>
#include <list>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#include <string>
... | [
"partho222@gmail.com"
] | partho222@gmail.com |
c5c419275116e1104cf662fb16874759f4eef9ef | 980d288657b52ab73f0a6794dfc73cd072789f0c | /test/tests.cpp | d691038798224e5e6c3310e5ec54d39c779a2b0c | [] | no_license | ghassanpl/assuming | 808729c7715a8422124fe03c0ac614405000295a | 7c9db0fce1b7933fa229ce46fda3864622957853 | refs/heads/master | 2021-07-12T11:07:44.882347 | 2021-02-12T21:08:28 | 2021-02-12T21:08:28 | 233,108,289 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,645 | cpp | /// Copyright 2017-2020 Ghassan.pl
/// Usage of the works is permitted provided that this instrument is retained with
/// the works, so that any entity that uses the works is notified of this instrument.
/// DISCLAIMER: THE WORKS ARE WITHOUT WARRANTY.
#define FMT_USE_WINDOWS_H 0
#define FMT_HEADER_ONLY 1
#include "../... | [
"kronikarz@gmail.com"
] | kronikarz@gmail.com |
9cd5f7d3a6876f3ed28eb32b61bcce82374a1cfe | a02928baf561e5ca9c37b792da10d761fc3d368e | /ato_esp32_blink/ato_esp32_blink.ino | f58056649d873f1ff065118aacf7f6c1888ffa4d | [] | no_license | attojeon/esp32 | 63e820474d1b5e65f2f78ba8d4927451a5259f00 | bdfa83ca26036457bf53a2a342fc4ba058e63d04 | refs/heads/master | 2021-09-10T10:02:30.793222 | 2018-03-24T08:38:27 | 2018-03-24T08:38:27 | 117,792,725 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 394 | ino | /*
ESP 32 Blink
Turns on an LED on for one second, then off for one second, repeatedly.
The ESP32 has an internal blue LED at D2 (GPIO 02)
*/
int LED_BUILTIN = 2;
void setup()
{
pinMode(LED_BUILTIN, OUTPUT);
}
void loop()
{
for(int i=0; i<5; i++) {
digitalWrite(LED_BUILTIN, HIGH);
delay(50);
... | [
"atto.jeon@gmail.com"
] | atto.jeon@gmail.com |
af37cd70d829c8e30ff1a277c20943f0cce178de | 20d735f27a0299054c1daaa1f5eaba24f3a4d7b8 | /1372zigzag.cc | d99e4dcc46699dca4e284abcf9b7fc0124c617fd | [] | no_license | koskot77/leetcode | 8f1d727d4f1e33abc34f15431ae30bb4439f3110 | 27d07c0856109ba2b32b395932ca1b7c905c91bd | refs/heads/master | 2021-05-23T23:26:53.161215 | 2021-02-14T10:13:09 | 2021-02-14T10:13:09 | 64,026,247 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,190 | cc | // error1: this was a simple tree traversal problem!
// error2: overengeneered -> not brainsize
/**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(x), left(NULL), right(NULL) {}
* };
*/
class Solution {
public:
... | [
"kkotov@cern.ch"
] | kkotov@cern.ch |
d4e32c79feb925a9db28a4110d747b44ef44b2bb | 8bc71c1edd08c777d8170059cd5f1d95281f0c53 | /aprinter/hal/teensy3/Mk20Watchdog.h | 0c1a0a3093345e38aa1a7d89221af9b08aba903c | [
"BSD-2-Clause"
] | permissive | skyformat99/aprinter | b8f56bc5e39c64b894ce69de5587e1072dba6037 | b97c3111dad96aedf653c40b976317d73ac91715 | refs/heads/master | 2022-01-30T15:43:56.486835 | 2019-08-18T09:27:13 | 2019-08-18T09:27:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,190 | h | /*
* Copyright (c) 2013 Ambroz Bizjak
* 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 conditio... | [
"ambrop7@gmail.com"
] | ambrop7@gmail.com |
4a6dd28a6ede0ad506c8bf972e4d5537599a8e62 | 9924c2f69d4b3525b7df5a6cb788591bb372f910 | /aulas/vision/aula_14/dlib-master/dlib/dnn/layers.h | 2e4515d8a7499df24072b2d5cb9c502c40c99447 | [
"BSL-1.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | iuryadones/computer-vision | 7c5d7c4c13c2602b4d80ac1776f0d2e5e01d1da3 | 005818f8a03c1463fbca73909b23399fd4262bac | refs/heads/master | 2021-09-24T12:23:14.818128 | 2018-10-09T22:54:09 | 2018-10-09T22:54:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 107,294 | h | // Copyright (C) 2015 Davis E. King (davis@dlib.net)
// License: Boost Software License See LICENSE.txt for the full license.
#ifndef DLIB_DNn_LAYERS_H_
#define DLIB_DNn_LAYERS_H_
#include "layers_abstract.h"
#include "tensor.h"
#include "core.h"
#include <iostream>
#include <string>
#include "../rand.h"
#include "... | [
"iuryadones@gmail.com"
] | iuryadones@gmail.com |
bfe119c1b491056df286608ada45d08cefcd59fb | 3bbf91355f6091a8434a82eec7f0b717c81e182b | /src/qt/bitcoinamountfield.cpp | 2d15ee0f48d0696582996933c3589efbec5e5200 | [
"MIT"
] | permissive | youlikecoin/youlike | 4a8bc8dbe71a120943e48ac5035186e10333d828 | a0b4c2a5db173ea1773eeba6f37a602c6649bb7c | refs/heads/master | 2023-01-29T05:23:48.433319 | 2020-12-12T16:35:51 | 2020-12-12T16:35:51 | 319,964,212 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,215 | cpp | // Copyright (c) 2011-2015 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "bitcoinamountfield.h"
#include "bitcoinunits.h"
#include "guiconstants.h"
#include "qvaluecombobox.h"
#include <Q... | [
"youlikecoin@gmail.com"
] | youlikecoin@gmail.com |
990326308fa04f45b2eb77181bd10272d9632b3d | 0b8fd21bc4727f8832076f71a6b8fe909ea3f8f5 | /permutation.cpp | 4251b2fca8556c5ad5a45ab94081a0c8263e6231 | [] | no_license | illrestart/fantasy | 9e9cc2f40a93130fbd9f76e85c4d3301bc2a2dbf | ecfad4db9f4fd3400de9b20175537f8177689065 | refs/heads/master | 2021-01-22T07:02:47.024317 | 2014-11-17T08:15:34 | 2014-11-17T08:15:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 995 | cpp | #include <iostream>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <vector>
using namespace std;
void permulation(char a[],int flag[],int len,vector<char> vec){
if(vec.size() == len){
for(vector<char>::iterator iter = vec.begin();iter!=vec.end();++iter)
cout<<*iter<<" ";
... | [
"549099743@qq.com"
] | 549099743@qq.com |
b0fe15daca0cd08f7f273959d7fd2a1940acdcc9 | 1217df68d508d3dc927e951a81b8ffbaf8832549 | /acmicpc.net/1369.cpp | be4b3b2ab66314a6574458726ae042c0f6e85cbb | [
"MIT"
] | permissive | kbu1564/SimpleAlgorithm | 200ae0dbaa76d127881699a229a2258b358e696c | 7e5b0d2fe19461417d88de0addd2235da55787d3 | refs/heads/master | 2021-01-16T23:57:10.112064 | 2017-04-23T03:44:12 | 2017-04-23T03:44:12 | 56,262,760 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 770 | cpp | #include <cstdio>
#include <iostream>
#include <algorithm>
using namespace std;
int ARR[1001][1001];
int DP[2][1001][1001];
int f(int i, int j, int d) {
int idx = d == 2? 0: 1;
if (i < 1 || j < 1) return 0;
if (ARR[i][j] == 0) return 1e9;
if (DP[idx][i][j] > 0) return DP[idx][i][j];
int result = 0;
int c = ARR[i... | [
"quddnr145@gmail.com"
] | quddnr145@gmail.com |
29f2c58970b5157f47002ba2c452ba5382dbee09 | 50b603f16db8dddacf4be525641332e6c5f49de4 | /ros/test_ws/src/geekbot_pkg/src/serial_test.cpp | 4ed3751b59097bfa44fa22b474935fd95f295593 | [] | no_license | sdsmt-robotics/Geekbot | 7359b91abe1c81ed3a67b6d66e906701c65e3e06 | 10888b03bd79ba30b9f1f3a2bbe47e7aaafbe994 | refs/heads/master | 2020-04-22T10:06:26.235610 | 2017-07-20T16:38:23 | 2017-07-20T16:38:23 | 66,225,484 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,146 | cpp | #include <stdio.h>
#include "easy_serial.h"
int main(int argc, char **argv)
{
int arduino = serial_port_init("/dev/ttyUSB0", 57600);
if(arduino < 1) return 1;
sleep(2);
unsigned char handshake = 0x77;
unsigned char temp =... | [
"remington.bullis@users.noreply.github.com"
] | remington.bullis@users.noreply.github.com |
3277e9d73d77a337dfbcb1738cc5b09406a41b19 | 18845da9a842d032ca125cf25e0aea9caa1e20b0 | /library/fractal.h | 33319902286576ce0d23d1e8409ef3e5b2a7dc8f | [
"MIT"
] | permissive | jan-moravec/fractals-qt | c9e544bcb6575034f47ce62c7c30ee3ad157b697 | ca7f3926d0db8d77438e6cb40e7a525ff16e632c | refs/heads/master | 2021-10-24T23:51:54.359295 | 2019-03-30T08:07:25 | 2019-03-30T08:07:25 | 105,425,942 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 998 | h | #ifndef FRACTAL_H
#define FRACTAL_H
#include <stdint.h>
#include "library/palette.h"
class Fractal
{
public:
Fractal();
~Fractal();
void setSize(int width, int height);
void setIterations(int iteration);
struct Zoom {
double x = 0; // Resolution coordinate
double y = 0;
do... | [
"moravecjan@email.cz"
] | moravecjan@email.cz |
533e4758af3f12248fea474bd1e7171b503215dd | 06cc6e99ee1d0a6ad120763ad004c38d757b77cd | /Codeforces/C.cpp | a72408f24651d14d55a0e380f8b9fa2a31fe1301 | [] | no_license | MaicolGomez/ACM | 0eddec0ba8325c6bdc07721acc57a361c03c4588 | ff23b2c24daa5df1cc864b134886ff81a6d488c7 | refs/heads/master | 2020-03-06T20:57:14.628666 | 2018-03-28T01:46:27 | 2018-03-28T01:51:08 | 127,066,787 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,140 | cpp | #include<bits/stdc++.h>
using namespace std;
#define pi (2.0*acos(0.0))
#define eps 1e-6
#define ll long long
#define inf (1<<30)
#define vi vector<int>
#define vll vector<ll>
#define sc(x) scanf("%d",&x)
#define scl(x) scanf("%lld",&x)
#define all(v) v.begin() , v.end()
#define me(a,val) memset( a , val ,sizeof(a) )
#... | [
"maycolgo@gmail.com"
] | maycolgo@gmail.com |
7ca1f0d624fc56a3989785cfc32ab04d359abcc6 | 020f7c8db8aba39f53c2a0fa0980c6bbc6e1f40d | /src/gpu/graphite/Descriptors.h | 2102ea1c15f0f7a28721c475f3fff3f62159f871 | [
"BSD-3-Clause"
] | permissive | aseprite/skia | d2b63003610c796594e81deea093eb6b13704838 | 7dc7537009d462377fdbb4825486877c407d159f | refs/heads/master | 2023-08-24T00:47:30.288547 | 2023-05-15T16:04:06 | 2023-05-15T20:17:51 | 45,053,736 | 139 | 51 | BSD-3-Clause | 2023-03-03T18:14:21 | 2015-10-27T16:20:42 | C++ | UTF-8 | C++ | false | false | 752 | h | /*
* Copyright 2023 Google LLC
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef skgpu_graphite_Descriptors_DEFINED
#define skgpu_graphite_Descriptors_DEFINED
namespace skgpu::graphite {
/**
* Types of descriptors supported within graphite
*/
enu... | [
"skcq-be@skia-corp.google.com.iam.gserviceaccount.com"
] | skcq-be@skia-corp.google.com.iam.gserviceaccount.com |
2ebb0263148eaf4d70d11d93a2ace4d9be3e1310 | 6cf295c6da70b5b9899cc6713389ffecf001e8e6 | /test/unit/thread_test.cc | 86932b2a4a70be2826ec063878810bcc2674dfa3 | [
"LicenseRef-scancode-mit-old-style",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-stlport-4.5"
] | permissive | damellis/stlport-avr | 86f5cdd47a8adfb08fdc820e170ed512da38afc6 | 8ca437fd6e73e928d09a84a4ee901bf58c44aa37 | refs/heads/STLport-master-avr | 2021-01-21T16:18:36.835797 | 2012-09-18T18:53:10 | 2012-09-18T18:53:10 | 46,370,614 | 1 | 1 | null | 2015-11-17T19:36:57 | 2015-11-17T19:36:56 | null | UTF-8 | C++ | false | false | 5,870 | cc | // -*- C++ -*- Time-stamp: <2012-03-02 14:09:35 ptr>
/*
* Copyright (c) 2006-2012
* Petr Ovtchenkov
*
* This material is provided "as is", with absolutely no warranty expressed
* or implied. Any use is at your own risk.
*
* Permission to use or copy this software for any purpose is hereby granted
* without fee... | [
"ptr@void-ptr.info"
] | ptr@void-ptr.info |
34b0d1d1e67358489c66b92b62c1e6bac4fdb7ae | 7963c0abb98062c21ca61863d54e8b70ac103cfa | /tests/client/test_path.cpp | 271a6ca0831f5b1d015ca3c85cd3c71e7234cc48 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | stootill/hawktracer | 422a2853aa1869cad390b6dadf214bf9f86996f6 | f4065fb1de36cae9e69e40eca2fc28eb8187f3ea | refs/heads/master | 2020-03-20T23:47:29.200882 | 2018-06-19T08:33:45 | 2018-06-19T08:33:45 | 137,863,363 | 0 | 0 | null | 2018-06-19T08:35:38 | 2018-06-19T08:35:38 | null | UTF-8 | C++ | false | false | 655 | cpp | #ifndef HT_TEST_CLIENT_TESTPATH_CPP
#define HT_TEST_CLIENT_TESTPATH_CPP
#include "test_path.hpp"
#ifdef _WIN32
#define PATH_SEPARATOR "\\"
#else
#define PATH_SEPARATOR "/"
#endif
TestPath::TestPath()
{
}
TestPath& TestPath::get()
{
static TestPath test_path;
return test_path;
}
void TestPath::set_applicati... | [
"mpandel@amazon.com"
] | mpandel@amazon.com |
7527da1ea05db2fe7febd030c990948968b96575 | b39a9829da71231d16c5ac18d5be29510054fbaf | /klienti/baja/main_fajny.cpp | cf62a16ff1805163be4a2ce8954163155e189d4e | [] | no_license | trojsten/proboj-2017-jesen | d140accd2d8889b5e5dc7f1adbbe06add039b6ad | bed8e66eb673f9acdf5ce5a051106e3fe57d3c2c | refs/heads/master | 2021-05-15T12:30:30.479349 | 2017-11-28T15:00:34 | 2017-11-28T15:00:34 | 108,453,908 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,754 | cpp | #include <cstdio>
#include <cstdlib>
#include <ctime>
#include <unistd.h>
#include <iostream>
#include <vector>
#include <queue>
#include <set>
using namespace std;
#include "common.h"
#include "marshal.h"
#include "update.h"
#define For(i,n) for(int i = 0; i<n; i++)
#define fst first
#define snd second
typedef pair... | [
"davidb@ksp.sk"
] | davidb@ksp.sk |
1cded8da166527454e6bebc437a7b07f9723fcc2 | a8c132935ffffb4dd7867c38ff57e8bc8e526aab | /code/ACM/ACM LeetCoder/ACM LeetCoder/258.cpp | 2be11e5cfba7f746fc15eb980679117962c7f39a | [] | no_license | LYCHSJ/OJ | b58ab1f209d7601362386d704eebbf5c96b9f3d7 | 1cc1d1d7527771f276c2e9f8f4f778df2516572b | refs/heads/master | 2021-01-20T09:52:09.218978 | 2017-08-28T06:45:33 | 2017-08-28T06:45:33 | 101,612,243 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 264 | cpp | #include<iostream>
#include<string>
#include<sstream>
using namespace std;
class Solution {
public:
int addDigits(int num) {
return num == 0 ? 0 : (num - 1) % 9 + 1;
}
};
int main() {
Solution s;
int num = 123;
cout << s.addDigits(num) << endl;
return 0;
} | [
"576094432@qq.com"
] | 576094432@qq.com |
75bc6a29f36e52603f03c8240dd9dac8df5f5f1f | aca8bdac9a0de83dcfccbd509fd8a6a088c9c3a0 | /boost/coroutine/v2/detail/push_coroutine_base.hpp | a8a2dddeb3f33da95f5553b50ee70b1c930d1b81 | [
"BSL-1.0"
] | permissive | boost-at/boost_1_55_0 | f69a42a5dacd28fafaa0c56b495af239f8dad2ea | bcb327790a6909a776e97df98ecb7d8a039f3462 | refs/heads/master | 2021-01-19T13:26:00.807413 | 2014-08-08T04:50:56 | 2014-08-08T04:50:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,399 | hpp |
// Copyright Oliver Kowalke 2009.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#ifndef BOOST_COROUTINES_UNIDIRECT_DETAIL_PUSH_COROUTINE_BASE_H
#define BOOST_COROUTINES_UNIDIRECT_DETAIL_P... | [
"azanella@linux.vnet.ibm.com"
] | azanella@linux.vnet.ibm.com |
33717d09a934ba2a20abdaf1a3b916817f3e74ce | f7e1fad0c39f5c9034df9c825fabeed97a2daafd | /CaloG4/interface/CMSGridField.h | 05e78984c6517ab8568da5ee28e35f027e369c6a | [] | no_license | kpedro88/SimGVCore | 4fbae504457686d9a05cb1ef43a27330d827ccdb | e7184b3a951054e1acefcacfcde44e5563c6d2c4 | refs/heads/SensDetTemplateWrapper | 2021-06-02T12:07:08.854034 | 2019-10-28T19:54:26 | 2019-10-28T19:54:26 | 126,082,881 | 0 | 1 | null | 2019-10-28T19:54:27 | 2018-03-20T21:10:30 | C++ | UTF-8 | C++ | false | false | 2,323 | h | #ifndef SimGVCore_CaloG4_CMSGridField
#define SimGVCore_CaloG4_CMSGridField
//based on https://gitlab.cern.ch/GeantV/geant/blob/master/examples/physics/FullCMS/Geant4/include/G4ScalarRZMagFieldFromMap.hh
//originally developed by John Apostolakis and Ananya
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#inc... | [
"kpedro88@gmail.com"
] | kpedro88@gmail.com |
182894c082410359b600fbff925c597f9baabd58 | 7e791eccdc4d41ba225a90b3918ba48e356fdd78 | /chromium/src/ui/display/chromeos/test/action_logger_util.cc | 1e3e9385a33e547dc098bf36ee5be0e3442bf380 | [
"BSD-3-Clause"
] | permissive | WiViClass/cef-3.2623 | 4e22b763a75e90d10ebf9aa3ea9a48a3d9ccd885 | 17fe881e9e481ef368d9f26e903e00a6b7bdc018 | refs/heads/master | 2021-01-25T04:38:14.941623 | 2017-06-09T07:37:43 | 2017-06-09T07:37:43 | 93,824,379 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,093 | cc | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/display/chromeos/test/action_logger_util.h"
#include <stddef.h>
#include "base/format_macros.h"
#include "base/logging.h"
#include "base/st... | [
"1480868058@qq.com"
] | 1480868058@qq.com |
c56d3f4a8429aacc23791cd1bcccd19fb209dce2 | 26d0b79443a19bc617cf2612a04a31a78426f703 | /logger.h | f8e669c522f5b20c867026b11586c80e9fef7ef9 | [] | no_license | pballok/qtframework.old | 81125068a4056238a781094fcce91a864395a32c | e64cc6bbb3a4797702d0b88406ab9c5ff65be52a | refs/heads/master | 2020-05-29T11:58:50.614129 | 2012-05-24T11:33:27 | 2012-05-24T11:33:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 843 | h | #ifndef LOGGER_H
#define LOGGER_H
#include <QString>
#include <QList>
#include "severity.h"
#include "sevexception.h"
#include "logmessage.h"
class LogWriter;
class Logger {
public:
static Logger& instance();
static void destroy();
void registerWriter(LogWriter* const writer);
void writeMessage(const... | [
"pballok@gmail.com"
] | pballok@gmail.com |
622623bf4f35348ece867cbc120938ef22b915a9 | c9fb34b4f10d30e71e7acde6f365d356694abf83 | /PBNeo/Source/PBGame/Private/Mode/SpawnPoint/PBPlayerStart.cpp | 999fb2a6cda199a9b2d67d94a652d325009c147d | [] | no_license | daekyuuu/DKGame2 | a52311e4df0d67132afada8d226ce45a0bd331ef | e5405499e7dcf02225757888c8fbaf847cb200cd | refs/heads/master | 2020-12-02T06:40:23.579274 | 2017-07-12T05:00:08 | 2017-07-12T05:00:08 | 96,866,994 | 9 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 450 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "PBGame.h"
#include "PBPlayerStart.h"
APBPlayerStart::APBPlayerStart()
{
bShowOnMinimap = false;
SpawnTeam = EPBTeamType::Max;
}
void APBPlayerStart::BeginPlay()
{
Super::BeginPlay();
}
bool APBPlayerStart::IsAllowed(AControl... | [
"daekyu.park@zepetto.com"
] | daekyu.park@zepetto.com |
59683bab58c7238a50cce8ae805821900738e95d | 4b962f06c3c6916cf212bcde2f3d53e04df89068 | /OpenCV/Svm/Svm/Source.cpp | a7b52a87c01782f4aafa7350fbe0070a477332a8 | [] | no_license | Fausto14/Mestrado | 02a436f71a534245c4c69306708b9193c9e23b10 | 62c4259aba6268abf6da6ac85a4cc2a64b862281 | refs/heads/master | 2021-01-12T07:55:43.511842 | 2017-03-21T22:53:50 | 2017-03-21T22:53:50 | 77,052,061 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,029 | cpp | #include <opencv/cv.h>
#include <opencv/highgui.h>
#include <opencv/cvaux.h>
#include <opencv/cxcore.h>
#include <opencv/ml.h>
#include <stdlib.h>
#include <stdio.h>
using namespace cv;
FILE* file;
char address[500] = "C:\\Users\\fadell\\Documents\\num_padronizado_MomCent_OpenCv.txt";//Banco de dados - Carregar
char ... | [
"Fausto Sampaio"
] | Fausto Sampaio |
b5994cb418c43d7edba0dfa385a0a3e739a7c020 | 9392a6cdc9fe3934c35f3c0f57d0f9b8af3f6a44 | /src/util.cxx | ff9e5d0e1155b455d599ef4724aa2362c024c041 | [
"BSD-2-Clause"
] | permissive | mittman/squashdelta | b0fa7534578a59105370c1edafaab2182d0a7639 | 6a14d3d42847cfbf00ba53070f31b7d8da1b7054 | refs/heads/master | 2021-04-18T19:46:46.196663 | 2018-03-23T06:31:15 | 2018-03-23T06:31:15 | 126,440,569 | 0 | 0 | BSD-2-Clause | 2018-03-23T06:05:24 | 2018-03-23T06:05:24 | null | UTF-8 | C++ | false | false | 4,387 | cxx | /**
* SquashFS delta tools
* (c) 2014 Michał Górny
* Released under the terms of the 2-clause BSD license
*/
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <cerrno>
#include <cstring>
extern "C"
{
# include <sys/types.h>
# include <sys/stat.h>
# include <sys/mman.h>
# include <fcntl.h>
# include <unis... | [
"mgorny@gentoo.org"
] | mgorny@gentoo.org |
7a65ba2f6eb9709b208a8da33a025a4a05d38e8e | 349fe789ab1e4e46aae6812cf60ada9423c0b632 | /FIB_DataModule/SprVidNom/UDMSprVidNomImpl.h | d2891a466f1c347c32c71e4c65233b6f36c5a24c | [] | no_license | presscad/ERP | a6acdaeb97b3a53f776677c3a585ca860d4de980 | 18ecc6c8664ed7fc3f01397d587cce91fc3ac78b | refs/heads/master | 2020-08-22T05:24:15.449666 | 2019-07-12T12:59:13 | 2019-07-12T12:59:13 | 216,326,440 | 1 | 0 | null | 2019-10-20T07:52:26 | 2019-10-20T07:52:26 | null | UTF-8 | C++ | false | false | 2,844 | h | #ifndef UDMSprVidNomImplH
#define UDMSprVidNomImplH
#include "IDMSprVidNom.h"
#include "UDMSprVidNom.h"
//---------------------------------------------------------------
class __declspec(uuid("{E8D6D98A-B1A8-4A10-B3D7-6F062C70447B}")) TDMSprVidNomImpl : public IDMSprVidNom
{
public:
TDMSprVidNomImpl();
~TDMSprVid... | [
"sasha@kaserv.ru"
] | sasha@kaserv.ru |
d64b71f6e1ec94195a88ffc8451590270ae2de59 | 31b7b197c63cb32b18ea623e10c4fb0a2af854ec | /11503.cpp | 72b9779c08056ce5e869249226cb6cb804c4fda7 | [] | no_license | flyrry/uva | 1e360c486835888e6a155e381ddd6149222d66b1 | 7d28408aa8a4b609d1b63bf224e8340986e0ce93 | refs/heads/master | 2016-09-05T17:52:57.661527 | 2015-05-05T13:33:19 | 2015-05-05T13:33:19 | 3,492,338 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,568 | cpp | #include <iostream>
#include <map>
#define MAX_FRIENDS 100000
using namespace std;
int parent[MAX_FRIENDS];
int rank[MAX_FRIENDS];
int sizes[MAX_FRIENDS];
int find_root(int x) {
if (x != parent[x])
parent[x] = find_root(parent[x]);
return parent[x];
}
int join_sets(int x, int y) {
int x_root = find_root(... | [
"sergeimail@gmail.com"
] | sergeimail@gmail.com |
15fbc7f017bd46443470bb5781e77fc0423f3896 | 283d1a3bae9162d16f7755a1b024a6bf709282bc | /SJ 3 Top 03conveyor/src/calibration/ofxLabGui/guiTypeCustom.h | bf7546b283f1c822945e0da86386dc463cf0e1cd | [] | no_license | imclab/SanJoseZero1 | aac1ada36a0f21ca43f3d2541c1458600d9ab762 | 4a99dea9850c056ff1930e6e6deebbf02f82956e | refs/heads/master | 2021-01-22T15:22:46.078940 | 2010-10-28T21:35:44 | 2010-10-28T21:35:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,157 | h | #pragma once
#include "guiBaseObject.h"
#include "guiColor.h"
#include "simpleColor.h"
#include "guiValue.h"
#include "guiCustomImpl.h"
class guiTypeCustom : public guiBaseObject{
public:
guiTypeCustom(){
custom = NULL;
bgColor.setSelectedColor(0, 0, 0, 255);
bgColor... | [
"brett@robotconscience.com"
] | brett@robotconscience.com |
266c1af7193e68fb71461321446e3bde52c290e7 | ef834f67b2d8e36c30ed0a83b4e42c3823cba6bd | /JS/NodeJS/TSR1/node_modules/zeromq/src/util/error.h | eed3a2266abebf991dc9d2f75ade3c4f96be6331 | [
"MIT"
] | permissive | SrVladyslav/proves | 76450ed8b138446f22ef43abf7d5a6592ae4133c | eed0fe05261cf2a3cd8762eb78850e23126be995 | refs/heads/master | 2020-08-02T08:22:14.328860 | 2020-05-10T12:35:27 | 2020-05-10T12:35:27 | 211,287,100 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,471 | h | /* Copyright (c) 2017-2019 Rolf Timmermans */
#pragma once
#include <errno.h>
namespace zmq {
static inline constexpr const char* ErrnoMessage(int32_t errorno);
static inline constexpr const char* ErrnoCode(int32_t errorno);
/* Generates a process warning message. */
static inline void Warn(const Napi::Env& env, con... | [
"vlama@inf.upv.es"
] | vlama@inf.upv.es |
8b99da781b4bbf17ae9e72d53c065ddbc6f34dc5 | 1f9dd42538105b317bc7bcf397ec43bb109b1187 | /code/LearnOpenGL/AdvancedLighting/ParallaxMapping/steep/window.cc | c86e5a5cf6a6123ab6c28373a2f4ad5edcc95230 | [] | no_license | Ron2014/Learn_OpenGL | 8752b72da0cabf4915200f3b4333a1740bf82679 | 83d9f45d13605997893299772d934fced21341d9 | refs/heads/master | 2022-11-05T10:41:12.579168 | 2020-06-26T16:05:55 | 2020-06-26T16:05:55 | 270,891,524 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,734 | cc | #include <iostream>
using namespace std;
#include "global.h"
#include <sstream>
#include <vector>
#include <map>
void cleanWindow();
void initWindow(int, char *[]);
void switchFullScreen();
void render();
void drawScene();
void drawQuad();
void scroll_callback(GLFWwindow* window, double xoffset,... | [
"dev_ron@163.com"
] | dev_ron@163.com |
0c71ad1ab3f861bc26d46be3ab813cdca8519665 | 4ed7dd878a2b34bace1fd91a49106eebe570a360 | /BZOJ/BZOJ2004.cpp | 7957e9d672136ec4d2cc643bbcdf7def30299968 | [] | no_license | mayukuner/AC | fb63be04a1fcf7f3af080aa50bf7c6e0e070b1b9 | c21b2970b7288d7b36cbed468101446c615e79ff | refs/heads/master | 2020-12-15T02:38:51.758676 | 2017-10-11T13:01:11 | 2017-10-11T13:01:11 | 46,971,415 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,400 | cpp | #include<stdio.h>
#include<algorithm>
#include<string.h>
#include<map>
#include<queue>
#include<set>
#include<vector>
#define For(i,n) for(int i=1; i<=n; i++)
#define Rep(i,n) for(int i=0; i<n; i++)
#define RC 126
#define MOD 30031
typedef long long LL;
using namespace std;
int rc;
struct Mat{
int num[RC][RC];
Ma... | [
"gmayukun@gmail.com"
] | gmayukun@gmail.com |
158ca02591e22bb7414a20a6653f4acb0012a8d7 | 7074e75936ada41b1290638a0f4ac5b5469890c6 | /be/src/dfs_cache/cache-mgr.hpp | 24d64749c652e26d7a7d91c4a97362279154c868 | [
"Apache-2.0"
] | permissive | DavidCohen17/ImpalaToGo | 41cada25b4284019a49530838baec5bfb53149cf | a1a79c0684d1319ee5c99aaf9b8a09c8392ba054 | refs/heads/master | 2021-01-17T11:32:57.340543 | 2016-07-12T15:09:50 | 2016-07-12T15:09:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,743 | hpp | /** @file cache-mgr.h
* @brief Definitions of cache entities managed and relevant for Cache layer.
*
* @date Sep 26, 2014
* @author elenav
*/
#ifndef CACHE_MGR_H_
#define CACHE_MGR_H_
#include <string>
#include <deque>
#include <utility>
#include <boost/mem_fn.hpp>
#include <boost/intrusive/set.hpp>
#inclu... | [
"elena.viter@yahoo.com"
] | elena.viter@yahoo.com |
27962a420851f701ec2a014d96ccf8a7806b0bef | 523e1ed8d5d341d63b0d78168d489f16253f066c | /FieaGameEngine/source/Library.Shared/DefaultHash.h | 17727ab37657a0e70ce44ce09e83cbc2ec70c790 | [] | no_license | kbliss94/FieaGameEngine | 42bd1b0946d8ad93e6151d77c928e25f22edd39b | 7bb24b8c95e4bad6757b6356e39a8862d965b91f | refs/heads/master | 2021-01-18T16:13:26.314588 | 2017-05-24T19:25:50 | 2017-05-24T19:25:50 | 86,729,635 | 0 | 0 | null | 2017-04-02T23:40:32 | 2017-03-30T17:24:08 | C++ | UTF-8 | C++ | false | false | 1,341 | h | #pragma once
#include <utility>
#include <string>
#include "Hashmap.h"
//!Templated class that hashes given values using additive hashing
namespace FieaGameEngine
{
template <typename TKey>
class DefaultHash
{
public:
std::uint32_t operator() (TKey key) const
{
std::uint8_t* data = reinterpret_cast<std::... | [
"Kaitlyn.Bliss@ucf.edu"
] | Kaitlyn.Bliss@ucf.edu |
0b33a963a2ee9916030bcc00a239d41a245c04da | e73189d7958f71101489953aced28ee044bbb864 | /C++only/ex25.cpp | 0bfae2446e42a9a882b8556baaf34cb586da75cc | [] | no_license | Wulnut/Learning-only | ca781ae0e249c789a38fd6c1712456c9fe1ac6b9 | d2e6b8447798dc8e1c8d7273606da5679a6fff0d | refs/heads/master | 2020-11-29T08:49:20.667802 | 2020-07-28T14:35:13 | 2020-07-28T14:35:13 | 230,073,170 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 537 | cpp | #include <bits/stdc++.h>
using namespace std;
const int N = 10001;
int n, m;
int f[N][N];
int v[N], w[N];
int main() {
cin >> n >> m;
for (int i = 0; i <= n; ++i) cin >> v[i] >> w[i];
for (int i = 1; i <= n; ++i) {
for (int j = 0; j <= m; ++j) {
f[i][j] = f[i - 1][j];
if ... | [
"985951964@qq.com"
] | 985951964@qq.com |
06370e60aedfbeda9163461049b509bffd9f45f2 | 204da3d847368fead8b4c1b3124619d64151a001 | /Verification_C.cpp | ad63941977727cb3295ea112f34fc864fc68b1fc | [] | no_license | taotaonice/pmpm | 5783ad86ba581664d9b85a1380d6a70fcf535b12 | e743548669aa535df508623e25e0666f009b12ee | refs/heads/master | 2023-04-12T13:18:28.264916 | 2021-05-09T07:29:55 | 2021-05-09T07:29:55 | 365,693,424 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 310 | cpp | //
// Created by taotao on 2021/4/7.
//
#include "Verification.h"
int main(){
VerClient client("127.0.0.1", "zt");
bool result = client.verify();
if(result){
printf("verified.\n");
}
else{
printf("denied.\n");
}
while (1){
sleep(1);
}
return 0;
} | [
"hutaonice@gmail.com"
] | hutaonice@gmail.com |
36397c978d19049f13cadcf1bcd38fbc6957f1e3 | 8dd39b654dde37c6cbde38a7e3a5c9838a237b51 | /segment tree(lazy propagation)/main.cpp | 20cf3135faf895b6e72bd663b02fb5940424c0c7 | [] | no_license | Taohid0/C-and-C-Plus-Plus | 43726bdaa0dc74860c4170b729e34cea268008fd | d38fd51851cc489302ad4ef6725f1d19f7e72ec2 | refs/heads/master | 2021-07-19T17:30:26.875749 | 2017-10-28T09:49:51 | 2017-10-28T09:49:51 | 108,636,340 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,686 | cpp | #include <iostream>
using namespace std;
int arr[100];
struct {
int sum,prop = 0;
}tree[300];
void init(int node,int b,int e)
{
if(b==e){
tree[node].sum=arr[b];
return;
}
int left = node*2;
int right = node*2+1;
int mid = (b+e)/2;
init(left,b,mid);
init(right,mi... | [
"taohidulii@gmail.com"
] | taohidulii@gmail.com |
bcf94113bb14bbb6abefd21d31e864777195faaf | e47a5b8b36761f288c5c7738bb5a1e820985230c | /Hima Rani Mathews/Loops/nNaturalNosReverse.cpp | 070557a4cd0da18266dbc1d70d20d1df404b66e7 | [] | no_license | codedazzlers/DSA-Bootcamps | 3a03e64c2514a3c4183b1c57b301a0827e96301a | f5a47dca998449e075f37b8bb4d075f6660bb083 | refs/heads/main | 2023-08-28T09:52:09.732810 | 2021-11-06T11:52:47 | 2021-11-06T11:52:47 | 408,450,942 | 13 | 66 | null | 2021-11-06T11:52:48 | 2021-09-20T13:18:44 | C++ | UTF-8 | C++ | false | false | 207 | cpp | #include<iostream>
using namespace std;
int main(){
int n;
cout<<"\nEnter the integer : ";
cin>>n;
cout<<"\nReverse of Natural Numbers from "<<n<<" to 1 : ";
for(int i=n;i>=1;i--){
cout<<i<<" ";
}
}
| [
"himaranimathews@gmail.com"
] | himaranimathews@gmail.com |
2d9a45d4392efe4e0f4f9876ed22136755e69d0e | bc9198126d77f1e4bf622a133fa62da77a1acbd5 | /src/Miner/BlockchainMonitor.h | b501dc93b28123b01df4c3aac7329810e652ab8a | [] | no_license | opentreasury/upscale.bank | ed3f6f51d764768da73c7196df65114f5484de8f | b3efaae7b54216575a4f637946d7c0727aaa36fa | refs/heads/master | 2023-08-03T03:35:40.157189 | 2018-01-05T11:13:21 | 2018-01-05T11:13:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 887 | h | // Copyright (c) 2011-2016 The UpscaleCoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#pragma once
#include "CryptoTypes.h"
#include <System/ContextGroup.h>
#include <System/Dispatcher.h>
#include <System/E... | [
"saranshisat@icloud.com"
] | saranshisat@icloud.com |
89d938f26807d41ffc70206c35336a4a3179925c | 399b5e377fdd741fe6e7b845b70491b9ce2cccfd | /LLVM_src/libcxx/test/std/localization/locale.categories/category.time/locale.time.get/locale.time.get.members/get_time.pass.cpp | c2523dc5d2e5224c1976383ca398521d5d26efc3 | [
"NCSA",
"LLVM-exception",
"MIT",
"Apache-2.0"
] | permissive | zslwyuan/LLVM-9-for-Light-HLS | 6ebdd03769c6b55e5eec923cb89e4a8efc7dc9ab | ec6973122a0e65d963356e0fb2bff7488150087c | refs/heads/master | 2021-06-30T20:12:46.289053 | 2020-12-07T07:52:19 | 2020-12-07T07:52:19 | 203,967,206 | 1 | 3 | null | 2019-10-29T14:45:36 | 2019-08-23T09:25:42 | C++ | UTF-8 | C++ | false | false | 3,447 | cpp | //===----------------------------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | [
"tliang@connect.ust.hk"
] | tliang@connect.ust.hk |
a57ecf640721ef7b7ed0e9b20b94399a46839454 | 54a03bb6129a298b27b9afdff9713edba3131200 | /lib/SemanticAnalysis/AliasTypeResolver.cpp | 7003f1e7bd17d5730fcebf21c2d501b1fad0ac46 | [
"NCSA",
"MIT"
] | permissive | rnshah9/mayhem-locic | d45874a944dfce6ba2d5ca5f8ab06b24d323d8ff | a24bb380e17f8af69e7389acf8ce354c91a2abf3 | refs/heads/master | 2023-03-20T03:47:28.405108 | 2019-12-15T16:41:24 | 2019-12-15T16:41:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,260 | cpp | #include <memory>
#include <unordered_map>
#include <locic/AST/Node.hpp>
#include <locic/AST/ValueDecl.hpp>
#include <locic/SemanticAnalysis/AliasTypeResolver.hpp>
#include <locic/SemanticAnalysis/Context.hpp>
#include <locic/SemanticAnalysis/ConvertValue.hpp>
#include <locic/SemanticAnalysis/Exception.hpp>
#include <... | [
"scross@scross.co.uk"
] | scross@scross.co.uk |
881c1b5baf33a2e03e38b082b26f82fa63c0b1d7 | bb27717cf77a5952bf1a8ec91eda949a08ebae5f | /Decorator/code/Component.hpp | 280655cc21785469f5c79a5550591536a7ec297c | [
"MIT"
] | permissive | HONGYU-LEE/DesignPatterns | fd5736eb74eef75a0f74605e204ecf9ab12745fc | b725a4daa07e13f7eaf8b2cfe9f8da6ffb491918 | refs/heads/main | 2023-01-29T13:55:49.928701 | 2020-12-13T09:11:30 | 2020-12-13T09:11:30 | 307,950,127 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 235 | hpp | #pragma once
#include<string>
class Beverage
{
public:
virtual ~Beverage() = default;
virtual double cost() = 0;
virtual std::string getDescription()
{
return _desc;
}
protected:
std::string _desc;
}; | [
"756687451@qq.com"
] | 756687451@qq.com |
a8f7a2c1d404377881268f0154604a7cfa8335c3 | e2bb8568b21bb305de3b896cf81786650b1a11f9 | /SDK/SCUM_Baseball_Cap_02_classes.hpp | 2b3fa9907c3deb036a2bbaafda2ce98860b802ac | [] | no_license | Buttars/SCUM-SDK | 822e03fe04c30e04df0ba2cb4406fe2c18a6228e | 954f0ab521b66577097a231dab2bdc1dd35861d3 | refs/heads/master | 2020-03-28T02:45:14.719920 | 2018-09-05T17:53:23 | 2018-09-05T17:53:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 671 | hpp | #pragma once
// SCUM (0.1.17) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "SCUM_Baseball_Cap_02_structs.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Classes
//---------------------------------------------------------------------------
// Blue... | [
"igromanru@yahoo.de"
] | igromanru@yahoo.de |
2bb75ec4e6837dc76cf0c397d0e0ca272bcdd3db | 8a59dc760c737af5937fa6503717b47a3561f49d | /freecss/791A/a.cpp | 5087394f35b756b33ddf1eed7b17f7a7d21b2f63 | [] | no_license | KarlFreecss/LRBC | df3a54ce2c21cef47822be4cc078dc097275ff0f | d7ec13d60221b985a795913421d0e7aa387428fd | refs/heads/master | 2021-01-17T11:25:08.807296 | 2017-12-16T01:55:14 | 2017-12-16T01:55:14 | 84,033,557 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 204 | cpp | #include <bits/stdc++.h>
using namespace std;
int main(){
int L, B;
cin >> L >> B;
for (int i = 1; i; ++i) {
L *= 3;
B *= 2;
if (L > B) {
cout << i << endl;
break;
}
}
return 0;
}
| [
"karlfreecss@gmail.com"
] | karlfreecss@gmail.com |
aa6b0eb2e32b78b0d3016f04178bc19248884e22 | 00a2411cf452a3f1b69a9413432233deb594f914 | /src/sqthird/codec/modprc4.cpp | 2d31fcb4b9b5752f07beeb372f47b9eb1cf24657 | [] | no_license | willing827/lyCommon | a16aa60cd6d1c6ec84c109c17ce2b26197a57550 | 206651ca3022eda45c083bbf6e796d854ae808fc | refs/heads/master | 2021-06-26T21:01:21.314451 | 2020-11-06T05:34:23 | 2020-11-06T05:34:23 | 156,497,356 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,408 | cpp | #include <codec/detail/modprc4.h>
namespace snqu {
RC4Algo::RC4Algo() {};
RC4Algo::~RC4Algo() {};
void RC4Algo::rc4_encrypt_data(void * pData,int dwBufLen,char * szKey,int nKeyLen)
{
rc4_key key;
prepare_key((unsigned char*)szKey,nKeyLen,&key);
rc4((unsigned char*)pData,dwBufLen,&key);
}
void RC4Algo::p... | [
"willing827@163.com"
] | willing827@163.com |
3085cdc66e7f68a32a2d009f507b2c86bbc1db34 | 78dd6da948c8138217923f243dd245773c49aa8b | /sgd_cpu_weight_update.cpp | 76621798a1419385663458a71eab9e476bdb7f5c | [] | no_license | vpa1977/viennacl_binding_native | 57c785d8eb183f1b1bad0617fb15c572eda9307f | 5e1585ca9335dd6668543c51d7344ff1896f71ac | refs/heads/master | 2021-01-10T01:32:07.389361 | 2016-03-09T00:26:21 | 2016-03-09T00:26:21 | 47,543,798 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,651 | cpp | #include <viennacl/forwards.h>
#include <viennacl/context.hpp>
#include <viennacl/abstract_kernel.hpp>
#include <viennacl/vector.hpp>
#include <viennacl/matrix.hpp>
#include <viennacl/matrix_proxy.hpp>
#include <viennacl/compressed_matrix.hpp>
#include <viennacl/linalg/sparse_matrix_operations.hpp>
#include <viennacl/l... | [
"vpa1977@gmail.com"
] | vpa1977@gmail.com |
458db1f7288bd16dd11c8c2526ffca2fdf0079f2 | 8fd2bd5eb49e5325d3329bd54751778ea14a7e70 | /bloc-3/MyGLWidget.h | 1a411f7132ba38fba0875a500694e06abfac28d3 | [] | no_license | Martiruhay/idi | dcc47a7f3bfc3d7321794fe366b3890092ff6b30 | 60213ce7f061852fab92190197492e1cd2ab4034 | refs/heads/master | 2021-01-18T17:34:15.097135 | 2016-12-20T13:21:54 | 2016-12-20T13:21:54 | 71,925,525 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,386 | h | #define GLM_FORCE_RADIANS
#include <QOpenGLFunctions_3_3_Core>
#include <QOpenGLWidget>
#include <QOpenGLShader>
#include <QOpenGLShaderProgram>
#include <QKeyEvent>
#include <QMouseEvent>
#include "glm/glm.hpp"
#include "glm/gtc/matrix_transform.hpp"
#include "model.h"
class MyGLWidget : public QOpenGLWidget, protec... | [
"marti.lloveras@est.fib.upc.edu"
] | marti.lloveras@est.fib.upc.edu |
2939471fe6dee26d701c2f95f1fa0b0d07269cf5 | d091ce72bb4d59ceceea7d69a0ab109788a773f7 | /Source/Common/UtilDir.cpp | 8b09bb06d14fd37f8ba9c21d3caaed66e20be43d | [] | no_license | SammyLan/OpenSource | 39cf5ba5fe324088ea8eff101ffbd09b2e866a3b | 59c691a4b298243ce7e54865ce69dd65fdb7416b | refs/heads/master | 2016-09-06T08:57:49.860367 | 2014-07-19T10:57:40 | 2014-07-19T10:57:40 | 21,890,891 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 390 | cpp | #include "StdAfx.h"
#include <Include\UtilDir.h>
CString Util::Dir::GetAppDir()
{
TCHAR modulePath[MAX_PATH];
::GetModuleFileNameW(NULL,modulePath,MAX_PATH);
CStringW strPath(modulePath);
return strPath.Left(strPath.ReverseFind(_T('\\')));
}
CString Util::Dir::GetDataDir()
{
CString strAppDir = GetAppDir();
ret... | [
"sammylan234@gmail.com"
] | sammylan234@gmail.com |
824a8860ab5789368b126b9b877a48ddb93a7ee7 | 0ed7f07521f90aec9050e72f84189aefd4e8acbc | /whatdoesthefoxsay.cpp | 0239099cbc5ec5d99a5e1f9afac3dbc94671370e | [] | no_license | leonardo-lim/kattis | d4e9b163f245ed1b399d6b479be73c7e9e2054c4 | 1fb5bae41880da98086822311808558f59a7178b | refs/heads/main | 2023-08-14T06:30:56.419815 | 2021-10-01T05:13:07 | 2021-10-01T05:13:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 894 | cpp | #include <bits/stdc++.h>
using namespace std;
int main() {
int t, len, j = 0;
string x, y, sound, word;
map<string, int> m;
cin >> t;
cin.ignore();
while (t--) {
getline(cin, x);
while (true) {
getline(cin, y);
if (y == "what does the fox say?") break;
len = y.size();
for (i... | [
"leonardolim178@gmail.com"
] | leonardolim178@gmail.com |
6016c701fa31794828ea07f820b05c448be8b7af | da753dc994335426cf69ad6b2acb8b6832c2d1e3 | /src/aimp/aimp3_sdk/AIMPSDKCore.h | a1818d7f42d8c8ab5dd88e1d22c54139eaa40418 | [
"MIT"
] | permissive | AviciiPL/aimp-control-plugin | 529d0ffef75d224498867b9ca7c43d0020f52ac4 | 88e55ef60a4ca8def03431dad955599c0deed1aa | refs/heads/master | 2021-01-18T03:54:18.246323 | 2019-06-15T20:01:14 | 2019-06-15T20:01:14 | 65,844,147 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,101 | h | /* ******************************************** */
/* */
/* AIMP Plugins API */
/* v3.50.1200 (17.11.2012) */
/* CoreUnit Objects */
/* */
/* ... | [
"alexey0ivanov@gmail.com"
] | alexey0ivanov@gmail.com |
eb8e75f702240f9d1178e74197f5129fe69c115f | 7acbb1c1941bd6edae0a4217eb5d3513929324c0 | /GLibrary-CPP/sources/GThread.cpp | 5ec0eaf1dd6a48fd7cd52b0850c7d399215bf8cf | [] | no_license | hungconcon/geofreylibrary | a5bfc96e0602298b5a7b53d4afe7395a993498f1 | 3abf3e1c31a245a79fa26b4bcf2e6e86fa258e4d | refs/heads/master | 2021-01-10T10:11:51.535513 | 2009-11-30T15:29:34 | 2009-11-30T15:29:34 | 46,771,895 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 887 | cpp |
#include "GThread.h"
GThread::GThread(GFunction ptr)
{
this->_set = true;
this->_start = false;
this->_function = ptr;
}
GThread::GThread(void)
{
this->_set = false;
this->_start = false;
}
GThread::~GThread(void)
{
}
void GThread::Abort(void)
{
if (this->_set == true && this->_start == true)
{
#if defined... | [
"mvoirgard@34e8d5ee-a372-11de-889f-a79cef5dd62c"
] | mvoirgard@34e8d5ee-a372-11de-889f-a79cef5dd62c |
db447326bced028614cd16d91553ca9862670437 | 9617cf59d8e4f06a3d46dd358e1d1cab0c71853a | /10.27/ex10.27.cpp | 38dce34f1fbea393027463f1c300cf419d61dd2a | [] | no_license | peterocean/cplusplus-primer | f51ae4741858bebdeea6fd8a879710ba46107c6d | 1c23b9b1c18c2448923d0663c577fe944a790f08 | refs/heads/master | 2021-01-01T19:24:25.518123 | 2015-11-08T08:54:49 | 2015-11-08T08:54:49 | 39,620,528 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 778 | cpp | #include <vector>
#include <string>
#include <list>
#include <iostream>
#include <algorithm>
using std::vector;
using std::list;
using std::string;
void print_vector(const vector<int> vec)
{
for (auto it = vec.cbegin(); it != vec.cend(); it++) {
std::cout << *it << " ";
}
std::cout << std::endl;
}
void print... | [
"yyf10601@163.com"
] | yyf10601@163.com |
2d0e2f5d8684ff975ba7592aa5130c86e5c142f4 | b5d3af37ba1dc5c0f6d4b5f5af706ced1ac5cd73 | /4/4.04-threading-misc-histogram/solutions/instruction-03/worker.cc | ae23bb545425d7c4fae5ae1d3bba88731aa13c4f | [
"MIT"
] | permissive | reble/HOW-Series-Labs | 8245ba77e97cea2033714a3f463f9eef49785da4 | 9e487be19ea8f16c8534825cb4cf9a31d8f0e93c | refs/heads/master | 2020-04-28T07:35:29.218312 | 2019-03-13T23:00:53 | 2019-03-13T23:00:53 | 175,098,088 | 0 | 0 | MIT | 2019-03-11T23:12:39 | 2019-03-11T23:12:39 | null | UTF-8 | C++ | false | false | 1,464 | cc | void Histogram(const float* age, int* const hist, const int n, const float group_width,
const int m) {
#ifdef __MIC__
const int vecLen = 16; // Length of vectorized loop (lower is better,
// but a multiple of 64/sizeof(int))
#else
const int vecLen = 32; // Length of vectorized loo... | [
"ryo@colfax-intl.com"
] | ryo@colfax-intl.com |
a4592b4a64226b68aba22f4e3b48a01fef3a8b51 | 1b28e004adc4d365eb70165719c08e59cc1d8b10 | /list-160.cpp | 09767291640f1562145038b002e4dd5abd36e9e0 | [] | no_license | weirme/leetme | e5a98abdc0816dbe87292172c41c328513640898 | 0e3d4c40c8e122cde8f50ab541b182041c53078d | refs/heads/master | 2022-06-08T15:21:26.554825 | 2022-02-19T11:23:51 | 2022-02-19T11:23:51 | 203,276,581 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 944 | cpp | #include <cstdio>
#include <cstdlib>
#include <cstring>
#include <cmath>
#include <iostream>
#include <vector>
#include <string>
#include <queue>
#include <stack>
#include <map>
#include <unordered_map>
#include <unordered_set>
#include <algorithm>
#include "types.h"
using namespace std;
const int INF = 0x7fffffff;
... | [
"weirme@foxmail.com"
] | weirme@foxmail.com |
81e1f7bd57f24b522074f627436b36ed6f60ecfe | a3380b8557a6c1285e466abbc715255de250c29c | /src/hacker_rank/introduction.cpp | 735f8f785756066f9566e7cda1c4f5e1b0ca36f6 | [] | no_license | zrma/1d1cpp | 9a26de9608c9aa1d379d20712a38610b22a4adc9 | d8a9b270a37d01026a20622b505fe2956d9bcba4 | refs/heads/master | 2023-01-28T17:12:37.013969 | 2023-01-23T17:00:09 | 2023-01-23T17:00:09 | 204,497,547 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,931 | cpp | //
// Created by zrma on 2019-08-28.
//
#include <algorithm>
#include <iostream>
#include <numeric>
#include <string>
#include "introduction.h"
void hello_world() {
std::cout << "Hello, World!";
}
void input_and_output(const std::vector<int> &arr) {
std::cout << std::accumulate(arr.begin(), ar... | [
"bulbitain@gmail.com"
] | bulbitain@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.