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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
71cfccb641c9c4184c568afd4002efe4821f81fa | 009ccffec019a4d28de22fc4d43c55861218e40b | /src/QTSmartsIntPickDialog.H | 74e121f7af1302755619f3f16729adb841789958 | [
"BSD-3-Clause"
] | permissive | OpenEye-Contrib/SmiV | 8a9728b62919f5993a8cfb35b57922451a21c459 | 784f2a66a8dfb6e986cbb21af23504ecdd4b975e | refs/heads/master | 2021-01-10T15:55:47.180398 | 2017-01-25T17:45:52 | 2017-01-25T17:45:52 | 51,924,908 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,138 | h | //
// file QTSmartsIntPickDialog.H
// Dave Cosgrove
// AstraZeneca
// 12th January 2010
//
// This class derives from QTSmartsEditDialog, and takes adds a QTMolDisplay2D
// from which the user can pick atoms to define the SMARTS.
#ifndef DAC_QT_SMARTS_INT_PICK_DIALOG
#define DAC_QT_SMARTS_INT_PICK_DIALOG
#include "QT... | [
"davidacosgroveaz@gmail.com"
] | davidacosgroveaz@gmail.com |
4cccf2014a975b743be7504b914e438e48fbe1ab | 818df5a6b667055f9c472e72ee0fc823f86de819 | /11483.cpp | 9da9fd5d45164c921e575638a68cdfa2598600bc | [] | no_license | kalex1994/UVA | 0a495e971fdcf92a785421a5c741bda915c21fca | cf45c6174cd299df14e8b52637c29ea7c3ec0f20 | refs/heads/master | 2021-01-01T19:47:13.630295 | 2016-10-15T19:14:46 | 2016-10-15T19:14:46 | 12,342,624 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,120 | cpp | #include <iostream>
#include <string>
#include <sstream>
#include <vector>
#include <algorithm>
#include <limits>
#include <climits>
#include <cctype>
#include <stack>
#include <cstdio>
#include <cstdint>
#include <cstdlib>
#include <cstring>
#include <cmath>
#include <set>
#include <queue>
#include <numeric>
#include ... | [
"kiralaleks@gmail.com"
] | kiralaleks@gmail.com |
e66999ad0f28b4f57962d5212566eee600a7f8df | 02e07149af0dff9796c2cc8af56a0730d5f4861f | /src/Workspace/include/Workspace/EventFilter.h | 9166e168cc06aa1aba0a8c0b251a997027edb31a | [
"BSD-3-Clause"
] | permissive | loganek/gstcreator | b5817acc271b00d52aaed491f96ab1b03a03ea92 | 619f1a6f1ee39c7c5b883c0a676cd490f59ac81b | refs/heads/master | 2021-01-10T22:14:08.257537 | 2014-07-31T18:14:40 | 2014-07-31T18:14:45 | 15,843,428 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,016 | h | /*
* gstcreator
* EventFilter.h
*
* Created on: 28 sty 2014
* Author: Marcin Kolny <marcin.kolny@gmail.com>
*/
#ifndef EVENTFILTER_H_
#define EVENTFILTER_H_
#include "qnelibrary.h"
#include <QObject>
#include <QEvent>
#include <QMimeData>
#include <QPointF>
#include <gstreamermm.h>
class WorkspaceWidg... | [
"marcin.kolny@gmail.com"
] | marcin.kolny@gmail.com |
e38a653991cd241b6ae15e8f8dc3707b6e932a22 | f1e44c6028890e2403c74bfd891d971100b864c8 | /week_02_22-Sep-2019/lab_assessment_–_object_manipulation/2/Sale.h | 1ff7e9468d3731123e5100025e294d238e439fa0 | [
"MIT"
] | permissive | tengkuaon/UTMSPACE_2019-2020-sem1_SCSJ1023_Programming_Techniques_II | d0124a9899de1bb9ca1c63f766f54993b34bba78 | b884f47ff714ddc297d2236235f1deb34be5dd53 | refs/heads/master | 2020-08-06T22:34:12.157242 | 2019-10-06T09:33:13 | 2019-10-06T09:33:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 624 | h | #ifndef SALE_H
#define SALE_H
class Sale
{
private:
double itemCost;
double disRate;
public:
Sale (double cost, double discount = 0.05)
{
itemCost = cost;
disRate = discount;
}
double getItemCost () const
{
return... | [
"oneseedfruit@gmail.com"
] | oneseedfruit@gmail.com |
74ec8863699d3607aa9dbdaa3258bda3f75ac420 | e72a48ffff811f4a73b12ead24dfebc961b9e13e | /plugins/viennagrid/uniform_refine.cpp | b0b6baed519cc9c24fb8fb1861c0b6326926e62a | [] | no_license | In-Ki-Kim/viennamesh-dev | 354f5fb49a36e43d9ca441c06c929db1ca80d7ff | 6fe645b36557275dc23ac83256dbe6c283a9e312 | refs/heads/master | 2022-04-08T12:46:59.654293 | 2020-03-10T11:41:31 | 2020-03-10T11:41:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,286 | cpp | /* ============================================================================
Copyright (c) 2011-2014, Institute for Microelectronics,
Institute for Analysis and Scientific Computing,
TU Wien.
-----------------
Vie... | [
"rudolf@iue.tuwien.ac.at"
] | rudolf@iue.tuwien.ac.at |
05c8934d46147ab14e2756b501b28871e0e85f3d | 2d1f82fe5c4818ef1da82d911d0ed81a0b41ec85 | /codeforces/gym/NEERC 2017/CF101630J.cpp | eb07460cb869abedabfc374d8a1387876cfdeedf | [] | no_license | OrigenesZhang/-1s | d12bad12dee37d4bb168647d7b888e2e198e8e56 | 08a88e4bb84b67a44eead1b034a42f5338aad592 | refs/heads/master | 2020-12-31T00:43:17.972520 | 2020-12-23T14:56:38 | 2020-12-23T14:56:38 | 80,637,191 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,647 | cpp | #include <iostream>
#include <cstring>
#include <vector>
#include <queue>
#define pb push_back
using namespace std;
typedef long long LL;
typedef pair<int, int> pii;
const int N = 3000 + 10;
const LL INF = LL(1e15);
vector<pii> G[N], G2[N];
vector<int> val;
int n, m, k;
LL d[N];
struct Node {
... | [
"noreply@github.com"
] | noreply@github.com |
a7511b30fbb395606c734d4039870b70e3b70ff0 | 9c73501c5a8413753ed5776299fe1f62a0a2659e | /include/DREAM/Equations/Kinetic/SynchrotronTerm.hpp | 43886c05798f9e164b99617b8f879f2852983ad6 | [
"MIT"
] | permissive | anymodel/DREAM-1 | 5d1ac63ffc48157f110ef672036d801442a2c917 | eba9fabddfa4ef439737807ef30978a52ab55afb | refs/heads/master | 2023-08-23T05:01:13.867792 | 2021-10-28T19:45:33 | 2021-10-28T19:45:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,062 | hpp | #ifndef _DREAM_EQUATIONS_KINETIC_SYNCHROTRON_TERM_HPP
#define _DREAM_EQUATIONS_KINETIC_SYNCHROTRON_TERM_HPP
#include "DREAM/EquationSystem.hpp"
#include "DREAM/Settings/OptionConstants.hpp"
#include "DREAM/Equations/CollisionQuantityHandler.hpp"
#include "FVM/config.h"
#include "FVM/Equation/AdvectionTerm.hpp"
#inclu... | [
"embreus@chalmers.se"
] | embreus@chalmers.se |
1e946941fb546cac7d35588f7739557c3e8acedb | 5f61021d5d46053ce7770e69f4d178769f7fa58a | /DboClient/Lib/NtlPresentation/NtlPLCharacter.cpp | 6465c56c712aac25030700849d71525863522186 | [] | no_license | Guardian820/DragonBallOnline | ce2f64a2b88d98f25e747191fde75d7e8a6c12f7 | 201c28d8067fe0ddfde9da49c76516de82c394bf | refs/heads/master | 2020-03-10T01:13:50.855049 | 2017-07-31T08:54:08 | 2017-07-31T08:54:08 | null | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 80,999 | cpp | #include "precomp_ntlpresentation.h"
#include "NtlAtomic.h"
#include "NtlTimer.h"
#include "NtlPLEntityFreeList.h"
#include "NtlPLResourceManager.h"
#include "NtlPLProperty.h"
#include "NtlWorldInterface.h"
#include "NtlPLCharacterParser.h"
#include "NtlPLPropertyContainer.h"
#include "NtlPLEventGenerator.h"
#include... | [
"sahino1996@hotmail.de"
] | sahino1996@hotmail.de |
36657b75d4f4a65ecd20c93e1d1eac131de6c48a | 3701a92adf71dcb239da026e9dbb97c0978156d3 | /rtmp/rtmp_ffmpeg/app/src/main/cpp/ffmpeg_rtmp.cpp | 7964475fa00a968d2f1091910e5c602ae1d2bd5a | [] | no_license | ColonelDarcy2018/excelsior | b1398e7ac690aacf4c75b5607a8693d3a7062a86 | 77a14e4ebcb616d987ae2c3bd13d6beceda56619 | refs/heads/master | 2023-08-08T03:26:21.395974 | 2023-07-28T09:12:04 | 2023-07-28T09:12:04 | 239,725,108 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,532 | cpp | #include "ffmpeg_common.h"
///摄像头Rtmp推流开始
AVFormatContext *ofmt_ctx;
AVCodecContext *codec_ctx;
AVStream *av_stm;
int yuv_width;
int yuv_height;
int y_length;
int uv_length;
int fps = 15;
/**
* 初始化
* @param env
* @param thiz
* @param url 输出路径/rtmp推流地址
* @param width
* @param height
* @return
*/
extern "C"
... | [
"excelsior2018@163.com"
] | excelsior2018@163.com |
744bf4476bfef1b9bc84ef6447306265909a498c | a218f97bf76618932df94dd3df1f25b4ac820cc4 | /DXEngine06_WVP/DXUtil.cpp | ce554779db66940ba577c76d976dba6a7e70563b | [] | no_license | Oboon2/Graphics | efb398a57a8284b70b23dfab0d76e363003d3b3a | 85be600e911205732044933a41a987ee70f43a8d | refs/heads/master | 2020-08-27T17:52:38.668193 | 2019-10-25T04:24:20 | 2019-10-25T04:24:20 | 194,786,716 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 238 | cpp | #include "DXUtil.h"
bool IsError(HRESULT hr, LPCTSTR msg)
{
// 오류가 있으면 오류 메시지 보여주는 메시지 창 띄우기
if (hr < 0)
{
MessageBox(NULL, msg, TEXT("오류"), MB_OK);
return true;
}
return false;
}
| [
"42952414+Oboon2@users.noreply.github.com"
] | 42952414+Oboon2@users.noreply.github.com |
9da7859fefa1833ef103c9d8ce0827bd8e70b540 | 1880ae99db197e976c87ba26eb23a20248e8ee51 | /iai/include/tencentcloud/iai/v20200303/model/SearchFacesRequest.h | 13912121f631e67efb382c4d10437a4f32fb24c1 | [
"Apache-2.0"
] | permissive | caogenwang/tencentcloud-sdk-cpp | 84869793b5eb9811bb1eb46ed03d4dfa7ce6d94d | 6e18ee6622697a1c60a20a509415b0ddb8bdeb75 | refs/heads/master | 2023-08-23T12:37:30.305972 | 2021-11-08T01:18:30 | 2021-11-08T01:18:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 23,541 | h | /*
* 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
... | [
"tencentcloudapi@tenent.com"
] | tencentcloudapi@tenent.com |
c6451117e9c73226991fa10a073851a7ef3977dd | 84b066b24d4ce9910b5eb2f77a7c6bc712475227 | /Buclle_for.ino.ino | 2bbb6b03f37ad38dacc917a0948697a65d21e162 | [
"CC0-1.0"
] | permissive | Wesley3455/Arduino- | 8599161ff13c4997cee2bc7270a5a39ec00fb4ec | fb91e35e422ef994069f5e0241bed99a10533a48 | refs/heads/main | 2023-03-16T22:15:12.935473 | 2021-03-22T12:40:50 | 2021-03-22T12:40:50 | 334,881,532 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,021 | ino | //Variables globales
int switchState = 0;
//Variables de los pines
const int redPin = 4;
const int bluePin = 2;
const int buttonPin = 3;
void setup() {
// put your setup code here, to run once:
//Iniciando leds
pinMode(redPin, OUTPUT);
pinMode(bluePin, OUTPUT);
//iniciando botón
pinMode(buttonPin, INPUT);
}
void lo... | [
"noreply@github.com"
] | noreply@github.com |
d112f01f9a7b370a2acd019a245086269a8cffc7 | 14248aaedfa5f77c7fc5dd8c3741604fb987de5c | /luogu/P3188.cpp | b47758eb24473b2054687d31ad5bd5c67022a785 | [] | no_license | atubo/online-judge | fc51012465a1bd07561b921f5c7d064e336a4cd2 | 8774f6c608bb209a1ebbb721d6bbfdb5c1d1ce9b | refs/heads/master | 2021-11-22T19:48:14.279016 | 2021-08-29T23:16:16 | 2021-08-29T23:16:16 | 13,290,232 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,694 | cpp | // https://www.luogu.org/problemnew/show/P3188
// [HNOI2007]梦幻岛宝珠
#include <bits/stdc++.h>
using namespace std;
struct Item {
int w, v;
};
const int MASK = 1023;
int N, W;
int dp[32][1024];
vector<vector<Item>> items(32);
int main() {
while (scanf("%d%d", &N, &W) > 0 && N != -1) {
memset(dp, 0, size... | [
"err722@yahoo.com"
] | err722@yahoo.com |
832e4a54766487080971db412ddd351e1a6c12b4 | b4b4e324cbc6159a02597aa66f52cb8e1bc43bc1 | /C++ code/Uva Online Judge/Q517.cpp | 38bc02d6704d887d5e51f7d78c850b6f2fc5e3a0 | [] | no_license | fsps60312/old-C-code | 5d0ffa0796dde5ab04c839e1dc786267b67de902 | b4be562c873afe9eacb45ab14f61c15b7115fc07 | refs/heads/master | 2022-11-30T10:55:25.587197 | 2017-06-03T16:23:03 | 2017-06-03T16:23:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 681 | cpp | #include<cstdio>
int N,T;
char S[4][17],C[8][4];
void Transform(char* &a,char* &b,const int &r)
{
for(int i=0;i<N;i++)
{
if(a[i]==C[r][0]&&a[(i+2)%N]==C[r][1]&&a[(i+3)%N]==C[r][2])b[(i+2)%N]=C[r][3];
else b[(i+2)%N]=a[(i+2)%N];
}
char *c=a;a=b,b=c;
}
void Solve()
{
char *a=S[0],*b=S[1];
for(int i1=0,i2=0;;)
... | [
"fsps60312@yahoo.com.tw"
] | fsps60312@yahoo.com.tw |
822ddb36cee352453a9f0134b5887f6908e30a38 | 03fc8bbfb2632d98a8c5a6078361e3c377ad84ee | /App/DeepObjectTracker/RecurrentNeuralNetworkCUDA_Wrapper/RecurrentNeuralNetworkCUDA_Wrapper.h | d82aa18327a7d17830a6872ebef2c24dfea56d36 | [] | no_license | andu04/DeepObjectTracker | 157c488672ee78e90dbd5ef6a92a551f687b7738 | 078ad6fda1a837b1a0819cfa965e41bb6065c547 | refs/heads/master | 2021-01-21T17:28:28.823752 | 2017-04-05T20:30:44 | 2017-04-05T20:30:44 | 85,471,456 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 349 | h | // RecurrentNeuralNetworkCUDA_Wrapper.h
#pragma once
#include "RecurrentNeuralNetwork.h"
using namespace System;
namespace RecurrentNeuralNetworkCUDA_Wrapper {
public ref class RecurrentNeuralNetworkWrapper
{
public:
RecurrentNeuralNetworkWrapper();
bool CheckCUDA();
bool CheckCUDNN();
private:
Recurr... | [
"popandi04@gmail.com"
] | popandi04@gmail.com |
8d4828d677871da15cddd6ff3b99c9cc0258aa28 | 3224a2791c71895235e33c3e4c4319ab6139d0f6 | /04-visitors/expressions/IdentExpression.h | 2c41a13f5341932d23cf00c17f015fbd67a1117e | [] | no_license | akhtyamovpavel/CompilersCourse | de681e0734a33d0f95d1094b9a39b95d2b2943ee | 8475bcb9c49e25996758f04524a11c5800163170 | refs/heads/master | 2023-04-13T07:03:11.191364 | 2022-11-19T17:04:09 | 2022-11-19T17:04:09 | 241,050,653 | 45 | 32 | null | 2021-04-17T22:20:09 | 2020-02-17T08:00:14 | C++ | UTF-8 | C++ | false | false | 258 | h | #pragma once
#include "Expression.h"
#include <string>
class IdentExpression: public Expression {
public:
IdentExpression(const std::string& ident);
int eval() const override;
void Accept(Visitor* visitor) override;
std::string ident_;
}; | [
"akhtyamovpavel@gmail.com"
] | akhtyamovpavel@gmail.com |
32d8c4c8180b3e1b97cdcdd3a6ad1cbc4700329c | 689bfb48068feaf5c148d1a2f2099346b35e07e1 | /FunnyHunny/GameProcess.cpp | b4a939d64da34e03320538ffb9a387a8ca6ad3f2 | [] | no_license | TsentsevitskyDmitry/FunnyHunny | 5be5f9ed078ae2fef7d9ef2f42e319fef7d8093a | 300c24e1a0d0e7050ba483df5e65b25d188633cd | refs/heads/master | 2021-04-19T03:12:09.637749 | 2020-03-24T00:31:53 | 2020-03-24T00:31:53 | 249,574,484 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,088 | cpp | #include "GameProcess.h"
GameProcess* GameProcess::instance = nullptr;
GameProcess *GameProcess::getInstance()
{
if(instance == nullptr)
instance = new GameProcess;
return instance;
}
void GameProcess::setWH(int W, int H)
{
_W = W;
_H = H;
}
void GameProcess::check(int x... | [
"noreply@github.com"
] | noreply@github.com |
39a7f0218d7c108fed9b792712bf9885a775da44 | 9dc335630cb97246a7d67ddf652b404701cece61 | /CAD/CAD_Verano/Actividad2/Actividad2.cpp | cd89cbfc40bb37c08776f51de361502fa242a856 | [] | no_license | getmiranda/sistemas_itver | 1e952e97a1a82891646c7df257c60870445fcae2 | f768d5783a9f570f5debe6a7d18d175f0503e8da | refs/heads/master | 2020-07-10T02:39:15.715234 | 2019-08-24T11:12:56 | 2019-08-24T11:12:56 | 204,145,537 | 1 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 1,217 | cpp | //Actividad 2: Implemente un algoritmo paralelo en el que los procesos pares envíen un mensaje de saludo a los procesos impares.
#include <stdio.h>
#include "mpi.h"
#include <string.h>
int main(int argc, char* argv[]) {
int total_procesos, nombre_proceso, origen, destino, flag = 0;
//mensaje de longitud 100
char ... | [
"androidgalaxys42@gmail.com"
] | androidgalaxys42@gmail.com |
9f516c363979effbdccb31a4343c5119e8078fb9 | bcb1fdd350b7b904cf5fa9d71fff131066c5069d | /test/string.cpp | 5b2472ac3a127f14e0d89d582402b21c5f1ec892 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | Cr4shOv3rrid3/scnlib | 97679caa63dbcb73e47da55080a4f649310f5323 | 72a4bab9e32f2b44593137fba40c54710e20a623 | refs/heads/master | 2022-08-13T07:15:35.474495 | 2022-04-26T18:31:41 | 2022-04-26T18:31:41 | 281,186,906 | 0 | 0 | Apache-2.0 | 2020-07-20T17:46:15 | 2020-07-20T17:46:14 | null | UTF-8 | C++ | false | false | 4,558 | cpp | // Copyright 2017 Elias Kosunen
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to ... | [
"elias.kosunen@gmail.com"
] | elias.kosunen@gmail.com |
9361a0cfac9379ca3e04d04b0386ea2fb791e72a | 1dbb60db92072801e3e7eaf6645ef776e2a26b29 | /server/src/common/proto/singlearena/PQSingleArenaLogLoad.h | dc551c7197b74d55f0385e58ef5a21e889b19f00 | [] | no_license | atom-chen/phone-code | 5a05472fcf2852d1943ad869b37603a4901749d5 | c0c0f112c9a2570cc0390703b1bff56d67508e89 | refs/heads/master | 2020-07-05T01:15:00.585018 | 2015-06-17T08:52:21 | 2015-06-17T08:52:21 | 202,480,234 | 0 | 1 | null | 2019-08-15T05:36:11 | 2019-08-15T05:36:09 | null | UTF-8 | C++ | false | false | 1,063 | h | #ifndef _PQSingleArenaLogLoad_H_
#define _PQSingleArenaLogLoad_H_
#include <weedong/core/seq/seq.h>
#include <proto/common/SMsgHead.h>
class PQSingleArenaLogLoad : public SMsgHead
{
public:
PQSingleArenaLogLoad()
{
msg_cmd = 862327907;
}
virtual ~PQSingleArenaLogLoad()
{
}
virtu... | [
"757690733@qq.com"
] | 757690733@qq.com |
5a011af666f056ef4552c66f4fe2051a08940859 | dbc5ce4afcab5def2fcb3d8987721b6d11ba79cb | /Star Rain/Star Rain/ED/SceneED3.h | b2bf3e25c8ae4bb7b46d4e257b741161ed166ba3 | [] | no_license | Erin0428/team-Paella | 56cb5c0279bc9b673f00d1a7f3d94391de443372 | 83299444bc0dac12bf5c8167e7eee7466d85717e | refs/heads/master | 2020-04-27T15:43:11.377736 | 2019-05-20T03:08:04 | 2019-05-20T03:08:04 | 174,457,365 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 403 | h | #pragma once
//使用するヘッダーファイル
#include "../GameL\SceneManager.h"
//使用するネームスペース
using namespace GameL;
//シーン:ゲームエンディング3
class CSceneED3 :public CScene
{
public:
CSceneED3();
~CSceneED3();
void InitScene();//ゲームタイトルの初期化メソッド
void Scene(); //ゲームタイトルの実行中メソッド
private:
}; | [
"GA1@DEV1-19"
] | GA1@DEV1-19 |
8ca52e59aa9bc3c656045ce2c66a2d8f4bde52e9 | 4d7ae3ca4674267c72385fa1ba67496e3abd55ff | /libRayTracing/src/random.cpp | 26e57a8d60d9caf10ff03e20db646bce79dcf5ec | [
"MIT"
] | permissive | tanganke/RayTracing | 1e5c1e066b74f26ef215f1075e43cd8db8eb7259 | 876180439cbc2a6241735d18de6e0eb9e2f11e96 | refs/heads/master | 2023-08-25T02:56:58.126412 | 2021-10-13T11:52:07 | 2021-10-13T11:52:07 | 404,777,544 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 440 | cpp | #include "random.h"
namespace ray_tracing
{
vec2 random_vec2_in_unit_disk()
{
vec2 ans;
TRY:
ans = vec2{random<float>(-1, 1), random<float>(-1, 1)};
if (length(ans) >= 1)
goto TRY;
return ans;
}
vec3 random_vec3_in_unit_sphere()
{
vec3 ans;
... | [
"tang.anke@foxmail.com"
] | tang.anke@foxmail.com |
3ecd05f0f3568d5a23e14e1822287789c49550c5 | 62b1b74118497046645b3159ea27c15cbbc4765c | /WickedEngine/Utility/dxcapi.h | b226cf9dfce002e5e7b6b0d40518e9423a007efc | [
"MIT"
] | permissive | turanszkij/WickedEngine | ec9d9cde27553d9ff3bc1987bc13a5b9d0de3e52 | 003584863003a963718926c4e93ffe97ac00a6ff | refs/heads/master | 2023-09-01T07:03:25.947714 | 2023-08-31T05:40:42 | 2023-08-31T05:40:42 | 37,770,961 | 5,031 | 691 | MIT | 2023-09-13T01:09:46 | 2015-06-20T13:35:19 | C++ | UTF-8 | C++ | false | false | 36,885 | h |
///////////////////////////////////////////////////////////////////////////////
// //
// dxcapi.h //
// Copyright (C) Microsoft Corporation. All rights reserved. //... | [
"noreply@github.com"
] | noreply@github.com |
fc9456abc133167f598c9ad8ee9f4be4375d407e | 9182ce864aba7bde45dda6a361532bf08cecf7f8 | /src/orbital/physical/Body.h | 359e97615197fb12194917d0ab91f2f1be9ebd43 | [
"MIT"
] | permissive | JohannesMP/orbital | f7850b54a0a4b563e9663c6f333d54b59327afa4 | 9dca53deb6989fbe4c5171c4e9517c2e548ea3fa | refs/heads/master | 2020-03-23T12:10:49.189587 | 2018-02-14T22:27:25 | 2018-02-14T22:27:25 | 141,541,943 | 0 | 1 | null | 2018-07-19T07:35:37 | 2018-07-19T07:35:37 | null | UTF-8 | C++ | false | false | 1,067 | h | //
// Created by jim on 23.01.18.
//
#pragma once
#include <orbital/common/common.h>
#include <orbital/math/Ellipse.h>
class Body
{
public:
/**
* Create a new body.
* @param name Planet name
* @param mass Planet mass
* @param radius Planet radius
* @param a Major semi axis (a > 0)
... | [
"jim.eckerlein@gmail.com"
] | jim.eckerlein@gmail.com |
eba9d1af5f9655e8717e2c5a3a75b4f227fb98b8 | 1f54982576a90111d0edece2d2520d65ae21daad | /Vector.cpp | 77f137c487ce4c4af88af8193e39188ea6ddfbfd | [] | no_license | maryhmatthews/C-Second-year-Project | fd901cea79f7a94b0f26675a3130069f53bb0f13 | 92ae7095151f3f5e22b2928eaec0cb1ec31302dd | refs/heads/master | 2020-12-30T23:37:04.592269 | 2017-03-29T18:30:56 | 2017-03-29T18:30:56 | 86,614,432 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,533 | cpp | //
// Created by ap15015 on 28/02/2017.
//
#include "Vector.h"
#include <cmath>
double Vector::modSqr (Vector &v) const
{
double V = (v.getx()*v.getx()) + (v.gety()*v.gety()) + (v.getz()*v.getz());
return V;
}//function to calculate the Modulus Squared of a vector using |v|^2=x^2+y^2+z^2
double Vector:: m... | [
"noreply@github.com"
] | noreply@github.com |
28a4cc1a5b46a593e013bfef3d01be73c9264555 | c760312ce602b8e16d0f6e026aa93d038eb156a6 | /src/modules/core/tests/OctreeTest.cpp | 7b5f4931ea4e4dd91d5b0428f3d8245f2f6f8cb4 | [] | no_license | cmaughan/engine | 8518befe4a5dba97b8e1db59696ed538fe5d7a76 | ad6edadcdc7a97e30faab785baff00856a35fe6a | refs/heads/master | 2021-04-12T12:10:08.234176 | 2017-05-30T17:48:37 | 2017-05-30T18:28:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,972 | cpp | /**
* @file
*/
#include <gtest/gtest.h>
#include "core/Octree.h"
namespace core {
class Item {
private:
AABB<int> _bounds;
int _id;
public:
Item(const AABB<int>& bounds, int id) :
_bounds(bounds), _id(id) {
}
const AABB<int>& aabb() const {
return _bounds;
}
bool operator==(const Item& rhs) const {
... | [
"martin.gerhardy@gmail.com"
] | martin.gerhardy@gmail.com |
4440eaf5642bfcb409caf1d1234d64aa7a466b95 | 9cb565cfe571ca25c090de55b200eba5d99d5f28 | /session_02/order_of_summation1a.cpp | aa9423372f5fb3aa99af941d789a8e82ab33ecb7 | [] | no_license | psharma117/PHY480-Computational-Physics | 26ecf5335d77b8cbcc68433fc61994f21a24a1b3 | a93328952d966291a7c6167b104de537d105ee5c | refs/heads/main | 2023-04-18T13:30:03.337285 | 2021-05-04T16:17:46 | 2021-05-04T16:17:46 | 331,646,936 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,607 | cpp | //************************************************************************
// file: order_of_summation1a.cpp (order_of_summation1.cpp with errors
// and unformatted)
//
// Program to demonstrate that the order of summation of even positive
// numbers matters
//
// Programmer: Dick Furnstahl furnstahl.1@osu.... | [
"psharmacgk@gmail.com"
] | psharmacgk@gmail.com |
ff1b1fb420ace508adea9ac39730c1e03747cf78 | b73ae552d01725c21f29c2e84205e1aea9ec722a | /original_code/Graph.cc | 519b8875828e27b5012d277a0e99827c0a30a733 | [] | no_license | fiji-flo/preach2014 | 23ff27e05b98626c64b29536bf665101b15216bb | 1bfafad6f1df37224e3c4f8777eaccbd1249f5ef | refs/heads/master | 2020-05-18T04:10:31.000268 | 2014-10-31T08:21:54 | 2014-10-31T08:21:54 | 32,138,387 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 10,221 | cc | /*
* Copyright (c) Florian Merz 2013.
*
* The software is provided on an as is basis for research purposes.
* There is no additional support offered, nor are the author(s)
* or their institutions liable under any circumstances.
*
*/
#include "Graph.hh"
#include "util.hh"
#include <tuple>
#include <stdlib.h>
na... | [
"flome.rz@gmail.com"
] | flome.rz@gmail.com |
dc78c7054550b57e4bbf152fb2c057d9d81c78f4 | 0013eb743eff741ae2087f91f895b582b01f0b7a | /src/software/ai/hl/stp/tactic/crease_defender_tactic.h | e7eef28ecb429559c75f323d239741826e1cfce2 | [
"MIT"
] | permissive | scveloso/Software | d8e1089e4819e865c7c179b4ddd59b9b58a6d796 | ac882d3df0aa0d108e5157c076c82c030d023e12 | refs/heads/master | 2020-08-03T00:00:02.184582 | 2019-09-28T19:26:46 | 2019-09-28T19:26:46 | 211,554,906 | 0 | 0 | MIT | 2019-09-28T19:59:29 | 2019-09-28T19:59:29 | null | UTF-8 | C++ | false | false | 3,372 | h | #pragma once
#include "software/ai/hl/stp/evaluation/enemy_threat.h"
#include "software/ai/hl/stp/tactic/tactic.h"
#include "software/geom/segment.h"
/**
* A crease defender moves around the exterior of our defense box to help shadow
* shots against the enemy
*
* XX <-- Enemy
* ... | [
"noreply@github.com"
] | noreply@github.com |
3a6cc97d7d417d7453bb8d7f7e6a5df62a7b8ab0 | 21389b05856626c997e8dec4f5100aa8534feab7 | /enlace.c++ | 5d3a6c97598e1027e7dc88e487f1bfb8c1b632af | [] | no_license | Israel-GR/good | 80f7329dcef769db2039bf9af98be9e579d1fe6a | b5ab63283945460419e99d344c11c29b07d77dfd | refs/heads/master | 2023-02-10T02:57:02.907293 | 2021-01-07T18:41:12 | 2021-01-07T18:41:12 | 327,693,620 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 51 | /* este es un comentario pero voy a aprender c++*/
| [
"Israel@Garcia.com"
] | Israel@Garcia.com | |
efe21dfc01c546d7cf9fd8ead2f68e77785cf954 | b980f63564dc2c3a86047a69c9b9e224b4281c9b | /laser_filters/include/laser_filters/box_filter.h | 82cd74e395ded3f5d3816541065e912525341fb4 | [
"BSD-3-Clause"
] | permissive | BolaDeArroz/burger_war_dev | a3a7982e527d69234c7f0ccdf513f1960884205a | d924d9e70d661ed6a3a8bd83591104f7694083c5 | refs/heads/main | 2023-03-22T21:22:59.679868 | 2021-03-14T15:28:05 | 2021-03-14T15:28:05 | 343,038,127 | 0 | 0 | BSD-3-Clause | 2021-02-28T06:35:17 | 2021-02-28T06:35:16 | null | UTF-8 | C++ | false | false | 2,880 | h | /*
* Software License Agreement (BSD License)
*
* Robot Operating System code by the University of Osnabrück
* Copyright (c) 2015, University of Osnabrück
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following... | [
"kawai.takayasu@jp.panasonic.com"
] | kawai.takayasu@jp.panasonic.com |
4e7eab63857e78ec30af9b145237402f39003f30 | 44a4071698b7987f96833879dc334250dba6ac1a | /src/pool.cpp | 856d4b61d6bf0af353e2324f6dde152addf5c0ed | [] | no_license | boulware/color-c | 69febefb03ec7de3bd4ee849f11ecf9301af87e5 | 80a590ae41fc8b6028e7c712a8e6547a8fcf3a58 | refs/heads/master | 2023-01-23T06:30:53.799569 | 2020-12-04T17:22:15 | 2020-12-04T17:22:15 | 296,464,217 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,736 | cpp | #include "pool.h"
template<typename Type>
bool
operator==(PoolId<Type> a, PoolId<Type> b)
{
return(a.value == b.value);
}
template<typename Type>
Pool<Type>
AllocPool(int max_entry_count)
{
Pool<Type> pool = {};
pool.entries = (PoolEntry<Type>*)platform->AllocateMemory(max_entry_count*sizeof(PoolEntry<Typ... | [
"tyler.boulware@gmail.com"
] | tyler.boulware@gmail.com |
8761e4ae64cac8a87b4815202e70fd3beadad876 | 02ce8a5d3386aa639ef1c2c2fdd6da8d0de158f9 | /ACE-5.6.1/ACE_wrappers/apps/JAWS2/JAWS/Server.h | a82eb97cf3380a9a963e7a9e14bd0844484ffa47 | [] | no_license | azraelly/knetwork | 932e27a22b1ee621742acf57618083ecab23bca1 | 69e30ee08d0c8e66c1cfb00d7ae3ba6983ff935c | refs/heads/master | 2021-01-20T13:48:24.909756 | 2010-07-03T13:59:39 | 2010-07-03T13:59:39 | 39,634,314 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 962 | h | /* -*- c++ -*- */
// $Id: Server.h 32270 2000-04-27 23:43:23Z jxh $
#ifndef JAWS_SERVER_H
#define JAWS_SERVER_H
#include "JAWS/Export.h"
#include "JAWS/Data_Block.h"
#include "JAWS/Policy.h"
class JAWS_IO_Handler_Factory;
class JAWS_Export JAWS_Server
{
public:
JAWS_Server (void);
JAWS_Server (int argc, char *a... | [
"yuwuxiong2010@gmail.com"
] | yuwuxiong2010@gmail.com |
ddcc8dec9847b57c4f8e1bf1aa36cf6c11bf9e8e | cb90ac80113d1fa46c74a88e18da6ba4935a7165 | /neural_network.h | dca6eef02854a13ba73dd8a339bb32ad935997c7 | [] | no_license | son-vo-cs/handwritten-digit | fa981659aaeeeb30e5e6700407dbf305c70e20d6 | da4c0e611c15ec4fcbfea715dece57a6a5d65d98 | refs/heads/master | 2020-05-30T09:51:39.609991 | 2020-05-05T02:27:12 | 2020-05-05T02:27:12 | 189,656,862 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,795 | h | #ifndef NEURAL_NETWORK_H_INCLUDED
#define NEURAL_NETWORK_H_INCLUDED
#include <vector>
#include <string>
#include <fstream>
//Alias
using Vec = std::vector<double>;
using Matrx = std::vector<Vec>;
using Layer = std::vector<Matrx>;
class neuralNetwork
{
private:
// Variables of the class
unsigned int in_n... | [
"sonvo.cs@gmail.com"
] | sonvo.cs@gmail.com |
59a00947ea8834411accc645fa684113a5f67c44 | 54ce01d038792f708aab2d6750fc8f29047233d4 | /基本输入输出/2.cpp | 1d5f611e4ffdd141bc22c7550d631e267c969890 | [
"BSD-3-Clause"
] | permissive | handsomebsn/data-structure | bdb07e3ccb13f8518ff0a56d914180965b16bfb7 | 56efed88d3d96ee5851e3af277248e1d2e17736b | refs/heads/master | 2020-12-30T16:46:42.407631 | 2017-09-27T03:43:27 | 2017-09-27T03:43:27 | 91,030,908 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 292 | cpp | #include<iostream>
using namespace std;
/*cin 忽略前导空白 遇到空白结束 并将空白保留在输入队列中(输入缓存中)*/
int main(int argc, char const *argv[])
{
/* code */
char name[100];
char sex[100];
cin>>name>>sex;
cout<<name<<endl;
cout<<sex<<endl;
return 0;
} | [
"1903935168@qq.com"
] | 1903935168@qq.com |
2d4ada617b81d159927e42587f1242742333842b | 341ef329544215c4eeaf92416ef358a943b7db7f | /src/Config.h | b1adddca6d1d006657ad29092fb66e179ada390a | [] | no_license | adamk33n3r/chumspeak-server | fabbb287365ab19bb9ede22dae5f63fbea40d441 | 557b8e523dccf817683ae0339bad911f3c31a3a7 | refs/heads/master | 2021-07-04T20:58:54.569342 | 2020-08-19T23:34:49 | 2020-08-19T23:34:49 | 150,354,201 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 446 | h | #ifndef CONFIG_H
#define CONFIG_H
#include <string>
#include <memory>
#include "json.hpp"
class Config {
public:
Config(const std::string &configPath);
bool save() const;
std::string dump() const;
std::string value(const char* key, const char* defaultValue) const;
nlohmann::json& operator[](co... | [
"adam.g.keenan@gmail.com"
] | adam.g.keenan@gmail.com |
7866e064a414f5ddb72b8ffa1103bea2718609df | 309044c891f881b8e65ab3054ac31aa82d97bc50 | /src/network/Branch.h | 3515c2779417b2f45f52c6d2d19127f497caad89 | [
"MIT"
] | permissive | aboelmakarem/casena | 98c87435d0cabd91e727d44b4fd8946ab78af89d | 387c83a1bc6a5150684f5d54f8eba4712b81f827 | refs/heads/main | 2023-04-18T05:06:05.670701 | 2021-05-02T19:44:03 | 2021-05-02T19:44:03 | 347,510,506 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,304 | h | // Branch.h
// Ahmed M. Hussein (amhussein4@gmail.com)
// 03/13/2021
#ifndef BRANCH_H_
#define BRANCH_H_
#include "Component.h"
namespace CASENA
{
class Branch : public Component
{
public:
Branch();
Branch(const Branch& branch);
virtual ~Branch();
virtual Branch& operator=(const Branch& branch);
void Re... | [
"amhussein4@gmail.com"
] | amhussein4@gmail.com |
7619277f51e389d09abc85706a130aed78edf763 | a8d25fd624be9debeb43b4f47232cf9d5c01aff1 | /IMathLib_develop/utility/singleton.hpp | 4e0201c099926a35e4489153a71adbd60704ee9c | [
"MIT"
] | permissive | waka-lab/IMathLib | fc2d0905ead770c7fc382040c3ce9d2907b3c15f | 87623ba931f74324a02698c05b44d59af3041eb4 | refs/heads/master | 2020-06-21T04:03:02.875026 | 2019-07-07T12:41:24 | 2019-07-07T12:41:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,054 | hpp | #ifndef IMATHLIB_UTILITY_SINGLETON_HPP
#define IMATHLIB_UTILITY_SINGLETON_HPP
#include "IMathLib/utility/utility.hpp"
#include "IMathLib/container/allocator.hpp"
namespace iml {
// シングルトンを実装するための基底クラス
template <class T>
class singleton {
static inline T* inst_m = nullptr;
singleton(const singleton &) = dele... | [
"168iroha@168iroha.net"
] | 168iroha@168iroha.net |
2550307805541a0ef93d7f7437354b3bb0f72aa2 | b8bc365f96bf72b4706d03db181f79946e5ca234 | /DirectX11/Mouse.cpp | b7564267a6118646f816a5698d56abfea392861c | [] | no_license | minkipro/myDirectX11 | 4d37801914b083d27b5c22c0b3d8c8132112b1cb | d072df515e8c0cba1199c27b21c3b5f099337c50 | refs/heads/master | 2020-08-12T11:28:34.814623 | 2019-11-11T08:56:58 | 2019-11-11T08:56:58 | 214,759,152 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,377 | cpp | #include "MinkiWin.h"
#include "Mouse.h"
std::pair<int, int> Mouse::GetPos() const noexcept
{
return { x,y };
}
int Mouse::GetPosX() const noexcept
{
return x;
}
int Mouse::GetPosY() const noexcept
{
return y;
}
bool Mouse::IsInWindow() const noexcept
{
return isInWindow;
}
bool Mouse::LeftIsPressed() const ... | [
"ghkdalsrl222@gmail.com"
] | ghkdalsrl222@gmail.com |
ef64243bd93f6975e6facb0def89ec568a2f2884 | 525d7f39d177b0bdc8377fd129b0cec222d4c381 | /Classes/Contact/MyContact.cpp | 73337f624f1e40c2e13f0e1e743f22294070fac5 | [] | no_license | jpollo/ShootGame | 4d2e3d032087f0600636c4dc1bc93677b6c24dca | ee9dd7c6c1f7fbc5fb195b1c88c7a1d40a6e36fd | refs/heads/master | 2016-09-05T17:26:49.094896 | 2013-01-20T12:26:56 | 2013-01-20T12:26:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 108 | cpp | /*
* MyContactA.cpp
*
* Created on: 2012-9-28
* Author: arch
*/
#include "Contact/MyContact.h"
| [
"jasonllinux@gmail.com"
] | jasonllinux@gmail.com |
0d32856ef905c8e23c5cb315b0d56084e9a9f9b2 | b34e75714baec2b521e05b6835e8c2c8bd325827 | /chip8-lib/src/CKeyboard.cpp | f064fc07a2d5797e2cb88ebeb123575f5cff88c4 | [] | no_license | captainkent/chip8 | 20483850adc9a3edc22ccfcec4672fb18bb1ea78 | 9166a82e612af0a7e1419d47ed926cf2e2b10d65 | refs/heads/master | 2021-04-21T15:41:25.795730 | 2020-04-02T15:26:09 | 2020-04-02T15:26:09 | 249,792,867 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 302 | cpp | #include "CKeyboard.h"
CKeyboard::CKeyboard()
{
the_keyboard = {};
}
void
CKeyboard::set_key_state(int a_key, int a_state)
{
the_keyboard[a_key] = a_state;
}
uint8_t
CKeyboard::get_key_state(int a_key)
{
return the_keyboard[a_key];
}
size_t
CKeyboard::get_size()
{
return the_keyboard.size();
} | [
"jamesrkent@outlook.com"
] | jamesrkent@outlook.com |
113c21d328c3e59ea5d36164b9906b52295371b5 | 6eff174b79a8cc92127ee0653895a85786eab971 | /src/Object/Component/SkinnedMeshRenderer.cpp | 942babcdd8c6b05c3a41a57489e96707a4784c37 | [
"MIT"
] | permissive | lqq1985/Theodore | 5e2a6d8a7c5de5038ea7024f000af5e544dc94c9 | b9d4e228ba7cc90f5838eaf03db81e91c82543d3 | refs/heads/master | 2020-08-28T18:59:40.409194 | 2019-01-24T15:33:31 | 2019-01-24T15:33:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 430 | cpp | #include "SkinnedMeshRenderer.h"
namespace Theodore {
SkinnedMeshRenderer::SkinnedMeshRenderer() : Renderer("SkinnedMeshRenderer") {}
SkinnedMeshRenderer::~SkinnedMeshRenderer() {}
void SkinnedMeshRenderer::Update(float deltaTime) {}
void SkinnedMeshRenderer::Render() {}
bool SkinnedMeshRenderer::Compare... | [
"alsrudgns99@gmail.com"
] | alsrudgns99@gmail.com |
5636a0caa8cb2cc5707d23ddef5ace1b3287ff88 | 73978bf14650a1ff02b010f820a535fd12998be8 | /Roe Semester Project v2/slime.h | e7aa6c13ef698897b2e9263d23db5a3f2781aef5 | [] | no_license | ExecutiveElf/Roe-Semester-Project | ad3e3e4e91326d986e2d192afd51d117d90d78f4 | 308726e6732aeb879760d515573dec970c7ef45a | refs/heads/master | 2021-03-09T19:47:42.843767 | 2020-05-06T22:45:43 | 2020-05-06T22:45:43 | 246,373,979 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 135 | h | #ifndef slime_h
#define slime_h
#include "monsters.h"
class slime : public monster
{
public:
slime();
~slime();
private:
};
#endif
| [
"benroe650@yahoo.com"
] | benroe650@yahoo.com |
be21dbef01ab6364d8b5b03c6e76f90b28d54d4a | 41f637206721d2007ee32d90bdf9cefce7231b94 | /C/CaveEscape/src/cave_escape_10.cpp | b0134e888796b6e4f0cd470dcd6642570c998466 | [] | no_license | sylvietrewhella/cave-escape | e51f5fad3b86eec50c9025f4b1f701ebf7e63eb4 | 4db2560efeab980a71ccfa66d7c51870a9037601 | refs/heads/master | 2020-12-27T09:30:59.622456 | 2016-09-02T20:44:22 | 2016-09-02T20:44:22 | 67,190,675 | 0 | 0 | null | 2016-09-02T04:47:46 | 2016-09-02T04:47:46 | null | UTF-8 | C++ | false | false | 7,188 | cpp | #include <stdio.h>
#include <stdlib.h>
#include "SwinGame.h"
#define GRAVITY 0.08
#define MAX_SPEED 5
#define JUMP_RECOVERY_BOOST 2
#define FOREGROUND_FOREROOF_POLE_SCROLL_SPEED -2
#define BACKGROUND_SCROLL_SPEED -1
#define NUM_POLES 4
typedef struct pole_data
{
bool score_limiter;
sprite up_pole, down_pole;
} po... | [
"rwilson@swin.edu.au"
] | rwilson@swin.edu.au |
f948109352dcc4b9d5410b882440a5e413bcc354 | 7e11249f955dd694e8993d07701eb50ca89991c0 | /pro7-b.cpp | 2f873e2b2478333114e3bcf7ac0440801872650f | [] | no_license | priyanka-cse/ada_programs | a111b1f24eee0f98fbc8d588115efb0091a94d58 | 1fb9788c2c987194765fdbaa273015eacea23338 | refs/heads/master | 2020-06-30T23:41:11.953468 | 2019-11-20T07:08:35 | 2019-11-20T07:08:35 | 200,985,256 | 0 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 1,284 | cpp | #include<bits/stdc++.h>
using namespace std;
int max(int a, int b)
{
return (a > b) ? a : b;
}
int knapsack_dp(int n, int M, int w[], int p[])
{
int i,j;
int knapsack[n+1][M+1];
for(i=0;i<=n;i++)
knapsack[i][0]=0;
for(j=0;j<=M;j++)
knap... | [
"noreply@github.com"
] | noreply@github.com |
a33277c18a42edf32b203a4bbd516fc60515fc78 | 9a526e15a844d444fb1e3503efb67c8cc01c94d4 | /StructProgrammingLab2/lab3/lab3.cpp | 34daa59e91ea75c6e82fde50ffb4856c0eebbafc | [] | no_license | Pavkazzz/MephiStructProgramming | a6ab5082e39b048e3b2b1f34eed15d0259984f6d | b9c9add70fbfb5ad58478ff4a7809908e277d16d | refs/heads/master | 2020-06-30T17:14:28.881219 | 2017-05-03T04:46:10 | 2017-05-03T04:46:10 | 67,521,484 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 9,192 | cpp | #include <limits>
#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
#include <string.h>
#include "lab3.h"
OrderedTable::OrderedTable(const char *filename)
{
for (size_t i=0; i<MAX_SIZE; i++) {
node[i] = new Node;
}
this->filename = filename;
current_size = 0;
closest_after_sear... | [
"pavel-mosein@yandex.ru"
] | pavel-mosein@yandex.ru |
51d5f58cbb49b7a05a80783753f18155149e3304 | bdf536c4e5b51ade2ddbbb5deb03f39e6ba2e38c | /SFML/Enemy.cpp | 9aa4966f9730476175499549cee77edd9e0d7261 | [] | no_license | zemin-xu/adventure-of-lolo | 0b12a8048e1fb944f9b8e9ecb4f8b25f7cfa9259 | b9d1cf3a65a1c73b75b9e73f3f42a7f24ba088f0 | refs/heads/master | 2023-04-09T19:14:45.885912 | 2021-04-10T09:38:24 | 2021-04-10T09:38:24 | 214,372,547 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,033 | cpp | //
// Enemy.cpp
// SFML
//
// Created by ZEMIN on 17/10/2019.
// Copyright © 2019 ZEMIN. All rights reserved.
//
#include "LIB.hpp"
using namespace std;
Enemy::Enemy()
{
}
Enemy::Enemy(int x, int y, int length, int height, sf::Texture *texture, int numHorizontal, int numVertical, int kind) : Creature(x, y, l... | [
"zemin.xu@yahoo.com"
] | zemin.xu@yahoo.com |
d2099c5cebc28abd71df3955203a18ecb48aced7 | c6ce94e25e27870210d91fd9cfb1076d74696ad8 | /FlyEngine/src/Managers/CollisionManager.h | 77efaeb713f88106e1ae40e564623a63175eb13c | [] | no_license | fenilshingala/Robotest | 6e3dba4d1688f5b445b90fbcbb6011f9b7a8f1d9 | 72429fc86d003030669bb00ca2ae9f84b2665d39 | refs/heads/master | 2020-06-01T22:10:14.959145 | 2019-06-09T00:58:54 | 2019-06-09T00:58:54 | 190,945,529 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,168 | h | /* Start Header -------------------------------------------------------
Copyright (C) 2019 DigiPen Institute of Technology.
Reproduction or disclosure of this file or its contents without the prior
written consent of DigiPen Institute of Technology is prohibited.
Author: Shashwat Pandey, shashwat.pandey, 60003718
- End... | [
"fenil.shingala@digipen.edu"
] | fenil.shingala@digipen.edu |
8d895671fe6d3cede433955a4e391f2e924be784 | 08267d01cf96c7d2f22014ecb826b336ec141d2c | /prefix.cpp | bd77f746872347932569b56bef6c88837178e426 | [] | no_license | OldTraveller/RandomCodingProblems | 364ff0ed79df57a9ad813eb38766b3215be5f8c5 | 1ad836ade2e0e17c5ff5cfe4552faaf9f88193c9 | refs/heads/master | 2020-08-22T23:52:22.261650 | 2019-10-21T14:53:56 | 2019-10-21T14:53:56 | 216,500,570 | 0 | 1 | null | 2019-10-21T14:53:58 | 2019-10-21T07:08:52 | C++ | UTF-8 | C++ | false | false | 3,257 | cpp | #include <bits/stdc++.h>
using namespace std ;
using ll = long long ;
int main() {
ios :: sync_with_stdio(false) ;
cin.tie( nullptr ) ;
cout.tie( nullptr ) ;
int t ;
cin >> t ;
while( t-- ) {
string name ;
cin >> name ;
ll n ;
... | [
"noreply@github.com"
] | noreply@github.com |
858c8e3ad83ebfb58e9cba9ce589444306ac4aef | 40a3a2c715cb41e3d36888de28e1c386e4d98cf0 | /framework/Input/Headers/KeyToAscii.h | 54b8a2f0686f7faae7d60c4ca447d5101588858c | [
"MIT"
] | permissive | n0vasys/kigs | 4da3ee23b0f88a5c8d753e7782216a2e6cb88991 | a229516547f0de08b685ec78e40de5e5d03259e3 | refs/heads/master | 2022-10-23T10:11:50.953888 | 2020-06-17T15:07:14 | 2020-06-17T15:07:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,037 | h | #ifndef _KEY_TO_ASCII_H_
#define _KEY_TO_ASCII_H_
#include "CoreModifiable.h"
class KeyboardDevice;
// ****************************************
// * KeyToAscii class
// * --------------------------------------
/**
* \file KeyToAscii.h
* \class KeyToAscii
* \ingroup Input
* \brief abstract base class for key to a... | [
"antoine.fresse@assoria.com"
] | antoine.fresse@assoria.com |
0f8649601b37e342fa49e0b33ea1f882080e664f | 69c066e183cd3281dc1f9846d1c897d1b753bb78 | /Server/Source.cpp | 3892c18ade87644ae25a05633243b4dc01ee8379 | [] | no_license | Ernyoke/TCP-Chat-Server | 740294911e3c38a5c122280edb81a515048508d5 | 2f2f91669328925ca6cc41ee41df8f53ab5c4366 | refs/heads/master | 2020-06-05T12:27:07.545627 | 2014-05-08T05:34:20 | 2014-05-08T05:34:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,581 | cpp | #include "winsock2.h"
#include <map>
#include <iostream>
#include "User.h"
#include "ChatRoom.h"
#include "Data.h"
#include "Message.h"
using namespace std;
char RecvBuf[1024], SendBuf[1024];
int BufLen;
int main() {
map<int, User*> users;
map<int, ChatRoom*> rooms;
Data data;
// Initialize Winsock.
WSACleanu... | [
"ervin509@yahoo.com"
] | ervin509@yahoo.com |
8846eebf325f3231079802563dece433008336fd | d27fb219084a4cfa82bbee4073a63e5f0d1ecd5f | /Qlay/Core.cpp | ab642e6f9ddff74d40f1950f8dfb056a29998a5a | [
"MIT"
] | permissive | sjgriffiths/Qlay | 14e2a8c36fe4e2e2a5bc82742409de022c01feed | 7504399f4f862125727e5744d1439d0fb525f38c | refs/heads/master | 2020-03-30T14:21:25.579572 | 2019-01-16T00:21:43 | 2019-01-16T00:21:43 | 151,313,869 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 821 | cpp | /**
* @file Core.cpp
*
* Implements basic and global library functionality.
*
* @author Sam Griffiths
*/
#include "Core.h"
namespace qlay
{
std::default_random_engine rng;
void init()
{
rng.seed(static_cast<unsigned>(
std::chrono::high_resolution_clock::now().time_since_epoch().count()
));
}
void... | [
"13700330+sjgriffiths@users.noreply.github.com"
] | 13700330+sjgriffiths@users.noreply.github.com |
1d5aa07457687775143d2d3b2ced30e02df477b2 | da646f3e5daa38e140ae0d83906489b34727ddb4 | /detector_ultrasonic_sensors/ultrasonicSensorInterface/libraries/ros_lib/droneMsgsROS/UltrasonicRangeArduino.h | 547e874c159d1df266b84ac45b1074960d55f7a5 | [
"MIT"
] | permissive | sarthak268/Obstacle_Avoidance_for_Drone_Delivery | 2b1e671bbb651ba68aef48eca8fe4e43e3b10f77 | 7ca58e47a6d318b69af3a3daa55051fb16893493 | refs/heads/master | 2023-01-23T14:55:18.239476 | 2023-01-11T22:04:45 | 2023-01-11T22:04:45 | 134,289,715 | 32 | 18 | null | null | null | null | UTF-8 | C++ | false | false | 1,803 | h | #ifndef _ROS_droneMsgsROS_UltrasonicRangeArduino_h
#define _ROS_droneMsgsROS_UltrasonicRangeArduino_h
#include <stdint.h>
#include <string.h>
#include <stdlib.h>
#include "ros/msg.h"
#include "std_msgs/Header.h"
#include "std_msgs/UInt8.h"
namespace droneMsgsROS
{
class UltrasonicRangeArduino : public ros::Msg
{... | [
"sarthak16189@iiitd.ac.in"
] | sarthak16189@iiitd.ac.in |
d0aad383c0f978d2214d0556398f063cbb208421 | c80a6a3bfd29e1cfff7d8b55e8d66c19445641d8 | /quicksort.cpp | 631fb3cefa3e0a138291caf0ee6508f13a34fc7d | [] | no_license | sharababy/labexam2 | aa5b724f142f4a62401cd6c583626ea95d72e3e3 | f133cc7c7ddbbee8752350cdbfab6a176af8c3af | refs/heads/master | 2021-01-22T20:59:31.094941 | 2017-03-18T12:27:51 | 2017-03-18T12:27:51 | 85,381,485 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 897 | cpp | #include <iostream>
#include <stdlib.h>
#include <time.h>
using namespace std;
void quicksort(int array[],long long int start,long long int end);
long long int partition(int array[],long long int start,long long int end);
void quicksort(int array[],long long int start,long long int end){
int midplace;
if (st... | [
"shikhabassi@shikhabassis-MacBook-Air.local"
] | shikhabassi@shikhabassis-MacBook-Air.local |
8ee83b5fa8d120633ad74dd959618a642de2de98 | 04ac16c95f7b54c644e06020b68f1d1fb02ab7bb | /h/SEMAPHOR.H | 08657f293af5b0b949964132447785458cb35782 | [
"MIT"
] | permissive | ivanrakonjac/OS-kernel | 1cbdc00dc667a267f5728ba81b55f1462862ded2 | 94c64910dc900adc330455e61535443356c6ab5f | refs/heads/master | 2022-12-08T20:29:49.832106 | 2020-09-07T12:30:02 | 2020-09-07T12:30:02 | 204,068,074 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 415 | h | // File: semaphor.h
#ifndef _semaphor_h_
#define _semaphor_h_
typedef unsigned int Time;
class KernelSem;
class Semaphore {
public:
Semaphore (int init=1);
virtual ~Semaphore ();
virtual int wait (Time maxTimeToWait);
virtual int signal(int n=0);
int val () const; // Returns the current value of the semaphor... | [
"rakonjacivan98@gmail.com"
] | rakonjacivan98@gmail.com |
bed4f460a8afc464b8d056b850dbb173f21ff10e | 6afe2968e68f7e678a196b7335eb6e95d37aa378 | /generalized_packrat_parser.cc | bcd4b466b256adddd6661c53e7eaee239e1f4412 | [
"MIT"
] | permissive | NariyoshiChida/GPEG | 98aadf603ed566abf967ac50d18956bb51cc128b | 0c43fb40514e02fa6edf5636b41a885034f53d90 | refs/heads/master | 2020-05-21T21:00:46.013711 | 2017-02-09T17:06:17 | 2017-02-09T17:06:17 | 63,883,712 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 32,194 | cc | #include"generalized_packrat_parser.h"
#include"grammar.h"
#include"slash.h"
#include"char.h"
#include"alternation.h"
#include"node.h"
#include"sequence.h"
#include"gpeg_string.h"
#include<iostream>
#include<string>
#include<vector>
#include<cassert>
#include<deque>
#include<sstream>
#include<cmath>
#include<map>
#incl... | [
"nariyoshichidamm@gmail.com"
] | nariyoshichidamm@gmail.com |
bc0268aaea4e444881376806a7d19fc62a095947 | e84443e84862584ca69a4ee6bfe1656d96c9540b | /Queue.h | fdc0b9ce467dc815b0c8cf28c5f8ae21097c47b2 | [] | no_license | eemonn/separate-compilation | 70f218d3ee680e67d7a1146b9c0c90cb23badcbb | 5f49de471bc3897f682a21ec0bfe85887b1b614c | refs/heads/master | 2022-04-25T11:43:41.610796 | 2020-04-29T17:33:13 | 2020-04-29T17:33:13 | 259,995,437 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 542 | h | #pragma once
#include "ListItem.h"
class Node;
class Queue : public ListItem{
private:
Node *front; // front of queue.
Node *back; // back of queue
int size; // size of queue.
public:
Queue();
int getSize(); // how many elements are in queue?
bool isEmpty(); // is queue... | [
"noreply@github.com"
] | noreply@github.com |
2b0d3576e80ac316df548a36a960735017bfa771 | f362652d4ec9d5528a40e713034403c56a4386e9 | /Practica3/modelo_jerarquico.h | 719db321008d455fcda5894a9a8ef3d974d3f0fa | [] | no_license | xexugarcia95/IG | 663995e162959d8ed876c6716fa898d8d3316e4b | 78f9daa7976196af569ca180b5d0fd90beb3d51f | refs/heads/master | 2021-01-12T17:49:05.313741 | 2016-11-29T16:03:56 | 2016-11-29T16:03:56 | 69,396,244 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 797 | h | #ifndef _MODELO_JERARQUICO_H_
#define _MODELO_JERARQUICO_H_
#include <GL/glut.h>
#include <stdlib.h>
#include <vertex.h>
#include <vector>
#include "revolucion.h"
#include "model_ply.h"
#include "figura.h"
#include "cubo.h"
struct modelo_jerarquico : public figura
{
cubo cu=cubo(50);
modelo_jerarquico();
v... | [
"xexugarcia95@gmail.com"
] | xexugarcia95@gmail.com |
5b715a09f54e7fe82f5d2c33193b53d322378b7f | 133d0f38b3da2c51bf52bcdfa11d62978b94d031 | /testAutocad/vendor/ifc-sdk/src/ifc2x3/IfcSectionReinforcementProperties.cpp | baaa1249e462b70774532da1defc9fe76185833f | [] | no_license | Aligon42/ImportIFC | 850404f1e1addf848e976b0351d9e217a72f868a | 594001fc0942d356eb0d0472c959195151510493 | refs/heads/master | 2023-08-15T08:00:14.056542 | 2021-07-05T13:49:28 | 2021-07-05T13:49:28 | 361,410,709 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 12,404 | cpp | // IFC SDK : IFC2X3 C++ Early Classes
// Copyright (C) 2009 CSTB
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License, or (at your option) any late... | [
"antoine.cacheux@procal.fr"
] | antoine.cacheux@procal.fr |
8c40310501a12766ae0112c0132b316482f27316 | 0b715a5559280f99bf11d5e0ec08750505729c15 | /engine/source/gfx/D3D9/gfxD3D9TextureManager.h | 346933a9e2795c2a4c26cc0691d5685b93192a44 | [] | no_license | MBU-Team/OpenMBU | ee24dbd21eca66c9b269626d269e89b90fbcbcda | 4227ce343d3e1af20ec9a5548b1e65060fb208d4 | refs/heads/master | 2023-09-04T22:27:34.705946 | 2023-08-10T01:07:31 | 2023-08-10T01:07:31 | 338,863,302 | 71 | 16 | null | 2023-09-02T19:42:09 | 2021-02-14T17:41:11 | C++ | UTF-8 | C++ | false | false | 1,656 | h | //-----------------------------------------------------------------------------
// Torque Game Engine Advanced
//
// Copyright (c) 2003 GarageGames.Com
//-----------------------------------------------------------------------------
#ifndef _GFX_D3D_Texture_Manager_H_
#define _GFX_D3D_Texture_Manager_H_
#include "con... | [
"39096122+HumanGamer@users.noreply.github.com"
] | 39096122+HumanGamer@users.noreply.github.com |
3e99163365ba8bd0b4eafbc08dd3516e5fd1d92b | 6fc5748266fa1fa12d324d192dbc4edda5ea24fc | /code/ghostlib/Kinect2Starter.cpp | aa842d2d19c8ffc12cf8549900b698c2d426611c | [] | no_license | abardam/ghost-system | 906486d2e1bddcbdd6d697418a89c4eeae9ed3b0 | bd221326c890317cf37570a602e8856ed9a0fb91 | refs/heads/master | 2016-08-08T14:24:27.348627 | 2015-06-05T00:56:14 | 2015-06-05T00:56:14 | 20,339,932 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,691 | cpp | #include "Kinect2Starter.h"
#include "KinectManager.h"
#include <Kinect.h>
#include <iostream>
void DumpHR(HRESULT hr)
{
//
//if (hr < 0)
// hr += 0x100000000;
//if (hr & 0x80000000)
// std::cout << ("Error code") << std::endl;
//else
// std::cout << ("Success code") << std::endl;
//
//auto facility = (hr & 0... | [
"enzodayrit11@gmail.com"
] | enzodayrit11@gmail.com |
fea14a01307a98f84e89732abea8fe12b7dcb50f | aa4669a80c56029423c8587d9eac3f69c6d5a1fd | /testproj/bin/android/obj/src/flash/events/HTTPStatusEvent.cpp | 31e1213f27174d7a264b94affe6b959ee8045a4d | [] | no_license | shadowofsoul/testproj | aa9c04bfd72262f2aaaa5c1cf366ab2f5c5385ec | e31016cb0cedf7b966b166f99cfd41f36896ac1e | refs/heads/master | 2021-01-01T18:54:42.559141 | 2014-02-08T00:09:25 | 2014-02-08T00:09:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,786 | cpp | #include <hxcpp.h>
#ifndef INCLUDED_Std
#include <Std.h>
#endif
#ifndef INCLUDED_flash_events_Event
#include <flash/events/Event.h>
#endif
#ifndef INCLUDED_flash_events_HTTPStatusEvent
#include <flash/events/HTTPStatusEvent.h>
#endif
namespace flash{
namespace events{
Void HTTPStatusEvent_obj::__constru... | [
"david@y-developments.com"
] | david@y-developments.com |
887ff391111025c099dfbc7a1754dab79f89487a | 53bbde66a89cf44fa459509a0c5154df2a447494 | /tracking/src/tracker_object.cpp | 8e0b6d4d0e42e2cb6b02924699158eb2e654ec51 | [] | no_license | marketto89/open_ptrack | 0fb41c9d3047d79a0aa4116be9be73185ce2de86 | f3790b6aa1139f6b72c48ec43e8ee890e2fa704d | HEAD | 2019-07-06T15:58:08.375880 | 2017-09-26T21:34:58 | 2017-09-26T21:34:58 | 103,685,443 | 37 | 10 | null | null | null | null | UTF-8 | C++ | false | false | 18,681 | cpp | /*
* Software License Agreement (BSD License)
*
* Copyright (c) 2011-2012, Matteo Munaro [matteo.munaro@dei.unipd.it], Filippo Basso [filippo.basso@dei.unipd.it]
* Copyright (c) 2013-, Open Perception, Inc.
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modifi... | [
"carraromarco89@gmail.com"
] | carraromarco89@gmail.com |
e0cd1b4936b4e15f4bd5878e4db740186431d238 | 1dcb0ac0e3f62a61389677b1e3e938a49addac1d | /macroslib/tests/expectations/pass_objects_as_param_simple.cpp | 0dad17f6e4d3825ca10d50065b65ae08ab1c92fd | [
"BSD-3-Clause"
] | permissive | MichaelMcCulloch/rust_swig | 2815dfaf2da391372ad7861627852051074e21ce | bbd6e80916e548f9736d8bcf9be59740f6fa5e3d | refs/heads/master | 2020-06-02T14:58:07.707167 | 2019-06-10T15:52:27 | 2019-06-10T15:52:27 | 191,198,039 | 0 | 0 | BSD-3-Clause | 2019-06-10T15:48:40 | 2019-06-10T15:48:39 | null | UTF-8 | C++ | false | false | 1,957 | cpp | "typedef struct FooOpaque FooOpaque;";
"void TestPassObjectsAsParams_f1(const TestPassObjectsAsParamsOpaque * const self, const FooOpaque * a_0);";
"void TestPassObjectsAsParams_f2(const TestPassObjectsAsParamsOpaque * const self, FooOpaque * a_0);";
"void TestPassObjectsAsParams_f3(const TestPassObjectsAsParamsOpaque... | [
"dushistov@mail.ru"
] | dushistov@mail.ru |
785787f5fa58a5ba020ad14a276ea60e19a6d3db | 9bae2f8bddb7f62c6ef3bb0f8e0e66130dc62329 | /src/serialization/serializers/json/jsonDecoder.cpp | 4e5239a80927c442e4205bc95e1f810da607a294 | [] | no_license | smarrog/smr-library-cpp | 545ac0f3c0126996b004db8aa8d24c7e8db3cfc8 | e885fd6aee836d5f9629fe48255a5ff833b51b77 | refs/heads/master | 2020-05-16T13:57:07.756578 | 2019-07-02T15:39:08 | 2019-07-02T15:39:08 | 183,088,155 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,228 | cpp | #include "jsonDecoder.hpp"
#include "serialization/utils.hpp"
#include "serialization/exceptions.hpp"
#include <string>
#include <vector>
#include <map>
#include <iostream>
#include <sstream>
using namespace smr;
void checkWord(std::istream& is, const std::string& word) {
for (auto c : word) {
if (c != ... | [
"smr@live.ru"
] | smr@live.ru |
1316984b6c79691c6eacf5db7eb82fbd6e08f27a | 3f47459adef1cca22194f319c55a57f5c292fa6a | /CatBox/ClientUnit.h | af4bff8168e2aa00b0c320c8a34f456312941ccc | [] | no_license | BackupTheBerlios/catbox-svn | 1e5c5f4f5a74265edd1130942c4da558b6a6ed52 | 417501e72b941cc8ff70c3b19d4a24df6d2741ee | refs/heads/master | 2021-01-01T17:57:41.600175 | 2007-03-27T09:27:26 | 2007-03-27T09:27:26 | 40,667,414 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 239 | h | #ifndef CLIENTUNIT_H_
#define CLIENTUNIT_H_
#include <iostream>
#include "CSocket.h"
using namespace std;
class ClientUnit
{
protected:
public:
ClientUnit();
virtual ~ClientUnit();
CSocket *cClientSocket;
};
#endif /*CLIENTUNIT_H_*/
| [
"pixman@b0f48c23-7a0f-0410-98b5-b31d7b8841d2"
] | pixman@b0f48c23-7a0f-0410-98b5-b31d7b8841d2 |
eb51e87825a5b25b881a90a13baa963350a7c245 | 89dcccb951d343f1936a8329aa539ba5a4f6f91b | /방민형/비행기/비행기/stdafx.cpp | 3c47cc1d97babc50ab93f35929666976321fa16b | [] | no_license | nakta1617/sbs20120806 | 4d89f8f19c0283254b4d159384b6f3a6edadbf32 | f5dadb04028bd1b98300f02225dcd89d4051f78f | refs/heads/master | 2021-01-24T02:16:52.794883 | 2012-08-17T10:55:55 | 2012-08-17T10:55:55 | null | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 335 | cpp | // stdafx.cpp : 표준 포함 파일만 들어 있는 소스 파일입니다.
// 비행기.pch는 미리 컴파일된 헤더가 됩니다.
// stdafx.obj에는 미리 컴파일된 형식 정보가 포함됩니다.
#include "stdafx.h"
// TODO: 필요한 추가 헤더는
// 이 파일이 아닌 STDAFX.H에서 참조합니다.
| [
"raspisanie@naver.com"
] | raspisanie@naver.com |
93771ab8bbd5deb60b128f9ab45ae96593409a6c | fea3c6d33572d8968639746b8afdc6cfa4c400de | /SPOJ/AMR10A/AMR10A.cpp | 551768c9ddfee8f59c336ad111d6a5c42f8be05e | [] | no_license | linmx0130/OJCode | f99ae2163828891dfe05cd0510391dbfad27430c | fbadd1ab4640c85edc1d2a8e58cd570ecebb91fb | refs/heads/master | 2020-03-30T03:51:03.731960 | 2016-11-05T19:43:17 | 2016-11-05T19:43:17 | 5,111,571 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 733 | cpp | #include <cstdio>
#include <cstring>
#include <cstdlib>
#include <cmath>
#define MAXN 50005
int N,Q;
struct Point
{
double x,y;
Point operator- (Point & t)
{
Point ret;
ret.x=x-t.x;
ret.y=y-t.y;
return ret;
}
double det(const Point & t)
{
return x*t.y-y*t.x;
}
}D[MAXN];
double F[MAXN];
int main()
{
sc... | [
"linmx0130@163.com"
] | linmx0130@163.com |
c6916067e3f4261acc6093d9db27c8de69a38c17 | bd1fea86d862456a2ec9f56d57f8948456d55ee6 | /000/103/286/CWE427_Uncontrolled_Search_Path_Element__wchar_t_file_83.h | 6649a5dc3c72d6c2508cb092322692cedde4daf1 | [] | no_license | CU-0xff/juliet-cpp | d62b8485104d8a9160f29213368324c946f38274 | d8586a217bc94cbcfeeec5d39b12d02e9c6045a2 | refs/heads/master | 2021-03-07T15:44:19.446957 | 2020-03-10T12:45:40 | 2020-03-10T12:45:40 | 246,275,244 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,432 | h | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE427_Uncontrolled_Search_Path_Element__wchar_t_file_83.h
Label Definition File: CWE427_Uncontrolled_Search_Path_Element.label.xml
Template File: sources-sink-83.tmpl.h
*/
/*
* @description
* CWE: 427 Uncontrolled Search Path Element
* BadSource: file Read input from a ... | [
"frank@fischer.com.mt"
] | frank@fischer.com.mt |
701106d435825ff46c0e351e65210f58b4f59335 | 53758d03b112554ce9afbae9ea4f85acf9f5bb64 | /1_LinkedLists/38_removeLoop1.cpp | b74e6f579d647f24ee30f708d699d73bf00fce65 | [] | no_license | skalva404/geeksCoding | 47f3795cce9bbaa761b89a97667ed9231a3a783e | 58ae1d4a1b65bf849456209295fa0e696b51ed8c | refs/heads/master | 2020-04-26T17:25:14.069994 | 2015-06-22T06:39:59 | 2015-06-22T06:39:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,412 | cpp | //given a linked list detect if there is a loop nd remove it
//using hash map
//O(n) time
//O(n) space
#include<iostream>
#include<cstdio>
#include<cstdlib>
#include<map>
using namespace std;
struct node
{
int data;
struct node *next;
struct node *arbitptr;
};
typedef struct node Listnode;
typedef Listnode *Lis... | [
"subash.k3110@outlook.com"
] | subash.k3110@outlook.com |
439609be3a209fcb4b530676c628cc8b42b3f37a | 13ca0b6930f9c17684d0065c0dab34bfd1e0cca1 | /modules/client/sync/rooms/ephemeral.cc | 032b3281d9413f2b89e0884d1c1414b3a78226be | [
"BSD-3-Clause",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | InspectorDidi/construct | 064ea432c30a71a5e0ba100e623d334418234588 | 64a5eec565ab8664a010de31ba72a569206f3eef | refs/heads/master | 2020-07-03T13:57:32.453475 | 2019-08-09T02:58:44 | 2019-08-09T03:01:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,710 | cc | // Matrix Construct
//
// Copyright (C) Matrix Construct Developers, Authors & Contributors
// Copyright (C) 2016-2018 Jason Volk <jason@zemos.net>
//
// Permission to use, copy, modify, and/or distribute this software for any
// purpose with or without fee is hereby granted, provided that the above
// copyright notice... | [
"jason@zemos.net"
] | jason@zemos.net |
34f087549b2a460f1a064531c385e9c09129198d | 9bf61dc28ecf9e3ed884964685776a84c4719639 | /Algorithms/Symmetric Tree/SymmetricTree.cpp | 4574de68f0b95bd997625c2537a0f78566bc74e4 | [] | no_license | ms31dc/LeetCode | 3e9aea86a340ff8d72c448cb66b9d8d11827d26d | 2f6770ee242f86a58ad913d474611869f062f4ba | refs/heads/master | 2021-05-19T18:43:00.628710 | 2019-05-04T06:58:58 | 2019-05-04T06:58:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,650 | cpp | /**
* Definition for a binary tree node.
* struct TreeNode
* {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(x), left(NULL), right(NULL) {}
* };
*/
class Solution
{
public:
bool isEqual(TreeNode* root1, TreeNode* root2)
{
if(root1 == NULL && root2 ==... | [
"noreply@github.com"
] | noreply@github.com |
bd5c2e551af43b61c982e6b4d1932e2059fc3d69 | 5febc6cd3ba376e7cc8249c0316612cdbac9fd2d | /MapWalker.cpp | 595fc8668bd65f095a4c1080e5ddc67e30b45b3b | [] | no_license | thecherry94/Tilestrategy | a9582683c1420616f010b3529faf84a038f4fae7 | 62414818bca275e8b886cef8df40fbb914ad65bd | refs/heads/master | 2021-01-19T13:30:02.255912 | 2017-04-30T16:57:00 | 2017-04-30T16:57:00 | 88,092,512 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,516 | cpp | #include "MapWalker.hpp"
MapWalker::MapWalker()
{
}
MapWalker::MapWalker(Tilemap* p_map, sf::Vector2u pos, sf::Sprite& sprite, float speed)
: _p_map(p_map), _pfstate(NONE), _walk_idx(0), _walk_speed(speed)
{
setPosition((sf::Vector2f)pos);
setScale(_p_map->getScale());
_sprite = sprite;
}
void MapWalker::draw(... | [
"philipp.kirsch94@googlemail.com"
] | philipp.kirsch94@googlemail.com |
d2551ab81e6eff72e24cf521804ddb9bc5becb5b | 514da49aba89d420d127d886fa2832c610b2d127 | /src/server.cpp | b1b0c680c95a17d1cd217979bc4b18cffb3624ca | [] | no_license | k3v1n1990s/DNS | eeed7205c9944afb533d79913bfad43b25572a31 | 6d5a3657126459304e06c466d5bb92be2ac3cd48 | refs/heads/master | 2022-01-05T13:42:30.170411 | 2018-09-17T13:31:22 | 2018-09-17T13:31:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,341 | cpp |
#define _WIN32_WINNT 0x0601
#include "server.h"
#include <boost/property_tree/json_parser.hpp>
[[nodiscard]] auto DNSServerCreateInfo::CreateFromFile(std::string const & fileName) -> DNSServerCreateInfo {
boost::property_tree::ptree config;
boost::property_tree::read_json(fileName, config);
DNSServerCreateInf... | [
"misha.friman@mail.ru"
] | misha.friman@mail.ru |
f7d7c216c7fa8b4d4bdd4297b2a62429e80d07c7 | c64090331e744ad3671d0ea72685847320245b0b | /C++ book/02-09/argc_argv.cpp | 39a47b0246476a18750b18d3c070b44e7501bf49 | [] | no_license | VigneshKumarKK/C-_training | ad21f8f4c530aca5b2c45c2f0f10450727cbe1ad | 3a06157a2a9cbbf385ef4e318d266b3351c8c4a9 | refs/heads/main | 2023-08-03T13:07:10.881755 | 2021-09-12T10:38:45 | 2021-09-12T10:38:45 | 400,407,338 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 215 | cpp | #include <iostream>
using namespace std;
int main(int argc, char** argv)
{
cout << "You have entered " << argc
<< " arguments:" << "\n";
for (int i = 0; i < argc; ++i)
cout << argv[i] << "\n";
return 0;
}
| [
"vigkec@gmail.com"
] | vigkec@gmail.com |
818235291b97067b5af4b1b4e13b4f38e9e9a86f | 9c5e26500d320b9dce13896c3afcb3d2fc6ebe0b | /services/identity/public/cpp/identity_manager.cc | 19efa647cf67a3ebcff473e94bed390ea8063e13 | [
"BSD-3-Clause"
] | permissive | zhaoming0/chromium-src | 835b2f1c4a00cce65dc5452157e16cf871d567a0 | ddccd3f6dba62870a038ecb7d68b28038fcbe5d9 | refs/heads/master | 2023-01-15T15:35:00.825036 | 2018-01-17T22:34:16 | 2018-01-17T22:34:16 | 167,121,109 | 0 | 0 | null | 2019-01-23T05:10:44 | 2019-01-23T05:10:43 | null | UTF-8 | C++ | false | false | 6,348 | cc | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "services/identity/public/cpp/identity_manager.h"
#include "base/memory/ptr_util.h"
#include "base/threading/sequenced_task_runner_handle.h"
nam... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
a10e4f83d8fdc11ad7797db4bcf034f9062ed1d6 | 5d9db0b557a1433e6cc6d9bb46c34967ba6f6b97 | /cpp/LabGraph/Graph.h | 5db6c6944a369b90787fa5baa9e623245382f30d | [] | no_license | rouol/LabGraph | 153e34161d4f91caf3010a3aad49da212899becd | cfdeac1c2907822906935014d850b98e0425af19 | refs/heads/master | 2023-02-01T03:40:32.348007 | 2020-12-13T00:28:03 | 2020-12-13T00:28:03 | 320,948,780 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,305 | h | #pragma once
#include <map>
#include "Sequence.h"
#include "PriorityQueue.h"
//template <typename T>
//using Matrix = ArraySequence<ArraySequence<T>>;
using MatrixInt = ArraySequence<ArraySequence<int>>;
class Graph {
public:
virtual ~Graph() {}
virtual int CountVertex() const = 0;
virtual void AddArc(int from, in... | [
"karrauln@yandex.ru"
] | karrauln@yandex.ru |
fd1c1f4798c817ad0fa9408eebf9b6695b423b7e | d5890e285b5d6d5789b0138f4ccd6bc478b36a00 | /foodcreator.h | 565d2da43a021cc0f74008089a43936eee5ed3ae | [] | no_license | Plizzz/Snake | 9a91f3655c9d90d0f7ccd2261fc8b7a8921289b3 | 0f47a2135b26711ec6f87d4f3a97555e7ec7f541 | refs/heads/master | 2021-01-12T12:46:09.456312 | 2016-10-14T09:53:43 | 2016-10-14T09:53:43 | 69,856,025 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 262 | h | #include "point.h"
#ifndef FOODCREATOR_H
#define FOODCREATOR_H
class Foodcreator
{
private:
int mapwight;
int mapheight;
char sym;
public:
Foodcreator(int mapwight, int mapheight, char sym);
Point CreateFood();
};
#endif // FOODCREATOR_H
| [
"pau7.1994@gmail.com"
] | pau7.1994@gmail.com |
fedce836118c8bcfb16781749aec61a70de3c543 | 26cffb726d50c3105f0ac29f74aae2cce4928bec | /Tut10 Specular lighting/lightclass.h | cdfa78edc3fcc8a120d6064ce0c2f716f151fcf6 | [] | no_license | jwkapple/DirectX11-Study | ce4388f49dbed14d2bd1500a24a15ecda66cfc24 | 88b0b61d9b02024a60e95ac669d6a30de8342cb1 | refs/heads/master | 2022-10-14T19:46:52.081137 | 2019-03-05T06:59:21 | 2019-03-05T06:59:21 | 168,720,700 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 663 | h | #pragma once
#include <DirectXMath.h>
using namespace DirectX;
class LightClass
{
public:
LightClass();
LightClass(const LightClass&);
~LightClass();
void SetSpecularPower(float);
void SetSpecularColor(float, float, float, float);
void SetAmbientColor(float, float, float, float);
void SetDiffuseColor(float, f... | [
"jwkorange@gmail.com"
] | jwkorange@gmail.com |
bc6d47a9dbdf9d188a3267baad84d192ec2d85d8 | acf10cd62a1d20c84b80f8c743e0e296b60dae84 | /comprehensive_case/SavingsAccount.h | 1e04b190fdca21db969a06706cf3711103a00b5b | [] | no_license | LuckyCode1992/c-study | 6b60e87e8a2644e1b6ef255fae1f3c74a6484119 | ebb94db5685c065423f9ba5b971e3c26be360f93 | refs/heads/master | 2020-05-14T12:51:37.076569 | 2019-05-05T07:44:54 | 2019-05-05T07:44:54 | 181,800,732 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,109 | h | //
// Created by hxl on 2019/4/22.
//
#ifndef C_STUDY_SAVINGSACCOUNT_H
#define C_STUDY_SAVINGSACCOUNT_H
class SavingsAccount {
private:
int id; //账号
double balance;//余额
double rate;//存款的年利率
int lastDate;//上次变更余额的时间
double accumulation;//余额按日累加之和
//记录一笔账,date为日期,amount为金额,desc为说明
void rec... | [
"hxl19920401"
] | hxl19920401 |
4be989616d38a9e78fb1564c262589e45c8e35d9 | a88afe59192bd7327b870d5f1c3fd2589f480d46 | /include/musicalpatternmodel.h | c9f075e84979dbc0e044c2076b297d29e792d705 | [] | no_license | DIME-TILL-DEATH/Metronome | 6b61c96af86974acb139ffc038c00fdeb899b332 | be1003c34965915daa68c8d887064220859f40a4 | refs/heads/master | 2023-06-25T16:40:30.025966 | 2021-07-18T09:03:12 | 2021-07-18T09:03:12 | 372,821,405 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,200 | h | #ifndef MUSICALPATTERNMODEL_H
#define MUSICALPATTERNMODEL_H
#include <QAbstractListModel>
#include <QObject>
#include <QList>
#include <QHash>
#include "musicalnote.h"
#include "musicalbar.h"
#include "musicalpattern.h"
class MusicalPatternModel : public QAbstractListModel
{
Q_OBJECT
public:
MusicalPatternMo... | [
"uaas@list.ru"
] | uaas@list.ru |
64bcf90e5e63142f225d4ed2498c6f9d3f3dfe57 | 4b187bd1e89f6bcce100b7bd05b4ff202522bc4d | /OnlineJudgeSolutions/Codeforces/codeforces 1099D.cpp | 78be1dcf2375acda3083d5206a9057929cb07967 | [] | no_license | codefresher32/CompetitiveProgramming | e53133a906081e7931966216b55d4537730d8ba3 | 923009b9893bdb0162ef02e88ea4223dc8d85449 | refs/heads/master | 2021-04-13T06:51:04.428078 | 2020-03-24T13:40:16 | 2020-03-24T13:40:16 | 249,144,621 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 814 | cpp | #include<bits/stdc++.h>
using namespace std;
typedef long long ll;
vector<int>G[100005];
int a[100005],mn;
bool vis[100005],f;
void dfs(int s,int mx)
{
vis[s]=1;
for(int v:G[s]){
if(!vis[v]){
if(mx>a[v]&&a[v]){
f=1;
}
dfs(v,max(mx,a... | [
"noreply@github.com"
] | noreply@github.com |
a6dd87e537c4cbfc0a2414a765e234f0c81e89a4 | 6c6e0c89cc895901cbd4667d500603d6160d386f | /Dialog/dis_gui_tablet.hpp | 1d4dc473b068dfc33d52695d37d48a612f1d6b6d | [] | no_license | rjy7wb/Dissension.Tanoa | 497b97264fd8768ccd70f04c49fe5585ba622ac1 | 7a41356a66058d495ead683d1c594197afe3c4ff | refs/heads/master | 2021-01-01T19:45:32.990291 | 2017-07-11T06:36:22 | 2017-07-11T06:36:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,490 | hpp | #define true 1
#define false 0
class RscDisTablet
{
idd= 27000;
movingEnable = false;
enableSimulation = true;
fadein=0;
duration = 1e+011;
fadeout=0;
onLoad= "_this select 0 displayCtrl 27300 ctrlShow false";
controlsBackground[]={};
controls[]=
{
RscTabletBack,
RscTabletTree,
RscTextInfo,
RscTable... | [
"djsmith123@msn.com"
] | djsmith123@msn.com |
b9747dc9937442bda9061e2ef6889db130e73308 | 29dec11a2447cc9e8e301bbfa9db28491eb76f1e | /src/core/templarg/cmp.hxx | d74c8f5ea55a4adc991359a13acd98a9744a49fa | [] | no_license | kvr000/drt | 897a706523132b2a92273144da993a300947b555 | 28d859693046ecf96cdc70052bb4e2629833c740 | refs/heads/master | 2022-05-01T10:42:10.695069 | 2022-03-27T02:34:05 | 2022-03-27T02:34:05 | 222,618,569 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,793 | hxx | /**
* drt library
*
* drt multiplatform development toolkit
*
* ----------------------------------------------------------------------------------
*
* Copyright (C) 2004-2008 Zbyněk Vyškovský
*
* ----------------------------------------------------------------------------------
*
* LICENSE:
*
* This file i... | [
"kvr000@gmail.com"
] | kvr000@gmail.com |
f842c67dc9d14fbec207fe4f084e8f828f9aa7b4 | 3938e2c780cd630af677d8ae0a1fd8bbd3c6fb64 | /SelectedTextTranslate/Source/Utilities/StringUtilities.h | 468f3a74a6d32550c990914efc0c005369fc6e94 | [] | no_license | killerDJO/SelectedTextTranslate | 7c4b34034115533e277e97df86eeef1c9b020943 | 17c9c3d8fdaf536e72f8d855e3de2a4a85ce4099 | refs/heads/master | 2020-04-06T06:29:04.591612 | 2017-10-28T18:13:10 | 2019-01-07T15:15:35 | 15,632,609 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 772 | h | #pragma once
class StringUtilities
{
public:
static wstring GetUtf16String(string text);
static wstring GetUtf16StringFromChar(const char* text);
static string GetUtf8String(wstring text);
static string GetUtf8StringFromChar(const wchar_t* text);
static wstring GetJsonString(nlohmann::json value)... | [
"killerDJO@gmail.com"
] | killerDJO@gmail.com |
73361284dec8135cec76cd8842908d7dcb7c8df9 | 347fdd4d3b75c3ab0ecca61cf3671d2e6888e0d1 | /addons/vaOsc/libs/oscpack/src/OscOutboundPacketStream.cpp | b8e59fa562f0cd8cc43fb0565c1609810c1f30c9 | [] | no_license | sanyaade/VirtualAwesome | 29688648aa3f191cdd756c826b5c84f6f841b93f | 05f3db98500366be1e79da16f5e353e366aed01f | refs/heads/master | 2020-12-01T03:03:51.561884 | 2010-11-08T00:17:44 | 2010-11-08T00:17:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,362 | cpp | /*
oscpack -- Open Sound Control packet manipulation library
http://www.audiomulch.com/~rossb/oscpack
Copyright (c) 2004-2005 Ross Bencina <rossb@audiomulch.com>
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files
(the "Softwar... | [
"stefan@nortd.com"
] | stefan@nortd.com |
de9be65a03ccdb7b40fabb1474c2b56552221063 | 455a676e549f1fc1f889d7536c921126476acca2 | /llvm/lib/IR/BasicBlock.cpp | 9af2c664166705bcbfac02d01c9e4083454a11ee | [
"LicenseRef-scancode-other-permissive",
"NCSA",
"MIT",
"LLVM-exception",
"Apache-2.0"
] | permissive | neboat/opencilk-ppopp-23 | db342b1c1e83af424df7f5b1809c1ec1d19abf09 | 3fd08f23ef9b792f4a55e7aeebc7d44beddf3532 | refs/heads/main | 2023-04-13T22:44:17.301592 | 2023-01-06T22:16:27 | 2023-01-06T22:16:27 | 565,455,474 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,621 | cpp | //===-- BasicBlock.cpp - Implement BasicBlock related methods -------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | [
"neboat@mit.edu"
] | neboat@mit.edu |
226df106d3ac6f53f0b1e52d795414f8f7151df9 | 6984b40d7046fcf1f18a93cff9585176b1b692f4 | /ĐỒ ÁN TH KTLT/1712884/Project/main.cpp | d5df1403c4d2a49fdf0c31630ae74af7f79c7603 | [] | no_license | nguyennthanhhtungg/-N-TH-KTLT | 4d5f8dfb6095105370f5aaddeb92617a1194880e | 03c8c50fb44e0d2dfe900430dfd3b7ebe0d1d1da | refs/heads/master | 2020-03-14T06:28:03.293818 | 2018-05-17T16:31:17 | 2018-05-17T16:31:17 | 131,484,742 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 29,429 | cpp | #define _CRT_SECURE_NO_WARNINGS
#ifdef UNICODE
#define UNICODE
#endif
#include <iostream>
#include <conio.h>
#include <Windows.h>
#include <thread>
#include <time.h>
#include <fstream>
using namespace std;
#pragma comment(lib, "winmm.lib")
//Hằng số
#define MAX_CAR 17
#define MAX_CAR_LENGTH 20
#define MAX_SPEED 3
... | [
"nguyenthanhtung990818@gmail.com"
] | nguyenthanhtung990818@gmail.com |
73263779ee3f91a4752277f0d651c68562c6f388 | 696e35ccdf167c3f6b1a7f5458406d3bb81987c9 | /chrome/browser/chromeos/login/screens/multidevice_setup_screen.cc | c7346f8afdfc0a04c9850ae9ceda2d040f9a0f33 | [
"BSD-3-Clause"
] | permissive | mgh3326/iridium-browser | 064e91a5e37f4e8501ea971483bd1c76297261c3 | e7de6a434d2659f02e94917be364a904a442d2d0 | refs/heads/master | 2023-03-30T16:18:27.391772 | 2019-04-24T02:14:32 | 2019-04-24T02:14:32 | 183,128,065 | 0 | 0 | BSD-3-Clause | 2019-11-30T06:06:02 | 2019-04-24T02:04:51 | null | UTF-8 | C++ | false | false | 3,544 | cc | // Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/chromeos/login/screens/multidevice_setup_screen.h"
#include "base/feature_list.h"
#include "base/logging.h"
#include "base/metri... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
8e1a8fa9f4ed194d56e129ba5f4eef7901b84bf6 | ea19bf6e584237823c73980a9bfcce7d4feeddb9 | /General_NetSDK_Chn_Win32_IS_V3.42.0.R.141029/NetSDK_Chn_Bin/演示程序源码/分类应用/参数配置/ClientDemo5/DlgDVR.h | 6cb016e3523a13f04b4908ecb89be48a86109f29 | [] | no_license | fantasydreams/VS | ba6989bab048e718461207b0946c62b32f25471d | 49a141e41952b2a841e7951eb55c1e399c8c3bc0 | refs/heads/master | 2020-04-05T10:12:16.663691 | 2015-04-07T15:21:35 | 2015-04-07T15:21:35 | 29,297,592 | 2 | 3 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 1,605 | h | #if !defined(AFX_DLGDVR_H__0BE1B67A_144A_4D50_80BC_4A84BDFFF514__INCLUDED_)
#define AFX_DLGDVR_H__0BE1B67A_144A_4D50_80BC_4A84BDFFF514__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DlgDVR.h : header file
//
#include "dhnetsdk.h"
#include "DlgMsgHandle.h"
#include "dhconfigsdk.h"
///////////... | [
"1164695923@qq.com"
] | 1164695923@qq.com |
71a1285f30e1e76f767000ed3fa5b100dbbb6e4b | 3cf79286ee1ffa88ce4033599c40519271bc4af7 | /Week02/230A.cpp | 713a309a514fc8ed50af69ff22f618ba3211a7e9 | [
"MIT"
] | permissive | AAlab1819/izzyengelbert-00000018656 | 3362bf50f335d23bb52b95e895f7cb238ea9f898 | db39c00ebb0fce76b457c49b7a6bd2c9ad522e2e | refs/heads/master | 2020-03-27T14:59:05.589858 | 2018-10-31T17:27:23 | 2018-10-31T17:27:23 | 146,691,211 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,926 | cpp | #include <iostream>
using namespace std;
int partition(int arr[], int arr1[], int low, int high);
void quicksort(int arr[], int arr1[], int low, int high);
void quickSort(int arr[], int arr1[], int low, int high)
{
int pi;
if (low < high)
{
/* pi is partitioning index, arr[p] is now
at... | [
"izzyengelbert@gmail.com"
] | izzyengelbert@gmail.com |
5c2beb09872359704eacec3636f8fa58f7ea4e8a | 44cf55a4c2eed8da013236ee312673f7e1e4566e | /ideas/procpp/mixin_handler/tests/httpgateway.cpp | 5c46998331d6833a31ced00934f95ae2269b0d16 | [] | no_license | wangxx2026/universe | fe0709a0b2dd289815a481cad98a28b3a43b5f5f | d10dd5517e53d196da6a38c1530384093a9812db | refs/heads/master | 2020-03-21T17:45:12.260873 | 2018-03-08T02:51:00 | 2018-03-08T02:51:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 491 | cpp | #include "ReactHandler.h"
int main()
{
ClientServer server;
HttpGateway proto(server);
server.on<HttpGateway::ON_REQUEST_URI>(Utils::to_function([&server](HttpRequest& req, HttpProviderAddress& target_address, bool& ok) {
ok = true;
target_address.host = "blog.csdn.net";
target_add... | [
"652732310@qq.com"
] | 652732310@qq.com |
84f816ca58dd75709ff5a4de9b48ce4e016afa1a | d681c2fea675acfe3e0eed164248fa661f16593c | /tests/impl/containers_traverse_test.cpp | ff2e71a33acb8b256d3eb6f45295599e608b39e7 | [
"BSD-3-Clause"
] | permissive | opensoft/asynqro | 5efc081aa7b5a607f3b7267fbe3959ff986d87f0 | 23cac7e31bc5719a207fcb77e370bfeebaaf7593 | refs/heads/master | 2020-04-24T04:48:51.222426 | 2019-01-21T02:26:29 | 2019-01-21T02:35:48 | 171,717,061 | 4 | 0 | BSD-3-Clause | 2019-02-20T17:16:58 | 2019-02-20T17:16:58 | null | UTF-8 | C++ | false | false | 13,730 | cpp | #include "asynqro/impl/containers_traverse.h"
#include "gtest/gtest.h"
#include <QHash>
#include <QLinkedList>
#include <QList>
#include <QMap>
#include <QSet>
#include <QVector>
#include <list>
#include <map>
#include <set>
#include <unordered_map>
#include <unordered_set>
#include <vector>
using namespace asynqro... | [
"kormalev.denis@gmail.com"
] | kormalev.denis@gmail.com |
dc3b97fb9856bab0a9dda5b02e010a948e47101c | 60e7862f77f07a35a3d599d703b8909a66a9d4b6 | /include/votca/ctp/polarfrag.h | bf42e991e6a4c1c03a7009f7bfe46cc7f6c1cf9e | [
"Apache-2.0"
] | permissive | jimbach/ctp | bbe2eb682ca14f08cab426455a9638230d43ff18 | e5b33f074f81c6e6859dfaacada1b6c992c67c2b | refs/heads/master | 2021-01-02T05:56:47.850923 | 2019-11-22T22:55:19 | 2019-11-22T22:55:19 | 239,518,739 | 0 | 0 | Apache-2.0 | 2020-02-10T13:30:08 | 2020-02-10T13:30:08 | null | UTF-8 | C++ | false | false | 1,676 | h | #ifndef VOTCA_CTP_POLARFRAG_H
#define VOTCA_CTP_POLARFRAG_H
#include <votca/ctp/apolarsite.h>
#include <boost/serialization/vector.hpp>
#include <boost/serialization/base_object.hpp>
namespace votca { namespace ctp {
// Forward declarations
class PolarSeg;
class PolarFrag : public std::vector<APolarSite*>
... | [
"carl.poelking@mpip-mainz.mpg.de"
] | carl.poelking@mpip-mainz.mpg.de |
7699be46f158db573474e4d72c06984be05ab407 | 0f9b27ccd0f7ab7a114569e493800fc5c8da6050 | /data_structures/SelectionSort.cpp | 472938a4a04705983baf9caf6314b1d8d3859c92 | [] | no_license | LifeofAGeek/cpp-practice | bc9ccf9f5f377252cc1817a204b29dd8e9bf9693 | e4161941f7912efab5d48b3b0a7732c9c2ee6ace | refs/heads/master | 2022-11-24T09:22:54.794271 | 2020-07-23T04:40:03 | 2020-07-23T04:40:03 | 281,887,321 | 0 | 0 | null | 2020-07-23T07:51:15 | 2020-07-23T07:51:14 | null | UTF-8 | C++ | false | false | 794 | cpp | #include <iostream>
using namespace std;
void selection_sort(int arr[], int n)
{
for (int i = 0; i < n - 1; i++)
{
int min_index = i;
for (int j = i+1;j<n;j++)
{
if (arr[j]<arr[min_index])
{
min_index = j;
}
}
int temp ... | [
"aditya.mca19.du@gmail.com"
] | aditya.mca19.du@gmail.com |
1750fc5e96fc116d329c06c93501bf0c77ad442d | 4afc6182476e8e381ea0913f7b1205edf384a029 | /.build/iOS-Debug/include/app/Fuse.Scripting.NativePromise2_PromiseClosure__string__string.h | 4e854551200347e5daa40c9e9456fb50284a82c6 | [] | no_license | noircynical/soscon_demoproject | 45a4b5594582447001c2895e24cf2e6566095a63 | aab19822fb8bc46715e6b41ac785faf7a128d9e7 | refs/heads/master | 2021-01-10T05:41:33.994651 | 2015-10-28T04:27:43 | 2015-10-28T04:27:43 | 45,085,497 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,042 | h | // This file was generated based on '/usr/local/share/uno/Packages/Fuse.Scripting/0.11.3/$.uno'.
// WARNING: Changes might be lost if you edit this file directly.
#ifndef __APP_FUSE_SCRIPTING_NATIVE_PROMISE2_PROMISE_CLOSURE__STRING__STRING_H__
#define __APP_FUSE_SCRIPTING_NATIVE_PROMISE2_PROMISE_CLOSURE__STRING__STRIN... | [
"0101rgb@gmail.com"
] | 0101rgb@gmail.com |
1917a8a389c47e5c35625378399483c6d66332f5 | 1e6c47ffab5e5a17bce613be57695b8eaf9a5ef2 | /Week_09/最后一个单词的长度.cpp | 3e420a14f33590cb3343df0db192caca02ead2a4 | [] | no_license | wh15513683215/algorithm016 | dc79254c5f0133b3cfe4439ddd702c5d17077595 | 8566dd54bfd5c613aa43530b264dd44a7058420d | refs/heads/master | 2023-01-22T03:03:26.393577 | 2020-11-26T15:18:38 | 2020-11-26T15:18:38 | 293,465,111 | 0 | 0 | null | 2020-09-07T08:17:48 | 2020-09-07T08:17:47 | null | UTF-8 | C++ | false | false | 306 | cpp | class Solution {
public:
int lengthOfLastWord(string s) {
int index = s.size() - 1;
// 去后导0
while (index >= 0 && isspace(s[index])) --index;
int cnt = 0;
// 开始统计
while (index >= 0 && isalpha(s[index--])) ++cnt;
return cnt;
}
};
| [
"wh15513683215@163.com"
] | wh15513683215@163.com |
31861a305eed56a382996c97d76615e14040f8a7 | 3be032c14c9b659ba4c1dfd599f8c85257688317 | /dist/ios/include/Fuse.Input.PointerReleased.h | 6f37083b8c84e0d1551a69a5b8bbb10e90355898 | [] | no_license | gncvalente/18app | 5433674c6f86d204af81290aa61eef07bb897cf5 | 40968aa4e3e7c044ce14cd2488313dd5a45d9b1b | refs/heads/master | 2021-07-21T01:43:39.091532 | 2017-10-31T12:44:48 | 2017-10-31T12:44:48 | 106,106,556 | 3 | 0 | null | 2017-10-07T15:02:43 | 2017-10-07T15:02:43 | null | UTF-8 | C++ | false | false | 930 | h | // This file was generated based on /usr/local/share/uno/Packages/Fuse.Nodes/1.3.1/Input/PointerEvents.uno.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Fuse.Input.PointerReleasedArgs.h>
#include <Fuse.Input.PointerReleasedHandler.h>
#include <Fuse.VisualEvent-2.h>
namespace... | [
"giuseppe.toto@gmail.com"
] | giuseppe.toto@gmail.com |
6eecd5b5773f47d0f200aa4a25374f21276a98c2 | fba41f794edf2b3b8349504290c2f3c6275a56c4 | /Code C++/STL Code/Upper_bound.cpp | ca1432b7c0bd3dbb4b66c629fe109cd32a58d83e | [] | no_license | Nirob-0812/Cpp-Code | df7485b97b053baeb47055d47cc05c67d0815156 | af73be5a2e472739b1dca1a6d86fb6b33d3cf1f3 | refs/heads/main | 2023-02-28T22:25:57.805178 | 2021-01-27T10:04:51 | 2021-01-27T10:04:51 | 333,297,406 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 414 | cpp | #include<iostream>
#include<vector>
#include<string>
#include<iterator>
#include<algorithm>
using namespace std;
int main()
{
vector<int>vec={1,3,4,5,6,8,9};
vector<int>::iterator it;
it=upper_bound(vec.begin(),vec.end(),1);
cout<<((it==vec.end())?"Not Found":to_string(*it));
//if(it==v... | [
"noreply@github.com"
] | noreply@github.com |
1f6efecb0ab1f672fcd83618a1261cfae135c371 | d49f64c9a31bc9a253d61fd5d1c198dca7be3cc7 | /mediapipe/python/pybind/image_frame.cc | 0747f08f1b08ec72e34aa6eeb04e684d952b4d49 | [
"Apache-2.0"
] | permissive | Weco/mediapipe | 9a38524dc5b864b072aecf13dfc9bcb5d944ffdc | 01e253f80a68bd812b18b94267d398de13775907 | refs/heads/master | 2023-01-23T19:44:57.649655 | 2020-11-13T17:26:03 | 2020-11-13T17:26:03 | 312,380,765 | 2 | 0 | Apache-2.0 | 2020-11-12T20:17:14 | 2020-11-12T19:52:15 | null | UTF-8 | C++ | false | false | 14,901 | cc | // Copyright 2020 The MediaPipe Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or a... | [
"chuoling@google.com"
] | chuoling@google.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.