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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3d1e24bd1b8b6bafef08b3c3d0e5353961a02a10 | 163210f1d81b75a12241976917ab086e3a16509d | /Classes/Scene/PreGameScene.h | d9da024fd16bc723b91161538fd410e648adb922 | [] | no_license | lshain/HeroTalk | 1049ec47fc29b4b413e62876e165f6e9104b2929 | a1d23c312cf41be3e26b1c7d4c06bd8a4b785178 | refs/heads/master | 2021-01-18T07:48:12.116021 | 2015-08-07T15:41:38 | 2015-08-07T15:41:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 797 | h | #ifndef PreGameScene_scene
#define PreGameScene_scene
#include "cocos2d.h"
#include "LevelNode.h"
#include "ui/CocosGUI.h"
class PreGameScene : public cocos2d::Layer
{
public:
// there's no 'id' in cpp, so we recommend returning the class instance pointer
static cocos2d::Scene* createScene(LevelNode* node);
... | [
"you@example.com"
] | you@example.com |
a0742dabab2eee3c157ff3c13bede49466f9b5b2 | e6cd763cd6f611f56f338cd06365e0fdf536d4c7 | /sclib/src/SC_BaggenstossEM.h | dfdd4790036703db68fd5fcefb0c56843fb751e3 | [] | no_license | stdm/time_model | 1f732b85d64eeff006ff103d096081da5ae1383d | 0ac567d18b98e636eba3f5b63a27069eea00ee52 | refs/heads/master | 2021-08-22T23:16:22.977678 | 2017-12-01T16:09:44 | 2017-12-01T16:09:44 | 112,759,438 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,209 | h | /**************************************************************************/
/* Derived from: */
/* - */
/* */
/* Responsibility: */
/* - implementations of P.M.Baggenstoss' en... | [
"stdm@zhaw.ch"
] | stdm@zhaw.ch |
f9368354f01adf6f45735662099dfe05e058ba62 | ae840e20b19056a8712844e1331dd3b5cf0937aa | /MiniSlam/MiniSlam/System.cpp | f020f2dbe3fee220990c190680b1aaea8c9094ee | [] | no_license | wchen61/MiniSlam | ed715c2fdcfa0b8504b33e214195479517502276 | 87d03d332fada932e95aebda55c4255b7f74b914 | refs/heads/master | 2021-09-16T21:38:34.874127 | 2018-06-25T11:50:11 | 2018-06-25T11:50:11 | 109,693,084 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,207 | cpp | //
// System.cpp
// MiniSlam
//
// Created by weiwu.cww on 2017/11/12.
// Copyright © 2017年 weiwu.cww. All rights reserved.
//
#include "System.hpp"
#include <opencv2/core/core.hpp>
#include <opencv2/imgproc/imgproc.hpp>
using namespace cv;
namespace MiniSlam {
System::System() : mPubFrame(false), mFirstPubTim... | [
"183351030@qq.com"
] | 183351030@qq.com |
509a404eef7a3192988e8e9f00b3bfbd096f79f0 | 11bb2fbebc41cbbdb8c72e2cf21688dae53dbb2f | /ArduinoLibraries/LinearDeltaCom/LinearDeltaCom.h | 62ee9f1b59374bc2381187cc6d10758d97a9d0ed | [] | no_license | RThardware/HorizontalLinearDelta | 02d1fd9db5e21afa8e83f4605ab5ee128d433b29 | 9cd2f9415a3849b1fb0c8631e6fd792ac8dad193 | refs/heads/master | 2020-05-18T09:11:37.173176 | 2014-05-09T14:29:28 | 2014-05-09T14:29:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,702 | h | // LinearDeltaCom.h
// Written by Michael Pauly
// Version 1.1
// Latest Revision May 4, 2014
// This library contains the functions necessary to map callbacks to the LinearDelta library.
// It uses ASCII communication to parse the following formatted commands:
//
// Input Associated Callbacks
// -------------... | [
"paulyml@rose-hulman.edu"
] | paulyml@rose-hulman.edu |
fc26f4bb34555ee8081e7e2f7794f3a3ad26846f | 8a71e93f6dcda2428999143370d5fe4219327d3f | /solutions/fgYrmYBp.cpp | ac365c3a9747496e3d78c500dac0901626da56f5 | [
"MIT"
] | permissive | randauto/cpp-solutions | 21dce36fd4e10dbea3945d37be0cb2510210d446 | 627397fb887654e9f5ee64cfb73d708f6f6706f7 | refs/heads/main | 2023-09-02T11:15:20.336637 | 2021-11-18T01:03:00 | 2021-11-18T01:03:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,675 | cpp | /*
Sưu tầm bởi @nguyenvanhieuvn
Thực hành nhiều bài tập hơn tại https://luyencode.net/
*/
#include<stdio.h>
#include<conio.h>
#include<math.h>
#define MAX 100
void NhapMaTran(int a[][MAX], int &n)
{
do
{
printf("\nNhap n: ");
scanf("%d", &n);
if(n <= 1 || n > MAX)
{
... | [
"hieunv.dev@gmail.com"
] | hieunv.dev@gmail.com |
55c515a1f2b161dde86838d6171130a18753d8bc | 3fc19c271eca0fbbb423aae28cb0ef53c0c3a291 | /codeforces/1466/D.cpp | 19edfb3348dc851a223ea469613a2717f25995bc | [] | no_license | tstanvir/mySolutionRepo | 09373dccc86ac8a6d1992a6761a81b98035a8977 | 0b635d689424bc8f55f0efd54ed028638d81a0e2 | refs/heads/master | 2023-08-11T01:53:53.320511 | 2021-05-22T18:06:00 | 2021-09-14T15:18:55 | 353,521,176 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,171 | cpp | /// Bismillahir Rahmanir Rahim
//Author: Tanvir Hussain
//ICE,NSTU
#include<bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
using namespace __gnu_pbds;
using namespace std;
const long long MOD = 1000000007;
const double rad=(acos(-1)/180.00);
#define IOS ios::sync_with_stdio... | [
"tanvirshossain0@gmail.com"
] | tanvirshossain0@gmail.com |
9c2ac38bae6f4711f2c999d7cffe32123cb88861 | a3cc4d27cb5ad6a21e63d5a5c6a41c0cacefedde | /tests/TestToken.cpp | 0ada0b4bd4f601a63571d00b06ccf920ce952a61 | [] | no_license | thomasebsmith/fleet | 424bd9ca405ea92c1f73eee738386493a1a34b11 | 1ae7c0dd6b091311d3e17db5d261a3c565ca963e | refs/heads/master | 2021-06-21T13:39:49.739275 | 2020-12-09T04:54:29 | 2020-12-09T04:54:29 | 151,968,882 | 10 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,672 | cpp | // File: tests/TestToken.cpp
// Purpose: Source file for the TestToken test set.
#include <string>
#include "Tester.hpp"
#include "TestToken.hpp"
#include "Token.hpp"
// Function declarations
void createToken();
void getValue();
void setValue();
void getType();
void setType();
void checkEquality();
void checkGrouper()... | [
"thsm@umich.edu"
] | thsm@umich.edu |
ccc70fcfc86e565b41534ea435cb5ee9a430ec56 | a30371357857195bc421bb14f55774cf02839783 | /ManuvrOS/XenoSession/Manuvr/XenoManuvrMessage.cpp | f44724b3efa648bd8c0e94f8e76f5cf268911077 | [
"Apache-2.0"
] | permissive | jspark311/ManuvrOS | 4f646867b4334aa4134fabd2eaa667fb2339eda0 | 35f241ed0e1aa1d5abd1211cdee2cc4502303b53 | refs/heads/master | 2021-01-23T19:29:54.196320 | 2017-09-09T05:39:59 | 2017-09-09T05:39:59 | 57,365,724 | 3 | 0 | null | 2016-04-29T07:43:32 | 2016-04-29T07:43:32 | null | UTF-8 | C++ | false | false | 18,423 | cpp | /*
File: XenoManuvrMessage.cpp
Author: J. Ian Lindsay
Date: 2014.11.20
Copyright 2016 Manuvr, Inc
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0... | [
"josh.lindsay@gmail.com"
] | josh.lindsay@gmail.com |
85d83beab128bdb1618df8cf925b2041a628fa34 | d19ec44aeeba2cf891d88c9914a6899dd5bcbcd5 | /Model/GameModel.cpp | cb21e166f9502ab136d065b7a59457bf85729802 | [] | no_license | matthewchiborak/SudsyHD | f06b99add089cca8db4482d79f83e6523ff397ba | e811d33455300a730ecd5d9a8c41aa830ac163e9 | refs/heads/main | 2023-07-16T17:02:42.790226 | 2021-08-29T02:02:23 | 2021-08-29T02:02:23 | 392,882,464 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 475 | cpp | #include "GameModel.h"
GameModel::GameModel(ILevelFactory& levelFactory)
: IGameModel(levelFactory)
{
}
void GameModel::move(const Point direction)
{
this->state.get()->move(direction);
}
void GameModel::interact()
{
this->state.get()->interact();
}
void GameModel::advance()
{
this->state.get()->advance();
}
... | [
"matthewchiborak@hotmail.com"
] | matthewchiborak@hotmail.com |
5724ee4b6ef90eedc2d07961824ccb66fc3cffef | 4daa015d45c62feff3808d0bd18b2e16fab02e4f | /examples/print_platform/main.cpp | d9d25af6d9cbe8763a78003c4370af9ab3e66f90 | [
"BSD-3-Clause"
] | permissive | steinwurf/platform | 41b1ff05445858265e324560e8dcf172d7474c20 | 89ee6e96dbfd90b0acd1deb917bbb6ba44023029 | refs/heads/master | 2023-08-31T14:52:49.764298 | 2023-08-23T07:41:17 | 2023-08-23T07:41:17 | 17,145,269 | 19 | 5 | NOASSERTION | 2023-06-22T11:25:48 | 2014-02-24T17:58:48 | C++ | UTF-8 | C++ | false | false | 9,320 | cpp | // Copyright (c) 2013 Steinwurf ApS
// All Rights Reserved
//
// Distributed under the "BSD License". See the accompanying LICENSE.rst file.
#include <iostream>
#include <platform/config.hpp>
int main()
{
std::cout << "PLATFORM_LINUX ";
#if defined(PLATFORM_LINUX)
std::cout << "1";
#else
std::cout << "0"... | [
"jpihl08@gmail.com"
] | jpihl08@gmail.com |
e10ad606745fdeb7ffad791a58aaaf2a2391f78b | 9a3b4683bc7ea44fe4c222861066daf5d96a6ff8 | /final/include/ui/sensor/Sensor.h | 52b4bd80d970d1aa8c1c0232f5b01524da4e40ce | [] | no_license | theo-kim/game-design | fb1b701232173d98c94663a0b768a4387e90e8a5 | 1d33744b1fa9e955724299cc5d39435d24c9d2b5 | refs/heads/master | 2020-07-30T11:29:33.585982 | 2020-01-28T20:24:09 | 2020-01-28T20:24:09 | 210,213,203 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 265 | h | #ifndef SENSOR_DEF
#define SENSOR_DEF
#include "standard.h"
#include "ui/transformation/Transformation.h"
class Sensor {
public:
Sensor(Transformation position);
int Check(Sensor *other);
private:
Transformation position;
};
class SensorState {
};
#endif | [
"tk1931@nyu.edu"
] | tk1931@nyu.edu |
04b3f9c8dce4a4c4ece10bcbe401ec81c23ad69a | 0969a99e1c037421abff66940a3f971cc9706d19 | /core/include/utility.h | 16cf772adb03a3411fc9fdc93adeabcce046e433 | [
"Apache-2.0"
] | permissive | Champii/SourcetrailDB | a651733b7af7dbc9daa39e35e9af8015b9fa5e8d | 2cf447281a2457b0b4755efe3fd9b7b519a12056 | refs/heads/master | 2020-09-13T10:42:32.696442 | 2019-11-20T05:01:27 | 2019-11-20T05:01:27 | 222,746,005 | 1 | 0 | Apache-2.0 | 2019-11-19T16:58:12 | 2019-11-19T16:58:12 | null | UTF-8 | C++ | false | false | 970 | h | /*
* Copyright 2018 Coati Software KG
*
* 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 writ... | [
"malte.langkabel@gmail.com"
] | malte.langkabel@gmail.com |
18de220601d633229e86fd9cdfc682dfa170e368 | 1b59754b9c26e19626a2498c4f4d0fa5015c1575 | /src/node.h | 60a50b27028b81e1b010b35e4726cee520d7caec | [] | no_license | zephinzer/Graphs-ADT | 05da85a17acae4dbb9e71ba48391f6a311547e8e | 5aaeb3254030c1d5c7bf82d6da66204181d5e13b | refs/heads/master | 2016-09-03T01:11:43.129135 | 2014-04-18T05:42:37 | 2014-04-18T05:42:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,053 | h | /**
node.h
this file specifies the Node ADT
author: zeph|nzer aka Joseph Matthias Goh
website: http://zephinzer.sg
github: https://github.com/zephinzer
**/
#ifndef Z_NODE_H
#define Z_NODE_H
#include <sstream>
#include <string>
template <class T>
class Node {
T value;
Node* next;
public:
Node();
Node(T valu... | [
"zephinzer@gmail.com"
] | zephinzer@gmail.com |
0afdc40da819fc4c4b5490cabc8251a9d2e9d35b | 8fdd170d3e39fd4eeffea5ec2d61bd0c06eab16f | /1_Manager/xPLduino-Manager/bin/Debug/Firmware/xplduino_controller_RF/eth_com.cpp | 72fb33a53c8ae413cf9b838650dd659099a46ba7 | [] | no_license | TheGrumpy/xPLduinoProject | 6fc07b3cc1ecaa726f07ec7b72eb0c9ef35c1885 | 35a4fa354d9052a79b4f9d2baebe2ea536b890bd | refs/heads/master | 2020-05-30T11:00:21.467230 | 2015-06-30T13:02:03 | 2015-06-30T13:02:03 | 24,757,977 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,044 | cpp | #include <Eth_com.h>
#include <xPL.h>
#include <EtherCard.h>
#include <Arduino.h>
#include <xPL_Message.h>
#include "config.h"
#include "WebServerSD.h"
#ifdef WITH_LIGHTING
#include "lighting_xpl.h"
#endif
#include "shutter_xpl.h"
#include "switch_xpl.h"
#include "temperature_xpl.h"
#define ETH_COM_VERSION 2
// v1... | [
"braveheart87@hotmail.fr"
] | braveheart87@hotmail.fr |
95cd31f16e5193de309918b35f29a9b994a92061 | 5e7e5ebfc9385b07995bee5654fafd5d91696ef4 | /Pong/include/Ball.h | 69a62307c89342080ebd58d76a69b1468e201465 | [] | no_license | Zephiranos/Pong | 346068ca35b1ea064f2fb2ea901db21f69afbe34 | bab8705e9f100c0e9e12306b03794d61619491aa | refs/heads/master | 2021-01-11T19:18:50.060887 | 2017-01-18T15:18:33 | 2017-01-18T15:18:33 | 79,335,250 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 768 | h | #pragma once
///
// Ball class header
//
///
#ifndef _BALL_H_
#include "Point.h"
#include "SDL.h"
class Ball
{
private:
int m_resetX;
int m_resetY;
int m_X;
int m_Y;
int m_Width;
int m_Height;
int m_dX;
int m_dY;
int m_speedLaunch;
int m_speedMax;
//Control class copy
Ball(const Ball & ball);
Ball &... | [
"nicolas.z.bordes@gmail.com"
] | nicolas.z.bordes@gmail.com |
ba058452d1b5d09c247caa93fdcadd3c2476e116 | b97469c73de4198dfcac2f4ce4b263f032b4f7e1 | /glfwApp/glfwApp.cpp | bcddd423c8c05507cfefe65ba2de647eac4d8fa8 | [
"MIT"
] | permissive | jianbinghuang/CppOpenGLWebAssemblyCMake | 8f2b2e57304629c54708bb95f0cc5517eadb5683 | 5a3d7f474a3c1ad5f776bb9a2f51ab4a817f4e6b | refs/heads/master | 2022-04-16T15:10:47.606029 | 2020-02-17T02:28:23 | 2020-02-17T02:28:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 28,320 | cpp | #include "glfwApp.h"
#include <galaga/Frame.h>
#include <galaga/ScreenDevice.h>
#include <array>
#include <chrono>
#include <iostream>
#include <map>
#include <thread>
#if defined(EMSCRIPTEN)
#include <emscripten.h>
#include <emscripten/bind.h>
#endif
#include "GameStateTracker.h"
#include "galaga/Galaga... | [
"681992+lukka@users.noreply.github.com"
] | 681992+lukka@users.noreply.github.com |
3d700d9545cbb4f6eca543a038eb3e22576c6cf8 | 5b8f110384e866d8d04af48daab3f3ef49946b3e | /Utilities/inputdlg.cpp | d09d213aa2ef037ba78a49530da22d4bfdd000b9 | [] | no_license | towhee/Winnow64 | 1ddc5fdcc860635a297f23a089780443a57e758c | 4976cb60a5cbeb50bf32d0bbd069dad62cd3e309 | refs/heads/master | 2023-08-25T19:36:16.286438 | 2023-08-24T21:04:40 | 2023-08-24T21:04:40 | 48,884,756 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,504 | cpp | #include "inputdlg.h"
#include "ui_inputdlg.h"
#include <QDebug>
InputDlg::InputDlg(QString windowTitle,
QString description,
QString &input,
QStringList &doNotUse,
QWidget *parent) :
QDialog(parent),
ui(new Ui::InputDlg),
input(in... | [
"hillrg@hotmail.com"
] | hillrg@hotmail.com |
ddb8f7e7106f3fee8f6a5f442d78f223a968adbd | 58042988f4737b66a4208722edb0c39ac617e33c | /libraries/L3GGyroscope/L3GGyroscope.cpp | f30d4d32ca9f997586fdacfa968a477189cb9e25 | [] | no_license | rcywongaa/FYP_Client | ac29d329d82128f6805019b75dfd55482f5dab86 | d00246ff2de1d122251dfa10cf352a12dbe4e968 | refs/heads/master | 2016-09-11T00:36:18.859564 | 2015-05-08T16:51:39 | 2015-05-08T16:51:39 | 24,409,403 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,732 | cpp | #include "L3GGyroscope.h"
#define ALPHA 1
Gyroscope::Gyroscope():I2CDevice(){
addr = 0x69;
}
Gyroscope::Gyroscope(uint8_t sdaPin, uint8_t sclPin):I2CDevice(sdaPin, sclPin){
addr = 0x69;
}
void Gyroscope::init(){
ByteWrite(addr, 0x20, 0xFF);
ByteWrite(addr, 0x21, 0x00);
ByteWrite(addr, 0x22, 0x00);
ByteWrite(a... | [
"rcywongaa@gmail.com"
] | rcywongaa@gmail.com |
b4b76b1e8a68bad9b824c31fe79c8dbe93166ba4 | 08042519aa130c823317bc6c05a6bc04b518e82f | /source/4.4.cpp | 43c74132af6625b95c4048dc8f86bcbc0130802a | [] | no_license | xuyoujun/leetcode | a49ecbae75646c4a942b0e3146b8fcc35c0aeebf | 8dac14f876671d78a3a3155fab719e83a248766c | refs/heads/master | 2021-01-10T01:19:47.131490 | 2016-04-06T06:15:54 | 2016-04-06T06:15:54 | 43,555,059 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,195 | cpp | // 4.4.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include<stdio.h>
#include<stdlib.h>
#include<ctype.h>
int Evaluate_Reverse_Polish_Notation(char **, int len);
int main()
{
char *exp[] = { "2","1","+","3","*" };
printf("%d\n", sizeof(exp)/sizeof(char *));
//printf("%d\n", E... | [
"smallpen@mail.ustc.edu.cn"
] | smallpen@mail.ustc.edu.cn |
e8877149d0ecb5a00af3483fa993ee1c733969a3 | cde72953df2205c2322aac3debf058bb31d4f5b9 | /win10.19042/SysWOW64/kbdibm02.DLL.cpp | 9c686be64df98d097bf6712aa8dc07627f225b61 | [] | no_license | v4nyl/dll-exports | 928355082725fbb6fcff47cd3ad83b7390c60c5a | 4ec04e0c8f713f6e9a61059d5d87abc5c7db16cf | refs/heads/main | 2023-03-30T13:49:47.617341 | 2021-04-10T20:01:34 | 2021-04-10T20:01:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 191 | cpp | #print comment(linker, "/export:KbdLayerDescriptor=\"C:\\Windows\\SysWOW64\\kbdibm02.DLL\"")
#print comment(linker, "/export:KbdNlsLayerDescriptor=\"C:\\Windows\\SysWOW64\\kbdibm02.DLL\"")
| [
"magnus@stubman.eu"
] | magnus@stubman.eu |
147a45f1b6c2ad5b6c06f3841ee766e187b2ffb6 | b37d65854f9d0795580d4374dcf98f40a2840b98 | /src/ds/triple.hpp | 26f8ddfef1fe41f6923f827c40c42a104f9c9d9f | [
"BSD-3-Clause"
] | permissive | hmofrad/Graphite | c089389ee88cff3a4ad7fa967b1782cd954fadc1 | eff39ab81d7aa8d718e06be1dffdf234e2834f29 | refs/heads/master | 2021-07-10T20:31:51.228944 | 2020-07-06T01:22:10 | 2020-07-06T01:22:10 | 168,009,534 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,732 | hpp | /*
* triple.hpp: Triple data structure implementation
* (c) Mohammad Hasanzadeh Mofrad, 2019
* (e) m.hasanzadeh.mofrad@gmail.com
*/
#ifndef TRIPLE_HPP
#define TRIPLE_HPP
template <typename Weight, typename Integer_Type = uint32_t>
struct Triple {
Integer_Type row;
Integer_Type col;
Weight ... | [
"m.hasanzadeh.mofrad@gmail.com"
] | m.hasanzadeh.mofrad@gmail.com |
6ec4ffaf7d5e1587e4afecdafab924cf5c2793f8 | 2e46458d931aa6be39ecd9712f62a9311106c017 | /exam2/week4/findMedian.cpp | fcf57b1d400dea2bfc79916de31776cfef4ff515 | [
"MIT",
"LicenseRef-scancode-other-permissive"
] | permissive | WeiChienHsu/CS165 | 9448fb1731e698b5078e1dd76f62ad51481f2a2c | 65e95efc90415c8acc707e2d544eb384d3982e18 | refs/heads/master | 2020-03-08T12:48:24.158676 | 2019-01-06T22:33:12 | 2019-01-06T22:33:12 | 128,137,823 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 742 | cpp | #include <iostream>
void bubbleSort(int *arr, int size) {
for(int i = 0; i < size; i++) {
for(int j = 0; j < size - 1; j++) {
if(arr[j] > arr[j+1]) {
int temp = arr[j];
arr[j] = arr[j+1];
arr[j+1] = temp;
}
}
}
}
double findMedian(int *arr, int size) {
bubbleSort(arr,... | [
"weichien711@gmail.com"
] | weichien711@gmail.com |
31f4e023a3ca07541eab9b8dcfcb1ee186218653 | 164e709dcf03ce4769c3ba8f874da0666c35bc03 | /include/RtTpsRenderLibrary/tps_rl_antialiased_circle_painter.h | 80ece4b231b1cbdd2a086c7b82dd3130a03bb33d | [] | no_license | liq07lzucn/tps | b343894bcfd59a71be48bd47d6eff6e010464457 | a3be6dc50c5f9a2ff448ecff3f5df1956e26ad4f | refs/heads/master | 2021-06-23T16:35:01.349523 | 2017-08-30T08:09:02 | 2017-08-30T08:09:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,753 | h | ////////////////////////////////////////////////////////////////
/// Copyright (c) Shanghai United Imaging Healthcare Inc., 2014
/// All rights reserved.
///
/// \author GONG Maoliang maoliang.gong@united-imaging.com
///
/// \file tps_rl_antialiased_circle_painter.h
///
/// \brief class AntialiasedCirclePaint... | [
"genius52@qq.com"
] | genius52@qq.com |
20004f1fc57e0440c5567f351244157ff5fe7f1a | b9a78610b06b0836b9a2ea796d45587c9c1267d5 | /Aula15/15-01/exercicio1.inl | d6907cb59761617200923013e5c9e77c33100730 | [] | no_license | wilsonsf/TI-LP1 | ecaf6d0f4af63d509e0f665fd409db194de8c988 | 805333df924f851ec4d873d753294163c3b99da9 | refs/heads/master | 2021-01-10T02:19:42.888987 | 2015-11-25T13:35:46 | 2015-11-25T13:35:46 | 43,001,208 | 0 | 0 | null | 2015-11-25T13:35:46 | 2015-09-23T13:03:23 | C++ | UTF-8 | C++ | false | false | 512 | inl | #include <iostream>
template <typename T>
void preencheArranjo(T &arranjo, int tamanho) {
for (int i = 0; i < tamanho; i ++){
std::cout << "Elemento " << i+1 << ": ";
std::cin >> arranjo[i];
}
}
template <typename T>
void imprimeArranjo(T &arranjo, int tamanho) {
for (int i = 0; i < tamanh... | [
"wilsonsf1@gmail.com"
] | wilsonsf1@gmail.com |
54dd358da8ce8775407edb1075432c2641ab5092 | bbe0fdc391b325ec0ec6cb899f133a2b7ffacd14 | /cs215s17/Lab12/card.cpp | 97b6c96a9074d4ea8f216455fea84a986fc79d9a | [] | no_license | juanm707/SonomaStateCourseWork | fe9795c0c268628a64aafa4643a89426f13f6b34 | 970123554d5ac692547fc3c09faea52670844d60 | refs/heads/master | 2023-05-25T17:56:33.791972 | 2020-05-13T08:14:24 | 2020-05-13T08:14:24 | 263,552,635 | 2 | 0 | null | 2023-05-22T22:19:27 | 2020-05-13T07:09:04 | Python | UTF-8 | C++ | false | false | 1,622 | cpp | #include "card.h"
card::card ()
{
rank = suit = '?';
sortval = 0;
}
card::card (const card & other)
{
rank = other.rank;
suit = other.suit;
sortval = other.sortval;
}
card::~card ()
{
}
card & card::operator = (const card & other)
{
if (this == &other)
return * this;
rank = other.rank;
suit = other.suit;
... | [
"juanm.jm49@gmail.com"
] | juanm.jm49@gmail.com |
a0faea7fd3fdd7fb8d25b432ec6e90ae0b19f9a9 | 087d25fadcd330790dc0254ae74779523d4d182b | /Bomberman/Src/GameObjects/Map.cpp | 6658b840aa6364cd9108298522638284483eec51 | [] | no_license | BenjaminHamon/ClassicBomberman | 1d0932ea5e0b6742fc348c2560fe83bd16c2b783 | f420659f55dd127955880f50a91dc04503abb6c6 | refs/heads/master | 2016-09-15T23:00:14.264797 | 2013-04-10T16:32:04 | 2013-04-10T16:32:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,248 | cpp | #include <Bomberman/Src/GameObjects/Map.h>
#include <Bomberman/Src/Rectangle.h>
#include <Bomberman/Src/Utils.h>
namespace Bomberman
{
Map::Map(const AssetManager& assets)
: GameObject(Rectangle(0, 0, 13 * CellWidth, 13 * CellHeight), 1),
mapWidth_(13),
mapHeight_(13),
cells_()
{
for (int j = 0; j <... | [
"hamon.benjamin@gmail.com"
] | hamon.benjamin@gmail.com |
e0c304ac58fcf00caee2cba7466167e9b6d02c5d | f3d628043cf15afe9c7074035322f850dfbd836d | /codeforces/1538/b/b.cpp | d21bb31fc2babbc5199397fa5d6caed840aab642 | [
"MIT"
] | permissive | Shahraaz/CP_S5 | 6f812c37700400ea8b5ea07f3eff8dcf21a8f468 | 2cfb5467841d660c1e47cb8338ea692f10ca6e60 | refs/heads/master | 2021-07-26T13:19:34.205574 | 2021-06-30T07:34:30 | 2021-06-30T07:34:30 | 197,087,890 | 5 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 801 | cpp | #include <bits/stdc++.h>
using namespace std;
#ifdef LOCAL
#include "/debug.h"
#else
#define db(...)
#endif
#define all(v) v.begin(), v.end()
#define pb push_back
using ll = long long;
const int NAX = 2e5 + 5, MOD = 1000000007;
void solveCase()
{
int n;
cin >> n;
vector<ll> a(n);
for (auto &x : a)
... | [
"shahraazhussain@gmail.com"
] | shahraazhussain@gmail.com |
7499a248b538f9bc3bf43aee56d26e3a3f888e42 | 313709ee499c1440f2e2ba215cd7db45feea8d9a | /Алгоритмы и структуры данных/Лабораторная №6/Unit1.cpp | dfec575c3b7d3f259954119becc3e41a2a3cbaae | [] | no_license | Group2Project/universityLabs | 9c933c62b088d0df2a83945c02ede46c32c16a57 | 0d1a785af937fd0d08750d0725ef8e257ee9fa35 | refs/heads/master | 2021-01-25T04:52:45.092891 | 2015-06-07T13:26:36 | 2015-06-07T13:26:36 | 31,965,191 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 3,778 | cpp | //---------------------------------------------------------------------------
#include <vcl.h>
#pragma hdrstop
#include <ctime>
#include <vector.h>
#include <fstream.h>
#include <math.h>
#include "Unit1.h"
vector<int> hash_tab;
vector<int> source_mas;
//-----------------------------------------------------------------... | [
"dolod@bk.ru"
] | dolod@bk.ru |
9b4b593a835a6e79c8180a32b816e3f0f3684e54 | 1836b579333725b8b38422e8388aea26f8e60201 | /src/choco/choco_test.cpp | e39ad950a11773ec202e0b89653410195f565a1c | [] | no_license | decster/choco | 9c74260672fd07d3e01c0096bacf738cf74471b6 | 640d3f31848952bf65685181fd3f24decabc25df | refs/heads/master | 2022-04-22T02:02:03.298543 | 2020-04-23T02:43:59 | 2020-04-23T02:43:59 | 257,894,521 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 263 | cpp | #include "gtest/gtest.h"
#include "common.h"
int main(int argc, char** argv) {
google::InitGoogleLogging(argv[0]);
google::InstallFailureSignalHandler();
google::LogToStderr();
testing::InitGoogleTest(&argc, argv);
return RUN_ALL_TESTS();
}
| [
"decstery@gmail.com"
] | decstery@gmail.com |
08ffe1b6386f6f93f2288669ba57d0c33146b219 | 8dde89055d9c161a154f9a1970cd2079b575dff2 | /Sparky/src/maths/vec4.h | 3cdead0c2c35ac0cd555372e42754ccfd421b1a0 | [] | no_license | FrazLaw/GameEngine | 1b2ca248869de0f3aed800c448a533aad2c01d70 | 6133a20f0112f260195c4fcf3010e21a7cfe3e91 | refs/heads/master | 2023-01-21T07:13:11.605255 | 2020-12-01T22:05:05 | 2020-12-01T22:05:05 | 310,074,257 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 897 | h | #pragma once
#include <iostream>
namespace sparky {
namespace maths {
struct vec4
{
float x, y, z, w;
vec4();
vec4(const float& x, const float& y, const float& z, const float& w);
vec4& add(const vec4& other);
vec4& subtract(const vec4& other);
vec4& multiply(const vec4& other);
vec4& divi... | [
"fraserlaw95@gmail.com"
] | fraserlaw95@gmail.com |
0143789b15e21d04edc1b9f56d6c2826dd0215df | 9a3f51d2a68d926ac7d69216da9a58fc6f0855cf | /John Welsby Game Lvl Assignment 2009/Lighting UI Skybox Tute starter/zSingleton.h | e8799e2bec1a4aa8fd15d94a38eafb21c13a0d73 | [] | no_license | LogicalUnit/AIE_Portfolio | 7bbe566568cb2f367760da8e846bf1a5ceb9cf9d | 4ee3e431b621f0f8614e2b462b2fba77adc88e39 | refs/heads/master | 2020-06-14T03:23:27.775550 | 2016-12-04T02:47:25 | 2016-12-04T02:47:25 | 75,511,725 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,589 | h | #pragma once
//! The zSingleton class is a template class for creating singleton objects.
/*!
When the static Instance() method is called for the first time, the singleton
object is created. Every sequential call returns a reference to this instance.
The class instance can be destroyed by calling the Des... | [
"john.welsby@gmail.com"
] | john.welsby@gmail.com |
b5eeafd345243709d800c74d4533959d9f66445d | 30bdd8ab897e056f0fb2f9937dcf2f608c1fd06a | /Implementation/2674.cpp | 634c2731b60ae627321b134169c5d735fae85c87 | [] | no_license | thegamer1907/Code_Analysis | 0a2bb97a9fb5faf01d983c223d9715eb419b7519 | 48079e399321b585efc8a2c6a84c25e2e7a22a61 | refs/heads/master | 2020-05-27T01:20:55.921937 | 2019-11-20T11:15:11 | 2019-11-20T11:15:11 | 188,403,594 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,406 | cpp | #include <bits/stdc++.h>
using namespace std;
#define clr(x , v) memset(x , v , sizeof(x))
#define debug(x) cerr << "line" << __LINE__ << ": " << #x << " = " << (x) << endl
#define rep(i, begin, end) for (__typeof(end) i = (begin) - ((begin) > (end)); i != (end + 1) - ((begin) > (end)); i += 1 - 2 * ((begin) > (end)))
... | [
"mukeshchugani10@gmail.com"
] | mukeshchugani10@gmail.com |
26db013b00820261f6d96b5ca08dab834a93b885 | 10c74e341557163d8bab584e079f6f8343c16bf5 | /src/types/std/map.h | 0339f7dba855e861396333e9201ad0b7625e6ede | [
"BSD-2-Clause"
] | permissive | starsnet83/reflect | c2bbbd1ad82c0b3d72167515ecda1b6a136da0ba | af90b130958a884bec071e61a49e1ae1d5b036a2 | refs/heads/master | 2021-01-15T09:52:28.001196 | 2014-05-30T18:28:57 | 2014-05-30T18:28:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,880 | h | /* map.h -*- C++ -*-
Rémi Attab (remi.attab@gmail.com), 20 Apr 2014
FreeBSD-style copyright and disclaimer apply
std::map reflection.
*/
#pragma once
#include "reflect.h"
#include "dsl/basics.h"
#include "dsl/template.h"
#include "dsl/function.h"
#include "dsl/operators.h"
#... | [
"remi.attab@gmail.com"
] | remi.attab@gmail.com |
c3a2cf50e25f8d48de2b46b44e4ae11f95fd6354 | be3736d7c5ca549609d9a46b0b01dd1b7f52c04e | /cmake_public_depend.cpp | 42a2a13a358f1868af31e66cc482e68f3f642f62 | [] | no_license | ally3999/CMaizePublicDepend | acade122f6a339cb5cf5d8ab880d094e469fd8ef | 4846af1d8b344b7e17f7bc9a80101f3dd2624032 | refs/heads/master | 2022-12-30T18:33:01.766568 | 2020-10-21T03:52:47 | 2020-10-21T03:52:47 | 286,499,226 | 0 | 0 | null | 2020-08-10T14:34:55 | 2020-08-10T14:34:54 | null | UTF-8 | C++ | false | false | 130 | cpp | #include "cmake_public_depend.hpp"
#include <cmake_public.hpp>
int call_cmake_public_depend(){
return call_cmake_public()+2;
}
| [
"aafinger@iastate.edu"
] | aafinger@iastate.edu |
d051b52e8a797bb3188a411ec2d4aee4be002cad | 8ad84e8c9ff528394cfaa36120a1f8a37a16f558 | /qt/signal_slot/worker.cpp | c9416df7d61c9e7ed69f89322d1913d175f5a6e7 | [] | no_license | cellist/dev | 30378d031cbf2cc4ca23d8bdcd831679d6417786 | 3b59f54cafb2cfe97ff90caf127e165d866b9280 | refs/heads/master | 2023-08-19T03:43:30.494172 | 2023-08-12T14:43:46 | 2023-08-12T14:43:46 | 1,159,225 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 327 | cpp | #include <unistd.h>
#include <QDebug>
#include "worker.h"
void Worker::doWork(const QString ¶meter) {
qDebug() << "Worker thread commences work.";
QString result = QString::number(sleep(3));
qDebug() << "Worker thread done, sending result ready signal, result is: "
<< result;
emit resultReady(resu... | [
"cellist@squizzy.de"
] | cellist@squizzy.de |
fe0af97a5f3f75439a821a9001940dbc5031dfd4 | 38c10c01007624cd2056884f25e0d6ab85442194 | /components/history/core/browser/visit_database_unittest.cc | 936bb24c0daa10aa833c013aa2c54e2a012ba792 | [
"BSD-3-Clause"
] | permissive | zenoalbisser/chromium | 6ecf37b6c030c84f1b26282bc4ef95769c62a9b2 | e71f21b9b4b9b839f5093301974a45545dad2691 | refs/heads/master | 2022-12-25T14:23:18.568575 | 2016-07-14T21:49:52 | 2016-07-23T08:02:51 | 63,980,627 | 0 | 2 | BSD-3-Clause | 2022-12-12T12:43:41 | 2016-07-22T20:14:04 | null | UTF-8 | C++ | false | false | 22,232 | cc | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <set>
#include <vector>
#include "base/files/file_path.h"
#include "base/files/scoped_temp_dir.h"
#include "base/strings/string_util.h"
#inc... | [
"zeno.albisser@hemispherian.com"
] | zeno.albisser@hemispherian.com |
efa273b2acfccfb1377ab65ef63b78067d8ff3ea | 58f60306f9f5638fbb23ec8b6ff896c191da48d4 | /3rd_party/asio/src/tests/unit/serial_port_base.cpp | 3949761a02ba3302c5a36c572a239c0d0c30b5be | [
"BSL-1.0",
"MIT"
] | permissive | mojmir-svoboda/BlackBoxTT | 650cd9da608a9909da32dc88a362affe3df50320 | 0c87b989827107695538e1bf1266c08b083dda44 | refs/heads/master | 2021-01-23T22:00:11.999135 | 2018-01-04T20:54:42 | 2018-01-04T20:54:42 | 58,350,784 | 11 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 2,795 | cpp | //
// serial_port_base.cpp
// ~~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2015 Christopher M. Kohlhoff (chris at kohlhoff dot com)
// Copyright (c) 2008 Rep Invariant Systems, Inc. (info@repinvariant.com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or cop... | [
"mojmir.svoboda@flogging.berlios.de"
] | mojmir.svoboda@flogging.berlios.de |
f9fda6c646b5702d720e807053eabb459d793d90 | bd1fea86d862456a2ec9f56d57f8948456d55ee6 | /000/108/131/CWE590_Free_Memory_Not_on_Heap__free_char_alloca_72a.cpp | 13cc8f26c20083be07f59024edcbdbba7f0a3625 | [] | 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 | 3,176 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE590_Free_Memory_Not_on_Heap__free_char_alloca_72a.cpp
Label Definition File: CWE590_Free_Memory_Not_on_Heap__free.label.xml
Template File: sources-sink-72a.tmpl.cpp
*/
/*
* @description
* CWE: 590 Free Memory Not on Heap
* BadSource: alloca Data buffer is allocated on... | [
"frank@fischer.com.mt"
] | frank@fischer.com.mt |
732b298316f9631e151dfba4d819d6fe9672daae | bd28405fc99ddebb04739e4be8f4fa79fb83a94d | /proj05/List.h | 527a06251c4125ba9d4f87f5fac2777eb0582a92 | [] | no_license | aafabiano01/cs112 | 8d2747a5eb1f4328791e4773f38b9dad0a935f87 | 815677e03d68dc72505877c94c8c42e416a8b542 | refs/heads/master | 2021-01-15T03:15:43.428670 | 2020-02-24T22:51:17 | 2020-02-24T22:51:17 | 242,860,494 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,710 | h | /* List.h declares and defines methods
* Student Names: Benedict Jojo Arthur (TM 1) & ALexander Fabiano (TM 2)
* Date:10/14/2019
* Proj 05
*
*/
#ifndef LIST_H_
#define LIST_H_
#include <iostream>
#include <stdexcept>
#include <cassert>
#include <string>
#include <sstream>
#include <fstream>
#include <cstdlib>
u... | [
"aaf25@maroon21.cs.calvin.edu"
] | aaf25@maroon21.cs.calvin.edu |
5f344d04ee3abdd4064cbeb555d8b767e232645e | 08b8cf38e1936e8cec27f84af0d3727321cec9c4 | /data/crawl/squid/old_hunk_3740.cpp | 03411b71599aad19052264c2c0af4d05555c9592 | [] | no_license | ccdxc/logSurvey | eaf28e9c2d6307140b17986d5c05106d1fd8e943 | 6b80226e1667c1e0760ab39160893ee19b0e9fb1 | refs/heads/master | 2022-01-07T21:31:55.446839 | 2018-04-21T14:12:43 | 2018-04-21T14:12:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 221 | cpp | const String host = s.cfg().host;
buf.Printf("Host: " SQUIDSTRINGPH ":%d\r\n", SQUIDSTRINGPRINT(host), s.cfg().port);
buf.append(ICAP::crlf, 2);
}
void Adaptation::Icap::OptXact::handleCommWrote(size_t size)
| [
"993273596@qq.com"
] | 993273596@qq.com |
1c9f8819d418c75e1ad595221147ae565ea47995 | 3aff7156207d7207ae84ff3870487509fa4a7ff5 | /sdasdasdasd 2 2/Classes/Native/Il2CppCompilerCalculateTypeValuesTable.cpp | 624523042a2611c6e2fc8fec1fa80d26963d3bd5 | [] | no_license | huangliliu0917/iOS_wsl_mallbuy_for_vr | 080ea5512fff6ff4665efab1216d8544d621404e | 6f141c8cf255e655db38e1f98dda75a978dfe985 | refs/heads/master | 2020-04-07T10:07:55.773244 | 2017-08-08T12:23:42 | 2017-08-08T12:23:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 284,249 | cpp | #include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <cstring>
#include <string.h>
#include <stdio.h>
#include <cmath>
#include <limits>
#include <assert.h>
#include "class-internals.h"
#include "codegen/il2cpp-codegen.h"
extern const int32_t g_FieldOffse... | [
"284353855@qq.com"
] | 284353855@qq.com |
7cd4638524f4e9e0948dd55d33c2d56fe2d8c939 | 2ee4cf29eb351be6dbca38a61c1c97269751b44e | /CG_HW4_framework/CG_HW4/CG_HW4/main.cpp | 932d5182287233e1de35031a934a765ce264bdb3 | [] | no_license | clotha87762/Basic-Computer-Graphics | 3071fb87781b0f1b2e785920f24575d87eb5e4e4 | 87b3ab378b19132e251b04767cfc5acb56d8d22b | refs/heads/master | 2020-03-24T09:23:58.928515 | 2018-07-27T22:26:58 | 2018-07-27T22:26:58 | 142,628,252 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 29,476 | cpp | /* Computer Graphics 2015
* NTHU CS CGV Lab
* Author: Yi-Hsiang Lo (LF21201@gmail.com)
* Last-modified: 5/21, 2015
*/
#include <stdio.h>
#include <stdlib.h>
#include <GL/glew.h>
#include <freeglut/glut.h>
#include "textfile.h"
#include "GLM.h"
#include "Matrices.h"
#include "Texture.h"
#include "main.h"
#define ... | [
"clotha87762@yahoo.com.tw"
] | clotha87762@yahoo.com.tw |
1114274a2cf5977545d9bb2676dd8796ef3c3212 | 7f30cb109e574560873a5eb8bb398c027f85eeee | /src/wxPacsListBox.h | a1ffcff95788d76dd796669f322eb9882fbaeb6f | [] | no_license | svn2github/MITO | e8fd0e0b6eebf26f2382f62660c06726419a9043 | 71d1269d7666151df52d6b5a98765676d992349a | refs/heads/master | 2021-01-10T03:13:55.083371 | 2011-10-14T15:40:14 | 2011-10-14T15:40:14 | 47,415,786 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,360 | h | /**
* \file wxPacsListBox.h
* \brief File per la gestione di una lista per la memorizzazione di informazioni provenienti dal PACS
* \author ICAR-CNR Napoli
*/
#ifndef _wxPacsListBox_h_
#define _wxPacsListBox_h_
// For compilers that support precompilation, includes "wx/wx.h".
#include "wx/wxprec.h"
#includ... | [
"kg_dexterp37@fde90bc1-0431-4138-8110-3f8199bc04de"
] | kg_dexterp37@fde90bc1-0431-4138-8110-3f8199bc04de |
c075007a6136925d0933e1e81bb46a2b94a904fe | f6cf14142621b8c4709c6f2073172f39577b1964 | /common/lib/rec/robotino3/iocom/tag/Bumper.h | ec6cfbfd1917a9366312f86737858fb975eb4c71 | [] | no_license | BusHero/robotino_api2 | f3eef6c1ace2ff5a8b93db691aa779db8a9ce3a1 | 9757814871aa90977c2548a8a558f4b2cb015e5d | refs/heads/master | 2021-06-18T21:32:14.390621 | 2021-02-18T15:21:48 | 2021-02-18T15:21:48 | 165,231,765 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,616 | h | #ifndef _REC_ROBOTINO3_IOCOM_TAG_Bumper_H_
#define _REC_ROBOTINO3_IOCOM_TAG_Bumper_H_
#include "rec/robotino3/serialio/Tag.h"
#include "rec/robotino3/iocom/tag/BumperFwd.h"
#include "rec/robotino3/iocom/tag/tagenum.h"
namespace rec
{
namespace robotino3
{
namespace iocom
{
namespace tag
{
class Bumper... | [
"petru.cervac@gmail.com"
] | petru.cervac@gmail.com |
426f68c53bced5807552fa86efc0fe899daf3d4e | 3965b2090cee7584aec75aa60183753d5b13b397 | /Random.h | bb102ab13e710372f86b9d59ea941274fde2228e | [] | no_license | kevinyan0619/osb3 | cc622c8a4adf21e8df6c7967aec1ffcd5b1980c4 | 66a2e576e0d8a698a4711041bbe4835d24b866af | refs/heads/master | 2020-03-22T15:51:53.192818 | 2018-07-12T17:44:06 | 2018-07-12T17:44:06 | 140,284,940 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 377 | h | /*
* Random.h
*
* Created on: Jul 7, 2018
* Author: kevinyan
*/
#ifndef RANDOM_H_
#define RANDOM_H_
#include "pager.h"
#include "string"
#include "random_generator.h"
using namespace std;
class Random: public Pager {
public:
Random_generator grt;
Random(const string&);
FrameTableEntry* get_frame(Fram... | [
"="
] | = |
eda95f6676169cf771bc0bcd037f48fe594d0567 | e0171d0ab478799c545016d67ccbc964fd11520a | /ゲッターとセッター/block.cpp | 5355c7a7a2d0bd998451f9a7f16a5799fc1c3105 | [] | no_license | ryou62525/practice_code | 2528ec60c9b90d207ef42d239efe84a3e6c58370 | c48eed5a83e29fa78ec9c334dadf61d7bfa44c25 | refs/heads/master | 2021-01-10T03:54:26.282607 | 2016-01-28T02:06:59 | 2016-01-28T02:06:59 | 43,240,829 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 366 | cpp | #include "block.h"
Block::Block()
{
pos = Vec2f(100, 100);
size = Vec2f(32, 32);
key_color = Color::blue;
}
void Block::update()
{
}
void Block::setColor(Color color)
{
key_color = color;
}
void Block::draw()
{
drawFillBox(pos.x(), pos.y(), size.x(), size.y(), key_color);
}
Vec2f Block::getPos()
{
return po... | [
"rkc_tw_st@yahoo.co.jp"
] | rkc_tw_st@yahoo.co.jp |
774b97ce5163266bf2172f4144e55d55b6327a8b | 2465d5aac8230436d3a08383a722d6437e97ac40 | /SDK/PUBG_BP_FppWeaponListSlotWidget_parameters.hpp | a645eb41350c79ccbfbed5ddffe7785188efe36d | [] | no_license | xuhao1/PUBG-SDK | 9684baf0471678eaf366de3b3ca5f933ace357ab | 5f0041ef5ad7f16111361316fa8dff1ad4647993 | refs/heads/master | 2021-08-14T13:32:37.783490 | 2017-11-15T20:56:12 | 2017-11-15T20:56:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,080 | hpp | #pragma once
// PlayerUnknown's Battlegrounds SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "../SDK.hpp"
namespace Classes
{
//---------------------------------------------------------------------------
//Parameters
//---------------------------------------------------------------------------
// ... | [
"pubgsdk@gmail.com"
] | pubgsdk@gmail.com |
236dee46f8db9be02e1b97aa463650cb839cc5f0 | 21897e6a8199c0c1c3c2fff8f4e656e40b411699 | /src/gui/UMainWindow_gurt_sklad.cpp | c88dd93acfd9c0837467a7b87c5c2078431b1883 | [] | no_license | utech/ugurtsklad | dd276ba8685d089e16a2a5f59ddab162461ba06e | 4fec8708aec3277a68d51a6f91223f8a2f507edc | refs/heads/master | 2021-01-13T01:55:00.195880 | 2012-09-16T09:01:43 | 2012-09-16T09:01:43 | null | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 6,182 | cpp | //--------------------------------------------------------------------------------------------------------
//
// Copyright (C) 2005-2007 Utech Company. All rights reserved.
//
// Файл з головною функцією програми обліку товарів на складі
//
// Створений програмістами Компанії "Утех" 15.01.2008р.
// Використані компонен... | [
"m_roman_m@i.ua"
] | m_roman_m@i.ua |
7d56833ffac0044f071b9ac2a7ecd46682df9513 | f359d190dd0fa43dc21772a0faccec89013e0e99 | /export/windows/obj/include/openfl/ui/GameInputDevice.h | 684880b497492b4296887c73d29b09718010ba85 | [] | no_license | pedrohpe/terminal | 0da838959f09c50550e629fa8c592dc364b1fa1f | 49fdf9fd10a075ae083e9b31850788fbb814fea5 | refs/heads/master | 2020-03-25T09:18:50.578453 | 2018-08-05T21:42:33 | 2018-08-05T21:42:33 | 143,659,093 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 3,165 | h | // Generated by Haxe 3.4.4
#ifndef INCLUDED_openfl_ui_GameInputDevice
#define INCLUDED_openfl_ui_GameInputDevice
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS1(haxe,IMap)
HX_DECLARE_CLASS2(haxe,ds,IntMap)
HX_DECLARE_CLASS2(haxe,io,Bytes)
HX_DECLARE_CLASS2(lime,ui,Gamepad)
HX_DECLARE_CLASS2(openfl,_Vector... | [
"pedroh.egler@hotmail.com"
] | pedroh.egler@hotmail.com |
9069759e10c1940e72118a8e54c065cb57bbb262 | 640fdd19626197f2c5b2f08827118ac03f04dc80 | /qtTetris/src/Controll/Controller.cpp | fbae2deb4a093aa20c7d45312201bdaf7b8742c3 | [] | no_license | minddnim/testProject | fd6906413b462ac6726ad9324f9940e812634b3a | 4d9ab2a42a7fcf3a00833715ec08183f19efd2d1 | refs/heads/master | 2021-01-23T13:52:55.550382 | 2016-11-16T15:48:04 | 2016-11-16T15:48:04 | 11,125,921 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 720 | cpp | #include "Controller.h"
#include "GameManeger.h"
void
Controller::KeyPress_A()
{
GameManeger::GetInstance()->TryMoveLeft();
}
void
Controller::KeyPress_S()
{
GameManeger::GetInstance()->TryMoveDown();
}
void
Controller::KeyPress_D()
{
GameManeger::GetInstance()->TryMoveRight();
}
void
Controller::KeyPre... | [
"minddnim@gmail.com"
] | minddnim@gmail.com |
c0d09d8353d56c5599daea7b6e30c26f4ea50ca9 | 9df0ffa9989fa11452e306141d12293ed0bcc544 | /PersonDetection/PersonDetection/CvMFCImage.cpp | 9dd287bb6150240edd854c5b520c8e8424ad6965 | [] | no_license | thaibinhco/PedestrianDetection | 5d6161ae2e23c9420af1b81431e5fc426d48e2e8 | 6dd5d01e6572a0dba9b2cf8858a4bea961bbe220 | refs/heads/master | 2020-03-15T08:39:35.752379 | 2018-07-15T05:09:17 | 2018-07-15T05:09:17 | 132,056,336 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,054 | cpp |
//If using MFC
#include "stdafx.h"
#include <windows.h>
//#include <cxcore.h>
#include <cv.h>
#include <highgui.h>
#include "CvMFCImage.h"
static void FillBitmapInfo(BITMAPINFO* bmi, int width, int height, int bpp, int origin)
{
assert(bmi && width >= 0 && height >= 0 && (bpp == 8 || bpp == 24 || bpp == 32));
BI... | [
"thaibinhco.it@gmail.com"
] | thaibinhco.it@gmail.com |
e7fc029e660988e9a031b2d7b8b93c76b98921c3 | 7ba3ebd1d42084f7733a584c9c54c44c02d1ac0d | /static_object.h | 6612527cfc3466001ef3ada1779f95eda84dadb0 | [
"MIT"
] | permissive | dlardi/mingw_static_test | 3f5a5deb93176f8f79791ef1277a1c95c0440190 | f9440696f83afaf57a072c28be33b44299fea509 | refs/heads/master | 2016-09-05T12:16:24.439199 | 2015-08-04T17:18:09 | 2015-08-04T17:18:09 | 40,180,350 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 273 | h | #pragma once
#include <iostream>
#include <typeinfo>
template <class T>
struct StaticObject
{
static T & getInstance()
{
static T t;
std::cout << "static object " << typeid(T).name() << " at " << &t << " = "<< t << std::endl;
return t;
}
};
| [
"dlardibomchs@gmail.com"
] | dlardibomchs@gmail.com |
3f250245d991b0466902e6b8fbe28e0a00efaf56 | 880f1023fddcf3f25449a75389b9403da5281835 | /ZyphRenderer/bitmap.cpp | 5a09675b21e3e8f516395384341150985d807702 | [] | no_license | Patrick-Aubroeck/SoftwareRenderer | 5d5c159b2d870df15e8ade177cebc86af77a4d7d | 74b4f45e52155862faa7af0a7d8e42cfcdbbee58 | refs/heads/master | 2020-06-22T17:32:35.571307 | 2016-12-22T13:31:39 | 2016-12-22T13:31:39 | 74,584,052 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 895 | cpp | #include "bitmap.h"
/// <summary> Default constructor, sets the width and height of the bitmap according to the width and height given as params.</summary>
Bitmap::Bitmap(int width, int height)
{
m_bitmapFileHeader.bfReserved1 = 0;
m_bitmapFileHeader.bfReserved2 = 0;
m_bitmapFileHeader.bfSize = 2 + sizeof(ZYPHBITMA... | [
"p.Aubroeck@Hotmail.com"
] | p.Aubroeck@Hotmail.com |
db534903b8dec592b07192ba0c5d7f3703a90949 | 12c080b81ca5a7aaf87d4199e58dfe08b9670b7f | /230-Kth Smallest Element in a BST.cpp | 81cf5b10f3aaa731b4e2d88d7c86e5224400a495 | [] | no_license | PhoenixDD/LeetCode | 23970d3d5485f0c67ecc46afbf07c296a14f7a4d | 04d78870f56dc7c5057a8b22e5c3ed87ae04a8bf | refs/heads/master | 2021-01-01T19:21:32.795867 | 2020-11-26T05:12:48 | 2020-11-26T05:12:48 | 98,563,765 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 566 | cpp | /**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(x), left(NULL), right(NULL) {}
* };
*/
class Solution {
public:
int kth(TreeNode* root, int &k)
{
if(!root)
return INT_MIN;
int... | [
"ddhondiyal@gmail.com"
] | ddhondiyal@gmail.com |
21ed9a5b1a6ab73338ac5f4aacb61dc6d73a31bb | d93bbc3f9db8b24cbf7fa685c24f15cca3317d61 | /src/components/application_manager/src/commands/hmi/request_to_hmi.cc | aa8c97408dff56cd5fc9813c6295231a2c699014 | [] | no_license | babynewton/smartdevicelink | a98b99eb46219d1f994b19d7833d7d45263acdaa | c6524ea02b098c8474da29baafb9f7191409caf2 | refs/heads/master | 2021-01-20T00:58:27.584658 | 2014-06-17T08:36:08 | 2014-06-17T08:36:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,264 | cc | /*
Copyright (c) 2013, Ford Motor Company
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 conditions and the fol... | [
"jjdickow@gmail.com"
] | jjdickow@gmail.com |
29611e3a1eab60569219f8acda025518b42a4030 | d5d94c992d0596080ba694c518dfdb58d3490847 | /0419/answer.cpp | cdc6b5e078d6b9218e23c1d948aab7e76536b685 | [] | no_license | calgagi/leetcode | 1bf24b750e44c2c893935983e5d88e0f071d9f2d | 431aba979d92e331f2f92a07eb80167a823a49bd | refs/heads/master | 2022-11-17T11:26:01.596496 | 2020-07-19T06:56:04 | 2020-07-19T06:56:04 | 276,207,528 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,290 | cpp | class Solution {
public:
int countBattleships(vector<vector<char>>& board) {
int r = 0;
for (int i = 0; i < board.size(); i++) {
for (int j = 0; j < board[0].size(); j++) {
if (board[i][j] == 'X') {
// BFS
r++;
q... | [
"calgagi@gmail.com"
] | calgagi@gmail.com |
7871fa511c0196d8a7308c4f9b73aca5ef3efb83 | 20169b20a3ad48d6206d7bc6f83cd9da1446280e | /4M-C plus plus/ADTA/Greedy/哈夫曼编码.cpp | 34b1e3814caaa0b1033d1681802828734c3f04e0 | [] | no_license | McFly-byte/Tyro | 57440f150ffe69440c5599bac0bdd2105eb1c405 | b810cb65933370738a507a852af7eb710861dc4f | refs/heads/master | 2023-04-19T14:06:24.632660 | 2021-05-12T02:43:23 | 2021-05-12T02:43:23 | 332,741,678 | 0 | 1 | null | null | null | null | GB18030 | C++ | false | false | 1,601 | cpp | /**
* author: 919106840423 刘明承
* created: 04.2021
* describ: 哈夫曼编码
**/
#include <bits/stdc++.h>
using namespace std;
struct node {
char data;
int weight;
node * left;
node * right;
node * parent;
bool operator < ( const node & n ) const{
return weight > n.weight;
}
} ;
struct cmp {
bool oper... | [
"mcfly@njust.edu.cn"
] | mcfly@njust.edu.cn |
b4039e1a1658cecbee7e6b71dcb5e9544993ce3f | e30253dd5b8e508d37c680b34740add366f16c73 | /Libraries/xcdriver/Headers/xcdriver/HelpAction.h | dbecfd8c86f1ebc4d2501500f87d3255a504a68e | [
"LicenseRef-scancode-philippe-de-muyter",
"BSD-3-Clause",
"NCSA",
"Zlib",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause"
] | permissive | darlinghq/xcbuild | e77e8d88ed42f1922afd7abad2a4508c18255a88 | a903c6952fc5617816113cbb7b551ac701dba2ff | refs/heads/master | 2023-08-03T03:18:18.383673 | 2023-07-26T18:15:17 | 2023-07-26T18:15:17 | 131,655,910 | 10 | 2 | null | 2018-04-30T23:15:55 | 2018-04-30T23:15:54 | null | UTF-8 | C++ | false | false | 678 | h | /**
Copyright (c) 2016-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.
*/
#ifndef __xcdriver_Hel... | [
"git@grantpaul.com"
] | git@grantpaul.com |
594dba51bd1f19a352b398430170885c5d6fced9 | a0962c825f9fd6519b2865d8467900ac102a6b45 | /amrex-master/Src/Base/Parser/AMReX_IParser_Exe.cpp | 35a75a03e6ec6ac8995407cf1ed95313bb628cfa | [
"BSD-2-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | msussman42/amrex_implicit_interfaces | ed160cb42e87cb6caa5269efe4c0ae12a79032ad | a91ddbc3ada2883f3ce7db352f25b610c73babd8 | refs/heads/master | 2023-08-31T23:12:49.462517 | 2023-08-31T19:55:58 | 2023-08-31T19:55:58 | 197,830,424 | 13 | 6 | NOASSERTION | 2020-09-01T16:19:43 | 2019-07-19T19:23:55 | Fortran | UTF-8 | C++ | false | false | 29,314 | cpp | #include <AMReX_IParser_Exe.H>
namespace amrex {
static int iparser_local_symbol_index (struct iparser_symbol* sym, Vector<char*>& local_variables)
{
auto r = std::find_if(local_variables.rbegin(), local_variables.rend(),
[=] (char* i) { return std::strcmp(sym->name, i) == 0; });
if ... | [
"sussman@math.fsu.edu"
] | sussman@math.fsu.edu |
7daa7b9f5bb69ab06f71646c2c47d286911cd880 | 477c8309420eb102b8073ce067d8df0afc5a79b1 | /VTK/Filtering/vtkHyperOctreeAlgorithm.h | 3df12d05cac30a865af5171af0cbe66955b1be47 | [
"LicenseRef-scancode-paraview-1.2",
"BSD-3-Clause"
] | permissive | aashish24/paraview-climate-3.11.1 | e0058124e9492b7adfcb70fa2a8c96419297fbe6 | c8ea429f56c10059dfa4450238b8f5bac3208d3a | refs/heads/uvcdat-master | 2021-07-03T11:16:20.129505 | 2013-05-10T13:14:30 | 2013-05-10T13:14:30 | 4,238,077 | 1 | 0 | NOASSERTION | 2020-10-12T21:28:23 | 2012-05-06T02:32:44 | C++ | UTF-8 | C++ | false | false | 4,420 | h | /*=========================================================================
Program: Visualization Toolkit
Module: vtkHyperOctreeAlgorithm.h
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This sof... | [
"aashish.chaudhary@kitware.com"
] | aashish.chaudhary@kitware.com |
8c6848a20afe4318b881c37e81daf7668c38a83f | 3de7b6397b754a87a070c24232bd4b12508c1d99 | /arm-cortex_a8-linux-gnueabihf/include/c++/4.8.4/arm-cortex_a8-linux-gnueabihf/bits/c++config.h | 691a9383325f1faf541ac4d0781f0f6a988427bb | [] | no_license | yzr1989/arm-cortex_a8-linux-gnueabihf | c049a3efe3384fcfb81c58cc2a001f1b22a093fc | ff28056a7103633622d31cc1c106e7620eb555f3 | refs/heads/master | 2020-06-16T00:42:54.449360 | 2017-01-17T05:14:55 | 2017-01-17T05:14:55 | 75,255,687 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 48,060 | h | // Predefined symbols and macros -*- C++ -*-
// Copyright (C) 1997-2013 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
// terms of the GNU General Public License as published by the
// Free Softwar... | [
"yzr1989@126.com"
] | yzr1989@126.com |
a75e7fe09cdbe20a00e6f69b6f89222f533aef65 | ad9a3a4232a4a994918657e952b65f61f29c2f7b | /CertTool/CertToolDlg.h | 06ff3dfad6a503aad1a5c7653d75a798ba93e872 | [] | no_license | zxuewu/Cert_Tool | 0314aa79c1f98b5d82eb7d4ac4ea96ad1545a7b4 | 3b8163bcc2c5f407fa03bca1fb4a35297dda9920 | refs/heads/master | 2020-05-16T22:25:56.406238 | 2019-04-25T01:48:11 | 2019-04-25T01:48:11 | 183,335,843 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,576 | h |
// CertToolDlg.h : header file
//
#pragma once
#include <openssl/ssl.h>
#include <openssl/err.h>
#include <openssl/gm.h>
#include <openssl/evp.h>
#include <openssl/x509.h>
#include <openssl/bio.h>
#include <openssl/pkcs7.h>
#include <openssl/pkcs12.h>
#include <openssl/pem.h>
#include <openssl/objects.h>
#include "a... | [
"2227504424@qq.com"
] | 2227504424@qq.com |
98cb71e9c63f6857a0b15793c20c6fa2a55f958a | 0ed5558ed4975d0faf04730270b90691c7590024 | /G_Team/src/Macros.hpp | d853861ad91e6fe19e3798bac191fb42855802ba | [] | no_license | hiddenkrypt/g_team | 3b49a13c02374e6f32c773419c71dc5bfa385403 | cb695c6e6eae667d604ea1cda297a64a1d4fa252 | refs/heads/master | 2021-06-21T05:17:07.836073 | 2020-12-15T19:03:28 | 2020-12-15T19:03:28 | 144,604,151 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,959 | hpp | /* #define will replace the following word with the text after it. The backslash
makes multiple lines a part of the same define block.
*/
/* All Gent units need these lines
scope allows them to be used in editorCategory
side marks them as INDEP / GREENFOR
faction is defined in CfgFactionClasses.hpp
edi... | [
"hiddenkrypt@gmail.com"
] | hiddenkrypt@gmail.com |
41de9747320c8be02dfee3b47414bd2c2e5e2b61 | f6ad1c5e9736c548ee8d41a7aca36b28888db74a | /luogu/4841.cpp | 07c797fadf51bfd17ba14376b255d4e756efeeb4 | [] | no_license | cnyali-czy/code | 7fabf17711e1579969442888efe3af6fedf55469 | a86661dce437276979e8c83d8c97fb72579459dd | refs/heads/master | 2021-07-22T18:59:15.270296 | 2021-07-14T08:01:13 | 2021-07-14T08:01:13 | 122,709,732 | 0 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 3,108 | cpp | #define REP(i, s, e) for (register int i = (s), end_##i = (e); i <= end_##i; i++)
#define DEP(i, s, e) for (register int i = (s), end_##i = (e); i >= end_##i; i--)
#define DEBUG fprintf(stderr, "Passing [%s] in Line %d\n", __FUNCTION__, __LINE__)
#define chkmax(a, b) (a < (b) ? a = (b) : a)
#define chkmin(a, b) (a > (... | [
"1683053325@qq.com"
] | 1683053325@qq.com |
64c38cc70e9fc4d84c6472f18126e46aaab2bfe5 | f8130cc611496e7f7c02baf85ee1f59e75c28094 | /src/include/PhysicalPointCache.h | 8fd3ee0c4ee770e8b44fef13d31c63cb9fe65ac4 | [] | no_license | Kun-Qu/Camellia | d42bdce4dca5d6f63f596974b793cfee480b2506 | ca47bdf1ffc8d8d20b1a102d8fc8a8278f5b86d5 | refs/heads/master | 2020-12-03T03:33:58.681401 | 2014-11-28T17:04:04 | 2014-11-28T17:04:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 507 | h | //
// PhysicalPointCache.h
// Camellia-debug
//
// Created by Nate Roberts on 6/6/14.
//
//
#ifndef Camellia_debug_PhysicalPointCache_h
#define Camellia_debug_PhysicalPointCache_h
#include "BasisCache.h"
class PhysicalPointCache : public BasisCache {
FieldContainer<double> _physCubPoints;
public:
PhysicalPoin... | [
"nvroberts@alcf.anl.gov"
] | nvroberts@alcf.anl.gov |
65482b55684fccd3d0356436cf82ea8ff70c6657 | a4a03d391f0c911e5b0aed27fe21e4eb36624609 | /ZOJ/4011/13028669_TLE_0ms_0kB.cpp | e6ac2a5136596511b756a8911ed9044e382e666e | [] | no_license | jiaaaaaaaqi/ACM_Code | 5e689bed9261ba768cfbfa01b39bd8fb0992e560 | 66b222d15544f6477cd04190c0d7397f232ed15e | refs/heads/master | 2020-05-21T21:38:57.727420 | 2019-12-11T14:30:52 | 2019-12-11T14:30:52 | 186,153,816 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 818 | cpp | #include<stdio.h>
#include<string.h>
#include<algorithm>
#define mod 1000000007
using namespace std;
int dp[2005];
int maps[2005][2005];
void init() {
memset(dp, 0, sizeof(dp));
memset(maps, 0, sizeof(maps));
}
int main() {
int T;
scanf("%d", &T);
while(T--) {
init();
int n,m;
scanf("%d%d",&n, &m);
fo... | [
"735301510@qq.com"
] | 735301510@qq.com |
aafa82eba261577dc2910f81ea080e8095b9ca2d | 0a8d05154d373e55691ab946cf5211853911de60 | /src/adapters/ubuntu_proximity_sensor.h | 629f90f963613057b2f92ae909ba87082c91418c | [] | no_license | ubports/repowerd | 52284838c6dd5a40d10b00e4dc3e46f1bf4df567 | 1375dd39d39e2d9de543ff04f61e6b8c3594f109 | refs/heads/xenial | 2023-05-08T06:27:29.458064 | 2021-03-25T00:04:46 | 2021-03-25T00:04:46 | 113,965,269 | 1 | 7 | null | 2021-06-07T09:07:42 | 2017-12-12T08:42:18 | C++ | UTF-8 | C++ | false | false | 2,422 | h | /*
* Copyright © 2016 Canonical Ltd.
*
* This program is free software: you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 3,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WA... | [
"alexandros.frantzis@canonical.com"
] | alexandros.frantzis@canonical.com |
26596aae1e7b92da11d70983f022fc4378e4ccd8 | cc2cf54933b875e1a92852855c47ed9d0e10eff7 | /src/codewars/easy_puzzles/pXXX_YYY.cpp | cb294e4a0c731418f49e1d4387bbdb02fe9237f8 | [
"MIT"
] | permissive | AndiSwiss/Testing-framework-for-c-plus-plus-puzzles | 829ef743b559f050a3234bfb02ae81bf1a7870b9 | 50ca2b819414af9c6b5a512ba8ed3842fddf0dd6 | refs/heads/master | 2023-06-03T06:16:26.890377 | 2021-06-25T15:21:32 | 2021-06-25T15:21:32 | 380,276,879 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,949 | cpp | /*
* Created by AndiSwiss on 28.09.2020
*/
/*
* This file is intended to check my custom test Framework. It can also be used as a template for a new coding puzzle.
*
*
* It should produce the following (colored) output:
*
* pXXX_YYY, file-nr 1... code: 77µs... executing tests...
* Yes, no errors... | [
"36681000+AndiSwiss@users.noreply.github.com"
] | 36681000+AndiSwiss@users.noreply.github.com |
95298541606a0c04aa080e28dba8210529c3c232 | abc397e87ef941ff98e824af0518345c4e13e3ac | /WavProDLL/WavProDLL/WavProDLL.cpp | fd686992cfcacd463dc48b4c7d43c6c39a80669d | [] | no_license | darkmarbo/DLL_read_vaw | b2ae1713559a77ea2a4121d77d8a63395589d814 | a5a71d331b388c749ec2d2705e38617894530dde | refs/heads/master | 2021-01-21T06:42:02.237047 | 2017-03-23T09:50:56 | 2017-03-23T09:50:56 | 83,268,967 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 87 | cpp | // WavProDLL.cpp : 定义 DLL 应用程序的导出函数。
//
#include "stdafx.h"
| [
"darkmarbo@163.com"
] | darkmarbo@163.com |
3199903f9f6aba004be9829beee95b37314a651e | 7121b1b70fcf74884ac291c745840b2a3ef5d1e5 | /2623-1/2623-1.cpp | 825268daf135bf2600acdfe754ac5222338a0a59 | [] | no_license | mindori0105/Algorithm_Study_byCpp | 92a86c961bafa272d8da4089e64d36f5d4c9d849 | 51e2eb9fda0f49b077a1410357389926075ff773 | refs/heads/master | 2020-05-03T23:12:54.995462 | 2019-09-07T10:57:12 | 2019-09-07T10:57:12 | 178,859,821 | 1 | 0 | null | 2019-07-03T13:53:47 | 2019-04-01T12:37:24 | C++ | UTF-8 | C++ | false | false | 1,094 | cpp | #define _CRT_SECURE_NO_WARNINGS
#include <cstdio>
#include <vector>
#include <queue>
using namespace std;
vector<vector<int>> vec;
vector<int> degree;
queue<int>q;
vector<int> result;
int N, M, T;
void sorting() {
for (int i = 1; i <= N; i++) {
if (degree[i] == 0) q.push(i);
}
while (!q.empty()) {
for (int i... | [
"chlals105@nate.com"
] | chlals105@nate.com |
145dd516500d9b4785ab00992b443ff66e262806 | 307c8f4130ec755693e6d8ea35be406c4883a9db | /src/main.cpp | c1a9c4eb52442a4a21a3b6e7c34576d590b08909 | [
"MIT"
] | permissive | VCrate/sandbox | f586fa4d4b5152e65d2ab188339de8009f5c6721 | d6826205f85719155142dd826c419a4e9aef4847 | refs/heads/master | 2020-03-19T16:53:37.059854 | 2020-01-11T21:29:07 | 2020-01-11T21:29:07 | 136,735,007 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 186 | cpp | #include <iostream>
#include <vcrate/Sandbox/SandBox.hpp>
using namespace vcrate::sandbox;
using namespace vcrate;
int main () {
SandBox sandbox(1 << 24);
std::cout << "ok";
} | [
"ricoujules69@gmail.com"
] | ricoujules69@gmail.com |
2891f6415bdb7f936f0f1b0b2fe016990f629c6c | 2fdacba18853b97f85fb60b0276a18f04a7b1f64 | /Face.cpp | 61dfeaa790056a43d0819bc61e98d71b18dca598 | [] | no_license | aa1dar/Rubiks_cube | 52689c4b26a8abf71189c7871387898a1c4a0970 | 9ee4f1d3a0570928a88aca71a4405e5762152c2a | refs/heads/master | 2023-06-19T03:40:44.969867 | 2021-07-13T16:12:01 | 2021-07-13T16:12:01 | 385,649,168 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,855 | cpp | #include <iostream>
#include <vector>
#include <algorithm>
#include <sstream>
#include "Face.h"
using namespace std;
Face::Face(Color col) :
cub11(new Sticker(col)),
cub12(new Sticker(col)),
cub13(new Sticker(col)),
cub21(new Sticker(col)),
cub22(new Sticker(col)),
cu... | [
"naidar31@gmail.com"
] | naidar31@gmail.com |
39f309ad103274d90b5e3344c87d8660134eaa0b | 711e5c8b643dd2a93fbcbada982d7ad489fb0169 | /XPSP1/NT/inetsrv/iis/svcs/staxcore/seo/test/seotlib/stdafx.cpp | 16226bde6da4eef759b03e6b48a982b0e7802e70 | [] | no_license | aurantst/windows-XP-SP1 | 629a7763c082fd04d3b881e0d32a1cfbd523b5ce | d521b6360fcff4294ae6c5651c539f1b9a6cbb49 | refs/heads/master | 2023-03-21T01:08:39.870106 | 2020-09-28T08:10:11 | 2020-09-28T08:10:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,785 | cpp | /*++
Copyright (c) 1996 Microsoft Corporation
Module Name:
StdAfx.cpp
Abstract:
This module contains the implementation for the base
ATL methods.
Author:
Don Dumitru (dondu@microsoft.com)
Revision History:
dondu 12/04/96 created
--*/
// stdafx.cpp : source file that includes ju... | [
"112426112@qq.com"
] | 112426112@qq.com |
6e558f04fbf6ec3b3df03b1ec03bb0cc54056bcd | d0fb46aecc3b69983e7f6244331a81dff42d9595 | /live/include/alibabacloud/live/model/DescribeLiveAudioAuditConfigResult.h | 0efa3e20ec02cf26ff73ee00f3fb63d56509aaaf | [
"Apache-2.0"
] | permissive | aliyun/aliyun-openapi-cpp-sdk | 3d8d051d44ad00753a429817dd03957614c0c66a | e862bd03c844bcb7ccaa90571bceaa2802c7f135 | refs/heads/master | 2023-08-29T11:54:00.525102 | 2023-08-29T03:32:48 | 2023-08-29T03:32:48 | 115,379,460 | 104 | 82 | NOASSERTION | 2023-09-14T06:13:33 | 2017-12-26T02:53:27 | C++ | UTF-8 | C++ | false | false | 1,741 | h | /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | [
"13862149+AxiosCros@users.noreply.github.com"
] | 13862149+AxiosCros@users.noreply.github.com |
25d0b2e1a1ee0c3213707def0e5eb189b8fac2a5 | c348eb400d9de8fe0b0b11bbbb9b4c03b7fd37af | /predictoutput/cpp0052.cpp | 9d67ab2a74427db4cda93e53ea2768028d8c405e | [] | no_license | rangaeeeee/profession | 353e158cebf590e44adfeefd8096676239f9a37f | f88b5a8fd9922b06b04de797624be75f0c7c1427 | refs/heads/master | 2020-12-29T02:38:02.832049 | 2017-04-18T17:15:19 | 2017-04-18T17:15:19 | 52,584,347 | 0 | 2 | null | 2016-03-02T13:11:13 | 2016-02-26T06:42:09 | C++ | UTF-8 | C++ | false | false | 550 | cpp | /**
* \file file.cpp
* \author Rangarajan R
* \date March, 2016
* \brief
* Predict the output.
*
* \details
* Detailed description of file.
*
* \note
* The notes for this file.
*
* \copyright
*
*/
#include<iostream>
using namespace std;
class Test
{
private:
int x;
int y;
public:
... | [
"rrangarajan.85@gmail.com"
] | rrangarajan.85@gmail.com |
63d0f1c13fa3057c8a2eaa497531fb414bf79b5b | 78df694b9df64818062305e9480ea660ad028223 | /libs/sdw/ModelPoint.cpp | 2ce02955da66352e583931120996d1da3edd085e | [] | no_license | JElgar/cgcw | 952e6f0118e6de2647b708a50b0f215908524fd4 | 20515642ed88cb3937c2348d310b83c93bffd0ac | refs/heads/main | 2023-01-28T22:30:20.019567 | 2020-12-11T10:41:53 | 2020-12-11T10:41:53 | 315,383,992 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,515 | cpp | #include "ModelPoint.h"
ModelPoint::ModelPoint() = default;
ModelPoint::ModelPoint(float x, float y, float z) {
_point = glm::vec3(x, y, z);
_texturePoint = TexturePoint(-1,-1);
_hasVertexNormal = false;
}
ModelPoint::ModelPoint(glm::vec3 point) {
_point = point;
_texturePoint = TexturePoint(-1,-1);
_hasV... | [
"jamesnelgar@gmail.com"
] | jamesnelgar@gmail.com |
5813b6286be576b39bcfedfc41e0440729d097e4 | 51635684d03e47ebad12b8872ff469b83f36aa52 | /external/gcc-12.1.0/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_signed/requirements/typedefs.cc | c8aead4f24512c99dfeb72f5df1ad39b0f830b74 | [
"LGPL-2.1-only",
"GPL-3.0-only",
"GCC-exception-3.1",
"GPL-2.0-only",
"LGPL-3.0-only",
"LGPL-2.0-or-later",
"Zlib",
"LicenseRef-scancode-public-domain"
] | permissive | zhmu/ananas | 8fb48ddfe3582f85ff39184fc7a3c58725fe731a | 30850c1639f03bccbfb2f2b03361792cc8fae52e | refs/heads/master | 2022-06-25T10:44:46.256604 | 2022-06-12T17:04:40 | 2022-06-12T17:04:40 | 30,108,381 | 59 | 8 | Zlib | 2021-09-26T17:30:30 | 2015-01-31T09:44:33 | C | UTF-8 | C++ | false | false | 1,284 | cc | // 2005-01-24 Paolo Carlini <pcarlini@suse.de>
//
// Copyright (C) 2005-2022 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
// terms of the GNU General Public License as published by the
// Free S... | [
"rink@rink.nu"
] | rink@rink.nu |
f2cc0cbd7330935588a09818367618a5a3f976dd | e600759a848194a1b8e5fd23064211254ae094f9 | /Labs/Lab 1/Vector/Vector Lab/Vector Lab/VectorLab.cpp | 832ac669b50c23e8594bd7cc6bf0e15bf74ca734 | [] | no_license | dsmythe2/CS250 | 63df583ba3f396493e5eb4997cf9c04225f16efc | 2a65e5a2005935e1c33a1a3d89ea7f19d1b67da5 | refs/heads/master | 2021-01-11T19:47:55.608342 | 2017-05-11T00:21:28 | 2017-05-11T00:21:28 | 79,400,047 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,001 | cpp | #include <iostream>
#include <vector>
#include <string>
using namespace std;
void AddIngredients(vector<string>& ingredients)
{
// Use the push_back function to add "lettuce", "tomato", "mayo", "mustard", and "bread" to the vector.
ingredients.push_back("lettuce");
ingredients.push_back("tomato");
ingredients.push... | [
"Daniel Smythe"
] | Daniel Smythe |
e6bac53fcc9ea87ff45543463a6b6586e105938f | d0dfd6190629266939f697b3cf7b9181efb5b65f | /src/interpreter/bytecodes.h | 96e4c35d6fdad1e60e20bdc501847719f4e0b9fc | [
"BSD-3-Clause",
"bzip2-1.0.6"
] | permissive | jprukner/v8 | 3a64d459f9fdeaf9fec33f1e93e3fedb6a47d6ba | 831b25fbaa4a679c8efbb264784c040f82a7c884 | refs/heads/master | 2021-01-24T14:27:15.013756 | 2015-11-03T14:25:38 | 2015-11-03T14:26:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,154 | h | // Copyright 2015 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef V8_INTERPRETER_BYTECODES_H_
#define V8_INTERPRETER_BYTECODES_H_
#include <iosfwd>
// Clients of this interface shouldn't depend on lots of int... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
d824ae4be7d306e17abcb3cec019ecf761ca6644 | 0c4bd1b977cc714a8a6b2839f51c4247ecfd32b1 | /C++/nnForge/nnforge/cuda/cuda_texture.cpp | 0084ad5af95291d1301f9b52470232a9d6e17d49 | [
"Apache-2.0"
] | permissive | ishine/neuralLOGIC | 281d498b40159308815cee6327e6cf79c9426b16 | 3eb3b9980e7f7a7d87a77ef40b1794fb5137c459 | refs/heads/master | 2020-08-14T14:11:54.487922 | 2019-10-14T05:32:53 | 2019-10-14T05:32:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,372 | cpp | /*
* Copyright 2011-2013 Maxim Milakov
*
* 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 applic... | [
"the.new.horizon@outlook.com"
] | the.new.horizon@outlook.com |
3a460b7fd339bd55c4cf627b6b6b2adb2afac7b0 | a5db05a373f489d05a7f2b8e06d2805ee711de17 | /android/frameworks/native/services/surfaceflinger/Layer.cpp | f710413dcfc9805991eebfb1eb67bb0e70ecd3d3 | [
"LicenseRef-scancode-unicode",
"Apache-2.0"
] | permissive | BPI-SINOVOIP/BPI-H3-New-Android | 7c0cdd50a23e62a204d4818954357868b4925945 | 5cbaa7ad4f73f615dcc4fbed07b52ae240743504 | refs/heads/master | 2023-02-25T15:43:36.633336 | 2018-07-18T10:56:14 | 2018-07-18T10:56:14 | 69,656,896 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 45,467 | cpp | /*
* Copyright (C) 2007 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | [
"justin@justin-ThinkPad-T420.(none)"
] | justin@justin-ThinkPad-T420.(none) |
eb6ee9ee5abcae300ae3010700c73978182a23b4 | ef2fdd6eba2c4b2f6aad0e1d9c295a03041b7795 | /abdul21.cpp | 0f249bcc4c50247f5d8e9b6e39585e7b31823d43 | [] | no_license | Yashvishnoi/Cpp | 6bd911809ba2384f2fe420ed985dc04a105d48d0 | 7cf01890b69ff9e117e88daf5d648239700058ad | refs/heads/master | 2023-02-28T11:25:31.227614 | 2021-02-05T10:39:31 | 2021-02-05T10:39:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 203 | cpp | #include<iostream>
using namespace std;
void swap(int *a,int *b)//formal parameters
{
int c;
c=*a;
*a=*b;
*b=c;
}
int main()
{
int x=10,y=30;
swap(&x,&y);//actual parameters
cout<<x<<" "<<y;
return 0;
}
| [
"jivishnoi@gmail.com"
] | jivishnoi@gmail.com |
6c0566fc27f857d767e7ad12636546d1450198fe | 948f4e13af6b3014582909cc6d762606f2a43365 | /testcases/juliet_test_suite/testcases/CWE122_Heap_Based_Buffer_Overflow/s01/CWE122_Heap_Based_Buffer_Overflow__cpp_CWE129_listen_socket_64b.cpp | 5e4ac13af52380e694fb710c1c352e73ad67bedd | [] | no_license | junxzm1990/ASAN-- | 0056a341b8537142e10373c8417f27d7825ad89b | ca96e46422407a55bed4aa551a6ad28ec1eeef4e | refs/heads/master | 2022-08-02T15:38:56.286555 | 2022-06-16T22:19:54 | 2022-06-16T22:19:54 | 408,238,453 | 74 | 13 | null | 2022-06-16T22:19:55 | 2021-09-19T21:14:59 | null | UTF-8 | C++ | false | false | 4,255 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE122_Heap_Based_Buffer_Overflow__cpp_CWE129_listen_socket_64b.cpp
Label Definition File: CWE122_Heap_Based_Buffer_Overflow__cpp_CWE129.label.xml
Template File: sources-sinks-64b.tmpl.cpp
*/
/*
* @description
* CWE: 122 Heap Based Buffer Overflow
* BadSource: li... | [
"yzhang0701@gmail.com"
] | yzhang0701@gmail.com |
92a4db9da3cfb979e6ac25168eb593c8b9d87c53 | ecbbd14405252d54cb23ad363d2d7e78e54a374f | /assignment-1-don-t-panic-panic-a-lot-master/src/command.h | 56b338debc6bef577ce8bc8c20fcbe052e6651c3 | [] | no_license | bn2595114/CS100 | bc0c166cf1674d160df4908cef06244d9844e82e | 5d06236b6961341514d34575f14d5d0f1726f0b0 | refs/heads/master | 2020-05-03T01:05:08.978682 | 2019-03-29T03:50:09 | 2019-03-29T03:50:09 | 178,327,887 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,455 | h | #ifndef COMMAND_H
#define COMMAND_H
#include <iostream>
#include <vector>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include "shell.h"
using namespace std;
class Command: public Shell
{
private:
string command;
char** arg;
vector<string> parsed;
protected:
boo... | [
"cinexiii@gmail.com"
] | cinexiii@gmail.com |
b71bce73976cb9c0956994834c4382ed6db8606a | 9782352c028b52ea501e945bf618726bd4105e6b | /Sources/AGEngine/BFC/BFCItemID.cpp | 61ef01d9ea01f080a8d51a2e78f3581a1538a2e7 | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | MrJookie/AGE | 28e6e6284dacd4843102b0bb88f2ae265fc10247 | d5d9e98235198fe580a43007914f515437635830 | refs/heads/master | 2020-04-17T05:50:25.788441 | 2016-02-04T10:50:27 | 2016-02-04T10:50:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 202 | cpp | #include "BFCItemID.hpp"
namespace AGE
{
bool BFCItemID::operator==(const BFCItemID &o) const
{
return (_blockManagerID == o._blockManagerID && _blockID == o._blockID && _itemID == o._itemID);
}
} | [
"anthony.boucher5@gmail.com"
] | anthony.boucher5@gmail.com |
edc2f11748201f934266512818deb523a5bb946c | cfb8ffda7368a36674d2d0e8fb868baa639d2129 | /CF548B.cpp | 1bc1fb0be372a8ad98c78f21b7df100af3effce7 | [] | no_license | nileshsah/Algorithms | b32f73684572c2f16d5d3da991a40fb1e3837461 | 7e98e076b445e3fa8fbb9f9aee6a4d116168cfce | refs/heads/master | 2021-01-19T15:01:18.854773 | 2015-07-25T08:33:08 | 2015-07-25T08:33:08 | 30,911,669 | 15 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,622 | cpp | #include <bits/stdc++.h>
#define ll long long
#define get(a) scanf("%lld", &a);
#define rep(n) for( ll i = 1; i <= n; i++ )
#define repVector(v) for( auto it = v.begin(); it != v.end(); it++ )
#define repSet(s) for( typeof(s.begin()) it = s.begin(); it != s.end(); it++ )
#define all(c) c.begin(), c.end()
#define pb pu... | [
"nilesh.sah13@mail.com"
] | nilesh.sah13@mail.com |
2b7d6c94e8546678bc5fcce2e6ea06dcb1568ef3 | 464aa9d7d6c4906b083e6c3da12341504b626404 | /src/lib/moo/vertices_manager.ipp | 5408be7702126bc66393e57b81d821d3927e763e | [] | no_license | v2v3v4/BigWorld-Engine-2.0.1 | 3a6fdbb7e08a3e09bcf1fd82f06c1d3f29b84f7d | 481e69a837a9f6d63f298a4f24d423b6329226c6 | refs/heads/master | 2023-01-13T03:49:54.244109 | 2022-12-25T14:21:30 | 2022-12-25T14:21:30 | 163,719,991 | 182 | 167 | null | null | null | null | UTF-8 | C++ | false | false | 621 | ipp | /******************************************************************************
BigWorld Technology
Copyright BigWorld Pty, Ltd.
All Rights Reserved. Commercial in confidence.
WARNING: This computer program is protected by copyright law and international
treaties. Unauthorized use, reproduction or distribution of thi... | [
"terran.erre@mail.ru"
] | terran.erre@mail.ru |
80f19d82f8a7c95c74595207091e94a568cfdf78 | d093cf01f44c6b9c4d9804ecc9628dabe29941e8 | /Engine/Code/Engine/Renderer/SpriteAnimation.cpp | 4790d82fbb2fbd361149d1e982948f9394e5ed15 | [] | no_license | RSWSMUGirl2016/UtilityAI-Thesis | 7a17aed7bafa2bcb5c6e3568e3b7c4866176b871 | b9e196b9eb99d16f2883b648f812355e586e3ed3 | refs/heads/master | 2021-09-08T10:16:26.000179 | 2018-03-09T04:07:14 | 2018-03-09T04:07:14 | 124,485,883 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,682 | cpp | #include "Engine/Renderer/SpriteAnimation.hpp"
//*******************************************************************
SpriteAnimation::SpriteAnimation(const SpriteSheet& spriteSheet, float durationSeconds, SpriteAnimMode playbackMode, int startSpriteIndex, int endSpriteIndex)
: m_spriteSheet(spriteSheet)
, m_duration... | [
"rsward@smu.edu"
] | rsward@smu.edu |
e7d8703e93054db321a0c97298f4280e6ea8e410 | 439ef4d5092dfdec05364f046ab79d24920373e8 | /src/engine/game_object.hpp | 7487d627ea6bcf2e859f70fd373d8cbe64e9550e | [
"MIT"
] | permissive | LorenzoDiStefano/CppEngine2D | 8999818bafb3ff5803f6b7e629ab56c797fa5bae | 1985b5ce92452aed73ed7b719cf555dabd9e9367 | refs/heads/master | 2020-12-22T14:17:42.991608 | 2020-05-05T16:38:45 | 2020-05-05T16:38:45 | 236,803,838 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 712 | hpp | #ifndef ENGINE_GAME_OBJECT
#define ENGINE_GAME_OBJECT
#include "../math/vector2.hpp"
namespace engine
{
namespace physics
{
struct collision_info;
}
struct game_object
{
public:
//member functions
virtual void draw() const = 0;
virtual void update(const float delta_time) = 0;
virtual void activate();... | [
"lorenzodistefano.k@gmail.com"
] | lorenzodistefano.k@gmail.com |
df49133ae73d8cc36e3595664588664ce9193d59 | 83e63819c3b2289331792ac261ce272f2a975ad9 | /src/codegen/unwinding.h | 88655de0d1fc51fb2d1f2e16da242e30b905c905 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference",
"Python-2.0"
] | permissive | satishgoda/pyston | 9e6c44a18f073a985cff28d43e062204f58ba0c9 | 8b12b0a88731e851bda6b0dc3f7903e146c8f8a0 | refs/heads/master | 2021-01-21T03:33:12.811960 | 2015-01-03T23:56:33 | 2015-01-03T23:56:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,128 | h | // Copyright (c) 2014 Dropbox, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed t... | [
"kmod@dropbox.com"
] | kmod@dropbox.com |
8ada0d0258b6400e890d790c345aa059fc038a73 | bb5e38f211b4f23e85b57813bdae8b6620e89b80 | /cpu/mips_cpu_inst_for_sdl.cpp | 56fda0adefeb5738c031818dac3f4adef4d8375e | [
"MIT"
] | permissive | forember/mips_cpu_611 | f7f8a34ff506e4468884d74538aef7a66fef01d4 | fa4c5a883aaec2066b2378c79b743654ae80e335 | refs/heads/master | 2023-03-26T19:20:43.217457 | 2021-03-22T15:03:49 | 2021-03-22T15:03:49 | 231,031,563 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,942 | cpp | #include "Vmips_cpu_inst_for_sdl.h"
#include "Vmips_cpu_inst_for_sdl_mips_cpu_inst_for_sdl.h"
#include "Vmips_cpu_inst_for_sdl_mips_cpu.h"
#include "Vmips_cpu_inst_for_sdl_reg32x32.h"
#include "verilated.h"
#include <ncurses.h>
#include <SDL2/SDL.h>
#include <SDL2/SDL_video.h>
#include <SDL2/SDL_render.h>
#include <SDL... | [
"chris@tachibanatech.com"
] | chris@tachibanatech.com |
9f2a8af5ef54799c4f696bfec8b429092e51f7f0 | 66024b80d1e7093a0a42c101e6263d50306393c0 | /baekjun/b2/prac.cpp | 3150a4309914344caad90a7a66a4b2374934cef8 | [] | no_license | wkqls0829/codingprac | de9b54d4c1c23c0056db05bf3d1aa4c903f653c7 | f6f0e2ef49d014bf8361a180ef33acbca8defa7f | refs/heads/master | 2023-03-14T08:35:26.916979 | 2021-03-02T06:58:26 | 2021-03-02T06:58:26 | 343,646,878 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 183 | cpp | #include <iostream>
using namespace std;
int main(int argc, char *argv[])
{
int a = 1;
int b = 1;
std::cin >> a >> b;
a ^= b;
cout << a << endl;
return 0;
}
| [
"wkqls0829@gmail.com"
] | wkqls0829@gmail.com |
ff8a203364b42a2444076b8ce80e4e96e7179dfb | 5ffe39f3e7c42e77423dbadd8297329d41b5ce53 | /codeforces/C - Infinity Table.cpp | 0c8b483d4e15ee9eebc11ca878c443ec6ecb40c2 | [] | no_license | MnSakibOvi/competitive-programming | dd521b1e13926858a59ed9685cc29e734b1537ba | dd5918c7fd4333fc0acb957f84502a89d075d1cb | refs/heads/main | 2023-08-15T22:42:17.445947 | 2021-10-23T11:06:47 | 2021-10-23T11:06:47 | 376,104,374 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,759 | cpp |
#include <bits/stdc++.h>
// #include <iostream>
// #include <cstdio>
// #include <cstdlib>
// #include <algorithm>
// #include <cmath>
// #include <vector>
// #include <set>
// #include <map>
// #include <queue>
// #include <stack>
// #include <ctime>
// #include <cassert>
// #include <complex>
// #include <string>
//... | [
"mnsakib1812@gmail.com"
] | mnsakib1812@gmail.com |
d0a3f2ac659697946b2402b7289f8745ff2a6c3d | 68e588d7651638b31d62b58bb17414a4f6b4e669 | /ch14/ex14_37.cpp | c8c2ecb53e5d9d15c9d81abe3b14a2c568d4bcc0 | [] | no_license | HongfeiXu/CplusplusPrimer | 8d8844c9ca73c89067ec78a9cf3a4fee2b10a89b | 676a428b1164dd0e980e696d6553f02be96c633c | refs/heads/master | 2022-03-19T00:57:17.604996 | 2022-02-20T14:19:27 | 2022-02-20T14:19:27 | 57,424,704 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 773 | cpp | /*
练习14.37
编写一个类令其检查两个值是否相等。使用该对象及标准库算法编写程序,令其替换某个序列中具有给定值的所有实例。
*/
#include <iostream>
#include <string>
#include <vector>
#include <algorithm>
struct IsEqual {
IsEqual(int v) : value(v) { }
bool operator()(int elem)
{
return elem == value;
}
private:
int value;
};
int main()
{
std::vector<int> vi{ 1,2,3,... | [
"icevmj@gmail.com"
] | icevmj@gmail.com |
a5dc0c9cafa8652cc14c2f26cc9bbdcb1584b5eb | a81c07a5663d967c432a61d0b4a09de5187be87b | /third_party/blink/renderer/core/layout/ng/layout_ng_table_cell.h | d51ed53386566656a4f726c162aa5493a615790d | [
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT",
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-2.1-only",
"GPL-2.0-only",
"LGPL-2.0-only",
"BSD-2-Clause",
"LicenseRef-scancode-other-copyleft",
"BSD-3-Clause"
] | permissive | junxuezheng/chromium | c401dec07f19878501801c9e9205a703e8643031 | 381ce9d478b684e0df5d149f59350e3bc634dad3 | refs/heads/master | 2023-02-28T17:07:31.342118 | 2019-09-03T01:42:42 | 2019-09-03T01:42:42 | 205,967,014 | 2 | 0 | BSD-3-Clause | 2019-09-03T01:48:23 | 2019-09-03T01:48:23 | null | UTF-8 | C++ | false | false | 788 | h | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef LayoutNGTableCell_h
#define LayoutNGTableCell_h
#include "third_party/blink/renderer/core/core_export.h"
#include "third_party/blink/renderer/cor... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
4c7865a53937d3859d484cbe818f8c5741b047a7 | 26719e43bd2be4964e8ad1ea9661d1a06c8cafab | /lib/UartRx.cpp | 51659b3f8eb9967152572093f632f6fb31cdb5ff | [
"LicenseRef-scancode-other-permissive"
] | permissive | Srinivas-E/tool_axe | 69a8758e39644cd6916211d6b6d50a8fed6425e3 | 878f0a3fa65d88c1b22455d7eb3d804dcb48e567 | refs/heads/master | 2021-01-23T23:34:54.526382 | 2013-08-27T20:03:15 | 2013-08-27T20:03:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,197 | cpp | // Copyright (c) 2011-2012, Richard Osborne, All rights reserved
// This software is freely distributable under a derivative of the
// University of Illinois/NCSA Open Source License posted in
// LICENSE.txt and at <http://github.xcore.com/>
#include "UartRx.h"
#include "Signal.h"
#include "RunnableQueue.h"
#include "... | [
"richard@xmos.com"
] | richard@xmos.com |
7eaf1d489072a0cda53ebac96bec848bdaeb3935 | 2fb6c47fca7b1aefbddb1949f0a1ddf3aa2ff3dd | /src/unmanaged/profiler/main/MMProfiler/FunctionProfiler.h | 68b85affb6943677245caca84ff609fa63227a9b | [
"MIT"
] | permissive | mattwarren/fsprivateeye | 75855b9176d6aaee8c9cc8a86935d7ea6a6a1b11 | 0c4510a228a04859b4a2ef9a9e9b5f995a33869f | refs/heads/master | 2021-01-17T09:34:26.395141 | 2015-02-19T18:08:10 | 2015-02-19T18:08:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,078 | h | // FunctionProfiler.h : Declaration of the CFunctionProfiler
#pragma once
#include "resource.h" // main symbols
#include "MMProfiler_i.h"
#include "Timer.h"
#include "Synchronization.h"
using namespace ATL;
#define COM_FAIL_RETURN(hr, ret) if (!SUCCEEDED(hr)) return (ret)
#ifdef DEBUG
#define COM_FAIL(hr) { ... | [
"gregoryyoung1@gmail.com"
] | gregoryyoung1@gmail.com |
de352e98e425fd4add17529e777f0e2407d35aa1 | 69a560e3a1b00ad345f8dcd530524fe8898b90a2 | /EduClass_Cockpit/90_소스공유_개인별/line3/cockpit1/build-cockpit-Desktop_Qt_5_12_6_GCC_64bit-Debug/Debug/cockpit.e4475bc2/qt.headers/moc_widget.cpp | 1d1e489d152a89c332bdd10ea5d9b5a7c9c4d420 | [] | no_license | keepnext/SmartVehicle | 6f60aee8cba1c76ce89a2db0632ee7c0fd158599 | b2dd1fe5ef5cc479d3b35fcb6c5f11ea362461ce | refs/heads/master | 2020-12-11T23:42:20.775645 | 2020-02-21T12:31:01 | 2020-02-21T12:31:01 | 233,985,942 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,584 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'widget.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.12.6)
**
** WARNING! All changes made in this file will be lost!
*************************************************************... | [
"keepnext@gmail.com"
] | keepnext@gmail.com |
cbb40bbd02258c4bdb7c56c78c8b2d81212cd316 | 9ac5d6ccb0edff8c97d519fa5c19f72906fd87d6 | /2kurs/IV sem/class/sort_lambda.cpp | d48aa93723a47e9c6941227ea0609291331d6a7a | [] | no_license | reginabezhanyan/study_tasks_contests | 057c38d4b06f4282f5d34b78a6dc6140951977dc | c75726f5a84fb4e29443794aa239ec150cc463f0 | refs/heads/master | 2023-04-09T13:20:44.162918 | 2021-04-14T11:51:43 | 2021-04-14T11:51:43 | 357,884,578 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,323 | cpp | #include <algorithm>
#include <iostream>
#include <vector>
#include <numeric>
auto func(int a, int b) -> bool
{
return a < b;
}
auto func(double a, double b) -> auto
{
return a < b;
}
auto func(char a, char b)
{
return a < b;
}
int main(int argc, char *argv[])
{
std::vector<int> z;
bool flag... | [
"regibezh@mail.com"
] | regibezh@mail.com |
23b293ca1a96afd2ee69231a438d0d0724752dc3 | bfc0a74a378d3692d5b033c21c29cf223d2668da | /modulesrc/mpi/mpi_error.i | 18399e1e13c0a12912bf4705c466e63f414014a7 | [
"MIT"
] | permissive | rishabhdutta/pylith | b2ed9cd8039de33e337c5bc989e6d76d85fd4df1 | cb07c51b1942f7c6d60ceca595193c59a0faf3a5 | refs/heads/master | 2020-12-29T01:53:49.828328 | 2016-07-15T20:34:58 | 2016-07-15T20:34:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 733 | i | // -*- C++ -*-
//
// ======================================================================
//
// Brad T. Aagaard, U.S. Geological Survey
// Charles A. Williams, GNS Science
// Matthew G. Knepley, University of Chicago
//
// This code was developed as part of the Computational Infrastructure
// for Geodynamics (http://... | [
"baagaard@usgs.gov"
] | baagaard@usgs.gov |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.