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 986
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 23
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 145
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 122
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2d1a39a8b21a02de33b7d3e47cd1b88d1527384c | a003802a42e6fb089e8f10486bc45d1037c9711e | /NouveauSensors/nouveau_i2c._base.cpp | 625c845beb2515a57662926866d81a51ce62a0d6 | [] | no_license | anostra/HWSensors | 7c94ab3bf836f05c7b435ddf99b09ec49f8f6c37 | e6b2fecd1f1491f746914eee090d272037423a34 | refs/heads/master | 2021-01-18T06:28:10.255449 | 2012-12-11T20:33:30 | 2012-12-11T20:33:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,105 | cpp | //
// nouveau_i2c.cpp
// HWSensors
//
// Created by Kozlek on 11.08.12.
//
//
/*
* Copyright 2012 Red Hat Inc.
*
* 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, ... | [
"natan.zalkin@me.com"
] | natan.zalkin@me.com |
da32423541f371a3b2d150a202d7488ad0828d79 | 41a885c80090739ebdd90e8944e4f0552562bbbf | /coordinator/coordinator.cc | 6a584a5ef305e6f1853240daa1c3eb0983200df4 | [
"BSD-3-Clause"
] | permissive | Kangmo/HyperDex | 0dbb67f8153cd1c71da21b213e5a53444304d39f | 192d66cb633c56967a02e9c2bd1e155350e5c5a1 | refs/heads/master | 2021-01-17T20:02:58.595256 | 2013-11-21T16:41:13 | 2013-11-21T16:41:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 49,837 | cc | // Copyright (c) 2012-2013, Cornell University
// 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 ... | [
"me@robescriva.com"
] | me@robescriva.com |
95f60f757c732af60fdb4f0ae0927f96c4d227e3 | 1521c6c1ed741db06b5f87f1ec0c9cba9931f1b0 | /Source/Batiment/Interieur/MurVertical.h | 8cf5d3595bb594d7f70f7902e3f3f367cb5c638e | [
"CC-BY-3.0",
"MIT",
"CC-BY-4.0"
] | permissive | Matthieu-Riou/Kurt-The-Last-Key | 15c55be183669e3ac498fed35a8e1fa6227ea1d2 | ea59e86963a035748b394ec09154af872a6fa309 | refs/heads/master | 2016-09-05T13:05:53.523239 | 2014-09-25T14:41:25 | 2014-09-25T14:41:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 748 | h | #ifndef MURVERTICAL_H
#define MURVERTICAL_H
/** \file MurVertical.h
\brief Représentation d'un mur horizontal
\author RIOU, MAUSSION
*/
#include <SFML/Graphics.hpp>
#include <string>
#include <sstream>
#include <vector>
#include <iostream>
#include "MurAbstrait.h"
#include "../../Espace.h"
/** \c... | [
"matthieu.riou@etu.univ-nantes.fr"
] | matthieu.riou@etu.univ-nantes.fr |
c5aea21242758519581db7ba5b38422a7e9a1557 | d23d36fd5b4e6851fef68940b15ed625677a576b | /作业3-3/作业3-3/作业3-3View.h | 102a45273e6bd5b23b4d1e09719a250bdfaf51b8 | [] | no_license | DJQ0926/test | 0d5fd731edef513e08b1169578e70fe9139d7d05 | e9a755ac66750e14bbb870d211531d91a92fc2ee | refs/heads/master | 2021-02-15T23:03:21.681207 | 2020-07-05T09:51:20 | 2020-07-05T09:51:20 | 244,942,227 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 943 | h |
// 作业3-3View.h : C作业33View 类的接口
//
#pragma once
class C作业33View : public CView
{
protected: // 仅从序列化创建
C作业33View();
DECLARE_DYNCREATE(C作业33View)
// 特性
public:
C作业33Doc* GetDocument() const;
// 操作
public:
// 重写
public:
virtual void OnDraw(CDC* pDC); // 重写以绘制该视图
virtual BOOL PreCreateWindow(CREATESTRUCT& cs)... | [
"964158009@qq.com"
] | 964158009@qq.com |
dc1f8274434c1158f1a728934c620c1864624ed0 | 711e5c8b643dd2a93fbcbada982d7ad489fb0169 | /XPSP1/NT/shell/osshell/snapins/devmgr/snapin/devdrvpg.cpp | 15868fe3137d308daa3912345effba0cc6f205f0 | [] | no_license | aurantst/windows-XP-SP1 | 629a7763c082fd04d3b881e0d32a1cfbd523b5ce | d521b6360fcff4294ae6c5651c539f1b9a6cbb49 | refs/heads/master | 2023-03-21T01:08:39.870106 | 2020-09-28T08:10:11 | 2020-09-28T08:10:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 39,337 | cpp | /*++
Copyright (C) 1997-1999 Microsoft Corporation
Module Name:
devdrvpg.cpp
Abstract:
This module implements CDeviceDriverPage -- device driver property page
Author:
William Hsieh (williamh) created
Revision History:
--*/
// devdrvpg.cpp : implementation file
//
#include ... | [
"112426112@qq.com"
] | 112426112@qq.com |
3941f07bdb578a4b87749bf9d92b0fe113ae1f94 | 7d71fa3604d4b0538f19ed284bc5c7d8b52515d2 | /Clients/AG/Shared/File.h | 85b37e3a888f340ce7d628db5ebd7bdaa7d69710 | [] | no_license | lineCode/ArchiveGit | 18e5ddca06330018e4be8ab28c252af3220efdad | f9cf965cb7946faa91b64e95fbcf8ad47f438e8b | refs/heads/master | 2020-12-02T09:59:37.220257 | 2016-01-20T23:55:26 | 2016-01-20T23:55:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,625 | h | // File.h: interface for the CXFile class.
//
//////////////////////////////////////////////////////////////////////
#if !defined FILE_WTL_H
#define FILE_WTL_H
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#pragma warning( disable : 4290 ) // a function is declared using exception specification,
... | [
"jim@facetofacesoftware.com"
] | jim@facetofacesoftware.com |
4835e87f8357521ec9c58aed7f19ff3810d55b84 | 71501709864eff17c873abbb97ffabbeba4cb5e3 | /llvm11.1.0/flang/include/flang/Evaluate/traverse.h | 4888946c1a6c3e814804a3dd994b2c01ec1e9565 | [
"LLVM-exception",
"Apache-2.0"
] | permissive | LEA0317/LLVM-VideoCore4 | d08ba6e6f26f7893709d3285bdbd67442b3e1651 | 7ae2304339760685e8b5556aacc7e9eee91de05c | refs/heads/master | 2022-06-22T15:15:52.112867 | 2022-06-09T08:45:24 | 2022-06-09T08:45:24 | 189,765,789 | 1 | 0 | NOASSERTION | 2019-06-01T18:31:29 | 2019-06-01T18:31:29 | null | UTF-8 | C++ | false | false | 10,169 | h | //===-- include/flang/Evaluate/traverse.h -----------------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | [
"kontoshi0317@gmail.com"
] | kontoshi0317@gmail.com |
dc0b7a2f4a15156def72a424fa3d9aa67b67cfa1 | a34445105030b0a6bc1e6ea1ed20923e8af6b8b7 | /C++/level2/프린터.cpp | 03509eb273554ea66d209e3b929fcfd05fde7e3c | [] | no_license | ambacc244/algorithm | e701f37cb541d79716a40cbf89640472f356a0e9 | da3b313f913e5c7564f8a17355673d6ee5feec89 | refs/heads/master | 2023-02-05T13:34:41.477254 | 2020-12-25T03:43:46 | 2020-12-25T03:43:46 | 245,620,194 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 788 | cpp | #include <string>
#include <vector>
#include <queue>
#include <iostream>
using namespace std;
int solution(vector<int> priorities, int location) {
int answer = 0;
bool pass = false;
queue<pair<int, int>> queue;
priority_queue<int> order;
for(int i=0; i<priorities.size(); i++){
queue.push(... | [
"leeye@oregonstate.edu"
] | leeye@oregonstate.edu |
db7317cfd80e6774454fc7aad868245b05f3a468 | 3518231cb2946d34c848c83c8e67a5d92eca0e78 | /lab 7/SimulationProgram/testSimulationProg.cpp | 062a369b07f8f04f052a844bec5d66e0612c6e75 | [] | no_license | nirajan-mandal/Data-Structures-and-Program-Design | b108fda56dcb6c534df1698ea64d69f1c58e9071 | bacaf97689880a43ecb64f47eb37159291fb13fd | refs/heads/main | 2023-04-15T15:35:23.357019 | 2021-04-24T18:59:02 | 2021-04-24T18:59:02 | 361,236,588 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,526 | cpp | //Nirajan Mandal 04/02/2008
//This is a simulation program for customers and servers
#include <iostream>
#include <cstdlib>
#include <iomanip>
#include <cmath>
#include "Simulation.h"
#include "queueAsArray.h"
using namespace std;
void setSimulationParameters(int& sTime, int& numOfServers,
int& ... | [
"noreply@github.com"
] | nirajan-mandal.noreply@github.com |
8c7db3c1eb3b75c31ba0eb74012ccd834dd233cd | 5a19f0763cccd59abe5617d842301e4e7fe25a13 | /source/hougfx/include/hou/gfx/glyph.hpp | a5f559354eeb67e2ce81fd607c86be10ab5eabba | [
"MIT"
] | permissive | DavideCorradiDev/houzi-game-engine | 6bfec0a8580ff4e33defaa30b1e5b490a4224fba | d704aa9c5b024300578aafe410b7299c4af4fcec | refs/heads/master | 2020-03-09T01:34:13.718230 | 2019-02-02T09:53:24 | 2019-02-02T09:53:24 | 128,518,126 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,011 | hpp | // Houzi Game Engine
// Copyright (c) 2018 Davide Corradi
// Licensed under the MIT license.
#ifndef HOU_GFX_GLYPH_HPP
#define HOU_GFX_GLYPH_HPP
#include "hou/gfx/gfx_config.hpp"
#include "hou/gfx/glyph_metrics.hpp"
#include "hou/sys/image.hpp"
#include <iostream>
namespace hou
{
/** Class describing a glyph, i... | [
"davide.corradi.dev@gmail.com"
] | davide.corradi.dev@gmail.com |
39c7a7585f4d774a9b9958799a339c6e208cce8b | 74c6d9b244d4aefb0e2f7c7905f8bd84359a7f0b | /rozwiazania/61/rozw2_zle.cpp | edc519f5635f2e15fcca495adb01f69e12b97e72 | [] | no_license | toomec2105/maturaZbiorZadan | 36cf643986a841d32ed06092e9247addbb75983b | fb8902dc78173942a1a9f8d2aa6e646dbac5577a | refs/heads/master | 2022-11-19T13:07:27.153873 | 2020-07-19T15:59:36 | 2020-07-19T15:59:36 | 280,900,379 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 750 | cpp | // Bledne rozwiazania zadania 2 - wypisuje wszystkie szesciany, nie tylko najwiekszy w kazdym ciagu.
#include <fstream>
#include <algorithm>
using namespace std;
const int N = 100;
bool szescian(int liczba)
{
for(int x = 1; x <= 100; x++)
if (x*x*x == liczba)
return true;
r... | [
"tomec2105@interia.pl"
] | tomec2105@interia.pl |
97f3ee981341445396056bcb848cc6fd5805d022 | 139b1a522a666a62a7e45bc0c6a3ce7c9e910a86 | /stira/deconvolve/deconvolve/IterativeDeconvolve.cpp | e3b607360c9b25734be9ddca6acbfb9441592ac9 | [
"MIT"
] | permissive | andyTsing/stira | 5857c7acc579c918164491459c1c3cc011f57fa5 | 863bc39ac3a4e5cfb354428965bdb7b93e76855d | refs/heads/master | 2021-01-23T23:13:18.375623 | 2015-04-27T20:20:50 | 2015-04-27T20:20:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,726 | cpp |
/***********************************************************************************
* Copyright (C) 2008 by Filip Rooms *
* *
* Terms and conditions for using this software in any form are... | [
"filip.rooms@gmail.com"
] | filip.rooms@gmail.com |
d73e5def4bc72f59f761aef9d9e1736e03480e3f | 5495469ae3ed685a40d8afa027a94e6dca44a6d2 | /day03/ex02/ClapTrap.cpp | 4fb39608e11a49ad9565f15f0915604068193605 | [] | no_license | ishtvan-lucor/cpp_pool | 4dab3e23fd7f84b68f05eefeb8e435c792baba6f | 7cb570d5d2ce82bd596d08c540de446bbaa2ed7c | refs/heads/master | 2020-06-09T18:03:31.031485 | 2019-08-20T14:40:08 | 2019-08-20T14:40:08 | 193,480,572 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,319 | cpp | #include "ClapTrap.hpp"
ClapTrap::ClapTrap( std::string name ) : _hp(10), _max_hp(10),
_ep(10), _max_ep(10), _lvl(1),
_name(name), _melee_ad(0),
_range_ad(0), _armor_dr(0)
{
std::cout << "ClapTrap is here!" << std::endl;
}
ClapTrap::ClapTrap(ClapTrap const ©)
{
std::cout << "Mor... | [
"ishtvan.koloshynsky@gmail.com"
] | ishtvan.koloshynsky@gmail.com |
8724e48528be10671b767bc744f7554840f6300a | 1d6cd746ce202d60c2f4c62c453d439fb44b80b5 | /x86/timing/Core.cc | 76d25aa540aa0b67bb5d05a48aa71d3a025f4092 | [] | no_license | miguellasaosa/m2s_modificado | 729b1d3e1808c6224fb61182269efed5aa3cedd4 | 23a208e1bf395eb9e5605db6dd453d56e7872178 | refs/heads/master | 2022-12-18T00:04:49.707465 | 2020-09-20T20:05:14 | 2020-09-20T20:05:14 | 297,152,021 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,003 | cc | /*
* Multi2Sim
* Copyright (C) 2012 Rafael Ubal (ubal@ece.neu.edu)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any late... | [
"noreply@github.com"
] | miguellasaosa.noreply@github.com |
e87af1f2c4637d166bb53aa87dbedd60b0a25ec4 | 8126291334a4288f51b1116ea31e953debf07039 | /SRC/engine/outputval.swg | cb605da5546df755a623e442db318168d398f9bb | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | jumpingyu/OOF2 | 846a7dd506f029535153834607b698ce32dc155d | 31a25398b046c1963859dd96785329d2a9af8681 | refs/heads/master | 2020-05-21T09:12:07.013560 | 2019-04-02T21:05:49 | 2019-04-02T21:05:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,406 | swg | // -*- C++ -*-
/* This software was produced by NIST, an agency of the U.S. government,
* and by statute is not subject to copyright in the United States.
* Recipients of this software assume all responsibilities associated
* with its operation, modification and maintenance. However, to
* facilitate maintenance we... | [
"lnz5@rosie.nist.gov"
] | lnz5@rosie.nist.gov |
43a79b9983a8d89a7d845477b19ee9bcccc33191 | aaf8bc7c8113795e97e7c6f13bc33ab8e709ff89 | /ARClassProject/BlockWalls.cpp | f6b4cac139bf644fa58f78777d7144749d912835 | [
"MIT"
] | permissive | Atsu30/GorillaBeat | 6e9a83c20b4b878f9ff236183bae0957d7ebc479 | ebd56849858fa65f2c767fb8083e01f8a00124e4 | refs/heads/master | 2020-05-27T22:32:12.974690 | 2019-06-08T08:11:10 | 2019-06-08T08:11:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 656 | cpp | //
// BlockWalls.cpp
// ARClassProject
//
// Created by Xia Yu on 2019/06/07.
// Copyright © 2019 森敦史. All rights reserved.
//
#include "BlockWalls.hpp"
#include "DrawPrimitives.h"
void BlockWalls::draw(float* resultTransposedMatrix){
glLoadIdentity();
glLoadMatrixf( resultTransposedMatrix);
//glTrans... | [
"yu.xia@ar.c.titech.ac.jp"
] | yu.xia@ar.c.titech.ac.jp |
f07ebbc7b0b1d4987943eab742bbcbe8b175679e | 31247135e30b58985098ecb4b47553f0923a2f64 | /Play/Source/s3stream/S3ObjectStream.h | 90e1ff9127026c157a096d483e6b614cc8cfa1a1 | [
"BSD-2-Clause"
] | permissive | johnny-mac/play | 7cba594a70f1be115bb444549e5a7f54de398ffb | 256348891e0a652e8b5e4b6feb9ee97957a95533 | refs/heads/master | 2020-03-28T18:17:05.775478 | 2018-09-15T04:05:01 | 2018-09-15T04:05:01 | 148,868,025 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 715 | h | #pragma once
#include "Stream.h"
#include "boost_filesystem_def.h"
class CS3ObjectStream : public Framework::CStream
{
public:
CS3ObjectStream(const char*, const char*);
uint64 Read(void*, uint64) override;
uint64 Write(const void*, uint64) override;
void Seek(int64, Framework::STREAM_SEEK_DIRECTION) override;
... | [
"kk199469@gmail.com"
] | kk199469@gmail.com |
c805aa3586ca7d0df9d4a4ce2fbe60335a945f73 | b53795b88ab0201e48c5dc5737e97dfd27e07b22 | /source/server/game/src/fifo_allocator.h | 6ebd6177068eb43abd5e3d6dad4b3f015aadeb44 | [] | no_license | davidkm2/globalmetin | 9cc63395974eb74b5784a1bf5e733622c7303aa4 | d1a21b549c68e311416544e03ca6218351e12d2f | refs/heads/main | 2023-05-27T08:10:08.506239 | 2021-05-24T01:57:37 | 2021-05-24T01:57:37 | 370,181,109 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,678 | h | #ifndef _FIFO_ALLOCATOR_H_
#define _FIFO_ALLOCATOR_H_
#include <deque>
#include <unordered_map>
// Allocator implementation detail with simple FIFO grow-only pool.
// It relies on default CRT malloc/free.
class FifoAllocator {
public:
FifoAllocator() {}
~FifoAllocator() {}
void SetUp() {}
void Tear... | [
"davidkm2012@gmail.com"
] | davidkm2012@gmail.com |
8609b601696fbc839dcbd1dba9f485016aef7a68 | 2dfdbc7f2f8695b510c2a5ecc82b4bd82d47ecce | /main.cpp | abc8ea3b1e7214c6042045e093905a95d94d42b7 | [] | no_license | bvisness/GraphicsAssignment05 | 3625a1800e925686aa6e601efe428ff73a65d9da | 36ae8d92e167b6b077bc741dd712a883b4d82ba5 | refs/heads/master | 2021-01-16T21:45:01.321622 | 2015-11-24T02:29:45 | 2015-11-24T02:29:45 | 46,010,573 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,538 | cpp | //
// OpenGL 3.2 Template for Mac
// Ben Visness
//
// Suppress GLUT deprecated warnings on Mac
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#include "VisnessGL.h"
#include "Scene.h"
#include "Camera.h"
#include "Sphere.h"
#include "PLYGameObject.h"
#include <math.h>
#pragm... | [
"bvisness@gmail.com"
] | bvisness@gmail.com |
c076c53469f805141a790d5bb6e5ae9f76d0849e | beaeefee8412d35e8afee2643098dbc3870d47bc | /src/EAWebkit/Webkit-owb/BAL/OWBAL/Concretizations/Types/WK/BCRefPtrWK.h | 52f108ad31d0309c0c57874973ecf0267ee31179 | [] | no_license | weimingtom/duibrowser | 831d13626c8560b2b4c270dcc8d2bde746fe8dba | 74f4b51f741978f5a9d3b3509e6267fd261e9d3f | refs/heads/master | 2021-01-10T01:36:36.573836 | 2012-05-11T16:38:17 | 2012-05-11T16:38:17 | 43,038,328 | 1 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 6,554 | h | // -*- mode: c++; c-basic-offset: 4 -*-
/*
* Copyright (C) 2005, 2006, 2007, 2008 Apple Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
... | [
"achellies@hotmail.com"
] | achellies@hotmail.com |
b289bdb13c46e7b66bc3238805988caddf1b007a | 3c5c1e3836edf3e9627a64600785503d1814df51 | /build/Android/Debug/app/src/main/include/Fuse.Drawing.ISurfaceDrawable.h | d2ef947f42315958e88cc70b6edb451437680921 | [] | no_license | fypwyt/wytcarpool | 70a0c9ca12d0f2981187f2ea21a8a02ee4cbcbd4 | 4fbdeedf261ee8ecd563260816991741ec701432 | refs/heads/master | 2021-09-08T10:32:17.612628 | 2018-03-09T05:24:54 | 2018-03-09T05:24:54 | 124,490,692 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,393 | h | // This file was generated based on C:/Users/Brian/AppData/Local/Fusetools/Packages/Fuse.Drawing.Surface/1.6.0/Surface.uno.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Uno.Object.h>
namespace g{namespace Fuse{namespace Drawing{struct Surface;}}}
namespace g{namespace Uno{st... | [
"s1141120@studentdmn.ouhk.edu.hk"
] | s1141120@studentdmn.ouhk.edu.hk |
40cfb79307b192fbc11f4e97d3468725bad7424e | 51b58a4373a4134ec5a13223a82a0b6b8823404f | /code/header/Game.h | 944936d8a624971af4f5ce3659b2838916c1bc99 | [] | no_license | mariaviolaki/vamp-man | f4eebc4ffd4c46a91e3e736f600f29c2c2319771 | 47047c4b9b4a7c96dbed779915a851ebff7356ad | refs/heads/master | 2022-11-08T02:31:16.250840 | 2020-06-29T04:04:16 | 2020-06-29T04:04:16 | 275,660,699 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,147 | h | #ifndef GAME_H
#define GAME_H
#include "../header/Map.h"
#include "../header/Player.h"
#include "../header/Garlic.h"
#include "../header/MessageManager.h"
#include "../header/CollisionManager.h"
#include "SDL2/SDL.h"
#include <string>
#include <memory>
// Forward class declaration
class MessageManager;
class Game
{
... | [
"mariaviolaki@outlook.com"
] | mariaviolaki@outlook.com |
96669108416f5ebb02ea8c920a1b356862dd6210 | 3fc907bfd5493d4054380c1db9bff50444cb8f04 | /EinfBV/src/Graphics2D/PrimitiveRectangle.cpp | 49d893a6b0805734beb845b09016e1bb61f5ba65 | [] | no_license | kallegonzales/Bildverarbeitung | 717843f7398ec086755c7fee1c7a223b0ab65023 | 5bcdfe8b923c3ccee7abc71106bd442869960923 | refs/heads/master | 2020-06-14T07:15:32.037817 | 2016-11-29T22:13:12 | 2016-11-29T22:13:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 445 | cpp | #include "PrimitiveRectangle.hh"
#include <iostream>
using namespace std;
PrimitiveRectangle::
PrimitiveRectangle(const Color &color, const Float2D &topLeft,
const Float2D &bottomRight)
: PrimitivePolygon(color, 4)
{
SetPoint(0, topLeft);
SetPoint(1, Float2D(bottomRight[0], topLeft[1]));
Se... | [
"stu126998@informatik.uni-kiel.de"
] | stu126998@informatik.uni-kiel.de |
cf35aa2f5620cab5c1f482d15d5e520e1b8135a9 | 07149121ce4292d1bead18e284047227fbe9c573 | /Source/Drivers/PS1080/Sensor/XnDataProcessor.cpp | df7b57ca9607d2acf8e3f84647ae02349bddd68e | [
"IJG",
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | PersonifyInc/OpenNI2 | 4f4ff3069fc57aecb28b88506789639cb32286f7 | a9fec0e8662dd06b0a379dd0d6d190f8cc4fa639 | refs/heads/master | 2020-04-05T22:45:24.632490 | 2020-02-14T09:27:38 | 2020-02-14T09:27:38 | 10,258,048 | 1 | 1 | Apache-2.0 | 2020-02-14T09:27:40 | 2013-05-24T02:47:24 | C++ | UTF-8 | C++ | false | false | 9,485 | cpp | /*****************************************************************************
* *
* OpenNI 2.x Alpha *
* Copyright (C) 2012 PrimeSense Ltd. *
* ... | [
"eddie.cohen@primesense.com"
] | eddie.cohen@primesense.com |
857c5f1697e9643635af2148e2ddb34e59d40ee0 | ce1c059321e09200ab4f055cbd957e37f08334bf | /c/api/tqapi_ffi_dapi.cpp | a7bf772de1b0352d2c16674292e36983917cdfd6 | [] | no_license | xutiezhu/tqapi | 3023586e528f532c0b6539f2ed9afdb06b2b6d1e | 5c41dbfac3aa4c873819101a196174f95aa1ceb6 | refs/heads/master | 2022-02-22T04:17:20.380605 | 2022-02-14T16:19:40 | 2022-02-14T16:19:40 | 140,737,151 | 2 | 0 | null | 2018-07-12T16:13:51 | 2018-07-12T16:13:50 | null | UTF-8 | C++ | false | false | 8,538 | cpp | #include <iostream>
#include "tquant_api.h"
#include "tqapi_ffi.h"
#include "myutils/stringutils.h"
using namespace std;
static_assert(sizeof(MarketQuote) == sizeof(tquant::api::RawMarketQuote), "Wrong MarketQuote size");
static_assert(sizeof(Bar) == sizeof(tquant::api::RawBar), "Wrong Bar size");
sta... | [
"xutiezhu@gmail.com"
] | xutiezhu@gmail.com |
78708bc5b8cde0021162a4c8decc56cdfbbcebe2 | 4abad86fbe6349c8587e14135f73b1f805137f32 | /Project 2/Test/D.h | 3e85122cdc64107bee69d6499db096496b228c89 | [] | no_license | ashx2611/ObjectOrientedDesign | 6f3b52a561fc2255f9293e5cb812a0e1eb9287cc | e456237e47fa9af8a8edc0a8f58322fc42be39fd | refs/heads/master | 2021-01-23T21:47:50.229161 | 2017-09-08T21:29:19 | 2017-09-08T21:29:19 | 102,905,031 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 111 | h | #pragma once
class D{
public:
void displayD();
};
void D::displayD()
{
std::cout << "\nHi!!I am D!!\n";
}
| [
"ashwiniphadke1@gmail.com"
] | ashwiniphadke1@gmail.com |
a910564c682e14e8e68b052ebb390d7d5252ec68 | e5b7cd1203d13fa2c1d9c084f255e4c5a6580bd7 | /modtronix_im4OLED/mx_gfx.cpp | f91fdf84c9bc1d0b678c6fc46f892544887957e8 | [] | no_license | jobitjoseph/devkit_sx1276 | 6b109a7cb29412fe2018a0b2c5df5c04bad1cc5a | bc54a7660e3aa8287fc531283c05d6623a1d6fdc | refs/heads/master | 2022-02-25T00:58:53.929523 | 2016-09-22T22:57:33 | 2016-09-22T22:57:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,924 | cpp | /***********************************
This is a our graphics core library, for all our displays.
We'll be adapting all the
existing libaries to use this core to make updating, support
and upgrading easier!
Adafruit invests time and resources providing this open source code,
please support Adafruit and open-source ha... | [
"git1@modtronix.com"
] | git1@modtronix.com |
79f5d47089a1b609e68e0da96a961ef440ac2de5 | f5f94d670be5169e86b116288fab28d9540e570a | /processing/colloid/functions/DOSlog.cpp | bff28bbfd0140d0ea42bb4f0c150d3f6715b48dc | [] | no_license | Bradleydi/processing | af6df07c130e97940d4fded1ec0af88860bb92fc | e4d874e6f0a46bb5784ef9e78906b331fd1fc3ad | refs/heads/master | 2020-07-10T19:49:22.459601 | 2016-08-28T07:41:04 | 2016-08-28T07:41:04 | 66,753,910 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 679 | cpp | #include "colloid_base.h"
#include "normalmode.h"
#include <cstdio>
#include <cstdlib>
using namespace std;
void phelp();
int main (int argc, char *argv[])
{
if (argc==1)
phelp();
if (argc==2)
DOS_log(argv[1]);
else
phelp();
return 0;
}
void phelp()
{
printf("Usage:\n");
printf("\tnormal_mode gdf_da... | [
"zhoudi2014@163.com"
] | zhoudi2014@163.com |
cf108dd4f6ddd3b26b5f39faa4e250536e19d3df | 8c1dbeb23cb2bcf0fe44b62f703486dcc99f79a4 | /v2/Reader/src/structure/IPLookUpTable.h | 482eb97262d8ddf130511c0abf72687efeefe7c8 | [] | no_license | JefGrailet/treenet | 0e2bf104ea347ec0efd221e3b91f738d69ca90e8 | 10cfdcd7e94d73ab29c129ccffb07c4ba6dbcadd | refs/heads/master | 2020-12-24T06:42:31.569006 | 2019-10-14T10:06:17 | 2019-10-14T10:06:17 | 34,863,160 | 10 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 2,371 | h | /*
* IPLookUpTable.h
*
* Created on: Sep 29, 2015
* Author: grailet
*
* IPLookUpTable is a particular structure built to quickly look up for an IP address and see
* which protocol should be used to probe it (other usages could be added in the future, like
* obtaining the distance in TTL). All target IPs... | [
"Jean-Francois.Grailet@student.ulg.ac.be"
] | Jean-Francois.Grailet@student.ulg.ac.be |
df1ed0fc092773d40e2af2a83e989a33179b3555 | a8a5997cfc6f268fca1d682ce6fad90b386640d8 | /GRT/PreProcessingModules/DeadZone.cpp | ed4dd4a9bdbf06a9710d3fd9cc167a26c3cbc045 | [
"MIT"
] | permissive | damellis/grt | 45845e4c53f1367418e7640fe33a79f0d97484ae | e1cd0b57e401f4ec52ead679fb9926225585cf98 | refs/heads/master | 2021-01-19T07:01:53.234078 | 2016-08-10T21:35:01 | 2016-08-10T21:35:01 | 46,379,605 | 5 | 3 | null | 2015-11-17T22:30:59 | 2015-11-17T22:30:59 | null | UTF-8 | C++ | false | false | 8,689 | cpp | /*
GRT MIT License
Copyright (c) <2012> <Nicholas Gillian, Media Lab, MIT>
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 right... | [
"nickgillian@googlemail.com"
] | nickgillian@googlemail.com |
b64d8fc65bd43f1cd7fc4eebda64473062532ee8 | 783f30286a5e485bfc0f594087f34bfd9ea222a8 | /workspace/WiFiClient/WiFiClient.ino | 50de750455106e0865dac3a4d630915f3d104b29 | [] | no_license | lootr5858/Arduino | c8a9db73065005b8f39897ee2c7825dae47320c9 | 2b62aea4552f58f2ba7a086a22306730db1f6e0b | refs/heads/master | 2022-09-07T16:43:05.924800 | 2020-05-31T11:20:56 | 2020-05-31T11:20:56 | 267,212,414 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,241 | ino | /*
* This sketch sends data via HTTP GET requests to data.sparkfun.com service.
*
* You need to get streamId and privateKey at data.sparkfun.com and paste them
* below. Or just customize this script to talk to other HTTP servers.
*
*/
#include <WiFi.h>
const char* ssid = "SINGTEL-2A1A";
const char* passw... | [
"lootr5858@gmail.com"
] | lootr5858@gmail.com |
d0d5ebc36250d85d93bb6e29429dc7569459727a | e217eaf05d0dab8dd339032b6c58636841aa8815 | /IfcBridge/src/OpenInfraPlatform/IfcBridge/entity/include/IfcReinforcingElement.h | c86122fcb5ad717eddca9a244294ce1d76b4804b | [] | no_license | bigdoods/OpenInfraPlatform | f7785ebe4cb46e24d7f636e1b4110679d78a4303 | 0266e86a9f25f2ea9ec837d8d340d31a58a83c8e | refs/heads/master | 2021-01-21T03:41:20.124443 | 2016-01-26T23:20:21 | 2016-01-26T23:20:21 | 57,377,206 | 0 | 1 | null | 2016-04-29T10:38:19 | 2016-04-29T10:38:19 | null | UTF-8 | C++ | false | false | 4,550 | h | /*! \verbatim
* \copyright Copyright (c) 2014 Julian Amann. All rights reserved.
* \date 2014-02-15 23:00
* \author Julian Amann <julian.amann@tum.de> (https://www.cms.bgu.tum.de/en/team/amann)
* \brief This file is part of the BlueFramework.
* \endverbatim
*/
#pragma once
#include <vector>
#include <map>
#inc... | [
"planung.cms.bv@tum.de"
] | planung.cms.bv@tum.de |
c403160200d0bf2be8b9736a1a9a7c70ebfcc688 | 4367853a6433bcf52bf8501849d444380b3fc3d4 | /14730/main.cpp | 4b1f1fdbe1f3d70eb926aaf26dac3eedb314c236 | [] | no_license | ywh3589/BOJ | df21332f9db6df979d5859ab45973390e763f3e7 | 3e7cb25857d038b89c3109b6c7cadd1035863c4a | refs/heads/master | 2021-05-07T09:04:38.779603 | 2017-10-20T09:44:26 | 2017-10-20T09:44:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 193 | cpp | #include <cstdio>
#include <cstring>
using namespace std;
int main() {
int N, a, b, sum = 0;
scanf("%d", &N);
while (N--) {
scanf("%d %d", &a, &b);
sum += a*b;
}
printf("%d", sum);
} | [
"schezwan.daum.net"
] | schezwan.daum.net |
bf62ce00a817596f39af40380f740e24a7285daa | 8232bf93f6a3b0375d34003bdad26f5bfa93095c | /PAT/Advanced/1038.cpp | b2959dda2334d48fa4fc6322934f9e4c890f3643 | [] | no_license | ZIFANS/Algorithm_Code | e7ee8c6ab5be8047f5ebe98993c4ce317018a63e | c973274ca86ba0c94fc31476559e0f17f91d1b94 | refs/heads/master | 2021-11-12T23:07:51.943328 | 2021-11-06T08:21:17 | 2021-11-06T08:21:17 | 232,075,346 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 481 | cpp | #include <iostream>
#include <algorithm>
using namespace std;
bool cmp(string a,string b)
{
return a+b<b+a;
}
int main ()
{
int n;
scanf("%d",&n);
string s[n];
string ans="";
for(int i=0;i<n;++i)
{
cin>>s[i];
}
sort(s,s+n,cmp);
for(int i=0;i<n;++i)
{
ans+=s[i]... | [
"903953451@qq.com"
] | 903953451@qq.com |
c886322202b52bf95145ace3c951b6a99fe1768b | 5d7c0ce7713e33384d6f9768ee7d70747d1502a7 | /Arduino/epd2in13b_V2/epd2in13b_V2.cpp | 4ddc256e40159b81bcc182fb9f7db6829543e0a0 | [] | no_license | schmiddim/e-Paper | 0e9b33bc21913639af9b6ac04cb0f4e831f8ed12 | 22032b7cc1ed1669a914c6177017c718ce9d1218 | refs/heads/master | 2022-12-06T17:18:24.289681 | 2020-08-21T20:33:09 | 2020-08-21T20:33:09 | 289,359,248 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,749 | cpp | /**
* @filename : epd2in9b.cpp
* @brief : Implements for Dual-color e-paper library
* @author : Yehui from Waveshare
*
* Copyright (C) Waveshare August 10 2017
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documnetatio... | [
"hnwangkg@qq.com"
] | hnwangkg@qq.com |
dfa432f15e2f39dc6bc70df27ef8aaa2d111e5e3 | e02b707ea716398ffecb2638eb5b8302610a73a0 | /soundtouch/src/main/cpp/soundtouch/PeakFinder.h | 9fe66adac5f6a95e21d5efef575b13f931b9386e | [
"Apache-2.0"
] | permissive | Hero2000/AudioSDK | 88d1a553cf59d5540bb26a64ba8174706ea3d57e | 3aed13d196d156d5743c0f66baa75ef1d3966089 | refs/heads/main | 2022-12-27T23:58:18.369513 | 2020-10-17T09:25:05 | 2020-10-17T09:25:05 | 305,993,755 | 0 | 1 | Apache-2.0 | 2020-10-21T10:52:24 | 2020-10-21T10:52:23 | null | UTF-8 | C++ | false | false | 3,986 | h | ////////////////////////////////////////////////////////////////////////////////
///
/// The routine detects highest value on an array of values and calculates the
/// precise peak location as a mass-center of the 'hump' around the peak value.
///
/// Author : Copyright (c) Olli Parviainen
/// Author e-ma... | [
"jeffmony@163.com"
] | jeffmony@163.com |
4d926f3675fefdad24854d77ae47f9d60988ace1 | 0995c448ad10f024371a99c5a5b872919b586a48 | /Kattis/batterup.cpp | daff164f984dc483c782356ce4172a86329c13a6 | [] | no_license | ChrisMaxheart/Competitive-Programming | fe9ebb079f30f34086ec97efdda2967c5e7c7fe0 | 2c749a3bc87a494da198f2f81f975034a8296f32 | refs/heads/master | 2021-06-14T13:48:39.671292 | 2021-03-27T10:34:46 | 2021-03-27T10:34:46 | 179,540,634 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 460 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
bool reversecompare(int a, int b)
{
return a > b;
}
int main ()
{
ios::sync_with_stdio(false);
cin.tie(nullptr);
double x;
double total;
int N, slug;
cin >> N;
slug = 0;
total = 0;
while (N--) {... | [
"samuelhenrykurniawan@yahoo.com"
] | samuelhenrykurniawan@yahoo.com |
f038fecac5e9b07b0315355c41a77f17d3e8af78 | 73f88b9d8055c1bc5ed408319ffed9fa72af628b | /include/Pomdog/Graphics/InputClassification.hpp | 1ed1154baae1672433195981c1695124ad9992d5 | [
"MIT"
] | permissive | Mourtz/pomdog | 3841c015012f0bb8f4e45c3524a66ced11abd448 | b3f678033b2b41ec5bbf9c5079810b1082aa293d | refs/heads/master | 2020-12-25T04:01:47.810430 | 2015-09-10T11:57:25 | 2015-09-10T11:57:25 | 38,495,875 | 1 | 0 | null | 2015-07-07T09:48:00 | 2015-07-03T14:12:26 | C++ | UTF-8 | C++ | false | false | 413 | hpp | // Copyright (c) 2013-2015 mogemimi.
// Distributed under the MIT license. See LICENSE.md file for details.
#ifndef POMDOG_INPUTCLASSIFICATION_478EFF1D_HPP
#define POMDOG_INPUTCLASSIFICATION_478EFF1D_HPP
#include <cstdint>
namespace Pomdog {
enum class InputClassification : std::uint8_t {
InputPerVertex,
In... | [
"mogemimi@enginetrouble.net"
] | mogemimi@enginetrouble.net |
825ef63a5c7144a3db0c17028352e73fecddbe45 | feb8a44472202cd0a75ffc129e83f1728184e714 | /src/scheduler.h | ba12a01419fca06904e4af57ebe24fd40899c890 | [
"MIT"
] | permissive | bitalley/BitAlley-Core | 9ec7fe02a3f5ca9aa31d7b752fce89ec0517ae57 | f92f5366988553cba423b6f534206fef41b5b666 | refs/heads/master | 2020-03-25T08:27:04.591960 | 2018-12-30T20:04:08 | 2018-12-30T20:04:08 | 143,613,026 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,929 | h | // Copyright (c) 2015 The Bitcoin Core developers
// Copyright (c) 2017 The PIVX developers
// Copyright (c) 2018 The BITALLEY developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_SCHEDULER_H
#define BITCOI... | [
"alonewolf2ksk@gmail.com"
] | alonewolf2ksk@gmail.com |
d22627030746c476623997766027da0e00af4030 | 9412b0e50cbb32af1027008fde12c48bb7f79ab3 | /version_2_webcam/intensity.cpp | 8e1b6a1f55cb3391bf6918418ad20579cb1fc8df | [] | no_license | drbinzhao/OpenCV-Saliency-Stack | 588981e1b9e486ada31210ba1150b95356f6ad9d | 107e0fdcd092267f2b6537c68fb65fd80f74120c | refs/heads/master | 2021-01-15T18:21:43.498371 | 2015-08-05T15:18:07 | 2015-08-05T15:18:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 922 | cpp | #include "common.hpp"
#include "saliency_common.hpp"
#include "intensity.hpp"
//Generates Intensity Image
Mat Get_Intensity_Image(Mat inputImage)
{
#ifdef GPU_MODE
gpu::GpuMat d_src(inputImage);
Mat retImage;
gpu::GpuMat gputemp;
vector<gpu::GpuMat> d_vec;
gpu::split(d_src, d_vec);
gpu::addWeighted(d_vec[0], 1.0... | [
"sethu002@e.ntu.edu.sg"
] | sethu002@e.ntu.edu.sg |
f6a7961b93648c9ee0e76dfa2410f2a3e336dcd3 | a9366152822731b506c90aedbb668ef64b9222d7 | /ProyectoBD2Qt/ProyectoQt/gui.h | fcf223d87a3a457e6c1a0becd4c83729650603e7 | [] | no_license | XChanitoX/Proyecto1_BD2 | 940f3cc5bf756b8028675e8f69732a3562c9d46e | d858349acec99fd20aa6cf0cd4c93c581bc16cbf | refs/heads/main | 2023-08-24T11:28:29.551370 | 2021-10-20T14:40:31 | 2021-10-20T14:40:31 | 416,148,567 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 816 | h | #ifndef GUI_H
#define GUI_H
#include <QMainWindow>
#include <QStandardItemModel>
#include <QWidget>
#include <QAbstractTableModel>
#include "Librerias.h"
#include "Record.h"
QT_BEGIN_NAMESPACE
namespace Ui { class GUI; }
QT_END_NAMESPACE
class GUI : public QMainWindow
{
Q_OBJECT
public:
GUI(QWidget *parent ... | [
"40049050+XChanitoX@users.noreply.github.com"
] | 40049050+XChanitoX@users.noreply.github.com |
f17d9d766107335fb01ee53176f42a14393e5ec1 | e93f3edda0b4671bee6925afb7efbb80991e3fcc | /LiuRen.h | 433708304331f11aad00c68f387ffdfd0ac2b1f2 | [] | no_license | JelloHuang/shushulib | ea88a0d7da17a465e76a1e6dfe1452426b8b14ec | e2d9a96f2eaa556a347a1ae913c6e513c46dec5f | refs/heads/master | 2020-05-14T14:10:12.178395 | 2013-02-25T16:02:30 | 2013-02-25T16:02:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 613 | h | #pragma once
#include "month.h"
#include <boost/shared_ptr.hpp>
class LiuRen
{
public:
LiuRen(int month, int time, int riGan, int riZhi);
~LiuRen();
static void formatPan(boost::shared_ptr<DiZhi> pdz);
void diPan();
void tianPan();
void siKe();
void sanChuan();
void printSanChuan(bool isGan);
void duanKe();... | [
"lusing@gmail.com"
] | lusing@gmail.com |
de57c7f877ff60cca8b26fb304b408124db561ad | 948f4e13af6b3014582909cc6d762606f2a43365 | /testcases/juliet_test_suite/testcases/CWE191_Integer_Underflow/s01/CWE191_Integer_Underflow__char_min_sub_81_bad.cpp | 90fd560fdada62d3499fa57769dba7f657dc102e | [] | no_license | junxzm1990/ASAN-- | 0056a341b8537142e10373c8417f27d7825ad89b | ca96e46422407a55bed4aa551a6ad28ec1eeef4e | refs/heads/master | 2022-08-02T15:38:56.286555 | 2022-06-16T22:19:54 | 2022-06-16T22:19:54 | 408,238,453 | 74 | 13 | null | 2022-06-16T22:19:55 | 2021-09-19T21:14:59 | null | UTF-8 | C++ | false | false | 1,098 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE191_Integer_Underflow__char_min_sub_81_bad.cpp
Label Definition File: CWE191_Integer_Underflow.label.xml
Template File: sources-sinks-81_bad.tmpl.cpp
*/
/*
* @description
* CWE: 191 Integer Underflow
* BadSource: min Set data to the min value for char
* Good... | [
"yzhang0701@gmail.com"
] | yzhang0701@gmail.com |
f4bad6152752d21906e28b563e041092247b9765 | d68882e66da6a5eb61ac1e8745c05eb520ce42d2 | /w02_h01_xenoFollowing/src/customCircle.h | 8eccaad47315ea0cecc9d6d21de49650112b88e7 | [] | no_license | Doreenduo/DuoXu_OFanimation2015 | dfa10cc3c3cac585a87876193f64289388dcf5ee | 52e4c3ab607bc497884bf059716077c86c22e0ba | refs/heads/master | 2016-09-05T11:48:45.021778 | 2015-05-12T21:59:22 | 2015-05-12T21:59:22 | 30,620,473 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 459 | h | //
// customCircle.h
// 01_xenoFollowing
//
// Created by XuDuo on 15/2/10.
//
//
#ifndef ___1_xenoFollowing__customCircle__
#define ___1_xenoFollowing__customCircle__
#include <stdio.h>
#endif /* defined(___1_xenoFollowing__customCircle__) */
#include "ofMain.h"
class customCircle{
public:
void setup... | [
"duoxu.interaction@gmail.com"
] | duoxu.interaction@gmail.com |
8e4d92bc392ae2c62a93ccd41caa436eabf4cd0f | 3c025815d37f842856a37bdbf3c882149b2e3829 | /Lucky Division.cpp | 830654a9421eb47494ae853a906e8ade18b7bf38 | [
"MIT"
] | permissive | manu-karenite/Codeforces-Solutions | d13b62a5004635b70d7f14bc612ca83378544d8e | c963a0186c6530ea8a785780fc4d68ed539e8c6e | refs/heads/main | 2023-07-10T14:01:27.737788 | 2021-08-05T07:50:44 | 2021-08-05T07:50:44 | 337,035,329 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 450 | cpp | /*
This code is written by Manavesh Narendra
E-mail : manu.karenite@gmail.com
LinkedIn : https://www.linkedin.com/in/manavesh-narendra-489833196/
*/
#include<iostream>
using namespace std;
int main()
{
int n;
cin>>n;
if(n%47==0||n%74==0||n%744==0||n%474==0||n%4==0||n%7==0||n%77==0||n%44==0||n%444==... | [
"noreply@github.com"
] | manu-karenite.noreply@github.com |
05b701106fe21673d9a5baba2b3b8c3373343885 | 7845f47ba91c5ed7c7ded3957acf7e73b86f4a2f | /samp2_3/main.cpp | d6e44b6928e07b7202d1d029fa16b3e83130340c | [] | no_license | SongVei/QtStudy | e31c80194d383b2d61d35e3f167bbb8c751c6e3e | 66e13604a787fb4a99ac5248d0bfb1d006ffcf59 | refs/heads/master | 2022-12-06T05:30:00.777974 | 2020-09-03T08:55:47 | 2020-09-03T08:55:47 | 290,382,306 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 173 | cpp | #include "qwdlgmanual.h"
#include <QApplication>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
QWDlgManual w;
w.show();
return a.exec();
}
| [
"1017500323@qq.com"
] | 1017500323@qq.com |
d7a17e7174989b750f0202b11c69d94463338946 | 04b1803adb6653ecb7cb827c4f4aa616afacf629 | /third_party/blink/renderer/core/editing/state_machines/backspace_state_machine_test.cc | 0b724da1dea9445bec467df93ff1efd7edb2f752 | [
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT",
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-2.1-only",
"GPL-2.0-only",
"LGPL-2.0-only",
"BSD-2-Clause",
"LicenseRef-scancode-other-copyleft",
"BSD-3-Clause"
] | permissive | Samsung/Castanets | 240d9338e097b75b3f669604315b06f7cf129d64 | 4896f732fc747dfdcfcbac3d442f2d2d42df264a | refs/heads/castanets_76_dev | 2023-08-31T09:01:04.744346 | 2021-07-30T04:56:25 | 2021-08-11T05:45:21 | 125,484,161 | 58 | 49 | BSD-3-Clause | 2022-10-16T19:31:26 | 2018-03-16T08:07:37 | null | UTF-8 | C++ | false | false | 46,721 | cc | // Copyright 2016 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 "third_party/blink/renderer/core/editing/state_machines/backspace_state_machine.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "thir... | [
"sunny.nam@samsung.com"
] | sunny.nam@samsung.com |
74092b2718fac72e2c3dce9dd9b8f6cfbeb5c34c | a2647c9e2f90c11b724b3bdfffac0566b6025add | /planszasamuraj.h | 2e7162b7203edbd34e32c8dbb9a5d753c2031cc0 | [] | no_license | skworzecrafal/Sudoku | ddef165ae8c0aa0a04f9a6dfd35504fb5a9ab4b1 | 20c662bd1b79cc0bb09e3f22ab75e75a7335e9fc | refs/heads/master | 2016-09-06T11:58:08.168070 | 2014-02-12T10:46:41 | 2014-02-12T10:46:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 333 | h | #ifndef PLANSZASAMURAJ_H
#define PLANSZASAMURAJ_H
#include "komorkas.h"
#include <QFrame>
#include <QWidget>
class PlanszaSamuraj:public QWidget
{
public:
PlanszaSamuraj(QWidget *parent=0);
~PlanszaSamuraj();
Komorkas tab[5][9][9];
void zerujPola();
private:
QFrame* linie[40];
};
#endif // PLAN... | [
"skworzecrafa@gmail.com"
] | skworzecrafa@gmail.com |
793e3e6570dcd4b174e4ccb6b4e4c083134d154c | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/CMake/CMake-gumtree/Kitware_CMake_repos_basic_block_block_3363.cpp | 407fdec268f9a0c49a3ee609f0b1c195c4f9d739 | [] | 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 | 181 | cpp | {
fprintf ( stderr,
"%s: supplied filename is suspiciously (>= %d chars) long. Bye!\n",
progName, (int)strlen(argv[1]) );
exit(1);
} | [
"993273596@qq.com"
] | 993273596@qq.com |
3489cb8a8c24389954e4f955ffb0ba9ebe4236f3 | 9b0655a98507d706c3f98bc1ccfbaf3218bad3f9 | /Lecture9STLandAlgorithms/Algorithm/heap.cpp | d2d4838e27cb1d4650864e4cbb66bd022277ce7e | [] | no_license | NCCA/CFGAA | f408a4e47c9b949ca9a45cbe67a93404e771c83b | 964fc5db1f6474a513c7f40220d8f944a532fd0e | refs/heads/master | 2023-03-25T23:30:21.806677 | 2023-03-07T09:44:57 | 2023-03-07T09:44:57 | 235,330,178 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 648 | cpp | #include <iostream>
#include <vector>
#include <algorithm>
void printFunc(int i)
{
std::cout<<i<<"\n";
}
int main()
{
std::vector <int> data;
data.push_back(2);
data.push_back(4);
data.push_back(5);
data.push_back(6);
data.push_back(2);
std::for_each(data.begin(),data.end(),printFunc);
std::make_heap (data... | [
"jmacey@bournemouth.ac.uk"
] | jmacey@bournemouth.ac.uk |
917318ad8602b1839fedbec3856a8cdc451c24ec | 875c93415211ff5f1fbaa92fffe008cb5856e985 | /xi/flow_of_control_assignment/ques-2_ascii.cpp | 91baab82f9796cc815e320901f41582e0a8cdd1f | [] | no_license | Uchiha-Senju/practicals | 384774c5db544f7b1bcabe7f952eabb4fbed91cd | f18a5d7df14ced5bb93306eda210d3c4c860a211 | refs/heads/master | 2022-04-05T18:23:02.522784 | 2020-01-28T15:59:03 | 2020-01-28T16:01:02 | 151,337,483 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 806 | cpp | /*#####################################
##
## To output an ASCII character given
## the code and vice versa
##
## By Varad Mahashabde
## Copyright 2018
##
#####################################*/
#include <iostream>
using namespace std;
int main() {
int ch;
char choice;
cout << "Ascii2Num (1) or ... | [
"Uchiha-Senju@users.noreply.github.com"
] | Uchiha-Senju@users.noreply.github.com |
bfcc24ef9577d59d3fc637fbee70ad03a3658700 | 884c41edb91b958c2250a05f3d03fe38002233c7 | /lib/ledger/core/api/Configuration.hpp | 047b222081e832194255f54638754acec0e71146 | [] | no_license | teams2ua/lib-core-cmd | 1639071f90ba567be79be9a14dfbf0060e1d9c5b | 8d4274bb44624469bc6cc3c50d3156800bdc08c4 | refs/heads/master | 2021-07-10T03:27:48.073834 | 2020-07-15T10:21:01 | 2020-07-15T10:21:01 | 171,478,879 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,923 | hpp | // AUTOGENERATED FILE - DO NOT MODIFY!
// This file generated by Djinni from configuration.djinni
#ifndef DJINNI_GENERATED_CONFIGURATION_HPP
#define DJINNI_GENERATED_CONFIGURATION_HPP
#include <string>
#ifndef LIBCORE_EXPORT
#if defined(_MSC_VER)
#include <libcore_export.h>
#else
#define LIBCORE... | [
"andrii.korol@ledger.fr"
] | andrii.korol@ledger.fr |
f2deaa62761eca263200c8fd9b0e06fc65b0a150 | 954ceac52dfe831ed7c2b302311a20bb92452727 | /include/tvm/relax/attrs/nn.h | 694a510706839e4e12f2fc2ec440fa1b80f9ff9e | [
"Apache-2.0",
"LLVM-exception",
"LicenseRef-scancode-unknown-license-reference",
"MIT",
"Zlib",
"Unlicense",
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | tqchen/tvm | a0e4aefe8b8dccbdbe6f760549bed6e9545ad4a1 | 678d01dd4a4e75ef6186ce356bb1a20e584a7b24 | refs/heads/main | 2023-08-10T02:21:48.092636 | 2023-02-25T18:22:10 | 2023-02-25T18:22:10 | 100,638,323 | 23 | 8 | Apache-2.0 | 2023-02-20T16:28:46 | 2017-08-17T19:30:37 | Python | UTF-8 | C++ | false | false | 7,989 | h | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | [
"tianqi.tchen@gmail.com"
] | tianqi.tchen@gmail.com |
dd62a62d84db85a0c9771c35a4d888defd27cb44 | 74c4a7b5bbd9271afa830815aee142d4cb61cc8b | /163_sum_of_two_numbers_without_plus_sign.cpp | 70006f5615408543bab05680b0589fead79eacb4 | [] | no_license | hg3994/code.cpp | 62df8365077642ec674163e853141cd3f0e77fb9 | c8c4ccb61423178a293bb0d2da8e9cdbfa93a916 | refs/heads/master | 2021-12-15T16:16:12.541844 | 2021-12-07T09:48:55 | 2021-12-07T09:48:55 | 153,646,964 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,225 | cpp |
/*
Harshit Gupta | 30th July, 2021
---------------------------------
Problem Statement:
Given two integers a and b, return the sum of the two integers without using the operators + and -.
Example 1:
Input: a = 1, b = 2
Output: 3
Example 2:
Input: a = 2, b = 3
Output: 5
------
Solution: First of all, there ... | [
"hg3994@gmail.com"
] | hg3994@gmail.com |
98d07e02fe0b2693980c1b778a36bf7f55196263 | 8fcc9ed2c42e8f1f7ad61eb790b818381cb8bbef | /StripUtils.cpp | 07f29645ce3355f2f2e06535e99cb31fe5635571 | [] | no_license | EugeneFeingold/Hat2 | 02ec8d2753758aee58b6dd7a238a19e6ddb83c3b | f97310a8e463b041e949dc200a9e8d339916d7a5 | refs/heads/master | 2020-04-06T04:02:26.796760 | 2012-12-31T00:43:03 | 2012-12-31T00:43:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,549 | cpp | #include "StripUtils.h"
uint32_t StripUtils::getColor(byte r, byte g, byte b) {
uint32_t c;
c = g;
c <<= 8;
c |= r;
c <<= 8;
c |= b;
return c;
};
uint32_t StripUtils::getColor(float brightness, byte r, byte g, byte b) {
brightness = min(brightness, 1.0);
float fr = brightness * r;
float fg = ... | [
"eugene.feingold@gmail.com"
] | eugene.feingold@gmail.com |
31976c1e16d69a32219226b6407d0c01865d0187 | 6653d52fa13ade5b240bc65401a97b45e80881ce | /IDE/Contents/Include/PolycodeEditorManager.h | 1e99b28da23752f3eefc839cdceff575e4e55e18 | [
"MIT"
] | permissive | bope/Polycode | 1c0d5619bf9e68af39c887ce437e07ca7dde313f | 03aafbc12b8ddc03226e0945c167827a3de5c373 | refs/heads/master | 2021-01-16T00:46:39.623509 | 2013-03-17T18:14:31 | 2013-03-17T18:14:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,761 | h | /*
Copyright (C) 2012 by Ivan Safrin
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distri... | [
"ivansafrin@gmail.com"
] | ivansafrin@gmail.com |
cd2c90ef71183424687ffdd41b4dcc96df470fd7 | bf75f9916f2c9645a01bc4a9d38bb471095e669e | /NaturalEngine/Engine/BaseShader.cpp | bcbd8019310962a75b97695a8e3c73ad07024844 | [] | no_license | jjzhang166/NaturalEngine | 860ea8355b4cec8c1733c4ec2f291a3369b53664 | 12fb7b5da2df376a666d7a59ed16a537a7626df7 | refs/heads/master | 2023-04-16T12:41:56.556786 | 2019-12-26T01:17:13 | 2019-12-26T01:17:13 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 3,052 | cpp | #include "BaseShader.h"
#include <iostream>
#include <fstream>
#include <sstream>
BaseShader::BaseShader(const char * shaderPath)
{
path = std::string(shaderPath);
std::string shaderCode = loadShaderFromFile(shaderPath);
const char* shaderString = shaderCode.c_str();
shadtype = getShaderType(shaderPath);
shad = ... | [
"1335138813@qq.com"
] | 1335138813@qq.com |
e586c7ac620c8155938b18fa85e0e94c4dcece73 | 3371510b9bfb3afb15f0e0855cda1ad49eb1dd67 | /URI-EN/AD-HOC/1105 - Sub-prime.cpp | 49d3559a569da280773dd63b21cdc5e3b9ed131d | [] | no_license | felipesdias/Extractor-URI-Online-Judge | 30d031dbf8d55b62a83124e7b20d121ff98fee92 | 74717bd2e51939e7be67b552802b1a1b9612849e | refs/heads/master | 2021-08-17T08:20:54.696524 | 2017-11-21T00:23:33 | 2017-11-21T00:23:33 | 111,474,664 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 737 | cpp | // Author: Felipe Souza Dias <felipe.s.dias@outlook.com>
// Name: Sub-prime
// Level: 2
// Category: AD-HOC
// URL: https://www.urionlinejudge.com.br/judge/en/problems/view/1105
#include <cstdio>
int main() {
int b, n, d, c, v, rend[25];
bool possivel;
scanf("%d %d", &b, &n);
while(b && n) {
possi... | [
"felipe@dinnisoft.com.br"
] | felipe@dinnisoft.com.br |
b2a5987460d926a2626c6ef51552aaeb707fa3c2 | 1caa5e47fab729499276924e8dcc8e42f0f6e6f6 | /bwn-modules/console-tests/include/DistormWrapper.h | 9b53b5a555d44c29508cb46df4e45260a5233c1b | [] | no_license | luedos/console-tests | 5de35fd30bf4ed22d47d004fbe53dc60705758d8 | 00925587507ce8f684d48d89f9f07f6863d8109e | refs/heads/master | 2020-08-10T05:43:38.605935 | 2019-12-04T13:51:55 | 2019-12-04T13:51:55 | 214,272,084 | 1 | 0 | null | 2019-11-26T20:57:29 | 2019-10-10T19:47:54 | C++ | UTF-8 | C++ | false | false | 233 | h | #pragma once
#include <string>
#include <vector>
#include "distorm.h"
std::vector<_DInst> GetInstructions(const std::string& code, const std::vector<unsigned int>& relocs = {}, size_t prologSize = 0, size_t epilogSize = 0);
| [
"vlad.ol.berd@gmail.com"
] | vlad.ol.berd@gmail.com |
4a2b7566b05ca9eededf8e929cb31c430dbe96f9 | 6196eb853e2166bc0789e282113146c658af33e1 | /src/core/search/DocRanker.cpp | 5e5d36c11121fcc0fd87ae44c2c9ea6231d18c15 | [
"MIT"
] | permissive | zxs-learn/Skilo | b6d4e5ef995653653078f8b8d09cefeca344f7dc | adc73692dfa41c11b74ce02bfc657a5692156187 | refs/heads/master | 2023-04-13T05:45:13.357540 | 2021-03-10T10:47:17 | 2021-03-10T10:47:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 688 | cpp | #include "DocRanker.h"
#include <iostream>
namespace Skilo {
namespace Search {
DocRanker::DocRanker():_scorer_num(0)
{
}
void DocRanker::add_scorer(std::unique_ptr<Scorer> scorer)
{
if(_scorer_num==MaxRankCriteriaCount){
return;
}
_scorers[_scorer_num++]=std::move(scorer);
}
std::vector<number... | [
"793626853@qq.com"
] | 793626853@qq.com |
5c26a5663fb89079b9d220b95e52fa895addc4e8 | 6d0cdaf53056b6611b0e01ee6397ac79ac8d357a | /Find Bunker/SFML5/StateStack.h | 43d22bd8a4efd04ea39223038154a096f2115126 | [] | no_license | kko2017/FindBunkerGame | cdb139e43c96466d15714cb2045744529054e06d | 18997b995814785446c9b6c057ecad0b74a1f420 | refs/heads/master | 2023-02-21T21:54:15.072088 | 2021-01-29T06:15:02 | 2021-01-29T06:15:02 | 178,708,541 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,138 | h | /**
* @file
* StateStack.h
* @author
* Kwangeun Oh
* @version 1.0
*
*
* @DESCRIPTION
* This is the Find Bunker game
*
* @section LICENSE
*
*
* Copyright 2019
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
* above copyright no... | [
"kwangeunoh1@gmail.com"
] | kwangeunoh1@gmail.com |
e241d4cef35bf5e1e8b3436d645a7e120234ef86 | 00aff7b9bbb5903d368fa524c0562c3b8046edb2 | /9/9_3.cpp | e3be99053db4f4f310e2b255c3c784bf30a626e6 | [] | no_license | ImaGe0401/AOJ | 20c3c90f404313b80adfd478cf071c5d29b3afef | 53dac0182237fc192a0e1ba04c1368a091796dff | refs/heads/main | 2023-08-06T00:20:56.815740 | 2021-10-01T14:42:46 | 2021-10-01T14:42:46 | 409,249,763 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,674 | cpp | //include
//------------------------------------------
#include <vector>
#include <list>
#include <map>
#include <set>
#include <deque>
#include <stack>
#include <bitset>
#include <algorithm>
#include <functional>
#include <numeric>
#include <utility>
#include <sstream>
#include <iostream>
#include <iomanip>
#include <... | [
"fesespecialist@gmail.com"
] | fesespecialist@gmail.com |
35acda3655e6e287ab169e52378aa1d31bfb1b3f | f8653ef2f4710df7ccf49351a531b2eea85856e5 | /M1T1_Fletcher/main.cpp | 82ac134170e39cd1836d8247d716ff8645062095 | [] | no_license | fletchej1063/CSC134 | 414b513a190fb5c1d066de9fa08a1b617838403b | 6f86469ab8818cf43ff57025e0d33fd02976e86b | refs/heads/master | 2020-04-16T20:51:02.289615 | 2019-05-14T18:05:34 | 2019-05-14T18:05:34 | 165,908,116 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 166 | cpp | #include <iostream>
// CSC 134
// M1T1
// Joseph Fletcher
using namespace std;
int main()
{
cout << "Hello from CSC134!" << endl;
return 0;
}
| [
"noreply@github.com"
] | fletchej1063.noreply@github.com |
7bd74428ce35d59ca4cc2370a4fc29408e32d6b0 | bc7abdc6168c11eaca6fc1c4dd0e5b69595ad694 | /src/reactivision/common/FingerObject.h | 6ae755e809492c0ff9def29333058c7ccf8c6230 | [] | no_license | internaut/iReacTIVision | d7d608d333e7242ec45a9d19b5c2aaf50ada8710 | 84712f8bbe0f77246067a3273ca6558a5e82816c | refs/heads/master | 2016-09-06T03:33:54.770479 | 2014-05-12T13:51:52 | 2014-05-12T13:51:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,321 | h | /* reacTIVision fiducial tracking framework
FingerObject.h
Copyright (C) 2005-2008 Martin Kaltenbrunner <mkalten@iua.upf.edu>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either ... | [
"post@mkonrad.net"
] | post@mkonrad.net |
af540551e7265d7830163b7cc62b30dc8f06c300 | a768016fe65906143a47c1359232c384d98068af | /StdAfx.cpp | 8fad14dbc3bcff41b8ab7bd1c44818fe90413fa2 | [
"MIT"
] | permissive | DTL2020/WriteTransients | bc11bb508dd1df69edba44306294bfccdc0b2f81 | db3210b61243486b5fbd13187d5346e766cae53d | refs/heads/main | 2023-08-03T12:06:29.954857 | 2021-10-02T11:36:11 | 2021-10-02T11:36:11 | 411,781,403 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 302 | cpp | // stdafx.cpp : source file that includes just the standard includes
// WriteTransients.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
// TODO: reference any additional headers you need in STDAFX.H
// and not in this file
| [
"noreply@github.com"
] | DTL2020.noreply@github.com |
b2415818750f0c17daac085c49d7c5c91b7b5536 | f9b7dcbd841a0b3dd0fcd2f0941d498346f88599 | /components/viz/common/features.h | f28c1096570a067e6ecd85a3a5406d6abc229801 | [
"BSD-3-Clause"
] | permissive | browser-auto/chromium | 58bace4173da259625cb3c4725f9d7ec6a4d2e03 | 36d524c252b60b059deaf7849fb6b082bee3018d | refs/heads/master | 2022-11-16T12:38:05.031058 | 2019-11-18T12:28:56 | 2019-11-18T12:28:56 | 222,449,220 | 1 | 0 | BSD-3-Clause | 2019-11-18T12:55:08 | 2019-11-18T12:55:07 | null | UTF-8 | C++ | false | false | 1,255 | 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 COMPONENTS_VIZ_COMMON_FEATURES_H_
#define COMPONENTS_VIZ_COMMON_FEATURES_H_
#include "components/viz/common/viz_common_export.h"
#include "base/... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
4ec3e30171a00eb5f5f235a0b04bbacc3b7d3b1e | 605f930419e09f883eb2d933f043742f86a4c4be | /Classes/AbstractClasses/CAbstractProtectiveUnit.h | d7c24de6b8337f8a2e7e4e6ff23e2fedb3ca2c2c | [] | no_license | jasesuperhero/TowerDefence | 7e781330a1ce93927ef5ab394c2834e9a3399fe5 | 835cfe81130bc308092b303d33fba24131d63b9d | refs/heads/master | 2016-08-04T21:35:03.516797 | 2013-12-18T20:48:10 | 2013-12-18T20:48:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,252 | h | //
// CAbstractProtectiveUnit.h
// HelloCpp
//
// Created by Daniel on 05.11.13.
//
//
#ifndef __HelloCpp__CAbstractProtectiveUnit__
#define __HelloCpp__CAbstractProtectiveUnit__
// Кастомные
#include "CAbstractUnit.h"
class CLandscape;
class CAbstractProtectiveUnit : public CAbstractUnit
{
protected:
int _h... | [
"jase.siperhero@gmail.com"
] | jase.siperhero@gmail.com |
8b4a7fb19ad23ce406b1e1bca0039e6a2c0a9297 | d5400d1bfeb469b38cbec7ae1f71bfe412715c8d | /SList.cpp | e499be644a6af8168386c9a4eeb34e0bfbc763c1 | [] | no_license | 130000002947823457136193789891/SList | f860e6882a871461fb2ed7b307cfcec955eb1ee9 | 82b206adc9acb035f6ac25a3e0c5fe435a797fa6 | refs/heads/master | 2020-03-30T06:24:07.657828 | 2018-09-29T11:33:44 | 2018-09-29T11:33:44 | 150,855,034 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 458 | cpp | #include<iostream>
#define MAXSIZE 100
typedef int DataType;
using namespace std;
class SequenList
{
public:
friend void Part(SequenList &L);
private:
DataType data[MAXSIZE];
int len;
};
void Part(SequenList &L)
{
int i,j;
DataType a;
a=L.data [0];
i=0;
j=L.len-1;
while(i<j)
{
while((i<j)&&(L.data[j]>=a))... | [
"1677080339@qq.com"
] | 1677080339@qq.com |
2324a8d73e9d6a09fc2a0c185b064d39d207cadc | 9859ac43bea53208d778a01a07a37776549c9ffe | /Cpp_Version/ship.h | 7f0a674c9cebb4747b1bf4dd11c16b03912f360e | [
"Apache-2.0"
] | permissive | nikos-rvnt/Battleship_Game | 8a3ea88046aa51068b5bad6381eb05e5ed98784c | 9325595afc97bba492b36980d0575518af3a1f44 | refs/heads/master | 2020-03-21T11:11:25.696490 | 2018-08-14T20:50:00 | 2018-08-14T20:50:00 | 138,493,402 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 453 | h | #ifndef SHIP_H
#define SHIP_H
#include "tile.h"
#include "board.h"
enum orientation { horizontal, vertical};
class Ship
{
private:
Tile start_index;
orientation ornt;
public:
Ship();
Ship(Tile start_index, orientation ornt);
orientation getOrient();
virtual bool placeShip( Tile start_index... | [
"noreply@github.com"
] | nikos-rvnt.noreply@github.com |
54b1cf61425ed9246af1a98f1134a1ad76d4019c | 9e1e09ea61632e80465f371a083625d03b1e5ab2 | /src/WalletLegacy/WalletUnconfirmedTransactions.cpp | 7fc89f76191e5b42b53233016ae97a0a14c2393b | [
"MIT"
] | permissive | bitcoin-note/bitcoin-note | 0f93c5a04dda2df6ff838187d894a0c4af633649 | 7be1e60f327b7ce1f995fee97f80131dcb934e70 | refs/heads/master | 2021-05-11T19:50:51.485229 | 2018-01-18T00:05:24 | 2018-01-18T00:05:24 | 117,895,059 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 4,128 | cpp | // Copyright (c) 2018, The Bitcoin Note Developers.
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "WalletUnconfirmedTransactions.h"
#include "WalletLegacy/WalletLegacySerialization.h"
#include "CryptoNoteCore/CryptoN... | [
"bitnotecurrency@gmail.com"
] | bitnotecurrency@gmail.com |
b7befd0bf498ba5e7afea0549cc9cf0c85d45301 | d0fb46aecc3b69983e7f6244331a81dff42d9595 | /dataworks-public/src/model/GetQualityEntityResult.cc | 716587be573ea16d70ec8c52194a167b3ef10ec3 | [
"Apache-2.0"
] | permissive | aliyun/aliyun-openapi-cpp-sdk | 3d8d051d44ad00753a429817dd03957614c0c66a | e862bd03c844bcb7ccaa90571bceaa2802c7f135 | refs/heads/master | 2023-08-29T11:54:00.525102 | 2023-08-29T03:32:48 | 2023-08-29T03:32:48 | 115,379,460 | 104 | 82 | NOASSERTION | 2023-09-14T06:13:33 | 2017-12-26T02:53:27 | C++ | UTF-8 | C++ | false | false | 4,183 | cc | /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | [
"sdk-team@alibabacloud.com"
] | sdk-team@alibabacloud.com |
9545bc88b5bf4c86412bca2ed384d311a7dfe98d | e4292ab5dfb57c4d50cc514c369456b7d6715af4 | /cpp/NumberRanges/tests/test_MultiRange.h | 000e46a91fbbe2f693c49f89dabef913ebb70513 | [
"MIT"
] | permissive | tsmanner/sandbox | e80d4f9213b436b2b0a7da12bc29fdc50e5fec6b | 53b07c49b8cb5d2fb86cec5c1464a02fd1f4c673 | refs/heads/master | 2021-07-25T05:23:53.944411 | 2020-08-05T18:44:27 | 2020-08-05T18:44:27 | 205,987,288 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,268 | h | #include "MultiRange.h"
TEST_CASE("MultiRange Constructor", "[MultiRange]") {
auto mr = MultiRange();
CHECK(mr.getRanges().size() == 0);
}
TEST_CASE("MultiRange addRange", "[MultiRange][addRange]") {
auto mr = MultiRange();
auto originalRange = Range(-1, 1);
mr.addRange(originalRange);
// Make sure the... | [
"tsmanner@us.ibm.com"
] | tsmanner@us.ibm.com |
71b43ca2894117aad7635771eff7e7ed64185f98 | 5a3ff25304ee2fd2d5fee54a07ce0c5bc1ea37de | /BattlecodeBots/JoshBot/Structure.cpp | 942efe535c28c2052ffb81cef4b2565130821305 | [] | no_license | Wesxdz/battlecode-2018 | 29b105af484cf46523a4eb021c2af8e043893a1e | 87ecf0aa7e52124303be08aaac7a35ff49eaf215 | refs/heads/master | 2021-03-16T08:41:36.825260 | 2018-01-28T19:43:35 | 2018-01-28T19:43:35 | 116,757,703 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,409 | cpp | #include "Structure.h"
#include "Robot.h"
#include "GameController.h"
namespace units {
Structure::Structure()
{
}
Structure::~Structure()
{
}
uint32_t Structure::Cost()
{
return bc_UnitType_blueprint_cost(type);
}
uint8_t Structure::IsBuilt()
{
return bc_Unit_structure_is_built(self);
}
uintptr... | [
"cyberbrat326@yahoo.com"
] | cyberbrat326@yahoo.com |
4245e698ac41ab9c6e5c1abcbf4f0879a60397f3 | fc0a25351fa839c241e28be0f640301056f1ec20 | /gucc-build-desktop-Qt_4_8_1_in_PATH__System__Release/gucc-build-desktop-Qt_4_8_1_in_PATH__System__Release/.ui/ui_GMainWindow.h | 17604499ea8f9ccdec559ab3a4fc5843fae9bb0e | [] | no_license | Pulkit13/Code-Counting-Toolset | 11896b32a26388a0780b7c4bd1c159149e6c9c72 | d52fc5ab2a809618c34911dae0c6407aa4822a4b | refs/heads/master | 2016-09-11T08:00:41.487871 | 2013-09-11T07:11:59 | 2013-09-11T07:11:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,815 | h | /********************************************************************************
** Form generated from reading UI file 'GMainWindow.ui'
**
** Created: Tue Apr 16 17:18:32 2013
** by: Qt User Interface Compiler version 4.8.1
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
*****... | [
"pulkit.maheshwari13@yahoo.com"
] | pulkit.maheshwari13@yahoo.com |
0632775425c4b1ce48fe7297fd2641809035019e | 7fa83125d4d2fb8ec13d5ef458eee48ff86c3835 | /066_type_punning/HelloWorld/HelloWorld/src/Main.cpp | 5b8c67042a8f5b54fef256f505aae850cd823114 | [
"MIT"
] | permissive | christopher-besch/cpp_reference | 40e071c01bc62075648e4364b2b6bf0f60e88585 | ec84f2391697f58ff27668c27d14824eb542067e | refs/heads/master | 2023-02-09T12:16:43.146488 | 2021-01-03T18:29:31 | 2021-01-03T18:29:31 | 276,929,189 | 10 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 815 | cpp | #include <iostream>
#define LOG(msg) std::cout << msg << std::endl
class Entity
{
public:
int x, y;
};
int main()
{
int a = 50;
// implicit conversion
double value = a;
// same as
// double value = double(a);
// or
// double value = (double)a;
LOG(value);
// type punning
// converting int pointer into ... | [
"christopher.besch@gmx.de"
] | christopher.besch@gmx.de |
a6e6317bb126b4468fb5d59f4a7f6b1062628ce8 | 8e0d0720aba78d84367f70377c2924e648831413 | /UE3SDKGen/SingleItemWriter.h | 95110038482149b8f5df6ed02e69ba072cbc177e | [] | no_license | webdes27/UE3SDKGen | c1443dd46e00d8ffa0c12b862ec05d82559eb46d | 6784140ff91e4bd43637eb6612a5b9e91045f0fa | refs/heads/master | 2021-06-10T13:17:39.831532 | 2017-01-27T16:55:15 | 2017-01-27T16:55:15 | 264,675,318 | 0 | 1 | null | 2020-05-17T13:39:36 | 2020-05-17T13:39:36 | null | UTF-8 | C++ | false | false | 148 | h | #pragma once
#include "IndentationWriter.h"
template<typename T>
class SingleItemWriter
{
public:
void WriteCode(IndentationWriter &iw, T t);
};
| [
"chris.m@live.nl"
] | chris.m@live.nl |
832486ef165f680ff57f29de6782157931bbad7d | 9666b15d376c6adc51ad27e963189ad8e1aba20c | /NN/Input.h | e71d61bb4741e4d44a8cf8e59a69198746824c75 | [] | no_license | wooshe/NNWithGA | 91e12793f6f90d848293f7d4279c8bd3a8e6b9b4 | b8d9fe506612b077203a585f24e613a9682955f9 | refs/heads/master | 2020-09-18T07:19:00.031966 | 2019-11-26T08:14:58 | 2019-11-26T08:14:58 | 224,136,895 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 205 | h | //Класс для описания входов ИНС
class Input
{
public:
//Значение входа
double Value;
};
//Имя Output будет совпадать с Input
typedef Input Output; | [
"j_g_g@list.ru"
] | j_g_g@list.ru |
bf5a0efcda4b4ca7a2beb4f96b00da5897893881 | 950ec9dd55dc32975c46b3b61b98434edc9b2d0c | /Render/Camera.h | 90c16b40d7be2dad8e85e291d7b86223c386ba1b | [] | no_license | aSaul2006/GameEngineProject | a99bb0f73d74388f99758c84ca1215093eba972f | 3b3c5ada569aa1fc86383f90a078ecd439247ad1 | refs/heads/master | 2021-01-10T14:41:14.269844 | 2013-03-04T15:58:13 | 2013-03-04T15:58:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,516 | h | /************************************************************************
* Program Name: Lighting.h
* Name: GSP420 Rendering Core - Jesse Goldan, Mike Murrell *
* Date: January 28th - February 1st
* Description: A c... | [
"aaron.saul@PEND-2370.cayusetechnologies.com"
] | aaron.saul@PEND-2370.cayusetechnologies.com |
ae35218eb6db4f61a3b77875a09655db8d617320 | 7d026f691c39b7ca54f624475f2253f3c57d8879 | /arduino/dmp/inv_mpu.cpp | d7ef83947e64e8059c5c2b63241e0b904145b00f | [] | no_license | iverasp/unity3d_imu | bcd44ec24569b244948df44c097a1effdeab972d | 21637d74b224dfe86543c2cc4ec22d82bb4fdd1f | refs/heads/master | 2020-04-17T20:16:21.936872 | 2016-11-02T11:59:33 | 2016-11-02T11:59:33 | 66,857,512 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 81,456 | cpp | /*
$License:
Copyright (C) 2011-2012 InvenSense Corporation, All Rights Reserved.
See included License.txt for License information.
$
*/
/**
* @addtogroup DRIVERS Sensor Driver Layer
* @brief Hardware drivers to communicate with sensors via I2C.
*
* @{
* @file inv_mpu.c
* @bri... | [
"iverasp@gmail.com"
] | iverasp@gmail.com |
160ea5199afaabf33668de9b459d03a1268b1f23 | eb06e0e1d0ac4f9c34cac24fb2c78daa8857d73e | /plugintracker.h | cb45221424e9d9a1a92c63b75fe1e69d37d0a974 | [] | no_license | avsej/kismet | 6521f36d455e2df824fb9e3eabe62a5bbae86fb2 | 36c91fcfbca4d28cb37405715cd51e67e5b77ec0 | refs/heads/master | 2021-01-23T23:12:33.380383 | 2017-09-09T20:52:09 | 2017-09-09T20:52:09 | 102,956,241 | 1 | 0 | null | 2017-09-09T13:19:35 | 2017-09-09T13:19:35 | null | UTF-8 | C++ | false | false | 9,124 | h | /*
This file is part of Kismet
Kismet is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
Kismet is distributed in the ... | [
"dragorn@kismetwireless.net"
] | dragorn@kismetwireless.net |
ff7d471fc93cc2d95502d29bd7059d5e47c321c1 | 07a7045c925395d1c188d65300a228a9ca0c8ed5 | /149. Max Points on a Line.cpp | dbe9f5c7e441bf3f2af206f24458b30e5a7053f5 | [] | no_license | hu18yuanwai/leetcode | 1063766a751b228526e6c243e5791631c5b2b3c5 | b00f638fa3c3628eebba560621694ff2e6a8fb87 | refs/heads/master | 2020-04-06T07:02:18.549489 | 2017-06-20T02:44:09 | 2017-06-20T02:44:09 | 63,048,648 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,495 | cpp | /**
* Definition for a point.
* struct Point {
* int x;
* int y;
* Point() : x(0), y(0) {}
* Point(int a, int b) : x(a), y(b) {}
* };
*/
class Solution
{
public:
int maxPoints(vector<Point>& points)
{
if (points.size() < 3)
{
return points.si... | [
"hu18yuanwai@gmail.com"
] | hu18yuanwai@gmail.com |
c8f49c00de0d15203aa1aa015efe9d8e7b676aaa | 38240e3d2088ce2ed5d099121cc203044e911caf | /src/UI.cpp | 08e8b90ed9234451d9f37c4900019d53a602e045 | [] | no_license | Ria-0617/work | 3348554bc3e899b9d3a72a1b1a51df434a9b1f2e | 319b7812cf96a2de69bba7b52e83d57e15788a17 | refs/heads/master | 2020-03-23T12:15:47.379215 | 2018-10-02T20:14:52 | 2018-10-02T20:14:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,308 | cpp | #include "UI.h"
using namespace ci;
using namespace ci::app;
using namespace std;
UI::UI(int windowWidth, int windowHeght) {
score = 0;
timer = 3600;
uiCamera = CameraOrtho(0.f, windowWidth, windowHeght, 0.f, -1.f, 1.f);
uiCamera.setEyePoint(Vec3f(0.f, 0.f, 0.f));
uiCamera.setCenterOfInterestPoint(Vec3f(0.f, 0.... | [
"kyelese0617@gmail.com"
] | kyelese0617@gmail.com |
efb8fc22d6904b57dff8975b1b66a7e527d6bfd8 | e5b98edd817712e1dbcabd927cc1fee62c664fd7 | /Classes/common/Dialog/ServerLoadingLayer.h | df372a923cc00e07bc962fb1680f72d6eaf2c252 | [] | no_license | yuangu/project | 1a49092221e502bd5f070d7de634e4415c6a2314 | cc0b354aaa994c0ee2d20d1e3d74da492063945f | refs/heads/master | 2020-05-02T20:09:06.234554 | 2018-12-18T01:56:36 | 2018-12-18T01:56:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,065 | h | //
// ServerLoadingLayer.h
// SuiTang
//
// Created by zhangxiaobin on 15/1/14.
//服务器通讯loaing 不让玩家重复操作
//
#ifndef __SuiTang__ServerLoadingLayer__
#define __SuiTang__ServerLoadingLayer__
#include "cocos2d.h"
USING_NS_CC;
#include "../../module/BaseLayer.h"
class ServerLoadingLayer:public BaseLayer
{
public:
Serv... | [
"chenyanbin@ixianlai.com"
] | chenyanbin@ixianlai.com |
4397496455e8030db1c0d107c1d938733741184e | 35613a63c2dcf790adc2dcd025a9021a95f9762d | /resources/texture.h | 931eab24866b30389fbb6fc70fb9ff2f002f297a | [] | no_license | fromasmtodisasm/xrRenderPC_VK | 37bda9ff60c98a4de82999af0f2775d508dd094d | 07ef9bbc0a0ab21605423189b4e2952ae8d9c400 | refs/heads/master | 2022-03-24T11:42:53.270351 | 2019-12-21T08:06:03 | 2019-12-21T08:06:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,362 | h | #ifndef RESOURCES_TEXTURE_H_
#define RESOURCES_TEXTURE_H_
#include <functional>
#include <memory>
#include <string>
#include <vector>
#include "xrEngine/xrTheora_Surface.h"
#include "backend/streams.h"
class Texture
: public xr_resource_named
{
enum class TextureType
{
Unknown,
Normal,
... | [
"vtrubiloff@gmail.com"
] | vtrubiloff@gmail.com |
fa3b7b92370726e24615c7702c7ef58c697e17b6 | e1b8c74bf1b98f800ad6ed21752699666ca70319 | /Parser/Parser.h | 1a49248230a4ac171a81c4b518c76b76a55685c9 | [] | no_license | NickSifniotis/N | 107d1cc6cdf4d90de900cfa3afcbfbc75e101316 | 3409839af119f9eeda44124c3b5002dcbe917009 | refs/heads/master | 2016-08-12T15:52:03.574649 | 2015-12-16T03:20:46 | 2015-12-16T03:20:46 | 48,010,377 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 876 | h | #ifndef PARSER_H
#define PARSER_H
#include "Tokeniser.h"
#include "Token.h"
#include "ExpressionTree.h"
#include "ProgramStatement.h"
#include <vector>
#include <string>
class Parser
{
public:
Parser();
virtual ~Parser();
std::vector<ProgramStatement*> *parse(std::string filename);
pr... | [
"u5809912@anu.edu.au"
] | u5809912@anu.edu.au |
eb8d0931a347d12f9b285fab8c97aae4f3e1bb6b | d156e0359e72405a4387146d054f8a2db8ec726c | /MinoI.cpp | f05de9cdae434882c505382d7fdedbc590234a70 | [] | no_license | mystery110/CPP_Practice_Inheritance | a6a670e50ccf1d140e8a13436399299660171f25 | a8058ef024bf4f0ccd652aa9c30ddd48097a530f | refs/heads/master | 2020-04-25T17:16:26.457430 | 2019-02-27T15:34:31 | 2019-02-27T15:34:31 | 172,941,429 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 393 | cpp | #include"MinoI.h"
char I_arr [2][4][4] =
{{{'0','0','1','0'},
{'0','0','1','0'},
{'0','0','1','0'},
{'0','0','1','0'}},
{{'0','0','0','0'},
{'0','0','0','0'},
{'1','1','1','1'},
{'0','0','0','0'}}};
MinoI::MinoI():Mino(1){}
void MinoI::paint(){
for(int i=0;i<4;++i){
for(int j=0;j<4;++j)
cout << ... | [
"f74067094@mail.ncku.edu.tw"
] | f74067094@mail.ncku.edu.tw |
2cee8d2bb8ff300e6d477a21a4dbd004dddd5789 | 85c10166e26f633bf61ea32277e980d5b16325a5 | /Arduino Kurs 2016/_9_Mapping/_9_Mapping_Loesung.ino | ba045f8b6d71fd3853e281d7488e7689b79fa35f | [] | no_license | khinsberger/ASL-GoKart | b21d3c540ce9680dd158082635f80137e8f17884 | 071b388506ea4013792cb3ef05b2d6a75b6d0952 | refs/heads/master | 2020-12-17T04:46:12.711368 | 2016-10-11T17:03:31 | 2016-10-11T17:03:31 | 51,257,081 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 552 | ino | /*
* Mini-Projekt 9: LED mit einem Potentiometer steuern
* Loesung
*/
// Variablen für die Pins initialisieren
const int potiPin = A0;
const int ledPin = 11;
void setup() {
// Pins deklarieren:
pinMode(potiPin, INPUT);
pinMode(ledPin, OUTPUT);
}
void loop() {
// Wert des Potentiometers auslesen und in ein... | [
"k.hinsberger@googlemail.com"
] | k.hinsberger@googlemail.com |
93ad293c2f5c241283a55cb732c68369aefe754e | 9c43b6bb941b1f5f92dd6d4aa9a7afa4e7f0e4f0 | /Proyecto final.cpp | 6962633e7a713926fb2cf24739cc9f79b8c80b16 | [] | no_license | do9900/cine-C | a712d47336f0b14121286630a791d1787d626b58 | 0ce696d40f20d82fec2f25fd5b69bfc331eb694c | refs/heads/main | 2023-01-24T10:08:05.013061 | 2020-11-19T17:26:23 | 2020-11-19T17:26:23 | 314,320,424 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 25,581 | cpp | /* SISTEMA CINE
Este proyecto está basado en una representación de un cine,
en donde, en un principio, se debe registrar la cartelera (listado de peliculas), cada cual
con un precio unitario y el número de peliculas que dispone la cartelera,
esta lista de peliculas se guarda utilizando archivos para asi util... | [
"diegohuarez123@gmail.com"
] | diegohuarez123@gmail.com |
ae99a4a4053c7abc9c51545aae34000662ea4cc0 | b11b2b488d94ae20f58cfe40bae0987c32b5945e | /LEMOS-2.3.x/libLEMOS-2.3.x/turbulenceModels/incompressible/PANS/turbulentPrandtlModels/zeroTransportModel/zeroTransportModel.H | 2057b512fb77967702d3dd2eaef56731564b6147 | [] | no_license | jamesjguthrie/mayerTestCase | 93dbd9230e16a0f061cec97c7ddf6cb5303e1c95 | 9279ad56b62efa1507ff8b1bcd96e3ce2daceb56 | refs/heads/master | 2021-03-30T18:20:33.641846 | 2019-06-25T12:55:07 | 2019-06-25T12:55:07 | 26,530,210 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,049 | h | /*---------------------------------------------------------------------------*\
========= |
\\ / F ield | Unsupported Contributions for OpenFOAM
\\ / O peration |
\\ / A nd | Copyright (C) 2014 LEMOS, University Rostock
\\/ M anipulation |
------... | [
"james@heyjimmy.net"
] | james@heyjimmy.net |
583836ab57dd92755dd5761e2e6426153688073c | 52711c8a7483ed1fd968e78751ddf0f68ef67666 | /20160301/vector.cc | 3dfc49a1b5347052e963f77921c064171daaa629 | [] | no_license | patrickbiao/C- | e3b3d74b3a577a7d872904422052727710ba309a | 7eb0ab2951f7a75690666ae05236e833b0ba9c85 | refs/heads/master | 2021-01-10T05:26:57.445960 | 2016-03-14T14:06:04 | 2016-03-14T14:06:04 | 52,513,300 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,405 | cc | ///
/// @file vector.cc
/// @author patrick(730557219@qq.com)
/// @date 2016-03-02 22:00:17
///
#include <iostream>
#include <vector>
using std::cout;
using std::endl;
using std::string;
void printfVector(std::vector<int> & vecInt)//传他的引用
{
cout << "vector's size :" << vecInt.size() << endl;//类似于strlen... | [
"730557219@qq.com"
] | 730557219@qq.com |
7354be8ea69e705781c84f2903219bc6020e2a40 | ebabdda85c71fb3cd85a0cc07357a3a7ebc575ff | /Contest1221/H.cpp | ec7c6030dad8c90b53f19d76fb66e78fb02d6458 | [] | no_license | xiaji/NOIP2018FS | c732da0b30237c0bddef75fe232e06f7c42ef21c | 6902b89251924e261190bb9d77a75240bc99f6f2 | refs/heads/master | 2020-07-24T08:19:26.279164 | 2018-11-09T23:18:55 | 2018-11-09T23:18:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 514 | cpp | #include <bits/stdc++.h>
using namespace std;
int main() {
vector<int> F(1, 1);
for (int i = 2; i <= 9; i++) {
F.push_back(F[F.size() - 1] * i);
}
int T;
cin >> T;
while (T--) {
int n;
cin >> n;
for (int i = F.size() - 1; i >= 0; i--) {
if (F[i] <= n... | [
"zj@webturing.com"
] | zj@webturing.com |
59c54ac452f0410e50d4ac1d59425e4af158124d | 41b3dc19df92c63a34ac4d0965557f8bc8e11b3c | /Algorithms/Dynamic Programming/LCS_TopDown.cpp | 087e0915c9cb234dee33d5d0e2c616a50af068de | [] | no_license | AyushSri19-777/Coding-2020 | 6153228dad129f8bdbb8923bfe4c9ffacafb2e98 | 8585c2ec2573871a182c72183f372416039019e7 | refs/heads/master | 2022-12-24T20:46:49.235973 | 2020-10-01T18:39:33 | 2020-10-01T18:39:33 | 259,876,021 | 0 | 3 | null | 2020-10-01T18:39:34 | 2020-04-29T09:02:41 | C++ | UTF-8 | C++ | false | false | 742 | cpp | #include <iostream>
#include <string.h>
using namespace std;
int LCS(string x,string y,int n,int m)
{
int t[n+1][m+1];
for(int i=0;i<n+1;i++)
{
for(int j=0;j<m+1;j++)
{
if(i==0||j==0)
t[i][j]=0;
}
}
for(int i=1;i<n+1;i++)
{
for(int j=1... | [
"sri.ayush777@gmail.com"
] | sri.ayush777@gmail.com |
08026232008dcbe946fcc2f14e05859cf0e852c2 | 0528b84f8160ff52f8af068a1dc3c27488a21940 | /StateCompare.h | 95d5f61af7f8cca03b07e5130e1a1b1f8864d770 | [] | no_license | YairHanimov/Searching_Algorithm_Server | e2c683a179bd25a2ed836614be8c5b8799cb7286 | ca0ad9f853140deee0be93ffb7761fbb91eb9fef | refs/heads/master | 2020-12-09T19:49:04.038346 | 2020-01-27T13:04:41 | 2020-01-27T13:04:41 | 233,403,309 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 402 | h | //
// Created by eyal on 19.1.2020.
//
#ifndef SEARCHING_ALGORITHM_SERVER_STATECOMPARE_H
#define SEARCHING_ALGORITHM_SERVER_STATECOMPARE_H
#include "State.h"
using namespace std;
template<class T>
class StateCompare {
public:
bool operator()(State<T> *first, State<T>* second) {
return first->getCost() >... | [
"eyalgolan96@gmail.com"
] | eyalgolan96@gmail.com |
f404c204fcd942835dba16926a36283ada90d480 | 39e348a6cfdc365a49b03695a3a86f92aa72fd2b | /C++/chapter18/ex1809/EX1809.cpp | 5b3953d685d33682877b66bfde05d1f465812f8b | [] | no_license | qiuyongchen/code_saver | fd646e969774b190d764f709c4233e6283af84f1 | afbec799e72901e85e9434bbe3cc745d9735fc6f | refs/heads/master | 2021-01-10T04:48:00.349287 | 2016-02-21T04:18:52 | 2016-02-21T04:18:52 | 45,052,084 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 730 | cpp | // read in several strings and print only those ending in 'r' or 'ay',
// only lowercase letter should be consider.
#include <iostream>
#include <string>
using namespace std;
int main() {
string str;
cout << "how many strings do you want to check out? :\n";
int n;
cin >> n;
while (n--) {
co... | [
"qiuych3@mail2.sysu.edu.cn"
] | qiuych3@mail2.sysu.edu.cn |
007eed4a859e4510a793613d0394731071be4d6d | 6f1ce130dac16d444104ad390c004708ea08a86e | /src/huawei_vector_test.cpp | e93473edf8131d6c97262435b253787ab8062e44 | [] | no_license | weihuacern/boosttest_playground | f2dcfc751ef83a6b0d7d4ad12447e10ccb9634df | 976726967666651903b8394dc64f75208c38d1a7 | refs/heads/master | 2021-03-12T04:55:18.519692 | 2020-04-23T04:18:08 | 2020-04-23T04:18:08 | 246,591,230 | 1 | 0 | null | 2020-04-23T04:18:09 | 2020-03-11T14:19:21 | C++ | UTF-8 | C++ | false | false | 854 | cpp | #define BOOST_TEST_DYN_LINK
#define BOOST_TEST_MODULE vector_test
#include <boost/test/included/unit_test.hpp>
#include <boost/mpl/list.hpp>
#include "huawei_vector.hpp"
BOOST_AUTO_TEST_CASE(test_vector) {
huawei::vector<int> huaweiIntVec(3, 1);
std::vector<int> stdIntVec = {1, 1, 1};
BOOST_CHECK_EQUAL_CO... | [
"noreply@github.com"
] | weihuacern.noreply@github.com |
ac870ac7cb1b7f221bcfec1ebb2f92bf4a5964eb | 26eb0ecee7e9ae0fa75793a57fc51cc7659b5971 | /Amid-summer.cpp | ef7f1a78d9a0d265f4256e11608092663fa4d953 | [] | no_license | RalphVita/ProgramacaoCompetitiva | 74c1bf47a840b3c139b56438a86e668307b4f3e2 | 04b62136f97146873de52a928ef90e2ff135a571 | refs/heads/main | 2023-01-30T09:26:46.280163 | 2020-12-14T16:10:16 | 2020-12-14T16:10:16 | 300,580,281 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,089 | cpp | #include <iostream>
#include <algorithm>
#include <vector>
#include <map>
#include <utility>
#include <set>
#include <numeric>
using namespace std;
int Minimizar(vector<int> &v, int a, map<int,pair<set<int>,int>> &map, int &minSum){
int sum = 0;
for (auto x: v){
sum += abs(x-a);
}
//A partir do... | [
"ralph.vita@gmail.com"
] | ralph.vita@gmail.com |
a1ac86f87dc8ebf1ee8034312010d37c936197f3 | cd4a7f03a2a62ffe260bcd8ec5e72313956afb6e | /Source/TPE/Public/TPE_CharacterWidget.h | f99b8c68b90b45998b29adb4339d2a9e33673a04 | [
"MIT"
] | permissive | ssapo/TPE_Darksouls | 07536100a0ef8d94faa71c0cde7682b60eac1fdb | 4d1c883e19076d4c403a0c6b745dc0c225280fea | refs/heads/master | 2020-03-31T08:23:28.446128 | 2019-07-04T14:38:18 | 2019-07-04T14:38:18 | 152,054,771 | 10 | 1 | MIT | 2019-07-04T14:38:19 | 2018-10-08T09:39:33 | C++ | UTF-8 | C++ | false | false | 1,194 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "TPE.h"
#include "Blueprint/UserWidget.h"
#include "TPE_CharacterWidget.generated.h"
/**
*
*/
UCLASS()
class TPE_API UTPE_CharacterWidget : public UUserWidget
{
GENERATED_BODY()
public:
void BindCharacterStat(cl... | [
"songsiyoon@gmail.com"
] | songsiyoon@gmail.com |
4befac443bac5bcb581d1c40bdb4c81bad4fccae | e3a9881388760aa08e470632dc8375b1f09f0f1f | /main.cpp | 29175f400d533eaf2d524e23cf735e01c286f061 | [] | no_license | changnet/GameProxy | 1a96657ad414944700c09e01c52528ad332a208f | 0936a7e29f3a4a44357c2bc5d6a3f698b76c0392 | refs/heads/master | 2020-09-13T13:21:14.853473 | 2015-10-27T02:27:18 | 2015-10-27T02:27:18 | 31,811,022 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,276 | cpp | #include <iostream>
#include <ev++.h>
#include <unistd.h>
#include <cstdlib>
#include <cstdio>
#include <signal.h>
#include "CProxySession.h"
#include "CSetting.h"
#include "CBackend.h"
#include "CPool.h"
#include "gslog.h"
using namespace std;
void start_session(const char *file);
void write_config(const char *file... | [
"940477049@qq.com"
] | 940477049@qq.com |
8a8ac7eec7f20439523dc2818f806b1d2004b4e6 | 06954096d7b4d0732379f6354f8a355af6070831 | /src/game/shared/swarm/asw_weapon_railgun_shared.cpp | d55cb0317e9f50bfc544096c72b972ba61b6dc52 | [] | no_license | Nightgunner5/Jastian-Summer | 9ee590bdac8d5cf281f844d1be3f1f5709ae4b91 | 22749cf0839bbb559bd13ec7e6a5af4458b8bdb7 | refs/heads/master | 2016-09-06T15:55:32.938564 | 2011-04-16T17:57:12 | 2011-04-16T17:57:12 | 1,446,629 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 22,548 | cpp | #include "cbase.h"
#include "asw_weapon_railgun_shared.h"
#include "in_buttons.h"
#ifdef CLIENT_DLL
#define CASW_Weapon C_ASW_Weapon
#define CASW_Marine C_ASW_Marine
#define CBasePlayer C_BasePlayer
#include "c_asw_player.h"
#include "c_asw_weapon.h"
#include "c_asw_marine.h"
#include "c_asw_railgun_beam.h"
#include "... | [
"nightgunner5@llamaslayers.net"
] | nightgunner5@llamaslayers.net |
4c70b3ae1f116df6b78f541838af66623b684610 | 04ed83d07f5e2e4712f25669759c32a428a28cd3 | /src/dhtnetgraph.cc | ab83da3de6d25161251d8b27f9997a517bec8135 | [] | no_license | hmatuschek/ovlclient | 64d9033610b2fce3eb8d8d7ad0e85048b087ef52 | 3f87dae3ec181a9d3361825e6941f3dfeda0de4a | refs/heads/master | 2021-01-17T14:52:33.791994 | 2016-07-14T13:31:22 | 2016-07-14T13:31:22 | 52,441,399 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,163 | cc | #include "dhtnetgraph.hh"
#include <QPainter>
#include <QPen>
#include <QBrush>
#include <QColor>
DHTNetGraph::DHTNetGraph(QWidget *parent)
: QWidget(parent)
{
setMinimumWidth(300);
setMinimumHeight(75);
update(QList< QPair<double, bool> >());
}
void
DHTNetGraph::update(const QList<QPair<double, bool> > &nod... | [
"hmatuschek@gmail.com"
] | hmatuschek@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.