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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ce3fb3184c9a7d1b79e8a3da026f5f0c0e324051 | 2a1cadc7c37e34e449f9a9ce159c29f425a8c82f | /mediatek/platform/mt6577/hardware/audio/aud_drv/AudioAnalogAfe.h | ec76406c612a86646a52a36f27c7bde35695a772 | [] | no_license | abgoyal-archive/OT_5035E | 31e74ab4fed05b8988acdc68c5a3af6b6381f43f | 56d0850adfc5501ebb4a3b020bd1b985d5e9dcdc | refs/heads/master | 2022-04-16T15:09:24.021237 | 2015-02-07T00:22:16 | 2015-02-07T00:22:16 | 30,439,232 | 0 | 2 | null | 2020-03-08T21:16:36 | 2015-02-07T00:20:49 | C | UTF-8 | C++ | false | false | 7,459 | h |
#ifndef ANDROID_AUDIO_ANALOGAFE_H
#define ANDROID_AUDIO_ANALOGAFE_H
#include <stdint.h>
#include <sys/types.h>
#include "AudioYusuDef.h"
#ifndef ABB_MDSYS_BASE
#define ABB_MDSYS_BASE (0xFD114000)
#endif
#define MIX_ABB_REGION (0x9B4)
#define MIX_PMU_REGION (0x724)
#define MASK_ALL ... | [
"abgoyal@gmail.com"
] | abgoyal@gmail.com |
5c5f18bb483024a56a579b764f85298b3e5518d1 | 5aa4d76fef6247d93b6500f73512cdc98143b25d | /Soket/CHAT/SampleServer/Sample.h | 5fbe0abbd51a1a50268cc41199a0f6189e2e5a2f | [] | no_license | leader1118/KHJ-Project | a854bc392991e24774ab0feca0bb49eb8593ef15 | 0eb0144bbd2b4d40156402a5994c8f782b558f6c | refs/heads/master | 2020-04-05T20:44:07.339776 | 2019-02-01T10:11:45 | 2019-02-01T10:11:45 | 157,193,296 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 370 | h | #pragma once
#include "TCore.h"
#include "TUdpSocket.h"
class Sample: public TCore
{
public:
TUdpSocket m_Udp;
public:
bool Init();
bool Release();
bool PreRender() { return true; }
bool PostRender() { return true; }
LRESULT MsgProc(HWND hWnd,
UINT message,
WPARAM wParam,
LPARAM lP... | [
"hyunjin9173@gmail.com"
] | hyunjin9173@gmail.com |
a88d48a7ad9cea117a5ee4fe23980e4a8937a6b5 | 2ef8f10d0d6ff404c87c9f290833131464b42167 | /2/2_You_jump_I_jump_3/2_You_jump_I_jump_3.cpp | 9ad411f6a3511469a306dbb6b9f63fe895fc2694 | [] | no_license | EventideX/Class | ccfb7b9c41e183207f8d3ffe05d98e03ef9f39b4 | 18b70997bdf47aeb603093afe4458fde7bcfeb3a | refs/heads/master | 2021-01-17T21:54:14.084637 | 2017-03-12T14:44:37 | 2017-03-12T14:44:37 | 84,183,464 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 340 | cpp | #include<iostream>
using namespace std;
int main()
{
int i, j, k, n, m, s, t, a[10001] = { 0 }, x, y;
cin >> n >> x >> y;
t = 0;
i = 1;
j = 1;
k = 0;
while (t == 0)
{
i += x;
j += y;
if (i > n) i = i - n;
if (j > n) j = j - n;
a[i]++;
a[j]++;
k++;
if ((a[i] > 1) || (a[j] > 1)) t = 1;
}
cout ... | [
"844058637@qq.com"
] | 844058637@qq.com |
46f4a7be8fb79d2b1b373e5144651978aa0b3e17 | 032de413fe4b756456bed9aefcf81f38ac38a3ed | /binary_tree_level_order_zigzag.cpp | 2e497e951ab1568998e4657b389901dabcd20bcd | [] | no_license | elden2010/leetcode | 1eede355bd466114e005a6cb4e6e758cf2dceca6 | d6963e82826721901cdcf51ba4fbef4732c102ee | refs/heads/master | 2020-05-27T20:12:53.861858 | 2013-11-02T04:13:06 | 2013-11-02T04:13:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,287 | cpp | class Solution {
public:
vector<vector<int> > zigzagLevelOrder(TreeNode *root) {
vector<vector<int> > ret;
vector<vector<TreeNode*> > allLvl; // store all TreeNodes in levels
if(root) {
// initial set up
vector<TreeNode*> newLvl;
newLvl.push_back(root);
allLvl.push_back(newLvl);
... | [
"elden.yu@gmail.com"
] | elden.yu@gmail.com |
2dd31397f0bab427098a38f6f253bec0f72eec04 | 71e7675390503901564239473b56ad26bdfa13db | /src/zoidfs/ftb/FTBClient.cpp | 05e489198abd0c5ccd1d656abec6c4a9c8e7706e | [] | no_license | radix-io-archived/iofsl | 1b5263f066da8ca50c7935009c142314410325d8 | 35f2973e8648ac66297df551516c06691383997a | refs/heads/main | 2023-06-30T13:59:18.734208 | 2013-09-11T15:24:26 | 2013-09-11T15:24:26 | 388,571,488 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,020 | cpp | #include "FTBClient.hh"
#include "ServerSelector.hh"
#include "iofwdutil/IOFWDLog.hh"
#include "common/ftb/ftb.pb.h"
#include <arpa/inet.h>
#include <boost/uuid/uuid_io.hpp>
#include <boost/uuid/uuid_generators.hpp>
#include <boost/format.hpp>
#include <ftb.h>
using boost::format;
namespace zoidfs
{
//============... | [
"dkimpe@mcs.anl.gov"
] | dkimpe@mcs.anl.gov |
110620a945036f77fd104ba8a5a318c38c1eed69 | b375b5f1ab13f8c9d8b3003435a4980d6c5a1215 | /GameServer/GameMsg.h | 9d82d8c58c64858cd65b54e5b9e4c0dc65de213d | [] | no_license | 2316707511/GameProject | 08291b43e90c1463ac5e14cd2f52da26645fa838 | 533d96d1acc91f6cedaf3f7bf7803599edff815b | refs/heads/master | 2020-11-27T07:49:17.420504 | 2019-12-24T09:27:32 | 2019-12-24T09:27:32 | 229,360,156 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,377 | h | #pragma once
#include "zinx.h"
#include "msg.pb.h"
#include <list>
using namespace std;
class GameSingleTLV :public UserData {
public:
//根据游戏的协议需求,定义的消息ID 枚举
enum GameMsgType {
GAME_MSG_LOGON_SYNCPID = 1, //同步玩家id和名字
GAME_MSG_TALK_CONTENT = 2, //聊天信息
GAME_MSG_NEW_POSTION = 3, ... | [
"2316707511@qq.com"
] | 2316707511@qq.com |
7afa1c2512c09b448ca65af6197a4c3814d94142 | 4392a99245845c9f047e84b1cd4e53ac72983391 | /HDOJ/1097.cpp | 26dcbc0b34015a6c8b87cf7e82d6e1be4018bd43 | [] | no_license | netcan/Netcan_ICPC | 54aa26e111aa989fb9802d93b679acdfe4293198 | 73cde45b23301870bdb2f3eeead3ce46dd229e92 | refs/heads/master | 2021-01-20T07:18:35.117023 | 2016-09-07T02:08:13 | 2016-09-07T02:08:13 | 39,720,148 | 4 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,434 | cpp | ////////////////////System Comment////////////////////
////Welcome to Hangzhou Dianzi University Online Judge
////http://acm.hdu.edu.cn
//////////////////////////////////////////////////////
////Username: netcan
////Nickname: Netcan
////Run ID:
////Submit time: 2015-05-08 16:38:52
////Compiler: GUN C++
///////... | [
"1469709759@qq.com"
] | 1469709759@qq.com |
5ca97377bae739c51c0e5c7ba86db2577212ff4d | 17e7f2f8b786ee8361b9b755740e816411751b76 | /NexusNative/nnetwork/ntcp_server.h | daaca79435c4943d98aca7a70fa4ecd1c113c2a1 | [] | no_license | windless1015/My3DEngine2008 | 880945bd9d9f5e9a2ed30fe869ee53ec5b4fe2da | 6fffdd1b158ba9c63ffd564788fddd5706e08ac0 | refs/heads/master | 2022-11-13T17:41:46.620000 | 2020-07-02T13:31:19 | 2020-07-02T13:31:19 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 5,139 | h | /**
* nexus network - ntcp_server
*
* Copyright (C) 2010 NexusDev
*
* Author: D. Zhao
* Date: Feb, 2010
*/
#ifndef _NNETWORK_NTCP_SERVER_H_
#define _NNETWORK_NTCP_SERVER_H_
#include "ncommon.h"
#include "nnetwork_def.h"
#include "ntcp_session.h"
#include <boost/thread/thread.hpp>
namespace ... | [
"neil3d@126.com"
] | neil3d@126.com |
4e316c6d4f80923a702381d18c87d703a722590c | 711619c0fef88df3c62bb78a8a847ce8e439de01 | /exercise-01.cpp | 3a448465a399ba9908bab46357430fd9483c7e97 | [] | no_license | shenaach/strukdat-03 | 0ace5a3b8873dd0435af7eff5ece0a3bc0e6301d | 165d935c3c7ae671f75a7fe9baea0a91c7f567ac | refs/heads/master | 2020-04-28T14:45:39.947048 | 2019-03-13T04:44:06 | 2019-03-13T04:44:06 | 175,347,879 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 970 | cpp | /*
Nama program : Exercise 01
Nama : Sharashena Chairani
NPM : 140810180022
Tanggal buat : 13 Maret 2019
Deskripsi : Segiempat
*************************************************/
#include <iostream>
#include <cmath>
#include <math.h>
using namespace std;
typedef struct{
float pa... | [
"shenachairani@gmail.com"
] | shenachairani@gmail.com |
9447dccb97b4bddebcb7a3a839647d688c044c39 | 50d821d66784a620b6c37af7314e27fdcef25b73 | /src/Renderer.cpp | b292672b0e21b701dfbd20e4684bb2d7b6356240 | [] | no_license | Munstar/VisRTX | 6b22fa3097dddc24521b5812b697c01b5f66113c | bacc0c85467cf4c82a9b844e9a0e46ba248d08d2 | refs/heads/master | 2020-07-06T11:05:58.550967 | 2019-08-13T14:01:46 | 2019-08-13T14:01:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 32,271 | cpp | /*
* Copyright (c) 2019, NVIDIA CORPORATION. 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 condition... | [
"tbiedert@nvidia.com"
] | tbiedert@nvidia.com |
1798865c1c8ae846de77c0a49f5faf77f3e31b2f | 74ef3dca3c51cc006cb4a6e001d677177fde415b | /Projecte/Graph.cpp | e6bb52056cbd6d1476c50214d5885b18b60a1fe0 | [] | no_license | Elektroexe/ProjecteLP | 32b58508db63b0d0863c5975f692163edf3d8bed | e0eb6ede9c5c4dc2bdbb2111d3e990aeab4ef221 | refs/heads/master | 2020-04-18T08:21:01.920629 | 2019-01-24T16:32:26 | 2019-01-24T16:32:26 | 167,393,337 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 161 | cpp | #include "Graph.h"
void Graph::calculaComunitats(list<Tree<double>*>& listDendrogram)
{
Comunitat c(&m_mAdjacencia);
c.calculaComunitats(listDendrogram);
}
| [
"gerson.e.ramirez@gmail.com"
] | gerson.e.ramirez@gmail.com |
08ca013dcd33e3ce9e2beefb4e4786cb72a53c5f | 625d129f66712f0d5c5e19c8f80d510f58dd3727 | /data structures/binary search.cpp | c0ea6c3f9d8dd197de8cce3908e1ebce267cce51 | [] | no_license | valeriaconde/school | 61621a9262078fcd71832ebe880eff80e3ae8b4f | 210d96a4e86f45e14a6e6297bc186327f72f90de | refs/heads/main | 2023-08-16T17:00:51.026552 | 2021-09-21T16:25:24 | 2021-09-21T16:25:24 | 401,173,524 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,932 | cpp | // Actividad 1.3
// Entregado 11/09/2020
// Equipo #21
// Juan Pablo Salazar A01740200
// Valeria Conde A01281637
// Melissa Vélez Martínez A00827220
#include <iostream>
#include <fstream>
#include <string>
#include <vector>
#include <algorithm>
using namespace std;
// Struct Datos para guardar objetos de cada dato e... | [
"valeriaconde.96@gmail.com"
] | valeriaconde.96@gmail.com |
02567772f8c35d2caa6f13bdcd89c0fe104024da | 74fafa521fc4ebe7fb7d47b7ca9df76ae8028143 | /CBProjects/game1/blackbox.cpp | 968a13808fbf66bbf619e3630c8fec9209d34b1d | [] | no_license | JKick101/sometrash | e1be4da20d5c3b2150871eb970c168583ea12590 | 9f9d8c18c5fdcd7e969085b6fbe28ad8447ac830 | refs/heads/master | 2021-07-20T01:17:49.976513 | 2017-10-29T00:02:26 | 2017-10-29T00:02:26 | 108,422,662 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,064 | cpp | // BLACKBOX.CPP - Game Engine
// INCLUDES ///////////////////////////////////////////////////
#define WIN32_LEAN_AND_MEAN // make sure all macros are included
#include <windows.h> // include important windows stuff
#include <windowsx.h>
#include <mmsystem.h>
#include <iostream> // include important... | [
"ilyababichev101@gmal.com"
] | ilyababichev101@gmal.com |
1d519b46b14d062a7550bd6c0286c51969077f1c | ef836b7ae3cc245f466c55cb1e351d5bda4220c7 | /qtTeamTalk/filesview.cpp | ea306bfec638f81baf4434677d780f311b3f5b19 | [] | no_license | DevBDK/TeamTalk5 | 1e26cc2bcba87fd1079e070079cf82f4d78e5a4c | 14d4cf040a49521cc44c94df85fe4cfef91e7729 | refs/heads/master | 2021-01-12T00:11:10.644407 | 2017-02-20T08:09:32 | 2017-02-20T08:09:32 | 78,031,402 | 0 | 0 | null | 2017-01-11T21:14:24 | 2017-01-04T16:11:58 | C++ | UTF-8 | C++ | false | false | 2,630 | cpp | /*
* Copyright (c) 2005-2016, BearWare.dk
*
* Contact Information:
*
* Bjoern D. Rasmussen
* Kirketoften 5
* DK-8260 Viby J
* Denmark
* Email: contact@bearware.dk
* Phone: +45 20 20 54 59
* Web: http://www.bearware.dk
*
* This source code is part of the TeamTalk 5 SDK owned by
* BearWare.dk... | [
"contact@bearware.dk"
] | contact@bearware.dk |
17d3a7a1f3fb2fd05fda153f59ca72c40b7636ca | 6fad097d94153a3bb5d504908721064b40f38bd0 | /eh-sim/src/simulate.hpp | 8a50133955b7dafd422586c3345301ae2a8d4654 | [
"MIT"
] | permissive | charleyXuTO/thumbulator | 8aecbe605bdbe42932aefcf5a5d0e5109e6d12fd | 487dfac96d88948ea2a316244ca7b952e5dce5c6 | refs/heads/master | 2020-05-23T18:01:27.330962 | 2018-07-06T18:24:14 | 2018-07-06T18:24:14 | 186,878,961 | 0 | 0 | null | 2019-05-15T18:05:15 | 2019-05-15T18:05:14 | null | UTF-8 | C++ | false | false | 705 | hpp | #ifndef EH_SIM_SIMULATE_HPP
#define EH_SIM_SIMULATE_HPP
#include <chrono>
#include <cstdint>
namespace ehsim {
class eh_scheme;
struct stats_bundle;
class voltage_trace;
/**
* Simulate an energy harvesting device.
*
* @param binary_file The path to the application binary file.
* @param power The power supply ov... | [
"mario.badr@outlook.com"
] | mario.badr@outlook.com |
f3a1c60284c3fd6371d93ef48508e215b800fcf2 | ca87b6d95b8951346226cbccc78fa6b971fa906c | /delivery/include/Account.h | c2993ad7e7b0bf5a98ae819036786ea1cfac7906 | [] | no_license | ngreen3/Deep-Learning | 05de586c66050accd107aa6d69959ceebc8f2db8 | c6ec177f5e6bbb9fd6abb0c3f14249806f873262 | refs/heads/master | 2020-03-12T13:30:15.371389 | 2018-05-01T06:54:07 | 2018-05-01T06:54:07 | 130,643,736 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,191 | h | #ifndef _ACCOUNT_H_
#define _ACCOUNT_H_
#include "OpenPosition.h"
#include "enumErrorOutputs.h"
#include <iostream>
#include <vector>
#include <cmath>
using namespace std;
class Account
{
private:
// Current cash level
double cash = 0;
// List of all open positions held by the account
vector<OpenPos... | [
"naomi.green@mines.sdsmt.edu"
] | naomi.green@mines.sdsmt.edu |
460920ed9d8984a9e02467ed8f52bcb29eeda912 | 4d3a7ac0d0dd35d8cd4a8cdebdf28e405df7b508 | /단어변환.cpp | 9f5f7e1b9b0a52c6c76835dcea3963fe9f3d516f | [] | no_license | HannSoo/algoPrac | c98bd50672dd2eb4e3f913f01320b6b2b757a0ec | a974cfad3ed510e32466e99abfd209f0d491e0ac | refs/heads/master | 2020-03-27T11:10:46.066957 | 2019-11-21T07:51:22 | 2019-11-21T07:51:22 | 146,470,270 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,557 | cpp | #include <iostream>
#include <vector>
#include <string>
#include <queue>
using namespace std;
vector<string> words;
bool isAdj(string a, string b);
int targetLvl;
vector<string> bfs(string start,string target){
int size = words.size();
vector<bool> discovered(size, false);
queue<string> q;
queue<int> lvl;
... | [
"ggt1324@gmail.com"
] | ggt1324@gmail.com |
175c3f8eac990435d1c3261d83d13126b08bf815 | 6a6a952f5e73520a26823cb0ffa984fff594afdc | /ortools/gscip/gscip_event_handler.h | cc3c3bb3305bde3ba2f85f9f7a656351a55fd43a | [
"Apache-2.0",
"LicenseRef-scancode-generic-cla",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | hmaytac/or-tools | 010c9aeffab5da24a87520423e0558369e5d3de1 | 21b3cc679628a4d9c81f33da77012339aabc6c72 | refs/heads/master | 2023-07-17T14:26:42.542840 | 2021-09-03T13:28:10 | 2021-09-03T13:29:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,678 | h | // Copyright 2010-2021 Google LLC
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... | [
"lperron@google.com"
] | lperron@google.com |
766f52f3eef84ffe1bad92eb6e18e7f881262be0 | 5f4e7f89ac9f8934beb9fd9a5d8aff232fb9e105 | /babies/ame_folder/ame/ame.ino | 3caf4b081aac56a7a08d1551f19eba8a78020d93 | [] | no_license | AmedeoSpagnolo/lullababy | 2ca2b5845dae2fa565ab06ec6973ac6f71832616 | 665f75ffe914dc84b013f2453466d9e06277cf26 | refs/heads/master | 2020-07-28T17:33:44.820281 | 2019-10-07T06:29:57 | 2019-10-07T06:29:57 | 209,480,024 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,088 | ino |
#include <SD.h>
#include <SPI.h>
#include <arduino.h>
#include <MusicPlayer.h>
long x = 0;
long y = 0;
long z = 0;
long prev = 0;
bool shake = false;
void setup(void)
{
Serial.begin(9600);
player.begin();
player.setPlayMode(PM_REPEAT_ONE);
player.playOne("cry.mp3");
}
void loop(){
player.play();
player... | [
"amedeo.spagnolo@gmail.com"
] | amedeo.spagnolo@gmail.com |
d8bbbd8725a5bb1c971ca4fe8429f6014ee2ebe8 | 3ea68b2659229e3258592bf7ee035bfb9a51aaab | /kmint_handout/kmintapp/src/pathfinding/dijkstra.h | 665175c441039d4d662db93c1841291622a5175f | [] | no_license | JorisWillig/KIProject | 43a5df2fc9acb4943ef85d61138296fe61d8974b | 64bd8a3a5210ee1193e8691013bf6ff535a586dd | refs/heads/master | 2020-04-04T19:07:09.768329 | 2018-11-20T12:07:21 | 2018-11-20T12:07:21 | 156,192,626 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,103 | h | #pragma once
#include "pathfinder.h"
#include <map>
#include <queue>
#include <vector>
namespace pathfinding {
class Dijkstra : public IPathfinder {
public:
Path findPath(map::map_graph& graph, const map::map_node* start,
const map::map_node* target) override;
private:
struct Comparator {
Comp... | [
"fabio.waljaard@gmail.com"
] | fabio.waljaard@gmail.com |
fcbb1f63755d255fc0157d51f0bde275f18aa806 | ebd4e46c40aade4df0bf9a61026a37ca19ef9641 | /Rat_In_The_Maze.cpp | f2494c15013102d1d15afc72df874d4ecbd9db7f | [] | no_license | vrragul1405043/Recursion-Backtracking | 048db2d52aa89064c50c521256220443f1fe0d3d | b59919457fd51b40b84597b097705ecaacfb4597 | refs/heads/master | 2023-06-24T01:04:14.813635 | 2021-07-28T13:34:00 | 2021-07-28T13:34:00 | 388,720,765 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,013 | cpp | class Solution{
void solve(int i, int j, vector<vector<int>> &a, int n, vector<string> &ans, string move,
vector<vector<int>> &vis, int di[], int dj[]) {
if(i==n-1 && j==n-1) {
ans.push_back(move);
return;
}
string dir = "DLRU";
for(int ind = 0; ind<4;i... | [
"ragul.ravishankar@gmail.com"
] | ragul.ravishankar@gmail.com |
ee7d7bcb7818032f16127ca2fcf09db41a21cb26 | c048e266bcfd87389e0082f80290614f090915cc | /main.cpp | a42fd03680b8f154152adbda95e1ecc6cc6e88ce | [] | no_license | BarNeeY95/Timp_l6 | 1cfb172acdf08eba9cc5d8bd71cd46d8911a79e0 | 48c988eddcf56fb331a277308d5349191d065775 | refs/heads/master | 2021-01-02T22:17:27.469452 | 2015-06-03T06:30:19 | 2015-06-03T06:30:19 | 36,784,440 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,980 | cpp | //
// main.cpp
//
//
//
//
/** \include <iostream>
\include <string>
*/
#include <iostream>
#include <string>
///- Используем пространство стандартных имен
using namespace std;
/** \tparam T {Шаблонный тип, отвечающий за подаваемые в метода класса типы int и string}
*/
template <typename T>
/** \class List
\b... | [
"krid3d@yandex.ru"
] | krid3d@yandex.ru |
89b73796aac1fa0c577dc559cccee8775b395f2d | 493ac26ce835200f4844e78d8319156eae5b21f4 | /flow_simulation/ideal_flow/processor1/0.12/U | c7f2a5cafa267a45e7d7709053f9129bf51bf282 | [] | no_license | mohan-padmanabha/worm_project | 46f65090b06a2659a49b77cbde3844410c978954 | 7a39f9384034e381d5f71191122457a740de3ff0 | refs/heads/master | 2022-12-14T14:41:21.237400 | 2020-08-21T13:33:10 | 2020-08-21T13:33:10 | 289,277,792 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 48,861 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1912 |
... | [
"mohan.2611@gmail.com"
] | mohan.2611@gmail.com | |
d5a212b330e39bb5dcac48401c30d7845e924339 | e2052e830c93eb8451ebc533d89929f143465c36 | /myfirstopencv/hist.cpp | b08057e3a2453217c09cc27991de37776fd63001 | [] | no_license | haocong/opencv-object-recognition | 4471993baa1e333141daf6017008d7649fc25be0 | f047d42d9b523565f84d4dcd2e9be4cc3e2288a9 | refs/heads/master | 2021-01-11T10:05:06.196123 | 2017-01-16T16:42:30 | 2017-01-16T16:42:30 | 78,092,265 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,220 | cpp | #include <highgui.h>
#include <cv.h>
#include <opencv2/legacy/legacy.hpp>
using namespace std;
IplImage* doScale(IplImage* image_input, double scale)
{
CvSize size;
size.width = (int)image_input->width * scale;
size.height = (int)image_input->height * scale;
IplImage* image_output = cvCreateImage(size,... | [
"haocong.xu@gmail.com"
] | haocong.xu@gmail.com |
a801c81a2ad918f700887d6ca2fc84f27df864e6 | b3e525a3c48800303019adac8f9079109c88004e | /dol/iris/test/offload/crypto_sha_testvec.hpp | 27ded2dd2024e89b9b9e325ae63e2254c6e3f346 | [] | no_license | PsymonLi/sw | d272aee23bf66ebb1143785d6cb5e6fa3927f784 | 3890a88283a4a4b4f7488f0f79698445c814ee81 | refs/heads/master | 2022-12-16T21:04:26.379534 | 2020-08-27T07:57:22 | 2020-08-28T01:15:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,404 | hpp | #ifndef _CRYPTO_SHA_TESTVEC_HPP_
#define _CRYPTO_SHA_TESTVEC_HPP_
#include <stdint.h>
#include <string>
#include <memory>
#include <math.h>
#include <unistd.h>
#include <assert.h>
#include <openssl/ssl.h>
#include "logger.hpp"
#include "offload_base_params.hpp"
#include "testvec_parser.hpp"
#include "crypto_sha.hpp"
... | [
"32073521+raghavaks@users.noreply.github.com"
] | 32073521+raghavaks@users.noreply.github.com |
235e8c20127d3f7115df32ebba148f613b0dadc9 | bdf9b430d9e6302b58cbdd2c2f438f3500ce62e1 | /Old Topcoder SRM codes/Maxu.cpp | 5d961a22a514bca2d2656de3b10517538ba499dd | [] | no_license | rituraj0/Topcoder | b0e7e5d738dfd6f2b3bee4116ccf4fbb8048fe9c | 3b0eca3a6168b2c67b4b209e111f75e82df268ba | refs/heads/master | 2021-01-25T05:16:18.768469 | 2014-12-14T13:47:39 | 2014-12-14T13:47:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 271 | cpp | #include <algorithm>
#include <cmath>
#include <iostream>
#include <sstream>
#include <string>
#include <vector>
using namespace std;
using namespace std;
int main()
{
int a=10,b=5;
int c;
// c=a >? b ;
return abs(a-b) >? abs(a+b);
cout<<c<<endl;
return 0;
}
| [
"rituraj.tc@gmail.com"
] | rituraj.tc@gmail.com |
711f3ecc01b1e77b12b670f1b61e4f4c517f8a7c | d58f5e22717dbac802faca8a1748f9f9a10dbb11 | /data-structures/tests/optional.cxx | 01b96022dbd09566367e4f3c66a3d832b22c20ed | [
"BSD-3-Clause"
] | permissive | mtezych/cpp | f5705bfd1fc31f8727b17773a732b86269f4830d | ea000b4d86faa112a2bfa3cc2e62638c8e14fd15 | refs/heads/master | 2023-05-25T16:04:00.964687 | 2023-05-09T03:44:18 | 2023-05-09T03:44:18 | 79,068,122 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 4,233 | cxx |
/*
* BSD 3-Clause License
*
* Copyright (c) 2021, Mateusz Zych
* 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... | [
"mte.zych@gmail.com"
] | mte.zych@gmail.com |
b40ee980ed793757704bbf7b6023ec8bc319e551 | f23fea7b41150cc5037ddf86cd7a83a4a225b68b | /SDK/BP_Prompt_EmissaryEntitlementPurchased_parameters.h | 3e0175c75caa029292b86e4d97c9d226f2b374b4 | [] | no_license | zH4x/SoT-SDK-2.2.0.1 | 36e1cf7f23ece6e6b45e5885f01ec7e9cd50625e | f2464e2e733637b9fa0075cde6adb5ed2be8cdbd | refs/heads/main | 2023-06-06T04:21:06.057614 | 2021-06-27T22:12:34 | 2021-06-27T22:12:34 | 380,845,087 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,118 | h | #pragma once
// Name: SoT, Version: 2.2.0b
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Parameters
//----------------------------------------------------------... | [
"Massimo.linker@gmail.com"
] | Massimo.linker@gmail.com |
d91505c886d2dca96da1a32f076fa38f80216f87 | f028d17056e8955accc84b5fa087ada9ba5a8241 | /lesson7/InClass/Human.cpp | dfc0defa11826924b13ad2b75f9be9fb42e0ac30 | [] | no_license | ck1001099-Teaching/cpp_course_2020fall | a20afd39bf0ece657f902ce52e40cfdab47c4bf1 | 91b80a47738cac07cb9efe1cb396acd03c241291 | refs/heads/master | 2023-01-25T02:53:52.633725 | 2020-12-08T03:43:21 | 2020-12-08T03:43:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,100 | cpp | #include <iostream>
#include <string>
using namespace std;
class Dog{
public:
private:
};
class Human{
public:
string name;
string bloodType;
string birth;
void SetLINEID(string ID){
LINE_ID = ID;
}
string GetLINEID(string name){
if (name == "小華"){
return LINE_ID;
} else {
cout << "不告訴你!" << end... | [
"ck1001099@gmail.com"
] | ck1001099@gmail.com |
86644dd736a3e80c254d13be8b17623150143310 | 4d48900772a8c7f6e2b37b17800c6adcecdb6757 | /Source/Plugins/NetModeler/stdafx.cpp | 0b514b25ef87944ff786638c3c2879cbf17a6276 | [] | no_license | boltej/Envision | 42831983d5cf04dfc98b5ea95722e29472af3ca6 | eb90284c03ac709fd99e226834821b09eb9e50e6 | refs/heads/master | 2023-08-09T02:24:34.509337 | 2023-07-19T17:32:49 | 2023-07-19T17:32:49 | 179,588,778 | 5 | 4 | null | 2022-11-29T17:19:52 | 2019-04-04T22:55:26 | C++ | UTF-8 | C++ | false | false | 200 | cpp | // stdafx.cpp : source file that includes just the standard includes
// Modeler.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
| [
"john.bolte@oregonstate.edu"
] | john.bolte@oregonstate.edu |
b64253ba6408e75dbc7c41b13d09b53b8a946599 | 6451f4869745d523f220c6b9ce019b5a701c8778 | /Solutions/q.cpp | 90f77f908e0740ed5cf5c7b470d0051a485df790 | [
"MIT"
] | permissive | dariodsa/Information-Theory | de5f2628bd5bd1a732f13ca90c48555bd1a39369 | 8102af59be9258159d480d3a079cb3d8938154f3 | refs/heads/master | 2022-11-08T00:50:49.634108 | 2020-07-13T06:57:17 | 2020-07-13T06:57:17 | 111,422,077 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 204 | cpp | #include <stdio.h>
int main(int argc, char *argv[])
{
FILE *pfile = fopen(argv[1],"r");
FILE *pfile2 = fopen("out1.txt","w");
char t;
while(fscanf(pfile,"%c",&t))
{
fprintf(pfile2,"%c,",t);
}
}
| [
"dario.sindicic@gmail.com"
] | dario.sindicic@gmail.com |
68cfd158b94fcc2d1a6e2ebe5b35d2d6ef799df5 | f753c6173870b72768fe106715b5cbe8496b9a89 | /private/tst/avb_streamhandler/src/IasTestAvbPtpClockDomain.cpp | 1670f2f846f8d3fc6774b6286c551282f4d721af | [
"BSL-1.0",
"BSD-3-Clause"
] | permissive | intel/AVBStreamHandler | 3615b97a799a544b2b3847ad9f5f69902fbcab6e | 45558f68e84cc85fa38c8314a513b876090943bd | refs/heads/master | 2023-09-02T13:13:49.643816 | 2022-08-04T22:47:26 | 2022-08-04T22:47:26 | 145,041,581 | 17 | 24 | NOASSERTION | 2019-04-11T23:04:57 | 2018-08-16T21:38:32 | C++ | UTF-8 | C++ | false | false | 1,513 | cpp | /*
* Copyright (C) 2018 Intel Corporation. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
/**
* @file IasTestAvbPtpClockDomain.cpp
* @date 2018
*/
#include "gtest/gtest.h"
#define private public
#define protected public
#include "avb_streamhandler/IasAvbPtpClockDomain.hpp"
#include "avb_str... | [
"keerock.lee@intel.com"
] | keerock.lee@intel.com |
a64d20f90834706f18fdd0eb0a9010cfd6238b2e | b6067f462d3bd91362ca9bb462b99f9a2890d980 | /CSAcademy/76/C.cpp | e0d16db88f1d5f3577a89d3083fc8b5c076aaea8 | [] | no_license | lionadis/CompetitiveProgramming | 275cb251cccbed0669b35142b317943f9b5c72c5 | f91d7ac19f09d7e89709bd825fe2cd95fa0cf985 | refs/heads/master | 2020-07-22T07:29:18.683302 | 2019-09-08T13:48:31 | 2019-09-08T13:48:31 | 207,116,093 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,424 | cpp | #include <bits/stdc++.h>
using namespace std;
#define rep(i, a, b) for(int i = a; i < (b); ++i)
#define trav(a, x) for(auto& a : x)
#define all(x) x.begin(), x.end()
#define sz(x) (int)(x).size()
#define F first
#define S second
#define f_in freopen("test.in","r",stdin);
#define f_out freopen("test.in","w",std... | [
"ahmed.ben.neji@ieee.org"
] | ahmed.ben.neji@ieee.org |
7138b8028fc6b1f11f2f96accfaec6782f0425ec | 3cc724e49843928f6e0886ca99110ce87b806b9c | /capdDynSys/examples/newton/newtonSimple.cpp | fe7bbf22a2486c0d1d82616974a9a6022bbabde4 | [] | no_license | dreal-deps/capdDynSys-3.0 | ec6245d470c40b74eaafeae14cac28d985eb8c4f | 1d02413c10be5354e5c81d2533d0fde89243d455 | refs/heads/master | 2021-01-10T20:20:12.351964 | 2014-06-27T21:27:52 | 2014-06-27T21:27:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,992 | cpp |
/////////////////////////////////////////////////////////////////////////////
/// @file newtonSimple.cpp
///
/// This file contains examples how to use Newton and Krawczyk classes
///
/// This file differs from newtontst.cpp only in using facade classes
/// instead of general templates
///
/// @author Tomasz Ka... | [
"soonhok@cs.cmu.edu"
] | soonhok@cs.cmu.edu |
d09adabc5e46d9b20a2aa362bac980691248c9ff | fcaae47ab2e34c634b6965a7f7c85ffe064b0572 | /cf/aresta_no_caminho_minimo.cpp | d5f26d055301c2d22baec01ebf4e6e726a39b2f7 | [] | no_license | MatheusSanchez/Gema | de9769d4a491d7ac4ad66c514cbd929fc46ac25f | 988f78a30c78477efcebc2676be3b19d107a3067 | refs/heads/master | 2021-07-13T13:30:25.138507 | 2018-11-07T18:51:17 | 2018-11-07T18:51:17 | 123,514,762 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,976 | cpp | #include <bits/stdc++.h>
#define inf 0x3f3f3f3f
#define MAX 100001
using namespace std;
typedef pair <int,int> pii;
typedef vector <pii> vpii;
typedef vector<vpii> graph;
typedef vector<int> vi;
int n_nos,n_arestas,origem,destino,A,B,peso;
graph g(MAX);
int prede[MAX];
int dist[MAX];
void print_prede(){
//cout ... | [
"matheus2.sanchez@usp.br"
] | matheus2.sanchez@usp.br |
d5e03cde8722d69495c85051fc2ebfd4966397e2 | bc2ee860790f7ccedb5f68c13d528cf303dc2389 | /src/engine/videoimage.cpp | 8a2ce1345e9bc9dbbad22dbe56f78cb4b89dc643 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | FreeAllegiance/Allegiance-AZ | d0d3fc4655f94c0a145245c43ff4f3cddaeb9d1a | 1d8678ddff9e2efc79ed449de6d47544989bc091 | refs/heads/master | 2021-06-26T02:54:18.589811 | 2017-09-10T23:47:19 | 2017-09-10T23:47:19 | 40,015,917 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,576 | cpp | #include "pch.h"
#include "mmstream.h"
#include "amstream.h"
#include "ddstream.h"
//////////////////////////////////////////////////////////////////////////////
//
// VideoImage
//
//////////////////////////////////////////////////////////////////////////////
class VideoImageImpl : public VideoImage {
public:
//... | [
"austin.w.harris@gmail.com"
] | austin.w.harris@gmail.com |
79e25a1afaca24e7c70fa54497a3e6c8f93a2ccc | 8c5ca1bee5f581cebea051f181725698ef3e4e31 | /src/libtsduck/dtv/mpe/tsMPEDemux.cpp | eec293ce12b2e87e421cb8f6cb17a33f564a5402 | [
"BSD-2-Clause"
] | permissive | vtns/tsduck | 1f914c799fcd3e758fbea144cbd7a14f95e17f00 | 2a7c923ef054d8f42fd4428efe905b033574f78f | refs/heads/master | 2023-08-28T08:11:02.430223 | 2021-10-29T23:28:47 | 2021-10-29T23:28:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,202 | cpp | //----------------------------------------------------------------------------
//
// TSDuck - The MPEG Transport Stream Toolkit
// Copyright (c) 2005-2021, 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 |
b8fe7880b433eecaba6b3dde34f9357043cecea7 | bd0a5fa497bcd418c71b9d0a4d5329ebc98a0f44 | /Graphs/shortest_distance_1or2.cpp | 04dc84ad04b0d30221be7c226d45349c2d805cdd | [] | no_license | pruvi007/InterViewBit_Academy | f9ab953919dc4afb4711118640cb72883c3106a8 | f1022d6ff8aaf28ffcff688ba69af4aeff136200 | refs/heads/master | 2021-07-04T10:47:06.639914 | 2020-10-09T06:45:44 | 2020-10-09T06:45:44 | 186,099,196 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,433 | cpp | /*
Find shortest distance between source and destination in a graph which has weights 1 or 2.
idea: introduce dummy nodes to make distances 1, then apply BFS to get the shortest distance.
*/
// solution by @pruvi007
#include<bits/stdc++.h>
using namespace std;
vector< vector<int> > v(100001);
int bfs(bool vis[],int ... | [
"pruvi007@gmail.com"
] | pruvi007@gmail.com |
5d59d7b4a790177bac03972b15768bdbfb081aec | 32af99b4bfdc6d8bbe8267ce08d661a8af369c12 | /FYP_detect/tests/sequence_number/main.cpp | 994dd12574e0dd764b7fdd12b43c2c7d5cbf8d4c | [] | no_license | Dthird/FYP | 6056ec0b65720b1be3d737985ab6aea1b55de6aa | b73004d8ae4bed877f88c6481697f7e5cce3609b | refs/heads/master | 2020-04-01T16:51:51.783879 | 2015-12-30T07:53:59 | 2015-12-30T07:53:59 | 28,626,185 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,338 | cpp | #include <iostream>
#include <vector>
#include <llvm/IR/Module.h>
#include <llvm/Support/SourceMgr.h>
#include <llvm/IRReader/IRReader.h>
#include <llvm/Support/raw_ostream.h>
#include <llvm/IR/LLVMContext.h>
#include <llvm/IR/Function.h>
#include <llvm/IR/CFG.h>
#include <llvm/Analysis/LoopInfo.h>
#include <llvm/PassA... | [
"sydongjx@163.com"
] | sydongjx@163.com |
f82bb97977b3e7f0407caf3dbe1a0e6a4f22ff0e | bd1fea86d862456a2ec9f56d57f8948456d55ee6 | /000/097/920/CWE36_Absolute_Path_Traversal__wchar_t_listen_socket_w32CreateFile_52a.cpp | d64402cbff399fe47626d536024d6bb87543f66d | [] | no_license | CU-0xff/juliet-cpp | d62b8485104d8a9160f29213368324c946f38274 | d8586a217bc94cbcfeeec5d39b12d02e9c6045a2 | refs/heads/master | 2021-03-07T15:44:19.446957 | 2020-03-10T12:45:40 | 2020-03-10T12:45:40 | 246,275,244 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,190 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE36_Absolute_Path_Traversal__wchar_t_listen_socket_w32CreateFile_52a.cpp
Label Definition File: CWE36_Absolute_Path_Traversal.label.xml
Template File: sources-sink-52a.tmpl.cpp
*/
/*
* @description
* CWE: 36 Absolute Path Traversal
* BadSource: listen_socket Read data ... | [
"frank@fischer.com.mt"
] | frank@fischer.com.mt |
02313b76fe6647698850697869aeeecf4aec2a7e | 9f7ae044ec7e6fab9bd27e81b636ea242d3dfa1d | /examples/cpp/open_response/request_open_resp.cpp | 8c08dd1a012d46f30778761d61087a7b58d9e0e3 | [
"LicenseRef-scancode-us-govt-public-domain"
] | permissive | barbaroony/GMSEC_API | 9ced39b6d6847a14db386264be907403acc911da | 85f806c2519104f5e527dab52331c974d590145a | refs/heads/master | 2022-12-18T20:52:36.877566 | 2020-09-25T12:27:13 | 2020-09-25T12:27:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,769 | cpp | /*
* Copyright 2007-2020 United States Government as represented by the
* Administrator of The National Aeronautics and Space Administration.
* No copyright is claimed in the United States under Title 17, U.S. Code.
* All Rights Reserved.
*/
/**
* @file request_open_resp.cpp
*
* This file contains an exampl... | [
"david.m.whitney@nasa.gov"
] | david.m.whitney@nasa.gov |
1c06e05cec436f8d9342ee144445e19c4561ac02 | 5fd7ba925b2cb277f2e4fe182f28fe4df960b92d | /2468/2468.cpp | a3c97250186e8de6515cc759c75cbb22f7391b39 | [] | no_license | htyvv/2021-BaekJun | e8c144561a2a5d80bf881427e76faaae68b4d4cf | f0c58e29ffcfc75e0463227753ffb9e03a813169 | refs/heads/main | 2023-06-20T18:02:44.026216 | 2021-08-07T14:32:26 | 2021-08-07T14:32:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 756 | cpp | #include<iostream>
using namespace std;
int n;
int map[100][100];
bool check[100][100];
int dx[] = { 1,0,-1,0 };
int dy[] = { 0,1,0,-1 };
void dfs(int x, int y);
int main() {
cin >> n;
int input;
for (int i = 0; i < 5; i++) {
for (int j = 0; j < 5; j++) {
cin >> input;
map[i][j] = input - n;
}
}
i... | [
"htyvv@naver.com"
] | htyvv@naver.com |
6c6bac7a6b0d5570c27f31b042f767e117f5b8dd | f8a7754b0621d1b936a3177d7888d1c7439b18f2 | /Source/ActionGame/CharacterInterface.h | 3b0b4dd30eebd50031f878118af1274d64b21a6d | [] | no_license | kaznakajima/ActionGameProj | 085722fa5a031c0bf7995d4134ac21277716a58a | bb26636ea07a2c6d1c09758a8eff15a13f1106f9 | refs/heads/master | 2021-06-12T15:11:35.359447 | 2019-09-09T14:26:55 | 2019-09-09T14:26:55 | 185,239,210 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 1,989 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "UObject/Interface.h"
#include "CharacterInterface.generated.h"
UINTERFACE()
class ACTIONGAME_API UCharacterInterface : public UInterface
{
GENERATED_UINTERFACE_BODY()
};
// キャラクターのステータス
US... | [
"nkc.kazuya.nakajima@gmail.com"
] | nkc.kazuya.nakajima@gmail.com |
530d32029dfd83b2f150a0c9fde952d1c5d0df05 | bffb0c3c64029c7fa8521cce1374105803a280e1 | /docs/cpp/codes/new_delete.cpp | e8b7f71f5b5d0a409c576a24157bf0b430b2a8a9 | [] | no_license | yiouejv/blog | b7d6ea015e13da9f988ac5a62098d24561f43d9b | f5c0a3ce26e961df3fc8879f55b681bb9d8aae51 | refs/heads/master | 2021-07-06T20:33:39.124373 | 2021-03-28T08:47:52 | 2021-03-28T08:47:52 | 229,209,161 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 499 | cpp | #include <iostream>
using namespace std;
int main(int argc, char const *argv[])
{
// new 申请内存
int *p1 = new int; // c++
*p1 = 12; // 写
cout << *p1 << endl; // 读
delete p1; // delete + 指针
// 申请并初始化
int *p2 = new int(123);
cout << *p2 << endl;
delete p2;
// 申请数组空间,返回空间的首地址
int *p = new int[5];
p[0] ... | [
"yiouejv@126.com"
] | yiouejv@126.com |
ac4bc86b9db81c565028a20288032ac4b38d71ab | a8fa9114a7ed19a11010c5151d513a7dee21dc55 | /learnopenGL/Source/AI_Comp.h | a7905b0dbab33b6df1e64d0ff8b97ea74930f0dc | [] | no_license | Mamama22/Framework-C- | 24694c752fa9ba9fbdb1de144486238fd3b53d86 | 7fd1de38b4544a9739d560386268a30df5d6ebd1 | refs/heads/master | 2020-05-21T14:54:01.935221 | 2016-10-27T23:53:42 | 2016-10-27T23:53:42 | 62,128,022 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,198 | h | #ifndef AI_COMP_H
#define AI_COMP_H
#include "Component.h"
struct XY_grid
{
int x;
int y;
XY_grid(){ x = y = -1; }
~XY_grid(){}
XY_grid& operator=(XY_grid& copyMe)
{
x = copyMe.x;
y = copyMe.y;
return *this;
}
};
/*************************************************************
Author: Tan Yie Cher
AI co... | [
"spotifyuser998@gmail.com"
] | spotifyuser998@gmail.com |
2cce6fafdfbf795a56ca9febd33ed52c85f49fce | 041896c4d54efd97e1896fb882f92b5c7df3a425 | /RdcTable.h | 0d14bf7bef44f31b005f5d166a328a1a75d66681 | [] | no_license | double16/switchmin-w32 | 69ce34fce9a666dc21e62086a4d0bd0c0853e49f | aece48d3d6507b7811060d4fb75ab65e81798acb | refs/heads/master | 2020-05-19T12:40:23.711046 | 2014-06-15T01:29:07 | 2014-06-15T01:29:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,119 | h | ////// AB CLASSGEN Wed Apr 02 22:04:50 1997 ////////
// RdcTable Definition
//////////////////////////////////////////////////////
#if !defined(RdcTable_HPP)
#define RdcTable_HPP
#if !defined(RC_INVOKED) // no Windows RC compiler
#include "TermSet.HPP"
#include <map.h>
namespace swmin {
#if defined(DLLUSE_SWSYSTEM) ... | [
"pat@patdouble.com"
] | pat@patdouble.com |
bf9814661e3daa3099f71c75d4ab6cd1fd50b599 | fc151e851d1d64eb94c0890bb7c99e0ce9a455eb | /include/vsg/viewer/ViewMatrix.h | 42f0ec4b9bb12cec151ef53420af62772a6e0bc9 | [
"MIT"
] | permissive | wangii/VulkanSceneGraph | dc4873221bb17b159e65e64c2f598ef9a695b687 | 1e480b333c5e241e57c033b5cdecbe819a27355b | refs/heads/master | 2021-06-13T22:46:43.561844 | 2020-04-09T19:43:11 | 2020-04-09T19:43:11 | 254,459,430 | 0 | 0 | MIT | 2020-04-09T19:43:13 | 2020-04-09T19:22:24 | null | UTF-8 | C++ | false | false | 3,542 | h | #pragma once
/* <editor-fold desc="MIT License">
Copyright(c) 2018 Robert Osfield
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 ... | [
"robert@openscenegraph.com"
] | robert@openscenegraph.com |
5246647eae33cf7a12fa273e5e73971653f1762b | 1fea1b1bcb283931afea6aa3103795236f12fb6d | /read_xml/include/datatypes.h | ba255ef4cd7f5e7a28c94b45c10ad2d7f015a791 | [] | no_license | LeoBaro/rtadqlibcpp_proto | 09b3ec479117fec37ce5a5dd6441a16316a3bc8f | 9802c180e29a3aecc9bfbee4735ec51c8328f755 | refs/heads/master | 2022-12-06T13:10:59.449412 | 2020-08-22T09:21:49 | 2020-08-22T09:21:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 680 | h | #include <iostream>
#include <vector>
#include <assert.h>
#include "tinyxml.h"
#include "datatype.h"
using std::string;
using std::vector;
using std::shared_ptr;
class Datatypes
{
public:
static Datatypes * Instance();
void load_datatypes_from_xml(const char * xml_file_path);
shared_ptr<D... | [
"leonardo.baroncelli@inaf.it"
] | leonardo.baroncelli@inaf.it |
1fec185bd70f1d3a10439cb0e21da9a5c0c534cf | db8f2e61e3c13862c540eddfdf8447e88bf53b72 | /examples/timer-test/timer-test.cpp | fda09761de2f2d8eaf5a45aad594e469001f8e07 | [
"MIT"
] | permissive | Gadgetoid/32blit-beta | 87769a0b314443022688d849ccafee02e0408b00 | ff77149e904e314f756f3c7df59ef45a6676fc02 | refs/heads/master | 2023-02-12T19:20:29.006400 | 2020-01-17T20:26:55 | 2020-01-17T20:26:55 | 234,631,151 | 1 | 1 | MIT | 2020-01-17T20:32:29 | 2020-01-17T20:32:29 | null | UTF-8 | C++ | false | false | 2,320 | cpp | #include <string>
#include <string.h>
#include <memory>
#include <cstdlib>
#include "timer-test.hpp"
/*
TODO: This example is really dry, how can we make it awesome?
Without making it so complicated that it fails to elucidate its point.
*/
using namespace blit;
const uint16_t screen_width = 320;
cons... | [
"phil@gadgetoid.com"
] | phil@gadgetoid.com |
92f56dacf3f1b4dcae0fe746d882c59c5a08c8b5 | 34138f011537a4c70e25b1618dae3552ee9af682 | /mt_copy/src/mt_gamesvr/gameplay/gameplay_lottery.cpp | 73b3e3a248c0a3cbd73955ade2d36e07d7816059 | [] | no_license | marinemelody/MyUtility | 1ce8f6d17742d7a4d361c7306bf5b608a83e403d | d4beb9d900b07fd579275d8670d385483c1f287f | refs/heads/master | 2020-04-28T01:24:35.411752 | 2014-01-06T09:57:39 | 2014-01-06T09:57:39 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,983 | cpp |
#include "gameplay_lottery.h"
#include "id_mgr.h"
// 抽奖概率表
apr_hash_t * lottery_stone_prob_hash = NULL;
apr_status_t lottery_stone_roll(
apr_int32_t group_id,
card_ptt_id_t * ptt_id)
{
lottery_group_prob * gp = NULL;
gp = (lottery_group_prob *)apr_hash_get(
lottery_stone_prob_hash,
&group_id,
sizeof(group... | [
"marinemelody@gmail.com"
] | marinemelody@gmail.com |
51f7b3c4d407cfc8659ea5c66f0299fb5d671b2b | 2589ecea3012916196becdc75c7513aafdd5f994 | /HackerRank/HR_BasicDataTypes/hr_basic_data_types.cpp | 4f60c3ed780c1bddbda5c05e637584f08446c0ce | [] | no_license | outcastgeek/LL_kcaH | c4e104576c6db07c680f5d817aed4413ebe2188f | e7b44cb983d506edd659c533d5c7516e9e01badf | refs/heads/master | 2023-02-02T08:21:48.397842 | 2020-12-21T02:18:03 | 2020-12-21T02:18:03 | 112,263,200 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 195 | cpp | #include <cstdio>
int main() {
int a; long b; char c; float d; double e;
scanf("%i %li %c %f %lf",&a,&b,&c,&d,&e);
printf("%i\n%li\n%c\n%.03f\n%.09lf\n",a,b,c,d,e);
return 0;
}
| [
"outcastgeek+git@gmail.com"
] | outcastgeek+git@gmail.com |
b5e49a628c8e74c38643b3f6b74fac435ac4ed1a | 75b418f5fb34a524e11d26c3e6928e89100e04e8 | /homework2/btb_trial_2_2048.cpp | 77fd11041a375552cfde1ce5a853e1b4ab98da31 | [] | no_license | Krishna14/CSE240C | 362bb272d7ce26772ee76dc030b17709ba3b0d57 | d41949816bf440f58752bdb47fabe05d6c57a249 | refs/heads/main | 2023-03-25T14:41:38.109721 | 2021-03-23T09:27:11 | 2021-03-23T09:27:11 | 339,305,162 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 122,890 | cpp | #include <iostream>
using namespace std;
int main(void) {
uint64_t i;
uint64_t iter = 1000000;
for (i=0; i < iter; i++) {
__asm__ (
"clc\n"
"clc\n"
"mov $10, %eax\n"
"cmp $15, %eax\n"
"jle l780\n"
"clc\n"
"clc\n"
"clc\n"
"clc\n"
"clc\n"
"l780: jle l782\n"
"clc\n"
"clc\n"
"clc\n"
"clc\n"
"clc\n"
"l782: jle l784\n"
"cl... | [
"ec2-user@ip-172-31-19-38.us-east-2.compute.internal"
] | ec2-user@ip-172-31-19-38.us-east-2.compute.internal |
bac857f93600a56462531221680d4e3c6c1fb2c7 | e484ee95ee030a3447efd6f6ffdc5802721553f8 | /CoinWeight/weighresult.hpp | 1caae8bdb9be1020f93eb1445f2efb748b6a084d | [] | no_license | mortarsanjaya/CoinWeight | 1c04ebdf34f2e51dd6eea29e16d4aa5b9bfc03f0 | 77db1d8578e7e691d4d593ca20c8a73a99f981f2 | refs/heads/master | 2022-11-06T22:59:02.680403 | 2020-05-23T03:43:35 | 2020-05-23T03:43:35 | 244,746,700 | 1 | 0 | null | 2020-04-01T02:45:08 | 2020-03-03T21:36:38 | C++ | UTF-8 | C++ | false | false | 326 | hpp | //
// weighresult.hpp
// CoinWeight
//
// Created by Gian Cordana Sanjaya on 2020-03-25.
// Copyright © 2020 -. All rights reserved.
//
#ifndef weighresult_hpp
#define weighresult_hpp
namespace CoinWeight {
enum class WeighResult {
Start,
Invalid,
Balance,
LeftHeavy,
RightHeavy
};
};
#e... | [
"mortarsanjaya@gmail.com"
] | mortarsanjaya@gmail.com |
d7e07e681b041b192ef28e3ab987139b107f67f1 | 81fe39a5d34edc7d0bdb92202aecaa7544ff107b | /DFS_tren_do_thi_co_huong.cpp | 93efc27df3c69c00a54540ae1ee45b1b3fcb9f09 | [] | no_license | Tran-Thanh-The/sam-sung-algorithm | d279af2c86317e14a3c33750f1a8e56bef9498a5 | eabb62795b3bf2cf834ebe9b4848a4c221e3b772 | refs/heads/master | 2023-08-29T23:44:23.979146 | 2021-11-16T15:46:58 | 2021-11-16T15:46:58 | 422,822,201 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,085 | cpp | #include <bits/stdc++.h>
using namespace std;
vector<int> floo[1005];
bool check[1005];
int tr[1005];
void DFS( int f, int v) {
if ( check[v])
return;
check[f] = true;
for ( int i = 0; i < floo[f].size(); ++i) {
if ( !check[floo[f][i]]) {
tr[floo[f][i]] = f;
DFS( floo[f][i], v);
}
}
}
void trace( i... | [
"phonvan128@gmail.com"
] | phonvan128@gmail.com |
656d95cf3147b8b14320b2a66e60c5b0e8ae89a6 | c8b39acfd4a857dc15ed3375e0d93e75fa3f1f64 | /Engine/Plugins/Runtime/SoundVisualizations/Source/SoundVisualizations/Classes/SoundVisualizationStatics.h | 2de76fd8a2d18844b22cb1117981dcad5dc63089 | [
"MIT",
"LicenseRef-scancode-proprietary-license"
] | permissive | windystrife/UnrealEngine_NVIDIAGameWorks | c3c7863083653caf1bc67d3ef104fb4b9f302e2a | b50e6338a7c5b26374d66306ebc7807541ff815e | refs/heads/4.18-GameWorks | 2023-03-11T02:50:08.471040 | 2022-01-13T20:50:29 | 2022-01-13T20:50:29 | 124,100,479 | 262 | 179 | MIT | 2022-12-16T05:36:38 | 2018-03-06T15:44:09 | C++ | UTF-8 | C++ | false | false | 2,364 | h | // Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "UObject/ObjectMacros.h"
#include "Kismet/BlueprintFunctionLibrary.h"
#include "SoundVisualizationStatics.generated.h"
class USoundWave;
UCLASS()
class USoundVisualizationStatics : public UBlueprintFunctionLi... | [
"tungnt.rec@gmail.com"
] | tungnt.rec@gmail.com |
36d62bfbb4af479ab78e241f1ec4d1c6715ea48e | a087ef38b7f8ddce92f89ec609ad5bd22b68dc06 | /Hamil/src/os/inputman.cpp | dd670fa23474f148aee38fb3d4af277a61df32cf | [] | no_license | miviwi/Hamil | 329957b6ed76cfbd28d8b0d45fc56b22396d5998 | 110e2a66c7feca5890bf3b3a722138524444ff6b | refs/heads/master | 2021-08-08T21:15:17.670327 | 2021-06-25T05:54:30 | 2021-06-25T05:54:30 | 114,602,019 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,323 | cpp | #include <os/inputman.h>
#include <os/time.h>
#include <math/geometry.h>
namespace os {
InputDeviceManager::InputDeviceManager() :
m_mouse_buttons(0),
m_kb_modifiers(0), m_capslock(0),
m_mouse_speed(1.0f), m_dbl_click_seconds(0.25f)
{
}
InputDeviceManager& InputDeviceManager::mouseSpeed(float speed)
{
m_mous... | [
"m.schwarz@cormo.pl"
] | m.schwarz@cormo.pl |
a7ed7c0faa9fa18642e0a2f89ea057e47526b55d | 605c89c38d3729e623a409979080913c0674ef7f | /coconut2d-x/controllers/CNScrollLayerController.h | 0943a50146f4397928abe75cab4b41af77f9a634 | [
"MIT"
] | permissive | moky/SpriteForest | 02080ceb816492fc718e0c00b772e49b74e8c99a | b88f2be74a14157e9b25c2295f0efc7c516446b5 | refs/heads/master | 2021-01-18T20:29:38.450925 | 2014-04-28T03:33:06 | 2014-04-28T03:33:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 885 | h | //
// CNScrollLayerController.h
// Coconut2D-X
//
// Created by Moky on 12-12-11.
// Copyright 2012 Slanissue.com. All rights reserved.
//
#ifndef Coconut2D_X_CNScrollLayerController_h
#define Coconut2D_X_CNScrollLayerController_h
#include "CNTouchController.h"
NS_CN_BEGIN
class CNScrollLayerController : public... | [
"albert.moky@gmail.com"
] | albert.moky@gmail.com |
7421a68b13a6c484edeaeb4f80a3160fa853091f | 4352b5c9e6719d762e6a80e7a7799630d819bca3 | /tutorials/eulerVortex.twitch/eulerVortex.cyclic.twitch.test.test/processor2/1.46/U | b3aa839dc2bcc279e2ab4659104ecb5214583f90 | [] | no_license | dashqua/epicProject | d6214b57c545110d08ad053e68bc095f1d4dc725 | 54afca50a61c20c541ef43e3d96408ef72f0bcbc | refs/heads/master | 2022-02-28T17:20:20.291864 | 2019-10-28T13:33:16 | 2019-10-28T13:33:16 | 184,294,390 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 114,923 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 6
\\/ M anipulation |
\*-------... | [
"tdg@debian"
] | tdg@debian | |
69632c011239bf6195fe4b49b045813f3cbb24d9 | a14e6279c6d7b027613dee37baee6e0cfd2e2c06 | /iOS/core/plane.cpp | c820106df465f46cc63841152e05c2b8886a85b9 | [] | no_license | psenzee/senzee5 | e7caa80bfc3346fc98e2fc4809041f576647653f | dfe2a9f7a3b33f7ccfe9b12e09a20d1b10d6f3f4 | refs/heads/master | 2016-08-06T15:51:29.894387 | 2015-01-22T13:27:06 | 2015-01-22T13:27:06 | 23,462,247 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,178 | cpp | #include "tuple3f.h"
#include "math.h"
#include "plane.h"
const Plane Plane::INVALID = Plane();
bool Plane::intersect(const Edge &line, point_t &at)
{
point_t nl = line.normal();
float denom = dot(nl),
num = dot(line.a) + dist;
if (math::eq(denom, 0.f)) return false;
else at = line.... | [
"psenzee@yahoo.com"
] | psenzee@yahoo.com |
07e867464658729651894475f3c1328301f31b08 | 66213c48da0b752dc6c350789935fe2b2b9ef5ca | /typical90/045_01.cpp | 7100a7864627eb6019e5e5731e95a3231219df46 | [] | no_license | taketakeyyy/atcoder | 28c58ae52606ba85852687f9e726581ab2539b91 | a57067be27b27db3fee008cbcfe639f5309103cc | refs/heads/master | 2023-09-04T16:53:55.172945 | 2023-09-04T07:25:59 | 2023-09-04T07:25:59 | 123,848,306 | 0 | 0 | null | 2019-04-21T07:39:45 | 2018-03-05T01:37:20 | Python | UTF-8 | C++ | false | false | 1,946 | cpp | #define _USE_MATH_DEFINES // M_PI等のフラグ
#include <bits/stdc++.h>
#define MOD 1000000007
#define COUNTOF(array) (sizeof(array)/sizeof(array[0]))
#define rep(i,n) for (int i = 0; i < (n); ++i)
#define intceil(a,b) ((a+(b-1))/b)
using namespace std;
using ll = long long;
using pii = pair<int,int>;
using pll = pai... | [
"taketakeyyy@gmail.com"
] | taketakeyyy@gmail.com |
af3a47b77abada4dc414a90c44bbff74627052c5 | 6c22b8f2b9ad8ff375e098516b4a7b9b70e98308 | /USACO/Section 1.1/test.cpp | 7b566a9ad7268f4d049dd4744b241d5b48fbbd42 | [] | no_license | KartikTalwar/Puzzles | 9c937fc083ba11b9a5dad35ed0ff7c969233177c | bc2b39c94dce289f80a5f49475a1a6aa35a6e0c2 | refs/heads/master | 2016-09-10T18:48:34.568772 | 2013-06-07T16:55:49 | 2013-06-07T16:55:49 | 2,166,807 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 390 | cpp | /*
ID: talwar.1
PROG: test
LANG: C++
*/
/*
* The simplest program on the training pages:
* read in two integers from a single line and print their sum.
*/
#include <iostream>
#include <fstream>
#include <string>
using namespace std;
int main() {
ofstream fout ("test.out");
ifstream fin ("test.in");
i... | [
"hi@kartikt.com"
] | hi@kartikt.com |
846967f5c76a385d548bed3b949e1ff2a856bfd6 | 638e3aef6bde970bcc5afb2d39443e9558c3e778 | /Project2/이차원 배열 원소.cpp | 6895974bde7d5ce67b95e1ba69873da6289e73b7 | [] | no_license | yyatta/Project2 | 95a023eed12eac97b1b2f85a73145a515830f336 | 69f73a8d120f22e190ad7c88d03ba17b67258489 | refs/heads/master | 2020-07-28T16:52:31.391436 | 2020-05-14T14:09:30 | 2020-05-14T14:09:30 | 209,471,569 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 523 | cpp | #include <stdio.h>
#define ROWSIZE 2
#define COLSIZE 3
int main(void)
{
int td[ROWSIZE][COLSIZE];
td[0][0] = 1; td[0][1] = 2; td[0][2] = 3;
td[1][0] = 4; td[1][1] = 5; td[1][2] = 6;
printf("반복문 for을 이용하여 출력\n");
printf("행우선\n\n");
for (int i = 0; i < ROWSIZE; i++)
{
for (int j = 0; j < COLSIZE; j++)
... | [
"wjdwldnjs178@naver.com"
] | wjdwldnjs178@naver.com |
78440dee0c6c6f36a84639893d685ab71f56b40b | 5d83739af703fb400857cecc69aadaf02e07f8d1 | /Archive2/00/8fd9bb30c70e2d/main.cpp | cfca06445bdbe464aaf702234813fba4cb4ab835 | [] | no_license | WhiZTiM/coliru | 3a6c4c0bdac566d1aa1c21818118ba70479b0f40 | 2c72c048846c082f943e6c7f9fa8d94aee76979f | refs/heads/master | 2021-01-01T05:10:33.812560 | 2015-08-24T19:09:22 | 2015-08-24T19:09:22 | 56,789,706 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,558 | cpp | #include <boost/thread.hpp>
#include <boost/chrono.hpp>
#include <mutex>
#include <memory>
#include <utility>
#include <iostream>
class ThreadRAII {
public:
enum class DtorAction {join, detach};
explicit ThreadRAII(DtorAction a = DtorAction::join) : action(a) {}
ThreadRAII(boost::thread&& t, DtorAction a ... | [
"francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df"
] | francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df |
ae054d3844d4827cc1822a4f9f658766b4e980c4 | a3620c3aeb23d6e3ed69fac4c132d035461ba686 | /genint.cpp | c430fb1a9ec6eaa8b2879ece63f6784ab4e23491 | [] | no_license | rtscmrn/UNGenetico | 0ba763d85726ec4d51ada9fc7efaf1b52e036459 | e8ad50f81ff0a2aaf1bb0967ebd4b2f55b652b83 | refs/heads/master | 2023-09-02T02:07:25.756723 | 2021-10-15T19:30:38 | 2021-10-15T19:30:38 | null | 0 | 0 | null | null | null | null | WINDOWS-1250 | C++ | false | false | 6,481 | cpp | #ifndef _GENINT_CPP
#define _GENINT_CPP
#endif
#ifndef _GENINT_HPP
#include "genint.hpp"
#endif
//////////////////////// GEN REAL (double) //////////////////////
GenEntero::GenEntero()
{
Minimo=-10;
Maximo=10;
Valor=0;
}
void GenEntero::crearAleatorio()
{
double azar;
azar=(double)((double)... | [
"ogduartev@unal.edu.co"
] | ogduartev@unal.edu.co |
292bfe2ffd557c771799e0594ba8f8f145bebb97 | 0da8c3a4ba0d76df9162b2c35a81b5a8885da041 | /fibSeries.cpp | 0dc55ebaa759f441b6678170f3bc44cc67f45cd9 | [] | no_license | noobmaster440/HackPep | 57b636930924212e098eb73d1839410352c38cce | e3fa84230758a4be40c2e68c9d9f28f16f4f7f1f | refs/heads/master | 2020-08-04T21:12:34.416796 | 2019-10-02T07:33:54 | 2019-10-02T07:33:54 | 212,280,930 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 290 | cpp | #include <iostream>
using namespace std;
void printFib(int n)
{
int prev = 0;
int curr = 1;
while (prev <= n)
{
int next = prev + curr;
cout << prev << " ";
prev = curr;
curr = next;
}
}
int main(int args, char **argn)
{
int n = 0;
cin >> n;
printFib(n);
} | [
"saadsiddiqi440@gmail.com"
] | saadsiddiqi440@gmail.com |
2a7e9db64dcec04ee067a11c719c24857d88992a | 999c1f826b7cda71c9b65f49df212c928149f882 | /Sources/CyGlobalContextInterface4.cpp | b7f36f10cc02ff5f39131e6370aad00b725431b5 | [] | no_license | JefferySergent/Caveman2Cosmos | 0b76bd9cb5294dbcdca498ff469dcc08d57b44ce | 3b4ecdc897a2150f4b7e81bda70317f038801e46 | refs/heads/master | 2020-07-11T22:54:13.615466 | 2019-09-01T22:02:40 | 2019-09-01T22:02:40 | 204,651,220 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,449 | cpp | //
// published python interface for CyGlobalContext
// Author - Mustafa Thamer
//
#include "CvGameCoreDLL.h"
void CyGlobalContextPythonInterface4(python::class_<CyGlobalContext>& x)
{
OutputDebugString("Python Extension Module - CyGlobalContextPythonInterface4\n");
x
.def("getNumMissionInfos", &CyGlobalContext... | [
"alberts2@live.de"
] | alberts2@live.de |
0e539111f384acff0fb9e38010f436f0b6872ae1 | 63c71060f36866bca4ac27304cef6d5755fdc35c | /src/SmartObj/SlotMgr/Tester/SlotMgrTester.cpp | 9b1912f659bd48bf148116d1b3fee610ccb2f988 | [] | no_license | 15831944/barry_dev | bc8441cbfbd4b62fbb42bee3dcb79ff7f5fcaf8a | d4a83421458aa28ca293caa7a5567433e9358596 | refs/heads/master | 2022-03-24T07:00:26.810732 | 2015-12-22T07:19:58 | 2015-12-22T07:19:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,204 | cpp | ////////////////////////////////////////////////////////////////////////////
//
// Copyright (C) 2005
// Packet Engineering, Inc. All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification is not permitted unless authorized in writing by a duly
// appointed officer of ... | [
"barryniu@jimodb.com"
] | barryniu@jimodb.com |
fdb0ed23bb0c06fd3d0b84195302fb3e1ac5f4d5 | 02a6fb846f517ab9b9f6028311783b9e38e3c816 | /src/game/client/render.h | 20a5b24ac7b13bbe46b596234cdd4ffe711e91b7 | [
"LicenseRef-scancode-other-permissive",
"Zlib"
] | permissive | arsdragonfly/New-Nodes | 79bce64231417ff3409dc3f680c1c209c69d4e94 | 8cc2ddc02a6835342604e45ca3c19eeb84811a9c | refs/heads/master | 2021-01-16T19:40:13.161455 | 2013-06-19T11:03:38 | 2013-06-19T11:03:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,386 | h | /* (c) Magnus Auvinen. See licence.txt in the root of the distribution for more information. */
/* If you are missing that file, acquire a complete release at teeworlds.com. */
#ifndef GAME_CLIENT_RENDER_H
#define GAME_CLIENT_RENDER_H
#include <base/vmath.h>
#include <game/mapitems.h>
#include "ui.h"
... | [
"freddiew@qq.com"
] | freddiew@qq.com |
fe82fd68c84b6bfdc8fe15b4446bc8590f7e7392 | 5a2349399fa9d57c6e8cc6e0f7226d683391a362 | /src/qt/qtwebkit/Source/WebCore/bindings/scripts/test/JS/JSTestNode.h | 9b0e4e264ad48801917e876ef539c07c999fa6bd | [
"BSD-2-Clause",
"LGPL-2.1-only",
"LGPL-2.0-only",
"BSD-3-Clause"
] | permissive | aharthcock/phantomjs | e70f3c379dcada720ec8abde3f7c09a24808154c | 7d7f2c862347fbc7215c849e790290b2e07bab7c | refs/heads/master | 2023-03-18T04:58:32.428562 | 2023-03-14T05:52:52 | 2023-03-14T05:52:52 | 24,828,890 | 0 | 0 | BSD-3-Clause | 2023-03-14T05:52:53 | 2014-10-05T23:38:56 | C++ | UTF-8 | C++ | false | false | 5,178 | h | /*
This file is part of the WebKit open source project.
This file has been generated by generate-bindings.pl. DO NOT MODIFY!
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... | [
"ariya.hidayat@gmail.com"
] | ariya.hidayat@gmail.com |
b4d95a6704cf3a8644c9c7f56968f3076586f250 | 64c511bb0c1a61134966ff03a46d2f2802cda379 | /Arrays/EquilibriumIndex.cpp | d277539f14df3ecc841badcb398ba6e9beddc15a | [] | no_license | ria28/Data-Structures-And-Algorithms | 96f2278e35c4a1bb346d81fbea0e9da0f57c90c0 | 3225ba1b3dec9c2f77d6b2c9cc5cb9933cbb306d | refs/heads/master | 2023-06-08T07:50:57.422775 | 2021-07-03T11:43:10 | 2021-07-03T11:43:10 | 278,084,625 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 628 | cpp | // https://www.geeksforgeeks.org/equilibrium-index-of-an-array/
#include <iostream>
#include <stdio.h>
using namespace std;
void equilibrium(int arr[], int len)
{
int sum = 0;
for (int i = 0; i < len; i++)
{
sum += arr[i];
}
int leftSum = 0;
for (int i = 0; i < len; i++)
{
... | [
"riajaiswal28@gmail.com"
] | riajaiswal28@gmail.com |
1e6cb9f0e287c9e2e33d9c2b4cb9fb65a44a2b77 | cf8ddfc720bf6451c4ef4fa01684327431db1919 | /SDK/ARKSurvivalEvolved_TerrorBird_Character_BP_functions.cpp | 6b1757789ed704393a6d1f1e5c6764f709c0b71a | [
"MIT"
] | permissive | git-Charlie/ARK-SDK | 75337684b11e7b9f668da1f15e8054052a3b600f | c38ca9925309516b2093ad8c3a70ed9489e1d573 | refs/heads/master | 2023-06-20T06:30:33.550123 | 2021-07-11T13:41:45 | 2021-07-11T13:41:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,541 | cpp | // ARKSurvivalEvolved (329.9) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "ARKSurvivalEvolved_TerrorBird_Character_BP_parameters.hpp"
namespace sdk
{
//---------------------------------------------------------------------------
//Functions
//----------------------------------------------------------... | [
"sergey.2bite@gmail.com"
] | sergey.2bite@gmail.com |
2baa1116ace95696f2e896b8a8e88116a838a53a | b90dec02f9a7d8ec708c638bb98140d979a12206 | /Homework/Week 13 E - TT 的神秘任务3(选做).cpp | b7ebbe76b3b01c0ee18c93c325a21d6d04066134 | [] | no_license | lyl2000/Programming-Practice-2019 | 05263b636ad37aca4c452bcd453bbf689c0f04b1 | d605092dbed3aff5584b1242fa14849e1cb6b42f | refs/heads/master | 2023-07-03T15:35:41.398120 | 2021-08-03T09:04:47 | 2021-08-03T09:04:47 | 392,206,774 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,106 | cpp | #include <stdio.h>
#define max(x, y) x>y?x:y
const int N = 1e5+20;
const int inf = 1e8;
int a[2 * N], sum[2 * N], q[2 * N];
int main() {
int t; scanf("%d", &t);
while(t--) {
int n, k; scanf("%d%d", &n, &k);
for(int i = 1; i <= n; ++i) scanf("%d", &a[i]);
for(int i = 1; i <= k; ++i) a[n + i] = a[i]; /... | [
"3059306507@qq.com"
] | 3059306507@qq.com |
bb9ada8baa2ed9f3662d278acde8e1f447b28a45 | 4231871d911b587d542a3ffad201a4f884dcae36 | /mtgGame/cards/creatures/NorwoodRanger.cpp | 0b4abdd6ca849c89bfeaa06c0bb6bf1cad8d970d | [] | no_license | dstuck/mtgAlg | 8cd1b78bb0e46ea72a974a392eeacf4849724d1e | c68ef3810565f8adb6fdbfd478669060a11de809 | refs/heads/master | 2021-01-01T05:54:05.568134 | 2015-03-22T20:10:49 | 2015-03-22T20:10:49 | 15,098,653 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 722 | cpp | /*
* NorwoodRanger.cpp
*
* Autogenerated by generateCards.py
* Author: dstuck
*/
#include "NorwoodRanger.h"
NorwoodRanger::NorwoodRanger() {
KeywordVanilla();
id = 83188;
name = "Norwood Ranger";
cmc = 1;
isCreature = true;
subtype.push_back("Elf");
subtype.push_back("Scout");
flavor.push_back("The song o... | [
"dstuck88@gmail.com"
] | dstuck88@gmail.com |
9af14a1e243ae7a095ec6f58b21fb7e90f42ee80 | 054aa2480675228408adb3ab9ef2b0d64664e973 | /Nearest Perfect Square.cpp | ba7ef21773a31b4b02bf930df78b2758210affd5 | [] | no_license | iam-abhijha/GFG-DSA-Questions-Solutions | 3fe8d7e2f2cc1b531101be59ed8f16a50022363c | d998da5d648f359bceb04a843b2f761d3eda5fbe | refs/heads/main | 2023-06-17T05:31:59.941143 | 2021-07-05T10:24:55 | 2021-07-05T10:24:55 | 355,064,754 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 615 | cpp | #include<bits/stdc++.h>
using namespace std;
long long int NearestPerfectSquare(long long int N){
long long int abovenumBER = ceil(sqrt(N+1)) * ceil(sqrt(N+1));
long long int belownumBER = floor(sqrt(N-1)) * floor(sqrt(N-1));
long long int difference_1 = N - abovenumBER;
long long int difference_2 = belownumB... | [
"56464922+iam-abhijha@users.noreply.github.com"
] | 56464922+iam-abhijha@users.noreply.github.com |
dd24154fc181831ccff41bfe06f329f3a3a1ec75 | a66ce2b31cee52088d0941f1734de2932b3afc37 | /ioc/subscriptionctx.h | 1ba4c59d307c7343e76274e08ce94d1c6c2b9dbc | [
"BSD-3-Clause"
] | permissive | mdavidsaver/pvxs | 291cda745d2b8387445758ef0054ea7d952dd390 | aba04ee95228369ba0f6f1843f85e830c2587317 | refs/heads/master | 2023-08-04T17:24:39.334946 | 2023-07-30T20:19:44 | 2023-08-03T00:20:13 | 216,301,431 | 13 | 24 | NOASSERTION | 2023-09-13T10:44:47 | 2019-10-20T03:21:19 | C++ | UTF-8 | C++ | false | false | 2,057 | h | /*
* Copyright - See the COPYRIGHT that is included with this distribution.
* pvxs is distributed subject to a Software License Agreement found
* in file LICENSE that is included with this distribution.
*
* Author George S. McIntyre <george@level-n.com>, 2023
*
*/
#ifndef PVXS_SUBSCRIPTIONCTX_H
#define PVXS_SUB... | [
"mdavidsaver@gmail.com"
] | mdavidsaver@gmail.com |
65e430279e2f539ba33807e613fc9ab4b023622c | 84a2fcde25a6effaaec8676a69cb4776d9a277ee | /Arduino/Learning/ProfileSD/ProfileSD.ino | 2f7c55c7dde0c0024bb8ed8c779c668a0b0abfe6 | [] | no_license | Samraksh/AppNotes | a9429aab0482fc73947f6e4a2682f61d0e92498b | 813341a95b27bc3bbf41718f48fae60197913fec | refs/heads/master | 2022-11-07T00:51:07.992208 | 2017-10-12T01:42:02 | 2017-10-12T01:42:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,758 | ino |
#include <SD.h>
#include <SPI.h>
const int led = 13; // GPIO pin for LED control
const int sdWrite = 8; //
const int sdChipSelect = 4; // Select SD Card
const int defaultChipSelectPin = 10;
static File sdDataFile; // SD card datafile
void setup()
{
Serial.begin(115200);
pinMode(sdWrite, OUTPUT);
char s... | [
"william.leal@samraksh.info"
] | william.leal@samraksh.info |
e4d69d35bc1cad712f9bf075ab40439c9d6ce2e6 | 756953bd7487da84962013ed4efc19a5ed2561a5 | /src/handlers/feature_handlers/aiPoliceOfficerFeatureHandler.cpp | 4efec04122a1215e79313708bab40646e9102e56 | [] | no_license | Dummiesman/mm2hook | a4ade067fdc981ea4accde5dbfeb7653b2b5247f | 511c96a24b88f3210791dd8ea668fb377b02c4f5 | refs/heads/master | 2023-08-19T05:39:17.219544 | 2023-08-10T15:32:00 | 2023-08-10T15:32:00 | 93,969,666 | 2 | 0 | null | 2017-06-10T22:53:27 | 2017-06-10T22:53:27 | null | UTF-8 | C++ | false | false | 646 | cpp | #include "aiPoliceOfficerFeatureHandler.h"
using namespace MM2;
/*
aiPoliceOfficerFeatureHandler
*/
void aiPoliceOfficerFeatureHandler::DetectPerpetrator() {
mmGameManager *mgr = mmGameManager::Instance;
auto player = mgr->getGame()->GetPlayer();
if (*getPtr<int>(player, 0x2258))
return;
... | [
"aaro4130@gmail.com"
] | aaro4130@gmail.com |
27210ee86feb2a1486c4f8fa4d626e05ce46b169 | 08e4b89294f2bb0bda8686ff2b411a54cd8f2d54 | /ch1/1.5/1.5.cpp | 7347d4568eabecce048c4905d2311f89c4100f80 | [] | no_license | yumixx/cc189 | 083fb604455049fa38fa3c174d6c20d10826e48e | a93d4d73da75c8054af542db884376ca928d8e5e | refs/heads/master | 2021-01-03T16:02:50.308631 | 2020-04-03T18:42:23 | 2020-04-03T18:42:23 | 240,142,959 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 838 | cpp | #include <iostream>
#include <string>
#include <cstdlib>
using namespace std;
bool checkOneEdit(string a, string b) {
if(abs((int)(a.length() - b.length())) > 1) {
return false;
}
string shortString = a.length() < b.length() ? a : b;
string longString = a.length() < b.length() ? b : a;
bool foundDiffe... | [
"sprinklecn@hotmail.com"
] | sprinklecn@hotmail.com |
14b4316ccc5d03d756768997c9182114589303a6 | 3f87f59350a4a6c1b65d941ce3ff035182febf9a | /main.cpp | 9d47473f5f87eff1a0f77c9360200f42c1087e06 | [] | no_license | Goodjamp/jalousieContro | 66f8468e371c40c644586e26dc89b9e47a75c7c5 | d9f86bc0eaa9954eba6f3246010ed2eed60b906a | refs/heads/master | 2020-06-26T09:03:30.218365 | 2019-12-21T11:02:43 | 2019-12-21T11:02:43 | 199,590,798 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 413 | cpp | #include "jalousiecontrol.h"
#include <QApplication>
#include <QVector>
#include <QMetaType>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
jalousieControl w;
w.show();
qRegisterMetaType< QVector<uint32_t> >();
qRegisterMetaType< QVector<uint16_t> >("QVector<uint16_t>");
qRegist... | [
"ger_1987@ukr.ner"
] | ger_1987@ukr.ner |
4f800c885c8c0e1f6fff68d2aafc80cb934d7fce | 74870e1d278f20027ea0213d9d87ee6128a01f65 | /Q9012.cpp | 03612a9757b75059d87ee1be4c4e93286ee3e27f | [] | no_license | jleun1403/BOJ_CPP | 795816db9e8a2828ec48aaf9f8da9276d4b0abef | 415502a8fd7093f469a3b7bf1c5e756505ae0e76 | refs/heads/master | 2020-07-10T01:28:42.157301 | 2019-08-24T11:41:03 | 2019-08-24T11:41:03 | 204,131,610 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 645 | cpp | #include <stack>
#include <iostream>
using namespace std;
int main()
{
int testcase;
cin >> testcase;
while(testcase--)
{
int temp = 0;
string s;
cin >>s;
if (s[0] == ')'){
cout <<"NO"<<'\n';
continue;
}
for (int... | [
"david1403@hanmail.net"
] | david1403@hanmail.net |
61dfb4223f150a7c611d11b814b45042fbeec241 | a4a8b5555a2807a8ec76e1ab343eb087c02d8cff | /LintCode/Advance/Week5/395_Coins_in_a_Line_II.cpp | b895f31fddf3e909008ee32d3c38f62626cde269 | [] | no_license | ZSShen/IntrospectiveProgramming | 83267843d0d70d8f1882e29aff0c395ff2c3f7bc | 011954e2b1bf3cf9d0495100d4b2053f89b7ac64 | refs/heads/master | 2020-12-03T05:24:28.529360 | 2019-12-13T07:24:48 | 2019-12-13T07:24:48 | 37,024,879 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,057 | cpp | class Solution {
public:
/**
* @param values: a vector of integers
* @return: a boolean which equals to true if the first player will win
*/
bool firstWillWin(vector<int> &values) {
// write your code here
/**
* A: Sa, Diffa = Sa - Sb = (Sa' + n) - Sb' = n - (Sb' - Sa')... | [
"andy.zsshen@gmail.com"
] | andy.zsshen@gmail.com |
c2f998fcdbc990118f6cd50b6a77be080441604c | cae0243512e1614fc9ef945713c9499d1a56d389 | /src/testers/tester_iteration_golfers.h | 770e2b2cc5ea3d09f0e8a4259abfe65243b1a689 | [] | no_license | alejandro-reyesamaro/POSL | 15b5b58a9649234fa9bedbca4393550d38a69e7d | 0b3b7cf01a0392fc76394bbc04c52070637b3009 | refs/heads/master | 2021-04-15T11:10:24.998562 | 2016-09-06T15:10:54 | 2016-09-06T15:10:54 | 33,991,084 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 178 | h | #pragma once
#include "tester.h"
class Tester_IterationGolfers : public Tester
{
public:
Tester_IterationGolfers(int argc, char *argv[]);
string test();
};
| [
"alejandro-reyesamaro@univ-nantes.fr"
] | alejandro-reyesamaro@univ-nantes.fr |
6422b24b1a86337ba32aa1383668ed34d1a22647 | 5eeef0b0574669d8f97534cd99267b55f74db30f | /src/indigen-cli.cpp | 2b4de745f1bcc917c6caf50fda1dba2dc91e0f34 | [
"MIT"
] | permissive | indigencoin/indigen | 960ad78cce5f17e0cd1363cf3d678ebe1bc05bb6 | eb3893c6f50acdca86048f6b8e02c94935411e69 | refs/heads/master | 2020-03-27T23:27:18.922453 | 2018-09-04T09:00:59 | 2018-09-04T09:00:59 | 107,514,921 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 9,916 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2015 The Bitcoin developers
// Copyright (c) 2009-2015 The Dash developers
// Copyright (c) 2015-2017 The PIVX developers
// Copyright (c) 2017-2017 The Indigen developers
// Distributed under the MIT/X11 software license, see the accompanying
// file CO... | [
"larrimar@live.com.ph"
] | larrimar@live.com.ph |
65bfc4e9c6b74a4b8476cba6b3383a05951c8400 | f05438c279fbf9b1576328dd30ed150028360343 | /src/Bullet.cpp | 8aa48285dddca41808f8b566b30cf68a981595a6 | [] | no_license | shilaranidas/GAME3001_Assignment3 | e3416e44dc2c1547b5a67bd0d88254b48dd9f6ac | 62472b3b910d026534ccf839b751230444d72780 | refs/heads/master | 2022-04-15T20:40:47.699821 | 2020-04-15T05:11:52 | 2020-04-15T05:11:52 | 255,713,890 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,502 | cpp | #include "Bullet.h"
#include "Game.h"
#include <utility>
Bullet::Bullet() : m_currentFrame(0), m_bIsActive(false)
{
TheTextureManager::Instance()->loadSpriteSheet(
"../Assets/sprites/atlas.txt",
"../Assets/sprites/atlas.png",
"spritesheet", TheGame::Instance()->getRenderer());
m_pSpriteSheet = TheTextureManag... | [
"shilarani.das@georgebrown.ca"
] | shilarani.das@georgebrown.ca |
cedb4c604ee406e8b4ebe25afbe137b981e41d73 | 04c77fea47012ada9ce1d49db60a43a0ee2183cb | /src/bme280Sensor.cpp | b2c040aa71ec0167656c8ca4ebe11b05533c6a23 | [] | no_license | raspyweather/SimpleEnvironmentLogger | 30d5799439970b0a1949bebef50049f57411035a | c877bcbcf254e45f42e246138873de554283dbdd | refs/heads/master | 2021-09-23T12:18:19.613349 | 2021-09-11T10:14:32 | 2021-09-11T10:14:32 | 186,020,569 | 0 | 0 | null | 2021-09-11T10:14:33 | 2019-05-10T16:29:51 | C++ | UTF-8 | C++ | false | false | 1,184 | cpp | #include "bme280Sensor.h"
#include "sensor.h"
#include "unifiedSensor.h"
void bme280Sensor::init()
{
Serial.print(F("Connecting to BME280"));
while (!bme.begin())
{
Serial.print(F("."));
delay(500);
}
bme.setSampling(Adafruit_BME280::MODE_FORCED,
Adafruit_BME280::SAMPLING_X1... | [
"raspyweather@gmail.com"
] | raspyweather@gmail.com |
98bd890272df2bb11c496523a212baa45ffdeb32 | c97bb9dbaec062458f4fc1ce4dd26796aa313693 | /code/src/l0-infra/trans-dsl/sched/action/SchedExclusiveAction.cc | 9b10c47b86f9c156c3d25d46288c9cb4a4204d93 | [] | no_license | weisha1991/Dsl | c9ec6252626c8b114ed66e1675d90c6845e099b0 | 5fd1a92f379872429561a506316668c2d170c69b | refs/heads/master | 2020-06-28T22:55:06.050902 | 2020-02-01T13:46:18 | 2020-02-01T13:46:18 | 200,363,494 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,882 | cc | /*
* SchedExclusiveAction.cc
*
* Created on: Apr 28, 2013
* author: Darwin Yuan
*
* Copyright 2013 ThoughtWorks, All Rights Reserved.
*
*/
#include "l0-infra/trans-dsl/sched/action/SchedExclusiveAction.h"
#include "l0-infra/trans-dsl/utils/ActionStatus.h"
TSL_NS_BEGIN
//////////////////////////////////... | [
"251813921@qq.com"
] | 251813921@qq.com |
077edc17f59614fdcf26864808b08f0cbb4482f2 | acaba79bdae6facb7aa8bed9026c34eaf4e736cb | /DayZ-SQF/dayz_epoch_b/CfgServerTrader/Category/NeutralBuildingSupplies.hpp | e47419adeba6db5b8b85d116d0cdc7e3cca40555 | [] | no_license | jazzywhit/DayZ-Epoch | b8a8ccbdefc967049beaab38e02c3edd56fc7ab1 | c1bd5c39e1bd3a348a19dcedb2cbab4132171bb2 | refs/heads/master | 2016-09-06T03:07:05.549646 | 2015-04-15T12:30:31 | 2015-04-15T12:30:31 | 25,013,512 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,616 | hpp | class Category_662 {
class ItemSandbag {
type = "trade_items";
buy[] = {4,"ItemGoldBar"};
sell[] = {2,"ItemGoldBar"};
};
class ItemTankTrap {
type = "trade_items";
buy[] = {2,"ItemSilverBar10oz"};
sell[] = {1,"ItemSilverBar10oz"};
};
class ItemTentOld {
type = "trade_items";
buy[] = {4,"ItemSilverB... | [
"jwhitworth@hbs.edu"
] | jwhitworth@hbs.edu |
181d4eaf4e39d8da6a286c11b71ebb3c86009606 | ee640b43338a2bde1c6c0ef2138bf5248e1f8d44 | /Classes/AnimationCreator.h | 544d73c87f73e35d3d1eac23c8d34ade0a2b953a | [] | no_license | tarasyurts/CocosGame | e7b3eb75ef5f661aecc7100a417a2825cecb0aab | ecdb4dbd78b70173a8fa75cfc551597fcaa6a838 | refs/heads/master | 2022-03-15T05:03:19.938941 | 2019-12-12T17:12:01 | 2019-12-12T17:12:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 274 | h | #pragma once
#include "cocos2d.h"
USING_NS_CC;
using namespace std;
class AnimationCreator
{
static AnimationCreator* animationCreator;
//AnimationCreator();
public:
static AnimationCreator* getInstance();
Animate* createAnimate(string, int, int, int, float);
}; | [
"tariksyurts@gmail.com"
] | tariksyurts@gmail.com |
c5f095fd1a57d3468c42d646e6d9b347a5433f43 | 8d44ea96349cbdae98834a962eea68048a932d43 | /Source/MasterEditor.cpp | 88331ff3e5fcfc1e3d96fc8c0059d31c070fe593 | [] | no_license | StijndeK/RisingFX | 1a71d4b69010f7e190fe1c7e1b08a4f80e7c6f4e | 60bb8b93bccb1b7cd5a9fb942feceea8140ecdfd | refs/heads/main | 2023-05-29T00:39:08.624227 | 2021-06-14T10:06:44 | 2021-06-14T10:06:44 | 301,431,139 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,552 | cpp | /*
==============================================================================
MasterEditor.cpp
Created: 10 Oct 2020 12:20:23pm
Author: Stijn de Koning
==============================================================================
*/
#include <JuceHeader.h>
#include "MasterEditor.h"
//==========... | [
"sdk.stijn@gmail.com"
] | sdk.stijn@gmail.com |
bc9b27299bd11a9c498192731890acab89feb7a8 | 4754bb5470fbbd608323f468cddf6658b031e090 | /1 семестр/HW3/task4/task4.cpp | 732c412c3d6f5ddc99a759ebc1c78b6b4e871e15 | [] | no_license | artbez/origin | af86cba1eacfbf85c10047afd84884355aece671 | 7fe1dd71cc3b8312cf3d5713714319bc4f629692 | refs/heads/master | 2016-09-03T06:32:57.485079 | 2015-05-28T20:54:28 | 2015-05-28T20:54:28 | 15,024,516 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,112 | cpp | #include <iostream>
#include <stdlib.h>
#include "list.h"
using std::cout;
using std::cin;
using namespace ListSpace;
void addValue(ListElement * x, List &l);
enum UserCommand {
quit,
addEl,
removeEl,
printL
};
UserCommand toCommand(int a);
int main()
{
List l;
init(l);
bool flag = true;
whil... | [
"artemii.bezguzikov@gmail.com"
] | artemii.bezguzikov@gmail.com |
9f78726ac3c241f922d9a1be9249200ba0198035 | ddb3a09433b23ca0ed8c99c41d31780a8b7193fb | /mta_direct.cc | f84bc916e05f2d3cab204863fdc99dad78df2029 | [] | no_license | cherryasphalt/LEDSubwayDisplay | 4e1281b0a04e35a73eca181e1010883ae6fb1108 | 59e99e50eabbe63339aad01b040aee19a28cb7ee | refs/heads/master | 2021-05-29T18:04:37.151823 | 2014-10-18T23:09:44 | 2014-10-18T23:09:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,086 | cc | #include "led-matrix.h"
#include "graphics.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
using namespace rgb_matrix;
int main(int argc, char *argv[]) {
int rows = 32;
int chain = 1;
int x_orig = 0;
int y_orig = 0;
rgb_matrix::Font font;
font.LoadFont("fonts/4x6.bdf");
GPIO io;
if (!io.Init()... | [
"fivepercentjuice@gmail.com"
] | fivepercentjuice@gmail.com |
36d6d2c98b792e91092f988a125b1dd62fd51b8c | 1206e9479da1fdbdcb1f15b43b1853206a749756 | /esempi/snippets/lettura_servo_ch_pulse/lettura_servo_ch_pulse.ino | 269db74abcdb3c02e7e0d4e7a244bb2f730e9f5e | [
"LicenseRef-scancode-public-domain"
] | permissive | eaman/aerei_arduino | 87cb0afe75531868c753e43749dab5fe513f8866 | f49edc56a746b01b1d632f20438dc1948d081786 | refs/heads/master | 2021-01-23T05:24:12.402629 | 2017-03-15T17:00:45 | 2017-03-15T17:00:45 | 92,966,642 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,295 | ino |
/* Lettura di un canale servo della RX
Lettura tramite la funzione pulsein
Utilizzabile su qualunque PIN
Il codice e' blocking fin tanto che il segnale passa da RISE a FALL
quindi blocca per 1-2ms a ogni esecuzione.
Il segnale dalla rx dovrebbe essere ~50hz,
vedere questo sketch $_millis con le... | [
"andrea@piffa.net"
] | andrea@piffa.net |
d32324e8e45787e8f3e853cfc3f859ce3d4025bc | 7fc36ba6c0a938d18d248097ac124e5f0682376d | /Assignments/A2/Gaddis_8thEd_Chapter3_Problem24/main.cpp | 02a557bb8407a2f3d074cecd7e5099984e947e99 | [] | no_license | abdulabbas/CSC-5 | 37f44b4add2d4b71f67491419acde0697aa672d1 | 30203e3a53d8f9cc1ec6526124ea94d14094f28d | refs/heads/master | 2021-05-04T10:42:52.842156 | 2016-10-30T03:25:35 | 2016-10-30T03:25:35 | 53,756,896 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,067 | cpp | /*
* File: main.cpp
* Author: Abdul-Hakim
* Created on July 4, 2015, 8:39 PM
*/
#include <cstdlib>
#include <string>
#include <iostream>
#include <iomanip>
using namespace std;
//User Libraries
//Global Constants
//Function Prototypes
//Execution Begins Here!
int main(int argc, char** argv) {
//Declare the va... | [
"abdulhabbas@live.com"
] | abdulhabbas@live.com |
bbebb99ce730c5575f0e9a046600798acc655994 | 5cf04a4324110ace538302aaa8484a05f09f0d9c | /Sourcecode/mx/core/elements/StaffDistance.h | 7a3b91a5dfb04822f370ba953fe1e9ff03d6819b | [
"MIT"
] | permissive | jsj2008/MusicXML-Class-Library | ebce53a1d1fea280141c84b62b232c3395ad0eb6 | 079c4b87835cc9942c052571d7ee3ebfdb91fa31 | refs/heads/master | 2020-05-31T16:05:09.402234 | 2017-03-10T23:02:09 | 2017-03-10T23:02:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,520 | h | // MusicXML Class Library
// Copyright (c) by Matthew James Briggs
// Distributed under the MIT License
#pragma once
#include "mx/core/ForwardDeclare.h"
#include "mx/core/ElementInterface.h"
#include "mx/core/Decimals.h"
#include <iosfwd>
#include <memory>
#include <vector>
namespace mx
{
namespace core
{
... | [
"matthew.james.briggs@gmail.com"
] | matthew.james.briggs@gmail.com |
632bb6c7c9176a929606a4156b3991b6d5099edb | 22cc83be4eeaf57399a92c7039bc441edd178a67 | /src/simulation/algorithm/fine_particles/warren_spring_curve.cpp | 3e1ae32a2d3cb4aa1dfa170af073720a3cd36102 | [
"WTFPL"
] | permissive | dearshuto/ParticleBasedSimulation | 0703c12df4c266b267dd6e470fb04abb72f93d64 | 75f7f7454e39f8ed4b970a94d261385cb03b3e15 | refs/heads/master | 2022-03-03T20:57:29.036506 | 2017-02-10T02:55:33 | 2017-02-10T02:55:33 | 78,620,264 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,265 | cpp | //
// warren_spring_curve.cpp
// CubicFineParticleSimulation
//
// Created by Shuto on 2016/09/27.
//
//
#include <cmath>
#include "particle_based_simulation/simulation/algorithm/fine_particles/warren_spring_curve.hpp"
double fj::WarrenSpringCurve::compute(const double x)const
{
const auto& kParameter = getPar... | [
"shuto.shikama@fj.ics.keio.ac.jp"
] | shuto.shikama@fj.ics.keio.ac.jp |
5c8a3e7add301fde8f39f5416dada697ae9e9baf | 56ade096db1fe376ee43d38c96b43651ee07f217 | /044. Wildcard Matching/C++/Solution.cpp | 904322cec35a2bae679fbb861de680cf4fc08407 | [] | no_license | xiaole0310/leetcode | c08649c3f9a9b04579635ee7e768fe3378c04900 | 7a501cf84cfa46b677d9c9fced18deacb61de0e8 | refs/heads/master | 2020-03-17T05:46:41.102580 | 2018-04-20T13:05:32 | 2018-04-20T13:05:32 | 133,328,416 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 748 | cpp | class Solution {
public:
bool isMatch(string s, string p) {
int lengthS = s.length();
int lengthP = p.length();
vector<vector<bool>> dp(lengthS + 1, vector<bool>(lengthP + 1, false));
dp[0][0] = true;
for (int j = 1; j <= lengthP; j++) {
dp[0][j] = dp[0][j - 1] &&... | [
"zhantong1994@163.com"
] | zhantong1994@163.com |
5396d70dbc3b6d402f8371eb8d8c4f4722d54362 | fafa6b62318af71162a9da784d28b2c8c41049f2 | /src/dfa/tag_history.h | 497c88dd1ba300897253ba0c5b8f96713bdff701 | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain"
] | permissive | dayfox5317/re2c | f4d3d52b68dd0d5c9dc1baaa49ce29a30cab746c | f8aad4ebd098c31aca82d32f9115facd7d56433e | refs/heads/master | 2020-04-29T14:44:26.331742 | 2019-03-08T07:21:49 | 2019-03-08T07:21:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,786 | h | #ifndef _RE2C_DFA_TAG_HISTORY_
#define _RE2C_DFA_TAG_HISTORY_
#include <stddef.h>
#include "src/util/c99_stdint.h"
#include <sys/types.h>
#include <map>
#include <vector>
#include "src/regexp/tag.h"
#include "src/util/forbid_copy.h"
namespace re2c
{
typedef int32_t hidx_t;
typedef std::vector<tag_info_t> tag_path_t... | [
"skvadrik@gmail.com"
] | skvadrik@gmail.com |
e1856dcc94570e96712aa51dc0a51fc81a736108 | cf8ddfc720bf6451c4ef4fa01684327431db1919 | /SDK/ARKSurvivalEvolved_PrimalItem_WeaponMiningDrill_functions.cpp | 58558f4f90b9b8ca1ac6a92e47ea0acb68d8055b | [
"MIT"
] | permissive | git-Charlie/ARK-SDK | 75337684b11e7b9f668da1f15e8054052a3b600f | c38ca9925309516b2093ad8c3a70ed9489e1d573 | refs/heads/master | 2023-06-20T06:30:33.550123 | 2021-07-11T13:41:45 | 2021-07-11T13:41:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,137 | cpp | // ARKSurvivalEvolved (329.9) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "ARKSurvivalEvolved_PrimalItem_WeaponMiningDrill_parameters.hpp"
namespace sdk
{
//---------------------------------------------------------------------------
//Functions
//-----------------------------------------------------... | [
"sergey.2bite@gmail.com"
] | sergey.2bite@gmail.com |
2eb1bf45aab62aa3bde7b420b1201bd6d265d75f | cc88d733d3d1783c19530eee545c568836c197e0 | /server/include/chilkat/CkZipW.h | 48b9b9518aaeefed1b4752b9402c2558a4d434b9 | [
"Apache-2.0"
] | permissive | SKKU-Tizen-SecBTKey/FrameworkVirtualKeyboard | e9069dcb622d58fea087190cfe1bfd08387fc030 | 6962d4ef499e333f53bb25bed5ef0fe9c48be717 | refs/heads/master | 2016-09-06T12:43:00.897916 | 2015-06-09T16:45:24 | 2015-06-09T16:45:24 | 33,869,404 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 71,943 | h | // CkZipW.h: interface for the CkZipW class.
//
//////////////////////////////////////////////////////////////////////
// This header is generated for Chilkat v9.5.0
#ifndef _CkZipW_H
#define _CkZipW_H
#include "chilkatDefs.h"
#include "CkString.h"
#include "CkWideCharBase.h"
class CkZipEntryW;
cla... | [
"jinmok80@naver.com"
] | jinmok80@naver.com |
e4e513862b1c0e9a615a28ffcb0ece49adc33859 | a1d319f22634908f4fb31ac7c2a21f66225cc991 | /Shared/cpp/range-v3/include/range/v3/algorithm/mismatch.hpp | 7d8382e26c9ee606ba56921be77973073cd85336 | [] | no_license | sdl-research/sdl-externals | 2ee2ae43a5d641cc0e2c0a7c642f48d15f32fbeb | 56459e0124eadf38ff551494b81544cb678a71d7 | refs/heads/master | 2021-01-17T15:06:59.783100 | 2016-07-10T06:40:45 | 2016-07-10T06:40:45 | 28,290,682 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,856 | hpp | /// \file
// Range v3 library
//
// Copyright Eric Niebler 2014
//
// Use, modification and distribution is subject to the
// Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
// Project home: https://github.com/ericniebler/range-v... | [
"graehl@gmail.com"
] | graehl@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.