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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
e8ad35ac9befd37afc2bb135844874e0db80fb8a | 54cacc105d6bacdcfc37b10d57016bdd67067383 | /trunk/source/level/physics/ForceGeneratorRegistry.h | 97b9d01db333aaa0a6515803715ac585bf185d98 | [] | no_license | galek/hesperus | 4eb10e05945c6134901cc677c991b74ce6c8ac1e | dabe7ce1bb65ac5aaad144933d0b395556c1adc4 | refs/heads/master | 2020-12-31T05:40:04.121180 | 2009-12-06T17:38:49 | 2009-12-06T17:38:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,096 | h | /***
* hesperus: ForceGeneratorRegistry.h
* Copyright Stuart Golodetz, 2009. All rights reserved.
***/
#ifndef H_HESP_FORCEGENERATORREGISTRY
#define H_HESP_FORCEGENERATORREGISTRY
#include <map>
#include <string>
#include <boost/shared_ptr.hpp>
using boost::shared_ptr;
namespace hesp {
//########... | [
"sgolodetz@gxstudios.net"
] | sgolodetz@gxstudios.net |
e17fc4a194a5e03b818ec0bec169498432d200c4 | 9f5289c0bb0d3d7a91d1003a4ae7564576cb169e | /Source/BansheeEngine/Include/BsScriptManager.h | 575d3198f774ee28a37f6c5bdd82310461ecca1b | [] | no_license | linuxaged/BansheeEngine | 59fa82828ba0e38841ac280ea1878c9f1e9bf9bd | 12cb86711cc98847709f702e11a577cc7c2f7913 | refs/heads/master | 2021-01-11T00:04:23.661733 | 2016-10-10T13:18:44 | 2016-10-10T13:18:44 | 70,758,880 | 3 | 3 | null | 2016-10-13T01:57:56 | 2016-10-13T01:57:55 | null | UTF-8 | C++ | false | false | 1,711 | h | //********************************** Banshee Engine (www.banshee3d.com) **************************************************//
//**************** Copyright (c) 2016 Marko Pintera (marko.pintera@gmail.com). All rights reserved. **********************//
#pragma once
#include "BsPrerequisites.h"
#include "BsModule.h"
... | [
"bearishsun@gmail.com"
] | bearishsun@gmail.com |
c910844a0795806662c5853bd31b9164242f76d8 | 76bb2f1b416d78c2b4c951f071657b93e8f915c1 | /sdl/exparse/expsyn.h | 5142899c70acd9c5d88720f417dd93f06270c35c | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-2-Clause"
] | permissive | pcxod/olex2 | 2f48c06da586fb47d308defe9915bf63be5c8f4d | 17d2718d09ad61ad961b98e966d981bb50663e3e | refs/heads/master | 2023-08-11T20:01:31.660209 | 2023-07-21T10:55:35 | 2023-07-21T10:55:35 | 219,048,584 | 9 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,323 | h | /******************************************************************************
* Copyright (c) 2004-2011 O. Dolomanov, OlexSys *
* *
* This file is part of the OlexSys Development Framework. ... | [
"pcxod@273b6b03-9602-4203-8103-cbef60d4472e"
] | pcxod@273b6b03-9602-4203-8103-cbef60d4472e |
4e76d1ca2484fe6b6bc805583eb14dec50cc7ba7 | 8a2f3bb64e8feb3ccff65eb3edf86a47d62b0b10 | /FancyTable/ccustomheaderview.h | 7de8bf1bd918bc15d2e4b70246864a155cf5bfe0 | [] | no_license | GLDsuh-a/qt-1 | 010489a59a26a62747eaadddf37e4b0d80546460 | 0a642fa56f71d94e7f815305a806173c8e586ddb | refs/heads/master | 2021-01-17T06:59:12.293528 | 2015-08-28T03:08:13 | 2015-08-28T03:08:22 | 41,582,969 | 7 | 2 | null | 2015-08-29T06:18:11 | 2015-08-29T06:18:11 | null | UTF-8 | C++ | false | false | 1,000 | h | #ifndef CCUSTOMHEADERVIEW_H
#define CCUSTOMHEADERVIEW_H
#include <QHeaderView>
#include "crect.h"
class cCustomHeaderView : public QHeaderView
{
Q_OBJECT
public:
enum HeaderDataModelRoles
{
HorizontalHeaderDataRole = Qt::UserRole,
VerticalHeaderDataRole = Qt::UserRole + 1
};
expl... | [
"ltz121320@163.com"
] | ltz121320@163.com |
e1bafd9b3cca6024ddcebc2a214228ad49777f17 | 30d9b03693849c4929975669960ce967b81b15a6 | /Source/SequenoeEditorExtensions/Private/PropertyTrackEditors/NamePropertyTrackEditor.h | 83afa8b21e7e3f66dccfb7b86b6785ff3430562b | [
"MIT"
] | permissive | Pseudo-Game-Tech/SequenoeMoreExtensions | 5fd5099d3a1457f3afaae8dfd93f2c4acb0aa301 | 05d4e810dd0a75b095909fcf4a4d5074e1929ac0 | refs/heads/master | 2022-03-01T03:52:21.828443 | 2019-10-25T07:49:35 | 2019-10-25T07:49:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,462 | h | #pragma once
#include "CoreMinimal.h"
#include "Misc/Guid.h"
#include "ISequencer.h"
#include "ISequencerSection.h"
#include "ISequencerTrackEditor.h"
#include "PropertyTrackEditor.h"
#include "PropertyTracks/MovieSceneNameTrack.h"
#include "PropertyTracks/MovieSceneNameSection.h"
/**
* A property track editor for s... | [
"672619410@qq.com"
] | 672619410@qq.com |
0d22acf2001d5c98b89889114bd72639c6c9f168 | 14c8b0ef6bf15f29bd5787c8136e0e382d74adea | /Cage2d/include/Cage2d/Manager.hpp | 7e3fb4cd7966562ef03be86705ec4f65ff5a160f | [] | no_license | zerodarkzone/Cage2D | ff6d83518ffd859826c7f4ddeeb5bd66fe8d1e1e | ddb4b2b4c2bd7500bdbf420791dd483d3d3bf04d | refs/heads/master | 2020-12-10T04:30:08.391378 | 2017-03-02T06:44:34 | 2017-03-02T06:44:34 | 83,633,973 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 196 | hpp | #pragma once
namespace Cage2d
{
class Manager
{
public:
virtual ~Manager( ) = 0;
virtual void DrawAll( ) const = 0;
virtual void UpdateAll( ) = 0;
};
inline Manager::~Manager( ) {}
}
| [
"zerodarkzone@gmail.com"
] | zerodarkzone@gmail.com |
77108b4a629e03d4ba09555c22330e290fb88d07 | bd9c1a7c6ee0d4ce9bb2e86c6176b28e4c911067 | /Ray Tracing Project/task6/ray.h | 024cd4ed9f9b60024b589daca94a759904cd115c | [] | no_license | melihkurtaran/Computer_Graphics | 0c4e694b411fa162fed32dcd15879473c0ff763c | 36d991df993488b40f8fac0b96c96063b70d1bae | refs/heads/main | 2023-02-20T01:43:23.708085 | 2021-01-24T10:25:55 | 2021-01-24T10:25:55 | 332,414,002 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 651 | h | // Created by Melih Kurtaran on 30/10/2020.
// Copyright © 2020 melihkurtaran. All rights reserved.
//
#ifndef ray_h
#define ray_h
#include "vec3.h"
class ray {
public:
ray() {}
ray(const point3& origin, const vec3& direction, double time = 0.0)
: orig(origin), dir(direction), tm(tim... | [
"melihkurtaran@sabanciuniv.edu"
] | melihkurtaran@sabanciuniv.edu |
5e37ec796390745eb1d19aceb1d45c576ce879be | 7e0ec0e32282307dd5bf051602cc6c2ea268452c | /src/rads/chomp/include/chomp/homology/known.h | f1700d26d1b9c493f3e04541e9e93a630c995475 | [] | no_license | caosuomo/rads | 03a31936715da2a9131a73ae80304680c5c3db7e | 71cab0d6f0711cfab67e8277e1e025b0fc2d8346 | refs/heads/master | 2021-01-20T10:18:58.222894 | 2018-05-24T02:18:58 | 2018-05-24T02:18:58 | 1,039,029 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,967 | h | /// @addtogroup homology
/// @{
/////////////////////////////////////////////////////////////////////////////
///
/// @file known.h
///
/// This file contains the definition of a tabulated set of configurations
/// of full cubical neighborhood used for reducing full cubical sets
/// in the homology computation procedu... | [
"jberwald@gmail.com"
] | jberwald@gmail.com |
c040f6c8ef8846adf1a28eaf401e6a553e6159bd | f28fab080d21139d72ab91dcb2537f15b9e40522 | /jerq/src/jraw/dots.h | 6f23cac6ba840f1424ae80871932d9f93ea9dccc | [] | no_license | Alhadis/Research-Unix-v8 | 20358db19a70108c9cdef93215ed7e225f9747d9 | 389623b76d5b6e195361f0705b1826b00ae14d19 | refs/heads/master | 2020-05-27T00:20:19.409031 | 2019-05-24T11:33:35 | 2019-05-24T11:33:35 | 188,419,943 | 9 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 372 | h | #ifndef DOT_H
#define DOT_H
#include "list.h"
class Dots:public List {
public:
Dots(Point p) {P = Q = p; sel = 12; mod = DOTHIT; draw(&display,F_XOR);}
Dots(Rectangle r) {R = r; sel = 15;}
void put(FILE *f) {fprintf(f,"d %d %d %d %d\n",X,Y,U,V);}
List *copy();
int down(Point);
int selleck(Rectangle);
void draw(B... | [
"gardnerjohng@gmail.com"
] | gardnerjohng@gmail.com |
600393fc84d533ac8927240c16f1f7544b3ea736 | 28125dc1d0090d864c3414472b0794d3939ff728 | /rectanglecutting.cpp | 896fd9957a43ac2ac77698bbec4baf71d6676202 | [] | no_license | Wadshah/c-codeforces | d4baeac02ef26ef8ccf4e3add92ecd4094ace582 | 8ea16f66e64910a2076d48aea7b2e9c7892bd55e | refs/heads/main | 2023-08-03T16:22:12.213406 | 2021-09-18T09:00:39 | 2021-09-18T09:00:39 | 407,808,949 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 931 | cpp | #include<bits/stdc++.h>
#include<iostream>
using namespace std;
#define ll long long int
#define inf 1e18
#define mod 1000000007
const int N=1e5+5;
void file_i_o(){
ios_base::sync_with_stdio(0);
cin.tie(0);
cout.tie(0);
#ifndef ONLINE_JUDGE
freopen("inputf.in", "r", stdin);
freopen("outputf.in"... | [
"wadshahg13139@gmail.com"
] | wadshahg13139@gmail.com |
9d4b8f24ef5e207b18a6f926868c8247a4a349cd | c365d25ee2237b3c260198827b33b0253d43eaf4 | /codeforces/699-a.cpp | 6a453b380e8b64c24f5b6629fc47c6ab5bab4e80 | [] | no_license | germanohn/competitive-programming | fb1249910ce951fe290e9a5be3876d3870ab8aa3 | fab9dc0e2998dd395c1b9d6639f8c187cf637669 | refs/heads/master | 2021-06-12T08:17:52.907705 | 2021-03-17T19:06:19 | 2021-03-17T19:06:19 | 58,595,999 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 750 | cpp | #include <bits/stdc++.h>
#define ff first
#define ss second
#define pb push_back
#define mp make_pair
#define debug(args...) fprintf (stderr, args)
using namespace std;
typedef long long ll;
typedef pair<int, int> pii;
// ATENCAO: cuidado com as variaveis dadas no exercicio, nao as reutilize
const int MAX = 200005;
i... | [
"germanohn@hotmail.com"
] | germanohn@hotmail.com |
d45c590033f93d3d93ab4dcb6e4e8913c1bd9e15 | fb9a4933b0d12ee01ff6fceee250957e9e9a3b8e | /Engine/Engine/cameraclass.cpp | cbb3dcb13463449b2018c6a124829e5c34debb15 | [] | no_license | KeiranMillar/Procedural-Generation-Methods | 5283cd4a054c3c7997a1cf17d547748f84a0546f | 709ebb106130ba2cba25a8711779205e2130e159 | refs/heads/master | 2020-05-23T07:01:09.550640 | 2019-05-14T17:38:06 | 2019-05-14T17:38:06 | 186,670,850 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,528 | cpp | ////////////////////////////////////////////////////////////////////////////////
// Filename: cameraclass.cpp
////////////////////////////////////////////////////////////////////////////////
#include "cameraclass.h"
CameraClass::CameraClass()
{
m_positionX = 0.0f;
m_positionY = 0.0f;
m_positionZ = 0.0f;
m_rotati... | [
"keiranmillar@gmail.com"
] | keiranmillar@gmail.com |
ed60c96f84676ea651cccd81a13fccc2c03526c1 | 88ae8695987ada722184307301e221e1ba3cc2fa | /ui/ozone/platform/drm/gpu/gbm_surface_factory.h | 84e3bf18460007ee8f82bda1280297f5f5f6391d | [
"BSD-3-Clause"
] | permissive | iridium-browser/iridium-browser | 71d9c5ff76e014e6900b825f67389ab0ccd01329 | 5ee297f53dc7f8e70183031cff62f37b0f19d25f | refs/heads/master | 2023-08-03T16:44:16.844552 | 2023-07-20T15:17:00 | 2023-07-23T16:09:30 | 220,016,632 | 341 | 40 | BSD-3-Clause | 2021-08-13T13:54:45 | 2019-11-06T14:32:31 | null | UTF-8 | C++ | false | false | 4,040 | h | // Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_OZONE_PLATFORM_DRM_GPU_GBM_SURFACE_FACTORY_H_
#define UI_OZONE_PLATFORM_DRM_GPU_GBM_SURFACE_FACTORY_H_
#include <stdint.h>
#include <map>
#include <memory>
#include... | [
"jengelh@inai.de"
] | jengelh@inai.de |
d8b8eb99be52c487e7b74e0c419b8e3b6d9da32a | aade1e73011f72554e3bd7f13b6934386daf5313 | /Contest/Europe/CERC/2016/C.cpp | f7b1069b057a1b69254323bf0ec6b655cb609b9d | [] | no_license | edisonhello/waynedisonitau123 | 3a57bc595cb6a17fc37154ed0ec246b145ab8b32 | 48658467ae94e60ef36cab51a36d784c4144b565 | refs/heads/master | 2022-09-21T04:24:11.154204 | 2022-09-18T15:23:47 | 2022-09-18T15:23:47 | 101,478,520 | 34 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 1,043 | cpp | #include<bits/stdc++.h>
using namespace std;
double ans;
void circle(int d){
if(!d){
ans+=acos(-1)/2;
return;
}
// cout<<"circle "<<d<<endl;
ans+=d+0.5+1;
double x=d;
double y=sqrt(3)/2-0.5;
double t=hypot(x,y);
double tt=sqrt(t*t-0.25);
double o=acos((t*t+0.25-tt*t... | [
"tu.da.wei@gmail.com"
] | tu.da.wei@gmail.com |
cc287b3040193a7fee94f330cbe3ca8c5672160b | ed1b1e2f35e18569aa19b63568431c65493b4fbe | /archsim/inc/core/thread/ThreadManager.h | 679d531377a50363c2d505957f3c1e78f8a850dd | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | yczheng-hit/gensim | cd215c6efc6357f1e375a90d7bda003e8288ed55 | 1c2c608d97ef8a90253b6f0567b43724ba553c6b | refs/heads/master | 2022-12-31T21:00:50.851259 | 2020-10-16T11:52:19 | 2020-10-16T11:52:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 789 | h | /* This file is Copyright University of Edinburgh 2018. For license details, see LICENSE. */
/*
* File: ThreadManager.h
* Author: harry
*
* Created on 10 April 2018, 16:14
*/
#ifndef THREADMANAGER_H
#define THREADMANAGER_H
#include <arch/ArchDescription.h>
namespace archsim
{
/**
* This class manages t... | [
"harry.wagstaff@gmail.com"
] | harry.wagstaff@gmail.com |
c54854f58e45e0a88581bfe301a09c5c97163c5d | d14b5d78b72711e4614808051c0364b7bd5d6d98 | /third_party/llvm-10.0/llvm/lib/CodeGen/LiveRangeUtils.h | 0e6bfeb0d4a59eb7fff3bf2c5d99c5a81cecf7dd | [
"Apache-2.0"
] | permissive | google/swiftshader | 76659addb1c12eb1477050fded1e7d067f2ed25b | 5be49d4aef266ae6dcc95085e1e3011dad0e7eb7 | refs/heads/master | 2023-07-21T23:19:29.415159 | 2023-07-21T19:58:29 | 2023-07-21T20:50:19 | 62,297,898 | 1,981 | 306 | Apache-2.0 | 2023-07-05T21:29:34 | 2016-06-30T09:25:24 | C++ | UTF-8 | C++ | false | false | 2,172 | h | //===-- LiveRangeUtils.h - Live Range modification utilities ----*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | [
"bclayton@google.com"
] | bclayton@google.com |
f279a501e41ea0fcf79e58d6ac0398188f770c29 | 34c06ba03e6f7d43f2a26a3c83fbe661a659f14d | /Scheduler.h | 0f46e1d2af98f12ec1b0a7b50d49efa91c083948 | [] | no_license | masaraksh79/pyxnet | 56b32eb4e0674a9c5cbe94afeb962fdde0ca9506 | 0e743ddc8aff9e8b026a1524577835d6003ae507 | refs/heads/master | 2021-01-22T05:50:58.433110 | 2017-10-21T10:31:33 | 2017-10-21T10:31:33 | 81,716,547 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,967 | h | //
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it wil... | [
"yakir.m@gmail.com"
] | yakir.m@gmail.com |
bfb33ed282a19b1b06b94aafd420d380ef6cb66e | 942bc7a374ced8f96a139feac1a01148cc4e60d7 | /indy/C4/IdLogBase.hpp | 4f1e80dd8c5c88b4e6de245f41e6e0d8626e69d6 | [] | no_license | p-ameline/Episodus | 915b0dfa324a0b9374b887f0fc9fd74a599b9ae3 | 8bba0a26e267cff40a7669c6ae47647c68a30834 | refs/heads/master | 2022-04-07T12:39:09.224028 | 2020-03-06T09:20:03 | 2020-03-06T09:20:03 | 119,287,108 | 1 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 2,283 | hpp | // Borland C++ Builder
// Copyright (c) 1995, 1999 by Borland International
// All rights reserved
// (DO NOT EDIT: machine generated header) 'IdLogBase.pas' rev: 4.00
#ifndef IdLogBaseHPP
#define IdLogBaseHPP
#pragma delphiheader begin
#pragma option push -w-
#include <IdSocketHandle.hpp> // Pascal unit
#include <I... | [
"philippe.ameline@free.fr"
] | philippe.ameline@free.fr |
f4cf5d6214f0de6981d66269b42eaaee7e412e3a | abe141e3a19b885c33edd932dfa0b9de13c14882 | /src/main_components/aspif_rule_statement.cpp | 65dd00b4c0ef73e6fda3a32eed1db400733c820e | [] | no_license | kwrx/ASP-Solving-Input-Optimizer | fcca8cd6a684c7ec2375dc0822c7e717b4b67ccf | 43235ea6e5edbe67e71b0ec7bdff345bd7419a1d | refs/heads/master | 2022-09-13T20:52:29.171603 | 2020-05-31T19:21:35 | 2020-05-31T19:21:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,953 | cpp | #include "../../include/main_components/aspif_rule_statement.h"
using namespace aspsio;
AspifRuleStatement::AspifRuleStatement():head_type(Disjunction), lower_bound(-1){}
// Print the new rule structure into the input encoding data
void AspifRuleStatement::DoOutput(){
if(!useless){
std::string newline =... | [
"antony_97-@hotmail.it"
] | antony_97-@hotmail.it |
c89da6724f45acd1cc051326897683208a367a62 | 4d7ff773dbcd29530baf4e04d74136bde30252b6 | /Libraries/libraries/Ultrassonic/Ultrassonic.cpp | 839d7d2ca74a23441d7123811f0b3750e8ab978e | [
"MIT"
] | permissive | JoeVogel/Arduino-TrekkingRobot | 7b845e0f753bbcbd9ec6c2b062616d69f066a129 | b06ad38e630818b81c498e7f42e2fe79e35d62d0 | refs/heads/master | 2020-05-17T17:37:18.689949 | 2014-09-02T00:13:56 | 2014-09-02T00:13:56 | 21,040,464 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,713 | cpp | #include "Arduino.h"
#include "Ultrassonic_h"
void Ultrassonic::defineSonar(int URTRIG, int URPWM, char positionSensor){
switch(positionSensor){
case 'f':
this->URTRIG_f = URTRIG;
this->URPWM_f = URPWM;
pinMode(this->URTRIG_f,OUTPUT);
digitalWrite(this->URTRIG_f,HIGH); ... | [
"joe_vogel@live.com"
] | joe_vogel@live.com |
3a29920983a3b92bd5f1b701be2b6bb4ce5b1e18 | 1c33a7c60cf567dd4a4a3853b015fac477cd46f0 | /BFS_100/2234_성곽.cpp | 701c3273ec05bfa784644228eb58c5ea7531b2e1 | [] | no_license | su-hyunieee/vs_code_copy | 4635b66146d26d9dc4524daa6beaabdd61b3ae62 | a4b4c10c29b9850ee7ffeef6c46def9da32df572 | refs/heads/main | 2023-05-31T09:44:47.721381 | 2021-06-03T06:04:39 | 2021-06-03T06:04:39 | 373,041,727 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 97 | cpp | #include<iostream>
#include<queue>
#include<algorithm>
using namespace std;
int main(){
} | [
"tn123gus@naver.com"
] | tn123gus@naver.com |
ed2a8b99d9d83c89270d11bac834e50be50c9ab8 | 63367b8560e8a86ba5b26602d666800b7978756c | /code/graph/graph.cc | 7baec1ecd83e5d5cdacc119eafad19fbbfc43962 | [] | no_license | IAmBullsaw/Graph | 0342360f67636165bbd981d1a5d5b1f55271b8ca | d99d89e2aca34d41b592e9c083b52876f25e79f9 | refs/heads/master | 2021-07-15T15:45:17.364580 | 2017-10-22T20:45:48 | 2017-10-22T20:45:48 | 107,901,121 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,426 | cc | #include <iostream>
#include "graph.h"
#include <fstream>
#include <sstream>
#include <functional>
using namespace std;
Graph::Graph()
:size{0},nodes{}
{}
Graph::~Graph() {
for (Node* n: nodes) {
delete n;
n = nullptr;
}
}
void Graph::add_node(Node* n) {
bool add{true};
for (Node* node: nodes) {
... | [
"oskja067@student.liu.se"
] | oskja067@student.liu.se |
241752949387b8bf75df13dd8fda6ebf8b52967f | 9f7ae044ec7e6fab9bd27e81b636ea242d3dfa1d | /framework/include/gmsec/secure/Policy.h | be124e7b3678de9bb1d5389bfb22d806c1292a8f | [] | no_license | barbaroony/GMSEC_API | 9ced39b6d6847a14db386264be907403acc911da | 85f806c2519104f5e527dab52331c974d590145a | refs/heads/master | 2022-12-18T20:52:36.877566 | 2020-09-25T12:27:13 | 2020-09-25T12:27:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,598 | h | /*
* Copyright 2007-2020 United States Government as represented by the
* Administrator of The National Aeronautics and Space Administration.
* No copyright is claimed in the United States under Title 17, U.S. Code.
* All Rights Reserved.
*/
#ifndef gmsec_secure_Policy_h
#define gmsec_secure_Policy_h
#inc... | [
"david.m.whitney@nasa.gov"
] | david.m.whitney@nasa.gov |
4e5cf8c95f9fb21cde28b1524e0c0e8823c63094 | 835881ade89eaff933f81d186e69fcf9695d9392 | /src/representation/dmp/src/EigenHelpers.h | eff835e01f25e6c2ecec0385310064c66d3259d4 | [
"BSD-3-Clause"
] | permissive | MMKrell/bolero | 9e056a88aa89332762c0f06d4f8e43fc4ac64018 | 0e011de35f2b364bb3bb7509bc38491762026643 | refs/heads/master | 2021-01-21T15:19:20.012273 | 2017-05-19T13:38:47 | 2017-05-19T13:38:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,792 | h | #include <Eigen/Core>
namespace dmp
{
using Eigen::ArrayXd;
using Eigen::MatrixXd;
using Eigen::ArrayXXd;
struct EigenHelpers
{
static inline ArrayXd toEigen(std::vector<double> data){
ArrayXd eig;
eig.resize(data.size());
for(unsigned int i=0; i<data.size(); i++)
eig[i] = data[i];
return eig... | [
"afabisch@informatik.uni-bremen.de"
] | afabisch@informatik.uni-bremen.de |
8681a1e97dc034e25202ae66024034bf9007350e | 393994afe703f4053aa3182d7e6237b3bf7121d3 | /core_qui/quidateselect.cpp | cb77fda8c29ae360d3e7285cf33663333d476ad3 | [
"LicenseRef-scancode-mulanpsl-1.0-en",
"MulanPSL-1.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | xiaohai1998/QWidgetDemo | 9bc4630c7eb1e196eeefc8e1b02c89265883faae | a0855f95d2b075bd43550a505c7ccdb902d36b37 | refs/heads/master | 2023-06-01T19:45:18.020743 | 2021-06-24T09:39:01 | 2021-06-24T09:39:01 | 375,033,368 | 0 | 0 | NOASSERTION | 2021-06-24T09:39:02 | 2021-06-08T14:11:29 | null | UTF-8 | C++ | false | false | 9,407 | cpp | #include "quidateselect.h"
QScopedPointer<QUIDateSelect> QUIDateSelect::self;
QUIDateSelect *QUIDateSelect::Instance()
{
if (self.isNull()) {
static QMutex mutex;
QMutexLocker locker(&mutex);
if (self.isNull()) {
self.reset(new QUIDateSelect);
}
}
return self.d... | [
"feiyangqingyun@163.com"
] | feiyangqingyun@163.com |
c5c0df09d8f6ceec7ac17d18f0025afe2122e5a8 | 50f8c138da0165fa140c3241291aa2b0a8a14f99 | /bombs and bills.cpp | 34b87991d4d08a196bc2955084e9e8130690360a | [] | no_license | Priybhanu99/My-Codes | c5da0821348939d75498e2751bc6c63d5e572294 | 4dc2e93fb941c4166b3b687a76358a1f309cc976 | refs/heads/master | 2021-05-19T12:22:09.830851 | 2021-01-17T15:22:23 | 2021-01-17T15:22:23 | 251,694,773 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,241 | cpp | #include <bits/stdc++.h>
using namespace std;
int main(int argc, char *argv[]) {
// このコードは標準入力と標準出力を用いたサンプルコードです。
// このコードは好きなように編集・削除してもらって構いません。
// ---
// This is a sample code to use stdin and stdout.
// Edit and remove this code as you like.
#ifndef ONLINE_JUDGE
freopen("input.txt","r",stdin);
fr... | [
"bhanuyadav1999.by@gmail.com"
] | bhanuyadav1999.by@gmail.com |
2529773627ec1c162b47bd417c23d82a2fc9f7ae | d85b1f3ce9a3c24ba158ca4a51ea902d152ef7b9 | /testcases/CWE762_Mismatched_Memory_Management_Routines/s05/CWE762_Mismatched_Memory_Management_Routines__new_array_free_int_81a.cpp | cf685d04455e07c573a9ca2ce9e4ea38cae8505b | [] | no_license | arichardson/juliet-test-suite-c | cb71a729716c6aa8f4b987752272b66b1916fdaa | e2e8cf80cd7d52f824e9a938bbb3aa658d23d6c9 | refs/heads/master | 2022-12-10T12:05:51.179384 | 2022-11-17T15:41:30 | 2022-12-01T15:25:16 | 179,281,349 | 34 | 34 | null | 2022-12-01T15:25:18 | 2019-04-03T12:03:21 | null | UTF-8 | C++ | false | false | 3,197 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE762_Mismatched_Memory_Management_Routines__new_array_free_int_81a.cpp
Label Definition File: CWE762_Mismatched_Memory_Management_Routines__new_array_free.label.xml
Template File: sources-sinks-81a.tmpl.cpp
*/
/*
* @description
* CWE: 762 Mismatched Memory Manage... | [
"Alexander.Richardson@cl.cam.ac.uk"
] | Alexander.Richardson@cl.cam.ac.uk |
45fa7f217703c30045e8c773fd08e741db5a7f84 | 40523a22fdbe5d111c9601a52cf4ceb3e231dc8e | /src/Shader.h | ea1780a7d7610f0b271d0d82ece9c60c1f6c3c49 | [] | no_license | antaires/3D-OpenGL-Engine | dab3bbb454be406e2d96fddb68676c0b38ce743f | 391815b253e75aeb69e77ac805ab1bc7ff8aa86a | refs/heads/master | 2023-08-18T13:18:32.357756 | 2020-12-07T07:14:04 | 2020-12-07T07:14:04 | 281,370,334 | 1 | 1 | null | 2021-09-28T13:02:29 | 2020-07-21T10:45:38 | C++ | UTF-8 | C++ | false | false | 1,004 | h | #pragma once
#include "Math.h"
#include <GL/glew.h>
#include <string>
class Shader
{
private:
// store the shader object IDs
GLuint m_ShaderProgram;
GLuint m_VertexShader;
GLuint m_FragShader;
std::string name;
public:
Shader(std::string& name);
~Shader();
// load vertex/ fragment shaders
bool Load... | [
"11vdlo@gmail.com"
] | 11vdlo@gmail.com |
8ad10dcd3b3fdb128a829611b43d441a3e63a492 | d81451ac2511d3438de7baf375b5c855ea24305a | /CPP/rent.cpp | 2e2c1bbed086dfc64b9a8dddc2ff279c2a794c0e | [] | no_license | ToF-/Rent | 2bcd84b46066c6709df72509865ca0f01b111d21 | b0dd5e5513e31c63ccaf680ccce70fe5fb5d279b | refs/heads/master | 2021-05-25T09:04:10.168494 | 2021-05-02T08:47:34 | 2021-05-02T08:47:34 | 13,162,992 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,603 | cpp | // rent.cpp
//#define SPOJ // uncomment this line to make spoj
#include <iostream>
#include "rent.h"
#include "assert.h"
#include "stdio.h"
#include <cstdlib>
using namespace std;
Scheduler::Scheduler() {
max_orders = 0;
}
Order Scheduler::next_compatible_order(int k, Order order) {
int l = k+1;
int h = ... | [
"cthibaut@octo.com"
] | cthibaut@octo.com |
8f92a7d8fdfbe1546ba37299dd223daf05c1fbed | f59592f0554401fe887246519e08513fcfdae74a | /src/DeviceException.hpp | f13d920d0d4cd8f3fe9d48051954d840238ebc37 | [] | no_license | sanjay900/SanPIE | 587828a5d9a2293024285c13918f884cecdee1ed | b8e5c858a17e1d73ec245a6403f98a2bd3206e40 | refs/heads/master | 2023-02-24T11:40:58.740712 | 2023-02-14T03:01:49 | 2023-02-14T03:01:49 | 139,983,607 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 417 | hpp | //
// Created by sanjay on 4/07/18.
//
#ifndef WEJOY_CONTROLLEREXCEPTION_H
#define WEJOY_CONTROLLEREXCEPTION_H
#include <exception>
#include <string>
#include <utility>
class DeviceException: public std::exception {
private:
const std::string message_;
public:
explicit DeviceException(std::string message);
... | [
"sanjay.govind9@gmail.com"
] | sanjay.govind9@gmail.com |
d224ff90144a78cfba47aa79e535a09b8b48a965 | c50c60c7b8614767a4125afc5d71e8864d604560 | /unused/IntensityCalibrationDataFilter.cpp | 803052011ded38b4a4f605d9339502dc04733fdd | [] | no_license | whigg/spc | 12a797650185577ea0bd6e3848f9908f1c3a3956 | 818a2737aab1e2c83a056a6a80b1d6c0e388bda0 | refs/heads/master | 2020-09-02T06:31:46.286449 | 2017-11-30T11:30:57 | 2017-11-30T11:30:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 44 | cpp | #include "IntensityCalibrationDataFilter.h"
| [
"luca.penasa@gmail.com"
] | luca.penasa@gmail.com |
757c931a106f23c70a8c5d009932567f327b9ed7 | 7dfb3a15943620097f11f3e2aa3e06fc56d05a18 | /Autolabor/driver/lidar/wr_fslidar/src/serial.cpp | 8ce0a3b28059ec19101febc539430a9dd6ce5adc | [] | no_license | StPaulImp/Autolabor | 737356909f179939a357eb3abec790d5f3d9e7be | 8a06a168d19c4cc6837cc447e321a6f5813a3264 | refs/heads/master | 2023-04-08T06:09:08.617007 | 2021-04-19T10:44:34 | 2021-04-19T10:44:34 | 297,869,076 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,927 | cpp | #include <iostream>
#include <unistd.h>
#include "serial.h"
using namespace std;
Serial::Serial()
{
fd = -1;
}
bool Serial::openUp(const char *dev)
{
struct termios termios_old;
fd = open(dev, O_RDWR | O_NOCTTY | O_NDELAY );
if (fd < 0){
return false;
}
tcgetattr(fd , &termios_old);
... | [
"wangqi@shtdtech.com"
] | wangqi@shtdtech.com |
b0902df7a1f219d797002d9cd8961f56fb18199a | 7f4430f70911ddc552956ac1b7874a88d8b0edad | /hash/HashTable.cpp | 5915859434b4215f8faca06e14c15447bc47e4f5 | [] | no_license | tylercross/algorithm | 404689c701655515cc7608a45b8d1d8257dd2bb8 | 44171627a592f0a91c0a8dbf8c97f034d92ee40c | refs/heads/master | 2020-04-29T11:34:00.306675 | 2019-09-10T16:06:04 | 2019-09-10T16:06:04 | 176,103,341 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,531 | cpp | //*****************************************************************
// HashTable.cpp
// HashTable
//
// Created by Karlina Beringer on June 18, 2014.
//
// This header file contains the Hash Table class definition.
// Hash Table array elements consist of Linked List objects.
//*************************************... | [
"fanwenjin@tju.edu.cn"
] | fanwenjin@tju.edu.cn |
08346e4a8b113bc34366546eb4dbcfcde0526472 | b1e730e22510b7d296f372de39c2ffda44d1001b | /189A-Cut_Ribbon.cpp | 228fd078d643bf164acdc8f112f0115b98266456 | [] | no_license | KieranHorgan/Codeforces-Problems | 7f28ed654a7b142086bb25c2f8b98fc2c66bf7a2 | 9e87ccea355208044343be857b005530f228a445 | refs/heads/master | 2021-01-19T19:44:35.895339 | 2017-05-09T20:12:02 | 2017-05-09T20:12:02 | 88,438,604 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 544 | cpp | #include <iostream>
using namespace std;
#define ll long long
ll n, m, ans;
ll a, b, c;
ll dp[10000];
int main() {
cin >> n;
ll abc[3];
cin >> abc[0] >> abc[1] >> abc[2];
for(int i = 1; i < n+2; i++) {
dp[i] = -1;
}
dp[0] = 0;
for(int i = 0; i < n; i++) {
... | [
"kieranhorganmallow@gmail.com"
] | kieranhorganmallow@gmail.com |
b321357010fa791e687c7070e11c5fe1dcde043e | 7903ac347c1d15a4d5e5d6abf31912a33c1d51d9 | /src/Bullet.h | 8f498fbfc009d3244519ae2393d141f3774ba03a | [] | no_license | esialb/arduboy-shmup | d0da6f933a48308dd0db11662fe854777590d2be | 9fe95dc082841298fca2d109247d0b1b42876a7b | refs/heads/master | 2020-06-11T10:09:39.095178 | 2017-08-24T01:14:08 | 2017-08-24T01:14:08 | 75,697,170 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 422 | h | /*
* Bullet.h
*
* Created on: Dec 6, 2016
* Author: robin
*/
#ifndef SRC_BULLET_H_
#define SRC_BULLET_H_
#include <Arduboy2.h>
#include "ShmupSprites.h"
class Bullet {
public:
Bullet();
virtual ~Bullet();
void Draw();
void Tick();
bool Collides(int x, int y, const uint8_t* mask);
bool act... | [
"robin.kirkman@gmail.com"
] | robin.kirkman@gmail.com |
8e903246b54e67ff425f3d0041a93dba2d739145 | c097c09c748cb8294d83d4763d744957501cd67c | /ProyectoVHMVCSpa/Principal.cpp | a284f9c4d774c6999af5a4a79f06335dce5c15b1 | [] | no_license | PeterGabrielVE/CPlusPlus | afd9af5c4b5507fe0eb16793bea76f4ba76dc247 | b82a3df577570cc1e8deac2aa14c7baf494dc158 | refs/heads/master | 2021-05-11T04:03:03.054773 | 2018-04-01T02:50:01 | 2018-04-01T02:50:01 | 117,926,636 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,448 | cpp | /*
* Principal.cpp
*
* Created on: 26/05/2014
* Author: Pedro Gabriel Leal
*
*PLANTEAMIENTO:
La empresa AMANON SPA se encuentra ubicada en la zona Este de Barquisimeto y se encarga de tratar
el cuerpo, la mente y el espíritu como un todo, para alcanzar la armonía, el equilibrio y el bienestar
entre ellos. E... | [
"gaboleal123@gmail.com"
] | gaboleal123@gmail.com |
de73da16737884b14812568270c69c89a249838f | b53433a087a326afa053b924c045d9d8d9d14b2d | /439A - Devu, the Singer and Churu, the Joker/17714054_15MS_2000K.cpp | 54e7bf53a8822a14acf9138283d7492385d73de7 | [
"MIT"
] | permissive | cloudzfy/codeforces | cc372049384077d00cad8260ad29c05378cd21e1 | d409574c1a4218419aa6e9ddc02fddb7b83455d8 | refs/heads/master | 2021-01-01T05:21:08.768864 | 2016-09-27T05:24:00 | 2016-09-27T05:24:00 | 57,424,154 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 574 | cpp | #include <stdio.h>
#include <iostream>
#include <string>
#include <unordered_map>
#include <unordered_set>
#include <vector>
#include <cstring>
#include <algorithm>
#include <map>
#include <stack>
using namespace std;
int main(int argc, const char * argv[]) {
int n, d, t;
int sum = 0;
int count = 0;
ci... | [
"cloudzfy@users.noreply.github.com"
] | cloudzfy@users.noreply.github.com |
86b0f1a35c24b99bfa70fb6571cbff3698c6881d | 15aaa722445ea5088f81fdc09aaebb7188a3489a | /lintcodeStudy/lintcodeStudy/aAddBpro.cpp | e9ad681250a41c25f9ca69a24393140751ad65fb | [] | no_license | testZyhGitHub/mysqlExpert | e98596a5abfedb46a3e99047a7f0d8f873a6fcd3 | 80dace9fe165f1d23b92e5207e1111124e2f5adf | refs/heads/master | 2020-03-27T12:54:37.523447 | 2019-03-15T09:46:17 | 2019-03-15T09:46:17 | 146,577,483 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 3,747 | cpp | #include <stdio.h>
// A + B 问题
/*
描述
给出两个整数 aa 和 bb , 求他们的和。
你不需要从输入流读入数据,只需要根据aplusb的两个参数a和b,计算他们的和并返回就行。
说明
a和b都是 32位 整数么? 是的
我可以使用位运算符么? 当然可以
样例
如果 a=1 并且 b=2,返回3。
挑战
显然你可以直接 return a + b,但是你是否可以挑战一下不这样做?(不使用+等算数运算符)
*/
int aplusb(int aa, int bb)
{
return aa+bb;
}
/*
杭电ACM-A+B problem
... | [
"zyhnanau86@163.com"
] | zyhnanau86@163.com |
3aba178246b875e5ccfea992c9c8638087d8e829 | 0019f0af5518efe2144b6c0e63a89e3bd2bdb597 | /antares/headers/os/support/StopWatch.h | ff1a39d3c98f5cd8366b9409bbf533b499cacc34 | [] | no_license | mmanley/Antares | 5ededcbdf09ef725e6800c45bafd982b269137b1 | d35f39c12a0a62336040efad7540c8c5bce9678a | refs/heads/master | 2020-06-02T22:28:26.722064 | 2010-03-08T21:51:31 | 2010-03-08T21:51:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 714 | h | /*
* Copyright 2001-2007, Antares, Inc. All Rights Reserved.
* Distributed under the terms of the MIT License.
*/
#ifndef _STOP_WATCH_H
#define _STOP_WATCH_H
#include <BeBuild.h>
#include <SupportDefs.h>
class BStopWatch {
public:
BStopWatch(const char* name, bool silent = false);
virtual ~BStopWatch();
... | [
"michael@Inferno.(none)"
] | michael@Inferno.(none) |
6446d4a3b7a4fb9587d9dc143fe7d05deb2d4587 | 775acebaa6559bb12365c930330a62365afb0d98 | /external/server/tools/omniORB-4.1.5/include/omniORB4/internal/giopMonitor.h | f269b5124cf135e6340954584c5b8672a1049df1 | [] | no_license | Al-ain-Developers/indesing_plugin | 3d22c32d3d547fa3a4b1fc469498de57643e9ee3 | 36a09796b390e28afea25456b5d61597b20de850 | refs/heads/main | 2023-08-14T13:34:47.867890 | 2021-10-05T07:57:35 | 2021-10-05T07:57:35 | 339,970,603 | 1 | 1 | null | 2021-10-05T07:57:36 | 2021-02-18T07:33:40 | C++ | UTF-8 | C++ | false | false | 2,088 | h | // -*- Mode: C++; -*-
// Package : omniORB
// giopMonitor.h Created on: 23 July 2001
// Author : Sai Lai Lo (sll)
//
// Copyright (C) 2001 AT&T Laboratories Cambridge
//
// This file is part of the omniORB library
//
// The omniORB library... | [
"75730278+Tarekhesham10@users.noreply.github.com"
] | 75730278+Tarekhesham10@users.noreply.github.com |
31e16c526d6e6920fc6e9df834579ad23f66f7b8 | 2f43d57de1573954cde75b87fde88647fbdc619c | /main/NodeFactory.cpp | c006fa0209eb409218b0028eb8d1a60a317c2a32 | [] | no_license | rafey111/open-cv-sift | c7620127787825ab3bec59af86a4bbe7fd89c9f5 | 6974a0308a596d4d8a65ceed3fa957f05014f24c | refs/heads/master | 2021-01-14T14:11:54.216317 | 2013-10-16T15:10:07 | 2013-10-16T15:10:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 134 | cpp | #include "NodeFactory.hpp"
Node* NodeFactory::createNode(Point* pPoint, bool isVertical) {
return new Node(pPoint, isVertical);
}
| [
"tomasz.kaminski@lincoln.ox.ac.uk"
] | tomasz.kaminski@lincoln.ox.ac.uk |
e684b7928f2e61c8ba6785b1f6db4a83a08bfb91 | 82815230eeaf24d53f38f2a3f144dd8e8d4bc6b5 | /Airfoil/wingMotion/wingMotion2D_pimpleFoam/1.9/uniform/time | 306dbc77a186e48827d2608aebe45709f5e30015 | [
"MIT"
] | permissive | ishantja/KUHPC | 6355c61bf348974a7b81b4c6bf8ce56ac49ce111 | 74967d1b7e6c84fdadffafd1f7333bf533e7f387 | refs/heads/main | 2023-01-21T21:57:02.402186 | 2020-11-19T13:10:42 | 2020-11-19T13:10:42 | 312,429,902 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,015 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1912 |
... | [
"ishantamrakat24@gmail.com"
] | ishantamrakat24@gmail.com | |
34c56e702b2ad05eaea865b5e26faa7842dd6045 | 454f2125c2d49b6be8113e756f5f68fd75678b84 | /ZetCodeQt5Exmaple/EventsAndSignals/timer.h | 2432ae2aa866632886d4cdc9cf625b1c9ae9f204 | [] | no_license | JackLovel/excuise- | c8a6977c96b8d6e41a937212f8e7dfc606328b4b | 60418044c9387868043982c071ea1365b0d24057 | refs/heads/master | 2021-06-27T17:06:16.708054 | 2020-10-24T03:27:31 | 2020-10-24T03:27:31 | 164,762,577 | 0 | 0 | null | 2020-07-17T01:14:39 | 2019-01-09T01:27:43 | JavaScript | UTF-8 | C++ | false | false | 242 | h | #ifndef TIMER_H
#define TIMER_H
#include <QWidget>
#include <QLabel>
class Timer : public QWidget
{
public:
Timer(QWidget *parent = 0);
protected:
void timerEvent(QTimerEvent *e);
private:
QLabel *label;
};
#endif // TIMER_H
| [
"2101721230@qq.com"
] | 2101721230@qq.com |
8ecb4c06dbfba8ec4c734462d33c032cefa524cd | 0b9178ff7d3db16e6d28106f33c52298d8c04f81 | /source/problem/SWE/discretization_IHDG/dist_boundary_conditions/ihdg_swe_dbc_distributed.hpp | 479b0836015d2498987ba4a2741dbe6f37606a22 | [
"Apache-2.0",
"MIT"
] | permissive | bremerm31/dgswemv2 | 440d3999fd76632e2631d0993509a0adde090762 | 5ddddfdf1b5f51e9dbc348f2e69f187546649957 | refs/heads/master | 2021-07-13T05:59:42.005455 | 2020-04-06T13:45:34 | 2020-04-06T13:45:34 | 132,520,141 | 0 | 0 | MIT | 2018-06-27T13:53:49 | 2018-05-07T21:50:47 | C++ | UTF-8 | C++ | false | false | 1,979 | hpp | #ifndef IHDG_SWE_DBC_DISTRIBUTED_HPP
#define IHDG_SWE_DBC_DISTRIBUTED_HPP
#include "communication/db_data_exchanger.hpp"
namespace SWE {
namespace IHDG {
namespace DBC {
class Distributed {
public:
DBDataExchanger exchanger;
public:
Distributed(DBDataExchanger exchanger);
template <typename Distribu... | [
"kazbek@ices.utexas.edu"
] | kazbek@ices.utexas.edu |
208319e19fa9c18588147b6863fefa133829d845 | 184b05b1cd272ed2f5c3e9ab76766da81679ed65 | /absolute-c++/c05-arrays/selftests/e16.cpp | 68c03e14da90fd13dab0b75eefdc00534c765230 | [] | no_license | j0sht/csci161 | 93e1b4db82d65d30ec4c9edcf963646208f0158a | ba1301541ec2a5d19e1c10874fbfdd6caa2590d5 | refs/heads/master | 2021-03-16T09:42:11.169638 | 2018-04-29T23:30:20 | 2018-04-29T23:30:20 | 117,606,586 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,059 | cpp | /*
* Write a function named outOfOrder that takes as parameters an array
* of double and an int parameter named size and returns a value of
* type int.
*
* This function will test this array for being out of order, meaning
* that the array violates the following condition:
* a[0] <= a[1] <= a[2] <= ...
*
*... | [
"jmtate@icloud.com"
] | jmtate@icloud.com |
5f62f552e389837c1de26c5326e8e43940b9c61e | 7f16b8fca08125c77daead7d1b6e5f9b0541a55d | /VirtualWallet/logic/src/control/releasemapper.cpp | f9c953ec23850d7db4960874d018ef90565bc435 | [
"MIT"
] | permissive | joaovicentesouto/INE5417 | 7497677550a026ecce6e105eb5d6cbb5762fee5a | a238fe248fb6451b5706b4587cfed48f07846ac4 | refs/heads/master | 2021-01-15T19:04:03.490693 | 2017-12-11T20:58:14 | 2017-12-11T20:58:14 | 99,802,520 | 0 | 5 | null | 2017-11-05T00:43:16 | 2017-08-09T11:51:12 | C++ | UTF-8 | C++ | false | false | 4,104 | cpp | #include "releasemapper.h"
namespace project {
ReleaseMapper::ReleaseMapper(QSqlDatabase & _conn, WalletMapper * _walletMapper,
BankAccountMapper * _bankAccountMapper, ReleaseTypeMapper * _releaseTypeMapper) :
conn(_conn),
walletMapper(_walletMapper),
bankAccountMapper(_bankAc... | [
"joaovicentesouto@gmail.com"
] | joaovicentesouto@gmail.com |
bc75bb346af98c9d25df24517ec9d42d0f0e94ae | 0fbb8295d1c82a18fbb336be916750f6222a2728 | /ListOfPoint.hpp | 4c882982c18862615635f0cced52d3841092db7d | [] | no_license | sharok007/Airplane-control | 58ef57cbbcc7d36aa02fc9eb1796261aca07994e | e2809f7836724b3ac7ac12ea8f4ab0ad0c4bc73d | refs/heads/master | 2020-12-30T12:44:27.131324 | 2017-05-19T00:01:13 | 2017-05-19T00:01:13 | 91,238,497 | 0 | 0 | null | 2017-05-14T11:22:00 | 2017-05-14T11:22:00 | null | UTF-8 | C++ | false | false | 392 | hpp | #pragma once
#include <vector>
#include "Point.hpp"
class ListOfPoint{
private:
std::vector<Point> vecPoint;
unsigned int numbOfPoint;
public:
ListOfPoint(std::vector<Point> _vecP,unsigned int nop);
void appened();
void remove();
void setVecPoint(std::vector<Point> _vecP,unsigned int numb);
... | [
"smirnovmaksim10@mail.ru"
] | smirnovmaksim10@mail.ru |
6d09bb3aca011a44b273dd15fb7c41ae2251b816 | 6224636e5a771a1fc6be6466aa92433de0ed005e | /OpenFrameworks/LightPaintingApp/src/Main/main.cpp | a5bf3f52a6ba38314dbd5d7c15ec2b4d4c8b9494 | [
"MIT"
] | permissive | undessens/LightPainting | 17861f69e0e52d170d5e2f43bfc1f551ce500b8d | 6342198c1e37ffe223423e5c4c1b62d47ea82332 | refs/heads/master | 2020-09-20T08:49:03.411673 | 2019-08-09T17:33:50 | 2019-08-09T17:33:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 368 | cpp | #include "ofMain.h"
#include "LightPaintingApp.h"
//========================================================================
int main( ){
ofSetupOpenGL(1024,768, OF_WINDOW); // <-------- setup the GL context
// this kicks off the running of my app
// can be OF_WINDOW or OF_FULLSCREEN
// pass in width and heigh... | [
"yo@imanolgomez.net"
] | yo@imanolgomez.net |
dacc37c2007e2607de9bfaed7f2fb63a71dd4e69 | 5cc88e2032cffb4f562a643fcb677efee36d0da5 | /Source/Fonts.h | e59498fe52df694d9759df64f2c91b1c302d3a99 | [] | no_license | guorenxu/StarnightRPGPrototype | fa56f62281c612b9d8eb9161ed932574e9d6da0e | bf4ed4e902d237655f1f79e365539444135cddf1 | refs/heads/master | 2021-01-10T10:57:47.819464 | 2016-01-09T02:09:24 | 2016-01-09T02:09:24 | 49,306,683 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 580 | h | #ifndef _FONTS_H
#define _FONTS_H 1
#include "CString"
#include <cstdlib>
#include <stdio.h>
#include <string>
using namespace std;
class Font
{
public:
Font(int Size, int Alpha, int Type);
~Font(){};
void Prepare(); //Initialize Font
void Font::Draw(int Alpha,
int R,
int G,
int B,
... | [
"guoren.xu@loop.colum.edu"
] | guoren.xu@loop.colum.edu |
fcdf346d86e372d8488a11a78f6ab676ae1cda8d | 99ed5156c9b83d22dcd7c8a29937825694f4f36d | /dll/ALL/Demo示例/1-MFC综合示例(人脸库、人脸底图)/Config/DomeState.cpp | 3f6f320f7fcc1e9618fa98a8a6a8319f96b69f22 | [
"MIT"
] | permissive | zyx030613/algorithm_its | 73e862988f375a73e517db4f39b8f9005a819609 | eae3628a498d2bd9d61487b53b9cdde23b99e314 | refs/heads/master | 2020-04-25T07:53:45.586587 | 2019-12-03T06:37:26 | 2019-12-03T06:37:26 | 172,627,700 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,298 | cpp | // DomeState.cpp : implementation file
//
#include "stdafx.h"
#include "NetClientDemo.h"
#include "DomeState.h"
#define NORMAL_STATE 0
#define FAIL_STATE 1
#define NORMAL "Normal"
#define FAIL "Not Normal"
// CLS_DomeState dialog
IMPLEMENT_DYNAMIC(CLS_DomeState, CDialog)
CLS_DomeState::CLS_DomeState(CWnd* pParent... | [
"orchidaroma@126.com"
] | orchidaroma@126.com |
3c8824625a1457bc97f769cf46217944bd962e75 | 14bfb426c44212109a49a0bd4047fb85ce2bbba8 | /숙제1/EBR_LF/EBR_LF/LFSKIPLIST.cpp | 9e83ed0c0b7eabe6a9a98e5fd963da9fc7937933 | [] | no_license | jayong93/2020IssueOfParallelProcessing | f84375888b12608fdd22699f1716bfeaf80a59ab | fbdef80cb151c80f65b7b61f572d4f656ade8c37 | refs/heads/master | 2021-05-17T11:14:35.168928 | 2020-06-22T15:04:47 | 2020-06-22T15:04:47 | 250,751,022 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,642 | cpp | #include <mutex>
#include <thread>
#include <iostream>
#include <chrono>
#include <vector>
#include <mutex>
#include <memory>
#include <atomic>
using namespace std;
using namespace chrono;
static const int NUM_TEST = 4000000;
static const int RANGE = 1000;
static const int MAX_LEVEL = 10;
constexpr un... | [
"jayong93@gmail.com"
] | jayong93@gmail.com |
b752801bde877b9719aee25dceb397bf87849142 | 1180641c135909710837767ac5d12ff9aafc1626 | /PC1/CodeblockPC1/Time/Serial.h | 2f7ee300195cbe5e106deee86ab9347bd25c9acb | [] | no_license | hiiamtin/DataCom_Asm61_EZ | a46f97d05e9ca51e6a932bf38c2496a72c86e9f7 | 163778fec31b3ab16fac7844237b00457fa74b71 | refs/heads/master | 2020-04-06T18:33:19.255915 | 2018-11-15T12:06:38 | 2018-11-15T12:06:38 | 157,702,579 | 1 | 2 | null | 2018-11-15T12:01:06 | 2018-11-15T11:47:49 | C++ | UTF-8 | C++ | false | false | 5,456 | h | #ifndef SERIALCLASS_H_INCLUDED
#define SERIALCLASS_H_INCLUDED
#define ARDUINO_WAIT_TIME 2000
#include <windows.h>
#include <stdio.h>
#include <stdlib.h>
class Serial
{
private:
//Serial comm handler
HANDLE hSerial;
//Connection status
bool connected;
//Get ... | [
"60010866@kmitl.ac.th"
] | 60010866@kmitl.ac.th |
6dea0cbdd04db20e7b15edd10b81d7f7979ae506 | 6cf49b15039dbe8c65af72d044ef28c7d6170db9 | /Bingo/Testing/MenuOptionTester.h | 33a74fa8e4ac2fd4d1bffd9402fcd1fa4ef59657 | [] | no_license | drakeaharper/cs1440 | cd0d529d049d010b1a41cda7687d5d65b3b82df6 | 373d65ffbb6214f12b13dec58e4b64f47e78b737 | refs/heads/master | 2021-01-11T14:54:02.260140 | 2017-04-30T00:43:17 | 2017-04-30T00:43:17 | 80,245,002 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 235 | h | //
// Created by Stephen Clyde on 2/20/17.
//
#ifndef BINGO_MENU_OPTION_TESTER_H
#define BINGO_MENU_OPTION_TESTER_H
class MenuOptionTester {
public:
void testConstructorAndGetter();
};
#endif //BINGO_MENU_OPTION_TESTER_H
| [
"drakeaharper@gmail.com"
] | drakeaharper@gmail.com |
a5bb968ca02914566f7d151b643cede7ac041e09 | 2d13a41436ad89c3f743748c4a3691b71a48c5f1 | /arduino/Blink/Blink.ino | 698534618028c2b7bb02e9eb2d6bb3001135db79 | [] | no_license | chadondata/charpsberry_piduino | 8a6625414cb1024d5afd32a6504a6762b8117e27 | b4dc1cb8259dcef2142faac89da7d1f4c869d331 | refs/heads/master | 2020-05-19T01:49:25.875867 | 2019-10-22T17:00:17 | 2019-10-22T17:00:17 | 184,766,516 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,243 | ino | /*
Blink
Turns an LED on for one second, then off for one second, repeatedly.
Most Arduinos have an on-board LED you can control. On the UNO, MEGA and ZERO
it is attached to digital pin 13, on MKR1000 on pin 6. LED_BUILTIN is set to
the correct LED pin independent of which board is used.
If you want to kn... | [
"chad.harper@gmail.com"
] | chad.harper@gmail.com |
a00d1a4ee5ab964fa6720af0348fe5a5344eb757 | 26254025c6550405b3e80fe190face2fd281dc16 | /BasicDataAbstractions/QueueAndStack/LinkedStack.h | 1b65a008c018434395490eeeea2f276001c5d8a7 | [] | no_license | wfei26/DataStructure | 8331fef0eb49380ff90af25496cd0067d0bb9a44 | eb9eab49096d901c485fc5c4bd8df0dcf91ed100 | refs/heads/master | 2018-12-07T02:14:37.927264 | 2018-09-21T07:40:24 | 2018-09-21T07:40:24 | 107,227,227 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,153 | h | /* Author: Wei Fei
* KUID: 2538810
* Date: 11/01/13
* FileName: LinkedStack.h
* Description: the header file of LinkedStack.cpp.
*/
#ifndef LINKED_STACK
#define LINKED_STACK
#include "StackInterface.h"
#include "Node.h"
/**
* Stack class
*/
template<class ItemType>
class LinkedStack : public StackInterface<It... | [
"weifei6441@gmail.com"
] | weifei6441@gmail.com |
6efda1006a869002b106c1e1978dc2d53d71d671 | 49514076e57cd43a723b3ce54237e01197c59cab | /graphics/draw_text.cpp | 3c1d8c2c0a5c37f8dd693e55b1cca1bc12676f46 | [] | no_license | isaacph/sc2clone | 0649d76c7f73a00eeefe5516ae145db5205906bf | 35abde5c919f670f9916175531976af41388e4e7 | refs/heads/master | 2023-02-07T20:45:44.060281 | 2020-12-28T22:44:00 | 2020-12-28T22:44:00 | 266,593,507 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,032 | cpp | //
// Created by isaac on 9/27/2019.
//
#include <iostream>
#include "draw.h"
#include <ft2build.h>
#include <glm/gtc/type_ptr.hpp>
#include FT_FREETYPE_H
#include "shader_util.h"
#include "gl_config.h"
DrawText::DrawText() : vao(-1), vbo(-1), ftLibrary() {
std::string vsource = "ILLEGAL", fsource = "ILLEGAL";
... | [
"ihuffman@umich.edu"
] | ihuffman@umich.edu |
6e74ad1fe7a7eb92a42f7d752357974136fdf0c9 | dbca341204a5bdeb732a2006437529187db18cce | /DSTR_Project/GFX/MaterialMap.h | 4a3e0b6ae97330c0b6f4f4182ffc493cb74e1cbe | [] | no_license | FiskNi/DSTR_Project | 58621284fae168a4e94c789a34cd3218f04535d3 | d3883c7b22511a346532ba5c5c18057dd6650576 | refs/heads/master | 2022-12-07T23:27:03.055755 | 2020-08-27T13:54:06 | 2020-08-27T13:54:06 | 275,875,228 | 7 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 573 | h | #ifndef _MATERIALMAP_h
#define _MATERIALMAP_h
#include <Pch/Pch.h>
#include <Mesh/MeshFormat.h>
class MaterialMap {
public:
static MaterialMap* GetInstance();
void cleanUp();
bool existsWithName(std::string name);
void useByName(std::string name);
Material* getMaterial(std::string name);
Material* GetFirst();
... | [
"JerryRonnegren@hotmail.com"
] | JerryRonnegren@hotmail.com |
c81b1fa8137221d045f3172b276c869d07ab384b | 54f352a242a8ad6ff5516703e91da61e08d9a9e6 | /Source Codes/AtCoder/agc007/F/1366437.cpp | 086debb2722551e74f25749114f2b7cec6e032ad | [] | no_license | Kawser-nerd/CLCDSA | 5cbd8a4c3f65173e4e8e0d7ed845574c4770c3eb | aee32551795763b54acb26856ab239370cac4e75 | refs/heads/master | 2022-02-09T11:08:56.588303 | 2022-01-26T18:53:40 | 2022-01-26T18:53:40 | 211,783,197 | 23 | 9 | null | null | null | null | UTF-8 | C++ | false | false | 2,008 | cpp | //#pragma GCC optimize(2)
#include<cstdio>
#define L 1<<23
#define C (c=*A++)
#define ENS //__attribute__((optimize("-O2")))
#define NES //__attribute__((optimize("-O2"))) __inline__ __attribute__((always_inline))
#define N 1000001
int MAPLE,n,l[N],r[N],cnt,last,wt,ss[19];char fl[L],*A=fl,s[N],t[N];bool fg=tru... | [
"kwnafi@yahoo.com"
] | kwnafi@yahoo.com |
e7a06c3414441306460fcc948859c29c0609dbb9 | 0f999b675ddb9433441a854206532cfdace06d88 | /include/csv.h | 7ce72394b215cb0deba247f601cbddf45db69474 | [
"BSD-3-Clause",
"MIT"
] | permissive | fsxfreak/Bitrecal | 13e37bbc6e24691f2dd454975426f72d4e5d6eba | badb260ef579ebd789749106db2a68abba879a51 | refs/heads/master | 2021-01-13T02:11:41.002397 | 2014-04-14T03:36:17 | 2014-04-14T03:36:17 | 17,810,167 | 4 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 25,429 | h | #ifndef CSV_H
#define CSV_H
#include <vector>
#include <string>
#include <cstring>
#include <algorithm>
#include <utility>
#include <cstdio>
#include <exception>
#ifndef CSV_IO_NO_THREAD
#include <future>
#endif
#include <cassert>
#include <cerrno>
namespace io{
//////////////////////////////////////////////////////... | [
"me@leoncheung.com"
] | me@leoncheung.com |
c198f08627213539bad6de07c9fa7044f9696f13 | 5456502f97627278cbd6e16d002d50f1de3da7bb | /chrome/browser/chromeos/policy/user_network_configuration_updater_factory.h | 67657c78eb7fc7bebd7c1c8938a06a6858301907 | [
"BSD-3-Clause"
] | permissive | TrellixVulnTeam/Chromium_7C66 | 72d108a413909eb3bd36c73a6c2f98de1573b6e5 | c8649ab2a0f5a747369ed50351209a42f59672ee | refs/heads/master | 2023-03-16T12:51:40.231959 | 2017-12-20T10:38:26 | 2017-12-20T10:38:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,950 | h | // Copyright 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 CHROME_BROWSER_CHROMEOS_POLICY_USER_NETWORK_CONFIGURATION_UPDATER_FACTORY_H_
#define CHROME_BROWSER_CHROMEOS_POLICY_USER_NETWORK_CONFIGURATIO... | [
"lixiaodonglove7@aliyun.com"
] | lixiaodonglove7@aliyun.com |
9277634ac6bbd9e9a36cf83b433f0817eca97493 | fbbe424559f64e9a94116a07eaaa555a01b0a7bb | /pytorch/source/torch/lib/include/ATen/LegacyTHDispatcher.h | 73f1f490b6bf86f79298714f3538e3b6fb442ee6 | [
"MIT"
] | permissive | ryfeus/lambda-packs | 6544adb4dec19b8e71d75c24d8ed789b785b0369 | cabf6e4f1970dc14302f87414f170de19944bac2 | refs/heads/master | 2022-12-07T16:18:52.475504 | 2022-11-29T13:35:35 | 2022-11-29T13:35:35 | 71,386,735 | 1,283 | 263 | MIT | 2022-11-26T05:02:14 | 2016-10-19T18:22:39 | Python | UTF-8 | C++ | false | false | 313 | h | #pragma once
#include <c10/core/TensorTypeIdRegistration.h>
namespace at {
struct CAFFE2_API LegacyTHDispatcher {
explicit LegacyTHDispatcher(TensorTypeId type_id, bool is_undefined)
: type_id_(type_id) {}
virtual ~LegacyTHDispatcher() {}
protected:
TensorTypeId type_id_;
};
} // namespace th
| [
"ryfeus@gmail.com"
] | ryfeus@gmail.com |
87e2ba86a8ed149604a31279296e5bd0d516a2ae | ea401c3e792a50364fe11f7cea0f35f99e8f4bde | /released_plugins/v3d_plugins/bigneuron_AmosSironi_PrzemyslawGlowacki_SQBTree_plugin/libs/boost_1_58_0/boost/heap/fibonacci_heap.hpp | 4397d565eee26c9471ad19a881035434343bcd0f | [
"MIT"
] | permissive | Vaa3D/vaa3d_tools | edb696aa3b9b59acaf83d6d27c6ae0a14bf75fe9 | e6974d5223ae70474efaa85e1253f5df1814fae8 | refs/heads/master | 2023-08-03T06:12:01.013752 | 2023-08-02T07:26:01 | 2023-08-02T07:26:01 | 50,527,925 | 107 | 86 | MIT | 2023-05-22T23:43:48 | 2016-01-27T18:19:17 | C++ | UTF-8 | C++ | false | false | 24,820 | hpp | // boost heap: fibonacci heap
//
// Copyright (C) 2010 Tim Blechmann
//
// Distributed under the Boost Software License, Version 1.0. (See
// accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#ifndef BOOST_HEAP_FIBONACCI_HEAP_HPP
#define BOOST_HEAP_FIBONACCI_HEAP_HPP
#include <algo... | [
"amos.sironi@gmail.com"
] | amos.sironi@gmail.com |
e59ac7e0fe9c53516bf88de66f9f37d2c447f38b | 1e0bc6367affd3b4b79aaa1a48259657f740acbe | /include/audioManager.hpp | 806d39b4c52e0f16313461c0ac7c0ee6fd302804 | [
"MIT"
] | permissive | theKlanc/Z5 | 2e6cd562d419e202c0238acecb17e43c6427ae63 | 97c28f31483d1d5c8c7d1aa61155b256b3d4094a | refs/heads/master | 2022-02-08T00:53:28.693412 | 2022-01-25T13:56:46 | 2022-01-25T13:56:46 | 173,024,498 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 408 | hpp | #pragma once
#include "HI2.hpp"
#include <unordered_map>
class audioManager {
public:
audioManager() = default;
~audioManager();
bool isAudioLoaded(std::string audioFile) const;
HI2::Audio* loadAudio(std::string fileName);
void freeAudio(std::string audioName);
HI2::Audio* getAudio(std::string audioName);
voi... | [
"clank201@gmail.com"
] | clank201@gmail.com |
885fd38b821c10a6161dc46210b04fbbf8d664ef | fb227e3635b5c06e49bad48928f7b6d3254c4dca | /codeforces/gym/tamuFall19/e.cpp | 781dc676be71535751f78378d9537ae6f57ebb46 | [] | no_license | BryanValeriano/marathon | 5be2ab354e49187c865f0296f7dfb5ab3c3d6c9b | 8dadfad7d1a6822f61ba5ed4a06e998541515634 | refs/heads/master | 2022-09-11T00:06:14.982588 | 2022-09-03T17:01:30 | 2022-09-03T17:01:30 | 141,581,750 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,186 | cpp | #include <bits/stdc++.h>
using namespace std;
#define fr(i,n) _back
#define pb push_back
#define eb emplace_back
#define mk make_pair
#define fi first
#define se second
#define endl '\n'
typedef long long ll;
typedef pair<int,int> ii;
typedef vector<ii> vii;
const int INF = 0x3f3f3f3f;
const double PI = acos(-1.0);
c... | [
"bryan.b.valeriano@gmail.com"
] | bryan.b.valeriano@gmail.com |
d185ecbaf12b0795089f1bf8a3f7f55ab723b123 | 4b19135464a032c1d5271cd1ae58afb21df38584 | /Samples/C++/DirectInput/DIConfig/cdiacpage.h | 6b2bb29fe67d1cce4e530e59d963e5e8f20e15d8 | [] | no_license | sjk7/DX90SDK | f47cebbba53133923880004bc6e3a33cff1fe895 | dd155425badb2cd3993c27f869efc007764e599b | refs/heads/master | 2021-08-26T07:47:03.826451 | 2021-08-12T05:03:03 | 2021-08-12T05:03:03 | 253,911,891 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,188 | h | //-----------------------------------------------------------------------------
// File: cdiacpage.h
//
// Desc: CDIDeviceActionConfigPage implements the page object used by the UI.
// A page covers the entire UI minus the device tabs and the bottons at
// the bottom. The information window, player co... | [
"radiowebmasters@gmail.com"
] | radiowebmasters@gmail.com |
ae9f00121f0686b4819843b3b2ef0f43d883a059 | e1bf2321802ffeec65485e310d0c49932f59f83e | /src/keyboard_unix.cpp | be2bbfa654731287a7c88b4af0f47c4d4bbeba84 | [
"MIT"
] | permissive | perara-libs/FakeInput | 13a0ff4c4340d775eedbd9a9f93cfb9149a07e93 | 13d7b260634c33ced95d9e3b37780705e4036ab5 | refs/heads/master | 2023-01-10T16:11:23.055678 | 2020-11-07T15:42:04 | 2020-11-07T15:42:04 | 310,302,651 | 0 | 0 | MIT | 2020-11-05T13:11:11 | 2020-11-05T13:09:56 | null | UTF-8 | C++ | false | false | 1,724 | cpp | /**
* This file is part of the FakeInput library (https://github.com/uiii/FakeInput)
*
* Copyright (C) 2011 by Richard Jedlicka <uiii.dev@gmail.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* ... | [
"uiii.dev@gmail.com"
] | uiii.dev@gmail.com |
556ec435ef05c44fbae80a688568fc4a18a46867 | 87c61caaf03578a9e5f6a70e6d8d8e62978c884c | /app/src/main/cpp/ITMLib/Engines/Visualisation/ITMMultiVisualisationEngineFactory.h | 89e275381cfb6c91c0a17f6a1941b7ac68c5cc24 | [] | no_license | kismeter/InfiniTAM-Android | 7ee316533a9d161e7084013c538ec4c59cb61236 | 46442f060549233b161ecd56f4bcc06e45196061 | refs/heads/master | 2023-01-02T12:31:08.679921 | 2020-11-02T13:38:44 | 2020-11-02T13:38:44 | 309,376,783 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,465 | h | // Copyright 2014-2017 Oxford University Innovation Limited and the authors of InfiniTAM
#pragma once
#include "CPU/ITMMultiVisualisationEngine_CPU.h"
#ifndef COMPILE_WITHOUT_CUDA
#include "CUDA/ITMMultiVisualisationEngine_CUDA.h"
#endif
#ifdef COMPILE_WITH_METAL
//#include "Metal/ITMMultiVisualisationEngine_Metal.h"... | [
"zhuijun.bao@gmail.com"
] | zhuijun.bao@gmail.com |
77d8b345dd5bdb298a4aebe6dc23b5d2b32a597c | 4dbaea97b6b6ba4f94f8996b60734888b163f69a | /POJ & HDU/Wash.cpp | 6d520158b1d6bea4919956383962c64af3999669 | [] | no_license | Ph0en1xGSeek/ACM | 099954dedfccd6e87767acb5d39780d04932fc63 | b6730843ab0455ac72b857c0dff1094df0ae40f5 | refs/heads/master | 2022-10-25T09:15:41.614817 | 2022-10-04T12:17:11 | 2022-10-04T12:17:11 | 63,936,497 | 2 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,668 | cpp | #include <iostream>
#include <algorithm>
#include <stdio.h>
#include <string.h>
#define MAX 1000005
#include <queue>
using namespace std;
struct node
{
long long base;
long long seg;
bool operator<(const node &b) const
{
return seg > b.seg;
}
};
long long w[MAX], d[MAX]... | [
"54panguosheng@gmail.com"
] | 54panguosheng@gmail.com |
1beeeaea0ea746a0ba282862a9b13ccf4d501509 | 831d755a50762a567047f9ea399d7c1b1dcd56e3 | /GraphicsStuff/Vulkan/VulkanDevice.cpp | 2955eaf09b3f60c192fa94d9508733c96adfb241 | [] | no_license | TheJelmega/GraphicsStuff | a295af829fe72582ce663aa63d5da83ba6d33b5b | 587c63e95791d7a6c72623cdb28274a907803c7c | refs/heads/master | 2020-04-23T18:14:39.299361 | 2019-02-28T20:17:39 | 2019-03-01T01:53:28 | 171,359,935 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,888 | cpp |
#include "VulkanDevice.h"
#include "VulkanContext.h"
#include "VulkanPhysicalDevice.h"
#include "VulkanQueue.h"
#include "VulkanInstance.h"
namespace Vulkan {
VulkanDevice::VulkanDevice()
: m_pContext()
, m_pPhysicalDevice(nullptr)
, m_pAllocCallbacks(nullptr)
, m_Device(VK_NULL_HANDLE)
{
}
VulkanDevice... | [
"jelmega@gmail.com"
] | jelmega@gmail.com |
1ff653efc9717deec53af5ae1e2faf0a4e1156ad | 518021080c38cc9fe24a26bc2c950460e83245b3 | /A_2/A_2/Line.h | 024e49a04a9ff38d4955e21ce3d0f8131fa81cf3 | [] | no_license | DV1537/assignment-a2-Rozemes | 93d3a157e907fd2c46928e88655ce7eabe98dfe9 | 11c4da10bf4a745ccce999a8a28bad3dd0dd6ecc | refs/heads/master | 2020-04-08T08:46:29.600608 | 2019-02-01T22:08:55 | 2019-02-01T22:08:55 | 159,193,387 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 223 | h | #ifndef LINE
#define LINE
#include "Shape.h"
class Line : public Shape
{
public:
Line(Coord *vertices, int size) : Shape(vertices, size) {};
~Line() {};
string getType() const override { return "Line"; };
};
#endif
| [
"jones.t@live.se"
] | jones.t@live.se |
54b57340d954e89faf8f849a413f8ce79b380751 | a586d503c0abcae6e61a62c78fff39806863ddad | /d04/ex02/ISquad.hpp | ad5473d747ff902454c941c92f4753b4306a6818 | [] | no_license | akolomoi/cpp_pool | b18952428e2f62172d79b50c5b0a1d496b72c6c1 | 7f372f9ac683dd3da740098d1c33aaddf26f764b | refs/heads/master | 2022-04-05T17:01:17.164350 | 2020-02-03T14:10:01 | 2020-02-03T14:10:01 | 237,979,179 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,147 | hpp | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ISquad.hpp :+: :+: :+: ... | [
"akolomoi@e1r4p1.unit.ua"
] | akolomoi@e1r4p1.unit.ua |
58813bb467dcf947120d0633edd3af5675b101e2 | 44c9ff011eca8449e7fa4d7d8ab42115d9d0670e | /friendsmodel.h | a68f1984764ebe4efbce5dd393fd3a64706d8958 | [] | no_license | Katerinaaaa/171-341_Golovchenko_MobDev | 78988a15eff75df4ecaf91cd15bebcaab6d3abba | 873ee0539c46f7648166f237417ffc4b8e094371 | refs/heads/master | 2020-05-01T06:34:17.305154 | 2019-06-10T07:43:17 | 2019-06-10T07:43:17 | 177,333,246 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,647 | h | #ifndef FRIENDSMODEL_H
#define FRIENDSMODEL_H
#include <QVariant>
#include <QObject>
#include <QList>
#include <QModelIndex>
#include <QAbstractListModel>
class FriendsObject
{
public:
FriendsObject(const QString &p_name,
const QString &p_surname,
const QUrl &p_photo,
co... | [
"tigerkaterina@gmail.com"
] | tigerkaterina@gmail.com |
cccef95293f41dd97e8c2dba9ca7455389121111 | 47285fb3007f4493486b6db790c599265b23763d | /activation_fun/Tanh.cpp | 6ca4db5794a6383be2ce8f186fecc2106375115b | [
"MIT"
] | permissive | navneel99/image_processing_library | a207258fa1dfbdc1f656c0b753e1ffad9075fa5e | c4a13be8a9c7b2d7b1f6373bc6b3707d0d01be76 | refs/heads/master | 2020-04-15T18:15:27.524210 | 2019-02-22T07:42:32 | 2019-02-22T07:42:32 | 164,907,199 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 349 | cpp | #include "tanh.hpp"
vector<vector<float> > Tanh(vector<vector<float> > v){
vector<float> row;
float ele;
for (int it = 0; it < v.size(); it++){
row = v.at(it);
for (int it2 = 0;it2 < row.size(); it2++){
ele = row.at(it2);
row[it2] = tanh(ele);
}
v[it] ... | [
"navneel99@gmail.com"
] | navneel99@gmail.com |
2255169968f74b6752f697d9de769a9c6e2a0f5d | 5931a1d149e21295c00ab9103ddede9ad80da258 | /edges.h | 8ef5ef03c6cac86f2a9ad870513f9c591fce7b3e | [] | no_license | Annakarolczak/grafy | f6c18fec23fbe0f1006dacb88bde03a2e4572a20 | d024055752f271fecf46c13267fd41d8302002c7 | refs/heads/master | 2020-12-24T13:00:39.089802 | 2017-02-07T14:30:19 | 2017-02-07T14:30:19 | 66,551,110 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 338 | h | #ifndef EDGES_H
#define EDGES_H
#include <QMainWindow>
#include <QObject>
#include <QWidget>
#include "vertex.h"
class Edges
{
public:
Edges();
Edges(Vertex &p_, Vertex &k_, double weight_ = 1.0, bool skier = false);
double waga;
unsigned long p_id, k_id;
QColor kolor;
bool skierowana;
};
... | [
"akarolczak-bandurska@egnyte.com"
] | akarolczak-bandurska@egnyte.com |
33ebc7ba585507646a0c603cbc88957130a6a554 | c8a04cea9afde109e8f7ffce09bde1c616c1bb2e | /maximize-sum-of-array-after-k-negations/maximize-sum-of-array-after-k-negations.cpp | b0fb597e7265ed86774adc0bc51d66708ed31f36 | [
"MIT"
] | permissive | JanaSabuj/Leetcode-solutions | 956fea8538b3d87b999d0c65ef158ad8500b61c7 | 68464fc54c18ec6d7d72e862c1c75e8309314198 | refs/heads/master | 2022-09-12T13:32:13.884649 | 2022-08-15T06:21:34 | 2022-08-15T06:21:34 | 165,518,391 | 17 | 5 | null | 2020-04-17T13:26:01 | 2019-01-13T14:59:56 | C++ | UTF-8 | C++ | false | false | 940 | cpp | class Solution {
public:
int largestSumAfterKNegations(vector<int>& A, int K) {
sort(A.begin(), A.end());
int n = A.size();
int absum=0;
int neg = 0;
int mn = INT_MAX;
for(auto x: A){
absum += abs(x);
if(x < 0)
neg++;
... | [
"sabujlovescoding@gmail.com"
] | sabujlovescoding@gmail.com |
ac2cdb993f965b49f2d1f6a161dac4276c12161c | 32f0212af6c615868940f44b2e57686f9d755d57 | /Judge/BaekjoonOnline/baekjoon11659_v2.cpp | 21999a4436b5c973975ae54a2ba6cfa32bcd3337 | [] | no_license | micMalloc/Algorithm | 9aa3c47b492fe7be2239a14501aac4fd9efc5a47 | 766626bea64af6c681803efc153eaf23a7c305a2 | refs/heads/master | 2021-06-11T18:42:35.917637 | 2020-07-01T15:25:48 | 2020-07-01T15:25:48 | 93,248,063 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,311 | cpp | #include <cstdio>
#include <cmath>
#include <vector>
using namespace std;
int init_segment_tree (int, int, int);
int get_sum (int, int, int, int, int);
vector<int> data;
vector<int> segment_tree;
int main (int argc, char** argv) {
int n, m;
int h, tree_size;
int l, r;
scanf("%d %d", &n, &m);
data.resize(n + 1,... | [
"hesue615@naver.com"
] | hesue615@naver.com |
10ffdcdc4f1ed5b63ce5eedc585f0ded2a5f7b69 | ea1f28cfc724f71b893e7d22b227d23981a6b6eb | /docker-ramcloud/ramcloud/src/LoggerTest.cc | 6fcd2e9b8dd979258e3364d00c601d949f927673 | [
"ISC"
] | permissive | khasm/seasky | cfd84a123b23f9bbbb2760d9366d02058e9d0101 | b14abf3c252ca6f9e491b5db5fe1680470858724 | refs/heads/master | 2021-01-18T20:00:56.620765 | 2017-04-17T10:43:32 | 2017-04-17T10:43:32 | 68,630,307 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,474 | cc | /* Copyright (c) 2010-2016 Stanford University
*
* Permission to use, copy, modify, and 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 AUTHOR(... | [
"jliborio@live.com"
] | jliborio@live.com |
f172d409aa54296025dd407ef9156fd349ebf4d4 | 625c43dfe5b3e65e013935847cc666e2c938b565 | /2018C/hq9/hq9.cpp | 533d0d0c51823dbe1252e138d5ce8f9c23fd84b6 | [] | no_license | OliverHuang1220/My-first-program | be7b48c7276e77a40db355e63360c8d93139a9ca | 9966d6da2445955bad64beecb68d9cf7b6bb28e4 | refs/heads/main | 2023-07-17T09:17:08.510378 | 2021-08-29T05:54:53 | 2021-08-29T05:54:53 | 400,961,932 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 626 | cpp | // hq9.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include<stdio.h>
#include<conio.h>
#include<stdlib.h>
int main(int argc, char* argv[])
{ char str[100];
int Num=0;
char ch;
do
{printf("请输入一个整数");
gets(str);
int AFloatArray[Num];
AFloatArray[Num]=atof(str);
Num++;
... | [
"374198786@qq.com"
] | 374198786@qq.com |
afc632cfe32a360fb0a9bf5a93001cac85766375 | 5e6943ef0183cc59ab8392060472ccc561700c24 | /src/brick/build_time.cc | 42cf6458c4424f822a0c3752f53702fc6103cd62 | [] | no_license | israel-Liu/brick | 88b7ea62c79fc0fc250a60a482d81543c48ec795 | 9b4e4011df7c0bdede945d98bcd1e0a5ac535773 | refs/heads/master | 2022-04-20T10:00:47.049834 | 2020-04-24T03:32:07 | 2020-04-24T03:32:07 | 96,489,912 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 740 | cc | // Copyright (c) 2011 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 "brick/build_time.h"
// Imports the generated build date, i.e. BUILD_DATE.
#include "brick/generated_build_date.h"
#include "brick/logging.... | [
"israel.liu.theForger@gmail.com"
] | israel.liu.theForger@gmail.com |
53f78a96ef0cfb1cb17f9f716d910016c56bf00d | 2d9fe07b3c4f3aaee3bcd08b6ec2c7f11b566bff | /magicPayOrderServer/include/magicServerDb.h | 629fc693322e35cbbe075b72319937f372d98ada | [] | no_license | wantao/myMagicServerLocal | d668a7b063ebc19ee4d2f35ad4128680b804a3ae | caf8e58894b5af26e8c0a1fbb26edc64b7248141 | refs/heads/master | 2016-09-05T12:33:04.116861 | 2014-02-21T06:21:21 | 2014-02-21T06:21:21 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 702 | h | #ifndef MAGICSERVERDB_H
#define MAGICSERVERDB_H
#include <iostream>
#include "common.h"
#include "MysqlQuery.h"
#include "MysqlDB.h"
#include "../include/MagicCard.pb.h"
using namespace std;
class cMagicServerDb:public MysqlDB
{
public:
cMagicServerDb();
~cMagicServerDb();
bool Init();
//从数据库实例化
bool DbReadInit()... | [
"461969382@qq.com"
] | 461969382@qq.com |
a9b239d3477a16aaa34cd20f9b04ec3fa1e72a97 | e7c45d18fa1e4285e5227e5984e07c47f8867d1d | /Common/ModelsC/AlcoaSpMdl/AlcoaSpMdl.cpp | f1d6d9edcb48f2bf5b32f00f6d9f547d07c8daf6 | [] | no_license | abcweizhuo/Test3 | 0f3379e528a543c0d43aad09489b2444a2e0f86d | 128a4edcf9a93d36a45e5585b70dee75e4502db4 | refs/heads/master | 2021-01-17T01:59:39.357645 | 2008-08-20T00:00:29 | 2008-08-20T00:00:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,994 | cpp | // AlcoaSpMdl.cpp : Defines the initialization routines for the DLL.
//
#include "stdafx.h"
#include <afxdllx.h>
#define __ALCOASPMDL_CPP
#include "sc_defs.h"
#include "scdver.h"
#include "AlcoaSpMdl.h"
#include "Models.h"
#include "sfe_srvr.h"
//=======================================================... | [
"paul.hannah@syscad.net"
] | paul.hannah@syscad.net |
1891b73c0334b3164b3c55e24e0971bdae66296b | b8906afecca06f48f2cd289a9997f670b26c4721 | /platform/shared/qt/rhodes/oldVersion/qtscroller.h | c00ffa64991e9262d48a266e9d11e986f301ceb4 | [
"MIT"
] | permissive | rhomobile/rhodes | 51bd88921c51bd618948f9a557de17fc297e7cc2 | fc8409c9c281684a49d7ff6805ddc565de09a6d5 | refs/heads/master | 2023-09-01T17:45:36.149868 | 2023-08-31T20:56:06 | 2023-08-31T20:56:06 | 54,084 | 504 | 155 | MIT | 2023-09-12T00:14:29 | 2008-09-18T21:55:16 | C | UTF-8 | C++ | false | false | 4,071 | h | /****************************************************************************
**
** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the QtGui module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** ... | [
"krybas@tau-technologies.com"
] | krybas@tau-technologies.com |
f777ac8c9da2efe6125f64f46b8b6626dfb0420f | 18dc828ecac141107d32a41e3063b2c8f4880667 | /tom_1/chapter_16/22/tvector.h | b1c5c5eeb95dce1517af8c9e14ca35c0577eba22 | [] | no_license | novikov-ilia-softdev/thinking_cpp | 4ffde847627b6cfdabcead8d833c24408314792d | bfa0348eaa89b2c24639a3f76d385dbc834b913d | refs/heads/master | 2021-09-19T05:59:06.310055 | 2018-07-24T06:20:21 | 2018-07-24T06:20:21 | 70,487,830 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 427 | h | #ifndef TVECTOR_H
#define TVECTOR_H
#include <vector>
typedef std::vector<void*> vectorVoid;
template<class T>
class TVector: public vectorVoid{
public:
void push_back( T* strPtr)
{
std::cout << "TVector::push_back" << std::endl;
vectorVoid::push_back( strPtr);
}
T* operator[]( int index)
{
std::cout << ... | [
"smartnlg.ilia.novikov@gmail.com"
] | smartnlg.ilia.novikov@gmail.com |
fc48e838b12c94511fe986f5a23b54dcbce8d517 | 3fe692c3ebf0b16c0a6ae9d8633799abc93bd3bb | /Contests/JZOJ-B-Jul-13/A.cpp | 312a7dff805f34e9b447c1f5e5dc4cd7c0bf9e37 | [] | no_license | kaloronahuang/KaloronaCodebase | f9d297461446e752bdab09ede36584aacd0b3aeb | 4fa071d720e06100f9b577e87a435765ea89f838 | refs/heads/master | 2023-06-01T04:24:11.403154 | 2023-05-23T00:38:07 | 2023-05-23T00:38:07 | 155,797,801 | 14 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,221 | cpp | // A.cpp
#include <bits/stdc++.h>
using namespace std;
string rev, revk;
int T, k;
int main()
{
freopen("game.in", "r", stdin);
freopen("game.out", "w", stdout);
scanf("%d", &T);
while (T--)
{
rev = "";
cin >> k >> rev;
stringstream ss;
ss << k;
revk = ss.s... | [
"kaloronahuang@gmail.com"
] | kaloronahuang@gmail.com |
f2ced78bbe6b25dbe9d3f61bc72f3231855b90b4 | c71af56951d1c661a5819db72da1caccd9130df2 | /cpp/problems/dp/dp12.cpp | d276ecc386767afbecc493877f84ea38b8f44191 | [] | no_license | adrianpoplesanu/personal-work | 2940a0dc4e4e27e0cc467875bae3fdea27dd0d31 | adc289ecb72c1c6f98582f3ea9ad4bf2e8e08d29 | refs/heads/master | 2023-08-23T06:56:49.363519 | 2023-08-21T17:20:51 | 2023-08-21T17:20:51 | 109,451,981 | 0 | 1 | null | 2022-10-07T04:53:24 | 2017-11-03T23:36:21 | Python | UTF-8 | C++ | false | false | 1,460 | cpp | // http://info.mcip.ro/?cap=Programare%20dinamica ; ex #406
#include <fstream>
#include <iostream>
#include <ctime>
using namespace std;
int main(int argc, char *argv[]) {
clock_t start = clock();
int n;
string names[100], names2[100];
int a[100];
int dp[100];
int drum[100];
ifstream in("... | [
"adrian.poplesanu@yahoo.com"
] | adrian.poplesanu@yahoo.com |
5036316271307220dcbd8dcfbd0e8d9a6410995d | 6ced41da926682548df646099662e79d7a6022c5 | /aws-cpp-sdk-forecast/include/aws/forecast/model/ErrorMetric.h | de9df30f07e1cf82a5bbdfaa963307c2134af766 | [
"Apache-2.0",
"MIT",
"JSON"
] | permissive | irods/aws-sdk-cpp | 139104843de529f615defa4f6b8e20bc95a6be05 | 2c7fb1a048c96713a28b730e1f48096bd231e932 | refs/heads/main | 2023-07-25T12:12:04.363757 | 2022-08-26T15:33:31 | 2022-08-26T15:33:31 | 141,315,346 | 0 | 1 | Apache-2.0 | 2022-08-26T17:45:09 | 2018-07-17T16:24:06 | C++ | UTF-8 | C++ | false | false | 5,225 | h | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/forecast/ForecastService_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue... | [
"aws-sdk-cpp-automation@github.com"
] | aws-sdk-cpp-automation@github.com |
352ff3bd194ce796a28ad7605ac2facf1d587965 | 443d23e6e74d07902f817cf08819a0d241815a2e | /Activity.h | 8cd4cf7ffe5ef2446dbce5e76476ae818c32618d | [] | no_license | Catalinul/Faculty-Model | 03c7a40b5c4aab53d137542eddb1f5ec176e7eac | a0039148a7e17bc165b548f2d1af74a51f68b57f | refs/heads/master | 2020-04-09T03:01:17.052953 | 2019-02-18T10:43:09 | 2019-02-18T10:43:09 | 159,965,467 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 551 | h | #ifndef ACTIVITY_H_INCLUDED
#define ACTIVITY_H_INCLUDED
#include <string>
#include "Room.h"
#include "Person.h"
class Activity
{
public:
Activity(){};
Activity(Room*, Person*, std::string);
Room* getRoom() const;
Person* getOwner() const;
std::string getDescription() const;
friend std::istream& operat... | [
"pirvu.catalin15@yahoo.com"
] | pirvu.catalin15@yahoo.com |
4f866b59257a0d7c099195887eb3bbd4d30bfe42 | 067ec1ed80b38e4da2da728784fb6a14cc808774 | /test/Import/for-stmt/test.cpp | a926a9f489b3594a217078fbe7fb025ea213278c | [
"NCSA"
] | permissive | Nathaniel100/clang | 12e40919562e9e3f14fac4cf4a1ad617a1942660 | 21522df485be99f247a18c13827e525bda74e362 | refs/heads/master | 2023-04-07T13:43:02.020211 | 2018-08-19T22:23:42 | 2018-08-19T22:23:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 795 | cpp | // RUN: clang-import-test -dump-ast -import %S/Inputs/F.cpp -expression %s | FileCheck %s
// CHECK: ForStmt
// CHECK-NEXT: <<NULL>>
// CHECK-NEXT: <<NULL>>
// CHECK-NEXT: <<NULL>>
// CHECK-NEXT: <<NULL>>
// CHECK-NEXT: NullStmt
// CHECK: ForStmt
// CHECK-NEXT: DeclStmt
// CHECK-NEXT: VarDecl
// CHECK-NEXT: IntegerLit... | [
"teemperor@gmail.com"
] | teemperor@gmail.com |
2ca0987ae9eb26f2c3e34cbf77471685f5f8e05d | fb381224be13ed84e8e63bd7bf013dd10d58d924 | /Code/Engine/Texture/DirectXTex/DirectXTexNormalMaps.cpp | 58089fc882a9b6b90c891203b44086343bc8c13f | [
"MIT"
] | permissive | bethau/ezEngine | 1b768f95801dd2367dc30675f8febb5cbb625819 | 059684c8d9ed7e33f8e68f218ff42a7decf668ee | refs/heads/master | 2022-08-22T06:48:55.549276 | 2020-02-11T23:36:43 | 2020-02-11T23:36:43 | 247,667,175 | 0 | 0 | MIT | 2020-03-16T09:57:54 | 2020-03-16T09:57:53 | null | UTF-8 | C++ | false | false | 12,512 | cpp | #include <TexturePCH.h>
#if EZ_ENABLED(EZ_PLATFORM_WINDOWS_DESKTOP)
//-------------------------------------------------------------------------------------
// DirectXTexNormalMaps.cpp
//
// DirectX Texture Library - Normal map operations
//
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed un... | [
"jan@krassnigg.de"
] | jan@krassnigg.de |
0e57c236a027b9c6d16bae2c0b6b6300d18e3863 | 3423eae27a6120181b8be2f13ec3964a79862582 | /code/05_DP/概率DP/poj 2096 概率DP入门题(期望).cpp | b6d37659ebb0a8a285d25b52a842b736ecbe11b6 | [] | no_license | mazicwong/ACM_code | 610b3e8a3b42227dca81bba12c3885080d7dad9e | b4e774e8fb2087c89c607688600318a7ee6d4571 | refs/heads/master | 2023-04-03T11:04:40.590242 | 2021-04-09T10:35:23 | 2021-04-09T10:35:23 | 82,206,980 | 51 | 4 | null | null | null | null | GB18030 | C++ | false | false | 1,656 | cpp | /*
http://www.cnblogs.com/kuangbin/archive/2012/10/02/2710606.html
dp求期望
逆着递推求解
题意:n种bug,s个子系统。每天随机找一个bug,种类随机,来自系统随机。
问找齐n种bug,且每个子系统至少有一个bug的期望天数。
dp[i][j]表示已找到i种bug,且j个系统有bug,达到目标状态的天数的期望。
它可以由四个状态推到:
① dp[i][j],发现一个bug属于已经有的i个分类和j个系统。概率为(i/n)*(j/s);
② dp[i][j+1],发现一个bug属于已有的分类,不属于已有的系统.概率为 (i/n)*(... | [
"mazicwong@gmail.com"
] | mazicwong@gmail.com |
de2168faf24c9d23b6283ece5646f77525041a5c | 570150546b2c2ba928074c362cb0211dfe92b215 | /.vs/OOPS/tut04.cpp | 7f2d9a2cfbea45d87bf303f15aeb8f3be41786cf | [] | no_license | gutaussehend-Harshal/CPP-and-DSA-practice-questions | 391782ce20a3c1b9ab69d651482518694fabff31 | 0d6c4500ecad6295683c9c2753482e74131b443c | refs/heads/main | 2023-07-18T05:48:24.158391 | 2021-09-05T04:36:43 | 2021-09-05T04:36:43 | 403,214,869 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,790 | cpp | #include <bits/stdc++.h>
using namespace std;
// What is inheritance -->
class YouTubeChannel
{
private:
string Name;
int SubscribersCount;
list<string> PublishedVideoTitles;
protected:
string OwnerName;
public:
YouTubeChannel(string name, string ownerName)
{
Name = name;
Own... | [
"harshal.patil@gmail.com"
] | harshal.patil@gmail.com |
6bb18e25b3548ab6ce122a755173607902d4de45 | 4b8395650140f76c84e1fe5fef9fff13cff6d772 | /Pyrogenesis/source/graphics/tests/test_TextureManager.cpp | 2c08172e85d7584650f8002dda7628772acc7382 | [] | no_license | Valvador/PyroSpaceFork | 7ec549e71e35c629ae0cfc4e2a14835e94779698 | f499d58551bb007f3265e2c540f1a70e2c67e1b5 | refs/heads/master | 2021-01-18T22:15:19.135700 | 2014-01-28T16:11:39 | 2014-01-28T16:11:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,518 | cpp | /* Generated file, do not edit */
#ifndef CXXTEST_RUNNING
#define CXXTEST_RUNNING
#endif
#define _CXXTEST_HAVE_STD
#define _CXXTEST_HAVE_EH
#include "precompiled.h"
#include <cxxtest/TestListener.h>
#include <cxxtest/TestTracker.h>
#include <cxxtest/TestRunner.h>
#include <cxxtest/RealDescriptions.h>
#include "..\..... | [
"val.v.gorbunov@gmail.com"
] | val.v.gorbunov@gmail.com |
92c183baee2e7a8ccf3d1499c7b81bc2ee4a313e | 25366a29d1aed5bde9d799f3c4fc0eb5269d3db1 | /Plugins/MKDatabaseEdit/Source/MKDatabaseEdit/Public/MKDatabaseFunctionLibrary.h | 75e51d7c1429e1b8213cb71882bf6d20c0494d13 | [] | no_license | MarkLu20/SqlitePlugin | c2772312c67bce7b8c455b35ab0fc0c3acf22e04 | 7acccd917db8b1f5a187b5e5e0d2940b8aae2604 | refs/heads/master | 2021-09-10T00:20:21.862426 | 2018-03-20T10:27:46 | 2018-03-20T10:27:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 519 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "Kismet/BlueprintFunctionLibrary.h"
#include "MKDBConnection.h"
#include "MKDatabaseFunctionLibrary.generated.h"
/**
*
*/
UCLASS()
class MKDATABASEEDIT_API UMKDatabaseFunctionLibrary : pub... | [
"1145230944@qq.com"
] | 1145230944@qq.com |
4b176da1229e0cc9d631325711420973a09d4928 | a2e72048ac50778feb1244be86bb3bfc330ee855 | /src/hero.cpp | 071867897d98502aa89cdfb8777e3780dcc3fcaf | [] | no_license | calebpalmer/topdown | b62ee73540e11051895c8892d5c6c24196ec1bd6 | 21c63ab75b2d794a4b9c3585f5e3fed4d52dfaee | refs/heads/master | 2016-08-04T19:34:41.034624 | 2013-07-26T10:39:45 | 2013-07-26T10:39:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,808 | cpp | #include "hero.h"
#include <stdexcept>
using namespace TopDown;
using namespace CapEngine;
using namespace std;
Hero::Hero(const string& filePath){
spriteSheet.filepath = filePath;
spriteSheet.width = 32;
spriteSheet.height = 32;
spriteSheet.rows = 3;
spriteSheet.cols = 2;
//face the player right by def... | [
"palmer.caleb@gmail.com"
] | palmer.caleb@gmail.com |
253a8271b82c0601d9c8bd501d8665858c25cec5 | 9f05e53255dd6fc4d6d626c79321b96c2b73116e | /Exception8/Exception8/Exception8.cpp | fd6e124717686d8f2fe1e5c9252661a3b67fea93 | [] | no_license | frbgd/al2 | c11ba81a178649723b2489f86091e9942b0b87b3 | a681b5dad4119d1b34b74334688ded10763c3e57 | refs/heads/master | 2021-09-28T18:59:58.349769 | 2018-11-19T14:59:21 | 2018-11-19T14:59:21 | 158,241,649 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 554 | cpp | // пример повторной генерации исключения
#include <iostream>
using namespace std;
void Xhandler()
{
try {
throw "hello"; // генерация char *
}
catch (const char *) { // перехват char *
cout << "Caught char * inside Xhandler\n";
throw; // повторная генерация char * извне функции
}
}
int main()
{
cout << "Sta... | [
"kap17597@gmail.com"
] | kap17597@gmail.com |
4b11f816b343d8804609a715aadd1d2a41e42b64 | 230b7714d61bbbc9a75dd9adc487706dffbf301e | /ash/magnifier/docked_magnifier_controller_impl_unittest.cc | 74b2dcc3a44495beb7df621f949a0333ef6c35a0 | [
"BSD-3-Clause"
] | permissive | byte4byte/cloudretro | efe4f8275f267e553ba82068c91ed801d02637a7 | 4d6e047d4726c1d3d1d119dfb55c8b0f29f6b39a | refs/heads/master | 2023-02-22T02:59:29.357795 | 2021-01-25T02:32:24 | 2021-01-25T02:32:24 | 197,294,750 | 1 | 2 | BSD-3-Clause | 2019-09-11T19:35:45 | 2019-07-17T01:48:48 | null | UTF-8 | C++ | false | false | 32,788 | cc | // Copyright 2018 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 "ash/magnifier/docked_magnifier_controller_impl.h"
#include <memory>
#include <vector>
#include "ash/accessibility/accessibility_controller_imp... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
739829bfa95a83a24cf6e8f561ecf20bdbbb49a3 | 57c57dcf23c4be2fe8b8dbe89507682fc58dc087 | /clases/gestor/ciudad.h | 6622e3c78f31df2a23cc2acaa5c25b3f439651f0 | [] | no_license | makoki13/qtSatrapiaGUI | 84846cbf29cdaef57ad2d1baa08a1ecd319b24e9 | abbf5fbdd13b06ad2e0766b9576338c847f26e3e | refs/heads/master | 2022-10-21T09:46:12.262369 | 2020-06-11T13:30:48 | 2020-06-11T13:30:48 | 264,948,086 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 872 | h | /**
Una ciudad tiene varios edificios que son gestionados por el Palacio
(o la alcadía (eso en proyecto))
La ciudad tiene una posicion y un nombre
Hay una única ciudad que alberga el palacio.
*/
#ifndef CIUDAD_H
#define CIUDAD_H
#include <QString>
#include "palacio.h"
class Palacio;
class Ciudad
{
... | [
"pablo.makoki@gmail.com"
] | pablo.makoki@gmail.com |
e3532315b1a3a5ac3945248b72d38ed9e476672b | cdb29c7fecbf48e5b5c5c2c72960c0643d36d161 | /ToyBox/HalfMesh.cpp | 39e356242eda2fb8d02a80b4082dcbace212e32b | [
"MIT"
] | permissive | hafewa/MoonEngine | 31397dd71d6807b170fee847e5fe09e6f8f16a91 | b6d8464cdf87c2045b5d4ecce348dc76815b7ff1 | refs/heads/master | 2023-06-09T11:36:34.044483 | 2021-07-01T07:42:19 | 2021-07-01T07:42:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,512 | cpp | #include "HalfMesh.h"
#include "SceneMgr.h"
namespace MOON {
void HalfMesh::SetupMesh() {
glGenVertexArrays(1, &VAO);
glGenBuffers(1, &VBO);
glGenBuffers(1, &EBO);
UpdateMesh();
// set the vertex attribute pointers
// vertex Positions
glEnableVertexAttribArray(0);
glVertexAttribPointer(0, 3, GL_FLO... | [
"hztmailbox@gmail.com"
] | hztmailbox@gmail.com |
e922a1688d21640a5fa7f52be3c75051f9aa8041 | 751d837b8a4445877bb2f0d1e97ce41cd39ce1bd | /codingtrain/35_1-traveling-salesperson.cpp | be24d739795631a6ea04147b7238e325da2382e0 | [
"MIT"
] | permissive | qeedquan/challenges | d55146f784a3619caa4541ac6f2b670b0a3dd8ba | 56823e77cf502bdea68cce0e1221f5add3d64d6a | refs/heads/master | 2023-08-11T20:35:09.726571 | 2023-08-11T13:02:43 | 2023-08-11T13:02:43 | 115,886,967 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,099 | cpp | #include <cstdio>
#include <cstdlib>
#include <cmath>
#include <cstdarg>
#include <cstdint>
#include <chrono>
#include <algorithm>
#include <vector>
#include <random>
#include <SDL.h>
#include <cairo.h>
using namespace std;
struct App
{
SDL_Window *window;
SDL_Renderer *renderer;
SDL_Texture *texture;
cairo_surf... | [
"qeed.quan@gmail.com"
] | qeed.quan@gmail.com |
f1337c0f3f49b32e35176e6a1749f216e4048b8a | a8d58a208a58a4dc9bf3499383787168f77b280c | /School/Test.h | 68acbef8f059501f20b29e0458408cbad3006be3 | [] | no_license | zruslan2/SchoolProject | e5fed44d2bf71ad03e473df6cdf39e807ab553e6 | dbb9f680840d13d037b297ba39158bcea1d06819 | refs/heads/master | 2020-04-10T18:44:11.035459 | 2018-12-14T17:11:13 | 2018-12-14T17:11:13 | 161,210,821 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,081 | h | #pragma once
#include "Question.h"
#include <fstream>
class Test
{
static int seqIdTest;
int idTest;
int quesNum = 0;
string testName;
map<int, Question> testQuestions;
int testMaxResult;
int idCreator;
public:
Test(string testName);
Test()=default;
void setIdTest(int idTest);
int getIdTest()const { return... | [
"Ruslan@RUSLAN-PC"
] | Ruslan@RUSLAN-PC |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.