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 986
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 23
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 145
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 122
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
098bcef1345b47949a2175cba2fc47d8c9ba00b5 | a4609ca55327e65a26790c124f2e0b0d7a89ce40 | /hai.cpp | fb2f5f5054595addaa48f470c98fc4db7cdbdb9d | [] | no_license | harrybosku/cprogram | 10d4af43c148fcde87f1e530e587a0d119ad2b0a | b5a3efa1d50036cc5475f8e41e2396c5ffe05d06 | refs/heads/master | 2020-04-05T23:34:29.464852 | 2016-08-12T14:47:37 | 2016-08-12T14:47:37 | 65,526,116 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 909 | cpp |
#include<iostream>
using namespace std;
struct Point
{
int x, y;
};
int is(Point p, Point q)
{
return (p.x - q.x)*(p.x - q.x) +
(p.y - q.y)*(p.y - q.y);
}
bool Square(Point p1, Point p2, Point p3, Point p4)
{
int d2 = is(p1, p2); // from p1 to p2
int d3 = is(p1, p3); // from p1 to p3
i... | [
"noreply@github.com"
] | harrybosku.noreply@github.com |
efa2a715879f3f80d55b4e14fbb8d39cb65c9f09 | 2c5ca50c729a1d2b75fddb873dc81c2dbaed1b3f | /Engine/Inc/Rendering/blend_state.h | c3d40d1a8e186514e7dc048d4428bb49e3fde82c | [] | no_license | kwangminy27/DirectX-Game-Engine | fba60d81bd50f2694521f7c3a9cb70ed56b13626 | 02c4452b019f18c49204f98bc0840fe8aa2e181d | refs/heads/master | 2020-03-29T08:27:03.213339 | 2018-11-20T11:33:08 | 2018-11-20T11:33:08 | 149,711,994 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,172 | h | #pragma once
#include "render_state.h"
namespace DG
{
class DG_ENGINE_DLL BlendState final : public RenderState
{
friend class RenderingManager;
public:
virtual void Initialize() override;
protected:
BlendState() = default;
BlendState(BlendState const& _other);
BlendState(BlendState&& _other) noexcept;... | [
"kwangminy27@outlook.com"
] | kwangminy27@outlook.com |
6b2224b34c395479cd37c5fe1774d15e48b12639 | b4753c423c149c3448ed84b111b068de2bbfe9b5 | /src/modules/testHarvester_ttbar_chan.cpp | 96fb3a7bcb30ef6f5b59515a02ca12fc50c7e66e | [] | no_license | dmeuser/top_analysis | 8773667dfcf0c55ee849bec5a80f8a497f970220 | 6084cea81d2c662b93043d6bcf920fca24bf9a3d | refs/heads/master | 2023-04-06T00:26:42.129989 | 2023-03-16T12:22:53 | 2023-03-16T12:22:53 | 179,239,380 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,547 | cpp | #include <string>
#include <map>
#include <set>
#include <iostream>
#include <utility>
#include <vector>
#include <cstdlib>
#include <boost/filesystem.hpp>
#include <CombineHarvester/CombineTools/interface/CombineHarvester.h>
#include <CombineHarvester/CombineTools/interface/Observation.h>
#include <CombineHarvester/C... | [
"philipp.nattland@rwth-aachen.de"
] | philipp.nattland@rwth-aachen.de |
0e2cb02f1a9d67f7f93300cfe2a1df6670569c4c | bdd8709f82c6675654ee7bd557899fe18d0ee654 | /net/selector/pollselector.h | c2ea570408f80b46de92ac5063e690c289767d5c | [] | no_license | nmmmnu/HM3 | 0893ba2518cf3cdbf4d29fc633751e28ca9b3414 | 61634767ce800d7f9b56f8da0de2983dad922185 | refs/heads/master | 2021-01-23T20:41:18.311795 | 2017-07-31T19:00:49 | 2017-07-31T19:00:49 | 37,946,217 | 11 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 832 | h | #ifndef _NET_POLL_SELECTOR_H
#define _NET_POLL_SELECTOR_H
#include "selectordefs.h"
#include <cstdint>
#include <vector>
struct pollfd;
namespace net{
namespace selector{
class PollSelector{
public:
PollSelector(uint32_t maxFD_);
PollSelector(PollSelector &&other) /* = default */;
PollSelector &operator =(Pol... | [
"nmmm@nmmm.nu"
] | nmmm@nmmm.nu |
c39906102aade9df0c3273b67d27513105ef6fc2 | 5a85f40d4f245aad8f0b990a2417c0fccbc840b8 | /virtuanessrc/AviConvDlg.cpp | 8c02395f5221acc3c503f9523d6bac34233ffe8c | [] | no_license | dragon2snow/VirtuaNESUp | 31177c0aca665eb69c491df0f9b95a0bba47c1d5 | 3a2b0be9d03409aae7ceec6651139288f58df92b | refs/heads/master | 2016-09-06T10:39:02.298751 | 2014-11-02T09:19:45 | 2014-11-02T09:19:48 | 23,817,075 | 2 | 3 | null | null | null | null | SHIFT_JIS | C++ | false | false | 17,056 | cpp | //
// AVI変換ダイアログクラス
//
//
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <shellapi.h>
#include <commdlg.h>
#include <string>
using namespace std;
#include "VirtuaNESres.h"
#include "DebugOut.h"
#include "App.h"
#include "Config.h"
#include "Pathlib.h"
#include "Wnd.h"
#include "AviConvDlg.h"
#include "nes... | [
"dragon2snow@hotmail.com"
] | dragon2snow@hotmail.com |
f1c4f84f4b7bb87fd36343b41c087143e06ed58f | 70727ec4a84dfba075cb1af5a479eaf20a3cc5cd | /templates/uhateme.h | a5128af95e06ff782eaf7227ed3092f9a3905cce | [] | no_license | riteshsingla95/codechef | e6eecb21e09118b1e5ad6f9714af37a572e4217a | d3f197953dabfbe7df8ba777379bd9aff09d553e | refs/heads/master | 2022-12-10T09:17:58.855198 | 2020-09-13T21:25:45 | 2020-09-13T21:25:45 | 271,258,799 | 0 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 8,906 | h | //
// MIT License
//
// Copyright (c) [2020] [Ritesh Singla]
//
// 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... | [
"riteshsingla@gmail.com"
] | riteshsingla@gmail.com |
05add2338ef867aa2a48e85fea63f9c2ea866349 | d550b111a7192d8845710cad089314f0939b8489 | /src/LogSvc.cc | 0da2028354b3e8a51eb3d7e64caee4a6966fc014 | [] | no_license | DrWLucky/g4sim | 289c557363f8814b91b22dca90b82ede9891a35f | effcfae5b85782583e692cbb0c2974760062b2e5 | refs/heads/master | 2022-04-10T06:07:20.817999 | 2020-03-30T02:02:30 | 2020-03-30T02:02:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,825 | cc | //---------------------------------------------------------------------------//
//Description: Deal with Log
//Author: Wu Chen(wuchen@mail.ihep.ac.cn)
//Created: 17 Oct, 2012
//Comment:
//---------------------------------------------------------------------------//
#include "LogSvc.hh"
#include "myglobals.hh"
#includ... | [
"wuchen1106@gmail.com"
] | wuchen1106@gmail.com |
dd9ae24e64bc18d20081c39e7dcd1ea1643f00f1 | 025d650960f02c14b02ccdc21bbc508e89ed4d22 | /fallen/Editor/Source/Edit.cpp | 401c7539e88be662fff90d5c91a08f860595f4fa | [
"MIT"
] | permissive | kstuedem/MuckyFoot-UrbanChaos | 2b92a74d3a1cb13e77b294f49885831eb68e1f57 | e637360cf91e6dec8e10151b4b81f255d635b288 | refs/heads/master | 2021-07-16T09:26:28.238566 | 2021-06-27T17:51:21 | 2021-06-27T17:51:21 | 92,092,938 | 4 | 3 | null | 2017-05-22T19:43:38 | 2017-05-22T19:43:38 | null | WINDOWS-1252 | C++ | false | false | 112,794 | cpp |
#include "Editor.hpp"
#include "engine.h"
#include "coltab.hpp"
//#include "collide.hpp"
#include "map.h"
#include "c:\fallen\headers\game.h"
#include "c:\fallen\headers\light.h"
#include "extra.h"
#include "c:\fallen\headers\animtmap.h"
#include "c:\fallen\headers\pap.h"
#include "c:\fallen\headers\ob.h"
#include... | [
"dizzy2003@gmail.com"
] | dizzy2003@gmail.com |
221dd1a3d29f5718a53ffbd1bda58989438c0544 | 574905673e0db00b188a1572d7b51650e525fe2c | /Include/10.0.10586.0/winrt/windows.graphics.display.h | dfaa212ceb26a5e8d7ed24c8b0f5eba0cbe8b71b | [] | no_license | wmliang/wdk-10 | aa6e419503c2a5b1e588a09d10e5fddad4640e5f | e28c4b2597a2e77130d656913c123d0d5b0e7dd3 | refs/heads/master | 2020-06-11T00:43:25.584616 | 2016-12-07T11:51:11 | 2016-12-07T11:51:11 | 75,830,856 | 2 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 83,800 | h |
/* this ALWAYS GENERATED file contains the definitions for the interfaces */
/* File created by MIDL compiler version 8.00.0613 */
/* @@MIDL_FILE_HEADING( ) */
/* verify that the <rpcndr.h> version is high enough to compile this file*/
#ifndef __REQUIRED_RPCNDR_H_VERSION__
#define __REQUIRED_RPCNDR... | [
"star03629@gmail.com"
] | star03629@gmail.com |
475a590e7c2003eb56879a601597adec4df177bf | dd3d11771fd5affedf06f9fcf174bc83a3f2b139 | /BotCore/DofusProtocol/TeleportDestination.h | 6f31bdcfdfb046f8303ae53d2dc5a31b643693db | [] | no_license | Arkwell9112/arkwBot | d3f77ad3874e831594bd5712705983618e94f258 | 859f78dd5c777077b3005870800cb62eec1a9587 | refs/heads/master | 2023-03-17T12:45:07.560436 | 2021-03-16T11:22:35 | 2021-03-16T11:22:35 | 338,042,990 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 726 | h | #ifndef TELEPORTDESTINATION
#define TELEPORTDESTINATION
#include "../IO/ICustomDataInput.h"
#include "../NetworkInterface.h"
class TeleportDestination : public NetworkInterface {
public:
unsigned int type = 0;
double mapId = 0;
unsigned int subAreaId = 0;
unsigned int level = 0;
unsigned int cost ... | [
"arkwell9112@nowhere.com"
] | arkwell9112@nowhere.com |
8ac0b932205fce6d7d0bb7b1176d96695b20b9a9 | 56d33688009f3dcb4fb8479c47addbba4c198236 | /smash.cpp | d1ae24c9173e2ce5d29016badfcb880022f5d943 | [] | no_license | gja/gofer-smash | 406944067ed0008c6a4a46cab746976f91dcf47b | ef4de2d1e33d50a6fa94f09d16fcccdffa0278e1 | refs/heads/master | 2021-01-20T10:38:50.960202 | 2010-05-09T05:54:20 | 2010-05-09T05:54:20 | 119,836 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 345 | cpp | #include "smash.h"
#include <QGraphicsScene>
Smash::Smash(const QPoint &point, QGraphicsScene *parent) : QObject(), target(point), group(NULL)
{
group = new QGraphicsItemGroup;
parent->addItem(group);
}
Smash::~Smash()
{
delete group;
}
void Smash::finished()
{
group->hide();
group->scene()->removeItem(group);... | [
"tejas@gja.in"
] | tejas@gja.in |
7b6915139782488a2b49b135ba5960a86688ad29 | 6dbbfb3a30a40a1a91c179b458c722e413bc758f | /output_file.cpp | c5489c00795da62f8852152778228ed1b6a4da61 | [] | no_license | Jacklswalsh/DGM_C- | 584a770ddc2a0472a75bce10dbf5645f22ffc27f | 3ddc9e90a5756ebf83614e95b44129a723fcae75 | refs/heads/master | 2023-03-10T02:42:27.806159 | 2021-02-16T22:12:45 | 2021-02-16T22:12:45 | 339,489,532 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 681 | cpp | #include <cstdlib>
#include <string>
#include <iostream>
#include <fstream>
#include "output_file.h"
void writeToFile(integratorResults Result, integratorResults Result2, integratorResults Result3, int Nout){
std::ofstream myfile;
std::string filename;
std::cout<<"Please enter the filename: ___________.cs... | [
"Jacklswalsh@googlemail.com"
] | Jacklswalsh@googlemail.com |
30652ca5e216a0dd80b99b466431a995979f9eff | 65aaba4d24cfbddb05acc0b0ad814632e3b52837 | /src/osrm.net/libosrm/osrm-deps/boost/include/boost-1_62/boost/hana/core.hpp | 3b090be5ac9c023a5aedb6f9b13fb2ae9c4b38d1 | [
"MIT"
] | permissive | tstaa/osrmnet | 3599eb01383ee99dc6207ad39eda13a245e7764f | 891e66e0d91e76ee571f69ef52536c1153f91b10 | refs/heads/master | 2021-01-21T07:03:22.508378 | 2017-02-26T04:59:50 | 2017-02-26T04:59:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 128 | hpp | version https://git-lfs.github.com/spec/v1
oid sha256:0168639471dac3790b4b6008b249a4a3a7224d277fa13cd1934e93ffe10754b1
size 632
| [
"ssuluh@yahoo.com"
] | ssuluh@yahoo.com |
1f8dd2e64ce12a6aecedb502431d31bcc0cce88d | 5cbbf5d09da9b93770ac859659968b7ab516a7f5 | /include/cinolib/meshes/abstract_mesh.cpp | c721b77a83aeff7915d6617bfef08eda53fcdd0b | [
"MIT"
] | permissive | gaojiabit/cinolib | 01628d5703589ceb9ec2dadecb4b2f946a8ba281 | a0cb8ee0345c2515711a48a088c3305283fa49d3 | refs/heads/master | 2023-09-02T17:45:41.570203 | 2021-11-19T11:27:56 | 2021-11-19T11:27:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 43,478 | cpp | /********************************************************************************
* This file is part of CinoLib *
* Copyright(C) 2016: Marco Livesu *
* ... | [
"marco.livesu@ge.imati.cnr.it"
] | marco.livesu@ge.imati.cnr.it |
f366f3d36d76064b76601ff5cc1d03577e1fddd5 | 96c48a04ee8773524f01e198d5ee512bcd851730 | /src/NormalModeMeanSquareFluctuationCalculator.hpp | a5bb1f3229b8e211d17c38be9bd4d634385b4655 | [
"MIT"
] | permissive | AFriemann/LowCarb | ab6a32ed8aa891c1f99480630bd56a73085bddc9 | 073e036a5fd6787943c4cbd76ab388dbd830e7d3 | refs/heads/master | 2021-01-13T00:41:34.246309 | 2015-09-30T15:15:03 | 2015-09-30T15:15:03 | 43,439,635 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,945 | hpp | /**
* @file NormalModeMeanSquareFluctuationCalculator.hpp
* @author see AUTHORS
* @brief NormalModeMeanSquareFluctuationCalculator header file.
*/
#ifndef NORMALMODEMEANSQUAREFLUCTUATION_HPP
#define NORMALMODEMEANSQUAREFLUCTUATION_HPP
#include <cmath>
#include <vector>
#include <Eigen/Dense>
#include <vector>
... | [
"aljosha.friemann@gmail.com"
] | aljosha.friemann@gmail.com |
8b426f8684a31560703e7a2041a3a0497679645d | d7111f92c691459f561f3d7399b24bdc5d5453a2 | /ch01/c01p02.cpp | dc6d3bf1df9531fad09abd7cf50d3452171da023 | [
"BSD-2-Clause"
] | permissive | raistlinmolina/cppmodernchallenge | 896cada7d737f976e298e9fc7bd0e3c6a297158a | 56229548b68356314ad854d9b2012c58ad4096a1 | refs/heads/master | 2020-03-23T03:39:47.600906 | 2018-07-15T16:45:22 | 2018-07-15T16:45:22 | 141,042,432 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 369 | cpp | #include <iostream>
unsigned int gcd2(unsigned int a,unsigned int b){
return a%b==0? b : gcd2(b, a%b);
}
int main(){
std::cout << "Please input number A: ";
unsigned int a;
std::cin >> a;
std::cout << "Please input number B: ";
unsigned int b;
std::cin >> b;
if (a < b) std::swap(a,b);
unsigned int gcdr = gcd... | [
"raistlinmolina@gmail.com"
] | raistlinmolina@gmail.com |
00b11ede98b3d1fc4edc354be277ff996116ea6b | 0edbcda83b7a9542f15f706573a8e21da51f6020 | /private/inet/xml/xml/tokenizer/dll/xmlpsr.cxx | 9f2b8506053078c7536ca00ff70e5cdd28bc4e2f | [] | no_license | yair-k/Win2000SRC | fe9f6f62e60e9bece135af15359bb80d3b65dc6a | fd809a81098565b33f52d0f65925159de8f4c337 | refs/heads/main | 2023-04-12T08:28:31.485426 | 2021-05-08T22:47:00 | 2021-05-08T22:47:00 | 365,623,923 | 1 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 5,137 | cxx | /*
* @(#)Document.cxx 1.0 6/3/97
*
* Copyright (c) 1997 - 1999 Microsoft Corporation. All rights reserved. *
*/
#include "core.hxx"
#pragma hdrstop
#include <unknwn.h>
#include <advpub.h>
#include <stdlib.h>
#include "myclassfactory.h"
#ifdef _DEBUG
#include "msxmldbg.h"
// used for assert to fool the compiler
... | [
"ykorokhov@pace.ca"
] | ykorokhov@pace.ca |
87fe317ce978f64ed8fbce8d45b54d4b33835d9a | eee0d527c058ca6da9868e09c8955d57b64b407e | /Graphs/BFS+DFS.cpp | 266b28b1ec794fc274cabc6b550b73a736913afe | [] | no_license | solimul/DataStructures_Algorithms | aac031d2d4abc1874d7f0f38602fcc8e83755467 | 61bf809ce29825c31bb98a51c8c488fecf58235c | refs/heads/master | 2023-01-21T07:57:39.331825 | 2020-12-03T23:27:53 | 2020-12-03T23:27:53 | 304,232,598 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,963 | cpp |
#include <iostream>
#include <queue>
using namespace std;
class Graph
{
public:
struct GraphMatrix
{
int **matrix;
int num_vertices;
int num_edges;
};
GraphMatrix *gm;
Graph()
{
gm = new GraphMatrix();
}
~Graph()
... | [
"mdsolimu@ualberta.ca"
] | mdsolimu@ualberta.ca |
28c97411cc5324df8b3522ad1c0f1e088911a29c | fb6d28aa1255a2588e05aa7889ac0921fbb47aeb | /ClrsExercise/Chapter9 (Medians and Order Statistics)/clrs-9.3-6.cpp | 218e878dd5d7e429c2241b9dd668aec17dd09348 | [] | no_license | OasisGallagher/CLRS | c1471a05ec51ff47b193cc74047fd2efbe80e15b | c11843faff5ee50b59ba774800c6f8e973b9c6b6 | refs/heads/master | 2020-12-17T01:45:59.622658 | 2016-05-31T02:48:15 | 2016-05-31T02:48:15 | 59,834,685 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,309 | cpp | // clrs 9.3-6
#include <iostream>
#include <algorithm>
void random_shuffle(int* from, int* to) {
int length = to - from;
for(int i = 0; i < length; ++i) {
std::iter_swap(from + i, from + rand() % (length - i));
}
}
int partition(int* arr, int from, int to) {
int i = from - 1;
int& key = arr[to - 1];
for(int ... | [
"rainpatrol@live.com"
] | rainpatrol@live.com |
1f6adb9c52968acdaddf6d52b20e5710378b1b03 | 41bf72a7b935c3bf12da747cb5f736f5304d7490 | /test/modbus_test_adu.cpp | c31dfcfa95daa292d680740a475cf299d0d0f09b | [
"MIT"
] | permissive | paopaol/modbus | 32433652054a3a1b659bb63ca359c90581ac7d55 | 70ed77f2902f100cd2550fed8f52cb1c26da1edd | refs/heads/master | 2022-05-11T02:51:06.094375 | 2022-05-05T12:44:11 | 2022-05-05T12:44:11 | 221,118,083 | 19 | 5 | MIT | 2022-05-05T12:44:12 | 2019-11-12T03:03:31 | C++ | UTF-8 | C++ | false | false | 1,850 | cpp | #include "base/modbus_frame.h"
#include "modbus/base/modbus.h"
#include "modbus/base/modbus_types.h"
#include "modbus_test_mocker.h"
#include <atomic>
using namespace modbus;
// TEST(ModbusRtuFrameDecoder, server_decode_readCoils_response_success) {
// const ByteArray expect({0x00, 0x01, 0x00, 0x01, 0x00, 0... | [
"467847281@qq.com"
] | 467847281@qq.com |
3a983ed63031e0dd9369e09c7f416c8fc4fc3f62 | 3045fb40b0eb9124d339f4bf377c7a98a9f25884 | /src/classical/sat/utils/add_dimacs.cpp | 1b26fd67518c4c1b855192c8cb9998532909d457 | [] | no_license | chuzhufei/cirkit | 43828a97ab0aec3deaf2234eb087b9794f873e45 | 907a36ea1c82321b730a62c744f7b5c4ef3e8c61 | refs/heads/master | 2020-12-28T04:51:39.472139 | 2016-07-13T07:40:07 | 2016-07-13T07:40:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,674 | cpp | /* CirKit: A circuit toolkit
* Copyright (C) 2009-2015 University of Bremen
* Copyright (C) 2015-2016 EPFL
*
* 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 3 of the Licen... | [
"mathias.soeken@gmail.com"
] | mathias.soeken@gmail.com |
a0cf1e4c4320af3bc02ae6697e45184504c347b5 | 50c884b8b7e06074056549c238eebfa4935cf034 | /components/password_manager/core/browser/password_save_manager_impl.cc | 926cac7ffe58a010d0de649ba27db59ff5a7dbf1 | [
"BSD-3-Clause"
] | permissive | stanhuff/chromium | 321ce7ad62755d714b7814ad46fcdc72f9647370 | 306663d182d154e3a7f6cf089ef1acb0c1cb4164 | refs/heads/master | 2023-03-02T21:07:16.058891 | 2019-11-29T18:35:13 | 2019-11-29T18:35:13 | 224,907,296 | 0 | 0 | BSD-3-Clause | 2019-11-29T18:52:14 | 2019-11-29T18:52:13 | null | UTF-8 | C++ | false | false | 18,396 | cc | // Copyright 2019 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 "components/password_manager/core/browser/password_save_manager_impl.h"
#include "base/metrics/histogram_macros.h"
#include "base/metrics/user_m... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
70772d836cad1a19234c0ef9c987b0a9b2341e77 | 2a05eba4a478fbea943a1c3dce73fde60c77dacf | /cpp/modern_c++/q017.cpp | 6e2537fe682a70f5cc226156594a470d85c64bae | [] | no_license | WATANAPEI/learning | 7f79c12f760aa75410f65ddcbdad665d0c3bbeea | ecbe85f291c08d68250ca5d9a6a8000f16e96dc4 | refs/heads/master | 2023-06-24T04:07:47.087495 | 2023-06-19T04:51:36 | 2023-06-19T04:51:36 | 166,551,199 | 0 | 0 | null | 2023-01-19T15:18:25 | 2019-01-19T13:43:43 | C++ | UTF-8 | C++ | false | false | 1,564 | cpp | #include <vector>
#include <iostream>
using namespace std;
template <typename T, size_t R, size_t C>
class array2d {
vector<T> arr;
public:
array2d(): arr(R*C) {};
explicit array2d(initializer_list<T> l) : arr(l) {};
T & operator()(size_t r, size_t c) {
return arr[r*C + c];
}
T const &... | [
"info@wpei.dev"
] | info@wpei.dev |
1517c3822be4d505c95eedb93240c9d30dff2897 | 4ccb6c096ac6ba68fa91a5c257331b20ecabf16e | /toolkit/crashreporter/google-breakpad/src/common/arm_ex_reader.h | 450438e60137ce027712ee665b1d3397b146b3d1 | [
"LicenseRef-scancode-unknown-license-reference",
"FSFUL",
"BSD-3-Clause"
] | permissive | classilla/tenfourfox | ad7856e9e2309e8d0da2d3eed3090cadf493a413 | 17b23692fe309927badba0617b7679ed50d46acb | refs/heads/master | 2023-07-08T23:59:21.137323 | 2023-04-20T05:34:54 | 2023-04-20T05:34:54 | 40,451,619 | 247 | 41 | NOASSERTION | 2023-06-25T08:42:34 | 2015-08-09T21:46:01 | null | UTF-8 | C++ | false | false | 4,731 | h |
/* libunwind - a platform-independent unwind library
Copyright 2011 Linaro Limited
This file is part of libunwind.
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, includi... | [
"classilla@floodgap.com"
] | classilla@floodgap.com |
73815e9b6fd88d6d4b55b579cd7179df543d1720 | 8ec2f7c8cabfa99d925c441c68433562523fc076 | /cp-algorithms_soln/algebra/sherlock_girlfriend.cpp | d9280c5820f2b3986efa45fe0bd2dc2d0a3d56bf | [] | no_license | neeagwl/CSES_Solutions | d4cd6c15f1a5c3dc3ba23102efc0822f6ac65f92 | fa5930add933136703b320ff3b60d73664a29f15 | refs/heads/main | 2023-05-10T10:30:10.264397 | 2021-06-21T18:05:55 | 2021-06-21T18:05:55 | 334,941,475 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,003 | cpp | #include <iostream>
#include<bits/stdc++.h>
using namespace std;
#define gc getchar_unlocked
#define fo(i,n) for(i=0;i<n;i++)
#define Fo(i,k,n) for(i=k;k<n?i<n:i>n;k<n?i+=1:i-=1)
#define ll long long
#define si(x) scanf("%d",&x)
#define sl(x) scanf("%lld",&x)
#define ss(s) scanf("%s",s)
#define pi(x) printf("%d\n",x)
#... | [
"agarwalneetu301@gmail.com"
] | agarwalneetu301@gmail.com |
8fa621aef81e9880d0b7c4c88f232be4b1f2a0f7 | ab831d976e3cc012e362b7b520f25ae5a127d799 | /tools/ExportNavigation/Source/ExportNavigation/Private/RecastContour.cpp | 0cabb9dcce9c7e3d60b6a81a69a00325360f3885 | [] | no_license | bohge/Hades | 7b8c04695cd6e7ecb38e6fd554f0e6f7aa59ca1d | 472d72ef095048d080e1b4fcf0f846d0e57b8b22 | refs/heads/master | 2021-01-02T22:16:05.573728 | 2018-08-04T02:04:37 | 2018-08-04T02:04:37 | 99,313,890 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 31,697 | cpp | //
// Copyright (c) 2009-2010 Mikko Mononen memon@inside.org
//
// This software is provided 'as-is', without any express or implied
// warranty. In no event will the authors be held liable for any damages
// arising from the use of this software.
// Permission is granted to anyone to use this software for any purpose... | [
"zhaopeng_wj@cyou-inc.com"
] | zhaopeng_wj@cyou-inc.com |
10faf7555237daef9463d093e1c4c671a9c4759d | bd1fea86d862456a2ec9f56d57f8948456d55ee6 | /000/099/900/CWE401_Memory_Leak__new_array_int64_t_64a.cpp | 7cad4a5896319d9522fdf6e8d4f189ca018f77ca | [] | 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 | 2,636 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE401_Memory_Leak__new_array_int64_t_64a.cpp
Label Definition File: CWE401_Memory_Leak__new_array.label.xml
Template File: sources-sinks-64a.tmpl.cpp
*/
/*
* @description
* CWE: 401 Memory Leak
* BadSource: Allocate data using new[]
* GoodSource: Point data to a stack... | [
"frank@fischer.com.mt"
] | frank@fischer.com.mt |
a79e109c21e558b85101afbbcc63fe233e72ae3b | c14500adc5ce57e216123138e8ab55c3e9310953 | /contrib/Netgen/libsrc/interface/writeOpenFOAM15x.cpp | 337e49eff11abcf45c5b1453011f6628a98d9b4c | [
"LGPL-2.1-only",
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-2.0-or-later",
"LicenseRef-scancode-generic-exception",
"GPL-1.0-or-later",
"LicenseRef-scancode-proprietary-license",
"GPL-2.0-only",
"GPL-2.0-or-later",
"LicenseRef-scancode-other-copyleft",
"MIT",
"LicenseRef-scancode-unknown-l... | permissive | ResonanceGroup/GMSH304 | 8c8937ed3839c9c85ab31c7dd2a37568478dc08e | a07a210131ee7db8c0ea5e22386270ceab44a816 | refs/heads/master | 2020-03-14T23:58:48.751856 | 2018-05-02T13:51:09 | 2018-05-02T13:51:09 | 131,857,142 | 0 | 1 | MIT | 2018-05-02T13:51:10 | 2018-05-02T13:47:05 | null | UTF-8 | C++ | false | false | 25,873 | cpp | /*! \file writeOpenFOAM15x.cpp
* \brief Export Netgen Mesh in the OpenFOAM 1.5+ File format
* \author Philippose Rajan
* \date 25 October 2009
*
* This function extends the export capabilities of
* Netgen to include the OpenFOAM 1.5+ File Format.
*
* The OpenFOAM 1.5+ mesh format consists of a set of 5 files
* ... | [
"=phillipmobley2@gmail.com"
] | =phillipmobley2@gmail.com |
9daf4ce50bcc316e2b28586ab9598bcf822fda1f | 62eb7f4a4882a077dabe0193c641c51a78d5def7 | /Columnar transposition/ColumnarTransposition.cpp | 5b57d3b3177991c22685da76cffaa258dfc06448 | [] | no_license | esdestera/DataSecurity | 35006e8b57195324e62e6cf311bfc9243154a2db | 54915c6e9679cd2fcdd7bfb02e7d6fc66f13d67d | refs/heads/master | 2020-04-04T06:42:47.737547 | 2018-12-19T11:09:06 | 2018-12-19T11:09:06 | 155,754,284 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,991 | cpp | // ColumnarTransposition.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include <string.h>
char phaseIMatrix[1000][1000];
char phaseIIMatrix[1000][1000];
char encrypted[1000];
void removeSpaces(char str[])
{
int count = 0;
int i;
for (i = 0; str[i]; i++)
if (st... | [
"noreply@github.com"
] | esdestera.noreply@github.com |
77ad0ba14a83949afcf178ba9ceef012ad9cfacf | 6fd3ec6de3fcca551529fcc331c78797ad822d5a | /google/hash code 2020/1.cpp | 05e59113298c36ecfa5882b96bfa8466b6be74b0 | [] | no_license | codeforsmart/Cp-contest | 57ee51e20a73438adf0fc1fa3ce5f9c731a53e69 | 2b7917961c6499320be646037b3e848fa194a2dd | refs/heads/master | 2023-08-29T07:12:00.978031 | 2021-10-02T11:57:01 | 2021-10-02T11:57:01 | 300,262,811 | 0 | 1 | null | 2021-10-02T16:00:30 | 2020-10-01T11:58:00 | C++ | UTF-8 | C++ | false | false | 1,650 | cpp | #include<bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
#define ll long long int
using namespace __gnu_pbds;
using namespace std;
#define mod 1000000007
#define endl "\n"
#define pb push_back
#define ff first
#define ss second
#define mp make_pair
#define lb lower_bound
#de... | [
"savishbedi1@gmail.com"
] | savishbedi1@gmail.com |
a20c4791b3f649b5b0144583c218ddacbef1a82d | 4f4cef563fa32edbfb173c317080eda6771a2f29 | /todos los colot¡res tira RGB/todos_los_colot_res_tira_RGB/todos_los_colot_res_tira_RGB.ino | 50f29d197feeff67f558a404be78dbdc01b5a5c5 | [] | no_license | DavidGCG/Prollectos-arduino | cfbe5e803652fdc3113b08691f2c529d8566613c | c344cb5358603ce621085b37a856ef979d95d2c4 | refs/heads/master | 2023-03-31T08:22:41.944812 | 2021-04-05T10:01:47 | 2021-04-05T10:01:47 | 354,791,977 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 654 | ino |
int rojo = 8;
int verde = 9;
int azul = 10;
int time=100;
void setup() {
pinMode(rojo, OUTPUT);
pinMode(verde, OUTPUT);
pinMode(azul, OUTPUT);
}
void loop() {
for(int i=0;i<=255;i++){
digitalWrite(azul,HIGH);
analogWrite(rojo,i);
delay(time);
}
for(int i=255;i>=0;i--){
a... | [
"dmd18@gcloud.ua.es"
] | dmd18@gcloud.ua.es |
8e585d5a6c221c3c597dd43365214a928ec4831d | 3fc1ee94ebece7022c99d69cad39c3710487a74a | /device/bluetooth/test/bluetooth_test_win.h | d536010dbacea1d8aec05c3416076396a4d9274a | [
"BSD-3-Clause"
] | permissive | vseal001/chromium | b78653699caa6d54f45401ad0d9e3e90c160b8fb | 474eca05898d2524072c2e3d962a866ddcfe37fc | refs/heads/master | 2023-01-15T05:05:41.728378 | 2018-08-07T12:38:42 | 2018-08-07T12:38:42 | 143,872,860 | 0 | 1 | null | 2018-08-07T12:52:25 | 2018-08-07T12:52:25 | null | UTF-8 | C++ | false | false | 9,014 | h | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef DEVICE_BLUETOOTH_TEST_BLUETOOTH_TEST_WIN_H_
#define DEVICE_BLUETOOTH_TEST_BLUETOOTH_TEST_WIN_H_
#include "device/bluetooth/test/bluetooth_test.h"... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
0c0b2fb0e018d7ae3dab528b0a7235082b06fa51 | 0e9394230899fd0df0c891a83131883f4451bcb9 | /include/boost/simd/arch/common/detail/simd/logarithm.hpp | 9c6d462bf1086b93698335ece67ef89c13b1f1c5 | [
"BSL-1.0"
] | permissive | WillowOfTheBorder/boost.simd | f75764485424490302291fbe9856d10eb55cdbf6 | 561316cc54bdc6353ca78f3b6d7e9120acd11144 | refs/heads/master | 2022-05-02T07:07:29.560118 | 2016-04-21T12:53:10 | 2016-04-21T12:53:10 | 59,155,554 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 646 | hpp | //==================================================================================================
/*!
@file
@copyright 2016 J.T.Lapreste
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
*/
//===========================... | [
"charly.chevalier@numscale.com"
] | charly.chevalier@numscale.com |
5ab114eb4409fe86e4a156194085208cc25b9e4b | 179c0ea4275387bb530d224f50c806cd60ca3f32 | /src/server/shared/Logging/AppenderFile.cpp | fcef8fe453252144f9c869ea2bf8b78c49160da4 | [] | no_license | freadblangks/Hellhunter15595 | 40a707ca61d7163d21051a29ca0db7bcb9c9845d | e39720d0eaa49a730a77c6e339dfb6ead735ca3f | refs/heads/master | 2021-06-09T11:24:57.485838 | 2016-12-17T07:43:35 | 2016-12-17T07:43:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,038 | cpp | /*
Hellhunter
*/
#include "AppenderFile.h"
#include "Common.h"
AppenderFile::AppenderFile(uint8 id, std::string const& name, LogLevel level, const char* _filename, const char* _logDir, const char* _mode, AppenderFlags _flags, uint64 fileSize):
Appender(id, name, APPENDER_FILE, level, _flags),
logfile(NULL),
... | [
"game.techbang01@gmail.com"
] | game.techbang01@gmail.com |
3cbfa27bab873e5a1c179e3a4ef353c7dbb66c34 | 1a54f249800b5e70af28d90ab44067ba0f33c408 | /Testing/dataBaseVerify/postDataQuery/postDataQuery.ino | a1ead03fb65fa9e03540e95250d0abd05294b3b2 | [] | no_license | Grammonde/KIT_KMS | 7ecff28e61f777018c004767c997cc2d8c92976d | cbeb74d3bca8551658da6207fcb1871103c4e6d2 | refs/heads/master | 2020-09-17T14:09:09.898827 | 2020-03-29T07:58:20 | 2020-03-29T07:58:20 | 224,095,535 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,217 | ino | #include <ESP8266WiFi.h>
#include <ESP8266HTTPClient.h>
#include <DNSServer.h>
#include <ESP8266WebServer.h>
#include <WiFiManager.h>
String token = "";
String data = "";
String verifies = "";
String setProcess;
int startAgain = 0;
int httpCode1;
int httpCode2;
int i = 0;
int j = 0;
int k = 0;
int nextProcess = 0... | [
"58200650+Grammonde@users.noreply.github.com"
] | 58200650+Grammonde@users.noreply.github.com |
38330a49456e823470d25a559ab86017f4d84441 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/curl/gumtree/curl_patch_hunk_21.cpp | b76238b7b59f201d45041ea7dad54323abc0a621 | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,760 | cpp | "\n"
" curl -F \"docpicture=@dog.gif\" -F \"catpicture=@cat.gif\" \n"
"\n"
"REFERRER\n"
"\n"
" A HTTP request has the option to include information about which address\n"
-);
- puts(
" that referred to actual page. Curl allows you to specify the\n"
+, stdout);
+ fputs(
" referrer to be used on the co... | [
"993273596@qq.com"
] | 993273596@qq.com |
ea85e95505d6e27c4ae39ac9e88686c76188fa01 | a3d0f92c3fd95c9d0d844405ac80a246ceb86c03 | /src/extern/dcmtk-3.5.4/dcmdata/libsrc/mkdictbi.cxx | 8729dfc4af368da59eb472b0946022b878a50afe | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference",
"BSD-4.3TAHOE",
"xlock",
"LicenseRef-scancode-warranty-disclaimer",
"OFFIS",
"LicenseRef-scancode-other-permissive",
"IJG",
"BSD-3-Clause",
"JasPer-2.0"
] | permissive | JoonVan/xip-libraries | 79cc97e84ea45e30e0dc61fd8a98503a36fe9194 | 9f0fef66038b20ff0c81c089d7dd0038e3126e40 | refs/heads/master | 2020-12-20T18:49:48.942407 | 2013-06-25T20:57:19 | 2013-06-25T20:57:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,779 | cxx | /*
*
* Copyright (C) 1994-2005, OFFIS
*
* This software and supporting documentation were developed by
*
* Kuratorium OFFIS e.V.
* Healthcare Information and Communication Systems
* Escherweg 2
* D-26121 Oldenburg, Germany
*
* THIS SOFTWARE IS MADE AVAILABLE, AS IS, AND OFFIS MAKES NO WARRA... | [
"lawrence.tarbox@gmail.com"
] | lawrence.tarbox@gmail.com |
2b80a729fa26b80f5ee5d8b8736e50924ffa3505 | 78e529a44b7029007bfc75cc0d7042ff4ae22699 | /graph theory/graphs1/9sizeOfsubtree.cpp | 57110202a28861cefd2b00548e52fa00071c0dc6 | [] | no_license | himanshkukreja/competitveProgramming | 3d842b0344c6ccb86e05d3d291e56c8a0747a8de | 6541584dc2c39d7008dd34b53d1962907078cdc9 | refs/heads/master | 2023-06-21T18:36:32.392212 | 2021-07-24T04:21:20 | 2021-07-24T04:21:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 819 | cpp | #include <bits/stdc++.h>
using namespace std;
#define ll long long int
#define mod 1000000007
#define REP(i, a, b) for (int i = a; i < b; i++)
vector<int> arr[101];
vector<bool> vis(101, false);
vector<int> subSize(101);
int dfs(int n)
{
int cnt = 1;
vis[n] = true;
for (int c : arr[n])
{
if (!... | [
"princem.ec.19@gmail.com"
] | princem.ec.19@gmail.com |
c4187543f6bd604ecb9bfc5cf2cae8f673e167f8 | 88ae8695987ada722184307301e221e1ba3cc2fa | /v8/src/builtins/builtins-typed-array-gen.cc | 452012c096527e6c6c07ee4ca5d272612af28c64 | [
"BSD-3-Clause",
"SunPro",
"Apache-2.0"
] | permissive | iridium-browser/iridium-browser | 71d9c5ff76e014e6900b825f67389ab0ccd01329 | 5ee297f53dc7f8e70183031cff62f37b0f19d25f | refs/heads/master | 2023-08-03T16:44:16.844552 | 2023-07-20T15:17:00 | 2023-07-23T16:09:30 | 220,016,632 | 341 | 40 | BSD-3-Clause | 2021-08-13T13:54:45 | 2019-11-06T14:32:31 | null | UTF-8 | C++ | false | false | 27,404 | cc | // Copyright 2017 the V8 project 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 "src/builtins/builtins-typed-array-gen.h"
#include "src/builtins/builtins-constructor-gen.h"
#include "src/builtins/builtins-utils-gen.h"
#inc... | [
"jengelh@inai.de"
] | jengelh@inai.de |
2dfebe8242ca965e91f42c4c1bbf82800ebab1fc | e368c747e6337712bac76e9fb95c66b41781ffac | /Project/BaseLib/CMath.cpp | c32d2fd4a83db2e8e30908e362ca3804fc47e629 | [] | no_license | mfkiwl/Nrtk | 87d181c654071fc38994acfebde358e27080d7e2 | cb2567ea5b8c3548f66a94e2c42e0a46c48f569e | refs/heads/master | 2023-07-13T03:45:01.157978 | 2021-08-30T13:24:35 | 2021-08-30T13:24:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,602 | cpp | #include <direct.h>
#include "CMath.h"
CMath::CMath()
{
}
CMath::~CMath()
{
}
static fatalfunc_t* fatalfunc = NULL; /* fatal callback function */
/* fatal error ---------------------------------------------------------------*/
static void fatalerr(const char* format, ...)
{
char msg[1024];
va_list ap;
va... | [
"baitianyang@dpi.net.cn"
] | baitianyang@dpi.net.cn |
e1a45146567229f8ecce44ea4156fe7624e466c6 | 21ae8359cdd1aecc6cfddbc3757822cd36781c68 | /MyZorkClone/MyZorkClone/MonsterCreator.cpp | 5f15fcc5eb2936ccd7423b0e347ea2b3a8d1320a | [
"MIT"
] | permissive | lordmizel/ZorkClone | 0db3557531d632307e9aff9336034a08d2097545 | f426d8d715d24260286508f754c2559fa67997d7 | refs/heads/master | 2021-07-23T05:51:11.283359 | 2017-10-29T13:08:50 | 2017-10-29T13:08:50 | 106,455,737 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,675 | cpp | #include <cstdlib>
#include <assert.h>
#include "MonsterCreator.h"
using namespace std;
vector<string> typeOfAnimal = {
"duck",
"dog",
"cat",
"bear",
"fish",
"kangaroo",
"crow",
"chicken",
"rat",
"koala",
"snake",
"spider",
"pig",
"flower"
};
vector<string> secondPartOfName = {
"QUACK",
"HOUND",
... | [
"lordmizell@gmail.com"
] | lordmizell@gmail.com |
5843376e3f272bce2ac617a72310c923e078a217 | dee0c356e65ce0ab1ad2b1765d33a89a6d17fead | /编程基础练习/3-Merge.cpp | 8099d9aaf76629d606698581ae53c8660b4e71b3 | [] | no_license | Lizhmq/Introduction2Computing-Hw | 6e1c94c269728204ab9787566f9c8aed5efed114 | d86c0c4bc4db59ec5970718b7c10ae820b681a30 | refs/heads/master | 2020-08-11T21:47:42.426471 | 2020-01-08T16:39:25 | 2020-01-08T16:39:25 | 214,633,777 | 13 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 527 | cpp | #include <iostream>
#include <cstring>
#include <algorithm>
using namespace std;
int main()
{
int a[10], b[10], c[20];
for (int i = 0; i < 10; ++i)
cin >> a[i];
for (int i = 0; i < 10; ++i)
cin >> b[i];
int i = 0, j = 0, k = 0;
while (i < 10 && j < 10) {
if (a[i] < b[j])
c[k++] = a[i++];
... | [
"1600012911@pku.edu.cn"
] | 1600012911@pku.edu.cn |
d54731ee311ab739d536c0dcb344fc49663a6da9 | 73ee941896043f9b3e2ab40028d24ddd202f695f | /external/chromium_org/net/http/http_auth_controller.h | 5d5b469a265f4590ba2b3018b7c5d316c5e2f426 | [
"BSD-3-Clause"
] | permissive | CyFI-Lab-Public/RetroScope | d441ea28b33aceeb9888c330a54b033cd7d48b05 | 276b5b03d63f49235db74f2c501057abb9e79d89 | refs/heads/master | 2022-04-08T23:11:44.482107 | 2016-09-22T20:15:43 | 2016-09-22T20:15:43 | 58,890,600 | 5 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 6,383 | h | // Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef NET_HTTP_HTTP_AUTH_CONTROLLER_H_
#define NET_HTTP_HTTP_AUTH_CONTROLLER_H_
#include <set>
#include <string>
#include "base/basictypes.h"
#inc... | [
"ProjectRetroScope@gmail.com"
] | ProjectRetroScope@gmail.com |
7e87f122fb8712f6cfefbba0fb454a36e51bf9ec | 9e3e66b753f223917825a78145dccbf2e9ae3db0 | /03/Dip3.h | 9632dd4b0964a9deab82ac612c7336f40131dfd7 | [] | no_license | Ian95Song/DIP-Homework | 52380f4e167cafa8bb805672859b2d349877b11a | e1e44c302df4e5458132d64018aa2697fa521fcf | refs/heads/master | 2022-04-13T07:29:36.915690 | 2020-04-12T11:54:15 | 2020-04-12T11:54:15 | 255,066,004 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,217 | h | //============================================================================
// Name : Dip3.h
// Author : Ronny Haensch, Andreas Ley
// Version : 3.0
// Copyright : -
// Description : header file for third DIP assignment
//============================================================================
... | [
"noreply@github.com"
] | Ian95Song.noreply@github.com |
5841223c4f3828a5ce75862cf07312dafc43fe69 | 61adb4961f9fc93f6fed514dd6006a3bb183ae55 | /8.4 PowerSet.cpp | ba59464cd35ffd74a69581b22c4ba51c90a1b4b7 | [] | no_license | mhrnshrf/Cracking-the-Coding-Interview | 805b2cbf788b82f56ccaa27305c0570595f8f4e1 | 689d51c18972d67f4048d086c7cf0317762b1b8a | refs/heads/master | 2023-09-04T11:32:40.896971 | 2021-10-18T18:28:17 | 2021-10-18T18:28:17 | 401,930,673 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,404 | cpp | #include<iostream>
#include<vector>
using namespace std;
vector<vector<int> *>* getSubset(vector<int> * set, int ind){
vector<vector<int> * > * subset = new vector<vector<int> *>();
vector<int> * voidset = new vector<int>();
subset->push_back(voidset);
if (ind < 0)
{
return subset;
... | [
"mhrnshrf@gmail.com"
] | mhrnshrf@gmail.com |
3fcd6314624bf2589aa3db329afe58d1552101ad | 7dc0cc4e2c3b5914d9efd8330ab1a42bea64a71c | /Leetcode - Easy - 852. Peak Index in a Mountain Array.cpp | a83939001624536052e01ec0fd357253243897a7 | [] | no_license | yasburg/leetcodeAnswers | 3e7b590856c7f40ddb30d27c25201880795329a3 | b6962f3b0483409074931b87e6087a65b85ff427 | refs/heads/master | 2020-12-27T20:02:55.201228 | 2020-02-25T09:26:01 | 2020-02-25T09:26:01 | 238,034,289 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 236 | cpp | class Solution {
public:
int peakIndexInMountainArray(vector<int>& A) {
for(int i = 1; i < A.size(); i++){
if(A[i+1] < A[i]){
return i;
}
}
return 0;
}
}; | [
"34233254+yasburg@users.noreply.github.com"
] | 34233254+yasburg@users.noreply.github.com |
cdb4c26ce9155afd962192e5bd27e5e511f04ce6 | 60bb67415a192d0c421719de7822c1819d5ba7ac | /blazetest/src/mathtest/dmatdmatadd/S3x3aS3x3a.cpp | e3638fe7791694bf0e212562e433f5dedd8d19c3 | [
"BSD-3-Clause"
] | permissive | rtohid/blaze | 48decd51395d912730add9bc0d19e617ecae8624 | 7852d9e22aeb89b907cb878c28d6ca75e5528431 | refs/heads/master | 2020-04-16T16:48:03.915504 | 2018-12-19T20:29:42 | 2018-12-19T20:29:42 | 165,750,036 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,613 | cpp | //=================================================================================================
/*!
// \file src/mathtest/dmatdmatadd/S3x3aS3x3a.cpp
// \brief Source file for the S3x3aS3x3a dense matrix/dense matrix addition math test
//
// Copyright (C) 2012-2018 Klaus Iglberger - All Rights Reserved
//
// Thi... | [
"klaus.iglberger@gmail.com"
] | klaus.iglberger@gmail.com |
f8ae3462567dcb8653fd300552bc98d09f3bd3dd | c0084a0fcffc2c15fcb9a071bab185bf4ff36dab | /proj-rt/proj-rt-files/reflective_shader.h | fab064caf26a4b851c1d74f3d3f24cf130ae2b72 | [] | no_license | JiaweiChen110/Ray-tracer | af93523408b7105dd68d4c680f1462e2bf6c342b | 1e4d8eddeebf7a5531a056c1a797e388c21602d0 | refs/heads/master | 2022-11-18T23:33:54.399963 | 2020-07-18T19:50:00 | 2020-07-18T19:50:00 | 279,990,465 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 594 | h | #ifndef __REFLECTIVE_SHADER_H__
#define __REFLECTIVE_SHADER_H__
#include <algorithm>
#include "shader.h"
class Reflective_Shader : public Shader
{
public:
Shader* shader;
double reflectivity;
Reflective_Shader(Render_World& world_input,Shader* shader_input,double reflectivity)
:S... | [
"noreply@github.com"
] | JiaweiChen110.noreply@github.com |
923dc259ef63dedfb4a6ccca6ef23d3a4465e6cb | 711f9c743c8eddbe018decfcf4f27acebe641294 | /hellomap3/Nuti.framework/Versions/A/Headers/components/LicenseManagerListener.h | 3cbe2d76de1144c3f95366c84e9c3f2097bc7d4c | [
"BSD-2-Clause"
] | permissive | nutiteq/hellomap3d-ios | bb35b6599360b74357339f300a5b94e293bec9d3 | b9b6e8a2f756937fb5f15538c560cff1115688c3 | refs/heads/master | 2020-04-12T02:22:51.387210 | 2016-12-23T14:27:13 | 2016-12-23T14:27:13 | 21,323,638 | 15 | 9 | null | 2016-11-28T10:11:06 | 2014-06-29T13:20:51 | C | UTF-8 | C++ | false | false | 679 | h | /*
* Copyright 2014 Nutiteq Llc. All rights reserved.
* Copying and using this code is allowed only according
* to license terms, as given in https://www.nutiteq.com/license/
*/
#ifndef _NUTI_LICENSEMANAGERLISTENER_H_
#define _NUTI_LICENSEMANAGERLISTENER_H_
namespace Nuti {
/**
* An internal... | [
"jaak@nutiteq.com"
] | jaak@nutiteq.com |
d0d96d5b4fe5dcbeff7051eab36b4ba0341b2061 | 84e17d29acd8f898a7bfa77517c4f994609393ec | /voto.cpp | 4f60f3a845436536f3695822f5893fc8a6578ec6 | [] | no_license | Alexester29/try_to_copy_2_ | 56cab0db106303daf2ac6c359d61db26237a3f24 | e35703b9f30001e99f2b8ded7c6b4cbcad2c8cc7 | refs/heads/main | 2023-05-29T09:58:40.572957 | 2021-06-09T14:42:15 | 2021-06-09T14:42:15 | 375,387,237 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 85,715 | cpp | #include <iostream>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <time.h>
#include <conio.h>
#include "main.h"
#include <windows.h>
using namespace std;
void game::voto()
{
switch(n)
{
case 1:
b1=rand()%2+1;
if(b1==1)
{
cout << "\n\n\n" ... | [
"noreply@github.com"
] | Alexester29.noreply@github.com |
4401db4ba0c3d44e442af29727e793c7d0934791 | d4c6151c86413dfd0881706a08aff5953a4aa28b | /src/developer/debug/ipc/decode_exception.h | 2edde9e707629d6b28ff6bafdd62ba0c768edf2e | [
"BSD-3-Clause"
] | permissive | opensource-assist/fuschia | 64e0494fe0c299cf19a500925e115a75d6347a10 | 66646c55b3d0b36aae90a4b6706b87f1a6261935 | refs/heads/master | 2022-11-02T02:11:41.392221 | 2019-12-27T00:43:47 | 2019-12-27T00:43:47 | 230,425,920 | 0 | 1 | BSD-3-Clause | 2022-10-03T10:28:51 | 2019-12-27T10:43:28 | C++ | UTF-8 | C++ | false | false | 1,113 | h | // Copyright 2019 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef SRC_DEVELOPER_DEBUG_IPC_DECODE_EXCEPTION_H_
#define SRC_DEVELOPER_DEBUG_IPC_DECODE_EXCEPTION_H_
#include <stdint.h>
#include <optional>
#include... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
b68525a015472857b2ea90f7046da1f941ec4085 | bcb4c127578d2874ce445e021bf276ff07d6fa70 | /524.longest-word-in-dictionary-through-deleting.cpp | 094291a5bd6c87069875887d42c32d3bf967e1cd | [] | no_license | SilverMaple/LeetCode | 3f9a4ef95cbaaed3238ad1dd41b6e6182c64575c | 581486a1e08dbceddcb64da4f6c4ed6c73ed5e84 | refs/heads/master | 2020-07-26T06:37:08.897447 | 2020-03-31T14:55:18 | 2020-03-31T14:55:18 | 208,566,047 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 782 | cpp | /*
* @lc app=leetcode id=524 lang=cpp
*
* [524] Longest Word in Dictionary through Deleting
*/
#include <string>
#include <vector>
using namespace std;
// @lc code=start
class Solution {
public:
string findLongestWord(string s, vector<string>& d) {
string ans = "";
for (string& word: d) {
... | [
"1093387079@qq.com"
] | 1093387079@qq.com |
468c001c76ef1d97d6fca2d566d59046fcf4124e | 46fda2ea47f311ee7fefc6f6210811c7f4bd74ad | /sysutils/nix/files/patch-src_libstore_s3-binary-cache-store.cc | 8c9de342292f185d5fc2613b199d7c26e17fb67d | [
"BSD-2-Clause"
] | permissive | truenas/ports | ad560a8adde884dc0cfc4b292bbbcad91903b287 | da4ed13ad08a6af5c54361f45964fa1177367c68 | refs/heads/truenas/13.0-stable | 2023-09-02T03:00:28.652837 | 2023-08-16T16:05:00 | 2023-08-16T16:05:00 | 8,656,293 | 18 | 9 | NOASSERTION | 2023-09-12T15:15:34 | 2013-03-08T17:35:37 | null | UTF-8 | C++ | false | false | 4,223 | cc | --- src/libstore/s3-binary-cache-store.cc.orig 2019-10-10 13:03:46 UTC
+++ src/libstore/s3-binary-cache-store.cc
@@ -44,7 +44,7 @@ R && checkAws(const FormatOrString & fs, Aws::Utils::O
if (!outcome.IsSuccess())
throw S3Error(
outcome.GetError().GetErrorType(),
- fs.s + ": " + outc... | [
"0mp@FreeBSD.org"
] | 0mp@FreeBSD.org |
8ec0539324c27783bf221ef4d401672e57754120 | 7fa0697eb435512e496107816a43b03c335f5ae6 | /src/Utilities/InvalidInput.h | cbf7b365b7a6e80318c0a34691bb97bd4afb97de | [] | no_license | jcpinto54/Wagons | 94e7e7d24c3b535edbdf6f8c96cd08bf2439dca3 | f2699a8edf09d7e3975d92b0c8a58a84c95d1028 | refs/heads/master | 2023-03-20T01:53:52.507476 | 2021-03-10T20:52:30 | 2021-03-10T20:52:30 | 263,392,436 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 623 | h | #pragma once
#include <string>
/// Invalid Input Exception
class InvalidInput : public std::exception {
private:
/// @brief The msg to be displayed when this exception occurs
std::string msg;
public:
/// @brief Constructs an InvalidInput exception
/// @param msg The msg of the new InvalidInput excepti... | [
"joaocastropintoz@gmail.com"
] | joaocastropintoz@gmail.com |
c175e1918fd6803809404b01bcc0b7b3b6ec531a | 9575f316d01c3e0fdc1b21817ceca1efa61ed950 | /OF/0080/BigScreensClientPlayerSeq/src/testApp.cpp | 3857939fefc77e26d8660ce817d9a85bcf4c0c16 | [] | no_license | maryfe/BigScreens | ac5af77c9c56ef29eb9b357358604e95902ec9bf | 6d7c7a39cdb9bc0b9fd42ab8c8e203e6055e074b | refs/heads/master | 2020-12-24T08:30:49.906989 | 2013-09-09T22:36:17 | 2013-09-09T22:36:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,537 | cpp | #include "testApp.h"
//--------------------------------------------------------------
void testApp::setup(){
// Load initial settings
loadSettings("settings.xml");
started = false;
fullscreen = false;
ofSetVerticalSync(true);
// Set up OSC
receiver.setup( port );
std::cout << "listening for osc messages... | [
"daniel@shiffman.net"
] | daniel@shiffman.net |
87e298780d3edb09f7eac21bd7600c7e8ad44a8d | 21ce8a935533658c83aa4eb7c6f8efd0a5d88517 | /integrated_sensing_linefollowing/integrated_sensing_linefollowing.ino | 5b58103a0463cd3cc25aa7feb2b035e7afe2ac7f | [] | no_license | agk2000/ECE110-IDC | ee2d3ddc17fd021791c1a838da7725060c1147ef | 2a22f49304a5474e67443b1dd64cd30666a9f803 | refs/heads/master | 2020-09-12T05:50:40.045810 | 2019-12-06T02:33:07 | 2019-12-06T02:33:07 | 222,331,324 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,370 | ino | #include <Servo.h>
//Line Sensing
Servo left;
Servo right;
int QTIpins[] = {49, 51, 53}; // left, center, right
int QTIdurations[3];
int QTIvalues[3];
//Sensing
int threshold = 100;
int count = 0;
const int pingPin = 7;
int tall_block_count = 0;
//Communication
#include<SoftwareSerial.h>
#define Rx 17
#define Tx 16
... | [
"anish.karpurapu@duke.edu"
] | anish.karpurapu@duke.edu |
f4ac9428a6645606c372406884580fb2641ea7fc | 0026ee3d4e88aab5e76ffefee342910e6b46e17b | /src/Session.cpp | 12b3a80c4c78caa8baa8a075718c5403a1cfb18f | [] | no_license | TheNamesItay/spl | 263c3171248cad3683b6f70fadedd7242051cba4 | 63c9ae14704918a4a5fbc3d3d33840a96f88a98f | refs/heads/master | 2020-09-14T06:08:39.350607 | 2019-11-20T23:14:33 | 2019-11-20T23:14:33 | 223,043,475 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 518 | cpp | //
// Created by itay on 11/20/19.
//
#include <fstream>
#include "../include/Session.h"
#include "../include/json.hpp"
#include "../include/Watchable.h"
using namespace std;
using nlohmann::json;
Session::Session(const std::string &configFilePath) {
ifstream stream(configFilePath);
json myJ;
... | [
"noreply@github.com"
] | TheNamesItay.noreply@github.com |
047b489e93158d0f87d25a1f2ebf3a8aad14b85c | a0f0efaaaf69d6ccdc2a91596db29f04025f122c | /src/ros_base/robot_scheduling/robot_scheduling_server/src/robot_scheduling_server.cpp | fbc6c32ffe29efda11fb8f58321e8eaa65851c6a | [] | no_license | chiuhandsome/ros_ws_test-git | 75da2723154c0dadbcec8d7b3b1f3f8b49aa5cd6 | 619909130c23927ccc902faa3ff6d04ae0f0fba9 | refs/heads/master | 2022-12-24T05:45:43.845717 | 2020-09-22T10:12:54 | 2020-09-22T10:12:54 | 297,582,735 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,638 | cpp | #include <robot_scheduling_server.h>
//-----------------------------------------------------------------------------
robot_scheduling_server::robot_scheduling_server() : nh_(),_pnp_server()
{
ROS_INFO("robot_scheduling_server");
_pnp_server.start();
}
//--------------------------------------------------------... | [
"chiuhandsome1966@gmail.com"
] | chiuhandsome1966@gmail.com |
f78bdf58275babf1e726b6aa3b3cb3cdbc8e0eb4 | 9d1886cd5fab52eaf88dc0a8e688d30cd34b6105 | /labex03-tombom66/prob04/test/unittest.cpp | 61b2bb7bb5b51a71c5b3709875e079b3d4b94876 | [
"MIT"
] | permissive | tombom66/Computer-science | 13f700abdfeabfbe548017ebefb774a19a71778f | 1ee3c7826a6321db5b4bcb5c93b60670df72e24e | refs/heads/master | 2020-08-03T11:37:38.893227 | 2019-10-13T02:09:51 | 2019-10-13T02:09:51 | 211,738,843 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,731 | cpp | #include "gtest_ext.h"
#include <gmock/gmock.h>
#include <gtest/gtest.h>
TEST(Range, OutputFormat) {
std::string unittest_output =
"Please enter the low number for this range: Please enter "
"the high number for this range: Please choose a number to "
"check in range: 5 is in range [1,10]\n";
ASS... | [
"noreply@github.com"
] | tombom66.noreply@github.com |
b6f96098f97f70abbc5abf9089f69a532f58ae27 | 7aa59a7d4c4e77614017a0d901710fae26583a27 | /mp2-DBSCAN/dbscan.cpp | 1a027e3e21c13d83af816381e7dce0f0cca811a3 | [] | no_license | yijia9505/VE484-Data-Mining | f1c54cf9bbf6ccee21ceac84ed6cbe6fe4ea4247 | ab74f590790e7cb3ac748c83ba0b7fe07254b17d | refs/heads/master | 2021-05-15T21:26:12.782158 | 2017-10-11T05:26:16 | 2017-10-11T05:26:16 | 106,509,184 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,910 | cpp | #include<iostream>
#include<map>
#include<fstream>
#include<sstream>
#include<string>
#include<vector>
#include<cstdlib>
#include<time.h>
#include<cmath>
using namespace std;
typedef struct point_str{
double x;
double y;
int id;
int core_id;
}point;
typedef struct core_str{
int i;
int id;
vector<int> neighbou... | [
"noreply@github.com"
] | yijia9505.noreply@github.com |
e2717bef66712f25df5070e2980fe315b9c8f26c | 8a87f5b889a9ce7d81421515f06d9c9cbf6ce64a | /3rdParty/boost/1.78.0/libs/polygon/doc/tutorial/layout_rectangle.hpp | faf34d43e549589e5efb6bed5fdce70f7fd591a2 | [
"BSL-1.0",
"Apache-2.0",
"BSD-3-Clause",
"ICU",
"Zlib",
"GPL-1.0-or-later",
"OpenSSL",
"ISC",
"LicenseRef-scancode-gutenberg-2020",
"MIT",
"GPL-2.0-only",
"CC0-1.0",
"LicenseRef-scancode-autoconf-simple-exception",
"LicenseRef-scancode-pcre",
"Bison-exception-2.2",
"LicenseRef-scancode... | permissive | arangodb/arangodb | 0980625e76c56a2449d90dcb8d8f2c485e28a83b | 43c40535cee37fc7349a21793dc33b1833735af5 | refs/heads/devel | 2023-08-31T09:34:47.451950 | 2023-08-31T07:25:02 | 2023-08-31T07:25:02 | 2,649,214 | 13,385 | 982 | Apache-2.0 | 2023-09-14T17:02:16 | 2011-10-26T06:42:00 | C++ | UTF-8 | C++ | false | false | 776 | hpp | /*
Copyright 2010 Intel Corporation
Use, modification and distribution are subject to 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).
*/
//layout_rectangle.hpp
#ifndef BOOST_POLYGON_TUTORIAL_LAYOUT_RECTANGLE_HPP
#define BOOST_POLYGON_TU... | [
"noreply@github.com"
] | arangodb.noreply@github.com |
1d12fa5b92c6e4d531fcdb483f1e447eafc94aed | 7b8e11b7cee976ce9053f2b756c1ac4c62cd9cc0 | /src/php_v8_ext_mem_interface.cc | aed267340ffc3d810f77403179a6e4aef521643e | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | evlsqd/php-v8 | 7ae8abc60e45caef12f3358d7909a2c3fa8d9f99 | 8680f52dbc89c407a41250d907849280da409535 | refs/heads/master | 2020-12-24T11:18:14.302466 | 2016-10-01T11:06:08 | 2016-10-01T11:06:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,506 | cc | /*
+----------------------------------------------------------------------+
| This file is part of the pinepain/php-v8 PHP extension. |
| |
| Copyright (c) 2015-2016 Bogdan Padalko <pinepain@gmail.com> |
| ... | [
"pinepain@gmail.com"
] | pinepain@gmail.com |
83d26a61aa6d544a8fc28cd62652654291225ba7 | 3a356ea7e4364d419c3c1a8cf71d9f1842fda54a | /1311F.cpp | f4f38ba0cc1f8d45cf5afc2baf9137d3193a7cc0 | [] | no_license | mayank992/Codeforces-Solutions | cd8e4cde3bd690e923aa1e12105bfb50a690f2e7 | 27771f4b23800dad4e7276f2aacf5e65143a3220 | refs/heads/master | 2021-04-09T00:44:59.662072 | 2020-06-04T07:44:29 | 2020-06-04T07:44:29 | 248,823,713 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,074 | cpp | /*
Platform: Codeforces
Problem: Moving Points
Problem Link: https://codeforces.com/problemset/problem/1311/F
*/
#include<bits/stdc++.h>
using namespace std;
#define ll long long int
#define ull unsigned long long int
#define pb push_back
#define vpop pop_back
#define mp make_pair
#define f... | [
"mayankjindal992@gmail.com"
] | mayankjindal992@gmail.com |
22353b5042c91bc0611dbf0656fdda320640d443 | 511dc3ff2b95cbe8218de463a4ddcc880c219af8 | /Headers/Mazda.h | eb041b9c70c8c26d8e1140b10877a621f1aa719d | [] | no_license | TailonR/PartC372Final | 73cbb699d87c4e4986115c080710823e4c12a979 | e5712a0e410a5e610b1d2bbfed8f627ebf0fdbb2 | refs/heads/master | 2022-06-06T22:27:47.573050 | 2020-05-02T16:33:36 | 2020-05-02T16:33:36 | 260,725,141 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 339 | h | //Tailon Russell
// Created by renew on 4/30/2020.
//
#include "Car.h"
#ifndef UNTITLED1_MAZDA_H
#define UNTITLED1_MAZDA_H
class Mazda: public Car{
public:
Mazda(std::string model, int year);
std::string getModel() override;
int getYear() override;
private:
std::string _model;
int _year;
};
#endif /... | [
"renewedT2016@gmail.com"
] | renewedT2016@gmail.com |
b7d299dd9a130f83d573af03dcbdfb76a4c9a004 | 3401100ce3b5a11559e675bec61b545625b712ba | /src/xbi-cli.cpp | 7b1aac8cdfd449d0fadf5993844846509e3a1cb4 | [
"MIT"
] | permissive | mo7amed888/public | a4f6581cabe4cf312f7b9ffd688cfc7cb100a04e | 997c0ff11fbd34956e87695b72b442449e95ca73 | refs/heads/master | 2020-04-04T05:20:51.217030 | 2018-09-12T20:53:53 | 2018-09-12T20:53:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,694 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2015 The Bitcoin developers
// Copyright (c) 2009-2015 The Dash developers
// Copyright (c) 2015-2017 The PIVX developers
// Copyright (c) 2017 The XBI developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or ... | [
"github@galimba.com.ar"
] | github@galimba.com.ar |
9c026f2ad3ed647228565b75a1d1ebb14ce2d6ca | d93bede6ffa3a46931512c780d84d8641c3c9193 | /Midterm Program/Getdata.cpp | c474bd8bd9dca0f34e43248e932b3872766abfda | [] | no_license | aventador917/CPSC-240-X86-Assembly-Programming | f6fcbfa056e92f05b5aad1236934918cea8788d5 | f37dc61074b0318a5b7632262b0d3907f6f86df2 | refs/heads/master | 2020-09-01T06:11:53.808520 | 2019-11-01T02:54:12 | 2019-11-01T02:54:12 | 218,896,922 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 440 | cpp |
#include<iostream>
using namespace std;
extern "C" int Getdata(int *arr,int size);
int Getdata( int *arr , int size)
{
cout<<"Please enter integer data to be stored in your array. Press enter and Cntl+D to terminate: ";
int indexF = 0;
int counter = 0;
while(indexF < size && !(cin.eof()... | [
"noreply@github.com"
] | aventador917.noreply@github.com |
0d8c634a886aed0b9b4b1ba8d0199d6593d18dc9 | 66cba6da7d415fc459926d655ddacdaf50a4c314 | /csrc/encoder/opusEncoder.cpp | 274bcce05ce28fb2c3a29e023bb19e0ebc3f8fef | [] | no_license | taktod/ttLibJsGyp | 817aa8acf9159a70c27231f3500dd76bc8dd0561 | a0a597e368aab875fb394ae705b4576ff5f9e0ef | refs/heads/master | 2020-09-20T10:46:26.654191 | 2019-10-07T04:35:18 | 2019-10-07T04:35:18 | 66,194,458 | 4 | 0 | null | 2018-02-25T06:05:43 | 2016-08-21T11:03:18 | C++ | UTF-8 | C++ | false | false | 4,670 | cpp | #include "opusEncoder.h"
#include "../frame.h"
#include "../util.h"
#ifdef __ENABLE_OPUS__
# include <opus/opus.h>
#endif
OpusEncoder_::OpusEncoder_(Local<Object> params) : Encoder() {
type_ = get_opus;
#ifdef __ENABLE_OPUS__
uint32_t sampleRate = Uint32Value(Nan::Get(params, Nan::New("sampleRate").ToLocalChec... | [
"poepoemix@hotmail.com"
] | poepoemix@hotmail.com |
8134c4256c34fbe9b73166875505e0432e568de5 | e838efb66f34e9d16d650778aed3fedba58b4883 | /DictionaryServer/asdf.h | bbc191fcf1af24ed28f5f8e2f735ae1ed6e2ec81 | [] | no_license | HotIceCream/sit | 6e5dd7984a3b310b671625f0b9184a4f43108a09 | 47c4c16eb7e5eccf9900c3bd803d45ed84cf8a6a | refs/heads/master | 2016-09-05T09:26:42.951505 | 2012-03-25T18:34:24 | 2012-03-25T18:34:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 95 | h | #ifndef ASDF_H
#define ASDF_H
class asdf
{
public:
asdf();
};
#endif // ASDF_H
| [
"italan13@yandex.ru"
] | italan13@yandex.ru |
d795481a0d1d6f4f5e2a88f9be57be1aca1a491b | b720adc615f0c274700181e42b697f553fd1587c | /pipelineHandler.h | c2a7a7220c7248a5f4c1fb05082c3cbf655012d8 | [] | no_license | tomyogms/flexA | ad3e0594a2eb1138dc685822f9e7a69166427286 | 2442b43a895f374cd239760524d4af57e1b86574 | refs/heads/master | 2020-06-10T04:11:52.310048 | 2019-06-24T20:59:03 | 2019-06-24T20:59:03 | 193,578,657 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 570 | h | /*
* pipelineHandler.h
*
* Created on: Jan 29, 2013
* Author: tomyogms
*/
#ifndef PIPELINEHANDLER_H_
#define PIPELINEHANDLER_H_
#include "defs.h"
#include "Instruction.h"
class PLHandler {
private:
deque<Instruction> inst;
deque<Instruction> pipeline;
int cycleCount;
bool IF, ID, EX, MEM, WB;
public:... | [
"tomyogms@Tomyos-MBP.frontierlocal.net"
] | tomyogms@Tomyos-MBP.frontierlocal.net |
729e875b0f58687e85fd72fcccdc0e9f8c9ca5b9 | 31ccd44e6e8a28f4d2ced8c883b8981e70ea6cba | /src/xutl/test/gt_xipc.cpp | 63b38dfe51c74c46f0a43730e162f81b9b38ac58 | [
"MIT"
] | permissive | huangya90/eoam | e3fc05526e37c6c41012e56519a4179830b61667 | 8ff7bd0b8872899417cdfd0de972dc8d18c35cd9 | refs/heads/master | 2023-07-04T02:05:19.079375 | 2021-06-11T11:29:34 | 2021-06-11T11:29:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,306 | cpp | #include <iostream>
#include <chrono>
#include <thread>
#include <assert.h>
#include <signal.h>
#include "gtest/gtest.h"
#include "gmock/gmock.h"
#include "xutl_net.h"
#include "xutl_ipc.h"
#define STREAM_SOCK_FILE "/tmp/test_ipc.stream.sock"
#define DGRAM_SOCK_FILE "/tmp/test_ipc.dgram.sock"
// op
typedef ... | [
"ed.yang.123456@gmail.com"
] | ed.yang.123456@gmail.com |
8b78eea00c075bd4c5b46d7add79223cd27f2239 | aec0e18adc757223c974aa8917df6507a35b380c | /BitcoinDataManagement/src/FormatFile.h | f18572db1f41c4598041e99b971b16daaf8f4c00 | [] | no_license | brishtiteveja/BitcoinDataManagement | 6ac85eca0a15a52d346807fa857af4404797fc13 | d2907c949677dbb78467efbdbbe317b55705bc08 | refs/heads/main | 2021-01-15T18:14:13.442632 | 2014-03-05T10:32:45 | 2014-03-05T10:32:45 | 15,671,254 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 534 | h | /*
* FormatFile.h
*
* Created on: Jan 18, 2014
* Author: zehadyzbdullahkhan
*/
#ifndef FORMATFILE_H_
#define FORMATFILE_H_
#include "CommonHeaders.h"
class FormatFile {
public:
void formatAddressFile();
void formatTxOutFile();
void formatTxTimeFile();
string numToString(long int num);
int stringToInt... | [
"a_khanzehady@yahoo.com"
] | a_khanzehady@yahoo.com |
d5abacbd9fc7714f4773b3f01a3d6f8ae18a1f35 | 7b9b73f430e422e6420fba5534afcee7b1eb044c | /leetcode/025.reverse-nodes-in-k-group.cpp | 45d88f2cd02a2769ec2847e44a71c8fbdafd441b | [] | no_license | imsong52/Q.solution | 5a5b26f0be8a0b49acd9932378b228792a775e4a | 47b732e28c61ba242c96db245f49eb0c8498ebf6 | refs/heads/master | 2020-04-30T14:18:57.482616 | 2018-10-28T02:14:09 | 2018-10-28T02:14:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,633 | cpp | /*
* [25] Reverse Nodes in k-Group
*
* https://leetcode.com/problems/reverse-nodes-in-k-group
*
* Hard (30.02%)
* Total Accepted: 84984
* Total Submissions: 283060
* Testcase Example: '[]\n1'
*
*
* Given a linked list, reverse the nodes of a linked list k at a time and
* return its modified list.
*
... | [
"skygragon@gmail.com"
] | skygragon@gmail.com |
ee327ea1c8765b8b34f84c7c44bfd08f45b82b2a | f786ddf9cae1857ea627feaf44ee89711d989ae4 | /Alice Sieve/main.cpp | f0e33ea3c93b94793523b466870816f2cb0221dc | [] | no_license | lbenc135/Cpp_codes | 90bc97633853eec5b6bd716f1cc4477251f1819b | 9787df91c812ebcd119dcac885e17a90ff11e183 | refs/heads/master | 2021-07-15T01:24:13.378412 | 2017-10-19T08:51:46 | 2017-10-19T08:51:46 | 107,521,447 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 215 | cpp | #include <cstdio>
using namespace std;
int main()
{
int t, n;
scanf("%i", &t);
while(t--)
{
scanf("%i", &n);
if(n%2) printf("%i\n", n/2+1);
else printf("%i\n", n/2);
}
}
| [
"lbenc135@gmail.com"
] | lbenc135@gmail.com |
4730ea252d96283c4717db38d310147cf5061955 | 8adeacae4e99047f61909a9b062d6c99c015fb8c | /王道面试宝典/P201_循环链表.cc | 3c8b170bcf4cc161e4c70d4adb76a3cd44e0c055 | [] | no_license | Devilsider/- | f3070d486d6da6086d497eacf4ac85c1d194a8ea | d546766cc9414cc21813faea128973456a9b291e | refs/heads/master | 2020-05-31T15:11:58.570446 | 2019-07-16T15:45:41 | 2019-07-16T15:45:41 | 190,350,461 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 846 | cc | #include <iostream>
using namespace std;
struct list_node
{
int data;
list_node *next;
};
class MyEntrance
{
public:
list_node * FindBeginning(list_node* head)
{
list_node *n1=head;
list_node *n2=head;
while(n2->next != NULL)
{
//寻找相遇点
n1 = n1->n... | [
"784371251@qq.com"
] | 784371251@qq.com |
0ef23b00bb0219d380f19b880f63c995037ccdaa | 1908d12374c4058a27a54df36936c53588541c6a | /leetCode/beforeDP/1026.cpp | 281bf9930e6d5826b985b061cdbbb86462607304 | [] | no_license | abhisheksaran/Competitive-Programming | 98e364ff7dc5091fda7d1d825d5dd200f445b69c | 259f19e70699be02bff25459261f28d6dff7551b | refs/heads/master | 2021-07-24T18:35:24.204536 | 2021-07-06T13:52:20 | 2021-07-06T13:52:20 | 200,476,249 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 994 | 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... | [
"abhishekbishnoi695@gmail.com"
] | abhishekbishnoi695@gmail.com |
d48ba5d3c0a9525872cb45385c55ec61e8642903 | 5e00242dc035fdab6aa6bbb40c6d7e6c119ad8e6 | /Vault/Codeforces Rounds/CFR492D1/CFR492D1A.cpp | 1e080cf5764fe6cc41453fe69a17111a65677dce | [] | no_license | AkiLotus/AkikazeCP | 39b9c649383dcb7c71962a161e830b9a9a54a4b3 | 064db52198873bf61872ea66235d66b97fcde80e | refs/heads/master | 2023-07-15T09:53:36.520644 | 2021-09-03T09:54:06 | 2021-09-03T09:54:06 | 141,382,884 | 9 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 21,113 | cpp | /**
Template by Akikaze (秋風) - formerly proptit_4t41.
Code written by a random fan of momocashew and Chiho.
H△G x Mili - November 27th, 2013
Mag Mell (Mili) - Sep 17th, 2014
H△G x Mili Vol.2 - May 9th, 2015
Miracle Milk (Mili) - Oct 12th, 2016
青色フィルム (H△G) - February 14th, 2018
Millennium Mother (Mili) - Apri... | [
"duybach.224575@gmail.com"
] | duybach.224575@gmail.com |
43b773381ab6ea4cedd22059d4c507148907ad4f | 3764c8b64c55bed6f9aaf354ecb42e927b7325fd | /INFINITE.CPP | de6f5c2f19f6320dfc4c1de9f0ca4b82d6fdec5f | [] | no_license | arpitmaheshwari213/CPP | 560eb717a468eeadb95013ee0735a5ca77594f59 | 28cfea0de6a53758f3bf75f05b062ec7f878c88c | refs/heads/master | 2021-01-20T15:13:09.807625 | 2017-05-10T22:20:13 | 2017-05-10T22:20:13 | 90,736,828 | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 720 | cpp | #include<iostream.h>
#include<conio.h>
class Number{
int a;
public:
void get();
void put();
void operator++();
void operator--();
};
void Number ::get(){
cout<<"\nenter the number";
cin>>a;
}
void Number::put(){
cout<<"\nvalue is";
if(a<8&&a>-9)
cout<<"\n"<<a;
else if(a>=8)
cout<<"\n+ì\n... | [
"noreply@github.com"
] | arpitmaheshwari213.noreply@github.com |
fd1d116943b5f0d4e1e08b58d4000f2077b1d51e | 71f77b91186285ef0e3167763d9dd06cb575c239 | /a2_AbhishekDawas_2016csb1107.cpp | 950e58b5f22ecd19cd7d4b1043e8bdc8021f0c93 | [] | no_license | abhishekdawas10/Morphing | 6dda7376fca62bc626e2e417d4c9730187c7758e | 734d5a9964d908903951711c874e6e1392918856 | refs/heads/master | 2020-03-10T18:59:02.663634 | 2018-04-14T17:18:30 | 2018-04-14T17:18:30 | 129,538,310 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,147 | cpp | #include <opencv2/imgproc/imgproc.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <bits/stdc++.h>
using namespace cv;
using namespace std;
int rotation(Mat image){
float angle=30;
//cin>>angle;
float radians = (angle * 3.14) / 180;
Mat image2(image.rows,image.cols,CV_8UC1,Scalar(0));
... | [
"noreply@github.com"
] | abhishekdawas10.noreply@github.com |
0ea8ce70ca2117624241e98aca269f7157a17c11 | 9261b7f586f6c7386ba77a2bd63518facf93fd3b | /post.h | 35cebcd2a4e4259d0bfd75914852c02645066d4c | [] | no_license | Hans0706/Forum-for-Learning-C- | aa22b4ba9d8093c95ebcb0144199b3c29a6ad7fc | 819fee6a8701930a7f86b3dfee59cb07ef957abd | refs/heads/master | 2020-06-08T13:41:56.981292 | 2020-01-07T16:07:21 | 2020-01-07T16:07:21 | 193,237,387 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,167 | h | #ifndef POST_H
#define POST_H
#include<QWidget>
#include<QString>
#include<vector>
#include<QMessageBox>
#include<QDataStream>
//#inlcude<QTextBrowser>
#include<fstream>
using namespace std;
class Comment
{
public:
Comment(QString text,QString author,QString time,int rpl_flo);
Comment(){}
... | [
"noreply@github.com"
] | Hans0706.noreply@github.com |
a553a5fd4e096c3e0ebcbd4a809434a014a5e1a5 | f77458d98a04065ade42601cd0f17cd9ffa6ddbf | /Transmitter_HelloWorld.ino | efbd839e636627035c1054e05095d296b3138a4d | [] | no_license | Engr-Asad-Hussain/Final-Year-Presentation | af268a534ef058d54606b89d16f80cc3d322083b | 8b8713f5ed6b3df98309b7de499acbfe1c5591ff | refs/heads/main | 2022-12-26T22:24:34.810958 | 2020-10-09T05:02:24 | 2020-10-09T05:02:24 | 302,532,785 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 403 | ino | /* CE : 9
CSN : 10
MOSI : 11
MISO : 12
SCK : 13
*/
#include <SPI.h>
#include <nRF24L01.h>
#include <RF24.h>
RF24 radio(9, 10); // CE, CSN
const byte address[6] = "00001";
void setup() {
radio.begin();
radio.openWritingPipe(address);
radio.setPALevel(RF24_PA_MAX);
radio.stopListening();
}
void ... | [
"noreply@github.com"
] | Engr-Asad-Hussain.noreply@github.com |
82bf72b5afa25a3ed6fe646942d97269ac35d8e2 | 98fea01b10bb8d716d3296798fe5674923416349 | /TribesAscendSDK/HeaderDump/TribesGame__TrEquipInterface.h | d6f12131f56cc7748bdbaae46d1062e3bfd274d2 | [] | no_license | NomadGSF/TASDK | 16378639fe63d41c926a057393b1f625adc49bba | ee0de87836b69cf334e4cb7750b567c62ff5aae2 | refs/heads/master | 2020-12-30T17:45:06.447552 | 2013-07-15T02:59:03 | 2013-07-15T02:59:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 921 | h | #pragma once
#define ADD_VAR( x, y, z ) ( ##x ) var_##y() \
{ \
static ScriptProperty *script_property = ScriptObject::Find< ScriptProperty >( #x " TribesGame.TrEquipInterface." #y ); \
return ( ##x( this, script_property->offset, z ) ); \
}
#define ADD_STRUCT( x, y, z ) ( ##x ) var_##y() \
{ \
static ScriptProperty... | [
"altimormc@gmail.com"
] | altimormc@gmail.com |
fb5eb89ce6887058607cffc0d9b55957edaf665a | ddb3ee91aaa3ea07435a3c5bae80cf199a93cec4 | /Algorithms_by_me/bubble_sort.cpp | 0fdc18ef9827454a8f8b1cbc124d6063bb73cfe4 | [] | no_license | PrateekOraon/Algorithms_by_me | 16beb3b3b1d35c8251823993ca08fd6138988025 | f57fbdccf41fac6b9c4eff53c1554875bf485c88 | refs/heads/master | 2023-04-15T18:29:47.880612 | 2021-04-27T11:24:18 | 2021-04-27T11:24:18 | 105,431,674 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 543 | cpp | //c++ implementaion of bubble_sorting algorithm
#include <iostream>
#include <vector>
using namespace std;
int sorted(vector<int> A, int n){
for(int i=0;i<A.size()-1;i++){
if(A[i]>A[i+1]) return 0;
}
return 1;
}
void bubble_sort(vector<int> &A,int n){
for(int i=0;i<n-1;i++){
if(A[i]>A[i+1]) swap(A[i],A[i+1]... | [
"oraonprateek251@gmail.com"
] | oraonprateek251@gmail.com |
13e5ed8145a718ef67f09872a75f6aacb10b1deb | d0fb46aecc3b69983e7f6244331a81dff42d9595 | /scdn/include/alibabacloud/scdn/model/BatchStartScdnDomainRequest.h | a621b97d488b57c974dacf155b3c91bcbe113c3e | [
"Apache-2.0"
] | permissive | aliyun/aliyun-openapi-cpp-sdk | 3d8d051d44ad00753a429817dd03957614c0c66a | e862bd03c844bcb7ccaa90571bceaa2802c7f135 | refs/heads/master | 2023-08-29T11:54:00.525102 | 2023-08-29T03:32:48 | 2023-08-29T03:32:48 | 115,379,460 | 104 | 82 | NOASSERTION | 2023-09-14T06:13:33 | 2017-12-26T02:53:27 | C++ | UTF-8 | C++ | false | false | 1,616 | h | /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by... | [
"sdk-team@alibabacloud.com"
] | sdk-team@alibabacloud.com |
cc67f56bc75182ab338f832bba5be0d7a892e85c | 4ecd7a780ecbb9c3375d95360eaac0e1638185c8 | /C++/Alphabet_E.cpp | 802019f1627934fd747f10d81a7a5733bfa4846e | [
"MIT"
] | permissive | Sasmita-cloud/Hacktoberfest2021_PatternMaking | dd50c8a81bce9da25650b3b497330a9c150d54da | af48c242c10b08b74cf42c35b8550a45f1d9cbff | refs/heads/main | 2023-08-29T22:56:59.953119 | 2021-10-14T11:49:43 | 2021-10-14T11:49:43 | 415,092,226 | 0 | 0 | MIT | 2021-10-08T18:38:33 | 2021-10-08T18:38:32 | null | UTF-8 | C++ | false | false | 315 | cpp | #include <stdio.h>
int main()
{
int d[5] = {1,0,1,0,1};
for(int i=0;i<5;i++){
for(int j=0;j<5;j++){
if(d[i] == 0 && j < 5 && j> 0){
printf(" ");
}
else
printf(" * ");
}
printf("\n");
}
return 0;
}
| [
"anshul@packtest.com"
] | anshul@packtest.com |
c00bbd73444a00c39c20c023a38d46a9ec989f5b | 9f9660f318732124b8a5154e6670e1cfc372acc4 | /Case_save/Case30/Case/case3/100/alphat | f25509fd9d984a435782f7b9967f4533abd26b48 | [] | no_license | mamitsu2/aircond5 | 9a6857f4190caec15823cb3f975cdddb7cfec80b | 20a6408fb10c3ba7081923b61e44454a8f09e2be | refs/heads/master | 2020-04-10T22:41:47.782141 | 2019-09-02T03:42:37 | 2019-09-02T03:42:37 | 161,329,638 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,255 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 6
\\/ M anipulation |
\*-------... | [
"mitsuaki.makino@tryeting.jp"
] | mitsuaki.makino@tryeting.jp | |
a64e4ca56c2e75130327e67558d18e11610ebde5 | edaf0f7649c639167d61d25efe1ce2c56bc7d903 | /src/Rage/dataobject.h | 6e0ed578df510383b9e3b9c20003126a0c613093 | [] | no_license | georgy-schukin/rage-rts | 5b08279bd09d6645eb462e110ccae04c1124c52a | cff7ffc0a9e575f017ba9b5969c3e2dadde85eab | refs/heads/master | 2021-06-03T22:26:44.538513 | 2019-07-30T08:13:52 | 2019-07-30T08:13:52 | 5,925,073 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 945 | h | #pragma once
#include "types.h"
#include <string>
using namespace std;
namespace rage {
class TaskEnvironment;
class DataObject
{
public:
enum Type
{
ATOMIC = 0,
STRUCT,
ARRAY
};
protected:
DataId dataId;
string dataName; // name of data in environment
TaskEnvironment *environment; // parent environm... | [
"georgy.schukin@gmail.com"
] | georgy.schukin@gmail.com |
fb33bfd9331b085b910f66e7e5598870e6af1750 | 8a45c2bdc405443e3732b08d803541f4773af38c | /Qt5.9C++开发指南/QT5.12Samp2019/chap02GUIbasics/samp2_2VisualUI/qwdialog.cpp | 1a306253f76eecba19db671ada98c8e69f892728 | [] | no_license | LONGZR007/StudyQt5 | aeae394eb39fab21dc41fa620cdf33cb322ac306 | cc21c29a286e735c47a506b22fe5cf5f526df32e | refs/heads/master | 2020-07-26T23:13:09.351341 | 2019-09-24T13:15:46 | 2019-09-24T13:16:15 | 208,793,451 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,488 | cpp | #include "qwdialog.h"
#include "ui_qwdialog.h"
QWDialog::QWDialog(QWidget *parent) :
QDialog(parent),
ui(new Ui::QWDialog)
{
ui->setupUi(this); //UI初始化
connect(ui->rBtnBlue,SIGNAL(clicked()),this,SLOT(setTextFontColor()));//信号与槽的关联
connect(ui->rBtnRed,SIGNAL(clicked()),this,SLOT(setTextFontColor(... | [
"1558193230@qq.com"
] | 1558193230@qq.com |
50aa5537061133b01f37d198ff40e13510a2f81f | 2ad5bdabc34642061800d14e95da3ab69cfda100 | /Common/ParameterValue.cc | a29e208a283f6a642aefad497d03a5a4837da32e | [] | no_license | apmechev/DP3 | 6d622def4338b2695edc573807bc10d23dc62220 | 64aa9bcaf36aab647da507449a6396d03ff80a6e | refs/heads/master | 2020-04-23T15:09:46.475323 | 2019-02-15T21:48:49 | 2019-02-15T21:48:49 | 171,255,241 | 0 | 0 | null | 2019-02-18T09:37:06 | 2019-02-18T09:37:06 | null | UTF-8 | C++ | false | false | 11,184 | cc | //# ParameterValue.h: The value of a parameter
//#
//# Copyright (C) 2008
//# ASTRON (Netherlands Institute for Radio Astronomy)
//# P.O.Box 2, 7990 AA Dwingeloo, The Netherlands
//#
//# This file is part of the LOFAR software suite.
//# The LOFAR software suite is free software: you can redistribute it and/or
//# modi... | [
"offringa@gmail.com"
] | offringa@gmail.com |
5c3327f6251dfddadf2e63ce04aca36922980197 | af81384e981c8fe7bdf72063589ff495cb49d736 | /202009PAT/B/main.cpp | dd3c70151adad148b6ff2115882bedaa50f5d1d1 | [] | no_license | xue-fc/PAT | 2e5ddb46c17d19a1c3c710eb60bb5c84d61c63ad | 7c1e5d4fd08e244a0c34e55f2722983d12d5869a | refs/heads/main | 2023-03-21T17:43:13.572820 | 2021-03-17T11:32:09 | 2021-03-17T11:32:09 | 334,001,482 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 494 | cpp | #include<iostream>
#include<vector>
using namespace std;
int main(){
int N,M;
int res=0;
cin>>N>>M;
vector<int> price(N);
for(int i=0;i<N;i++){
int tmp;
scanf("%d",&tmp);
price[i]=tmp;
}
for(int i=0;i<N;i++){
int sum=price[i];
int j=i+1;
while... | [
"xue-fc@126.com"
] | xue-fc@126.com |
98f4f7e0eca4167f9e9268fa6e77d8b9825c884c | db92214392a7f20a8a7c9713cd9e8ba4b2d94c7a | /linux/protobuf/opt/protobuf/include/google/protobuf/compiler/ruby/ruby_generator_unittest.cc | b9be319b0ad13d49e0e7d5abbe82d12584f8f029 | [] | no_license | SoftwareKiller/ubuntu | fd2af7be1738bdbdccd38a58c7f17b340f618363 | 6bf390fc8d8c3efc17a7db3331d5f5405abd05bf | refs/heads/master | 2022-01-29T23:26:56.528101 | 2022-01-11T08:38:03 | 2022-01-11T08:38:03 | 137,650,835 | 1 | 0 | null | 2020-12-16T15:21:42 | 2018-06-17T11:42:35 | C++ | UTF-8 | C++ | false | false | 4,218 | cc | // Protocol Buffers - Google's data interchange format
// Copyright 2014 Google Inc. All rights reserved.
// https://developers.google.com/protocol-buffers/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
... | [
"378961928@qq.com"
] | 378961928@qq.com |
46b31b84496725d55051c5535f240faaf624d6bb | f15d6c870d51ffa4a7e6151c42ceb5de0eedf46a | /Vaango/src/CCA/Components/MPM/ConstitutiveModel/Models/KinematicHardeningModel.cc | 8767bf39d5e35caabc797821d8217620f27bc9ff | [] | no_license | pinebai/ParSim | 1a5ee3687bd1582f31be9dbd88b3914769549095 | f787523ae6c47c87ff1a74e199c7068ca45dc780 | refs/heads/master | 2021-01-24T07:45:12.923015 | 2017-04-22T04:34:44 | 2017-04-22T04:34:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,847 | cc | /*
* The MIT License
*
* Copyright (c) 1997-2012 The University of Utah
* Copyright (c) 2013-2014 Callaghan Innovation, New Zealand
* Copyright (c) 2015 Parresia Research Limited, New Zealand
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated docum... | [
"b.banerjee.nz@gmail.com"
] | b.banerjee.nz@gmail.com |
f8d6cc7f0506f3d5b0dc70a0fae0684080fc8ec0 | 11f9cef2c51f51ac67333290389314ff382cb8ed | /by-type/implementation/ccc-14s1-party-invitation.cpp | ecbfbc1de048d3519eb3b34befc862793fb3f94b | [
"MIT"
] | permissive | ruar18/competitive-programming | 64502a17e5b5483ac7d8ffc3d5687c9581703bdf | f264675fab92bf27dce184dd65eb81e302381f96 | refs/heads/master | 2021-01-15T17:50:00.845099 | 2017-12-28T03:48:15 | 2017-12-28T03:48:15 | 99,758,975 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 454 | cpp | #include <cstdio>
using namespace std;
int party[101], k, m, cur, j;
int main(){
scanf("%d%d", &k, &m);
for(int i = 1; i <= k; i++)
party[i]=i;
party[0] = -1;
while(m--){
scanf("%d", &cur);
j=0;
for(int i = 1; i<=k; i++){
if(party[i] != -1) j++;
... | [
"rudyal147@gmail.com"
] | rudyal147@gmail.com |
1f29f61fc9305109efe6361acdc11926d8702ad8 | f3a52a8832519729d65c5c3c436db2000217703c | /Source/FSD/Private/Revoler.cpp | c8a80816a19c0bc716f030d83fadc8e19e547e80 | [] | no_license | NicolasAubinet/virtual-rock-galactic | 50be56c6548cfd44b3187cb41e4e03847b2093e7 | e82ce900f1f88c7db0abdb1d69c2de31650ca628 | refs/heads/main | 2023-07-22T08:04:59.552029 | 2023-07-15T08:16:22 | 2023-07-15T08:16:22 | 425,605,229 | 22 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 265 | cpp | #include "Revoler.h"
class AActor;
class UFSDPhysicalMaterial;
void ARevoler::OnTargetKilled(AActor* Target, UFSDPhysicalMaterial* PhysMat, bool wasDirectHit) {
}
ARevoler::ARevoler() {
this->OnKillFearFactor = 0.00f;
this->OnKillFearRange = 500.00f;
}
| [
"n.aubinet@gmail.com"
] | n.aubinet@gmail.com |
d9f4086125de83716a79b4175752e6ff5593fde3 | da86d9f9cf875db42fd912e3366cfe9e0aa392c6 | /2019/solutions/D/MTT-Varna/square.cpp | ee2071976bc39a495c4e3d363fc666b0ac0ee173 | [] | no_license | Alaxe/noi2-ranking | 0c98ea9af9fc3bd22798cab523f38fd75ed97634 | bb671bacd369b0924a1bfa313acb259f97947d05 | refs/heads/master | 2021-01-22T23:33:43.481107 | 2020-02-15T17:33:25 | 2020-02-15T17:33:25 | 85,631,202 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 1,108 | cpp | #include <iostream>
#include <algorithm>
#define endl '\n'
using namespace std;
unsigned long long a[10008];
bool kv[7];
int square (int num)
{
for (int i=1; i*i<=num; i++) if (i*i==num) return i;
return 0;
}
int nepovtorim (int koren)
{
if (koren== 1 || koren==5 || koren==6) return koren;
... | [
"aleks.tcr@gmail.com"
] | aleks.tcr@gmail.com |
be06a5c61b67817c1b434991039ca484fdd9c3a9 | fe5a3a2822f8dd832c54d37231b6a1ae117f1a69 | /src/playerbase/pyplayerbase.cpp | 4f0f07c3b0068cbb98b6e16824ebcbe84904a99d | [
"BSD-3-Clause",
"LicenseRef-scancode-generic-cla"
] | permissive | ebadi/esmini-pybind11-dev3 | fd3cabf515a9b961471743afcf438353cde87c67 | 58bba6a8bf4196f3029d76fc99e8280a3859b33f | refs/heads/master | 2023-07-05T19:31:20.113156 | 2021-09-02T13:46:59 | 2021-09-02T13:46:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,662 | cpp | // File: unknown/unknown.cpp
#include <memory>
#include <sstream> // __str__
#include <string>
#include <vector>
#include <pybind11/pybind11.h>
#include <functional>
#include <string>
#include <pybind11/stl.h>
#include <pybind11/stl_bind.h>
#include <pybind11/functional.h>
#include <fstream>
#include "playerbase.hpp"
... | [
"hamid.ebadi@gmail.com"
] | hamid.ebadi@gmail.com |
d51adee600f38d05dfad654ae47cb2700bd9d1b2 | 8453f4710e582b862ee73a04f65c6ecd57521745 | /PS4/ThirdParty/Sony/scePlayStation4/Media/mp3/audio_decoder_mp3.cpp | 2a88c6e1a22284f57e2a2ebf42d4c1224d9d643d | [
"MIT",
"MS-PL"
] | permissive | PumpkinPaul/MonoGame | 429874db975dbf18977460bc77b146ea463ce18a | 2f7baa0b09891b539504859a032202331330ae81 | refs/heads/develop | 2022-01-02T23:10:43.161482 | 2021-05-21T11:26:56 | 2021-05-21T11:26:56 | 306,643,569 | 0 | 0 | NOASSERTION | 2020-10-23T13:20:53 | 2020-10-23T13:20:52 | null | UTF-8 | C++ | false | false | 1,703 | cpp | /* SCE CONFIDENTIAL
* PlayStation(R)4 Programmer Tool Runtime Library Release 01.600.051
* Copyright (C) 2012 Sony Computer Entertainment Inc.
* All Rights Reserved.
*/
#include <stdio.h>
#include <string.h>
#include <assert.h>
#include <audioout.h>
#include "mpeg_audio_header_parser.h"
#include "audio_decoder_mp... | [
"paul.cunningham@pumpkin-games.net"
] | paul.cunningham@pumpkin-games.net |
d269d163db9031a7fb3befa78f6c54593404fd78 | ed82d4db0e23e3681a3c9543008ffecdc2475c23 | /member_mapping.cpp | 209bf186a9c66ef6bd677ef92d86f88da6ee2c52 | [] | no_license | daminetreg/annotate | c0f682e9215cdf54b274ade25b22714bd75c56ba | cbb7e7cdf183134b61bcc5dc241754da522f819a | refs/heads/master | 2021-01-11T09:58:05.662831 | 2017-01-03T14:42:30 | 2017-01-03T14:42:30 | 77,910,058 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,207 | cpp | #include <iostream>
#include <utility>
#include <typeinfo>
#include <tuple>
#include <boost/endian/buffers.hpp> // see Synopsis below
using namespace boost::endian;
namespace config {
struct binary_output_config {
/**
* Duration of the Pulse signal (0 to 255ms)
*/
uint8_t pulse_duration{0};
... | [
"damien.buhl@lecbna.org"
] | damien.buhl@lecbna.org |
663fed645d616b2c2ebf7926c9203a7c89088b52 | 74c1a55594ac409d505a96eb57a3ce02c2dd7d93 | /leetcode/first-missing-positive/Accepted/9-30-2020, 9:08:14 PM/Solution.cpp | fa636ab7e75b18c44aa70f655154c422afb503cf | [] | no_license | jungsu-kwon/ps-records | f9f201791c7a56b012d370569aba9eb1c5cb03a5 | cc909a871a0a72ce0a1c31586e9e65f969900a7b | refs/heads/master | 2023-06-28T20:52:43.492100 | 2021-08-06T04:45:21 | 2021-08-06T04:45:21 | 392,259,235 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 497 | cpp | // https://leetcode.com/problems/first-missing-positive
class Solution {
public:
int firstMissingPositive(vector<int>& nums) {
auto n = nums.size();
if (n == 0) return 1;
for (auto t = 0 ; t < nums.size(); ++t){
auto num = nums[t];
while (num < n+1 && num>0 &&nums[num-1] != num){
auto temp = ... | [
"git@jungsu.io"
] | git@jungsu.io |
4aab562166ca7d4bc7b737a6fd28d004a8e30b33 | f252f75a66ff3ff35b6eaa5a4a28248eb54840ee | /external/opencore/oscl/oscl/osclio/src/oscl_dns.h | 6586c53130ff7d15fc9074a909b5c5dac44f7a39 | [
"MIT",
"LicenseRef-scancode-other-permissive",
"Artistic-2.0",
"LicenseRef-scancode-philippe-de-muyter",
"Apache-2.0",
"LicenseRef-scancode-mpeg-iso",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | abgoyal-archive/OT_4010A | 201b246c6f685cf35632c9a1e1bf2b38011ff196 | 300ee9f800824658acfeb9447f46419b8c6e0d1c | refs/heads/master | 2022-04-12T23:17:32.814816 | 2015-02-06T12:15:20 | 2015-02-06T12:15:20 | 30,410,715 | 0 | 1 | null | 2020-03-07T00:35:22 | 2015-02-06T12:14:16 | C | UTF-8 | C++ | false | false | 3,715 | h |
// -*- c++ -*-
// = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
// O S C L _ D N S
// = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
#ifndef OSCL_DNS_H_INCLUDED
#define OSCL_DNS_H_INCLUDED
#ifndef OSCLCONFIG_IO_H_INCLUDED
#include "osclconfig_io.... | [
"abgoyal@gmail.com"
] | abgoyal@gmail.com |
e0a6f52e78f06caf2ee76d28d912eb065278a7d4 | b367fe5f0c2c50846b002b59472c50453e1629bc | /xbox_leak_may_2020/xbox trunk/xbox/private/test/ui/MUConfig/keyboardmenu.cpp | 4720117af91feecbcc786958d18020fc74b1748f | [] | no_license | sgzwiz/xbox_leak_may_2020 | 11b441502a659c8da8a1aa199f89f6236dd59325 | fd00b4b3b2abb1ea6ef9ac64b755419741a3af00 | refs/heads/master | 2022-12-23T16:14:54.706755 | 2020-09-27T18:24:48 | 2020-09-27T18:24:48 | null | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 13,616 | cpp | /*****************************************************
*** keyboardmenu.cpp
***
*** CPP file for our Keyboard Menu class.
***
*** by James N. Helm
*** December 6th, 2000
***
*****************************************************/
#include "stdafx.h"
#include "keyboardmenu.h"
extern CXItem* g_pCurrentScree... | [
"benjamin.barratt@icloud.com"
] | benjamin.barratt@icloud.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.