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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ba87a6dea87703a697c33d4ba27d588ad4e3f3e8 | 3b9b4049a8e7d38b49e07bb752780b2f1d792851 | /src/chrome/browser/push_messaging/push_messaging_permission_context_unittest.cc | e77c100eb0233e5dbee2e62e27b3e290c4c38388 | [
"BSD-3-Clause",
"Apache-2.0"
] | permissive | webosce/chromium53 | f8e745e91363586aee9620c609aacf15b3261540 | 9171447efcf0bb393d41d1dc877c7c13c46d8e38 | refs/heads/webosce | 2020-03-26T23:08:14.416858 | 2018-08-23T08:35:17 | 2018-09-20T14:25:18 | 145,513,343 | 0 | 2 | Apache-2.0 | 2019-08-21T22:44:55 | 2018-08-21T05:52:31 | null | UTF-8 | C++ | false | false | 13,114 | 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/push_messaging/push_messaging_permission_context.h"
#include "chrome/browser/content_settings/host_content_settings_map_factory.... | [
"changhyeok.bae@lge.com"
] | changhyeok.bae@lge.com |
3096f33693ff9d563083a7c905854ea64d2494ca | 2e392955c72daa1f153fc5cffd460980226ff09f | /CALCA/MyForm.cpp | 02f8b33f9e262c021fbfb750c0b2fe6fe247ff06 | [] | no_license | killomoana/CALCULAREUR | 22bbd21e1bba193f4998d1e9dbdba6ca94548a2f | 7eba9453bc8fd621ea539fb8958c185d723d833e | refs/heads/master | 2021-05-16T15:54:32.300599 | 2018-01-31T06:33:28 | 2018-01-31T06:33:28 | 119,589,861 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 282 | cpp | #include "MyForm.h"
using namespace System;
using namespace System::Windows::Forms;
[STAThreadAttribute]
void Main(array<String^>^ args)
{
Application::EnableVisualStyles();
Application::SetCompatibleTextRenderingDefault(false);
MyCalc::MyForm form;
Application::Run(%form);
} | [
"31729085+killomoana@users.noreply.github.com"
] | 31729085+killomoana@users.noreply.github.com |
88461ec76b4d933f7d3826451a9927575cae0e96 | 4b02a9cb6d43492c8eaee1f79156a372e61ba2cc | /src/rpcrawtransaction.cpp | 80bae5a07d4b382d738d457e5370db8f7b8a75e0 | [
"MIT"
] | permissive | SamaritanProject/SamaritanCoin | 7073278e2602129424a1b625d239ddf9eb7535dd | 8abdf1784a8601593e56b3eb6c377731a2dac85e | refs/heads/master | 2021-05-07T08:53:27.420646 | 2017-11-10T17:14:54 | 2017-11-10T17:14:54 | 109,426,010 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,214 | cpp | // Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <boost/assign/list_of.hpp>
#include "base58.h"
#include "bitcoinrpc.h"
#inclu... | [
"nsurleraux@gmail.com"
] | nsurleraux@gmail.com |
d13421d8bd18badb70b20f93e6f399316b2dd605 | a0d285df86aebf43f0804960e749264810f6abd8 | /ogre/demo/mygui/include/TutorialApplication.h | f78a27810d424c76bedd8dba0cca951b03705306 | [] | no_license | dedowsdi/console | 62a5013d38ac5de460f5a6f07aa2c98af53c60cd | caab208ff7b6b5d26b77407fb1d81ea63ac58d93 | refs/heads/master | 2021-06-01T01:36:55.947295 | 2016-04-06T13:23:29 | 2016-04-06T13:23:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,292 | h | /*
-----------------------------------------------------------------------------
Filename: TutorialApplication.h
-----------------------------------------------------------------------------
This source file is part of the
___ __ __ _ _ _
/___\__ _ _ __ ___ / / /\ \ (_) | _(_)
// // _`... | [
"peanutandchestnut@gmail.com"
] | peanutandchestnut@gmail.com |
00d961bbecb436ddeaa3a9c4e5939dae90702c45 | bdb77ab1cc3be7e3070d3c277e793a180963ca4e | /PT.cpp | cca89a801efd6b16484c729f48ee38d809f922bd | [] | no_license | ZeroPyrozen/Competitive-Programming | 03d7992d2918a4a11675bd4acd346a7b3bdb489a | 86bd98a9daded1cd9526c0b9ef7f05db0ac25635 | refs/heads/master | 2020-04-07T06:38:00.940869 | 2019-02-17T04:13:42 | 2019-02-17T04:13:42 | 158,144,207 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,030 | cpp | #include<stdio.h>
int compare(char kata[], int panjang)
{
if(panjang<4)
{
return 0;
}
for(int i=0; i<panjang; i++)
{
if(kata[i]!='G' && kata[i]!='g')
{
continue;
}
if(kata[i+1]!='O' && kata[i+1]!='o')
{
continue;
}
... | [
"william.oky@binus.ac.id"
] | william.oky@binus.ac.id |
ba96b446c56949fb3aab27cb9bc6f3b2b3946670 | 3e4fd5153015d03f147e0f105db08e4cf6589d36 | /Cpp/SDK/ContractClaimChest_classes.h | 01ecd3330f9c301a246688488b3729491b9e900d | [] | no_license | zH4x-SDK/zTorchlight3-SDK | a96f50b84e6b59ccc351634c5cea48caa0d74075 | 24135ee60874de5fd3f412e60ddc9018de32a95c | refs/heads/main | 2023-07-20T12:17:14.732705 | 2021-08-27T13:59:21 | 2021-08-27T13:59:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,294 | h | #pragma once
// Name: Torchlight3, Version: 4.26.1
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Classes
//-----------------------------------------------------... | [
"zp2kshield@gmail.com"
] | zp2kshield@gmail.com |
86d09abff79d57b3906db0519d606179c0a282dc | ee5c8d3306769331350635630c2fa9ffe83c15da | /PhongMaterial.cpp | f28107b96ffbb61ad10ba53db12ceeb74e10dca8 | [] | no_license | surmwill/Ray-Tracing | 3a23121d3629e3d614164a458f445961e53d782e | f465fe8964759fcca042395f72ce7ba2afce5063 | refs/heads/master | 2020-07-10T18:47:13.599216 | 2019-08-26T21:29:58 | 2019-08-26T21:29:58 | 204,338,863 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 274 | cpp | // Spring 2019
#include "PhongMaterial.hpp"
PhongMaterial::PhongMaterial(
const glm::vec3& kd, const glm::vec3& ks, double shininess, double reflection )
: m_kd(kd)
, m_ks(ks)
, m_shininess(shininess)
, reflection( reflection )
{}
PhongMaterial::~PhongMaterial()
{}
| [
"william.surmak@gmail.com"
] | william.surmak@gmail.com |
e9f5cc44a265879cc82fd8b52fa52b0866478fae | 0c2075ff3ef6a0dde625c9879c3bd4ee7bfd8217 | /Watery/ThirdParty/ASIO/asio/ssl/detail/verify_callback.hpp | cfed406649e6044e9b7186fa98151875572df1e5 | [] | no_license | Mike-Leo-Smith/Watery | 27349ee581faac107bd6b886cab996270da9518b | ec13ef5e0384522daabb46c08a93bfd6c8ca7c8e | refs/heads/master | 2021-01-19T20:24:34.680776 | 2017-06-23T15:54:33 | 2017-06-23T15:54:33 | 88,504,257 | 6 | 6 | null | 2017-06-01T15:10:30 | 2017-04-17T12:03:40 | C++ | UTF-8 | C++ | false | false | 1,546 | hpp | //
// ssl/detail/verify_callback.hpp
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2016 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// 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)
//
#ifnd... | [
"mango@live.cn"
] | mango@live.cn |
477196c36d4e832db797cccc0fc4a1f012b536d9 | 57a6a89661ed8bd0bbebcc867bce77b8277902e8 | /flow/flow/intermediate/concat.h | 55e46a6520308471abfd7515a551991230879095 | [
"MIT"
] | permissive | twentylemon/flow | 05a19491df625d6b6f8d1768f25cc0870a606900 | 2c1c2a9435ea322e8183661e1ede4b81c0ee11ea | refs/heads/main | 2021-06-09T03:24:06.735201 | 2015-11-13T19:06:28 | 2015-11-13T19:06:28 | 42,273,441 | 10 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,216 | h |
/**
* \cond LICENSE
* The MIT License (MIT)
*
* Copyright (c) 2015 Taras Mychaskiw
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitati... | [
"taras.mychaskiw@gmail.com"
] | taras.mychaskiw@gmail.com |
b45dba2ab36d6421f871d3d3dbb9ad95540c328f | 08673ebcfb1e786dbbb1253b5542ebb5faa0aa30 | /network-simulator/mp3client.cc | e83aed8b23ac77741045c7ba99745895b0875637 | [] | no_license | abditag2/communication-networks-projects | e42c6d489482d482aa65c9469043333529c11923 | bb1a076e6009e04bd0b037294c470340296a05e8 | refs/heads/master | 2021-01-22T13:17:38.005007 | 2017-06-25T03:02:00 | 2017-06-25T03:02:00 | 24,884,039 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,239 | cc | #include "mp3client.hh"
#include "mp3.cc"
#include "linkedlist.cc"
pthread_mutex_t flag_mutex = PTHREAD_MUTEX_INITIALIZER ;
pthread_mutex_t stack_mutex = PTHREAD_MUTEX_INITIALIZER ;
#define _POSIX_X_SOURCE 199309
#define MAXBUFLEN 100
int updateLinkedList(FILE* fp, node* start, int expectingPID)
{
... | [
"fardin@rtsl-edge.cs.illinois.edu"
] | fardin@rtsl-edge.cs.illinois.edu |
202bcf5d882b6e8ad91f8dcca6d296a8527cc24f | 1715079ab0c8104c2959ca2ec44c76fda3736f4f | /include/range/v3/view/chunk_by.hpp | 50b0d0d7688e5a43f6043b286a7f0788ba1341f8 | [
"NCSA",
"LicenseRef-scancode-mit-old-style",
"MIT",
"LicenseRef-scancode-other-permissive",
"BSL-1.0"
] | permissive | ericniebler/range-v3 | 2ce5836dcb9cfde991b7bb91cb4cd696eec138c1 | 9aa41d6b8ded2cf5e8007e66a0efd1ab33dbf9a5 | refs/heads/master | 2023-07-06T13:11:44.449102 | 2023-05-23T13:10:23 | 2023-05-23T13:10:23 | 14,305,727 | 4,013 | 561 | NOASSERTION | 2023-08-13T08:33:40 | 2013-11-11T16:05:48 | C++ | UTF-8 | C++ | false | false | 5,076 | hpp | /// \file
// Range v3 library
//
// Copyright Hui Xie 2021
//
// Use, modification and distribution is subject to the
// Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
// Project home: https://github.com/ericniebler/range-v3
//
... | [
"noreply@github.com"
] | ericniebler.noreply@github.com |
2a9824d64fa23aea3ba7c9ec0941470ae91185ff | 66395d93b7701f082ab2d0899c7735d4042877e5 | /CUBE/CUBE.ino | e4f8eaf6cacc73844f52a56403f5fac342cf2585 | [] | no_license | sebiweise/LED-Cube | 9f9f4d255c2138ef455e64ac4a7a29dbff2ce0d2 | b18e1459c21589962276c2685692ca5e58c32596 | refs/heads/master | 2023-03-15T19:07:48.412959 | 2022-11-10T08:39:55 | 2022-11-10T08:39:55 | 171,017,246 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,482 | ino | #include <SPI.h>
#define XAXIS 0
#define YAXIS 1
#define ZAXIS 2
#define POS_X 0
#define NEG_X 1
#define POS_Z 2
#define NEG_Z 3
#define POS_Y 4
#define NEG_Y 5
#define BUTTON_PIN 8
#define RED_LED 5
#define GREEN_LED 7
#define TOTAL_EFFECTS 8
#define RAIN 0
#define PLANE_BOING 1
#define SEND_VOXELS 2
#define WOOP_... | [
"sebastian@family-weise.de"
] | sebastian@family-weise.de |
0f8b81b3c2daf0578bb751cbaa22feadec40cdf4 | d2c4edf155bf0b442dea7e49641e3ab26f9e717b | /src/util/Random.h | ce4d8ce95107e33b726e68187ac5db4a051d6338 | [] | no_license | shawxing/Raft | 46f0a034e26b8d971baaba72cd02f9ab21ccacce | abed082c475fd9a062405301ef398b09b7d0cda1 | refs/heads/master | 2021-01-18T08:12:44.589364 | 2017-03-08T09:14:03 | 2017-03-08T09:14:03 | 84,301,864 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,557 | h | /* Copyright (c) 2012 Stanford University
* Copyright (c) 2015 Diego Ongaro
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PR... | [
"shaw.xing00@gmail.com"
] | shaw.xing00@gmail.com |
fd9292859a76f91fb6ab75b8b608958f283eecb5 | 2defe8ceda5d509ab80f24c28ec535a848ccf7e3 | /product_parser.cpp | f2b674d216414d41915d4eb864daa62ced51b02c | [] | no_license | briantse17/Mock-Amazon | 7cb3bb40864de0dd98b3c9d15dff56f09575f912 | b21c4ae3c3e71e1fe762df3d02ddfbf9a29f32e5 | refs/heads/master | 2020-08-14T09:25:28.258707 | 2019-10-14T20:39:55 | 2019-10-14T20:39:55 | 215,140,640 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,990 | cpp | #include <iostream>
#include <sstream>
#include "product_parser.h"
#include "book.h"
#include "clothing.h"
#include "movie.h"
#include "util.h"
using namespace std;
ProductParser::ProductParser()
{
}
ProductParser::~ProductParser()
{
}
Product* ProductParser::parse(string category,
... | [
"noreply@github.com"
] | briantse17.noreply@github.com |
2d39cf12cddbecb45dcc33a55f38b3ef6e3178cb | 8a807202a17a45c1a78146e3f73b162497f8916e | /src/subscribe_twist.cpp | ea670277d25cc3b55dd12d3bfdac645d600853f8 | [] | no_license | AufarZakiev/ROS-Qt5-Engineer | 16cbc84dbae7da0ff73ee069cac9938f228b6f13 | 5b82a2070927ec9bd32de74f0908dc06ce069469 | refs/heads/master | 2021-09-05T15:28:18.000302 | 2018-01-29T08:43:00 | 2018-01-29T08:43:00 | 113,559,573 | 2 | 0 | null | 2018-01-29T08:43:01 | 2017-12-08T09:55:45 | C++ | UTF-8 | C++ | false | false | 1,431 | cpp | // includes of self-wrote libs
#include "subscribe_twist.h"
SubscribeTwist::SubscribeTwist() {
//Topic you want to subscribe
ROS_INFO("Constructor started!");
sub_ = n_.subscribe("/cmd_vel", 1, &SubscribeTwist::callbackTwist, this);
ROS_INFO("Subscribed!");
//Robot object to send commands
robot... | [
"zaufar@gmail.com"
] | zaufar@gmail.com |
48285d0539c0b48758fcd31b003766ba537b93f3 | 2c1cb4af0972834a7c4f88427719fd8c9c0a3b86 | /C/problem45.cpp | 36a49eb02c8cb34333d609afec16dd7dda7d62c1 | [] | no_license | kypo13/C-Programming | 781288ae9dc553f91b7436f4f4a3088d73e7673b | ab0fe2c9035b5803722b34e9ef74b34013bb4732 | refs/heads/master | 2022-12-22T00:44:28.289043 | 2020-09-29T09:29:46 | 2020-09-29T09:29:46 | 299,514,256 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 810 | cpp | #include <stdio.h>
int main()
{
int n;
int matrix[102][102];
int max1[255];int max[255];
int a,j,k;
scanf("%d", &n );
for (int i=1;i<=n;i++){
int a;
scanf("%d",&a);
for (j=0;j<a;j++){
for (k=0;k<a;k++){
scanf("%d",&matrix[j][k]);
}
}
for (j=0;j<a;j++){
matrix[j][k]=-128;
... | [
"noreply@github.com"
] | kypo13.noreply@github.com |
bcb0215c0ee052db53dde841a7a28b6f766d78da | fb66a5cc43d27f33c85320a6dba8b9a8ff4765a9 | /gapputils/true3d/true3dviewer.cpp | e56c0ac3b3444a3be35f6ab5da6cf3a62a133c9f | [] | no_license | e-thereal/gapputils | 7a211c7d92fd2891703cb16bf94e6e05f0fb3b8a | a9eca31373c820c12f4f5f308c0e2005e4672fd0 | refs/heads/master | 2021-04-26T16:42:58.303603 | 2015-09-02T21:32:45 | 2015-09-02T21:32:45 | 38,838,767 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,504 | cpp | /*
* True3dViewer.cpp
*
* Created on: Nov 4, 2011
* Author: tombr
*/
#include "true3dviewer.h"
#include <capputils/EventHandler.h>
#include <capputils/FileExists.h>
#include <capputils/FilenameAttribute.h>
#include <capputils/InputAttribute.h>
#include <capputils/NotEqualAssertion.h>
#include <capputils/Ob... | [
"brosch.tom@gmail.com"
] | brosch.tom@gmail.com |
cb00f75b02e38ccb0e528af4314da6c6a95de6e6 | aabf8ae70019db95c2c507fb5cbdf9b5af4105e5 | /LibGem/Src/GemSceneNode.cpp | 18651183579ca62d17b0b37fba8d310c0c3a16c2 | [
"MIT"
] | permissive | sunefred/Gravity3D | 4ddecf1f39e71895fd19c295f70fd17a56afffc5 | ab760314c1ff8c59f3c7c8b32aea9947c18a9f70 | refs/heads/master | 2021-01-19T13:46:57.485851 | 2014-01-16T09:32:29 | 2014-01-16T09:32:29 | 15,570,430 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 599 | cpp | //== INCLUDES ==================================================================
#include "GemSceneNode.h"
//== NAMESPACES ================================================================
GEM_BEGIN_NAMESPACE
//== CLASS DEFINITION ==========================================================
//-- constructors/destru... | [
"sunefred@gmail.com"
] | sunefred@gmail.com |
953f03c23b0eafbd89b1f25dd98a56a263f645ab | b47e6e828656a351b7894c0cc22771d97c6188dc | /tsp.cc | e6a9aa39fe6b1ddde8239fee753b75358358840c | [] | no_license | deeptronos/reed-csci221-hw9 | 9110ed48c1a9e19bd8b41ec3715d25199067226c | ff6d1a3a01981fc1a4e5373cf1b9dbaa4b77d57d | refs/heads/main | 2023-04-16T22:14:19.879124 | 2021-04-29T19:44:47 | 2021-04-29T19:44:47 | 359,979,992 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,897 | cc | #include "cities.hh"
#include <iostream>
#include <fstream>
//Assignment:
// The main() function reads in a cities file (the filename should be given as the first argument of the program).
// It then iterates over a fixed number of iterations (say, one million), In each iteration, it generates
// a new random perm... | [
"ecnemec1132@gmail.com"
] | ecnemec1132@gmail.com |
7327d1d4952eff53f385617fe7c9c09040c69b7d | f66d100dfa632e6f138dca2ea85ba44c2ccaa8d6 | /SE108/3/player.h | fca4f3436e078203955306436ecdbb8c59e8d7c5 | [] | no_license | tiansh/courses-sjtu | bde0de98dcbdf68a01c9961c85eee909a8d62baa | eefeed038523bde685e7754d7af09e1963190ea9 | refs/heads/master | 2016-09-05T18:03:57.674237 | 2015-07-25T13:07:38 | 2015-07-25T13:07:38 | 39,685,162 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,654 | h | #ifndef PLAYER_H
#define PLAYER_H
#include "card.h"
#include "hand.h"
class Player {
//一个抽象的基类,提供玩家类的接口
public:
//要求资金(bankroll)≥最小下注额(mininum)
//影响:返回玩家的下注额,它要介于这两者之间(含)。
virtual int bet(unsigned int bankroll,
unsigned int minimum) = 0;
//如果玩家想要加牌则返回真,... | [
"tiansheng111@gmail.com"
] | tiansheng111@gmail.com |
ab4490ab921cea5232d92a601dfa0086e88e3877 | c92aac42695c19e4af3defa698008528abe485da | /LightOJ1022.cpp | df40f2e8d426d7f09d93af551c519bcb09415994 | [] | no_license | ahmadalsajid/UVaCodes | 30bb4a0c06cd4fa89b803ca01481b9df1facd6d2 | 8d363209483f1ea5fc8a1d723d4774a900a9879c | refs/heads/master | 2020-12-24T06:43:41.001907 | 2016-10-06T23:22:17 | 2016-10-06T23:22:17 | 47,990,285 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 311 | cpp | #include<bits/stdc++.h>
using namespace std;
#define pi acos(-1)
int main()
{
int cs,i;
double ans,n,sqr,crcl;
cin>>cs;
for(i=1;i<=cs;i++)
{
cin>>n;
sqr = n*n*4;
crcl = pi*n*n;
ans = sqr-crcl;
printf("Case %d: %.2lf\n",i,ans);
}
return 0;
}
| [
"csesajid@gmail.com"
] | csesajid@gmail.com |
025e3c38b3527409b1c81aefae06043ba82167b1 | 8a815610a3d9ee31098cf50459d58f7f5bcc419c | /2. window_programming/ch04/prac15/MainFrm.cpp | bc17593d40aa222acf7d6e00dbfb07a1fd86c507 | [] | no_license | hackerlank/2015_second_semester | 8ce7735bab02c6ba0c9ab70afae6642a9a31045f | 7b756b5961b3f9fce982513830f1781d2cec8207 | refs/heads/master | 2021-01-12T05:43:51.565908 | 2016-01-06T04:19:15 | 2016-01-06T04:19:15 | null | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 2,255 | cpp |
// MainFrm.cpp : CMainFrame 클래스의 구현
//
#include "stdafx.h"
#include "prac15.h"
#include "MainFrm.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
// CMainFrame
IMPLEMENT_DYNAMIC(CMainFrame, CFrameWnd)
BEGIN_MESSAGE_MAP(CMainFrame, CFrameWnd)
ON_WM_CREATE()
ON_WM_SETFOCUS()
END_MESSAGE_MAP()
static UINT indicator... | [
"woongnistelrooy@hanmail.net"
] | woongnistelrooy@hanmail.net |
f45f9cd03087228e682e1dfd6a13c090c020b6fa | 19b016952946bfc56d6ed54b2f6a86774c5405dd | /logdevice/common/GetLogInfoFromNodeRequest.h | 462f69b6bd94f5f0dcaaae709ecc46bede1a576e | [
"BSD-3-Clause"
] | permissive | msdgwzhy6/LogDevice | de46d8c327585073df1c18fc94f4cc7b81b173d1 | bc2491b7dfcd129e25490c7d5321d3d701f53ac4 | refs/heads/master | 2020-04-01T17:00:39.187506 | 2018-10-17T06:29:11 | 2018-10-17T06:32:21 | 153,408,883 | 1 | 0 | NOASSERTION | 2018-10-17T06:49:01 | 2018-10-17T06:49:01 | null | UTF-8 | C++ | false | false | 4,155 | h | /**
* Copyright (c) 2017-present, Facebook, Inc. and its affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include <chrono>
#include <cstring>
#include <memory>
#include <unordere... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
c4ec8d68cd4ccd784fe63898d8eabde90bcae8fd | 7a623a8ad3d41b6180b89225f43b134c8cfc57b7 | /chrome/browser/ui/views/ime_driver/input_method_bridge_chromeos.h | 0d991644e2fa34223ff4d07c0a9890c0c771f3ad | [
"BSD-3-Clause"
] | permissive | 3031687356/chromium | 9ea7ec7fdec873a7ae242ddb16e2e56c82a21607 | ed4591ba8f0f3c3e85280355b609099f0fb73c3e | refs/heads/master | 2023-02-27T14:07:22.046556 | 2018-08-18T12:51:09 | 2018-08-18T12:51:09 | 145,221,453 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,905 | h | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_UI_VIEWS_IME_DRIVER_INPUT_METHOD_BRIDGE_CHROMEOS_H_
#define CHROME_BROWSER_UI_VIEWS_IME_DRIVER_INPUT_METHOD_BRIDGE_CHROMEOS_H_
#in... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
56ba9ea86f292a7b18f12beee01c7065f5eb9c68 | 4344b81391cd77fdcaf0f5af2c6e76f10dde8c0f | /Project2/testerino/testerino/testerino.cpp | 52972f3057eeb9b28e9ac4f9fb4108770e05af3d | [] | no_license | winielson/CS-280-Fall-18- | 989baabbf214f04a87395f10171e6ae0a3c817e5 | 6066505ac38ef4f3a77df48bff6847a462882c86 | refs/heads/master | 2020-03-31T15:02:01.057900 | 2019-05-08T01:34:07 | 2019-05-08T01:34:07 | 152,320,792 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 240 | cpp | // testerino.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include <iostream>
using namespace std;
int main(int argc, _TCHAR* argv[])
{
int var;
int& vr = var;
var = 3;
cout << vr;
return 0;
}
| [
"winielsoncm@gmail.com"
] | winielsoncm@gmail.com |
e276292170e67253838a4af204508e80e70743ee | fa8c16a541a3169207ed80db8c5032383a55494c | /src/Game/Player/Ailment.cc | cb8d3f0504e86d6deef5f8ce68a1961a8cd74cbe | [] | no_license | jtymburski/FIS-Engine | 58b6c9169352bf602dce3392bcebf3f9b4dbee36 | 83491224fc4675208bd53914a8e24500de06646a | refs/heads/master | 2023-03-20T00:19:01.384469 | 2021-03-10T06:39:43 | 2021-03-10T06:39:43 | 264,748,100 | 2 | 1 | null | 2020-10-05T07:48:01 | 2020-05-17T20:10:44 | C++ | UTF-8 | C++ | false | false | 13,797 | cc |
/*******************************************************************************
* Class Name: Ailment
* Date Created: March 6th, 2013
* Inheritance: QWidget
* Description: The ailment class represents a Status Ailment or Debuff. Ailments
* use the Infliction enumerated type to store their type as well
* ... | [
"hello@jordantymburski.com"
] | hello@jordantymburski.com |
ed9f9fcb6051cd74a65227a9bba149a6dc8ae442 | 8dc84558f0058d90dfc4955e905dab1b22d12c08 | /extensions/common/url_pattern_set.h | e948ccea91945ef937564e46782f4f51d0e69a0e | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause"
] | permissive | meniossin/src | 42a95cc6c4a9c71d43d62bc4311224ca1fd61e03 | 44f73f7e76119e5ab415d4593ac66485e65d700a | refs/heads/master | 2022-12-16T20:17:03.747113 | 2020-09-03T10:43:12 | 2020-09-03T10:43:12 | 263,710,168 | 1 | 0 | BSD-3-Clause | 2020-05-13T18:20:09 | 2020-05-13T18:20:08 | null | UTF-8 | C++ | false | false | 4,500 | h | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef EXTENSIONS_COMMON_URL_PATTERN_SET_H_
#define EXTENSIONS_COMMON_URL_PATTERN_SET_H_
#include <stddef.h>
#include <iosfwd>
#include <memory>
#i... | [
"arnaud@geometry.ee"
] | arnaud@geometry.ee |
a64f3b6b1d13699b61abeea3a2ab3c7e7433901c | 844a2bae50e141915a8ebbcf97920af73718d880 | /Between Demo 4.1 and Demo 4.32/legacy_130_src/M_SWAP.H | 73e97a939f1196f2cd25daa61920a7094cefcbaf | [] | no_license | KrazeeTobi/SRB2-OldSRC | 0d5a79c9fe197141895a10acc65863c588da580f | a6be838f3f9668e20feb64ba224720805d25df47 | refs/heads/main | 2023-03-24T15:30:06.921308 | 2021-03-21T06:41:06 | 2021-03-21T06:41:06 | 349,902,734 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,615 | h | // Emacs style mode select -*- C++ -*-
//-----------------------------------------------------------------------------
//
// $Id: m_swap.h,v 1.2 2000/02/27 00:42:10 hurdler Exp $
//
// Copyright (C) 1993-1996 by id Software, Inc.
// Portions Copyright (C) 1998-2000 by DooM Legacy Team.
//
// This program is free sof... | [
"67659553+KrazeeTobi@users.noreply.github.com"
] | 67659553+KrazeeTobi@users.noreply.github.com |
e46a9ede96b0c72a2136dd3d0f81ac22ebdad54d | 0f0a7c52e63f0ef2245f6202daec9745c37ebbb7 | /stdr_simulator/stdr_gui/src/stdr_gui/stdr_gui_controller.cpp | 33e3d44b2fa42b87b1b397766ab1b96470b184f1 | [
"GPL-3.0-only",
"BSD-3-Clause"
] | permissive | UCL/comp0037 | 3c928a9165dcda968695dbcc5483b0b49e630467 | ef5141b94e95517a87c061ec5452217f28fffd29 | refs/heads/lab_exercise_02 | 2021-06-22T12:24:38.062087 | 2020-12-30T17:44:10 | 2020-12-30T17:44:10 | 164,227,132 | 3 | 19 | BSD-3-Clause | 2020-03-20T00:42:51 | 2019-01-05T15:29:19 | C++ | UTF-8 | C++ | false | false | 51,913 | cpp | /******************************************************************************
STDR Simulator - Simple Two DImensional Robot Simulator
Copyright (C) 2013 STDR Simulator
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
... | [
"ucacsjj@hepburn-gilbert.home"
] | ucacsjj@hepburn-gilbert.home |
f434f05eac91ce226031565794c46fcba98f493f | 64409043c3a641566cddda5307598dda11e019ae | /OneSwiftToUseThemAll/CPlusPlus/CPlusPlusObject.cpp | 708fed6ece31b136e39f32cb0a3fd9769aff1e97 | [
"MIT"
] | permissive | raphaelwach/OneSwiftToUseThemAll | 878c47948f4f73b81f17c9ad032a5525ddf27dd3 | 57f7314936aa944fadbc8426ec338e03d2c2448c | refs/heads/master | 2020-06-18T18:58:34.174988 | 2019-07-11T14:27:30 | 2019-07-12T08:57:48 | 196,410,355 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 398 | cpp | //
// CPlusPlusObject.cpp
// OneSwiftToUseThemAll
//
// Created by Raphaël Wach on 11/07/2019.
// Copyright © 2019 Raphaël Wach. All rights reserved.
//
#include "CPlusPlusObject.hpp"
#include <iostream>
void CPlusPlusObject::CPlusPlusMethod()
{
std::cout << "I am a C++ method called by an Objective-C++ wrapper ... | [
"raphaelw@diabnext.com"
] | raphaelw@diabnext.com |
059283f4cd2a093809132721acf02b712956e670 | 9463c71701c9690ccb367ea56cdfc735ea7019f6 | /Initial_Conditions/Initializer/Random_Pertubations/Print_Binary.cpp | 520fb265df2bf6608afe1a09e11beb8f76ceffbb | [] | no_license | huahbo/Working_Turbulent | 7c5eba237e3341e4055ea1e7927d02b729901d4a | 97999ca2a969dbaa6e9aabce28c5f46ef7190a87 | refs/heads/master | 2021-01-18T14:31:24.121296 | 2014-09-12T13:03:46 | 2014-09-12T13:03:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 909 | cpp | /* Last Modified Time-stamp: <2014-09-10 12:48:37 mike_georgiou> */
#include <iostream>
#include <stdio.h>
#include <fstream>
#include <cstring>
#include <sstream>
using namespace std;
void Print_Binary(double ***A,
int ldx, int ldy, int ldz,
int left_x,int right_x,
... | [
"mech5560@hotmail.com"
] | mech5560@hotmail.com |
247d87078a0465df3bc7a4cc97b0c00bfd693202 | b2d90aa4d7147878214af9d6743bf2c49b76f422 | /Untitled2.cpp | 45b5c09a706d7ecc5227e455f9bd67d148db1cf0 | [] | no_license | samarth2010/pp | 7f9f90d2349cf20312e7de97de6bd407c606dd72 | 845c1d1f62bf668fd9c7a0537e3037197babeef4 | refs/heads/main | 2023-08-28T07:40:56.479257 | 2021-10-30T05:09:08 | 2021-10-30T05:09:08 | 422,789,442 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,224 | cpp | #include <iostream>
#include <time.h>
#include <cstdlib>
#include <windows.h>
#include <process.h>
#include <conio.h>
using namespace std;
#define MAX 100
#define WIDTH 77
#define HEIGHT 22
#define INIT_SNAKE_LENGTH 4
#define FOOD 1
//negative values represent areas that cannot be touched or else game o... | [
"noreply@github.com"
] | samarth2010.noreply@github.com |
5d2957329b45c6969a4b86cf41d7ec615c6a15dc | c776476e9d06b3779d744641e758ac3a2c15cddc | /examples/litmus/c/run-scripts/tmp_5/MP+dmb.sy+fri-rfi-pos-ctrl-addr.c.cbmc_out.cpp | f99c3b0f9c32f2f26d6b0a34cf2265bc5b275112 | [] | 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 | 53,302 | cpp | // Global variabls:
// 0:vars:3
// 3:atom_1_X0_1:1
// 4:atom_1_X3_2:1
// 5:atom_1_X4_2:1
// 6:atom_1_X8_0:1
// Local global variabls:
// 0:thr0:1
// 1:thr1:1
#define ADDRSIZE 7
#define LOCALADDRSIZE 2
#define NTHREAD 3
#define NCONTEXT 5
#define ASSUME(stmt) __CPROVER_assume(stmt)
#define ASSERT(stmt) __CPROVER_assert... | [
"tuan-phong.ngo@it.uu.se"
] | tuan-phong.ngo@it.uu.se |
36364864bb4c3f97c9e6706d4b0bf55bb4f3187d | 6516c21b81957cc60d0ff35aa213419c56e28046 | /C++语言程序设计 郑莉 第四版(课件、课后答案、例题源代码)/C++语言程序设计案例的源代码和目录/10852C++案例教程源代码/case09/9_13/linkstack.h | 46126a9e73fc7b7f9b1198632f6f630ddc03705d | [] | no_license | zhushiqi123/ios- | 72c47044f54be33c47f3f596fa602912f6152a57 | 8e2b8ee47273e0886ae5df6c30acc2a1d140d4e4 | refs/heads/master | 2020-07-04T13:00:11.365860 | 2019-10-15T02:52:01 | 2019-10-15T02:52:01 | 202,292,015 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,787 | h | #ifndef LINKSTACK_CLASS
#define LINKSTACK_CLASS
#include <iostream>
#include <cstdlib>
using namespace std;
#include "link.h"
template <class T>
class LinkStack
{ LinkedList<T> StackList; //用于存放栈的链表对象
public:
LinkStack(void); //构造函数
void Push(const T& item); //入栈
T Pop(void); //... | [
"18710943589@163.com"
] | 18710943589@163.com |
ba80b5b5ca533e8ac51075479e3e9cc6ddfb1fb4 | f18169c2f207c5c6f3e7f808ea1a56fbf1d5e544 | /libFramelessWindow/windwmapi.cpp | a986386ac378fe6853d925ba7227572067842872 | [] | no_license | zrzhd1355/FramelessWindow-Qt | 2583b98e511267f7a7e7bb5988307c6bf15b173b | 9e44ae1b5c43c1d6357fef8afe96a4eaee93e0e9 | refs/heads/master | 2020-04-03T09:37:23.578104 | 2018-10-10T12:19:44 | 2018-10-10T12:19:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,104 | cpp | #include "windwmapi.h"
WinDwmapi::WinDwmapi()
: dwmapi_dll_(LoadLibraryW(L"dwmapi.dll"))
, dwm_is_composition_enabled_(NULL)
{
if(dwmapi_dll_)
{
dwm_is_composition_enabled_ = reinterpret_cast<DwmIsCompositionEnabledPtr>(GetProcAddress(dwmapi_dll_, "DwmIsCompositionEnabled"));
dwm_exten... | [
"cnfreebsd@163.com"
] | cnfreebsd@163.com |
640e20cf6b093cceb858a1d70efbc365d42c0662 | be6061392ebd7ab08dfaa8219eb3515b3de47e93 | /cpp/verilatortop.cpp | 8014bdcceae317599b3e34d8fabf77d0aeb6b5a5 | [
"MIT"
] | permissive | chenm001/connectal | 7848385216ae34b727591ef9055d48ac30855934 | 66d30ffcca8e0260041fb6b48b3200411ff73282 | refs/heads/master | 2023-04-17T15:21:05.308406 | 2023-04-16T21:32:10 | 2023-04-16T21:32:10 | 50,326,674 | 1 | 0 | MIT | 2023-04-17T02:18:45 | 2016-01-25T04:45:13 | Bluespec | UTF-8 | C++ | false | false | 2,780 | cpp | #include "vlsim.h"
#include "verilated.h"
#include <unistd.h>
#include <XsimTop.h>
#include <ConnectalProjectConfig.h>
#ifdef BSV_POSITIVE_RESET
#define BSV_RESET_VALUE 1
#define BSV_RESET_EDGE 0 //posedge
#else
#define BSV_RESET_VALUE 0
#define BSV_RESET_EDGE 1 //negedge
#endif
#if VM_TRACE
# include <verila... | [
"jamey.hicks@gmail.com"
] | jamey.hicks@gmail.com |
9021b9f132f2a5cba64eeadfcca17237dae782b4 | 42619fe653792a19849c827e1446bb40fbfddfcc | /QT_CPP/Template_QT/point.cpp | 72c2abf86d5f4ea6553874d2fc4d410894a735ee | [] | no_license | mitesh741/cpp | 1673ff69189fa89346daad22c60680cdb04408f1 | 6959313b0760746c484bd1e96308769a7708656b | refs/heads/master | 2022-01-06T12:46:52.591131 | 2019-05-06T11:24:07 | 2019-05-06T11:24:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,017 | cpp | #include "point.h"
#include <iostream>
using namespace std;
Point::Point(int x)
{
this->x = x;
cout << "The constructor from class has just been invoked" << endl;
}
void Point::setX(int x)
{
this->x = x;
}
Point::~Point()
{
cout << "The destructor from class has just been invoked" << endl;
}
Point2D::... | [
"mpmitesh741@gmail.com"
] | mpmitesh741@gmail.com |
738d057b6e690e2768ea3bace568ab365b00c67a | c8492db0cdfa360ea7a3c8563cba813dcd14bca8 | /Window.hpp | 995fe1b58684c9288e4f2aaf04e19a7186f12678 | [] | no_license | sopindm/pas | 908b075499ca2c9adec736a9a3046c7d528899a3 | 1ea28a21d1a757d9181e313d0299f859991bad71 | refs/heads/master | 2020-06-04T20:50:51.826925 | 2013-04-21T18:07:08 | 2013-04-21T18:07:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 616 | hpp | #ifndef ASTEROIDS_WINDOW_HPP
#define ASTEROIDS_WINDOW_HPP
namespace Asteroids
{
class EventLoop;
class Window
{
public:
Window();
void setup(EventLoop* loop);
int width() const;
int height() const;
void handleEvent();
private:
bool holdKey(int key);
void handleGravity();
... | [
"sopindm@gmail.com"
] | sopindm@gmail.com |
3bda5f6e1e7ffb485b5125cf9ee12199049aa7e3 | a90f4a36840437e04fa9b1c1a9f37a8478957a8d | /Linked_Lists/List_2_pointer/Remove Duplicates from Sorted List.cpp | 6531d14a30e4ea62f2abac082c5abe73e47f76f8 | [] | no_license | agarwalanamya/InterviewBit | 317d225db6cdeba60809a815735b47b15fa96596 | 04b92b999754a4ca6cf2e8e227616a7318b0e2d1 | refs/heads/master | 2020-09-21T23:46:45.976050 | 2019-12-08T14:13:29 | 2019-12-08T14:13:29 | 224,976,086 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 725 | cpp | /*
Given a sorted linked list, delete all duplicates such that each element appear only once.
For example,
Given 1->1->2, return 1->2.
Given 1->1->2->3->3, return 1->2->3.
*/
/**
* Definition for singly-linked list.
* struct ListNode {
* int val;
* ListNode *next;
* ListNode(int x) : val(x), next(NULL... | [
"noreply@github.com"
] | agarwalanamya.noreply@github.com |
257bf89f28e566e0b6c1198005a0211b48844917 | 65e4c056000144a71c7e4d01a1c8e37ee6152cd2 | /Chess/WayPoint.h | fe7a04eb0b05e187590e40d959497f15472db8f4 | [
"MIT"
] | permissive | Tonghua-Li/ChineseChess | c7e3da13e448a03c64f3cd406dbf7fa2bc9ea333 | 9c1d9b87bf9e9a083134376cf902b2d98d008c2d | refs/heads/master | 2020-03-14T09:08:12.716941 | 2018-05-27T15:58:41 | 2018-05-27T15:58:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 503 | h | #ifndef WAYPOINT_H
#define WAYPOINT_H
#include <QWidget>
class WayPoint : public QWidget
{
Q_OBJECT
public:
explicit WayPoint(QWidget *parent);
void setPosition(int x, int y);
QPoint position() const;
signals:
void clicked(WayPoint *waypoint);
public slots:
// QWidget interface
protected:
... | [
"tonghualee@gmail.com"
] | tonghualee@gmail.com |
02cd5e70f168203b3a34f900110788625941bca8 | e125284cd6e7e6bd31b619c847535d013e74f118 | /array3 = array1+array2.cpp | e21fb6032a800c7f21cd8401acc48647011fa76f | [] | no_license | Ranadib/language_c- | 06c73bff604b2df492a8c9cc4465746bd87ec37f | e85594bfa1ba2f74ebedba2286c9eb4082c9b003 | refs/heads/master | 2021-02-28T04:19:40.260407 | 2020-03-07T16:11:26 | 2020-03-07T16:11:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 911 | cpp | /******************************************************************************
Online C++ Compiler.
Code, Compile, Run and Debug C++ program online.
Write your code in this editor and press "Run" button to compile and execute it.
******************************************... | [
"ranakalid42@gmail.com"
] | ranakalid42@gmail.com |
8e4e414cc6be3e80d265aff90687a6eeb526d7a3 | 1fdef84097b0104c318fd3b56f94b414a846c806 | /Client/include/encDec.h | 6868bb6b9a7284a68fda9efc2ca91cfd6591ff5d | [] | no_license | talbaum/FTPclient | 32249ea23f9b8a5d015bb1e1bfd0ab9691e5ec61 | 7b40b879f239775eb10ff1a4daf4263d4b0fe0b5 | refs/heads/master | 2021-01-19T17:48:52.931209 | 2017-08-28T12:55:49 | 2017-08-28T12:55:49 | 101,085,851 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,334 | h | /*
* encDec.h
*
* Created on: Jan 15, 2017
* Author: amit
*/
#include <string>
#include <vector>
#ifndef SRC_ENCDEC_H_
#define SRC_ENCDEC_H_
using namespace std;
class ConnectionHandler;
class encDec {
private:
char bytes[];
ConnectionHandler* conHan;
public:
encDec();
virtual ~encDec();
encDec(const ... | [
"noreply@github.com"
] | talbaum.noreply@github.com |
39ba799b9d11ba97d8d0f066fd371a7b58645bb4 | 4903b3017798c219fc72277fc1c96de63d7c4c09 | /jni/CloudBox/CBRotateAction.h | 8f6db5b4625efb08b3047a55115b095477a6c3f7 | [] | no_license | cloudhsu/CloudBox | aef66b1a1665afa156d5228ff6d55d5518f8cda2 | e42f1ff3e667e26f47988b4d2938b8fde18e845f | refs/heads/master | 2020-05-25T10:48:33.639881 | 2014-09-11T02:10:36 | 2014-09-11T02:10:36 | 5,096,433 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 698 | h | /*
* CBRotateAction.h
* CloudBox Cross-Platform Framework Project
*
* Created by Cloud on 2012/4/7.
* Copyright 2012 Orz. All rights reserved.
*
*/
#ifndef _CBROTATEACTION_H_
#define _CBROTATEACTION_H_
#include "CBAction.h"
class CBRotateAction : public CBAction {
protected:
float m_angle;
void onAction... | [
"cloudhsu@CloudtekiMacBook-Pro.local"
] | cloudhsu@CloudtekiMacBook-Pro.local |
d4ad4e77eff1eaf63238698dbd2337876e989b40 | 9a3b9d80afd88e1fa9a24303877d6e130ce22702 | /src/Providers/UNIXProviders/TransparentBridgingStaticForwarding/UNIX_TransparentBridgingStaticForwarding_AIX.hxx | 33c066ac02e6699998c6ce671d4e4f3ac222a9d0 | [
"MIT"
] | permissive | brunolauze/openpegasus-providers | 3244b76d075bc66a77e4ed135893437a66dd769f | f24c56acab2c4c210a8d165bb499cd1b3a12f222 | refs/heads/master | 2020-04-17T04:27:14.970917 | 2015-01-04T22:08:09 | 2015-01-04T22:08:09 | 19,707,296 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,853 | hxx | //%LICENSE////////////////////////////////////////////////////////////////
//
// Licensed to The Open Group (TOG) under one or more contributor license
// agreements. Refer to the OpenPegasusNOTICE.txt file distributed with
// this work for additional information regarding copyright ownership.
// Each contributor lice... | [
"brunolauze@msn.com"
] | brunolauze@msn.com |
9436a12eb7feb2ef54e95486435a4bf8ba5175d8 | af9b641912b9eb51b540462f80078618fe91e7f8 | /rpn_calc/rpn_calc.cpp | d0f7b25096458b12bbef152dbc3d11c7b12b1a13 | [] | no_license | leonardmouillet/cplusplus | 218253244dd2228b51681a076f3b409101068e63 | c7a16ac5933c0e8c6236f3533f4d3157b8b44bd8 | refs/heads/master | 2023-02-20T23:13:22.782048 | 2021-01-25T22:09:04 | 2021-01-25T22:09:04 | 309,817,522 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,399 | cpp | #include<iostream>
#include<cstdlib>
#include"stack.h"
bool is_operand (char* token) {
return ((token[0] >= '0') and (token[0] <= '9'));
}
int rpn_calc (int n, char* tab []) {
int* stack = init_stack(n) ;
int k = 0 ;
int* top = &k ;
int i = 0 ;
for (int i; i < n; i++) {
char* token = t... | [
"leonard.mouillet@mines-paristech.fr"
] | leonard.mouillet@mines-paristech.fr |
83b8a9521a2eb49adc13b700867b59ea34afa1b5 | 36e49c257e2925b66a2094cdc1890107cd80d040 | /1105/main.cpp | 73935190b5e2122e398e360dfb50d8babb5c230f | [] | no_license | lj970926/myPAT | 30c87793893473ccc434f3c5d2e0bff49e896cd4 | 31a0b0ff77eb9f2fd9c5a565cfe74f31d1b6f46a | refs/heads/master | 2020-07-04T11:48:13.262978 | 2019-09-08T12:59:49 | 2019-09-08T12:59:49 | 202,278,682 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,090 | cpp | #include <iostream>
#include <vector>
#include <algorithm>
#include <cmath>
using namespace std;
vector<int> dig;
int d[10005][10005] = {0};
int y[4] = {1, 0, -1, 0};
int x[4] = {0, 1, 0, -1};
bool cmp(int a, int b){
return a > b;
}
int main()
{
int num;
scanf("%d", &num);
int m,n;
for (int i = sqr... | [
"1783973490@qq.com"
] | 1783973490@qq.com |
b2ca93da3b7e563ad23d9675276a0dfda3c4518f | 4f5505e172aab9d03a8fc75d1bc052deb8e1f85f | /CodeChef/p74.cpp | 77ed4a70945522d2408ff0ab7c2ad62ed1be17d9 | [] | no_license | Sartech-B/Competitive-Programming | 625fa038730725a23e4288df2759a65c96e0cf9a | 6d609f10c19945f3c19b52955d2bdb1561082b3c | refs/heads/master | 2020-12-05T05:04:23.100117 | 2020-01-06T02:23:39 | 2020-01-06T02:23:39 | 232,015,551 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 527 | cpp | #include <bits/stdc++.h>
using namespace std;
int main()
{
int t;
cin>>t;
while(t--)
{
string a;
cin>>a;
int n = a.length(), cnt[300][2];
for(int i=0; i<300; i++) cnt[i][0] = cnt[i][1] = 0;
int i = 0, j = n-1;
while(i<(n/2) && j>=int(ceil(float(n)/2)))
{
if(a[i]!=a[j])
{
cnt[a[i]][0]++;
... | [
"sarthakbawal@gmail.com"
] | sarthakbawal@gmail.com |
0456ad2e912244fa9d20ef58f90a65ace20ccd23 | 39a1d46fdf2acb22759774a027a09aa9d10103ba | /ngraph/test/backend/experimental_detectron_generate_proposals.in.cpp | 4147e1609b0aab6bf42124788c4300af10d32e4b | [
"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,807 | cpp | // Copyright (C) 2018-2021 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
// clang-format off
#ifdef ${BACKEND_NAME}_FLOAT_TOLERANCE_BITS
#define DEFAULT_FLOAT_TOLERANCE_BITS ${BACKEND_NAME}_FLOAT_TOLERANCE_BITS
#endif
#ifdef ${BACKEND_NAME}_DOUBLE_TOLERANCE_BITS
#define DEFAULT_DOUBLE_TOLERANCE_BITS ${B... | [
"noreply@github.com"
] | mashoujiang.noreply@github.com |
7486e4d9cdb897e176dc95a1ab157a7bed5e4d71 | 0f7576b0110c8a7e6527e4de8fe4cf7d2a386fda | /Lab4-P2.cpp | 90d2630dae2f19f0ecb70befda4b8a16dd23f7fd | [] | no_license | adriancostin20/ASD | c539717bc864f818634b85e80017a9cee78a7bdf | 35e3ff87b74e78f7e020bfa2c23165c01986bb97 | refs/heads/master | 2020-04-10T05:41:52.007668 | 2018-12-13T11:37:56 | 2018-12-13T11:37:56 | 160,834,816 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 603 | cpp | #include <iostream>
using namespace std;
int main()
{ unsigned long int n;
cout << "Se citeste un numar pozitiv,intreg,de maxim 5 cifre sa se determine cate cifre are numarul" << endl;
cout<<"n=";cin>>n;
if(n<10)
cout<<"Numarul are o cifra";
else if(n<100)
cout<<"Numarul a... | [
"noreply@github.com"
] | adriancostin20.noreply@github.com |
eb799b707ec499735eebfe03d66f96ca36f35302 | 106d7716d7d9a2ada55579fa4caf4efb1bbff16c | /old_version/media.h | 537a32ce8a1ce3c1173e735fe9371bc1783321ed | [] | no_license | Fiona/BubbleDrive | a190a018f67e94dc25bef9cad4b21921c31e051a | cbd553f1bcf81b889c061757af01854bbf670aaf | refs/heads/master | 2022-04-29T23:41:18.058969 | 2014-10-29T16:07:01 | 2014-10-29T16:07:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 453 | h | /****************************
BUBBLE DRIVE
2011/2012 STOMPY BLONDIE GAMES
****************************
Media object header
****************************/
#ifndef _MEDIA_H_
#define _MEDIA_H_
#include <string>
#include <map>
using namespace std;
typedef std::map <string, Image* > gfx_map;
typedef std::map <strin... | [
"fiona@myrmidonprocess.com"
] | fiona@myrmidonprocess.com |
ee864fcfa90f7ab82d4dcee0df61aa5e006b78b3 | 79cce46ac05ee195a5ff88689e4783f2496038d9 | /Laborator 9/L9-1-4.cpp | 13e9a0d5ab378a80309e004d9cd6629a6e00f2f7 | [] | no_license | Hattho/Lab-problems | 9a7a44803eb4093190eb5fca3238188407d666e7 | 27ab2062bb29891df076fc52332c989700c405f3 | refs/heads/master | 2021-09-04T12:21:27.139937 | 2018-01-18T16:39:02 | 2018-01-18T16:39:02 | 106,918,311 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 509 | cpp | #include <iostream>
using namespace std;
int a[10001];
int i;
int aux,contor;
int n;
int main() {
cin >> n;
for (i = 0; i < n; i++) {
cin >> a[i];
}
do {
contor = 0;
for (i = 0; i < n-1; i++) {
if (a[i] > a[i + 1]) {
aux=a[i];
a[i]=... | [
"32792626+Hattho@users.noreply.github.com"
] | 32792626+Hattho@users.noreply.github.com |
da6a63f328eb71deeaa2b33b6f6f3aca0d69f433 | 25edf5af35ca5f7d7b12846ded53a59739c1cce2 | /module/5/list/List/testlist.cpp | 3dadcb3a7cb77ad23bcc9921627d844d65ee33e7 | [] | no_license | whanata/dsa-activities | 14ebb0b920a51bc23db74df9780b64eeaa2a964e | 97c4ee19f3749fd283eb5f184d680803ab1d1ba7 | refs/heads/master | 2021-01-21T12:59:36.185071 | 2016-05-03T05:39:31 | 2016-05-03T05:39:31 | 53,576,131 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,408 | cpp | #include <iostream>
#include <stdlib.h>
#include "timer.h"
#include "list.h"
#include "testclass.h"
using namespace std;
double average(const listspc::list<testclass> &container)
{
listspc::const_iterator<testclass> iter;
listspc::const_iterator<testclass> enditer = container.end();
double total = 0;
... | [
"whanata@gmail.com"
] | whanata@gmail.com |
e8af034593cda7f08e0db3fd91d48ad9648086b1 | d6d84c53f5863096eafab1e601c27195e7f76df5 | /include/trial/url/parser.ipp | 8321af375eced9fbc318256a25ddc468c9c6c805 | [] | no_license | breese/trial.url | 71321e1bd19f1bacf02ea596c0501911435b1f0d | 2ba3ee9ba788eb9096b82080097a81e936b7bd55 | refs/heads/master | 2021-01-17T07:52:14.866304 | 2015-10-26T11:11:35 | 2015-10-26T11:11:35 | 39,683,548 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,612 | ipp | #ifndef TRIAL_URL_PARSER_IPP
#define TRIAL_URL_PARSER_IPP
///////////////////////////////////////////////////////////////////////////////
//
// Copyright (C) 2015 Bjorn Reese <breese@users.sourceforge.net>
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or ... | [
"breese@sourceforge.net"
] | breese@sourceforge.net |
3d0d5319bd39ffef00efb2313013b92e1415df71 | 0b9f595a4a611e75d2453ad914740a815a87b056 | /libPSI/PRTY/PrtyReceiver.cpp | fb80d00557b48626ded315868f8e05782ef9d9cf | [] | no_license | osu-crypto/PSU | 693337d8f1616ca7e2c74164be76d67134813002 | 1080e7fef61cc9eed640e054f72a662c7130ad3a | refs/heads/master | 2021-07-05T04:56:56.153281 | 2020-11-10T09:00:23 | 2020-11-10T09:00:23 | 195,062,329 | 8 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 3,831 | cpp | #include "PrtyReceiver.h"
#include <cryptoTools/Common/BitVector.h>
#include <cryptoTools/Common/Timer.h>
#include <cryptoTools/Crypto/PRNG.h>
#include <cryptoTools/Crypto/Commit.h>
#include <cryptoTools/Network/Channel.h>
#include "libPSI/PsiDefines.h"
#include "Tools/SimpleIndex.h"
using namespace std;
namespace o... | [
"trieun@oregonstate.edu"
] | trieun@oregonstate.edu |
a30c05bcfcd6b3c2017d373053b4d3c63ef49cc8 | 92d390df4216b1660c042812d03ca492ef7032bd | /NAO /naoqi/include/almath/types/alvelocity6d.h | 95468544869502f35748ed62a0b0c856a3a71b2b | [] | no_license | dussotro/StageRobZerr | e44dd207560ccf412ccac58dbc9b6a67457c595a | c1b996185cca809b8142a6664a9c7be33cbff674 | refs/heads/master | 2020-04-05T14:03:03.780440 | 2017-07-13T14:48:03 | 2017-07-13T14:48:03 | 94,749,877 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 7,265 | h | /*
* Copyright (c) 2012 Aldebaran Robotics. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the COPYING file.
*/
#pragma once
#ifndef _LIBALMATH_ALMATH_TYPES_ALVELOCITY6D_H_
#define _LIBALMATH_ALMATH_TYPES_ALVELOCITY6D_H_
#include <vector>
namespace AL {
... | [
"victor.bares@ensta-bretagne.org"
] | victor.bares@ensta-bretagne.org |
32774ffd29f86576af853a077b0abe3d34a864cd | 65ff1941ef167a2d270c01c9985ee5cbacf33adb | /android/frameworks/native/services/inputflinger/InputReader.cpp | 9b0b2c07865ca738b1567afa68bb088c0274edda | [
"LicenseRef-scancode-unicode",
"Apache-2.0"
] | permissive | BPI-SINOVOIP/BPI-A83T-Android | c0296287fa293e326015f3b51c44953a96bee8c2 | 47172ad18756ddfcc1153d4c19eff6eefcd4d320 | refs/heads/master | 2023-01-07T02:07:17.466177 | 2018-04-03T06:57:25 | 2018-04-03T06:57:25 | 51,747,032 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 262,369 | cpp | /*
* Copyright (C) 2010 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | [
"mingxin.android@hotmail.com"
] | mingxin.android@hotmail.com |
467ecaa58ec8522a0218ce33330ad477cb68bf7f | 76be06b529203553c26366904bd1bc8fce167048 | /Doc_Exemples/plivewire/contour.h | 4e587a1cdc40574ef6620964d91ac43167c75905 | [] | no_license | jjzhang166/PFE_Livewire | 824393dab6a6c712ef38b95480b705f51490fb07 | decbeeef7d70a4e2b3bf1e39840aeaef3095f264 | refs/heads/master | 2022-04-12T12:07:42.104463 | 2020-03-26T23:23:42 | 2020-03-26T23:23:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 904 | h | /*
Intelligent Snakes
FILE: contour.h
DESCRIPTION: prototypes for Contour class
AUTHOR: Steven Marx, University of Rochester
LAST UPDATE: 8/01/2000
*/
#ifndef CONTOUR_H
#define CONTOUR_H
#include "point.h"
#include "glutMaster.h"
#include <stdio.h>
#include <math.h>
class Contour {
public:
Point *start... | [
"Johan.MABILY@etu.univ-amu.fr"
] | Johan.MABILY@etu.univ-amu.fr |
056960ec018ff0122760eed67e556b5d73a21e6e | 9d5a6d0308e70bba07c8d6cc2befcbe19dafa648 | /project3/main.cpp | 759ba7e2528c4215a400218a0779d3d8789420c9 | [] | no_license | mstfatay/CMPE250 | ab0c42c022f51baba6d3871eef20a296cb8541f0 | 4f6c98b5a8bb05b9b94c09e31cdb366d43f71f14 | refs/heads/main | 2023-04-06T00:10:46.153746 | 2021-04-20T17:05:30 | 2021-04-20T17:05:30 | 359,890,853 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,753 | cpp | #include <iostream>
#include <vector>
#include<list>
#include <fstream>
#include <deque>
using namespace std;
/*
returns true if the given graph is an eulerian graph.
If indegree and outdegree of all vertices of a graph are equal then that graph is an eulerian graph.
This function uses this information.
*/
bool is... | [
"noreply@github.com"
] | mstfatay.noreply@github.com |
63357b5e1036c9609e147528b7ca70d046c98e2e | 173c9c3184f9718e96dc7a6933214c791edecd44 | /Unit5.h | 26fee7ad31f8698eca30d9624b524c94207185d6 | [] | no_license | good820501/IPChangeTool | 69b328b098a6e68e46042e6dfece847b49d1298f | 05ee06ae8e2c2926f7dcd0d30a30f301cd7fc10a | refs/heads/master | 2020-03-22T18:04:45.222292 | 2018-07-10T13:34:16 | 2018-07-10T13:34:16 | 140,435,665 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,166 | h | //---------------------------------------------------------------------------
#ifndef Unit5H
#define Unit5H
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
//---------------------------------------... | [
"yanlu.guo@tqmall.com"
] | yanlu.guo@tqmall.com |
f657bc5b5c7d92ef35b61f7584f4a8858912279f | 37fc91b4b68bd23816de415ef9c767a8bd43ab7f | /include/quark/atomic/detail/caps_gcc_ppc.hpp | 68f6810666555c5cb041bc9dc256ff016c42180c | [] | no_license | cloudpeak/quark | 105ec95dcdb3aac14ed913635c1993e0c08b9d5f | 4c1831d2d963c708c310054d13c3631b01a9057d | refs/heads/master | 2021-07-16T13:22:47.298045 | 2021-02-26T04:56:45 | 2021-02-26T04:56:45 | 71,587,526 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,004 | hpp | /*
* Distributed under the Boost Software License, Version 1.0.
* (See accompanying file LICENSE_1_0.txt or copy at
* http://www.quark.org/LICENSE_1_0.txt)
*
* Copyright (c) 2009 Helge Bahmann
* Copyright (c) 2013 Tim Blechmann
* Copyright (c) 2014 Andrey Semashev
*/
/*!
* \file atomic/detail/caps_... | [
"mycloudpeak@outlook.com"
] | mycloudpeak@outlook.com |
d6587f7717d17161459d37f542ce3f8fef3b8e82 | 93186c86b991d8effd36eb5c1125287e45c22535 | /Exercicis EDA/ArbresBinaris Practiques/ArbreBinari net.cpp | ff034ebed576953f8cb90f3db8ad197cc01f4090 | [] | no_license | marccane/Projectes-CPP | 0a6dc55acac8488a30ff424f243d736a5a7f8a1f | 60e449df36c1df5546a9f6c3acd1d1349e0c05c5 | refs/heads/master | 2021-01-01T04:42:29.867496 | 2017-07-14T15:44:27 | 2017-07-14T15:44:27 | 97,229,943 | 1 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 3,329 | cpp | //Marc Cané Salamià
//u1939666
//Pràctica 4
#include <iostream>
#include <string.h>
#include <sstream>
#include "ArbreBinari.h"
using namespace std;
ArbreBinari::ArbreBinari()
{
arrel = NULL;
}
ArbreBinari::ArbreBinari(node * a)
{
arrel = a;
}
ArbreBinari::ArbreBinari(ArbreBinari & a, ArbreBinari & b, int contin)
... | [
"marc00077@hotmail.com"
] | marc00077@hotmail.com |
1e64db0a95f7329fed41a068535c27f59fea3ab0 | 242d39b0ff42a57234e685244751a3ba56339f88 | /src/primitives/block.h | ac56e237b8e42a33bab29d29896269a70935a02a | [
"MIT"
] | permissive | Vortex-coin/vortex | 6eb3d75af29695083a1406a2b2f809b84108621c | 318ff458e0ecf18cb38f3717e6e7306a6723c74f | refs/heads/master | 2021-03-15T02:00:29.470767 | 2020-02-20T17:49:24 | 2020-02-20T17:49:24 | 246,815,303 | 0 | 0 | MIT | 2020-03-12T11:18:47 | 2020-03-12T11:18:46 | null | UTF-8 | C++ | false | false | 5,121 | h | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2017 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_PRIMITIVES_BLOCK_H
#define BITCOIN_PRIMITIVES_BLOCK_H
#include <... | [
"fibonaci.forever@gmail.com"
] | fibonaci.forever@gmail.com |
10c12f8187712a2f43d37df48158c7479e556997 | cd1c174e86b29deb2d8051158035cad5866e1433 | /src/magiccard.h | d9fc9e9d99ac1e5114d4fca79ba7d0f1e674dfe1 | [] | no_license | IgniteCdrive/MTGSim | b6dbaefccbfacf8cbf44cba282e9f5d6c3d8e608 | 4b38e55b804394b6cf9dbede9b2e4c98431a1d08 | refs/heads/master | 2021-05-10T00:05:52.800530 | 2018-03-08T21:49:28 | 2018-03-08T21:49:28 | 118,825,116 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,192 | h |
#ifndef magiccard_h
#define magiccard_h
#include <string>
#include <vector>
#include "abilities.h"
#include "creaturestrength.h"
#include "manacost.h"
class magic_card
{
std::string Name;
ManaCost Cost;
Whole SuperType = 0;
std::string SubType;
CreatureStrength Might;
std::vector<CardAbility*... | [
"34989562+IgniteCdrive@users.noreply.github.com"
] | 34989562+IgniteCdrive@users.noreply.github.com |
b3bd96414bfafbc22301ef890ef378a1303557ea | 6b6e7606ea14bd3ee22f5fbfab90bf86220d36a2 | /appseed/aura/graphics/graphics_window_buffer.h | ffee6a25dfe6e3c53906ffa16bc3d6e86114ce2d | [] | no_license | mediabuff/app | b51e1d21e8b244af09e3d3f78ab38d8e80cd4bba | 12f8aeacce1b2649977d4c7ce61a4415c636fa6c | refs/heads/master | 2021-08-06T15:57:12.573775 | 2017-11-06T12:24:35 | 2017-11-06T12:24:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,338 | h | #pragma once
#include "aura/graphics/graphics_window_graphics.h"
class CLASS_DECL_AURA window_buffer :
virtual public window_graphics
{
protected:
int m_iScan;
COLORREF * m_pcolorref;
// BITMAPINFO m_bitmapinfo;
int ... | [
"camilo@ca2.email"
] | camilo@ca2.email |
59cf9a3f4755fd96740315e6f8a68417b01b9c2f | 9c4bdcd207c972b788f08cb7490065bad9047605 | /plplot_cpp_examples/x01cc.cc | 8cb0651e4eb6adeeb41f70ab8c43450adc0178ce | [] | no_license | Dartspacephysiker/new_RTD | 339e4898c7a1d1c16c16d4036bb3be0e5bb1ab16 | f9c0bbd8a4434c6bcea071cd4129d6c2b060d05b | refs/heads/master | 2016-08-13T01:07:47.540031 | 2015-10-15T13:50:48 | 2015-10-15T13:50:48 | 43,765,998 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,082 | cc | //--------------------------------------------------------------------------
// $Id: x01cc.cc 11297 2010-11-02 03:31:14Z airwin $
//--------------------------------------------------------------------------
//
//--------------------------------------------------------------------------
// Copyright (C) 1994 Geoffrey Fu... | [
"hammerhatch@gmail.com"
] | hammerhatch@gmail.com |
f2211d2a1ef4ece5047b9e50420b40cba24816fb | 17fdc38df32efbd873302f699889f8b3e93690ff | /ios/versioned-react-native/ABI18_0_0/ReactCommon/cxxReactABI18_0_0/ABI18_0_0JSCLegacyTracing.h | 7bedf11d565c8883d73d6c8bec3e091dd7e7e1e7 | [
"MIT",
"BSD-3-Clause",
"CC-BY-4.0",
"Apache-2.0"
] | permissive | mohebifar/expo | a83d51a1e2f886375aa6fb5c535719891dc3efdd | 083f2254c65e71385054172e147765edfb676fe4 | refs/heads/master | 2021-01-15T21:24:31.714042 | 2017-08-09T23:02:36 | 2017-08-09T23:02:36 | 99,859,373 | 2 | 0 | null | 2017-08-09T22:58:22 | 2017-08-09T22:58:22 | null | UTF-8 | C++ | false | false | 287 | h | // Copyright 2004-present Facebook. All Rights Reserved.
#pragma once
#if defined(WITH_JSC_EXTRA_TRACING)
#include <ABI18_0_0jschelpers/ABI18_0_0JavaScriptCore.h>
namespace facebook {
namespace ReactABI18_0_0 {
void addNativeTracingLegacyHooks(JSGlobalContextRef ctx);
} }
#endif
| [
"aurora@exp.host"
] | aurora@exp.host |
4cf6b5ee8fbb46e655957de09e3cc47cc994647d | 491f7674cd6f2dad4dc4d2bc4c15897c26d83a67 | /vcproject/MainFrm.h | 644fffc9a46a28f010dca1e9bc1a1e1dbbf4e9ac | [
"Apache-2.0"
] | permissive | happyhorse0707/WechatExporter | 8ed41998de3d58699e4c74acdedbf465ea33c6c5 | b04f4a5552c192bc2ed61a19fae37d9cb8d62724 | refs/heads/main | 2023-06-07T09:36:52.861979 | 2021-06-30T09:53:36 | 2021-06-30T09:53:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,166 | h | // MainFrm.h : interface of the CMainFrame class
//
/////////////////////////////////////////////////////////////////////////////
#pragma once
class CMainFrame :
public CFrameWindowImpl<CMainFrame>,
public CUpdateUI<CMainFrame>,
public CMessageFilter, public CIdleHandler
{
public:
DECLARE_FRAME_WND_CLASS(NULL, ... | [
"37573096+BlueMatthew@users.noreply.github.com"
] | 37573096+BlueMatthew@users.noreply.github.com |
81386cf4a5c119b8a327ec4c97280d914bdd9176 | dc172e4f13a914bf826403d38c50466a440995fa | /BOJ/완전탐색 문제집/11729 하노이의 이동.cpp | 6c736784b3dc1618aa0e1c496d2e3be1cfafe772 | [] | no_license | kevinsung123/ProblemSolving | 1c17ed50da8a4fee0ee288819096799ac8123c50 | 0cf16489dfb91c02be856835d73f46242712b64f | refs/heads/master | 2022-11-22T18:04:48.031471 | 2020-07-31T08:47:04 | 2020-07-31T08:47:04 | 103,735,824 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 687 | cpp | #include<vector>
#include<iostream>
#include<algorithm>
#include<cstdio>
using namespace std;
typedef struct loc {
int from;
int to;
loc(int from, int to) :from(from), to(to) {};
}Loc;
int n;
int cnt;
vector<Loc> save;
void hanoi(int num, int from, int by, int to)
{
if (num == 1)
{
cnt++;
//printf("%d %d\n",... | [
"kevinsungcjh123@gmail.com"
] | kevinsungcjh123@gmail.com |
d0caa0d602b22587995f4bece0906116f408de46 | 5f30f0aca5b50f07dcc3888418a35a764a8696d8 | /my_project/C_C++/Simple_qq/client/chatwidget.cpp | 4e1328826c16e6668cc09653e2c277f516889112 | [] | no_license | mrdengbo/MyHub | 735e7ee8a78e5868d45936907267c3a17b11b882 | a2af97415f7d62ccb014340048ec8cda0587fe1e | refs/heads/master | 2021-06-18T11:21:25.876384 | 2020-12-30T13:51:47 | 2020-12-30T13:51:47 | 130,455,792 | 0 | 1 | null | 2018-09-07T15:10:47 | 2018-04-21T08:41:48 | C++ | UTF-8 | C++ | false | false | 11,667 | cpp | #include <QDebug>
#include <QLayout> /*主布局*/
#include <QVBoxLayout> /*竖布局*/
#include <QHBoxLayout> /*横布局*/
#include <QGridLayout> /*栅格布局*/
#include <QPalette>
#include <QColorDialog>
#include <QScrollBar>
#include <QDateTime>
#include "chatwidget.h"
//#include "MainDialog.h"
#include "maindialog_2.h"
#include "mym... | [
"1248317408@qq.com"
] | 1248317408@qq.com |
d0257b897b15d98812b10d6300a2a7c06addee85 | 696357aa824a6b5907b4196bc4f95f0dc946b0c5 | /uCode/uCode.cpp | 8231c4398899ed3858938981a3f8e1be728e1ab0 | [] | no_license | PhilXing/uCodeExtractor | 0662745e745a12b99435af9db03013f4d1f23f4c | fe80b8e5254c1c87529346088f7bf69ffda97ee9 | refs/heads/master | 2020-04-29T09:41:05.244263 | 2015-08-13T08:27:12 | 2015-08-13T08:27:12 | 40,534,697 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 431 | cpp | // uCode.cpp : main project file.
#include "stdafx.h"
#include "uCode.h"
#include "Form1.h"
using namespace uCode;
[STAThreadAttribute]
int main(array<System::String ^> ^args)
{
// Enabling Windows XP visual effects before any controls are created
Application::EnableVisualStyles();
Application::SetCompatibleTextR... | [
"phil_xing@compal.com"
] | phil_xing@compal.com |
59f08606deca1b1988f791dc2b11f93fc2058955 | fcc132131b929998a4bea75cf0ce9492daecb3ac | /gquiche/quic/core/quic_version_manager.cc | 6194712e762aaf02e5611c1c4512fd5deeddeb7b | [
"BSD-3-Clause",
"Apache-2.0"
] | permissive | Moxoo/quiche | 0fc8eaab5705c40b2d13b71fe98448407f980af0 | 16a9562e5040eeac7263ace423fedaf7202f24c5 | refs/heads/main | 2023-06-17T21:17:18.913695 | 2021-07-14T03:59:08 | 2021-07-14T03:59:08 | 382,257,508 | 0 | 0 | Apache-2.0 | 2021-07-02T06:52:12 | 2021-07-02T06:52:11 | null | UTF-8 | C++ | false | false | 4,035 | cc | // Copyright (c) 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "gquiche/quic/core/quic_version_manager.h"
#include <algorithm>
#include "absl/base/macros.h"
#include "gquiche/quic/core/quic_versions.h"
... | [
"wangsheng@bilibili.com"
] | wangsheng@bilibili.com |
99ab12fbd674feb7d25a36e6fddc974c5be22c7a | 40258873bd010549877d57040c5fce4eb0d04c4a | /src/QVisualizer/Graph Cut/QGCWidget.h | 76392b2cbf809322709962b5e8f45c8633c4204d | [] | no_license | avanindra/JF-Cut | 902a937b2581e53e387e7d47d51035ddcf00a20e | 3eea6b7fc982e6e9e0b1d13d11f3ebfe944adca2 | refs/heads/master | 2020-03-26T15:59:51.859953 | 2016-01-19T08:53:58 | 2016-01-19T08:53:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,054 | h | /**
* COPYRIGHT NOTICE
* Copyright (c) 2012, Institute of CG & CAD, Tsinghua University.
* All Rights Reserved.
*
* @file QGCWidget.h
* @brief QGCWidget class definition.
*
* This file defines the main process of Marching Cubes Algorithm.
*
* @version 1.0
* @author Jackie Pang
* @e-mail 15pengyi@g... | [
"15pengyi@gmail.com"
] | 15pengyi@gmail.com |
eb36f7b493f3877ac5e3c4c8a4c93a75068c95f1 | 0a869cced08657731cfebd34141cf97110796f07 | /strategy-pattern/include/Duck.h | ef0920f22369adc69c163b3a62eda72c47cdd920 | [] | no_license | fangweihao123/DesignPattern | ae770a87de6c1739b753eb1f6321126d90b4cc67 | dcf96bd8e2d7a75588ff71dcc48abdb1a2754224 | refs/heads/master | 2020-12-04T21:08:08.124597 | 2020-03-07T03:27:27 | 2020-03-07T03:27:27 | 231,903,271 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 543 | h | //
// Created by simulation on 2020/1/5.
//
#ifndef LEE_DUCK_H
#define LEE_DUCK_H
#include <iostream>
#include "FlyBehavior.h"
#include "QuakeBehavior.h"
class Duck{
private:
FlyBehavior* fb_;
QuakeBehavior* qb_;
public:
Duck(){
std::cout<<"create duck"<<std::endl;
};
virtual ~Duck(){
... | [
"137012120@qq.com"
] | 137012120@qq.com |
2d43902918be7c46da1c68bac2937b7534b6ae0b | 2d12982160bd20a79386db18bf2b8820b111faaa | /Beginner/2670.cpp | 5cf9bad71af1da2fbde8de44473b07e1eae805eb | [] | no_license | MahimPranto/URI-OnlineJudge-Solution | 38ec44cac3cf5a347a804436a6046569f985db1f | e1324f7514c00197e67668271c60e93a94f0ec00 | refs/heads/main | 2022-12-27T08:13:40.519833 | 2020-10-08T15:49:07 | 2020-10-08T15:49:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 248 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
int A1,A2,A3,T1,T2,T3;
cin>>A1>>A2>>A3;
int T[3];
T[0]=(A2*2)+(A3*4);
T[1]=(A1*2)+(A3*2);
T[2]=(A2*2)+(A1*4);
sort(T,T+3);
cout<<T[0]<<endl;
return 0;
}
| [
"noreply@github.com"
] | MahimPranto.noreply@github.com |
42c236e94a66f48311d16ca858e7dfdda9551a4c | ec162b67cd38d53fbd7cbe69494032517c996789 | /libraries/chain/include/bravo/chain/comment_object.hpp | 7cca48ad0859b6962bdb1d8c1fef8dda8edcc09a | [
"LicenseRef-scancode-warranty-disclaimer",
"MIT"
] | permissive | dappcenter/bravo | dc013bd69755a8b66f7f7bb1f0ce03bb3dd4adfc | a47836000b5f9b04e33be159000f7849405fed27 | refs/heads/master | 2021-05-18T06:35:59.746174 | 2019-10-11T13:18:06 | 2019-10-11T13:18:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,830 | hpp | #pragma once
#include <bravo/protocol/authority.hpp>
#include <bravo/protocol/bravo_operations.hpp>
#include <bravo/chain/bravo_object_types.hpp>
#include <bravo/chain/witness_objects.hpp>
#include <boost/multi_index/composite_key.hpp>
namespace bravo { namespace chain {
using protocol::beneficiary_route_type;... | [
"adam@bravocoin.com"
] | adam@bravocoin.com |
baa9dc5006b29fece12c43c36931dd320dfcd900 | 78a2545501c4e3f92fd8d0d8fe0f44264f7f4c46 | /DS2X/StringTool.h | 156c4e4e033f395958eb4d41527266f43a65a734 | [
"MIT"
] | permissive | FreeLikeGNU/DS2DLL | 6616220101e51029e5b3b65a3d3efb647dc7f074 | 7288002def8104cbd4f78edc586e6d988048d1d0 | refs/heads/master | 2021-10-20T21:03:27.350888 | 2019-03-01T21:10:31 | 2019-03-01T21:10:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,048 | h | #pragma once
#include "GPBString.h"
namespace StringTool { // Exported as: String
DefineFunction(IsEmpty, 0x99732f, bool, Params(const char* unk1), Args(unk1));
DefineFunction(GetDelimitedBool, 0x427a0c, bool, Params(const char* unk1, int unk2), Args(unk1, unk2));
DefineFunction(GetDelimitedBool, 0x4279f4, bool, P... | [
"sabrina.bjurman@gmail.com"
] | sabrina.bjurman@gmail.com |
cea6c57d962aff9588038fb2e4ec939fd2f1ca13 | 72a08996beb7ba253ba9f6a03dbe00651aa3f835 | /Source/Urho3D/Graphics/Skeleton.cpp | beaeed2d19b80a41251e0598964108522e334779 | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | whztt07/rbfx | 3da41e3e8a9d29e9480fde40abd7475b3636c8c1 | ddf22512edf17c7ca3282c3216ef78fc00a53ef0 | refs/heads/master | 2020-04-16T06:23:08.390059 | 2019-01-05T11:39:33 | 2019-01-05T11:39:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,717 | cpp | //
// Copyright (c) 2008-2018 the Urho3D project.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, m... | [
"rokups@zoho.com"
] | rokups@zoho.com |
8f4b008bc53ec7e0e413d73def8878d3209a61f7 | abb71cfc3289ccef33c474f22aad4fdda913c191 | /bots/backupAITools.h | 87b873973a5dc8f6ce553e5cbdc2277b4dde90ae | [] | no_license | funkjunky/PlanetWars-AI | e2874f2c17db221e6132fb06667cb1d3f07cd803 | c3d3e810aabfb3a62c9eb16a91f9f334c8189540 | refs/heads/master | 2020-04-06T03:35:06.620628 | 2010-12-02T21:52:38 | 2010-12-02T21:52:38 | 1,133,264 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,362 | h | #ifndef AITOOLS_H
#define AITOOLS_H
#include "globals.h"
#include "PlanetWars.h"
#include "GeneralTools.h"
#include <map>
#include <iterator> //jsut used for debugging!~
#include <algorithm>
#include <boost/bind.hpp>
template <typename T> std::vector<Planet> myNicestPlanets
(const T& begin, const T& end, const Plan... | [
"jason.abz@gmail.com"
] | jason.abz@gmail.com |
228b0c1d2b61ae6500b24a8a75023c65a93123a9 | 277a6b52bf9500885a5491388f883fa88ceb44ad | /EngineeringDesign_SWDevelopment/Inputdata.hpp | 6dd1bb1f0b68d9dd2661b51679c3cd6b70fd354d | [] | no_license | Eurus-J-Zhang/ProjectExperience | 98db2f8d6aed0e408e3cc3a3e95a1feefb776fed | a01429670a8938bcd9249a235735c62feaadd972 | refs/heads/main | 2023-03-10T21:25:23.635655 | 2021-03-03T09:21:29 | 2021-03-03T09:21:29 | 302,527,824 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 435 | hpp | #ifndef INPUTDATA_H
#define INPUTDATA_H
#include <stdio.h>
#include <iostream>
#include <fstream>
#include <string>
#include <algorithm>
#include <new>
#include "Undefined_time_activities.hpp"
#include "Defined_time_activities.hpp"
using namespace std;
void gettime(string timestring,int time[]);
void defineallact... | [
"noreply@github.com"
] | Eurus-J-Zhang.noreply@github.com |
aaf5bbf562e606a1886d27d9580e0cf6863c9e72 | 1da15e55940da1abca2286437036205f14d40ea9 | /SDK-gcc2.0/cdn/deploy.cpp | f3d1315dc3bac167e1548b574f694b0ca51514c9 | [] | no_license | liushui9404/2017codecraft | b54c3d165b6ee9768d10b97364e86a148d93561d | fca335540092a283d1ca8e3c72a5107b919f3af7 | refs/heads/master | 2021-01-21T06:52:50.747355 | 2017-04-15T04:25:51 | 2017-04-15T04:25:51 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 5,737 | cpp | // deploy.cpp : 定义控制台应用程序的入口点。
//
#include "deploy.h"
#include <stdio.h>
#include"brute.h"
#include"iostream"
using namespace std;
void Get_RFlow(int*rate_flow, int**matrix_w, int num_point)
{
int temp;
for (int i = 0; i < num_point; i++)
{
temp = 0;
for (int j = 0; j < num_point; j++)
{
if ((101>matrix_w... | [
"1556711031@qq.com"
] | 1556711031@qq.com |
32b892bf9f2d5620c39d1cc2c71b9c494ef09d44 | 13688b7981908e126087814b4528f5ef5cc63ad2 | /aten/src/ATen/native/ConvolutionMM2d.cpp | d0e12699248341529ee4ff675224fe0b256e31db | [
"BSD-3-Clause",
"BSD-2-Clause",
"LicenseRef-scancode-generic-cla",
"BSL-1.0",
"Apache-2.0"
] | permissive | shrutiramesh1988/pytorch | be34bb0c674bf27dc847b13a40b982d3d550b787 | be2a4294244bc79a3f2f60f712e83a9214dfd8e2 | refs/heads/master | 2021-07-08T21:27:28.917944 | 2021-03-31T15:21:52 | 2021-03-31T15:21:52 | 233,527,778 | 0 | 0 | NOASSERTION | 2020-01-13T06:35:32 | 2020-01-13T06:35:31 | null | UTF-8 | C++ | false | false | 17,670 | cpp | #include <ATen/ATen.h>
#include <ATen/AccumulateType.h>
#include <ATen/Dispatch.h>
#include <ATen/Parallel.h>
#include <ATen/TensorUtils.h>
#include <ATen/core/grad_mode.h>
#include <ATen/div_rtn.h>
#include <ATen/native/Unfold2d.h>
namespace at {
namespace native {
namespace {
static inline void slow_conv2d_shape_c... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
28cabf881b338406777b491cbed78d50af4b4a24 | a7d2ea3da40fc0590218acdf14286a0553102e97 | /algorithm/LanQiao/newoj/1466.cpp | d8c884f9416f00e87238ac6c1e5d3061be213e37 | [] | no_license | wust-lzy/vscode_project | 58855bb4aa9ee5699f02c88ee6ad08eaa00459f9 | 8f6d8e661e284c7f2c3164dd39730404e7a02d58 | refs/heads/master | 2023-03-23T10:52:26.238726 | 2021-03-23T03:46:57 | 2021-03-23T03:46:57 | 331,944,454 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 423 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
int n,i;
long long a[100005],b[100005];
cin>>n;
for(i=0;i<n;i++)
cin>>a[i];
sort(a,a+n);
if(a[0]==a[n-1])
{
cout<<n;
return 0;
}
for(i=0;i<n-1;i++)
b[i]=a[i+1]-a[i];
long long g=__gcd(b[0],b... | [
"1457652314@qq.com"
] | 1457652314@qq.com |
e7dfe0c57363bceaa7436a677928ccdb0e594610 | 917224df07460e7ffb9d70e5e093e71500545b8e | /devel/include/chapter2_tutorials/chapter2_srv1Request.h | 33fde64e0652c4f7a56666b668ff10e0b4fb6110 | [] | no_license | lichunhong/ros_example | b1acb96acaca001a2dda734fde94f148684c927e | d8b03b7d3373ae0da15821205dfa338c26a46032 | refs/heads/master | 2020-04-25T03:22:11.607630 | 2019-04-02T06:30:05 | 2019-04-02T06:30:05 | 172,474,166 | 6 | 1 | null | 2019-04-02T06:30:06 | 2019-02-25T09:22:56 | Makefile | UTF-8 | C++ | false | false | 5,763 | h | // Generated by gencpp from file chapter2_tutorials/chapter2_srv1Request.msg
// DO NOT EDIT!
#ifndef CHAPTER2_TUTORIALS_MESSAGE_CHAPTER2_SRV1REQUEST_H
#define CHAPTER2_TUTORIALS_MESSAGE_CHAPTER2_SRV1REQUEST_H
#include <string>
#include <vector>
#include <map>
#include <ros/types.h>
#include <ros/serialization.h>
#... | [
"1028960614@qq.com"
] | 1028960614@qq.com |
2e1fd31fa0f71c7784acf81788786f91d17343f5 | 6a542dc979436d16934c71b92381dddb8479fb68 | /MechanumPIDSepGyro/src/OI.h | 13f17cdf3abc2bc3350dc041e49a9033ca622df8 | [] | no_license | DERT-2040/Robot_Code | 2fae875d88a1e022445e06d51eaa933a720555aa | 6e2c91aa51da997953ac3714c9ee61952f1a7836 | refs/heads/master | 2021-01-20T10:24:03.409604 | 2018-10-30T23:40:14 | 2018-10-30T23:40:14 | 83,931,995 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,024 | h | // RobotBuilder Version: 2.0
//
// This file was generated by RobotBuilder. It contains sections of
// code that are automatically generated and assigned by robotbuilder.
// These sections will be updated in the future when you export to
// C++ from RobotBuilder. Do not put any code or make any change in
// the blocks ... | [
"noreply@github.com"
] | DERT-2040.noreply@github.com |
d117a5d1e21a385b462b0bec149547530337a060 | 7ced5bc49554a37f9c6ac6dc26c5dfcb2f0f4077 | /timeobj.cpp | 68b2bf2b4da5cce2ff8dbd0818f77b7db843e952 | [] | no_license | knishchaya/cpp_practice | 1aa422693c036494e89307d02b60745415bd3c53 | c30772fce513b09b99970978087496f389a06c75 | refs/heads/master | 2022-12-29T11:20:32.055793 | 2020-09-30T18:53:57 | 2020-09-30T18:53:57 | 299,999,889 | 0 | 2 | null | 2020-10-16T10:57:49 | 2020-09-30T17:31:39 | C++ | UTF-8 | C++ | false | false | 598 | cpp | #include<iostream>.
using namespace std;
class time
{
private :
int h,m;
public:
void get()
{
cout<<"Enter Hour And Minutes Respectively : ";
cin>>h>>m;
}
void calculate(time t1,time t2)
{
h=t1.h+t2.h;
m=t1.m+t2.m;
if(h>12)
h=h%12;
if(m>60)
{
m=m%60;
h=h+1;
}
... | [
"knishchaya@gmail.com"
] | knishchaya@gmail.com |
6f9d2313fc6bab241505a46d0ceed1754c6b3ef9 | a23665259e3b931a12290d5ff80e1c4d4916c0ea | /dlls/hl2_dll/func_tank.cpp | 5f425c04ad64d65a09e7b1daa57a35ff723b0630 | [] | no_license | q4a/half | 507490107968459073f23c306bdff56e7dffd9f7 | 6a4302e286aa5bfd9ebdc7ed2688d2290981ec9c | refs/heads/master | 2022-04-26T13:18:15.597053 | 2017-06-15T13:32:34 | 2017-06-15T13:32:34 | null | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 57,916 | cpp | //========= Copyright © 1996-2001, Valve LLC, All rights reserved. ============
//
// Purpose:
//
// $NoKeywords: $
//=============================================================================
#include "cbase.h"
#include "Sprite.h"
#include "EnvLaser.h"
#include "basecombatweapon.h"
#include "explode.h"... | [
"houontherun@gmail.com"
] | houontherun@gmail.com |
b3a87afb6c6308e9f2a8d57c02ca8776c00955d3 | d0fb46aecc3b69983e7f6244331a81dff42d9595 | /ddoscoo/include/alibabacloud/ddoscoo/model/CreateNetworkRulesResult.h | bbe6f333ec6da89d7c3cc2b0183140f6e55d1166 | [
"Apache-2.0"
] | permissive | aliyun/aliyun-openapi-cpp-sdk | 3d8d051d44ad00753a429817dd03957614c0c66a | e862bd03c844bcb7ccaa90571bceaa2802c7f135 | refs/heads/master | 2023-08-29T11:54:00.525102 | 2023-08-29T03:32:48 | 2023-08-29T03:32:48 | 115,379,460 | 104 | 82 | NOASSERTION | 2023-09-14T06:13:33 | 2017-12-26T02:53:27 | C++ | UTF-8 | C++ | false | false | 1,360 | h | /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | [
"sdk-team@alibabacloud.com"
] | sdk-team@alibabacloud.com |
bf44973435bb8b846f574098077ad9c66726f9d5 | 77b0a1b8152363df02cac99493dfdd51d40a21e0 | /LLPlugin/entry.cpp | 95f7aed4a7b595c9e051704da94db2891f6680ac | [] | no_license | wzyyyyyyy/SignBlock | 31f09e9d22372bc11c093703dbbbf30de1a6c27e | 8ed2afc9c34fc21a51c759b0be0aaa5b6724404c | refs/heads/master | 2023-06-08T13:28:42.387058 | 2021-06-27T05:04:03 | 2021-06-27T05:04:03 | 380,654,948 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 106 | cpp | #include "pch.h"
void entry() {
//插件载入时会调用这个函数
std::cout << "Hello World!\n";
} | [
"59381521+wzyyyyyyy@users.noreply.github.com"
] | 59381521+wzyyyyyyy@users.noreply.github.com |
07bfcc3f4677f218514497ed37524f6a13ba9fa6 | ee36e4f4557a49845e8a57b8618f024eee8bdff1 | /ws03/SetSummable.h | 783e60d99df2dd2ad6c1410c8fd463bb427cab79 | [] | no_license | luckygy618/Cpp_workshops_BTP305 | 9a607fe0a5548943f4399e4039e618c1229bf5f4 | fa640a936bd9294b1791c341f66fe65e315fd7f8 | refs/heads/main | 2023-03-20T22:04:03.618848 | 2021-03-15T05:04:21 | 2021-03-15T05:04:21 | 347,842,377 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 936 | h | /*
I have done all the coding by myself and only copied the code that my professor provided to complete my workshops and assignments.
Name: GuoYu Cao
Student ID: 061341145
Email: gcao4@myseneca.ca
Date: 2020-10-10
*/
#ifndef SDDS_SETSUMMABLE_H
#define SDDS_SETSUMMABLE_H
#include "Set.h"
namespace sdds {
template<typ... | [
"gcao4@myseneca.ca"
] | gcao4@myseneca.ca |
4fe5109c905f01ab63d1533aeda507d6a24979d2 | 7f07b7c10bf56f22bd3e157f0ae65ced3de94edb | /WindowsGameServer/WindowsGameServer/Main/SceneManager/SceneFactory/SceneFactory.cpp | 66638741a3f62691fc52fd792e6cf39cb3b48395 | [] | no_license | Keitaro0408/WindowsGameServer | 73f0fbfa407d68f740f3f6d7a7c47703758de5ca | a9fa9f049741697d37ffec39836ca58821bbe65e | refs/heads/master | 2021-04-12T10:37:44.093390 | 2017-07-18T13:23:36 | 2017-07-18T13:23:36 | 94,533,323 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 683 | cpp | /*
* SceneFactory.cpp
*
* Created on: 2017/06/14
* Author: kei
*/
#include "SceneFactory.h"
#include "../SceneBase/WaitScene/WaitScene.h"
#include "../SceneBase/GameScene/GameScene.h"
SceneFactory::SceneFactory()
{
// TODO 自動生成されたコンストラクター・スタブ
}
SceneFactory::~SceneFactory()
{
// TODO Auto-generated de... | [
"kei.kotani77@gmail.com"
] | kei.kotani77@gmail.com |
a819a72454d9d3cdb630cc8c4e81dccfc8f6c21d | 0ab72b7740337ec0bcfec102aa7c740ce3e60ca3 | /include/nsim/interaction/func/method/dihedral/both.h | fa2c4653a4efa2f3d2eae08e1da13fc31ff9c69b | [] | no_license | junwang-nju/mysimulator | 1d1af4ad7ddbe114433ebdadd92de8bb3a45c04f | 9c99970173ce87c249d2a2ca6e6df3a29dfc9b86 | refs/heads/master | 2021-01-10T21:43:01.198526 | 2012-12-15T23:22:56 | 2012-12-15T23:22:56 | 3,367,116 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,880 | h |
#ifndef _Interaction_Func_Method_Dihedral_Both_H_
#define _Interaction_Func_Method_Dihedral_Both_H_
#include "interaction/buffer/interface.h"
#include "distance/calc.h"
#include "array/1d/cross.h"
#include "interaction/func/impl/dihedral/common/buffer/pre-name.h"
#include "interaction/func/impl/dihedral/common/buffer... | [
"junwang.nju@gmail.com"
] | junwang.nju@gmail.com |
1b220064f3c87c34ffe26f2756a753777faa08bf | f5ad0edb109ae8334406876408e8a9c874e0d616 | /src/qt/recentrequeststablemodel.h | e1185612f0fd796e4ea6235bea46ac396307b270 | [
"MIT"
] | permissive | rhkdck1/RomanceCoin_1 | 2d41c07efe054f9b114dc20b5e047d48e236489d | f0deb06a1739770078a51ed153c6550506490196 | refs/heads/master | 2020-09-14T12:36:48.082891 | 2019-12-23T10:21:36 | 2019-12-23T10:21:36 | 223,129,383 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,228 | h | // Copyright (c) 2011-2018 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef ROMANCE_QT_RECENTREQUESTSTABLEMODEL_H
#define ROMANCE_QT_RECENTREQUESTSTABLEMODEL_H
#include <qt/walletmodel.h>
#in... | [
"rhkdck1@gmail.com"
] | rhkdck1@gmail.com |
acfc082f21f22cbeb4cfe47a0e9ed5af522f8c86 | afdf8536a97ffdae17e065cb4611b1cb16062d44 | /apps/output_mpi/gm_graph/src/partition_graph.cc | e82f0f0986573d9b80b19934329112472806a8fc | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | anchur/DisGCo | 6b08e4f86700fb510a148ec802eed40c266e242d | b9b59cb0264ecd2241ffa4d49ef1d71566e6fb48 | refs/heads/master | 2023-02-13T07:55:36.456648 | 2021-01-18T05:26:04 | 2021-01-18T05:26:04 | 283,666,865 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,264 | cc | /*
* =====================================================================================
*
* Filename: partition_graph.cc
*
* Description: Utilities to transform a given input graph based on a
* user given partition.
*
* Created: 10/22/2019 11:26:00 IST
* Revision: none
* ... | [
"anchurs@gmail.com"
] | anchurs@gmail.com |
e76a262456c61772a5a09162ed6c25d01ef010a3 | d30a537f80408bbd02668ffd72d3f4ef5c150343 | /src/editor/src/material/material_thumbnail.cpp | 03b1b9e4dd281e96364403c449945d8dbf010ff3 | [
"MIT"
] | permissive | ReccaStudio/Atrc | 8b144c0340f0d537395381b7f7020b873d1727e0 | f1d42a43db8a655587f49f33ce2657aab73069dc | refs/heads/master | 2022-11-17T23:07:57.351105 | 2020-07-11T14:14:56 | 2020-07-11T14:14:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,577 | cpp | #include <agz/editor/material/material_thumbnail.h>
#include <agz/tracer/core/intersection.h>
#include <agz/tracer/core/bsdf.h>
#include <agz/tracer/core/light.h>
#include <agz/tracer/create/envir_light.h>
#include <agz/tracer/create/texture2d.h>
#include <agz/tracer/utility/sphere_aux.h>
#include <agz/utility/image.h>... | [
"airguanz@gmail.com"
] | airguanz@gmail.com |
41e5b1270c45c5f1bcc3e7e65b5e4e8629668079 | 3496c0182ce7727654b273c59f464600e7478d43 | /ch15/ex15_41.h | f59bd5df37ec5c7191d1b02037a8c8f78c971bbc | [] | no_license | luqilinok/Cpp-primer-Personal | 47f54ef405053d3abd5f7536d88cd77cd1096b7c | 31ffdfa34c4cecb81051205505350e3abc4bb955 | refs/heads/master | 2018-10-22T16:39:42.639036 | 2018-08-29T07:02:49 | 2018-08-29T07:02:49 | 116,896,816 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,458 | h | #ifndef QUERY_H
#define QUERY_H
#include <memory>
#include <string>
#include <vector>
#include <set>
#include<map>
#include <iostream>
class QueryResult {
friend std::ostream& print(std::ostream&, const QueryResult&);
friend std::ostream& print(std::ostream&, const QueryResult&, int beg, int end);
public:
typedef ... | [
"noreply@github.com"
] | luqilinok.noreply@github.com |
5b6e57c795d964b9d91b019be44d99e29fafc618 | 5daa8cf867d163e22b1797c19231ce078ab9d637 | /Codeforces/1154C/main.cpp | ae6d6b5f1435ece5696ec01095824dd7faf05b3a | [] | no_license | SebastianMestre/Competitive-Programming | 753a35ee2bc65690c6888e8fb61fed254cb79b97 | 8f9863b3dbc4afe22d67475f9cdad1e542ec5f19 | refs/heads/master | 2023-06-29T17:00:43.994108 | 2023-06-19T23:50:11 | 2023-06-19T23:50:11 | 197,651,768 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 917 | cpp | #include <iostream>
#include <algorithm>
using namespace std;
int main () {
int a;
int b;
int c;
cin >> a >> b >> c;
int Sa = a / 3;
int Sb = b / 2;
int Sc = c / 2;
int semanas_completas = min(min(Sa, Sb), Sc);
//if(semanas_completas) semanas_completas -= 1;
int Ra... | [
"mestresebastianunr@gmail.com"
] | mestresebastianunr@gmail.com |
cfdcea729556ea3aec08dd14e00969e01dc36232 | 829670ad3d674e56de11085532f7da7c18dd553c | /src/FreeEnergyUtils.hpp | cfdb6256861f4a7fde2613e3df6efaf14546df60 | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | shama-27/gpr | 52e1c700e6cb6873388b82fb4e15b5e7c6c81303 | 58ad8649a7e630ba3772351085363821d5a4f640 | refs/heads/master | 2023-08-15T14:42:44.605576 | 2020-08-18T09:02:30 | 2020-08-18T09:02:30 | 413,120,524 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,769 | hpp | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <iostream>
#include <vector>
#include <unistd.h>
using namespace std;
inline bool ends_with(string const & value, string const & ending)
{
if (ending.size() > value.size()) return false;
return equal(ending.rbegin(), ending.... | [
"qhtjrmin@naver.com"
] | qhtjrmin@naver.com |
7c47711ff105f6f1cf1aa01f8ac4533fbc97b26e | 014a65374e186c8a0037f64f0f374cb630cbaebb | /src/libsass/error_handling.cpp | 8fc840e61024ffaa5f9fd6ca0fd5f39e9677e511 | [
"Apache-2.0",
"BSL-1.0",
"MIT"
] | permissive | Taritsyn/LibSassHost | d028b4753dbb856f2f601c654331f5a3872f6ce0 | 284bf02b7b30b5ff9711b039bf03c02a94f4da95 | refs/heads/master | 2023-01-06T23:15:42.135153 | 2022-12-28T17:04:49 | 2022-12-28T17:04:49 | 44,171,750 | 93 | 14 | Apache-2.0 | 2020-06-25T10:19:24 | 2015-10-13T11:30:23 | C++ | UTF-8 | C++ | false | false | 8,920 | cpp | // sass.hpp must go before all system headers to get the
// __EXTENSIONS__ fix on Solaris.
#include "sass.hpp"
#include "ast.hpp"
#include "prelexer.hpp"
#include "backtrace.hpp"
#include "error_handling.hpp"
#include <iostream>
namespace Sass {
namespace Exception {
Base::Base(SourceSpan pstate, sass::strin... | [
"taritsyn@gmail.com"
] | taritsyn@gmail.com |
b6ef3a00e40d2cf657d49871d7342f40637b6662 | ce71ba08e9094a4d76c8cc1e0cc7891ae016ff60 | /Lib/Chip/CM4/Freescale/MKW22D5/UART1.hpp | 3b5936578d023e5f593f33f705344b347c3fc970 | [
"Apache-2.0"
] | permissive | operativeF/Kvasir | 9bfe25e1844d41ffefe527f16117c618af50cde9 | dfbcbdc9993d326ef8cc73d99129e78459c561fd | refs/heads/master | 2020-04-06T13:12:59.381009 | 2019-01-25T18:43:17 | 2019-01-25T18:43:17 | 157,489,295 | 0 | 0 | Apache-2.0 | 2018-11-14T04:12:05 | 2018-11-14T04:12:04 | null | UTF-8 | C++ | false | false | 50,102 | hpp | #pragma once
#include <Register/Utility.hpp>
namespace Kvasir {
//Serial Communication Interface
namespace Uart1Bdh{ ///<UART Baud Rate Registers: High
using Addr = Register::Address<0x4006b000,0xffffff20,0x00000000,unsigned char>;
///UART Baud Rate Bits
constexpr Register::FieldLocation... | [
"holmes.odin@gmail.com"
] | holmes.odin@gmail.com |
16eaa8a8f3b100eaf4a7b5cfd6658072d5c1304d | 77e6d4579a88b6fb36e26d6c97b14966cb7d0479 | /library/src/framework/util/error.cpp | b1124f2cb76adb88696d69725987798846b9a5ae | [] | no_license | k19709/server | 896ad460b1afebbec3aa116a6bd9641a00661636 | f11792980d3dc030255f41855849eb9cc07c21d0 | refs/heads/master | 2021-01-01T20:35:26.703306 | 2013-07-06T05:00:09 | 2013-07-06T05:00:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 181 | cpp | #include "util/error.h"
#include "common.h"
namespace les
{
int getLastError(void)
{
return ::GetLastError();
}
void setLastError(int error)
{
::SetLastError(error);
}
} | [
"k19709@163.com"
] | k19709@163.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.