blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 986
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 23
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 145
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 122
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0e32d2ecc2ae7513dccbcded7e7bf8625da707e3 | f42dd0e2471c03600f890b2c769e57b24aaa08e3 | /FrameWork/Tool/Default/CameraTool.cpp | 020b2efa8b5609299c61705e4fc49ae42198919b | [] | no_license | zeldie/- | 1722f777fbe870e9ccef9e1eed49bb07e2ce1dd7 | 658225e7ead91839750f8024593ed67b059d8923 | refs/heads/master | 2022-12-22T02:34:30.128966 | 2020-09-14T07:56:25 | 2020-09-14T07:56:25 | 295,115,224 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 3,030 | cpp | // CameraTool.cpp : 구현 파일입니다.
//
#include "stdafx.h"
#include "Tool.h"
#include "CameraTool.h"
#include "afxdialogex.h"
#include "ToolView.h"
CCameraTool* g_pCamTool;
// CCameraTool 대화 상자입니다.
IMPLEMENT_DYNAMIC(CCameraTool, CDialog)
CCameraTool::CCameraTool(CWnd* pParent /*=NULL*/)
: CDialog(IDD_CAMTOOL, pParent... | [
"Administrator@JUSIN-20200527X"
] | Administrator@JUSIN-20200527X |
41df693bf7b4f39aae97629f619bba65d1abf10d | 1b8ae277ef7f39af15b6e0bff057c433dc44a109 | /src/mame/audio/taitosnd.h | c1815f2baa9c288ee289e584aae572499556196b | [] | no_license | ilitirit-za/ShmupMame-unofficial | 2ea58e7674df935c98e73d34ca888152b82c570d | 2ddd533fbaceac256cf0fbc2f918de1966280a22 | refs/heads/master | 2021-01-11T02:07:06.094952 | 2016-10-24T11:17:30 | 2016-10-24T11:17:30 | 70,804,668 | 3 | 0 | null | 2016-10-21T13:17:50 | 2016-10-13T12:35:08 | C | UTF-8 | C++ | false | false | 1,795 | h | #ifndef __TAITOSND_H__
#define __TAITOSND_H__
#include "devlegcy.h"
#include "devcb.h"
/***************************************************************************
TYPE DEFINITIONS
***************************************************************************/
struct tc0140syt_interface
{
const char *maste... | [
"ilitirit@gmail.com"
] | ilitirit@gmail.com |
f96dfe0adf197e81dc4596c83ff8204386bc1443 | 8c7839ee011441396f1afd33cf2929ea8ecd6b28 | /Week 1/LabGuide01_AB/Solutions/Lab1A/Question_2.cpp | 78753ea91787c9f9347f8a19ff6f5e9492016894 | [] | no_license | tolga-karabudak/C-Problems | c6bf3550352c765dd1f57beda794333572cb7e10 | 384489e07feaf787a6a09cfe54133a2ae87e4981 | refs/heads/master | 2023-03-29T20:22:28.378135 | 2021-03-28T11:08:47 | 2021-03-28T11:08:47 | 352,305,854 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,437 | cpp | /*the purpose of the program is calculating each scores avg and each scores avg */
#include <stdio.h>
/*CENG104 Lab1-A Question2
Author: Evren*/
#define TEAM 50
#define GAME 4
//read the team ids and scores from the bowling.txt file into the arrays
void
readFromFile(FILE * inp, int *teams, int scores[][GAME], int *no... | [
"tolga-karabudak@users.noreply.github.com"
] | tolga-karabudak@users.noreply.github.com |
1ff0008122166274880ffcaf4ace8ad2ec0f6fbe | 3da6bbb716097a2836f06b829965f1221d960586 | /matrix.cpp | c414f79e97bfb91518665415aaa4827655bf6e0f | [] | no_license | mlin9/SFML-Visual_GA | b47f8adec6a2f1bf519062b9df402b9fd63443d6 | db348333ba098efda7536a5d2005521030c9edc9 | refs/heads/master | 2021-09-14T03:29:52.637792 | 2018-05-07T17:24:51 | 2018-05-07T17:24:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,653 | cpp | #include "matrix.h"
/***** CONSTRUCTORS *****/
Matrix::Matrix()
{
}
Matrix::Matrix(int input_width,int input_height)
{
width = input_width;
height = input_height;
matrix = new int*[input_width];
for(int i = 0; i < input_width; i++)
matrix[i] = new int[input_height];
}
Matrix::~Matrix()
{
for(int i = 0; i ... | [
"michaellindocs@gmail.com"
] | michaellindocs@gmail.com |
2f0f3cd279eaf6a0451d52e008e6375c94216328 | 6f2b6e9d77fc4dd5e1dae8ba6e5a66eb7c7ae849 | /sstd_boost/sstd/boost/numeric/interval/detail/bcc_rounding_control.hpp | 244c63236a4a9708b6636ade929b82db3925ff32 | [
"BSL-1.0"
] | permissive | KqSMea8/sstd_library | 9e4e622e1b01bed5de7322c2682539400d13dd58 | 0fcb815f50d538517e70a788914da7fbbe786ce1 | refs/heads/master | 2020-05-03T21:07:01.650034 | 2019-04-01T00:10:47 | 2019-04-01T00:10:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,583 | hpp | /* Boost interval/detail/bcc_rounding_control.hpp file
*
* Copyright 2000 Jens Maurer
* Copyright 2002 Hervé Brönnimann, Guillaume Melquiond, Sylvain Pion
*
* 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)
*... | [
"zhaixueqiang@hotmail.com"
] | zhaixueqiang@hotmail.com |
1c390d7e18c682c67d75f00c69f8253e3c6fe34a | bb156c3ff61b266d145fbc41b35ae4094fdc4362 | /cpp14/tests/Help_Test/src/HelpTest.cpp | 634d24f989b47d046d017be641506bcd9a85b19d | [
"MIT"
] | permissive | Kartikei-12/Data-Structure-and-Algorithms | 22bb8bdddffb044e63386c7f968619251497c2d8 | e7e0db4170c1963fbd2b12463e6265d144232703 | refs/heads/master | 2023-06-06T10:00:52.344011 | 2021-07-02T15:10:56 | 2021-07-02T15:10:56 | 375,585,574 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,396 | cpp | /**
* @copyright Copyright (C) 2021 by Kartikei Mittal. All Rights MIT Licensed.
* @brief Utilities to help in testing SOURCE.
* @author Kartikei Mittal
*/
#include "HelpTest/HelpTest.hpp"
namespace self {
UDTfT::UDTfT(int a_/* = 0*/, char b_/* = ' '*/, double c_/* = 1.5*/) {
set(a_, b_, c_);
}
UDTfT::UDTfT(c... | [
"kartikeimittal@gmail.com"
] | kartikeimittal@gmail.com |
e06a32fcc1529be1a3c6381b2817c1b0639d4444 | b3f0037b6483e6be647cd8b64d06befc3f6ce8c4 | /codeforces/1296/A.cpp | 139a87aec957deadaef1fcaa399a0e1f9906528d | [] | no_license | arnab000/Problem-Solving | 7b658ac19b7e8ec926e6f689f989637926b8089b | b407c0d7382961c50edd59fed9ca746b057a90fd | refs/heads/master | 2023-04-05T14:40:50.634735 | 2021-04-21T01:45:00 | 2021-04-23T01:05:39 | 328,335,023 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 598 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
long long n;
cin>>n;
while(n--)
{
long long k;
cin>>k;
bool even=false,odd=false;
for(long long i=0;i<k;i++)
{
long long p;
cin>>p;
if(p%2==0)
even=true;
else
o... | [
"arnab.saintjoseph@gmail.com"
] | arnab.saintjoseph@gmail.com |
e0fa09389693a6735972c7479656ad99f9418e30 | 5df58ce7b8734b4dab56f187d4ba5376b0447bb5 | /rungekutta.cpp | de261c80f168e0c3691f9038ad749c1b603438f8 | [] | no_license | damoreno17/MorenoDiego_Ejercicio28 | 99f4fcea567a0726336570abd78c6a5fbc913637 | db33b5729bd9c48995cb59a0c31758ab26bd062f | refs/heads/master | 2020-09-10T16:09:53.266760 | 2019-11-14T18:49:26 | 2019-11-14T18:49:26 | 221,753,028 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 819 | cpp | #include <iostream>
#include <cstdlib>
#include <cmath>
using namespace std;
float rungek4(float x_i, float t_i, float (*F)(float , float)){
float dt = 0.01;
float k1 = dt*F(t_i, x_i);
float k2 = dt*F(t_i+dt/2 , x_i+k1/2);
float k3 = dt*F(t_i+dt/2, x_i+k2/2 );
float k4 = dt*F(t_i+d... | [
"da.moreno17@uniandes.edu.co"
] | da.moreno17@uniandes.edu.co |
93027e1835451e3e68f33e520c39d6777c238e58 | 762153a44d015a0a83f8037cb9b88e5f0c2add49 | /engine/report/ReportPattern.h | 70e0215ca6af30e6d3eddda3ac18b1ddab21d2da | [] | no_license | pbem-games/overlord | f60460b802bbd656111c40847482f9a07457a12d | 2343eae8b5a7947b06f559edc89ba9d9c3d41c4a | refs/heads/master | 2020-07-05T07:45:24.919396 | 2019-08-17T05:20:18 | 2019-08-17T05:20:18 | 202,575,401 | 0 | 1 | null | 2019-08-17T05:20:19 | 2019-08-15T16:27:25 | C++ | UTF-8 | C++ | false | false | 2,241 | h | /***************************************************************************
ReportPattern.h - description
-------------------
begin : Wed Jan 22 2003
copyright : (C) 2003 by Alex Dribin
email : Alex.Dribin@gma... | [
""
] | |
2037cd4ad2f161064ce82456de59f1249e602455 | 1fb58ee945656ead3850e579288aacef7d5e5a9f | /SourceDetectorPair.h | f7f34be77f2e8e25807d6bb0aaf6a8ca4836c46d | [] | no_license | epezhman/cpp_ros | bf9facf9a2febd46c13fd9fc6e04691566224581 | cdbb8d2c6160f0d4dd6e3e1e11198dd13161f04e | refs/heads/master | 2020-05-21T11:19:55.997867 | 2016-08-15T10:53:15 | 2016-08-15T10:53:15 | 48,189,278 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 998 | h | #include <iostream>
#include <vector>
#include <eigen3/Eigen/Dense>
#include <eigen3/Eigen/Geometry>
#include <eigen3/Eigen/Core>
class SourceDetectorPair
{
public:
SourceDetectorPair(std::vector<float>,std::vector<float>,std::vector<float>,std::vector<float>);
Eigen::Vector3f getSourcePosition();
Eigen::Vecto... | [
"epezhman@gmail.com"
] | epezhman@gmail.com |
be5996733d1040368a93199e88d84bb5059ec8d7 | 5c34abe10630b23da8ba7d1cbce38bda53a4b6fa | /geometry/src/Helix.cxx | a99c4848261dc9450ca1af7ac1ea8add2f55a637 | [] | no_license | fermi-lat/GlastRelease-scons-old | cde76202f706b1c8edbf47b52ff46fe6204ee608 | 95f1daa22299272314025a350f0c6ef66eceda08 | refs/heads/master | 2021-07-23T02:41:48.198247 | 2017-05-09T17:27:58 | 2017-05-09T17:27:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,744 | cxx | // $Id$
#include "geometry/Helix.h"
// static variables for efficiency of position, direction
static double sinSave, cosSave, rhoSave, stepSave, perpSave;
Helix::Helix( const Point& p, const Vector& d,
const Vector& a, double r )
: Ray( p, d ) ,axis(a.unit()), rho(r)
{ perp = axis.cross( dir );
perpSa... | [
""
] | |
5db5a34cf114c8af934badbe8ed6fb08fdffe5d1 | 9924959c60ec718590784c98f6ad01630670e4c5 | /source/uwp/Renderer/lib/AdaptiveBackgroundImage.cpp | 4d47d5013e8f38f39a73d98e3ff856c839e12d27 | [
"MIT",
"LicenseRef-scancode-proprietary-license"
] | permissive | 1Crazymoney/AdaptiveCards | f685567b93cf751ece4b697740d11a7fa7f56cde | 7cd3811cc2c0ddcff9059ebb11385fa08901ca81 | refs/heads/main | 2023-03-12T13:34:33.174361 | 2021-03-02T18:21:44 | 2021-03-02T18:21:44 | 343,944,883 | 1 | 0 | MIT | 2021-03-02T23:46:11 | 2021-03-02T23:46:10 | null | UTF-8 | C++ | false | false | 3,716 | cpp | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#include "pch.h"
#include "AdaptiveBackgroundImage.h"
#include "Util.h"
using namespace Microsoft::WRL;
using namespace Microsoft::WRL::Wrappers;
using namespace ABI::AdaptiveNamespace;
using namespace ABI::Windows::Founda... | [
"noreply@github.com"
] | 1Crazymoney.noreply@github.com |
116c59f84e58d607b67120ade5fd33e80e0dd174 | 84c2d1806a8e64a95efdc5d8a6affb8af38012af | /2017/r2/19/g.cc | 2210cb49ee64fb84399c61c3f02597b0c037b5ad | [] | no_license | Abreto/uestc-summer-training | 27ab1433c5292230e0c392a0aa9004fa5382fc71 | 12373e13838924449520ba85f8c5b43705e79f4f | refs/heads/master | 2021-01-17T12:59:49.830376 | 2019-08-06T09:43:18 | 2019-08-06T09:43:18 | 64,600,743 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,026 | cc | /* UESTC 2017 Summer Training #33 Div.2. Problem , by Abreto<m@abreto.net>. */
#include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
const double eps=1e-10;
ll dcmp(ll x)
{
return (0==x)?0:(x<0?-1:1);
}
struct Point
{
ll x,y;
Point(){}
Point(ll x,ll y):x(x),y(y){}
bool... | [
"m@abreto.net"
] | m@abreto.net |
69236b7f4fde96d0902a967785a33e63933aab0d | ec02c45b6a77c25c55d8dae787e06ab62c170fec | /arm_navigation/planning_environment/include/planning_environment/models/robot_models.h | 638fd0892c32326fc11834b3c19831fe55f51ace | [] | no_license | Beryl-bingqi/footstep_dynamic_planner | 5400d866a74f0ed557dadc9177f18b6ba20cf33f | 99851122d400de0e6ad73f787de0201cb991880e | refs/heads/master | 2020-07-05T05:57:57.885423 | 2013-07-01T14:29:38 | 2013-07-01T14:29:38 | 11,093,592 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,180 | h | /*********************************************************************
* Software License Agreement (BSD License)
*
* Copyright (c) 2008, Willow Garage, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following cond... | [
"icy397@hotmail.com"
] | icy397@hotmail.com |
87338a3aaa8078ee8f867c4fd3d16b018f419bd2 | 88afefc45686acf59673a2a71400733e238162fa | /trunk/Kernel/modelCacheSingleton.h | 20a2838381911dec06cc8cb350180093df18b581 | [] | no_license | BGCX067/factplusplus-svn-to-git | f7e74cf0cb28b90d9a8d5c8b131417a95c582f18 | 4177996080a2a181cca8b353f9eeb92de9de4194 | refs/heads/master | 2016-09-01T08:55:37.774338 | 2015-12-28T14:13:26 | 2015-12-28T14:13:26 | 48,870,979 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,776 | h | /* This file is part of the FaCT++ DL reasoner
Copyright (C) 2003-2010 by Dmitry Tsarkov
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) ... | [
"you@example.com"
] | you@example.com |
12fc6b1b82635b9c9d070d5a26b4640b6f682e7d | 4d06f8db849a39528a09835b19a19475deb34b49 | /include/Dunjun/Graphics/Lighting.hpp | 28566946b306d5e6f4a7443353e3a4f627570602 | [
"BSD-3-Clause",
"MIT",
"Zlib",
"LicenseRef-scancode-public-domain"
] | permissive | Melonpi/Dunjun | 17266f7b27f04d3896357ea0c70c9e2db3414743 | a133a10a3c79403462ce5b4591dc0b346ed625f0 | refs/heads/master | 2021-01-19T10:08:59.325757 | 2016-03-03T15:08:32 | 2016-03-03T15:08:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,124 | hpp | #ifndef DUNJUN_GRAPHICS_LIGHTING_HPP
#define DUNJUN_GRAPHICS_LIGHTING_HPP
#include <Dunjun/Math/Types.hpp>
#include <Dunjun/Math/Functions.hpp>
#include <Dunjun/Graphics/Color.hpp>
namespace Dunjun
{
struct Attenuation
{
f32 constant = 1.0f;
f32 linear = 0.0f;
f32 quadratic = 1.0f;
};
struct BaseLight
{
Colo... | [
"ginger.bill.22@gmail.com"
] | ginger.bill.22@gmail.com |
191aa83383a576f6d805b4e6dc7e445330a7427a | f4bfa0d7977f5fb67d0d0fa83c9ab067a2398aa3 | /Monitor.cpp | 0cdc0409f2684c8314e2cbb1c86af402ff44703a | [
"MIT"
] | permissive | Julioalbornozv/Langton-Anthill | f13d69ad57a59217f9c4cd27a9cea5c8e720f314 | 343afc86ccc0fbf9bf3bd0791733db4685949a56 | refs/heads/master | 2020-07-05T23:14:25.545042 | 2019-12-26T20:04:34 | 2019-12-26T20:04:34 | 202,812,705 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,391 | cpp | /***
* @file Monitor.h
* Monitor Class implementation
*/
#include "Monitor.h"
#include <winuser.h>
Monitor::Monitor(Config* param, int TileX, int TileY){
full = param->fullscreen;
if (full){
param->DWidth = GetSystemMetrics(0)/TileX; //TODO: This should be handled by a Config class setter
param->DHeig... | [
"julio.albornoz@ug.uchile.cl"
] | julio.albornoz@ug.uchile.cl |
7af1de0de1384cbcce5f13b2d37ccc0ba6975b17 | 9bcedb0048c0c7a3908d27c6bdf3def3acb27849 | /Day16~27/DXEngine/DXEngine04_VertexColor/Mesh.cpp | ebafd319329655d48f4c5342d3c41e15f7cd219f | [] | no_license | youga114/AlgorithmAndDX | 653b2e60fa605584353120468febcedf938c59f8 | ea94a3bc94aae80e5c188e2596e61a01b39bc290 | refs/heads/master | 2020-06-02T21:36:21.462739 | 2019-07-23T09:52:54 | 2019-07-23T09:52:54 | null | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 2,232 | cpp | #include "Mesh.h"
Mesh::Mesh()
{
}
Mesh::~Mesh()
{
Memory::SafeRelease(vertexBuffer);
Memory::SafeRelease(inputLayout);
}
bool Mesh::InitializeBuffers(ID3D11Device * device, ID3DBlob * vertexShaderBuffer)
{
// 정점 배열.
Vertex vertices[] = { //화면 가운데 0좌표(위치)
Vertex(XMFLOAT3(0.0f, 0.5f, 0.5f), XMFLOAT4(1.... | [
"youga114@naver.com"
] | youga114@naver.com |
f9b9f9c1704007ceeb5eec2e2c2bd584643092ea | 9030ce2789a58888904d0c50c21591632eddffd7 | /SDK/ARKSurvivalEvolved_DinoSettings_CarrionEater_Medium_Arthro_structs.hpp | d6b2c01790c0ce94ebf2673967afb3b6ff9d7473 | [
"MIT"
] | permissive | 2bite/ARK-SDK | 8ce93f504b2e3bd4f8e7ced184980b13f127b7bf | ce1f4906ccf82ed38518558c0163c4f92f5f7b14 | refs/heads/master | 2022-09-19T06:28:20.076298 | 2022-09-03T17:21:00 | 2022-09-03T17:21:00 | 232,411,353 | 14 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 268 | hpp | #pragma once
// ARKSurvivalEvolved (332.8) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "ARKSurvivalEvolved_Basic.hpp"
#include "ARKSurvivalEvolved_DinoSettings_CarrionEater_classes.hpp"
namespace sdk
{
}
#ifdef _MSC_VER
#pragma pack(pop)
#endif
| [
"sergey.2bite@gmail.com"
] | sergey.2bite@gmail.com |
e52db33f5708f8833fcd638b3543c2ef6ea4eb14 | ab32a7d20257cf9a7d58a22a9399fb76d3237dfd | /hfc_test/src/net/TCPTest.hpp | c561754568faa1166ac55f7746f612ac8e18d3be | [] | no_license | hoheart/mdcpp | c7f304417851bec08ea3da89214397c631846605 | 4223c3ff13fb69da262a55589954940be8d54e46 | refs/heads/master | 2021-01-10T10:01:32.160683 | 2015-10-02T05:49:00 | 2015-10-02T05:49:00 | 43,823,771 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,563 | hpp | #ifndef __TCP_TEST_HPP__
#define __TCP_TEST_HPP__
namespace HFCTest {
#include "../ITest.hpp"
#include "../../../HFC/include/Net/TCPServer.hpp"
using namespace HFC::Net;
#include "../../../HFC/include/Lang/Runnable.hpp"
using namespace HFC::Lang;
#include "../../../HFC/include/Concurrent/ThreadPool.hpp"
... | [
"hoheart@localhost.localdomain"
] | hoheart@localhost.localdomain |
1b0a5d2c41da76a5c09d3e8808a9430cc1b2f100 | ee2eac73a70c25f6eb352dd55b954c8d449547de | /1122.cpp | 488a83e665080656cfca6029e73f230b5d419d99 | [] | no_license | Alruddy/LightOJ | 10a0214c5fd71e76658ff8b44c93973fa194747f | 785f33d38ab33bb335f348c3daddf8c687d8d889 | refs/heads/master | 2021-01-15T10:54:11.334824 | 2017-09-21T00:01:15 | 2017-09-21T00:01:15 | 99,601,522 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,748 | cpp | #include <stdio.h>
#include <iostream>
#include <string.h>
#include <stdlib.h>
#include <vector>
#include <algorithm>
#include <queue>
#include <map>
#include <stack>
#include <string>
#include <math.h>
#include <bitset>
#include <ctype.h>
using namespace std;
typedef pair<int,int> P;
typedef long long LL;
const int I... | [
"noreply@github.com"
] | Alruddy.noreply@github.com |
c694021b2b63bf776e68784426c98f962f04ca44 | 33392bbfbc4abd42b0c67843c7c6ba9e0692f845 | /quantitative_finance/L1/include/xf_fintech/bs_model.hpp | 1d0f0772f4a8f6bef6a2b8e7c022ffda2adc63ee | [
"BSD-3-Clause",
"Apache-2.0"
] | permissive | Xilinx/Vitis_Libraries | bad9474bf099ed288418430f695572418c87bc29 | 2e6c66f83ee6ad21a7c4f20d6456754c8e522995 | refs/heads/main | 2023-07-20T09:01:16.129113 | 2023-06-08T08:18:19 | 2023-06-08T08:18:19 | 210,433,135 | 785 | 371 | Apache-2.0 | 2023-07-06T21:35:46 | 2019-09-23T19:13:46 | C++ | UTF-8 | C++ | false | false | 3,718 | hpp | /*
* Copyright 2019 Xilinx, Inc.
*
* 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 agreed to... | [
"sdausr@xilinx.com"
] | sdausr@xilinx.com |
1893c1323f8f22287489fbcad2e2a81ffa96cad1 | f29453c9f9d8c4bb7df7e67d93c7225e1f338ceb | /CPlusplus/upe/include/mip/upe/execution_state.h | 058efc5e99baad3e6271db776567d3a942f29e8e | [
"MIT"
] | permissive | WeibingDavid520/CPlusplusSample | 44825586a357065a5c7e756fdcb58cce228432bd | 7b8aeccc283183c99576a35103a7a95cad70126c | refs/heads/master | 2020-05-18T08:42:16.403968 | 2019-05-01T18:33:17 | 2019-05-01T18:33:17 | 184,302,011 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,482 | h | /*
*
* Copyright (c) Microsoft Corporation.
* All rights reserved.
*
* This code is licensed under the MIT License.
*
* 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 restricti... | [
"v-weizhe@microsoft.com"
] | v-weizhe@microsoft.com |
e9ad9e3ce1dae91f0a9424d377019772f77e0029 | 15c99b5ced865f5f08a36898ed4f0301e8c41483 | /101.symmetric-tree.cpp | 9c42159059db01c4e615a1e29b6e90ca5d8d7266 | [] | no_license | h13o/leetcode | 35c45f725b8065cc4e6bf25f631fe72e973baead | f1a644cec441cec22e1ae8fd7a60f0f2243f0c0b | refs/heads/master | 2022-03-26T06:15:30.234440 | 2019-12-24T07:58:11 | 2019-12-24T07:58:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,115 | cpp | /*
* @lc app=leetcode id=101 lang=cpp
*
* [101] Symmetric Tree
*
* https://leetcode.com/problems/symmetric-tree/description/
*
* algorithms
* Easy (45.05%)
* Likes: 2920
* Dislikes: 66
* Total Accepted: 505.5K
* Total Submissions: 1.1M
* Testcase Example: '[1,2,2,3,4,4,3]'
*
* Given a binary tree,... | [
"aplboicundaze@gmail.com"
] | aplboicundaze@gmail.com |
4635a3199c944009aae45cfe8e0de96aebfe6fe4 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/collectd/gumtree/collectd_repos_function_1798_collectd-4.9.4.cpp | 0141eea7afc05f5f937a71799bb4959bbfced752 | [] | 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 | 1,607 | cpp | int
dump_entry(STRUCT_ENTRY *e, const TC_HANDLE_T handle)
{
size_t i;
STRUCT_ENTRY_TARGET *t;
printf("Entry %u (%lu):\n", iptcb_entry2index(handle, e),
iptcb_entry2offset(handle, e));
printf("SRC IP: %u.%u.%u.%u/%u.%u.%u.%u\n",
IP_PARTS(e->ip.src.s_addr),IP_PARTS(e->ip.smsk.s_addr));
printf("DST I... | [
"993273596@qq.com"
] | 993273596@qq.com |
e0bc5fc67c309e6937ca8d3818edb714ce17f305 | 56ff38e6453719286cb299fde7fd3c34941d0038 | /examples/type_traits.cc | 8c604e4c6eb79b6b28448bac9746380728dffcb7 | [
"MIT"
] | permissive | skyshaw/skynet3 | 5d16a1b289d12c1f35865b5a577cdc79df4b8b84 | d6998799fcfe959126fe50bd3b0d640a3c31d9ba | refs/heads/master | 2021-01-19T10:08:19.336865 | 2015-07-07T04:56:41 | 2015-07-07T04:56:41 | 34,988,583 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 409 | cc | #include <cstdlib>
#include <iostream>
#include <set>
#include "base/type_traits.h"
#include "third_party/glog/logging.h"
#include "third_party/gflags/gflags.h"
void EnableIfEx() {
base::enable_if<true, int>::type a = 1;
std::printf("%d\n", a);
}
int main(int argc, char** argv) {
gflags::ParseCommandLineFlags(... | [
"pxtian2008@gmail.com"
] | pxtian2008@gmail.com |
d688129893dc737f32f638528658b472dd8b36ef | 3fa7f2879ef96b684fe3b3066d4d83a085da477d | /Algorithm_73/Algorithm_73/main.cpp | bf7110828a03c8582666e28b921c7b8be65d5832 | [] | no_license | ChuanF1998/Algorithm | 826475ed1cb3afccdd92ea154a4de48fe890af09 | cbc74232a73d04458bac869a1fa1ad4b7018bf81 | refs/heads/master | 2020-09-08T16:21:18.673092 | 2020-06-14T15:24:49 | 2020-06-14T15:24:49 | 221,182,208 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,156 | cpp | /*
给定一个整数数组,判断是否存在重复元素。
如果任何值在数组中出现至少两次,函数返回 true。如果数组中每个元素都不相同,则返回 false。
示例 1:
输入: [1,2,3,1]
输出: true
示例 2:
输入: [1,2,3,4]
输出: false
示例 3:
输入: [1,1,1,3,3,4,3,2,4,2]
输出: true
来源:力扣(LeetCode)
链接:https://leetcode-cn.com/problems/contains-duplicate
著作权归领扣网络所有。商业转载请联系官方授权,非商业转载请注明出处。
*/
/*
方法一:暴力破解,时间复杂度O(n^2)
方法二:... | [
"895952166@qq.com"
] | 895952166@qq.com |
28e518d836562088f371c5f59838d8bb55c5c32d | a9f981ad539111fa7aecad2810c2a190548d7acd | /tera/tabletnode_client_sdk.cc | 16d1c5bf927cff38b5704e5f43239f789a1d60ee | [] | no_license | hazhashua/tera | d9a695e361a28fc1d6934090533712d71f46c203 | 9ed887002dfb661d4efd116ecaff8c05757d8827 | refs/heads/master | 2021-01-18T02:39:11.256465 | 2015-03-15T22:49:31 | 2015-03-15T22:49:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,939 | cc | // Copyright (c) 2015, Baidu.com, Inc. All Rights Reserved
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <gflags/gflags.h>
#include "tera/tabletnode_client_sdk.h"
DECLARE_string(tera_tabletnode_addr);
DECLARE_string(tera_tabletnode_port);
DECLARE_int... | [
"shiguang31@163.com"
] | shiguang31@163.com |
4ae3cf93bcb3af571d2261db4dc8c572248be66c | 4592bc4b6383a8246b19e2ee6130f0302c2d321a | /solution_05/src/DataContainer.cc | 9b322ab73b42f3e93eb634b05dcbe01cf9cd33c4 | [
"MIT"
] | permissive | williamhbell/HepCppIntro | a63210b2672f9e9b9a3f049288c465dfb3865ef6 | 975535e4daef8fa25f143731db62304a3812ee5f | refs/heads/master | 2021-01-01T17:22:13.523837 | 2015-06-12T20:19:44 | 2015-06-12T20:19:44 | 37,342,022 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,461 | cc | /* W. H. Bell
**
** The solution to problem 2. (Please try the problem first before
** looking at the solution.)
**
** A data container providing some operations on private data member array.
*/
#include "DataContainer.h"
#include <iostream>
using namespace std;
/** Constructor ********************/
DataContainer::... | [
"whbqcd1@gmail.com"
] | whbqcd1@gmail.com |
a5b1eca5fc91f8ae4e6a6a8225a40cdef3d03b6c | a99d3f64a1076cbfc44d28c681703d408b82284c | /Attribute.h | 5950e20d339a4fa19051aa8c05358fea53996311 | [] | no_license | toastynerd/uw_cpp_qtr3_assignment_2 | d2206e8ba34921402d80d6c54ca288ec9cdbdf8b | 588513973de354e8381f6eecbce1fa2032f2ff2d | refs/heads/master | 2021-01-02T09:38:51.691867 | 2013-08-06T06:47:48 | 2013-08-06T06:47:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 293 | h | #pragma once
#include <string>
namespace Attribute
{
class Attribute
{
Attribute(std::string description, std::string value);
~Attribute();
std::string getDescription();
std::string getValue();
private:
std::string my_description;
std::string my_value;
};
}
| [
"tylermorgan86@gmail.com"
] | tylermorgan86@gmail.com |
43d8f81b0c52a0572c8a4182bc3f87e4620df7b0 | 31e2d910ad34175b240aecd3fe90c16527a5c373 | /spaceUnit/Classes/AbilityButton.h | 7563e3e7f192c89583bf52f96efbfb5bd644197f | [] | no_license | DmitriyKirakosyan/spaceUnitIOS | 9cf9dd5ad6db0c991ad1daf27c3959b9611a0655 | 13d6bb52e41608f30f12b7be53d41e8d6ce3fa88 | refs/heads/master | 2016-09-05T21:16:22.846609 | 2014-08-20T07:15:12 | 2014-08-20T07:15:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 738 | h | //
// AbilityButton.h
// spaceUnit
//
// Created by PC on 8/11/14.
//
//
#ifndef __spaceUnit__AbilityButton__
#define __spaceUnit__AbilityButton__
#include "cocos2d.h"
#include "Ability.h"
class AbilityButton : public cocos2d::CCNode {
private:
const char * _bkg;
const char * _view;
Ability *_ability;
float... | [
"dmitriy.kirakosyan@gmail.com"
] | dmitriy.kirakosyan@gmail.com |
8906d14062f6a24eafff51e835d387867156199e | ae16ce0de15ae133d6eb378db6827e925ad9bc86 | /sdk/net/NetWorkManager.cpp | 81cb631ab7cec8da2083c9c13fab93c56fd69afa | [] | no_license | CN-fox/UUWB | 5993c7c0eabdf5903f1ca7109874f7deb8938239 | b7710e4bde648cecf854db0a4319ecce770b3d7c | refs/heads/master | 2016-09-08T02:34:58.399913 | 2014-05-25T16:42:39 | 2014-05-25T16:42:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,329 | cpp | #include"NetWorkManager.h"
#include<QMessageBox>
//NetWorkManager::NetWorkManager()
//{
// init();
//}
NetWorkManager::NetWorkManager(QObject *parent):
QObject(parent)
{
}
void NetWorkManager::init()
{
}
void NetWorkManager::finish_slot(QNetworkReply* reply)
{
QByteArray json = reply->readAll();
... | [
"wangqu.0913@gmail.com"
] | wangqu.0913@gmail.com |
9b635edacf70de25234611bfbc83992474025fb3 | 25690c52b478a0482b475f1eaf8697db9b7005bf | /629B.cpp | e37ea5d9a9d5b64fec63325e46c33ee54d854ed4 | [] | no_license | neilkakkar/NewBeginning | c1931cbed6f9d036937c3947ef7c6e145917168e | b8224ec4de10de2bc0ae606508b1507ffc2171d7 | refs/heads/master | 2021-01-15T15:38:51.455562 | 2017-08-24T10:32:31 | 2017-08-24T10:32:31 | 49,818,645 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 648 | cpp |
#include <bits/stdc++.h>
using namespace std;
int M[367]={0};
int F[367]={0};
int main()
{
int n;
cin>>n;
for(int i=0;i<n;i++)
{
string x;
cin>>x;
int a,b;
cin>>a>>b;
if(x=="M")
{
for(int j=a;j<=b;j++)
{
M[j]++;
... | [
"neilkakkar@gmail.com"
] | neilkakkar@gmail.com |
c89267f9f489bfe822aeec723525f8c473289f72 | bdd6458bc1dfb60fdd9b4bfd4afeec20e740794b | /OOP Week 5/Book/Library.h | 60af74447833255844b59ae8e71a21fd309a8c86 | [] | no_license | NearHuscarl/C-Exercise | 876954746ab9a3fdd9c198d1188ef28829e109cc | e95bfaae8da3933d0adb895917eefd4d5bee1044 | refs/heads/master | 2021-01-17T14:05:33.070837 | 2017-05-31T13:15:30 | 2017-05-31T13:15:30 | 83,463,305 | 3 | 1 | null | 2017-03-17T13:10:33 | 2017-02-28T17:59:10 | C++ | UTF-8 | C++ | false | false | 243 | h | #ifndef LIBRARY_H
#define LIBRARY_H
#include "Book.h"
class Library
{
public:
Library();
~Library();
void Input();
void Output();
private:
Book **mpBookList;
int mNumOfBooks;
};
#endif //LIBRARY_H
| [
"16520846@gm.uit.edu.vn"
] | 16520846@gm.uit.edu.vn |
5a375934b663c8bec8f5ac58230b8a14cb4db5d5 | d62a9f188f1fa50d960baff346de5aa41b7c9d86 | /src/mapnik_image_fill.cpp | 55f5faa5a8187e53803184234b5bcc35ad91efaf | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause"
] | permissive | yefengbar/node-mapnik | ebb61a6d8a60ba6d884f038e4ed058f196f9a9dd | a98454b28e8376fbb74d3b535c3b68db37f86a71 | refs/heads/master | 2023-01-10T21:40:33.116984 | 2020-10-20T16:14:34 | 2020-10-20T16:14:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,752 | cpp | #include "mapnik_image.hpp"
#include "mapnik_color.hpp"
#include <mapnik/image.hpp> // for image types
#include <mapnik/image_any.hpp> // for image_any
#include <mapnik/image_util.hpp> // for save_to_string, guess_type, etc
namespace detail {
// AsyncWorker
template <typename T>
struct Asy... | [
"artem@mapnik.org"
] | artem@mapnik.org |
72909f5adf7d34708e87072b73263b4342fdfb58 | 23e393f8c385a4e0f8f3d4b9e2d80f98657f4e1f | /Win32 Programming/GDIExplorer/Image.cpp | a50e0963a94cccb397d673bd4c7b66fcd08c1ccd | [] | no_license | IgorYunusov/Mega-collection-cpp-1 | c7c09e3c76395bcbf95a304db6462a315db921ba | 42d07f16a379a8093b6ddc15675bf777eb10d480 | refs/heads/master | 2020-03-24T10:20:15.783034 | 2018-06-12T13:19:05 | 2018-06-12T13:19:05 | 142,653,486 | 3 | 1 | null | 2018-07-28T06:36:35 | 2018-07-28T06:36:35 | null | UTF-8 | C++ | false | false | 4,860 | cpp | // IDCombo.cpp : implementation file
//
#include "stdafx.h"
#include "image.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CImageCombo
CImageCombo::CImageCombo()
{
m... | [
"wyrover@gmail.com"
] | wyrover@gmail.com |
245df2784bd0a4988c377c7640de07375246b14a | c3e4282752cd032c6b7b4edbf76892936132ac1f | /C++/main.cpp | c251cf668db96baa72581ca5018c345328434e9c | [] | no_license | otkinlife/study | 845b34b8d268775d98c8212307ecd0a169d9148f | a68d942196ce939dea8f8e0654e6aaa7672a3685 | refs/heads/master | 2022-11-17T04:24:42.652506 | 2022-11-04T09:33:50 | 2022-11-04T09:33:50 | 152,359,267 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 167 | cpp | #include <iostream>
#include <unistd.h>
#include "question/leetcode.h"
using namespace std;
int main () {
LeetCode L;
L.generate(5);
return EXIT_SUCCESS;
} | [
""
] | |
7c80770982bb4e0296fe8879c9d5d5f425cf52c9 | 831edf611a4840cb70ff2ff263077b219a922ca1 | /include/UDPserver.h | f032f27f7b011a1cc4ab7c3eebd6897c2058e1ba | [] | no_license | darthvade/SpellChecker | abd66c5ca560d03422487f766c68ddb269fcc178 | 3cfe46450788a585cd49694fb9b5583e0009cac9 | refs/heads/master | 2021-01-02T23:12:13.717174 | 2014-05-13T09:03:36 | 2014-05-13T09:03:36 | 19,416,889 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 957 | h | /**
* UDPserver类
* 说明:使用UDP发送接受消息
*/
#ifndef __UDPSERVER_H__
#define __UDPSERVER_H__
#include <string>
#include <sys/socket.h>
#include <sys/types.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <cstring>
#include <unistd.h>
#include <cstdlib>
#define BUF_SIZE 1024
class UDPserver {
public:
typedef c... | [
"darthvade@sina.com"
] | darthvade@sina.com |
168274bb20fc337705e84e2cb58ae2b3a052063b | da06bb1ae62eb15654c910300c48fed63c63acd2 | /Source/Vector.cpp | 89fd47e56fa8fe7dd499a116e700c055b14d47f7 | [] | no_license | mgnauck/miko-raytracer | 83909fcf33500345e95139bb1c071ab6fe86c918 | e4985cdf298f5f174a5eb67cf4c0e7765c6298b0 | refs/heads/master | 2021-01-10T06:34:39.123047 | 2016-04-04T09:39:05 | 2016-04-04T09:39:05 | 55,399,559 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,345 | cpp |
#include "Vector.h"
Vector Vector::cross( Vector const& rhs ) const {
Vector tmp;
tmp.x = y * rhs[2] - z * rhs[1];
tmp.y = z * rhs[0] - x * rhs[2];
tmp.z = x * rhs[1] - y * rhs[0];
tmp.w = 1.0;
return tmp;
}
void Vector::normalize() {
value_type tmp = magnitude();
assert( tmp != static_cast<value_type>( ... | [
"17846097+mgnauck@users.noreply.github.com"
] | 17846097+mgnauck@users.noreply.github.com |
060df007ba55e027925bca22ca10da24c0effdc9 | 2c5c6aa01ae2d09c4c73911a6ed20dac8637ae3e | /Gzdoom/src/g_hexen/a_hexenspecialdecs.cpp | 595f755c73dc4ac44f1d6683c6c8b2829f3dcb76 | [] | no_license | Xeomuz/Doom-Port-Source-Code | ae095d4540b65eec209f3c2f9ac8586a2b90f859 | 6fe301ea5916de0bd8f06bdcd4bfe926a995dc6b | refs/heads/master | 2020-12-24T08:49:39.084300 | 2016-09-05T05:50:54 | 2016-09-05T05:50:54 | 5,394,666 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,001 | cpp | /*
** Decorations that do special things
*/
/*
#include "actor.h"
#include "info.h"
#include "a_action.h"
#include "m_random.h"
#include "s_sound.h"
#include "p_local.h"
#include "p_lnspec.h"
#include "a_hexenglobal.h"
#include "thingdef/thingdef.h"
#include "g_level.h"
#include "doomstat.h"
*/
static FRandom pr_pott... | [
"atma_chaos50@yahoo.com"
] | atma_chaos50@yahoo.com |
c877fc9da4584ff0849a0b5a104adb8f61a0395a | 66aa03ec470fa5f0eccdc0b58753512f474a6188 | /FeelClothControlHandle.cpp | f41c6e543531774253247a6d4221166a0ec5475e | [] | no_license | songw83/player | f96c36d026adebd1a442168275f48357bcaa3f51 | a3b8d967c2bd4c6d383a60a95cf76827a0972d0e | refs/heads/master | 2021-01-11T07:01:16.185847 | 2016-10-26T04:35:11 | 2016-10-26T04:35:11 | 71,965,997 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 11,977 | cpp | #include "FeelClothControlHandle.h"
#include "windows.h"
#include <assert.h>
#include <QDebug>
#define DEFAULT_BADURATE 115200
#define DEFAULT_BYTESIZE 8
#define DEFAULT_PARITY NOPARITY
#define DEFAULT_STOPBITS ONESTOPBIT
#define DEFAULT_WRITEBUF... | [
"noreply@github.com"
] | songw83.noreply@github.com |
94e4630886d133911167981783c5906708cffe71 | 7a17d90d655482898c6777c101d3ab6578ccc6ba | /SDK/PUBG_CS_WeapGun_Sniper_762_Kar98_Scope_classes.hpp | dc28b9caeb929a546255be584a6fdc7c4ce70256 | [] | no_license | Chordp/PUBG-SDK | 7625f4a419d5b028f7ff5afa5db49e18fcee5de6 | 1b23c750ec97cb842bf5bc2b827da557e4ff828f | refs/heads/master | 2022-08-25T10:07:15.641579 | 2022-08-14T14:12:48 | 2022-08-14T14:12:48 | 245,409,493 | 17 | 7 | null | null | null | null | UTF-8 | C++ | false | false | 1,047 | hpp | #pragma once
// PUBG (9.1.5.3) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "PUBG_CS_WeapGun_Sniper_762_Kar98_Scope_structs.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Classes
//-----------------------------------------------------------------... | [
"1263178881@qq.com"
] | 1263178881@qq.com |
cd4b51a79ce5d3c9e20d19c05f82b73af20f170a | c81ec21f55e0b8a3f2ec0005741fc5c071ab5519 | /toolkit/src/perceptron.h | 68b449efa58413bbe4c7d6f6b6a3a9c9f060ff29 | [] | no_license | lewistg/cs478_toolkit | fbddaf4b403879ed1d6f81a5424cd9b8c4e8a277 | 260e9766676526fe1f687795d55e33c3d17dc474 | refs/heads/master | 2016-09-03T06:45:01.768764 | 2014-03-27T02:14:58 | 2014-03-27T02:14:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,417 | h | #ifndef _PERCEPTRON_H_
#define _PERCEPTRON_H_
#include <vector>
#include "learner.h"
#include "perceptron_rule_perceptron_node.h"
class Perceptron : public SupervisedLearner
{
public:
/**
* Constructor
* @param r
* @return
*/
Perceptron(Rand& rand);
/**
* Deconstructor
... | [
"tyglewis@gmail.com"
] | tyglewis@gmail.com |
05c1d9925e6e220d6af4392a8923a1cd02b45cf7 | 717513dba6dbc0e48c52306eceaa4f1015936493 | /p2/Synch.h | 7109579ee946f96b13b51f01af0148e1972be6bd | [] | no_license | sushmithashridhar/Operating-Systems-CS-510 | 106b601052be67dd3277ffb1ea10298f5f084219 | 20ca2e983aedb30f5a2a0ca7521909e9d65b01b6 | refs/heads/master | 2021-05-09T07:27:40.634604 | 2018-01-29T09:45:53 | 2018-01-29T09:45:53 | 119,360,329 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 734 | h | -- SUSHMITHA SHRIDHAR
-- shridhar@pdx.edu
header Synch
uses Thread
class Semaphore
superclass Object
fields
count: int
waitingThreads: List [Thread]
methods
Init (initialCount: int)
Down ()
Up ()
endClass
class Mutex
superclass Object
fields
Threadin... | [
"noreply@github.com"
] | sushmithashridhar.noreply@github.com |
dfec63015ffa08177248a8028d362df5631806d5 | 375fd2dbed5590d3d533fae01517e6ab0bf9dd7d | /nouvelleDll/dllVI50/dllVI50/stdafx.cpp | 99ce8d2f43152cc6c700011f2a138caa9f873a0e | [] | no_license | davidAlittle/vi502011 | 629e6ee08146ea684338989efa69a750d395ae95 | eabf8f8a1afc531862748b3b092e1a49b5ea3c27 | refs/heads/master | 2021-01-22T05:54:22.714807 | 2013-01-09T18:28:22 | 2013-01-09T18:28:22 | 40,424,641 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 339 | cpp | // stdafx.cpp : fichier source incluant simplement les fichiers Include standard
// dllVI50.pch représente l'en-tête précompilé
// stdafx.obj contient les informations de type précompilées
#include "stdafx.h"
// TODO : faites référence aux en-têtes supplémentaires nécessaires dans STDAFX.H
// absents de ce fic... | [
"henri.payno@gmail.com"
] | henri.payno@gmail.com |
f3340dc7a1961e3de27fbf123765a016128fa628 | da6864d0b5035b5afa145154a8ac1ed77690d598 | /src/linux_parser.cpp | a0172fde872d894ce75cec2876cbc42cb47cd3b4 | [
"MIT"
] | permissive | rodriguesrenato/cpp-nd-system-monitor | 268155a4e455aacfe65c95df40f71d2e872d180a | 6641c02c5829590d42f30c84130ef079e6671e74 | refs/heads/main | 2023-04-05T08:27:38.083220 | 2021-03-28T23:32:37 | 2021-03-28T23:32:37 | 351,120,596 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,126 | cpp | #include "linux_parser.h"
#include <dirent.h>
#include <unistd.h>
#include <sstream>
#include <string>
#include <vector>
using std::stol;
using std::string;
using std::to_string;
using std::vector;
// Read and return Operating System name (pretty) from system files
string LinuxParser::OperatingSystem() {
string... | [
"renato.rodrigues.rfr@gmail.com"
] | renato.rodrigues.rfr@gmail.com |
14470708ea2f98ce1d4209985febdd8992c2db63 | ee412bacad03942d895010c6e739ed54c73d43b8 | /SigGenOLED.ino | bbc60f1f67908ac45125bfaf3a41adf6ed030a81 | [] | no_license | mcafzap/Energia-ADF435x | ce55087ed65753ca615f2af16195af2578b334de | 042e9f1afc4f1b7b4e9b1a6388d07be2af7776f0 | refs/heads/master | 2021-01-10T07:27:04.321969 | 2018-12-10T22:24:11 | 2018-12-10T22:24:11 | 54,479,995 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,281 | ino | // Include application, user and local libraries
#include <ADF435x.h>
#include <FontPack.h>
#include <Oled_SSD1306.h>
#define DC_OLED P2_5
#define CS_OLED P1_0
#define RST_OLED P2_6
#define MAIN_BUTTON P2_3
#define AUX_BUTTON P2_7
#define COM_PIN P3_1 // sets pin 32 to be the slave-select pin for PLL
#define PERSIST... | [
"noreply@github.com"
] | mcafzap.noreply@github.com |
eb3700d9311b9a8061c92f15dc6f684d1b0ee59e | 8b7165b471539f3f43d31297ccca65551d422ea1 | /src/common/fs_handling.h | a7d6c080c1b272422eb4aa64c8e11acc72ef4e98 | [] | no_license | janchk/tf_wrapper_embedding | d378246a8d1945a316551590c8b0032bf2b8ad2b | dfff36719bf20b83fd47cb7c7403cde62e0fe819 | refs/heads/master | 2022-12-02T23:26:38.607684 | 2020-02-04T10:12:18 | 2020-02-04T10:12:18 | 215,898,720 | 0 | 1 | null | 2019-12-02T15:03:50 | 2019-10-17T22:50:14 | C++ | UTF-8 | C++ | false | false | 1,947 | h | //
// Created by jakhremchik
//
#ifndef TF_WRAPPER_EMBEDDING_FS_HANDLING_H
#define TF_WRAPPER_EMBEDDING_FS_HANDLING_H
#include "opencv/cv.h"
#include "opencv/cv.hpp"
#include "vector"
#include "string"
#include "fstream"
#include "rapidjson/document.h"
#include "rapidjson/writer.h"
#include "rapidjson/stringbuffer.... | [
"janchk@gmail.com"
] | janchk@gmail.com |
3130eaa3f4a33b840850b2856ba90aac0c705d26 | 741a44ec9bbc4afd235e7ad6acf39315f6fb941e | /DiligentCore/Graphics/GraphicsEngineD3DBase/src/ShaderD3DBase.cpp | 4deac6c6e183bb95a45e04b361ecf74dfda33ddc | [
"Apache-2.0",
"LicenseRef-scancode-nvidia-2002",
"MIT",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause",
"BSD-3-Clause"
] | permissive | TheophilusE/VisionEngine | 423d5f184e190317de82ac3b563264484834930c | 241b4203323361e2026346a185875bed1bb4133d | refs/heads/master | 2023-07-29T09:37:02.979203 | 2021-09-10T04:46:33 | 2021-09-10T04:46:33 | 397,366,356 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,476 | cpp | /*
* Copyright 2019-2021 Diligent Graphics LLC
* Copyright 2015-2019 Egor Yusov
*
* 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.... | [
"65521326+GodTHEO@users.noreply.github.com"
] | 65521326+GodTHEO@users.noreply.github.com |
1f540dda9e88aa9b4fdf30021005436f514825f6 | 3eb15e935080e64960bbd49002d5b699a3030b0a | /comp417_ws/devel/include/gazebo_msgs/SetPhysicsPropertiesRequest.h | 386f77dc6aec2359912330b54ca4188811bf6f3a | [] | no_license | CourchesneA/COMP417AST1 | a490b763efeac1d4a18fb1611a31e5c5abfde505 | f68a9bd774418b94fe528b497e763901bb32911c | refs/heads/master | 2021-03-30T15:40:18.352984 | 2017-02-03T19:18:32 | 2017-02-03T19:18:32 | 80,860,868 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,343 | h | // Generated by gencpp from file gazebo_msgs/SetPhysicsPropertiesRequest.msg
// DO NOT EDIT!
#ifndef GAZEBO_MSGS_MESSAGE_SETPHYSICSPROPERTIESREQUEST_H
#define GAZEBO_MSGS_MESSAGE_SETPHYSICSPROPERTIESREQUEST_H
#include <string>
#include <vector>
#include <map>
#include <ros/types.h>
#include <ros/serialization.h>
#... | [
"anthony.courchesne@mail.mcgill.ca"
] | anthony.courchesne@mail.mcgill.ca |
e0d642e45eb09a43326d0d149fadc33b7d379484 | 9e18b167181bb21d2e5824983ee72cdb0205278d | /TinyGames.ino | 88a0c04e0305dc347358734b30964df95fc2ff30 | [] | no_license | bfrancojr/TinyGames | 94a25bb140c586a33481c17d354900053ed13ff8 | 5096694b63785510d4991bafc862283c172f27de | refs/heads/master | 2021-01-10T14:10:20.861701 | 2015-06-01T05:01:34 | 2015-06-01T05:01:34 | 36,102,504 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,606 | ino |
// Game Selector
#include <SPI.h>
#include <Wire.h>
#include "TinyGames.h"
#include <EEPROM.h>
#define CODEBENDER 0
static const gameEntry games[] = {
{ "Pong", pong, pongLoop },
{ "Flappy Birds", flappy, flappyLoop },
{ "Snake", snake, snakeLoop }
};
#define NUM_GAMES (sizeof(games) / sizeof(gameEntry... | [
"bfrancojr@gmail.com"
] | bfrancojr@gmail.com |
2e471cd20a9e1550b2a18e42e0d64ffb37cbc59c | fb6245383e7e7d53ab94b6eb2bb09469db466c58 | /mcast_lib/FMTP-LDM7/UnidataFMTP/protocol/ExperimentManager.h | e0a86e37543e58449d18dc78f1d1751280682795 | [
"BSD-2-Clause"
] | permissive | Unidata/LDM | 99122b6e1fef032af263972be3b56eb83d3074fd | 293344411b1a4fe35bd0e9c1eda8614a6d201d51 | refs/heads/main | 2023-09-03T01:06:51.376173 | 2023-02-16T18:40:06 | 2023-02-16T18:40:06 | 2,667,699 | 33 | 28 | NOASSERTION | 2022-12-28T22:03:54 | 2011-10-28T20:21:39 | C | UTF-8 | C++ | false | false | 1,262 | h | /*
* ExperimentManager.h
*
* Created on: Jan 2, 2012
* Author: jie
*/
#ifndef EXPERIMENTMANAGER_H_
#define EXPERIMENTMANAGER_H_
//#include "SenderStatusProxy.h"
#include <iostream>
#include <string>
#include <vector>
#include <stdio.h>
class SenderStatusProxy;
class FMTPSender;
const int HIGH_SPEED_EXP ... | [
"emmerson@ucar.edu"
] | emmerson@ucar.edu |
8c07e2a06dd90d8e01688377ffcc7409ae571960 | 7d76688473ed448b285f068d6c75f89ee481d3c0 | /src/Onsang/Error.hpp | 71ee64227f76c8a4de81e6adc443c7da1b9ec024 | [
"MIT"
] | permissive | komiga/Onsang | 724b5080ab221671498939d4ac4541616a6e00a4 | 63169d822c23b61fa2537b8f66bb224d974072e7 | refs/heads/master | 2021-01-21T12:01:56.165823 | 2015-10-31T19:27:58 | 2015-10-31T19:27:58 | 13,320,779 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 426 | hpp | /**
@copyright MIT license; see @ref index or the accompanying LICENSE file.
@file
@brief %Error class.
*/
#pragma once
#include <Onsang/config.hpp>
#include <Onsang/ErrorCode.hpp>
#include <Onsang/String.hpp>
#include <duct/GR/Error.hpp>
namespace Onsang {
using Error
= duct::GR::Error<
Onsang::ErrorCode,
Onsa... | [
"me@komiga.com"
] | me@komiga.com |
a81c85d36573d3b773c681f47f85277bef00f42d | 4977f51bd555f8771d3bb845505bb3fa508c5b00 | /C08/exercise15.cpp | 18558dbf90a798aedd254829355d70927e7e59d9 | [] | no_license | gaurilab/TIC-vol1 | 6fb2ca4521c56d5decb63856457b4c118a69a7c1 | 7ae50a158b51dce47484fbccc0b03594903a882c | refs/heads/master | 2021-01-10T11:17:55.666183 | 2016-01-25T15:20:55 | 2016-01-25T15:20:55 | 50,334,973 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,415 | cpp | /*
Modify ConstReturnValues.cpp removing comments on
the error-causing lines one at a time, to see what error
messages your compiler generates.
*/
class X {
int i;
public:
X(int ii = 0);
void modify();
};
X::X(int ii) { i = ii; }
void X::modify() { i++; }
X f5() {
return X();
}
//const X& f9() { //gives passing... | [
"gaurilab@gmail.com"
] | gaurilab@gmail.com |
80b0395648a98f23a6c48019979d3b06387ef2a6 | ad8ef350e9e9c13296de8b04a8287bf961ad9e2c | /maccell/solution1/.autopilot/db/macc_par_convs.pragma.1.cpp | 3bc4b5beaa1b5258b2596262966c55153f173d3a | [] | no_license | cypox/maccel | ade98974a103c01da051f1191da00a655a4f3bde | dc11b0809626c1ac8ce2e975ee378f68fa183ca1 | refs/heads/master | 2021-07-14T17:42:21.268873 | 2017-10-18T13:27:13 | 2017-10-18T13:27:13 | 106,813,909 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,384,306 | cpp | #1 "maccell/src/macc_par_convs.cpp"
#1 "maccell/src/macc_par_convs.cpp" 1
#1 "<built-in>" 1
#1 "<built-in>" 3
#155 "<built-in>" 3
#1 "<command line>" 1
#1 "/opt/Xilinx/SDx/2017.2/Vivado_HLS/common/technology/autopilot/etc/autopilot_ssdm_op.h" 1
/* autopilot_ssdm_op.h*/
/*
#- (c) Copyright 2011-2017 Xilinx, Inc. A... | [
"mohamedayoub.neggaz@etu.univ-valenciennes.fr"
] | mohamedayoub.neggaz@etu.univ-valenciennes.fr |
05633f9570f78893468b3dc26f8c00f699476b81 | 4db5f16f32f2860c3212eda2d1b154e43322201f | /vjudge/UVA11237_49.cpp | ab221b3e84fd7108395d17299d98ee6df77a23b9 | [] | no_license | shentr/Algorithm | ac9c14a98ed9f8987482fcc2122246fbe27abac3 | 71496209d9ded2f9862d1a2ef2fad506ed1eeadb | refs/heads/master | 2021-01-12T05:34:15.453863 | 2017-02-25T05:51:57 | 2017-02-25T05:51:57 | 77,130,880 | 2 | 0 | null | 2016-12-22T09:38:20 | 2016-12-22T09:20:03 | null | UTF-8 | C++ | false | false | 1,124 | cpp | // UVA11237
//https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=11237
#include<cstdio>
#include<cstring>
const int ma=100010;
typedef long long ll;
int main()
{
ll c,n,a[ma],sum[ma];
int cnt[ma];
while(~scanf("%lld%lld",&c,&n)&&c&&n)
{
memset(cnt,-... | [
"jsnthmstr@outlook.com"
] | jsnthmstr@outlook.com |
c4b76d656d67c058fcb27ed57efebf2a4f06446f | dc40d906d44140c8859958c988f63cc83b801449 | /vol100/AOJ10021.cpp | 1f0091e8bd1bd3da83c9ba6c4f03394193804053 | [] | no_license | wada811/AOJ | 6055b44d1dfe956e5de00be99295998a3f1afac6 | 4fe86993e695527889bed670a7ea6c33028e8ed2 | refs/heads/master | 2021-01-10T00:53:07.880772 | 2012-05-22T23:14:59 | 2012-05-22T23:14:59 | 3,264,569 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 746 | cpp | // AIZU ONLINE JUDGE http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=10021
//*
#include <stdio.h>
int main(){
int n;
char word[21], first[21];
int i, j;
scanf("%d", &n);
for(i=0;i<n;i++){
scanf(" %s", word);
if(i==0){
for(j=0;j<21;j++){
... | [
"89.at.usi@gmail.com"
] | 89.at.usi@gmail.com |
8e4ad26611e11c69a1cf2893fa6405a724ad0cb3 | 5eca89e65525101ef533ad6f54f8c014020a1227 | /C++/LLT_MP/Bolt/include/tbb/tbb_allocator.h | a9e88889662809232608c281224336b49413533c | [] | no_license | d-hoke/LucasLehmerTestMersennePrime | 1b1dfe2b6dfafd95cc36066d3abdf37ad37a1c56 | cc85497b0ade8d426115c5b3d47bc86d417e9a46 | refs/heads/master | 2020-04-19T00:22:43.035860 | 2013-12-27T16:43:10 | 2013-12-27T16:43:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,243 | h | /*
Copyright 2005-2013 Intel Corporation. All Rights Reserved.
The source code contained or described herein and all documents related
to the source code ("Material") are owned by Intel Corporation or its
suppliers or licensors. Title to the Material remains with Intel
Corporation or its supplier... | [
"dustonlyperth@gmail.com"
] | dustonlyperth@gmail.com |
aef6ddfcd6fd13099fea992a4147858c45e32491 | 3333dd52c91331597c0a785c1ae8e663ae12dfdd | /CNT/Semester 2/CNT252/ICA2/ICA2/main.cpp | 5d48f69ec382288906162329b214f789316a8c47 | [] | no_license | mtikoian/School | 2e20f2fc1d6992d0047bc8686c8ac34be4369c3c | 901d5ea0fd384c1713f6a7415401f15cbc75e274 | refs/heads/master | 2020-12-03T08:44:16.261018 | 2018-01-31T16:22:19 | 2018-01-31T16:22:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 848 | cpp | #include <iostream>
#include <iomanip>
#include <math.h>
using namespace std;
unsigned int GetInput ();
int main ()
{
unsigned int uiMask = 0x80000000;
unsigned int uiInput = 0;
unsigned int uiRes = 0;
uiInput = GetInput ();
cout << "Your number in binary: ";
for (int i = 32; i > 0; i--)
... | [
"addison@a587bc9e-4a24-0a48-8c52-e76df6254a9c"
] | addison@a587bc9e-4a24-0a48-8c52-e76df6254a9c |
a89f5d383f0c191536fa31d43bf3db70dfda3515 | 435b3d86418c9c62150e2f791caa476e1b1412d7 | /include/chobo/profiling/internal/high_res_clock.h | 0422d8af398d644606506c3bf3e29e12f48ee239 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | iCodeIN/chobo-profiling | 7628a2d7d339a9e774297f7ba25928a90b73d721 | d17ba9a1ae0eca6f3e48b8b15a3e7a3b080b1127 | refs/heads/master | 2023-03-15T12:22:24.664994 | 2018-01-18T08:29:10 | 2018-01-18T08:29:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,320 | h | //
// chobo-profiling
// Copyright (c) 2015-2018 Chobolabs Inc.
// http://www.chobolabs.com/
//
// Distributed under the MIT Software License
// See accompanying file LICENSE.txt or copy at
// http://opensource.org/licenses/MIT
//
#pragma once
// MSVC doesn't support a the high resolution timer from chrono
// (well i... | [
"b.stanimirov@abv.bg"
] | b.stanimirov@abv.bg |
fd0f4d0f07c273734c70f374c974a2cae9789f98 | ecb83849062df843cff407e1b40ab7fba2c1b130 | /modules/akima/fem/data_of_type.hpp | 65f7a6eda00da870336370350de23c3b7395faea | [
"BSD-2-Clause"
] | permissive | ppiecuch/flowed | 1694311347f9431b44abb2230e582114a4a99977 | 470fcee3bd089deb69a64c6bd995997cb430478f | refs/heads/master | 2020-12-25T17:01:41.448913 | 2018-02-06T10:30:53 | 2018-02-06T10:30:53 | 51,367,504 | 0 | 0 | null | 2016-02-09T18:50:58 | 2016-02-09T13:13:06 | C++ | UTF-8 | C++ | false | false | 2,273 | hpp | #ifndef FEM_DATA_OF_TYPE_HPP
#define FEM_DATA_OF_TYPE_HPP
#include "arr.hpp"
#include "str_arr_ref.hpp"
#include "utils/misc.hpp"
namespace fem {
template <typename T>
struct data_of_type : utils::noncopyable
{
T const* values;
size_t values_size;
size_t value_index;
data_of_type(
T cons... | [
"piecuch.pawel@gmail.com"
] | piecuch.pawel@gmail.com |
e9fa69d1f4f84f3eca4162c1804ff1ba34525a4c | 5fcebb99399c48b40df8f79362f6cab6d3cead13 | /bitset/bitset_example.cpp | b1261847466c87b5f81681430a7e8111eb0b3671 | [] | no_license | rechardchen123/Essential_C- | b47a50b5d2925c41458608b6108f7e61c964bb29 | 96fc951fc01a974e07ee02a148bb6ce01579210f | refs/heads/master | 2020-04-23T04:02:32.732314 | 2019-04-03T22:33:38 | 2019-04-03T22:33:38 | 170,896,582 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,033 | cpp | #include<iostream>
#include<bitset>
using namespace std;
template<size_t N>
inline void CL(bitset<N>&S, size_t W)
{
W %=N;
S = S <<W |S>>(N-W);
}
template<size_t N>
inline void CR(bitset<N>&S, size_t W)
{
W %=N;
S = S>>W |S <<(N-W);
}
int main()
{
const size_t N =16;
bits... | [
"rechardchen123@outlook.com"
] | rechardchen123@outlook.com |
c98abd135eeac69cc47e5ecaa30d623296f23b71 | 62e1b9f58e9d4c6d1a1297e3b1aa4f76e850a5c1 | /FrameWork/PlayerSittingState.h | 631449040deedf1acfe397b61c6d893a8aaf873a | [] | no_license | luon-dinh/GameUIT | 15d926f075bd3e24c3d39d439b747fd7b68e5a7f | 0e3b68352b7671015d041158766c9eae777002bf | refs/heads/master | 2022-02-22T02:20:48.138841 | 2019-08-16T08:28:24 | 2019-08-16T08:28:24 | 196,821,666 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 317 | h | #pragma once
#include "PlayerState.h"
#include "Player.h"
#include "Global.h"
class PlayerSittingState : public PlayerState {
public:
PlayerSittingState();
~PlayerSittingState();
void InputHandler() override;
void Update(float dt) override;
void OnCollision(Object* object, collisionOut* collision) override;
}; | [
"minhnguyenduy99@gmail.com"
] | minhnguyenduy99@gmail.com |
cc7d6be488c3399c4af9f48e8a6075bb0aa62afd | 575731c1155e321e7b22d8373ad5876b292b0b2f | /examples/native/ios/Pods/Folly/folly/Varint.h | a8f76ad201c4eda5cc476932381ae798ce221707 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | Nozbe/zacs | 802a84ffd47413a1687a573edda519156ca317c7 | c3d455426bc7dfb83e09fdf20781c2632a205c04 | refs/heads/master | 2023-06-12T20:53:31.482746 | 2023-06-07T07:06:49 | 2023-06-07T07:06:49 | 201,777,469 | 432 | 10 | MIT | 2023-01-24T13:29:34 | 2019-08-11T14:47:50 | JavaScript | UTF-8 | C++ | false | false | 5,996 | h | /*
* Copyright 2013-present Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... | [
"radexpl@gmail.com"
] | radexpl@gmail.com |
3823c132734ae9e8f952f21030183592ff68a6d4 | 3f2f7205d9fdbde89c5d1abcf1a824b555557992 | /大一上/程序设计基础/hanjia/2017.1.20/F.cpp | 813f3fce18dba53e81383697f3ecd29286b171c9 | [] | no_license | cnyy7/dayi | 9ae766cdcbc40d365f206d2ffb9c18cddc2a71e6 | 4ee12c1d585b5f0c147ae88d4295e4b6b0f11365 | refs/heads/master | 2020-03-30T23:33:01.173347 | 2018-11-06T14:40:16 | 2018-11-06T14:40:16 | 151,704,259 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,050 | cpp | #include <stdio.h>
#include <string.h>
#include <algorithm>
using namespace std;
int main()
{
// freopen("in.txt", "r", stdin);
// freopen("out.txt", "w", stdout);
int n,i,j,k,a,b,c;
int ans[1000],len;
while(~scanf("%d",&n),n)
{
len = 0;
for(i = 1; i<=n; i*=10)
{
c =... | [
"695327125@qq.com"
] | 695327125@qq.com |
cfeb2004440d492373c9ed390fb03ccf7d3c06bb | 4c214a64016cc838700025aebb9fddab1fbacf55 | /Il2Native.Logic/NativeImplementations/System.Private.CoreLib/System/SafeTypeNameParserHandle.cpp | 0ddff0b2315c542b0c7db6a2a11d9dd5be4adc9c | [
"MIT"
] | permissive | Moxicution/cs2cpp | 73b5fe4a4cdbf1dcec0efcd8cae28ff2d0527664 | d07d3206fb57edb959df8536562909a4d516e359 | refs/heads/master | 2023-07-03T00:57:59.383603 | 2017-08-03T09:05:03 | 2017-08-03T09:05:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 409 | cpp | #include "System.Private.CoreLib.h"
namespace CoreLib { namespace System {
namespace _ = ::CoreLib::System;
// Method : System.SafeTypeNameParserHandle._ReleaseTypeNameParser(System.IntPtr)
void SafeTypeNameParserHandle::_ReleaseTypeNameParser(_::IntPtr pTypeNameParser)
{
throw 3221274624U;
... | [
"oleksandr.duzhar@netplaytv.com"
] | oleksandr.duzhar@netplaytv.com |
eb7171f1089cc557b8d72e892cdf01153f3afde6 | c3a0f82e6d0fb3e8fb49afc042560e5787e42141 | /codeforces/446/C.cpp | bad79740a5947c8e390ae20dcca38d37d4825510 | [] | no_license | SahajGupta11/Codeforces-submissions | 04abcd8b0632e7cdd2748d8b475eed152d00ed1b | 632f87705ebe421f954a59d99428e7009d021db1 | refs/heads/master | 2023-02-05T08:06:53.500395 | 2019-09-18T16:16:00 | 2020-12-22T14:32:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,544 | cpp | #include <bits/stdc++.h>
#define IOS ios::sync_with_stdio(0); cin.tie(0); cout.tie(0)
// #define int long long
using namespace std;
#define e "\n"
#define endl "\n"
#define Tp template<class T>
#define Tp2 template<class T1, class T2>
#define Tps template<class T, class... Ts>
#define Tps2 template<class T1, class T2, ... | [
"ghriday.bits@gmail.com"
] | ghriday.bits@gmail.com |
ccbd1cd6f05a553b6080e1b91dc69877cf59bafc | dfd17dca6a5ece9b2ab12e53586cc60a5c0442b1 | /yolo/catkin_ws/src/kalman_loc_qr/src/exec_path.cpp | 097ebaf3c1abbb08100a283c2a800cd1f8f310a1 | [] | no_license | dieg4231/Tesis | 1e2ec84c5c65d9eb557f47289a3ac45247f8503c | 4e3e37927aa897a8d9a58fa8c7d989dea565cd79 | refs/heads/master | 2021-03-16T00:32:48.335118 | 2020-10-23T02:56:21 | 2020-10-23T02:56:21 | 246,890,298 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,415 | cpp | #include "ros/ros.h"
#include <nav_msgs/Path.h>
#include <geometry_msgs/Twist.h>
#include <tf2/LinearMath/Quaternion.h>
#include <tf2_geometry_msgs/tf2_geometry_msgs.h>
#include <geometry_msgs/TransformStamped.h>
#include <tf2_ros/transform_listener.h>
nav_msgs::Path path;
geometry_msgs::TransformStamped TRANSFORM... | [
"dieg4231@gmail.com"
] | dieg4231@gmail.com |
89085eaf28067b764fa561da4d774dfe03027629 | 6eb2d3ea771035076fc04888a9074bfcd5615142 | /Pixel/Pixel.h | 51a8389ef76a6556a9fde29b6776ff3bb0eda3ad | [] | no_license | AlexeyBub/SPECIALIST_visual_Cpp | e758e67ba09148cf2c407f2bde8e5c35bbe90af1 | a5df5625b965b5cd08bda1cfea48042ab87517ec | refs/heads/master | 2021-06-14T03:09:29.100313 | 2017-03-26T19:50:27 | 2017-03-26T19:50:27 | null | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 1,430 | h | //Listing 2.1. Файл Pixel.h: определение класса Point
#ifndef MY_PIXEL_H
#define MY_PIXEL_H
#include "myPoint.h"
class Pixel
{
public: //спецификатор открытой части - интерфейса класса
enum Color{black, blue, green, red = 4, yellow = 14, white = 16};
const Color &GetColor();
void Set... | [
"jobabb82@yandex.ru"
] | jobabb82@yandex.ru |
cedf9f2f5cc6531ade3466a43b1c7ae0183d6155 | a570db6c7e2e6873a6f62a45a3904edcaf98ebc6 | /include/character.hpp | 21d8b9c3af63b8975c31bfd71cede66b1fcb8e67 | [] | no_license | QiangXie/PR | faf3f5aecb8346142bf466a0584dd9be46ed6e77 | 76531fcc6353f6409ad0ae6f7db81f5758b70664 | refs/heads/master | 2021-07-18T17:08:00.200574 | 2017-10-24T07:25:13 | 2017-10-24T07:25:13 | 104,035,068 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,470 | hpp | #ifndef _CHARACTER_HPP_
#define _CHARACTER_HPP_
#include "opencv2/opencv.hpp"
using namespace cv;
namespace swpr {
class CCharacter {
public:
CCharacter(){
m_characterMat = Mat();
m_characterPos = Rect();
m_characterStr = "";
m_score = 0;
m_isChinese = false;
m_ostuLevel = 125;
m_ce... | [
"happyxieqiang@qq.com"
] | happyxieqiang@qq.com |
6516d6c123db4f542047701949c139ef3b26adc9 | 24f26275ffcd9324998d7570ea9fda82578eeb9e | /content/browser/webui/web_ui_data_source_impl.h | f64f9e56ea68a0dde5c85ab73e180995d68420dc | [
"BSD-3-Clause"
] | permissive | Vizionnation/chromenohistory | 70a51193c8538d7b995000a1b2a654e70603040f | 146feeb85985a6835f4b8826ad67be9195455402 | refs/heads/master | 2022-12-15T07:02:54.461083 | 2019-10-25T15:07:06 | 2019-10-25T15:07:06 | 217,557,501 | 2 | 1 | BSD-3-Clause | 2022-11-19T06:53:07 | 2019-10-25T14:58:54 | null | UTF-8 | C++ | false | false | 5,456 | h | // Copyright (c) 2012 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 CONTENT_BROWSER_WEBUI_WEB_UI_DATA_SOURCE_IMPL_H_
#define CONTENT_BROWSER_WEBUI_WEB_UI_DATA_SOURCE_IMPL_H_
#include <stdint.h>
#include <map>... | [
"rjkroege@chromium.org"
] | rjkroege@chromium.org |
6577bb705ad6e8d27c07799428ca984b32dced5f | 327df50a857d7ca8fa24456e0354cdb131963ac5 | /src/ImageEffects.cpp | 6d13faaf26ddf30069950f78218d61f8ab39b61a | [] | no_license | Bang3DEngine/BangGraphics | 7589d7318b95e3754d89c20bcc155242c3036ebb | ee38bbacb601c2973d3a8362ddbb7e0d6aa13280 | refs/heads/master | 2020-05-23T17:53:25.982323 | 2019-05-15T17:50:05 | 2019-05-15T17:50:05 | 186,876,554 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,162 | cpp | #include "Bang/ImageEffects.h"
#include "BangMath/Color.h"
#include "Bang/Image.h"
#include "BangMath/Math.h"
using namespace Bang;
void ImageEffects::SignedDistanceField(const Image &inputImageBW,
Image *outImg,
int radius)
{
outImg->... | [
"victorantondominguez@gmail.com"
] | victorantondominguez@gmail.com |
5a13d08021bf1480e38f87dfd2ce15e2ad4915ae | 0680aca10c44d0ba43863345bcaab38d692312f3 | /parser/monitoring_tools/datachecker/P1ReadAuction.h | 66862e1319aa879a5216be4233e76b010c83b297 | [] | no_license | glandu2/rzauctionmonitor | 1af1365b71547fba4e02cc53298141b130b59e4c | db27d853841df4830dc9f14c5a7d0404a04e5124 | refs/heads/master | 2020-12-04T13:14:15.841550 | 2020-08-25T23:08:25 | 2020-08-25T23:08:25 | 66,596,621 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 752 | h | #pragma once
#include "AuctionParser.h"
#include "AuctionWriter.h"
#include "Core/BackgroundWork.h"
#include "Core/Object.h"
#include "IPipeline.h"
class P1ReadAuction : public PipelineStep<std::pair<std::string, std::string>,
std::pair<std::string, std::vector<AuctionWriter:... | [
"glandu2epvp@gmail.com"
] | glandu2epvp@gmail.com |
908027f5faef5e37bd3f6e0af49577ff9fbf2666 | 6cd3388fcb2838f1b26d72bb6f2e4fff11fe3410 | /형근/test_1/LabProject11/Scene.h | 90d22aa43bd88541b794a493b7d3ef634169b373 | [] | no_license | hhg56/for-the-sweet | c25aacc0a26ebb9373daed9bf53ba6d42cae72e8 | 22e5fdc5aa295e9adbccbea6e8c9fec2d5a70050 | refs/heads/master | 2020-04-07T02:38:26.302355 | 2018-12-27T04:45:06 | 2018-12-27T04:45:06 | 157,983,855 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 1,204 | h | #pragma once
#include "Timer.h"
#include "Shader.h"
class CScene
{
public:
CScene();
~CScene();
//씬에서 마우스와 키보드 메시지를 처리한다.
bool OnProcessingMouseMessage(HWND hWnd, UINT nMessageID, WPARAM wParam, LPARAM
lParam);
bool OnProcessingKeyboardMessage(HWND hWnd, UINT nMessageID, WPARAM wParam, LPARAM
lParam);
void B... | [
"hhg56@naver.com"
] | hhg56@naver.com |
3a9fae1f247b7220998cb7fc39b586c9ec71d4e2 | 26468ec0eb38204b1b34b39bee6408771a0692f7 | /test/testSlabAlloc.cpp | a36b154e9a069fae3895a83447f6d0c70722c24f | [
"BSD-3-Clause"
] | permissive | harikrishnan94/shmem_alloc | 011c821440fbd5d2e6daf92d356df4d77f14eafd | 998cd86abd459c006a811ddc21fb95f13e81d918 | refs/heads/master | 2021-04-28T18:18:37.323125 | 2018-03-04T03:26:42 | 2018-03-04T03:26:42 | 121,870,826 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,236 | cpp | #include "test/catch.hpp"
#include "test/testBase.h"
#include "slab/slab.h"
#include <cstdlib>
#include <random>
#include <iostream>
#include <unordered_set>
static void *
slab_base_alloc(size_t size, size_t align, void *arg)
{
(void) align;
(void) arg;
return malloc(size);
}
static void
slab_base_free(void *ptr... | [
"harikrishnan.prabakaran@zohocorp.com"
] | harikrishnan.prabakaran@zohocorp.com |
1ad5d70c5518463d13d8a40c1e7795c122536ad6 | 7a45295e1f3e32661e1ec353aa4189fe04b95199 | /2020-C++程序设计/源码/chapter09/例9-4/aggregate.cpp | 68abd961369022002e2dbc65cfe3a79616f4f99d | [] | no_license | logic-three-body/C-BJFU | 59ccb9c5d7e8b3c4c9e46a39848cf4e60853597f | 724e01f0e586905a774317fcfddaf7cb69dd6389 | refs/heads/master | 2023-02-15T16:25:47.941492 | 2021-01-11T14:38:25 | 2021-01-11T14:38:25 | 328,692,630 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,047 | cpp | //aggregate.cpp
#include <iostream>
#include "aggregate.h"
#include "iterator.h"
using namespace std;
Aggregate::Aggregate() //定义抽象聚合类型的构造函数
{
}
Aggregate::~Aggregate() //定义抽象聚合类型的析构函数
{
}
ConcreteAggregate::ConcreteAggregate() //定义具体聚合类型的构造函数
{
//... | [
"1552451580@qq.com"
] | 1552451580@qq.com |
e49cead3c89262adb106249822456d7f0e307a34 | 40ee95a2008aba36a0a20c8c290722586de7b7da | /src/pymachine.cpp | f5028b17567c52081f7a1a6b4167929a32762820 | [] | no_license | gabriel-francischini/ai2machine | 20331a7863fb79ef3bc84cbf5f7e81a7258f72f7 | 5c1e902834775338149a3e49789f64386b63e745 | refs/heads/master | 2021-01-11T04:52:43.967800 | 2017-06-03T22:43:45 | 2017-06-03T22:43:45 | 71,545,277 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,210 | cpp | #include "Python.h"
#include "structmember.h"
#include "machine.h"
class pymachine:public Machine{
using Machine::Machine;
public:
PyObject *interrupt_callback;
virtual int interrupt(int interrupt_code, int parameter){
if(this->interrupt_callback != NULL && PyCallable_Check(this->... | [
"empresagabriel@gmail.com"
] | empresagabriel@gmail.com |
5d975e2bfb6a73d0ec587894d2485b8033685a71 | 80f52f1c99f513fb3d3132f33914a114b9744c2f | /src/render/shader_repo.cpp | 45f9e3bcb55df40bd28ac60e8c0a63ac0363e6fb | [
"MIT"
] | permissive | Reaping2/Reaping2 | d9de6f0d40435eea3f5556bcd4eb59372a6af320 | 0d4c988c99413e50cc474f6206cf64176eeec95d | refs/heads/master | 2021-04-24T15:39:47.869327 | 2017-11-23T02:40:33 | 2017-11-23T02:40:33 | 13,726,229 | 3 | 14 | null | 2017-11-23T02:40:34 | 2013-10-20T20:23:39 | C++ | UTF-8 | C++ | false | false | 1,015 | cpp | #include "i_render.h"
#include "shader_repo.h"
#include "shader.h"
ShaderRepo::ShaderRepo()
: Repository<Shader>( mDefaultShader )
, mDefaultShader( mDefaultShaderName )
{
LoadShaders();
}
void ShaderRepo::LoadShaders()
{
Filesys& FSys = Filesys::Get();
PathVect_t Paths;
FSys.GetFileNames( Pat... | [
"aronujvary@gmail.com"
] | aronujvary@gmail.com |
78829c9a2edfc38787dd2e9d3fa9dfd6d877e845 | ca32936825c3cbae13e4db108ad97d670e0a9264 | /oce-0.17/include/oce/BOPDS_VectorOfFaceInfo.hxx | 1b09deb1e104e912e55833b34f06d16b824255f3 | [] | no_license | zqqiang/node-cad | 7b783fb758dcacb5b1e1b8276c73dfe0942adfbb | 739ff348b4d2c77b275c3a0fe87682c14ffd8181 | refs/heads/master | 2021-01-14T08:03:53.991041 | 2016-12-23T19:07:33 | 2016-12-23T19:07:33 | 46,592,925 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 958 | hxx | // Created by: Peter KURNEV
// Copyright (c) 1999-2014 OPEN CASCADE SAS
//
// This file is part of Open CASCADE Technology software library.
//
// This library is free software; you can redistribute it and/or modify it under
// the terms of the GNU Lesser General Public License version 2.1 as published
// by the Free S... | [
"qiangzhaoqing@gmail.com"
] | qiangzhaoqing@gmail.com |
6f1b7e671b699165b7f802b91e92288c36247561 | bd1fea86d862456a2ec9f56d57f8948456d55ee6 | /000/088/192/CWE195_Signed_to_Unsigned_Conversion_Error__listen_socket_strncpy_62b.cpp | f21bf81197281315ede87d2e0a1280c92c4ec12a | [] | no_license | CU-0xff/juliet-cpp | d62b8485104d8a9160f29213368324c946f38274 | d8586a217bc94cbcfeeec5d39b12d02e9c6045a2 | refs/heads/master | 2021-03-07T15:44:19.446957 | 2020-03-10T12:45:40 | 2020-03-10T12:45:40 | 246,275,244 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,609 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE195_Signed_to_Unsigned_Conversion_Error__listen_socket_strncpy_62b.cpp
Label Definition File: CWE195_Signed_to_Unsigned_Conversion_Error.label.xml
Template File: sources-sink-62b.tmpl.cpp
*/
/*
* @description
* CWE: 195 Signed to Unsigned Conversion Error
* BadSource:... | [
"frank@fischer.com.mt"
] | frank@fischer.com.mt |
cdd9e99d054b88bcf4aba0e1506a3ae349e47c45 | 5518a46d3238b7b34b990c5542bf8536e741128a | /Sugachenko_Vadim/practik 6/2.cpp | 1752cc432e87a32f5a3802ff3a1439c81b380045 | [] | no_license | Vad1mka/OPtaAM_PS_2015 | 50ba5a04405c08520e4f1fe2b486f88e4232206a | 3f3d7ba92527fcffcf7b79e87a9be1b501591f09 | refs/heads/master | 2021-09-05T16:19:57.049347 | 2018-01-29T15:22:09 | 2018-01-29T15:22:09 | 107,362,781 | 1 | 0 | null | 2017-10-18T05:29:16 | 2017-10-18T05:29:15 | null | UTF-8 | C++ | false | false | 834 | cpp | #include <iostream>
#include <cstdlib>
#include <string.h>
#include <iomanip>
using namespace std;
struct Tdata{
int month;
int day;
int year;
};
Tdata GetData(Tdata pointer);
int main(){
Tdata data;
data = GetData(data);
cout << data.month << '.' << data.day << '... | [
"noreply@github.com"
] | Vad1mka.noreply@github.com |
c28fe6b99c2b6c61b2ed62849cbe038a68523338 | 430a0bc072e5bbdaf8b535e8589ee7bddedd60a1 | /chrome/browser/ui/views/uninstall_view.cc | d3558eb4c47925813a9cdef09d8126664340685e | [
"BSD-3-Clause"
] | permissive | HyunwooCho/highweb-webcl-html5spec | 4527f01a5ebb95db8e045e1b4012a3eac567f307 | 1e7b96fc871797139b927516e94b75d730ee50c2 | refs/heads/highweb-20160310 | 2021-06-05T23:30:40.097589 | 2016-05-27T04:42:28 | 2016-05-27T04:42:28 | 70,441,565 | 0 | 0 | null | 2016-10-10T01:33:38 | 2016-10-10T01:33:36 | null | UTF-8 | C++ | false | false | 7,102 | cc | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ui/views/uninstall_view.h"
#include "base/message_loop/message_loop.h"
#include "base/process/launch.h"
#include "base/run_l... | [
"kimdh@infrawareglobal.com"
] | kimdh@infrawareglobal.com |
f336b33faa2ade765224a4f48dcfbc4e2e679033 | 02987503becabd24aa359d6ceabcb332ad8c6302 | /sgpp-1.1.0/optimization/src/sgpp/optimization/test_problems/constrained/ConstrainedTestProblem.hpp | 9e9c0eeec246625561dfef8282c1ff181f9b795a | [] | no_license | HappyTiger1/Sparse-Grids | a9c07527481ee28fe24abed6dad378ca9fc6d466 | 2832b262c1aeaa25312a3f7e48c5a67c90d183a5 | refs/heads/master | 2020-05-07T14:06:20.673900 | 2016-08-08T17:57:12 | 2016-08-08T17:57:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,458 | hpp | // Copyright (C) 2008-today The SG++ project
// This file is part of the SG++ project. For conditions of distribution and
// use, please see the copyright notice provided with SG++ or at
// sgpp.sparsegrids.org
#ifndef SGPP_OPTIMIZATION_TEST_PROBLEMS_CONSTRAINED_CONSTRAINEDTESTPROBLEM_HPP
#define SGPP_OPTIMIZATION_TES... | [
"alexander.atanasov@yale.edu"
] | alexander.atanasov@yale.edu |
8c15ad25f7c78c912c71be2a485b76a0799a16e7 | 1ea15e6773bd327a8d201843f2fb548e3e03a96b | /Lyric Extractor Project/openCV Project/Source/imageHandler.cpp | 9c8069cd2e8c8208c0344ca34a13106517cd99f8 | [] | no_license | yeonSG/LyricsExtractor | 690f8ae3634994b59ac956eef72f260a933f0ec4 | e98d6c152ea9a47556bdad1a164674909d168e3d | refs/heads/master | 2020-11-28T04:54:58.481977 | 2020-09-15T03:26:57 | 2020-09-15T03:26:57 | 229,707,487 | 1 | 0 | null | null | null | null | UHC | C++ | false | false | 87,880 | cpp | #include "imageHandler.h"
bool desc(contourInfo a, contourInfo b)
{
return a.coorX_start > b.coorX_start;
}
bool asc(contourInfo a, contourInfo b)
{
return a.coorX_start < b.coorX_start;
}
int imageHandler::getContourLineInfoVolume(contourLineInfo lineInfo)
{
int sum = 0;
for (int i = 0; i < lineInfo.contours.si... | [
"whodolife@naver.com"
] | whodolife@naver.com |
9d3193ba0b871ad4d0c1ee277b48a31e698e8dde | fdfeb3da025ece547aed387ad9c83b34a28b4662 | /XCore/CCore/src/StdioReadCon.cpp | 23c133a4add69922ca9121e05502d53b0fc2cbb7 | [
"FTL",
"BSL-1.0"
] | permissive | SergeyStrukov/CCore-3-xx | 815213a9536e9c0094548ad6db469e62ab2ad3f7 | 820507e78f8aa35ca05761e00e060c8f64c59af5 | refs/heads/master | 2021-06-04T05:29:50.384520 | 2020-07-04T20:20:29 | 2020-07-04T20:20:29 | 93,891,835 | 8 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,224 | cpp | /* StdioReadCon.cpp */
//----------------------------------------------------------------------------------------
//
// Project: CCore 2.00
//
// Tag: XCore
//
// License: Boost Software License - Version 1.0 - August 17th, 2003
//
// see http://www.boost.org/LICENSE_1_0.txt or the local copy
//
// Copyr... | [
"sshimnick@hotmail.com"
] | sshimnick@hotmail.com |
1451bad52109b8be4e71397521042a1deda780a7 | ff50aa2a11ffb3c1914cf1c8232de0546f8555ae | /Window.h | ccb0d9e16f89d00b92d75e7677c4275f1e4a6207 | [] | no_license | zapo/BomberSFML-3D | b2d0e486a454a33f55235a3fa000ef6eea2aea62 | 90d9ae3f5eff1fe5a67bbd7f58fd0db556394098 | refs/heads/master | 2021-01-10T19:13:36.314511 | 2011-12-12T07:21:51 | 2011-12-12T07:21:51 | 1,492,502 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 354 | h | /*
* Window.h
*
* Created on: 2011-11-04
* Author: zapo
*/
#ifndef WINDOW_H_
#define WINDOW_H_
#include <SFML/Graphics.hpp>
#include <string>
namespace Bomber {
class Window: public sf::RenderWindow {
public:
Window(sf::VideoMode, std::string);
const sf::Vector3f GetCenter() const;
virtual ~Window(... | [
"antoine.niek@supinfo.com"
] | antoine.niek@supinfo.com |
ca2797079d62775050a087ce4638c420c89dd7b7 | 90bf0ef92ca0192d68c2f77e1ec8660463782b89 | /hw3/src/cmd/cmdCharDef.cpp | 8ea853ed3781488e073baff24d40568b392662a6 | [] | no_license | kevin71104/DSnP | 6b0bdf57879bd13c88bd6e44a3c0994f53e24a7e | 2a474224235b022c961588a8b36e05a183c3493f | refs/heads/master | 2021-03-24T13:02:34.458816 | 2017-10-10T10:30:44 | 2017-10-10T10:30:44 | 74,553,341 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,581 | cpp | /****************************************************************************
FileName [ cmdCharDef.cpp ]
PackageName [ cmd ]
Synopsis [ Process keyboard inputs ]
Author [ Chung-Yang (Ric) Huang ]
Copyright [ Copyleft(c) 2007-present LaDs(III), GIEE, NTU, Taiwan ]
***************************... | [
"b03901026@ntu.edu.tw"
] | b03901026@ntu.edu.tw |
32637eb3b694c0f9de2472007fd4bdfd39a59935 | 66b74bae8bafcb471d657359ced6fb4fcea1f0a9 | /src/Firmware/src/modules/uORB/uORBDevices_posix.hpp | 4d45ea8431fc9bee7f92fdb089af167d8b8efda7 | [
"BSD-3-Clause",
"LGPL-2.0-or-later",
"LicenseRef-scancode-unknown-license-reference",
"BSD-2-Clause"
] | permissive | kant/CLDrone | 41f1c01b2fbc52ad5b34ad69f0942af114aec2f1 | fe18ccde70052390861b2c000100f8eaa122b99b | refs/heads/master | 2020-05-24T22:38:58.139961 | 2016-11-18T02:45:49 | 2016-11-18T02:45:49 | 187,500,820 | 0 | 0 | BSD-2-Clause | 2019-05-19T16:24:44 | 2019-05-19T16:24:44 | null | UTF-8 | C++ | false | false | 6,069 | hpp | /****************************************************************************
*
* Copyright (c) 2012-2015 PX4 Development Team. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Red... | [
"songrotek@qq.com"
] | songrotek@qq.com |
64e28f265088094f3be39921e0e377c7d6c38c5b | bf498a8e1e0ba2f70c4d8daa2dc1cd02cae56887 | /lab10/academiascheduler/Scheduler.cpp | d06d62f6dcc7fdae695cb63e3e10376007051e84 | [] | no_license | SebastianSuchowiak/JIMP2 | 37d4f59a09a57e6798eaece4aa8ecfe346eeb934 | f0c558c025a0b5784820639845b216ba74f321a3 | refs/heads/master | 2021-01-24T11:46:18.666047 | 2018-06-05T01:17:07 | 2018-06-05T01:17:07 | 123,101,034 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,959 | cpp | //
// Created by sebastian on 18.05.18.
//
#include <map>
#include "Scheduler.h"
academia::SchedulingItem::SchedulingItem(int course_id, int teacher_id, int room_id, int time_slot,
int year) :
m_course_id{course_id},
m_teacher_id{teacher_id},
m_room_id{... | [
"suchowiak.sebastian@gmail.com"
] | suchowiak.sebastian@gmail.com |
7ef297efa6a00fcb4a3aa8fde7a97b4c3b1de471 | a6b698105aec67701cdd509cb9a48528786049d2 | /RegainEarthCheat/SDK/W_Setting_BrightnessFrame_parameters.h | 8921de7a88a912a0c8e0b30e203428cec266facf | [] | no_license | ejiaogl/RegainEarth-Cheat | 859d44d8400a3694b4e946061b20d30561c6304f | 4136c2c11e78e9dbb305e55556928dfba7f4f620 | refs/heads/master | 2023-08-29T09:39:45.222291 | 2021-10-19T19:56:05 | 2021-10-19T19:56:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,417 | h | #pragma once
// Name: RegainEart-FirtstStrike, Version: Version-1
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Parameters
//-----------------------------------... | [
"64608145+Fischsalat@users.noreply.github.com"
] | 64608145+Fischsalat@users.noreply.github.com |
ad479cb6b47d560d3114a81c158749a61ebeb9b8 | 0e3e76e1e277e927976f7696f60a203e8bf1f0d7 | /Other/CodeQuotient/Day5/ChristmasTree.cpp | 26177db8d2054f1c15d2ae29442d64bbedca572d | [
"MIT"
] | permissive | BurningTiles/Programs | 4d1a9386f203b188a27c4e6e933203b3cde9faa3 | 56aee5e4d647ffc36804893dfa9ed0d4a3292117 | refs/heads/master | 2021-06-16T10:35:17.794296 | 2021-03-09T03:33:40 | 2021-03-09T03:33:40 | 168,956,305 | 5 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,531 | cpp | /**
* Author : BurningTiles
* Created : 2020-08-06 18:28:41
**/
#include <bits/stdc++.h>
using namespace std;
int main(){
int n;
cin >> n;
if(n<2)
cout << "You cannot generate christmas tree";
else if(n>20)
cout << "Tree is no more";
else{
for(int i=0; i<n; ++i)
... | [
"BurningTiles"
] | BurningTiles |
ccae217154fcd7c1f4bc7a01afdbd25e3894a1da | 7b4d5523b10ce2e9396308bcb8072b267ca32f38 | /thirdparty/asio/asio/detail/pop_options.hpp | 9b14085bd49bf8d63b9fb83508912194c85639e2 | [
"LicenseRef-scancode-unknown-license-reference",
"MIT",
"LicenseRef-scancode-public-domain"
] | permissive | tstenner/liblsl | cd3cc54d9068d5cfb8fac5aab4d9c39e8d432ad0 | 1dc3e2dbdff3b36890beda1edbff5bc36ee0f4b6 | refs/heads/master | 2023-08-17T07:15:45.899442 | 2023-08-15T11:28:53 | 2023-08-15T11:28:53 | 123,417,459 | 2 | 1 | MIT | 2020-01-16T08:11:10 | 2018-03-01T10:07:46 | C++ | UTF-8 | C++ | false | false | 2,979 | hpp | //
// detail/pop_options.hpp
// ~~~~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2021 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// 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)
//
// No header guard
#if... | [
"ttstenner@gmail.com"
] | ttstenner@gmail.com |
6e74a350c4a2dd7115bbd0bb9a86e825a5e5ee36 | 73a9ebc9669cb2edf2be361009dd9f085f9d2e82 | /Samples/SceneGraphs/Picking/PickingWindow3.cpp | c3f8653c8855cb3263c82b6e2a7e3a290cbbd4c0 | [] | no_license | zhouxs1023/GTE | 49f82c54891b33460f39a35d74b95c76123482c8 | 6db3ea29eaa612320da603f83ca9b7125cc66546 | refs/heads/master | 2021-07-18T04:22:30.982107 | 2020-09-15T15:16:11 | 2020-09-15T15:16:11 | 202,730,606 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,895 | cpp | // David Eberly, Geometric Tools, Redmond WA 98052
// Copyright (c) 1998-2020
// Distributed under the Boost Software License, Version 1.0.
// https://www.boost.org/LICENSE_1_0.txt
// https://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
// Version: 4.0.2020.01.10
#include "PickingWindow3.h"
#include <Applicati... | [
"zhouxs1023@163.com"
] | zhouxs1023@163.com |
fe37b06f93533c271816e93fc09101e3290b498a | 607c4f4497ac2a3b16287cd66262d3decaa30278 | /client/kmenu/framework/EResScreen.h | 0becf2ee130c60d83cb8a65e15679c761b5fc3f7 | [] | no_license | ExpLife0011/kui | 53eed82f1d762bf241f47e989050c6df5f6d9bec | 0d5f45a814429bea3463284b50f849813e97a257 | refs/heads/master | 2020-03-22T08:56:20.740779 | 2018-04-19T08:42:56 | 2018-04-19T08:42:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 203 | h | #pragma once
#include "OpenHMI.h"
namespace OpenHMI
{
enum EResScreen
{
RES_SCN_UNKNOWN = 0,
// TODO: define screen ID here
RES_SCN_MAIN = 2,
RES_SCN_SCREEN = 6 ,
};
} | [
"yanyan520209@126.com"
] | yanyan520209@126.com |
1c66d46a531cf9be8c681afbb8ed2c9b7685ee0d | fe4479632e2f9a8d78a07d31b529f9100addf191 | /src/sw/redis++/queued_redis.h | 69253d605c4d9c4e81370428df2932f28deb384d | [
"Apache-2.0"
] | permissive | keaideni/redis-plus-plus | db3ef776724c11f30779ba9d2d1e906b287c657c | 94988b7ab134548346f84161fb62f39b709138e9 | refs/heads/master | 2020-07-18T09:09:23.243918 | 2019-12-25T06:42:01 | 2019-12-25T06:42:01 | 206,219,956 | 1 | 1 | Apache-2.0 | 2019-09-04T03:07:41 | 2019-09-04T03:07:39 | null | UTF-8 | C++ | false | false | 61,423 | h | /**************************************************************************
Copyright (c) 2017 sewenew
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/licen... | [
"sewe.code@gmail.com"
] | sewe.code@gmail.com |
f69caa2fcbae03d059fef1958dca1e80e0f07711 | 616d9e83ac7b0dafc37bb0a753da79bc10c9bd6d | /week--02/day--03/drawAll/main.cpp | 7903a16baa60c143634d3fcdf19177832ec40d3b | [] | no_license | green-fox-academy/Teleeeee | 7c8428922497a9bd76ea43de903e840a9cbdeaa5 | b7b8eff32c79e1ee03684096ee0ca246db389079 | refs/heads/master | 2020-07-19T06:58:07.323979 | 2020-01-30T21:18:02 | 2020-01-30T21:18:02 | 206,396,188 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,193 | cpp | #include <iostream>
#include <SDL.h>
#include "draw.h"
//Starts up SDL and creates window
bool init();
//Frees media and shuts down SDL
void close();
//The window we'll be rendering to
SDL_Window *gWindow = nullptr;
//The window renderer
SDL_Renderer *gRenderer = nullptr;
bool init() {
//Initialize SDL
if ... | [
"lev9433@gmail.com"
] | lev9433@gmail.com |
91cf7b290e5aa0ad89d8450e821ac0af217186c9 | 9c052a145d3b492fdf09e281a47a16bf4dedd536 | /CPP/Notes_manager/src/functions.cpp | e74a0dffb0679753e97f738c8c41d06ea25f8c02 | [] | no_license | eyvazemil/eyvazemil | c64db6cb32c874626ba0f86152763099f57594ec | b3f64bdef0c0260960cc1479a1e27e25b41d436f | refs/heads/master | 2022-12-18T12:05:36.579859 | 2020-09-26T19:05:21 | 2020-09-26T19:05:21 | 209,011,192 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,143 | cpp | #include "functions.h"
//! poll events for mouse or keyboard input
void pollEvents(Window & window, CNoteList & database) {
SDL_Event event;
if(SDL_PollEvent(&event)) {
window.pollEvents(event);
if(window.is_closed()) return;
database.pollEvents(event);
if(database.is_category_s... | [
"noreply@github.com"
] | eyvazemil.noreply@github.com |
e9166f9eba27732b927debd85f67971353e16385 | 6b627d5bbb021fd846acf59d029afc51d6eee3e2 | /ExxonMobil.IOBench.NativeCore/FiboLfsr.cpp | 4cd2e1ab67ee39c858781c642ae5924e4361a871 | [
"Apache-2.0"
] | permissive | wpbrown/iobench | 8c492312fe561b41f85bff8998c956b1c94271d7 | c58908b5fc0be5b1207b58f48a5b6510daffbfe7 | refs/heads/master | 2020-06-12T21:06:59.699348 | 2014-09-29T22:34:24 | 2014-09-29T22:34:24 | 24,613,828 | 5 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,334 | cpp | // Copyright 2014 ExxonMobil Technical Computing Company
//
// 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 require... | [
"sleepin@gmail.com"
] | sleepin@gmail.com |
ae3d639274d6248932026e8d4bf023a2d3b5dc62 | 0d1a101c3dbf58adfd1ae7543cfe3bd9ea39ac91 | /blasius_laminar_github/6.1/uniform/functionObjects/functionObjectProperties | b412e031b0282dc8e889b7966ae8a9a0998f4af2 | [] | no_license | tsam1307/OpenFOAM_laminar_BL | 74fe2faee653d0a9b2bcbfa0fe42654c90f4f92e | 2d9518b57804f265d2bb40079fbab2bac979c176 | refs/heads/main | 2023-05-07T13:49:41.832067 | 2021-05-28T19:33:12 | 2021-05-28T19:33:12 | 371,780,408 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 897 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2012 |
... | [
"tsinghsamant@gmail.com"
] | tsinghsamant@gmail.com | |
cc9354837975e27113f53119d4cc7780ebd6a249 | 3431ea8f4c5aaf4410915e4fd26956bb59e4f3cc | /Carrier.hpp | 9fe8819dfc953d74afaeec501847dfebaf52f214 | [] | no_license | Meromorph-Sound/Reason-NoiseSynth | 89e0cdf590d0cbd6b61b2aa6629b4aa595c7b16b | 86b52f0634e9a6819fc2be5f0d1a42e6872f008f | refs/heads/main | 2023-08-24T16:41:01.767737 | 2021-10-08T23:54:09 | 2021-10-08T23:54:41 | 324,663,759 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,027 | hpp | /*
* Carrier.hpp
*
* Created on: 6 Feb 2021
* Author: julianporter
*/
#ifndef CARRIER_HPP_
#define CARRIER_HPP_
#include "base.hpp"
#include "OscillatorBase.hpp"
namespace meromorph {
namespace click {
#define PER_SAMPLE
class Carrier : public OscillatorBase {
protected:
public:
Carrier() : Oscillator... | [
"julian@porternet.org.uk"
] | julian@porternet.org.uk |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.