blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 7 100 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 260
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 11.4k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 17
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 80
values | src_encoding stringclasses 28
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 8 9.86M | extension stringclasses 52
values | content stringlengths 8 9.86M | authors listlengths 1 1 | author stringlengths 0 119 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a763f24e6acb6591e3e6fe43d3cc1b5d2e9cd0e6 | 1bda70125aa4da73a33fc20ab77326891977f331 | /.svn/pristine/a7/a763f24e6acb6591e3e6fe43d3cc1b5d2e9cd0e6.svn-base | 9315d6b6b93f66c70b12473423d143923d48a4db | [
"NCSA"
] | permissive | dekasthiti/llvm-projects | 62e8cfb6c65c142fc5ff90e1f5999f4c62f60f6a | 3f36fb9ba61c54f3ad0407d74bdbbfefbda1e614 | refs/heads/master | 2021-01-09T21:46:35.091458 | 2015-06-05T08:06:35 | 2015-06-05T08:06:35 | 36,936,149 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,720 | //===-- llvm/ADT/Triple.h - Target triple helper class ----------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | [
"dekasthiti@gmail.com"
] | dekasthiti@gmail.com | |
ee661acfb0d06559de479f19c9b3945aafeade5a | ae936fb07d9478152cb998e94b9937d625f5c3dd | /Codeforces/CF1334A.cpp | a66349aceb6c00c18292ad5e044e962c86139b16 | [] | no_license | Jorgefiestas/CompetitiveProgramming | f035978fd2d3951dbd1ffd14d60236ef548a1974 | b35405d6be5adf87e9a257be2fa0b14f5eba3c83 | refs/heads/master | 2021-06-12T06:28:20.878137 | 2021-04-21T01:32:37 | 2021-04-21T01:32:37 | 164,651,348 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 502 | cpp | #include <bits/stdc++.h>
using namespace std;
const int N = 100;
int t, n;
int main() {
ios_base::sync_with_stdio(0);
cin.tie(0);
cin >> t;
while (t--) {
cin >> n;
int lp = 0, lc = 0;
int pi, ci;
bool poss = true;
for (int i = 0; i < n; i++) {
cin >> pi >> ci;
if(ci - lc > pi - lp) {
poss =... | [
"jorge.fiestas@utec.edu.pe"
] | jorge.fiestas@utec.edu.pe |
8f098765f36c1224e73ea357045040216dfd1397 | 15ae3c07d969f1e75bc2af9555cf3e952be9bfff | /analysis/pragma_before/pragma_909.hpp | b19f440848c66b35f4cf3d891f1cfde5e80708bf | [] | no_license | marroko/generators | d2d1855d9183cbc32f9cd67bdae8232aba2d1131 | 9e80511155444f42f11f25063c0176cb3b6f0a66 | refs/heads/master | 2023-02-01T16:55:03.955738 | 2020-12-12T14:11:17 | 2020-12-12T14:11:17 | 316,802,086 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 131 | hpp | #ifndef NJMFIPQIW_PZQZXPWXAVMN_XINREJD_HPP
#define NJMFIPQIW_PZQZXPWXAVMN_XINREJD_HPP
#endif // NJMFIPQIW_PZQZXPWXAVMN_XINREJD_HPP | [
"marcus1.2.3@wp.pl"
] | marcus1.2.3@wp.pl |
959a2adb663e20fae5ba30ce8841da5946d0f1e0 | 9b175b146a95bffecf2fc377641527cabed849cb | /GuangGIS-Core/RendererCore/SysLineElement.cpp | db466e4217f0369ed7ca4dbabdf2b502a228f8c1 | [] | no_license | xibeilang524/OGSE | 8e067f4c9c0785354a0cd6de33ae447e195f0b60 | a009ee0f91aca49be4068971f72b2ed9640d280a | refs/heads/master | 2021-10-11T02:02:22.891864 | 2019-01-21T09:16:37 | 2019-01-21T09:16:37 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 3,867 | cpp | #include "SysLineElement.h"
#include "SysCoordinate.h"
#include "SysEnvelope.h"
namespace SysDraw
{
SysLineElement::SysLineElement(void):SysGraphElement(type_PolyLine)
{
m_poPoints = NULL;
m_nPointCount = 0;
}
SysLineElement::~SysLineElement(void)
{
RemoveAllPoints();
}
void SysLineEl... | [
"zhouxuguang@baidu.com"
] | zhouxuguang@baidu.com |
ab8b37f59c2ac7c7faa73fea37199f1697e94f51 | c555aa9088d8c93e4855c4123d8c7e5987d6d732 | /Task_01_01.cpp | 863acae69592bbc80ed35e0a91f3fb3ff76731d7 | [] | no_license | ThuLTA/Coding_DynamicProgramming | 9d209d84f7ab382e270697db9613cb34c3f47037 | 1ec9eb23e2858ac60af88e698c291e53dffb5935 | refs/heads/master | 2023-07-07T17:15:16.922827 | 2021-09-06T15:16:45 | 2021-09-06T15:16:45 | 394,905,586 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,009 | cpp | //Task 01: Tìm dãy con tăng dài nhất.
//Sử dụng hàm lower_bound()
#include <iostream>
#include <algorithm>
#include<vector>
using namespace std;
int solution(vector<int>);
int main()
{
vector<int> arr = { 4,1,2,3,4,2,7,5,3,6,1 };
cout << "Res: " << solution(arr) << endl;
return 0;
}
int solution(vector... | [
"USER@DESKTOP-8M2NJ75"
] | USER@DESKTOP-8M2NJ75 |
ad83644302971e172aaf0e2ef3651941f621a62c | 388020361a83a134d3a23bbff6ac39a0a04ae498 | /projects/pbrt_importer/src/string_to_number.cpp | 7310a78ca90814572ef7f74d75d68baf1d9d3869 | [] | no_license | happydpc/pandora | c5beccf5385100bf36a3f236188b9813b202eb8e | ebb0ab7d58a75054304d92842bebd09b190c121a | refs/heads/master | 2021-05-17T20:48:34.833416 | 2020-03-02T10:44:47 | 2020-03-02T10:44:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,322 | cpp | #include "string_to_number.h"
#include "crack_atof.h"
#include <algorithm>
#include <array>
#include <charconv>
#include <chrono>
#include <cstdlib>
#include <execution>
#include <gsl/span>
#include <spdlog/spdlog.h>
#include <string>
#include <string_view>
#include <thread>
#include <vector>
template <typename T>
T f... | [
"mathijs.l.molenaar@gmail.com"
] | mathijs.l.molenaar@gmail.com |
71663e6a55fed1ce52d315a05865a9d8d5ccf036 | 58d4045c131628bf32c7ac8019ef13455138489e | /lib/include/lib/texture/texture.h | 07efb16e72c373fcc1df16a60035a884134cb022 | [] | no_license | ajapon88/Lib | 61067f8ab0a7a838995f8979fe2a9d3978105619 | ff06e612cd60a64fa3417fed493f2971779aa6f5 | refs/heads/master | 2021-01-15T12:27:02.024216 | 2014-04-28T17:55:11 | 2014-04-28T17:55:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 690 | h | #ifndef __LIB_TEXTURE_TEXTURE_H__
#define __LIB_TEXTURE_TEXTURE_H__
#include "stdafx.h"
#include <stdint.h>
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
namespace lib {
namespace texture {
class Texture {
public:
Texture();
Texture(uint32_t width, uint32_t height);
~Texture();
void create(uint32_t width, ... | [
"arctoscopus.japonicus@gmail.com"
] | arctoscopus.japonicus@gmail.com |
fcad6d79d44f4332dcb0aef37da151262fcfb25a | cb43b18459fea181f1cdffd39bea55bfde8ba47f | /templates/ProjectTemplates/app.cpp | 9c6d2756b8995026046cefeacccfded7bc3a9434 | [] | no_license | HighLeeRuss/Breakout | add95a55406a66ea417db0418f96e02d5ab62a9f | 5409c045c578ce7c0646a0d194f7b00b5203bd7a | refs/heads/main | 2023-03-08T11:55:16.356937 | 2021-02-26T06:10:42 | 2021-02-26T06:10:42 | 339,378,136 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,384 | cpp | #include "app.h"
namespace App
{
// External Globals. These are really implemented in app_main.cpp
extern sf::RenderWindow g_window;
extern sf::Clock g_clock;
extern sf::Font g_font;
extern bool g_running;
extern kf::Xor128 g_rng;
// Add your own variables here
// Example of exposing a variable to other file... | [
"1021549@sae.edu.au"
] | 1021549@sae.edu.au |
d8d8a71fcb19ea0a1327c0cac7c54c49438adf0c | f298165c28590e5fa8643241424f385c38940d2e | /SDK/PUBG_BigEquipmentSlotWidget_parameters.hpp | 96a9177f9a48e6c75a1b6fbe8787bdccc2e78962 | [] | no_license | ZoondEngine/Core | 2d35cc0121c7eb37b3744609e69f02a07fa36ac1 | 03cce9e7939c9654dc4da16e753eb62cbd9b1450 | refs/heads/master | 2020-03-14T01:16:16.972475 | 2018-04-28T04:49:50 | 2018-04-28T04:49:50 | 131,373,903 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,332 | hpp | #pragma once
// PLAYERUNKNOWN'S BATTLEGROUNDS (3.7.27.27) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "../SDK.hpp"
namespace Classes
{
//---------------------------------------------------------------------------
//Parameters
//-----------------------------------------------------------------------... | [
"mango.kamchatka.1997@gmail.com"
] | mango.kamchatka.1997@gmail.com |
2b7246b9ee95638a5e300da988504131389fa630 | 4a4252dd015777c4a27e5d36c6e3c2989e047be5 | /saklib/qtlib/attribute_editor_double.h | 711fb3bbf2c359c53d903be16cf6616333e4da39 | [] | no_license | m4ddav3/TF2_Mod_Builder | 8c0d228311e96c7cf78ce360314edb1def8b6e4f | dfaa5ac1c72ea169c2532acbc8646e1c838b65bd | refs/heads/master | 2021-01-18T09:00:17.676175 | 2015-03-24T12:02:09 | 2015-03-24T12:02:09 | 32,739,117 | 0 | 0 | null | 2015-03-23T15:01:06 | 2015-03-23T15:01:05 | C++ | UTF-8 | C++ | false | false | 1,204 | h | #ifndef ATTRIBUTE_EDITOR_DOUBLE_H
#define ATTRIBUTE_EDITOR_DOUBLE_H
#include "attribute_editor.h"
#include "../types.h"
class QLabel;
class QDoubleSpinBox;
class QHBoxLayout;
namespace Saklib
{
class Project_Manager;
namespace Qtlib
{
class Attribute_Editor_Double :
public Attrib... | [
"elbagast@gmail.com"
] | elbagast@gmail.com |
831837f7d8d0c0867c4a6877b49ef4cf7fc8bd17 | f915aa382b6ac5673cec612718368c04931c0b0c | /contrib/antlr/include/antlr/TreeParserSharedInputState.hpp | f2f6de46a344108c7ce72c65086ada5178b42846 | [
"BSD-2-Clause"
] | permissive | diazf/indri | f477749f9e571c03b695c2f0b04c0326bbfd9f04 | 6ad646f3edb9864a98214039886c6b6e9a9f6b74 | refs/heads/master | 2022-09-07T19:35:02.661982 | 2022-08-19T13:59:26 | 2022-08-19T13:59:26 | 128,638,901 | 23 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 1,176 | hpp | #ifndef INC_TreeParserSharedInputState_hpp__
#define INC_TreeParserSharedInputState_hpp__
/* ANTLR Translator Generator
* Project led by Terence Parr at http://www.jGuru.com
* Software rights: http://www.antlr.org/license.html
*
* $Id: //depot/code/org.antlr/release/antlr-2.7.4/lib/cpp/antlr/TreeParserSharedInputS... | [
"diazf@acm.org"
] | diazf@acm.org |
6c38e1c146772b7030c91ef63397dbd7836e94b9 | 3a777044239d1cc25fe5692d726b9cba54224035 | /Minimum Interval Covering/main.cpp | 70098b32176ff4d89a164bf405656c63ef19ebf9 | [] | no_license | hdduong/CodingADSEveryday | 5a16443a011cfa9e80e426e883847afdc38a9741 | 9b459f7002f1b3c6d1f18e8df0c108befb753b1c | refs/heads/master | 2020-05-30T03:36:25.365113 | 2015-03-16T05:42:25 | 2015-03-16T05:42:25 | 28,976,422 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,302 | cpp | #include <iostream>
#include <stdlib.h>
#include <set> // Order & BST
#include <vector>
using namespace std;
struct Interval {
int startTime;
int endTime;
};
Interval * createInterval(int _start, int _end) {
Interval *newInterval = (Interval*) malloc(sizeof(Interval));
newInterval->startTime = _start;
newInte... | [
"hdduong.at.wpi.edu@gmail.com"
] | hdduong.at.wpi.edu@gmail.com |
195c352d07bd48209a01de3554e5f6acf7e21e62 | 8fc3cf44ec1e7fcb0282faa4568f11a09736f7de | /cusparse/rwr/LightSpMV/LightSpMV-1.0/cusp/csr_matrix.h | 6b43dd09a91faf85f754bfb7f9d3f22c2d9b5f14 | [] | no_license | hisashi-ito/cuda | 362ec1416ec4e69235cc577de397ded67c62b55b | d63e6c354d1f45df6cb919fc7817d8d72a73d0ae | refs/heads/master | 2021-04-12T04:46:14.381290 | 2018-10-14T10:30:20 | 2018-10-14T10:30:20 | 126,021,847 | 0 | 0 | null | 2018-05-17T08:31:03 | 2018-03-20T13:28:47 | C++ | UTF-8 | C++ | false | false | 15,287 | h | /*
* Copyright 2008-2014 NVIDIA Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | [
"it.hisas@gmail.com"
] | it.hisas@gmail.com |
aa64fb8acc52371189375979a3716f6920030aaf | ba02d6a763de289564d2f1655fab7ba5eed6e510 | /cocos2dx/include/CCTouchDispatcher.h | f32bf2f1333218377049fdfbfbb67f217428893f | [] | no_license | krumichan/Portfolio-Cocos2DMetalSlug | 136a1f67c89dbc562f9091c6da4f547efc6f3a87 | eb4549f91c22d8701353b403736738f50a8ca24a | refs/heads/master | 2023-04-06T18:12:35.198481 | 2021-04-15T12:46:35 | 2021-04-15T12:46:35 | 358,256,284 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,549 | h | /****************************************************************************
Copyright (c) 2010 cocos2d-x.org
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 Software without res... | [
"lovelybarry@naver.com"
] | lovelybarry@naver.com |
623616338a79f6eaab60ba4a5c011fb4963fb2c5 | 8837fc42da195e1d38aed0a65e9b5da18cebc838 | /Lab6/Lab6/ExtendedTest.cpp | 6381cc1804f0a0cb0d1977bf6b7cf860f54e8269 | [] | no_license | alexovidiupopa/Data-Structures-and-Algorithms- | 52bc3f7fc8b32571d1e0a5ca71f4103c4a318cb1 | a6dcf0653aa7c51cb176e346b6a63c563290bfee | refs/heads/master | 2020-05-21T10:20:52.413279 | 2019-05-27T14:46:39 | 2019-05-27T14:46:39 | 186,006,961 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,221 | cpp | #include <exception>
#include <assert.h>
#include <algorithm>
#include <vector>
#include "SortedMap.h"
#include "SMIterator.h"
#include "ExtendedTest.h"
#include <iostream>
using namespace std;
bool increasing(TKey c1, TKey c2) {
if (c1 <= c2) {
return true;
}
else {
return false;
}
}
bool decreasing(TKey c1,... | [
"popaalexovidiu@gmail.com"
] | popaalexovidiu@gmail.com |
bfca342c85a7d0c5ddbbaa34b5af82c78422103d | 0f050f4bd9321a76d0dbda8fce5ae678796027b8 | /src/editor/private/graph/scripted/QScriptedNode.h | 5fd1e8ca635c0c45cd4d674899b175e6a1d847e2 | [
"MIT"
] | permissive | Dandielo/mooned-editor | 0c215fc3a2d1d24edaf8eedf11a0211c574d6772 | 72f9068e3d6daaf42c1bc4be23dce2c5a260a6e8 | refs/heads/master | 2021-05-06T14:23:11.056001 | 2019-01-21T23:15:09 | 2019-01-21T23:15:09 | 113,358,088 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,511 | h | #pragma once
#include "graph/interfaces/QNode.h"
#include "scripts/CNativeScriptObject.h"
namespace editor
{
class QScriptedNode : public QNode, public Scripts::CNativeScriptObject<QScriptedNode>
{
Q_OBJECT;
M_SCRIPT_TYPE(QScriptedNode, "CNode");
public:
QScriptedNode(editor::scrip... | [
"daniel.penkala@gmail.com"
] | daniel.penkala@gmail.com |
aaee75a430072b391b5e9371aba0022a60fdc534 | c5534a6df16a89e0ae8f53bcd49a6417e8d44409 | /trunk/Dependencies/Xerces/include/xercesc/validators/schema/identity/IC_Selector.hpp | de4ecaf295a437f9a438b2fefd64d959395f757a | [] | no_license | svn2github/ngene | b2cddacf7ec035aa681d5b8989feab3383dac012 | 61850134a354816161859fe86c2907c8e73dc113 | refs/heads/master | 2023-09-03T12:34:18.944872 | 2011-07-27T19:26:04 | 2011-07-27T19:26:04 | 78,163,390 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,981 | hpp | /*
* Copyright 2001-2004 The Apache Software Foundation.
*
* 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 re... | [
"Riddlemaster@fdc6060e-f348-4335-9a41-9933a8eecd57"
] | Riddlemaster@fdc6060e-f348-4335-9a41-9933a8eecd57 |
8c3af177d3b4400533c3241339858b8cf2fa8c3b | 9d13d7fc23e96cb35ddc0f5bba309d0478b4a253 | /a2oj/Ladders/below-1300/155A.cpp | b038e96814d746817ab82a1a443e059dc9581e20 | [] | no_license | mayankDhiman/cp | 68941309908f1add47855bde188d43fe861b9669 | c04cd4aaff9cedb6328dff097675307498210374 | refs/heads/master | 2021-07-22T04:05:46.968566 | 2021-02-05T16:17:58 | 2021-02-05T16:17:58 | 241,451,797 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 650 | cpp | using namespace std;
#include <bits/stdc++.h>
#define ll long long
#define db double
#define ldb long double
#define vll vector <ll>
#define debug(x) cout << (#x) << " = " << (x) << endl;
#define pb push_back
#define speed ios_bas::sync_with_stdio(0); cin.tie(0); cout.tie(0);
int main()
{
ll n; cin >> n; ll a[n]; f... | [
"mdhiman536@gmail.com"
] | mdhiman536@gmail.com |
2b81248236d2417803463155b22855519ede35b2 | c59191babe8b6909eb12ac2bb1e7cfd3cd919e65 | /include/painting2/RenderTargetCtx.h | b1a2cf8b60fe5c9494233db88fc96223311cc352 | [
"MIT"
] | permissive | xzrunner/painting2 | ab5667476ada3d0c9b40a7266ec650d7a8b21bf3 | c16e0133adf27a877b40b8fce642b5a42e043d09 | refs/heads/master | 2021-05-04T02:52:14.167266 | 2020-08-05T23:27:27 | 2020-08-05T23:27:27 | 120,367,182 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 438 | h | //#pragma once
//
//#include <memory>
//
//namespace pt2
//{
//
//class Shader;
//
//class RenderTargetCtx
//{
//public:
// RenderTargetCtx(ur::RenderContext& rc, const std::shared_ptr<Shader>& shader,
// int width, int height);
// ~RenderTargetCtx();
//
//private:
// ur::RenderContext& m_rc;
// std:... | [
"xzrunner@gmail.com"
] | xzrunner@gmail.com |
a73c7e9d4d2b8470b31388f25ab1c573e0aaa7ac | cdf0a8ac3ae4e2e9ed3d35f0f5e3676c010716f2 | /test/unit_test.h | 8bb1a6e0f477f40b70102581de36162c1d113426 | [
"MIT"
] | permissive | ValensTry/ValensLib | b1e473f7e1825852fe11379a8b4256df2e843081 | f2e311d38815836ba472e71d98ec97864e880fe1 | refs/heads/master | 2020-06-25T22:45:42.141782 | 2019-07-29T13:24:49 | 2019-07-29T13:24:49 | 199,444,054 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,975 | h | #ifndef _UNIT_TEST_HPP_
#define _UNIT_TEST_HPP_
#include <vector>
#include <typeinfo>
#include <cstring>
#include <cstdio>
#include <cmath>
#define TEST_NAME(test_name) test_name##_TEST
#define TEST(test_name) \
class TEST_NAME(test_name) : public TestCase \
{ \
public: \
TEST_NAME(test_name)(const char *name):Test... | [
"pengwanring@live.com"
] | pengwanring@live.com |
bf04a6f9065f6632b812dc6e917f56e7757be6d6 | 8137dca5c66e72d8fe6f03d8bcbbf916512672ac | /1640.cpp | 994422b9580cdfa886e06f212de3d95f23e6ee71 | [] | no_license | amanharitsh123/CSESProblemSet | 38f8a8d23e6b35963ead3a416926487f76520611 | f1218e367980fc914425e3c9cfa8d0275d29c59d | refs/heads/master | 2022-11-24T06:34:05.742324 | 2020-07-30T19:30:12 | 2020-07-30T19:30:12 | 275,089,924 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,377 | cpp | #include<bits/stdc++.h>
using namespace std;
typedef long long int lli;
#define all(arr) arr.begin(),arr.end()
#define f first
#define s second
#define debug1(x) cout<<x<<"\n"
#define debug2(x,y) cout<<x<<" "<<y<<"\n"
#define debug3(x,y,z) cout<<x<<" "<<y<<" "<<z<<"\n"
#define nl cout<<"\n";
#define pq priority_queue... | [
"amanharitsh123@gmail.com"
] | amanharitsh123@gmail.com |
b322781c3c825bd7efce618c5839c5bb69a36c28 | 3b5614425116cf2e2dffba7479a27b1f2c9d45e1 | /src/primitive.hpp | 322ff0b61fe1f65af36ea65016048362b60a643e | [] | no_license | dlmackin/raymond | c209bb18dff99c62798d5148e282953012b593a9 | 11b66ff24771de8e3881e596efb3e5cca10e87ae | refs/heads/master | 2020-04-10T15:49:55.362097 | 2012-02-11T19:23:22 | 2012-02-11T19:23:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,211 | hpp | /*
* primitive.cpp
*
* CS 488: Final Project
* Fall 2011, University of Waterloo
* Diana Mackinnon (dlmackin, 20280688)
*/
#ifndef CS488_PRIMITIVE_HPP
#define CS488_PRIMITIVE_HPP
#include "algebra.hpp"
#include "intersection.hpp"
#include "ray.hpp"
class Primitive {
public:
virtual ~Primitive();
virt... | [
"diana.mackinnon@gmail.com"
] | diana.mackinnon@gmail.com |
4531f967f16985204e65e6423c936207b9aaf187 | 450ca59e2671a37c0aef9da0bf73667e60bb76ee | /Kernel/FileSystem/BlockBasedFileSystem.h | b57249cab5d868d8301f1f4179709a3a5dc25278 | [
"BSD-2-Clause"
] | permissive | mathias234/serenity | 13e65b657e67f8d0119dcc5507f2eb93f67ebd0b | e4412f1f599bea034dea608b8c7dcc4408d90066 | refs/heads/master | 2023-04-13T14:32:25.164610 | 2021-04-16T12:03:24 | 2021-04-16T20:26:52 | 244,063,274 | 0 | 0 | BSD-2-Clause | 2020-03-01T13:51:01 | 2020-03-01T00:36:07 | null | UTF-8 | C++ | false | false | 3,029 | h | /*
* Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org>
* 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 noti... | [
"kling@serenityos.org"
] | kling@serenityos.org |
4bd9b72c63f558fdfc0cc6e5494fd3d1ea925677 | d0c44dd3da2ef8c0ff835982a437946cbf4d2940 | /cmake-build-debug/programs_tiling/function14108/function14108_schedule_14/function14108_schedule_14.cpp | 1719ded86cd99d01e8b2af06b48378639fd1909c | [] | no_license | IsraMekki/tiramisu_code_generator | 8b3f1d63cff62ba9f5242c019058d5a3119184a3 | 5a259d8e244af452e5301126683fa4320c2047a3 | refs/heads/master | 2020-04-29T17:27:57.987172 | 2019-04-23T16:50:32 | 2019-04-23T16:50:32 | 176,297,755 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,110 | cpp | #include <tiramisu/tiramisu.h>
using namespace tiramisu;
int main(int argc, char **argv){
tiramisu::init("function14108_schedule_14");
constant c0("c0", 4096), c1("c1", 128), c2("c2", 128);
var i0("i0", 0, c0), i1("i1", 0, c1), i2("i2", 0, c2), i100("i100", 2, c0 - 2), i101("i101", 2, c1 - 2), i102("i10... | [
"ei_mekki@esi.dz"
] | ei_mekki@esi.dz |
72b42ed93fe562406769a3a96ea19e928eb3dd36 | 0dd9cf13c4a9e5f28ae5f36e512e86de335c26b4 | /LeetCode/leetcode_fixed-point.cpp | 5e31cd4d317a485716d42fc1e0b050ed876e1204 | [] | 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 | 341 | cpp | /*
*
* Tag: Implementation
* Time: O(n)
* Space: O(1)
*/
class Solution {
public:
int fixedPoint(vector<int>& A) {
if(A.size() == 0) {
return -1;
}
for(int i = 0; i < A.size(); ++ i) {
if(A[i] == i) {
return i;
}
}
... | [
"noreply@github.com"
] | noreply@github.com |
002c8afd08c2e7b16ce86678b26e35f9c43429cb | 6d2e09ebfed5f07176c07ddbd5e2ba675928b7a3 | /lib/dataflow/RheoSmallPtrSet.h | d81f9e189256b0da81babaee36ab0f7f43717d29 | [] | no_license | cptjazz/rheo | 626364fe797475aa198cde4a3d45b270bba8e4d4 | 88827812d71c1a1a41a72554c4e15389aee20720 | refs/heads/master | 2020-04-10T09:24:11.900582 | 2014-01-13T18:53:53 | 2014-01-13T18:53:53 | 12,245,482 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 728 | h | #ifndef RHEOSMALLPTRSET_H
#define RHEOSMALLPTRSET_H
#include "llvm/ADT/SmallPtrSet.h"
using namespace llvm;
template<typename PtrType, unsigned SmallSize>
class RheoSmallPtrSet : public SmallPtrSet<PtrType, SmallSize> {
public:
void intersect(const SmallPtrSet<PtrType, SmallSize>& other, SmallPtrSet<PtrType, S... | [
"alexander@jesner.eu"
] | alexander@jesner.eu |
542c1bf3876fe06afc393088367a57cf2186a047 | 43bc58c3892d122ba58fb0a05ca0bd9970a56bb6 | /POJ/2479/12893669_WA.cpp | 94c26817c24de120e49d7d6b690a6d2982f999f2 | [] | no_license | CSdlwr/OJ | 8f5fe75273c685ccca381ae41a2fa7055e376e34 | 224ea9cdbbad6edc25695017fe52fa12f681ac09 | refs/heads/master | 2021-01-22T10:25:41.005901 | 2016-12-11T12:57:32 | 2016-12-11T12:57:32 | 68,557,794 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,170 | cpp |
#include <iostream>
using namespace std;
#define MAX_LEN 50005
int input[MAX_LEN];
int dp1[MAX_LEN];
int dp2[MAX_LEN];
int maxlen1[MAX_LEN];
int maxlen2[MAX_LEN];
int max(int a, int b);
int main() {
int t, n;
scanf("%d", &t);
while (t-- > 0) {
int i = 0;
scanf("%d", &n);
for (; i < n; ++i)
scanf("%d", &... | [
"luming.lv@qunar.com"
] | luming.lv@qunar.com |
ab9fc6074986ba731008fa86626f47a922c17435 | bd460043c3503792e13f989215bab562f062c826 | /exp004_optim_rough_hash/2_main.cpp | cec790b6b171c6cd12e3dd4abacaf8f206de0c29 | [] | no_license | Lgeu/ahc_rcl_2021 | 6374e223cbeca57378418da3ed4522ba5437e572 | 12a94547c9f2ad384e725793ef9022a3576d4568 | refs/heads/master | 2023-07-31T08:33:37.624319 | 2021-09-13T12:06:38 | 2021-09-13T12:06:38 | 404,201,527 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 38,492 | cpp | #ifndef NAGISS_LIBRARY_HPP
#define NAGISS_LIBRARY_HPP
#ifdef _MSC_VER
#define _CRT_SECURE_NO_WARNINGS
#endif
#include<iostream>
#include<iomanip>
#include<vector>
#include<set>
#include<map>
#include<unordered_set>
#include<unordered_map>
#include<algorithm>
#include<numeric>
#include<limits>
#include<bitset>
#inclu... | [
"nagiss000@gmail.com"
] | nagiss000@gmail.com |
27ec3d88b5c0714c42483d5b22c6ef7b4f560426 | c03e3b61c8c0b772f320e50fef1bff2ffd13b7d8 | /MFCEND/MFCENDView.h | bcdc5ae10a03396927ae910960217317a1e924ed | [] | no_license | sqchenxiyuan/NetTopo | e250afb91454db1857ef3da7878d29e9e94598ec | 23498dbbce6c9ddf8bbc662a3c00a223b9647809 | refs/heads/master | 2021-01-12T09:31:21.879404 | 2017-01-03T05:45:44 | 2017-01-03T05:45:44 | 76,181,038 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,494 | h |
// MFCENDView.h : CMFCENDView 类的接口
//
#pragma once
class CMFCENDView : public CView
{
protected: // 仅从序列化创建
CMFCENDView();
DECLARE_DYNCREATE(CMFCENDView)
// 特性
public:
CMFCENDDoc* GetDocument() const;
// 操作
public:
// 重写
public:
virtual void OnDraw(CDC* pDC); // 重写以绘制该视图
virtual BOOL PreCreateWindow(CREATE... | [
"s.q.chenxiyuan@gmailcom"
] | s.q.chenxiyuan@gmailcom |
4610e1473c6a0440bedbc22b85a16f7e66aa44e6 | 682116aec2ecfddccbad6f6f2320b7bf5f2115fa | /maxcode/neuron/iv/src/lib/IV-Win/color.cpp | 63f07133b63749ee1d36b8c6778e35d689aa674f | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-other-permissive"
] | permissive | Rauell/neuron | 251423831bb93577e74ae98cee2cb38b0f05e3f4 | f7f0a80122aec2b748aa2bef10b442fbeef8a12c | refs/heads/master | 2016-09-06T06:22:19.357913 | 2015-07-17T13:26:44 | 2015-07-17T13:26:44 | 30,427,231 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 32,821 | cpp | #include <../../config.h>
/*
Copyright (C) 1993 Tim Prinzing
Copyright (C) 2002 Tim Prinzing, Michael Hines
This file contains programs and data originally developed by Tim Prinzing
with minor changes and improvements by Michael Hines.
This library is free software; you can redistribute it and/or
modify it under the ... | [
"maxwell.p.henderson@gmail.com"
] | maxwell.p.henderson@gmail.com |
a9b9868fb931186318d0bd68444410c2f1fc4899 | da6d4be0d0eaa328972798ee50c5caf2f1e835c0 | /ash/system/holding_space/holding_space_tray_child_bubble.cc | ebade24fa14b724902319757abe0933554940a22 | [
"BSD-3-Clause"
] | permissive | typememo/chromium | 11aaa35726ee96d534ed6887827f3300520b463f | 6d6968680269418cc260e000318ca70ae2d2c034 | refs/heads/master | 2023-02-13T19:23:39.438224 | 2021-01-13T07:45:16 | 2021-01-13T07:45:16 | 328,891,336 | 0 | 0 | BSD-3-Clause | 2021-01-12T06:19:07 | 2021-01-12T06:19:07 | null | UTF-8 | C++ | false | false | 13,391 | cc | // Copyright 2020 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 "ash/system/holding_space/holding_space_tray_child_bubble.h"
#include <set>
#include "ash/public/cpp/holding_space/holding_space_constants.h"
#... | [
"chromium-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | chromium-scoped@luci-project-accounts.iam.gserviceaccount.com |
81d720740baa00042496a950b2f0a27ea7a388a4 | 777a75e6ed0934c193aece9de4421f8d8db01aac | /src/Providers/UNIXProviders/ModulePort/UNIX_ModulePort_FREEBSD.hxx | 640feed156ae617771f10279342a5ebba6a21f4e | [
"MIT"
] | permissive | brunolauze/openpegasus-providers-old | 20fc13958016e35dc4d87f93d1999db0eae9010a | b00f1aad575bae144b8538bf57ba5fd5582a4ec7 | refs/heads/master | 2021-01-01T20:05:44.559362 | 2014-04-30T17:50:06 | 2014-04-30T17:50:06 | 19,132,738 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 118 | hxx | #ifdef PEGASUS_OS_FREEBSD
#ifndef __UNIX_MODULEPORT_PRIVATE_H
#define __UNIX_MODULEPORT_PRIVATE_H
#endif
#endif
| [
"brunolauze@msn.com"
] | brunolauze@msn.com |
7b2b848bbd63df8c95cce17473e97f0f9e78ce3b | bb7cc2b21d4337ca8f0889e29b01a4fdfd301d8c | /RlgtLik/src/etsTargetFunctionWrapper.cpp | e040661351e02a831bd0404a2432527ba6a7bf93 | [] | no_license | cbergmeir/Rlgt | 2d8ecb948c3c26cb28b1c4108ed82b3a9b4e0f22 | 652ba908205ca49a92e166000fea24843a33f02c | refs/heads/master | 2023-08-31T13:17:37.877023 | 2023-08-31T07:46:53 | 2023-08-31T07:46:53 | 154,053,696 | 21 | 13 | null | 2023-09-11T05:46:22 | 2018-10-21T21:25:08 | R | UTF-8 | C++ | false | false | 5,183 | cpp |
#include <vector>
#include <string>
#include <R_ext/Error.h>
//For R's Nelder-Mead solver
#include <R_ext/Applic.h>
#include <Rcpp.h>
#include "etsTargetFunction.h"
// This function initializes all the parameters, constructs an
// object of type EtsTargetFunction and adds an external pointer
// to this object wit... | [
"christoph.bergmeir@gmail.com"
] | christoph.bergmeir@gmail.com |
0cb8c05d0ab24d7025c5415cbe933cd490c91e70 | 6a4455557cf5338036c902e5668b9687d6514f0a | /Employee/Employee/main.cpp | 96cbacd0370eb98acbab59ce3a1cf7afd9b85220 | [] | no_license | k-alabba/Assignment-4 | 2f360010aa806461657a58c67aa33c53d5030d91 | 7688e4ee9ed924e5898b9be3c4b03e09f572f863 | refs/heads/main | 2023-01-12T23:20:44.030274 | 2020-11-17T03:48:23 | 2020-11-17T03:48:23 | 313,495,707 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,565 | cpp | #include <iostream>
#include "Employee.h"
using namespace std;
/*
* Name: Alabbas, Kumai
* ID:40175088
* Main function for testing the Employee class
* Date: 16-11-2020
*/
//Testing Employee class
int main() {
Employee firstEmp, secondEmp, thirndEmp;
firstEmp.setFirstName("Rose");
firstEmp.setLastNa... | [
"noreply@github.com"
] | noreply@github.com |
11177bfcd3d5ff0c435188fd2913dd09c8be365a | 35be06835f1f1826c9c07eb469b4c0debcf55fa9 | /src/data.cc | f033b0537e45e14d082e5edd4b54cb99a607db66 | [] | no_license | Zakys98/owo | 30770a459eae64347de39bb8ed11c923a808a0dc | b16e2760f8219226d7188924f51f823573a0c21d | refs/heads/master | 2023-07-10T06:21:22.954051 | 2021-07-02T20:29:43 | 2021-07-02T20:29:43 | 287,541,199 | 0 | 0 | null | 2021-08-17T18:35:32 | 2020-08-14T13:37:35 | C++ | UTF-8 | C++ | false | false | 213 | cc | #include "../include/data.h"
int Data::getId() { return id; }
void Data::setId(int id) { this->id = id; }
std::string Data::getText() { return text; }
void Data::setText(std::string &s) {
this->text = s;
} | [
"zakys98@gmail.com"
] | zakys98@gmail.com |
94af554b52ed653d34cfc2c0edd5974c370133c6 | a231d5a776b958132f142ba5ecc1f6453bd14988 | /SFML/Enemy.h | 8328979d12a016c6e76c731639c24a0bd1555e0c | [] | no_license | DaveVanStaden/Kernmodule-1 | 90b0d0f84df425ee127c9329d4b5c2e760a1d1b0 | 6a7d50f55d708ecb61969ee08c3ddbe13d6f2feb | refs/heads/main | 2023-06-27T05:43:42.967121 | 2021-08-01T18:58:34 | 2021-08-01T18:58:34 | 376,013,099 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 735 | h | #ifndef SFML_ENEMY_H
#define SFML_ENEMY_H
#define _DEBUG
#include "Circle.h"
#include <SFML/Graphics.hpp>
class Enemy : public Circle{
public:
Enemy(float xPos, float yPos, int windowWidth, int windowHeight): Circle(xPos,yPos,windowWidth,windowHeight){};
Enemy() = default;
void Movement(int windowWidth, in... | [
"dave.van.staden@outlook.com"
] | dave.van.staden@outlook.com |
8696bde3abed21c3a6dd43e65fc08754d2eccf9a | dc0b1da910fca8446652aabf53397531cc94c5f4 | /aws-cpp-sdk-kms/source/model/ReEncryptResult.cpp | aaa6f230e6a2efa2034aaaf3cb265e7645f8af45 | [
"JSON",
"MIT",
"Apache-2.0"
] | permissive | capeanalytics/aws-sdk-cpp | 19db86298a6daaee59c4b9fba82acedacd658bdf | e88f75add5a9433601b6d46fe738e493da56ac3b | refs/heads/master | 2020-04-06T04:03:12.337555 | 2017-05-11T13:31:39 | 2017-05-11T13:31:39 | 57,893,688 | 0 | 0 | Apache-2.0 | 2018-07-30T16:46:55 | 2016-05-02T13:51:23 | C++ | UTF-8 | C++ | false | false | 1,595 | cpp | /*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | [
"henso@amazon.com"
] | henso@amazon.com |
693dc8dfb9e2e859bf44af1c28ccd9f3f3827533 | 1c14a24ccf6091f957eaeb83f9c181d989b07a91 | /src/procedural/Turtle.cpp | 52ab3a0e1e3ecdd8f38fe5f0fc2b9c5e19f2f0d1 | [] | no_license | hann2/3D-Graphics-Playground | 07b33a78f74ac6e09aadcef042d3005dcf65d2f2 | a44bd164360880ddd2a99d1b5fd1b72ddd410367 | refs/heads/master | 2020-12-24T14:35:46.135636 | 2014-05-17T22:37:55 | 2014-05-17T22:37:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 950 | cpp |
#include "Turtle.h"
#include <glm/gtc/matrix_transform.hpp>
Turtle::Turtle() {
turtle_state_stack = std::vector<glm::mat4 *>();
turtle_state = new glm::mat4();
}
void Turtle::pitch(float angle) {
*turtle_state = glm::rotate(*turtle_state, angle, glm::vec3(0.0, 1.0, 0.0));
}
void Turtle::roll(float angle... | [
"phann92@gmail.com"
] | phann92@gmail.com |
d60a648227baf84284ac22c344c715bb33812f6e | 32008c385f0f676714133fcddc8904b180b379ae | /code_book/Thinking C++/master/C07/PriorityQueue5.cpp | a156eeb1dea7622f5dee3f9a8feaa3bb23e61f6b | [] | no_license | dracohan/code | d92dca0a4ee6e0b3c10ea3c4f381cb1068a10a6e | 378b6fe945ec2e859cc84bf50375ec44463f23bb | refs/heads/master | 2023-08-18T23:32:30.565886 | 2023-08-17T17:16:29 | 2023-08-17T17:16:29 | 48,644,403 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 873 | cpp | //: C07:PriorityQueue5.cpp
// Building your own priority queue
#include <cstdlib>
#include <ctime>
#include <iostream>
#include <iterator>
#include <queue>
using namespace std;
template<class T, class Compare>
class PQV : public vector<T> {
Compare comp;
public:
PQV(Compare cmp = Compare()) : comp(cmp... | [
"13240943@qq.com"
] | 13240943@qq.com |
99ef2c30c49736c0fbebf9491b7e4b8f0401fe27 | aad6b08ee56c2760b207d562f16be0a5bb8e3e2a | /tags/Robespierre_2.0_post-merge/WebKit/win/WebIconDatabase.h | 1a2e59142d4cd7dbad03aeb9d77f9c8b6eddc55b | [
"BSD-3-Clause"
] | permissive | Chengjian-Tang/owb-mirror | 5ffd127685d06f2c8e00832c63cd235bec63f753 | b48392a07a2f760bfc273d8d8b80e8d3f43b6b55 | refs/heads/master | 2021-05-27T02:09:03.654458 | 2010-06-23T11:10:12 | 2010-06-23T11:10:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,125 | h | /*
* Copyright (C) 2006, 2007 Apple 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 condi... | [
"odole@a3cd4a6d-042f-0410-9b26-d8d12826d3fb"
] | odole@a3cd4a6d-042f-0410-9b26-d8d12826d3fb |
caacf42a13ec6799ab530a13e735bd99904d61c5 | 637b8bb433513f5446e75ac224c7bb115969f785 | /010-regular-expression-matching/regular-expression-matching.cpp | 9332bfe6b788b501b81385a5a2633e49b4759cf7 | [
"MIT"
] | permissive | TJUSsr/leetcodesolution | 48cb455f37fa577fed8152d4208bcc4dbe28d632 | 8244de2d76c9e8e5b9d98dd1e8efed4d680d44ee | refs/heads/master | 2022-12-11T21:13:03.008447 | 2018-12-06T14:46:41 | 2018-12-06T14:46:41 | 130,249,136 | 0 | 0 | MIT | 2022-12-08T01:13:43 | 2018-04-19T17:21:11 | C++ | UTF-8 | C++ | false | false | 2,051 | cpp | // Given an input string (s) and a pattern (p), implement regular expression matching with support for '.' and '*'.
//
//
// '.' Matches any single character.
// '*' Matches zero or more of the preceding element.
//
//
// The matching should cover the entire input string (not partial).
//
// Note:
//
//
// s coul... | [
"1631559@tongji.edu.cn"
] | 1631559@tongji.edu.cn |
259b19d810741f5c292c8b85e3422f726f18b457 | 866d4b4507d83a6f787bc7e4b1a584442b67b3f5 | /DTK/DTK/dcmtk/include/dcmtk/dcmsign/simac.h | 18d966be4ebb6cc11cac746d5feee64263c257e3 | [] | no_license | jamil36/DCTMK-iOS-Demo | 464d1ccd7d029ef7ba98c9c2cbc9fd181f02264b | 038d9b39eb3b7c9b4bd22b75fedf434f2637a7ec | refs/heads/master | 2022-11-24T07:51:39.945598 | 2019-07-17T01:50:59 | 2019-07-17T01:50:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,861 | h | /*
*
* Copyright (C) 1998-2010, OFFIS e.V.
* All rights reserved. See COPYRIGHT file for details.
*
* This software and supporting documentation were developed by
*
* OFFIS e.V.
* R&D Division Health
* Escherweg 2
* D-26121 Oldenburg, Germany
*
*
* Module: dcmsign
*
* Author: Norbert Lo... | [
"luojiamingjamail@gmail.com"
] | luojiamingjamail@gmail.com |
07f26b41f8d29879f936527ba06235fc295e0804 | 73cfd700522885a3fec41127e1f87e1b78acd4d3 | /_Include/boost/mpl/aux_/preprocessed/msvc70/map.hpp | b8f3a6c693222b0e591c335f8a1fb628ef039c46 | [] | no_license | pu2oqa/muServerDeps | 88e8e92fa2053960671f9f57f4c85e062c188319 | 92fcbe082556e11587887ab9d2abc93ec40c41e4 | refs/heads/master | 2023-03-15T12:37:13.995934 | 2019-02-04T10:07:14 | 2019-02-04T10:07:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,293 | hpp |
// Copyright Aleksey Gurtovoy 2000-2004
//
// 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)
//
// Preprocessed version of "boost/mpl/map.hpp" header
// -- DO NOT modify by hand!
namespace boost { n... | [
"langley.joshua@gmail.com"
] | langley.joshua@gmail.com |
a000c9841d37f94f875ce3922d597c8714da9c54 | a953a9bf7927daae47c6b4b8fb6b6ab18d781569 | /external/dxl_sdk_2.0_for_linux/example/monitor/main.cpp | 22df3e8642a4718061b66fa343ac2bdfce097ef0 | [] | no_license | RobotnikAutomation/robotnik_tilt_laser | ad754f6ca6507b4e286c04b77b3f2b765338edb4 | af4f23101954a70015e7219884614d014ed2dd35 | refs/heads/indigo-devel | 2021-01-21T21:49:08.473962 | 2016-03-16T16:18:06 | 2016-03-16T16:18:06 | 31,896,129 | 4 | 2 | null | 2015-06-02T16:33:20 | 2015-03-09T12:04:04 | C++ | UTF-8 | C++ | false | false | 15,454 | cpp | /*
* main.cpp
*
* Created on: 2013. 1. 3.
* Author: zerom
*/
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <fcntl.h>
#include <getopt.h>
#include <string.h>
#include <termios.h>
#include "dynamixel.h"
using namespace DXL_PRO;
Dynamixel DXL("/dev/ttyUSB0");
int _g... | [
"rnavarro@robotnik.es"
] | rnavarro@robotnik.es |
d290d9a5cd29da71de50d4985ab4898e0d98d904 | 2bce17904e161a4bdaa2d65cefd25802bf81c85b | /topcoder/TheBasketballDivOne.cpp | 69c5c04ee6f9a086c7248758fc187b100122edff | [] | no_license | lichenk/AlgorithmContest | 9c3e26ccbe66d56f27e574f5469e9cfa4c6a74a9 | 74f64554cb05dc173b5d44b8b67394a0b6bb3163 | refs/heads/master | 2020-03-24T12:52:13.437733 | 2018-08-26T01:41:13 | 2018-08-26T01:41:13 | 142,727,319 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,219 | cpp | #include <bits/stdc++.h>
#include <assert.h>
using namespace std;
typedef long long ll;
typedef long double ld;
#define PB push_back
#define MP make_pair
const ll MOD = 1000000007LL;
const ll INF = 1ULL<<60ULL;
const ll UNDEF = -1;
template<typename T> inline bool chkmax(T &a, T b) { return a < b ? a = b, true : false;... | [
"Li Chen Koh"
] | Li Chen Koh |
853739cb2be3c9ac9ff3081b59cb4f2753f94533 | 722fa75d47ce85b23026e3b513d7a85baa4e8169 | /include/Sound.hpp | 869f5789fa4f7b73682c20675ff39a8970414dda | [] | no_license | bestknighter/IDJ-Tuto-Game | d38f0cfdd619449f165b2c507cc63223b96b1533 | 8d9181450410b825a418ab84c70ac3bc28043ac1 | refs/heads/master | 2021-01-22T23:26:04.311883 | 2017-05-23T13:54:01 | 2017-05-23T13:54:01 | 85,637,487 | 0 | 1 | null | 2017-04-12T15:08:59 | 2017-03-20T23:27:56 | C++ | UTF-8 | C++ | false | false | 570 | hpp | #ifndef SOUND_HPP
#define SOUND_HPP
#include <string>
#include <memory>
#ifdef _WIN32
#include "SDL_mixer.h"
#elif __APPLE__
#include "TargetConditionals.h"
#include "SDL2/SDL_mixer.h"
#elif __unix__
#include "SDL2/SDL_mixer.h"
#else
# error "Unknown or unsupported compiler"
#endif
class Sound {
... | [
"gabrielfbbarbosa@gmail.com"
] | gabrielfbbarbosa@gmail.com |
880c40065350921fe4d87bec0cb1924d2df3eb1f | 8a9fbd891141e721d02fd25d4f15b15b9d49d66c | /leetcode/背包问题/背包问题/背包问题.cpp | 1690dcba99c9fcf135396f886a7b7b6a30696fcd | [] | no_license | hustzhm/code | 683080d1c4692d5822256bcedd7abea133fefe29 | e09228a9fa8fd9e915abe348183a6720fa8c9383 | refs/heads/master | 2020-05-04T14:17:11.709364 | 2019-08-30T07:07:12 | 2019-08-30T07:07:12 | 179,190,436 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,934 | cpp | #include<iostream>
#include<vector>
#include<algorithm>
using namespace std;
#define NUMBER 1000
//0-1背包,背包总重W,物品个数N,第i个物品的重量weight[i],价值value[i],每个物品只有一个,求背包的最大价值。
int bag(vector<int>&weight, vector<int>&value, int W, int N)
{
vector<int>dp(W + 1, 0);
for (int i = 0; i < N; i++)
{
for (int j = W; j >= weight[i]; ... | [
"37207424+hustzhm@users.noreply.github.com"
] | 37207424+hustzhm@users.noreply.github.com |
04cf3afe9222e1ec2c7a3b4aec3a5d1c927fe444 | 2c8340c3bb5222505aad591c2652ef1898c15cdf | /core/hash.h | 3e146531c359d975366dc4ed993b8e5077966797 | [
"MIT"
] | permissive | lzpfmh/ink | 7c2a1ba50e2c73ae2078725aed2d6df0a04faccc | 1787df1ad4170a158bca3747b59b95b77bfeaa34 | refs/heads/master | 2020-12-25T11:21:55.100457 | 2016-02-03T07:40:49 | 2016-02-03T07:40:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 632 | h | #ifndef _HASH_H_
#define _HASH_H_
#include <string>
#include <stdio.h>
namespace ink {
class Ink_Object;
class Ink_HashTable {
Ink_Object *value;
public:
const char *key;
Ink_HashTable *next;
Ink_HashTable *bonding;
Ink_HashTable *bondee;
Ink_Object *setter;
Ink_Object *getter;
std::string *key_p;
Ink_... | [
"lancelot.b@outlook.com"
] | lancelot.b@outlook.com |
ed53ce3a1709e661788dc9505d3ec17124541f96 | 0823521bb7b303e56fc6b0cd72582c292a2df673 | /proj1-recursion/Castle/Exchange_Map.cpp | f0d613462e1d7b747a06feb7ac5371ebef6ccfd9 | [] | no_license | gstggsstt/c-project | ac4079a9d71a915627d95e455f67148eb0b4d4bb | 499eddc476b83860c55d0b7ecfdd119dacc96102 | refs/heads/master | 2021-04-02T10:06:32.953666 | 2020-03-18T14:56:52 | 2020-03-18T14:56:52 | 248,261,451 | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 414 | cpp | #include <bits/stdc++.h>
int n,m;
char Map[1100][1100];
using namespace std;
int main()
{
freopen("in.txt","r",stdin);
freopen("view.txt","w",stdout);
scanf("%d%d",&n,&m);
for(int i=0;i<n;++i)
scanf("%s",Map[i]);
for(int i=0;i<n;++i)
{
for(int j=0;j<m;++j)
{
if(Map[i][j]=='#') printf("¨€");
else if... | [
"gstggsstt@163.com"
] | gstggsstt@163.com |
44b94166ba1b2cc7147e51c4cd26db60a8c0436a | fcea5f08695b3f558d74034227ec1dde8a9297dc | /class/constracta/class02.cpp | c41cbb24934d126ac88302363e0fd85dc7009b0c | [] | no_license | shuhei55/cpp_lecture | 600db5ab727758f059e04d66a314375e2e8f9cb7 | a84cfedcf14db543f912c92a2a31a960e50fa150 | refs/heads/master | 2021-10-23T09:10:24.613663 | 2019-03-16T13:13:27 | 2019-03-16T13:13:27 | 112,428,442 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 801 | cpp | #include <iostream>
#include <string>
#include <array>
using namespace std;
struct Rectangle {
Rectangle() : m_width(0), m_height(0)
{
cout << "デフォルトコンストラクタ" << endl;
}
Rectangle(double width, double height) : m_width(width), m_height(height)
{
cout << "普通のやつ" << endl;
}
... | [
"takamatushuhei55@docomo.ne.jp"
] | takamatushuhei55@docomo.ne.jp |
f995711c8efc4cb687113f17276363a32884fe41 | 022e2e472bb37ba39fbbe43c48542426ccb89e9a | /Include/event.h | a243a5af7f1cc08dca372ae1f65f5b5d64cc0038 | [] | no_license | suphus/small_x_dijets | f1a2135431709f921f0f2646db5f59af4564875d | 527c85297077f7754690aac4582727fd4bc98094 | refs/heads/master | 2020-06-04T14:11:30.238171 | 2017-05-04T13:44:43 | 2017-05-04T13:44:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,358 | h | #include<vector>
#ifndef _EVENT_H
#define _EVENT_H
using namespace std;
class Event {
//Event is a set of jets and parameters
private:
string jec_cond = "centr";
public:
int number = -1, run = -1;
int nPV = -1;
int CNTR = -1, FWD2 = -1, FWD3 = -1, MB = -1;
int CNTR_ps = -1, FWD2_ps = -1, FWD3_ps = -1, MB_ps =... | [
"ivanp@cern.ch"
] | ivanp@cern.ch |
0d6cab3e36f1a23c9454e51415be92d97251e2e7 | 59e32ce927898a212fda136708f4475393817cf3 | /lopez/lopez-src/warped/NoTime/src/CommManager.hh | 998329488a3b100ca7dd2830c449a93b3b64c847 | [] | no_license | romancardenas/CDPP_AdvancedRules-codename-Lopez | 0f6524df51e2fdf8e430c40e773729a2d71c1bea | d777e50d4e63484de6aa07e5c8482a3a9d49eeb8 | refs/heads/master | 2022-03-25T02:57:12.406494 | 2019-11-21T21:17:36 | 2019-11-21T21:17:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,745 | hh | #ifndef COMM_MANAGER_HH
#define COMM_MANAGER_HH
// Copyright (c) 1994-1996 Ohio Board of Regents and the University of
// Cincinnati. All Rights Reserved.
// BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
// FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT
// PARTIES PROVID... | [
"cruizm.89@gmail.com"
] | cruizm.89@gmail.com |
f50c9d96f3b72c42f8f72cba04c8de7bce4b21cc | 940812fb30095b16d8c57f3d56b3c11876fc1982 | /include/acqua/network/detail/impl/ifreq_opts.ipp | 5f8fdcbdd979226ebbacb7b172db64cd8485b418 | [] | no_license | harre-orz/acqua | c6d2c494cab201cffdb48e170cf7fd4f66378f32 | 32face864afc6d39e16c35bc80d648b63afbc63e | refs/heads/master | 2021-06-28T07:33:58.097924 | 2016-11-09T04:23:05 | 2016-11-09T04:23:05 | 33,122,378 | 7 | 2 | null | 2016-11-09T04:18:50 | 2015-03-30T12:41:50 | C++ | UTF-8 | C++ | false | false | 2,374 | ipp | #pragma once
#include <acqua/network/detail/ifreq_opts.hpp>
namespace acqua { namespace network { namespace detail {
inline ifreq_opts::ifreq_opts(char const * if_name) noexcept
: fd_(-1), ifr_(::ifreq())
{
using namespace std;
memset(&ifr_, 0, sizeof(ifr_));
if (if_name) {
strncpy(ifr_.ifr_n... | [
"harre.orz@gmail.com"
] | harre.orz@gmail.com |
5b28bfa460bd36025a3a496ba2d27212fb495188 | eed3040703f502a22b0b3e30704776a6851a751e | /online-judges/Project-Euler/PE375/PE375.cpp | fb7e9383f36d17f56661bf9a69ee81b16970bcdb | [] | no_license | velazqua/competitive-programming | a6b5fcc8a9169de43d1f6f1fbf3ed2241749ccfc | cf8cda1132a5791917f4861f313b8098934f3c6b | refs/heads/master | 2021-01-01T16:20:11.103309 | 2014-03-02T03:45:44 | 2014-03-02T03:45:44 | 12,732,139 | 1 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 292 | cpp | #include <iostream>
using namespace std;
typedef long long LL;
int main ()
{
LL S0 = 290797LL;
LL MOD = 50515093LL;
int N = 11;
vector<LL> seq( N, 0LL );
seq[0] = S0;
for( int i=1; i<=N; ++i )
{
S[i] = (S[i-1]*S[i-1])%MOD;
}
LL summ = 0LL;
for( int i=0; i<=N; ++i )
{
}
}
| [
"alx.velazquez@gmail.com"
] | alx.velazquez@gmail.com |
aaec1c69d7db855f895fd4a5ff93aa2112472987 | 94382e8b91c8561c652eb125223b52a803a9a08f | /C0_Compiler_BUAA_Wazaki/src/Optimizer/Conflict.hpp | bf10f78cd44f8f7a9b4f85f9cac24292f9a6f43d | [] | no_license | GitWazaki/C0_Compiler_BUAA_Wazaki | 6a2b57156c5ff47affd17bbcf3ccb4b72338e959 | 938cef8d6f91acd1762299cc60025064136145ee | refs/heads/master | 2022-03-24T07:10:12.421813 | 2019-12-23T11:09:11 | 2019-12-23T11:09:11 | 217,290,220 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 7,108 | hpp | #pragma once
using namespace std;
namespace MidIR {
class ConflictGraph {
using Node = DefUseNode;
using Chain = DefUseChain;
using Web = DefUseWeb;
ReachingDefine reaching_define;
map<string, set<Node>> ident_defs_map, ident_uses_map;
set<string> idents;
map<string, set<Web>> ident_webs_map;
... | [
"1003731512@qq.com"
] | 1003731512@qq.com |
c8c14242ea23e07f365a300cd605379e3cc98fc7 | 24b9aa563423750fccd53c493b84a7acc95f8145 | /.pio/libdeps/nodemcuv2/ArduinoJson/src/ArduinoJson/Polyfills/safe_strcmp.hpp | 98f157dddcf5cc1b2c3c28196e38b8b427b7c6fb | [
"MIT"
] | permissive | yanxiangrong/LampControl | 4df0dad21516e0860622071bf7928619661d727d | e2343a01983d0dde929e9494d2972d3093764160 | refs/heads/master | 2023-07-03T17:18:32.211676 | 2021-07-28T13:50:09 | 2021-07-28T13:50:09 | 389,840,047 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 695 | hpp | // ArduinoJson - https://arduinojson.org
// Copyright Benoit Blanchon 2014-2021
// MIT License
#pragma once
#include <ArduinoJson/Namespace.hpp>
#include <stdint.h> // int8_t
namespace ARDUINOJSON_NAMESPACE {
inline int safe_strcmp(const char *a, const char *b) {
if (a == b)
return 0;
... | [
"yanxiangrong_2@outlook.com"
] | yanxiangrong_2@outlook.com |
1f7c25469020e9658984f35e8ca59fb2d5d60fe9 | 32f3befacb387118c4d9859210323ce6448094ee | /Contest/PetrWinterFeb2007/pE.cpp | a79117d8b126ce1c4cea909e0bb8cc50dbfafc8d | [] | no_license | chmnchiang/bcw_codebook | 4e447e7d06538f3893e54a50fa5c1d6dcdcd0e01 | e09d704ea17bb602ff1661b76d47ef52d81e8072 | refs/heads/master | 2023-04-11T08:29:05.463394 | 2021-04-19T09:16:31 | 2021-04-19T09:16:31 | 20,440,425 | 15 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 2,733 | cpp | //bcw0x1bd2 {{{
#include<bits/stdc++.h>
#include<unistd.h>
using namespace std;
#define F first
#define S second
#define MP make_pair
#define PB push_back
#define IOS ios_base::sync_with_stdio(0); cin.tie(0);
#define SZ(x) ((int)((x).size()))
#define ALL(x) begin(x),end(x)
#define REP(i,x) for (int i=0; i<(x); i++)
#de... | [
"hanhan0912@gmail.com"
] | hanhan0912@gmail.com |
f6e4c19aec162c5e8ec9025ae89930adc4ee8129 | 770aa62b818401a1690a0ba58bdb0a91b92fd3a6 | /Test3_2A/Test3_2A/MyWin.cpp | bc5dd14b5f57b437cf1047c8b4425d833c06e7ea | [] | no_license | hkkhuang/Qt | d062e7937ba148635b6178dd6efb7f8c78f069f2 | 8f3e9777ecec0fd112e7ee266386208f46a01891 | refs/heads/master | 2018-06-29T12:33:20.670790 | 2018-05-31T13:32:02 | 2018-05-31T13:32:02 | 118,467,993 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,118 | cpp | #include "MyWin.h"
MyWin::MyWin(QWidget *parent)
: QWidget(parent)
{
//创建控件对象
m_lineEdit = new QLineEdit(this);
m_textEdit = new QPlainTextEdit(this);
//观察sizeHint的值,sizePolicy的值 [通过断点查看]
QSize sh = m_lineEdit->sizeHint(); //+ sh { width = 193, height = 24 }
QSizePolicy p = m_lineEdit->sizePolicy();//+ p {... | [
"huangkekehkk@163.com"
] | huangkekehkk@163.com |
0ed00edbcb079cc65879a1f754e52287c16f3835 | 818751f62d93d0f460814b415a339d43dbd284ee | /31. Next Permutation.cpp | 27c1eeb2871d448681e5cffd447723d9477668b0 | [] | no_license | YashviGulati/LeetCode | 6c2ac85901a4cf57946dc85da1940934b33ab0fc | 6d1223a25a60a156c3d0d74d5148a02080a662e3 | refs/heads/master | 2020-12-10T17:16:19.460169 | 2020-07-08T00:22:13 | 2020-07-08T00:22:13 | 233,657,557 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 846 | cpp | /*
Implement next permutation, which rearranges numbers into the lexicographically next greater permutation of numbers.
If such arrangement is not possible, it must rearrange it as the lowest possible order (ie, sorted in ascending order).
The replacement must be in-place and use only constant extra memory.
Here are... | [
"noreply@github.com"
] | noreply@github.com |
991c5ff7c82a7c9b3f6fea23f1e91ee4f6f794af | 08cb51dc2ccf77dfec50851664367eefa78afb32 | /day05/ex01/Form.hpp | b64df364df34d462ae9ad721890c4216ed3fbe8f | [] | no_license | acarlson99/piscine-cpp | f251a5662e5509f4ca8d6c0d4b737655e10a4820 | 86f926d046e7cac139e7ed28b9a9ed4af80dd6bd | refs/heads/master | 2020-04-17T16:32:36.547220 | 2019-02-05T03:11:49 | 2019-02-05T03:11:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,476 | hpp | // ************************************************************************** //
// //
// ::: :::::::: //
// Form.hpp :+: :+: :+: ... | [
"acarlson@e1z3r2p8.42.us.org"
] | acarlson@e1z3r2p8.42.us.org |
57127672c29009f8036794506ccbb5cb92a0ba1f | ab81ae0e5c03d5518d535f4aa2e3437081e351af | /OCCT.Foundation.NetHost/ModelingAlgorithms/TKPrim/BRepPrimAPI/XBRepPrimAPI_MakeSweep.h | 8b6a34b39233a30a514e6d84ef443781ca41e30e | [] | no_license | sclshu3714/MODELWORX.CORE | 4f9d408e88e68ab9afd8644027392dc52469b804 | 966940b110f36509e58921d39e8c16b069e167fa | refs/heads/master | 2023-03-05T23:15:43.308268 | 2021-02-11T12:05:41 | 2021-02-11T12:05:41 | 299,492,644 | 1 | 1 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 3,345 | h | // Created on: 1994-02-18
// Created by: Remi LEQUETTE
// Copyright (c) 1994-1999 Matra Datavision
// Copyright (c) 1999-2014 OPEN CASCADE SAS
//
// This file is part of Open CASCADE Technology software library.
//
// This library is free software; you can redistribute it and/or modify it under
// the terms of the GNU ... | [
"sclshu3714@163.com"
] | sclshu3714@163.com |
978620ba3f293e84e81ee75fb0ac05db15f45824 | 881354d610c4cb3b86f772cae47e59cd34a6487b | /TextGame/Controller.cpp | 6150a03a255e6a2728314835ee732f2c99eb44ba | [] | no_license | longjaso/intro_to_cs_2_final | 4d8ea1f05c91bba74a6f1baab93e15ecb20894a1 | de0ef0cefd50f0d8984400a18a298aca9faf8390 | refs/heads/master | 2020-06-19T15:43:28.522212 | 2019-07-13T22:09:59 | 2019-07-13T22:09:59 | 196,769,087 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 29,257 | cpp | /*************************************************************************
* Author: Jason Long
* Date: 11/24/2016
* Assignment: Final Project
*************************************************************************/
#include "Controller.hpp"
/* ---------------------------- INSTANTIATION FUNCTIONS ------------------... | [
"longjaso@gmail.com"
] | longjaso@gmail.com |
5ee46ebbf36fb37690d43c6db4a46b0be0b736ba | f6439b5ed1614fd8db05fa963b47765eae225eb5 | /content/browser/speech/speech_recognizer_impl.cc | a4b004ace74709ca6d1c9928ce93118e9a451541 | [
"BSD-3-Clause"
] | permissive | aranajhonny/chromium | b8a3c975211e1ea2f15b83647b4d8eb45252f1be | caf5bcb822f79b8997720e589334266551a50a13 | refs/heads/master | 2021-05-11T00:20:34.020261 | 2018-01-21T03:31:45 | 2018-01-21T03:31:45 | 118,301,142 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 32,718 | cc | // Copyright (c) 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/browser/speech/speech_recognizer_impl.h"
#include "base/basictypes.h"
#include "base/bind.h"
#include "base/time/time.h"
#include "... | [
"jhonnyjosearana@gmail.com"
] | jhonnyjosearana@gmail.com |
d0248446d1e951c884883b8a936b1154e345ccf5 | 13e8bd98dd7befd6586b0b0f744a4bc481632441 | /src/lib/ipc/include/seraphim/ipc/shm_transport.h | 1b42a83ab16ac40600295f52eb144bfda43e8359 | [
"MIT"
] | permissive | raymanfx/seraphim | 245e1cbbf506e0aa35c3611378c33160ef1a4af4 | 4d388d21831d349fe1085bc3cb7c73f5d2b103a7 | refs/heads/master | 2020-06-24T17:41:29.107464 | 2019-12-08T18:08:25 | 2019-12-08T18:08:25 | 199,032,113 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,749 | h | /*
* (C) Copyright 2019
* The Seraphim Project Developers.
*
* SPDX-License-Identifier: MIT
*/
#ifndef SPH_IPC_SHM_TRANSPORT_H
#define SPH_IPC_SHM_TRANSPORT_H
#include <fcntl.h>
#include <queue>
#include <string>
#include <sys/mman.h>
#include "transport.h"
#include <seraphim/ipc/semaphore.h>
namespace sph {
n... | [
"raymanfx@gmail.com"
] | raymanfx@gmail.com |
91d726279bb59ad40dff91e43f38cae6a16bc9d1 | 050ebbbc7d5f89d340fd9f2aa534eac42d9babb7 | /grupa1/slewandowski1993/p2/czy.cpp | 6adfa9f7ff53c18e8b62a6583f0198fd20345ee2 | [] | no_license | anagorko/zpk2015 | 83461a25831fa4358366ec15ab915a0d9b6acdf5 | 0553ec55d2617f7bea588d650b94828b5f434915 | refs/heads/master | 2020-04-05T23:47:55.299547 | 2016-09-14T11:01:46 | 2016-09-14T11:01:46 | 52,429,626 | 0 | 13 | null | 2016-03-22T09:35:25 | 2016-02-24T09:19:07 | C++ | UTF-8 | C++ | false | false | 293 | cpp | #include <iostream>
using namespace std;
int main() {
int i;
cin >> i;
while (i>0){
if (i % 2 == 0) {i = i / 2;}
else if (i == 1) {cout << "TAK" << endl; i=0;}
else if (i == 3) {cout << "NIE" << endl; i=0;}
else {i = 3 * i + 3;}
}
}
| [
"sebastian1993lewandowski@gmail.com"
] | sebastian1993lewandowski@gmail.com |
575b61e7e10b21804a4fc90c56fd88f7e2a6634c | 3079356ad80009d009782a2386a6bdc2ef59f2fd | /Yuliya/lab6/lab6/Source.cpp | 7803e1f917272921da0c15298792006ad6c34740 | [] | no_license | mrkriv/Laboratory | 3cadd98b805e316a2e3f8dc262ec4c85f0c55d4f | f453bdf7381c4b06dcb423778a2292b80e7a685c | refs/heads/master | 2020-05-21T12:27:47.820844 | 2017-10-01T15:07:44 | 2017-10-01T15:07:44 | 54,062,460 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,918 | cpp | #include "iostream"
using namespace std;
template<typename type, unsigned int size>
class Matrix
{
typedef Matrix<type, size> thisType;
type data[size][size];
bool chekSize(unsigned int row, unsigned int col)
{
return row < size && col < size;
}
public:
Matrix()
{
setAll(0);
}
void setAll(type value)... | [
"virus_450@mail.ru"
] | virus_450@mail.ru |
68bc58b83464d94e889af49fd51afbcecbccc199 | 95ca62ff230d38fb74dafbcfe6c29be1ac4b0582 | /cl_dll/ev_hldm.cpp | bc743a8b26e480c66b4adcfa0b83347b69cf5887 | [] | no_license | HLSources/Zombie-X | ecfdb8438a9e51d565edf57d6d87ceecbed0ecc3 | 961758dda207bc5e33d86cab92f60d6367972986 | refs/heads/master | 2023-01-24T02:35:56.497229 | 2020-12-07T15:42:50 | 2020-12-07T15:42:50 | 319,365,760 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 71,391 | cpp | /***
*
* Copyright (c) 1996-2002, Valve LLC. All rights reserved.
*
* This product contains software technology licensed from Id
* Software, Inc. ("Id Technology"). Id Technology (c) 1996 Id Software, Inc.
* All Rights Reserved.
*
* Use, distribution, and modification of this source code and/or resulting
* obje... | [
"30539708+Maxxiii@users.noreply.github.com"
] | 30539708+Maxxiii@users.noreply.github.com |
d2a415e59b41b254fe63fcb217abe4a6afc17cf9 | 3de0d74ea5532e12c8aa1aea56d2a9c604e369e0 | /single.cpp | f311ad234f8d2b52a8e4cf095eba96f6eba1e806 | [] | no_license | SvetlanaHryhorenko/Image | be3c2424b8850938aa0c28f7f1a49bf129fbad82 | 058c7e08596c3a71b169c11b3ae8eec89bd28883 | refs/heads/master | 2021-04-06T19:55:03.356577 | 2018-03-15T19:08:03 | 2018-03-15T19:08:03 | 125,414,081 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,056 | cpp | #include "single.h"
#include "ui_single.h"
#include "singleton.h"
#include <QFileDialog>
#include <QFile>
#include <QPicture>
#include <QPainter>
#include <QGraphicsScene>
#include <QGraphicsView>
#include <QGraphicsPixmapItem>
#include <QMessageBox>
#include <QList>
Single::Single(QWidget *parent) :
QDialog(paren... | [
"sa_grigorenko@ukr.net"
] | sa_grigorenko@ukr.net |
0d8055f553255f38a8e1440b32eb02d066d20adb | e2dbf39128a75c1caa7ddf4aec12b973c8980a35 | /examples/nytl/convert.hpp | fd1a3f31ca6e620714e69f10fdc50646846a4828 | [
"MIT"
] | permissive | vazgriz/vpp | a7fa856632d78bcb098de3e621496c89efa56a9c | 11b294a6dc00c0f1cfd69baba119fa1cec166bfc | refs/heads/master | 2021-06-01T07:48:24.160448 | 2016-08-04T15:34:24 | 2016-08-04T15:34:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,702 | hpp | /*
* The MIT License (MIT)
*
* Copyright (c) 2016 nyorain
*
* 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 u... | [
"nyorain@gmail.com"
] | nyorain@gmail.com |
a5698a833ff8a04bd07399fe5ee87e1146902886 | 8ff311c3226cdfc783f1cd5bd48f68021fd7a669 | /2017/2017070501_assets.cpp | 07895e19a7abf526aed4f0cca696c50e143c32f1 | [
"MIT"
] | permissive | maku693/daily-snippets | 9e958460532aff0ac40c49772646fe2bef5f5831 | 53e3a516eeb293b3c11055db1b87d54284e6ac52 | refs/heads/master | 2021-01-19T04:25:23.245479 | 2020-01-15T22:29:10 | 2020-01-15T22:29:10 | 87,369,916 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 956 | cpp | #include <array>
#include <cstddef>
#include <cstdint>
inline std::array<std::uint8_t, 4> toLE(std::uint32_t val)
{
return std::array<std::uint8_t, 4> {
static_cast<std::uint8_t>(val >> 0),
static_cast<std::uint8_t>(val >> 8),
static_cast<std::uint8_t>(val >> 16),
static_cast<std::u... | [
"maku3ts@gmail.com"
] | maku3ts@gmail.com |
515455f665fb61faf33bbc4166db7e68d892aaf5 | 1144037869d6b9e304c7b4eb483d190b6505e643 | /playerT/StringConvertions.h | fd5bc18afb227e39eac1170662c3e51f7701c22c | [] | no_license | TravHSV/player | 0cafdf9c6f9c20dd62aa0bddf44af7157a97a3df | f982361acca8dd1d9a15e4293e10702222213c66 | refs/heads/master | 2022-02-26T09:32:58.705532 | 2014-11-04T09:58:37 | 2014-11-04T09:58:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,249 | h | #include "stdafx.h"
#include <string>
#pragma once
LPSTR Unicode2Ansi(LPCWSTR s);
LPSTR Unicode2UTF8(LPWSTR s);
LPWSTR Ansi2Unicode(LPSTR s);
LPWSTR UTF82Unicode(LPSTR s);
//-----------------------------------------
//read file with encode UTF8 or UTF16 or ANSI
//-----------------------------------------... | [
"Administrator@c573b714-58c8-aa40-881b-c130d9d1abad"
] | Administrator@c573b714-58c8-aa40-881b-c130d9d1abad |
7ed79edc899322c16192e327df83cc970e64f209 | ac91d39e35a6667a26d52e8227a7969f81bcf5c6 | /singlethreadimpl.hpp | 6337c27c91c55766ebb81e0b09ba22f7188d8b18 | [
"MIT"
] | permissive | skdmno4/wavevizdumps | 0e03b1f827a0b7b8e60182d684f678d6f10f97ef | 7bfb17a2474d879a3216b928db93e7384fc45806 | refs/heads/master | 2021-08-30T05:02:00.928446 | 2017-12-03T07:12:46 | 2017-12-03T07:12:46 | 112,877,502 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,049 | hpp | #pragma once
#include "localtypes.h"
#include <cmath>
#include <vector>
#include <string>
#include <fstream>
using namespace std;
const double PI = 3.14159265358979;
double eval(int x, int y, float xDel, float yDel, int t)
{
double phaseangle = xDel * x + yDel * y;
return sin(t + phaseangle);
}
void CalculateA... | [
"noreply@github.com"
] | noreply@github.com |
d19fa02c4551087b4741017e633b77dc6795e84f | 0ba7b4d7c836ff7fefcc74240841fb8306164ce2 | /cc/google/fhir/r4/extensions.h | fcb8ac53db7c52c3bb4ccf1617d55dda36d86e8e | [
"Apache-2.0"
] | permissive | FHIR-CN/FhirProto | 8e862f3dc1fe23a2350bdae938c435b8af84b797 | f042f19de529ff42cc15a06f2cfcade502144037 | refs/heads/master | 2022-12-12T11:22:30.990554 | 2020-09-10T23:19:39 | 2020-09-11T17:31:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,060 | h | /*
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | [
"nickgeorge@google.com"
] | nickgeorge@google.com |
032c6b374f3184480eb3a6c5cafdf1d580061c5b | b22588340d7925b614a735bbbde1b351ad657ffc | /athena/MuonSpectrometer/MuonValidation/MuonDQA/MuonRawDataMonitoring/TgcRawDataMonitoring/src/TgcLv1RawDataValAlg_TriggerTiming.cxx | 41c362c4078a812db43e4cd98fcb7747969ff302 | [] | no_license | rushioda/PIXELVALID_athena | 90befe12042c1249cbb3655dde1428bb9b9a42ce | 22df23187ef85e9c3120122c8375ea0e7d8ea440 | refs/heads/master | 2020-12-14T22:01:15.365949 | 2020-01-19T03:59:35 | 2020-01-19T03:59:35 | 234,836,993 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 50,423 | cxx | /*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
*/
////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Package: TgcLv1RawDataValAlg
// Authors: A.Ishikawa(Kobe) akimasa.ishikawa@cern.ch, M.King(Kobe) kingmgl@stu.kobe-u.ac.jp
// ... | [
"rushioda@lxplus754.cern.ch"
] | rushioda@lxplus754.cern.ch |
c74155a947bce20c39b6f0596d35cd05a37c50b3 | 7b980be3e3108ab637b20d955884ee383c7f6c82 | /FGPrototype/BoneAnimation.h | 83d48e567b006d5069377dce1a479b4aab7c6238 | [
"MIT"
] | permissive | a-roy/FGPrototype | eb25b0dc249fecf1a14a3dfc6015a9d959e7f440 | f7d0b29b80200eb1f3fc997d6e7fd33898aa4a0a | refs/heads/master | 2021-01-19T00:46:11.119265 | 2017-04-05T11:58:32 | 2017-04-05T11:58:32 | 87,206,417 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,177 | h | //! \file
//! BoneAnimation, KeyFrame class declarations
#pragma once
#define GLM_FORCE_RADIANS
#include <glm/glm.hpp>
#include <glm/gtc/quaternion.hpp>
#include <glm/gtx/transform.hpp>
#include <vector>
namespace gfx
{
template<typename T>
struct KeyFrame
{
int Time;
T Value;
};
//! Describes a full animat... | [
"roy.aneesh@gmail.com"
] | roy.aneesh@gmail.com |
39a04f26aa7688c4dbc1fd3964b343bd5b4c1e4e | df56c3d9f44132d636c0cef1b70e40034ff09022 | /networksecurity/tlsprovider/Test/tlstest2/decryptstep.cpp | 53af01487f078e23eccf4f7863aa33747e9ece67 | [] | 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 | 8,569 | cpp | // Copyright (c) 2006-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 |
215eebc7943ce55ac75247eaa0016f18a8487c3a | 0dac0929c7153b2ca3581d8814a5830e76f21902 | /caffe/src/caffe/layers/split_layer.cpp | aa49b3892b8719ce61fb0aca74538cb110790467 | [
"LicenseRef-scancode-generic-cla",
"BSD-2-Clause",
"LicenseRef-scancode-public-domain"
] | permissive | juliebernauer/tx1-lab2 | d8816dfa71d4682a758dd9ca49ff6c518f9b7558 | 6d87dfa9d54a631b50ff7afe2ba7a1fff606e0fd | refs/heads/master | 2021-01-10T09:27:09.955170 | 2016-04-07T19:20:18 | 2016-04-07T19:20:18 | 55,698,752 | 10 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 2,076 | cpp | #include <vector>
#include "caffe/layer.hpp"
#include "caffe/util/math_functions.hpp"
#include "caffe/vision_layers.hpp"
namespace caffe {
template <typename Dtype, typename Mtype>
void SplitLayer<Dtype,Mtype>::Reshape(const vector<Blob<Dtype,Mtype>*>& bottom,
const vector<Blob<Dtype,Mtype>*>& top) {
count_ ... | [
"jbernauer@nvidia.com"
] | jbernauer@nvidia.com |
6a66a63c949d90ac912793b02b07f4ec4497907e | 5dc149c4f4000f5f25e44effe0ed72badf31ddb3 | /examples/check_xyz_to_sensors/check_xyz_to_sensors.ino | 22c2255c7baa44d920f2a29bce78bd000b8d246f | [] | no_license | joelgreenwood/StompyLegControl | 6ece0878a7450366a35f38c3de02b30ee968b482 | 9ec018c1f0012806ca2c7968514fb75fbd4221c4 | refs/heads/master | 2021-10-19T23:15:03.100242 | 2019-02-24T17:26:39 | 2019-02-24T17:26:39 | 83,385,826 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,193 | ino | #include <legControl.h>
legControl leg1;
float startingAngles[3] = {0, 80, 100};
float goalAngles[3] = {30, 60, 20};
float startingXYZ[3];
float goalXYZ[3];
float sensorGoals[3];
float sensors[3] = {1724.00, 255.00, 1273.00};
float xyz[3] = {50, 0, -3... | [
"greenwood.joel@gmail.com"
] | greenwood.joel@gmail.com |
911e426d8b68ddd0623cdefcd903fd3d8b803b51 | 269ea378278a93cbaf49662bd569b178561daf14 | /tensorrt-sys/trt-sys/TRTTensor/TRTTensor.cpp | 0aa6f5f48a1b5823f4c551fec3098ef474597046 | [] | no_license | i1i1/tensorrt-rs | a7553265c435e51983825a5631622c8c8a937d8f | 3d31801a042ccbeac8e663f1b45213a7661cb096 | refs/heads/master | 2023-01-24T00:50:27.576547 | 2020-12-08T09:30:53 | 2020-12-08T15:07:34 | 298,585,800 | 0 | 0 | null | 2020-09-25T13:48:46 | 2020-09-25T13:48:45 | null | UTF-8 | C++ | false | false | 464 | cpp | //
// Created by mason on 10/10/20.
//
#include "TRTTensorInternal.hpp"
#include "../TRTDims/TRTDimsInternal.hpp"
const char* tensor_get_name(Tensor_t *tensor) {
return tensor->internal_tensor->getName();
}
void tensor_set_dimensions(Tensor_t *tensor, Dims_t *dimensions) {
if (tensor == nullptr) {
re... | [
"masonstallmo@gmail.com"
] | masonstallmo@gmail.com |
3b99308f0cce7b85759e254e95cec91dc893f005 | 8f8acf52400314e969a57d0b9d7439b3d2fb247e | /src/Font.h | efeb965cf91964a0107f0655ab54565da2f19357 | [] | no_license | GFHund/S5HOverlay | e1cb2c42454cb0f0dc3dd1ba5cd994d6bd9ac403 | d2172e664994f28fff01055d07431411bb659221 | refs/heads/master | 2022-12-25T18:38:27.313409 | 2020-10-06T17:13:46 | 2020-10-06T17:13:46 | 291,284,462 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 957 | h | #ifndef __FONT__
#define __FONT__
#include "pixelFormat/RGBA.h"
class Font{
protected:
int mFontSize;
std::string mFontFamily;
RGBA mFontColor;
RGBA mBgColor;
float mLineHeight;
public:
void setFontSize(int size){
this->mFontSize = size;
}
void setFontFamily(std::string ... | [
"Philipp1990@web.de"
] | Philipp1990@web.de |
0fdf43dc44883f01bedcb1e40e277d13e4013b15 | 8a2508c0916ba33a8f7b8103c7a3e784ad4a48aa | /informatics/informatics arrays/2d arrays/h.cpp | 7d5cf31a34cb626345fb5a7a486b4e35fa4d3375 | [] | no_license | SemaMolchanov/cpp-basics | 85a628c0afca793f84ef4f35e316e2305510e0ca | 1e44e0e7b462d123ce8e31e3f37f587629ea9af3 | refs/heads/main | 2023-05-27T15:25:40.672669 | 2021-03-16T12:51:52 | 2021-03-16T12:51:52 | 348,340,816 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 310 | cpp | #include <iostream>
using namespace std;
int main(){
int row, col;
cin >> row >> col;
int m[row][col];
for (int r = 0; r < row; r++){
for (int c = 0; c < col; c++){
m[r][c] = r * c;
cout << m[r][c] << " ";
}
cout << endl;
}
return 0;
} | [
"sema.molchanov@gmail.com"
] | sema.molchanov@gmail.com |
b349a09971775de573ea672ae8ebbd1c6b22d70c | 31b33fd6d6500964b2f4aa29186451c3db30ea1b | /Userland/Libraries/LibWeb/DOM/HTMLCollection.h | 47fa3ce94f938b446f31e590dd52399166a63211 | [
"BSD-2-Clause"
] | permissive | jcs/serenity | 4ca6f6eebdf952154d50d74516cf5c17dbccd418 | 0f1f92553213c6c2c7268078c9d39b813c24bb49 | refs/heads/master | 2022-11-27T13:12:11.214253 | 2022-11-21T17:01:22 | 2022-11-22T20:13:35 | 229,094,839 | 10 | 2 | BSD-2-Clause | 2019-12-19T16:25:40 | 2019-12-19T16:25:39 | null | UTF-8 | C++ | false | false | 1,983 | h | /*
* Copyright (c) 2021-2022, Andreas Kling <kling@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <AK/FlyString.h>
#include <AK/Function.h>
#include <LibJS/Heap/GCPtr.h>
#include <LibWeb/Bindings/LegacyPlatformObject.h>
#include <LibWeb/Forward.h>
namespace Web::DOM {
// NOTE... | [
"kling@serenityos.org"
] | kling@serenityos.org |
25bdaeb35089cfdd2dba62d6db4b50406e159b7d | e86b4e925649c625ae41c8b617b1dd66d12483e7 | /src/talker_pedals.cpp | ab002b9b6c4292cbf915a406d17f8a3c3fd75892 | [] | no_license | huensf/ros_rasp2 | 23680d8684b2ba6445fe619417229d8412b0682a | b2063a0523cd2f7cb0a1a409fede65c2ec4d91c1 | refs/heads/master | 2023-05-29T12:31:13.113866 | 2021-04-08T19:00:13 | 2021-04-08T19:00:13 | 375,953,943 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,113 | cpp | #include "ros/ros.h"
#include "std_msgs/String.h"
#include "ros_rasp2/Pedals_msg.h"
#include <sstream>
#include <fstream>
int main(int argc, char **argv)
{
// Initialization
std::cout << "Initialization of the node 'talker_pedals'" << std::endl;
ros::init(argc, argv, "talker_pedals");
ros::NodeHandle n;
ros... | [
"francois.huens@student.uclouvain.be"
] | francois.huens@student.uclouvain.be |
5b5ec57f08c25a19a5248631d8a1136e91ec2bd6 | 706f50d780a5549c2de1f28e6579ef1a406d4531 | /src/ds/surface.cpp | 11afc540ae12f7acf1a7c29a9bf184496503e1b2 | [
"WTFPL"
] | permissive | dearshuto/gal | b519a27b83d2cb80617484aa7fda858d9fdd017f | ebb8ddbabab971e517b527d72736c676515526d0 | refs/heads/master | 2021-09-03T07:52:29.653196 | 2018-01-07T09:50:51 | 2018-01-07T09:50:51 | 115,930,132 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,904 | cpp | //
// surface.cpp
// gal
//
// Created by Shuto Shikama on 2018/01/06.
//
#include <list>
#include <gal/ds//surface.hpp>
void gal::ds::Surface::makeHalfedge(const std::vector<float> &vertexData, std::vector<std::uint32_t> &indices)
{
m_vertexData = vertexData;
m_faces.resize(indices.size()/3);
m_halfed... | [
"shuto@ShutonoMac-mini.local"
] | shuto@ShutonoMac-mini.local |
fc7318916ff552b098cfce1edcaa352926a743a1 | 5f0169b2242d254ca5dca7dce15bff6af6993ea4 | /netfilter.cpp | bae06129a19aaac5c050d95fc5f566adacf2f3cf | [] | no_license | ch4rli3kop/netfilter_test_gilgil | d076eecb97d8eab4a85e2c6b77e1435bcc3764cb | dda83555b27f355c1170fe6edf528b7786cd3ca4 | refs/heads/master | 2020-07-10T02:12:59.371000 | 2019-08-25T04:13:57 | 2019-08-25T04:13:57 | 204,140,337 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,344 | cpp | #include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <netinet/in.h>
#include <linux/types.h>
#include <linux/netfilter.h> /* for NF_ACCEPT */
#include <errno.h>
#include <string.h>
#include <libnetfilter_queue/libnetfilter_queue.h>
struct ethernet_header{
uint8_t dst_mac[6];
uint8_t src_mac[6];... | [
"pch2180@gmail.com"
] | pch2180@gmail.com |
5010653b96ef8318acdf057cd9727284bf6e27b8 | 8cc9b565fa027504b33893987ffa29ec45183126 | /nheqminer/primitives/block.h | eea64fbcaee89a128cdbc86829ca64af7004b8fa | [
"MIT"
] | permissive | ksaynice/Equihash-96_5-VDS | dedaac976ae66c1c3834d4b6dd9446dbdfe89cd3 | 4bfc88dd052cc9e4b9d9fab3dd210952872a4f98 | refs/heads/master | 2020-05-24T20:21:57.213442 | 2019-05-18T14:44:33 | 2019-05-18T14:44:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,094 | h | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2013 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_PRIMITIVES_BLOCK_H
#define BITCOIN_PRIMITIVES_BLOCK_H
#include "... | [
"jakeandtom@test.com"
] | jakeandtom@test.com |
535bac758d4c0d33f9c7c1bb25f11a08068841cd | c6e805f910c9203f5f137fdb1680c7385406b966 | /practice.cc | cfb82692ae3d2556a4114faa183aac320dbd81c4 | [] | no_license | briansrls/common | ff4ec282a66d3f216c50283fc0160c55cf0f9117 | 919c8c8e6507e2b59912ec3750444e73ebe5c6ee | refs/heads/master | 2016-08-11T19:38:30.650769 | 2016-03-31T02:44:46 | 2016-03-31T02:44:46 | 51,096,286 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,144 | cc | #include <stdlib.h>
#include <stdio.h>
#include <iostream>
#include <string.h>
int uniqueChars(char* sentence, int size){
std::cout<<size;
for(int i = 0; i < (size); i++){
for(int j=i+1; j < (size); j++){
if(sentence[i]==sentence[j]) return 0;
}
}
return 1;
}
void reverse(ch... | [
"bsearls@DoCS-0685.CE-Directory.rutgers.edu"
] | bsearls@DoCS-0685.CE-Directory.rutgers.edu |
f597c2180cdcc760403f26fa3238085936a40a22 | b034c29d0ffc4fe296deb2a23214e1235d7f3cc6 | /src/ClientLib/LocalLayer.cpp | e21868a1784d140cf75d101dd1b2dc8b861f6a7d | [
"MIT"
] | permissive | blockspacer/BurgWar | 702da94a8b812267dc2e348e499e9366aa59c79a | 6eeb38180938160111aa0626ead6ed1b56ee59b5 | refs/heads/master | 2022-04-17T00:03:28.913497 | 2020-04-06T12:05:18 | 2020-04-06T12:05:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,501 | cpp | // Copyright (C) 2020 Jérôme Leclercq
// This file is part of the "Burgwar" project
// For conditions of distribution and use, see copyright notice in LICENSE
#include <ClientLib/LocalLayer.hpp>
#include <ClientLib/ClientSession.hpp>
#include <ClientLib/LocalMatch.hpp>
#include <ClientLib/Components/LayerEntityCompone... | [
"lynix680@gmail.com"
] | lynix680@gmail.com |
05835cc1ce558197ae4fbd1e514f4bf46a3e1539 | dfe0ff3dd471b65ac345c87c82afe102a4dfdc73 | /src/stats.h | e825292a80133c49d377140109ed637c32ba0fa7 | [] | no_license | GedasTheEvil/game-dungeon-crawl | 6254b9d191f25f11cda190c1b0b62dd00290602e | 90c83ebf74a2f0effabfdef245cece58b83d170a | refs/heads/master | 2021-01-21T11:08:52.046055 | 2015-07-12T17:02:57 | 2015-07-12T17:02:57 | 38,969,479 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 798 | h | #ifndef StatsH
#define StatsH
#include "monster.h"
#include "item.h"
#include "inventory.h"
#include "fstream"
class stats
{
private:
int level;
double XP;
bool AdvanceLevel();
int Armor;
int MaxHP;
int HP;
int Might;
Font Impact;
float realPscale; // player sca... | [
"gediminas.skucas@gmail.com"
] | gediminas.skucas@gmail.com |
4846318cb40a61f6824692838993836444a0d659 | ffecc2faee340865d375270c4b3af358ceb2c8df | /src/plug/host/internal_filter.cpp | 3f046f0c96c879183868e22ddb8c7b55b664d40d | [
"MIT"
] | permissive | ompu/ompu | c81a184162ff7b166b85e8748b2aefd6b6869010 | c45d292a0af1b50039db9aa79e444fb7019615e9 | refs/heads/master | 2018-12-18T13:56:36.786538 | 2018-09-14T15:37:33 | 2018-09-14T15:37:33 | 103,842,388 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,328 | cpp | #include "ompu/plug/host/internal_filter.hpp"
#include "ompu/plug/host/filter_graph.hpp"
namespace ompu { namespace plug { namespace host {
InternalPluginFormat::InternalPluginFormat()
{
{
juce::AudioProcessorGraph::AudioGraphIOProcessor p (juce::AudioProcessorGraph::AudioGraphIOProcessor::audio... | [
"saki7@setna.io"
] | saki7@setna.io |
c1e253de14e99a6e3505acbb420b1b2fc31fe641 | 6ced41da926682548df646099662e79d7a6022c5 | /aws-cpp-sdk-fsx/source/model/UpdateOntapVolumeConfiguration.cpp | b410ea7c520a8fe5c850304081068369634b6535 | [
"Apache-2.0",
"MIT",
"JSON"
] | permissive | irods/aws-sdk-cpp | 139104843de529f615defa4f6b8e20bc95a6be05 | 2c7fb1a048c96713a28b730e1f48096bd231e932 | refs/heads/main | 2023-07-25T12:12:04.363757 | 2022-08-26T15:33:31 | 2022-08-26T15:33:31 | 141,315,346 | 0 | 1 | Apache-2.0 | 2022-08-26T17:45:09 | 2018-07-17T16:24:06 | C++ | UTF-8 | C++ | false | false | 2,891 | cpp | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/fsx/model/UpdateOntapVolumeConfiguration.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::Utils::Json;
using namespace Aws::Utils;
namespace ... | [
"aws-sdk-cpp-automation@github.com"
] | aws-sdk-cpp-automation@github.com |
ccebd8246f61c14809de85fb215b0174337a0ab8 | 95ce3386827693d213e6f3688242aabe0ce3abe8 | /preparedata/dealdata.cpp | 01c40c84a99738c3fd8595b9bfe0ca0b582ef9a3 | [] | no_license | alwayschasing/schoolWork | 99773cf459e2833a3301ffa2d78df19e724b5bf0 | 75b038e3230a3b03298dd5db754a9dee007c1a3b | refs/heads/master | 2021-06-18T15:29:46.353040 | 2017-06-14T07:40:59 | 2017-06-14T07:40:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,555 | cpp | /*************************************************************************
> File Name: dealdata.cpp
> Author: ruihong
> Mail:
> Created Time: 2016年12月20日 星期二 21时05分32秒
************************************************************************/
#include<iostream>
#include<fstream>
#include<regex>
#include"dealdata... | [
"13021131633@163.com"
] | 13021131633@163.com |
c6aa15870a4b121cdf52aca78737d7806f302903 | f22443112f789b2265ca111b8972408b13d43a29 | /Source/Vec2.cpp | 3f24cbedb05329e8c3ed27d79b9f73cca959b0b3 | [] | no_license | vvasilescu-uni/KekeIsYou | f22a4aef4fd2cc82dcde38e19c97d6e6c8b7661e | 0a850fc9fc4d243b246334be4dae8c26dd32481b | refs/heads/master | 2022-01-27T18:15:22.849505 | 2019-05-30T17:33:04 | 2019-05-30T17:33:04 | 182,148,709 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,126 | cpp | //-----------------------------------------------------------------------------
// File: Vec2.h
//
// Desc: Defines vector based co-ords used throughout game.
// Overrides operators to allow two entry vector based calculations
//
//-----------------------------------------------------------------------------
//-----... | [
"vladvas98@yahoo.com"
] | vladvas98@yahoo.com |
0d4e12a165bef52313c0cf7c4530e9e2c4350cc4 | 52d4552da2077b275755211b15937249636fd70c | /Examples/Code Constructs/Conditionals/Conditionals.cpp | eca5ada5f1438ebf95eed99fdda28c8bb8b74bd3 | [] | no_license | nnandiha/SREClass | 49376086b939e07a3895897b613a9cc2453212a1 | a8fee61cb0134c8de3af6a848457704ab4899a09 | refs/heads/master | 2020-06-24T11:31:57.254421 | 2016-05-11T13:27:56 | 2016-05-11T13:27:56 | 96,933,611 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 298 | cpp | // Conditionals.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
int _tmain(int argc, _TCHAR* argv[])
{
int x = 0;
scanf("Enter a number: %d", &x);
if (x < 3){
printf("%d is too small!\n", x);
}
else{
printf("%d is big enough!\n", x);
}
return 0;
}
| [
"nayan.nandihalli@intel.com"
] | nayan.nandihalli@intel.com |
ae1556dc9e56a5ebf19ee30ab38b0e1833d7b55f | 4724afa8472b0d961d40cc3be71f5abd1373143f | /spoj/avchess.cpp | a946edd316ef2340c84794f7e4280898f10f3405 | [] | no_license | banarun/my_competitive_codes | 2f88334c563ad050c21c68ae449134a28fb2ba95 | c5a5af3cf74341d02a328974e8e316d300a221b2 | refs/heads/master | 2021-01-18T22:46:47.419449 | 2016-06-25T14:14:15 | 2016-06-25T14:14:15 | 33,266,178 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,503 | cpp | #include <iostream>
#include <cstdio>
#include <cstdlib>
#include <cmath>
#include <cstring>
#include <ctime>
#include <vector>
#include <deque>
#include <set>
#include <map>
#include <queue>
#include <stack>
#include <bitset>
#include <string>
#include <algorithm>
#include <complex>
#in... | [
"banarunk@gmail.com"
] | banarunk@gmail.com |
465cc4ff54ff2069991842c316fdfe2a84f7a5cf | e8c79a50bb3ae6de451fbbae6e6865677626a07c | /overload/overload-function.cpp | 7acc3e7e23d9950a040b5d257168b2395ffb9c53 | [] | no_license | doc-cloud/cpp | 24ddf931a501d4660c6755587500d4989b9b1639 | c9dfe9d527b04d3d0890f2a3effed3b9e7f2a373 | refs/heads/master | 2021-01-23T23:04:17.952391 | 2017-09-09T13:03:47 | 2017-09-09T13:03:47 | 102,954,864 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 374 | cpp | #include <iostream>
using namespace std;
class printData {
public:
void print(int i)
{
cout << "Printing int : " << i << endl;
}
void print(double i)
{
cout << "Printing float : " << i << endl;
}
void print(string i)
{
cout << "Printing string : " << i << endl;
}
};
int main()
{
printData pd;
pd.prin... | [
"Linkerist@163.com"
] | Linkerist@163.com |
93f6924b6abb9aa086d92d538ff22e6bfc0e3552 | ff80072eacc2cc9dc849380b793cab0233d33439 | /oarphkit_test/ok/fli/Core/CoreTest.cpp | 4d0b76cd44dd56d3b34bf0dacba6213be3e40a5a | [
"Apache-2.0"
] | permissive | pwais/oarphkit | 3477d71420c274cb56e22bf7ff08450a050ae7b4 | e799e7904d5b374cb6b58cd06a42d05506e83d94 | refs/heads/master | 2021-01-01T05:59:31.179043 | 2015-09-09T08:17:18 | 2015-09-09T08:17:18 | 39,921,203 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,992 | cpp | /*
* Copyright 2015 Maintainers of OarphKit
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law o... | [
"paulwais@gmail.com"
] | paulwais@gmail.com |
00bdbc9289c4f3a9aee9e19dd56fd0aaaff00096 | d560580abd8cde94c0bfa5674124c30d87355a47 | /AED/7/7q4.cpp | 525a5b7b79ca4473fabfa72925a34701818f8df4 | [
"MIT"
] | permissive | Iigorsf/AED | 22efa9b2d9521f17209a2f651e9673d4d88c2174 | 2151ef562be8088cd76efe7afb9e73b165027fa1 | refs/heads/main | 2023-01-02T19:58:04.807746 | 2020-10-30T18:02:34 | 2020-10-30T18:02:34 | 308,702,936 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 664 | cpp | #include <iostream>
using namespace std;
struct atleta
{
string nome;
string esport;
int idade;
float altura;
};
int main(int argc, char **argv)
{
int velho , maior1=0, velho1=0;
float maior;
atleta atl[5];
for( int i=0; i<5; i++){
cin>>atl[i].nome;
cin>>atl[i].esport;
cin>>atl[i].idade;
cin>>atl[i].a... | [
"igordo.sf@gmail.com"
] | igordo.sf@gmail.com |
e78d1a5cac50407cd1375a5aa4e0e0d7dee3627f | 30a7f84922ee4bccbc446d35184e749d78479b07 | /src/CWBEMObject.h | b7fc4b1ff2d700967d9621b633f35c8ddbbb3d38 | [] | no_license | JonAxtell/WMIApp-AsyncQuery | 03668ca41128cd993e5b183f2db4b8e9102cf89c | e654071bb0e7ab3da4fe05e460eb958e668750dd | refs/heads/master | 2020-04-28T06:08:26.967032 | 2019-11-22T09:32:52 | 2019-11-22T09:32:52 | 175,045,384 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,598 | h | #pragma once
#include "pch.h"
#include "CVariant.h"
#include "CWBEMProperty.h"
#define _WIN32_DCOM
#include <iostream>
using namespace std;
#include <comdef.h>
#include <Wbemidl.h>
#ifndef __MINGW_GCC_VERSION
#pragma comment(lib, "wbemuuid.lib")
#endif
#include <vector>
#include <memory>
//###########################... | [
"jaxtell@innovative-technology.com"
] | jaxtell@innovative-technology.com |
b7db4ddfc33adf50cf69cdf6689ecb5ad6dbb7ce | 01af2e0a1ab3e0fb3e48fe6186e5968630d01610 | /Palindrome/Pal.h | a821b1c83973914672c60ca775140fc92322ce68 | [] | no_license | iznor/CPP-Projects | 552d56e935254e22ca7ac98af6c7c4751d40b00f | dfe2cc33248e981a710a1a43619f0ce407298c4e | refs/heads/main | 2023-02-18T17:27:38.378245 | 2021-01-16T16:41:41 | 2021-01-16T16:41:41 | 330,054,085 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,478 | h | #ifndef PLDRM
#define PLDRM
#include <iostream>
#include <cstring>
using namespace std;
#define MAX 50
class Pallindrome{
public:
Pallindrome(): original(nullptr), pallindrome(nullptr) ,size(0){}
Pallindrome(const char* string, int Size);
Pallindrome(const char* pallindrome_string);
Pal... | [
"noreply@github.com"
] | noreply@github.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.