blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 6 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 26 | license_type stringclasses 2
values | repo_name stringlengths 7 95 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 57
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 197k 639M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 11
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 34
values | src_encoding stringclasses 18
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 11 9.86M | extension stringclasses 27
values | content stringlengths 11 9.86M | authors listlengths 1 1 | author stringlengths 0 70 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d994574a7d9ad4691c64e66b3211f1079f0d72c8 | 28869ba91fcd52c281ed88e6dc0dba96c35ffe07 | /include/ThickArrow.hpp | dfb41dcf0fd2758420c69196e8c38240f1addbc9 | [] | no_license | elro444/SFML-Linear-Algebra | e677ec3f380035a4f072732aa8a5a8dfed2ad1f5 | 83e8b0856b119cc1c4204b5f2cc79c06e7d921af | refs/heads/master | 2023-07-15T06:37:57.663486 | 2021-08-15T21:18:47 | 2021-08-16T06:25:25 | 395,536,013 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 826 | hpp | #include <SFML/Graphics/Drawable.hpp>
#include <SFML/Graphics/RectangleShape.hpp>
#include <SFML/Graphics/ConvexShape.hpp>
class ThickArrow
: public sf::Drawable
{
private:
mutable sf::RectangleShape m_line;
mutable sf::ConvexShape m_tip;
sf::Vector2f m_head;
sf::Vector2f m_tail;
sf::Color m_co... | [
"elro444@gmail.com"
] | elro444@gmail.com |
899627f19baf6b20682b57b3df7b422c7038e5cc | f2d028a01206b38e4fbf61e3a6f4c211ca169076 | /BGV-Adder/Algorithms/CKKS Complex Matrix Product/ckks_complex_matrix_product.cpp | 20075ca93cb8b1a603f3b9fad96c0ccbc8d4e5d8 | [
"MIT"
] | permissive | bbqgonewrong/fhe-toolkit-macos-algorithms | 8e84970389d4f93bfe7b27ef27f05629ce3f77bf | 6b65ac00c2a3cb64c487eadfc504eb17108ffd80 | refs/heads/master | 2023-03-20T13:22:06.207812 | 2020-10-29T21:53:11 | 2020-10-29T21:53:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,522 | cpp | //
// ckks_complex_matrix_product.cpp
// BGV-Adder
//
// Created by Hindrik Stegenga on 29/10/2020.
// Copyright © 2020 RUG. All rights reserved.
//
#include "ckks_complex_matrix_product.hpp"
#include <helib/norms.h>
using helib::Context;
using helib::Ctxt;
using helib::SecKey;
using helib::PubKey;
using std::vec... | [
"hindrik1997@hotmail.com"
] | hindrik1997@hotmail.com |
44039d691d603a4d0f1f2deac9f328d86bbcb1da | 1f41b828fb652795482cdeaac1a877e2f19c252a | /maya_plugins/inLocus/3dGroup/sgRigAdditionalNodes/sgRigAdditionalNodes/CollisionJointNode.cpp | 79c62fa26e63ecfbcb92086bb4f60727cc5b46d6 | [] | no_license | jonntd/mayadev-1 | e315efe582ea433dcf18d7f1e900920f5590b293 | f76aeecb592df766d05a4e10fa2c2496f0310ca4 | refs/heads/master | 2021-05-02T07:16:17.941007 | 2018-02-05T03:55:12 | 2018-02-05T03:55:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,471 | cpp | //
// Copyright (C) locus
//
// File: CollisionJointNode.cpp
//
// Dependency Graph Node: CollisionJoint
//
// Author: Maya Plug-in Wizard 2.0
//
#include "CollisionJointNode.h"
#include <maya/MPlug.h>
#include <maya/MDataBlock.h>
#include <maya/MDataHandle.h>
#include <maya/MGlobal.h>
MTypeId CollisionJoint::... | [
"kimsung9k@naver.com"
] | kimsung9k@naver.com |
5f849c65f5a2e03ce9c56144b714851922fef126 | 0f60164f06f2a8880cb817bde2e964b8ab50d680 | /executor.h | 9b3e41059462858a55dc10231132009541d56036 | [] | no_license | NuarkNoir/pcs_word | f764a7fadbe7f2cf3da960c9192dfc982a1e27f2 | ceec66e97f928b670901383141b925e300d10e4b | refs/heads/master | 2023-08-22T18:15:13.046443 | 2021-10-21T04:06:18 | 2021-10-21T04:06:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,559 | h | #ifndef EXECUTOR_GUARD_H
#define EXECUTOR_GUARD_H
#include <map>
#include <omp.h>
#include <vector>
namespace nuworks {
typedef std::map<std::pair<int, int>, double> LUT;
struct Way {
std::vector<int> nodes;
double fitness = 0.0;
};
struct Node {
int id, x, y;... | [
"me@nuark.xyz"
] | me@nuark.xyz |
52502bd6a97e864373339db42991aa505047771f | 6d796ee865e1c79582a024bb38cc64fa15b8b8de | /cs8Backup/zipper.h | 80cdaab031924624e909e394cee3f027e433ea64 | [] | no_license | pyrokar1993/cs8Tools | 8f82a7e223f5b1529b02fe388cb81018a6cc401f | d6d2c37c404c093e9900e6d2dd1f65c520ed45e8 | refs/heads/master | 2022-11-23T16:43:30.093698 | 2020-05-16T17:07:24 | 2020-05-16T17:07:24 | 183,562,748 | 0 | 0 | null | 2019-04-26T05:27:36 | 2019-04-26T05:27:34 | null | UTF-8 | C++ | false | false | 2,139 | h | /**************************************************************************
* Copyright (C) 2006 by Volker Drewer-Gutland *
* volker.drewer@gmx.de *
* *
* This program... | [
"volker.drewer@gmail.com"
] | volker.drewer@gmail.com |
edd8b3fc920613f253973e40955c619102a7ad34 | b6685174b5babe2ec8f6eb0c4b9521d8728e8bc3 | /cs4550/assignments/Scanner/Scanner/Nodes/IfStatementNode.cpp | 3b611ed7913177bc3f28d8cc28a825493d600a9d | [] | no_license | armstrongnate/school | 127f52a4e5d8f506ecca7c44d4eaebd139884690 | 44f640356a9369eaf96cd98722979c953b0e39cf | refs/heads/master | 2021-03-16T08:58:12.118685 | 2015-12-21T21:10:49 | 2015-12-21T21:10:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,681 | cpp | //
// IfStatementNode.cpp
// Scanner
//
// Created by Nate Armstrong on 4/7/15.
// Copyright (c) 2015 Nate Armstrong. All rights reserved.
//
#include "Node.h"
IfStatementNode::IfStatementNode(ExpressionNode *en, StatementNode *sn, StatementNode *elseStatementNode)
: mExpressionNode(en), mStatementNode(sn), mEl... | [
"natearmstrong2@gmail.com"
] | natearmstrong2@gmail.com |
3fb62a8bcedb86e96b6039ae0a7a1fdcc5a9afc7 | 598842e1bbb0a7e50c6fea85d3b4a427bb8d5c2d | /Target Tracking/Tracking/Track.h | 4454cb38b8f76b572d9e0350e973976073663e62 | [] | no_license | aaabbbcccdddeeef/Digital-Image-Process | b587e1ff031c0a580c0d21c7bff4e6c2141ed2d4 | 0b83954fad418a2587a8d3e3fe25fa003256359d | refs/heads/master | 2023-08-21T23:47:53.480320 | 2018-05-21T01:31:59 | 2018-05-21T01:31:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 681 | h | #pragma once
#include <iostream>
#include <opencv2\opencv.hpp>
#include <opencv2\tracking\tracker.hpp>
#include <opencv2\xfeatures2d\nonfree.hpp>
#include "kcf\kcftracker.hpp"
using namespace std;
using namespace cv;
class Track
{
public:
Track();
~Track();
int PlayVideo(CString filename);
void GSMDetec... | [
"448435279@qq.com"
] | 448435279@qq.com |
6b90578f89224165a5f96fb630c33ff5385fddd3 | 2091e1fdd6b69a1f3475824ebc90798f949fa647 | /Pixel.h | 286f03f378abe0f3582063215c0b163a6529bcb0 | [] | no_license | KekKekovich/PIXELEND | dfc7ea3845bd7d15906aec1ec08835bee2ce135d | 69c79d0fb2742127ff8cb4dbc72347b82a7979e2 | refs/heads/master | 2021-05-06T02:34:32.754300 | 2017-12-17T21:18:10 | 2017-12-17T21:18:10 | 114,569,328 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 608 | h | //
// Created by idalov on 24.10.2017.
//
#ifndef DGW_MOOP_1_PIXEL_H
#define DGW_MOOP_1_PIXEL_H
class Pixel{
private:
int X,Y;
int R,G,B;
public:
int getX() const {
return X;
}
int getY() const {
return Y;
}
int getR() const {
return R;
}
int getG() const ... | [
"Ilyavikt-95@mail.ru"
] | Ilyavikt-95@mail.ru |
a8b39438c10801b1faf4dc9987b98a58b33bf10d | 9d188a41ec9cf5526f79bfaab0338a629234bb13 | /src/Gmail_AddressBook.cpp | 288abebd42f165da9632e73602b84cf1f8b6963f | [] | no_license | manjunathcs405/addressbook | 304dac72a2cf102d39790abff1209f532baa4e0e | f4656f6b29af13b49d67034ebefd21a780ee6db1 | refs/heads/master | 2020-05-29T19:26:47.383065 | 2014-11-05T06:56:00 | 2014-11-05T06:56:00 | 26,103,850 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 385 | cpp | #include<iostream>
#include "Gmail_AddressBook.h"
Gmail_AddressBook::Gmail_AddressBook()
{
}
Gmail_AddressBook::~Gmail_AddressBook()
{
}
bool Gmail_AddressBook::addContact()
{
return true;
}
bool Gmail_AddressBook::removeContact()
{
return true;
}
bool Gmail_AddressBook::modifyContact()
{
return true;
... | [
"manjunatha.s@lge.com"
] | manjunatha.s@lge.com |
f25edfb3f50fed1fc24bb022e5be4c0a3e2fa6eb | 2f557f60fc609c03fbb42badf2c4f41ef2e60227 | /CommonTools/Utils/test/testSelectIterator.cc | 4a42cc4641825cb65d9c47380281613f011abda2 | [
"Apache-2.0"
] | permissive | CMS-TMTT/cmssw | 91d70fc40a7110832a2ceb2dc08c15b5a299bd3b | 80cb3a25c0d63594fe6455b837f7c3cbe3cf42d7 | refs/heads/TMTT_1060 | 2020-03-24T07:49:39.440996 | 2020-03-04T17:21:36 | 2020-03-04T17:21:36 | 142,576,342 | 3 | 5 | Apache-2.0 | 2019-12-05T21:16:34 | 2018-07-27T12:48:13 | C++ | UTF-8 | C++ | false | false | 1,452 | cc | #include <cppunit/extensions/HelperMacros.h>
#include "CommonTools/Utils/interface/PtMinSelector.h"
#include "CommonTools/Utils/interface/Selection.h"
#include <iostream>
#include <vector>
#include <iterator>
#include <algorithm>
class testSelectIterator : public CppUnit::TestFixture {
CPPUNIT_TEST_SUITE(testSelectI... | [
"giulio.eulisse@gmail.com"
] | giulio.eulisse@gmail.com |
8cae734683f5d3c3d72521b47c15fa026302f46f | 96961c8f7e96ce7a8a2d37f245f50d44c4941cb1 | /C++/matXvect.cpp | 6ad60e4aacc2dfcbd65ec2c147c4a52217df5680 | [] | no_license | EALH/Prog_Paralela | a82beff37962ddbb1357a280d0aba97bd07c03c5 | 3eb6ac439524a7e4d91e8206396932e8d13ec9a2 | refs/heads/master | 2022-09-14T02:29:49.264709 | 2020-06-03T00:12:00 | 2020-06-03T00:12:00 | 268,922,250 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,512 | cpp | #include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <math.h>
#include <pthread.h>
#include <sys/time.h>
int NUM_OF_THREADS, M, N;
float* A;
float* x;
float* y;
float* y_serial;
int _check_results(float x[], float y[])
{
int i;
for(int i = 0; i < M; i++)
if(abs(x[i] - y[i]) > 0.01) return 1;
return... | [
"eduardoalh02@gmail.com"
] | eduardoalh02@gmail.com |
197188cf86070e8ace777883a9ad7bab1f148d34 | 2da28852b8e688aefb7a5c34090ba4f6d4d918d6 | /Brandisher/include/nana/gui/filebox.hpp | 1800eb9fe2fb8ac3e59055160351508cef7c7125 | [
"Apache-2.0"
] | permissive | winksaville/lava | 9e09b09f30ca7b26e17043506db1b5960a341a5d | 13fbb442407e24360664263f56af41b77ca6bdf0 | refs/heads/master | 2020-03-21T11:22:14.483669 | 2018-06-15T14:23:38 | 2018-06-15T14:23:38 | 138,503,348 | 0 | 1 | Apache-2.0 | 2018-06-24T17:48:51 | 2018-06-24T17:48:51 | null | UTF-8 | C++ | false | false | 2,603 | hpp | /**
* Filebox
* Nana C++ Library(http://www.nanapro.org)
* Copyright(C) 2003-2017 Jinhao(cnjinhao@hotmail.com)
*
* Distributed under the Boost Software License, Version 1.0.
* (See accompanying file LICENSE_1_0.txt or copy at
* http://www.boost.org/LICENSE_1_0.txt)
*
* @file nana/gui/filebox.hpp
* @author Ji... | [
"lava@shinespark.io"
] | lava@shinespark.io |
98613a386173a0a1614f5851ff00684fa65330ee | 258b680977ededde8716d026e705999b53257f0b | /ActorDemo/Actor1/Date.h | dff493170105775f5c10a70183b8e04389c26336 | [] | no_license | EmiPark/ActorDemo | 5ee040134daf1d3632d06248823ac082b4609c97 | 410055f2ec8cd8aaf059cadd986cb1cc41b11807 | refs/heads/master | 2021-06-26T21:22:04.943570 | 2017-09-17T03:36:12 | 2017-09-17T03:36:12 | 103,265,626 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 704 | h | #pragma once
#ifndef _DATE_H_
#define _DATE_H_
class Date
{
public:
Date::Date() {};
Date(int y, int m, int d);
int getYear() const
{
return year;
}
int getMonth() const
{
return month;
}
int getDay() const
{
return day;
}
void setYear(int y)
{
year = y;
}
void setMonth(... | [
"362308457@qq.com"
] | 362308457@qq.com |
8c702619a2d741dcbbfffc8b28b7b60a769ab626 | 63926f6bc3dd5b3573d4e22c7d5ac0bc1a5e253c | /Plugins/Voxel/Source/VoxelEditor/Private/Details/VoxelLandscapeImporterDetails.h | e5f1c73dffb2c42f1fa73e4baab4d450cf2ee89a | [] | no_license | chaiyuntian/MPlugins | 8c024cf3cb815614aa4c5eaf7d6d1e0f5af9eb6b | 9050f15e0ac92657dbf63b403d873e87485892d2 | refs/heads/main | 2023-01-10T23:07:38.428583 | 2020-11-10T04:02:52 | 2020-11-10T04:02:52 | 309,244,097 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 535 | h | // Copyright 2020 Phyronnaz
#pragma once
#include "CoreMinimal.h"
#include "Input/Reply.h"
#include "IDetailCustomization.h"
// See sky light details in the engine code
class AVoxelLandscapeImporter;
class FVoxelLandscapeImporterDetails : public IDetailCustomization
{
public:
/** IDetailCustomization interface */... | [
"tianyunchai@126.com"
] | tianyunchai@126.com |
080e725d2266fe043f6f6f699614f82cf1318c1a | 1040a492b7312e4085cc67cf789c6750865aad26 | /ReaderWriter.h | 2df40265c2d0a804ec766fbdebc9b994478422a4 | [] | no_license | thalesaguiar21/MultiThreadingMatrixProduct | 480d2acd807c3d55e725f56753a12b4bf310a957 | 38e87f5608892b19f119c9a0daa0686a7f49942e | refs/heads/master | 2020-12-11T09:04:35.151228 | 2016-09-16T00:31:15 | 2016-09-16T00:31:15 | 68,341,799 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 558 | h | #ifndef READERWRITER_H
#define READERWRITER_H
#include <iostream>
#include <string>
class ReaderWriter
{
private:
std::string pathToReadFile;
std::string pathToSaveFile;
public:
ReaderWriter();
ReaderWriter(std::string pathToReadFile, std::string pathToSaveFile);
void readMatrixFrom(const std::string& file... | [
"thalesaguiar21@gmail.com"
] | thalesaguiar21@gmail.com |
0cc86a56805a3ed9d435a3b7f5f2467efcbdd7bf | 2f24e6293051ef412481351e9788a05dc5438260 | /cpp/test/method_add.cpp | b2f3991633a7cf09340a797640c448c5c68810d5 | [] | no_license | erich0929/programming | 672392e977d5687ecd8db3fd7eeaa6e65195fc15 | 3f2c6641b1538aa6b12bb665636bde58a226fc2a | refs/heads/master | 2021-01-22T11:58:20.451378 | 2014-08-23T08:13:36 | 2014-08-23T08:13:36 | 22,387,139 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 321 | cpp | #include <iostream>
#include <stdio.h>
using namespace std;
class CTest {
public :
int i;
public :
virtual void do_something () { };
};
int main(void)
{
CTest temp1, temp2;
printf ("temp1 method address : %p\n", &temp1.do_something);
printf ("temp2 method address : %p\n", &temp2.do_something);
return 0;
}... | [
"erich0929@erich0929-A505-UE30K.(none)"
] | erich0929@erich0929-A505-UE30K.(none) |
bec823a2cd62eb03543cb7662655270cf8adc883 | 48d4de83d911acabbe6935fe6fdedac244ba38ea | /SDK/PUBG_WeapCrossbow_2_parameters.hpp | 9c6fbf3cddf56b834a701893172d32346bacbb80 | [] | no_license | yuaom/PUBG-SDK-1 | af9c18e7d69a05074d4e6596f5f6ac1761192e7d | 5958d6039aabe8a42d40c2f6a6978af0fffcb87b | refs/heads/master | 2023-06-10T12:42:33.106376 | 2018-02-24T04:38:15 | 2018-02-24T04:38:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,330 | hpp | #pragma once
// PLAYERUNKNOWN'S BATTLEGROUNDS (3.6.13.14) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "../SDK.hpp"
namespace Classes
{
//---------------------------------------------------------------------------
//Parameters
//-----------------------------------------------------------------------... | [
"mtz007@x.y.z"
] | mtz007@x.y.z |
437a4bc4e0731c524b697c7387b38a9f6277294d | 17b1a813203d9e60b0761f9aa5b6a5c505ed91ec | /Actions/CutAction.h | 12cfdbbe71608264ffdf8949fd03f15c5fe42fa7 | [] | no_license | Happysword/Paint-For-Kids | 1009a84f7e1ce0e922ef21df1a63640949a928f3 | ad1c11b616bbe31a6c5969d4738ca7ebafd487d9 | refs/heads/master | 2021-10-09T09:55:12.071069 | 2018-12-25T21:23:58 | 2018-12-25T21:23:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 312 | h | #pragma once
#include "action.h"
#include "../ApplicationManager.h"
#include "CopyAction.h"
class CutAction : public CopyAction
{
private:
Point P1; //Point of selection
public:
CutAction(ApplicationManager *pApp);
~CutAction();
virtual void ReadActionParameters();
virtual void Execute() ;
};
| [
"bahaaeldeen1999@gmail.com"
] | bahaaeldeen1999@gmail.com |
8ba9a0ae10efa0199ba553bd629f1efd76d19a1d | 95eb3fa6c829cbd7bbc64ced21e3f84c090192a7 | /KURSHACHI/SUPER_KERSACH/CONSOLE/Project_Tetris/Project_Tetris/Field.h | 0bb40029de51262df71857c1f22ddb3d26aa3b27 | [] | no_license | TheTOXIN/STUDENT | f9693e5e053cf86aa2b559a79168a306ec2561da | 163eb3497897773f9d692574552b0e13046bc765 | refs/heads/master | 2020-03-23T18:38:17.554458 | 2018-07-26T08:20:45 | 2018-07-26T08:20:45 | 141,921,781 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 414 | h | #pragma once
class CField
{
public:
CField(int width_c, int height_c);
int width;
int height;
int matrix[20][10];
int getWidth();
int getHeight();
int addScore(int countLine);
void getMatrix(int tmp[20][10]);
int getValue(int x, int y);
void setValue(int x, int y, int value);
void clearField();
int remove(... | [
"thetoksin@mail.ru"
] | thetoksin@mail.ru |
df0e071326ae141947e1e3a4992e81323ceca3e7 | 231d755f50889734283f1673c1d33f86633865b3 | /temperature.h | 599e71c195c49e74ad83a928741c8c1a2502189f | [] | no_license | jasonivey/testcpp | bcb90295fa910764cfe3562d93a3230df2004de9 | 754af9093a0c652b3f6bdd8d80545f318dd65f22 | refs/heads/master | 2023-08-28T11:31:51.227070 | 2021-10-29T08:08:12 | 2021-10-29T08:08:12 | 261,923,993 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 472 | h | #pragma once
#include <string>
namespace mmotd::temperature {
double GetCpuTemperature();
double GetGpuTemperature();
double ConvertCelciusToFahrenheit(double celcius_temperature) noexcept;
enum class Scale { Unknown, Low, Medium, High };
Scale GetScaleFromTemperature(double celcius_temperature) noexcept;
std::st... | [
"jasonivey@gmail.com"
] | jasonivey@gmail.com |
fb4bca19daee9435906def8b18cae9ed82b11312 | 5cd8d6efd159f55e53ff39b2764bb4d447a25699 | /Back-tracking/RatInMaze.cpp | 839aec725015f25f693b92738aee7bf68265c64d | [] | no_license | Shaswat-2203/DataStructures-Algorithms | 9181c285f0114496395ed50ea015e150b6dc6a10 | 5e110d1245382794eba75eb574ff7c1fbfc69476 | refs/heads/main | 2023-08-21T21:44:19.349768 | 2021-10-03T19:42:55 | 2021-10-03T19:42:55 | 413,178,924 | 1 | 0 | null | 2021-10-03T19:38:23 | 2021-10-03T19:38:23 | null | UTF-8 | C++ | false | false | 1,432 | cpp | #include <bits/stdc++.h>
using namespace std;
bool isSafe (int **arr, int x, int y, int n){
if (x < n && y < n && arr[x][y] == 1){
return true;
}
return false;
}
bool ratInMaze(int **arr, int x, int y, int n, int **resultArr){
if (x == n-1 && y == n-1){
resultArr[x][y] = 1;
r... | [
"rahulranjan25.RR@gmail.com"
] | rahulranjan25.RR@gmail.com |
f70d4e94e953b24add8959f8ba066071fc1f38a0 | 1e59bd4634b0eae8de5fa55fd29ced21e7054dab | /server/tcpserver.hpp | 90616b8eb71a28bf78a4cde6ccfabfccf18a3663 | [
"MIT"
] | permissive | KeltorHD/Client-Server-Application-Design-Patterns-Teaching | 472528210d275347812e9ddb40e58977983c9aba | 7461234f828ebfa900366f5a5f965b4aa0d02ce6 | refs/heads/main | 2023-05-09T02:00:28.590666 | 2021-05-12T10:18:19 | 2021-05-12T10:18:19 | 359,933,510 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,225 | hpp | #pragma once
#pragma comment(lib, "ws2_32.lib")
#define _WINSOCK_DEPRECATED_NO_WARNINGS
#define _CRT_SECURE_NO_WARNINGS
#include <Winsock2.h>
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <functional>
#include <thread>
#include <mutex>
#include <list>
#include <string>
#include <vector>
#include ... | [
"keltorplaylife@gmail.com"
] | keltorplaylife@gmail.com |
9a3b23bd1919f1c07086dbbdd1efd30862305c31 | f02b6dd5cee6a61df5b7b0d140ddb92ec239a5e6 | /salesbymatch.cpp | 6eda3f5deb517dab71a496d9431bdb25a6934391 | [] | no_license | bharathprathap/Hackerrank-Solutions | cc1a45dfb697c60cf02e45b529b450fae727d5af | 598bf24b80e4e03dd00b17fbf4a456811b63618c | refs/heads/main | 2023-07-08T10:36:13.459001 | 2021-08-14T12:05:59 | 2021-08-14T12:05:59 | 395,994,796 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 497 | cpp | //BHARATH PRATHAP NAIR
//Problem:Sales by Match
//https://www.hackerrank.com/challenges/sock-merchant/problem
int sockMerchant(int n, vector<int> ar)
{
int pairs=0,count;
for(int i=0;i<n;i++)
{
count=0;
for(int j=i+1;j<n;j++)
{
if(ar[i]==ar[j] && ar[i]!=-1)
... | [
"noreply@github.com"
] | noreply@github.com |
0beb07aadc5150d444d1146bc80f206beaa43a23 | 93e87a15e6a3f249179b8e700b54ebdbb47c3bb7 | /SerialRelais16.h | eecc10d1225f88c93189156d6331367c8e3e8e9c | [] | no_license | sylvainpasquiet/FilPilote | 3cbff87aa6470414331007a62a4455c2931c44ec | 1e41a819b4de960e089750a24e4cacf83e38624c | refs/heads/master | 2020-04-14T13:00:41.913932 | 2019-01-12T14:14:25 | 2019-01-12T14:14:25 | 163,856,966 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 517 | h | #ifndef SerialRelais16_h
#define SerialRelais16_h
#include "Arduino.h"
enum EtatRelai {
INCONNU,
OUVERT,
FERME
};
class SERIAL_RELAIS_16
{
public:
SERIAL_RELAIS_16(int _latchPin,int _dataPin,int _clockPin);
EtatRelai GetRelai(char index);
void SetRelai(char index,Eta... | [
"sylvain.pasquiet80@gmail.com"
] | sylvain.pasquiet80@gmail.com |
cdc7939a49b8e5b26147c17d10ad5fed9bf1e593 | 8afb5afd38548c631f6f9536846039ef6cb297b9 | /MY_REPOS/misc-experiments/_FIREBFIRE/firebase-cpp-sdk/auth/src/user.cc | 1328002df6a21939bc2890eb7f62dcce945a1ec5 | [
"MIT",
"Apache-2.0",
"LicenseRef-scancode-proprietary-license"
] | permissive | bgoonz/UsefulResourceRepo2.0 | d87588ffd668bb498f7787b896cc7b20d83ce0ad | 2cb4b45dd14a230aa0e800042e893f8dfb23beda | refs/heads/master | 2023-03-17T01:22:05.254751 | 2022-08-11T03:18:22 | 2022-08-11T03:18:22 | 382,628,698 | 10 | 12 | MIT | 2022-10-10T14:13:54 | 2021-07-03T13:58:52 | null | UTF-8 | C++ | false | false | 2,037 | cc | /*
* Copyright 2016 Google LLC
*
* 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
*
namespace firebase {
namespace auth {
AUTH_RESUL... | [
"bryan.guner@gmail.com"
] | bryan.guner@gmail.com |
621534295a21e2b5f05cee43ce3d77d61686eb8e | 63a1ac98260e0aa78034e70b13ca4ca8c1596c16 | /Tree/Binary_Search_Tree_BTS.cpp | 44016b459dd904ea626e572926e03166317c2437 | [] | no_license | Hi-Pete/leetcode | d49f2fa935b0ebb62d4666036e7dd24c6e9307f1 | f103c5179b5485471a3958d01253ba2b5a70b594 | refs/heads/main | 2023-07-31T23:43:35.414865 | 2021-09-27T16:51:53 | 2021-09-27T16:51:53 | 349,070,195 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,627 | cpp | // 二叉查找树(Binary Search Tree, BST) 是一种特殊的二叉树:
// 对于每个父节点,其左子节点的值小于等于父结点的值,其右子节点的值大于等于父结点的值
// 因此对于一个二叉查找树,我们可以在 O(nlogn) 的时间内查找一个值是否存在:
// 从根节点开始: 若当前节点的值大于查找值则向左下走,
// 若当前节点的值小于查找值则向右下走
// 同时因为二叉查找树是有序的,对其中序遍历的结果即为排好序的数组
template <class T>
class BST{
struct Node {
T data;
Node* left;
... | [
"525527051@qq.com"
] | 525527051@qq.com |
d5bebb9f1239f9b0e8440e92adedc429d4cc10ec | cfeac52f970e8901871bd02d9acb7de66b9fb6b4 | /generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/TransitGatewayRouteState.h | e813e590e4941398b270a8182004fd727ea58230 | [
"Apache-2.0",
"MIT",
"JSON"
] | permissive | aws/aws-sdk-cpp | aff116ddf9ca2b41e45c47dba1c2b7754935c585 | 9a7606a6c98e13c759032c2e920c7c64a6a35264 | refs/heads/main | 2023-08-25T11:16:55.982089 | 2023-08-24T18:14:53 | 2023-08-24T18:14:53 | 35,440,404 | 1,681 | 1,133 | Apache-2.0 | 2023-09-12T15:59:33 | 2015-05-11T17:57:32 | null | UTF-8 | C++ | false | false | 734 | h | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/ec2/EC2_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
namespace Aws
{
namespace EC2
{
namespace Model
{
enum class TransitGatewayRouteState
{
NOT_SET,... | [
"sdavtaker@users.noreply.github.com"
] | sdavtaker@users.noreply.github.com |
c2a42a3b3454a0ce997e8519681851bacba230bc | 4e006837ed7b91e877ec0fc9bd1c9b6e43131901 | /oxygine-framework/oxygine/src/oxygine/UpdateState.h | 8b5a5998bc76ff4fdf41c3a6a62f3fc440493151 | [
"MIT"
] | permissive | Poscowekh/Project | 52be9104b0ab16c9a504b4295e0a23cadd72ac7a | 3385c24646c951e37097b8ec1cfc29e9c5f44e05 | refs/heads/master | 2022-09-18T13:33:37.504605 | 2020-06-02T19:03:08 | 2020-06-02T19:03:08 | 259,675,760 | 0 | 0 | null | 2020-05-01T08:58:11 | 2020-04-28T15:24:50 | C | UTF-8 | C++ | false | false | 379 | h | #pragma once
#include "oxygine-include.h"
namespace oxygine
{
class UpdateState
{
public:
UpdateState(): time(0), dt(0), iteration(0) {}
/**local time*/
timeMS time;
/**delta time since last update*/
timeMS dt;
/**current iteration, used wi... | [
"ziuwari@ya.ru"
] | ziuwari@ya.ru |
e5bc8724147a6c37d0592cd8b82e5d8c5f79f2f3 | 0ca63a629db6c094c263b83502d127cb59683bbc | /NAVE.cpp | 4ec64e99cecbfb051a24c1ff1b0b19c726f29434 | [] | no_license | ValenSampayo/Proyecto-NAVE | e775852a0c9a8e966954d2e0828c02654dd6c985 | 3ce45fcb333e20a38828aced5dafd74daa6dc8b1 | refs/heads/master | 2022-05-22T17:28:10.784607 | 2020-04-17T20:19:32 | 2020-04-17T20:19:32 | 256,600,928 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,880 | cpp | #include<stdio.h>
#include<windows.h>
#include<conio.h>
#include<stdlib.h>
#include<list>
using namespace std;
#define ARRIBA 72
#define IZQUIERDA 75
#define DERECHA 77
#define ABAJO 80
void gotoxy(int x, int y){
HANDLE hCon;
hCon = GetStdHandle(STD_OUTPUT_HANDLE);
COORD dwPos;
dwPos.X = x;
dwPos... | [
"noreply@github.com"
] | noreply@github.com |
1f2d02910eccd7c881f3768e32c7a7596c70eea8 | 6d54a7b26d0eb82152a549a6a9dfde656687752c | /examples/platform/linux/CommissionableInit.cpp | 24fc347153c0537cdc29141e9ccafcb2658c77fe | [
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | project-chip/connectedhomeip | 81a123d675cf527773f70047d1ed1c43be5ffe6d | ea3970a7f11cd227ac55917edaa835a2a9bc4fc8 | refs/heads/master | 2023-09-01T11:43:37.546040 | 2023-09-01T08:01:32 | 2023-09-01T08:01:32 | 244,694,174 | 6,409 | 1,789 | Apache-2.0 | 2023-09-14T20:56:31 | 2020-03-03T17:05:10 | C++ | UTF-8 | C++ | false | false | 4,169 | cpp | /*
*
* Copyright (c) 2022 Project CHIP Authors
* 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... | [
"noreply@github.com"
] | noreply@github.com |
822db19547b44baa2e05494dc2fbd6eec30d887a | 5e55f52b4d7c1819a44a6599c6b383afb658d19a | /NatsuLib/natCryptography.cpp | bd2201e923ef4e80ea335365e2264ca4b9e133b8 | [] | no_license | akemimadoka/NatsuLib | 40428d096e5e40d83c33421078871e55d4019871 | e95ca605c6519220acef3af860bfbc5458f3acb0 | refs/heads/master | 2020-04-12T06:38:36.141989 | 2018-11-18T10:02:51 | 2018-11-18T10:02:51 | 61,736,666 | 44 | 2 | null | 2017-03-26T03:01:55 | 2016-06-22T17:02:35 | C++ | UTF-8 | C++ | false | false | 16,753 | cpp | #include "stdafx.h"
#include "natCryptography.h"
#include "gzguts.h"
#include <random>
using namespace NatsuLib;
namespace NatsuLib
{
namespace detail_
{
constexpr nuInt Crc32One(const nuInt* crc32Table, nuInt c, nuInt b) noexcept
{
return ((crc32Table[((c ^ b) & 0xff)]) ^ (c >> 8));
}
constexpr nuInt ... | [
"jxhzq1996@126.com"
] | jxhzq1996@126.com |
50f3debc5380d08da1fe1531ee7697be7ac90cd3 | 37867f639363ab2f188028dc158b483b6e6b81f3 | /Src/AI/LAInteractSO.cpp | 2fc64e32dd7d9c0849b3168c5b98f66e35e0841b | [] | no_license | ailuoxz/BadPrincess-Game | 704143bcafe1205a2ccdd7dbd68ed284c6fa1d76 | 47caae1a03fdfe8058260e44add25fd8e89f99c3 | refs/heads/master | 2021-12-14T15:13:50.974644 | 2017-05-04T16:31:22 | 2017-05-04T16:31:22 | null | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 12,216 | cpp | #include "LAInteractSO.h"
#include "Server.h"
#include "AI/EntityManager.h"
#include "Logic\Entity\Entity.h"
#include "Logic/Entity/Components/WorkmanState.h"
#include "Logic\UnitMessages.h"
#include "Logic\MovementMessages.h"
#include "Logic\AudioMessages.h"
#include "Logic\SmartObjectMessages.h"
#include "Logic\Workm... | [
"raycosanchezgarcia@gmail.com"
] | raycosanchezgarcia@gmail.com |
fda39371509dfc674e6e446c81822d015ed949ac | ca1400d67b5c38c440f188da7628252618430d40 | /QuickSearch/searchManage.cpp | 953bd3da73d8ebfa8a27882184de69dff01b1210 | [] | no_license | ykerit/QuickSearch | 638231a246bf018e2aea79fa1e894ca9659be56a | e82d0deb5849cb515a441cb91434adbb8d6a9516 | refs/heads/master | 2020-06-26T01:15:16.147554 | 2019-07-29T15:30:33 | 2019-07-29T15:30:33 | 199,478,950 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 5,952 | cpp | #include "searchManage.h"
namespace quicksearch
{
using namespace util;
// 监控间隔
#define INTERVAL 10
void SearchManage::InitSearch()
{
// 初始化数据库
db_ = new DataBase("record.db");
db_->Init();
// 初始化USN日志
usn_ = new UsnManage("E:");
usn_->Init();
std::thread work(&SearchManage::BGDataService, this);
... | [
"ykerforit@gmail.com"
] | ykerforit@gmail.com |
fbc852048916ca37eeb2d163a72993ea3e31c7cb | 40e326893d52d8741630e1d3176d24207bd8e1d3 | /matcher.cpp | f5cedfce458505f472f3b8c9ed56c67ee920a0f6 | [] | no_license | zinglax/dylan-openCV | 372f88f60b8bd371783b8388e0111d0d98c6a98f | 9a2d4f43085769c3fb182f636ba5ebcdcb8a14b3 | refs/heads/master | 2021-01-22T06:54:31.552675 | 2014-10-06T01:14:58 | 2014-10-06T01:14:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 925 | cpp | #include "opencv2/core/core.hpp"
Mat img1 = imread(argv[1], CV_LOAD_IMAGE_GRAYSCALE);
Mat img2 = imread(argv[2], CV_LOAD_IMAGE_GRAYSCALE);
if(img1.empty() || img2.empty())
{
printf("Can't read one of the images\n");
return -1;
}
// detecting keypoints
SurfFeatureDetector detector(400);
vector<KeyPoint> keypoi... | [
"dylanzingler@gmail.com"
] | dylanzingler@gmail.com |
8bb8779e78080001124b2babb5975022cbe25a10 | c5980a4b6317c499f871fdfd9a40ce030c0c53bc | /devel/include/geographic_msgs/UpdateGeographicMapRequest.h | b2c16745b198c1d16e3b7b588bdbcd215ff99391 | [] | no_license | lizhiwei0304/udp_comm | 28475a66e599375ed54a203f7679ad48842a4201 | 5490e1e84be13a1e98fc7589f56ae8925731d432 | refs/heads/master | 2022-11-09T12:05:01.963363 | 2020-06-23T14:59:33 | 2020-06-23T14:59:33 | 274,434,920 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,558 | h | // Generated by gencpp from file geographic_msgs/UpdateGeographicMapRequest.msg
// DO NOT EDIT!
#ifndef GEOGRAPHIC_MSGS_MESSAGE_UPDATEGEOGRAPHICMAPREQUEST_H
#define GEOGRAPHIC_MSGS_MESSAGE_UPDATEGEOGRAPHICMAPREQUEST_H
#include <string>
#include <vector>
#include <map>
#include <ros/types.h>
#include <ros/serializa... | [
"lizw_0304@163.com"
] | lizw_0304@163.com |
5c24def8b3a47376cd9342d14b8f3009e2474cff | c9c27f4c1595c5d1d9ad433765be15899afc394f | /src/macierzC.cpp | 528a2eb369c38937518ee8dc5d5c805a4eac7519 | [] | no_license | filip452/dron | a9ae1d12ac84db50305529201b3b52b14a61f465 | f1f84a8f0b4434e8b7ca21297800891a4bd51161 | refs/heads/master | 2022-10-13T14:41:35.193609 | 2020-06-08T09:21:13 | 2020-06-08T09:21:13 | 263,037,454 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 301 | cpp | #include "macierz.cpp"
template class macierz<double,3>;
template std::istream & operator>>(std::istream & strm,macierz<double,3> & M);
template std::ostream & operator<<(std::ostream & strm, const macierz<double,3> & M);
template macierz<double,3> operator*(double l2,const macierz<double,3> & M);
| [
"253983@student.pwr.edu.pl"
] | 253983@student.pwr.edu.pl |
89a570c5aa5cf71af96b4dd7ea66412b55233e10 | 18e9db71a0e207dbc7654135123bceaa7b3339e4 | /7.代码练习/noip入门组/207评奖2.cpp | a142c4ccb710873c0ee086d1047dc8d9f280ae08 | [] | no_license | TheIslland/learning-in-collegelife | 358490cc74914b87d4d626a6485c2fe1ff06462f | 1794e18addfd05e32cf8108895ac1585586394e1 | refs/heads/master | 2021-07-08T00:51:00.908370 | 2020-07-11T01:04:35 | 2020-07-11T01:04:35 | 144,252,958 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,144 | cpp | /*************************************************************************
> File Name: 207评奖2.cpp
> Author: TheIslland
> Mail: voidland@163.com, 861436930@qq.com
> Created Time: Wed Nov 6 19:55:51 2019
************************************************************************/
#include<iostream>
#include<algorith... | [
"861436930@qq.com"
] | 861436930@qq.com |
081133ced64d6faf1560f06ee4e9e094340b512e | 327a0fd1d791a2d928200d9e1e29a68937e9f031 | /redist/deps/fmstream/fmstream.h | addcc6d8b959590d7b45ac01304f3eba93ca68d4 | [
"Zlib",
"BSD-3-Clause",
"MIT"
] | permissive | Meowhax/apathy | aa29254a07b583c90c5d09d53cd5451232844ae4 | 5273e14f29e3705f09df48cb813e4ec6e3a4e619 | refs/heads/master | 2020-04-13T17:44:09.443385 | 2015-06-12T17:42:17 | 2015-06-13T09:42:01 | 43,214,773 | 1 | 0 | null | 2015-09-26T17:12:17 | 2015-09-26T17:12:17 | null | UTF-8 | C++ | false | false | 29,221 | h | /*
* Copyright (c) 2013, Benichou Software
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright
* notice, this list o... | [
"r-lyeh"
] | r-lyeh |
c996cab86d732cd6eb175e03f094008babd77978 | 2c6221df607e3e41571e552ce6966acd5e8accab | /Timer.h | 2c8e8eb2f91c5d3fe2bd3a5773b7fea4edefda4a | [] | no_license | Charlyhash/GakkiNet | 1a66adaa5ea82116c001943c9f5faa433fbf17ed | 2d1c8ac4cb4c65875223a88627da8075129f92f7 | refs/heads/master | 2021-07-02T21:48:20.950842 | 2017-09-25T01:04:00 | 2017-09-25T01:04:00 | 104,687,870 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 817 | h | #ifndef __TIMER_H__
#define __TIMER_H__
#include <unistd.h>
#include <stdint.h>
#include <sys/time.h>
#include <functional>
#include <memory>
using namespace std;
/*
Timer是对事件类事件的封装,包含一个到期时间和处理函数
*/
namespace GakkiNet
{
class Timer
{
public:
Timer(uint32_t interval, const function<void()> & funcH... | [
"1062403542@qq.com"
] | 1062403542@qq.com |
f7380f1df4ead82a5c9428f14faa560330625b47 | e8ecc5a25be493d2bed7df4305fa4b9933342d7e | /src/_resources/menu_logo.png.cpp | 0515a6b49a6c34ebae817435bf089b374409aa6f | [
"MIT"
] | permissive | friedcroc/tizen_spacerace | a3b01ff8797d6664984d2c7ba99706349d508451 | 08550b8ce4432f502da243522de375b52fdf5925 | refs/heads/master | 2020-06-05T02:30:25.322206 | 2018-04-28T21:45:54 | 2018-04-28T21:56:51 | 18,323,542 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 35,269 | cpp | #include <cstddef>
extern const size_t file_menu_logo_png_size = 6985;
extern const unsigned char file_menu_logo_png[] = {
0x89,0x50,0x4E,0x47,0x0D,0x0A,0x1A,0x0A,0x00,0x00,0x00,0x0D,0x49,0x48,0x44,0x52,0x00,0x00,0x02,0x31,0x00,0x00,0x00,0x9D,0x08,0x06,0x00,0x00,0x00,0x45,0x2E,0x29,
0x48,0x00,0x00,0x00,0x09,0x70,0x48,0... | [
"zapolnov@gmail.com"
] | zapolnov@gmail.com |
2e254bd05999b6ff939e467dc8b4babc3fbecefc | 794a247a36094589a6ea55d7cad91b7aa9de0660 | /algo/sorting/selectionsort/selectionsort.h | 86c72434713cc2846c407b9b3c941598ad3d7995 | [] | no_license | sunilrpandey/dsalgo | e3d3d3107971cfaf1aa4eb2ac09c255f86433922 | 047402c388e160b374a07d400f7631255bd65867 | refs/heads/master | 2021-07-03T08:11:21.318673 | 2020-09-28T17:47:21 | 2020-09-28T17:47:21 | 179,428,722 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 337 | h | #pragma once
#include <iostream>
namespace algos
{
void Selectionsort (int * arr, int sz)
{
for(int i = 0; i < sz-1; i++) {
int min_index = i;
for(int j = i + 1; j < sz; j++) {
if(arr[j] < arr[min_index]) {
min_index = j;
}
}
if(min_index != i)
std::swap(arr[i],arr[min_inde... | [
"inkingmind@gmail.com"
] | inkingmind@gmail.com |
ae4428879968469801ce4ba181c44f8042b34705 | 909b6b8e930b01f0fb8e2cc74f4e061da18552e0 | /raygame/Game.cpp | 4b0a05c5c2b519e9f93495b5e53da06ec73bca5e | [
"MIT"
] | permissive | SamuelDaman/Custom-Phys-Assessment-Cpp | 70014f4833a6d3e917428da5b0273420666dac65 | 41d69d9963398be6983474e2b7fff610f333241c | refs/heads/master | 2022-12-12T14:26:40.079486 | 2020-09-17T05:15:15 | 2020-09-17T05:15:15 | 294,776,159 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,997 | cpp | #include "Game.h"
#include <iostream>
#include <ctime>
#include <cstdlib>
#include "Raylib.h"
#include "enumUtils.h"
collisionMap setupCollisionChecks()
{
collisionMap map;
map[(collisionPair)(ShapeType::CIRCLE | ShapeType::CIRCLE)] = checkCircleCircle;
map[(collisionPair)(ShapeType::CIRCLE | ShapeType::AABB)] ... | [
"54036673+SamuelDaman@users.noreply.github.com"
] | 54036673+SamuelDaman@users.noreply.github.com |
e83eae6b12a70bb5e58313e9a1c1c5a2395c499f | 785df77400157c058a934069298568e47950e40b | /TnbSectPx/TnbLib/SectPx/Registry/Object/SectPx_ObjectRegistryIO.cxx | 84e4b902385ad715ffbccc880390fecd8bc1ca12 | [] | no_license | amir5200fx/Tonb | cb108de09bf59c5c7e139435e0be008a888d99d5 | ed679923dc4b2e69b12ffe621fc5a6c8e3652465 | refs/heads/master | 2023-08-31T08:59:00.366903 | 2023-08-31T07:42:24 | 2023-08-31T07:42:24 | 230,028,961 | 9 | 3 | null | 2023-07-20T16:53:31 | 2019-12-25T02:29:32 | C++ | UTF-8 | C++ | false | false | 500 | cxx | #include <SectPx_ObjectRegistry.hxx>
#include <SectPx_CountRegistry.hxx>
#include <SectPx_ScatterRegistry.hxx>
#include <SectPx_RegObj.hxx>
TNB_SAVE_IMPLEMENTATION(tnbLib::SectPx_ObjectRegistry)
{
ar & boost::serialization::base_object<SectPx_Entity>(*this);
ar & theCounter_;
ar & theScatter_;
ar & theObjects_;
}... | [
"aasoleimani86@gmail.com"
] | aasoleimani86@gmail.com |
6afa596ab3fab6bcc70f501d007403e55d7583bc | 5d6c856c7b2ce846f9e78ff4a9faff885d216433 | /Week-02/1. Primitive/Solutions/Mukesh Kumar (Gcs-1840095)/Solution-02.cpp | b6d27aeb2c85426f7c9485e7a17591bbe7ae0e5a | [] | no_license | SSDC-SLIET/practice | c285f8f6553a0f3a89f7c18d22d722ca06f9ccc1 | a77259450e4a9455c099265c99e4fd931178a5ce | refs/heads/master | 2021-07-23T20:57:41.702153 | 2020-07-19T15:13:31 | 2020-07-19T15:13:31 | 199,048,826 | 11 | 48 | null | 2019-09-01T13:50:19 | 2019-07-26T16:30:20 | Python | UTF-8 | C++ | false | false | 178 | cpp | int convertFive(int n)
{
if (n == 0)
return 0;
int digit = n % 10;
if (digit == 0)
digit = 5;
return convertFive(n/10)*10 +digit;
}
| [
"noreply@github.com"
] | noreply@github.com |
8f9609dac2baf108ed779f8259d27e3b73b679ae | 8b452bf7e8bfaf255428153d2a8641b0a09027b7 | /Franklin & Marshall/CS3/eandrewsHW1/ReallyLongInt.cc | 9e37a37d918542a842cade3078e50510ff4deaf5 | [] | no_license | EricBAndrews/Classwork | 6f9b60fdca94dc76cc776f63631884df51cb1940 | 7f907c612eae0eed700d0e2c3f3ee76bbf2a2323 | refs/heads/master | 2020-04-03T03:34:09.817660 | 2018-11-24T19:50:23 | 2018-11-24T19:50:23 | 154,989,486 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,572 | cc | #include<math.h>
#include "ReallyLongInt.hpp"
// private
ReallyLongInt::ReallyLongInt(unsigned int* digitArr, unsigned int arrSize, bool isNeg) {
removeLeadingZeros(digitArr, arrSize);
digits = digitArr;
numDigits = arrSize;
this->isNeg = digits[0] != 0 ? isNeg : false;
}
void ReallyLongInt::removeLea... | [
"eric.barclay.andrews@gmail.com"
] | eric.barclay.andrews@gmail.com |
3e111cff8bb54d7e23ce6f563a56d7a2dc5e95a1 | 214a0bb04952b840920b90082ff47693b1846dfe | /algorithms/kernel/pca/pca_dense_correlation_batch_fpt_dispatcher.cpp | f65faebf27add2a35d856c9cfdfd05fc0596838d | [
"Apache-2.0",
"Intel",
"LicenseRef-scancode-warranty-disclaimer",
"BSD-2-Clause",
"MIT",
"Zlib",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | ShvetsKS/daal | f2e3bd6c9c01dcfc8fa4aa868c03e91486e0a078 | 9a212d0744029b46d0c1bc4a7459f2b435622231 | refs/heads/master | 2021-06-18T12:57:24.401709 | 2020-02-04T08:47:01 | 2020-02-05T10:04:52 | 208,966,273 | 0 | 0 | Apache-2.0 | 2019-09-17T05:27:16 | 2019-09-17T05:27:16 | null | UTF-8 | C++ | false | false | 1,117 | cpp | /* file: pca_dense_correlation_batch_fpt_dispatcher.cpp */
/*******************************************************************************
* Copyright 2014-2020 Intel Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You... | [
"nikolay.a.petrov@intel.com"
] | nikolay.a.petrov@intel.com |
68183a1a189f4ddb9589f87f5da9dbf77edfc042 | 5a2b4b9ed6089bbcc47b5e17708ae8b2ca697ca5 | /src/qt/bitcoin.cpp | 6049bbdf0d18894afb106bf1a0e439fd66b1729d | [
"MIT"
] | permissive | yamahacoin/sourcescode | 4fe95b17ab887b8f60378b746ae89c09d85bff0a | 497112a52cdde72bab93e407671f9572ebfdb14a | refs/heads/master | 2021-01-19T06:43:18.256173 | 2016-08-07T00:13:00 | 2016-08-07T00:13:00 | 65,090,340 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,104 | cpp | // Copyright (c) 2011-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 <QApplication>
#include "bitcoingui.h"
#include "clientmodel.h"
#include "walletmodel.h"
#include "optionsm... | [
"noreply@github.com"
] | noreply@github.com |
ec255a5899402dfc9d56108c7ff551c7664b0e6c | 78caadec60f3cbcd429d1b745027540ee82b9e99 | /asearch.cpp | 2cad9baf36e7cc7ef8ffbfd0ce85fc09ffb0f1f7 | [] | no_license | ogcraft/asearch | 7d0a63a8952139bb86e9e717980041592e9d4774 | 59350886281f20fea666c6df5b07037a93a56bd9 | refs/heads/master | 2023-01-14T05:59:03.598915 | 2014-02-20T20:26:41 | 2014-02-20T20:26:41 | 314,747,669 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,357 | cpp | ////////////////////////////
#include <iostream>
#include <vector>
#include <algorithm>
#include <memory>
#include <string> // std::string
#include <bitset> // std::bitset
#include <sndfile.h>
//#include "armadillo"
#include "utils.h"
#include "sigproc.h"
//using namespace arma;
using namespace std;
... | [
"olegg@OLEG-764PC.waves.com"
] | olegg@OLEG-764PC.waves.com |
4e0e6bde863706f7f52788aa781270226d9c8c08 | 70898884dda5659a93f544c0bea4a18fcd05f444 | /OBJECT ORIENTED C++/Workshop6/athome/w6_p2.cpp | af647eaede7d2398f555f28d29e19805d6fe726b | [] | no_license | pmahida1/BTP305 | 4d7acd3e3bd60f3cf978906d623b941468d1037c | 1c49b6ebda5a67619e715b922b440d916a39691e | refs/heads/master | 2023-03-04T01:47:13.209270 | 2021-01-22T01:13:48 | 2021-01-22T01:13:48 | 331,798,276 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,330 | cpp | // Name: Parth Mahida
// Seneca Student ID: 140 172 180
// Seneca email: pmahida1@myseneca.ca
// Date of completion: November 2nd, 2020
//
// I confirm that I am the only author of this file
// and the content was created entirely by me.
#include <iostream>
#include <iomanip>
#include <fstream>
#include "Autoshop.h"... | [
"mahida.parth566@gmail.com"
] | mahida.parth566@gmail.com |
b6a00ff8d97c2ffae4581616dea75320158303e8 | 37318e706c9b361dfcce777e65bebd61ec1bf237 | /MiniTreeReader/EvtLoop_MatrixACR.cxx | 01883669b240d8fe4b4892e822d423767ad38709 | [] | no_license | salboa/SMHiggsBosonCrossSection | cd9c0a8812f94d8cdd9c527cce1bffa668a3f33e | 3b93cfd575c781822f7150139c8ed75997bf97a7 | refs/heads/master | 2022-11-29T13:46:21.594108 | 2020-07-22T21:39:57 | 2020-07-22T21:39:57 | 281,787,211 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,106 | cxx | #include "EventLoop.h"
void EventLoop::FillRecoValues(bool keepTruth){
PRINT_VERBOSE("<EventLoop::FillRecoValues()>:: filling reco values ... ");
for(uint v=0; v<m_diffVars.size(); v++){
int vNum = GetVariableID( m_diffVars[v] );
int bin = GetVariableBin( vNum,mcType::Reco );
if( PassConditi... | [
"antonio.salvucci@cern.ch"
] | antonio.salvucci@cern.ch |
30d4111ee52c21a9959093024d7c8cc0fee0268e | f0f0a8d3079bbdc6847dae5f562cb65a8bb7f32e | /Chapter_4/1.cpp | a815114fb2901721597748a2aea4c4414f2bc1c7 | [] | no_license | RapunzeI/Cpp | f20c02fac700c9458e50bae19a286818dfc5dc69 | d1ecb7826e485cc50a8f31712699079ba82f4c10 | refs/heads/main | 2023-05-29T20:42:01.385343 | 2021-06-05T14:36:04 | 2021-06-05T14:36:04 | 355,849,784 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 576 | cpp | #include <iostream>
using namespace std;
class Color {
int red, green, blue;
public:
Color(){ red = green = blue = 0; }
Color(int r, int g, int b) { red = r; green = g; blue = b; }
void setColor(int r, int g, int b){ red = r; green = g; blue = b; }
void show() { cout << red << ' ' << green << ' ' << blue << endl;... | [
"noreply@github.com"
] | noreply@github.com |
20caa343b3171c2491179e2eccdd1fd04fc1eae3 | 80721bb1fc43e51281c828f9e28037087bbfd1f9 | /hx/proc/abs.hh | 2e3db432e27d2229f3a5c0a6c5b3000362c20fc3 | [
"MIT"
] | permissive | geekysuavo/hx | 3fb0d5828dc30e9e4a15c5734f1f13c51854c4af | 457b7c486d24e3142f2f9c259b0dfb97af03b312 | refs/heads/main | 2021-10-10T09:28:35.918092 | 2021-10-05T16:05:08 | 2021-10-05T16:05:08 | 142,273,838 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 714 | hh |
/* Copyright (c) 2019 Bradley Worley <geekysuavo@gmail.com>
* Released under the MIT License.
*/
#pragma once
namespace hx::proc {
/* hx::proc::abs<In>
*
* Processor that converts complex arrays to real arrays by taking
* the multicomplex modulus of each array element.
*/
template<typename In>
struct abs {
... | [
"geekysuavo@gmail.com"
] | geekysuavo@gmail.com |
adda33cc0155cb5e8c15fc8a10a37da4a596ba96 | 59a0e5d431a17725ba1f24cd1baf258f08dd32a3 | /src/common/model.h | c324f98a9436b7cd8f9c019fcc4b095e061f023a | [
"MIT"
] | permissive | yuqtj/OpenGLPractice | 588bec2ecf2d71d073ce78b14b21959f9bb95094 | a3e2b46ee84194ce8f823c4bc497093ed8a7e254 | refs/heads/master | 2020-05-19T17:53:26.290056 | 2019-05-10T08:46:32 | 2019-05-10T08:46:32 | 185,144,992 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,816 | h | #ifndef MODEL_H
#define MODEL_H
#include <glad/glad.h>
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <stb_image.h>
#include <assimp/Importer.hpp>
#include <assimp/scene.h>
#include <assimp/postprocess.h>
#include <common/mesh.h>
#include <common/shader.h>
#include <string>
#include <fstre... | [
"269427899@qq.com"
] | 269427899@qq.com |
6ba184537b57f2eb705eb1a8b1a5c55d32688bc5 | 1c635d3afdd215602001f20c1260e9fee2c0f9f7 | /CarND-MPC-Project-master/src/main.cpp | 7188b4c57fec0ef3dbd87f5b392a39d5403d4d15 | [] | no_license | anilhd2410/SelfDrivingCar-term2 | ba503e622873d3fd387a03b21a884b45e9aa8222 | eecd3b926101fc219ec7c544dc5be86f38c86d9e | refs/heads/master | 2021-07-12T19:09:50.685456 | 2017-10-12T21:20:34 | 2017-10-12T21:20:34 | 104,525,860 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,206 | cpp | #include <math.h>
#include <uWS/uWS.h>
#include <chrono>
#include <iostream>
#include <thread>
#include <vector>
#include "Eigen-3.3/Eigen/Core"
#include "Eigen-3.3/Eigen/QR"
#include "MPC.h"
#include "json.hpp"
// for convenience
using json = nlohmann::json;
// For converting back and forth between radians and degre... | [
"anil.hd2410@gmail.com"
] | anil.hd2410@gmail.com |
5d76308237e0e4e8bd62e15f4a5bcfa8108e503a | cd9c4670683df414f814928ec69778c13095f862 | /SpotVMFrame/SpotVMFrame/ReadTrace.cpp | 1c1c0e5c8f047ee85f622235d0005824e7e1caab | [] | no_license | amelieczhou/hybrid-dynamic-workflow-scheduling | a1d82d0ec110cf099c0eab37984622fb2c5dbf2b | c13d8d1aaaee95a9262a530d91746309b081c25c | refs/heads/master | 2020-12-25T18:20:30.888574 | 2015-01-13T03:37:29 | 2015-01-13T03:37:29 | 32,119,838 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,534 | cpp | #include "stdafx.h"
#include <stdio.h>
#include <math.h>
#include <string.h>
#include <stdlib.h>
#include <fstream>
#include <iostream>
#include <omp.h>
#include "ReadTrace.h"
int ReadTrace::readfile(char* filename){
if((fp=fopen(filename, "r"))==NULL){
printf("Error: file not found: %s\n", filename);
exit... | [
"andyzhang870914@gmail.com@0f0f248c-0e70-7bf0-40e6-9a9aec565ee8"
] | andyzhang870914@gmail.com@0f0f248c-0e70-7bf0-40e6-9a9aec565ee8 |
382864f61b0acf7a1a50948fbaa58f1edf16e94a | 2bbd3585fdbddf86abd401a484f52884523b19d2 | /C++/Q5/text.cpp | e574f007f96b512f9c2e4c33a78e83fff6d0b669 | [] | no_license | ahmadreza-n/AP-HW4 | 6906d3a1e88a851656e7b463b86ae6e5b06c6034 | 93f27376ca3eec4808d91885e92e152398b029d2 | refs/heads/master | 2020-05-16T04:23:33.597826 | 2019-05-07T17:49:52 | 2019-05-07T17:49:52 | 182,774,790 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 160 | cpp | #include "text.h"
CText::CText()
{
}
CText::~CText()
{
}
CText::CText(std::string text_) : text{text_}
{
}
std::string CText::getText()
{
return text;
} | [
"ahmadrezaanazari@gmail.com"
] | ahmadrezaanazari@gmail.com |
c63378f9c331948d0635c31c08c35b2ef75531f1 | baa46f5a65374ae641d0025e28083481bbc617c4 | /Computational 5 Errors/Computational 5 Errors/main.cpp | 0cbfb55b55860c97cdcfa01b1ab20b3c8aeaca73 | [] | no_license | divyansh000915/Comp_Tech | f5d89fcafdfd6a4a88f96aa9fec3f65cd94e3e50 | 19936855bac0fd99d72075589ce22f1de4f4208c | refs/heads/master | 2022-02-28T22:45:38.186318 | 2019-09-23T13:56:56 | 2019-09-23T13:56:56 | 208,996,750 | 0 | 1 | null | 2019-10-11T04:26:33 | 2019-09-17T08:14:04 | C++ | UTF-8 | C++ | false | false | 729 | cpp | //
// main.cpp
// Computational 5 Errors
//
// Created by Divyansh Rastogi on 11/09/19.
// Copyright © 2019 Divyansh Rastogi. All rights reserved.
//
#include <iostream>
#include <math.h>
using namespace std;
int main(int argc, const char * argv[]) {
// insert code here...
// std::cout << "Hello, World!\n"... | [
"divyansh000915@gmail.com"
] | divyansh000915@gmail.com |
a9660a9ef1ce31ddec932b0755e1543fd0d5b274 | 4d55312ef918168fd289a1a95ddfee087d7e643a | /src/key.h | 66632f5b0f3e154ebbe99b0b5143d4bcf255f5fc | [
"MIT"
] | permissive | decentralway/decentralway | c514434ee9afcd05b6e4c539039a0de9937eb3f2 | d9273a378a673d024e05d382b0d8bdfb4578bc0d | refs/heads/master | 2020-04-26T14:48:34.565785 | 2019-03-11T20:59:58 | 2019-03-11T20:59:58 | 159,785,919 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,232 | h | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2015-2018 The PIVX developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef Decentralway_KEY_H
#define Dece... | [
"info@decentralway.com"
] | info@decentralway.com |
63f2a8712b8f8cbb22d7e9535fe15e8cc5d3911d | c057e033602e465adfa3d84d80331a3a21cef609 | /C/testcases/CWE415_Double_Free/s02/CWE415_Double_Free__new_delete_int_22b.cpp | a09f92690c7c573de88b032ba547585a1e0de049 | [] | no_license | Anzsley/My_Juliet_Test_Suite_v1.3_for_C_Cpp | 12c2796ae7e580d89e4e7b8274dddf920361c41c | f278f1464588ffb763b7d06e2650fda01702148f | refs/heads/main | 2023-04-11T08:29:22.597042 | 2021-04-09T11:53:16 | 2021-04-09T11:53:16 | 356,251,613 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,304 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE415_Double_Free__new_delete_int_22b.cpp
Label Definition File: CWE415_Double_Free__new_delete.label.xml
Template File: sources-sinks-22b.tmpl.cpp
*/
/*
* @description
* CWE: 415 Double Free
* BadSource: Allocate data using new and Deallocae data using delete
* GoodS... | [
"65642214+Anzsley@users.noreply.github.com"
] | 65642214+Anzsley@users.noreply.github.com |
989c62103118bb47d76c3d1d91cc684744203211 | 348a1145bc5f22c5fff202010f9f4c494d4abb31 | /opm/parser/eclipse/IntegrationTests/ParsePLYSHLOG.cpp | 4e3698cd84376d803a94066c29fd9474ba56ea6a | [] | no_license | edbru/opm-parser | 072c0c44b161788ff301db23b5bde5b5fa1c34cf | ee09eefd7f85e7babebb7e856e3155dc213e7a57 | refs/heads/master | 2021-01-23T23:39:20.783393 | 2015-06-15T15:29:54 | 2015-06-15T15:29:54 | 32,381,359 | 0 | 0 | null | 2015-03-17T08:43:18 | 2015-03-17T08:43:18 | null | UTF-8 | C++ | false | false | 2,344 | cpp | /*
Copyright 2015 SINTEF ICT, Applied Mathematics.
This file is part of the Open Porous Media project (OPM).
OPM 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 3 of the License, or
(a... | [
"kai.bao@sintef.no"
] | kai.bao@sintef.no |
cf4371057ea6295e284a830e08f98ca7dd1a377e | c51febc209233a9160f41913d895415704d2391f | /library/ATF/LPFILTERKEYS.hpp | d3f7e3e050b7a223c237a84a8b4d22859102ff23 | [
"MIT"
] | permissive | roussukke/Yorozuya | 81f81e5e759ecae02c793e65d6c3acc504091bc3 | d9a44592b0714da1aebf492b64fdcb3fa072afe5 | refs/heads/master | 2023-07-08T03:23:00.584855 | 2023-06-29T08:20:25 | 2023-06-29T08:20:25 | 463,330,454 | 0 | 0 | MIT | 2022-02-24T23:15:01 | 2022-02-24T23:15:00 | null | UTF-8 | C++ | false | false | 260 | hpp | // This file auto generated by plugin for ida pro. Generated code only for x64. Please, dont change manually
#pragma once
#include <common/common.h>
#include <tagFILTERKEYS.hpp>
START_ATF_NAMESPACE
typedef tagFILTERKEYS *LPFILTERKEYS;
END_ATF_NAMESPACE
| [
"b1ll.cipher@yandex.ru"
] | b1ll.cipher@yandex.ru |
866c2331bfb8bcb97a7ee2b7011674ad3ce619a9 | 2c92f0791872199207c727f09594cfec33314c79 | /DehaxGL/Math/Vec3i.cpp | 47bf4b00c7f0164b94f8e478cef25a82a319d065 | [] | no_license | Dehax/DehaxRenderer | 7341421b8151a7637eafea534b2906925e8b6099 | 6e6380199dbb6936ef10630c5cf37c223a0c5c45 | refs/heads/master | 2020-12-21T05:06:24.995543 | 2016-07-28T09:26:42 | 2016-07-28T09:26:42 | 59,241,963 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 272 | cpp | #include "Vec3i.h"
Vec3i::Vec3i(int x, int y, int z)
: x(x), y(y), z(z)
{
}
Vec3i::Vec3i(const Vec3f &v3f)
: x(v3f.x + 0.5L), y(v3f.y + 0.5L), z(v3f.z + 0.5L)
{
}
Vec3i Vec3i::operator-(const Vec3i &v3) const
{
return Vec3i(x - v3.x, y - v3.y, z - v3.z);
}
| [
"dehax12@gmail.com"
] | dehax12@gmail.com |
676d3569dcf3bfd917cfbefce68bd7027bb013b2 | cc30f3931bf83101794e62ac6f58141ffef3c93d | /programs_from_the_book/ch19/V3.h | 62849b19b00e3a63e2d63b2fa6f2be5506bfcebe | [] | no_license | Simplecpp/Simplecpp-sourcecode | bc046327c3f9f04c128ae3daedbd32156cbf8c34 | aa5f757beb72b8d66c601d949de51680df8d39cf | refs/heads/master | 2021-01-22T02:53:52.294049 | 2014-06-24T10:10:34 | 2014-06-24T10:10:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 368 | h | class V3{
double x, y, z;
public:
V3(double x=0, double y=0, double z=0);
V3 operator+(V3 const &w) const;
V3 operator-(V3 const &w) const;
V3 operator*(double t);
double getx(); // accessor functions
double gety();
double getz();
friend ostream & operator<<(ostream & ost, V3 v);
double length();... | [
"vemireddy@vemireddy.(none)"
] | vemireddy@vemireddy.(none) |
c36122d2600308493c8a7d92813a1dec6018022c | b053cbade6bcb5274cab4a94f9113a2b74007ef2 | /matlab_version/mexopencv-master/opencv_contrib/src/+cv/detectMarkers.cpp | fe15f2fb385c53a2f36b7c578ec12993fe9c6e27 | [
"BSD-3-Clause"
] | permissive | neviko/Video-based-attack | 82f3cda00fff701e9450b9940118e44f433aaeb2 | 19c5d6d320720a1f2ff09f8f160d0fbf2a7920c0 | refs/heads/master | 2020-01-23T21:29:56.654382 | 2017-07-12T19:28:14 | 2017-07-12T19:28:14 | 81,644,127 | 4 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,632 | cpp | /**
* @file detectMarkers.cpp
* @brief mex interface for cv::aruco::detectMarkers
* @ingroup aruco
* @author Amro
* @date 2016
*/
#include "mexopencv.hpp"
#include "mexopencv_aruco.hpp"
using namespace std;
using namespace cv;
using namespace cv::aruco;
/**
* Main entry called from Matlab
* @param nlhs number ... | [
"nevosayag@gmail.com"
] | nevosayag@gmail.com |
fd840bc16e1958624ecd559dcb16617d4c593c8a | 0fd90b44740098c00edd516debb0a5fa1bbd333f | /lexical.cpp | 62e17c4ec7b384356ce193b6c3c67fa3738b6e96 | [] | no_license | MennaElKammah/Compiler-Phase--2--Parser-Generator | dbbe42b2c466dbacaa527c5c189e985fa8b3287b | ffe1d0868adb91dbb659f739ca371d7cbf027e0d | refs/heads/master | 2020-12-30T13:46:54.182715 | 2017-05-14T16:44:42 | 2017-05-14T16:44:42 | 91,257,508 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 277 | cpp | #include<NFA.h>
Node* NFA::construct_nfa (char op, string[] operands) {
if (op == '*') {
}
else if (op == '+') {
}
else if (op == '|') {
}
else if (op == '@') { // For concatination
}
else {
cout << "Error!" << endl;
}
}
| [
"mennats@yahoo.com"
] | mennats@yahoo.com |
76493cfb209036487bf592209b39909823238437 | e78772e0cb915fac6a4d4bee88b367b5ced8726d | /Code/cocos2dx/layers_scenes_transitions_nodes/CCLayer.h | df7267d6cbba315f8e3ccaa91b86ddaee9c45328 | [
"MIT"
] | permissive | xavierbec/SpriteDraggerX | d68f2bca70e2b09c6d371181bc9a84cdb80c53dc | b978c07030f73fae4e01333961c326f06c11a99c | refs/heads/master | 2021-01-15T11:14:29.837880 | 2013-12-31T04:45:02 | 2013-12-31T04:45:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,465 | h | /****************************************************************************
Copyright (c) 2010-2012 cocos2d-x.org
Copyright (c) 2008-2010 Ricardo Quesada
Copyright (c) 2011 Zynga Inc.
http://www.cocos2d-x.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and asso... | [
"nat@natweiss.com"
] | nat@natweiss.com |
a354788e2fdd6df0db444b43cdfd179ba8c95b96 | 6b40e9dccf2edc767c44df3acd9b626fcd586b4d | /NT/com/ole32/com/objact/dllapi.cxx | 7399d851d6f269918a91ac3682e143ef38f75025 | [] | no_license | jjzhang166/WinNT5_src_20201004 | 712894fcf94fb82c49e5cd09d719da00740e0436 | b2db264153b80fbb91ef5fc9f57b387e223dbfc2 | refs/heads/Win2K3 | 2023-08-12T01:31:59.670176 | 2021-10-14T15:14:37 | 2021-10-14T15:14:37 | 586,134,273 | 1 | 0 | null | 2023-01-07T03:47:45 | 2023-01-07T03:47:44 | null | UTF-8 | C++ | false | false | 5,482 | cxx | //+-------------------------------------------------------------------------
//
// Microsoft Windows
// Copyright (C) Microsoft Corporation, 1992 - 1993.
//
// File: dllapi.cxx
//
// Contents: API entry points for DLL manipulation
//
// Functions: CoLoadLibrary
// CoFreeLibrary
// ... | [
"seta7D5@protonmail.com"
] | seta7D5@protonmail.com |
c57f5ba287afbaaaf5b84d5d37ca82c9e5f830cb | 410e7ecb6faf51412114d8dcf183cdad6fc7e7b8 | /3Engine/src/Math/Vector4.h | 23e62beaf940c9ebae1d0bfba7cf52470472d96d | [
"MIT"
] | permissive | RicardoEPRodrigues/3Engine | 9f77a8b7bb86e13e83988ee756bb89809c71e4c7 | 885029c1e7d3a3267134538a8f8de567cdb1ec00 | refs/heads/master | 2022-12-25T20:05:18.809315 | 2022-12-13T12:08:55 | 2022-12-13T12:08:55 | 104,476,020 | 6 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 12,160 | h | /*
* File Vector4.h in project ThreeEngine
*
* Copyright (C) Ricardo Rodrigues 2017 - All Rights Reserved
*/
#ifndef THREEENGINE_VECTOR4_H
#define THREEENGINE_VECTOR4_H
#include "Maths.h"
#include "Vector.h"
namespace ThreeEngine {
struct Vector4 {
number X, Y, Z, W;
/** A zero vector (0,0... | [
"ricardo.e.p.rodrigues@gmail.com"
] | ricardo.e.p.rodrigues@gmail.com |
d5e8299fd3b1eaeff0852dcafb1a5554799aa690 | 01a42b69633daf62a2eb3bb70c5b1b6e2639aa5f | /SCUM_BP_Magazine_M16_parameters.hpp | a0684d7d14db5a5f71f27f4775343351fb92ea2a | [] | no_license | Kehczar/scum_sdk | 45db80e46dac736cc7370912ed671fa77fcb95cf | 8d1770b44321a9d0b277e4029551f39b11f15111 | refs/heads/master | 2022-07-25T10:06:20.892750 | 2020-05-21T11:45:36 | 2020-05-21T11:45:36 | 265,826,541 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,677 | hpp | #pragma once
// Scum 3.79.22573 (UE 4.24)
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "../SDK.hpp"
namespace Classes
{
//---------------------------------------------------------------------------
//Parameters
//---------------------------------------------------------------------------
// Function Co... | [
"65712402+Kehczar@users.noreply.github.com"
] | 65712402+Kehczar@users.noreply.github.com |
478abc69d3b0f70ac1f2255acca1c8de6cb8e25c | 54cd9a543d13a8e8017e633022f475dece364403 | /SuperNova/Engine/VulkanSDK/1.2.131.2/spirv-tools/source/val/validate_id.cpp | 7406330f73f10f789fc7afd3994539c1c0d677c9 | [
"LicenseRef-scancode-generic-cla",
"Apache-2.0",
"MIT",
"LicenseRef-scancode-free-unknown"
] | permissive | martimyc/SuperNova-Engine | d84a6302692567ca128e3acab7268b4c41c1e1be | 627d3cae221341239b978ef469bf1696bc3fcfaf | refs/heads/master | 2022-02-22T04:50:28.633927 | 2020-07-12T16:43:57 | 2020-07-12T16:43:57 | 161,646,985 | 0 | 0 | Apache-2.0 | 2022-02-11T01:52:57 | 2018-12-13T13:59:08 | C++ | UTF-8 | C++ | false | false | 10,062 | cpp | // Copyright (c) 2015-2016 The Khronos Group Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable ... | [
"martimyc2@gmail.com"
] | martimyc2@gmail.com |
3aa691ac8524b93d101792369d97eed290e24bd2 | 0040cbae8d7a5585e89153da24c70333bd6b2910 | /075/757/main.cpp | 7afcaf040eb51b4f32c736dd02f06143818cfdd1 | [] | no_license | paulnewman1979/edocteel | 758f0247ce04fed24419fa15f16be54eef00f402 | 2796b6478fda76cc834c9d8f5e2a3ed96da735a7 | refs/heads/master | 2022-09-08T23:06:00.822780 | 2022-07-27T23:34:56 | 2022-07-27T23:34:56 | 41,645,619 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,408 | cpp | #include <iostream>
#include <vector>
#include <algorithm>
#include <stdio.h>
#include "../../template/common/Input.hh"
#include "../../template/common/Output.hh"
using namespace std;
bool compare(vector<int>& a, vector<int>& b) {
return (a[0] < b[0]);
}
class Solution {
public:
int intersectionSizeTwo(vecto... | [
"taoliu@verizonmedia.com"
] | taoliu@verizonmedia.com |
9c17ef99268c00975e87f9906a76f0338e40d82b | be6abd934f39cb42a3664a96e7ea252c71371301 | /Store Backend/Customer.h | 6b338a067ba2477150e62bf27b7509942947fb7a | [] | no_license | Jared-DeLeon/Store-BackEnd | 8f9e044f0cd8758105c055f40205c26ebceb12eb | c4d0c9cf3617d41199509e68d330bd36b3df082a | refs/heads/master | 2020-04-20T13:36:14.848615 | 2019-02-02T20:14:44 | 2019-02-02T20:14:44 | 168,873,229 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 776 | h | #ifndef CUSTOMER_H
#define CUSTOMER_H
#include <iostream>
#include "Product.h"
class Customer {
int ID;
char name[100];
bool credit;
double balance;
char productsPurchased[5][100];
int numPurchased;
static int counter; // declares but does not define
public:
Customer(int customerID, const char name[]... | [
"noreply@github.com"
] | noreply@github.com |
fc740326ad65b4958c6b4c0ac047041d82529ec4 | 69289711ad8d4252ea3cd636a93b33d884ed23e2 | /A_Buy_the_String.cpp | dadc478cb6ecb881dd1e4a90fc9f34a71525cb3e | [] | no_license | shinigamirex888/A2oj-ladders | 75672819835eab7cb9043c65c1d967ff7ed1196c | 65e76f1a1378e5bc0d4a11a089b80f1525bddab4 | refs/heads/main | 2023-07-25T03:05:09.569120 | 2021-09-03T08:52:07 | 2021-09-03T08:52:07 | 356,104,026 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,538 | cpp | #include <bits/stdc++.h>
#include <bits/stdc++.h>
# include <iostream>
#define ll long long
#define INF 2000000000
using namespace std;
//cout<<fixed<<setprecision(12)<<ans<<endl;
//const int M=1e9+7;
// const int M=1e9+7;
const int M=998244353;
long long mod(long l... | [
"noreply@github.com"
] | noreply@github.com |
8dc5609afda81034d0a3e8121aa38a2899a252ae | b6d2cb74a76194fd25fdc3607ef828e94d98039e | /URI/2521.cpp | 879500c1d71aa2a730ad5eb985b9602e7be33128 | [] | no_license | giovaneaf/CompetitiveProgramming | 22d63481015ab45a03d527c866cae339cffeb5fb | 863f6bc61497591cb98e50973aa23bfcb9879ab8 | refs/heads/master | 2021-06-07T20:28:45.116299 | 2021-05-25T00:38:16 | 2021-05-25T00:38:16 | 131,643,425 | 6 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 953 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define ii pair<int, int>
#define vi vector<int>
#define vii vector<ii>
#define vb vector<bool>
#define fst first
#define snd second
#define MAXN 40
#define LOGMAXN 20
#define FOR(a, b, c) for(int a = b; a < c; ++a)
#define RFOR(a, b, c) for(int a =... | [
"giovaneaf1995@gmail.com"
] | giovaneaf1995@gmail.com |
52a749e213ef32832cf1c11db0228acf0d876169 | 2670562b40fea67283cc2c33ed68f0e24745b345 | /src/time_get.cpp | 17b5d2fcf4e75d3fa2869d59e8d659d4d2227186 | [] | no_license | nyokkirokki/RSS_Clock | 695dabb01f2942844dbf6d46f66880342af7db4e | 96d6d8d91dd06c0be03fb80f56a608e0c0e32c3e | refs/heads/master | 2023-08-05T05:39:03.967895 | 2021-09-24T05:11:15 | 2021-09-24T05:11:15 | 408,924,303 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,565 | cpp | // ###########################################################
//
// NTPサーバーから時刻取得 time_get.cpp
//
//
//
// ###########################################################
#include <Arduino.h>
#include <string.h>
#include <time.h>
#include "time_get.hpp"
#include "News_Get.hpp"
int nYear = 0;
byte nMon = ... | [
"tatsushi1119@live.jp"
] | tatsushi1119@live.jp |
968edeff495e1151bf2d2f1e6787e5755fe8f595 | 99beaf867a7e8345e71416a70d18a68f34ea5617 | /custom_JSON.h | ebb7babcae911abe3ad40620df7c507f51d71b58 | [] | no_license | srish/BloodLine | 8c5d80e0e71b89c67df72ebc8790544a2b56890e | 818a6c35cd141f4dfceca655a630f449dabaf985 | refs/heads/master | 2021-01-19T09:26:41.054787 | 2012-10-13T21:59:19 | 2012-10-13T21:59:19 | 6,207,895 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 951 | h | #ifndef custom_JSON_H
#define custom_JSON_H
#include <QObject>
class QUrl;
class QNetworkReply;
struct custom_JSONData;
class custom_JSON : public QObject
{
Q_OBJECT
public:
static custom_JSON& instance();
custom_JSON();
~custom_JSON();
enum ValueMode {
Normal,
Configs
};
... | [
"srishakatux@srishakatux.(none)"
] | srishakatux@srishakatux.(none) |
5ce5c51b71e1f5937a773504d0e87523cf62236e | c2b9f07871255a13f11037fd07e9e1ff79c8305c | /Device.cpp | a37ece7f9580368fa631dcd302ca16f15be930d6 | [
"MIT",
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | jellyr/Karma-CS-GO-Hack | a967676d508d3333bbbd479dbf470a7e3dfd6b76 | be6578d39b36d4ba6d3bc060b4b5076c98d4d34c | refs/heads/master | 2020-06-21T05:03:04.887129 | 2016-11-12T08:38:27 | 2016-11-12T08:38:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 44,050 | cpp | #include "SDK.h"
#include "Globals.h"
#include "Config.h"
#include "IRC.h"
#include "Accessors.h"
extern IMGUI_API LRESULT ImGui_ImplDX9_WndProcHandler(HWND, UINT msg, WPARAM wParam, LPARAM lParam);
bool CurKey[256] = {};
void GUI_Init(IDirect3DDevice9* pDevice);
tReset oResetScene;
tEndScene oEndScene;
cOp... | [
"noreply@github.com"
] | noreply@github.com |
c1eb441ae6d10ec1f6bc715bacba077ffa4d62cb | 0bee97c44f4666ecbebfc672d2d42c2151ea43c4 | /4. Estructuras Repetitivas/for/main.cpp | 94bb18e4d487409507924d92196653298d0c8689 | [] | no_license | Juandavid9909/CplusplusCourse | 9aa831cf0b18073965ce7e80527a621757f8cb77 | fff014b6e84d99ffca61e21b652d8ed9c037524a | refs/heads/master | 2023-03-03T10:34:42.886101 | 2021-01-27T20:42:10 | 2021-01-27T20:42:10 | 330,029,639 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 302 | cpp | /*La sentencia for
for(expr1; expresion logica; expr2) {
conjunto de instrucciones;
}
*/
#include <iostream>
#include <conio.h>
using namespace std;
int main() {
for(int i = 10; i >= 1; i--) {
cout << i << endl;
}
getch();
return 0;
}
| [
"juandavid918@gmail.com"
] | juandavid918@gmail.com |
bce07594546d7be3481536f58a67164a3afa49bb | a170461845f5b240daf2090810b4be706191f837 | /pyqt/DemoUIonly-PythonQt/chap06Forms/Demo6_2CustomDialog/QtApp/ui_QWDialogHeaders.h | e3ae3411af1044e5ca83670db6a71079dcbc6e62 | [] | no_license | longhuarst/QTDemo | ec3873f85434c61cd2a8af7e568570d62c2e6da8 | 34f87f4b2337a140122b7c38937ab4fcf5f10575 | refs/heads/master | 2022-04-25T10:59:54.434587 | 2020-04-26T16:55:29 | 2020-04-26T16:55:29 | 259,048,398 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,680 | h | /********************************************************************************
** Form generated from reading UI file 'QWDialogHeaders.ui'
**
** Created by: Qt User Interface Compiler version 5.10.1
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
**********************************... | [
"841105197@qq.com"
] | 841105197@qq.com |
b524577fac1039e1867b192cb2f684d5078fcf67 | de07c95b5d91eb1d1b2b88eb9ebe526fc3c1a842 | /external/common/include/wrapcaler.h | 025dbd0554c39c662920fcd838fc07df3f7cacce | [] | no_license | Jason-Jing/hft | e7abd883873cf9d29749b9223c9cc8791dc510e8 | 3a36700379d6aef17205ae626105dd5882da29bb | refs/heads/master | 2020-12-03T23:07:45.810535 | 2019-12-18T12:16:17 | 2019-12-18T12:16:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 877 | h | #include "./caler.h"
#include "./order_side.h"
#include <boost/python.hpp>
using namespace boost::python;
BOOST_PYTHON_MODULE(caler) {
class_<Fee>("Fee")
.def_readwrite("open_fee", &Fee::open_fee)
.def_readwrite("close_fee", &Fee::close_fee);
class_<FeePoint>("FeePoint")
.def_readwrite("open_fee_point"... | [
"huang.xinyu@wanlitechnologies.com"
] | huang.xinyu@wanlitechnologies.com |
9b91dfd2a7452c71131f4c5914725b27858d7adc | 6ddae95cef6e7ab3160cb82d985fd17f1a6967dc | /widget.h | 7ed520500b6d126e2c1eb4440c57a2d17608f834 | [] | no_license | MasterDjefer/TetrisShooter | 01f085075f40c2ce6d1a802a78eac22bdcb5d7c5 | d516538819b311af36544bd42b6a43ab2188968b | refs/heads/master | 2022-12-13T14:34:46.057333 | 2020-09-10T10:44:44 | 2020-09-10T10:44:44 | 294,380,783 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 507 | h | #ifndef WIDGET_H
#define WIDGET_H
#include "tank.h"
#include "target.h"
#include <QWidget>
#include <QPainter>
#include <QKeyEvent>
#include <QTimer>
class Widget : public QWidget
{
Q_OBJECT
public:
Widget();
~Widget();
private:
Tank *mTank;
Target *mTarget;
QTimer *mTimer... | [
"kostia210@gmail.com"
] | kostia210@gmail.com |
1cd3279fabd8cc3d01321e11e1fe7579ca835f93 | cdc668f528ffb037f677ce505c6a91a6edd9ef45 | /src/qt/polarisnetwork/settings/settingsinformationwidget.cpp | 7d25766fdeae14f43d6a2ba60712aac494f4e382 | [
"MIT"
] | permissive | bspanda98/polaris | e05c6e543d3590fb36099b9b790500256ab5ef2b | f0d835cf699c2a131a747d48680710e364ce3b1b | refs/heads/master | 2022-07-05T04:14:54.659583 | 2020-05-18T17:44:19 | 2020-05-18T17:44:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,943 | cpp | // Copyright (c) 2019-2020 The POLARISNETWORK developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "qt/polarisnetwork/settings/settingsinformationwidget.h"
#include "qt/polarisnetwork/settings/forms/ui_settingsinf... | [
"bspanda98@gmail.com"
] | bspanda98@gmail.com |
b951ba69315ebf7e0aebb5faf715c64fab0418e1 | d0fb46aecc3b69983e7f6244331a81dff42d9595 | /sgw/include/alibabacloud/sgw/model/ValidateGatewayNameResult.h | 6feae7dd819a37d43ac9d81028c0043e7f1ee8db | [
"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 | 1,549 | h | /*
* 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... | [
"sdk-team@alibabacloud.com"
] | sdk-team@alibabacloud.com |
af3049cea972ba54a51773c58024638ed20c27df | 26772748929329f0a6feb6c54c51f6ab02b79561 | /Export/mac64/cpp/obj/include/Controller.h | 46ce3446ce536f9c8749c20a1bb5f2b6ac6af5f7 | [] | no_license | pvsmartinez/ilha | f9c473bc4ef14a937fe80151f188c21334685265 | 24549ac14c6e2e5b3921b09fb486d7cc9d662804 | refs/heads/master | 2021-01-10T04:43:17.740463 | 2015-11-04T22:06:19 | 2015-11-04T22:06:19 | 44,400,109 | 2 | 0 | null | 2015-11-01T23:31:21 | 2015-10-16T17:21:55 | C++ | UTF-8 | C++ | false | false | 1,955 | h | #ifndef INCLUDED_Controller
#define INCLUDED_Controller
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
#ifndef INCLUDED_openfl_display_Sprite
#include <openfl/display/Sprite.h>
#endif
HX_DECLARE_CLASS0(Body)
HX_DECLARE_CLASS0(Controller)
HX_DECLARE_CLASS2(openfl,display,DisplayObject)
HX_DECLARE_CLASS2(openfl,display,Disp... | [
"pvsmartinez@gmail.com"
] | pvsmartinez@gmail.com |
305618ac66cf1ac4a711acb432d67face48bbea8 | 632ccdbf9447b90a017ff7afa613d0d4551aa61e | /main.cpp | 1a25a200c7249087feaa13c4b030c8fc8deaf7fe | [] | no_license | NTUEE-ESLab/2019-Fall-Detection | d2c373182a874d67fcf9fdc87e0a7364f953ce71 | d2ce9986a8dbc58e40f6857a833ad93aab5b98ea | refs/heads/master | 2020-11-25T10:13:00.340975 | 2020-01-11T13:31:34 | 2020-01-11T13:31:34 | 228,613,619 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,520 | cpp | /* WiFi Example
* Copyright (c) 2018 ARM Limited
*
* 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 ap... | [
"noreply@github.com"
] | noreply@github.com |
0e4456b649e02708212d87b4dd6fbdb722890d56 | 5d103991b6adbe2d43de85478f25125469b0aab6 | /Single Number/solution.cpp | 9f2358f867602f023f55f21dcc2ecfb5291e56c3 | [] | no_license | danielzheng/leetcode | 6721604802da173fc33d0b385f98ebb985ce3a55 | 868ff91006d4df504d83e86413a78432e44ff90c | refs/heads/master | 2021-05-16T02:48:27.452448 | 2017-07-31T07:19:07 | 2017-07-31T07:19:07 | 18,658,071 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 199 | cpp | class Solution {
public:
int singleNumber(int A[], int n) {
int ret = 0;
for (int i = 0; i < n; i++)
{
ret = ret ^ A[i];
}
return ret;
}
}; | [
"zheng-qiang@live.cn"
] | zheng-qiang@live.cn |
346609690132f13043c83a14405d8069b558f253 | d4b733f2e00b5d0ab103ea0df6341648d95c993b | /src/c-cpp/include/sst/private/is_positive/arithmetic.hpp | 2e4fa9e5c7a9d332b47f3d30d3b1866a9d47ab5f | [
"MIT"
] | permissive | stealthsoftwareinc/sst | ad6117a3d5daf97d947862674336e6938c0bc699 | f828f77db0ab27048b3204e10153ee8cfc1b2081 | refs/heads/master | 2023-04-06T15:21:14.371804 | 2023-03-24T08:30:48 | 2023-03-24T08:30:48 | 302,539,309 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,923 | hpp | //
// Copyright (C) 2012-2023 Stealth Software Technologies, Inc.
//
// 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,... | [
"sst@stealthsoftwareinc.com"
] | sst@stealthsoftwareinc.com |
df4b3edab63691f89c9266e3c6d3a31eb7cf214f | bc04ac4221bd533da6497d1f80150cdd211a7921 | /instructions/Instruction_jc.cpp | 250c76151298a8724b9208a7a9c8f2979d04fc41 | [] | no_license | WarlockD/Mil-std-1750A-Emulator-C20 | 71e8e357c81a36fe39c5b42a1f76fa13ffef130d | 93ed87966945351773107dc6cf3ad5fd50e9cdd4 | refs/heads/master | 2023-03-16T07:55:57.903908 | 2012-07-16T15:57:28 | 2012-07-16T15:57:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 512 | cpp | #include <iostream>
#include <iomanip>
#include "Instruction_jc.h"
#include "Operation_jc.h"
namespace {
opCodeRange opCode = {0x70, 0x70};
const std::string opCodeStr = "JC";
const std::string opDescription = "Jump On Condition";
}
Instruction_jc::Instruction_jc() :
Instruction_longInstructionData(opCode, op... | [
"ritchie@uibhist.de"
] | ritchie@uibhist.de |
be02802d7be9a01cc5af70b0361ba04218f8b429 | 25c051aeb465ce42cc68af2a2253af0871237580 | /find_path/TransportationGraph.h | f7a6af1f311cb9421d11b1ed2f5f80c1ae4dade6 | [] | no_license | ClemensWon/AlgoUE3 | 54635d430b9298103bf7033615102c044643a94f | e5a481298e13ef4c2846ce4159456da313518973 | refs/heads/master | 2023-05-12T21:32:07.937464 | 2021-06-01T13:14:04 | 2021-06-01T13:14:04 | 371,735,958 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 517 | h | #pragma once
#include <vector>
#include "Station.h"
#include <fstream>
#include <sstream>
#include<algorithm>
#include <queue>
class TransportationGraph
{
std::vector<Station*> stations;
void Print(Station* currStation);
public:
void CreateFromFile(std::string path);
void CreateTestGraph(int nodeCount, int e... | [
"clem1719@gmail.com"
] | clem1719@gmail.com |
230f1ee3016c754bbef1210d1bebc4d531ceb695 | b5fa9affae73b44b512345092c21b6c6ed5d9f6c | /CookieCutter.cpp | 007eb14ff01c0dd1723fbdf88ff2a644dc0225d0 | [] | no_license | roman-dzieciol/CookieCutter | ae2585da6e38e82b2f357d1e1cceff2c13ebf824 | c78d5e3f5e88bc08ff058c289257348745552d90 | refs/heads/master | 2020-07-03T13:04:22.439934 | 2014-07-06T07:39:33 | 2014-07-06T07:39:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,129 | cpp | // :: UnrealScript TextBuffer Exporter
// :: Copyright(C) 2004 Switch` switch@thieveryut.com
#include "CookieCutter.h"
int main(int argc, char* argv[])
{
if( argc != 2 )
{
cout << endl << "INFO :: UnrealScript TextBuffer Exporter";
cout << endl << " :: Copyright(C) 2004 Switch` switch@thieveryut.com";... | [
"roman.dzieciol@gmail.com"
] | roman.dzieciol@gmail.com |
780e19425e11a5fe8a758125bb2f7df5b9d4f4d5 | af2098ea3cfda83a62982335e4784c71d6ab39f8 | /CameraManager.h | 45d24e99b3a2fc38688bbdb73518fbe2d66f6308 | [] | no_license | Juno12343412/2dFrameWork | 4aa501e7b2d12174fc92741342f12e3d6053fb07 | 58e99702a4603a0c8294c7c30d7a41c2186c90f5 | refs/heads/master | 2023-04-12T22:01:05.625552 | 2021-03-20T12:36:48 | 2021-03-20T12:36:48 | 349,720,448 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 708 | h | #pragma once
#include "singleton.h"
class CameraManager :
public singleton<CameraManager>
{
public:
CameraManager();
virtual ~CameraManager();
D3DXMATRIX m_matProj, m_matView;
Vector2 m_vCameraPos;
Vector2 m_vViewSize;
Vector3 m_vScale;
Vector3 m_vEndScale;
Vector3 m_vTarget;
float m_fAngle;
float m_Shak... | [
"junoh0207@naver.com"
] | junoh0207@naver.com |
7a628e05b92ace106514633ac5f2c1720eba224c | c86369eefff66d72a2ce85cf0b7d0b56a776ae33 | /FirstCPP/ColorWalk.cpp | cfd21a829b9361e400f89a229d0e7e0f43f54c15 | [] | no_license | jeff3456/Class-Projects | a33ab9689a818d79d6f4469ab85b54557c1ea484 | bf54b4e1ca5066774fe205077f07cab1640348ff | refs/heads/master | 2020-04-02T00:09:01.043386 | 2014-10-04T21:07:13 | 2014-10-04T21:07:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,845 | cpp | /*
* ColorWalk.cpp
*
* Created on: Oct 4, 2014
* Author: jeff
*/
#include <iostream>
#include <cstdio>
#include <cmath>
#include <cstring>
#include <algorithm>
#include <string>
#include <vector>
#include <stack>
#include <queue>
#include <set>
#include <map>
#include <sstream>
#include <complex>
#includ... | [
"jeff3456@gmail.com"
] | jeff3456@gmail.com |
ba0b18879540d6fc69bbf874374a69e926a83cab | 18b69b1fc11c00ac1bfc6cc267dea5c7adfe20a7 | /d01/ex08/Human.cpp | 79416e789bd6ee7cd5d2661ad98b87114b17bcd3 | [] | no_license | ArtemisKS/Piscine_CPP | e6344a3c386b431e5c6eb2fedc9ed16b8f9530ca | 83881e01fb391ef70e58858e9716923ae75ebaac | refs/heads/master | 2020-04-09T07:09:48.963450 | 2018-12-03T06:33:42 | 2018-12-03T06:33:42 | 160,142,993 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,810 | cpp | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* Human.cpp :+: :+: :+: ... | [
"Artemkupriyanets@yahoo.com"
] | Artemkupriyanets@yahoo.com |
27b7e308a8a9dcd43e03e55e250a1b35dda462d1 | 8eaece8f871eed7585adbf5833488077380f309b | /1850.cpp | eb13ba1753c3fd1588731d379568c7ffdac4adb3 | [] | no_license | piuto1104/BeakJoon | 4d92bfc7e9bcd8f0d91fe02a0732f5ce8ac0f002 | 4b39de3720544c367ed91433cea6030147450b73 | refs/heads/master | 2020-07-18T02:38:40.402468 | 2016-08-25T05:53:37 | 2016-08-25T05:53:37 | 66,529,049 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 978 | cpp | #include <iostream>
#include <string>
#include <math.h>
using namespace std;
class Wang{
public:
long long big;
long long small;
void set(){
cin >> big >> small;
}
void get(){
long long roof;
roof = gcd(big, small);
for (long long i = 0; i<roof; i++){
cout << 1;
}
//cout << lcm(big, small) << en... | [
"piuto1104@nate.com"
] | piuto1104@nate.com |
e667b6689bbc2ad3740f3064a011d80f11415999 | e3219a881f083918876ac93e38b957860ebdbbf5 | /src/tries/implementations/tessil/hat-trie/glue.cpp | e82ade2d0d1afbd4a924938b164f7c09c1120233 | [] | no_license | rcarbone/rperf | 9c675d536ae087b77977966802762cd63e051639 | 8a4df73f2121d12a7cd3156c558f0aa48d358508 | refs/heads/master | 2020-12-02T12:45:15.330450 | 2019-08-05T07:48:00 | 2019-08-05T07:48:00 | 96,582,848 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,317 | cpp | /* System headers */
#include <stdlib.h>
#include <string>
using namespace std;
/* key && val */
typedef char rkey_t;
typedef void * rval_t;
/* The implementation */
#include "htrie_map.h"
using namespace tsl;
/* Project headers */
/* librtrie - an abstract C library over real trie implementations */
typedef tsl... | [
"rocco@tecsiel.it"
] | rocco@tecsiel.it |
a8b1e64cd419a1d9604d5491326e53224f25b856 | c464b71b7936f4e0ddf9246992134a864dd02d64 | /workWithClint/TestCase/processor0/3.2/p | d3597158a27e29be9817f885fbf4418155f3108a | [] | no_license | simuBT/foamyLatte | c11e69cb2e890e32e43e506934ccc31b40c4dc20 | 8f5263edb1b2ae92656ffb38437cc032eb8e4a53 | refs/heads/master | 2021-01-18T05:28:49.236551 | 2013-10-11T04:38:23 | 2013-10-11T04:38:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,373 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM Extend Project: Open source CFD |
| \\ / O peration | Version: 1.6-ext |
... | [
"clint@clint-Parallels-Virtual-Platform.(none)"
] | clint@clint-Parallels-Virtual-Platform.(none) | |
db2f952223bca5c3ea9e3342a57dcefbadb5746a | d0966bf382f0eb739bf59d61ae967e0f83d004cc | /vm/expandsig.cpp | 9862c0a7ef5e9a90a2300dac415fcbf27578ad12 | [] | no_license | mattwarren/GenericsInDotNet | 7b6f871808c411cbd05c538c5652618ddf162e20 | 2714ccac6f18f0f6ff885567b90484013b31e007 | refs/heads/master | 2021-04-30T04:56:03.409728 | 2018-02-13T16:09:33 | 2018-02-13T16:09:33 | 121,404,138 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,597 | cpp | // ==++==
//
//
// Copyright (c) 2002 Microsoft Corporation. All rights reserved.
//
// The use and distribution terms for this software are contained in the file
// named license.txt, which can be found in the root of this distribution.
// By using this software in any fashion, you are agreeing to b... | [
"matt.warren@live.co.uk"
] | matt.warren@live.co.uk |
08f394768a21cb6cbb5b7773fd8f8ee11fbe33b7 | e8c2b57dd5c6d664d7071bb00a0b92ca52c528c7 | /Solution/Space_Invaders/src/Ufo.cpp | 942ee556925919d55732a3f472cca346994716d7 | [] | no_license | oskapok/Space-Invaders | 53b08dbeff50dc61d6be607118eacd3a9f683841 | 04423f3202d203cced74ffa886733963d6c0e6a8 | refs/heads/main | 2023-01-22T01:07:33.207275 | 2020-11-24T13:20:46 | 2020-11-24T13:20:46 | 315,638,574 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 288 | cpp | #include "..//include/Ufo.h"
Ufo::Ufo() {
alive = false;
size = sf::Vector2f(50, 50);
loadTexture(texture, ufoSprite, "ufo.png", size);
ufoSprite.setPosition(1350, 30);
}
void Ufo::TakeDamage() {
alive = false;
ufoSprite.setPosition(1350, 30);
}
void Ufo::Move() {
alive = true;
} | [
"39780690+oskapok@users.noreply.github.com"
] | 39780690+oskapok@users.noreply.github.com |
5f61b68f6eb42335c18d3a69b243d1e3ade7e6f9 | 6b8754ced745074ff1f1ffbc1849c1727249246d | /Program_Files/dynamic_initalization_of_object_using_constructors.cpp | 78fbd08981b87c44e3c864f93e10ad7e8cb82ea9 | [] | no_license | Aadarshbhushan-Singh/Learning_C- | c8972050b24cea16bc9de52cf043ea9479ca9a51 | 28fbd1ed238f89ca9c7a82ed962394a78c99ff40 | refs/heads/master | 2023-05-30T17:18:58.378897 | 2021-06-17T10:28:29 | 2021-06-17T10:28:29 | 286,920,659 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 587 | cpp | #include <iostream>
using namespace std;
class number{
public:
// number(void);
number(int x, float y);
number (float y, int x);
};
number::number(int x, float y){
cout<<"First number is int."<<x<<endl;
cout<<"Second number is float."<<y<<endl;
};
number::number(float y, int x){
... | [
"singhaadarsh5050@gmail.com"
] | singhaadarsh5050@gmail.com |
efd6f2417d991503ebdb684ca55ee575b2c9319b | e3a8724b0df352ac29f713cdefb4a5b379a10806 | /lab14/lab14.cpp | e15f2f2cfe0156e35e89ab6815eba9655cc8e33a | [] | no_license | Tressax/noahdenhalter-CSCI20-Fall2017 | 292327084ad32013db9bdabc95c8e6f289e56961 | c16ca04fcba6a708abb2eb069a477935e59717a7 | refs/heads/master | 2021-01-19T16:02:41.108405 | 2017-09-20T19:31:37 | 2017-09-20T19:31:37 | 100,985,058 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,576 | cpp | //Noah Denhalter
//9/6/17
//Coinstar Machine?
#include <iostream>
#include <math.h>
using namespace std;
int main()
{
//Getting amount inputed from the user
int input;
cout<<"How many coins would you like to enter?"<<endl;
cin>>input;
//total in monetary form
double total = input;
... | [
"ndenhalter001@student.butte.edu"
] | ndenhalter001@student.butte.edu |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.