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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a4834c29f89a145952fc696bcfed45828a9fc554 | 36c62686fa6eaef42f2436c396563af5034b22c4 | /ControlTower/src/ControlTower.h | eb8473fce4021970fb4e3480332f1dba66aad05a | [] | no_license | bendonio/Control-Tower-Project | 5c7198e60e0354d78e263b64080289b9e40ff3d7 | f8b3de9890b1467834442a3aa572edaf9852103c | refs/heads/master | 2022-01-30T12:57:15.411654 | 2022-01-17T14:29:55 | 2022-01-17T14:29:55 | 235,770,559 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,247 | 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... | [
"noreply@github.com"
] | bendonio.noreply@github.com |
1f3075f2b8838fcdbb056f93c4ad6d40011c3efa | 061ec857397672734af13cae867f9e2fcefbb9d3 | /task81.cpp | 7ddefc305410540acccc5098c3eb723f4ea646f9 | [] | no_license | Alua001/practice | f8c3dffc54f77b14833ee15a5ffd7657d00f9cea | d743e1bc4fea059831ea0b0bcacc3b785682014b | refs/heads/master | 2020-09-13T03:25:02.933964 | 2019-11-23T11:26:28 | 2019-11-23T11:26:28 | 222,643,239 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 148 | cpp | #include <iostream>
using namespace std;
int main(){
for( int i = 100; i >= 0; i -= 4){
cout << i << ' ';
}
return 0;
} | [
"noreply@github.com"
] | Alua001.noreply@github.com |
a8c18921feba5bd226937492fb9e818965bb814a | b920280c87479e68fece9dc77108feb333a0d434 | /8IAR125-01/MinersWife.cpp | 15b0b4affa344d3bd34681ab4beee681651c382d | [] | no_license | louis-bompart/8IAR125-01 | 05153833b9c09a9adb0431b2fbe4f40484539abc | a21672e5225a365f284d89c6cfcf041ef76fbf48 | refs/heads/master | 2020-04-19T10:33:44.061446 | 2016-09-28T01:01:20 | 2016-09-28T01:01:20 | 67,639,788 | 0 | 1 | null | 2016-09-27T17:39:24 | 2016-09-07T20:09:32 | HTML | UTF-8 | C++ | false | false | 276 | cpp | #include "MinersWife.h"
bool MinersWife::HandleMessage(const Telegram& msg)
{
return m_pStateMachine->HandleMessage(msg);
}
void MinersWife::Update()
{
//set text color to green
//SetTextColor(FOREGROUND_GREEN | FOREGROUND_INTENSITY);
m_pStateMachine->Update();
} | [
"louis.vincent.bompart@gmail.com"
] | louis.vincent.bompart@gmail.com |
a6122079bce49404a69ac1246db8d913c6a961a2 | 3d4b050616b00947a4afc55af1238cdc5bfd33a3 | /controller/item.h | f711bb08d571acd7443a8a40113a2b624b068a12 | [
"MIT"
] | permissive | duganchen/quetzalcoatl | 6910e2fc5d664382d22c4eaae9337c0b691c9442 | de09175810994b7a085e6aa0ac9eaacc89388f07 | refs/heads/master | 2023-04-30T13:48:53.238533 | 2023-04-19T16:54:30 | 2023-04-19T16:54:30 | 1,010,675 | 8 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,246 | h | #ifndef ITEM_H
#define ITEM_H
#include <QIcon>
#include <QVariant>
#include <QVector>
class Controller;
class Item
{
public:
Item(const std::vector<QString> &labels, QIcon, Qt::ItemFlags, bool, bool, QString = QString());
virtual ~Item();
void append(Item *at);
Item *at(int row);
int count() co... | [
"thedoogster@gmail.com"
] | thedoogster@gmail.com |
b48cf5676ff879f5364e97f3b65e65d78c601ece | a4c7866aa423cf151635897c9aeff897da11ba31 | /include/AgacDugum.hpp | a0447d49e4c1369857ab906c1a6bf3d647379f55 | [] | no_license | KadirArslan/Practice-for-BST-and-List | 6cfb9cc1ea833dee0a6d7ed8810c012b40bef67c | 09e51ac541c2f3ba7324f667074020609eeabba7 | refs/heads/master | 2021-05-11T03:13:26.670926 | 2018-01-18T00:36:30 | 2018-01-18T00:36:30 | 117,910,234 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 616 | hpp | /**
* @AgacDugum.hpp
* @Agac sinifi icin Dugum Olusturur.
* @9.12.2017
* @Kadir ARSLAN kadir.arslan1@ogr.sakarya.edu.tr && Alperen CINKAYA alperen.cinkaya@ogr.sakarya.edu.tr
*/
#ifndef AGACDUGUM_HPP
#define AGACDUGUM_HPP
#include <iostream>
using namespace std;
class AgacDugum{
public:
string veri; //Agac dugu... | [
"35239791+KadirArslan@users.noreply.github.com"
] | 35239791+KadirArslan@users.noreply.github.com |
6644548581032c68653cf4c30da0760fe644ece5 | 0198d5b8e19cc7c4fac5807bc6de6b8613ead674 | /SocialNetwork/Diameter.cpp | 136d7f870e2cc2655e360308ed72d42631550f78 | [] | no_license | aist2/SocialNetwork | 92727f9de89a2c702b6aec4e679897ebe2040680 | f2aa76346d6336aca6b8bad1e3bfaddd633d0494 | refs/heads/master | 2020-12-24T17:44:35.847873 | 2014-11-14T17:02:09 | 2014-11-14T17:02:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,580 | cpp | /*
* Diameter.cpp
*
* Created on: 4 Nov, 2014
* Author: Chloe Lu
*/
#include "Header.h"
double compareEdgeDest(Edge* e1, Edge* e2) {
return (e1->pDestV->id) < (e2->pDestV->id);
}
// helper
long bfsFindHeightRaw(Vertex* v, int numVertices) {
std::map<int, long> vHeightMap;
std::map<int, bool> marks;
mar... | [
"chloe.lxd@gmail.com"
] | chloe.lxd@gmail.com |
a30b0ebd1dbfa88a2f22d1c1300e947b219637fc | bea556733142d4a41562f4c9e0d26418780f244e | /libcef/browser/browser_platform_delegate.h | 2c87042ab072fdd0d1d3b9bf8cd65e57fd480f4f | [
"BSD-3-Clause"
] | permissive | EricTop3/cef | fd48f706b27a51951b830a6673be10a9e63030c5 | e83d8d6a131ad39b98c97c945ccf77bcd723378f | refs/heads/master | 2023-09-04T00:11:52.720554 | 2021-11-09T19:21:58 | 2021-11-09T19:21:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,277 | h | // Copyright (c) 2015 The Chromium Embedded Framework Authors.
// Portions 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.
#ifndef CEF_LIBCEF_BROWSER_BROWSER_PLATFORM_DELEGATE_H_
#define CEF_LIBCEF_BRO... | [
"magreenblatt@gmail.com"
] | magreenblatt@gmail.com |
b653e629f2d7a8b656e9f6d69e75e6a5dba7ba97 | 63e4a22cce2800c9bd4cf8df335536b8938d4ccc | /Path Tracer/assignment_package/src/raytracing/intersection.h | 87eaa0eb749a5b63a71bac00b9f23d27fc91f891 | [] | no_license | Sireesha-Upenn/cis561_hw08 | 8381f10049432cf6485f469a5ddbd3c312c8c9f4 | 156b0d6b168ea8021c9f87487617c46e3a08d0e6 | refs/heads/master | 2022-04-17T02:33:32.914434 | 2020-04-14T22:27:14 | 2020-04-14T22:27:14 | 255,741,478 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,783 | h | #pragma once
#include <globals.h>
#include <scene/materials/bsdf.h>
#include <raytracing/ray.h>
#include <scene/scene.h>
#include <scene/geometry/primitive.h>
#include <QList>
class Material;
class Scene;
class BSDF;
struct CSGIntersection {
Intersection* isect;
float t1, t2;
};
class Intersection
{
public:
... | [
"sireesha@seas.upenn.edu"
] | sireesha@seas.upenn.edu |
71b97a34518b99ee098f24961f15636c523ecf18 | fab00c6c5fb2aef4642994b2c60022ccd6f6af33 | /water.cpp | 8631e084400546f261f0812c22ef3f47ee74177e | [] | no_license | naranglovish/3D-opengl | 484fbe3067d80a48547ba5050acb109e89e985a4 | 18b68f64a8639ecc5a1b40ed10b00594d31a7ffd | refs/heads/master | 2020-03-06T23:30:03.831438 | 2018-03-28T13:24:17 | 2018-03-28T13:24:17 | 127,133,293 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,909 | cpp | #include "water.h"
#include "main.h"
Water::Water(float x, float y, color_t color) {
this->position = glm::vec3(x, y,0);
this->rotation = 0;
speed = 1;
// Our vertices. Three consecutive floats give a 3D vertex; Three consecutive vertices give a triangle.
// A cube has 6 faces with 2 triangles each... | [
"narang.lovish@gmail.com"
] | narang.lovish@gmail.com |
878ac1cf6cb8d4ded942432fc1a757d9d5a3dbb3 | afcb8a2f000099ec415ee72021ea2533030184fd | /src/ShaderNode/DataTypes/Matrix4Data.cpp | 24dfe95a234c3404faeeb42dbea883c1d0130ee9 | [
"GPL-3.0-only",
"MIT",
"BSD-3-Clause",
"LicenseRef-scancode-proprietary-license",
"Apache-2.0"
] | permissive | NazaraEngine/NazaraEngine | b67397af8a355bed0389daafd3463f0695a1ab92 | 1b9c19fd788e6116984c2466bad0b75047012a6a | refs/heads/main | 2023-09-04T10:08:48.321299 | 2023-08-31T16:01:59 | 2023-08-31T16:01:59 | 4,192,801 | 207 | 23 | MIT | 2023-09-09T20:09:05 | 2012-05-01T14:08:17 | C++ | UTF-8 | C++ | false | false | 48 | cpp | #include <ShaderNode/DataTypes/Matrix4Data.hpp>
| [
"lynix680@gmail.com"
] | lynix680@gmail.com |
60dfc766aaad565da2cb80fee64555f62e929a60 | b73b3f631e6925c1b18439edfae1730e6d77f995 | /src/testlibjsapi_gtkmm/image_surface.cpp | 400acd8e46f3f96196270cebf5edfcb654182640 | [
"MIT"
] | permissive | dumganhar/libjsapi | 826a7a099c57b8a77b401eb49d8a8ccf96be2194 | 8c7511b022b2579cf8acf913ea12014cbcda1ec0 | refs/heads/master | 2020-12-29T00:12:17.054357 | 2015-11-06T10:00:30 | 2015-11-06T10:01:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,107 | cpp | #include "image_surface.h"
#include <cstring>
#include <algorithm>
ImageSurface::ImageSurface(rs::jsapi::Runtime& rt, unsigned width, unsigned height, unsigned depth) :
rt_(rt), obj_(rt), width_(width), height_(height), depth_(depth), array_(rt), refCount_(2),
data_(width_ * height_ * depth_, 0) {
... | [
"craig@ripcordsoftware.com"
] | craig@ripcordsoftware.com |
3710404e44bae30a9c182c92858c994bda9cc637 | 9b6769357c871550ca7243557b182073d42de7aa | /ml/rbm/app/hrbm_app.cpp | 624d4bc76bc132ceea9c24b6d633ed59da5305a0 | [] | no_license | lijiankou/bigdata | dfdf78369ed9f0e048bd36179da3ee10e50ff92a | 90609cb3ac014423dfe92d464e52a61129a36867 | refs/heads/master | 2021-01-21T17:42:10.418952 | 2014-09-12T10:12:56 | 2014-09-12T10:12:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,836 | cpp | // Copyright 2014 lijiankou. All Rights Reserved.
// Author: lijk_start@163.com (Jiankou Li)
#include "base/base_head.h"
#include "ml/rbm/hrbm.h"
#include "ml/rbm/rbm_util.h"
#include "ml/util.h"
#include "ml/rbm/roc.h"
#include "ml/document.h"
#include <Eigen/Sparse>
#include <Eigen/Dense>
DEFINE_int32(bach_size, 10... | [
"lijiankoucoco@163.com"
] | lijiankoucoco@163.com |
8930ff5999ce6ec12da61ed4a8ed2d0b4b87c8b7 | bd8bcdb88c102a1ddf2c0f429dbef392296b67af | /sources/Scene/Renderer/LogSceneRenderer.cpp | e80bdfa7f436f1290854f99ceb0fc6e50cfe0661 | [
"BSD-2-Clause",
"BSD-3-Clause"
] | permissive | LukasBanana/ForkENGINE | be03cee942b0e20e30a01318c2639de87a72c79c | 8b575bd1d47741ad5025a499cb87909dbabc3492 | refs/heads/master | 2020-05-23T09:08:44.864715 | 2017-01-30T16:35:34 | 2017-01-30T16:35:34 | 80,437,868 | 14 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 5,776 | cpp | /*
* Log scene renderer file
*
* This file is part of the "ForkENGINE" (Copyright (c) 2014 by Lukas Hermanns)
* See "LICENSE.txt" for license information.
*/
#include "Scene/Renderer/LogSceneRenderer.h"
#include "Scene/Node/SceneNode.h"
#include "IO/Core/Log.h"
#include "IO/Core/Printer.h"
#include "Core/StringM... | [
"lukas.hermanns90@gmail.com"
] | lukas.hermanns90@gmail.com |
e8f4059fd888cbd5eb0e69c9da3efba3ee1a6bb1 | ba4694c49c33934afafeff129faa49f5d18e94ec | /26.function overloading.cpp | cfb5426ee20f14c9ef7e9152fc4e2008b50944d2 | [] | no_license | orionGGG/cpp-lesson | fcc58a9557187b04d691a3b0ad21945f85832b25 | 132f53f94a415caa44c38b429529437e2fefd801 | refs/heads/master | 2022-11-28T01:13:18.960664 | 2020-08-06T16:19:33 | 2020-08-06T16:19:33 | 285,323,331 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,623 | cpp | #include <iostream>
/*函数具有多个版本,但名称相同
函数名称相同,参数不同--->重载
重载只是创建一个函数的多个版本
cpp中返回类型不正确不会被视为重载
*/
struct Rectangle
{
double length;
double width;
};
double area(double length)//square
{
std::cout << length * length << std::endl;
return length * length;
}
double area(double length, double width)//rectangle
{
std::co... | [
"343348459@qq.com"
] | 343348459@qq.com |
8027f6cef10c86bc95d0b3ffa06844a4ddd45567 | 1443759dd6c44db7e6fff26f28c91b1eba9c383f | /Spike8_CommandPattern/Commands/CommandTake.cpp | a08443256c9e705519ad11b1a92eb10fb0aaf313 | [] | no_license | jessicavilaysak/GamesProgramming_7646895 | 303cb6c4806e75d63f6e1c0e2948a91b5732a432 | dd00f39568d25c6a3df2fe7ada8eb030df9e2ec1 | refs/heads/master | 2021-06-05T11:11:24.012688 | 2016-11-02T11:19:26 | 2016-11-02T11:19:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 688 | cpp | //
// Created by Jessica Vilaysak on 25/09/2016.
//
#include "CommandTake.h"
CommandTake::CommandTake()
{
_identifiers.push_back("take");
}
void CommandTake::run(vector<string> input, Player *p)
{
if(input.capacity() == 2)
{
string itemName = input.at(1);
Item* item = p->getCurrentLocati... | [
"jessicavilaysak@yahoo.com.au"
] | jessicavilaysak@yahoo.com.au |
65e1387e28fe716a94a099a3d741d8772df7e908 | c4bb25af13526d3079da2669ce268a9a2f5bedff | /de15/DEApp.h | e29a016768dd8a3f4b8bbd92d6b04f2eb4379fb9 | [
"Apache-2.0"
] | permissive | cjburchell/terrafighter | 3c0c935cebd58d2ede5dbc54fcf83e4938731732 | 7bbfa22f3616bc0f3a9539afc2af3409e7f524f5 | refs/heads/master | 2023-04-10T21:30:49.717568 | 2023-03-28T00:24:12 | 2023-03-28T00:24:12 | 243,773,669 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,309 | h | #pragma once
#include <d3dapp.h>
#include <windowmgr.h>
#include <input.h>
#include "map.h"
#include "Monster.h"
#include "hud.h"
class CDEApp : public CD3DApplication
{
public:
CDEApp(void);
~CDEApp(void);
HRESULT OneTimeSceneInit();
HRESULT FrameMove();
HRESULT ConfirmDevice( D3DCAPS9* pCaps, DWOR... | [
"cjburchell@yahoo.com"
] | cjburchell@yahoo.com |
15f881b439bcf5b6af484037c124c7feacbc62c0 | 1e23b2d1914f5432450140dde7d6b371df30c656 | /testCameraLib-ForDLPSnap/3rdPart/include/openmesh-4.1/include/OpenMesh/Core/Mesh/BaseKernel.hh | 9307210924b5e0ca8732165a1f7185570ec51fd7 | [] | no_license | lvjuncheng/GrapImage | e9d9fcdcb61421a9ac8b35b39c2595d15892973f | 880c9099a075a0485ac47bbfd3c9240367bc1f2d | refs/heads/master | 2020-03-29T18:04:01.524578 | 2018-09-25T09:14:51 | 2018-09-25T09:14:51 | 150,192,965 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 26,262 | hh | /* ========================================================================= *
* *
* OpenMesh *
* Copyright (c) 2001-2015, RWTH-Aachen University *
* ... | [
"lvjuncheng@shining3d.com"
] | lvjuncheng@shining3d.com |
02fdc4c28a155206b2ae0d3c234ebd36091c2764 | fbbc663c607c9687452fa3192b02933b9eb3656d | /tags/1.23.02.00/sounddev/SoundDeviceASIO.cpp | 05bf1f98344578028cc712b7d1129b5f9a4fab88 | [
"BSD-3-Clause"
] | permissive | svn2github/OpenMPT | 594837f3adcb28ba92a324e51c6172a8c1e8ea9c | a2943f028d334a8751b9f16b0512a5e0b905596a | refs/heads/master | 2021-07-10T05:07:18.298407 | 2019-01-19T10:27:21 | 2019-01-19T10:27:21 | 106,434,952 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 37,380 | cpp | /*
* SoundDeviceASIO.cpp
* -------------------
* Purpose: ASIO sound device driver class.
* Notes : (currently none)
* Authors: Olivier Lapicque
* OpenMPT Devs
* The OpenMPT source code is released under the BSD license. Read LICENSE for more details.
*/
#include "stdafx.h"
#include "SoundDevice.h"... | [
"saga-games@56274372-70c3-4bfc-bfc3-4c3a0b034d27"
] | saga-games@56274372-70c3-4bfc-bfc3-4c3a0b034d27 |
9eeb0593dd98559c4175e88270a43b76f010c93d | 2081a24c39a5a8f99e1d24ed5d95d4467bbb27fa | /duoslam/src/slam/paramSrvMi.cpp | 357fd22d7302833d5c255fc75caa417926db6bf7 | [] | no_license | rising-turtle/duo_graph | 592c27bc66d9101a752e354b53eb0a6ddb8a491e | 304f3c44130e1a20f1483fa3be1f8ace7facbc7a | refs/heads/master | 2021-01-20T01:38:34.777340 | 2017-04-25T03:08:49 | 2017-04-25T03:08:49 | 89,311,299 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,157 | cpp | /*
* paramSrvMi.cpp
*
* Created on: Sep 24, 2013
* Author: liu
*/
#include "paramSrvMi.h"
ParamSrvMi* ParamSrvMi::_instanceMi = NULL;
void ParamSrvMi::configMi()
{
addOption("submap_size", static_cast<int> (50), "the size of the submap");
addOption("submap_overlap_size"... | [
"hxzhang1@ualr.edu"
] | hxzhang1@ualr.edu |
a9ba3c5de3952b9021cf76ec5db6575b2f05351e | 94bd295572de3f4934a3896ce1bb882fb4d35edc | /chrome/browser/ui/views/payments/shipping_address_editor_view_controller.cc | 4ce0cbd8de428943195ddc351bc67287e2db45a0 | [
"BSD-3-Clause"
] | permissive | WebGameLinux/chromium | 06109b62d6019b051474cd479f3d577e0eec4463 | a35a1e2ce2ab74eccc467aa390eda1a8e29e3e09 | refs/heads/master | 2023-03-07T14:07:56.342758 | 2017-04-08T02:33:08 | 2017-04-08T03:38:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,889 | cc | // Copyright 2017 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/payments/shipping_address_editor_view_controller.h"
#include <memory>
#include <string>
#include <utility>
#include <ve... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
5847dfe675c207e4673dee881e6d46b628cff00d | f6c641b102ebbffb48e93dd554a0b7eb7e639be7 | /Source/Test/Metaballs [OGL]/Source.cpp | 77bc894876765e7d8d9ef85e99f5a3f138f4bc5f | [] | no_license | ZAsprose/rtrt-on-gpu | e3ca4921a3429cbc72e0cee8afd946200b83573d | 4949e373c273f963467658ca25d39244da7fb4e6 | refs/heads/master | 2021-01-10T14:42:45.293509 | 2010-08-25T18:37:19 | 2010-08-25T18:37:19 | 53,016,647 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,421 | cpp | /*
---------------------------------------------------------------------------
| M E T A B A L L S D E M O |
---------------------------------------------------------------------------
Copyright (c) 2009 - 2010 Denis Bogolepov... | [
"denisbogol@gmail.com"
] | denisbogol@gmail.com |
daa64edf5870cd3b729dd33b8555fcb5e9b8ac66 | 94a786a26f60633548a859d309d2fe4f60c52957 | /regression/run/scope/maincpp.cpp | 0ceebfb644e5d8b72145a08f5c3858696f4d15af | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | lkampoli/shroud | 612e7bf9b1fdd4526b579c351f5b892a4698eef5 | 939ba0a3e8b5a885da3ddaebb92bf93cb12b0401 | refs/heads/master | 2023-01-31T07:02:46.812533 | 2020-08-05T07:53:48 | 2020-08-05T07:53:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,330 | cpp | // Copyright (c) 2017-2020, Lawrence Livermore National Security, LLC and
// other Shroud Project Developers.
// See the top-level COPYRIGHT file for details.
//
// SPDX-License-Identifier: (BSD-3-Clause)
//
//
#include "scope.hpp"
#include "wrapscope.h"
#include "wrapClass1.h"
#include "wrapClass2.h"
#include "wrapsco... | [
"ltaylor@llnl.gov"
] | ltaylor@llnl.gov |
b1f4392597bbffd789eb057778bb13caccafa8cb | 6c80a94e2e0bb63cddee56a4943328f8d797b71e | /source_code/main.cpp | e6535345403cae98d3f7eebfc30fc4955d015070 | [] | no_license | wiktorlazarski/ASCII-Image-Filter | 19069a89f22926e10b386b192dae147d4ef212f5 | 174b32a275e8d6a96551e8022f732fd050e8e226 | refs/heads/master | 2020-05-09T18:28:39.834492 | 2019-05-14T21:02:37 | 2019-05-14T21:02:37 | 181,343,188 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,266 | cpp | #include "image_processing/image_converters/rgb_to_ascii.h"
#include "tools/console_logger.h"
int main(int argc, char* argv[])
{
try {
if (argc < 3) {
throw std::invalid_argument("Input or output not specified");
}
const RGBImage input_img(argv[1]);
ConsoleLogger::get_instance().log("Image file " + std::st... | [
"wjlazarski@gmail.com"
] | wjlazarski@gmail.com |
88100a43965135bcd862e71fd3ae7db81d8acdec | f7ebbbdc443dd1da9cb1e7cc7bfd12d696dc6318 | /websocket/event_dispatcher.cpp | 097d455fb652aa6352c0660a11f7b16835cae492 | [] | no_license | Enjection/ts_cis_http | 37515e3b9563860ae3e969f48602a9a65109b760 | 767d928d52ce470bfbca4c8c15daa36a3884001d | refs/heads/master | 2020-04-25T05:33:46.413158 | 2019-04-25T03:50:28 | 2019-04-25T03:50:28 | 172,547,699 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,129 | cpp | #include "event_dispatcher.h"
#include <string>
#include <rapidjson/writer.h>
#include <rapidjson/stringbuffer.h>
#include "event_list.h"
#ifndef NDEBUG
#include <iostream>
#endif
void send_error(
const std::shared_ptr<net::websocket_queue>& queue,
websocket::response_id event_id,
const std... | [
"enjection@ya.ru"
] | enjection@ya.ru |
d096f178dcfccce19a0ca35321ba7a4ca06a31dc | 6956a461624f4175d7f31d6521cc7f9c64797c59 | /samples/Classes/PlayerController.h | 01caaede5291b987e140f7009066c9bea4a20e2f | [
"MIT"
] | permissive | songchengjiang/cocosVR | 1bf20c4bd81c414c008c70a41d7ad8cdc826c8aa | cd2cb627292028bed59112c018f054acc6441da3 | refs/heads/master | 2021-01-21T13:11:42.177084 | 2016-04-27T03:51:59 | 2016-04-27T03:51:59 | 54,864,124 | 12 | 4 | null | 2016-04-12T01:55:53 | 2016-03-28T03:56:36 | C++ | UTF-8 | C++ | false | false | 1,637 | h | #ifndef __CONTROLLER_H__
#define __CONTROLLER_H__
#include "cocos2d.h"
#include "base/CCController.h"
class OVRRenderer;
class Tank;
enum class PlayerMoveState
{
FRONT,
BACK,
STOP,
};
enum class PlayerRotateState
{
TURN,
STOP,
};
enum class CannonState
{
ROTATE_LEFT,
ROTATE_RIGHT,
STOP,
};
enum class GunSt... | [
"qiaoping.xie@chukong-inc.com"
] | qiaoping.xie@chukong-inc.com |
912d07b08aa5bb616ec9cc4cc39c7d4b4e570f89 | 149e069c739128a7a2001911a197788c8600d7f1 | /ADAM1.cpp | bdd0f545c33982233a6e4d38f52e0cea7c8e8866 | [] | no_license | vidusheeamoli/SPOJ-solutions | d5f02f2630c2d7ba2df1cb2c24f776f9071450f7 | 4458e7a1b72776d80ca72a957989f04640db2ed7 | refs/heads/master | 2020-04-05T10:51:08.024286 | 2018-11-09T05:14:56 | 2018-11-09T05:14:56 | 156,812,863 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 392 | cpp | #include<bits/stdc++.h>
using namespace std;
typedef long long ll;
int main(void)
{
ll p, q, r, ans, x, y, T, count, n;
scanf("%lld", &T);
while(T--)
{
count=0;
scanf("%lld %lld %lld", &p, &q, &r);
scanf("%lld", &n);
while(n--)
{
scanf("%lld %lld", &x, &y);
ans=(x*x)+(y*y)-(p*x)-(q*y)+r;
if(ans<=... | [
"vidushee.amoli@gmail.com"
] | vidushee.amoli@gmail.com |
3e36b58fab2937d460b6a127129f4f87fa319b03 | a8209db88a834ce371a312574c60983956ae23ec | /heapsort.cpp | 8ac8f272c7b9b163d5e71ad8ae71ae8d4e8a35cd | [] | no_license | GiovanniBru/apa4 | 15ce8327ba2e5d940c9196ce9f06c87b5a13ed3b | c3902977af2787bb6617570c8d29fbd118d39a5f | refs/heads/master | 2020-03-27T23:01:27.861572 | 2018-10-26T05:02:59 | 2018-10-26T05:02:59 | 147,282,561 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,121 | cpp | #include <iostream>
using namespace std;
void Max_Heapify(int aray[], int raiz, int tamanho) // "Tornar heap"
{
int filhoEsq = 2*raiz + 1; // Filho esquerdo (2i + 1)
int filhoDir = 2*raiz + 2; // Filho direito (2i + 2)
int maior = raiz; // Inicia o maior como sendo a raiz...
if (filh... | [
"noreply@github.com"
] | GiovanniBru.noreply@github.com |
2b218f76285e5114d2172cff925f36e124776c47 | 9c451121eaa5e0131110ad0b969d75d9e6630adb | /nowcoder/牛客小白月赛12/392E - 华华给月月准备礼物.cpp | 1dfd25c43c8dca79fddd3a8bcaf64269b5793366 | [] | no_license | tokitsu-kaze/ACM-Solved-Problems | 69e16c562a1c72f2a0d044edd79c0ab949cc76e3 | 77af0182401904f8d2f8570578e13d004576ba9e | refs/heads/master | 2023-09-01T11:25:12.946806 | 2023-08-25T03:26:50 | 2023-08-25T03:26:50 | 138,472,754 | 5 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,051 | cpp | #include <bits/stdc++.h>
using namespace std;
namespace fastIO{
#define BUF_SIZE 100000
#define OUT_SIZE 100000
//fread->read
bool IOerror=0;
// inline char nc(){char ch=getchar();if(ch==-1)IOerror=1;return ch;}
inline char nc(){
static char buf[BUF_SIZE],*p1=buf+BUF_SIZE,*pend=buf+BUF_SIZE;
if(p1==pend){
... | [
"861794979@qq.com"
] | 861794979@qq.com |
1110ea7e1e51c6bc212c3cd003fcd356372fa8d8 | 64227bc218fa7ef8090c60062bac329f158e92c4 | /log.h | 4c5a0531a4a27674799f8660bf971a726ef7b7a2 | [] | no_license | willsongrui/dahu | 5bdc2e4666ab08ec8f234865fd9c0cbab97f03c9 | 8bd6d6d41e881b66173b69107dce5dcecb2899f0 | refs/heads/master | 2020-05-29T10:07:12.585877 | 2014-05-06T08:18:43 | 2014-05-06T08:18:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 864 | h | #ifndef __log__
#define __log__
#include <sys/time.h>
#include <string>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <string.h>
#include <unistd.h>
#include <errno.h>
#include <stdio.h>
#include <stdarg.h>
#include <memory.h>
#include <signal.h>
class CLOG
{
public:
CLOG(std::string, bool i... | [
"willsongrui@gmail.com"
] | willsongrui@gmail.com |
af9abc755fa9ce25ce6ffb00f3c2307e3c143816 | 3dbe2d0454979091d3f1f23c3bda6f8371efe8be | /arm_compute/core/utils/math/SafeOps.h | 41bbb12e70fe19830f311b5fb963c0b7e56d3686 | [
"MIT",
"LicenseRef-scancode-dco-1.1"
] | permissive | alexjung/ComputeLibrary | 399339e097a34cf28f64ac23b3ccb371e121a4c9 | a9d47c17791ebce45427ea6331bd6e35f7d721f4 | refs/heads/master | 2022-11-25T22:34:48.281986 | 2020-07-30T14:38:20 | 2020-07-30T14:38:20 | 283,794,492 | 0 | 0 | MIT | 2020-07-30T14:16:27 | 2020-07-30T14:16:26 | null | UTF-8 | C++ | false | false | 5,001 | h | /*
* Copyright (c) 2019 ARM Limited.
*
* SPDX-License-Identifier: MIT
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to
* deal in the Software without restriction, including without limitation the
* rights ... | [
"bsgcomp@arm.com"
] | bsgcomp@arm.com |
a030f72fe1aa90d81b47f90d1e415bc8891abb89 | 1f1d84ff2b3faccfb1c33cb0a4169ec8f5f58963 | /scisim/ConstrainedMaps/FrictionMaps/FrictionOperator.h | 6a05b4297dad184e4539e7e3a76b6580cdd75307 | [
"Apache-2.0"
] | permissive | avaxman/scisim | ff1d7355fa59caf583d675adf700464d7b1a0c40 | 169b67dc6b073e730677f1a09c15e02426a41324 | refs/heads/master | 2021-05-14T11:51:47.479580 | 2018-01-05T05:31:17 | 2018-01-05T05:31:17 | 116,391,428 | 2 | 0 | null | 2018-01-05T14:07:12 | 2018-01-05T14:07:11 | null | UTF-8 | C++ | false | false | 1,543 | h | // FrictionOperator.h
//
// Breannan Smith
// Last updated: 09/22/2015
#ifndef FRICTION_OPERATOR_H
#define FRICTION_OPERATOR_H
#include "scisim/Math/MathDefines.h"
#include <memory>
class Constraint;
class FrictionOperator
{
public:
FrictionOperator( const FrictionOperator& ) = delete;
FrictionOperator( Fric... | [
"smith@cs.columbia.edu"
] | smith@cs.columbia.edu |
b2840cab3f40dd7b4cf7da085cb3cd845faee554 | 49b7d042c3b6b31b0e568e9e15bcb3adfcc1b830 | /src/image_process_helper.h | d0a43b148694806991ca099e6ca3ed7340bd5b25 | [] | no_license | BaconSun/RE-Wire | c090b1eabc420013014a0947151b1f7d54837394 | cec2a0181a79d878be8d70812da42c3170359f60 | refs/heads/master | 2021-09-18T01:27:33.220926 | 2018-07-08T14:01:29 | 2018-07-08T14:01:29 | 108,983,269 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 572 | h | //
// Created by bacon on 1/2/18.
//
#ifndef REWIRE_IMAGE_PROCESS_HELPER_H
#define REWIRE_IMAGE_PROCESS_HELPER_H
#include <opencv2/core/core.hpp>
void GetLutSkel(cv::Mat& Lut);
void applylut_1(cv::Mat &src,cv::Mat &dst);
void applylut_joint(cv::Mat &src,cv::Mat &dst);
void applylut_8(cv::Mat &src,cv::Mat &dst,cv::Ma... | [
"pgsunbacon@gmail.com"
] | pgsunbacon@gmail.com |
663c43c9e5967aa25f7e82906bf9b70ba673ff31 | d00d0a0bb7676aa0712d636686d30833f7c539b6 | /454.4sum-ii.cpp | 05a014c18daf83e990770d0a3e852849b7ccd329 | [] | no_license | luzhen-linux/test | e115b23f8e2d22b39d690e952480ab336734ca36 | 50fa38a91349df8c551e5ef412b3686252d9bdae | refs/heads/master | 2021-09-15T01:39:27.353922 | 2018-05-23T14:31:02 | 2018-05-23T14:31:02 | 120,042,863 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,665 | cpp | /*
* [454] 4Sum II
*
* https://leetcode.com/problems/4sum-ii/description/
*
* algorithms
* Medium (47.55%)
* Total Accepted: 30.1K
* Total Submissions: 63.3K
* Testcase Example: '[1,2]\n[-2,-1]\n[-1,2]\n[0,2]'
*
* Given four lists A, B, C, D of integer values, compute how many tuples (i,
* j, k, l) ther... | [
"luzhen.linux@gmail.com"
] | luzhen.linux@gmail.com |
27bdf5819ab931b22b4be839616f2668d85bf718 | 5973ff367c5a9e3e657a553a5b7eb423bc905abf | /basedatosconsolas.h | e981a15379fc9f452fe8a8dbf40e969e02e8f70f | [] | no_license | jeanwahlung12/proyectolab | 6ff1ace1c5b8d0b1a399f571d433313d4bbd333e | 99d8be137fa5cef3e31a103bf92c4eb2a66f7fb2 | refs/heads/master | 2021-01-18T10:37:19.863142 | 2017-03-16T13:37:34 | 2017-03-16T13:37:34 | 84,320,869 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 559 | h | #ifndef DATABASE_H
#define DATABASE_H
#include "consolas.h"
#include <string>
class Database
{
public:
Database();
~Database();
Database(const Database& other);
void operator =(const Database& other);
void resize();
void search(string name);
void search_id(int id);
void add(const consolas& con);
void... | [
"jeanwahlung@unitec.edu"
] | jeanwahlung@unitec.edu |
5a6a9ca6c3ae42ee5f98542a600a4f78a9170a22 | e577d3b218c17ba876924e503e7fa0b49808fc34 | /src/Dashboard.h | 05bfe49cfec13b309bbed881b6a73c41c469ef9d | [] | no_license | jonasrodriguez/DBMigrationHelper | e7a530a6517dd8d88ede95c67b1fb6cab1365ea6 | e74e59d82f5a92a355094a86e4639ac94a67aab8 | refs/heads/master | 2020-04-08T16:34:53.347695 | 2018-11-28T17:00:26 | 2018-11-28T17:00:26 | 159,524,744 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 314 | h | #include <QObject>
#include <memory>
#include "BusinessLogic.h"
class Dashboard : public QObject {
Q_OBJECT
public:
Dashboard(QObject *parent, std::shared_ptr<BusinessLogic> &business_logic);
public slots:
void ProcesTimerTimeout();
private:
std::shared_ptr<BusinessLogic> business_logic_;
};
| [
"jonas.rodriguez@systelabsw.com"
] | jonas.rodriguez@systelabsw.com |
5d3b6be745a183730eb284524a961efc96887ad8 | 55cf4bf18ed297235d1acf680fb8d23bf0456647 | /questions/my/enumeration_subset_2.cpp | abb949965aa23bbcf3ab2b80c7a41a4d3db80424 | [] | no_license | sequix/algorithm | 82186891c56bb74182e2849ece00464bb0f85aa4 | 1b47637e517d9bb49ea63945dd282cd8e9d7b5bf | refs/heads/master | 2021-01-12T08:55:11.475288 | 2017-05-24T13:38:23 | 2017-05-24T13:38:23 | 76,718,512 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 261 | cpp | // 枚举一个给定集合的所有子集,集合以二进制表示
#include <bits/stdc++.h>
using namespace std;
int main()
{
int U;
while(scanf("%x", &U) != EOF) {
for(int S = U; S; S = (S-1) & U)
printf("0x%08X\n", S);
}
}
| [
"sequix@163.com"
] | sequix@163.com |
3b2da817e40da81326d8740ff458139ff8b168c4 | 760df2be9851e23464117b68d7ece9374988aa32 | /Leetcode/0001_to_0050/0015_3sum/cc/3sum.cc | 43d9a2bb07594cd68af140e6d06373f604293355 | [
"MIT"
] | permissive | z-yin/Leetcode-learning | 90f9ef84de4bf77531fa9193b8f2fb9dbdd4e1c8 | e84c2fb067b767ed5f24d8736274c7ebce5dc00e | refs/heads/master | 2020-05-29T17:22:34.412298 | 2020-02-25T22:29:36 | 2020-02-25T22:29:36 | 189,273,175 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 822 | cc | #include <vector>
#include <algorithm>
using namespace std;
// 96 ms, 14.5 MB. Two pointers.
class Solution {
public:
vector<vector<int>> threeSum(vector<int>& nums) {
sort(nums.begin(), nums.end());
vector<vector<int>> ret;
int len = nums.size();
for (int i = 0; i < len - 2 && nums[i] <= 0; ++... | [
"joy_yin@outlook.com"
] | joy_yin@outlook.com |
2de107cffbaf56dd7b13bd1fb32508dc03d40e10 | 65db42733d7a66ab0791711e306f51a8cdf77562 | /src/main.cpp | 2073c1f105f48d7ad13c31c520bb425c7366c93e | [
"MIT"
] | permissive | ccoale/Aspen | 53423a06cd9ede5f669110d7124dcc919e0db8be | e5464b1e6838de27ca62a833af0e44077a45f478 | refs/heads/master | 2021-01-18T11:30:29.776575 | 2015-03-27T23:23:07 | 2015-03-27T23:23:07 | 32,852,991 | 0 | 0 | null | 2015-03-25T08:54:45 | 2015-03-25T08:54:45 | null | UTF-8 | C++ | false | false | 6,824 | cpp | #include <sstream>
#include <iostream>
#include <cstdlib>
#include <cstring>
#include <ctime>
#include <cstdio>
#include <unistd.h>
#include <signal.h>
#include <sys/stat.h>
#include <sys/types.h>
#include "mud.h"
#include "conf.h"
#include "socket.h"
#include "server.h"
#include "log.h"
#include "player.h"
#include "c... | [
"tyler@tysdomain.com"
] | tyler@tysdomain.com |
189d2ca65f517fb612c62d2b8e00bdd5405efd80 | 5470644b5f0834b9646649da365c96101a2f9b2a | /Sources/Elastos/LibCore/inc/elastos/sql/CTime.h | e2d19f1f72d027108be16a9429c6be86677e4d3f | [] | no_license | dothithuy/ElastosRDK5_0 | 42372da3c749170581b5ee9b3884f4a27ae81608 | 2cf231e9f09f8b3b8bcacb11080b4a87d047833f | refs/heads/master | 2021-05-13T15:02:22.363934 | 2015-05-25T01:54:38 | 2015-05-25T01:54:38 | 116,755,452 | 1 | 0 | null | 2018-01-09T02:33:06 | 2018-01-09T02:33:06 | null | UTF-8 | C++ | false | false | 1,264 | h |
#ifndef __CTIME_H__
#define __CTIME_H__
#include "_CTime.h"
#include "Date.h"
#include "TimeMacro.h"
namespace Elastos {
namespace Sql {
CarClass(CTime) , public Date
{
public:
SQLTIME_METHODS_DECL()
CARAPI GetDate(
/* [out] */ Int32 * pDate);
CARAPI GetDay(
/* [out] */ Int32 * pDay);
... | [
"chen.yunzhi@kortide.com"
] | chen.yunzhi@kortide.com |
fd27f0766364a929153e8d3b772da330430973e2 | 6975e0909f7b996368f1d229906c1809996e0026 | /bubble.cc | 8ab366842b0e2543e25f5161711e7479c1a584b4 | [] | no_license | duynii/cpp | c4ee5d70747b42de418ef3cfee1d6d24e2db075a | b914e4a7aebb5ed7da6d3936ed2f12732819c778 | refs/heads/master | 2016-09-06T13:39:49.232911 | 2013-06-10T11:23:12 | 2013-06-10T11:23:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,971 | cc | #include <iostream>
#include <vector>
using namespace std;
void print(const vector<int>& vals)
{
cout << "values: ";
for(int i=0; i<vals.size(); ++i)
{
cout << vals[i] << ", ";
}
cout << endl;
}
void bsort(vector<int>& vals)
{
const size_t size = vals.size();
for(int i=0; i<si... | [
"duynii@gmail.com"
] | duynii@gmail.com |
17a86a447d2a53c246749f1a3e573df1f3eebb41 | 0fe2a029007a294b0a57ca26472f4b0a6d290194 | /cs330assignment3/nachos/code/machine/stats.h | 0d1e5980777329500faccd5df4e4087141d8ba72 | [
"MIT-Modern-Variant"
] | permissive | Abhipanda4/CS330-NachOS | f68a6c17d9c03caf3bdf58a4bc4bf86953668be3 | d27c0db4f3bbbd20c526b9a4f1b72bad42cab900 | refs/heads/master | 2021-08-19T14:01:32.079797 | 2017-11-26T18:45:20 | 2017-11-26T18:45:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,108 | h | // stats.h
// Data structures for gathering statistics about Nachos performance.
//
// DO NOT CHANGE -- these stats are maintained by the machine emulation
//
//
// Copyright (c) 1992-1993 The Regents of the University of California.
// All rights reserved. See copyright.h for copyright notice and limitation
// of l... | [
"abhipanda03@gmail.com"
] | abhipanda03@gmail.com |
e351566e096091017dec3e04f082bc9aa4cca3ab | 9a988716cb11f27ef8df6e08c0ea92c65a43818b | /shagov_ma/Practice/Practice9/ToDoList.cpp | bbde7a7bc03e7a2d18ea6cd3407d3daa63e0fa2d | [] | no_license | MaksimShagov/mp1-practice | 07952cfaf84beda3fb82851fc0485d666b6b3ee4 | 65d0390af670657fa9de352dd860f8c1bed30add | refs/heads/master | 2021-06-21T19:06:41.403532 | 2019-05-14T07:33:24 | 2019-05-14T07:33:24 | 148,110,045 | 0 | 0 | null | 2019-06-02T08:50:06 | 2018-09-10T06:37:02 | C++ | UTF-8 | C++ | false | false | 7,234 | cpp | #include "ToDoList.h"
using namespace std;
Time::Time()
{
hour = 0;
min = 0;
}
Time::Time(unsigned int _hour, unsigned int _min)
{
if ((_hour >= 24) || (_hour < 0))
{
throw "Invalid time - hour";
}
if ((_min > 59) || (_min < 0))
{
throw "Invalid time - min";
}
hour = _hour;
min = _... | [
"noreply@github.com"
] | MaksimShagov.noreply@github.com |
790c92c8f18bbc2d7afda580d4627ed6513595f0 | c6551fc92088db6d2a8481fd974994f1880ec198 | /evita/visuals/layout/box_assigner.h | 2c9658f45d5b607770297300b391151a45ba183c | [] | no_license | eval1749/evita | dd2c40180b32fada64dce4aad1f597a6beeade8a | 4e9dd86009af091e213a208270ef9bd429fbb698 | refs/heads/master | 2022-10-16T23:10:07.605527 | 2022-10-04T07:35:37 | 2022-10-04T07:35:37 | 23,464,799 | 3 | 3 | null | 2015-09-19T20:33:38 | 2014-08-29T13:27:24 | C++ | UTF-8 | C++ | false | false | 1,190 | h | // Copyright (c) 2016 Project Vogue. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef EVITA_VISUALS_LAYOUT_BOX_ASSIGNER_H_
#define EVITA_VISUALS_LAYOUT_BOX_ASSIGNER_H_
#include <memory>
#include "evita/visuals/dom/node_visitor.h"
na... | [
"eval1749@gmail.com"
] | eval1749@gmail.com |
d4f9dbcf6720929de087d8a313370afbb0f34344 | a08e2804372e63e9070f0d8beab52733aec2b364 | /pat/1079 dfs.cpp | ddba3bfc60eae9d0233065064fcbf355157c6cf9 | [] | no_license | luer9/C | a27393addbb65944491497d5bdad7f6883605b86 | e6f1aa1cdbc6aca3132455a389cb8f0b5fe0faf1 | refs/heads/master | 2022-12-01T13:07:58.743140 | 2020-08-26T10:04:32 | 2020-08-26T10:04:32 | 290,456,724 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 852 | cpp | #include <bits/stdc++.h>
#define Max 100005
using namespace std;
int maxlevel=0,num=0;
struct Node {
int sum;
vector<int> child;
} node[Max];
double ans;
int n, k, v;
double p, r;
void dfs(int index,int level) {
if(node[index].child.size()==0) { //找到叶节点
ans+=node[index].sum*pow(1+r, level);//计算出货物总量,用... | [
"36788920+luer9@users.noreply.github.com"
] | 36788920+luer9@users.noreply.github.com |
f2f0e98d1fdbeb627235a9d814e6cd3485f3443a | 0014fb5ce4aa3a6f460128bb646a3c3cfe81eb9e | /testdata/13/7/src/node9.cpp | 2df13baa09b15a512d50c216d1a03df36267b970 | [] | no_license | yps158/randomGraph | c1fa9c531b11bb935d112d1c9e510b5c02921df2 | 68f9e2e5b0bed1f04095642ee6924a68c0768f0c | refs/heads/master | 2021-09-05T05:32:45.210171 | 2018-01-24T11:23:06 | 2018-01-24T11:23:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,592 | cpp |
#include "ros/ros.h"
#include "std_msgs/String.h"
#include "unistd.h"
#include <sstream>
#include <random>
std::random_device rd;
std::mt19937 gen(rd());
std::normal_distribution<> d(0.028413, 0.005);
class Node9{
public:
Node9(){
sub_4_9_flag = 0;
sub_4_9 = n.subscribe("topic_4_9", 1,... | [
"sasaki@thinkingreed.co.jp"
] | sasaki@thinkingreed.co.jp |
19711b8c587ed2136180fd1ba1f4b3a92709ebb0 | 46f7a44ef70b1f4c26760bab0e02fc9d097dcfe1 | /src/Tracker/graph/script.cpp | 02a41804cd97108162445f8e0b4c473612e4f447 | [
"Apache-2.0"
] | permissive | Smorodov/Multitarget-tracker | d9bf865ee4d842dfd858247f8baf304655c41c75 | 27fb61d15155591cc0be7d39daf0cc1a5c68284d | refs/heads/master | 2023-08-30T09:26:40.310522 | 2023-08-10T15:17:29 | 2023-08-10T15:17:29 | 11,808,499 | 2,137 | 660 | Apache-2.0 | 2023-08-10T15:17:31 | 2013-08-01T05:09:47 | C++ | UTF-8 | C++ | false | false | 4,170 | cpp | // $Id: script.cpp,v 1.1 2005/03/16 09:52:54 rdmp1c Exp $
//
// Simple program to apply an edit script to aa graph
//
#include <iostream>
#include <fstream>
#include <map>
#include <GTL/GTL.h>
#include <GTL/dfs.h>
#include "mygraph.h"
#include "tokenise.h"
int main (int argc, const char * argv[])
{
if (argc <... | [
"snuzhny@stc-spb.ru"
] | snuzhny@stc-spb.ru |
004a1d35631d688b5b402d1604b8ec04e7bd9750 | be947ec7af6d1039dbc2a829862876b71ebf597c | /CXHibernate/CXAttribute.cpp | 091cfdee0cd2438c6315665dad2b25ba2bf44404 | [] | no_license | pengge/CXHibernate | b398975d9fa84b581217dfa781b21107a11fa2a1 | 6eeb0b0d3604e673a4ef0d830dbfa09b2f8d3706 | refs/heads/master | 2020-06-12T11:48:13.192014 | 2018-08-07T14:07:30 | 2018-08-07T14:07:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,152 | cpp | ////////////////////////////////////////////////////////////////////////
//
// File: CXAttribute.cpp
//
// Copyright (c) 1998-2018 ir. W.E. Huisman
// All rights reserved
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Soft... | [
"edwig.huisman@hetnet.nl"
] | edwig.huisman@hetnet.nl |
5a810f6df71f6d2b56106a4b2aa03599019e13e5 | 4dadc995a96741669c6cc4fea558b1e2043259c4 | /common/ApplicationConfigReader.h | 0007cf54bc68cf55d56d4f292800cb5f10882d9d | [] | no_license | BoyDario/cmstkmodlab | 85989d590755fa69eb748a1b2bb795a8066c3b62 | df93a80b7c35340abf2ed0d00226a6ab03fe2637 | refs/heads/master | 2020-12-25T00:38:43.741796 | 2014-10-31T12:24:29 | 2014-10-31T12:24:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 507 | h | #ifndef APPLICATIONCONFIGREADER_H
#define APPLICATIONCONFIGREADER_H
#include <string>
#include <iostream>
#include <map>
#include <QObject>
class ApplicationConfigReader : public QObject {
Q_OBJECT
public:
ApplicationConfigReader( const std::string & filename );
~ApplicationConfigReader();
void fill(std:... | [
"andreas@mussgiller.de"
] | andreas@mussgiller.de |
e960478bbaf89b701fcecfb22e71e393b365f1bd | be0af1b599cc788752751784275a0a2e1f7bcfa6 | /docs/handout/Game Test/Project_12_Solution/Source/Collider.h | 17ab81331d057be1d4452e6f95bb4d15e8816508 | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | arnaubonada/Game-Installer-Creation | d5f6995d2ceaf2d67190d6d665847b54ad77fffc | ed24e9332952ceb9792d9937fa5fbf59a025c32e | refs/heads/main | 2023-04-21T05:04:58.103979 | 2021-05-12T00:36:59 | 2021-05-12T00:36:59 | 363,535,228 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 581 | h | #ifndef __COLLIDER_H__
#define __COLLIDER_H__
#include "SDL/include/SDL_Rect.h"
#define MAX_LISTENERS 5
class Module;
struct Collider
{
enum Type
{
NONE = -1,
WALL,
PLAYER,
ENEMY,
PLAYER_SHOT,
ENEMY_SHOT,
MAX
};
//Methods
Collider(SDL_Rect rectangle, Type type, Module* listener = nullptr);
vo... | [
"61042890+arnaubonada@users.noreply.github.com"
] | 61042890+arnaubonada@users.noreply.github.com |
8c0d26f23f0cd31cc11e6935d2aeaf8669143301 | 95dea8e78c60a39aff668f39d2f2af730093cd76 | /SAMSUNG_SDS/Day_2_H_2243.cpp | baa94857cbe533420bf290cbcc05023626126d49 | [] | no_license | nupdoong/algorithm | a78dfe1297813273799ca140b082a297e81e52ce | 14781e851febad963ed2fdd226ca7c8cf04b3e0a | refs/heads/master | 2021-07-16T13:48:49.168813 | 2021-06-29T14:41:38 | 2021-06-29T14:41:38 | 164,624,791 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 840 | cpp | #include <stdio.h>
int N;
int sumtree[1000001*4], Nidx;
void update(int idx, int delta)
{
while(idx>0)
{
sumtree[idx] += delta;
idx /= 2;
}
}
int get_kth(int k)
{
int cur = 1;
while(cur <= Nidx)
{
if(sumtree[cur*2] < k)
{
k -= sumtree[cur*2];
... | [
"noreply@github.com"
] | nupdoong.noreply@github.com |
32530dde9036da93cf055492eaf9819a3c9f38b0 | 8de602dee686599f10f782244103a2ada1ee1642 | /Parametrii.h | fd6a81c88dbff5ba3e4226db15cf338c052bbf5d | [] | no_license | petre007/CplusplusOOP | 237899e1cb29f3615a5c8ac5552f6cf5cbdf620b | 661f854087fa02c215488984ff8c22dfecfa5ab7 | refs/heads/main | 2023-08-25T07:30:58.204883 | 2021-11-03T00:32:42 | 2021-11-03T00:32:42 | 424,040,676 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 288 | h | #pragma once
#include <iostream>
using namespace std;
class Parametrii {
public:
virtual void accelerare (float valViteza) = 0;
virtual void radio (string muzica) = 0;
virtual void decelerare (float valViteza) = 0;
virtual ~Parametrii() {}
};
| [
"noreply@github.com"
] | petre007.noreply@github.com |
39b54e87901f4c515ce2b98584fac40eb170ff8e | d9fdc02504ada2192e2677cd63a9df9fbdd561e9 | /Timer.cpp | c8463f20d6e31ff52067f22b72bcdc1537a09402 | [
"MIT"
] | permissive | PreyMa/Pai | 78318e518d655d8845babed2118cd223a8e4853c | 6a49e8a4d87a016c0544c158e820c88bbcb6132e | refs/heads/master | 2022-01-16T22:26:02.335505 | 2019-09-03T10:27:16 | 2019-09-03T10:27:16 | 159,882,388 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,141 | cpp | //
// Created by Matthias Preymann on 28.07.2019.
//
#include "Timer.h"
#include "EventLoop.h"
#include "Console.h"
Timer::Timer( EventLoop &el )
: m_enable(true), m_eventList(T_listBucketSize), m_eventLoop(el), m_thread( Timer::run, this ) {}
void Timer::run() {
std::unique_lock<std::mutex> ... | [
"noreply@github.com"
] | PreyMa.noreply@github.com |
7d3e451153ef8a73dfb745167f0e1eb7819abc59 | c45ed46065d8b78dac0dd7df1c95b944f34d1033 | /TC-SRM-589-div1-250/immortalCO/GooseTattarrattatDiv1.cpp | 4d3f7ab2a4edf6675e59c65fca3ca61250c3eb9e | [] | no_license | yzq986/cntt2016-hw1 | ed65a6b7ad3dfe86a4ff01df05b8fc4b7329685e | 12e799467888a0b3c99ae117cce84e8842d92337 | refs/heads/master | 2021-01-17T11:27:32.270012 | 2017-01-26T03:23:22 | 2017-01-26T03:23:22 | 84,036,200 | 0 | 0 | null | 2017-03-06T06:04:12 | 2017-03-06T06:04:12 | null | UTF-8 | C++ | false | false | 818 | cpp | #include <cmath>
#include <vector>
#include <string>
#include <cstring>
#include <algorithm>
#include <cstdlib>
using namespace std;
typedef long long ll;
typedef long double ld;
int cnt[26], f[26];
int g(int i) {return f[i] == i ? i : f[i] = g(f[i]);}
class GooseTattarrattatDiv1
{
public:
int getmin(string S)
{
... | [
"1261954105@qq.com"
] | 1261954105@qq.com |
3a6931ab3f1fe5ea7ca9d4847b1ed9274b4b4671 | 228c905ee0f034579ce09547b27fccb807ee4d8d | /include/Team.hpp | 9c4954584758d48cf5a90000c53d29124ef1c70d | [] | no_license | Hamza7234/Tournament | 4cddafa815d3917280d8272c79cf76399908fca9 | ec28650d70654fc2eadc791ef3718ed059216d68 | refs/heads/main | 2023-04-22T14:37:17.105725 | 2021-05-14T17:59:42 | 2021-05-14T17:59:42 | 367,416,175 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 444 | hpp | #ifndef TEAM_HPP
#define TEAM_HPP
#include <string>
#include <list>
#include "Player.hpp"
class Team{
private:
std::string name;
std::list<Player> players;
public:
Team(std::string name);
~Team();
std::string toString();
void setName(std::string name)... | [
"skhamza843@gmail.com"
] | skhamza843@gmail.com |
7a880ad2b5ead7d678811b65179675d6769ca2e1 | 350b9cd0c7c563340f3463c60f959fc19f80d29b | /CameraOpenglEs/src/main/cpp/camera.cpp | 30e84608c613b4b416b227d09696f2196cf92091 | [] | no_license | TangGSen/OpenglStudyV1 | e288e057b807db8287850253b3c0806507c53c25 | 0eca79b4d6516b49be86bbcec98217818634bed3 | refs/heads/master | 2021-05-16T11:19:24.998788 | 2017-10-25T12:42:30 | 2017-10-25T12:42:30 | 104,992,357 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,575 | cpp | //
// Created by Administrator on 2017/10/20.
//
#include <ggl.h>
#include "camera.h"
//
//GLuint Camera::createOESTextureObject() {
// GLuint *tex;
// //生成一个纹理
// glGenTextures(1, tex);
// //将此纹理绑定到外部纹理上
// glBindTexture(GL_TEXTURE_EXTERNAL_OES, tex[0]);
// //设置纹理过滤参数
// glTexParameterf(GL_TEXTU... | [
"Jasonsens17@gamil.com"
] | Jasonsens17@gamil.com |
b4334225c75014bfced808990c5a47ea5a25452d | 63ada44f9f156e408af4a7319fe019f6e065a975 | /Branch_Master/Dark Light Engine 3/DarkLightEngine3/include/Engine/cECSPoolContainer.h | d1d6d42132b2a571da29363b654367ba25c149a5 | [] | no_license | GuilhermeCaetano/DarkLight-Engine-3 | c0014ae1329193c1f8322d4a8475387b70d48829 | d83846908ba2404aaee2327004cf44ccf559caf3 | refs/heads/master | 2020-07-23T16:39:51.072819 | 2019-09-10T19:59:16 | 2019-09-10T19:59:16 | 207,629,859 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,684 | h | #ifndef _cECSPoolContainer_HG_
#define _cECSPoolContainer_HG_
#include <OpenGL\OpenGLHeaders.h>
#include <unordered_map>
#include <vector>
#include <string>
struct sObject;
struct sMemoryChunk
{
sMemoryChunk();
~sMemoryChunk();
struct sContainer
{
sContainer(size_t amount, size_t size)
{
this->arraySize... | [
"guicaetano@terra.com.br"
] | guicaetano@terra.com.br |
5546f64bcb1072a20741b7cf80434269677ce34d | cb8c337a790b62905ad3b30f7891a4dff0ae7b6d | /st-ericsson/multimedia/imaging/isp_firmware/isp8500_firmware_IMX072/include/primary_sensor.h | 93fad417812325a47b61adee100aab683b4bb871 | [] | no_license | CustomROMs/android_vendor | 67a2a096bfaa805d47e7d72b0c7a0d7e4830fa31 | 295e660547846f90ac7ebe42a952e613dbe1b2c3 | refs/heads/master | 2020-04-27T15:01:52.612258 | 2019-03-11T13:26:23 | 2019-03-12T11:23:02 | 174,429,381 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 769 | h | /*
* Copyright (C) ST-Ericsson SA 2010. All rights reserved.
* This code is ST-Ericsson proprietary and confidential.
* Any use of the code for whatever purpose is subject to
* specific written permission of ST-Ericsson SA.
*/
#ifndef _SENSORPRIMARY_H
#define _SENSORPRIMARY_H
#include "sensor.h"
/**************... | [
"xiangxin19960319@gmail.com"
] | xiangxin19960319@gmail.com |
a0ceb61bfcda9fd16eb1f69d9cbd5a3d5630ea9a | 7187253f865f7bcbc82b98eaae4eb2f2755ba9ab | /src/renderers/shaders/ShaderChunk/roughnessmap_pars_fragment.glsl.cpp | 617a0aafce34ce2bfac108d1ff5bb96d004bed8f | [] | no_license | rajeev-ra/ThreeWin | c134275a628d894724ab43c32d9220dc3d20bc67 | ccf817e2ff0af567c09e60a1edc6f2eefef73a02 | refs/heads/master | 2020-04-19T18:00:41.405922 | 2019-03-01T12:42:19 | 2019-03-01T12:42:19 | 168,350,880 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 145 | cpp | #include "stdafx.h"
const char roughnessmap_pars_fragment[] =
"#ifdef USE_ROUGHNESSMAP \
uniform sampler2D roughnessMap; \
#endif \
"
; | [
"nit.rajeev@gmail.com"
] | nit.rajeev@gmail.com |
bbaae2c51284773a0731bddf6288bcd9bdd32ce7 | 171939de0a904c90f9af198b8e5d65f8349429d7 | /CQ-00327/airport/airport.cpp | a263abbaa791a8e991c65f933b47161b1b353e28 | [] | no_license | LittleYang0531/CQ-CSP-S-2021 | 2b1071bbbf0463e65bfc177f86a44b7d3301b6a9 | 1d9a09f8fb6bf3ba22962969a2bac18383df4722 | refs/heads/main | 2023-08-26T11:39:42.483746 | 2021-10-23T14:45:45 | 2021-10-23T14:45:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,760 | cpp | #include<bits/stdc++.h>
using namespace std;
const int M=1e5+1,MAX=0x7fffffff/2;
priority_queue<int, vector<int>, greater<int> > q1,q2;
int n,m1,m2;
int lm,mx,rm;
int Max=-1;
struct node1 {
int a1,a2;
}e1[M];
struct node2 {
int b1,b2;
}e2[M];
int cmp1(node1 x,node1 y) {
return x.a1<y.a1;
}
int cmp2(node2 x,node2 y) ... | [
"3286767741@qq.com"
] | 3286767741@qq.com |
d1cdf7d7f71a20ae920c1d81bd61888e29e3a2ff | c9b02ab1612c8b436c1de94069b139137657899b | /sgonline_srv/app/cgi/CgiActivity.cpp | 2a9c7ab3f890e3b5eaba7c4d2d47300fd3de65e6 | [] | no_license | colinblack/game_server | a7ee95ec4e1def0220ab71f5f4501c9a26ab61ab | a7724f93e0be5c43e323972da30e738e5fbef54f | refs/heads/master | 2020-03-21T19:25:02.879552 | 2020-03-01T08:57:07 | 2020-03-01T08:57:07 | 138,948,382 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 15,288 | cpp | /*
* CgiPointsRank.cpp
*
* Created on: 2012-10-17
* Author: Administrator
*/
#include "LogicInc.h"
#include "LogicQQPay.h"
#include "stdlib.h"
#define EXCHANGE_CODE_NOT_EXISIT 3
#define EXCHANGE_CODE_USED 2
#define USER_EXCHANGED_BEFORE 1
#define EXCHANGED_SUCCESS 0;
#define EXCHANGE_CODE_OUT_OF_DATE 4
clas... | [
"178370407@qq.com"
] | 178370407@qq.com |
603351f3730dc32062cbb65b7e34225d6c9a0437 | 12d9335eaee4e7acac078fb314436e3cf0e8b853 | /userspace/apps/panel/widgets/SettingToggle.h | 267da25b13fdd7521b42f8eb70c6d1f78797d49d | [
"MIT",
"BSD-2-Clause"
] | permissive | FMMazur/skift | 385ae04878f18bf7ee8e9a8ee89758de50e79510 | 8a837fdbdcb6b64215ce1abb3fb6cc5a9881eab5 | refs/heads/main | 2023-04-21T11:48:19.648979 | 2021-05-06T19:04:20 | 2021-05-06T19:29:48 | 364,786,643 | 0 | 0 | NOASSERTION | 2021-05-06T04:42:24 | 2021-05-06T04:42:23 | null | UTF-8 | C++ | false | false | 1,145 | h | #pragma once
#include <libsettings/Setting.h>
#include <libwidget/Components.h>
namespace panel
{
class SettingToggle : public Widget::Stateful<bool>
{
private:
String _name;
RefPtr<Graphic::Icon> _icon;
OwnPtr<Settings::Setting> _setting;
public:
SettingToggle(RefPtr<Graphic::Icon> icon, String nam... | [
"nicolas.van.bossuyt@gmail.com"
] | nicolas.van.bossuyt@gmail.com |
5e2da37c056489af52954b9ec82103d0f0177e6d | 9505b1c216ab9044d30887be5b2612affbcb3896 | /Source/TreeDrawGUI/Display/vector.h | cc0ae8889719705f995856993261b654c7eab4be | [
"BSL-1.0",
"MIT"
] | permissive | Merrik44/Yggdrasil | 11accdad8c38fd44a75c917029be6d6e8d3471c7 | dcc44c7f4da8023ff7ff66d13caa870e8fa2c14f | refs/heads/master | 2020-04-05T22:59:48.722740 | 2012-11-06T19:51:24 | 2012-11-06T19:51:24 | 6,003,037 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 649 | h | #ifndef VECTOR_H
#define VECTOR_H
#include "point.h"
class Vector
{
public:
float x,y,z;
Vector();
Vector(float ax, float ay, float az);
Vector(const Point &a, const Point &b);
void normalize();
static Vector average(Vector a, Vector b);
static Vector cross(const Vector &... | [
"merrik44@live.com"
] | merrik44@live.com |
41293bb2d826158d7e09c37663315ee3ae36db8a | a6e50ac7b8b9b25a00e6a623dcaf5c7e67f6b853 | /Algorithms/src/DictionaryBuilder.cc | 0a210a4679546c73dca819e24321ee86ac7b0552 | [] | no_license | kandrosov/OnChipDataCompression | 47f15a994f219fd407f155936dd126679b713683 | 9e2c1742855d2eb66ec4170cb705f9e241adc383 | refs/heads/master | 2021-01-23T04:53:14.826116 | 2017-03-05T14:58:18 | 2017-03-05T14:58:18 | 80,403,784 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,400 | cc | /*! The class that creates dictionaries for compression algorithms.
This file is part of https://github.com/kandrosov/OnChipDataCompression. */
#include <fstream>
#include "../interface/DictionaryBuilder.h"
namespace pixel_studies {
DictionaryBuilder::Producer DictionaryBuilder::CreateProducer(const std::string& nam... | [
"konstantin.androsov@gmail.com"
] | konstantin.androsov@gmail.com |
b410e44a73504af96f9cef35fe6212b0629d4dbc | 903f58e3d7f7df67de75ff8fe1e1be2558f2a003 | /src/ZBNoid/include/entities/avatars/Magnet.h | 19ff3ca688aebb59f6f4ec62402c139924ec9f51 | [
"Apache-2.0"
] | permissive | Degryll/ZBE | 77260a88b0db3de31d7eccbf4b1be8f2729fe15f | cd3c8ee39caa9f527dab4bf5af151f6f8057b218 | refs/heads/master | 2023-08-31T13:30:21.590818 | 2023-01-05T22:01:22 | 2023-01-05T22:01:22 | 15,457,954 | 5 | 0 | Apache-2.0 | 2019-05-20T21:31:08 | 2013-12-26T18:21:04 | C | UTF-8 | C++ | false | false | 646 | h | /**
* Copyright 2012 Batis Degryll Ludo
* @file CustomVector.h
* @since 2017-10-15
* @date 2017-10-15
* @author Batis Degryll Ludo
* @brief Interface capable of give the position of a magnet.
*/
#ifndef ZOMBIENOID_ENTITIES_AVATARS_MAGNET_H_
#define ZOMBIENOID_ENTITIES_AVATARS_MAGNET_H_
#include "ZBE/entities/a... | [
"isra.bautista@gmail.com"
] | isra.bautista@gmail.com |
cfdb215783215972164816b86d9e614ae4e66423 | 845347805a6975c91b2d0c27db9c980ef7b0c793 | /P++/include/data_hash.h | a1236018f88194b30eccafc628c9434fc0561ba5 | [] | no_license | unifem/aplusplus | e68d008c72f41ec63c70614586244d898b1fff99 | 592ed917a87f3e5db4958a86be19a30fc62059ee | refs/heads/master | 2021-05-14T02:01:51.241895 | 2018-01-07T16:53:16 | 2018-01-07T16:53:16 | 116,582,270 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,135 | h | // Allow repeated includes of hash.h without error
#ifndef _APP_HASH_H
#define _APP_HASH_H
// GNU will build intances of all objects in the header file if this
// is not specified. The result is very large object files (too many symbols)
// so we can significantly reduce the size of the object files which will
// bui... | [
"xmjiao@gmail.com"
] | xmjiao@gmail.com |
deb01b5b147c0fc591cf28f48fd5c4fd0aedc90a | 5298705370c757d8846d409382f7dcb8450d48b8 | /wbsModels/SpruceBudworm/SpruceBudwormLaboratoryEquations.cpp | 724c4b5a61845dc7db515fb682a93c6684551522 | [
"MIT"
] | permissive | RNCan/WeatherBasedSimulationFramework | 3d63b6a5fd1548cc5e5bac840f9e7c5f442dcdb0 | 05719614d2460a8929066fb920517f75a6a3ed04 | refs/heads/master | 2023-07-19T21:37:08.139215 | 2023-07-13T02:29:11 | 2023-07-13T02:29:11 | 51,245,634 | 7 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 9,655 | cpp | //*****************************************************************************
//WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
//*****************************************************************************
// 15/05/2020 Rémi Saint-Amant ORIGINIAL LABORATORY PARAMETERS
//*******... | [
"Tigroux74@hotmail.com"
] | Tigroux74@hotmail.com |
cedba9c7bca4617b11c6d3073db813544cdbe271 | 1b8ae9c88bcdd93b6ac06ee2690da1c8f3b0a9cd | /SharpMedia.Input.Driver.DirectInput/DICursor.h | a84036fc45cbf8cbee714c4178b56670d5512eaa | [
"Apache-2.0"
] | permissive | zigaosolin/SharpMedia | 7f5f9f5ffbbcac1e46e8c3bb1a83a8af876d1073 | b7b594a4c9c64a03d94862877ba642b0460d1067 | refs/heads/master | 2020-03-21T10:00:41.932062 | 2018-06-23T20:12:03 | 2018-06-23T20:12:03 | 61,386,704 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 430 | h | #pragma once
#include <windows.h>
#include <dinput.h>
using namespace System;
using namespace SharpMedia::Math;
namespace SharpMedia {
namespace Input {
namespace Driver {
namespace DirectInput {
// A direct mouse keyboard
public ref class DICursor : public IInputDevice
{
HWND hWnd;
public:
DICursor(HWND hWn... | [
"ziga.osolin@gmail.com"
] | ziga.osolin@gmail.com |
cf87ce6fdca2a6439887edd4810ae50b08095450 | ce21d5600222935398e13c7f2734958b1d522856 | /src/tools.cpp | c996ee0324e72fa05c0a4b90a2d822275d165dd2 | [
"MIT"
] | permissive | nturumel/CarND-Extended-Kalman-Filter-Project | 10f3ceac1b3449e5581b8105e6f5097e3a4fa81c | 3337dcb664bc187a0a7ddb28847e495084dcebd8 | refs/heads/master | 2022-06-29T02:53:04.235186 | 2020-05-11T18:53:23 | 2020-05-11T18:53:23 | 262,897,836 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,350 | cpp | #include "tools.h"
#include <iostream>
using Eigen::VectorXd;
using Eigen::MatrixXd;
using std::vector;
using namespace std;
Tools::Tools() {}
Tools::~Tools() {}
VectorXd Tools::CalculateRMSE(const vector<VectorXd> &estimations,
const vector<VectorXd> &ground_truth) {
/**
* TODO: ... | [
"nihar1912@live.com"
] | nihar1912@live.com |
8577de178fd1511bceaa599924c8bb460957a705 | 79b7c42c9007d9837168fe5b0f96ec49192b085d | /GameTemplate/Game/GameCamera.cpp | e02c43836446ed73b666409795f7d6651d468854 | [] | no_license | kajikawaarute/SaruGame | 0ad69a3f7026caa692f6695d7d540db25ff578a7 | 7089f62bbc86ee51f3a80d9a117e6ab0276aa13d | refs/heads/master | 2021-07-08T03:30:03.565980 | 2020-11-13T06:31:15 | 2020-11-13T06:31:15 | 209,673,822 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 1,106 | cpp | #include "stdafx.h"
#include "GameCamera.h"
#include "Player.h"
GameCamera::GameCamera()
{
m_toCameraPos.Set(0.0f, 250.0f, 500.0f);
g_camera3D.SetNear(10.0f);
g_camera3D.SetFar(30000.0f);
}
GameCamera::~GameCamera()
{
}
void GameCamera::Update()
{
//注視点
CVector3 Target = m_player->GetPos();
Target.y += 50.0f... | [
"kbc18b07@stu.kawahara.ac.jp"
] | kbc18b07@stu.kawahara.ac.jp |
8cfaf6248d946c64bbe96f0455069745adf0aeb9 | 96adec48bb4a4d0eb7470b9634a6076368f53957 | /Lazeeye/Serial.cpp | 1a64975ede98ec5b57a7f7ebfd5dda2d2dda8494 | [] | no_license | yanchunhui/Lazeeye | 73dfe4c1d92e6e2d926952f01abfa20e6a0d5026 | 665f382e8ab2a42fd79290b34a5c3856953f4480 | refs/heads/master | 2020-05-04T21:54:58.088516 | 2018-02-10T08:51:40 | 2018-02-10T08:51:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,266 | cpp |
#include "Arduino.h"
#include "config.h"
#include "Serial.h"
static volatile uint8_t serialHeadRX[UART_NUMBER],serialTailRX[UART_NUMBER];
static uint8_t serialBufferRX[RX_BUFFER_SIZE][UART_NUMBER];
static volatile uint8_t serialHeadTX[UART_NUMBER],serialTailTX[UART_NUMBER];
static uint8_t serialBufferTX[TX_BUFFER_SIZ... | [
"395361002@qq.com"
] | 395361002@qq.com |
f0bf31f02742f04ac55617d6df8cf8a584a78603 | aecc07b491f36a848375d9352b767772585051aa | /libs/famitracker/FamiTrackerDoc.h | b6dfe3c588ece372ba5ed9af70c4eee307c0c2a0 | [] | no_license | strfry/nesicide | 17bc92c782d3e5038522da648812af3f6a1ab1a5 | 2543d7bd04b52d4f3e6a693df7db6625e53b5d3e | refs/heads/master | 2021-01-24T00:52:39.251095 | 2013-02-27T12:29:11 | 2013-02-27T12:29:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,858 | h | /*
** FamiTracker - NES/Famicom sound tracker
** Copyright (C) 2005-2012 Jonathan Liss
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License as published by
** the Free Software Foundation; either version 2 of the License, or
** (at your opti... | [
"christopher_pow@hotmail.com"
] | christopher_pow@hotmail.com |
a05510e24d9a141a380ae2bd16e59613715824fc | 47bc067058e4d45f8729670b1bfa19aceaadc156 | /WBUP103.cpp | c1f754a37eefe6b34662089444444816f67ecaa4 | [] | no_license | return19/All-C-Codes | 0bd0df357cd4bbc6552e1d943df792a1b4d806bb | b1c2269d2436a0cd65a5ef022595300c4827520f | refs/heads/master | 2021-09-09T16:13:53.464406 | 2018-03-17T17:02:55 | 2018-03-17T17:02:55 | 125,650,568 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 989 | cpp | #include<bits/stdc++.h>
using namespace std;
char str[10100000];
int arr[10100000];
int temp[10100000];
int main()
{
int i,j,k;
int test,t;
int n;
scanf("%d",&test);
for(t=0;t<test;t++)
{
scanf("%s",str);
n=strlen(str);
if(n>5 || n<2)
{
printf("i... | [
"abhinandan1941996@gmail.com"
] | abhinandan1941996@gmail.com |
b528e79961c3a8c43ea621420a6c681d20f683a6 | 6781d245d4cdc4421b5f7c5aa1b68dd273249821 | /lab03/extension_exercises/blackjack-graphical-iter03/src/renderer.h | 0f2626a06296ee204744d8b96a4c933552fd389b | [] | no_license | adammw/hit3172 | 4217713b34ab52beb291fd5a6b8544c8ffcdb4b3 | 2e6984abebcc76f862f98bc6dcbd141e31179c12 | refs/heads/master | 2021-01-23T02:39:55.691092 | 2012-10-16T07:21:28 | 2012-10-16T07:21:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 286 | h | /*
* renderer.h
*
* Created on: 05/09/2012
* Author: Adam Malcontenti-Wilson
*/
#ifndef RENDERER_H_
#define RENDERER_H_
/**
* Interface for renderers
*/
class renderer {
public:
renderer();
virtual ~renderer();
virtual void render() = 0;
};
#endif /* RENDERER_H_ */
| [
"adman.com@gmail.com"
] | adman.com@gmail.com |
1545ec1d0c0c67592e2acb65eef0d50d1b093b58 | c6e96ceb2960a04862b132d2ad369b12331a5101 | /src/View/GlobalMessageWindow/globalmessagewindow.h | 22b5ab7d38e5658ffce54a182c9e7f4409592d93 | [
"MIT",
"Zlib"
] | permissive | kamibababa/SilentServer | b144027a82dd91567cdf14cf988d30954fa6aa40 | c7048be578bb0f9576c2c28a3846028fb3567fa2 | refs/heads/master | 2023-07-31T20:51:01.672355 | 2021-10-04T11:49:14 | 2021-10-04T11:49:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 703 | h | // This file is part of the Silent Server.
// Copyright Aleksandr "Flone" Tretyakov (github.com/Flone-dnb).
// Licensed under the ZLib license.
// Refer to the LICENSE file included.
#pragma once
#include <QMainWindow>
namespace Ui {
class GlobalMessageWindow;
}
class GlobalMessageWindow : public QMainWindow
{
... | [
"flonednb@gmail.com"
] | flonednb@gmail.com |
bf0f6f2a716d5503d739b0850f30374dc4be4dd3 | 624f6f2ae8b3b1adc5f8f67a365c51d5126be45a | /stage0/src/shell/lean_js.cpp | 55a4fc7224b6bafc736094c141543b85f92f2d19 | [
"Apache-2.0"
] | permissive | mhuisi/lean4 | 28d35a4febc2e251c7f05492e13f3b05d6f9b7af | dda44bc47f3e5d024508060dac2bcb59fd12e4c0 | refs/heads/master | 2021-05-17T04:24:49.283355 | 2020-03-25T13:24:49 | 2020-03-25T13:24:49 | 250,590,438 | 0 | 2 | Apache-2.0 | 2020-10-11T19:07:00 | 2020-03-27T16:50:14 | C | UTF-8 | C++ | false | false | 1,951 | cpp | /*
Copyright (c) 2015 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Leonardo de Moura
*/
#include <string>
#include "library/module_mgr.h"
#include "library/st_task_queue.h"
#include "library/module.h"
#include "library/type_context.h"
#include ... | [
"leonardo@microsoft.com"
] | leonardo@microsoft.com |
c58b248c7357accbf0c5f3c0181eac79d95ebda1 | d5c5db3e8e5db778f4f95bd315486a8985d949dd | /src/PointwiseFunctions/AnalyticSolutions/RelativisticEuler/FishboneMoncriefDisk.hpp | e1d9d255612db13aebf5c3c0c726e89936bf1f81 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | osheamonn/spectre | b9a060f121133c08ac3eda763269d89c893267f4 | 4a3332c61d749d83c161ea1c2ea014a937fd5dd8 | refs/heads/develop | 2021-09-20T20:38:10.631741 | 2018-10-02T01:10:34 | 2018-10-02T01:10:34 | 94,911,451 | 0 | 0 | NOASSERTION | 2018-10-02T03:09:23 | 2017-06-20T16:17:41 | C++ | UTF-8 | C++ | false | false | 11,962 | hpp | // Distributed under the MIT License.
// See LICENSE.txt for details.
#pragma once
#include <limits>
#include "DataStructures/DataBox/DataBoxTag.hpp"
#include "DataStructures/DataBox/Prefixes.hpp"
#include "DataStructures/Tensor/TypeAliases.hpp"
#include "Options/Options.hpp"
#include "PointwiseFunctions/Hydro/Tags.... | [
"ca455@cornell.edu"
] | ca455@cornell.edu |
44e7d673b0107d8d0614e15481d08e2661eaedbd | 73a0d4bb6a4042d795bebfc62173e1ea0c930592 | /rtcMem.ino | 6ff580d7c73f7fc0d6825c8332698b165ceef8fa | [] | no_license | kuc-arc-f/WiFiClient_ntpTest_2 | 62025e657c18d70731c6007e9e38ffd7b4bf2b42 | cd3ec4233a3b5f8057da019fc90c185c7f7dde25 | refs/heads/master | 2021-01-20T22:44:53.653430 | 2017-08-31T01:56:48 | 2017-08-31T01:56:48 | 101,822,268 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 255 | ino |
//
int rpcMem_isValid_wakeup(){
int ret= mNG_CODE;
String resetReason = ESP.getResetReason();
Serial.println(resetReason);
if ( resetReason == "Deep-Sleep Wake" ) {
Serial.println("## wake=DS") ;
ret= mOK_CODE;
}
return ret;
}
| [
"naka@kuc-arc-f.com"
] | naka@kuc-arc-f.com |
88a2add6bac121281da5e4d4db4067d7046129b6 | bd1fea86d862456a2ec9f56d57f8948456d55ee6 | /000/097/157/CWE36_Absolute_Path_Traversal__wchar_t_console_open_63a.cpp | 3340edad582ad1cd6cac2388a7e29a266e52d4d1 | [] | 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,255 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE36_Absolute_Path_Traversal__wchar_t_console_open_63a.cpp
Label Definition File: CWE36_Absolute_Path_Traversal.label.xml
Template File: sources-sink-63a.tmpl.cpp
*/
/*
* @description
* CWE: 36 Absolute Path Traversal
* BadSource: console Read input from the console
* ... | [
"frank@fischer.com.mt"
] | frank@fischer.com.mt |
efdd0bf130c08e27f67a6f0bc844d6959b3eb992 | 4a75b5dabe28e6feea6b07ed4a003feed1ee48d2 | /VMachine/VMachine/SoundCard/Ym3812/Ym3812Channel/Ym3812Operator/Ym3812Operator_CalculatePhaseIncrement.cpp | a67ca41991b80573b02abbf34b3494482b7edf3e | [] | no_license | Creeper20428/Data | f2892cccbfced603c640693ae31e3ca5780a691c | 3f31b8a1e43df5309ed8f485a0216d3b4a830745 | refs/heads/master | 2021-03-12T22:08:21.313052 | 2016-01-11T04:11:55 | 2016-01-11T04:11:55 | 25,183,032 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 433 | cpp | // VMachine
// Calculate the phaseIncrement
//
// Copyright (c) 2006, Paul Baker
// Distributed under the New BSD Licence. (See accompanying file License.txt or copy at
// http://www.paulsprojects.net/NewBSDLicense.txt)
#include "Root.h"
#include "Ym3812Operator.h"
void Ym3812Operator::CalculatePhaseIncrement(void)
{... | [
"elementalcreeper2002@gmail.com"
] | elementalcreeper2002@gmail.com |
ed2ff468872e441651c80b7f153dd64ffceaef71 | 53e80199ebbff7d01207f95655f15c68644ebb50 | /Project/directoryviewer.h | 007321b2320b1c1b2a352b6cb91668b2278d763e | [] | no_license | RoshaMrLesha/Basecamp | d388dc52bd754c3684cef486ea8ca87857c9bbe5 | 90fa59514445fe30fbbd05d73b3b37e52a552ff8 | refs/heads/master | 2020-06-10T02:42:18.800645 | 2016-12-10T16:47:51 | 2016-12-10T16:47:51 | 76,124,996 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 920 | h | #ifndef DIRECTORYVIEWER_H
#define DIRECTORYVIEWER_H
#include "directoryprocessor.h"
#ifndef _WIN32
#include "unixgetch.h"
#endif
#define CHANGE_DIR 0
#define MOVE_FILE 1
#define PAIR std::make_pair<std::string, int>
#ifdef _WIN32
#define KEY_ENTER 13
#define KEY_UP 72
#define KEY_DOWN 80
#define ROOT_LEN 3
#else
#defi... | [
"vitaliylviv3@gmail.com"
] | vitaliylviv3@gmail.com |
cdcf0c733e15076798a6293454d7a564781f2f81 | cd7a51532ddb6cbc1ea03dce2cc7d11d76c20bb7 | /hdi/dimensionality_reduction/wtsne.cpp | 45927899821672c4854de7e5be5ad46bf274da3b | [
"MIT"
] | permissive | biovault/HDILib | 5bdc2cdca2299aa494d7a6fd9a60675769cb3560 | ca61b8e711f13621077d99131d106d27ef7177e9 | refs/heads/master | 2023-07-21T03:48:00.275315 | 2023-03-12T16:11:09 | 2023-03-12T16:11:09 | 210,351,618 | 6 | 8 | MIT | 2023-01-11T14:18:53 | 2019-09-23T12:38:19 | C++ | UTF-8 | C++ | false | false | 2,469 | cpp | /*
*
* Copyright (c) 2014, Nicola Pezzotti (Delft University of Technology)
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* 1. Redistributions of source code must retain the above ... | [
"nicola.pezzotti@gmail.com"
] | nicola.pezzotti@gmail.com |
e35ec2c519e5af29e104f62a1456fa78142cb3ad | 8993af47e75e0d331ee4d52864f88d1e089840c6 | /ESP8266_IoT_IBM/ESP8266_IoT_IMB.ino | 7a0ab5831eb5903a46a98925032a0167b266b8e8 | [
"MIT"
] | permissive | pedrotecinf/ESP8266_IoT_IBM | b92f24a950d8f7e081cfd9bcd3690f5f6ddf7997 | 2785f5c31a755c6cc842ce9df6a77d7e228f3479 | refs/heads/main | 2023-04-01T04:28:16.133984 | 2021-03-26T16:56:39 | 2021-03-26T16:56:39 | 351,852,772 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,693 | ino | #include <ESP8266WiFi.h>
#include <PubSubClient.h>
#include <ArduinoJson.h>
#include <DNSServer.h>
#include <ESP8266WebServer.h>
#include <WiFiManager.h>
// Altere estes dados pelos obtidos ao cadastrar o novo dispopsitivo no Watson Iot
const String ORG = "967k08";
const String DEVICE_TYPE = "NODE-MCU";
cons... | [
"noreply@github.com"
] | pedrotecinf.noreply@github.com |
1b0cefecb6cd1514ff527a5d1a56121814147ba0 | 70c1d93fd809d767e7a10611a83425234d1f7a77 | /OnlineJudge/ACM_ICPC_NET/10159.cc | 1e96f0e8fd6da16d60429b7fa75720e9c34aa56a | [] | no_license | BlinkingStar7/Problem_Solving | 1e52348d3f013ab1849697894d7e30cf540697f8 | 9f115c831ffb70cd3dfedf6fbee782fba4cfc11a | refs/heads/master | 2021-01-21T04:27:40.184818 | 2016-08-26T09:24:40 | 2016-08-26T09:24:40 | 51,363,595 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,006 | cc | #include <bits/stdc++.h>
using namespace std;
#define PI 2*acos(0.0)
#define INF 1e8
#define EPSILON 1e-8
#ifdef DEBUG
#define DPRINTF(x) printf x
#else
#define DPRINTF(x) ;
#endif
typedef pair<int, int> pii;
typedef pair<int, pair<int, int> > piii;
typedef vector<int> vi;
typedef vector<pii> vpii;
typedef vector<bool... | [
"steadies@naver.com"
] | steadies@naver.com |
8f6aba11494e9ccfe10f72b8b74b27379c38101b | 4d6356af258d3a8386613b6ad3b63c51309f04cf | /unittests/basic/adt/SetVectorTest.cpp | 20d28801bae93b8a51a9954c92c708e252a1cad6 | [] | no_license | polarvm/polarvm | cccbb7259b8648bc67cb2cbb6bd5afa5681e1a92 | 024800c4c92097948ba50ea5e58705718c281958 | refs/heads/master | 2020-03-24T20:08:28.141240 | 2018-07-23T22:47:12 | 2018-07-23T23:03:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,065 | cpp | // This source file is part of the polarphp.org open source project
//
// Copyright (c) 2017 - 2018 polarPHP software foundation
// Copyright (c) 2017 - 2018 zzu_softboy <zzu_softboy@163.com>
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See http://polarphp.org/LICENSE.txt for license infor... | [
"zzu_softboy@163.com"
] | zzu_softboy@163.com |
a87901f86422cbb8c283ee265d4d603f3280589c | 6102e12de63065cd00744ff227a256d34b963a7e | /modules/fvmbase/KSearchTree.h | 2da99918b81393fee109ed8e4b44b15cc2ab2f26 | [] | no_license | wqabc2008/MemosaTopOpt | c94dd94ba442315c69e2a579509b4e298f1d83e0 | e1104a77853c4c5f6454985ba7d1c9652a4f3fac | refs/heads/master | 2021-05-17T16:37:42.165268 | 2019-02-25T08:20:17 | 2019-02-25T08:20:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,585 | h | // This file os part of FVM
// Copyright (c) 2012 FVM Authors
// See LICENSE file for terms.
#ifndef _KSEARCHTREE_H_
#define _KSEARCHTREE_H_
#include "GeomFields.h"
#include "Mesh.h"
#include <CGAL/basic.h>
#include <CGAL/Search_traits.h>
#include <CGAL/Orthogonal_k_neighbor_search.h>
struct MyPoint
{
typedef ... | [
"neelimaajay@NeelimasMBP961.attlocal.net"
] | neelimaajay@NeelimasMBP961.attlocal.net |
0d1bc2c3740c8d4957184ad92598d90efae2d3aa | a76c91c31100e22699cd0d257fb397b91e311541 | /proj.ios_mac/ios/DOTInterface.h | 35dee4b5cdcb1a5f44b26cf35016209728127df8 | [] | no_license | WisetrackerTechteam/RW-cocos-package | 12e8ea055083683353430883d91795ff71b54cbb | 6f99be243c0b7793b363addc49ffcf435a1750cb | refs/heads/master | 2021-03-14T17:44:17.940335 | 2021-01-12T06:03:50 | 2021-01-12T06:03:50 | 246,780,416 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 665 | h | //
// DOTInterface.h
// SimpleGame
//
// Created by Woncheol Heo on 2020/04/13.
//
#ifndef DOTInterface_h
#define DOTInterface_h
#include <stddef.h>
class DOTInterface
{
public:
static void initialization();
static void setUser(std::string userJson);
static void setUserLogout();
static void onStar... | [
""
] | |
2f6d4cc1f566215855c4a705575abebaf33bbda2 | 12ebe854439315a1a21108ad8efbb33e463182e0 | /midi分析程序/Analyzer.cpp | 9c3f69871f3a578536ced08d18770df9dbc21f1a | [] | no_license | andy521/a-midi-analyser-and-data-visulization | 4361a4a1cfbe549bf57522738bc4cbff15b021d1 | f0afd304d2679a32037abab9fcd64a500e9f1365 | refs/heads/master | 2021-01-08T07:19:08.373682 | 2017-03-15T09:31:06 | 2017-03-15T09:31:06 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 21,360 | cpp | #include"analyzer.h"
#include<stdio.h>
#include<sstream>
#include<algorithm>
Analyzer::Analyzer() :currentTime(0){};
void Analyzer::initialize()
{
relation.clear();
relation.insert(map<string, int> ::value_type("C", 0));
relation.insert(map<string, int> ::value_type("G", 7));
relation.insert(map<string, int> ::va... | [
"804805328@qq.com"
] | 804805328@qq.com |
8b49ff1071b7ca0faaa6ac19c3e3b854a21c104e | 88a80772cee59ae3df2e217303f21c41de9330da | /src/Tutorial/opcprime.cc | e74581e0055cfc5761b6b7594439ddf7e73109a2 | [] | no_license | Satwik95/SPOJ | 3771f7002e27abf74c86881b984f7b74a94769f3 | fc176ba10bf486da50364eb71b6a680e9c40abb6 | refs/heads/master | 2020-03-21T02:55:51.346821 | 2016-07-07T02:04:13 | 2016-07-07T02:04:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 523 | cc | // http://www.spoj.com/problems/OPCPRIME/
#include <cstdio>
#include <cmath>
using namespace std;
int main() {
long long n;
scanf("%lld", &n);
if (n % 2 == 0) {
printf("2\n");
while (n % 2 == 0) {
n /= 2;
}
}
for (int i = 3; i <= sqrt(n); i += 2) {
if ... | [
"rayzhang1011@gmail.com"
] | rayzhang1011@gmail.com |
0ae2d36dccc776a1514bef9dd504e832235592af | 3b7cd0192a3da7758458637086694bcea6c9b777 | /C/serverB.cpp | 0da988e086324885b6e3717342beeaa16f82f155 | [] | no_license | jonasrla/stream_receiver | cb0c213fbd11848385f8540e34ddcc1fa2cfcb2d | b0fcff8e638cfc9ec82bdf7ef0c74b98a8cb8f55 | refs/heads/master | 2016-09-05T21:21:01.951457 | 2015-06-17T16:25:30 | 2015-06-17T16:25:30 | 35,956,552 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,997 | cpp | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include "opencv2/highgui/highgui.hpp"
using namespace std;
using namespace cv;
void error(const char *msg)
{
perror(msg);
exit(1);
}
int create_server(int po... | [
"jonasrla@gmail.com"
] | jonasrla@gmail.com |
7d6fa57548758002dcc8a7d89ba1d92c74c17bea | 899b7a39677e44202e66c0dc82a99ee6660b74c8 | /sources/src/RTFEM/DataStructure/Vector4.cpp | 729759a2597a819fde11b3e7376f8040769f4073 | [] | no_license | haoxiangmiao/RT-FEM | 190da601796efb64386a9fb04caf0b9dec97d847 | 65a64a016e28cc7f715c5f324bf8bca79d2d3e82 | refs/heads/master | 2021-09-17T23:05:40.984783 | 2018-07-06T14:01:35 | 2018-07-06T14:01:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 223 | cpp | #include "RTFEM/DataStructure/Vector4.h"
namespace rtfem {
Vector4::Vector4() : x(0), y(0), z(0), w(0) {}
Vector4::Vector4(double x, double y, double z, double w)
: x(x), y(y), z(z), w(w) {}
Vector4::~Vector4() {}
} | [
"jakub.ciecier@gmail.com"
] | jakub.ciecier@gmail.com |
b2973a96b0e9d33f9c842bca089d7f4a8370e15c | fdec31c01570d224531b780221a9a8ae86cf9742 | /abc200/B.cpp | b96615c735137aedd87430476cf88232e43b3071 | [] | no_license | TYakumo/AtCoder | 83c7959a9547c8c6ee8eae84fcb6db77b315fcc9 | 63f8d390108117cb734cdbd5a6fad4c77c384d0e | refs/heads/master | 2021-11-07T03:36:01.432919 | 2021-10-24T01:26:11 | 2021-10-24T01:26:11 | 247,380,851 | 0 | 0 | null | 2021-10-24T01:26:12 | 2020-03-15T01:24:34 | C++ | UTF-8 | C++ | false | false | 773 | cpp | #include <cstdio>
#include <cstring>
#include <algorithm>
#include <iostream>
#include <vector>
#include <map>
#include <queue>
#include <set>
#include <cmath>
#include <queue>
#include <unordered_map>
#include <unordered_set>
#include <sstream>
#include <iomanip>
using namespace std;
using VI = vector <int>;
using VV... | [
"foxs91092@gmail.com"
] | foxs91092@gmail.com |
a7c4b4acf7b01314b9012483053159936d35293a | 1e73e9666ada206a143ea677c64c193fee04dbb8 | /Settings/aboutform.cpp | 4caf7044a3ce7c4b8a877522bb865e88c72d5414 | [] | no_license | kopalatommy/AQSync_UI | 6ccde98a274a655ed646bbc16652f3afe6bd4ef6 | 72c75ea8906e2471421633190e97eb8464c94e8f | refs/heads/master | 2020-12-06T05:28:29.066836 | 2020-06-12T21:51:47 | 2020-06-12T21:51:47 | 232,353,190 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 559 | cpp | #include "aboutform.h"
#include "ui_aboutform.h"
AboutForm::AboutForm(QWidget *parent) :
QWidget(parent),
ui(new Ui::AboutForm)
{
ui->setupUi(this);
//ui->buildLabel->setText("Build number: " + QString::number(AQSyncSettings::GetInstance()->GetBuildNumber()));
}
AboutForm::~AboutForm(){
... | [
"kopalatommy@gmail.com"
] | kopalatommy@gmail.com |
66ad9876f7310fbced76ce51aeb386f1a65b7c7e | f13d58b82ab70b42ff017432272e4e9fc3d8d99a | /contests/2015-Ural-Regional-School-Programming-Contest/URAL 2067 F.cpp | 8f7874225200a17e26e772a501c25f466a436895 | [] | no_license | WEGFan/Algorithm-Contest-Code | 3586d6edba03165a9e243a10566fedcc6bcf1315 | a5b53605c0ec7161d12d48335171763a2ddf12b0 | refs/heads/master | 2020-11-26T10:33:02.807386 | 2019-12-19T12:05:17 | 2019-12-19T12:05:17 | 229,043,842 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 859 | cpp | #include <iostream>
#include <cstdio>
#include <algorithm>
#include <cmath>
using namespace std;
const int N = 2e5 + 7;
struct Point
{
long long x, y, idx;
} arr[N];
int main()
{
int n;
scanf("%d", &n);
for (int i = 0; i < n; i++)
{
scanf("%lld %lld", &arr[i].x, &arr[i].y);
arr[i... | [
"goofans@qq.com"
] | goofans@qq.com |
898884346a184544e4caeb9f2b5380dc181c3061 | 0006f89c8d952bcf14a6150e9c26c94e47fab040 | /src/trace/D3DDriver/D3DControllers/D3DControllers.cpp | 6aa5982d1365885e4482d699309acb54b59f5752 | [
"BSD-3-Clause"
] | permissive | cooperyuan/attila | eceb5d34b8c64c53ffcc52cd96b684d4f88b706f | 29a0ceab793b566c09cf81af26263e4855842c7a | refs/heads/master | 2016-09-05T18:55:56.472248 | 2013-06-29T14:42:02 | 2013-06-29T14:42:02 | 10,222,034 | 8 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 543 | cpp | #include "Common.h"
#include "CRoot.h"
#include "D3DControllers.h"
CRoot *D3DControllers::croot;
void D3DControllers::initialize() {
D3D_DEBUG( cout << "D3DControllers: Initializing" << endl; )
croot = new CRoot();
D3DState::get_root()->add_controller(croot);
}
void D3DControllers::finalize() {
D3D_... | [
"cooperyuan@gmail.com"
] | cooperyuan@gmail.com |
0b42bab280a9295a50d35fab9867b3fb19b84d20 | 36183993b144b873d4d53e7b0f0dfebedcb77730 | /GameDevelopment/3D Game Engine Architecture/Windows/MagicSoftware/WildMagic3/Source/Distance/Wm3DistSegment3Segment3.h | a5b0005dc279762cbdaee2f8b61ffe28a3147e25 | [] | no_license | alecnunn/bookresources | b95bf62dda3eb9b0ba0fb4e56025c5c7b6d605c0 | 4562f6430af5afffde790c42d0f3a33176d8003b | refs/heads/master | 2020-04-12T22:28:54.275703 | 2018-12-22T09:00:31 | 2018-12-22T09:00:31 | 162,790,540 | 20 | 14 | null | null | null | null | UTF-8 | C++ | false | false | 1,439 | h | // Magic Software, Inc.
// http://www.magic-software.com
// http://www.wild-magic.com
// Copyright (c) 2004. All Rights Reserved
//
// The Wild Magic Library (WM3) source code is supplied under the terms of
// the license agreement http://www.wild-magic.com/License/WildMagic3.pdf and
// may not be copied or disclosed ... | [
"alec.nunn@gmail.com"
] | alec.nunn@gmail.com |
2a037d9b12a7ab8611949387e14f3fdb2323cf9a | dd5356457879b9edf8c982a412e0068f94da697d | /SDK/RoCo_UdpMessaging_enums.hpp | d0a7fe645f1afea68f2f0121c598ac86add6396b | [] | no_license | ALEHACKsp/RoCo-SDK | 5ee6567294674b6933dcd0acda720f64712ccdbf | 3a9e37be3a48bc0a10aa9e4111865c996f3b5680 | refs/heads/master | 2023-05-14T16:54:49.296847 | 2021-06-08T20:09:37 | 2021-06-08T20:09:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 659 | hpp | #pragma once
// Rogue Company (0.60) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace SDK
{
//---------------------------------------------------------------------------
//Enums
//---------------------------------------------------------------------------
// Enum UdpMessaging.EUdpMessageFormat
enum cla... | [
"30532128+pubgsdk@users.noreply.github.com"
] | 30532128+pubgsdk@users.noreply.github.com |
6aeaa7401c637aa7c10a5852991f22d31a136ca3 | 61eb3c918ea2ac1949a71edfa63781ed56b474d4 | /src/solar/core/Object.h | e849a20262d0cf6b8b63e0eb5e22b4a14b398a4c | [] | no_license | jacob-doll/SolarEngine | aa3a11011aa488bb1d41a72956105cb361a4902d | e5557586189ad6efb29afe65b7e8ff09e9fed19c | refs/heads/master | 2021-08-17T07:24:56.944246 | 2017-11-20T22:30:08 | 2017-11-20T22:30:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,973 | h | #pragma once
#include <functional>
#include <vector>
#include <string>
#include <map>
#include <memory>
#include <boost\variant.hpp>
#include <boost\any.hpp>
#include "..\Types.h"
namespace solar
{
class Context;
class EventHandler;
#define SOLAR_OBJECT(typeName) \
public: \
virtual const std::string getType... | [
"99jdoll@gmail.com"
] | 99jdoll@gmail.com |
ad27c94141a672f619e19b47864f81a42298cc88 | 2436afdd72c52c8254f4da68bbda4ec865258d13 | /dmp.cpp | b204d49ead4b2e0d058d3c92df78c374e4160bb6 | [] | no_license | biquaternion/abcde | 91768f0575afd158d5bc07ccdfcc7a49c971ae10 | 6dd5dd74d23a0af7b274aca6f86c40eb386d465d | refs/heads/master | 2020-05-21T00:30:23.495816 | 2020-04-20T10:28:15 | 2020-04-20T10:28:15 | 24,067,536 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 375 | cpp | //
// Created by DKlestov on 25.01.2017.
//
#include <fstream>
#include "dmp.h"
void dmp(const std::string &fileName,
unsigned char *buffer,
int size) {
std::ofstream out(fileName,
std::ofstream::binary | std::ofstream::out | std::ofstream::trunc);
out.write((char *) bu... | [
"dklestov@at-consulting.ru"
] | dklestov@at-consulting.ru |
c1192156ed7e3673f9154f192d74bce438f645e7 | c070f2870dd0853e5cb3c7acf7d815970997a6d3 | /app/src/main/cpp/native-lib.cpp | 0ddbdcafdbe116dddb453e3a1bf062677352e703 | [] | no_license | li19960924/lijie | 44d794683aaee505ac5b2adf3dce26f0b5891b1e | bee167f184ec0abd447427e3aef2d0dfec9d9af8 | refs/heads/master | 2021-01-23T00:01:53.016540 | 2017-03-26T05:10:49 | 2017-03-26T05:10:49 | 85,688,968 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 248 | cpp | #include <jni.h>
#include <string>
extern "C"
jstring
Java_cn_edu_cuit_videogo_MainActivity_stringFromJNI(
JNIEnv* env,
jobject /* this */) {
std::string hello = "Hello from C++";
return env->NewStringUTF(hello.c_str());
}
| [
"1763844812@qq.com"
] | 1763844812@qq.com |
7814b9a1105999b5eb899fe1deb1e7e9a59ef0a3 | 85c0bb984fed23cdfde5b0fe5b7b2ae04a50b173 | /code/超级乘方.cc | f35b6a5e5382b386c7d4e6a2d946bd7056f148b1 | [] | no_license | NTU-ACM/ntu_acm | c4d8acf1692af7c44bb24652d5207c65d4d7a15c | cf0ec9617153d9054cb9c29c83737de605a25c27 | refs/heads/master | 2021-06-07T20:07:19.616468 | 2021-04-26T01:51:42 | 2021-04-26T01:51:42 | 134,153,463 | 1 | 2 | null | 2018-05-20T13:34:01 | 2018-05-20T13:34:01 | null | UTF-8 | C++ | false | false | 1,411 | cc | /*
* Author: Simon
* 功能: 求a^a^a^a^...^a mod m,总共b个
* 复杂度: O(log(m))
*/
#include<bits/stdc++.h>
using namespace std;
typedef int Int;
#define int long long
#define INF 0x3f3f3f3f
#define maxn 1000005
int Phi(int x) {
int ans = x;
for (int i = 2; i * i <= x; i++) {
if (x % i == 0) {
ans = ans / i * (i - 1);
... | [
"ntlihy@gmail.com"
] | ntlihy@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.