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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1642184e8afb0125f20452884904e926ebe5fc31 | 05f55d57b12910b7e6e48e765a22e2e06930797c | /leetcode343.cpp | a8d2cd6055b7492266517842c8a01ce91c01bf77 | [] | no_license | bdsy/leetcode | 677a247e95227ed7bcc5dc5f63ce8964b82af691 | 513d03204f84a126102b3d882fadca95a207c1fc | refs/heads/master | 2020-03-19T07:39:25.948648 | 2018-06-24T14:39:25 | 2018-06-24T14:39:25 | 136,136,497 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 630 | cpp | /*
给定一个正整数 n,将其拆分为至少两个正整数的和,并使这些整数的乘积最大化。 返回你可以获得的最大乘积。
例如,给定 n = 2,返回1(2 = 1 + 1);给定 n = 10,返回36(10 = 3 + 3 + 4)。
注意:你可以假设 n 不小于2且不大于58。
*/
class Solution {
public:
int integerBreak(int n) {
int result = 1;
if(n == 2){
return(1);
}
if(n == 3){
return(2);
... | [
"2338651194@qq.com"
] | 2338651194@qq.com |
f5721c4136f22b67e45dd480906d7fad08b91a0d | ff7e235afd83d3e543d78e1090022d2d231debb3 | /TextureTest/DirectXMoveTexture/Render.cpp | f4254caf1db9a0f46d6b7fe77008a2faff5dff00 | [] | no_license | hiroto1130/3DModelDrawPractice | 2b8c96dd5c836e65f5d176e03eccb3033dd6a813 | 8759cca2a7025621f7a6f35111abec95e8ad2497 | refs/heads/master | 2020-08-08T22:27:11.740462 | 2019-10-09T15:50:46 | 2019-10-09T15:50:46 | 213,934,619 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,377 | cpp | #include"Render.h"
void Render_::Render(DirectX directX)
{
// -------------------- ワールドトランスフォーム(絶対座標変換)-------------------- //
// 自動回転
/*
D3DXMatrixRotationY(
&matWorld, // 操作結果を入れるD3DXMATRIX構造体へのポインタ(Y座標用)
0 // 回転角度(ラジアン)
);
D3DXMatrixRotationX(
&matRotation, // 操作結果を... | [
"11potato30@gmail.com"
] | 11potato30@gmail.com |
42a3679fa327579631c5bcec2e5317ceb69a5637 | 7dc3648dca4bd22c3ac5a59c96687fc8baf72d02 | /APro4/APAX/Examples/VC/ExSend/commondialog.h | 661f278487746a2ac8cd8e9918cfdc66805b4a5a | [] | no_license | bravesoftdz/work | 53fd5aa2baa79751b32645557352a0af262e8c76 | c9d1bc8645dced6db136b50fe0ec80743a1adb3c | refs/heads/master | 2020-03-25T10:21:18.478804 | 2018-08-04T18:12:56 | 2018-08-04T18:12:56 | 143,691,114 | 1 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 3,566 | h | #if !defined(AFX_COMMONDIALOG_H__6EF13FA7_DF6A_40F6_BF0A_5AED49E3FBF8__INCLUDED_)
#define AFX_COMMONDIALOG_H__6EF13FA7_DF6A_40F6_BF0A_5AED49E3FBF8__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
// NOTE: Do not modi... | [
"asouza@pinogy.com"
] | asouza@pinogy.com |
f6ef62b35560bb29ed9014983851dc11eb53ac8e | 7b727d88b5452b4a25a474f5fbf8185b5f87a829 | /uri1008.cpp | aae28b4bc71ffd4289694e6c3a66c3478eaea4d5 | [] | no_license | Shaharia1emon/uri-code | de76f0cb5f912136ea667b569000c7adcc587176 | 81c3f37d360b09b4f1ea9a01ca6314dc65e895d9 | refs/heads/master | 2023-01-11T21:16:00.247117 | 2020-11-14T06:00:07 | 2020-11-14T06:00:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 278 | cpp |
#include<bits/stdc++.h>
using namespace std;
int main()
{
int number,A,salary;
double B;
cin>>number;
cout<<"Number = "<<number ;
salary=A*B;
cout<<fixed;
cout<<setprecision(2)<<"SALARY"<<" = "<<" U$ "<<salary<<endl;
return 0;
}
| [
"noreply@github.com"
] | Shaharia1emon.noreply@github.com |
9d8a3bea9d982fe91055545b94e3e978c83fa2f9 | 313bddc141ceebe7c5eec1fb2f4cd3ef7bbfe195 | /day_25.cpp | 01ab86a90387ba0a7eec23f92d1ec663df3daf78 | [] | no_license | bogdan-kovalchuk/30-day-leetcoding-challenge | be19b66431653e456e3f48277c2fe6dcdd65ed6a | cc37b41cfb24c9bd2eb9760e567d9d38a320a799 | refs/heads/master | 2022-04-25T07:50:57.654047 | 2020-05-01T08:12:49 | 2020-05-01T08:12:49 | 252,144,842 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 617 | cpp | #include <vector>
#include <iostream>
#include <numeric>
#include <string>
using std::vector;
using std::string;
class Solution {
public:
bool canJump(vector<int>& nums) {
int max_jump = 0;
for (const auto &num : nums){
num >= max_jump - 1 ? max_jump = num : --max_jump;
if... | [
"bogdan.kovalchuk@globallogic.com"
] | bogdan.kovalchuk@globallogic.com |
ce7753f5cf6e6f250059efa3a20e83b24062a2f2 | af1f72ae61b844a03140f3546ffc56ba47fb60df | /src/modules/timesync/socket.hpp | 9bdc7ba5ebec562e2dd52c2122d8d0cca504f3c3 | [
"Apache-2.0"
] | permissive | Spirent/openperf | 23dac28e2e2e1279de5dc44f98f5b6fbced41a71 | d89da082e00bec781d0c251f72736602a4af9b18 | refs/heads/master | 2023-08-31T23:33:38.177916 | 2023-08-22T03:23:25 | 2023-08-22T07:13:15 | 143,898,378 | 23 | 16 | Apache-2.0 | 2023-08-22T07:13:16 | 2018-08-07T16:13:07 | C++ | UTF-8 | C++ | false | false | 839 | hpp | #ifndef _OP_TIMESYNC_SOCKET_HPP_
#define _OP_TIMESYNC_SOCKET_HPP_
#include <cstddef>
#include <optional>
#include "tl/expected.hpp"
#include "timesync/chrono.hpp"
#include "timesync/counter.hpp"
struct addrinfo;
namespace openperf::timesync::ntp {
class socket
{
std::optional<int> m_fd = std::nullopt;
public... | [
"timmons.player@spirent.com"
] | timmons.player@spirent.com |
1f2ae85892f269b8d37570333ccaef5995e1a5cd | d77471820fa896f2ef07ac54bdb4abb9cda44a51 | /src/welcomeGUI/mybutton.cpp | efcc49519cd103a18686fcfea71ffdc957606c0a | [] | no_license | PolarbearYang/PokerGame | 7f4b6a1abc916e3e4e8da7284aaf406a220cb662 | b0eb092f51e350abd5f96240c8580e4e3c989ad8 | refs/heads/master | 2020-12-14T21:07:14.125180 | 2020-01-19T10:51:05 | 2020-01-19T10:51:05 | 234,868,791 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,322 | cpp | #include "Drawbtnlab.h"
mybutton::mybutton(QWidget *parent) : QPushButton (parent)
{
this ->setMouseTracking(true);
}
//按钮初始化函数
mybutton::mybutton(QString &path1, QString &path2, QWidget *parent):
QPushButton (parent)
{
Img1 = QPixmap(path1);
Img2 = QPixmap(path2);
... | [
"noreply@github.com"
] | PolarbearYang.noreply@github.com |
69ecc7d842a7b99491b42d29b513ad96a467c5c7 | f72ca04c390b6ea4d49a8e53262288738ad02ef0 | /xr3core/h/xr/strings/FilePath.hpp | 77b689ecf226b30d15f77d64849645bf82a2fd7b | [
"BSD-2-Clause"
] | permissive | zyndor/xrhodes | cae4c0b12995cb206bfb46b755241d57b40489af | 995618bc82dc8e562c9ae1e6afc2ac795aeb517b | refs/heads/master | 2022-07-28T04:22:15.117802 | 2022-07-10T16:57:09 | 2022-07-10T16:57:09 | 153,730,253 | 9 | 0 | BSD-2-Clause | 2021-02-19T15:39:29 | 2018-10-19T05:20:10 | C++ | UTF-8 | C++ | false | false | 5,306 | hpp | #ifndef XR_FILEPATH_HPP
#define XR_FILEPATH_HPP
//==============================================================================
//
// XRhodes
//
// copyright (c) Gyorgy Straub. All rights reserved.
//
// License: https://github.com/zyndor/xrhodes#License-bsd-2-clause
//
//==============================================... | [
"gyorgy@nuclearheart.com"
] | gyorgy@nuclearheart.com |
1bb5a5f7f513839c07b357de01c051f2d9b53ab1 | 3c3287c6247d30e82f99d53b65fc1f1e27e50858 | /iOSBuild/classes/native/mscorlib.cpp | 70a76cdbf75b8c1de1d89d2b7c40f86d9c523969 | [] | no_license | alanlau28/iApplyAR | b3e21527e50b2bd07e03cb575d53136ce746dab0 | a7dd18520bf9e923e0e9008bdb60f1cfbe309aa8 | refs/heads/master | 2023-01-07T21:30:45.619936 | 2020-11-08T15:53:44 | 2020-11-08T15:53:44 | 310,936,601 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,888,591 | 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 "icalls/mscorlib/Mono... | [
"noreply@github.com"
] | alanlau28.noreply@github.com |
b2b69a31f2d2ebcf40a543f56d0d1539820ddc79 | 74a10fe2f9e294f63f930c98b01714eebf77e5da | /src/libandroidfw/LocaleDataTables.cpp | d733f89eae6c5102fe4a93520c3c9e630d6ce7a4 | [
"Apache-2.0"
] | permissive | mnlsm/aapt | ffff5af7754c19e624a39db3878695a7e7934c25 | 86553bc9bc0edacaf15cc4cbea278e6c641f93be | refs/heads/master | 2021-08-18T23:23:31.842553 | 2017-11-24T05:52:12 | 2017-11-24T05:52:12 | 111,788,952 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 95,767 | cpp | // Auto-generated by ./tools/localedata/extract_icu_data.py
#include <unordered_map>
#include <unordered_set>
#include <stdint.h>
const char SCRIPT_CODES[][4] = {
/* 0 */ {'A', 'h', 'o', 'm'},
/* 1 */ {'A', 'r', 'a', 'b'},
/* 2 */ {'A', 'r', 'm', 'i'},
/* 3 */ {'A', 'r', 'm', 'n'},
/*... | [
"liuweigang@360.cn"
] | liuweigang@360.cn |
d23325958bbd365552a3d3df4342da9e804f8719 | aaabc9cb063171746469f6eabef6893f3497a0d7 | /DX9LibX64/Class/SceneManager/Scene/Scene.h | 694307da95d7f88adf465b63fab09d2b402cab21 | [] | no_license | human-osaka-game-2018/StarLight-Line | 5e9acc15714fe7c01d805a34c95d66f3d5fa3a34 | 9aab8505b085bb92a2855b211ddc20c9203e746e | refs/heads/master | 2020-04-01T08:57:21.944316 | 2018-11-02T08:04:15 | 2018-11-02T08:04:15 | 153,053,510 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 513 | h | #pragma once
#include <Windows.h>
#include "../../GameManager/GameManager.h"
#include "../../BaseWorking/BaseWorking.h"
#include "../../FBX/ClassFBX.h"
#include "../../ObjectManager/ObjectManager.h"
enum class SceneID;
class GameManager;
class Scene :public BaseWorking
{
public:
Scene();
~Scene() {};
VOID syncNe... | [
"glaca986@outlook.jp"
] | glaca986@outlook.jp |
9e056f04e961ad59a340b108c2a19ef26b9a0299 | 2bd0bf90afdf854a2ce47e86810348254d83ce8d | /src/Insaniquarium/ZObject/zpet.h | 9a9498367f4f21fb47cea35de815e83e4d658647 | [] | no_license | jxqhhh/Insaniquarium | a83e01f1b3821f928935d8c267c546f4b50802a8 | 397887f5737f2670cd9643e56eee74b12d037211 | refs/heads/master | 2020-03-31T09:52:37.506926 | 2018-10-08T16:48:59 | 2018-10-08T16:48:59 | 152,113,886 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 837 | h | #ifndef ZPET_H
#define ZPET_H
#include "zobject.h"
#include "gamewidget.h"
class ZPet:public ZObject{
Q_OBJECT
public:
ZPet(ZObject* parent,GameWidget* widget);
virtual ~ZPet();
void shift() override;
};
class ZSnail:public ZPet{
int speed=1;
public:
ZSnail(ZObject* parent,GameWidget* widget)... | [
"1327166906@qq.com"
] | 1327166906@qq.com |
97a77275f82ecc31608852441b4b6ad4dcd7538f | 63c71060f36866bca4ac27304cef6d5755fdc35c | /src/TimeSelector/TimeGetEpoch.h | 413950803710006fcc7a2c3280832dfbaedcdfc4 | [] | no_license | 15831944/barry_dev | bc8441cbfbd4b62fbb42bee3dcb79ff7f5fcaf8a | d4a83421458aa28ca293caa7a5567433e9358596 | refs/heads/master | 2022-03-24T07:00:26.810732 | 2015-12-22T07:19:58 | 2015-12-22T07:19:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 915 | h | ////////////////////////////////////////////////////////////////////////////
//
// Copyright (C) 2005
// Packet Engineering, Inc. All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification is not permitted unless authorized in writing by a duly
// appointed officer of ... | [
"barryniu@jimodb.com"
] | barryniu@jimodb.com |
d1c47420ecba33e552ea29fe9465ba6c70f74c78 | 67c0ee203be2275e30b35aff1fdff30e8ca8411e | /ecuaciones/cuerpo.h | 316f861b978f55396e08380333a90f32a9fbf987 | [] | no_license | jstom12/practica_6 | 77d1125fa3ab512b594672dd850d6841a99b98ff | e363d0f5a7e6d7a7c85e29ec2a75db4a51d03128 | refs/heads/master | 2022-11-09T01:08:49.125370 | 2020-06-17T23:44:48 | 2020-06-17T23:44:48 | 272,638,312 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 572 | h | #ifndef CUERPO_H
#define CUERPO_H
#include <math.h>
class cuerpo
{
double radio=0,posx=0,posy=0;
double velx=0,vely=0;
double ax=0,ay=0;
double masa=0;
int id;
float angulo=0, G=6.67384*pow(10,-11);
public:
cuerpo();
cuerpo(double x_,double y_,double masa_,double radio_,double velx_,... | [
"extrajuan@hotmail.es"
] | extrajuan@hotmail.es |
781e6cefc0bccc8ad9b0d5e475d6c3abde9660f5 | 65f9576021285bc1f9e52cc21e2d49547ba77376 | /adsp_proc/avs/main/listen/services/static_svcs/listen_stream_mgr/src/ListenStreamMgr_AprIf.cpp | caf53ec5c645e4e1647184eedbf88b46d8c887fb | [] | no_license | AVCHD/qcs605_root_qcom | 183d7a16e2f9fddc9df94df9532cbce661fbf6eb | 44af08aa9a60c6ca724c8d7abf04af54d4136ccb | refs/heads/main | 2023-03-18T21:54:11.234776 | 2021-02-26T11:03:59 | 2021-02-26T11:03:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,015 | cpp | /**
@file ListenStreamMgr_AprIf.cpp
@brief This file contains the implementation for session-control-related functions
for ListenStreamMgr.
*/
/*========================================================================
$Header: //components/rel/avs.adsp/2.8.5/listen/services/static_svcs/listen_stream_mgr/src/ListenS... | [
"jagadeshkumar.s@pathpartnertech.com"
] | jagadeshkumar.s@pathpartnertech.com |
df0a58c7f223ed733126d50ae4abce97f4de31c4 | fc8880d7b2fd523546ca3426cdcf9dbcce19c95f | /hazelcast/include/hazelcast/client/spi/impl/sequence/FailFastCallIdSequence.h | c92692baa53a034f4118a06fdcfcec8491809e55 | [
"Apache-2.0"
] | permissive | sbrown-uhd/hazelcast-cpp-client | 1773dfad2dcc7aa3481d8d7fc6bf28f382643f9b | ce57a508092fa42b9b4b371ae6c2782a21c75515 | refs/heads/master | 2020-06-22T15:22:24.856851 | 2019-07-19T15:23:16 | 2019-07-19T15:23:16 | 197,736,259 | 0 | 0 | Apache-2.0 | 2019-07-19T08:40:35 | 2019-07-19T08:40:34 | null | UTF-8 | C++ | false | false | 2,538 | h | /*
* Copyright (c) 2008-2019, Hazelcast, 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 ... | [
"noreply@github.com"
] | sbrown-uhd.noreply@github.com |
37353694cd6e006d9510b9407d1010f0a4af2260 | f7bbeee021ae30cb35def098b374a0cabd0a36fc | /3sumclosest.cpp | c3f0936ef0df780226df89e69fc4aab2f393870f | [] | no_license | jxie418/leetcodecpp | e8e8ad9fb8adbbe389738523ee266735d124d2df | 6a778367726dd47247d99e94d7a0a29efe2b0cb8 | refs/heads/master | 2021-01-10T09:30:10.960584 | 2016-04-24T03:10:07 | 2016-04-24T03:10:07 | 49,180,832 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 924 | cpp | #include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
class Solution {
public:
int threeSumClosest(vector<int>&nums, int target){
if ( nums.size() == 0 ) {
return 0;
}
int sum = 0;
int closet = INT_MAX;
sort(nums.begin(), nums.end());
for (int i = 0 ; i < nums.size() -2; ... | [
"jxie418@gmail.com"
] | jxie418@gmail.com |
9db1cc2425c0cf0815900e7822b3a1fd47bd7f19 | 88ae8695987ada722184307301e221e1ba3cc2fa | /content/browser/renderer_host/navigation_entry_impl.cc | 5d16aac3a92330bc0375444972e6e78691f74b0f | [
"BSD-3-Clause"
] | 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 | 50,229 | cc | // Copyright 2013 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/browser/renderer_host/navigation_entry_impl.h"
#include <stddef.h>
#include <map>
#include <string>
#include <utility>
#include "base/containers/queue.h"
#... | [
"jengelh@inai.de"
] | jengelh@inai.de |
6a714711410495d99c0862f0c7bdc125e5402d46 | 289a78be2469ecc7cc5dce356cd37557a93b3aa8 | /Functions/CmdLineExec.h | 346289edeee8a3a335d3019619f7a15a81104358 | [] | permissive | chrishoen/Dev_RisLib | 5b3ce51f5450399aeb238c11bf73fa8c0d8918d3 | f97e782a7c7da5db191f443619ec320faf3363f0 | refs/heads/master | 2022-11-21T11:09:09.549060 | 2022-11-13T21:41:01 | 2022-11-13T21:41:01 | 144,871,997 | 0 | 1 | MIT | 2019-03-29T14:34:32 | 2018-08-15T15:40:55 | C++ | UTF-8 | C++ | false | false | 3,230 | h | #pragma once
/*==============================================================================
Program command line executive.
==============================================================================*/
//******************************************************************************
//****************************... | [
"chris123hoen@gmail.com"
] | chris123hoen@gmail.com |
1a11cdafd794d5b9823d5b4b9bccceaf41d6b37e | 986c21d401983789d9b3e5255bcf9d76070f65ec | /src/plugins/newlife/importers/ktorrent/ktorrentimporter.cpp | c0e277ba543ae67ec3795d799d6f950e0fc871d4 | [
"BSL-1.0"
] | permissive | 0xd34df00d/leechcraft | 613454669be3a0cecddd11504950372c8614c4c8 | 15c091d15262abb0a011db03a98322248b96b46f | refs/heads/master | 2023-07-21T05:08:21.348281 | 2023-06-04T16:50:17 | 2023-06-04T16:50:17 | 119,854 | 149 | 71 | null | 2017-09-03T14:16:15 | 2009-02-02T13:52:45 | C++ | UTF-8 | C++ | false | false | 960 | cpp | /**********************************************************************
* LeechCraft - modular cross-platform feature rich internet client.
* Copyright (C) 2006-2014 Georg Rudoy
*
* Distributed under the Boost Software License, Version 1.0.
* (See accompanying file LICENSE or copy at https://www.boost.org/LICENSE... | [
"0xd34df00d@gmail.com"
] | 0xd34df00d@gmail.com |
93491a56daae712047fadd29ad072f2a4a446f5e | 4482484f2b93c407f12530c024dd4c934a4f51ca | /configd/src/apps/sentinel/check-completion-handler.h | 008e456f6d775c1c4910abba57816b9fefe8ad41 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | kashiish/vespa | 3adc974a3f7618185bf5959da02dc311cacd749b | 307de4bb24463d0f36cd8391a7b8df75bd0949b2 | refs/heads/master | 2023-07-04T05:13:11.650818 | 2021-08-06T22:26:21 | 2021-08-06T22:26:21 | 377,258,605 | 0 | 0 | Apache-2.0 | 2021-08-06T22:26:21 | 2021-06-15T18:25:48 | Java | UTF-8 | C++ | false | false | 646 | h | // Copyright Verizon Media. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
#include "status-callback.h"
#include "peer-check.h"
namespace config::sentinel {
/**
* Handles a checkConnectivity request by making an outgoing
* ping request. When the ping finishes, f... | [
"arnej@verizonmedia.com"
] | arnej@verizonmedia.com |
cb93a07dc241fa164cf16431af44aca4e70321a7 | 5ef9a73d2a3c4fb36d54dd0f60e141e2d44f10d6 | /samples/Projects/Shooter - Test/Source/Shooter/Test/IsolatedComponent0355.h | 7f44836930edd247cd820fd4904f32915d63d0b4 | [] | no_license | djbhsys/UE4 | 1d822fcc96b7bb14d96d6d0ee53c82d27d8d6347 | 5eb798e6084a5436c476170d65ffb218bf0bba33 | refs/heads/master | 2023-07-18T04:44:20.430929 | 2021-08-22T12:43:10 | 2021-08-22T12:43:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 575 | h |
#pragma once
#include "Components/ActorComponent.h"
#include "IsolatedComponent0355.generated.h"
UCLASS( ClassGroup=(Custom), meta=(BlueprintSpawnableComponent) )
class UIsolatedComponent0355 : public UActorComponent
{
GENERATED_BODY()
public:
UIsolatedComponent0355();
protected:
virtual void BeginPlay() overri... | [
"the.prompt@gmail.com"
] | the.prompt@gmail.com |
04fde62c4166cd603a7dac2af8b7c24ca0e22b9d | 9208a33982f1d75cf40951ac6e216464876d49af | /src/YamlGLMode.cpp | 42de2387c2e07d3b49f10f04058217738647ab06 | [] | no_license | romankuznietsov/phyz | 00edb12edb27a6602bdbdf9f21bed1c3727bbf9a | a12d91bf78c46fbb56ea8fd5a47f435239440587 | refs/heads/master | 2021-01-21T12:02:57.726345 | 2013-08-23T15:27:01 | 2013-08-23T15:27:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 597 | cpp | #include "YamlGLMode.h"
#include "YamlLoader.h"
YamlGLMode::YamlGLMode() : _glWindow(new GLWindow)
{
}
YamlGLMode::~YamlGLMode()
{
delete _glWindow;
}
void YamlGLMode::loadFile(std::string inputFileName)
{
YamlLoader().load(inputFileName, _model);
}
void YamlGLMode::run()
{
boost::thread glThread(G... | [
"roman.kuznietsov@gmail.com"
] | roman.kuznietsov@gmail.com |
42f210c5970ec8d8200ff07f85feda2735536285 | 056bd71548199f19aa30fea61350ce95545f2166 | /CogWheelServer/cogwheelcontroller.cpp | 0a921b009a3786ee04d89cd8e8b9c845a46bf12d | [
"MIT"
] | permissive | clockworkengineer/CogWheel | 5b4450dc79c73ac103e760998085926735e892d0 | 9e1f67e6b45c9193c528c596c01684510986bbd0 | refs/heads/master | 2021-01-16T20:04:29.792340 | 2018-08-20T17:32:19 | 2018-08-20T17:32:19 | 100,196,716 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,512 | cpp | /*
* File: cogwheelcontroller.cpp
*
* Author: Robert Tizzard
*
* Created on August 10, 2017
*
* Copyright 2017.
*
*/
//
// Class: CogWheelController
//
// Description: Class to control CogWheel server by recieving commands from
// the CogWheelManager and also sending replies back. Note: This class creates
/... | [
"robert_tizzard@hotmail.com"
] | robert_tizzard@hotmail.com |
0ca25e9d034516fa72be76e20e2436458260f708 | a77059399bd219fa582a00eee2e3d70e5d02d008 | /m02/Pr14-10_condensed.cpp | 3c6dfc919e7886908345105845e487d830139cdc | [] | no_license | katherinemariexp/comsc200 | 5b8c643ed410dc8ed20c4032ee61e66005cc0b2e | 28e21c09f53f460b0b4e1813d77ae4e94ad3434a | refs/heads/master | 2020-04-22T08:15:58.916730 | 2019-02-11T20:43:05 | 2019-02-11T20:43:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,019 | cpp | #include <iostream>
using namespace std;
class FeetInches {
int feet; // To hold a number of feet
int inches; // To hold a number of inches
void simplify();// header only Definition below
public:
// argument constructor
FeetInches(int f = 0, int i = 0)
{ feet = f; inches = i; simplify(); }
// copy construc... | [
"run1@aslugs.com"
] | run1@aslugs.com |
05e1ef805d75acae2655d9f32918b6b8e8f1a3d6 | 1e006c14837be0e7b6ed9a0f5870907638dfd402 | /usr/local/x86_64-pc-linux-gnu/x86_64-pc-linux-gnu/sys-root/usr/include/plist/Dictionary.h | f18e7c8582bb7eb8da3fa7e98029cb71bea42b55 | [] | no_license | slowfranklin/synology-ds | b9cd512d86ffc4d61949e6d72012b8cff8d58813 | 5a6dc5e1cfde5be3104f412e5a368bc8d615dfa6 | refs/heads/master | 2021-10-24T01:38:38.120574 | 2019-03-20T13:01:12 | 2019-03-20T13:01:12 | 176,933,470 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,881 | h | /*
* Dictionary.h
* Dictionary node type for C++ binding
*
* Copyright (c) 2009 Jonathan Beck All Rights Reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* vers... | [
"slow@samba.org"
] | slow@samba.org |
0889309b70f5570f85ffb7f301a0a79352bffe06 | 75e0c17726969b7440b87cbe38eeebda22290e75 | /basic/1046.cpp | 2af95c218322e19b0bb5e3537e2253fbb941892f | [] | no_license | hongair/pat | 8631e78e109261a34840c21be3a68519886179bc | d840a2edab512cec1ee6169ffb48286240f4cc1d | refs/heads/master | 2021-01-07T06:52:17.054917 | 2020-02-19T12:28:02 | 2020-02-19T12:28:02 | 241,611,723 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 416 | cpp | #include<iostream>
using namespace std;
int main(){
int n;
cin>>n;
int x1[n],x2[n],y1[n],y2[n];
for(int i=0;i<n;i++){
cin>>x1[i]>>y1[i]>>x2[i]>>y2[i];
}
int count1=0,count2=0,flag=1;
for(int j=0;j<n&&flag==1;j++){
if(x1[j]+x2[j]!=y1[j]&&x1[j]+x2[j]==y2[j]){
count1++;
}
if(x1[j]+x2[j]... | [
"noreply@github.com"
] | hongair.noreply@github.com |
ef33b5dd07626aaf60bae57f57b1fbad9cf25bc3 | b0d1714f857258f698dd03aa4d3de7e6f8de7b8c | /lib/Pixy/PixyI2C.h | b0a7aa9a3ef0086509ce325b0282ebcf9ab14fb3 | [] | no_license | LJ-STAND/Code-2017 | 8ccc7263ef8a41b4c8fc846afa006ac5f8af85b9 | c512969ae6677d272a5091adb0e6597fdb4a10a9 | refs/heads/master | 2021-09-25T01:24:15.168789 | 2017-09-23T02:18:12 | 2017-09-23T02:18:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,701 | h | //
// begin license header
//
// This file is part of Pixy CMUcam5 or "Pixy" for short
//
// All Pixy source code is provided under the terms of the
// GNU General Public License v2 (http://www.gnu.org/licenses/gpl-2.0.html).
// Those wishing to use Pixy source code, software and/or
// technologies under different lice... | [
"jsjyelland@gmail.com"
] | jsjyelland@gmail.com |
e7f4c8db076d3eb17925fafd1e1ead75e41babeb | b5152ddda628ca6007a12a164e21c735bfd53807 | /Hierarquia/produtoeletronico.cpp | 9a1a06dcc0fc4c496f73113f35a944c5ec150c80 | [] | no_license | RafValle/QT-training-C- | 96502453c5a8f52fbad2800e77519a14cb405318 | ec4df70c253492727ad6c183ec2d18868a21a2b8 | refs/heads/main | 2023-02-14T00:16:04.919132 | 2021-01-08T20:38:32 | 2021-01-08T20:38:32 | 327,331,235 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 368 | cpp | #include "produtoeletronico.h"
#include <iostream>
using namespace std;
ProdutoEletronico::ProdutoEletronico(const shared_ptr<IImposto> &imposto)
: IProduto(imposto) //Construtor da classe pai
{
}
void ProdutoEletronico::devolver()
{
cout << "Devolvendo produto eletronico" << endl;
cout << "O valor do i... | [
"rafael_valle25@hotmail.com"
] | rafael_valle25@hotmail.com |
1f48682904396e8d52b9c66edd05db063a7d83d4 | 027109a1827ad1f4c78a5268aca68242bacc8bc2 | /animation.cpp | b7b1e4b5197fd44f8043e0f83930b3c018f7334a | [] | no_license | dtbinh/Wasp-Animation | df3e17d84b893034fe78634638f765084b74adc2 | 50e9439a46cd4b06f10aec39e3a6bf1dacbe95d5 | refs/heads/master | 2021-01-17T11:37:47.180563 | 2014-04-07T10:36:27 | 2014-04-07T10:36:27 | 37,532,521 | 1 | 0 | null | 2015-06-16T13:40:07 | 2015-06-16T13:40:06 | C++ | UTF-8 | C++ | false | false | 839 | cpp | #include "animation.h"
void Animation::load(char *filename)
{
Tokenizer *token=new Tokenizer;
char temp[256];
token->Open(filename);
token->FindToken("range");
tstart = token->GetFloat();
tend = token->GetFloat();
token->FindToken("numchannels");
numchannels = token->GetInt();
poses = new float[numchannels];... | [
"aconegliano27@gmail.com"
] | aconegliano27@gmail.com |
56b189661d3ca1a13136b6244e6aebf27b1d7c6e | e91b7432ac78b5aae4d9b47d1d23fbe71e39f08f | /src/yars/physics/bullet/Ply.cpp | 694e0fdf2d6a473c2022c18986a16081e7115c01 | [
"MIT"
] | permissive | kzahedi/YARS | 90818b69c3fee12b3812b52f722ac52b728f064b | 48d9fe4178d699fba38114d3b299a228da41293d | refs/heads/master | 2020-05-21T03:29:48.826895 | 2019-04-24T13:44:25 | 2019-04-24T13:44:25 | 64,328,589 | 4 | 1 | null | 2017-02-23T19:55:08 | 2016-07-27T17:30:54 | C++ | UTF-8 | C++ | false | false | 9,240 | cpp | #include <yars/physics/bullet/Ply.h>
#include <yars/physics/bullet/World.h>
#include <yars/physics/bullet/MyMotionState.h>
#include <yars/physics/bullet/MyMotionStateDebug.h>
#include <yars/util/YarsErrorHandler.h>
#include <BulletCollision/Gimpact/btGImpactShape.h>
#include <BulletCollision/Gimpact/btGImpactCollision... | [
"keyan.zahedi@gmail.com"
] | keyan.zahedi@gmail.com |
91d3b7be2fb103c07e1377fa9170bf4572e29f7e | ac225faddf9b8da7e0dd75b46ae2421df4364b47 | /12 Depth and Stenciling/d3dApp.cpp | 823d87f9f65f0dfe0e1b1e21cf26004c3c7b83df | [
"MIT"
] | permissive | ljx719476856li/DirectX11-With-Windows-SDK | 11f6d023f2caad08336088c53aabec29240c983a | 14644b0e645f3f152ca6a00c750a1e0f65e771f0 | refs/heads/master | 2020-04-05T03:17:46.204689 | 2018-11-05T13:15:59 | 2018-11-05T13:15:59 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 15,342 | cpp | #include "d3dApp.h"
#include "d3dUtil.h"
#include <sstream>
namespace
{
// This is just used to forward Windows messages from a global window
// procedure to our member function window procedure because we cannot
// assign a member function to WNDCLASS::lpfnWndProc.
D3DApp* gd3dApp = 0;
}
LRESULT CALLBACK
MainWnd... | [
"757919340@qq.com"
] | 757919340@qq.com |
efe06e2b2a8a9ce65e55175577dcc0fe35510d66 | 8f50c262f89d3dc4f15f2f67eb76e686b8f808f5 | /Trigger/TrigEvent/TrigMonitoringEventTPCnv/test/TrigMonRoiCnv_p1_test.cxx | e7ed947a127af450f154bb95954d1b8fd04d5684 | [
"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 | 1,283 | cxx | /*
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
*/
/**
* @file TrigMonitoringEventTPCnv/test/TrigMonRoiCnv_p1_test.cxx
* @author scott snyder <snyder@bnl.gov>
* @date Dec, 2019
* @brief Tests for TrigMonRoiCnv_p1.
*/
#undef NDEBUG
#include "TrigMonitoringEventTPCnv/TrigMonRoiCnv_p1.h... | [
"snyder@bnl.gov"
] | snyder@bnl.gov |
626148e4e41a032239fda0eadc28620460f4eecd | b7b4b08c9a6c20aca394390ce93687e484a3cfa7 | /1430 Notes/1430 Notes/Notes.cpp | 67156e1e3300519e7588330f92877ccee72f9f1f | [] | no_license | moonkhan12/Projects | fc494d3d2d1b1ad3393563ede71e85a5d0ce2bcd | 8b1fe6191480c75b8dbebfa58adb24193ec373c7 | refs/heads/main | 2023-04-26T20:18:00.478533 | 2021-05-27T17:53:04 | 2021-05-27T17:53:04 | 357,923,902 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,949 | cpp | #include <stdio.h>
#include <stdlib.h>
#include <iostream>
using namespace std;
/*
#include <iostream>
using namespace std;
int main(void)
{
int var1;
const double PI = 3.1415;
cout << "What is your name? ";
cin >> var1;
cout << "Hello" << var1 << "\n";
int x = 1;
if (x == 1)
{
cout << "HI"... | [
"noreply@github.com"
] | moonkhan12.noreply@github.com |
de6cd03ce2553eb820ffa5589ce0d95e70294245 | a1fbf16243026331187b6df903ed4f69e5e8c110 | /cs/sdk/3d_sdk/maya/ver-2008/devkit/mentalray/shaders/physics/dielecshade.cpp | 8742be52e1849311a37dbd14aa5820afd740c4c6 | [
"LicenseRef-scancode-warranty-disclaimer",
"BSD-2-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | OpenXRay/xray-15 | ca0031cf1893616e0c9795c670d5d9f57ca9beff | 1390dfb08ed20997d7e8c95147ea8e8cb71f5e86 | refs/heads/xd_dev | 2023-07-17T23:42:14.693841 | 2021-09-01T23:25:34 | 2021-09-01T23:25:34 | 23,224,089 | 64 | 23 | NOASSERTION | 2019-04-03T17:50:18 | 2014-08-22T12:09:41 | C++ | UTF-8 | C++ | false | false | 13,150 | cpp | /******************************************************************************
* Copyright 1986-2007 by mental images GmbH, Fasanenstr. 81, D-10623 Berlin,
* Germany. All rights reserved.
******************************************************************************
* Created: 4.11.96
* Module: physics
* Purpose... | [
"paul-kv@yandex.ru"
] | paul-kv@yandex.ru |
3ddc321589d3d1319566186fa0d1ac32e113c3ae | a51b3523c4e750301c5a3cc23fc9705aac8cdcb8 | /RationalNumber.cpp | fc38d932110461ad2df593e16ab212bde469c087 | [] | no_license | mshirlaw/overloading | 9cc8f622ce96f476a6eb8bf3f3c192a418caa2fa | d61cd4233a6a719f23408e828766614446453600 | refs/heads/master | 2020-05-31T05:56:43.090715 | 2013-04-15T11:06:25 | 2013-04-15T11:06:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,866 | cpp | #include <iostream>
#include "RationalNumber.h"
#include <stdexcept>
using namespace std;
//constructor prevents a negative or zero deonominator
RationalNumber::RationalNumber(int num, int den)
{
//prevent a zero or negative denominator
if (den <=0)
throw invalid_argument("Denominator must be greater than 0!")... | [
"mshirlaw@yahoo.com"
] | mshirlaw@yahoo.com |
f9f7510682633fa7cdedc93d303e386612df9c37 | 5386865e2ea964397b8127aba4b2592d939cd9f2 | /codeforces/round212/a.cpp | e05428c9eac5de06d06b185815d366fb2511de6a | [] | no_license | HekpoMaH/Olimpiads | e380538b3de39ada60b3572451ae53e6edbde1be | d358333e606e60ea83e0f4b47b61f649bd27890b | refs/heads/master | 2021-07-07T14:51:03.193642 | 2017-10-04T16:38:11 | 2017-10-04T16:38:11 | 105,790,126 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 662 | cpp | #include<bits/stdc++.h>
using namespace std;
int px[4]={-11,2,-2};
int py[4]={-11,2,-2};
void solve(){
string s[100];
int n;
n=8;
for(int i=0;i<n;i++){
cin>>s[i];
}
int p1x,p1y,p2x,p2y;
p1x=-11;p2x=-11;
for(int i=0;i<n;i++){
for(int j=0;j<n;j++){
if(s[i][j]=='K'){
... | [
"dgg30"
] | dgg30 |
37c55090cd427310bcfaa6abd0c62a12225ec25c | c86d23356ebbd946038a70f681017a917ed9ca9b | /question30.cpp | 7cb69af5a23d186647672f667bbf6dff7378bd0c | [] | no_license | premnigamkar/lab-3 | fa621d10049efd485d66158080a49680b5ebd151 | a1701e5c7fb754eb427b3992cc6463946e77bd98 | refs/heads/master | 2021-06-30T06:46:12.904324 | 2017-09-15T14:34:36 | 2017-09-15T14:34:36 | 103,666,265 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 202 | cpp | #include <iostream>
#include<cmath>
using namespace std;
int main() {
int n,i;
cout<<"enter any number\n";
cin>>n;
i=1;
while(i<=10)
{
cout<<n<<'*'<<i<<'='<<n*i<<"\n";
i++;
}
return 0;
}
| [
"noreply@github.com"
] | premnigamkar.noreply@github.com |
95b0e0c334623fc0450a791f2da22ea71f775dd2 | 712e30a644d5251eb0b7ba29476e9c3b7b575a01 | /tests/unittests/lit_cases/test_dnnl/test_nllloss_NCd1d2_expanded_dnnl.cc | aae76a03ba86f721aabb40eff3797702d7433afc | [
"Apache-2.0"
] | permissive | dj176050/heterogeneity-aware-lowering-and-optimization | 9baee6e75777e87d277e209e811bd69d903aae6a | 5ca73754671fa595436fe32b69fe96145b6164b0 | refs/heads/master | 2023-04-01T11:14:51.544266 | 2021-04-13T05:12:14 | 2021-04-13T05:12:14 | 313,488,852 | 0 | 3 | Apache-2.0 | 2021-04-13T05:12:15 | 2020-11-17T02:49:06 | C++ | UTF-8 | C++ | false | false | 2,067 | cc | //===-test_nllloss_NCd1d2_expanded_dnnl.cc-----------------------------------------------------------===//
//
// Copyright (C) 2019-2020 Alibaba Group Holding Limited.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obt... | [
"74580362+xuhongyao@users.noreply.github.com"
] | 74580362+xuhongyao@users.noreply.github.com |
6e589cf2e3ca87e47e4bec060856d5d4c6fe75bf | 2a920be3fcc15b16424d18a42800e5ceef67a63e | /NAKANJ.cpp | 72d47f5921c96c02c5c8fad89a2323963ef9efac | [] | no_license | ShikharRoxx/Spoj | 9350afb64da0db958858a40f42f6c82bce7d4eb2 | 70b7da3f9678217e4288e5214bc30cdc5d0a69a5 | refs/heads/master | 2021-01-16T20:50:31.141781 | 2013-12-26T18:38:04 | 2013-12-26T18:38:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,166 | cpp | #include <vector>
#include <list>
#include <queue>
#include <map>
#include <set>
#include <deque>
#include <stack>
#include <bitset>
#include <algorithm>
#include <functional>
#include <numeric>
#include <utility>
#include <sstream>
#include <iostream>
#include <iomanip>
#include <cstdio>
#include <cmath>
#include <cst... | [
"balvinsriram@gmail.com"
] | balvinsriram@gmail.com |
e55352b8490cea1d23d17d8dc546a59ddd7c6099 | e966d5df4db23e394a5e24cfd387a912e9004be9 | /Competitive_Programming/Codeforces/Practice/ID_2.cpp | 96dcd7d5948c27e298fba2ae8f56ce60def11dae | [] | no_license | Tatvam/Data-Structure-And-Algorithms | f90f6a436841620e1209d8b89bd618eec97caede | abe1e2b6ca2a6796bfb25c9af19a13850351c6ff | refs/heads/master | 2020-03-12T17:40:29.702916 | 2018-11-06T06:37:37 | 2018-11-06T06:37:37 | 130,742,021 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,240 | cpp | /**************************************************
* NAME: TATVAM DADHEECH(td_1417) *
* INSTITUITION: IIT BHUBANESWAR *
**************************************************/
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef vector<int> vi;
typedef vector<long... | [
"td14@iitbbs.ac.in"
] | td14@iitbbs.ac.in |
4c95a4ac4a514cc762353bd6c255f10ebc70a352 | 5902fa0857cd4f722a9663bbd61aa0895b9f8dea | /BMIG-5101-SequencesAsBioInformation/Blast/ncbi-blast-2.10.0+-src/c++/include/util/thread_pool_old.hpp | 3ed0b29bfb30313e1189c418b7200353b1134a26 | [] | no_license | thegrapesofwrath/spring-2020 | 1b38d45fa44fcdc78dcecfb3b221107b97ceff9c | f90fcde64d83c04e55f9b421d20f274427cbe1c8 | refs/heads/main | 2023-01-23T13:35:05.394076 | 2020-12-08T21:40:42 | 2020-12-08T21:40:42 | 319,763,280 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 130 | hpp | version https://git-lfs.github.com/spec/v1
oid sha256:ab12f44d3c73abd44418a11e784abf2ce29bd62888a26be719a01bc485fd6eae
size 40026
| [
"shawn-hartley@sbcglobal.net"
] | shawn-hartley@sbcglobal.net |
9c175bf1476c3a759e3f8740d1d5e23810ee32a7 | 809ddc3993c386023c8de183c2f6bb2f3080b515 | /Sort(정렬)/SortCmp03.cpp | c3f4d57e14c71fde50f9975139659d31ee67882c | [] | no_license | taehyundev/Using_The_Cpp_StandardTemplateLibraries | 95e0e7a8c6ca3d995ab2f583c2b3cb9c066e6838 | e33a26a2b5a94c7c3b245828a61ff17e9604f27a | refs/heads/master | 2020-12-23T00:30:29.245725 | 2020-02-28T11:14:01 | 2020-02-28T11:14:01 | 236,976,997 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 468 | cpp | #include <iostream>
#include <algorithm>
#include <vector>
using namespace std;
bool cmp(const int &a, const int &b) {
return a > b;
}
int main() {
vector<int> v(5);
v[0] = 3;
v[1] = 7;
v[2] = 4;
v[3] = 9;
v[4] = 1;
cout << "정렬 전 [ ";
for (int i = 0; i < 5; i++) {
cout << v[i] << " ";
}
cout << " ]";
so... | [
"K.anon.11107@gmail.com"
] | K.anon.11107@gmail.com |
d3605a3eee5cc43ba49dad9060c5d10886b7b509 | 3e0a6d236e5eead5ba1c5c2dbc2d65ee673971f5 | /src/iplanner/scene/light.h | 939b2e23f5c4b44cd218319d89a08726152da28c | [
"MIT"
] | permissive | jsonpark/iplanner2 | 642d4edbca29887951d2faffe0e685d7a0a04d6b | 858aeb3d54b519283a0a9e71cc6878a9114d2ea8 | refs/heads/master | 2020-12-14T20:45:15.919902 | 2020-02-24T09:57:42 | 2020-02-24T09:57:42 | 234,863,525 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 479 | h | #ifndef IPLANNER_SCENE_LIGHT_H_
#define IPLANNER_SCENE_LIGHT_H_
#include <string>
#include "iplanner/types.h"
namespace iplanner
{
struct Light
{
enum class Type : uint8_t
{
Directional,
Point,
};
Type type = Type::Directional;
Vector3f position{ 0.f, 0.f, 0.f };
Vector3f ambient{ 0.f, 0.f, 0.f ... | [
"json.park.92@gmail.com"
] | json.park.92@gmail.com |
ab8471b4aa63f5443600d98604e212154e5940ed | 72225cd57e4eb46cb2ef8aa2955ab3db2798118c | /题库/动态规划/树形DP/A 树形dp(复杂儿子到儿子儿子到根根到祖父维护能上来的点).cpp | 28905e9377a38b0762db6f298918b3044148c812 | [] | no_license | qingping95/ACM | 8bc58baffaf947f633792af96a2a554a59780451 | d7b02accf3289a7555c0b1410d4053d7e9d19053 | refs/heads/master | 2021-07-14T12:47:53.805723 | 2021-03-07T07:45:36 | 2021-03-07T07:45:36 | 57,396,610 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,642 | cpp | /*
*Rainto96
*Beijing University of Posts and Telecommunications School of Software Engineering
*http://blog.csdn.net/u011775691
*/
#include <iostream>
#include <cstdio>
#include <algorithm>
#include <queue>
#include <cstring>
#include <string>
#include <cmath>
#include <set>
#include <map>
#include <vector>
#include <... | [
"qingping95@gmail.com"
] | qingping95@gmail.com |
c2ace333fcbb12a5d2c503d051cdc4e8b2c6d3be | f237ad51e5f7709f22c51aa67962675b2d7e4f00 | /sFGD/src/RunAction.cc | ed82c34a8d6d890c94d8a9f4ca151a72c24d8344 | [] | no_license | KSkwarczynski/Geant4 | 5dcc652547b4850a6c0c35e9cf701d13da9e3451 | 2a48b8247d227d950c706eca071dc782e4109b08 | refs/heads/main | 2021-06-07T01:38:26.038310 | 2020-01-03T17:36:24 | 2020-01-03T17:36:24 | 159,066,501 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 730 | cc | //
//
//
/// \file RunAction.cc
/// \brief Implementation of the RunAction class
#include "RunAction.hh"
#include "G4Run.hh"
RunAction::RunAction(): G4UserRunAction()
{
std::cout << "być może to czas na stworzenie pliku wyjściowego" << std::endl;
timer = new G4Timer;
}
RunAction::~RunAction()
{
std::cou... | [
"noreply@github.com"
] | KSkwarczynski.noreply@github.com |
ef1c5e97892d59e2444362ae07b3853e58c9667b | b3d2cc8c48e54ec76c2ae72b2077f9527a9c8187 | /Algorithms/N-QueenHard/p.cpp | 83d1b6cd5c357a0fcff7579fd12bad85d811aa5b | [] | no_license | Husain0007/HackerBlocks | 7472f25c4e67519822031211a0c809285fe9481c | b8f078dcd127fd46c174f6cfeba33bd849910af6 | refs/heads/master | 2022-12-25T21:14:36.899441 | 2020-10-11T09:08:25 | 2020-10-11T09:08:25 | 253,750,983 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 570 | cpp | #include <iostream>
#include <bitset>
using namespace std;
bitset<30> col, d1, d2;
void solve(int r, int n, int &ans)
{
if (r == n)
{
ans++;
return;
}
for (int c = 0; c < n; c++)
{
if (!col[c] && !d1[r - c + n - 1] && !d2[r + c])
{
col[c] = d1[r - c + n... | [
"syedhusainmustafa@gmail.com"
] | syedhusainmustafa@gmail.com |
259c604552bfe378f073e7be83e86425a1845c79 | 7e791eccdc4d41ba225a90b3918ba48e356fdd78 | /chromium/src/components/drive/directory_loader_unittest.cc | 810a3db05d93454fbce25ee240910bf53b95768e | [
"BSD-3-Clause"
] | permissive | WiViClass/cef-3.2623 | 4e22b763a75e90d10ebf9aa3ea9a48a3d9ccd885 | 17fe881e9e481ef368d9f26e903e00a6b7bdc018 | refs/heads/master | 2021-01-25T04:38:14.941623 | 2017-06-09T07:37:43 | 2017-06-09T07:37:43 | 93,824,379 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 9,416 | cc | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/drive/directory_loader.h"
#include "base/callback_helpers.h"
#include "base/files/scoped_temp_dir.h"
#include "base/macros.h"
#inclu... | [
"1480868058@qq.com"
] | 1480868058@qq.com |
d71f1258ceff11aa4b6f6b13072cb1c3c713a7e5 | eba660066aa304c900a040da622986f73b98d69f | /nodo.h | 6d16a7063687449759b95dd79b84e0bfc9a54a89 | [] | no_license | damasofc/TDA_Grafo | 67b9663cc205cf8d7a70ad34c31e1bd7e27a2918 | 104b8c6b75b8a845a0ac613d38290d9933cb7a24 | refs/heads/master | 2021-05-06T15:44:34.856446 | 2017-12-13T06:58:15 | 2017-12-13T06:58:15 | 113,645,655 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 420 | h | #ifndef NODO_H
#define NODO_H
#include "lista.h"
#include "arista.h"
class Arista;
using namespace std;
class Nodo
{
public:
lista<Arista*>* aristas;
string name;
Nodo(string nombre)
{
aristas = new lista<Arista*>();
this->name = nombre;
}
bool operator==(Nodo* nodo)
{
... | [
"damasofc@hotmail.com"
] | damasofc@hotmail.com |
c3085d88ad2df2ddf079e9461af34f0084a3d9fe | 4dbcd843b9337c91f9fb7f74077b90e1e8c6d3ca | /Estructura de Datos/Primer Parcial/LinkedList.h | b018ec14a9b8ea03a883ffba0412c1d8f95510ec | [] | no_license | Biller17/Codigos-Tercer-Semestre | 46a2ba059c0a8f459785799d02dc367a26ae8054 | e013f2ac9ec8e6e056e0439664155559bc1f0b67 | refs/heads/master | 2020-12-25T14:34:05.899999 | 2016-11-23T03:12:40 | 2016-11-23T03:12:40 | 65,778,463 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,731 | h | /*
Gilberto Echeverria
Implementation of the Linked list
*/
#include <iostream>
#include "Node.h"
template <class T>
class LinkedList {
private:
Node<T> * head = nullptr;
//Node<T> * tail = nullptr;
int length = 0;
public:
// Constructors
LinkedList () {}
... | [
"abiller95@gmail.com"
] | abiller95@gmail.com |
97a40a979cee971ec492f408c7f48bbce0b0a7c6 | daa5ad0b26e259b70520252a4d633312bc233616 | /test/lib/googletest/include/gtest/gtest.h | 78e1f2f352cb93fefddd510e3546e4bbbe812cd6 | [
"BSD-3-Clause"
] | permissive | GiulioBagnoli/EsameLaboratorioProgrammazione | 03dd1cd6a546fb4f6b057878e0c478fba0b3c3d1 | cf6cda6180b9397f3ee6b6f63b4f3c026323bbbc | refs/heads/master | 2020-03-18T00:12:26.057268 | 2018-07-03T14:49:05 | 2018-07-03T14:49:05 | 134,079,071 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 92,945 | h | // Copyright 2005, 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 conditions ... | [
"giulio.bagnoli@stud.unif.it"
] | giulio.bagnoli@stud.unif.it |
6ffc2c68a33107f7d86f8f6d1c990cd1721fd784 | 99bb7246a5577376694968cc320e34b4b8db1693 | /CommonLibF4/include/RE/Havok/hkBaseObject.h | c03e962c742bbe1291bb001598f910492b2fd71d | [
"MIT"
] | permissive | Ryan-rsm-McKenzie/CommonLibF4 | 0d8f3baa4e3c18708e6427959f1d4f88bcf3d691 | cdd932ad1f4e37f33c28ea7d7e429428f5be43dd | refs/heads/master | 2023-07-26T23:24:09.615310 | 2023-07-16T22:53:24 | 2023-07-16T22:53:24 | 194,604,556 | 50 | 21 | MIT | 2023-07-20T22:20:02 | 2019-07-01T05:20:18 | C++ | UTF-8 | C++ | false | false | 365 | h | #pragma once
namespace RE
{
class __declspec(novtable) hkBaseObject
{
public:
static constexpr auto RTTI{ RTTI::hkBaseObject };
static constexpr auto VTABLE{ VTABLE::hkBaseObject };
virtual ~hkBaseObject() = default; // 00
// add
virtual void __first_virtual_table_function__() { return; } // 01
};
s... | [
"ryan__mckenzie@hotmail.com"
] | ryan__mckenzie@hotmail.com |
f3c7bf3603e0bda3f73cce9aa9d28af87ff63eff | 6013a919c2820cc1c9d71a9be785633674b1891e | /src/Pulso.h | dcffc94f976d4ca0bcf8732ee03e870435a1f67d | [] | no_license | fbarretto/Zer0 | d4e839cbfc96f98e30344cd837fba0682b3e8688 | 84d88ed87bb4e9dd6f0539931d84a9f77ef42977 | refs/heads/master | 2020-12-24T15:32:33.881780 | 2018-10-04T11:10:30 | 2018-10-04T11:10:30 | 15,858,045 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 657 | h | //
// Pulso.h
// Pulso
//
// Created by Benoit Espinola on 11/01/14.
//
//
//#ifndef __Pulso__Pulso__
//#define __Pulso__Pulso__
#pragma once
#include <iostream>
#include "ofMain.h"
class Pulso{
public :
Pulso();
Pulso(ofPoint _position, float _speed, float _radiusLimit, int color);
void st... | [
"kikobarretto@gmail.com"
] | kikobarretto@gmail.com |
88f7f16b56acca2a503e8809b864b87edc3ac593 | 0932d083abe270f4e48bc860ae12331564bcf18b | /milestone5_test/milestone5/consoleapplication1/consoleapplication1/o.h | 7d3935bd8d07396b851a937e2a9165193ac96215 | [] | no_license | xwang345/S_OOP345 | 17470590ef50f9fcb59e9ddd1548b028f4baa2f5 | 5f5e452aa71432dba7eb94ef3c7a3ad40e18d7ff | refs/heads/master | 2021-06-25T10:27:45.413225 | 2017-09-12T15:40:50 | 2017-09-12T15:40:50 | 103,289,747 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 930 | h | #pragma once
#include <iostream>
#include <fstream>
#include <string>
#include <vector>
#include "util.h"
#include "i.h"
class Order {
std::string orderCustomer, orderProduct;
std::vector<std::string> orderItems;
public:
Order() {}
Order( std::vector<std::string> &row );
void print();
void graph(std::fstr... | [
"ryan.wang23@hotmail.com"
] | ryan.wang23@hotmail.com |
1b06729bbc8a0e7f5d2992f7ca132b5c8e4a571d | f3073c45242640311f5d898eb6265dbbb3495981 | /include/simcons.hpp | fde46255ac2c49d237b2aaa522cfc146bff226b8 | [] | no_license | tidota/two-dim-sim | de3c227e007f0ac3c262221b284b4669d9e2dfb5 | 29409863ab153ea3c116b4867b06ada296c0fcfc | refs/heads/master | 2022-03-19T11:12:07.219996 | 2022-02-16T00:34:52 | 2022-02-16T00:35:14 | 207,268,150 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,258 | hpp | // simcons.cpp
// this is a class implementing the conservative data exchange.
#ifndef SIMCONS_HPP
#define SIMCONS_HPP
#include <string>
#include <vector>
#include <yaml-cpp/yaml.h>
#include <Eigen/Dense>
#include <simparam.hpp>
using namespace std;
using namespace Eigen;
class SimCons: public SimParam
{
priva... | [
"tidota@hawaii.edu"
] | tidota@hawaii.edu |
4cd3e0d2b677c2d5ec9af37c9c64ec6f1ed08dd2 | 24f47fe1dda0c39d3f0820b294ce3d2679a5c7fa | /Cpp/27_reference_var.cpp | 30f41eacf25363ea7147f66ce417e5a3a432fafb | [] | no_license | BumBamBi/Cpp | 478047b72602b9ea6e12fd7a3af62b5d0e842e8b | 84ed8302312e318f2abbeee2c85d07d4ae414025 | refs/heads/master | 2023-02-06T05:19:43.095422 | 2020-12-18T07:53:21 | 2020-12-18T07:53:21 | 294,404,008 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 403 | cpp | #include<iostream>
using namespace std;
void func(int& rn) {
// 참조변수를 사용 = 포인터처럼 사용됨(그러나 포인터의 위험성은 사용x)
rn = 100;
return;
}
int main() {
/*
reference var
int a;
int& ra = a; 했을 때,
a말고 ra로도 접근 가능(값이 바뀌면 같이 바뀜)
*/
int n = 10;
cout << n << endl;
func(n);
cout << n << endl;
return 0;
} | [
"dlrhkddn0325@gmail.com"
] | dlrhkddn0325@gmail.com |
11ef6e704e74a24535f21f88a5cff88105fd3eb6 | fbbc663c607c9687452fa3192b02933b9eb3656d | /tags/1.22.03.00/mptrack/Ctrl_pat.h | f7d83d52c427f4d1805841fdf1166932e9227377 | [
"BSD-3-Clause"
] | permissive | svn2github/OpenMPT | 594837f3adcb28ba92a324e51c6172a8c1e8ea9c | a2943f028d334a8751b9f16b0512a5e0b905596a | refs/heads/master | 2021-07-10T05:07:18.298407 | 2019-01-19T10:27:21 | 2019-01-19T10:27:21 | 106,434,952 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 9,480 | h | /*
* ctrl_pat.h
* ----------
* Purpose: Pattern tab, upper panel.
* Notes : (currently none)
* Authors: Olivier Lapicque
* OpenMPT Devs
* The OpenMPT source code is released under the BSD license. Read LICENSE for more details.
*/
#pragma once
#include "globals.h"
#include "PatternCursor.h"
class ... | [
"saga-games@56274372-70c3-4bfc-bfc3-4c3a0b034d27"
] | saga-games@56274372-70c3-4bfc-bfc3-4c3a0b034d27 |
cea9791ff50215b0343e9bb347517a202d3f5bfd | 35ad75da80c97300faad00c33c53129818581b34 | /Source/BombMan/BombActor.h | f9a9fa143de2a95c54b3df52696535a3ab0211a8 | [] | no_license | PoorMonk/BombMan | dd728f366607c8f4148a5ec85c047754e5425f53 | 54a4ed679305a3ee81e71eb12eb71a27f9f307ca | refs/heads/master | 2021-02-06T06:05:22.302598 | 2020-03-13T00:43:00 | 2020-03-13T00:43:00 | 243,885,133 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,629 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/Actor.h"
#include "BombActor.generated.h"
class UBoxComponent;
class UStaticMeshComponent;
class UParticleSystemComponent;
class ABlastActor;
class ABombManCharacter;
UCLASS()... | [
"461874693@qq.com"
] | 461874693@qq.com |
ab006b20e6f13aad3a9060fd520b560d5cf0a729 | 5004f0c1f7eba48acf74630eb0baf296fb2a3a51 | /Atcoder/Grand043/A.cpp | ffccba32404b8d5eb0ad71c7707aa5e786cb3eb8 | [] | no_license | shash42/Competitive-Programming | 80ab2611764f2f615568f2011088c1f651f26dcc | f069e8de37f42dba9fb77941b297b33161c2d401 | refs/heads/master | 2021-03-17T17:30:38.242207 | 2020-07-21T18:24:13 | 2020-07-21T18:24:13 | 276,369,049 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,588 | cpp | #include<bits/stdc++.h>
#define int long long
#define pii pair<int, int>
#define F first
#define S second
#define pb push_back
const int N=102, INF=1e9;
using namespace std;
int h, w, dist[N][N];
char mat[N][N];
deque< pii > dq;
signed main()
{
cin >> h >> w;
for(int i = 1; i <= h; i++)
{
for(int j ... | [
"shashwatnow@gmail.com"
] | shashwatnow@gmail.com |
38361f7f897023c8de55e3f497c1c098f87f0178 | b454dab56dcf39712f995892cf095864d3f6492f | /AUG20B/CHEFWARS.cpp | 2f11b6b6134f4dbe5d8d1f364caa15e653ae5117 | [] | no_license | ishvar99/codechef | e242f241074c0c461600c0a50276012dd3026db1 | 3032f2d92e2685a83126eb612927c76b29957276 | refs/heads/master | 2022-12-10T06:47:52.453831 | 2020-09-13T10:20:02 | 2020-09-13T10:20:02 | 219,731,582 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 490 | cpp | //
// Created by Ishan Varshney on 8/13/2020.
//
#include <iostream>
using namespace std;
int main(){
int t,h,p;
cin>>t;
while(t-->0){
int flag=0;
cin>>h;
cin>>p;
while(p>0){
h-=p;
if(h<=0){
flag=1;
bre... | [
"noreply@github.com"
] | ishvar99.noreply@github.com |
16461d37afce83d7a6295c41154dca79ba8839cb | a94b580252f4a66cc5b39f14e2e0e9ed1912b2fa | /pravljenje_niti_u_c++/h/kernelev.h | 60d8eb333ffe6b2562a5305c407153852f2907ee | [] | no_license | PetarKolic/projekti-praksa | 4678a6c73194e6815d4d26f7609e14fc34cf1bd2 | 3bb35cafba9de90466fd40bf0f9d8607c2791e21 | refs/heads/master | 2023-03-27T15:08:28.745816 | 2021-03-27T18:47:50 | 2021-03-27T18:47:50 | 352,147,988 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 320 | h | /*
* kernelev.h
*
* Created on: Aug 19, 2019
* Author: OS1
*/
#ifndef KERNELEV_H_
#define KERNELEV_H_
#include "event.h"
class PCB;
class KernelEv
{
private:
int value;
PCB *owner;
IVTNo ivtNo;
public:
KernelEv(IVTNo ivtNo);
~KernelEv();
void wait();
void signal();
};
#endif /* KERNELEV_H_ */
| [
"bladekolich@gmail.com"
] | bladekolich@gmail.com |
1e57218f73245a19b3c0f2ac6b65a6f32a49b903 | dd949f215d968f2ee69bf85571fd63e4f085a869 | /subarchitectures/binder/trunk/src/c++/binder/components/MLNClients/MLNRefResolutionClient.h | 0481202a9efc3edaf9acf4ca2ed90dd9608e9dd0 | [] | no_license | marc-hanheide/cogx | a3fd395805f1b0ad7d713a05b9256312757b37a9 | cb9a9c9cdfeba02afac6a83d03b7c6bb778edb95 | refs/heads/master | 2022-03-16T23:36:21.951317 | 2013-12-10T23:49:07 | 2013-12-10T23:49:07 | 219,460,352 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,743 | h | /**
* @author Alen Vrecko
* @date September 2011
*
* A component that filters beliefs and provides evidence to a Markov logic network engine.
*/
#ifndef MLN_REF_RESOLUTION_CLIENT_H
#define MLN_REF_RESOLUTION_CLIENT_H
#include <AbsMLNClient.h>
#include <ref.hpp>
#include <beliefs.hpp>
#include <beliefs_cast.hpp>
... | [
"alen@9dca7cc1-ec4f-0410-aedc-c33437d64837"
] | alen@9dca7cc1-ec4f-0410-aedc-c33437d64837 |
fa163f9de6929f5bd31d1ebe79b465363ce03034 | 70314ffe48dd5c6a1c8e9f7f13baa16af2e2cbef | /BOJ/서로소.cpp | 7cf10b462d9430f10c83d3c6b1047e3203e878d8 | [] | no_license | WiseCow/algorithm | 2cb2a0a1d1fa37bd69d36506792f8f75133382d7 | 1b86951116f610d90d636f843652930f71141ddf | refs/heads/master | 2021-01-17T20:38:09.496349 | 2019-01-09T14:11:08 | 2019-01-09T14:11:08 | 68,787,903 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 526 | cpp |
#include <iostream>
using namespace std;
int gcm(int a, int b)
{
if (b == 0)return a;
else gcm(b, a%b);
}
int main()
{
int nCount; /* 문제의 테스트 케이스 */
cin >> nCount; /* 테스트 케이스 입력 */
for (int itr = 0; itr<nCount; itr++)
{
cout << "#testcase" << (itr + 1) << endl;
int a, b;
cin >> ... | [
"khw2704@gmail.com"
] | khw2704@gmail.com |
f66558990ecdc8577ebf898acac61839485bd227 | f16af0daae3d88df06fe45b57d762fe0ed0da6d6 | /INLib/inc/GELib/Fx/FxBoxComponent.h | 8c70e5813c37e044ed1e94976e64cecdf25fabe2 | [] | 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 | UTF-8 | C++ | false | false | 1,651 | h | //////////////////////////////////////////////////////////////////////
// created: 2010/06/06
// filename: GELib/Fx/FxBoxComponent.h
// author: League of Perfect
/// @brief
///
//////////////////////////////////////////////////////////////////////
#ifndef __GELIB_FX_FXBOXCOMPONENT_H__
#define __GELI... | [
"38876514+lop-dev@users.noreply.github.com"
] | 38876514+lop-dev@users.noreply.github.com |
92f0ea01827a56fd9af7a155536ca80aa4846fe3 | f3102a100ad7f5606af620caca37c706ed2d5e55 | /Baekjoon/15651.cpp | d580adbc5bacd22447fb2efcec930ffce97c5fab | [] | no_license | ameliacode/Algorithm | c746797b27cf1f783874acc89d024920c0b45897 | d6de240c5c0347cd8f58b59361a8eed5e79733db | refs/heads/master | 2022-02-22T12:36:06.466225 | 2022-02-17T02:55:05 | 2022-02-17T02:55:05 | 210,334,019 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 647 | cpp | #include<iostream>
#include<string>
#include<vector>
#include<map>
#include<utility>
#include<algorithm>
using namespace std;
int N, M;
bool visited[9] = { 0, };
int arr[9] = { 0, };
void DFS(int cnt)
{
if (cnt == M)
{
for (int i = 0; i < M; i++)
cout << arr[i] << ' ';
cout << '\n... | [
"17011663@sju.ac.kr"
] | 17011663@sju.ac.kr |
2d177ce3877dc4d4749b9897d857ee68f26fd7c9 | f5dc059a4311bc542af480aa8e8784965d78c6e7 | /tables/Tables/ISMIndColumn.cc | 6fb130b267b55d74042202cbe9e7ea7816259460 | [] | no_license | astro-informatics/casacore-1.7.0_patched | ec166dc4a13a34ed433dd799393e407d077a8599 | 8a7cbf4aa79937fba132cf36fea98f448cc230ea | refs/heads/master | 2021-01-17T05:26:35.733411 | 2015-03-24T11:08:55 | 2015-03-24T11:08:55 | 32,793,738 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,083 | cc | //# ISMIndColumn.cc: Column of Incremental storage manager for indirect arrays
//# Copyright (C) 1996,1997,1998,1999,2001,2002
//# Associated Universities, Inc. Washington DC, USA.
//#
//# This library is free software; you can redistribute it and/or modify it
//# under the terms of the GNU Library General Public Licen... | [
"jason.mcewen@ucl.ac.uk"
] | jason.mcewen@ucl.ac.uk |
def9d7b329567d6c8ef3228dcf5a0dd632d1e1d1 | 0c91c65a81b180c564913b7844c3ead9aeda2f98 | /Game/Components/PlayerComponent.h | 36c1405c24fc6f1af186353e8a4737eaf4fcbcf9 | [] | no_license | LeonardoContrera/GAT150 | 114d01ba4de7f32ca23789fdd0e18a8ee8cfa173 | fdc24e5c892252e84dd02da69ec715591d217bab | refs/heads/master | 2022-12-08T12:37:59.962888 | 2020-09-01T19:50:06 | 2020-09-01T19:50:06 | 284,755,026 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 453 | h | #pragma once
#include "Components/Component.h"
namespace nc
{
class PlayerComponent : public Component
{
public:
virtual bool Create(void* data = nullptr) override;
virtual void Destroy() override;
virtual Object* Clone() override { return new PlayerComponent{ *this }; }
virtual void Update() override;
... | [
"LContreras@student.neumont.edu"
] | LContreras@student.neumont.edu |
8f152d44f4462c587f14d686453e266d024b0a40 | b33a9177edaaf6bf185ef20bf87d36eada719d4f | /qtbase/src/widgets/kernel/qshortcut.cpp | 2e7bc27536cc18da483b70f2e7207292040ee6d3 | [
"LicenseRef-scancode-proprietary-license",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-commercial-license",
"LGPL-2.0-or-later",
"LGPL-2.1-only",
"GFDL-1.3-only",
"LicenseRef-scancode-qt-commercial-1.1",
"LGPL-3.0-only",
"LicenseRef-scancode-qt-company-exception-lgpl-2.1",
... | permissive | wgnet/wds_qt | ab8c093b8c6eead9adf4057d843e00f04915d987 | 8db722fd367d2d0744decf99ac7bafaba8b8a3d3 | refs/heads/master | 2021-04-02T11:07:10.181067 | 2020-06-02T10:29:03 | 2020-06-02T10:34:19 | 248,267,925 | 1 | 0 | Apache-2.0 | 2020-04-30T12:16:53 | 2020-03-18T15:20:38 | null | UTF-8 | C++ | false | false | 21,031 | cpp | /****************************************************************************
**
** Copyright (C) 2015 The Qt Company Ltd.
** Contact: http://www.qt.io/licensing/
**
** This file is part of the QtWidgets module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL21$
** Commercial License Usage
** Licensees holding valid com... | [
"p_pavlov@wargaming.net"
] | p_pavlov@wargaming.net |
5b7d4c2a770b01cefe5b304715fee2ce062e8943 | d0b9a8545fcb39e0e6d6a3ffd24468cd16f34944 | /labs/lab03_class_basics/point2.h | 2b268b9b1f1b79a48fd3586e4fdde836405b345a | [] | no_license | sammoe60/repo-personal | 55352238587e5bdb856b2dfc74c816da33089044 | 608f35bb37f43fbda97076ff5e9b2e855a51689b | refs/heads/master | 2022-12-19T03:50:18.613239 | 2020-09-21T18:24:52 | 2020-09-21T18:24:52 | 297,425,127 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 213 | h | #ifndef POINT2_H
#define POINT2_H
class Point2 {
public:
Point2();
Point2(float _x, float _y);
float DistanceBetween(Point2 _otherPoint);
int Quadrant();
void Print();
private:
float x, y;
};
#endif
| [
"moexx407@umn.edu"
] | moexx407@umn.edu |
fdf623d87db1bbdfcf2b12cd2477ccbb53a54645 | d800a4b1ec31b0a6f018be9698482b44397d89a1 | /AutomaticHeuristic/AutomaticHeuristic/Resources/flowclassifier.cpp | 91ad9d063f8275fdb9327423f992d46beaa226a3 | [] | no_license | dariolanza95/AutomaticShading | 3fa92abf3e3cf54d973da13d069178d8be9a140c | 693bc2786e63653e14bef6a71646eaf85dabe4b9 | refs/heads/master | 2023-01-24T08:44:29.699635 | 2023-01-19T10:14:57 | 2023-01-19T10:14:57 | 216,749,531 | 2 | 1 | null | 2020-07-23T10:02:04 | 2019-10-22T07:25:19 | C++ | UTF-8 | C++ | false | false | 44,448 | cpp | #include "flowclassifier.h"
typedef std::mt19937 RANDOM;
using namespace OpenMesh;
#define MULTCONSTANT 1000000
FlowClassifier::FlowClassifier(MyMesh mesh, SimulationDataMap simulation_data_map,int subdivision_level,float box_length, float scale, float step_size) : AClassifier(mesh),
simulation_data_map(simulati... | [
"dario.lanza95@gmail.com"
] | dario.lanza95@gmail.com |
adce46137404252269a7d50cc8ea99935909393d | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5644738749267968_0/C++/achan1058/D.cpp | a900fda64225b545d92c15a769c22569e6e33415 | [] | 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,964 | cpp | #include <algorithm>
#include <array>
#include <bitset>
#include <climits>
#include <cmath>
#include <complex>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <ctime>
#include <deque>
#include <functional>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <limits>
#incl... | [
"eewestman@gmail.com"
] | eewestman@gmail.com |
9d5a9ffb8d286f139eae30e143497d3bc6ab8d80 | ffe441163e3a4acb93093ce40a0b8ff8e1bce313 | /Submit/previous/Win_api_ChessGameRemaster/Win_api_ChessGameRemaster/Chesspiece.h | 7efcbed827f23934ce7650d13aa9fa16990a5386 | [] | no_license | jaehooonjung/JungJaehoon | ebae0edb70b8aee710bc21ebec3cf479c5976221 | acce38df2124f11fa6f2f1f2d8bc485aaeb40688 | refs/heads/master | 2022-10-06T01:50:09.219558 | 2022-09-16T12:55:25 | 2022-09-16T12:55:25 | 225,563,604 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,293 | h | #pragma once
#include"Mecro.h"
class Chesspiece
{
protected:
HDC m_MemDC;
HBITMAP m_phImage;
HBITMAP m_phOldBitmap;
SIZE m_size;
CHESSPIECE m_ChessPiece;
CHESSPIECECOLOR m_ChessPieceColor;
POINT m_ChesspiecePos;
POINT m_destinationPos;
vector<POINT>m_PointList;
public:
void ChesspieceInit(HDC hdc, CHESSPIECE... | [
"58425812+jaehooonjung@users.noreply.github.com"
] | 58425812+jaehooonjung@users.noreply.github.com |
18111c3dce31e952d9afe84649055685a0d777fe | d1a3800ce7e2f1ea6be524b9040b9ae98f834e55 | /DP/longest_increasing_subsequence.cpp | e8427652ec6094b6d47ec9291ca6d8ef5fa82af2 | [] | no_license | souraavv/Algorithms | e878f8271f864dbed7eb16025ecfbb4622ffc7fd | affff50c8a91337c6e2a12ce8a72b988b1bd3744 | refs/heads/master | 2022-03-16T19:42:42.438495 | 2019-10-17T09:13:14 | 2019-10-17T09:13:14 | 221,678,810 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 861 | cpp | #include<bits/stdc++.h>
using namespace std;
int main(){
int n , i , j;
cin >> n;
int arr[n] ,lis[n];
for(i=0;i<n;i++){
cin>> arr[i];
lis[i] = 1;
}
// n2 approach
for(i=1;i<n;i++){
for(j=0;j<i;j++){
if(arr[i]> arr[j])
lis[... | [
"noreply@github.com"
] | souraavv.noreply@github.com |
c30605c6def963abae846d7462e59df72fcaa44f | 03cab04ee14dc8dfd322bd9e5b21c7383f228bfc | /Labs/Demo/Source.cpp | 54f0a5d7f23691fd14457a709b8a397f08e9f9fe | [] | no_license | TAWinterton2/CS202 | 527c5786a7b7c32e56fe4b4d9e348caf67f13a60 | e3e3186c9ea60201aab903ca87c521d105abbb9b | refs/heads/main | 2023-04-10T03:00:00.511757 | 2021-04-25T07:31:55 | 2021-04-25T07:31:55 | 332,137,013 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 130 | cpp | #include<memory>
#include<iostream>
int main() {
auto siPtr = std::make_shared<int>(13);
std::cout << *siPtr;
return 0;
} | [
"tawinterton2@alaska.edu"
] | tawinterton2@alaska.edu |
56ab884fbbf4d810d6a515a4f520f3187b967af2 | 663aa99c786cd99999b2b49c77880382cd14f880 | /RecoTauTag/ImpactParameter/interface/TauA1NuConstrainedFitter.h | c68a2105cc82623083591f75d64520e59dac4c6b | [] | no_license | mmusich/cmssw | 5e91ff1738c28583a37ddda00ed981744e8cc09a | 76b8a37efffe68d78bfc5a0a4d4d47db5d0a67f9 | refs/heads/CMSSW_7_1_X | 2023-08-16T21:40:27.441339 | 2014-02-06T20:20:00 | 2014-02-06T20:20:00 | 16,596,507 | 0 | 2 | null | 2019-01-11T16:44:12 | 2014-02-06T22:36:08 | C++ | UTF-8 | C++ | false | false | 2,299 | h | #ifndef RecoTauTag_ImpactParameter_TauA1NuConstrainedFitter_h
#define RecoTauTag_ImpactParameter_TauA1NuConstrainedFitter_h
/* From SimpleFits Package
* Designed an written by
* author: Ian M. Nugent
* Humboldt Foundations
*/
#include "RecoTauTag/ImpactParameter/interface/LagrangeMultipliersFitter.h"
#include "TV... | [
"pavel.jez@cern.ch"
] | pavel.jez@cern.ch |
1e414790c088980a03fbb13bd4d93acaa42edb2e | e080852789a4fa2f19ea2017f8be54c9b0408228 | /Physics/src/engine/OverlappingPair.cpp | fa45817e2f4ff27048234f67f550beb2fd533634 | [] | no_license | nitvic793/rotvic-engine | 000ce4cc1156ac643060cc517b004dba5f7ab869 | e5a9f83a4de054b44903f6be28de02e463f97fb7 | refs/heads/master | 2021-05-09T23:58:20.375592 | 2018-05-08T00:23:12 | 2018-05-08T00:23:12 | 118,814,709 | 5 | 2 | null | 2018-05-02T22:17:41 | 2018-01-24T19:55:53 | C++ | UTF-8 | C++ | false | false | 2,481 | cpp | /********************************************************************************
* ReactPhysics3D physics library, http://www.reactphysics3d.com *
* Copyright (c) 2010-2016 Daniel Chappuis *
**************************************************************************... | [
"tjw5866@rit.edu"
] | tjw5866@rit.edu |
b95519d6f21ab5118db25d1b051a63eecc348fc5 | 035aef76bb2783b86485ccd961499db9c862318c | /Ping/CPing.h | 0663ae1718b0dc0ae9a55d6418edf3bb83934aed | [] | no_license | ShowYouShowme/sundry | c6a1bbcd45833f77d015a0cce45098df535ef79b | 431ac62ef6d2a433edc0e9115335ba14ae03bfea | refs/heads/master | 2020-03-19T19:36:31.028886 | 2018-06-26T12:04:32 | 2018-06-26T12:04:32 | 136,865,589 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 868 | h | /*
* File: CPing.h
* Author: scotte.ye
*
* Created on 2011年1月26日, 下午3:12
*/
#ifndef CPING_H
#define CPING_H
#include <string>
#include <thread>
/*
* 进程同时能打开的文件数量是有限制的,Linux上面是65535,如果socket不使用了记得关闭,可以用shared_ptr来回收这种资源
*/
class CPing
{
public:
virtual ~CPing();
void Close();
unsigned short checksum(unsigned sh... | [
"861949775@qq.com"
] | 861949775@qq.com |
1ca044d1a181d95e92c3b0e36f5eda7990f9c194 | 5988ea61f0a5b61fef8550601b983b46beba9c5d | /3rd/ACE-5.7.0/ACE_wrappers/performance-tests/Synch-Benchmarks/Perf_Test/Performance_Test_Options.h | e77921f0a79dadf9f1bd748d8129eba82e613c8d | [
"MIT"
] | permissive | binghuo365/BaseLab | e2fd1278ee149d8819b29feaa97240dec7c8b293 | 2b7720f6173672efd9178e45c3c5a9283257732a | refs/heads/master | 2016-09-15T07:50:48.426709 | 2016-05-04T09:46:51 | 2016-05-04T09:46:51 | 38,291,364 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 4,538 | h | /* -*- C++ -*- */
// $Id: Performance_Test_Options.h 80826 2008-03-04 14:51:23Z wotte $
// Option manager for performance tests.
#ifndef _PERFORMANCE_TEST_OPTIONS_H
#define _PERFORMANCE_TEST_OPTIONS_H
#include "ace/config-all.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
... | [
"binghuo365@hotmail.com"
] | binghuo365@hotmail.com |
0b446e32cc4b9fbec14ce97240d6945c9a018f9d | f993435614e45fba88c9df400bd4559dcac16624 | /_testProj/include/auxDlg.h | bff7cd097219ef53d4b417288b5bc099383ebca5 | [] | no_license | yetanother/testThreadPool | 0a893c0d346cf123db34bc626cd82ecd138efc25 | 6382251c13f233e49a40fc4cc2af84b579a2b6e8 | refs/heads/master | 2016-09-06T12:24:37.697922 | 2014-11-24T04:45:09 | 2014-11-24T04:45:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 141 | h | #pragma once
class QString;
class QWidget;
namespace auxDlg
{
void MsgBox(QWidget* parent, const QString& caption, const QString& text);
} | [
"std.approach@gmail.com"
] | std.approach@gmail.com |
22fbe72dc770e3be1fe42262de88253259b057c8 | 59a560b24decf64c83f205302a5daa5213535b98 | /src/app/fsm/app_fsm_state_about.cpp | 190bee24e9f5c43002ab0798a716c37d928442de | [
"MIT",
"OFL-1.1",
"CC-BY-4.0",
"BSD-3-Clause",
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference",
"Unlicense"
] | permissive | Digi92/Odiin | a580660ee5d211d7c1ad315ab836893cf7dc4502 | eba1062843defda31756753383696435a1440908 | refs/heads/main | 2023-09-01T02:28:54.506576 | 2021-10-24T00:23:55 | 2021-10-24T00:23:55 | 404,895,775 | 0 | 0 | MIT | 2021-09-09T23:18:12 | 2021-09-09T23:18:11 | null | UTF-8 | C++ | false | false | 488 | cpp | #include "app_fsm_states.h"
#include "app/app_status_led.h"
#include "display/screen_ui/display_screen_ui.h"
#include "input/input_keypad.h"
namespace app::fsm
{
void About::entry()
{
LOG_STATE_ENTER(About);
Led->SetModeFun();
UI_CREATE(about);
UI_ACTIVATE(about, Keypad->GetInputGroup());
UI_FUNCTION(ab... | [
"nitz@users.noreply.github.com"
] | nitz@users.noreply.github.com |
b466747a73567ea60c67a19953412e06f4e9552e | ed97fb5c71da7ed89235432e3971bb0ef6064f8b | /algorithms/cpp/84.cpp | dc40f1ce9b96ff37dc633ad3111e8a7dfd1f920d | [
"MIT"
] | permissive | viing937/leetcode | 8241be4f8bc9234a882b98ada2e5d13b0ebcca68 | b07f7ba69f3d2a7e294f915934db302f43c0848f | refs/heads/master | 2023-08-31T18:25:06.443397 | 2023-08-31T15:31:38 | 2023-08-31T15:31:38 | 37,374,931 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,204 | cpp | #include <iostream>
#include <vector>
#include <stack>
#include <algorithm>
using namespace std;
class Solution {
private:
vector<int> helper(vector<int> &heights, bool isReversed) {
if (isReversed) reverse(heights.begin(), heights.end());
vector<int> result(heights.size(), 0);
stack<int> s... | [
"viing937@gmail.com"
] | viing937@gmail.com |
781799676c62e6c0e1b987d917b0b2886e287a93 | 711b05c35211a6f733b825c413bf05ede7581821 | /ZF/ZFUIKit/zfsrc/ZFUIKit/ZFUIViewStateAni_move.cpp | e2f207712516668418023e6b45b2d98988db8140 | [
"MIT"
] | permissive | chmodawk/ZFFramework | 67a5232f8853febe72eae5f314a8f78a51f0c637 | cfac6ca5e71662ad2ebfc5d681f3877fe56742cd | refs/heads/master | 2021-07-18T13:10:24.849114 | 2017-10-20T09:27:20 | 2017-10-20T09:27:20 | 108,427,246 | 1 | 0 | null | 2017-10-26T15:05:18 | 2017-10-26T15:05:18 | null | UTF-8 | C++ | false | false | 3,815 | cpp | /* ====================================================================== *
* Copyright (c) 2010-2016 ZFFramework
* home page: http://ZFFramework.com
* blog: http://zsaber.com
* contact: master@zsaber.com (Chinese and English only)
* Distributed under MIT license:
* https://github.com/ZFFramework/ZFFramework/bl... | [
"z@zsaber.com"
] | z@zsaber.com |
3f385ae4c445dc8a58c810abeb60df59f05c10da | 30ed20d82d5dc8a7d74e0ffac8259ab6c428bcae | /tensorflow/compiler/mlir/tensorflow/transforms/freeze_saved_model_assets.cc | a647d77c9b5f861da121aa9e898eed76b87c1496 | [
"Apache-2.0",
"LicenseRef-scancode-generic-cla",
"BSD-2-Clause"
] | permissive | mycolors/tensorflow | 697b35c772ebb296414978c576461be0d430ff0d | a69d8f063208f96598327cdc5f3ccec17be2608c | refs/heads/master | 2022-10-14T20:10:34.056431 | 2022-09-27T09:02:56 | 2022-09-27T09:08:16 | 122,425,023 | 0 | 0 | Apache-2.0 | 2018-02-22T03:15:57 | 2018-02-22T03:15:57 | null | UTF-8 | C++ | false | false | 4,362 | cc | /* Copyright 2021 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 |
d94c43da3af8469997319724a462cd159bfa8a3a | b0ce2a982bf067e3c5ad17607683612745eb7551 | /HumanTree/Library/Il2cppBuildCache/iOS/il2cppOutput/UnityEngine.AssetBundleModule_Attr.cpp | d8aedd3a2b52701d7ff45498ce3f126542697f2a | [] | no_license | ppark3/HumanBirdTreeAR | a769d9337f46bae14c13a8e7c269ee681b3c5611 | 86dee0c769840620c1717e96ae6735e7370b98e8 | refs/heads/main | 2023-05-19T14:25:55.959127 | 2021-06-12T03:05:47 | 2021-06-12T03:05:47 | 371,793,218 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 88,426 | cpp | #include "pch-cpp.hpp"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <limits>
#include <stdint.h>
// System.Char[]
struct CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34;
// System.Runtime.CompilerServices.CompilationRelaxationsAttribute
struct CompilationRelaxationsAttrib... | [
"philippark0203@gmail.com"
] | philippark0203@gmail.com |
5f8965d9ef7895cb01a85c403bfafde17d24261f | 80da1a5637a2904c3a2e72affbee978730c5f55c | /Serial.cpp | 486e160d562f320e0b7d94778950ce8a9a8040c4 | [
"MIT"
] | permissive | rsouzas/vss-tradio | bcd329c0cc5ce27014d5dd212348b7d407577790 | dd3b8fa7324ac6fdb38045f31cba7def8292914e | refs/heads/master | 2020-09-19T17:59:37.353647 | 2016-12-09T21:49:43 | 2016-12-09T21:49:43 | 66,317,897 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,609 | cpp | #include "Serial.h"
const char *device = "/dev/ttyUSB0";
//const char *device = "/dev/ttyACM0";
struct termios cfg;
int fd = 0;
void erro(char *s) {
perror(s);
exit(0);
}
void iniciaComunicacao(void) {
fd = open(device, O_RDWR | O_NOCTTY | O_NDELAY);
if (fd == -1) {
erro("erro na abertura da interface serial... | [
"rsouzasnts@gmail.com"
] | rsouzasnts@gmail.com |
27c0c5a97ac3463916a0ad593f824f7cbf57d1d7 | 8c7591fcf16e64564ab18a0d762e0402dff30194 | /aiko/app/app.hpp | ad267c8a5f82233d691195c98ac73b2c867d4671 | [
"BSD-2-Clause"
] | permissive | jotask/AikoEngineTest | b40f4bfbbbf51426dbdbb60c8d5de5ade42bf774 | 01a237515194549259dd658d0cda08b9a0243783 | refs/heads/master | 2020-11-28T07:08:48.944024 | 2019-12-26T16:57:53 | 2019-12-26T16:57:53 | 229,738,737 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 453 | hpp | #pragma once
#include "shared/types.hpp"
#include "engine.hpp"
namespace aiko
{
class Application
{
public:
Application(aiko::Config& cfg);
virtual ~Application() = default;
virtual void init() = 0;
virtual void run();
protected:
Engine* ... | [
"jota_sk@hotmail.com"
] | jota_sk@hotmail.com |
d1e7a5f620a2c598e3a03715476e18a2f6356072 | 09e0ad2137cf53b34cb0fa6a762393a5a223e482 | /sensor_de_cor/sensor_de_cor.ino | 9ec3b040d1f5db784e9e4a5d1cd741ad0faf7832 | [
"MIT"
] | permissive | matheusjohannaraujo/projetos_com_arduino | 7d1a42a3bdeb49cbaafb1cabab28224730cb8bbf | e559643d41e55e6cf2d0f5b1b1e54f79514e537b | refs/heads/master | 2020-04-27T04:33:11.368636 | 2020-03-12T19:31:50 | 2020-03-12T19:31:50 | 174,058,360 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,052 | ino | /*
Desenvolvidor por: Matheus Johann Araujo
Data: 27/05/2019
--------------------------------------------------------------------------
Projeto com uso de Sensor de Cor TCS3200, para detectar as cores do RGB (vermelho, verde e azul).
Fonte de referência: https://www.arduinoecia.com.br/2014/02/sensor-de-reconh... | [
"noreply@github.com"
] | matheusjohannaraujo.noreply@github.com |
4522143a00d7f3aaacdd18ae834c195be5fbd0a9 | 57239e0899b2208a28b27ca2804304ae5215e189 | /day-11/part-02.cpp | b80fe2dc725a1bba973792789389f19a7b1d3c98 | [] | no_license | srishanbhattarai/advent-of-code-2020 | cdffeaeb3bfe274a09262f4ce191741e7c48bc3b | bfbf26a921a727500e62195a0d9886a34d0eaf7b | refs/heads/master | 2023-02-04T13:48:14.602051 | 2020-12-25T05:54:06 | 2020-12-25T05:58:30 | 317,681,722 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,932 | cpp | #include <fstream>
#include <vector>
using namespace std;
bool move_until_seat_found_or_stop(vector<string> &grid, int start_row,
int start_col, int row_inc, int col_inc) {
int i = start_row + row_inc, j = start_col + col_inc;
while (true) {
try {
char ch = grid.at(i).... | [
"srishanbhattarai@gmail.com"
] | srishanbhattarai@gmail.com |
a268fe0a91f93e005df559aa39d8c701c122a5d3 | bbb56d99ccc740d2cfb87d14e5a782809b6e5979 | /6_lesson/hw6/hw6/hw6.cpp | df6024cdf6af37f3fd5007b4bf7d3af769772f3e | [
"MIT"
] | permissive | NakonechnyiMykhail/system_prog | bac7c81c6e5dba60769ab2f399b553c7d3e8eb0c | d92d4b76a88761b52f522e8b185db1e58ec19227 | refs/heads/master | 2022-12-26T07:44:04.022942 | 2020-08-13T20:25:31 | 2020-08-13T20:25:31 | 273,444,351 | 1 | 0 | MIT | 2020-09-08T14:24:57 | 2020-06-19T08:29:58 | C++ | UTF-8 | C++ | false | false | 3,898 | cpp | // hw6.cpp : This file contains the 'main' function. Program execution begins and ends there.
//
#include <iostream>
#include <map>
int GetInteger(std::string category) {
/*
Funtion: print category and check inputting varieble for correct data
Get: integer varieble from user
Return: int
*/
int nu... | [
"mykhail.nakonechnyi@gmail.com"
] | mykhail.nakonechnyi@gmail.com |
363f5a23dc669ecea81d6cdbd70f29c4ae3b51cf | 634120df190b6262fccf699ac02538360fd9012d | /Develop/Server/GameServerOck/main/GTradeChecker.h | b135daf41eddc1d873805e097f96b209d26fa494 | [] | no_license | ktj007/Raiderz_Public | c906830cca5c644be384e68da205ee8abeb31369 | a71421614ef5711740d154c961cbb3ba2a03f266 | refs/heads/master | 2021-06-08T03:37:10.065320 | 2016-11-28T07:50:57 | 2016-11-28T07:50:57 | 74,959,309 | 6 | 4 | null | 2016-11-28T09:53:49 | 2016-11-28T09:53:49 | null | UTF-8 | C++ | false | false | 406 | h | #pragma once
class GEntityPlayer;
class GTradeChecker : public MTestMemPool<GTradeChecker>
{
public:
bool CancelInvalidTrade(GEntityPlayer* pReqPlayer, GEntityPlayer* pTarPlayer);
bool CheckTrader(GEntityPlayer* pReqPlayer, GEntityPlayer* pTarPlayer);
bool CheckDistance(GEntityPlayer* pReqPlayer, GEntityPlayer* pT... | [
"espause0703@gmail.com"
] | espause0703@gmail.com |
cf958eb679250c93e14d05d9b58477c8a7a116df | 9c81a923cd23bc169b85fd921f5de51f2acd584b | /swagger/sdrangel/code/qt5/client/SWGXtrxInputSettings.h | a9bebf29ef979c6041c6dddc8696b994afbd2db5 | [] | no_license | n8ohu/sdrangel | ac7c1bba387e91e32c56cb9f174f17841e54ab7c | 62e1a5f4daa502ccde0da14813b27dfe97160cdf | refs/heads/master | 2020-04-18T00:53:40.690291 | 2019-01-20T08:54:06 | 2019-01-20T08:54:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,387 | h | /**
* SDRangel
* This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations an... | [
"f4exb06@gmail.com"
] | f4exb06@gmail.com |
8504e24ba876ffae63ba42aeedc72d0b92bfdc74 | b09a7cca82db382e2d70d06c3e706be725fd9fda | /Pre-Alpha Files/calendar/GeneratedFiles/Debug/moc_calendar.cpp | c412f87909b2db091fb57babdb677c78368c113a | [] | no_license | pulkitvyas08/CPSA-Operating-Environment | 335bb865bd54fc20fa6fdcd209e3d715ad3a7d67 | d6dcf79415c384ff304097e6f13354a96a1ce86f | refs/heads/master | 2021-01-09T12:36:12.739650 | 2020-02-22T07:54:50 | 2020-02-22T07:54:50 | 242,302,590 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,189 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'calendar.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.6.2)
**
** WARNING! All changes made in this file will be lost!
************************************************************... | [
"e19cse284@bennett.edu.in"
] | e19cse284@bennett.edu.in |
6da08d520f636835ee624bd2a98b59d37a916a7d | 44412b0dd6e8d0f9868e1c905381b90a2c062628 | /8. Best Fit Q4.cpp | f645d8a3319037e8fe272c58eeef97980964add2 | [] | no_license | panjiara/os-lab | 71935a1a36a702326fae1b7be076d291d83c5ea9 | a92f48215343d1a96c30071ab081d6adba6182f2 | refs/heads/master | 2021-01-11T09:30:32.903980 | 2017-04-05T04:52:03 | 2017-04-05T04:52:03 | 81,229,601 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,903 | cpp | #include<iostream>
#include<cstdio>
using namespace std;
void swap(int &a, int &b)
{
a=a+b;
b=a-b;
a=a-b;
}
struct mem
{
int oi;
int memory;
int rem;
bool occupied;
} M[5000];
struct job
{
int oi;
int jsize;
int cpu;
int start;
int end;
int store; //s... | [
"noreply@github.com"
] | panjiara.noreply@github.com |
993d609827bba7234b67b81ea3af813623274ab3 | 488706ddcd860941510ddd5c8f35bbd065de9ca1 | /visualtext3/cj/Controls/Tree/XTPTreeTheme.h | 7adb2a1559a86f8094c2d662540494412ed98ea9 | [] | no_license | VisualText/legacy | 8fabbf1da142dfac1a47f4759103671c84ee64fe | 73d3dee26ab988e61507713ca37c4e9c0416aee5 | refs/heads/main | 2023-08-14T08:14:25.178165 | 2021-09-27T22:41:00 | 2021-09-27T22:41:00 | 411,052,445 | 0 | 0 | null | 2021-09-27T22:40:55 | 2021-09-27T21:48:09 | C++ | UTF-8 | C++ | false | false | 2,951 | h | // XTPTreeTheme.h: interface for the CXTPTreeTheme class.
//
// This file is a part of the XTREME CONTROLS MFC class library.
// (c)1998-2013 Codejock Software, All Rights Reserved.
//
// THIS SOURCE FILE IS THE PROPERTY OF CODEJOCK SOFTWARE AND IS NOT TO BE
// RE-DISTRIBUTED BY ANY MEANS WHATSOEVER WITHOUT THE EXPRESS... | [
"david.dehilster@lexisnexisrisk.com"
] | david.dehilster@lexisnexisrisk.com |
df55ca20f8912ced2acbd02fb15065012cf4d4f5 | b1699aab690f3304e672c1701058cc209dcb786f | /vendor/nowide/test/test_convert.cpp | e636d312d189adad0246e1eb842c9e6152f3aa07 | [
"Apache-2.0"
] | permissive | puppetlabs/leatherman | b1f7298ae3dd270cbec06d45eb8f40c5337c1e04 | 4f53456e9cd2bf40a9ba462704eead06affe7d4f | refs/heads/main | 2023-08-28T19:25:27.387638 | 2023-08-18T17:19:32 | 2023-08-18T17:19:32 | 31,226,286 | 59 | 92 | NOASSERTION | 2023-07-21T19:26:18 | 2015-02-23T19:50:46 | C++ | UTF-8 | C++ | false | false | 3,668 | cpp | //
// Copyright (c) 2012 Artyom Beilis (Tonkikh)
//
// 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)
//
#include <boost/nowide/convert.hpp>
#include <boost/nowide/stackstring.hpp>
#include "test.hpp"
#include... | [
"branan@puppetlabs.com"
] | branan@puppetlabs.com |
476596dff3ade494655754cda278749e88675f01 | 5b6f023032d06771fa88e002b51f4d61e30cdecf | /base/test/cubicEqn.cpp | 607237330c4a13827f6222f88e650d35a7745fc6 | [] | no_license | jackytop/VARE | a91adbb7678c7ae8e95ef3709fb60dcce63de77a | d4f06d53bb3d02af56c272cf500bc3fd2336c278 | refs/heads/master | 2022-03-27T21:14:23.605602 | 2019-12-03T07:32:08 | 2019-12-03T07:32:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 905 | cpp | //--------------//
// cubicEqn.cpp //
//-------------------------------------------------------//
// author: Wanho Choi @ Dexter Studios //
// last update: 2017.11.29 //
//-------------------------------------------------------//
#include <Bora.h>
using namespace std;
u... | [
"jaegwang@outlook.com"
] | jaegwang@outlook.com |
0a0522687ccd13791415b94460fb4f2b6ae53e9e | 5bfb0e4e9af134c70be3f51b494fd01c4acf26cf | /include/blas/flops.hh | a18a1080caeaff964a687c2729cb63d6944fc1f4 | [] | no_license | haampie/blaspp | cfb081dbe99963fd03d10ddc56eec8683c557311 | 03516b89f9c0551b2d459df032fe8a3140004710 | refs/heads/master | 2022-04-23T12:36:54.267376 | 2020-04-16T16:18:29 | 2020-04-16T16:18:29 | 256,492,688 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,212 | hh | // Copyright (c) 2017-2020, University of Tennessee. All rights reserved.
// SPDX-License-Identifier: BSD-3-Clause
// This program is free software: you can redistribute it and/or modify it under
// the terms of the BSD 3-Clause license. See the accompanying LICENSE file.
#ifndef BLAS_FLOPS_HH
#define BLAS_FLOPS_HH
#... | [
"mgates3@utk.edu"
] | mgates3@utk.edu |
f3b1f5cb7252ec5fb192f1d365fb0eea2cc2e75f | 882ff5a5f49c6b3b48e2cd821602c414259ff533 | /Core/Data/Entities/administrator.hpp | 7ceeb4154002369f8d8a74becff38f57b95365d9 | [] | no_license | Infernno/Registry | ce084ef0e7f07980c631a31b40ad79076b05e12a | 4a2e9c01a5a0443646ad6d8643e6ed1f2ba46851 | refs/heads/master | 2020-04-17T01:32:24.820604 | 2019-01-16T19:19:10 | 2019-01-16T19:19:10 | 113,466,950 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,063 | hpp | #ifndef ADMINISTRATOR_HPP
#define ADMINISTRATOR_HPP
#include <QDataStream>
#include "Core/Data/Entities/user.hpp"
struct Administrator : public User
{
Administrator()
{
GroupID = 0;
}
};
inline bool operator ==(const Administrator & a, const Administrator & b)
{
return a.Username == b.Userna... | [
"biftik9@gmail.com"
] | biftik9@gmail.com |
5eedc704baf03586b21c2a3e7200b521ded36d1d | da1f94b2ffd45b9da8959db4a3a997f5403a4a17 | /lab4/ex_1 /Game.cpp | b64c9f3100872db266750ab9f16dc60399941ef4 | [] | no_license | T71M/cpp_labs | 2fba47bec11020905535025e541956f64140e338 | 74e6c6559e8fb3a01893dd7fd0b700dd4b9ce6b3 | refs/heads/main | 2023-08-19T12:38:38.272319 | 2021-10-17T17:40:41 | 2021-10-17T17:40:41 | 408,398,858 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,595 | cpp | //
// Game.cpp
// ex_1
//
// Created by 71M on 08.10.2021.
//
#include "Game.hpp"
#include <iostream>
using namespace std;
Game:: Game(){
endGame = false;
split = false;
srand((unsigned)time(NULL));
}
void Game:: resetGame(){
delete dealer;
delete player;
delete[] deck;
endGame = false;... | [
"timurbragin35@gmail.com"
] | timurbragin35@gmail.com |
53f126d103c5c36e2920f34bb59ca87b4b39b8a0 | 889baec0b031921e7ebf74a46ce7789dcba9826b | /Plugins/EasyCombatText/Source/EasyCombatText/Private/FloatingCombatTextManager.cpp | e1d26b172665f281b147e923b190a07b34d4b020 | [] | no_license | Reetro/Easy-Combat-Text | 307e23647c9651a57c49d819c67e5a290dfabac7 | 8ce2f8b58bdda410b85791ed8fc9a8e9b7bd383a | refs/heads/master | 2021-05-17T04:14:10.539719 | 2021-02-27T23:31:05 | 2021-02-27T23:31:05 | 250,617,022 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,929 | cpp | // Copyright 2020, Justin Wells, All rights reserved.
#include "FloatingCombatTextManager.h"
#include "Curves/CurveFloat.h"
#include "Components/SceneComponent.h"
#include "TimerManager.h"
#include "Animation/WidgetAnimation.h"
#include "Components/WidgetComponent.h"
#include "CombatTextWidget.h"
#include "Engine.h"
... | [
"thegamerboy7@gmail.com"
] | thegamerboy7@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.