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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2515c2a60170fb439091ad3ada60b45b8c816771 | 72a48d0be4a1257c6270f60a5f7afd9cb55eee67 | /sources/shader.cpp | d8d3fe8fa5709c690502bf8235bfec1ef12a49f7 | [] | no_license | AdamBusch/Hello-OpenGL | a0f338efc8dce47c8cb9c6e145a08f5f0bb135b3 | b5613d4a7a0d11257edc609527f0f7a63799f97c | refs/heads/master | 2020-04-14T02:08:43.144916 | 2018-12-31T08:52:12 | 2018-12-31T08:52:12 | 163,576,985 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,060 | cpp | #include "shader.h"
#include <iostream>
#include <fstream>
// TODO: Implement
// 1. Load shader source (.txt file) into memory.
// 2. Compile shader source with GLEW
// 3. Save compiled ref to memory
// 4. Bind and unbind
static void CheckShaderError(GLuint shader, GLuint flag, bool isProgram, const std::string &erro... | [
"adamjbusch561@gmail.com"
] | adamjbusch561@gmail.com |
2ac989ec7ce94f7e2afe560d6ad5d049228c9e82 | 961812a6234683a6a73df817719ad7784bb7deda | /dataSets/data315.cpp | 50ed6d01c354eb7a7f26686f24dbe8e9b6254b0f | [] | no_license | galElmalah/securityProject | dc53f5a16c9f3807002523482b6b6ea8761c368b | 716a518b9f028e676162e6b0973c9c8d70443882 | refs/heads/master | 2020-04-29T11:28:49.115992 | 2019-05-19T14:43:19 | 2019-05-19T14:43:19 | 176,099,790 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,331 | cpp | #include <stdio.h>
int main(){
220 + 413;
173 + 325;
189 + 1804;
976 + 1083;
132 + 442;
printf("%d", 802);
printf("%d", 575);
511 + 349;
307 + 1061;
696 + 1929;
417 + 730;
printf("%d", 28);
291 + 1069;
printf("%d", 15);
printf("%d", 659);
922 + 866;
759 + 1638;
printf("%d", 877);
p... | [
"gale@wix.com"
] | gale@wix.com |
65f2b82c74babffe474d335a944eb619ee3bc14c | b23d74c3f6725a9254ac0382fadf242a3aabb0e5 | /src/ui/light/drivers/aml-light/aml-light.h | 5abf7b9d1cb6de0222b418722d08ea7ff3928b03 | [
"BSD-3-Clause"
] | permissive | Eissen/fuchsia | dacd48dbfa50550d3ea34befdb536b5df5fed61d | 0df256e4ea207e2b83b11ba9c88fb1eca786a8bc | refs/heads/master | 2023-02-02T01:55:06.110096 | 2020-12-15T05:51:48 | 2020-12-15T05:51:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,611 | h | // Copyright 2019 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef SRC_UI_LIGHT_DRIVERS_AML_LIGHT_AML_LIGHT_H_
#define SRC_UI_LIGHT_DRIVERS_AML_LIGHT_AML_LIGHT_H_
#include <fuchsia/hardware/light/llcpp/fidl.h>
#in... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
2d916a220fcf2c388e918b1fdd99c78d3d633947 | e4f93064a729d05ec4ae014038f59347ad191273 | /legacy/master-slave/slaves/slave_accelera.h | 086a23c3c96adf6460161478132bf0b3001d2d67 | [] | no_license | joschu/surgical | 221c349f8ba4e2c9c636931232821ce320004bac | 5b26795b0cc2cb8ba02e3a4a27d2c0568134d83e | refs/heads/master | 2021-01-17T22:52:12.573487 | 2011-07-19T00:56:31 | 2011-07-19T00:56:31 | 1,912,239 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,363 | h | #include "slave_mark1.h"
#include "accelera_geometry.h"
/** Identical base setup to the Slave_mark1. Using new end effector,
* so wrist kinematics are slightly different */
class Slave_accelera : public Slave_mark1 {
public:
Slave_accelera(int id, boost::shared_ptr<Controller> controller, boost::shared_p... | [
"sameep.tandon@gmail.com"
] | sameep.tandon@gmail.com |
eb3de0c9eba4668cfe6c36566eb903f4d5dc8a63 | fb26a9bfc01a747ad8f293fbe04aeee08d699ad4 | /sensorhal/directchannel.cpp | 8d87782d4024d2248ddeed976e38ea85dcc5a4fd | [] | no_license | xorpad-og/google_device_contexthub | 0a2aa307fb23e5672bba37379103fa8699c82e62 | 3fac23e6893f15846a28852d13856f386bd64a62 | refs/heads/master | 2021-05-06T22:57:55.487166 | 2017-11-28T22:44:44 | 2017-11-28T22:44:44 | 112,890,136 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,755 | cpp | /*
* Copyright (C) 2017 The Android Open Source Project
*
* 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 app... | [
"pengxu@google.com"
] | pengxu@google.com |
821564ccd2d07e9ac281fae9db61f395ac70e396 | 5e8d200078e64b97e3bbd1e61f83cb5bae99ab6e | /main/source/src/protocols/kinematic_closure/perturbers/OmegaPerturber.fwd.hh | eb357f32483225420f3f572a613f280b94d9b2de | [] | no_license | MedicaicloudLink/Rosetta | 3ee2d79d48b31bd8ca898036ad32fe910c9a7a28 | 01affdf77abb773ed375b83cdbbf58439edd8719 | refs/heads/master | 2020-12-07T17:52:01.350906 | 2020-01-10T08:24:09 | 2020-01-10T08:24:09 | 232,757,729 | 2 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 997 | hh | // -*- mode:c++;tab-width:2;indent-tabs-mode:t;show-trailing-whitespace:t;rm-trailing-spaces:t -*-
// vi: set ts=2 noet:
//
// (c) Copyright Rosetta Commons Member Institutions.
// (c) This file is part of the Rosetta software suite and is made available under license.
// (c) The Rosetta software is developed by the co... | [
"36790013+MedicaicloudLink@users.noreply.github.com"
] | 36790013+MedicaicloudLink@users.noreply.github.com |
94b33877f1ea6125eafc3cfe8fbbc513f5d76803 | 75ab6a045ccfae81a1f0c5ffadeecafbfc82c475 | /day7/src/main.cpp | a13d782a4200cfab1d5c33970774c27cdaaa4982 | [] | no_license | CelestineSauvage/AdventOfCode15 | 073a491fe44e6d64f8c03b05574301153ebb0857 | 4d1d6ac4170d86d6a61b74460133ed8569b951f3 | refs/heads/master | 2022-09-13T01:34:54.284272 | 2020-06-01T14:57:18 | 2020-06-01T14:57:18 | 268,099,955 | 0 | 1 | null | 2020-06-02T11:41:04 | 2020-05-30T14:50:21 | C++ | UTF-8 | C++ | false | false | 4,111 | cpp | #include <string>
#include <vector>
#include <iostream>
#include <fstream>
#include <algorithm>
#include <boost/algorithm/string.hpp>
using namespace std;
bool lights[1000][1000];
int lights2[1000][1000];
class Action
{
public:
// Constructeurs
//Accesseurs et mutateurs
void setX(pair<int, int> x) {
this... | [
"celestine.sauvage@gmail.com"
] | celestine.sauvage@gmail.com |
e95bff75ed528a887f0027f20545fd47e9cc6ada | 8f95326c8e2ba10ee56bcbd572cfa60df7abeedb | /src/identifiers/empty.cpp | 33651993260840ea3b06f08a320ebcc3323ad90b | [
"MIT"
] | permissive | aidane1/Racket-Interpreter | 357ec29b253b3173610ec3e8faba87a4638b9610 | 84a2915d0b239ce084707fbb0cc0bf7f49897899 | refs/heads/master | 2023-01-13T16:52:57.590762 | 2020-11-26T05:54:25 | 2020-11-26T05:54:25 | 292,935,153 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 406 | cpp | #include "evaluation.hpp"
#include "token.hpp"
#include <iostream>
Token *Evaluation::evaluate_empty(std::vector<Token *> args)
{
Token *new_token = new Token("list", list);
return new_token;
// std::cout << "hey" << "\n";
// Token *new_token = new Token("list", list);
// for (int i = 0; i < args.size(); i++)
... | [
"AidanEglin@gmail.com"
] | AidanEglin@gmail.com |
2ac9ff4b30988027002d50d5bd6465dbb8a0a326 | 545882210ca9bbd0d10f4f29fe7fef83703364b6 | /include/lxw_shade.hpp | 080dc156647cfeb2f775b9ea9752d137af64f6e4 | [] | no_license | kioku-systemk/mrzExporter | 8992ccf4c78f94bc284b3fb1697c1f54d5323a81 | 73d803d8b6031cda6abeebe539a12f1bcc04da4a | refs/heads/master | 2021-01-15T17:45:31.719753 | 2014-01-30T11:11:09 | 2014-01-30T11:11:09 | 12,744,819 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 27,580 | hpp | /*
* C++ wrapper for lxshade.h
*
* Copyright (c) 2008-2013 Luxology LLC
*
* 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 righ... | [
"gkioku@gmail.com"
] | gkioku@gmail.com |
b830e65e5b6039f7b12c7b18029eacf79b7e3d4d | 99224ad2b09267051f95e87ad9e17f9bea43c007 | /adaptivity/TimeSeries.cpp | 826506391efbe9558ff98d44b5ef998757935e1c | [] | no_license | thejourneyofman/WinDolfin | bcf7bf4e7c78a7c443a3f24259527afb98ae9bbd | ffae925d449957f3d1ede14070bb9bb81ca7e97a | refs/heads/main | 2023-02-15T12:27:26.648397 | 2021-01-03T18:27:43 | 2021-01-03T18:27:43 | 325,487,994 | 1 | 0 | null | 2021-01-03T18:33:35 | 2020-12-30T07:44:37 | C++ | UTF-8 | C++ | false | false | 13,189 | cpp | // Copyright (C) 2009-2013 Chris Richardson and Anders Logg
//
// This file is part of DOLFIN.
//
// DOLFIN is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at y... | [
"jo.chou.cc@gmail.com"
] | jo.chou.cc@gmail.com |
410da70ed7a71bdf79396880ac5230bca85ee812 | c8c6901d75d2aad53ee2f6729f80f042029279aa | /streams/region/region_file.cpp | 661f24af8ba5b487e412507fb04d04ad12cc1883 | [
"MIT"
] | permissive | jomiq/godot_voxel | a88bfdcc4d2252e8506481c549a93d59f1fe7a4d | 28fe3365e793434fd4084ab5b63a630b4417acc9 | refs/heads/master | 2022-06-09T11:05:05.090516 | 2022-05-18T22:31:37 | 2022-05-18T22:31:37 | 120,922,994 | 0 | 0 | null | 2018-02-09T15:37:49 | 2018-02-09T15:37:49 | null | UTF-8 | C++ | false | false | 23,319 | cpp | #include "region_file.h"
#include "../../streams/voxel_block_serializer.h"
#include "../../util/godot/funcs.h"
#include "../../util/log.h"
#include "../../util/profiling.h"
#include "../../util/string_funcs.h"
#include "../file_utils.h"
#include <core/io/file_access.h>
#include <algorithm>
namespace zylann::voxel {
n... | [
"marc.gilleron@gmail.com"
] | marc.gilleron@gmail.com |
ceebeb01b4d72e7d39e38fa3ac2f2e900834aaea | 527739ed800e3234136b3284838c81334b751b44 | /include/RED4ext/Types/generated/AI/CoverDemandHolder.hpp | b0c7ad680a17c15bd3c7d573fe93b81636f4efbb | [
"MIT"
] | permissive | 0xSombra/RED4ext.SDK | 79ed912e5b628ef28efbf92d5bb257b195bfc821 | 218b411991ed0b7cb7acd5efdddd784f31c66f20 | refs/heads/master | 2023-07-02T11:03:45.732337 | 2021-04-15T16:38:19 | 2021-04-15T16:38:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 579 | hpp | #pragma once
// This file is generated from the Game's Reflection data
#include <cstdint>
#include <RED4ext/Common.hpp>
#include <RED4ext/REDhash.hpp>
#include <RED4ext/Scripting/IScriptable.hpp>
namespace RED4ext
{
namespace AI {
struct CoverDemandHolder : IScriptable
{
static constexpr const char* NAME = "AIC... | [
"expired6978@gmail.com"
] | expired6978@gmail.com |
7206f8dacb3f1921ec564fa2f4b2b794e42b14e8 | 799fa29e29568c5f8be9fdc27b07db268862fd8b | /Android1/Android1/Android1.NativeActivity/fft4g.hpp | b6e20c55b27e202b76bfb3fea49263ea9785f78c | [] | no_license | Hikari-AsakaToru/KadaiIntelligent | e002dde38f3d5c9cffd4d97f2d934970a94c426a | 3351359643aa9a6b8816248a1d6e44f0dee0cbc7 | refs/heads/master | 2021-03-27T19:04:55.713952 | 2018-12-06T05:40:07 | 2018-12-06T05:40:07 | 75,546,265 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 1,316 | hpp | #pragma once
class fft4g{
// メンバ変数
int *ip; //ビット反転に使用する作業領域
double *w; //cosとsinのテーブル(ip[0] == 0だと初期化される)
int n; //配列の要素数(2N)
// メンバ関数
void makewt(int nw, int *ip, double *w);
void makect(int nc, int *ip, double *c);
void bitrv2(int n, int *ip, double *a);
void bitrv2conj(int n, int *ip, double *a);
void ... | [
"asaka.toru@stu.kanazawa-u.ac.jp"
] | asaka.toru@stu.kanazawa-u.ac.jp |
048ddf0bf0d81c33500fad52c64476e2047e9eca | 24d3527ca20f8600d03f4634c8785c88931d73fe | /Chapitre_3/TD_Barre/barrehexagone.cpp | 9689fb71e54a0efa4965f7c60d41e4574e58391e | [] | no_license | GeoffreyBeranger/Apprendre_Cpp | 803bb847fc17f397dec5afb028a645f4117b6bb7 | 2321d5b3997af2a6a25ab5637ef592316a794be2 | refs/heads/master | 2020-07-19T17:34:11.497367 | 2020-01-09T07:27:17 | 2020-01-09T07:27:17 | 206,487,755 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,175 | cpp | #include "barrehexagone.h"
/**
* @brief barreHexagone::barreHexagone
* @param _reference
* @param _longueur
* @param _densite
* @param _nomAlliage
* @param _diametre
* @details Constructeur de la classe Barre Hexagone
*/
barreHexagone::barreHexagone(const string _reference, const int _longueur, const float _d... | [
"geoffreyberanger@hotmail.com"
] | geoffreyberanger@hotmail.com |
a1c8e33eb695f2754bd2a53a6ec26ba01820ca8d | ac2cfee9d35be674f87cb561d60fb77ce8753a43 | /server/3rd/Theron/Detail/Allocators/Pool.h | b5554263891c8d2c6b4ad35a4c86ef86a66da05d | [] | no_license | a83376750/ZeroServer | 8ead03ad7fc3ab9077f15d48a7c08be25815747b | 2770c4aac78d77d0834ec98dd888bd3107ca60d5 | refs/heads/master | 2020-04-01T23:56:03.833927 | 2019-01-02T13:03:38 | 2019-01-02T13:03:38 | 153,780,102 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,484 | h | // Copyright (C) by Ashton Mason. See LICENSE.txt for licensing information.
#ifndef THERON_DETAIL_ALLOCATORS_POOL_H
#define THERON_DETAIL_ALLOCATORS_POOL_H
#include <Theron/Align.h>
#include <Theron/Assert.h>
#include <Theron/BasicTypes.h>
#include <Theron/Defines.h>
#ifdef _MSC_VER
#pragma warning(push)
#pragma w... | [
"394315001@qq.com"
] | 394315001@qq.com |
e2dc06679e0b8a6750f1e85c6534e4a2d48d9ebb | 2e2ebf3eaf26374a2cf9410e08ae831cdf502f77 | /src/engine/news.h | bcedddf621bef60846c3c25eea437ce8207a8e73 | [
"LicenseRef-scancode-other-permissive",
"Zlib"
] | permissive | def-/HClient | 2531c792524d0a4fc7dbe5e4f64d751b3b4b3413 | 813ae5482e4e863ba63d1fc09fe8c30b551ceccf | refs/heads/master | 2020-12-30T22:56:42.408707 | 2014-02-14T20:56:42 | 2014-02-14T20:56:42 | 16,848,956 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 852 | h | /*
unsigned char*
*/
#ifndef ENGINE_NEWS_H
#define ENGINE_NEWS_H
#include "kernel.h"
#include <vector>
struct SNewsPost {
char m_Date[128];
char m_Title[128];
char m_Text[2048];
char m_Image[512];
int m_ImageID;
};
class INews : public IInterface
{
MACRO_INTERFACE("news", 0)
public:
enum... | [
"queemailquieres@gmail.com"
] | queemailquieres@gmail.com |
779cf6e956997e75234457fd268561298f3455bb | 8567438779e6af0754620a25d379c348e4cd5a5d | /third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceGradient.cpp | de3646c58a3195f7f77d256807fc5f6c77a3b426 | [
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT",
"Apache-2.0",
"LGPL-2.0-only",
"BSD-2-Clause",
"LGPL-2.1-only",
"LicenseRef-scancode-warranty-disclaimer",
"GPL-2.0-only",
"LicenseRef-scancode-other-copyleft",
"BSD-3-Clause"
] | permissive | thngkaiyuan/chromium | c389ac4b50ccba28ee077cbf6115c41b547955ae | dab56a4a71f87f64ecc0044e97b4a8f247787a68 | refs/heads/master | 2022-11-10T02:50:29.326119 | 2017-04-08T12:28:57 | 2017-04-08T12:28:57 | 84,073,924 | 0 | 1 | BSD-3-Clause | 2022-10-25T19:47:15 | 2017-03-06T13:04:15 | null | UTF-8 | C++ | false | false | 5,348 | cpp | /*
* Copyright (C) 2006 Nikolas Zimmermann <zimmermann@kde.org>
* Copyright (C) 2008 Eric Seidel <eric@webkit.org>
* Copyright (C) 2008 Dirk Schulze <krit@webkit.org>
* Copyright (C) Research In Motion Limited 2010. All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify i... | [
"hedonist.ky@gmail.com"
] | hedonist.ky@gmail.com |
2e9a2847875ac143d5839864fc6993561b7583d9 | 6cc69d2446fb12f8660df7863d8866d29d52ce08 | /src/Practice/Websites/GeeksForGeeks/Trees/Page 3/InorderTraversalStack.h | 603ee78b875a67bf39ad5022ad3a5f6b05f50a9c | [] | no_license | kodakandlaavinash/DoOrDie | 977e253b048668561fb56ec5c6d3c40d9b57a440 | f961e068e435a5cedb66d0fba5c21b63afe37390 | refs/heads/master | 2021-01-23T02:30:10.606394 | 2013-09-12T08:06:45 | 2013-09-12T08:06:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,192 | h | /*
* InorderTraversalStack.h
*
* Created on: Jul 26, 2013
* Author: Avinash
*/
//
// Testing Status
//
#include <string>
#include <vector>
#include <cstdlib>
#include <cstdio>
#include <cmath>
#include <algorithm>
#include <ctime>
#include <list>
#include <map>
#include <set>
#include <bitset>
#include <func... | [
"kodakandlaavinash@gmail.com"
] | kodakandlaavinash@gmail.com |
5e4e02f7f71559cb250f7e9772d42b70fdc25c27 | ac2958e1c8493f60381a017b2e68faeb5b3562f8 | /trunk/ProjectCode/SGVcode/main.cpp | 7bdca99c4e516dd746149ff016144876df011cdc | [] | no_license | 519984307/slicOutDoorParallelCollection.Spiral | 3eb77dc4fbfee78df55b1d7f02f08ff3e73bdbd2 | 1378e1574e9f1686c6a25a524278d9f4ace58cb1 | refs/heads/master | 2023-03-17T08:51:42.843796 | 2019-07-17T10:21:06 | 2019-07-17T10:21:06 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 3,158 | cpp | #include "stdafx.h"
#include "module_all_cui.h"
/*----------------------------------------------*/
/*
C++:编写跨平台程序的关键,C/C++中的内置宏定义
分两部分:
操作系统判定:
Windows: WIN32
Linux: linux
Solaris: __sun
编译器判定:
VC: _MSC_VER
GCC/G++: __GNUC__
SunCC: __SUNPRO_C和__SUNPRO_CC
*/
/*------------------... | [
"646293064@qq.com"
] | 646293064@qq.com |
9f4f608cd48594061fe0e529a2a983b1f41ed263 | 29f7bc0d16c8eeb4dca5a5cacb34d8c3b27ba853 | /src/core/base/RawInput.cpp | d3541f062b6fd3da26c65dbcc5c32d88d001c7fb | [
"MIT"
] | permissive | lixiaoyu0123/DataReporter | 821863c079f12e3b576a8a878a8f202aaea9d299 | bde668a7d181ffc823a0106acabdbeb44d547ffc | refs/heads/master | 2020-04-07T17:00:11.783005 | 2018-11-21T13:04:58 | 2018-11-21T13:04:58 | 158,552,391 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,166 | cpp | #include <limits.h>
#include <assert.h>
#include "RawInput.h"
#include "Log.h"
#include "PBUtility.h"
namespace future {
RawInput::RawInput(const void *oData, int32_t length)
: m_Ptr((uint8_t *) oData), m_Size(length), m_Position(0) {
assert(m_Ptr);
}
RawInput::~RawInput() {
m... | [
"lixiaoyu@luojilab.com"
] | lixiaoyu@luojilab.com |
3213057c94f0260c2d86e4967d613dd468b9d167 | 6dfcf0c373181b75b39d9b89490e3d48b6ebc7a6 | /Algorithms/lcs1.cpp | 334f46ab55f14cdd06ab1eb05b2f2d5d15f9c8e8 | [] | no_license | zero-jim/Aacademic-Coding-Stuffs | f4c1d559ea0b51170163f803fec306a813fa0194 | 57315f2196479034a1222ed395e6f66331ad26ef | refs/heads/master | 2020-04-08T13:39:56.233080 | 2019-07-18T18:45:01 | 2019-07-18T18:45:01 | 159,401,163 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 634 | cpp | #include<bits/stdc++.h>
int max(int a, int b);
int lcs( char *X, char *Y, int m, int n )
{
int L[m+1][n+1];
int i, j;
for (i=0; i<=m; i++)
{
for (j=0; j<=n; j++)
{
if (i == 0 || j == 0)
L[i][j] = 0;
else if (X[i-1] == Y[j-1])
L[i][j] = L[i-1][j-1] + 1;
... | [
"i.mahmud494@gmail.com"
] | i.mahmud494@gmail.com |
8b36627ac0e4872a7ce9e9e6867ef48c594a3fe4 | acb84fb8d54724fac008a75711f926126e9a7dcd | /poj/poj3145.cpp | 821503e6431c25809e55d9d31ba4979d42b51b79 | [] | no_license | zrt/algorithm | ceb48825094642d9704c98a7817aa60c2f3ccdeb | dd56a1ba86270060791deb91532ab12f5028c7c2 | refs/heads/master | 2020-05-04T23:44:25.347482 | 2019-04-04T19:48:58 | 2019-04-04T19:48:58 | 179,553,878 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,840 | cpp | #include<cstdio>
#include<cstring>
#include<algorithm>
#include<cmath>
#include<vector>
#include<queue>
#include<set>
using namespace std;
typedef long long LL;
typedef long double ld;
void read(int&x){scanf("%d",&x);}
void read(long double&x){double xx;scanf("%lf",&xx);x=xx;}
void read(LL&x){scanf("%lld",&... | [
"zhangruotian@foxmail.com"
] | zhangruotian@foxmail.com |
1947b08a83f68545d13cec2e6f896d90049b1177 | cde63d7272be7851fd7ccd3794f714e985d407ef | /std_lib_facilities.h | e6398f55d5132444bd111ab3ec6c10895cd8cc1e | [] | no_license | Anonymous-V/Principles-and-Practice-Using-CPP-2nd-edition | bc4866b2f8ae950f829302da56e7b513df82ea48 | 2d40b7b252c7dc7e42a50099ea1395c14351a6a9 | refs/heads/master | 2022-12-26T22:13:14.238374 | 2020-10-15T11:09:25 | 2020-10-15T11:09:25 | 273,668,787 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,703 | h | /*
std_lib_facilities.h
*/
/*
simple "Programming: Principles and Practice using C++ (second edition)" course header to
be used for the first few weeks.
It provides the most common standard headers (in the global namespace)
and minimal exception/error support.
Students: please don't try to unde... | [
"anonymous@gmail.com"
] | anonymous@gmail.com |
6ed19087c155cbef3865a0e557dde5794ccb5469 | a455898673ba9ed21450db18c798dd677f3aae3a | /src/brush/pencilbrush.cpp | 3814f8000e80fd5360ac5d9dd70cc1095052854c | [] | no_license | sheepkill15/painter | 41cac8338ee1c49a3ce963820e659e993f4d7130 | cba1d8e7e92f09c4b0f113bc4fff7d69b91074bb | refs/heads/master | 2023-08-22T03:55:13.741715 | 2021-10-18T18:18:51 | 2021-10-18T18:18:51 | 401,294,398 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,412 | cpp | //
// Created by Aron on 10/3/2021.
//
#include "pencilbrush.h"
#include <canvas/canvas.h>
#include <shapes/lineshape.h>
void PencilBrush::onMouseDown(const sf::Vector2f &pos) {
auto circle = sf::CircleShape(settings.size);
circle.setFillColor(settings.color);
circle.setOrigin(settings.size, settings.size... | [
"simonarons15@gmail.com"
] | simonarons15@gmail.com |
9d6d0fb17391c024d872f4a376fda447bdf29939 | 7a572c43d35f9f5bf026268ea36493f82e206846 | /TestMac/Curl_C.cpp | c766136d6d2822b89f938f6c806fa74352a58094 | [] | no_license | xu561865/Test_Mac | f674cbd5c484b90135b8e5b46e951dc5f4cc6c09 | ff51c667d7f88ca976e948761e37ff329a4eb4b3 | refs/heads/master | 2021-01-10T01:20:38.259352 | 2016-09-09T09:22:43 | 2016-09-09T09:22:43 | 47,551,617 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,173 | cpp | //
// Curl_C.cpp
// TestMac
//
// Created by 徐以 on 4/1/16.
// Copyright © 2016 xuyi. All rights reserved.
//
#include "Curl_C.h"
#include <curl/curl.h>
#include <stdlib.h>
#include <iostream>
Curl_C* Curl_C::sharedInstance()
{
static Curl_C* s_pCurl = nullptr;
if(!s_pCurl)
{
s_pCurl = new Cur... | [
"xuyi561865@sina.com"
] | xuyi561865@sina.com |
17ea8f415b2ce8c9f26d14adc3b940660bc0e5c1 | 20398f12903a20f3a8740d89edaff96242956f69 | /unused/view.cc | a2dd42c709023349379a36af4cbb87a4f607199d | [
"MIT"
] | permissive | RobertWeber1/cli | 2dee03ed83cca0ff59250c7058ea54b3b9cba1ef | 5cb67325610be41014403e9342dddbe942511c2b | refs/heads/master | 2021-01-09T20:29:51.568564 | 2019-03-31T18:37:14 | 2019-03-31T18:37:14 | 64,243,371 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,293 | cc | #include "view.h"
#include "hlayout.h"
#include "vlayout.h"
#include "cliwindow.h"
#include <stdarg.h>
UnknownLayoutException::UnknownLayoutException(const std::string& viewName,
const std::string& layoutName) throw():
viewName(viewName), layoutName(layoutName)
{
fillW... | [
"Robert@Weber.de"
] | Robert@Weber.de |
730b251a295a961fd8cca908db2efdf3c7ba74c3 | e8d783d45ac0f3ef7f38eadc5b44b7e2a595179f | /wxwidgets/tutorials/t27.cpp | 5244e41c9b07e3ab284ff2e039a82fc010f5fe36 | [
"Zlib"
] | permissive | osom8979/example | e3be7fd355e241be6b829586b93d3cbcb1fbf3a5 | 603bb7cbbc6427ebdc7de28f57263c47d583c2e4 | refs/heads/master | 2023-07-21T19:55:55.590941 | 2023-07-20T02:06:42 | 2023-07-20T02:06:42 | 52,238,897 | 2 | 1 | NOASSERTION | 2023-07-20T02:06:43 | 2016-02-22T01:42:09 | C++ | UTF-8 | C++ | false | false | 850 | cpp | #include "tutorial.h"
class MyFrameT27: public wxFrame
{
public:
MyFrameT27(const wxString& title);
};
MyFrameT27::MyFrameT27(const wxString& title) :
wxFrame(NULL, wxID_ANY, title, wxDefaultPosition, wxSize(200, 150))
{
wxPanel *panel = new wxPanel(this, -1);
wxGridSizer *grid = new wxGridSizer... | [
"osom8979@gmail.com"
] | osom8979@gmail.com |
27cf74a72ebc1708ebe29257245165e6d68c9077 | d64f5b22a4ec23ad28019ba129a50e216acadb92 | /ParseFile.cpp | d4e97e8cab00021b252891b81e38ab9e3d166752 | [] | no_license | LHFCOD/ImportData | 6f85219e509bd67ccfea7ab4160e3d4f4391ef83 | c68faa98af8aa98bef675ec5d62a09f7500be08e | refs/heads/master | 2021-05-06T01:02:49.946198 | 2017-12-15T15:40:38 | 2017-12-15T15:40:38 | 114,350,887 | 0 | 0 | null | 2017-12-15T15:40:39 | 2017-12-15T09:11:58 | C++ | UTF-8 | C++ | false | false | 5,633 | cpp | #include <string>
#include <fstream>
#include <sstream>
#include <streambuf>
#include <regex>
#include <iostream>
#include <cassert>
#include "ParseFile.h"
using namespace std;
bool ParseFile::ReadFile(string strPath)
{
ifstream infile;
infile.open(strPath.data());
if (!infile.is_open())
{
ParseE... | [
"2278200244@qq.com"
] | 2278200244@qq.com |
596ed77b164a2268ec892833f1f78bcf6bb2c428 | ea3e4e4b7dc16c5eac0f1d7eecbe8aade6d9441d | /lab6/Huffman/src/encoding_ex.cpp | 0ade89fa23dd676546cdf9c4f207bf6432f89069 | [] | no_license | anden259/TDDD86 | 25ef79c3fe9158184776cabf62d699ade761cc36 | b7de080747c17f20cec23ab8bd9dfda07c494a7c | refs/heads/master | 2021-01-01T19:19:41.021026 | 2014-12-16T09:58:47 | 2014-12-16T09:58:47 | 23,538,556 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,875 | cpp | // anden259 andno037
#include "encoding.h"
#include <queue>
// builds a table with the count of each byte in the input data
map<int, int> buildFrequencyTable(istream& input)
{
map<int, int> freqTable;
while (true) {
int byte = 0;
byte = input.get();
if (byte == -1) {
++fre... | [
"andno037@student.liu.se"
] | andno037@student.liu.se |
716b070faf6eb88ef8c92af06b68a92034cc3f45 | fb2402740fce5082291b8fa6a0a20bebf4750418 | /hackerrank/day-8-dictionaries-and-maps.cpp | 6afb98ca111056e44e21cdfb1ba6434b48b308a2 | [] | no_license | tdwong/leetcode | 4e9b2323f5e8c7766fe7f0bd73543410718dead4 | 93aa582986fd7e95839d52ebecacb65859f0a6e6 | refs/heads/master | 2020-07-25T22:41:28.730152 | 2017-03-08T07:35:01 | 2017-03-08T07:35:01 | 73,647,897 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,504 | cpp | //https://www.hackerrank.com/challenges/30-dictionaries-and-maps
/*
# Day 8: Dictionaries and Maps
#
# Objective
#
# Today, we're learning about Key-Value pair mappings using a Map or Dictionary data structure. Check
# out the Tutorial tab for learning materials and an instructional video!
#
# Task
#
#... | [
"tdwong@yahoo.com"
] | tdwong@yahoo.com |
efddf6ae65e3936d9dcfe7fce9b2c2ccc05a424f | 03e698eabf47f8361c545b07e0f5d837e6d49fac | /lib/region.h | d0eeba55de48e2b7399a788023585e5873b851b9 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | zxzxzx131313/Global-Contrast-based-Salient-Region-Detection | 6c7baac3e2a6afe376d2c8a9e1d89972b879f883 | 5fab3dac82e1d5a514d2d170df9832714b7dddc3 | refs/heads/master | 2022-03-04T07:13:21.598714 | 2022-02-14T21:19:58 | 2022-02-14T21:19:58 | 120,560,842 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 681 | h | #include <opencv2/opencv.hpp>
#include <map>
#include <list>
#include <array>
#include <vector>
class Region{
public:
Region(): label(0), num_pixels(0), saliency(-1) {
};
int label;
int num_pixels;
float saliency;
std::map<std::array<int, 3>, int> colors;
std::vector<cv::Poi... | [
"zxzxzx131313@gmail.com"
] | zxzxzx131313@gmail.com |
f34b193a5a7f4a30f34af8377d8543006d8469c2 | 3ef492e4ceddcc487ef73ddd1befee2f0dd34777 | /Algorithms/Implementation/Equalize the Array.cpp | 0acdf26e7359f49834298cb7483915b6ba27c316 | [] | no_license | PhoenixDD/HackerRank | 23c9079e5b31657bc68f1709b5550be403f958ce | 044c39619ce535f5a247c7407b0f7793ca04719d | refs/heads/master | 2021-01-15T16:47:47.124935 | 2018-06-28T00:17:12 | 2018-06-28T00:17:12 | 99,726,089 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 406 | cpp | #include <cmath>
#include <cstdio>
#include <vector>
#include <iostream>
#include <algorithm>
#include <unordered_map>
using namespace std;
int main()
{
int n,num,max=0;
cin>>n;
unordered_map<int,int> freq(n);
for(int i=0;i<n;i++)
{
cin>>num;
freq[num]++;
}
for(auto &i:fre... | [
"ddhondiyal@gmail.com"
] | ddhondiyal@gmail.com |
8ed1c66a3dc6cc2fd7e7d5d5eae3fad7b4d836df | 7ca22b3a8e95c03b54c37b33cc49e27240f22274 | /src/Restaurant.cpp | e2c605d26e9dc0146039612157f7a2e16ff8dfdb | [] | no_license | almda/Spl-Restaurant | e640f630ed650426fc0717f50b5ed94a8d6d6101 | 84e2406305c56803807ff21b4c4e465e99b5d5f1 | refs/heads/master | 2022-12-12T16:21:45.160068 | 2020-09-14T21:39:51 | 2020-09-14T21:39:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,662 | cpp | ///////////////////////////last version ori 20.11
#include "../include/Restaurant.h"
#include <iostream>
#include <fstream>
using namespace std;
//init new Restaurant that isn't open and didnt get any customer so id init to 0.
Restaurant::Restaurant():open(false),tables(),menu(),actionsLog(),idAvailable(0) {}
//By w... | [
"44979385+almda@users.noreply.github.com"
] | 44979385+almda@users.noreply.github.com |
ba806735f9d4daf1003a026cb84067014d700cd2 | 2286ee85ed394b47d781e803f407195f00a79784 | /src/spink/irled.h | 8e9c21da594d27334760b781fb032ae4a417a0d4 | [] | no_license | jdcockrill/spink | 423c4a8155efacaa3fcaff557e40bd48f8973ab0 | 42ff08b8381c939bdc9f7964f1cdaf5f767b7722 | refs/heads/master | 2016-09-06T18:17:57.524500 | 2011-09-14T21:54:24 | 2011-09-14T21:54:24 | 2,366,219 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 330 | h | /*
irled.h - Library for flashing an IR LED with
a given signal.
Created by jdcockrill, September 11, 2011.
*/
#ifndef irled_h
#define irled_h
#include "WProgram.h"
class IRLED
{
public:
IRLED(int pin);
void sendSignal(int arr[], int len);
private:
void _pulseIR(long microsecs);
int _pin;
}... | [
"jamie.cockrill@gmail.com"
] | jamie.cockrill@gmail.com |
f4b42c69789a6c32d9fb6839d56418e09d4ba9dc | 2f557f60fc609c03fbb42badf2c4f41ef2e60227 | /CondTools/SiPixel/test/SiPixelGenErrorDBObjectReader.h | 9a0d7b30ef6a195cdc7d7e8c27c07776e4f96297 | [
"Apache-2.0"
] | permissive | CMS-TMTT/cmssw | 91d70fc40a7110832a2ceb2dc08c15b5a299bd3b | 80cb3a25c0d63594fe6455b837f7c3cbe3cf42d7 | refs/heads/TMTT_1060 | 2020-03-24T07:49:39.440996 | 2020-03-04T17:21:36 | 2020-03-04T17:21:36 | 142,576,342 | 3 | 5 | Apache-2.0 | 2019-12-05T21:16:34 | 2018-07-27T12:48:13 | C++ | UTF-8 | C++ | false | false | 1,429 | h | #ifndef CondTools_SiPixel_SiPixelGenErrorDBObjectReader_h
#define CondTools_SiPixel_SiPixelGenErrorDBObjectReader_h
#include <memory>
#include "FWCore/Framework/interface/Frameworkfwd.h"
#include "FWCore/Framework/interface/EDAnalyzer.h"
#include "FWCore/Framework/interface/ESWatcher.h"
#include "FWCore/Framework/in... | [
"hidas.pal@wigner.mta.hu"
] | hidas.pal@wigner.mta.hu |
cba0e533465d52aa5fdd125711504ddd6f11f0eb | c74e77aed37c97ad459a876720e4e2848bb75d60 | /300-399/317/(3929359)[OK]A[ b'Perfect Pair' ].cpp | 23ccc074341b45201d7ad1f4744b1866310f764b | [] | no_license | yashar-sb-sb/my-codeforces-submissions | aebecf4e906a955f066db43cb97b478d218a720e | a044fccb2e2b2411a4fbd40c3788df2487c5e747 | refs/heads/master | 2021-01-21T21:06:06.327357 | 2017-11-14T21:20:28 | 2017-11-14T21:28:39 | 98,517,002 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 727 | cpp | #include<iostream>
using namespace std;
int main()
{
long long x,y,m,count,t;
cin>>x>>y>>m;
if (x<y)
{
count = x;
x = y;
y = count;
}
if (x>=m||y>=m)
{
cout<<0;
}
else if ((x+y)-m>min(x,y)-m)
{
count=0;
if (y<0)
... | [
"yashar_sb_sb@yahoo.com"
] | yashar_sb_sb@yahoo.com |
c5d42f695e34c5cd5f333ca1fe69e14e4503b22b | 1dab59ad345716011ad0d87ee4d8bad549ad8b93 | /source/compute_engine/opencl/opencl_command_queue.h | 469a0c7d72339661ad58cad8c1112f4efdf75ab2 | [
"MIT"
] | permissive | aminnezarat/KTT | 1d15eca55348d03d350270d100235f7d6002cce0 | 6566f9adb1b010a695c48642eebcece68d37fa17 | refs/heads/master | 2021-07-17T07:45:39.016504 | 2020-10-16T16:13:00 | 2020-10-16T16:13:00 | 218,470,489 | 0 | 0 | MIT | 2019-10-30T07:45:16 | 2019-10-30T07:45:15 | null | UTF-8 | C++ | false | false | 1,369 | h | #pragma once
#include <vector>
#include <CL/cl.h>
#include <compute_engine/opencl/opencl_utility.h>
#include <ktt_types.h>
namespace ktt
{
class OpenCLCommandQueue
{
public:
explicit OpenCLCommandQueue(const QueueId id, const cl_context context, const cl_device_id device) :
id(id),
context(contex... | [
"aminnezarat@gmail.com"
] | aminnezarat@gmail.com |
01b336414f82537100ae0de6ff25632a7c9e582e | 44d8ef4d380652976ce6db22120322f7cbaa98bc | /Programmers/kakao2018 - 캐시.cpp | 44b6b29a33dbb522a8d68f0a42d0cdec69a7e403 | [] | no_license | sw93/algorithm | dc9bb9fdefd74a3015121197de6cb3d526899940 | 30d17512474b27a752ac672a70b0a7feb8355a25 | refs/heads/master | 2021-07-15T12:41:49.513793 | 2020-06-08T04:24:08 | 2020-06-08T04:24:08 | 164,956,742 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 770 | cpp | #include <cstring>
#include <vector>
#include <algorithm>
using namespace std;
int solution(int cacheSize, vector<string> cities) {
int answer = 0;
vector<string> cache;
if (cacheSize == 0) {
return cities.size() * 5;
}
for (int i=0; i<cities.size(); i++) {
transform(cities[i].b... | [
"swjeong0421@gmail.com"
] | swjeong0421@gmail.com |
39ef6f90a8f3e267cd6ed7cdaf277e1131005e47 | 765a5cfc885c255bb7726749144bad90288afebb | /mapper.cpp | 278433b4020757b337f07c1da4d97a747a8961e4 | [] | no_license | Sakura-gh/Parallel-Algorithm | 941ad2c20670675932c1b7f5bbef73f2b74d4795 | aabe92452d36faa9820c21f8146f26b257d1e05e | refs/heads/master | 2022-09-06T00:14:04.249839 | 2020-05-27T04:52:26 | 2020-05-27T04:52:26 | 267,193,725 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 502 | cpp | #include <iostream>
#include <string>
#include <regex>
using namespace std;
int main()
{
// use regex to match english word
regex re("([A-Za-z]*)");
smatch result;
string word;
// read word separated by space
while (cin >> word)
{
// match word with regex
regex_search(word,... | [
"50900131+Sakura-gh@users.noreply.github.com"
] | 50900131+Sakura-gh@users.noreply.github.com |
d333538f859de2c98ce9d1999a2df4d28fae76d1 | a0442fcd9edc8b6d0975ce8799ea5a67e808c568 | /casa6/casa5/code/alma/ASDM/DelayModelTable.h | e419df7cd0edb8d3efda04cf86f0588e30a84f52 | [] | no_license | kernsuite-debian/carta-casacore | f0046b996e2d0e59bfbf3dbc6b5d7eeaf97813f7 | a88f662d4f6d7ba015dcaf13301d57117a2f3a17 | refs/heads/master | 2022-07-30T04:44:30.215120 | 2021-06-30T10:49:40 | 2021-06-30T10:49:40 | 381,669,021 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,481 | h |
/*
* ALMA - Atacama Large Millimeter Array
* (c) European Southern Observatory, 2002
* (c) Associated Universities Inc., 2002
* Copyright by ESO (in the framework of the ALMA collaboration),
* Copyright by AUI (in the framework of the ALMA collaboration),
* All rights reserved.
*
* This library is free softwa... | [
"aramaila@ska.ac.za"
] | aramaila@ska.ac.za |
1a60f766cabf468fc30a050f33ac52f938edeef1 | 1d33d0914df7b271d3f011e204607866a6c28652 | /catchBottle/DevicePlugins/Robotiq/SDK_2-Finger/Src/checksum.cpp | cdc4213b807c65cd1ae0ab864b7d73450e295330 | [] | no_license | spark-fire/first-program-copy | 02a901f21a269386a6dc1a17b3a3d48a7cb72c99 | 8d428b37d4bbb6544691763c6dd561e09749fc48 | refs/heads/master | 2021-08-18T16:21:56.723062 | 2017-11-23T07:52:47 | 2017-11-23T07:52:47 | 111,779,250 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,526 | cpp | #include "checksum.h"
using namespace Checksum;
quint16 Checksum::crc16ForModbus(const QByteArray &data)
{
static const quint16 crc16Table[] =
{
0x0000, 0xC0C1, 0xC181, 0x0140, 0xC301, 0x03C0, 0x0280, 0xC241,
0xC601, 0x06C0, 0x0780, 0xC741, 0x0500, 0xC5C1, 0xC481, 0x0440,
0xCC01, 0x0CC... | [
"1157372506@qq.com"
] | 1157372506@qq.com |
e55bad328d4dd3eae04c308cd75ffbbd4e402cb9 | 92cbab92136412f58bc8a0ae33b495f24060b73e | /el6-64/libtango8-devel-8.1.2-16.el6.maxlab.x86_64/usr/include/tango/Xstring.h | e95866c1ac198d4356e68fbb68b1b865cd96f33c | [] | no_license | soleil-ica/binaries-backup | baea47f410874c9379db2abf891cfb9d3824c702 | 17f053bb15deb6d134c4918bdf6bacb7e613d1f5 | refs/heads/master | 2021-01-19T04:34:12.211925 | 2018-02-22T12:53:16 | 2018-02-22T12:53:16 | 62,545,516 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,384 | h | //
// Copyright (C) : 2004,2005,2006,2007,2008,2009,2010,2011,2012,2013
// Synchrotron SOLEIL
// L'Orme des Merisiers
// Saint-Aubin - BP 48 - France
//
// This file is part of Tango.
//
// Tango is free software: you can redistribute it and/or modify
// it under the terms of... | [
"langlois@synchrotron-soleil.fr"
] | langlois@synchrotron-soleil.fr |
fb991d1e7fe448a5f4443b393b33d319b2173e9b | fac52aacf1a7145d46f420bb2991528676e3be3f | /SDK/Zombie_Trucker_Jacket_04_classes.h | a594e764265d3fb447bc50492b503361fb191836 | [] | no_license | zH4x-SDK/zSCUM-SDK | 2342afd6ee54f4f0b14b0a0e9e3920d75bdb4fed | 711376eb272b220521fec36d84ca78fc11d4802a | refs/heads/main | 2023-07-15T16:02:22.649492 | 2021-08-27T13:44:21 | 2021-08-27T13:44:21 | 400,522,163 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 673 | h | #pragma once
// Name: SCUM, Version: 4.20.3
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace SDK
{
//---------------------------------------------------------------------------
// Classes
//---------------------------------------------------------------------------
// BlueprintGeneratedClass Zombie_Trucker... | [
"zp2kshield@gmail.com"
] | zp2kshield@gmail.com |
1ffa2e88fbc3614f62dfde5a7bbd3b7a22be590b | 924704a1d4c0dc8497c372fe1b869c5ba36291b2 | /Sorting Algorithms/quick_sort.cpp | 7d99ee791b0fa4a87b9797d0a0d60759ee1fcc8d | [] | no_license | suchita08/CPP | c387cf2882ad1eeebef5acff64d942d95190ef39 | 3b402a73c2a4bfd1e206d01aec26e1c166aca461 | refs/heads/master | 2023-01-14T02:50:42.861418 | 2020-11-16T13:12:56 | 2020-11-16T13:12:56 | 276,922,683 | 0 | 1 | null | 2020-10-01T08:44:52 | 2020-07-03T14:45:30 | C++ | UTF-8 | C++ | false | false | 904 | cpp | #include<bits/stdc++.h>
using namespace std;
void swap(int *x,int *y)
{
int temp=*x;
*x=*y;
*y=temp;
}
int partition (int arr[], int start, int end)
{
int pivot = arr[end];
int i = (start - 1);
for (int j =start; j <=end - 1; j++)
{
if (arr[j] < pivot)
{
... | [
"suchitayadav73@gmail.com"
] | suchitayadav73@gmail.com |
69e2fa6dc843947331a00c27627b508b594abdc0 | 33152af93821a3baee32ebe9e9184adb515b7ef7 | /zircon/system/ulib/disk_inspector/test/loader_test.cc | 4accfa82fa3ebcd847018f1cd0b27c7611451eda | [
"BSD-3-Clause",
"MIT"
] | permissive | casey/fuchsia | bca750f13f1beba94b73d75b1e660bc3eb912ec3 | 2b965e9a1e8f2ea346db540f3611a5be16bb4d6b | refs/heads/master | 2021-06-20T01:46:38.891626 | 2020-04-09T23:41:46 | 2020-04-09T23:41:46 | 254,491,837 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,472 | cc | // Copyright 2020 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "disk_inspector/loader.h"
#include <storage/buffer/array_buffer.h>
#include <fs/transaction/block_transaction.h>
#include <zxtest/zxtest.h>
name... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
8ab1686db9b9169feb66cb79bcc4268d197c97b0 | 140d78334109e02590f04769ec154180b2eaf78d | /aws-cpp-sdk-lightsail/source/LightsailErrorMarshaller.cpp | d0a399ec40ea9642d68af36fc74e3d00ee1826f6 | [
"Apache-2.0",
"MIT",
"JSON"
] | permissive | coderTong/aws-sdk-cpp | da140feb7e5495366a8d2a6a02cf8b28ba820ff6 | 5cd0c0a03b667c5a0bd17394924abe73d4b3754a | refs/heads/master | 2021-07-08T07:04:40.181622 | 2017-08-22T21:50:00 | 2017-08-22T21:50:00 | 101,145,374 | 0 | 1 | Apache-2.0 | 2021-05-04T21:06:36 | 2017-08-23T06:24:37 | C++ | UTF-8 | C++ | false | false | 1,082 | cpp | /*
* Copyright 2010-2017 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" fil... | [
"henso@amazon.com"
] | henso@amazon.com |
57c9a205c19c840f95d0c06c3b1a4e2ca5d80417 | 00898a0e0ac2ae92cd112d2febf8d2b16fb65da4 | /Project_code/PLC-Comm/include/QtDeclarative/5.5.0/QtDeclarative/private/qdeclarativecustomparser_p.h | 525b75e5af6160d4b6c2d04e8f03d22a51193474 | [] | no_license | yisea123/AM-project | 24dd643a2f2086ea739cf48a4c6e8f95c11e42a7 | f1f7386a04985fcbd5d4fc00707cc5c3726c4ff4 | refs/heads/master | 2020-09-01T23:47:58.300736 | 2018-09-24T11:57:57 | 2018-09-24T11:57:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,473 | h | /****************************************************************************
**
** Copyright (C) 2015 The Qt Company Ltd.
** Contact: http://www.qt.io/licensing/
**
** This file is part of the QtDeclarative module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL21$
** Commercial License Usage
** Licensees hold... | [
"2539722953@qq.com"
] | 2539722953@qq.com |
afc7ba48447e52a54643b652003763becc4b5d7a | cd584fbc26ecf1dbc2d2bf97ff5d169502aa18c3 | /2011/LAMPS_DPA/DPA03/draw_x.cc | f7ffd4210a61f1f88edd939d683465899dd66d7c | [] | no_license | SongkyoLee/KUNPL | 10b63177354c2416a28c8ddb9761113ad93613fe | f3200a70fa07a3d1873d67e1c52a2d502b506679 | refs/heads/master | 2016-09-12T15:15:17.911319 | 2016-05-09T12:07:44 | 2016-05-09T12:07:44 | 58,053,105 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,244 | cc | #include "TFile.h"
#include "TTree.h"
#include "TCanvas.h"
#include "TH2.h"
#include "TF1.h"
#include "TH1.h"
#include "TStyle.h"
#include "TMath.h"
#include "TROOT.h"
#include "Riostream.h"
#include <fstream>
#define XMIN 900
#define XMAX 980
#define Nbin 40
#define Nevent 1000
Double_t linfunc(Double_t* x, Double_t... | [
"songkyo.lee@cern.ch"
] | songkyo.lee@cern.ch |
bb9769f8483f51d324d524d6d7a29829e068ddff | ffa66ab4b13172986b56fe8f5a4814f676a89901 | /sprint04/t02/app/src/dragonborn.h | 10b010a17e0dd4b312a14670f1dd5207ae0738e4 | [] | no_license | zhukovskyV/cpp_marathon | c1359228835a0fd35e949dc9b231dd33b0c59b3f | 9d7727fcdca1329408e28e19eaf2ca9d682118f8 | refs/heads/master | 2022-12-26T21:04:28.114484 | 2020-10-11T15:01:27 | 2020-10-11T15:01:27 | 303,145,483 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 416 | h | #ifndef DRAGONBORN_H
#define DRAGONBORN_H
#include <map>
#include <iostream>
class Dragonborn final{
public:
enum class Actions {
Shout,
Magic,
Weapon,
Invalid
};
void executeAction(const Actions action);
private:
void shoutThuum()... | [
"jukovskiyv96@gmail.com"
] | jukovskiyv96@gmail.com |
7f2982d3d2d66cdf5a8751b3cd7fbbf6258abad2 | 94c4e4e0fadcb9eb6e824c6765bedb01dedf3a9b | /HW/task2/cash.cpp | dcefdb122c6e8d3a960954db3812d7fe965ed5d5 | [] | no_license | RobertVoropaev/OOP | 1054ffee96d632a57654316ce2fc1a2fedb45941 | 227fa5e0601ecff6195babe04eb43cc14b346dcf | refs/heads/master | 2020-12-31T09:39:46.315351 | 2020-03-21T17:08:35 | 2020-03-21T17:08:35 | 238,981,835 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 923 | cpp | //
// Created by RobertVoropaev on 15.05.2016.
//
#include <iostream>
#include <map>
using namespace std;
int main() {
map<int, int> M1;
map<int, int> M2;
int M, x;
int n = 0;
cin >> M;
for(int i = 0; cin >> x; i--) {
if(M1.find(x) == M1.end()) {
cout <<... | [
"robertvoropaev11@gmail.com"
] | robertvoropaev11@gmail.com |
ed373f74ea6d67b66819a131f2acf29594bbf68a | 600df3590cce1fe49b9a96e9ca5b5242884a2a70 | /third_party/WebKit/Source/core/loader/WorkerThreadableLoader.cpp | 30cc33ab3c3b5b42f80d3369096250208b726dd7 | [
"LGPL-2.0-or-later",
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-2.1-only",
"GPL-1.0-or-later",
"GPL-2.0-only",
"LGPL-2.0-only",
"BSD-2-Clause",
"LicenseRef-scancode-other-copyleft",
"MIT",
"Apache-2.0",
"BSD-3-Clause"
] | permissive | metux/chromium-suckless | efd087ba4f4070a6caac5bfbfb0f7a4e2f3c438a | 72a05af97787001756bae2511b7985e61498c965 | refs/heads/orig | 2022-12-04T23:53:58.681218 | 2017-04-30T10:59:06 | 2017-04-30T23:35:58 | 89,884,931 | 5 | 3 | BSD-3-Clause | 2022-11-23T20:52:53 | 2017-05-01T00:09:08 | null | UTF-8 | C++ | false | false | 22,229 | cpp | /*
* Copyright (C) 2009, 2010 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of co... | [
"enrico.weigelt@gr13.net"
] | enrico.weigelt@gr13.net |
3114778db19d83dcadbb7cfbee8ff2335c0598ca | 9fe0a8d3607fb70d8004477f925316c053957351 | /crm_r_loine/source/crm_dialog/dlg_message.cpp | 24460e7b4d3004875b45473fbeb8ecf793114278 | [] | no_license | dekalo64/RLine | f0b43d4a3427cd1dd0c8730a3de95c63ff199ca7 | 650b9db4d1708e250dd67ebc63d3699e89ef2b6c | refs/heads/master | 2020-12-25T18:20:08.117341 | 2014-01-06T12:51:22 | 2014-01-06T12:51:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,980 | cpp | #include "source/crm_dialog/dlg_message.h"
CMessage::CMessage(QWidget *parent, const QString title, const QString text):
QMessageBox(parent)
{
setWindowFlags(Qt::Drawer);
setWindowTitle(title);
setText(text);
QPixmap pixmap("data/picture/additionally/alert.png");
setIconPixmap(pixmap... | [
"kirichok.jaroslav@gmail.com"
] | kirichok.jaroslav@gmail.com |
a727fb12e0aabe538407832b9d1cfbfd4825627a | 27771fdde45b6af5d80cfae07d9fbecd3d9b2ac2 | /Trabalho final parte 1/codigo/Save.cpp | 148201e83799feb91bfcc97098b3fbe5fa8f2d70 | [] | no_license | TheZambi/AEDA | 0a55be585a53d82df11a40d55e9305d9e061d515 | ea8be213ab81d8d4f54f322c9357af2eabc910ad | refs/heads/master | 2023-04-17T01:40:28.481192 | 2021-05-01T11:36:11 | 2021-05-01T11:36:11 | 363,391,833 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,901 | cpp | #include "Save.h"
extern Company *comp;
void saveAirports() {
ofstream newAirportsFile;
string s = "Airports.txt";
newAirportsFile.open("newAirports.txt");
if (comp->getAirports().size() != 0) {
for (size_t i = 0; i < comp->getAirports().size() - 1; i++) {
newAirportsFile << comp->getAirports().at(i)->getLoc... | [
"gamingwithapotato@gmail.com"
] | gamingwithapotato@gmail.com |
d22822bf9a607fdac46865a726c37d211219f387 | 70e99b8bce54db216e3068992ffe3c010f63f43c | /day1/day1-1.cpp | 0212fdc4798b2d46edd7513ca9445ac8295693d5 | [] | no_license | yuanLeeMidori/advent-of-code-self-practice | 73ac5c8da792b8b2319bf2b9b764d01b1658dd86 | e6f79357aebf70d3e2b207bb726eb5b503d93fec | refs/heads/master | 2023-02-21T21:36:08.047362 | 2021-01-25T04:09:20 | 2021-01-25T04:09:20 | 332,625,586 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,004 | cpp | #include <iostream>
#include <fstream>
#include <string>
#include <vector>
using namespace std;
int main(int argc, char *args[]) {
char *filename;
string line;
int num;
vector<int> numList;
filename = args[1];
int sum;
cout << "file name: " << filename << endl;
ifstream file(filename)... | [
"midori3113133@gmail.com"
] | midori3113133@gmail.com |
31d4f4d7fc53b7830cdbf1986f04fedb69a1d59e | 39bd6fdcfe5abb5b0346a84e2cfe1e1eae6ea47b | /Source/RenderingTechnique.h | 180c4726af60a5f8bbc6df4ca88c9325c2aa5e42 | [] | no_license | apozTrof/shader | ef190dc3a12d2ef5db3cfee5954585a9f91d96a2 | 8763561fd501f0481547d678bde50ea5ed18eaef | refs/heads/master | 2021-01-01T04:05:48.157742 | 2016-04-21T02:33:18 | 2016-04-21T02:33:18 | 56,735,019 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,051 | h | #ifndef RENDERINGTECHNIQUE_H_
#define RENDERINGTECHNIQUE_H_
//Generic rendering technique class interface. This class
//controls the rendering for the geometry. Place the required
//shaders or textures related to a given rendering technique
//in a class derived from this.
class RenderingTechnique
{
public:
//The ... | [
"apoz.trophe69@gmail.com"
] | apoz.trophe69@gmail.com |
257863984c74e71477abf4d65aedcbb557ba4a8b | 964eb24f302be56f1c57a8c6b80382d60c371ba1 | /SH/fd/fd.cpp | 4891f81c9bbf803bfd9c8ba36d57e0b3c4198869 | [] | no_license | eminenceG/FD | 4a41da9be2627f09cb7a8f7da2ee38914a8754aa | 922d9ca430e664dfab79343be192ee52de2acbd3 | refs/heads/master | 2021-01-19T08:59:35.556256 | 2017-04-09T12:45:18 | 2017-04-09T12:45:18 | 87,707,554 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,866 | cpp | #include"fd.h"
#include"../param/const.h"
#include"../param/param.h"
#include"../material/material.h"
#include"../field/field.h"
#include"../cpml/cpml.h"
#include<algorithm>
using namespace std;
#define topabsorb false
#define TxDIFF \
Tx_x=g_coef[ord][0]*( Tx(ix,iz) - Tx(ix-1,iz) )\
-g_coef[ord][1]*( Tx(ix+... | [
"shaozhengjiang@gmail.com"
] | shaozhengjiang@gmail.com |
c0209d9dadd38ccf58241b1e35c5fc96a2d915d6 | 647f2a81d22bbb498563eaac09d0498fe10d4f27 | /kratos/geometries/sphere_3d_1.h | 3acfd993bd2c6c41d8d50d45bd7294a8b37a8212 | [
"BSD-3-Clause"
] | permissive | pinebai/MyKratos7.0 | 8b87579cc0b61b8d0f5194f881d747ce4fe41e7e | e977752722e8ef1b606f25618c4bf8fd04c434cc | refs/heads/master | 2022-05-21T19:01:40.496529 | 2020-04-28T14:27:43 | 2020-04-28T14:27:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 26,480 | h | // | / |
// ' / __| _` | __| _ \ __|
// . \ | ( | | ( |\__ `
// _|\_\_| \__,_|\__|\___/ ____/
// Multi-Physics
//
// License: BSD License
// Kratos default license: kratos/license.txt
//
// Main authors: Riccardo Rossi
// Janosch Stasc... | [
"andre.voltan19@gmail.com"
] | andre.voltan19@gmail.com |
3ab409e44519b8b90357ac10a33f9b3f0b96217a | 530bf81293952d3c1cccbdfab746737797d6d378 | /test/amigo.cpp | 0cb21400eeac743bfdb66cbf3afecdfd9cc31970 | [] | no_license | svddries/mwm | dc71704100f391932f725a8298e40e34e09885f1 | 51cce806fa957aea5058c4c24bdaf04e9da65ddd | refs/heads/master | 2021-01-10T03:13:29.179346 | 2015-12-08T10:56:24 | 2015-12-08T10:56:24 | 47,267,724 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,692 | cpp | #include <mwm/ros/image_buffer.h>
#include <opencv2/highgui/highgui.hpp>
#include <rgbd/Image.h>
#include <rgbd/View.h>
#include <ros/init.h>
#include <mwm/world_model.h>
#include <mwm/rendering.h>
#include <mwm/projection_matrix.h>
#include <mwm/visualization/viewer.h>
#include "timer.h"
// ---------------------... | [
"s.v.d.dries@tue.nl"
] | s.v.d.dries@tue.nl |
0e2211936359eceb35ad22aac68c49fc69c8d91a | 7a6938191deb8018f5d7d2a91b2c73e346fd76b7 | /gamepadble632/gamepadble632.ino | 048909b2af57496ccac99aa2a46aebc0c562652e | [] | no_license | rupin/ESPJoystick | 3f14c87d443ae42d22a9c0b4337e690a23b3cba6 | 7b600834e0462e91a5729e4f4fc1d5f5d14b30f1 | refs/heads/master | 2020-05-03T13:53:06.998576 | 2019-05-07T15:41:20 | 2019-05-07T15:41:20 | 178,663,375 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,832 | ino | //https://github.com/nkolban/esp32-snippets/issues/632
/*Button and Byte Map
Byte 1
LSB A B C X Y Z L1 R1 MSB
*/
#include <Arduino.h>
#include <SparkFunMPU9250-DMP.h>
#include<Math.h>
#define MSB 1
#define LSB 0
MPU9250_DMP imu;
/**
Create a new BLE server.
*/
#include "BLEDevic... | [
"rupin.chheda@gmail.com"
] | rupin.chheda@gmail.com |
38a52f4196bfd3795fd3e9b4518855dc4d13d8fc | 929f5243e45e76bed48ab9e86b768261286d0458 | /src/qt/addresstablemodel.h | c0ea99ccbcae8968ccddc1e07fae478aea60dd82 | [
"MIT"
] | permissive | quishtv/QUISH | 19ac12bb52edbc8f8db1783c61fd439d43f2465a | 4a48136592a97e726234eda2ff2a48746c12d6eb | refs/heads/master | 2022-05-07T02:36:24.577218 | 2020-02-19T11:22:54 | 2020-02-19T11:22:54 | 241,603,363 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,387 | h | // Copyright (c) 2011-2013 The Bitcoin developers
// Copyright (c) 2017-2019 The PIVX developers
// Copyright (c) 2020 The QUISH developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_QT_ADDRESSTABLEMODEL... | [
"61221141+quishtv@users.noreply.github.com"
] | 61221141+quishtv@users.noreply.github.com |
0bd0cce30cf038c858e2d9a1a4e3ea3c101934a8 | ba3dd4cadc14ce59cb89464a60d81b35a874908e | /data_compression/L1/tests/gzipc/gzip_compress_test.cpp | 4edfc2e1c152d1609bf100306f239c544b54bf65 | [
"Zlib",
"Apache-2.0",
"BSD-2-Clause"
] | permissive | 3togo/Vitis_Libraries | 65039ce75c191a023c85f603fc607c4b246e02a1 | fb6af2d541725e5404c6ed80bef787693e5861bf | refs/heads/master | 2023-03-17T17:08:14.643457 | 2022-04-27T03:03:11 | 2022-04-27T03:03:11 | 236,109,543 | 1 | 0 | null | 2020-01-25T01:05:24 | 2020-01-25T01:05:24 | null | UTF-8 | C++ | false | false | 3,896 | cpp | /*
* Copyright 2021 Xilinx, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | [
"sdausr@xilinx.com"
] | sdausr@xilinx.com |
ea853e66b2809d2afd5f423032d459205e3d09c8 | 6d754001b497400e2cda378f39c22c1009e81b29 | /LeetCode/MyCode/73. set_matrix_zeros.h | d6681cbabb979b6f18d1570ef8e330bf6287101b | [] | no_license | guzhaolun/LeetCode | 43c318d951f9495e3d8ebdc7331359625ce42e14 | 36ad79a8ee2074f412326e22a1e9cd86b3fc1a56 | refs/heads/master | 2020-06-03T21:12:23.354790 | 2015-10-02T14:56:09 | 2015-10-02T14:56:09 | 34,769,163 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 935 | h | #include <vector>
using namespace std;
class Solution73
{
public:
void setmatrixZeros(vector<vector<int>>& matrix)
{
if (matrix.empty())
return;
int m = matrix.size();
int n = matrix[0].size();
bool firstrow = false;
bool firstcolumn = false;
for (int i = 0; i<n; i++)
if (matrix[0][i] == 0)
first... | [
"1120742987@qq.com"
] | 1120742987@qq.com |
bbe24f2aa36397e4f923c64e28bc2b7d376be106 | 7a671688586aa69b00bcad2c4497630eb0185bff | /Instanced_Example/Main.cpp | 56999077391abd0d9b1d071e97b29dba45282e51 | [] | no_license | JasonCPark/cs488 | 902b5de9ece9ba72d3888dd69cf4a9c6cac068f4 | 135ee258372cdcb7e1674fcfabe111447533fdc7 | refs/heads/master | 2020-04-27T19:58:44.299839 | 2019-03-09T03:21:12 | 2019-03-09T03:21:12 | 174,641,533 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 188 | cpp | #include "InstancedExample.hpp"
int main( int argc, char **argv )
{
CS488Window::launch( argc, argv, new InstancedExample(), 1024, 768,
"Instanced Rendering Example" );
return 0;
}
| [
"chaewoon.park@gmail.com"
] | chaewoon.park@gmail.com |
30f484fd4f3fe8f5afa22b2b3accc02dd4a73d9d | dccf5f6339baba548a83a7d390b63e285c9f0581 | /content/browser/web_package/signed_exchange_certificate_chain.h | 05daf2b617b4254a43d5b2570bbe8125d5378770 | [
"BSD-3-Clause"
] | permissive | Trailblazer01010111/chromium | 83843c9e45abb74a1a23df7302c1b274e460aee2 | 3fd9a73f1e93ce041a4580c20e30903ab090e95c | refs/heads/master | 2022-12-06T22:58:46.158304 | 2018-05-12T09:55:21 | 2018-05-12T09:55:21 | 133,138,333 | 1 | 0 | null | 2018-05-12T11:07:57 | 2018-05-12T11:07:56 | null | UTF-8 | C++ | false | false | 1,632 | h | // Copyright 2018 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 CONTENT_BROWSER_WEB_PACKAGE_SIGNED_EXCHANGE_CERTIFICATE_CHAIN_H_
#define CONTENT_BROWSER_WEB_PACKAGE_SIGNED_EXCHANGE_CERTIFICATE_CHAIN_H_
#includ... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
fd2ed01d46ab328ed39987896a56111187cf0ac2 | a6a4822ff0e33959e86f4bdd9dd09da0d4c08cab | /PED/p/p1/p1/practica 1 PED/practica 1/src/tads_poro/tad10TPoro.cpp | c203f92203cb7bd260295f33211c762b5fc5da8f | [] | no_license | amd48/Programacion-y-Estructuras-de-Datos | e211e656f6b8f5ea08e60907530af698d3d5dfeb | 26b3d65ba3c4b8fe09fc19d6148852cfe22aaa41 | refs/heads/master | 2021-01-03T19:44:59.439395 | 2020-02-13T09:39:33 | 2020-02-13T09:39:33 | 240,212,419 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 408 | cpp | #include <iostream>
using namespace std;
#include "tporo.h"
int
main(void)
{
TPoro a;
TPoro b(0, 0, 0, NULL);
a.Posicion(0,0);
a.Volumen(0);
a.Color(NULL);
if(a==b)
cout << "IGUALES" << endl;
else
cout << "DISTINTOS" << endl;
a.Color("rojo");
b.Color("ROJO");
if(a=... | [
"alejandromas.d@gmail.com"
] | alejandromas.d@gmail.com |
7cdcbf7fcb5f1a9584e1f184423825183649619d | f9e76089dee5038d2991c3780848954595a4a3dd | /CodeaTemplate/Codify/sfxr.cpp | cb9aafc46589adbd4a29844369d0c7d33ebc12ac | [
"Apache-2.0"
] | permissive | profburke/Codea-Runtime | b21f7824ac18b36a2cee3fe704018b4f6b6f0fba | c7e04bc85a6923df32500b14278aa76e149df1a4 | refs/heads/master | 2020-04-21T05:41:40.919695 | 2016-06-09T01:49:10 | 2016-06-09T01:49:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 42,378 | cpp | /*
* sfxr.cpp
* sfxr
*
* Original code by Tomas Pettersson 2007.
*
* Modifications are copyright Christopher Gassib 2009.
* This file is released under the MIT license as described in readme.txt
*
*/
#include "sfxr_Prefix.pch"
#include "sfxr.h"
#include <algorithm>
//#define SFXR_LOG(x) printf( "get %-5... | [
"dylan.sale@gmail.com"
] | dylan.sale@gmail.com |
ea87403d4752aa1d798d0c6f5b35cf8516d7c878 | af9095a0c6e2cfc0bcc7facaa7fd9f0fc28f97cb | /rosplan_knowledge_base/include/rosplan_knowledge_base/PDDLKnowledgeBase.h | 63396d7854bdf446b84e8bb1dda940bfc3c3d051 | [
"BSD-2-Clause"
] | permissive | Wonseok-Oh/rosplan | f597bed066a776429ddf8e21e638a905ca61a4dd | c6d83a0b2da034d310497d73fadb0bfe6abff812 | refs/heads/main | 2023-06-23T10:10:06.251316 | 2021-07-12T08:12:09 | 2021-07-12T08:12:09 | 376,003,180 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,547 | h | #ifndef KCL_PDDL_Knowledgebase
#define KCL_PDDL_Knowledgebase
#include <ros/ros.h>
#include <vector>
#include <iostream>
#include <fstream>
#include "std_srvs/Empty.h"
#include "rosplan_knowledge_msgs/KnowledgeUpdateService.h"
#include "rosplan_knowledge_msgs/KnowledgeUpdateServiceArray.h"
#include "rosplan_knowledg... | [
"ooww0123@kaist.ac.kr"
] | ooww0123@kaist.ac.kr |
0ea2d999306dcedb1d63508bc50a379347a84848 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/httpd/gumtree/httpd_repos_function_2827_last_repos.cpp | abdde2024839142e840f4c43e90fc7dd245f0b36 | [] | 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 | 4,352 | cpp | static apr_status_t h2_session_start(h2_session *session, int *rv)
{
apr_status_t status = APR_SUCCESS;
nghttp2_settings_entry settings[3];
size_t slen;
int win_size;
ap_assert(session);
/* Start the conversation by submitting our SETTINGS frame */
*rv = 0;
if (session->r) {
... | [
"993273596@qq.com"
] | 993273596@qq.com |
9bb9ce70b53da99c5f414fce1583324e77e9da1b | a4e12f7b14bf563b8c6b473268c8087c51c0cc12 | /src/labs/vector_add_lab_xilinx/Emulation-HW/binary_container_1.build/link/vivado/vpl/prj/prj.srcs/sources_1/bd/pfm_dynamic/ip/pfm_dynamic_dpa_hub_0/sim/pfm_dynamic_dpa_hub_0.h | 1d9fcfc8dff11f822019ebec0bf05d342645daea | [] | no_license | BabarZKhan/xilinx_ETH_training_winterschool_2021 | 49054f85dfab1b4b75e3f4f85244bb8428cdf983 | bd2f2f1fc9cf524bee432970d9b10d21c013dda1 | refs/heads/main | 2023-09-02T07:24:15.182179 | 2021-11-22T09:09:28 | 2021-11-22T09:09:28 | 329,877,240 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 27,013 | h | #ifndef IP_PFM_DYNAMIC_DPA_HUB_0_H_
#define IP_PFM_DYNAMIC_DPA_HUB_0_H_
// (c) Copyright 1995-2021 Xilinx, Inc. All rights reserved.
//
// This file contains confidential and proprietary information
// of Xilinx, Inc. and is protected under U.S. and
// international copyright and other intellectual property
// laws.
... | [
"centos@ip-172-31-58-45.ec2.internal"
] | centos@ip-172-31-58-45.ec2.internal |
a18771888be22ca00b09b939bededafd9607380f | feb0734de5a56dc19eb45bd91dbf44483f679cd5 | /Tools/src/plotter2D.cc | 7f419661cb596802bb3b2c523d7054661d6c7329 | [] | no_license | harbali/TtZAnalysis | 9782d79a2bab214b6dac797b026cbd3ef1c1031a | df918707fec73bed3c3deb886538a98571bfaf2c | refs/heads/master | 2020-05-29T11:52:02.670015 | 2014-11-04T09:59:31 | 2014-11-04T09:59:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,446 | cc | /*
* plotter2D.cc
*
* Created on: Oct 27, 2014
* Author: kiesej
*/
#include "../interface/plotter2D.h"
#include "TColor.h"
namespace ztop{
plotter2D::plotter2D(): plotterBase(),dividebybinarea_(false){
}
plotter2D::~plotter2D(){}
void plotter2D::setPlot(const container2D* c, bool dividebybinarea){
... | [
"jan.kieseler@desy.de"
] | jan.kieseler@desy.de |
b0079fa52e79f9dc6a7b89f02628afd29be2c4c0 | c08ef583d7700f734502aa624276046a0f55e63b | /Ficheros/Messages.h | 724980a26fb0c2db1aaaeecf3b3184d1cd967273 | [] | no_license | jorgerodrigar/Asteroids | 9c86577f6a0e6acacf4c314669d37c71699ce7cc | 85c6d15a5c59961be896e57fde314c58098df983 | refs/heads/master | 2021-01-25T11:48:18.492270 | 2018-04-17T11:05:19 | 2018-04-17T11:05:19 | 123,428,212 | 0 | 0 | null | null | null | null | ISO-8859-10 | C++ | false | false | 1,731 | h | #ifndef MESSAGES_H_
#define MESSAGES_H_
#include "Asteroid.h"
#include "Bullet.h"
#include "checkML.h"
class Fighter;
enum MessageId {
BULLET_ASTROID_COLLISION,
BULLET_FIGHTER_COLLISION,
ASTROID_FIGHTER_COLLISION,
FIGHTER_SHOOT,
GAME_OVER,
ROUND_START,
ROUND_OVER,
BULLET_CREATED,
NO_MORE_ATROIDS,
//BADGES
... | [
"jorger09@ucm.es"
] | jorger09@ucm.es |
1b8153725f5e99fbe966777155f6f5c74b491b68 | 879fb3581f03b5c17dd90c68b45751712fbcd671 | /lib/c_cpp/c_palette.cpp | 0a5e1ad0f45772ed9c9b6c8421d3ce1d061db888 | [] | no_license | ivilab/kjb | 9f970e1ce16188f72f0edb34394e474ca83a9f2b | 238be8bc3c9018d4365741e56310067a52b715f9 | refs/heads/master | 2020-06-14T07:33:17.166805 | 2019-07-30T16:47:29 | 2019-07-30T16:47:29 | 194,946,614 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,240 | cpp | /**
* @file
* @brief Implementation for class Palette, giving you random colors.
* @author Andrew Predoehl
*/
/*
* $Id: c_palette.cpp 19803 2015-09-20 04:05:01Z predoehl $
*/
#include <l/l_def.h>
#include <l_cpp/l_exception.h>
#include <i_cpp/i_hsv.h>
#include <m_cpp/m_vector.h>
#include <c_cpp/c_palette.h>
/*... | [
"52473452+ivilab-sync@users.noreply.github.com"
] | 52473452+ivilab-sync@users.noreply.github.com |
1f91407e3d189b425db3c2a98aa44460605c2835 | 7857e0bdefe000612519e8ff3670dd07c7b00184 | /pointers/bubbel_sort_func_ptr.cpp | f1358a977a104421b238acd014d363d596b7bb60 | [] | no_license | sleebapaul/udacity-cpp | 8c13f69e0e3be7f30f7afbb9d93f30607257422c | ff1648e2cbcf07d80fa94868c4fdded4a3d87f32 | refs/heads/master | 2021-05-12T09:30:52.758287 | 2018-04-15T12:42:47 | 2018-04-15T12:42:47 | 117,320,756 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,077 | cpp | #include <iostream>
using namespace std;
// What if we need to change the sorting order at times?
// We will need to modify the swap operation accordingly
// We can use a callback for this.
// Callback function should compare two integers, should return 1
// if the first element has higher rank, 0 if elements are eq... | [
"sleebapaul@gmail.com"
] | sleebapaul@gmail.com |
4868106c2e87c051311e5308b6fc3514dbb7abb3 | a53f8d2859477f837c81f943c81ceed56cf37238 | /RTL/Component/Include/IFXBitStreamCompressedX.h | 163904ace14532b73dfce5070a13257356913c76 | [
"Apache-2.0"
] | permissive | ClinicalGraphics/u3d | ffd062630cde8c27a0792370c158966d51182d4d | a2dc4bf9ead5400939f698d5834b7c5d43dbf42a | refs/heads/master | 2023-04-13T17:25:55.126360 | 2023-03-30T07:34:12 | 2023-03-31T18:20:43 | 61,121,064 | 11 | 5 | Apache-2.0 | 2023-09-01T04:23:31 | 2016-06-14T12:29:13 | C++ | UTF-8 | C++ | false | false | 2,106 | h | //***************************************************************************
//
// Copyright (c) 2000 - 2006 Intel Corporation
//
// 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
//
// ... | [
"ningfei.li@gmail.com"
] | ningfei.li@gmail.com |
b3d8c3d5ede46a20f43926ae34149c12db23f92c | c867c92d512a468e65d416b9185c01a5d48bf4f8 | /Unit 2/2.7.5.cpp | 40f171bec48ab924b7521b50d7363540d0041980 | [] | no_license | fredgnr/C-Primer-Plus | 8209f3dacd7697d7296fff12070ce3f362f47358 | 72bf4c0a596adf4d744404f1111e29de9535ee03 | refs/heads/master | 2021-04-28T04:41:58.767180 | 2018-08-01T02:15:41 | 2018-08-01T02:15:41 | 122,166,131 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 321 | cpp | #include<iostream>
using namespace std;
double convert(double);
int main()
{
double degree;
cout << "Please enter a Celsius degree :";
cin >> degree;
cout << degree << " degrees Celsius is " << convert(degree) << " degrees Fahrenheit" << endl;
return 0;
}
double convert(double degrees)
{
return 1.8*degrees + 32;
... | [
"513317651@qq.com"
] | 513317651@qq.com |
fa0caded6794fde27240a530e7bcf932fc66e225 | 5d6b55bc07c39e110bcdae3081ef8555c3b323a6 | /Проект18/VptrMap.cpp | c3c1bc1842b064e0db7694dee52c480c815798e6 | [] | no_license | SergioKogut/Projects | 8cbe46937362ac0d838e8a1a08ac9d6372b77c9f | 5f2c274aa94498efddf2fafc00df938ce803875a | refs/heads/master | 2020-03-13T05:17:53.411627 | 2018-04-27T07:54:50 | 2018-04-27T07:54:50 | 130,980,668 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 2,954 | cpp | #include<iostream>
#include<vector>
#include<map>
#include<string>
using namespace std;
int Add(int, int);
int Sub(int, int);
int Div(int, int);
int Mult(int, int);
class menu
{
public:
menu();// по замовчуванню
menu(map<string, int(*)(int, int)>MapPtrFunc2);// параметризований
menu(pair<string, int(*)(int, int)... | [
"sergio.kogut@gmail.com"
] | sergio.kogut@gmail.com |
46f7bd667aebe277d8260aba0388cf220f895c24 | a9f678119a8ed6b852f30aa4c35ee8d75ee55c10 | /plusOne.cpp | 615571e63ec1b63518c447a57e5bbdf200a2d4d8 | [] | no_license | gaolu/Leetcode | 0ae73c04be1f1cb75b499d957ed24fde78684074 | 10d1091c20b1692d9a9fa91b41d23a1f8ba9424a | refs/heads/master | 2021-01-13T02:06:45.626985 | 2014-03-18T04:26:39 | 2014-03-18T04:26:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,040 | cpp | class Solution {
public:
vector<int> plusOne(vector<int> &digits) {
// Start typing your C/C++ solution below
// DO NOT write int main() function
int carry = 0;
vector<int> afterPlus (digits.size() + 1, 0);
if(digits.size() == 0)
return afterPlus;
reverse(... | [
"gaolu.adam@gmail.com"
] | gaolu.adam@gmail.com |
0a98661075d71c0a7a8ed900c0f8b199b40e77bb | 0dc0142475fe40a67750bf878f51c86e9ccb0bf6 | /server_game/Peer.hpp | 56d984ce55c65794d3c302c9a12a506347273aba | [] | no_license | denghe/xxlib_cpp | 780bad8d7972ecda6c0f8dd097828dc5a52e0bca | 14ca77f06a18893148b213239f804aaf855afc1d | refs/heads/master | 2020-04-02T02:23:11.104266 | 2020-01-03T08:53:22 | 2020-01-03T08:53:22 | 153,906,209 | 6 | 4 | null | 2019-05-23T14:21:15 | 2018-10-20T13:03:46 | C | GB18030 | C++ | false | false | 4,807 | hpp | inline int Peer::ReceiveRequest(int const& serial, xx::Object_s&& msg) noexcept {
switch (msg->GetTypeId()) {
case xx::TypeId_v<PKG::Generic::Ping>: {
// 重置超时
if (auto && p = player_w.lock()) {
p->ResetTimeoutFrameNumber();
}
else {
ResetTimeoutMS(10000);
}
// 携带收到的数据回发
pkgPong->ticks = xx::As<PK... | [
"denghe@hotmail.com"
] | denghe@hotmail.com |
6ed28d778ada41181f04188563b6aa961d89fad1 | 41bcb9b91a7607c795a6b6946c753968c8aa506e | /Tunneling.cpp | 55aa5f1a3009168f60d43d2a0f49c632fa185513 | [] | no_license | WhoiisThisGuy/Pacman | 92645d33e1140cfd6c0224d7de425d20c0750176 | 7b61e918c7e55bb9ff42771a7f8bc083c6a60d59 | refs/heads/master | 2023-03-04T02:12:46.912587 | 2021-02-09T18:11:44 | 2021-02-09T18:11:44 | 232,933,765 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,662 | cpp | #include "Tunneling.h"
#include "Chase.h"
#include "GhostGameOver.h"
#include "Map.h"
#include "Frighten.h"
Tunneling::Tunneling(Ghost* ghostToHandle) {
ghost = ghostToHandle;
ghost->currentState = eFrighten;
Init();
}
void Tunneling::Update(const float& dt)
{
float stateTime = stateClock.getElapsedTime().asSe... | [
"simon.kristoff@gmail.com"
] | simon.kristoff@gmail.com |
ff546321c0fdad85c1b8b6f7572efb3ad906d58b | bd9b79f6abab92782c003373f066eb12ed551a64 | /Source/TopDown/StrategySpectatorPawn.h | 9b5c6fb76ad86216db546243bcffcb47102a2681 | [] | no_license | nessessary/ue4_rts_demo | 85476466f83584a7a5434fd11fe05e06e94d34bd | d352dc49520298fabadbbe6925a9a3a0d6ff4e74 | refs/heads/master | 2021-01-21T06:39:03.817020 | 2017-04-20T01:54:10 | 2017-04-20T01:54:10 | 82,869,101 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,269 | h | // Copyright 1998-2016 Epic Games, Inc. All Rights Reserved.
#pragma once
//#include "StrategyTypes.h"
#include "GameFramework/SpectatorPawn.h"
#include "StrategySpectatorPawn.generated.h"
//@TODO: Write a comment here
UCLASS(Blueprintable, BlueprintType)
class AStrategySpectatorPawn : public ASpectatorPawn
{
GENER... | [
"wang--kang@sohu.com"
] | wang--kang@sohu.com |
446c872e4512579f1184b2dae1de88a5733d2ac2 | b385c1b2cce4c295172a6e3eebbeb2ffa83791ce | /client/GameLogger/gameloggerui.cpp | d2ed49e51c215830b4a14b62daefb0eecf7bff33 | [
"MIT"
] | permissive | shanhija/game-logger | ff583d72d451d6b999ed1d84d028f4447d23d576 | 7638c084c531483d8cca203954c279770cb2ecc8 | refs/heads/master | 2021-05-27T14:10:16.960345 | 2014-06-29T17:49:16 | 2014-06-29T17:49:16 | 18,464,065 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,341 | cpp | #include "gameloggerui.h"
#include "ui_gameloggerui.h"
#include <QMessageBox>
#include <QDialog>
#include <QAction>
#include <QMenu>
#include <QCloseEvent>
#include "common.h"
#include "settings.h"
GameLoggerUI::GameLoggerUI(QWidget *parent) :
QDialog(parent),
ui(new Ui::GameLoggerUI)
{
ui->setupUi(this)... | [
"sami.hanhijarvi@iki.fi"
] | sami.hanhijarvi@iki.fi |
156d0a5bc74bdec7600a059887630ad76cb5035c | 6f100f69232c6597c3f9564acde9c303b2adf47d | /UVa Online Judge/12049 - Just Prune The List/main.cpp | f771f8b0530f51f12b16c684921dc0b3cda663f5 | [] | no_license | douglasbravimbraga/programming-contests | 43e1b6aaa5a3ef51f5815fed8cb9a607f4f334cc | 75e444977cc3ff701b7390b8de70c88f6b40c52f | refs/heads/master | 2023-07-20T07:58:53.145049 | 2021-08-01T12:48:23 | 2021-08-01T12:48:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 557 | cpp | #include <bits/stdc++.h>
using namespace std;
int main() {
std::ios_base::sync_with_stdio(false);
int test_cases;
cin >> test_cases;
while (test_cases--) {
int n, m;
unordered_map<int, int> m1, m2;
unordered_set<int> s;
int temp;
cin >> n >> m;
for (int i = 0; i < n; i++) {
cin >> temp;
m1[... | [
"versenyi98@gmail.com"
] | versenyi98@gmail.com |
3c0ccf541ef9dcf471a1d582ac49cba3b5277650 | cf1a6032a8494c1416c88b8aec1f20bed9e8b9b6 | /Game Engine/ext/box2d/include/Common/b2StackAllocator.h | c88dbddb96994c3e6598e561ba3e1ef8324ef220 | [] | no_license | Wedeueis/Projetos | fd95b846188fc7a9638d1a488cd4b808dcd2ddce | e871eb59fc2a86f67e60d445055eceb93d1e155b | refs/heads/master | 2020-05-06T15:43:32.621065 | 2019-04-08T18:10:01 | 2019-04-08T18:10:01 | 180,205,398 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,729 | h | /*
* Copyright (c) 2006-2009 Erin Catto http://www.box2d.org
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of this software.
* Permission is granted to anyone to use this software for any purpos... | [
"wedeueisbraz@yahoo.com.br"
] | wedeueisbraz@yahoo.com.br |
eafaa742b2ddceecd575dcd6fc22822f4ef468de | 954d216e92924a84fbd64452680bc58517ae53e8 | /source/apps/demos/nckDemo_Texture2D.h | 8c46a4d2c8296fc240681eec5b2f174aaa77cf14 | [
"MIT"
] | permissive | nczeroshift/nctoolkit | e18948691844a8657f8937d2d490eba1b522d548 | c9f0be533843d52036ec45200512ac54c1faeb11 | refs/heads/master | 2021-01-17T07:25:02.626447 | 2020-06-10T14:07:03 | 2020-06-10T14:07:03 | 47,587,062 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 869 | h |
/**
* NCtoolKit © 2007-2017 Luís F.Loureiro, under zlib software license.
* https://github.com/nczeroshift/nctoolkit
*/
#ifndef _NCK_DEMO_TEXTURE_2D_H_
#define _NCK_DEMO_TEXTURE_2D_H_
#include "../nckDemo.h"
class Demo_Texture2D : public Demo{
public:
Demo_Texture2D(Core::Window * wnd, Graph::Device * dev);
~D... | [
"nczeroshift.dev@gmail.com"
] | nczeroshift.dev@gmail.com |
e1a7e648e8e23ba718f4ccbb8c3fd14e909e71d3 | e44987791f76a56730c0c94b88d4bc09f18cd716 | /Dynamic Programming/LengthofLongestSubsequence.cpp | 3525bb29020c93ce0d967d274d7e466d783cecac | [] | no_license | segsev/Interviewbit | 11b77c5a707726b029a8badd772cbc4a7b7671d8 | c6f9d071284b7d73803fa1085278abdef5c05dec | refs/heads/master | 2020-07-09T04:31:45.553344 | 2019-09-23T07:41:26 | 2019-09-23T07:41:26 | 203,877,980 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 709 | cpp | int Solution::longestSubsequenceLength(const vector<int> &A) {
int n = A.size();
if(n == 0) {
return 0;
}
vector<int> dpLeft(n,1);
vector<int> dpRight(n,1);
for(int i = 1; i < n; i++) {
for(int j = 0; j < i; j++) {
if(A[j] < A[i]) {
dpLeft[i] = m... | [
"ajaysingh.687@rediffmail.com"
] | ajaysingh.687@rediffmail.com |
5d63804a18152970c51d8eed1a86bfc56840d344 | 9688ca06ad7d3207156054e8e38776b733ce33a4 | /test_17_08_18/p0008.cpp | 11587754cfc6765a07f1a56540ec4cc0dcb52214 | [] | no_license | swekiiz/Programming.in.th | b2ee9a781f1efe4280306ceacc5889c800617922 | 52568ad8bd971310e6abd695d9962aa9c5986d66 | refs/heads/master | 2022-12-06T19:07:40.101453 | 2020-08-31T20:14:08 | 2020-08-31T20:14:08 | 189,581,546 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 81 | cpp | #include<cstdio>
main(){
int a,b;
scanf("%d %d",&a,&b);
printf("%d",2*b-a);
}
| [
"best_n.dol@hotmail.com"
] | best_n.dol@hotmail.com |
a480faef1acef7f046c2cb9ff165067fee20b848 | 98f10c77b9932915eb9f37d9cf79a83094342444 | /URI/1445.cpp | fda6f9b9babf792268e30ecd7480a90b6ecc5848 | [] | no_license | lucianovr/competitive-programming | b5ba55a5055e486862c0c8b62e61c86e41b8f2b8 | bd95492bb8a14563603a5a2d74e3c1676a4a61e6 | refs/heads/master | 2022-09-10T04:54:07.417831 | 2020-05-28T00:33:36 | 2020-05-28T00:33:36 | 267,455,557 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 838 | cpp | #include <map>
#include <stdio.h>
using namespace std;
struct CONVIDADOS {
int a, b;
} C[1002];
int main() {
map<int, int> M;
map<int, int>::iterator it;
int N, cont, i;
char lixo;
bool B;
while (scanf("%d", &N) && N) {
M.clear();
for (i = 0; i < N; i++) {
... | [
"lucianovale@inatel.br"
] | lucianovale@inatel.br |
c47ef43e72e7cf61eaf9eb2432bcdb817623d45c | 9cb3e1ca3586cee2523c528c8f8bb5f24a7926f1 | /user.h | 6f9867a11528673ff0eb8a0881dcc2c004a0385e | [] | no_license | sussanstha/LibraryMS | bc709028294d5b421ad4a898d0ec27018b1001d6 | 5282edb94af82fd404d6b2dfa280b7afb042a830 | refs/heads/main | 2023-04-02T03:47:54.382325 | 2020-12-18T06:11:39 | 2020-12-18T06:11:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 610 | h | #ifndef USER_H
#define USER_H
#include<QString>
class user{
protected:
QString _id;
QString _name;
QString _password;
public:
QString id(){
return _id;
}
void new_id(QString new_id){
_id=new_id;
}
QString name(){
... | [
"spramesh.shrestha@gmail.com"
] | spramesh.shrestha@gmail.com |
4380f0c1e910c5c090599950f255b26c55fbe9d7 | 1efccc5f7a3b725395c7c9fc3f63b64b4b99b546 | /MonsterChase/Engine/Src/Maths/Point3D.h | 271a57f8b92855fc9229d240548347b1dc15d490 | [] | no_license | Rud156/Hailey | 4ea4b0a1eef5e556a893610ee67eb5ed35bb910c | 1ffb92933ff68b822cb15c4a14e0e2f47a601a74 | refs/heads/master | 2023-05-03T08:50:17.271610 | 2021-05-26T19:37:39 | 2021-05-26T19:37:39 | 214,330,307 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,551 | h | #pragma once
#include <ostream>
namespace Math
{
class Point2D;
class Point3D
{
private:
float _x;
float _y;
float _z;
public:
// Constructor
Point3D();
Point3D(float i_x, float i_y, float i_z);
Point3D(const Point3D& i_point3d);
Point3D(const Point2D& i_point2d, float i_z);
// Destructor
~... | [
"rudrangshu_1997@yahoo.com"
] | rudrangshu_1997@yahoo.com |
f7157d5902b4a5043290b4d29f2457bff7b41cce | 8dc84558f0058d90dfc4955e905dab1b22d12c08 | /third_party/skia/include/core/SkDocument.h | 7f293f149defab11696fe373715827d4a8d6c2cf | [
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT",
"Apache-2.0",
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | meniossin/src | 42a95cc6c4a9c71d43d62bc4311224ca1fd61e03 | 44f73f7e76119e5ab415d4593ac66485e65d700a | refs/heads/master | 2022-12-16T20:17:03.747113 | 2020-09-03T10:43:12 | 2020-09-03T10:43:12 | 263,710,168 | 1 | 0 | BSD-3-Clause | 2020-05-13T18:20:09 | 2020-05-13T18:20:08 | null | UTF-8 | C++ | false | false | 7,481 | h | /*
* Copyright 2013 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef SkDocument_DEFINED
#define SkDocument_DEFINED
#include "SkBitmap.h"
#include "SkPicture.h"
#include "SkRect.h"
#include "SkRefCnt.h"
#include "SkString.h"
#include "S... | [
"arnaud@geometry.ee"
] | arnaud@geometry.ee |
f0054d195e4b6ee762f563a76884404865a9c564 | 10ecd7454a082e341eb60817341efa91d0c7fd0b | /SDK/BP_DecalGlow_Reverse_functions.cpp | 3a52c06a968245f04a0be9c72a5c6b325402e9d0 | [] | no_license | Blackstate/Sot-SDK | 1dba56354524572894f09ed27d653ae5f367d95b | cd73724ce9b46e3eb5b075c468427aa5040daf45 | refs/heads/main | 2023-04-10T07:26:10.255489 | 2021-04-23T01:39:08 | 2021-04-23T01:39:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,230 | cpp | // Name: SoT, Version: 2.1.0.1
#include "../SDK.h"
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Functions
//----------------------------------------------------... | [
"ploszjanos9844@gmail.com"
] | ploszjanos9844@gmail.com |
1066c2b84b4f0b2fa6c546168cf8928d0aaaecd6 | a02d4b3c879c047082ccc295607d6ec8d1130039 | /UE4-Plugins/Plugins/MiliBlueprintLibrary/Source/MiliBlueprintLibrary/Public/MiliBlueprintLibrary.h | 1908c00bae2c55e3e91d786850991cefdd458c5d | [
"Apache-2.0"
] | permissive | iceprincefounder/selected-sources | 4fa97e439248d1b4bd9e6e59d0f80a7c33752761 | b225c529e02009b5f44bfb2891ef8f039b9a6d80 | refs/heads/master | 2022-05-22T03:24:45.329292 | 2022-03-13T09:22:12 | 2022-03-13T09:22:12 | 149,724,714 | 17 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 298 | h | // Copyright 1998-2016 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "ModuleManager.h"
class FMiliBlueprintLibraryModule : public IModuleInterface
{
public:
/** IModuleInterface implementation */
virtual void StartupModule() override;
virtual void ShutdownModule() override;
}; | [
"iceprincefounder@qq.com"
] | iceprincefounder@qq.com |
d3b7b7d486d16b186fec92aab8c7f394bf6106ff | ec68c973b7cd3821dd70ed6787497a0f808e18e1 | /Cpp/SDK/Widget_QuestNotification_classes.h | d27b19d8e14ac17ac60891c5470c9573a8e19269 | [] | no_license | Hengle/zRemnant-SDK | 05be5801567a8cf67e8b03c50010f590d4e2599d | be2d99fb54f44a09ca52abc5f898e665964a24cb | refs/heads/main | 2023-07-16T04:44:43.113226 | 2021-08-27T14:26:40 | 2021-08-27T14:26:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,125 | h | #pragma once
// Name: Remnant, Version: 1.0
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Classes
//------------------------------------------------------------... | [
"zp2kshield@gmail.com"
] | zp2kshield@gmail.com |
44cb6d12c956f047100f9eabec86e927a75b0637 | 91a882547e393d4c4946a6c2c99186b5f72122dd | /Source/XPSP1/NT/inetsrv/iis/svcs/staxcore/mailmsg/lib/cmmrcpts.cpp | de4d7a95ef29056a09fc3e21a77c738927724fe4 | [] | no_license | IAmAnubhavSaini/cryptoAlgorithm-nt5src | 94f9b46f101b983954ac6e453d0cf8d02aa76fc7 | d9e1cdeec650b9d6d3ce63f9f0abe50dabfaf9e2 | refs/heads/master | 2023-09-02T10:14:14.795579 | 2021-11-20T13:47:06 | 2021-11-20T13:47:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 57,841 | cpp | /*++
Copyright (c) 1998 Microsoft Corporation
Module Name:
cmmrcpts.cpp
Abstract:
This module contains the implementation of the recipient list class
Author:
Keith Lau (keithlau@microsoft.com)
Revision History:
keithlau 03/10/98 created
--*/
#define WIN32_LEAN_AND_MEAN 1
#include "atq.h"
#include "stdde... | [
"support@cryptoalgo.cf"
] | support@cryptoalgo.cf |
81377e83b654de92854938052e74a48cbecd64c3 | c837912162568c7d02d309aff70638c7582119be | /TowerDefense/TowerDefense/SFML-utils/cegui/GuiManager.hpp | 01604688e1b701eb02e7422e8d9426e3bee11482 | [] | no_license | iwilsonq/TowerDefense | c7985896df42c32b7785e28865aafcb619a0d6e1 | ad8bc5c6a1f5bf1e0d6a47dbac9cb5276d3ae3d6 | refs/heads/master | 2021-05-30T14:33:48.510176 | 2016-01-29T07:30:00 | 2016-01-29T07:30:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,249 | hpp | #ifndef SFUTILS_CEGUI_GUIMANAGER_HPP
#define SFUTILS_CEGUI_GUIMANAGER_HPP
#include <array>
#include <SFML/Graphics.hpp>
#include <CEGUI/CEGUI.h>
#include <CEGUI/RendererModules/OpenGL/GLRenderer.h>
namespace sfutils
{
namespace cegui
{
class GuiManager
{
public:
G... | [
"you@example.com"
] | you@example.com |
9cceac50edef24f841bfeb53b3d0c9447d990352 | e1880fcf16d89f092c9a98163bd4bb3d8ff05cec | /src/engine.cpp | 34b7f321807e3549d06e7619f008655ccd01d51a | [] | no_license | Twiebs/venom | 021dc7528543121d8fba70bed94e14f4a5ab3bab | 42f7bd669545560bf0deb8cb5de6852829b7f8d8 | refs/heads/master | 2021-01-17T15:24:37.614662 | 2017-05-14T00:26:01 | 2017-05-14T00:26:01 | 52,766,060 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,123 | cpp |
static Engine g_engine;
thread_local U32 g_threadID;
static inline B8 ExecuteTask(Worker *worker, Task task) {
switch (task.type) {
case TaskType_LoadModel: {
return CreateModelAssetFromFile(task.slotID);
} break;
}
}
static inline void FinalizeTask(Worker *worker, Task task) {
switch (task.type... | [
"torinwiebelt@gmail.com"
] | torinwiebelt@gmail.com |
7b3d4ff97eff2148c9bacb568ad624ca07160687 | 901569317656d88b6510f5b9014b145988858107 | /00299.cpp | a2bde8773c88c653dc6f7b86095a07eb45012072 | [] | no_license | ckpiyanon/ckp_competitive_cpp | 66753ddd0c800405242cdc641f556ba751270edd | 81afcb2deaf2cf08aa041ee064715e34bfb53b66 | refs/heads/master | 2020-05-21T23:47:56.092940 | 2019-01-24T06:41:30 | 2019-01-24T06:41:30 | 61,094,504 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 455 | cpp | #include <bits/stdc++.h>
using namespace std;
int main()
{
// freopen("in.txt","r",stdin);
int TC,n,arr[50],cnt;
scanf("%d",&TC);
while(TC--)
{
scanf("%d",&n);
for(int i = 0;i < n;i++) scanf("%d",arr + i);
cnt = 0;
for(int i = n-1;i > 0;i--) for(int j = 0;j < i;j++) if(arr[j] > arr[j+1])
{
arr[j] ^= ar... | [
"Chinakrit Lorpiyanon"
] | Chinakrit Lorpiyanon |
41ee7402f39caacd062089e53cb4b4128ad0fa79 | 1e9c8b52094966603f7d9bbfde6c21904616ed3b | /函数约分.cpp | 1d4ae0298fb8b3a9f6c6387a1762042d9e10379d | [] | no_license | JorieRiddle/myGitTemp | 3cfcbcc1a4b3afad5c8c648944864226d8ec0962 | 8f568cd818e6bdf56574986a15874865bb21ca49 | refs/heads/main | 2023-02-04T08:14:15.246056 | 2020-12-25T09:14:12 | 2020-12-25T09:14:12 | 310,446,315 | 0 | 0 | null | 2020-11-06T00:24:55 | 2020-11-06T00:00:29 | null | UTF-8 | C++ | false | false | 224 | cpp | #include <stdio.h>
int gcd(int a,int b)
{
int m,n,t;
m=a;
n=b;
while(n>0)
{
t=m%n;
m=n;
n=t;
}
return printf("%d/%d\n",a/m,b/m);
}
int main()
{
int m,n;
scanf("%d/%d",&m,&n);
gcd(m,n);
return 0;
}; | [
"Ray18952875510@163.com"
] | Ray18952875510@163.com |
4d545af2992408669a7338be791dd961a99bc34b | 83bacfbdb7ad17cbc2fc897b3460de1a6726a3b1 | /v8_7_5/src/objects/js-proxy.h | 009f80ed5daaca575035d843112cac62259d3f05 | [
"Apache-2.0",
"bzip2-1.0.6",
"BSD-3-Clause",
"SunPro"
] | permissive | cool2528/miniblink49 | d909e39012f2c5d8ab658dc2a8b314ad0050d8ea | 7f646289d8074f098cf1244adc87b95e34ab87a8 | refs/heads/master | 2020-06-05T03:18:43.211372 | 2019-06-01T08:57:37 | 2019-06-01T08:59:56 | 192,294,645 | 2 | 0 | Apache-2.0 | 2019-06-17T07:16:28 | 2019-06-17T07:16:27 | null | UTF-8 | C++ | false | false | 5,729 | h | // Copyright 2018 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef V8_OBJECTS_JS_PROXY_H_
#define V8_OBJECTS_JS_PROXY_H_
#include "src/objects/js-objects.h"
#include "torque-generated/builtin-definitions-from-d... | [
"22249030@qq.com"
] | 22249030@qq.com |
1511bbb216d204ad7520a89befbd8e15f0a95d9b | b5ae5e238ebe407b5e2c413bc1c2cea625bb50c9 | /pipelinejs.h | 6e94da46f9a037bb9a56787c825b21699d751096 | [] | no_license | adarqui/pipelinejs | 85c47acd948cebd7313916f9f9fb9b4d577d4188 | be5536fc2a35f8eab3fad2e2237d9adfadad5c3d | refs/heads/master | 2021-01-20T06:38:25.914332 | 2013-04-27T06:17:41 | 2013-04-27T06:17:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,156 | h | /* pipelinejs -- adarqui */
#ifndef PIPELINEJS_H
#define PIPELINEJS_H
#include <unistd.h>
#include <iostream>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <stdlib.h>
#include <sys/wait.h>
#include <node.h>
#include <node_buffer.h>
#include <node_version.h>
#include <v8.h>
#include <pcap.h>
#inc... | [
"andrew.darqui@gmail.com"
] | andrew.darqui@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.