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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0b11dd97b4df8bf9d007ee52ab73916cee60bde4 | 0b60493522498390d25a8d6f701be80d8cae8538 | /ProjektProbaSFML/ProjektProbaSFML/Standby.cpp | 6de2abaef525c4d1f6d8098577b4614e2bff4cc6 | [] | no_license | alekkul271/Programowanie2 | 1fa26aa942428b167372d7b385585afa8c773f89 | 174734743b97c8a2b9a46c8a588b8095b23d3066 | refs/heads/master | 2022-06-28T10:44:58.625051 | 2020-05-11T18:31:27 | 2020-05-11T18:31:27 | 262,615,273 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 924 | cpp | #include "Standby.h"
Standby::Standby(sf::Texture* texture, sf::Vector2u imageCount, float switch_time)
{
this->imageCount = imageCount;
this->switch_time = switch_time;
total_time = 0.0f;
currentImage.x = 0;
uvRect.width = texture->getSize().x / static_cast<float>(imageCount.x);
uvRect.height = texture->getSiz... | [
"alekkul271@polsl.pl"
] | alekkul271@polsl.pl |
e2b7eb25d4c63e72d05fcf11d64a1dca32d6c8d1 | be806ebbf0f1a7d05f1a24101ba957c450f2e902 | /src/libmilkcat.cc | 6d655c55e48c92cb582d8fa9074945b8af474c61 | [
"MIT"
] | permissive | kasuganosora/MilkCat | 2e97d271ed4cd1e57a4b38c6f2c36a6eb4b29ea4 | e0d137ff830f2e2abd749a9106609b0d7307b337 | refs/heads/master | 2020-12-31T03:55:53.659000 | 2015-01-17T08:57:01 | 2015-01-17T08:57:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,271 | cc | //
// The MIT License (MIT)
//
// Copyright 2013-2014 The MilkCat Project Developers
//
// 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 th... | [
"ling032x@gmail.com"
] | ling032x@gmail.com |
298575b1069692f56cc6281240fe4ceeb0a090dd | ba916d93dfb8074241b0ea1f39997cb028509240 | /cpp/sorting.cpp | a8664377c0dbaa46b0d0a6aacab753a39917391b | [] | no_license | satojkovic/algorithms | ecc1589898c61d2eef562093d3d2a9a2d127faa8 | f666b215bc9bbdab2d2257c83ff1ee2c31c6ff8e | refs/heads/master | 2023-09-06T08:17:08.712555 | 2023-08-31T14:19:01 | 2023-08-31T14:19:01 | 169,414,662 | 2 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 628 | cpp | #include <bits/stdc++.h>
typedef long long ll;
using namespace std;
void print(const vector<int> &data)
{
for (int i = 0; i < data.size(); ++i)
{
cout << data[i];
if (i == data.size() - 1)
cout << endl;
else
cout << ",";
}
}
void partition(vector<int> &data,... | [
"satojkovic@gmail.com"
] | satojkovic@gmail.com |
d2b1482e37b794a57e30898177f0a745146e3029 | c26dc7928b1facac2c0912f6532076d35c19e835 | /devel/include/ros_arduino_msgs/Analog.h | b74669547528ba3c083bac79d4d00106d139c939 | [] | no_license | mattedminster/inmoov_ros | 33c29a2ea711f61f15ad5e2c53dd9db65ef6437f | e063a90b61418c3612b8df7876a633bc0dc2c428 | refs/heads/master | 2021-01-23T02:39:36.090746 | 2017-08-09T02:56:42 | 2017-08-09T02:56:42 | 85,995,826 | 0 | 0 | null | 2017-03-23T20:45:32 | 2017-03-23T20:45:32 | null | UTF-8 | C++ | false | false | 5,960 | h | // Generated by gencpp from file ros_arduino_msgs/Analog.msg
// DO NOT EDIT!
#ifndef ROS_ARDUINO_MSGS_MESSAGE_ANALOG_H
#define ROS_ARDUINO_MSGS_MESSAGE_ANALOG_H
#include <string>
#include <vector>
#include <map>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_message_traits.h>
#include ... | [
"mattedminster@gmail.com"
] | mattedminster@gmail.com |
c7e4f7f2b84bad1bf29e4c9bc878ecf73944d3e5 | 0203c18e12531e00ef5154776cb32b731e6688d0 | /PBINFO/284-interclsare3.cpp | b27d8ebe7b6b90d1cfa8a46b3161822dc6b56ec7 | [] | no_license | KiraBeleaua/Solved-Problems | a656566e4592f206365a11cff670139baa27c80a | 99a2343883faa9e0d61d8a92b8e82f9a0d89c2c2 | refs/heads/main | 2023-06-20T23:10:18.496603 | 2021-07-15T22:50:56 | 2021-07-15T22:50:56 | 359,094,167 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,598 | cpp | #include <iostream>
#include <vector>
#include <math.h>
#include <algorithm>
#include <iomanip>
#include <array>
#include <fstream>
using namespace std;
void printVector(vector<int64_t> v) {
for (auto& el : v) {
cout << el << " ";
}
cout << "\n";
}
int maximAdi(vector<int64_t> v) {
int64_t ... | [
"necula.adrian2009@gmail.com"
] | necula.adrian2009@gmail.com |
5d2eda42570892f426fb8e1be0d9095a6fb197c3 | bcd122dc1ec9131f148178950a1a9b6e0b61c808 | /src/libinterpol/include/interpol/euclidean/bezier.hpp | 8b1056d8138ff12436dc06e0ad4be5e6199e327c | [
"MIT"
] | permissive | QubingHuo-source/interpolation-methods | 88d73cef91ad4ad4b2a8455a79d0bffc9817b535 | 094cbabbd0c25743d088a623f5913149c6b8a2ab | refs/heads/master | 2023-04-30T19:55:29.781785 | 2020-02-21T13:14:30 | 2020-02-21T13:16:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,989 | hpp | /**
* This file is part of https://github.com/adrelino/interpolation-methods
*
* Copyright (c) 2018 Adrian Haarbach <mail@adrian-haarbach.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
#ifndef INTERPOL_BEZIER_HPP
#define INTER... | [
"mail@adrian-haarbach.de"
] | mail@adrian-haarbach.de |
db9ac4af91f2cf8669b9470099df81d264c7f0cb | 2588ad590b4df910fa5477ee84101b56dba69144 | /MyTree/MyTree/TreeOperation.cpp | 8124f26032e718494a2647cf3d40d93cc7c2a4e6 | [] | no_license | Mr-Jason-Sam/Algorithms | e6829cf55addb7a01c425f8f8c732dce1082901c | 6f015cc63407cda1aae310aefd3b705fcc00a361 | refs/heads/master | 2021-01-19T10:53:22.400040 | 2019-05-23T17:06:42 | 2019-05-23T17:06:42 | 87,910,106 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 168 | cpp |
//
// TreeOperation.cpp
// MyTree
//
// Created by Jason_Sam on 2017/4/6.
// Copyright © 2017年 Jason_Sam. All rights reserved.
//
#include "TreeOperation.hpp"
| [
"Mr.Jason_Sam@iCloud.com"
] | Mr.Jason_Sam@iCloud.com |
6726f97200d0787bfaad09d7b9fb781b3e7d7d7b | 65025edce8120ec0c601bd5e6485553697c5c132 | /Engine/addons/myguiengine/src/MyGUI_SkinItem.cpp | 2fd27e264a854438134b454b1cf07cba6968c38b | [
"MIT"
] | permissive | stonejiang/genesis-3d | babfc99cfc9085527dff35c7c8662d931fbb1780 | df5741e7003ba8e21d21557d42f637cfe0f6133c | refs/heads/master | 2020-12-25T18:22:32.752912 | 2013-12-13T07:45:17 | 2013-12-13T07:45:17 | 15,157,071 | 4 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 4,799 | cpp | /*!
@file
@author Albert Semenov
@date 06/2008
*/
/*
This file is part of MyGUI.
MyGUI is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any lat... | [
"jiangtao@tao-studio.net"
] | jiangtao@tao-studio.net |
d9b6bd6e6c55323933ce5c8d07c2f39a466791bc | 0f62b851257647d01658fdef5714586dc3c56a27 | /PKU_20120224_1789.cpp | 69c55ef547862050247339d39bc415bd148454eb | [] | no_license | cheeseonhead/PKUProblems | 5de3a5d6e8f23d87873ce382d56b25a593460a11 | 65b0a3a20b551166d9e23644b90e06ca847cc541 | refs/heads/master | 2021-01-15T23:40:09.666781 | 2015-03-26T00:16:40 | 2015-03-26T00:16:40 | 32,898,397 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,006 | cpp | /*
Judge: PKU
PROG: 1789
*/
#include <cstdio>
#include <cstring>
#include <algorithm>
#define MAXN 2147483647
using namespace std;
int N,ans,minid,least[2001]={0},mind;
char s[2001][8];
int dis(int x, int y)
{
int dif=0;
for(int i=0;i<6;i++)
if(s[x][i]!=s[y][i])dif++;
return dif;
}
int main... | [
"cheeseonhead@gmail.com"
] | cheeseonhead@gmail.com |
83f2bbd32912516c93250f2cef037232df122a28 | c78023bb0d524f172e54ded23fa595861346531d | /MaterialLib/MPL/Properties/RelativePermeability/RelPermUdell.cpp | 5e70d82b34a6ac16ed180c37f4b7a67db505cd57 | [
"BSD-2-Clause",
"BSD-3-Clause"
] | permissive | TH2M-NGH-group-zju/ogs | 2f0d7fe050d9d65c27bd37b08cd32bb247ba292f | 074c5129680e87516477708b081afe79facabe87 | refs/heads/master | 2023-02-06T16:56:28.454514 | 2020-12-24T13:13:01 | 2020-12-24T13:13:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,391 | cpp | /**
* \file
* \author Norbert Grunwald
* \date 01.12.2020
*
* \copyright
* Copyright (c) 2012-2020, OpenGeoSys Community (http://www.opengeosys.org)
* Distributed under a Modified BSD License.
* See accompanying file LICENSE.txt or
* http://www.opengeosys.org/project/lice... | [
"Norbert.Grunwald@ufz.de"
] | Norbert.Grunwald@ufz.de |
ed6c0ccee6dd44e5b7e6318621076a29b5731f7b | e3d7d6ddd33d0e0886199af66a281b83b4903d91 | /C++02096.cpp | ec1978bfc5a5182bd69b6ca2066bc33b5de16bdb | [] | no_license | flydog98/CppBaekjoon | 6c1805222c6669b0793d23cf64902677628c0ddb | 6b218c371d39a2ccf1f2922b6fc4275c91c2bafb | refs/heads/master | 2020-09-05T13:13:48.343902 | 2020-08-26T14:25:18 | 2020-08-26T14:25:18 | 220,116,434 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 1,332 | cpp | // 2096번 내려가기
#include <iostream>
#include <algorithm>
#include <vector>
using namespace std;
int main(void) {
int amount = 0;
vector<vector<int>> map;
int higha = 0, highb = 0, highc = 0;
int lowa = 0, lowb = 0, lowc = 0;
int new_higha = 0, new_highb = 0, new_highc = 0;
int new_lowa = 0, new_lowb = 0, new_l... | [
"pyjpyj0825@gmail.com"
] | pyjpyj0825@gmail.com |
93900d034516b9093ad1129fc63919ce288df7f6 | e9a8f00bce09954668fb3f84382bc29397c78965 | /src/rpcprotocol.cpp | 5ede4ac80aa5320d4926d2f51d7a209dc87fe983 | [
"MIT"
] | permissive | SkullCash/SkullCash | 4b7dec25759d9012abfae0f678bcaed982a2d49f | 7d8d87b4a6a24e9768d667b45e31d51e5cea1cd1 | refs/heads/master | 2020-03-23T04:51:38.559112 | 2018-07-16T08:30:12 | 2018-07-16T08:30:12 | 141,109,595 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,661 | cpp | // Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2013 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "rpcprotocol.h"
#include "util.h"
#include <stdint.h>
#include <boost/algori... | [
"skullcash@users.noreply.github.com"
] | skullcash@users.noreply.github.com |
3eb519c289b12e3daccc44701418266ce6e47721 | 948f4e13af6b3014582909cc6d762606f2a43365 | /testcases/juliet_test_suite/testcases/CWE122_Heap_Based_Buffer_Overflow/s11/CWE122_Heap_Based_Buffer_Overflow__placement_new_64b.cpp | 67462a2cc5472ce5a9bbb7a199b4da8bea4c6cb3 | [] | no_license | junxzm1990/ASAN-- | 0056a341b8537142e10373c8417f27d7825ad89b | ca96e46422407a55bed4aa551a6ad28ec1eeef4e | refs/heads/master | 2022-08-02T15:38:56.286555 | 2022-06-16T22:19:54 | 2022-06-16T22:19:54 | 408,238,453 | 74 | 13 | null | 2022-06-16T22:19:55 | 2021-09-19T21:14:59 | null | UTF-8 | C++ | false | false | 3,879 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE122_Heap_Based_Buffer_Overflow__placement_new_64b.cpp
Label Definition File: CWE122_Heap_Based_Buffer_Overflow__placement_new.label.xml
Template File: sources-sinks-64b.tmpl.cpp
*/
/*
* @description
* CWE: 122 Heap Based Buffer Overflow
* BadSource: Initializ... | [
"yzhang0701@gmail.com"
] | yzhang0701@gmail.com |
0ef2802fa0956c6d4510768793bd8d3ebbc7eb8e | 5a1b773669c9a340b68065b76b0149c511d511ef | /Practicas/2º Cuatrimestre/8-Evaluacion/main.cpp | 558f15db02310001adfbb6c79d602909ed116864 | [] | no_license | ivangulyk/EDA | 5ace42f07ad00423754e4b9a06d6cdf029964ee8 | 673fcf06283fb31e8d06073a7bbb3ad6ee3b4045 | refs/heads/master | 2021-09-15T09:14:45.472945 | 2018-05-29T16:03:26 | 2018-05-29T16:03:26 | 112,352,885 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,489 | cpp | #include "diccionario.h"
#include "lista.h"
#include <iostream>
#include <string>
using namespace std;
// Clase Puntuacion. Sirve para representar la puntuacion final (nota)
// obtenida por un alumno.
class Puntuacion {
public:
string alumno;
int nota;
Puntuacion(const string& nombre, int pu... | [
"noreply@github.com"
] | ivangulyk.noreply@github.com |
361b162440c7959958e32218bb3412fec7209a56 | 35c90b9d070d6593a136a5e848c5b37142ff1748 | /tools/bonsaiRenderer/splotch/renderloop.cpp | 863d97e9485ef1dc177de2de0298963d1e6066a2 | [
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | ericchill/Bonsai | b2979badcce5d0b26f76d9dff3d44d265f0e1e9c | 8904dd3ebf395ccaaf0eacef38933002b49fc3ba | refs/heads/master | 2022-01-24T04:45:09.787812 | 2020-10-10T09:09:33 | 2020-10-10T09:09:33 | 71,961,070 | 0 | 0 | null | 2016-10-26T03:05:49 | 2016-10-26T03:05:49 | null | UTF-8 | C++ | false | false | 15,992 | cpp | #include <stdio.h>
#include "GLSLProgram.h"
#ifdef WIN32
#define NOMINMAX
#endif
#include <GL/glew.h>
#ifdef WIN32
#include <GL/wglew.h>
#else
#include <GL/glxew.h>
#endif
#if defined(__APPLE__) || defined(MACOSX)
#include <GLUT/glut.h>
#else
#include <GL/freeglut.h>
#endif
#include <algorithm>
#include "renderloop... | [
"egaburov@dds.nl"
] | egaburov@dds.nl |
7958fc141f8fdd76c1ba8f708b692f49d0a56b20 | 999f5f1f2aa209f44b9e7e7f143282d7ab6a25c0 | /devel/include/slam_tutorials/test.h | 7b4939c94a0510a13df3044a5762c043fff114e8 | [] | no_license | MenethilArthas/catkin_ws | ac9ebcece01f7011208e34f58659f715215ccc73 | ade8ab3982466414ce69052ae3654485e1375a10 | refs/heads/master | 2021-01-20T07:22:58.774464 | 2017-03-15T02:09:06 | 2017-03-15T02:09:06 | 83,886,383 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,383 | h | // Generated by gencpp from file slam_tutorials/test.msg
// DO NOT EDIT!
#ifndef SLAM_TUTORIALS_MESSAGE_TEST_H
#define SLAM_TUTORIALS_MESSAGE_TEST_H
#include <string>
#include <vector>
#include <map>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_message_traits.h>
#include <ros/message... | [
"690540319@qq.com"
] | 690540319@qq.com |
33eaf7aee5d94513a89b93675781f339d1ce494b | a998bfde47dc0f18382741212edd56e07c035070 | /cc/layers/layer_impl_unittest.cc | 8d120bef621d19b9f40f424451858278f6ed743b | [
"BSD-3-Clause"
] | permissive | dalecurtis/mojo | 92c8ce2e339ae923d387e2bdab4591f2165a9e25 | e8ee0eb8a26abe43299b95054275939da9defd14 | refs/heads/master | 2021-01-15T11:44:31.238006 | 2014-10-23T18:48:50 | 2014-10-23T18:48:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 32,383 | cc | // Copyright 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.
#include "cc/layers/layer_impl.h"
#include "cc/layers/painted_scrollbar_layer_impl.h"
#include "cc/output/filter_operation.h"
#include "cc/output/filter_... | [
"jamesr@chromium.org"
] | jamesr@chromium.org |
a77f243423384769fdec1b4382a2e0f27517a617 | 88ae8695987ada722184307301e221e1ba3cc2fa | /third_party/pdfium/fxjs/cjs_font.cpp | fcf69ac02900d66cc5de386b8a84de3d0d640289 | [
"Apache-2.0",
"LGPL-2.0-or-later",
"MIT",
"GPL-1.0-or-later",
"BSD-3-Clause"
] | 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 | 1,318 | cpp | // Copyright 2017 The PDFium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
#include "fxjs/cjs_font.h"
const JSConstSpec CJS_Font::ConstSpecs[] = {
{"Times", JSConstSp... | [
"jengelh@inai.de"
] | jengelh@inai.de |
eea1fff89142c5ab42489be27930058bfc690a26 | 2070bbef01a4e6865b384647532de509c76def17 | /代码/VMD/vmdWriter.h | d860300121985f058ca21bc95a6d85a26d2c669d | [] | no_license | KIE9542c/3D-Motion-Tracking-and-Output | a8343609cad43aeb04eb7d29caf8404326db21b5 | 45ae4d38f5d4ec73f13610d415aa44a08fe293b0 | refs/heads/master | 2020-05-31T23:05:53.707801 | 2019-07-17T09:25:50 | 2019-07-17T09:25:50 | 190,531,486 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,104 | h | //#pragma once
#include <iostream>
#include <fstream>
#include <string>
#include <vector>
#include <json\json.h>
#include <QtGui\qquaternion.h>
#include <QtGui\qvector3d.h>
class vmdWriter {
public:
vmdWriter(std::string filename, std::string modelname, bool type);
bool readPosition();
bool isOpenMMD();
void set... | [
"51349604+scutWu@users.noreply.github.com"
] | 51349604+scutWu@users.noreply.github.com |
164e3f64688101f50169012a6e0885936cb808bf | fca16f6b7838bd515de786cf6e8c01aee348c1f9 | /fps2015aels/uilibgp2015/OGL/GRect/GRect.cpp | 0fdec020dd3808dee38e3a1b500c24bc9208fc7c | [] | no_license | antoinechene/FPS-openGL | 0de726658ffa278289fd89c1410c490b3dad7f54 | c7b3cbca8c6dc4f190dc92a273fe1b8ed74b7900 | refs/heads/master | 2020-04-06T07:01:17.983451 | 2012-09-06T14:06:25 | 2012-09-06T14:06:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 918 | cpp | #include "GRect.h"
#include "../Draw_Geometry/Draw_Geometry_Rect.h"
ID::GRect::GRect(int16_t w, int16_t h,
bool f,
ID::Color* color) : /*__w(w),
__h(h),*/
__fulfil(f),
__color(*color)
{
this->_w = w;
this->_h = h;
}
ID::GRect::~GRect()
{
}
void ID::GRect::SetDimension(int16_t w, in... | [
"antoinechene@hotmail.fr"
] | antoinechene@hotmail.fr |
2ff190919f3c980c1cae116aa885d2e951501482 | f9485b64c2f0632572423e3c29d4911846849c6c | /src/PaymentServer.cpp | af5b188bd9874b80d093fee2344bb776c2e1b0b4 | [
"MIT"
] | permissive | prascoin/prascoinwallet | 55928aabaa1360099cf42a58e69436e4269f9d50 | 27bae19ded60a9b72c71cfe6471c9cc27a38eb99 | refs/heads/master | 2020-03-08T23:54:08.453684 | 2018-04-06T22:14:19 | 2018-04-06T22:14:19 | 128,367,020 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,238 | cpp | // Copyright (c) 2009-2012 The Bitcoin developers
// Copyright (c) 2016 The PrasCoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <QApplication>
#include <cstdlib>
#include <QByteArray>
#include <QData... | [
"prascoin@prascoin.com"
] | prascoin@prascoin.com |
c6c5168f579c610a3e93a72598fa375028052fa4 | 25509aa66ad1a65663d42bf4ddbe9d1fa295fdab | /MyOpenGL/RendererPlayer.h | f3eccb68d467d7c6bd5da6e248393fa544f98d92 | [] | no_license | NathanVss/Noxel-OpenGL | 24b5d820d9df48bd5b68048a58ec056a3b93d28e | c48203cefc0e4eeaccb78868bd2609b2762666e0 | refs/heads/master | 2016-09-06T14:09:01.472705 | 2015-02-27T17:41:24 | 2015-02-27T17:41:24 | 29,501,753 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 454 | h | #pragma once
#include "Object.h"
#include <YuEngine\EventTimer.h>
class Player;
class RendererPlayer : public Object
{
public:
RendererPlayer(void);
RendererPlayer(Container* c, Player* player);
~RendererPlayer(void);
void update();
void render();
void renderArm();
float getPixelSize() {
return pixelSize;... | [
"nathan.vasse@gmail.com"
] | nathan.vasse@gmail.com |
40e7b6c68a55e42d298282bba70c15edda5727d9 | dccd1058e723b6617148824dc0243dbec4c9bd48 | /codeforces/1092D2.cpp | c0a17b25f584401bb4966e57ce346629370f3fbf | [] | no_license | imulan/procon | 488e49de3bcbab36c624290cf9e370abfc8735bf | 2a86f47614fe0c34e403ffb35108705522785092 | refs/heads/master | 2021-05-22T09:24:19.691191 | 2021-01-02T14:27:13 | 2021-01-02T14:27:13 | 46,834,567 | 7 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,553 | cpp | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
#define rep(i,n) for(int (i)=0;(i)<(int)(n);++(i))
#define all(x) (x).begin(),(x).end()
#define pb push_back
#define fi first
#define se second
#define dbg(x) cout<<#x" = "<<((x))<<endl
template<class T,class U> ostream& operator<<(ostream& o, const pa... | [
"k0223.teru@gmail.com"
] | k0223.teru@gmail.com |
56015f7916338bac09edf3f55bbe3100a4b5febf | ed10dc841d5b4f6a038e8f24f603750992d9fae9 | /clang/lib/Sema/SemaStmt.cpp | e85fa34596f7a566d096e858b6d1427ef61f14c1 | [
"Apache-2.0",
"LLVM-exception",
"NCSA"
] | permissive | WYK15/swift-Ollvm10 | 90c2f0ade099a1cc545183eba5c5a69765320401 | ea68224ab23470963b68dfcc28b5ac769a070ea3 | refs/heads/main | 2023-03-30T20:02:58.305792 | 2021-04-07T02:41:01 | 2021-04-07T02:41:01 | 355,189,226 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 170,107 | cpp | //===--- SemaStmt.cpp - Semantic Analysis for Statements ------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | [
"wangyankun@ishumei.com"
] | wangyankun@ishumei.com |
ba02245772a933678a716b061ffbacb20c345c8e | a816e8ab3043f8775f20776e0f48072c379dbbc3 | /labs/lab3/E.cpp | f1966ed8c1825f6701198b385ed99e71b4e747f7 | [] | no_license | AruzhanBazarbai/pp1 | 1dee51b6ef09a094072f89359883600937faf558 | 317d488a1ffec9108d71e8bf976a9a1c0896745e | refs/heads/master | 2023-07-16T14:37:20.131167 | 2021-08-25T17:08:41 | 2021-08-25T17:08:41 | 399,890,781 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 356 | cpp | //Given an array consisting of integers.
// Write a program, which finds sum of all elements
#include <iostream>
using namespace std;
int main(){
int n;
cin >> n;
int a[n];
long long sum=0;
for(int i=0; i<n; i++){
cin >> a[i];
}
for(int i=0; i<n; i++){
sum+=a[i];
}
c... | [
"aruzhanart2003@mail.ru"
] | aruzhanart2003@mail.ru |
21bcf4c8c5f40d0afb73d1e3dc05b977d9dd0f6d | 6b8f7c30e619bd6de18c6f3273a58f6c181abfba | /20201028_함수 n!의 값.cpp | 8241afedffbb614975392eeb2bd391749bba5cfb | [] | no_license | msk20msk20/C_language | 3e31599daa37a9ac9bb77c2138ac4b53f390d0d8 | 08255b828fc9ae0c00c9d694c3eb278cf8b6fa55 | refs/heads/main | 2023-01-06T18:19:25.347931 | 2020-10-28T07:08:51 | 2020-10-28T07:08:51 | 303,948,117 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 255 | cpp | #include <stdio.h>
int n;
long long int f(int a)
{
long long int result = 1;
for(int i = 1; i <= a ; i++)
{
result = result * i;
}
return result;
}
int main(void)
{
scanf("%d", &n);
printf("%lld \n", f(n));
return 0;
}
| [
"noreply@github.com"
] | msk20msk20.noreply@github.com |
8ef0f75eb73dfdcaf7b2c7e11819d9da523b6251 | 09a4f7e32a0efb2b18c1fcd3c501ecc6becb0852 | /Builder/main.cpp | 40f1995b85e3e640d7691f210a3b0845ded6ef3c | [] | no_license | IngwarSV/Patterns | 8a230005ac37ab699217c3cb5ae5d81b857ace4c | a557aa9532f95d6c12dcea836d4e614ed5a326b3 | refs/heads/master | 2020-12-26T07:20:01.572200 | 2020-02-12T09:13:20 | 2020-02-12T09:13:20 | 237,431,316 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 946 | cpp | #include <iostream>
#include "Smith.h"
#include "Sword.h"
// #include "SwordTemplate.h"
#include "GladiusTemplate.h"
#include "LongSwordTemplate.h"
#include "LongSword.h"
int main() {
Smith* blacksmith = new Smith();
GladiusTemplate* gTemplate = new GladiusTemplate();
LongSwordTemplate* lsTemplate =... | [
"sviatskyi@gmail.com"
] | sviatskyi@gmail.com |
11b5436479da047d576381bb86fcb1dcbed4581b | f76792be9b6b12ccde8a6ab64c0462846039cfa5 | /287_find_the_duplicate_number.cpp | 06681de8d5d3ee4ec86a73a685cadba6cb1af966 | [] | no_license | netario/leetcode-solutions | 844c0fbf7f97a71eba3b59e7643c7104cef4a590 | b289891115927d90bd59ec53f173121a1158e524 | refs/heads/master | 2021-01-19T12:52:15.653561 | 2017-09-16T23:28:52 | 2017-09-16T23:28:52 | 100,814,944 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 475 | cpp | class Solution {
public:
int findDuplicate(vector<int>& nums) {
int ret = -1, p = 1, q = (int)nums.size() - 1;
while (p <= q) {
int mid = p + (q - p) / 2, cnt = 0;
for (auto& num : nums)
cnt += num <= mid;
if (cnt >= mid + 1) {
... | [
"fycanyue@163.com"
] | fycanyue@163.com |
45a7ddd357d5fc069b48636f5c17bdabd8ef399f | f3b3bf886392024e0bbddf2ca2c4f59ed067008d | /code/day3/day2.cpp | d473d3f5a8ae4ef4573e950ea9caefc299c5d69e | [] | no_license | Cuong-star/30daysofcode | b8a03e908966c887cfefcf46dd0b25b1c29a10e1 | 255c7a680ae9b9c09d1e14f9e0586209def042ce | refs/heads/master | 2020-12-18T21:05:23.759728 | 2020-01-22T03:50:49 | 2020-01-22T03:50:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 722 | cpp | #include <bits/stdc++.h>
#include <cmath>
using namespace std;
// Complete the solve function below.
void solve(double meal_cost, int tip_percent, int tax_percent) {
double tip,tax,total;
tip = meal_cost * tip_percent/100;
tax = meal_cost * tax_percent/100;
total = meal_cost + tip + tax;
cout << r... | [
"pduongpdu99@gmail.com"
] | pduongpdu99@gmail.com |
d8e6b93ad77248d2d4fa2cf879f4c420eb2e6804 | 0dc405a395af56e01cd4efb699ab00b192ac0a0c | /1day/dfs.cpp | 585ed7e157d74accb3232058c3f9be5a32a50c1a | [] | no_license | DanielYe1/winterSchool | fb336ebd2692f13840aabe4e529fc89df09089e8 | d91adb91fabc64ac32bce573889d9fb5713e6a91 | refs/heads/master | 2021-06-21T19:30:52.883509 | 2017-08-25T02:37:24 | 2017-08-25T02:37:24 | 101,393,883 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 627 | cpp | #include <iostream>
using namespace std;
const int timer = 0;
int color[10];
void dfs(int node) {
color[node] = 1;
}
const int max_log = 20;
const int size = 100000;
int par[size][size];
int depth[size];
void dfsAnt(int node, int h, int p) {
par[node][0] = p;
depth[node] = h;
for (int i = 0; i <... | [
"danielxinxin1@gmail.com"
] | danielxinxin1@gmail.com |
66eab72d4240498f0d725f66e39c7412f4c2d645 | 565b4e773bd7892364e078195752af8428b0516c | /A09/A09_Source.cpp | 697649ec908ecf520ed9f8f19c2ecc31a5254d7e | [] | no_license | xavigp98/CppProjects_XavierGracia | be348f8e113f18f921461c020c9e57ff7bd89f66 | b29bdeda35a6c540b8568f2608c81e1d7b117335 | refs/heads/master | 2021-01-22T03:48:46.442263 | 2017-09-12T09:41:50 | 2017-09-12T09:41:50 | 81,460,048 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 172 | cpp | #include "myStack.h"
int main() {
myStack uno;
uno.push(3);
int tres = uno.top();
int size = uno.size();
uno.pop();
bool isEmpty = uno.isEmpty();
return 0;
} | [
"xaviergraciapereniguez@enti.cat"
] | xaviergraciapereniguez@enti.cat |
cbe589d93f3f6beaab6f602ffc9583e3cf1eabcc | 7f69e98afe43db75c3d33f7e99dbba702a37a0a7 | /src/plugins/thirdParty/LLVM/lib/IR/IRBuilder.cpp | af1b2fbfadfaf56cdc1792d5410847e2c080f7a1 | [
"Apache-2.0"
] | permissive | hsorby/opencor | ce1125ba6a6cd86a811d13d4b54fb12a53a3cc7c | 4ce3332fed67069bd093a6215aeaf81be81c9933 | refs/heads/master | 2021-01-19T07:23:07.743445 | 2015-11-08T13:17:29 | 2015-11-08T13:17:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,578 | cpp | //===---- IRBuilder.cpp - Builder for LLVM Instrs -------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | [
"agarny@hellix.com"
] | agarny@hellix.com |
e80ec41c56d94a4c3de845de4e4ccb810f1af059 | 9639e3e55f2ab6113e3d7499ee2a35a4c54ebd95 | /tests/cpp/visitor_tests.cpp | 11175adc191b98bb41f1d811c5a1e5eba83d1d83 | [
"MIT",
"BSD-3-Clause"
] | permissive | wayrick/yaramod | 111d59507b98ea6642d948ba24d552bf5cd78249 | e3b8528c7f4167047e5ffbb0e3fef91eecb5aaa4 | refs/heads/master | 2022-11-11T23:04:56.014495 | 2020-06-30T12:47:27 | 2020-06-30T12:47:27 | 276,095,733 | 0 | 0 | null | 2020-06-30T12:44:19 | 2020-06-30T12:44:19 | null | UTF-8 | C++ | false | false | 26,833 | cpp | /**
* @file tests/visitor_tests.cpp
* @brief Tests for the YARA representation.
* @copyright (c) 2019 Avast Software, licensed under the MIT license
*/
#include <clocale>
#include <gtest/gtest.h>
#include "yaramod/builder/yara_expression_builder.h"
#include "yaramod/parser/parser_driver.h"
#include "yaramod/utils/mo... | [
"noreply@github.com"
] | wayrick.noreply@github.com |
4956cec3c49e64d7e64efe25f84a62e1cbaea5cc | e1e43f3e90aa96d758be7b7a8356413a61a2716f | /datacommsserver/esockserver/test/TE_ESock/EsockTestSection1.cpp | 127f5edfdade5df4f41368d9a6a63c9107cd6ce6 | [] | no_license | SymbianSource/oss.FCL.sf.os.commsfw | 76b450b5f52119f6bf23ae8a5974c9a09018fdfa | bc8ac1a6d5273cbfa7852bbb8ce27d6ddc076984 | refs/heads/master | 2021-01-18T23:55:06.285537 | 2010-10-03T23:21:43 | 2010-10-03T23:21:43 | 72,773,202 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 13,403 | cpp | // Copyright (c) 2001-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 |
c6792841f799c8bb25b92f74e39839ba58a2147f | e99887d75f79aace37b6fd99b7bdb0a739321aa9 | /src/fixpoint/branch_conditions.h | e6c563dda71507121e43c74b97215beeef919ae9 | [
"MIT"
] | permissive | peterrum/po-lab-2018 | e14f98e876c91ee2bb381ff07c0ac04f2d84802e | e4547288c582f36bd73d94157ea157b0a631c4ae | refs/heads/master | 2021-07-13T18:01:14.035456 | 2018-11-24T10:13:58 | 2018-11-24T10:13:58 | 136,142,467 | 3 | 4 | null | 2018-11-24T10:13:18 | 2018-06-05T08:06:06 | C++ | UTF-8 | C++ | false | false | 1,114 | h | #ifndef PROJECT_BRANCH_CONDITIONS_H
#define PROJECT_BRANCH_CONDITIONS_H
#include "../abstract_domain/AbstractDomain.h"
#include "state.h"
#include "llvm/IR/Value.h"
#include "llvm/Support/raw_ostream.h"
#include <map>
#include <memory>
#include <utility>
using namespace llvm;
namespace pcpo {
class BranchConditions ... | [
"peterrmuench@aol.com"
] | peterrmuench@aol.com |
e5f9ca3dfdc9526dec098c4cf84dd89bf05e7534 | 435f79cf136034f86850780796536c82efebc83f | /src/qt/transactiontablemodel.h | 5f4f01e73c1566a888ea69bae72f4635b01799f1 | [
"MIT"
] | permissive | KazuPay/kazusilver | d7d3946cd677cf0f49c8c0d944544194df8bb0b4 | fc81623ed5fd5f9f9fd9ce85139201ece6a2332e | refs/heads/master | 2020-04-15T08:55:32.528511 | 2019-01-13T13:34:41 | 2019-01-13T13:34:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,332 | h | // Copyright (c) 2011-2015 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 KSLVCOIN_QT_TRANSACTIONTABLEMODEL_H
#define KSLVCOIN_QT_TRANSACTIONTABLEMODEL_H
#include "kazusilverunits.h"
#inclu... | [
"mike@altilly.com"
] | mike@altilly.com |
03d64891c57f9d51659b155b825158464012e608 | 19e78b53f3b7c4e135f272a478d47df3d4a42cae | /source/common/utility/hash_table.h | 10e1e6e1806f9ce249c4506a37a69b789cbb25ff | [] | no_license | Gumgo/WaveLang | 5eaaa2f5d7876805fd5b353e1d885e630580d124 | c993b4303de0889f63dda10a0fd4169aaa59d400 | refs/heads/master | 2021-06-17T23:24:07.827945 | 2021-03-12T18:22:19 | 2021-03-12T18:22:19 | 37,759,958 | 2 | 3 | null | 2015-07-18T11:54:16 | 2015-06-20T06:10:50 | C++ | UTF-8 | C++ | false | false | 1,292 | h | #pragma once
#include "common/common.h"
#include "common/utility/pod.h"
#include <new>
#include <vector>
// This hash table preallocates its memory
template<typename t_key, typename t_value, typename t_hash>
class c_hash_table {
public:
c_hash_table();
~c_hash_table();
// $TODO add move constructor
void initial... | [
"gumgo1@gmail.com"
] | gumgo1@gmail.com |
08b5f4a0a22efbe3acd3f24866346d75184ba44a | 63ff954260ac9de2ac5420875f1bf7cf41eba2ff | /2019_06_30_Gunbird/2019_06_30_Gunbird/CSpriteDib.cpp | df17d5e96b71f2b1627c345a9fee55f9bb19d7dc | [] | no_license | kmj91/kmj-api | 179b76e4d08c0654f074fadcfd8caae8832d7d7d | 9a65e7b395199f8058ad615a4377973f53604305 | refs/heads/master | 2021-05-18T12:56:44.498606 | 2020-04-16T13:49:56 | 2020-04-16T13:49:56 | 251,250,883 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 30,386 | cpp | #include "stdafx.h"
#include <windows.h>
#include "CSpriteDib.h"
#include "stdio.h"
CSpriteDib::CSpriteDib()
{
int iCount;
//-----------------------------------------------------------------
// 최대 읽어올 개수 만큼 미리 할당 받는다.
//-----------------------------------------------------------------
m_iMaxSprite = 100;
m_dwC... | [
"lethita0302@gmail.com"
] | lethita0302@gmail.com |
b4f41faea6150792a3e0c4130bcd4f58bd2739f4 | 8d4b95617d3db5e3346a6dae77e9315dfb0c2eef | /joystick.cpp | 6cfe317ee26da90f45841cbb5f453d22e35c645a | [] | no_license | steaphangreene/user | 8f4a0816e3b211ecbae6b07feb1032381b3cbe6d | 4b11c4675a3a51f0d61488ce83abebf055e855ad | refs/heads/master | 2021-01-13T02:19:33.118694 | 2014-02-04T07:39:52 | 2014-02-04T07:41:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,895 | cpp | #include "config.h"
#include "input.h"
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <sys/time.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <linux/joystick.h>
#include <ctype.h>
#include "screen.h"
#include "joystick.h"
extern Screen *__Da_Screen;
extern Joystick... | [
"steaphan@gmail.com"
] | steaphan@gmail.com |
f50bca1fee08ce6fc2eee1d35a664b8b63406682 | a39da85f9c1abe0c21673cd0777f2ba6188d75ce | /Client/Client/Client.cpp | bf23e9056f21d84765e73ab13342f5355a34e101 | [] | no_license | AndrewSavchuk1410/ServerTranslatorPrototype | ec4d84bd1ee8ea578ab193fc94151920f77ed4e5 | 8f859365f0e363c9f1cdf59ed236174f4c53aee7 | refs/heads/master | 2023-01-24T12:08:35.188481 | 2020-12-03T18:38:56 | 2020-12-03T18:38:56 | 318,287,067 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,173 | cpp | #pragma comment (lib, "ws2_32.lib")
#include <WinSock2.h>
#include <iostream>
#pragma warning(disable: 4996)
int main(int argc, char* argv[])
{
setlocale(LC_ALL, "Ukrainian");
WSADATA wsaData;
WORD DLLVersion = MAKEWORD(2, 1);
if (WSAStartup(DLLVersion, &wsaData) != 0) {
std::cout << "Error" << std::endl;
... | [
"48767019+AndrewSavchuk1410@users.noreply.github.com"
] | 48767019+AndrewSavchuk1410@users.noreply.github.com |
7309947f55e1483fe44ebd5a720b883d07bf0fa1 | a5223041f795bea49dc3917b24fbd1a5aa371876 | /BankUI/BankUIDlg.cpp | 9bb9d51b0cf892c91a0f4cb347ade17cb182ca77 | [] | no_license | arkssss/BankSystem | 72bd9fb97af63f14701404d7b9659b02a9ead9b5 | 3a2f901e0fd2e68a85291109562d24a53c3b7eca | refs/heads/master | 2020-03-09T17:44:29.854007 | 2018-06-05T02:15:37 | 2018-06-05T02:15:37 | 128,915,215 | 2 | 0 | null | null | null | null | GB18030 | C++ | false | false | 7,467 | cpp |
// BankUIDlg.cpp : 实现文件
//
#include "stdafx.h"
#include "BankUI.h"
#include "BankUIDlg.h"
#include "afxdialogex.h"
#include "LogInMenu.h"
#include "MysqlForBank.h"
#include "Function.h"
#include "CLanguage.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
//-------静态成员变量初始化
int CBankUIDlg::m_LogInTimes=0;
C_AIVoice ... | [
"522500442@qq.com"
] | 522500442@qq.com |
1d7c30b6465d13ebfd960b3f28870b5dcd155869 | a523c6bd27af78a3d4e177d50fb0ef5cbd09f938 | /atcoder/cpp/abc098/D.cpp | 7640f7e336d0d1a8d4b81cabdb359c96736637a2 | [] | no_license | darshimo/CompetitiveProgramming | ab032aefd03a26e65b8f6b3052cbeb0099857096 | 9ae43d0eac8111917bdf9496522f1f130bdd17b6 | refs/heads/master | 2020-08-11T02:40:57.444768 | 2019-10-11T15:56:26 | 2019-10-11T15:56:26 | 214,474,282 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,054 | cpp | #include <cstdio>
#include <cstdlib>
char *zero(){
char *p = (char *)malloc(sizeof(char)*20);
for(int i=0;i<20;i++)p[i]=0;
return p;
}
void add(char *a1, char *a2){
for(int i=0;i<20;i++)a1[i]+=a2[i];
return;
}
void sub(char *a1, char *a2){
for(int i=0;i<20;i++)a1[i]-=a2[i];
return;
}
boo... | [
"takumishimoda7623@gmail.com"
] | takumishimoda7623@gmail.com |
7bc87cb23bb2eadadf5120b1eb9709bb13b65362 | 1d7f8363324c092b0f04144515bf0e46a0a14940 | /2017/C语言课程设计/提交报告/16040310037朱云韬/elevator.cpp | e8e30b5463607b332921c589a402c1903caac313 | [] | no_license | jtrfid/C-Repositories | ddd7f6ca82c275d299b8ffaca0b44b76c945f33d | c285cb308d23a07e1503c20def32b571876409be | refs/heads/master | 2021-01-23T09:02:12.113799 | 2019-05-02T05:00:46 | 2019-05-02T05:00:46 | 38,694,237 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 3,845 | cpp | #include "stdafx.h"
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include "ElevatorLib.h"
/**********************************************
* Idle状态,电梯停止在某楼层,门是关闭的,处于静止状态,等待相关事件的发生,从而转换到下一个状态。
**********************************************/
void StateIdle(int *state)
{
int floor; bool up;
floor = IdleWh... | [
"jtrfid@qq.com"
] | jtrfid@qq.com |
1b5f00e8c6c953ec6ea7d1b41825a792ff2a2d19 | 30bdd8ab897e056f0fb2f9937dcf2f608c1fd06a | /CodesNew/474.cpp | a3e49cdb8a5e99cf31d431f7c040a6a8ed2987e7 | [] | no_license | thegamer1907/Code_Analysis | 0a2bb97a9fb5faf01d983c223d9715eb419b7519 | 48079e399321b585efc8a2c6a84c25e2e7a22a61 | refs/heads/master | 2020-05-27T01:20:55.921937 | 2019-11-20T11:15:11 | 2019-11-20T11:15:11 | 188,403,594 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 603 | cpp | #include <iostream>
using namespace std;
long long n,t,l=1,r=1,a[100005],sum=0,ans=0;
int main() {
cin>>n>>t;
for(int i=1;i<=n;i++){
cin>>a[i];
}
for(int i=1;i<=n;i++){
a[i]+=a[i-1];
}
while(r<=n && l<=n){
sum=a[r]-a[l-1];
if(sum<=t){
... | [
"harshitagar1907@gmail.com"
] | harshitagar1907@gmail.com |
c4a71455f1d402c94becd68c25466b04b147297a | 7b00c6e83083727e455e40cbfc00b2fc035f6f86 | /shaka/src/js/navigator.cc | 3fa72e5534bbbbe11f87ebb5025dd02e52ebb4c5 | [
"Apache-2.0",
"BSD-3-Clause"
] | permissive | nextsux/shaka-player-embedded | 150ad30ce2dda8c1552027022cd185f2d0c78c40 | dccd0bbe7f326e73ef4841700b9a65ded6353564 | refs/heads/master | 2023-01-08T05:17:09.681606 | 2020-10-23T21:49:30 | 2020-10-23T21:59:03 | 310,596,930 | 0 | 0 | NOASSERTION | 2020-11-06T12:53:50 | 2020-11-06T12:53:50 | null | UTF-8 | C++ | false | false | 2,742 | cc | // Copyright 2016 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | [
"modmaker@google.com"
] | modmaker@google.com |
3752f4c245d77673509375e1ba397421ba0a720e | a6bf86c0474c78626adad1e00247938cf80b378a | /src/UdpSrv.cpp | 200c72e9d34944c4eb148bc7462ba7c826cf294b | [] | no_license | vslavav/RPiHelper | dcea32d07bdd7c7d855a02fab7e7323619ad0d49 | 1a68fb18fe3f7e779d9455b414bbab8d19d1fbdb | refs/heads/master | 2020-04-25T13:02:10.242121 | 2019-03-10T14:47:44 | 2019-03-10T14:47:44 | 172,793,970 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,531 | cpp | /*
* UdpSrv.cpp
*
* Created on: 2019-01-29
* Author: pi
*/
#include "UdpSrv.h"
#include <thread>
#include <unistd.h>
#include <string.h>
////https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.3.0/com.ibm.zos.v2r3.hala001/xsocudp.htm
void Thread_Run(UdpSrv* pUdpSrv)
{
while(1)
{
//UdpSrv* pUdpSrv... | [
"SlavaV@hotmail.com"
] | SlavaV@hotmail.com |
96faf3b4158967d8bb5be713b178a220d91353a0 | 567ee72bfdd5b1dd0aa0f94ddf08f0900ba9cffe | /solarsystem.cpp | 12d7ba84d4908d2a057d698c6d43065fa990829f | [
"MIT"
] | permissive | SunilRao01/SpaceSim | d387f5273f3450687eb328997efcbb3837961aa2 | f7dcd44b5f80ab8d34955c2c7e1d21dc2c144f74 | refs/heads/master | 2021-01-22T05:16:33.258105 | 2015-03-30T13:28:59 | 2015-03-30T13:28:59 | 27,149,572 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,385 | cpp | #include "solarsystem.h"
void solarsystem::renderSolarSystem()
{
if (!changingParameters)
{
glPushMatrix();
// Center solar system
glTranslatef(centerX, centerY, 0.0f);
// Render sun
sun.renderPlanet(0, 0);
// Render planets
for (int i = 0; i < numPlanets; i++)
{
// Rotate planets
//glT... | [
"slysunil101@gmail.com"
] | slysunil101@gmail.com |
33408a23097072f760f0534104fa50728e5dd28e | 92c0f53e43881f8c384ab344a44a16fd5eac54fd | /packetWin7/NPFInstall/NPFInstall/LoopbackRecord.cpp | 7312c53f56fd6f755d5fb2f3200d6b91db1251f9 | [
"LicenseRef-scancode-unknown-license-reference",
"HPND",
"BSD-4-Clause-UC",
"BSD-3-Clause",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-carnegie-mellon",
"BSD-4.3TAHOE",
"BSD-2-Clause",
"LicenseRef-scancode-bsd-new-tcpdump"
] | permissive | vaginessa/npcap | 65301289cfb8c25872695824d90267392562e675 | 391e71e54f72aadd41f5556174c7324af0047c73 | refs/heads/master | 2021-01-18T08:51:30.985915 | 2016-06-04T18:26:14 | 2016-06-04T18:26:14 | 60,437,309 | 0 | 0 | NOASSERTION | 2019-01-18T08:41:12 | 2016-06-05T01:09:20 | C | UTF-8 | C++ | false | false | 7,092 | cpp | /*++
Copyright (c) Nmap.org. All rights reserved.
Module Name:
LoopbackRecord.cpp
Abstract:
This is used for enumerating our "Npcap Loopback Adapter" using NetCfg API, if found, we changed its name from "Ethernet X" or "Local Network Area" to "Npcap Loopback Adapter".
Also, we need to make a flag in registry t... | [
"hsluoyz@qq.com"
] | hsluoyz@qq.com |
aef07905830e29af2c7e6550a0e2cfdfdd56aad8 | d86aedd0eb141b8d5fbaf30f41425ff97c17d6f4 | /src/utiltime.h | 96332926f2a3aaaf50ba2779cd7d0855dc2a6d50 | [
"MIT"
] | permissive | catscoinofficial/src | 277f6d4458e8ee3332ea415e0ed8b5253d22071b | eb9053362c3e9c90fe2cac09a65fad7d64d5f417 | refs/heads/master | 2023-02-28T10:39:10.685012 | 2021-02-07T10:54:28 | 2021-02-07T10:54:28 | 336,761,478 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 666 | h | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2016-2017 The CATSCOIN developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_UTILTIME_H
#define ... | [
"64649630+catscoinofficial@users.noreply.github.com"
] | 64649630+catscoinofficial@users.noreply.github.com |
4e1eb034bb57014b4a7c62aee8eb1f41584c5b80 | 37464ad43bcd0e263e1bf50c248a1e13e4ba8cf6 | /MrRipPlug/FMT/0wwmix/misc/xif_file.h | ae0ba7b9b7bdc7e086d1b48d71d9f36fccc25e26 | [] | no_license | crom83/cromfarplugs | 5d3a65273433c655d63ef649ac3a3f3618d2ca82 | 666c3cafa35d8c7ca84a6ca5fc3ff7c69430bf0e | refs/heads/master | 2021-01-21T04:26:34.123420 | 2016-08-11T14:47:51 | 2016-08-11T14:47:51 | 54,393,015 | 3 | 2 | null | 2016-08-11T14:47:51 | 2016-03-21T13:54:32 | C++ | UTF-8 | C++ | false | false | 922 | h | // xif_file.h: interface for the Cxif_file class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_XIF_FILE_H__93731940_3FA3_11D4_B606_0000B4936994__INCLUDED_)
#define AFX_XIF_FILE_H__93731940_3FA3_11D4_B606_0000B4936994__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#e... | [
"crom83@mail.ru"
] | crom83@mail.ru |
c4040d99ddf76fa5f8bbf6c60e2c31d9d0241927 | 91b19ebb15c3f07785929b7f7a4972ca8f89c847 | /Classes/HatGacha.cpp | aea8c69e18c32821e23ec745e8501daa4597d657 | [] | no_license | droidsde/DrawGirlsDiary | 85519ac806bca033c09d8b60fd36624f14d93c2e | 738e3cee24698937c8b21bd85517c9e10989141e | refs/heads/master | 2020-04-08T18:55:14.160915 | 2015-01-07T05:33:16 | 2015-01-07T05:33:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,724 | cpp | #include "HatGacha.h"
#include <random>
#include "GachaShowReward.h"
const int kFakeItemTag = 0x43534;
class CCNodeFrames : public CCNode
{
protected:
std::vector<CCNode*> m_nodes;
int m_currentIndex;
float m_delay;
float m_timer;
public:
void runAnimation(float delay)
{
m_timer = 0;
m_delay = delay;
for(a... | [
"seo88youngho@gmail.com"
] | seo88youngho@gmail.com |
dab6e471f3dc6a3d0fd52432a1c94d113f63333f | 52a3c93c38bef127eaee4420f36a89d929a321c5 | /SDK/SoT_BP_SmallShipNetProxy_classes.hpp | e394e766d8552097eb57e693973fc443d964f472 | [] | no_license | RDTCREW/SoT-SDK_2_0_7_reserv | 8e921275508d09e5f81b10f9a43e47597223cb35 | db6a5fc4cdb9348ddfda88121ebe809047aa404a | refs/heads/master | 2020-07-24T17:18:40.537329 | 2019-09-11T18:53:58 | 2019-09-11T18:53:58 | 207,991,316 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,493 | hpp | #pragma once
// Sea of Thieves (2.0) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "SoT_BP_SmallShipNetProxy_structs.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Classes
//-------------------------------------------------------------------------... | [
"igromanru@yahoo.de"
] | igromanru@yahoo.de |
de2aaada0095602ec0fedbb7de08324b8f32de68 | 5a51deb838cbb865a4f3f5206da3b686032e6f84 | /cpp/open3d/visualization/rendering/filament/FilamentGeometryBuffersBuilder.cpp | ce170f45cc3ddef92ee013cc8886b2a41bee9509 | [
"MIT"
] | permissive | sujitahirrao/Open3D | 0d49ca59c3b933e63c98d9e37703529fe91587bd | aa29e5a38cf4f15351e7f8aefe3d9ecd71e67f88 | refs/heads/master | 2023-08-29T01:00:44.982177 | 2021-10-10T08:54:20 | 2021-10-10T08:54:20 | 301,184,341 | 0 | 0 | NOASSERTION | 2021-10-04T17:15:57 | 2020-10-04T17:18:16 | C++ | UTF-8 | C++ | false | false | 11,583 | cpp | // ----------------------------------------------------------------------------
// - Open3D: www.open3d.org -
// ----------------------------------------------------------------------------
// The MIT License (MIT)
//
// Copyright (c) 2018-2021 www.open3d.org
//
// Perm... | [
"noreply@github.com"
] | sujitahirrao.noreply@github.com |
ccac8e7a659f19ab9e5195acc2908eab162e211a | 8af716c46074aabf43d6c8856015d8e44e863576 | /src/qt/privacydialog.cpp | d95d965639e6ed7984f1693667db622905ce598c | [
"MIT"
] | permissive | coinwebfactory/acrecore | 089bc945becd76fee47429c20be444d7b2460f34 | cba71d56d2a3036be506a982f23661e9de33b03b | refs/heads/master | 2020-03-23T06:44:27.396884 | 2018-07-17T03:32:27 | 2018-07-17T03:32:27 | 141,226,622 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 28,237 | cpp | // Copyright (c) 2011-2014 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "privacydialog.h"
#include "ui_privacydialog.h"
#include "addressbookpage.h"
#include "addresstablemodel.h"
#include... | [
"root@vultr.guest"
] | root@vultr.guest |
343f663010a279fe57586156eb3c2aa1840d4084 | 594e646453b7255104f721a9f9da84f752a733b8 | /labs/kurs/samples/02_raytrace_plane/FrameBuffer.cpp | fc0988097c03e93b0b7c47146540d9e90b369ba3 | [] | no_license | alexey-malov/cg | 50068a19b8dc5d8259092e14ce2fdfa45400eac9 | ca189f7e850a4d6f94103eabdb7840679f366d93 | refs/heads/master | 2020-12-30T15:41:35.575926 | 2018-06-19T11:26:35 | 2018-06-19T11:26:35 | 91,160,585 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 279 | cpp | #include "stdafx.h"
#include "FrameBuffer.h"
CFrameBuffer::CFrameBuffer(unsigned width, unsigned height)
:m_pixels(width * height)
,m_width(width)
,m_height(height)
{
}
void CFrameBuffer::Clear(boost::uint32_t color)
{
std::fill(m_pixels.begin(), m_pixels.end(), color);
}
| [
"alexey.malov@cpslabs.net"
] | alexey.malov@cpslabs.net |
c90db25310eb3414b659e6dc8ada7ecdd37b32db | 79546e9feb03644ba7b99e26e2cfb4e34341712a | /obj.cpp | 2dc39df39032dd6646565cc9640d7d3e4cdaef6c | [] | no_license | kagasan/cg | f261a793e327cb263c5e135d678d274efaa320f8 | 64179c65e086f6184417bfb5b271cbfff7562bca | refs/heads/master | 2020-03-11T03:01:27.305331 | 2018-04-17T04:34:23 | 2018-04-17T04:34:23 | 129,734,697 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 607 | cpp | #include "obj.h"
#include <sstream>
OBJ::OBJ(const std::string &filename){
read(filename);
}
void OBJ::read(const std::string &filename){
vertex.resize(1);
face.clear();
ifs.open(filename);
for (std::string line; getline(ifs, line);){
if (line[0] == '#')continue;
else if (line[0] == 'v'){
std::stringstrea... | [
"ghghkaja@gmail.com"
] | ghghkaja@gmail.com |
579bda5db9646c8e96b42221f422a0f52fb7230f | c75feeaa3f66d56c81b319648c210cd84caa403f | /InverseKinematic/src/Texture.h | 165b72192407355e5dc6132f6656c90215d5191a | [] | no_license | hachihao792001/InverseKinematicOpenGL | 2ef6da7203640dd82306c775ceee236d5a4ffa32 | 228993ff38d724f718357d7c3c2c36c473f9e735 | refs/heads/master | 2023-07-22T21:55:39.048705 | 2021-09-03T03:35:48 | 2021-09-03T03:35:48 | 402,010,870 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 424 | h | #pragma once
#include "Renderer.h"
class Texture {
private:
unsigned int m_RendererID;
std::string m_FilePath;
unsigned char* m_LocalBuffer;
int m_Width, m_Height, m_BPP; //bits per pixel
public:
Texture(const std::string& path);
~Texture();
void Bind(unsigned int slot = 0) const;
void Unbind() const;
inli... | [
"40560981+hachihao792001@users.noreply.github.com"
] | 40560981+hachihao792001@users.noreply.github.com |
11667f7a97a70b3d0a3a4a68df2dab613128c891 | f6695e04d3188c96f0e8f08b8bfdcd362056b451 | /xtwse/FT/source/bxDR/backup/bxRptWorker.cpp | b0973626b5d639ede0e47d4b54de1f9b7eadf030 | [] | no_license | sp557371/TwseNewFix | 28772048ff9150ba978ec591aec22b855ae6250a | 5ed5146f221a0e38512e4056c2c4ea52dbd32dcd | refs/heads/master | 2020-04-17T03:18:03.493560 | 2019-01-17T08:40:46 | 2019-01-17T08:40:46 | 166,175,913 | 0 | 0 | null | null | null | null | BIG5 | C++ | false | false | 4,459 | cpp | #ifdef __BORLANDC__
#pragma hdrstop
#pragma package(smart_init)
#endif
//---------------------------------------------------------------------------
#include "bxRptWorker.h"
#include "bxRpt.h"
#include "TwStk.h"
#include "bxRptSes.h"
//---------------------------------------------------------------------------
usin... | [
"xtwse@mail.kway.com.tw"
] | xtwse@mail.kway.com.tw |
907a7d0e2be12d3a1289668c4cefc629e9d306ce | b9bd8a0bb3e107acdc61de13e18777c6045adfdf | /src/mail.cpp | ff77c908a2d057ff5497432dc7443e7cbd74cd9e | [] | no_license | Chrps/super-pack | 8765f4a64f4d08055b9b7afa849349efab5a1638 | 78680ebe5e5e9ab6368b794507dfe1c7ef6b5be3 | refs/heads/master | 2021-01-10T18:20:24.376175 | 2015-10-29T07:53:18 | 2015-10-29T07:53:18 | 45,168,669 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 47 | cpp | void main (void){
// Nothing happens
return;
}
| [
"Christoffer.chrps@gmail.com"
] | Christoffer.chrps@gmail.com |
a155374aa950a76ad976b6339a071c30b3a691f5 | 713c3e5f7b4126bb5d57edf795580320d0b72e66 | /App/ATFGenerator/src/CPU/SimpsonHalfIterateIntegrator.cpp | e6c4d315375b05b3f7f95d9e330518d15e2b1808 | [] | no_license | rustanitu/TFG | b40ed59295e9d490dbd2724a5e86ee3697d6c787 | 0570d8cfe0d48edc19cf76c9771b14beb03f9fc4 | refs/heads/master | 2020-04-04T06:12:18.445176 | 2016-09-15T18:37:06 | 2016-09-15T18:37:06 | 54,929,706 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 46,542 | cpp | //Internal Error Half, External Half
#include "SimpsonHalfIterateIntegrator.h"
#include "VolumeEvaluator.h"
#include "SimpsonEvaluation.h"
#include <iostream>
#include <fstream>
#include <cmath>
#include <cerrno>
#include <cfenv>
#include <cstring>
#ifdef ANALYSIS__RGBA_ALONG_THE_RAY
void SimpsonHalfIterateIntegrat... | [
"rustanitus@gmail.com"
] | rustanitus@gmail.com |
d1f913c328321f6f2d4f523934632f9ef08fd825 | ba34acc11d45cf644d7ce462c5694ce9662c34c2 | /Classes/gesture/PathWriter.h | 119c62dbe67c0eae9f12e021b2242195a7a2810e | [] | no_license | mspenn/Sketch2D | acce625c4631313ba2ef47a5c8f8eadcd332719b | ae7d9f00814ac68fbd8e3fcb39dfac34edfc9883 | refs/heads/master | 2021-01-12T13:26:35.864853 | 2019-01-09T12:45:11 | 2019-01-09T12:45:11 | 69,162,221 | 8 | 7 | null | null | null | null | UTF-8 | C++ | false | false | 885 | h | #ifndef _PathWriterIncluded_
#define _PathWriterIncluded_
#include <fstream>
#include <string>
#include "GeometricRecognizerTypes.h"
using namespace std;
namespace DollarRecognizer
{
class PathWriter
{
public:
static bool writeToFile(
Path2D path,
const string fileName = "savedPath.txt",
const str... | [
"microsmadio@hotmail.com"
] | microsmadio@hotmail.com |
5f1175bc34336a949304ecb72472445e6a1954b5 | 877fff5bb313ccd23d1d01bf23b1e1f2b13bb85a | /app/src/main/cpp/dir35435/dir35536/dir35859/dir36113/dir36250/file36306.cpp | 70084755b8420d5ef4fd5e8c3d7a6f51bc3c5de5 | [] | no_license | tgeng/HugeProject | 829c3bdfb7cbaf57727c41263212d4a67e3eb93d | 4488d3b765e8827636ce5e878baacdf388710ef2 | refs/heads/master | 2022-08-21T16:58:54.161627 | 2020-05-28T01:54:03 | 2020-05-28T01:54:03 | 267,468,475 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 115 | cpp | #ifndef file36306
#error "macro file36306 must be defined"
#endif
static const char* file36306String = "file36306"; | [
"tgeng@google.com"
] | tgeng@google.com |
1d8e4feaeaf84034162c44d42bc2d8cc0a3684d4 | bdda98f269400b13dfb277d52da4cb234fd4305c | /CVGCom/Units/Devices/dev_CVGx48.cpp | d87e2b2b5837aa06555dd2f308aa7db09d1bd47c | [] | no_license | fangxuetian/sources_old | 75883b556c2428142e3323e676bea46a1191c775 | 7b1b0f585c688cb89bd4a23d46067f1dca2a17b2 | refs/heads/master | 2021-05-11T01:26:02.180353 | 2012-09-05T20:20:16 | 2012-09-05T20:20:16 | null | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 4,528 | cpp | //===========================================================================
#include "pmPCH.h"
#pragma hdrstop
//===========================================================================
#include "dev_CVGx48.h"
//===========================================================================
CCVGx48::CCVGx48(... | [
"pm@pm.(none)"
] | pm@pm.(none) |
51bba36cd257c80659870e36bd9a94a3acbdc1ac | 6721651e2340b4936101744cc59f2e512815136f | /Activities/Session 48 - 23 April/PTKStudentCopy.cpp | 1c2d362b48145965f4fd88715845d426877c539a | [] | no_license | compscisi/Programming-Fundamentals-1-SI | 5859b60296f868d94faff2e02dc7d18735859ccb | d20311d09b85aaeb9621d04260cc104a011be35f | refs/heads/master | 2020-04-16T12:38:20.189966 | 2019-05-09T16:07:50 | 2019-05-09T16:07:50 | 165,589,457 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,814 | cpp | //The following program skeleton, when complete, asks the user to enter these data
//about his or her favorite movie :
// Name of movie
// Name of the movie’s director
// Name of the movie’s producer
// The year the movie was released
//Complete the program by declaring the structure that holds this data, defining a
//... | [
"noreply@github.com"
] | compscisi.noreply@github.com |
1a80c0e537b2db3edb3866fea5fb0462a60f5491 | 8c8820fb84dea70d31c1e31dd57d295bd08dd644 | /Online/BuildPatchServices/Private/Generation/ChunkMatchProcessor.h | f542b09eeb6d28177bd1b41832353bb39b05010b | [] | no_license | redisread/UE-Runtime | e1a56df95a4591e12c0fd0e884ac6e54f69d0a57 | 48b9e72b1ad04458039c6ddeb7578e4fc68a7bac | refs/heads/master | 2022-11-15T08:30:24.570998 | 2020-06-20T06:37:55 | 2020-06-20T06:37:55 | 274,085,558 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 815 | h | // Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreTypes.h"
#include "Containers/Array.h"
#include "Templates/Tuple.h"
#include "Core/BlockRange.h"
#include "Core/BlockStructure.h"
#include "Generation/DataScanner.h"
namespace BuildPatchServices
{
struct FMatchEntry
{
FChunkMatch ChunkM... | [
"wujiahong19981022@outlook.com"
] | wujiahong19981022@outlook.com |
8c6b01bbcbc12ef85dde52892409c76cd8a5ef5c | ad780787315490d1deb31c2d550fe671c8d9777e | /GameLogic.cpp | 2a8a55c0b33aee7fe164713316dfa91d03694e75 | [] | no_license | nkwleroux/Proftaak2.4_A1_Word_Raiders | 369c27989cbc7a12ba990e439f89b470125cb188 | bc413dadb4d1d81be70fabce15588c2ca6e7a072 | refs/heads/master | 2023-05-29T11:49:50.951100 | 2021-06-14T08:45:33 | 2021-06-14T08:45:33 | 366,298,443 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,204 | cpp | #include "GameLogic.h"
#include "WordLoader.h"
#include "Scene.h"
#include "LetterModelComponent.h"
GameLogic::GameLogic() {
// Initiate variables to standard values
gameStarted = false;
reset = false;
currentWordLength = 5;
currentWordAmount = 3;
currentWordIndex = -1;
// Initiate timers
gameTimer = new Time... | [
"rik.vos01@gmail.com"
] | rik.vos01@gmail.com |
cecc114659f5dfed4ee527cb83e30191f3554955 | 2769085a50899819e8af0c0f28020cd42bbb5ed3 | /src/ui_interface.h | bd67f38c5b831fda2aafe3c30d8adc609264a0af | [
"MIT"
] | permissive | CarbonTradingcoin/CarbonTradingcoin | ec188762cc06e1d1d963c10650e0427352c830af | 0f824ee580b0ec7042abd607f581055bf68db0f9 | refs/heads/master | 2016-08-07T20:08:30.010797 | 2014-06-01T03:08:15 | 2014-06-01T03:08:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,375 | h | // Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2012 The Carbonemissiontradecoin developers
// Copyright (c) 2013-2079 CT DEV
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef CARBONEMISSIONTRADECOIN_UI_INTERFAC... | [
"CarbonTradingcoin@gmail.com"
] | CarbonTradingcoin@gmail.com |
b907c3601688af6a76a4ca679b60b446ba2766a1 | ff444613472c57836e0f92ae404871f586639059 | /inc/vhwd/collection/detail/bst_tree_node.h | dae1c45af740a5d447edda7b619708f62f743442 | [
"Apache-2.0"
] | permissive | akirayu101/vhwd_base | 1959cf1ebf065e669f89b54b3841a10923464023 | fb694676bab13d4258c0031769e9aac0baa37b55 | refs/heads/master | 2020-12-11T03:33:23.650707 | 2014-09-16T09:08:37 | 2014-09-16T09:08:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,357 | h |
#ifndef __H_VHWD_COLLECTION_BST_TREE_NODE__
#define __H_VHWD_COLLECTION_BST_TREE_NODE__
#include "vhwd/collection/detail/collection_base.h"
VHWD_ENTER
template<typename K,typename V,typename E>
class bst_node
{
public:
typedef bst_node<K,V,E> node_type;
typedef K key_type;
typedef V mapped_... | [
"wendahan@qq.com"
] | wendahan@qq.com |
70e93d28b595a156c551dcadffc943bf47ec9e66 | 64440f30282c87b47b314e348957780d49e0d59d | /include/feature_birl.hpp | 71689a514c1ee4d8f5eefe59a050aea7160b5568 | [
"MIT"
] | permissive | dsbrown1331/aaai-2018-code | 9f7eb75b431c37e3ac798bf085dc795692d5960b | 303fe4e1c8c2d4cfae70100b5d2eb73efe121393 | refs/heads/master | 2021-04-30T05:30:59.060939 | 2018-03-07T15:18:58 | 2018-03-07T15:18:58 | 121,417,536 | 6 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 18,657 | hpp |
#ifndef feature_birl_h
#define feature_birl_h
#include <cmath>
#include <stdlib.h>
#include <vector>
#include <numeric>
#include <math.h>
#include "mdp.hpp"
#include "../include/unit_norm_sampling.hpp"
using namespace std;
class FeatureBIRL { // BIRL process
protected:
double r_min, r_max, st... | [
"dsbrown1331@gmail.com"
] | dsbrown1331@gmail.com |
bd906faaf244c2c79671bc7dbe48351b2f229369 | 33d55fd020dfa888c4b81c524ec10f27cacc31fe | /Tarde/main.cpp | e7dcb360f1009e3a4d963879712f43453d74ad95 | [] | no_license | Melchyore/softwares | a24933da06dc70d20d4d408b5fb093aa06aaf6c3 | 4ab94ca88003a2ba62b720a581c91a7f827ca366 | refs/heads/master | 2021-05-28T04:21:54.443121 | 2014-05-22T19:58:09 | 2014-05-22T19:58:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 500 | cpp | #include <QApplication>
#include "MainWindow.h"
int main(int argc, char *argv[])
{
QApplication application(argc, argv);
MainWindow window;
QPalette* palette = new QPalette();
QLinearGradient linearGradient(0, 0, 0, window.height());
linearGradient.setColorAt(0, "#242424");
linearGradient.setC... | [
"rider-2000@hotmail.com"
] | rider-2000@hotmail.com |
918cc665e564bdd2c1c9251e03f210a7b5f39b38 | 0efb71923c02367a1194a9b47779e8def49a7b9f | /Oblig1/les/0.26/uniform/time | a9c9de75ed607099f405984fdd0c64ff6341f5eb | [] | no_license | andergsv/blandet | bbff505e8663c7547b5412700f51e3f42f088d78 | f648b164ea066c918e297001a8049dd5e6f786f9 | refs/heads/master | 2021-01-17T13:23:44.372215 | 2016-06-14T21:32:00 | 2016-06-14T21:32:00 | 41,495,450 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 982 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.4.0 |
... | [
"g.svenn@online.no"
] | g.svenn@online.no | |
dfa16b76f2c626b10138e6f5b0b0f33885843470 | 19b14d0280be480be7f4642079419c3a584db2b0 | /programa 8/main.cpp | a74cd1d68f92da42483cdbd2646f3a64268e77e6 | [] | no_license | juanfernandorl/ProgramacionII-Codeblocks | 2664f4e6c7e22a099401c9ca8f709ef45db6554b | a515252d320ac2acb45ae0afa11c21466befbb0c | refs/heads/master | 2021-01-10T22:07:22.539437 | 2013-10-17T17:34:33 | 2013-10-17T17:34:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 915 | cpp | #include <iostream>
using namespace std;
/* Se tiene que ingresar el nombre, la nota y el progreso del alumno
con las siguientes observaciones
1-59 reprobado
60-80 bueno
81-90 muy bueno
91-100 sobresaliente.
usar condiciones donde apliquemos el and
*/
int main()
{ char nombre[30];
int nota;
cout<<"Ingresar n... | [
"juanfernando.rl@unitec.edu"
] | juanfernando.rl@unitec.edu |
76dfc035bec9a230417ea7a0e0428900c674b874 | ff0cf0bedd68db20da2dfe1c613bf684588e68a5 | /lab3Q24.cpp | 799af5d60769743852a76266131157a631ecb29f | [] | no_license | DeepakNayak0165/cs141lab3 | 22891d9bfacdab61d81a76273d51933584bbf320 | 8f400e274f69d4089e9f9a9a946535977e8963e9 | refs/heads/master | 2021-06-27T20:52:16.807900 | 2017-09-15T18:26:07 | 2017-09-15T18:26:07 | 103,657,458 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 117 | cpp | #include<iostream>
using namespace std;
int main()
{
char i='a';
while(i<='z')
{
cout<<i<<endl;
i=i+1;
}
return 0;
}
| [
"noreply@github.com"
] | DeepakNayak0165.noreply@github.com |
b8925239c800c1578c44c147f72797d706baa31b | f4b88022a4ef061383b93260c3c76bf5ecf2407a | /src/gui/MainWindow.cpp | 904de02879112bc225fa4d68723792a78a578c17 | [] | no_license | SylvanHuang/mknap_pso | bc03b11841c1c16ae579a3f5e16355d56d2f824d | 2624080a204781bafb18230fc90ae6f98bf97826 | refs/heads/master | 2020-04-01T14:48:24.257639 | 2014-06-26T08:22:38 | 2014-06-26T08:22:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,082 | cpp | #include "MainWindow.h"
#include <QMessageBox>
#include <QFileDialog>
#include <QTableWidgetItem>
#include <QTableWidget>
#include <QTime>
#include <stdexcept>
#include <iostream>
#include <ctime>
namespace mknap_pso
{
MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent)
{
setupUi(this);
... | [
"jega@win"
] | jega@win |
ab01748f9808456d5dbf17d2b31506413196483a | e798cbc98fba4eda3c51f956f54e03d2ba310f91 | /interface/ExpressionNtuple.h | 362e0fe4662ac53201899c645504ca4aa14b940f | [] | no_license | jjbuchanan/CaloLayer1Calibrations | eb329583714a3ea6306e8bad3db755453b713427 | 3264c802bd9c04c2595a6b09f97d7d4d84823d7e | refs/heads/master | 2021-09-10T01:24:20.084231 | 2018-03-20T14:15:16 | 2018-03-20T14:15:16 | 92,431,299 | 0 | 1 | null | 2018-03-20T14:14:08 | 2017-05-25T18:14:51 | Python | UTF-8 | C++ | false | false | 2,635 | h | /*
* Tool to build a TTree of columns of from StringObjectFunctions.
*
* Author: Evan K. Friis, UW Madison
*
*/
#ifndef EXPRESSIONNTUPLE_E32UGXK7
#define EXPRESSIONNTUPLE_E32UGXK7
#include "boost/utility.hpp"
#include <boost/ptr_container/ptr_vector.hpp>
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#... | [
"jjbuchanan42@gmail.com"
] | jjbuchanan42@gmail.com |
b6c6832b2a70463a80978150dd6e79de3dcd2ce4 | c57819bebe1a3e1d305ae0cb869cdcc48c7181d1 | /src/qt/src/gui/widgets/qtoolbar.h | daa14fd77a9f595547f576b31fc47c833e24a386 | [
"LGPL-2.1-only",
"Qt-LGPL-exception-1.1",
"LicenseRef-scancode-generic-exception",
"GPL-3.0-only",
"GPL-1.0-or-later",
"GFDL-1.3-only",
"BSD-3-Clause"
] | permissive | blowery/phantomjs | 255829570e90a28d1cd597192e20314578ef0276 | f929d2b04a29ff6c3c5b47cd08a8f741b1335c72 | refs/heads/master | 2023-04-08T01:22:35.426692 | 2012-10-11T17:43:24 | 2012-10-11T17:43:24 | 6,177,895 | 1 | 0 | BSD-3-Clause | 2023-04-03T23:09:40 | 2012-10-11T17:39:25 | C++ | UTF-8 | C++ | false | false | 6,257 | h | /****************************************************************************
**
** Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the QtGui module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** ... | [
"ariya.hidayat@gmail.com"
] | ariya.hidayat@gmail.com |
4f94d5e77d3b5c4a69717f6acbccdbe31fe67713 | 0615fd17ae28bdb62918b8b275b72e098f9d1078 | /Classes/DB_Emoji.h | 08325aac95951ffdb3f5c8e6076c8b416d08b810 | [
"MIT"
] | permissive | InternationalDefy/AdvenTri-Cocos | 7c7f072af3f6872fae9e430714de16de80f0f1f9 | 966ef8112a350b6ddb0ed22f33c14abed35b51b5 | refs/heads/main | 2022-12-30T04:11:24.554959 | 2020-10-26T13:02:38 | 2020-10-26T13:02:38 | 307,361,154 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 454 | h | #ifndef __DB_EMOJI__
#define __DB_EMOJI__
#include "Ref_DataBase.h"
class SD_Emoji;
using namespace cocos2d;
class DB_Emoji :public DB
{
private:
SD_Emoji* tempSD;
std::string tempName;
Map<std::string, SD_Emoji*> _table;
public:
std::string useString(){ return "Table_Emoji.csv"; }
void getLine(const std::st... | [
"DTEye1533014901@126.com"
] | DTEye1533014901@126.com |
70d0cc99258adda5afe687dbceb14ee0aca9235b | c73422c07bff58108ff9cc528c71c22533263f99 | /src/proxy_handler.cc | 4095ee291efeb918761e64331bbdb1e3d471a9c0 | [] | no_license | UCLA-CS130/Just-Enough | 6b048b8bf48223a9bcb7afd9505d7f139d270ea7 | 66d2d50af6e6796c40a97e6ce7af9cfb273db7d6 | refs/heads/master | 2021-01-20T12:06:23.871282 | 2017-03-13T18:10:53 | 2017-03-13T18:10:53 | 79,513,574 | 0 | 4 | null | 2017-03-13T18:10:54 | 2017-01-20T01:37:03 | C++ | UTF-8 | C++ | false | false | 5,771 | cc | #include "proxy_handler.h"
#include <string>
RequestHandler::Status ProxyHandler::Init(const std::string& uri_prefix,
const NginxConfig& config)
{
uri_prefix_ = uri_prefix;
/*
* We can accept one of two formats inside of the ProxyHandler's block.
* Format 1:
* remote_host website.com;... | [
"jevbburton@gmail.com"
] | jevbburton@gmail.com |
d3ce376cee6653517b6ef1f3b8ce07fd643fb42b | fd7f2eacb173116501e981ffc3638e7940802c15 | /OOP/school/2018-09-18/input.cpp | 7b0e2e4fb02709b2f0b67669d2edbea9f2c5677c | [] | no_license | mikirov/Elsys-2018-2019 | 543759c32b74f40a965a36dc15d1747ba9a4811d | 0dc3536e66eb314f56dec124a859228dce905e26 | refs/heads/master | 2023-01-27T17:18:31.631899 | 2019-05-30T03:54:12 | 2019-05-30T03:54:12 | 149,159,617 | 0 | 0 | null | 2023-01-19T09:44:37 | 2018-09-17T17:05:05 | C++ | UTF-8 | C++ | false | false | 201 | cpp | #include<iostream>
using namespace std;
int main(){
int value;
while(true){
cin >> value;
if(!cin){
cout<<"bad input"<< endl;
break;
}else{
cout << value << endl;
}
}
return 0;
}
| [
"shimonchick@gmail.com"
] | shimonchick@gmail.com |
873af766bdbf16eae30c97c5712ec7ae777df87e | fb7efe44f4d9f30d623f880d0eb620f3a81f0fbd | /net/quic/chromium/quic_chromium_alarm_factory.h | e033de183657c37ef82dcd012c0d1abe51bba30d | [
"BSD-3-Clause"
] | permissive | wzyy2/chromium-browser | 2644b0daf58f8b3caee8a6c09a2b448b2dfe059c | eb905f00a0f7e141e8d6c89be8fb26192a88c4b7 | refs/heads/master | 2022-11-23T20:25:08.120045 | 2018-01-16T06:41:26 | 2018-01-16T06:41:26 | 117,618,467 | 3 | 2 | BSD-3-Clause | 2022-11-20T22:03:57 | 2018-01-16T02:09:10 | null | UTF-8 | C++ | false | false | 1,525 | h | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// The Chrome-specific helper for QuicConnection which uses
// a TaskRunner for alarms, and uses a DatagramClientSocket for writing data.
#ifndef N... | [
"jacob-chen@iotwrt.com"
] | jacob-chen@iotwrt.com |
fa33cd4750a7a0eadfdd405168ba7ab65b42aef8 | 7cffa9b29f855c68ec5efcf049f596dc7be6bff6 | /src/color/xyz/make/ivory.hpp | e704719c9f2884fbef19b0f1daac5db9da8bdd22 | [
"Apache-2.0"
] | permissive | lzs4073/color | c4e12e26cfe96022e0a5e6736a7abaadf9912c14 | 290c2c1550c499465f814ba89a214cbec19a72df | refs/heads/master | 2020-04-03T07:16:33.120894 | 2016-02-02T16:18:25 | 2016-02-02T16:18:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,614 | hpp | #ifndef color_xyz_make_ivory
#define color_xyz_make_ivory
// ::color::make::ivory( c )
namespace color
{
namespace make
{ //RGB equivalents: std::array<double,3>( { 1, 1, 0.941176 } ) - rgb(255,255,240) - #fffff0
inline
void ivory( ::color::_internal::model< color::category::xyz_uint8 > & color... | [
"dmilos@gmail.com"
] | dmilos@gmail.com |
9a8191b068970c19ce29466c9fd653bddf09ab51 | e1eb7280a262852015288c05f4a45370d99b039e | /Source/rotation/Rotation.cpp | f97979584e455c144a6d9f58733b5b573b04137e | [
"BSD-3-Clause-LBNL",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | shardi2/Castro | e2e90656617a5e4c0ce191bd0e4c2065a76bf232 | 4d30cba1cafda080cb2c3459f1645d5f30a8ed0c | refs/heads/main | 2022-12-09T12:50:27.245602 | 2020-07-02T12:09:47 | 2020-07-02T12:09:47 | 283,568,009 | 0 | 0 | NOASSERTION | 2020-08-28T01:07:50 | 2020-07-29T18:01:06 | null | UTF-8 | C++ | false | false | 6,032 | cpp | #include "Castro.H"
#include "Castro_F.H"
#include "math.H"
#include "Rotation.H"
AMREX_GPU_HOST_DEVICE
void
Castro::rotational_acceleration(GpuArray<Real, 3>& r, GpuArray<Real, 3>& v,
GpuArray<Real, 3> const& omega,
const bool coriolis, Real* Sr) {
//... | [
"noreply@github.com"
] | shardi2.noreply@github.com |
4305dc81cd4783205187d4004e84ef1f178e2872 | ff9cf2d81ffcbed6b43efdcf0f551393888275a5 | /Easy/Trap.cpp | 4a2d04fdc6c1fa57db52f44459cc0e9ac3361584 | [
"MIT"
] | permissive | pranshu98/LeetCode-Problems | 0bad7c5b388fe5052f960f642402578a7b1add24 | 73c6e56caf6323b95e1ad3403f3635064287ece8 | refs/heads/main | 2023-08-15T23:23:27.389210 | 2021-10-05T15:26:16 | 2021-10-05T15:26:16 | 413,874,017 | 0 | 0 | MIT | 2021-10-05T15:25:38 | 2021-10-05T15:25:37 | null | UTF-8 | C++ | false | false | 624 | cpp | class Solution {
public:
int trap(int A[], int n) {
int left=0; int right=n-1;
int res=0;
int maxleft=0, maxright=0;
while(left<=right){
if(A[left]<=A[right]){
if(A[left]>=maxleft) maxleft=A[left];
else res+=maxleft-A[left];
... | [
"noreply@github.com"
] | pranshu98.noreply@github.com |
4d134aa688d5f1e1e81db196d9f6388e736f376d | 53c31ea2d780bb501790e559cf0934ed3f58e3b0 | /Hungre Jelly/Classes/Native/System_Core_U3CPrivateImplementationDetailsU3E3053238933.h | f64dfef5ba860fd4e339ac8df4bebbfa42c88286 | [] | no_license | rezajebeli97/Hungry-Jelly | 15765ce08c06c986808d5a16a69c06186f1a458b | 3f4cd88904ec292ca939877df226d8115060b567 | refs/heads/master | 2020-04-06T03:36:30.910871 | 2018-06-12T13:20:26 | 2018-06-12T13:20:26 | 64,659,937 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,100 | h | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#include "mscorlib_System_Object837106420.h"
#include "System_Core_U3CPrivateImplementationDetailsU3E_U242366141818.h"
#include "System_Core_U3CPrivateImplementationDetailsU3E_U24236... | [
"rezajebeli97@yahoo.com"
] | rezajebeli97@yahoo.com |
5d2824a810075602d6fea9dab22abce2e51ae6f6 | 596ed8d5d8e53ef7961af976f7a8449a6b591f18 | /src/output/workspace-impl.cpp | f78e76e84f0a55bdc5b225d49f8cbd6d5e5e01f8 | [
"MIT"
] | permissive | junglerobba/wayfire | 7938361336ef3cd48880adf597325b685d8151b3 | 26d00712590d219ac4aae12f2061dd9f5a39a2b4 | refs/heads/master | 2020-11-24T01:35:55.767021 | 2019-12-10T11:25:30 | 2019-12-10T11:25:30 | 227,907,498 | 0 | 0 | MIT | 2019-12-13T19:22:00 | 2019-12-13T19:21:59 | null | UTF-8 | C++ | false | false | 22,341 | cpp | #include <view.hpp>
#include <debug.hpp>
#include <output.hpp>
#include <core.hpp>
#include <workspace-manager.hpp>
#include <render-manager.hpp>
#include <signal-definitions.hpp>
#include <opengl.hpp>
#include <list>
#include <algorithm>
#include <nonstd/reverse.hpp>
namespace wf
{
/**
* output_layer_manager_t is a ... | [
"ammen99@gmail.com"
] | ammen99@gmail.com |
bc9b483ccf96b56559b22a7b68a0c9d1ae4696ff | d4ab7ac90d19c8c71647091013813ac65489ffbc | /ex3/Matrix.hpp | bfd1fb5f8ec07448c5f1749a542c522fab159440 | [] | no_license | oribro/C-Plus-Plus | d275271025319189ae0cde8caa45a6fb1f00a47c | f29cc9dd4d5f9676bf2c60ab81baac7810e5f06a | refs/heads/master | 2021-01-12T14:06:22.713676 | 2016-09-29T12:25:43 | 2016-09-29T12:25:43 | 69,565,035 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 25,686 | hpp | //
// Created by OriB on 06/09/2015.
//
#ifndef MATRIX_HPP
#define MATRIX_HPP
#include "Complex.h"
#include <iostream>
#include <thread>
#include <mutex>
#include <vector>
#include "TraceException.h"
#include "AdditionException.h"
#include "MultiplicationException.h"
#include "SubtractionException.h"
... | [
"orib@cs.huji.ac.il"
] | orib@cs.huji.ac.il |
9b9fee3ac0f9e6c297c105cab18f1c29b0494dcd | f83ef53177180ebfeb5a3e230aa29794f52ce1fc | /gdb/gdb-7.8.2/gdb/cp-abi.h | 7d4b7f309026bcd0e58ff8cb4329a137f8d2e1e3 | [
"GPL-3.0-or-later",
"GPL-1.0-or-later",
"BSD-3-Clause",
"GPL-3.0-only",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-warranty-disclaimer",
"AGPL-3.0-or-later",
"LGPL-3.0-only",
"LGPL-2.0-or-later",
"LicenseRef-scancode-other-copyleft",
"GPL-2.0-only",
"LGPL-2.0-only",
... | permissive | msrLi/portingSources | fe7528b3fd08eed4a1b41383c88ee5c09c2294ef | 57d561730ab27804a3172b33807f2bffbc9e52ae | refs/heads/master | 2021-07-08T01:22:29.604203 | 2019-07-10T13:07:06 | 2019-07-10T13:07:06 | 196,183,165 | 2 | 1 | Apache-2.0 | 2020-10-13T14:30:53 | 2019-07-10T10:16:46 | null | UTF-8 | C++ | false | false | 9,714 | h | /* Abstraction of various C++ ABI's we support, and the info we need
to get from them.
Contributed by Daniel Berlin <dberlin@redhat.com>
Copyright (C) 2001-2014 Free Software Foundation, Inc.
This file is part of GDB.
This program is free software; you can redistribute it and/or modify
it under th... | [
"lihuibin705@163.com"
] | lihuibin705@163.com |
a1facb1de91d572574c28f6ff760903f9b5ab46f | 879dc5681a36a3df9ae5a7244fa2d9af6bd346d7 | /EUS/boole_22_34.cpp | f0850a5a88d11d4760851801fce2469ea8002b5c | [
"BSD-3-Clause"
] | permissive | gachet/booledeusto | 9defdba424a64dc7cf7ccd3938d412e3e797552b | fdc110a9add4a5946fabc2055a533593932a2003 | refs/heads/master | 2022-01-18T21:27:26.810810 | 2014-01-30T15:20:23 | 2014-01-30T15:20:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,404 | cpp | // Do not edit. This file is machine generated by the Resource DLL Wizard.
//---------------------------------------------------------------------------
#define PACKAGE __declspec(package)
#define USERC(FileName) extern PACKAGE _Dummy
#define USERES(FileName) extern PACKAGE _Dummy
#define USEFORMRES(FileName, Form... | [
"luis.rodriguez@opendeusto.es"
] | luis.rodriguez@opendeusto.es |
598c51e9415b85d7e488c6fabfb6c97ae7115f6a | d3f28e804167124ea95a208dabd82d32c7599b0c | /Func.cpp | d93491eb7f59d63995db79a37625fbc6d4b7e17e | [] | no_license | Vlad-ole/Parser_signal_finder | 2912219e0fd361641f1771c3501536befa4f16d4 | c378e514ddd4f2a0081ad5755090bd9fb2a3ca80 | refs/heads/master | 2020-05-29T08:46:04.440580 | 2017-06-30T08:01:29 | 2017-06-30T08:01:29 | 69,550,531 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,261 | cpp | #include <iostream>
#include <vector>
#include <sstream>
#include "TF1.h"
#include "TGraph.h"
#include "Func.h"
using namespace std;
TGraph* gr0 = 0;
double fit_exp(double *x, double *par)
{
double time = x[0] - par[2];
double fitval;
if (time > 0)
{
fitval = par[0] + par[1] * exp(-time / par[3]);
}
else
... | [
"Vlad-ole@mail.ru"
] | Vlad-ole@mail.ru |
ffa754ad604b86a1c43fd641bb6f2e5e7d0b1558 | eb017064e9d0e109c050942967e9863bd8589002 | /Client/src/Client.cpp | 8ad4417258984ddd240c261cfcfbe56f3f3d4c4d | [] | no_license | talkad/SPLASS3 | 5b265fab6bb645b12756d77a9e39b7b65250d8d3 | 04f6e053ff768de2ad71fed2db025bbf4929744c | refs/heads/master | 2020-12-05T12:54:19.882261 | 2020-01-19T13:46:17 | 2020-01-19T13:46:17 | 232,116,699 | 0 | 0 | null | 2020-01-19T13:46:18 | 2020-01-06T14:21:45 | Java | UTF-8 | C++ | false | false | 1,621 | cpp | #include <connectionHandler.h>
#include <UserData.h>
#include <thread>
//#include <boost/asio.hpp>
using std::string;
void writeTask(ConnectionHandler* connectionHandler){
while (connectionHandler->isRunning()) {
const short bufsize = 1024;
char buf[bufsize];
std::cin.getline(bu... | [
"talkad@post.bgu.ac.il"
] | talkad@post.bgu.ac.il |
0e6cd347f1a37b5d49b1968c302f6c4e65c0828d | 92ff6acf7f099a1511833a734898988990b5090c | /Program_Framework/Core/subSystem/Timer.h | 8a414c3b1bdcf33845d9b6c33746e8e481c7ad87 | [] | no_license | king1495/My_OpenGL_Program_Framework | db1fd023f7ada028d90955d69265a83b07520870 | 65f7d5ca1a0e0f42d3655f8d743c2f2bf1d33360 | refs/heads/master | 2020-08-27T00:15:39.880734 | 2020-02-19T09:25:21 | 2020-02-19T09:25:21 | 217,189,654 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 664 | h | #pragma once
#include "ISubSystem.h"
class Timer final : public ISubSystem
{
public:
static Timer& GetInstance() {
static Timer* _instance = new Timer();
return *_instance;
}
void Update() {
_currentTime = glfwGetTime();
_elapsedTime = _currentTime - _oldTime;
_oldTime = _currentTime;
};
inline float ... | [
"king1495@naver.com"
] | king1495@naver.com |
9b545ce6494d85856b759a91647c36bb118a820e | 59b45f9f8960084fe8247860ddfc584237f87066 | /frameworks/runtime-src/Classes/AppDelegate.cpp | f61ae26d264debd909aa8a4c20df91431f42dea4 | [] | no_license | zhengqiangzi/pai | e6756db7b8ef8e9a4ee7bb41433b9848aac936dc | 183030f6d7dc29f84404ff797ebad98d769c90e9 | refs/heads/master | 2021-01-19T22:29:44.704723 | 2015-07-04T10:46:57 | 2015-07-04T10:46:57 | 38,530,689 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,788 | cpp | #include "AppDelegate.h"
#include "SimpleAudioEngine.h"
#include "jsb_cocos2dx_auto.hpp"
#include "jsb_cocos2dx_ui_auto.hpp"
#include "jsb_cocos2dx_studio_auto.hpp"
#include "jsb_cocos2dx_builder_auto.hpp"
#include "jsb_cocos2dx_spine_auto.hpp"
#include "jsb_cocos2dx_extension_auto.hpp"
#include "ui/jsb_cocos2dx_ui_ma... | [
"zhengqiangzi123@163.com"
] | zhengqiangzi123@163.com |
525f5a4142042821bdb80d4c695abd7bfa50e825 | 93ad5d825d1f40a4080c33ba728951f4a36c9a21 | /src/midi/tests/02-midi/05-notes/03-event-multicaster-tests.cpp | fe183c63ddb5673a97aa58c19c702e90bcd0c53b | [] | no_license | UCLeuvenLimburg/midi-project-student | 38f4971529b9e4d1d0e4a8346fa11844e8b3dc41 | dd19ca859073f0778ab9578d1545fc22383afdbd | refs/heads/master | 2022-05-11T03:50:37.067059 | 2022-03-28T12:16:07 | 2022-03-28T12:16:07 | 171,903,152 | 1 | 11 | null | 2020-06-07T18:08:12 | 2019-02-21T16:08:13 | Objective-C | UTF-8 | C++ | false | false | 7,937 | cpp | #ifdef TEST_BUILD
#define CATCH_CONFIG_PREFIX_ALL
#define TEST_CASE CATCH_TEST_CASE
#include "tests/tests-util.h"
#include <vector>
#include <functional>
using namespace testutils;
std::unique_ptr<uint8_t[]> copy_string_to_char_array(const std::string& string)
{
auto result = std::make_unique<uint8_t[]>(string.... | [
"frederic.vogels@ucll.be"
] | frederic.vogels@ucll.be |
9faf5de5cf5d5dce915aad2b0cbb105757b57dc1 | 73109b10cf5b40d704978914cd84bdc1800a4072 | /security.cpp | 87f7984691f6f9dd6ffd3cd44576c8a9256be15e | [] | no_license | TejaSaiInala/Elevator-Simulator | ac91d104e4f1469be8be7be1e31f3b5e5769515e | 552fb59e4b9c874107b17886da5094e9ab8791c4 | refs/heads/main | 2023-02-19T05:09:16.911591 | 2021-01-16T22:28:20 | 2021-01-16T22:28:20 | 330,269,814 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 820 | cpp | #include "security.h"
int security::cntSec = 0;
security::security()
{
counterIncrementor();
securityID = "SE" + to_string(cntSec);
}
void security::introduce()
{
cout << "Security function called \n";
cout << "Security ID: " << securityID << endl;
cout << "Current Floor: " << getCurrFloor() << en... | [
"noreply@github.com"
] | TejaSaiInala.noreply@github.com |
4d10e57b526720f420efb3e61da679acbc90ae7a | 469176a1cbce6090f2a168862442eb0277403f75 | /faceSwap/src/main/jni/dlib/dnn/cudnn_dlibapi.cpp | 80fecaef663ce36bc40e5e3a421b0f056444ad51 | [
"Apache-2.0",
"BSL-1.0"
] | permissive | adunye/Face-Swap-Android | a208798743c55f4f3c5f249cc8b6f52c02977057 | 7c203d6ef17dbff9d8be538dbfb2c2757ee446ae | refs/heads/master | 2020-03-28T03:44:26.905917 | 2018-09-06T17:30:41 | 2018-09-06T17:30:41 | 147,667,717 | 0 | 0 | Apache-2.0 | 2018-09-06T12:07:30 | 2018-09-06T12:07:30 | null | UTF-8 | C++ | false | false | 58,677 | cpp | // Copyright (C) 2015 Davis E. King (davis@dlib.net)
// License: Boost Software License See LICENSE.txt for the full license.
#ifndef DLIB_DNN_CuDNN_CPP_
#define DLIB_DNN_CuDNN_CPP_
#ifdef DLIB_USE_CUDA
#include "cudnn_dlibapi.h"
#include "tensor.h"
#include <cudnn.h>
#include <iostream>
#include <string>
#include... | [
"tn.emre@gmail.com"
] | tn.emre@gmail.com |
07e01b5d88b4084bc0813e1fe8a433248e2a2240 | 3b1b28a7b608de0aaec6318872d18a217dfce2b3 | /helper/lte-helper.h | 1486b9a4ead65166843e82565f482e660c419b45 | [] | no_license | piotrlech/ns-3-LTE-Carrier-Aggregation | e31002f12c57e2bba1f7d02dcc5ef5b396c17daa | e7aa0234efbaaec30dd19712225a64ca89090d1e | refs/heads/master | 2021-01-10T06:17:59.825304 | 2016-04-13T10:01:16 | 2016-04-13T10:01:16 | 55,409,334 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 28,837 | h | /* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */
/*
* Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC)
* Copyright (c) 2015 Danilo Abrignani
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public Licen... | [
"piotr.lechowicz@gmail.com"
] | piotr.lechowicz@gmail.com |
d5f272f2eccc00eeeff24e75c2136b99582dfb75 | 71ee93e10a94fbfe6375352dc6da5ca2e41e802c | /cmsc341-data_structures/proj2-eurorails/src/Game.cpp | 0f50d3594b9840b173014da560d469a035f54c78 | [] | no_license | dangbert/college | ef25b08bd16bfb48d514d0668354a01342c9e104 | b137658af27f86297ca70665ff5c487be06076ac | refs/heads/master | 2022-12-15T19:37:46.603666 | 2021-11-23T19:30:44 | 2021-11-23T19:30:44 | 191,094,083 | 1 | 0 | null | 2022-11-22T02:43:47 | 2019-06-10T04:01:26 | C | UTF-8 | C++ | false | false | 4,457 | cpp | #include "Game.h"
#include <fstream>
#include <sstream>
using namespace std;
/*
* constuctor
* @param coms_filename: filename of the commodities text file
* @param cards_filename: filename of the cards text file
*/
Game::Game(std::string cards_filename, std::string coms_filename) {
// TODO: check these files ... | [
"end1@umbc.edu"
] | end1@umbc.edu |
e3f2d186d74b1eec66e412b99ccfdd54b6435c67 | 86683a8d36c44321c92e9c9a8ea6f0602c4f8452 | /src/good/res/res.h | eb1c2c5bfe480ca4aec2431134d55d42b6652974 | [] | no_license | cnyaw/good | 157ca8b8c6560f7cd1f56141b93331fb973e95c7 | c7a6564c2421e0685790550734cea5194eed619c | refs/heads/master | 2023-09-04T11:06:03.035298 | 2023-08-31T07:57:37 | 2023-08-31T07:57:37 | 107,022,657 | 10 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,988 | h |
//
// res.h
// Good resource manager.
//
// Copyright (c) 2007 Waync Cheng.
// All Rights Reserved.
//
// 2007/11/29 Waync created.
//
#pragma once
namespace good {
class Traits
{
public:
typedef Sound SoundT;
typedef Texture TextureT;
typedef Map<Tileset> MapT;
typedef Sprite<Tileset> SpriteT;
typedef Ob... | [
"wayncc@gmail.com"
] | wayncc@gmail.com |
c6f514a045e137d961b2fb6c20e57f721714d523 | 8173234f279a012d0cb813473f2e7ce15573ab5e | /code/classCode/pets/PetsV2/main.cpp | 90a34864170f730ff6b3c1c35352a131f5c6e5cb | [] | no_license | Rvansolkem/ESU-SoftwareEngineering | 31bb3a4950082d62462927f43c485cc698141540 | cbb2b913fc73914c0989b093e210c01be2a277bc | refs/heads/master | 2023-01-19T23:34:04.010267 | 2020-11-24T00:48:35 | 2020-11-24T00:48:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 395 | cpp | // Written by Nick Moukhine, 2006
#include <iostream>
#include "PetCat.h"
#include "PetDog.h"
#include "PetStore.h"
using namespace std;
int main(void)
{
//PetStore(new PetDog());
IPet* p = NewPet();
// do the following if you want to keep the console window visible while executing from windows (n... | [
"smcrowley8@gmail.com"
] | smcrowley8@gmail.com |
f5ec7db8cc5d96eb8702c8b8656426815e1e80a5 | 8f021f68cd0949afa8d119582c0b419b014919d8 | /UVA/uva11906.cpp | e0489cdb19d6dd5f125197ea9b3a13f56e857210 | [] | no_license | Jonatankk/codigos | b9c8426c2f33b5142460a84337480b147169b3e6 | 233ae668bdf6cdd12dbc9ef243fb4ccdab49c933 | refs/heads/master | 2022-07-22T11:09:27.271029 | 2020-05-09T20:57:42 | 2020-05-09T20:57:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,533 | cpp | /*
* Leonardo Deliyannis Constantin
* UVa 11906 - Knight in a War Grid
*/
#include<stdio.h>
#include<string.h>
#include<stack>
#include<algorithm>
#include<vector>
using namespace std;
#define MAX 112
typedef pair<int, int> ii;
int R, C, M, N;
bool vis[MAX][MAX];
bool wet[MAX][MAX];
bool isValid(int i, int j){
... | [
"noreply@github.com"
] | Jonatankk.noreply@github.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.