blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 905
values | visit_date timestamp[us]date 2015-08-09 11:21:18 2023-09-06 10:45:07 | revision_date timestamp[us]date 1997-09-14 05:04:47 2023-09-17 19:19:19 | committer_date timestamp[us]date 1997-09-14 05:04:47 2023-09-06 06:22:19 | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 22
values | gha_event_created_at timestamp[us]date 2012-06-07 00:51:45 2023-09-14 21:58:39 ⌀ | gha_created_at timestamp[us]date 2008-03-27 23:40:48 2023-08-21 23:17:38 ⌀ | gha_language stringclasses 141
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 115
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
86a13eb32ffd0731ce88cf101341d1b43077a23d | 5fa0fd36726adb60c5f7099596732123a7e66ffa | /GSGameLib/gsgamelib/src/GLWin32ViewportWindowBinder.cpp | 552d468f0be4d5c6160b46cb2d1b782b16432071 | [
"MIT"
] | permissive | amaiorano/TheTetrisMaster | 47b9d12260cb75444b9ec97f156fba3d6b7a58d6 | 30c0491a193bf9e93c36c3ffaeafab60c80b34af | refs/heads/master | 2021-01-19T08:56:08.541036 | 2016-11-24T03:44:41 | 2016-11-24T03:44:41 | 22,703,225 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,855 | cpp | #include "GLWin32ViewportWindowBinder.h"
#include <stdexcept>
// Include platform-specific stuff
#include "GLRenderer.h"
#ifdef _WIN32
#include "Win32Window.h"
#else
#error No implementation for current platform
#endif
namespace // Anonymous, private to this CPP
{
HDC g_hDC = NULL;
HGLRC g_hRC = NULL;
}
void GLW... | [
"amaiorano@gmail.com"
] | amaiorano@gmail.com |
20bf687cb15c5308bf0f23e3d1eb22578ae13594 | e6e69e8d6794f409398af2cefed7092fed4691ca | /计算机与软件学院/面向对象程序设计/代码库/期末模拟/金属加工(期末模拟).cpp | c7328e8946c79624c6ef879ec9a9a51c446ee126 | [] | no_license | LKHUUU/SZU_Learning_Resource | 1faca5fcaf0431adb64da031dde4fe47abcdc6ba | 88f121f275a57fc48f395bb73377e6f6e22d7529 | refs/heads/main | 2023-08-30T06:31:24.414351 | 2021-10-22T13:53:40 | 2021-10-22T13:53:40 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,081 | cpp | #include<iostream>
using namespace std;
class Metal {
private:
int hardness, weight, volume;
public:
Metal(int h = 0, int w = 0, int v = 0) :hardness(h), weight(w), volume(v) {};
Metal operator +(const Metal& obj) {
Metal temp = *this;
temp.hardness = hardness + obj.hardness;
temp.weight = weight + obj.weight... | [
"939826879@qq.com"
] | 939826879@qq.com |
052a0123999c671a617c46de0edcf03378411519 | 0449341390b46b7be72666b70ad26789b9b82664 | /Source/Aegis/Core/GameplayEffects/AegisGameplayEffectTargets.cpp | 6f8d8cc68e370b88ed49e3cad89335988a940c0d | [] | no_license | TheRPGamer/Aegis | 701fa3bd5e579192a0fac22cbd1891b30ffd0813 | 9376e56137d16474b499ba6bc38fb73ec7995064 | refs/heads/master | 2020-12-30T15:22:50.223803 | 2018-03-26T07:57:15 | 2018-03-26T07:57:15 | 94,951,346 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 185 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "Aegis.h"
#include "AegisGameplayEffectTargets.h"
#include "Core/Characters/AegisCharacter.h"
| [
"huang_lihao@me.com"
] | huang_lihao@me.com |
7cafadedfe5acc1577b132e44e0e1be9be1746f9 | 8b1cebdad05f272774798b0f4bc73ed2cf1018ab | /court/court/Include/libHPBaseclass/AVDataBuffer.h | e53cd1b0f2ec49d7bd88d4811d793f842efcf1be | [] | no_license | 15831944/slefConference | 0e92e52a36c065d123f4fe74d0dee96cde8b7023 | 24294a3926ef7871fd2aaa6995b1679fe16bee87 | refs/heads/master | 2023-03-21T14:04:46.769603 | 2015-03-11T02:09:04 | 2015-03-11T02:09:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 512 | h | // AVDataBuffer.h: interface for the UDPPacket class.
//
//////////////////////////////////////////////////////////////////////
#ifndef __AVDATABUFFER_H__
#define __AVDATABUFFER_H__
class AFX_EXT_CLASS AVDataBuffer
{
public:
AVDataBuffer(int nExtraLen=0);
virtual ~AVDataBuffer(void);
public:
bool StoreData(char*... | [
"netdisk2010@126.com"
] | netdisk2010@126.com |
e865e650e0f4656af7f381fd33d5410b33ab3f30 | a6d4b93a9d82d6addb4687e09152b7ccd016364f | /src/FaceConf.h | 845c373b0c42e474f4025d78712d13fe63bea5e7 | [] | no_license | yedong113/FaceService | 14a042b9f4a771f3f97989bb0dca96f44f010775 | ae332178bdc6121d4e6460ebc650eb8acdd4fa75 | refs/heads/master | 2021-01-22T18:43:47.528273 | 2017-08-21T01:07:29 | 2017-08-21T01:07:29 | 100,770,450 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,345 | h | //
// Created by yedong on 8/19/17.
//
#ifndef FACESERVICE_FACECONF_H
#define FACESERVICE_FACECONF_H
#include <string>
using namespace std;
#include "UserInclude.h"
#include "config.h"
class FaceConf {
public:
FaceConf();
~FaceConf(){}
public:
void loadFaceConf(ConfigPtr ptr);
public:
std::strin... | [
"yedong113@163.com"
] | yedong113@163.com |
b93b2d031676019302858014e82a7a46ffece438 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5744014401732608_1/C++/Butternut/main.cpp | 1da4a4cd88c811a20e9009034ab960abdb774539 | [] | 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,745 | cpp | // Author: Charles AUGUSTE
#include <iostream>
#include <fstream>
#include <math.h>
#include <sstream>
#include <stdlib.h>
#include <vector>
#include <Imagine/LinAlg.h>
using namespace std;
using namespace Imagine;
int main(){
int T;
cin >> T;
for (int compt=1; compt<T+1; ++compt){
... | [
"alexandra1.back@gmail.com"
] | alexandra1.back@gmail.com |
0572e9ba1edb831d08fa74677930cd5dc8820c5b | 5db7b37c0f02369c1d45413153c15c01c66cc6da | /Codeforces/689-Div2/C.cpp | 66b88ce5c6504ea0c89f92d344ca8110a1f2d5bf | [] | no_license | yxt7979/2021_Winter_Practise | a7e59c76fb62a23ab72bdf125eaa6e4fd89d94d0 | 30de42c56402e71213e8539c32c749d12e524ddc | refs/heads/main | 2023-06-17T08:12:46.602699 | 2021-07-17T10:59:08 | 2021-07-17T10:59:08 | 326,302,912 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 738 | cpp | #include <bits/stdc++.h>
using namespace std;
const int MaxSize = 1e5 + 5;
int a[MaxSize];
int b[MaxSize];
int main()
{
int t;
scanf("%d",&t);
while(t--){
int n,m;
scanf("%d%d",&n,&m);
for(int i = 1;i <= n;i++) {
scanf("%d",&a[i]);
b[i] = a[i];
}
int check = -1;
sort(b+1,b + n+1);
for(int i = n... | [
"3225155810@qq.com"
] | 3225155810@qq.com |
b6249a3cf81f817f930ddb23db9e843700d7c389 | e3efeecb91e68b68bbd9204995cd48f825a7579e | /src/geometries/grid.hpp | 772d981de796b07be5e68708d22c221eb2c974f8 | [
"Apache-2.0"
] | permissive | simonraschke/vesicle | 663477b21c8ef10948c78f60e927a6e31ff36b5b | 3b9b5529c3f36bdeff84596bc59509781b103ead | refs/heads/master | 2021-10-09T23:47:45.340471 | 2018-12-18T12:46:22 | 2018-12-18T12:46:22 | 110,877,447 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,175 | hpp | /*
* Copyright 2017-2018 Simon Raschke
*
* 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 o... | [
"simon.raschke@outlook.de"
] | simon.raschke@outlook.de |
bca9fe9c86fc150311571a2d2eb6c179e53a2c91 | dc1dabd280b6184c3876f9678eae31a7f64a7295 | /book_management_system/mainwindow.cpp | 17ee6c8f7d4bedee484a25aaaf1fb20d821094e3 | [] | no_license | PurslaneQAQ/Book-management | 795149958029d8b1e10d4838344b24d251244afc | a2331d14093f3c48cb31f16c03d78231611295c7 | refs/heads/master | 2020-03-18T23:19:08.426001 | 2018-05-30T06:10:49 | 2018-05-30T06:10:49 | 135,395,827 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,208 | cpp | #include "mainwindow.h"
#include <QApplication>
#include <QDesktopWidget>
#include <QMessageBox>
#include "bms.h"
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
search_page_w(NULL),
card_w(NULL),
br_w(NULL),
add_book_w(NULL)
{
setWindowTitle("Library");
setGeometry(QRect((Q... | [
"1059109666@qq.com"
] | 1059109666@qq.com |
82291429f9d1cf5fc8f7a1d0e46fcf582bf4b049 | d47bf5d1006d12929ff8167e477aafa998730ab3 | /opm/parser/eclipse/Parser/ParseMode.hpp | 66222938e362b89b98ec360dff87727426d93742 | [] | no_license | statoil-travis/opm-parser | 31a6cfd1f848812482720aea23cf5f4fefc2ed33 | 4c938c9473ceb0237f94c8c4afff53c79eb73bed | refs/heads/master | 2020-12-27T08:57:02.133125 | 2015-12-14T10:33:16 | 2015-12-14T10:33:16 | 47,976,040 | 0 | 0 | null | 2015-12-14T13:15:13 | 2015-12-14T13:15:12 | null | UTF-8 | C++ | false | false | 7,895 | hpp | /*
Copyright 2015 Statoil ASA.
This file is part of the Open Porous Media project (OPM).
OPM 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 3 of the License, or
(at your option) any l... | [
"joakim.hove@gmail.com"
] | joakim.hove@gmail.com |
3cfd1aa97d39d9759d567f7572084ce902d643a2 | 59bc6aad6f3f5a9291e48557a26f686e81339333 | /src/chainparams.cpp | 1827b0958c6c0483898e6f0420aae176259cd05f | [
"MIT"
] | permissive | boyroywax/boxy-badcoin | 9bf8a6397b71de1c04a43dfdbd28bc6d96583152 | 73a83b9976770ca0d9c3967ee79e41c706521467 | refs/heads/master | 2023-02-24T06:20:24.609914 | 2021-01-25T23:17:13 | 2021-01-25T23:17:13 | 332,896,772 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,281 | cpp | // Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2017 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <chainparams.h>
#include <consensus/merkle.h>
#include <primitives/pureheader... | [
"jmsdevln@gmail.com"
] | jmsdevln@gmail.com |
ef83eca4daf5c95072d244f86ff53c76fc6c5d03 | 1e02ed3f3369d36379be725a6b4cec6b155e97c9 | /newTypeRegister/main.cpp | 2a9e1a0ad39780c6411a276358acbf1cad78381f | [] | no_license | dormon/prj | 0f803287f316606ff4e0f475930a6f9e7a6b3bb9 | 7ab62eedccd8153ac905fc27f74adcaf634771c7 | refs/heads/master | 2023-08-04T04:23:12.785661 | 2023-07-20T23:19:45 | 2023-07-20T23:19:45 | 89,816,202 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,276 | cpp | #include<iostream>
#include<memory>
#include<set>
#include<vector>
#include<map>
#include<cstring>
#include<geDE/TypeRegister.h>
class StrangeClass{
public:
StrangeClass(){
std::cout<<"StrangeClass::StrangeClass()"<<std::endl;
}
~StrangeClass(){
std::cout<<"StrangeClass::~StrangeClass()"<<st... | [
"imilet@fit.vutbr.cz"
] | imilet@fit.vutbr.cz |
f7745b1fc0297047c82d608e825bfd830d6d196c | cb4f6a934ce41e94ba73adba4a38771c2bfbcaf0 | /perspective_projection/perspective_projection.cpp | afecd51be9857ec576aad7c9b7637d2fb1aed6dc | [] | no_license | cannontwo/opengl_learning | 4f5c3881282e2a9752fbb333af31bdaf91ef0480 | b8f722c7590618fff0d7f9628f846d89677e7c75 | refs/heads/master | 2020-06-17T21:23:01.305773 | 2019-07-21T22:28:55 | 2019-07-21T22:28:55 | 196,059,115 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,138 | cpp | #include <GL/glew.h>
#include <GL/glut.h>
#include <stdlib.h>
#include <iostream>
#include <opengl_learning/Angel.h>
const int NumVertices = 36;
vec4 quad_colors[NumVertices];
vec4 points[NumVertices];
// Viewing transformation parameters
GLfloat radius = 1.0;
GLfloat theta = 0.0;
GLfloat phi = 0.0;
const GLfloat ... | [
"cannon10100@gmail.com"
] | cannon10100@gmail.com |
a1828325613ecab4124039fd2401f06007f91add | ddce82b1d34fb613d0fa251d4aed93ce232703df | /src/measures/localMeasures/NodeDensity.hpp | 996a2e8f19ac68cacd4896395c8e3f0ab974680b | [] | no_license | waynebhayes/SANA | 64906c7a7761a07085e2112a0685fa9fbe7313e6 | 458cbc5e83d0541717184a5ff0930d7003c3e3ef | refs/heads/SANA2 | 2023-08-21T20:25:47.376666 | 2023-08-10T19:54:57 | 2023-08-10T19:54:57 | 86,848,250 | 20 | 99 | null | 2023-03-07T19:43:10 | 2017-03-31T18:21:01 | Game Maker Language | UTF-8 | C++ | false | false | 598 | hpp | #ifndef NODEDENSITY_HPP
#define NODEDENSITY_HPP
#include "LocalMeasure.hpp"
class NodeDensity: public LocalMeasure {
public:
NodeDensity(const Graph* G1, const Graph* G2, uint maxDist);
virtual ~NodeDensity();
private:
void initSimMatrix();
float compare(double n1, double n2);
double calcNodeDensit... | [
"whayes@uci.edu"
] | whayes@uci.edu |
9baf157067280fb8a3582c380d26375516cc8543 | ddcb600946aec1654edef1aa23ed887deaf0089e | /pointTraits.cpp | 261c92ed59bc59563b12f0e23046d3c2b34bbf00 | [] | no_license | snail-dev/snail | 82d64f192daef3841151ec2df5b1d389fc721141 | 3ede57bed901313323c6da3986464dd35594c281 | refs/heads/master | 2021-02-04T14:48:11.270538 | 2020-03-11T06:58:59 | 2020-03-11T06:58:59 | 243,677,024 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,562 | cpp | #include <iostream>
#include <type_traits>
typedef struct {}A,*pA;
struct B {
static int isb;
int ib;
static void sf(){}
void f(){}
};
int B::isb = 0;
int main() {
static int a = 5;
int* pa = &a;
B b;
int B::*pBa = &B::ib;
int *pBsa = &(B::isb);
void(B::*pBf)() = &B::f;
void(*pBsf)() = &B::sf;
... | [
"jfmcs_0211@126.com"
] | jfmcs_0211@126.com |
be6dd0c3531279dd64782ede4fb1844693d9841a | 30114f6730aac693971d826f58e46f6d158e6957 | /MFC/ole/oclient/mainview.cpp | aea153ae59a596f1347e7585ce2ebfdeae8bf586 | [] | no_license | oudream/vc_example_official | 67111751a416df93cdc4b9f1048d93f482819992 | 8075deebd4755b2a7531a8f918c19ad2e82e2b23 | refs/heads/master | 2020-06-14T08:00:01.267447 | 2019-07-03T01:03:59 | 2019-07-03T01:03:59 | 194,953,887 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 33,337 | cpp | // mainview.cpp : implementation of the CMainView class
//
// This is a part of the Microsoft Foundation Classes C++ library.
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// This source code is only intended as a supplement to the
// Microsoft Foundation Classes Reference and related
// elect... | [
"oudream@126.com"
] | oudream@126.com |
b3a885fe94f34eae6d457b5bbbc76a8a1c7d8167 | a72de7fa3aeae7526bb4f623484e5a47c1b5a075 | /include/Image.h | 167daf039b2fe55a3fae66078d2d9cba91a45004 | [
"MIT"
] | permissive | young1205/shapelens | a8acdb019f2d23b18f8ccec5536ab47489587e0b | 2d9ed21faeb9903486db65ebfe4f4af2849b9696 | refs/heads/master | 2021-01-18T14:14:41.235694 | 2012-11-21T22:02:27 | 2012-11-21T22:02:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,758 | h | #ifndef SHAPELENS_IMAGE_H
#define SHAPELENS_IMAGE_H
#include <fitsio.h>
#include <string>
#include "ShapeLens.h"
#include "History.h"
#include "FITS.h"
#include "Grid.h"
namespace shapelens {
/// Class for image data.
/// Internally, the class represents image data as a vector, but the
/// interface enables t... | [
"peter.m.melchior@gmail.com"
] | peter.m.melchior@gmail.com |
7d35f199b1c26bd74b9f60028cfe87a62c360fbd | 41f2f6c4efa14a418a2360d8d761fd8a412ca52e | /cscommon_commbat/RpcCoder/DramaOut/CPP/DramaModule/DramaModuleV1Data.h | 5e146741768e38faa4a90b26ca6bb3f2a5f4405e | [] | no_license | wanggan768q/csommon | 57ec57a489a699ea2dc209b281faf011f9e35d94 | 8b1e4bd62e02fd20c4cd65d409989a37dbff8091 | refs/heads/master | 2023-01-11T08:13:08.266805 | 2022-02-28T09:31:57 | 2022-02-28T09:31:57 | 107,096,090 | 1 | 1 | null | 2022-12-26T19:45:41 | 2017-10-16T07:57:02 | C# | UTF-8 | C++ | false | false | 762 | h | #ifndef __SYNC_DATA_DRAMAMODULE_V1_H
#define __SYNC_DATA_DRAMAMODULE_V1_H
#include "BASE.h"
#include "ModuleDataInterface.h"
#include "ModuleDataClassFactory.h"
#include "MsgStreamMgr.h"
#include "DramaModuleV1DataWraper.h"
//同步数据相关枚举量定义
enum DramaModuleSyncDataItemIdE
{
};
//主同步数据操作类
class SyncDataDramaModuleV... | [
"ambitiongxb@foxmail.com"
] | ambitiongxb@foxmail.com |
7e6fa68ad8b8ed3e5d44f2ebb817a36ddb01135c | 477c8309420eb102b8073ce067d8df0afc5a79b1 | /VTK/Imaging/vtkImageResliceToColors.cxx | f9ada5b9d33d81c6f9a16be915b5cf42815efb37 | [
"LicenseRef-scancode-paraview-1.2",
"BSD-3-Clause"
] | permissive | aashish24/paraview-climate-3.11.1 | e0058124e9492b7adfcb70fa2a8c96419297fbe6 | c8ea429f56c10059dfa4450238b8f5bac3208d3a | refs/heads/uvcdat-master | 2021-07-03T11:16:20.129505 | 2013-05-10T13:14:30 | 2013-05-10T13:14:30 | 4,238,077 | 1 | 0 | NOASSERTION | 2020-10-12T21:28:23 | 2012-05-06T02:32:44 | C++ | UTF-8 | C++ | false | false | 4,937 | cxx | /*=========================================================================
Program: Visualization Toolkit
Module: vtkImageResliceToColors.cxx
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This s... | [
"aashish.chaudhary@kitware.com"
] | aashish.chaudhary@kitware.com |
a783ea390f58ffb6b9d4ff5f4a73f4ec9d751d42 | 9b882c3dfaa41e62b15fb635599ef6780f2c8379 | /weblayer/browser/tab_impl.cc | d0374ac8c17e49bb8dfb58982394d214ee79a778 | [
"BSD-3-Clause"
] | permissive | cqtangsong/chromium | 1e042e2f49d9cb194790674805afcc1308a08f81 | e73c1f260913f418bf5886b996b02dae372cfffa | refs/heads/master | 2023-01-14T07:34:05.166609 | 2020-03-12T03:07:32 | 2020-03-12T03:07:32 | 246,735,752 | 2 | 0 | BSD-3-Clause | 2020-03-12T03:32:44 | 2020-03-12T03:32:43 | null | UTF-8 | C++ | false | false | 25,650 | cc | // Copyright 2019 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 "weblayer/browser/tab_impl.h"
#include "base/auto_reset.h"
#include "base/feature_list.h"
#include "base/guid.h"
#include "base/logging.h"
#incl... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
f3421839eff8eeb03174a1e56a1f36870e2205c3 | 4bf5adc8e87e17a1c3ee5bf6473ef1a33d742c8e | /Binary_Search_tree/src/Node.cpp | 533e99f768530f265098593e07871c8a9ce0dfde | [] | no_license | HusseinOkasha/Studying-Data-structures | b657e1be0ab4fce1f4814ac8cb33db372216fa5a | 427b53621be2dc6ccc0d4828b571a4bf407a31d4 | refs/heads/master | 2021-12-09T16:28:18.190274 | 2021-12-04T17:01:39 | 2021-12-04T17:01:39 | 247,663,895 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 325 | cpp | /*
* Node.cpp
*
* Created on: Mar 31, 2020
* Author: Hussein okasha
*/
#include "Node.h"
#include <iostream>
using namespace std;
Node::Node() {
left=nullptr;
right=nullptr;
data=0;
}
Node::Node(int data):data{data}{
left=nullptr;
right=nullptr;
}
Node::~Node() {
// TODO Auto-generated destructor stu... | [
"husseinokasha13@gmail.com"
] | husseinokasha13@gmail.com |
7f48bcb2bb26d61251ed25ddf2d1ed1761ea82db | be5969bcd7e5966eb91e681c0adb380b02782df0 | /util/test_utils.cc | 76ead5411cd700011ea0ded721e986e58aac65d6 | [] | no_license | PlatformLab/HomaModule | 37b8ef3f8061d77f14a883863d9e7c26bca4db01 | 1c3346972c00824c6422ec23ba3c40c87b6e5c76 | refs/heads/main | 2023-09-04T07:31:04.853984 | 2023-08-22T03:36:13 | 2023-08-22T03:36:13 | 139,636,077 | 151 | 34 | null | 2023-09-08T14:30:20 | 2018-07-03T20:54:09 | C | UTF-8 | C++ | false | false | 9,178 | cc | /* Copyright (c) 2019-2023 Stanford University
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTH... | [
"ouster@cs.stanford.edu"
] | ouster@cs.stanford.edu |
d27d691caf750775ab0f0a2eba999ece590bf717 | 987f22169b268100e437bd6ee51d990dcc7ffa54 | /Matrices C++/11.cpp | 6d30889cba79691f44869e515d372a68bc983bb7 | [] | no_license | JhonSnakee/ejerciciosC- | 5ad16fda6803a5fa3356e16ed9c43e30426d8aad | 02d5b15d1f0ddc734484293ab3d03727de9565e2 | refs/heads/master | 2023-01-07T07:31:20.988658 | 2020-11-06T00:12:21 | 2020-11-06T00:12:21 | 310,447,924 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 796 | cpp | //M11. Leer una matriz 5x3 entera y determinar en qué columna está el menor número par.
//Jhon Murillo Ficha: 1752634
#include<iostream>
#include<cstdlib>
using namespace std;
int main ()
{
int(cls);
int f, c, NM, FM, CM;
int M[5][3];
cout<<("Digite 15 numeros enteros.")<<endl;
for(int f=0;f<=4;f+=1)
{
for(int... | [
"jhonalejandro2020@gmail.com"
] | jhonalejandro2020@gmail.com |
1fc0feb6a5d58d6b74913bdc3fedbb62d20035b3 | 8290d8d8306a1686bbc2d06408cad9676ce1d078 | /src/Telemetry.h | ea31efb62c17887ff162fd6aca97ad0a25fd3b06 | [] | no_license | alexander-stadnikov/Highway-Driving | 7f9cc95a672c56303a7207cba011f711668ed942 | 4cf959131ec9aa6ac2a2c5dcce514f283e58bc63 | refs/heads/main | 2023-03-18T13:51:17.782266 | 2021-03-13T13:35:05 | 2021-03-13T13:35:05 | 344,816,894 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 260 | h | #pragma once
#include "Cartesian2D.h"
#include "Frenet2D.h"
#include "Path.h"
namespace udacity
{
struct Telemetry
{
Cartesian2D cartesian;
Frenet2D frenet;
double yaw;
double speed;
Path previousPath;
};
} | [
"alexander.stadnikov@gmail.com"
] | alexander.stadnikov@gmail.com |
f00169bfa8d67f54d4f87290001afb385ffa8d45 | 9324cb559c509753d3a2f6467ccb6616de58af05 | /fboss/agent/hw/test/dataplane_tests/HwRouteOverDifferentAddressFamilyNhopTests.cpp | 945f0290919cf0621043d462b30c6c3bd9159e76 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | rsunkad/fboss | 4b39eefa3851bd9e415403d28a28290838dea22f | 760255f88fdaeb7f12d092a41362acf1e9a45bbb | refs/heads/main | 2023-07-24T10:39:48.865411 | 2021-09-08T18:58:30 | 2021-09-08T18:59:40 | 404,465,680 | 0 | 0 | NOASSERTION | 2021-09-08T19:09:20 | 2021-09-08T19:09:19 | null | UTF-8 | C++ | false | false | 4,381 | cpp | /*
* Copyright (c) 2004-present, Facebook, Inc.
* 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. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
*/
#in... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
f4058d97b990a4f8da528e7ccc7309a5e9b42a7c | 5691507e615cbd5033f7c23207fd5f6376e0fa44 | /Src/nodes.cpp | 69178188e81aa834a777a38a9ad8c8ff3ff8a19d | [] | no_license | MShepelin/MultiAgentPathFinding | acc038b523dd1f9dedb8337c7e00419029b498a7 | 85bdfd3422705bdd6b5e0d08d75b4d637682460f | refs/heads/master | 2023-04-07T23:33:56.811331 | 2021-04-16T19:55:35 | 2021-04-16T19:55:35 | 308,676,746 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 261 | cpp | #pragma once
#include "nodes.h"
bool GridCell::operator==(const GridCell& other) const
{
return i == other.i && j == other.j;
}
bool SpaceTimeCell::operator==(const SpaceTimeCell& other) const
{
return i == other.i && j == other.j && t == other.t;
}
| [
"shepelin.d@ya.ru"
] | shepelin.d@ya.ru |
b4ad39c6b2a19838a8329203db494c271ce73f02 | 9d4b3289deddf272c37ca1daf2841396511eb5e5 | /C++/Data Structures/Union-Find_Disjoint-Set/quickunion_uf.cpp | 593422fa400b8609ef9b0d35297f948e8b3b7dce | [] | no_license | dgonz137/Algorithms-and-Data-Structures | 7b860a03ffc183584c13f8f54739f393ae95b10e | 6b7ddecdc68288e2609718bc37902b8202388638 | refs/heads/master | 2021-09-04T03:24:05.361267 | 2018-01-15T08:42:31 | 2018-01-15T08:42:31 | 114,201,173 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,375 | cpp | #include <iostream>
#include <vector>
#include <exception>
using namespace std;
// tipically faster than QuickFindUF but still linear in the worst case. Tree can get too tall
class QuickUnionUF { // Lazy approach
typedef vector<int> vi;
private :
vi *id;
int root(int);
public:
QuickUnionUF(int n) {
id = new vi(... | [
"dgonz137@fiu.edu"
] | dgonz137@fiu.edu |
73a517f962f6f4375c9efb21efcf6644ee45da6a | d498af7e8d3ab7a58a60371dda47476e9d6cb3c4 | /src/apps/Innuendo/InnuendoApplication.cpp | 4f1d5b5a703105a7833fa824dc42551c251fdf2d | [] | no_license | SvOlli/SLART | 3121e5fa310f7b7f34309a3b15c084ee5e023ad4 | 85b42c9ec874f32afdecedb49c84b0ad7416ec0b | refs/heads/master | 2020-12-24T17:55:05.152518 | 2018-01-26T07:40:11 | 2018-01-26T07:40:11 | 2,235,857 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,676 | cpp | /*
* src/apps/Innuendo/InnuendoApplication.cpp
* written by Sven Oliver Moll
*
* distributed under the terms of the GNU General Public License (GPL)
* available at http://www.gnu.org/licenses/gpl.html
*/
/* system headers */
/* Qt headers */
#include <QApplication>
/* local library headers */
#include <Generic... | [
"svolli@svolli.org"
] | svolli@svolli.org |
e4908ecda5d0f007bff332d26639b63d51d3deef | 35b3a9665aaf21a2f9eea8fd99e1fc057daa12e1 | /libs/all/boost_1_56_0/libs/container/bench/varray.hpp | 17218f31996739b7cdea88320d57c2581c22e15f | [
"BSL-1.0"
] | permissive | OggYiu/rag-engine | 04677c3cb4604e5e8b0de78673680cbfdea0132b | 986c0ac5008a661dba9151b8216806df0e8f4646 | refs/heads/master | 2021-01-17T07:41:31.232070 | 2014-11-08T06:52:57 | 2014-11-08T06:52:57 | 24,141,419 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 32,759 | hpp | // Boost.Container varray
//
// Copyright (c) 2012-2013 Adam Wulkiewicz, Lodz, Poland.
// Copyright (c) 2011-2013 Andrew Hundt.
//
// Use, modification and distribution is subject to the Boost Software License,
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.... | [
"ragbit@gmail.com"
] | ragbit@gmail.com |
24a0a67a9993c0672f72a2cc3932c2e52143ba04 | 8ec1b74ecdef34f78f91e8000bd6873a0e4a484f | /BuildingEscape/Intermediate/Build/Win64/UE4Editor/Inc/BuildingEscape/BuildingEscape.init.gen.cpp | b6ecc12b6b20dccdc66be83a96a863b6666d2cd2 | [
"MIT"
] | permissive | Kocmac/BuildingEscape | b8f20f1d51c98fbed5d7d32c93b59bfc8a40b9ef | facb6e01432513798ea441dd9d79a990709afcc4 | refs/heads/master | 2020-06-20T22:38:47.203961 | 2019-07-16T21:58:49 | 2019-07-16T21:58:49 | 191,243,388 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,397 | cpp | // Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
/*===========================================================================
Generated code exported from UnrealHeaderTool.
DO NOT modify this manually! Edit the corresponding .h files instead!
==============================================================... | [
"noname2142@gmail.com"
] | noname2142@gmail.com |
69715819878de9494dd799e73511d75af67c4f1f | ef5174e9cdca043e9f7eeb7454511d4ef80e537e | /lt0746.cpp | ebae7a440ef114f2ec4c6be6431e085ff3724f7a | [] | no_license | hunian1996github/leetcode | cab9a0fa286aee1838fe433f256689eddaf67257 | e11ea12c1a840d77997d84e3e69764b421d876b6 | refs/heads/master | 2020-08-11T13:10:18.648234 | 2019-10-12T02:24:56 | 2019-10-12T02:24:56 | 214,570,259 | 1 | 0 | null | 2019-10-12T03:23:29 | 2019-10-12T03:23:28 | null | UTF-8 | C++ | false | false | 422 | cpp | #include <vector>
using namespace std;
class Solution {
public:
int minCostClimbingStairs(vector<int>& cost) {
size_t size = cost.size();
vector<int> dp(size+1, 0);
dp[0] = 0;
dp[1] = 0;
for(int i = 2; i <= size; i++)
{
dp[i] = min... | [
"1161784945@qq.com"
] | 1161784945@qq.com |
14b3f80c5ca05b7c792dbc29db9c0ea0d7eb2ba2 | 8fa290b8af685a30b1f8b35cb64b097390aab928 | /Game/cargo.h | e7aecfcbf8b0bf93ae2e4167330045a230704c41 | [] | no_license | pedroluisf/DEI-Alumni | aac4d35495401baf29a88d0c294a80f18fc366a7 | 8df063a7bfced36755c5d21a00882b52d70a3559 | refs/heads/master | 2021-06-09T05:01:29.586461 | 2016-12-18T18:46:39 | 2016-12-18T18:46:39 | 76,077,305 | 1 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 2,366 | h | #include <vector>
#include "Encomenda.h"
#include "Tetromino.h"
#define BUFSIZE 512
#define MAX_TEXTURES_CARGO 2
#define ID_TEXTURA_CARGO_BACK 1
#define ID_TEXTURA_CARGO_GO 2
#define MAX_X 26
#define MIN_X -26
#define MAX_Y 19
#define MIN_Y -19
#define CARGO_X -12
#define CARGO_Y ... | [
"pedroluisf@gmail.com"
] | pedroluisf@gmail.com |
5b42cfa15c90f43a619f8c1b66bb5d217522f118 | d343c35b7d9390ec718a487c5349cea9a9f088bc | /USER/main.cpp | 512f63484b74dfa58f8582bf91b582cf7749ac43 | [] | no_license | jkai1995/remoteController | 50cbdbc5bc5c14fce5e1f9aec201cd8b5a0be96f | 88853616db35aea88cca0e3fe02bc2819aee3ce0 | refs/heads/master | 2020-03-23T10:42:35.431746 | 2018-09-02T12:50:58 | 2018-09-02T12:50:58 | 141,457,783 | 2 | 0 | null | null | null | null | GB18030 | C++ | false | false | 3,074 | cpp | #include "main.h"
//ALIENTEK 探索者STM32F407开发板 UCOSIII实验
//优先级0:中断服务服务管理任务 OS_IntQTask()
//优先级1:时钟节拍任务 OS_TickTask()
//优先级2:定时任务 OS_TmrTask()
//优先级OS_CFG_PRIO_MAX-2:统计任务 OS_StatTask()
//优先级OS_CFG_PRIO_MAX-1:空闲任务 OS_IdleTask()
//////////////////////开始任务//////////////
#define START_TASK_PRIO 3 //任务优先级
#define START_ST... | [
"jkai1995@qq.com"
] | jkai1995@qq.com |
8fbe992a78cd6fbd12f850c1063736496f4dd29b | df334056cc0299e8ed3012ee36b8714fd34dfe60 | /src/mpvobject.h | cfa762ac3d0cfc38308dd711f96fcdeac390d461 | [
"CC-BY-4.0"
] | permissive | ChampionFan/haruna | e937177b122bbdf32a209cf92438f8924ff78150 | 39ab9667037a6e813b7c139cfe2fcd3662cc4d24 | refs/heads/master | 2023-08-16T10:03:46.246297 | 2021-09-17T21:58:24 | 2021-09-17T21:58:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,168 | h | /*
* SPDX-FileCopyrightText: 2020 George Florea Bănuș <georgefb899@gmail.com>
*
* SPDX-License-Identifier: GPL-3.0-or-later
*/
#ifndef MPVOBJECT_H
#define MPVOBJECT_H
#include <QtQuick/QQuickFramebufferObject>
#include <mpv/client.h>
#include <mpv/render_gl.h>
#include "qthelper.h"
#include "playlistmodel.h"
#i... | [
"georgefb899@gmail.com"
] | georgefb899@gmail.com |
ce417d6c78af4f74317cd313e835619b5788c497 | 8ff4fa4c469f8294dd93f85f12e0738daf9c0c91 | /cutl/fs/path.hxx | 59fd14b5f9819c2465a693131346aff957e62836 | [
"MIT",
"BSL-1.0"
] | permissive | digiworks/libcutl | 4e12b9e5fc9eeff0db5c764496ceaebef17d6262 | 83889b8152c2a2e31b0b4d11f5db0ca6eac1cd16 | refs/heads/master | 2021-01-10T12:06:34.302389 | 2015-12-15T18:47:40 | 2015-12-15T18:47:40 | 48,062,287 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,885 | hxx | // file : cutl/fs/path.hxx
// copyright : Copyright (c) 2009-2013 Code Synthesis Tools CC
// license : MIT; see accompanying LICENSE file
#ifndef CUTL_FS_PATH_HXX
#define CUTL_FS_PATH_HXX
#include <string>
#include <ostream>
#include <cutl/exception.hxx>
#include <cutl/details/export.hxx>
namespace cutl
{
... | [
"iot@iot-virtual-machine"
] | iot@iot-virtual-machine |
2d9b86dfa8d89f95d503befb35df8ce11f727fb0 | e122e5d0e8f4d1b786c2ed8bb3199e04de98d8ed | /src/main.cpp | 8b6609888ce9bd1c25402dd8a93002ee3e25c322 | [] | no_license | giacobo1/Simplex | 3f86a35e831773813d389f7bdd25d505ab771575 | 6e4e1d54d6445777909170620f6081f15f30303b | refs/heads/master | 2016-09-06T19:45:29.977416 | 2014-05-18T22:13:01 | 2014-05-18T22:13:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 706 | cpp | #include "include/simplex.h"
int main(int argc, char const *argv[])
{
if (argc == 2)
{
int linha, coluna;
float **matriz = parse_input_build_matrix(argv[1],&linha,&coluna);
calc_simplex(matriz, linha, coluna);
//printf("%d %d\n",linha, coluna);
/*
for (int i = 0; i < linha; i++)
{
for (int... | [
"bgpinto@inf.ufpel.edu.br"
] | bgpinto@inf.ufpel.edu.br |
438ab167e46b70e17029320e98c3d33bbe0ec1b3 | fe33cf4f26321477213d26f80466cd6d3e832734 | /c++/main.cpp | 97119facfad508d47b6fbeea1f674b788a4bd1c3 | [] | no_license | litiedan/recognition_QRcode | 4ec8c81378c614c2aa6864923503735377a6a7f6 | 2e8fef67c27d9a63db9f0051e8da94b6b3a5a661 | refs/heads/master | 2023-06-14T21:55:17.225701 | 2021-07-07T02:10:50 | 2021-07-07T02:10:50 | 383,645,846 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,910 | cpp | #include "zbar.h"
#include "cv.h"
#include "highgui.h"
#include <iostream>
using namespace std;
using namespace zbar; //添加zbar名称空间
using namespace cv;
int main(int argc,char*argv[])
{
Mat imageSource=imread(argv[1],0);
Mat image;
imageSource.copyTo(ima... | [
"254442472@qq.com"
] | 254442472@qq.com |
89c26b24e33979cf5e5a4523a2489954e8f581a1 | 141cc71c569e335e557ef60fd00ad32993a87ce7 | /TopAnalysis/analysis/ttH/TreeClass.h | 213e270d57c8437a282b5c96c61dc9e70ac0fc73 | [] | no_license | zleba/KKousour | ad6d10d8f487da772893a8d558fd2878d0992e02 | 442eb0e0cd5d89298681fee728c296f1fa904d49 | refs/heads/master | 2021-09-08T05:22:32.835288 | 2018-03-07T14:51:01 | 2018-03-07T14:51:01 | 110,162,326 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 13,096 | h | //////////////////////////////////////////////////////////
// This class has been automatically generated on
// Wed Jul 1 10:03:34 2015 by ROOT version 6.02/05
// from TTree events/events
// found on file: flatTree.root
//////////////////////////////////////////////////////////
#ifndef TreeClass_h
#define TreeClass_h... | [
"konstantinos.kousouris@cern.ch"
] | konstantinos.kousouris@cern.ch |
39551c0fe59d41973093db76ab68e0cf5ba4bb9e | 9cf3c236d4b8cf148d8ddce85f2a3473f5046194 | /server/Node.h | 5679f94110dac153f5be40597fae4a3b3a6b7410 | [] | no_license | roeman/NetStore | dbc2b080c441919c2ed97f71748dcb51e2bbbb79 | 94ed7ba53ab2c4660135174041df6a933eac34fa | refs/heads/master | 2020-04-06T05:02:30.408187 | 2011-10-08T01:54:57 | 2011-10-08T01:54:57 | 2,536,089 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 832 | h | /*
* Node.h
*
* Created on: Oct 5, 2011
* Author: nathan
*/
#ifndef NODE_H_
#define NODE_H_
#include "NodeStates/NodeStateFwdDcl.h"
#include <boost/shared_ptr.hpp>
class Node {
public:
Node();
void loadDataFromStorage();
void saveDataToStorage();
virtual ~Node();
friend class NodeStates::Activating;... | [
"roeman@gmail.com"
] | roeman@gmail.com |
1ac99f0b2cb2c82a98cc9c15df490140cc45d67d | dafe2353bb9415d3ca7773eb15cf36be17a97e29 | /src/NetworkManager/include/LTE_NM.h | 6482c66243f9e379fc8d37532fb72bce6743ab1e | [] | no_license | RAJASEKHARCRSR/UCONNECT | 2dce389f02b28ed13d197eddb305e712a3b59cb0 | 75211a8813f9dc2082517d5450e010c2ed270baa | refs/heads/master | 2020-03-12T00:56:12.565282 | 2018-04-23T09:22:23 | 2018-04-23T09:22:23 | 130,362,294 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,339 | h | /*****************************************************************************
**
** LTE_NM.h
** This header file describes the interfaces to the LTE Network Manager
**
** Author: Sathyanarayanan S
** Date : 06-MAR-2012
** (c) United Mobile Apps Pvt Ltd (2010 - 2015)
VER DATE AUTHOR DESCRIPTION
0.1 06/03/1... | [
"rajasekharreddy2k00@gmail.com"
] | rajasekharreddy2k00@gmail.com |
af32041cb409f152d11569b4759359a2b1d2dc35 | 31f1f8407b3d02d5b4de9f2ecd764c48b3805684 | /hr_splash.h | d9c7367b5f27d76863d257908eb37c8a963ba62a | [] | no_license | sabin15/Project | 9303ea6bbf8db0a1e02d90b3121cb7dfecd89ef7 | 56640622b9a2be81916831408dd0e89f69213727 | refs/heads/master | 2021-01-13T14:20:48.767403 | 2017-01-15T11:46:31 | 2017-01-15T11:46:31 | 79,044,732 | 0 | 0 | null | 2017-01-15T16:34:18 | 2017-01-15T16:34:18 | null | UTF-8 | C++ | false | false | 457 | h | #ifndef HR_SPLASH_H
#define HR_SPLASH_H
#include <QMainWindow>
#include "hrwindow.h"
namespace Ui {
class hr_splash;
}
class hr_splash : public QMainWindow
{
Q_OBJECT
public:
explicit hr_splash(QWidget *parent = 0);
~hr_splash();
private slots:
void on_searchUser_clicked();
void on_addUser_cli... | [
"Raj Shrestha"
] | Raj Shrestha |
865440b8ca2fdb005ba164cccb29e35013d6ea6c | cdc3e078944d69fea68c186246d4bb440d29ef80 | /SGDThread/SGDWorkerThread.cpp | a6ddcc31cdc4e08f864182092c1e6f7d14890905 | [] | no_license | tkdgur4427/SGDThread | a0851bf72189e90618942b40a3774fd0fef7e2b5 | 3024de82831dc05c7742c743eae62dcadc09fe59 | refs/heads/master | 2021-01-23T12:00:14.353132 | 2016-08-10T18:02:17 | 2016-08-10T18:02:17 | 65,404,581 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,706 | cpp | // Simplified BSD license:
// Copyright (c) 2016-2016, SangHyeok Hong.
// 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 no... | [
"hsh6679@bluehole.net"
] | hsh6679@bluehole.net |
3d45ed4c4c5e267c784e584337d0861ff2182f03 | cb3e9c6ee2c13b9d33f8451e91332e7f064619e4 | /Jolt/Physics/Body/BodyInterface.h | 16f4121893311608904abbb032971e199339a57c | [
"MIT"
] | permissive | shuningzhou/JoltPhysics | 296af547edfcbf6c71d7af4d1ddf094bc9ece8ed | 310a6ce3588c703e15c913f2d597e86455f3e792 | refs/heads/master | 2023-09-04T06:56:54.449592 | 2021-10-25T12:25:42 | 2021-10-25T12:25:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,632 | h | // SPDX-FileCopyrightText: 2021 Jorrit Rouwe
// SPDX-License-Identifier: MIT
#pragma once
#include <Physics/Body/BodyID.h>
#include <Physics/EActivation.h>
#include <Physics/Collision/ObjectLayer.h>
#include <Physics/Body/MotionType.h>
#include <Core/Reference.h>
namespace JPH {
class Body;
class BodyCreationSettin... | [
"jrouwe@gmail.com"
] | jrouwe@gmail.com |
93b65faf3236e90a12bde84956d1c72526da1e1d | a88a911a0c394612d40127cbb664445dfe31adfc | /FaceDirection/main.cpp | f42501e01bb35869201a5a18fb816a22aaacf5ec | [] | no_license | EasonChiang7178/PersonalizationForRobotServiceProvidingBehavior | 186030bcec6292944cf27e9adc19741894549316 | c4a62f38a17ef956beb095c5bcac134c09fc7292 | refs/heads/master | 2021-01-01T20:00:36.329613 | 2014-07-02T12:33:46 | 2014-07-02T12:33:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,085 | cpp | ///////////////////////////////////////////////////////////////////////////////
// Copyright (C) 2010, Jason Mora Saragih, all rights reserved.
//
// This file is part of FaceTracker.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following cond... | [
"ishiu.chiang@gmail.com"
] | ishiu.chiang@gmail.com |
3da86bd38963a08931a35eb1546263013f689cbf | 9802284a0f2f13a6a7ac93278f8efa09cc0ec26b | /SDK/SK_Millitary_Zombie_06_classes.h | 7ed320874d12a9865424a1d49e4cd2993c66e839 | [] | no_license | Berxz/Scum-SDK | 05eb0a27eec71ce89988636f04224a81a12131d8 | 74887c5497b435f535bbf8608fcf1010ff5e948c | refs/heads/master | 2021-05-17T15:38:25.915711 | 2020-03-31T06:32:10 | 2020-03-31T06:32:10 | 250,842,227 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 673 | h | #pragma once
// Name: SCUM, Version: 3.75.21350
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace SDK
{
//---------------------------------------------------------------------------
// Classes
//---------------------------------------------------------------------------
// BlueprintGeneratedClass SK_Millita... | [
"37065724+Berxz@users.noreply.github.com"
] | 37065724+Berxz@users.noreply.github.com |
72f3cd92f8a132cd03a2d5db66689d8b702e9a01 | 1853a1cbdcb96c0f3f7b565c5f4c155636500e3c | /Blank/frame_record.h | c31adfd2631c19124da3e6253115fed5982cdf8f | [] | no_license | Marco-LIU/reconstruction-3d | 8b408d8031248a4c4b1d9ee8c258b9ac63246a0b | d13049bdfe9cd6693c71293596b533b9a284842e | refs/heads/master | 2016-08-05T03:52:41.575386 | 2014-12-20T12:32:18 | 2014-12-20T12:32:18 | 33,585,869 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 578 | h | #pragma once
#include <vector>
#include "base/time/time.h"
#include "base/files/file_path.h"
#include "base/containers/hash_tables.h"
#include "QtGui/qimage.h"
struct FrameRecord {
base::FilePath image_path;
unsigned int frame_seq;
base::Time time_stamp;
base::Time sync_stamp;
mutable QImag... | [
"MarcoBright@gmail.com@7490ff5d-073b-4550-533e-cd5a0458d319"
] | MarcoBright@gmail.com@7490ff5d-073b-4550-533e-cd5a0458d319 |
5a7d21d01427007955d1b8806bc69090206cfb16 | 77289e5a896d115f4c6196d2bb0c6ff597848451 | /AsciiSub.cpp | 0bdb17b01a7d27cca62b077c80262c2a26d3c260 | [] | no_license | Sudhanshu1802/recursion-codes | 5436cb995b1680da44206b1d16be944f19c8ef87 | 56222cb121b51c8db788017155b4e3b061795b90 | refs/heads/master | 2020-03-23T11:07:58.524960 | 2018-07-20T04:36:57 | 2018-07-20T04:36:57 | 141,485,169 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,162 | cpp | #include <iostream>
using namespace std;
string intTostr(int n) {
string decision;
while (n > 0) {
int rem = n % 10;
char charToAdd = (char)('0' + rem);
decision = charToAdd + decision;
n /= 10;
}
return decision;
}
int countAsciiSeq(string s, string decision, int be, int en) {
// cout << be << " ";
if ... | [
"sudhanshujindal1802@gmail.com"
] | sudhanshujindal1802@gmail.com |
4f1cf449eb9dfc263e9e54b348c0a5cb96c47402 | cb80a8562d90eb969272a7ff2cf52c1fa7aeb084 | /inletTest4/0.09/alphat | 1d755be19add80a34dd8ac3944d0c74b137af721 | [] | no_license | mahoep/inletCFD | eb516145fad17408f018f51e32aa0604871eaa95 | 0df91e3fbfa60d5db9d52739e212ca6d3f0a28b2 | refs/heads/main | 2023-08-30T22:07:41.314690 | 2021-10-14T19:23:51 | 2021-10-14T19:23:51 | 314,657,843 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 248,985 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2006 |
... | [
"mhoeper3234@gmail.com"
] | mhoeper3234@gmail.com | |
584ff61c887c43bc754f4246aafa12dfbead11a5 | d967920b91f4046914cce950d7aaf2f3fcc672fb | /src/base/tobjectiterator.cpp | f832bbdcaa03979f20f6dc5054545c47ef8cdcd7 | [
"Apache-2.0"
] | permissive | lawarner/aft | 57cc3b4ca2024c3ae445c1813c1f3dcaf7460327 | fd2b6b97bedd2be3ccb1739b890aeea6aa2f9603 | refs/heads/master | 2020-04-12T02:28:46.527298 | 2017-12-31T23:03:09 | 2017-12-31T23:03:09 | 42,785,574 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,984 | cpp | /*
* Copyright 2015-2017 Andy Warner
*
* 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 ... | [
"winc03@gmail.com"
] | winc03@gmail.com |
e09b1a2f2d8853b35cb407e280547616c5fb10c8 | bc0f5cc72a8a1ceb3b2aec96d644242cea677859 | /src/rpcprotocol.h | 7562f8fa8f15febafd1240e7954fcf3ae9a3eb64 | [
"MIT"
] | permissive | mexicancoin/MXNCore | 73cc527d6e6f12fad8d26a565c5a9b779cbbf4a8 | bfe0b11963070480cf8b7f1c86d3ce6941731f39 | refs/heads/master | 2021-01-23T16:52:32.383688 | 2017-09-10T17:16:19 | 2017-09-10T17:16:19 | 102,750,360 | 1 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 4,452 | h | // Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2015 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_RPCPROTOCOL_H
#define BITCOIN_RPCPROTOCOL_H
#include <list>
#include ... | [
"root@ciesc.net"
] | root@ciesc.net |
c35fbdf5aa19982d7b8a9ae8a62390b175588207 | c0caed81b5b3e1498cbca4c1627513c456908e38 | /src/protocols/toolbox/task_operations/AlignedThreadOperation.cc | 18d0e31d7a84bd77f5ac9b5d4143cb357fdebecd | [] | no_license | malaifa/source | 5b34ac0a4e7777265b291fc824da8837ecc3ee84 | fc0af245885de0fb82e0a1144422796a6674aeae | refs/heads/master | 2021-01-19T22:10:22.942155 | 2017-04-19T14:13:07 | 2017-04-19T14:13:07 | 88,761,668 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 5,009 | cc | // -*- mode:c++;tab-width:2;indent-tabs-mode:t;show-trailing-whitespace:t;rm-trailing-spaces:t -*-
// vi: set ts=2 noet:
//
// (c) Copyright Rosetta Commons Member Institutions.
// (c) This file is part of the Rosetta software suite and is made available under license.
// (c) The Rosetta software is developed by the co... | [
"malaifa@yahoo.com"
] | malaifa@yahoo.com |
5203b6cb1506adba0ff9778b92eda5f7a6bf894f | dd80a584130ef1a0333429ba76c1cee0eb40df73 | /external/ceres-solver/internal/ceres/array_utils.h | 742f439d886a556f279ed0ef1fc6ce00fe761dde | [
"MIT",
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | karunmatharu/Android-4.4-Pay-by-Data | 466f4e169ede13c5835424c78e8c30ce58f885c1 | fcb778e92d4aad525ef7a995660580f948d40bc9 | refs/heads/master | 2021-03-24T13:33:01.721868 | 2017-02-18T17:48:49 | 2017-02-18T17:48:49 | 81,847,777 | 0 | 2 | MIT | 2020-03-09T00:02:12 | 2017-02-13T16:47:00 | null | UTF-8 | C++ | false | false | 2,874 | h | // Ceres Solver - A fast non-linear least squares minimizer
// Copyright 2012 Google Inc. All rights reserved.
// http://code.google.com/p/ceres-solver/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistr... | [
"karun.matharu@gmail.com"
] | karun.matharu@gmail.com |
b7de78858d11e43e91a1f9f112d24bdf2d500a9e | 7673a642bcedef50bbaed02c4aa619f1c8d9c3cc | /Prova3/1_entragar/Percurso em Arvore por Nível em C/Q1.c | e2a61c733b62a853ea24d3aaeb935cd90dba3902 | [] | no_license | DavidFaria38/AEDs2_Repositorio | 8be6b8a530a2482b21056efeb1d0b5f027426338 | 8417cc886e0b41ad573dc2c38758cd22384d0c41 | refs/heads/main | 2023-02-03T03:30:45.696062 | 2020-12-18T15:23:29 | 2020-12-18T15:23:29 | 307,526,843 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,421 | c | #include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
typedef struct noAB{
int num;
struct noAB *direita;
struct noAB *esquerda;
} noArvoreBinaria;
void paranaue(noArvoreBinaria *no, int qtnNo)
{
noArvoreBinaria *basta;
int i = 0;
int j = 1;
bool flag = false;
basta = (noArvoreBinaria *)malloc(qtnNo *... | [
"davidfaria39@gmail.com"
] | davidfaria39@gmail.com |
17c4a3cc8e5159985fe8cb29e1500632bf48db5a | 9642e9d232a0fe7e1d461c2d5169a38bd55f948f | /redma/geometry/building_blocks/AortaBifurcation1.hpp | 4db8a963cf2e049d7af9be4713f779116b135c20 | [] | no_license | lucapegolotti/RedMA | d28ec7d3c814816e8b9b3bebb880711d03a147dc | 0d84dce7abe6a6f95db40941c50fb61ae6e3519a | refs/heads/master | 2023-07-06T05:00:42.136962 | 2023-04-06T21:38:32 | 2023-04-06T21:38:32 | 180,718,637 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,292 | hpp | // Reduced Modeling of Arteries (RedMA)
// Copyright (C) 2019 Luca Pegolotti
//
// RedMA 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 3 of the License, or
// (at your option) any later ver... | [
"luca.pegolotti@epfl.ch"
] | luca.pegolotti@epfl.ch |
6f96ccc69778d1321fc56f3538e7eea8eb07e900 | c1bb58d4e9a0e23ac975f69a059b0850180fd321 | /XSpace/MyGL.cpp | a20a0e865a841c46b6c04134f816aecfe99e7055 | [] | no_license | alingheorghe/XSpace | adeb8091a2ba34d6da48420b8e09eaf2c94b2502 | 3f1db080f20e337e741646bc13bff4d6cb593ab2 | refs/heads/master | 2020-12-30T09:59:13.058085 | 2014-07-05T03:25:02 | 2014-07-05T03:25:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,038 | cpp | #include "MyGL.h"
void MyGL::init(){
// init glfw
if (!glfwInit ()){
fprintf (stderr, "ERROR: could not start GLFW3\n");
return ;
}
glfwWindowHint(GLFW_SAMPLES, 4); // 4x antialiasing
glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 3); // We want OpenGL 3.3
glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 3);
// Op... | [
"upb.alin@gmail.com"
] | upb.alin@gmail.com |
739623c96c7776d5fe68bb6a436f24254b07c5b7 | 3b04925b4271fe921020cff037b86e4a5a2ae649 | /windows_embedded_ce_6_r3_170331/WINCE600/PRIVATE/SERVERS/SOAP2/SOURCES/SRC/SOAPUTIL/errcoll.cpp | 94abac58387a5bf184c9e07439b2d10cb89739b0 | [] | no_license | fanzcsoft/windows_embedded_ce_6_r3_170331 | e3a4d11bf2356630a937cbc2b7b4e25d2717000e | eccf906d61a36431d3a37fb146a5d04c5f4057a2 | refs/heads/master | 2022-12-27T17:14:39.430205 | 2020-09-28T20:09:22 | 2020-09-28T20:09:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 35,487 | cpp | //
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//
// Use of this source code is subject to the terms of the Microsoft shared
// source or premium shared source license agreement under which you licensed
// this source code. If you did not accept the terms of the license agreement,
// you are... | [
"benjamin.barratt@icloud.com"
] | benjamin.barratt@icloud.com |
b96f501b394a1f720a65adfaa45dc5fcdc985202 | f718a63a5dd605400e06d92a646e62590702df49 | /libsyndicate-0.13/test/TestPalette.cc | 4e712a2cb3fc05bfbeb8165fd6ff8acc78d60817 | [
"WTFPL"
] | permissive | videogamepreservation/freesynd | e88ac94fcc502a77eeec7ad476908787cb7fb96b | fa08136b239dbcbb0370a73ef7df4420d3834513 | refs/heads/master | 2023-07-26T00:48:56.706370 | 2015-02-19T06:44:41 | 2015-02-19T06:44:41 | 37,161,394 | 15 | 8 | null | null | null | null | UTF-8 | C++ | false | false | 923 | cc | #include <cstdio>
#include <cstring>
#include <assert.h>
#include "Syndicate/Data/Palette.h"
#include "TestPalette.h"
int main(int argc, char **argv)
{
Syndicate::Data::Palette *palette = new Syndicate::Data::Palette();
palette->load(ref_palette_filename);
uint8_t colors[256 * 3];
memset(colors, 0xFF, size... | [
"chamel@3ce38193-f967-438d-acd5-fc4e68e0da95"
] | chamel@3ce38193-f967-438d-acd5-fc4e68e0da95 |
6ac30dd7f68e2821390e085c28356432a54d5ce0 | 8e90869d403d9802b295c02ff2673b56c23cf048 | /B3try/mainwindow.h | 0b5c4b8aad24e61cf05effc71ac9013e2049dfe4 | [] | no_license | yashagarwal1999/CGL | 5a8a2caf468c0d37395cc222997a2b53dfeb6aae | 62ce803bb939f484fffa72f5282926d60a5f563b | refs/heads/master | 2020-05-15T12:45:56.356487 | 2019-04-19T14:30:10 | 2019-04-19T14:30:10 | 182,277,028 | 3 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 565 | h | #ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
explicit MainWindow(QWidget *parent = 0);
~MainWindow();
void mousePressEvent(QMouseEvent *ev);
void dda(double x1,double y1,double x2,double y2,QR... | [
"agarvalyash12@gmail.com"
] | agarvalyash12@gmail.com |
80e2790adf74a076e8859334818e1dee0aed4c0a | 60d4f70f6504b7ac84d16dd312108bb7b18e0026 | /MiniSQL/MiniSQL/CatalogManager.cpp | 2cc716061e725c41194f523ede1b60dccbc4ea79 | [] | no_license | jxc98728/MiniSQL | 834656fcfc944b647bf4839dfebce7da6327c0a7 | 2dad924bfab48966dc92912d6ac0955c2759157d | refs/heads/master | 2020-03-19T04:29:15.854313 | 2018-06-25T10:32:52 | 2018-06-25T10:32:52 | 135,834,165 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 5,020 | cpp | #include "CatalogManager.h"
#include <fstream>
using namespace std;
CatalogManager::CatalogManager()
{
readTables();
readIndexes();
}
void CatalogManager::readTables()
{
string fileName = "Tables.log";
fstream file(fileName);
file >> tableNum;
//读入Tables.dat中的信息到vector<Table>中
Table table;
Attribute attribute... | [
"1075016158@qq.com"
] | 1075016158@qq.com |
bf19af91dc9c81daf190dc103fe47e7d9523b2e4 | 599be2217d924a38ade84f1305292314832efe50 | /basic/basic3/InstancedForest.h | f96cb3af6c783de7f41da66d4a8cd3705e7200c0 | [] | no_license | AlexanderGrant1/OpenGL-Bonfire | 9a5a9d3b87bf7942ba01cc4b10170c87a3979df8 | 9560a5f789806ac331a390a70696602d475f82f6 | refs/heads/master | 2020-06-06T13:49:27.128312 | 2015-01-15T00:45:36 | 2015-01-15T00:45:36 | 29,256,902 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,043 | h | #pragma once
#include "wrapper_glfw.h"
/* Include GLM core and matrix extensions*/
#include <glm/glm.hpp>
#include "glm/gtc/matrix_transform.hpp"
#include <glm/gtc/type_ptr.hpp>
#include "Lib3ds/mesh.h"
#include "Lib3ds/file.h"
#include <vector>
class InstancedForest
{
private:
GLuint x_size;
GLuint z_size;
GLuint... | [
"alexander.grant55@gmail.com"
] | alexander.grant55@gmail.com |
8b1b81e8ab88399b989006ff9d2c045c1169335d | e3175a3076b3113196af55bf4a2bcbafdf6f5577 | /advent-of-code-2020/src/day_17/Cube_4d.h | 45cb44d251560835bf6a5e1080740e0fd2de9dc6 | [] | no_license | Ersatz77/advent-of-code-2020 | 2ef30c812d6a18b3205b39a1a4ee329fecdd0652 | fb70a73b088781d82279cd842815be6a40971df5 | refs/heads/main | 2023-03-16T07:13:19.776426 | 2021-03-10T03:08:26 | 2021-03-10T03:08:26 | 317,594,334 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 627 | h | #ifndef DAY_17_CUBE_4D_H
#define DAY_17_CUBE_4D_H
#include <unordered_set>
struct Cube_4d
{
int x = 0;
int y = 0;
int z = 0;
int w = 0;
};
bool operator==(const Cube_4d& lhs, const Cube_4d& rhs);
namespace std
{
template <>
struct hash<Cube_4d>
{
size_t operator()(const Cube_4d& ... | [
"cm12mc@gmail.com"
] | cm12mc@gmail.com |
cd2c6cf144b5fa6bc36205381e12e8bc9d003d69 | 93c8c0c8df19866dec579696cca918293b16c752 | /final_project3.cpp | 4b4569592a1e6cebac7bb8869383cf21989062ef | [] | no_license | dhiisti/final_project_embed | 4606b131c1dbadf19e224e2a5ba324d198fd1a6b | 1dad2f7e5c45cc7d0d8f7a5e01ff9c808a187b69 | refs/heads/main | 2023-06-08T02:54:46.218887 | 2021-06-27T17:30:01 | 2021-06-27T17:30:01 | 377,376,391 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 23,275 | cpp | /***********************************************************************
Dympna Tinezsia Adhisti - 07211840000029
Modified from Mini Clock v1.0, Jul 2014 by Nick Hall
Distributed under the terms of the GPL.
For help on how to build the clock see my blog:
http://123led.wordpress.com/
*********************************... | [
"stan.kookie97@gmail.com"
] | stan.kookie97@gmail.com |
bc5e9e357212b7dd7cd96f5e65e21df04f3689bf | 3f7b139c20d70671e1c8ee1fc518510d3e168a95 | /SingleServerMultipleClientUsingPolling/server.cpp | f446e7eeec4059ba1e5090b818f3fd22ac9fec5f | [] | no_license | Ynjxsjmh/WinsockExample | 3a27d109527bdf0d92c5117b3899632aa9cb90f7 | 2f3e661ffe89326c33fa29dfd1638c3f2c88053f | refs/heads/master | 2020-05-30T03:50:32.865315 | 2019-06-29T05:26:24 | 2019-06-29T05:26:24 | 189,523,372 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,182 | cpp | #undef UNICODE
#define WIN32_LEAN_AND_MEAN
#define _WIN32_WINNT 0x0501
#include <windows.h>
#include <winsock2.h>
#include <ws2tcpip.h>
#include <stdio.h>
#include <iostream>
using namespace std;
// Need to link with Ws2_32.lib
#pragma comment (lib, "Ws2_32.lib")
// #pragma comment (lib, "Mswsock.lib")
#define DEF... | [
"ynjxsjmh@gmail.com"
] | ynjxsjmh@gmail.com |
c73971a87f7a5ada1afacbbcb80509c535ab4276 | 0137ffeef8838c4af14d33fd075e47c289ccc9dd | /Bounce.h | d781531a1124113d748a1d22eff4c02888314e0a | [] | no_license | MonsieurGlock/Higher | c1e5b3101a4f997e36835349c182cc684d97ef2c | 6a3d6fa72a7b532f9e01df1709fe671d15a0afbc | refs/heads/main | 2023-01-29T05:41:09.077622 | 2020-12-11T12:37:32 | 2020-12-11T12:37:32 | 315,189,006 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,010 | h | #pragma once
#include <SFML/Graphics.hpp>
class Bounce {
public:
Bounce() {
bouncer.setSize(sf::Vector2f (15.1 , 15.1));
status.bouncerBuilt = 0;
}
int setBouncerPos(int x ,int y){
status.bouncerPos.x = x;
status.bouncerPos.y = y;
status.bouncerBuilt = true;
}
bool HitBoouncer(int playerX , int pla... | [
"chinnakitglock@gmail.com"
] | chinnakitglock@gmail.com |
c64d040bb01d17f6014dcbc421469fc8b978c1bc | c10731fd36199e923f67f03040fd84d589ba0ba8 | /PBR/includes/Light.hh | b4d866e7d1a977f9ed176030c38c77a1b5a14aa4 | [] | no_license | LucasVilleneuve/PBR | 949873a9b59a9d8df2570fe3c82d9fa62c187271 | 85f0a9bb8286502ea9b2f2f2a8005bfff2e42860 | refs/heads/master | 2020-05-30T20:03:22.754306 | 2019-06-13T13:36:45 | 2019-06-13T13:36:45 | 189,939,826 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 637 | hh | #pragma once
#include "Shader.hh"
#include "Sphere.hh"
#include "Model.h"
class Light
{
public:
Light(int number, glm::vec3 position = glm::vec3(0.0), glm::vec3 color = glm::vec3(300.0));
~Light() = default;
Model getModel() const { return _sphere.getModel(); }
void setModel(Model model) { _sphere.setModel(model... | [
"lucas.villeneuve@epitech.eu"
] | lucas.villeneuve@epitech.eu |
3a8d4233b0112dcb2c474e62f3b7b92ebb976bfc | 82621a134b9d0a43a10e44610e4381f7e0378e4c | /src/PictureMarker/markermanager.cpp | 0666be4d6cd215b8cbf1c7f6fe5336e3c818f775 | [
"MIT"
] | permissive | leonardodalinky/PictureMarker | 8053feaa91baf719247bbbeaacfeeec8fc855fcc | cecdc104cdd8f4f7164dd448be494d60de3fe4d9 | refs/heads/master | 2020-07-23T14:17:17.831816 | 2019-09-11T13:03:20 | 2019-09-11T13:03:20 | 207,588,889 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,343 | cpp | #include "markermanager.h"
#include "ui_markermanager.h"
#include <QColorDialog>
#include <QMenu>
#include <QInputDialog>
#include <QMessageBox>
#include <QTableWidget>
#include "marker3drect.h"
#include "marker3ddrawingpad.h"
#include <QDebug>
MarkerManager* MarkerManager::self = nullptr;
MarkerManager::MarkerManage... | [
"493987054@qq.com"
] | 493987054@qq.com |
7e07af782c111e581e4c9a6c870e1d120093648a | 161c11a1a88dbf6d3226360c3eb8e57c535bcd6c | /NumberFun.cpp | 396a1e5794f33fd3e8b093719ce292a740849f26 | [] | no_license | Lucria/MyKattisSolutions | d1a3116364d438bd0b3cf54cad304709df4ac22c | 5092d39c2f482885d08454051436786ed01917f1 | refs/heads/master | 2020-04-20T11:01:15.716253 | 2020-01-16T18:35:26 | 2020-01-16T18:35:26 | 168,804,768 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 661 | cpp | #include <iostream>
using namespace std;
int main() {
int cases;
cin >> cases;
while(cases--) {
int num1, num2, num3;
cin >> num1 >> num2 >> num3;
int add, subt, mult;
float div;
add = num1 + num2;
subt = abs(num1 - num2);
mult = num1 * num2;
... | [
"jerryzhang28eclipse@gmail.com"
] | jerryzhang28eclipse@gmail.com |
1ebd7ed31b73d5d92769e53dcdf9feec4425ab40 | f3fc5b2f6cd2b4c199696bc6ce02c7850a8b1363 | /src/hdt_common/src/BaseProtocol.cpp | 39899b35a44710a93de9ab5f39957e3e4c541bd3 | [] | no_license | sagivald/hdt_rlb_vr | 67ddeed46337381b3dd831ccd1661fc7529b8c34 | 897a0bb4e7626ad20cfec65a0e2e0047c230b09c | refs/heads/master | 2021-09-14T04:19:40.191201 | 2018-05-08T12:18:48 | 2018-05-08T12:18:48 | 105,557,898 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 958 | cpp | /*----------------------------------------------------------------------------
* Name: BaseProtocol.cpp
* Purpose: base protocol class
* Note(s):
*----------------------------------------------------------------------------*/
#include <stdio.h>
#include "BaseProtocol.h"
#include "BaseInterface.h"
/*----------... | [
"yossicohen2000@gmail.com"
] | yossicohen2000@gmail.com |
a043246cfce9956656ae0792c0e9622047b20f85 | fea580849c7dd6f5f32886a1ae963c9779be250c | /HackerRank/Algorithms/Implementation/sock-merchant.cpp | 78808f7c43332da31ce66f8402bdd89fc595f6ea | [] | no_license | TyDunn/hacker-rank-daily-challenge | 95f884fafb46a622d0784c19543fdf1468e36c10 | 7d1abf5267d928198f177f90066f0ff3ac0badea | refs/heads/master | 2021-01-20T04:50:15.400092 | 2017-12-01T15:07:41 | 2017-12-01T15:07:41 | 89,740,994 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 558 | cpp | // Sock Merchant
// Day #27
// Friday, May 26, 2017
// https://www.hackerrank.com/challenges/sock-merchant
#include <map>
#include <iostream>
using namespace std;
int main() {
int num;
cin >> num;
map<int,int> socks;
int sock;
int pairs = 0;
for (int i = 0; i < num; i++) ... | [
"tydunn@umich.edu"
] | tydunn@umich.edu |
13cdc635b4c0d498746e94f065c4224b73ce2e02 | f5d6f5cd94c43ba6704db99e90b26153c60a74b1 | /lcsdown.cpp | b589551664a4235cf20c9cb9900361a7a15e0459 | [] | no_license | robertianburton/cs375-LCS | dd8fd2ff076e46e0050641196819af7339878288 | dacfefbfdbd4fd97d5ab3224aad7de5fce0bd48b | refs/heads/master | 2021-04-09T15:31:57.254390 | 2018-09-03T05:58:04 | 2018-09-03T05:58:04 | 125,676,401 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,227 | cpp | #define EDGE 0
#define UP 1
#define LEFT 2
#define MATCH 3
#include "lcsdown.h"
#include <cstdlib>
#include <iostream>
#include <fstream>
#include <string>
#include <vector>
#include <map>
#include <sstream>
#include <chrono>
using namespace std;
using namespace std::chrono;
std::map<std::string, i... | [
"robert@robert.red"
] | robert@robert.red |
965dd8957775a3e63bb05c202f9d109c22da74b1 | a64300f3f43944c3f57053232ab1c8a9c9cfe356 | /C++语言/C++代码/template/14.template.cpp | 27a8096bd0c83a847684ec016b329710adb6165c | [] | no_license | Remote0/Mynotes-1 | 5e84de95163b076c802e39b8a2a097dd9e61adb2 | 4314db4c3845d53f58e4fd0a2c2c90e355b21751 | refs/heads/master | 2022-11-26T19:47:20.441530 | 2020-08-06T18:05:06 | 2020-08-06T18:05:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,264 | cpp | /*************************************************************************
> File Name: 14.template.cpp
> Author:fangsong
> Mail: fangsong517@gmail.com
> Created Time: 2020年08月03日 星期一 15时48分21秒
************************************************************************/
#include<iostream>
#include<cstdio>
#include<c... | [
"2035756541@qq.com"
] | 2035756541@qq.com |
d9b04e53a436f764e71411be94dafcceae89b994 | e346a5a42bd35937a6c157872576b7baf9333d86 | /Pruebas/DuoServos_Base_Normal/DuoServos_Base_Normal.ino | ee1105eabb05f61306c379972d3fb88a35522514 | [] | no_license | miguel5612/DIY_Robot_Hand | 45184951bd250486fcbbd67fb1c8861185364c96 | 05b1e193f1af8374d5d879c5ca27c83355a166d6 | refs/heads/main | 2023-02-08T12:53:37.216698 | 2020-12-28T18:12:13 | 2020-12-28T18:12:13 | 320,660,333 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,342 | ino | /* Sweep
by BARRAGAN <http://barraganstudio.com>
This example code is in the public domain.
modified 8 Nov 2013
by Scott Fitzgerald
http://www.arduino.cc/en/Tutorial/Sweep
*/
#include <Servo.h>
Servo myservo; // create servo object to control a servo
Servo myservo2; // create servo object to control a servo
/... | [
"miguelangel5612@gmail.com"
] | miguelangel5612@gmail.com |
739ea29e34eb51dd3e25e2ac2d4cb6a056e70958 | 811ad9cb4d8053f07522cbb90d546dbc1f342641 | /acmicpc.net/2016.08/1339.cpp | 9c24cf899758f091b37f0a6ee26bbe798ea45e96 | [] | no_license | shady48765/study | 711866c5776c76f8f4b3d11d98e2ed664092cedc | 03707ce21a26eebf3fdf07badbaa4751e8ec3511 | refs/heads/master | 2021-06-16T19:05:59.839345 | 2017-05-28T09:09:06 | 2017-05-28T09:09:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 921 | cpp | #include<iostream>
#include<set>
#include<algorithm>
#include<string>
#include<vector>
using namespace std;
int main()
{
int n, MAX = 0, num[27];
set<char> se;
string input[11];
fill(num, num + 27, -1);
cin >> n;
for (int i = 0; i < n; i++)
{
cin >> input[i];
int len = input[i].length();
for (int k = 0; k... | [
"sangmookoh@gmail.com"
] | sangmookoh@gmail.com |
ec61ae09d291656edfde309c7fc69cebd542766c | 47e5736f5df02ae949dd5a282300e6397adfb42a | /Codes/function_block.h | 728ae3633ca2ae1e7f90a7fe2a60afd2d73090cb | [] | no_license | LiuJiazheng/C0-Compiler | 0b32489c3de6a64fddb49e703f43698b1be0a8a3 | 4808dc06940db9b7b5715b842926e536410d7452 | refs/heads/master | 2020-03-14T20:33:15.289161 | 2018-05-02T00:46:14 | 2018-05-02T00:46:14 | 131,778,013 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,384 | h | #ifndef _COMPILER_FUNCTION_BLOCK
#define _COMPILER_FUNCTION_BLOCK
#include "quaternion.h"
#include "basic_block.h"
#include <vector>
#include <iostream>
#include <map>
class function_block
{
public:
friend class dag;
friend class data_stream;
friend class nets;
friend class live_variable;
friend ... | [
"LiuJiazheng@JiazhengdeMacBook-Air.local"
] | LiuJiazheng@JiazhengdeMacBook-Air.local |
66e2d56c90009b37f5769c4bbc65ba08025bb63b | aa74fa74969193c494beeb339e3074c89917b79e | /cdrive/cdrive/test/TestCredential.cpp | 4f6ff7ebb7c1aa28be4275c15bbdce523a5f4832 | [] | no_license | tmrocha89/cdrive | 843cd2026c6da6f2fbfb67f0fe788233ce9af8a0 | ac6739ea07b5607f3fcace73c6276847d4fc2e1c | refs/heads/master | 2020-06-01T17:28:42.425747 | 2015-08-12T20:45:26 | 2015-08-12T20:45:26 | 40,491,989 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,350 | cpp | #include "TestCredential.h"
#include "Credential.h"
TestCredential::TestCredential(){}
TestCredential::~TestCredential(){}
void TestCredential::setUp(){
jsonText = "{\"access_token\" : \"ya29.ywFKZHlOuJI2YhtvuX-VGX88gi3JDbf6QIiP53qAndUvO1yMkWaAGmxLPSIyK_F9cA43\",\"token_type\" : \"Bearer\",\"expires_in\" : 3600... | [
"1100151@isep.ipp.pt"
] | 1100151@isep.ipp.pt |
9aa8bea2561b2ff3390f209b64ddbaeccd7300fd | 5d384c6ecbd9b1201b1e60f1ebde8f193fcc153b | /src/domain/UBGraphicsLineItem.cpp | 8048d4751d7cef24b0ab240c66da03e2a6e2860d | [] | no_license | GamalMohamed/RGB_IWB | 2cf5e7f7e0418a8dfd5797be0bbf22eda6d46810 | cd26e8413f7167fe2fad526cbebbc992659dbca8 | refs/heads/master | 2021-01-22T15:34:43.804749 | 2016-09-02T09:23:43 | 2016-09-02T09:23:43 | 63,418,651 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,465 | cpp | /*
* Copyright (C) 2010-2013 Groupement d'Intérêt Public pour l'Education Numérique en Afrique (GIP ENA)
*
* This file is part of Open-Sankoré.
*
* Open-Sankoré 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 Softwar... | [
"gamal.mohamed777@hotmail.com"
] | gamal.mohamed777@hotmail.com |
f0868b0c9e60283a3994186b568fe0a9d1d81c3a | bf062e172b9d35f76615278d9d43180a7caa8a94 | /prt/include/prtx/ResolveMap.h | ebb406ed2aa7429a7c89a601e05df322bb2942b3 | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | scottsorensenvision/esri-cityengine-sdk | ae357f72e114134833745f55f5574a03532cbe2f | 2b663df1a94c8ce9c6330f6b636e23462b9abba4 | refs/heads/master | 2021-01-01T18:45:48.572530 | 2017-10-11T18:24:47 | 2017-10-11T18:24:47 | 98,429,793 | 0 | 0 | null | 2017-07-26T14:06:37 | 2017-07-26T14:06:36 | null | UTF-8 | C++ | false | false | 3,159 | h | /*
COPYRIGHT (c) 2012-2017 Esri R&D Center Zurich
TRADE SECRETS: ESRI PROPRIETARY AND CONFIDENTIAL
Unpublished material - all rights reserved under the
Copyright Laws of the United States and applicable international
laws, treaties, and conventions.
For additional information, contact:
Environmental Syst... | [
"scott.sorensen@visionsystemsinc.com"
] | scott.sorensen@visionsystemsinc.com |
b1d44dde1f2f5f278e24c023f56973f1e30473fa | 68f51dec0a05162e687da24b5ba4f1b8fc7d5fb8 | /mods/surface/DrawMap.cpp | 4da92b3ae0879b6ca040c219dbd1d1f781256031 | [] | no_license | tearitco/VastSpace | d4a1059d4ad2359ee7818e6980762195def7c5e0 | 36313c3d1defe2c44dedd7eef8a2be4b735f99f7 | refs/heads/master | 2022-04-25T18:12:11.086174 | 2019-11-16T05:15:39 | 2019-11-16T05:15:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 76,048 | cpp | /** \file
* \brief Implementation of drawing a WarMap.
*/
#include "WarMap.h"
#include "drawmap.h"
#include "Player.h"
#include "astrodraw.h"
#include "draw/material.h"
#include "bitmap.h"
#include "cmd.h"
#include "glsl.h"
#include "draw/ShadowMap.h"
#include "draw/ShaderBind.h"
#include "StaticInitializer.h"
//#in... | [
"masahiro.sakuta@gmail.com"
] | masahiro.sakuta@gmail.com |
9c9389dd3c855deabcd3a59fa6c5c7bbbeb1db94 | 3438e8c139a5833836a91140af412311aebf9e86 | /media/capture/video/video_capture_buffer_pool_impl.h | 8265d70723ce44b5b26e0435a25a18fe1799f63c | [
"BSD-3-Clause"
] | permissive | Exstream-OpenSource/Chromium | 345b4336b2fbc1d5609ac5a67dbf361812b84f54 | 718ca933938a85c6d5548c5fad97ea7ca1128751 | refs/heads/master | 2022-12-21T20:07:40.786370 | 2016-10-18T04:53:43 | 2016-10-18T04:53:43 | 71,210,435 | 0 | 2 | BSD-3-Clause | 2022-12-18T12:14:22 | 2016-10-18T04:58:13 | null | UTF-8 | C++ | false | false | 3,383 | h | // Copyright (c) 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef MEDIA_VIDEO_CAPTURE_VIDEO_CAPTURE_BUFFER_POOL_IMPL_H_
#define MEDIA_VIDEO_CAPTURE_VIDEO_CAPTURE_BUFFER_POOL_IMPL_H_
#include <stddef.h>
#inc... | [
"support@opentext.com"
] | support@opentext.com |
c3dfaafb36dc2c5057aa56a5ec1b67a57c25b9b8 | 0c3b921ca4e2bfa530017126be847c4fa9300ef7 | /ex2/cpp_show_value.cpp | a5e5f19368201d20aef5472a691c353beccd8d1d | [] | no_license | RGoralewski/rpi-server-applications | 27d0104cda01604b8a1ec02f61dd5cdbf2a19b84 | 6eabbe2438ddefec01fd3a2b51aafe0de24ac26a | refs/heads/master | 2021-06-14T01:17:38.380395 | 2020-04-09T20:11:04 | 2020-04-09T20:11:04 | 254,467,680 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,473 | cpp | /**
******************************************************************************
* @file /ex2/cpp_show_value.cpp
* @author Radoslaw Goralewski
* @version V1.0
* @date 24-Mar-2020
* @brief Raspberry Pi, Serwer IoT Lab : Exercise 2, C++ program
********************************************... | [
"radekgoralewski@gmail.com"
] | radekgoralewski@gmail.com |
5057b3a9e60c74e56e6d7051640e3210eed7be9b | a27615f68b2abed861beff65f7395371031cc1ab | /fboss/agent/PortRemediator.cpp | d07bad88229dc32a1205baad4891fac850ff38af | [
"BSD-3-Clause"
] | permissive | aimeedonah/fboss | 23cf76f37f9d11a2589abe3da5178833e3d1d8dc | 155bab29641a07d06ec37c6743b3143c8cb37e6f | refs/heads/master | 2021-01-22T06:58:59.464475 | 2016-07-29T23:54:05 | 2016-08-02T01:48:42 | 64,756,204 | 1 | 0 | null | 2016-08-02T12:48:00 | 2016-08-02T12:47:59 | null | UTF-8 | C++ | false | false | 1,473 | cpp | /*
* Copyright (c) 2004-present, Facebook, Inc.
* 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. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
*/
#in... | [
"facebook-github-bot-6-bot@fb.com"
] | facebook-github-bot-6-bot@fb.com |
e624c7aa850a12015f946a3ec338ace872e9d4da | 7cefa345d31ed3fec2baca37b37d7874dd9be958 | /ncurses/attr.cpp | 0906cc68f801f202006c0aa34ede723230366235 | [] | no_license | genzyy/ncurses-library | 7b143ef19b9496ec035518a9aa0aa1121b9d4f6f | ebdc25ed0fe1b439342266492fab3ed1c0e71e67 | refs/heads/main | 2023-08-11T07:43:00.036283 | 2021-09-11T15:46:29 | 2021-09-11T15:46:29 | 353,333,799 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 982 | cpp | #include <ncurses.h>
int main()
{
initscr();
if (!has_colors())
{
printw("Error! the terminal has no colors");
getch();
return -1;
}
start_color();
init_pair(1, COLOR_BLACK, COLOR_GREEN);
if (can_change_color())
printw("Can change color");
else
... | [
"rishpandey8097@gmail.com"
] | rishpandey8097@gmail.com |
ff41c60704e9682ec74fe4375b5ae1c6a59e104d | 7545a1fd8fc81399c5bd5f2401d7b07afc1f6608 | /common/panel/PANEL_EDP_NT156WHM_N22_1366x768/VIP_Panel.cpp | 74808fc7131af2798b10667b5b74ddb44f9ceeb7 | [] | no_license | github-liping/test-git-repsitory | ce82e8adf23386886cc15df37be931ead722aa3f | 14a02f76b4249d0ff178924e460c935211c4e297 | refs/heads/master | 2020-04-23T09:41:33.472126 | 2020-03-15T14:40:23 | 2020-03-15T14:40:23 | 171,077,400 | 1 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 2,296,508 | cpp | #include <scaler/vipInclude.h>
#include <VipTableDef.h>
//=============================================================================
// ADC Gain Offset Table
//=============================================================================
ADCGainOffset m_defaultYPbPrGainOffsetData[] = {//size=SR_MAX_YPBPR_... | [
"337226734@qq.com"
] | 337226734@qq.com |
6e138dff6b3ad1a40f84ae7f2791391de8d37337 | 1ba3608ff91d1f134b93a9cddb08f4a7888a67ae | /libs/id3v2lib/src/util.cpp | 3894371439097c59585bb691cb9be021dfb63870 | [
"MIT",
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference",
"BSD-2-Clause"
] | permissive | corporateshark/PortAMP | 152278febc2bed9fab95a01865bbfa0306423916 | f2eca25f4addfb645b75b8d9f60f64a7070ed688 | refs/heads/master | 2023-05-26T18:40:18.936274 | 2023-05-23T09:02:18 | 2023-05-23T09:02:18 | 40,118,995 | 44 | 17 | null | 2015-10-20T21:02:45 | 2015-08-03T10:27:16 | C | UTF-8 | C++ | false | false | 3,702 | cpp | /*
* This file is part of the id3v2lib library
*
* Copyright (c) 2013, Lorenzo Ruiz
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "util.h"
unsigned int btoi(c... | [
"sk@linderdaum.com"
] | sk@linderdaum.com |
b488b5ea1797a28d9cdc2a52bf51def1f3c3ca36 | 2f3c4dd8e329e0baa2e4b316428160386371b57c | /src/common/param/FeatureFile.h | 6012bca071ad6c4f2ebae09f15c91c307cb5ac2e | [
"Apache-2.0"
] | permissive | atk-/bavieca-0014 | 3523453706cb50638c15a29aae100afc60aec727 | 031216739b4800285af717f22f44ecda54675139 | refs/heads/master | 2021-01-25T05:28:07.635709 | 2014-04-24T13:06:04 | 2014-04-24T13:06:04 | 19,105,930 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,490 | h | /*---------------------------------------------------------------------------------------------*
* Copyright (C) 2012 Daniel Bolaños - www.bltek.com - Boulder Language Technologies *
* *
* www.bavieca.org is the web... | [
"root@localhost.localdomain"
] | root@localhost.localdomain |
307385a976dfc097cd624902d6ca074bd58f068f | 02c08d8296b2759707dbcc143c4fa2f547b3d91f | /include/查找最小的k个数.cpp | 0faa1b8c1935dad6f44a551e570138c261054662 | [] | no_license | Haoyanlong/SwordOffer | b3df6df960785b30c8f46efa0f843891f464d33b | 16b0559c4d66325fa6cc9e990450dc54678d8e55 | refs/heads/master | 2020-03-07T04:00:33.799138 | 2019-11-26T13:32:20 | 2019-11-26T13:32:20 | 127,253,579 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,542 | cpp | #include<iostream>
#include<cstdio>
#include<cstring>
#include<cmath>
#include<algorithm>
#include<vector>
#include<set>
#include<stack>
#include<queue>
#include<map>
// 找出数组中最小的k个数
/*
使用最大堆排序
涉及应用到堆的四种操作:
make_heap(_First, _Last, _Comp): 建立堆(默认是最大堆),可以在第三个参数传入greater<int>()得到最小堆
push_heap(_First, _Last): 在堆中添加数据,... | [
"haoyanlong@kuaishou.com"
] | haoyanlong@kuaishou.com |
9a6cb72ae9a63609b6f13412d21b89a6234c30b8 | a90ff12383dcf99162545a5c6f710747b4d89151 | /listener/reader.cpp | 2a8be93e6761bb8bc4a10102ac3a51764a3a30c5 | [] | no_license | saiarcot895/adsb-data-storage | f613be1756109e717233f115b60d8add42fa3c7f | a40ba3a21566352c96addff9183b2c72789939ad | refs/heads/master | 2021-01-20T10:35:58.167160 | 2015-02-08T04:28:02 | 2015-02-08T04:28:02 | 30,170,239 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,228 | cpp | #include "reader.h"
#include <QDebug>
#include <QFile>
#include <QDataStream>
Reader::Reader(QString host, quint16 port, double offset, QObject *parent) :
QObject(parent),
socket(new QTcpSocket(this)),
timer(new QTimer(this)),
currentDate(QDate()),
host(host),
port(port),
offset(offset)
{
... | [
"saiarcot895@gmail.com"
] | saiarcot895@gmail.com |
9d4be0b50764efff506dda256470e58cfdb4d17c | f18ee2cde2043893acf3aad98aa7ecab7c650f8b | /Basic-Level/1047.cpp | 7c46b68be47f84b03bd7ccd583f5185ca358cd79 | [] | no_license | qymeng/Prepare-for-PAT | f5e6ad42c41dd73530d80a32e98b9c11bf5fc80a | 7551be7b6a845c62872c037c046d98cfb0c81ace | refs/heads/master | 2020-05-01T03:45:03.132563 | 2019-05-07T10:05:56 | 2019-05-07T10:05:56 | 177,253,357 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 670 | cpp | /* 1047 编程团体赛 */
#include <stdio.h>
#include <stdlib.h>
#define MAX_N 1000
#define SIZE 20
int main()
{
int total[MAX_N] = {0};
char buffer[SIZE];
int team, score, N, i, champion, max, useless;
//1.输入
scanf("%d", &N);
for (i = 0; i < N; i++)
{
scanf("%s%d", buffer, &score);
... | [
"1002395848@qq.com"
] | 1002395848@qq.com |
3217e597fc3c75d2fc0e3deda528050e15de75d6 | 9a79e230bf9a411aa14989d01c7d3b16ec06dbe0 | /src/qt/splashscreen.cpp | d5a9edd395c5c08d514afdb07b3e457381c7152d | [
"MIT"
] | permissive | fcecin/infinitum | 02ff75e86ed1e80922970a33c5167c64ede49b74 | ebead4bc77a95bf7d19cda5e88013a72f2fd5a9c | refs/heads/master | 2021-01-22T17:28:47.795413 | 2016-10-15T15:56:12 | 2016-10-15T15:56:12 | 69,108,854 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,059 | cpp | // Copyright (c) 2011-2015 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#if defined(HAVE_CONFIG_H)
#include "config/infinitum-config.h"
#endif
#include "splashscreen.h"
#include "networkstyle.h"
... | [
"fcecin@gmail.com"
] | fcecin@gmail.com |
d0831e55aa5f43a1599ab5a5da1a708833746dcd | 7752e20776d284062ed59070bf1163f33c61a4de | /src/qt/bitcoinstrings.cpp | e69a255f2babad922b2a07f3c160fa6ef3be9273 | [
"MIT"
] | permissive | medsi2/MIV | 1003b83769f0d3f450837d71bad0d71659e60d5c | c9838db98e177b39bcb3820a62812c5f57fd07b5 | refs/heads/master | 2021-01-20T00:02:34.295434 | 2017-04-22T18:08:05 | 2017-04-22T18:08:05 | 89,070,888 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,173 | cpp | #include <QtGlobal>
// Automatically generated by extract_strings.py
#ifdef __GNUC__
#define UNUSED __attribute__((unused))
#else
#define UNUSED
#endif
static const char UNUSED *bitcoin_strings[] = {QT_TRANSLATE_NOOP("bitcoin-core", "To use the %s option"),
QT_TRANSLATE_NOOP("bitcoin-core", ""
"%s, you must set a rpcpa... | [
"makeitviralofficial@gmail.com"
] | makeitviralofficial@gmail.com |
655d534a21b7b4ffb9ea7a96f9f9ff431b59ad3f | 474ef061afd8ae8dcaa4679501de33eb566a09b8 | /src/manager/StateMachine.cpp | a7f3bb968758be0dcfed2e87cc2d6af69802251f | [
"MIT"
] | permissive | Payotz/Nene_Quest | 17267498254b3dd30ceaf11fde3a04f4c2f530be | 46025e9950976edab1ee7d9e28f9cd8817b3ed4e | refs/heads/master | 2021-09-16T20:27:22.640847 | 2018-05-17T03:50:15 | 2018-05-17T03:50:15 | 101,536,768 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 689 | cpp | #include "StateMachine.h"
std::unordered_map<std::string, State*> StateMachine::state_list;
State* StateMachine::currentState;
State* StateMachine::getCurrentState(){
return currentState;
}
void StateMachine::initialize(){
state_list["First"] = new FirstState();
currentState = state_list["First"];
cu... | [
"josiah.cotas@gmail.com"
] | josiah.cotas@gmail.com |
ae3811a6f12af2ae8a39661a8b94d06420210d91 | 8b9b3ce53c2612455f23419eccfe5319afee7fb9 | /Game/Game/CharacterRenderComponent.h | e880ea3c6aa032c8b8fb0cb6da7f9653ef49d9e5 | [] | no_license | SeongyongShin/18_2_final | 9b2173a452cea9d59097a4587951bb6c545e3b93 | f6523fbf753a6c4985c66f844a0f5e6db4032a36 | refs/heads/master | 2020-05-26T19:50:04.577652 | 2019-05-24T04:48:07 | 2019-05-24T04:48:07 | 188,353,135 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 1,386 | h | #pragma once
#include "IComponent.h"
#include "DirectHeader.h"
#include <map>
#include "Sprite.h"
#include "CharacterEnum.h"
struct PlayerTexture {
CSprite sprite;
LPDIRECT3DTEXTURE9 texture;
float fFrameRate;
bool isTurn;
};
class CCharacterComponent;
class CCharacterRenderComponent :
public IComponent
{
f... | [
"ssystarsky@naver.com"
] | ssystarsky@naver.com |
6d5aaee6701b1223cfac517174a6b55417c2e30c | 58b39acf6f509fa7da9ba30599ddfb6a3f8614d7 | /HLS_SOURCE_CODE_COMMON/DDR/AXIS_TO_DDR_WRITER_VGA64/solution1/sim/autowrap/testbench/testbench.cpp_pre.cpp | 7cda05b6dc05e036b2b03be7aee046342bf1a258 | [] | no_license | stefano-mattoccia/SmartCamera | e7f4a9ed2cc16de93d662f8a2717002a174ecafe | cec9d3acf297179e0d2d2fb9de7c1e4684ef8da2 | refs/heads/master | 2022-05-24T17:12:59.697035 | 2022-05-17T14:38:52 | 2022-05-17T14:38:52 | 187,789,662 | 20 | 9 | null | null | null | null | UTF-8 | C++ | false | false | 1,578,084 | cpp | # 1 "C:/Users/Riccardo/Documents/Vision-pipeline-to-DDR/VIVADO_HLS/AXIS_TO_DDR_WRITER_VGA64/testbench.cpp"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "C:/Users/Riccardo/Documents/Vision-pipeline-to-DDR/VIVADO_HLS/AXIS_TO_DDR_WRITER_VGA64/testbench.cpp"
# 1 "C:/Users/Riccardo/Documents/Vision-pipeline-to-DDR/VIVADO_H... | [
"smatt@SMATT-MBPRO.local"
] | smatt@SMATT-MBPRO.local |
e5762e7977ab66465f1a9d0a7da470b3749c951b | eb39329d453a9bae5ab8e3fd25caa2e3d793589e | /src/try/static_duration.cpp | 99c32569520ad2379b5bb7c3088cebc6664b419f | [] | no_license | ledongthuc/cpp | 3481ed3851e311ca3e0e271ed5c7dad1ecce0685 | 8686730ce0c8ab145ee0250a045beb445c4f2058 | refs/heads/master | 2021-01-13T13:00:34.671031 | 2017-02-13T15:27:02 | 2017-02-13T15:27:02 | 78,727,642 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 645 | cpp | #include <iostream>
using namespace std;
void meetCounting() {
int number = 1;
std::cout << "I say hello " << number << " times" << std::endl;
number++;
}
void handshakeCounting() {
static int number = 2;
std::cout << "I handshake " << number << " times" << std::endl;
number += 2;
}
void goodbyeCounting... | [
"ledongthuc@gmail.com"
] | ledongthuc@gmail.com |
e6efe0e3797bf0686bf37a54e9db53ccedd51060 | 7ec1252264b829b524874745e5e0b517688ac5bd | /sweepLine.cpp | c799e5f990f8e42232225f13a3b2477d2472f687 | [] | no_license | DavidLee999/little_work | 774737d5e45812d4c989c4f72466646ee2971c5f | 46e9db95e5c93e88e0ea041fdf6d763127b4ccf8 | refs/heads/master | 2021-01-21T22:14:41.370964 | 2017-10-24T20:10:03 | 2017-10-24T20:10:03 | 102,137,653 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,013 | cpp | #include <set>
#include <vector>
#include <utility>
#include <algorithm>
#include <iostream>
using namespace std;
struct point
{
int x;
int y;
explicit point(const int& xx, const int& yy) : x{ xx }, y{ yy } {}
};
struct line
{
point lp;
point rp;
int type;
explicit line(const point& p1, ... | [
"MoonLee003@outlook.com"
] | MoonLee003@outlook.com |
e9dcf9fa47018af7b39263c797db3bdf3873f62e | 5681bd3821c0b9a3b7454e507c538f49622d51b4 | /inc/window.h | 5ad4873b7304011e50c963abe3b8edb4f0b5c585 | [
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | trevornunes/TouchControlOverlay | 8bc845d6221e14e45f8543efb962af96d5643f29 | 184890cf127734068744ec191fe72ad27a452dd6 | refs/heads/master | 2021-01-18T07:18:25.365617 | 2013-09-21T23:11:44 | 2013-09-21T23:11:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,369 | h | /*
* Copyright (c) 2011 Research In Motion 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 obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable l... | [
"trevor.nunes@gmail.com"
] | trevor.nunes@gmail.com |
216e7b253848b8a53392cc8436976a3ce3efe253 | a9c92ab3843393a6b8125a5ba27704ee82f84bb7 | /Hooks/sdks/RDSDK/SDK_HEADERS/WinDrv_classes.h | b0904a4fe02a1ea34bdb8cfd397a90edcae4d904 | [] | no_license | samehfido/ue3framework_ | 3b96bb298d102ef1ffe2e601749e8b9c4afff1b2 | fed1e8c1c30f68f35c0094e123e0d8f08e64af8e | refs/heads/master | 2022-11-06T13:36:28.293183 | 2013-09-06T01:32:24 | 2013-09-06T01:32:24 | 275,340,818 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 5,828 | h | /*
#############################################################################################
# Ravaged Beta (Beta) SDK
# Generated with TheFeckless UE3 SDK Generator v1.4_Beta-Rev.51
# ========================================================================================= #
# File: WinDrv_classes.h
# ======... | [
"thedomo@ff9f0ef9-23b7-4a27-a536-8baec26cb66f"
] | thedomo@ff9f0ef9-23b7-4a27-a536-8baec26cb66f |
64ce43836d46c1f37b1cd1fdc91cd6b0b7821340 | 7e081bc760b3bdd4c20105aee86c630928eda3e8 | /src/Camera.cpp | dc0e54156d502f55b5016b803a849de18ead1c03 | [] | no_license | pthurston/Roguelike-Game-Engine | 4e88cde64fbe75e487b489ff62f33952cea3532e | 5e0e2f97f6feeab4c21d3f14a732e72f1ff90f10 | refs/heads/master | 2021-01-20T03:36:41.732742 | 2017-03-09T16:56:45 | 2017-03-09T16:56:45 | 20,658,388 | 1 | 1 | null | 2017-03-09T16:56:46 | 2014-06-09T18:55:58 | C | UTF-8 | C++ | false | false | 2,050 | cpp | #include "Camera.hpp"
#include "Actor.hpp"
#include "Engine.hpp"
#include "Map.hpp"
Camera::Camera(int camWidth, int camHeight, Map *map, Actor *target) : camWidth(camWidth), camHeight(camHeight), map(map), target(target){
origin = Vector2(0,0);
}
Camera::~Camera(){
/*if(map)
delete map;
if(target... | [
"paul.thurston22@gmail.com"
] | paul.thurston22@gmail.com |
6cccc4b906562acd89b5443571998b185f1d79d1 | 544f0677c78a77e2e02afc206fc286512b43d014 | /games/SolarFox.hpp | 9d0378ab8c900777ee31cbedca0b07be28de80ec | [] | no_license | Nilexplr/Arcade | 7aa9cf02f10acb37b9e51e8469262fb90f268f57 | b4c32fb5f8452655bb03b2c26f8f6827b8f902fa | refs/heads/master | 2020-05-30T09:07:53.008082 | 2019-05-31T17:41:11 | 2019-05-31T17:41:11 | 189,634,570 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,220 | hpp | /*
** EPITECH PROJECT, 2019
** OOP_arcade_2018
** File description:
** SolarFox
*/
#ifndef SOLARFOX_HPP_
#define SOLARFOX_HPP_
#include "IGame.hpp"
class SolarFox : public Arcade::IGame {
public:
SolarFox();
~SolarFox();
void setCharacterPos(std::vector<std::vector<int>> character);
void setMap(const s... | [
"nicolas.garde@epitech.eu"
] | nicolas.garde@epitech.eu |
a3e20434906e612c0d6e4d64073318f7bdb664c1 | eee81611a5961254832c7ce8f0bd9357d400c6a3 | /libs/oss/others/APL/opencore/fileformats/mp4/parser/src/fontrecord.cpp | aa2481af48583b7ea231c84bab0e474f62acb0ed | [] | no_license | easycodec/emlinux-ssd1935 | ba829b2743529bf98bc229a69c27ed3dcb166a8d | 34782c27c8a4d7f915467637f8974c69345719e4 | refs/heads/master | 2020-07-30T14:12:19.210694 | 2016-01-09T10:09:45 | 2016-01-09T10:09:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,667 | cpp | /* ------------------------------------------------------------------
* Copyright (C) 1998-2009 PacketVideo
*
* 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.a... | [
"acassis@gmail.com"
] | acassis@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.