blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 2 247 | content_id stringlengths 40 40 | detected_licenses listlengths 0 57 | license_type stringclasses 2
values | repo_name stringlengths 4 111 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringlengths 4 58 | visit_date timestamp[ns]date 2015-07-25 18:16:41 2023-09-06 10:45:08 | revision_date timestamp[ns]date 1970-01-14 14:03:36 2023-09-06 06:22:19 | committer_date timestamp[ns]date 1970-01-14 14:03:36 2023-09-06 06:22:19 | github_id int64 3.89k 689M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 25
values | gha_event_created_at timestamp[ns]date 2012-06-07 00:51:45 2023-09-14 21:58:52 ⌀ | gha_created_at timestamp[ns]date 2008-03-27 23:40:48 2023-08-24 19:49:39 ⌀ | gha_language stringclasses 159
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 7 10.5M | extension stringclasses 111
values | filename stringlengths 1 195 | text stringlengths 7 10.5M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a8c86a07ff6fc533f738917a49970f1833d3901d | f5d87ed79a91f17cdf2aee7bea7c15f5b5258c05 | /MDE/GME/T2M/executor/Executor_App_Options.h | 170ef87f712ebdf81be489531288071342530968 | [] | no_license | SEDS/CUTS | a4449214a894e2b47bdea42090fa6cfc56befac8 | 0ad462fadcd3adefd91735aef6d87952022db2b7 | refs/heads/master | 2020-04-06T06:57:35.710601 | 2016-08-16T19:37:34 | 2016-08-16T19:37:34 | 25,653,522 | 0 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 946 | h | Executor_App_Options.h | // $Id$
//=============================================================================
/**
* @file Executor_App_Options.h
*
* $Id$
*
* @author James H. Hill
*/
//=============================================================================
#ifndef _CUTS_T2M_EXECUTOR_APP_OPTIONS_H_
#define _CUTS_T2M... |
a1ae4fe131b9e710f2e56f797e012404131c424a | ae6d3e45a39e43d5eea1bacd86276c3582db30ce | /package/core/core_module.hpp | 8818440311f9e488343aacd7418b02904c447696 | [
"MIT"
] | permissive | mambaru/wfc_core | 9a84cdae2025199e8f7e2dfacb77ceeaf09b3d14 | 3ed4ed26f1a3b3bc4b7737256587c3c778f716b8 | refs/heads/master | 2023-08-30T23:11:20.982761 | 2023-08-30T13:14:00 | 2023-08-30T13:14:03 | 153,644,525 | 0 | 0 | MIT | 2021-04-20T23:22:41 | 2018-10-18T15:13:33 | C++ | UTF-8 | C++ | false | false | 297 | hpp | core_module.hpp | //
// Author: Vladimir Migashko <migashko@gmail.com>, (C) 2013-2018
//
// Copyright: See COPYING file that comes with this distribution
//
#pragma once
#include <wfc/module/module.hpp>
namespace wfc{ namespace core{
class core_module
: public ::wfc::module
{
public:
core_module();
};
}}
|
5c6e4cef966c0037ddb1d32519bfcd97d694ad63 | 17353cfd2c984f2b57ab09dce5b793f34b051f19 | /src/plugProjectMorimuraU/testBase.cpp | 74b52e1ed3993705bf80479a4dabc286767801f1 | [] | no_license | mxygon/pikmin2 | 573df84b127b27f1c5db6be22680b63fd34565d5 | fa16b706d562d3f276406d8a87e01ad541515737 | refs/heads/main | 2023-09-02T06:56:56.216154 | 2021-11-12T09:34:26 | 2021-11-12T09:34:26 | 427,367,127 | 1 | 0 | null | 2021-11-12T13:19:54 | 2021-11-12T13:19:53 | null | UTF-8 | C++ | false | false | 5,094 | cpp | testBase.cpp | #ifndef _MORIMURA_TESTBASE_H
#define _MORIMURA_TESTBASE_H
#include "types.h"
#include "Vector3.h"
#include "Dolphin/string.h"
#include "JSystem/JKR/JKRDisposer.h"
namespace Screen {
struct ObjBase;
} // namespace Screen
namespace Morimura {
struct TTestBase {
// virtual functions go here
// _00 vtbl
ObjBase* _0... |
cebe8ae50b7ae5925d2f3f50019cf750d32cd406 | 6b40e9dccf2edc767c44df3acd9b626fcd586b4d | /NT/net/tapi/rtc/phoenix/src/media/testmix/walkmix.cpp | 7e476aabfb0a20e57123d11038d6e5f1383be487 | [] | no_license | jjzhang166/WinNT5_src_20201004 | 712894fcf94fb82c49e5cd09d719da00740e0436 | b2db264153b80fbb91ef5fc9f57b387e223dbfc2 | refs/heads/Win2K3 | 2023-08-12T01:31:59.670176 | 2021-10-14T15:14:37 | 2021-10-14T15:14:37 | 586,134,273 | 1 | 0 | null | 2023-01-07T03:47:45 | 2023-01-07T03:47:44 | null | UTF-8 | C++ | false | false | 16,596 | cpp | walkmix.cpp | /*++
File:
walkmix.cpp
Abstract:
Implements class for walking through mixer api.
--*/
#include <windows.h>
#include <mmsystem.h>
#include <stdio.h>
#include "walkmix.h"
char * GetCompTypeName(DWORD dwCompType);
char * GetControlTypeName(DWORD dwControlType);
char * GetControlClassName(... |
39b1c15bfa29012ad0a9fee26010d78c0d5e0347 | 60691e2e3cd27f25183d8d3ff6bf6a50628d2e21 | /Render/DataStructures/MeshRenderInformation.h | 7a9c2d5abf579b909618fa0887d4d5a84f85ec5b | [] | no_license | Binyamin-Brion/3DWorld | fa9619afaf4caa8615a6a45e942810a9a6433cc1 | 2acdd7812c2614b7ab6811b624f48b0db52ad13c | refs/heads/master | 2020-12-10T05:05:25.580670 | 2020-07-03T12:21:32 | 2020-07-03T12:21:32 | 233,508,514 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 691 | h | MeshRenderInformation.h | //
// Created by binybrion on 6/13/20.
//
#ifndef GAMEPROTOTYPE_MESHRENDERINFORMATION_H
#define GAMEPROTOTYPE_MESHRENDERINFORMATION_H
#include "../Textures/TextureID.h"
namespace Render::DataStructures
{
/**
* Stores the required rendering data to render a mesh, which is part of a Model.
*/
struct... |
809ba8ac79d414ab94d7824faa19bcf89e980d23 | 08b8c25f7fea9970647f31469e4be3bc48e5b86d | /uva-online-judge/accepted-solutions/514 - Rails.cpp | 3152a58a8fa0e929afde47f305fe38f20200a3a7 | [] | no_license | SharifulCSECoU/competitive-programming | ab55e458055c816877b16044a728af5a35af2565 | f7d4bb0cb156cc6044fe61e7ed508d5bdcf68a07 | refs/heads/master | 2020-04-05T03:05:10.770413 | 2018-11-07T06:59:28 | 2018-11-07T06:59:28 | 156,500,818 | 0 | 0 | null | 2018-11-07T06:30:40 | 2018-11-07T06:30:40 | null | UTF-8 | C++ | false | false | 1,403 | cpp | 514 - Rails.cpp | //*****************
// LAM PHAN VIET **
// UVA 514 - Rails
// Time limit: 3.000s
//********************************
#include <iostream>
#include <algorithm>
#include <cstdio>
#include <cstring>
#include <cctype>
#include <vector>
using namespace std;
#define For(i, a, b) for (int i=a; i<=b; i++)
#define maxN 1001
int ... |
f64d85ec5663b81254c3eb090d60db912065347b | 22ee72d875dec4e7e04ff42a217d28e307fdead0 | /src/Engine/LODModel.cpp | 21d9d783841db1706ece35040cb5e5964b57d3c8 | [] | no_license | GregorLamche/CSE-Project | 91512ce334149a9319e3c2154975f779d88787b5 | aff96045ce452f373cd514336650eba0a7fd112a | refs/heads/master | 2023-02-25T22:11:38.402528 | 2017-01-11T21:44:58 | 2017-01-11T21:44:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,174 | cpp | LODModel.cpp | #include "LODModel.h"
namespace engine
{
LODModel::~LODModel()
{
}
void LODModel::Initialize()
{
ofLog(OF_LOG_NOTICE, "Initializing LODModel: " + m_name);
};
void LODModel::Draw()
{
glPushMatrix();
glTranslatef(m_transform.getPosition().x, m_transform.getPosition().y, m_transform.getPosition().z);
... |
48f436d5fa32b48b23297b95a9fd1513b0f2f82e | 22cebbf3ddc30ca86c6b54014ff6344432ca608a | /src/graph/osg/CTranslate1DDragger.cpp | ee7600e64c250f8236fb791d996d117668c5cace | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | nneerr123/3dimviewer | fd35b79f619f657fd52fe1d18a78c08d9841fb27 | e23a3147edc35034ef4b75eae9ccdcbc7192b1a1 | refs/heads/master | 2022-04-08T22:41:10.162793 | 2020-03-03T08:32:14 | 2020-03-03T08:32:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,374 | cpp | CTranslate1DDragger.cpp | ///////////////////////////////////////////////////////////////////////////////
// $Id$
//
// 3DimViewer
// Lightweight 3D DICOM viewer.
//
// Copyright 2008-2016 3Dim Laboratory s.r.o.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the Licen... |
7d866f4d2877121def9cfdabf0fcce9fac899428 | c170981e6f5444f9467e3b7d8ed282e6ce20996a | /Exercise 3/Generator.cpp | 6c2ca7a76bb2ada37a77e956011969d146e1f65c | [] | no_license | Garriden/Real-Time_Design_Patterns | 1c0d515bec0bfa92015ea761ba672c45dd6f796a | f19824ffd255d54c6fc34ddac02fdbf7177401cf | refs/heads/master | 2020-12-11T10:38:38.308658 | 2020-01-16T06:37:31 | 2020-01-16T06:37:31 | 233,825,303 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 234 | cpp | Generator.cpp | //
// Created by garridom on 14/1/2020.
//
#include "Generator.h"
int Generator::run()
{
int randNumber = rand() % 3;
Event e = Event(static_cast<Event::Type>(randNumber));
outputPipe->push(e);
return randNumber;
}
|
3489584655c02ed67174d1960e2c80963e72e92f | 84ff5c17ba64d25380ad12393af32d3e3ba729f5 | /TiltSwitch.cpp | 2c65f53184271806249d37378e2e8cb6574c57b9 | [] | no_license | qiriro/BasicEducationShield | bea6087fd1b96b9ca9f720d172c80dd61b4cf555 | 7d630f2d1adeaa118626f546c9f61ae140c090f2 | refs/heads/master | 2023-03-16T04:49:43.981347 | 2016-05-09T11:40:14 | 2016-05-09T11:40:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 115 | cpp | TiltSwitch.cpp | #include "BasicEducationShield.h"
TiltSwitch::TiltSwitch(int pin, bool pressedValue):Button(pin,pressedValue){
}
|
b262ae73910a7dbd6870e5433c7547187aea7df4 | f7ee49080d4b940e68afbd89357743d9d0e6d32e | /common/system/inst_mode.cc | a1e7e5043b8b7e8ddfa2aba35434d5de235c1e70 | [
"MIT"
] | permissive | anujpathania/HotSniper | eae261d202ea43f7f529e94c4982995621bd7908 | 9cd2a8f6473625372d45f9ca315019ce190b143d | refs/heads/master | 2023-08-17T20:23:34.313699 | 2023-08-15T16:28:07 | 2023-08-15T16:28:07 | 87,197,006 | 63 | 28 | NOASSERTION | 2023-09-06T16:39:22 | 2017-04-04T14:31:28 | C | UTF-8 | C++ | false | false | 937 | cc | inst_mode.cc | #include "log.h"
#include "inst_mode.h"
const char * inst_mode_names[] = {
"INVALID", "DETAILED", "CACHE_ONLY", "FAST_FORWARD"
};
// Instrumentation modes
InstMode::inst_mode_t InstMode::inst_mode_init = InstMode::INVALID;
InstMode::inst_mode_t InstMode::inst_mode_roi = InstMode::INVALID;
InstMode::inst_mode_t In... |
6c6040a891bf18779086f5f45683a2357b710da7 | 602cad438099e731f44a14abfa97e663da0ac489 | /CommunicationXLib/Common/source/CommunicationModel/DeviceCommandSet/BaseClasses/DeviceCommandSetManagerBase.h | 94ab3f9f9de8eb96ccc5394b74d456c13e852d10 | [] | no_license | RIVeR-Lab/eposcmd | 011e85f61d4a4f87c648e5dacd066652bb0c21b8 | 8be4584aa41510555018cda09e9882bd8db8c561 | refs/heads/master | 2021-01-16T18:29:31.351698 | 2014-12-05T19:49:59 | 2014-12-05T19:49:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,124 | h | DeviceCommandSetManagerBase.h | // DeviceCommandSetManagerBase.h: Schnittstelle f�r die Klasse CDeviceCommandSetManagerBase.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_DEVICECOMMANDSETMANAGERBASE_H__CA2FE82D_A0B8_4525_8638_07517CCB6DF6__INCLUDED_)
#define AFX_DEVICECOMMANDSETMANAGERBASE_H__CA2FE82... |
9e361e751bdeb3ac0f5b3e032bc944a02604cdd2 | d468d856851990af88f1f80412d792e459af2b4f | /Sockets.cpp | 5b4442f8b50add657d821a86501fdd5ef7a7d2c8 | [] | no_license | jean-marc/objrdf | 27ed47a2ff6ee84d65476d3b1c2f5e39a4d24d34 | 3c83c11a10e2d9697e48bb81dff5a449d6ffb7a8 | refs/heads/master | 2020-05-17T07:59:00.765844 | 2017-10-04T18:35:01 | 2017-10-04T18:35:01 | 2,861,108 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,975 | cpp | Sockets.cpp | //
// Sockets.cpp
//
// this file contains the wrappers (implementation)
// that can be used as an IOStream-compatible TCP/IP or Unix sockets
//
// on Windows the program that uses this library
// should be linked with Ws2_32.lib
//
// Copyright (C) 2001-2008 Maciej Sobczak
//
// you can use this code for any purpose w... |
878de7f8a43dc4b702423670e707d9190312ebaa | ccb6d2726b7522af43004875e2e233bc1088774a | /carma/ui/rtd/common/ReaderWithTimeout.h | 5df62db2a94fad2f575cf26695197c51e3b69736 | [
"FSFUL"
] | permissive | mpound/carma | a9ab28ed45b3114972d3f72bcc522c0010e80b42 | 9e317271eec071c1a53dca8b11af31320f69417b | refs/heads/master | 2020-06-01T11:43:47.397953 | 2019-06-07T15:05:57 | 2019-06-07T15:05:57 | 190,763,870 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,054 | h | ReaderWithTimeout.h | #ifndef CARMA_UI_RTD_READERWITHTIMEOUT_H
#define CARMA_UI_RTD_READERWITHTIMEOUT_H
/*
* @file
*
* Reads from stdin with a timeout
*
* @author Steve Scott
* $id: $
*
* $CarmaCopyright$
*/
#include <sys/time.h>
#include <cstdio>
#include <string>
namespace carma {
namespace ui {
namespace rtd {
/**
* Read a... |
1add5065d6e7d3528a10151b247c5b6d02260fb0 | 1791461e6740f81c2dd6704ae6a899a6707ee6b1 | /Codeforces/713C.cpp | 9248c39870653f57c7965c58edb08959303e1b6a | [
"MIT"
] | permissive | HeRaNO/OI-ICPC-Codes | b12569caa94828c4bedda99d88303eb6344f5d6e | 4f542bb921914abd4e2ee7e17d8d93c1c91495e4 | refs/heads/master | 2023-08-06T10:46:32.714133 | 2023-07-26T08:10:44 | 2023-07-26T08:10:44 | 163,658,110 | 22 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 772 | cpp | 713C.cpp | #include<bits/stdc++.h>
using namespace std;
#define fi first
#define se second
#define SZ(x) ((int)x.size())
#define ALL(x) (x.begin(),x.end())
typedef long long ll;
typedef pair<int,int> pii;
typedef double db;
const int MAXN=6e5+10,MAXM=4e6+10;
const int INF=INT_MAX,SINF=0x3f3f3f3f;
const ll llINF=LLONG_MAX;
const i... |
3154e4651e7e01a8d02b64309524f34349eebedb | e5e1d16c96bb49edaaa82cb1d6fd6286fe0e2c5b | /src/graphics/Renderer.h | cbd9a0247a1b8f8350adb89209fc3e62b3e8e99a | [] | no_license | Goutch/SVO_Raytracer | c1f19b02d213fb47e79a7447f834208e44865d37 | 410d463d436fe7fe96c051220160617ed3e12cb2 | refs/heads/master | 2023-03-07T10:42:31.401179 | 2021-02-19T16:03:58 | 2021-02-19T16:03:58 | 280,725,281 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 464 | h | Renderer.h | #pragma once
class ShaderProgram;
class Mesh;
class Texture;
#include <GLFW/glfw3.h>
#include <string>
#include "list"
#include "Framebuffer.h"
class Renderer{
private:
Framebuffer* framebuffer;
Mesh* quad;
private:
GLFWwindow *window;
void createWindow(int width, int height, std::string name);
publi... |
0171d13a0a49c1260ca6d0c49785615e2820dd49 | f8ff8eab02c0688ded5a2b162b8675d0137eee34 | /fd/plotter.h | afafb655f7be5dd55ccc5583fcc259a543602649 | [] | no_license | Daniel-Lindberg/CompPhysicSoftware | 8860df28412762fe2a2857928420a6b083ad0495 | ed1b88865551b179242ed792877f7266ba58c1a4 | refs/heads/master | 2020-06-19T21:32:14.135921 | 2019-08-08T23:11:07 | 2019-08-08T23:11:07 | 196,881,885 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 300 | h | plotter.h | void plot(string descriptor, VD &field)
{
string filename = Name + "_" + descriptor + ".plt";
std::fstream f;
f.open(filename.c_str(),std::ios::out);
iLOOP
{
jLOOP f << dx*(i-1) << " " << dx*(j-1) << " " << field[pid(i,j)] << endl;
f << "\n";
}
f.close();
}
|
a1911af21ab8ec706cc455c737d1052b6e561c28 | d0a91e125e26c70ae3108a09f8715d6616fd7498 | /OpenGlDriver/src/OpenGlDriver/GlUtil.cpp | b9eaa70627883b654dd092224839802d6079c1dd | [] | no_license | minexew/StormGraph | cdf7353624987c6d2075af97e282e1640f796279 | dd8cb62de26f0fd6081b135a4385b1f47bbac4c8 | refs/heads/master | 2023-08-17T00:09:53.141166 | 2023-08-04T19:59:07 | 2023-08-04T19:59:07 | 73,623,438 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,613 | cpp | GlUtil.cpp | /*
Copyright (c) 2011 Xeatheran Minexew
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including... |
d7ff57099144ce77d4c4ee46f6f4f00dcad3cf34 | 14a0a0f1ce738cfa66e090d497a25576780a642f | /SelfWidget/hidesplit.h | b95d6c061415f914fe9a8b80a7c6fbcf8bc0b5e8 | [] | no_license | xibeilang524/Graphics | 155002bdc2b063cb89d9e651a2fcb606899ff7f7 | cae0e22697b370151148ba2101e71cf02b7c7cff | refs/heads/devport | 2021-07-16T14:38:34.210460 | 2017-03-31T03:41:28 | 2017-03-31T03:41:28 | 108,335,006 | 6 | 4 | null | 2017-10-25T22:55:05 | 2017-10-25T22:55:05 | null | GB18030 | C++ | false | false | 1,220 | h | hidesplit.h | /*************************************************
**版 权:RenGu Company
**文件名: hidesplit.h
**作 者: wey Version: 1.0 Date: 2016.09.25
**描 述:
**Others:右侧面板隐藏显示控制窗口
**
**修改历史:
**
*************************************************/
#ifndef HIDESPLIT_H
#define HIDESPLIT_H
#include <QWidget>
#include <QMap>
#in... |
1c145f453ff67d17343d5e16ed425bec8fc72640 | 34b3623dbd185b9d8e6bc5af787ff656ebb8f837 | /finalProject/results/test/test_height/wedge05/24/U | 2fca11a4fa1235ccee227fb374c107fb47ac7e5d | [] | no_license | kenneth-meyer/COE347 | 6426252133cdb94582b49337d44bdc5759d96cda | a4f1e5f3322031690a180d0815cc8272b6f89726 | refs/heads/master | 2023-04-25T04:03:37.617189 | 2021-05-16T02:40:23 | 2021-05-16T02:40:23 | 339,565,109 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 700,827 | U | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 7
\\/ M anipulation |
\*-------... | |
16a1cc4843d41223bdf89425ba13bbd7618cb8fa | 6cecd07f26ec061b4abb9464534e07e705f78f12 | /src/arm_examples/simple_arm_example.cpp | 81476f534d9fc4a77083aae990906f44adc791eb | [] | no_license | garimellagowtham/multirotor_manipulation_and_control_framework | 5509c7832600e91ab1924096dfafb49b7cd99cb3 | ec12bcf85b146353f817af34a47556dc6a7fdcac | refs/heads/master | 2021-01-11T18:04:06.882124 | 2017-01-19T18:48:31 | 2017-01-19T18:48:31 | 79,483,843 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,315 | cpp | simple_arm_example.cpp | #include <iostream>
#include <ros/ros.h>
#include <arm_parsers/simple_arm.h>
using namespace std;
boost::shared_ptr<ArmParser> arm_instance_;
void armFeedback(const ArmParser::ArmSensorData &sensor_data)
{
static ros::Time t1 = ros::Time::now();
ros::Time t2 = ros::Time::now();
ROS_INFO("Time diff: %f",(t2 - t... |
0bfab83718e9822f7f2444e2724c3856a45c6388 | 5de7df0be411b4bad61f927cae845bdb8223308f | /src/libs/rover/utils/rover_logging.hpp | 3a84807ab1cffeeba12dc5c9b489392c5a4a758c | [
"BSD-3-Clause",
"Zlib"
] | permissive | Alpine-DAV/ascent | cb40429167a93c62f78fe650a0121258be279162 | e52b7bb8c9fd131f2fd49edf58037cc5ef77a166 | refs/heads/develop | 2023-09-06T07:57:11.558238 | 2023-08-25T16:05:31 | 2023-08-25T16:05:31 | 81,366,855 | 151 | 61 | NOASSERTION | 2023-09-13T19:31:09 | 2017-02-08T19:21:22 | C++ | UTF-8 | C++ | false | false | 2,373 | hpp | rover_logging.hpp | //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~//
// Copyright (c) Lawrence Livermore National Security, LLC and other Ascent
// Project developers. See top-level LICENSE AND COPYRIGHT files for dates and
// other details. No copyright assignment is required to contribute to Ascent.
//~~~~... |
95fcafec5965cc39991ef38466f5a3c7c986d582 | 7d8b45c2d696e1efa7cf89a55468bfcce01c365b | /widgets/jdateinterval.h | cfa4e34d8e53361a93044905a8a3de06cc3279d2 | [] | no_license | leidensj/BKVale | e0bf4df0104183f15520375624c06d9e462fc36c | 8ea086adc5be988434efec447a3d07320c2b4009 | refs/heads/master | 2023-06-10T19:06:38.451219 | 2023-06-06T20:24:08 | 2023-06-06T20:24:08 | 79,849,395 | 0 | 0 | null | 2019-03-30T13:24:46 | 2017-01-23T21:21:41 | C++ | UTF-8 | C++ | false | false | 611 | h | jdateinterval.h | #ifndef JDATEINTERVAL_H
#define JDATEINTERVAL_H
#include <QWidget>
#include <QDate>
#include <QGroupBox>
class JDateEdit;
class QToolButton;
class JDateInterval : public QGroupBox
{
Q_OBJECT
public:
explicit JDateInterval(QWidget *parent = nullptr);
QDate getInitialDate() const;
QDate getFinalDate() const;
... |
6f0d1a955ccf8f46d844219de067cdc690484567 | 5dddbddafe980448921949602fc654a575eb6dc9 | /annotations.h | a0d7cbcea018b16cdf594f032f3e7c728f91ab05 | [] | no_license | benson-zerties/ImageAnalysis | 5e0e39af200b59e7002820b00cfbe5a5c1804765 | b85cdf08ee275fc5a5f58080f7e44ed48bbf9ddc | refs/heads/master | 2023-01-22T01:54:10.596006 | 2020-12-12T22:49:11 | 2020-12-12T22:50:42 | 320,933,642 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 662 | h | annotations.h | #include <fstream>
#include <filesystem>
#include "annotations.pb.h"
namespace fs = std::filesystem;
using namespace std;
class Annotations {
typedef annotations::Annotation Parser;
public:
Annotations(fs::path annotationFile);
~Annotations(){};
bool isFlaggedAsMisdetection(const str... |
ef5524462ca9190163c95f8de380feaaa011e587 | fcc777b709d795c4116bad5415439e9faa532d39 | /rongyu/homework1/file/2017161025_1182_正确_659.cpp | d2d71a45022861d0b5933299cc17384d51e66a94 | [] | no_license | demonsheart/C- | 1dcaa2128ec8b20e047ae55dd33f66a359097910 | f567b8ca4a4d3ccdf6d59e9fae5b5cea27ec85c1 | refs/heads/master | 2022-11-29T00:27:30.604843 | 2020-08-10T11:48:36 | 2020-08-10T11:48:36 | 283,923,861 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 342 | cpp | 2017161025_1182_正确_659.cpp | #include<bits/stdc++.h>
using namespace std;
char *strAdd(char *s1, char *s2)
{
char n_str[9999];
strcpy(n_str,s1);
strcat(n_str,s2);
return n_str;
}
int main()
{
int t;
cin>>t;
for(int i=0;i<t;i++)
{
char *a,*b,*c;
a=new char[999];
b=new char[999];
cin>>a>>b;
c=strAdd(a,b);
cout<<a<<" "<<b... |
43e9e9ef436de3ffc50e1ac2e35ef5cbcecb40a7 | 3643684e742fa60d10f4a20b7e1865e0c199d02f | /get_to_root.cpp | 6d0a8181b4c254033ff6b00697849186c71ceabc | [] | no_license | Cher-Fading/GetStuff | 8298fa5ac8109bc1c3b67061062959a0bcd040ec | d30cf4a701086b7646269b912d2d287bc142dc9d | refs/heads/master | 2022-12-17T21:02:40.368173 | 2020-09-20T09:54:09 | 2020-09-20T09:54:09 | 279,016,236 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,429 | cpp | get_to_root.cpp | #include <istream>
#include <ostream>
#include <sstream>
#include <dirent.h>
void get_to_root(const char *dataType = "")
{
ofstream out(Form("../GetStuff/%s_root.txt", dataType), std::ofstream::trunc);
std::string input = "/pnfs/usatlas.bnl.gov/users/cher97/rucio/user.xiaoning/";
DIR *dir1;
dirent *p... |
119b1901108668c7dfdb22f15835b90757b183ff | 9e397cdf3ea61878d30b27461532c378062512fe | /nxcord/src/discord_websocket.cpp | a0d09c279840e5b8e7c6e0f23f4806e1dabfa496 | [
"LicenseRef-scancode-warranty-disclaimer",
"MIT"
] | permissive | fossabot/NXCord | 3c90b8351fb977117814349882b7bf062f8fe68a | caf3cb39deb08bf4ea71fcc740b439528dc9ac8d | refs/heads/master | 2020-12-21T04:16:09.212970 | 2020-01-26T11:35:31 | 2020-01-26T11:35:31 | 236,303,439 | 0 | 0 | MIT | 2020-01-26T11:35:30 | 2020-01-26T11:35:29 | null | UTF-8 | C++ | false | false | 4,744 | cpp | discord_websocket.cpp | #include <fcntl.h>
#include <netinet/in.h>
#include <netinet/tcp.h>
#include <poll.h>
#include <switch.h>
#include <sys/socket.h>
#include <common/logger.hpp>
#include <nxcord/discord_websocket.hpp>
ssize_t recv_callback(wslay_event_context_ptr ctx, uint8_t *buf, size_t len,
int flags, void *use... |
269ba0e36458e4ee2ee614432926c2f8c1fc6005 | a2b2e7496e604d6921dc8400120501bc9435ba16 | /src/pelmeni/system/BlueprintManager.cpp | eed47f3eb7b6635f8dbc54dda8ac8f4f98fc764a | [] | no_license | tomvidm/Pelmeni2D | aae4f18dbaf54361ae139ef8c14c50bbdcd4c257 | 1366459c471cdbf52cf5f044d2a0369c0436ad2d | refs/heads/master | 2021-03-30T22:53:45.084594 | 2018-07-13T13:45:21 | 2018-07-13T13:45:21 | 124,583,807 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,260 | cpp | BlueprintManager.cpp | #include <cstdio>
#include <cassert>
#include "json/Helpers.hpp"
#include "graphics/SpritePack.hpp"
#include "system/BlueprintManager.hpp"
namespace p2d { namespace system {
Blueprint& BlueprintManager::get(const Blueprint::id& blueprintId) {
return blueprintMap.at(blueprintId);
}
... |
5fb57f35e7c97b2463583910e1cb13a7d792123b | 452e9eee2388d74b579c2bcb1f7aa672cf5a5e05 | /DRM_Watch/DRM_Watch.ino | 1d65e0b0b07a69b663d0375e1e3bcd15fbf960c0 | [] | no_license | drfailov/DrmWatch | b5c8b31dc7db0accb311f3a318bdf29a77bbe212 | 4879d96628fdfb4735289459a6a581174f89552d | refs/heads/master | 2021-01-11T17:39:22.334703 | 2017-01-23T15:03:31 | 2017-01-23T15:03:31 | 79,814,810 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,561 | ino | DRM_Watch.ino |
/* 84x48 LCD Defines: */
/*
* DESIGNED BY MESSER
* PROGRAMMED BY DR. FAILOV
* ASSEMBLED IN UKRAINE
*/
#define LCD_WIDTH 84 // Note: x-coordinates go wide
#define LCD_HEIGHT 48 // Note: y-coordinates go high
#define MODE_CLOCK 0
#define MODE_SET_MINUTES 1
#define MODE_SET_HOURS 2
int mode = 0;
void ... |
4e68831a37dac731b55666dbd91f02eff82543d0 | bf7bd3ce02bbdbcb26d99903de22e0034021d622 | /strong/src/socket_sink.cpp | 59bddbc344de6b734d06254c750c6c779e6d54c8 | [] | no_license | iamxinnian/randquery | deee33bfdf3c8b4ac9dc60473c7d398bc1f83d27 | 350e5ccd3a780ef45c4da1341106906ff78131e7 | refs/heads/master | 2022-05-22T04:26:18.444324 | 2020-04-24T08:33:34 | 2020-04-24T08:33:34 | 258,441,519 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,937 | cpp | socket_sink.cpp | #include "socket_sink.h"
#include <sys/time.h>
#include <semaphore.h>
#define SINK_IPADDR "192.168.3.102"
#define SINK_PORT 8989
extern int errno;
extern int sink_socket;
extern int sink_num;
static char recv_finsh=0;
static sqlite3 * mydb=0;
pthread_mutex_t socket_mutex;
sem_t sem_pthread;
extern int ping_status(con... |
46f81952bdf1f977f6313e604fc4c840d8f8c403 | eee0588d6c92b1bc093716ac84969a47a8159e38 | /Dia/DiaMaths/Shape/2D/Triangle2D.cpp | 718f63be84b9de085edbf6e24abdd765209871c5 | [] | no_license | LenihanConor/Cluiche | bf919ef721d901ba2a23646e70444803e0fe5781 | 1b65c5861a2354a81fbf1ed63fb0e7620b635d0d | refs/heads/master | 2023-06-28T19:45:52.811023 | 2023-06-20T18:20:58 | 2023-06-20T18:20:58 | 37,433,420 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,917 | cpp | Triangle2D.cpp | #include "DiaMaths/Shape/2D/Triangle2D.h"
#include "DiaMaths/Shape/Common/IntersectionTests.h"
#include "DiaMaths/Shape/2D/Circle2D.h"
#include "DiaMaths/Shape/2D/Line2D.h"
namespace Dia
{
namespace Maths
{
//----------------------------------------------------------------------------------------------------
Ve... |
ac1e6eb1023ddac32090a9e9b612ea0c83554c84 | 9b8147ba98c8d335505cb899ff7a3222c6f44a24 | /include/GameEngine.hpp | d3054c0de5dbcc0b314d9c10913cfa73cd423295 | [] | no_license | carcag/gauntlet | 582848e74b30526906be815df32aa3aad1565943 | d8956cef85ce9a323d3a1a067913586312b8eade | refs/heads/master | 2021-01-21T15:00:37.041360 | 2017-05-22T07:33:07 | 2017-05-22T07:33:07 | 91,828,594 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 471 | hpp | GameEngine.hpp | #ifndef GAMEENGINE_HPP_
# define GAMEENGINE_HPP_
# include <stack>
# include "irrlicht.h"
# include "StateManager.hpp"
# include "EventReceiver.hpp"
class GameEngine {
private:
StateManager *state_manager_;
irr::IrrlichtDevice *device_;
EventReceiver *event_receiver_;
public:
GameEngine();
~GameEngine();
bool... |
16ad73c7798e17126dd686329b06013549dbc96b | 0ffa335aa1e464a1995f345d3588a8b9a263085d | /stack (implemented by linkedlist)/stack.cpp | 82d758f1de954fec2378af81e45022d9088e77c0 | [] | no_license | dbvdb/stack | c20969e99aae822db6cf2acb3bd1eab9faf93d24 | 98dc5a7264941dd7c0846ef12b1b71c3ea624051 | refs/heads/master | 2021-07-09T11:15:32.116212 | 2017-10-05T19:30:41 | 2017-10-05T19:30:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,768 | cpp | stack.cpp | /*
* this code is written by ---> danial bidekani
* in Sept 9th 2016, and implement a dynamic stack
* be curious, think recursive :)
*/
#include <iostream>
#include "stack.h"
//-------------------------------------------->>>node(int )
node::node(int data)
{
this->data = data;
this->next = NULL;
}
//------------... |
c87867f4a4c47547f5da937dfc3be486b9121c53 | 021742c78b2069091da8050921d26bbcef8f9266 | /lab2/TCP/TCP/TCPRdtReceiver.h | 9fde06e8f5c65e31d6b8a2cfc41932923e98ea1b | [] | no_license | summkk/net | 301c436cf50410914650b14a36b6e003f578cf98 | f0d9e22de70ef6145a8be4440f2d49d6cc31f8b7 | refs/heads/master | 2020-04-17T17:21:33.222642 | 2019-01-23T13:34:22 | 2019-01-23T13:34:22 | 166,774,450 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 324 | h | TCPRdtReceiver.h | #pragma once
#include "RdtReceiver.h"
class TCPRdtReceiver :public RdtReceiver
{
int expectNextSeq; // 期待收到的下一个报文序号
Packet lastAckPkt; //上次发送的确认报文
public:
TCPRdtReceiver();
~TCPRdtReceiver();
public:
void receive(Packet &packet); //接受报文,被NetworkService调用
}; |
a5197f310070afe9cdba8b4763dd3850bfce398c | 6de1e4199216517c9247bd5103476c33a7c98c22 | /AdvanceLevel/1088. Rational Arithmetic.cpp | db17706122d5de89623e71a59d3b6e712a9168f9 | [] | no_license | Aiden68/PAT | 9da832b5999afc5d55c3f58a39bb07dad76c89f9 | a01df198ff75bc1209b86ced79a34a5155efc11d | refs/heads/master | 2021-01-12T10:08:38.073835 | 2017-03-03T07:46:16 | 2017-03-03T07:46:16 | 76,371,489 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,950 | cpp | 1088. Rational Arithmetic.cpp | #include<iostream>
#include<string>
using namespace std;
long int n,m;
long int maxDivisor(long int m,long int n)
{
while(n != 0)
{
long int temp = m;
m = n;
n = temp % n;
}
return m;
}
void solve(long int &a,long int &b)
{
long int maxd = maxDivisor(abs(a),abs(b));
a /= maxd;
b /= maxd;
}
void output(lo... |
74e1c727e59f3221d87265f91cd1779415194690 | c7c73566784a7896100e993606e1bd8fdd0ea94e | /pandatool/src/eggbase/eggMultiFilter.cxx | 981c8ad4cf362dfbff9de28875aee8839b0083f4 | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | panda3d/panda3d | c3f94df2206ff7cfe4a3b370777a56fb11a07926 | 160ba090a5e80068f61f34fc3d6f49dbb6ad52c5 | refs/heads/master | 2023-08-21T13:23:16.904756 | 2021-04-11T22:55:33 | 2023-08-06T06:09:32 | 13,212,165 | 4,417 | 1,072 | NOASSERTION | 2023-09-09T19:26:14 | 2013-09-30T10:20:25 | C++ | UTF-8 | C++ | false | false | 6,563 | cxx | eggMultiFilter.cxx | /**
* PANDA 3D SOFTWARE
* Copyright (c) Carnegie Mellon University. All rights reserved.
*
* All use of this software is subject to the terms of the revised BSD
* license. You should have received a copy of this license along
* with this source code in a file named "LICENSE."
*
* @file eggMultiFilter.cxx
* @... |
4f32923e2ca9fa4b0dc0bf578418aa8d3608a8aa | 8734b6d1fffc077dbb6b351c794e1557f134ab2e | /Engine/SNetEngine.h | 4910762694cff2326b8dd5d9070c3eed5f17bd0d | [] | no_license | hixio-mh/Sung | 2a23c8c96e75f95c203c28afc9e6485fc84d0c46 | 384e601ea47432a4a263bb4d646fc835a7c888e8 | refs/heads/master | 2021-06-04T23:41:36.928822 | 2012-10-14T08:06:40 | 2012-10-14T08:07:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,249 | h | SNetEngine.h | //
// SNetWorkEngine.h
//
#ifndef SNETENGINE_H
#define SNETENGINE_H
#include <boost/asio.hpp>
#include <sstream>
#include "SNetDevice.h"
#define BUFFER_SIZE 1024
namespace Sung
{
class NetConsole;
class NetMachine;
class TcpSocket;
class NetworkAuth
{
public:
std::string mAcctName;
int mAcctId;
TcpSoc... |
017a78417e1dc3dd854259deca83c8aecc4ef46e | 1d103aa47ed97aadbbba4b2399aba309101cb83f | /src/cApp.hpp | 7d84a9f1727d19c0feece9ac9321412039cf27f3 | [
"MIT"
] | permissive | wolfman2000/tim-jones-sdl | 51d6e1e72b320c6226d0cfe05b4aa4ae2d60d0ca | 86eed6d911e8f01c649bb6e971d968b7fe963083 | refs/heads/master | 2020-05-09T20:33:44.722804 | 2015-07-05T20:04:18 | 2015-07-05T20:04:18 | 38,083,748 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,016 | hpp | cApp.hpp | #ifndef C_APP_HPP_
#define C_APP_HPP_
#include <memory>
#include <array>
#include "SDL.h"
#include "cAnimation.hpp"
#include "cEntity.hpp"
#include "cEvent.hpp"
class CApp: public CEvent {
public:
CApp();
int OnExecute();
bool OnInit();
void OnEvent(SDL_Event* event);
void OnLoop();
void O... |
2ff857e3a4f533c415d0a2fc1578d779957d8012 | 0038d5de40ad930415645beaf07b479632ad446b | /Algorithm/백준 2479/LeeMyeongbo/LeeMyeongboSolution.cpp | f304cd4a5276507c29c8b5f8462e02579481390c | [] | no_license | SeMin4/Algorithm-Skillup | 65adb5aad0a36a22a39463fb907e8c18d81e211c | 0e34d1e94d489d411990d83a0a80899f0746ed10 | refs/heads/master | 2022-12-31T04:03:05.773933 | 2020-10-18T10:00:40 | 2020-10-18T10:00:40 | 280,419,350 | 2 | 11 | null | 2020-10-18T09:54:07 | 2020-07-17T12:32:38 | Java | UHC | C++ | false | false | 866 | cpp | LeeMyeongboSolution.cpp | #include <iostream>
#include <queue>
using namespace std;
int N, K, Start, End;
bool visited[1001];
string code[1001];
bool BFS()
{
queue<vector<int>> q; // (현재 코드 번호, 길이)
vector<int> v;
v.push_back(Start);
q.push(v);
visited[Start] = true;
while (!q.empty())
{
vector<int> v = q.front();
int cur = v.back... |
36d967749474dd5dec62736d02e97a21b60ac330 | c7f110a7bd9d40b0d0f1c2de7c2456f27042691b | /lights/AreaLight.cpp | c118731cdf5d133343e7dc80d75a8826437c4423 | [] | no_license | PFNK/RayTracer | aa94fda297cc2669eced84604143e7d738e36ad7 | d8b0167636bc4de7387841668acfd7b5de5ca155 | refs/heads/master | 2023-09-04T19:27:37.940072 | 2021-11-18T17:14:15 | 2021-11-18T17:14:15 | 422,847,516 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,069 | cpp | AreaLight.cpp | /*
* AreaLight.cpp
*
*
*/
#include "AreaLight.h"
#include "math/geometry.h"
#include <vector>
namespace rt{
AreaLight::AreaLight():LightSource(){}
AreaLight::~AreaLight(){}
/**
* Prints light data
* this function implements the abstract function of the base LightSource class
*/
v... |
eb31ddf63618aa75e9d3510c1f55b9af8a1b4f01 | 202b96b76fc7e3270b7a4eec77d6e1fd7d080b12 | /modules/logdoc/special_attr.h | 9252c92ada20c551d08a9366348f8e8ccb995ebf | [] | no_license | prestocore/browser | 4a28dc7521137475a1be72a6fbb19bbe15ca9763 | 8c5977d18f4ed8aea10547829127d52bc612a725 | refs/heads/master | 2016-08-09T12:55:21.058966 | 1995-06-22T00:00:00 | 1995-06-22T00:00:00 | 51,481,663 | 98 | 66 | null | null | null | null | UTF-8 | C++ | false | false | 650 | h | special_attr.h | /* -*- Mode: c++; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*-
**
** Copyright (C) 1995-2000 Opera Software AS. All rights reserved.
**
** This file is part of the Opera web browser. It may not be distributed
** under any circumstances.
*/
#ifndef COMPLEX_ATTR_H
#define COMPLEX_ATTR_H
class ComplexAttr
... |
b9cc9cbd605c8f50b772ddda8569017bde2cd5d5 | 85d401ada0cb12a02033275d157743412f4870b0 | /poj/p2987_datamaker.cpp | ebf644716b65fb32f81c07052b98631d081a5a3a | [] | no_license | csimstu/OI | 4535025f0b6a6c63caf5487a6d806f772086ebc5 | b5f4eadd6ad180a9ee26b7ae336ede7b980314a9 | refs/heads/master | 2021-01-22T02:03:33.264345 | 2013-04-05T12:08:41 | 2013-04-05T12:08:41 | 2,553,733 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 379 | cpp | p2987_datamaker.cpp | #include <cstdio>
#include <cstdlib>
int n, m, seed;
int main()
{
freopen("t.in", "w", stdout);
scanf("%d%d%d", &n, &m, &seed);
srand(seed);
printf("%d %d\n", n, m);
for(int i = 0; i < n; i ++)
printf("%d\n", rand() * rand() % 10000000);
for(int i = 0; i < m; i ++)
{
int u = rand() % n + 1;
i... |
1285f7e968f8c1df9d1cb55a031820db458b8909 | 8d8aa5b9ff3d4fbc5d28fbd4d643db3dba55c436 | /include/inferno/python/learning/learners/export_subgradient.hxx | 18bbcf0d78ea29c4061bdbd46b156b4190b8ece1 | [
"MIT"
] | permissive | DerThorsten/inference_inferno | a8d8a0b7665dc4acd23e78f1163ed4fcf0edb426 | ef4cc150e68009df5f39f0e8209075bce95282dd | refs/heads/master | 2021-05-30T06:40:35.055091 | 2015-11-17T12:27:49 | 2015-11-17T12:27:49 | 29,422,515 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,951 | hxx | export_subgradient.hxx | #ifndef INFERNO_PYTHON_LEARNING_LEARNERS_EXPORT_SUBGRADIENT_HXX
#define INFERNO_PYTHON_LEARNING_LEARNERS_EXPORT_SUBGRADIENT_HXX
// boost python related
#include <boost/python/detail/wrap_python.hpp>
#include <boost/python.hpp>
#include <boost/python/module.hpp>
#include <boost/python/def.hpp>
#include <boost/python/e... |
249b84b01102e10c9cf27d1e622698e4ba1d8ca2 | 01a954fc0ec36102a608c48e9d8fb6ba76e372a6 | /10340 DP LCS.cpp | da5d0bc2b2f633b057922b5f419e7e1f93115081 | [] | no_license | tawsifsazid/Uva-Solutions | 2b3a0487f6a116ef9789d31ae140820c0772a6f2 | 714186d865960ebe789a77876f57791b1ffc29c6 | refs/heads/master | 2020-03-18T09:53:55.013017 | 2019-09-05T05:02:15 | 2019-09-05T05:02:15 | 134,585,908 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 908 | cpp | 10340 DP LCS.cpp | #include<bits/stdc++.h>
#define N 1005
#define ll long long
using namespace std;
int res,ct,cases,n;
string A,B;
int dp[500][500],len1,len2;
int trydp(int p1,int p2){
if(p1 == len1 || p2 == len2 )return 0;
if(dp[p1][p2] != -1) return dp[p1][p2];
int r1=0,r2=0,r3=0;
if(A[p1] == B[p2])return ... |
ce4f8f287ab2cba38ac2b8ec5e35a4711d8a7b24 | 45ba20119fe1a559cdcbe632d0b7993f05d41335 | /IoTSW_11_진우빈(2015104124)/Lab&Assignment_Code/ass3-2_2_1/ass3-2_1_1/ass3-2_1_1.ino | 06f62f71628108d999347cde4f9e8e3af8b00a13 | [] | no_license | andyworkingholiday/IoT_Software | fd3ac57bd1616e08d2350dbedb875afa38148809 | bfce06eded3ab8fc0217a2bc9d223fc2d3eab749 | refs/heads/master | 2021-05-19T07:31:30.014917 | 2020-09-28T10:34:23 | 2020-09-28T10:34:23 | 251,586,131 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 892 | ino | ass3-2_1_1.ino | #include <FreeRTOS_AVR.h>
#define MS2TICKS(ms)(ms/portTICK_PERIOD_MS)
#define LED 5
#define BUZZER 9
enum {REST=0, DO=262, RE=294, MI=330, FA=349, SOL=392, LA=440, SHI=494, DO2=523};
int Num = 9;
int Frequency[]={DO,RE,MI,REST,FA,SOL,LA,SHI,DO2};
int Delay[]={500,0,500,500,500,500,1000,0,500};
void LedTask(void* ar... |
e1a9332f213e11a89a405520cd75131a70da77c0 | dc568b92ce7a5ec226191f3a14893798e1303359 | /XWCWallet/functionBar/FunctionExchangeWidget.h | 08f6eadbeb90fbf2dc5f654274b4f6509bb3cffe | [
"MIT"
] | permissive | Whitecoin-XWC/Whitecoin-qt | 38ca7959045306a09d56f03b0637138363774e44 | 7794a0057b63d004dd74ce68dba1a13e4b768502 | refs/heads/develop | 2022-12-07T11:58:51.733154 | 2022-11-22T05:53:42 | 2022-11-22T05:53:42 | 202,651,142 | 4 | 2 | null | 2021-07-07T14:10:23 | 2019-08-16T03:21:59 | C++ | UTF-8 | C++ | false | false | 926 | h | FunctionExchangeWidget.h | #ifndef FUNCTIONEXCHANGEWIDGET_H
#define FUNCTIONEXCHANGEWIDGET_H
#include <QWidget>
namespace Ui {
class FunctionExchangeWidget;
}
class FunctionExchangeWidget : public QWidget
{
Q_OBJECT
public:
explicit FunctionExchangeWidget(QWidget *parent = 0);
~FunctionExchangeWidget();
void ... |
79e3f5a49419a605123fd192a540f30cac6248df | 7ee18aa256587f7ace1640ecc647dc5719c2da61 | /jni/exnihilope/ExNihiloPE.cpp | 6649190174748aa01868614b9431ed1b6b7f0083 | [
"Apache-2.0"
] | permissive | Virtualoso/ExNihiloPE | 3491ba06548075284114ff89178d5ffa50c03ad7 | 8a3636ff72456a6ae156f23ea79d871fa3721754 | refs/heads/master | 2021-06-21T09:31:44.923842 | 2017-07-27T16:29:20 | 2017-07-27T16:29:20 | 83,483,622 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 873 | cpp | ExNihiloPE.cpp | #include "ExNihiloPE.h"
#include "blocks/ENBlocks.h"
#include "items/ENItems.h"
#include "registries/manager/ExNihiloDefaultRecipes.h"
#include "registries/HammerRegistry.h"
#include "registries/CrookRegistry.h"
#include "tessellator/BarrelTessellator.h"
ExNihiloDefaultRecipes* ExNihiloPE::defaultRecipes;
void ExNih... |
1341b76dfd6b63724de7713bde8789d47d8af488 | a87f87063b6e34b2ed1d379613bfd9b5fcf32a6f | /Project 3/Prj3/linkedlist.h | f4a4584037a29b6f7a462517e3339a95482a0680 | [] | no_license | Altunshukurlu/CS331-C-plus-plus | a17d48add5cb54b17c5529645d96a1ce85ef3f7e | 41a92174fe6cd6b164734dc12b3886f2e35776d3 | refs/heads/master | 2021-01-13T00:50:18.659525 | 2016-02-19T22:17:39 | 2016-02-19T22:17:39 | 52,120,109 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,155 | h | linkedlist.h | //
// linkedlist.h
// Prj3
//
// Created by Altun Shukurlu on 6/7/14.
//
//
#ifndef Prj3_linkedlist_h
#define Prj3_linkedlist_h
#include <iostream>
using namespace std;
template <typename Type>
class LinkedList
{
public:
LinkedList();//Constructor
~LinkedList();//Destructor
void insert(const Type... |
c9023970fdc68703e17f97e4bb8ef7bcb95d2502 | 627d4d432c86ad98f669214d9966ae2db1600b31 | /src/gui/painting/qdrawhelper_sse3dnow.cpp | b83d6d7f1e64b82531ba81e9fff6359161d0bd3d | [] | no_license | fluxer/copperspice | 6dbab905f71843b8a3f52c844b841cef17f71f3f | 07e7d1315d212a4568589b0ab1bd6c29c06d70a1 | refs/heads/cs-1.1 | 2021-01-17T21:21:54.176319 | 2015-08-26T15:25:29 | 2015-08-26T15:25:29 | 39,802,091 | 6 | 0 | null | 2015-07-27T23:04:01 | 2015-07-27T23:04:00 | null | UTF-8 | C++ | false | false | 4,586 | cpp | qdrawhelper_sse3dnow.cpp | /***********************************************************************
*
* Copyright (c) 2012-2015 Barbara Geller
* Copyright (c) 2012-2015 Ansel Sermersheim
* Copyright (c) 2012-2014 Digia Plc and/or its subsidiary(-ies).
* Copyright (c) 2008-2012 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.... |
8bc76576db2af526ac583062eaee85c288c89541 | 6540ac51373d533fc6bd88ff2b22c4e26f9960c3 | /src/DioInfo.cpp | da65a32b4f8892cdaedd8839ab269e3ebcb01c66 | [
"MIT"
] | permissive | mccdaq/uldaq | 92e09dbe3d189f35156731ce09cf74a56d5336aa | 1d8404159c0fb6d2665461b80acca5bbef5c610a | refs/heads/master | 2022-05-02T14:49:01.623605 | 2022-03-22T01:52:43 | 2022-03-22T01:52:43 | 131,733,031 | 88 | 38 | MIT | 2020-05-11T21:48:24 | 2018-05-01T15:59:13 | C | UTF-8 | C++ | false | false | 6,167 | cpp | DioInfo.cpp | /*
* DioInfo.cpp
*
* Author: Measurement Computing Corporation
*/
#include "DioInfo.h"
namespace ul
{
DioInfo::DioInfo()
{
mDiHasPacer = false;
mDoHasPacer = false;
mDiMinScanRate = 0;
mDiMaxScanRate = 0;
mDiMaxThroughput = 0.0;
mDiMaxBurstRate = 0;
mDiMaxBurstThroughput = 0.0;
mDiScanOptions = SO_DE... |
b1525719188541dd9cc6640368b6e44adab4a206 | 58a0ba5ee99ec7a0bba36748ba96a557eb798023 | /CodeForces/Complete/400-499/459A-PashmakAndGarden.cpp | b321eef331ab48936df241ea0dc9ffbe97083454 | [
"MIT"
] | permissive | adityanjr/code-DS-ALGO | 5bdd503fb5f70d459c8e9b8e58690f9da159dd53 | 1c104c33d2f56fe671d586b702528a559925f875 | refs/heads/master | 2022-10-22T21:22:09.640237 | 2022-10-18T15:38:46 | 2022-10-18T15:38:46 | 217,567,198 | 40 | 54 | MIT | 2022-10-18T15:38:47 | 2019-10-25T15:50:28 | C++ | UTF-8 | C++ | false | false | 749 | cpp | 459A-PashmakAndGarden.cpp | #include <cstdio>
#include <cmath>
int main(){
int x1, y1, x2, y2; scanf("%d %d %d %d\n", &x1, &y1, &x2, &y2);
if(x1 == x2){
int length = (y1 > y2) ? (y1 - y2) : (y2 - y1);
printf("%d %d %d %d\n", x1 + length, y1, x2 + length, y2);
}
else if(y1 == y2){
int length = (x1 > x2) ... |
72aae87c1566ee5369226da3ebbcb457ffa30230 | 42ab733e143d02091d13424fb4df16379d5bba0d | /third_party/draco/src/draco/compression/point_cloud/point_cloud_kd_tree_encoding_test.cc | 2249bb09e1c23df20fc7d01a82b2a92b4c738df5 | [
"Apache-2.0",
"Unlicense",
"MIT",
"CC0-1.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | google/filament | 11cd37ac68790fcf8b33416b7d8d8870e48181f0 | 0aa0efe1599798d887fa6e33c412c09e81bea1bf | refs/heads/main | 2023-08-29T17:58:22.496956 | 2023-08-28T17:27:38 | 2023-08-28T17:27:38 | 143,455,116 | 16,631 | 1,961 | Apache-2.0 | 2023-09-14T16:23:39 | 2018-08-03T17:26:00 | C++ | UTF-8 | C++ | false | false | 16,595 | cc | point_cloud_kd_tree_encoding_test.cc | // Copyright 2016 The Draco Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agree... |
aaec5ca4921d88e0ccfd265cbda05c52353b4580 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/CMake/CMake-gumtree/Kitware_CMake_repos_basic_block_block_18561.cpp | 0575f1d2f0a6c6166e98b56c8decf2b275f78095 | [] | 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 | 24 | cpp | Kitware_CMake_repos_basic_block_block_18561.cpp | (!p)
return lines; |
a75a5c36d44d638d9c84e443ce7dd6da1daa9ada | f256220fa887d586f7f63ee29e155169afa99c9b | /Source/ProjectAragami/ProjectAragamiGameMode.cpp | f3bf40040614fe57675c9aa69c90ca8a9a00e63a | [] | no_license | DraynaRue/Project-Aragami | ec84f89b41cfff566f96a0d469be8b3f7b778c11 | 168d3d7fd41ff2b346f4fe7cad12e3f76f512abc | refs/heads/master | 2020-04-21T17:07:46.302290 | 2019-05-01T08:49:44 | 2019-05-01T08:49:44 | 169,725,945 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 605 | cpp | ProjectAragamiGameMode.cpp | // Copyright 1998-2018 Epic Games, Inc. All Rights Reserved.
#include "ProjectAragamiGameMode.h"
#include "ProjectAragamiHUD.h"
#include "ProjectAragamiCharacter.h"
#include "UObject/ConstructorHelpers.h"
AProjectAragamiGameMode::AProjectAragamiGameMode()
: Super()
{
// set default pawn class to our Bluep... |
b8dfe57c95de29d30654f5482892f608f38db679 | ed014909d18ad96b12a0101178245d7007ac6e50 | /WINDOWS/BlurEstimation/testbed/decoder/packet264.cpp | b19040b4d22d69568233fee29d4278c696c6076f | [
"Apache-2.0"
] | permissive | xiakexiaoyi/WHAYER-CODE-RECORD | fc75b6e74738a417b8a31d2bd0fd432bfbe3580b | 0e7a34b0116237a80e73a516aadc1284645acf51 | refs/heads/master | 2020-05-20T12:19:51.948962 | 2019-05-06T07:51:55 | 2019-05-06T07:51:55 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 4,005 | cpp | packet264.cpp | #include "packet264.h"
#include "filePlayer.h"
#include <algorithm>
enum nal_unit_type_e
{
NAL_UNKNOWN = 0,
NAL_SLICE = 1,
NAL_SLICE_DPA = 2,
NAL_SLICE_DPB = 3,
NAL_SLICE_DPC = 4,
NAL_SLICE_IDR = 5, /* ref_idc != 0 */
NAL_SEI = 6, /* ref_idc == 0 */
NAL_SPS ... |
20790ca388ebbe06e5bfa29a0c3d162907e4331d | 10bbf25202548fc0bb30fb1d839f9a4177000109 | /arduino-1.6.5/libraries/WirelessJoystickSample/WirelessJoystickSample.ino | a2f9eba94b0f3caa686434f5149bb97f604dc6cd | [] | no_license | sunnywirelss/sunnymaker-level1 | f4bdf0943682afbd38dd7fe7d50b5451da44a754 | 0550c8ffe268bdae26f4fdac4dfd55d375497a96 | refs/heads/master | 2020-05-23T12:56:26.619093 | 2019-05-15T07:20:59 | 2019-05-15T07:20:59 | 186,767,089 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,954 | ino | WirelessJoystickSample.ino | /*
// #
// # Editor : Tong Hui from DFRobot, based on Lauren from DFRobot v1.0 code
// # Date : 12.24.2012
// # Product name: Wireless Joystick v2.2 for Arduino
// # Product SKU : DFR0182
// # Code Version: 2.0
// # Description:
// # The sketch for using the gamepad and print the button state and the anal... |
b14ace05a763362e17c96c2c49bed0951d333800 | c7d688891e3b66f1ec5d1a7116cfdcd9fc027714 | /opengl/testRenderObject.h | c5bbb08dd6e0c6d6f1589a99c1c1a2389d42d52f | [] | no_license | LukasLonnbro/OpenGL-Engine | 087a1084136ffe982f0bdc55b6ac6f75ba9947aa | 1976f6d64d853a3cc08a932c53b42a828d3b0e7d | refs/heads/master | 2021-12-28T23:28:36.717615 | 2021-12-26T13:56:22 | 2021-12-26T13:56:22 | 178,279,858 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 278 | h | testRenderObject.h | #pragma once
#include "abstractRenderObject.h"
#define TEST_RO 0x02;
class testRenderObject : public abstractRenderObject
{
public:
testRenderObject(abstractShader * shader, const char* modelPath) :
abstractRenderObject(shader, modelPath)
{
identifier = TEST_RO;
}
}; |
776b1bacd716119b36e371fd19d54206e5e16c05 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/collectd/gumtree/collectd_repos_function_384_collectd-5.0.4.cpp | 1c825f397145023da85bbb65222ff4fd8a4dbb3d | [] | 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 | 704 | cpp | collectd_repos_function_384_collectd-5.0.4.cpp | static int csnmp_strvbcopy_hexstring (char *dst, /* {{{ */
const struct variable_list *vb, size_t dst_size)
{
char *buffer_ptr;
size_t buffer_free;
size_t i;
buffer_ptr = dst;
buffer_free = dst_size;
for (i = 0; i < vb->val_len; i++)
{
int status;
status = snprintf (buffer_ptr, buffer_free,... |
284b0030e77031380a5d9d3b2691cb6ff754e03c | e978cf08265e663570f4773ef93f5bcb7def3903 | /common/src/Cache/NodeTreeWriter.h | 802b4742c609907a339a6448b59106252e07fe7e | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference",
"MIT",
"LicenseRef-scancode-public-domain-disclaimer",
"BSD-3-Clause",
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-free-unknown",
"FSFAP",
"LicenseRef-scancode-other-permissive"
] | permissive | eeliu/pinpoint-c-agent | 193319cd5ac102f719fb68fe4ca69618f81d6821 | 3f303a7db22f0b9854f71cd303a642993cd7cc5d | refs/heads/master | 2023-06-22T23:45:53.546129 | 2021-08-20T09:34:19 | 2021-08-20T09:34:19 | 149,055,039 | 1 | 11 | Apache-2.0 | 2022-04-20T09:02:47 | 2018-09-17T01:58:04 | C++ | UTF-8 | C++ | false | false | 1,566 | h | NodeTreeWriter.h | ////////////////////////////////////////////////////////////////////////////////
// Copyright 2020 NAVER Corp
//
// 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.... |
4c4839e106df11affa09022d73f5993190ed783b | 6c75582395d932010dc9cb1d64d70f6e7d87d64b | /evil_emu/megaex/cpu/z80/z80.cpp | 8d843d0100cd7bab3dccc6cae77d332c56cf1c6b | [] | no_license | BigEvilCorporation/EvilEmu | 9be3c1e55622d16ce65e55bcef60fbef77a2809c | a78e4ee8a518d4dde688cc298342e20a2fd6e487 | refs/heads/master | 2022-01-27T07:14:55.985618 | 2021-12-28T00:35:44 | 2021-12-28T00:35:44 | 60,967,895 | 12 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 30,365 | cpp | z80.cpp | /*
* z80.c
Copyright (c) 2011 Lee Hammerton
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, di... |
7d9cefbefa5ab23f51ff0bb2d20cc108ce1ea725 | 7ea45377de05a91d447687c53e1a836cfaec4b11 | /Codechef/aug_14/tshirts.cpp | 3953ae2d1dde0b2298cdfea77769cf01d68eefe7 | [] | no_license | saikrishna17394/Code | d2b71efe5e3e932824339149008c3ea33dff6acb | 1213f951233a502ae6ecf2df337f340d8d65d498 | refs/heads/master | 2020-05-19T14:16:49.037709 | 2017-01-26T17:17:13 | 2017-01-26T17:17:13 | 24,478,656 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,846 | cpp | tshirts.cpp | #include <iostream>
#include <cstdio>
#include <cmath>
#include <algorithm>
#include <cstring>
#include <set>
#include <stack>
#include <vector>
#include <map>
#include <list>
#define lli long long int
#define ii pair<int,int>
#define mod 1000000007
#define inf 999999999
#define lim 100010
using namespace std;
inline... |
111be26068dcf313d417532d221d53a8249f2a40 | 014a7aa2380c8bb5c9dd0d09d99affa5a6adbd0c | /TakoTakoBantyo/src/gameobject/GroundManager.cpp | 862135e6debd3cfd7113c3c7dc1db8d0f93da807 | [] | no_license | RewHiro/TakoTako | 6ce34c757a04e46013dd1a6f3b0581552db63cc6 | 0570b0d4958221560c8083550bd4661e45e50354 | refs/heads/master | 2021-06-06T05:19:13.667009 | 2016-07-19T02:32:23 | 2016-07-19T02:32:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 875 | cpp | GroundManager.cpp | #include "GroundManager.h"
#include "GameObjectTask.h"
#include "Ground.h"
#include "component/Transform.h"
using namespace ci;
const int GroundManager::BLOCK_NUM = 25;
GroundManager::GroundManager() :
GameObject("GroundManager")
{
//auto scale = 5;
//auto div_pos = BLOCK_NUM * 0.5f;
//for (auto i = 0; i < BL... |
73658e8265a4cb3d523cbc788d65ee386f7742ef | 944162b4093096cb1680c0463911a738939ce6c3 | /dop.cpp | 5732e8a32a5313716111521fb1ecb0b6ab01c466 | [
"MIT"
] | permissive | geekdanny/cplusplus-examples | bbabd5b14135d283d2a6331138a6ea3e61fcde01 | afb3d76b539f2f275a471110e78cd1839ae026f8 | refs/heads/main | 2023-04-14T20:14:40.425284 | 2021-04-27T11:52:12 | 2021-04-27T11:52:12 | 362,092,886 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,159 | cpp | dop.cpp | // DOP in C++
#include <benchmark/benchmark.h>
#include <algorithm>
#include <iterator>
#include <vector>
using std::back_inserter;
using std::fill_n;
using std::vector;
// A simple struct aligned in such a way no two instances will be on
// the same cache line (64 bytes cache lines, 64 byte alignment)
struct OOP {
... |
e292e8284e2c4d396c7b5cbc5da97ab9dda2fc28 | d053e0e8687f122d120bcd0fa1f9076deb35afa5 | /Olymp/Topcoder/2016_TCO/1B/A.cpp | f9ec50d9d6dd189f8403bd5288c121c601eb1ff3 | [] | no_license | shaihitdin/CP | e8911bc543932866d6fc83eb1d48d9cf79918c61 | dc90082f3ebedaccbfb0818cc68539c887f86553 | refs/heads/master | 2021-01-11T17:10:20.356635 | 2017-10-05T08:53:56 | 2017-10-05T08:53:56 | 79,729,913 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 629 | cpp | A.cpp | #include <iostream>
typedef long long ll;
typedef unsigned int ui;
using namespace std;
class ExploringNumbers {
inline bool isprime (int x) {
for (int i = 2; i * i <= x; ++i)
if (x % i == 0)
return 0;
return 1;
}
inline int nx (int x) {
int res = 0;
while (x) {
int s = x % ... |
0bffad41f839a7140faec9599cfbc12ebe38ba0f | 3620361cd9465d583342f7ff1594c80587d86784 | /hska_neo/src/tf2_broadcaster.cpp | 7e950cfa91810070606658ddc4400aee6b5c1617 | [] | no_license | FrederikPlahl/Neobotix_UR5 | 97040da3c0f0e8739733f2b5fe3faf399c3fc09f | 762f3697f4d725e6e5c0dd19d6e2565a55aa411e | refs/heads/main | 2023-03-13T22:48:12.344517 | 2021-03-08T16:31:11 | 2021-03-08T16:31:11 | 331,742,410 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,072 | cpp | tf2_broadcaster.cpp | #include <ros/ros.h>
#include <tf2_ros/transform_broadcaster.h>
#include <geometry_msgs/TransformStamped.h>
#include <tf2/LinearMath/Quaternion.h>
#define _USE_MATH_DEFINES
int main(int argc, char** argv){
ros::init(argc, argv, "baseBase_link_broadcaster");
static tf2_ros::TransformBroadcaster br;
geometry_msgs... |
8670f73ea027b5eac2edea46788b88907ee150df | 7217b6e38f465f3109365038ea955b1ca09f0533 | /cs174projectCleanup/EnvironmentEntity.h | bd8c7a978c64701e088834560cf3cef69513e915 | [] | no_license | elixiroflife4u/cs174a_term_project | 76d1a679c62a322a256433f67728a2045e3c22e9 | 6a1e8dc2e35f10d12eaabbd40a28182d8d8fbdf9 | refs/heads/master | 2020-04-06T04:02:14.653151 | 2017-08-04T21:39:37 | 2017-08-04T21:39:37 | 2,672,693 | 2 | 17 | null | null | null | null | UTF-8 | C++ | false | false | 161 | h | EnvironmentEntity.h | #ifndef _ENVIRONMENTENTITY
#define _ENVIRONMENTENTITY
#include "GameEntity.h"
class EnvironmentEntity: public GameEntity{
private:
public:
};
#endif |
fc721241b1be0a79be9a7beb22c401da3b76c099 | 7b8c0ec12ac5a7493aaf8fdbef1eedbd75298b60 | /Forager/Forager_Test/Forager_Test/Pickaxe.h | 7f15377ac3ab36f4dc717f1063e578e189968ad6 | [] | no_license | djqandyd1653/Forager | 13ac52611183b5f72b21cdc75da2aa98ed333205 | 2c5e43e956a7afcd86ad4ed178cbb4f7d9dfe522 | refs/heads/main | 2023-04-20T00:19:42.039295 | 2021-05-03T05:35:52 | 2021-05-03T05:35:52 | 326,485,710 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 271 | h | Pickaxe.h | #pragma once
#include "Weapon.h"
class Pickaxe : public Weapon
{
public:
virtual HRESULT Init();
virtual void Release();
virtual void Update();
virtual void Render(HDC hdc, POINT playerPos, FPOINT cameraPos, bool isLeft);
virtual void Attack(bool &ableAttack);
};
|
3d712a913b2603f322d0c58ba1c3add1732c186f | aff361c6432650c2fb9f616e1684262fbb2adcf8 | /Part.h | 056980453490adee48be5013dce810a498e9d692 | [] | no_license | Adasmi/Snake | 7b2c08c24323ed11bbbcc5233c7c133e00c2876e | 8c70c283d04ae4a8c46d89bc6194444e83f92839 | refs/heads/master | 2022-11-27T09:05:59.171166 | 2020-08-11T15:48:37 | 2020-08-11T15:48:37 | 273,473,204 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 726 | h | Part.h | #ifndef PLAYER_H
#define PLAYER_H
#include <SFML/Graphics.hpp>
class Part
{
private:
sf::RectangleShape body;
sf::Vector2u coords;
int index;
unsigned int direction, dQueue[324];
float switchT, totalT;
public:
bool exists;
static unsigned int counter;
Part();
... |
e3962ba83ee5e0aa8fb106bbe586f3b83f4efc34 | 1c9b78abe2d53d4fc2e013bae5596e2449e395dd | /25_WS2812B_Animations/Wizard/Wizard.ino | 823e2a6de10726e13d6105ed2ef71ba190af1f7a | [] | no_license | Altium-Designer-Projects/ESP3212-WS2812 | 1b5ee2fa68de3a727eec8687f8c157e733e9b172 | e04e2206ed840932841aaabd6032c337f485d550 | refs/heads/master | 2022-11-13T01:04:09.726544 | 2020-06-27T11:53:13 | 2020-06-27T11:53:13 | 274,913,359 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,580 | ino | Wizard.ino | #include "FastLED.h"
#define DATA_PIN 8
#define NUM_LEDS 64
CRGB leds[NUM_LEDS];
uint8_t gHueDots = 0;
#define ARRAY_SIZE(A) (sizeof(A) / sizeof((A)[0]))
void setup(){
Serial.begin(115200);
FastLED.addLeds<WS2812B, DATA_PIN, GRB>(leds, NUM_LEDS).setCorrection(Typical... |
812cebd6ffa1459f3da768d13cf98356aa2dce22 | bc84b325dbeb65569e6e2255f4bcbc6ff8d51b50 | /CplusplusLearning/const.cpp | f66c39570b84e9651ac7359508e5adb9a0787263 | [] | no_license | lavaluv/CplusplusLearning | 06a27e42c0c609ceeda55a13fc513f37c7a05ec3 | f8c28b7c959e60649021e701ca0dd7a1e0793a89 | refs/heads/master | 2020-09-10T06:41:12.990763 | 2019-12-13T03:17:24 | 2019-12-13T03:17:24 | 221,673,496 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 745 | cpp | const.cpp | #include <iostream>
using namespace std;
/*
常量类型有整数常量,浮点数常量,布尔常量,字符常量,字符串常量
使用#define,const定义常量,c++11中#define可用constexpr替代
浮点数默认精度为双精度double,在末尾加f为float,加L为long double(与double精度一致)
*/
#define INT 123;
constexpr auto UNSINED_INT = 123u;
void constVariable() {
const long LONG = 0xfeeL;
const long EIGHT = 077;
const... |
acf96d703a52a9d1c72e8f2eda44539e03da97d7 | a3d6556180e74af7b555f8d47d3fea55b94bcbda | /third_party/blink/common/loader/mime_sniffing_throttle_unittest.cc | a6efed9e88bb7a03523e3ef1d5c0e9585a1081da | [
"BSD-3-Clause",
"LGPL-2.0-or-later",
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-2.1-only",
"GPL-1.0-or-later",
"GPL-2.0-only",
"LGPL-2.0-only",
"BSD-2-Clause",
"LicenseRef-scancode-other-copyleft",
"MIT",
"Apache-2.0"
] | permissive | chromium/chromium | aaa9eda10115b50b0616d2f1aed5ef35d1d779d6 | a401d6cf4f7bf0e2d2e964c512ebb923c3d8832c | refs/heads/main | 2023-08-24T00:35:12.585945 | 2023-08-23T22:01:11 | 2023-08-23T22:01:11 | 120,360,765 | 17,408 | 7,102 | BSD-3-Clause | 2023-09-10T23:44:27 | 2018-02-05T20:55:32 | null | UTF-8 | C++ | false | false | 19,330 | cc | mime_sniffing_throttle_unittest.cc | // Copyright 2018 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "third_party/blink/public/common/loader/mime_sniffing_throttle.h"
#include <memory>
#include "base/functional/bind.h"
#include "base/run_loop.h"
#include "base/test/... |
ff0149f7519b0d6e325c790b3f160e96226058db | 6b40e9dccf2edc767c44df3acd9b626fcd586b4d | /NT/windows/oleacc/oleacc/oleacc.cpp | 2a055d279ad3773e95635b11d06dffab914df5c2 | [] | no_license | jjzhang166/WinNT5_src_20201004 | 712894fcf94fb82c49e5cd09d719da00740e0436 | b2db264153b80fbb91ef5fc9f57b387e223dbfc2 | refs/heads/Win2K3 | 2023-08-12T01:31:59.670176 | 2021-10-14T15:14:37 | 2021-10-14T15:14:37 | 586,134,273 | 1 | 0 | null | 2023-01-07T03:47:45 | 2023-01-07T03:47:44 | null | WINDOWS-1250 | C++ | false | false | 19,609 | cpp | oleacc.cpp | // Copyright (c) 1996-2000 Microsoft Corporation
// --------------------------------------------------------------------------
//
// OLEACC
//
// DllMain and other entry points.
//
// --------------------------------------------------------------------------
#include "oleacc_p.h"
#include "classmap.h"
... |
ed498dd07a78e306b20231d2de66b7f91e3b3658 | 61cc129b65c93729f432198a57ab0b58d6b9449e | /Practice9/HashEntry.h | 7143a5fb9e2726a1b309943b3c136feae3b8c5ef | [] | no_license | jackson-hidley/CSC-1310 | 06fe28e606cddc0453729c1b8b5d97a821a2858b | a71ea41675a97c274285496257aa37da6e490376 | refs/heads/main | 2023-07-18T10:46:56.796108 | 2021-09-01T14:33:21 | 2021-09-01T14:33:21 | 402,089,711 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 665 | h | HashEntry.h | /*
NAME: Jackson Hidley
DATE: 3/11/2020
TITLE: HashEntry.h
*/
#ifndef HASHENTRY_H
#define HASHENTRY_H
#include <iostream>
#include <string>
using namespace std;
class HashEntry
{
private:
string key;
string value;
HashEntry* next;
public:
HashEntry( string k, string v )
{
... |
7d19a213bd612c93c6ea408b5723ca145fd06c7f | a8f1100df8781fa25b048abbc8a94547d23d2163 | /Concepts/Bellan-Ford's algorithm/Bellan-Ford's algorithm/main.cpp | 276a9b01f85dad8b380c80608480fdcf1d20a62b | [] | no_license | 27diego/CST370 | 6c8042caca99bf9adcbf4c43c454d615d3523f21 | 4629dd060bd7c7d051a3ebee6d564ee1b0537234 | refs/heads/master | 2020-05-05T05:48:27.713324 | 2019-05-12T02:30:23 | 2019-05-12T02:30:23 | 179,766,008 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,804 | cpp | main.cpp | #include <iostream>
#include <vector>
#include <unordered_set>
#include <unordered_map>
#include <climits>
using namespace std;
struct GraphNode{
int data;
vector<pair<GraphNode*, int>> neighbors;
public:
GraphNode(int data)
{
this->data = data;
}
};
struct Graph{
vector<GraphNod... |
670917db17a176970802efd82ae88f7fb822e058 | 0342b13764d8c515401979cc259376c18fe89c87 | /lab/lab3/check1.cpp | 33208817458896e5d611a6473471804e1ecd1898 | [] | no_license | yiyunalu/DS | b01f24985f0deaac0107981f201f9cc16e15cc5c | 12d9a3186e3ce402b85e2e0101fd1997c2a32990 | refs/heads/master | 2020-04-10T17:15:04.581071 | 2015-10-16T03:56:13 | 2015-10-16T03:56:13 | 44,371,584 | 0 | 1 | null | 2015-10-16T08:12:00 | 2015-10-16T08:12:00 | null | UTF-8 | C++ | false | false | 987 | cpp | check1.cpp | /*Write a function compute_squares that takes 3 arguments: two C-style arrays (not STL vectors), a and b,
of unsigned integers, and an unsigned integer, n, representing the size of each of the arrays.
The function should square each element in the first array, a, and write each result into the corresponding slot in t... |
1ac2a498420107d0c6ea1f3eb0242b3f364200b9 | 31d0fc5e0f9df8a93d160219d3220b2e0d9a0847 | /TestClient/Release/Test/Design0.cpp | 20c3f6bec68b01a6bd2ba941dfeb22453721d22d | [] | no_license | gc5084/exam_sys | e7f409d92f9f7d140769a9aaf50a53f51d20c709 | b9966f6f698b8a88389ff8be51b8d91a0e50a2f6 | refs/heads/master | 2020-05-17T04:21:20.507033 | 2019-04-25T20:45:00 | 2019-04-25T20:45:00 | 183,506,222 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 232 | cpp | Design0.cpp | #include <iostream.h>
bool narcissus(int n);
void main()
{
if(narcissus(511)==true)
cout<<"511是水仙花数"<<endl;
else
cout<<"511不是水仙花数"<<endl;
}
/***found***/
bool narcissus(int n)
{
}
|
781269f4c2a4a0bd1561c53cf080e61d38c85fd0 | d3e8dd1f02e26c883a0a90b1ec682c11711abb7b | /fast_io/enormous_input.cpp | d4ac7af405464256ec88944cf0cfe6e71ef56842 | [
"MIT"
] | permissive | ShiyuSky/competitive_programming | 9dd0f15fadcdebdbb0ea4dac10e6ac05d1ff35f9 | fd1dd6564eea2386bb3f76e1a92a1bda9f564698 | refs/heads/main | 2023-04-13T21:42:35.695525 | 2021-04-24T18:44:51 | 2021-04-24T18:44:51 | 361,230,511 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,728 | cpp | enormous_input.cpp | /*
Enormous Input Test
The purpose of this problem is to verify whether the method you
are using to read input data is sufficiently fast to handle problems
branded with the enormous Input/Output warning. You are expected to
be able to process at least 2.5MB of input data per second at runtime.
Tested solution on http... |
55e1b95f4aada6e844e46da3c00a14494417054c | 56dab573244d22f1150f5b85bc01844159a2ce16 | /tokenizer.h | a2a9a2a3307882191a154f91311a84776b782709 | [] | no_license | Tristangva/Search-Engine | 9c196a89d9388c0ebd2007f2bacb1176fe92588c | 244efb2962472d4c3be31d6b9a1da891a41600e0 | refs/heads/master | 2023-04-12T20:21:57.387312 | 2021-05-05T00:03:51 | 2021-05-05T00:03:51 | 346,506,140 | 0 | 0 | null | 2021-05-05T00:03:52 | 2021-03-10T22:11:45 | C++ | UTF-8 | C++ | false | false | 870 | h | tokenizer.h | //
// Created by White on 10/1/2020.
//
/*
* To see the functions implemented, go to tokenizer.cpp
*/
#ifndef CSCE4200_PROJECT_1_TOKENIZER_H
#define CSCE4200_PROJECT_1_TOKENIZER_H
#include <string>
#include <fstream>
#include <vector>
#include "file_dictionary.h"
#include "word_dictionary.h"
#include "indexer.h"
u... |
cb6db99ae8d029f41bc463b8a6e2599a76fd7b45 | 9da899bf6541c6a0514219377fea97df9907f0ae | /Programs/HeadlessChaos/Private/HeadlessChaosTestBroadphase.cpp | 78f4ce4d0613fad3e0ab94c94767995b1b6d5f99 | [] | no_license | peichangliang123/UE4 | 1aa4df3418c077dd8f82439ecc808cd2e6de4551 | 20e38f42edc251ee96905ed8e96e1be667bc14a5 | refs/heads/master | 2023-08-17T11:31:53.304431 | 2021-09-15T00:31:03 | 2021-09-15T00:31:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 25,602 | cpp | HeadlessChaosTestBroadphase.cpp | // Copyright Epic Games, Inc. All Rights Reserved.
#include "HeadlessChaosTestBroadphase.h"
#include "HeadlessChaos.h"
#include "Chaos/Box.h"
#include "Chaos/BoundingVolume.h"
#include "Chaos/ParticleHandle.h"
#include "Chaos/PBDRigidsSOAs.h"
#include "Chaos/PBDRigidsEvolutionGBF.h"
#include "Chaos/AABBTree.h"
#inclu... |
ddc25e7bce0a210175d01067fb30e40f82d0fe52 | 3656e56e474d6987ce340f1b3654b4a7eef90cb8 | /刷题记录/2021第18届图森杯/ProblemC_Cube.cpp | d4149b191244abf16d56f7a4f5ea94fb0b98bbf7 | [] | no_license | LIttle-soul/My_Notebook | 2a1fe3131f4319dd1f91e91c71643852c3bee383 | 94987537c007ecc09c8f7be6fa5d05f912c772da | refs/heads/master | 2023-04-16T05:08:07.951124 | 2021-04-30T13:22:10 | 2021-04-30T13:22:10 | 265,417,196 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,688 | cpp | ProblemC_Cube.cpp | //Hello. I'm Peter.
#include<cstdio>
#include<iostream>
#include<sstream>
#include<cstring>
#include<string>
#include<cmath>
#include<cstdlib>
#include<algorithm>
#include<functional>
#include<cctype>
#include<ctime>
#include<stack>
#include<queue>
#include<vector>
#include<set>
#include<map>
using namespace std;
typed... |
e2346971a9a50cdbee08ff278c8f43a6bec91e19 | 77c518b87e67e9926d130f856a7edb12302596eb | /Filters/Core/Testing/Cxx/TestResampleToImage2D.cxx | 380be1b9bf637629ebb4aa09d24bc963d2a872ca | [
"BSD-3-Clause"
] | permissive | t3dbrida/VTK | 73e308baa1e779f208421a728a4a15fec5c4f591 | e944bac3ba12295278dcbfa5d1cd7e71d6457bef | refs/heads/master | 2023-08-31T21:01:58.375533 | 2019-09-23T06:43:00 | 2019-09-23T06:43:00 | 139,547,456 | 2 | 0 | NOASSERTION | 2019-11-22T14:46:48 | 2018-07-03T07:49:14 | C++ | UTF-8 | C++ | false | false | 2,330 | cxx | TestResampleToImage2D.cxx | /*=========================================================================
Program: Visualization Toolkit
Module: TestResampleToImage2D.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 sof... |
5c4e47c26170f605a9f48d6367b605bd005bbb8e | 9102703aba869548fe26414c0757e40ded4e8629 | /soj3084 - 副本.cpp | c72f0b8357263f3f67696fb60465d62d76f7b887 | [] | no_license | twocoldz/sojcode | e04e4b92ea4b6bce3bcaeb935efbdc62216d48ca | 4ea12c7126e5297d823d620b35dd90585b825c41 | refs/heads/master | 2021-01-10T19:09:24.909558 | 2013-04-02T12:00:55 | 2013-04-02T12:00:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,464 | cpp | soj3084 - 副本.cpp | #include<iostream>
#include<cstring>
#include<cstdio>
using namespace std;
int f[2][1002],g[2][1002],h[2][1002],s[2][1002],q[2][1002];
int b[3][1002],a[3][1002];
inline int MAX(int x,int y,int z=-110000000)
{
if(z>x) x=z;
return x>y?x:y;
}
int main()
{
int n,m,r,pre,i,j,ans,sum,df,dg,dh,t;
while... |
3b4630162de1bb4cd95a60a4892c548f2f8ae8df | de78b74157de4cd70d70b3747756c99554bcd6bc | /Codeforces/#662/C.cpp | 4816cbb03d478b38bcdfe76eb83ac5c6abe271eb | [] | no_license | vidalmatheus/codes | ae1d5c31abf4f215c677109ef091221214c82758 | de9dfeb721df7a4a3036c32c1c83c02c7b53b8ac | refs/heads/master | 2023-02-09T15:32:04.713987 | 2020-12-21T15:04:00 | 2020-12-21T15:04:00 | 219,653,651 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,458 | cpp | C.cpp | #include <bits/stdc++.h>
using namespace std;
static int speedUp=[](){
# define endl '\n'
std::ios::sync_with_stdio(false);
cin.tie(nullptr);
cout.tie(nullptr);
return 0;
}();
int findMin(vector<int>& A){
unordered_map<int,int> map;
int min = INT_MAX;
for (int i=0;i<A.size();i++){
... |
5337eeb6d65a5a848b8c240330806559ed50513d | c7bc30744f5f2d9260ca76345dae70b40b8bbd7f | /LevelEditor/Item/Item.h | c1584d7de3b55b264b22bcf13221a96ec72a66bb | [] | no_license | NicolasBeaudrot/babelconstructor | 3495d3d529659059c4679b7862988f66a013a400 | 75679edcf13092bfb2ff01c29644dc8e095bfb2e | refs/heads/master | 2021-01-21T05:05:37.709720 | 2015-09-09T08:39:45 | 2015-09-09T08:39:45 | 32,141,037 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,132 | h | Item.h | #ifndef ITEM_H
#define ITEM_H
#include <QString>
#include <SFML/Graphics.hpp>
#include "Canvas/QSFMLCanvas.hpp"
#include <iostream>
class Item
{
private :
sf::Image _image;
sf::Sprite _sprite;
QString _texture;
QString _type;
bool _isVisible;
... |
618345f38d50ba360a3cbfebea5e75322b7ee945 | d399b18b63d4ee8ac9f01feb8e23af1a0e186732 | /Tool/Source/propertyeditor.cpp | f6f5c8806cd25bba9dcb6e09bf2048f6f8d3a6de | [
"MIT"
] | permissive | cferguson-uu/storyline-scaffolding | 345e66cc062f59ccc5e4b809cef04460841f2fb2 | 33422e3939c86d41ef0b3b885e116966618d24fc | refs/heads/master | 2021-08-10T14:12:02.863298 | 2021-01-11T13:38:12 | 2021-01-11T13:38:12 | 99,089,332 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,750 | cpp | propertyeditor.cpp | #include "propertyeditor.h"
#include <QVBoxLayout>
#include "collapsible.h"
#include "nodeproperties.h"
#include "mainctrl.h"
PropertyEditor::PropertyEditor(QWidget *parent)
: QScrollArea(parent)
, m_mainCtrl(nullptr)
{
// setup the scroll area
setFrameShape(QFrame::NoFrame);
setWidgetResizable(t... |
48e660cacb39d04602d739d0bf0931150a36ca40 | 3af267393622706d7fd6fe2edb4a2bc7c144e3be | /src/tests/meta/test_kwargs.cc | 163678721d1ffa2bf3779453a22c093bfe0865a6 | [
"BSD-3-Clause"
] | permissive | DARMA-tasking-internal/darma-frontend | e135787e71c1047e299df8f2200f58c686e867d6 | fc7a6194e2b5a3eef2984e3e511416c367b989d8 | refs/heads/master | 2021-03-27T13:31:33.532144 | 2018-05-15T20:12:42 | 2018-05-15T20:12:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,730 | cc | test_kwargs.cc | /*
//@HEADER
// ************************************************************************
//
// test_kwargs.cc.cc
// DARMA
// Copyright (C) 2017 NTESS, LLC
//
// Under the terms of Contract DE-NA-0003525 with NTESS, LLC,
// the U.S. Government retains certain rig... |
22f24b9b1010aed6d972c14a0506d78541502cca | 82dc3cc4c97c05e384812cc9aa07938e2dbfe24b | /tahoe/src/elements/shape_functions/meshfree/D3/D3MeshFreeShapeFunctionT.h | d9d74495913689d0aba4b047d24483e0f171d9b5 | [
"BSD-3-Clause"
] | permissive | samanseifi/Tahoe | ab40da0f8d952491943924034fa73ee5ecb2fecd | 542de50ba43645f19ce4b106ac8118c4333a3f25 | refs/heads/master | 2020-04-05T20:24:36.487197 | 2017-12-02T17:09:11 | 2017-12-02T17:24:23 | 38,074,546 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,906 | h | D3MeshFreeShapeFunctionT.h | /* $Id: D3MeshFreeShapeFunctionT.h,v 1.10 2005/12/23 14:15:57 kyonten Exp $ */
/* created: paklein (10/23/1999) */
#ifndef _D3_MF_SHAPE_T_H_
#define _D3_MF_SHAPE_T_H_
/* base class */
#include "D2MeshFreeShapeFunctionT.h"
namespace Tahoe {
/* forward declarations */
class D3MeshFreeSupportT;
class D3MeshFreeShapeFu... |
c4f5ae5e127ee68932ea9f17fb56f99d0e563c36 | 5389687daa17d10d0952f3c082ea59f0f93e7db7 | /Function/Utility.cpp | b264794ac88b35aac8ca5d0b53741713a7b51d59 | [] | no_license | EmuZONE/WotLKContent | a59d24d81bddbdde38131f4fc79c08d07e05dfb0 | caaa7ef193c334050b3d60017ae0a45320e22087 | refs/heads/master | 2021-01-16T18:46:15.178181 | 2019-01-23T04:31:10 | 2019-01-23T04:31:10 | 100,110,204 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 3,931 | cpp | Utility.cpp | #include "ScriptMgr.h"
#include "ObjectMgr.h"
#include "MapManager.h"
#include "Chat.h"
#include "Group.h"
#include "ArenaTeam.h"
#include "ArenaTeamMgr.h"
//This script is made by Blex and was orginally posted on www.ac-web.org
//This script was created after being inspired by Arena-Tournament's player commands. www.... |
d95eeb33cdd42c504b261fca3b9e0c71cc5e3029 | aecef693df48abb893627f4762f8f46a83040787 | /2015/CS1410/assignment 1 - google search/google.hpp | 5361d385d802f14a3000ef09681d55a3cc6f5243 | [] | no_license | adamtew/USU | 6f269ec6d28b81eb1f64370dc57e57a8da6e7f19 | b4cc88c996f2841ee3776405f1d606b2bd1a1b4e | refs/heads/master | 2021-01-21T05:59:07.492786 | 2017-09-24T06:40:55 | 2017-09-24T06:40:55 | 28,891,531 | 2 | 0 | null | 2016-01-25T04:59:30 | 2015-01-07T01:06:26 | C++ | UTF-8 | C++ | false | false | 141 | hpp | google.hpp | #ifndef GOOGLE_HPP
#define GOOGLE_HPP
#include <iostream>
using namespace std;
class TermTable{
public:
TermTable();
private:
};
#endif |
0e5ef6c37e1aaf63b623f1bc1b61fe5461c9f3d1 | 1263008492e8a237605e82dfd7d198e454c31f0c | /rpg2kLib/Map.hpp | 378605e9500cdd9f9709eacb96bb61159df70942 | [] | no_license | weimingtom/rpg2kemuSvn | 78df5490a7fde36d44cba3e5948fb74c133a10c2 | 8373acf41bbe13b471efd354de1e9384e21eb062 | refs/heads/master | 2020-12-08T03:11:45.885189 | 2016-08-20T01:01:06 | 2016-08-20T01:01:06 | 66,121,107 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,426 | hpp | Map.hpp | #ifndef _INC__RPG2K__MAP_HPP
#define _INC__RPG2K__MAP_HPP
#include "Define.hpp"
#include <map>
#include <stdexcept>
namespace rpg2kLib
{
namespace structure
{
template< typename Key, typename T >
class Map
{
private:
std::multimap< Key, T* > data_;
typedef typename std::multimap< Key, T* >::value_ty... |
ebe71febc7ba77bdb7bfa907217a30b59bf2f9bd | 8f97be81179697d1ae7b89d4507c7923a9240fcf | /src/VulkanEngine/Shared.h | 94f9eb953dd9391ffb3e23293190307391348e72 | [
"MIT"
] | permissive | Umax1004/VulkanEngine | b830f415781ed65fe561260fd9f68e0ea65a1629 | 48c31b9b73d4501cc0a8a891c16cce2ec4a2c896 | refs/heads/master | 2020-05-16T16:16:35.296990 | 2019-05-19T10:50:38 | 2019-05-19T10:50:38 | 183,156,936 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 370 | h | Shared.h | #pragma once
#include <assert.h>
#include <iostream>
#include <vulkan/vulkan.h>
#include "BUILD_OPTIONS.h"
#include <vector>
#include <fstream>
void ErrorCheck(VkResult result);
uint32_t FindMemoryTypeIndex(const VkPhysicalDeviceMemoryProperties * gpuMemoryProperties, const VkMemoryRequirements * memoryRequirements,... |
587bc6350317e5023aea700e443fb077220a0cf1 | 3ae80dbc18ed3e89bedf846d098b2a98d8e4b776 | /src/DB/SharedReadingDB.cpp | 19aa01da6810fe3314e25658c121ac1a135cebf5 | [] | no_license | sswroom/SClass | deee467349ca249a7401f5d3c177cdf763a253ca | 9a403ec67c6c4dfd2402f19d44c6573e25d4b347 | refs/heads/main | 2023-09-01T07:24:58.907606 | 2023-08-31T11:24:34 | 2023-08-31T11:24:34 | 329,970,172 | 10 | 7 | null | null | null | null | UTF-8 | C++ | false | false | 859 | cpp | SharedReadingDB.cpp | #include "Stdafx.h"
#include "MyMemory.h"
#include "DB/SharedReadingDB.h"
#include "Sync/MutexUsage.h"
DB::SharedReadingDB::~SharedReadingDB()
{
this->db.Delete();
}
DB::SharedReadingDB::SharedReadingDB(NotNullPtr<DB::ReadingDB> db)
{
this->db = db;
this->useCnt = 1;
}
void DB::SharedReadingDB::Re... |
11cc7c600d5d5a3c7c0e14f254e5c6611c7044b8 | 77aa38e242404563a64580385174978b36568fce | /ESP32_AC_Controller.ino | d1102f2bc7c6925ae2273af1334200d43eef45e8 | [] | no_license | jaydenZ40/ESP32_AC_Controller | 9b6fd8be8b2ff980839c5c20c18d0240c659b558 | 76467e7689794963cb34e977d2e6612bdc2a037d | refs/heads/master | 2023-01-28T04:44:51.008062 | 2020-12-07T07:43:25 | 2020-12-07T07:43:25 | 280,740,621 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,839 | ino | ESP32_AC_Controller.ino | #include <WiFi.h>
#include <Adafruit_Sensor.h>
#include <DHT.h>
#include <DHT_U.h>
const char* ssid = "ZHAO-2G";
const char* password = "???";
const int HEATPIN = 18; // connect to white
const int COOLPIN = 19; // connect to yellow
const int DHTPIN = 4;
WiFiServer server(80);
#define DHTTYPE DH... |
5b69506d58f94bc795c643c84879772f65d46ef3 | c3106e8b2d46dc5c23dd1797b00462f2873dd321 | /Codeforces/Contest894/A.QAQ.cpp | 2b6034a705fe7c0f9cd777410583edb8f8bb5811 | [] | no_license | cppaymurat/Codeforces_contests | 00dfa66b6b3ce60566c044633ba3a4bd731356fb | 2e900f372af6c67b07f8700a60baa0bdb24d9b2e | refs/heads/main | 2023-05-25T07:41:23.063186 | 2021-06-06T14:26:06 | 2021-06-06T14:26:06 | 374,211,344 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 320 | cpp | A.QAQ.cpp | #include <bits/stdc++.h>
using namespace std;
int main()
{
string a;
cin>>a;
int cnt = 0;
for(int i = 0; i < a.length(); i++)
{
if (a[i]=='Q')
for(int j = i+1; j < a.length(); j++)
{
if (a[j]=='A')
for(int k = j+1; k < a.length(); k++)
{
if (a[k]=='Q') cnt++;
}
}
}
cout<<cnt;
return 0;
} |
67e4decb7bfc32338067cbccbfb60b9aa3a40276 | 69b93ab2c50dc3bfc67d83c708eaebaff3bd6ee8 | /include/Group.h | 807d335087e2fde2109a00a5f6aa72397324466e | [] | no_license | Vasia228/Lab5-Demo- | 4294662786827fcc1b6f523dc902309d9f614cfb | aab7f69355a56a77415ce07d75c4ae176d5e7172 | refs/heads/master | 2021-07-15T19:47:57.984959 | 2020-06-08T00:24:11 | 2020-06-08T00:24:11 | 165,915,087 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 957 | h | Group.h | #ifndef GROUP_H
#define GROUP_H
#include <string>
#include <vector>
#include "Student.h"
using namespace std;
#include <iostream>
#include <stdlib.h>
class Student;
class Deanery;
class Group
{
public:
Group(string title_="Null_group");
~Group();
string getTitle(){return... |
530b696bf92dc41ea0375722d140255850376522 | ed1d2a887eb5087fc8e55fc88a0a494b19a15fb3 | /cannyedge_app.cpp | 537e4f86358e41e5770a02dfcab6cb2b424061aa | [] | no_license | asgarciap/cannyedge-boinc | 100c5baff0c7bfe7e65991c5c50f119b9628b898 | 35eae099bef869b82de3490dfbbfef042790200a | refs/heads/master | 2020-05-17T15:50:04.029257 | 2019-11-14T02:45:18 | 2019-11-14T02:45:18 | 183,803,234 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,681 | cpp | cannyedge_app.cpp | // cannyedge.cpp : Este archivo contiene la función "main". La ejecución del programa comienza y termina ahí.
//
#include <iostream>
#include "contrib/bmp.h"
#include "contrib/CannyEdgeDetector.h"
#include "boinc_api.h"
int main(int argc, char **argv)
{
char buf[256];
char inbmp[1024];
char outbmp[1024];
... |
d74d08a9743f4e81719078ede6c2b3a45d309686 | 368bc40b7004951f227f6b931aeafaea44426420 | /mainwindowbis.h | 0d6fd9b8b62f0b3bee1abc845ee9e2b6d79976ea | [] | no_license | LilyOfTheWest/OntologyTool | 2f2bc13a3f92f86ff54751f50dcdf6aef1059fe8 | e8ef03a67cb0a424bb86c54ac864052337ff5063 | refs/heads/master | 2021-04-15T14:30:16.400182 | 2016-06-06T12:26:11 | 2016-06-06T12:26:11 | 60,525,217 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 315 | h | mainwindowbis.h | #ifndef MAINWINDOWBIS_H
#define MAINWINDOWBIS_H
#include <QMainWindow>
namespace Ui {
class MainWindowBIS;
}
class MainWindowBIS : public QMainWindow
{
Q_OBJECT
public:
explicit MainWindowBIS(QWidget *parent = 0);
~MainWindowBIS();
private:
Ui::MainWindowBIS *ui;
};
#endif // MAINWINDOWBIS_H
|
abbeb0e9f06ca2bf0989ae5cfe6417993c616a60 | 7207a342747cd23ed16190246bcb19a9215d9399 | /codeforces/1369/C.cpp | d3228ad18727c1f4f810ef45801082e3b0deeee1 | [] | no_license | same-lame-name/Competitive | 31c6dda0b8190daea024485665fcde70a34ebfa4 | ad7390759cdd9ef404b2b931b4716f5c18975d6f | refs/heads/master | 2023-02-23T22:57:34.616339 | 2021-01-28T11:23:00 | 2021-01-29T18:33:45 | 330,176,040 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,283 | cpp | C.cpp | #include "bits/stdc++.h"
#define PRECISION(x) cout << fixed << setprecision(x)
#define FAST_IO ios::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL);
#define SZ(X) ((int)(X).size())
#define ALL(X) (X).begin(), (X).end()
#define ALLR(X) (X).rbegin(), (X).rend()
#define MP make_pair
#define PB push_back
#define EB e... |
c966112be7269747fbfbe60b57217ed39901d4cc | 775d9bf48f944fe4bf35986619dcb6ef49c2e37a | /deps/slb/filter/Filter.cpp | 2b3093342716eceb2ba24eb25136c7061c5f5b11 | [] | no_license | wql07131003/redisAgent | 0b378c40bc25e8c6dd89d581287295967060ca46 | 58aed156686fa76475a6528d4df10a67f832232e | refs/heads/master | 2016-09-13T00:14:32.319198 | 2016-05-24T10:02:13 | 2016-05-24T10:02:13 | 59,553,233 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 532 | cpp | Filter.cpp | /*
* Filter.cpp
*
* Created on: 2010-4-7
* Author: Administrator
*/
#include "Filter.h"
namespace forum
{
int Filter::updateConnectStatus(slb_server_t * /*server*/, int /*errNo*/)
{
return 0;
}
int Filter::updateRequestStatus(slb_server_t * /*server*/,
const slb_talk_returninfo_t* /*talk*/)
{
... |
e79a0b82b4d8f32409f664e9ef0023ce8e22821a | 1c820c83e8a3c22c52c2fd88ec4a66885abe027d | /gluts/constrain/tmp.cpp | 9fb767f5dac60706d260ef694503f1e7dace710d | [] | no_license | geckobike/otp2 | 99c040d7f1a3bcfef2d0d1226db46ed816322b8f | eade32d53e3c9deac406f1f82c63519f690e356c | refs/heads/master | 2016-09-06T08:57:21.164998 | 2014-07-09T15:10:30 | 2014-07-09T15:10:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,168 | cpp | tmp.cpp | #include <time.h>
#include <sys/time.h>
#include <math.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#define ENABLE_TIMER
#include "engine/engine.h"
#include <GL/gl.h>
#include <GL/glut.h>
#ifdef _MSC_VER
#pragma warning(disable:4244 4305) // for VC++, no precision loss complaints
#endif
#define rn... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.