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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d2720bc1c6a542f36de4a9440acc1a5d519c81be | 24d75ffa3af1b85325b39dc909343a8d945e9171 | /SceniX/inc/nvsg/nvmath/Matnnt.h | 215058459753de93edb8edfa3585f8ae79133983 | [] | no_license | assafyariv/PSG | 0c2bf874166c7a7df18e8537ae5841bf8805f166 | ce932ca9a72a5553f8d1826f3058e186619a4ec8 | refs/heads/master | 2016-08-12T02:57:17.021428 | 2015-09-24T17:14:51 | 2015-09-24T17:14:51 | 43,080,715 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 61,364 | h | // Copyright NVIDIA Corporation 2002-2006
// TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, THIS SOFTWARE IS PROVIDED
// *AS IS* AND NVIDIA AND ITS SUPPLIERS DISCLAIM ALL WARRANTIES, EITHER EXPRESS
// OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY
// AND FITNESS FOR A PARTICULAR PU... | [
"assafyariv@gmail.com"
] | assafyariv@gmail.com |
c759b107d81cd4bd370a59555341fb348043130f | 01a24c90f7b7bd6b3031b9d39285e5f91da1bf16 | /montecarlotrial/txImage.h | e4d86c6e0d75ca096ad079953004e2d8a96f3e94 | [] | no_license | tianxiao/montecarlotrial | 977a35c97e1989ac938dc37a8bbbf1f2d763d7e6 | 6c5d1073a215a64112ae2005805a2cc7b8a37976 | refs/heads/master | 2021-01-10T20:22:11.718795 | 2013-01-08T03:48:37 | 2013-01-08T03:48:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 353 | h | #pragma once
class txRgb;
class txImage
{
public:
txImage(void);
txImage(int width, int height, int ncomponents=3);
~txImage(void);
// Manipulation
void SetPixelRGB(int row, int column, const txRgb& rgb);
int WriteJPEG(const char *filename)const ;
private:
int width;
int height;
int ncomponents;
int rows... | [
"tianxiao987@gmail.com"
] | tianxiao987@gmail.com |
2968499410a4b2484239f49d9ec5d8037aed5c09 | d00111316eaf4158a60ae9bd7491de2920dcb85c | /tasks/week3/ros_rviz/src/robot/src/sim_robot.cpp | e99c475f449a420971987470af81c8d48c15be93 | [] | no_license | PumpkinJimmy/tutorial_2021 | b4a36a94d6d9e9000b9567e54f3c992301f1f635 | 07717ba5afc44922e0efc2b55aec535d0f29860a | refs/heads/main | 2023-07-17T19:02:43.011980 | 2021-09-04T06:13:23 | 2021-09-04T06:13:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,024 | cpp | #include <ros/ros.h>
#include <visualization_msgs/Marker.h>
struct move_robot{
public:
move_robot(int n);
visualization_msgs::Marker head;
visualization_msgs::Marker body;
visualization_msgs::Marker hand;
float pos_x,pos_y;
int ori;//0-7对应0,45,90,135,180,225,270,315,180,
int n;
void move();
void pos_go(int... | [
"357655784@qq.com"
] | 357655784@qq.com |
275ccecbe6d93c3fa97140a1fec01c26101b0142 | 5ec06dab1409d790496ce082dacb321392b32fe9 | /clients/cpp-restbed-server/generated/model/ComAdobeCqSocialContentFragmentsServicesImplCommunitiesFragmenInfo.h | cd301e9ac182eb6f27b7569af87b91d23a19a331 | [
"Apache-2.0"
] | permissive | shinesolutions/swagger-aem-osgi | e9d2385f44bee70e5bbdc0d577e99a9f2525266f | c2f6e076971d2592c1cbd3f70695c679e807396b | refs/heads/master | 2022-10-29T13:07:40.422092 | 2021-04-09T07:46:03 | 2021-04-09T07:46:03 | 190,217,155 | 3 | 3 | Apache-2.0 | 2022-10-05T03:26:20 | 2019-06-04T14:23:28 | null | UTF-8 | C++ | false | false | 2,291 | h | /**
* Adobe Experience Manager OSGI config (AEM) API
* Swagger AEM OSGI is an OpenAPI specification for Adobe Experience Manager (AEM) OSGI Configurations API
*
* OpenAPI spec version: 1.0.0-pre.0
* Contact: opensource@shinesolutions.com
*
* NOTE: This class is auto generated by OpenAPI-Generator 3.2.1-SNAPSHOT.... | [
"cliffano@gmail.com"
] | cliffano@gmail.com |
f282faf281cd29e4558d81bff90b9e78b33ad3ce | 521786619e016ea5f30952f51425a8683554cb42 | /search_cycle/src/ShortestPath.hpp | 86bcb44558928ed9f7d60ac06086181ac07deb72 | [] | no_license | TweakAESKS/TweakAESKS | ed22c386786590bde430a23553e07160e60d639c | b375695a0050fc0c7d9080862e62f06a0a4b53fe | refs/heads/master | 2020-03-17T06:42:29.911452 | 2020-02-17T10:49:30 | 2020-02-17T10:49:30 | 133,366,233 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,193 | hpp | #ifndef HPP_SHORTESTPATH
#define HPP_SHORTESTPATH
#include <cstdint>
#include "DicStateKey.hpp"
class ShortestPath {
public:
ShortestPath (unsigned n_rounds = 0, unsigned n_conf = 0) : dec0 (n_conf), dec1 (n_conf*(n_rounds-1)) {
shortest_path = new uint8_t [dec0*dec1];
};
ShortestPath (std::vector<std::ve... | [
"blambin@balambin.irisa.fr"
] | blambin@balambin.irisa.fr |
be2412062f97639327c39174f0269ade840bef9a | 07c0b01cc28bb11052ebd665dba2f9c4c32b9f71 | /data_structures/binarytree/right_side_view.cpp | 703aec2f61a182170d3263d591cc8a26e4d88ba6 | [] | no_license | juniway/lint | 52eb4f1f35e97badad09bb92211c7827932a57c8 | 0b53049c86940a262d42150004de70466f885188 | refs/heads/master | 2021-01-10T09:31:36.794439 | 2020-09-02T00:55:03 | 2020-09-02T00:55:03 | 50,222,610 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,477 | cpp | #include <iostream>
#include <vector>
#include <stack>
#include <unordered_set>
#include "tree.hpp"
using namespace std;
struct HashByLevelNumber {
public:
size_t operator()(pair<Node*, int> p) const {
return std::hash<int>()(p.second);
}
};
struct EqualBySize {
public:
bool operator()(pair<Node*... | [
"winkee01@gmail.com"
] | winkee01@gmail.com |
207ad3084c3b778cfcbd19643c6c60c476830d34 | 696bf3a2fe56225acdac8d544d8d8c182ef248e3 | /src/qt/rpcconsole.cpp | f5a168e63e3f94af14025cade3058573356bc328 | [
"MIT"
] | permissive | IOEdev/IOEsource | 89a491f828f43d639440d0147edb6e0fdf11fc61 | bb754d6e997142e571b403264e634897458ca1d9 | refs/heads/master | 2020-07-04T21:20:16.259100 | 2016-11-18T14:31:38 | 2016-11-18T14:31:38 | 74,135,871 | 2 | 1 | null | 2017-03-10T19:56:13 | 2016-11-18T14:18:05 | C++ | UTF-8 | C++ | false | false | 14,465 | cpp | #include "rpcconsole.h"
#include "ui_rpcconsole.h"
#include "clientmodel.h"
#include "bitcoinrpc.h"
#include "guiutil.h"
#include <QTime>
#include <QTimer>
#include <QThread>
#include <QTextEdit>
#include <QKeyEvent>
#include <QUrl>
#include <QScrollBar>
#include <openssl/crypto.h>
// TODO: make it possible to filt... | [
"ioecoin@gmail.com"
] | ioecoin@gmail.com |
f6e0b7283e123fbe6b8557f3ed3e5715df00d133 | cec005da6e7bd12ebf13011022296d09fbfe1e5e | /SR-Team/Client/Headers/ItemSlot_RedElixir.h | 03f7efd4d206a24bb0925015cbfd28230a5fa425 | [] | no_license | Turtle-Corder/SR-NewWorld | ea1efa952b2e6416dafccc144d57a5a3fa29f03b | 4839e235c72871ea8f53e77ed56557634c1cd082 | refs/heads/master | 2023-01-11T15:14:19.557570 | 2020-11-12T05:50:20 | 2020-11-12T05:50:20 | 309,598,463 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 934 | h | #pragma once
#ifndef __ITEMSLOT_REDELIXER_H__
#define __ITEMSLOT_REDELIXER_H__
#include "ItemSlot.h"
USING(Engine)
BEGIN(Client)
class CItemSlot_RedElixir : public CItemSlot
{
public:
explicit CItemSlot_RedElixir(LPDIRECT3DDEVICE9 _pDevice, LPD3DXSPRITE _pSprite, LPD3DXFONT _pFont);
explicit CItemSlot_RedElixir(co... | [
"khkyeom91@gmail.com"
] | khkyeom91@gmail.com |
cf705e81875279d1db42e7e21dc8cab5047d8d42 | 6540ac51373d533fc6bd88ff2b22c4e26f9960c3 | /src/usb/ao/AoUsb1608hs.cpp | 159375ec220a04bba3230b0da1de2e1e927f138a | [
"MIT"
] | permissive | mccdaq/uldaq | 92e09dbe3d189f35156731ce09cf74a56d5336aa | 1d8404159c0fb6d2665461b80acca5bbef5c610a | refs/heads/master | 2022-05-02T14:49:01.623605 | 2022-03-22T01:52:43 | 2022-03-22T01:52:43 | 131,733,031 | 88 | 38 | MIT | 2020-05-11T21:48:24 | 2018-05-01T15:59:13 | C | UTF-8 | C++ | false | false | 6,977 | cpp | /*
* AoUsb1608hs.cpp
*
* Author: Measurement Computing Corporation
*/
#include "AoUsb1608hs.h"
namespace ul
{
AoUsb1608hs::AoUsb1608hs(const UsbDaqDevice& daqDevice, int numChans) : AoUsbBase(daqDevice)
{
double minRate = 0.59604644775390625;
mAoInfo.setAOutFlags(AOUT_FF_NOSCALEDATA | AOUT_FF_NOCALIBRATED... | [
"measurementcomputingcorp@gmail.com"
] | measurementcomputingcorp@gmail.com |
2b00b3ef29f078195981fbac97dd485ae44738cf | ae956d4076e4fc03b632a8c0e987e9ea5ca89f56 | /SDK/TBP_VMP_TOR_F_HAIR_05_classes.h | d8256830065d7e9b873acf21ee58b477443b199d | [] | no_license | BrownBison/Bloodhunt-BASE | 5c79c00917fcd43c4e1932bee3b94e85c89b6bc7 | 8ae1104b748dd4b294609717142404066b6bc1e6 | refs/heads/main | 2023-08-07T12:04:49.234272 | 2021-10-02T15:13:42 | 2021-10-02T15:13:42 | 638,649,990 | 1 | 0 | null | 2023-05-09T20:02:24 | 2023-05-09T20:02:23 | null | UTF-8 | C++ | false | false | 784 | h | #pragma once
// Name: bbbbbbbbbbbbbbbbbbbbbbblod, Version: 1
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Classes
//-------------------------------------------... | [
"69031575+leoireo@users.noreply.github.com"
] | 69031575+leoireo@users.noreply.github.com |
ca89e1b39a9665fbdc086ae77faa894ad6807446 | 82defde286a2d48b2f670d5bffd8eb2e365ace35 | /storage/steady_storage.h | b5dcdb778ec568bf858908dc46f0f718c60210b2 | [
"MIT"
] | permissive | huimiao638/godex | 4226f67f9a2c2db0aafd9e839dba2236f49eeafb | ea1a0460392bf997491c431c29dd260ccf08e251 | refs/heads/main | 2023-03-23T15:57:53.910557 | 2021-03-18T12:21:34 | 2021-03-18T12:21:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,293 | h | #pragma once
#include "core/templates/paged_allocator.h"
#include "dense_vector.h"
#include "storage.h"
/// Storage that is a lot useful when it's necessary to store big components:
/// in those cases, you don't want to reallocate the memory each time a new
/// entity is added or removed.
///
/// This storage is also... | [
"info@andreacatania.com"
] | info@andreacatania.com |
149bd20bf583e702cca5bd72fd3772e3a78fb3b1 | 08cbeb3db9317e892dc3ec683e4fbf9c3b0e86ac | /arc/016/a.cpp | 38e860813918562c790c2c7676aa522886092aba | [] | no_license | wonda-tea-coffee/atcoder | 0b7a8907d6b859e7b65bbf2829fb861e080e671a | 5282f9915da773df3fd27c8570690d912b0bbd90 | refs/heads/master | 2020-12-21T09:57:41.187968 | 2020-04-19T12:33:48 | 2020-05-02T14:49:48 | 236,391,204 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,604 | cpp | #include <algorithm>
#include <bitset>
#include <cassert>
#include <cmath>
#include <ctime>
#include <cstring>
#include <functional>
#include <iostream>
#include <iomanip>
#include <limits>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <vector>
#define fix(n) cout<... | [
"rikita.ishikawa@crowdworks.co.jp"
] | rikita.ishikawa@crowdworks.co.jp |
a34cc9e607e6a3a2ab912e18347763700660a02d | d0c44dd3da2ef8c0ff835982a437946cbf4d2940 | /cmake-build-debug/programs_tiling/function13847/function13847_schedule_14/function13847_schedule_14_wrapper.cpp | 4c8b74bf40860c8242354638188a40299858dd44 | [] | 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 "function13847_schedule_14_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(64, 64, 64, 64);
init_buffer(buf0, (int32_t)0);
... | [
"ei_mekki@esi.dz"
] | ei_mekki@esi.dz |
b93170c88ac05e993de0bb4f71468930793bd5a5 | 2b69e13788344efdb659eb126ae5a2c392ff5d3c | /chrome/browser/ash/app_restore/full_restore_app_launch_handler.cc | 1e3e5e612ebbdbf4a5f9adf743b18eaedbb8c78e | [
"BSD-3-Clause"
] | permissive | narens21/chromium | 9624c670467a3da776689d2aa3e80a9fd6bc10fe | ff814f7e874e74eb807379332f7a6e5fa9342f08 | refs/heads/master | 2023-08-28T02:32:43.803173 | 2021-09-27T09:07:39 | 2021-09-27T09:07:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,802 | 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 "chrome/browser/ash/app_restore/full_restore_app_launch_handler.h"
#include <set>
#include <utility>
#include "ash/constants/ash_switches.h"
#i... | [
"chromium-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | chromium-scoped@luci-project-accounts.iam.gserviceaccount.com |
60b6c8b2196645d510fe721d949fa2844c12ae6e | 7d8627273662415b2cd64c3c32fb18c613dacd79 | /include/hassan/project.h | f451dff34b1fef190f4c1e87231c5a565cad5887 | [] | no_license | caomw/micmac | 0a60d17341a353e645926e7bf7c03eee8f10a971 | 9233424efe81da6c710194eec4c58c20c35ee83e | refs/heads/master | 2021-01-09T06:33:16.126905 | 2015-03-16T14:37:04 | 2015-03-16T14:37:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,477 | h | /*Header-MicMac-eLiSe-25/06/2007
MicMac : Multi Image Correspondances par Methodes Automatiques de Correlation
eLiSe : ELements of an Image Software Environnement
www.micmac.ign.fr
Copyright : Institut Geographique National
Author : Marc Pierrot Deseilligny
Contributors : Gregoire Maille... | [
"helio@kde.org"
] | helio@kde.org |
9ec9456397effa489d37a71d2d3aec6fb7e343cd | 12b25f17243552500bd6b5afb6b00e7be21bc7a2 | /OpenGLisfun/OpenGLisfun/Mesh.h | 9b2490c3be7e03e17d23d6db59ba57b230161975 | [] | no_license | rveens/learnopengl | 2efd3b53249feb1136d98d94d904e08915992e3b | 67c04c61d70c23792c339692789c75b251f6d7c4 | refs/heads/master | 2020-04-06T07:10:38.561588 | 2016-08-25T10:59:25 | 2016-08-25T10:59:25 | 65,599,325 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 677 | h | #pragma once
#include <glm/glm.hpp>
#include <GL/glew.h>
#include <iostream>
#include <vector>
#include <assimp/scene.h>
#include "Shader.h"
struct Vertex {
glm::vec3 Position;
glm::vec3 Normal;
glm::vec2 TexCoords;
};
struct Texture {
GLuint id;
std::string type;
aiString path;
};
class Mesh
{
public:
/* M... | [
"rickveens92@gmail.com"
] | rickveens92@gmail.com |
129653390f100817bcd1f47a8eac418d392be7fe | b3091e900447227c611337e7f1d09113f1496282 | /grafik/old/testing/stack.cpp | 91f5f3171ebfdc97e3304caef0757f073e2139ed | [] | no_license | FinancialEngineerLab/documents | 51285a6d13ea3a6a133f9b8af75782632ec46cf6 | 5ea97493d460dada421e7f04ad31a4d9419a44d1 | refs/heads/master | 2022-03-10T17:14:31.473383 | 2014-05-05T15:41:07 | 2014-05-05T15:41:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 204 | cpp | #include "stack.h"
int main()
{
std::cout << "main -->" << std::endl;
std::cout << "main <--" << std::endl;
return 1;
}
void stack();
{
}
void push(int a);
{
}
int pop();
{
return 0;
}
| [
"pvx884@alumni.ku.dk"
] | pvx884@alumni.ku.dk |
97fb67a0ea95399a11062daad433e3bdaaa2cb97 | 15f70e12f97c1098383a8a3b6d6ee13984bb79e7 | /Classes/Battle/data/LQCastListInfoData.cpp | 1a4625d992b01275a25650ecda1c644771616278 | [] | no_license | Crasader/FightDemo | d02cb099a3684ef45ed13ecfb30f8e3248699e48 | 6d24ab80c5f745bc053efd687fcd0d984a607987 | refs/heads/master | 2021-02-19T09:47:01.498161 | 2016-04-13T03:16:38 | 2016-04-13T03:16:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 516 | cpp | //
// LQCastListInfoData.cpp
// SuperWarriors
//
//演员表数据文件
// Created by LequWorld Studio on 2016
// Copyright (c) 2013年 LequGame. All rights reserved.
//
#include "LQCastListInfoData.h"
using namespace cocos2d;
IMPLEMENT_CLASS(LQCastListInfoData)
LQCastListInfoData::LQCastListInfoData():LQBaseDat... | [
"chenli@7ec0cbbf-2d8b-4450-83e2-257f523ed092"
] | chenli@7ec0cbbf-2d8b-4450-83e2-257f523ed092 |
96865a8619154c271697fd260017961ec5865df5 | d6b4bdf418ae6ab89b721a79f198de812311c783 | /cloudaudit/include/tencentcloud/cloudaudit/v20190319/model/ListAuditsRequest.h | 87975a1e5001664fb4c3e32d7fc0d40dbb6af9b6 | [
"Apache-2.0"
] | permissive | TencentCloud/tencentcloud-sdk-cpp-intl-en | d0781d461e84eb81775c2145bacae13084561c15 | d403a6b1cf3456322bbdfb462b63e77b1e71f3dc | refs/heads/master | 2023-08-21T12:29:54.125071 | 2023-08-21T01:12:39 | 2023-08-21T01:12:39 | 277,769,407 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,513 | h | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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
... | [
"tencentcloudapi@tencent.com"
] | tencentcloudapi@tencent.com |
b243cae7f22f4b9bc0670c8fd628c9fd4e6c692c | 7fa844af70dd2b40b7c89b09c8147aef6b86bf0c | /src/lanarts/fov/impl/permissive-fov.cc | 1a38fd5b4f25c13ee6d6fe6895160cc4ce7b3522 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | ludamad/lanarts-engine | 923f8b59227645eeed46f56c129e1161032c865e | fb2a2b784025ffc6e149e1de690a205eaf4b3171 | refs/heads/master | 2021-01-02T22:51:45.868886 | 2014-11-22T05:11:52 | 2014-11-22T05:11:52 | 19,651,704 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,817 | cc | // permissive-fov.cc
/* Copyright (c) 2007, Jonathon Duerig. Licensed under the BSD
license. See LICENSE.txt for details. */
#include <list>
#include <iostream>
#include <fstream>
#include <algorithm>
#include <string>
#include "permissive-fov.h"
using std::list;
using std::max;
using std::min;
u... | [
"domuradical@gmail.com"
] | domuradical@gmail.com |
13e37be613bc168c62c3f767706f58ee79e65e53 | 42284951bf0c1aedff7118499b45268753ba83c1 | /Electrical/Transistor/code/unused/RadioBuggyMega2013/steering.ino | a9a2adcf81533b7bd62d4e38ba8a574a3e782b99 | [] | no_license | CMU-Robotics-Club/RoboBuggy | f0294dca561f9dddd548cbb2c6cbe3dbb7ab7d39 | 9465dbfe6afab721145a215b1f5e2934d3a7704f | refs/heads/master | 2021-01-24T06:27:11.019759 | 2019-03-29T22:23:45 | 2019-03-29T22:23:45 | 23,744,385 | 26 | 7 | null | 2020-10-12T19:44:33 | 2014-09-06T20:20:03 | Java | UTF-8 | C++ | false | false | 704 | ino | /**
* @file steering.c
* @brief Steering!
* @author Haley Dalzell
* @author Zach Dawson
* @author Matt Sebek
*/
#include <Servo.h>
Servo steer; // create servo object to control a servo
static int s_angle;
static int s_left, s_center, s_right;
void steering_init(int SERVO_PIN, int left, int center, int right) ... | [
"msebek@andrew.cmu.edu"
] | msebek@andrew.cmu.edu |
e7359171091b2464281f6e4153da843e50238c7a | 698162d6d01f6eae3dba2d6ae6e100cb5dd2fef4 | /Source/ExampleGame/MyPlayerState.cpp | 819debd623af9f8ff0b14741213319b85a4bc404 | [
"Apache-2.0"
] | permissive | Sparkness/ExampleGame | f7cffc5a56ffdfe608ac82aece5b8bb806b4bf13 | b05364987163255ad54334420852ccbb7bff87dd | refs/heads/master | 2023-06-25T22:58:03.184345 | 2021-07-23T22:10:27 | 2021-07-23T22:10:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 25,054 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "MyPlayerState.h"
#include "ProMMO.h"
#include "Net/UnrealNetwork.h"
#include "Runtime/ImageWrapper/Public/IImageWrapper.h"
#include "Runtime/ImageWrapper/Public/IImageWrapperModule.h"
#include "DDSLoader.h"
#include "DynamicTextur... | [
"ed@uetopia.com"
] | ed@uetopia.com |
5d4d73cf21bc13549005df913a59b87281737a91 | 82d2738fb1e66ae2869eba15a32f3128e09b1f27 | /Whisperwind/Whisperwind_Engine/include/Camera.h | 4fb3d088ef4e2a9bd127158ceb15a0e470cdba51 | [
"MIT"
] | permissive | harr999y/Whisperwind | a25326fa14c98f16ae8b451b3d96f64368c4d147 | 1171201f7cdcfe2e0043f305514dda66bf677f30 | refs/heads/master | 2021-06-01T11:34:50.562533 | 2020-06-25T11:50:30 | 2020-06-25T11:50:30 | 4,048,736 | 4 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 2,813 | h | /*-------------------------------------------------------------------------
This source file is a part of Whisperwind.(GameEngine + GamePlay + GameTools)
For the latest info, see http://lisuyong.com
Copyright (c) 2012 Suyong Li (79481268@qq.com)
Permission is hereby granted, free of charge, to any person obtain... | [
"79481268@qq.com"
] | 79481268@qq.com |
2b51f553dbd6f883842bc90c62464f1ed3ef6269 | 9e749a1c009fe9d23613a8f90f6677801a0ae68b | /LeetCode/Minimum Depth of Binary Tree.cpp | 844e25111162bf420a458bf5a5e57c5bc7e7e570 | [] | no_license | ssliuyi/ACMCode | 315c772573b94cf25748c45263f87bb1abc7ccab | 3e3d34fa78c75f0af6f298855edd7288f81e7351 | refs/heads/master | 2016-09-05T12:56:49.334419 | 2014-05-17T02:46:09 | 2014-05-17T02:46:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,222 | cpp | /**
* Definition for binary tree
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(x), left(NULL), right(NULL) {}
* };
*/
class Solution {
public:
int minDepth(TreeNode *root) {
// Note: The Solution object is instantiated only on... | [
"liuyi@ENVY.(none)"
] | liuyi@ENVY.(none) |
7ea0c37aa8c10d34eca0d0684b602f265713061a | d06a47ececf6b8439f06cdff4875d8ebd0fc5c7a | /388.文件的最长绝对路径.cpp | 8f361b0d5dc442c18cff2fd3280e2b3eb33ded8a | [] | no_license | ColorlessBoy/leetcode | 46b3ed12f3f3ec584b03f6e4f2639f671a92dc2b | 04a6ef8bca8e372bf26415ad5143d43ffcc6ba20 | refs/heads/master | 2023-02-28T07:03:40.131953 | 2021-02-07T06:15:09 | 2021-02-07T06:15:09 | 283,479,605 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,571 | cpp | /*
* @lc app=leetcode.cn id=388 lang=cpp
*
* [388] 文件的最长绝对路径
*/
#include <bits/stdc++.h>
using namespace std;
// @lc code=start
class Solution {
public:
int lengthLongestPath(string input) {
vector<int> length = {-1};//第一层
bool isFile = false;
int str_length = 0, deepth = 1, rst = 0;
... | [
"penglingwei@zju.edu.cn"
] | penglingwei@zju.edu.cn |
caf9abb99fb099c9026f0fb5b094a6d0bea1e423 | bc84c328d1cc2a318160d42ed1faa1961bdf1e87 | /STL/stack/stack 类模板4/stacktp.cpp | 1ff9bccd8f2124dd3de0ebf3bb6094f8e35e8c72 | [
"MIT"
] | permissive | liangjisheng/C-Cpp | 25d07580b5dd1ff364087c3cf8e13cebdc9280a5 | 8b33ba1f43580a7bdded8bb4ce3d92983ccedb81 | refs/heads/master | 2021-07-10T14:40:20.006051 | 2019-01-26T09:24:04 | 2019-01-26T09:24:04 | 136,299,205 | 7 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 638 | cpp | // tempparm.cpp -- template as parameters
#include"iostream"
#include"stacktp.h"
template< template<class T> class Thing>
class Crab
{
private:
Thing<int> s1;
Thing<double> s2;
public:
Crab() {}
bool push(int a,double x)
{ return s1.push(a) && s2.push(x); }
bool pop(int & a,double & x)
{ return s1.pop(a) && s... | [
"1294851990@qq.com"
] | 1294851990@qq.com |
dabeca86aabb938cada23884fce9acb50cfd5c31 | 1890b475dc4e7b856f973252080814b14bb52d57 | /aws_drive/aws/v7.1/Samples/netds/messagequeuing/mqapitst/RecvMDlg.h | 40140d5c99ca9fe5e1e4597d464ac42747f01daa | [] | no_license | nfouka/InnoSetup5 | 065629007b00af7c14ae9b202011e12b46eea257 | df39fc74995a6955d2d8ee12feed9cff9e5c37db | refs/heads/master | 2020-04-20T02:51:58.072759 | 2019-01-31T21:53:45 | 2019-01-31T21:53:45 | 168,582,148 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,972 | h | // --------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved
//
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
// THE IMPLIED WARRANTIES OF MERCH... | [
"nadir.foukagmail.com"
] | nadir.foukagmail.com |
7a18ac1b5922db845a84d80954e2ae18d61e88c5 | ada5dc24bed029a1758bd83297567f6cd4b972a3 | /StackLib/Stack.h | af83dcbf913cb4f1ef45ea244bf7557902994227 | [] | no_license | DimaSilenko/3817061_Silenko_AllLabi | 54749b27a4ad8e4a381757cf50d13abdd6eb0767 | a58993d2571ab9a70af34f3a94f4c91dd83d5198 | refs/heads/master | 2020-03-30T12:41:43.238692 | 2019-05-09T11:34:19 | 2019-05-09T11:34:19 | 151,235,392 | 0 | 3 | null | 2019-05-12T20:00:46 | 2018-10-02T10:09:14 | C++ | UTF-8 | C++ | false | false | 3,954 | h | #pragma once
#include <iostream>
#include "ExceptionLib.h"
using namespace std;
template <class T>
class TStack
{
protected:
int length;// Длина стека
T* elem;// Элементы стека
int top;// Вершина стека
public:
TStack(int len = 0);
TStack(TStack &st);
virtual ~TStack();
void Put(T el); // Положить элемент
T ... | [
"43129870+DimaSilenko@users.noreply.github.com"
] | 43129870+DimaSilenko@users.noreply.github.com |
bb8a14bb1301de448a38e5f68fff48b57540ae9c | fdfdbf1cdf09dcb9b49cd24197d9410a858b42b3 | /QZXing/QZXing.cpp | 9113bd1075b050a3ce721a483bd90e4482540b36 | [
"Apache-2.0"
] | permissive | ilnuribat/scanning_barcode | 3a4ba009b5e507b8f3a9efd7a35152dfa2bf99b4 | 5f2bd316c29ec888d984ae8ecc0b6c93f78b0c75 | refs/heads/master | 2021-07-13T22:51:11.356806 | 2017-10-18T22:51:06 | 2017-10-18T22:51:06 | 106,114,275 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,990 | cpp | #include "QZXing.h"
#include <zxing/common/GlobalHistogramBinarizer.h>
#include <zxing/Binarizer.h>
#include <zxing/BinaryBitmap.h>
#include <zxing/MultiFormatReader.h>
#include <zxing/DecodeHints.h>
#include "CameraImageWrapper.h"
#include "ImageHandler.h"
#include <QTime>
#include <QUrl>
#include <QFileInfo>
#includ... | [
"ilnuribat@gmail.com"
] | ilnuribat@gmail.com |
8521a2690cf8af75727dbc935aff3dbd00ca0c30 | ca291dee2da5b222e755e962ec139c25c5ee6c12 | /ScrapEngine/ScrapEngine/Engine/LogicCore/Components/TriggerComponent/TriggerComponent.h | 5920e5693d2c25b03e2a67459e267a952758bb85 | [
"MIT"
] | permissive | ScrappyCocco/ScrapEngine | fed49a76cdadadb5ea6fa5a46464495df5e4a5d3 | 719c7f53795bdc9225669936dae552d1a38cc5b7 | refs/heads/master | 2022-02-01T22:42:54.146601 | 2022-01-04T16:21:18 | 2022-01-04T16:21:18 | 143,517,977 | 133 | 14 | MIT | 2020-02-25T21:19:21 | 2018-08-04T10:02:56 | C++ | UTF-8 | C++ | false | false | 691 | h | #pragma once
#include <Engine/LogicCore/Components/SComponent.h>
namespace ScrapEngine
{
namespace Physics
{
class CollisionBody;
}
}
namespace ScrapEngine
{
namespace Core
{
class RigidBodyComponent;
class TriggerComponent : public SComponent
{
private:
Physics::CollisionBody* collisionbody_ = nu... | [
"mikelerogeratro@yahoo.it"
] | mikelerogeratro@yahoo.it |
665d6c3356e3ade88b6c325145388cbfc9336da0 | 544fbe639a4d1f5bdf91c6bbf8568a37233e8546 | /aws-cpp-sdk-auditmanager/include/aws/auditmanager/model/BatchCreateDelegationByAssessmentError.h | f27ec34fddf9e2f8ac61c2eaf01c7d2bc513d8cc | [
"MIT",
"Apache-2.0",
"JSON"
] | permissive | jweinst1/aws-sdk-cpp | 833dbed4871a576cee3d7e37d93ce49e8d649ed5 | fef0f65a49f08171cf6ebc8fbd357731d961ab0f | refs/heads/main | 2023-07-14T03:42:55.080906 | 2021-08-29T04:07:48 | 2021-08-29T04:07:48 | 300,541,857 | 0 | 0 | Apache-2.0 | 2020-10-02T07:53:42 | 2020-10-02T07:53:41 | null | UTF-8 | C++ | false | false | 6,784 | h | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/auditmanager/AuditManager_EXPORTS.h>
#include <aws/auditmanager/model/CreateDelegationRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespa... | [
"aws-sdk-cpp-automation@github.com"
] | aws-sdk-cpp-automation@github.com |
c6df4becf2c4cf82125228dd1df7ce4d69e974f4 | 4b42fae3479a99b3a1f6e16922e92809a0945c82 | /content/public/renderer/content_renderer_client.h | a68f00aec37a0d42c9558497a138e3c3791f332e | [
"BSD-3-Clause"
] | permissive | Jtl12/browser-android-tabs | 5eed5fc4d6c978057c910b58c3ea0445bb619ee9 | f5406ad2a104d373062a86778d913e6b0a556e10 | refs/heads/master | 2023-04-02T05:20:33.277558 | 2018-07-20T12:56:19 | 2018-07-20T12:56:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,924 | h | // 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.
#ifndef CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_
#define CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_
#include <stddef.h>
#include <... | [
"artem@brave.com"
] | artem@brave.com |
bf4130a81f51de400354cd402e376f301cdb3c00 | 477c8309420eb102b8073ce067d8df0afc5a79b1 | /Plugins/PointSprite/ParaViewPlugin/Qvis/QvisColorGridWidget.h | 5b075262c161ff6a4221fb609a7656a68ab86756 | [
"LicenseRef-scancode-paraview-1.2"
] | permissive | aashish24/paraview-climate-3.11.1 | e0058124e9492b7adfcb70fa2a8c96419297fbe6 | c8ea429f56c10059dfa4450238b8f5bac3208d3a | refs/heads/uvcdat-master | 2021-07-03T11:16:20.129505 | 2013-05-10T13:14:30 | 2013-05-10T13:14:30 | 4,238,077 | 1 | 0 | NOASSERTION | 2020-10-12T21:28:23 | 2012-05-06T02:32:44 | C++ | UTF-8 | C++ | false | false | 5,510 | h | /*****************************************************************************
*
* Copyright (c) 2000 - 2007, The Regents of the University of California
* Produced at the Lawrence Livermore National Laboratory
* All rights reserved.
*
* This file is part of VisIt. For details, see http://www.llnl.gov/visit/. The
* ful... | [
"aashish.chaudhary@kitware.com"
] | aashish.chaudhary@kitware.com |
22b4fffdff6e1397e10d9ffa01f51e71be277d93 | 6c4e391046022177244aeade63b03fc0824a4c50 | /ash/login/ui/login_test_base.h | 846529580ec2f8c8b9b2b29f0657d9c7c1bc98e8 | [
"BSD-3-Clause"
] | permissive | woshihoujinxin/chromium-2 | d17cae43153d14673778bbdf0b739886d2461902 | 71aec55e801f801f89a81cfb219a219d953a5d5c | refs/heads/master | 2022-11-15T00:18:39.821920 | 2017-07-14T19:59:33 | 2017-07-14T19:59:33 | 97,331,019 | 1 | 0 | null | 2017-07-15T17:16:35 | 2017-07-15T17:16:35 | null | UTF-8 | C++ | false | false | 1,687 | h | // Copyright 2017 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 ASH_LOGIN_UI_LOGIN_TEST_BASE_H_
#define ASH_LOGIN_UI_LOGIN_TEST_BASE_H_
#include "ash/login/ui/login_data_dispatcher.h"
#include "ash/public/inte... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
15026e30a20cbb54cde203105de9e250b3ed6043 | c8c5b33404786915c7e230e75c1f70e145203fbb | /cotson/src/network/slirp_acceptor.cpp | 10e8d34f0f3dac4a0b729ab55caee5a289c8f072 | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | adityabhopale95/COTSON_Simulator_multinode | 82b4e5a914b20083aaeacc6684b9ed300f5c55b2 | 4131d59fe83a6756caa00fb46164982cb490619e | refs/heads/master | 2020-03-24T14:30:57.285733 | 2018-08-03T03:30:16 | 2018-08-03T03:30:16 | 142,770,484 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,055 | cpp | // -*- C++ -*-
// (C) Copyright 2006-2009 Hewlett-Packard Development Company, L.P.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
// T... | [
"asbhopal@eb2-3226-lin09.csc.ncsu.edu"
] | asbhopal@eb2-3226-lin09.csc.ncsu.edu |
7352f4e1fe332b4400cacc433110c3f7d4048105 | 601ef8f84521f8d99786fa530ab97b4a7a6fbf49 | /algoritmos/binary_search/binary_search.cpp | e2df5067d19b9550490034c12dabe26eb9c8563c | [] | no_license | HugoAlejandro2002/Algoritmica-2 | 4cfe1adb3cdff9758c43ae0c3887cc992548661a | 1252965bb8ce0a4ab7f8740eebab6e81f10b9a2a | refs/heads/main | 2023-07-15T21:43:40.637203 | 2021-09-02T13:34:17 | 2021-09-02T13:34:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 925 | cpp | #include <bits/stdc++.h>
#define input freopen("in.txt", "r", stdin)
#define output freopen("out.txt", "w", stdout)
using namespace std;
int n, x;
int arreglo[100000+1];
bool f(int mid) {
return x > arreglo[mid];
}
int binarySearch() {
int ini = 0;
int fin = n;
int ans = -1;
while(fin - ini > 1... | [
"dylanchambifi@gmail.com"
] | dylanchambifi@gmail.com |
f216f0f0bde364847c8cb0253da70b82dd24d8e4 | 8cb8ec98155a606e0798d1597d92fa5b417a43e9 | /WNLogging.h | 26ed1d05098b329023729be4786ef56581ca3de6 | [] | no_license | korovkin/WNLogging | f95b513f937fc55faa14878224521825f69b0563 | fe9ec7bd1a4f1d1f0a99dca189c45c79ae2686e3 | refs/heads/master | 2021-06-30T05:36:07.399866 | 2021-06-07T21:17:17 | 2021-06-07T21:17:17 | 80,579,222 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,063 | h | #pragma once
/////////////////////////////////////////////////////////////////
/// Mostly inspired by: https://github.com/google/glog
/////////////////////////////////////////////////////////////////
#include <errno.h>
#include <inttypes.h>
#include <stdint.h>
#include <string.h>
#include <sys/types.h>
#include <time... | [
"korovkin@gmail.com"
] | korovkin@gmail.com |
e45a981d074dce7cccaa2ef8c3aed88b74817d5d | abaa86b60befa876b858194b5f6c372c4efa096c | /Intermediate/Build/Win64/UE4Editor/Inc/FirebaseHelper/FirestoreValue.gen.cpp | 8effba3bfb3adf343ea0db5ba4a8527afed5d13a | [] | no_license | JICA98/FirebaseHelper | afc5db65949fabe8e049f987547980923d620ebd | 54268d41b12a47724c3a0f25d7a5a338c314b26e | refs/heads/main | 2023-01-30T12:40:43.393446 | 2020-12-11T07:35:57 | 2020-12-11T07:35:57 | 316,012,440 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 43,207 | cpp | // Copyright Epic Games, Inc. All Rights Reserved.
/*===========================================================================
Generated code exported from UnrealHeaderTool.
DO NOT modify this manually! Edit the corresponding .h files instead!
========================================================================... | [
"jishnu.pooradam@hotmail.com"
] | jishnu.pooradam@hotmail.com |
42e35f5546425e4448c7ff3687be5b0774a74fda | 6019c9ad21a9f73becf2d4a3a3789d1b9cc2f45d | /Poker/Poker/node.h | 78d57e857cdacdd4c4fa2ae7c71a808cab7adb45 | [] | no_license | theshwetapatil/Poker-CPP | 261088291a7aa3c19afa07a3bb69b0a9a38e4dfc | 438e6d4508f76fcda08f297ec0b864b51c6d0d0a | refs/heads/master | 2020-03-15T23:35:24.880229 | 2018-05-07T14:08:11 | 2018-05-07T14:08:11 | 132,397,025 | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 851 | h | // node.cpp : Defines the node header for the console application.
// C++ Game: Poker
// Gameplay features: hand draw, poker hand match, card shuffle- Fisher Yates Algorithm, sort- Quicksort Algorithm, cards swap
// Author: Shweta Patil
// Copyright: Shweta Patil © 2018
#pragma once
#define _CRTDBG_MAP_ALLOC
#define _C... | [
"theshwetapatil@gmail.com"
] | theshwetapatil@gmail.com |
8c50f6ad603d34edb1d53cd999bb79e8605dc067 | a993b98793857e93de978a6ef55103a37b414bbf | /components/proximity_auth/messenger_impl_unittest.cc | 84a16315bda448ec4d9782afcf54480bbb62ad81 | [
"BSD-3-Clause"
] | permissive | goby/chromium | 339e6894f9fb38cc324baacec8d6f38fe016ec80 | 07aaa7750898bf9bdbff8163959d96a0bc1fe038 | refs/heads/master | 2023-01-10T18:22:31.622284 | 2017-01-09T11:22:55 | 2017-01-09T11:22:55 | 47,946,272 | 1 | 0 | null | 2017-01-09T11:22:56 | 2015-12-14T01:57:57 | null | UTF-8 | C++ | false | false | 15,640 | cc | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/proximity_auth/messenger_impl.h"
#include <memory>
#include "base/callback.h"
#include "base/macros.h"
#include "base/memory/ptr_ut... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
0b6e64709ad1f045a3d5d42cafbaf041008f4bef | 1b4f9a242a41cfb57890022fd5cd7cac374654c7 | /11000-11999/11743/creditCheck_11743.cpp | e0bc20684645d6723f902e58ff61f6cadaac4bf7 | [] | no_license | msanchezzg/UVaOnlineJudge | 821a88838294a4a7d9cca13829343bbfde4f1627 | 0814335643bab76c592c25987bd75f3d8728d8fd | refs/heads/master | 2021-10-24T21:22:40.188474 | 2021-10-21T16:10:19 | 2021-10-21T16:10:19 | 236,212,542 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 905 | cpp | #include <iostream>
#include <vector>
#include <string>
using namespace std;
int sumOfDigits(int n) {
string s = to_string(n);
int total = 0;
for (char c : s) total += c - 48; // 48 is ASCII value of 0
return total;
}
int main(){
int cases, oddNumsSum, pairNumsSum, total, n, n2;
string s, card;
bool oddPosit... | [
"m.sanchezzgir@gmail.com"
] | m.sanchezzgir@gmail.com |
6b63ccedd52109e75cb10d241ccdb88ed7200ae3 | 1d1fc9b7cd13c70c83b89c885b80e72fff626fe9 | /mytest.cpp | 235a72eb2540fb47e770cb4b063cf8a9752e9f21 | [] | no_license | lijiunderstand/PCA-1 | 164100ae5df23948babe00eb4fd3c5e50ebbae80 | d23f66f8bff032a11493687bdbed3d9466fc9805 | refs/heads/master | 2022-01-20T11:48:37.068007 | 2019-03-23T04:44:11 | 2019-03-23T04:44:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 423 | cpp |
// C++ program to demonstrate default behaviour of
// sort() in STL.
#include <bits/stdc++.h>
using namespace std;
int main()
{
int arr[] = {1, 5, 8, 9, 6, 7, 3, 4, 2, 0};
// int n = sizeof(arr)/sizeof(arr[0]);
sort(arr, arr+n);
cout << "\nArray after sorting using "
"default... | [
"anirudh8841@gmail.com"
] | anirudh8841@gmail.com |
1cd86afbfc6eae34d07c7d1369cb027d3a6fb691 | 3ff1fe3888e34cd3576d91319bf0f08ca955940f | /lcic/include/tencentcloud/lcic/v20220817/model/MessageList.h | 4d5ff4bc08264c07826f8bf955b5fa3fd1a18b32 | [
"Apache-2.0"
] | permissive | TencentCloud/tencentcloud-sdk-cpp | 9f5df8220eaaf72f7eaee07b2ede94f89313651f | 42a76b812b81d1b52ec6a217fafc8faa135e06ca | refs/heads/master | 2023-08-30T03:22:45.269556 | 2023-08-30T00:45:39 | 2023-08-30T00:45:39 | 188,991,963 | 55 | 37 | Apache-2.0 | 2023-08-17T03:13:20 | 2019-05-28T08:56:08 | C++ | UTF-8 | C++ | false | false | 6,947 | h | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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
... | [
"tencentcloudapi@tencent.com"
] | tencentcloudapi@tencent.com |
42fc523614e390dab48fd4521831cf8a9d139b32 | 1f5d0e985ff92a4695e7aefb897974c921b798e7 | /Sources/AIntegrator/Ai_Main/Src/Parameters/LineEditParameter.cpp | 52acca0d1428de0f643548b9fdcbbf1327d36848 | [] | no_license | denis-fatkulin/aintegrator | 77be9e282d9a613a50103a8affc17287ed87a59a | 380c98295c500712f028f739dd51b97af1a3297e | refs/heads/master | 2022-08-12T07:54:50.546839 | 2017-01-26T06:59:45 | 2017-01-26T06:59:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,441 | cpp | ////////////////////////////////////////////////////////////////////////////////////////////////////
/// A-Integrator
/// (c) 2016 - Denis Fatkulin - denis.fatkulin@gmail.com
////////////////////////////////////////////////////////////////////////////////////////////////////
#include "LineEditParameter.h"
#include "ho... | [
"dfatkulin@luxoft.com"
] | dfatkulin@luxoft.com |
e0f9645e0911b6e17fc5420de28da06656c341be | bf78b310cc6276edc749a2b3b8514fcc2c333c5c | /src/NoWarning/mpi.hpp | e3368db48f5dcc20a817021ce0cbd05c6bbff6b7 | [] | no_license | Charmworks/ExaM2M | 62a1a25e47dc19ead740e073bb5694d5c87ecdac | d9a0f3b6b208fd6875a1c091f3fe44c3d11b9d04 | refs/heads/main | 2023-08-16T01:22:39.344766 | 2022-05-10T16:24:58 | 2022-05-10T16:24:58 | 246,621,911 | 3 | 1 | null | 2023-07-04T14:15:35 | 2020-03-11T16:23:22 | C++ | UTF-8 | C++ | false | false | 832 | hpp | // *****************************************************************************
/*!
\file src/NoWarning/mpi.hpp
\copyright 2020 Charmworks, Inc.
All rights reserved. See the LICENSE file for details.
\brief Include mpi.h with turning off specific compiler warnings
*/
// ********************... | [
"jbakosi@lanl.gov"
] | jbakosi@lanl.gov |
725d4cece5b50124ed58bf3b881c3896ec91d7e4 | 76704671ba2b44498489d46864728c02bc90889d | /MeetingCodes/Meeting9/Nelli_Tags.cpp | 4490c51b33db7570a2e6807ad233e17117e3a2f1 | [
"MIT"
] | permissive | knelli2/spectre-cpp-basics | 5750725ed78aea139de1c510333e2b328b2196eb | 9ac3f192a3673e708e8cd33efce0b3eba13f46fc | refs/heads/main | 2023-05-14T17:50:29.787566 | 2021-06-10T15:08:39 | 2021-06-10T15:08:39 | 373,907,837 | 0 | 0 | MIT | 2021-06-04T16:57:18 | 2021-06-04T16:57:17 | null | UTF-8 | C++ | false | false | 877 | cpp | #include <iostream>
#include <tuple>
#include <utility>
template <typename T, size_t Extra>
T sum(const T& lhs, const T& rhs) noexcept {
return lhs + rhs + static_cast<double>(Extra);
}
namespace Rect {
struct Width {};
struct Height {};
} // namespace Rect
template <typename T>
double area(const T& box) noexcept... | [
"knelli@caltech.edu"
] | knelli@caltech.edu |
35a2526a8c6fe2ae19a03d74f833cf78d720dc4a | 9c046eeda11be532cc0017e6da316e7ddfd16283 | /Telecomm/SharedLib/qtav/include/QtAVWidgets/VideoPreviewWidget.h | f0a72837989843c70d743adb580b2027f51587c2 | [
"BSD-3-Clause"
] | permissive | telecommai/windows | 83cd3ac4dec7742c6e038689689ac7ec9cde842a | 30e34ffe0bc81f39c25be7624d16856bf42e03eb | refs/heads/master | 2023-01-12T02:10:59.904541 | 2019-04-23T11:42:07 | 2019-04-23T11:42:07 | 180,726,308 | 3 | 0 | BSD-3-Clause | 2023-01-03T19:52:20 | 2019-04-11T06:12:20 | C++ | UTF-8 | C++ | false | false | 3,637 | h | /******************************************************************************
VideoRendererTypes: type id and manually id register function
Copyright (C) 2015 Wang Bin <wbsecg1@gmail.com>
* This file is part of QtAV
This library is free software; you can redistribute it and/or
modify it under the ... | [
"wow218@126.com"
] | wow218@126.com |
7cab9f3b80d49f89ca8c38c7b19327052ac56117 | fde2964c7284308711d863e9b825b06569677f59 | /AlgoCourse4/Week4/2SAT.cpp | 70542a1a37a3d7531fdff46ed9167b729cb84e29 | [] | no_license | NitkPallavik/Algorithm---Courseera | 7a1bda1d6c7a48a0efbd4c0d7b44d8bfdfbf7023 | f29d63bcbf05fa58ce7b441c54b6562547486c5d | refs/heads/master | 2021-01-21T21:26:18.831968 | 2017-07-31T04:12:31 | 2017-07-31T04:12:31 | 94,842,717 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,712 | cpp | #include <bits/stdc++.h>
using namespace std;
vector <int> reverse_count(3000001);
vector <int> forward_count(3000001);
vector <long> fintime(3000001);
int finish_time =1;
bool satisfiable = true;
void GraphForward(long variables,long track, vector < vector<int> > &graph, long index){
if (forward_count[trac... | [
"Pallavi.581993@gmail.com"
] | Pallavi.581993@gmail.com |
2dbf8aceafa3e4122f3aa03ba1abef759d160ba4 | 0de08d45ca05f1eb31bf5d9fa44c7dfbfd3778f2 | /Cam16bitTest/nkcOpenCV.cpp | 09ef1cdf91af83394e3a637c7b151fb6e9ff6808 | [] | no_license | nakaguchi/Cam16bitTest | 3f601e32340bab4049968be90ff6aa800f6070ba | 6b2349403b7a64a1a99ce589cea843c8b3d9ca79 | refs/heads/master | 2022-12-12T20:40:44.380414 | 2020-09-08T06:01:06 | 2020-09-08T06:01:06 | 293,715,928 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 2,679 | cpp | #include "nkcOpenCV.h"
#include <Windows.h>
namespace nkc {
namespace ocv {
// 待たないwaitKey()
int noWaitKey() {
MSG msg;
while (::PeekMessage(&msg, NULL, 0, 0, PM_NOREMOVE)) {
if (::GetMessage(&msg, NULL, 0, 0) == 0) {
// WM_QUIT
::PostQuitMessage(msg.wParam);
return 0;
}
if (msg.message == WM_CHAR) ... | [
"nakaguchi@faculty.chiba-u.jp"
] | nakaguchi@faculty.chiba-u.jp |
907c7428441aad126168710bc9dfaec7cff02382 | 6a6b61f3b3d74c871d6202b9f61d79b81e757b2e | /GraphIO.h | 3a3d570f6bfcddfe43a0e838cbcf1b6359eddab4 | [] | no_license | raminzahedi/Network-Simulator | 42ae57c2cf4aeec426180fd9f85c5dc1b056a4fc | 0fcac3ef58dfef744184ca4ac67018807d53da71 | refs/heads/main | 2023-01-14T13:36:13.842727 | 2020-11-17T18:16:09 | 2020-11-17T18:16:09 | 313,699,364 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 451 | h | #include <iostream>
#include <sstream>
#include <string>
#include <fstream>
#include <cstdio>
#include <cstdlib>
#include <ctime>
#include "Graph.h"
#ifndef GRAPH_IO_HEADER
#define GRAPH_IO_HEADER
using namespace std;
class GraphIO : public Graph {
public:
GraphIO ( );
~GraphIO ( );
... | [
"zahedi@nmsu.edu"
] | zahedi@nmsu.edu |
5c44c9cc04e9737f06a094f615a4f9bdd0487bf0 | a6bfdf4d2dd1ea4ae285215c651c2b64479b6b6a | /bench/function/simd/acosh.cpp | 57c6308ae25a47ed90a34a3452b27a8269ea9289 | [
"BSL-1.0"
] | permissive | jeffamstutz/boost.simd | fb62210c30680c3cb2ffcc8ed80f8a0050f675fd | 8afe9673c2a806976a77bc8bbca4cb1116a710cb | refs/heads/develop | 2021-01-13T04:06:02.762442 | 2017-01-05T02:56:52 | 2017-01-06T16:11:47 | 77,879,665 | 6 | 1 | null | 2017-01-03T03:08:57 | 2017-01-03T03:08:57 | null | UTF-8 | C++ | false | false | 771 | cpp | // -------------------------------------------------------------------------------------------------
// Copyright 2016 - NumScale SAS
//
// Distributed under the Boost Software License, Version 1.0.
// See accompanying file LICENSE.txt or copy at
// ... | [
"joel.falcou@lri.fr"
] | joel.falcou@lri.fr |
85b1537202d8da46a61b3887b57a872041026fa8 | 8d5fe26b90cf4115cb6ba1c702502b507cf4f40b | /iPrintableDocumentDeal/MsOffice/Word2010/CFrames.h | 4ec756c313dfa9ab5d3a374e648ba09d5d209393 | [] | no_license | radtek/vs2015PackPrj | c6c6ec475014172c1dfffab98dd03bd7e257b273 | 605b49fab23cb3c4a427d48080ffa5e0807d79a7 | refs/heads/master | 2022-04-03T19:50:37.865876 | 2020-01-16T10:09:37 | 2020-01-16T10:09:37 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,736 | h | // 从类型库向导中用“添加类”创建的计算机生成的 IDispatch 包装类
#import "C:\\Program Files (x86)\\Microsoft Office\\Office14\\MSWORD.OLB" no_namespace
// CFrames 包装类
class CFrames : public COleDispatchDriver
{
public:
CFrames(){} // 调用 COleDispatchDriver 默认构造函数
CFrames(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
CFrames(cons... | [
"1007482035@qq.com"
] | 1007482035@qq.com |
0cca1b5510fc3baf09b73c9668e4223d8e27ff05 | 9bf237b47591f0faae6ef3935be2012584eff1cb | /Common/Application.h | 7940a2bf52ed9eb4bed6cf0c758405f550309a11 | [] | no_license | Alex-Chang/FileAnlayzer | d1492e94a912c50325e0857c1735989ec5b6c459 | 65e74fd7300cd77027ad6b708d273be314130270 | refs/heads/master | 2020-04-05T23:26:48.565619 | 2012-10-09T12:46:12 | 2012-10-09T12:46:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 550 | h |
#include "Plugin.h"
#include <map>
#include "FileHelper.h"
using namespace std;
class Application
{
private:
typedef map<string, Plugin*> PluginList;
typedef PluginList::iterator PluginIterator;
PluginList mPluginMap;
FileList mCurrentFileList;
map<HINSTANCE, string> mDllList;
protected:
void backDictiona... | [
"zhangjian19890218@163.com"
] | zhangjian19890218@163.com |
8566972fecc079210eff75e19630ebb0bc2fd010 | 321451b3cfe1535b45f756383f4a4efe7733c14d | /reinforcement_learning/rlclientlib/utility/config_collection.cc | 420d9e20952d99e6dad3e218fad69918539eae38 | [] | no_license | movableink/vowpal_wabbit | ea471c16e08ea00a789c1725babac6af74b05785 | 277484317b8e09e5bda4cb4952ea8ad67961a80f | refs/heads/master | 2020-03-17T15:23:17.820811 | 2018-07-21T12:39:26 | 2018-07-21T12:39:26 | 133,709,047 | 0 | 0 | null | 2018-05-16T18:41:18 | 2018-05-16T18:41:17 | null | UTF-8 | C++ | false | false | 2,120 | cc | #include "config_collection.h"
#include "str_util.h"
namespace reinforcement_learning { namespace utility {
config_collection::config_collection():_pmap(new map_type()) {}
config_collection::~config_collection() { delete _pmap; }
config_collection::config_collection(const config_collection& other) {
_pmap ... | [
"ranaras@microsoft.com"
] | ranaras@microsoft.com |
3f8cc59310a4ba08f704a354d2a414a77f6587ce | b5aa98a43c376af64e7d7f4b761ea549f9783e5f | /app/Components/Shaders/DiffuseMaterial.cpp | 25ca867984be281e3b5661db5b090614aaeab03a | [
"MIT"
] | permissive | mohammadt3anii/MobileRayTracer | 319319a7162ca3ae97714a577df0cef43ebe4375 | 794cfba707e1c6a7fde8809b41b7adc8deef3d40 | refs/heads/master | 2020-04-04T16:09:18.419293 | 2018-11-03T19:09:35 | 2018-11-03T19:09:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,307 | cpp | //
// Created by puscas on 31/07/17.
//
#include "Components/Shaders/DiffuseMaterial.hpp"
using ::Components::DiffuseMaterial;
using ::MobileRT::Intersection;
using ::MobileRT::Ray;
using ::MobileRT::Scene;
DiffuseMaterial::DiffuseMaterial(Scene &&scene, const Accelerator accelerator) noexcept :
Shader{::std... | [
"ni_net@hotmail.com"
] | ni_net@hotmail.com |
55df084f1bd0200328b23538dee32fa35fe00126 | 1ae40287c5705f341886bbb5cc9e9e9cfba073f7 | /Osmium/SDK/FN_ItemInspectUpgradePopupMenu_functions.cpp | 65b9ab491fc21f230a03239e9145edb0fa0eb46c | [] | no_license | NeoniteDev/Osmium | 183094adee1e8fdb0d6cbf86be8f98c3e18ce7c0 | aec854e60beca3c6804f18f21b6a0a0549e8fbf6 | refs/heads/master | 2023-07-05T16:40:30.662392 | 2023-06-28T23:17:42 | 2023-06-28T23:17:42 | 340,056,499 | 14 | 8 | null | null | null | null | UTF-8 | C++ | false | false | 10,575 | cpp | // Fortnite (4.5-CL-4159770) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "../SDK.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Functions
//---------------------------------------------------------------------------
// Function ItemInspectUpgrad... | [
"kareemolim@gmail.com"
] | kareemolim@gmail.com |
8c485f4600739cc3097575b7a17945a85092d379 | e572189d60a70df27b95fc84b63cc24048b90d09 | /codejam/2020/qual/a.cpp | fafc1f7139fa6b8ff40245261c42e6c4ef12c615 | [] | no_license | namhong2001/Algo | 00f70a0f6132ddf7a024aa3fc98ec999fef6d825 | a58f0cb482b43c6221f0a2dd926dde36858ab37e | refs/heads/master | 2020-05-22T12:29:30.010321 | 2020-05-17T06:16:14 | 2020-05-17T06:16:14 | 186,338,640 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,221 | cpp | #include <iostream>
#include <vector>
using namespace std;
typedef vector<int> vi;
typedef vector<vi> vii;
int rowCnt(vii &matrix) {
int N = matrix.size();
int ret = 0;
for (int i=0; i<N; ++i) {
vector<bool> checked(N+1, false);
for (int j=0; j<N; ++j) {
if (checked[matrix[i][j]]) {
ret++... | [
"namhong2001@gmail.com"
] | namhong2001@gmail.com |
1a6f38e657e80314d800db29ffd242a34246c058 | b163e83fa01efeec6f19996528cd382cb7f62098 | /lib/Target/JVM/JVMTargetMachine.cpp | 9040d30938ced1143961122a8066347581fd3a41 | [
"NCSA"
] | permissive | jbhateja/llvm_jvm | dde0be2c81c7a1f274d00576d5a71dbde9b80910 | f6df667676cb057ea42f766f1f99c2d4c66a9071 | refs/heads/master | 2020-04-16T05:56:29.664086 | 2019-03-10T16:02:39 | 2019-03-10T16:02:46 | 165,327,435 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,123 | cpp | //===- JVMTargetMachine.cpp - Define TargetMachine for JVM -==//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------=... | [
"jatin.bhateja@gmail.com"
] | jatin.bhateja@gmail.com |
00cdc798b161f2c3fd0d01d8508a1cb54cf57ea3 | e10614f4b6a2183709dd197fea6f9298be2678c1 | /1819Fall/COMP2012H/PAs/PA2/Stock_skeleton_full_declarations/Snapshot.h | 94fe0b402589e8b34d80347b2060c0fedf723b1d | [] | no_license | cokenhe/hkust-comp-material | 63a267fff783e6ff53eeaeeeb8ad44599dd23c72 | 43af76fcdf9c47996a9ddd0e7b76b9d99ef8df3c | refs/heads/main | 2023-05-06T18:40:29.057754 | 2021-05-20T10:45:55 | 2021-05-20T10:45:55 | 334,102,018 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,999 | h | // do NOT submit this file
// do NOT modify this file
#ifndef SRC_SNAPSHOT_H_
#define SRC_SNAPSHOT_H_
#include <iostream>
using std::cout;
using std::endl;
#include "Stock.h"
#include "StockNode.h"
// Snapshot has a linked list of stocks, a pointer to an integer that represents the current time,
// an... | [
"cokenhe@gmail.com"
] | cokenhe@gmail.com |
a4abcd63f4548d29f51fd56dec64be66e86ff0f4 | 20aab3ff4cdf44f9976686a2f161b3a76038e782 | /c/shooting/12/engine.h | 616cc45d85db40ae6d7f79a063f352ea188111c1 | [
"MIT"
] | permissive | amenoyoya/old-project | 6eee1e3e27ea402c267fc505b80f31fa89a2116e | 640ec696af5d18267d86629098f41451857f8103 | refs/heads/master | 2020-06-12T20:06:25.828454 | 2019-07-12T04:09:30 | 2019-07-12T04:09:30 | 194,408,956 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 855 | h | #pragma once
/* 基本ゲームオブジェクト */
struct GameObject{
string loaderrstr;
virtual void init(){}
virtual bool load(){return true;}
virtual bool draw(){return true;}
GameObject(): loaderrstr("ロードに失敗しました") {}
};
/* ゲームアプリケーションクラス */
class GameApp: public DxLibApp{
vector<GameObject*> m_gObjArray;
... | [
"mtyswe3@gmail.com"
] | mtyswe3@gmail.com |
e15ce71e875492b4f953c03131b433fbae8d3b69 | 3e11dc7aee5b08d296762de34aa56ad628de968f | /sample/SampleBroadcaster-Swift/Pods/Headers/Private/glm/glm/detail/intrinsic_geometric.hpp | a824b1b0dd84a8ae1332c37b2257e8a3d89b9a3a | [
"LGPL-2.1-only",
"MIT"
] | permissive | ParsifalC/VideoCore | 9f6fb03729992022e19b34f22568e1c24819ad01 | 1ecb3b261e0ad6139e27299d5be459bf91a1a17f | refs/heads/master | 2023-05-28T18:53:27.178985 | 2016-04-27T09:37:23 | 2016-04-27T09:37:23 | 57,192,837 | 0 | 0 | MIT | 2023-05-11T02:48:06 | 2016-04-27T07:24:46 | C++ | UTF-8 | C++ | false | false | 53 | hpp | ../../../../../glm/glm/detail/intrinsic_geometric.hpp | [
"max.campolo@kiswe.com"
] | max.campolo@kiswe.com |
622012a68ac8c9ea85960b4af46f4f78d73bfbd6 | 06a674bf57fcfed1e915aa50ae791e2907ad22c1 | /Week1/BallGreen.hpp | 85b2286d22e5701f9937838f62aaf5cf85afdbbf | [] | no_license | emres13/emresardogancode2 | c0553b69446f3e0766c3a1a9ddadda9a6c1ccfb1 | 59d2c80d614cfbfedc073f6c9681dcd7392faa2f | refs/heads/master | 2021-01-17T13:12:15.528323 | 2016-05-09T17:35:09 | 2016-05-09T17:35:09 | 53,873,393 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 508 | hpp | #pragma once // another and more modern way to prevent the compiler from including thiis file more than once
#include "ofMain.h"
#include "Ball.hpp" // we need to include the 'mother' class, the compiler will include the mother/base class so we have access to all the methods inherited
class BallGreen : public Ba... | [
"emre.sardogan@gmail.com"
] | emre.sardogan@gmail.com |
9bc7d8a1f3d3b37f32e67ca218a610bbec4eac8e | b55a216d79994395c10392adbd36f362669fdbcb | /cpp/1131.cpp | 5253cd7af7196248a40f656a5a843d9afda67c28 | [] | no_license | ronaksingh27/cses-solutions | 6186f9cb94727674c98915435eb58d8f1b987219 | 1b859e0adfb127021f3dae632e1b8c98984c83c3 | refs/heads/master | 2023-08-24T22:41:14.721383 | 2021-09-23T14:04:53 | 2021-09-23T14:04:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 537 | cpp | #include <bits/stdc++.h>
using namespace std;
const int N = 2e5 + 5;
int n, d[N], x;
vector<int> adj[N];
void dfs(int u, int p) {
if (d[u] > d[x]) x = u;
for (int v: adj[u]) {
if (v != p) {
d[v] = d[u] + 1;
dfs(v, u);
}
}
}
int main() {
ios::sync_with_stdio(false); cin.tie(0); cout.tie(0)... | [
"baohiep2013@gmail.com"
] | baohiep2013@gmail.com |
149ca78bcaa622688cedab1aa179d960aff11e0a | f0a26ec6b779e86a62deaf3f405b7a83868bc743 | /Engine/Source/Developer/SessionFrontend/Private/Widgets/Console/SSessionConsoleToolbar.h | b575c891c8c7b787dd6fe568b9b99619b8809dc7 | [] | no_license | Tigrouzen/UnrealEngine-4 | 0f15a56176439aef787b29d7c80e13bfe5c89237 | f81fe535e53ac69602bb62c5857bcdd6e9a245ed | refs/heads/master | 2021-01-15T13:29:57.883294 | 2014-03-20T15:12:46 | 2014-03-20T15:12:46 | 18,375,899 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,427 | h | // Copyright 1998-2014 Epic Games, Inc. All Rights Reserved.
/*=============================================================================
SSessionConsoleToolbar.h: Declares the SSessionConsoleToolbar class.
=============================================================================*/
#pragma once
#define LOCT... | [
"michaellam430@gmail.com"
] | michaellam430@gmail.com |
68eb679e599b43d9283a4c2db61c19d77ec071fc | 43a258c00bc46b57081eaa829d20bf75bfe9487d | /utility/files.h | 576f4aa9ef558b2354694c972c0a5d2fc7a467f2 | [] | no_license | HealthVivo/mumdex | 96dbfb7110ae253abcfdcfd49d85fbea6ee9f430 | 25e1f2f2da385bafbdfae61dc61afedb044041b8 | refs/heads/master | 2023-09-03T12:56:44.843200 | 2021-11-23T18:26:31 | 2021-11-23T18:26:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 47,595 | h | //
// files.h
//
// classes and functions for dealing with files
//
// Copyright Peter Andrews 2015 @ CSHL
//
#ifndef LONGMEM_FILES_H_
#define LONGMEM_FILES_H_
#include <stdio.h>
#include <sys/mman.h>
#include <sys/stat.h>
#include <unistd.h>
#include <fcntl.h>
#include <string> // Placed before cstring, no error, ... | [
"paa@drpa.us"
] | paa@drpa.us |
2f57f5d790d45cc4dff901f7acdf379ff2c8f5fe | 9cd8b42d4ea67deb6ec075a3da25d09e2a421544 | /LuaKitProject/src/Projects/base/message_loop/message_loop_unittest.cc | 64cf7c83122f244af64b60a0261964e952f2b2ea | [
"MIT"
] | permissive | andrewvmail/Luakit | de0c6f0d2655e09e63b998df2ca07202b5fbd134 | eadbcf0e88fcf922d9b9592bffca9a582b7a236d | refs/heads/master | 2023-01-12T23:31:33.773549 | 2022-12-29T02:58:55 | 2022-12-29T02:58:55 | 231,685,876 | 0 | 1 | MIT | 2020-01-04T00:17:27 | 2020-01-04T00:17:27 | null | UTF-8 | C++ | false | false | 34,189 | cc | // 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.
#include <vector>
#include "base/bind.h"
#include "base/bind_helpers.h"
#include "base/compiler_specific.h"
#include "base/logging.h"
#include "base/memo... | [
"williamwen@tencent.com"
] | williamwen@tencent.com |
49c667dd5e97e4ba0316cb94228bf7a33312961a | 3d9ee1df20202d2d0ab4b05eeb8df602b3828ecc | /week-03/day-4/05sharpie-set/sharpieset.h | 48cb89b775f40f7529744c91c0e0d7d74cd420d5 | [] | no_license | green-fox-academy/JKatalin | fbd8e219bd45f87508aea1424b1a6d80bc87c217 | 57cfc20fe045105d35ad7075ee930ef764f654c2 | refs/heads/master | 2020-05-04T11:08:08.012751 | 2019-06-04T14:06:53 | 2019-06-04T14:06:53 | 179,101,479 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 393 | h | //
// Created by Kata on 2019. 04. 22..
//
#ifndef INC_05SHARPIE_SET_SHARPIESET_H
#define INC_05SHARPIE_SET_SHARPIESET_H
#include "Sharpie.h"
#include <vector>
class Sharpieset {
public:
void countUsable();
void removeTrash();
void addSharpie(Sharpie *sharpie);
void printSet();
private:
std::v... | [
"Kata@1743f.w.time4vps.cloud"
] | Kata@1743f.w.time4vps.cloud |
b308da1977eccc87df1c06787e1ace3e5e1cd0e5 | 684dfb78349d404594b41958c6ff05b8b6cf1c2f | /E101/E101/libtest/test.cpp | 2e362121c66559777a3cd5664928bdfbf6a9fa4c | [] | no_license | malataarno/E101AVC | 72546ac27638c88b9379b022990a9414c55f0515 | adf51980ed9ae1bfd852fede1efd28a20e6cf04f | refs/heads/master | 2020-06-05T03:26:10.791652 | 2019-06-05T02:15:55 | 2019-06-05T02:15:55 | 192,297,510 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 781 | cpp | #include "E101.h"
#include <iostream>
#include <stdio.h>
int main()
{
int err;
printf(" Hello\
n");
err = init();
int img_height = 240;
int img_width = 320;
int totalred = 0;
int bright = 0;
int count = 0;
int framerate = 10;
int ain= 0;
select_IO(0, 0);
open_screen_stream();
whil... | [
"bsanson90@gmail.com"
] | bsanson90@gmail.com |
ba7cac21ec092ce7a2323f646994d629a8a1a4e5 | f41b68cc39a634c32766972ff2abbe036fe068ee | /Player.h | f2bb1e74061922cf2b66e1806bf58f15dc399651 | [] | no_license | fobnn/Banzai | 83060f81e4ea132e9ebc0b8b0ad6b18354f77ef6 | 5afca748327f15bf977e054ac9c65fb84dce985c | refs/heads/master | 2021-01-18T20:57:18.654860 | 2012-01-21T17:48:33 | 2012-01-21T17:48:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 904 | h | #pragma once
#include "Enums.h"
#include <string>
using namespace std;
class Board;
class Piece;
//! Base class representing the user playing the game.
class Player
{
public:
Player(Color color);
virtual ~Player();
virtual void update(float dt);
virtual void draw();
virtual void handleCastling(Piece* king);
v... | [
"axel.blackert@gmail.com"
] | axel.blackert@gmail.com |
15f748f700143a7d721202eb46c21ac943602d38 | af8f0279f0a89b91bbe17fe6f13c4f5c72a45a13 | /UVa/uva12195.cpp | 2cdae9e002509e9ecbdcfae37d8117ecca77562e | [] | no_license | duguyue100/acm-training | 3669a5e80093c9fa4040dfa9ba433330acf9fe8d | c0911c6a12d578c0da7458a68db586926bc594c0 | refs/heads/master | 2022-09-18T17:40:24.837083 | 2022-08-20T13:20:08 | 2022-08-20T13:20:08 | 11,473,607 | 62 | 43 | null | 2020-09-30T19:28:19 | 2013-07-17T10:41:42 | C++ | UTF-8 | C++ | false | false | 759 | cpp | // UVa 12195 Jingle Composing
#include <bits/stdc++.h>
using namespace std;
int main()
{
// freopen("input.in", "r", stdin);
// freopen("output.out", "w", stdout);
string line;
map<char, double> t;
t['W'] = 1.0;
t['H'] = 1.0/2.0;
t['Q'] = 1.0/4.0;
t['E'] = 1.0/8.0;
t['S'] = 1.0/... | [
"duguyue100@gmail.com"
] | duguyue100@gmail.com |
aa476d94baa3ba9017bb8770ff6e22fef92ffa43 | ce697fb6d5dda486bfc1b67b45e404e3153fa3dc | /Moc Files/moc_Ortho_TerraSAR.cpp | 22d77771aa5d443494f1ed36c78588d5ab1b0608 | [] | no_license | GSoC-2012-Nascetti/SAR_PlugIn | fe36f151700ca746f09684166135832dc2fdaf22 | 44cc911b77ad6f008ae8bc925f111e6a4ee8995b | refs/heads/master | 2020-05-02T05:37:28.454298 | 2015-06-03T09:13:35 | 2015-06-03T09:13:35 | 5,331,132 | 5 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 2,548 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'Ortho_TerraSAR.h'
**
** Created: Thu 9. Aug 12:13:29 2012
** by: The Qt Meta Object Compiler version 62 (Qt 4.7.1)
**
** WARNING! All changes made in this file will be lost!
********************... | [
"andreanascetti@gmail.com"
] | andreanascetti@gmail.com |
099daf6485c17b328e3d286d3cea73dd59980ed6 | 2400eda71414b9a3c60bfb6f5deb7ff221e8b338 | /GameAssets/Strategies/Strategy.cpp | 3ce6065ae6a9845255c7f9b0390109c57576641d | [] | no_license | aalessi18/FirstGame | ce139f7ede578f3e88a8a1063e5755ba0b9aa839 | 09b9be12bb0a9ec8cf827cfc52e26ff425b77b69 | refs/heads/master | 2020-03-17T08:37:51.402727 | 2018-05-15T22:29:17 | 2018-05-15T22:29:17 | 133,445,060 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,998 | cpp | #include "Strategy.hpp"
Aggressive::Aggressive() {
this->strategyType = "Aggressive";
}
Aggressive::~Aggressive() {
}
string Aggressive::suggestionForStrategy() {
return "\n====================================================================\nAs an aggressive player, you want to use up all of your army ... | [
"alex@Alexs-MacBook-Pro.local"
] | alex@Alexs-MacBook-Pro.local |
ccb5763deee5a362fd84441cd450bf915e67ec35 | 844969bd953d7300f02172c867725e27b518c08e | /SDK/BP_fod_Islehopper_05_StoneRaw_00_a_ItemDesc_functions.cpp | 10e23225d25188b5e8bc70dd66483a42c7f50b7b | [] | no_license | zanzo420/SoT-Python-Offset-Finder | 70037c37991a2df53fa671e3c8ce12c45fbf75a5 | d881877da08b5c5beaaca140f0ab768223b75d4d | refs/heads/main | 2023-07-18T17:25:01.596284 | 2021-09-09T12:31:51 | 2021-09-09T12:31:51 | 380,604,174 | 0 | 0 | null | 2021-06-26T22:07:04 | 2021-06-26T22:07:03 | null | UTF-8 | C++ | false | false | 590 | cpp | // Name: SoT, Version: 2.2.1.1
#include "../pch.h"
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Functions
//----------------------------------------------------... | [
"51171051+DougTheDruid@users.noreply.github.com"
] | 51171051+DougTheDruid@users.noreply.github.com |
d2df6f452446dde720653d54240726429a6ab0b9 | 4db76ed5a580d478c36c579d83a3c8207b994467 | /src/localization/base.cpp | 754c1297531c1482219bd2b3f3470e748672a28a | [
"BSD-3-Clause"
] | permissive | sebdi/stereo_slam | 3eedc0183eaa20e270c7eac9b00617e9368fa27f | aed354cc9676654e5bba1c166eadf462a9dcc460 | refs/heads/indigo | 2021-01-18T07:49:29.502576 | 2015-01-23T13:59:24 | 2015-01-23T13:59:24 | 30,897,864 | 0 | 1 | null | 2015-02-17T01:41:31 | 2015-02-17T01:41:31 | null | UTF-8 | C++ | false | false | 18,585 | cpp | #include "localization/base.h"
#include "opencv2/core/core.hpp"
#include <boost/filesystem.hpp>
#include <pcl/filters/passthrough.h>
using namespace boost;
namespace fs=filesystem;
/** \brief Class constructor. Reads node parameters and initialize some properties.
* @return
* \param nh public node handler
* \... | [
"plnegre@binibook.com"
] | plnegre@binibook.com |
d5d076077b2752e7edb19526c7ede41edadd2356 | 6361fca2cf08ff593e14ea4cab03fcdeee44f374 | /Source/WebKit/WebProcess/WebPage/wc/WCBackingStore.h | 34f5002f54a43430134508501d727ed7689ccb95 | [] | no_license | PseudoDistant/WebKit | dddcf6a39d9347c9e5e0c7a8d2eee8e528d5d60b | e3276e3e62538b30bbb361748773a526e33b4852 | refs/heads/main | 2023-09-05T19:31:01.767115 | 2021-11-22T18:14:59 | 2021-11-22T18:14:59 | 430,843,049 | 1 | 0 | null | 2021-11-22T19:43:03 | 2021-11-22T19:43:03 | null | UTF-8 | C++ | false | false | 2,805 | h | /*
* Copyright (C) 2021 Sony Interactive Entertainment Inc.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditio... | [
"Hironori.Fujii@sony.com"
] | Hironori.Fujii@sony.com |
8de6ba69d131e348ef47008228765a3b6abef04a | 65b193295d2a1b94ef58f9c19a8899290516b9e5 | /pyext/kvdict/lib/ullib/include/comlog/appender/appender.h | eba542bca51e674110c01f62305471f50abdcbb6 | [] | no_license | nickgu/misc | 15381eeb9c0bbf4cfce1907658fd38cfb3b49ad2 | 0db5fd99e5aff76f1cb505cc0f4f564add714bf1 | refs/heads/master | 2022-05-02T01:56:12.083984 | 2022-03-15T11:31:16 | 2022-03-15T11:31:16 | 30,815,927 | 3 | 2 | null | null | null | null | GB18030 | C++ | false | false | 4,111 | h | /***************************************************************************
*
* Copyright (c) 2008 Baidu.com, Inc. All Rights Reserved
* $Id: appender.h,v 1.2.22.3 2010/04/05 13:30:46 zhang_rui Exp $
*
**************************************************************************/
/**
* @file appender.h
*... | [
"gusimiu@baidu.com"
] | gusimiu@baidu.com |
c31052e55a0423b9419fb7ef7ae417dcc666366e | 79668e1cc702be4af06754429de3188f371eb264 | /policies/DIF/EFCP/DTCP/RcvrFC/RcvrFCPolicyDefault/RcvrFCPolicyDefault.cc | 0cdd772ae99e2f6c2bdbd8e6fed1f3e4b58b4706 | [
"MIT"
] | permissive | fatmahrizi/RINA | 3a94edb940f144931bca38dfb3cf74d0a1ad479a | 08192a51dda673a5e5af0c5caf1d45e2b4de6d6e | refs/heads/master | 2020-12-25T23:37:56.787722 | 2015-06-09T12:13:06 | 2015-06-09T12:13:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,409 | cc | //
// Copyright © 2014 - 2015 PRISTINE Consortium (http://ict-pristine.eu)
//
// This program 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 your option) an... | [
"imarek@fit.vutbr.cz"
] | imarek@fit.vutbr.cz |
a2702a70ee8316c07b02ece4428189238151f52f | ae4fb37916933d5ecce3655e8730759a59426849 | /Zee/Zee/Source/Gizmo.cpp | 2edbd4560ebe53cf53135470817f9598380bbd7a | [] | no_license | 15831944/Zee | 1c29fc6c5696f0e4dc486ef5b7f24922b9194f35 | 794890424b060e7fa3e88c87a0e7b4fc8c39c872 | refs/heads/master | 2023-03-20T21:00:42.104338 | 2014-03-29T08:48:54 | 2014-03-29T08:48:54 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 24,600 | cpp | #include "Gizmo.h"
#include "D3DUtility.h"
#include "Engine.h"
#include "Camera.h"
#include "Primitive.h"
#include "MeshNode.h"
#include "Input.h"
void Gizmo::OnLostDevice()
{
_Assert(mCone && mCone->GetMesh() && mCone->GetMesh()->GetGeometry());
_Assert(mLine && mLine->GetMesh() && mLine->GetMesh()->GetGeometry())... | [
"sinyocto@gmail.com"
] | sinyocto@gmail.com |
c9a2b2363cf59458c16ce8053681bf58cab7d48b | f842c3ccd3ec89625569e02a13afbe75b885458c | /main.cpp | bb8d57328ac30e1f955d96b106f0e71b0622a0df | [] | no_license | thylangale/BeatTheElements | 11b84dc785a7b11a05da4d9e62ff8ddaa03614b0 | 7d0f44af2e858f992fb18c26d4841343cc717cbf | refs/heads/main | 2023-05-01T07:59:06.060205 | 2021-05-13T02:37:54 | 2021-05-13T02:37:54 | 366,912,835 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,823 | cpp | #define GL_SILENCE_DEPRECATION
#ifdef _WINDOWS
#include <GL/glew.h>
#endif
#define GL_GLEXT_PROTOTYPES 1
#include <SDL.h>
#include <SDL_mixer.h>
#include <SDL_opengl.h>
#include "glm/mat4x4.hpp"
#include "glm/gtc/matrix_transform.hpp"
#include "ShaderProgram.h"
#include "Entity.h"
#include "Map.h"
#include "Util.h"... | [
"tlg326@nyu.edu"
] | tlg326@nyu.edu |
419710baba92632aa8a058c42bbb4a603b30c71c | 7d1bbcfc89bcc60614a2a2338e74d8b0fa48669f | /leetcode/array/18_4sum.cpp | 6c02ac644dcb87a94e3ce4c864f88fcd93761cdc | [] | no_license | Nana0606/basic-algorithms | 3dcfb6554fe28fb8ea007c76e2e0b1aac9012035 | f78317a934d945c1f468c28a7fc65d1560fc880f | refs/heads/master | 2020-03-23T20:09:21.548501 | 2019-05-27T01:47:29 | 2019-05-27T01:47:29 | 142,024,882 | 1 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 1,119 | cpp | # include <iostream>
# include <vector>
# include <set>
# include <algorithm>
using namespace std;
//±©Á¦
vector<vector<int>> fourSum(vector<int>& nums, int target) {
set<vector<int> > res;
vector<vector<int> > result;
for (int i = 0; i < int(nums.size()) - 3; i++){
for (int j = i + 1; j < int(nums.s... | [
"“paopaotanglee@126.com”"
] | “paopaotanglee@126.com” |
1017ffa6119dc6231770240e446a3cf98aad33e9 | eafc5ac599f2e96c3ca61612abb109eba2abe655 | /customSolvers/edcSimpleFoam/run/flameD_PaSR/2/O2 | 3570c5360431d9d501c2e89e8288a816444bc46c | [] | no_license | kohyun/OpenFOAM_MSc_Thesis_Project | b651eb129611d41dbb4d3b08a2dec0d4db7663b3 | 11f6b69c23082b3b47b04963c5fc87b8ab4dd08d | refs/heads/master | 2023-03-17T22:34:57.127580 | 2019-01-12T07:41:07 | 2019-01-12T07:41:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 41,160 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.6.x |
... | [
"ali@ali-Inspiron-1525.(none)"
] | ali@ali-Inspiron-1525.(none) | |
d27cc08298f77b80f03100beb2bcfca95552c86e | 3ac78caf28163a075b51f3216f83a998e515f894 | /toys/misc/cpp2/moo/copycon.cpp | c26472490c28e4c7b3976e89f940b37d301699c5 | [] | no_license | walrus7521/code | 566fe5b6f96e91577cf2147d5a8c6f3996dab08c | 29e07e4cfc904e9f1a4455ced202506e3807f74c | refs/heads/master | 2022-12-14T03:40:11.237082 | 2020-09-30T15:34:02 | 2020-09-30T15:34:02 | 46,368,605 | 2 | 1 | null | 2022-12-09T11:45:41 | 2015-11-17T19:00:35 | C | UTF-8 | C++ | false | false | 5,489 | cpp | #include <iostream>
#include <string>
#include <utility>
using namespace std;
class numbered {
public:
static int random;
numbered() {
cout << "numbered: ctor" << endl;
serial = random++;
}
numbered(const numbered& rhs) {
cout << "numbered: copy ctor" << endl;
serial = ... | [
"BartB@Corp.helitrak.com"
] | BartB@Corp.helitrak.com |
15c4b3189792df72824eb75840fc8a4f75672a2c | 3b97b786b99c3e4e72bf8fe211bb710ecb674f2b | /TClient/TEngine/Game Studio/AddTextureDlg.h | e674ba65f4db4390c8aab92cd602e58c32feab25 | [] | no_license | moooncloud/4s | 930384e065d5172cd690c3d858fdaaa6c7fdcb34 | a36a5785cc20da19cd460afa92a3f96e18ecd026 | refs/heads/master | 2023-03-17T10:47:28.154021 | 2017-04-20T21:42:01 | 2017-04-20T21:42:01 | null | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 999 | h | #pragma once
#include "afxwin.h"
#define DEF_LOADTYPE_FILE 0
#define DEF_LOADTYPE_FOLDER 1
#define DEF_LOADTYPE_SPRITE 2
// CAddTextureDlg 대화 상자입니다.
class CAddTextureDlg : public CDialog
{
DECLARE_DYNAMIC(CAddTextureDlg)
public:
CAddTextureDlg(CWnd* pParent = NULL); // 표준 생성자입니다.
virtual ~CAddTextureDlg... | [
"great.mafia2010@gmail.com"
] | great.mafia2010@gmail.com |
19b29bc78e20535088df995666c7fa43c38f6431 | 5579f660876acca08d681a039fcfac4bb625f5d7 | /infovis/drawing/inter/Interactor3States.cpp | 15b6bf94d5256cc731783fb257a09abe447384f3 | [
"MIT"
] | permissive | jdfekete/millionvis | e278d267cb6a2bf2d29f616ea5378d528c4e4d2c | 01dab6a40ebdb3eef751b638171805665f4ee68f | refs/heads/master | 2020-05-30T07:11:59.739040 | 2016-09-24T15:30:07 | 2016-09-24T15:30:07 | 69,087,119 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,782 | cpp | /* -*- C++ -*-
*
* Copyright (C) 2016 Jean-Daniel Fekete
*
* This file is part of MillionVis.
*
* 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 withou... | [
"Jean-Daniel.Fekete@inria.fr"
] | Jean-Daniel.Fekete@inria.fr |
dbe304ed490b87be6b5f026603627d1f8a8bb441 | c270fe23c8e4aeca0d5ac4c64b84b32eb2c1d752 | /sterling.cpp | 0a40b0067201c4b3c05238ee49a4c7cfda2fc0ee | [
"MIT"
] | permissive | CobaltXII/sterling | 25b326033ae33fc6390423d29fb428adc260f982 | abef14ec8019aca55e359f78da5711c70be77d35 | refs/heads/master | 2020-04-30T12:23:27.285931 | 2019-03-24T19:22:36 | 2019-03-24T19:22:36 | 176,825,389 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,257 | cpp | /*
Sterling - a naive pathtracer
*/
#include <map>
#include <cmath>
#include <random>
#include <string>
#include <climits>
#include <iostream>
#include <glm/glm.hpp>
#include <glm/vec2.hpp>
#include <glm/vec3.hpp>
#include <glm/vec4.hpp>
#include "hpp/loader.hpp"
#include "hpp/utility.hpp"
#include "hpp/material.... | [
"sidatt64@gmail.com"
] | sidatt64@gmail.com |
fdb33a150e134c661d263984ffd9c7a849613237 | d81b46a966b5a59d78082e071996baa965fe2b48 | /cpp/smart_pointers/sample_ptrs.cpp | 73199f0bf28b2effcd12e52d4de5e745353fbbd7 | [] | no_license | deepakreddy63/Code | c914b2b0c95234dbdeb4ffb257c73fbdefbe034d | 6b859a07dd7f32f82e008a811b03f57e6d1e9714 | refs/heads/master | 2020-09-27T21:19:16.752456 | 2020-05-27T00:39:02 | 2020-05-27T00:39:02 | 226,612,032 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,459 | cpp | //testing the basic concepts of smart pointers namely
//unique_ptr, shared_ptr and weak_ptr in seperate sections
#include<iostream>
#include<memory>
class Sample {
int x;
int y;
public:
Sample()=default;
Sample(int p,int q):x(p),y(q) { }
void printxy() const {
std::cout << x << "," << y << "\n";
}
... | [
"deepakreddy63@gmail.com"
] | deepakreddy63@gmail.com |
c45ced92c3a92b1e8715417dee9c037db1bff26e | b61c61a15c1db4401ffa6ab3107188a5b8eb6dae | /GH Injector Library/Symbol Parser.cpp | 6f7c416c70fbe683179e024800ff47dca6f19bcf | [] | no_license | Lilith2/GH-Injector-Library | 6a1726677adb5da5dfede05476b26ab36ab28e9f | edfaf22ddd8f7f24a0147823f163f0af1fc7b841 | refs/heads/master | 2023-05-09T01:21:19.452419 | 2021-05-24T08:22:12 | 2021-05-24T08:22:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,222 | cpp | #include "pch.h"
#include "Symbol Parser.h"
SYMBOL_PARSER::SYMBOL_PARSER()
{
m_Initialized = false;
m_Ready = false;
m_SymbolTable = 0;
m_hPdbFile = nullptr;
m_hProcess = nullptr;
m_bInterruptEvent = false;
m_hInterruptEvent = CreateEvent(nullptr, TRUE, FALSE, nullptr);
m_fProgress = 0.0f;
m_bStartDow... | [
"konradherrmann@t-online.de"
] | konradherrmann@t-online.de |
7dc9af251a6dc4ae88e8d082cce58ba3710570fa | 30cd97813401ec554734121f47216b87dff0dbc6 | /lab3/JAApp/JAApp.cpp | 39c672923d83a1c86469f58897ae8f6829d3d336 | [] | no_license | rzepkamichal/assembly | 2c4f213870f81989270c90074d87a110fcf0d591 | 9f780b2e81d954ecac98b1a81277f0b9915c607b | refs/heads/master | 2020-04-28T22:33:24.615205 | 2019-03-29T14:28:58 | 2019-03-29T14:28:58 | 175,621,810 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,305 | cpp | // JAApp.cpp : This file contains the 'main' function. Program execution begins and ends there.
//
#include "pch.h"
#include "JAApp.h"
using namespace std;
int main()
{ // definicja ciagu znakow
char szString[] = { 'A','G','I','K','S','Z','J', 0xFF };
//printf("FindChar_1 %s\n", (FindChar_1() == 1 ? "Found J" :... | [
"michrzep@interia.pl"
] | michrzep@interia.pl |
3fb5fe5c180cb154ef0c683bb8f18c7df242c75c | e60ca08722245d732f86701cf28b581ac5eeb737 | /xbmc/storage/linux/HALProvider.h | 4f27aae27e3ff9a440be1fead167e722eca60124 | [] | no_license | paulopina21/plxJukebox-11 | 6d915e60b3890ce01bc8a9e560342c982f32fbc7 | 193996ac99b99badab3a1d422806942afca2ad01 | refs/heads/master | 2020-04-09T13:31:35.220058 | 2013-02-06T17:31:23 | 2013-02-06T17:31:23 | 8,056,228 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 567 | h | #pragma once
#include "storage/IStorageProvider.h"
#ifdef HAS_HAL
class CHALProvider : public IStorageProvider
{
public:
CHALProvider();
virtual ~CHALProvider() { }
virtual void Initialize();
virtual void Stop();
virtual void GetLocalDrives(VECSOURCES &localDrives);
virtual void GetRemovableDrives(VECSO... | [
"pontesmail@gmail.com"
] | pontesmail@gmail.com |
0f678393c02595e1fbb4e02d00279cf336b45421 | 11c8396c967b201d4cdbce07e3603207ca279ee7 | /Messaging/SerializeManager.cpp | f3fb844f0fbe0062ee3f85c7c3b78c512ffc6dd7 | [
"MIT"
] | permissive | Vaufreyd/Omiscid | d5c5ba284d4e46bed013db6d4b003ff00d43580d | 4963abf07554c775d163f6878bda719ff7dc4f95 | refs/heads/master | 2021-01-17T14:22:48.710812 | 2017-02-16T10:26:35 | 2017-02-16T10:26:35 | 47,427,293 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 80 | cpp | #include <Messaging/SerializeManager.h>
// Nothing
using namespace Omiscid;
| [
"Dominique.Vaufreydaz@inria.fr"
] | Dominique.Vaufreydaz@inria.fr |
1a2f6a1f4b27ec54e9229a5e92ac1c5f68187348 | 493c887bb4961ddc600cb6e2aa9debe85890af8b | /Archivator/test/FolderSnapshotTest/Tests/TestExtensionFilter4/InitialDir/ComplexDataStructures/Graphs/EdgeWeighted/EdgeWeightedGraphs/LazyPrimMST.h | d8d23cb679aec2cab18e33cc0789e644cbf85873 | [] | no_license | dendibakh/Misc | 2d5549bcd180502da11b7b2233863c8adddd3719 | ca2c09f9c4726368680b4cf2e4c8944e60da23a4 | refs/heads/master | 2016-09-05T23:02:40.433839 | 2015-12-30T14:22:00 | 2015-12-30T14:22:00 | 37,809,642 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 452 | h | #pragma once
#include "EWGraph.h"
#include <list>
#include <queue>
#include <functional>
class LazyPrimMST
{
void visitVertex(int v);
public:
typedef std::list<Edge> MSTEdgesContainer;
LazyPrimMST(const EWGraph& graph);
MSTEdgesContainer edges();
double getWeight();
private:
MSTEdgesContainer MSTEdges;
double w... | [
"dendibakh@gmail.com"
] | dendibakh@gmail.com |
e0558ce8b04eebb59a0c132ddcc9715d1e5a24f5 | dcf3b364645a1c6ce9c0ac17bfa3f1a4c7b9b7ae | /client/frameworks/runtime-src/Classes/ecs/utils/physics/GShape.h | a43fb9039a2b219e9046f463f5d6677dd16c1dec | [] | no_license | cu8Fsuz/Kurumi | 73235466850f66461b82ca362d00a087fdaf9baf | aaa3e4fca3205686bbb5b02662dffac6d6f0d1c8 | refs/heads/master | 2023-07-24T14:01:47.828798 | 2021-09-01T03:41:04 | 2021-09-01T03:41:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,253 | h | #pragma once
#include "foundation/math/GMath.h"
#include "cocos2d.h"
USING_NS_CC;
#define MaxPolyVertexCount 64
/// GShape
class GShape
{
public:
enum Type
{
eCircle,
ePoly,
eCount
};
GShape() {}
virtual void setRotation(real radians) = 0;
virtual Type getType(void) const = 0;
virtual void debugDr... | [
"www.tkzc@foxmail.com"
] | www.tkzc@foxmail.com |
9207b61ad871b69ed30b08f5480f67f49acbdbf5 | a3cfa15bb37482f9a68d79ace530d94790b66883 | /project/Common/Utility/CommonSocket.h | 9aa7cb9121c30a92e288897e8e0fb2401035ba08 | [] | no_license | shenyanjun/GameProject | 3043c9137f8a3bc568ca4fc595b18168e1a0412e | a891c9a8ad231573ddbdbf8f646ada7a8fc883c5 | refs/heads/master | 2021-01-18T18:22:58.484682 | 2014-07-16T11:39:35 | 2014-07-16T11:39:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,254 | h | #ifndef __COMMON_SOCKET__
#define __COMMON_SOCKET__
#define SOCKET_ERROR (-1)
namespace CommonSocket
{
//设置套接字为可重用状态
bool SetSocketReuseable(SOCKET hSocket);
//设置套接字为非阻塞状态
bool SetSocketUnblock(SOCKET hSocket);
//设置套接字为阻塞状态
bool SetSocketBlock(SOCKET hSocket);
bool SetSocketNoDelay(SOCKET hSoc... | [
"ylmbtm@163.com"
] | ylmbtm@163.com |
0af70e7a9b2342887fa7b15f687cf75b563ba4ba | e9a3755b1cc7574ed9029782e994a6c9ab305716 | /OpenGLtest/OpenGLtestDoc.h | e7b264d2cbad89df9148a090f4fa8783bfc4f97d | [] | no_license | soominnn/OpenGL_HomeWork | dfb451671248e00b8757317e25e2ef495a722675 | 9afe4888854fed197d1f58b4932a0ccdf31988db | refs/heads/master | 2023-09-05T07:31:44.752378 | 2021-11-03T01:28:30 | 2021-11-03T01:28:30 | 424,052,581 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 977 | h |
// OpenGLtestDoc.h: COpenGLtestDoc 클래스의 인터페이스
//
#pragma once
class COpenGLtestDoc : public CDocument
{
protected: // serialization에서만 만들어집니다.
COpenGLtestDoc() noexcept;
DECLARE_DYNCREATE(COpenGLtestDoc)
// 특성입니다.
public:
// 작업입니다.
public:
// 재정의입니다.
public:
virtual BOOL OnNewDocument();
virtual void Seria... | [
"mare804@naver.com"
] | mare804@naver.com |
62e2ae10fdbefb5725232ced6ec7ed6074c565da | 66ed370c2dd95b8f80ed0e6bc5fdd99dfaa3526c | /reactor/EventLoop.cc | 8029d9907a4955c6d31500a4362e8fe3692c161b | [] | no_license | GeneralStudy/studymuduo | 2177f7c210c7e905758de9d4fc5488142ed43143 | 0b660b4c6ae211059bb0565a37835a0d33b56c8c | refs/heads/master | 2020-03-09T21:44:21.729977 | 2018-05-06T07:39:52 | 2018-05-06T07:39:52 | 129,017,074 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,278 | cc | #include "EventLoop.h"
#include "Channel.h"
#include "Poller.h"
#include "TimerQueue.h"
#include "../logging/Logging.h"
#include <assert.h>
//#include <poll.h>
using namespace muduo;
__thread EventLoop* t_loopInThisThread = 0;
const int kPollTimeMs = 10000;
EventLoop::EventLoop():
m_looping(false),
m_qu... | [
"ykdacd123@gmail.com"
] | ykdacd123@gmail.com |
df4a8f4528029dfb9c5867122d2fbb1be4f5c530 | 3f24da37878937bf884a971cde9209e7c0dc9211 | /media/gpu/android/mock_texture_owner.h | adcff47a4b008239db8ba09a54a8fb8ca343548f | [
"BSD-3-Clause"
] | permissive | shenglihou/chromium | 5c4bab1a64163f4116dd9e1e590387d853dc982a | fb3cb75ead46b9979ac934f69ef05cad06fd11b1 | refs/heads/master | 2023-02-23T09:02:12.725032 | 2019-03-04T13:55:50 | 2019-03-04T13:55:50 | 173,755,773 | 1 | 0 | NOASSERTION | 2019-03-04T14:02:56 | 2019-03-04T14:02:54 | null | UTF-8 | C++ | false | false | 2,258 | h | // Copyright 2017 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 MEDIA_GPU_ANDROID_MOCK_TEXTURE_OWNER_H_
#define MEDIA_GPU_ANDROID_MOCK_TEXTURE_OWNER_H_
#include <memory>
#include "base/android/scoped_hardware... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
6e5de1e23fb27d1e79519c4006707238ad80c855 | 81ef03d4f681da835ec19415820df12eb2beb59b | /BaseLib/UBMysql.h | 5b05e1957778d46f1e5d75b0e577aa2708897fc6 | [] | no_license | FlappyMan/HttpWebSocket | 906a365584307fc8216b4824542018d75630da4c | e844139119c036464784438825150a41ca169e8e | refs/heads/master | 2023-07-28T11:45:39.934945 | 2021-09-15T11:01:14 | 2021-09-15T11:01:14 | 278,041,522 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,467 | h |
#ifndef _UBMYSQL_HEADER_
#define _UBMYSQL_HEADER_
#include "UBHeader.h"
class UBMysql
{
public:
UBMysql();
UBMysql(uint32_t uiSqlSize);
UBMysql(char *pSqlBuff,uint32_t uiSqlSize);
virtual ~UBMysql();
int Error(){return m_iError;};
void Error(string &str){str=m_sError;};
void init(uint32_t uiSqlSize);
voi... | [
"lannister@ukex.com"
] | lannister@ukex.com |
c4ae6158d3e3006ef5126aa630ef4cfca51cf80e | 36183993b144b873d4d53e7b0f0dfebedcb77730 | /GameDevelopment/Game Programming Gems 4/01 General Programming/12 My/Core/Logger.cpp | f451f885bcbd35e9e0a970b191c854bab6e644d6 | [] | no_license | alecnunn/bookresources | b95bf62dda3eb9b0ba0fb4e56025c5c7b6d605c0 | 4562f6430af5afffde790c42d0f3a33176d8003b | refs/heads/master | 2020-04-12T22:28:54.275703 | 2018-12-22T09:00:31 | 2018-12-22T09:00:31 | 162,790,540 | 20 | 14 | null | null | null | null | UTF-8 | C++ | false | false | 18,572 | cpp | //--------------------------------------------------------------------------------------------------------------------//
// LOGGER CLASS & MACROS //
// written by Frederic My ... | [
"alec.nunn@gmail.com"
] | alec.nunn@gmail.com |
8f6c4d1e66541ae519ffe009304c78a27aed38fa | 600653c62fdea3fac310c73d98f4df66a3ceb037 | /Engine/Application/Windows/cbApplication.win.cpp | 494baf819587592a4deca874c9c4072c7c75e66c | [] | no_license | conankzhang/ecs-game-engine | 34ee08ec674c56613ff851fc628ec3e41fcc5565 | f85b6bd71a8b2d4f5528621555a37d79829a6d93 | refs/heads/master | 2020-04-07T21:43:46.839740 | 2018-12-13T01:24:54 | 2018-12-13T01:24:54 | 158,738,699 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 23,996 | cpp | // Includes
//=========
#include "../cbApplication.h"
#include <cstdlib>
#include <Engine/Asserts/Asserts.h>
#include <Engine/Graphics/Graphics.h>
#include <Engine/Logging/Logging.h>
#include <Engine/UserOutput/UserOutput.h>
#include <Engine/UserSettings/UserSettings.h>
#include <Engine/Windows/Functions.h>
// Helpe... | [
"u0409453@utah.edu"
] | u0409453@utah.edu |
b8af7eceab85a9106b4c45d0fc52fbadd166c978 | 22626756c6b67f1cb79da13e783732eabc2881d1 | /Source/UI/Grid/ChannelWindow.cpp | 66cf5361ef9e44639485aa9c3b6faad3c272e8b7 | [] | no_license | elzr2d2/JamCloud_project | 8acab1d4cc367d6be40393b59c0d1f28812e794c | b9e82b1a936b2e44e794c13c81494cf6034ff27c | refs/heads/master | 2020-06-17T04:50:39.924819 | 2019-09-17T17:39:28 | 2019-09-17T17:39:28 | 195,801,602 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,051 | cpp | #include "ChannelWindow.h"
ChannelWindow::ChannelWindow(AudioEngine& inEngine) : engine(inEngine)
{
startTimerHz(60);
engine.getEdit()->state.addListener(this);
}
ChannelWindow::~ChannelWindow()
{
engine.getEdit()->state.removeListener(this);
}
void ChannelWindow::update()
{
rebuildTrackList();
}... | [
"yardenchemo@gmail.com"
] | yardenchemo@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.