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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
60f1f8b868bf2084539a20752b2d0e8fcde7f4a5 | 777a75e6ed0934c193aece9de4421f8d8db01aac | /src/Providers/UNIXProviders/HostedClusterService/UNIX_HostedClusterService.cpp | 6f26753135e142639a3bd01f68291b6a450f4b1f | [
"MIT"
] | permissive | brunolauze/openpegasus-providers-old | 20fc13958016e35dc4d87f93d1999db0eae9010a | b00f1aad575bae144b8538bf57ba5fd5582a4ec7 | refs/heads/master | 2021-01-01T20:05:44.559362 | 2014-04-30T17:50:06 | 2014-04-30T17:50:06 | 19,132,738 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,326 | cpp | //%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 |
a3399a389e5bc0f16ead599b71cee13930c1ca91 | 14d19c29e4c296381870250503ff9a889ac897f5 | /src/fj_multi_thread.cc | 8fbe9b59551616fc0841ee7e42ee2b4401be8e83 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | caomw/Fujiyama-Renderer | c23fbf25f405fdd46529d2c053da45a5dca89c4c | 01fba59d8c4919a5869b23ef9c778cc026325a8f | refs/heads/master | 2020-12-26T01:38:21.051778 | 2016-08-30T16:56:38 | 2016-08-30T16:56:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,363 | cc | // Copyright (c) 2011-2016 Hiroshi Tsubokawa
// See LICENSE and README
#include "fj_multi_thread.h"
#include <stddef.h>
#include <assert.h>
#include <omp.h>
namespace fj {
int MtGetMaxThreadCount(void)
{
return omp_get_max_threads();
}
int MtGetRunningThreadCount(void)
{
return omp_get_num_threads();
}
int MtG... | [
"hiroshi@fujiyama-renderer.com"
] | hiroshi@fujiyama-renderer.com |
2928c43381bd8455446516e84ae0ba2b2b3bc283 | 91a882547e393d4c4946a6c2c99186b5f72122dd | /Source/XPSP1/NT/sdktools/proccon/service/cprocconmgr.cpp | 144ab9795f4d3f23c06c50bb98fc04ce4b33c6d6 | [] | no_license | IAmAnubhavSaini/cryptoAlgorithm-nt5src | 94f9b46f101b983954ac6e453d0cf8d02aa76fc7 | d9e1cdeec650b9d6d3ce63f9f0abe50dabfaf9e2 | refs/heads/master | 2023-09-02T10:14:14.795579 | 2021-11-20T13:47:06 | 2021-11-20T13:47:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 90,997 | cpp | /*======================================================================================//
| //
|Copyright (c) 1998, 1999 Sequent Computer Systems, Incorporated //
| ... | [
"support@cryptoalgo.cf"
] | support@cryptoalgo.cf |
2a186d887aac775a944e439307a2a5b71e40021e | 1b5832d547ec7356d868683f6c4337206d2f4541 | /tree_detection/src/TreeDetector.cpp | 9ac71f3e982258375c2d8c96b582ac3731bcab94 | [
"BSD-3-Clause"
] | permissive | Tarmy3124/tree_detection | 17d23b77f7e2f1c1fdf15be0be6744f30a6fb5c3 | 8d550f7edb5e1b7770fcde2d51c6b08f1ec7a4cd | refs/heads/main | 2023-07-13T06:31:59.789720 | 2021-08-22T14:35:39 | 2021-08-22T14:35:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,130 | cpp | #include "tree_detection/TreeDetector.hpp"
#include <pcl/common/common.h>
#include <pcl/common/pca.h>
#include <pcl/filters/crop_box.h>
#include <pcl/kdtree/kdtree.h>
#include <pcl/segmentation/extract_clusters.h>
namespace tree_detection {
void TreeDetector::setTreeDetectionParameters(const TreeDetectionParameters ... | [
"jelavice@ethz.ch"
] | jelavice@ethz.ch |
2400ccd4ab14cb8e1fdfea3f5976d9bb418163c4 | b2de69b5dcbdd35667535f56e227c3b37c52c930 | /CSIS 112/Lab3-GradeBook/Student.cpp | e1ec1776b255c6a729a8606b7d3ee48e2801250f | [] | no_license | SamHerts/School-Labs | df73d2f39ec791acb5279dc62d2412b98fe7af20 | a53bbfbd0d372607354e1b5a83d145f13e86a352 | refs/heads/master | 2020-05-19T15:30:43.906300 | 2020-02-10T15:59:16 | 2020-02-10T15:59:16 | 185,086,929 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 751 | cpp | #include "Student.h"
using namespace std;
Student::Student(string input){ //gets the name and up to ten grades for the student
name = input;
do{
cin >> inputGrade;
setGrade(inputGrade);
} while (inputGrade != -1 && gradeV.size() < 10);
}
void Student::setGrade(float grade){
gradeV.push_b... | [
"noreply@github.com"
] | SamHerts.noreply@github.com |
f0198e139908f812cba75d06ddef881716aa89d2 | 3e70f9a3fc23925e4db47f0d2627c6d2e7b26bfa | /ch11_Associative_Containers/Sales_data.h | 88d89f5e75a3387ebfac2ff04a97b048ef3d47e9 | [] | no_license | PYChih/CppPrimer | 77e7445ae75026c624a6469674b62043eb54db74 | 3aa479b993970883252cacddc9d65a274aee1992 | refs/heads/main | 2023-03-04T03:44:42.817956 | 2021-02-18T02:23:39 | 2021-02-18T02:23:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,747 | h | #ifndef SALES_DATA_H
#define SALES_DATA_H
class Sales_data
{
friend Sales_data add(const Sales_data &lhs, const Sales_data &rhs);
friend ostream &print(ostream &os, const Sales_data &item);
friend istream &read(istream &is, Sales_data &item);
public:
Sales_data(const string &s, unsigned n, double p... | [
"poyuanchih@gapp.nthu.edu.tw"
] | poyuanchih@gapp.nthu.edu.tw |
ab12fb93bee930e75dbff2facbf86811c6541399 | b3025180df0d42a9f6141d133f837f66d44dda62 | /code/cppSide/toolboxes/RVtools.h | 42eea2a19dc25d7dc0c8179cbc7f215f6be13cd1 | [] | no_license | kylemede/SMODT | 52ce87762db4d969bc3364dcdfa5715adde303a6 | 8a701d14f2056d699fcd5cfa6ea223a19bf63b95 | refs/heads/master | 2021-05-30T13:01:56.607443 | 2014-07-09T18:22:16 | 2014-07-09T18:22:16 | 18,261,253 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,599 | h | #include <vector>
#include <string>
using namespace std;
//Define parent class, general RV tools can go in here if any are needed
class RVtools
{
public:
double Mass1; //in Msun
double a1; //primary star's semi-major axis in AU
};
class VRcalcStarStar : public RVtools
{
/**
This is the class for binary star calcu... | [
"Kyle@dhcp074.astron.s.u-tokyo.ac.jp"
] | Kyle@dhcp074.astron.s.u-tokyo.ac.jp |
3629329228022046de78983084392bb114e82edd | b4ce2e4c28cceec2a46c62bb779bd85992f407a0 | /software/sjSkeletonizer/extern/OGF/basic/common/common.h | 726abdb0ad42b7a3ae093299d1aff214f395fb66 | [] | no_license | hksonngan/jeronimo | b4b148d0d7fb3514357eb1d001601492bbc6ab59 | 9b803e1194be0fa6f3d5a8895e32fb84a028b0b5 | refs/heads/master | 2021-01-10T10:04:50.282419 | 2015-04-12T00:45:09 | 2015-04-12T00:45:09 | 47,669,420 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,256 | h | /*
* GXML/Graphite: Geometry and Graphics Programming Library + Utilities
* Copyright (C) 2000 Bruno Levy
*
* 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
* the Free Software Foundation; either version 2 of the Lic... | [
"apinzonf@78a4e28a-90cd-11de-9d83-e924b18393b8"
] | apinzonf@78a4e28a-90cd-11de-9d83-e924b18393b8 |
e8ce9d9affc559de89d7484b1a91b5e812de314b | 1f66df2de800c6e46924a51d39d2be6aed481949 | /Tools/utils/thread/threadpool.h | 248ceed387b1411b8b6bfda1febe00fc381030a9 | [] | no_license | minhanghuang/FKCpp | 6969c17cd6bdd75933ea2be738dbf86aa3b04a41 | 53d2aa713fcafd275b3e8ccf98b8900a5be197e5 | refs/heads/master | 2023-03-25T02:42:19.003732 | 2021-03-24T06:55:50 | 2021-03-24T06:55:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,966 | h | /*
* Copyright (C) Trunk Technology, Inc. - All Rights Reserved
*
* Unauthorized copying of this file, via any medium is strictly prohibited
* Proprietary and confidential
*
* Written by Huang Minhang <huangminhang@trunk.tech>, 2020/11/7 5:22 下午
*/
#ifndef TOOLS_THREADPOOL_H
#define TOOLS_THREADPOOL_H
#include... | [
"huangminhang@trunk.tech"
] | huangminhang@trunk.tech |
e8afcbfbe386adaa72cc974858edc5d4f174f5b2 | 90ed24b89b4e4b76afa66b9f236e3ebc86588e10 | /tut/t3/tutorial3/signal/myclass.hpp | 6ae25af3c4106b351f815ece259c0a9a6c842392 | [] | no_license | JakeHollandaise/OpenGLFFP | 535b9d9f48b975148bb6a0238eac39de17a5d38e | c5488cfd9a1370385308d3bcf2a1d47f894a2f66 | refs/heads/master | 2022-05-13T11:37:02.584301 | 2018-12-20T16:59:07 | 2018-12-20T16:59:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 282 | hpp | #ifndef _MYCLASS
#define _MYCLASS
#include<QObject>
class MyClass: public QObject {
Q_OBJECT
public:
MyClass();
public slots:
void handleButton();
private:
std::string initializeWorkingDirectory() const;
std::string _working_directory;
};
#endif // _MYCLASS
| [
"sc15j3h@leeds.ac.uk"
] | sc15j3h@leeds.ac.uk |
b443694b55d1314ffb0db326ddff999c04d4f11a | 72fed44002ed78178193f0c48a72d15bc14c6a2a | /matrixTest/MatrixUtils.cpp | 6dd51e94ae8c5e4e86f3f88afb8f3cc41bc8ec13 | [] | no_license | KeitoTakaishi/GraphicsBasedGL | c5b8436116dce6cf5a33d8fedc8b03889614e477 | 342f72e11d74b934641d194a0645f567e25405c9 | refs/heads/master | 2020-07-28T05:20:17.011110 | 2019-09-24T18:12:03 | 2019-09-24T18:12:03 | 209,319,865 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,860 | cpp | #include "MatrixUtils.h"
MatrixUtils::MatrixUtils()
{
}
MatrixUtils::~MatrixUtils()
{
}
glm::mat4 MatrixUtils::lookAt(glm::vec3 e, glm::vec3 u, glm::vec3 t) {
glm::mat4 dest;
glm::vec3 eye = e;
glm::vec3 up = u;
glm::vec3 target = t;
float x0, x1, x2, y0, y1, y2, z0, z1, z2;
z0 = eye[0] - tar... | [
"keitoncis@icloud.com"
] | keitoncis@icloud.com |
b2ea571406ebc9e0f26eb7cbc0bb2b26cb5f25fd | 63e1160aa422ea8e57d5398d1b150ab3f7eefeb9 | /B/build/osgTool_autogen/EWIEGA46WW/moc_Spoiler.cpp | afefb81d46da9628b87d471cc9f7b732560cdedb | [] | no_license | orimoshe-rnd/Test | 19b80f86458c0d47dbead0b2c6c8560544b8bab3 | fd271caf9557d7d54b5146c32e913c58ea042ba4 | refs/heads/master | 2023-05-08T00:39:53.707881 | 2021-06-06T12:58:59 | 2021-06-06T12:58:59 | 374,359,677 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,285 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'Spoiler.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.9.5)
**
** WARNING! All changes made in this file will be lost!
*************************************************************... | [
"carmely@rafael.co.il"
] | carmely@rafael.co.il |
28e684818392bd81cc2c4ea7610d59a67842f2fd | 99abaaf1ebcd7ba6013c58006ec3c3d37db28ce8 | /Piece.cpp | 1097babc5dfa4b501dc9d8a85826e79b347eeb8c | [] | no_license | casszeng/ChineseChessFrontEnd | 190f944bba21c42d3b49bab91c072c3d56f8b2e1 | 1ed6ab13936bbc560e0b57c47b61b12c3fe2d215 | refs/heads/master | 2022-04-06T08:01:33.078302 | 2020-03-05T06:58:40 | 2020-03-05T06:58:40 | 242,881,084 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 641 | cpp | #include "Piece.h"
Piece::Piece(Role role, Side side, int roll, int column, QObject *parent)
: QObject(parent),
m_role(role),
m_side(side),
m_roll(roll),
m_column(column)
{
}
int Piece::role() const
{
return m_role;
}
void Piece::setRole(const Role &role)
{
m_role = role;
}
int ... | [
"zengchee@163.com"
] | zengchee@163.com |
2a77695ffeafc272800b923132af46ff0539106e | 0b1bede8677e8d83451a1ce2e6fadde12462b92d | /src/ogl/MakiOGLRenderCore.cpp | f8159ae348f90fb118e22c1ed8139978d698a706 | [] | no_license | ericroy/maki-engine | f1240db2583a85ff5c7bd879b5764145ed358227 | 493855b93d55cd442856d1c8565d9833daa8f6c8 | refs/heads/master | 2021-01-02T08:57:50.371359 | 2014-07-03T00:36:52 | 2014-07-03T00:36:52 | 9,704,501 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 24,859 | cpp | #include "ogl/ogl_stdafx.h"
#include "ogl/MakiOGLRenderCore.h"
#include "ogl/MakiOGLGPUTypes.h"
#include "ogl/MakiOGLCommon.h"
#include <algorithm>
using namespace Maki::Core;
#if MAKI_USE_OGL_MUTEX
#define MAKI_ACQUIRE_OGL_MUTEX std::lock_guard<std::mutex> lock(mutex);
#else
#define MAKI_ACQUIRE_OGL_MUTEX
#endif
na... | [
"ericsroy@gmail.com"
] | ericsroy@gmail.com |
2035783559d2741f7ac2caedf43800cece344ee4 | 2a88b58673d0314ed00e37ab7329ab0bbddd3bdc | /blazetest/src/mathtest/dmatdmatadd/SDaHDa.cpp | 4bda26f2b17f3eda2095161956ae6be288b3c78d | [
"BSD-3-Clause"
] | permissive | shiver/blaze-lib | 3083de9600a66a586e73166e105585a954e324ea | 824925ed21faf82bb6edc48da89d3c84b8246cbf | refs/heads/master | 2020-09-05T23:00:34.583144 | 2016-08-24T03:55:17 | 2016-08-24T03:55:17 | 66,765,250 | 2 | 1 | NOASSERTION | 2020-04-06T05:02:41 | 2016-08-28T11:43:51 | C++ | UTF-8 | C++ | false | false | 4,008 | cpp | //=================================================================================================
/*!
// \file src/mathtest/dmatdmatadd/SDaHDa.cpp
// \brief Source file for the SDaHDa dense matrix/dense matrix addition math test
//
// Copyright (C) 2013 Klaus Iglberger - All Rights Reserved
//
// This file is par... | [
"klaus.iglberger@gmail.com"
] | klaus.iglberger@gmail.com |
ebce23ceb5b7c23364df1a291bff99c0fab70db7 | 630b60b5ceb48c8658ac1962c1291b50458d3d77 | /hal/interrupt_pin.cpp | 601ef503c3a871d54229514a75c2a06a9bc1e5eb | [
"Apache-2.0"
] | permissive | gbalke/micromouse2016 | 949dacdaef1eb8d0646466d0f57bfc941d01c0d7 | fe4f9dd8172c4b7d8d7cd0a5d632b66680f461e3 | refs/heads/master | 2020-04-02T18:45:58.021103 | 2018-04-06T04:41:18 | 2018-04-06T04:41:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,106 | cpp | #include "pin.h"
#include "digital_input.h"
#include "interrupt_pin.h"
// Location of interrupt vector table in memory. Refer to p.198 of the reference manual
static void (*volatile *const ivt)() = (void (**)()) 0x00000040;
// Config registers for the Nested Vector Interrupt Controller. Refer to p.61 of the Cortex M4... | [
"thomasjgarcia1@gmail.com"
] | thomasjgarcia1@gmail.com |
69e1d4629b257fec546b7aac17cf0cbc536ae681 | 5ed356272c2fe014b21e100c88c318380faa60bd | /text files and dependencies/boxCircleCollision.hpp | d673ba2808bd7a3bb51420cd91d6dc111d4d9b96 | [] | no_license | round4207/final | ca18411ac43ed69d3f35622342ba61f499beb488 | 254fc41940e83ad8a8937044557ebd2cac69f8f5 | refs/heads/master | 2021-01-18T05:35:17.472417 | 2015-03-27T07:04:23 | 2015-03-27T07:04:23 | 32,850,712 | 0 | 1 | null | 2015-03-25T08:04:31 | 2015-03-25T08:04:31 | null | UTF-8 | C++ | false | false | 1,175 | hpp | #include "boxCollision.hpp"
bool collisionDetectedBoxCircle(SDL_Rect box, double degrees, SDL_Rect circle, double radius)
{
float theta1 = degrees/(float)180*PI;
double c1x = box.x+box.w/2, c1y = box.y+box.h/2,
c2x = circle.x+radius, c2y = circle.y+radius;
vec2d hw, hh;
double cs = cos(theta1);
double sn = si... | [
"azidelapaz@gmail.com"
] | azidelapaz@gmail.com |
086346cccc599b4161d1ef572c42433ea1a2b0f6 | ece8832d90debb3be98252ae1ca7ed70af9717e5 | /hsnetwork/HSPackets.h | 0ad63e815c15002c0e516f8bf498b9ae99d324d1 | [] | no_license | browe/hspace-old | ee2425d115cc3ca5aa89ab644a43cb9c42feaad4 | 4736457793b2830ff8b71ba936a15446e8ccb135 | refs/heads/master | 2023-03-19T00:38:39.561242 | 2012-02-28T23:51:18 | 2012-02-28T23:51:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 33,742 | h | #ifdef _WIN32
#pragma once
#pragma warning(disable:4786)
#endif
#if !defined(__HSPACKETS_H__)
#define __HSPACKETS_H__
// Library Includes
#include <list>
#include <string>
#include "HSVariant.h"
#include "HSDataStream.h"
#include "HSPacketTypes.h"
// The base class for all packets. This class cannot be used alone... | [
"danielpowell3@gmail.com@80638f4f-ab07-e771-c7f7-ec9b5b505608"
] | danielpowell3@gmail.com@80638f4f-ab07-e771-c7f7-ec9b5b505608 |
bda472f3d94891378527b44a2f825fef135de0ee | 88ae8695987ada722184307301e221e1ba3cc2fa | /third_party/grpc/src/src/core/lib/compression/compression_internal.cc | 36044e0b6c296a846d5d99bc82c300555adef6b7 | [
"Apache-2.0",
"LGPL-2.0-or-later",
"MIT",
"GPL-1.0-or-later",
"BSD-3-Clause",
"MPL-2.0"
] | permissive | iridium-browser/iridium-browser | 71d9c5ff76e014e6900b825f67389ab0ccd01329 | 5ee297f53dc7f8e70183031cff62f37b0f19d25f | refs/heads/master | 2023-08-03T16:44:16.844552 | 2023-07-20T15:17:00 | 2023-07-23T16:09:30 | 220,016,632 | 341 | 40 | BSD-3-Clause | 2021-08-13T13:54:45 | 2019-11-06T14:32:31 | null | UTF-8 | C++ | false | false | 7,074 | cc | //
//
// Copyright 2015 gRPC authors.
//
// 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... | [
"jengelh@inai.de"
] | jengelh@inai.de |
9481a7e6779772555944a87d4ece858388b12275 | 788752dd10d0e209cc1e3f611457e87c72d3250a | /mediapipe/calculators/tensor/inference_calculator_cpu.cc | 4995d9d4e7799cf3720611f63ca354ec585141c7 | [
"Apache-2.0"
] | permissive | guiphaniel/mediapipe | 2d26a817ee03c81f34c712e39b445480dea39dee | d5fb15e8ed34634921f51a9a1539cad7ac54fa58 | refs/heads/master | 2023-07-10T15:18:58.834568 | 2021-08-20T14:43:48 | 2021-08-20T14:43:48 | 397,607,098 | 0 | 0 | Apache-2.0 | 2021-08-18T13:16:39 | 2021-08-18T13:16:38 | null | UTF-8 | C++ | false | false | 8,307 | cc | // Copyright 2019 The MediaPipe Authors.
//
// 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 a... | [
"chuoling@google.com"
] | chuoling@google.com |
9d5aab010353a14988d2887888a5cecb7f852c15 | dc16aae01ffb886f785c3b03a61475dd705ece87 | /src/qt/receiverequestdialog.cpp | f5ecb5fa16767a1ac86d7a9cc811966439c71c79 | [
"MIT"
] | permissive | forkee/gaon | ef02153a96acc702dee7873f34cb0adc29506b16 | 93f94f7d268c0f9abd0b7ef82791945349fcb40c | refs/heads/master | 2021-04-12T11:09:46.870852 | 2018-02-22T18:05:44 | 2018-02-22T18:05:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,663 | cpp | // Copyright (c) 2011-2013 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "receiverequestdialog.h"
#include "ui_receiverequestdialog.h"
#include "bitcoinunits.h"
#include "guiconstants.h"
#... | [
"gaoncoin@gmail.com"
] | gaoncoin@gmail.com |
068d197246cf333016b572373bb78c897334b4df | 005fe4f567e969d31c62cfb6ee14f301fe2a8bb6 | /t_cast/demo1.cc | a892376922e01a232aa81b7f8b0f26d7a74d9cfb | [] | no_license | JasonOldWoo/CommonExample | 47618bd80993b7e952e077472fab61910f5deb12 | 94f280f4f3f296ad0b07b2cc68a925ba584aafbd | refs/heads/master | 2021-01-20T06:25:35.317146 | 2016-03-19T12:36:18 | 2016-03-19T12:36:18 | 51,367,511 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 346 | cc | #include <assert.h>
class B
{
public:
int m_iNum;
virtual void foo();
};
class D : public B
{
public:
char m_szName[100];
};
void func(B* pb)
{
D* pd1 = static_cast<D*> (pb);
D* pd2 = dynamic_cast<D*> (pb);
#if 0
if (pd1) {
pd1->m_szName[0] = 'H';
}
if (pd2) {
pd2->m_szName[0] = 'L';
}
#else
assert(pd1... | [
"brucecen2@gmail.com"
] | brucecen2@gmail.com |
78bc84f473e911700a2543c3736b5292522468e6 | 125c36549274f18c7795982ae8d3afe5e0698dd7 | /template/bit.cpp | f2072e5a2205e215ee86671e42cf216c5b361a57 | [] | no_license | callmebg/luogu | 518d75ef6b1f60d735f7fb45e074959fd5e7ce10 | cde510c7ae01810188f1442512e9fa2166b17a91 | refs/heads/master | 2020-04-11T02:01:35.222429 | 2018-12-12T04:44:35 | 2018-12-12T04:44:35 | 161,433,125 | 53 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 714 | cpp | #include<cstdio>
#include<cstring>
#include<iostream>
#include<algorithm>
#define lowbit(i) (i&-i)
typedef long long ll;
using namespace std;
const int N = 500005;
int n,m;
int bit[N];
void add(int x,int v)
{
while(x<=n)
{
bit[x]+=v;
x+=lowbit(x);
}
}
int query(int x)
{
int ans=0;
while(x>... | [
"noreply@github.com"
] | callmebg.noreply@github.com |
46f978a2c84fb303acad41a9789b6cd76f4b03a7 | 703227e62ae08496955d72ec9dde8096592832ae | /System Programing 20210601/NamedPipeClient/NamedPipeClientDlg.h | de6e78ae95512594e2eaf86dcf53fd833e1f5c08 | [] | no_license | hyuk02006/Jusung | 4c918cbf7cd634e50eaf7de32224346d110de1ce | c9d9717e85cb635deba5c74fcefd73f6f41e8431 | refs/heads/main | 2023-08-27T08:42:35.613344 | 2021-10-22T02:59:00 | 2021-10-22T02:59:00 | 365,973,186 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 758 | h |
// NamedPipeClientDlg.h: 헤더 파일
//
#pragma once
// CNamedPipeClientDlg 대화 상자
class CNamedPipeClientDlg : public CDialogEx
{
// 생성입니다.
public:
CNamedPipeClientDlg(CWnd* pParent = nullptr); // 표준 생성자입니다.
// 대화 상자 데이터입니다.
#ifdef AFX_DESIGN_TIME
enum { IDD = IDD_NAMEDPIPECLIENT_DIALOG };
#endif
protected:
virtual... | [
"hyuk02006@naver.com"
] | hyuk02006@naver.com |
7f877c5c800429858f327525864df2175f3ab44b | da9bca392e877999877f4d599060537a7e9c9c1e | /code/foundation/http/httpclientregistry.cc | 6440125f8ff0fffe8d6a6e96b45c8ee1b6a68536 | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-2-Clause"
] | permissive | Aggroo/nebula-trifid | 70ac63d12dcafa6772824d8173344ce4658d2bbc | 51ecc9ac5508a8a1bf09a9063888a80c9e2785f0 | refs/heads/master | 2021-01-17T11:03:12.438183 | 2016-03-03T22:38:19 | 2016-03-03T22:38:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,964 | cc | //------------------------------------------------------------------------------
// httpclientregistry.cc
// (C) 2009 Radon Labs GmbH
// (C) 2013-2015 Individual contributors, see AUTHORS file
//------------------------------------------------------------------------------
#include "stdneb.h"
// HttpClientRegistry ... | [
"johannes@gscept.com"
] | johannes@gscept.com |
dee07dc108981fef236db03f3d48fc2e3b0a1cd5 | 4352b5c9e6719d762e6a80e7a7799630d819bca3 | /tutorials/oldd/Basic-Dynamic-Mesh-Tutorial-OpenFoam/TUT16rotating/2.44/epsilon | 3dfc27b2f5789ed11e056b84c9852a41a71a46a5 | [] | no_license | dashqua/epicProject | d6214b57c545110d08ad053e68bc095f1d4dc725 | 54afca50a61c20c541ef43e3d96408ef72f0bcbc | refs/heads/master | 2022-02-28T17:20:20.291864 | 2019-10-28T13:33:16 | 2019-10-28T13:33:16 | 184,294,390 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 44,599 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 6
\\/ M anipulation |
\*-------... | [
"thomasdigiusto@me.com"
] | thomasdigiusto@me.com | |
d419701dfdd6eb8f131b7934c4d9da595cfdd7e5 | 92a5f08522a216bb46b2533ab9ff980c38f5eb51 | /Math.h | 7abf44536e172177c623580e000ddfd5a92680cc | [
"MIT"
] | permissive | aneova/ConsoleCalculator | 2ed18f3b000ff07f547a79f40f6a87dce5d3a0c5 | 17c5add2effe1f4e93172bae60913c0b7e1a2744 | refs/heads/master | 2022-12-12T13:55:55.399474 | 2020-08-25T08:16:55 | 2020-08-25T08:16:55 | 290,156,383 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 299 | h | #pragma once
#include "MathHistory.h"
class Math
{
public:
Math();
double getSum(double x, double y);
double getSubtract(double x, double y);
double getMultiplication(double x, double y);
double getDivision(double x, double y);
void Calculation(int userInput, MathHistory mathHist);
};
| [
"50141369+aneova@users.noreply.github.com"
] | 50141369+aneova@users.noreply.github.com |
fe17064e02e9483725fb35cc1749c813a800f559 | 70b1d21062592106e451d1d2cdbce6585d096117 | /blaze/math/views/SparseSubmatrix.h | 15cf9cf001f26d4df7c68eeb53ee5024d0ff0a13 | [
"BSD-3-Clause"
] | permissive | sherryshare/blaze-2.0 | 5300ab03758b0e5701f44e52923a107b5a42ee25 | 3c2011b7e59e992f1f8306fc69f17bba9becedc7 | refs/heads/master | 2016-09-10T01:40:29.813936 | 2014-07-09T03:37:11 | 2014-07-09T03:37:11 | 21,636,696 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 208,757 | h | //=================================================================================================
/*!
// \file blaze/math/views/SparseSubmatrix.h
// \brief Header file for the SparseSubmatrix class template
//
// Copyright (C) 2013 Klaus Iglberger - All Rights Reserved
//
// This file is part of the Blaze library... | [
"siyuan.sherryshare.wang@gmail.com"
] | siyuan.sherryshare.wang@gmail.com |
71b71c17ee3d1731bad3eab5e6328663b24e2a33 | 6a3924451db1da40fbe281c430e2dddef0213171 | /MyDemos/InternationalLanguage/InternationalLanguage_2052/stdafx.cpp | 9373acf57f79cdaeb66e90fdf79527177fd0f96f | [] | no_license | zhangwuhui212/C- | 656af9b581b382d21b9eec85fe09c3843c5201a3 | ec863a05c18ccf3e53016681de27c0fea3696455 | refs/heads/master | 2020-03-24T12:39:44.350531 | 2018-08-16T08:04:01 | 2018-08-16T08:04:01 | 142,720,692 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 305 | cpp | // stdafx.cpp : source file that includes just the standard includes
// InternationalLanguage_2052.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
// TODO: reference any additional headers you need in STDAFX.H
// and not in this file
| [
"zhangwuhui212@163.com"
] | zhangwuhui212@163.com |
b925a295a1f94896d0f217ab082450703360b877 | 8950e9792b3e86899513b4ee0ab4ff9eaa4a8380 | /App/Il2CppOutputProject/Source/il2cppOutput/Generics63.cpp | c856a204d02bc48eccff70b74aa7fe0ef3307ce5 | [] | no_license | dallen-28/VuforiaHololensTracking | b9f601a785b660370497e220b7ba77df9252f420 | b1b7e65930aa724c57b7e3932cf3d15cbeedf5b5 | refs/heads/main | 2023-04-17T22:25:43.789831 | 2021-04-27T22:59:03 | 2021-04-27T22:59:03 | 360,987,400 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,422,959 | cpp | #include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <cstring>
#include <string.h>
#include <stdio.h>
#include <cmath>
#include <limits>
#include <assert.h>
#include <stdint.h>
#include "codegen/il2cpp-codegen.h"
#include "il2cpp-object-internals.h"
template ... | [
"dallen28@uwo.ca"
] | dallen28@uwo.ca |
4ae56c6118ef566cc48cf7fe854e4cb8763da587 | ce6506aa5ad0982a57b78d643cd00ce37f0143bf | /source/Rect.h | c1392713edaac78bdac23164d618284a602aa137 | [] | no_license | baruken/invcat2d | 2d301da8ec481e59433e70024145f7a39e792d79 | b642f7ebc27e1b57e5fdd08301567bd4418a0240 | refs/heads/master | 2020-08-10T16:20:17.818438 | 2011-01-10T11:44:41 | 2011-01-10T11:44:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 439 | h | #ifndef __Rect_h__
#define __Rect_h__
#include "SDL/SDL.h"
#include "Types.h"
/** Rectangle class.
*/
class Rect
{
public:
/** Default constructor. Create a NULL rect. */
Rect(); // null rect
/** Build a Rect with given position and dimensions. */
Rect(uint row, uint col, uint width, uint h... | [
"baruken@oconsultorfinanceiro.com"
] | baruken@oconsultorfinanceiro.com |
47fd699ffc7fd7eb734a497df830558a8c9193aa | 124b3b6ddf199a1493f84db22c5ad65749496132 | /src/qt/guiutil.cpp | de0c9b4f4959255126c1375bf46e28cc5467c08b | [
"MIT"
] | permissive | renhecoin/progress | e1114eacb6fbab4426137128a6bd81d4faeb8bba | 137840ecfb4049c8ec374375227448af7dfe35d2 | refs/heads/master | 2020-05-30T03:49:38.155368 | 2019-05-15T12:25:05 | 2019-05-15T12:25:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 32,411 | cpp | // Copyright (c) 2011-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.
#include <qt/guiutil.h>
#include <qt/bitcoinaddressvalidator.h>
#include <qt/bitcoinunits.h>
#include <qt/qvalidatedlineedit... | [
"33023406+vitaliylyalin7000@users.noreply.github.com"
] | 33023406+vitaliylyalin7000@users.noreply.github.com |
7ddc2facc3e3feac1f3f5947ac61c4f618686495 | 882b1cac76b7def42dd36210b4e59754b0af29b3 | /projects/MotionUtil/source/HiddenMorphTargetsInterface.cpp | db92c7f605d441cb2154088e2d6558cd9df13a55 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | ft-lab/Shade3D_MotionUtil | 5c0ac7ca510e78d9613a7caf8687206d30f6e149 | c24b46b589eafb007cf0bb964a5f2d32502100a5 | refs/heads/master | 2020-03-28T11:58:19.752956 | 2019-06-09T07:51:12 | 2019-06-09T07:51:12 | 148,260,161 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,259 | cpp | /**
* Morph Targets アクセスInterface.
*/
#include "HiddenMorphTargetsInterface.h"
CHiddenMorphTargetsInterface::CHiddenMorphTargetsInterface (sxsdk::shade_interface& shade) : shade(shade)
{
}
CHiddenMorphTargetsInterface::~CHiddenMorphTargetsInterface ()
{
}
/**
* クラスバージョンを取得 (ver.0.0.0.4 - ).
*/
int CHiddenMorph... | [
"y_yutaka@fa2.so-net.ne.jp"
] | y_yutaka@fa2.so-net.ne.jp |
aa6fbcc1d426821af7748171dfb16d147cc48ea6 | 2329d8472d5b95ec5d4c95ae7dba1d46a5eda11f | /socketcan.cpp | d6133d94ff74c50c861899539dcb71b00aa82445 | [] | no_license | ttal01/TZDataCollection | 22b4546a5efabe818887e96b63db6dd8b61cb50e | a43c82cc5cb931d59d6bcfe43d07f32412bfe320 | refs/heads/master | 2021-08-16T13:41:49.619913 | 2017-11-20T00:21:48 | 2017-11-20T00:21:48 | 111,342,237 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,114 | cpp | #include <stdio.h>
#include <sys/ioctl.h>
#include <arpa/inet.h>
#include <net/if.h>
#include <linux/socket.h>
#include <linux/can.h>
#include <linux/can/error.h>
#include <linux/can/raw.h>
#include <fcntl.h>
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include <time.h>
... | [
"ttal01@163.com"
] | ttal01@163.com |
1089fed1a9a7899721e6407e64b2e71042d41c6e | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5686313294495744_0/C++/NedoL/main.cpp | 3cee300cfa3c5998d8fd59a51b7a87114a3b2603 | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 1,906 | cpp | #include <bits/stdc++.h>
using namespace std;
const int MX_SZ = 20;
inline bool get_bit(int mask, int pos)
{
return (mask >> pos) & 1;
}
void solve(int z)
{
cout << "Case #" << z << ": ";
int n;
cin >> n;
int cnt[2] = {1, 1};
map<string, int> mp[2];
int a[MX_SZ], b[MX_S... | [
"alexandra1.back@gmail.com"
] | alexandra1.back@gmail.com |
f1c7f11b74793885a1fc5423bb08288f6ff8797a | f16af0daae3d88df06fe45b57d762fe0ed0da6d6 | /INLib/inc/SFLib/commonServer/netClient/commonClient.h | fad446c5f3d330ff81ed6c1eace411804df1eff5 | [] | no_license | lop-dev/lop-lib | 1f15d48beca11dd7e4842b96780adecab186bea5 | ae22a29c82e31cbca53155fb0a1155569dfe2681 | refs/heads/master | 2023-06-23T09:45:43.317656 | 2021-07-25T02:11:19 | 2021-07-25T02:11:19 | 131,691,063 | 16 | 13 | null | null | null | null | GB18030 | C++ | false | false | 1,670 | h | //////////////////////////////////////////////////////////////////////
// created: 2011/11/01
// filename: SFLib/commonServer/netClient/commonClient.h
// author: League of Perfect
/// @brief
///
//////////////////////////////////////////////////////////////////////
#ifndef __SFLIB_COMMONSERVER_NETCLI... | [
"38876514+lop-dev@users.noreply.github.com"
] | 38876514+lop-dev@users.noreply.github.com |
53e89358abe4f605320667376f665d4fb0c4b75f | 42b10bc0cf499de9fd02edb201bb172e2d525e1b | /人工智能/实验3/src/bayesian_network.h | 878f75a08540178f71d49ece060cc6097d1a83c8 | [
"MIT"
] | permissive | cycleke/CSHomeworkInHIT | f51774a70036a0a8ee7430ff04cc8851068e43f6 | d84054c371a9ff719b4f5ad9f5e2e7f5df353142 | refs/heads/master | 2023-07-26T11:50:54.118839 | 2021-06-09T14:12:17 | 2021-06-09T14:12:17 | 315,250,258 | 10 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,671 | h | #include <cassert>
#include <iostream>
#include <istream>
#include <map>
#include <vector>
#include "cpt.h"
class BayesianNetwork {
public:
BayesianNetwork(std::istream &in) {
cpts.clear(), var2id.clear();
in >> n;
cpts.resize(n);
for (int i = 0; i < n; ++i) {
std::string var;
in >> var... | [
"cycleke@gmail.com"
] | cycleke@gmail.com |
4430755527c231220c95f09143ad860ef2f74ca1 | 27e1a0831fa730f710c7f48125092b8bfa98c8c6 | /tests/datasets/system_tests/alexnet/AlexNetConvolutionLayerDataset.h | 034e1bbf890e5012de3b0972e039518de5f4dd79 | [
"MIT"
] | permissive | adityagupta1089/ComputeLibrary | ff9c57f4f69b02d3789f72b5223bc9c1f28ad777 | 39945fde9bbb805e76c55baf3ca536a376fb00f4 | refs/heads/master | 2021-06-22T06:54:52.030052 | 2021-01-03T14:04:39 | 2021-01-03T14:04:39 | 158,011,217 | 2 | 1 | MIT | 2018-11-17T18:07:24 | 2018-11-17T18:07:24 | null | UTF-8 | C++ | false | false | 3,931 | h | /*
* Copyright (c) 2017 ARM Limited.
*
* SPDX-License-Identifier: MIT
*
* 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 ... | [
"anthony.barbier@arm.com"
] | anthony.barbier@arm.com |
b369b771540e2718fc81e0e2023656b80426751c | 7bfd48acb9f019d41502496fc44f502dc3b85814 | /src/Subsystems/ExampleSubsystem.h | 0d1f85143821ae3024106b48b59b8700e11d94cb | [] | no_license | thedropbears/potatobot | 6850c49152e797af2e25ca123bbf40e42e26c66a | a6ea9c98f182a51272ab28b54ac5852063deeb5d | refs/heads/master | 2021-01-10T02:31:02.171087 | 2015-11-02T04:17:51 | 2015-11-02T04:19:08 | 44,590,490 | 0 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 329 | h | #ifndef EXAMPLE_SUBSYSTEM_H
#define EXAMPLE_SUBSYSTEM_H
#include "WPILib.h"
class ExampleSubsystem: public Subsystem
{
private:
// It's desirable that everything possible under private except
// for methods that implement subsystem capabilities
public:
ExampleSubsystem();
void InitDefaultCommand();
};... | [
"j.ward@acfr.usyd.edu.au"
] | j.ward@acfr.usyd.edu.au |
1d38c0946328b4d7ae102fb61f2ed96dd0f91b29 | 35be1ecc3d56a8bb2dc38d3e0dbe7b3d3b7998de | /LightPainter/Source/LightPainter/PaintingGameMode.h | 351298b038950a840334f1bc646f9752b78845df | [
"MIT"
] | permissive | UnrealVR/2_Light_Painter | ffae32b67e81dcdb040c107999162dfdd0a76443 | 9877d94a5be3f72e3e9b95465146a7bf60e3c3aa | refs/heads/master | 2022-05-05T03:54:46.017543 | 2022-04-10T11:23:35 | 2022-04-10T11:24:12 | 138,015,809 | 9 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 578 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/GameModeBase.h"
#include "PaintingGameMode.generated.h"
/**
*
*/
UCLASS()
class LIGHTPAINTER_API APaintingGameMode : public AGameModeBase
{
GENERATED_BODY()
public:
void... | [
"sam@pattuzzi.it"
] | sam@pattuzzi.it |
4d607063fe4acfee8a60fcbd44356675ded68270 | cdb13923536fe612ebb3d2e93b9d1de74015ac79 | /Problems/BZOJ/3110.cpp | 2dc8acb15d74e7bf84b99a0958ff606c3bb7e57e | [] | no_license | eXceediDeaL/OI | 0acd2beab148d7d7e9548b4f7115e5585ef2153d | 7c1928239136633a73925e914de196bb46c0265d | refs/heads/master | 2021-06-05T19:27:28.668815 | 2016-07-11T01:47:21 | 2016-07-11T01:47:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,350 | cpp | /*
[Zjoi2013]K大数查询
分析:注意题目中的注释,不要理解错
具体做法:树套树【还不会】,整体二分【不会那么复杂的编法】
暴力!由于是第K大,一开始数列是空的,所以,将所有插入操作从大到小排序,第二关键字为执行时间
然后按执行顺序扫一遍所有操作,对于插入标记,跳过
对于查询:按上述排序顺序扫一遍插入操作,统计数的个数,当大于当前查询的个数时,跳出,输出答案
*/
#include<iostream>
#include<algorithm>
#include<cstring>
#include<cstdio>
#include<vector>
#include<bitset>
using name... | [
"finddream126@126.com"
] | finddream126@126.com |
cd5fb60f18e9f8981e597fdb48aaac160e730b20 | 3dc86dd9a7a4159406724124cb280d6f5e5bda29 | /StormTech/StormSockets/StormHttpResponseWriter.cpp | 35bd540373ccf233b924472fdb8d383b32f64409 | [] | no_license | hamfirst/StormBrewerEngine | 3e051fb6806277c8273031f0e9ab241659fafba4 | 491ff8e42022e01c43d72b6d7b4f76db439d8745 | refs/heads/master | 2023-03-17T02:23:34.827037 | 2023-03-10T17:24:23 | 2023-03-10T17:24:23 | 53,809,267 | 0 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 1,885 | cpp |
#include "StormHttpResponseWriter.h"
#include <stdio.h>
#include <string.h>
namespace StormSockets
{
static const uint16_t line_ending = 0x0A0D;
static const char * http_ver = "HTTP/1.1 ";
static const char * host_header = "Host: ";
static const char * content_len = "Content-Length: ";
StormHttpResponseW... | [
"nick.weihs@gmail.com"
] | nick.weihs@gmail.com |
e1e246062730fb2fefd0c220eea77b6ac2762bda | 0a187924381c788b317e13b434601f671609b6f2 | /DnDProgram/DnDServer/Server_0.1.4/DnDProgram.h | cc96ff2426fbfba236daedb96b2f3841762995bd | [] | no_license | ConnerTenn/Personal | d331b15d9b46449700a063f6d147abd4d291e7ec | 0cb1c01eb5f829f79b39629769b2ba952f514b16 | refs/heads/master | 2021-05-05T05:58:23.440961 | 2018-05-01T20:59:51 | 2018-05-01T20:59:51 | 118,723,233 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,865 | h |
namespace DnD
{
class DnDProgram;
}
#pragma once
#include "NetworkManager.h"
#include <WinLib.h>
#include <fstream>
#include "World.h"
#include "CommandInterpreter.h"
#include "FileReader.h"
#include "Globals.h"
namespace DnD
{
class DnDProgram
{
public:
struct GraphicWindow
{
... | [
"connertenn@gmail.com"
] | connertenn@gmail.com |
fd50f5f127ef1c1077ac3ccaa951df184f8dd179 | 272474d152571d62b60135db59248e0cd76489a8 | /problems/113_boucyNumberEx.cpp | 9212269851d220a1affdd2343ac2dca091ded44c | [] | no_license | HeeMyung/ProjectEulerSolving | e4216c15a4cb9f4f33f6310aa2d939c7ead89aeb | a74374d458ff90963553002962f42277da3645b6 | refs/heads/master | 2021-01-19T22:05:47.189019 | 2020-12-28T02:10:11 | 2020-12-28T02:10:11 | 82,564,035 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,201 | cpp | #include "common.h"
#include "bigint.h"
#define MIN(a,b) ( (a) > (b) ? (b) : (a) )
#define ABS(a) ( (a) > 0 ? (a) : -(a) )
#define NORMAL(a) ((a) / ABS(a))
bool isBouncyNumber(int n)
{
int direction = 0;
while(n >= 10)
{
int next = ((n%10)-((n/10)%10));
if( next * direction < 0 )
return true;
else if( nex... | [
"gmlaud0209@gmail.com"
] | gmlaud0209@gmail.com |
cb4c67cf6ca6ab81f617d72b37c5b06c76023f99 | b958286bb016a56f5ddff5514f38fbd29f3e9072 | /cc_plugin/message/MgaIniEop.h | 5d8780cfafa74bd181b23a5d4a026ccf0f616ec4 | [] | no_license | yxw027/cc.ublox.generated | abdda838945777a498f433b0d9624a567ab1ea80 | a8bf468281d2d06e32d3e029c40bc6d38e4a34de | refs/heads/master | 2021-01-14T23:03:20.722801 | 2020-02-20T06:24:46 | 2020-02-20T06:24:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,328 | h | // Generated by commsdsl2comms v3.3.2
#pragma once
#include <memory>
#include <QtCore/QVariantList>
#include "cc_plugin/Message.h"
namespace ublox
{
namespace cc_plugin
{
namespace message
{
class MgaIniEopImpl;
class MgaIniEop : public ublox::cc_plugin::Message
{
public:
MgaIniEop();
MgaIniEop(const MgaI... | [
"arobenko@gmail.com"
] | arobenko@gmail.com |
e0cb67a590c25063a8cd563847039a396792ab43 | ba725964868701a8ae0dc99165da8d9ada70baea | /SourceCode/Runtime/GameFramework/GameCharCodeMap.cpp | c98ebe0bae631a26a7f742218798240233bd5989 | [] | no_license | DennisBl/Thesis-HangMan | e03c0392b3655cce62458f9abe6c97219b32a290 | 3fbc201d8331713fbe6431d918079bf48702c26f | refs/heads/main | 2023-03-11T18:55:25.072595 | 2021-02-28T22:47:55 | 2021-02-28T22:47:55 | 343,231,213 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,407 | cpp | #include "GameCharCodeMap.h"
const TArray<FCharCodeMap> GreekCharCodeMap =
{
{ 'A', 'A' },
{ 'B', 'B' },
{ 'C', 'Y' },
{ 'D', 'D' },
{ 'E', 'E' },
{ 'F', 'F' },
{ 'G', 'G' },
{ 'H', 'H' },
{ 'I', 'I' },
{ 'J', 'X' },
{ 'K', 'K' },
{ 'L', 'L' },
{ 'M', 'M' },
{ 'N... | [
"dennisworksglobal@gmail.com"
] | dennisworksglobal@gmail.com |
d5b0dbc0f359f8f5df66feb3c9aee9e90b15bd68 | 46759452cf55170753e5601694be9d708dc2ea4c | /Agent_based_trading_model/hw5_2/agents.cpp | 0c029f0e87aa0405532fb7f3a423c5daddf73fc7 | [] | no_license | jonkaplan73/toolkit | 27d9d08239d5a0517d2d11ae0a12ec790be9facf | 8ac5b9d35163cb43ba939ba0135d04aebaa926c4 | refs/heads/master | 2020-05-22T01:01:44.195836 | 2019-05-11T21:47:25 | 2019-05-11T21:47:25 | 186,184,002 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,141 | cpp | //
// agents.cpp
// hw5_2
//
// Created by Jonathan Kaplan on 3/6/19.
// Copyright © 2019 Jonathan Kaplan. All rights reserved.
//
#include "agents.hpp"
#include <iostream>
#include <cmath>
#include <chrono>
#include <random>
#include <ctime>
#include <cmath>
using namespace std;
Agent::Agent(double tradeProb,... | [
"noreply@github.com"
] | jonkaplan73.noreply@github.com |
8435d8e6538b6cce0b5cc889567c285b341f8294 | 7b24b9fa7000e07b038a537eb243aaaeb75c070b | /SwdAnalyzer.h | 426969433f52be62922eb447d9363d6a58c6dac0 | [] | no_license | swetland/SwdAnalyzer | e1595341478946e7a30fd439e846811d3c1c1baa | 2342afee439e6e99faa2435ab3be66c2377e53aa | refs/heads/master | 2021-01-10T19:58:47.608444 | 2015-07-18T22:57:53 | 2015-07-18T22:57:53 | 39,303,438 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,512 | h | /* Copyright 2015 Brian Swetland <swetland@frotz.net>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | [
"swetland@frotz.net"
] | swetland@frotz.net |
5bb146803e9992cfb24fa8cc559e8bbb5d43e7d1 | ef142ad790366ca1f65da6a0d82583ce8757dd1c | /blitzd/packets/bnet/BNetAuthCheck.h | c42b2ece8e1d4c431a2b05898f1cf7fee393a311 | [
"MIT"
] | permissive | shellohunter/blitzd | 1242a8794346d67099769c9993ff4ba92dac2792 | 774a543b619d3332dd40e9cde32aa54948145cb4 | refs/heads/master | 2021-05-26T14:43:19.775032 | 2012-12-26T06:01:03 | 2012-12-26T06:01:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 269 | h | #ifndef _BNETAUTHCHECK_H_
#define _BNETAUTHCHECK_H_
#include "PacketBNet.h"
namespace Packets
{
namespace BNet
{
DECLARE_PACKET_BNET_BEGIN(BNetAuthCheck, 0x51FF)
uint code;
std::string errorMsg;
DECLARE_PACKET_BNET_END()
}
}
#endif // _BNETAUTHCHECK_H_
| [
"soarchin@gmail.com"
] | soarchin@gmail.com |
e4eadaf7a3b5040232423b175851640bbf3af278 | 3248be0ffa92a12e4c36bfca6b6bf2d7e48fd310 | /Neural/Neuron.cpp | 09c580804355deb8a748aa232995eac14a2fedf2 | [] | no_license | AsderYork/Neural | 5fe83516b9ba237c947e96b61b8390c59922b382 | 7a33306c15fd93879ebd94ac3ce6716e532a4e68 | refs/heads/master | 2021-06-08T13:46:00.303996 | 2016-12-04T14:20:02 | 2016-12-04T14:20:02 | 75,541,986 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 745 | cpp | #include "stdafx.h"
#include "Neuron.h"
Mismatch_exception::Mismatch_exception(std::string _Str) : Str(_Str)
{
}
const char * Mismatch_exception::What()
{
return Str.c_str();
}
Neuron::Neuron(int _Dim, std::vector<TYPE> _W, std::function<TYPE(std::vector<TYPE>&, std::vector<TYPE>&)> _SF, std::function<TYPE(TYPE)> _... | [
"fake14mail@gmail.com"
] | fake14mail@gmail.com |
58945187977f84fdd84806f6de96eb80c5f01eec | ceb5b6e3c7c2f379d1981c267371607daca0ebfe | /src/app/PreferencesDlg.cpp | 576583d42f534b99925b3fba3443dbae3823eeff | [] | no_license | qtnc/sample | d5d18c0cd42a4b21afc50be274c8e56dac09c201 | 2a3e3826f5c6f5ee57dc741d19a2802c9cb80427 | refs/heads/master | 2023-07-20T08:13:04.888233 | 2023-07-08T13:10:30 | 2023-07-08T13:10:30 | 184,531,858 | 2 | 2 | null | 2020-02-03T20:36:57 | 2019-05-02T06:27:54 | C | UTF-8 | C++ | false | false | 22,583 | cpp | #include "App.hpp"
#include "PreferencesDlg.hpp"
#include "MainWindow.hpp"
#include <wx/listctrl.h>
#include <wx/listbook.h>
#include <wx/spinctrl.h>
#include <wx/gbsizer.h>
#include "../common/stringUtils.hpp"
#include "../common/UniversalSpeech.h"
#include "../common/bass.h"
#include "../common/bassmidi.h"
#include<f... | [
"webmaster@quentinc.net"
] | webmaster@quentinc.net |
095915451a53c7d79eb9ba76e020c3c3e3776513 | acc2f5336d768a7d86dbd2eec441283cfd11d52d | /src/server/gameserver/GamePlayer.cpp | 2601201a18974c8ab525a960f29204657da6fc48 | [] | no_license | stevexk/server | 86df9e8c2448ad97db9c3ab86820beec507ef092 | 4ddb6e7cfa510bb13ccd87f56db008aa1be1baad | refs/heads/master | 2020-01-23T22:00:57.359964 | 2015-09-18T14:58:27 | 2015-09-18T14:58:27 | null | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 49,963 | cpp | //////////////////////////////////////////////////////////////////////////////
// Filename : GamePlyaer.cpp
// Written By : reiot@ewestsoft.com
// Description :
//////////////////////////////////////////////////////////////////////////////
#include "GamePlayer.h"
#include "Assert1.h"
#include "Creature.h"
#includ... | [
"tiancaiamao@gmail.com"
] | tiancaiamao@gmail.com |
8c28f0c33954365b2f6bd272b515bb04cee2f10a | 97daab0d8dab2d53b5f01885b08ee9c99c0b7008 | /StateKnownPolicy.h | 2f983bc6a050c34cf8998960272eeefa247e62c9 | [] | no_license | ryuichiueda/RobotSimulator | 29a7392238bb003322ee7a29e6d50f0ed256358a | ad3ae5c286193a16f8c4c255cb7d154426458aee | refs/heads/master | 2020-05-03T12:58:48.652401 | 2014-03-04T08:29:36 | 2014-03-04T08:29:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 290 | h | #ifndef STATE_KNOWN_POLICY_H__
#define STATE_KNOWN_POLICY_H__
#include "Policy.h"
#include "Robot.h"
using namespace std;
class Robot;
class StateKnownPolicy : public Policy {
public:
StateKnownPolicy();
virtual ~StateKnownPolicy();
private:
virtual int decision(Robot *r);
};
#endif
| [
"ryuichiueda@gmail.com"
] | ryuichiueda@gmail.com |
2444f193eb5d246246ff6ab69129d7ca000a4a02 | 9ba1e9f794937c08f45682dec81058074acb2141 | /Src/Mesh.cpp | a15b229f55041d3f64a595687a28a4f7a06fcd1f | [] | no_license | gsk39/OpenGL-Tutorial | 2df5738428582f98b0ac3194b3f6841411defc3d | 4711af0c3e3a823ae94e1af8991023c7c2efc950 | refs/heads/master | 2021-01-23T09:13:43.155590 | 2017-09-06T05:50:07 | 2017-09-06T05:50:07 | 102,569,825 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 15,578 | cpp | /**
* @file Mesh.cpp
*/
#include "Mesh.h"
#include <fbxsdk.h>
#include <iostream>
/**
* モデルデータ管理のための名前空間.
*/
namespace Mesh {
/// 頂点データ型.
struct Vertex
{
glm::vec3 position; ///< 座標
glm::vec4 color; ///< 色
glm::vec2 texCoord; ///< テクスチャ座標.
glm::vec3 normal; ///< 法線
};
/**
* Vertex Buffer Object を作成する
... | [
"gsk.voice@gmail.com"
] | gsk.voice@gmail.com |
c921f83894a5b0872e7bba262541b300ea7b84d2 | 7771344d1a732843642af0f67ebcb2fa01c75bda | /src/qt/optionsdialog.cpp | 8853d71e886f8ce7a2b30f173c3612173a831dd7 | [
"MIT"
] | permissive | cryptoconnectplus/cryptoconnectplus | e6da84fb9ca6103a5c95279fe8dff13e158bb145 | 392c7c489ec6de9fc0c9cfa71044a27503ad0c2f | refs/heads/master | 2020-06-03T11:07:00.894693 | 2019-06-12T09:53:50 | 2019-06-12T09:53:50 | 191,544,355 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,449 | cpp | // Copyright (c) 2011-2015 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#if defined(HAVE_CONFIG_H)
#include "config/cryptoconnectplus-config.h"
#endif
#include "optionsdialog.h"
#include "ui_optio... | [
"devrajthapa11@yahoo.in"
] | devrajthapa11@yahoo.in |
af93dbdf427f3c18ad78e937c697cf1a3b6d2642 | e8a6ca3c1c6a473e2da391b28d78a212ab3046ce | /test_cpp/xxlib/xx_typehelpers.h | 5d972ad83d904aa88f5ad7eb3a279ec6a1b45cb3 | [] | no_license | denghe/xxlib_codegens | 2fbdb3ca3136398d74847f5bb4af4c4b1457ee90 | 01cfedec44fbefafc660ca0585b25ee5a3ed000d | refs/heads/master | 2020-12-15T22:31:33.172906 | 2020-09-18T10:10:25 | 2020-09-18T10:10:25 | 235,274,650 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,357 | h | #pragma once
#include <type_traits>
#include <cstddef>
#include <optional>
#include <vector>
#include <string>
#include <memory>
namespace xx {
struct Data;
/************************************************************************************/
// std::is_pod 的自定义扩展, 用于标识一个类可以在容器中被r memcpy | memmove
template<... | [
"denghe@hotmail.com"
] | denghe@hotmail.com |
3f87074635643d10c49b6c05710faef947ebcd88 | 02c9046641c6b26edaefcf60533a20a536f657ea | /leetcode/703_数据流中的第K大元素.cpp | 7d65194b5dbda58330fc98c1d490cce6284ade55 | [] | no_license | Sumelt/Daily-Coding | ed6512c0a50c6f1ca13a5b5b05cdb2c1952bc1ee | 532b319dcec7627f94b61bfad175287612cea88b | refs/heads/master | 2021-07-13T01:19:52.358604 | 2020-05-31T09:42:02 | 2020-05-31T09:42:02 | 148,486,920 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,058 | cpp | /*----------------------------------------------------------------
* @Author: Su
* @Description:
* @Creath Date:
----------------------------------------------------------------*/
#include <iostream>
#include <vector>
#include <cassert>
#include <algorithm>
#include <queue>
using namespace std;
class KthLargest... | [
"40728261+Sumelt@users.noreply.github.com"
] | 40728261+Sumelt@users.noreply.github.com |
6786669836aecd25b0033d2080dc5dd69a4c4915 | 83be2bf5de4a8a214c07ffeb611d4a9891441bf7 | /aws-cpp-sdk-ec2/source/model/ModifyVolumeAttributeRequest.cpp | 377b1cce7f5e771e2fdffe5d7c14aeddd0e08e72 | [
"Apache-2.0",
"JSON",
"MIT"
] | permissive | rjeans/aws-sdk-cpp | e1bb6385a3067adfc19267db11f17baa31731fe4 | f565f891636263c08ceaf2f51efbef8f7a8a6db9 | refs/heads/master | 2021-01-12T02:32:35.677510 | 2017-01-04T22:58:01 | 2017-01-04T22:58:01 | 78,058,694 | 0 | 0 | null | 2017-01-04T22:37:38 | 2017-01-04T22:37:37 | null | UTF-8 | C++ | false | false | 1,446 | cpp | /*
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | [
"henso@amazon.com"
] | henso@amazon.com |
342e9103ec4d40d4ac50b4dc73a31fd18a19cabf | 64589428b06258be0b9b82a7e7c92c0b3f0778f1 | /Codeforces/Rounds/976/A.cpp | 1f76102459711021abccef3bef8c66f54373569e | [] | no_license | splucs/Competitive-Programming | b6def1ec6be720c6fbf93f2618e926e1062fdc48 | 4f41a7fbc71aa6ab8cb943d80e82d9149de7c7d6 | refs/heads/master | 2023-08-31T05:10:09.573198 | 2023-08-31T00:40:32 | 2023-08-31T00:40:32 | 85,239,827 | 141 | 27 | null | 2023-01-08T20:31:49 | 2017-03-16T20:42:37 | C++ | UTF-8 | C++ | false | false | 629 | cpp | #include <bits/stdc++.h>
using namespace std;
#define MAXN 1000009
#define MAXM ((1e+18) + 100)
#define MOD 1000000007
#define INF 1000000009
#define EPS 1e-9
#define FOR(x,n) for(int x=0; (x)<(n); (x)++)
#define FOR1(x,n) for(int x=1; (x)<=(n); (x)++)
#define pb push_back
#define ub upper_bound
#define lb lower_bound
... | [
"lucas.fra.oli18@gmail.com"
] | lucas.fra.oli18@gmail.com |
daeb692bf0636828a03211d0e363dc5aee02d39c | 07f4acd4935f7f24623904ee716f85a6ffba11d4 | /krpmview/krpmview_factory.cpp | 0011df27b60ce0f7e5dc6363cfac92ae8a64da63 | [] | no_license | wolfi323/kdebase-opensuse | a1cea79d0af55ab9225ca4db87d2611cc441b79c | 67615fc6324f453bed25fca4e66b9f8bd82cafe2 | refs/heads/master | 2021-01-21T09:20:38.522161 | 2015-05-20T13:36:48 | 2015-05-20T13:36:48 | 35,949,787 | 0 | 0 | null | 2015-05-20T13:32:51 | 2015-05-20T13:32:50 | null | UTF-8 | C++ | false | false | 2,079 | cpp | #include <kparts/factory.h>
#include <kparts/part.h>
#include <kgenericfactory.h>
#include <kaboutdata.h>
#include <kdebug.h>
#include "krpmview.h"
#include "krpmview_factory.h"
KRPMViewFactory::KRPMViewFactory()
{
if ( s_self )
kWarning() << "KRPMViewFactory instantiated more than once!" << endl;
s_s... | [
"stbinner@suse.de"
] | stbinner@suse.de |
76eb458578ff01909c2a34da742c4d28d6f3d0bb | 1acb7c3813cacd378956d031bafa6d85caf65412 | /source/sys/mempool.h | 1e77dab4b33bc6020037e5340b9092946a188505 | [] | no_license | dmdware/sped | 238f05e79410d5f5d086c3b9795de59a29ed7a89 | 70c03c6effcb4893004b352ecd19d2f971634aa6 | refs/heads/master | 2021-01-12T06:05:50.691915 | 2017-03-04T09:09:30 | 2017-03-04T09:09:30 | 77,298,291 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,012 | h | #ifndef MEMPOOL_H
#define MEMPOOL_H
// http://www.codeproject.com/Articles/27487/Why-to-use-memory-pool-and-how-to-implement-it
// http://www.ibm.com/developerworks/aix/tutorials/au-memorymanager/au-memorymanager-pdf.pdf
class MemPool
{
private:
struct MemUnit //The type of the node of linkedlist.
{
struct... | [
"polyfrag@hotmail.com"
] | polyfrag@hotmail.com |
b962963a5fbc26da16ca7337c9e4e75326939751 | b76ed8150162c87a4d12de3c1cec6b38a6725598 | /build/lib/Target/MSP430/MSP430GenSubtargetInfo.inc | ef1e5a812395d98748a42aeb99ee5d457279b302 | [] | no_license | silentghoul-spec/Fuzzingext4 | 1bfedcd279516cbd49c3eceb3263ea77fbd7d08d | 4de4f5014d098de503750ff0051697a1e16df26f | refs/heads/master | 2020-09-26T23:59:57.116749 | 2019-12-06T16:55:20 | 2019-12-06T16:55:20 | 226,364,109 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,148 | inc | /*===- TableGen'erated file -------------------------------------*- C++ -*-===*\
|* *|
|* Subtarget Enumeration Source Fragment *|
|* ... | [
"tejasduseja@iisc.ac.in"
] | tejasduseja@iisc.ac.in |
a626566714d4bd75bd4176471319c55726e6b8b1 | 007867b4937f52de7746f79124ef104b2d183f5a | /计算几何/最大周长三角形/HDU 3548 ( Enumerate the Triangles ) .cpp | f0e348d4347869e27fb3eea266565b51e8c9c552 | [] | no_license | WhereIsHeroFrom/Algorithm | 84dcee3174dbcd9e996442f07627a96c46f6c74a | 6bf620d6219770db60b40d151eecd686955ab723 | refs/heads/master | 2023-08-05T14:05:48.385791 | 2021-10-06T00:21:39 | 2021-10-06T00:21:39 | 306,805,686 | 16 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 1,472 | cpp | #include <iostream>
#include <cmath>
#include <algorithm>
using namespace std;
#define eps 1e-6
#define maxn 1010
#define inf 10000000
struct point {
int x, y;
}pt[maxn];
bool cmp(point a, point b) {
if (a.x == b.x)
return a.y < b.y;
return a.x < b.x;
}
double dis[maxn][maxn];
int n;
double sqr(double x) {
r... | [
"menjitianya2007@163.com"
] | menjitianya2007@163.com |
9a3806c9e46e3ee931de936836976598f86dbc2a | deb4260cfd57440c637b6de4cd3a9e5d2d2d74c0 | /src/maths/vec3.h | efef887c8d949c4c8511500df5bf3782f41fc033 | [] | no_license | tokobaku/kekule_engine | ffb0c34e1f4152643bd66d498fb2c97456b1cffc | fd16294633ea03f740414f91da7fa156d809f4e3 | refs/heads/master | 2020-04-02T04:10:57.454094 | 2019-05-14T14:35:56 | 2019-05-14T14:35:56 | 148,146,739 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,784 | h | #pragma once
#include <math.h>
namespace kekule {
template <typename T>
struct vector2;
template <typename T>
struct vector4;
template <typename T>
struct vector3 {
union {
struct { T x, y, z; };
struct { T r, g, b; };
struct { T s, t, u; };
};
vector3<T> ();
vector3<T> (const T& scalar);
... | [
"33800047+tokobaku@users.noreply.github.com"
] | 33800047+tokobaku@users.noreply.github.com |
e1a4b4d141d7fda7c7819c52b1dd52022f3a3efe | e1e23f80ce9859f083eb9d7ba01fac7e05cc4cef | /CObjeto.h | 4d253f6621ad64b22879b24602260f53f7214e81 | [] | no_license | josuecarrillo505/ProyectoPOOI-2 | 1384ee1fe9f04f93389a8b76def1b40cf75f1e46 | 3b1aed0ae2da472c41a4f35c11a1a5b462b880ad | refs/heads/master | 2020-09-19T21:26:46.362571 | 2019-11-26T23:07:25 | 2019-11-26T23:07:25 | 224,302,425 | 0 | 0 | null | 2019-11-26T23:08:35 | 2019-11-26T23:08:35 | null | UTF-8 | C++ | false | false | 236 | h | #ifndef UNTITLED11_OBJETO_H
#define UNTITLED11_OBJETO_H
class objeto {
private:
palabra nombre;
int posicion*;
palabra color;
public:
objeto(){};
void moverse();
void ubicarse_en_arena();
};
#endif //UNTITLED11_OBJETO_H
| [
"noreply@github.com"
] | josuecarrillo505.noreply@github.com |
00a839832f290735af4992356edb7deca23c42f7 | 6dd5bdd55338b5dfb56f9093ddacb877cd38fbff | /ConstexprMandelbrot/Mandelbrot.h | 1eaef66d438747dab391bd5e232f03c593534c01 | [
"MIT"
] | permissive | BigETI/ConstexprMandelbrot | 4e42c0625d267ce3cadf0357dc7cf049063972b7 | cef009b031ebee17c927eae0e01abb279d0ee6f8 | refs/heads/master | 2020-04-04T17:30:18.214501 | 2018-11-10T12:57:36 | 2018-11-10T12:57:36 | 156,123,279 | 8 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,637 | h | #ifndef __CONSTEXPR_MANDELBROT_MANDELBROT_H__
# define __CONSTEXPR_MANDELBROT_MANDELBROT_H__
# include <array>
# include <cstdint>
# include <cmath>
# include "Complex.h"
# include "Color.h"
/// <summary>
/// constexpr mandelbrot namespace
/// </summary>
namespace ConstexprMandelbrot
{
/// <summary>
/// Real number... | [
"bigeti.ethem@gmail.com"
] | bigeti.ethem@gmail.com |
0091a02ddfc1ac6207b6e061c5182a0715645472 | f7730fc51afe47efb5282a78d1129f88a854cbee | /Find_Three_Consecutive_Integers_That_Sum_to_a_Given_Number.cpp | 8afaf871b8a81c1bf4e729eb54c4b90e4abde8f4 | [] | no_license | HaoYang0123/LeetCode | 38ce5153984e92c71a89745e95b4cb0f0054b1e0 | 06a6f7df7078bcbb8b8599075a2122cc891526a2 | refs/heads/master | 2022-08-28T21:01:17.190403 | 2022-08-04T05:52:17 | 2022-08-04T05:52:17 | 97,311,685 | 4 | 0 | null | 2018-09-25T14:00:06 | 2017-07-15T11:30:26 | C++ | UTF-8 | C++ | false | false | 292 | cpp | // Leetcod 2177
class Solution {
public:
vector<long long> sumOfThree(long long num) {
if(num % 3 == 0) {
long long one = num / 3;
vector<long long> res = {one-1, one, one+1};
return res;
}
return vector<long long>();
}
};
| [
"noreply@github.com"
] | HaoYang0123.noreply@github.com |
dde5701f0bd8d54d562857bcef9f38934ea53779 | b9fa55c93ed47f8952eae8ced915e53ffcc6b75b | /disjoint_set/1061. Lexicographically Smallest Equivalent String.cpp | 0c78b155c48920ac3803f00cc79a3dc59d7a3c03 | [] | no_license | Prakash-sa/Competitive-Programming | 954fba64afcc44ed9abe3446084f4da598afc1c9 | 9de709347bd6cc5cbd2763ed806b02bd46ccf992 | refs/heads/master | 2023-07-06T18:24:44.888790 | 2023-06-25T21:20:33 | 2023-06-25T21:20:33 | 204,765,539 | 2 | 2 | null | 2022-10-31T00:46:44 | 2019-08-27T18:29:38 | C++ | UTF-8 | C++ | false | false | 2,464 | cpp | /*
https://leetcode.com/problems/lexicographically-smallest-equivalent-string/description/
You are given two strings of the same length s1 and s2 and a string baseStr.
We say s1[i] and s2[i] are equivalent characters.
For example, if s1 = "abc" and s2 = "cde", then we have 'a' == 'c', 'b' == 'd', and 'c' == 'e'.
Equiv... | [
"sainiprakash525@gmail.com"
] | sainiprakash525@gmail.com |
a8b0b9775753e034ee55a522b6cc2692587b47af | 3f90e83ac2b8ba8eb14f1af08796a106c7009f09 | /RomanTranslator/src/intToRoman.cpp | 166b422070a0539f7f80d5175f7ed112b74c318c | [] | no_license | melalonso/romanNumbers | 3bf3b079ed71e0d2394108e6a16eb88d1bac5339 | 9278662e7ff698c60f1a34da9ccda77eca384fef | refs/heads/master | 2021-01-17T22:12:31.272851 | 2015-03-23T21:53:36 | 2015-03-23T21:53:36 | 32,754,540 | 0 | 0 | null | 2015-03-23T19:38:29 | 2015-03-23T19:38:28 | null | UTF-8 | C++ | false | false | 2,148 | cpp | //============================================================================
// Name : intToRoman.cpp
// Author : melalonso
// Version :
// Copyright : BADSA Corp. All rights reserved.
// Description : Methods for converting integer value to its Roman form.
//========================================... | [
"melvin.aep@hotmail.com"
] | melvin.aep@hotmail.com |
9ba742867003e5189ac205c9c695879fe5103457 | f2b70f0f8d6f61899eb70b9f2626f1eb44f68cc7 | /wifo/phapi/test/vs2005_gui/PhAPITest.cpp | bc9ad8abceacc5e9a01b819d4e4e8a592085462d | [] | no_license | vikas100/VoxOx | cc36efcbb9a82da03c05ea76093426aafba3bd8c | d4fae14f3f5a4de29abad3b79f4903db01daa913 | refs/heads/master | 2020-05-18T06:57:08.968725 | 2011-05-14T01:56:29 | 2011-05-14T01:56:29 | null | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 8,691 | cpp | // PhAPITest.cpp : définit le point d'entrée pour l'application.
//
#include "stdafx.h"
#include "PhAPITest.h"
#include <phapi.h>
#include <owpl_plugin.h>
#define MAX_LOADSTRING 100
phCallbacks_t myPhCb;
OWPL_LINE gVline;
OWPL_CALL gCall;
// Variables globales :
HINSTANCE hInst; // instance ... | [
"info@drollette.com"
] | info@drollette.com |
01b4034cd47f81b2a90e3b04c043d2bf84c7a607 | 85544f5278b8b3c866b49bfd64be09b6b1357200 | /progressdialog.h | c873045f433289655552cd2d2d09aa4b29b154ce | [] | no_license | Inexorably/gwentSim | 0877e061e08228a401faaa0316bf508452f886c0 | dbded98c444a3372ddec720018ad1b562b72ae1c | refs/heads/master | 2020-09-05T13:52:44.407108 | 2019-02-11T06:49:01 | 2019-02-11T06:49:01 | 94,415,407 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 768 | h | #ifndef PROGRESSDIALOG_H
#define PROGRESSDIALOG_H
#include <QDialog>
#include <vector>
#include "gwentcard.h"
#include "gwentcardcombo.h"
#include "simthread.h"
#include "gwentscenario.h"
//Note: This class will run simulations based on gwentcalc.set and passed decks / combos upon initalization in a wor... | [
"noreply@github.com"
] | Inexorably.noreply@github.com |
77e5acc0f16c53524ba28201bfb1af34aa40645d | 64087f2f2481748e3b85e96e5aa8ae90c2a1fd85 | /Chapter-10/tolongtolong/D.cpp | 9f62337800de0ef6825d2defac6bfdcf21190e1a | [] | no_license | ITDel-Programming/TLX-PD | 022f3ce3e2c8c825de8f64a0b0ab9ed45a1ea928 | 12e50d2a8e311c7969f23d9afb80a15b529500e0 | refs/heads/master | 2022-12-08T18:56:54.399317 | 2020-05-07T07:30:49 | 2020-05-07T07:30:49 | 258,191,887 | 0 | 0 | null | 2020-09-08T08:22:22 | 2020-04-23T12:15:07 | C++ | UTF-8 | C++ | false | false | 386 | cpp | #include <cstdio>
using namespace std;
int main() {
int n;
scanf("%d",&n);
int p = 2, first=1,m=n;
while(n!=1){
int count=0;
while(n%p==0){
count++;
n/=p;
}
if(count>0){
if(first) first=0;
else printf(" x ");
if(count>1)printf("%d^%d",p,count);
else printf("%... | [
"davidtompullearn@gmail.com"
] | davidtompullearn@gmail.com |
853dee8f9373080fd0c61c9c1676f9f1ac19eaf8 | 191b8c5aa15ee30d7663496f8587e649a52af06f | /spaceInvaders/NYUCodebase/main.cpp | 868b0118734b19b8cdcd17e15b5f9c918637eb50 | [] | no_license | LeviMollison/GameProgramming | 675c214d3a98931ccc60ecdd10827f4ac5e84652 | c9b861db2d2b14d738e5ea7e6b8000fe76fbbb8c | refs/heads/master | 2016-08-12T18:44:26.177791 | 2016-05-12T22:01:40 | 2016-05-12T22:01:40 | 50,463,698 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 25,998 | cpp | #ifdef _WINDOWS
#include <GL/glew.h>
#endif
#include <SDL.h>
#include <SDL_opengl.h>
#include <SDL_image.h>
#include "Matrix.h"
#include "ShaderProgram.h"
#include <vector>
#ifdef _WINDOWS
#define RESOURCE_FOLDER ""
#else
#define RESOURCE_FOLDER "NYUCodebase.app/Contents/Resources/"
#endif
/*
Space Invaders
-... | [
"lm2817@nyu.edu"
] | lm2817@nyu.edu |
5c512d147fc5876094bfe629bd790e24d147f4b3 | e0fae9a81bf58c7245295363cc0d972ab7916b77 | /Beginner/rectangl.cpp | 9ad14b914d38d074811659610696f8489dae6125 | [] | no_license | GouravShDev/CodeChefQues | 8a8c8427cb43f7f44a1e7367a28584e5fac63479 | 4584c5ac32c662926693aa30c51b31499410313c | refs/heads/main | 2023-05-04T20:44:22.278182 | 2021-05-13T07:50:59 | 2021-05-13T07:50:59 | 313,936,050 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,033 | cpp | // Problem Code : RECTANGL
// url : https://www.codechef.com/problems/RECTANGL
#include<bits/stdc++.h>
using namespace std;
#define sync_off ios::sync_with_stdio(0);cin.tie(0);
#define ll long long int
int main(){
sync_off;
int tc;
int side[4];
cin>>tc;
while(tc--){
for (int i = 0; i < 4;... | [
"gourav0sharma1@gmail.com"
] | gourav0sharma1@gmail.com |
950d114daf42ac7fcdc292f2992fa30ad180b47b | 6ca50713a9e795eb82aa30537b16087645bbf1d8 | /main.cpp | e2704fb5e9529019da2551eb15069998efc6c7e5 | [] | no_license | glenn400/VectorDrawing | 44498863cc9eb43135ea4284e476d28e89a001f8 | 4eb14704339a01292d074b5b0d065bd65b0a97e8 | refs/heads/master | 2021-01-12T07:45:05.672729 | 2016-12-21T02:17:03 | 2016-12-21T02:17:03 | 77,007,168 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 216 | cpp | #include "mainwindow.h"
#include <QApplication>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
MainWindow w;
w.setWindowIcon(QIcon(":/circle.png"));
w.show();
return a.exec();
}
| [
"mee32100@gmail.com"
] | mee32100@gmail.com |
579117d18cf03a487d4dfd62fc213764c6de84a3 | 3442ea09cc826bdd8ce7c677feb80c75c93c6582 | /Final/bishop.h | 117b4213a627a0f0a1f99a7ff7840644a2625bc7 | [] | no_license | balintdbene/Chess | 7eff964272682dfaceb48ec2f199ad79a48e1e8d | a9d31d1b0cb733717f1ec701a093e85a1d7ef3d5 | refs/heads/master | 2016-09-15T15:39:57.121924 | 2014-03-10T13:05:07 | 2014-03-10T13:05:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 245 | h | #ifndef __BISHOP_H__
#define __BISHOP_H__
#include"piece.h"
//#include"move.h"
#include<string>
//#include"board.h"
class Bishop: public Piece{
public:
Bishop(string,Board*);
private:
vector<Move> getValidMoves(string, bool);
};
#endif
| [
"bdbene@uwaterloo.ca"
] | bdbene@uwaterloo.ca |
77278f304004d7a4b571f6ff6af41d4194310fa4 | 73efacb05ff55d336bf804d3a9bff8460cb9d5f9 | /sc-kpm/ui/uiKeynodes.cpp | a5c5a85bdc0a28ea9a393e83e63f9be91a36f35f | [
"MIT"
] | permissive | rusalexd/sc-machine | 92a9f82b0bb45039ebe6f1f72efdbbf4b254379f | d92afee12fd22a7d2c5cb0c3014a280f7de5b42f | refs/heads/master | 2021-07-04T01:21:30.519941 | 2017-09-25T12:32:25 | 2017-09-25T12:32:25 | 104,747,266 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,485 | cpp | /*
* This source file is part of an OSTIS project. For the latest info, see http://ostis.net
* Distributed under the MIT License
* (See accompanying file COPYING.MIT or copy at http://opensource.org/licenses/MIT)
*/
#include "uiPrecompiled.h"
#include "uiKeynodes.h"
extern "C"
{
#include "../common/sc_keynodes.h"... | [
"rusale"
] | rusale |
f3a92dc5f8abfc88b297d3f98f532de76a08f0f9 | b7bdcb78c20fcdbc124f8162e4d5d8afcb66e62f | /HW04/E14056431/HW04_bonus/_MyForm.cpp | 9ec59ffe0496d1d113ee926eb48f89c44141cb01 | [] | no_license | chiawei716/Course-OOP2019 | 86b3247d32a2de0bc83572f922cd90f39ed367ca | 4e59e86e14ff0282a97b3cc6ef08c8eeff4fc96c | refs/heads/master | 2022-09-10T06:55:48.673926 | 2020-01-04T15:20:27 | 2020-01-04T15:20:27 | null | 0 | 0 | null | null | null | null | BIG5 | C++ | false | false | 276 | cpp | #include "MyForm.h"
using namespace HW04;
[STAThreadAttribute]
int main(array<System::String ^> ^args)
{
Application::EnableVisualStyles();
Application::SetCompatibleTextRenderingDefault(false);
// 建立主視窗並執行
Application::Run(gcnew MyForm());
return 0;
} | [
"Gerald.C.Chao@gmail.com"
] | Gerald.C.Chao@gmail.com |
88e23cec8e223db5f9e87fe6bc907d47d1f65a00 | 2ec9cb451cb00e2fa4e96d22c1ce1db4de10773c | /tensorflow/compiler/tf2xla/kernels/sort_ops.cc | bd511ef3633ebffa120e9db859b6b52c5c30c32f | [
"MIT",
"Apache-2.0",
"BSD-2-Clause"
] | permissive | Rachelmorrell/tensorflow | 039ff0bdadaaba88e4e76899a0362e3029714019 | 035ce302db5ba917765d3fec658c195a2052c6a5 | refs/heads/master | 2023-08-31T00:39:54.988884 | 2021-10-26T18:28:49 | 2021-10-26T18:45:48 | 130,050,312 | 2 | 0 | Apache-2.0 | 2023-07-19T21:35:45 | 2018-04-18T11:12:45 | C++ | UTF-8 | C++ | false | false | 4,963 | cc | /* Copyright 2018 The TensorFlow 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 a... | [
"gardener@tensorflow.org"
] | gardener@tensorflow.org |
7ba24c60338661bc58a20454915560ae5922bd03 | 7910f6c2ed61cd7f0d204c96913e09dade970bbf | /Code/EyesFreeClockV3/lib/AT25M01/AT25M01.cpp | 60d33eabd94a32ecd0893556e695167f69798068 | [] | no_license | Aliasmk/HapticEye-Clock | 6437b4c4fc7446d7a0fb3857a1fb8968d33f8909 | 4121e7c9cb6f8ac1dbf2464ce211ee36e34a69d5 | refs/heads/master | 2022-10-23T02:13:43.760259 | 2020-06-17T02:03:53 | 2020-06-17T02:03:53 | 143,224,384 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,383 | cpp | #include "AT25M01.hpp"
#include <SPI.h>
#define EEPROM_ADDR_MASK 0x1FFFF
#define EEPROM_SPI_SPEED_4V5 (uint32_t)20000000
#define EEPROM_SPI_SPEED_2V5 (uint32_t)10000000
#define EEPROM_SPI_SPEED_1V7 (uint32_t) 5000000
#define EEPROM_OPCODE_WREN (uint8_t)0x6
#define EEPROM_OPCODE_WRDI (uint8_t)0x4
#define EEPROM_OP... | [
"michael.kafarowski@gmail.com"
] | michael.kafarowski@gmail.com |
d9f0e9adb871d69a9117491b1e83cba033c8944b | 8b7fdf5100ebd616eb5ac9f2b14d1c8d6c4c0d8e | /frameworks/core/components/text_overlay/text_overlay_theme.h | 80184c1d1da72591f404b6df71d776a9b7c30ffb | [
"Apache-2.0"
] | permissive | openharmony-sig-ci/ace_ace_engine | 13f2728bce323b67ac94a34d2e9c0a941227c402 | 05ebe2d6d2674777f5dc64fd735088dcf1a42cd9 | refs/heads/master | 2023-07-25T02:26:10.854405 | 2021-09-10T01:48:59 | 2021-09-10T01:48:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,268 | h | /*
* Copyright (c) 2021 Huawei Device Co., Ltd.
* 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 ... | [
"mamingshuai1@huawei.com"
] | mamingshuai1@huawei.com |
e12cf6d3dd0fa643696abbd4e3f64bdfcc7e7cf6 | 6030909e9e45fcd8b8d77c19f2250ae482e2a497 | /util.cpp | 548f22ef293da13e329d361e99507d4a338ddd6b | [
"LicenseRef-scancode-warranty-disclaimer",
"MIT"
] | permissive | heptacoin/heptacoin-seeder | 345f9cbc9b297e60190e80c9ba2c7eaabd6ef5a4 | 43807f8d2d86efadfbfbcf99da311264fe0b9056 | refs/heads/master | 2020-03-21T01:31:05.154648 | 2018-06-27T21:09:06 | 2018-06-27T21:09:06 | 137,946,453 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,109 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Copyright (c) 2018 The Heptacoin Core developers
// Distributed under the MIT/X11 software license, see the accompanying
// file LICENSE or http://www.opensource.org/licenses/mit-license.php.
#include <stdio.h>
#include "u... | [
"heptacoindev@gmail.com"
] | heptacoindev@gmail.com |
455cfe0efbd0e6251931dbcef4b61914dd65aa9e | 4e9aa6d8635d6bfcbaeecbb9420ebdc4c4489fba | /QtTest/WildMagic/Wm5Mathematics/Wm5Matrix2.inl | 0649335eefec49b4929d6ac059dd547b2ef51583 | [] | no_license | softwarekid/myexercise | 4daf73591917c8ba96f81e620fd2c353323a1ae5 | 7bea007029c4c656c49490a69062648797084117 | refs/heads/master | 2021-01-22T11:47:01.421922 | 2014-03-15T09:47:41 | 2014-03-15T09:47:41 | 18,024,710 | 0 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 14,998 | inl | // Geometric Tools, LLC
// Copyright (c) 1998-2012
// Distributed under the Boost Software License, Version 1.0.
// http://www.boost.org/LICENSE_1_0.txt
// http://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
//
// File Version: 5.0.1 (2010/10/15)
//--------------------------------------------------------------... | [
"anheihb03dlj@163.com"
] | anheihb03dlj@163.com |
603de4681d2bc7f47e8cc096cf4e5601f3a3d716 | ef7e925aa4fb4ffa12630ab360723958fb187115 | /ABC191/ABC191B.cpp | 8f8d44e9894259ef1d6db75a78fdd62f5b537d89 | [] | no_license | kitoriaaa/AtCoder | 7aba1c04fa9b51d8d08bbcafad94c0f86a1d32d1 | 56771116cdb4abb1af7410db789b513b2d0a7718 | refs/heads/master | 2023-09-05T10:04:37.068403 | 2021-11-01T03:36:21 | 2021-11-01T03:36:21 | 340,041,471 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 460 | cpp | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define rep2(i, s, n) for (int i = (s); i < (int)(n); i++)
typedef vector<int> VI;
int main() {
int N, X;
cin >> N >> X;
VI A;
rep(i, N) {
int a;
cin >> a;
... | [
"69099518+kitoriaaa@users.noreply.github.com"
] | 69099518+kitoriaaa@users.noreply.github.com |
afaca1e6d0aad3f46a2be7ff7a1c2fc2420c5e54 | bbe1bbf326cad8bf4060747990ecdaaddb56f133 | /LightGBM/compute/include/boost/compute/command_queue.hpp | 08cf0f89238edfbff25b662a5c0c1bf8134b0fbb | [
"BSL-1.0",
"MIT"
] | permissive | lihengtianxia/dist-ml-cost | 756d6d904f197327d3343d105bd3fa567b7cd698 | f418c261adc4acfbd4242a105e7d1a793ce996a5 | refs/heads/master | 2020-06-23T09:23:08.115709 | 2017-12-08T14:33:31 | 2017-12-08T14:33:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 57,965 | hpp | //---------------------------------------------------------------------------//
// Copyright (c) 2013 Kyle Lutz <kyle.r.lutz@gmail.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
//
// See http://boostorg.gi... | [
"christoph.boden@tu-berlin.de"
] | christoph.boden@tu-berlin.de |
344854650c634b12ddc0962b059facdc2ab1db81 | eef01cebbf69c1d5132793432578d931a40ce77c | /IF/Classes/view/popup/MailMonsterListView.cpp | f2df3d00d1ae6115ead25ea81532d0f61e4a937f | [] | no_license | atom-chen/zltx | 0b2e78dd97fc94fa0448ba9832da148217f1a77d | 8ead8fdddecd64b7737776c03417d73a82a6ff32 | refs/heads/master | 2022-12-03T05:02:45.624200 | 2017-03-29T02:58:10 | 2017-03-29T02:58:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 56,274 | cpp | //
// MailMonsterListView.cpp
// IF
//
// Created by lifangkai on 14-11-3.
//
//
#include "MailMonsterListView.h"
#include "SceneController.h"
#include "PopupViewController.h"
#include "CCTypesExt.h"
#include "CCCommonUtils.h"
#include "ChatController.h"
#include "CCSafeNotificationCenter.h"
#include "CCLabelIF.h"
... | [
"441066277@qq.com"
] | 441066277@qq.com |
a1f6043bfc8e69ff6299fa7d87381917cd2767d5 | 6a77a7eb52c627a0dc44d8735bb9d0d4c3a5e98e | /сессия - дз/6д.cc | 44009b8c0f7d864954b80c932689ecad073e89cc | [] | no_license | matwaysha/Domashnee-Zadanie | 6d003b110475cbb25d32b32dbbf5eb6fffddec31 | a04392de65fa00bd323cc92f6e2bbe5e46285bef | refs/heads/master | 2020-04-01T02:02:50.788429 | 2019-11-15T19:08:47 | 2019-11-15T19:08:47 | 152,763,609 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 637 | cc | /* Implement the secant method roots of equations*/
#include <iostream>
using namespace std;
float f(float x){
return (x + 2)*(x + 2)*(x + 2) - 5;
}
int main()
{
float a,b,c,e;
cin>>e;
if(f(0) < 0){
int i = 20;
while(f(i) < 0){
i+=20;
}
a = i;
}
if(f(0) > 0){
int... | [
"noreply@github.com"
] | matwaysha.noreply@github.com |
5d7a1f79e049bd91dd607da508a1fda73a92a334 | 8d952a06e3809a06825a3be7b067201f3652f16a | /debug/atomics/ATLAS-TDAQ/Vector_L2TRequester.h | 16b616f178cfb1b6d1910dbfeee9007175cd4d2e | [
"GPL-3.0-only",
"MIT"
] | permissive | andyLaurito92/haikunet | b771eaf6bd91292485f0a49698ce123b9308d676 | db44623b248c56735c28a5f589c3239dc7e9855e | refs/heads/master | 2021-06-14T12:38:38.996450 | 2021-05-05T18:26:02 | 2021-05-05T18:26:02 | 75,564,849 | 2 | 1 | MIT | 2021-05-05T18:26:26 | 2016-12-04T21:12:31 | C++ | UTF-8 | C++ | false | false | 595 | h | //CPP:ATLAS-TDAQ/Vector_L2TRequester.cpp
//CPP:ATLAS-TDAQ/VectorialModel.cpp
//CPP:ATLAS-TDAQ/L2TRequester.cpp
#if !defined Vector_L2TRequester_h
#define Vector_L2TRequester_h
#include "simulator.h"
#include "event.h"
#include "stdarg.h"
#include "engine.h"
#include "qss/qsstools.h"
#include "VectorialEvent.h"
#inclu... | [
"andy.laurito@gmail.com"
] | andy.laurito@gmail.com |
ca83a21276a1fff74a815a07399b29b622cca3cd | b4c83516af8cfb8182858304c1f2ca74a7a2c5f8 | /flatbuffers/src/idl_parser.cpp | c4f7c8660388b343918d1c255dbd4a106e3eac39 | [
"Apache-2.0"
] | permissive | kevinkassimo/deno_third_party | d24b0fd7a9acaf65b377282564f0ef6d3b12c60b | 7590d01b95f0189713654a493acfb13ab51a14d8 | refs/heads/master | 2020-03-28T16:56:08.421196 | 2018-11-30T03:06:48 | 2018-11-30T07:14:48 | 148,742,401 | 0 | 0 | null | 2018-09-14T05:58:54 | 2018-09-14T05:58:54 | null | UTF-8 | C++ | false | false | 105,705 | cpp | /*
* Copyright 2014 Google Inc. 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 applic... | [
"ry@tinyclouds.org"
] | ry@tinyclouds.org |
dd54d4f69dd8619f4004dde9cf469eea107a058d | 73bdf06846b5c0e71d446581264b7b1e67a3bdd6 | /548 - Tree.cpp | abf2db3fe3519463ea802edbca673e4e2c135ec6 | [] | no_license | RasedulRussell/uva_problem_solve | 0c11d7341316f4aca78e3c14a102aba8e65bd5e1 | c3a2b8da544b9c05b2d459e81ee38c96f89eaffe | refs/heads/master | 2021-06-13T09:10:42.936870 | 2021-03-24T15:49:15 | 2021-03-24T15:49:15 | 160,766,749 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,881 | cpp | #include<bits/stdc++.h>
using namespace std;
#define ll long long
vector<ll>inorder, postorder;
unordered_map<ll, int>inorderIdx;
unordered_map<ll, int>ans;
int idx = 0;
struct treeNode{
ll data;
treeNode *left, *right;
};
treeNode *newNode(ll val){
treeNode *temp = new treeNode;
temp->data = val;
... | [
"rasedulrussell@gmail.com"
] | rasedulrussell@gmail.com |
484e9c12283be8ea84dcd70d1f2f9b6d30610bcb | 5c6194e025346e672d8d6d760d782eed0e61bb7d | /developer/VSSDK/VisualStudioIntegration/Common/Source/CPP/VSL/MockInterfaces/VSLMockISupportErrorInfo.h | a0f8dc8d858268611ad8ca68689b22b824221eed | [
"MIT"
] | permissive | liushouhuo/windows | 888c4d9f8ae37ff60dd959eaf15879b8afdb161f | 9e211d0cd5cacbd62c9c6ac764a6731985d60e26 | refs/heads/master | 2021-09-03T06:34:51.320672 | 2018-01-06T12:48:51 | 2018-01-06T12:48:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,057 | h | /***************************************************************************
Copyright (c) Microsoft Corporation. All rights reserved.
This code is licensed under the Visual Studio SDK license terms.
THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
IMPLIED WARRANTIES... | [
"jdm7dv@gmail.com"
] | jdm7dv@gmail.com |
c6b92e9487904c7c308b0b3b5b05231cba98e1d6 | 5c364c06003ec3d6b9b2a8b91eaab6d0293ff907 | /hdu/第一阶段/Tarjan缩点/luogu1262间谍网络(模板)/main.cpp | 6f46c5da4cc44b35030c5a1c850a8ec594f92b53 | [] | no_license | majiaoliya/acm | aa3d4b9679ac8f7ace28c2f4b5a21dc2d6421b71 | c0aa06b08547e6d75ea5a4b7db3cfe5e7f9bed83 | refs/heads/master | 2020-09-17T01:51:16.950731 | 2020-04-29T15:02:05 | 2020-04-29T15:02:05 | 223,952,294 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,966 | cpp | //luogu1262
#define debug
#ifdef debug
#include <time.h>
#include "/home/majiao/mb.h"
#endif
#include <iostream>
#include <algorithm>
#include <vector>
#include <string.h>
#include <map>
#include <set>
#include <stack>
#include <queue>
#define MAXN ((int)1e5+7)
#define INF (1e9+7)
#define ll long long int
#define QAQ... | [
"majiao@qq.com"
] | majiao@qq.com |
883879c45b09940528ccc839d38cdc1ae11f2799 | f5ecc4f50ae675de207c18ce608f76df5040858c | /RcCarCpp/lib/LEDs/LEDS.h | 0c00291c737404f294704563ae6fbf89f315f705 | [
"MIT"
] | permissive | henrythasler/nodemcu | 1aa3efd4c05edf8fbf254c845106e417f523d162 | e820be27e8f8feaa30ec0f9a26abcc3d740b61c2 | refs/heads/master | 2022-12-14T03:16:58.448960 | 2021-05-25T21:12:22 | 2021-05-25T21:12:22 | 76,166,059 | 1 | 1 | MIT | 2022-12-08T13:55:40 | 2016-12-11T09:51:55 | Lua | UTF-8 | C++ | false | false | 309 | h | #ifndef __LEDS_H
#define __LEDS_H
#include <LED.h>
#include <Arduino.h>
class LEDs {
private:
unsigned long last_loop_millis = millis();
public:
LED led_int = LED(LED_BUILTIN); // the internal LED of the board. Mostly a Blue one!
void setup();
void loop();
};
#endif | [
"thmang82@gmail.com"
] | thmang82@gmail.com |
17b4f7bf2d5abe3a19c2473551f117b125c90395 | 9228d266b854a8767b2c3dd9f51a6cc07a9daf5e | /Source/Lutefisk3D/2D/ParticleEmitter2D.cpp | cdc84eb3b7c97b7e953bc5de36a917b043168933 | [
"Apache-2.0",
"BSD-2-Clause",
"Zlib",
"MIT",
"LicenseRef-scancode-khronos",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | Lutefisk3D/lutefisk3d | 9dfed84ab853134846ab9acf3c2fae419ec102f3 | d2132b82003427511df0167f613905191b006eb5 | refs/heads/master | 2021-10-19T03:58:00.025782 | 2019-02-17T18:14:49 | 2019-02-17T18:14:49 | 37,516,913 | 3 | 1 | NOASSERTION | 2018-10-20T12:51:56 | 2015-06-16T08:10:08 | C++ | UTF-8 | C++ | false | false | 15,675 | cpp | //
// Copyright (c) 2008-2017 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... | [
"nemerle5@gmail.com"
] | nemerle5@gmail.com |
059eba2fce5058c502a105d2791d11f7d7ed7a03 | 5c3b212599b36a72224162b0578cc60ee0d9fdf7 | /11-20/17. 树的子结构.cpp | df1b8ed3b5035939ff871249d43f82221fd099a9 | [] | no_license | XiaoliSong/Aim-at-offer-C | 9ad02fc1ac9f6137674627dd3b35139b68d356ae | e4ac1d4e095ff08f05661550b04a31676e5ef586 | refs/heads/master | 2020-03-07T05:14:33.116600 | 2018-04-04T03:04:28 | 2018-04-04T03:04:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,738 | cpp | /*
GitHub:https://github.com/XiaoliSong/Aim-at-offer
链接:https://www.nowcoder.com/questionTerminal/6e196c44c7004d15b1610b9afca8bd88
题目:输入两棵二叉树A,B,判断B是不是A的子结构。(ps:我们约定空树不是任意一个树的子结构)。
*/
/*
struct TreeNode {
int val;
struct TreeNode *left;
struct TreeNode *right;
TreeNode(int x) :
val(x), left(NULL), right(NULL) {... | [
"321219693@qq.com"
] | 321219693@qq.com |
05858768b0eaf088bdb864e30d507142b1708a0b | 6f51ed2e3a48a5f176bc59c975a4927477536f22 | /main.cpp | 2b4f9189a64358093bf304d70e0c5071dee192dc | [] | no_license | saranliang/new_repository | b30d7f4e3e148b59f3c7e5d7427ee84cd4282a13 | e14cd380347fc101f18718faf6142ae8d9bcdc2b | refs/heads/master | 2023-06-03T04:43:58.681879 | 2021-06-17T01:29:22 | 2021-06-17T01:29:22 | 377,682,596 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 176 | cpp | #include "mainwindow.h"
#include <QApplication>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
MainWindow w;
w.show();
return a.exec();
}
| [
"wfl@jmed.com"
] | wfl@jmed.com |
7dacccd6867e055e1961dc0889eb07b6bc8a0ddb | 5d68d80456e086afd133f2aaa047fcfd08bf44dc | /Laboratory/USING-CLASS/UC02.1-DisplayRectangleUsingColor/src/renderEngine/Loader.cpp | 87d300c1ecf069f75f58e5ff62aa9d4ea91f549a | [] | no_license | hpaucar/computer-graphics-repo | 6a563436576fb51813aee6ec0ca0e22269eacbba | 0a438b88b9af13204781ced17e2f6da70b9bc329 | refs/heads/master | 2021-07-17T09:38:36.176226 | 2021-01-09T02:02:27 | 2021-01-09T02:02:27 | 230,563,579 | 13 | 4 | null | 2020-06-15T03:23:01 | 2019-12-28T05:33:38 | HTML | ISO-8859-1 | C++ | false | false | 2,133 | cpp | /*
* Loader.cpp
*
* Created on: 10 abr. 2020
* Author: Usuario
*/
#include <iostream>
#include "Loader.h"
Loader::Loader() {
// TODO Auto-generated constructor stub
}
Loader::~Loader() {
// TODO Auto-generated destructor stub
}
void Loader::createVAO() {
}
void Loader::storeDataInAttributeList() {
//... | [
"herminiopaucar@gmail.com"
] | herminiopaucar@gmail.com |
e1512a83c61e591344f16101d12f6004735be0bd | d09945668f19bb4bc17087c0cb8ccbab2b2dd688 | /codeforce/481-500/488/a2.cpp | c5466c8b8fe8a9b8d911f9f7fc8667efa5b66f26 | [] | no_license | kmjp/procon | 27270f605f3ae5d80fbdb28708318a6557273a57 | 8083028ece4be1460150aa3f0e69bdb57e510b53 | refs/heads/master | 2023-09-04T11:01:09.452170 | 2023-09-03T15:25:21 | 2023-09-03T15:25:21 | 30,825,508 | 23 | 2 | null | 2023-08-18T14:02:07 | 2015-02-15T11:25:23 | C++ | UTF-8 | C++ | false | false | 913 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef signed long long ll;
#undef _P
#define _P(...) (void)printf(__VA_ARGS__)
#define FOR(x,to) for(x=0;x<(to);x++)
#define FORR(x,arr) for(auto& x:arr)
#define ITR(x,c) for(__typeof(c.begin()) x=c.begin();x!=c.end();x++)
#define ALL(a) (a.begin()),(a.end())
#... | [
"kmjp@users.noreply.github.com"
] | kmjp@users.noreply.github.com |
6d5743ba4515edf6db829e97dfc1cf48551ff00b | aab648ba304a5199d4dd4af1c46d0b9d844324d9 | /Sudoku/SodukoSolver.h | bbf3dc1cfaa4cde6c732837a927c4bdd0f472348 | [] | no_license | EllieBastani/Sudoku | b4a7876ad9b97b3f552ddf920bfb33622914e4af | 3bc52f4080bc7a2707e5b01a81f8747ac99a82c5 | refs/heads/master | 2020-12-04T09:06:31.881457 | 2020-01-04T03:53:01 | 2020-01-04T03:53:01 | 231,704,792 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 399 | h | #pragma once
#include <list>
using namespace std;
class SodukoSolver
{
private:
int table[9][9];
bool CalcCell(int x, int y);
bool LookForMorePossibilities();
list<int> GetPossibilitiesForCell(int x, int y);
bool SolveRecursively(int curX, int curY);
bool findNextCell(int curX, int curY, int& nextX, int& nextY)... | [
"elham.bastani@gmail.com"
] | elham.bastani@gmail.com |
64d0bf74cd83367fee693c80f8b424ad77cdd543 | 2d61b4f5d5a7b3659f06dadc5ddfe6a68b14a18d | /Wheelbot/WheelbotSensors.h | d7b7d92dfecdf7ad1d8f52b769774ecd20bfea1d | [] | no_license | xtremebrat/AI | 838ccd3080e8d6a47af51ca2ee26fe72cfa1cafd | 498bdad1e5f465724f87de5afa3e65db976f7a8b | refs/heads/master | 2021-01-01T18:22:10.832768 | 2014-10-29T04:36:24 | 2014-10-29T04:36:24 | 25,903,624 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,645 | h | //
// WheelbotSensors.h
// ReMod3D
//
// Created by Thomas Collins on 7/24/13.
//
//
#ifndef __ReMod3D__WheelbotSensors__
#define __ReMod3D__WheelbotSensors__
#include <iostream>
#include "Sensor.h"
#include <boost/any.hpp>
#include <boost/typeof/typeof.hpp>
#include <boost/type.hpp>
#include "WheelbotModule.h"
#i... | [
"xtremebrat@gmail.com"
] | xtremebrat@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.