blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 986
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 23
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 145
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 122
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
97b1ff339a1eb48f4f55d2efa03ee189bc2340db | 431c05db5dd38c69793dccf5988bbe3daa91b96f | /build tree form inorder & preorder.cpp | 5fade00de356ad0eabb9aff643ea3c30e550fee0 | [] | no_license | anuragpratap05/C_B_Binary_Trees | 8bf95369f1b18313cbb6a7fb2798eaaba3a5941d | c8e88d259a89c001cfe6e251e757a20094e6d7c2 | refs/heads/main | 2023-01-19T12:17:03.775721 | 2020-11-22T05:02:56 | 2020-11-22T05:02:56 | 314,506,067 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,147 | cpp | # C_B_Binary_Trees
#include<bits/stdc++.h>
using namespace std;
class node
{
public:
int data;
node* left;
node* right;
node(int d)
{
data = d;
left = NULL;
right = NULL;
}
};
node* buildtree()
{
int d;
cin >> d;
if (d == -1)
{
return NULL;
}
node* ans = new node(d);
ans->left = buildtree();
a... | [
"noreply@github.com"
] | anuragpratap05.noreply@github.com |
884b83051053cf36c7a3ce5ba031c764d310c189 | b82b8cb14cb93ef1d5690d02371932792bcc6930 | /vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/SuperfluousWhitespaceUnitTest.5.inc | 90c8328644bbb24270a811d539d839d0a3fda3f0 | [
"MIT"
] | permissive | adityarifqyfauzan/wisata_indramayu | a4e80fa24815c53bb5ccd0aab99ffd3a3fa29b6d | b25fc68b446ce36274799c2d975af4ae7172e3b2 | refs/heads/main | 2023-02-03T10:53:11.521990 | 2020-12-21T23:30:33 | 2020-12-21T23:30:33 | 323,470,823 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 103 | inc | <?php
// This should throw an error - unicode space before open tag and after close tag.
?>
| [
"aditya.fauzan@indosystem.com"
] | aditya.fauzan@indosystem.com |
7210a1136403b60cb7d308c2671440312e8b964b | 84131823def8485ee9dbc94e14bb448522c6c260 | /so_5/rt/stats/impl/h/activity_tracking.hpp | 55fe5f623ff1312ed9a568254b62cebfe18406d3 | [
"BSD-3-Clause"
] | permissive | sigman78/sobjectizer | ea35f622b30fd42f13ab7c6ed2d21c326886c154 | d81c20a1264582e427a9a35d212361425fc34277 | refs/heads/master | 2021-04-13T01:44:37.343988 | 2017-06-19T08:18:32 | 2017-06-19T08:18:32 | 94,554,443 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,127 | hpp | /*
* SObjectizer-5
*/
/*!
* \file
* \since
* v.5.5.18
*
* \brief Details for implementation of activity tracking.
*/
#pragma once
#include <so_5/h/types.hpp>
#include <so_5/h/spinlocks.hpp>
#include <so_5/rt/stats/h/work_thread_activity.hpp>
namespace so_5
{
namespace stats
{
namespace activity_tracking_... | [
"sigman78@gmail.com"
] | sigman78@gmail.com |
9bb3bb6aaa86b4eeaccf21f348e55e48d04504c4 | 47a668293f589b32e4191842fe8322dcb8b3ad2f | /app/src/main/jniLibs/arm64-v8a/include/nfiq2_fingerprintimagedata.hpp | 9098ba3e7114636c164cb1e1a6d8edf96a71e097 | [] | no_license | luongdv3vts/NFIQ2_ANdy | 6b722b2434546a437aa932a50a30a60ab931ae6a | e19d5058ccadb7ff0dfbba135e5205294219950a | refs/heads/main | 2023-07-09T02:41:43.132818 | 2021-08-06T22:35:39 | 2021-08-06T22:35:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,748 | hpp | /*
* This file is part of NIST Fingerprint Image Quality (NFIQ) 2. For more
* information on this project, refer to:
* - https://nist.gov/services-resources/software/nfiq2
* - https://github.com/usnistgov/NFIQ2
*
* This work is in the public domain. For complete licensing details, refer to:
* - https://git... | [
"akshatbajpai.biz@gmail.com"
] | akshatbajpai.biz@gmail.com |
e7fded952988667e4c74b2837f76be5e07799ec7 | 2cd6255a426d76f924c8c1f3c77a96c7c3be1794 | /src/repl/snapshot.hpp | 3c9326c8da4ffddaa1038973659be127f9016600 | [
"BSD-3-Clause"
] | permissive | masterve/test | 4019a0bf79a9e961f9034775d09380ccda86da6a | 87a06f974ddc0ca7baf0ca082d7ae8999d9a4196 | refs/heads/master | 2021-01-16T21:36:39.452527 | 2016-07-10T15:44:16 | 2016-07-10T15:44:16 | 63,005,966 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,239 | hpp | /*
*Copyright (c) 2013-2013, yinqiwen <yinqiwen@gmail.com>
*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,
* t... | [
"igors@prana-bindu.com"
] | igors@prana-bindu.com |
2a87269d868f9f1f908c1ad8907945c517f8dcd7 | d0c44dd3da2ef8c0ff835982a437946cbf4d2940 | /cmake-build-debug/programs_tiling/function13955/function13955_schedule_5/function13955_schedule_5.cpp | 838ddac9f75f5af60524ded859a815c45754ded3 | [] | no_license | IsraMekki/tiramisu_code_generator | 8b3f1d63cff62ba9f5242c019058d5a3119184a3 | 5a259d8e244af452e5301126683fa4320c2047a3 | refs/heads/master | 2020-04-29T17:27:57.987172 | 2019-04-23T16:50:32 | 2019-04-23T16:50:32 | 176,297,755 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 913 | cpp | #include <tiramisu/tiramisu.h>
using namespace tiramisu;
int main(int argc, char **argv){
tiramisu::init("function13955_schedule_5");
constant c0("c0", 131072), c1("c1", 512);
var i0("i0", 0, c0), i1("i1", 0, c1), i100("i100", 1, c0 - 1), i101("i101", 1, c1 - 1), i01("i01"), i02("i02"), i03("i03"), i04(... | [
"ei_mekki@esi.dz"
] | ei_mekki@esi.dz |
5c2679ebb3c361f9d82a3f6868ac7fd847a63cb8 | 0ac5b1acf32ddba4d3bbf866745b7e9903c227f0 | /inc/ISession_Point.h | c51b1df1dae278c09e5bdeda8a0dfe81875f54a8 | [] | no_license | zhucci/ASP_Project | cdda5c2c2419b1edf3385372828c952b19fe6e96 | c9b85a671df9cad0b8dc1fdf2ed6c4ce4db47d88 | refs/heads/master | 2016-09-12T01:11:24.022511 | 2016-05-27T10:42:36 | 2016-05-27T10:42:36 | 51,695,182 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,194 | h | // ISession_Point.h: interface for the ISession_Point class.
//
//////////////////////////////////////////////////////////////////////
#ifndef _ISESSION_POINT_
#define _ISESSION_POINT_
#include <Standard_Macro.hxx>
#include <Standard_DefineHandle.hxx>
#include "OCCT_Headers.h"
DEFINE_STANDARD_HANDLE(ISession_Point,... | [
"zhuchkov612@gmail.com"
] | zhuchkov612@gmail.com |
fdfc0f4453f6bd8a8cf6492b3a61008561429381 | 040edc2bdbefe7c0d640a18d23f25a8761d62f40 | /25mt/src/psavefit.cpp | 75a894f70b1bd4148a1c64891a73215b29b5c9d1 | [
"BSD-2-Clause"
] | permissive | johnrsibert/tagest | 9d3be8352f6bb5603fbd0eb6140589bb852ff40b | 0194b1fbafe062396cc32a0f5a4bbe824341e725 | refs/heads/master | 2021-01-24T00:18:24.231639 | 2018-01-16T19:10:25 | 2018-01-16T19:10:25 | 30,438,830 | 3 | 3 | null | 2016-12-08T17:59:28 | 2015-02-07T00:05:30 | C++ | UTF-8 | C++ | false | false | 5,380 | cpp | //$Id: psavefit.cpp 2948 2012-02-11 01:30:26Z eunjung $
#include "par_t.h"
ostream& setfixed(ostream& _s);
const extern double min_nb_par;
const extern double max_nb_par;
extern ofstream clogf;
template <typename D3_ARRAY, typename MATRIX, typename VECTOR, typename DOUBLE>
void par_t<D3_ARRAY,MATRIX,VECTOR,DOUBLE>... | [
"sibert@hawaii.edu"
] | sibert@hawaii.edu |
4c2340f59d48aa0d3ddb1d61494b4ae82a5df9dc | 63e13aa6d118b2c5d7eb94bc98d656e54cada19a | /src/main.cpp | e72a971ab8971678a4cfc1b6f89b89d5d2772676 | [
"MIT"
] | permissive | tsteinholz/Hangman | 21368dc27bcb706f264eab62f1cc05b46942cb74 | 87f8faec5b26438ca3f4b51bd8cafe679ddb5b35 | refs/heads/master | 2021-01-10T03:02:19.776928 | 2016-03-09T12:56:12 | 2016-03-09T12:56:12 | 50,922,690 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,629 | cpp | //-----------------------------------------------------------------------------
// The MIT License (MIT)
//
// Copyright (c) 2016 Thomas Steinholz
//
// 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... | [
"tsteinholz@yahoo.com"
] | tsteinholz@yahoo.com |
4521a5582bedec75d1bd0d203e775773e7100d7c | e30874b3aa20804833dd11788176f839fcd08690 | /cpp/include/cudf/strings/split/split_re.hpp | 14fcfaecdcdd3cbb20ebe0f2d0892cf47b2de698 | [
"Apache-2.0"
] | permissive | rapidsai/cudf | eaba8948cddde8161c3b02b1b972dab3df8d95b3 | c51633627ee7087542ad4c315c0e139dea58e408 | refs/heads/branch-23.10 | 2023-09-04T07:18:27.194295 | 2023-09-03T06:20:33 | 2023-09-03T06:20:33 | 90,506,918 | 5,386 | 751 | Apache-2.0 | 2023-09-14T00:27:03 | 2017-05-07T03:43:37 | C++ | UTF-8 | C++ | false | false | 9,792 | hpp | /*
* Copyright (c) 2022-2023, NVIDIA CORPORATION.
*
* 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... | [
"noreply@github.com"
] | rapidsai.noreply@github.com |
34b261fb1198dc09bcd215e843e79ebc20f61184 | 631817a31f4ba5b071857d55400947369d3e1ee3 | /CD/CD/Graphics/Frame.hpp | ec516a2cb3b1176b98d3795f4449c3ab841e2d13 | [] | no_license | QW-C/CD | 4cff8e49cca0f11712d827e34d7f8b45ef22ba7a | e28a87b7dd9de03e2b126b237ef3ccaefcb9b0bf | refs/heads/master | 2023-03-26T18:17:02.113471 | 2021-03-27T17:11:32 | 2021-03-27T17:11:32 | 334,336,098 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,049 | hpp | #pragma once
#include <CD/Graphics/Common.hpp>
#include <CD/GPU/CommandBuffer.hpp>
#include <CD/GPU/Shader.hpp>
#include <vector>
#include <queue>
namespace CD {
struct BufferAllocation {
GPU::BufferHandle handle;
std::uint32_t offset;
};
class GPUBufferAllocator {
public:
GPUBufferAllocator(GPU::Device&);
~GPU... | [
"qwcollider@gmail.com"
] | qwcollider@gmail.com |
4d4432f270be3d1b2d96e744d055bd7f59ae0bfb | 0b1a12589f9b1995e88cf4214ed843fd0f204af6 | /src/api/dcps/isocpp2/code/org/opensplice/core/ObjectSet.cpp | a3cad3b89a5bc3315d857bd4d0015e5b8b16fdd9 | [
"Apache-2.0"
] | permissive | atolab/opensplice | 523199cd7464d86e73e5897c895afa4350ee5f07 | d606572ecc390b38dab5406a6008cf879e40595d | refs/heads/master | 2021-05-09T13:03:51.459850 | 2018-01-26T07:50:17 | 2018-01-26T07:50:17 | 119,022,146 | 1 | 0 | null | 2018-01-26T07:48:40 | 2018-01-26T07:48:40 | null | UTF-8 | C++ | false | false | 1,978 | cpp | /*
* OpenSplice DDS
*
* This software and documentation are Copyright 2006 to TO_YEAR PrismTech
* Limited, its affiliated companies and licensors. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in complianc... | [
"michiel.beemster@prismtech.com"
] | michiel.beemster@prismtech.com |
644886676c3e0c19235aaf4a7dd573236e9dce6e | 08dc75b6e9ab610cae686b28a132956d6a98bf3e | /Parent.h | 214525cd3572c8d8883a6ace12ddb6d9a879421b | [] | no_license | wjyu/CS343-A6 | d626a669003c4c863b5ff4e0bb3588c0e341ae4c | 44fff9fa02be29a2538504861791cf84e9643f2e | refs/heads/master | 2021-01-01T06:33:45.031253 | 2012-12-03T13:39:38 | 2012-12-03T13:39:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 452 | h | #ifndef Parent_H
#define Parent_H
#include <uC++.h>
class Printer;
class Bank;
_Task Parent
{
public:
Parent( Printer &prt, Bank &bank, unsigned int numStudents, unsigned int parentalDelay );
private:
Printer * printer; // reference to Printer
Bank * bank;//reference to Bank
unsigned int s... | [
"jimmy.w.j.yu@gmail.com"
] | jimmy.w.j.yu@gmail.com |
3cb87447a1e8713bfaf2b8a47e14b5a217aa000f | 3a0321b0cc9567c6a97abaff4a3c20ce8708697e | /assignment_package/src/implement_me/kdtree.cpp | a22b26c8092d65e65ddd616cb36912abca393242 | [] | no_license | 0v0v0/HW8_KDTREE | be4901d9b8e8bd3c421acd5a9475d946aef6be09 | c6b1b20826ca11e0ffe43573f87e03a50bedec6e | refs/heads/master | 2020-03-11T11:48:03.909665 | 2018-04-18T00:30:18 | 2018-04-18T00:30:18 | 129,979,541 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,304 | cpp | #include "kdtree.h"
#include "iostream"
KDNode::KDNode()
: leftChild(nullptr), rightChild(nullptr), axis(0), minCorner(), maxCorner(), particles()
{}
KDNode::~KDNode()
{
delete leftChild;
delete rightChild;
}
KDTree::KDTree()
: root(nullptr)
{}
KDTree::~KDTree()
{
delete root;
}
// Comparator f... | [
"0v0v0@users.noreply.gitbhub.com"
] | 0v0v0@users.noreply.gitbhub.com |
f1c0e840610d96dc53285dbdcad7c343195ccf0c | 43d70c3eac5af55e68628c01b3d442c1bda6fb4c | /SDLManager.cpp | 1c0b7ecf33d5cbc3d49f40084df660187a838661 | [] | no_license | AlixDeMitchell/OOT3 | e5b3d7ed7be8ef07e569ea5b1211e15147967312 | 60434a17f54b233584af9c48466e16731b6978e4 | refs/heads/master | 2021-01-18T16:42:50.336514 | 2017-04-02T15:12:21 | 2017-04-02T15:12:21 | 86,758,306 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,004 | cpp | #include "SDLManager.h"
SDLManager::SDLManager()
{
//initialize SDL
InitSDL();
//init pointers to null
m_window = nullptr;
m_renderer = nullptr;
keyboard = SDL_GetKeyboardState( NULL );
//if SDL initializes, create window and renderer
if ( InitSDL() )
{
m_window = CreateWindow( "Particl... | [
"noreply@github.com"
] | AlixDeMitchell.noreply@github.com |
a677208c7f37ad4b724d8eacc3c7cccc406cc0b6 | da84a58a036ab8fde955d4e4c4b335e078bccda3 | /build-aac_encode-Desktop_x86_darwin_generic_mach_o_64bit-Debug/moc_audiothread.cpp | b1ce80f353844c43c646c47f4c6dbec4740f6e04 | [] | no_license | forestfsl/audio | c9aea7efe1089e4f63355eaef634ed2c9faef0a6 | 5c615c22b7701780f12ce38a42635080892baa51 | refs/heads/master | 2023-07-13T01:28:01.934365 | 2021-08-21T06:26:14 | 2021-08-21T06:26:14 | 359,826,243 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,589 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'audiothread.h'
**
** Created by: The Qt Meta Object Compiler version 68 (Qt 6.0.3)
**
** WARNING! All changes made in this file will be lost!
*********************************************************... | [
"fengsonglin@ad61v1.com"
] | fengsonglin@ad61v1.com |
498fd6be4473968b3fb94ca608572cd704950f62 | 0b216a3b1b3c261f7d314e9aaf1bfbdb91c1d520 | /engine/include/game/Camera.hpp | 77dfdb0c99bb8db1c3b54e7899f2eec73825661c | [] | no_license | ciaala/vulkan_engine_cpp | 2b24bdb07e55decb33bfcf4eaefa51a8cf52cf63 | c6de83c5082ecf19df1753c971b17d19673937a5 | refs/heads/master | 2021-06-03T09:24:43.147797 | 2017-07-25T05:09:44 | 2017-07-25T05:09:44 | 97,520,327 | 6 | 0 | null | 2017-07-24T22:41:53 | 2017-07-17T20:41:22 | C++ | UTF-8 | C++ | false | false | 769 | hpp | //
// Created by crypt on 19/07/17.
//
#ifndef VULKAN_ENGINE_CPP_CAMERA_HPP
#define VULKAN_ENGINE_CPP_CAMERA_HPP
#include <core/linmath.h>
namespace vlk {
class Camera {
protected:
mat4x4 projectionMatrix;
mat4x4 viewMatrix;
vec3 eye = {0.0f, 3.0f, 5.0f};
vec3 origin = {0, 0,... | [
"francesco.fiduccia@gmail.com"
] | francesco.fiduccia@gmail.com |
b16b8e6cfb8f9010f85a0e0371b266eef4859544 | abe1c82a1a6f9e3b64b94d54cb2b026f32c0e926 | /arcin/multifunc.cpp | 77b31ba694e357be40058e8910d19b62ab14b6e4 | [
"BSD-2-Clause",
"MIT"
] | permissive | dr-vipinkumarp/arcin-infinitas | ba06cb38ae52286d85618a58767d6bf3347489f5 | 425a22300c5d0b2ed7d04ec2f9aa2607539cdad9 | refs/heads/master | 2023-08-14T04:53:15.867186 | 2021-01-04T10:16:54 | 2021-01-04T10:16:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,104 | cpp | #include "timer.h"
#include "multifunc.h"
#include "inf_defines.h"
extern uint32_t debug_value;
// Window that begins on the first rising edge of E2
// i.e., any multi-taps must be done within this window in order to count
#define MULTITAP_DETECTION_WINDOW_MS 500
// assert button combination for this duration
#defin... | [
"noreply@github.com"
] | dr-vipinkumarp.noreply@github.com |
e5e48c4536c75f41cbaa0041ad7078dc1233814e | 46a96d914fa4f802ad98ea07bdad5cfc9f5a9d92 | /Herencia/src/Estudiante.cpp | 3ed1c97e854fce89cea08b3c6b1c8583d3f2cdb3 | [] | no_license | kjtm03/clase1 | 521f9f9077d2b7d04e3066774c257343732251d3 | c3464de62fbbe1d63e3b9c45be767168d85575ec | refs/heads/master | 2021-01-23T00:20:33.815712 | 2017-06-27T15:01:29 | 2017-06-27T15:01:29 | 85,719,317 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 351 | cpp | #include "Estudiante.h"
#include <iostream>
#include "Persona.h"
using namespace std;
Estudiante::Estudiante(int ed4d, string n0mbre, string c4rne, float n0ta):Persona(ed4d,n0mbre)
{
carne = c4rne;
nota = n0ta;
}
void Estudiante::imprimirEstudiante()
{
imprimirDatos();
cout<<"Carne: "<<carne<<endl;
... | [
"jktm01@gmail.com"
] | jktm01@gmail.com |
c396014e2f1f4bafd40ba6679eecf0d8bb00f937 | 0860688923249323224eb4d4f75e7c1de049caae | /lab2/playerdata.h | 0fcc3d0d9fba42963433bb2e6f5ae7c4ce1a140c | [] | no_license | youqing945/107-2_ProgramDesign_Lab | fce821f07fc918be1dcdcffd00448082a93acf0a | e43692daf442accae710c239d1902b2bf82aa821 | refs/heads/main | 2023-04-14T00:16:47.454296 | 2021-04-14T18:37:34 | 2021-04-14T18:37:34 | 357,837,251 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 321 | h | using namespace std;
class PlayerData{
public:
PlayerData(int, int, int);
void returnValue(float);
int getK();
void setK(int);
int getRa();
void setRa(int);
int getRb();
void setRb(int);
private:
int K;
int Ra;
int Rb;
};... | [
"youqing1211@gmail.com"
] | youqing1211@gmail.com |
4e14a52d0b816d5d3a1d60c1df6e8179e9b57ea6 | 2fdcf56c5e791dd9a4605a41ef7bc601e2fc9135 | /Info/string repair/main.cpp | 4447969f83a52c0c84504c4e713f51dddebff4eb | [] | no_license | DinuCr/CS | 42cc4a7920fb5a2ac5e1179930169e4d8d71592e | 8d381a622e70dd234d7a978501dcb7cf67e83adc | refs/heads/master | 2020-06-02T14:11:49.223214 | 2020-05-24T01:27:46 | 2020-05-24T01:27:46 | 191,174,654 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 360 | cpp | #include <iostream>
#include <fstream>
#include <cstring>
using namespace std;
ifstream fin("sr.in");
ofstream fout("sr.out");
char a[100100];
char b[100100];
int i;
int n;
int main()
{
fin>>a>>b;
n=strlen(a);
int j=0;
for(j=0; j<n; ++j)
{
if(a[j]==b[i])
{
fout<<j+1<<... | [
"cristidinu1999@gmail.com"
] | cristidinu1999@gmail.com |
34db7a27691a0f4030b0834fd54ca84293bbbe34 | 3b6785102d5f29496ceca330648b56883b116fe7 | /source/XYO/DllInjectSample/Code/new_kernelbase__LoadLibraryA.cpp | 9d4c1a89d75aca0854877ee924ac14f7933aca13 | [
"MIT"
] | permissive | g-stefan/dll-inject-sample | aa3b7c021c651c3a5f249c66fec71f9196f34d7e | 746b7e0118a63ee2c963c6a1ab130de1b9353764 | refs/heads/main | 2023-07-27T12:17:00.517863 | 2023-06-08T12:23:11 | 2023-06-08T12:23:11 | 22,621,592 | 5 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 263 | cpp | static HMODULE WINAPI _new_kernelbase__LoadLibraryA(const char *lpFileName) {
HMODULE retV;
retV = (*_original_kernelbase__LoadLibraryA)(lpFileName);
DWORD errCode = GetLastError();
thisHookInstance(retV);
SetLastError(errCode);
return retV;
};
| [
"g_stefan@yahoo.com"
] | g_stefan@yahoo.com |
972ab1679f17b70ca17c65330cb17651a608f62f | a4be4cc540ee0586f9ed7138302a71bc6976ac3e | /Vector3/Vector3/Vector3.cpp | c2cba9bf7f8101c049a9ca273b7f7b4a3ebd637b | [] | no_license | BorjaSasieta/ExercicisCppMaster | 30925cae3122818600672622b42eca946d1890a2 | 245c039a68b950d3477891a59616474a1eca298c | refs/heads/master | 2020-03-31T02:39:22.982465 | 2018-10-29T18:48:48 | 2018-10-29T18:48:48 | 151,834,087 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 991 | cpp | #include "Vector3.h"
#include <math.h>
Vector3::Vector3(){}
Vector3::Vector3(float x, float y, float z) : x(x), y(y), z(z) {}
Vector3::Vector3(const Vector3 &vec3) : x(vec3.x), y(vec3.y), z(vec3.z) {}
Vector3::~Vector3(){}
const float Vector3::getX() { return this->x; }
const float Vector3::getY() { return this->y... | [
"borja.sasieta@gmail.com"
] | borja.sasieta@gmail.com |
18722212b11dc33abed69971de2f697bf0b01932 | 5971ce02ad593cc4c42a7473b0ed3c0de5e39822 | /transitive.cpp | dd52c157fe5cd4bd72824bd882cb222b1b0d8b96 | [] | no_license | vishalpathak24/MPIGraph | e1e22ffccae2e39589f47a26230a0209ccfb7a17 | 76e7aa1b1a924f72c616ebd2e5729dc1f1e453b4 | refs/heads/master | 2021-01-19T09:38:33.356719 | 2017-04-10T07:09:26 | 2017-04-10T07:09:26 | 87,777,991 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 136 | cpp | #include <iostream>
#include <vector>
using namespace std;
typedef struct TQuery{
int start;
int end;
vector <int> list;
}TQuery;
| [
"vishalpathak24@gmail.com"
] | vishalpathak24@gmail.com |
76f9c4a32d7dd2847fa3be0d1fb299bebe2d9b33 | 0a540cea0e3d8d1e6168be111148d899254b6822 | /SPS/ueg/JuliaMengen/cudaerror.h | 73830d5634e80e5d92dfb400f80a01251bfb262e | [] | no_license | theZnorf/esdexercises | 0b47ab103f61958c7dbf3676ace043597031d04c | dd3bf377191e28cbd6f945fa713a0db578a205cc | refs/heads/master | 2020-12-31T04:41:31.624351 | 2016-03-03T13:49:57 | 2016-03-03T13:49:57 | 43,483,834 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,066 | h | // $Id: snippet-1.h 26270 2014-10-23 08:25:40Z p20068 $
// $URL: https://svn01.fh-hagenberg.at/bin/cepheiden/vocational/teaching/ESD/SPS3/2015-WS/Ablauf/src/HelloWorld/src/snippet-1.h $
// $Revision: 26270 $
// $Date: 2014-10-23 10:25:40 +0200 (Do., 23 Okt 2014) $
// Creator: peter.kulczycki<AT>fh-hage... | [
"franz.profelt@gmail.com"
] | franz.profelt@gmail.com |
7fa114652202c97598f28b4d79fdc3919eef2f3e | 79ffba00f7bb09d3c4f428ab0d449a8d1f71b538 | /Weapon.h | 49fe68cacf826167456458ef984bece24d4e6173 | [] | no_license | TMalicki/Alpacator-SFML | c933ceb3935aa9a315048520985f6f640640e56a | dbe72867727d1d797ea20031f6026f9e66aa9a7c | refs/heads/master | 2020-12-20T17:58:30.402723 | 2020-07-30T14:24:04 | 2020-07-30T14:24:04 | 236,162,535 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 555 | h | #ifndef WEAPON_H
#define WEAPON_H
#include <iostream>
#include "Items.h"
#include <SFML/Graphics.hpp>
using namespace std;
class Weapon : public Items
{
private:
string type;
public:
Weapon(string t = "Brak", int atk = 0, int def = 0, int agil = 0, int stam = 0, int hp = 0, int durab = 0) : type(t), ... | [
"noreply@github.com"
] | TMalicki.noreply@github.com |
bf376437336390a6c1e9dba5a8706a97221b6838 | 5ce88d26b1058da21ce211a12dee34ce59972a6c | /Lab2/Lab2/Source.cpp | 93e879bd34d2f1ac9eeedcbe6ce1986ededb6fa2 | [] | no_license | DonViktorash/cpp_lab_work | b5167ebe922d6894b190012bb0ea88e754888f68 | 1a7b38ccc7193db6aa3243bce05130acf6e70501 | refs/heads/master | 2021-05-21T00:27:17.689887 | 2020-04-15T11:56:55 | 2020-04-15T11:56:55 | 252,468,949 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 1,139 | cpp | #include <iostream>
#include <vector>
//#include "stdafx.h"
using namespace std;
//главная функция
const int maxV = 1000;
int i, j, n;
int GR[maxV][maxV];
//алгоритм Флойда-Уоршелла
void FU(int D[][maxV], int V)
{
int k;
for (i = 0; i < V; i++) D[i][i] = 0;
for (k = 0; k < V; k++)
for (i = 0; i < V; i++)
for... | [
"vik.markin2014@yandex.ru"
] | vik.markin2014@yandex.ru |
1f7907bb94937bed101a5900607f348d02ceda28 | 73ce639b6840cd58ff64a81cedce86ed96078fbd | /libredex/DexCallSite.cpp | dcc4aa40328873e8e7f963f0fb4012e29592ce65 | [
"MIT"
] | permissive | benjaminRomano/redex | 87dcac555a882ea3062438cf2a7c9b53a9b2fb8d | b2558edf3371a0f388dde370092148f4d7d4b852 | refs/heads/master | 2023-08-16T00:00:50.828350 | 2021-09-17T20:58:45 | 2021-09-17T21:23:33 | 408,568,868 | 0 | 0 | MIT | 2021-09-20T19:15:00 | 2021-09-20T19:07:20 | null | UTF-8 | C++ | false | false | 1,711 | cpp | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "DexCallSite.h"
#include "DexAnnotation.h"
#include "DexClass.h"
#include "DexIdx.h"
#include "DexMethodHandle.h"
#inclu... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
00a2ba2ee92670858ae3726eedd32b9879f70733 | d514636c43099f00a264da7846fcee5842468429 | /Labs/Bigfoot/src/BF/3rdparty/strtk/strtk_serializer_example.cpp | f8ac3d22efbe72f4388aa8547e53ac4a710b86df | [
"MIT"
] | permissive | jadnohra/jad-pre-2015-dabblings | 92de27c6184a255dfdb4ed9ee2148d4bf71ced1e | 368cbd39c6371b3e48b0c67d9a83fc20eee41346 | refs/heads/master | 2021-07-22T20:07:18.651650 | 2017-11-03T11:31:18 | 2017-11-03T11:31:18 | 109,386,288 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,489 | cpp | /*
*****************************************************************
* String Toolkit Library *
* *
* Serializer Example *
* Author: Arash Partow (2002-2010) ... | [
"pinkfish@e0e46c49-be69-4f5a-ad62-21024a331aea"
] | pinkfish@e0e46c49-be69-4f5a-ad62-21024a331aea |
1a4623e87d7943aeefa7476d9e75245e69d3569d | c09b256a1cb2dafb33a6149b840a96ac7bb5ea92 | /ATourOfCPP11/Functions_12/ConstexprFunctions_5/constVsConstexpr_0.cpp | 438f202d658f2c4a1c3285e982b9705c7b9a2307 | [] | no_license | Masoudas/SampleCPlusPlusCodes | 2e7f4b3019cbfe5438f9a2490306ec4752515467 | 3945e0703f5d49fb4e86fffd3133d5076605c10e | refs/heads/master | 2021-07-08T13:09:35.512300 | 2020-10-07T15:34:23 | 2020-10-07T15:34:23 | 196,350,870 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,644 | cpp | /**
* See https://docs.microsoft.com/en-us/cpp/cpp/constexpr-cpp?view=vs-2019#:~:text=The%20primary%20difference%20between%20const,All%20constexpr%20variables%20are%20const%20.
* What's the difference between a const and a consexpr?
*
* The primary difference is that initialization of const can be deferred until r... | [
"Masoudas@hotmail.com"
] | Masoudas@hotmail.com |
b30e658df6812559716b4b16cc57715c4482accc | df8b0b089e2bf863ce2d1e471db8d34f12ada531 | /sawyer_interface/sawyer_woz/include/sawyer_woz/sawyer_woz.hpp | 968db059c20aab47879b56b1586e39506476d52e | [] | no_license | ICRA-2019/TCG | aba1af1c607626819c6900eb488b711d4e4890be | e917dada693d912c7dc6d46d379ad696c7e6a632 | refs/heads/master | 2022-02-13T07:30:28.827489 | 2018-09-04T15:49:44 | 2018-09-04T15:49:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,738 | hpp | #ifndef SAWYER_WOZINTERFACE_H
#define SAWYER_WOZINTERFACE_H
#include <QWidget>
#include <QImage>
#include <QPainter>
#include <QPaintDevice>
#include <QtGui>
#include <QLCDNumber>
#include <ros/ros.h>
#include <ros/callback_queue.h>
#include <std_msgs/String.h>
#include <std_msgs/Int8.h>
#include <std_msgs/Bool.h>
#in... | [
"eccarpio@hotmail.com"
] | eccarpio@hotmail.com |
c33dec4ee32e5ddbec1a70d1873d9846b6cdd527 | 38b7c79c386f46f53be75df5f4003ba4b2b8f1f8 | /DSA/Sorting/SelectionSortAlgo.cpp | 14cf4d5640943f5137d2cca4ade97b2972cf1b02 | [] | no_license | inioluwaa/Problem-Solving | 28c5c6e644583fc83847c597654004145688c080 | 77482ac0b0224af626bcd329a4f091058f635e73 | refs/heads/master | 2020-04-09T08:09:18.675605 | 2019-07-05T06:20:35 | 2019-07-05T06:20:35 | 158,824,806 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 556 | cpp | #include <iostream>
#include <algorithm>
#include <vector>
using namespace std;
int main() {
}
void SelectionSort(vector<int> &array) {
int minIndex, minValue;
for (int start = 0; start < (array.size() - 1); start++) {
minIndex = start;
minValue = array[start];
for (int index = sta... | [
"inioluwaakinleye@gmail.com"
] | inioluwaakinleye@gmail.com |
b35147dbec02958dd6de8ef8d8da4c857a681474 | 65ac72799ea978a9c73bcbb1cb04095637576f98 | /cpp/include/cudf/utilities/span.hpp | 7e25ea4ce2ddda3d32b2e6469b942ed94d224e90 | [
"Apache-2.0"
] | permissive | trxcllnt/cudf | fd3251d47aa9de21cf4156189326e128ce346b1d | 507299d2e75fd58a5ff1fe8d187184d287bbf23f | refs/heads/branch-0.16 | 2023-08-23T10:39:43.507170 | 2020-10-13T06:24:35 | 2020-10-13T06:24:35 | 177,693,334 | 0 | 0 | Apache-2.0 | 2020-09-04T12:57:22 | 2019-03-26T01:35:55 | C++ | UTF-8 | C++ | false | false | 5,926 | hpp | /*
* Copyright (c) 2020, NVIDIA CORPORATION.
*
* 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 ... | [
"noreply@github.com"
] | trxcllnt.noreply@github.com |
3b55d6c72cee68db3356bc76076484747cf5f9ef | 112e119bc9baf584550045b249b283b02901e0b1 | /U/Source/Overlord/NpcSystem/Character/CSPlayer.h | e97e551528104c12674a64b9e17d4ac05a87c8fe | [] | no_license | Iliketoshootunity/UE4 | 17a42513004606d1338cb902c881eee3a43ddad1 | dee869b5594002d621ca86131c961db4a2e0d084 | refs/heads/master | 2020-12-13T15:24:17.615337 | 2020-01-17T09:50:07 | 2020-01-17T09:50:07 | 234,457,306 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 853 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "Protoc/fight.pb.h"
#include "Protoc/move.pb.h"
#include "CSCharacter.h"
#include "CSPlayer.generated.h"
/**
*
*/
UCLASS()
class OVERLORD_API ACSPlayer : public ACSCharacter
{
GENERATED_BO... | [
"34265768+Iliketoshootunity@users.noreply.github.com"
] | 34265768+Iliketoshootunity@users.noreply.github.com |
cd501f73ea695a4cb81e28860c5d6d20f7c957c1 | 3aa583042109255f69ddbb7259b14b2e3ae95f29 | /main.cpp | 1292d2aa69e0a83e386160a2f3bc8ad6b3e1c930 | [] | no_license | Simmiyo/2_tema15 | 6694bc5f89786584fd33f77b3b6744abc52f877b | f4435a5d845ad4b08934c5471cc6557178ccbce1 | refs/heads/master | 2020-05-06T13:45:48.090556 | 2019-04-08T18:49:28 | 2019-04-08T18:49:28 | 180,154,662 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,275 | cpp | #include <iostream>
#include <fstream>
#include "Clasa_Vector.h"
#include "Clasa_Nr_natural.h"
#include "Clasa_Nr_intreg.h"
using namespace std;
template <class clasa> void Swap(clasa &a,clasa &b)
{
clasa aux;
aux = a;
a = b;
b = aux;
}
template <class clasa> void Sort(clasa *v,int n)
{
int i,j =... | [
"noreply@github.com"
] | Simmiyo.noreply@github.com |
1041fe449b57da8c9cf24cc150a66ffab7a3c4ff | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5644738749267968_0/C++/Luizim/deceitfulWar.cpp | c5c7537d65adbffb29f5419d7e8ca788e6d37b21 | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 711 | cpp | #include <iostream>
#include <set>
using namespace std;
int main(){
int t;
cin>>t;
for(int i=0;i<t;i++){
int n, n1=0, n2=0;
cin>>n;
set<double> set1, set2;
for(int j=0;j<n;j++){
double aux;
cin>>aux;
set1.insert(aux);
}
for(int j=0;j<n;j++){
double aux;
cin>>aux;
set2.insert(aux);... | [
"eewestman@gmail.com"
] | eewestman@gmail.com |
6c4abe83bfcd2fc3121a808f5a44913d559f1c63 | 242b897609ebb0d23cfbcaa22a1177f47d359fab | /src/datatypes/graph.cpp | 5638f40222aa33bc888659d2b5fcd1c7546049e5 | [] | no_license | JoOkuma/segm | 868e7e2ae7a647d3f2902949d67a017d23efee1e | 6d3ea82c4ee6dcc94c26db8e9d03392397646449 | refs/heads/master | 2020-04-16T05:03:04.813817 | 2019-08-30T14:48:11 | 2019-08-30T14:48:11 | 165,291,286 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 42 | cpp |
#include "graph.h"
using namespace segm; | [
"jordao.bragantini@gmail.com"
] | jordao.bragantini@gmail.com |
91cd12d72e82267442f1ac75b2e9077ed4c93ffa | 3c1abab292ef3ae73604621e299b5def07e7b403 | /PiscineCPP/day00/ex00/megaphone.cpp | 89e9e3eec7daf4d14694b9c989f126f8b9bd31f0 | [] | no_license | hdelanoe/42born2code | 672dc0c63e00902582f9ffa1be11cfb01b98fef4 | 2ecb5ceb7131900b3ca15379ec1c16a508c63e2c | refs/heads/master | 2021-01-20T12:28:02.109625 | 2019-05-08T13:28:55 | 2019-05-08T13:28:55 | 89,773,613 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,237 | cpp | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* megaphone.cpp :+: :+: :+: ... | [
"delanoe.hugo@gmail.com"
] | delanoe.hugo@gmail.com |
878f8106872a5f664026cd5589fe1f0687535996 | 3e45eb6d621659714b79192568c54e53be9ef290 | /admin/thirdparty/bbclone/ip2ext/74.inc | 4841de37b5a73989205b803ca82eb04fb2d165e8 | [] | no_license | Rafaj-Design/WebGuru | 233317c39bafced10c1ee728d2f0a05031c7d15a | f6bf85f149d14630deda57a06d361fd6758817eb | refs/heads/master | 2021-05-26T16:54:20.748036 | 2013-04-26T12:20:13 | 2013-04-26T12:20:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,203 | inc | us|1241513984|131072
us|1241776128|4096
us|1241907200|98304
us|1242038272|65536
ca|1242300416|262144
us|1242562560|1703936
ca|1244659712|65536
us|1244790784|4096
us|1244798976|4096
us|1244807168|4096
us|1244815360|4096
us|1244823552|4096
ca|1244831744|4096
us|1244839936|4096
ca|1244848128|4096
us|1244856320|4096
ca|124... | [
"ondrej.rafaj@fuerteint.com"
] | ondrej.rafaj@fuerteint.com |
f7b1b5fd5aabfcc450335cfce9586e0b913b912b | 508fff84ee929a68daac4ff900d36912f0d6b6ed | /WSEExternal/include/Common/Serialize/Util/hkChainedClassNameRegistry.h | 7c16cc88ca16b87c23d029c645bc168a9f78010f | [
"WTFPL"
] | permissive | blockspacer/wse | f2e05755ba1263c645d0b021548a73e5a5a33ba6 | 3ad901f1a463139b320c30ea08bdc343358ea6b6 | refs/heads/master | 2023-03-16T13:15:04.153026 | 2014-02-13T08:10:03 | 2014-02-13T08:10:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,884 | h | /*
*
* Confidential Information of Telekinesys Research Limited (t/a Havok). Not for disclosure or distribution without Havok's
* prior written consent. This software contains code, techniques and know-how which is confidential and proprietary to Havok.
* Level 2 and Level 3 source code contains trade secrets... | [
"690187+Swyter@users.noreply.github.com"
] | 690187+Swyter@users.noreply.github.com |
09f6c2a04595dcb50f408d8466530f0e171d35c2 | 6fa16a9321d8d968c8524eaf29e08602cbd50f33 | /examples/01-REQ-REP/clientREQ.cpp | 1962497b2b32d52c0f665539a105bfe7809d35ba | [
"MIT"
] | permissive | skyformat99/zmqHelper | cb975fd502f926c83ccbbf19ea6e1ab19c789396 | badb1b1f4589866f9de1fe1cbb0be170a63b14f5 | refs/heads/master | 2020-12-28T19:23:45.085523 | 2014-12-29T12:59:34 | 2014-12-29T12:59:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,016 | cpp |
// -----------------------------------------------------------------
// clientREQ.cpp
// -----------------------------------------------------------------
#include <zmq.hpp>
#include <string>
#include <iostream>
#include "../../zmqHelper.h"
// -----------------------------------------------------------------
// --... | [
"cibercitizen1@gmail.com"
] | cibercitizen1@gmail.com |
fa6855ff814e79117b6c9fcd5731d06b84130a04 | eac31c4934320fd87e6a181c00a390aca0f51455 | /project/win32/third_party/fox/include/FXDirDialog.h | 999e92692c6f973d97ee4453d995405187d5e8f5 | [] | no_license | zhanglehs/rtc21 | 0ab5a213479d4d98c2e8087013c4f189887c4a8e | 54f9c1fb8d634e2e27b45b48bb6a2e8978191df0 | refs/heads/master | 2021-09-07T20:56:49.582627 | 2018-03-01T01:40:52 | 2018-03-01T01:40:52 | 98,876,600 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 4,018 | h | /********************************************************************************
* *
* D i r e c t o r y S e l e c t i o n D i a l o g *
* ... | [
"zl124548@youku.com"
] | zl124548@youku.com |
2143a21dd25822be2350977687b36f1ab01b25df | 4b7bbca74248ac244eec794b7181a8196c5e6b34 | /archive/LeetCode/leetcode-medium-654-Maximum Binary Tree.cpp | 68800badda240d59fefb11efac7f11eb59f85bbb | [] | no_license | macans/algorithm-problems | 6bba1b42019dcea76044c3398ce534332a997d40 | c976610773f08fd059dd7b5ac11c4b5a2f475543 | refs/heads/master | 2022-09-14T05:42:41.538584 | 2022-08-15T02:29:59 | 2022-08-15T02:29:59 | 128,619,483 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,786 | cpp | /**
* @authors: https://github.com/macans
* @date: 2020-05-29 21:19:15
*/
#include <vector>
#include <string>
#include <map>
#include <set>
#include <stack>
#include <iostream>
using namespace std;
struct TreeNode {
int val;
TreeNode *left;
TreeNode *right;
TreeNode() : val(0), left(nullptr), right(... | [
"jzhaa@amazon.com"
] | jzhaa@amazon.com |
3225ca177b48f83f9061897325d56189b330cc82 | 17c2db030b06e193ed96ae4f6a21860e22a6661d | /libjulia/usr/include/llvm/Config/AsmPrinters.def | 7cb52aaf15ea6ac5c0366a2cb38da2f7bb35b137 | [
"MIT",
"BSD-3-Clause"
] | permissive | tshort/jl2js-dock | ef19fc34e988a020d9bc45b4e8befe9dc1b8162f | cc1e7f3512d20e3870848d34fd1773bbbf87eac6 | refs/heads/master | 2021-06-29T05:10:52.583507 | 2017-09-24T13:19:00 | 2017-09-24T13:19:00 | 104,154,517 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,869 | def | /*===- llvm/Config/AsmPrinters.def - LLVM Assembly Printers -----*- C++ -*-===*\
|* *|
|* The LLVM Compiler Infrastructure *|
|* ... | [
"tshort.rlists@gmail.com"
] | tshort.rlists@gmail.com |
f42d77aa1e1eb833c342ea7f882f6883057cc3e6 | 0444cfef309d88c36885041ea9b5c151729c0a1b | /dlv/dlv_channelpage.h | 0465aafca7b3f172a77c75938a795ba1573845dd | [] | no_license | matthklo/dill | 7c976f7aabbd9e0f2eab449b74678fd53723b585 | e22a4fac70c952bff46bbb5e658ce7b6798d3fe6 | refs/heads/master | 2020-04-25T12:46:45.131420 | 2013-05-27T15:08:25 | 2013-05-27T15:08:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,898 | h | /*
* Copyright (c) 2013, hklo.tw@gmail.com
* 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 co... | [
"hklo.tw@gmail.com"
] | hklo.tw@gmail.com |
89e22a255c6c158e9a5d88db011d2532ce4ebfd4 | 3be3e4e5280b0803ae3a6a06467854b41afa0501 | /mainwindow.cpp | 2098761590eaa0f99c4c7b5f3a4ca476be2b67f0 | [] | no_license | AlexBeem/POV-Globe-1 | 01805a718313cd52473426a0459665585169f9e1 | 5de18f9e5e45e71916fc1fe977d98a167cd8d3c7 | refs/heads/master | 2021-09-23T17:39:18.363228 | 2018-09-25T20:41:31 | 2018-09-25T20:41:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,256 | cpp | #include "mainwindow.h"
#include "ui_mainwindow.h"
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::MainWindow)
{
ui->setupUi(this);
ui->stackedWidget->addWidget(&hPage);
setWindowTitle("POV Globe - login");
setupLayout();
}
MainWindow::~MainWindow()
{
delete ui;
... | [
"stefangroenendijk1998@hotmail.com"
] | stefangroenendijk1998@hotmail.com |
0cfcc9a7621dda6ad8884c568497bde7edcc1bd1 | ffd6e7f0f3dc76e41c7784bebdd28973191900f2 | /USACO/lifeguards.cpp | c72c0b04fedd047f391ec66e60b038e819db5331 | [] | no_license | theopan8/competitive-programming | e12a1b2f8a00748d7170ec8c130c0bfdb605baa8 | c507102b204e09ccd037dd37e6e3677dae1bb89c | refs/heads/main | 2023-07-22T20:56:39.956584 | 2021-08-31T20:57:11 | 2021-08-31T20:57:11 | 387,005,395 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,404 | cpp | #include <iostream>
#include <vector>
#include <algorithm>
#include <string>
#include <map>
#include <cstdio>
#include <utility>
#include <queue>
#include <math.h>
#include <set>
#include <bitset>
#include <cmath>
#include <bitset>
#include <cstring>
#include <limits>
using namespace std;
#define maxn 100010
#define m... | [
"noreply@github.com"
] | theopan8.noreply@github.com |
3c99a729a848ecf09a93c026978c8babe583d80a | 384c999fc76e0bbeb2b2f01f0a800d3e357b2e2f | /src/talon_state_controller/include/talon_state_controller/talon_config_controller.h | 1919917f41fba7da12f58690a1c0b6862b639f51 | [] | no_license | MatthewWalstra/Swerve_ws | ba9129ea7458b3e2d38b2ad263ca34ebff87f8d4 | 26a50455fcdfbe1592e67fda357e6464fca9218d | refs/heads/master | 2022-12-09T21:29:00.438377 | 2020-06-28T20:47:42 | 2020-06-28T20:47:42 | 275,479,820 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,884 | h | ///////////////////////////////////////////////////////////////////////////////
// Copyright (C) 2012, hiDOF INC.
//
// 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 ... | [
"you@example.com"
] | you@example.com |
dbc33451f825635085b0b29aab845179593cc849 | 2e29f4158e2941eb2ddf128743545793b92581c5 | /33/using_frnd_func_add_two_complex_by_overloading_plus_operator/main.cpp | 0f301e80b85c9ffd7b8a7360a0664d3982c726c8 | [] | no_license | adamug/100_days_of_C_and_CPP_coding | de9ddb837f27e0a66d50d4a043be520e6439c90e | f824584a099f817dfe2f090979dc6f0deee57bcd | refs/heads/master | 2023-01-11T01:02:26.517577 | 2020-11-07T08:15:10 | 2020-11-07T08:15:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 676 | cpp | #include <iostream>
using namespace std;
class complex{
float real,imag;
public:
complex(){}
complex(float x,float y){
real=x;imag=y;
}
void display(void){
cout<<real<<" + j "<<imag<<"\n";
}
friend complex operator+(complex,complex);
};
complex operator+(complex c,complex c2)... | [
"aman.arju427742@gmail.com"
] | aman.arju427742@gmail.com |
c57cf08baae42a1fdc0a7d77276027001a5fbc0c | 265668bdec1f5f37c7f4345ef867ac0fe2eab921 | /c++ code/析构函数.cpp | 693557ead4a6e7babb3eb3efaa2991580d4f99e7 | [] | no_license | kongchenglc/C-and-C-code | 338751cda76721acc81c77b529386d92ad7de708 | 3b3774a2ed5a0ab3f849165e7be54bc2b6354cd1 | refs/heads/master | 2020-06-26T00:29:22.248690 | 2018-01-24T05:26:03 | 2018-01-24T05:26:03 | 96,998,094 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 713 | cpp | #include <iostream>
using namespace std;
class A {
public :int n;
A(int _n=10):n(_n) {
cout<<"A("<<n<<")构造\t";
}
~A(){
cout<<"A("<<n<<")析构\t";
}
};
class B {
public :int m;
B(int _n=20):m(_n),a(_n) {
cout<<"B("<<m<<")构造\t";
}
~B(){
cout<<"B("<<m<<")析构\t";
}
A a;
};
B *gp,gb(30);
void fun4()
{
st... | [
"kongchenglc@gmail.com"
] | kongchenglc@gmail.com |
259d37d09d42c5c7ed9701d8e67e72af429e4d21 | 54e053623f4c8ca9c483ee601fa2d6f9a5c503d2 | /bind/interface/ILuaApiT.h | 36d519b05bdc39e904ed95f2e1ed6db13bc2af8b | [
"MIT"
] | permissive | murisly/luaband | be95fafb6a4d509214a304735aaf78ee0a5d3a0a | 07a620b622916c272b1f61005b3d1d7c4c489242 | refs/heads/master | 2021-01-22T02:17:47.708786 | 2017-02-16T06:38:42 | 2017-02-16T06:38:42 | 81,042,553 | 6 | 0 | null | null | null | null | GB18030 | C++ | false | false | 4,326 | h | #pragma once
#include "ILuaApi.h"
#include "enginehelp/LuaVarint.h"
#include "memory/ref_counted.h"
template <class T>
struct _APIDISP_MAP_ENTRY
{
PCSTR pszName;
long (T::*pfn)(const binding::lua::DISP_PARAMS&, binding::lua::CLuaVariant&);
PCSTR pszArgFlags;
};
#define BEGIN_APIDISP_MAP(_class)\
static const _A... | [
"murisly2015@gmail.com"
] | murisly2015@gmail.com |
d55ea2fd70832927306169fcbf4912e1052fd893 | 22cebbf3ddc30ca86c6b54014ff6344432ca608a | /include/3dim/graph/osg/CModelDragger3D.h | f0d529080958d7205476aa171ae056a227c06cef | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | nneerr123/3dimviewer | fd35b79f619f657fd52fe1d18a78c08d9841fb27 | e23a3147edc35034ef4b75eae9ccdcbc7192b1a1 | refs/heads/master | 2022-04-08T22:41:10.162793 | 2020-03-03T08:32:14 | 2020-03-03T08:32:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,555 | h | ///////////////////////////////////////////////////////////////////////////////
// $Id$
//
// 3DimViewer
// Lightweight 3D DICOM viewer.
//
// Copyright 2008-2016 3Dim Laboratory s.r.o.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the Licen... | [
"stanek@3dim-laboratory.cz"
] | stanek@3dim-laboratory.cz |
cc4898a958b7f742f14b10856dd132eb858237c3 | 29588978cf19800f7dd7e4acdcb24e04e37adfba | /tests/test_get.cpp | d8ce18c190bc5c0d20474048e0ae61689d77666d | [
"MIT"
] | permissive | kurtsansom/toml11 | 4550efa48e8ef8d5b23b49c4e89a61caa4577bba | aa6fd03ce7588cffb4abd222f9946d32e3235910 | refs/heads/master | 2020-08-15T15:17:48.077930 | 2019-11-08T15:24:54 | 2019-11-08T15:24:54 | 215,362,438 | 0 | 1 | MIT | 2019-11-08T15:24:56 | 2019-10-15T17:53:49 | null | UTF-8 | C++ | false | false | 17,842 | cpp | #define BOOST_TEST_MODULE "test_get"
#ifdef UNITTEST_FRAMEWORK_LIBRARY_EXIST
#include <boost/test/unit_test.hpp>
#else
#define BOOST_TEST_NO_LIB
#include <boost/test/included/unit_test.hpp>
#endif
#include <toml.hpp>
#include <map>
#include <unordered_map>
#include <list>
#include <deque>
#include <array>
#include <tup... | [
"niina.toru.68u@gmail.com"
] | niina.toru.68u@gmail.com |
e94d746a91983ab48754664de1dead904909b88c | d771c4e4c4d2b4a4925afe235aac8cb7efdd12b4 | /main.cpp | 819a3e9b1d35e77ece016ddfb56b9e7d6ff8a967 | [] | no_license | objektowe123/cw-2 | 77eb164656e46a55a2f31d5ddf80a540bba612e6 | fda9a47a2b0d5c979099c1727c762bdbb7902a31 | refs/heads/master | 2021-07-08T12:23:44.809212 | 2017-10-03T19:23:41 | 2017-10-03T19:23:41 | 105,558,047 | 0 | 0 | null | null | null | null | WINDOWS-1250 | C++ | false | false | 955 | cpp | #include <iostream>
#include <cstdlib>
#include <windows.h>
using namespace std;
void gotoxy( int column, int line )
{
COORD coord;
coord.X = column;
coord.Y = line;
SetConsoleCursorPosition(
GetStdHandle( STD_OUTPUT_HANDLE ),
coord
);
}
int main()
{
int wiersz=1;
int x= 40;
int y =1... | [
"przemek19961996@o2.pl"
] | przemek19961996@o2.pl |
c80b8f15aa396b756caf8e18f7d8d2d6fbf2bbfd | 840877399be53611e086f898c37d6b2179b8248f | /proj7/tester.cpp | d6153f2498f4449523f14c32306a9bae895d9f7a | [] | no_license | BryceAllen613/112 | e1fdb9e7943b177aea9a35f0f5c5196116d1acb0 | ecb04b3482a6dc88221910395c0de27840bd29d9 | refs/heads/master | 2020-08-16T23:44:12.518871 | 2019-10-16T14:51:05 | 2019-10-16T14:51:05 | 215,572,940 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 694 | cpp | /* tester.cpp is a "driver" to run the tests in the StackTester class.
* Joel Adams, for CS 112 at Calvin College.
*/
#include "StackTester.h"
#include "ReversePoemTester.h"
#include "ReversePoem.h"
#include <iostream>
using namespace std;
int main() {
StackTester st;
st.runTests();
ReversePoemTester rpt;
rpt... | [
"bryceallen@dhcp93-151.calvin.edu"
] | bryceallen@dhcp93-151.calvin.edu |
0012b78df1803a348abcdff1354c521d707c73ac | 8ead33955285de594502c56b0c5699be31be3946 | /Plugins/AirSim/Source/AirLib/include/physics/PhysicsBody.hpp | 822e2751f40e22176e7280d44f64c7824b6f9c15 | [] | no_license | ece496-Telecopter/PointFollow | e936d13adc51fc72b4b446fac24fb829658172f1 | f39da461528f2ff91d38c2a882b7ad420e9d2d53 | refs/heads/master | 2023-01-18T21:07:43.304981 | 2020-11-25T19:42:34 | 2020-11-25T19:42:34 | 316,028,953 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 129 | hpp | version https://git-lfs.github.com/spec/v1
oid sha256:33f5d955c146528f0d2b884c4037dbe75db8468bc2aec76d84c9536b129cd798
size 6523
| [
"me@sarhad.me"
] | me@sarhad.me |
fef72a53f16a7c0e5ec04f68acaf89ed9cac9ecd | 406e622740fcec70f6f6de40e3d92b7569507dce | /src/examples/raytracinginoneweekend/main.cpp | 28a1c1f74be44f4ae837d5a1b4b310b6cac71f96 | [
"MIT"
] | permissive | MZSATC/visionaray | 9ac96c53a3ded8cbfb225ac124083d1677a69058 | f90c809cefa33002dc51903bbd5ffadc96b6b90e | refs/heads/master | 2020-06-27T16:53:50.688609 | 2019-07-29T22:05:52 | 2019-07-29T22:05:52 | 200,001,802 | 0 | 1 | null | 2019-08-01T07:37:54 | 2019-08-01T07:37:54 | null | UTF-8 | C++ | false | false | 8,901 | cpp | // This file is distributed under the MIT license.
// See the LICENSE file for details.
//-------------------------------------------------------------------------------------------------
// This file is based on Peter Shirley's book "Ray Tracing in One Weekend"
//
#include <cstdlib>
#include <iostream>
#include <ost... | [
"info@szellmann.de"
] | info@szellmann.de |
360115cd96aea3638fb8db1654da204743f71be0 | 5c271235bfa0db6b5731baa88d942a4047e90279 | /pgcityways/pgcityways-test/PgCityWaysTest.cpp | 38eb3b9949c59338ac087b6fb47e82cfd69ef33c | [] | no_license | rshafeev/busweb-conf | 0aac1a3f350be805289af1a30bf188fbc58424a9 | 16983138a1b80526ce2ffacdce4f1d82a2c98ced | refs/heads/master | 2020-06-14T02:48:41.287269 | 2015-01-16T09:40:02 | 2015-01-16T09:40:02 | 194,872,908 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 707 | cpp | #ifndef PGCITYWAYSTEST_H
#define PGCITYWAYSTEST_H
#include <QtTest>
#include "core/graphdata.h"
class PgCityWaysTest : public QObject
{
Q_OBJECT
public:
std::shared_ptr<GraphData> graphData;
private Q_SLOTS:
void initTestCase()
{
TestGraphDataLoader loader;
graphData = loader.l... | [
"rs@premiumgis.com"
] | rs@premiumgis.com |
3cd865faba2aa6b557ef7e38561e6d12afa81670 | 7e3f0030e8afca8b420c390a8851b26a65c93272 | /Sound Reactive and Normal Patterns/waterfall.ino | e832b9e16662555097f05cb31b807b49ab3bb8e7 | [] | no_license | ShreyT-hash/DIY-LED-Visualizer | 935550503c33b61d1d09c610411da731967b3a3c | b0e7d965e0f074a11dbc6b0944929ffbc11ba6ec | refs/heads/master | 2021-06-29T14:17:35.756611 | 2021-05-20T06:14:40 | 2021-05-20T06:14:40 | 232,185,380 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,165 | ino | #include <FastLED.h>
// How many leds in your strip?
#define NUM_LEDS 20
#define MicSamples (1024*2)
#define SCROLL_SPEED 20
int audio = A0;
unsigned long rr;
#define DATA_PIN 6
CRGB leds[NUM_LEDS];
void setup() {
delay( 3000 ); // power-up safety delay
FastLED.addLeds<NEOPIXEL, DATA_PIN>(leds, NUM_LEDS);
FastLE... | [
"tshrey@students.cs.ubc.ca"
] | tshrey@students.cs.ubc.ca |
beb6be29a2f878375603c3d5489fd4d1e9542947 | bced6a50319e23cb642e770e3f7a0a7b17d5fc46 | /runtime/cpp/test/CountPeersTest.cpp | 0b4fb87b7470a05482b51394c16a21d389bb0dc8 | [
"Apache-2.0"
] | permissive | yliu120/K3 | d17e5c21799c28f76dd41568ca2c6071536c45a3 | dc744e80da0583bdd6a97e733918dd7d3bc0839c | refs/heads/master | 2021-01-21T01:21:07.090214 | 2015-06-16T19:37:19 | 2015-06-16T19:37:19 | 42,563,431 | 0 | 0 | null | 2015-09-16T03:55:25 | 2015-09-16T03:55:25 | null | UTF-8 | C++ | false | false | 5,307 | cpp | #include <Common.hpp>
#include <Engine.hpp>
#include <Dispatch.hpp>
#include <MessageProcessor.hpp>
#include <test/TestUtils.hpp>
#include <functional>
#include <iostream>
#include <sstream>
#include <boost/regex.hpp>
#include <boost/thread/thread.hpp>
#include <xUnit++/xUnit++.h>
FACT("Simulation mode CountPeers w... | [
"joshdub223@gmail.com"
] | joshdub223@gmail.com |
56ecf0facd13e276cd20decac832dbda1b6248e7 | dec4ef167e1ce49062645cbf036be324ea677b5e | /SDK/PUBG_WeapSickle_parameters.hpp | 0212abb36764b4727901b910bd97e4c17d68a9c3 | [] | no_license | qrluc/pubg-sdk-3.7.19.5 | 519746887fa2204f27f5c16354049a8527367bfb | 583559ee1fb428e8ba76398486c281099e92e011 | refs/heads/master | 2021-04-15T06:40:38.144620 | 2018-03-26T00:55:36 | 2018-03-26T00:55:36 | 126,754,368 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 383 | hpp | #pragma once
// PlayerUnknown's Battlegrounds (3.5.7.7) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "PUBG_WeapSickle_classes.hpp"
namespace PUBG
{
//---------------------------------------------------------------------------
//Parameters
//-----------------------------------------------------------... | [
"qrl@uc.com"
] | qrl@uc.com |
d0ebb4d817121df1c8e9faff85baf8e166f70c68 | 16e3d9643c7a628b56756e26db0f9bb7311e7379 | /main.cpp | bed1c28eedffa0fffeb6422d4f7a528c33bb6dba | [] | no_license | someilay/Yandex_Internship_2021_Task_C | 95a6d463a5f65d83063364e3b2255d98a11b9dc5 | a1bbc8a85577ea8f1b4942355306c9e376044c98 | refs/heads/main | 2023-04-03T06:25:45.333745 | 2021-04-08T06:56:40 | 2021-04-08T06:56:40 | 354,888,603 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,266 | cpp | #include <iostream>
#include <ctime>
#define TEST 0
struct pair {
int value;
int index;
};
typedef struct pair Pair;
Pair *createPair(int v, int i) {
Pair *out = new Pair();
out->index = i;
out->value = v;
return out;
}
void mergeSort(Pair **arr, int size) {
if (size > 1) {
merge... | [
"noreply@github.com"
] | someilay.noreply@github.com |
333fe09f3c0f4776c8821190e60906af657b4923 | cf710c6ff4ed0d68147400545d411c21ace18806 | /thrift/compiler/test/fixtures/mcpp2-compare/gen-cpp2/enums_types.h | 04a43f84dbe2651f24eb5d6d628b232389896425 | [
"Apache-2.0"
] | permissive | dendisuhubdy/fbthrift | fdb1f9edda96b00a3c088773fea4fe8da0d7eef2 | e91d5cbe21246bfabc2f0af353c7a7b7da382983 | refs/heads/master | 2020-05-23T16:01:32.960752 | 2019-05-15T02:59:45 | 2019-05-15T03:08:17 | 186,839,215 | 0 | 0 | Apache-2.0 | 2019-12-09T07:14:46 | 2019-05-15T14:05:48 | C++ | UTF-8 | C++ | false | false | 8,484 | h | /**
* Autogenerated by Thrift
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
#pragma once
#include <thrift/lib/cpp2/GeneratedHeaderHelper.h>
#include <thrift/lib/cpp2/Thrift.h>
#include <thrift/lib/cpp2/gen/module_types_h.h>
#include <thrift/lib/cpp2/protocol/Protocol.h>
/... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
25b241f17818205b7ee87a45aa9e08f185f5a7e0 | d6b40d09f08a30ece3d4f29d46158ddbabc609e4 | /Bamboo/src/Bamboo/Timing.h | d5f709830c5d85db40d367f1244f707ff8641f8d | [] | no_license | Buddy99/Bamboo | 1f4b48baf0995148c2b44153ddffe1742b7d29a6 | f912ebd368e3e98f99adcb1fd3c2b1d2fd2171af | refs/heads/main | 2023-04-21T22:39:53.473854 | 2021-05-01T20:08:20 | 2021-05-01T20:08:20 | 344,511,350 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 617 | h | #pragma once
#include "Core.h"
#include <chrono>
namespace Bamboo
{
class BAMBOO_API Timing
{
public:
static void Init();
static double GetTimeSinceStartup();
static void SetFixedFrameTime(double frameTime);
static double GetFixedFrameTime();
static void SetRenderFrameTime(double frameTime);
static d... | [
"anjahandl22@gmail.com"
] | anjahandl22@gmail.com |
81380591131be299d1f0e943923ba7755916745f | 0bee11d8cbf3290d1facde59e15924efe0eca705 | /MID.cpp | 2b07a31fcd35f1e1d273596c5c51b985fb1de998 | [] | no_license | verontanos/OOP | 5382c4d0a1b542b9fe640effbb98b70a69c5688b | 4e09ca48556482d3496cb6fa140210459c331f3a | refs/heads/main | 2023-04-28T00:18:24.000885 | 2021-05-15T14:59:47 | 2021-05-15T14:59:47 | 338,974,961 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,048 | cpp | #include<iostream>
using namespace std;
class mahasiswa{
public:
int assigment;
int quiz;
int attendance;
int mid_test;
int final_test;
void Student(){
int grade[3];
int N;
cout<<"Grading system ver1.0\n";
cout<<"=======================\n";
cout<<"Enter number of students:"... | [
"noreply@github.com"
] | verontanos.noreply@github.com |
2fae3013f48a23c3461491c8455bab705a880eed | d55d52747adfb7e8944abac10076a99553ad5f8b | /connected_component.h | b1174c1e8b47cfcad9c60012658d2a34f31a7b6f | [] | no_license | akevli/FlightPaths | 1fd181dd24fbaa0594d95c05870d2b99e4337889 | 8cef2a8e832fcdf37f923c7da944727e24255caf | refs/heads/master | 2023-02-12T19:19:33.204465 | 2021-01-10T20:39:50 | 2021-01-10T20:39:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 906 | h | #pragma once
#include <queue>
#include <fstream>
#include <iostream>
#include "edge.h"
#include "graph.h"
using namespace std;
class ConnectedComponents {
private:
vector<int> elems;
public:
/**
* @param num - Number of elements to add to the disjoint set
*/
void... | [
"akli2@illinois.edu"
] | akli2@illinois.edu |
81e256bdb19e8379e2bae28e8df69007c9190495 | 630a68871d4cdcc9dbc1f8ac8b44f579ff994ecf | /myodd/boost/libs/hana/example/functional/lockstep.cpp | 3ad2f44763681ed095f916ec8e8c7a311b7d63f4 | [
"MIT",
"BSL-1.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | FFMG/myoddweb.piger | b56b3529346d9a1ed23034098356ea420c04929d | 6f5a183940661bd7457e6a497fd39509e186cbf5 | refs/heads/master | 2023-01-09T12:45:27.156140 | 2022-12-31T12:40:31 | 2022-12-31T12:40:31 | 52,210,495 | 19 | 2 | MIT | 2022-12-31T12:40:32 | 2016-02-21T14:31:50 | C++ | UTF-8 | C++ | false | false | 514 | cpp | // Copyright Louis Dionne 2013-2016
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
#include <boost/hana/functional/lockstep.hpp>
#include <boost/hana/plus.hpp>
namespace hana = boost::hana;
constexpr int to_int(char c) {... | [
"github@myoddweb.com"
] | github@myoddweb.com |
6c12e092a6ed5e53ccd5e776767b7865f0533405 | 21492f2b68460b11981a13c7c8487ef2ba71c43d | /Assignments/Assignment 1/Yuvraj/AS4.cpp | 5349c50ce7243fd451aa3be9f1788bb4083677a8 | [] | no_license | sukhsagar/Coditude1.0 | 8f666dc9a7caf6f2706b74505916119bed917fc6 | 2ecbce98cc9496750af0b914ba7962135e26d1d3 | refs/heads/master | 2020-06-02T10:59:17.904617 | 2019-06-12T20:23:09 | 2019-06-12T20:23:09 | 191,133,653 | 1 | 0 | null | 2019-06-12T20:23:10 | 2019-06-10T09:04:36 | C++ | UTF-8 | C++ | false | false | 277 | cpp | #include<iostream>
#include<conio.h>
using namespace std;
int main()
{
int i,j,start,end;
cout<<"enter the staring and end point of series";
cin>>start>>end;
cout<<"series is :";
i=start-1;
while(i<=end)
{
cout<<start<<"\t"<<i<<"\t";
start++;
i++;
}
return 0;
}
| [
"sukhsagar.batra@gmail.com"
] | sukhsagar.batra@gmail.com |
f3c235501ff1d50404d337e63e3491010400bdab | 31f04b398eec5065a907643b31396ada0a7a500b | /GutlandLiberatus/Weapon.h | abf2f9744074413d4e5ed2751e7bbd4039dda49c | [] | no_license | Dequilla/Gutland-Liberatus | a0b6aaa4a8761ea0ec037ec7ca67048efc728c8c | f8bee8cf9aae73d253dbd4bedff0af753c981803 | refs/heads/master | 2020-12-18T12:34:40.765098 | 2016-05-30T09:30:15 | 2016-05-30T09:30:15 | 235,381,818 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 409 | h | #pragma once
#include <vector>
struct Weapon {
enum class Type {
Melee = 0,
Range
};
Weapon::Weapon(){};
Weapon::~Weapon(){};
unsigned int rangeModifier = 0;
unsigned int meleeModifier = 0;
unsigned int evasionModifier = 0;
unsigned int maxDamage = 0;
unsigned int minimumDamage = 0;
unsigned int critCh... | [
"edwin.wallin@dequilla.com"
] | edwin.wallin@dequilla.com |
76ec11513d8bd60395feede068397176ec9b1e5e | 7c63ba18dede49d24518cd8fb7d7bfa317e180a5 | /src/qrtelescope.cpp | e7cbfa29ec17398bdc4c192c2642b85cacd18960 | [] | no_license | RTS2/rts2-qt | 3211895b9db8cb736f8009b923301f5fe10e612c | e549313397067b0be0c8e5056429f4c813e53111 | refs/heads/master | 2020-04-05T11:21:55.287695 | 2017-09-08T23:42:15 | 2017-09-08T23:42:15 | 81,386,553 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,494 | cpp | #include "qrtelescope.h"
#include "qrapp.h"
#include <libnova/libnova.h>
#include <QApplication>
#include <QJsonDocument>
#include <QJsonObject>
#include <QJsonArray>
#include <QStyle>
QRTelescope::QRTelescope(const QString &_telescope, QWidget *parent) :
QWidget(parent),
telescope(_telescope)
{
mainLayo... | [
"petr@kubanek.net"
] | petr@kubanek.net |
fe33d05b4e1129e605c406127527e28838888764 | eec6fc365c7415835b4a69eaceb23a224f2abc47 | /BaekJoon/2020/2xn 타일링 2 (11727번).cpp | 378c1158bb9884204f74768238b9762e95e50600 | [] | no_license | chosh95/STUDY | 3e2381c632cebecc9a91e791a4a27a89ea6491ea | 0c88a1dd55d1826e72ebebd5626d6d83665c8431 | refs/heads/master | 2022-04-30T23:58:56.228240 | 2022-04-18T13:08:01 | 2022-04-18T13:08:01 | 166,837,216 | 3 | 1 | null | 2019-06-20T10:51:49 | 2019-01-21T15:32:03 | C++ | UTF-8 | C++ | false | false | 220 | cpp | #include <iostream>
using namespace std;
int N;
int dp[1001];
int main()
{
cin >> N;
dp[0] = 0;
dp[1] = 1;
dp[2] = 3;
for (int i = 3; i <= N; i++)
dp[i] = (dp[i - 2] * 2 + dp[i - 1]) % 10007;
cout << dp[N];
} | [
"chosh-95@hanmail.net"
] | chosh-95@hanmail.net |
6c6497623ed613719493522b9461f8c100ee53af | 1663ff6118362ab70b2dd35ce113678b4225491c | /DalitzAnalysis/src/SealModule.cc | 12bfc640c16963111e275ac4c638339daa1ed5f5 | [] | no_license | deguio/usercode | f9fd35a9ed695e751cfa413d307a9639118380f1 | 30c2072054f078a913b286dc74ab83c44df1739f | refs/heads/master | 2021-01-18T23:09:04.273206 | 2013-03-28T16:26:48 | 2013-03-28T16:26:48 | 10,270,047 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 235 | cc | #include "FWCore/Framework/interface/InputSourceMacros.h"
#include "FWCore/Framework/interface/MakerMacros.h"
#include "Dalitz/DalitzAnalysis/interface/QCDAnalyzer.h"
DEFINE_SEAL_MODULE();
DEFINE_ANOTHER_FWK_MODULE(QCDAnalyzer);
| [
""
] | |
28a6e93ba9dd7791b841290056c3a301cc8675f8 | 7a6b6a4b30f86f4a9dba1cb21ff48d185ca46c07 | /source/headers/player.h | 24d25ca52c65d4e30eee749e05cdff3caee79136 | [] | no_license | Kbman99/remaking-cavestory | 94f7cac523024e6689849644ca254ed159725a45 | 3440df6d8b2c90f45ef418f71fd76b4939b959f3 | refs/heads/master | 2020-12-21T21:47:36.437579 | 2016-08-12T05:19:02 | 2016-08-12T05:19:02 | 58,980,583 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,641 | h | #ifndef PLAYER_H
#define PLAYER_H
#include "globals.h"
#include "animatedsprite.h"
#include "slope.h"
#include "level.h"
class Graphics;
class Player : public AnimatedSprite {
public:
Player();
Player(Graphics &graphics, Vector2 spawnPoint);
void draw(Graphics &graphics);
void update(float elapsed... | [
"Kylebowman99@gmail.com"
] | Kylebowman99@gmail.com |
2d707eb5c101d86780cc87059885390e5808b493 | 7888d2af010aeed43a52c9e983f1e08586e8e227 | /QSS_SourceCode/QSS/Source/GUI/SpectrumPlotComponent.h | 43827e2c56a85daf2b103e3d1e461ea79ae7268f | [] | no_license | CreativeCodingLab/QuasarSonify | f5d4b55e3936234a8107e0ae14641d0a4c360716 | 2bab1445288074766a727cd77cb126c90450e201 | refs/heads/master | 2021-03-15T18:59:49.541446 | 2020-12-16T23:55:56 | 2020-12-16T23:55:56 | 246,873,374 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,598 | h | /*
==============================================================================
This file was auto-generated!
==============================================================================
*/
#pragma once
#include "../../JuceLibraryCode/JuceHeader.h"
#include "../AudioGraph/AudioGraph.h"
#include "../Glob... | [
"brian.hansen78@gmail.com"
] | brian.hansen78@gmail.com |
8008a00fd6638872d247796c7e8b4b2b5a034d58 | 016d77fd7e9b3587cd83fb11b805d748a11d2531 | /docs/cppprimer/part02/chapter08/src/0801.cpp | 5bb4c125d8fcd7e6e8e09c03dc1178b5dc438871 | [] | no_license | kadoyatsukasa/kadoyatsukasa.github.io | 3c88459438499abdbfd2106adc8887aca45d9404 | b765581d12962dcc2286eda994e5590907ee2dc9 | refs/heads/master | 2021-07-16T22:33:16.401357 | 2020-05-25T07:25:03 | 2020-05-25T07:25:03 | 165,992,723 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 489 | cpp | #include<iostream>
#include<string>
using std::istream;
using std::ostream;
using std::string;
using std::cout;
using std::cin;
using std::endl;
istream& get_stream(istream& stream){
string output;
while(!stream.eof())
std::getline(stream,output);
cout<<output;
stream.clear();
return... | [
"amaduesmozart@outlook.com"
] | amaduesmozart@outlook.com |
35dc56c8a3e85045ff6f241fda04126d1df5b9a0 | 39a1d46fdf2acb22759774a027a09aa9d10103ba | /inference-engine/tests/functional/plugin/cpu/single_layer_tests/pad.cpp | fb9cf3df0bb9f9a2b30a84f8afd783f88edcf44d | [
"Apache-2.0"
] | permissive | mashoujiang/openvino | 32c9c325ffe44f93a15e87305affd6099d40f3bc | bc3642538190a622265560be6d88096a18d8a842 | refs/heads/master | 2023-07-28T19:39:36.803623 | 2021-07-16T15:55:05 | 2021-07-16T15:55:05 | 355,786,209 | 1 | 3 | Apache-2.0 | 2021-06-30T01:32:47 | 2021-04-08T06:22:16 | C++ | UTF-8 | C++ | false | false | 12,033 | cpp | // Copyright (C) 2018-2021 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#include <shared_test_classes/single_layer/pad.hpp>
#include "test_utils/cpu_test_utils.hpp"
using namespace InferenceEngine;
using namespace CPUTestUtils;
namespace CPULayerTestsDefinitions {
typedef std::tuple<
LayerTes... | [
"noreply@github.com"
] | mashoujiang.noreply@github.com |
b042abe6936a4a5abf3a9d0d7ce16f3177d1a356 | fdc60d1bb095629fc48487f09e235fa743150561 | /extensions/browser/guest_view/mime_handler_view/mime_handler_view_guest.h | a448bc2c2da52c6a364cd64bb93c19cfc641c1dd | [
"BSD-3-Clause"
] | permissive | Litt1er/chromium | befd054e926c74bbb34fea6244bb694ac20f7e7b | a76fca647bd07d649d6c896974ef1a11b62f307a | refs/heads/master | 2023-03-14T19:50:05.889711 | 2019-02-20T05:22:19 | 2019-02-20T05:22:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,950 | h | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef EXTENSIONS_BROWSER_GUEST_VIEW_MIME_HANDLER_VIEW_MIME_HANDLER_VIEW_GUEST_H_
#define EXTENSIONS_BROWSER_GUEST_VIEW_MIME_HANDLER_VIEW_MIME_HANDLER_VI... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
70483ffb8f73f62f172c9d33bb4b909ff4e93659 | 3b445422416dfab14bca047a4ecc1a98ddfdc19d | /caffe-layers/interchange_layer.cpp | b05d0e3aab89b8c7d4b32f12d22f2e2636ecae38 | [] | no_license | Jensen-Su/memos | 77f2ec882894a6c4c85fb808944bf12fb4793603 | e9d9725a2317221dbcafee92bdb3dfbc724009d4 | refs/heads/master | 2021-01-18T19:11:55.394203 | 2017-09-04T00:08:59 | 2017-09-04T00:08:59 | 86,891,036 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,028 | cpp | #include <vector>
#include "caffe/layers/interchange_layer.hpp"
namespace caffe{
template <typename Dtype>
void InterchangeLayer<Dtype>::LayerSetUp(const vector<Blob<Dtype>*> &bottom,
const vector<Blob<Dtype>*> &top){
CHECK_NE(bottom[0], top[0]) << this->type() << " Layer does not allow in-place computat... | [
"jcsu14@fudan.edu.cn"
] | jcsu14@fudan.edu.cn |
c6446fb257df195598a3c92aea4fd310efdc841b | 28a61a4e042e03ff6edf6b323534dc0e3eeaeceb | /tinyxml/BookListXml.h | 05382557c583595f36d10ccaf2d650da0dd250cc | [] | no_license | no7dw/btpd | 964cdedd68dc85088dd42c4f2f507cf125c5de78 | 49998e41dc6293139e59b04beaa3bef913a37426 | refs/heads/master | 2020-04-14T09:05:17.731295 | 2014-03-24T16:47:13 | 2014-03-24T16:47:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 740 | h | #ifndef __BOOK_LIST_XML_H
#define __BOOK_LIST_XML_H
#include "XXml.h"
//#include "../deq/deq.h"
#include "../client.h"
#include <deque>
typedef deque<CourseInfo> DQCI;
//same BookList 3 obj
//no static
class BookListXml : public XXml
{
public:
BookListXml();
//BookListXml();
~BookListXml();
private:
DQCI QCI;
... | [
"no7david@gmail.com"
] | no7david@gmail.com |
43ff44158934beee52ab116fc0b7495c7a361183 | 5e695328e0f896c76620ac04260dbafc59abaa5e | /main.cpp | 60b31cdef87864bc36ab1be7b7a6e576f3a30ef6 | [] | no_license | OneStopProgramming/C-Tutorial-9 | c8d84296077cd54305a9218859b74688d02b227c | e8dac28e03657a5925426697a60ce0bef5ac00be | refs/heads/master | 2021-01-13T01:50:57.716734 | 2014-08-11T21:06:06 | 2014-08-11T21:06:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 961 | cpp | #include <cstdlib>
#include <iostream>
#include <string>
using namespace std;
void whileLoop();
void doWhileLoop();
void forLoop();
int main(int argc, char *argv[])
{
char x[] = "Hello world!";
for(int index =0; index < sizeof(x); index++)
{
cout << x[index];
}
char z;
... | [
"git@kevinjdolan.com"
] | git@kevinjdolan.com |
d8db3e7e9deb3e70030a1093c804a5d9bba11600 | 88e9d9a13b16aefca34d590a9c5eaeb28b16cb33 | /ccms/catkin_ws/devel/include/rosapi/GetActionServersRequest.h | 94fd1b8acc4aaa11fc26b6a40502c0cf19ecb5c6 | [] | no_license | hdb1301040027/ccms | f4d97ae0b80984297c646516a07ab543ca2009e9 | f105265a2d2dd8b0f74d54535055a4bf13883258 | refs/heads/master | 2022-12-12T07:09:48.660486 | 2019-08-02T13:23:30 | 2019-08-02T13:23:30 | 200,236,199 | 1 | 0 | null | 2022-12-04T05:46:42 | 2019-08-02T13:06:23 | JavaScript | UTF-8 | C++ | false | false | 4,841 | h | // Generated by gencpp from file rosapi/GetActionServersRequest.msg
// DO NOT EDIT!
#ifndef ROSAPI_MESSAGE_GETACTIONSERVERSREQUEST_H
#define ROSAPI_MESSAGE_GETACTIONSERVERSREQUEST_H
#include <string>
#include <vector>
#include <map>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_messag... | [
"1771913824@qq.com"
] | 1771913824@qq.com |
19c524d556ddd4bc1b35ae2f010574fb00d871b3 | ddcc472c56ba2c151ab8425abc9733ab05c8438b | /Tarea de Logica/Ejercicio 3 en C++.cpp | ee29deda11637be2787cac503bfb44a188f6f4dc | [] | no_license | Kevinoob-design/Old-Progaming-Learning | 5ee80c42cec48b8189d66523209be074f6dad361 | 01730fdcfa12bf85c85bfa7c05ddb2dc264458a1 | refs/heads/master | 2022-03-20T21:27:38.381191 | 2019-12-12T18:38:38 | 2019-12-12T18:38:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,626 | cpp | //Realizar un programa que dado 8 valores capturados determine la variable que tenga el numero menor, evaluando con If anidados compuestos.
#include<iostream>
#include <stdlib.h>
using namespace std;
int main(){
cout << "Introduzca 8 numeros. El programa comparara todos y escogera el mayor\n" << endl;
int a, b... | [
"52089890+Kevinoob-design@users.noreply.github.com"
] | 52089890+Kevinoob-design@users.noreply.github.com |
fe008c65e8c9c981af66233a228797082a704c25 | 187cec85c2a2984be61e7534ea77199015e03810 | /RpcServer/Server/Service.cpp | ef8fe6bc23bab070a25315d2138b2d2049c90cb3 | [] | no_license | yueqianlongma/RpcLearning | 268f95195f59ffd184b902274e9ecc10bfe9e4ee | b44f0f7a04ea02ebb495d89dbc9bde379bffeb75 | refs/heads/master | 2023-03-12T02:54:15.538785 | 2021-03-03T09:40:48 | 2021-03-03T09:40:48 | 344,073,213 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 941 | cpp |
#include"Service.h"
#include<RpcServer/common.h>
#include<RpcServer/Exception.h>
#include<RpcServer/RpcError.h>
using namespace rpc;
void Service::callProcedureReturn(const std::string& methodName,
json::Value& request,
const RpcDoneCallback... | [
"yydw.mjl@foxmail.com"
] | yydw.mjl@foxmail.com |
d1b07b26c0630b91b08fd0ccfdaa688bbb03e355 | 7c8a5f62a335d5108fd95c62f3c6aaf15cae0b7b | /mathematical/modDivide.cpp | ec9dfa484d561e2c5b284da1f28e7b553fad2714 | [] | no_license | pratiksaha/practice | a6809006fedeee982e823b3660c7673f2c77379a | 3b3705d7738dbeddc20c0482a6bce07028ddbafe | refs/heads/master | 2021-01-13T17:25:39.678405 | 2017-03-15T21:40:16 | 2017-03-15T21:40:16 | 24,746,662 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 780 | cpp | //modular division
#include<bits/stdc++.h>
using namespace std;
int gcdExtended(int a, int b, int *x, int *y) {
if (a == 0) {
*x = 0, *y = 1;
return b;
}
int x1, y1;
int gcd = gcdExtended(b%a, a, &x1, &y1);
*x = y1 - (b/a) * x1;
*y = x1;
return gcd;
}
int modInverse(int b, ... | [
"pratiksaha89@gmail.com"
] | pratiksaha89@gmail.com |
102a548c91f9850b4b8d3f48d288d912427be63a | 2003f5c7f68df79e273624a380e15920bb66eb3e | /binary trees/bottom_view.cpp | a53f5b56070f79a8cc3769180f02df94a5b9e639 | [] | no_license | tmittal98/CPP-codes | 0dfbc25d12fba8ba558e862e0725d74578effcd3 | 3a53a684f27dcb366b1a2d7383abf6310f19ef28 | refs/heads/main | 2023-08-30T06:00:05.949617 | 2021-10-29T20:12:27 | 2021-10-29T20:12:27 | 422,682,553 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,130 | cpp |
void findMinHDMaxHD(Node* root,int hd,int &maxHD,int &minHD){
if(root){
if(hd < minHD){
minHD = hd;
}
if(hd > maxHD){
maxHD = hd;
}
findMinHDMaxHD(root->left,hd-1,maxHD,minHD);
findMinHDMaxHD(root->right,hd+1,maxHD,minHD... | [
"tusharmittal429@gmail.com"
] | tusharmittal429@gmail.com |
180a91b707309c5ba3e3dd07ac75a16acb2dda92 | b3f6619f036c2e265aa4b3c7d30790b5435c5398 | /QPubNubPublisher.h | eb64cb56b0bc51e2eb2bdb52a7a3e59d92b33292 | [] | no_license | pke/PubNub4Qt | 1d600acf913d8e5800c779434c9598f7d3b006b5 | 282f984f854b8eca77b8c9b5c09ffed58e09fabd | refs/heads/master | 2020-12-25T09:57:12.933479 | 2013-08-14T12:09:51 | 2013-08-14T12:09:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 998 | h | #pragma once
#include <QNetworkReply>
#include "QPubNubBase.h"
class QPubNubPublisher : public QPubNubBase {
Q_OBJECT
signals:
void published(const QString& timeToken);
public:
QPubNubPublisher(
QNetworkAccessManager* networkAccessManager,
const QString& publishKey,
const QString& subscribeKey... | [
"phil.kursawe@gmail.com"
] | phil.kursawe@gmail.com |
ab8b9c592b62ef70f71644cdf7e90071ade57ce5 | 609a6e31a72c79a0d719b22ecb2f27ae3ed3d8df | /src/asio-udt/service.hh | 52dd47e475e9d59f14ff92c7413e2e02d0cb2002 | [] | no_license | infinitio/asio-udt | b72f5c6bc81b412839bb6bf582ab8b672218a8b4 | 4b94f035ead4cc1fc6770b8df722a6b9500e03e4 | refs/heads/master | 2020-12-02T16:17:52.847460 | 2017-07-07T11:41:47 | 2017-07-07T11:41:47 | 96,531,511 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,984 | hh | #ifndef ASIO_UDT_SERVICE_HH
# define ASIO_UDT_SERVICE_HH
# include <functional>
# include <unordered_map>
# include <boost/asio.hpp>
# include <boost/thread.hpp>
# include <udt/udt.h>
# include <asio-udt/fwd.hh>
namespace boost
{
namespace asio
{
namespace ip
{
namespace udt
{
class... | [
"mefyl@gruntech.org"
] | mefyl@gruntech.org |
12cd808cedfb498d7303548068d618beacb7e19d | 506e4e438e4f1525743664ba31fda9a5dace53f7 | /ultraball/commonball.h | 6b4c95dc2be1c8eb0da9a6b06e4d3b4e39dc9233 | [] | no_license | ekuri/UltraBall | d3e907c8abb386f80ab1dfafecb0b8cf48f0b7e0 | 4dbd8a070a74689a7da4cf0378a0fedb1e28b189 | refs/heads/master | 2016-08-03T14:48:01.851843 | 2015-09-07T07:11:34 | 2015-09-07T07:11:34 | 34,326,471 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 513 | h | #ifndef COMMONBALL_H
#define COMMONBALL_H
#include "abstractball.h"
#include "abstractwall.h"
#include <QPainter>
class CommonBall : public AbstractBall
{
public:
CommonBall(const QPointF &initialPosition, const QPointF &initialVelocity, qreal initialRadius);
list<Item*> getProcessItem();
void processIte... | [
"960956136@qq.com"
] | 960956136@qq.com |
eee6d04fa8ec08ef12913e080befbca27ce06b5d | d0596d36470c08f6e1ef26e4e4d8702752d8899b | /prototype/photonADAnalyzerUpg.cc | f9920cd9a6efb8185d8e4f25237ae93a120f5671 | [] | no_license | NuDot/machine_learning | a5482bd1ce1cd89dbfbac8cbde990278459a8bc0 | 2acdb45b22ed1bb7617b7d0622ecad12f2b69a50 | refs/heads/master | 2021-04-28T07:37:04.506402 | 2019-11-02T04:39:19 | 2019-11-02T04:39:19 | 122,227,075 | 1 | 1 | null | 2019-05-10T19:17:53 | 2018-02-20T16:53:28 | Python | UTF-8 | C++ | false | false | 2,755 | cc | #include "TSystem.h"
#include "TChain.h"
#include "TFile.h"
#include "TClonesArray.h"
#include "TTree.h"
#include "TH1.h"
#include "TH2.h"
#include "TCanvas.h"
#include "TVector3.h"
#include "TImage.h"
#include <algorithm>
using namespace std;
using namespace CLHEP;
using namespace TMath;
//this file is a root script... | [
"liaobo77@bu.edu"
] | liaobo77@bu.edu |
5ffe3199320bf070e1ab987e8a023f697bfca7cc | 72b426d1a96a5dbe628f9d287b6c3636ea49b929 | /questions/Algorithms/0067. Add Binary/cpp.cc | be340092e9e75436f8c11e805a4748d4c17a33ca | [
"MIT"
] | permissive | 6leetcode/6leetcode | bc041ccccf0904e869a5aafa2c9634b37283c72b | 0c0973c634c881bd874bad5a0526b91a2d83f1a0 | refs/heads/main | 2023-04-10T01:03:34.741255 | 2022-11-13T14:45:56 | 2022-11-13T15:03:19 | 196,491,457 | 13 | 1 | MIT | 2023-03-15T08:10:40 | 2019-07-12T02:02:53 | C | UTF-8 | C++ | false | false | 1,246 | cc | #include <iostream>
using namespace std;
// ------------------------------- solution begin -------------------------------
class Solution {
public:
string addBinary(string a, string b) {
int len_a = a.size();
int len_b = b.size();
int len = len_a > len_b ? len_a : len_b;
string res = "";
int ... | [
"i@tosone.cn"
] | i@tosone.cn |
1bf45c4d68331277d71efd8113077dfb3a0cc148 | c60377fe680d96535fe9e9c3e4710d2a6418892c | /PonG.cpp | a9b7386ed8deef5a37f5739f45090edfdc7b4407 | [] | no_license | Dhurai1995/pongPong | 5f803279dc06c8914efe7069ed289307788feec7 | 8fc662d50c1bd779489283b62fbf9010e061a489 | refs/heads/master | 2022-12-26T05:19:12.434752 | 2020-10-10T09:55:19 | 2020-10-10T09:55:19 | 281,588,179 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,419 | cpp | // The main file of the pong game
#include<iostream>
#include<sstream>
#include "Bat.h"
#include<cstdlib>
#include<SFML\Graphics.hpp>
#include "Ball.h"
int main()
{
sf::VideoMode vm(1920, 1080);
sf::RenderWindow window(vm, "Pong", sf::Style::Fullscreen);
int score = 0;
int lives = 3;
Bat bat(1920 / 2, 1080 - ... | [
"dhuraiip@gmail.com"
] | dhuraiip@gmail.com |
bea09b612ff88c606d9aecc4f8a7903fa3f612ed | b154b5de040cef45edf6fec351243a3a73d833bc | /15.go/16.cpp | dc6c2c04013376847b4578401893834de8b0d28d | [] | no_license | yangxiaox/code | a6f2d652b847a746ed303c8dffeaf7fb758d9ecd | d8f93eddedc153d02903c8eb8f7641b096d80aaa | refs/heads/master | 2021-09-10T14:04:18.857186 | 2018-03-27T13:34:09 | 2018-03-27T13:34:09 | 116,806,676 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 296 | cpp | /*************************************************************************
> File Name: 16.cpp
> Author:
> Mail:
> Created Time: 2017年11月23日 星期四 18时46分59秒
************************************************************************/
#include<iostream>
using namespace std;
| [
"823567085@qq.com"
] | 823567085@qq.com |
806f450881720b5d59c3158ddac457a627a836e2 | 801b121ef12cc6ad82becbdc5236a52e8cd6f764 | /PunctuationOccurrence.h | 0e898217f03bde7dba4b9c9bb10cf8848e698716 | [] | no_license | MikeWarren2014/CodeBreaker | d1f7f5f91ee2ea5c364a5ecf360b98bb368d3084 | 1ddaca5b2d2a9a675fac39cd73a7c98a3627f8e1 | refs/heads/master | 2021-01-21T18:00:22.087707 | 2016-09-18T06:35:18 | 2016-09-18T06:35:18 | 68,443,806 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 504 | h | #ifndef PUNCTUATIONOCCURRENCE_H
#define PUNCTUATIONOCCURRENCE_H
#include <iostream>
class PunctuationOccurrence
{
public:
PunctuationOccurrence();
PunctuationOccurrence(int, char);
int getLocation() const;
char getPunctuation() const;
friend std::ostream& operator<<(std::ostream& o, const PunctuationOccurr... | [
"noreply@github.com"
] | MikeWarren2014.noreply@github.com |
234f075047da9a2b2517d38e0f3a6707228c2845 | 4b332d0026d4717ca77e416e3d95a11500863820 | /audit/matchers/prefix_matcher.h | bb96d36d7859af038826b432fc897fb1d6df34db | [
"Apache-2.0",
"LicenseRef-scancode-generic-cla"
] | permissive | qause/plusfish | 836bdf627573f628df04ebe834dda52a6240c934 | a56ac07ca132613ecda7f252a69312ada66bbbca | refs/heads/main | 2023-03-20T19:40:34.589876 | 2021-03-19T17:26:40 | 2021-03-19T17:26:40 | 446,000,581 | 1 | 0 | Apache-2.0 | 2022-01-09T05:18:16 | 2022-01-09T05:18:15 | null | UTF-8 | C++ | false | false | 1,927 | h | // Copyright 2020 Google LLC. 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 by applicable... | [
"heinenn@google.com"
] | heinenn@google.com |
78d4c78068f2eec0415b969f0f01ba3348930075 | c6a29c01ab6bc520d2778f8760a2eb28a011b727 | /libraries/MicroLCD/MicroLCD.h | 8503a659327c1a380eec1eeecd9bf7a8fd5efc16 | [] | no_license | sepolab/DYI_Smart_Home | fc845f538dd07987c925845e561fe31b1e1a3534 | d634e50a1bdc34a133c4b5099d322f89e251eb8d | refs/heads/master | 2020-04-23T12:05:28.273110 | 2017-08-18T14:55:19 | 2017-08-18T14:55:19 | 98,498,904 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,431 | h | /*************************************************************************
* Arduino Text & Bitmap Display Library for multiple models of monochrome LCD display
* Distributed under GPL v2.0
* Copyright (c) 2013-2014 Stanley Huang <stanleyhuangyc@gmail.com>
* All rights reserved.
* For more information, please visit htt... | [
"tringuyen1506@gmail.com"
] | tringuyen1506@gmail.com |
231de984dc9a04acf5ae6cab68c8422c6e91fc99 | 5499e8b91353ef910d2514c8a57a80565ba6f05b | /garnet/bin/ui/gltf_export/main.cc | 953fb43c6786246d617d5c66b041831aaa4afc70 | [
"BSD-3-Clause"
] | permissive | winksaville/fuchsia | 410f451b8dfc671f6372cb3de6ff0165a2ef30ec | a0ec86f1d51ae8d2538ff3404dad46eb302f9b4f | refs/heads/master | 2022-11-01T11:57:38.343655 | 2019-11-01T17:06:19 | 2019-11-01T17:06:19 | 223,695,500 | 3 | 2 | BSD-3-Clause | 2022-10-13T13:47:02 | 2019-11-24T05:08:59 | C++ | UTF-8 | C++ | false | false | 18,846 | cc | // Copyright 2018 The Fuchsia 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 <fuchsia/ui/scenic/cpp/fidl.h>
#include <fuchsia/ui/scenic/internal/cpp/fidl.h>
#include <lib/async-loop/cpp/loop.h>
#include <lib/async-loop/defa... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
2fabd718c9f0ebe468601d9fe271f7322cf225f2 | d85b1f3ce9a3c24ba158ca4a51ea902d152ef7b9 | /testcases/CWE762_Mismatched_Memory_Management_Routines/s05/CWE762_Mismatched_Memory_Management_Routines__new_array_free_int64_t_21.cpp | 2edc11783adbc6f8759a677ef74120d7d1f15ca5 | [] | no_license | arichardson/juliet-test-suite-c | cb71a729716c6aa8f4b987752272b66b1916fdaa | e2e8cf80cd7d52f824e9a938bbb3aa658d23d6c9 | refs/heads/master | 2022-12-10T12:05:51.179384 | 2022-11-17T15:41:30 | 2022-12-01T15:25:16 | 179,281,349 | 34 | 34 | null | 2022-12-01T15:25:18 | 2019-04-03T12:03:21 | null | UTF-8 | C++ | false | false | 4,537 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE762_Mismatched_Memory_Management_Routines__new_array_free_int64_t_21.cpp
Label Definition File: CWE762_Mismatched_Memory_Management_Routines__new_array_free.label.xml
Template File: sources-sinks-21.tmpl.cpp
*/
/*
* @description
* CWE: 762 Mismatched Memory Mana... | [
"Alexander.Richardson@cl.cam.ac.uk"
] | Alexander.Richardson@cl.cam.ac.uk |
9bb4e05498eaf3bb216573654759684a1aae3f1d | b6e7062a85f6fb8007f1d4f31b13b54da2cda3a6 | /680_验证回文字符串 Ⅱ.cpp | 9c986dc1c19d45f8d445dd45afdcfda243f42f63 | [] | no_license | maxiupili/DataStructure | c25fe52cf132ebf3896ed9fcf85d3ed983f0bb69 | c6daa91b8eedbb450b02f25ec804b98dda8bca13 | refs/heads/master | 2020-12-06T22:31:35.877732 | 2020-06-16T11:12:15 | 2020-06-16T11:12:15 | 232,569,275 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,175 | cpp | /*
给定一个非空字符串 s,最多删除一个字符。判断是否能成为回文字符串。
示例 1:
输入: "aba"
输出: True
示例 2:
输入: "abca"
输出: True
解释: 你可以删除c字符。
注意:
字符串只包含从 a-z 的小写字母。字符串的最大长度是50000。
*/
class Solution {
public:
bool validPalindrome(string s) {
int n = s.size() - 1;
bool res = true;
for (int i = 0; i < n; ++i, --n) {
... | [
"2567444258@qq.com"
] | 2567444258@qq.com |
bc2a3ac91a1d23d06dcc5ea80d127566f1101e44 | dc4de7137e7f8b502790c8279391b22a3018633a | /Bomberman/src/G20_AA2-2/Player.cpp | 1fdb9b5bc7021aa85eaf6a42f8bd637b1ad212ca | [] | no_license | pacitto/G20_AA2_2 | 864ea15a82ab1037f54756dfb6f3bae1116a46a9 | ad4c634f12a84e7431f985ea6a55ceddef2121e5 | refs/heads/main | 2023-02-14T05:08:37.370672 | 2021-01-08T20:02:34 | 2021-01-08T20:02:34 | 327,974,796 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,589 | cpp | #include "Player.h"
Player::Player()
{
}
Player::Player(int _id)
{
id = _id;
SetUpPlayer();
}
void Player::SetUpPlayer()
{
if(id == 1)
{
left = InputKey::K_A;
right = InputKey::K_D;
up = InputKey::K_W;
down = InputKey::K_S;
bomb = InputKey::K_SPACE;
spriteId.assign(PLAYER1_SPRITESHEET::ID)... | [
"pacitto3@gmail.com"
] | pacitto3@gmail.com |
979ae13a699f1ebc85014cc37088a7573ed7d97a | abd81df6cf4fcd121b1748ce75ad70db312aca0d | /include/MTL/board/mbedLPC1768/MTL/Pins.h | 5a6d378fb6365d82867b0f3e9aefeb0becd9799b | [
"MIT"
] | permissive | sandsmark/Platform | 0701822034e370eb36ac65ffac975a6f0f3a5083 | 067ce90b3600ad2ab19e216b90c1618605c43ae9 | refs/heads/master | 2020-07-20T11:07:26.063173 | 2019-09-05T18:35:33 | 2019-09-05T18:35:33 | 206,630,178 | 0 | 0 | MIT | 2019-09-05T18:22:44 | 2019-09-05T18:22:43 | null | UTF-8 | C++ | false | false | 2,829 | h | //------------------------------------------------------------------------------
// Copyright (c) 2013 John D. Haughton
//
// 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 restricti... | [
"anotherjohnh@gmail.com"
] | anotherjohnh@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.