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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ccfd1d134a2cd2b703141b190c0e7a2d386ab576 | 67cf5d1d7ea62ca9e7b35c42c042efcf1c77ff36 | /mapimg101/projRowCol.h | 6d223b8b2468c99ca202a23428d65410d06ffeb7 | [] | no_license | bpass/cegis | d3c84d2d29a084105b4c207391ddc6ace0cdf398 | 6c849e41974b8ff844f78e260de26d644c956afb | refs/heads/master | 2020-04-03T18:57:58.102939 | 2013-04-24T22:07:54 | 2013-04-24T22:07:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,277 | h | // $Id: projRowCol.h,v 1.3 2005/01/11 17:11:28 jtrent Exp $
//Copyright 2003 United States Geological Survey
//Released under GPL with mapimg copyright 2003 USGS
/////////////////////////////////////////////////////////
// Class for separating and returing rows and columns //
// ... | [
"jtrent"
] | jtrent |
175911ee544f99b4f10e347d457e22e3a40685d6 | 6c996ca5146bd307a062f38819acec16d710656f | /workspace/iw8/code_source/src/iwmem/gamelog/iwmem_dump_hierarchy.cpp | fea3a6974a1765cd2c1a7520ee158c66539d7021 | [] | no_license | Omn1z/OpenIW8 | d46f095d4d743d1d8657f7e396e6d3cf944aa562 | 6c01a9548e4d5f7e1185369a62846f2c6f8304ba | refs/heads/main | 2023-08-15T22:43:01.627895 | 2021-10-10T20:44:57 | 2021-10-10T20:44:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,237 | cpp | /*
==============
IWMemDumpHierarchyData::TruncateStackName
==============
*/
void __fastcall IWMemDumpHierarchyData::TruncateStackName(IWMemDumpHierarchyData *this, const int len)
{
?TruncateStackName@IWMemDumpHierarchyData@@QEAAXH@Z(this, len);
}
/*
==============
IWMem_Dump_Hierarchy_RecurseProfileTree
=========... | [
"zkitx@zkitx.jp"
] | zkitx@zkitx.jp |
179b48487d20bfde87546251603d7f8ac2a4e36b | 8f608437957f7c9eb03f0ee00457e10282059ec8 | /UVa/102.cpp | 2db33d70dd0732e6b5b550da5211ce296e91c905 | [] | no_license | npkhang99/Competitive-Programming | 0ddf3cfcfc13825f7fadaf5b53fdef16ca77522f | 1a5e3799e5855996aa56688680765511b0de7281 | refs/heads/master | 2023-06-28T15:17:44.489901 | 2021-07-30T05:31:15 | 2021-07-30T05:31:15 | 66,803,586 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 683 | cpp | #include <stdio.h>
#include <string>
using namespace std;
int b1, b2, b3, g1, g2, g3, c1, c2, c3;
int main(){
while(scanf("%d%d%d%d%d%d%d%d%d\n",&b1,&g1,&c1,&b2,&g2,&c2,&b3,&g3,&c3)!=EOF){
int ans = b2+b3+c1+c3+g1+g2;
string st = "BCG";
if (ans>b2+b3+g1+g3+c1+c2) ans = b2+b3+g1+g3+c1+c2, s... | [
"curoa99@gmail.com"
] | curoa99@gmail.com |
6a009d34e570d770f3a965963c6eedb1c2e2b404 | 5521a03064928d63cc199e8034e4ea76264f76da | /fboss/cli/fboss2/commands/show/fabric/CmdShowFabric.h | 599fe790fe1fb7e17f297a68312e586a0db64f19 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | facebook/fboss | df190fd304e0bf5bfe4b00af29f36b55fa00efad | 81e02db57903b4369200eec7ef22d882da93c311 | refs/heads/main | 2023-09-01T18:21:22.565059 | 2023-09-01T15:53:39 | 2023-09-01T15:53:39 | 31,927,407 | 925 | 353 | NOASSERTION | 2023-09-14T05:44:49 | 2015-03-09T23:04:15 | C++ | UTF-8 | C++ | false | false | 5,619 | h | /*
* Copyright (c) 2004-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
*/
#pr... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
35e93f1478315a3926900a30f2bc04d224c4d0a5 | e5e19ad22cd0312a00268de18fc1d529d2a41aad | /CSGOFullv2/TE_EffectDispatch.cpp | 522ab49505c93de2a65308ffb62a52b427be3621 | [] | no_license | xTR0JAN/Mutiny-CSGO | 3056bdf8b56ca55d516883ce30ca63d5176d31b0 | f096d80055fea5475832b135c477456c69f30ae2 | refs/heads/main | 2023-07-31T20:47:13.994512 | 2021-09-30T02:27:45 | 2021-09-30T02:27:45 | 411,896,773 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 687 | cpp | #include "TE_EffectDispatch.h"
#include "VTHook.h"
#include "SpawnBlood.h"
#include "VMProtectDefs.h"
TE_EffectDispatch_PostDataUpdateFn oTE_EffectDispatch_PostDataUpdate;
void __fastcall Hooks::TE_EffectDispatch_PostDataUpdate(C_TEEffectDispatch* thisptr, void* edx, DataUpdateType_t updateType)
{
VMP_BEGINMUTILATIO... | [
"91642397+xTR0JAN@users.noreply.github.com"
] | 91642397+xTR0JAN@users.noreply.github.com |
35c421d1c7a6fafae2fcf39bcc665f6d31614236 | adec2460d6c440ceca87c319645bea27aff23c67 | /Calculator/main.cpp | 255b992200843a20a26aa6477bf2d7f96f5274b6 | [] | no_license | Trompowsky/Calculator | 88bea261f24561d0e23630483e1bf110ac57fdee | af1830ef8fa60531ad6ec1ecd8643502ecbd859c | refs/heads/master | 2020-12-24T18:41:31.170378 | 2016-04-22T00:33:21 | 2016-04-22T00:33:21 | 56,814,010 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,097 | cpp | #include <iostream>
#include <string>
#include <vector>
#include <sstream>
#include <stdexcept>
#include "Expression.h"
#include "PrintVect.h"
#include "Exp.h"
#include "Constant.h"
#include "Addition.h"
#include "Subtraction.h"
#include "Multiplication.h"
#include "Division.h"
using namespace std;
int main()
{
s... | [
"ali.gh.abdulla@gmail.com"
] | ali.gh.abdulla@gmail.com |
1fdcc87d28c14d3dc9f2e1d63a1c81fd8380c413 | f960679826f74e3a932b57aad3e7a10d856957cf | /cpp/lib_exercise/lib/src/logger.h | a3f703b8598d1f370b1e2309ef25e44c213e417e | [] | no_license | nkaje/code | 6f1f5ee5191a55a28a0ec809920cdf6d701831a5 | b693f1f2e6794043c22eb35104dd1c5ee6358562 | refs/heads/master | 2022-11-09T09:33:51.789985 | 2022-10-26T15:36:24 | 2022-10-26T15:36:24 | 128,422,471 | 0 | 0 | null | 2022-10-26T15:36:25 | 2018-04-06T17:02:33 | C | UTF-8 | C++ | false | false | 519 | h | #ifdef __cplusplus
extern "C" {
#endif // __cplusplus
#include <iostream>
#include <stdarg.h>
#define UINT_TEST 0
enum LogLevel {
LOG_DEBUG = 0,
LOG_INFO,
LOG_WARN,
LOG_ERR,
LOG_MAX,
};
class Logger {
private:
enum LogLevel m_level;
public:
Logger(enum LogLevel level) { m... | [
"Naveen.Kaje@amd.com"
] | Naveen.Kaje@amd.com |
7d6ac6ba0797e1a2b66d431c833b0e2294a351a8 | 1e524dd151bb5f8546280ec0e0aeaeae3d471570 | /warmgui/DataDispatcher.h | 61089509c0fd2460d4c2e0b010fcff3dea608832 | [] | no_license | cnsuhao/warmgui | 68e8a698b9068b67cbb6efe4b0651144ba7ffc17 | 5d198d1680ffe61a3f48175c84942823033ccfcb | refs/heads/master | 2021-05-27T00:06:25.959310 | 2013-07-11T14:25:01 | 2013-07-11T14:25:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,656 | h | #ifndef __interface_data_dispatcher_h__
#define __interface_data_dispatcher_h__
#define MSG_EXIT_DISPATCHER 0x0FFFFFF
namespace WARMGUI {
class WARMGUI_API IDataDispatcher : public Poco::Runnable
{
public:
IDataDispatcher(const char* name);
virtual ~IDataDispatcher(void);
Poco::Thread::TID GetThreadId() {... | [
"stoneguo@126.com"
] | stoneguo@126.com |
ff8fa471fdcb5a072a2d3254d4afeeeca54bc0be | 50a39705630ca72a2bdb5af1c57f23f68fa06e76 | /2D/src/Pyromania/2011_11_6/Game.H | 81fb80ab53384da8cfc6d9601cc694e1559fd87b | [
"MIT"
] | permissive | Squareys/pyromania | ea5459f169329aff124ea155c56511a3e558e5db | 88cbc4f3474e8407c3be09df497dd4be47a587ba | refs/heads/master | 2020-03-20T23:21:46.477463 | 2018-06-28T10:06:09 | 2018-06-28T10:06:09 | 137,842,919 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 332 | h | #ifndef GAME_H
#define GAME_H
#include <allegro.h>
#include "Util.h"
#include "FrameCounter.h"
#include "World.h"
class Game {
public:
void play();
World* world;
Player* player;
#ifndef SERVER
int fps; //Frames per second;
void Draw();
void update();
void load_images();
#endif
Game();... | [
"squareys@googlemail.com"
] | squareys@googlemail.com |
543e88805a779137518f56710c9b542d5d7c0df2 | a310626b8b6ec3ef013efdda0e60eec26940b752 | /WeChat/WeChat/ChatData.h | e207a8e7f78782d6aabb045deabed64f5b77f40e | [] | no_license | lvan100/wechat | 1849395257da16a8adc86e0181820df8e890ffef | 6f96ebfcde8f4207180a338bee5e907a49d46d27 | refs/heads/master | 2021-01-22T09:41:31.056174 | 2016-12-11T14:24:59 | 2016-12-11T14:24:59 | 76,079,144 | 0 | 1 | null | null | null | null | GB18030 | C++ | false | false | 9,088 | h | #pragma once
#include <assert.h>
/**
* 聊天气泡
*/
class ChatBubble {
public:
const int horizon_left = 14;
const int horizon_center = 16;
const int horizon_right = 7;
const int vertical_top = 28;
const int vertical_center = 7;
const int vertical_bottom = 7;
// 九宫格切图原理示意图:
//
// horizo... | [
"lvan100@yeah.net"
] | lvan100@yeah.net |
b9975992bf0c9a670655989bfdc64c07eb6d0e94 | 38023cd4647618cd7a02f52a558ba349dd869977 | /common/food.h | d696475314976022b21fc5460e9142e0759571b8 | [] | no_license | DrewMartin/GP-Ants | 92e93e3a62f4379d8f5a99c4b31c10e03243237a | 1d754c1320355c3ce8bd7362a1d82620657f736c | refs/heads/master | 2021-01-02T22:58:34.871324 | 2013-04-03T23:25:21 | 2013-04-03T23:25:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 506 | h | #ifndef FOOD_H
#define FOOD_H
#include "entity.h"
#include <QGraphicsEllipseItem>
class Food : public Entity
{
public:
Food(QPoint &location, int quantity);
virtual ~Food();
int getFoodLeft();
bool takeFood();
bool hasFood();
virtual QGraphicsItem *getGraphicsItem();
v... | [
"dmartin@benbria.ca"
] | dmartin@benbria.ca |
e3e149946939fbb64aaf1fc0a03465fbd33d2723 | a87497f645bf61a573e60b0b4341fea1d4a8372a | /src/Collection.cpp | 6a096a8ae5d7b8b6fb3b45e4dd6d81ac66fe961f | [] | no_license | pareddy113/Collections | cca49c53e9e1c032f6e6501344b5ec351a378b00 | 346bc969fff46f03be801c29ac100154f1119492 | refs/heads/master | 2021-01-20T06:22:29.957521 | 2017-05-15T20:17:15 | 2017-05-15T20:17:15 | 89,868,654 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,483 | cpp | /*
* Collection.cpp
*
* Created on: Apr 23, 2017
* Author: Avinash
*/
#include "Collection.h"
#include "Array.h"
#include "BST.h"
Collection::Collection(){ //default constructor
size_=0;
cout<<"Collection constructor called"<<endl;
}
Collection::Collection(const Collection& col){ //copy constructor
... | [
"avi.reddy001@gmail.com"
] | avi.reddy001@gmail.com |
b19538c8250257168e5a6c5cac6ac60692ee74d0 | 39ab815dfdbab9628ede8ec3b4aedb5da3fd456a | /aql/benchmark/lib_44/class_2.cpp | 409af5b857ed610b5a5f5f391877c8a0178d2508 | [
"MIT"
] | permissive | menify/sandbox | c03b1bf24c1527b47eb473f1acc433f17bfb1d4f | 32166c71044f0d5b414335b2b6559adc571f568c | refs/heads/master | 2016-09-05T21:46:53.369065 | 2015-04-20T06:35:27 | 2015-04-20T06:35:27 | 25,891,580 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 311 | cpp | #include "class_2.h"
#include "class_3.h"
#include "class_7.h"
#include "class_4.h"
#include "class_9.h"
#include "class_1.h"
#include <lib_41/class_3.h>
#include <lib_37/class_6.h>
#include <lib_21/class_9.h>
#include <lib_43/class_1.h>
#include <lib_3/class_5.h>
class_2::class_2() {}
class_2::~class_2() {}
| [
"menify@a28edc5c-ec3e-0410-a3da-1b30b3a8704b"
] | menify@a28edc5c-ec3e-0410-a3da-1b30b3a8704b |
fd02f32dbfb38e4618b4c8e8c507cb2aac34a712 | d8446827771cd79eb13242d21b0ca103035c467d | /rush00/Lists/ListEnemy.hpp | 3ebf6595bd2b0c7391eaedd7ae714ddba2064c9f | [] | no_license | vuslysty/piscineCPP | e3ef3aabbef053eca29e1fad0695eeda85bc00c2 | 91a583ed4a0352c904fa485202752f8105230520 | refs/heads/master | 2020-06-20T19:16:15.561261 | 2019-07-16T15:51:59 | 2019-07-16T15:51:59 | 197,219,556 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 678 | hpp | //
// Created by Vladyslav USLYSTYI on 2019-06-30.
//
#ifndef RUSH00_LISTENEMY_HPP
#define RUSH00_LISTENEMY_HPP
#include "../Enemy.hpp"
class Enemy;
class ListEnemy
{
Enemy *_enemy;
ListEnemy *_next;
ListEnemy *_prev;
public:
ListEnemy();
ListEnemy(Enemy *Enemy);
ListEnemy(ListEnemy const &src);
ListEnem... | [
"vuslysty@e2r11p11.unit.ua"
] | vuslysty@e2r11p11.unit.ua |
b1f22504bea780887803242a393adad17f05cfbc | 01b3369a69be4d56ff0426e980f5a3f5f3085472 | /source/4.2_Spot_Light/RenderingGame.h | 1f5f2c4b1b56b3eaec8431f72548dc0c1a8f95e9 | [
"MIT"
] | permissive | ssshammi/real-time-3d-rendering-with-directx-and-hlsl | e853bc3c8f0a53afc082cb3120aba0b678d0528e | 05a05c5c26784dafa9a89747276f385252951f2f | refs/heads/master | 2023-04-13T23:16:01.282462 | 2020-07-01T14:49:07 | 2020-07-01T14:49:07 | 363,071,604 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,266 | h | #pragma once
#include <windows.h>
#include <functional>
#include "Game.h"
namespace Library
{
class KeyboardComponent;
class MouseComponent;
class GamePadComponent;
class FpsComponent;
class Grid;
}
namespace Rendering
{
class SpotLightDemo;
class RenderingGame final : public Library::Game
{
public:
Rend... | [
"paul.varcholik@ucf.edu"
] | paul.varcholik@ucf.edu |
eef374f316a16a1557f5214e853b4bbfaf9521f0 | 64140e2d9f7ec9dda817bb65db159cb1b5b62d7f | /tetattds/source/garbage.h | c1014f4a0f825e2716a3cadc6dc4f171aa7922f9 | [] | no_license | Flare183/tetattds | fa168809c01a25777d7da8e2efee58abea64daf7 | 024480f2c72c72f385c321d0d0f3add0fe46cc7f | refs/heads/master | 2021-12-04T11:15:55.406897 | 2015-03-16T09:03:17 | 2015-03-16T09:03:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 879 | h | #pragma once
enum GarbageType
{
GARBAGE_COMBO,
GARBAGE_CHAIN,
GARBAGE_EVIL
};
#include "baseblock.h"
class GarbageBlock;
#define GARBAGE_GRAPHIC_DISABLED (-1)
/**
* One block of garbage
*/
class Garbage : public BaseBlock
{
public:
Garbage(GarbageType type, BlockType blockType, GarbageBlock * gb);
~Garbage()... | [
"sten.larsson@gmail.com"
] | sten.larsson@gmail.com |
aee473aaf058cb033d0aaf373e1dd2bbc1fc8eb9 | a62342d6359a88b0aee911e549a4973fa38de9ea | /0.6.0.3/Internal/SDK/BTTask_FindHusbandryAnimal_functions.cpp | 25b336c7dbcf11d52c7b9f1531852595b581ace9 | [] | no_license | zanzo420/Medieval-Dynasty-SDK | d020ad634328ee8ee612ba4bd7e36b36dab740ce | d720e49ae1505e087790b2743506921afb28fc18 | refs/heads/main | 2023-06-20T03:00:17.986041 | 2021-07-15T04:51:34 | 2021-07-15T04:51:34 | 386,165,085 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,981 | cpp | // Name: Medieval Dynasty, Version: 0.6.0.3
#include "../pch.h"
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Functions
//---------------------------------------... | [
"zp2kshield@gmail.com"
] | zp2kshield@gmail.com |
6b05ab93b252e638d4e6f9b6aa8bd9e5750fedd1 | 6f5300f7ce0137b59b08fd597ada679c1efc9c8e | /Loadpe/Loadpe/stdafx.cpp | 105b138ba5a3b0bcf3e7662ad51747aeb62db208 | [] | no_license | warren-126/LoadPE | 71eba1358eb8c72708e880b043818fd590953d50 | b5cdfc89ef1256faf68c4c8cc6920656987d43a7 | refs/heads/master | 2021-06-09T11:49:55.970113 | 2016-12-07T01:42:12 | 2016-12-07T01:42:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 293 | cpp | // stdafx.cpp : source file that includes just the standard includes
// Loadpe.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
| [
"lakshmi.desai84@yahoo.com"
] | lakshmi.desai84@yahoo.com |
7eb6db4d6ccf9baa1f2bbad8572c7d4f213bf73a | d6e9f5ab0689d4edd1d9da90985d6bf02dc1b708 | /CodeForces/520B.cpp | 33ba6af6653fd3c41f5da12e64adbda771a12dc2 | [] | no_license | Dhruvik-Chevli/Code | 30af2133f7f55404bf47a1bf87b372aa93461ba2 | 615a599c1e5e6406f50c316cebe357cc86486a6f | refs/heads/master | 2022-12-21T03:00:29.650021 | 2020-09-24T21:21:23 | 2020-09-24T21:21:23 | 260,184,858 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,266 | cpp | #include <iostream>
#include<vector>
#include<algorithm>
#include<utility>
#include<string>
#include<unordered_set>
#include<stack>
#include<queue>
#include<unordered_map>
using namespace std;
typedef long long int ll;
#define EPS 1e-9
#define pb push_back
#define FOR(i, a, b) for(ll i = a; i < b; i++)
#define PI 3.141... | [
"dhruvik.chevli@gmail.com"
] | dhruvik.chevli@gmail.com |
5e9d3290d395241d482ba64f22a7206e74d0a03c | bc6c37cf0469c6b2778707b76227558b3a040718 | /codeforces/codeforce-313A-Ilya_and_Bank_Account.cpp | 27128170f4d473703595095cedcbd9e8a86ad2bf | [] | no_license | zeroplusone/AlgorithmPractice | 241530a5c989f6321543f7bd07a393c405cdf2e6 | 7fe9182d943bc2066f7fd31cc05096be79dc12cb | refs/heads/master | 2022-01-28T21:57:04.393943 | 2022-01-26T13:46:43 | 2022-01-26T13:46:43 | 84,074,414 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 358 | cpp | #include<iostream>
#include<cstdio>
#include<cstdlib>
using namespace std;
int main()
{
int n;
int i,len,j,ans,tmp;
while(scanf("%d",&n)!=EOF)
{
if(n>=0) printf("%d\n",n);
else
{
n*=-1;
len=(n%100)/10;
tmp=(n/100)*10+n%10;
ans=n/10;
ans=ans>tmp?tmp:ans;
ans*=-1;
print... | [
"a711186@gmail.com"
] | a711186@gmail.com |
0ca62b5b5ec7b00b2cbad9a703239af383fde363 | 0cb85cd0c88a9b9f0cca4472742c2bf9febef2d8 | /Mail/Filters/Antispam/html_parser/html_def.cpp | f0e0ced45c53420612c3949c17e281fd07990fdf | [] | no_license | seth1002/antivirus-1 | 9dfbadc68e16e51f141ac8b3bb283c1d25792572 | 3752a3b20e1a8390f0889f6192ee6b851e99e8a4 | refs/heads/master | 2020-07-15T00:30:19.131934 | 2016-07-21T13:59:11 | 2016-07-21T13:59:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,796 | cpp | // $Id: html_def.cpp,v 1.3 2000/04/20 13:52:59 slavikb Exp $
//
#include "htmparse.h"
html_elt_def __html_elt_def[] = {
#define DEF_HTML_ELEMENT(N,F,C) { #N, F, C },
#define DEF_HTML_ELEMENT_EX(N,L,F,C) { L, F, C },
#include "htmltags.tab"
#undef DEF_HTML_ELEMENT
};
const int HTML_ELT_COUNT = sizeof(... | [
"idrez.mochamad@gmail.com"
] | idrez.mochamad@gmail.com |
a65fd1e9de2e7dab17b76975df980f098b41a2c9 | 9d317a24cc02906eeb09fd60f26b22cace34a096 | /JSTrader/JSTraderGUI/ReadOnlyDelegate.h | 854ad9cd67ec97bb0584e4dfa1e1363891b8d583 | [] | no_license | qbjstone/trader | 2efbbfa86ed5d25117627c1a5d737ac0dce7fda6 | fb34a134c8eb0d3d98181fb41762d5828c88f32f | refs/heads/master | 2021-06-06T08:01:39.924092 | 2020-11-21T05:33:03 | 2020-11-21T05:33:03 | 159,979,561 | 0 | 0 | null | 2021-05-10T10:36:09 | 2018-12-01T19:26:45 | C++ | UTF-8 | C++ | false | false | 320 | h | #ifndef READONLYDELEGATE_H
#define READONLYDELEGATE_H
#include <qstyleditemdelegate.h>
class ReadOnlyDelegate : public QStyledItemDelegate
{
Q_OBJECT
public:
ReadOnlyDelegate(QObject *parent = 0);
QWidget *createEditor(QWidget *parent, const QStyleOptionViewItem &option,
const QModelIndex &index) const;
};
#endif | [
"kangseung@163.com"
] | kangseung@163.com |
8667b61003369cc45c6bd628812db84073e84e20 | e1cff5da7a03a50f4bb3a1e12b7c712de58dd4a6 | /Array/Arrays_leftRotaion.cpp | 8f8e86b0320b3014578ec0a4645e5499c77b5f5f | [] | no_license | beastmaster064/Interview-Preparation-Kit_Hackerrank | 4fe164d0539d4ffae22d3b8350e641bf822bf7be | f26557744da5d398ee5a5c9fae8a50e83e269e9f | refs/heads/master | 2021-05-20T11:18:52.437080 | 2020-04-02T00:41:49 | 2020-04-02T00:41:49 | 252,272,126 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,841 | cpp | #include <bits/stdc++.h>
using namespace std;
vector<string> split_string(string);
// Complete the rotLeft function below.
vector<int> rotLeft(vector<int> a, int d) {
int i,j,n=a.size(),temp;
for(i=0;i<d;i++){
j=0;
temp=a[j];
while(j<n-1)
{
a[j]=a[j+1];
... | [
"tharunyuvi05@gmail.com"
] | tharunyuvi05@gmail.com |
052cf8b7910cf499d41cb5444685735e43581da2 | 267bb6c0aaf057083a12e744aa50fbd2735b42d8 | /src/libtsduck/tsSocketAddress.cpp | dbc3ee60569d4e2d61640e9b1efafca36c01fe72 | [
"BSD-2-Clause",
"WTFPL",
"LicenseRef-scancode-public-domain"
] | permissive | yrpark99/tsduck | 0c163410306a085248dba8490ee0faeae8a5a862 | 2929092e42c5c7eec95a119af91cc09ffdde2028 | refs/heads/master | 2020-04-06T10:20:44.113519 | 2019-10-15T06:27:13 | 2019-10-15T06:27:13 | 157,377,153 | 0 | 0 | NOASSERTION | 2018-11-13T12:30:58 | 2018-11-13T12:30:58 | null | UTF-8 | C++ | false | false | 4,836 | cpp | //----------------------------------------------------------------------------
//
// TSDuck - The MPEG Transport Stream Toolkit
// Copyright (c) 2005-2018, Thierry Lelegard
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the f... | [
"thierry@lelegard.fr"
] | thierry@lelegard.fr |
3ee4e2e602a6e6a83c271755da71ebc454e10b95 | e8e4433fe7362e5daa206c85ecfed928eb2efb50 | /interface/PFIsolation.h | 549b38d0b535e7d902fcd8c5745a2bfc919ec6c6 | [] | no_license | h2gglobe/UserCode | 7857f11a44af8164c77fa91a5ab5474fe07c54c4 | 4c10127a07e6ac51362ff5f390e6487a56773bfc | refs/heads/master | 2021-01-25T04:08:47.013808 | 2013-05-30T19:54:21 | 2013-05-30T19:54:21 | 10,404,611 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 994 | h | #ifndef __PFIsolation__
#define __PFIsolation__
#include "DataFormats/EgammaCandidates/interface/GsfElectron.h"
#include "DataFormats/ParticleFlowCandidate/interface/PFCandidate.h"
#include "DataFormats/ParticleFlowCandidate/interface/PFCandidateFwd.h"
#include "DataFormats/ParticleFlowCandidate/interface/PileUpPFCand... | [
""
] | |
aa0ff3ebe0a20de5a16c93c6cd038b89ba1ea915 | e14e0593215f79b479189ee7570fe05ce3534123 | /source/Search.h | 4363faaa530c8e1ad82c6408e465d50e830f8937 | [
"MIT"
] | permissive | kracejic/runningDict | fdd0fe72527c488d0c296420a3dd79336eb068a4 | 541221eb1dadf1885b349baaea49ee2c6146a2fc | refs/heads/master | 2020-12-12T12:53:54.723113 | 2017-02-20T19:56:47 | 2017-02-20T19:56:47 | 54,825,162 | 1 | 0 | null | 2017-05-20T02:15:59 | 2016-03-27T11:24:11 | CSS | UTF-8 | C++ | false | false | 315 | h | #pragma once
#include <algorithm>
#include <cstdio>
#include <future>
#include <iostream>
#include <stdio.h>
#include <string>
#include <vector>
#include "Dict.h"
#include "Worker.h"
workerResult _search(std::vector<Dict>& dicts, int numthreads,
const std::vector<std::string>& words, bool verbose = false);
| [
"kracejic@gmail.com"
] | kracejic@gmail.com |
977d1dfc5c7a199bb68292a868fa0e8241b7e9d8 | bb5258ea8c1f8cbcc247b92971cd926264479002 | /ds4/code/4_core/thread/thread_safe.h | d1bb3510539f2b94a8885556f66491a107653fe4 | [
"MIT"
] | permissive | demonsaw/Code | 16fa41f07600e83f16713a657ac8fffa0b6b7f9b | b036d455e9e034d7fd178e63d5e992242d62989a | refs/heads/master | 2021-11-07T21:37:03.738542 | 2021-10-26T03:47:14 | 2021-10-26T03:47:14 | 98,356,418 | 134 | 19 | MIT | 2019-01-06T03:20:12 | 2017-07-25T22:50:36 | C++ | UTF-8 | C++ | false | false | 7,338 | h | //
// The MIT License(MIT)
//
// Copyright(c) 2014 Demonsaw LLC
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, c... | [
"eric@codesiren.com"
] | eric@codesiren.com |
3ee3505eb0bde3dcaaf36399fc49de78bdc9983b | 9008c69d81f91224e2dcb4faaa87a73af2923bdf | /GAME5/GAME5/MeleeJob.cpp | af4abca373c7e2ab5d12dbd59cfca32051c92402 | [] | no_license | qwer87511/OOP-Homework | 84c5d0b4ae9ca7beb7c6cf43ad49ce1289829254 | b26e0c159735f27488e7abca25d46ce624188827 | refs/heads/master | 2020-03-19T01:18:12.701354 | 2018-06-02T14:52:39 | 2018-06-02T14:52:39 | 135,535,985 | 0 | 0 | null | null | null | null | BIG5 | C++ | false | false | 653 | cpp | #include "MeleeJob.h"
#include "RemoteJob.h"
#include "Character.h"
MeleeJob::MeleeJob(string name, int extraStr, int extraDex, int extraCon) : Job(name, extraStr, extraDex, extraCon)
{
JobType jobType = MELEE;
}
// 回傳職業型態名稱
string MeleeJob::GetJobTypeName()
{
return "近距離攻擊系";
}
// 是否克制敵人職業
bool MeleeJob::IsCo... | [
"qwer87511@gmail.com"
] | qwer87511@gmail.com |
5d542cc4c313a9dcf15bce83b1798846cebacba6 | 71182ec9f7cd783dd3b5ab17b8e7fe67868d3241 | /Recursion/lec_01.cpp | bf851969cd3a87b4dd7f79065440ef9ad62170ad | [] | no_license | aman-5757/levelUp__ | 1079498e30ec439ef92157521b90b37f533ba778 | 245a3f3491f38770c51bfa3137cd06393e1d50bf | refs/heads/master | 2022-12-31T13:13:12.124489 | 2020-09-28T17:56:44 | 2020-09-28T17:56:44 | 290,859,270 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 675 | cpp | #include<iostream>
#include<vector>
using namespace std;
void printInc(int a, int b){
if(a==b+1) return;
cout<<a<<" ";
printInc(a+1,b);
}
int fact(int n){
return n<=1 ? 1 : fact(n-1)*n;
}
int minimum(vector<int > & arr, int i){
if(i == arr.size()-1) return arr[i];
return min(arr[i],mini... | [
"aman4863@gmail.com"
] | aman4863@gmail.com |
dbafa7ac7d34fbefd948451b39fc14de2960859c | 694d527c723cde3cc229e0789250da4fe752e8ff | /src/consensus/params.h | e6cd0a4c0315fdbbb0f0eaabbb97dd27d3b9d986 | [] | no_license | maodoutech/my-bitcoin | 71c731e2e4e585879a6eca16ab2d12dd377ddb26 | d161eb085aa1296bdddc8c02810abea0c4b1c59b | refs/heads/master | 2021-04-15T08:48:25.489437 | 2018-06-05T02:46:24 | 2018-06-05T02:46:24 | 126,755,336 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,844 | h | #ifndef BITCOIN_CONSENSUS_PARAMS_H
#define BITCOIN_CONSENSUS_PARAMS_H
#include "uint256.h"
#include <map>
#include <string>
namespace Consensus {
enum DeploymentPos
{
DEPLOYMENT_TESTDUMMY,
DEPLOYMENT_CSV, // Deployment of BIP68, BIP112, and BIP113.
MAX_VERSION_BITS_DEPLOYMENTS
};
/**
* Struct for each ... | [
"jack_zsl@163.com"
] | jack_zsl@163.com |
2f5947a464307be0715d7c3a4aa95fefa27b68ef | d4f86d76bc29a504d82624a2982f5f188991c084 | /Win32Project1/mesh/sphere.h | 80396971dd6d2f21cf5910661b78eb7f05a6a14a | [] | no_license | Graphics-Physics-Libraries/Tiny3D | 6e674809887c04109ec4016657abf1c0aa925ec1 | 4f6172069eadddb5d65edfa43a699820f0e54f63 | refs/heads/master | 2020-07-14T17:41:14.575037 | 2019-04-17T10:27:12 | 2019-04-17T10:27:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 317 | h | /*
* sphere.h
*
* Created on: 2017-4-2
* Author: a
*/
#ifndef SPHERE_H_
#define SPHERE_H_
#include "mesh.h"
class Sphere: public Mesh {
private:
int longitude,latitude;
virtual void initFaces();
public:
Sphere(int m,int n);
Sphere(const Sphere& rhs);
virtual ~Sphere();
};
#endif /* SPHERE_H_ */
| [
"zxx43@hotmail.com"
] | zxx43@hotmail.com |
7f28dd9a67a1d8a0fd1b30364ceb226c4206a50f | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_2705486_0/C++/marwanpp/C.cpp | 38466245df992258142b632bc9afe19f4f2db62c | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 1,937 | cpp | /*
* C.cpp
*
* Created on: May 4, 2013
* Author: Marwan
*/
#include <algorithm>
#include <iostream>
#include <cstring>
#include <cstring>
#include <sstream>
#include <complex>
#include <iomanip>
#include <cstdlib>
#include <cstdio>
#include <cmath>
#include <string>
#include <vector>
#inc... | [
"eewestman@gmail.com"
] | eewestman@gmail.com |
a5ad22d148bc82a474bf055d05e20b6a10fd9695 | 48298469e7d828ab1aa54a419701c23afeeadce1 | /Server/Team/Team.cpp | 9a10ca52313a49ce3f8d97c5715a0ce3348ced56 | [] | no_license | brock7/TianLong | c39fccb3fd2aa0ad42c9c4183d67a843ab2ce9c2 | 8142f9ccb118e76a5cd0a8b168bcf25e58e0be8b | refs/heads/master | 2021-01-10T14:19:19.850859 | 2016-02-20T13:58:55 | 2016-02-20T13:58:55 | 52,155,393 | 5 | 3 | null | null | null | null | GB18030 | C++ | false | false | 5,688 | cpp | #include "stdafx.h"
/********************************************************************************
* 文件名: Team.cpp
* 全路径: d:\Prj\Server\Server\Team\Team.cpp
* 创建时间: 2005 年 11 月 4 日 9:25
*
* 功能说明: 队伍
* 修改记录:
*********************************************************************************/
#include "Team.h"
#i... | [
"xiaowave@gmail.com"
] | xiaowave@gmail.com |
23987decf678fe2a1a6cd38cff0ffc41c93ab69f | a1091ad42e6a07b6fbb6fe876feb03547a8da1eb | /MITK-superbuild/MITK-build/Plugins/org.mitk.gui.qt.application/src/moc_QmitkUndoAction.cpp | 7b0ec9b8f7ac4e92f9576ffe37732da6f37e2b74 | [] | no_license | Sotatek-TuyenLuu/DP2 | bc61866fe5d388dd11209f4d02744df073ec114f | a48dd0a41c788981009c5ddd034b0e21644c8077 | refs/heads/master | 2020-03-10T04:59:52.461184 | 2018-04-12T07:19:27 | 2018-04-12T07:19:27 | 129,206,578 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,371 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'QmitkUndoAction.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.4.2)
**
** WARNING! All changes made in this file will be lost!
*****************************************************... | [
"tuyen.luu@sotatek.com"
] | tuyen.luu@sotatek.com |
9cac8d346fa27d12ed032c16f450cdeb9676d827 | 1095cfe2e29ddf4e4c5e12d713bd12f45c9b6f7d | /ext/systemc/src/sysc/utils/sc_vector.cpp | e42fba02e1f2b8dd2c7c3003708e2711226b5f16 | [
"BSD-3-Clause",
"LicenseRef-scancode-proprietary-license",
"LGPL-2.0-or-later",
"MIT",
"Apache-2.0"
] | permissive | gem5/gem5 | 9ec715ae036c2e08807b5919f114e1d38d189bce | 48a40cf2f5182a82de360b7efa497d82e06b1631 | refs/heads/stable | 2023-09-03T15:56:25.819189 | 2023-08-31T05:53:03 | 2023-08-31T05:53:03 | 27,425,638 | 1,185 | 1,177 | BSD-3-Clause | 2023-09-14T08:29:31 | 2014-12-02T09:46:00 | C++ | UTF-8 | C++ | false | false | 5,005 | cpp | /*****************************************************************************
Licensed to Accellera Systems Initiative Inc. (Accellera) under one or
more contributor license agreements. See the NOTICE file distributed
with this work for additional information regarding copyright ownership.
Accellera licenses... | [
"jungma@eit.uni-kl.de"
] | jungma@eit.uni-kl.de |
729ed4a2dcf17a2fec4387729515ed6b29ad040a | d31ed4f3bd9a9d24ff388749c056a0ea6255a76c | /src/platform/window_manager/gl_interface_base.cc | 7a1b2eb62e31599835ce8060d107acd2d333e92a | [
"BSD-3-Clause"
] | permissive | Escapist70/chromiumos | c840e15a4320765acba08e13f20ecc9ec9d108ad | 380301ef6831c966b1389bffe0cd51fcccfcd612 | refs/heads/master | 2021-01-18T12:34:27.303926 | 2010-02-26T21:10:11 | 2010-02-26T21:10:11 | 20,645,371 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,020 | cc | // Copyright (c) 2010 The Chromium OS 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 "window_manager/gl_interface_base.h"
#include <string>
#include <vector>
namespace window_manager {
void GLInterfaceBase::ParseExtensio... | [
"kwaters@chromium.org"
] | kwaters@chromium.org |
6a3296f5018b1c92ae55b780c523ca20989400d4 | cb27f51f09b5560b072517e27fdb4313eb04dda0 | /UVA/TaxQuotes.cpp | ab8b39de30e4d909ef6b6b5ac08f65cecd39413f | [
"MIT"
] | permissive | sourav025/coding-algodatastructures | cdc5f796f93567acfdcbb698ec6248347df20e75 | 987932fe0b995c61fc40d1b5a7da18dce8492752 | refs/heads/master | 2022-10-14T02:01:39.275038 | 2020-06-07T06:47:26 | 2020-06-07T06:47:26 | 270,210,442 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 287 | cpp | #include<stdio.h>
#include<string.h>
char ch;
int main()
{
long long i;
while(scanf("%c",&ch)==1)
{
if(ch=='"'){
i++;
if(i%2==1) printf("``");
else if (i%2==0) printf("''");}
else printf("%c",ch);
}
return 0;
}
| [
"sourav.sub25@gmail.com"
] | sourav.sub25@gmail.com |
4ef9e781a926e8565b6712ebe90caf801f38c1f2 | da23117a8fa694addf725194061976ba00cc0ffb | /src/netmessagemaker.h | 2aa7bdf7eed1adda46c8f51308e7e73e7a1dbb2a | [
"MIT"
] | permissive | CrystalizeCity/XaitenCoin | 997d4ed2cb15196cb8ae92ff2e5e9a908550f0e5 | 2f8fa4651d7470b5c589cf502632416e6403ff54 | refs/heads/master | 2023-02-03T12:29:15.651159 | 2020-12-23T06:40:48 | 2020-12-23T06:40:48 | 323,791,184 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,083 | h | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2017 The Bitcoin Core developers
// Copyright (c) 2020 The XaitenCoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_NETMESSAGEMA... | [
"aaron.cai@xaiten.com"
] | aaron.cai@xaiten.com |
6e3e0bc40073681061fb717d10de5577a408e4ca | d6f4058a09be961913842938a03490d2d8f2de5e | /assign3_q2_b.cpp | 01ee2a9256560475df7984ff279d93c36f5d0749 | [] | no_license | rohitchouhan07/CPP | a54703d3e652614406f02523a5e3341d8b4ac4e1 | 3c1997970e21ecd3996866646501b85553ddfa7b | refs/heads/master | 2020-07-04T18:55:00.590534 | 2016-12-02T09:21:47 | 2016-12-02T09:21:47 | 74,149,324 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 238 | cpp | #include <iostream>
using namespace std;
int main()
{
int x,i,p=1;
cout<<"Enter the Number whose factorial is to be found"<<endl;
cin>>x;
i=x;
while (i>0){
p=p*i;
i--;
}
cout<<"The factorial of "<<x<<" is "<<p<<endl;
return 0;
}
| [
"rohitchouhan07@gmail.com"
] | rohitchouhan07@gmail.com |
b957e6d8b97a9bfeb8dc0ca948965bc146a147ca | c5897bbc7dc6a2bb0af0695939cebd38317eb6c1 | /src/gausspoint/gausspoints.h | 144e18da930f18000d87a3b7907d52ed90774446 | [
"MIT"
] | permissive | BelalAmin/sparselizard | f5c89e9abcb42997e3eb457dec2f80fd505ce7a3 | 3950ddf2e10ae7630ef968da823e24a04d0361f0 | refs/heads/master | 2020-06-25T22:27:44.635081 | 2019-07-28T13:23:46 | 2019-07-28T13:23:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,209 | h | // sparselizard - Copyright (C) 2017- A. Halbach
//
// See the LICENSE file for license information. Please report all
// bugs and problems to <alexandre.halbach at gmail.com>.
#ifndef GAUSSPOINTS_H
#define GAUSSPOINTS_H
#include <iostream>
#include <vector>
#include <iomanip>
#include "gppoint.h"
#include "gpline.... | [
"alexandre.halbach@gmail.com"
] | alexandre.halbach@gmail.com |
974cf2fcf2608cb371f6244322b961317aaeea87 | 119ba245bea18df8d27b84ee06e152b35c707da1 | /unreal/branches/robots/qrgui/interpreters/robots/details/robotImplementations/sensorImplementations/nullSensorImplementation.cpp | 443afd49a2f1a210316f29083207ce36cbd78dee | [] | no_license | nfrey/qreal | 05cd4f9b9d3193531eb68ff238d8a447babcb3d2 | 71641e6c5f8dc87eef9ec3a01cabfb9dd7b0e164 | refs/heads/master | 2020-04-06T06:43:41.910531 | 2011-05-30T19:30:09 | 2011-05-30T19:30:09 | 1,634,768 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 491 | cpp | #include "nullSensorImplementation.h"
using namespace qReal::interpreters::robots;
using namespace details::robotImplementations::sensorImplementations;
NullSensorImplementation::NullSensorImplementation(inputPort::InputPortEnum const &port)
: AbstractSensorImplementation(port)
{
mActiveWaitingTimer.setInterv... | [
"ololo@ololo.org"
] | ololo@ololo.org |
cb28cf073e3fa00434f292c06a1b702f8b243c60 | 307641f2c4fd6e59f0a3a8d946d81e3b8e6e44a9 | /src/EtabliDAlchimiste.h | 5985de5631ee764e8561882634163080a8d2e873 | [] | no_license | asdlei99/PatateQuest | 9a2407723b9f99c39a05b487e5147c15104b669b | 9a226e063b8928d11048d799d17483586938e995 | refs/heads/master | 2020-08-21T11:35:15.478229 | 2016-08-06T14:44:05 | 2016-08-06T14:44:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 188 | h | #pragma once
#include "Entity.h"
class EtabliDAlchimiste final : public Entity
{
public:
EtabliDAlchimiste(const Point& position = {0, 0}, Direction direction = Direction::Front);
};
| [
"daivuk@gmail.com"
] | daivuk@gmail.com |
5070f706384f1b4397829538cd91c827d6f1755f | 80fda55e349f79ded19ab5176c90c99ec3e1c272 | /contests/abc/15/150/a.cpp | b9a629b963fb69c55296ff1ff13ca5c58547af5b | [] | no_license | naoto0804/atcoder_practice | 6b161e36eb25ba26ac715caee99364c2bf9fc95f | 0416b8f45bd36e4ea307a13e3860e40cd7b9f94b | refs/heads/master | 2021-07-19T21:42:10.946063 | 2021-07-05T01:33:31 | 2021-07-05T01:33:31 | 250,864,437 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 867 | cpp | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using P = pair<ll, ll>;
using Graph = vector<vector<ll>>;
#define rep(i, n) for(ll i=0;i<(ll)(n);i++)
#define rep2(i, m, n) for(ll i=m;i<(ll)(n);i++)
#define rrep(i, n, m) for(ll i=n;i>=(ll)(m);i--)
const int dx[4] = {1, 0, -1, 0};
const int dy[4] = ... | [
"kingfisher0804@gmail.com"
] | kingfisher0804@gmail.com |
67f356f638b688cb8fb343646df4aa1b35624b51 | e5cb73f25dde3e5c0ac63d7dafae8918cc4b8784 | /Lecture-3/Pattern.cpp | 22e4d93359ce6298c72746dedaa6bee2db2496c1 | [] | no_license | Aryanmehta21/CPP_YT | a60c5cab907f4bb9f185ae547829eeabd30f984a | fe45221bfe89262b679c0e52175aa5dab4b64eb5 | refs/heads/main | 2022-12-30T20:07:53.898934 | 2020-10-17T14:22:11 | 2020-10-17T14:22:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 584 | cpp | // Pattern
#include <iostream>
using namespace std;
int main(){
int n,i,no;
cin>>n;
int row = 1;
while(row<=n){
// 1. print spaces n-row times
i = 1;
while(i<=n-row){
cout<<' ';
i = i+1;
}
// 2. print increasing numbers starting from row, do this task row times
i = 1,no=row;
while(i<=row){
... | [
"kartik.mathur10@gmail.com"
] | kartik.mathur10@gmail.com |
b7374a3456b9888a754450f1778e7add721ffcfd | f3e394c27d222b025579886a7e6d005021d3517b | /EntityRenderer.cpp | 28f505919ebcc7416fa233b722b120cec61e8328 | [] | no_license | JosteinE/TheGatherer | f82c858338faba75251596eab01a7b497c6e1c86 | b72dcde7aeff216dcb45ae3e2a0d24150050892b | refs/heads/master | 2022-06-08T23:22:47.385247 | 2020-04-01T10:33:02 | 2020-04-01T10:33:02 | 233,863,527 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,026 | cpp | #include "EntityRenderer.h"
#include "Entity.h"
#include "CircleShapeComponent.h"
#include "RectangleShapeComponent.h"
#include "SpriteComponent.h"
#include "HUDComponent.h"
#include "GeneralDataComponent.h"
EntityRenderer::EntityRenderer()
{
}
EntityRenderer::~EntityRenderer()
{
}
void EntityRenderer::setLightPos... | [
"Josteineri@hotmail.com"
] | Josteineri@hotmail.com |
fe9c8ea582566b147fd6f5f910ce8953869a2d1e | f508c2957117084a2a6c3691afca7a7865e1193f | /ShapeBrush/src/ofApp.cpp | 119204d06de2add59acb79d1f42d0dc5880e312a | [] | no_license | mr-z-ro/openframeworks | 573a7afb6ef5398d3a507ca0602ee0960067cc5f | 88264d224f06959b9af34a56608c51df5fabced7 | refs/heads/master | 2020-05-20T10:31:30.628588 | 2019-05-08T04:19:20 | 2019-05-08T04:19:20 | 185,527,263 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,990 | cpp | #include "ofApp.h"
//--------------------------------------------------------------
void ofApp::setup(){
ofSetBackgroundAuto(false);
ofSetBackgroundColor(0);
ofSetFrameRate(60);
ofEnableAlphaBlending();
}
//--------------------------------------------------------------
void ofApp::update(){
}
//----... | [
"msgrasser@gmail.com"
] | msgrasser@gmail.com |
7ba3679f34217d32dd2b06e870a62ecc6a921617 | 073d693d3369e41a29f842c0b153241e47e1b2ac | /src/moneysupply.h | d5452ba0e458fcbb6d0652bf46887bd867fd65ce | [
"MIT"
] | permissive | robervem/sbercoin | 2a7984a7d77a63c51957e9b8b6df6bc759925d2e | ba61e50fab7e3b15e39a9cbe3a7adf08cab96d39 | refs/heads/main | 2023-02-09T21:16:56.425759 | 2021-01-07T20:09:19 | 2021-01-07T20:09:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 849 | h | // Copyright (c) 2020 The SBER developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or https://www.opensource.org/licenses/mit-license.php.
#ifndef SBER_MONEYSUPPLY_H
#define SBER_MONEYSUPPLY_H
#include "amount.h"
#include "sync.h"
/*
* Class used to cache the sum of ut... | [
"k.arya2946@gmail.com"
] | k.arya2946@gmail.com |
958b6503c885ea489de2d3f05bf8863f718175d2 | d7ef1300dc1b4d6174788605bf2f19ece12a1708 | /other/old_scripts/scripts/testyo.cxx | 544c5b18db7347b97f87c4043dcc6e78ec88db12 | [] | no_license | libov/zeus | 388a2d49eb83f098c06008cb23b6ab42ae42e0e5 | a0ca857ede59c74cace29924503d78670e10fe7b | refs/heads/master | 2021-01-01T05:51:48.516178 | 2014-12-03T09:14:02 | 2014-12-03T09:14:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 169 | cxx | int main()
{
//TF1 *fpol=new TF1("fpol","pol0",0.99,4);
TF1 *fpol=new TF1("fpol","landau(0)",0.99,10);
fpol->SetParameters(100,5,1);
fpol->Draw("pl");
return 0;
}
| [
"libov@mail.desy.de"
] | libov@mail.desy.de |
1fb2191f0be19fd102b3b06f1b2ae69ddc07b76f | 32a6f8ed1a7747854e0414f1ddbfe5cb26e2bdc4 | /1355B.cpp | bbac445a402a5eb3358013313ec655afa0ae378a | [] | no_license | VenkatSBitra/codeforcesproblemset | f38f7822b106248ec8cd399309b831af5f7611ae | fe8af9a5dc3fb14584c0b8ff0d1a844005494ac0 | refs/heads/master | 2022-07-28T01:55:04.811823 | 2020-05-18T14:59:29 | 2020-05-18T14:59:29 | 264,941,604 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 517 | cpp | #include <bits/stdc++.h>
using namespace std;
int main(){
int n; cin >> n;
while(n--){
int k; cin >> k;
vector<int> v;
for(int i = 0; i < k; i++){
int t; cin >> t;
v.push_back(t);
}
sort(v.begin(), v.end());
int i = 0, grp = 0, cs = 0;
... | [
"venkat.suprabath@iiitb.org"
] | venkat.suprabath@iiitb.org |
2efeb1db6ffa2be2cf747ecd9474b3cc379bcb4b | 4fe6b129a2f415b22f1c8752169b56daf8551e23 | /Aligner/TiltFlatnessTestPage2.h | 6923cb9995c41a03c940511750c6a65813def2b7 | [] | no_license | Kingarne/Aligner308MK3 | 1821d6ce9a8cd6d3e6def31bb43cd0c37b43fe1e | 04adc7e1ca1e97e2b4165c626dd73f095ad77c93 | refs/heads/master | 2023-08-31T05:48:52.441714 | 2023-08-21T13:14:32 | 2023-08-21T13:14:32 | 207,835,311 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 905 | h | // $Id: TiltFlatnessTestPage2.h,v 1.1 2009/10/14 08:09:25 riar Exp $
//
// Copyright (C) Shill Reglerteknik AB 2002
#pragma once
#include "resource.h"
class CTiltFlatnessTestWizard ;
class CTiltFlatnessTestPage2 : public CPropertyPage
{
friend class CTiltFlatnessTestWizard;
friend class CTiltFlatnessTestPage1;
... | [
"riar@now.se"
] | riar@now.se |
c2ed6af50f334917ca56e9a1e847e9be76041d29 | 54f352a242a8ad6ff5516703e91da61e08d9a9e6 | /Source Codes/CodeJamData/17/04/18.cpp | e11f88adc1fd7910efe51f0a99edd9c08ab53c79 | [] | no_license | Kawser-nerd/CLCDSA | 5cbd8a4c3f65173e4e8e0d7ed845574c4770c3eb | aee32551795763b54acb26856ab239370cac4e75 | refs/heads/master | 2022-02-09T11:08:56.588303 | 2022-01-26T18:53:40 | 2022-01-26T18:53:40 | 211,783,197 | 23 | 9 | null | null | null | null | UTF-8 | C++ | false | false | 2,880 | cpp | #include <iostream>
#include <iomanip>
#include <string>
#include <cstdlib>
#include <cmath>
#include <cstring>
#include <ctime>
#include <sstream>
#include <vector>
#include <set>
#include <map>
#include <stack>
#include <queue>
#include <deque>
#include <bitset>
#include <algorithm>
#include <utility>... | [
"kwnafi@yahoo.com"
] | kwnafi@yahoo.com |
b119d3da37ce1539b133f7046e66307ed9ce1b11 | df6d96ba17dc9765770f587a1e04d9880925b2f8 | /src/mntMatMxN.cpp | a27fbc7bcb587afd9de0f9f335b6db32c9dba9b6 | [
"0BSD"
] | permissive | pletzer/mint | 300c7e460453afba3fae4ccc8d04e12bf48341d3 | 50c2c66bce5e09cf14f9f244da67ab4be84fbe5b | refs/heads/master | 2023-08-08T08:38:20.361042 | 2023-07-31T07:18:37 | 2023-07-31T07:18:37 | 130,304,591 | 6 | 4 | 0BSD | 2023-07-31T07:18:38 | 2018-04-20T03:36:44 | C++ | UTF-8 | C++ | false | false | 3,005 | cpp | #include <mntMatMxN.h>
template<std::size_t M, std::size_t K, std::size_t N, class T>
MatMxN<M, N, T> dot(const MatMxN<M, K, T> &a, const MatMxN<K, N, T> &b) {
MatMxN<M, N, T> res( static_cast<T>(0) );
for (std::size_t j = 0; j < N; ++j) {
for (std::size_t i = 0; i < M; ++i) {
for (std::siz... | [
"alexander@gokliya.net"
] | alexander@gokliya.net |
af6fb0071f5ad75ea34675c9640e58a801eb5dfa | df3e2ff866d92846a0a566a62ba21ac0643bbd31 | /Server/userlist.h | 7d28c514a55b7dcc2c9725df8789299f3b8d49a0 | [] | no_license | Psychim/Group5Pro | 49073ee69f396d8bb9f66eae8332ceb549c18954 | 083756def17165ac196dc167399b137ae841f3da | refs/heads/master | 2020-04-18T21:01:41.247025 | 2018-03-17T13:58:59 | 2018-03-17T13:58:59 | 67,047,574 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 486 | h | #ifndef USERLIST_H
#define USERLIST_H
#include <QObject>
#include<QList>
#include "user.h"
class UserList : public QObject
{
Q_OBJECT
public:
explicit UserList(QObject *parent = 0);
User * searchByID(int ID);
User * searchByIP(QString);
bool insertByID(User *);
User * removeAt(int);
User * ... | [
"604315924@qq.com"
] | 604315924@qq.com |
02d1ccaa751c1a1d27a4fa1c9bee9a9e58ccefeb | ac4324b6ee390eadec5c487d5dbdc7964aad3909 | /mpi_mmul_test/CreateMatrix.cc | e0793ea2d2f63e6f4cb2e7c9938697a6f8e8ae61 | [] | no_license | UPPMAX/benchmark-codes | e97f30a365ca0339f6af92f02f3253da9f5a1b78 | 18aa3d7a4e111ad0833a308e703616f7c6a3f34b | refs/heads/master | 2021-01-13T09:38:14.707602 | 2016-11-28T16:50:33 | 2016-11-28T16:50:33 | 72,021,673 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,514 | cc | #include "CreateMatrix.h"
#include "CreateMatrixFromIds.h"
#include "MatrixElementValues.h"
#include <cmath>
CHT_TASK_TYPE_IMPLEMENTATION((CreateMatrix));
cht::ID CreateMatrix::execute(CInt const & matSize,
CInt const & baseIdx1,
CInt const & baseIdx2,
CInt const & matType) {
int n = matSi... | [
"eliasrudberg@gmail.com"
] | eliasrudberg@gmail.com |
60958da4d195512042e7cf60790e83d4fe3264f3 | d87e36e4bc70788eac1474607185ce79838d5358 | /week-02/day-2/11/11.cpp | 68367d609601c548facac04223015f84823b7530 | [] | no_license | greenfox-zerda-sparta/korompaidani | 0e5a3a580658a35c3245da3046bb86544a8b842f | ead60c4d18dd0feba9a0e49758dffdba8ffa3bda | refs/heads/master | 2021-01-12T18:15:09.459661 | 2017-03-31T09:41:51 | 2017-03-31T09:41:51 | 71,350,705 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 273 | cpp | #include <iostream>
#include <string>
using namespace std;
string enda (string e){
return e+"a";
}
int main() {
string k = "kuty";
// write a function that gets a string as an input
// and appends an 'a' character to its end
cout << enda(k);
return 0;
}
| [
"korompaidani@gmail.com"
] | korompaidani@gmail.com |
02bf7128e6e33495a37b1c7aba14fa79e2c514c6 | 7024b8eb4554ec04b2b0860d979cfa30b95c4096 | /dependencies/include/newton/customJoints/NewtonCustomJoint.cpp | a17c1db328b2e80b550de98a4126ec024ca35609 | [] | no_license | BigEvilCorporation/symmetry | 9e189385c4f16d875c3b85c0c1e7a156893d5cd5 | cc7fa534482cf60c52af86c2b3477091962036a2 | refs/heads/master | 2020-11-26T02:10:37.964057 | 2019-12-19T15:38:51 | 2019-12-19T15:38:51 | 228,932,800 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,422 | cpp | //********************************************************************
// Newton Game dynamics
// copyright 2000-2004
// By Julio Jerez
// VC: 6.0
// simple demo list vector class with iterators
//********************************************************************
// NewtonCustomJoint.cpp: implementation of the Newt... | [
"mattphillips@mail.com"
] | mattphillips@mail.com |
98472540701cb79ffdd465a5704b3b920895b4a7 | f75c62b9227f8459e2807fde3279b2a5e56e6e64 | /CHr41/cpm210/4.5/p | 1325c15b4cd05c67d2e627d070a701018b37f4bf | [] | no_license | kohoman/mstAdvComp.sp21 | a718a930d693030e0abf05f451cdee50a6fca5f0 | 30307c3ff3c3e1e2c1dabf611e550f2c426d5d8d | refs/heads/main | 2023-04-22T08:27:11.181441 | 2021-05-03T19:57:22 | 2021-05-03T19:57:22 | 338,087,447 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,873 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 5.0 |
... | [
"khoman@mst.edu"
] | khoman@mst.edu | |
e2e529ff7202539eeb1a3820e28f5ad6314d45e7 | 330f658cc781589558072549fb1268370974c63c | /Animation.cpp | 905b0379b1e13bdf236adda444f90f2d7b56f081 | [] | no_license | DYGames/SkillOlympic_Medieval | 07c10cc1d5c52b4d0b88969b96c3e10265ac51aa | 63f91e54238cc66389526ae0cb0ede631d306468 | refs/heads/master | 2021-01-17T14:21:20.640863 | 2017-03-06T14:58:46 | 2017-03-06T14:58:46 | 84,085,860 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 819 | cpp | #include "DXUT.h"
#include "Sprite.h"
#include "Animation.h"
void Animation::initAnimation(Sprite* t, float d, bool l, bool e)
{
_target = t;
_delay = 0;
_maxdelay = d;
_loop = l;
_erase = e;
_run = true;
_endfunc = nullptr;
}
void Animation::addClips(std::wstring str)
{
_clips.push_back(TextureMng::getInstan... | [
"dygames@naver.com"
] | dygames@naver.com |
46004671fb1219ec6d33e361f9e9fedd13a87b8b | f825c3dd8eee453bcc94039b47f8f4b7173fc9f0 | /lm/sri_test.cc | e697d7225cac58103a3e52019fc2b892387efeae | [] | no_license | lacozhang/pinyin2word | 693b0fc6adc2e320bc1aa5a5564e2cc524dedc94 | 87b111246a9f757f8e8e9ade30ce727d7faaaec2 | refs/heads/master | 2020-07-02T00:11:23.589930 | 2012-12-16T05:58:33 | 2012-12-16T05:58:33 | 4,535,442 | 5 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 1,791 | cc | #include "lm/sri.hh"
#include <stdlib.h>
#define BOOST_TEST_MODULE SRITest
#include <boost/test/unit_test.hpp>
namespace lm {
namespace sri {
namespace {
#define StartTest(word, ngram, score) \
ret = model.FullScore( \
state, \
model.GetVocabulary().Index(word), \
out);\
BOOST_CHECK_CLOSE(scor... | [
"lacozhang@gmail.com"
] | lacozhang@gmail.com |
b8f06ddf99c99b5c619672cd1701e6dd52f468b3 | 6d5f2e99ae89e6c59bdafed707f5a5db673dec23 | /src/xmlToSql/xmlToSqliteHandler.h | 545f932672dffb19925db400d5d7bca85a78ee9a | [
"MIT"
] | permissive | bencabrera/grawitas | b633ae1dbbbb3da8a37b61b2cb48c493d7c299d2 | 8eda68846ed283afe70d56d68375525a1140de70 | refs/heads/master | 2022-03-27T08:27:16.948509 | 2018-01-19T09:48:37 | 2018-01-19T09:48:37 | 81,924,748 | 7 | 7 | MIT | 2022-01-25T18:14:46 | 2017-02-14T08:49:49 | C++ | UTF-8 | C++ | false | false | 815 | h | #pragma once
#include <functional>
#include <set>
#include "../../libs/wiki_xml_dump_xerces/src/handlers/abstractWikiPageHandler.hpp"
#include "../output/formats.h"
#include <sqlite3.h>
#include "../talkPageParser/models.h"
namespace Grawitas {
class XmlToSqliteHandler : public WikiXmlDumpXerces::AbstractWikiPag... | [
"benny@bcabrera.de"
] | benny@bcabrera.de |
5b36fba0fbfe933a49b5e10460dcbb8c6acfd4fa | 5b2633f93fabf3fd69e93fcd4c6f726208677342 | /client.h | 602e1568ca29aaa18ed78269e3c1071c496688fd | [] | no_license | chenditc/hackathon_2014 | d035ab506c531a2298d25dfdf805ed3d825c8138 | c589af763d99172062e77f819bffc820f6420560 | refs/heads/master | 2020-04-28T11:16:12.280261 | 2014-10-18T16:23:41 | 2014-10-18T16:23:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 816 | h | #include <random>
#include <string>
#include "game_io/game_io.h"
#include "game_io/json_response.h"
#include "game_io/move_request.h"
#include "game_io/take_space_response.h"
#include "game_io/wait_response.h"
#include "game_io/greeting.h"
#include "game_io/game_result.h"
using namespace std;
class client : public g... | [
"chenditc@umich.edu"
] | chenditc@umich.edu |
6f45d08a44bf565efeb662f8b00085c8e1737b9a | c239ffbaba19ffe14f5512ebd6f31d06c49873d3 | /Interfaces/LocoBufferEsp32/fwIoTT/lib/IoTT_LocoNetButtons/src/IoTT_LocoNetButtons.h | 9f977656e21a854c2a701c79d1a9daa320d58b78 | [
"MIT"
] | permissive | danielvilas/DigitalTrains | 67d84284ea7ab3dd93b5e6413fe6e96b1a6468d9 | edc5f99ed52c5683a023a1b5e349247640218dd9 | refs/heads/master | 2023-09-05T02:55:52.371906 | 2023-08-25T12:19:23 | 2023-08-25T12:19:23 | 170,680,519 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,759 | h | #ifndef IoTT_LocoNetButtons_h
#define IoTT_LocoNetButtons_h
#include <Arduino.h>
#include <ArduinoJson.h>
#include <IoTT_ButtonTypeDef.h>
#include <IoTT_DigitraxBuffers.h>
class IoTT_LocoNetButtonList;
class IoTT_LocoNetButtons;
class IoTT_BtnHandler;
class IoTT_BtnHandlerCmd
{
public: //
IoTT_BtnHandlerCmd();
... | [
"dvilas@eead.csic.es"
] | dvilas@eead.csic.es |
81be6fd055c05fbb7f8cf568fe903a8025e31232 | 07d87c10a265921c1a031d432b556e6a70357651 | /source/hydra_next/source/application/hydra_imgui.hpp | fabf7140c4e9683b1aabd5a2cbec5a4b50b134a9 | [
"Zlib"
] | permissive | JorenJoestar/DataDrivenRendering | 09fa4fd5b312e8c6c2ccead3404d031d8cd00ef0 | b9078ea3d2d63d1c2cbc6f9ed655e49e23747969 | refs/heads/master | 2021-12-23T23:24:50.828997 | 2021-12-20T17:27:21 | 2021-12-20T17:27:21 | 194,456,496 | 229 | 18 | null | null | null | null | UTF-8 | C++ | false | false | 3,946 | hpp | #pragma once
//
// Hydra ImGUI - v0.15
//
// ImGUI wrapper using Hydra Graphics.
//
// Source code : https://www.github.com/jorenjoestar/
//
// Created : 2019/09/16, 19.23
//
// 0.15 (2021/11/10): + Finished fully functional bindless support, using instance id to retrieve texture in the bind... | [
"gsassone7@gmail.com"
] | gsassone7@gmail.com |
8922814b0e09a2c10bfd224b35727adfaf2f6959 | eda2b66cd014e529bcaa4440d79b5109422ceb99 | /Battleship/Temp/il2cppOutput/il2cppOutput/mscorlib_System_Collections_Generic_Dictionary_2_K2988270486.h | 8e1f946e67466475d355694355f837885359aa4a | [] | no_license | jrbyam/CS372Battleship | a8b9cf491e5fdea6d466a7f5693feed70a348dfb | cb186e0a5777fc4d8879923f8cec4b5d83dac19e | refs/heads/master | 2021-01-10T09:24:55.403518 | 2016-03-11T22:29:00 | 2016-03-11T22:29:00 | 51,184,324 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,302 | h | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
// System.Collections.Generic.Dictionary`2<System.Type,System.Int32>
struct Dictionary_2_t664995206;
#include "mscorlib_System_Object837106420.h"
#ifdef __clang__
#pragma clang diag... | [
"jrbyam@Brock.local"
] | jrbyam@Brock.local |
ccf88912ec3eec3287167e2fb07915421d0844d4 | 2fac67f8d9a53484bc2f1f1e4810bb01fc529361 | /Implement Stack using Queues.cpp | 90f3ef4e67b58b30d144886955abec768f3f27cf | [] | no_license | Zruzhuo/C_Practice | 19610e01ae09b4d4bf4c56142056be6d0285edaf | edd0e482066ae1ac04466fbea19ababf3e4da063 | refs/heads/master | 2021-07-05T08:29:39.838647 | 2020-09-22T14:28:23 | 2020-09-22T14:28:23 | 185,733,298 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 810 | cpp | class MyStack {
public:
queue<int> q1, q2;
/** Initialize your data structure here. */
MyStack() {}
/** Push element x onto stack. */
void push(int x) {
while (!q2.empty()) {
q1.push(q2.front());
q2.pop();
}
q2.push(x);
while (!q1.empty()) {
q2.push(q1.front());
q1.pop();
}
}
/** Removes ... | [
"1197736628@qq.com"
] | 1197736628@qq.com |
aa20ff978059180073b2341197d0d669546371da | 8e62c3eb35302aaa79e4a602ddfbb93489e09660 | /tests/ut/cpp/pre_activate/ascend/ir_fusion/square_sum_fusion_test.cc | 2dd858a0fcac328b63fc454b3a511c5149d41aa5 | [
"Apache-2.0",
"IJG",
"Zlib",
"LGPL-2.1-only",
"MIT",
"BSD-3-Clause",
"BSD-3-Clause-Open-MPI",
"GPL-2.0-only",
"BSL-1.0",
"MPL-2.0",
"MPL-2.0-no-copyleft-exception",
"LicenseRef-scancode-proprietary-license",
"LicenseRef-scancode-public-domain",
"AGPL-3.0-only",
"LicenseRef-scancode-unkno... | permissive | ythlml/mindspore | a7faa28fa401372c73798c6b0ad186fa10386b09 | 028ae212624164044cfaa84f347fc502cb7fcb0f | refs/heads/master | 2022-09-09T20:28:34.554927 | 2020-05-24T06:19:23 | 2020-05-24T06:19:23 | 266,301,148 | 7 | 0 | Apache-2.0 | 2020-05-23T09:09:49 | 2020-05-23T09:09:48 | null | UTF-8 | C++ | false | false | 2,844 | cc | /**
* Copyright 2020 Huawei Technologies Co., Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law... | [
"leon.wanghui@huawei.com"
] | leon.wanghui@huawei.com |
0a338c841ca2d578ecc8b0bd4d0e1ffe6d200aa9 | 92673d60154f2fd1fb3e39c70cd7377d53135650 | /llvm/4.0.1/include/polly/ScopBuilder.h | 8dc9677c87bc441a822f244ea90491238b08e325 | [
"NCSA"
] | permissive | EnjoyLifeFund/macSierra-cellars | 3cc4684387ef854dd0dfd26caacb8bf92f268b11 | fc71057183db092410408b5dba42729191ee034e | refs/heads/master | 2021-06-23T12:30:40.182743 | 2017-09-05T04:57:00 | 2017-09-05T04:57:00 | 84,413,038 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 10,392 | h | //===- polly/ScopBuilder.h -------------------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===--------------------------------------------------------... | [
"dojo@dojos-MacBook-Pro.local"
] | dojo@dojos-MacBook-Pro.local |
460ec2f93c38390af4f8c6d069736a1332c301df | 77db07bb26f690b700ef8808152f1bbbcd2f5bda | /include/nanikanizer/dropout_expression.hpp | 4f9bc34ab0f3bda0b8caae830c63025fc9e9ee7d | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | kbinani/nanikanizer | 167170f5e63bb6f0123093c1303142e343858139 | de109279485fbb03e2198a36f44f731ac8cc5224 | refs/heads/master | 2020-04-01T18:02:21.649310 | 2016-08-19T07:35:51 | 2016-08-19T07:35:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,371 | hpp | #pragma once
#include "expression.hpp"
#include "expression_node.hpp"
namespace nnk
{
template <class T>
class dropout_expression_node : public expression_node<T>
{
private:
typedef expression_node<T> base_type;
public:
typedef typename base_type::scalar_type scalar_type;
typedef typename base_type::ten... | [
"pn.suzuki.kojiro@gmail.com"
] | pn.suzuki.kojiro@gmail.com |
dce2a4b7b7b82cb149123394b290481b8d2f5abc | a046e12a19e5d0e03e5688edd4ac26e3abeffff8 | /include/Calculator.hpp | 92d074d2b7e7173b7879db922a571b51ee5dafc8 | [] | no_license | qschwagle/Simple-Calculator | 55d1e38081edc732441dbc042ba4fec964d79965 | 280de01efdd8aee7f8b2cd2d4b0d95c6e21df916 | refs/heads/master | 2023-03-20T21:26:27.466982 | 2021-03-17T19:19:24 | 2021-03-17T19:19:24 | 295,261,214 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 370 | hpp | #pragma once
#include<string>
#include<vector>
#include<memory>
#include "Token.hpp"
class Calculator {
public:
Calculator()=default;
Calculator& operator=(const Calculator&)=delete;
Calculator(const Calculator&)=delete;
std::string evaluate(std::string expression);
private:
};
double evaluate(std:... | [
"qschwagle@gmail.com"
] | qschwagle@gmail.com |
02ddf35c89c65069261516476dec1848def5e6e4 | bf72d932e92eb7253f1cbb6285e931811ce86580 | /ch5/revision/errors.cpp | d5b84ef7ced03338e8820f45836baebfa726497f | [] | no_license | Wujfeng/Programado-Principoj-kaj-Praktikado | 16f25d5c2e4375f1c508cf2419c2a290d4dd26db | 59c1cc5a84622239d817ac916173a524b98bb7cf | refs/heads/master | 2021-05-07T22:04:06.960565 | 2016-12-01T02:01:05 | 2016-12-01T02:01:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 721 | cpp | // errors.cpp: practice how to find and handle errors.
// verdastelo; 0.1
// "std_lib_facilities.h" is a library written by Bjarne Stroustrup for
// use with his book "Programming Principles and Practice Using C++."
#include "std_lib_facilities.h"
class Bad_area{};
int area (int length, int width) {
if (length <= ... | [
"verda_stelo@hotmail.com"
] | verda_stelo@hotmail.com |
e956dbc34c30957b1633c2aa6900e36e806853e9 | 12aad6ffc62101c91dfe72d9c5edf3881a5c7249 | /GraphicsTest/Game2dGraphicdoth/GameOverState.h | 592cbeaed64fdc1eb3c40ed9e8fc3f693ad9cd2d | [] | no_license | trongcongdn/MyProject | 8be325f901c6702315dd734a712081970a596bdc | 043f9163fd697cec60344b3c700191af1c6cb996 | refs/heads/master | 2021-01-19T11:09:06.126602 | 2017-04-11T13:41:10 | 2017-04-11T13:41:10 | 87,933,210 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 127 | h | #pragma once
#include "State.h"
class GameOverState :
public State
{
public:
GameOverState();
virtual ~GameOverState();
};
| [
"nguyentrongcong.13i3@gmail.com"
] | nguyentrongcong.13i3@gmail.com |
178599d8995e22548eb0e6679dd9ca3f0c9bc38e | 0064d4b6f3908b2989a7965e49afa3f4bf65d095 | /leetcode+牛客/非相邻的地块种花问题.cpp | 7bff40bd59f2409d610b190dc7542777c38e765f | [] | no_license | MyHiHi/myLeetcode | d7a5c1c3a3a30ba517183f97369ed6c95e90cae3 | ca36041af7f73d91c95cdbe9599ac5ec15a1243c | refs/heads/master | 2021-05-20T08:29:37.017725 | 2020-05-03T05:17:05 | 2020-05-03T05:17:05 | 252,196,933 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,351 | cpp | /*
@File : 非相邻的地块种花问题.cpp
@Time : 2020/03/22 09:59:23
@Author : Zhang tao
@Version : 1.0
@Desc : 非相邻的地块种花问题.cpp
*/
/*
假设你有一个很长的花坛,一部分地块种植了花,另一部分却没有。可是,花卉不能种植在相邻的地块上,它们会争夺水源,两者都会死去。
给定一个花坛(表示为一个数组包含0和1,其中0表示没种植花,1表示种植了花),和一个数 n 。能否在不打破种植规则的情况下种入 n 朵花?能则返回True,不能则返回False。
示例 1:
输入: f... | [
"909535692@qq.com"
] | 909535692@qq.com |
545a584e6342e90a4088ce202ef1995ff5dca01e | 76c0d4608b7d7b7efd00744e904e51865394e64f | /STL/员工分组.cpp | d764f4894fc3b31f8177dbb267cadfbe9d5a012b | [] | no_license | ThreshKing/ubuntu-vscode | 695f224718753f525d69c26880c4bc975af4dcc7 | ea667d88b5eed2408cbe31b5be7f61b72843e630 | refs/heads/master | 2023-02-24T04:17:37.978572 | 2021-02-02T03:02:33 | 2021-02-02T03:02:33 | 330,846,016 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,166 | cpp | #include<iostream>
#include<vector>
#include<map>
#include<string>
#include<ctime>
using namespace std;
#define CEHUA 0
#define MEISHU 1
#define YANFA 2
class Worker
{
public:
string m_Name;
int m_Salary;
};
void createWorker(vector<Worker> &v)
{
string nameSeed = "ABCDEFGHIJ";
for(int i=... | [
"547151291@qq.com"
] | 547151291@qq.com |
1ee1268241fdb6765fca7c421af7f568ce24433e | b7f3edb5b7c62174bed808079c3b21fb9ea51d52 | /base/test/reached_code_profiler_android.cc | cfedc6b37a8de6f9bc3a518214a74c1fda6d7f3b | [
"BSD-3-Clause"
] | permissive | otcshare/chromium-src | 26a7372773b53b236784c51677c566dc0ad839e4 | 64bee65c921db7e78e25d08f1e98da2668b57be5 | refs/heads/webml | 2023-03-21T03:20:15.377034 | 2020-11-16T01:40:14 | 2020-11-16T01:40:14 | 209,262,645 | 18 | 21 | BSD-3-Clause | 2023-03-23T06:20:07 | 2019-09-18T08:52:07 | null | UTF-8 | C++ | false | false | 798 | cc | // Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/android/jni_android.h"
#include "base/android/reached_code_profiler.h"
#include "base/test/test_support_jni_headers/ReachedCodeProfiler_jni... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
feef0d1b79fd45bd63fb3e0199c2c23796c76a2d | d2e27b839614d8b23022ab12dd1c116845b2912b | /Mahatta/Source/Game/Interval.cpp | a3f3eb94a89c112b2bb4c1e46fdeb667ea29dce3 | [] | no_license | Crogarox/Mahatta | c734acd3c4779036d4232c18c98012d4eaab926e | 039a708f9cbde426a146d8b9e6bfb14ba72abb83 | refs/heads/master | 2021-12-18T00:12:26.527787 | 2012-10-03T07:09:42 | 2012-10-03T07:09:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 877 | cpp | #include "game_sequence.h"
namespace Sequence
{
/// @brief Clears the selection
void Interval::Clear (void)
{
mCount = 0;
}
/// @brief Removes the interval from the range
void Interval::Remove (void)
{
delete this;
}
/// @brief Gets the starting position and select count
/// @param whe... | [
"david.dionisio@lanternla.com"
] | david.dionisio@lanternla.com |
a066f69779b0746fb824e47634934017275d7ed6 | 846a7668ac964632bdb6db639ab381be11c13b77 | /android/hardware/qcom/display/sdm845/sdm/include/core/display_interface.h | 524141ec78cdacf77d44c7926b34b95edade5faa | [] | no_license | BPI-SINOVOIP/BPI-A64-Android8 | f2900965e96fd6f2a28ced68af668a858b15ebe1 | 744c72c133b9bf5d2e9efe0ab33e01e6e51d5743 | refs/heads/master | 2023-05-21T08:02:23.364495 | 2020-07-15T11:27:51 | 2020-07-15T11:27:51 | 143,945,191 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 24,252 | h | /*
* Copyright (c) 2014 - 2017, The Linux Foundation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are permitted
* provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright notice, this list of
* ... | [
"mingxin.android@gmail.com"
] | mingxin.android@gmail.com |
e07b5abe66a20e80b1511d3ed4be361d4e5bf2ff | f84344c4f667804f27e559a1e92b28b00a8a22e9 | /Database Implementation/C++/ibtree/tree/PLI/PLI.h | 98b26890378de626c2b61ff9ad4c73fed23241ec | [] | no_license | TonHai1111/DB_Implementation | 27f79f0858767ba8ced4d460d1e9f7481968ae8b | 5a1057f2b178bc9b3337cbbfb585c5af496f47d9 | refs/heads/main | 2023-06-15T21:24:16.175190 | 2021-05-07T20:34:46 | 2021-05-07T20:34:46 | 354,896,195 | 0 | 0 | null | 2021-05-07T20:34:46 | 2021-04-05T16:20:32 | Python | UTF-8 | C++ | false | false | 1,076 | h | #ifndef PLI_h
#define PLI_h
#include "Types/PLIDataType.h"
#include "../tools/Operations.h"
#include "../PLITypes/Constants.h"
#include "../tools/StringFunctions.h"
#include <iostream>
#include <string>
#include <sstream>
#include <fstream>
#include <vector>
class PLI
{
public:
clusteredData * clustered;
overflow... | [
"tonthatdaihai@gmail.com"
] | tonthatdaihai@gmail.com |
a8a50201ac8da126e1e53496caa33beac48d8ce7 | 749be0e5c746296fa5069c99b62509edafeb0b58 | /ListOfInt/ListOfInt.h | 41bf9773dbc655a2d688d67674bc8f5ad5bc9a4c | [] | no_license | cniel/cpp_projects | 80b92e5ffe10c251e54e32d874395f4c182341a2 | ca46dcf2ef226e9ff634cadc936c93eb235ea0e0 | refs/heads/master | 2021-01-23T20:44:23.829154 | 2014-06-01T14:20:05 | 2014-06-01T14:20:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 477 | h | #ifndef LISTOFINT_H
#define LISTOFINT_H
#include <iostream>
using namespace std;
class ListOfInt
{
private:
struct item{
int num;
item* next;
};
item* _first;
item* _last;
int _size;
public:
ListOfInt();
~ListOfInt();
void Append(int num);
void Unshift(int num);
... | [
"niel.clement@gmail.com"
] | niel.clement@gmail.com |
a76d434a7e5d664a89e235b894d2d7792b3e3714 | 31dec155a9e069adfcf209238677b49d23bf1694 | /libraries/Statistic/examples/Average/Average.ino | 90e755a1d78a815a546d72b0fe31e9b1d5ef3671 | [
"MIT"
] | permissive | jantje/Arduino | 75a35cfb2e2ce7a1a78ba545ac30ac8c752d1aa8 | cd40e51b4eb9f8947aa58f278f61c9121d711fb0 | refs/heads/master | 2021-12-03T11:16:44.274410 | 2021-07-11T13:37:02 | 2021-07-11T13:37:02 | 382,966,519 | 0 | 0 | MIT | 2021-07-04T23:21:23 | 2021-07-04T23:21:22 | null | UTF-8 | C++ | false | false | 1,334 | ino | //
// FILE: Average.ino
// AUTHOR: Rob dot Tillaart at gmail dot com
// VERSION: 0.4
// PURPOSE: Sample sketch for statistic library Arduino
//
#include "Statistic.h"
Statistic myStats;
uint32_t start;
uint32_t stop;
void setup(void)
{
Serial.begin(115200);
Serial.println(__FILE__);
Serial.print("Demo Sta... | [
"rob.tillaart@gmail.com"
] | rob.tillaart@gmail.com |
9f7ed61680148f1c8aecd6686b2aaff7ae5be3d7 | 084c3fd59ae20cc9f4ee77f839b8b4c4f920266d | /kattis/perfectpowers.cpp | ffcb3fbbfc8900cf20b5898fd950f71828a5f85f | [] | no_license | dawidjaja/competitive-programming | 24d06c73d6ddbc931f1a2fe1bc2766f4e401bbf4 | a8c52ad8bfe8ac6908b3666abc3026da7ea8f27d | refs/heads/master | 2021-06-17T20:22:21.309523 | 2021-03-17T09:19:45 | 2021-03-17T09:19:45 | 149,089,446 | 0 | 0 | null | 2019-10-14T15:26:49 | 2018-09-17T07:57:52 | C++ | UTF-8 | C++ | false | false | 642 | cpp | #include<bits/stdc++.h>
using namespace std;
long long n;
int main() {
while (scanf("%lld", &n) && n) {
vector<long long> factors;
for (long long i = 2; i * i <= abs(n); i++) {
long long cnt = 0;
while (n % i == 0) {
cnt++;
n /= i;
... | [
"dalfred2000@gmail.com"
] | dalfred2000@gmail.com |
a10f06304a9b9b02797f3078c010fb5ee4c26f1d | 69c4f6088a11bdaf787dc22c85e494e593a11914 | /webrtc/modules/audio_processing/aec3/aec_state.cc | df56c3a433f793c2597eee8ef89583db953185d9 | [
"BSD-3-Clause",
"LicenseRef-scancode-google-patent-license-webrtc"
] | permissive | xuanniao/pulseaudio-webrtc-audio-processing | 902854e7822a339dbc5e9d29ebce44ec31055f8b | e31340c243f034e26e1e876f3f32fc842f5e5b5b | refs/heads/master | 2022-05-10T06:54:44.936642 | 2021-10-19T22:33:06 | 2021-10-20T15:16:19 | 248,706,924 | 0 | 0 | BSD-3-Clause | 2020-03-20T08:41:09 | 2020-03-20T08:41:09 | null | UTF-8 | C++ | false | false | 18,800 | cc | /*
* Copyright (c) 2017 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | [
"arun@asymptotic.io"
] | arun@asymptotic.io |
d26ae67d159e9cfbfce0f4006bd598103394441b | 4412b800c9acded952501d43e0ae79074a7085fc | /include/dtc/statgrab/statgrab.hpp | 7f97ca4cf69fad9224d70d089db77b9551d49010 | [
"MIT"
] | permissive | dimahuang/DtCraft | 65641dafaef9d0554aa0fa2b700cc810333db520 | 80cc9e1195adc0026107814243401a1fc47b5be2 | refs/heads/master | 2020-11-24T10:02:49.986469 | 2019-05-04T20:33:50 | 2019-05-04T20:33:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,828 | hpp | /******************************************************************************
* *
* Copyright (c) 2018, Tsung-Wei Huang, Chun-Xun Lin and Martin D. F. Wong, *
* University of Illinois at Urbana-Champaign (UIUC), IL, USA. *
... | [
"twh760812@gmail.com"
] | twh760812@gmail.com |
d8a3856abfc4894ff514afe14eaecbca2620f0c7 | 8cd58282fb6cc8326e4f5d468d6b94a4c50d7527 | /LibBase/ggBehaviorBlocking.h | bb6694b28bba0d8b1afe6f6ff73b9e3ded7e637e | [] | no_license | TheGoofy/ggCircleFinder | bbbf7202b498ec907b8e551bd782627c58743299 | fe7a031d7ebbea64aa2c67991bfe4fabb8988dd7 | refs/heads/master | 2020-03-22T14:49:20.754057 | 2019-12-28T14:33:31 | 2019-12-28T14:33:31 | 140,208,141 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 342 | h | #ifndef GGBEHAVIORBLOCKING_H
#define GGBEHAVIORBLOCKING_H
// 1) include system
// 2) include own project-related (sort by component dependency)
#include "LibBase/ggBehaviorT.h"
// 3) forward declarations
class ggBehaviorBlockingTemplate;
typedef ggBehaviorT<ggBehaviorBlockingTemplate> ggBehaviorBlocking;
#endif //... | [
"cla@gmx.ch"
] | cla@gmx.ch |
908f8d64bcb3b78a89b03a97000c23033636c2a9 | 573b7f2b79b6fb8b21b40985f7639bc003b60f7e | /SDK/RadialCenterVehicle_parameters.h | 8fa262f81bc1be10a233db840c9a5be5c2ec484f | [] | no_license | AlexzDK/SquadSDK2021 | 8d4c29486922fed3ba8451680d823a04a7b7fc44 | cdce732ad4713b6d7f668f8b9c39e160035efb34 | refs/heads/main | 2023-02-21T02:52:15.634663 | 2021-01-23T23:28:57 | 2021-01-23T23:28:57 | 332,328,796 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,664 | h | #pragma once
// Name: Squad, Version: 13-01-2021
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
/*!!HELPER_DEF!!*/
/*!!DEFINE!!*/
namespace UFT
{
//---------------------------------------------------------------------------
// Parameters
//------------------------------------------------------------------------... | [
"39485681+AlexzDK@users.noreply.github.com"
] | 39485681+AlexzDK@users.noreply.github.com |
fb2c808afde1517aa36fc9f5ec267945ffc8a150 | 0edd94c818463a78931bf726824fee9047e494ed | /server.cpp | 7a5c804fa65e206034b62af3ec0e3a6192b48ce1 | [] | no_license | poprygun/cpp-app | c218de5c0284ab293aa8288aac95b54d8aff6522 | af5fc0e8405944c4828caf0dabecfeb20ff08ee0 | refs/heads/master | 2023-01-24T15:16:09.102371 | 2020-12-01T19:18:10 | 2020-12-01T19:18:10 | 315,657,940 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,733 | cpp | #include <sys/socket.h> // For socket functions
#include <netinet/in.h> // For sockaddr_in
#include <cstdlib> // For exit() and EXIT_FAILURE
#include <iostream> // For cout
#include <unistd.h> // For read
int main() {
// Create a socket (IPv4, TCP)
int sockfd = socket(AF_INET, SOCK_STREAM, 0);
if (sockfd == -1) ... | [
"poprygun@hotmail.com"
] | poprygun@hotmail.com |
4e2ef26e6ef15c39c238ab09a4d5fbf6766e2ae8 | 7859b6b4f7f2024bfaace1423d062f069711c8a0 | /opt/ir_high_opt.cpp | 1e2321745ee12fdf0844056f838be4b93d9684bb | [
"BSD-3-Clause",
"LicenseRef-scancode-generic-cla"
] | permissive | onecoolx/xoc | 751f0b28dacbd7e358afbeb679b9335ac9dbc7bb | 1af5e48f4e2967d33cf7aa0359ed526d4920e6a6 | refs/heads/master | 2023-01-07T19:33:04.033188 | 2023-01-04T09:59:20 | 2023-01-04T09:59:20 | 40,281,588 | 0 | 0 | null | 2018-02-07T06:08:22 | 2015-08-06T03:10:27 | C++ | UTF-8 | C++ | false | false | 5,545 | cpp | /*@
XOC Release License
Copyright (c) 2013-2014, Alibaba Group, All rights reserved.
compiler@aliexpress.com
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 c... | [
"steven.known@gmail.com"
] | steven.known@gmail.com |
cd79e0d8c8d38155ac6a71ef8308750f08541818 | 3eadfd659ece486d71e8a97a6ec8a2366f3ccdc7 | /APD_Tema4_2012/Tema4.cpp | 3beb5d38afbfdcc863ef65256b2de6d09833455c | [] | no_license | andreeabican/Andreea | 739c5eb9c3e9270f40e4cf3fb69f64bc5f962313 | 246b7cb0f0d28a2fadb890c217713035e6274846 | refs/heads/master | 2021-01-19T00:23:05.248955 | 2016-01-24T19:02:10 | 2016-01-24T19:02:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,394 | cpp | #include <stdio.h>
#include <stdlib.h>
#include <iostream>
#include <fstream>
#include <string>
#include <unistd.h>
#include "mpi.h"
using namespace std;
void afisareTabela(int* tabela, int n, int rank) {
int i;
cout << "Pentru nodul " << rank << ":\n";
for (i = 0; i < n; i++) {
cout << i << " - " << tabela[i] <<... | [
"simonaandreea.badoiu@gmail.com"
] | simonaandreea.badoiu@gmail.com |
33e097170f37b3a12c119202d2c41cdce37be72f | 19865cda31b2a42fbb17ac4105e4a422a83342f6 | /BOJ/01000/1987_알파벳.cpp | 9ceeba7e17621c48c51031d360a6904e30a5c555 | [] | no_license | warmwhiten/PS | 0f19c3742b09ee966196fc4e25f4fd58070a0eb2 | a2a1d8952e6cb4f65cc0fede35d730a80af617ff | refs/heads/master | 2023-02-08T15:55:06.389594 | 2020-12-28T06:57:40 | 2020-12-28T06:57:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 898 | cpp | #include <bits/stdc++.h>
using namespace std;
#define ll long long int
#define FUP(i, a, b) for(int i = a; i <= b; i++)
#define FDOWN(i, a, b) for(int i = a; i >= b; i--)
#define MS(a, b) memset(a, b, sizeof(a))
#define ALL(v) v.begin(), v.end()
int dy[4] = { -1, 1, 0, 0 };
int dx[4] = { 0, 0, 1, -1 };
int N, M;
char ... | [
"gyuho965@gmail.com"
] | gyuho965@gmail.com |
dc8ae971874e95e3ec6ae9ccfbf3b1efdc2b6c94 | b06126d225c3fd72aacd5635e11df9047f71dc0b | /Engine/Source/Core/Texture/TNearestPixelTex2D.h | 21454c3c59678ff41800a986d1373bc8239bec28 | [
"MIT"
] | permissive | MarvinChung/Photon-v2 | 80deaa52c723f0a34bb1d84e829b251012b2626c | a42761797f5364525e5686cd7fe2eff6f5b04ddf | refs/heads/master | 2020-04-03T20:43:08.028086 | 2019-01-25T20:31:11 | 2019-01-25T20:31:11 | 155,555,269 | 1 | 0 | MIT | 2018-10-31T12:39:52 | 2018-10-31T12:39:51 | null | UTF-8 | C++ | false | false | 1,045 | h | #pragma once
#include "Core/Texture/TPixelTex2D.h"
#include "Core/Texture/SampleLocation.h"
#include "Math/math.h"
namespace ph
{
template<typename T, std::size_t N>
class TNearestPixelTex2D final : public TPixelTex2D<T, N>
{
public:
using TPixelTex2D<T, N>::TPixelTex2D;
virtual ~TNearestPixelTex2D() override = de... | [
"b01502051@ntu.edu.tw"
] | b01502051@ntu.edu.tw |
73a6fc36d1924177831c4f452f99e7a3a6aa0d77 | fd626ef9b6fe25d66bdcd3b12fceab5ae335c685 | /Player.h | 92028a732106b9dae4a5ed504a2355f8f0d20be5 | [] | no_license | tdemchuk/AIChess | 555fe0ef0fb184fb2ff3e2a4110cb78e4ef0acc0 | 1ac8016e9cc0091459603780796a94280e256933 | refs/heads/master | 2022-04-26T06:18:29.055206 | 2022-04-12T20:47:41 | 2022-04-12T20:47:41 | 220,375,058 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 988 | h | #ifndef PLAYER_H
#define PLAYER_H
#include "Color.h"
#include "Piece.h"
#include "Gameboard.h"
#include "GameState.h"
#include <vector>
/*
Player Class
*/
class Player
{
public:
Player() = delete;
Player(Color team);
~Player();
const Color team() const; // Return the team this player is on
std::str... | [
"td16qg@brocku.ca"
] | td16qg@brocku.ca |
96ea4e0307853e2493e5599404a684eab555d053 | 75791b7f138acb94a1c9a34fb721de8ef71b6d5d | /fon9/InnDbfRoom.hpp | 5b6cdbfa61bf4bd120b89acfa26d9674ff56d3c1 | [
"Apache-2.0"
] | permissive | yuan0105/libfon9 | 2418467e34cbe797ad6a7bc42aaf30ad3535ce8f | e4b7da9cb04181c36fc15305409a04772b774fd8 | refs/heads/master | 2022-12-30T02:45:55.775354 | 2020-09-21T07:25:36 | 2020-09-21T07:25:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,552 | hpp | /// \file fon9/InnDbfRoom.hpp
///
/// ```
/// InnDbfRoom format: _____________________
/// / Bitv format \.
/// +-- 4bytes --+- 1 byte -+- 4bytes -+-----------+-----------+------------+
/// | BlockCount | RoomType | DataSize | TableId | SyncKey | P... | [
"fonwinz@gmail.com"
] | fonwinz@gmail.com |
c123c57e48ce6fba76a03f14845859bfdcca7df6 | a06a9ae73af6690fabb1f7ec99298018dd549bb7 | /_Library/_Include/boost/units/physical_dimensions/angular_velocity.hpp | 41c85f230698f9eb5483558870805dfdaa3b5395 | [] | no_license | longstl/mus12 | f76de65cca55e675392eac162dcc961531980f9f | 9e1be111f505ac23695f7675fb9cefbd6fa876e9 | refs/heads/master | 2021-05-18T08:20:40.821655 | 2020-03-29T17:38:13 | 2020-03-29T17:38:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,278 | hpp | ////////////////////////////////////////////////////////////////////////////////
// angular_velocity.hpp
// Boost.Units - A C++ library for zero-overhead dimensional analysis and
// unit/quantity manipulation and conversion
//
// Copyright (C) 2003-2008 Matthias Christian Schabel
// Copyright (C) 2008 Steven Watanabe
... | [
"adm.fael.hs@gmail.com"
] | adm.fael.hs@gmail.com |
964c731ab4f2b230e12e4cabec95cc5f2e899b80 | cb7b5aa09f79f0df90adb9d82d7d5ca00c59605f | /Wall_of_Death.ino | 36e64060fd2583bd7267ffe072886f27d2723231 | [] | no_license | DonFalma/WallOfDeath | c781c6f20b3a4fdf71a3eb5d042f90b0e3aad1af | e66219aa75ac4933c1f9b13bb9958e784a014308 | refs/heads/master | 2016-09-06T06:54:27.619478 | 2014-11-01T05:36:13 | 2014-11-01T05:36:13 | 25,685,745 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,274 | ino | // PINs
const int cNumberOfLeds = 8;
const int cLed[] = {2,3,4,5,6,7,8,9};
const int cTrigger = A0;
const int cEcho = A1;
// Grenzwerte
const unsigned int cHoldDuration = 500; // LEDs bleiben 500ms an
const unsigned int cDurationMax = 1176; // ca. 200mm
unsigned int duration_min = cDurationMax - 1;
unsigned long star... | [
"github.20.donfalma@spamgourmet.com"
] | github.20.donfalma@spamgourmet.com |
572865291ca1a79be8d0bb5b20d9c08478653923 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/git/gumtree/git_repos_function_2798_git-2.2.3.cpp | e9e2e788219c1db21a5415cd41bd4a73ce056cc9 | [] | 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 | 354 | cpp | char *sha1_to_hex(const unsigned char *sha1)
{
static int bufno;
static char hexbuffer[4][50];
static const char hex[] = "0123456789abcdef";
char *buffer = hexbuffer[3 & ++bufno], *buf = buffer;
int i;
for (i = 0; i < 20; i++) {
unsigned int val = *sha1++;
*buf++ = hex[val >> 4];
*buf++ = hex[val & 0xf];
... | [
"993273596@qq.com"
] | 993273596@qq.com |
6bbe4207a0c19c988e029e51b5787122b8bb2c43 | 8be981f0e66a6d50d367986bb0fe788b17165a58 | /Week_1/examples/Chapter_1/1_3_인스턴스와 입출력 흐름/1_3_3/main.cpp | 11ec651c279df2d3a0181d1acf72a573a212b5b1 | [] | no_license | JeongJiAn/Hacker_Study_OOP | 16cd7c4c66b42697201fc0b7c7bf1206850388ee | ef545c50ec8ade1392d1f1c1ecd62ed44947478f | refs/heads/master | 2023-07-17T01:51:26.046305 | 2021-08-22T07:04:24 | 2021-08-22T07:04:24 | 379,502,114 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 534 | cpp | #include <iostream>
#include <string>
#include <cstdio>
int main() {
int n_age;
std::cout << "나이를 입력하세요: " << std::endl;
std::cin >> n_age;
char szJob[32];
std::cout << "직업을 입력하세요: " << std::endl;
std::cin >> szJob;
std::string str_name;
std::cout << "이름을 입력하세요: " << std::endl;
std::cin >> str_name;
std::... | [
"devjian0219@gmail.com"
] | devjian0219@gmail.com |
8d89ace54ce318d94fd828849e5a75230bd747c8 | f315e2cd8780325d797ac23b080b0e3da071d3bd | /code/code 2.0/gameBoard.cpp | b7aa56522c959843440b18fb7d069dcc0ad281e3 | [] | no_license | tgibbons95/FinalProject | 2d7e4b9a7ddb4b5d71e90fcba043d28ebd83b1ad | 56b513e3cd72b812f1574836fc1850aa3bbe24d5 | refs/heads/master | 2020-12-24T08:40:16.971321 | 2016-12-10T01:00:06 | 2016-12-10T01:00:06 | 73,329,922 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,600 | cpp | #include "headers/gameBoard.h"
gameBoard::gameBoard() {
fullBoard = false;
gameFinished = false;
int i;
for (i = 0; i < 7; i++) {
boardColumn current; //create empty column
board.push_back(current); //push 7 empty columns to intialize
}
numPlayers = 1;
playerColor = 'R';
}
gameBoard::~gameBoard() {
//de... | [
"luk3r0ck5@gmail.com"
] | luk3r0ck5@gmail.com |
adad62cedce23440e1b869f35b7fcb079476c27f | a8597563c1349d1ff2820cfc528d3d8d05b74bc7 | /SupportPackage/EAIOEAWebKit/local/include/EAIO/internal/EAIOEARefCount.h | cb2c4d223955a8739777c45c3cdd86a484736b69 | [] | no_license | lentinic/EAWebKit | 68f8288b96d3b629f0466e94287ece37820a322d | 132ee635f9cd4cfce92ad4da823c83d54b95e993 | refs/heads/master | 2021-01-15T22:09:35.942573 | 2011-06-28T16:41:01 | 2011-06-28T16:41:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,545 | h | /*
Copyright (C) 2009 Electronic Arts, Inc. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and th... | [
"nanashi4129@gmail.com"
] | nanashi4129@gmail.com |
41b62c3add838df07755a3f6cccc3addcf01dd9b | 9f26a69452c93275be06697def0f40e7d9636946 | /tests/InitialSketches/advertise.ino | cf739c16855730c64642c58a7f3c9cccd9831758 | [] | no_license | BankingofThings/BoT-ESP32-SDK | e3e0927347b0907811d7cfefb6abd060a4271df2 | 7aa61bfe88b053ce3537370644667875718d19d6 | refs/heads/master | 2021-06-28T06:20:29.404388 | 2020-02-13T15:41:46 | 2020-02-13T15:41:46 | 166,825,403 | 0 | 0 | null | 2020-06-08T08:35:03 | 2019-01-21T14:13:26 | C++ | UTF-8 | C++ | false | false | 2,857 | ino | /*
Based on Neil Kolban example for IDF: https://github.com/nkolban/esp32-snippets/blob/master/cpp_utils/tests/BLE%20Tests/SampleServer.cpp
Ported to Arduino ESP32 by Evandro Copercini
*/
#include <BLEDevice.h>
#include <BLEUtils.h>
#include <BLEServer.h>
// See the following for generating UUIDs:
// https://... | [
"damian@bankingofthings.io"
] | damian@bankingofthings.io |
c9b949fa63fd1849fe714dd0c44547c7f448e9ef | 3044f89c4a284ceebef54a9e7ef1fb6b69231c63 | /feathergui/fgDropdown.cpp | bdba7ce8c32d53479ba070aebaba11896b6e7836 | [
"Apache-2.0"
] | permissive | ILikePizza555/feathergui | 79c597fcbca0c19b4f54b5b7ed2ddc15e914ea0d | 8357e47512455b5b38e9b778eab97f81e7663e91 | refs/heads/master | 2021-06-23T04:47:31.184573 | 2017-08-31T10:17:27 | 2017-08-31T10:17:27 | 105,095,736 | 0 | 0 | null | 2017-09-28T03:01:57 | 2017-09-28T03:01:57 | null | WINDOWS-1252 | C++ | false | false | 6,311 | cpp | // Copyright ©2017 Black Sphere Studios
// For conditions of distribution and use, see copyright notice in "feathergui.h"
#include "fgDropdown.h"
#include "feathercpp.h"
void fgDropdown_Init(fgDropdown* BSS_RESTRICT self, fgElement* BSS_RESTRICT parent, fgElement* BSS_RESTRICT next, const char* name, fgFlag flags, co... | [
"erikm@blackspherestudios.com"
] | erikm@blackspherestudios.com |
2a16f817a74fe42b0465a986cafdfa181debfbbd | 37b30edf9f643225fdf697b11fd70f3531842d5f | /third_party/blink/renderer/core/page/scrolling/text_fragment_handler.cc | eca0dec6587cae5988558144ef814640981d51b2 | [
"BSD-3-Clause",
"LGPL-2.0-or-later",
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-2.1-only",
"GPL-1.0-or-later",
"GPL-2.0-only",
"LGPL-2.0-only",
"BSD-2-Clause",
"LicenseRef-scancode-other-copyleft",
"Apache-2.0",
"MIT"
] | permissive | pauladams8/chromium | 448a531f6db6015cd1f48e7d8bfcc4ec5243b775 | bc6d983842a7798f4508ae5fb17627d1ecd5f684 | refs/heads/main | 2023-08-05T11:01:20.812453 | 2021-09-17T16:13:54 | 2021-09-17T16:13:54 | 407,628,666 | 1 | 0 | BSD-3-Clause | 2021-09-17T17:35:31 | 2021-09-17T17:35:30 | null | UTF-8 | C++ | false | false | 9,816 | 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 "third_party/blink/renderer/core/page/scrolling/text_fragment_handler.h"
#include "base/metrics/histogram_functions.h"
#include "base/strings/st... | [
"chromium-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | chromium-scoped@luci-project-accounts.iam.gserviceaccount.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.