blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 7 100 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 260
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 11.4k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 17
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 80
values | src_encoding stringclasses 28
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 8 9.86M | extension stringclasses 52
values | content stringlengths 8 9.86M | authors listlengths 1 1 | author stringlengths 0 119 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
5e25fec683dec40364ead855789e22371e4302c1 | d46c47be43e84569271c1d12ce5140a9b89677c1 | /lua/src/loslib.hpp | e60f8624cf2c13461bc60ec791750aee484e2cae | [] | no_license | dragonsn/gv_external | 7af56a52336160e9473c3f455450cc5638b5756b | f85971a5dc5b9b596f2f34d00fddc7096bab7402 | refs/heads/master | 2022-11-09T03:54:28.154202 | 2022-10-14T04:08:43 | 2022-10-14T04:08:43 | 159,042,161 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,004 | hpp | /*
** $Id: loslib.c,v 1.19.1.3 2008/01/18 16:38:18 roberto Exp $
** Standard Operating System library
** See Copyright Notice in lua.h
*/
#include <errno.h>
#include <locale.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#define loslib_c
#define LUA_LIB
#include "lua.h"
#include "lauxlib.h"
#include ... | [
"shennan.dragon@gmail.com"
] | shennan.dragon@gmail.com |
451fc4b8f108dfc79c88c50f0bcb7363786aac56 | 544a465731b44638ad61a4afa4f341aecf66f3cd | /src/libivk/computation/StatePartitioning.cpp | 93494a5695810dc975898b000366aae41132a2de | [] | no_license | skempken/interverdikom | e13cbe592aa6dc5b67d8b2fbb4182bcb2b8bc15b | dde091ee71dc1d88bbedb5162771623f3ab8a6f4 | refs/heads/master | 2020-05-29T15:29:18.076702 | 2014-01-03T10:10:03 | 2014-01-03T10:10:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,765 | cpp | #include "StatePartitioning.h"
#include "utility/RealUtils.h"
#include "utility/RMatrixUtils.h"
#include "utility/Logging.hpp"
#include <iostream>
namespace ivk{
const char * StatePartitioning::PARAM_NUMCONTRACTIONS = "numContractions";
StatePartitioning::StatePartitioning(const SSMProcess* data, const Computation... | [
"sebastian@ivk-virtualbox.(none)"
] | sebastian@ivk-virtualbox.(none) |
e5a77ec8853a7179767fa6c309b63fc41603ed46 | b5b3d3c24535c135e6186096c8492c9c91b6dd48 | /test/test/main.cpp | 88e5d0e6fba554c73c187922c9ea4273803b445f | [
"MIT"
] | permissive | yifan-fanyi/Improved-Monocular-ORB-SLAM2 | b1ca0eb4301c754a2dd1f0741afd98040ad0b196 | 27a761e31ab51de6323a290be37565f860213fad | refs/heads/main | 2023-05-06T17:34:20.875095 | 2021-05-31T05:25:14 | 2021-05-31T05:25:14 | 334,776,926 | 11 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 6,787 | cpp | //
// main.cpp
// test
//
// Created by Alex on 08/03/2018.
// Copyright © 2018 Alex. All rights reserved.
//
///////////////////////////////////////////////////
//LK optical flow
#include<opencv2/opencv.hpp>
#define ClocksPerSec 1000000;
const int MAX_CORNERS = 1000;
#include <iostream>
#include <sstream>
#incl... | [
"yifanwang0916@outlook.com"
] | yifanwang0916@outlook.com |
c690df6afe7b4d3b8c3c1977f0a9c1e995dbcdcb | 9da899bf6541c6a0514219377fea97df9907f0ae | /Editor/ContentBrowser/Private/ContentBrowserSingleton.h | 4633182b9f069fbb5c78919c63daab8ad095f192 | [] | no_license | peichangliang123/UE4 | 1aa4df3418c077dd8f82439ecc808cd2e6de4551 | 20e38f42edc251ee96905ed8e96e1be667bc14a5 | refs/heads/master | 2023-08-17T11:31:53.304431 | 2021-09-15T00:31:03 | 2021-09-15T00:31:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,730 | h | // Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "AssetData.h"
#include "IContentBrowserSingleton.h"
#include "ContentBrowserSingleton.generated.h"
class FCollectionAssetRegistryBridge;
class FSpawnTabArgs;
class FTabManager;
class FViewport;
class SContentBrowser;
c... | [
"ouczbs@qq.com"
] | ouczbs@qq.com |
9a76013d51e5ca22914b9731dae0ce3198013a6e | ad808d158533435e8cd16f308f454311bb68c369 | /src/external/scintilla/src/Editor.h | 4903f2909f13a9be553fabda0c06b3413afba244 | [
"LicenseRef-scancode-scintilla",
"MIT"
] | permissive | mcanthony/ProDBG | 088218dd35d2eb988b45617fdbf2a35f9b45f5b2 | 5da4437c41cd5e63dcd4c6af75fb95052cc74fb8 | refs/heads/master | 2020-12-27T21:20:24.923146 | 2015-09-30T21:06:11 | 2015-09-30T21:06:11 | 43,863,725 | 1 | 0 | null | 2015-10-08T04:51:42 | 2015-10-08T04:51:42 | null | UTF-8 | C++ | false | false | 20,075 | h | // Scintilla source code edit control
/** @file Editor.h
** Defines the main editor class.
**/
// Copyright 1998-2011 by Neil Hodgson <neilh@scintilla.org>
// The License.txt file describes the conditions under which this software may be distributed.
#ifndef EDITOR_H
#define EDITOR_H
#ifdef SCI_NAMESPACE
namespace ... | [
"daniel@collin.com"
] | daniel@collin.com |
479bb1fcef57f13f3f2885a42f9e41a3b1df2757 | fff5ed7a084d26164600d4ea33eb2fb284dd6aa3 | /src/vigra_tensors_c.cxx | 3582d2f650e89a61476dcb269805ae2b423ff7bb | [
"MIT"
] | permissive | BSeppke/vigra_c | 0ea278de8db5dd8ef6fcd634cff17e55c7d2e31d | 49f53191a12fe91d4e2fd177d22af167571c71d8 | refs/heads/master | 2022-02-04T15:21:22.533051 | 2022-01-23T14:17:07 | 2022-01-23T14:17:07 | 19,816,975 | 2 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 24,439 | cxx | /************************************************************************/
/* */
/* Copyright 2008-2017 by Benjamin Seppke */
/* Cognitive Systems Group, University of Hamburg, Germany */
/* ... | [
"benjamin.seppke@gmail.com"
] | benjamin.seppke@gmail.com |
45e0eec0a2b28fe44477675c0ccf37ee1f5aa7b2 | e2dbb60b0aaf53a9ed4f13807102d06c0a3705ca | /boost/asio-ssl/server_connection.hpp | 37c20d499c3a0deba6719f36e656f2c3e9c06f00 | [] | no_license | tiagobonetti/refcode | aad6ce55cd08efd345f8018c32e457ae085c7179 | 98f76a7db680ac6fc0d142746c3e74fb4eeba2c8 | refs/heads/master | 2021-06-12T20:12:31.438058 | 2019-09-06T11:43:41 | 2019-09-06T11:43:41 | 58,228,432 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,611 | hpp | #pragma once
#include "server_connection.hpp"
#include <boost/asio.hpp>
#include <boost/asio/ssl.hpp>
#include <atomic>
#include <memory>
#include <vector>
class server_connection {
public:
server_connection(boost::asio::io_service &ioService, boost::asio::ssl::context &context, std::size_t messageSize)
... | [
"tiago.bonetti@gmail.com"
] | tiago.bonetti@gmail.com |
c1279d19011527d1837f1206f469c8d02eff5b00 | efc690fe9f8e156e64b24152f1a86069c84f7900 | /MayCached/engine/src/RequestController.cpp | af7b2e582d2b9c4e223f2e141ef818f38d9ba6a8 | [] | no_license | MayRiv/MayMemCached2 | e54c46bc82915239877180b651b4cd75ebb8c72c | beab4927883ed9de3e95910254f088f5c0960cc6 | refs/heads/master | 2020-03-23T20:08:40.607604 | 2019-07-25T11:35:28 | 2019-07-25T11:35:28 | 142,024,177 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 800 | cpp | #include <RequestController.hpp>
#include <string>
#include <memory>
#include <RequestParser.hpp>
namespace maycached {
namespace engine {
RequestController::RequestController(gsl::not_null<logic::ILogicController *> lController):m_LogicController(lController)
{
m_Parser = std::make_unique<RequestParser>(); // has ... | [
"MayRiv@i.ua"
] | MayRiv@i.ua |
66ddda3c415e11f8bfaed100a9d79dd699334639 | 3cf9e141cc8fee9d490224741297d3eca3f5feff | /C++ Benchmark Programs/Benchmark Files 1/classtester/autogen-sources/source-5502.cpp | 36fa8d573852e27b29fee2f5a85d353dbe39d353 | [] | no_license | TeamVault/tauCFI | e0ac60b8106fc1bb9874adc515fc01672b775123 | e677d8cc7acd0b1dd0ac0212ff8362fcd4178c10 | refs/heads/master | 2023-05-30T20:57:13.450360 | 2021-06-14T09:10:24 | 2021-06-14T09:10:24 | 154,563,655 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,773 | cpp | struct c0;
void __attribute__ ((noinline)) tester0(c0* p);
struct c0
{
bool active0;
c0() : active0(true) {}
virtual ~c0()
{
tester0(this);
active0 = false;
}
virtual void f0(){}
};
void __attribute__ ((noinline)) tester0(c0* p)
{
p->f0();
}
struct c1;
void __attribute__ ((noinline)) tester1(c1* p);
struct c1
{
bool ac... | [
"ga72foq@mytum.de"
] | ga72foq@mytum.de |
c7223bcf23a778eb4e09f77dcc92fc6c52aa9c13 | 65d198c92140ef33e5333d62fab77b89eb60fc58 | /Game of amazons/src/Game.cpp | 103e4a47ee43c80ee2b1ec33af9806ee549d228f | [] | no_license | OmarKh2000/Game-of-amazons | 16d8f124ac0ed96e6c42e2d6c3cd5977e02c2d98 | 8f7e3f88bd53f6914c48e1b3b607dfb6bf582e9f | refs/heads/master | 2023-01-08T19:57:06.851935 | 2020-11-08T15:08:26 | 2020-11-08T15:08:26 | 260,843,164 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,496 | cpp | #include <iostream>
#include "Game.h"
Game::Game(int size,int time)
{
this->time = time;
board = new int*[size];
for (int i = 0; i < size; ++i) {
board[i] = new int[size];
}
p1Time = time*1000000*60;
p2Time = time*1000000*60;
this->size = size;
if (size == 10)
{
for (int i = 0; i < si... | [
"noreply@github.com"
] | noreply@github.com |
71e942cc63f1e1acdd9df3a67cdfe9e593aa5403 | 9d8f19c258cc76a6ed6a1071cb1ddf46964e05f1 | /moon_raw.h | ba591970783fbf3b48705565fc672c547f6ff27e | [] | no_license | karasova/moon | d11938dc4711b0d64ad608924de17939757fc8ab | c0c80652c7ae9565e0c708c9b3d19eea484a0e40 | refs/heads/master | 2020-04-11T13:47:44.934031 | 2018-12-15T04:11:19 | 2018-12-15T04:11:19 | 161,829,845 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 211 | h | #pragma once
#include <iostream>
#include <fstream>
using namespace std;
class moon_raw {
public:
char* data = new char[8];
char* time = new char[6];
double el, az;
moon_raw(ifstream& file);
}; | [
"noreply@github.com"
] | noreply@github.com |
5209ec2aeca8ad23301f264c84330759d57fc595 | 4887bfd75770da06a64a39265e6825df6e63df8a | /contest/1203/cf579A.cpp | e91f1127bdf4ef1dfe314d4cd59df8f88df1fd5c | [] | no_license | jayin92/competitive-programming | 5ca697d66ca0bd4016f109499ec76b0eba5d1d35 | e065a25d26ae78413da934f1081d882461e13d33 | refs/heads/master | 2022-12-22T13:47:30.776905 | 2022-12-07T17:28:16 | 2022-12-07T17:28:26 | 216,350,027 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,313 | cpp | #include <bits/stdc++.h>
using namespace std;
int main(){
int q;
cin >> q;
while(q--){
map <int, int> st;
vector <int> area;
bool flag = false;
int n;
cin >> n;
int a[n*4];
for(int i=0;i<4*n;i++){
cin >> a[i];
st[a[i]] ++;
... | [
"jayin920805@gmail.com"
] | jayin920805@gmail.com |
ec45271a572e73e193661d71ef281779404a3fa7 | 6404f55060041a4e98c6b613c3806767b39bcd18 | /Kaynak.cpp | 3ad7a6660fd26ad56c464d7cc525215b81828f57 | [
"Apache-2.0"
] | permissive | sufasah/Bignumber-Library | 7a45566da82c74665608a5324eac3f29d5b72c65 | a0e6362a6512573a7aeb8f326946072ec03fc426 | refs/heads/master | 2023-03-04T22:07:43.600816 | 2021-02-12T11:05:13 | 2021-02-12T11:05:13 | 337,310,754 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 469 | cpp | #include "bignumber.h"
#include <iostream>
#include <string>
using namespace std;
int main() {
bigNum n,n2;
while(1)
{
cout << "1. sayi" << endl;
string s1;
getline(cin, s1);
n.set(s1);
cout << "2. sayi" << endl;
string s2;
getline(cin, s2);
n2.set(s2);
cout << "sonuc" << endl;
cout << (n + n2) ... | [
"sufasah@gmail.com"
] | sufasah@gmail.com |
86d90b670ac3cfbd10b3dd131c59d3d02db3281c | f9b50a94f492d37bfb2bc20b714ff76ce6055142 | /project/terrain.h | b62b6bd015495531210683c925eba25cf994ea63 | [] | no_license | bear24rw/CS6060 | 7d0b2a431f0cddbf3996fc575c784eec3555c8ae | 8e4fa6f82013a084b1c897f5483f1362c1a2b13d | refs/heads/master | 2021-01-19T18:32:31.754638 | 2013-12-06T23:02:00 | 2013-12-06T23:02:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 717 | h | #pragma once
#include <GL/glew.h>
#include <SFML/Graphics.hpp>
#include <SFML/OpenGL.hpp>
#include <SFML/System.hpp>
#include "tile.h"
#include "camera.h"
#define NUM_TILES_X 11
#define NUM_TILES_Z 11
#define NUM_TILES (NUM_TILES_X*NUM_TILES_Z)
class Terrain {
public:
Terrain();
Terrain(Camera*... | [
"bear24rw@gmail.com"
] | bear24rw@gmail.com |
faf649e5f8903f171f9d2d27f4ac5e19a69c89b6 | d01231b96d6321bbe267365951abe57cd479f80a | /matriz_borrar fila columna.cpp | ed6076440b4e0cec05ffd9fcdf2cafa4e53a9626 | [] | no_license | Carlosuca/Proyectos-de-progra | 01c1194f79470f9e38265a9ee0355aad142f75db | 32d2e54c6f994d1680f2ba2aed1e38da6daee91c | refs/heads/master | 2020-07-24T12:04:18.850459 | 2020-05-02T02:55:07 | 2020-05-02T02:55:07 | 207,920,045 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 936 | cpp | #include <iostream>
using namespace std;
int main() {
int numeros[100][100],filas,columnas;
int borar_fila,borrar_columna;
cout<<"Digite el numero de filas: "; cin>>filas;
cout<<"Digite el numero de columnas: "; cin>>columnas;
for(int i=0;i<filas;i++){
for(int j=0;j<columnas;j++){
cout<<"Digite... | [
"Carlosuca"
] | Carlosuca |
7932c837794ed83163f1d74995592d3469958eae | 352b2b8dd9a217009d1086097006e36132e6c0de | /whaleyplayer架构和实现分析/软解播放器/decoder_video.cpp | 5b3c4f45478e63b16e2d5ee8c0dfd009b8285f99 | [] | no_license | sunyuchuan/SunycDocumentation | e95c06fa73308ff837cdc98fdd95cd452cef247a | cd873123750dd6c0250ea34c2ec1356cf1609183 | refs/heads/master | 2023-01-30T00:38:01.513985 | 2020-11-25T09:18:40 | 2020-11-25T09:22:08 | 293,723,631 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,476 | cpp |
#define LOG_TAG "FFVideoDec"
#include <utils/Log.h>
#include "decoder_video.h"
namespace android {
static uint64_t global_video_pkt_pts = AV_NOPTS_VALUE;
DecoderVideo::DecoderVideo(AVStream* stream, int total_frame):
IDecoder(stream),
mTotalFrame(total_frame),
mClock(NULL)
{
mVideoClock = 0.0;
m... | [
"yuchuan.sun@ximalaya.com"
] | yuchuan.sun@ximalaya.com |
d4efc124809096d64e12df2c0651c72b930c2f37 | bea9253e2d2a0d585a421c8ee6b1a033550659c2 | /Level 6/4.2b/Exercise 2/numericarray.cpp | caa8f2a186575a0f1a44f9e0c61d875240f10462 | [] | no_license | ngaikw/Cplusplus_Financial_Engineering | e82417fb78094ab69179e77457164423a74b7359 | fe4fdb45f052ea64c04f7dc7e6b793897adf2e77 | refs/heads/master | 2021-01-12T17:56:43.159153 | 2015-12-10T20:53:26 | 2015-12-10T20:53:26 | 71,305,638 | 4 | 4 | null | 2016-10-19T01:10:58 | 2016-10-19T01:10:58 | null | UTF-8 | C++ | false | false | 2,335 | cpp | #ifndef numericArray_CPP
#define numericArray_CPP
#include"differentSizeException.hpp"
#include"numericarray.hpp"
#include<cmath>
using namespace std;
template <class T>
numericArray<T>::numericArray() : Array<T>()//default constructor
{
}
template <class T>
numericArray<T>::numericArray(int s) : A... | [
"ishteinbuk@gmail.com"
] | ishteinbuk@gmail.com |
7265473c13da1252c402835ee3ac9de5dbb13d15 | f839f0c97cfff2791d9d827f244858f31911d478 | /AR-36.cpp | a71e53522e7cf371ca8d798bef7f202d6ed16af8 | [] | no_license | eric201014/ITSA | c2038fec599d0d28d285e914cb5b2ff1e8103330 | 57ec8ecd2b584d543e92b90764c495b11b32640a | refs/heads/master | 2020-06-09T03:40:00.239467 | 2020-01-17T02:54:26 | 2020-01-17T02:54:26 | 193,363,454 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 486 | cpp | #include <iostream>
#include <cstdlib>
using namespace std;
int main()
{
int n=0,m=0,k=0;
cin >> n >> m >> k;
int i=0,j=0,a[n][m],b[n][m],c[n][m];
for(i=0;i<n;i++)
for(j=0;j<m;j++)
cin >> a[i][j];
for(i=0;i<n;i++)
for(j=0;j<m;j++)
cin >> b[i][j];
for(i=0;i<n;i++) // matrix operate
for(j=0;j<m;... | [
"noreply@github.com"
] | noreply@github.com |
0c2c6ebd18d3b9aa4c85d54f272331cb1dd117bf | 9627ea6c2d232c55a949064ff7c7c07c4dd7626a | /FB SDK/CompareState.h | ff1266a78c786e327478f33cb16f5dcbda881cfb | [] | no_license | picco911/Cheat_BF3 | e2d42785474348adfdfa44274999aa4d0ea68054 | 99888a880eed5410308f03258b35a11ce50d927e | refs/heads/master | 2020-03-27T21:05:14.875678 | 2018-09-02T19:13:16 | 2018-09-02T19:13:16 | 147,114,166 | 0 | 1 | null | 2018-09-02T19:11:31 | 2018-09-02T19:11:31 | null | UTF-8 | C++ | false | false | 211 | h | #ifndef _CompareState_H
#define _CompareState_H
#include "FB SDK/Frostbite_Classes.h"
namespace fb
{
class CompareState
{
public:
bool asMember; // 0x0
}; // CompareState
};
#endif | [
"39557080+BlackSickness@users.noreply.github.com"
] | 39557080+BlackSickness@users.noreply.github.com |
db66eff324a8fc42b886dfb588994736a5bd2672 | cd5e42c91c9018f25b08c6008249297654f5026c | /2009 数列求和.cpp | 4cf66cd28b53bd3aba3597ab09ebc4690b2f9aca | [] | no_license | shareone2/HDUOj | 518d64b0eae3634b4be6e1d5cc5223a01bbc7a20 | d43ff86c2671c44571ed3761f789766f5a85c19e | refs/heads/master | 2022-12-10T01:21:07.157972 | 2020-09-08T10:23:12 | 2020-09-08T10:23:12 | 293,774,725 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 263 | cpp | #include <stdio.h>
#include <math.h>
int main(){
double n;
int m;
while (scanf("%lf%d", &n, &m) != EOF && n < 10000 && m < 1000) {
double sum = 0;
while (m--) {
sum = sum + n;
n = sqrt(n);
}
printf("%.2lf\n", sum);
}
return 0;
}
| [
"2659002865@qq.com"
] | 2659002865@qq.com |
a26ba9a884049a3f1a0b1f0c0ffb93242cd454e4 | 3e98ac489f3122e86b13a9d9cf565ca79e3b4c72 | /HW3/main_char.h | 7cfa2c9c1722539220f68eb91670dc607673ff35 | [] | no_license | brian220/3DGameProgramming | 46e9976595aba4219f6aad3018124096665f6523 | d06f54abcd32036dd64ee0f3c9dc31d7d56b4714 | refs/heads/master | 2020-08-01T01:35:10.568562 | 2019-12-20T13:29:25 | 2019-12-20T13:29:25 | 210,815,177 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,426 | h | #ifndef __MAIN_CHAR_H__
#define __MAIN_CHAR_H__
#include "game_obj.h"
#include "weapon_manager.h"
#include "WeaponParticleSystemManager.h"
class MAIN_CHAR : public GAME_OBJ
{
protected:
Camera *mCamera;
Vector3 mEyePosition;
WEAPON_MANAGER *mWeaponMgr;
unsigned int mFireActionMode;
int mCurBulletsN... | [
"noreply@github.com"
] | noreply@github.com |
024f8467ef88e2f30c2bc4e1b6f96407a4d1e49f | fd81ece5b7ac96e4c2456a8633204d95a2ecb980 | /MCG03/Obstacle.h | ac93491fa7790c7a5859f63dccb464d6ca58a59d | [] | no_license | PeterZs/MCG03 | 5607659ea8299edd0012aeb56bc7f41315eee7f2 | 1620f130852b89bd6f202ba215b608c7520689ea | refs/heads/master | 2021-01-12T22:18:52.335411 | 2015-04-04T02:19:24 | 2015-04-04T02:19:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 411 | h | //
// Obstacle.h
// MCG03
//
// Created by Jing Li on 9/18/14.
// Copyright (c) 2014 Jing Li. All rights reserved.
//
#ifndef __MCG03__Obstacle__
#define __MCG03__Obstacle__
#include <iostream>
#include "Particle.h"
class Obstacle
{
public:
virtual void draw()const =0;
virtual void collide(Particle &part... | [
"lijing070769@hotmail.com"
] | lijing070769@hotmail.com |
0135d5a31089d40b202d461d269621ec0fed6624 | 127e99fbdc4e04f90c0afc6f4d076cc3d7fdce06 | / cpp/플로이드(11404).cpp | 35d88c59fc034830282611219912d334de046c03 | [] | no_license | holim0/Algo_Study | 54a6f10239368c6cf230b9f1273fe42caa97401c | ce734dcde091fa7f29b66dd3fb86d7a6109e8d9c | refs/heads/master | 2023-08-25T14:07:56.420288 | 2021-10-25T12:28:23 | 2021-10-25T12:28:23 | 276,076,057 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,023 | cpp | #include<iostream>
#include<algorithm>
#define MAX 987654321
using namespace std;
int n, m;
long long list[102][102];
int main(){
cin>>n>>m;
long long a, b, w;
for (int i = 1; i <=n; i++)
{
for (int j = 1; j <=n; j++)
{
list[i][j]=MAX;
}
}
for (int i... | [
"holim1226@gmail.com"
] | holim1226@gmail.com |
a60dac0bcfb95436bf179c8e011f19308cb0d3b7 | 2cf5785bbaeeb10be65348d342269ca735ad10a5 | /modules/light.h | 42e4540fbfdca1e6470e902615065f92ca62f2b3 | [] | no_license | Alfarie/PlantLab-MCU-LIGHT | d334f1e16c4f71fba098acef6cfb322837299535 | 4b9d22f9c2114d5730ababf23bf88b9c489309b5 | refs/heads/master | 2020-03-19T15:23:55.677204 | 2018-06-08T21:54:52 | 2018-06-08T21:54:52 | 136,669,025 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 794 | h | #include <Task.h>
extern TaskManager taskManager;
#include "TSL2561.h"
TSL2561 tsl(TSL2561_ADDR_FLOAT);
class Light : public Task
{
public:
static Light *s_instance;
Light() : Task(MsToTaskTime(1000))
{
value = 0;
tsl.setGain(TSL2561_GAIN_0X);
tsl.setTiming(TSL2561_INTEGRATIONTIME_13MS);
};
stati... | [
"farhan.abuhazan@gmail.com"
] | farhan.abuhazan@gmail.com |
e7f3980fdc12a255be50d30ba516827bc17ead47 | db16383db5f7fba2c753f62539010d6529232d42 | /task3.cpp | 771dbbd14e7de8cdb6fc0b4b59a0c605fd738e4e | [] | no_license | LvovKirill/SR_massiv | ed6d0fa638dd849ef0fdb846f32848fdb62836ec | 0823db802a21ddc5843b4d73ded98a376ccc0504 | refs/heads/master | 2023-01-23T08:58:40.970075 | 2020-11-30T13:03:58 | 2020-11-30T13:03:58 | 317,226,071 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 640 | cpp | #include <iostream>
using namespace std;
int main() {
int n;
cin >> n;
int mas[n][n];
// заполняем двумерный массив (i-строки, j-столбцы)
for (int i = 0; i<n; i++){
for (int j = 0; j<n; j++){
// если главная диагональ
if (i==j)
cout << 0 << " ";
// если вы... | [
"lvovkir@yandex.ru"
] | lvovkir@yandex.ru |
bf49809a0ffc5451ec3ce86da40ef421899fe8f4 | 6564776b030d05a959b34f57ad8d9a310859a4c1 | /include/window.h | 4dbfcf4ed23bad97df1701e170dc8fdd7205c76d | [
"MIT"
] | permissive | ryonagana/shmup2 | 2fdbd035fe1f57df8bd6337fe996b1c8540f4511 | e873402dc82dc148340adc2562dd8eb2353f3915 | refs/heads/master | 2020-05-02T05:49:43.653850 | 2019-06-23T23:43:09 | 2019-06-23T23:43:09 | 177,781,243 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,369 | h | #ifndef WINDOW_HEADER
#define WINDOW_HEADER
#include <iostream>
#include <cstdio>
#include <cstring>
#include <cstdlib>
#include <cstdbool>
#include <allegro5/allegro.h>
#include <allegro5/allegro_image.h>
#include <allegro5/allegro_font.h>
#include <allegro5/allegro_ttf.h>
#include <allegro5/allegro_primitives.h>
#in... | [
"nicholasluis@gmail.com"
] | nicholasluis@gmail.com |
b66ce0e8f081102e6186955b901f3392c2d8a73f | 08b8cf38e1936e8cec27f84af0d3727321cec9c4 | /data/crawl/squid/old_hunk_5517.cpp | 74872789e0474c1d7787589f7c97de6ccb19e72e | [] | no_license | ccdxc/logSurvey | eaf28e9c2d6307140b17986d5c05106d1fd8e943 | 6b80226e1667c1e0760ab39160893ee19b0e9fb1 | refs/heads/master | 2022-01-07T21:31:55.446839 | 2018-04-21T14:12:43 | 2018-04-21T14:12:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 527 | cpp | matchrv = aclMatchUser(data, MatchParam);
break;
case ACL_PROXY_AUTH_REGEX:
matchrv = aclMatchRegex(data, MatchParam);
break;
default:
/* This is a fatal to ensure that aclCacheMatchAcl calls are _only_
* made for supported acl types */
fatal("aclCacheMatchAcl: unknown or unexpected ACL type");
return ... | [
"993273596@qq.com"
] | 993273596@qq.com |
a5bad939cc8b0a5c5806a39ddde1614b9e807dcf | 468716b83d837e2944fe6a3c8078b585560d7d1f | /Players/Cocos2d-x_v4/3rdParty/LLGI/src/DX12/LLGI.TextureDX12.h | eff636267fbf3b42564f3ddd1c9b8561cfad29ed | [
"Zlib",
"MIT"
] | permissive | darreney/EffekseerForCocos2d-x | 0a1bfea09ec9858081f799cc5b0ce3f42147883a | de9222b28f6f376cfb96f98b7b4dd783a3d66055 | refs/heads/master | 2020-12-18T20:24:59.103886 | 2020-06-16T07:21:44 | 2020-06-16T07:21:44 | 235,512,027 | 0 | 0 | MIT | 2020-01-22T06:21:45 | 2020-01-22T06:21:44 | null | UTF-8 | C++ | false | false | 1,563 | h |
#pragma once
#include "../LLGI.Texture.h"
#include "LLGI.BaseDX12.h"
#include "LLGI.GraphicsDX12.h"
namespace LLGI
{
class TextureDX12 : public Texture
{
private:
GraphicsDX12* graphics_ = nullptr;
bool hasStrongRef_ = false;
ID3D12Device* device_ = nullptr;
ID3D12CommandQueue* commandQueue_ = nullptr;
ID3D12... | [
"swda.durl@gmail.com"
] | swda.durl@gmail.com |
1148dfaf22725adab805924490e46ee4328b79e9 | c14d2822597f87b7fdc1ae3e19f5a0f53ed733d3 | /Day03/ex03/ClapTrap.hpp | 9a0a7bef185c013611e8572875665a842b2d2b36 | [
"MIT"
] | permissive | EnapsTer/StudyCPP | 79eef4f5e5fc49cf0f0789e0e2500d22b512dcd8 | 4bcf2a152fbefebab8ff68574e2b3bc198589f99 | refs/heads/main | 2023-07-16T05:58:45.689061 | 2021-08-26T12:52:38 | 2021-08-26T12:52:38 | 364,988,775 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 975 | hpp | //
// Created by Arborio Herlinda on 5/14/21.
//
#ifndef CLAPTRAP_HPP
#define CLAPTRAP_HPP
#include <string>
class ClapTrap {
public:
ClapTrap(std::string const &name);
ClapTrap(ClapTrap const &other);
ClapTrap &operator=(ClapTrap const &other);
virtual ~ClapTrap();
virtual void RangedAttack(std::string ... | [
"andreshah1@yandex.ru"
] | andreshah1@yandex.ru |
aa516b4e5c5f364dc9982f12056551a4ad0181d7 | 46ebfa8a713fae2f285d4050eb6a429c1757f917 | /ui/src/vcpropertieseditor.h | e4f719d9658b03c9f75d8c7b1aba7083a4868b6b | [
"Apache-2.0"
] | permissive | CCLinck21/qlcplus | ae20e333f97e43274c8f2d5f6c13281f4d9061a3 | 46b09fab78dceb4c27497fb5667451821b07a7aa | refs/heads/master | 2021-01-12T20:58:44.853860 | 2013-12-21T12:26:24 | 2013-12-21T12:26:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,935 | h | /*
Q Light Controller
vcpropertieseditor.h
Copyright (c) Heikki Junnila
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.txt
Unless r... | [
"massimocallegari@yahoo.it"
] | massimocallegari@yahoo.it |
42de1aa58e5f55f34bf464ac275b1d64fcc7c7ef | a80e7ff11efdd689d8ce7c5269df26735899a6e0 | /GameAPP/Tests/tst_gametests.cpp | 138868d8a5504d87be03ab11ff6df51a575733f7 | [] | no_license | fl0rek/ProjektTIN | 9ca51dde4d48fdce5d040be76258d1be5f0962f1 | 606f0047b8868eb282b7df4bf676edf043586d73 | refs/heads/master | 2021-01-19T22:05:31.043483 | 2017-06-08T18:01:19 | 2017-06-08T18:01:19 | 88,751,702 | 0 | 1 | null | 2017-06-08T17:42:20 | 2017-04-19T14:00:15 | C++ | UTF-8 | C++ | false | false | 57 | cpp | #include "tst_gametests.h"
GameTests::GameTests()
{
}
| [
"mikolaj.florkiewicz+github@gmail.com"
] | mikolaj.florkiewicz+github@gmail.com |
146f4b7c73028b17ae0aab6dfde5c66ed4a45b21 | f3a316a2f25b37793e1741295d7e932e3d8e7c09 | /source/i18n/buddhcal.cpp | 082642d5a37775e0501586bd67ddf45f36b83ad9 | [
"LicenseRef-scancode-public-domain",
"BSD-2-Clause",
"NAIST-2003",
"BSD-3-Clause",
"LicenseRef-scancode-unicode",
"ICU",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | CdTCzech/ICU | 3cb59891b9efcbcfa5fb6e75d394d666561650a3 | 4c9b8dfefd9a26096f7642c556fa3b4bd887317e | refs/heads/master | 2023-03-01T19:23:09.347544 | 2021-02-09T13:01:11 | 2021-02-09T13:01:11 | 257,857,185 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,493 | cpp | // © 2016 and later: Unicode, Inc. and others.
// License & terms of use: http://www.unicode.org/copyright.html
/*
*******************************************************************************
* Copyright (C) 2003-2013, International Business Machines Corporation and *
* others. All Rights Reserved. ... | [
"hrncirmirek@outlook.com"
] | hrncirmirek@outlook.com |
32f0dbc1d0e738616c53804ea86bee3e582c2789 | 0cff9eb0f1203bb1e969157cdbd8923c18506630 | /include_imm/stru_build_inst.h | a91217a75a78e79cdf0d5e93ddc37de182e687d5 | [
"MIT"
] | permissive | endrollex/imm_engine | ed93ac0f3860e4c7bd4a5281732dec22878a04c1 | 034a7a11fc52708b091fe898ab6162d1dcb5c382 | refs/heads/main | 2023-06-02T19:44:20.612091 | 2023-06-02T07:54:30 | 2023-06-02T07:54:30 | 34,700,114 | 10 | 11 | null | null | null | null | UTF-8 | C++ | false | false | 3,129 | h | ////////////////
// stru_build_inst.h
// by Huang Yiting
////////////////
////////////////
#ifndef STRU_BUILD_INST_H
#define STRU_BUILD_INST_H
#include "stru_model_mgr.h"
namespace imm
{
////////////////
// inst_build
////////////////
////////////////
template <typename T_app>
struct inst_build
{
inst_build();
void i... | [
"seebook@126.com"
] | seebook@126.com |
7f6224857376d4eeef2b96cbe1f2ecb330540826 | c982c1813e4f47cec6913deb960e5082c042eca4 | /d.h | 3877bc9ed7c188733053ba35d002f0768fc10229 | [] | no_license | daniele-mc/lp1-1unidade | c0e86562edaa9154790d6263424bee3da938da71 | 09dce27497bfba5d3db826cc9d0cc7f60c68518d | refs/heads/master | 2020-05-19T08:04:25.114999 | 2019-05-04T15:43:50 | 2019-05-04T15:43:50 | 184,913,047 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 231 | h | #ifndef D_H
#define D_H
#include <iostream>
#include <cstdlib>
#include <ctime>
using namespace std;
class D{
private:
int dado1;
int dado2;
public:
//D();
D(int dado1 = 6, int dado2 = 6);
int jogarD();
};
#endif | [
"noreply@github.com"
] | noreply@github.com |
59fabea8448cfa8487a5822bc784cd80289a8e10 | f7113575ad291de87c3a1d358fa64f0886487b40 | /etutor_ITSA_16.cpp | 7f283f708d969c85424db32d7e00b17ceaefa423 | [] | no_license | cys107u/ITSA_C_plus | ba40996b641e6b792ea937a29c6989af2bbe1308 | af53dabf32fbde160049c024ede4972164892efc | refs/heads/master | 2022-11-14T20:21:55.450430 | 2020-07-09T05:37:52 | 2020-07-09T05:37:52 | 278,272,540 | 0 | 0 | null | null | null | null | BIG5 | C++ | false | false | 996 | cpp | #include<iostream>
#include<string.h>
using namespace std;
int main()
{
char A[8192],B[8192];
cin>>A>>B;
int length_A=strlen(A);//取A的長度
int length_B=strlen(B);//取B的長度
int ans=0;
//printf("%d:%s\n%d:%s\n",length_A,A,length_B,B);
for(int now_B=0; now_B<length_B; now_B++)//從字串B的第一個... | [
"noreply@github.com"
] | noreply@github.com |
87f7bf0c1cab5bf921c70e2f9b38ad010d1d0000 | dd629803899abbb8b6d8b4503b3591bb7eae6e73 | /include/forge/imaging/hd/compExtCompInputSource.h | 154365ec3663d31921c09be1d3f47aef1e3bd28a | [] | no_license | furby-tm/Winggverse | 8d78bb691d2e5eecc5197845e9cbfb98f45c58bd | 0dc9db7057f52fca3e52e73491e24f298d108106 | refs/heads/main | 2023-04-21T17:32:20.350636 | 2021-04-30T04:24:30 | 2021-04-30T04:24:30 | 362,732,238 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,641 | h | #line 1 "C:/Users/tyler/dev/WINGG/forge/imaging/hd/compExtCompInputSource.h"
/*
* Copyright 2021 Forge. All Rights Reserved.
*
* The use of this software is subject to the terms of the
* Forge license agreement provided at the time of installation
* or download, or which otherwise accompanies this software in
* e... | [
"tyler@tylerfurby.com"
] | tyler@tylerfurby.com |
5fc3a57069073ee81a7d255f0df32d77e2dce3bd | 934b0f30a81e7bdf9d81c4924bcd39a66adf4dc9 | /APEX-S/Libraries/drake-v0.9.11-mac/build/include/drake/ValueConstraint.h | 793b6107c649dc373da9369aad6b562d9bed1a76 | [
"BSD-3-Clause"
] | permissive | mlab-upenn/arch-apex | 6d253b418147216997b15b1daa5c835e0bb60afd | 2af0fc3d6b61ad738aca2e100e4966ad394a5218 | refs/heads/master | 2021-01-17T23:38:28.551132 | 2016-03-18T23:15:37 | 2016-03-18T23:15:37 | 49,383,752 | 6 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 664 | h | #ifndef DRAKE_SOLVERS_QPSPLINE_VALUECONSTRAINT_H_
#define DRAKE_SOLVERS_QPSPLINE_VALUECONSTRAINT_H_
#undef DLLEXPORT
#if defined(WIN32) || defined(WIN64)
#if defined(drakeSplineGeneration_EXPORTS)
#define DLLEXPORT __declspec( dllexport )
#else
#define DLLEXPORT __declspec( dllimport )
#endif
#else
#de... | [
"okelly.5@osu.edu"
] | okelly.5@osu.edu |
11f5a08f8d6a03aea169818503a22e08d8f8f666 | 1dfdc3004bd64b4839d74ed12bcc7eeed1a3e265 | /Network Flow/lightoj__1155.cpp | f931da4cdde0293753866e2fcea5716fb0261d94 | [] | no_license | JaberHPranto/Programming- | 6944f2f213a05404109dacf50889e69b6c14fcce | 5ebf17bf011ea51d674e135d345620814da84781 | refs/heads/master | 2023-02-07T03:48:49.595089 | 2021-01-02T10:00:05 | 2021-01-02T10:00:05 | 298,335,906 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,361 | cpp | #include<bits/stdc++.h>
using namespace std;
const int maxnodes = 100;
int n,pr[210],cap[210][210];
int bfs(int src,int des)
{
int vis[210]= {0};
vis[src]=1;
pr[src]=-1;
queue<int>Q;
Q.push(src);
while(!Q.empty())
{
int u=Q.front();
Q.pop();
for(int i=0; i<=2*(n+4... | [
"61055952+JaberHPranto@users.noreply.github.com"
] | 61055952+JaberHPranto@users.noreply.github.com |
2fb468e9c775c3a7ef3e4872f1ca35dd88f4960c | 527739ed800e3234136b3284838c81334b751b44 | /include/RED4ext/Types/generated/audio/GroupingCountableMetadata.hpp | 93f518d109f7ebaf676b50ef1f60721c8d5de949 | [
"MIT"
] | permissive | 0xSombra/RED4ext.SDK | 79ed912e5b628ef28efbf92d5bb257b195bfc821 | 218b411991ed0b7cb7acd5efdddd784f31c66f20 | refs/heads/master | 2023-07-02T11:03:45.732337 | 2021-04-15T16:38:19 | 2021-04-15T16:38:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 596 | hpp | #pragma once
// This file is generated from the Game's Reflection data
#include <cstdint>
#include <RED4ext/Common.hpp>
#include <RED4ext/REDhash.hpp>
#include <RED4ext/Types/generated/audio/EmitterMetadata.hpp>
namespace RED4ext
{
namespace audio {
struct GroupingCountableMetadata : audio::EmitterMetadata
{
st... | [
"expired6978@gmail.com"
] | expired6978@gmail.com |
6f4cc3a7891a0fd261599680d0a9e317bf37519b | d88aee6ee4f6c90e68bc27074ebc551da362992b | /SDS/day4/primesum.cpp | e3d2321442f0587e4a19550329488555183bc5e4 | [] | no_license | hjy0951/Algorithm | ed04fd92c6c07e275377940435928bd569de5030 | a84428254aad376f5cbc57c4dfc1dfc500dbea76 | refs/heads/master | 2023-06-25T23:44:36.992766 | 2023-06-12T06:15:23 | 2023-06-12T06:15:23 | 232,743,643 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,027 | cpp | // 백준 1644 소수의 연속합
#include <iostream>
#include <vector>
using namespace std;
long long int n;
vector<int> prime;
int check[4000001];
int cnt;
int main(){
cnt = 0;
cin >> n;
if(n == 1){
cout << 0 << "\n";
return 0;
}
else if(n == 2 || n == 3){
cout << 1 << "\n";
return 0;
}... | [
"hjy0951@gmail.com"
] | hjy0951@gmail.com |
fd0a6b83e386bda2d794baa3106edcc9308a500a | 675ad919b372939fcc4cd2ccffd62817522caaad | /source/core/image/texture/texture_byte_2_unorm.cpp | dff868f3c2384f5cf3f5a82efd25e17ccf8f5080 | [] | no_license | lineCode/sprout | 2308ff7de515c6499ffb5bf6889bf9ccebc6b2bd | ffaefc1c6ffd5f8fb6da3acbe98d05555586791e | refs/heads/master | 2020-04-05T06:15:25.954312 | 2018-11-07T09:41:57 | 2018-11-07T09:41:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,840 | cpp | #include "texture_byte_2_unorm.hpp"
#include "base/math/vector4.inl"
#include "image/typed_image.inl"
#include "texture_encoding.hpp"
namespace image::texture {
Byte2_unorm::Byte2_unorm(std::shared_ptr<Image> image) noexcept
: Texture(image), image_(*static_cast<const Byte2*>(image.get())) {}
float Byte2_unorm::... | [
"benjamin.savs@gmail.com"
] | benjamin.savs@gmail.com |
3184050bdb012e63bf802d48c2eeb13a25c4b69f | 62bf91e6efbc8762c6ff0097486e1d2a7836def7 | /Data Structures/Trie/NoPrefixSet.cpp | c4704c98e3949f7466b5048393bc00cd924c40ac | [] | no_license | Fidanrlee/Hackerrank-solutions | 1d7618c565125aff22a470fa3976f30bb8537eb8 | 91c7d3e1831fc296f2e68e2fa5eca6b8f1b5fd7c | refs/heads/master | 2021-02-07T10:09:24.978660 | 2020-07-08T11:06:16 | 2020-07-08T11:06:16 | 244,012,551 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,139 | cpp | #include <iostream>
#include <cmath>
#include <cstring>
#define MAX 100005
#define oo 1000000009
using namespace std;
struct node{
int val[10] = {0};
bool A=false;
node *link[10]={NULL};
};
node *trie = new node;
int Add(string s){
node *tmp = trie;
int i;
for(i = 0; s[i] != '\0'; i++){
... | [
"fidan.nonnnn5@gmail.com"
] | fidan.nonnnn5@gmail.com |
53f1ad8c11e4bb4be03e12dca1124aa28cb1a577 | b56a77108435afd8d47943381191096aff75cbff | /MyException.hpp | 93bf4e6b78f57dfc501d7090947b2538364b7e06 | [] | no_license | louischristner/MessageQueue | 47ce602ed964dbecb96723802396a9a76ff160a7 | 66771b40ccacc70794ca6e0f5c66eb58a5485554 | refs/heads/master | 2022-04-28T07:41:50.722166 | 2020-04-30T16:11:03 | 2020-04-30T16:11:03 | 260,192,953 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 453 | hpp | /*
** EPITECH PROJECT, 2020
** CCP_plazza_2019
** File description:
**
*/
#ifndef MYEXCEPTION_HPP_
#define MYEXCEPTION_HPP_
#include <string>
#include <exception>
class MyException : public std::exception
{
public:
MyException(const std::string &msg) noexcept : Msg("Exception: " + msg) {}
const c... | [
"louis.christner@epitech.eu"
] | louis.christner@epitech.eu |
68a07b1a0a825a736e9e7787fa128ff993d10040 | 6b707de8b6df6e7a0f9e8eafca3bfd2712908575 | /src/Day17.cpp | 3df9b23e94f98f90d906454b8e08bf6fa5199cbc | [] | no_license | glasnak/aoc2018 | 0627ec0fefaadec40a2cc79af0db5bdbd397f402 | 3aed38f4bfd057312df80d5aa585b16546dbcfb7 | refs/heads/master | 2020-04-09T02:55:31.812496 | 2019-06-12T20:24:28 | 2019-06-12T20:24:28 | 159,960,458 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,229 | cpp | // --- Day 17: Reservoir Research ---
#include "Day17.h"
/// parse this:
// x=495, y=2..7
// y=7, x=495..501
void Day17::parse(const std::vector<std::string> &Lines) {
std::vector<Coord> SetBits;
char Coord1, Coord2;
int CoordStatic, CoordRangeMin, CoordRangeMax;
for (const auto &Line : Lines) {
ssc... | [
"glasnak.o@gmail.com"
] | glasnak.o@gmail.com |
85d0a78032d07f8c75b1c9ea5e505d1f9d815dbd | 2764ca18ed56fdd91b2ecb2c2025f496cb7685f9 | /CSCI430/GaryFowlerCSCI430Prog2/GaryFowlerCSCI430Prog2/Source.cpp | 6a66f67c8223d8223a5c8ff99eae2ba0264abd27 | [] | no_license | IamGary24/CollegeCourseWork | 576c0b299124ea1c61c59266e9e15872f4f1184d | 801d78042dbe0d3af993a5eff411c39157124b6b | refs/heads/master | 2021-05-13T14:06:43.616746 | 2018-01-08T21:58:05 | 2018-01-08T21:58:05 | 116,728,205 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,930 | cpp | /** @file Source.cpp
*
* @author Gary Fowler III
*
* @assg Programming Assignment #2
*
* @date June 18, 2017
*/
#include <stdlib.h>
#include "ProcessControlBlock.h"
#include <iostream>
#include <fstream>
#include <string>
#include <list>
using namespace std;
int nextProcessID = 1;
int currentSystemTime = 1;
boo... | [
"gfowl0813@gmail.com"
] | gfowl0813@gmail.com |
540a641d7227f7d13f4d5563fb79aeb5e0945382 | b5e6a80820d0d13bbaaff83c8125134fd51a02f3 | /a4/RayTrace/shademodel.cpp | e579787528f2a941b37acc244a7b4933ab736d80 | [] | no_license | jguze/csc305_graphics | 22bc774d25acedcddeac38397b439fc831c98537 | 32523a4a52f971adaa3ced164f5b2d81113b5367 | refs/heads/master | 2021-01-22T04:34:17.377163 | 2015-03-02T18:07:20 | 2015-03-02T18:07:20 | 31,554,601 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 59 | cpp | #include "shademodel.h"
ShadeModel::ShadeModel()
{
}
| [
"jaguze@gmail.com"
] | jaguze@gmail.com |
7a15bf3df1c8e3ff2e4ba6811c1f74004899e7b4 | 09c7b95d714386cfd4ff88f89520f4204aeddcc7 | /Windows/FFP/15_Point/GL_point.cpp | ad2fa14e0c7761b7f2a33d1705549e45c9f51dfc | [] | no_license | visonavane8/rtrOneEight | 45ca78b5d7fc51b8a141d2008cabe019673d767b | 0c38a9df25cc4dbf53ece66b4c19cea1c7b94bf9 | refs/heads/master | 2020-09-02T14:17:04.135799 | 2019-11-03T08:44:53 | 2019-11-03T08:44:53 | 219,239,286 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,895 | cpp | #include<windows.h>
#include<stdio.h>
#include<gl/GL.h>
#pragma comment(lib,"opengl32.lib")
#define WIN_WIDTH 800
#define WIN_HEIGHT 600
#define DEF 0
LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM);
HWND ghwnd;
HDC ghdc = NULL;
HGLRC ghrc = NULL; //OpenGL Rendering Context
FILE *gpfile;
DWORD dwst... | [
"noreply@github.com"
] | noreply@github.com |
f0d34c785c20e218bb8758805a103aba7ba1d9df | fb59dcedeb1aae73e92afebeb6cb2e51b13d5c22 | /middleware/src/porting/LocalPlayer/localplayer_port.cpp | c59252d893fad1f7b1eb9ff9d7557db4dc6109f2 | [] | no_license | qrsforever/yxstb | a04a7c7c814b7a5647f9528603bd0c5859406631 | 78bbbae07aa7513adc66d6f18ab04cd7c3ea30d5 | refs/heads/master | 2020-06-18T20:13:38.214225 | 2019-07-11T16:40:14 | 2019-07-11T16:40:14 | 196,431,357 | 0 | 1 | null | 2020-03-08T00:54:09 | 2019-07-11T16:38:29 | C | UTF-8 | C++ | false | false | 7,601 | cpp |
#ifdef INCLUDE_LocalPlayer
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include "json/json.h"
#include "json/json_public.h"
#include "Hippo_api.h"
#include "Assertions.h"
#include "config/pathConfig.h"
#include "DirFileInfo.h"
#include "RegularFileInfo.h"
#include "F... | [
"lidong8@le.com"
] | lidong8@le.com |
a42c0eaf12f5a85c9168f03ae677db003c08fc70 | 1022b24a65543c2e041eb6c3db12957d2793c359 | /CytronWiFiShield-master/src/CytronWiFiShield.h | 32d83f8c962ad65338f316589277d679d241e3f8 | [] | no_license | tyrahuda/Temp-datalog | 1b5dfe801a491a136e052a8180f2e4741f5e0c14 | 5c038cffcec862e9dc0e4b504b810241755a8d6f | refs/heads/master | 2020-03-23T23:40:52.095884 | 2018-08-02T01:41:16 | 2018-08-02T01:41:16 | 142,248,619 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,062 | h | /******************************************************************************
CytronWiFiShield.h
Cytron WiFi Shield Library Main Header File
Created by Ng Beng Chet @ Cytron Technologies Sdn Bhd
Original Creation Date: Sept 11, 2015
https://github.com/CytronTechnologies/CytronWiFiShield
Modified from ESP8266 WiFi S... | [
"noreply@github.com"
] | noreply@github.com |
ca5fc6db4bce0bc018d187c0996b176065d19427 | db84bf6382c21920c3649b184f20ea48f54c3048 | /gerdageometry/gerdageometry/GEGeometryLArInstTest.hh | d2a0fd4c5ceb4ef29cd4b6e6e595db9f914fbf13 | [] | no_license | liebercanis/MaGeLAr | 85c540e3b4c5a48edea9bc0520c9d1a1dcbae73c | aa30b01f3c9c0f5de0f040d05681d358860a31b3 | refs/heads/master | 2020-09-20T12:48:38.106634 | 2020-03-06T18:43:19 | 2020-03-06T18:43:19 | 224,483,424 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,590 | hh | //---------------------------------------------------------------------------//
//bb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nu//
// //
// //
... | [
"mgold@unm.edu"
] | mgold@unm.edu |
3555d47efb9f17d0f7ace4329a166e9a6788f4f6 | 2bfddaf9c0ceb7bf46931f80ce84a829672b0343 | /src/xtd.drawing/include/xtd/drawing/imaging/color_palette.h | 84fe0dac8162de3df39567f68132deb7ad54c3c6 | [
"MIT"
] | permissive | gammasoft71/xtd | c6790170d770e3f581b0f1b628c4a09fea913730 | ecd52f0519996b96025b196060280b602b41acac | refs/heads/master | 2023-08-19T09:48:09.581246 | 2023-08-16T20:52:11 | 2023-08-16T20:52:11 | 170,525,609 | 609 | 53 | MIT | 2023-05-06T03:49:33 | 2019-02-13T14:54:22 | C++ | UTF-8 | C++ | false | false | 3,760 | h | /// @file
/// @brief Contains xtd::drawing::imaging::color_palette class.
/// @copyright Copyright (c) 2023 Gammasoft. All rights reserved.
#pragma once
#include <cstdint>
#include <vector>
#include <xtd/iequatable.h>
#include <xtd/object.h>
#include "../color.h"
/// @brief The xtd namespace contains all fundamental c... | [
"gammasoft71@gmail.com"
] | gammasoft71@gmail.com |
a81c2ef23c2a275fd641e17df07811308637666d | cd726912664cea9c458ac8b609dd98bf33e3b9a0 | /snippets/cpp/VS_Snippets_CLR_System/system.Int16.Parse/cpp/parse3.cpp | e17d9457ac6c96aa7cf1447bcbecae806ce6cc98 | [
"MIT",
"CC-BY-4.0"
] | permissive | dotnet/dotnet-api-docs | b41fc7fa07aa4d54205df81284bae4f491286ec2 | 70e7abc4bcd692cb4fb6b4cbcb34bb517261dbaf | refs/heads/main | 2023-09-04T07:16:44.908599 | 2023-09-01T21:46:11 | 2023-09-01T21:46:11 | 111,510,915 | 630 | 1,856 | NOASSERTION | 2023-09-14T21:45:33 | 2017-11-21T06:52:13 | C# | UTF-8 | C++ | false | false | 1,963 | cpp | // Parse3.cpp : main project file.
using namespace System;
using namespace System::Globalization;
int main(array<System::String ^> ^args)
{
// <Snippet3>
String^ value;
Int16 number;
NumberStyles style;
// Parse string using "." as the thousands separator
// and " " as the ... | [
"noreply@github.com"
] | noreply@github.com |
69394f201c6b02e1dbee41faecd3262a02892115 | 6923ef5f30a47f3a8daeba1fc4853bfb853ccf2b | /Include/Imagics/GteHistogram.h | 888ba3d8a4294a39ce78c9d9f758a361118a45a3 | [] | no_license | 0000duck/GTEngine | 61ea1f42115de89f609d2e689ccf772740bb9df6 | dd6a813d39a2ee6a3d816065ae59bed52c427f70 | refs/heads/master | 2022-03-01T05:22:07.143977 | 2019-11-05T06:02:22 | 2019-11-05T06:02:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,154 | h | // David Eberly, Geometric Tools, Redmond WA 98052
// Copyright (c) 1998-2019
// Distributed under the Boost Software License, Version 1.0.
// http://www.boost.org/LICENSE_1_0.txt
// http://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
// File Version: 3.0.0 (2016/06/19)
#pragma once
#include <GTEngin... | [
"baiwenlei@sogou-inc.com"
] | baiwenlei@sogou-inc.com |
107092f8aec70c5aaba69390f9dbc0d0e9ef9d62 | 220227c1cae2bd4892351c7f1f185892672bd673 | /NexaSelfLearningConstants.inc | cfc1fa8776b0ad14be67ba4e377af28a77f15508 | [
"BSD-2-Clause"
] | permissive | dcollin/NexaControl | 51e2ea484f4ab779e743261fe60084ff12e644ed | 5fd5429375b3fffbf0bdd041d493d5c6ff0c156a | refs/heads/master | 2021-01-17T10:45:17.958959 | 2016-01-22T16:34:58 | 2016-01-22T16:34:58 | 30,599,493 | 4 | 1 | null | 2016-06-17T18:08:21 | 2015-02-10T15:45:43 | C++ | UTF-8 | C++ | false | false | 1,626 | inc | #ifndef NEXA_SELF_LEARNING_CONSTANTS
#define NEXA_SELF_LEARNING_CONSTANTS
//timings (in microseconds) for preamble pulses over air.
#define PREAMBLE_HIGH 250
#define PREAMBLE_LOW 2500
#define PREAMBLE_LOW_MIN 2200 //allowed lower variation when detecting the low pulse length
#define PREAMBLE_LOW_MAX... | [
"dcollin@users.noreply.github.com"
] | dcollin@users.noreply.github.com |
94d1d3968794405cb07d0239aa07b7ffedd1887e | 30bdd8ab897e056f0fb2f9937dcf2f608c1fd06a | /contest/1542581317.cpp | 4ebdc229cb13f0c39b379b60c67a25f1acdf4df6 | [] | no_license | thegamer1907/Code_Analysis | 0a2bb97a9fb5faf01d983c223d9715eb419b7519 | 48079e399321b585efc8a2c6a84c25e2e7a22a61 | refs/heads/master | 2020-05-27T01:20:55.921937 | 2019-11-20T11:15:11 | 2019-11-20T11:15:11 | 188,403,594 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,433 | cpp | //#include "stdafx.h"
#include <cstdio>
#include <cstdlib>
#include <iostream>
#include <algorithm>
#include <iostream>
using namespace std;
//
//char str[5];
//bool fr(false), ls(false);
//int main()
//{
// cin >> str;
// int n;
// cin >> n;
// for (int i(0); i != n; ++i)
// {
// cha... | [
"harshitagar1907@gmail.com"
] | harshitagar1907@gmail.com |
bc82c4f15fd5e0cd2f6dac7536831bcb65e4566a | db84bf6382c21920c3649b184f20ea48f54c3048 | /validation/AlphaInteractions/AlphaInteractionAnalysis.cxx | 62b38549e2407567047f237816ad5ed549f696c8 | [] | no_license | liebercanis/MaGeLAr | 85c540e3b4c5a48edea9bc0520c9d1a1dcbae73c | aa30b01f3c9c0f5de0f040d05681d358860a31b3 | refs/heads/master | 2020-09-20T12:48:38.106634 | 2020-03-06T18:43:19 | 2020-03-06T18:43:19 | 224,483,424 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,143 | cxx | // C++ headers
#include <iostream>
#include <fstream>
#include <sstream>
#include <math.h>
#include <vector>
// CERN ROOT headers
#include <TROOT.h>
#include <TSystem.h>
#include <TCanvas.h>
#include <TLatex.h>
#include <TStyle.h>
#include <TF1.h>
#include <TH1F.h>
#include <TApplication.h>
#include <TFile.h>
#include... | [
"mgold@unm.edu"
] | mgold@unm.edu |
cca67078a98d5f6aabe6b419d67997261c06fa4c | e05b9a88b1fabe2b76139154f027bdffebb88763 | /src/render/Shader.cpp | 700a51017b3229a108baee789f03f991e1e3f3a1 | [] | no_license | JaronOrchard/idsc | ab188ae816fc05cdb557bfbd048000f7c17cf8de | 3a5df91fc07ba62fa563211bdaa3bde004f3dfea | refs/heads/master | 2021-01-22T18:18:23.999013 | 2015-02-11T21:03:19 | 2015-02-11T21:03:19 | 24,157,400 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,739 | cpp |
#include "Shader.h"
#include <string.h>
#include <iostream>
#include <fstream>
#include <streambuf>
Shader::Shader(int id) {
this->id = id;
}
int Shader::get_id() {
return id;
}
Shader * Shader::compile_from(char * v_file, char * f_file) {
int id = load_shaders(v_file, NULL, f_file);
return new Shad... | [
"phann92@gmail.com"
] | phann92@gmail.com |
67742ad0b07114cc08fc99168cec297907240fa0 | 88061c078a687620e53f413d9cee0645891e1d40 | /fitsGen/src/MeritFile2.cxx | d0331c21de017bcc8c4c6d0e1ece602a1c3f746b | [] | no_license | fermi-lat/ScienceTools-scons-old | 2b80b24220433fc951c7e12cb2935a3b6d5690aa | 1bc4e2dc8db28e87c4b97afb998ff1ce2fd770b8 | refs/heads/master | 2021-06-29T02:10:35.524126 | 2017-08-23T23:40:25 | 2017-08-23T23:40:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,922 | cxx | /**
* @file MeritFile2.cxx
* @brief Interface to merit files that uses ROOT directly.
* @author J. Chiang
*
* $Header$
*/
#include <cstdlib>
#include <iostream>
#include <sstream>
#include <string>
#include <stdexcept>
#include "TChain.h"
#include "TError.h"
#include "TEventList.h"
#include "TFile.h"
#include ... | [
""
] | |
e32f91ded45c0eb3f430f03062fae54a857e36a5 | d10b69c7ad20400c761053b178a30175d4161332 | /Render/RenderMaterial.cpp | 8dd460f28c0d105c85e1fabc4b58d31b0bc82488 | [] | no_license | epicabsol/aobaker | ceb78a8c1684a1fab9a35afcebdacd68529fb22d | 27ee061ff433e2a1956ba3646c1110b7b189186e | refs/heads/master | 2020-04-01T05:42:57.015964 | 2019-10-25T04:29:14 | 2019-10-25T04:29:14 | 152,916,648 | 1 | 1 | null | 2018-10-19T23:11:25 | 2018-10-13T21:38:46 | C++ | UTF-8 | C++ | false | false | 765 | cpp | #include "RenderMaterial.h"
RenderTexture** RenderMaterial::GetTextures() const
{
return this->Textures;
}
int RenderMaterial::GetTextureCount() const
{
return this->TextureCount;
}
RenderShader* RenderMaterial::GetShader() const
{
return this->Shader;
}
void RenderMaterial::SetTexture(RenderTexture* const textu... | [
"pokeboygarcia@gmail.com"
] | pokeboygarcia@gmail.com |
f5f64315746d47ba225f10b9e52b26ee2be559ee | fc51258b6b967133a4d419840ac1cd22d0819dfc | /src/edit.cc | 064ea7ade91d012469f176b973f9d51b2cfa3f85 | [] | no_license | iochoa/GeneComp | 414bb0ce0bdcca943f7d0171b78dcecca1bc6eaa | 7fbc027207fc49c9983e1c2c29188be3e181f1d0 | refs/heads/master | 2021-05-08T04:51:05.857214 | 2017-10-31T20:50:56 | 2017-10-31T20:50:56 | 108,455,867 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,356 | cc |
#include "edit.h"
#include <iostream>
#include <vector>
#include <iomanip>
#include "sam_block.h"
#define UINT32_MAX ((uint32_t) - 1)
#define INT32_MIN (-0x7fffffff - 1)
#define INT32_MAX (0x7fffffffL)
#define DEBUG false
#define VERIFY false
#define STATS false
using namespace std;
static uint32_t const EDITS = 3;... | [
"idoia.ochoa@gmail.com"
] | idoia.ochoa@gmail.com |
91eb1856bee6dcea0216cdfb06fccd4024013959 | c3e4456f1b473378d94031239cf7e925760dd346 | /src/live_wallpapers/include/live_wallpapers/live_wallpapers.hpp | f7a15c77078835f5e618894398a78a892e030b9a | [] | no_license | winmord/live_wallpaper | 5516461d95d58b75783117f17ee3919d7ba678ce | d21bb052a76bce8d2d0ac4d9c822b1639297dfef | refs/heads/master | 2022-09-18T03:27:31.063129 | 2020-06-02T22:15:43 | 2020-06-02T22:15:43 | 267,045,771 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 732 | hpp | #pragma once
#include <string>
#include <filesystem>
namespace live_wallpapers
{
enum class wallpaper_style
{
WPSTYLE_CENTER,
WPSTYLE_TILE,
WPSTYLE_STRETCH,
WPSTYLE_KEEPASPECT,
WPSTYLE_CROPTOFIT,
WPSTYLE_SPAN,
WPSTYLE_MAX
};
class live_wallpapers
{
public:
live_wallpapers() = default;
std::st... | [
"winmord@yandex.ru"
] | winmord@yandex.ru |
9ae08f7db27e988a9ff9843087bc47169a4cdd1c | 825395ff6d32cc81ad30ce48253a8601aaaec01d | /src/tests/moveonly.hpp | 1802795ab5a4211cb1fcdf40899f304ce48ced89 | [
"MIT"
] | permissive | degarashi/spine | 4fdd1a00c1561cd81c6c1dc4ec840cdd7e60a1d9 | c4de65cfbc6fd27c368b11d2b91153185ac5ba77 | refs/heads/master | 2020-04-09T20:08:45.867751 | 2019-09-07T11:41:24 | 2019-09-07T11:41:26 | 68,188,948 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,530 | hpp | #pragma once
#include "util.hpp"
#include <utility>
#include <algorithm>
#include <cereal/access.hpp>
namespace spi {
namespace test {
//! non-copyableな値
template <class T>
class MoveOnly {
public:
using value_t = T;
private:
value_t _value;
// MoveOnlyがネストされていた場合にget()で一括除去
template <cl... | [
"slice013@gmail.com"
] | slice013@gmail.com |
2821dc5ac43c862f7038731089feb9a8f377139e | d630eee8e231aa9d06cae22d0ff8095eb66895ef | /vendor/samsung/packages/apps/SBrowser/src/content/browser/loader/resource_loader.cc | d942879343cc1cedc115788b82145421ca6040d8 | [
"BSD-3-Clause"
] | permissive | wangyx0055/gh_note4_platform-4.4.4 | f3941560ea0ad737b3ef11b572c00c4ff866eab5 | 4b5584881021fb80158162288c1ad99f2b8c5134 | refs/heads/master | 2023-08-31T19:15:20.313492 | 2017-01-24T08:52:56 | 2017-01-24T08:52:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 23,437 | 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 "content/browser/loader/resource_loader.h"
#include "base/command_line.h"
#include "base/message_loop/message_loop.h"
#include "base/metrics... | [
"g9313716@yuntech.edu.tw"
] | g9313716@yuntech.edu.tw |
632051db38be94fe6e2a036c6766a694fd35a563 | a01eeb40fc673490f1efb579dc620a9c9caa65b7 | /M5Stack-MLX90640-Thermal-Camera.ino | 190ea4a1edc1fad105d7c54815b63d71e12a3f9b | [] | no_license | kidkid168/M5Stack-MLX90640-Thermal-Camera | 6c09e23ee746cea4ae48f5d0e6c551224cd54c2e | 5a5114f86c7b7a58a7397102a124cb75341a9005 | refs/heads/master | 2020-03-24T18:36:02.649743 | 2018-06-24T09:30:47 | 2018-06-24T09:30:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,103 | ino | // update 3 :mirror image
// reverseScreen=true/false, turn=front camera, false=Selfie
/*
Read the temperature pixels from the MLX90640 IR array
By: Nathan Seidle
SparkFun Electronics
Date: May 22nd, 2018
License: MIT. See license file for more information but you can
basically do whatever you want with thi... | [
"noreply@github.com"
] | noreply@github.com |
1032a24fc0a4e6d026949eb1c6b3bd09950511b7 | bf6f17c788522bf51ba6f3317e83b05aeff61e29 | /leet61-80/70.ClimbingStairs.cpp | 9bd44291f8101f4834225660dc0ef8168d44a4bc | [] | no_license | wshwbluebird/LC16 | e73616f8352d0375adc92f2a7dc2b801e994f70c | c099aa90e8c361fdb243e07c630d298edf8f870e | refs/heads/master | 2020-04-06T06:55:27.237668 | 2016-09-03T07:54:28 | 2016-09-03T07:54:28 | 65,088,470 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 444 | cpp | ////
//// Created by wshwbluebird on 16/8/18.
////
//
//#include <iostream>
//using namespace std;
//
//class Solution {
//public:
// int climbStairs(int n) {
// int dp[n+1];
// dp[0] = 1;
// dp[1] = 1;
// for (int i = 2; i <= n ; ++i) {
// dp[i] = dp[i-1]+dp[i-2];
// }
... | [
"wshwbluebird@outlook.com"
] | wshwbluebird@outlook.com |
e552c2c5d76fc6e1555f2eb68caf7b5c9f6caa6f | be3d301bf8c502bb94149c76cc09f053c532d87a | /include/GafferSceneBindings/SceneAlgoBinding.h | 8c12bf8b40eb8b6fa0f4af00065e8d96e4e534d2 | [
"BSD-3-Clause"
] | permissive | ljkart/gaffer | 28be401d04e05a3c973ef42d29a571aba6407665 | d2ce0eb7134a33ceee375d0a3676129a9bdcfbc6 | refs/heads/master | 2021-01-18T08:30:19.763744 | 2014-08-10T13:48:10 | 2014-08-10T13:48:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,086 | h | //////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2014, Image Engine Design Inc. All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// ... | [
"thehaddonyoof@gmail.com"
] | thehaddonyoof@gmail.com |
9e586f61928244f27ed3a76f99cf0ecde85a05f6 | 488fec9ae3eaeb8c6e2f20a77928fcd510185e98 | /matrix.h | ca90854eb53de2597bc7c6a778f055534c0ead83 | [] | no_license | Cheetos/CIMAT-RRT | 07cb75b9f8c503a463becff292e27f91031d8282 | 2ba5a92f858fd87b8caa0a686c39ab1d4853ccbe | refs/heads/master | 2020-04-01T00:24:21.869794 | 2018-10-12T04:50:26 | 2018-10-12T04:50:26 | 152,695,386 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,397 | h | #ifndef MATRIX_H
#define MATRIX_H
#include <iostream>
#include <iomanip>
#include <fstream>
#include <cmath>
using namespace std;
template <class T>
class CArray
{
private:
T *data;
int size;
public:
CArray()
{
data = NULL;
size = 0;
... | [
"dea_zx@yahoo.com.mx"
] | dea_zx@yahoo.com.mx |
459295ba4571020a197819cebc65d5005a7e59a7 | 1e757caafb1bb6a741c78f4973c7293f6ae9e3a3 | /CallBackTest.cpp | f63cf91bd76bf4cf6deebe795afd126f15c3f775 | [] | no_license | aaa782544811/aaatest | 3658b915354e205f09a30042153ff51a59ed1a07 | 67f6b4021d3307e6148df14645425fe1bb040871 | refs/heads/master | 2022-09-23T18:25:43.071936 | 2020-06-05T00:57:19 | 2020-06-05T00:57:19 | 269,497,124 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,418 | cpp |
// CallBackTest.cpp : 定义应用程序的类行为。
//
#include "stdafx.h"
#include "CallBackTest.h"
#include "CallBackTestDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
// CCallBackTestApp
BEGIN_MESSAGE_MAP(CCallBackTestApp, CWinApp)
ON_COMMAND(ID_HELP, &CWinApp::OnHelp)
END_MESSAGE_MAP()
// CCallBackTes... | [
"noreply@github.com"
] | noreply@github.com |
27fd038cd39adf30712b6f430f15341ac1c10e97 | 728e57a80995d7be98d46295b780d0b433c9e62a | /src/dictionary/user_dictionary_util.h | 09215eacecccd0b07182e57fb21124607201e6c9 | [
"Apache-2.0",
"MIT",
"BSD-3-Clause",
"GPL-1.0-or-later"
] | permissive | SNQ-2001/Mozc-for-iOS | 7936bfd9ff024faacfd2d96af3ec15a2000378a1 | 45b0856ed8a22d5fa6b4471548389cbde4abcf10 | refs/heads/master | 2023-03-17T22:19:15.843107 | 2014-10-04T05:48:29 | 2014-10-04T05:48:42 | 574,371,060 | 0 | 0 | Apache-2.0 | 2022-12-05T06:48:07 | 2022-12-05T06:48:06 | null | UTF-8 | C++ | false | false | 7,688 | h | // Copyright 2010-2014, Google Inc.
// 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 of condit... | [
"kishikawakatsumi@mac.com"
] | kishikawakatsumi@mac.com |
fd2f98f69fcef88e50cdab12e607138cafe6a642 | 7c9842e9cbd879d4d06d64c17eb1a62167673504 | /GLFWtest/LightSpot.cpp | 340200b625e0d643709352e5e383f7a875523609 | [] | no_license | hkzhch/GLFWtest | 928b4b2a4e47a8466fce92119632894e4ab93e71 | 0dc86f060b7e8a076b325f42c0d1eec45af1cd78 | refs/heads/master | 2022-12-15T10:08:10.447279 | 2020-09-09T04:14:53 | 2020-09-09T04:14:53 | 294,000,426 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 440 | cpp | #include "LightSpot.h"
LightSpot::LightSpot(glm::vec3 _position, glm::vec3 _angles, glm::vec3 _color) :
position(_position),
angles(_angles),
color(_color)
{
UpdateDirection();
}
void LightSpot::UpdateDirection()
{
direction = glm::vec3(0.0f, 0.0f, 1.0f);
direction = glm::rotateZ(direction, angles.z);
directio... | [
"c-zhang@GLASGOW"
] | c-zhang@GLASGOW |
a5dbb66f575f7b0d68c8c9fcf93204f246decefa | 1f3019ccf04713f4c0be87a883d38e5720225525 | /mp5/quadtree.h | 7d0b03818c4b9817f1f3cb5ced1247616617de3e | [] | no_license | liuruoqian/CS225 | 8aabdc199e0e95ff7410ded1e43fa701eb4bcb86 | f4df5ad4c7808d4ebce604d7eb48484318abd081 | refs/heads/master | 2021-01-09T05:46:33.096739 | 2017-02-12T22:29:04 | 2017-02-12T22:29:04 | 80,801,209 | 0 | 1 | null | 2017-02-12T20:33:20 | 2017-02-03T05:49:21 | null | UTF-8 | C++ | false | false | 2,608 | h | /**
* @file quadtree.h
* Quadtree class definition.
* @date Spring 2008
*/
#ifndef QUADTREE_H
#define QUADTREE_H
#include "png.h"
/**
* A tree structure that is used to compress PNG images.
*/
class Quadtree
{
public:
Quadtree(); /**< The Quadtree default constructor */
/**<The Quadtree construc... | [
"ruoqianliu@wirelessprv-10-195-0-65.near.illinois.edu"
] | ruoqianliu@wirelessprv-10-195-0-65.near.illinois.edu |
fbcc86b111512fa2b068ad1128f4af6ba990427b | 6c7cfedb2a354d0da1118ee1660503f6827c9193 | /HalfAdder.cpp | 284c6ed80ae0b7f50a55ad24451160e52aad7cab | [] | no_license | Akhil423/GreenBits | 2fa242f1ab18346d5c499f6105cd3de69dfe128d | 5b1bb9a4a944412231b4b5bff154e1f1e4ab833f | refs/heads/master | 2021-01-21T16:32:12.673347 | 2017-10-13T10:27:30 | 2017-10-13T10:27:30 | 95,407,811 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 302 | cpp |
#include<iostream>
using namespace std;
int fun(int c,int d){
int sum,ca;
while(d!=0){
sum=c^d;
ca=c&d;
c=sum;
d=ca<<1;
cout<<d;
}
return sum;
}
int main(){
int a,b;
cin>>a>>b;
int sum=fun(a,b);
cout<<sum;
return 0;
}
| [
"noreply@github.com"
] | noreply@github.com |
b60132fbac7b0cad2fadfcf7615b3da91ffe88ba | 4eaeb089f4ce242217618be337cf6272ee9ddaf5 | /PatCodeRepo/PatBasic/Basic1090.cpp | be2b5ff21b2fb03955853d1e7ebab8f6f8ad9117 | [] | no_license | luyiming112233/PatCodeRepo | dc45d57659fdfed4bf230e3a13dd731ccbe2bf20 | 2b8c4363b363563738bd9c63171ed51c9af32f84 | refs/heads/master | 2020-06-27T16:53:27.702734 | 2019-09-09T00:57:26 | 2019-09-09T00:57:26 | 200,001,771 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 795 | cpp | #include<cstdio>
#include<vector>
using namespace std;
#define ssize 100010
#define gsize 1010
int main() {
vector<vector<int> > v(ssize);
int N, M, K,a,b,thing[ssize],G[gsize];
bool OK;
scanf("%d %d", &N, &M);
for (int i = 0; i < N; i++) {
scanf("%d %d", &a, &b);
v[a].push_back(b);
v[b].push_back(a);
}
... | [
"740674785@qq.com"
] | 740674785@qq.com |
962a1615ed539ded89efdcbb04cc5b22e17a6385 | 12bde528e9fdae91a3eb29048761946afdd9c393 | /Chapter 09/CAPTCHA/main.cpp | 0630887b633053ea37a01c76d3d31322aaaf5f0e | [] | no_license | alvarohenriquecz/Algorithms_C-Plus-Plus_Part1 | 9b58aa497b63c65d9be55d0a6642c109f86c32d9 | 4f0db1fb8dd4cef8c800952bcad862f0bc53a802 | refs/heads/master | 2022-11-14T08:39:41.954377 | 2020-07-04T03:25:21 | 2020-07-04T03:25:21 | 274,179,658 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 559 | cpp | #include <iostream>
#include <ctime>
using namespace std;
string GenerateCaptcha(int n)
{
time_t t;
srand((unsigned) time(&t)); //all characters
char * chrs = "аbсdеfghіjklmnорԛrѕtuvwxуzABCDEFGHI"
"JKLMNOPQRSTUVWXYZ0123456789";
// Generate n characters from above set and
// add these ch... | [
"alvarohenriquecz@gmail.com"
] | alvarohenriquecz@gmail.com |
e3eead3333d97a0c3eb09f0542131cc3f8dc761c | 9d0c1da53da9e60d4a891d7edb7a02c31c8d26b9 | /kdgantt/KDGanttXMLTools.h | f375c4d0765b4a0a1d327bddfadac1a4935bc9bd | [] | no_license | serghei/kde3-kdepim | 7e6d4a0188c35a2c9c17babd317bfe3c0f1377d2 | a1980f1560de118f19f54a5eff5bae87a6aa4784 | refs/heads/master | 2021-01-17T10:03:14.624954 | 2018-11-04T21:31:00 | 2018-11-04T21:31:00 | 3,688,187 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 4,725 | h | /* -*- Mode: C++ -*-
$Id: KDGanttXMLTools.h 367698 2004-12-01 19:34:06Z mueller $
KDGantt - a multi-platform charting engine
*/
/****************************************************************************
** Copyright (C) 2002-2004 Klarälvdalens Datakonsult AB. All rights reserved.
**
** This file is part ... | [
"serghei.amelian@gmail.com"
] | serghei.amelian@gmail.com |
4c07ec1884c38760d7d7db3e38df11040c1797f2 | 557f5a9d48392ef804705aad3edc8e170064ac0c | /support.cpp | a5128a23b1caa032d9fbc5aac3fded8266a9700c | [] | no_license | yknnnnft/cppstudy | bdf9097e22ca5210f1c54ff76003b47d1993102c | d8e58e1da7be56e6983c1e65109f4f7c625a963a | refs/heads/master | 2021-01-19T10:56:20.788297 | 2017-04-19T09:19:25 | 2017-04-19T09:19:25 | 87,917,605 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 129 | cpp | #include <iostream>
extern int count;
void write_extern(void)
{
std::cout << "count is: " << count << std::endl;
}
| [
"li_re@worksap.co.jp"
] | li_re@worksap.co.jp |
53627ac92de15e0b595108aef92fe7afd6bff7df | 845e3e104ec4af1476f082f070e5aee7e55f53ee | /ChiaVaTri/SoFibonaciThuN.cpp | 74396c6854b209518a6bab9a4abb3cc12bbd9e0e | [] | no_license | hoangnv2810/Algorithm | 96000ede09269adb0ac8d8fa598b158997fd4286 | cdc5c7708e63f12ed01a84b3de4fec7585b5070a | refs/heads/main | 2023-08-23T08:44:07.510186 | 2021-09-28T13:19:35 | 2021-09-28T13:19:35 | 411,252,789 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 939 | cpp | #include<bits/stdc++.h>
using namespace std;
const long long mod = 1e9+7;
void Mul(long long x[2][2], long long y[2][2], long long a[2][2]){
long long temp[2][2];
for(int i = 0; i < 2; i++){
for(int j = 0; j < 2; j++){
long long res = 0;
for(int k = 0; k < 2; k++){
... | [
"hoangnv2810@gmail.com"
] | hoangnv2810@gmail.com |
15e6290733f53a48038fef467274692959497b44 | c8b39acfd4a857dc15ed3375e0d93e75fa3f1f64 | /Engine/Source/ThirdParty/CEF3/cef_source/libcef_dll/ctocpp/zip_reader_ctocpp.h | 42ddcd8e092a5c12287c443f868963d881a1c0eb | [
"BSD-3-Clause",
"MIT",
"LicenseRef-scancode-proprietary-license"
] | permissive | windystrife/UnrealEngine_NVIDIAGameWorks | c3c7863083653caf1bc67d3ef104fb4b9f302e2a | b50e6338a7c5b26374d66306ebc7807541ff815e | refs/heads/4.18-GameWorks | 2023-03-11T02:50:08.471040 | 2022-01-13T20:50:29 | 2022-01-13T20:50:29 | 124,100,479 | 262 | 179 | MIT | 2022-12-16T05:36:38 | 2018-03-06T15:44:09 | C++ | UTF-8 | C++ | false | false | 1,677 | h | // Copyright (c) 2017 The Chromium Embedded Framework Authors. All rights
// reserved. Use of this source code is governed by a BSD-style license that
// can be found in the LICENSE file.
//
// ---------------------------------------------------------------------------
//
// This file was generated by the CEF translato... | [
"tungnt.rec@gmail.com"
] | tungnt.rec@gmail.com |
b0a0d13cfddbc3fd234c99cf2e4752d6ca7ded05 | 0d0e78c6262417fb1dff53901c6087b29fe260a0 | /live/src/v20180801/model/DeleteLiveWatermarkRequest.cpp | 98c89d3c4baeadc71804d23ac67f015331a7dc1f | [
"Apache-2.0"
] | permissive | li5ch/tencentcloud-sdk-cpp | ae35ffb0c36773fd28e1b1a58d11755682ade2ee | 12ebfd75a399ee2791f6ac1220a79ce8a9faf7c4 | refs/heads/master | 2022-12-04T15:33:08.729850 | 2020-07-20T00:52:24 | 2020-07-20T00:52:24 | 281,135,686 | 1 | 0 | Apache-2.0 | 2020-07-20T14:14:47 | 2020-07-20T14:14:46 | null | UTF-8 | C++ | false | false | 1,937 | cpp | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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
... | [
"jimmyzhuang@tencent.com"
] | jimmyzhuang@tencent.com |
39cdc14cd274e8dc8abb0bbbc5a66741848b405b | faeca7997c9bae0ee9c3597e42b27a96f37f5dbe | /Chapter10/Ch10_Exc08/Ch10_Exc08.cpp | 596d907c6c67beeb192fdfab5f16af7401ba11d8 | [] | no_license | dimpellos/Cplusplus_Primer_- | c726898c5699a349eb3158c724d2734fe4a3ae2b | 756cb1684ea62d9217f769e8e49984da1db37972 | refs/heads/master | 2020-07-25T21:49:03.229883 | 2019-10-18T12:35:36 | 2019-10-18T12:35:36 | 208,430,960 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 345 | cpp | #include <iostream>
#include "list.h"
void addage(Item& item);
int main()
{
List l;
Item i = { "shaolinngjiang", 24 };
l.additem(i);
int n;
n = l.itemcount();
std::cout << n << " items in list" << std::endl;
l.visit(addage);
std::cout << "Chapter 10 Excercise 8.\n";
return 0;
}
void addage(Item& item)
{
i... | [
"dimpellos@gmail.com"
] | dimpellos@gmail.com |
975d505738bba091bb865c30db3a96ab09e6da58 | 982f80970ddfd1ad2b9aa94eef5b065c00984e30 | /DirectionalLight.h | 631f6a0534a4a7fbdd9010ed1e2563424bea9b58 | [] | no_license | AbuBakr62/TheLabyrinth | bf5b4420bee02ffa944a0fb4b1f82ecbbcb5411e | 045cc06c11d1d954bf6c1990ca2e2a076068436d | refs/heads/main | 2023-03-01T16:45:53.201494 | 2021-02-08T12:07:04 | 2021-02-08T12:07:04 | 337,063,381 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 612 | h | #pragma once
#include "Common.h"
#include "Light.h"
namespace Library
{
class DirectionalLight : public Light
{
RTTI_DECLARATIONS(DirectionalLight, Light)
public:
DirectionalLight(Game& game);
virtual ~DirectionalLight();
const XMFLOAT3& Direction() const;
const XMFLOAT3& Up() const;
const XMFLOAT3& ... | [
"73251332+AbuBakr62@users.noreply.github.com"
] | 73251332+AbuBakr62@users.noreply.github.com |
d00290d606343d2a95fd9d55a904de18a6a44c57 | ee6603006365082c68dd7c58c0cd441577b09c87 | /firmware/src/train.h | bcac9099dc9706652f993be5dc5b9704ad65998f | [] | no_license | pete-j-turnbull/anpr-gate-cam | 2595b1e0d579eb7183242b4938ef50ce2c4379ba | 6c7e731c0eff25dc4af226a6a645e38c31c74d41 | refs/heads/master | 2022-11-09T13:13:24.748088 | 2020-06-26T01:39:00 | 2020-06-26T01:39:00 | 258,886,441 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,728 | h | #ifndef TRAIN_H
#define TRAIN_H
#include <opencv2/highgui.hpp>
#include <opencv2/imgproc.hpp>
#include <opencv2/core.hpp>
#include <opencv2/ml.hpp>
#include "feature.h"
#include "utils.h"
#include <iostream>
using namespace cv;
using namespace std;
using namespace cv::ml;
bool train(string save_path, string train_p... | [
"pete.j.turnbull@gmail.com"
] | pete.j.turnbull@gmail.com |
689c3f3fa0adacc05b9df8421270ebf24c22f86a | 90aa2c05707787660b3fc69d5f3fd36dfea5dde4 | /C++98/idioms/sfinae.cpp | bfa8c468a31d44d3d1a7e9963c6647b5b06a4433 | [] | no_license | Olvv/Cpp | 36fad81746f0adc9eb968ac1925de52ca9a65bd8 | 53d8f6831216b59d82f34c68eb82e509708ce31c | refs/heads/master | 2023-01-09T19:05:15.446745 | 2020-11-12T17:41:08 | 2020-11-12T17:41:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,410 | cpp | /*
* References:
*
* [wikipedia] Substitution failure is not an error
* http://en.wikipedia.org/wiki/Substitution_failure_is_not_an_error
*
* [20191104alhadi] Substitution Failure is Error and Not An Error
* https://medium.com/@MKahsari/sfinae-step-by-step-67e6ef6154da
*
* [20180518boccara] How t... | [
"Bart.Vandewoestyne@telenet.be"
] | Bart.Vandewoestyne@telenet.be |
3716c52ff0b9975779e67eb24f9ad9a76fcd9c2b | 033e1e353d1ff07c8680e0be7c83081906f4fcdb | /RideTheFlow/src/math/Vector3.cpp | ea15981a10777449ddc6b4b70715041a08d4d732 | [] | no_license | KataSin/KozinKataoka | 572d897cdb777b241a2848ff18c691c7f10d7d31 | 1b15b3a12364e34561c042f3b97b99d9a4482852 | refs/heads/master | 2021-01-11T18:21:41.396200 | 2017-07-06T15:00:10 | 2017-07-06T15:00:10 | 69,627,602 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 7,164 | cpp | #include "Vector3.h"
#include "Math.h"
#include <cmath>
#include <sstream>
Vector3 Vector3::Zero = Vector3(0, 0, 0);
Vector3 Vector3::One = Vector3(1, 1, 1);
Vector3 Vector3::Up = Vector3(0, 1, 0);
Vector3 Vector3::Down = Vector3(0, -1, 0);
Vector3 Vector3::Right = Vector3(1, 0, 0);
Vector3 Vector3::Left = Vector3(-1,... | [
"ktok223@gmail.com"
] | ktok223@gmail.com |
415a2fa28d2da569e6fa440a468d55261c1be308 | b61c99eb76422623fdfff5d5cfb01b1d95afc4bf | /mini-server v2.0/EventLoop.cpp | aed197d6abe0fe7f634c580554a64dfface6f902 | [] | no_license | Jaiss123/Myserver-mini | 0b943d84573985da6452355002280f8b424bd031 | d3296d22cf63095b73ff9b70227af5894d0348b6 | refs/heads/master | 2020-06-08T06:48:36.526359 | 2019-07-08T09:34:24 | 2019-07-08T09:34:24 | 193,180,269 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,009 | cpp |
#include <sys/eventfd.h>
#include "EventLoop.h"
#include "Channel.h"
#include "Epoll.h"
#include "TimerQueue.h"
#include "Timestamp.h"
#include "Task.h"
#include "CurrentThread.h"
#include <iostream>
using namespace std;
EventLoop::EventLoop()
:_quit(false)
,_callingPendingFunctors(false)
,_pPoller(new ... | [
"noreply@github.com"
] | noreply@github.com |
f4e378bd654999398471096dcce40f2bff5b7389 | dcc0edb1da8ce822da2a43aa7ba5de7743e8c75c | /CapaLogica/FachadaLogica.cpp | e1d612e2c576c37c1d1000686fa5640136bbfc82 | [] | no_license | mtorresdemello/ObligatorioP4 | 72a6ae48398cbf06e78569444f7d1116c9fca5fb | abbe22521ec61aa4e5b331978aa02a023f7b248a | refs/heads/master | 2020-05-18T03:46:15.632907 | 2019-04-29T22:44:59 | 2019-04-29T22:44:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,892 | cpp | #include "FachadaLogica.h"
FachadaLogica::FachadaLogica()
{
Brujas DiccioBrujasDelSistema = Brujas();
}
void FachadaLogica::R1_AltaBruSup(Bruja * nuevaSuprema, bool &hayError1){
//hayError1 = La bruja (suprema) a ingresar ya existe?
hayError1 = false;
if (DiccioBrujasDelSistema.Member(nuevaSupre... | [
"noreply@github.com"
] | noreply@github.com |
d3832d90c6bf934e7ddd7d01c4961436eb6883c7 | 5fef0c812a535c1a7597bb6e1f976a36f92a5484 | /138. 复制带随机指针的链表.cpp | 9bfec187747719f4e8f476db84ae26af0a6285b4 | [] | no_license | hzh0/LeetCode | c18ca70782365f21eccc1914f3c96d78ec7a0709 | 884b1e1412999819e5280f3008fe10a9ebc12bca | refs/heads/master | 2023-03-12T03:15:03.302125 | 2021-02-25T11:12:43 | 2021-02-25T11:12:43 | 306,652,491 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,066 | cpp | /*
// Definition for a Node.
class Node {
public:
int val;
Node* next;
Node* random;
Node(int _val) {
val = _val;
next = NULL;
random = NULL;
}
};
*/
class Solution {
public:
Node* copyRandomList(Node* head) {
if (head == nullptr) return nullptr;
aut... | [
"2505333024@qq.com"
] | 2505333024@qq.com |
ca89cba60c45fd52df4e6bb8df7b51945b4624fb | 6b40e9dccf2edc767c44df3acd9b626fcd586b4d | /NT/public/internal/com/inc/ilgwrta.h | 2ba12129521177b3b19814e0eae7a8c52a2b0437 | [] | 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 | 2,117 | h | // Copyright (C) 1995-1999 Microsoft Corporation. All rights reserved.
// -----------------------------------------------------------------------
// Microsoft Distributed Transaction Coordinator (Microsoft Confidential)
// @doc
// @module ILOGWRTA.H | Header for interface <i ILogWriteAsynch>.<nl><nl>
// Usage:<n... | [
"seta7D5@protonmail.com"
] | seta7D5@protonmail.com |
32562ec1a13bc7801868f7f916de202908f44c99 | 0852bf2f1357f4d8fd5bcdef15b0f6b60b8a31aa | /src/compat/glibc_compat.cpp | db96e0758eefff42c9b38e2d035ee15e2d442fd9 | [
"MIT"
] | permissive | CoinBuild/gdc | cd59e47febdd477653acca75dda9458337420ca1 | dc294039205746cf66aaef6655bc032a3bda1bfd | refs/heads/master | 2020-03-18T16:38:08.463099 | 2018-04-24T16:29:35 | 2018-04-24T16:29:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 828 | cpp | // Copyright (c) 2009-2014 The Bitcoin developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#if defined(HAVE_CONFIG_H)
#include "config/gdc-config.h"
#endif
#include <cstddef>
#if defined(HAVE_SYS_SELECT_H)
#include <sys... | [
"guardiancoindev@gmail.com"
] | guardiancoindev@gmail.com |
d297c943a222245107fd42132c2506b9c6385f2e | ae31ef39206bb73f700448119bacb690601b6ad6 | /Algo/2020-10/1007/jiyoung_homework.cpp | 624afa2690d80393a18c7905879cb6fceca312a8 | [] | no_license | LIKESEAL/LikeSeal-Algorithm-Study | a52eaa629d435a6103e4a30fe378a95634111ff2 | 8c18d3966f9a880b316c3c02c6653b9328a900bb | refs/heads/master | 2023-04-09T10:35:51.468376 | 2021-04-04T16:02:56 | 2021-04-04T16:02:56 | 335,230,396 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,561 | cpp | /*
baekjoon 2151 : 거울 설치
solved by JY
DATE : 2020.10.09
bfs를 이용하여 풀이
*/
#include <algorithm>
#include <cstdio>
#include <iostream>
#include <queue>
#include <vector>
#define min(a, b) a > b ? b : a
#define INF 1e9
using namespace std;
int N;
char H[52][52] = {0,};
int mirror[52][52][4] = {0,}; // mirror[A][B][C] = D ... | [
"noreply@github.com"
] | noreply@github.com |
74238fd1efff05c9396b64c1681ac6191920dd20 | bfc0a74a378d3692d5b033c21c29cf223d2668da | /unittests/libtests/faults/TestFault.cc | 054dcc62a95b5956af85d7ba2eee62ada8293f05 | [
"MIT"
] | permissive | rishabhdutta/pylith | b2ed9cd8039de33e337c5bc989e6d76d85fd4df1 | cb07c51b1942f7c6d60ceca595193c59a0faf3a5 | refs/heads/master | 2020-12-29T01:53:49.828328 | 2016-07-15T20:34:58 | 2016-07-15T20:34:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,995 | cc | // -*- C++ -*-
//
// ----------------------------------------------------------------------
//
// Brad T. Aagaard, U.S. Geological Survey
// Charles A. Williams, GNS Science
// Matthew G. Knepley, University of Chicago
//
// This code was developed as part of the Computational Infrastructure
// for Geodynamics (http://... | [
"baagaard@usgs.gov"
] | baagaard@usgs.gov |
2b92d6286a34aef82e2932e24546db6e780a2080 | 9c95d0c7d909af6c48b2614dbf5b4e46b406c594 | /shockwave/tools.h | 6c12739f764edbae324c66507880e345a5fda137 | [] | no_license | haipengyu1013/ShockWaveDemo | b97b05a13a4ce5e80b1fa9cdbe7fda20257f4f5f | cacc96ec50eaab5b8b583addd7be09de4d1351c0 | refs/heads/master | 2020-03-17T09:20:33.057969 | 2018-05-15T06:41:12 | 2018-05-15T06:41:12 | 133,470,706 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 251 | h | #ifndef TOOLS_H
#define TOOLS_H
#include <QObject>
class Tools : public QObject
{
Q_OBJECT
public:
Tools(QObject *parent = 0);
public:
Q_INVOKABLE QString readFile(const QString &fileName) const;
};
#endif // TOOLS_H
| [
"noreply@github.com"
] | noreply@github.com |
38d40542337ce2f9e1c0ef185f3c32249b05f38d | 4ed5b25a3015e5a13ca1ff3992c00146ffccd213 | /abc/abc126/a.cpp | 6fc9a3dbf50d1daf91bcc0efa3b31728150a47e3 | [] | no_license | Stealthmate/atcoder | 32284557eca524aafa312098132f583753e3d05c | 6659dbde59d90f322f04751aaddc4ecb79e98eb8 | refs/heads/master | 2023-02-11T10:48:51.194510 | 2023-01-29T04:47:32 | 2023-01-29T04:47:32 | 192,467,091 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 154 | cpp | #include<bits/stdc++.h>
using namespace std;
int main() {
int n, k;
string s;
cin >> n >> k >> s;
s[k - 1] += 'a' - 'A';
cout << s << endl;
}
| [
"stealthmate1233@gmail.com"
] | stealthmate1233@gmail.com |
c135e0340752fb0ffb2694a8c174a75c3326c7be | d01911c430c472e85ad8e9ece26ab008ed1f8160 | /include/gcontainer.H | 2145b0b823610ccc5633bd4d66037080e7786b30 | [] | no_license | andresarcia/binder | 1de95a95f29a85f0a77d1c7c8431191d398cf862 | 809c726947254da7383fa7b01cc62b8d82d1f069 | refs/heads/master | 2021-01-09T05:42:20.425502 | 2017-02-03T09:40:35 | 2017-02-03T09:40:35 | 80,815,842 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,990 | h | # ifndef GCONTAINER_H
# define GCONTAINER_H
# include <stdlib.h>
# include "locator_calls.H"
# include <pthread.h>
# include <fstream>
# include <base_message_header.H>
# include <remote_multiserver_point.H>
# include <useMutex.H>
# define PRINT_PORT(the_port, type) {\
FILE * port_log = fopen("p... | [
"andres.arcia@gmail.com"
] | andres.arcia@gmail.com |
00e0211d93f6be5a7f30996ae5be8c5e1df95c80 | ebe7339ee948c4647951057bb19e62acccd3d0dc | /inline/inline.cpp | 985ad55987293d41937824b8a83287820a467bc7 | [
"Apache-2.0"
] | permissive | en6yu/src | 1c8904958556dab863f2b68bc15078e4834cb253 | 715756a521df8ce700d4ba3f2df42bdeb9bed945 | refs/heads/main | 2023-06-30T03:36:29.323700 | 2021-07-25T14:52:26 | 2021-07-25T14:52:26 | 388,852,032 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,333 | cpp | #include<sstream>
#include<iostream>
#include<string>
using namespace std;
/**
* @brief inline use
* @author
* @param
* @return
* @note
* 1.inline 必须和函数定义在一起,只在声明中是不行的。
* 2.类成员函数有两种内联方式 隐式内联和显示内联
* 3.代码冗长和有循环时不宜用内联
* 4.虚函数和内联函数 只有知道特定调用才能用虚函数+内联 多态时就不能用内联+虚函数
*/
class CInline
{
private:
... | [
"1044189678@qq.com"
] | 1044189678@qq.com |
78f05a9c4cc3d71a3c2d8f6807cddf9432e7c6ce | 5a49b5da44fa9c3a585febcf3d975197d872efc9 | /Tools/SGP_WorldEditor/NewMapConfigDlg.cpp | 168a140dfa34125fec52f1bf271bde7be41af8f0 | [
"MIT"
] | permissive | phoenixzz/SGPEngine | 1ab3de99fdf6dd791baaf57e029a09e8db3580f7 | 593b4313abdb881d60e82750b36ddda2d7c73c49 | refs/heads/master | 2021-01-24T03:42:44.683083 | 2017-01-24T04:39:43 | 2017-01-24T04:39:43 | 53,315,434 | 4 | 2 | null | null | null | null | GB18030 | C++ | false | false | 3,763 | cpp | // NewMapConfigDlg.cpp : 实现文件
//
#include "stdafx.h"
#include "WorldEditor.h"
#include "NewMapConfigDlg.h"
#include "afxdialogex.h"
#include "HelpFunction.h"
#include "WorldEditorConfig.h"
#include ".\Render Interface\WorldEditorRenderInterface.h"
#include "..\SGPLibraryCode\SGPHeader.h"
#include "NewMapLoadingDlg.h"... | [
"phoenixzz@sina.com"
] | phoenixzz@sina.com |
2924c68cc5ee7692b262adc9da37520f2804c276 | 0c4bd1b977cc714a8a6b2839f51c4247ecfd32b1 | /C++/nnForge/nnforge/cuda/sparse_fully_connected_1x1_layer_tester_cuda.h | 58ec7a2155caf652dfb505fd11c359cc1a41cb4f | [
"Apache-2.0"
] | permissive | ishine/neuralLOGIC | 281d498b40159308815cee6327e6cf79c9426b16 | 3eb3b9980e7f7a7d87a77ef40b1794fb5137c459 | refs/heads/master | 2020-08-14T14:11:54.487922 | 2019-10-14T05:32:53 | 2019-10-14T05:32:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,859 | h | /*
* Copyright 2011-2016 Maxim Milakov
*
* 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 applic... | [
"the.new.horizon@outlook.com"
] | the.new.horizon@outlook.com |
8c59953d09d8977d52af8398f95aeb175665312e | 342fa565a78e3a935d9ac643c749a05357a3fc9c | /src/tcp/socket.cpp | 1b6748a1019932ab0b2f9cc81a7dc9562fe6dcff | [] | no_license | xxyyboy/php-flame | 071dd698677c527066e9323c935962d869b5de03 | 220e3e8daf10c5b65c66c3b948417ce2e9868bdc | refs/heads/master | 2020-04-20T10:37:35.865346 | 2019-01-18T12:57:21 | 2019-01-18T12:57:21 | 168,794,338 | 0 | 0 | null | 2019-02-02T04:33:59 | 2019-02-02T04:33:59 | null | UTF-8 | C++ | false | false | 3,533 | cpp | #include "../controller.h"
#include "../coroutine.h"
#include "socket.h"
namespace flame::tcp {
void socket::declare(php::extension_entry& ext)
{
php::class_entry<socket> class_socket("flame\\tcp\\socket");
class_socket
.property({"local_address", ""})
.property({"remote_address", ""})
.me... | [
"terry.wuhao@gmail.com"
] | terry.wuhao@gmail.com |
f043ba63680be1077d93ea03f0fb1d9a006443a1 | e2b305de68d93f078b5b0fdb03d3e39537691895 | /Trees/SumRootToLeafNumbers.cpp | 1bfe763131804e9c681e2a958fe03d41c2aae829 | [] | no_license | Rishabh-Thapliyal/interviewbit | ceb6f0d1544515ea587a0b678052ff87c34059bc | ff4acd962524f76eaa14238efe686c6b65abc59a | refs/heads/master | 2022-11-07T06:38:24.524588 | 2020-06-20T12:49:50 | 2020-06-20T12:49:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 815 | cpp | /**
* Definition for binary tree
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(x), left(NULL), right(NULL) {}
* };
*/
const int MOD = 1003;
void helper(TreeNode* A, vector<string> &v1, string s1){
if (!A->left && !A->right)
{
s1+=to_string(A->... | [
"mehul355180@gmail.com"
] | mehul355180@gmail.com |
6647b00290a043bba70b84bd3539ad32e47d1a31 | 9a2da4c236b3306315cb5896aaa300fa95dca566 | /mainwindow.h | 884828db573a9b11f8adf2767693aa4185d3c3cf | [] | no_license | Dacaar94/Wycenator | 304359eb785fe6a1255bdca144639b2f365496e2 | 084af8f276484ffd6de5be96fe046af9193292aa | refs/heads/master | 2022-12-09T13:52:24.831310 | 2020-09-14T11:53:27 | 2020-09-14T11:53:27 | 287,329,398 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,133 | h | #ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include <QtSql>
#include <QDebug>
#include <QFileInfo>
QT_BEGIN_NAMESPACE
namespace Ui { class MainWindow; }
QT_END_NAMESPACE
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
MainWindow(QWidget *parent = nullptr);
~MainWindow();
... | [
"schicamaru@gmail.com"
] | schicamaru@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.