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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a3994fdfca21d15947d83171d92fd59c67629a74 | dcdf8a7edb8a765707459a540997750402f65bea | /src/zpiv/zpivtracker.cpp | 63ea9b38b84e3e38b1caa1ac2b3d0419bdab0225 | [
"MIT"
] | permissive | ifinmakassar/BitalGO | a313fa0e2015cc02fa3dc8d63d8d3a692dd8b019 | f8f5e126a7c808f72ff85b32e28c09a45fe684ca | refs/heads/master | 2022-04-06T12:33:49.209408 | 2020-03-16T06:15:12 | 2020-03-16T06:15:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,696 | cpp | // Copyright (c) 2018 The PIVX developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <zpiv/deterministicmint.h>
#include "zpivtracker.h"
#include "util.h"
#include "sync.h"
#include "main.h"
#include "txdb.h"
#incl... | [
"kyzer@traebit.ca"
] | kyzer@traebit.ca |
6606c5252905861cffcc7ee9e514579d2c35c417 | ffa83215d4a44581f44173100331bda1900b24fe | /build/iOS/Preview/include/Fuse.Controls.TextInput.h | 0199a483ca6573278b57648cab9fdeb8a73f1bf4 | [] | no_license | imkimbosung/ARkit_fuse | 167d1c77ee497d5b626e69af16e0e84b13c54457 | 3b378d6408551d6867f2e5b3d7d8b6f5114e7f69 | refs/heads/master | 2020-04-19T02:34:33.970273 | 2019-02-04T08:26:54 | 2019-02-04T08:26:54 | 167,907,696 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,127 | h | // This file was generated based on /usr/local/share/uno/Packages/Fuse.Controls.Primitives/1.10.0-rc1/TextControls/TextInput.uno.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Fuse.Animations.IResize.h>
#include <Fuse.Binding.h>
#include <Fuse.Controls.ITextEditControl.h>
#in... | [
"ghalsru@naver.com"
] | ghalsru@naver.com |
ba85712df598a27fd26aec8fa089f1337aba6221 | 08b8cf38e1936e8cec27f84af0d3727321cec9c4 | /data/crawl/git/hunk_3816.cpp | 46c0196c6d616693c7c306955fa410edd910d3a8 | [] | 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 | 804 | cpp |
extern void *create_object(const unsigned char *sha1, int type, void *obj);
-/** Returns the object, having parsed it to find out what it is. **/
+/*
+ * Returns the object, having parsed it to find out what it is.
+ *
+ * Returns NULL if the object is missing or corrupt.
+ */
struct object *parse_object(const un... | [
"993273596@qq.com"
] | 993273596@qq.com |
4dd4ab229abfe1424cdca631914437c39fbd7793 | 1d41b872938bdfcdd7de0ca46284eaf26b5f1dfa | /CSCI-2312-Object-Oriented-Programming/Battleship_Final_Project/Computer.cpp | 33c5c6b810eb3ac31cefc9f67607162b19bd1bfd | [] | no_license | vanctate/Computer-Science-Coursework | 7dc3a7e45b98107f86ed6e4be5dfc9b190594438 | bb9746249686651031380669781949fc29aeb04c | refs/heads/master | 2020-05-24T22:00:20.131642 | 2019-05-19T17:34:59 | 2019-05-19T17:34:59 | 187,487,656 | 1 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 15,786 | cpp | /*
- Patrick Tate
- Final Project
- CSCI 2312
- Program written using Xcode on MacOS
- Program Status: this program runs and compiles on the csegrid
*/
#include "Computer.h"
#include <iostream>
using namespace std;
//instantiate 5 Watervehicle objects for the computer's fleet
Computer::Computer()
{
name = "... | [
"vanctate@gmail.com"
] | vanctate@gmail.com |
244f0d8a787a3ede21373bde8016006aa8689fc8 | edeb2efadd3773ae866b77519613e89fc4e039bb | /modules/canbus/vehicle/ge3/ge3_controller.cc | cfa0388386bd1fe93409454ca131b02a86c1b24e | [
"Apache-2.0"
] | permissive | zhucm1/apollo | 14db9ca7c09a586914bf886dcfdaa614dca7a8ec | 7062a990cbe161471e8c74d0ee67330a28774000 | refs/heads/master | 2020-05-15T11:26:31.612399 | 2019-05-09T02:42:30 | 2019-05-09T02:42:30 | 182,224,422 | 3 | 0 | Apache-2.0 | 2019-05-09T02:42:31 | 2019-04-19T07:45:49 | C++ | UTF-8 | C++ | false | false | 29,238 | cc | /* Copyright 2019 The Apollo Authors. 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 law or agree... | [
"qi.stephen.luo@gmail.com"
] | qi.stephen.luo@gmail.com |
c6b25cec636f37b3566a7c0a5d559d31db0c6bf2 | a1c1e3b63413b672156fc0f402c0e7372b15ec52 | /tests/evolucionToroideTEST.cpp | 00257798c65f62cf8f2c5df515fe459b58f2d15b | [] | no_license | dbernard96/tpImplementacion | 23e86bb91db21234a0a1f379e1b4e3b3f4a25f00 | 1663165c2805cd07153e561bfc849601235f9365 | refs/heads/master | 2020-04-03T13:41:05.542272 | 2018-12-10T21:23:46 | 2018-12-10T21:23:46 | 155,293,609 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,811 | cpp | #include "../solucion.h"
#include "gtest/gtest.h"
#include <algorithm>
using namespace std;
TEST(evolucionToroideTEST, toroideDiagonalTresPorTresUnPaso){
toroide t = { {true, false, false}, {false, true, false}, {false, false, true} };
//1*0 0 1*0
//0 1 0 0 1
//0 0 1 0 0
//1 0 0 1 0
//0*1 0 0*... | [
"davidbernard456@gmail.com"
] | davidbernard456@gmail.com |
9b1dd5bcfd7880efd266845aee8fdfe1f151c9c9 | 06eb60c98f4d106fc3bb3d0b7e990828b87d714d | /Source/WebCore/html/parser/XSSAuditor.cpp | 9dc1026f23089bfdb932af7df4d0815cbc4194f1 | [] | no_license | snyh/dui | 9486a81d97ec1173b161b6aef8fcea21066aebff | c4464629f1efdecae792ed3abc2a7fc9ce9b88db | refs/heads/master | 2021-01-25T08:28:55.224303 | 2013-10-23T00:42:02 | 2013-10-23T00:42:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 26,692 | cpp | /*
* Copyright (C) 2011 Adam Barth. All Rights Reserved.
* Copyright (C) 2011 Daniel Bates (dbates@intudata.com).
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain ... | [
"snyh@snyh.org"
] | snyh@snyh.org |
8cc333258ddd8532c30d0e726ee3a74d6212900e | 4212b420e0067e14c97d14a31b6444c28215903f | /Programs/myLibrary/makeTest/PatriciaTree/patricia.cpp | b17ac992d0725f579be8554fa22d4b66287d8866 | [] | no_license | StavrosMar/CPP | 929f6dc4e642a32e8d0bd84994b94b90cd19f64e | 3512dc09bf6b2a93130898c16471768052ad5ca1 | refs/heads/master | 2021-09-23T18:16:55.619093 | 2021-09-13T17:41:05 | 2021-09-13T17:41:05 | 86,387,879 | 0 | 0 | null | 2018-08-06T15:41:03 | 2017-03-27T21:57:04 | C++ | UTF-8 | C++ | false | false | 307 | cpp | #include "patricia.h"
template <class T> Node<T>::Node() {
left = this;
right = this;
bitIndex = 0;
//the rest default construction.
}
template <class T> Node<T>::Node(const string& key, const T& data) {
left = this;
right = this;
bitIndex = 0.0;
this->data = data;
this->key = key;
}
//#endif
| [
"redenicht@hotmail.com"
] | redenicht@hotmail.com |
30a8490f985195b1b83c0cc992fff09e5ede2ddf | fbb03f0345a0ac574a1696449ec756c308b4c5c7 | /Source/ProjectFPSTest/ProjectFPSTestProjectile.cpp | ff5d842b31e5f349bdddefbab765f8a648a74554 | [] | no_license | BlancLohan/GALandProject | bccdb4712c57b01505afb39b55a9d41054fc3a0b | 6501545c5fa7c32f6863112ce5c37374ea28b909 | refs/heads/main | 2023-03-29T10:46:57.006496 | 2021-04-06T19:43:58 | 2021-04-06T19:43:58 | 355,117,700 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,794 | cpp | // Copyright Epic Games, Inc. All Rights Reserved.
#include "ProjectFPSTestProjectile.h"
#include "GameFramework/ProjectileMovementComponent.h"
#include "Components/SphereComponent.h"
AProjectFPSTestProjectile::AProjectFPSTestProjectile()
{
// Use a sphere as a simple collision representation
CollisionComp = Creat... | [
"blanclohan2@gmail.com"
] | blanclohan2@gmail.com |
63c2c75cb224b9024194cb01d9db934eb71121a3 | 9e52f9ebd890948abee5a56594dd70038ed3072d | /matlab_tools/CloudsGPUPro6-master/CPUT/CPUT/CPUTPostProcess.cpp | 389f29e13fd0327906e13d84445fa85766d1f340 | [
"MIT",
"BSD-3-Clause"
] | permissive | CS1371/textbook | 9b9585ba3b04a46dcf7f2c44346eb12dabff39e3 | 57bc0fd7cd69bc60f556b231c79679cac3455e4b | refs/heads/master | 2020-09-11T17:09:38.080789 | 2020-07-15T20:05:06 | 2020-07-15T20:05:06 | 222,132,166 | 0 | 0 | MIT | 2020-04-13T15:47:11 | 2019-11-16T17:05:37 | C++ | UTF-8 | C++ | false | false | 6,072 | cpp | //--------------------------------------------------------------------------------------
// Copyright 2013 Intel Corporation
// All Rights Reserved
//
// Permission is granted to use, copy, distribute and prepare derivative works of this
// software for any purpose and without fee, provided, that the above copyright no... | [
"alexhrao@gmail.com"
] | alexhrao@gmail.com |
87151569473b833a627cc29e1d9ad9ecefac75a6 | bebbc4d83e2be98b9c99a31331db1b13ac003619 | /GSLAM/orbslam/LoopClosing.h | edf7ebe4824158eb35bc6c26afafe5dbf0daafb8 | [] | no_license | B0RJA/GSLAM | 46d382e547014d25904173b5bfc2852f80e9535c | 0926845cb5bd5657ec13981d3ca64e8d5cbcc89b | refs/heads/master | 2021-01-20T16:11:56.933316 | 2017-05-10T06:11:22 | 2017-05-10T06:11:22 | 90,826,594 | 0 | 0 | null | 2017-05-10T06:01:36 | 2017-05-10T06:01:36 | null | UTF-8 | C++ | false | false | 2,807 | h | /**
* This file is part of ORB-SLAM.
*
* Copyright (C) 2014 Raúl Mur-Artal <raulmur at unizar dot es> (University of Zaragoza)
* For more information see <http://webdiis.unizar.es/~raulmur/orbslam/>
*
* ORB-SLAM is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public Licen... | [
"zd5945@126.com"
] | zd5945@126.com |
ed0007c4272b44b82a778c0662d4d55a59d48d35 | aafccc71b3ba659a9b6a606d805d9889c9fabc09 | /hackerearth/octoberSky/terminators.cpp | bcba251b81eb4352fe98f12ae6d517eff3bb33c2 | [] | no_license | abhashksingh/practice-programs | 6bf37670e8f385a2bb274bb14ffb9052944a9ab5 | 02602f61ad4812726dedb6c760c81dc647244b8c | refs/heads/master | 2021-01-25T05:23:09.630415 | 2014-08-24T17:07:10 | 2014-08-24T17:07:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,481 | cpp | #include <iostream>
#include <string>
#include <vector>
using namespace std;
int max(int a, int b);
int lcs_dynamic(vector<int>X, vector<int> Y, int m, int n);
void find_lis(vector<int> &a, vector<int> &b);
int main(void)
{
int t,n,i=0;
cin>>t;
while(t--)
{
cin>>n;
int t1,t2;
vector<int>d1,lisd1,seqd1;//in... | [
"superabhash@gmail.com"
] | superabhash@gmail.com |
7caf9301db727017dd066d9cf0f0c48f0407318f | 3e7e738b1a1f2cf872627b1c77a332aba6011aa2 | /EnviroTron/firmware/LTR-329.cpp | 53d26a2b2573db22015140d22af5747519e1fc51 | [] | no_license | watsonboyett/marvin | ee567e897b8d746a2635b526ed11f1ba19b0750d | 97e628178310ae57c8d59e26492c36d88f3bcaf2 | refs/heads/master | 2020-12-25T16:55:03.148311 | 2019-10-10T08:53:31 | 2019-10-10T08:53:31 | 49,543,308 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,561 | cpp | #pragma once
#include "I2C_Utils.h"
#include <Arduino.h>
#define ALS_ADDR (0x29)
#define ALS_GAIN_1X (0)
#define ALS_GAIN_2X (1)
#define ALS_GAIN_4X (2)
#define ALS_GAIN_8X (3)
#define ALS_GAIN_48X (6)
#define ALS_GAIN_96X (7)
#define ALS_MODE_STANDBY (0)
#define ALS_MODE_ACTIVE (1)
#define ALS_CONTR_ADDR (0x80)
... | [
"watsonboyett@gmail.com"
] | watsonboyett@gmail.com |
ab5e13bad1289ffb610611c32bfbdd2bc26cb1f8 | ac88987e5c32ed58db7f8ee2e630ce968a44e507 | /xoslib/c/src/lib/XosWebRtc/XosWebRtcClient/XosMac/XosMacWebRtcClientBaseWindowPeerImplement.hh | e89a4332d9fe96beb0c1e24ca66c9fdcfe658a9e | [] | no_license | iamrameshkumar/XosWebRTC | d4121f7b29c246a0376da161dc53d4b6f68b50b7 | 10d022475675dd0640e8a7233f179b8300a94f59 | refs/heads/master | 2021-05-27T15:14:47.385666 | 2013-08-08T21:09:26 | 2013-08-08T21:09:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,758 | hh | ///////////////////////////////////////////////////////////////////////
/// Copyright 2012, Google Inc.
///
/// Redistribution and use in source and binary forms, with or without
/// modification, are permitted provided that the following conditions are met:
///
/// 1. Redistributions of source code must retain... | [
"medusade@cox.net"
] | medusade@cox.net |
5aeecd3a9cdca093fc8a4084fd3ee50aac857481 | c1ff870879152fba2b54eddfb7591ec322eb3061 | /plugins/render/ogreRender/3rdParty/ogre/RenderSystems/GL/src/GLSL/src/OgreGLSLLinkProgram.cpp | bf45978a32ade8f43e33c4d83ee936bfb4f0415c | [
"LicenseRef-scancode-free-unknown",
"MIT"
] | permissive | MTASZTAKI/ApertusVR | 1a9809fb7af81c3cd7fb732ed481ebe4ce66fefa | 424ec5515ae08780542f33cc4841a8f9a96337b3 | refs/heads/0.9 | 2022-12-11T20:03:42.926813 | 2019-10-11T09:29:45 | 2019-10-11T09:29:45 | 73,708,854 | 188 | 55 | MIT | 2022-12-11T08:53:21 | 2016-11-14T13:48:00 | C++ | UTF-8 | C++ | false | false | 28,305 | cpp | /*
-----------------------------------------------------------------------------
This source file is part of OGRE
(Object-oriented Graphics Rendering Engine)
For the latest info, see http://www.ogre3d.org/
Copyright (c) 2000-2016 Torus Knot Software Ltd
Permission is hereby granted, free of charge, to any person ... | [
"peter.kovacs@sztaki.mta.hu"
] | peter.kovacs@sztaki.mta.hu |
0159e14bfa1b2b0613051d43b14d582314ea2272 | 85ffcf5d7297d5e6c98b5507f90539b24cadd9a6 | /maintenanceModelFile/maintenanceModelFile/renderingwidget.cpp | e13eb0f6b2cf9aed5e0a1b58a4996f6e20e8fdf2 | [] | no_license | HUkiah/dailyCoding | f9f18b7c8b6dd9f8ab8bddf99d7e939ab570ba5d | c5ce9d750f823f3958894bd4d310b682e982bd09 | refs/heads/master | 2021-01-02T09:17:11.407195 | 2017-10-27T10:18:43 | 2017-10-27T10:18:43 | 99,182,067 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 15,019 | cpp | #include "renderingwidget.h"
#include <gl\GLU.h>
#include "globalFunctions.h"
#include "QDebug"
#include <QKeyEvent>
#include <QTime>
#include "QFileDialog"
#include "QTextCodec"
RenderingWidget::RenderingWidget(QWidget *parent)
: QOpenGLWidget(parent), has_lighting_(false), eye_distance_(5.0),
is_draw_point_(false)... | [
"han_wenm@163.com"
] | han_wenm@163.com |
696c20fac7c894ed78e7d388b2ced6d316a57fe8 | d87e36e4bc70788eac1474607185ce79838d5358 | /week-10/day-2/first_network_steps/Server_sr.hpp | 1b7451aea0465e57e6ffda8d1d0ca667aa0786fc | [] | no_license | greenfox-zerda-sparta/korompaidani | 0e5a3a580658a35c3245da3046bb86544a8b842f | ead60c4d18dd0feba9a0e49758dffdba8ffa3bda | refs/heads/master | 2021-01-12T18:15:09.459661 | 2017-03-31T09:41:51 | 2017-03-31T09:41:51 | 71,350,705 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 662 | hpp | #pragma once
#include <iostream>
#include <SDL.h>
#include <SDL_net.h>
#include <conio.h>
#include <string>
#include <cstring>
#include <WindowsX.h>
class Server_sr {
private:
IPaddress ip;
TCPsocket server;
TCPsocket client;
SDLNet_SocketSet set;
bool set_stat;
char client_chars[100];
const char* server... | [
"korompaidani@gmail.com"
] | korompaidani@gmail.com |
09d85b256eb7d6c151e62c0c4d14d4d374dd0fb1 | 6ab01c6ec943a61e2aa64518cf4c7ec957e30425 | /Codes_Library/C/LM35_example/LM35_example.ino/LM35_example.ino.ino | 6e87b832735efb2be2dfc8160765e3036186f628 | [] | no_license | fgdangiolo/Arduino | cdce3923007d396f046c0f559514297d11c78077 | 08e9fe15b7fdd6d8a7f970edd78dd3ee67a1babf | refs/heads/master | 2021-04-06T16:40:22.811176 | 2020-07-07T02:04:15 | 2020-07-07T02:04:15 | 125,305,929 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 621 | ino | /* *****************************************************************
* LM35 Library
* File: LM35.ino
* VERSION: 1.0
* Author: Federico Gabriel D'Angiolo
* Description: This file contains skecth for LM 35 and Arduino
*******************************************************************/
#include "LM35.h"
void setu... | [
"fgdangiolo@gmail.com"
] | fgdangiolo@gmail.com |
635f3c305ec304f853e4d571f736d910fea00c92 | 6ddce707b62dfeac62d270ed0c63ebbfb45b8fc6 | /CPP/PeripheralInterface/SensorBaro.hpp | e159ce5407dbf3316d53d6576d32dc6e2d53d4b0 | [] | no_license | imagineimage/FlightController | f1f3e4b0f9aaca97f775b3c16301e0679cdf53e8 | 9c16fca0c9f1946563c237fa86e985813b307807 | refs/heads/master | 2022-12-01T09:24:45.521534 | 2020-08-08T08:42:56 | 2020-08-08T08:42:56 | 286,930,944 | 0 | 0 | null | 2020-08-12T06:06:31 | 2020-08-12T06:06:31 | null | UTF-8 | C++ | false | false | 527 | hpp | #ifndef __SENSORBARO__H
#define __SENSORBARO__H
#include "MsgBus/MsgType.hpp"
#include "MsgBus/MsgBus.hpp"
#include "Usec.h"
namespace FC{
class SensorBaro{
public:
void setBaro(float pressure/*[hPa]*/, float temperature/*[degC]*/);
private:
struct Barometer barometer;
};
void SensorBaro::setBaro(float pre... | [
"46369795+cjw8809@users.noreply.github.com"
] | 46369795+cjw8809@users.noreply.github.com |
670a43a4346e455cf041e0e24c1d60537cd5cf12 | d983d0f13f4bbd4beba4081e89a7a072fc88561e | /SEControl/SEControlDlg.cpp | 05067887871195f06d24a8c6bea507a1449758d3 | [] | no_license | catlincao/CPcontrol | a40afd6d47e68d07b566100a1bbb5033d9b1c882 | b5aa0d2d427bc9bf6d20228ee80735747818e179 | refs/heads/master | 2020-04-04T13:25:10.974130 | 2018-11-03T07:32:21 | 2018-11-03T07:32:21 | 155,961,099 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 12,548 | cpp |
// SEControlDlg.cpp : 实现文件
//
#include "stdafx.h"
#include <string>
#include <vector>
#include <fstream>
#include "GEP.H"
#include "SEControlDlg.h"
using namespace std;
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
// 用于应用程序“关于”菜单项的 CAboutDlg 对话框
class CAboutDlg : public CDialogEx
{
public:
CA... | [
"catlincao@yeah.net"
] | catlincao@yeah.net |
c8fab05fdc88a7ac753723369bd3673045960bf9 | cf23d693dcb969b0233c0cca6d6f6fb3d16be475 | /CheckIfStringRotated/main.cpp | 47c90370eda777f1bc1dbf3b55c5a86bf7fe778a | [] | no_license | Zenikolas/AlgorithmsTraining | 82d0f449c1d50b908d9072c715140329c1c528ba | 273ab3268aa48432f2fbb30dd781bb80585c69b0 | refs/heads/master | 2021-07-10T20:58:08.035716 | 2021-02-16T08:39:55 | 2021-02-16T08:39:55 | 229,748,305 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 855 | cpp | #include <string>
#include <gtest/gtest.h>
// check of candidate string is rotated from original one
bool checkIfStringRotated(const std::string& original, const std::string& candidate)
{
// assume original = xy; then rotated string is yx. If we compound yxyx then in the
// middle will be original string
... | [
"zenikolas256@gmail.com"
] | zenikolas256@gmail.com |
75f1266356c1042d9d4c5b64ab1b58ca952bec58 | 4cd0b9ce7c2e2a57623cc71b936c6dcda79bdd5c | /fpdfsdk/pwl/cpwl_timer.h | 1e93333e6e79df1b2809456332694a6b888f3f9f | [
"BSD-3-Clause"
] | permissive | prepare/pdfium | 32b8f9cecc2dd98cd578d2b4e8d882e5c4f0e1ed | 92770e8072cd3a38597966116045147c78b5a359 | refs/heads/master | 2021-01-21T04:43:53.541194 | 2018-12-23T06:55:27 | 2018-12-23T06:55:27 | 27,119,109 | 7 | 3 | null | 2015-08-11T13:40:07 | 2014-11-25T09:47:59 | C++ | UTF-8 | C++ | false | false | 947 | h | // Copyright 2017 PDFium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
#ifndef FPDFSDK_PWL_CPWL_TIMER_H_
#define FPDFSDK_PWL_CPWL_TIMER_H_
#include ... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
383430650dfadd1a4458b17d773f74dcc67b2fb6 | c301c81f7560125e130a9eb67f5231b3d08a9d67 | /lc/lc/2021_target/companies/fb/youtube/lc_268_missing_number.cpp | 5ae42a49e05565f91899a341f96bae912f395381 | [] | no_license | vikashkumarjha/missionpeace | f55f593b52754c9681e6c32d46337e5e4b2d5f8b | 7d5db52486c55b48fe761e0616d550439584f199 | refs/heads/master | 2021-07-11T07:34:08.789819 | 2021-07-06T04:25:18 | 2021-07-06T04:25:18 | 241,745,271 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 760 | cpp | #include "header.hpp"
using namespace std;
/*
* Given an array containing n distinct numbers taken from 0, 1, 2, ..., n, find
* the one that is missing from the array.
*
* Example 1:
*
* Input: [3,0,1]
* Output: 2
* Example 2:
*
* Input: [9,6,4,2,3,5,7,0,1]
* Output: 8
*
*
*
*/
/*
class Solution {
... | [
"codingprepviks@gmail.com"
] | codingprepviks@gmail.com |
d6aeb65432a7cff60b1752f14fc843b3b763460a | 7de65570bacb4769a4496d0325e5f846314f53ab | /Classes/GameScene.h | 6948e9990164de78a7aadb5ece0e18f62b6ed960 | [] | no_license | ShmilyMx/----- | fd31d0fb72da0d2d3d9dedad9183f121bd8be7b5 | 74c19f5589b8a7a884209a209d42494d33f9c876 | refs/heads/master | 2021-01-10T15:39:17.130911 | 2015-11-29T11:26:12 | 2015-11-29T11:26:12 | 47,060,740 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 602 | h | #include "cocos2d.h"
USING_NS_CC;
class GameScene :public Layer
{
public:
GameScene();
~GameScene();
static Scene *createScene();
bool init();
CREATE_FUNC(GameScene);
void updatedown(float);
private:
//创建13*10的矩阵
void createBox();
//保存创建的矩阵
LayerColor **m_box;
//存放创建的东西
LayerColor **m_tetris;
void cr... | [
"502920301@qq.com"
] | 502920301@qq.com |
30c803cc430462d1b2d724e483e733260a1e7b14 | a586af5c4255c02129052b226e05848247d75b66 | /word_count_10.12.cpp | eab8ed7a46cef3f89b804b37d2b14115a0724083 | [] | no_license | NewLionwang/c-plus-plus-primer4_ex | c821134365c4ba63878f57a90408d982d2dda08d | 682d50a29b2ec43f7629515d1001bcd8bc82fe84 | refs/heads/master | 2021-06-01T06:50:10.617036 | 2016-07-19T16:45:13 | 2016-07-19T16:45:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 972 | cpp | /*************************************************************************
> File Name: word_count_10.12.cpp
> Author: wangxiaoxian
> Mail: 634897019@qq.com
> Created Time: Wed 20 Jul 2016 12:28:09 AM CST
************************************************************************/
#include<iostream>
#include<string... | [
"wangxiaoxian@ebupt.com"
] | wangxiaoxian@ebupt.com |
2e867a35bc0a38dc30c2f34810dc2fd4b9a384e5 | c548e27e8cac875c27edb7e000b5458b1e5d4022 | /743/A. Vladik and flights/Source.cpp | 71b3922ed0d56362c7d390c552681a81aa79fabe | [] | no_license | adamhasselwander/cf | cf73206af807d9247dc8be6cd74a31c71dfb4e26 | fe919b5cd7441678f04a348530f6b980652c0558 | refs/heads/master | 2018-09-30T20:49:18.876138 | 2018-07-08T18:35:20 | 2018-07-08T18:35:20 | 107,027,994 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 745 | cpp | #define _CRT_SECURE_NO_WARNINGS
#include <bits/stdc++.h>
#define sd(n) scanf("%d",&n) == 0
#define sl(n) scanf("%I64d",&n) == 0
#define ss(n) scanf("%s",n) == 0
#define sc(n) scanf(" %c",&n) == 0
#define pd(x) printf("%d", x)
#define ps(x) printf("%s", x)
#define pl(x) printf("%I64d", x)
#define rep(i, begin, end) f... | [
"adam.hasselwander@gmail.com"
] | adam.hasselwander@gmail.com |
facd36379d580842518615381424ca4d3d1b1668 | 22cbd2f2c3e5420c3e4f54e4b32f314a9fc90e38 | /src/Project_FFT/src/Unit_test_twiddleFactor.cpp | 8f83265996ec6d41ab21f7fb1c89d4b2ac878bff | [] | no_license | jingbosu/FFT | 6cc2caf7a413730bd1d5390e9f51809342fbb2aa | 20b37b6cc154e1504903820ef314327ce9543f37 | refs/heads/master | 2021-01-10T09:11:59.902879 | 2016-01-29T16:40:48 | 2016-01-29T16:40:48 | 46,337,655 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 312 | cpp | /*
* Unit_test_twiddleFactor.cpp
*
* Created on: 24 nov. 2015
* Author: su
*/
#include "TwiddleFactor.h"
#include <iostream>
using namespace std;
int main() {
TwiddleFactor twiddleFactor;
for(int i = 0; i<10; i++){
cout<<"TW["<<i<<"] = "<<twiddleFactor.vec_comp[i]<<endl;
}
return 0;
}
| [
"jingbosu2010@hotmail.com"
] | jingbosu2010@hotmail.com |
51c1f5f0766df84cd1955b96f6f669d48a883ea9 | 19a843ca2a4af4ccf7488a0dface7d89f9ec4d46 | /potd/potd-q25/Queue.h | 87615e28046b74ffac5fe7540d3280e504c38f2b | [] | no_license | andyz2045/CS225-Data-Structures | eae021f2670828985abbdfdadbe04e0e79f7513f | 8961e7d1363f32552add7020d98d8faf175b02a2 | refs/heads/master | 2022-11-28T23:40:44.187842 | 2020-08-05T13:50:37 | 2020-08-05T13:50:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 251 | h | #pragma once
#include <cstddef>
#include<vector>
class Queue {
public:
Queue();
int size() const;
bool isEmpty() const;
void enqueue(int value);
int dequeue();
~Queue();
std::vector<int> v;
}; | [
"57075708+yuw14@users.noreply.github.com"
] | 57075708+yuw14@users.noreply.github.com |
eca4cb3689285185a18ee714a66640429be8b636 | e9854cb02e90dab7ec0a49c65f658babba819d56 | /Curve Editor Framework/QT/src/corelib/concurrent/qtconcurrentexception.cpp | 0440ad8ad76e2a3ef4cb94b715da739455ef5490 | [] | no_license | katzeforest/Computer-Animation | 2bbb1df374d65240ca2209b3a75a0b6a8b99ad58 | 01481111a622ae8812fb0b76550f5d66de206bab | refs/heads/master | 2021-01-23T19:46:13.455834 | 2015-06-08T21:29:02 | 2015-06-08T21:29:02 | 37,092,780 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,224 | cpp | /****************************************************************************
**
** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the QtCore module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
**... | [
"sonyang@seas.upenn.edu"
] | sonyang@seas.upenn.edu |
7999490a97a52920f40bf7b0521c55da304db03a | 66ad8092e76209cc9bda3ee031d78dbb32502513 | /Source/WebKit2/WebProcess/WebPage/mac/PlatformCALayerRemote.h | 5267682e4b28cfe78d86e089b6605dbcfda18741 | [] | no_license | lshi2017/wpe | 3f660591ca5ff53b58c9c87c8f60b7ff23dac355 | f23416d8b4b52d61d3963800769cee1f71c8441b | refs/heads/master | 2023-01-05T20:09:16.057534 | 2017-08-23T19:41:20 | 2017-08-23T19:41:20 | 99,706,298 | 2 | 1 | null | 2022-12-21T03:13:19 | 2017-08-08T15:11:38 | C++ | UTF-8 | C++ | false | false | 9,085 | h | /*
* Copyright (C) 2013 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions a... | [
"lshi@espial.com"
] | lshi@espial.com |
6e3677c39238340a18960a3541f91b429f0a7648 | c99cc13d116e8dc280e008d8ce2c2a181b580709 | /AudioEngine/AudioCapture.h | 6a7065c09ac5f167c73b158f238eab12e024a4dc | [] | no_license | mehome/live_core | 8440f86addd8d43cc0e7db5830f5361e637bc184 | 24d420a69379f697026cb47edfd1a3ed82eb2e4b | refs/heads/master | 2022-12-16T01:35:08.811029 | 2020-09-17T09:03:31 | 2020-09-17T09:03:31 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 4,517 | h | #ifndef __AUDIO_CAPTURE_INCLUDE__
#define __AUDIO_CAPTURE_INCLUDE__
#include "IAudioCapture.h"
#include <atomic>
#include "PhaseCheck.h"
#include <atomic>
class IDataReceiver;
class IAudioEncoder;
#define ALL_CH 8 //混音路数,最大为8
class AudioCapture : public IAudioCapture {
public:
AudioCapture(IDataReceiver *dataReic... | [
"ke.xu@vhall.com"
] | ke.xu@vhall.com |
4dbcf63d8fdcfb074d70ac4123a8ff93c33eb346 | 5a8b9a20f7c498981eb4ea33c1cba4b9554440b4 | /Xindows/src/site/download/Download.h | 844a761ad015ae637d8570ad28aaf561b93f55c0 | [] | no_license | mensong/IE5.5_vs2008 | 82ae91b3e45d312589b6fb461ceef5608dfb2f6b | 6149654180d0f422355e38b0c5d8e84e6e8c6a0c | refs/heads/master | 2022-05-01T07:32:15.727457 | 2018-11-14T03:07:51 | 2018-11-14T03:07:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,161 | h |
#ifndef __XINDOWS_SITE_DOWNLOAD_DOWNLOAD_H__
#define __XINDOWS_SITE_DOWNLOAD_DOWNLOAD_H__
#include <IImgCtx.h>
// Declarations ---------------------------------------------------------
class CImgTask;
class CDocument;
class CDwnCtx;
class CDwnInfo;
class CDwnLoad;
class CDwnBindData;
class CDwnDoc;
class CPostItem;
... | [
"mail0668@gmail.com"
] | mail0668@gmail.com |
34fe55d0bd40602cf3fed35e6320e53265318483 | ba3ee053b194066495133ff6c797bf5af6991d0c | /gdb/event.cc | 991e8350327679cc55b7f6d43d66e82017062621 | [
"MIT"
] | permissive | jnow-87/vimgdb | abb2bc7392ca947af235339f0a15db51a5164535 | 2c0631816fa8217a102f036a748f726e3eb6f59d | refs/heads/master | 2023-06-24T12:00:12.669294 | 2023-06-18T10:43:22 | 2023-06-18T10:43:22 | 35,759,547 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 292 | cc | #include <gdb/event.h>
gdb_event_t::gdb_event_t(){
reason = 0;
thread_id = 0;
}
gdb_event_t::~gdb_event_t(){
delete [] reason;
}
gdb_event_stop_t::gdb_event_stop_t(){
frame = 0;
signal = 0;
}
gdb_event_stop_t::~gdb_event_stop_t(){
gdb_frame_t::release(frame);
delete [] signal;
}
| [
"jan.nowotsch@gmail.com"
] | jan.nowotsch@gmail.com |
86e29dd6173edbfe535fe56fa1cdff524f20a0db | c2aab7c3c7db45473bcb1b2421279116e9e19017 | /Sansa and XOR.cpp | 0010a2c58de75c7ae811358b32b8e0e1fd864be8 | [] | no_license | rajat641/Algorithms | 6bc30214bfcb87e08cfcee956f9547bb6e4e9d10 | ca6c1448dee74c858a9e38024eddcb6111e40827 | refs/heads/master | 2020-08-15T19:23:35.394897 | 2020-05-04T10:46:59 | 2020-05-04T10:46:59 | 215,395,461 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 540 | cpp | #include <cmath>
#include <cstdio>
#include <vector>
#include <iostream>
#include <algorithm>
using namespace std;
long long int a[4*100001];
int main() {
/* Enter your code here. Read input from STDIN. Print output to STDOUT */
int n;
cin>>n;
while(n--){
int x;
cin>>x;
long l... | [
"singhrajat641@gmail.com"
] | singhrajat641@gmail.com |
903aad4951c5f4b2904136a3806fb6a9879aa097 | 9d8a75c2193b02f89e14900b7e30852c7d04e3b9 | /synchclient/trunk/src/SYNCH/synchcore/FileUtils.h | 4f7f559203d7859fdb6c3905affd7c2d99a95e7e | [] | no_license | GekkaKatsu/SYNCH | 48572f2479f35701edb77c1c2c1e72a0bc522740 | 4893e406eefe5ca8b123aa39ad37f1eeb273dffe | refs/heads/master | 2021-03-12T23:27:54.282730 | 2011-06-26T16:43:30 | 2011-06-26T16:43:30 | 1,756,174 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 293 | h | /*
Посвещается моей любимой девушке Katsu Arsur
*/
#ifndef FILEUTILS_H
#define FILEUTILS_H
#include "synchcore.h"
#include <QStringList>
#include <QFileDialog>
namespace FileUtils
{
QStringList SYNCHCORE_EXPORT getDirectoryNames();
}
#endif // FILEUTILS_H
| [
"yetanotherbot@yandex.ru"
] | yetanotherbot@yandex.ru |
6ad793a1deb3b7a8a4c430b7cce04ddb05749e6b | 7575668a328508652e169653d37eddaa08396a62 | /Native/3rd/FBXSDK/FBX/GfxAsset_MeshCreater.cpp | f11822d927dc365c0a6b5f5b511e88a7879a60db | [] | no_license | huangdonghai/titan3d | dad61082d27ba1c65b0de7b3ca9d4a299ff1123c | 571bce8ad677efb6ce3d92441b5af0b2340ff74f | refs/heads/master | 2022-12-31T15:35:53.529550 | 2020-10-20T10:41:35 | 2020-10-20T10:41:35 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 18,483 | cpp | #include "GfxAsset_MeshCreater.h"
#include "GfxFBXManager.h"
#include "FbxDataConverter.h"
#include "../../Bricks/Animation/Pose/GfxAnimationPose.h"
#include "../../Bricks/Animation/Skeleton/GfxSkeleton.h"
#include "../../Graphics/Mesh/GfxSkinModifier.h"
#include "../../Graphics/Mesh/GfxMeshPrimitives.h"
#include "../.... | [
"1832617@qq.com"
] | 1832617@qq.com |
16dfec59ed6d7b52801d95c986ae1b48b00a1232 | 497babdddf1fd52bfc727e83f188692804899dc4 | /network/epoll/tcpaccept.cpp | 3395a9847df890861ec92bfac8d1f58ab3011e5a | [
"MIT"
] | permissive | asummersday/zsummer | c371c2ed0095ca9bc0c655fab2eef1a17169ba91 | 092a239051b8c8cf92f7675ea0ffe26f920acbf9 | refs/heads/master | 2021-01-15T21:34:48.737635 | 2013-04-26T08:25:16 | 2013-04-26T08:25:16 | 9,095,360 | 2 | 0 | null | 2013-04-26T08:25:10 | 2013-03-29T08:58:42 | C++ | UTF-8 | C++ | false | false | 4,964 | cpp | /*
* ZSUMMER License
* -----------
*
* ZSUMMER is licensed under the terms of the MIT license reproduced below.
* This means that ZSUMMER is free software and can be used for both academic
* and commercial purposes at absolutely no cost.
*
*
* ================================================================... | [
"yawei_zhang@foxmail.com"
] | yawei_zhang@foxmail.com |
f920bf931a28eb568f97b2a762189f054a039a34 | c140bf3623841d93c8753ab91507fb601a6ece35 | /chrome/browser/chromeos/login/easy_unlock/easy_unlock_service_regular.cc | ac670f01a3dadee0ed1ab87a02dfc5033eb3cf2e | [
"BSD-3-Clause"
] | permissive | quinndiggity/chromium | c991156cda0e3857ed8ecb1cb0a7ac5d18cc842c | 0c062061326cd05a1ab884e5b2d6e03e2b79f215 | refs/heads/master | 2022-10-19T11:54:34.859476 | 2018-06-24T21:33:26 | 2018-06-24T21:33:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 31,594 | cc | // 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.
#include "chrome/browser/chromeos/login/easy_unlock/easy_unlock_service_regular.h"
#include <stdint.h>
#include <utility>
#include "apps/app_lifetime_m... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
26b97dc5bf3b409fc0266a556b94dbd771f7e2b1 | 869cefe6ea1acb40e347f5430278b1204984b565 | /extras/include/boost/boost/mpl/aux_/msvc_eti_base.hpp | c3a766981ed9ef3ad7f1d2b0c221eded0cddc6b2 | [
"BSL-1.0"
] | permissive | muschellij2/FSL6.0.0 | c68ed91e8c2777fcf07d994d7ab288a75e448fd1 | 3c3dd651066ee189bc8c290f744ca48cb3d1f156 | refs/heads/master | 2020-04-27T01:04:04.915711 | 2019-03-05T14:57:48 | 2019-03-05T14:57:48 | 173,954,388 | 9 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 1,763 | hpp |
#ifndef BOOST_MPL_AUX_MSVC_ETI_BASE_HPP_INCLUDED
#define BOOST_MPL_AUX_MSVC_ETI_BASE_HPP_INCLUDED
// Copyright Aleksey Gurtovoy 2001-2004
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
// See http://ww... | [
"muschellij2@gmail.com"
] | muschellij2@gmail.com |
5dc2391e034338c0c66c96c23286be6f710b6373 | 0d11203e6a143b2383b5baa8a9a2b3e48383c9b1 | /DSA09013.cpp | 5904611bb1f715924663548c2794d75e7975d573 | [] | no_license | namnguyen215/CTDLGT | c36b8526b3af00ea2d4bd113efe378f95091f895 | 6e7e602940fb5c28b7af830f44f58443375b7666 | refs/heads/main | 2023-06-25T08:48:47.269848 | 2021-07-21T16:36:36 | 2021-07-21T16:36:36 | 360,927,428 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,421 | cpp | #include<bits/stdc++.h>
using namespace std;
bool chuaxet[1000];
vector<int> ke[1007];
int v,e,v1,v2;
void init()
{
memset(chuaxet,true,sizeof(chuaxet));
for(int i=0;i<=v;i++)
{
ke[i].clear();
}
}
bool check()
{
for(int i=1;i<=v;i++)
if(chuaxet[i]==true)
return false;
... | [
"namnguyenphuong215@gmail.com"
] | namnguyenphuong215@gmail.com |
8152a463860fefc8329ca739d8b5c4232a2964b6 | 1f013e822124dfe9b4611f1fe08675a23871566e | /home/mkalbarczyk/z1/kod.cpp | 7933d43a94c35c9eea0f16a74714ca40f8187736 | [] | no_license | dtraczewski/zpk2014 | a1d9a26d25ff174561e3b20c8660901178d827a5 | 548970bc5a9a02215687cb143d2f3f44307ff252 | refs/heads/master | 2021-01-21T06:06:32.044028 | 2015-09-06T12:17:07 | 2015-09-06T12:17:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 453 | cpp | #include <iostream>
using namespace std;
int main(){
char a;
char b;
cin>>a>>b;
int wynik;
int drugi;
a=int(a)-48;
switch(b){
case 'A':
drugi = 10;
break;
case 'B':
drugi = 11;
break;
case 'C':
drugi = 12;
break;
case 'D':
drugi = 13;
break;
case 'E':
drugi = 14;
break;
case ... | [
"kalbarczykmagda@gmail.com"
] | kalbarczykmagda@gmail.com |
977929e9d508af3dd2b864dc9265d022ca67a6ea | 317f2542cd92aa527c2e17af5ef609887a298766 | /tools/target_10_2_0_1155/qnx6/usr/include/bb/platform/bbm/Context.hpp | 11e3bde2b8e188e0c695818667a1f3bea2f11ca9 | [] | no_license | sborpo/bb10qnx | ec77f2a96546631dc38b8cc4680c78a1ee09b2a8 | 33a4b75a3f56806f804c7462d5803b8ab11080f4 | refs/heads/master | 2020-07-05T06:53:13.352611 | 2014-12-12T07:39:35 | 2014-12-12T07:39:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,103 | hpp | /*!
*
* @copyright
* Copyright Research In Motion Limited, 2012-2012
* Research In Motion Limited. All rights reserved.
*/
#ifndef BB_PLATFORM_BBM_CONTEXT_HPP
#define BB_PLATFORM_BBM_CONTEXT_HPP
#include <bb/platform/bbm/Global>
#include <bb/platform/bbm/RegistrationState>
#include <QObject>
#incl... | [
"dev@dclark.us"
] | dev@dclark.us |
6a3fa5e4413353bb2312bcf760187e5677679c99 | 07ec6b72a5ff9a7c8c42f6f1213a75cb6ef2719a | /HDOJ/3713.cc | cb5e751c4578a23de5b2bbda003f6e8a09d568db | [] | no_license | cheuk-fung/Programming-Challenges | fbfbf833b19ff1063b0fca4b5d14d1e907264aa1 | 7c055fd2891b7edc865e7da8886d057a93fb41fe | refs/heads/master | 2020-12-24T17:36:21.407367 | 2020-04-26T19:44:42 | 2020-04-27T17:13:09 | 1,443,793 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,193 | cc | /*
* SRC: HDOJ 3713
* PROB: Double Maze
* ALGO: BFS
* DATE: Oct 16, 2011
* COMP: g++
*
* Created by Leewings Ac
*/
#include <cstdio>
#include <cstring>
#include <string>
using std::string;
// const int dir[4][2] = { {0, -1}, {1, 0}, {0, 1}, {-1, 0} };
// const char way[4] = { 'L', 'D', 'R', 'U' };
const in... | [
"osideal@gmail.com"
] | osideal@gmail.com |
8d010c7c4d02acc2a7dbe9112857fdb54951557b | ed21e5e773e8594055cfd04378e2ea48c68b7f33 | /client/resource/Resource.cpp | 9a58b5e0c9596e7c0c9632a4dad673f98ca604a4 | [] | no_license | ysei/threed | 86baaba40cd0f53760a732bde3bf051941012b52 | 68f2b2fa09dd80cae1280dbd0965e391e8ba42c1 | refs/heads/master | 2020-02-26T16:09:19.933935 | 2013-02-11T10:26:35 | 2013-02-11T10:26:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,315 | cpp | #include <assert.h>
#include <resource/Resource.h>
#include <resource/ObjectResource.h>
#include <resource/MeshResource.h>
#include <resource/ShaderResource.h>
#include <resource/TextureResource.h>
#include <renderer/RenderResource.h>
Resource::Resource(ResourceManager &m, const char *name, enum ResourceType t... | [
"geist@foobox.com"
] | geist@foobox.com |
b1d56b2ab72c680c71a008ec6c740f3556033254 | 6b40e9cba1dd06cd31a289adff90e9ea622387ac | /Develop/Game/DummyClient/XDummyBot_LevelUp.cpp | e58399f1d35ff467d7ae719ae7a26464caee6186 | [] | no_license | AmesianX/SHZPublicDev | c70a84f9170438256bc9b2a4d397d22c9c0e1fb9 | 0f53e3b94a34cef1bc32a06c80730b0d8afaef7d | refs/heads/master | 2022-02-09T07:34:44.339038 | 2014-06-09T09:20:04 | 2014-06-09T09:20:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,260 | cpp | #include "StdAfx.h"
#include "XDummyBot_LevelUp.h"
#include "XBirdDummyAgent.h"
#include "XDummyMaster.h"
#include "XDummyLazyCommandPoster.h"
#include "XDummyCollision.h"
XDummyBot_LevelUp::XDummyBot_LevelUp(XBirdDummyAgent* pAgent, XDummyAgentInfo* pAgentInfo)
: XDummyBot(pAgent, pAgentInfo)
{
}
XDummyB... | [
"shzdev@8fd9ef21-cdc5-48af-8625-ea2f38c673c4"
] | shzdev@8fd9ef21-cdc5-48af-8625-ea2f38c673c4 |
80abc530f6d830ef3865cef69a929ede1adacbcb | efec853c032df69be4fcd98554d1fa87b90c1c49 | /scripts/symmapdisplay.cc | f61e2d949bcbc5a8fbf8854ddf52fbcb8a337042 | [] | no_license | cameronc137/remoll_polar | c2723e7d15fd1b5ce34ba778e33aec58a8dd3bcb | 13ec5be5991b8eee70230a783b5559a468f270dc | refs/heads/master | 2021-01-16T22:22:23.426457 | 2015-08-28T21:10:18 | 2015-08-28T21:10:18 | 39,574,496 | 0 | 1 | null | 2015-07-23T15:21:58 | 2015-07-23T15:13:50 | C++ | UTF-8 | C++ | false | false | 5,402 | cc | #include <iostream>
#include <fstream>
#include <string>
#include <sstream>
using namespace std;
void symmapdisplay() {
// Graphics initialization
//
TCanvas *cBphi = new TCanvas("cBphi", "",491,189,700,502);
cBphi->SetHighLightColor(2);
cBphi->Range(-0.8421627,-0.9582822,0.8421627,0.9582822);
TView *view = T... | [
"cameronc137@gmail.com"
] | cameronc137@gmail.com |
4daf455724eadf71f7ffaefd5b465ff2b1d44f34 | 4f5d415bebc162328109421e700d23bb9f6ae284 | /common/template_bfs.cpp | e578e883710675168ebb364764837f0fd07e6bd7 | [] | no_license | lufovic77/AlgorithmStudy | 2dc603a6dd6a85b4f180fd1ea6a7ef9f29d23da7 | 7ffebc9a39c5c84e9f46c31f7f43ee3f47e970b8 | refs/heads/master | 2021-07-23T21:59:56.846234 | 2021-06-24T13:20:36 | 2021-06-24T13:20:36 | 149,069,013 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 300 | cpp | #include <iostream>
#include <cstdio>
#include <cmath>
#include <vector>
#include <algorithm>
#include <limits.h>
#include <queue>
#define FOR(i,n) for(int i=0;i<n;i++)
#define FOR2(i,n) for(int i=1;i<=n;i++)
using namespace std;
int dx[4] = {-1, 0, 1, 0};
int dy[4] = {0, 1, 0, -1};
int main(){
}
| [
"lufovic77@gmail.com"
] | lufovic77@gmail.com |
622961b5df8362a6842382e934e07e08fd8cd735 | 679c83d35865be573b23c7929c9b1924005297cd | /Source.cpp | 6182bc341a52b63633de93a7732f07ce91e7a595 | [] | no_license | soulsama972/overlay | db0e0ee412b48d24cfc2e754fa0aad10caceed4a | 233067e2f18d0cbbd5ff0be32758feee01e767ee | refs/heads/master | 2022-02-17T20:52:40.380509 | 2019-10-02T17:01:43 | 2019-10-02T17:01:43 | 209,622,796 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 324 | cpp | #include"Utill.hpp"
#include"Hook.h"
class Ni2
{
public:
void Init();
void ShutDown();
private:
//listCount Nino2.exe+1280Ec8
uintptr_t listCount = 0;
//heal Nino2.exe+11D9E20
//enitiyList heal
//0x718 * enityListCOunt + 388
uintptr_t entityListHeal = 0;
};
void Ni2::Init()
{
}
void Ni2::ShutDown()
... | [
"michael77700@gmail.com"
] | michael77700@gmail.com |
13ba3bbc1ffc76b0078b409938bbdf1cad9eec6d | cfeac52f970e8901871bd02d9acb7de66b9fb6b4 | /generated/src/aws-cpp-sdk-quicksight/source/model/DescribeThemeRequest.cpp | 62164497d6e7e614ceab6ab8a3b4fec9cfe54082 | [
"Apache-2.0",
"MIT",
"JSON"
] | permissive | aws/aws-sdk-cpp | aff116ddf9ca2b41e45c47dba1c2b7754935c585 | 9a7606a6c98e13c759032c2e920c7c64a6a35264 | refs/heads/main | 2023-08-25T11:16:55.982089 | 2023-08-24T18:14:53 | 2023-08-24T18:14:53 | 35,440,404 | 1,681 | 1,133 | Apache-2.0 | 2023-09-12T15:59:33 | 2015-05-11T17:57:32 | null | UTF-8 | C++ | false | false | 1,159 | cpp | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/quicksight/model/DescribeThemeRequest.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <aws/core/http/URI.h>
#include <aws/core/utils/memory/stl/AWSStringStream.h>
#include <... | [
"sdavtaker@users.noreply.github.com"
] | sdavtaker@users.noreply.github.com |
6157505e46e579a588d13d3c2b12e5bb86818ae5 | 275fe6dd30c6584a219e66d5342bb2a9621efc71 | /select/main.cpp | eba6879ae4c1ee2356902001ea00a3b78f7ed5c3 | [] | no_license | heybeachboy/learing-linux-devp | 7f119bce51dfdce6628043536d97f17b58d3d42e | 612c9a39b232bcabf3f1e3d03c498dcd32aa15ab | refs/heads/master | 2020-05-30T20:51:35.788833 | 2019-06-11T07:23:21 | 2019-06-11T07:23:21 | 189,957,839 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,961 | cpp | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include <netinet/in.h>
#include <sys/socket.h>
#include <sys/select.h>
#include <sys/types.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <unistd.h>
#include <assert.h>
#define IPADDR "127.0.0.1"
#define PORT 8787
#d... | [
"zhouletian1234@live.com"
] | zhouletian1234@live.com |
366e0fa6eb1bc9ad91935ef765e77546f5035da6 | 632440c7875ef0ba22ce8b6ba122890b2e8648c1 | /Renderer.hpp | de51a9f9baaf726ff88f572c0ca1378987ea6a75 | [] | no_license | suny-poly-cs-club/DungeonCrawler | 06e89a128821e48b47863f74874ef0ba5343c2de | ac371f86c9322c11fecb63440a88496b41866be4 | refs/heads/master | 2020-04-21T19:16:36.988037 | 2019-02-22T03:17:05 | 2019-02-22T03:17:05 | 169,800,735 | 1 | 2 | null | 2019-02-22T00:15:16 | 2019-02-08T21:22:26 | C++ | UTF-8 | C++ | false | false | 229 | hpp | #pragma once
#include "Shader.hpp"
#include <vector>
typedef enum {
STANDARD
}SHADERS;
class Renderer
{
public:
Renderer();
~Renderer();
void createProgram();
std::vector<Shader*> shaders;
};
| [
"joshm1238@gmail.com"
] | joshm1238@gmail.com |
2faee54b48411b41cb9753c006c087f4ea758c1b | 93becb0e207e95d75dbb05c92c08c07402bcc492 | /atcoder/2020_1_12/f.cpp | d5d4c05c0dcdc5ab14dcc7959fc7d45a480140a0 | [] | no_license | veqcc/atcoder | 2c5f12e12704ca8eace9e2e1ec46a354f1ec71ed | cc3b30a818ba2f90c4d29c74b4d2231e8bca1903 | refs/heads/master | 2023-04-14T21:39:29.705256 | 2023-04-10T02:31:49 | 2023-04-10T02:31:49 | 136,691,016 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,040 | cpp | #include <functional>
#include <algorithm>
#include <iostream>
#include <iomanip>
#include <cstring>
#include <string>
#include <vector>
#include <random>
#include <bitset>
#include <queue>
#include <cmath>
#include <stack>
#include <set>
#include <map>
typedef long long ll;
using namespace std;
const ll MOD = 10000000... | [
"kambe3141@gmail.com"
] | kambe3141@gmail.com |
0f19b8249656b62ece298751e1e84345b7aca301 | 9dd3c0238b00cd6d1328739a53bfecdf36d02e42 | /MiniSQL/MiniSQL/RecordManager.h | 6e374ab6f54c605b457407ec6dcc2e677da60565 | [] | no_license | MichaelSuen-thePointer/PtrMiniSQLxx | 506f847214a218e639dff2ef424f181a29d0bd5a | f69a81ea02b9f63e3a0adf37d86ca8da9f905f0b | refs/heads/master | 2021-01-17T17:08:49.299165 | 2016-06-25T13:09:43 | 2016-06-25T13:09:43 | 61,697,685 | 8 | 7 | null | null | null | null | GB18030 | C++ | false | false | 5,977 | h | #pragma once
#include "BufferManager.h"
class RecordManager
{
public:
class TableRecordList : Uncopyable
{
friend class RecordManager;
friend class std::map<std::string, TableRecordList>;
private:
using Record = std::pair<uint32_t, uint16_t>;
std::string _fileName;
... | [
"crazy95sun@live.cn"
] | crazy95sun@live.cn |
afea07fa985a3439649fff113c4defd0d3d769af | 88999f52b8898fc6cbfc6dc63f4f8f6c41941a2a | /zxing/zxing/pdf417/detector/LinesSampler.cpp | 39c12f5910768c3bbab0cfd463badf9a72bd835e | [] | no_license | ouyangmland/sscap | 6e77b9932998cbac3996cab7fae7815d0753b7f8 | 6f3dce87aa3bb431287a8a7b6fa20dd261a356a1 | refs/heads/master | 2020-12-10T03:26:16.194510 | 2017-06-16T08:59:59 | 2017-06-16T08:59:59 | 95,564,487 | 0 | 2 | null | 2017-06-27T14:01:29 | 2017-06-27T14:01:29 | null | UTF-8 | C++ | false | false | 25,150 | cpp | // -*- mode:c++; tab-width:2; indent-tabs-mode:nil; c-basic-offset:2 -*-
/*
* Copyright 2010, 2012 ZXing authors 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
*
... | [
"sockscap64@gmail.com"
] | sockscap64@gmail.com |
712f4b3262fc6d4d392385c69d2ee54dcbf4058f | 3b1388cfcea18ec095667b81a9700a4946aead1f | /Rook.h | 05bee2939aa795d5c9e57f5f4df3f59bd7c305a7 | [
"MIT"
] | permissive | tesfaye/15418FinalProject | e9fd7d0dcbea58479fec3a3570649d11662ce21a | 9b4f7c0282c656dafeef05855730570fcc5766e1 | refs/heads/master | 2020-04-03T18:41:02.787875 | 2018-12-16T19:55:08 | 2018-12-16T19:55:08 | 155,493,164 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,537 | h | #include <string>
#include <vector>
#include "Piece.h"
using namespace std;
class Rook: public Piece {
public:
Rook(int player, int row, int col): Piece(player, row, col) {
if (player) {
this->piece = 'r';
this->value = -50;
}
else {
this->piece = 'R';
... | [
"jasonh1@andrew.cmu.edu"
] | jasonh1@andrew.cmu.edu |
3f8747e0fb0caaaf35b7f89f2d5f1ce49d8c60c2 | f4441767e1d39fc1bc05e09855c079204e4205cd | /Sources/System/ParserCsv.cpp | 232f80f1592b5a9090103deb4d20dc9c78afc257 | [] | no_license | Caerind/Arthropoda | 56d31af4aa1ef20bb8eee24d8e3f86aaf018eade | 6a7f43ca2dc9f1274229f5ea8fff09a9cdd7eb40 | refs/heads/master | 2021-06-15T15:56:15.116594 | 2017-04-24T21:00:24 | 2017-04-24T21:00:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,501 | cpp | #include "ParserCsv.hpp"
namespace oe
{
ParserCsv::ParserCsv(const U32 elementsPerLine)
: mFilename("")
, mElementsPerLine(elementsPerLine)
{
}
ParserCsv::ParserCsv(const U32 elementsPerLine, const std::string& filename)
: mFilename("")
, mElementsPerLine(elementsPerLine)
{
loadFromFile(filename);
}
bool Parse... | [
"charles.mailly@free.fr"
] | charles.mailly@free.fr |
9add55d58dd20f5a6f5956896db9d1bb981f17f9 | 4daa512f5005e2d0602db8ebc0f6fb2cbf30ef80 | /src/system/physics.cpp | e50e391a04709e7c99e9b22c0b51bddda5f4eb01 | [] | no_license | tgloverxi/Alpha-Go-Away | 9454e5bc87e9d68419108f30928fe9dc94a72599 | ceb614cf0b23225ab70addcdd519d6aed3996235 | refs/heads/main | 2023-06-04T19:43:42.467601 | 2021-06-16T21:58:53 | 2021-06-16T21:58:53 | 375,256,605 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,820 | cpp | // internal
#include "physics.hpp"
#include "logger/debug.hpp"
namespace {
vec2 get_bounding_box(const Position &position) {
return {abs(position.scale.x), abs(position.scale.y)};
}
bool satHelper(const entt::entity e1, const entt::entity e2) {
// if(!(m_registry.has<BoundingBox>(e1) && m_... | [
"tgloverxi0819@sina.com"
] | tgloverxi0819@sina.com |
908a238aca9b876e7c432a966be9d113103fbd67 | 77b401eb0bc7b07672ca9968a367c58e00c13a5e | /dev_accesss/dev_accesss/include/sql_base.h | bdd5393408667a66305b1aa18c57dd103f6e9c18 | [] | no_license | loongson-gz/dev_access | e5e93db7f345362c07bb391d6013bc0cb6c5f7f8 | 0f471caaa65c1a21f30371456b90ef2056161cc2 | refs/heads/master | 2021-08-18T01:43:13.371773 | 2018-09-10T02:21:15 | 2018-09-10T02:21:15 | 144,522,762 | 0 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 259 | h | #ifndef __SQL_BASE_H__
#define __SQL_BASE_H__
#include "dev_access_type.h"
class SqlBase {
public:
SqlBase();
virtual ~SqlBase();
virtual int Start() = 0;
virtual int Stop() = 0;
virtual void SetEventCallback(EventMsgFn fn, void *pUser) {}
};
#endif | [
"water0066@qq.com"
] | water0066@qq.com |
fd52a54658b10d457d2476c61ae3c9dd935ad960 | 7a2425190626dd2e75dd6cbca9fe47727afbad42 | /src/nstd/new/new.hpp | 877523824ae37f5f3bbc455d50b6693948a23c84 | [] | no_license | dietmarkuehl/kuhllib | fadd4073c9b09992479e92112ef34c367cb90fad | 482ddc2b910870398a9a2bcaa0a77a145e081f78 | refs/heads/main | 2023-08-31T22:13:02.079530 | 2023-08-21T22:14:14 | 2023-08-21T22:14:14 | 3,148,966 | 71 | 7 | null | 2023-08-21T22:14:15 | 2012-01-10T21:49:09 | C++ | UTF-8 | C++ | false | false | 2,040 | hpp | // nstd/new/new.hpp -*-C++-*-
// ----------------------------------------------------------------------------
// Copyright (C) 2017 Dietmar Kuehl http://www.dietmar-kuehl.de
//
// Permissi... | [
"dietmar.kuehl@me.com"
] | dietmar.kuehl@me.com |
d5e5ee25f1746641b41764cff007f0736c36ad13 | 30f8027f318e604e2c4ed579840d76f33e33368d | /ConsoleApplication0.2.cpp | 3ab7796274b94887ff49d1358283fb18630a4a0d | [] | no_license | KOBOSP/large_scale_TSP | 4e275eda8b8695e0f9a5ac964338aafcfa654a5e | afd893eceed71fe3f24904ea9a408caedcbef230 | refs/heads/master | 2023-01-30T14:19:43.237051 | 2020-12-17T14:04:40 | 2020-12-17T14:04:40 | 322,309,063 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 17,609 | cpp | #include "pch.h"
#ifndef GLUT_DISABLE_ATEXIT_HACK
#define GLUT_DISABLE_ATEXIT_HACK
#endif
#define GLEW_STATIC
#include <GL/glew.h>
#include <GL/wglew.h>
#include <GL/freeglut.h>
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp> //for matrices
#include <glm/gtc/type_ptr.hpp>
#include <math.h>
#include <al... | [
"kobosptom@gmail.com"
] | kobosptom@gmail.com |
769e5ca22314920b61fad1aa9e33627f70f4a3aa | 9030ce2789a58888904d0c50c21591632eddffd7 | /SDK/ARKSurvivalEvolved_SE_DinoSpawnEntriesCanyonCave_classes.hpp | 73f2ee0b8987256b0f41478425721d373d1124c9 | [
"MIT"
] | permissive | 2bite/ARK-SDK | 8ce93f504b2e3bd4f8e7ced184980b13f127b7bf | ce1f4906ccf82ed38518558c0163c4f92f5f7b14 | refs/heads/master | 2022-09-19T06:28:20.076298 | 2022-09-03T17:21:00 | 2022-09-03T17:21:00 | 232,411,353 | 14 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 857 | hpp | #pragma once
// ARKSurvivalEvolved (332.8) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "ARKSurvivalEvolved_SE_DinoSpawnEntriesCanyonCave_structs.hpp"
namespace sdk
{
//---------------------------------------------------------------------------
//Classes
//-------------------------------------------... | [
"sergey.2bite@gmail.com"
] | sergey.2bite@gmail.com |
fbc3381077c7a8c6f70e9a9cb7658d7a20d5aa89 | 48d5dbf4475448f5df6955f418d7c42468d2a165 | /SDK/SoT_BP_Anim_Weapondealer_classes.hpp | 656be338d1bc130b686cc92390528628a77a25c6 | [] | no_license | Outshynd/SoT-SDK-1 | 80140ba84fe9f2cdfd9a402b868099df4e8b8619 | 8c827fd86a5a51f3d4b8ee34d1608aef5ac4bcc4 | refs/heads/master | 2022-11-21T04:35:29.362290 | 2020-07-10T14:50:55 | 2020-07-10T14:50:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 727 | hpp | #pragma once
// Sea of Thieves (1.4.16) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "SoT_BP_Anim_Weapondealer_structs.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Classes
//----------------------------------------------------------------------... | [
"53855178+Shat-sky@users.noreply.github.com"
] | 53855178+Shat-sky@users.noreply.github.com |
a0c94d799c8774af0c846272562aaaf35a55c8e8 | b079b31239511c2aa5279697dcd88c8e3ccabbbb | /src/rwth-asr-0.5/src/Flf/GammaCorrection.cc | 928bf92a68c8da28352cd1b2ba16139d214dbeb0 | [] | no_license | kkromberg/SpeechRecognition | 0fe3df4f206e7282b5d06f288e28366d4f146928 | 9f9f41c01b311b6c55f398ec07a6492a5b6e55b1 | refs/heads/master | 2021-01-13T05:49:31.147656 | 2017-01-26T11:32:07 | 2017-01-26T11:32:07 | 72,191,492 | 10 | 1 | null | 2016-11-15T22:21:24 | 2016-10-28T08:58:37 | C++ | UTF-8 | C++ | false | false | 6,204 | cc | // Copyright 2011 RWTH Aachen University. All rights reserved.
//
// Licensed under the RWTH ASR License (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.hltpr.rwth-aachen.de/rwth-asr/rwth-asr-license.html
//
// Unless r... | [
"prak3@i6.informatik.rwth-aachen.de"
] | prak3@i6.informatik.rwth-aachen.de |
b63da5fe873fa665a8c751875986779212601f94 | 4090aed9b69d1e355b40a6db6a138f34353197a0 | /a1paper.cpp | dd86b26c074a97830acbf28a64d5a5e695254ea2 | [] | no_license | HongyuHe/OJ | 0ecb72c4a87ac8ac5dc90210be0fbd71c6843f64 | f8713ed4e374fdbc783c7c683020a1c23f42b3ad | refs/heads/master | 2020-03-31T17:14:30.991344 | 2018-10-10T01:17:27 | 2018-10-10T01:17:27 | 152,414,016 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 925 | cpp | #include <iostream>
#include <vector>
#include <cmath>
using namespace std;
typedef long long ll;
typedef long double ld;
int main() {
ll n;
cin >> n;
n--;
vector<ll> v(n);
for(auto& i : v) {
cin >> i;
}
ld totalcost = 0;
ll needed = 1;
bool enough = false;
ld longe... | [
"mikepf97@gmail.com"
] | mikepf97@gmail.com |
047595cd080269c134aabbc0c683b21ddbfa584f | cf56f8f1f71fe848eac264a354dc0122bda9e2f2 | /trees/check_sum_tree.cpp | 20ae8e8e196d1bfccb5c42e726dcfa17e1d53cfa | [] | no_license | sakshi018/Data-structures- | b38948c2e82f729b896aa71e392ae3a610bd9980 | 8245aec48dc6880e5f99f33067c696ded4104ab2 | refs/heads/master | 2020-05-18T09:00:38.226847 | 2016-01-23T17:21:46 | 2016-01-23T17:21:46 | 40,308,241 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,087 | cpp | #include <iostream>
using namespace std;
struct node
{
node *left;
node *right;
int data;
};
int checksumtree(node *root)
{
int node_left=0;
int node_right = 0;
if(root == NULL || (root->left==NULL && root->right==NULL))
return 1;
else
{
if(root->left!=NULL)
node_left=root->left->data;
if(root->rig... | [
"shaks018@gmail.com"
] | shaks018@gmail.com |
b52ce09d3ff022d3d6b9ba8343663c622574f3aa | 2cc63e61904c0b821b88687cbc7c20f4ffeb28cb | /2160 - Nome no Formulário.cpp | 320ed0eaac705e5f3d7f61a383f38994822296a7 | [] | no_license | lawrencesilva/URI | 47557fbb007ccbfb00150d2cd503e8ab9bd0973a | 1db51a14e7072099351e205abb691b191fb7d681 | refs/heads/master | 2020-03-24T02:08:58.630761 | 2018-07-26T11:12:00 | 2018-07-26T11:12:00 | 142,364,470 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 322 | cpp | #include <iostream>
#include <cmath>
#include <string>
#include <iomanip>
using namespace std;
int main() {
string nome;
int contador;
getline(cin, nome);
for(contador = 0; nome [contador] != '\0'; contador++) {
}
if(contador > 80)
cout << "NO" << endl;
else
cout << "YES" << endl;
return 0;... | [
"lawrencedowow@hotmail.com"
] | lawrencedowow@hotmail.com |
e4bc41f39b16241113b84c00bbea8ef06958f3a5 | 871bda8a9cdf206ea6d174066303c0c3220bb9cf | /various/code_sketches/lecture10-20/mine_tq.cpp | 7336467e78b455c92fcd0522c45db67aee0cf3ac | [] | no_license | lapotolo/CompetitiveProgramming | d14b05064ae7961c80fb76b18006f68fe3264c4b | d99135f78dafd01190103a52c6e147ab6cf42a04 | refs/heads/master | 2021-06-15T21:30:44.575795 | 2019-10-23T21:04:56 | 2019-10-23T21:04:56 | 104,220,660 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,439 | cpp | #include <iostream>
#include <vector>
#include <algorithm>
#include <unordered_map>
#include <cmath>
struct node {
uint32_t value;
std::vector<size_t> children;
size_t index_flat;
bool visited;
};
struct flat_node {
uint32_t value;
size_t size;
};
struct query {
uint32_t val;
size_t ... | [
"lapotoloni@gmail.com"
] | lapotoloni@gmail.com |
1bddcd57fccd2127d2cba048a740a599d1b77725 | 4f03a0ece8252f78ed946ea2b34f62726d6fc76a | /0063_字符串中第一个只出现一次的字符/main.cpp | b0889c1b311ec579ab8c79d18bc88c1c482df93f | [] | no_license | torresng/CodingSolutions | a3b404f7719dcc89396a13ca4ad56fbb1af325fe | 57f4014b6fc28fb9f4b8f3166a2fe68390f03ba5 | refs/heads/master | 2020-06-12T17:39:05.904473 | 2020-04-27T03:42:55 | 2020-04-27T03:42:55 | 194,375,010 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 356 | cpp | class Solution {
public:
char firstNotRepeatingChar(string s) {
unordered_map<char, int> count;
for (auto c : s) {
count[c]++;
}
char res = '#';
for (auto c : s) {
if (count[c] == 1) {
res = c;
break;
}
... | [
"torresng2684cte@gmail.com"
] | torresng2684cte@gmail.com |
55f825c78d07845b388499dede1bacc1e693ae05 | 96f8fb7fb764026ede7e927d8b4768b8b6f44abb | /01_Code/07_C++/07_C++/day02/10ref.cpp | 7620153370f60fce313e1e286e4360948b1e3292 | [] | no_license | isongbo/MyCode | a513beaa8f43bc751aab5217314615c728ba771e | eb2330b1dbae9032ba5ad8ccd65b68375219e451 | refs/heads/master | 2021-01-10T09:48:53.587674 | 2016-01-15T10:21:04 | 2016-01-15T10:21:04 | 49,700,737 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 337 | cpp | #include <iostream>
using namespace std;
int main(){
int var_i=9527;
int& ri=var_i;
cout << &var_i << endl;
cout << &ri << endl;
ri=9528;
cout << var_i << endl;
/* 为var_i 再起一个别名 */
int& rri=ri;
rri=9529;
cout << var_i << endl;
int y=100;
/* 把y的值赋值给rri 不是rri引用y */
rri=y;
}
| [
"syt-aini@126.com"
] | syt-aini@126.com |
82b7c058c2e7cfbc8ac5c25c4902f367b3485bd4 | 97a4b1b863f488a943c9b6f7803ed23ecd1440ef | /alice_torso_module/src/alice_torso_module.cpp | 29e3192030bf6a807bbe31b79853ca5aed5da3ad | [] | no_license | roscore/hsc_motion | 2d28f645536900a59117843edc7892daef5dc517 | d1e34793b068515b508d414877c01f337cc4cd72 | refs/heads/main | 2023-05-30T20:27:09.751136 | 2021-06-23T05:46:27 | 2021-06-23T05:46:27 | 379,492,714 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 31,090 | cpp | /*
* alice_torso_module.cpp
*
* Created on: Aug 7, 2020
* Author: heroehs
*/
#include <stdio.h>
#include <cmath>
#include "alice_torso_module/alice_torso_module.h"
using namespace alice;
TorsoModule::TorsoModule()
: control_cycle_msec_(8)
{
running_ = false;
enable_ = false;
gazebo_check = f... | [
"heroehsyona@gmail.com"
] | heroehsyona@gmail.com |
bd4970ca63920284111188ae7b776e53ed89e0fa | 3c4f86f7d74b388cb9197fba66728e9023b40e29 | /UNIVERSIDAD/programacion/ejemplos/Utn/ejercicios_lab1_32_hasta_ matrices/EJER47.CPP | 1caf9229da22cb8ba96adb6da9af137d58f7c22c | [] | no_license | andoporto/Programacion2014 | a05058b8ec7e06e7f75c412f345dca234c67746b | 2a1d860813c85b1c618a61c29833af2662636693 | refs/heads/master | 2021-01-23T21:39:08.697914 | 2015-02-16T23:17:48 | 2015-02-16T23:17:48 | 30,872,534 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 373 | cpp | #include <stdio.h>
#include <conio.h>
void main (void){
int a, b, c, d, e, n;
clrscr();
printf("\n\n\n\t\t\tFecha de Pascua del 2003");
a = 2003 % 19;
b = 2003 % 4;
c = 2003 % 7;
d = ( 19 * a + 24 ) % 30;
e = ( 2 * b + 4 * c + 6 * d + 5 ) % 7;
n = ( 22 + d + e );
if( n > 31 )
printf("\n\n\t\t\t%d de Abril", n - 31);... | [
"andoporto@gmail.com"
] | andoporto@gmail.com |
76f651cb8362e77414e54b8fc1009b0325205e4e | 2fe4e358b9b89f7a768bb6c02f43fb83630c5d73 | /src/threadpool/Condition.cc | c8414cb974a06c94399e59002894fef6b2c8c36c | [] | no_license | mzLuo/spellCorrection | 110d103f2a15613584cf497820901fb70ca1610e | d5b834ac48c528583ecca213005f7a843de448ab | refs/heads/master | 2020-03-08T21:13:06.042020 | 2018-04-06T14:03:15 | 2018-04-06T14:03:15 | 128,402,274 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 562 | cc | ///
/// @file Condition.cc
/// @author lemon(haohb13@gmail.com)
/// @date 2016-03-18 15:05:17
///
#include "Condition.h"
#include "MutexLock.h"
namespace wd
{
Condition::Condition(MutexLock & mutex)
: _mutex(mutex)
{
pthread_cond_init(&_cond, NULL);
}
Condition::~Condition()
{
pthread_cond_destroy(&... | [
"mzluo2866@163.com"
] | mzluo2866@163.com |
c03e651389f3c792508497d1e4d5caab14d5c518 | a15a859507d83a6fe292d13f6289cba72d829484 | /model/uan-phy-real-newb.h | 5caa1080ce1f45172a036906722d24d88e707707 | [] | no_license | rustfree/NS3_UAN_FcMaca | a41344071387281a54a369815f4013636546ee4a | f27b1f2b6e005daa2ab1d6dd46048d604024e367 | refs/heads/master | 2023-02-25T10:58:26.702043 | 2021-01-18T12:50:45 | 2021-01-18T12:50:45 | 330,548,629 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 10,905 | h | /* ~ * ~ * ~ * ~ * ~ * ~ * ~ * ~ * ~ * ~ *
** uan-phy-real-new.h *
** Created on 2018/7/18 *
** Author:lch *
** For:connecting with real channel *
** ~ * ~ * ~ * ~ * ~ * ~ * ~ * ~ * ~ * ~ *
*/
#ifndef UAN_PHY_REAL_NEW_H
#define UAN_PHY... | [
"luochaohui_lch@163.com"
] | luochaohui_lch@163.com |
1f6a2a3b58c97768cd96882e79b4365e083660ad | 3ea61f80e1e4b2113523624f0de88457b2669852 | /src/pose_estimation/pose_estimation_halcon/src/Recognition_node.cpp | c60dee67825c75f281cc6da6899c9694ba5443d4 | [] | no_license | rneerg/RoboVision3D | c4f8e05e91702a0df04eeb902771dad52588eb45 | f0293ea5f1aaaf64d4530ac9f0f92a3583b55ef6 | refs/heads/master | 2020-04-18T16:03:55.217179 | 2014-09-04T11:55:03 | 2014-09-04T11:55:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,779 | cpp | /********************************************************************************************************************
*
* @file Recognition_node.cpp
* @author Thomas Sølund (thso@teknologisk.dk)
* @date 2013-04-23
* @version 1.0
* @brief ROS Node implementing Halcon surface based matching
*
***************... | [
"soelund@mail.dk"
] | soelund@mail.dk |
68284117553b54188947eb45fcdd5b378e84d146 | 99a5907d52d23cbab9703a3818d93f8b80dedc9d | /week2_algorithmic_warmup/1_fibonachi_number.cpp | c3ce72deed98d467885f6bdc7c8a92de7f35d6ec | [] | no_license | Mr-SkyLark/Algorythmic_Toolbox | 7e705b62dcd1998518b20958a8089a8a7ad5c062 | fced2f74be28d1bcfa7274e8922c56f32c89682e | refs/heads/master | 2021-05-18T13:52:19.539828 | 2020-04-22T09:49:07 | 2020-04-22T09:49:07 | 251,270,299 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 566 | cpp | //#define TESTS_ON
#ifdef TESTS_ON
#include "Test.hpp"
#endif
#include <iostream>
#include <vector>
#include <algorithm>
long long fibonacci_fast(long long n)
{
if (n <= 1)
return n;
long long result = 1;
long long preResult = 0;
for(int i = 1; i < n; ++i)
{
preResult = preResult + result;
s... | [
"galdin.ilya.d@gmail.com"
] | galdin.ilya.d@gmail.com |
1483d4ecd24e9e468ea5a9604bcbe97a9edef375 | 1ad59f12e827d1bd221b3d2800e2417d6a3a9293 | /aten/src/ATen/core/TensorMethods.h | f3eb453554bbd6da0dd6916fcd26065994f80ad1 | [
"BSD-3-Clause",
"BSD-2-Clause",
"LicenseRef-scancode-generic-cla",
"Apache-2.0"
] | permissive | cjnolet/pytorch | 97fb5e3a82f453caf7d009e5283d78e2a07850a0 | a7b3197b2d4b63685629e903e95350eab143f976 | refs/heads/master | 2020-04-10T11:41:32.079146 | 2018-12-09T02:15:00 | 2018-12-09T02:17:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 44,337 | h | #pragma once
#include "ATen/core/Tensor.h"
#include <c10/core/Scalar.h>
#include <c10/macros/Macros.h>
#include "ATen/core/SparseTensorRef.h"
#include "ATen/core/Type.h"
#include "c10/core/TensorOptions.h"
namespace at {
inline Tensor Tensor::toType(const Type & t, bool non_blocking) const {
if(type() == t)
re... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
f56f311b614b01cc709ec3c34a9adcb08d600755 | d57acff08a839ba3c8adeaedf7b4b1843e7e39cf | /KDE/salut/main.cpp | 337fa7413c511c45c39b73a826296eb52a5ad6f0 | [
"MIT"
] | permissive | mhcrnl/2018Q1 | 3ba77bdcf62b1aedab2d20f87d82dc842b083380 | 2dfa39ba03c5c03973b4d9aeb068810a03e9dda9 | refs/heads/master | 2021-09-10T12:41:28.973710 | 2018-03-26T12:41:20 | 2018-03-26T12:41:20 | 115,506,780 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 173 | cpp | #include <QApplication>
#include "salut.h"
int main(int argc, char** argv)
{
QApplication app(argc, argv);
salut salut;
salut.show();
return app.exec();
}
| [
"mhcrnl@gmail.com"
] | mhcrnl@gmail.com |
f170751050afd85aff0ca3e3c18e2f43a039b296 | 0ffc6574bb9c445daac18e9f194017ad8421bec1 | /Coursera/C++Specialization/CourseraYellowBelt/FinalTask/test_runner.h | d6fe5b091d14df1683dc72066c4edcc403021044 | [] | no_license | LeonidK1974/repo | d546ba9f23cc7aab1759b93cb74c3732a8729ed1 | 84d04e335f41eccb9fa0b09401f2a9b41a4ad816 | refs/heads/master | 2021-03-13T12:02:54.937223 | 2020-09-10T18:36:52 | 2020-09-10T18:36:52 | 246,679,395 | 0 | 0 | null | 2020-09-10T18:36:53 | 2020-03-11T21:02:17 | C++ | UTF-8 | C++ | false | false | 1,741 | h | #pragma once
#include <iostream>
#include <map>
#include <set>
#include <sstream>
#include <stdexcept>
#include <string>
#include <vector>
using namespace std;
template <class T>
ostream& operator<<(ostream& os, const vector<T>& s)
{
os << "{";
bool first = true;
for (const auto& x : s) {
if (!first) {
os << ... | [
"leonid.i.kudryavtsev@gmail.com"
] | leonid.i.kudryavtsev@gmail.com |
20b95e192fffa05f8d67d53c79911a4a22bf8b60 | 3f409e358ead9565dcbe1eedcc2eedbb939fe503 | /contest/weekly-contest-156/problems/5208.minimum-moves-to-reach-target-with-rotations/5208.minimum-moves-to-reach-target-with-rotations.cpp | eae552de583cfb95bafce4131fa705c3cf390da2 | [] | no_license | jimsoftyi/leetcode-cn | 226be2d2a96dff31a7153a019909bea7aa48f78e | ac386bb287ef27ad84149718b6bc49704d072d17 | refs/heads/master | 2020-08-06T13:46:13.838553 | 2019-10-04T10:45:13 | 2019-10-04T10:45:13 | 212,997,092 | 1 | 0 | null | 2019-10-05T12:39:20 | 2019-10-05T12:39:20 | null | UTF-8 | C++ | false | false | 1,729 | cpp | // 5208.minimum-moves-to-reach-target-with-rotations.cpp : 此文件包含 "main" 函数。程序执行将在此处开始并结束。
//
#include "pch.h"
#include <iostream>
#include <windows.h>
#include <algorithm>
#include <array>
#include <map>
#include <unordered_map>
#include <unordered_set>
#include <vector>
#include <queue>
#include <deque>
#include <s... | [
"ahjo_bb@hotmail.com"
] | ahjo_bb@hotmail.com |
eddf66ad463f40088c4610f8f070c6dc61a095b7 | d2249116413e870d8bf6cd133ae135bc52021208 | /MFC CodeGuru/shell/appbar_project/TaskBar.h | b9564097bc2258151d246bba93fe26b5db10a14f | [] | no_license | Unknow-man/mfc-4 | ecbdd79cc1836767ab4b4ca72734bc4fe9f5a0b5 | b58abf9eb4c6d90ef01b9f1203b174471293dfba | refs/heads/master | 2023-02-17T18:22:09.276673 | 2021-01-20T07:46:14 | 2021-01-20T07:46:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,343 | h | // TaskBar.h : main header file for the TASKBAR application
//
#if !defined(AFX_TASKBAR_H__9089251D_A8C8_11D1_B257_006097960BB7__INCLUDED_)
#define AFX_TASKBAR_H__9089251D_A8C8_11D1_B257_006097960BB7__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
#ifndef __AFXWIN_H__
#error inclu... | [
"chenchao0632@163.com"
] | chenchao0632@163.com |
05e7c911210c92e1e76a5d8a1f83a378b0312db5 | a3d6556180e74af7b555f8d47d3fea55b94bcbda | /content/browser/renderer_host/renderer_sandboxed_process_launcher_delegate.h | 00038da2c15696b361aea1469ccf73307e44963e | [
"BSD-3-Clause"
] | permissive | chromium/chromium | aaa9eda10115b50b0616d2f1aed5ef35d1d779d6 | a401d6cf4f7bf0e2d2e964c512ebb923c3d8832c | refs/heads/main | 2023-08-24T00:35:12.585945 | 2023-08-23T22:01:11 | 2023-08-23T22:01:11 | 120,360,765 | 17,408 | 7,102 | BSD-3-Clause | 2023-09-10T23:44:27 | 2018-02-05T20:55:32 | null | UTF-8 | C++ | false | false | 2,331 | h | // Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CONTENT_BROWSER_RENDERER_HOST_RENDERER_SANDBOXED_PROCESS_LAUNCHER_DELEGATE_H_
#define CONTENT_BROWSER_RENDERER_HOST_RENDERER_SANDBOXED_PROCESS_LAUNCHER_DELEGATE_H_
#in... | [
"chromium-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | chromium-scoped@luci-project-accounts.iam.gserviceaccount.com |
854692bde6ce9191a259f6b442c3fb1f924cdc72 | 2f10f807d3307b83293a521da600c02623cdda82 | /deps/boost/win/debug/include/boost/range/adaptor/tokenized.hpp | 96485f1c9210c14130903288434aa1b6fd7f3c9a | [] | no_license | xpierrohk/dpt-rp1-cpp | 2ca4e377628363c3e9d41f88c8cbccc0fc2f1a1e | 643d053983fce3e6b099e2d3c9ab8387d0ea5a75 | refs/heads/master | 2021-05-23T08:19:48.823198 | 2019-07-26T17:35:28 | 2019-07-26T17:35:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 129 | hpp | version https://git-lfs.github.com/spec/v1
oid sha256:a69b381ac8b5615e1e63fe05250b259f37a624f89bc2fd2f6cd2317e02b15ebe
size 4710
| [
"YLiLarry@gmail.com"
] | YLiLarry@gmail.com |
709ff7db98a22c914138d061a60ec45ae2ec4da1 | c776476e9d06b3779d744641e758ac3a2c15cddc | /examples/litmus/c/run-scripts/tmp_1/MP+dmb.sy+ctrlisb-[fr-rf]-addr-ctrl.c.cbmc_out.cpp | d8144bf5f17d5fb1fa45e5b985223868540c6e56 | [] | no_license | ashutosh0gupta/llvm_bmc | aaac7961c723ba6f7ffd77a39559e0e52432eade | 0287c4fb180244e6b3c599a9902507f05c8a7234 | refs/heads/master | 2023-08-02T17:14:06.178723 | 2023-07-31T10:46:53 | 2023-07-31T10:46:53 | 143,100,825 | 3 | 4 | null | 2023-05-25T05:50:55 | 2018-08-01T03:47:00 | C++ | UTF-8 | C++ | false | false | 60,255 | cpp | // 0:vars:4
// 6:atom_1_X4_1:1
// 4:atom_1_X0_1:1
// 5:atom_1_X2_0:1
// 7:atom_1_X8_0:1
// 8:thr0:1
// 9:thr1:1
// 10:thr2:1
#define ADDRSIZE 11
#define NPROC 4
#define NCONTEXT 1
#define ASSUME(stmt) __CPROVER_assume(stmt)
#define ASSERT(stmt) __CPROVER_assert(stmt, "error")
#define max(a,b) (a>b?a:b)
char __get_rn... | [
"tuan-phong.ngo@it.uu.se"
] | tuan-phong.ngo@it.uu.se |
81b59b16b116c5147f13644360d847506e83fee6 | 07a787d756dff1dd611cda747239ff734b0fca43 | /DICTIONARYBST/BinaryTree.h | a8b1e057284691d677199f1be449052e0bdd5eff | [] | no_license | Evan-Swanson/CPSC-223 | 4f9a1ba8fc1c588bd297009e34911256b3bef8b6 | bc172810be0edc3c9ee39fd7fe2a8ccca47409c7 | refs/heads/master | 2020-04-13T17:26:51.072899 | 2018-12-28T00:38:40 | 2018-12-28T00:38:40 | 163,348,502 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,827 | h | //file BinaryTree.h
//Evan Swanson, Ryan Schoenlein
// 3/5/18
// Specification of ADT Binary Tree
// Data object: A binary tree T that is either empty or
// in the form of r
// / \
// TL TR
// where TL and T... | [
"44790747+Evan-Swanson@users.noreply.github.com"
] | 44790747+Evan-Swanson@users.noreply.github.com |
e7d6b6533a9c515982c85e30c07156c9f9d3dc59 | 3e0b214f030b16e48f30dd18fcd08c98284930d7 | /examples/demo-module-UT/demoModuleTests.cpp | a841d3c88eff98e84f4212b2ed97d56030ffb828 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | zeroSDN/ZMF | d56def1aa65b6a287aefcbdecf8e46e68fef99d4 | a2262a77891b9c6b34d33dc6ff1b9734175fdcce | refs/heads/master | 2020-04-11T01:20:51.196452 | 2015-11-12T09:38:36 | 2015-11-12T09:38:36 | 41,360,398 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 339 | cpp | //
// Created by zsdn on 6/25/15.
//
#include "demoModuleTests.h"
demoModuleTests::demoModuleTests()
{
}
void demoModuleTests::testMethod1()
{
CPPUNIT_ASSERT(true);
}
void demoModuleTests::testMethod2()
{
CPPUNIT_ASSERT(true);
}
void demoModuleTests::testMethod3()
{
CPPUNIT_ASSERT_EQUAL(i,5);
CPPUN... | [
"public@jonas-grunert.de"
] | public@jonas-grunert.de |
b1ab5cdf0e0b50fd897a5eadc2ef102a9474c45d | 277698e0fa6c846f1209adbd840afab8aea6d7b5 | /code/EditInPlace.h | 78a31773e4c14d9e36573857ec913b460274611a | [
"MIT"
] | permissive | omerdagan84/neomem | ad67dba738efced735f614029d7c237f574ecbbe | 7d2f782bb37f1ab0ac6580d00672e114605afab7 | refs/heads/master | 2021-01-20T19:45:32.004246 | 2014-04-12T13:09:20 | 2014-04-12T13:09:20 | 22,289,594 | 2 | 0 | null | null | null | null | MacCentralEurope | C++ | false | false | 2,748 | h |
// CEditInPlace
// This is an extension of the edit control which is used to edit values in the
// Contents View and Properties View.
// Adapted from various CodeGuru articles.
//-----------------------------------------------------------------------------------------------------------------
// Like the built in edi... | [
"bburns@3bad96a7-2d8f-4f48-a7ae-748201937164"
] | bburns@3bad96a7-2d8f-4f48-a7ae-748201937164 |
5f50a63613c44d39694d7a26f8ba7029935a4c9d | 0dff71fc1ba6c8f38a1cb9006a8a224138551cc9 | /CircleIn3D.h | ef0ecf75a454a0c6a26e46272e21c5d564d6121b | [] | no_license | hidex7777/fsof005 | ea1ead2483f3d0bb83101995006f9634293f6936 | 490e7eb0b6fbe440285e0f11c721fadd9f752c6a | refs/heads/master | 2021-08-31T06:35:14.901623 | 2017-12-20T15:23:08 | 2017-12-20T15:23:08 | 114,789,517 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 362 | h | #pragma once
#include "ofMain.h"
class CircleIn3D {
public:
CircleIn3D(ofVec3f center, ofColor color, float r, float theta);
~CircleIn3D() {};
void update(float add);
void draw();
vector<ofVec3f> getDots();
private:
ofVec3f mycenter;
float myradius;
vector<ofVec3f> mydots;
ofColor mycolor;
flo... | [
"hidex7777@gmail.com"
] | hidex7777@gmail.com |
893745ea0bf7dbcba47e7166d35b4b2401612618 | 9c2e00697c4904d031f80b08c449f63aa7031d10 | /Seminar/Week11 - Strings/solutions/task07.cpp | fefdf216719be1afc4be596fdb933855a9a9e7cb | [] | no_license | fmi-lab/up-kn-2020-group-4 | 6e2d753c84a0613b540537ef35f14bbdf52315ea | f75169a224e1f2e8dec76644f4e1341622bfeb94 | refs/heads/master | 2023-02-27T07:30:27.540323 | 2021-02-03T08:03:40 | 2021-02-03T08:03:40 | 300,292,730 | 9 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 1,458 | cpp | #include <iostream>
#include <cstring>
using namespace std;
bool isLetter(char symbol) {
return symbol >= 'A' && symbol <= 'z';
}
void resize(char* &str, size_t& size) {
char* oldStr = str;
str = new char[size*2];
for (int i = 0; i < size; i++) {
str[i] = oldStr[i];
}
size *= 2;
d... | [
"cvetilinna@gmail.com"
] | cvetilinna@gmail.com |
de7b52f8682426c56a90ef4bcc3ce2343ecf78f7 | e600605b2c67b4c0dbc93ed9b5492b9fc607b0f3 | /ShapeInheritance/Circle.h | c9084f8ecc531b1ff1c26be98b0d0ce7f4022207 | [] | no_license | neilpirch/CSIS223_Assign06_ShapeInheritance | 334b52d856ea87689fb9fb5592fa2b2d37504cca | 7cdbadbbf6cc55f4fbdc9670a200c4e58cc7643f | refs/heads/master | 2021-08-28T16:13:49.562936 | 2017-12-12T17:39:31 | 2017-12-12T17:39:31 | 114,020,447 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 320 | h | #pragma once
#include "Shape.h"
class Circle :
public Shape
{
const double PI = 3.1416;
public:
Circle();
Circle(int newX, int newY, int newRadius);
int getRadius() const;
void setRadius(int newRadius);
void display() const;
double getArea() const;
double getPerimeter() const;
private:
int radius;
};
| [
"neil.pirch@gmail.com"
] | neil.pirch@gmail.com |
0e3c7d411b785e63e62a8c2494707ce2e1e3ad11 | 2f78e134c5b55c816fa8ee939f54bde4918696a5 | /code/game/anonymouscomponent.cpp | 728cdaa5bb0c9d522035f080e57f86524ed97185 | [] | no_license | narayanr7/HeavenlySword | b53afa6a7a6c344e9a139279fbbd74bfbe70350c | a255b26020933e2336f024558fefcdddb48038b2 | refs/heads/master | 2022-08-23T01:32:46.029376 | 2020-05-26T04:45:56 | 2020-05-26T04:45:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,489 | cpp | #include "anonymouscomponent.h"
CAnonymousEntComponent::CAnonymousEntComponent()
:m_name("")
{
// nothing
}
CAnonymousEntComponent::CAnonymousEntComponent(const ntstd::String& name)
:m_name(name)
{
// nothing
}
CAnonymousEntComponent::~CAnonymousEntComponent()
{
// nothing
}
CAnonymousEntComponentMap::CAnonym... | [
"hopefullyidontgetbanned735@gmail.com"
] | hopefullyidontgetbanned735@gmail.com |
7e66d4d274ad483996947ef8d3d62dd5918e75a6 | f37d8d2dcdf3b3f1aabb09e7b5f69ddbe4a75c09 | /t3d-graphics-engine-master/T3D/T3D/WinGLApplication.cpp | 597dd8ad6fc4d28d4dfdbfd73c59d8aa5d1185f4 | [] | no_license | Ken-na/RoboPirates | 8d4f568f0a66c1ba61592a69a239ca0e97e275c4 | dd8af05e4e4eb8dfc1cd32fbe994b52902de38d0 | refs/heads/master | 2023-03-02T09:38:34.898547 | 2021-02-01T10:18:29 | 2021-02-01T10:18:29 | 334,792,779 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,899 | cpp | // =========================================================================================
// KXG363 - Advanced Games Programming, 2012
// =========================================================================================
//
// Author: Robert Ollington
//
// winglapplication.h
//
// t3d application for windows... | [
"43331896+Ken-na@users.noreply.github.com"
] | 43331896+Ken-na@users.noreply.github.com |
993ff7814a05e80a4adebf59b372cdadf32d9621 | 934dd917999f277eb2b99ae138e4020b2da0bce9 | /f24/f24.ino | 9f35a8b5c681fa9e2d0432a978610137b8be5f5c | [] | no_license | LukJA/f24-team-firefly-2017 | 5691ecc8b6a4042e0a66c012432ec5109db84c04 | de7b33a7417248c0f699502b680c140c9388962d | refs/heads/master | 2021-01-23T04:58:50.117902 | 2017-04-19T18:17:43 | 2017-04-19T18:17:43 | 86,259,686 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,716 | ino | #include <OneWire.h>
#include <Metro.h>
#include <SD.h>
#include <SPI.h>
// -------------------------------------------
// F24 team firefly main ECU control
// OLED dash on SERIAL3 (7,8)
// Accel on WIRE2 (3,4)
// telem on SPI0 (9-12)
// define pins
// OUT ----
#define OLEDSer Serial3
#define ignitOut 23
#define... | [
"lukejandrews@hotmail.co.uk"
] | lukejandrews@hotmail.co.uk |
d8a92eaf27150259336d00f1dea9f7077aa86dd0 | 3acafaea6ada570668aeea4e076110aba8724bb5 | /cxxlib/test/test_Signal.cpp | b492bef8a55cece16db18388355c0406cf248574 | [] | no_license | frankyueh/cxxlib | 4ca1698d3847ca86204122550b8d1b2e5f520aac | d5d508eae79a53d6a73207ea5cea4afaffb736cd | refs/heads/master | 2020-05-27T00:31:43.736151 | 2015-09-23T06:47:54 | 2015-09-23T06:47:54 | 41,167,531 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,577 | cpp |
#include "Thread.h"
#include "EventSignal.h"
#include "Mutex.h"
#include "gtest/gtest.h"
#include "gtest_utilities.h"
using namespace cxxlib;
/*
// Signal_Test
//-----------------------------------------------------------------------------
class Signal_Test : public ::testing::Test
{
public:
static const unsigned... | [
"yueh.frank@gmail.com"
] | yueh.frank@gmail.com |
faf29b654edc0b31d30eaa263252f574b83dc9e4 | 3e38a461d1b02cb3eed7fe41328b5f501e33aebe | /4lab/4lab_2/Levenshtein.cpp | c0315a4cc630d8c5e2a031c0103f892b01d9a0ef | [] | no_license | Vokamrecom/-MathProga | 41ee341b0cd5f7654ab792c0965b4782ad79e9b4 | ce5833cfac18c9b65712f53e0d4987a24a4e338b | refs/heads/master | 2021-04-26T23:01:51.371097 | 2018-05-28T11:25:33 | 2018-05-28T11:25:33 | 123,917,350 | 1 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 1,795 | cpp | #include "stdafx.h"
#include <iomanip>
#include <algorithm>
#include "Levenshtein.h"
#define DD(i,j) d[(i)*(ly+1)+(j)]
int min3(int x1, int x2, int x3)
{
return std::min(std::min(x1, x2), x3); //минимальное из трех
}
int levenshtein(int lx, const char x[], int ly, const char y[]) //длина слова х, слово длиной lx
... | [
"ermakovkiril@gmail.com"
] | ermakovkiril@gmail.com |
89ffd828f81acf95765c137b0fe3bb7fd8bbf8fe | 93becb0e207e95d75dbb05c92c08c07402bcc492 | /atcoder/2019_7_27_技術室奥/b.cpp | 1bcaf48dea04fad22515aba7924be900d47f76ae | [] | no_license | veqcc/atcoder | 2c5f12e12704ca8eace9e2e1ec46a354f1ec71ed | cc3b30a818ba2f90c4d29c74b4d2231e8bca1903 | refs/heads/master | 2023-04-14T21:39:29.705256 | 2023-04-10T02:31:49 | 2023-04-10T02:31:49 | 136,691,016 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 671 | cpp | #include <functional>
#include <algorithm>
#include <iostream>
#include <iomanip>
#include <cstring>
#include <string>
#include <vector>
#include <random>
#include <bitset>
#include <queue>
#include <cmath>
#include <stack>
#include <set>
#include <map>
typedef long long ll;
using namespace std;
const ll MOD = 10000000... | [
"kambe3141@gmail.com"
] | kambe3141@gmail.com |
aa18aa2d31bb0b445c7544bac7316b75cb9f6fb0 | ee5f4030fd7c72a34c49717d4bd08334f19403b3 | /ScriptEmbedder/src/scriptembedderbuilder.cc | 32c14ae491189fc2da6a25c5df263033e41581c9 | [
"MIT"
] | permissive | PerttuP/ScriptEmbedder | ade2cc464ac98059a13ebe810688953166b83e4b | 98f39da5f176af830aa0310023afdcc4c61f3e0d | refs/heads/master | 2021-01-01T05:27:29.933906 | 2016-06-06T20:27:57 | 2016-06-06T20:27:57 | 59,598,333 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 438 | cc | /**
* @file
* @brief Implements the ScriptEmbedderBuilder class defined in scripembedderbuilder.hh.
* @author Perttu Paarlahti 2016.
*/
#include "scriptembedderbuilder.hh"
#include "serialscriptembedder.hh"
namespace ScriptEmbedderNS
{
ScriptEmbedder*ScriptEmbedderBuilder::createSerialEmbedder(const Configuratio... | [
"perttu.paarlahti@gmail.com"
] | perttu.paarlahti@gmail.com |
7bfff978bc134495f00a5311e97fc4aad106e7ef | d9bf27e750b24652aa89029f85ce90f75e98b395 | /yukicoder/182.cpp | 8927b5a45f8212c1b77884bd399027289d5e761c | [] | no_license | r2en/Competitive_Programming | 09bd2074ba73081fdb044c38db87568d2b918a4a | dc7f06fcfcfd302c568324337c50e3b7eb1495ab | refs/heads/master | 2021-06-13T18:04:55.350268 | 2017-04-25T10:11:51 | 2017-04-25T10:11:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 368 | cpp | #include <iostream>
#include <map>
using namespace std;
int main(){
int N; cin >> N;
int cnt = 0;
int mmax = 0;
int *m; m = new int[N];
for(int i = 0; i < N; ++i){
int a = 0; cin >> a; m[a]++;
mmax = max(a,mmax);
}
for(int i = 0; i <= mmax; ++i){ if(m[i]==1){ cnt++; } }
... | [
"s12161te@gmail.com"
] | s12161te@gmail.com |
3261827c90edf8feb74dd42e8185bd36386138a3 | f23fea7b41150cc5037ddf86cd7a83a4a225b68b | /SDK/BP_ipg_costume_reapers_01_Desc_classes.h | 781f5b58e7a6d797af023bcb7e68955cf70478c8 | [] | no_license | zH4x/SoT-SDK-2.2.0.1 | 36e1cf7f23ece6e6b45e5885f01ec7e9cd50625e | f2464e2e733637b9fa0075cde6adb5ed2be8cdbd | refs/heads/main | 2023-06-06T04:21:06.057614 | 2021-06-27T22:12:34 | 2021-06-27T22:12:34 | 380,845,087 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 789 | h | #pragma once
// Name: SoT, Version: 2.2.0b
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Classes
//-------------------------------------------------------------... | [
"Massimo.linker@gmail.com"
] | Massimo.linker@gmail.com |
ebaacc31272be31988d0aa35ce35ad7c466a6a69 | 9402c9f35b6d895c3b6f7ddcfc87241e6b9145d8 | /Codechef/JulyLT14/test.cpp | 02f5037fb63ac844d60030eea6be9b945f8e423f | [] | no_license | siddharth94/competitive | 586d42679558dcd1dcca3457c2ca7be089cbda30 | ecda01521a7a9908225771d9374d5c18fa646515 | refs/heads/master | 2021-07-06T05:27:13.395384 | 2017-09-29T10:16:20 | 2017-09-29T10:16:20 | 105,229,373 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 572 | cpp | #include <bits/stdc++.h>
using namespace std;
#define F(i,n) for(int i=0;i<n;i++)
#define FE(i,n) for(int i=0;i<=n;i++)
#define FR(i,n) for(int i=n;i>0;i--)
#define FRE(i,n) for(int i=n;i>=0;i--)
#define LL long long
#define gc getchar_unlocked
void get(int &x)
{
register int c = gc();
x = 0;
int neg = 0;... | [
"siddharthgg52@gmail.com"
] | siddharthgg52@gmail.com |
4e7d2537804ce834944509f09d9d94885a920e4e | 80325ad653c6bb7b66f8bf6bfef232db867ad3fb | /2018/MultiDirectionalList/MultiDirectionalList/MultiDirectionalList.cpp | 601ed4963bb0068eeceafff2545ea55bf742b955 | [] | no_license | gmc1322/FreeTime | e2e5a1c23ef55f5325f57bb57ddbcfe0d10c088c | ac86cba38a54a0dda9797df061d1080cd84add29 | refs/heads/master | 2020-04-16T16:23:46.830821 | 2019-01-15T00:24:04 | 2019-01-15T00:24:04 | 165,735,010 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 51,381 | cpp | #include "MultiDirectionalList.h"
#include <iostream>
#include <algorithm>
using namespace MDLSpace;
Direction::Direction( const std::vector< float > &DirectionValues ) noexcept : Angles{ DirectionValues }
{
}
Direction::Direction( std::vector< float > &&DirectionValues ) noexcept : Angles{ std::move( DirectionVal... | [
"gmc1322@users.noreply.github.com"
] | gmc1322@users.noreply.github.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.