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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b4d0120da0bc869691692d0bb26876d0ff0995bf | 90e02ef236ec48414dcdb5bd08665c865605f984 | /src/cisst-saw/sawTrajectories/include/sawTrajectories/osaTrajectory.h | 8cb23c2f0b8f4d37ab48e3a23ee07f8097863e12 | [] | no_license | NicholasDascanio/dvrk_moveit | 3033ccda21d140a5feda0a7a42585c94784a1f13 | 4d23fa74f3663551791b958f96203f4196b1d765 | refs/heads/master | 2021-01-03T00:43:10.683504 | 2020-03-11T17:54:20 | 2020-03-11T17:54:20 | 239,836,095 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,035 | h | /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* ex: set filetype=cpp softtabstop=4 shiftwidth=4 tabstop=4 cindent expandtab: */
/*
$Id: osaTrajectory.h 4202 2013-05-17 15:39:06Z adeguet1 $
Author(s): Simon Leonard
Created on: 2012
(C) Copyright 2012-2014 Johns Hopkins U... | [
"nicholas.dascanio95@gmail.com"
] | nicholas.dascanio95@gmail.com |
b56f31f90bc45ba01659c0eaa91e4a1a7765a6dc | 41ec4ea912f7e9bb908b11c6c76ae0c00217d6d9 | /DM2122 Prac/Source/Currency.cpp | 3840ef4c4a4c1abb76fd45073300c6e3ba6daad4 | [] | no_license | Bell011/SP2 | f46ced4ce2ca215e4f973f1ad74ea84e31e56e59 | a36dbcf770dc826e6214274d62a364f31d42a93b | refs/heads/master | 2021-01-05T06:43:46.803721 | 2020-03-01T15:35:08 | 2020-03-01T15:35:08 | 240,514,116 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 214 | cpp | #include "Currency.h"
//int Currency::money = 500;
Currency::Currency(int m)
{
money = m;
}
Currency::~Currency()
{
}
int Currency::getMoney()
{
return money;
}
void Currency::setMoney(int m)
{
money = m;
}
| [
"49388422+wt0412@users.noreply.github.com"
] | 49388422+wt0412@users.noreply.github.com |
d38f3767fe6f697d235bdc2dea85ec745d18bb25 | 145cf7f56d4368c0da850d5e38b2942076856b8c | /React Native Ui Lib/node_modules/@react-native-community/datetimepicker/node_modules/react-native-windows/ReactUWP/Polyester/HyperlinkViewManager.cpp | 2574ec0c6ddab3e038972054626355447a416a7b | [
"MIT"
] | permissive | cadet29manikandan/ForMoreReactNativeProjectPart2 | ef8d002c75a2e6f76818abf77a84f1fe54a7bdb5 | 09aaf2594ae440f2a78e2c9e1aa41c4aab582526 | refs/heads/master | 2023-06-09T16:48:51.572356 | 2021-06-24T15:56:40 | 2021-06-24T15:56:40 | 379,975,343 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,816 | cpp | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#include "pch.h"
#include "HyperlinkViewManager.h"
#include <Utils/ValueUtils.h>
#include <Views/ShadowNodeBase.h>
#include <winrt/Windows.UI.Xaml.Controls.Primitives.h>
#include <winrt/Windows.UI.Xaml.Controls.h>
#inclu... | [
"manikandan@nvestbank.com"
] | manikandan@nvestbank.com |
7ecd5b686db5d4f94963cc57cea17c44445fa086 | 98b2ee5a57d66c957f8b924e0c99e28be9ce51d8 | /leetcode/137_SingleNumberII/Solution.cpp | 77d278e1cf5fa2ca6ca6d730127876fab384baa2 | [] | no_license | sauleddy/C_plus | c990aeecedcb547fc3afcbf387d2b51aa94d08cc | 69d6a112d1dd9ac2d99c4b630bb6769b09032252 | refs/heads/master | 2021-01-19T04:49:07.240672 | 2017-06-07T05:51:10 | 2017-06-07T05:51:10 | 87,397,291 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 671 | cpp | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/*
* File: Solution.cpp
* Author: eddy
*
* Created on May 10, 2017, 5:21 PM
*/
#include "Solution.h"
Solution::Solution() {... | [
"sauleddy38@gmail.com"
] | sauleddy38@gmail.com |
7bf10cbc45c54e262361a446e727dc5525b9e4b3 | 67434c238f16fb4d7fa6226a570809671f73c22f | /opti_triangulator/opti_triangulator/actionlibClient/triangulator_/beaconSettings.h | f2fcfdb2e40851ea08358e2ba6cce11f8a12e012 | [] | no_license | codenotes/opti-triangulator | 1f664c37c5a4c88ff4684853db5fb04e9d3326d3 | 3c26f3a2c575d86eb33dbc2b642f696df496825a | refs/heads/master | 2021-01-10T13:09:23.631208 | 2015-09-16T00:50:24 | 2015-09-16T00:50:24 | 36,323,759 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,684 | h | // Generated by gencpp from file triangulator/beaconSettings.msg
// DO NOT EDIT!
#ifndef TRIANGULATOR_MESSAGE_BEACONSETTINGS_H
#define TRIANGULATOR_MESSAGE_BEACONSETTINGS_H
#include <string>
#include <vector>
#include <map>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_message_traits.... | [
"gbrill@infusion.com"
] | gbrill@infusion.com |
08c09fca57a5549c6b8c009be956c62c91147c43 | a90b23d93d65174248fb5b53356543e646e901c8 | /build/contracts/identity/identity.wast.hpp | 2d967e58e4566aa63c703332d0c28d484a5b5e79 | [
"BSD-3-Clause",
"MIT",
"Apache-2.0"
] | permissive | bcchain2020/BCChain | eb6a91af670e766912a403c49a2573f791d5544a | 6947212d12571c536225d3440e4985f5b2093cbc | refs/heads/master | 2022-07-23T06:11:59.503406 | 2020-05-18T07:25:17 | 2020-05-18T07:25:17 | 264,853,028 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 276,464 | hpp | const char* const identity_wast = R"=====(
(module
(type $FUNCSIG$vijj (func (param i32 i64 i64)))
(type $FUNCSIG$vijji (func (param i32 i64 i64 i32)))
(type $FUNCSIG$vijjji (func (param i32 i64 i64 i64 i32)))
(type $FUNCSIG$v (func))
(type $FUNCSIG$j (func (result i64)))
(type $FUNCSIG$vjj (func (param i64 i64))... | [
"jay_yan726@outlook.com"
] | jay_yan726@outlook.com |
afc25e99fe3f2a1b551c27d4418402d2a503e997 | 7bf78b0de900c22d31543d9a8348ec40c7aa9536 | /D3D_DrawTriangle/cMainGame.h | 3b268ddd0222c33ae36b3138fa03f9396bb04894 | [] | no_license | hmgWorks/D3D_Tutorials | 5fb00abca0ee094e5ce321a8717238d48bdaefa4 | ea0aba647e88e47233a92e5f0d40c95d43650567 | refs/heads/master | 2021-01-21T12:26:17.097218 | 2015-01-19T15:42:16 | 2015-01-19T15:42:16 | 29,414,381 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 226 | h | #pragma once
class cTriangle;
class cMainGame
{
private:
std::unique_ptr<cTriangle> m_spTriangle;
//cTriangle* m_spTriangle;
public:
cMainGame(void);
~cMainGame(void);
void Setup();
void Update();
void Render();
};
| [
"tmdnldjazz@gmail.com"
] | tmdnldjazz@gmail.com |
f3a552035a004939c6885a8e407864ccda29c7f1 | beb63531847b5277a0bded705b585744f2c7c179 | /camps/havana-2018-artsem-zhuk/04-game-theory/c.cpp | 61e746406a3a04bdfdb0618705bdee5d7d6f7130 | [] | no_license | mfornet/acm-icpc-solutions | 0272bf56e92b2363760e6c0f69f8cc43f3d33d56 | 6147a6170aa839a86b77ece6a1dade3723f9baa4 | refs/heads/master | 2021-09-13T23:41:23.892634 | 2018-05-06T00:06:03 | 2018-05-06T00:06:03 | 114,927,791 | 7 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,530 | cpp | #include <bits/stdc++.h>
const int MAX = 1e5 + 10;
typedef long long i64;
using namespace std;
const int oo = 1e6;
const double EPS = 1e-7;
const int mod = 1e9 + 7;
typedef vector<int> vi;
void add(int &a, int b){
a += b;
if (a >= mod)
a -= mod;
}
void add_vec(vi &a, vi b){
for (int i = 0; i < (i... | [
"mfornet94@gmail.com"
] | mfornet94@gmail.com |
851d1cd3018f2728ac8512691695bf6aba70d875 | b4052809a4a08eb9ddc4551b6fc34ef61b90a24c | /frameworks/vtk.framework/Headers/vtkBitArray.h | ce00d7248f8ba6eb9c473051814a70053667abe0 | [] | no_license | 9gel/hellopcl | 548687167b0b17bd393b55f37e99d05207971a9e | 19c39b39ad169c0a79b42cd72232d51b419f4f3d | refs/heads/master | 2020-02-26T17:05:09.470167 | 2014-02-27T07:59:52 | 2014-02-27T07:59:52 | 17,192,517 | 21 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 10,002 | h | /*=========================================================================
Program: Visualization Toolkit
Module: vtkBitArray.h
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This software is dis... | [
"nigel@vannevartech.com"
] | nigel@vannevartech.com |
1b7c5570cb4d07358f7e055ee1c24acb65fc0c76 | 5dbefd69106e7573148e6f9926e4168e387c31c5 | /SMB-172.2/Tetris/Source.cpp | d1d2e559449c3c7e954dd48f80bee7846a8e7b91 | [] | no_license | Dakosia/Cpp | 0a74cbea2b4b5d22fc8c1bc768fbd52b6ee4f39c | 85435da7f35b707c66b5c107f6a95f8f153d513c | refs/heads/master | 2020-03-09T02:00:31.854534 | 2018-06-20T17:49:04 | 2018-06-20T17:49:04 | 128,530,023 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,932 | cpp | #include <iostream>
#include <Windows.h>
#include <conio.h>
#include <stdlib.h>
using namespace std;
struct Point
{
short x, y;
};
struct Figure
{
Point body[4];
byte size;
int type;
};
struct Ground
{
bool filled[10][10];
int groundHeight;
int size;
};
struct Wall
{
Point gates[20];
short size;
};
void draw(... | [
"dana.kerey@gmail.com"
] | dana.kerey@gmail.com |
832d4782d9e0ba61ec036f452162714dcbacc0ed | efdc794bc1152d9e702ea03e32142cf4ff1031cd | /third_party/pdfium/xfa/fxbarcode/cbc_upca.h | bf90b922b5053e8e39d6792001ac4141cedc6b44 | [
"BSD-2-Clause",
"BSD-3-Clause"
] | permissive | taggun/node-pdfium | c3c7c85fd4a280993aa0ce99dcb2f41ce8d592dc | 1990bc55e39f700434841e35078cecaa347b1e36 | refs/heads/master | 2020-12-02T12:44:31.341993 | 2020-02-26T20:52:34 | 2020-02-26T20:52:34 | 96,583,707 | 3 | 3 | BSD-2-Clause | 2020-02-26T20:48:59 | 2017-07-07T23:34:05 | C++ | UTF-8 | C++ | false | false | 1,047 | h | // Copyright 2016 PDFium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
#ifndef XFA_FXBARCODE_CBC_UPCA_H_
#define XFA_FXBARCODE_CBC_UPCA_H_
#include ... | [
"michael.arthur@ikegps.com"
] | michael.arthur@ikegps.com |
9729e5a80760f3f40e261335d0b7bfd9e430af9b | b42ff57503362bd3771b2509335a5bfcec05c452 | /utils/customwidgets/customtablemodel/datapointitemmodel.cpp | 7e12aef6ae7566a66c561cf0aeb0c2b8ccd5cca6 | [] | no_license | yinzhi009/lib | fbda036d06e6cfb35dffa9fb36316f13b6a206b0 | db96f6164db7858fa10b7b5bff2410641eca9932 | refs/heads/master | 2020-05-22T13:34:06.188057 | 2019-05-13T07:15:03 | 2019-05-13T07:15:03 | 186,362,791 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,950 | cpp | #include <QStringList>
#include <QSize>
#include <QColor>
#include "datapointitemmodel.h"
DataPointItemModel::DataPointItemModel(QObject *parent)
: QAbstractTableModel(parent)
, m_headerDatas()
, m_datas()
{
}
int DataPointItemModel::rowCount(const QModelIndex &parent) const
{
Q_UNUSED(parent);
r... | [
"yinzhiran@swjtu-richusn.com"
] | yinzhiran@swjtu-richusn.com |
ab3c863f848fddf30ded3dd8e6c2521774d1b90f | 08b8cf38e1936e8cec27f84af0d3727321cec9c4 | /data/crawl/git/new_hunk_3239.cpp | 33bd9aecc10e9b66914bf7b8f635c4f6490ded0a | [] | 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 | 184 | cpp | if (!do_for_each_entry_in_dir(dir, 0, nonmatching_ref_fn, &data))
return 1;
error("'%s' exists; cannot create '%s'",
data.conflicting_refname, refname);
return 0;
}
| [
"993273596@qq.com"
] | 993273596@qq.com |
def0afc4d292baf33836a74b2a8f061db998708c | 8fbac4a872eb60796bd30d6c73aaa652a5e0f0d7 | /samples/softrender/Textures.cpp | 62e5ec927e800668aceb7bfe81fe6f94d81f59df | [
"MIT"
] | permissive | brucelevis/SoftRender | 7914382d1b58f816fec3b5cb2c53c2c48213387b | 8089844e9ab00ab71ef1a820641ec07ae8df248d | refs/heads/master | 2020-04-18T11:50:32.233918 | 2018-09-06T04:42:49 | 2018-09-06T04:42:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,328 | cpp | //
// Created by huangkun on 2018/8/19.
//
#include "Textures.h"
TEST_NODE_IMP_BEGIN
Textures::Textures() {
TEX_WIDTH = 1024;
TEX_HEIGHT = 1024;
}
bool Textures::init() {
SoftRender::init();
verticesPlane = {
// postions // texture coords
... | [
"huangkunkunkun@gmail.com"
] | huangkunkunkun@gmail.com |
a6ebd2ab83a2c332caa680bd465a9d6bc900341d | b8888cb2fe3ae912c89a3fa7fd804bd3b818593e | /Parser/parser.h | 457fd7bc7c3caf3dabc98768eab85fa8f3b0491f | [] | no_license | utec-cs-aed-2021-1/proyecto-de-curso-runtime-terror | fd96bd65ecaa0008f170f781502bf1d07dc70ede | 38a1994b4e3f52ca1c9c228c2f81a11dc9a69d34 | refs/heads/main | 2023-07-03T13:35:27.174252 | 2021-08-06T03:56:22 | 2021-08-06T03:56:22 | 377,319,325 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,846 | h | #ifndef PROYECTO_DE_CURSO_RUNTIME_TERROR_PARSER_H
#define PROYECTO_DE_CURSO_RUNTIME_TERROR_PARSER_H
#include "json.hpp"
#include "graph.h"
#include <fstream>
#include <utility>
#include <sstream>
#include <cmath>
using json = nlohmann::json;
class Parser{
private:
json* data;
string dir;
public:
Parser()... | [
"55152988+Dom0530@users.noreply.github.com"
] | 55152988+Dom0530@users.noreply.github.com |
3a5f7a7fa8f4d15af8942ac12ad285181425a240 | 69438cb3c613ff2674f1ad90d3e7c895d55c3d6a | /dji_sdk/protocol/src/dji_protocol_base.cpp | 1e1c3d6e716057d0f774c2a112aa9c222c5995dc | [] | no_license | robomasterhkust/RMAerial | a9e982ad80d0336b2e22e1afef31f9d11514bde8 | d3f1c568b489fa016f89c91322d5f50a13896839 | refs/heads/master | 2021-04-15T11:54:40.466189 | 2018-03-24T03:33:07 | 2018-03-24T03:33:07 | 126,456,994 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,074 | cpp | /** @file dji_protocol_base.cpp
* @version 3.4
* @date Dec 2017
*
* @brief
* Abstract protocol implementation for DJI OSDK
*
* @Copyright (c) 2017 DJI
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), t... | [
"yzhangdk@ust.hk"
] | yzhangdk@ust.hk |
5eaa82ce63143cb09a2f39bc8e401555ddb86d15 | 6bbfdd55b3a686be682d31f9b3595ae7dee3afde | /lab10/ncat-base.cpp | 8202d4ace11e7cd5e5fafd1c6434d293c654b6ae | [
"MIT"
] | permissive | NoizuHika/SOP | 1c76805354d713c49f05561c348de61291cb4b35 | 2ecfde6fba607f161a8e03ae353e36ea39c847e5 | refs/heads/main | 2023-05-10T12:42:48.290945 | 2021-06-20T20:35:41 | 2021-06-20T20:35:41 | 365,820,018 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,083 | cpp | #include <sys/socket.h>
#include <unistd.h>
#include <string>
#include <string.h>
#include <netinet/ip.h>
#include <arpa/inet.h>
#include <endian.h>
#include <iostream>
#include <stdio.h>
auto main (int argc, char* argv[]) -> int{
auto ip = argv[1];
auto port = static_cast<uint16_t>(std::stoi(argv[2]));
sockaddr... | [
"noreply@github.com"
] | NoizuHika.noreply@github.com |
72828656f3c9d835dcdb0d1bef030bce081904c8 | a3f61587f7e27a0ba0a6e774243ba976a28f5111 | /entities/Background.h | cf154eeea5e84b09ccb6d730af45059c4539496f | [] | no_license | Swordelf2/mg2 | 164e93a10d3914d8d1081f382db69d36b332e8e4 | 52ec89ce9c3249c81278c17ad07eb067eaf0071d | refs/heads/master | 2020-05-19T03:45:12.579391 | 2019-10-06T13:43:17 | 2019-10-06T13:43:17 | 184,808,692 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 300 | h | #ifndef ENTITIES_BACKGROUND_H
#define ENTITIES_BACKGROUND_H
#include "../graphics/Entity.h"
class Background : public Entity {
public:
Background(Mesh *mesh = nullptr, Shader *shader = nullptr, Texture *texture = nullptr);
virtual ~Background() = default;
void Draw() const;
};
#endif | [
"swordelf@mail.ru"
] | swordelf@mail.ru |
0526cff308ca3155340801a648e6e5f8f0fbd244 | 785463ea0d81e1ab888a858e31ab8cf8b24e4ce6 | /src/shared/datalib/io/string.hpp | 12e929459bca0a0f8307df9d90d9d06ec184aef4 | [
"MIT"
] | permissive | GTAResources/modloader | 475853390165290d0b5f37f239f3e6b15f36195a | 18f85c2766d4e052a452c7b1d8f5860a6daac24b | refs/heads/master | 2021-02-07T17:32:29.299117 | 2018-01-20T16:23:25 | 2018-01-20T16:23:25 | 244,057,341 | 1 | 1 | MIT | 2020-02-29T23:33:52 | 2020-02-29T23:33:51 | null | MacCentralEurope | C++ | false | false | 241 | hpp | /*
* Copyright (C) 2014 Denilson das MercÍs Amorim (aka LINK/2012)
* Licensed under the Boost Software License v1.0 (http://opensource.org/licenses/BSL-1.0)
*
*/
#pragma once
#include <datalib/data_info/string.hpp>
#include <string>
| [
"dma_2012@hotmail.com"
] | dma_2012@hotmail.com |
cbdd3f7ecbae16e656be58fa203e562f100b8da3 | 8e97a71b84848e9c91d7675ee118a48b3e324c05 | /04.Matrices/Matrices.cpp | d88317a234bac40cc81de33bc202cb6668959bb8 | [] | no_license | AndreyPootMay/coursecpp | c1b2bc8cdfa59667c785916efb8e08c34cbc60bd | e9f4ae515947fc70828ebb8e943b74da72073194 | refs/heads/master | 2020-09-21T12:12:59.391417 | 2019-12-06T00:38:58 | 2019-12-06T00:38:58 | 224,785,838 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,671 | cpp | /*
* Matrices.cpp
*
* Copyright 2019 andrey <andrey@andrey-HP-Notebook>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any lat... | [
"spocker312@gmail.com"
] | spocker312@gmail.com |
baa6c32874bb073b915da51c9a0733dc4de80dc6 | 3b0cfb2c8a71f1142bca53004866306477348f2a | /linklist.h | d264896de7d64750f712ac0e3b79deb55d20abbc | [] | no_license | BaiJiazm/LinkListVisualizer | 51963e8bfa598faf1280f50c1ff30ccb440def45 | d6ea13b96a374392510d77f099106ca53c861753 | refs/heads/master | 2021-06-20T16:18:57.245741 | 2017-07-27T01:12:32 | 2017-07-27T01:12:32 | 98,271,157 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,610 | h | #ifndef LINKLIST_H
#define LINKLIST_H
#include <QWidget>
#include <QFile>
#include <QTextBrowser>
#include <QGraphicsScene>
#include <QGraphicsView>
#include <QGraphicsItem>
#include <QIntValidator>
#include "uidefine.h"
#include "lnode.h"
namespace Ui {
class LinkList;
}
class LinkList : public QWidget
{
Q_OB... | [
"1481977509@qq.com"
] | 1481977509@qq.com |
ae87739c045ea0c8bc03b31469eb4d63ff4fb84a | c2b161ce52e127f7036882f0ffa523f520dc1c87 | /programs/agents/agent-2-0.cpp | 20f8987344433330692e870d7ac0f279127a0ab7 | [] | no_license | dmosher42/cosmos-core | 9991e7268044fa3b139716a48e3bf3c707ea3422 | 625d1de84eded5ff69b2870a9cbf57c1a6476f89 | refs/heads/master | 2023-03-21T17:26:05.288081 | 2021-01-28T00:12:33 | 2021-01-28T00:12:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,098 | cpp | /********************************************************************
* Copyright (C) 2015 by Interstel Technologies, Inc.
* and Hawaii Space Flight Laboratory.
*
* This file is part of the COSMOS/core that is the central
* module for COSMOS. For more information on COSMOS go to
* <http://cosmos-project.com>
*
* The ... | [
"jim_lewis@hotmail.com"
] | jim_lewis@hotmail.com |
158f3030f4e51f760a3292b4cb462527f8a28246 | ad107e8812705a73bf9fd30174cbb925b2cfabf5 | /Kehu/News.h | 26832914c031ec5782a16f3d9c8d361b23010512 | [] | no_license | gongxijun/Ad-Client | 51f71e14d8270d127d8197a0a16ca1b330109719 | c86537dcf25f93921994c4707135081cca9b5a62 | refs/heads/master | 2021-04-26T16:43:39.579377 | 2016-12-22T05:09:46 | 2016-12-22T05:09:46 | 48,827,026 | 1 | 3 | null | null | null | null | GB18030 | C++ | false | false | 868 | h | #pragma once
#include "explorer1.h"
#ifdef _WIN32_WCE
#error "Windows CE 不支持 CDHtmlDialog。"
#endif
extern CImage Resour;
extern struct usr ower;
// News 对话框
class News : public CDHtmlDialog
{
DECLARE_DYNCREATE(News)
public:
News(CWnd* pParent = NULL); // 标准构造函数
virtual ~News();
//重写
HRESULT OnButtonOK(IHT... | [
"xijun.gong@qunar.com"
] | xijun.gong@qunar.com |
808a7ad56d9c087106f046347335501e38768e5b | 5c345604f15646bd48ada2cd34f4577b0d15ca93 | /simulator/main.cpp | 126a51ec40488eac5e221ab7d37b7d91b95d0a19 | [] | no_license | dtbinh/gengar | 9327b623bf79e6370459abd9d7d95af3a7818c0c | 440ffff4cce9324bb2bf77e0246ec17f7213a4a7 | refs/heads/master | 2020-07-09T19:25:09.170441 | 2015-12-19T10:35:59 | 2015-12-19T10:35:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 427 | cpp | #include "Simulator.h"
int main(int argc, char* argv[]){
Simulator simulator;
simulator.set_number_nodes(3);
//1000 uS - 1 ms
simulator.set_network_latency(7000, 200);
//10 bytes/uS - 10Mbps
simulator.set_network_bandwidth(10, 3);
//100 bytes/uS - 100Mbps
simulator.set_disk_read_bandwidth(100, 10);
//30 bytes... | [
"nave.mvn@gmail.com"
] | nave.mvn@gmail.com |
195d4096ed752df9751a2da11de07435167aafa9 | 927fad9a4b5b170d681eda830ab92e37c6722ee7 | /Classes/Game/GameScene1Obj1.h | 6cf569919534a5cc4d35630e02a65d54277eb91f | [] | no_license | the-last-language/Last-Language-2014 | 71af13da9a677af2c66fb8229a94196feb10d704 | 7c6911f9c53eed6cbd1e4dd1e9f48adaec95746a | refs/heads/master | 2021-01-21T05:10:45.805766 | 2015-04-08T15:58:29 | 2015-04-08T15:58:29 | 23,354,061 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 653 | h | #ifndef __GameScene1Obj1_SCENE_H__
#define __GameScene1Obj1_SCENE_H__
#include "cocos2d.h"
class GameScene1Obj1 : public cocos2d::Layer
{
public:
// there's no 'id' in cpp, so we recommend returning the class instance pointer
static cocos2d::Scene* createScene();
// Here's a difference. Method 'init' in... | [
"kimsh3933@gmail.com"
] | kimsh3933@gmail.com |
43abfd7e26c1ae865400d0924ee2e50b743e5b03 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/squid/gumtree/squid_patch_hunk_226.cpp | c62049a1d12bf5b4bc0ecfe4887b63ddbf106f06 | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,531 | cpp | /**** PUBLIC FUNCTIONS ****/
/*
* start a TCP connection to the peer host on port 113
*/
void
-Ident::Start(IpAddress &me, IpAddress &my_peer, IDCB * callback, void *data)
+Ident::Start(const Comm::ConnectionPointer &conn, IDCB * callback, void *data)
{
IdentStateData *state;
- int fd;
char key1[... | [
"993273596@qq.com"
] | 993273596@qq.com |
2c8e1571c08d4cb27a476c6c12fc689257a7ac89 | c67cbd22f9bc3c465fd763fdf87172f2c8ec77d4 | /Desktop/Please Work/build/Android/Preview/app/src/main/include/Fuse.Android.TextRend-b6e4a886.h | c861548e3f48b2af5777465b0f4fb3f1d5ab63a7 | [] | no_license | AzazelMoreno/Soteria-project | 7c58896d6bf5a9ad919bde6ddc2a30f4a07fa0d4 | 04fdb71065941176867fb9007ecf38bbf851ad47 | refs/heads/master | 2020-03-11T16:33:22.153713 | 2018-04-19T19:47:55 | 2018-04-19T19:47:55 | 130,120,337 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,110 | h | // This file was generated based on C:/Users/rudy0/AppData/Local/Fusetools/Packages/Fuse.Android.TextRenderer/1.8.1/TextRenderer.uno.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Uno.Object.h>
#include <Uno.Recti.h>
namespace g{namespace Fuse{namespace Android{struct StaticL... | [
"rudy0604594@gmail.com"
] | rudy0604594@gmail.com |
44570cedd0643e15645a3b7e31ad353e807bb66a | 441036d7bf7b6b17bb478dd8194df27a9ac3dc42 | /lib/int128.h | 4a3508e5f72af0243bf29380e0f7cec4b535fe4a | [
"MIT"
] | permissive | zjl410091917/int128 | d2415cb42003f4a85c1b9b96dc6c23082c88e3c2 | c11df72e0cc735acb462b13d12d8bcad7aa9ebfb | refs/heads/main | 2023-07-21T21:55:23.489410 | 2021-08-27T02:33:33 | 2021-08-27T02:33:33 | 370,219,773 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,420 | h | // Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// https://developers.google.com/protocol-buffers/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// ... | [
"jinlong.zhang@centurygame.com"
] | jinlong.zhang@centurygame.com |
6a64a230ab987ed9f0e640e585cc2e619ff10e8e | b5dca27578786a05a64ee5cbcdac8b85758cc4f6 | /Week1/week1-1-bootStrap.cpp | 7b7fefc9b981bbb40698ca7adc5392b0bedd72d2 | [] | no_license | KieraBacon/GameEngineDevelopment | a7f90df937cb00890b50678e7ea68d3e1b2ac8d6 | 7ce0420cd40b223bd9df0f54521de6234350ee5d | refs/heads/master | 2023-09-04T03:10:48.472815 | 2021-10-17T06:17:52 | 2021-10-17T06:17:52 | null | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 3,038 | cpp | /*-------------------------------------------------------------------------
Welcome to OGRE Object-Oriented Graphics Rendering Engine
Minimum code
xcopy /y $(ogre_home_v2)\build\bin\debug\*.* $(ProjectDir)x64\debug\
copy /y "C:\Hooman\GBC\GAME3121\Course Materials\GameEngineDevelopment\ogre-sdk-v2.1\build\bin\debug\*.... | [
"hooman_salamat@yahoo.com"
] | hooman_salamat@yahoo.com |
1c6b435463be46cbf043325fc2ced8bfd7e76d6a | d9e197288fea7783119b8adf81dd34e2619d9fb4 | /src/hydro/srcterms/shearing_box.cpp | 073f66c22b314cbfe3902c9037b807a30b687d9b | [
"BSD-3-Clause"
] | permissive | ziyanxu/athena-pp_xu | a2204bb216ac2e91e3075c96bdfaaff41b5e81bd | fce21992cc107aa553e83dd76b8d03ae90e990c7 | refs/heads/master | 2023-03-05T16:06:38.850733 | 2021-02-10T13:18:13 | 2021-02-10T13:18:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,678 | cpp | //======================================================================================
// Athena++ astrophysical MHD code
// Copyright(C) 2014 James M. Stone <jmstone@princeton.edu> and other code contributors
// Licensed under the 3-clause BSD License, see LICENSE file for details
//=================================... | [
"phhuang10@gmail.com"
] | phhuang10@gmail.com |
c91917191a0b92de284c3d2b7114944fb2e28560 | 5b8cb5332a9768161d2208ece834dba57431c63c | /SDL Game 2 - Master - Handout/ModuleTextures.cpp | 1a216ced77c34a0f6500ec6f1827e556d45a7282 | [] | no_license | lowysole/master_exercises | c88befb21be4265970d254ee517be83d18d13720 | 5eb8dbc78b56b944530ad747bad1fbec4e3a346d | refs/heads/master | 2023-01-20T15:03:24.417870 | 2020-12-02T16:41:06 | 2020-12-02T16:41:06 | 306,142,733 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,898 | cpp | #include "Globals.h"
#include "Application.h"
#include "ModuleRender.h"
#include "ModuleTextures.h"
#include "SDL/include/SDL.h"
#include "SDL_image/include/SDL_image.h"
#pragma comment( lib, "SDL_image/libx86/SDL2_image.lib" )
using namespace std;
ModuleTextures::ModuleTextures()
{
}
// Destructor
... | [
"lowy.sole@gmail.com"
] | lowy.sole@gmail.com |
64c67f62a3830198cd4c84fe84ba26cd8ce3dd6d | 49d669ee077b5701563edf35de26f60cfa6e090c | /Android/app/src/main/cpp/native-lib.cpp | 193ebff7c1606a32827a44a1e921ff0eec9926e7 | [
"MIT"
] | permissive | sevenfortune/ZLMediaKit | 767c0de7c67414ee04ee765db82bde6a5620d3e3 | 54b2cd008947e108e737432e7319a3acac309991 | refs/heads/master | 2020-08-08T12:33:49.953801 | 2019-10-08T09:22:27 | 2019-10-08T09:22:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,989 | cpp | #include <jni.h>
#include <string>
#include "Util/logger.h"
#include "Thread/semaphore.h"
#include "Common/config.h"
#include "Player/MediaPlayer.h"
#include "Extension/Frame.h"
using namespace std;
using namespace toolkit;
using namespace mediakit;
#define JNI_API(retType,funName,...) extern "C" JNIEXPORT retType J... | [
"771730766@qq.com"
] | 771730766@qq.com |
480d6cfd33f155868d85e247fc54ad7141a15edc | 9a728b6c31bfd6963712d38b30a6963fd7c531a8 | /OrgXueBang/Classes/CoreHelper/Message/MsgParam.hpp | 273e9911263fac7a20df327070c85a8615e2c5f0 | [] | no_license | daxingyou/MRK-OrgXueBang | 5fba171f759ccae2f1e28b4f4364df7d088fe5d2 | 09f10f3fd22c3791d0c9ec84c2042a36a7a8f22d | refs/heads/master | 2021-10-21T20:46:18.280434 | 2019-03-06T09:03:18 | 2019-03-06T09:03:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 840 | hpp | //
// MsgParam.hpp
// OrgXueBang-mobile
//
// Created by liuwei on 2019/1/8.
//
#ifndef MsgParam_hpp
#define MsgParam_hpp
#include <stdio.h>
#include <string>
using namespace std;
#include "cocos2d.h"
class MsgParam
{
private:
enum eRES{
RES_OK = 0,//消息
RES_ERROR,
};
public:
MsgParam()... | [
"autsck@163.com"
] | autsck@163.com |
0aa1d3951899cbb155a4af6b93fa57cdb8f6c65d | 670af94f93e7c7ef680dcc63b770a9bb7bf5071b | /libs/misc/linearinterpolator.cpp | 6d14cd573843e4f7e250add61f2e37aa5663c36d | [] | no_license | Leon-Zhang/prepost-gui | ef2e570bed88bd3232253cfd99e89b3eadfc661f | bff4db57df6a282f6e76e3942dbb02d66fbb5d9e | refs/heads/master | 2021-01-01T19:05:10.124321 | 2017-07-27T04:36:47 | 2017-07-27T04:36:47 | 98,504,251 | 0 | 0 | null | 2017-07-27T07:00:00 | 2017-07-27T07:00:00 | null | UTF-8 | C++ | false | false | 1,054 | cpp | #include "linearinterpolator.h"
LinearInterpolator1D1::LinearInterpolator1D1()
: Interpolator1D1()
{
m_value0 = 0;
m_value1 = 0;
}
LinearInterpolator1D1::LinearInterpolator1D1(double v0, double v1)
: Interpolator1D1()
{
m_value0 = v0;
m_value1 = v1;
}
void LinearInterpolator1D1::setValues(doubl... | [
"kinoue@2cc7cdd0-1db9-4218-aa4a-1d8dad43e0f0"
] | kinoue@2cc7cdd0-1db9-4218-aa4a-1d8dad43e0f0 |
1ef55f89eb8f6afbc6aa90d377f33e305737e033 | f5deac52f73fffbdcebaadb24fabbb1c33a6a808 | /src/stable/queue.cpp | 3fb993c3307393581c4afe49347f54bd64dcc562 | [
"BSD-3-Clause",
"LicenseRef-scancode-other-permissive"
] | permissive | zippy/libbu | d92557f8ece66c70e8ba37768194b2d6aad8bd89 | 6c79102419f9e79d25751fefc155f746496f4b50 | refs/heads/master | 2021-01-18T05:53:00.876941 | 2013-02-17T02:46:00 | 2013-02-17T02:46:00 | 8,282,197 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 216 | cpp | /*
* Copyright (C) 2007-2013 Xagasoft, All rights reserved.
*
* This file is part of the libbu++ library and is released under the
* terms of the license contained in the file LICENSE.
*/
#include "bu/queue.h"
| [
"mike@xagasoft.com"
] | mike@xagasoft.com |
e0cca8c74151c83264b9e69513bd03e1107b82b2 | a995091ae322b16728a5be9f1c551e413f57cfa9 | /logdevice/server/locallogstore/RocksDBListener.h | 0c365752aabad8fad4fb90b91fdad728488e5dae | [
"BSD-3-Clause"
] | permissive | ethio123/LogDevice | 3fb387058eedee05c52fffd9b05384a093b3dd4a | f5083568dd295fb750ed39d2a336a22486bd106c | refs/heads/master | 2020-04-08T00:59:19.185546 | 2018-11-23T14:48:08 | 2018-11-23T14:49:53 | 158,876,580 | 1 | 0 | NOASSERTION | 2018-11-23T20:46:37 | 2018-11-23T20:46:37 | null | UTF-8 | C++ | false | false | 5,120 | h | /**
* Copyright (c) 2017-present, Facebook, Inc. and its affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include <queue>
#include <folly/ThreadLocal.h>
#include <rocksdb/listen... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
23954c1c24f15ada36612a853322eb931c591ae0 | 8174a4304d797cc68210ab115659ba20d7090e76 | /aws-cpp-sdk-ecs/source/model/CreateTaskSetRequest.cpp | 6a75da2f534eb91bb235046d3992c0b9c784a963 | [
"Apache-2.0",
"MIT",
"JSON"
] | permissive | Lectem/aws-sdk-cpp | 0f167407ec05d59486b080f998c611891dce943e | 24deb4bc44d05c890712f8cd2e5b24eb379f3ecd | refs/heads/master | 2020-12-15T10:41:05.408067 | 2020-01-17T20:13:58 | 2020-01-17T20:13:58 | 235,075,690 | 0 | 0 | Apache-2.0 | 2020-01-20T10:29:07 | 2020-01-20T10:29:06 | null | UTF-8 | C++ | false | false | 4,067 | cpp | /*
* 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 |
b2b484e3bede98c6b02a736b176f588ab9e87d89 | 9384a0dc5c52d3bf8a3307c1c5710acd103276f9 | /GeeksForGeeks/RandomQuestions/headToTailOrdering2.cpp | efb1115167d670cc6734413c4dc3d91cc3352234 | [] | no_license | codeboy47/Competitive-Programming | c80deab0dc66b55de083a7faaab92f90577665fa | b1a8f3a5d3170f256d970e3103315e56fe4c3e45 | refs/heads/master | 2021-09-11T00:22:45.949158 | 2018-04-05T02:09:26 | 2018-04-05T02:09:26 | 76,561,517 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,181 | cpp | #include <iostream>
#include <list>
#include <string.h>
#include <queue>
#include <unordered_map>
using namespace std;
template<typename T>
class graph{
public :
int vertices;
unordered_map<T, vector<T> > hash;
graph() { }
graph(int v){
vertices = v;
}
void addEdge(T u, T v){
... | [
"noreply@github.com"
] | codeboy47.noreply@github.com |
1232df632be499c32864483513f48d9acee57fca | 26b8271160e90d84ba0931ecc4707e69cf24749e | /Math/Power Of Two Integers.cpp | a0ffff786389f89dc358b687522e4d9a0e6d6d7f | [] | no_license | ThePoliteWolf/InteviewBit-Slolution | 4eddf7a934c12bf4ef1499d6dc8fe21e5c74c3ae | d963f08cb33f3702fdf3c8cef62987416099a6c8 | refs/heads/master | 2020-04-04T02:09:28.590473 | 2018-11-01T09:51:59 | 2018-11-01T09:51:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 475 | cpp | /*
Given a positive integer which fits in a 32 bit signed integer, find if it can be expressed as A^P where P > 1 and A > 0. A and P both should be integers.
Example
Input : 4
Output : True
as 2^2 = 4.
*/
int Solution::isPower(int n) {
if (n <= 1) return 1;
int x;
for ( x=2; x<=sqrt(n); x++)
{
... | [
"noreply@github.com"
] | ThePoliteWolf.noreply@github.com |
4d3606d3b0a9c4edd7e3fb5e8f40035a1c8efae8 | 6a9cd5f5202eaa17c7e5704561d652cdefcf4650 | /week4/box2.cpp | e08ae61ac5142fd6238c5acddb42c73776f341c7 | [] | no_license | ppipee/ProblemSolving | eb8e9a5e0cbdb5a9731f6d3dc90bf343fe3b041d | edb1a939608b954e0a32a29d3a061abe049d4f40 | refs/heads/master | 2020-05-27T02:29:49.125784 | 2019-05-24T18:47:31 | 2019-05-24T18:47:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,720 | cpp | #include <iostream>
#include <string>
using namespace std;
bool end_path = false;
bool find_out = false;
// bool find_start = false;
int r, c;
void printMap(char **map)
{
for (int i = 0; i < r; i++)
{
for (int j = 0; j < c; j++)
cout << map[i][j];
cout << endl;
}
cout << e... | [
"kittapon.ku.ac.th"
] | kittapon.ku.ac.th |
53a23e4a780c74f9366fed6734a238e495f68749 | 4c1d7aee068d08bcfc1267d4501d32609e902301 | /arc086_a.cc | 45b205e1506283e7ee235856ff95e9c70f33ec11 | [
"MIT"
] | permissive | mnrn/xxx-coder | 9e7ba7cb9328203135134c889783e69df7f3b597 | 2db331c57f15fbd36fbb61a5526afc07af010727 | refs/heads/master | 2021-09-26T21:42:07.317083 | 2021-09-23T09:43:05 | 2021-09-23T09:43:05 | 213,385,527 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,081 | cc | // #define _GLIBCXX_DEBUG
#include <bits/stdc++.h>
#define FOR(i, a, b) for (int i = (a); i < int(b); ++i)
#define RFOR(i, a, b) for (int i = (b)-1; i >= int(a); --i)
#define REP(i, n) FOR(i, 0, n)
#define REP1(i, n) FOR(i, 1, int(n) + 1)
#define RREP(i, n) RFOR(i, 0, n)
#define RREP1(i, n) RFOR(i, 1, int(n) + 1)
#def... | [
"paper.airplane01@gmail.com"
] | paper.airplane01@gmail.com |
2430b1ec358eb5b946d7ac14b066074c7491392d | 0c4bd1b977cc714a8a6b2839f51c4247ecfd32b1 | /C++/miniNN/util.h | b0b6484b5f1b014ca43160112e7720641e56a53f | [] | no_license | ishine/neuralLOGIC | 281d498b40159308815cee6327e6cf79c9426b16 | 3eb3b9980e7f7a7d87a77ef40b1794fb5137c459 | refs/heads/master | 2020-08-14T14:11:54.487922 | 2019-10-14T05:32:53 | 2019-10-14T05:32:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,412 | h | #ifndef UTIL_H_
#define UTIL_H_
#include <sstream>
#include <iostream>
#include <vector>
void usage(void **argtable, const char *progname) {
FILE *fp = stdout;
fprintf(fp, "Usage: %s ", progname);
arg_print_syntaxv(fp, argtable, "\n");
arg_print_glossary(fp, argtable, " %-50s %s\n");
}
template<class T>
std:... | [
"the.new.horizon@outlook.com"
] | the.new.horizon@outlook.com |
d55b6eacb4ce537ffa0a602ccdf7627f9cb28155 | e7006ef73d6ce0be377f81009ce82ca736ed7ef9 | /unit_tests/TestElementQueue.cpp | ce1c90919ed018c44d12e2a1150d65654c0b3321 | [] | no_license | mitikkak/KayakLogger | 4ba509ad2944938e379bfbf6bf69070a0834d19c | 4a85f59ef9be6515e4a15dbb9a6f849055cf95c5 | refs/heads/master | 2022-05-21T17:54:23.973524 | 2019-05-03T19:34:40 | 2019-05-03T19:34:40 | 38,321,895 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 298 | cpp |
#include <gtest/gtest.h>
#include <fstream>
using namespace std;
#include "ElementQueue.h"
class TestElementQueue : public ::testing::Test {
public:
TestElementQueue() {}
void SetUp() {
}
void TearDown() {
}
};
TEST_F(TestElementQueue, construct)
{
ElementQueue q;
}
| [
"mikko.tikkakoski@gmail.com"
] | mikko.tikkakoski@gmail.com |
90085b5de867470001ca4003626492aa79e5ee17 | 70c1fdc0a0206e7e869635efa222518d502f29f5 | /tree/subordinates.cpp | b4a04491a23e6d93904bfad2c4fba0d877c56b64 | [] | no_license | AndyLi23/cses | 6f87fa82017f2b1396c9ea1641b7dad85122d85f | 4c0ccf82b89b144b6badb29ac15f4c1633fbc159 | refs/heads/master | 2023-07-05T01:10:22.588140 | 2021-08-23T15:15:48 | 2021-08-23T15:15:48 | 389,780,612 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 762 | cpp | #include <bits/stdc++.h>
using namespace std;
#define FOR(i, n) for(int (i) = 0 ; (i) < (n); ++(i))
#define FOR2(i, a, b) for(int (i) = (a); (i) < (b); ++(i))
#define FOR2R(i, b, a) for(int (i) = (b); (i) >= (a); --(i))
#define ll long long
#define pb push_back
int N, dp[200005], temp;
vector<int> adj[200005];
int d... | [
"andyliqy@gmail.com"
] | andyliqy@gmail.com |
9fa549d7c479e9418d7f48cb50f14396236411bc | c91ba4e746dc5b8f2dface963b4096dd721070fd | /cloudphoto/src/model/MoveFacePhotosRequest.cc | ab2ba117f0126dd59750145ec9bc9a204beed98f | [
"Apache-2.0"
] | permissive | IthacaDream/aliyun-openapi-cpp-sdk | fa9120604ca3af4fc48a5f9bf70ff10542103c3a | 31a064d1568f59e0731485a1b0452cfd5d767e42 | refs/heads/master | 2021-09-05T09:44:19.244166 | 2018-01-26T07:00:14 | 2018-01-26T07:00:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,202 | cc | /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | [
"haowei.yao@alibaba-inc.com"
] | haowei.yao@alibaba-inc.com |
3756483958082d4efd2166a5d8f991a257f009b3 | eda637eabeb69c5ab1118421b53240ead191917c | /sds알고리즘 특강/5일차/조약돌 꺼내기(sol).cpp | c463dee108cec2e17f2dd7e85323282c943db4c8 | [] | no_license | seungchulee/baekjoon | bce7cf5d4e354c744fbe8a7168e4c50f60bfb358 | 520f33dc48035a2348b42215a9cebf5bfa06524b | refs/heads/master | 2021-06-25T01:01:38.736471 | 2021-03-15T16:07:54 | 2021-03-15T16:07:54 | 202,988,630 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 647 | cpp | #include <stdio.h>
int gaesu[51];
int main(void)
{
int M, K;
scanf("%d", &M);
int who = 0;
for (int i = 0; i < M; i++)
{
scanf("%d", &gaesu[i]);
who += gaesu[i];
}
scanf("%d", &K);
if (M == 1 || K==1)
printf("1.0");
else
{
double whonum = 0.0;
for (int i = 0; i < M; i++)
{
... | [
"noreply@github.com"
] | seungchulee.noreply@github.com |
711c780f35f237eee2917da383cb918eb1e68631 | 6b757dfef2b648f31eb21342c65d6d5a5630434a | /testFirst/01背包算法.cpp | 6e0e23a458987a72c252d4e50fb1a28e3a96433c | [] | no_license | QkqBeer/C- | 4cd51c2058acd20433aaafd5ef4947aa9cb593cd | df1025582f099579a0dbbc00ce21f2f25708a5bb | refs/heads/master | 2020-05-19T06:22:36.940458 | 2019-09-09T05:26:44 | 2019-09-09T05:26:44 | 184,873,261 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,031 | cpp | #include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
/*
01背包算法和部分背包算法的区别
01背包算法:每件物品或被带走,或被留下,每件东西只能拿一次
部分背包算法:可以只带走某个物品的一部分,不必做出0-1选择。
*/
int solution(vector<int> weight, vector<int> capacity, int size, int n)
{
/*
weight : 权重
capacity : 体积
size : 包的最大容量
n : 多少个商品
*/
vector<vector... | [
"614129067@qq.com"
] | 614129067@qq.com |
bc81c1cb857cd26b214a85033c6f9f7779b90f5e | adbc6eb4bdd5da47b4d35dd023d0a2e0505ed4e7 | /src/ClassifiedObject.hh | e04382f5bf5e8cae0ce325bc74ade308b3aeab1d | [
"BSD-3-Clause"
] | permissive | michaeljones/alembic-fs | b57c10eed89fbff9ff22b30daf3cac4d97773dc8 | 765b51774e40b0a5656e9f59338539f5b11f3e4b | refs/heads/master | 2021-01-13T02:26:05.177303 | 2011-11-26T05:30:27 | 2011-11-26T05:30:27 | 2,580,651 | 12 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 906 | hh | #ifndef ALEMBICFS_CLASSIFIEDOBJECT_HH
#define ALEMBICFS_CLASSIFIEDOBJECT_HH
#include "Types.hh"
#include <Alembic/AbcCoreAbstract/All.h>
#include <Alembic/AbcCoreHDF5/All.h>
#include <Alembic/AbcGeom/All.h>
class ClassifiedObject
{
public:
enum Classification
{
kObject = 0,
kProperties,
... | [
"m.pricejones@gmail.com"
] | m.pricejones@gmail.com |
8aab44ac3a4ae5f1824676d89912003f9f16c6d5 | c967308d6aa41de943fa78b34afb11ef246088fc | /Classes/LotteryLayer.cpp | 0466a2c664eda64210031fb7a374760b48a07bec | [] | no_license | IceCoffee2011/CatchFish3 | ab9be97481f8b6cb73c8eb82d41053082f928e24 | 0f034d96447b282e8e75b88afd891dd7864ed561 | refs/heads/master | 2020-05-05T11:00:41.150725 | 2017-01-14T08:02:45 | 2017-01-14T08:02:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 24,161 | cpp | #include "header.h"
LotteryLayer::~LotteryLayer()
{
}
LotteryLayer* LotteryLayer::create(bool bLocalOpen, int nLotteryNum)
{
LotteryLayer* pRet = new LotteryLayer();
if(pRet && pRet->init(bLocalOpen, nLotteryNum))
{
pRet->autorelease();
return pRet;
}
else
{
delete... | [
"775198283@qq.com"
] | 775198283@qq.com |
dce6d7e2509b3145458c5ad456b48d5f38a13d40 | 92e7a96c196e563b70f78db321680d830af80a53 | /InstitutionalTrading/Client/CltServerMgr/ServerAddrForm.cpp | 889be0cdbf6a9a93b00dbe21a608a3d47ce1df06 | [] | no_license | alexfordc/zq | 513723341132dd2b01f5ca3debb567b2fd31c033 | a0b05b7416fe68784e072da477e8c869097584e2 | refs/heads/master | 2021-05-25T14:19:37.317957 | 2018-02-24T05:57:23 | 2018-02-24T05:57:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 49 | cpp | #include "StdAfx.h"
#include "ServerAddrForm.h"
| [
"w.z.y2006@163.com"
] | w.z.y2006@163.com |
0702d878c403f11e0458643d021bf57a173bb627 | cbba3f1e70472d928e71ad39c4fc38a1a9cc1c66 | /Baekjoon/15686.치킨 배달.cpp | 60f16ce4ccaf61249dde58e9be4905cb04310830 | [] | no_license | giraffeJ/baekjoon | 0a02ffcc0228477859acad8cdf5dee3ba3d725af | dbbf11f7dd8d61520f63ec5b4ed3f3087be3c981 | refs/heads/master | 2020-04-14T11:40:14.878856 | 2019-04-12T10:42:56 | 2019-04-12T10:42:56 | 163,820,326 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,869 | cpp | #include<stdio.h>
int n, m, h, c, res=2100000000;
int min(int a, int b) {
return a < b ? a : b;
}
struct co {
int x;
int y;
};
co home[110], chicken[15];
int map[60][60], distance[15][110], index[60][60], q[3][100001], chosen[15];
void get_input() {
scanf("%d %d", &n, &m);
for (int i = 1; i <= n; i++) {
for (int... | [
"35956557+giraffeJ@users.noreply.github.com"
] | 35956557+giraffeJ@users.noreply.github.com |
3e160237969fb0f9af72ac627bacd4c29e7a8098 | 58fbf85bc2dda72606c01cd2cd191bc0bc9fa7c2 | /Source/Army/Public/Operation/ArmyFacsimileOperation.h | 74a6195d2383a32da86c213fac53536bbf7f0f73 | [] | no_license | myl2232/ArmyEngineSimulation | 497d2affb2786af9aa0a0295cf98cc4377b87ca4 | 353f3ec93cb352d49ce95825bb2ffdcc678119cf | refs/heads/master | 2020-11-26T07:03:36.383628 | 2019-12-20T09:48:18 | 2019-12-20T09:48:18 | 228,996,622 | 0 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 928 | h | #pragma once
#include "ArmyOperation.h"
class FArmyFacsimileOperation : public FArmyOperation
{
public:
FArmyFacsimileOperation(EModelType InBelongModel);
virtual ~FArmyFacsimileOperation() {}
//~ Begin IArmyDrawHelper Interface
virtual void DrawHUD(class UArmyEditorViewportClient* InViewPortClient, FViewport* V... | [
"153101862@qq.com"
] | 153101862@qq.com |
1407992f26e832cce2b36a3c856d0e07f0ca92aa | 3f3a42f429f8bcd769644148b24c3b0e6e2589ed | /GameProject/GameEngine/EngineCore/Math/Vector.h | 730023c58975c1418d629e7c939e606767c91359 | [] | no_license | DanielNeander/my-3d-engine | d10ad3e57a205f6148357f47467b550c7e0e0f33 | 7f0babbfdf0b719ea4b114a89997d3e52bcb2b6c | refs/heads/master | 2021-01-10T17:58:25.691360 | 2013-04-24T07:37:31 | 2013-04-24T07:37:31 | 53,236,587 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 50,432 | h | #pragma once
#ifndef __MATH_VECTOR_H__
#define __MATH_VECTOR_H__
//#include <Core/SysCommon.h>
#include "Math.h"
#include "Enginecore/Heap.h"
/*
===============================================================================
Vector classes
==============================================================... | [
"Sangyong79@gmail.com"
] | Sangyong79@gmail.com |
edb3e68003ce31df23926b19162cb23a72b0f1d7 | 2e765d9338314f35d15c1e1e00ae085c1eac37c6 | /백준실/geometry/boj1358.cpp | 59074c3e417f48539693c2bb9d2fe36d494a29c7 | [] | no_license | chanmin4/BOJ-open-code-list | 497874a104174e89ffc24ce566810c4e4c991841 | 211a548caba25006bbced2441d97a1c42650d81c | refs/heads/main | 2023-07-16T02:54:16.658143 | 2021-09-06T10:21:06 | 2021-09-06T10:21:06 | 380,688,372 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,245 | cpp | #include<iostream>
#include<string>
#include<algorithm>
#include<vector>
#include<queue>
#include<stack>
#include<cmath>
#include<stdio.h>
#include<cstring>
#include<cstdio>
#include<cstring>
#include<set>
#include<map>
#include<list>
#include<unordered_set>
#include<time.h>
#define fup(i,a,b,c) for(int i=a;i<=b;i+=c)... | [
"chanmin4@naver.com"
] | chanmin4@naver.com |
cdb77d8c28d7d331df68198b9eb38074fb8ba231 | 7de672dbbcc1b993ec061473c20a46f963e351b2 | /SDK/PUBG_P_MotoDrive_Rock_Front_BP_classes.hpp | 1b77c6628647dc3131612231591fa983f30b18a3 | [] | no_license | mdbrelo/PUBG-SDK | 71a15c680f589770b2d879bfd5d0a6ebc0b6481b | 9628997ee0f007055e298ca55908c36317f18b36 | refs/heads/master | 2021-04-25T23:13:33.421457 | 2017-10-07T17:18:17 | 2017-10-07T17:18:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,014 | hpp | #pragma once
// PlayerUnknown's Battlegrounds (2.6.30.2) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace Classes
{
//---------------------------------------------------------------------------
//Classes
//---------------------------------------------------------------------------
// BlueprintGenerated... | [
"pubgsdk@gmail.com"
] | pubgsdk@gmail.com |
b8a9d98531015e6b2351f81edea9df16a92cdd83 | 82fa4a7b90407b8b5c3910ece93fa9779c3dfd67 | /sycl/include/CL/sycl/ONEAPI/atomic_enums.hpp | 9a18e3b1732507958eb936ca3b411fa11b8a78ba | [
"NCSA",
"LLVM-exception",
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | kbsmith-intel/llvm | 2fd46d1c1af55578e27d384e9213eb20e93a6656 | d1556e41db47010ef795ad851439d5d7dbbe4ee5 | refs/heads/sycl | 2023-06-19T16:12:33.778882 | 2021-07-15T20:29:19 | 2021-07-15T20:29:19 | 300,451,610 | 0 | 0 | null | 2021-01-10T20:12:28 | 2020-10-01T23:34:27 | null | UTF-8 | C++ | false | false | 2,592 | hpp | //==--------------- atomic_enums.hpp - SYCL_ONEAPI_extended_atomics enums --==//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | [
"noreply@github.com"
] | kbsmith-intel.noreply@github.com |
f9276e392fa53fed672c5d0f1ebc352bc8159c4b | 600df3590cce1fe49b9a96e9ca5b5242884a2a70 | /third_party/skia/src/effects/SkPaintImageFilter.cpp | 0a0e4e92edf972b03c167acc8da5c43ed5f723a6 | [
"BSD-3-Clause",
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT",
"Apache-2.0"
] | permissive | metux/chromium-suckless | efd087ba4f4070a6caac5bfbfb0f7a4e2f3c438a | 72a05af97787001756bae2511b7985e61498c965 | refs/heads/orig | 2022-12-04T23:53:58.681218 | 2017-04-30T10:59:06 | 2017-04-30T23:35:58 | 89,884,931 | 5 | 3 | BSD-3-Clause | 2022-11-23T20:52:53 | 2017-05-01T00:09:08 | null | UTF-8 | C++ | false | false | 2,432 | cpp | /*
* Copyright 2016 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "SkPaintImageFilter.h"
#include "SkCanvas.h"
#include "SkReadBuffer.h"
#include "SkSpecialImage.h"
#include "SkSpecialSurface.h"
#include "SkWriteBuffer.h"
sk_sp<SkI... | [
"enrico.weigelt@gr13.net"
] | enrico.weigelt@gr13.net |
c68120fda696c1343baef63a65808aaea147b7a1 | 6343becde6901e0fcf3a791e719b9d2a08966be8 | /include/rive/generated/animation/state_machine_base.hpp | b58972a9b47bff7c6869dfb6b7f30fe7f70b7f51 | [
"MIT"
] | permissive | xiu810/rive-cpp | 1bfd591eed9c80ec27a984d8b805ddb88754ee17 | bfb16907447239687ef6dee918eda9b87beffb6e | refs/heads/master | 2023-07-16T12:03:22.676575 | 2021-08-21T11:13:32 | 2021-08-31T23:14:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 706 | hpp | #ifndef _RIVE_STATE_MACHINE_BASE_HPP_
#define _RIVE_STATE_MACHINE_BASE_HPP_
#include "rive/animation/animation.hpp"
namespace rive
{
class StateMachineBase : public Animation
{
protected:
typedef Animation Super;
public:
static const uint16_t typeKey = 53;
/// Helper to quickly determine if a core object ex... | [
"luigi-rosso@users.noreply.github.com"
] | luigi-rosso@users.noreply.github.com |
df0e75c34d981106db95b88c53ab048107aa75b8 | ae9ff784b524610de9abebea61a59df1152c3aad | /CH07/01.cpp | 21b70cf02fa821555814d24060c2081ca1ec4015 | [] | no_license | headmastersquall/Cpp | 489ea7757d9b0a64b929fece3b1152121f69cdc8 | daca75461ca00bb9f5af7550554e32d024d335d8 | refs/heads/master | 2020-05-17T22:39:57.086887 | 2015-11-09T20:12:31 | 2015-11-09T20:12:31 | 42,877,932 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 979 | cpp | /*
* 01. Larges/Smallest Array Values
*
* Fill an array with user input, then show the smallest and largest values.
*/
#include <iostream>
#include <string>
using namespace std;
int intPrompt(string prompt);
void findAndShowSmallLarge(int [], int);
int main()
{
const int NUMBER_COUNT = 10;
const string PROMPT... | [
"headmastersquall@hushmail.com"
] | headmastersquall@hushmail.com |
74be4cb2f298829ec207b8264951c1f63a1307fa | 4c8255fbb4ffb92c3c82bf88b1d30e89a75881de | /etc/examples/mojo/echo_server/poll.h | f8ca15e6eaea8b0c233033c447fb6d13de5f7f62 | [] | no_license | Xardas2000/mojo-echo | 6802b2709a87e09bf3403a0d46d4f33e8e94719e | 7a728e3914c58de97ad0722e86af56f44b11d8bf | refs/heads/master | 2021-01-07T22:40:09.253209 | 2020-02-20T09:51:34 | 2020-02-20T09:51:34 | 241,840,197 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 284 | h | #include <vector>
#include "engine.h"
class PollEngine : public Engine {
public:
explicit PollEngine(int port);
~PollEngine() override;
void run() override;
private:
void acceptNewConnections();
void manageConnections();
private:
std::vector<Client> m_Clients;
};
| [
"alek.kuznetsov@corp.mail.ru"
] | alek.kuznetsov@corp.mail.ru |
d6d8ea8ba2229379c43810bba588a484093d230f | 3cfa229d1d57ce69e0e83bc99c3ca1d005ae38ad | /sphere/source/engine/rendersort.hpp | b2f1626e291d656fabc7612197302bd237a7fde9 | [] | no_license | chadaustin/sphere | 33fc2fe65acf2eb56e35ade3619643faaced7021 | 0d74cfb268c16d07ebb7cb2540b7b0697c2a127a | refs/heads/master | 2021-01-10T13:28:33.766988 | 2009-11-08T00:38:57 | 2009-11-08T00:38:57 | 36,419,098 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 571 | hpp | #ifndef RENDER_SORT_HPP
#define RENDER_SORT_HPP
#include <vector>
#include "video.hpp"
class CRenderSort
{
public:
void AddObject(int draw_x, int draw_y, int sort_y, int draw_w, int draw_h, bool is_angled, double angle, IMAGE image, RGBA mask);
void DrawObjects();
private:
struct Object
{
int... | [
"tunginobi@c0eb2ce6-7f40-480a-a1e0-6c4aea08c2c2"
] | tunginobi@c0eb2ce6-7f40-480a-a1e0-6c4aea08c2c2 |
d4880283a6963a6842d8a926192326e41f8984cc | ab7f35f161c051dd42f89be87d19807087ae8fce | /C/webcam.cpp | 4ec1e84ef923dca5bfa9b1b0605250c7ce72fb59 | [] | no_license | duprijil/TTA.BOSH | cbbe699f10fcc73ccdd1344b1bc40c64e70f6032 | 1441b1c32134e0cf1a20db134662520b1507c460 | refs/heads/master | 2022-12-25T17:03:34.563368 | 2020-10-11T17:34:06 | 2020-10-11T17:34:06 | 301,464,469 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,432 | cpp | /*
(c) 2014 Séverin Lemaignan <severin.lemaignan@epfl.ch>
(c) 2008 Hans de Goede <hdegoede@redhat.com> for yuyv_to_rgb24
This program 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 versio... | [
"d.prijilevschi@gmail.com"
] | d.prijilevschi@gmail.com |
1b24c31d5ee3bac78b60aaa805e1d51c3b8ab61a | 6f7355a9cebf80857d12165f5159695c5aa2d6a5 | /set_measurement_unit.h | ea047722c4c1fd90d7340ad0220ebbb6642e9cfd | [] | no_license | fengzhimiwu/my_popwil | 814e48059833860682373732fe6178b7fd5acddd | fcaa859d6d4356d458d2d7b77d99616634541a3f | refs/heads/master | 2023-05-28T02:42:44.969903 | 2020-05-05T10:53:37 | 2020-05-05T10:53:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 444 | h | #ifndef SET_MEASUREMENT_UNIT_H
#define SET_MEASUREMENT_UNIT_H
#include <QDialog>
#include <QTableWidget>
namespace Ui {
class set_measurement_unit;
}
class set_measurement_unit : public QDialog
{
Q_OBJECT
public:
explicit set_measurement_unit(QWidget *parent = 0);
~set_measurement_unit()... | [
"591495195@qq.com"
] | 591495195@qq.com |
08c80e25b5ff3846ae0b42db155dea631acb8001 | 1c0ec16578f2951f64442f1577b83a4c78194924 | /cpp/OpenGL/09_Tetris/Grid.h | 2fca64854af177fcfb316c096ff29865e9db996b | [] | no_license | sdraeger/lnc | 5e8381325caf01667597a0e3ed6d5e9b2df22dc8 | dc5762d58449b1b5a98c914fd41bd300190dc2c4 | refs/heads/master | 2023-03-10T10:14:58.728940 | 2021-02-22T21:53:43 | 2021-02-22T21:53:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 851 | h | #pragma once
#include <memory>
#include <vector>
#include <string>
#include "Renderer.h"
#include "Vec2.h"
class Grid {
public:
Grid(std::shared_ptr<Renderer> renderer);
void render(const std::array<Vec2i,4>& tetrominoPos, const Vec3& currentColor, const std::array<Vec2i,4>& nextTetrominoPos, const Vec3& nextCol... | [
"jens.krueger@uni-due.de"
] | jens.krueger@uni-due.de |
54f54820ba62c040f9cb8d161804e7a0c2a424b3 | 3dca132fe1adbb7316aee2030a6ae6fa0cc696aa | /hw1/src/DFA.cpp | 8692dfb4fcb2dc6e9e3878501b11cbd919118777 | [
"Apache-2.0"
] | permissive | leesk0502/compiler-homework | ebfe74d42f8d89cadc5da41615b388b1feae47f4 | 395cf718698f1bc24838d2a986655e7778d6546e | refs/heads/master | 2021-06-28T01:27:06.826858 | 2017-09-17T18:11:38 | 2017-09-17T18:11:38 | 103,850,803 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,659 | cpp | #include "DFA.h"
using namespace std;
void DFA::buildNfaToDfa(vector<NfaData> table)
{
for(int i=0; i<table.size(); i++){
bool is_end = epsilonClosure(table, table[i], table[i].my_state);
if( table[i].value == "e" && find( closure[table[i].my_state].begin(), closure[table[i].my_state].end(), table[i] ) == c... | [
"leesk0502@gmail.com"
] | leesk0502@gmail.com |
b53d9d04eaa562aaef6123d0b5276177fe7b6447 | b4b1152994445bcc67d022f28b87f6e962d01f34 | /lab2/Code/function.h | cc25ae48fc64d84e5c6a7fff8d54f3ddcac7ce23 | [] | no_license | rookielxy/compiler-2018-fall | 45c13cb583ab526c30c99778ad25d32b8147b614 | 5f400baab81c29d9f87bf43b4873d8f2d9267a20 | refs/heads/master | 2020-04-16T23:09:06.229453 | 2019-01-16T11:00:38 | 2019-01-16T11:00:38 | 166,000,184 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 743 | h | #ifndef __FUNCTION__
#define __FUNCTION__
#include "type.h"
#include "common.h"
class Function {
string name;
Type ret;
vector<Symbol> args;
bool def;
int line_no;
public:
Function() = default;
Function(const Function &func) = default;
~Function() = default;
Function& operator=(const Function ... | [
"ryelovespython@gmail.com"
] | ryelovespython@gmail.com |
9211bfd7409897ed08d881fbe99e56799ea48bcf | 73141cdef7f0a059d885bb061f9ba5f948431350 | /include/ugu/renderer/base.h | 5091074fcc377416bd4ba7bf48f0c945d6818a2f | [
"BSD-3-Clause"
] | permissive | PeterZhouSZ/ugu | 60058fe8f90b0f065a7c65c02705cc8b6aae8334 | e3c61565ef0acfb34a783f7efcc0d6fb7f4340ed | refs/heads/master | 2023-06-02T17:14:08.917987 | 2020-05-19T14:39:10 | 2020-05-19T14:39:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,275 | h | /*
* Copyright (C) 2019, unclearness
* All rights reserved.
*/
#pragma once
#include <memory>
#include <vector>
#include "ugu/camera.h"
#include "ugu/mesh.h"
namespace ugu {
// Diffuse color
enum class DiffuseColor {
kNone = 0, // Default white color
kTexture = 1, // From diffuse uv texture
kVertex =... | [
"example@example.com"
] | example@example.com |
c66dafda3bf4263ded9063e519f4256b03f25826 | 60b680c69898d0f1a7f982c5ac68095adfb56113 | /Sem_2/Lab_3/Task 2/src/screen/GameScreen.cpp | f69fd6b84e09d8bc5ee9ee2dba774d633a2982ff | [] | no_license | borgishmorg/bfu | ba2feb8c1179771c0cae7b0d1b76896b75be5003 | 426f41ae5b7f7e31491ba7aa5b8c3ae25505fefc | refs/heads/master | 2020-03-31T08:46:36.914439 | 2019-05-29T23:19:51 | 2019-05-29T23:19:51 | 152,072,131 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,107 | cpp | #include "GameScreen.hpp"
using BattleRoyale::GameScreen;
GameScreen::GameScreen(Map & map):
Screen(HEIGHT, WIDTH),
mapElement_(map, 0, 0),
playerElement_(PLAYER_ELEMENT_HPOS, PLAYER_ELEMENT_WPOS),
messageElement_(MESSAGE_ELEMENT_HPOS, MESSAGE_ELEMENT_WPOS){
addElement(mapElement_);
... | [
"alexsemenov1610@gmail.com"
] | alexsemenov1610@gmail.com |
2313edf7728a235ecc432c26f159df4e0cdc804d | fae45a23a885b72cd27c0ad1b918ad754b5de9fd | /benchmarks/shenango/parsec/pkgs/tools/cmake/src/Source/cmExternalMakefileProjectGenerator.h | d841a6f61b5a678574f17a34b8e634b4b952dfea | [
"MIT",
"LicenseRef-scancode-free-unknown",
"LicenseRef-scancode-other-permissive",
"Apache-2.0"
] | permissive | bitslab/CompilerInterrupts | 6678700651c7c83fd06451c94188716e37e258f0 | 053a105eaf176b85b4c0d5e796ac1d6ee02ad41b | refs/heads/main | 2023-06-24T18:09:43.148845 | 2021-07-26T17:32:28 | 2021-07-26T17:32:28 | 342,868,949 | 3 | 3 | MIT | 2021-07-19T15:38:30 | 2021-02-27T13:57:16 | C | UTF-8 | C++ | false | false | 3,066 | h | /*=========================================================================
Program: CMake - Cross-Platform Makefile Generator
Module: $RCSfile: cmExternalMakefileProjectGenerator.h,v $
Language: C++
Date: $Date: 2012/03/29 17:21:08 $
Version: $Revision: 1.1.1.1 $
Copyright (c) 2007 Kitware, ... | [
"nilanjana.basu87@gmail.com"
] | nilanjana.basu87@gmail.com |
42c1e8f32c2ce2e9dae1873a14d1f811c8e95faa | 31f5cddb9885fc03b5c05fba5f9727b2f775cf47 | /thirdparty/physx/physx/source/lowlevel/software/src/PxsDefaultMemoryManager.cpp | e53ea5dbcfdaa2ac6477997c0d226bd7d8e627ba | [
"MIT"
] | permissive | timi-liuliang/echo | 2935a34b80b598eeb2c2039d686a15d42907d6f7 | d6e40d83c86431a819c6ef4ebb0f930c1b4d0f24 | refs/heads/master | 2023-08-17T05:35:08.104918 | 2023-08-11T18:10:35 | 2023-08-11T18:10:35 | 124,620,874 | 822 | 102 | MIT | 2021-06-11T14:29:03 | 2018-03-10T04:07:35 | C++ | UTF-8 | C++ | false | false | 2,902 | cpp | //
// 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 and the following disclaimer.
// * Redistributions in bin... | [
"qq79402005@gmail.com"
] | qq79402005@gmail.com |
66b913e0f79cf5467227c094977d4ce66638283e | a9f36724f0a13e02d509583b990eb2a24b4b754c | /ship.h | 50f8404044fd4d51242395a49be0ff6078ffd251 | [
"MIT"
] | permissive | runemoennike/asteroids | c52e99cd4ba630dc4aa04e24d71b43bb413942d7 | bdef23a43ccbca8964dd12ee8192757ee87113c6 | refs/heads/master | 2021-01-21T12:46:54.615453 | 2015-05-06T20:25:04 | 2015-05-06T20:25:04 | 35,181,013 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 227 | h | #ifndef __SHIP_H
#define __SHIP_H
#include "entity.h"
class cShip : public cEntity {
// Funcs
public:
void thrust(float amount);
void dampenSpeed(float amount);
bool checkCollide();
};
#endif
| [
"runemoennike@gmail.com"
] | runemoennike@gmail.com |
357c5029ad7b79184c6d6cb8a9c09fae00ba9b8d | 053d5e673a0b3da2eddb556fbac9b50042afe75a | /repeated-string.cpp | 046ddb194ca4375efd536e8a4cc88cb9211bb32b | [] | no_license | powe0101/hackerrank | e990f1e48a29e471db4695d0e081d6ea0b6797e7 | c76700ee4825487e03353a19fceca119bbba4857 | refs/heads/master | 2021-01-12T11:08:00.749765 | 2020-06-24T02:17:59 | 2020-06-24T02:17:59 | 72,836,436 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,060 | cpp | //https://www.hackerrank.com/challenges/repeated-string
//Created by G(powe0101@naver.com)
#include <map>
#include <set>
#include <list>
#include <cmath>
#include <ctime>
#include <deque>
#include <queue>
#include <stack>
#include <string>
#include <bitset>
#include <cstdio>
#include <limits>
#include <vector>
#includ... | [
"powe0101@naver.com"
] | powe0101@naver.com |
81fb61c0989ba1e5f0cff1f71d3d229ae59497eb | 4a61888ed98a9a042a00a26e76c010c2f73526e0 | /lib/dg_cli.cc | 51a5961a6420c5c41b3c78a87663a6c270de26bb | [] | no_license | nani0119/UNP | b37484363a1d23021b53befe1db36e5c3b51fa8a | c26db4f64728a5a89a6cddcfbb6e08dae2da9e0e | refs/heads/master | 2022-11-15T04:28:25.908696 | 2020-07-15T02:02:41 | 2020-07-15T02:02:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,287 | cc | #include "unp.h"
namespace unp
{
void dg_cli(FILE *fp, int sockfd, const SA *pservaddr, socklen_t servlen)
{
int n;
socklen_t len;
char sendline[MAXLINE], recvline[MAXLINE + 1];
struct sockaddr* preply_addr;
preply_addr =(struct sockaddr*) malloc(servlen);
while... | [
"zhaorj@neusoft.com"
] | zhaorj@neusoft.com |
0889cd75092b4916668534ca1c615548bbf09b88 | 27e639ac647a99782a606e7814284ec91f925e36 | /build_tmp_gcc/arm-linux-androideabi/libstdc++-v3/include/ext/pb_ds/detail/bin_search_tree_/node_iterators.hpp | 1eb93e25f4ec0a3072bc0987cffbc334c7b80e56 | [] | no_license | heliumfire/androux | 6c063802f841988bb90b76322514bb46b8e52559 | cbc1882f7841caef914f98711d9a78b9732bcc15 | refs/heads/master | 2021-01-02T22:38:29.582201 | 2015-01-12T09:51:28 | 2015-01-12T09:51:28 | 28,706,891 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 106 | hpp | /home/anushruth/exps/androux/gcc/libstdc++-v3/include/ext/pb_ds/detail/bin_search_tree_/node_iterators.hpp | [
"regnarts299792458@gmail.com"
] | regnarts299792458@gmail.com |
f34645b605a883ab8061d8812f4eaa2dc6cd5648 | b1697a5d8d1f480417f7c294f83e0d355b2ae0ad | /src/Zombie.h | a461d1a8eb7fe82748f1334823a383d284bcd316 | [] | no_license | jkh920184196/Qt-PlantsVsZombies | 385236057fae13380d88cded8c3ba309ca30184d | 5d0c2780ceaba82b7efc4ae31017cdbc786fdf5c | refs/heads/master | 2021-06-05T13:01:29.843994 | 2016-09-08T22:25:31 | 2016-09-08T22:25:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,253 | h | //
// Created by sun on 8/26/16.
//
#ifndef PLANTS_VS_ZOMBIES_ZOMBIE_H
#define PLANTS_VS_ZOMBIES_ZOMBIE_H
#include <QtCore>
#include <QtWidgets>
#include <QtMultimedia>
class MoviePixmapItem;
class GameScene;
class PlantInstance;
class Zombie
{
Q_DECLARE_TR_FUNCTIONS(Zombie)
public:
Zombie();
virtual ~... | [
"sunziping@gmail.com"
] | sunziping@gmail.com |
c56f1bd87e840a7d5fb8b931f2240d86049565db | 10aea50c07ae8a95f8409762520e8e51b11cd2ed | /Applications/HexEditor/main.cpp | 5f70b92b0bf8d578fa0e35469982120b124bf9e5 | [
"BSD-2-Clause"
] | permissive | Tristochi/serenity | ad199c5ac4eecc1a59c853155a5cef8b5032a2fe | d9385d7d6252dbd0f5882a43d4a6b328fce0daf0 | refs/heads/master | 2020-12-12T18:23:48.942610 | 2020-01-15T21:45:02 | 2020-01-15T22:14:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,057 | cpp | #include "HexEditorWidget.h"
#include <LibDraw/PNGLoader.h>
#include <stdio.h>
int main(int argc, char** argv)
{
if (pledge("stdio shared_buffer unix rpath cpath wpath fattr", nullptr) < 0) {
perror("pledge");
return 1;
}
GApplication app(argc, argv);
if (pledge("stdio shared_buffer r... | [
"awesomekling@gmail.com"
] | awesomekling@gmail.com |
b5f929512e136e9f06cec1c172169e8e4c86cde7 | 5ebd5cee801215bc3302fca26dbe534e6992c086 | /blazetest/src/mathtest/dvecdvecdiv/VDaV2b.cpp | fe1b15a3be61da736fb7d7ea34606f09199e1138 | [
"BSD-3-Clause"
] | permissive | mhochsteger/blaze | c66d8cf179deeab4f5bd692001cc917fe23e1811 | fd397e60717c4870d942055496d5b484beac9f1a | refs/heads/master | 2020-09-17T01:56:48.483627 | 2019-11-20T05:40:29 | 2019-11-20T05:41:35 | 223,951,030 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,759 | cpp | //=================================================================================================
/*!
// \file src/mathtest/dvecdvecdiv/VDaV2b.cpp
// \brief Source file for the VDaV2b dense vector/dense vector division math test
//
// Copyright (C) 2012-2019 Klaus Iglberger - All Rights Reserved
//
// This file i... | [
"klaus.iglberger@gmail.com"
] | klaus.iglberger@gmail.com |
7fb6c7c147e1b06091f4e8a05e2fbd29e99712b6 | fab5498a07621a3a1fe642aba754d3efeb582017 | /src/osg/wrappers/BufferData_wrap.cpp | 861b2742309d585c4c61da6fa36c74214e59ba10 | [
"MIT"
] | permissive | vuvk/osg_vala_wrapper | e0beb1cdde040a1ac0917be40cbab7c333a63bc9 | 1d764277926a745844f8f7a9e5e1fe46f128bed1 | refs/heads/master | 2022-10-08T16:58:42.617097 | 2020-06-09T03:47:43 | 2020-06-09T03:47:43 | 268,712,396 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 46 | cpp |
#include <osg/BufferObject>
extern "C"
{
} | [
"panknd@mail.ru"
] | panknd@mail.ru |
f07cbe87f92fe94281d2956c9b268ae7abaadcf1 | 8dc84558f0058d90dfc4955e905dab1b22d12c08 | /chrome/browser/safe_browsing/incident_reporting/last_download_finder.cc | 66d0c89897bd203a0b5f995d6d497cdf322253f5 | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause"
] | permissive | meniossin/src | 42a95cc6c4a9c71d43d62bc4311224ca1fd61e03 | 44f73f7e76119e5ab415d4593ac66485e65d700a | refs/heads/master | 2022-12-16T20:17:03.747113 | 2020-09-03T10:43:12 | 2020-09-03T10:43:12 | 263,710,168 | 1 | 0 | BSD-3-Clause | 2020-05-13T18:20:09 | 2020-05-13T18:20:08 | null | UTF-8 | C++ | false | false | 17,994 | cc | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/safe_browsing/incident_reporting/last_download_finder.h"
#include <stddef.h>
#include <stdint.h>
#include <algorithm>
#include ... | [
"arnaud@geometry.ee"
] | arnaud@geometry.ee |
bb8c2c1e0361eaaa1c92134152a49cf34e3d7a27 | 1d60b962456da3a0dcf8a5dbd82c72cf1be42521 | /include/fruit/impl/injector.defn.h | eb518896741963c5f904bfa46a11a54ab43de0e2 | [
"Apache-2.0"
] | permissive | txxia/fruit | 9ac02fa28823197697eae1fc6d1e3164f67886d7 | b645d155220b21d81b0080c4f2a0ed3985d40689 | refs/heads/master | 2021-01-01T20:36:02.085118 | 2017-07-30T20:55:52 | 2017-07-30T20:55:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,686 | h | /*
* Copyright 2014 Google Inc. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appli... | [
"poletti.marco@gmail.com"
] | poletti.marco@gmail.com |
4c1c4aac6be56c95836546f6f40ae7142da141ba | ca13b19679add6020a9b456bbd1b31bd58156f4f | /main.cc | 72dccdb846528dfbe384852d43f2d6f326e19ebb | [] | no_license | Lunderberg/lua-bindings | 08f6527ce48b15315977c3ebfb3a0c732f1f86af | 59de6723ccbab999724f097a6cdf020fdaacdc94 | refs/heads/master | 2021-07-06T08:14:22.043729 | 2021-04-10T03:02:31 | 2021-04-10T14:12:26 | 31,801,329 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 341 | cc | #include <iostream>
#include <string>
#include <tuple>
#include "lua-bindings/LuaState.hh"
int main(){
Lua::LuaState L;
L.LoadSafeLibs();
L.LoadString("a = {'one', 'two', 'three'} "
"for i,v in ipairs(a) do "
" print(i,v) "
"end ");
L.LoadString("print(os.time(... | [
"eldritch.cheese@gmail.com"
] | eldritch.cheese@gmail.com |
468aaed7255022f01b1f200cbb7f72a6473c6748 | 651cbae33f34feeb9b45931910c1ba83cb48ba69 | /SP3_Framework/App/Source/Scene2D/Bullets2D.cpp | be8f800c1cf9a5f5e22dab7bacce746263ce0c8f | [] | no_license | beatsmoon/SP3 | 0fa605a1fa16794a0f6eeb8a8d20185021cb3507 | 2abc6c9d3609544dda9888569f8714ee67d3ffa4 | refs/heads/master | 2022-12-03T08:10:01.618874 | 2020-08-20T04:52:26 | 2020-08-20T04:52:26 | 288,071,534 | 0 | 0 | null | 2020-08-19T09:05:29 | 2020-08-17T03:07:51 | C++ | UTF-8 | C++ | false | false | 11,370 | cpp | #include "Bullets2D.h"
#include <iostream>
using namespace std;
// Include GLEW
#include <GL/glew.h>
// Include ImageLoader
#include "System\ImageLoader.h"
// Include the Map2D as we will use it to check the player's movements and actions
#include "Map2D.h"
#include "Entity2DFactory.h"
CBullets2D::CBullets2D()
... | [
"54053886+beatsmoon@users.noreply.github.com"
] | 54053886+beatsmoon@users.noreply.github.com |
3529df8f8363115fb24802f3fd0705f170c09594 | ced1bc5e9b6035da5ff91b3ef4344faa45a477ea | /RE-flex-master/examples/ugrep.cpp | d5ab98850014c1071fb769a26eb8eb9ef38e3252 | [
"BSD-3-Clause"
] | permissive | WarlockD/BYOND_Compiler | 2892365967797b8abe4e05adf2ae0e755929a448 | 1fd2da9ed1465bbad42ad2fcc0592a308a735490 | refs/heads/master | 2020-06-13T05:36:45.687386 | 2019-12-22T14:16:51 | 2019-12-22T14:16:51 | 194,555,014 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 28,108 | cpp | /******************************************************************************\
* Copyright (c) 2019, Robert van Engelen, Genivia Inc. All rights reserved. *
* *
* Redistribution and use in source and binary forms, with or without ... | [
"warlockd@gmail.com"
] | warlockd@gmail.com |
3649143baa7fe96ae471256a32e09f90b857f001 | 3835370277ec24dd6135c4adfd5317dbc1d4ccc6 | /osgtoy/trunk/src/osgPlugins/simplifier/ReaderWriterSIMPLIFIER.cpp | 2d5854d0702801d390a74fbefb351afe56c572c3 | [
"BSD-3-Clause",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | rendergather/osgtoy | d1c9bd3bcb65e6c6bd31ecbad930131c3723b915 | d66fbffa134e8c1be43d9eee4b389c8376a31db1 | refs/heads/master | 2021-05-11T12:53:39.910986 | 2015-10-21T08:27:37 | 2015-10-21T08:27:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,176 | cpp | /* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2004 Robert Osfield
*
* This application is open source and may be redistributed and/or modified
* freely and without restriction, both in commericial and non commericial
* applications, as long as this copyright notice is maintained.
*
* This application is d... | [
"mew-cx@users.noreply.github.com"
] | mew-cx@users.noreply.github.com |
2c50b9660909344c0f3495d522ce9acfca846773 | 04b1abce39ba6c07bc3a9f57ce372041056a11c1 | /myGame/myGame/Object.h | 65b0354fe183a41020e9de3f1383c2b5f32bacd3 | [] | no_license | 890popbox/collision_test | a6e56d7f6e3649ae2e6e6c39570a769590eb3e6f | ea37bdafb7306af854363624ff883d61a91eb76f | refs/heads/master | 2022-12-12T04:56:31.358167 | 2020-09-05T03:53:24 | 2020-09-05T03:53:24 | 292,993,195 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 531 | h | #ifndef GAME_OBJECT
#define GAME_OBJECT
#include "../Engine/Graphics/Sprite.h"
#include "../Engine/Physics/Rigidbody.h"
#include "../Engine/Math/Rect.h"
class Object
{
public:
Object();
Object(Sprite _sprite);
void setGravity(int x);
void Update();
void Render();
void EndRender();
void straightenOb();
voi... | [
"890popbox@users.noreply.github.com"
] | 890popbox@users.noreply.github.com |
462547c1340dc9fc8d366a97d8ff6c559947ece2 | e81771cedd0ffaa2ebf62578828bbec2410dde05 | /CVSystem/PointCloud.h | edd84a3fe3d34b598c48fe9019401f8abb0b93e3 | [] | no_license | azer89/MangaVectorizer | a17b3c7f3579a0b0d434e94e6b194316af9804ed | e3c6e847d77b6d1f8214b60bc76a2699eca4e5c9 | refs/heads/master | 2021-06-05T19:51:44.028686 | 2016-10-05T16:30:51 | 2016-10-05T16:30:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,105 | h |
/**
* KD-Tree data
*
* Author: Reza Adhitya Saputra (reza.adhitya.saputra@gmail.com)
* Version: 2014
*
*/
#ifndef __Point_Cloud__
#define __Point_Cloud__
template <typename T>
struct PointCloud
{
struct Point
{
//// coordinate in 2D
T x;
T y;
//// Something 1
int info1... | [
"azer.darkblade@gmail.com"
] | azer.darkblade@gmail.com |
b4e880a507dbc2b1383dd552f69458ed362325c0 | dc25b23f8132469fd95cee14189672cebc06aa56 | /vendor/mediatek/proprietary/hardware/audio/common/V2/include/AudioMTKVolumeInterface.h | 4eb9cbe1b612587b3c2623f9a0f2c4074279e621 | [] | no_license | nofearnohappy/alps_mm | b407d3ab2ea9fa0a36d09333a2af480b42cfe65c | 9907611f8c2298fe4a45767df91276ec3118dd27 | refs/heads/master | 2020-04-23T08:46:58.421689 | 2019-03-28T21:19:33 | 2019-03-28T21:19:33 | 171,048,255 | 1 | 5 | null | 2020-03-08T03:49:37 | 2019-02-16T20:25:00 | Java | UTF-8 | C++ | false | false | 7,719 | h | #ifndef ANDROID_AUDIO_MTK_VOLUME_INTERFACE_H
#define ANDROID_AUDIO_MTK_VOLUME_INTERFACE_H
#include "AudioType.h"
#include <utils/Errors.h>
#include <utils/Vector.h>
#include <utils/String16.h>
#include <utils/String8.h>
//! AAudioMTKVolumeInterface interface
/*!
this class is hold for volume controlb base on mode ... | [
"fetpoh@mail.ru"
] | fetpoh@mail.ru |
753e0053d7359ba9ecba8e2fffeec7f78282e2c8 | 325d0ecf79bec8e3d630c26195da689ea5bb567e | /dynalib/include/dynalib/setup.h | cade0735aa07e771d553da7c061b7b1a62b55394 | [] | no_license | nvtienanh/Hitechlab_humanoid | ccaac64885967334f41a161f1684ff3a1571ab0f | 34c899f70af7390b9fbdb1a1ad03faf864a550be | refs/heads/master | 2020-04-22T10:34:21.944422 | 2016-08-28T06:02:00 | 2016-08-28T06:02:00 | 66,521,772 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 878 | h | //Setup specification for different robot configurations
//Author: Sebastian Schüller <schuell1@cs.uni-bonn.de>
#ifndef SETUP_H
#define SETUP_H
#include <vector>
#include <string>
#if YAML_NEW_API
#include <yaml-cpp/yaml.h>
#else
#include <yaml-cpp/node.h>
#include <yaml-cpp/iterator.h>
#endif
#include <dynalib/dev... | [
"nvtienanh@gmail.com"
] | nvtienanh@gmail.com |
40f52d72c7d72d5d1587d4bace78f684d161aea1 | cef8d1ddd7c64582b56458b0ebf3fb39423e3f67 | /source/grafica/transformations.cpp | 5575ee2c633ea26498e2812da921f5fda50e8ce7 | [
"MIT"
] | permissive | dantros/grafica_cpp | ecb9c093a7270933fe27bb6b018380c6bdff006f | 1ad0283295e79b755c546f50944f433c290b5c25 | refs/heads/dev | 2023-08-26T04:55:34.883134 | 2021-10-18T04:24:36 | 2021-10-18T04:24:36 | 356,721,014 | 1 | 5 | MIT | 2021-10-18T00:40:53 | 2021-04-10T23:27:32 | C++ | UTF-8 | C++ | false | false | 4,761 | cpp | /**
* @file transformations.cpp
* @brief Convenience transformation matrices written in 3D homogeneous coordinates (i.e. matrices shape is 4x4).
* Under the hood, Eigen matrices are used.
*
* @author Daniel Calderón
* @license MIT
*/
#include "transformations.h"
#include <cmath>
#include <numbers>
#incl... | [
"5720443-dacalderon@users.noreply.gitlab.com"
] | 5720443-dacalderon@users.noreply.gitlab.com |
c8116e8b2e9c51e845d09766118ea703a369a7b0 | e39a0354db4013d2a8aec4a4565cfb5f6443ae8f | /UVa/UVa10935 - Throwing cards away I.cpp | 0bb5baf19a150a0fb02ad482b886840bda97e377 | [] | no_license | YimingPan/UVa-Solution | 8afd41673ff3aeebcedbfbf379247af5e2a6eca4 | 92862dcfc49baed97ea72f4467f12f8d588a9010 | refs/heads/master | 2021-09-09T21:52:13.645907 | 2018-03-19T22:48:06 | 2018-03-19T22:48:06 | 116,416,034 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 713 | cpp | #include <cstdio>
#include <queue>
using namespace std;
int main()
{
int n; //n表示总卡片数
while(scanf("%d",&n), n)
{
queue<int> q; //开始时队列必须为空,故每次重建一个
for(int i=1;i<=n;i++) q.push(i);
printf("Discarded cards:");
for(int k=0;k<n-1;k++) //k表示丢弃的张数
{
if(k ==... | [
"yimingp@andrew.cmu.edu"
] | yimingp@andrew.cmu.edu |
d30173adaf607893db88b3630bf921c50443e5f1 | 2fff8954811530bccedfea42ccf731d8e5729b10 | /logger.h | 65225d3c875213a53e78bb52c8816cb8bb77bd20 | [] | no_license | ChernovKirill/ImportTreeFromCSV2DB | 66fbac01afea6727fd93e0ea7b29613fe48a5f6e | 2eedb017a03d345dc94cc767569301d2f409aa3f | refs/heads/master | 2020-01-23T21:31:00.324154 | 2016-11-24T20:02:41 | 2016-11-24T20:02:41 | 74,700,775 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,309 | h | #ifndef LOGGER_H
#define LOGGER_H
#include <QFile>
#include <QTextStream>
#include <cstdio>
#include <cstdlib>
#include <ctime>
#include <QCoreApplication>
#include <iostream>
Q_LOGGING_CATEGORY(cSettings,"Settings")
Q_LOGGING_CATEGORY(cInputCmd,"Input.CMD")
Q_LOGGING_CATEGORY(cInputFile,"Input.File")
Q_LOGGING_CAT... | [
"noreply@github.com"
] | ChernovKirill.noreply@github.com |
69d6cd79654712831af753fe4a65a1b0ad756a62 | f43bc90509568df9fe23e902bca0402292b0785e | /tensorflow/compiler/xla/service/gpu/buffer_allocations.cc | 20d428576633a1438e1ec0b00edf40f40b2d82f7 | [
"Apache-2.0"
] | permissive | haoyan01/tensorflow | cd76e6e7b142968d3eb5fb564242eef05a01f7c5 | f2508547d57d376ff1d3f58b27e34fddd8e8abbc | refs/heads/master | 2020-03-24T05:52:28.648913 | 2018-10-04T14:47:37 | 2018-10-04T14:47:37 | 142,506,007 | 0 | 0 | null | 2018-07-26T23:55:35 | 2018-07-26T23:55:34 | null | UTF-8 | C++ | false | false | 8,674 | cc | /* Copyright 2017 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 |
4b9def7262b1b4f3f69f18f43f3082a39c54bd1f | 30773b649ebd89ffadd16d30fd62740b77ca7865 | /SDK/Title_MA_07_MerchantCommander_classes.h | 42f97e5aeacb22ec3e0cc608304e91c3bd95813c | [] | no_license | The-Jani/Sot-SDK | 7f2772fb5df421e02b8fec237248af407cb2540b | 2a158a461c697cca8db67aa28ffe3e43677dcf11 | refs/heads/main | 2023-07-09T07:17:56.972569 | 2021-08-18T23:45:06 | 2021-08-18T23:45:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 782 | h | #pragma once
// Name: S, Version: 2.2.1
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Classes
//----------------------------------------------------------------... | [
"ploszjanos9844@gmail.com"
] | ploszjanos9844@gmail.com |
6f8a7e56bd4949fd7c0354fd886abdc42cd45df5 | 4ed7dd878a2b34bace1fd91a49106eebe570a360 | /CodeChef/JUNE14/FORGETPW.cpp | dd53336345d2fa2a9a0593474ec4ba16438960ad | [] | no_license | mayukuner/AC | fb63be04a1fcf7f3af080aa50bf7c6e0e070b1b9 | c21b2970b7288d7b36cbed468101446c615e79ff | refs/heads/master | 2020-12-15T02:38:51.758676 | 2017-10-11T13:01:11 | 2017-10-11T13:01:11 | 46,971,415 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,193 | cpp | #include<stdio.h>
#include<algorithm>
#include<cstring>
#include<vector>
#include<map>
#include<set>
#define REP(i,n) for(int i=0; i<n; i++)
#define FOR(i,n) for(int i=1; i<=n; i++)
using namespace std;
int n,m;
char s1[5],s2[5],str[1000010],change[256];
int main(){
#ifdef QWERTIER
freopen("in","r",stdin);
#endif
... | [
"gmayukun@gmail.com"
] | gmayukun@gmail.com |
796517e802805820209ab9b07cc971e529e0bad8 | 4ed8364da72396ee833c106eb0fae2beaecdf777 | /app/panda/config/panda/codegen/cpp/template/foo.h | ec8431245c2ad718367980df956b4b5a34c1d34f | [] | no_license | SSSSSolution/my_lib | ea9d2f7c4bd7896df3762484a063684d3a9b6b93 | 26fb2f933efcc06888164e23ee7036cb11315180 | refs/heads/main | 2023-03-01T20:25:37.881756 | 2021-02-06T14:50:13 | 2021-02-06T14:50:13 | 313,587,300 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 530 | h | $[head]#ifndef ${HEAD_DEFINE}_H
#define ${HEAD_DEFINE}_H
$[/head]#endif //${HEAD_DEFINE}_H
$[namespace]${NAME_SPACE} {
$[/namespace]}
$[class]class ${CLASS_NAME} {
public:
$[c]${CLASS_NAME}();
$[d]~${CLASS_NAME}();
$[vd]virtual ~${CLASS_NAME}();
$[cc]${CLASS_NAME}(const ${CLASS_NAM... | [
"wei.huang2@dorabot.com"
] | wei.huang2@dorabot.com |
ecb9b5c98cfcba967a52af8e12c8771a5ae20472 | 7993f562d912c37c8d419622793d732c567df8d2 | /adseebooklist.cpp | 74565a6a05a47287316ae727a26d36beeddc44ff | [] | no_license | tazbid/OnlineBookStore | e71fc2dd148d52fc69f7470d2a5e66af09666f4b | 56f0a3d701be2f25099c8e37a005e1de71548cca | refs/heads/master | 2022-09-16T16:50:37.386849 | 2020-06-01T07:12:38 | 2020-06-01T07:12:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 323 | cpp | #include "adseebooklist.h"
#include "ui_adseebooklist.h"
adseebooklist::adseebooklist(QWidget *parent) :
QDialog(parent),
ui(new Ui::adseebooklist)
{
ui->setupUi(this);
this->setWindowTitle("Book List");
this->setWindowState(Qt::WindowMaximized);
}
adseebooklist::~adseebooklist()
{
delete ui;... | [
"tazbidhossain@gmail.com"
] | tazbidhossain@gmail.com |
1c53c4543c650b23552336f981d01a23c4551306 | f98a342cf3e30ef1ae810f1df6550ee7ed154ec7 | /SpriteNode.cpp | 4448a15d45ac45bcb23621c1829b5c0b7a13c520 | [] | no_license | nivuckovic/pokemon-clone | d683152028d8e1f8c4f5ea9913308fd8e0701d3e | 677a105d2c325f85d8ea3004e4c7859709a6b912 | refs/heads/master | 2022-01-24T19:06:20.943809 | 2022-01-10T10:18:47 | 2022-01-10T10:18:47 | 198,922,373 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 362 | cpp | #include "SpriteNode.h"
SpriteNode::SpriteNode(const sf::Texture & texture) : m_sprite(texture)
{
}
SpriteNode::SpriteNode(const sf::Texture & texture, const sf::IntRect & textureRect) : m_sprite(texture, textureRect)
{
}
void SpriteNode::drawCurrent(sf::RenderTarget & target, sf::RenderStates states) cons... | [
"noreply@github.com"
] | nivuckovic.noreply@github.com |
f8b231adfba334ab55178af683900d097e61b854 | 449977fc135fd708ffa9b2dedb15873c0bbdf775 | /sp/SctpSocket/SctpSocket/SctpSocketAsyncResult.h | aba16a9df0d6187e2ab68afe35975c7c67e72990 | [
"BSD-3-Clause"
] | permissive | yang123vc/sctpdrv | 8d38f590e214591a72b887b338b046c0e9300c1a | 30732e4750e2b6e8643d9406b6055d888269dda6 | refs/heads/master | 2020-07-02T14:41:28.933329 | 2013-01-09T17:40:06 | 2013-01-09T17:40:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,618 | h | /*
* Copyright (c) 2010 Bruce Cran.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of ... | [
"devnull@localhost"
] | devnull@localhost |
3ad020711b70882836f665f842cb4543fb747eb1 | 59e1182083d840e8558e1aa015f0440e92ac2310 | /ContainerSet.h | 0e9bf113833daccbcc0ead1ab32697944b4e2c9a | [] | no_license | kamil-nowowiejski/Chralie-Game | e5220ac940bb59574a412a645f78a41225305b0e | 19c73331f894255954ca75fa7f2a1b486d028260 | refs/heads/master | 2021-06-01T00:14:32.831561 | 2016-05-19T05:46:03 | 2016-05-19T05:46:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 357 | h | #pragma once
#include <SFML\Graphics.hpp>
#include <vector>
#include "Container.h"
using namespace std;
class ContainerSet
{
private:
vector<Container*> c_containerSet;
Texture *pc_containerTex;
public:
ContainerSet();
~ContainerSet();
int iCollect(Collider &c_object);
void vSpawnContainer();
vo... | [
"kamel6368@gmail.com"
] | kamel6368@gmail.com |
6850521cc337482e260b914d20bc80c016933f00 | e62fdfd7a2e892d5f1d6d5baf70ee04de20340bb | /Windows/Mailslot/Client/Client.cpp | e4d1d5327c4b35f8dbd6553fb2eda62f1d836e09 | [] | no_license | Otteri/cpp-examples | 5537c702408369c8ee4dbad3ae2cbc9ee0ee9882 | bf86b999dc1a5a650c56b1be266e20c7954b3d90 | refs/heads/master | 2020-07-26T01:12:32.586013 | 2019-10-06T23:51:29 | 2019-10-06T23:51:29 | 208,482,718 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,362 | cpp | // Creating and writing mailslot example
#include <windows.h>
#include <stdio.h>
#include <iostream>
LPCTSTR SlotName = TEXT("\\\\.\\mailslot\\example_mailslot");
BOOL WriteSlot(HANDLE hSlot, LPCTSTR lpszMessage) {
BOOL fResult;
DWORD cbWritten;
fResult = WriteFile(hSlot, lpszMessage, (DWORD)(lstrlen(lps... | [
"airakjo@gmail.com"
] | airakjo@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.