blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 905
values | visit_date timestamp[us]date 2015-08-09 11:21:18 2023-09-06 10:45:07 | revision_date timestamp[us]date 1997-09-14 05:04:47 2023-09-17 19:19:19 | committer_date timestamp[us]date 1997-09-14 05:04:47 2023-09-06 06:22:19 | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 22
values | gha_event_created_at timestamp[us]date 2012-06-07 00:51:45 2023-09-14 21:58:39 ⌀ | gha_created_at timestamp[us]date 2008-03-27 23:40:48 2023-08-21 23:17:38 ⌀ | gha_language stringclasses 141
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 115
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
52989c785f0bc255ceb3876a47d2acf8b6b0ad6e | 9b67e6b7f814b2a4013ceeaf59e000c2827e8296 | /src/engine/fxwater.cpp | e038781d04eb7f327d5ab5cae504c0b8dea26ba4 | [] | no_license | google-code-export/basextreme | 68bb94ae1730958c436feaa830a58ef77c65d161 | 1de2bf48dbd988da73b251a8bbb802ca9c450507 | refs/heads/master | 2020-04-06T04:02:14.149074 | 2010-11-04T19:41:36 | 2010-11-04T19:41:36 | 32,108,112 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,649 | cpp |
#include "headers.h"
#include "shader.h"
#include "../common/istring.h"
#include "camera.h"
#include "effect.h"
#include "light.h"
#include "geometry.h"
#include "vertexdeclaration.h"
ID3DXEffect* FxWater::_effect = NULL;
StaticLostable* FxWater::_effectLostable = NULL;
const char* FxWater::effectName = "Water";
... | [
"juliustrinkunas@f55754ec-eb73-11de-9e3d-99312c638492"
] | juliustrinkunas@f55754ec-eb73-11de-9e3d-99312c638492 |
84f731aa219764279b0eca448736c2b4083ff331 | ece46d54db148fcd1717ae33e9c277e156067155 | /SDK/arxsdk2013/utils/Atil/Inc/codec_properties/SubSamplingInterface.h | abc10898e331ece48452544bf363062d862c21c7 | [] | no_license | 15831944/ObjectArx | ffb3675875681b1478930aeac596cff6f4187ffd | 8c15611148264593730ff5b6213214cebd647d23 | refs/heads/main | 2023-06-16T07:36:01.588122 | 2021-07-09T10:17:27 | 2021-07-09T10:17:27 | 384,473,453 | 0 | 1 | null | 2021-07-09T15:08:56 | 2021-07-09T15:08:56 | null | UTF-8 | C++ | false | false | 3,491 | h | ///////////////////////////////////////////////////////////////////////////////
//
// (C) Autodesk, Inc. 2007-2011. All rights reserved.
//
// Permission to use, copy, modify, and distribute this software in
// object code form for any purpose and without fee is hereby granted,
// provided that the above copyright not... | [
"zhangsensen@zwcad.com"
] | zhangsensen@zwcad.com |
34343a83914b79d40192b410f655a6fcdfcdfeb2 | 2074042220e6a4ceb5995fefaabf82fa093257d1 | /Src/Equation/Centered/VOF.Ver2/vof_advance_x.cpp | 5c8892dec49c8cf9e2c7af3456c79d10bf38fc81 | [] | no_license | Wentao2017/PSI-Boil | 8e544baba060618f6c650b7bf05b9465e123ef8b | c1305e1f5eae8e39f937970501b4cea35dafe438 | refs/heads/master | 2020-03-29T22:39:24.781583 | 2018-11-13T09:08:59 | 2018-11-13T09:08:59 | 150,433,359 | 0 | 0 | null | 2018-09-26T13:44:13 | 2018-09-26T13:44:13 | null | UTF-8 | C++ | false | false | 1,528 | cpp | #include "vof.h"
/******************************************************************************/
void VOF::advance_x() {
// advance in the x-direction
Comp m = Comp::u();
for_vmijk((*u),m,i,j,k){
// flux
real f;
// upwind i-index
int iup = i-1;
if((*u)[m][i][j][k]<0.0) iup = i; ... | [
"Jefferson2010@126.com"
] | Jefferson2010@126.com |
afb2d5983a1e4a4438f97fe4fbbc3166d6c19402 | d9da2556380d0887f1d0daa3a3b38a1c824e5c7b | /cogra/libcogra/libcogra/impl/tools/NormalizeFilename.cpp | 62c9e73fabbaea0e79057e377e50f11bb089ec5b | [
"MIT"
] | permissive | OutOfCache/gdcv-exercises | da921c22f8b4f1c25b2e4c55e40a9f2f7ac412df | 7ec0d6665452754c5a190496b71c09e5c2ae1ff8 | refs/heads/master | 2023-06-19T16:22:57.711414 | 2021-07-13T05:08:50 | 2021-07-13T05:08:50 | 354,879,257 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 900 | cpp | //
// Created by Sebastian Michel (seb9621s) on 17.04.20.
//
#include <cogra/tools/NormalizeFilename.h>
//not working with current project compiler
/*
#if __cplusplus > 201402L
#include <filesystem>
std::string normalizeFilename(const std::string& fileName) {
return fs::absolute(fileName);
}
#else
*/
#if WIN32
#inc... | [
"outofcache@tutanota.com"
] | outofcache@tutanota.com |
7c7d96e7fa4caffcb1b40f7382de16fdc8cc4d6c | 40bb05c86ce83769172b4dfe0ef26c9239c156db | /src/compression/Compressor.hpp | 00fdb469aeed3a153cef1e06a32bae084604ad01 | [
"Apache-2.0"
] | permissive | xDimon/primitive | 204d5763db9e292e8c2dd5a2e78435ebaf786f2a | 092e9158444710cdde45c57c4115efa06c85e161 | refs/heads/master | 2022-03-28T09:24:10.728615 | 2019-05-30T16:27:00 | 2019-05-30T16:27:00 | 103,276,659 | 12 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,686 | hpp | // Copyright © 2018-2019 Dmitriy Khaustov
//
// 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... | [
"khaustov.dm@gmail.com"
] | khaustov.dm@gmail.com |
2bb460dfa358441820bfd7f30a37c559353cbe5e | 2190d13506cf922c8f584285f0b1d732b1d9205b | /Client/rb.chatclient.h | dbeb79531ef03263f78ce2f77fc98e93690792ea | [] | no_license | Hybride-ru/RustyBrain | 2df05d709b81897b8eb07439a466d6aa36122bcf | bde93751899ae40388ae59ca3d11f1bc74fa25f5 | refs/heads/master | 2020-12-24T13:17:07.216245 | 2012-10-04T08:50:11 | 2012-10-04T08:50:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,748 | h | /****************************************************************************
**
** Copyright (C) 2012 Eremin Yakov and Putintsev Roman.
** All rights reserved.
**
**
** This file is part of the RustyBrain project.
**
**
** GNU Lesser General Public License Usage
** This file may be used under the terms of th... | [
"derom.92@mail.ru"
] | derom.92@mail.ru |
54376559699c6c80544b027323f4c1fd16fee355 | 23f35b2d300ce3698dc3a0ef19ac9ac76ff360da | /64FrameWork/Tool/Code/DynamicCamera.cpp | 2f3b3d855e176fe25a1fe3a30854772eb4e1d2c2 | [] | no_license | cat5778/CodeVein7.0 | ea22d99e71aa9ce0e0988fa0b3dac541c9a4260e | 9060290d96dc3d4ebb6418938b6a7377594dc11b | refs/heads/master | 2022-12-01T06:34:38.464392 | 2020-08-16T04:00:34 | 2020-08-16T04:00:34 | 278,945,120 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 12,088 | cpp | #include "stdafx.h"
#include "DynamicCamera.h"
#include "Export_Function.h"
#include "StaticObject.h"
#include "StaticMesh.h"
CDynamicCamera::CDynamicCamera(LPDIRECT3DDEVICE9 pGraphicDev)
: Engine::CCamera(pGraphicDev)
, m_bClick(false)
, m_bMouseFix(true)
{
}
CDynamicCamera::~CDynamicCamera(void)
{
}
HRESULT C... | [
"cat57@DESKTOP-LVHRP7G"
] | cat57@DESKTOP-LVHRP7G |
c30239270f263fd89f5925caaed51228e72e9c13 | c0c6b2924a2497418835afba1451ba81df7e2c2c | /Arduino/libraries/MPU9250SPI/MPU9250SPI.cpp | a2540ebda750d3e38c112f6887ef7e8dc8aff3f9 | [] | no_license | looke/Spiride | a9ca70402b5010e576103e6bc574bf2cba495bd8 | 5f7d839291372ae4c1b141ab0050c41a5bb2b106 | refs/heads/master | 2021-01-12T13:23:26.927153 | 2017-10-28T13:59:28 | 2017-10-28T13:59:28 | 68,970,127 | 2 | 2 | null | null | null | null | IBM852 | C++ | false | false | 9,194 | cpp | // Do not remove the include below
#include "MPU9250SPI.h"
MPU9250SPI::MPU9250SPI()
{
magSelectPin = 10;
//ACC Original Data
acc_X_H = 0;
acc_X_L = 0;
acc_X = 0;
acc_Y_H = 0;
acc_Y_L = 0;
acc_Y = 0;
acc_Z_H = 0;
acc_Z_L = 0;
acc_Z = 0;
//Mag Original Data
mag_X_H = 0;
mag_X_L = 0;
mag_X = 0;
mag_Y_H =... | [
"52668057@qq.com"
] | 52668057@qq.com |
6eab603e9623d3cfa6f4d861d38499afff2e1d51 | f704e21026530623909a2adda4524824dd7ef693 | /Qt/Console/ConeUnfoldingC/Misc.cpp | 2ace4ec8bf68aa411ce1afa472ca7da492fe6cdc | [] | no_license | LarsHaalck/Bachelorarbeit | 068f32be9823370eaa91770b30a6867c11bc581b | d722243496601fbf502e35a9d2e76af337b893f8 | refs/heads/master | 2021-01-13T10:34:44.253468 | 2016-09-30T11:16:14 | 2016-09-30T11:16:14 | 76,671,440 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,691 | cpp | #include "Misc.h"
//determine angle from vector pt1 -> pt2 with x axis
double Misc::angleWithX(const cv::Point2d& pt1, const cv::Point2d& pt2)
{
cv::Point2d dirPt = pt2 - pt1;
dirPt = 1 / cv::norm(dirPt) * dirPt;
double angle = atan2(dirPt.y, dirPt.x);
angle = Misc::mod(angle, 2 * CV_PI);
return angle;
}
//sort ... | [
"l_haal02@uni-muenster.de"
] | l_haal02@uni-muenster.de |
dce204180e01d2d34f520aa52c87828ddadb3d51 | 4bd252041e9981fa83db7dbb8fc9e5769beccad9 | /rico/src/RicoBeta.cpp | dc6c298db267ca66df696c6c8d9142f5992d14eb | [] | no_license | aaadriano/RICO | a71028b2c74b31530c698b65fa183a9ce7decc4d | ddd0e5b2e1baf3e528be641856537121f7923bd3 | refs/heads/master | 2021-01-01T07:38:33.371178 | 2013-12-08T18:06:07 | 2013-12-08T18:06:07 | 239,175,725 | 1 | 0 | null | 2020-02-08T17:43:02 | 2020-02-08T17:43:01 | null | UTF-8 | C++ | false | false | 562 | cpp | #include "RicoBeta.h"
#include <iostream>
#include <sstream>
#include <string>
#include "gsl.h"
// RicoBeta ////////////////////////////////////////////////////////////////////////
double RicoBeta::CDF(double x) const {
// Pr(X <= x)
if(x <= 0) return 0;
if(x >= 1) return 1;
return gsl_sf_beta_inc(m_alpha, ... | [
"tom@tomfielden.com"
] | tom@tomfielden.com |
cf5d2095bc4be417998f0897b936e407e40c26c4 | 0f824c04505e9a5f103ba2e8a712fc6264c3c79a | /test_chain.cpp | 32dabd8016d6a58e6df3325e0310426e3ef39135 | [] | no_license | susanlei/Chains | a9be7da72037c8a611dfbf8e2e8bf08ea1f2bd6d | c6046d6bcd360064949f41467bd765522af64915 | refs/heads/master | 2021-08-16T05:02:41.698845 | 2017-11-19T01:20:09 | 2017-11-19T01:20:09 | 111,182,305 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,786 | cpp | // Do not change this file other than adding header files
// if needed.
// You can also comment parts of the functions, and uncomment
// as you add more functionality.
#include <chain.h>
#include <iostream>
#include <string>
using namespace std;
using namespace teaching_project;
// Place stand-alone function in unname... | [
"Rainicorn@Susans-MBP.home"
] | Rainicorn@Susans-MBP.home |
3211b5d4ee8b1ac3f4a4837450a2c6e446dcc1e7 | f9726d2483d3c5ac38c8867a9cf962dc1bcaf5b4 | /CSE 225L Data Structures and Algorithms/Resources/Codes Previous/Spring-2019-CSE225 1/HW3_10(Stack Linked List)/StackType(4).h | bd5b3848c8a6e4980fe48bbe820450f7aa3f7280 | [
"MIT"
] | permissive | diptu/Teaching | e03c82feefe6cda52ebd05cd644063abb3cf8cd5 | 20655bb2c688ae29566b0a914df4a3e5936a2f61 | refs/heads/main | 2023-06-27T15:27:32.113183 | 2021-07-31T05:53:47 | 2021-07-31T05:53:47 | 341,259,841 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 463 | h | #ifndef STACKLINKLIST_STACKTYPE_H
#define STACKLINKLIST_STACKTYPE_H
class FullStack{};
class EmptyStack{};
struct NodeType;
template <class ItemType>
class StackType {
struct NodeType
{
ItemType info;
NodeType* next;
};
public:
StackType();
~StackType();
void push(ItemType);
... | [
"diptunazmulalam@gmail.com"
] | diptunazmulalam@gmail.com |
838fbcbe0338a0fae4d65506efe8aac55d5ce979 | 753777cd3722ad731f848908e94adc7630c8cf4f | /CSE 570 - Compilers/Lab4/Lab4.cpp | db0037e3c1139e05037d88c0e84561603fc1bb1c | [] | no_license | MikeSmith14/School-Work | cf6bac0b791689f302844ecc1c16ecea55f8e7aa | eb31894356463bd65e73a17a2d3a1fd7d1a6da45 | refs/heads/master | 2020-04-15T08:21:58.108962 | 2019-01-08T01:24:30 | 2019-01-08T01:24:30 | 164,520,007 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,595 | cpp | //Michael Smith
//CSE 570
//Lab 4
#include <iostream>
#include <stdlib.h>
#include <fstream>
#include <string>
#include <vector>
#include <set>
#include <map>
using namespace std;
typedef multimap<char, string> SetOfItems;
typedef std::multimap<char, string>::iterator MMAPIterator;
class GParser
{
public:
void re... | [
"mikesmith6@msn.com"
] | mikesmith6@msn.com |
f80774a521999f7e1980237c0e99697ebad4febc | 6a8aaf9c16f4856532cf9acc14dd33a602ccc115 | /src/tmx/TmxCore/src/utils/AutoResetEvent.h | a50e7b2e6dba914be5471c89d8ba2a81a8aabc5a | [
"Apache-2.0"
] | permissive | RCVWPHASEII/V2I-Hub | ffcbfa6cb445bed281d1406b8b7cb7fa5b8beff8 | 5ed6d672b92257af60db0eb06ea32acfcf7c3674 | refs/heads/master | 2023-05-07T20:08:42.223640 | 2021-05-18T02:46:40 | 2021-05-18T02:46:40 | 360,922,301 | 0 | 2 | NOASSERTION | 2021-04-30T21:58:32 | 2021-04-23T15:07:10 | null | UTF-8 | C++ | false | false | 536 | h | /*
* AutoResetEvent.h
*
* Created on: Dec 5, 2014
* Author: ivp
*/
#ifndef AUTORESETEVENT_H_
#define AUTORESETEVENT_H_
#include <pthread.h>
#include <stdio.h>
class AutoResetEvent
{
public:
explicit AutoResetEvent(bool initial = false);
~AutoResetEvent();
void Set();
void Reset();
bool WaitOne();
p... | [
"zinkg@battelle.org"
] | zinkg@battelle.org |
957ccff55e86fc480e59500d95f4d7b9ce2ef04c | 88885e8e59855530c09ac930ae57914cbe4fe0f8 | /Source/xs_publicinclude/GPSReceiverDetails.h | 4046eeb9251423f40f9f73ba567f17f5f9e923ac | [] | no_license | klainqin/LandXmlSDK | 8767c46c36b2257d388e50a25e64956c7c6ed020 | ca52863d66d172b00835f66cef636790e668a52f | refs/heads/master | 2021-01-10T08:30:45.007060 | 2015-11-25T10:20:13 | 2015-11-25T10:20:13 | 46,108,934 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,164 | h | #if !defined(__GPSRECEIVERDETAILS_H)
#define __GPSRECEIVERDETAILS_H
#include "GPSReceiverDetails.h"
#include "LXTypes.h"
namespace LX
{
// Class : GPSReceiverDetails
class GPSReceiverDetails : public Object
{
public:
virtual void toXml (IStream& stream) = 0;
public:
// Collections
public:
/... | [
"qink@shac02q6273g8wn.ads.autodesk.com"
] | qink@shac02q6273g8wn.ads.autodesk.com |
d5d2477699943512acc4f345704f4b1cc4d299c4 | 47d1ad1237ab890e995d51d3e3784dc65e01caec | /milestone/ms1/ms1_MenuTester.cpp | e35124fd279e1297cae599961592ce8df6e6f77e | [] | no_license | kyurim9399/C244 | 385afcb2ebe0c0dc2bbd386ab6e5138f7bb77871 | 61b1a01c0f1dcd8eca9face15d54be595c6a52fb | refs/heads/master | 2022-12-17T00:24:52.347050 | 2020-09-18T19:13:14 | 2020-09-18T19:13:14 | 296,703,934 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,509 | cpp | //kyurim kim 168819183 kkim125@myseneca.com
/* ------------------------------------------------------
Final Project Milestone 1
Module: Menu
Filename: ms1_MenuTester.cpp
Version 1.1
Author Fardad Soleimanloo
Revision History
-----------------------------------------------------------
Date Reason
2020/3/2 Prelimi... | [
"kyurim9399@gmail.com"
] | kyurim9399@gmail.com |
92234e3675353f8275db6df38a28b4de705ba938 | f6434fb8764722d22a3635625e4f861d6ec630c7 | /source/Vizor/Platform/SwapchainController.hpp | fe3fe4e729c540bda99703a95f2809dfe2235137 | [
"MIT"
] | permissive | kurocha/vizor-platform | a5252ec6af43caae25217b31ebd21d8c8b2dc955 | 100ad5ba5be12abef15686047143ca506557f1da | refs/heads/master | 2022-12-24T10:11:38.454321 | 2022-12-11T07:38:22 | 2022-12-11T07:38:22 | 171,962,944 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,111 | hpp | //
// SwapchainController.hpp
// This file is part of the "Vizor" project and released under the MIT License.
//
// Created by Samuel Williams on 20/11/2017.
// Copyright, 2017, by Samuel Williams. All rights reserved.
//
#pragma once
#include "SurfaceContext.hpp"
#include "Window.hpp"
namespace Vizor
{
namespa... | [
"samuel.williams@oriontransfer.co.nz"
] | samuel.williams@oriontransfer.co.nz |
0b2aa6aab1713eb87914d8f707fd20f2f388bb0d | 26895da3fd967482267764720f9640c26015d1fc | /src/Shader.h | e441ea0fb5723b28fd483610fd7066312d8e8478 | [] | no_license | omardelarosa/infinity-terrain-3d | ea8b586777b1918bae92121f8145eec9907ecc5c | 7373be27f3d521cc19f00305409a35a0778ee4ac | refs/heads/master | 2020-11-25T14:01:08.392716 | 2019-12-17T21:15:57 | 2019-12-17T21:15:57 | 228,701,813 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 10,242 | h | #pragma once
#include <fstream>
#include <iostream>
#include <streambuf>
#include <string>
class Shader {
private:
std::string filename;
std::string contents;
public:
Shader(){};
// A helper method to load shaders from glsl files
Shader(std::string _filename) {
filename = _filename;
... | [
"thedelarosa@gmail.com"
] | thedelarosa@gmail.com |
cf3399210d95a1af800cf871ece6a971657dd90b | 2ac18de671c83dbb886ec37ead5036dffb200938 | /cpp/10.Library/BookRecord_t.h | 07f286978a8b61bc5e852a5b35ed7dab53250b72 | [] | no_license | ArikDavidov/work | 63541877df6d48f78864aa598b30a165d5e59ff8 | 624b75375b9832812b7de793104bb6ecdac09db1 | refs/heads/master | 2021-05-14T07:13:21.670976 | 2018-01-10T10:46:00 | 2018-01-10T10:46:00 | 116,259,333 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 868 | h | #ifndef __BOOK_RECORD_T_H__
#define __BOOK_RECORD_T_H__
#include "Book_t.h"
#include <list>
#include <string>
using namespace std;
class BookRecord_t
{
public:
BookRecord_t(const string _ISBN, const string _title,
const string _author, unsigned _numOfCopies);
virtual ~BookRecord_t();
const Book_t* GetBook(... | [
"arik.davidov@gmail.com"
] | arik.davidov@gmail.com |
00ba7f776974989945348e8925aee170d6498503 | e1bafb9c94db3a6cfd86ce4b3a641e79583220b3 | /leetcode-clion/array/basic/26.remove-duplicates-from-sorted-array.cpp | 39873262ae7e119630271e8eb5a993b8d5e7a8fa | [] | no_license | lightjameslyy/lt-cpp | 055b0245ba9cc4608db6a0d08dc081d1c2766ba2 | 525c3f0fbeb4b112361a6650bf3ef445fdb61e2c | refs/heads/master | 2021-07-09T08:32:24.405308 | 2020-06-08T08:45:10 | 2020-06-08T08:45:10 | 128,907,003 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,098 | cpp | /*
* @lc app=leetcode id=26 lang=cpp
*
* [26] Remove Duplicates from Sorted Array
*
* https://leetcode.com/problems/remove-duplicates-from-sorted-array/description/
*
* algorithms
* Easy (42.31%)
* Total Accepted: 723.6K
* Total Submissions: 1.7M
* Testcase Example: '[1,1,2]'
*
* Given a sorted array n... | [
"lightjameslyy@gmail.com"
] | lightjameslyy@gmail.com |
906c2c70b5ddeed1a26acf4bbbc4f76bed097dcf | f9c7120c407d8c9f2aa4d3b53d33bfd64aa54845 | /test/LinearAlgebra/dense/vector_transform.cpp | dc59c88677206529552afae43b5280092b3ba786 | [] | no_license | vincent-picaud/LinearAlgebra | c0522b8758dd69f91e46cbc65a4b808130aad5de | d847ca847050d5a5c1bcb91efb3c3913debdb345 | refs/heads/master | 2023-01-10T17:26:26.307492 | 2020-10-30T10:24:57 | 2020-10-30T10:24:57 | 233,703,121 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 854 | cpp | #include "LinearAlgebra/dense/vector_transform.hpp"
#include "LinearAlgebra/dense/vector.hpp"
#include <gtest/gtest.h>
using namespace LinearAlgebra;
TEST(Vector_Transform, basic)
{
Tiny_Vector<int, 3> v;
EXPECT_EQ(v.size(), 3);
v[0] = 0;
v[1] = 1;
v[2] = 2;
transform([](const auto v_i) { return v_i +... | [
"picaud@am-080027980deb.intern"
] | picaud@am-080027980deb.intern |
59c6f7efe4336c12cdf0f5483c648b7c203e62a8 | fb1ee45958e3147200abe8815148dcaa8274b272 | /Modules/Array/LegacyFramework/OVCandidateList.cpp | 9fe606a79ed3fdd3b412501c758dc5455451931e | [
"MIT"
] | permissive | kttann/openvanilla | f91dda0c8d5f84f9c543c309e3751ebfb9adb32c | de6e0e336d41e5a2891ab2f5e6a4ff7e58d6e2d0 | refs/heads/master | 2021-01-18T18:06:56.832664 | 2017-01-20T06:24:08 | 2017-01-20T06:24:08 | 63,533,914 | 0 | 0 | null | 2016-07-17T13:43:45 | 2016-07-17T13:43:44 | null | UTF-8 | C++ | false | false | 3,220 | cpp | // OVCandidateList.cpp: A simple candidate list class
//
// Copyright (c) 2004-2008 The OpenVanilla Project (http://openvanilla.org)
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
//
// ... | [
"lukhnos@lukhnos.org"
] | lukhnos@lukhnos.org |
8a2cfe0ee9cb3c9c2e47d2813e8eb7430a6f0ccc | 770cfdb46881d237b076a87e656260dbdf5be2c6 | /src/RenderWindow.h | fbcb0d7a77ee9c6832ceea30387c58205e1b952b | [] | no_license | TomasKimer/RetroSpace | 47445a1e1d89404ccabb9cda718c71407a810066 | d33f55986c798c4587048a56a651e7f0e873041c | refs/heads/master | 2020-12-24T17:36:19.056761 | 2015-07-06T13:36:12 | 2015-07-06T13:36:12 | 38,620,726 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,908 | h | // +------------------------------------------------------------+
// | RetroSpace v1.0 |
// | Retrospektivni hra pro dva hrace s vesmirnou tematikou |
// | Bakalarska prace, FIT VUT v Brne, 2011 |
// +----------------------------------------------------... | [
"tomas.kimer@gmail.com"
] | tomas.kimer@gmail.com |
e807b7edd191347211be4dae9ed7c7ffce968b10 | d3affeadad9619cda35d5cd8674e503be203ac29 | /finalproject/src/hw_soln/fire_module/solution1/syn/systemc/FIFO_fire2_matrix_e3x3_stream_o_35_V.h | 0f71c455e5407f1ee266b6adbcd34a0ff8983bfa | [] | no_license | chl218/FPGA-for-Computer-Vision | 800c98ebf6df4d8ec1818698d401f88dd448fe79 | 9ccad894bf7ac59d9f4c33afcd385ea3f47bf938 | refs/heads/master | 2021-01-20T02:42:47.126346 | 2017-05-02T05:07:10 | 2017-05-02T05:07:10 | 89,445,626 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,829 | h | // ==============================================================
// File generated by Vivado(TM) HLS - High-Level Synthesis from C, C++ and SystemC
// Version: 2015.4
// Copyright (C) 2015 Xilinx Inc. All rights reserved.
//
// ==============================================================
#ifndef FIFO_fire2_matrix_... | [
"chl218@eng.ucsd.edu"
] | chl218@eng.ucsd.edu |
2abe1904bcfa52377c5e586b291077892560de0c | 0b508c21b3a219f0c9f05e7457f34517fd31a119 | /UVA/11936/22424558_AC_0ms_0kB.cpp | 96ff6af84993f058f189db8f7ac886fdba14b549 | [] | no_license | shiningflash/Online-Judge-Solutions | fa7402d37f8ca3238012d7cff76255dec3e9e2b0 | fc267f87b6c0551d5bdf41f2e160fce58b136ba9 | refs/heads/master | 2021-06-11T20:52:16.777025 | 2021-03-31T12:52:54 | 2021-03-31T12:52:54 | 164,604,423 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 284 | cpp | #include <bits/stdc++.h>
using namespace std;
int main() {
//freopen("in.txt", "r", stdin);
int n, a[3];
for (cin >> n; n--; ) {
cin >> a[0] >> a[1] >> a[2];
sort(a, a+3);
cout << (a[0] + a[1] > a[2] ? "OK\n" : "Wrong!!\n");
}
return 0;
}
| [
"shiningflash007@gmail.com"
] | shiningflash007@gmail.com |
3d0f5383f8bac7e8036cc8c45bcb92bebfa44145 | fbd8efe2bb3a5a1e040ab2b1db599dfe402a40bb | /code/Mathematics/Combinatorics_Lib.cpp | e81beb8150e1b3b681a826fd327b65a53dacef9d | [] | no_license | gratus907/Little_Piplup | 970e89d1a9cf595850ca21572659cc07470afd5f | d490b3ed0671e1d2bda79b33960f31ff57abe9aa | refs/heads/master | 2020-08-03T17:05:37.031552 | 2020-07-31T16:56:36 | 2020-07-31T16:56:36 | 211,822,135 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 794 | cpp | const int MAX_N = 1000020;
const int mod = 1000000007;
ll modpow(ll x, ll y, ll p = mod)
{
ll res = 1;
x = x % p;
while (y > 0)
{
if (y & 1)
res = (res*x) % p;
y = y>>1;
x = (x*x) % p;
}
return res;
}
int fact[MAX_N+5];
int invfact[MAX_N+5];
int binom(int n,... | [
"gratus907@naver.com"
] | gratus907@naver.com |
2ce222d0cd7741df48af722924e78cfe526d5ecd | 53459785cde3f53732dcdb42ad96b65f7aa1fccc | /source/Misc/Utilities/LinkedList.h | 175f043c68d0f150b62075de9819689661bcfc4a | [] | no_license | dean11/NoEdge | 7f33f775c8083b9ba2861d45b68082059da3f870 | 2cc8a59b8155acd3a3f939716da339e5a90cc5db | refs/heads/master | 2021-01-18T03:01:10.586525 | 2015-01-15T21:38:13 | 2015-01-15T21:38:13 | 29,315,116 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,076 | h | /////////////////////////////////////////////////////////////////////
// Created by [Dennis Andersen] [2013]
/////////////////////////////////////////////////////////////////////
#ifndef MISC_LINKED_LIST_H
#define MISC_LINKED_LIST_H
namespace Utility
{
namespace DynamicMemory
{
template <typename Type>
class Li... | [
"carl.dennis.andersen@gmail.com"
] | carl.dennis.andersen@gmail.com |
a8475f6a380499457b3d360e6423cde316cd89dc | d39f4ea6bd2751a516476b4bc8b60cb548311deb | /Plugins/CurveIK/Source/CurveIKEditor/Private/CurveIKEditModeBase.cpp | 1a714c5018723c142b2182e0dc4ed6e66d103df2 | [] | no_license | ChairGraveyard/CurveIK | d4851a6d045b1ea77ee254c2da5ca13b0fc96a66 | fd7832885371fa79455a63cc66b0694f8ae5d7cf | refs/heads/master | 2023-01-03T22:26:20.487618 | 2020-10-21T02:42:41 | 2020-10-21T02:42:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 22,060 | cpp | // Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
#include "CurveIKEditModeBase.h"
#include "EditorViewportClient.h"
#include "IPersonaPreviewScene.h"
#include "Animation/DebugSkelMeshComponent.h"
#include "BoneControllers/AnimNode_SkeletalControlBase.h"
#include "EngineUtils.h"
#include "AnimGraphNode_Ske... | [
"dharness.engineer@gmail.com"
] | dharness.engineer@gmail.com |
2beeea09998c11e90d7357296cbf2cee9edcd8a2 | 5a58a6e70cd5d70ad239912832d8ed73efd16bfe | /Chapter3/Example3_7.cpp | 3664bfd46da952a8860d3a7305f562da5f27c2c9 | [] | no_license | jled7/Cengage-C-Plus-Plus | dfb24d796abc50917f7fe388c15d3b9b695587ed | 14669c3e96855ec31c24c7ef1b57477a927aa5ab | refs/heads/master | 2022-03-08T01:45:14.707573 | 2014-04-29T19:27:51 | 2014-04-29T19:27:51 | 18,109,434 | 0 | 3 | null | 2022-02-21T00:02:53 | 2014-03-25T17:23:07 | C++ | UTF-8 | C++ | false | false | 589 | cpp | //Functions peek and putback
#include <iostream>
using namespace std;
int main()
{
char ch;
cout << "Enter a string: ";
cin.get(ch);
cout << endl;
cout << "After first cin.get(ch); "
<< "ch = " << ch << endl;
cin.get(ch);
cout << "After second cin.get(ch); "
<< "ch = " << ch << endl;
cin.putba... | [
"snakers.7@gmail.com"
] | snakers.7@gmail.com |
f4e9b97f751ae94a75827d1dc273399fedbd39bf | 66f5e37f75db29a6e5b9151d164c87cf32457d10 | /CodeJam2009/Round 1C/BribeThePrisoners/BribeThePrisoners/main.cpp | cea7cb254eed684b92f461131a4f5bbfc934580f | [] | no_license | Jakub-Kuczkowiak/Contests | 965aa1a943c1a73d376124804b73c02d7a7f5356 | 14805753ef68c21ff05fdc95f635a6fd6fbd7531 | refs/heads/master | 2020-03-26T20:57:23.509244 | 2018-10-01T23:13:27 | 2018-10-01T23:13:27 | 145,357,201 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,326 | cpp | #include <iostream>
#include <vector>
#include <unordered_map>
#include <algorithm>
#include <string> // is needed in gcc?
#include <limits.h>
//#include <bits/stdc++.h> // contains all headers instead (only on g++)
#define PRIME_MOD (1000000007) // should add to library
using namespace std;
int main() {
ios_base::... | [
"jakubkuczkowiak@gmail.com"
] | jakubkuczkowiak@gmail.com |
087eb3313ffe8bc30d9141fab3156dd8bc675f83 | 6b5d6690678f05a71837b85016db3da52359a2f6 | /src/net/server/http_server.cc | ab05af87ed869e7174971daa496d0cbfaf5cf8fb | [
"BSD-3-Clause",
"MIT"
] | permissive | bopopescu/MQUIC | eda5477bacc68f30656488e3cef243af6f7460e6 | 703e944ec981366cfd2528943b1def2c72b7e49d | refs/heads/master | 2022-11-22T07:41:11.374401 | 2016-04-08T22:27:32 | 2016-04-08T22:27:32 | 282,352,335 | 0 | 0 | MIT | 2020-07-25T02:05:49 | 2020-07-25T02:05:49 | null | UTF-8 | C++ | false | false | 14,992 | 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 "net/server/http_server.h"
#include <utility>
#include "base/bind.h"
#include "base/compiler_specific.h"
#include "base/location.h"
#includ... | [
"junhuac@hotmail.com"
] | junhuac@hotmail.com |
3d81198e0cc838afaee8e2949b79cd0f09c64afb | da0899519f0722acbcdd5e0aaf08849db887d42d | /vendor/marvell/generic/labtool/Host/DutApiWiFiBt/DutApi878XDll/DutApi878XDll.cpp | d9efe5b60ea701da2b005d66c33198899da85ce9 | [] | no_license | ljvblfz/TD100 | 5ac9968a823008b9c55440a85606a22adf1599e2 | 89b962ee3056d076220b8a972762f23367567a9f | refs/heads/master | 2023-08-19T20:02:49.540718 | 2017-04-29T13:10:05 | 2017-04-29T13:10:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 60,884 | cpp | /** @file DutApi878XDll.cpp
*
* Copyright (C) 2009-2010, Marvell International Ltd.
* All Rights Reserved
*/
// DutApiCfDll.cpp : Defines the entry point for the DLL application.
//
#include "../../DutCommon/Clss_os.h"
#include DUTDLL_SHARED_H_PATH // "../DutApi878XDll.h" //
//#include DUTCLASS_BT_H_PATH //... | [
"342981011@qq.com"
] | 342981011@qq.com |
734ee709925f5d8c13aea3a2bc2e27de530b561c | 587da61056fe45788b7a37b01df6cf6f00555db7 | /d2o12.6 - Hello Char pointers/main.cpp | fe94402cb0758aafbc24cf645eeebbe756daa5be | [] | no_license | Vesterberg/1st-repository | 8b4c1d44547114e95973c288f171532ca94622e2 | 389c2aa6ed5edb50847d6167739118468e8d20e5 | refs/heads/master | 2020-12-24T13:28:22.203377 | 2015-07-23T19:19:47 | 2015-07-23T19:19:47 | 33,448,198 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 196 | cpp | #include <iostream>
using namespace std;
void hello(char* namn)
{
cout << "Hey, " << namn << ". My name is text." << endl;
}
int main()
{
hello("Kalle");
cin.get();
return 0;
}
| [
"lightbulbclick@gmail.com"
] | lightbulbclick@gmail.com |
ca5935d53273498a2e9f41eaca49e5bfd94ef279 | 475798fc8c06c1d5b1d9845b1011e4d865836d6f | /Cobalt/CoInterface/src/Pool.h | fb67b4f9b07863deee32ff8ba8b484465f24fcc2 | [] | no_license | mfkiwl/Beamfomer-on-GPUs | 73b8549e26c482ffa35b292b5049991ae236af25 | a5ff7846cc5e7909c312f3ff8af64eb3c4d88e6b | refs/heads/master | 2021-06-05T19:50:15.542685 | 2016-09-13T10:04:50 | 2016-09-13T10:04:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,557 | h | //# Pool.h
//# Copyright (C) 2012-2013 ASTRON (Netherlands Institute for Radio Astronomy)
//# P.O. Box 2, 7990 AA Dwingeloo, The Netherlands
//#
//# This file is part of the LOFAR software suite.
//# The LOFAR software suite is free software: you can redistribute it and/or
//# modify it under the terms of the GNU Gene... | [
"lbq@shao.ac.cn"
] | lbq@shao.ac.cn |
bf33aaee77c09502fda7626853240d06486a42c1 | b9df5420df306036655ac57ec3f8994489c68f00 | /src/compute_strategy_costs.cpp | f60e635ae0c0665d9bdbb0860ef5ad82657e6343 | [
"BSD-3-Clause"
] | permissive | johnathanchiu/ilqgames | 00e3d6cfecb239ba7df1004fbefc006c2cdee091 | 77bb54c64e0ebd34ad9bf947702a37e8eddf2965 | refs/heads/master | 2023-01-03T17:51:39.508482 | 2020-08-30T18:04:58 | 2020-08-30T18:04:58 | 297,481,791 | 0 | 0 | BSD-3-Clause | 2020-09-21T23:10:21 | 2020-09-21T23:10:20 | null | UTF-8 | C++ | false | false | 4,139 | cpp | /*
* Copyright (c) 2020, The Regents of the University of California (Regents).
* 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 a... | [
"dfk@berkeley.edu"
] | dfk@berkeley.edu |
66f62e4489db3fec19e6f5fddf3498af8931a7bc | 948f4e13af6b3014582909cc6d762606f2a43365 | /testcases/juliet_test_suite/testcases/CWE194_Unexpected_Sign_Extension/s01/CWE194_Unexpected_Sign_Extension__fgets_memcpy_43.cpp | 8bbd2a5b35e39d0395eb277a4f511f82b113ac4a | [] | no_license | junxzm1990/ASAN-- | 0056a341b8537142e10373c8417f27d7825ad89b | ca96e46422407a55bed4aa551a6ad28ec1eeef4e | refs/heads/master | 2022-08-02T15:38:56.286555 | 2022-06-16T22:19:54 | 2022-06-16T22:19:54 | 408,238,453 | 74 | 13 | null | 2022-06-16T22:19:55 | 2021-09-19T21:14:59 | null | UTF-8 | C++ | false | false | 3,514 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE194_Unexpected_Sign_Extension__fgets_memcpy_43.cpp
Label Definition File: CWE194_Unexpected_Sign_Extension.label.xml
Template File: sources-sink-43.tmpl.cpp
*/
/*
* @description
* CWE: 194 Unexpected Sign Extension
* BadSource: fgets Read data from the console... | [
"yzhang0701@gmail.com"
] | yzhang0701@gmail.com |
6cff20f1c1c02835e1a2553bdd4e6e363d638641 | 6aab2587f28086fdc50d3c20eb74b214d92889a7 | /src/SimpleControl.h | a82a4717a7c4d97884beb3d9f24c2e3a1f9dd6fe | [] | no_license | signalcompose/Arduino-SimpleControl | fbefdc1dca0a008c91d929e7257ed03980b793f8 | 9c91d94a8d20603d1ac217acc7dafc920b450c97 | refs/heads/master | 2020-06-02T10:54:34.394678 | 2019-06-10T09:01:01 | 2019-06-10T09:01:01 | 191,132,586 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,856 | h | #ifndef SIMPLECONTROL_H
#define SIMPLECONTROL_H
#include <Boards.h>
namespace simpleControl
{
// Version numbers for the SimpleControl Library.
static const int FIRMWARE_MAJOR_VERSION = 0;
static const int FIRMWARE_MINOR_VERSION = 1;
static const int FIRMWARE_BUGFIX_VERSION = 0;
// Version numbers for t... | [
"tmgrk@tmgrk-oxygen.local"
] | tmgrk@tmgrk-oxygen.local |
c55d8d9a828701c5e00de4281a66036fb8da60a1 | 8583b5bfc594b994f51d24d012e92ae66bf2e5ea | /src/BabylonCpp/include/babylon/misc/iinspectable.h | da1bfeb219d8dd011754e8fe08535efd6556dbd6 | [
"LicenseRef-scancode-free-unknown",
"Apache-2.0"
] | permissive | samdauwe/BabylonCpp | 84b8e51b59f04a847681a97fa6fe0a5c554e9e1f | 3dad13a666299cbcf2e2db5b24575c19743e1000 | refs/heads/master | 2022-01-09T02:49:55.057544 | 2022-01-02T19:27:12 | 2022-01-02T19:27:12 | 77,682,359 | 309 | 41 | Apache-2.0 | 2020-11-06T12:16:17 | 2016-12-30T11:29:05 | C++ | UTF-8 | C++ | false | false | 1,496 | h | #ifndef BABYLON_MISC_IINSPECTABLE_H
#define BABYLON_MISC_IINSPECTABLE_H
#include <optional>
#include <string>
#include <babylon/babylon_api.h>
namespace BABYLON {
/**
* @brief Enum that determines the text-wrapping mode to use.
*/
enum class InspectableType {
/**
* Checkbox for booleans
*/
Checkbox = 0,... | [
"sam.dauwe@gmail.com"
] | sam.dauwe@gmail.com |
34755ba15ac7851bed9cb121aa604cfd5eeaedca | eefd0ea1323c600dcf7be0e0c7fb33eb01d909f1 | /Tools/PWM.cpp | 08c26123d3dfbbe4073d3f7f6612067144f58549 | [
"MIT"
] | permissive | nikunn/pinion | 0ebec95930f73728874434ae76f2c502c5c6652e | 7f7d3ce6c3a6a1d3ddfca9bb4d1ea50c8d85a0a5 | refs/heads/master | 2021-01-23T13:54:53.947950 | 2017-04-02T06:23:40 | 2017-04-02T06:23:40 | 23,759,735 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,480 | cpp | #include "Framework/Logger.h"
#include "Tools/PWM.h"
#include "Tools/IO.h"
namespace pno
{
// Initialize PWM pin
void PwmLinux::pwmInit(const std::string pin, const PwmConfig& pwm)
{
// Set the polarity
if (IoLinux::write(pin + PWM_POLARITY, pwm.polarity) < 0)
{
FATAL_PF("Cannot set the polarity %u for PWM ... | [
"no@mail.com"
] | no@mail.com |
1f350ee75d5d731da5670c02b0a27a06ed2cd10c | e2f3148365870b414b1f958e51a47e9b2dd9f28f | /liblargo/core/media/video/filters/video_filter_flip.cpp | 9d6ab81f71929a9d1cd1a174fe760be2d6568903 | [] | no_license | vkurbatov/mcu_remake | 2987d780a51fb155b702790b7cf586b964a95105 | 5e8be35f00e43568dd4ca0261dc5fec5deeb4e54 | refs/heads/master | 2021-06-24T07:09:10.160934 | 2020-12-07T11:43:40 | 2020-12-07T11:43:40 | 170,029,545 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 961 | cpp | #include "video_filter_flip.h"
#include "media/video/i_video_frame.h"
#include "media/video/video_utils.h"
namespace core
{
namespace media
{
namespace video
{
namespace filters
{
video_filter_flip::video_filter_flip(flip_method_t flip_method)
: m_flip_method(flip_method)
{
}
flip_method_t video_filter_flip:... | [
"kurbatpovvv82@mail.ru"
] | kurbatpovvv82@mail.ru |
526bdc40e5baeee9bd648819d98224be3697a5d8 | d1f56fe53e0d9991383b1365c8142c3ff0caae2e | /Project2/o 11866 요세푸스 문제 0(하).cpp | 10523e85b92acfcdb2e6b0cbf5bd3c66dcf74fd1 | [] | no_license | blue00419/Project2 | 8dc05a40c72e4d0388a8ce9e652d31007aac6663 | 000535c465b6a150159c4dd6c2cadc9494e0bc64 | refs/heads/master | 2022-11-30T02:58:36.631954 | 2022-11-25T05:43:36 | 2022-11-25T05:43:36 | 245,344,225 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 556 | cpp | #include<iostream>
#include<vector>
using namespace std;
typedef pair<int, bool> pi;
int main() {
int n, k;
cin >> n >> k;
vector<pi> v;
for (int i = 1; i <= n; i++) {
v.push_back({ i,1 });
}
int index = 0;
int remove = 0;
cout << "<";
int a = 0;
while (1) {
if (v[index].second == 1) {
a++;
}
... | [
"blue00420@kumoh.ac.kr"
] | blue00420@kumoh.ac.kr |
748f7732221a24e540019e965af1d8a8059c6893 | ece46d54db148fcd1717ae33e9c277e156067155 | /SDK/zrxsdk2021/inc/zAcGsManager.h | d1ac3afaff59a5cb3c2c5299fd0acb3c472c2903 | [] | no_license | 15831944/ObjectArx | ffb3675875681b1478930aeac596cff6f4187ffd | 8c15611148264593730ff5b6213214cebd647d23 | refs/heads/main | 2023-06-16T07:36:01.588122 | 2021-07-09T10:17:27 | 2021-07-09T10:17:27 | 384,473,453 | 0 | 1 | null | 2021-07-09T15:08:56 | 2021-07-09T15:08:56 | null | UTF-8 | C++ | false | false | 3,186 | h | #pragma once
#include "zgs.h"
class ZcDbViewportTableRecord;
class ZcGiDrawable;
class ZcGsGraphicsKernel;
class ZcGsKernelDescriptor;
class ZcGsView;
class ZcGsModel;
class ZcGsDevice;
class ZcGsConfig;
struct ZcGsClientViewInfo;
class ZcDbDatabase;
#ifndef DRAWBRIDGE_API
#define DRAWBRIDGE_API __declspec(dllimport... | [
"3494543191@qq.com"
] | 3494543191@qq.com |
70b9a2cd45c8a07e3f89cb957b98e4ea00aff04f | 60bbb28f104e490b900e31ed8c38e87f8af994ce | /util/Dict/SmallDict.cpp | de365e4387a870124c3c7e6d1a74d02ce6f97e8b | [] | no_license | spadapet/ffcore | f504319e7b88a195150f4243679c3d733889baa6 | 4d998f29dfb79dd70edbc843556d619a2424592f | refs/heads/master | 2021-06-28T08:55:29.187147 | 2020-10-05T18:04:39 | 2020-10-05T20:24:46 | 167,233,156 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,094 | cpp | #include "pch.h"
#include "Dict/SmallDict.h"
#include "Globals/ProcessGlobals.h"
#include "Value/Values.h"
ff::SmallDict::SmallDict()
: _data(nullptr)
{
}
ff::SmallDict::SmallDict(const SmallDict& rhs)
: _data(nullptr)
{
*this = rhs;
}
ff::SmallDict::SmallDict(SmallDict&& rhs)
: _data(rhs._data)
{
rhs._data = n... | [
"peterspa@microsoft.com"
] | peterspa@microsoft.com |
b4eda9ffa0291045401f21a018107f21411e86ee | cea4372e4df1602ee0f095294615c3f66068494b | /Chapter2.Linked_Lists/2-2.cpp | d221ad64bd3f409065d270f248a0501e352dc5ec | [] | no_license | teddy-hoo/Cracking-the-coding-interview | 22fb76ccdb53d9be3e6d87194961c6a685137409 | 494570b11ca64751bf4e51868ccd180bb0d69096 | refs/heads/master | 2021-01-22T11:55:18.732068 | 2015-02-02T05:52:50 | 2015-02-02T05:52:50 | 29,900,884 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,394 | cpp | /**
* Chapter 2 -- 2.2
* Implement an algorithm to find the kth to last element of a singly linked
* list.
*/
/**
* Author: Teddy
* Date: 27-01-2015
*/
/**
* Analysis:
* 1. Naive solution: two round travlsal, first round get the length of the
* list, second round get the kth element.
... | [
"hulingchuan@hotmail.com"
] | hulingchuan@hotmail.com |
fb9592811c9aa74a4657c381446cddde7a0fe9d4 | e9260deb9aa04d55b10e4d62e2ef2de67d4ce690 | /FF7_Battle_Sim/Source/FF7_Battle_Sim/PlayerCharacter.cpp | 5fb3f4322c6dfbaa4d0e96cbdd96a8cdab402a28 | [] | no_license | GreenFlamedPhoenix/FF7_Battle_Sim | 3e826260d34cbfa45ba856644db6544506de000a | 6b473998af4b075fc61806a21d2a72f3edbd1d55 | refs/heads/master | 2022-12-29T06:34:12.147678 | 2019-07-09T06:33:36 | 2019-07-09T06:33:36 | 186,080,889 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,789 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "PlayerCharacter.h"
#include "PlayerCharacterController.h"
#include "Kismet/GameplayStatics.h"
#include "MainGameInstance.h"
#include "ConstructorHelpers.h"
#include "ATB_Component.h"
#include "WorldMenuHUD.h"
#include "PlayerStat... | [
"skylitsoldier13@yahoo.com"
] | skylitsoldier13@yahoo.com |
b9ddd3891b16d791e9e805ccbd0b0500f1e54a67 | 5cda56ad8b7b6ac0b00fb75572d865dd47afa8cd | /MinNetIOCP/MinNetNavMeshAgent.cpp | 6846de2071efa4df7f271896ec87487280c38f01 | [] | no_license | sjhgithub/MinNetIOCP | fecb1b0ca2299b24780d466f867cb337c4ebf1b2 | 40eae437e0daf609192791292162b219b82947d3 | refs/heads/master | 2021-01-07T19:03:54.775692 | 2020-01-28T12:52:44 | 2020-01-28T12:52:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,526 | cpp | #include "MinNetNavMeshAgent.h"
MinNetNavMeshAgent::MinNetNavMeshAgent()
{
}
MinNetNavMeshAgent::~MinNetNavMeshAgent()
{
}
void MinNetNavMeshAgent::Awake()
{
gameObject->GetNowRoom()->AddNavAgent(this);
}
void MinNetNavMeshAgent::OnDestroy()
{
gameObject->GetNowRoom()->DelNavAgent(agentIdx);
}
void MinNetNavM... | [
"dat0613@naver.com"
] | dat0613@naver.com |
5407bfc2a9cfd0e61d206e4cff8e45b9d1622f63 | 5c5ba0cbdc972b56a3ac7664f68a74fe382c645a | /uri/2 - Ad-Hoc/2011/Main.cpp | 52f2f43788c22f485952b0fb9684aebba717727c | [] | no_license | humbertodias/challenges | 91e090b70ed65269ff94f0b8d4096526d3545ba3 | b832d55491b4d5c840b0bb25b931aef8f04f5784 | refs/heads/master | 2020-04-05T14:03:38.384606 | 2019-01-29T12:28:13 | 2019-01-29T12:28:13 | 94,749,550 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,115 | cpp | #include <cstdio>
#include <cstdlib>
#include <cmath>
#include <cstring>
#include <set>
#include <algorithm>
using namespace std;
const int MAXV = 2048;
const int MAXE = 131072;
const double INF = 1e+60;
struct Edge {
int to, eid;
double w;
Edge *next;
};
Edge edge[MAXE], *adj[MAXV];
int e = 0;
double dist... | [
"humberto.dias@techne.com.br"
] | humberto.dias@techne.com.br |
2be57a67380ba1191f996fb018462a87533e45ac | 45442b8554eb3857135099f315ea45a6ee85ddf0 | /TF_Progra2_Guevara_Tairaku/CuerdaLiana.h | 5e5cc20b66ccb3e5557754eeeacebe3ab7854d05 | [] | no_license | UNDERDOGZZ/TarzanC- | f8311cf19c3615513e6e8d98c694eb43b7640c84 | 028f47428b3a5eddcc9c68d0f743a3d2643ffa53 | refs/heads/master | 2020-06-20T22:11:51.838842 | 2019-07-16T21:12:51 | 2019-07-16T21:12:51 | 197,267,784 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,075 | h | #pragma once
#include "CImagen.h"
class CuerdaLiana : public CImagen
{
public:
CuerdaLiana(short posX, short posY,
float desplazamientoAngulo, short hipotenusa);
~CuerdaLiana();
void mover();
void dibuja(Graphics^ gr);
void desplazar();
short getDesplazamientoParaTarzan();
short getAnchoLiana();
short getAlto... | [
"43429167+UNDERDOGZZ@users.noreply.github.com"
] | 43429167+UNDERDOGZZ@users.noreply.github.com |
cfede2954e2c0112b7bb9dfd3c51d480951dfcbb | 3fa34a0727fbb9b9e27ec3922d0b18fec5ff138b | /SpaceShip/PlayerShip.cpp | 9720b2a32286b47cde7a56d26027513cbf819d8c | [] | no_license | niyuang/CSC461_public | e50dbc2c2dee759137f485fb2e72702f1dc830f4 | 78fb77dd76e7cdb215fa8dd9a28c1fa972504713 | refs/heads/master | 2021-01-10T06:23:19.247138 | 2017-02-15T01:07:42 | 2017-02-15T01:07:42 | 51,674,613 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,057 | cpp | #include "PlayerShip.h"
bool PlayerShip::fire = false;
using namespace std;
PlayerShip::PlayerShip(std::vector<glm::vec3> vertices, std::vector<glm::vec2> uvs, std::vector<glm::vec3> normals)
{
XLocation = 0.0;
YLocation = 0.0;
PlayerShipSpeed = 0.0;
direction = 0;
this->vertices = vertices;
this->uvs = uvs;
t... | [
"yni2@ncsu.edu"
] | yni2@ncsu.edu |
870b1286f0e95b97f7dc2faa8673525070d56a2b | dd1b4089f638d801698e34b830b2767149b665f6 | /R3BRoot_Source/tracker/R3BTraFraDigitizer.h | c11c9091b2186babdd58d5b4187b0851e2c66d46 | [] | no_license | ChristiaanAlwin/NeuLAND_Veto | d1c1b41cfb1f4ade2de664188da615b2541d3e7b | ed06682b03b1bd6b2c7ecc2f3be7c62036ef45ee | refs/heads/master | 2021-01-05T19:02:08.598882 | 2020-02-17T13:55:17 | 2020-02-17T13:55:17 | 241,109,623 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,372 | h | #ifndef R3BTRAFRADIGITIZER_H
#define R3BTRA2FRADIGITISER_H 1
#include "FairTask.h"
#include <map>
#include <string>
#include "R3BTraFraDigiPar.h"
#include "R3BTraFraDigi.h"
class TClonesArray;
class TObjectArray;
class TH1F;
class TH2F;
class R3BTraFraDigitizer : public FairTask
{
public:
/** Default constru... | [
"Christiaan90518@gmail.com"
] | Christiaan90518@gmail.com |
fe2c9c06aa1df0758b08699410c420fe95165290 | e1a7e127ce99737b71a1611681bbba2c4ee1bb13 | /vetores/ex17.cpp | 3872850fb5d47576da737d1d84e6b54c07138829 | [] | no_license | lhleonardo/ufla-ialg | 776e55abe1acf0029504ccf90826c44b68f76f26 | 342b5166d75810e0f64396c3ac0a9af8e859d102 | refs/heads/master | 2021-09-05T12:48:58.268670 | 2018-01-27T17:49:02 | 2018-01-27T17:49:02 | 106,220,511 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 201 | cpp | #include <iostream>
using namespace std;
int main() {
string palavra;
char palavras[10];
cin >> palavra;
cin >> palavras;
cout << palavra << endl;
cout << palavras << endl;
return 0;
}
| [
"leonardo.braz@computacao.ufla.br"
] | leonardo.braz@computacao.ufla.br |
a3fcda9883efa5c8c946e6322c1803c28984dc0f | 823fcf9e97e15ffd422e99ef7235ab49f61d1fd1 | /Linked-Binary-Tree/LinkedBinaryTree.h | 5d861b03d7c99a9141f9a1efa6bf4402140eab44 | [] | no_license | DataStructures-and-Algorithms/Binary-Tree | ffc257b161c09ad7a0878244a2ccca87062c21ea | ea39341831ce66ea84f52b68a507e0dbe65c3fdd | refs/heads/master | 2020-09-09T10:13:54.625004 | 2019-11-15T05:56:04 | 2019-11-15T05:56:04 | 221,420,457 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,042 | h | //
// Created by Hayden Huynh on 11/13/19.
//
#ifndef BINARYTREE_LINKEDBINARYTREE_H
#define BINARYTREE_LINKEDBINARYTREE_H
#include "BinaryTreeNode.h"
#include "LinkedListQueue.h"
template <class U>
class LinkedBinaryTree {
private:
BinaryTreeNode<U>* root;
public:
LinkedBinaryTree();
Binar... | [
"huynhhai323@gmail.com"
] | huynhhai323@gmail.com |
0501d2dc0f4e126e5e4be3e233f6d0fede3f6723 | ba79c05267d43bb3c9f66546e8159498ea1787da | /FTPCracker/FTPCracker.h | b3663fc306d97618e363b61026e548cb37ceac15 | [] | no_license | lihechao/FTPCracker | 70b4634435e0fb93f4c03c9eadcd0170a2ec0350 | 5089cae2beefc7c794360206e45c2b7973e0b5d0 | refs/heads/master | 2021-01-21T23:16:51.800598 | 2015-01-01T15:57:50 | 2015-01-01T15:57:50 | 28,688,315 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 479 | h |
// FTPCracker.h : PROJECT_NAME 应用程序的主头文件
//
#pragma once
#ifndef __AFXWIN_H__
#error "在包含此文件之前包含“stdafx.h”以生成 PCH 文件"
#endif
#include "resource.h" // 主符号
// CFTPCrackerApp:
// 有关此类的实现,请参阅 FTPCracker.cpp
//
class CFTPCrackerApp : public CWinApp
{
public:
CFTPCrackerApp();
// 重写
public:
virtual BOOL InitInsta... | [
"529969485@qq.com"
] | 529969485@qq.com |
fb8db2af992569b065ad9f546b8532b6383e7d63 | f1bd4d38d8a279163f472784c1ead12920b70be2 | /xr_3da/xrGame/AI/Monsters/monster_enemy_memory.cpp | 3d11882bc49b14afe5b0a8b29b9b7b0e9bb4fc59 | [] | no_license | YURSHAT/stk_2005 | 49613f4e4a9488ae5e3fd99d2b60fd9c6aca2c83 | b68bbf136688d57740fd9779423459ef5cbfbdbb | refs/heads/master | 2023-04-05T16:08:44.658227 | 2021-04-18T09:08:18 | 2021-04-18T18:35:59 | 361,129,668 | 1 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 3,795 | cpp | #include "stdafx.h"
#include "monster_enemy_memory.h"
#include "BaseMonster/base_monster.h"
#include "../../memory_manager.h"
#include "../../visual_memory_manager.h"
#include "../../enemy_manager.h"
#include "../../ai_object_location.h"
CMonsterEnemyMemory::CMonsterEnemyMemory()
{
monster = 0;
time_memory = 1000... | [
"loxotron@bk.ru"
] | loxotron@bk.ru |
1bc6c7d385e924fe345544d9de4c5c39dbd09d48 | eae9caf6ceec52dde2334e1f0b494cecda5926ec | /MfcExamples/TERMINAL/STDAFX.CPP | 5f0e295faaa0fc9ff4a66f6546367ed6c9baca23 | [] | no_license | logogin/WinApiProjects | b2b39975f94cd51f51b0077c28d3bedef2758583 | f0d49539815648ecd48e9eb5604a14bf6d07264e | refs/heads/master | 2020-03-28T04:47:02.159962 | 2018-09-06T21:42:01 | 2018-09-06T21:42:01 | 147,736,244 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 206 | cpp | // stdafx.cpp : source file that includes just the standard includes
// Terminal.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
| [
"logogin@users.noreply.github.com"
] | logogin@users.noreply.github.com |
159d45da36b061a869695b3bfe7f4caf233e9a21 | b92c39c8498e0c6579a65430e63b7db927d01aea | /cpp/boost/asio/synchronous_tcp_daytime_client.cpp | f7dc870c0dd8f8f3c8927f0e74543fdf185eaf22 | [] | no_license | szqh97/test | 6ac15ad54f6d36e1d0efd50cbef3b622d374bb29 | ba76c6ad082e2763554bdce3f1b33fea150865dc | refs/heads/master | 2020-04-06T05:40:55.776424 | 2019-01-14T06:37:38 | 2019-01-14T06:37:38 | 14,772,703 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,256 | cpp | #include <iostream>
#include <boost/array.hpp>
#include <boost/asio.hpp>
using boost::asio::ip::tcp;
int main ( int argc, char *argv[] )
{
try
{
if (argc < 2)
{
std::cerr << "Usage ./a.out <host>" << std::endl;
return 1;
}
boost::asio::io_service io_serv... | [
"szqh97@163.com"
] | szqh97@163.com |
5d268c7a4e3560d203d7983b032d6ca1aa85f581 | 44b96f789204a0bcd813f96041640ac2c179119b | /CISP 400/BAndD.cpp | fbf2ad3e921b6fbe423d390b58650a68775c4a68 | [] | no_license | DuTogira/FLC-Projects | 9bbc1ee82d523b7558d6063f5e21182644add82e | d83f42e1973bb35a19a2372ef8c09753362cccbf | refs/heads/master | 2022-10-15T07:04:52.984839 | 2020-06-14T18:41:57 | 2020-06-14T18:41:57 | 272,106,136 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,936 | cpp | //BAndD.txt - Calculates birth and death rates
//Austin Smothers - October 5, 2016
//CISP 400
//NOTE: Professor, you will need to compile this code with BAndDH.h downloaded, which I have included in the dropbox folder as a .txt named BAndDH.txt.
//this program doesn't accept 0 as a numeric input. Thus, if 0 is your d... | [
"at.smothers@gmail.com"
] | at.smothers@gmail.com |
cfac69e53abf645800eb7c77559a3488e3621f79 | 72f6aa296e722dec9f6cfd2cf1fd6f8bb1951a42 | /machine/disk.cc | b77cebd7b0fc7cdc50d1f8bf0dcd341dc6ddb947 | [] | no_license | m0zes/nachos | 25cdfd33e123ad5914e58bb095d523dca43e7044 | 061d9a798db8e3a032b160a6e3ea717066eb9fb0 | refs/heads/master | 2016-09-10T11:42:56.632569 | 2011-11-14T02:35:22 | 2011-11-14T02:35:22 | 2,654,954 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 9,343 | cc | // disk.cc
// Routines to simulate a physical disk device; reading and writing
// to the disk is simulated as reading and writing to a UNIX file.
// See disk.h for details about the behavior of disks (and
// therefore about the behavior of this simulation).
//
// Disk operations are asynchronous, so we have to invoke ... | [
"adam.tygart@gmail.com"
] | adam.tygart@gmail.com |
e06da89ed34666a634ac79098ed139b93f8fa0fa | 0fcdb974ee198c56988428a6a023d0789d41872f | /TCP-like Transport Protocol over UDP/Old/buffer.cpp | 3e251642fab28cc3fef38bdbcf9efb393111a1cc | [] | no_license | owenxbw/Computer-Network-Projects | 52c595aa560cf46d2cac2a57a2ae64afd8bfc18b | cf3e3b5a209abc943b0c05b7deec45f15723efc3 | refs/heads/master | 2020-12-03T00:41:50.959144 | 2017-07-03T03:04:02 | 2017-07-03T03:04:02 | 96,063,457 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 805 | cpp |
#include <map>
std::map<int,string> buffer; //client receiver window 15360 bytes?
if (){
while(1){
receivefrom;
if seq!=;{
buffer.insert(std::pair<int,string>(seq,buf));
}
}
std::cout << "buffer contains:\n";
for (it=mymap.begin(); it!=mymap.end(); ++it)
std::cout << it->first << " => " << it->s... | [
"bx4y4@g.ucla.edu"
] | bx4y4@g.ucla.edu |
ddec4464efddfbab99b5c9143756b449db7a995b | ef2c0c4c88c965287321de4d2c014737e90398f3 | /SantaRules/Motor2D/j1PerfTimer.cpp | f33f345bba4744cf91f2bcaf7a14e3d2e014578b | [
"MIT"
] | permissive | Marchusky/Development-Project | e3f41eb230ac2c1189bf88fde9a416fc96bc559c | 6be8fd10e5737779ebe378cab126f6f2be95102f | refs/heads/master | 2020-08-12T22:21:17.106308 | 2019-12-01T21:54:11 | 2019-12-01T21:54:11 | 214,853,592 | 0 | 0 | null | 2019-12-03T08:35:38 | 2019-10-13T16:25:07 | C | UTF-8 | C++ | false | false | 1,194 | cpp | // ----------------------------------------------------
// j1PerfTimer.cpp
// Slow timer with microsecond precision
// ----------------------------------------------------
#include "j1PerfTimer.h"
#include "SDL\include\SDL_timer.h"
uint64 j1PerfTimer::frequency = 0;
// ---------------------------------------------
j... | [
"marchusky@gmail.com"
] | marchusky@gmail.com |
3e77947cb7f0296a80e4e6d46e940834fa4d88d5 | c8cd75d50d018552ed7f72c8c49cbcb18c05b396 | /MemoryScaner/MemoryScaner/MemoryMonitor.cpp | db189a0282948d2f1da6d082f24cbaa44e9d2b23 | [] | no_license | ValeriyH/Tools | c79de1cb49cc2a6b698925ccc5ee75e72e83fa4c | 78802cdca6fbf73861803e608a21509d18084994 | refs/heads/master | 2021-01-10T15:23:50.204261 | 2020-06-22T17:52:18 | 2020-06-22T17:52:18 | 49,129,787 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,684 | cpp | #include "stdafx.h"
#include "MemoryMonitor.h"
#include <Psapi.h>
#include <algorithm>
//TODO Refactor
//#1 Remove printf.
//#2 Handle error in proper way (exception or ret code)
//#3 Refactor. Internal function like _OpenProcess can throw exception. Interface function should handle this exception and return... | [
"ValeriyH@users.noreply.github.com"
] | ValeriyH@users.noreply.github.com |
82228459e04e80c82f65e859f16d1ff974c8ba6d | df56c3d9f44132d636c0cef1b70e40034ff09022 | /linklayercontrol/networkinterfacemgr/ts_nifmanbc/BCTestSection1.cpp | bee4949e4a41e3a08eef0abf6a6abe5d3798c0f5 | [] | no_license | SymbianSource/oss.FCL.sf.os.networkingsrv | e6317d7ee0ebae163572127269c6cf40b98e3e1c | b283ce17f27f4a95f37cdb38c6ce79d38ae6ebf9 | refs/heads/master | 2021-01-12T11:29:50.765762 | 2010-10-14T06:50:50 | 2010-10-14T06:50:50 | 72,938,071 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 10,851 | cpp | // Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of "Eclipse Public License v1.0"
// which accompanies this distribution, and is available
// at the URL "http://www.eclipse.org/legal/e... | [
"kirill.dremov@nokia.com"
] | kirill.dremov@nokia.com |
d330e50e9d487b253062dea0ecd1c79420f573d6 | 72a3ce4880c23aa92f875f9f5cb4964dabb1cc96 | /array/836.cpp | bd70876f87c959981a2e51cce6a14ee898cb83bd | [] | no_license | wzppengpeng/leetcode_solution | a06d9894b94c3598297ae8044cfe310fd30ce748 | 7c4b37b4bd224fea1ad42908592e8b2a01675d9a | refs/heads/master | 2021-06-06T01:11:36.165530 | 2019-12-08T15:37:28 | 2019-12-08T15:37:28 | 103,827,304 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 852 | cpp | /**
* A rectangle is represented as a list [x1, y1, x2, y2], where (x1, y1) are the coordinates of its bottom-left corner, and (x2, y2) are the coordinates of its top-right corner.
Two rectangles overlap if the area of their intersection is positive. To be clear, two rectangles that only touch at the corner or edges... | [
"wzpycg@qq.com"
] | wzpycg@qq.com |
3917368ab8fd3041bc697edc8cc3d00d5b8b8f6c | 9eac178f236ee09463e3a0180072002b5195a0da | /cosc1337/Source Files/lectures/lecture6/while_loops_and_loop_patterns/ReadNumbersAverage.cpp | 9de9d6dfbd0abe0f44a78ca9f60d9b5e5bb59408 | [] | no_license | rzuniga64/cplusplus | 3cb1c7d40b6429b61a79a7246e54becb4960d2a6 | 1a2d08d15c462a675d0d9a3ec3f5cb0fc155a01b | refs/heads/master | 2021-01-18T23:30:54.320423 | 2016-11-19T08:57:43 | 2016-11-19T08:57:43 | 15,234,467 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 601 | cpp | // ReadNumbersAverage.cpp
// Reads in numbers from the file numbers.txt and
// computes the average of the numbers in the file.
#include <iostream>
#include <fstream>
using namespace std;
int main()
{
double num, total = 0, numNums = 0;
ifstream infile;
infile.open("numbers.txt");
if (infile)
... | [
"rzuniga64@gmail.com"
] | rzuniga64@gmail.com |
c5be2e4261ebdc09bb98a200fc6e66733969151d | d391f1535e6c3d9730f067eb2980bdbabca2a018 | /RaytracingInOneWeekend/src/primitive/sphere.h | 5810aa084435fa86852b327391c137d333fc7d51 | [
"MIT"
] | permissive | PascalDevenoge/RaytracingInOneWeekend | 4b9fc93b8efed503a0bda7d9ae921f76b5f93102 | 837331c73fccc72c8dcfda26e78332703984fa03 | refs/heads/main | 2023-06-10T02:22:10.841621 | 2021-07-05T14:59:58 | 2021-07-05T14:59:58 | 379,576,021 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,599 | h | #pragma once
#include "../hittable.h"
#include "../aabb.h"
class sphere : public hittable {
public:
sphere(point3 cen, double r, shared_ptr<abstractMaterial> material) : center(cen), radius(r), material(material) {};
virtual bool hit(const ray& r, double tMin, double tMax, hitRecord& rec) const override;
virtual ... | [
"pascal@devenoge.net"
] | pascal@devenoge.net |
7d3a8d20818636c79f5524657081e891e8fffbfd | 8ecf0c6029d87eb7a22ef5be2d66488d12ecec6e | /ad_physics/generated/include/ad/physics/DurationValidInputRange.hpp | ba9b7eb2eb22b92ca793621580455d2de39bd6ed | [
"MIT"
] | permissive | surendrasah/map | 6aa1ee1e0865700b7b944fa133c916d4f398ebb4 | 14844f70e1c30a631c3c965c6e990a9320461ab6 | refs/heads/master | 2020-12-06T17:10:52.021773 | 2019-12-28T11:23:35 | 2020-01-07T12:48:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,137 | hpp | /*
* ----------------- BEGIN LICENSE BLOCK ---------------------------------
*
* Copyright (C) 2018-2019 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
* ----------------- END LICENSE BLOCK -----------------------------------
*/
/**
* Generated file
* @file
*
* Generator Version : 10.6.1-1904
*/
#p... | [
"johannesquast@users.noreply.github.com"
] | johannesquast@users.noreply.github.com |
960f6c00b56be6d67034d4fecc0073eb49c07566 | eab0d91979eca3250804b4b7a0c943678d446a5d | /content/test/mock_background_sync_controller.h | c4b9b6ea9f62fdcf3c04d273b6534e3c5db1553d | [
"BSD-3-Clause"
] | permissive | AzureMentor/chromium | d09a5a7f5baca5df2e8462b81866bb43a905d831 | 07e48b2a12a23ccb68efb5ce07b52c1db057c61c | refs/heads/master | 2023-01-07T23:11:01.782717 | 2019-08-30T20:38:39 | 2019-08-30T20:38:39 | 205,455,046 | 1 | 0 | BSD-3-Clause | 2019-08-30T20:50:07 | 2019-08-30T20:50:07 | null | UTF-8 | C++ | false | false | 2,716 | h | // Copyright 2016 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_TEST_MOCK_BACKGROUND_SYNC_CONTROLLER_H_
#define CONTENT_TEST_MOCK_BACKGROUND_SYNC_CONTROLLER_H_
#include <stdint.h>
#include "base/compi... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
bd94880896edf111b926ee0d2478730ac3fe41cf | d494df80a2133b1bbd894bc7737f35e41817aed0 | /cocos/scripting/js-bindings/jswrapper/chakracore/Object.hpp | 3182f455087f7854582e09400bc97762e883b47e | [
"MIT"
] | permissive | huangapple/cocos2d-x-lite | 9c81ac46f7cf6f92d61094f76506eca1c74c5704 | f907706655c962d0a9a5294acee4df7f25c10426 | refs/heads/develop | 2021-01-23T09:13:01.465006 | 2017-09-19T04:15:18 | 2017-09-19T04:15:18 | 102,567,796 | 0 | 0 | null | 2017-09-19T04:15:19 | 2017-09-06T05:46:52 | C++ | UTF-8 | C++ | false | false | 2,692 | hpp | #pragma once
#include "../config.hpp"
#if SCRIPT_ENGINE_TYPE == SCRIPT_ENGINE_CHAKRACORE
#include "Base.h"
#include "../Value.hpp"
#include "../RefCounter.hpp"
namespace se {
class Class;
class Object final : public RefCounter
{
public:
static Object* createPlainObject();
static Ob... | [
"jianhua.chen@cocos2d-x.org"
] | jianhua.chen@cocos2d-x.org |
4abc122b5a1ebe4472e4fc6df1391aeb7b98fe51 | 5456502f97627278cbd6e16d002d50f1de3da7bb | /media/cast/test/utility/audio_utility.h | 46ee668651df8dc0824ae00dfd467c6f65878882 | [
"BSD-3-Clause"
] | permissive | TrellixVulnTeam/Chromium_7C66 | 72d108a413909eb3bd36c73a6c2f98de1573b6e5 | c8649ab2a0f5a747369ed50351209a42f59672ee | refs/heads/master | 2023-03-16T12:51:40.231959 | 2017-12-20T10:38:26 | 2017-12-20T10:38:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,076 | h | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef MEDIA_CAST_TEST_UTILITY_AUDIO_UTILITY_H_
#define MEDIA_CAST_TEST_UTILITY_AUDIO_UTILITY_H_
#include <stddef.h>
#include <stdint.h>
#inc... | [
"lixiaodonglove7@aliyun.com"
] | lixiaodonglove7@aliyun.com |
ba3ebf0c99e170fae4bd8e5bb25e652cf223cb13 | 02907c91bb8703ca8b307a087b351f8573f90bad | /src/main.h | 61fc7b7bd98e323d7f88ec3b3016985ed301ed5c | [
"MIT"
] | permissive | 1UP-Coin/1UP | 636efee7b55570f3cfb1769f3a6399f63e7d2828 | eb41397f977b7bcc4f59dbbb939fa04bbb891bca | refs/heads/master | 2021-09-11T21:07:30.002481 | 2018-04-12T12:48:42 | 2018-04-12T12:48:42 | 115,657,451 | 6 | 14 | MIT | 2018-01-05T15:16:57 | 2017-12-28T20:32:32 | C++ | UTF-8 | C++ | false | false | 25,083 | h | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The 1UP developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license... | [
"ratstang@piex.io"
] | ratstang@piex.io |
ba4ff678d3927f746d6f299b3cec2832b6c1a64c | e3cd8f06333a5074bf770d127975ff3ff9086e57 | /files/difficulty.cpp | a1309d47757ae98ab340463ab54d64165bed5b0d | [] | no_license | LongHr2001/Hangman | c4f667d01264b064985f7fe4fb42245c06784de3 | c67a2a934a3d11c3054dbdb1573877e4a7930d7c | refs/heads/master | 2023-07-15T19:21:52.135995 | 2021-08-16T14:39:21 | 2021-08-16T14:39:21 | 396,835,200 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,640 | cpp | #include <iostream>
#include <fstream>
#include <SDL.h>
#include <SDL_image.h>
#include <SDL_ttf.h>
#include"SDL_init.h"
#include"difficulty.h"
bool diffScene::getQuit(){
return quit;
}
int diffScene::getDifficulty(){
return difficulty;
}
diffScene::diffScene(SDL_Renderer* _renderer, int _windowWidth, int _... | [
"LongHr2001@users.noreply.github.com"
] | LongHr2001@users.noreply.github.com |
f919fb57ffaf235af48aefc22eee940ed6c6055b | 1286269a04861b03ee635b38f748a0812b4a1a3b | /src/Ui.cpp | 49d5eacc0d6280ca8ca1e2010c0b8efabd44986d | [] | no_license | psyycker/GameOfLifeCpp | 96fee35f9cb15994caecafdb7ea3152a49cf8f50 | e089b1ab2089ca11b8786ad70ff00bd5fb449356 | refs/heads/master | 2020-04-22T16:26:52.841488 | 2019-02-14T11:22:27 | 2019-02-14T11:22:27 | 170,507,967 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,055 | cpp | //
// Created by Rémy Villulles on 2019-02-13.
//
#include <SFML/Graphics.hpp>
#include <iostream>
#include <thread>
#include "../headers/Core.hpp"
#include "../headers/Ui.hpp"
int sizeX = 1800;
int sizeY = 1800;
int threads = 1;
void threadedDrawMap(sf::RenderWindow *window, Map *map, const int& start, const int& r... | [
"remy.villulles@gmail.com"
] | remy.villulles@gmail.com |
bd73fd8f1ca046c3f20a25ca757059b597b400ae | 936bb270cebb41ee2a97682d7525d8d396a6d661 | /PWGGA/GammaConvBase/AliCaloSigmaCuts.h | eaa8372a8e8398633e4457a2eec751de022e22d5 | [] | permissive | a-mathis/AliPhysics | 55e958a88f570f1320d0fdd13e423bcc4f5a860e | 2c2de38c0b4d6c2bead08a81643b331fce68c089 | refs/heads/master | 2021-07-10T16:36:46.039846 | 2021-06-23T13:33:28 | 2021-06-23T13:33:28 | 87,057,015 | 0 | 1 | BSD-3-Clause | 2018-12-07T01:08:51 | 2017-04-03T09:16:58 | C++ | UTF-8 | C++ | false | false | 7,285 | h | #ifndef ALICALOSIGMACUTS_H
#define ALICALOSIGMACUTS_H
#include "AliAODpidUtil.h"
#include "AliConversionPhotonBase.h"
#include "AliAODConversionMother.h"
#include "AliAODTrack.h"
#include "AliESDtrack.h"
#include "AliVTrack.h"
#include "AliAODTrack.h"
#include "AliMCEvent.h"
#include "AliAnalysisCuts.h"
#include "TH1F... | [
"smerkel@stud.uni-frankfurt.de"
] | smerkel@stud.uni-frankfurt.de |
4248905c135902222d3c56a7fe7560835c746728 | c8f492cc403fd435f1c03c4c6c83ceb3087192e0 | /gestionalumnos.cpp | 3de3578df1ee6f3d4bcb1432532237acb1da0d30 | [] | no_license | Darign/asistencias | a506a7001b99f0214efa9218046856429c80c770 | 997de5fb8500f7e2f84a8c6763f61df1b4fc5148 | refs/heads/master | 2020-04-05T06:05:36.014972 | 2018-11-29T19:41:45 | 2018-11-29T19:41:45 | 156,625,343 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,948 | cpp | #include "gestionalumnos.h"
#include "ui_gestionalumnos.h"
#include "alumno.h"
#include <QDebug>
GestionAlumnos::GestionAlumnos(QWidget *parent) :
QWidget(parent),
ui(new Ui::GestionAlumnos)
{
ui->setupUi(this);
mostrarDatos();
}
GestionAlumnos::~GestionAlumnos()
{
delete ui;
}
void GestionAlum... | [
"darign@outlook.com.ar"
] | darign@outlook.com.ar |
1838f25c4d044d9dcba8566ea96c8b28f9f2b9c6 | 21731e1ad98c2681f616f59e51935640b8a04615 | /src/BossFinal.h | 20c6ff120dd5de3ab19495d642131dc8dd2335f6 | [] | no_license | heavy94/cpp-coders-juego | 0e3999eca2f95ec90ef06e34ad176a38c5c5feb7 | fbb54309e99a4721f776a1b16d6bbce4d8dc3e97 | refs/heads/master | 2020-05-17T01:08:28.445450 | 2015-06-09T05:37:12 | 2015-06-09T05:37:12 | 34,322,656 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 284 | h | #pragma once
#include "Enemigo.h"
class BossFinal :
public Enemigo
{
int time1;
int time2;
public:
BossFinal(Vector3D posicion, int id);
~BossFinal();
void Dibuja();
//void GiraAnima();
void MueveAleat();
void Update();
void Rota();
bool atacar(int t);
void Anima();
};
| [
"tomashenriques.kp@gmail.com"
] | tomashenriques.kp@gmail.com |
1392b3d66684d234c2c727a5663bcb8275b26057 | d266eb7b6ba92c7658b563975c14b64d4e5d50cc | /libs/dataitem/measureddata/measureddatafiledataitem.h | 6d03c14499ef0135dcef63ad09baa186e4cbee21 | [] | no_license | scharlton2/prepost-gui | 5c0a7d45c1f7156513d63e915d19f71233f15f88 | 007fdfcaf4d3e42b606e8edad8285b6de2bfd440 | refs/heads/master | 2023-08-31T01:54:11.798622 | 2022-12-26T01:51:06 | 2022-12-26T01:51:06 | 68,759,445 | 0 | 0 | null | 2020-05-14T22:28:47 | 2016-09-20T22:47:28 | C++ | UTF-8 | C++ | false | false | 1,053 | h | #ifndef MEASUREDDATAFILEDATAITEM_H
#define MEASUREDDATAFILEDATAITEM_H
#include "measureddata_api.h"
#include <guicore/datamodel/graphicswindowdataitem.h>
class MeasuredData;
class MeasuredDataPointGroupDataItem;
class MeasuredDataVectorGroupDataItem;
class MEASUREDDATA_API MeasuredDataFileDataItem : public Graphics... | [
"kinoue@2cc7cdd0-1db9-4218-aa4a-1d8dad43e0f0"
] | kinoue@2cc7cdd0-1db9-4218-aa4a-1d8dad43e0f0 |
12f3032b253cbd7a62605270f5b6d49d4750d1e6 | 1e983607f0c46fc1cf5212c7a734135bcc2b6eb9 | /Exercises OOP/Pairs A/main.cpp | 6291c5a4c62e9b4c8526c1524ab760df1bc60bce | [] | no_license | mirchevao/OOP | 6cc345c8a571d483852b12fcb7c100ffddf75815 | 7acb203ca4e637065c07c409520a50638689563d | refs/heads/master | 2020-05-18T12:53:12.425007 | 2020-01-28T15:04:56 | 2020-01-28T15:04:56 | 184,421,363 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,236 | cpp | #include <iostream>
#include <cstring>
using namespace std;
class Pair {
private:
char *key;
float value;
public:
Pair(char *key = (char *) "", float value = 0.0) {
this->key = new char[strlen(key) + 1];
strcpy(this->key, key);
this->value = value;
}
Pair(const Pair &pa) {... | [
"omirceva@yahoo.com"
] | omirceva@yahoo.com |
77c3a7e55b6366a3303c8a7d752fb42e52c24f23 | 16c87360f00b4ea12c024875f4aa3a1be685603d | /DlgRuleFBList.h | b1da6727545cbad836d8f85fb3ba3a3c5005e63f | [] | no_license | radiohide/temp | 28ffe85e507b189c48c0c399f708f66f0558a4f2 | 7740a9965524a5a7a88e59291cc1f06382f01c58 | refs/heads/master | 2021-06-05T17:35:24.721125 | 2021-04-20T09:04:48 | 2021-04-20T09:04:48 | 86,920,856 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,443 | h | #if !defined(AFX_DLGRULEFBLIST_H__D05C3331_B25C_4AED_8705_E15FE5A6253B__INCLUDED_)
#define AFX_DLGRULEFBLIST_H__D05C3331_B25C_4AED_8705_E15FE5A6253B__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DlgRuleFBList.h : header file
//
//////////////////////////////////////////////////////... | [
"chenxi1@gdtianren.com"
] | chenxi1@gdtianren.com |
8dbdfae0aaf87eac237da01ccd17af0662bacb73 | fb9263c6612c0387be90b7d53d2451741dab420f | /cpp_pool_d08/ex01/droidmemory.cpp | 5b5240e524865de34d31bc469c42dac23d73f8e1 | [] | no_license | BBR2394/pool-CPP | 4537b0d2bcd9719ff82b6455e08217e0ef18e655 | 88d50cc380f961e9a329fd9aa2caf753bff80fac | refs/heads/master | 2020-05-04T01:45:23.463174 | 2019-09-26T13:13:23 | 2019-09-26T13:13:23 | 178,912,520 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,348 | cpp | //
// droidmemory.cpp for in /home/baptiste/rendu/piscine_cpp_d08/ex01
//
// Made by Bertrand-Rapello Baptiste
// Login <bertra_l@epitech.net>
//
// Started on Wed Jan 14 11:47:14 2015 Bertrand-Rapello Baptiste
// Last update Wed Jan 14 18:36:57 2015 Bertrand-Rapello Baptiste
//
#include <cstdlib>
#include "droi... | [
"baptiste2394@gmail.com"
] | baptiste2394@gmail.com |
fc174e0f027de675ea2dd1b94cb22ed7147f39e8 | 157fd7fe5e541c8ef7559b212078eb7a6dbf51c6 | /TRiAS/TRiAS/Importfilter/Edbs/edbs.hpp | 9072754a450bbb40d33c73ba10c5d60a11f6dcf2 | [] | no_license | 15831944/TRiAS | d2bab6fd129a86fc2f06f2103d8bcd08237c49af | 840946b85dcefb34efc219446240e21f51d2c60d | refs/heads/master | 2020-09-05T05:56:39.624150 | 2012-11-11T02:24:49 | 2012-11-11T02:24:49 | null | 0 | 0 | null | null | null | null | ISO-8859-3 | C++ | false | false | 2,176 | hpp | ///////////////////////////////////////////////////////////////////////
// TRiAS - Erweiterung: EDBS - Import
///////////////////////////////////////////////////////////////////////
// Datei: edbs.hpp
//
// Stand: 15.11.1994
// Beschreibung: Extension-Objekt
// Entwicklung: 15.11.94 Beginn der Kodierung
///... | [
"Windows Live ID\\hkaiser@cct.lsu.edu"
] | Windows Live ID\hkaiser@cct.lsu.edu |
ff9a79cfc77ac332d0372f982dc520c231159c38 | 23ed91c267d7f441e3f4a5ba958ea55360ac537c | /motif/bmc.short.cpp | 71cf056ade92b0a549c5e2d190e3dd5a8f5691c0 | [] | no_license | emorybiostat/motifOrganizer | a17b6201c768814de30b56de08857fa5d9e9493f | fd020046f13ad2f1c799315af98beaeb55f6e600 | refs/heads/master | 2021-01-10T12:35:59.261199 | 2016-02-24T00:12:24 | 2016-02-24T00:12:24 | 52,395,093 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 73,206 | cpp | // clustering program BMC 2.0
// origin from bmc by Steve Qin, 01/15/02
// modified on 03/16/04 using STL list and map
// modified 02/18/06 to work for long list
// for fixed width motifs only.
#include <list>
#include <vector>
#include <iostream>
#include <fstream>
#include <sstream>
#include <stdio.h>
#include <stri... | [
"ticopittard@gmail.com"
] | ticopittard@gmail.com |
67fb7ed4981b9b7e442d6ce54a2f23317f5df225 | d0fb46aecc3b69983e7f6244331a81dff42d9595 | /ddoscoo/src/model/DescribePortRequest.cc | e90e3e2b34fb5364c458bd41f34ba0c62e5f29d7 | [
"Apache-2.0"
] | permissive | aliyun/aliyun-openapi-cpp-sdk | 3d8d051d44ad00753a429817dd03957614c0c66a | e862bd03c844bcb7ccaa90571bceaa2802c7f135 | refs/heads/master | 2023-08-29T11:54:00.525102 | 2023-08-29T03:32:48 | 2023-08-29T03:32:48 | 115,379,460 | 104 | 82 | NOASSERTION | 2023-09-14T06:13:33 | 2017-12-26T02:53:27 | C++ | UTF-8 | C++ | false | false | 2,701 | cc | /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* 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... | [
"sdk-team@alibabacloud.com"
] | sdk-team@alibabacloud.com |
5da5a6fdacc0e289c84d6bc25fc6b3f8a21f160a | 64a72c2af381fdfb40cef2583d0dfc80566938d3 | /baxter-ridgeback-kinetic_ws/devel/.private/baxter_maintenance_msgs/include/baxter_maintenance_msgs/CalibrateArmData.h | 0e9b86a644449a364c678273d2a5130d6522ec30 | [] | no_license | thibs-sigma/ridgeback-baxter | a3daa2b8425a84c3d75acaec134848215be6f11d | 0bf8ab0df8807ab886644975d63865e5f163dc5a | refs/heads/master | 2020-04-28T16:42:13.902308 | 2019-03-13T14:47:02 | 2019-03-13T14:47:02 | 175,420,996 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,559 | h | // Generated by gencpp from file baxter_maintenance_msgs/CalibrateArmData.msg
// DO NOT EDIT!
#ifndef BAXTER_MAINTENANCE_MSGS_MESSAGE_CALIBRATEARMDATA_H
#define BAXTER_MAINTENANCE_MSGS_MESSAGE_CALIBRATEARMDATA_H
#include <string>
#include <vector>
#include <map>
#include <ros/types.h>
#include <ros/serialization.h... | [
"thib.hilt31@gmail.com"
] | thib.hilt31@gmail.com |
5851d29a4f189507ce07873e992d0a86af1f8459 | 292ec8007c84db1ca01c510b4a021c4c9bf2489a | /leetcode/166_v1.cpp | 646ba552ab2d3d170a797966ce42911cc772da80 | [] | no_license | aweng126/leetcode | 9b3e4b010341c48e5ced78e74a39823e6f821a78 | 1eed976a4859f8c9fcc6713d290493abe0884b05 | refs/heads/master | 2020-07-06T19:46:36.029894 | 2019-12-23T11:17:25 | 2019-12-23T11:17:25 | 203,121,522 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,438 | cpp | //
// 166_v1.cpp
// leetcode
//
// Created by 李庆文 on 2019/12/23.
// Copyright © 2019 李庆文. All rights reserved.
//
#include <stdio.h>
class Solution {
public:
string fractionToDecimal(int mnumerator, int mdenominator) {
long numerator = mnumerator;
long denominator = mdenominator;
... | [
"13075313106@163.com"
] | 13075313106@163.com |
ebdd14827443e5be9cacbf9ca9ed6a571897b022 | 767ddcb3fdf21672882783a2336b7c1ef5b5da17 | /u3dx/libs_core/cpp/native_project/Urho3d/Source/Engine/Urho2D/AnimatedSprite2D.cpp | 40d9a0454a58eed7aeb027bfc77d492616c38ed7 | [] | no_license | wangjz/urho3d-haxe | c56e39d578c73cf9c6f22bc79420fde2ace17669 | 8ceb981fa2e6d24470b42cdcd3dee83024bfa391 | refs/heads/master | 2021-01-19T09:01:57.073419 | 2014-11-12T11:11:35 | 2014-11-12T11:11:35 | 26,084,326 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 15,673 | cpp | //
// Copyright (c) 2008-2014 the Urho3D project.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, m... | [
"421924396@qq.com"
] | 421924396@qq.com |
0d71a265689909fb47fda66eb89ea9b2fc354c4b | d387c3750d6ee7481df3b30a621a1f1f67a097f2 | /codeforces/1447/D.cpp | f8d7c927549a8d0bcd87fcf79c2d0bf90a025eda | [] | no_license | sahilkhan03/CF-Solutions | 54b7c4858d0c810ea47768f975f4503bd83fff8b | 67e9e9581d547229b44bee271b4844423fff3a29 | refs/heads/master | 2023-04-22T01:37:43.022110 | 2021-04-19T13:34:00 | 2021-05-10T05:00:23 | 333,403,802 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,172 | cpp | #pragma GCC optimize("Ofast")
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef long double ld;
#define fast ios_base::sync_with_stdio(false); cin.tie(nullptr);
#define all(x) x.begin(), x.end()
#define F first
#define S second
#define pb push_back
#define pl pair<ll, ll>
#define vl vector<ll>... | [
"sahilkhan0307.sk@gmail.com"
] | sahilkhan0307.sk@gmail.com |
ece707015c2a17e65ef5ea00ef578c059cc30548 | fae551eb54ab3a907ba13cf38aba1db288708d92 | /chrome/browser/ash/crosapi/test_controller_ash.cc | 5dbddf0bf0d2af807e16ed261c2b12645db6f59c | [
"BSD-3-Clause"
] | permissive | xtblock/chromium | d4506722fc6e4c9bc04b54921a4382165d875f9a | 5fe0705b86e692c65684cdb067d9b452cc5f063f | refs/heads/main | 2023-04-26T18:34:42.207215 | 2021-05-27T04:45:24 | 2021-05-27T04:45:24 | 371,258,442 | 2 | 1 | BSD-3-Clause | 2021-05-27T05:36:28 | 2021-05-27T05:36:28 | null | UTF-8 | C++ | false | false | 9,052 | cc | // Copyright 2020 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/ash/crosapi/test_controller_ash.h"
#include "ash/public/cpp/tablet_mode.h"
#include "ash/public/cpp/window_properties.h"
#includ... | [
"chromium-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | chromium-scoped@luci-project-accounts.iam.gserviceaccount.com |
27c1b25fecbe9fa22292f27b82ea070b0b76a6e1 | 15dea4de84765fd04efb0367247e94657e76515b | /source/3rdparty/won/msg/TMessage.cpp | ee73aa3f7a180865ec56989df7763ba12c2e7e0b | [] | no_license | dppereyra/darkreign2 | 4893a628a89642121d230e6e02aa353636566be8 | 85c83fdbb4b4e32aa5f816ebfcaf286b5457a11d | refs/heads/master | 2020-12-30T13:22:17.657084 | 2017-01-30T21:20:28 | 2017-01-30T21:20:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,265 | cpp |
#include "common/won.h"
#include "BadMsgException.h"
#include "TMessage.h"
// Titan messages base classes w/ reference counting
namespace {
using WONMsg::BadMsgException;
using WONMsg::TRawData;
using WONMsg::TRawMsg;
using WONMsg::BaseMessage;
using WONMsg::TMessage;
using WONMsg::MiniMessage;
using WONMsg::... | [
"eider@protonmail.com"
] | eider@protonmail.com |
d593a14b77b92724f635af71490d66ba330315d9 | 1fcb11e66ad466a5ea0a3227dc5db137c3a76704 | /aismart-src/aismart/librose/formula.cpp | a55db804b2f9fbf9e92ecdc09a734f9a98606938 | [] | no_license | LeonZhouH/aismart | 62625386b5acd75005b7967e2cd93e35c37e9cbf | ffb145a82289b5d4b42da2ec29c0e93ff6666a94 | refs/heads/master | 2021-06-26T16:24:06.584391 | 2017-08-27T03:36:13 | 2017-08-27T03:36:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 35,585 | cpp | /*
Copyright (C) 2007 by David White <dave.net>
Part of the Silver Tree Project
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 or later.
This program is distributed in the hope that it will be useful,
but WITHO... | [
"ancientcc@gmail.com"
] | ancientcc@gmail.com |
3f77e7b1698599761f081974c8e5e2a9b7711fce | 9773c3304eecc308671bcfa16b5390c81ef3b23a | /MDI AIPI V.6.92 2003 ( Correct Save Fired Rules, AM =-1, g_currentLine)/AIPI/ChartCtrl/ChartSurfaceSerie.cpp | bc2acb9394bd74ecf9a7da4aa71e3c0564a77939 | [] | no_license | 15831944/AiPI-1 | 2d09d6e6bd3fa104d0175cf562bb7826e1ac5ec4 | 9350aea6ac4c7870b43d0a9f992a1908a3c1c4a8 | refs/heads/master | 2021-12-02T20:34:03.136125 | 2011-10-27T00:07:54 | 2011-10-27T00:07:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,583 | cpp | // ChartSurfaceSerie.cpp: implementation of the CChartSurfaceSerie class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "ChartSurfaceSerie.h"
#include "ChartCtrl.h"
#include <algorithm>
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE_... | [
"flexdeveloper@gmgs-iMac.local"
] | flexdeveloper@gmgs-iMac.local |
38722d6c768db8d452710635f068826def3901a8 | d0daf29f2fb5ff8630694b129aaac51bcdbbd50e | /AlgorithmNote/AlgorithmNote-Code/第4章 算法初步/二分/A1044.cpp | cbcad513c8ca0797052255becb1dd2eee1cd19bc | [] | no_license | fengshen024/Algorithm | 9ce95258ef8e4a20b298d0c476c0c67aa8e3e56e | 4d5c99f5a91d4a8dfcededa9d2da4b375080fb4e | refs/heads/master | 2021-01-26T02:47:25.033358 | 2020-02-21T15:06:51 | 2020-02-21T15:06:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,177 | cpp | /*
* @Author: wuyangjun
* @Date: 2019-08-02 22:29:28
* @LastEditTime: 2019-08-02 23:07:20
* @Github: https://github.com/wyjoutstanding
*/
#include <bits/stdc++.h>
using namespace std;
int main() {
int N, M;
scanf("%d %d", &N, &M);
int a[N+1], b[N+1] = {0};
a[0] = 0;
// a[i] = a[1]+...+a[i] -> i... | [
"1140132928@qq.com"
] | 1140132928@qq.com |
42711f3393f485b931af8f08aa1a7c78587e950f | a2ecb107a76eeb1fb47b1a3e13757f266323a28f | /bydate/0812_muduo/muduo/base/EveryThread.h | 6203369e8be820a5de3226d0d54abd96855e390e | [] | no_license | Myth52125/linuxcode | 1df463e88301f238b5aa57e56b75f9640700f49e | 5af4a77246a4322321b3aaf0e3a2381910f6ef3b | refs/heads/master | 2021-01-01T18:39:42.305509 | 2017-11-07T05:02:05 | 2017-11-07T05:02:05 | 98,396,452 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 322 | h | #ifndef _M_EVERYTHREAD_
#define _M_EVERYTHREAD_
#include <pthread.h>
#include <unistd.h>
#include <sys/syscall.h>
namespace myth52125
{
namespace base
{
// __thread pid_t _threadTid(0);
//__thread std::string _threadName("");
inline pid_t tid()
{
return static_cast<pid_t>(syscall(SYS_gettid));
}
}
}
#end... | [
"myth52125@hotmail.com"
] | myth52125@hotmail.com |
3ed8accff09cf7189bc7255dbebfd02f47a8b14b | a4af03fa905fd72f7f601784c8836b421433307b | /thOth/thOth/pnlCalculator.cpp | f33020cd636221e5935026c3806a1cf99ae3e29f | [] | no_license | GoMani/thOth | 8f543c69bad7aec5ce5e82f6a8ea88cce46deeb4 | 38ce7a5701b393c8cda08b138ad495b7d7971ecc | refs/heads/master | 2021-01-15T08:09:49.666305 | 2014-07-07T16:28:27 | 2014-07-07T16:28:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 474 | cpp |
#include <thOth/pnlCalculator.hpp>
namespace thOth{
pnlCalculator::pnlCalculator() {}
pnlCalculator::pnlCalculator(const std::shared_ptr<portfolio> & port){
this->registerWith(port);
}
pnlCalculator::pnlCalculator(const pnlCalculator &){}
pnlCalculator::~pnlCalculator() {
this->unregisterWithAll();
... | [
"vermosen.jm@free.fr"
] | vermosen.jm@free.fr |
ef162ec5a817f044f57c966929a5ca7fa7774455 | 0494c9caa519b27f3ed6390046fde03a313d2868 | /src/net/http/http_cache_unittest.cc | 37e53346f425a4ee8b44a03ca78d818133cea30f | [
"BSD-3-Clause"
] | permissive | mhcchang/chromium30 | 9e9649bec6fb19fe0dc2c8b94c27c9d1fa69da2c | 516718f9b7b95c4280257b2d319638d4728a90e1 | refs/heads/master | 2023-03-17T00:33:40.437560 | 2017-08-01T01:13:12 | 2017-08-01T01:13:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 217,888 | 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 "net/http/http_cache.h"
#include "base/bind.h"
#include "base/bind_helpers.h"
#include "base/memory/scoped_vector.h"
#include "base/message_... | [
"1990zhaoshuang@163.com"
] | 1990zhaoshuang@163.com |
dfa885d2cfc41e2342e5582ca14ec2fc1eaa8f20 | d74839d8174b025ebc4292eda282d0408050bebe | /doc/coding/main.cpp | 16a93278e076f0cad9e16ea8527748a808e30357 | [] | no_license | luciferwzp/2020 | 0f7d3d0298b7cfc226d5eb40ee259968d8530081 | 6778199f5e3f0f1696316cb30c1e57f2383fa5c4 | refs/heads/master | 2020-07-28T20:15:55.824931 | 2019-09-19T10:17:37 | 2019-09-19T10:17:37 | 209,524,057 | 0 | 0 | null | 2019-09-19T10:19:31 | 2019-09-19T10:19:31 | null | UTF-8 | C++ | false | false | 1,074 | cpp | #include <bits/stdc++.h>
using namespace std;
int main()
{
int N;
int target;
while (cin >> N) {
vector<int> nums(N, 0);
for (int i = 0; i < N; i++) {
cin >> nums[i];
}
cin >> target;
vector<vector<int>> ans;
sort(nums.begin(), nums.end());
... | [
"239194147@qq.com"
] | 239194147@qq.com |
716690d97d42213619cc12ffd39cbd626190003a | e6b0006949ed9d21efce8c4fd18fd6e371cd4bf9 | /MySQLParser/MySqlBinlogReaderMod.h | 7dea1e825d22de16f6769c3641bbbaa37680cb40 | [] | no_license | liweiliv/DBStream | ced5a25e934ab64e0986a8a4230767e12f04bdab | 584f20f938530bb52bf38faa832992bfb59e7dbb | refs/heads/master | 2021-07-21T02:58:20.442685 | 2021-06-07T12:57:34 | 2021-06-07T13:04:33 | 182,390,627 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 3,283 | h | /*
* MySqlBinlogReader.h
*
* Created on: 2017年2月22日
* Author: liwei
*/
#ifndef SRC_CONGO_DRC_LIB_MYSQL_BINLOG_READER_MYSQLBINLOGREADER_H_
#define SRC_CONGO_DRC_LIB_MYSQL_BINLOG_READER_MYSQLBINLOGREADER_H_
#include <stdint.h>
#include <time.h>
#include <map>
#include <string>
#include "stackLog.h"
#include "... | [
"liwei960067495@sina.com"
] | liwei960067495@sina.com |
5d03ec33b37be38e8f2d753a0c1e84e5f9405803 | 67af6ded895e8c99520c491ee7254920470f5f93 | /SFMLBasicJumpNCollect/Player.h | 4dbafbc5a97bb5b5f98ead70b5068ff379c014df | [] | no_license | sysfce2/SFML_Basic-jump-and-collection | 360534fcdc616e9a2f93761ff4164e58818808c3 | 89a77fb6609901c4d6ad6c1b17aabd994ac55eee | refs/heads/main | 2023-05-03T21:25:36.766795 | 2021-05-30T07:16:53 | 2021-05-30T07:16:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 671 | h | #pragma once
#include <SFML/Graphics.hpp>
#include "Ground.h"
#include "Coin.h"
class Player {
public:
Player(Ground ground);
sf::Sprite getSprite();
bool collidingWithGround(Ground& ground);
bool collidingWithCoin(Coin* coin);
void goLeft();
void stopLeft();
void goRight();
void stopRight();
void goJump... | [
"threeeyedvenelope@gmail.com"
] | threeeyedvenelope@gmail.com |
a0020029b28eedf82d3dc83fc4a9da4ecb4ae936 | c2ee5fbb6944dde42e815a5f1cf9c5b67ee69067 | /src/include/ripple-libpp/version.hpp | 5bb41b8123e753e8762f7b3fbd98be32af80d3c7 | [
"MIT",
"ISC",
"BSL-1.0",
"MIT-Wu"
] | permissive | senagbe/ripple-libpp | bb97557bb193d01adf74f36964e4f0aaabd1fa61 | ef19ca4affdbb3356dfaf0aae704b5e54bc5efd1 | refs/heads/master | 2021-07-24T06:04:36.191490 | 2017-11-06T13:54:13 | 2017-11-06T13:54:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,404 | hpp | //------------------------------------------------------------------------------
/*
This file is part of ripple-libpp: https://github.com/ripple/ripple-libpp
Copyright (c) 2016 Ripple Labs Inc.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is her... | [
"ed@ripple.com"
] | ed@ripple.com |
bbfcbfa77b4ace13397509431877a89cb43d4265 | 6c1627504c533fce7770537150eea5318694b59c | /emptyExample/src/ofApp.h | 7c7ba153dbda3bfc2974b1176d452be119b07f08 | [] | no_license | krylovgeorgii/Tanks | 3ba5f6c6cab0599c07fffa8fd517b46d732bac7a | c003feb758f47120c4046a67595eaf196c82ac8a | refs/heads/master | 2021-01-19T05:22:38.001706 | 2017-03-22T18:15:22 | 2017-03-22T18:15:22 | 87,429,792 | 0 | 0 | null | 2017-04-06T12:59:23 | 2017-04-06T12:59:23 | null | UTF-8 | C++ | false | false | 817 | h | #pragma once
#include "ofMain.h"
#include "../Player.h"
#include "../MovableBarrierr.h"
class ofApp : public ofBaseApp
{
const int W = 1920;
const int H = 1080;
public:
void setup();
void update();
void draw();
void keyPressed(int key);
void keyReleased(int key);
void mouseMoved(int x, int y);
void mouseDr... | [
"alh45011@gmail.com"
] | alh45011@gmail.com |
f6ff9084f17466a9aef5aa06e06f60b3ff1877ed | 9791c85cce630a1904835da910c606e84c3aec85 | /src/petecoind.cpp | b6d7fc5d20ffd8137515eae789e042d1b91e62c9 | [
"MIT"
] | permissive | sjmariogolf/petecoin | aa8d8dfb066372771c24621994e7426047983750 | 0ba30c257af43fcff00e9eaa2db38f32afa990f5 | refs/heads/master | 2016-09-03T06:24:23.888229 | 2015-03-20T23:54:50 | 2015-03-20T23:54:50 | 31,447,152 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,091 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2013 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "rpcserver.h"
#include "rpcclient.h"
#include "init.h"
#include "main.h"
... | [
"stevenjaymartin@gmail.com"
] | stevenjaymartin@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.