blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 905
values | visit_date timestamp[us]date 2015-08-09 11:21:18 2023-09-06 10:45:07 | revision_date timestamp[us]date 1997-09-14 05:04:47 2023-09-17 19:19:19 | committer_date timestamp[us]date 1997-09-14 05:04:47 2023-09-06 06:22:19 | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 22
values | gha_event_created_at timestamp[us]date 2012-06-07 00:51:45 2023-09-14 21:58:39 ⌀ | gha_created_at timestamp[us]date 2008-03-27 23:40:48 2023-08-21 23:17:38 ⌀ | gha_language stringclasses 141
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 115
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
e8f76d668a2306d2bc7555ea52d436fe25efc59c | 6cc9349598ba3d55800638fb45f9720b20c33277 | /view/resources/srcFont/font_data.cpp | 13b979728b540e200606335c3a3334e6534520b1 | [] | no_license | d-shulgin/GameCreator | 0447f480c52647209703c83a0022132c62d0a3b2 | 5f64dd67790df4b3c36db49e3f9b70f1e3eb9dc7 | refs/heads/master | 2023-05-07T17:43:14.119359 | 2021-04-28T12:46:02 | 2021-04-28T12:46:02 | 362,068,456 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,130 | cpp | #include "font_data.h"
FontData::FontData()
: XMLObject()
, _modify( false )
, _leading( 0.0f )
, _ascent ( 0.0f )
, _descent( 0.0f )
{
bind_fields();
}
void FontData::Load( QDomElement& object ) // |
{
clear();
XMLObject::Load( object );
return;
}
/// @section: namae... ///////////... | [
"d-shulgin@inbox.ru"
] | d-shulgin@inbox.ru |
283c7968774c2234a5e915009aa6bf4f40dbfdfb | 617a5ffac5b85901596ab9991c293d214caa818f | /mutating_algoritms/remove_if.cpp | 1bbb3cff1d29b026a2dff3d548fd6856a8f3a8db | [] | no_license | ZARAG-YAN/STL_Algorithms | b72620b7dc991008501ef5ea233f3e5dbb48f91f | 03b5816f49784acc05c0b049d0ef00128133f0ef | refs/heads/master | 2020-05-03T16:55:59.823275 | 2019-04-02T06:29:38 | 2019-04-02T06:29:38 | 178,734,758 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 964 | cpp | #include <iostream>
#include <vector>
#include <algorithm>
class obj
{
public:
int operator()()
{
static int i = 0;
return ++i;
}
};
class obj1
{
public:
bool operator()(int& a)
{
return a % 2 == 0;
}
};
int main()
{
std::v... | [
"zara030396@gmail.com"
] | zara030396@gmail.com |
51fecc096908d7352b83a8f6fe4391b5ec70acaa | 70ad3badf3fa6e2edf1889d8640f25a7ec0d9db1 | /ros_catkin_ws/devel_isolated/geometry_msgs/include/geometry_msgs/PoseArray.h | fbbfca26b762a31f64341557567a5719ee21d730 | [] | no_license | MathieuHwei/OldGaitMaven | 758a937dfda2cf4f1aee266dbbf682ef34989199 | 873f7d9089c5d1c0772bd3447e2b0a31dac68b70 | refs/heads/main | 2023-06-17T18:40:06.230823 | 2021-07-19T23:08:20 | 2021-07-19T23:08:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,085 | h | // Generated by gencpp from file geometry_msgs/PoseArray.msg
// DO NOT EDIT!
#ifndef GEOMETRY_MSGS_MESSAGE_POSEARRAY_H
#define GEOMETRY_MSGS_MESSAGE_POSEARRAY_H
#include <string>
#include <vector>
#include <map>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_message_traits.h>
#include ... | [
"giahuy050201@gmail.com"
] | giahuy050201@gmail.com |
73e450d2834bed65e79c6fccdfdac6cdb6c499ef | 7b88f02d8824db9da785d3dad6e31a0f123e02bc | /9.12/Point.cpp | f10f41f93c6c08334c7e9aa4e954dce599199fe1 | [] | no_license | guoyuting666/Guo_Yuting | 4e2811f1565b7f0f5669b5531ea2b6d51daf8802 | dcd89e64afc42c81d81f5a4b97c4e32770ab20e0 | refs/heads/master | 2020-04-28T03:18:29.055277 | 2019-06-02T03:16:20 | 2019-06-02T03:16:20 | 174,931,711 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 376 | cpp | #include "Point.h"
Point::Point( double xCoord, double yCoord )
{
setX( xCoord );
setY( yCoord );
}
void Point::setX( double xCoord )
{
x = ( xCoord >= 0.0 && xCoord <= 20.0 ) ? xCoord : 0.0;
}
void Point::setY( double yCoord )
{
y = ( yCoord >= 0.0 && yCoord <= 20.0 ) ? yCoord : 0.0;
}
double Point::getX()... | [
"769140403@qq.com"
] | 769140403@qq.com |
8b62362db91b2585096292c5edfb4d0c0da89679 | 1993fb5e886b31e7f61aaabcaa554e635bb9ef4d | /Beginer/1959_regular_simple_polygon.cpp | 53ad9ae39b6ce08d3cf818d65897b7fc2fac6d03 | [] | no_license | wiragotama/URI | 10dc17235c4dfa17784360f65fed6443d952e39b | ec30420523d71df4b0727baeebc8219ff98e834a | refs/heads/master | 2022-02-28T05:36:22.010048 | 2022-02-07T07:18:37 | 2022-02-07T07:18:37 | 52,661,092 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 157 | cpp | #include <iostream>
#include <cstdio>
using namespace std;
int main() {
long long int a, b;
scanf("%lld %lld",&a, &b);
printf("%lld\n",a*b);
return 0;
} | [
"wiragotama@gmail.com"
] | wiragotama@gmail.com |
bc31c2f5b67ae56ab9db26679d4bacd453ba791f | 7ccca20f25ac240b1e30260211f676101bd2a231 | /Model/Board.h | afc28179ea4e35c76488f15ea65a644bf2c5104a | [
"MIT"
] | permissive | mr-seifi/Tic-Tac-Toe | 58dbd5632a2d3cb236df3c9de8caa4ea90d9533f | 4bd00632cc302eec22d3bb57037bfcea4c9db96a | refs/heads/main | 2023-08-07T14:28:51.915695 | 2021-09-30T17:17:18 | 2021-09-30T17:17:18 | 392,335,235 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 675 | h | #ifndef TIC_TAC_TOE_BOARD_H
#define TIC_TAC_TOE_BOARD_H
#include <iostream>
#include <vector>
class Board {
friend std::ostream &operator<<(std::ostream&, const Board&); // Overload << operator to show board in output stream
public:
Board(); // Board constructor
void turn(unsigned int, char); // turn metho... | [
"aminseiifi@gmail.com"
] | aminseiifi@gmail.com |
e30488f683f2b831dcfbb2b4bff538abf385b13a | 2f9182f3aa89334f95d7bffcd57ac971cacc8298 | /source/solution_zoo/xstream/methods/MattingTrimapFreePredictMethod/include/MattingTrimapFreePredictMethod/MattingTrimapFreePredictMethod.h | 12e5ea804a683306ff7b96f87db5cf7b44aeac72 | [
"BSD-2-Clause"
] | permissive | Kevin4ch/AI-EXPRESS | c4d18b9fe32be1872d451a3cb7dc5e45561c41fd | e82531dd262cb7df8388f42f6edb07e77c8ce0d1 | refs/heads/master | 2023-02-05T05:15:55.962204 | 2020-12-28T16:01:46 | 2020-12-28T16:01:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,671 | h | /**
* Copyright (c) 2020 Horizon Robotics. All rights reserved.
* @File: MattingTrimapFreePredictMethod.h
* @Brief: declaration of the MattingTrimapFreePredictMethod
* @Author: zhe.sun
* @Email: zhe.sun@horizon.ai
* @Date: 2020-12-15 11:07:18
* @Last Modified by: zhe.sun
* @Last Modified time: 2020-12-15 18:21:... | [
"qingpeng.liu@horizon.ai"
] | qingpeng.liu@horizon.ai |
2f70e810c01816e7f74f8684862d77d118cdb0fe | 2910e77ea734a2490ec691fa3a1e9ee0e1e7f435 | /6.21.cpp | af0e07d3d24ad7fad09aba89ab548c8f38a57493 | [] | no_license | lixiaosong0716/li_xiaosong | 652bc165c1981be778acd8dbc2a3dcb4483a362a | 279672fd447b8203334272a8ec701dc3a1e4af80 | refs/heads/master | 2020-04-28T11:02:20.311950 | 2019-05-12T10:26:24 | 2019-05-12T10:26:24 | 175,222,084 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 257 | cpp | #include <iostream>
using namespace std;
bool iseven (int x)
{
return (x%2);
}
int main()
{ int a;
cout <<"Enter one integer: "<<endl;
cin >>a;
if (iseven (a))
cout <<a<<" is false\n\n"<<endl;
else
cout <<a<<" is true\n\n"<<endl;;
}
| [
"1834481128@qq.com"
] | 1834481128@qq.com |
c05e756d46325750c3defdda5182fb8d7c8cdb26 | 8d337f83cf36c67897b04f1589b5314d9274c31d | /goost/kuznyechik/Imit.cpp | bfae3caa73ba675c60e9ee5340037a197d2e8289 | [
"MIT"
] | permissive | DronMDF/goost | 3dac26c54768d03d51d5d759ab4c33d69c4c902f | 87a21ba383efc12209377ab686df7b93f4297f50 | refs/heads/master | 2021-12-27T03:50:01.467305 | 2021-12-23T16:26:42 | 2021-12-23T16:26:42 | 81,734,817 | 8 | 1 | MIT | 2021-12-23T16:26:43 | 2017-02-12T15:15:09 | C++ | UTF-8 | C++ | false | false | 1,960 | cpp | // Copyright (c) 2017-2021 Andrey Valyaev <dron.valyaev@gmail.com>
//
// This software may be modified and distributed under the terms
// of the MIT license. See the LICENSE file for details.
#include "Imit.h"
#include "BlkEncrypted.h"
#include "BlkRaw.h"
#include "BlkShifted.h"
#include "BlkXored.h"
#include "Iterat... | [
"dron.valyaev@gmail.com"
] | dron.valyaev@gmail.com |
7dff032e81b83ec5a841c7e5bed1d87e0e81dfaa | b15e1f7d336ee67a69440c976225382de5de9407 | /FrameworkSocket/SocketServer/Message.h | cfd6c04b1ed6d9c95348481f03aa9432c157e35e | [] | no_license | heinsteinh/FtsEngine | 5ef66c1a1ef443aee59caf953a04c66b52937088 | ea275f26ae0ff897f696a6ea1f82df3bde459f8f | refs/heads/master | 2021-05-28T22:40:25.919833 | 2015-05-11T05:55:52 | 2015-05-11T05:55:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 116 | h | #pragma once
#include <cstdint>
#include <string>
#include <exception>
#include <sstream>
namespace Framework
{
} | [
"heinsteinh@gmail.com"
] | heinsteinh@gmail.com |
02ddc1c37a57730541f80de10f3463521ce0de77 | 09ca0b4bee30073519413ab36afe5b97da54b90d | /src/urc10.cpp | 5231044e982c30bda8295c8efe16782ee056136b | [] | no_license | Circuit-killer/Cytron_URC10_Library | d994058ea033fb226a6eda16eb378667ba4cabf1 | 307c50b5cf98be1c576ddaee76187749b70cfd6f | refs/heads/master | 2020-03-25T23:39:58.055021 | 2018-07-20T10:15:53 | 2018-07-20T10:15:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,513 | cpp |
#include "urc10.h"
// ****************************************
// Main
// ****************************************
urc10 URC10;
urc10::urc10(){
}
void urc10::begin(bool enableMotor, bool enableUltrasonic1, bool enableUltrasonic2, bool enableLcd){
if(enableMotor){
motor.begin();
}
if(enableUltrasonic1){
... | [
"bengchet@cytron.com.my"
] | bengchet@cytron.com.my |
2f4d929c05b0df087b8d9bc391fee05e861d2d02 | 982e4214f175004466958ac57ec8172ea0675d1a | /god-is-work/Manager.cpp | 703eceddc08c9b10d12d67b6540b9489c123f6ca | [] | no_license | TuisClangSchola/god-is-work | c5db02e4bd7e5eede5b94e63a40df4d056fabf66 | 87804ce678664bf277fd4d77bb82141ef122651f | refs/heads/master | 2020-12-06T16:41:41.665838 | 2020-01-11T06:43:07 | 2020-01-11T06:43:07 | 232,509,519 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 1,811 | cpp | #include "Manager.hpp"
/// -----------------------------------------------------------------------------------
void Manager::SceneChange()
{
if (p_baseMove != nullptr)
{
delete p_baseMove;
p_baseMove = nullptr;
}
// 今のシーン
switch (BASICPARAM::e_nowScene)
{
// ロゴ
case ESceneNumber::TITLE_AND_MENU:
p_bas... | [
"kingwasheart@yahoo.co.jp"
] | kingwasheart@yahoo.co.jp |
29439ffb0a3971988139ee8222743413b103f9af | 8191864909f7d8b896f97ff353ce475757f4fbd1 | /deps/chakrashim/core/lib/jsrt/jsrtinternal.h | df5b2f1aa45c451feaaeb9f681d8ecb14a67c571 | [
"MIT",
"BSD-3-Clause",
"LicenseRef-scancode-unicode",
"LicenseRef-scancode-openssl",
"LicenseRef-scancode-unknown-license-reference",
"Artistic-2.0",
"NAIST-2003",
"NTP",
"ICU",
"ISC",
"Zlib",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause"
] | permissive | mozilla/spidernode | df5a1e58b54da5bfbc35a585fc4bbb15678f8ca0 | aafa9e5273f954f272bb4382fc007af14674b4c2 | refs/heads/master | 2023-08-26T19:45:35.703738 | 2019-06-18T19:01:53 | 2019-06-18T19:01:53 | 55,816,013 | 618 | 69 | NOASSERTION | 2019-06-18T18:59:28 | 2016-04-08T23:38:28 | JavaScript | UTF-8 | C++ | false | false | 10,471 | h | //-------------------------------------------------------------------------------------------------------
// Copyright (C) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
//---------------------------------------------------------... | [
"Kunal.Pathak@microsoft.com"
] | Kunal.Pathak@microsoft.com |
4a5409ee72cc0ba649b85223af4bce6cd2c85c93 | e3a08059f2d170164e620486793d5b0f841abc7f | /benchmarks/pbbs/regions_schedov/maximalIndependentSet/ndMIS/graphIO.h | ce378be5b0f70229cc9f02dfd1f6739bbea0c380 | [] | no_license | adarshyoga/TaskProf_RegionDiffSched | 1cd4fb65de7fcb4cd369b646493a615b55b58199 | b8c5ea0137833666389587c603ea547c859d5846 | refs/heads/master | 2020-03-08T18:40:21.708379 | 2019-02-01T02:29:23 | 2019-02-01T02:29:23 | 128,313,576 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,465 | h | // This code is part of the Problem Based Benchmark Suite (PBBS)
// Copyright (c) 2010 Guy Blelloch and the PBBS team
//
// 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... | [
"adarsh.yoga@cs.rutgers.edu"
] | adarsh.yoga@cs.rutgers.edu |
798137e4b7934630921de53d2951b9246e92f72f | 1ed4e96c20da03fbd3aa4f18d4b004a59d8f89e5 | /Repo/venv/Lib/site-packages/torch/include/torch/csrc/jit/serialization/import.h | 0932ce81f8f70fb46e0aa47028646c23356f7294 | [] | no_license | donhatkha/CS2225.CH1501 | eebc854864dc6fe72a3650f640787de11d4e82b7 | 19d4dd3b11f8c9560d0d0a93882298637cacdc80 | refs/heads/master | 2023-07-19T13:27:17.862158 | 2021-02-08T07:19:05 | 2021-02-08T07:19:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,654 | h | #pragma once
#include <caffe2/serialize/inline_container.h>
#include <torch/csrc/jit/api/module.h>
#include <torch/csrc/jit/ir/ir.h>
#include <torch/csrc/jit/serialization/unpickler.h>
#include <istream>
namespace caffe2 {
namespace serialize {
class ReadAdapterInterface;
} // namespace serialize
} // n... | [
"59596379+khado2359@users.noreply.github.com"
] | 59596379+khado2359@users.noreply.github.com |
573aacdf4ac64f69a68b74398aa0e4b53f047f73 | 341a8c7f2d028a6bac5675ce5a0a143316d69c6c | /datastructrue/tree/BTree.cpp | e43332135af12aa31d0ca07b3672b4b8fb590418 | [] | no_license | pipixia626/algorithm | d7cba70d2cc0a0ef0f11b4320d851d309b5939b0 | 72d55d0c075f83ea9b5063bb23f59e789edd0478 | refs/heads/master | 2023-04-20T04:27:47.583611 | 2021-04-18T15:27:37 | 2021-04-18T15:27:37 | 359,181,792 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,344 | cpp | #include"BTree.h"
#include<queue>
#include<stack>
#include<vector>
#include<iostream>
using namespace std;
BiNode*BiTree::Create(BiNode*Tree){
char ch;
cin>>ch;
if(ch=='#')Tree=nullptr;
else{
Tree=new BiNode();
Tree->data=ch;
Tree->lchild=Create(Tree->lchild);
Tr... | [
"814151675@qq.com"
] | 814151675@qq.com |
f2f15b64f1e1a3495519b0985f0a753ecfc30139 | 57d30906de95e20fb45216925791cb809a11b7f1 | /ase/tests/test_02_cclass/asetestcpp.cpp | 4681ba60ee24238ba2bd36a20139eb02497219cc | [
"MIT"
] | permissive | ahiguti/ase | ad782902ca3a8713b155769413fc5d9fd537c347 | f6bc5f337fe7df6eabf676660d9189d3c474150d | refs/heads/main | 2021-06-13T17:39:25.280776 | 2012-06-15T21:01:17 | 2012-06-15T21:01:17 | 4,680,010 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,903 | cpp |
#include <ase/asecclass.hpp>
#include <stdio.h>
#define DBG(x)
struct testsvr {
testsvr() : intval(0) {
DBG(printf("testsvr %p\n", this));
}
~testsvr() {
DBG(printf("~testsvr %p\n", this));
}
void SetInt(int x) {
intval = x;
DBG(printf("s %p x=%d iv=%d\n", this, x, intval));
}
int GetI... | [
"ahiguti100@gmail.com"
] | ahiguti100@gmail.com |
4f02c8b26646e6819ce3e26014eb70925d355ebc | f29a75693597687deb38fe4773d5e436724f3abb | /src/utility/Log.h | 98bfdf9f561bd8334fa96790c58006fa4866e1af | [] | no_license | skipperno/NmeaApplication | 5612cff21c9fc557fc5d53e4c36a8ab4b20eaf48 | e8baed727f833e1d64909fa97036893e4838b603 | refs/heads/master | 2020-05-16T06:58:33.276571 | 2012-08-15T09:43:48 | 2012-08-15T09:43:48 | 1,705,540 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 263 | h | /*
* Log.h
*
* Created on: Feb 8, 2012
* Author: ernad
*/
#ifndef LOG_H_
#define LOG_H_
class Log {
public:
Log();
virtual ~Log();
static void logDbgMsg(const char* msg, ...);
static void logErrMsg(const char* msg, ...);
};
#endif /* LOG_H_ */
| [
"Ernad@skipper.no"
] | Ernad@skipper.no |
91da2d5f1cda9c66ede407017eb941915c93d510 | 77780f9ccc465ae847c92c3a35c8933b0c63fa4e | /HDOJ/2135.cpp | e87303762ecab6e4a8358f3c18f8f07eeddd31a3 | [] | no_license | changmu/StructureAndAlgorithm | 0e41cf43efba6136849193a0d45dfa9eb7c9c832 | d421179dece969bc1cd4e478e514f2de968c591a | refs/heads/master | 2021-07-18T04:04:46.512455 | 2020-05-17T11:50:26 | 2020-05-17T11:50:26 | 30,492,355 | 1 | 0 | null | null | null | null | ISO-8859-7 | C++ | false | false | 1,509 | cpp | ////////////////////System Comment////////////////////
////Welcome to Hangzhou Dianzi University Online Judge
////http://acm.hdu.edu.cn
//////////////////////////////////////////////////////
////Username: changmu
////Nickname: ³€ΔΎ
////Run ID:
////Submit time: 2014-10-13 13:26:28
////Compiler: Visual C++
/////////////... | [
"2276479303@qq.com"
] | 2276479303@qq.com |
11e2e2684b852d8ba4022fd2a24b1b2b9e7fa1c7 | 35f345dd1b4f6be564b7753b7b45d772b59a55b9 | /Pong/word.cpp | 46011b449f853f8256838314eb224eb1285f12ca | [] | no_license | shindelus/Pong | 42a58e7a76f4759f133ae7432827463012d3d225 | 7fca7985fdc014b2dde4605deff43ce19713f6bb | refs/heads/master | 2021-05-24T12:05:50.290936 | 2020-04-27T23:54:41 | 2020-04-27T23:54:41 | 253,550,559 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 487 | cpp |
#include <string>
#include <iostream>
#include <typeinfo>
#include "word.h"
#include "letters.h"
#include "vertices.h"
Word::Word(std::string wd, float lt, float btm, float ht, Vertices& v)
{
left = lt;
bottom = btm;
height = ht;
width = ht * 0.6f;
space = ht * 0.1f;
float leftSpace = 0.0... | [
"shindelu@adobe.com"
] | shindelu@adobe.com |
6322c477da3901d4b11a3ab7cc0971b73a9fdbfe | e76c4e2c511d69f7f4b0e49e4740726b253c72a1 | /obstacle_runout/map/backup/MapItem.cpp | c41332be935c6d5fcc838d1612c9f4cfad0ad49a | [] | no_license | AlanHeiheihei/hill | 179361710f939ee6517ca0aaf4ba95ee90b23c9a | c70545b67fcf2b644b5b60fdb95bd671a32136d3 | refs/heads/master | 2020-04-05T02:55:02.761557 | 2018-11-10T16:06:27 | 2018-11-10T16:06:27 | 156,494,262 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,156 | cpp | #include "MapItem.h"
#include <QPainter>
#include <QMessageBox>
#include <cmath>
#include <fstream>
#include <sstream>
#include <iostream>
MapItem::MapItem() {
}
QRectF MapItem::boundingRect() const {
qreal penWidth = 1;
return QRectF(0 - penWidth / 2, 0 - penWidth / 2, itemWidth + penWidth, ... | [
"4096649@qq.com"
] | 4096649@qq.com |
335357faeebe592212234ab7a2a161ae8690d6bf | 433e639f430e7d2e15f9d72c5b4852acb4917abd | /bank/bank/accumulator.h | bfe20ae85eb3146a676317267851a43eff13d899 | [] | no_license | LiuZhe6/ShopProject | d9b9b39c9dcc7dafbfca58b968eed1d393ccbb28 | aea725a3e85bec7bb4f6b9c43ec8f2da7035c8fb | refs/heads/master | 2020-03-23T04:13:12.644345 | 2018-07-17T04:00:23 | 2018-07-17T04:00:23 | 141,070,749 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 699 | h | #pragma once
//accumulator.h
#ifndef _ACCUMULATOR_H__
#define _ACCUMULATOR_H__
#include "date.h"
class Accumulator {
private:
Date lastDate;
double value;
double sum;
public:
Accumulator(const Date& date, double value)
:lastDate(date), value(value), sum(0) {}
double getSum(const Date& date)const { //计... | [
"miuiclub@qq.com"
] | miuiclub@qq.com |
84e0f48b446cf139414f32ffe51e516def74aaa1 | 3d89ee9ed8070dc1b4acb2a8a203c5ab4921b3be | /frmRepoint.h | 076342180932a6395a59b4f356464e98bb73394d | [
"MIT"
] | permissive | interdpth/DoubleHelix-2 | 56d3c2a4ec9f569b2c7abdf624ffabd0a4eba58c | d494cc7957b7470b12779d2cde14b13285fa6396 | refs/heads/master | 2023-04-06T07:38:13.762296 | 2021-03-30T05:02:10 | 2021-03-30T05:02:10 | 156,651,568 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 75 | h | #pragma once
class frmRepoint
{
public:
frmRepoint();
~frmRepoint();
};
| [
"interdpth@gmail.com"
] | interdpth@gmail.com |
a3aaa885bbe3dd244cc2e4a49c5afa842e812d22 | 91b87ab3a04be816e4fb7eb4762ce3ddf4104b4d | /utility/vil_algo_plus.h | b209debfdc54e6ddeeb568db17903e78d9bb87f4 | [] | no_license | LiliMeng/MAVLocalization | 7dae0f1e7c7b62ffb5a1a59dafdc9c6475fcdf37 | 2bb61644c5e208854a09d1b3a5aa0e2831d1df3f | refs/heads/master | 2021-01-16T19:44:05.587631 | 2016-02-17T02:00:29 | 2016-02-17T02:00:29 | 51,674,054 | 0 | 1 | null | 2016-02-14T01:20:33 | 2016-02-14T01:20:31 | null | UTF-8 | C++ | false | false | 1,819 | h | //
// vil_algo_plus.h
// QuadCopter
//
// Created by jimmy on 7/9/15.
// Copyright (c) 2015 Nowhere Planet. All rights reserved.
//
#ifndef __QuadCopter__vil_algo_plus__
#define __QuadCopter__vil_algo_plus__
#include <vgl/vgl_point_2d.h>
#include <vcl_vector.h>
#include <vil/vil_image_view.h>
class VilAlgoPlus
{... | [
"jimmy@vpn23.cs.ubc.ca"
] | jimmy@vpn23.cs.ubc.ca |
f0490c56d504d9ff8e39256cb635aec66cbd8c4c | b8d116c857b13991366b58674a4dd1a96412b5bf | /src/materialsystem/stdshaders/BlurFilterY.cpp | 325e40690dee06f02209c4a3d4eebb84577cfd87 | [
"MIT"
] | permissive | SCell555/hl2-asw-port | 6eaa2a4f1f68f1dfb603657d469c42c85b2d9d1a | 16441f599c6b2d3fd051ee2805cc08680dedbb03 | refs/heads/master | 2021-01-17T18:21:59.547507 | 2016-05-12T17:09:21 | 2016-05-12T17:09:21 | 49,386,904 | 3 | 1 | null | 2016-01-10T21:45:46 | 2016-01-10T21:45:44 | null | WINDOWS-1252 | C++ | false | false | 4,016 | cpp | //===== Copyright © 1996-2005, Valve Corporation, All rights reserved. ======//
//
// Purpose:
//
//===========================================================================//
#include "BaseVSShader.h"
#include "blurfilter_vs20.inc"
#include "blurfilter_ps20b.inc"
// memdbgon must be the last include file in a .cp... | [
"kubci.rusnk645@gmail.com"
] | kubci.rusnk645@gmail.com |
09aab9cb3c7c0e2f46633ece4a426575882726e9 | 752572bd6010ef068c4851b55a261a2122f29094 | /aws-cpp-sdk-rds-data/include/aws/rds-data/RDSDataServiceClient.h | 6a61e9a9fa3f61cd32a3db0d3b619c20b48b8b17 | [
"Apache-2.0",
"MIT",
"JSON"
] | permissive | cnxtech/aws-sdk-cpp | 9b208792b2e81b3a22a850c3d0fbf4724dc65a99 | af8089f6277b8fec93c55a815c724444bd159a13 | refs/heads/master | 2023-08-15T02:01:42.569685 | 2019-05-08T20:39:01 | 2019-05-08T20:39:01 | 185,732,288 | 0 | 0 | Apache-2.0 | 2023-07-22T05:12:44 | 2019-05-09T05:30:49 | C++ | UTF-8 | C++ | false | false | 5,642 | h | /*
* Copyright 2010-2017 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... | [
"aws-sdk-cpp-automation@github.com"
] | aws-sdk-cpp-automation@github.com |
12a8841a781d8b8404697784a9955b70d0aa27f2 | ae2b5043e288f6129a895373515f5db81d3a36a7 | /xulrunner-sdk/include/nsIDOMGeoPosition.h | 685173ba34eab08d3ababb2e0f2e2afc02cbbca4 | [] | no_license | gh4ck3r/FirefoxOSInsight | c1307c82c2a4075648499ff429363f600c47276c | a7f3d9b6e557e229ddd70116ed2d27c4a553b314 | refs/heads/master | 2021-01-01T06:33:16.046113 | 2013-11-20T11:28:07 | 2013-11-20T11:28:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,156 | h | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/rel-m-rel-xr_lx_bld-0000000000/build/dom/interfaces/geolocation/nsIDOMGeoPosition.idl
*/
#ifndef __gen_nsIDOMGeoPosition_h__
#define __gen_nsIDOMGeoPosition_h__
#ifndef __gen_domstubs_h__
#include "domstubs.h"
#endif
#ifndef __gen_nsIDOMGeoPositionCoord... | [
"gh4ck3r@gmail.com"
] | gh4ck3r@gmail.com |
79df94130c68ef6bdf676f3b588d652ba127f82c | ec02c5694c995bf9cfa6c24d27be1b3893e5a3f4 | /framework/Armedroids/YesBtn.cpp | afc6f5073eb23f4418aa598df63a18d65ee17859 | [] | no_license | lewdif/Portfolio | 14bddb14105ea2a96b552e9f428876ede8a5182a | 845c152cee38618b67b632675ab2ac67e41ebc42 | refs/heads/master | 2021-10-11T15:55:27.440374 | 2019-01-28T07:03:37 | 2019-01-28T07:03:37 | 110,644,502 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,292 | cpp | #include "YesBtn.h"
#include "DeviceManager.h"
namespace CompEngine
{
void YesBtn::Init()
{
gameObject->AddTag("QuitBtn");
btnCounter = false;
sndCounter = false;
imgRect.LeftTop = Vec2(0, 0);
imgRect.RightBottom = Vec2(212, 100);
if (!gameObject->GetComponent("Transform2D"))
{
gameObject->AddCo... | [
"june7250@naver.com"
] | june7250@naver.com |
00f21f84769ea660556a7cb837c0f510bace97b8 | 68027e525081eb7168ddead73270660e0fb06f41 | /lib/src/PvrtcConverter.h | 0300f915a4e8de445c20ca97f326a1f61f054f26 | [
"Apache-2.0"
] | permissive | christetreault/Cuttlefish | 71908788e4a526f4f66754fe726594756ea66d57 | 6cc122ed6f1b7d1766f00552ddfcc21eabe627e1 | refs/heads/master | 2021-04-05T23:42:28.498338 | 2018-03-08T21:35:29 | 2018-03-09T15:30:13 | 124,447,663 | 0 | 0 | Apache-2.0 | 2018-03-08T21:01:26 | 2018-03-08T21:01:26 | null | UTF-8 | C++ | false | false | 1,251 | h | /*
* Copyright 2017 Aaron Barany
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | [
"akb825@gmail.com"
] | akb825@gmail.com |
d1ebe5a33bd263922d9c7985b7f30fe59aabdbcf | 30f8fabceaac8b4e53bb668792fbfdf7058b0df5 | /kw-release/client/tcpClient.cpp | f71274a82a3118d05d4ffa0669ad7fc1b63de1e1 | [] | no_license | thund3rcake/Kolobok-wars | b8fbc82d7d0270e6025bfbf31aeb4399f10127f9 | c1a03614ebe9d49f35c14eb52b05500337233704 | refs/heads/master | 2021-05-16T22:25:56.026400 | 2020-05-20T19:19:53 | 2020-05-20T19:19:53 | 250,494,522 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,870 | cpp | #include "TcpClient.h"
#include<GameScene.h>
/*
*
* TcpClient
*
*/
TcpClient::TcpClient(
const QHostAddress & server,
quint16 port,
QObject * parent,
... | [
"sunnut@localhost.localdomain"
] | sunnut@localhost.localdomain |
3fd74ea079fe148fdc5817b4e10106ceee5c5c1c | bd651e1157540a08dca1876e50dff901ee7a26cc | /Code/objecte.h | 413988cb8bdbd9ec16e068adb291cbf83a669636 | [] | no_license | hiteboar/Tributo_Zork | 66a15adae89c2bfe0d563179fdea62efcadbf3c9 | a665d1dbe65475e787e9c6513055bc0a864757be | refs/heads/master | 2021-01-10T10:06:30.279312 | 2016-01-20T15:42:14 | 2016-01-20T15:42:14 | 46,378,038 | 0 | 0 | null | null | null | null | ISO-8859-2 | C++ | false | false | 2,305 | h | #include <string>
#include <list>
class Objecte{
public:
enum tipus_obj { CAPSA, CONSUMIBLE, ESTANDARD, OBJECTE };
protected:
unsigned int id;
std::string descripcio = "";
std::string nom;
int plus_forca = 0;
tipus_obj tipus = OBJECTE;
public:
Objecte(){};
virtual ~Objecte(){};
int getId() { return id; }
... | [
"xisco.bosch.4a@gmail.com"
] | xisco.bosch.4a@gmail.com |
b8810dbd1449b6ad3dfbcd22fb6ac92b3d38d583 | bcb9cdda3f3d449be90846e6c4e81a9b9f5f0e99 | /solutions/vadim_radyno/6/sources/minute_market_data/minute_market_data.h | a2a11004d0ddc76ae8ee04f9b38a1d710d8f150a | [] | no_license | marozau/cpp_craft_0314 | 4b264c6956f303e7b89cd86cc712c13e1654eb89 | 4c2e312bf8c4d75d675c889e2b23bb6cace7aadb | refs/heads/master | 2021-01-20T05:04:51.826658 | 2014-06-12T13:49:52 | 2014-06-12T13:49:52 | 17,398,797 | 2 | 1 | null | 2014-07-09T06:51:42 | 2014-03-04T10:44:28 | C++ | UTF-8 | C++ | false | false | 264 | h | #ifndef _MINUTE_MARKET_DATA_H_
#define _MINUTE_MARKET_DATA_H_
#include <boost/thread.hpp>
namespace minute_market_data
{
static boost::condition_variable cond_var_press_ctrl_c;
class solution
{
public:
void start();
};
}
#endif // _MINUTE_MARKET_DATA_H_ | [
"vadimradyno@gmail.com"
] | vadimradyno@gmail.com |
8a252b2c5ada471b1335598c19309d5531486a53 | 02ae1489bfdc15f8fb3a79615092baefe693050e | /Kinect For SLR/kinectUI/kinectUI/CvvImage.h | a8642b03415c036623ae68306ec6bad4e9836c5d | [] | no_license | minimon/kinectHR | c312a758a5418697acd4f275d48f8cc079cc9e91 | 7dd745b2cebc136baac73014da97b72819874828 | refs/heads/master | 2020-05-30T12:55:17.426376 | 2014-09-21T08:04:38 | 2014-09-21T08:04:38 | null | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 2,092 | h | // 헤더 파일 부분
#ifndef CVVIMAGE_CLASS_DEF
#define CVVIMAGE_CLASS_DEF
#include <opencv.hpp>
#include "stdafx.h"
/* CvvImage class definition */
class CvvImage
{
public:
CvvImage();
virtual ~CvvImage();
/* Create image (BGR or grayscale) */
virtual bool Create( int width, int height, int bits... | [
"joong555@naver.com"
] | joong555@naver.com |
45f5a3550b1d3823daffe3d09f0372259e184ded | c40e0367b54a158c2af4c7862bc4f9e2be9e7935 | /stupid/posix/simple/inc/procesor.h | 7ebd6024f1b9e6e6848d40727ceef639edba7332 | [] | no_license | Kizarm/Stupid | f0623cb28e07c3b372c5a245f3db3c51d6853d4c | 880ca5b557918a051104a0727c450b6bbc44f3dc | refs/heads/master | 2022-09-12T21:15:56.912857 | 2022-08-20T13:08:38 | 2022-08-20T13:08:38 | 74,561,609 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,286 | h | /*###########################################################################*/
/*###########################################################################*/
/* */
/* implementace ... | [
"mrazik@volny.cz"
] | mrazik@volny.cz |
d05a7b3bc0957cac0a52ae8a01c126d2d365663c | ad80c85f09a98b1bfc47191c0e99f3d4559b10d4 | /code/src/tools/wfterrain.cc | e93fca4e6cd4940c3785d7a615b01cb5e43d7be0 | [] | no_license | DSPNerd/m-nebula | 76a4578f5504f6902e054ddd365b42672024de6d | 52a32902773c10cf1c6bc3dabefd2fd1587d83b3 | refs/heads/master | 2021-12-07T18:23:07.272880 | 2009-07-07T09:47:09 | 2009-07-07T09:47:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,375 | cc | //-------------------------------------------------------------------
// wfterrain.cc
// Generate height map for spherical terrain renderer
// from 3d model.
// Depends on Nebula stuff.
//
// 26-Oct-00 floh rewritten to wfObject
//
// (C) 2000 A.Weissflog
//------------------------------------------... | [
"plushe@411252de-2431-11de-b186-ef1da62b6547"
] | plushe@411252de-2431-11de-b186-ef1da62b6547 |
1528f4f88c97429239f309765358acfd04caf206 | 606ab028d34ca4bcdde91515aefdfc8b7e82df22 | /moled/src/scan.cpp | 16cfc864f612bdd7e6469621de42ce6db1a097d4 | [
"Apache-2.0"
] | permissive | lcamara/mole | bcc91ceda0759f8b2bd9b30a009684b3895c02d5 | 0116ed880aa537598357267526d8ecb34f5a177f | refs/heads/master | 2020-12-29T02:55:26.970277 | 2011-04-26T21:01:59 | 2011-04-26T21:01:59 | 1,698,002 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,139 | cpp | /*
* Mole - Mobile Organic Localisation Engine
* Copyright 2010 Nokia Corporation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
* ... | [
"ledlie@csail.mit.edu"
] | ledlie@csail.mit.edu |
d81c26843691c04c0d2377b48b220ae373e85134 | d45eae1d7d8a3b03266ca717ee2528a39ce8fe9c | /DFRobot_BosonAdcModule.h | 234fb05231f03753a85da324b947857aa70d2cad | [
"MIT"
] | permissive | cdjq/DFRobot_BosonADCModule | d9711d1c20d22fada45c1a160d4326bd32e94b9a | a0120d66dacd42d18532a5a46b64ba56bc83c960 | refs/heads/master | 2023-08-27T04:36:34.253728 | 2021-10-18T08:22:46 | 2021-10-18T08:22:46 | 417,345,219 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,044 | h | /*!
* @file DFRobot_BosonADCModule.h
* @brief Define infrastructure of DFRobot_BosonADCModule class
* @details 获取模块基本信息, 获取模拟量A1和A2
* @copyright Copyright (c) 2010 DFRobot Co.Ltd (http://www.dfrobot.com)
* @license The MIT License (MIT)
* @author [qsjhyy](yihuan.huang@dfrobot.com)
* @version V1.0
* @date... | [
"1484504974@qq.com"
] | 1484504974@qq.com |
66d4f09b0232cfaaddb6a1fa71c8f07341ed481a | 11679f3adec2b14ddeaa8b7a72536e3612bc4b44 | /sourceCode/pagesAndViews/SceneSelector.h | 51d248c6d7c94c3e68372c123742f936bdfcc199 | [] | no_license | dtbinh/vrep_altair | 26eadd039c0fe7e798b49486b187a21c743138bd | ad296b68b1deb11c49937e477ccee64b2e67050d | refs/heads/master | 2021-01-24T22:44:02.877012 | 2014-03-13T16:59:00 | 2014-03-13T16:59:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,488 | h | // This file is part of V-REP, the Virtual Robot Experimentation Platform.
//
// Copyright 2006-2014 Dr. Marc Andreas Freese. All rights reserved.
// marc@coppeliarobotics.com
// www.coppeliarobotics.com
//
// V-REP is dual-licensed, under the terms of EITHER (at your option):
// 1. V-REP commercial license... | [
"arena.riccardo@live.it"
] | arena.riccardo@live.it |
216e27fee17b15b431c2876a7a4fcd87f4c6b200 | 5d83739af703fb400857cecc69aadaf02e07f8d1 | /Archive2/e0/ba8387c019bd29/main.cpp | 196ff68c382f6144e3d5d3af016429550a2e07dc | [] | no_license | WhiZTiM/coliru | 3a6c4c0bdac566d1aa1c21818118ba70479b0f40 | 2c72c048846c082f943e6c7f9fa8d94aee76979f | refs/heads/master | 2021-01-01T05:10:33.812560 | 2015-08-24T19:09:22 | 2015-08-24T19:09:22 | 56,789,706 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21,046 | cpp | #include <atomic>
#include <queue>
#include <mutex>
#include <iostream>
#include <sstream>
#include <iostream>
#include <memory>
#include <string>
#include <map>
#include <iterator>
#include <memory>
#include <vector>
#include <future>
#include <stdexcept>
#include <functional>
#include <type_traits>
#include <conditio... | [
"francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df"
] | francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df |
c3f5a661b9589bac53214fa7ace6af60f6f6a935 | 0c6472b33b1518338d01f8b77d9e283f53c07bf9 | /2sat/main.cpp | 754dcc2f64f5759caa487410218656deda64793a | [] | no_license | armandanusca/algorithm_problems | 4e4104f953bbd9ec675e663065491ddc493c0e60 | 251320d344ed53a7195b442f035aeeac97969419 | refs/heads/main | 2023-07-12T18:07:21.977929 | 2021-08-25T15:32:21 | 2021-08-25T15:32:21 | 377,901,445 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,804 | cpp | #include <bits/stdc++.h>
#define nmax 100005
using namespace std;
int n,m;
vector <int> rel[2*nmax+5];
vector <int> irel[2*nmax+5];
int comp [2*nmax+5];
vector <int> lst , comp_val;
bool viz [2*nmax+5];
bool sol[nmax+5];
#define rel (rel+nmax)
#define irel (irel+nmax)
#define viz (viz+nmax)
#define... | [
"anusca.armand@gmail.com"
] | anusca.armand@gmail.com |
8a78499a6df9292e7d4a589d62b8f83a7831ab6b | 591df59d439e1d7cc630a6a5958e7a92c6bdaabc | /repository/manager/ConfigLoader.cpp | ff4d475031bbdc4156199e302a23e9c77456d1b3 | [] | no_license | kjhgnkv/DSControl_17_09 | b929ef051d7a17705bc963c1bcda96badf860463 | 03957e8153e3852cbf026ec37bdac340a6b23f24 | refs/heads/main | 2023-08-02T19:20:05.527221 | 2021-10-01T14:59:20 | 2021-10-01T14:59:20 | 412,485,720 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,851 | cpp | #include "ConfigLoader.hpp"
#include <QDebug>
#include <QDirIterator>
#include <QDomDocument>
#include <QFile>
#include <QJsonArray>
#include <QJsonObject>
#include <QTextStream>
#include <tuple>
namespace dsrepository
{
ConfigLoader::ConfigLoader()
: components_ {}
, componentsToRemove_ {}
, root_ {}
{
}
std::map<QS... | [
"yingfanyz@gmail.com"
] | yingfanyz@gmail.com |
f72c0f0e8138fe1665696509b0c9adf64bd623af | 2fb19bc9aaa85b70a4ec8d0e1881dff688ae794b | /Codeforces/codes/1136/1136E.cpp | 17e80905baf4cfa3ae8fafc2b1d30a09e2f89fec | [] | no_license | preritpaliwal/Competitive-Programming | 8f2b4f78006b7e7e8df02b04df681099d2effc77 | 805744f7b4d50ee621884f5280f9ef8779bb6866 | refs/heads/master | 2023-06-27T12:51:18.436807 | 2021-07-30T10:10:24 | 2021-07-30T10:10:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,477 | cpp | #include<bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
using namespace __gnu_pbds;
using namespace std;
#define mod 1000000007
#define lli long long
#define fi first
#define se second
#define pb emplace_back
#define FOR(i,n) for(int i=0;i<n;i++)
#define FORR(x,v) for(auto... | [
"kousshikraj.raj@gmail.com"
] | kousshikraj.raj@gmail.com |
21ffb7ddb04e188d861a77eccb8d1e21b78bb177 | 2f70c4b45ef4473f00597605d86428e64903bf3c | /src/checker/State.cpp | 62ecb9ce03391f3dfeb8c62d629508e72734f86c | [] | no_license | Voxed/epic-compiler | d96d0ba922ac24c196327d81b3a48beaa2acaf27 | 62534ed7015f259fb05fe4c1b2d0ebe7b67dc5f9 | refs/heads/master | 2023-08-19T17:04:16.239749 | 2021-10-04T02:57:41 | 2021-10-04T02:57:41 | 413,240,701 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,832 | cpp | #include "State.hpp"
#include "common/Exceptions.hpp"
#include "common/TypeDeducer.hpp"
namespace checker {
State::State(State* parent, ClassDescriptor* classDescriptor)
: parent(parent)
, doesReturn(false)
, classDescriptor(classDescriptor)
{}
void
State::PutVariable(const std::string& variable, parser::Type*... | [
"voxedg@gmail.com"
] | voxedg@gmail.com |
27489b9feabd37f10d690ce500a10720d7adb797 | e56d100ce7e183df367d6e969844bd84f0079dee | /wzemcmbd/CrdWzemNav/DlgWzemNavLoaini.cpp | 5208cf64229620a2cb3a59f8c051baf9ce79eb78 | [
"MIT"
] | permissive | mpsitech/wzem-WhizniumSBE-Engine-Monitor | 800b556dce0212a6f9ad7fbedbff4c87d9cb5421 | 2808427d328f45ad1e842e0455565eeb1a563adf | refs/heads/master | 2022-09-29T02:41:46.253166 | 2022-09-12T20:34:28 | 2022-09-12T20:34:28 | 282,705,563 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,624 | cpp | /**
* \file DlgWzemNavLoaini.cpp
* job handler for job DlgWzemNavLoaini (implementation)
* \copyright (C) 2016-2020 MPSI Technologies GmbH
* \author Alexander Wirthmueller (auto-generation)
* \date created: 1 Dec 2020
*/
// IP header --- ABOVE
#ifdef WZEMCMBD
#include <Wzemcmbd.h>
#else
#include <Wzemd.h>
#end... | [
"aw@mpsitech.com"
] | aw@mpsitech.com |
41cb46a882c0a1e50c2fddc67131e9a73706091c | bbcda48854d6890ad029d5973e011d4784d248d2 | /trunk/win/Source/Includes/QtIncludes/src/corelib/plugin/qfactoryloader_p.h | 5472ef8d3cae4391d8a66cb366f578c23b16452b | [
"MIT",
"curl",
"LGPL-2.1-or-later",
"BSD-3-Clause",
"BSL-1.0",
"Apache-2.0",
"LicenseRef-scancode-public-domain",
"LGPL-2.1-only",
"Zlib",
"LicenseRef-scancode-unknown",
"LicenseRef-scancode-unknown-license-reference",
"MS-LPL"
] | permissive | dyzmapl/BumpTop | 9c396f876e6a9ace1099b3b32e45612a388943ff | 1329ea41411c7368516b942d19add694af3d602f | refs/heads/master | 2020-12-20T22:42:55.100473 | 2020-01-25T21:00:08 | 2020-01-25T21:00:08 | 236,229,087 | 0 | 0 | Apache-2.0 | 2020-01-25T20:58:59 | 2020-01-25T20:58:58 | null | UTF-8 | C++ | false | false | 2,852 | h | /****************************************************************************
**
** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the QtCore module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:... | [
"anandx@google.com"
] | anandx@google.com |
854d425aeabf3a6462fe2687369062ffdceb302d | 8f50c262f89d3dc4f15f2f67eb76e686b8f808f5 | /PhysicsAnalysis/TauID/TauAnalysisTools/Root/DiTauEfficiencyCorrectionsTool.cxx | 8c7b91dca577c4af3ba638a57ef12400fdf2cd67 | [
"Apache-2.0"
] | permissive | strigazi/athena | 2d099e6aab4a94ab8b636ae681736da4e13ac5c9 | 354f92551294f7be678aebcd7b9d67d2c4448176 | refs/heads/master | 2022-12-09T02:05:30.632208 | 2020-09-03T14:03:18 | 2020-09-03T14:03:18 | 292,587,480 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 10,602 | cxx | /*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
*/
// EDM include(s):
#include "PATInterfaces/SystematicRegistry.h"
#include "xAODEventInfo/EventInfo.h"
// Local include(s):
#include "TauAnalysisTools/DiTauEfficiencyCorrectionsTool.h"
#include "TauAnalysisTools/Enums.h"
#include "TauAnaly... | [
"david.kirchmeier@cern.ch"
] | david.kirchmeier@cern.ch |
9c77f9b9a985570d7a5f14193ac26620e2bf4ecd | 25f1310b8258aa0096ad608d34ebeba9a2b29adc | /M_807.cpp | 29a52313a19a6e71a67e0bf59f054592668cc0aa | [] | no_license | FannyZhao123/leetCode | d21dfe4167a53ec614bb0829831d01e74bb46e16 | 3d98f05a343fa61b7613eff7017ee07be4f92be6 | refs/heads/master | 2022-12-14T21:02:29.304013 | 2020-09-05T00:39:47 | 2020-09-05T00:39:47 | 259,479,891 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,850 | cpp | /*
807. Max Increase to Keep City Skyline
In a 2 dimensional array grid, each value grid[i][j] represents the height of a building located there. We are allowed to increase the height of any number of buildings, by any amount (the amounts can be different for different buildings). Height 0 is considered to be a buildin... | [
"f25zhao@uwaterloo.ca"
] | f25zhao@uwaterloo.ca |
89fa07c305624ea5a380c6eb6c00f8ef7eb182e0 | 72fad310918bf9b23caff58440bc2b3e75f080e5 | /GameEngine/System/System.hpp | e5449e904ff9bec589218d831fab8ad84feee300 | [
"MIT"
] | permissive | Stun3R/Epitech-R-Type | 4ad131fa4a3a72475056e27f2d0f4f62da4ad56f | 3d6ef3bd5a937f50de996de2395c43c5115f0776 | refs/heads/main | 2023-01-13T02:22:51.919307 | 2020-11-18T17:13:50 | 2020-11-18T17:13:50 | 313,998,862 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 370 | hpp | /*
** EPITECH PROJECT, 2021
** R-TYPE
** File description:
** Created by stun3r,
*/
#ifndef SYSTEM_HPP
#define SYSTEM_HPP
#include "../Library.hpp"
class Manager;
class System {
public:
Manager &_manager;
explicit System(Manager &_manager) : _manager(_manager) {
}
virtual void updateEntities(float delta) {};... | [
"thibautdavid@icloud.com"
] | thibautdavid@icloud.com |
51c79894e286d8dcdbfcab6370ab3076bde32f39 | 08b8cf38e1936e8cec27f84af0d3727321cec9c4 | /data/crawl/squid/old_hunk_5543.cpp | 5c11d40e8b435f3102bba0ab8a478c82532ba971 | [] | no_license | ccdxc/logSurvey | eaf28e9c2d6307140b17986d5c05106d1fd8e943 | 6b80226e1667c1e0760ab39160893ee19b0e9fb1 | refs/heads/master | 2022-01-07T21:31:55.446839 | 2018-04-21T14:12:43 | 2018-04-21T14:12:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 38,138 | cpp | #include "squid.h"
#include "store_ufs.h"
#define DefaultLevelOneDirs 16
#define DefaultLevelTwoDirs 256
#define STORE_META_BUFSZ 4096
typedef struct _RebuildState RebuildState;
struct _RebuildState {
SwapDir *sd;
int n_read;
FILE *log;
int speed;
int curlvl1;
int curlvl2;
struct ... | [
"993273596@qq.com"
] | 993273596@qq.com |
40a9a19aa8e8d85d8d3f89c1c105dd16a429702a | 35da9be0bcc91853b6c13ee8499010eede5b4168 | /wayland/weston/wayland-ivi-extension/ivi-layermanagement-examples/LayerManagerControl/src/sceneio.cpp | 787034b34b3e09e4c01991d2543205c3d2f684b8 | [
"MIT",
"Apache-2.0"
] | permissive | wjhtinger/NV-samples | 147849108288c6a812d380998845d6650df5b254 | bfeece5d41aab77299ece8aab6d8e9f39f7d98d7 | refs/heads/master | 2021-09-01T06:16:36.371098 | 2017-12-25T08:56:33 | 2017-12-25T08:56:33 | 107,506,562 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 24,964 | cpp | /***************************************************************************
*
* Copyright 2012 BMW Car IT GmbH
*
*
* 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://ww... | [
"wjhtinger@yeah.net"
] | wjhtinger@yeah.net |
4e456eeee054cafb92c787cc310d7fb216395cc5 | e456985f34d1911b20597fed1a1003a2adb2c9d8 | /dangdone/DangPointer/framework/ASTElement.h | 4e7c2992eceef2cf1238b8bcdcf25f21344db3d1 | [
"MIT"
] | permissive | DANGDONE/project | bee0e80730b3c6b991da61146891e8ec6dd1dc89 | fc4e1f9119a2c317664d5e44a36dd5dbe3e3a9ce | refs/heads/master | 2020-05-22T04:23:09.381964 | 2016-11-11T02:26:49 | 2016-11-11T02:26:49 | 65,781,214 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,518 | h |
#ifndef AST_ELEMENT_H
#define AST_ELEMENT_H
#include <string>
#include <vector>
#include "Common.h"
#include "clang/Frontend/ASTUnit.h"
using namespace clang;
class ASTFunction;
class ASTVariable;
class ASTFile {
public:
ASTFile(unsigned id, std::string AST) : id(id), AST(AST) {};
const std::strin... | [
"njuseg2016@163.com"
] | njuseg2016@163.com |
70b62a4c10350c34b6c98966bb81281fb08405d1 | 418a509ec9ec1fa785edcdb615b1e1811da02079 | /code/cpp/MergeSortedArray.cpp | eaff9495df5c930df596f98944011286fb194481 | [] | no_license | carlosten1989/Leetcode | 9007bf3df7c03bee4cc8d371473a78ddc1ad5aac | 72229a0fd0a6e705e8ad0b593f5fec21183091f2 | refs/heads/master | 2016-09-09T20:45:02.558514 | 2014-10-08T13:19:23 | 2014-10-08T13:19:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 332 | cpp | class Solution {
public:
void merge(int A[], int m, int B[], int n) {
int l = m + n;
while(m && n) {
if(A[m-1] > B[n-1]) {
A[--l] = A[--m];
} else {
A[--l] = B[--n];
}
}
while(n) {
A[--l] = B[--n];
... | [
"lj007john@163.com"
] | lj007john@163.com |
340282d552e5f24680088ec8dd8896eaf6db0b47 | 1ad5f2621a4f6bc255eb0b4bf707df92d72c8e85 | /Agsearch/Agsearch/node.h | 5378ad5ac23ba61beeb2ba36d04b6a855d13aee8 | [] | no_license | tommylin1212/AGsearch | 12c1cb16e25da40b6e768bdb58730bd4445ea701 | 51b832773c8bd55bf8192eed668234de57657073 | refs/heads/master | 2021-01-25T10:21:39.857286 | 2018-03-03T00:04:21 | 2018-03-03T00:04:21 | 123,349,612 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 513 | h | #ifndef NODE_H
#define NODE_H
#include "globals.h"
#include <iostream>
#include <string>
class Node {
public:
Node();
Node(Node*, std::string, double cost,double hcost);
std::string getName() const;
double getcost() const;
bool operator==(const Node&);
bool operator<(const Node&);
void print() const;
void tra... | [
"cwill.i.am.tomlin@gmail.com"
] | cwill.i.am.tomlin@gmail.com |
854904a502c101abbc8b5bf94bac29df8b093c6c | 119848599720941bf1c4740ea201bb6f5bc5a7bf | /D04/ex01/src/SuperMutant.cpp | 3622f1ecb28aaf53bc52e1704f35251154f4c439 | [] | no_license | stmartins/piscine_cpp | 22981f0544808af9832345311a049f8358b049ae | 9acc41cae123a51efec94df1571f21c78b702c11 | refs/heads/master | 2021-04-06T04:21:47.530808 | 2018-04-06T14:40:09 | 2018-04-06T14:40:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 560 | cpp | #include "SuperMutant.hpp"
SuperMutant::SuperMutant(SuperMutant const & src)
{
*this = src;
return ;
}
SuperMutant::SuperMutant(void): Enemy(170, "Super Mutant")
{
std::cout << "Gaaah. Me want smash heads !" << std::endl;
return ;
}
SuperMutant::~SuperMutant(void)
{
std::cout << "Aaargh ..." << std::endl;
... | [
"phaninho@live.fr"
] | phaninho@live.fr |
6f183d246718d79ef1b746245b6f78c9a289afe6 | b1008277f3c9103de6b434e4f3f62d6206e6873e | /PhysicsRel/Box2DEditor/source/Game/MyLib/Primitives/CirclePrim.cpp | 72ad25ff5418de05a7d56e385d79b8c473ddc710 | [] | no_license | manojyerra/OpenGL | b8bd9af9d3a63f74d810593d9608ca38c397187b | d241d6c2a6b245592b3a611f6880101e360a83b0 | refs/heads/master | 2022-12-10T12:34:48.137998 | 2019-11-10T05:40:53 | 2019-11-10T05:40:53 | 88,062,264 | 0 | 1 | null | 2022-12-09T19:28:30 | 2017-04-12T14:37:51 | C | UTF-8 | C++ | false | false | 1,868 | cpp | #include "CirclePrim.h"
#include "AddData.h"
#include "Collisions.h"
#include "Circle.h"
#include "Rect2D.h"
#include <math.h>
CirclePrim::CirclePrim(float cx, float cy, float r)
{
_cx = cx;
_cy = cy;
_radius = r;
}
bool CirclePrim::Contains(float x, float y)
{
return ((_cx - x)*(_cx - x) + (_cy - y)*(_cy - y)) <... | [
"manojyerra@gmail.com"
] | manojyerra@gmail.com |
664cf07fdae824d2eb526a902ab93d63483dd95f | f85cfed4ae3c54b5d31b43e10435bb4fc4875d7e | /sc-virt/src/tools/clang/test/Modules/explicit-build.cpp | a6f6a6268c15f1abe329b3a82111a39a33be4fc5 | [
"NCSA",
"MIT"
] | permissive | archercreat/dta-vs-osc | 2f495f74e0a67d3672c1fc11ecb812d3bc116210 | b39f4d4eb6ffea501025fc3e07622251c2118fe0 | refs/heads/main | 2023-08-01T01:54:05.925289 | 2021-09-05T21:00:35 | 2021-09-05T21:00:35 | 438,047,267 | 1 | 1 | MIT | 2021-12-13T22:45:20 | 2021-12-13T22:45:19 | null | UTF-8 | C++ | false | false | 10,808 | cpp | // RUN: rm -rf %t
// -------------------------------
// Build chained modules A, B, and C
// RUN: %clang_cc1 -x c++ -std=c++11 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -Rmodule-build -fno-modules-error-recovery \
// RUN: -fmodule-name=a -emit-module %S/Inputs/explicit-build/module.modulemap ... | [
"sebi@quantstamp.com"
] | sebi@quantstamp.com |
17fb262ef8a86c48fe623d3b03e895f71d8a8032 | c993c413376b512a568ad64180833a74ffdbe204 | /Bai1.4/Bai1.4/main.cpp | 078798d721f9aa270e6aff462cd55eaf6a085162 | [] | no_license | AnhNguyen92/DoHoaUngDung | e06fcd91ac96077947e7f30be2ed574fb7a3fcff | c62defb6126c0e75bed2e1a42e53cd3f490f6dd2 | refs/heads/master | 2020-09-07T09:15:07.137010 | 2019-11-10T18:25:12 | 2019-11-10T18:25:12 | 220,734,983 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,485 | cpp | #include "GLUT/glut.h"
#include "OpenGL/gl.h"
GLfloat v0[2] = {1,1};
GLfloat v1[2] = {2,3};
GLfloat v2[2] = {4,1};
GLfloat v3[2] = {6,2};
GLfloat v4[2] = {9,3};
GLfloat v5[2] = {7,5};
void myInit()
{
glClearColor(1.0,1.0,1.0,0.0);
glMatrixMode(GL_PROJECTION);
glLoadIdentity();
gluOrtho2D(0.0, 9, ... | [
"anh.nguyen@idsolutions.com.vn"
] | anh.nguyen@idsolutions.com.vn |
727cc8933b0fb65f695c434d499e3a4f248be220 | bdfe965225a849fcb126623be1556bf059de7df6 | /UVA_10591 - Happy Number.cpp | f32c906aa34f4de0172b71756a0f39b17ee32e52 | [] | no_license | rabelhmd/UVA-Solutions | 84607f333a8145fedccb73dd0fa694c25516d4ca | 562d90fdf075f75d8e0669c749aa865c57d690d6 | refs/heads/master | 2021-07-15T16:01:21.697126 | 2017-10-20T07:01:26 | 2017-10-20T07:01:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 688 | cpp | #include <bits/stdc++.h>
using namespace std;
int Happy(int N)
{
int sum = 0;
if(N <= 9)
return N;
while(N!=0)
{
sum += ((N%10)*(N%10));
N/=10;
}
Happy(sum);
}
int main()
{
int T, Case = 0;
cin >> T;
while(T--)
{
Case++;
int N;
c... | [
"rabelhmd@gmail.com"
] | rabelhmd@gmail.com |
f40200b01235f042c483b2f08ab6324ba633781e | 141b07a7747a82ce589b6fa4e0d4c3f2f2fc8953 | /01-July-2021/find-and-replace-pattern/Accepted/5-21-2021, 9:37:07 AM/Solution.cpp | 090018fb6f7f6a43d018b9f307a8ab1c63b766e3 | [] | no_license | tonymontaro/leetcode-submissions | f5f8b996868bfd63ddb43f3c98f8a7abef17927e | 146f435d9ab792e197e5f85f1f2f4451f5a75d3f | refs/heads/main | 2023-06-06T01:28:45.793095 | 2021-07-01T07:05:15 | 2021-07-01T07:05:15 | 381,935,473 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 854 | cpp | // https://leetcode.com/problems/find-and-replace-pattern
class Solution {
public:
vector<string> findAndReplacePattern(vector<string>& words, string pattern) {
vector<string> ans;
for (auto &word: words) {
map<char, char> seen;
set<char> used;
bool isValid = tru... | [
"ngeneanthony@gmail.com"
] | ngeneanthony@gmail.com |
7ec439ab8e390e5df153bf96b0fbc10a66c27b95 | 778b6fdf2bbf6b0e6b9298d0ff4f78f967e231cf | /raymini/Object.h | 78442c3aa94dbc9d343734aeb3040c088e958926 | [] | no_license | rfaugeroux/RayTracer | a67c0bfffdc8d9fc841ed4bb6d7c09e0bad2aea0 | 3ecc73137430e469454da2c41e687cbf501bc5e0 | refs/heads/master | 2021-01-10T20:46:58.165152 | 2014-08-09T19:01:53 | 2014-08-09T19:01:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,389 | h | // *********************************************************
// Object Class
// Author : Tamy Boubekeur (boubek@gmail.com).
// Copyright (C) 2010 Tamy Boubekeur.
// All rights reserved.
// *********************************************************
#ifndef OBJECT_H
#define OBJECT_H
#include <iostream>
#include <vector>... | [
"romain.faugeroux@gmail.com"
] | romain.faugeroux@gmail.com |
9756cb39ddcdf1ef0dc019608643d5614db76c18 | cc526451b58f2a816354545707c3b3aa5042af00 | /compiler/src/db/program_element.h | 39642938224cb4bdc924f9ff0fec69dea2f62b9c | [] | no_license | MichaelBelousov/Fluster | 8a6fa0cc893caa1bbd9a002deb8c7f89ba4917a7 | 6af7de245237d7627e659cd64aaf2753539137e3 | refs/heads/master | 2020-05-19T16:19:22.356968 | 2019-06-13T16:49:42 | 2019-06-14T14:40:21 | 185,104,777 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,579 | h | #ifndef FLUSTER_COMPILER_DB_PROGRAM_ELEMENT
#define FLUSTER_COMPILER_DB_PROGRAM_ELEMENT
#include <memory>
#include <utility>
#include <llvm/IR/Value.h>
#include "util/ptr.h"
#include "name.h"
#include "path.h"
/*
* A ProgramElement is constructed by AST nodes and committed to a ProgramDatabase.
* They are named, an... | [
"michael.belousov98@gmail.com"
] | michael.belousov98@gmail.com |
f675af2871504bc0f73723c1c95af65fca57373d | 0dae9fffb92224146c36dba312c2caf426a9a886 | /208.cpp | ea2440c712edbfe540a5016a2103a6be4b3267f5 | [] | no_license | TonyChouZJU/PAT | d2c2e44691758bc31554d1bc7d74767f79d14fc1 | 10e1ee29ce0954a78ea07d8bd4d94260bf9daf0d | refs/heads/master | 2021-01-23T09:51:26.259988 | 2015-02-28T15:21:16 | 2015-02-28T15:21:16 | 20,728,323 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,510 | cpp | #include <iostream>
#include <string>
#include <sstream>
#include <cmath>
using namespace std;
const double PRECISION = 1E-6;
double N[4];
string expression[4];
bool search_24(int n)
{
if(n == 1)
{
if(fabs(N[0]-24)<PRECISION)
{
cout << expression[0];
return true;
}
else
return false;
}
for ( int i = ... | [
"zhoudaxia@zhoudaxia-P467.(none)"
] | zhoudaxia@zhoudaxia-P467.(none) |
65968932300b13a4f8d753f580c400b9c514bb0f | c1330d94032981051c80e111f8e8c0ffecac035d | /Publisher/Publisher.h | 02c1593cb2b68762b36e8268ae1efeb3cdebf5ea | [] | no_license | SirichandanaSambatur/RCP | 7f049f3feed1e3b590a8ed3af0d3953df8e4a920 | 1b9ba9efc5b95963708391e2590c213a11a3f654 | refs/heads/master | 2021-06-26T11:34:03.297542 | 2017-09-12T03:10:03 | 2017-09-12T03:10:03 | 103,211,364 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,465 | h | #pragma once
/////////////////////////////////////////////////////////////////////////////////////////
// Publisher.h - Publish the given list of files as HTML files on the browser //
// ver 1.0 //
// Language: Visual C++ 201... | [
"sambatur.siri@yahoo.com"
] | sambatur.siri@yahoo.com |
c9d326d9154a6138f2e4dd576e91f523a18ed5f5 | 95da45e333d762f8d8229fefec58d79facf3b15a | /HDOJ/5317.RGCDQ.cpp | a326cdf6950211c991bec0a300ab93d98362a2cf | [] | no_license | Xiao-Jian/ACM-Training | 592552c84f031ea4bafd8b85bba063d8171f8548 | 5dec492cc86a349a0d7673fa022410a52bae1246 | refs/heads/master | 2016-09-05T19:26:24.824149 | 2015-11-29T06:24:45 | 2015-11-29T06:24:45 | 39,362,552 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,498 | cpp | /*
OJ: HDOJ
ID: forever
TASK: 5317.RGCDQ
LANG: C++
NOTE: Range Greatest Common Divisor Query
*/
#include <cstdio>
#include <iostream>
#include <cstring>
#include <algorithm>
#include <cmath>
#include <vector>
#include <set>
#define MAX 1000011
using namespace std;
int num[10],f[MAX];
bool isPrime[MAX];
int dp[10][MAX]... | [
"1215615213@qq.com"
] | 1215615213@qq.com |
f3ba5f69ffc86e5f5e5330839f84f3e63b57ee10 | cdb2ce5282412cb1f5c1390e4db28b1391fe5e09 | /ClassfierForTest/src/ReturnValue.h | fb2c318462ec9b587183b0d38a80c5310f8dc275 | [] | no_license | baobao0718/Classifier | 6095a7a8f043b8a1dd051823d6cc0e53a70cf206 | 674bad7a608035b6a9eafd8c1d3f8af0f26e42de | refs/heads/master | 2020-06-07T12:34:33.389168 | 2012-08-09T07:38:00 | 2012-08-09T07:38:00 | 5,352,133 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 96 | h | class ReturnValue{
public :
int xc_in,yc_in;
float prox_in[64];
float proy_in[64];
};
| [
"112989666@qq.com"
] | 112989666@qq.com |
da83da3033ff220ed2c5a5f6d34103b9ff0601bf | 54cd2cca6dea49b4f96f50b4a54db2673edff478 | /51CTO下载-钱能c++第二版源码/ch12/f1201.cpp | 981e02be15aae859f8ec97405395839f4c95c682 | [] | no_license | fashioning/Leetcode | 2b13dec74af05b184844da177c98249897204206 | 2a21c369afa3509806c748ac60867d3a0da70c94 | refs/heads/master | 2020-12-30T10:23:17.562412 | 2018-10-22T14:19:06 | 2018-10-22T14:19:06 | 40,231,848 | 0 | 0 | null | 2018-10-22T14:19:07 | 2015-08-05T07:40:24 | C++ | WINDOWS-1252 | C++ | false | false | 405 | cpp | //=====================================
// f1201.cpp
// ¼Ì³ÐÓë³ÉÔ±¸²¸Ç
//=====================================
#include"student.h"
#include"graduatestudent.h"
//-------------------------------------
int main(){
Student ds("Lo lee undergrade");
GraduateStudent gs;
ds.addCourse (3, 2.5);
ds.display();
gs.addCou... | [
"fashioning@126.com"
] | fashioning@126.com |
4a65500228dc3e5551c5df221a4943866bcc4a84 | 49a56e6799208f9ca7e7eb0ac31f77b78ffe94d8 | /include/ROSUnit_UpdateReferenceY.hpp | 3e8f3f2ef764f9f16b0232844074e9fe3d704977 | [
"BSD-3-Clause"
] | permissive | yousef-a/positioning_system | 39f3d639dd63ea52da21760983a0b9bd7fb6cdaa | a9554e1a96f7e52df75e71a826b7c736b95c1b19 | refs/heads/master | 2020-12-03T05:41:12.566441 | 2020-01-07T18:05:20 | 2020-01-07T18:05:20 | 231,216,821 | 0 | 0 | BSD-3-Clause | 2020-01-06T11:41:57 | 2020-01-01T12:59:06 | null | UTF-8 | C++ | false | false | 799 | hpp | #pragma once
#include "ROSUnit.hpp"
#include "FlightScenarioMessage.hpp"
#include "UpdatePoseMessage.hpp"
#include <positioning_system/Update_Y_Reference.h>
#include "Vector3D.hpp"
class ROSUnit_UpdateReferenceY : public ROSUnit{
private:
//TODO receive msgs from a service through a callback
sta... | [
"pedro.silva@ku.ac.ae"
] | pedro.silva@ku.ac.ae |
613b459a5b7d8b7fcd5149fd882dd5a9e0e4a96d | b608b2330e24a05f0c3f68741db22d788e0f6b42 | /ch4/drill1.cpp | 6ad47c427d8ba79411157aceef63ca854bbb8e2a | [] | no_license | ia-kamog/stroustrup_programming | 1ebdc88ef09e82f2b1934536dd5c6b5669e9f53f | c53c06c5951e364ee323733bb8e1f28f85b36e71 | refs/heads/master | 2020-03-20T02:25:13.458049 | 2018-07-10T06:24:29 | 2018-07-10T06:24:29 | 137,112,349 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 171 | cpp | // Drill 1: read two integers in a while loop
#include "std_lib_facilities.h"
int main()
{
int a, b;
while (cin >> a >> b)
cout << a << '\t' << b << '\n';
}
| [
"ia.kamog@ya.ru"
] | ia.kamog@ya.ru |
73dc44af7999c3302f0e768e1a6ca4f98df3a6cd | e59bde40f7c438dcf3bb73fb7067e0bdce7f2ff4 | /shop_console/shop_console.cpp | 96ef480b7792bd292eb23b308541c5ab7ef4e81a | [] | no_license | Alelluja/shop-in-console | 26ac08dc8ccbad8c193b17da7dbf03b6b405c061 | 6f8e162385bba2f5a7696b0b589252bbdacc0de6 | refs/heads/main | 2023-06-17T16:09:44.790874 | 2021-07-21T14:27:17 | 2021-07-21T14:27:17 | 308,449,002 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,459 | cpp | #include <iostream>
#include <vector>
#include <array>
#include <fstream>
#include <string>
float user_money = 1000.0;
class shopping_cart_data
{
public:
unsigned int game_id;
unsigned int game_price;
public:
std::string game_name;
};
class game_data
{
public:
unsigned int price;
public:
std::string type;
s... | [
"hubert.st@onet.pl"
] | hubert.st@onet.pl |
fa5953ab4d7f2fc94646c0fdf85bddd9caecea51 | 2cf838b54b556987cfc49f42935f8aa7563ea1f4 | /aws-cpp-sdk-ecr/include/aws/ecr/model/DeleteRegistryPolicyRequest.h | 47653f63342bf735544844a69ce6e7c8b1052ae7 | [
"MIT",
"Apache-2.0",
"JSON"
] | permissive | QPC-database/aws-sdk-cpp | d11e9f0ff6958c64e793c87a49f1e034813dac32 | 9f83105f7e07fe04380232981ab073c247d6fc85 | refs/heads/main | 2023-06-14T17:41:04.817304 | 2021-07-09T20:28:20 | 2021-07-09T20:28:20 | 384,714,703 | 1 | 0 | Apache-2.0 | 2021-07-10T14:16:41 | 2021-07-10T14:16:41 | null | UTF-8 | C++ | false | false | 1,034 | h | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/ecr/ECR_EXPORTS.h>
#include <aws/ecr/ECRRequest.h>
namespace Aws
{
namespace ECR
{
namespace Model
{
/**
*/
class AWS_ECR_API DeleteRegistryPolicyRequest : public E... | [
"aws-sdk-cpp-automation@github.com"
] | aws-sdk-cpp-automation@github.com |
b2c23aa6aa343b87d770e029967bb03d2ed96dbc | 9b422fbf0742b18d60717f150b5466eae911fe00 | /IslandPerimeter.cpp | fcb6468799305812d4e64560fd89cb9876360df6 | [] | no_license | ShubhikaBhardwaj/Leetcode-Coding | e8621ac8358056fece1dde154856968e1cb1f442 | bd8901e41e6381b034caf5cd5c9b245c065e9ebd | refs/heads/master | 2022-11-19T14:40:35.925791 | 2020-07-23T20:17:31 | 2020-07-23T20:17:31 | 277,086,172 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,053 | cpp |
class Solution {
public:
int islandPerimeter(vector<vector<int>>& grid) {
int N=grid.size();
if(N==0)return 0;
int M=grid[0].size();
if(M==0)return M;
int count=0;
int neighbours=0;
for(int i=0;i<N;i++)
{ for(int j=0;j<M... | [
"shubhikabhardwaj@gmail.com"
] | shubhikabhardwaj@gmail.com |
2655a16a0b023124441f7e3f3da75fcd67b85ffb | a91796ab826878e54d91c32249f45bb919e0c149 | /modules/dnn/src/cuda4dnn/kernels/padding.hpp | cb55e99f8407e30c974351b844ea8d361f7f3d3e | [
"Apache-2.0"
] | permissive | opencv/opencv | 8f1c8b5a16980f78de7c6e73a4340d302d1211cc | a308dfca9856574d37abe7628b965e29861fb105 | refs/heads/4.x | 2023-09-01T12:37:49.132527 | 2023-08-30T06:53:59 | 2023-08-30T06:53:59 | 5,108,051 | 68,495 | 62,910 | Apache-2.0 | 2023-09-14T17:37:48 | 2012-07-19T09:40:17 | C++ | UTF-8 | C++ | false | false | 815 | hpp | // This file is part of OpenCV project.
// It is subject to the license terms in the LICENSE file found in the top-level directory
// of this distribution and at http://opencv.org/license.html.
#ifndef OPENCV_DNN_SRC_CUDA4DNN_KERNELS_PADDING_HPP
#define OPENCV_DNN_SRC_CUDA4DNN_KERNELS_PADDING_HPP
#include "../csl/str... | [
"alexander.a.alekhin@gmail.com"
] | alexander.a.alekhin@gmail.com |
d637b1bf63f421ac7353131a78a02e92a52ac081 | 5d83739af703fb400857cecc69aadaf02e07f8d1 | /Archive2/d8/c88d5c1ad3c5aa/main.cpp | 5f6cfabf33e742f456e18ef7d759761f2c544ed5 | [] | no_license | WhiZTiM/coliru | 3a6c4c0bdac566d1aa1c21818118ba70479b0f40 | 2c72c048846c082f943e6c7f9fa8d94aee76979f | refs/heads/master | 2021-01-01T05:10:33.812560 | 2015-08-24T19:09:22 | 2015-08-24T19:09:22 | 56,789,706 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,008 | cpp | #include <iostream>
#include <algorithm>
#include <numeric>
#include <chrono>
static auto matching_characters(std::string const &s1, std::string const &s2) {
int s1_char_frequencies[256] = {};
int s2_char_frequencies[256] = {};
for_each(begin(s1), end(s1),
[&](unsigned char c) { ++s1_char_frequencies[... | [
"francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df"
] | francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df |
b9ead85730798c1b02d7697a97d2f519517ca466 | d7daa1c9473ed169db03c0a84581cfb20253a3d0 | /src/modules/file-formats/TIFF/TIFF.h | 52d06f49f8c271e8faf8e791a505f25c35255c12 | [
"LicenseRef-scancode-other-permissive"
] | permissive | ksAlpha001/PCL | 8986a360478ae8d1b01491efb81df5308ddb21a6 | 5c2d45a4b5a9fceacc0be08dc07d9100f19b0b7b | refs/heads/master | 2023-03-15T01:48:32.964335 | 2017-05-01T08:50:05 | 2017-05-01T08:50:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,708 | h | // ____ ______ __
// / __ \ / ____// /
// / /_/ // / / /
// / ____// /___ / /___ PixInsight Class Library
// /_/ \____//_____/ PCL 02.01.03.0819
// ----------------------------------------------------------------------------
// Standard TIFF File Format Module Version 01.00.07.0307
// -----------... | [
"juan.conejero@pixinsight.com"
] | juan.conejero@pixinsight.com |
057b921fec8b10a6c0b433f0fdd8fafc3cdb788e | 28dba754ddf8211d754dd4a6b0704bbedb2bd373 | /Spoj/AIBOHP.cpp | 8ce2e3745a7fbc04b1efd46844d02ac0458c7561 | [] | no_license | zjsxzy/algo | 599354679bd72ef20c724bb50b42fce65ceab76f | a84494969952f981bfdc38003f7269e5c80a142e | refs/heads/master | 2023-08-31T17:00:53.393421 | 2023-08-19T14:20:31 | 2023-08-19T14:20:31 | 10,140,040 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 828 | cpp | #include <map>
#include <set>
#include <list>
#include <cmath>
#include <queue>
#include <stack>
#include <bitset>
#include <vector>
#include <cstdio>
#include <string>
#include <sstream>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <algorithm>
using namespace std;
const int MAXN = 6100 + 10;
cha... | [
"zjsxzy@gmail.com"
] | zjsxzy@gmail.com |
22229540d16717d22f9281dc328e7e6f2c7a4f49 | 009851177d04a441141113189125a91a26f4dc74 | /node/src/node_sockaddr.h | 2e3ae09ce3bb8df4a37a11cf0ce5117cba9c7425 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference",
"NAIST-2003",
"Zlib",
"Artistic-2.0",
"NTP",
"CC0-1.0",
"LicenseRef-scancode-public-domain-disclaimer",
"ISC",
"LicenseRef-scancode-openssl",
"LicenseRef-scancode-unicode",
"Apache-2.0",
"LicenseRef-scancode-public-domain",
"ICU",
"... | permissive | xuelongqy/cnode | a967f9e71315b10d3870192b4bbe2c341b196507 | ac256264d329e68b6c5ae3281b0e7bb5a95ae164 | refs/heads/master | 2023-01-30T11:23:41.485647 | 2020-03-25T05:55:13 | 2020-03-25T05:55:13 | 246,811,631 | 0 | 1 | MIT | 2023-01-07T15:54:34 | 2020-03-12T10:58:07 | C++ | UTF-8 | C++ | false | false | 3,640 | h | #ifndef SRC_NODE_SOCKADDR_H_
#define SRC_NODE_SOCKADDR_H_
#if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS
#include "env.h"
#include "memory_tracker.h"
#include "node.h"
#include "uv.h"
#include "v8.h"
#include <string>
#include <unordered_map>
namespace node {
class SocketAddress : public MemoryRetainer {
... | [
"59814509@qq.com"
] | 59814509@qq.com |
38594e7cd551b4237f6b2e252835d8e7447a530c | 560090526e32e009e2e9331e8a2b4f1e7861a5e8 | /Compiled/blaze-3.2/blaze/math/typetraits/HasSIMDInvSqrt.h | d844f4dfc4a8cc7f8df1fb8bceefb7362b439198 | [
"BSD-3-Clause"
] | permissive | jcd1994/MatlabTools | 9a4c1f8190b5ceda102201799cc6c483c0a7b6f7 | 2cc7eac920b8c066338b1a0ac495f0dbdb4c75c1 | refs/heads/master | 2021-01-18T03:05:19.351404 | 2018-02-14T02:17:07 | 2018-02-14T02:17:07 | 84,264,330 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,494 | h | //=================================================================================================
/*!
// \file blaze/math/typetraits/HasSIMDInvSqrt.h
// \brief Header file for the HasSIMDInvSqrt type trait
//
// Copyright (C) 2012-2017 Klaus Iglberger - All Rights Reserved
//
// This file is part of the Blaze lib... | [
"jonathan.doucette@alumni.ubc.ca"
] | jonathan.doucette@alumni.ubc.ca |
90cf709c221c8d781c206f13cb90e3c48b521d44 | 38c10c01007624cd2056884f25e0d6ab85442194 | /third_party/WebKit/Source/core/svg/properties/SVGAnimatedProperty.h | 4fe552ffe8ff0568de7e23dcc601b9e18f442b3c | [
"BSD-3-Clause",
"BSD-2-Clause",
"LGPL-2.0-only",
"LGPL-2.1-only",
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT",
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer",
"GPL-2.0-only",
"LicenseRef-scancode-other-copyleft"
] | permissive | zenoalbisser/chromium | 6ecf37b6c030c84f1b26282bc4ef95769c62a9b2 | e71f21b9b4b9b839f5093301974a45545dad2691 | refs/heads/master | 2022-12-25T14:23:18.568575 | 2016-07-14T21:49:52 | 2016-07-23T08:02:51 | 63,980,627 | 0 | 2 | BSD-3-Clause | 2022-12-12T12:43:41 | 2016-07-22T20:14:04 | null | UTF-8 | C++ | false | false | 12,027 | h | /*
* Copyright (C) 2013 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditio... | [
"zeno.albisser@hemispherian.com"
] | zeno.albisser@hemispherian.com |
a2653126ee9376ec18f4bdbdc54ac5526692a31e | 703dbe9e66a5016fd76858d7153091876cd38d98 | /Source/SimpleShooter/BTService_PlayerLocation.h | 0f43ea4a6cca29af9ec887e865fc401057d532ef | [] | no_license | ImprobableImprov/Shooter-Multiplayer-Game | 196f2c7d09d91c604cdb708646da00ebf491f4c9 | e7c4718271b75cc112a077872d30eac8d837c406 | refs/heads/main | 2023-02-25T14:47:38.657878 | 2021-01-26T04:58:08 | 2021-01-26T04:58:08 | 330,248,596 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 517 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "BehaviorTree/Services/BTService_BlackboardBase.h"
#include "BTService_PlayerLocation.generated.h"
/**
*
*/
UCLASS()
class SIMPLESHOOTER_API UBTService_PlayerLocation : public UBTService_B... | [
"travisshu8@gmail.com"
] | travisshu8@gmail.com |
1084d83a9618344871b5e2334ad89f95ca8ebd73 | 1e87e8226622e017a444ba273aa387170f013cd9 | /TragischeBibliotheek/TragicLibrary/TragicLibrary/Library.cpp | 0610bfdeb50cefbc4606191e9045e973827f142e | [] | no_license | CaptainJellyBS/CPlusPlusBasic | 82e52998d88c99e229468501c2a0640b59956d78 | b9cdd161b6d9cdb92a14ceb704c9a03964b37dd5 | refs/heads/master | 2022-12-31T11:22:41.167819 | 2020-10-23T13:26:35 | 2020-10-23T13:26:35 | 298,493,952 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 854 | cpp | #include "Library.h"
Library::~Library()
{
delete book;
}
Library::Library()
{
book = new Book("Dune");
}
Library::Library(const Library& l)
{
book = new Book(*l.book);
}
Library& Library::operator=(const Library& l)
{
if (&l == this) { return *this; }
book = new Book(*l.book);
delete l.book;
}
/// <summary... | [
"manakouwenberg@gmail.com"
] | manakouwenberg@gmail.com |
ef42c6e8e3e2c5ebefcd34c2242ffa8a30e63d78 | 56b8b3eb6011e54c16b7211224b79f8daa33139a | /Algorithms/Tasks.0001.0500/0169.MajorityElement/solution.cpp | dfc4c1fd114a026863c8ff1e3fe4d7bd831f62f0 | [
"MIT"
] | permissive | stdstring/leetcode | 98aee82bc080705935d4ce01ff1d4c2f530a766c | 60000e9144b04a2341996419bee51ba53ad879e6 | refs/heads/master | 2023-08-16T16:19:09.269345 | 2023-08-16T05:31:46 | 2023-08-16T05:31:46 | 127,088,029 | 0 | 0 | MIT | 2023-02-25T08:46:17 | 2018-03-28T05:24:34 | C++ | UTF-8 | C++ | false | false | 1,305 | cpp | #include <unordered_map>
#include <utility>
#include <vector>
#include "gtest/gtest.h"
namespace
{
class Solution
{
public:
int majorityElement(std::vector<int> const &nums) const
{
std::unordered_map<int, size_t> numsCountData;
for (int num : nums)
{
std::unordered_map<in... | [
"std_string@mail.ru"
] | std_string@mail.ru |
9bac6b8d0a62acbdbb6bb2bfa796039fa554eec3 | 4aff5a49d635ecfab5cac986b1ddc1809189e8f8 | /LeetCode/Build Array from Permutation/build array from permutation.cpp | b0cfec3ea25a495697f1bd25c6f5e3f4f2ad7028 | [] | no_license | shreyrai99/CP-DSA-Questions | 1221f595391643f5967a77efeb790352536ab9ff | 5a5bfdaee6bf0253661259cae7780b8859108dbd | refs/heads/main | 2023-09-04T06:38:59.114238 | 2021-10-22T09:46:59 | 2021-10-22T09:46:59 | 413,551,990 | 1 | 0 | null | 2021-10-04T19:10:04 | 2021-10-04T19:10:04 | null | UTF-8 | C++ | false | false | 427 | cpp | //solution
class Solution {
public:
vector<int> buildArray(vector<int>& nums) {
vector <int> arr; // initializing a vector array of name arr
for(int i=0; i<nums.size(); i++){ //using the for loop to iterate through the array
arr.push_back(nums[nums[i]]); // adding the required ... | [
"pranavidhya28@gmail.com"
] | pranavidhya28@gmail.com |
86edd708a0380af2e52889cb59d8db17761fd3b1 | 962b463e93597e9ba8ab1000a119cd3c92e4de29 | /030_polynomial/poly.hpp | 9f653308a857d24e4541d31c9d9e8e2ea5f3916d | [] | no_license | jimmyshuyulee/duke-ece751 | fc00feeb9d84310a3840ea8d03186f64d2a7192e | 481084b36f4e207a3bfeeff689c7d5ead64fa1c7 | refs/heads/master | 2020-09-20T15:06:03.808189 | 2019-12-09T07:06:20 | 2019-12-09T07:06:20 | 224,517,059 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,846 | hpp | #include <cstdlib>
#include <exception>
#include <functional>
#include <iostream>
#include <map>
using namespace std;
// Whenever the program needs to "give up", it throws a convergence_failure
template<typename Num>
class convergence_failure : public exception {
public:
const Num value;
explicit convergence_fa... | [
"sl603@duke.edu"
] | sl603@duke.edu |
78aa97b0ef920d2006c649c3b3b409a6c0599894 | 18f31ae2cd65bad9529df89cb0f08a2d6d757817 | /EnumerateWindowProperties/EnumerateWindowProperties.cpp | 4037287b215f9d5ad236c26302d301c5f2963b27 | [] | no_license | xenoscr/EnumerateWindowProperties | e0d95581cef0ade192fc9e7fbdececd0f4c4d90e | 96ce476abd94b5e4657579774ea62be8ffee8e75 | refs/heads/master | 2021-08-19T06:28:07.355256 | 2017-11-24T23:59:15 | 2017-11-24T23:59:15 | 111,827,316 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,646 | cpp | // EnumerateWindowProperties.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include <cstdlib>
#include <stdbool.h>
using namespace std;
#define BUFFER 4096
std::stringstream windowInfo;
void hexDump(char *desc, void * addr, int len, int orgAddress);
/*
Convert strings to wide s... | [
"xenos@xenos-1.net"
] | xenos@xenos-1.net |
393dd7ab82fad433e69389de3f80e7974cb3cb58 | f112f9745d7c916c68ee2b8ec05e93e74d7d3004 | /cms/src/v20190321/model/TextData.cpp | 2c991f117189d49ba666a6905e222aefd6ce0f9e | [
"Apache-2.0"
] | permissive | datalliance88/tencentcloud-sdk-cpp | d5ca9454e2692ac21a08394bf7a4ba98982640da | fbb8ea8e385620ac41b0a9ceb5abf1405b8aac8c | refs/heads/master | 2020-09-04T20:59:42.950346 | 2019-11-18T07:40:56 | 2019-11-18T07:40:56 | 219,890,597 | 0 | 0 | Apache-2.0 | 2019-11-06T02:02:01 | 2019-11-06T02:02:00 | null | UTF-8 | C++ | false | false | 4,047 | cpp | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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
... | [
"jimmyzhuang@tencent.com"
] | jimmyzhuang@tencent.com |
fbd17b8d027aa00729377bba4dea06c35eb84cd4 | 0805b803ad608e07810af954048359c927294a0e | /bvheditor/ui/NewFileFPSDialog.h | c51e819206ce1b5f998b6e728f89bb0952b4360f | [] | no_license | yiyongc/BvhEditor | 005feb3f44537544d66d54ab419186b73e184f57 | b512e240bc7b1ad5f54fd2e77f0a3194302aab2d | refs/heads/master | 2023-03-15T14:19:31.292081 | 2017-03-30T17:27:17 | 2017-03-30T17:27:17 | 66,918,016 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 692 | h | #pragma once
#include "qdialog.h"
#include "qlabel.h"
#include <QVBoxLayout>
#include <QHBoxLayout>
#include "../controllers/LayerController.h"
#include <QPushButton>
#include <QtWidgets\QApplication>
namespace cacani {
namespace ui {
class NewFileFPSDialog :
public QDialog
{
Q_OBJECT
public:
New... | [
"yiyong.cyy@gmail.com"
] | yiyong.cyy@gmail.com |
2a3424d790e79e913c12d5a7560397342220fd17 | d70408b086ea4e50c4323da242c54ee6dd0080bc | /Esp_server/Esp_server.ino | 42f6025e2287e4728023bf998e812de3a6f8a7df | [] | no_license | Kozubowicz/Serwer-temperatura | 8ccdba981dd2aedcf9e5da63bba2d56c3f6afc31 | b4c9ea4e41703b32952ef02ccba7efea40c16c27 | refs/heads/master | 2022-11-15T20:14:21.034960 | 2020-07-12T00:40:55 | 2020-07-12T00:40:55 | 278,965,390 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,468 | ino | #include <ESP8266WiFi.h>
#include <WiFiClient.h>
#include <ESP8266WebServer.h>
#include <ESP8266mDNS.h>
#include <math.h>
#include <Wire.h>
#include <iostream>
#include <cstdlib>
//const char* ssid = "TP-LINK_37F3";
//const char* password = "70748109";
const char* ssid = "FunBox3-A702-1";
const char* password = "cdn123... | [
"kozubowiczpiotr@gmail.com"
] | kozubowiczpiotr@gmail.com |
862d36ba6ef24a44c01b60b6a8ac793549701aa4 | 604c426db6a810a31b48526150259ee261313f69 | /src/rational.cpp | 6f1d621322773565ffb7d11cbda11becc55fe169 | [] | no_license | xyee/ase_cw2 | 55721ecfb0897ed95b1f5ac9492af0f72f8dd8e3 | c655dba2b2598485eac0b2c40e692b39c7bd544f | refs/heads/master | 2020-05-23T07:14:52.185401 | 2019-05-14T18:24:52 | 2019-05-14T18:24:52 | 186,674,150 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,432 | cpp | #include <cstdlib> // for abs(long long int)
#include <sstream>
#include <stdexcept>
#include "../headers/rational.h"
#include "../headers/dividebyzeroerror.h"
#include "../headers/gcd.h"
namespace ExactArithmetic
{
////////////////////////////////////////////////////////////////////////////////
Rational::Rational(... | [
"bbxinyee@gmail.com"
] | bbxinyee@gmail.com |
13a54ab8c7cd2022fb0fed498deb59dd3adc0ad2 | e4b2a99f6cd7202ecb3292c8fe2081c700fec501 | /streampp/test/main.cpp | f76298e43b3bfd65515d0b565d45a975683a5a77 | [] | no_license | umaumax/umaumaxcpp | 038809c734c30a53f0b826228fd730744703803e | 0d0b2d86d6e418e4910d51df7e9b398be7149031 | refs/heads/master | 2020-03-30T06:33:58.624506 | 2019-10-12T09:32:50 | 2019-10-12T10:43:03 | 150,871,024 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,214 | cpp | #include <map>
#include <sstream>
#include <unordered_map>
#include <vector>
#include "gmock/gmock.h"
#include "gtest/gtest.h"
#include "streampp/streampp.hpp"
TEST(streampp_test, vector) {
std::stringstream ss;
std::vector<int> vec{0, 1, 2, 3};
ss << vec;
EXPECT_EQ(ss.str(), "[4]:{0, 1, 2, 3}");
}
TEST(str... | [
"umauma7083@gmail.com"
] | umauma7083@gmail.com |
df7dde5aab3a81cda4c7dc151f14a1ca702417d5 | 1f1d82c669fde2be2ebab98818253b60bc3d8204 | /ddos/attack/CHttpAtk.h | 3449236167982c757e25bfb46255d3fe614fa361 | [] | no_license | charl-z/pktgen | 30aa68c825fdb8a3594df7e13b39b4158307712a | 726c081d17a8d79b70ea6f64356ea22c420e92e2 | refs/heads/master | 2022-03-17T00:08:59.102385 | 2019-11-18T05:55:58 | 2019-11-18T05:55:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,627 | h | #ifndef _HTTP_ATK_H
#define _HTTP_ATK_H
#include "pktbuild.h"
#define HTTP_WAIT_MAX 10 /*SECOND*/
#define HTTP_BUF_SIZE 10240
#define HTTP_PATH_MAX 256
#define HTTP_DOMAIN_MAX 128
#define HTTP_COOKIE_MAX 8 // no more then 8 tracked cookies
#define HTTP_COOKIE_LEN_MAX 128 // ... | [
"l"
] | l |
1eedfd1a6fa561e0ddb5172317ff209984a60944 | d6e6a343d8bb501cd83f9b7c5c73c8f995d4c92d | /lec12array/递推.cpp | 3ef23b7eeec0c8327e5a3560856fcf208c6d9002 | [] | no_license | webturing/CppPrograming_20CS12345 | cacbcfacaafa260ed2aacdc0b9ba0f362072d011 | 38e95a319104499d23a9fb3a194f72316f4259aa | refs/heads/master | 2023-02-25T20:02:19.681381 | 2021-01-20T10:21:31 | 2021-01-20T10:21:31 | 297,176,554 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 372 | cpp | #include <bits/stdc++.h>
using namespace std;
int
main() {
int a[10];
a[0] = 1; //
for (int i = 1; i < 10; i++) {
a[i] = a[i - 1] * i;
}
for (int i = 0; i < 10; i++) {
cout << a[i] << " ";
}
int m = 145;
int s = 0;
while (m > 0) {
s += a[m % 10];
m /... | [
"zj@webturing.com"
] | zj@webturing.com |
727f7f4181035dabf7fa39b20c5022ffae06ada6 | 2c32342156c0bb00e3e1d1f2232935206283fd88 | /cam/src/deepc/ai/dpcaidgb.cpp | 08b43a525a9cbcdcc0396ec6836f55a2b261b87b | [] | no_license | infernuslord/DarkEngine | 537bed13fc601cd5a76d1a313ab4d43bb06a5249 | c8542d03825bc650bfd6944dc03da5b793c92c19 | refs/heads/master | 2021-07-15T02:56:19.428497 | 2017-10-20T19:37:57 | 2017-10-20T19:37:57 | 106,126,039 | 7 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,327 | cpp | #include <lg.h>
#include <comtools.h>
#include <appagg.h>
#include <property.h>
#include <propman.h>
#include <propface.h>
#include <ai.h>
#include <aibassns.h>
#include <aidbgcmp.h>
#include <aifreeze.h>
#include <aimove.h>
#include <ainet.h>
#include <aisound.h>
#include <aistdmrg.h>
#include <aiutils.h>
#include <... | [
"masterchaos.lord@gmail.com"
] | masterchaos.lord@gmail.com |
3f22b6d6e718de3fd686e47aa0462938bfae2b01 | 711e5c8b643dd2a93fbcbada982d7ad489fb0169 | /XPSP1/NT/printscan/faxsrv/src/util/security.cpp | 6aa95d8f0cccd51242e7b2c24ee15b14d523f5ab | [] | no_license | aurantst/windows-XP-SP1 | 629a7763c082fd04d3b881e0d32a1cfbd523b5ce | d521b6360fcff4294ae6c5651c539f1b9a6cbb49 | refs/heads/master | 2023-03-21T01:08:39.870106 | 2020-09-28T08:10:11 | 2020-09-28T08:10:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,728 | cpp | /*++
Copyright (c) 2000 Microsoft Corporation
Module Name:
Security.cpp
Abstract:
General fax server security utility functions
Author:
Eran Yariv (EranY) Feb, 2001
Revision History:
--*/
#include <windows.h>
#include <stdio.h>
#include <stdlib.h>
#include <tchar.h>
#include <Acc... | [
"112426112@qq.com"
] | 112426112@qq.com |
9c0fb543f244d7cf29cb45b5dfb4057b23b55581 | 83e755a2ed24e06bb37ac42b373491d78a46be3c | /pRay/CoreSystems/Window.h | bf15cc2b512e7aa31668f1771e5123eb68c69d71 | [] | no_license | trollSover/pRay | 8fca3c2defd4fdb3930461a2ad090fe98f920605 | b10269768cc70fd27ab7a3be29ced1e9f016858e | refs/heads/master | 2020-05-07T05:53:54.071764 | 2014-12-01T15:04:23 | 2014-12-01T15:04:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 194 | h | #pragma once
#include "CoreStd.h"
class Window
{
private:
protected:
public:
private:
protected:
public:
bool Init(HINSTANCE hInstance, HWND& hWnd, Resolution resolution, LPCSTR appName);
}; | [
"isthisatrickquestion@hotmail.com"
] | isthisatrickquestion@hotmail.com |
7485d79b0f3d0aa2cb8eae6201d517824eb12565 | 97b6d6140ce9f11404f871ce8b9bd1d4b1212939 | /MAHevcEnc/MaHevcInp.cpp | e0bcc09be5156fc1954299db4a02f357f5bfcbd0 | [] | no_license | mayo2010/MaHevcEnc | 3aba17b8212af9a8bb97fb0b21c74e2a27fcc114 | 62dea38d2281694529e9052d8f0cf307531200a0 | refs/heads/master | 2022-04-03T09:41:21.985405 | 2020-02-07T04:27:52 | 2020-02-07T04:27:52 | 109,582,929 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 924 | cpp | #include <assert.h>
#include "MaHevcInp.h"
CHevcInp::CHevcInp()
{
}
CHevcInp::~CHevcInp()
{
}
uint8 CHevcInp::SearchOneCuBestIntraMode(uint32 uiCuX, uint32 uiCuY,
uint8 uiDepth, uint8 uiCurCuIdx, uint8 uiCurLog2CuSize)
{
assert(uiDepth <= 3);//the min cu size is 8x8
//search cur cu best intra mode fo... | [
"mayo_mdhk2015@163.com"
] | mayo_mdhk2015@163.com |
98b8e3eacecef1c43c0f24f25e9a52f2b96f3c87 | fe1f92572d8a2ca7a3a18d6dac406925f1aca4c2 | /source/auto/Forced_cleanup_.hpp | 0ffd5aa8abfcda366d8a32f8dbb98f05157c3ccb | [
"MIT"
] | permissive | alf-p-steinbach/cppx | ec52737e06b310e4381158911bf66cf480368c44 | 1be858fd4902b845cc7df5a93da1156cec290692 | refs/heads/master | 2021-01-10T14:24:55.551348 | 2018-10-16T02:32:51 | 2018-10-16T02:32:51 | 48,463,058 | 1 | 0 | null | 2016-02-18T00:41:07 | 2015-12-23T01:50:49 | C++ | UTF-8 | C++ | false | false | 486 | hpp | // Source encoding: UTF-8 (π is a lowercase Greek "pi" character).
#pragma once
#include <cppx/auto/Scope_guard_.hpp>
namespace cppx
{
template< class Func >
class Forced_cleanup_:
private Scope_guard_<Func>
{
public:
using Scope_guard_<Func>::Scope_guard_;
};
template< class ... | [
"alf.p.steinbach@gmail.com"
] | alf.p.steinbach@gmail.com |
ecf2ddd6c11f305eb6d41e39d8ad9f4714f5de5f | fdab4df1f15a3a6c352212477b04cce38c40d705 | /Evil_Fi/Source/Evil_Fi/DesignPattern/Singleton.h | 47e584290695e525b4c12b9e280153e5605c828d | [] | no_license | hyoung5618/Evil-Fi | 0d6d941928320f3bd477f8ee888a017b06f160a8 | 6554d2a7f45aed1bd8c6260ef3d6ccd0fd6e344e | refs/heads/master | 2020-07-10T00:49:03.370859 | 2019-10-13T08:30:39 | 2019-10-13T08:30:39 | 204,110,755 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 451 | h | #pragma once
template < typename T >
class TSingleton
{
protected:
TSingleton()
{
}
virtual ~TSingleton()
{
}
public:
static T* GetInstance()
{
if (m_pInstance == nullptr)
m_pInstance = new T;
return m_pInstance;
};
static void DestroyInstance()
{
if (m_pInstance)
{
delete m_pInstance;
... | [
"hyoung5618@naver.com"
] | hyoung5618@naver.com |
0a0ee75348c54ebda67b09344d11324da3a9ba53 | f50c406981500d5dfc5bb08c3bd4a090b816e7d8 | /game/weapon/WeaponLightningGun.cpp | c40ca446bafc17e5c1608ab5cb49e900380ee72d | [] | no_license | sb989/quake4project | bf792c984b2132e36fe1e5609b79821305ad08a6 | 0281d7bc79f42a4d347f7d0d7043f3671ed70906 | refs/heads/master | 2021-10-24T19:17:22.145995 | 2019-03-28T03:42:48 | 2019-03-28T03:42:48 | 168,178,934 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 28,229 | cpp | #include "../../idlib/precompiled.h"
#pragma hdrstop
#include "../Game_local.h"
#include "../Weapon.h"
#include "../client/ClientEffect.h"
#include "../Projectile.h"
#include "../ai/AI_Manager.h"
//#include "Game_local.cpp"
;
const int LIGHTNINGGUN_NUM_TUBES = 3;
const int LIGHTNINGGUN_MAX_PATHS = 3;
const idEven... | [
"sb989@njit.edu"
] | sb989@njit.edu |
a8da99da04c6cc8d96ac3dd4a0eb2d638d2f0805 | aa3662705e25b97d2fd3308fd3708b65c410c500 | /aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/CompilationJobSummary.h | 69e51a12d606d25e64ad62237755e287427435bb | [
"MIT",
"Apache-2.0",
"JSON"
] | permissive | gifwittit/aws-sdk-cpp | de713da416ecaa26744085a7f339522c7915e372 | 656fd66347c48a631c354e1f2d8dd2f9a3da7de6 | refs/heads/master | 2022-11-27T19:16:42.639440 | 2020-07-16T23:01:59 | 2020-07-16T23:01:59 | 280,235,680 | 0 | 0 | Apache-2.0 | 2020-07-16T23:02:01 | 2020-07-16T19:03:58 | null | UTF-8 | C++ | false | false | 13,112 | h | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/sagemaker/SageMaker_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/DateTime.h>
#include <aws/sagemaker/model/TargetDevice.h>
#include <... | [
"aws-sdk-cpp-automation@github.com"
] | aws-sdk-cpp-automation@github.com |
e552bbbce302f0c6a1ee6a25e0544d10d10061e8 | 14081e500bca2a8ccb2af7ce58da17aa3ed304e3 | /数据结构/线段树/hdu3308 线段树区间合并LCIS.cpp | a23f98f9631d9a689074c6f63303aad9c5416e36 | [] | no_license | Strive-for-excellence/ACM | 3910a24fc0f84c4ab7490d38783d79bbd20e9ada | 6195eb36f25ffffdcc32d109a5333ca870879490 | refs/heads/master | 2021-05-01T06:05:12.038365 | 2018-05-20T04:12:27 | 2018-05-20T04:12:27 | 121,135,393 | 1 | 0 | null | 2018-02-11T15:09:43 | 2018-02-11T15:09:43 | null | UTF-8 | C++ | false | false | 5,942 | cpp | #include <iostream>
using namespace std;
#include <cstdio>
const int maxn = 200000;
struct Node
{
int l, r, lt, rt, lx, rx, mx;
} tree[maxn * 2];
int tnum;
int a[maxn];
void maketree(int k)
{
int mid;
tree[k].lx = tree[k].rx = tree[k].mx = 1;
if (tree[k].l == tree[k].r)
{
tree[k].lt = tree[k... | [
"elizhongyang@163.com"
] | elizhongyang@163.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.