blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 7 100 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 260
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 11.4k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 17
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 80
values | src_encoding stringclasses 28
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 8 9.86M | extension stringclasses 52
values | content stringlengths 8 9.86M | authors listlengths 1 1 | author stringlengths 0 119 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f03be7799f7be18acf18aebb517c87ae020769d7 | 27a9f38fe49e6fcaa64b376694998fc4635f770f | /MeshViewer/Geodesics/geodesic_constants_and_simple_functions.h | 54e217f4d011750201afa4b03e9ffbfc0f975557 | [] | no_license | zhangk430/MeshViewer | 37039929a7f38d2a5b418642ec7f6dfbeaeda44c | 379542fac17bb6d08c55518f4aa6d0af3cde0ce8 | refs/heads/master | 2021-01-10T21:58:35.725534 | 2015-10-19T11:44:48 | 2015-10-19T11:44:48 | 40,841,724 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,888 | h | //Copyright (C) 2008 Danil Kirsanov, MIT License
#ifndef GEODESIC_CONSTANTS_20071231
#define GEODESIC_CONSTANTS_20071231
// some constants and simple math functions
#include <assert.h>
#include <math.h>
#include <limits>
#include <fstream>
#ifdef min
#undef min
#endif
namespace geodesic{
#ifndef M_PI
#define M_PI... | [
"zhangk430@gmail.com"
] | zhangk430@gmail.com |
e0b023bc9312814c2693c6ade00e2e191fade62b | 38570f997b3fe8a9f03e1863ab2bf8de7189b1f5 | /DBStatLIb/Column.cpp | 2f5b1d5f362d4b0dffd13add05c1337ddeb656f0 | [] | no_license | BRIGADA-B/DBStatLIb | 2a1827445c5eee3002c389c5254ff4c2946b38e7 | 87b7c5691bf482e7585b811233fd6f115e697216 | refs/heads/master | 2021-04-30T03:33:36.721761 | 2018-10-07T16:06:07 | 2018-10-07T16:06:07 | 121,517,009 | 1 | 2 | null | 2018-10-07T16:06:08 | 2018-02-14T14:00:18 | C++ | UTF-8 | C++ | false | false | 574 | cpp | #include "Column.h"
namespace dbmanager {
void Column::SetType(DBType dbtype)
{
dbtype_ = dbtype;
}
void Column::SetLength(int length)
{
length_ = length;
}
void Column::SetColumnName(const std::string & name)
{
columnName_ = name;
}
DBType Column::GetDbtype() const
{
return dbtype_;
}
int Col... | [
"sinimawath@gmail.com"
] | sinimawath@gmail.com |
2ae1bb1b407ad69451d3c0792a7a1768c1e6fca3 | dbbfaa251da8fe95e4e656a7c8b0950e077e9a51 | /Functions/pruningFunctions.cpp | c550ad70616556e5201d4ef914c0a4565583e942 | [] | no_license | sbianchin/TargetAnalysis | ac8c9a7a68906aa57e7f82dfadb8930fbe7985e5 | 11acff186a91b7d4fff4f8f66124316ba1aa9cbe | refs/heads/master | 2020-03-31T15:13:17.730536 | 2018-10-09T22:36:15 | 2018-10-09T22:36:15 | 146,795,124 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,807 | cpp | /*
* Created by Sebastien Bianchin on 2018-07-24 (s.bianchin@triumf.ca)
*/
#include <iostream>
#include <vector>
#include <math.h>
#include "TGraph.h"
#include "pruningFunctions.hpp"
#include "DetectorGeometry.hpp"
#include "CommonParameters.hpp"
namespace DG = DetectorGeometry;
namespace CP = CommonParameters;
v... | [
"s.bianchin@gmail.com"
] | s.bianchin@gmail.com |
3a8ab3602094b38d111f2fdc2003272d3c0c4544 | 04b1803adb6653ecb7cb827c4f4aa616afacf629 | /base/pickle.cc | c8d784a3a8243e9ea586cbeec9b631ed62bbd04f | [
"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 | 12,458 | cc | // Copyright (c) 2012 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 "base/pickle.h"
#include <stdlib.h>
#include <algorithm> // for max()
#include <limits>
#include "base/bits.h"
#include "base/macros.h"
#... | [
"sunny.nam@samsung.com"
] | sunny.nam@samsung.com |
dce90c8dafd5280b7660930e9345225abb2b5c93 | 8c0266134815a22c634553a57a855abad9832ce4 | /Geometry/dialog.cpp | dcbae8c1ecd62612f3a4d54daeb09c70f84df44b | [] | no_license | rxy-possible/QtExample | 9c9d00d89772d9dd1bcf17df670b8f7e8bfe820b | 771a7cfe15947c5cff96e175c78a32a81549df5c | refs/heads/master | 2023-08-28T06:35:36.064912 | 2021-09-25T12:42:46 | 2021-09-25T12:42:46 | 399,064,747 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,091 | cpp | #include "dialog.h"
#include <QDebug>
Dialog::Dialog(QWidget *parent)
: QDialog(parent)
{
setWindowTitle(tr("Geometry"));
xLabel = new QLabel(tr("x():"));
xValueLabel = new QLabel();
yLabel = new QLabel(tr("y():"));
yValueLabel = new QLabel();
FrmLabel = new QLabel(tr("Frame():"));
FrmV... | [
"rxy18645231697@163.com"
] | rxy18645231697@163.com |
88e3fc68fe749d161629b9b6d639529410186efb | 2ba94892764a44d9c07f0f549f79f9f9dc272151 | /Engine/Source/Runtime/IOS/IOSRuntimeSettings/Private/IOSRuntimeSettings.cpp | 835df106900fdf9aba21dbae438ac6ffc8e19ce6 | [
"BSD-2-Clause",
"LicenseRef-scancode-proprietary-license"
] | permissive | PopCap/GameIdea | 934769eeb91f9637f5bf205d88b13ff1fc9ae8fd | 201e1df50b2bc99afc079ce326aa0a44b178a391 | refs/heads/master | 2021-01-25T00:11:38.709772 | 2018-09-11T03:38:56 | 2018-09-11T03:38:56 | 37,818,708 | 0 | 0 | BSD-2-Clause | 2018-09-11T03:39:05 | 2015-06-21T17:36:44 | null | UTF-8 | C++ | false | false | 3,418 | cpp | // Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
#include "IOSRuntimeSettingsPrivatePCH.h"
#include "IOSRuntimeSettings.h"
UIOSRuntimeSettings::UIOSRuntimeSettings(const FObjectInitializer& ObjectInitializer)
: Super(ObjectInitializer)
{
bEnableGameCenterSupport = true;
bEnableCloudKitSupport = false;... | [
"dkroell@acm.org"
] | dkroell@acm.org |
8fd4fdee8f18213aa960525f7a300843329f3830 | 8c331685de6f0e8725b326ca74c593a14b912fc9 | /src/Room.cpp | db3395c93b1e93d2074643d46771a7f73bf6622c | [] | no_license | magedavee/mygame | bbc60b2660227ab0e2d346e0ba7d46db9b5afbc9 | 22723a6eabe3e018a50da80d0e61b499dbab017a | refs/heads/master | 2021-06-06T13:50:03.840641 | 2018-11-18T23:33:48 | 2018-11-18T23:33:48 | 7,384,367 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 514 | cpp | #include"Room.h"
#include <iostream>
#include <memory>
using namespace std;
REGISTER_ROOM(Room)
Room::Room()
{
//cerr<<"db. Room\n";
auto& factory=ObjectFactory::getInstance();
auto obj=factory.getPlugin("Magus");
s_obj= vector<shared_ptr<Object>>();
s_obj.push_back(obj);
}
void Room::update()
{
... | [
"dvdavee@email.wm.edu"
] | dvdavee@email.wm.edu |
756fba2236939eab74f0fccd5779501a4e417f01 | ce80d0da332985ea3aecd0381feae9ea65649a51 | /Contests/Google Code Jam/2014/Google Code Jam 2014/Google Code Jam - May 03/Problem B. New Lottery Game/lottery.cpp | dbfda478c398a5d5ae67e981e5fd6de1c1427cc0 | [] | no_license | EstebanFS/Competitive-Programming | e3c1e35073b5a713ba553c2c0548433f7c41aa3c | b154c833098086f69177883c4f38bf58f428186f | refs/heads/master | 2022-09-29T22:01:22.692452 | 2022-09-13T16:15:20 | 2022-09-13T16:15:20 | 10,339,018 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,039 | cpp | //Esteban Foronda Sierra
using namespace std;
#include <algorithm>
#include <iostream>
#include <iterator>
#include <numeric>
#include <sstream>
#include <fstream>
#include <cassert>
#include <climits>
#include <cstdlib>
#include <cstring>
#include <string>
#include <cstdio>
#include <vector>
#include <c... | [
"estebanforondasierra@Estebans-MacBook-Air.local"
] | estebanforondasierra@Estebans-MacBook-Air.local |
82b9c1473b62cf415575604a2432523e7d4ce924 | 9af88fbc14af49918e326ac939bc435e6d4c9132 | /include/CachedElement.h | 9335f8c3e343116a2ddc11d2f936039da97038eb | [
"MIT"
] | permissive | bungle/CoolProp | a74cd8b12235101442058affc77fcca3e0bcb3f3 | 88fe0d3d895d74b515a21cb5079c265a88083bcf | refs/heads/master | 2023-03-20T02:15:27.792751 | 2015-02-02T10:00:14 | 2015-02-02T10:00:14 | 30,015,503 | 1 | 0 | null | 2015-01-29T10:32:58 | 2015-01-29T10:32:57 | null | UTF-8 | C++ | false | false | 1,725 | h | /*
* CachedElement.h
*
* Created on: 21 Dec 2013
* Author: jowr
*/
#ifndef CACHEDELEMENT_H_
#define CACHEDELEMENT_H_
#include "CoolPropTools.h"
#include "DataStructures.h"
namespace CoolProp {
/*!
A class that contains the magic to cache a value.
Includes an "=" assignment operator and casting to boolea... | [
"ian.h.bell@gmail.com"
] | ian.h.bell@gmail.com |
1bca2b21a3bc81fca592e2224e9bd4d2a16e3d31 | 642e07d31f88a5e68f83856d87774a4531733e51 | /Homework 4/ExtCalc/parser.hpp | 8d7c8f1a30a96b40d3e6c9bb7bc034ae5af0d56b | [] | no_license | draganjovic/Compiler-Design | 0a9160ac1b02c2cac2862540906bd74f04eee6d0 | 29ad3b2a022e49708f78ca8a90131387e7eeeaa7 | refs/heads/master | 2021-01-22T08:02:59.244446 | 2019-12-03T02:26:41 | 2019-12-03T02:26:41 | 81,871,618 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,132 | hpp | #ifndef PARSER_HPP
#define PARSER_HPP
#include "ast.hpp"
#include "prelude.hpp"
#include "evaluate.hpp"
#include "lexer.hpp"
#include <iostream>
#include <vector>
class Parser {
private:
std::vector<Token*> t;
std::vector<Token*>::iterator it;
context* cxt;
// return if there are no more tokens
... | [
"noreply@github.com"
] | noreply@github.com |
87273963578ccaa4e30f35f21a534a1305f52700 | fe1b2ad7fd98fc2ccfa2b9aae75b77209a15f19c | /Primer/9_seq_containers/CP5_ex9_24.h | adba1b5a0c877d7539df63f97c0c4772baa55b62 | [] | no_license | timtingwei/cppd | 58519d403272b4ea35ab350bdfbd771d0ce1ccde | 8e0caf97fbed3a0c24ab21ca44f1750f376534f8 | refs/heads/master | 2018-10-10T14:58:09.419241 | 2018-07-06T22:13:06 | 2018-07-06T22:13:06 | 109,270,504 | 1 | 2 | null | 2018-07-14T13:22:38 | 2017-11-02T13:46:59 | C++ | UTF-8 | C++ | false | false | 661 | h | /* ------------------------------
Copyright <2018> [Tim Hu]
email: timtingwei@gmail.com
------------------------------
File:CP5_ex9_24.h
Date:Fri Jun 22 19:22:56 CST 2018
-----------------------------
*/
#ifndef CP5_ex9_24_h
#define CP5_ex9_24_h
#include <iostream>
#include <vector>
using st... | [
"timtingwei@hotmail.com"
] | timtingwei@hotmail.com |
8f104f0cedb9b5f1705caadc3b5591ac94acfc21 | d3e6039edeeffa71e4c4c5ca2e4b07862ae00c8e | /算法习题/1831050171 王婧 3-1.cpp | a741c06e54d8dc4dff607d8cf2d1f4bccdab6fc0 | [] | no_license | WJ-0928/algorithm | 4cf031bf00e657e1752348746bb6943feaa5b14d | 99c752b21347b97014ac3a81c3f32198228dacca | refs/heads/master | 2022-12-29T10:14:06.415188 | 2020-10-15T08:21:53 | 2020-10-15T08:21:53 | 304,040,064 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,504 | cpp | /*
问题描述:
用2台处理机A和B处理n个作业。设第i个作业交给机器A处理时需要时间ai,若由机器B来处理,则需要时间bi。
由于各作业的特点和机器的性能关系,很可能对于某些i,有ai>bi,而对于某些j,j≠i,有aj>bj。
既不能将一个作业分开由2台机器处理,也没有一台机器能同时处理2个作业。
设计一个动态规划算法,使得这2台机器处理完这n个作业的时间最短(从任何一台机器开工到最后一台机器停工的总时间)。
研究一个实例:
(a1,a2,a3,a4,a5,a6)=(2,5,7,10,5,2);(b1,b2,b3,b4,b5,b6)=(3,8,4,11,3,4)。
对于给定的2台处理机A和B处理n个作业,找出一个最优调度方案,使... | [
"1031160332@qq.com"
] | 1031160332@qq.com |
3eb526c921aa3558f1c1a0a05bf950b7664b670e | 39b831ae89e0ba0627b2631482efcf4b3e5e67b4 | /include/trisycl.hpp | f3216f5bcf83aa22400ce85a0ad8120c867cac32 | [
"NCSA"
] | permissive | triSYCL/triSYCL | 082a6284ade929925fab02cbf9ac25e40c1a0ea1 | 929ec95fae74e1123734417a95577842a9911a6f | refs/heads/master | 2023-08-17T10:40:46.579696 | 2023-08-15T20:59:10 | 2023-08-15T20:59:10 | 18,943,874 | 437 | 74 | NOASSERTION | 2023-09-08T17:14:25 | 2014-04-19T15:19:51 | C++ | UTF-8 | C++ | false | false | 3,668 | hpp | #ifndef TRISYCL_TRISYCL_HPP
#define TRISYCL_TRISYCL_HPP
/** \file
\mainpage
This is the main triSYCL C++ header file to experiment with the
SYCL specification.
It declares everything into the \c ::trisycl namespace instead of
\c ::cl::sycl for SYCL 1.2.1 to express triSYCL specific extensions
... | [
"andrew.gozillon@yahoo.com"
] | andrew.gozillon@yahoo.com |
d0fccc068789e40eda0f7988ebaea4cdc8182d7f | c3898910aa11a29b780758aaffbd5b686e206ab9 | /include/Dunjun/ShaderProgram.hpp | 3b9ca7c61a5b405a8d578047c7804b6c49afc384 | [] | no_license | rsvargas/dunjun | 2aebfd6888649c08cdde090e48557c2834d60e9b | db3fcda6150b85f18c29be02c0fafe9a6543eb0f | refs/heads/master | 2021-01-10T04:28:59.184006 | 2016-01-18T01:52:55 | 2016-01-18T01:52:55 | 49,845,468 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,383 | hpp | #ifndef DUNJUN_SHADERPROGRAM_HPP
#define DUNJUN_SHADERPROGRAM_HPP
#include <Dunjun/Common.hpp>
#include <GL/glew.h>
#include <GLFW/glfw3.h>
#include <string>
namespace Dunjun
{
enum class ShaderType
{
Vertex,
Fragment,
};
class ShaderProgram
{
public:
ShaderProgram();
virtual ~ShaderProgram();
... | [
"rsvargas@gmail.com"
] | rsvargas@gmail.com |
b5d6fde7346b9048f140ae5d2b067d1683b59000 | b410ebaf2a74822b387825465625bde72c08f96e | /src/qt/poriun/txviewholder.cpp | e56d951dac4ca0f71350520c13175e633204465f | [
"MIT"
] | permissive | freelancerstudio/PoriunCoin | 925c94558dc03d2f8310bde14ab4768a923fd44b | 7d675d4d163702eb7072cafda52e7a58ef6e169c | refs/heads/master | 2023-04-21T20:56:55.178694 | 2021-05-06T08:46:03 | 2021-05-06T08:46:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,273 | cpp | //Copyright (c) 2019 The PIVX developers
//Copyright (c) 2020 The Poriun Coin developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "qt/poriun/txviewholder.h"
#include "qt/poriun/qtutils.h"
#include "transactiontab... | [
"hello@poriun.com"
] | hello@poriun.com |
91cf172c9a9369cf3e83939fe5d019e94c68687e | 5b702c0311e041b2a04763be9dd69bfccc4bfe5a | /Tic-tac-toe/Player.cpp | 6475f20b1126147b9b5dc958a4325aa1a39fde17 | [] | no_license | locpk/Programming-I | 77769c7ee814b448a465e5268593f20a38adb802 | 66b00001f889a0bb4c44fa2198a806e60e6280aa | refs/heads/master | 2021-01-01T16:06:56.475314 | 2014-11-06T20:44:32 | 2014-11-06T20:44:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,412 | cpp | #include "Functions.h"
using namespace System;
using std::cout;
using std::cin;
using std::endl;
void PlayerMoves(int* iPlayerRow, int* iPlayerCol, size_t* iOffsetx, size_t* iOffsety)
{
Console::SetCursorPosition(*iOffsetx, ++*iOffsety);
//Player move
cout << "Which Row? (0 >> 2)";
cin >> *iPlayerRow;
//row... | [
"locpk123@gmail.com"
] | locpk123@gmail.com |
8d0f23225f23b62020e114d1741edd960d41595b | fe430f8018fcf94f51903601b76be95d6a70119c | /sortings.cpp | 04f6538734450feb96d559bfc424f1004f8c0422 | [] | no_license | madiken/Autocomplete | 2ff0d5b9ced972d2aa65e2a0bb22edb539fa4f48 | 2cdd23e9aa51fdcb713db89b91b1a6e41e8d3e5b | refs/heads/master | 2021-01-10T07:44:53.820310 | 2015-09-27T08:39:56 | 2015-09-27T08:39:56 | 43,225,303 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,165 | cpp | #include <iostream>
#include <vector>
#include <iostream> // std::cout
#include <algorithm> // std::shuffle
#include <array> // std::array
#include <random> // std::default_random_engine
#include <chrono> // std::chrono::system_clock
using namespace std;
void insertionsort(vector<i... | [
"jane.echo90@gmail.com"
] | jane.echo90@gmail.com |
f949605733802205f78174ce824718bdd413e941 | d5897c93caf298bc69f514b9bf021f3562d51af5 | /tensorflow/compiler/xla/service/spmd/spmd_partitioner_test.cc | 10551fd797b3e98234c557cca5794684bd039ff7 | [
"Apache-2.0",
"MIT",
"BSD-2-Clause"
] | permissive | l30831/tensorflow | c3856c2fddb837294d9c0286174d8a172aaf64b2 | ca4ad064f994eb4577ee5391ecd471745d81476c | refs/heads/master | 2023-04-04T16:14:23.643803 | 2021-04-13T01:09:42 | 2021-04-13T01:14:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 318,463 | cc | /* Copyright 2020 The TensorFlow Authors. 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 by applicable law or a... | [
"gardener@tensorflow.org"
] | gardener@tensorflow.org |
98a28ea2b951c0886a3e52dedf8f2c79d7ba3469 | 62b021aec0aa47bb7566aa8517d4d7d1878001df | /include/rtti/metanamespace.h | a8de4e1e475704504bf6d3e8e1537505e64aea56 | [
"MIT"
] | permissive | elohim-meth/rtti | 7939c4acb9cf6a8a1d0b50e779c99c0614effa37 | c208d5b69d5d6bffb658a3b4bbdbc10d6224fed2 | refs/heads/master | 2021-06-18T06:23:24.063751 | 2021-03-10T10:02:16 | 2021-03-10T10:02:16 | 39,070,468 | 13 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 834 | h | #ifndef METANAMESPACE_H
#define METANAMESPACE_H
#include <rtti/metacontainer.h>
namespace rtti {
class MetaNamespacePrivate;
class RTTI_API MetaNamespace final: public MetaContainer
{
DECLARE_PRIVATE(MetaNamespace)
public:
static MetaNamespace const* global();
bool isGlobal() const;
MetaCategory ca... | [
"elohim-meth@yandex.ru"
] | elohim-meth@yandex.ru |
c67b9dd291dd1d1f44c263f767029c88cdde335a | c477e9f106f52369901ba3946f30f5af6df4b930 | /src/Fish.h | a2bb98a823cd63016482f122218345a8fe60cfc6 | [] | no_license | richelbilderbeek/GenomeAdmixR | 84ce904c8a87939bf9bb7684c117a06b05820637 | 8f7b0e4ebd4b5d484635cd25ceb5b481e343e95a | refs/heads/master | 2022-12-06T21:46:19.003792 | 2020-08-20T13:11:20 | 2020-08-20T13:11:20 | 289,009,428 | 0 | 0 | null | 2020-08-20T13:11:21 | 2020-08-20T13:09:37 | null | UTF-8 | C++ | false | false | 677 | h | //
// Fish.hpp
//
//
// Created by Thijs Janzen on 02/11/2017.
//
//
#ifndef Fish_hpp
#define Fish_hpp
#include <stdio.h>
#include <vector>
struct junction {
long double pos;
int right;
junction();
junction(long double loc, int B) ;
junction(const junction& other);
bool operator ==(const j... | [
"thijsjanzen@gmail.com"
] | thijsjanzen@gmail.com |
e93c00f9dabd02bc9b5783dfee72763b8a11aaec | 733f41021ad37851a02b1ddcff1c455c9d9409a8 | /src/render_pipeline/enn_shadow_pre_pass.cpp | d896738e28d770db07692234de99c8ab9fc0cff6 | [] | no_license | zengqh/glRenderEngine | e8470abbd9e0e4093ca1065634d0845ff12b2ba6 | 7ae1033271857e4e19e53b034a348a9534106969 | refs/heads/master | 2020-04-02T10:43:45.241443 | 2018-10-23T15:32:11 | 2018-10-23T15:32:11 | 154,352,063 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,436 | cpp | //
// Copyright (c) 2013-2014 the enn project.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, mer... | [
"zengqh.mansion@gmail.com"
] | zengqh.mansion@gmail.com |
c2fcb550cc91667ca968f15eebf1b243405b7667 | 05f66db47fdb07e6001f5c1356ada68244c5a1d8 | /Estructura de Datos/Apuntes/punteros/strings.cpp | 49990c1ebf08519a6ffad2de4d03c79efa3e5b7d | [] | no_license | Portilloglez95/Lenguaje-c | 197011f0daa89622893de70b3a904801c495d9fb | 0c363b8962dfde684e955c98eb492d1d2da203d8 | refs/heads/master | 2020-04-08T04:00:59.314927 | 2017-11-15T13:20:08 | 2017-11-15T13:20:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 644 | cpp | /*
Fecha: 14/02/2017
Nota: Para declara una cadena por medio de punteros lo indicamos al
momento de declararla (char *identificador = "contenido";)
*identificador (accede al dato almacenado)
identificador (accede a la direccion de memoria)
*/
#include <cstdio>
int main()
{
// Declaramos una cadena
... | [
"source.compu@gmail.com"
] | source.compu@gmail.com |
0b63bd58c9dfad9a85091af49cd346fb417d3ed7 | 826d8ce73bc03a8de50232663dc3806f60d85bd3 | /Usuario_arreglos/include/Estadistica.h | 595af719b66951c947a012f7b7e9b4ad93d2f48e | [] | no_license | LaTrifuerza/Proyectazo | 20d7443e20173919b53464eb1810078ddd4aeed4 | 656cc0f6ef9df51d9cf07bcfe345a891a5b23fcd | refs/heads/master | 2020-09-09T16:14:47.106129 | 2019-11-29T12:25:59 | 2019-11-29T12:25:59 | 221,493,683 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 536 | h | #ifndef ESTADISTICA_H
#define ESTADISTICA_H
#include "Usuario.h"
#include <iostream>
#include <stdlib.h>
#include <string.h>
#include <fstream>
#include <string>
#include <vector>
using namespace std;
class Estadistica:public Usuario
{
private:
float IMC;
float auxPeso;
... | [
"noreply@github.com"
] | noreply@github.com |
a5b6d21b8c15233b67d944c5543a881281813f63 | 02099155d15b3d65330abc7276b13c8deff68e94 | /A/A. Letter/main.cpp | 0aedae1ff2d100d2324f2977862bdd357544a65f | [] | no_license | xUser5000/competitive-programming | d7c760fa6db58956e472dd80e24def0358bbb5a8 | 90337c982dd3663a69f2d19021e692f1edb1b3a5 | refs/heads/master | 2023-06-26T21:56:02.452867 | 2021-07-23T22:39:49 | 2021-07-23T22:39:49 | 288,557,139 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 451 | cpp | #include <bits/stdc++.h>
using namespace std;
int main()
{
map<char,int> mp;
string a, b;
getline(cin, a);
getline(cin, b);
for (char ch: a) {
if (ch == ' ') continue;
mp[ch]++;
}
for (char ch: b) {
if (ch == ' ') continue;
if (mp.find(ch) == mp.end() || ... | [
"abdallah.11306@stemmenof.moe.edu.eg"
] | abdallah.11306@stemmenof.moe.edu.eg |
04c841a316d25b08c3fe79890653216a6ff54a8d | 0f2a1fa07030c8043db3dd4dc3ae5857c3070dcf | /D6-codes/strategy/LCGenerator.cpp | 8139a31b4e39eb119f1620d448c98fa5acb119ae | [] | no_license | pdicerbo/P1.5 | 0e271e458a1672bfd5273b63cf406264154e5dc1 | 400c31bc869efe0c40fefeabf8864fd546be3658 | refs/heads/master | 2021-01-19T03:47:55.305010 | 2015-11-17T12:22:31 | 2015-11-17T12:22:31 | 69,650,531 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 415 | cpp | /* Created by G.P. Brandino for the Course P1.5 - Object Oriented Programming @ MHPC
* Last Revision: November 2015
*/
#include "LCGenerator.h"
LCGenerator::LCGenerator()
:
_seed( 0 ), _a( 1103515245 ), _c( 12345 ), _m( 1<<31 )
{
}
void LCGenerator::seed(unsigned int s )
{
_seed=s;
}
float LCGenerator:... | [
"brandino@sissa.it"
] | brandino@sissa.it |
336f3735cec000f41ad228dd3d9bebaf0cb01e93 | 959bad0c9b9a198f2865c412ffa2122496433eb9 | /problemset/atcoderDP/g.cpp | b7b0d6de7efdb8885879958b168cebc748b512d5 | [] | no_license | leviwc/CompetitiveProgramming | 599d072dc8ecb6f53fe5db57ca11c517d74dce1b | 0a839b0800cb825e19dcf85cfdc726e9cb213086 | refs/heads/main | 2023-06-19T01:24:44.915108 | 2021-07-19T20:09:02 | 2021-07-19T20:09:02 | 386,133,800 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,790 | cpp | #include <bits/stdc++.h>
using namespace std;
#define ll long long
const ll INF = 2e18;
#define int long long
#define pb push_back
#define mp make_pair
#define pii pair<int, int>
#define vi vector<int>
#define all(x) begin(x), end(x)
#define sz(x) (int)(x).size();
#define endl "\n"
#define fastio \
cin.tie(N... | [
"leviwc3@hotmail.com"
] | leviwc3@hotmail.com |
2ea437cb1fa8c1b47f5785b32afab3f58e846146 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/httpd/gumtree/httpd_new_hunk_671.cpp | 87b056e4a560a37aac528de29e16981bb7364da3 | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,985 | cpp | /* Copyright 1999-2005 The Apache Software Foundation or its licensors, as
* applicable.
*
* 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-... | [
"993273596@qq.com"
] | 993273596@qq.com |
154de783d57cf7a42ea1ddbc86362e20ffaeae99 | cf7ae4ac2644daa52e0f7c5ae30c72b66d15fc7f | /LegendDataEditor/LegendDataEditor/Sqlite/Data/TDBuff.h | 462b287fad196b42a12cceb0c5625ad7480626b1 | [] | no_license | ZHOURUIH/GameEditor | 13cebb5037a46d1c414c944b4f0229b26d859fb5 | eb391bd8c2bec8976c29047183722f90d75af361 | refs/heads/master | 2023-08-21T10:56:59.318660 | 2023-08-10T16:33:40 | 2023-08-10T16:33:40 | 133,002,663 | 18 | 21 | null | null | null | null | UTF-8 | C++ | false | false | 581 | h | #ifndef _TD_BUFF_H_
#define _TD_BUFF_H_
#include "SQLiteData.h"
class TDBuff : public SQLiteData
{
public:
static const char* ID;
static const char* Name;
static const char* Description;
static const char* NotifyPlayer;
static const char* NotifyOthers;
public:
int mID;
string mName;
string mDescription;
boo... | [
"785130190@qq.com"
] | 785130190@qq.com |
6c6a49f6ce51b2923048525fd9f24b1ecb8a2bb2 | d0700ba442a0239abce547cda15e3a70537a29fe | /copy.cpp | 8bd714ba8b2aee3e1c493246df1cdfc25d519a5a | [] | no_license | ClausKlein/samples | 9fd369f1f40b3d44c3b26a4d159f89c7ab77c42a | 07563fb9f90df1459df61e4f15d3c68a00edb29a | refs/heads/develop | 2021-07-05T08:57:01.365290 | 2020-11-12T09:00:02 | 2020-11-12T09:00:02 | 200,117,955 | 1 | 0 | null | 2020-10-30T22:40:20 | 2019-08-01T20:54:34 | C++ | UTF-8 | C++ | false | false | 1,161 | cpp | /* copy.cpp
Copy the file named argv[1] to a new file named in argv[2].
*/
#include <fstream>
#include <iostream>
#include <string.h>
using namespace std;
int main(int argc, char *argv[])
{
if (strcmp(argv[1], "--help") == 0) {
cerr << argv[0] << " [old-file [new-file]]" << endl;
exit(EXIT_F... | [
"claus.klein@arcormail.de"
] | claus.klein@arcormail.de |
dee8131bfbddf057e8ebe7d4747f4a14e4e01edb | 78da2c3fc16fb25587576c406b101a7e07e35c6a | /src/run_upload_task.hh | 22ef6465ae02d9b419006728acde1baca97fe75e | [
"Apache-2.0",
"CC-BY-4.0"
] | permissive | amoe/figshare-uploader | a0ff57710a2c4fce9efa46705b7aed01781e2118 | 6a2c32c8521891e7f5e37670e7adb37dafbda3da | refs/heads/master | 2023-06-23T02:32:02.736670 | 2023-06-13T07:04:08 | 2023-06-13T07:04:08 | 113,032,906 | 7 | 1 | Apache-2.0 | 2022-09-23T16:24:49 | 2017-12-04T11:13:08 | C++ | UTF-8 | C++ | false | false | 609 | hh | #include <QObject>
#include <QThread>
#include <QString>
#include "slot_adapter.hh"
#include "driver_thread.hh"
#include "mapping_types.hh"
class RunUploadTask : public QObject {
public:
RunUploadTask(
Driver* driver, StringAdapter adapter, StringAdapter errorAdapter,
string inputPath, const Mapp... | [
"amoebae@gmail.com"
] | amoebae@gmail.com |
811c9776497bf0a5cc68a49b67036e7a63b78e7a | 744bdc8b6929eb67069b3332b9eb0ac1386a96a7 | /misc/UndoStack.cpp | e7f6749e97a5768f44164ff0e6e786aa321c2b79 | [] | no_license | adam-davis/CS-Capstone | dc426d91e99df639462212c4548f96f68f98ea0d | 955dfc5614fe73356aa9016ccac388e380a938c9 | refs/heads/master | 2016-09-06T01:59:44.600307 | 2012-08-05T00:22:49 | 2012-08-05T00:22:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 695 | cpp | #include "UndoStack.h"
void UndoStack::saveUndoState(QImage& theImage)
{
undoVector.push_back(new QImage(theImage));
undoPointer++;
}
UndoStack::~UndoStack()
{
for(int i = 0; i < undoVector.size();i++)
delete undoVector[i];
}
void UndoStack::undo(QImage& theImage)
{
if(undoPointer >= 0)
{
if(undoPointer > ... | [
"adavis71@kent.edu"
] | adavis71@kent.edu |
14a4613b5e20e396aaaa58fd1ef68812fe55416f | 08ae5bb64b354f65f5bcd938771a67e848b76868 | /Week_04/153_findMin.cpp | 0e61a3a8ba15e5da3c2ba0cbbb18bc33257d6f54 | [] | no_license | larry07/algorithm014-algorithm014 | b6be762a64ab37af11ce246cd93698f009f5e5bf | 63ccaac82cdebbbb2443f58ca723e06d491c2330 | refs/heads/master | 2023-01-06T14:04:06.523964 | 2020-10-31T15:51:52 | 2020-10-31T15:51:52 | 286,749,464 | 0 | 0 | null | 2020-08-11T13:17:41 | 2020-08-11T13:17:40 | null | UTF-8 | C++ | false | false | 983 | cpp | class Solution {
public:
int findMin(vector<int>& nums) {
if(nums.empty())return -1;
int n = nums.size();
if(n==1||nums[0]<nums[n-1])return nums[0];//不保证一定拆为2个升序 {1,2}
int left = 0;
int right = nums.size() - 1;
while (left < right)
{
int mid = le... | [
"wangyulongx@163.com"
] | wangyulongx@163.com |
5cc29b5a66f0e0b3eb40585f5a5ef5f8aeb45e2c | 163162f1834a18d529991fd2f3d2a3a18b7fd4e1 | /code2.cpp | b1768e38384f1dbe1d936eecd98fdabbfea14910 | [] | no_license | windersegura/proyectoalgritmos | 89b0e5235ee3ade2c2d2941b6de0e464b6a45eaf | d810833a741be98b1d0ac604f2e6bb2cd9ddaae2 | refs/heads/master | 2021-05-02T13:44:28.809552 | 2017-03-08T08:51:00 | 2017-03-08T08:51:00 | 72,668,191 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 947 | cpp | #include <iostream>
#include <fstream>
#include <conio.h>
#include <string>
#include <cstdlib>
#include <ctype.h>
using namespace std;
void pausa ();
void pausa (){
cout<<"Desea volver al menu 's' / 'n' "<<endl;
getwchar();
//getwchar();
}
/*void funcion_venta(){
int cantidad=0... | [
"noreply@github.com"
] | noreply@github.com |
8102e35ef8832e74f7a4c650d55c3eacfa8dcea9 | b08698f3a84923b9308aad61eb4d71aa808ba06f | /src/testApp.h | d938903c3b03c9bc9923c4ce5da1884cfa30b8ce | [] | no_license | tomschofield/triggerShiftKinectToOsc | bc767f5346b983c029dc353807ab61a72092e6b0 | ea4ffa181fbc3b9e576b77e87c55a411c740fe51 | refs/heads/master | 2021-01-23T13:29:17.760480 | 2012-04-24T16:12:54 | 2012-04-24T16:12:54 | null | 0 | 0 | null | null | null | null | MacCentralEurope | C++ | false | false | 3,488 | h | /*
cc tom schofield 2012
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.
I acknowledge the following code libraries
oxOpenNI,
Copyright 2011 (c) Matthew Gingold http://gingold.com.au
* Originally forked from a project by roxlu http://www.roxlu.com/
... | [
"tomschofieldart@gmail.com"
] | tomschofieldart@gmail.com |
1ee9646334a4c082987ee242e610002a60c378ae | 0edbcda83b7a9542f15f706573a8e21da51f6020 | /private/shell/cplwiz/access/pgwizopt.cpp | 732fcddc7be3be233d088d9c74a4053c6f3297c8 | [] | no_license | yair-k/Win2000SRC | fe9f6f62e60e9bece135af15359bb80d3b65dc6a | fd809a81098565b33f52d0f65925159de8f4c337 | refs/heads/main | 2023-04-12T08:28:31.485426 | 2021-05-08T22:47:00 | 2021-05-08T22:47:00 | 365,623,923 | 1 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 6,057 | cpp | #include "pch.hxx" // pch
#pragma hdrstop
#include "resource.h"
#include "pgWizOpt.h"
CWizardOptionsPg::CWizardOptionsPg(
LPPROPSHEETPAGE ppsp
) : WizardPage(ppsp, 0, 0)
{
m_dwPageId = IDD_WIZOPTIONS;
ppsp->pszTemplate = MAKEINTRESOURCE(m_dwPageId);
}
CWizardOptionsPg::~CWizardOptionsPg(
VOID
)
{
}... | [
"ykorokhov@pace.ca"
] | ykorokhov@pace.ca |
8e3b51f67467e3c8c6563b72b181160ed68abc96 | f7630e0933c2cf480f869e361680a269f1ac50aa | /sololearn/IsogramDetector/IsogramDetector.cpp | 9b11c45f9776b12764635a11f77ab0a48453cd86 | [] | no_license | chankruze/challenges | 9a4ef0065e92d404676333c99b02bd22c6b52922 | daf494e7775bb0de5afcfdcfd45aa73e6a950e0e | refs/heads/master | 2022-02-17T06:20:22.946043 | 2021-02-03T11:46:44 | 2021-02-03T11:46:44 | 202,938,560 | 5 | 5 | null | 2022-02-07T17:52:27 | 2019-08-17T22:59:13 | C++ | UTF-8 | C++ | false | false | 536 | cpp | /*
Author: chankruze (chankruze@geekofia.in)
Created: Tue Aug 25 2020 21:24:53 GMT+0530 (India Standard Time)
Copyright (c) Geekofia 2020 and beyond
*/
#include <iostream>
#include <string>
#include <unordered_set>
using namespace std;
bool isIsogram(string word) {
unordered_set<char> set;
for (char c : wo... | [
"chankruze@gmail.com"
] | chankruze@gmail.com |
a3f3074db6c94f44a02b7a08271c98629a23ef8c | 77b91ed9e8f72ee913af0a39c64ebcc7aaf3388a | /xcbb/xcbb/xutils.h | ba378409c7455cb0c32b749786b3e604f86050b1 | [] | no_license | eaglenature/XCBB | 70a821004f85eca9f972453b50fcebfc7bcebece | 234184f3811202e1f47095c29cd7dee0cc613c61 | refs/heads/master | 2016-08-02T22:16:05.709441 | 2013-05-03T16:38:32 | 2013-05-03T16:38:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,190 | h | /*
* <xcbb/xutils.h>
*
* Created on: Apr 1, 2013
* Author: eaglenature@gmail.com
*/
#ifndef XUTILS_H_
#define XUTILS_H_
#define WARP_SIZE 32
struct NoValue {};
template <typename T>
struct IsKeyOnly
{ static const bool value = false; };
template <>
struct IsKeyOnly<NoValue>
{ static const bool value = ... | [
"eaglenature@gmail.com"
] | eaglenature@gmail.com |
708e1fbc371eb3e7f6d27cfdb2cba7d6631c25c9 | 612325535126eaddebc230d8c27af095c8e5cc2f | /src/net/http/http_network_transaction_ssl_unittest.cc | 890d7ed4a0e0e47790ae2fe478912dc5ae105447 | [
"BSD-3-Clause"
] | permissive | TrellixVulnTeam/proto-quic_1V94 | 1a3a03ac7a08a494b3d4e9857b24bb8f2c2cd673 | feee14d96ee95313f236e0f0e3ff7719246c84f7 | refs/heads/master | 2023-04-01T14:36:53.888576 | 2019-10-17T02:23:04 | 2019-10-17T02:23:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,880 | cc | // Copyright (c) 2012 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 <memory>
#include <string>
#include <vector>
#include "base/deferred_sequenced_task_runner.h"
#include "base/memory/ptr_util.h"
#i... | [
"2100639007@qq.com"
] | 2100639007@qq.com |
2fc672844e63177f9bd2dece3703f924426eef42 | 9c16d6b984c9a22c219bd2a20a02db21a51ba8d7 | /components/signin/core/browser/account_tracker_service.h | 327124e18a9ba7f0cfd17c94efc226ed70d16190 | [
"BSD-3-Clause"
] | permissive | nv-chromium/chromium-crosswalk | fc6cc201cb1d6a23d5f52ffd3a553c39acd59fa7 | b21ec2ffe3a13b6a8283a002079ee63b60e1dbc5 | refs/heads/nv-crosswalk-17 | 2022-08-25T01:23:53.343546 | 2019-01-16T21:35:23 | 2019-01-16T21:35:23 | 63,197,891 | 0 | 0 | NOASSERTION | 2019-01-16T21:38:06 | 2016-07-12T22:58:43 | null | UTF-8 | C++ | false | false | 5,894 | h | // 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.
#ifndef COMPONENTS_SIGNIN_CORE_BROWSER_ACCOUNT_TRACKER_SERVICE_H_
#define COMPONENTS_SIGNIN_CORE_BROWSER_ACCOUNT_TRACKER_SERVICE_H_
#include <list>
#incl... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
9cd14cb85c64f5cd228e2c2687b25f4737836c86 | dc9c7c3c48efa0f1c58af04f24cdd726258a8a4d | /PTA作业/数据结构第2章/7-3.cpp | 38dbcd8c1a445c911e4346f1d61403ca094c3e8d | [] | no_license | Whiteyingshan/DataStructureClass | f6373f98ca2f63e74d0d6c688ff2048712e4ca94 | 9decfb85eda9596997cf63a7fe0a847d9e20d139 | refs/heads/master | 2020-07-18T06:59:03.455484 | 2019-11-13T01:29:45 | 2019-11-13T01:29:45 | 206,201,723 | 2 | 0 | null | null | null | null | GB18030 | C++ | false | false | 609 | cpp | #include<iostream>
using namespace std;
#define LL long long
//n个人编号为1到n,从1开始报数,报到k出列,返回m(<=n)个出列的人
LL Josephus(LL n, LL k, LL m) {
if (k == 1)return m;
LL x = (k - 1) % (n + 1 - m);
for (LL i = n + 1 - m; i < n;) {
LL y = min((i - x + k - 2) / (k - 1) - 1, n - i);
if (y)x += y * k, i += y... | [
"a1746345173@163.com"
] | a1746345173@163.com |
010f610c7414c1501bf8ba2678920430f12645b8 | e72b9816962f1070b75e8f6c0f1d31663d147aee | /ontap/lthdt-bai2.cpp | 5447995d7bed97f8e09aa6560385770a65710a54 | [] | no_license | DevDKhanh/bai_tap_lthdt | 4afeee468826e45a1d5b270eeb4d1833af141e86 | 37e659feda6f075423329a8e0590b2e5fafa42f5 | refs/heads/master | 2023-08-14T21:13:59.786557 | 2021-10-19T03:51:10 | 2021-10-19T03:51:10 | 397,417,129 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,944 | cpp | /*
Thoi gian co gio, phut. Gio co gia tri tu 0-23, phut co gia tri tu 0-59. Nhap vao thoi gian bat dau va so
phut lam bai thi cua 1 ca thi.
Yeu cau su dung toan tu >> , << de nhap vao va dua ra thoi gian o danh h:mm,
su dung toan tu + de thoi gian voi so phut, thoi gian ban dau
duoc khoi tao gia tri tu dong voi gio p... | [
"duykhanh06.work@gmail.com"
] | duykhanh06.work@gmail.com |
83c0df46bef94fc620af13f35f5498ca075d3f88 | 644c0b6d7053bff658bdc58c3eaff3adbe8a1197 | /devices/gizmodev.h | 3c05bb674112c9ab732e0496beb56844b0062a8a | [] | no_license | digetx/tegra2_qemu_trace_viewer | d35a8cb4962d51fcfb9a69c764209ab01e59f36b | 39769ca66b8d0a386fd6760b0362908486672c0a | refs/heads/master | 2020-12-20T21:36:44.116265 | 2017-01-12T13:43:52 | 2017-01-12T13:43:52 | 38,266,845 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,835 | h | /*
* Copyright (c) 2014-2015 Dmitry Osipenko <digetx@gmail.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; either version 2 of the License, or
* (at your option) any later versi... | [
"digetx@gmail.com"
] | digetx@gmail.com |
0d4e384a342e290217465f14bf75d34663ad0c41 | 44b30e2db14761b90f133e86eca8c994261240c9 | /SecB/14-Nov19/bin2stream1.cpp | c1ea380d09df132c83de0a342d8c5235fac4346f | [] | no_license | FahdW/OOP344-20123 | 1edfa66ce2faaf763721d84ba206c8c736b82ca9 | fbfe7fc18e8ef53aedaa4882c5058fb614082331 | refs/heads/master | 2021-01-09T20:32:31.749417 | 2012-12-11T16:00:19 | 2012-12-11T16:00:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,211 | cpp | #include <iostream>
#include <fstream>
#include <cstring>
using namespace std;
class Employee{
char _name[15];
char _lastname[30];
int _empno;
double _salary;
public:
Employee(const char* name="", const char* lastname="", int empno=0, double salary=0.0){
set(name, lastname, empno, salary);
}
void se... | [
"fardad.soleimanloo@senecacollege.ca"
] | fardad.soleimanloo@senecacollege.ca |
9f8a35eb8d9aa8fb5b47549fa076fb1071f8c7b6 | 777a75e6ed0934c193aece9de4421f8d8db01aac | /src/Providers/UNIXProviders/AssociatedPrivilege/UNIX_AssociatedPrivilege.cpp | e9564eebaab3ecbc083f6ca74658b35ed028ab7c | [
"MIT"
] | permissive | brunolauze/openpegasus-providers-old | 20fc13958016e35dc4d87f93d1999db0eae9010a | b00f1aad575bae144b8538bf57ba5fd5582a4ec7 | refs/heads/master | 2021-01-01T20:05:44.559362 | 2014-04-30T17:50:06 | 2014-04-30T17:50:06 | 19,132,738 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,336 | cpp | //%LICENSE////////////////////////////////////////////////////////////////
//
// Licensed to The Open Group (TOG) under one or more contributor license
// agreements. Refer to the OpenPegasusNOTICE.txt file distributed with
// this work for additional information regarding copyright ownership.
// Each contributor lice... | [
"brunolauze@msn.com"
] | brunolauze@msn.com |
7a69abd44b5ff01f1293035e69a97afc0f50c705 | 8c3e8be610ee359b81348112eafad82c606dfa54 | /Code/RDGeneral/catch_logs.cpp | 6e1891cc0433ec7856ac8972153d730baacc742f | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | rvianello/rdkit | db67adf0ad6441438516448d89b6846ee8f91b72 | a384878fbe368807cc417cbb5fc492bc89f9ec3f | refs/heads/master | 2023-08-22T15:03:58.579271 | 2023-08-15T02:59:14 | 2023-08-15T02:59:14 | 169,120,054 | 2 | 1 | BSD-3-Clause | 2023-08-19T14:41:18 | 2019-02-04T17:40:31 | HTML | UTF-8 | C++ | false | false | 3,763 | cpp | //
// Copyright (C) 2022 Greg Landrum
//
// @@ All Rights Reserved @@
// This file is part of the RDKit.
// The contents are covered by the terms of the BSD license
// which is included in the file license.txt, found at the root
// of the RDKit source tree.
//
#include <string>
#include <iostream>
#include <fstr... | [
"noreply@github.com"
] | noreply@github.com |
1a3e0b4309003e4fa8dee234891d4c3a8234d280 | 88d287769d6d4bd4140082857ce1eb7edad5d31f | /leetcode-cpp/530. Minimum Absolute Difference in BST[e].cpp | c45add49884e9c87be55baca0b586c63ed904882 | [] | no_license | xhygh/hello-world | 618fbf4e8aa9bfc8cb8937c552a70e5e6e437753 | ba3eadd3953535dad76e4690fb2fb40305f254f0 | refs/heads/master | 2020-12-06T14:44:44.030545 | 2017-07-11T10:23:21 | 2017-07-11T10:23:21 | 65,993,930 | 2 | 0 | null | 2016-08-19T14:52:50 | 2016-08-18T12:07:48 | Python | UTF-8 | C++ | false | false | 2,871 | cpp | /*
Given a binary search tree with non-negative values, find the minimum absolute difference between values of any two nodes.
Example:
Input:
1
\
3
/
2
Output:
1
Explanation:
The minimum absolute difference is 1, which is the difference between 2 and 1 (or between 2 and 3).
tags: binary search ... | [
"noreply@github.com"
] | noreply@github.com |
af1d14dfdfa01df6f0e15c910ed06700e264c611 | 1305023dc5933375d916d3d0221fa8b5f8526628 | /Practicum/week 13/Examples/Visitor/Rectangle.cpp | a79044b736312c8489687fcd1edaf7a80cbfb458 | [] | no_license | RosinaGeorgieva/ObjectOrientedProgramming2021 | 60720fbd9f5e4d3532c747ff3ec20324c1411ec7 | 5ae0ca4b553e10df1e7a5d6566932c68643402da | refs/heads/main | 2023-05-23T18:18:46.296181 | 2021-06-21T16:44:03 | 2021-06-21T16:44:03 | 341,258,041 | 0 | 0 | null | 2021-02-22T16:08:18 | 2021-02-22T16:08:17 | null | UTF-8 | C++ | false | false | 631 | cpp | #ifndef __RECTANGLE_CPP
#define __RECTANGLE_CPP
#include "Visitor.h"
#include "Rectangle.h"
Rectangle::Rectangle(int x, int y, int width, int height, const char* text) : Shape(x, y, text), mWidth(width), mHeight(height) {
}
Shape* Rectangle::clone() const {
return new Rectangle(*this);
}
void Rectangle::accept(Vi... | [
"g.shavov@abv.bg"
] | g.shavov@abv.bg |
6f04089dcadeb0fd1cad82c05acea748d6f0816c | 1768e2512411b9aa987aacdbe38a0201c0db404b | /sgd-comm/test_hash.cpp | 6b6cb08511912e357c00ef7cf0d846e0c370c2be | [
"MIT"
] | permissive | a1exwang/dirty-linux-experiments | f424d055cbb177e7b98ff13d8ab0993fb3400172 | fb7f89e32e066e764045ab5a50f96d11d6173afe | refs/heads/master | 2021-06-04T06:21:17.103885 | 2020-08-10T05:09:21 | 2020-08-10T05:09:21 | 150,535,300 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,748 | cpp | #include "cache.hpp"
#include <cassert>
using namespace std;
int main() {
std::vector<std::pair<std::set<int>, std::tuple<int64_t, int64_t, int64_t, int64_t, int64_t>>> table = {
// total_images > total_cached_images
{{}, {90, 8, 1, 2, 100}},
// one replication
{{0}, {0, 2, 1, 2, 4}},
{{1}... | [
"ice_b0und@hotmail.com"
] | ice_b0und@hotmail.com |
b8dd2ac1158de1687206157bfb6450574ea9c11f | 203d7b7e3792acb8e7ccf0ca6feda8dc5b70ce60 | /srcAmiga/modeler/opengl.cpp | 7d2a57b70638cb1b48af8a43d4b87ebb4d708224 | [
"MIT"
] | permissive | Kalamatee/RayStorm | 44e40882b5aff6fbefa3209bf6706cd402868dc3 | 1adb8f50478f795973aa51dcceb02682d671b41d | refs/heads/master | 2020-12-11T03:38:15.490729 | 2019-06-21T15:32:22 | 2019-06-21T15:32:22 | 37,782,719 | 4 | 0 | null | 2015-06-20T19:22:47 | 2015-06-20T19:22:47 | null | UTF-8 | C++ | false | false | 1,850 | cpp | /***************
* PROGRAM: Modeler
* NAME: opengl.cpp
* DESCRIPTION: OpenGL platform specific implementation
* AUTHORS: Andreas Heumann, Mike Hesser
* HISTORY:
* DATE NAME COMMENT
* 02.03.98 ah initial release
***************/
#ifndef OPENGL_H
#include "opengl.h"
#endif
#... | [
"andreasheu@gmail.com"
] | andreasheu@gmail.com |
5a2ec1b9006fd071806755c576092e993e2adef4 | fdecb4cfcf13c8113fd741b2976b2daf208a9e26 | /src/scheme_resolver.cpp | b6bf4aa6350d5c81646e47552012696d25ee8148 | [
"MIT"
] | permissive | zionlang/zion | cb1a3a50ff51775e042c89933571fe1d19017f15 | 5b4df370766e342fd4efffff34cd8966990f9ac4 | refs/heads/master | 2023-01-04T21:56:43.501770 | 2023-01-02T17:07:56 | 2023-01-02T22:48:50 | 184,154,262 | 49 | 2 | NOASSERTION | 2020-08-27T04:35:04 | 2019-04-29T22:42:36 | C++ | UTF-8 | C++ | false | false | 2,838 | cpp | #include "scheme_resolver.h"
#include "dbg.h"
#include "tld.h"
#include "unification.h"
#include "user_error.h"
namespace types {
SchemeResolver::SchemeResolver(const SchemeResolver *parent) : parent(parent) {
}
bool SchemeResolver::scheme_exists(std::string name) const {
return (state.count(name) == 1) ||
... | [
"williambbradley@gmail.com"
] | williambbradley@gmail.com |
e422cf8973762334893f9545cd78bbc035845917 | 1fccc3615b400a119e43ee85d10b739430ee17d4 | /tests/integration/cancel_integration.cpp | bfb37e06d3894af0c45ff23c80fe5ae655436b1d | [] | permissive | yandex/ozo | c34de66e75dc8c11ed211e933149c498966cb272 | abb098aea4b992b6d06391f892e100d829e50188 | refs/heads/master | 2023-03-20T07:40:24.181802 | 2023-03-10T07:33:30 | 2023-03-10T11:40:08 | 106,461,599 | 229 | 48 | PostgreSQL | 2023-03-10T11:40:09 | 2017-10-10T19:24:45 | C++ | UTF-8 | C++ | false | false | 3,074 | cpp | #include <ozo/connection_info.h>
#include <ozo/cancel.h>
#include <ozo/execute.h>
#include <ozo/shortcuts.h>
#include <boost/asio/spawn.hpp>
#include <gtest/gtest.h>
#include <gmock/gmock.h>
#define ASSERT_REQUEST_OK(ec, conn)\
ASSERT_FALSE(ec) << ec.message() \
<< "|" << ozo::error_message(conn) \
... | [
"orionstation@yandex.ru"
] | orionstation@yandex.ru |
3b486eb9bbf895a91e6cde8be00cc5d7510445f4 | a7db885685690fdf9bceaff5e9fc5aa39b293304 | /1176c.cpp | 4b3a44202044e3d474552c112bc4b6f51d6f2764 | [] | no_license | vikas0o7/important_cpp_questions | 825aafdaf5efceff7f599a450c77ef68620396a2 | 557b5299dd6d181505cc6580e9cb948476a94102 | refs/heads/master | 2020-10-02T01:56:15.566418 | 2019-12-12T18:48:51 | 2019-12-12T18:48:51 | 227,674,566 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 867 | cpp | #include<bits/stdc++.h>
#define io ios_base::sync_with_stdio(false)
#define mp make_pair
#define pb push_back
using namespace std;
#define error(args...) { string _s = #args; replace(_s.begin(), _s.end(), ',', ' '); stringstream _ss(_s); istream_iterator<string> _it(_ss); err(_it, args); }
void err(istream_iterator<st... | [
"vikasdevil.singh834@gmail.com"
] | vikasdevil.singh834@gmail.com |
f68759451c13ef9ad3a21eda82d68e743b9db2a3 | e5720f95696653b496e5f927eac7492bfb9f132c | /0501-1000/0941-Valid-Mountain-Array/cpp_0941/Solution1.h | 7c4fc14cf2717376ba75537de442daacc62b22fd | [
"MIT"
] | permissive | ooooo-youwillsee/leetcode | 818cca3dd1fd07caf186ab6d41fb8c44f6cc9bdc | 2cabb7e3e2465e33e4c96f0ad363cf6ce6976288 | refs/heads/master | 2022-05-24T15:37:19.652999 | 2022-05-15T01:25:31 | 2022-05-15T01:25:31 | 218,205,693 | 12 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 593 | h | /**
* @author ooooo
* @date 2020/9/30 16:54
*/
#ifndef CPP_0941__SOLUTION1_H_
#define CPP_0941__SOLUTION1_H_
#include <iostream>
#include <vector>
using namespace std;
class Solution {
public:
bool validMountainArray(vector<int> &A) {
if (A.size() < 3) return false;
bool incr = false, decr = false;
for... | [
"297872913@qq.com"
] | 297872913@qq.com |
af7b360364d0dedfc625591e5aa8b80a3702bce8 | 5f4b7ca9260a8731419d6e1ca3acc7ed287f0327 | /parse_vpk.h | 01cf5d355d8d48464ea70814d85b82a84f8b44f1 | [] | no_license | Elbagast/tf2_mdl_dirs | a4efa18167da9d04ad4177b2a59c14af69f3403f | 9042f470bdd3551539bb5184142477da3d651f51 | refs/heads/master | 2016-09-06T04:05:04.659897 | 2014-10-28T22:41:39 | 2014-10-28T22:41:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 446 | h | #ifndef PARSE_VPK_H
#define PARSE_VPK_H
/*
PURPOSE
Run "dir\vpk.exe l [file.vpk]" and capture the result for analysis.
Alternatively parse a given dir structure in the same way.
*/
#include <boost/filesystem.hpp> // boost v 1.55.0
std::list<std::wstring> parse_dir(
boost::filesystem::path const& dir
);
std... | [
"elbagast@gmail.com"
] | elbagast@gmail.com |
21737f2ab887f3eedd8227180bf7243b4f48f5c5 | cbb23371035ec1db7dba1d9c856de79f100695d2 | /automobile/plugins/robot_windows/automobile_window/AbstractWidget.cpp | 545fe94cd0c9f5bb3cdd7e1b0f697df643a692a4 | [] | no_license | mahfuz195/CAVSimulationPlatform | f7c152f472fd5e068992c9faeefad14e44b848b8 | 1b2ab7406131e828da92a0afc3b8127450330284 | refs/heads/master | 2021-07-07T15:12:22.136572 | 2017-10-05T02:09:22 | 2017-10-05T02:09:22 | 105,838,599 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 789 | cpp | #include "AbstractWidget.hpp"
AbstractWidget::AbstractWidget(QWidget *parent):
QWidget(parent)
{
mLayout = new QGridLayout(this);
mEnableCheckBox = new QCheckBox("Disabled", this);
connect(mEnableCheckBox, &QCheckBox::stateChanged, this, &AbstractWidget::updateEnableCheckBoxText);
mLayout->addWidget(mEnable... | [
"mahfuj.islam28@gmail.com"
] | mahfuj.islam28@gmail.com |
907c8fcf5ab44d5e2fcb23f54ac839d981a982c6 | 1d4c692cf81d201166a14f469b9637b3283f1a0a | /src/d3d/d3d8render.cpp | cf09199a14a8f7a4f2eb468156d20c7946e49b73 | [
"MIT"
] | permissive | madebr/librw | 00af21e7fbee417d1734043ed4f9da3db8589a4b | b1c3c1dca8c5c2244ba7ecfacd50310f27a31b8e | refs/heads/master | 2022-06-20T23:31:07.841909 | 2018-07-04T17:21:34 | 2018-07-04T17:21:34 | 111,781,141 | 3 | 0 | MIT | 2021-07-07T01:41:31 | 2017-11-23T08:07:46 | C++ | UTF-8 | C++ | false | false | 1,842 | cpp | #include <cstdio>
#include <cstdlib>
#include <cstring>
#include <cassert>
#include "../rwbase.h"
#include "../rwplg.h"
#include "../rwpipeline.h"
#include "../rwobjects.h"
#include "../rwengine.h"
#include "rwd3d.h"
#include "rwd3d8.h"
namespace rw {
namespace d3d8 {
using namespace d3d;
#ifndef RW_D3D9
void defaul... | [
"aap@papnet.eu"
] | aap@papnet.eu |
64bf3625f4b2679bac53ecf9a0b3c9d93148e225 | a977211952cdbee0cf246ba86e02735b6d4d7174 | /nyx/Nyx.hpp | 431f2bbcc02be19816e6a17beae5b53169d4c9ae | [
"MIT"
] | permissive | SpecialYang/nyx | b2eebaef850def60dc865633dd00dd2a17966a3c | 81c01aefd851926697d1f00dee089f42e501024c | refs/heads/master | 2020-08-12T17:27:28.823890 | 2019-01-07T08:46:28 | 2019-01-07T08:46:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,741 | hpp | #pragma once
#include <any>
#include <deque>
#include <string>
#include <unordered_map>
#include <vector>
struct Statement;
struct Expression;
namespace nyx {
struct Context;
enum ValueType { Int, Double, String, Bool, Char, Null, Array, Closure };
enum ExecutionResultType { ExecNormal, ExecReturn, ExecBreak, Exec... | [
"1948638989@qq.com"
] | 1948638989@qq.com |
e2fcda8ce95c4f7e15e981aeea8eb0c2c88816fe | 9ff69f2638fe679b9fbb3ac682d356b59c50b068 | /code archive/bigint.h | efe677ab62e22ced0e177b2b362a7e2e9b4d1981 | [
"MIT"
] | permissive | brianbbsu/program | 7f7c3d4aacea32ada7f74cf5caffa9931be280c4 | c4505f2b8c0b91010e157db914a63c49638516bc | refs/heads/master | 2021-05-23T04:53:49.618057 | 2020-04-18T15:21:10 | 2020-04-18T15:21:10 | 81,056,684 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,516 | h | #ifndef BIGINT
#define BIGINT
#include <vector>
#include <string>
#include <algorithm>
#include <iostream>
#include <iomanip>
class bigint{
typedef long long ll;
private:
const ll base=1000000,ln=6;
std::vector<ll> d;
bool neg;
public:
bigint():neg(0){};
bigint(ll di);
bigint(std::string di);
~bigint();
... | [
"brianbb.su@gmail.com"
] | brianbb.su@gmail.com |
8b2b88a8a78d597b4c78a22c2d04b4df6972d51e | 99e85aedc7899806a9a98a8f1f1a9c131e67b0da | /204/Lab06/publication.cpp | 4b97c509cdfe5b269064b517b37c9dfd88c4d3ab | [] | no_license | LexiMuMu/cpp | 41fb95a8a17b50a758ebe9fc51d965c26ad2b83e | 84d36e8b4606c4210f4a6399180852d8d2f5eb03 | refs/heads/master | 2021-01-11T05:40:40.819541 | 2016-10-21T13:36:17 | 2016-10-21T13:36:17 | 71,566,106 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,599 | cpp | /********************************************************************************
* Filename: publication.cpp
* Name & Student No.: Yanhong Ben, 4845675
* Lab No: 6
* File Description: implementation file of publication
* Date Last... | [
"mulan@Lexi.local"
] | mulan@Lexi.local |
21f476e8bc3604ec0831d23c60e19ad005b52fe9 | 1f24d714981216b782299f0ad965d43b5ee06f2c | /project_euler_cpp/project_euler_cpp/pb024.cpp | 2c115657a7f9ca09b4a1273e3c87baf5dec9234f | [] | no_license | alexmaraval/projecteuler | 096b6508648c13e5b1f993678bddbd7707825a18 | 9476efeeb3bb4cd06c7358510b0490da863ae3c6 | refs/heads/master | 2021-09-10T13:13:41.482868 | 2018-03-26T21:25:37 | 2018-03-26T21:25:37 | 103,399,389 | 0 | 0 | null | 2017-12-18T18:46:59 | 2017-09-13T12:52:31 | C++ | UTF-8 | C++ | false | false | 334 | cpp | //
// pb024.cpp
// project_euler_cpp
//
// Created by Alexandre Maraval on 14.12.17.
// Copyright © 2017 Alexandre Maraval. All rights reserved.
//
#include "pb024.hpp"
void pb024()
{
std::cout << "The 1'000'000th permutation in the lexicographic order of the digits {0,1,2,3,4,5,6,7,8,9} is '2783915460'." << ... | [
"maraval.alexandre@gmail.com"
] | maraval.alexandre@gmail.com |
495f0342df49bd76fecc3d3a6f4e0c70714c5762 | d2d4347bf574b525d42e41bd9ec6f25c3e9cca6a | /list/list.hpp | e59457911147b1329839f0c0b59bea59e2928ac6 | [] | no_license | Vonrisen/cpp-linked-list-implementation | 70f0516e6275d61557885c234e118521a5f60184 | bdb3bb081828123ef791c088022e82201d1fc421 | refs/heads/main | 2023-04-22T16:11:38.803483 | 2021-05-08T10:44:21 | 2021-05-08T10:44:21 | 365,487,901 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,879 | hpp |
#ifndef LIST_HPP
#define LIST_HPP
/* ************************************************************************** */
#include "../container/container.hpp"
/* ************************************************************************** */
namespace vlnk {
/* ************************************************************... | [
"noreply@github.com"
] | noreply@github.com |
486fa8eefaaff7bb54ddcf07d4c0877655dd3df1 | 21ea26bdef186ad666f4692322d3560404c281bf | /DX12Stats.cpp | 7e6fe19c8044ce388e65f266be33418aeae9c7d6 | [
"MIT"
] | permissive | RedPandaProjects/BearDirectx | dee2f2748b51b589f20c3712d7ebe0fc21c6dc5c | 1fdeaeea37d7669361972f6a59d9a1ddc7c29429 | refs/heads/master | 2023-01-22T08:40:53.636966 | 2020-11-27T17:27:53 | 2020-11-27T17:27:53 | 164,384,251 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 855 | cpp | #include "DX12PCH.h"
#define RENDER_BEGIN_CLASS_REGISTRATION1(Name,...) extern bsize Name ## Counter;
#define RENDER_BEGIN_CLASS_REGISTRATION2(Name,Parent,...) RENDER_BEGIN_CLASS_REGISTRATION1(Name)
#define RENDER_BEGIN_CLASS_REGISTRATION1_WITHOUT_FACTORY(Name,...)
#define RENDER_BEGIN_CLASS_REGISTRATION2_WITHOUT_FAC... | [
"i-sobolevskiy@mail.ru"
] | i-sobolevskiy@mail.ru |
04a8eeb7d52b8688aba26e73728e32efd11dfd53 | 70c2645aab2d095e71ad7b891361566cfe0cb6da | /VulnDB/FileSamples/firefox/CVE-2018-5187/CVE-2018-5187_CWE-119_1395246_bugzilla0_DataChannel.cpp_4.0_OLD.cpp | 570396faf8353ecfa4bcf537c0067966f08d09f8 | [] | no_license | Raymiii/SCVDT | ee43c39720780e52d3de252c211fa5a7b4bd6dc2 | 0a30f2e59f45168407cb520e16479d53d7a8845b | refs/heads/main | 2023-05-30T20:00:52.723562 | 2021-06-21T05:24:20 | 2021-06-21T05:24:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 109,430 | cpp | /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
... | [
"jiangchang@jiangchangdeMacBook-Pro.local"
] | jiangchang@jiangchangdeMacBook-Pro.local |
983cc6bf28657c487672a70127f6f6fe744cea79 | b87a7c980819728ef5543e5e533db4f408b6d3b4 | /SourceCode/Cplus/Project1/Backup_New/Animation.h | e1f036f330bfac79aee8377c130ada0731f5a804 | [] | no_license | nitipat009/Project-1-Game | 10c0ea9bc0a3e92fc2e3ef0200c560621df14c39 | f580678c0db5e76dbdee10c5032e2dad1a919ceb | refs/heads/master | 2023-03-01T21:24:35.368554 | 2021-02-07T03:27:45 | 2021-02-07T03:27:45 | 336,690,776 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 413 | h | #pragma once
#include"SFML/Graphics.hpp"
class Animation
{
public:
Animation(sf::Texture* texture,sf ::Vector2u imageCount,float switchTime,bool enemy);
~Animation();
void Update(int row, float deltaTime , bool isLeft, bool enemy);
public:
sf::IntRect uvRect;
private:
//sf::IntRect recta;
sf::Vector2u image... | [
"77422675+nitipat009@users.noreply.github.com"
] | 77422675+nitipat009@users.noreply.github.com |
52d11673376b0d0b13eaea74279653017f76928f | 9cb416d345bcfe7669c5cada4b649fc94a32353f | /unit4/4.2_hash.txt/查询正整数是否出现.cpp | e803286fa245f94dc26c4320847645fad6bb8aa3 | [] | no_license | EchoDemo/algorithm-notes | 936f0a231956553a115111c2300fb8ca6bd72d73 | 7bbcbe5f225cb69ad71d4100c0bad2f942d1abbc | refs/heads/master | 2021-01-22T20:29:20.592984 | 2018-04-29T00:35:04 | 2018-04-29T00:35:04 | 85,328,097 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 457 | cpp | //以空间换时间:
#include "stdafx.h"
#include<iostream>
#include<stdlib.h>
using namespace std;
const int maxn = 100010;
bool hashTable[maxn] = { false };
int main() {
int n, m, x;
cin >> n >> m;
for (int i = 0;i < n;i++) {
cin >> x;
hashTable[x] = true; //数字x出现过;
}
for (int i = 0;i < m;i++) {
cin >> x;
if (has... | [
"1761910310@qq.com"
] | 1761910310@qq.com |
3c94de69c764e5528ccbaf3f72c165241ac6ae0b | 062fe73aef5bd087e88320f0f8ce2023c0981713 | /RyujinrokuMobile/RyujinrokuMobile.NativeActivity/src/ReplaySceneCellUtils.cpp | 817e40d452d6c2e7438b1daaec90ad07ec257406 | [] | no_license | remicalsoft/RyujinrokuMobile | 762c1bc94ab2baf5ebb71ae392f2e1e75c9e9601 | c3bff61dbce2298890954b8bba32da4946c085f9 | refs/heads/master | 2021-05-17T07:39:42.961357 | 2020-04-01T14:42:27 | 2020-04-01T14:42:27 | 250,699,354 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,354 | cpp | #include "ReplaySceneCellUtils.h"
bool is1On(ReplayHeader *header) {
if (!header->isSpellPractice && header->stage == eStage1) {
return true;
}
return false;
}
bool is2On(ReplayHeader *header) {
if (!header->isSpellPractice) {
if (header->stage == eStage1 && header->clearStageN >= 1) {
return true;
}
i... | [
"remicalsoft@gmail.com"
] | remicalsoft@gmail.com |
140ace61bd3c81aed97c5ddc5561e8e9720107af | e339fc7061d6b47f4f8a78d617dc526a64d3ec6c | /native/main.cpp | b7e0c1753d954a81f571a7e91c607db2489d4e1f | [
"MIT"
] | permissive | hamuryen/RawImageVideoStreamer | 30ff33d622088e3a7f290bb6b2d0377acfade459 | b5be917925f754e2ed5c094a718f92499dc3b133 | refs/heads/master | 2020-05-20T00:13:55.031676 | 2019-05-22T08:13:41 | 2019-05-22T08:13:41 | 185,282,516 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 488 | cpp | #include <thread>
#include <chrono>
#include "VideoStreamer.h"
int main()
{
{
Streamer::VideoStreamer streamer(554, 1920, 1080, 25);
streamer.Run();
int color = 0;
while (true)
{
std::this_thread::sleep_for(std::chrono::milliseconds(40));
unsigned char* data = (unsigned char*)calloc(1, 1080 * 1920 *... | [
"burak.hamuryen@pro-line.com.tr"
] | burak.hamuryen@pro-line.com.tr |
74a007e332e462705df479d8b41dc11c9802065e | 6f22a079c0bda728d73a1fdaa6676ee3d634cc26 | /src/plugins/lmp/plugins/ppl/tests/parsertest.cpp | 3b679c170f8885fe426432804f0d3dfdbced761b | [
"BSL-1.0"
] | permissive | wyrover/leechcraft | 8446e4acccb0f12e61fe03e3b5cc83f116ddebb3 | 4b3127afca16010056ff612f406ede2bca66691e | refs/heads/master | 2021-01-19T16:18:36.901249 | 2017-04-14T04:25:15 | 2017-04-14T04:25:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,852 | cpp | /**********************************************************************
* LeechCraft - modular cross-platform feature rich internet client.
* Copyright (C) 2006-2014 Georg Rudoy
*
* Boost Software License - Version 1.0 - August 17th, 2003
*
* Permission is hereby granted, free of charge, to any person or organiz... | [
"0xd34df00d@gmail.com"
] | 0xd34df00d@gmail.com |
2e6679db6404b115f0a4f9dd5e73512ceec1ca7d | 20694fd072e147ef11124f929eedf83a565bbc0f | /aws-cpp-sdk-kinesis/source/model/EnhancedMetrics.cpp | d9cf9f42a350b1a3312468585c5fd8c440c606ff | [
"JSON",
"MIT",
"Apache-2.0"
] | permissive | GREYFOXRGR/aws-sdk-cpp | 1d9a9b2dce4183c6ff6a0b906df189ad69c4db9c | 098116a5e1fe748eefeb3ed97754860b9c3fb942 | refs/heads/master | 2021-01-15T09:32:28.947930 | 2016-05-05T20:57:47 | 2016-05-05T20:57:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,159 | cpp | /*
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file... | [
"henso@amazon.com"
] | henso@amazon.com |
3f3c0d26c6e63c7d9b762b9d7c08bf162ea28e1c | b777ee64e9bef153fd131784eab84d9ec6322b3a | /JSK/Algorithms/Sorting/12_Counting Sort 2.cpp | b29fecb50ca0dc0b75e7612500f89919f6f89deb | [] | no_license | goodann/AlgorithmsStudy | aec2b092b68e5cd213bc2d578565673099d0d695 | 39455cb0daf25499a2438740dda4de42f953baa1 | refs/heads/master | 2020-12-02T22:53:17.108162 | 2017-10-16T05:24:45 | 2017-10-16T05:24:45 | 96,196,496 | 1 | 1 | null | 2017-07-10T07:52:05 | 2017-07-04T08:48:24 | C++ | UTF-8 | C++ | false | false | 501 | cpp | #include <cmath>
#include <cstdio>
#include <vector>
#include <iostream>
#include <algorithm>
using namespace std;
int main() {
/* Enter your code here. Read input from STDIN. Print output to STDOUT */
int N ,num;
cin >> N;
vector<int> numbers(100);
for(int i = 0 ; i < N ; i++){
cin... | [
"noreply@github.com"
] | noreply@github.com |
d7e53b259b5006cdda6475063486f0f65060be64 | a6b64925fdfa968e78b34f1f201aae56e882e18a | /Server/MainDll/common/AudioManager.h | 20620a3adbfc188c70e7b72444673799b87193ad | [] | no_license | nickwu1220/PCRemote | 5bfe9641da2497e7656018fc441cebcf4a784c49 | 6e326a72f3a0b3d61446abee359eb6ac1aa61720 | refs/heads/master | 2016-09-05T14:51:28.284403 | 2014-09-01T09:43:21 | 2014-09-01T09:43:21 | 18,865,903 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 876 | h | // AudioManager.h: interface for the CAudioManager class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_AUDIOMANAGER_H__8EB9310D_AEFB_40C5_A4E7_6EE4603CBC69__INCLUDED_)
#define AFX_AUDIOMANAGER_H__8EB9310D_AEFB_40C5_A4E7_6EE4603CBC69__INCLUDED_
#if _MSC_VER > 1000
... | [
"61347219@qq.com"
] | 61347219@qq.com |
9be7f6c7da0d1906ba7724999a9668efb9cad213 | e4516bc1ef2407c524af95f5b6754b3a3c37b3cc | /answers/leetcode/Best Time to Buy and Sell Stock/Best Time to Buy and Sell Stock.cpp | 89b8433b51fe6258b0a37decd79fddbc357737fb | [
"MIT"
] | permissive | FeiZhan/Algo-Collection | 7102732d61f324ffe5509ee48c5015b2a96cd58d | 9ecfe00151aa18e24846e318c8ed7bea9af48a57 | refs/heads/master | 2023-06-10T17:36:53.473372 | 2023-06-02T01:33:59 | 2023-06-02T01:33:59 | 3,762,869 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 444 | cpp | class Solution {
public:
int maxProfit(vector<int> &prices) {
// Start typing your C/C++ solution below
// DO NOT write int main() function
if (prices.size() < 2)
{
return 0;
}
int max = 0, min = INT_MAX;
for (int i = 0; i < prices.size(); ++ i)
{
if (prices[i] < min)
... | [
"f.zhan@sap.com"
] | f.zhan@sap.com |
ac44cc91dde5786114a488f6520322dac702204a | bd7d6df13c24221140aee00c58032e9426d35ad5 | /head.h | f5d0baccb01c83ff38f4f5872b3d8f6b302997dc | [] | no_license | xueminglei870123/chargame_fighter | 89434034255c9fe7f1020858b8a09cd74b823e80 | c547d4e76d835fb6801c2b9ceea5d2dffee86543 | refs/heads/master | 2020-08-08T23:47:06.111600 | 2019-10-09T15:13:31 | 2019-10-09T15:13:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 511 | h | #pragma once
#include <cmath>
#include <iomanip>
#include <ctime>
#include <string>
#include <array>
#include <iostream>
#include <vector>
#include <deque>
#include <list>
#include <forward_list>
#include <map>
#include <algorithm>
#include <numeric>
#include <iterator>
#include<typeinfo>
#include... | [
"noreply@github.com"
] | noreply@github.com |
3f4a2a99363ed3fb4ab8b1c9b10561e2d8bacecc | 4ddfbbf1874f26eb25ce09b5444482ed9c7d0a02 | /apollo/modules/drivers/ydlidar/driver/ydlidar_driver_component.h | aa70866e36a6764b74165704f173cbc93c296d72 | [
"Apache-2.0"
] | permissive | YDLIDAR/ydlidar_apollo_driver | 9bdbcdfd6d0c5526fbde624b242ae26938408dc7 | 2f1f1b75e53450438122937bd1ccc19ba75eaf85 | refs/heads/master | 2023-02-25T00:29:46.319771 | 2021-02-01T07:56:25 | 2021-02-01T07:56:25 | 279,550,359 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,136 | h | /******************************************************************************
* Copyright 2020 EAIBOT. 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:/... | [
"chushuifurong618@126.com"
] | chushuifurong618@126.com |
ab9c53e903eabf83dfd53e9167989d9448691b05 | f54478bdc7ccc93052c3af14bf573d9434f15197 | /src-tex/colorspace.cpp | 07e891a6d744d267f0f1ea63800f745763c46c5a | [
"MIT"
] | permissive | radtek/bengine-gfx | 609669ee8e31ab84b9e757f8dc513086bc8abe7e | e7a6f476ccb85262db8958e39674bc9570956bbe | refs/heads/master | 2022-02-22T22:17:59.880921 | 2018-05-23T05:34:38 | 2018-05-23T05:34:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,650 | cpp | #include "pch.hpp"
#include "tex/colorspace.hpp"
/*!! include 'tex/colorspace' !! 253 */
/* ################# !! GENERATED CODE -- DO NOT MODIFY !! ################# */
namespace be::gfx::tex {
///////////////////////////////////////////////////////////////////////////////
bool is_valid(ColorspaceFamily constant) no... | [
"ben@magicmoremagic.com"
] | ben@magicmoremagic.com |
75c6224c229d3dc27f1961f8edc3026594aeaba8 | 9a8f7cc51b9cfd8e76c76258e980603b990740e5 | /Zombie-Escape/src/kinematic.cpp | 2bc57d0668286402f5a181ab772d1d0b57a49afb | [
"MIT"
] | permissive | SakshayMahna/AI-for-Game-Programming | 8ab23e2eea89cfc027ee4ae5bf6aa093eaf1bf06 | de2df8b25b233e6db08971226eece2cab2a7f3ef | refs/heads/main | 2023-08-15T06:06:04.577408 | 2021-10-19T16:50:08 | 2021-10-19T16:50:08 | 409,204,141 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 861 | cpp | #include <cmath>
#include "kinematic.h"
// Kinematic constructor
Kinematic::Kinematic(float i_position[2], float i_velocity[2]) {
position[0] = i_position[0];
position[1] = i_position[1];
velocity[0] = i_velocity[0];
velocity[1] = i_velocity[1];
}
// Kinematic Update
void Kinematic::update(Steering s... | [
"sakshum19@gmail.com"
] | sakshum19@gmail.com |
289f33d90f802122861227a301e5f46efad7c919 | ea7509bfdb3b40fb5466017067bb84848418ebca | /gr-howto-12-04-2014/lib/ofdm_chanest_vcvc_impl.h | feaf970a7184716116126ab739b9a58de7524357 | [] | no_license | NinjaComics/github-repository | 6ced3deb82463da293ebf970bf58f537f8d1caff | eda13e0ea63941f9d6f1aa63650a9ee1196f1899 | refs/heads/master | 2020-03-17T19:10:40.745032 | 2014-12-04T16:43:38 | 2014-12-04T16:43:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,634 | h | /* -*- c++ -*- */
/*
* Copyright 2013 Free Software Foundation, Inc.
*
* This file is part of GNU Radio
*
* GNU Radio 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, or (at your opt... | [
"chenghanke@gmail.com"
] | chenghanke@gmail.com |
d5762bee591b4419f07eddf7603d02962571fa2e | 5aaec5fe9ecf70f0c38bdc9446430fcdd4e9612e | /TTT3D/main.cpp | effd60aa51c943fa16df16c4ee68f8084e22e366 | [] | no_license | MarkKerner/AI_HW2 | 0494c8ce6c635acb05ce7018161bcefdf734ed45 | 6f122f1bf25bd54cfcbdebeb1c344db1a0753453 | refs/heads/master | 2021-01-17T10:54:51.924712 | 2016-09-28T07:16:36 | 2016-09-28T07:16:36 | 68,802,324 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,607 | cpp | #include "player.hpp"
#include <stdlib.h>
#include <iostream>
#include <string>
#include <vector>
int main(int argc, char **argv)
{
// Parse parameters
bool init = false;
bool verbose = false;
bool fast = false;
for (int i = 1; i < argc; ++i)
{
std::string param(argv[i]);
if (p... | [
"mark.kerner@hotmail.com"
] | mark.kerner@hotmail.com |
5e06f63114c7b8a1e98549fe8da71bde1f04bb20 | 9be246df43e02fba30ee2595c8cec14ac2b355d1 | /engine/audio/private/snd_win.cpp | e8d2d1f2cee4e41ff6ec254d6cd2e50f162d1c87 | [] | no_license | Clepoy3/LeakNet | 6bf4c5d5535b3824a350f32352f457d8be87d609 | 8866efcb9b0bf9290b80f7263e2ce2074302640a | refs/heads/master | 2020-05-30T04:53:22.193725 | 2019-04-12T16:06:26 | 2019-04-12T16:06:26 | 189,544,338 | 18 | 5 | null | 2019-05-31T06:59:39 | 2019-05-31T06:59:39 | null | UTF-8 | C++ | false | false | 7,127 | cpp |
#include <windows.h>
#include "tier0/dbg.h"
#include "convar.h"
#include "sound.h"
#include "sound_private.h"
#include "snd_device.h"
#include "snd_dev_direct.h"
#include "snd_dev_wave.h"
#include "snd_sfx.h"
#include "snd_audio_source.h"
#include "voice_sound_engine_interface.h"
#include "snd_channels.h... | [
"uavxp29@gmail.com"
] | uavxp29@gmail.com |
7c19dad6be9cc64336d2d78d853b6d0328c39589 | 2e395ab976e04bde26e92004b615433a00121c90 | /tree/Nodes/statements/If.h | a1c856c5ba88959f49aa78a57fdea7859348fa7b | [] | no_license | kkvadrat289/Compilers | 1070f0d16c6fff18fc5ede68696d6269c1be6b83 | 2f5e6d79b7f62e4147ce68e1128f89ffc9b83878 | refs/heads/master | 2021-09-16T17:14:03.719943 | 2018-06-22T09:46:07 | 2018-06-22T09:46:07 | 104,876,904 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 628 | h | #ifndef IF_H
#define IF_H
#include "Statement.h"
#include "StatementSeq.h"
class CIf: public IStatement{
public:
CIf(std::shared_ptr<INode> cond_, std::shared_ptr<IStatement> ifTrue_, std::shared_ptr<IStatement> ifFalse_,
Position pos_):
cond(cond_),
ifTrue(ifTrue_),
ifFalse(ifFals... | [
"kkvadrat289@yandex.ru"
] | kkvadrat289@yandex.ru |
6b670ff2d0c0c1e81430ddd835ff433ef8a4a606 | d27bc8dc51cd34aba2556ca4f7a995110e102240 | /Maze/test_4_20/Maze.cpp | 344b3b521f2e0d71a656db8efeee08ec2ef7be47 | [] | no_license | hqy00/Maze | 25144999c48ef7945a4bd76793c0c9d20380213d | 42dbf4abb8a420006fd24eb8154292f7ecb80de1 | refs/heads/master | 2021-06-15T07:06:58.065662 | 2017-04-21T09:54:54 | 2017-04-21T09:54:54 | 88,969,642 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 6,760 | cpp | //回溯法思想实现迷宫(递归实现),要求如下:
//保存迷宫的地图给成动态的
//迷宫的数据保存在文件中
//可自行添加辅助函数
#define _CRT_SECURE_NO_WARNINGS 1
#include<iostream>
using namespace std;
#include<assert.h>
#define MAX_ROW 10
#define MAX_COL 10
struct Seat//坐标点
{
Seat(int x, int y)
: _x(x)
, _y(y)
{}
int _x;
int _y;
};
// 数据保存到文件
class Maze
{
public:
M... | [
"heqingyun0808@126.com"
] | heqingyun0808@126.com |
3f61a2d1c1deb41c4b8425ecd0fbf7db9fc291f5 | 792f2ee67210556f224daf88ef0b9785becadc9b | /atcoder/AGC/035A.cpp | 53d5ffd59d893e4dd75c730fa534e3fe061b1508 | [] | no_license | firiexp/contest_log | e5b345286e7d69ebf2a599d4a81bdb19243ca18d | 6474a7127d3a2fed768ebb62031d5ff30eeeef86 | refs/heads/master | 2021-07-20T01:16:47.869936 | 2020-04-30T03:27:51 | 2020-04-30T03:27:51 | 150,196,219 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,025 | cpp | #include <iostream>
#include <algorithm>
#include <iomanip>
#include <map>
#include <set>
#include <queue>
#include <stack>
#include <numeric>
#include <bitset>
#include <cmath>
static const int MOD = 1000000007;
using ll = long long;
using u32 = uint32_t;
using namespace std;
template<class T> conste... | [
"firiexp@PC.localdomain"
] | firiexp@PC.localdomain |
7c59619e58e92186b33d7f4a634cdc675dabcc3a | d0c44dd3da2ef8c0ff835982a437946cbf4d2940 | /cmake-build-debug/programs_tiling/function14795/function14795_schedule_28/function14795_schedule_28_wrapper.cpp | 70f94df518c8f0c76bd5ae07bad5c1b134816441 | [] | 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 | 858 | cpp | #include "Halide.h"
#include "function14795_schedule_28_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(256, 1024, 256);
init_buffer(buf0, (int32_t)0);
... | [
"ei_mekki@esi.dz"
] | ei_mekki@esi.dz |
0a720bd1ed1c459c7a02912fabd0318a86aeffff | d778b98fa6b4a1ddb215510c15bc78c53d9c79e6 | /RtnResources.h | be5bfed9ef1e6e4b470d1fbcf8b36ccc483c9b8e | [] | no_license | antioch44/runawfe-free-notifier-cpp | e2ce590882a6e6a16f29d15abbb34523d5daccf1 | cb8456fb966b6e17abc2b6eb3a1ebc7bafa84e96 | refs/heads/master | 2020-09-12T12:26:14.317726 | 2018-02-18T14:57:00 | 2018-02-18T14:57:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,201 | h | #pragma once
#include <string>
using namespace std;
class RtnResources {
public:
static void Init(const wstring& fileName);
static bool IsDebugLoggingEnabled();
static wstring GetOption(const wstring& propertyName, const wstring& defaultValue);
static string GetOption(const string& propertyName, const string& defa... | [
"tarwirdur@ya.ru"
] | tarwirdur@ya.ru |
a535f2b2c5fd1f0d1b62f23c17a7e9dec1f97847 | 20aaa121f46faeb4cea2f2a00064744734a95631 | /mojo/services/gles2/gles2_impl.h | a98a48b8896ef9eadf4b387351596b2148c2d1ea | [
"BSD-3-Clause"
] | permissive | michaelhood/chromium | 5808259fdfbc9ef132056d2d9a48d0449a9c3ea2 | 56a0bba55886e67d75e4b4b6719371e050036ae6 | refs/heads/master | 2021-01-15T12:50:20.116977 | 2013-12-01T17:50:22 | 2013-12-01T17:50:22 | 14,848,303 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,052 | h | // Copyright 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.
#ifndef MOJO_SERVICES_GLES2_GLES2_IMPL_H_
#define MOJO_SERVICES_GLES2_GLES2_IMPL_H_
#include "base/memory/scoped_ptr.h"
#include "mojo/public/bindings/li... | [
"abarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98"
] | abarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98 |
bb10bfb6e57be4f3b0799f25d4b8c81be743b02d | 607c9c9b67f15018c60c9e66dd0ac672013347fb | /src/qt/qrcodedialog.cpp | 9517fde5e99789ead3869e8a962cb9f204649e8c | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | backpocket-foundation/1backpocket | 9dc6a30e3b897663234398023b0c226324b5c2b6 | 40a1aa13b584bf8e04c0bcf45b5a61012e8c3287 | refs/heads/master | 2023-07-07T22:08:12.009159 | 2021-08-16T15:35:08 | 2021-08-16T15:35:08 | 396,411,860 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,313 | cpp | #include "qrcodedialog.h"
#include "ui_qrcodedialog.h"
#include "bitcoinunits.h"
#include "guiconstants.h"
#include "guiutil.h"
#include "optionsmodel.h"
#include <QPixmap>
#include <QUrl>
#include <qrencode.h>
QRCodeDialog::QRCodeDialog(const QString &addr, const QString &label, bool enableReq, QWidget *parent) :
... | [
"smokeandcrypto@gmail.com"
] | smokeandcrypto@gmail.com |
6c6530c574ce6167897d0f403a498a2163c0735a | a9affd2c2723e7a22c5b916c75de791b26612182 | /intercambio.cpp | 87c66f240fddbe4c30aaa97168622409fb8108c8 | [] | no_license | Josedm92/UD3 | 17e513b3748bf33c3801be4aa955ef2124612fbd | 01c49a3c577be1cc1e794ac8ab5cf16dae7d2208 | refs/heads/master | 2021-01-10T16:39:13.763364 | 2015-12-14T12:41:14 | 2015-12-14T12:41:14 | 47,365,221 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,168 | cpp | //Programa que los valores de dos números usando una función.
#include <iostream> //Incluimos librería iostream que permite la entrada por teclado y la salida por pantalla.
using namespace std; //Sentencia obligatoria.
//Creación de la función.
void intercambio(int &num1, int &num2){
int aux;
aux = num1;
n... | [
"josedm92@gmail.com"
] | josedm92@gmail.com |
9bc22ed59af7a3dc3bedf757b5e936ed6df81fc0 | 4e5d07a9eb881defd7923a4575809259522bd25f | /atcoder/abc/211-220/214/c.cpp | f85f0c56bf62a324861240481776bea2d012d6f6 | [] | no_license | kt117/ProCom | c81e6c55c3f4b329c79755f43e8154e297328174 | c5547429560100728cf15a8a8a696aa8c6c0317b | refs/heads/master | 2022-05-06T15:41:01.639231 | 2022-04-09T17:23:21 | 2022-04-09T17:23:21 | 254,284,537 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 715 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<ll, ll> P;
const ll MOD = 1e9+7;
const ll INF = 1e18;
#define rep(i,m,n) for(ll i = (m); i <= (n); i++)
#define zep(i,m,n) for(ll i = (m); i < (n); i++)
#define rrep(i,m,n) for(ll i = (m); i >= (n); i--)
#define print(x) cout << (x) << end... | [
"k.tohyama17@gmail.com"
] | k.tohyama17@gmail.com |
1b1f69640ec22ce529d0de2c1b855cf802971267 | b78f8189953687abe8a3ea5c0d9aee56aeae31ca | /Mashiro/Graphics/src/RenderTarget.cpp | 6b0d264c8d3c5cec445731a0b657df8ea885efcb | [] | no_license | peterkinalex/Yoserusu | 97c6249643ef66f108c92401a254eb51a6e1c576 | 63abdb523fede1b6ff58cf029364bceaedbb510f | refs/heads/master | 2020-12-28T19:57:24.277082 | 2014-06-01T09:21:39 | 2014-06-01T09:58:51 | 58,017,800 | 1 | 1 | null | 2016-05-04T02:48:40 | 2016-05-04T02:48:40 | null | UTF-8 | C++ | false | false | 638 | cpp | #include "Mashiro/Mashiro.h"
#include "Mashiro/Graphics/RenderTarget.h"
#include "Mashiro/Graphics/src/RenderTargetImpl.h"
#include "Mashiro/Graphics/src/GraphicsManagerImpl.h"
namespace Mashiro{
namespace Graphics{
RenderTarget RenderTarget::create( int w, int h, RenderFormat textureFormat ){
RenderTarget r;
r.mIm... | [
"marisa.love0925@gmail.com"
] | marisa.love0925@gmail.com |
602c0f6cc6eb908a87ffd679b6e7571be73a652a | 11dcefc3768cc67f6563f7e0e4713bae740cad63 | /suntlee/week1/star8.cpp | 22d9c62ae6b05c166a58773bed413aaa054439da | [] | no_license | 42somoim/42somoim1 | dac54edee33aadf1a17f60768446e5faf07ed952 | 039e00085290d048a7345bcec7db797e4c7330d2 | refs/heads/master | 2023-05-06T13:07:01.242428 | 2021-05-28T12:07:45 | 2021-05-28T12:07:45 | 280,406,020 | 2 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 534 | cpp | #include <iostream>
int main()
{
int n;
std::cin >> n;
for (int i = 0; i < n; i++){
for (int j = 0; j < i + 1; j++)
std::cout << '*';
for (int j = 0; j < 2 * (n - i - 1); j++)
std::cout << ' ';
for (int j = 0; j < i + 1; j++)
std::cout << '*';
std::cout << '\n';
}
for (int i = n - 2; i >= 0; i--)... | [
"suntlee@c5r5s5.42seoul.kr"
] | suntlee@c5r5s5.42seoul.kr |
442cbc4e7242aca630cbd017377bcea8ebc81d14 | d778ba8c334b7ad84b57a0ce186d9f470ee0c02d | /Project4/Project4/client.cpp | 731fd22899c477f43408e4c2c1835df568de29d3 | [] | no_license | kevin7600/CSCI420Graphics | 9a3bcc067f13614da6f12eded7b0ea6df34fc546 | 7e64e2666ba3ff3e0c0cd045134475940c4d7e7a | refs/heads/master | 2021-06-27T17:01:52.257018 | 2017-09-19T04:36:52 | 2017-09-19T04:36:52 | 104,026,155 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,063 | cpp | #include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <cstring>
#include <string>
#include <iostream>
using namespace std;
struct sockaddr_in{
int sin_family;
int sin_port;
int sin_adrr;
int sin_zero[8];
};
int socket(int family, int type, int protocal){
}
int connect(int socket, int s... | [
"tankevin@usc.edu"
] | tankevin@usc.edu |
f944d9bfdcf2c779939a3df182c6e5fa3bef07d4 | 77bcf677a137a207e5a8699e5f0d936e6be0f311 | /tests.cpp | b7ac7d89cfb6e421fc0fda5003baf6ec3c04bcb0 | [] | no_license | Lissee/Base64 | ba3d2c2d279d1327c5be22e696a51e169714384a | 6dbfaa89a2da4e8e251e0a0ecb598cdb0f98e997 | refs/heads/main | 2023-02-12T15:46:42.607560 | 2021-01-13T04:54:07 | 2021-01-13T04:54:07 | 329,197,593 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,442 | cpp | #include <iostream>
#include "gtest/gtest.h"
#include "main.h"
TEST(input, inputs){
string inp = "Hello word!";
testing::internal::CaptureStdout();
Codding(Base64Table, inp);
EXPECT_EQ(testing::internal::GetCapturedStdout(), "SGVsbG8gd29yZCE=");
string inp_1 = "ABQWERTYUIOP{}ASDFGHJKL:ZXCVBNM?!12... | [
"kositcyna.am@students.dvfu.ru"
] | kositcyna.am@students.dvfu.ru |
bcea0f44e4552fde574fb3898d44780944f66406 | cc42472c51d1ca5f2e27106612e2919f3d3799f2 | /src/httprpc.cpp | 1b65a18a2af6021a2c857d913a0e58fa7f807839 | [
"MIT"
] | permissive | OBLMFGJE/CarbonZero | 53b743559f7d5f6ebeedb9d0a29652d38f654a2f | c2981581287101c33915df09aa4348a74a3547f3 | refs/heads/master | 2022-01-10T06:36:47.325778 | 2019-06-23T03:52:23 | 2019-06-23T03:52:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,915 | cpp | // Copyright (c) 2015-2017 The Bitcoin Core developers
// Copyright (c) 2017 The CarbonZero developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "httprpc.h"
#include "base58.h"
#include "chainparams.h"
#include "... | [
"root@ip-172-31-30-236.ec2.internal"
] | root@ip-172-31-30-236.ec2.internal |
b65f24346b5793f63386ff9e9425a55ef4ae0d86 | 6e3b592de89cb3e7d594993c784e7059bdb2a9ae | /Source/AllProjects/Drivers/MQTT/Test/MQTTTest.cpp | 094f589b2def6537330e0cacd662db120e921f21 | [
"MIT"
] | permissive | jjzhang166/CQC | 9aae1b5ffeddde2c87fafc3bb4bd6e3c7a98a1c2 | 8933efb5d51b3c0cb43afe1220cdc86187389f93 | refs/heads/master | 2023-08-28T04:13:32.013199 | 2021-04-16T14:41:21 | 2021-04-16T14:41:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,899 | cpp | //
// FILE NAME: MQTTTest.cpp
//
// AUTHOR: Dean Roddey
//
// CREATED: 02/09/2019
//
// COPYRIGHT: Charmed Quark Systems, Ltd @ 2020
//
// This software is copyrighted by 'Charmed Quark Systems, Ltd' and
// the author (Dean Roddey.) It is licensed under the MIT Open Source
// license:
//
// https://opensource.org... | [
"droddey@charmedquark.com"
] | droddey@charmedquark.com |
b123202e154e1f07a9ff972679143183aeec3296 | 81b9b8ae0e9cc6cf320a95cf373594599d81fe12 | /Components/ErrorList/ErrorList.cpp | f98a8643b3f44dd109060e6443f2241487bec6a3 | [] | no_license | mouchtaris/delta-linux | 1041b9dcc549bda2858dcedbc61087bb73817415 | cca8bd3c1646957cb3203191bb03e80d52f30631 | HEAD | 2016-09-01T19:28:43.257785 | 2014-09-02T05:00:54 | 2014-09-02T05:00:54 | 23,297,561 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,135 | cpp | /**
* ErrorList.cpp
*
* -- IDE Console Output --
*
* List control component for compilation error/warning.
*
* Themistoklis Bourdenas <themis@ics.forth.gr>
* June 2007
*/
#include "ErrorList.h"
#include "StringUtils.h"
#include "PropertyUtils.h"
#include "ImageList.h"
#include "Call.h"
#incl... | [
"lilis@09f5c9fd-6ff0-f344-b9e4-4de1b5e69ea1"
] | lilis@09f5c9fd-6ff0-f344-b9e4-4de1b5e69ea1 |
972a6d0fd7b515ac0be07d29ad752faebeb036ef | 4abd8793f2f2cb52fe02837c67e39dfef74b5715 | /mgroovyank/Day 90/Max Rectangle in Binary MatrixI.cpp | 3efa5f130bc596206948d08aa63c5ca056d9c5d2 | [] | no_license | Devang-25/100DaysOfCode | bdab847655490b4421454b4693cfcd6ddc3d4ff5 | 4e3d632be1ecd3b235c03ac593a4ea8ec9562e56 | refs/heads/master | 2021-05-25T12:50:19.956945 | 2020-04-06T17:49:02 | 2020-04-06T17:49:02 | 253,761,487 | 1 | 1 | null | 2020-12-18T18:33:29 | 2020-04-07T10:31:32 | null | UTF-8 | C++ | false | false | 1,170 | cpp | // https://www.interviewbit.com/problems/max-rectangle-in-binary-matrix/
// Time Complexity: O(N^4)
int Solution::maximalRectangle(vector<vector<int> > &A) {
int n = A.size();
int m = A[0].size();
int dp[n][m][n][m];
memset(dp, -1, sizeof(dp));
int area = 0;
for(int i=0;i<n;i++){
for(in... | [
"noreply@github.com"
] | noreply@github.com |
c6472f4a481add8fde99b50c15a02d3a961e5862 | e773931bdeb9317a5ff7c7e2e6b1012b2645642a | /chromeos/components/diagnostics_ui/backend/telemetry_log_unittest.cc | 18d464dc13bc89cdb823483ab84d238d72b11cf9 | [
"BSD-3-Clause"
] | permissive | SelyanKab/chromium | 21780bcaf7a21d67e3a4fe902aa8fd5d653b374b | ee248e9797404ad1cfcafdc3c0a58729b0f8f88d | refs/heads/master | 2023-03-14T15:02:38.903591 | 2021-03-10T10:21:05 | 2021-03-10T10:21:05 | 234,272,861 | 0 | 0 | BSD-3-Clause | 2020-01-16T08:36:12 | 2020-01-16T08:36:12 | null | UTF-8 | C++ | false | false | 4,626 | cc | // Copyright 2021 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 "chromeos/components/diagnostics_ui/backend/telemetry_log.h"
#include "base/strings/string_number_conversions.h"
#include "chromeos/components/d... | [
"chromium-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | chromium-scoped@luci-project-accounts.iam.gserviceaccount.com |
8f9626d47e7968f1ee67983ce305a6cd2b808929 | d43e1ec775f194c2dd6d45007c50ed999571bd5d | /Contests/NAIPC/2019/It's a Mod, Mod, Mod, Mod World/mod.cpp | ac4cfd87e3596a1e8bb847ff4cbbc4b8579c0a54 | [] | no_license | marcoskwkm/code | 842fd498ec625b25f361b435f0bca843b8d81967 | 636866a7ee28f9f24da62c5dcf93dc1bce7a496e | refs/heads/master | 2022-10-28T16:40:50.710771 | 2022-09-24T20:10:59 | 2022-09-24T20:10:59 | 57,255,944 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 734 | cpp | #include <bits/stdc++.h>
using namespace std;
#define debug(args...) fprintf(stderr,args)
typedef long long lint;
typedef pair<int, int> pii;
typedef pair<lint, lint> pll;
typedef tuple<int, int, int> tiii;
const int INF = 0x3f3f3f3f;
const lint LINF = 0x3f3f3f3f3f3f3f3fll;
lint solve(lint p, lint q, lint n) {
... | [
"marcoskwkm@gmail.com"
] | marcoskwkm@gmail.com |
9f74f7b53d72308e6517f090e54154e4ef730549 | 9dd7799dffb2c9d27b8988d50bc9f96cdbc6d1a2 | /DispIdStructTable.cpp | a58af82ecb8f8778ddffd6b51830de0e0962b349 | [] | no_license | lwyoo/DisplayIDGen | a6f1751cb3eeb419d5d1fc240012042fc474a830 | cc1aefe82bf785fc42e954b5b9a9fe3fb6fa7e4a | refs/heads/master | 2022-07-29T02:04:29.390193 | 2020-05-25T02:38:31 | 2020-05-25T02:38:31 | 265,779,346 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 33,033 | cpp | #include "DispIdStructTable.h"
namespace cluster {
namespace dispID {
stDispID tableID[] = {
{eDispId_12VBatteryReset, McuServiceType::EnumEventID::eDispId_RENAME_12VBatteryReset, McuServiceType::GroupLevel::eDispId_Group_2_Full},
{eDispId_2StepESC_Off, McuServiceType::EnumEventID::eDispId_RENAME_2StepESC_Off... | [
"lywoo@ivisolution.com"
] | lywoo@ivisolution.com |
0dbc4a1dee9e64d4f016f87606751547c9323beb | d83724c96fe82d41bf0e22370ee869febd50e8a3 | /ipp-UIC.7.1.1.013/sources/signal-processing/application/ippsdemo/src/RunMinMax.cpp | 5b91cce4bec1ff255e09d06401ca9d2fb6bbfe79 | [] | no_license | vinnie38170/klImageCore | e06b79b61d51d0952a4dca68ad23e40daeff40c3 | 3514aef281f635c7f48699dbfe2a1844f142e03f | refs/heads/master | 2021-01-20T23:03:52.131054 | 2014-07-12T17:52:39 | 2014-07-12T17:52:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,353 | cpp | /*
//
// INTEL CORPORATION PROPRIETARY INFORMATION
// This software is supplied under the terms of a license agreement or
// nondisclosure agreement with Intel Corporation and may not be copied
// or disclosed except in accordance with the terms of that agreement.
// Copyright(c) 1999-2012 Intel... | [
"wavescholar@gmail.com"
] | wavescholar@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.