blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 905
values | visit_date timestamp[us]date 2015-08-09 11:21:18 2023-09-06 10:45:07 | revision_date timestamp[us]date 1997-09-14 05:04:47 2023-09-17 19:19:19 | committer_date timestamp[us]date 1997-09-14 05:04:47 2023-09-06 06:22:19 | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 22
values | gha_event_created_at timestamp[us]date 2012-06-07 00:51:45 2023-09-14 21:58:39 ⌀ | gha_created_at timestamp[us]date 2008-03-27 23:40:48 2023-08-21 23:17:38 ⌀ | gha_language stringclasses 141
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 115
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
67e199f18f53cb3df960fbe04c1d5e42ea7dce84 | 8fca09e098da3cdefae5341f182e3bbfc5a755fb | /PromptYN.cpp | 547faef352c1cc5c770d5a25942b4b741774ead9 | [] | no_license | TheDitis/HangMan | ff056bdfac7beabbc56b67ef8c89b42940bde3c7 | e562ae6921174242c3eaa6e747868e89c8850105 | refs/heads/master | 2022-11-23T08:15:44.583243 | 2020-07-26T03:53:32 | 2020-07-26T03:53:32 | 282,569,896 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,282 | cpp | /* Author: Ryan McKay
* Date: 07/24/2020
* File Name: myfuncts.cpp
* Class: CSC160-470
* Summary: definition of PromptYN function and its helper functions
*/
#include <string>
#include <cctype>
#include <algorithm>
#include "PromptYN.h"
std::string lowercase(string str) // helper function for converting inputs ... | [
"ryanscottmckay@gmail.com"
] | ryanscottmckay@gmail.com |
3fd6faf125709fc3a944f1e04d6cda20c3e714cf | ead5c32ff8cf5ce04c35603cc7698904e1536be4 | /revfe/pluginclass.h | 46e7a5a22575bae1d28be0b9a521e73dc095e743 | [] | no_license | malcom2073/revfe | 7bda0386f4fb0d24b24414c724ddfcf7f768fd8e | 775a9a3efb11aa8f59210b3b440542acd61e8f58 | refs/heads/master | 2021-01-23T15:52:59.247127 | 2012-03-24T13:12:31 | 2012-03-24T13:12:31 | 33,929,251 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,187 | h | /***************************************************************************
* Copyright (C) 2009 by Michael Carpenter (malcom2073) *
* mcarpenter@interforcesystems.com *
* *
* This pr... | [
"malcom2073@gmail.com"
] | malcom2073@gmail.com |
243bde9389dc92eb6fef84f5da9e76c3dd6a4492 | 6f88d12f7f707b2f3d1701f8532b8be0d9b3deab | /code/29.最小的K个数.cpp | 84d5920364cf852cd0846fac86f277632582e6cc | [] | no_license | codewithzichao/CodingInterviewCode | 3785d94907e97895cbd73f4e54f3a40f660b40bd | 5687b01210eb3b48dea6e5fedc23c7f5cef95c3f | refs/heads/master | 2021-01-01T02:47:32.498394 | 2020-02-08T15:07:34 | 2020-02-08T15:07:34 | 239,148,266 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,892 | cpp | /*
题目描述
输入n个整数,找出其中最小的K个数。例如输入4,5,1,6,2,7,3,8这8个数字,则最小的4个数字是1,2,3,4,。
*/
#include<stdio.h>
#include<string.h>
#include<string>
#include<algorithm>
#include<vector>
#include<set>
using namespace std;
class Solution{
public:
/*
方法一:排序。这是最直观的思路。时间复杂度为:O(nlogn).不推荐,能这样做的话,还做个锤子的算法题!
*/
vector<int> GetLeastNumbers_So... | [
"lzctosdream@163.com"
] | lzctosdream@163.com |
fddbd37cf8b4fb5b658a62ff7e6c2357fc36a4b7 | 7cc719c0f2a0df610a7d59ca33b3fb7d29711a75 | /Game Engine/Villain.cpp | 053ff9b732d0374ddea4348bc4b4ba2f600d72c8 | [] | no_license | Math273ProjectSp15/Game-Engine-World-Class | b232caff480ce5ece698f562eafb11b4b2ec91ac | 11f75c0436b3706f111a511d8d5833da45194895 | refs/heads/master | 2021-01-10T16:16:58.070247 | 2015-06-03T16:05:54 | 2015-06-03T16:05:54 | 35,961,549 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,184 | cpp | #include "Villain.h"
bool Villain::initialize(Game *gamePtr, TextureManager *textureM)
{
deadImage_.initialize(gamePtr->getGraphics(), villainNS::WIDTH, villainNS::HEIGHT, villainNS::TEXTURE_COLS, textureM);
deadImage_.setFrames(villainNS::START_FRAME, villainNS::END_FRAME);
deadImage_.setCurrentFrame(villainNS::S... | [
"avilajorge314@gmail.com"
] | avilajorge314@gmail.com |
80b56cb65d72393c55aa8e0d971775be6b14f456 | d4a2c50a90792600c4d864fffe9c1a9d1ebd6acc | /mma_g/MMA_G/DataFile.h | 836a94b6db508ae6f4968432390fe87cdbb40226 | [] | no_license | iwasen/MyProg | 3080316c3444e98d013587e92c066e278e796041 | a0755a21d77647261df271ce301404a4e0294a7b | refs/heads/master | 2022-12-30T00:28:07.539183 | 2020-10-25T06:36:27 | 2020-10-25T06:36:27 | 307,039,466 | 0 | 4 | null | null | null | null | SHIFT_JIS | C++ | false | false | 2,630 | h | #pragma once
//*****************************************************************************************************
// 1. ファイル名
// DataFile.h
//----------------------------------------------------------------------------------------------------
// 2. 機能
// データファイルクラスの定義
//-----------------------------------... | [
"git@iwasen.jp"
] | git@iwasen.jp |
4dc49570deb91785254250e19734bd9ec2522e3c | 43eec1fb7119427d9eec22f489980e6cd3020fae | /browser/Browser.h | 8f4afb678c5cddf3e873c0e960f85746f830d29e | [] | no_license | aformusatii/MediaHub | 1455ad16869755bf96c61deebb21558c5696d72c | 6b1004f9d815081f497a1c1ae303147698053daf | refs/heads/master | 2016-09-06T15:23:33.309617 | 2014-12-21T19:38:10 | 2014-12-21T19:38:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,644 | h | #include <gtk/gtk.h>
struct MouseCoordinates {
int x;
int y;
bool jump;
};
// Browser class
class Browser {
private:
Browser(){
mouseContinuousMove = false;
preventDefaultEvents = FALSE;
afterInit=NULL;
closeWindow=NULL;
mouseMove=NULL;
... | [
"aformusatii@gmail.com"
] | aformusatii@gmail.com |
c0eea5e39c7d169c6b55933711886322061e1e03 | f896696c96d4c15b3f8bb037efa6fa92dc41f1ca | /GOMC/serial/PDBSetup.h | d29b60a273092abd3ef4cf815292f78b1321ca2a | [] | no_license | zzzhe1990/Projects | a626de9c2fe3f0c6bf01bec0c244ced54268abaf | cef8c9292e061329057516f40c6b443dd11a8501 | refs/heads/master | 2021-01-18T15:07:24.970189 | 2015-10-19T00:53:20 | 2015-10-19T00:53:20 | 44,499,832 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,461 | h | #ifndef PDB_SETUP_H
#define PDB_SETUP_H
#include <vector>
#include <map> //for function lookup table.
#include "InputAbstracts.h" //For FWReadableBase
#include "../lib/BasicTypes.h" //For uint
#include "EnsemblePreprocessor.h" //For BOX_TOTAL, etc.
#include "PDBConst.h" //For fields positions, etc.
#include "XYZArray... | [
"zzzhe1990@gmail.com"
] | zzzhe1990@gmail.com |
323c0ed8eee04b6a6dc6fb2354ff86601eced323 | e7d7377b40fc431ef2cf8dfa259a611f6acc2c67 | /SampleDump/Cpp/SDK/BP_ToolboxWidget_classes.h | fd88983d5dca086a43d0e345948577661af6cbe9 | [] | no_license | liner0211/uSDK_Generator | ac90211e005c5f744e4f718cd5c8118aab3f8a18 | 9ef122944349d2bad7c0abe5b183534f5b189bd7 | refs/heads/main | 2023-09-02T16:37:22.932365 | 2021-10-31T17:38:03 | 2021-10-31T17:38:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 738 | h | #pragma once
// Name: Mordhau, Version: Patch23
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Classes
//--------------------------------------------------------... | [
"talon_hq@outlook.com"
] | talon_hq@outlook.com |
e873ccedabef276600456c1f545ea7ec4833c6f0 | 0ecfb1ec3509631c5813e30fd21c8ecf0c91732c | /debug/src/xpview/OS2/xpview.cpp | 3ad4f6ba0e4b3f21c38d4492270325535f3cde24 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | zanud/xds-2.60 | 2c2c32c6d564c8f1d3ca71eb3229e7886f67355d | b4a32b9c9c91fe513fa5ff78ec87bb44102a3b72 | refs/heads/master | 2023-08-29T00:35:07.014940 | 2021-10-14T11:39:07 | 2021-10-14T11:39:07 | 416,922,119 | 0 | 1 | Apache-2.0 | 2023-08-15T22:12:29 | 2021-10-13T23:02:38 | Modula-2 | IBM866 | C++ | false | false | 35,493 | cpp | #include <stdio.h>
#include <string.h>
#include <stdlib.h>
#define INCL_DOS
#define INCL_WIN
#define INCL_WINSTDFONT
#define INCL_GPI
#include <os2.h>
#include "xpview.h"
#include "headwin.h"
#include "profile.h"
#define VPCLIENTCLASS "VPClWinClass"
#define MM_SUBCLASS WM_USER+2000
#define MM_PRO... | [
"klvov@excelsior-usa.com"
] | klvov@excelsior-usa.com |
24fceda068f16f51181371f4ce1b121bd7fdd9d2 | 1d82b21186e123529efc1b4b54d01922e53e84ab | /EvlTimeCourse0.h | be637f0ce1fb29d116f659bf51bfa7af16bd2777 | [] | no_license | TaihaoJin/Abf_Processing | e315c03ddd6c6fa684073759f7948a65a7c30dd6 | 32ce464cd08731a87e766bc9e84464172b096727 | refs/heads/master | 2021-01-10T15:06:55.227764 | 2016-01-27T08:48:00 | 2016-01-27T08:48:00 | 50,493,276 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,216 | h | // EvlTimeCourse0.h: interface for the CEvlTimeCourse class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_EVLTIMECOURSE_H__6B243C42_992A_11D4_83DE_00C04F200B5B__INCLUDED_)
#define AFX_EVLTIMECOURSE_H__6B243C42_992A_11D4_83DE_00C04F200B5B__INCLUDED_
#if _MSC_VER > 1... | [
"TaihaoJin2004@gmail.com"
] | TaihaoJin2004@gmail.com |
5c6dc6b887d7231fadf9e96420602b3ef9ab28ed | 3f89d8f9592dda6db7fbce1d5de56fd5d6eb09b1 | /PWGCF/FEMTOSCOPY/AliFemtoUser/AliFemtoCutAttrPairTrack.h | 0c636614b05089554abf879e8bb173a294917eb7 | [] | permissive | KvapilJ/AliPhysics | 6e94c9d990e98f43056c51ceb834f5acf404d78b | 373b8c7819d77b39a5f993d26067d9cc411eae17 | refs/heads/master | 2020-04-17T21:47:42.685528 | 2019-02-26T14:11:30 | 2019-02-26T14:12:01 | 166,966,516 | 0 | 0 | BSD-3-Clause | 2019-01-22T09:32:50 | 2019-01-22T09:32:50 | null | UTF-8 | C++ | false | false | 13,971 | h | ///
/// \file AliFemtoUser/AliFemtoPairCutTrackAttr.h
///
#pragma once
#ifndef ALIFEMTOPAIRCUTTRACKATTR_H
#define ALIFEMTOPAIRCUTTRACKATTR_H
#include "AliFemtoConfigObject.h"
#include "AliFemtoPair.h"
#include "AliFemtoPairCut.h"
// re-use static Δφ* calculation
#include "AliFemtoPairCutDetaDphi.h"
namespace pwg... | [
"andrew.kubera@cern.ch"
] | andrew.kubera@cern.ch |
1f1eeae1d1fe0b77a2438d21a63ce0317731e4b4 | 21553f6afd6b81ae8403549467230cdc378f32c9 | /arm/cortex/Freescale/MK40D7/include/arch/reg/uart4.hpp | 63e7ccc4bcae0ff016e219fc3663829360d15a5d | [] | no_license | digint/openmptl-reg-arm-cortex | 3246b68dcb60d4f7c95a46423563cab68cb02b5e | 88e105766edc9299348ccc8d2ff7a9c34cddacd3 | refs/heads/master | 2021-07-18T19:56:42.569685 | 2017-10-26T11:11:35 | 2017-10-26T11:11:35 | 108,407,162 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 12,160 | hpp | /*
* OpenMPTL - C++ Microprocessor Template Library
*
* This program is a derivative representation of a CMSIS System View
* Description (SVD) file, and is subject to the corresponding license
* (see "Freescale CMSIS-SVD License Agreement.pdf" in the parent directory).
*
* This program is distributed in the hope... | [
"axel@tty0.ch"
] | axel@tty0.ch |
9d6f73ebd327bd0bd25703d6523c28e961a2ac0e | 0dd9cf13c4a9e5f28ae5f36e512e86de335c26b4 | /LintCode/lintcode_continuous-subarray-sum-ii.cpp | bc9bddfce8606fc0ba765a4045eaf1324ace5cb1 | [] | no_license | yular/CC--InterviewProblem | 908dfd6d538ccd405863c27c65c78379e91b9fd3 | c271ea63eda29575a7ed4a0bce3c0ed6f2af1410 | refs/heads/master | 2021-07-18T11:03:07.525048 | 2021-07-05T16:17:43 | 2021-07-05T16:17:43 | 17,499,294 | 37 | 13 | null | null | null | null | UTF-8 | C++ | false | false | 2,218 | cpp | /*
*
* Tag: DP
* Time: O(n)
* Space: O(n)
*/
class Solution {
public:
/**
* @param A an integer array
* @return A list of integers includes the index of
* the first number and the index of the last number
*/
vector<int> continuousSubarraySumII(vector<int>& A) {
// Write yo... | [
"1062969706@qq.com"
] | 1062969706@qq.com |
fa020b0c960e58254a8e60fa53b567746eccc484 | d386c45aa5ff031aea4ee418ed52c47318fabc7d | /.localhistory/C/Users/Bq/source/repos/threadtest/threadtest/threadtest/1566454464$threadtest.cpp | c5278aa398cebe8d5b549d8dd97ad5030d68bac2 | [] | no_license | B-Qq/threadtest | 150ac930ef6c73ed235e2e6db188011fec678446 | c0c2681619a39a1e3bc0b9ef8ddafdfbcc7748f3 | refs/heads/master | 2020-07-08T03:33:57.766775 | 2019-08-27T01:26:47 | 2019-08-27T01:26:47 | 203,552,182 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,101 | cpp | //#include "pch.h"
//#include <iostream>
//#include <condition_variable>
//#include <thread>
//
//std::condition_variable cv;
//std::mutex mtx;
//bool ready = false;
//
//void do_print_id(int id)
//{
// std::unique_lock<std::mutex> lck(mtx);
// while (!ready)
// {
// cv.wait(lck);
// }
// std::cout << "thread " << id... | [
"bq5773718@163.com"
] | bq5773718@163.com |
93891c7a1f63970b591a3add279c0464e9e243fa | 2c0222ce64b5d6573bf8f98b2c038e21d0db8aac | /Anton and Polyhedrons.cpp | 3911014c522dc7bb49b0e00badd8fe2430f12895 | [] | no_license | christsonhartono/codeforces-solution | 1b58607e92ef23ab55ed4505f813332fb3cb4ac5 | 090eff32534652a38d4baebd5cc0274326fe0ae4 | refs/heads/master | 2022-12-02T00:38:00.983956 | 2020-07-29T05:14:15 | 2020-07-29T05:14:15 | 263,204,630 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 433 | cpp | #include<bits/stdc++.h>
using namespace std;
int main(){
int n, total=0;
string s;
cin>>n;
for(int i=0; i<n; i++){
cin>>s;
if(s.compare("Tetrahedron")==0){
total+=4;
}else if(s.compare("Cube")==0){
total+=6;
}else if(s.compare("Octahedron")==0){
total+=8;
}else if(s.compare("Dodecahedron")==0)... | [
"jhanacakro1@gmail.com"
] | jhanacakro1@gmail.com |
72555085f4aaae1810c8f8d8dbecf0ad9bc3445e | 6ca8e9d7da81d1a124ec8b0714ed463908d8ee82 | /s.cpp | 3155e0c9d81eff4d0afae3df8a0ba3034e988d42 | [] | no_license | includelife/sicily_codes | a33b31df7e7c3f3451ad29c9c86fc09c5a495893 | 66873f2b0083dd1827968becdb7b9b2ad5130b6a | refs/heads/master | 2016-09-03T07:30:47.018794 | 2015-07-11T15:20:21 | 2015-07-11T15:20:21 | 25,923,166 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 68 | cpp | #include<stdio.h>
int main(){printf("153\n370\n371\n407");return 0;} | [
"262548467@qq.com"
] | 262548467@qq.com |
2943a5ad369d842a50f04c633ecabdd2b9a5f9d7 | 64c44e82d12bca08ea114e5ba5049136e6326af9 | /src/unithealth.cpp | d5ce553e0ce5209c998870f433e67d8aa6ba992f | [
"MIT"
] | permissive | Senjai/Dwarf-Therapist | 04474062b8d95d6e5d5ef9377218da5954d744e9 | 3fd1ca6d9b7e5b3f01f82ed960fd862e76f34c62 | refs/heads/master | 2021-05-06T23:01:42.271740 | 2017-12-02T17:26:54 | 2017-12-02T22:54:41 | 112,896,455 | 3 | 0 | null | 2017-12-03T03:19:57 | 2017-12-03T03:19:57 | null | UTF-8 | C++ | false | false | 25,772 | cpp | /*
Dwarf Therapist
Copyright (c) 2009 Trey Stout (chmod)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, p... | [
"clement.vuchener@gmail.com"
] | clement.vuchener@gmail.com |
006524abb13e3ad6b89b328a247b7dd83f1019c4 | 6d5f2e99ae89e6c59bdafed707f5a5db673dec23 | /src/cli/main_dbExport.cpp | c24310e7f957561d1b2da5ea6b5fff1465627c66 | [
"MIT"
] | permissive | bencabrera/grawitas | b633ae1dbbbb3da8a37b61b2cb48c493d7c299d2 | 8eda68846ed283afe70d56d68375525a1140de70 | refs/heads/master | 2022-03-27T08:27:16.948509 | 2018-01-19T09:48:37 | 2018-01-19T09:48:37 | 81,924,748 | 7 | 7 | MIT | 2022-01-25T18:14:46 | 2017-02-14T08:49:49 | C++ | UTF-8 | C++ | false | false | 4,718 | cpp | #include <iostream>
#include <fstream>
#include "../../libs/cxxopts/include/cxxopts.hpp"
#include <boost/algorithm/string/trim.hpp>
#include <boost/algorithm/string/replace.hpp>
#include "../misc/stepTimer.h"
#include "../misc/readLinesFromFile.h"
#include "../output/formats.h"
#include "../output/outputHelpers.h"
#i... | [
"benny@bcabrera.de"
] | benny@bcabrera.de |
be4c76c12360f87384dc0a872eb015435c982baa | 15b122079a9342a41239b77463bc1c5b8345b8a8 | /histograma.h | ec246bd0d37dcb8459bda9a07b27243f344eb64f | [] | no_license | AndreyGoncalves/Analisadordepacotesderede | 05c4666147e86bddf07b15845ecb2b61f5a931ed | c7784e58ef5ad092ed73fd92777979e3000d7a07 | refs/heads/master | 2020-03-30T12:49:57.442637 | 2018-10-02T11:26:00 | 2018-10-02T11:26:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 686 | h | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/*
* File: histograma.h
* Author: destroy
*
* Created on 3 de Outubro de 2016, 18:35
*/
#ifndef HISTOGRAMA_H
#define HISTOGRA... | [
"“andreygoncalves@live.com”"
] | “andreygoncalves@live.com” |
43158d4fd5cdad56a527ee1d13e3d6707d68ac41 | 76f0efb245ff0013e0428ee7636e72dc288832ab | /out/Default/gen/blink/bindings/core/v8/V8HTMLFontElement.cpp | 0e0c9fa6ef079ebfaaa068e26399432fd84ee86b | [] | no_license | dckristiono/chromium | e8845d2a8754f39e0ca1d3d3d44d01231957367c | 8ad7c1bd5778bfda3347cf6b30ef60d3e4d7c0b9 | refs/heads/master | 2020-04-22T02:34:41.775069 | 2016-08-24T14:05:09 | 2016-08-24T14:05:09 | 66,465,243 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 8,606 | cpp | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY!
#include "V8HTMLFontElement.h"
#include "bindings/core/v8/ExceptionState.h"... | [
"dckristiono@gmail.com"
] | dckristiono@gmail.com |
e2012dc94f114c1c7dc28fb020d2f974ce7167ef | 38b9daafe39f937b39eefc30501939fd47f7e668 | /tutorials/2WayCouplingOceanWave3D/EvalResults180628-Eta-ux-uy/17/p_rgh | f2f65400d2562ee8675e57eba5fe9aa5289c5a17 | [] | no_license | rubynuaa/2-way-coupling | 3a292840d9f56255f38c5e31c6b30fcb52d9e1cf | a820b57dd2cac1170b937f8411bc861392d8fbaa | refs/heads/master | 2020-04-08T18:49:53.047796 | 2018-08-29T14:22:18 | 2018-08-29T14:22:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 195,224 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 3.0.1 |
... | [
"abenaz15@etudiant.mines-nantes.fr"
] | abenaz15@etudiant.mines-nantes.fr | |
9fa460409a75c87fa87c8036b91fbcde35e3f3ad | b88c209d772784f220a866c8fba308936f7c6c6c | /src/predictor.cpp | 3e80f4f1a3835d9d4706e4ce554d56a72a6e9d01 | [] | no_license | rudi77/CarND-Path-Planning-Project | 10c1b3fb2c8b0c6a27d24b1c3310c77327417050 | 5a7e98a243a4a51f92479efdc33758c5696927d1 | refs/heads/master | 2021-08-26T06:38:04.440550 | 2017-11-21T21:09:16 | 2017-11-21T21:09:16 | 105,687,624 | 0 | 0 | null | 2017-10-03T18:26:33 | 2017-10-03T18:26:33 | null | UTF-8 | C++ | false | false | 610 | cpp | #include <map>
#include "map.h"
#include "predictor.h"
#include "trajectory_generator.h"
using namespace std;
map<int, vector<CarState>> Predictor::predict_trajectories(const vector<CarState>& other_cars, const Map& map)
{
TrajectoryGenerator trajectory_generator(map);
std::map<int, vector<CarState>> trajectorie... | [
"rudi.dittrich77@gmail.com"
] | rudi.dittrich77@gmail.com |
121104e12b3a46e2466ea7a1b4438470538c997b | be9123f1001fd2d220f9f54d0fc4b682c784ea45 | /time.hpp | 5146a4808fcf70172bbab03fe82736536ef041ed | [
"MIT"
] | permissive | komasaru/iss_sgp4_blh | 751eb735cbfe9a30245b5bf80fe52628e82f53f3 | cd8739824d1bf2979f7253269934e724ba856367 | refs/heads/main | 2023-06-10T21:20:27.978078 | 2021-06-29T14:28:14 | 2021-06-29T14:28:14 | 376,414,321 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,459 | hpp | #ifndef ISS_SGP4_BLH_TIME_HPP_
#define ISS_SGP4_BLH_TIME_HPP_
#include <cmath>
#include <ctime>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <sstream>
#include <string>
#include <vector>
namespace iss_sgp4_blh {
struct DateTime {
unsigned int year;
unsigned int month;
unsigned int day;
... | [
"masaru@mk-mode.com"
] | masaru@mk-mode.com |
65ca9ba821fcbc92f48de62e60c1f28d5e54ac80 | fcb93b835ce45a932e0c859d6a37ffaac4a71980 | /project5/second.cpp | 43d18b23e56b7a82a5ac8bccbcf8d973a76b00bf | [] | no_license | tcs76321/CS475 | 44c6d483522e0433dfb1b3538999d2c4baa7ed50 | 0b4779bf2dd172dd219bebe22364b7be558ade7a | refs/heads/master | 2022-02-09T11:36:46.689518 | 2019-06-10T01:05:22 | 2019-06-10T01:05:22 | 180,644,805 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,750 | cpp | // 1. Program header
#include <stdio.h>
#include <math.h>
#include <string.h>
#include <stdlib.h>
#ifdef WIN32
#include <windows.h>
#else
#include <unistd.h>
#endif
#include <omp.h>
#include "CL/cl.h"
#include "CL/cl_platform.h"
#ifndef NMB
#define NMB 64
#endif
#define NUM_ELEMENTS NMB*1024*1... | [
"trevor@trevorstahl.com"
] | trevor@trevorstahl.com |
1a99a7fe380bb193a43ac6856b43cd9e9df7d229 | 10ecd7454a082e341eb60817341efa91d0c7fd0b | /SDK/BP_PromptActor_EmissaryEncounteredSkellyFort_RB_classes.h | 05e59c458f24332563c510d22b7b3313cc210222 | [] | no_license | Blackstate/Sot-SDK | 1dba56354524572894f09ed27d653ae5f367d95b | cd73724ce9b46e3eb5b075c468427aa5040daf45 | refs/heads/main | 2023-04-10T07:26:10.255489 | 2021-04-23T01:39:08 | 2021-04-23T01:39:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,146 | h | #pragma once
// Name: SoT, Version: 2.1.0.1
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Classes
//------------------------------------------------------------... | [
"ploszjanos9844@gmail.com"
] | ploszjanos9844@gmail.com |
f5c7dce5389fb76f22a9600e541868e7bf394f3b | cc0f632f56c572bd4f50c141f048b0bc7fad4055 | /UVA/10780.cpp | 2da90b26c24ac939640282394a0a68593b4506f0 | [] | no_license | AbuHorairaTarif/UvaProject | 78517e585c668a83b99866be19b84a0a120bc617 | b0688f97a7226bdd692c9ceb29e7b0c406b8a15a | refs/heads/master | 2021-05-04T08:19:46.607485 | 2016-11-11T14:26:23 | 2016-11-11T14:26:23 | 70,333,668 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 796 | cpp | #include <iostream>
#include <cstring>
using namespace std;
int getsum(int n,int x)
{
int ans=0;
while(n)
{
ans+=n/x;
n/=x;
}
return ans;
}
int main(int argc,char *argv[])
{
int n,m,i,j,t,c=1,temp,ans,a;
cin>>t;
while(t--)
{
cin>>m>>n;
i=2;
ans... | [
"horaira_cse13@yahoo.com"
] | horaira_cse13@yahoo.com |
13e723e32c51c3eec2a1dba10d15f53c958b3c4b | cc36bf3a46b06af454e42f88865aa2b16caefc2c | /UI_DirGraph/ObjViewDG.cpp | 47961d972702aec316d5e7462e9bdec7d00998c6 | [] | no_license | artcampo/2012_3D_Procedural_Object_Editor | 058548468514da39d1434b024bcf42e17f1e0af4 | ddb75c727bfb12f1d39786dd72928dc35539c860 | refs/heads/master | 2021-01-12T04:27:28.204089 | 2016-12-29T13:57:45 | 2016-12-29T13:57:45 | 77,615,572 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,593 | cpp | #include "ObjViewDG.h"
ObjViewDG::ObjViewDG(
std::wstring& aTitle,
int aTypeView,
bool aAllowOrbitation,
D3DXVECTOR2& aCamPan,
float aCamScale,
D3DXVECTOR2& aCamOrbit )
{
mTypeView = aTypeView;
mTitle = aTitle;
mAllowOrbitation = aAllowOrbitation;
mCamPan = ... | [
"arturocampos82@gmail.com"
] | arturocampos82@gmail.com |
209b34ab5a0823a44f2d3765a45b3ad035a27a22 | fa4258ef4de2e5414abe4bbf3fb3ad15dc773c7d | /1401C.cpp | d2df3976dd394046c8c8eb3adcd9c60fc0d43a0c | [] | no_license | nihithreddy/Codeforces | 48a1adc78731bd3fce600614458f140be66653cb | b1b7f2fc2bc0d7d9e7b19153833d266986257746 | refs/heads/master | 2022-12-18T01:19:25.451339 | 2020-09-01T02:29:29 | 2020-09-01T02:29:29 | 286,294,639 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 839 | cpp | #include<bits/stdc++.h>
using namespace std;
#define forn(i,n) for(int i=(0);i<(n);i++)
#define rep(i,a,b) for(int i=(a);i<(b);i++)
#define all(c) (c).begin(),(c).end()
#define sz(c) (int)(c).size()
#define pb push_back
#define ff first
#define ss second
typedef long long ll;
typedef long double ld;
typedef pair<int,in... | [
"sainihith9618@gmail.com"
] | sainihith9618@gmail.com |
bd8cc94ccd6aa8f1402f2abe59af1b7d26748186 | 50249f2c0d924c87cd196fc0f815e7df198228f8 | /PubSubClient.ino | ea0b361d8f87f1334a1d712fc77ba66d9f592a3b | [] | no_license | hipotenusa/PubSubClient | fee4e4d4bb43650856582cef11bd8ab55feaf26d | 462b2a887f187921fcd7f85c6513bdca93959c88 | refs/heads/master | 2021-08-30T09:13:37.733314 | 2017-12-17T06:16:30 | 2017-12-17T06:16:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,667 | ino | #include <ESP8266WiFi.h>
#include <PubSubClient.h>
const char *ssid = ""; // nama ssid dari wi-fi, jangan lebih dari 32 karakter
const char *pass = ""; // password dari wi-fi
//------------------------------ Konfigurasi server pada <a href="https://www.cloudmqtt.com/">https://www.cloudmqtt.com/</a>
// perhat... | [
"simatupang.ega@gmail.com"
] | simatupang.ega@gmail.com |
76c618cd0db4f1d053f3e398f65f5566769b49aa | e23b730868329011477751c841dc188ff9662938 | /Code/glwidget.h | 41aec03dc1fc49461279cad449aca91883177c23 | [] | no_license | NaifAlhar6i/Chapter7 | d18e597621f90cce1fc10f69134214338d19ce6a | 607f6da7c9949ebf0386397c1b42e5c8964266ae | refs/heads/master | 2022-04-27T05:19:48.007179 | 2020-04-26T10:38:17 | 2020-04-26T10:38:17 | 259,003,927 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,909 | h | #ifndef GLWIDGET_H
#define GLWIDGET_H
#include <QPoint>
#include <QMouseEvent>
#include <QVector3D>
#include <QOpenGLWidget>
#include <QOpenGLFunctions>
#include "Helper/transformation.h"
#include "GL/glmanager.h"
#include <QTimer>
#include "Helper/framerate.h"
class MainWindow;
/**
* @brief The GLWidget class the ... | [
"668696@swansea.ac.uk"
] | 668696@swansea.ac.uk |
e5b7fa6407fce22770bd191b300aee76d94b4aa3 | 78918391a7809832dc486f68b90455c72e95cdda | /boost_lib/boost/metaparse/v1/fwd/get_message.hpp | bf870e1da1e114abb89dd2148c89f5edba22b6cc | [
"MIT"
] | permissive | kyx0r/FA_Patcher | 50681e3e8bb04745bba44a71b5fd04e1004c3845 | 3f539686955249004b4483001a9e49e63c4856ff | refs/heads/master | 2022-03-28T10:03:28.419352 | 2020-01-02T09:16:30 | 2020-01-02T09:16:30 | 141,066,396 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 471 | hpp | #ifndef BOOST_METAPARSE_V1_FWD_GET_MESSAGE_HPP
#define BOOST_METAPARSE_V1_FWD_GET_MESSAGE_HPP
// Copyright Abel Sinkovics (abel@sinkovics.hu) 2014.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
... | [
"k.melekhin@gmail.com"
] | k.melekhin@gmail.com |
2dc8d1663f4e6a5a79aba2518e736e8552e875db | 4247edf4ecdd626c8d3160e08a8758781ff9b30d | /gazebo_ros_pkgs/gazebo_ros_control/include/gazebo_ros_control/internal/joint_state.h | 4fcf0716e482d72729ff122f533da8f2174e6c83 | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause"
] | permissive | ignaciotb/robi_final_project | 4a32588d8153800d4c8f545ed0f2f1965dc70b77 | dfb73d2d1c2c3eab15b0dec4d0a3f19f202d155e | refs/heads/master | 2022-06-18T04:14:24.812872 | 2022-06-10T11:53:15 | 2022-06-10T11:53:15 | 210,183,722 | 4 | 19 | null | 2019-10-04T12:45:36 | 2019-09-22T17:03:42 | C++ | UTF-8 | C++ | false | false | 3,815 | h | ///////////////////////////////////////////////////////////////////////////////
// Copyright (C) 2015, PAL Robotics S.L.
//
// 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 reta... | [
"torroba@kth.se"
] | torroba@kth.se |
1066acb9fc28e63f52b3adc8725addd1f30a89f3 | a018eac0dd956c963a772b1b5f3c02e6947ec425 | /file_sig/Processor.h | dd9975eb525cfc608dcf8d07170967106440bc12 | [] | no_license | alexacz/filesig-crc32 | 41a4797257dd9ec53bc61f7bdb168111e6d5edcb | b59687c0f297deb0ee7e3544518703a748ffadc7 | refs/heads/master | 2020-03-30T08:52:50.626988 | 2018-10-01T10:16:02 | 2018-10-01T10:16:02 | 151,046,713 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,413 | h | //
// Processor.h
// veeam_sig
//
// Created by Alex Nik on 30/09/2018.
//
#ifndef Processor_h
#define Processor_h
#include "Buffer.h"
extern "C" { uint32_t crc32(uint32_t, const void*, size_t); }
/**
* Calculates CRC32 of block and puts the CRC32 to ouput stream.
*/
class Processor {
Buffer& ... | [
""
] | |
d23ecd631edcfbf8cc972bdc9f161a43d43f150b | 30603b5a0e6fc12da18e9da0f8b87ebad9b9f1a3 | /lop_faction_racs/lop_faction_racs/CfgBackpacks.hpp | 25ed14922ff1a19dde715e16ec085c688c414e46 | [] | no_license | ElectroEsper/LOP-Esper-s-Edit | 60c40cada55bb50203bb20b4bbaf0b5e691adbb9 | adf477e8fc04e68e4f5a2fcd7aadd35e269051a4 | refs/heads/master | 2020-06-02T22:01:49.834102 | 2015-08-08T21:11:05 | 2015-08-08T21:11:05 | 40,339,611 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,475 | hpp | class B_Kitbag_rgr;
class rhsusf_falconii;
class rhs_rpg_empty;
class B_FieldPack_khk;
class LOP_AA_Kitbag_Med : B_Kitbag_rgr {
_generalMacro = "LOP_AA_Kitbag_Med";
author = $STR_LOP_FULL_NAME;
scope = 1;
class TransportItems {
class _xx_FirstAidKit {
count = 15;
name = "FirstAidKit";
};
... | [
"tawesper@gmail.com"
] | tawesper@gmail.com |
6718b1b317956ead3279e09a1613d4112b9a1e49 | bb91762cc7683345d63a653db6c12cea65d5802e | /repetytorium12_12/Kalkulator/KalkulatorMain.cpp | 8f4b75a4fdbc7e539a19e1961891dea57999f37a | [] | no_license | svv1viktoria1soverda1mail1ru/Cplusplus | f705e2c3000b0bea39cd6d528737f094ffed1340 | 3f1c4945fb7f7bbbe0b35b324c092e3a657de0e4 | refs/heads/master | 2020-12-24T12:12:47.961412 | 2017-01-05T14:02:58 | 2017-01-05T14:02:58 | 73,069,123 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,646 | cpp | /***************************************************************
* Name: KalkulatorMain.cpp
* Purpose: Code for Application Frame
* Author: ()
* Created: 2016-12-05
* Copyright: ()
* License:
**************************************************************/
#include "KalkulatorMain.h"
#include <wx/m... | [
"svv.viktoria.soverda@mail.ru"
] | svv.viktoria.soverda@mail.ru |
2809c2722f51b63455f6f079fa5c1cc4ac1e649a | 8dd73f14bc0b9792925d2596868e7f2e5fe1ff96 | /src/tvheadend/utilities/LifetimeMapper.h | d678669d10a402134512d84422d90dcde11c71b8 | [] | no_license | MovistarTV/pvr.hts | 2fd5a7d3dd00682b57a15a35b7064d4e655d697f | 0b796fee78fd1f18967a727109a9d55e1adb680c | refs/heads/master | 2020-03-28T09:45:55.767202 | 2018-09-09T21:22:14 | 2018-09-09T21:22:14 | 148,058,307 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,650 | h | #pragma once
/*
* Copyright (C) 2017 Team Kodi
* http://kodi.tv
*
* This Program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.... | [
"kai.sommerfeld@gmx.com"
] | kai.sommerfeld@gmx.com |
49724ce04e67d5a01d8589b604134668ad77ce1c | 767a49334113d375f96049f99e940123b4a712fd | /DevSkill_CP/Intermediate/Batch 2/Class 30/code3.cpp | ce248a18b3927b3c66cb9f9a9086feb36fd8b5d8 | [] | no_license | Sadman007/DevSkill-Programming-Course---Basic---Public-CodeBank | 9f4effbbea048f4a6919b699bc0fb1b9a0d5fef7 | d831620c44f826c3c89ca18ff95fb81ea2a2cc40 | refs/heads/master | 2023-09-01T03:44:37.609267 | 2023-08-18T19:45:41 | 2023-08-18T19:45:41 | 173,104,184 | 83 | 64 | null | null | null | null | UTF-8 | C++ | false | false | 302 | cpp | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define MAX (ll)1e18
vector<ll>store, store2;
int main()
{
for(ll i = 1; i<=1000000 ;i++) /// i ^ 3
{
ll v = i*i*i;
store.push_back(v);
}
for(int i=0;i<10;i++) cout << store[i] << endl;
return 0;
}
| [
"sakib.csedu21@gmail.com"
] | sakib.csedu21@gmail.com |
687b11e09016a5a12ba8ee3d435e1264769720db | 005cb1c69358d301f72c6a6890ffeb430573c1a1 | /Pods/Headers/Private/GeoFeatures/boost/type_traits/detail/size_t_trait_undef.hpp | fa11a63f036eeaa6897ee05da2f23cda5f66ae60 | [
"Apache-2.0"
] | permissive | TheClimateCorporation/DemoCLUs | 05588dcca687cc5854755fad72f07759f81fe673 | f343da9b41807694055151a721b497cf6267f829 | refs/heads/master | 2021-01-10T15:10:06.021498 | 2016-04-19T20:31:34 | 2016-04-19T20:31:34 | 51,960,444 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 89 | hpp | ../../../../../../GeoFeatures/GeoFeatures/boost/type_traits/detail/size_t_trait_undef.hpp | [
"tommy.rogers@climate.com"
] | tommy.rogers@climate.com |
83222be5be996a3387395f8c80581c4a3700ff32 | 21a221c20313339ac7380f8d92f8006e5435ef1d | /src/arcscripts/src/SpellHandlers/HunterSpells.cpp | 279d7f831a0cd1c3ebe35611f46193ebff72f668 | [] | no_license | AwkwardDev/Descent-core-scripts-3.3.5 | a947a98d0fdedae36a488c542642fcf61472c3d7 | d773b1a41ed3f9f970d81962235e858d0848103f | refs/heads/master | 2021-01-18T10:16:03.750112 | 2014-08-12T16:28:15 | 2014-08-12T16:28:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,347 | cpp | /*
* ArcScript Scripts for Arcemu MMORPG Server
* Copyright (C) 2008-2009 Arcemu Team
* Copyright (C) 2007 Moon++ <http://www.moonplusplus.com/>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foun... | [
"jozsab1@gmail.com"
] | jozsab1@gmail.com |
69c05ea92ebecc2b84616dce137403c447cf463b | 05b166f163992e1aa67f089c0c86d27a9c3af786 | /~2022/Greedy/1339.cpp | f22285beb44e39ed4c1609d0a70bcd8eacc30740 | [] | no_license | gyeolse/algorithm_study | 52417554c9ab7ffc761c3b78e143683a9c18abaa | bdfd3f0ae0661a0163f5575f40a6984a6f453104 | refs/heads/master | 2022-08-31T11:32:27.502032 | 2022-08-06T12:18:50 | 2022-08-06T12:18:50 | 246,004,136 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,303 | cpp | #include <bits/stdc++.h>
using namespace std;
int alpha[30]; //알파벳 value 저장
vector<string> words;
int n; //단어의 갯수
int main() {
ios::sync_with_stdio(false); cin.tie(NULL);
cin>>n;
for(int i=0;i<n;i++) {
string t;
cin>>t;
words.push_back(t);
}
//1. word : words[i][j] -'0' - ... | [
"threewave@kakao.com"
] | threewave@kakao.com |
47478921634a52ca8ababb38302284a3c47cdf0e | e55f92f42d5fb994a6e6fc306478e73839d81c46 | /EdFc/zEdUser/SetGrp.h | ff2d505f67fd52c429fb245e65c0567fb78bac1d | [] | no_license | zphseu/cuiyan | 115f854e54ea35f18f44f26c2c865c4f8f98169e | ec121ddb16d9fe60b3edcc6c891f11318a12d32d | refs/heads/master | 2021-01-18T15:08:20.290861 | 2014-01-23T07:47:09 | 2014-01-23T07:47:09 | 53,846,163 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,254 | h | #if !defined(AFX_SETGRP_H__71AC8DFA_9B1A_498F_BC3E_13635DCA1BCB__INCLUDED_)
#define AFX_SETGRP_H__71AC8DFA_9B1A_498F_BC3E_13635DCA1BCB__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// SetGrp.h : header file
//
///////////////////////////////////////////////////////////////////////////... | [
"cui.cuiyan@8bba5440-9dad-11dd-b92e-bd4787f9249a"
] | cui.cuiyan@8bba5440-9dad-11dd-b92e-bd4787f9249a |
f111e7e3452c9dfdd94254a506e33bb73399f7b0 | 0a085d72288de171756e24d5484992aebcb67277 | /hzd_test/HRZ/Core/CameraEntity.h | 0209a0ff0a1560864697f62b0e72d37a2f28b8c0 | [] | no_license | spammydavis/HZDCoreEditor | 3bb44ae1b582a1e41e075b6a22e0734ebefe0271 | bb4507b40eee906563e0c51e21eb404388aff35a | refs/heads/master | 2023-08-20T21:23:29.556634 | 2021-10-30T09:31:02 | 2021-10-30T09:31:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,339 | h | #pragma once
#include "../PCore/Common.h"
#include "Entity.h"
namespace HRZ
{
DECL_RTTI(CameraEntity);
DECL_RTTI(CameraEntityRep);
DECL_RTTI(CameraEntityResource);
class CameraEntityResource : public EntityResource
{
public:
TYPE_RTTI(CameraEntityResource);
char _pad130[0xA8];
virtual const RTTI *GetRTTI() co... | [
"Nukem@outlook.com"
] | Nukem@outlook.com |
4c8dd2f4c19f4de0b197d1194d3727ce0aeb84d6 | 6538e4aaab6c90e35d5472caaf9649295b0b485b | /codeforces/div228/card game.cpp | 9b3052fab554361f7aab6fceca0c5b76c19b7c56 | [] | no_license | Garvit/code-backup | 28899e22bf3ac7050ae6bfed737fecfe6e66451e | a7cbccdf817f564f664cb0b50515ed4030acac0c | refs/heads/master | 2019-01-02T00:42:56.653043 | 2015-03-04T19:24:12 | 2015-03-04T19:24:12 | 13,009,994 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 734 | cpp | #include<iostream>
#include<stdio.h>
#include<algorithm>
#include<vector>
using namespace std;
vector<int> mid;
int main()
{
int n,s,num,csum=0,jsum=0;
scanf("%d",&n);
for(int i=0;i<n;i++)
{
scanf("%d",&s);
for(int j=1;j<=s/2;j++)
{
scanf("%d",&num);
csu... | [
"iitgarvit@gmail.com"
] | iitgarvit@gmail.com |
a1c4b1afeeea5256ad4a8f4dc108bf9fa590094d | 3bd90c6b89901eb563617191ccd34d2064e016d7 | /foundation/tekEventsLinux.cpp | c20441a258f1d1c508e92676c2417d81c7769567 | [] | no_license | tomerweller/teknic-example-single-threaded | 5132d4a52939b3037ec61fa2fac7fb939d468bd9 | 000273cbc1bc5c9b544a645a3bc36a82a54019ea | refs/heads/master | 2021-01-23T22:05:19.683522 | 2017-02-25T07:58:35 | 2017-02-25T07:58:35 | 83,116,362 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,559 | cpp | //*****************************************************************************
// $Archive: /ClearPath SC/LinuxPrjEclipse/sFoundation20/linux/src/tekEventsLinux.cpp $
// $Revision: 4 $ $Date: 9/19/16 12:11 $
// $Workfile: tekEventsLinux.cpp $
//
// DESCRIPTION:
/**
\file
\brief Implementation module for a p... | [
"tomer.weller@gmail.com"
] | tomer.weller@gmail.com |
43226a97d36dd9cd8eaaa372b389aa6aefaef353 | e52a624b75449dd21dd11be4f966b760d377e9ed | /RateLimitSvc.cpp | bd899f9c8e0f958ae2ffad094d5f47be6fd48f1b | [
"MIT"
] | permissive | jgaa/ratelimit-poc | 942e7b6a676ded3c9d296c108f20aa57f230b42b | de7b56e7e86f1c240f75a943a7773cf9a1a672e5 | refs/heads/master | 2022-12-25T19:16:50.945972 | 2020-09-23T15:25:30 | 2020-09-23T15:25:30 | 298,008,959 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 46 | cpp | #include "RateLimitSvc.h"
namespace rl {
}
| [
"jarle@jgaa.com"
] | jarle@jgaa.com |
8231b9f1b2012116eb1473f0e903a2db4d7fdaef | 9040c3a2dd3a32ba98c51ce3a1fc4a0e92c735af | /Tree/BiTree.h | 07bd4f7bcc220a231ff742256bf8f5346871c6fe | [] | no_license | liubiyongge/DataStructExperimentCode | 1f5e5c24b99ac1ccca5c806c84593dfeb1274f55 | 48de90faab80f3db09f4d92dc23ca45d2aa6074b | refs/heads/master | 2021-06-25T18:37:27.028092 | 2020-10-25T08:48:52 | 2020-10-25T08:48:52 | 155,540,289 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,811 | h |
#ifndef MYTREE_H
#define MYTREE_H
#include "mytree.h"
#endif
#include<stack>
#include<cassert>
#include<queue>
#include<cstring>
#define LH 1 //左高
#define EH 0 //等高
#define RH -1 //右高
template<typename T>
class BiTree
{
public:
class node
{
public:
node() :lchild(NULL), rchild(NULL) {}; //!... | [
"liubiyongge@163.com"
] | liubiyongge@163.com |
1dbc638ff90929aca169f8f9de26d24f362cfecc | 1d4bd0305958b7cd17f7bc428dd5b6a76e6bd09f | /栈/stack/main.cpp | 3d0c337f1362439b2d834422774ef2c6468b240a | [] | no_license | oycd/data-struct | 3dfec233b79f9bc97eb5fe0c6afb0b504d27cc33 | e78b0724e603c5b4c679a66753978112e58ea39c | refs/heads/main | 2023-08-14T04:18:40.382391 | 2021-10-17T02:32:49 | 2021-10-17T02:32:49 | 409,266,710 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,113 | cpp | #include<stdio.h>
#include<malloc.h>
#include<stdlib.h>
//栈结构
typedef struct Node{
int data;
struct Node * Pnext;
}Node,* Pnode;
typedef struct Stack{
Pnode pbottom;
Pnode ptop;
}Stack,*Pstack;
//栈操作函数
void inint(Pstack);//初始化栈
void push(Pstack,int);//入栈
void show(Pstack);//输出栈元素
bool out(Pstack);/... | [
"66401986+oycd@users.noreply.github.com"
] | 66401986+oycd@users.noreply.github.com |
5a16d792a4a788b9853aeccfc07aa888287cbf4e | 5de093a42b3d6c62d8ec6b217f44957e3ba4f8ce | /problems/112-path-sum/solution.cpp | b7e24a00711b4b72e068b3a8b972186b42f1e3da | [] | no_license | numbaa/lc | 2d311983f9e6536940d14aa57b90f7fbef5de545 | 4a7d0432ab4fa02e3e29bd82602dfd073e86bd8f | refs/heads/master | 2022-11-16T16:19:48.112387 | 2020-06-23T17:15:39 | 2020-06-23T17:15:39 | 262,825,471 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,020 | cpp | /**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode() : val(0), left(nullptr), right(nullptr) {}
* TreeNode(int x) : val(x), left(nullptr), right(nullptr) {}
* TreeNode(int x, TreeNode *left, TreeNode *right) : val(x), l... | [
"zhennan.tu@gmail.com"
] | zhennan.tu@gmail.com |
1cea91f1d689892853860373850fad7d3e133857 | d85b1f3ce9a3c24ba158ca4a51ea902d152ef7b9 | /testcases/CWE122_Heap_Based_Buffer_Overflow/s05/CWE122_Heap_Based_Buffer_Overflow__CWE131_memcpy_72a.cpp | 155a06b025d8135918d3bde9be20447a3e83576b | [] | no_license | arichardson/juliet-test-suite-c | cb71a729716c6aa8f4b987752272b66b1916fdaa | e2e8cf80cd7d52f824e9a938bbb3aa658d23d6c9 | refs/heads/master | 2022-12-10T12:05:51.179384 | 2022-11-17T15:41:30 | 2022-12-01T15:25:16 | 179,281,349 | 34 | 34 | null | 2022-12-01T15:25:18 | 2019-04-03T12:03:21 | null | UTF-8 | C++ | false | false | 2,763 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE122_Heap_Based_Buffer_Overflow__CWE131_memcpy_72a.cpp
Label Definition File: CWE122_Heap_Based_Buffer_Overflow__CWE131.label.xml
Template File: sources-sink-72a.tmpl.cpp
*/
/*
* @description
* CWE: 122 Heap Based Buffer Overflow
* BadSource: Allocate memory w... | [
"Alexander.Richardson@cl.cam.ac.uk"
] | Alexander.Richardson@cl.cam.ac.uk |
e3110a3bf1314f25dfbccb80d0310b149f8e9896 | 806d887dcf79775f594ee547cffe26690c737d41 | /Iterative-Algorithms/1/Problema1ContarMaximos.cpp | 5ba5496df962685bf646807535e89135c52420cc | [] | no_license | YusefBM/Algorithms-and-Data-Structures | e58f9c9dd7e0991003d032568a86fdd7db1ac600 | a45c49b2467caf6005b8882eaaac6366ae11346d | refs/heads/master | 2022-04-15T22:57:17.851150 | 2020-04-12T21:56:09 | 2020-04-12T21:56:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,071 | cpp | // Nombre del alumno : Eduardo Martínez Martín
// Usuario del Juez : E31
#include <iostream>
#include <fstream>
using namespace std;
// Resuelve un caso de prueba, leyendo de la entrada la
// configuración, y escribiendo la respuesta
void resuelveCaso() {
// leer los datos de la entrada
int numero, maximo, tam,... | [
"edumar03@ucm.es"
] | edumar03@ucm.es |
bfa7b5a0a259a559a8e830af0be05e70f45939fc | dc147e412416807d1f6a73742152d48a00fde69c | /1A - Shopping App/Utils.cpp | f21fa91f0dce3cff3182ee4081fdc6a60daad697 | [] | no_license | MohitSheladiya/ObjectOrientedProgramming | 7a4b606098736c561c15c52cf9860cc1503cb178 | 04ccb2ea15bf1f0d31a6741c968d631e6c556c40 | refs/heads/master | 2023-07-06T18:02:32.455880 | 2021-08-15T06:59:57 | 2021-08-15T06:59:57 | 396,161,231 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,446 | cpp | /*
Name: Mohit Kishorbhai Sheladiya
Student ID: 117979203
Student Email: mksheladiya@myseneca.ca
Date: 20/1/21
*/
#include <iostream>
#include "Utils.h"
using namespace std;
namespace sdds {
void flushkeys() {
while (cin.get() != '\n');
}
bool ValidYesResponse(char ch) {
... | [
"sheladiyamohit@gmail.com"
] | sheladiyamohit@gmail.com |
d4b585ede187f1ecadfc9410bcedecb7f6357fe3 | a34fe1a599b010d5e3f75a6f7838c8ecbf998a74 | /boost/xpressive/traits/cpp_regex_traits.hpp | 72da4f0aa6c591951abb4fd3e5197264fbfe0694 | [] | no_license | flmello/4thArticleIntel | 78652a9957c507beb4b7be6d8560076211134c0c | 2c204799553a0ca85b6baf1a1ff9876254fd4800 | refs/heads/master | 2021-08-23T03:45:51.554811 | 2017-12-03T01:32:27 | 2017-12-03T01:32:27 | 112,890,564 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 26,230 | hpp | ///////////////////////////////////////////////////////////////////////////////
/// \file cpp_regex_traits.hpp
/// Contains the definition of the cpp_regex_traits\<\> template, which is a
/// wrapper for std::locale that can be used to customize the behavior of
/// static and dynamic regexes.
//
// Copyright 200... | [
"flavioluis.mello@gmail.com"
] | flavioluis.mello@gmail.com |
befe8e0d5eba478814dd4cdd8179b23230d9b40c | 869662062115ec5aeecf4f8164409cdcd661da1f | /src/main.cpp | c639fb35dab185db6d12a46f70af1aa317245349 | [] | no_license | kaloyanpenev/opengl-pbr | 80c641f85bf365c5bd4a29eb46870c3f0120992e | ddaca6347892049b5d560b71c8fbc1783bf0a538 | refs/heads/master | 2023-05-30T03:42:03.182552 | 2021-06-10T14:59:23 | 2021-06-10T14:59:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,554 | cpp | #include <SDL2/SDL.h>
#include <GL/glew.h>
#include <glm/glm.hpp>
#include <glm/ext.hpp>
#include <iostream>
#include <exception>
#include <vector>
#include <windows.h>
#include "Shader.h"
#include "Camera.h"
#include "Time.h"
#include "Texture.h"
#include "Model.h"
#include "Framebuffer.h"
#include "Skybox.h"
... | [
"kaloyan42x@gmail.com"
] | kaloyan42x@gmail.com |
455b819f4b1fcf29e82c29b73b3e70254b4db447 | 46bf8aa86e7724629b269a0ac473b385dfe18c4b | /test/demosupport.h | 2910f915274fe27fe2940ef515c3455ffdc8e10b | [
"MIT"
] | permissive | equilibr/osgQt | 16938bd564010042972674bf8537ff229f318a54 | c59c973dcff1c12c649f8bb83e6736dccff13f8d | refs/heads/master | 2020-07-24T15:21:26.584542 | 2020-04-10T13:51:01 | 2020-04-10T13:51:01 | 207,967,538 | 5 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 275 | h | #ifndef DEMOSUPPORT_H
#define DEMOSUPPORT_H
#include <osg/Geode>
#include "../src/osgQtWidget.h"
namespace osgQtDemo
{
osg::Geode * createScene();
void setupCameraManipulator(osgQt::Widget * widget);
void setupCamera(osgQt::Widget * widget);
}
#endif // DEMOSUPPORT_H
| [
"47003432+equilibr@users.noreply.github.com"
] | 47003432+equilibr@users.noreply.github.com |
951c754f8d7d7ffaf2c6afaa27e3d2ca2fe8e8d6 | 9fdb7597205151b7020c8dae34309ce461480ade | /Dijstra.cpp | ae1e2ae8ac28a9b7220e924fda609b7bdf37cca5 | [] | no_license | SownBanana/Applied-Algorithms | 853996f3d4f95f97dee339641659dc55aa83d730 | 7e6041447e821c5eb6ab0e55d5686ce3c0a1e7d4 | refs/heads/master | 2021-01-05T15:37:35.358243 | 2020-02-17T09:11:49 | 2020-02-17T09:11:49 | 241,063,836 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,840 | cpp | #include <iostream>
#include <vector>
#include <list>
#define MAX 100001
//using namespace std;
typedef struct a{
int u;
int w;
} pairWu;
int N,M;
int s,t; //start - target
std::vector<pairWu> A[MAX]; //tree
int p[MAX];
bool fixed[MAX];
//heap
int d[MAX]; //d[v] is the upper bound of the length of the shortes... | [
"s.v.o.a.26@gmail.com"
] | s.v.o.a.26@gmail.com |
b4844f7ba9b5c77354f46f17b06ba5dfb1fd421b | 753f9b8f260e7cb57a4c9091737a8bfb203c09b4 | /Plugins/VaRestPlugin/Source/VaRest/Public/VaRestSubsystem.h | 3fae927edbde90d15b79704140fc9253b48bdd36 | [
"MIT"
] | permissive | cheburashkalev/Yandex.Music.UE4 | 784a4abe262bf0dded1cb8a21345634c43224a4a | 58ccc6d0145eca4627bdf3a1daed5df4f0261dc3 | refs/heads/main | 2023-08-15T04:00:41.004801 | 2021-10-09T09:46:30 | 2021-10-09T09:46:30 | 412,085,960 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,616 | h | // Copyright 2014-2020 Vladimir Alyamkin. All Rights Reserved.
#pragma once
#include "VaRestJsonObject.h"
#include "VaRestJsonValue.h"
#include "VaRestRequestJSON.h"
#include "Subsystems/EngineSubsystem.h"
#include "VaRestSubsystem.generated.h"
DECLARE_DYNAMIC_DELEGATE_OneParam(FVaRestCallDelegate, UVaRestRequestJ... | [
"47310777+cheburashkalev@users.noreply.github.com"
] | 47310777+cheburashkalev@users.noreply.github.com |
e6bcf4008b03b9c13274740b77841b24522a50be | 6e41458b8ec6ccf30d314a0cd0a3fdd94317925f | /Fuzzy/Codigo1/includes/RegrasVel.hpp | 58756e090607c2db41ce763a64cad30671dc30a9 | [] | no_license | UnbDroid/Festo2016 | 108577b4468513f609e921841e5365be6fc09274 | 8f22bcf9b68803a91ac20dfb282910db55415b98 | refs/heads/master | 2021-01-23T14:04:08.587503 | 2017-09-04T19:48:26 | 2017-09-04T19:48:26 | 58,758,496 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 774 | hpp | #ifndef REGRAS_VEL_HPP
#define REGRAS_VEL_HPP
#include "Regras.hpp"
#include <vector>
using namespace std;
template <class Owner> class TurboBackward: public Regras<Owner>{
public:
TurboBackward(Owner* o):Regras<Owner>(o){};
virtual void executar();
};
template <class Owner> class VeryFastBackward: public R... | [
"rodrigowerberich@hotmail.com"
] | rodrigowerberich@hotmail.com |
8ecbe36c8482cf6b44676b9439f59ccc4992ac1d | 139dfd1c0af642a3bc48e88f1ac740589b0590ea | /src/AS_02_PHDR.h | e9084042bccc79612f71440e5718122872548252 | [
"BSD-3-Clause"
] | permissive | DSRCorporation/asdcplib-as02 | 355c5fc76288e671d72e77a049e270ad6f9ca2e0 | 018002ccc5d62716514921a14782446e8edc4f3a | refs/heads/master | 2020-05-02T13:44:35.517720 | 2016-08-08T12:36:59 | 2016-08-08T12:36:59 | 65,993,564 | 8 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,201 | h | /*
Copyright (c) 2011-2015, John Hurst
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the follow... | [
"Alexandr"
] | Alexandr |
fd4be234176529442776cece8e1e590ab3e346b1 | 5d0ab3b290b0b997a8b2184037b01331af14fcfe | /practical5/src/dynamics/SpringForceField.cpp | d09c102d21be3af6d755dd4ed6e9c101d01b83f2 | [] | no_license | pie3636/3D-Kart | e58ff18fb9e5701431ea0c495ee43de6d9b6c4ac | 91310abe27d225b1d152b3722cafb9425a80c823 | refs/heads/master | 2023-06-09T08:34:03.739633 | 2016-04-26T10:20:01 | 2016-04-26T10:20:01 | 55,910,402 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 903 | cpp | #include "./../../include/dynamics/SpringForceField.hpp"
SpringForceField::SpringForceField(const ParticlePtr p1, const ParticlePtr p2, float stiffness, float equilibriumLength, float damping) :
m_p1(p1),
m_p2(p2),
m_stiffness(stiffness),
m_equilibriumLength(equilibriumLength),
m_damping(damping)
{... | [
"maxime.meloux@ensimag.grenoble-inp.fr"
] | maxime.meloux@ensimag.grenoble-inp.fr |
328bc10ee6ef7f1fe14ff8b99bad36b3b80e8ef6 | fa939a703563ca6a5af3b79df3c4241757f3f059 | /Source/Laboratoare/Tema3/Transform2D.h | ea7517f6cb8277a9df056b354670e71c09f9c21e | [] | no_license | alexbiolete/opengl-skylised-runner | 47c13cc603cb8c0209bfbf2a13a4b570d6db3d42 | abc3f167b5fad10ed8daefd05cddb6c405279c36 | refs/heads/main | 2023-07-17T23:38:32.158513 | 2021-08-31T21:01:51 | 2021-08-31T21:01:51 | 401,839,595 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 686 | h | #pragma once
#include <include/glm.h>
namespace Transform2D
{
// Translate matrix
inline glm::mat3 Translate(float translateX, float translateY)
{
// TODO implement translate matrix
return glm::transpose(glm::mat3(1, 0, translateX,
0, 1, translateY,
0, 0, 1));
}
// Scale matrix
inline... | [
"alexbiolete@pm.me"
] | alexbiolete@pm.me |
4ee80f2d5f4025385d95c50a9992276921042387 | 6a19bec1f6c02d8defe37e8a7179149821ab5a93 | /src/wallet/rpcwallet.cpp | 1f053ac2ae025e83f1a6bd5f92e5730e36d9e947 | [
"MIT"
] | permissive | glpcoin/GodLikeProductsSource | 4800d486f0f6c1cee2f76131b750346bcd1948d9 | 74059e30f802343e1812b7c40f0b4621ae0980d9 | refs/heads/master | 2020-06-12T01:16:46.672122 | 2019-06-27T19:11:34 | 2019-06-27T19:11:34 | 194,148,521 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 142,216 | cpp | // Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2015 The Bitcoin Core developers
// Copyright (c) 2014-2017 The Dash Core developers
// Copyright (c) 2019 The GodLikeProducts Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/lic... | [
"damalisullivan@yahoo.com"
] | damalisullivan@yahoo.com |
a11ad2b7827c668fe0c324ee4d14c58eed05c952 | 0641d87fac176bab11c613e64050330246569e5c | /tags/release-2-6-d01/source/test/intltest/calregts.h | 74243601aeac75dedb4dcef58bfd6f50ba883ab1 | [
"ICU"
] | permissive | svn2github/libicu_full | ecf883cedfe024efa5aeda4c8527f227a9dbf100 | f1246dcb7fec5a23ebd6d36ff3515ff0395aeb29 | refs/heads/master | 2021-01-01T17:00:58.555108 | 2015-01-27T16:59:40 | 2015-01-27T16:59:40 | 9,308,333 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,571 | h | /********************************************************************
* COPYRIGHT:
* Copyright (c) 1997-2001, International Business Machines Corporation and
* others. All Rights Reserved.
********************************************************************/
#ifndef _CALENDARREGRESSIONTEST_
#define _CALENDARREGRE... | [
"(no author)@251d0590-4201-4cf1-90de-194747b24ca1"
] | (no author)@251d0590-4201-4cf1-90de-194747b24ca1 |
a97e4a45eebc97eb2353beb620a85f27b492dac7 | df56c3d9f44132d636c0cef1b70e40034ff09022 | /networksecurity/tlsprovider/source/swtlstokentypeplugin/swtlstokenprovider.cpp | bb22bedeeee43f4d17af4fcce5495f8c1d88c624 | [] | no_license | SymbianSource/oss.FCL.sf.os.networkingsrv | e6317d7ee0ebae163572127269c6cf40b98e3e1c | b283ce17f27f4a95f37cdb38c6ce79d38ae6ebf9 | refs/heads/master | 2021-01-12T11:29:50.765762 | 2010-10-14T06:50:50 | 2010-10-14T06:50:50 | 72,938,071 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,709 | cpp | // Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of "Eclipse Public License v1.0"
// which accompanies this distribution, and is available
// at the URL "http://www.eclipse.org/legal/e... | [
"kirill.dremov@nokia.com"
] | kirill.dremov@nokia.com |
41f6ecd3bfaef72f42112035587219a8b689dd62 | 7b379862f58f587d9327db829ae4c6493b745bb1 | /JuceLibraryCode/modules/juce_graphics/fonts/juce_TextLayout.cpp | be3a8ac66be9d6a05e9f52ad505853fbc05b11d6 | [] | no_license | owenvallis/Nomestate | 75e844e8ab68933d481640c12019f0d734c62065 | 7fe7c06c2893421a3c77b5180e5f27ab61dd0ffd | refs/heads/master | 2021-01-19T07:35:14.301832 | 2011-12-28T07:42:50 | 2011-12-28T07:42:50 | 2,950,072 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,576 | cpp | /*
==============================================================================
This file is part of the JUCE library - "Jules' Utility Class Extensions"
Copyright 2004-11 by Raw Material Software Ltd.
------------------------------------------------------------------------------
JUCE can be r... | [
"ow3nskip"
] | ow3nskip |
47c584f0ffffa0fe9b556947cab467a3f524bb2e | 9e44da9a999c2334f767eb1dd4ffb2ff9f5d6c84 | /P1928外星密码.cpp | 27b547baf454549d687854156eff71309c67fbda | [] | no_license | wanan429/LuoGu_Cpp | 04839d9dc012fe8432db17bb917702181b3926aa | 31ccd1128e49255151c7359f3d91eabe784c0f95 | refs/heads/master | 2023-06-10T15:01:12.129698 | 2021-06-28T15:06:25 | 2021-06-28T15:06:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 367 | cpp | #include "bits/stdc++.h"
#include "string"
using namespace std;
string node(){
int N;
string s = "",qt;
char c;
while(cin >> c){
if(c=='['){
cin >> N;
qt = node();
while(N--){
s+=qt;
}
}else{
if(c ==']'){
return s;
}else{
s +=c;
}
}
}
}
in... | [
"xuanrandev@qq.com"
] | xuanrandev@qq.com |
c8700e3acd21217ad57bfc7b0bc74c156b15d2eb | 7f4cc9d717fe4bbcb4616b331e0ec3766a76d395 | /eventlogger.cpp | 89336a82b91dd43db8bcbef4c9bef5f0fcc34bb1 | [] | no_license | zzy7896321/FishTank | dacd1c3769407a41a05fbff0aab2c16581ab11ba | 5186f0e21fad2fd68c4791394fcdb492e5f6872a | refs/heads/master | 2016-09-06T16:06:51.823867 | 2014-05-23T12:50:05 | 2014-05-23T12:50:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,700 | cpp | #include "eventlogger.h"
#include "host.h"
const char* pstrResultString[7] = {"Success.", //0
"Failure: invalid target coordinate.", //1
"Failure: target is already occupied.", //2
"Failure: target is out of range.", /... | [
"zzy7896321@163.com"
] | zzy7896321@163.com |
34c15df69b795bb03df42116934845aac12d1c07 | 9923a00a9afcd97c2fb02f6ed615adea3fc3fe1d | /Branch/Deprecated/SickLDMRS/datatypes/FieldDescription.cpp | e0ca5076659c74b465ffcd5d119c8dfdbbd95a34 | [
"MIT"
] | permissive | Tsinghua-OpenICV/OpenICV | 93df0e3dda406a5b8958f50ee763756a45182bf3 | 3bdb2ba744fabe934b31e36ba9c1e6ced2d5e6fc | refs/heads/master | 2022-03-02T03:09:02.236509 | 2021-12-26T08:09:42 | 2021-12-26T08:09:42 | 225,785,128 | 13 | 9 | null | 2020-08-06T02:42:03 | 2019-12-04T05:17:57 | C++ | UTF-8 | C++ | false | false | 634 | cpp | /*
* FieldDescription.cpp
*
* Created on: 30.08.2011
* Author: wahnfla
*/
#include "FieldDescription.hpp"
#include "../tools/errorhandler.hpp"
namespace datatypes
{
FieldDescription::FieldDescription() :
m_fieldType(Undefined)
{
m_datatype = Datatype_FieldDescription;
}
//
//
//
... | [
"synsin0@outlook.com"
] | synsin0@outlook.com |
fb617860d3220b89047d992f74dc74745b6172be | 98d075fd10bd084fd0972adb1320b78090a09ad9 | /testapp/stdafx.h | 4dffc357d6fd3df4d14cdff3bf0cfe585ac12427 | [] | no_license | mssmax/scratch | c4fe33567f0722b5b8b5de126f622a5b2b4dd107 | 5b3dc920ccc028a5a862a4f3f64187091a07608b | refs/heads/master | 2020-09-25T12:15:02.890504 | 2017-04-29T17:58:05 | 2017-04-29T17:58:05 | 66,651,672 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 448 | h | // stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently, but
// are changed infrequently
//
#pragma once
#include "targetver.h"
#include <Windows.h>
#include <Sddl.h>
#include <AclAPI.h>
#include <tchar.h>
#include <strsafe.h>
#include... | [
"max@gfi.com"
] | max@gfi.com |
2554aa7eed1cb0523aba1a97e0c1fddf2bcc9861 | f416ab3adfb5c641dc84022f918df43985c19a09 | /problems/kattis/nsum/sol.cpp | 3d9289d3cadc156d604f9dcba385008a63ad50d5 | [] | no_license | NicoKNL/coding-problems | a4656e8423e8c7f54be1b9015a9502864f0b13a5 | 4c8c8d5da3cdf74aefcfad4e82066c4a4beb8c06 | refs/heads/master | 2023-07-26T02:00:35.834440 | 2023-07-11T22:47:13 | 2023-07-11T22:47:13 | 160,269,601 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 266 | cpp | #include <bits/stdc++.h>
using namespace std;
int main()
{
int n;
cin >> n;
vector<int> V(n, 0);
for (int i = 0; i < n; ++i)
{
cin >> V[i];
}
int sum = accumulate(V.begin(), V.end(), 0);
cout << sum << endl;
return 0;
} | [
"klaassen.nico@gmail.com"
] | klaassen.nico@gmail.com |
b46f7d60633844c2925ce026a44e40c96c46e60b | 05b8ceb85880245663723fff23ffcf73c8e5c3e2 | /gm/fp_sample_chaining.cpp | 4ac66137ac166a0baa9d38ce476e9a3f066eca66 | [
"BSD-3-Clause"
] | permissive | RainwayApp/skia | 307e562bb197914f638e3d65b9ac1a62cbfc09dd | f5583b4936ad13c4efe170807fbaf9b2decd0618 | refs/heads/master | 2020-12-15T20:19:20.358046 | 2020-07-15T16:46:54 | 2020-07-15T16:46:54 | 235,236,299 | 2 | 0 | NOASSERTION | 2020-07-15T17:17:37 | 2020-01-21T02:02:45 | C++ | UTF-8 | C++ | false | false | 16,746 | cpp | /*
* Copyright 2019 Google LLC.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "gm/gm.h"
#include "include/core/SkFont.h"
#include "include/effects/SkRuntimeEffect.h"
#include "src/gpu/GrBitmapTextureMaker.h"
#include "src/gpu/GrContextPriv.h"
#... | [
"skia-commit-bot@chromium.org"
] | skia-commit-bot@chromium.org |
fabfff14529600da1b9673e9b6701ddaf4b9460f | 8de76d892940f42673e3bac14046482f206dbb6f | /src/Difficulty.cpp | 8f901e2fb78d9dc0e5243406a2dac30e9ecc4992 | [
"MIT"
] | permissive | vcahlik/pa2-pacman | 229c09cf1641dfc715bc432e6cb603d10f15625a | 511b4585a136508ddfacceca08b887cb512517c1 | refs/heads/master | 2021-05-26T07:22:00.674091 | 2021-01-04T09:43:56 | 2021-01-04T09:43:56 | 127,897,736 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,485 | cpp | #include <stdexcept>
#include "Difficulty.h"
#include "Config.h"
Difficulty::Difficulty(const Level level) {
ghostBaseSpeed = Config::PLAYER_BASE_SPEED;
ghostFrightenedDurationMsecs = Config::GHOST_FRIGHTENED_DEFAULT_DURATION_MSECS;
switch (level) {
case Level::Level1:
ghostBaseSpeed *... | [
"vojtech.cahlik@gmail.com"
] | vojtech.cahlik@gmail.com |
e1d46d5c07a1170e0ec13390c3deeb9f4c4e698c | e2d709a6005a8dcd1eb0de818260be0d7b8fa6a2 | /include/okapi/api/chassis/controller/chassisControllerPid.hpp | 0a23f47455c9dfb858c457b4def76be17b86cf39 | [] | no_license | sealj553/VexV5NanoboyAdvance | ea33ceea18b84231a0e7ea581e05e7f639a1f2f1 | d11f44fba95d16fcb0f8fe8cfae22318e6ce9cbb | refs/heads/master | 2020-04-01T15:51:14.815109 | 2018-10-20T05:38:57 | 2018-10-20T05:38:57 | 153,354,793 | 11 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,719 | hpp | /**
* @author Ryan Benasutti, WPI
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#ifndef _OKAPI_CHASSISCONTROLLERPID_HPP_
#define _OKAPI_CHASSISCONTROLLERPID... | [
"sealj553@gmail.com"
] | sealj553@gmail.com |
658ba10a326f3f26dd7a402fb4da8a8a5e65c423 | 8afb5afd38548c631f6f9536846039ef6cb297b9 | /_REPO/MICROSOFT/cocos2d-x/cocos/editor-support/cocostudio/CCActionManagerEx.h | 772497bf15ce2315ad07696cec6e89be38c7b8e9 | [
"MIT"
] | permissive | bgoonz/UsefulResourceRepo2.0 | d87588ffd668bb498f7787b896cc7b20d83ce0ad | 2cb4b45dd14a230aa0e800042e893f8dfb23beda | refs/heads/master | 2023-03-17T01:22:05.254751 | 2022-08-11T03:18:22 | 2022-08-11T03:18:22 | 382,628,698 | 10 | 12 | MIT | 2022-10-10T14:13:54 | 2021-07-03T13:58:52 | null | UTF-8 | C++ | false | false | 3,794 | h | /****************************************************************************
Copyright (c) 2013-2017 Chukong Technologies Inc.
http://www.cocos2d-x.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the So... | [
"bryan.guner@gmail.com"
] | bryan.guner@gmail.com |
4cdcd6b4237a5aa5527fba8435c344cec1fd23d1 | 03c7cf7a57a1a26bb21e0184642f0a5c8b0336ae | /Release/gen/webcore/bindings/V8SQLTransactionErrorCallback.cpp | 32377624f8f2e3dd8b30ee17b96c8d32e3e82898 | [] | no_license | sanyaade-embedded-systems/armhf-node-webkit | eb38a2a34e833310ee477592028905fd00a86e5a | 5bc4509c0e19cce1a64b7cab4f92f91edfa17944 | refs/heads/master | 2020-12-30T19:11:15.189923 | 2013-03-16T14:29:23 | 2013-03-16T14:29:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,336 | cpp | /*
This file is part of the WebKit open source project.
This file has been generated by generate-bindings.pl. DO NOT MODIFY!
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation... | [
"marian.such@ackee.cz"
] | marian.such@ackee.cz |
b10f5717b21029b52c9508c48748355eff6845f9 | 04b1803adb6653ecb7cb827c4f4aa616afacf629 | /third_party/blink/renderer/platform/audio/audio_io_callback.h | cb9e87dcaeca4757c590d639a866dd630daecb11 | [
"BSD-3-Clause",
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT",
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-2.1-only",
"GPL-2.0-only",
"LGPL-2.0-only",
"BSD-2-Clause",
"LicenseRef-scancode-other-copyleft"
] | permissive | Samsung/Castanets | 240d9338e097b75b3f669604315b06f7cf129d64 | 4896f732fc747dfdcfcbac3d442f2d2d42df264a | refs/heads/castanets_76_dev | 2023-08-31T09:01:04.744346 | 2021-07-30T04:56:25 | 2021-08-11T05:45:21 | 125,484,161 | 58 | 49 | BSD-3-Clause | 2022-10-16T19:31:26 | 2018-03-16T08:07:37 | null | UTF-8 | C++ | false | false | 2,988 | h | /*
* Copyright (C) 2012 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:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of condit... | [
"sunny.nam@samsung.com"
] | sunny.nam@samsung.com |
ba449a9fe1b31be52650e846dc989051ce866e15 | 1fa6620e50dcc759e561904b0890c2f436b432fb | /OccFaceDetectFromSensor/main.cpp | 51f6540f9cec635b9e9cc0b61037bd581b26d38f | [] | no_license | brycezou/GroceryProjects | ee3f31a2f3538d45370a964c14d9f33fa093af6a | acd8d390692d42a648e6493cf1f7d3ebee124089 | refs/heads/master | 2021-08-10T09:21:27.005941 | 2017-11-12T12:59:05 | 2017-11-12T12:59:05 | 110,268,793 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 9,010 | cpp | #include <Windows.h>
#include "obtainForegroundMask.h"
#include "FourierTransform.h"
#include "LocateHeadRegion.h"
#include "registerColor2Depth.h"
#include "FindContours.h"
#include "GetHeadRegionRect.h"
#include <fstream>
#include "svm.h"
#include "KinectConnector.h"
using namespace std;
//在深度图像depthIpl和配准后的彩色图像re... | [
"1574689068@qq.com"
] | 1574689068@qq.com |
81127547d3ab9b40b03ac350525546f3b0f9145c | 6e57bdc0a6cd18f9f546559875256c4570256c45 | /external/pdfium/xfa/fxfa/cxfa_ffpageview.cpp | fe1fbb517fb90fc7abceb24648da3d292926a235 | [
"BSD-3-Clause"
] | permissive | dongdong331/test | 969d6e945f7f21a5819cd1d5f536d12c552e825c | 2ba7bcea4f9d9715cbb1c4e69271f7b185a0786e | refs/heads/master | 2023-03-07T06:56:55.210503 | 2020-12-07T04:15:33 | 2020-12-07T04:15:33 | 134,398,935 | 2 | 1 | null | 2022-11-21T07:53:41 | 2018-05-22T10:26:42 | null | UTF-8 | C++ | false | false | 15,857 | cpp | // Copyright 2014 PDFium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
#include "xfa/fxfa/cxfa_ffpageview.h"
#include <algorithm>
#include <memory>
... | [
"dongdong331@163.com"
] | dongdong331@163.com |
b6a8a0f7d42f867af210b2547d5ad96bc8c0919a | 6b514ab0c3d714a60e65e42582e7cecf9366b4f4 | /include/web-socketz.h | f6c54037d20c5af2f03e9628b60314247ca542b7 | [] | no_license | zualex-zz/zRadio | 5356fd500b06c9faabef70406b2d7a8850039de6 | d1771c04ea8702c48516769d4e7fbf35f3fa6257 | refs/heads/main | 2023-03-20T20:46:30.224879 | 2021-03-09T14:06:16 | 2021-03-09T14:06:16 | 346,022,119 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 840 | h | #ifndef WEBSOCKETZ_H
#define WEBSOCKETZ_H
#include <WebSocketsServer.h>
WebSocketsServer webSocket = WebSocketsServer(81);
class WebSocketz {
// WebSocketServerEvent webSocketServerEvent;
public:
WebSocketz() {
Serial.print("WebSocketz constructor");
}
void begin() {
webSocket.... | [
"alex.zupan@gpi.it"
] | alex.zupan@gpi.it |
374618ec44e22dd44ab5decd0cd8e99c29330904 | bc163b3de90994860566a6ce2355c9d36b2b4604 | /MyApplication_17/TouchGFX/generated/images/src/miniDOWN.cpp | b48bd11a8171de52cdfe39d3cd1e3ff0badf8e08 | [] | no_license | mfkiwl/CoolSmif | 6831a89c5470bd37907672f71927d8f0da618e63 | 0db24b78d9f55a53fd61007aa05246dee4ad14b5 | refs/heads/master | 2023-03-19T07:33:19.147816 | 2020-06-04T12:50:32 | 2020-06-04T12:50:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 99,002 | cpp | // 4.13.0 dither_algorithm=2 alpha_dither=yes layout_rotation=0 opaque_image_format=RGB888 non_opaque_image_format=ARGB8888 section=ExtFlashSection extra_section=ExtFlashSection generate_png=no 0x90414c59
// Generated by imageconverter. Please, do not edit!
#include <touchgfx/hal/Config.hpp>
LOCATION_PRAGMA("ExtFlash... | [
"coolab.strousset@gmail.com"
] | coolab.strousset@gmail.com |
d04fd11e07068b8473e3132ea507684373f16379 | ec6ca197b7a6c6ec1fba5ad4365aa5f99d5ebf8f | /libgearman/aggregator.cc | e5b2727ef2fe098d80df23804075ef43e46486a5 | [
"BSD-3-Clause"
] | permissive | gearman/gearmand | 65e6ad6fbd06cf53f623bf1ea1174555e3b1210d | 56761cd7c6119cbfde81033f3371a551055390a3 | refs/heads/master | 2023-09-03T20:30:00.118647 | 2023-08-18T15:22:06 | 2023-08-18T15:22:06 | 62,418,058 | 765 | 174 | NOASSERTION | 2023-08-18T15:22:08 | 2016-07-01T20:26:20 | C++ | UTF-8 | C++ | false | false | 2,008 | cc | /* vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
*
* Gearmand client and server library.
*
* Copyright (C) 2011 Data Differential, http://datadifferential.com/
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the fo... | [
"brian@tangent.org"
] | brian@tangent.org |
3e8440cbc8382b5d7bc58099b8fc99a6abe69e06 | 8975b519d7dc2930e787e65e9505774557dfe982 | /IndoorGMLParser/Face.h | 7d75362e6bfc1139e6eb8a4e4ddbb0e6fdf9bd29 | [] | no_license | JungHam/IndoorGMLParser | 36ae477b8da1a34775d9810dba2170f04ecca910 | 26a76578e1ea1d49db7d358657f651a48755db51 | refs/heads/master | 2020-06-03T08:22:50.005011 | 2019-08-19T11:50:51 | 2019-08-19T11:50:51 | 191,506,101 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 765 | h | #pragma once
#include <iostream>
#include <vector>
#include "Vertex.h"
#include "Point3d.h"
#include "Polygon2D.h"
#include "Triangle.h"
using namespace std;
namespace geometry {
class Face {
vector<Vertex>vertexArray;
indoorgml::Point3D calculateNormal();
indoorgml::Point3D _normal;
bool hasNormalValue;
p... | [
"hmjeong@gaia3d.com"
] | hmjeong@gaia3d.com |
b803eb862f4ced5c63fa3cf8d17dd9a7d6b8e1d2 | 7b32a691b428b8b158825f5d9f9719c533d4fa3e | /NumberDifferentSubstrings.cpp | fa864abdfbe7c19a1f9e0947b2ecfbdf831fa958 | [] | no_license | drexxcbba/ITMOCOURSE_CP | c378403e8de4382f13e925a92a6a30ecd2e209db | 8f4311f22d6b39ceb905eb64bf4a812cac61ee1b | refs/heads/master | 2022-12-07T21:01:09.611062 | 2020-09-03T05:25:22 | 2020-09-03T05:25:22 | 290,088,092 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,990 | cpp | #include <bits/stdc++.h>
using namespace std;
void countSort(vector<int> &p, vector<int> &c){
int n = p.size();
vector<int> count (n);
for (auto x: c){
count[x]++;
}
vector<int> new_p (n);
vector<int> pos (n);
pos[0] = 0;
for(int i = 1; i < n; i++) pos[i] = pos[i - 1] + count[i - 1];
fo... | [
"villarroel24kyle@gmail.com"
] | villarroel24kyle@gmail.com |
103fe20f336afd3f64d3bc91262864ccbef27b9b | f38241a7b627c03a906a1a28b3ef9bc0f0b4cf24 | /src/blend2d/pipegen/blpipecompiler_p.h | 6442b6a6952060daddb02b75e4d5b89551715b02 | [
"LicenseRef-scancode-warranty-disclaimer",
"Zlib"
] | permissive | Sondro/blend2d | e2a0d9db5c60582490d233a38a2b880dbc8b3d3f | 337e969181a1e6e655c55d8e1dc015262178cc79 | refs/heads/master | 2020-05-16T12:49:54.308155 | 2019-04-21T22:36:53 | 2019-04-21T22:36:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 80,432 | h | // [Blend2D]
// 2D Vector Graphics Powered by a JIT Compiler.
//
// [License]
// ZLIB - See LICENSE.md file in the package.
#ifndef BLEND2D_PIPEGEN_BLPIPECOMPILER_P_H
#define BLEND2D_PIPEGEN_BLPIPECOMPILER_P_H
#include "../pipegen/blpipegencore_p.h"
#include "../pipegen/blpiperegusage_p.h"
//! \cond INTERNAL
//! \ad... | [
"kobalicek.petr@gmail.com"
] | kobalicek.petr@gmail.com |
d72df24c7357ddf0e78a6b33b398ad9ace5833de | 603a949023236ff5ebb9863b90a1ad4c148946c7 | /com/sstl.h | 3b74422b1f3910b488ef6ee65e1ae98be2f9c075 | [
"BSD-3-Clause",
"LicenseRef-scancode-generic-cla"
] | permissive | clear-wing/xoc | 108636919d70a9445b444af198f3012864343323 | b89d4e207cf3382e85d19b733566e296018958ba | refs/heads/master | 2021-05-12T17:26:34.568544 | 2018-01-07T10:28:52 | 2018-01-07T10:28:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 129,504 | h | /*@
XOC Release License
Copyright (c) 2013-2014, Alibaba Group, All rights reserved.
compiler@aliexpress.com
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 c... | [
"steven.known@gmail.com"
] | steven.known@gmail.com |
457f7c83206ec3590aaa5d4011a2efdf885b1fd6 | 945e7bf2e9aef413082e32616b0db1d77f5e4c7e | /StereoViewer/IGlut.cpp | ffdc9768ac4924ef7283269208a12011cec2683f | [] | no_license | basarugur/bu-medialab | 90495e391eda11cdaddfedac241c76f4c8ff243d | 45eb9aebb375427f8e247878bc602eaa5aab8e87 | refs/heads/master | 2020-04-18T21:01:41.722022 | 2015-03-15T16:49:29 | 2015-03-15T16:49:29 | 32,266,742 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 22,184 | cpp | #include "common.h"
#include "IGlut.h"
#include "HeadTrackerClient.h"
#include "cv.h"
#include "wiimote.h"
#include "GL/glui.h"
#include <fstream>
#include <stdexcept>
#include "../SceneModeller_API/src/core/gfxobject.h"
#include "../SceneModeller_API/src/core/rectangle.h"
#include "../SceneModeller_API/src/core/cub... | [
"basarugur@19b6b63a-0a50-11de-97d8-e990b0f60ea0"
] | basarugur@19b6b63a-0a50-11de-97d8-e990b0f60ea0 |
e96596a7bf1cca4a3bf7c2bf08c4e2abeb87924d | 297a6efa719f1421f921f145a9190fb0006e315f | /09-CocheFantasticoMejorado/Ejercicio05-CocheFantasticoMejorado.ino | ee9f52036d550cf74e7ff92aca611c00f4dd8767 | [] | no_license | therobotacademy/iot-arduino | 690350053493f023ffe3aa58c213859f54eb66af | 3fe9163f557d5e464ad4b769e3b1dd13d0613265 | refs/heads/master | 2021-05-02T03:43:36.339678 | 2018-03-16T17:38:40 | 2018-03-16T17:38:40 | 120,903,461 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,149 | ino | /* Knight Rider 2
--------------
Reducing the amount of code using for(;;).
(cleft) 2005 K3, Malmo University
@author: David Cuartielles
@hardware: David Cuartielles, Aaron Hallborg
@modified by: aprendiendoarduino
*/
int pinArray[] = {3, 5, 8, 10, 12};
int count = 0;
int timer = 400;
void setup(... | [
"brjapon@therobotacademy.com"
] | brjapon@therobotacademy.com |
edd401d32889e3862267797b16e95a837164fe51 | 547a31c6d098df866be58befd8642ab773b32226 | /vc/DataLogger/PDFLib/except.cpp | 27cc6a57375c6a083714494715dce488274d5291 | [] | no_license | neirons/pythondatalogger | 64634d97eaa724a04707e4837dced51bcf750146 | f1cd1aea4d63407c3d4156ddccd02339dc96dcec | refs/heads/master | 2020-05-17T07:48:33.707106 | 2010-08-08T13:37:33 | 2010-08-08T13:37:33 | 41,642,510 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,555 | cpp | /*---------------------------------------------------------------------------*
| PDFlib - A library for generating PDF on the fly |
+---------------------------------------------------------------------------+
| Copyright (c) 1997-2002 PDFlib GmbH and Thomas Merz. All rights reserved. |
+--... | [
"shixiaoping79@5c1c4db6-e7b1-408c-73c2-e61316242a6a"
] | shixiaoping79@5c1c4db6-e7b1-408c-73c2-e61316242a6a |
58f473811da92d69b93a777f0bc32a4d5915dd4b | cee40740786d05833f67dbf57c9a2fb76ff12168 | /Cmpe226/HW2/queue.h | 8dd7650d4306a9d1a27e421bf29971f3ae08b59c | [] | no_license | mcakici/Coding-HWs | 76251e47a2b7c2bd666b584b53f785eb6a31e094 | e4da3e3c97178842d53082fd6c97d7a0929bb50a | refs/heads/master | 2022-12-15T18:22:24.641353 | 2022-11-27T17:44:33 | 2022-11-27T17:44:33 | 259,754,141 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 966 | h | #define QUEUE_H
#include <iostream>
#include <cassert>
template <typename T>
class Queue{
private:
int maxsize;
int count;
int front,rear;
T *data;
public:
Queue(int sz=100){
maxsize = sz;
data = new T[maxsize];
front = 0;
rear = maxsize-1;
count = 0;
}
~Queue(){
delete[] data;
}
... | [
"glikoz@live.com"
] | glikoz@live.com |
6a77f8a90306ecc4caf802ec2693da7a4bc3acd5 | 8944ff60725282eea466ae6004a7e6021496a8f9 | /xmlobj/xml_lexer.h | 3a6fdf66b75454c8b11b45ead304949e9c3c5c32 | [
"MIT"
] | permissive | yikailee/xmlobj | e33e9bce61bff95dd1c30b77c2cf7a5ce7491477 | cc6ab6dbf1ddbe39bc5fdcd8d61e1c2ed2b3e2e5 | refs/heads/master | 2021-01-17T18:35:04.582671 | 2016-08-17T09:04:19 | 2016-08-17T09:04:19 | 65,794,005 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,400 | h | /*
* XML lexer and token define
* a Token object should have its text,
* and atts(reserve for start of node which has attributes).
* 1. Xml declaration should be a T_COMMENT token start with "<?" and end with "?>";
* 2. A line a comment is a T_PROCINST token start with "<!--" and end with "-->";
* 3. Start of no... | [
"admin@example.com"
] | admin@example.com |
aafc427123fd7eae023412c1d845c3d60db0443a | 343be0148831bcc76cc69829815eacf5e72488a2 | /ast/operators/ASTAssignOperator.cpp | 620b1dd0aa13e4410354493a0f0a4942ce6652bc | [] | no_license | tranvanh/PJP_semestralwork | f281ce2697b1462fd82d827555d2dccb80b5a22f | 6687882620b2af3a5cd659d53af5596fbd67aee4 | refs/heads/master | 2022-12-27T03:58:32.307198 | 2020-09-10T20:16:03 | 2020-09-10T20:16:03 | 268,293,173 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 304 | cpp | //
// Created by Tomas Tran on 01/06/2020.
//
#include "ASTAssignOperator.hpp"
ASTAssignOperator::ASTAssignOperator(std::unique_ptr<ASTReference> variable,
std::unique_ptr<ASTExpression> value)
: m_Variable(std::move(variable)), m_Value(std::move(value)) {} | [
"tranvanh@fit.cvut.cz"
] | tranvanh@fit.cvut.cz |
fe99ee52f6bf18aa43bce9f1bfe7d6dfdacdf8b8 | c8a08848741a8827ea54cc34e48d16697734e2bf | /Beach/Road/main.cpp | f98f700f31862a8bf984d632f22d447f4948b564 | [] | no_license | aaryasharma2/robomanipal | 49b31cfc19ce23823f64f76f6287512d7fd80109 | b50ec51ed2de5ae3b1e72f187fc8f51029db34f2 | refs/heads/master | 2023-02-21T23:06:22.792732 | 2019-07-31T16:59:21 | 2019-07-31T16:59:21 | 154,561,378 | 1 | 0 | null | 2023-02-09T07:30:02 | 2018-10-24T19:58:19 | C++ | UTF-8 | C++ | false | false | 35,041 | cpp | #include <windows.h>
#include<GL/gl.h>
#include<GL/glut.h>
#include<math.h>
#define PI 3.141592653589793238
float add_r,add_g,add_b;
void circle(float x_value,float y_value, float radious_value)
{
float x =x_value;
float y =y_value;
float radious = radious_value;
float twicePI = 2.0f*PI;
int racmax... | [
"iamamysharma@gmail.com"
] | iamamysharma@gmail.com |
e6ac8e2603f7912e8931b47184828b14b75bc4c6 | 48298469e7d828ab1aa54a419701c23afeeadce1 | /Common/Packets/GCPlayerShopMoney.h | 8dcdee4afadf93dada3f8e8bfeb6133f45986499 | [] | no_license | brock7/TianLong | c39fccb3fd2aa0ad42c9c4183d67a843ab2ce9c2 | 8142f9ccb118e76a5cd0a8b168bcf25e58e0be8b | refs/heads/master | 2021-01-10T14:19:19.850859 | 2016-02-20T13:58:55 | 2016-02-20T13:58:55 | 52,155,393 | 5 | 3 | null | null | null | null | GB18030 | C++ | false | false | 2,165 | h | // GCPlayerShopMoney.h
//
// 通知客户端金钱存取
//
//////////////////////////////////////////////////////
#ifndef __GCPLAYERSHOPMONEY_H__
#define __GCPLAYERSHOPMONEY_H__
#include "Type.h"
#include "Packet.h"
#include "PacketFactory.h"
namespace Packets
{
class GCPlayerShopMoney : public Packet
{
public:
enum
{
TY... | [
"xiaowave@gmail.com"
] | xiaowave@gmail.com |
aecdd06ea0d82ac6c6c79d54bdd16f0d2cccd919 | 284d841aa85d0b1731ca28f50bbf838868b5c0f7 | /source/ncm/ncm.cpp | 11baa542d185f723c5ed718df43f6c3723201ff9 | [
"MIT"
] | permissive | blawar/nn | 9e6b91d31ede1faea98f78098bbae1025913ee24 | cfd66e0071ddd2756efe9171d2b7a876cc51fde7 | refs/heads/master | 2020-06-03T03:49:21.520485 | 2019-06-12T21:45:26 | 2019-06-12T21:45:26 | 191,426,129 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 498 | cpp | #include "nn.h"
namespace nn::ncm
{
Service service()
{
Service s;
return s;
}
Result OpenContentStorage(ContentStorage* contentStorage, const StorageId storageId)
{
return Request<4, ResponseS<ContentStorage>>().send(service()).result(contentStorage);
}
Result OpenContentMetaDatabase(Con... | [
"blake@null3d.com"
] | blake@null3d.com |
1129fa85e7266bed065689b5d637d57e4da00a42 | 708539d6d01fc5de5681effd747dd171e0dab2f5 | /src/ast.cpp | dd8c3ec7fe34b639c76771c83bf9447f7b61c3f3 | [] | no_license | AlexGibson12/c-style-lang-compiler- | 706e61c0a093c6c54f460a50ca1ff18855b231f5 | 8d1297f2dbf25e37e3c66401eb3d099d7ba35553 | refs/heads/main | 2023-08-30T22:16:01.378152 | 2021-10-06T17:15:26 | 2021-10-06T17:15:26 | 412,627,658 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,307 | cpp | #include "../headers/ast.h"
#include "../headers/scope.h"
CompoundStatement::CompoundStatement(Statement* initcurrentstatement,CompoundStatement* initnextstatements){
currentstatement = initcurrentstatement;
nextstatements = initnextstatements;
statementtype = STATCOMPOUND;
}
AssignS... | [
"afg9000@gmail.com"
] | afg9000@gmail.com |
cac6dd88f6b881a02e542a075a874d678293135c | 650f32ec6c8a83646a043133fd95f0f3d6269aa3 | /book/CH08/S12_Creating_a_pipeline_layout.cpp | 0b94fd4cd1b1a1110bea4d4bdb762219c3562443 | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | THISISAGOODNAME/vkCookBook | 0478b3eb80dec179f38dc2812416f3c3f4cb22f8 | d022b4151a02c33e5c58534dc53ca39610eee7b5 | refs/heads/master | 2021-01-25T11:49:37.695292 | 2017-07-23T14:28:52 | 2017-07-23T14:28:52 | 93,948,327 | 9 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,805 | cpp | //
// Created by aicdg on 2017/6/22.
//
//
// Chapter: 08 Graphics and Compute Pipelines
// Recipe: 12 Creating a pipeline layout
#include "S12_Creating_a_pipeline_layout.h"
namespace VKCookbook {
bool CreatePipelineLayout( VkDevice logical_device,
... | [
"yangyj19931231@gmail.com"
] | yangyj19931231@gmail.com |
01f3213402afcf86032331bb99ed80140e7c8429 | 80dbff2ef81196130a254738e27568385f1eaa88 | /MFCApplicationSPC2/CalculatorDlg.h | 7ea2439dabfe7c3a1f9512e6a3acd00cf98a459e | [] | no_license | RoyKo222/Calculator001 | 8934db705de909519f2c82f8caef120e6ae5adf0 | 7575263291ab38657af671e0512e0427d2e23b3c | refs/heads/master | 2020-04-01T07:26:02.207079 | 2018-10-14T15:53:22 | 2018-10-14T15:53:22 | 152,989,824 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,141 | h | #pragma once
#include "afxwin.h"
#include <memory>
#include "CalculatorDlg.h"
class CCalculatorDlg : public CDialogEx
{
public:
CCalculatorDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
#ifdef AFX_DESIGN_TIME
enum { IDD = IDD_CALCULATOR_DIALOG };
#endif
protected:
virtual void DoDataExchange(C... | [
"Roy@DESKTOP-B880FOR"
] | Roy@DESKTOP-B880FOR |
90d091d130cff14bd091453c7ab5ecad397a9d13 | ac1c4bdfdc7445b1bf88cf4811162febf48f127e | /Chapter4/strtype3.cpp | 74d33a1b59d744175fb5f96958bdce06bd747a69 | [] | no_license | Linuslan/C-Primer-Plus | 8da4f4625f906225be3b4c6f4de7f0579472b826 | 1edeafb2e5d2c6ff5e6982973210a4115ef393d2 | refs/heads/master | 2021-09-06T18:12:28.914879 | 2018-02-09T14:12:15 | 2018-02-09T14:12:15 | 103,092,128 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 558 | cpp | #include <iostream>
#include <string>
#include <cstring>
int main() {
using namespace std;
char charr1[20];
char charr2[20] = "jaguar";
string str1;
string str2 = {"panther"};
str1 = str2;
strcpy(charr1, charr2);
str1 += " paste";
strcat(charr1, " juice");
int len1 = str1.size();... | [
"linuslan@sina.cn"
] | linuslan@sina.cn |
2b03b16b76044b48e71da74a4ef7889eeb6581bf | c093f943bfab59db2f4f64c3893db06ee1738c77 | /Guitar/Guitar.cpp | 45775f3789a2fbb90e7e862a1c7a4ccc2b80c9a3 | [] | no_license | TheodorSergeev/WaveSolver | c7ce68677b710d8187e66a44523f02f7ff8d8a39 | d2564c28fe9fbf35697479afba607ab85d8257cc | refs/heads/master | 2020-05-19T14:45:36.806107 | 2019-05-13T16:04:06 | 2019-05-13T16:04:06 | 185,067,649 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,147 | cpp | #include "Guitar.h"
double Guitar::InitCoord(double x)
{
//return 0.0;
CheckX(x);
return (x < X0) ? a * x / X0 : a / (length - X0) * (length - x);
}
double Guitar::WaveSpeed(double x)
{
CheckX(x);
//if(x > length * 0.1 && x < length * 0.4)
// return wavespeed * 2.0;
return wavespee... | [
"sergeev.fi@phystech.edu"
] | sergeev.fi@phystech.edu |
c16c3e86228fff9051dc2bb967ac56e170b9e94f | 8d86eda47e545fd8e928cd7b49c2a8bc49c6e70e | /LeetCode0029.cpp | 3ddf2de8a80013319a7e5813aa62417a32f2702a | [
"Unlicense"
] | permissive | chibai/LeetCodeInCPP | 912628698cb6426480b958a4bef34077b1b68e7e | 36e82087e5608181471b2fec99a771ab03c78b3e | refs/heads/master | 2022-08-27T19:41:03.581004 | 2021-12-12T17:05:31 | 2021-12-12T17:05:31 | 75,583,686 | 1 | 0 | null | 2019-11-30T10:45:35 | 2016-12-05T03:06:46 | C++ | UTF-8 | C++ | false | false | 1,737 | cpp | #define _CRT_SECURE_NO_WARNINGS
#include <iostream>
#include <algorithm>
#include <vector>
#include <map>
#include <queue>
#include <set>
#include <stack>
using namespace std;
//Definition for singly linked list
struct ListNode {
int val;
ListNode *next;
ListNode() : val(0), next(nullptr) {}
ListNode(int x) : val(... | [
"470598003@qq.com"
] | 470598003@qq.com |
492b3e40f9bccaf0aa4c7f7dbe05ebcb3b909102 | 731baff7404d53beb53e34eb4897cae2d5a190b3 | /src/wallet.cpp | 1704e5a73154adccdb375972bf6b5d1e610f3fd4 | [
"MIT"
] | permissive | bitvier/bitvier | 65c762fd74ae8a1b9fe799d6cabf855bc33dcdf3 | 253c13ca839e2e738fc31d74a50b34a2e0179fda | refs/heads/master | 2021-09-08T19:14:44.684034 | 2018-03-11T21:28:55 | 2018-03-11T21:28:55 | 124,801,209 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 89,153 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "txdb.h"
#include "wallet.h"
#include "walletdb.h"
#include "crypter.h"
#... | [
"support@bitvier.tech"
] | support@bitvier.tech |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.