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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2c2c06b8206159499c576d585b7ffd1fcd635df8 | 0f8594c7fadedb0c9f1e447d3d19a2f3276b4975 | /Client/Classes/Net/pk_pet.h | af8ee26ea16f75a5407ba8a450d10106e58029f9 | [] | no_license | SmallRaindrop/LocatorApp | 37c427dd1e4cb7376cd5688ab7921b9f1490ac45 | 8212b1ec32b964e61e886bbbea8d26392e2b25d8 | refs/heads/master | 2021-01-09T22:49:02.586485 | 2015-10-14T04:55:44 | 2015-10-14T04:55:44 | 42,594,771 | 1 | 2 | null | 2015-09-16T15:19:42 | 2015-09-16T15:08:22 | null | UTF-8 | C++ | false | false | 2,546 | h |
#pragma once
#include <vector>
#include "NetMsg.h"
class IOSocket;
using namespace std;
namespace pk{
struct GS2C_PET_EXP_UPDATE
{
int32 exp;
};
void WriteGS2C_PET_EXP_UPDATE(stNetMsg& msg,GS2C_PET_EXP_UPDATE& value);
bool OnGS2C_PET_EXP_UPDATE(GS2C_PET_EXP_UPDATE* value);
void ReadGS2C_PET_EXP_UPDATE(stNet... | [
"191511706@qq.com"
] | 191511706@qq.com |
4f75b1941d12f169867ebf66022e77417e768239 | 7c9136d87b8895ac6532ef2af58edf3ecc29d175 | /OrderNumDlg.cpp | 2d44edac61270708887e995b11b7ed059f933ea4 | [] | no_license | khhubb/csda-new-ssb | 038d75858cba1e029f4f1315d6ebba95e5d9fb91 | 96eaf896ba6c91914f69671171f5488cf0fb5d3f | refs/heads/master | 2020-07-01T03:36:45.777439 | 2016-08-17T22:00:09 | 2016-08-17T22:00:09 | 74,102,071 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,202 | cpp | // OrderNumDlg.cpp : implementation file
//
#include "stdafx.h"
#include "csda.h"
#include "OrderNumDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
#include "Snapshot.h"
#include "SpecMgr.h"
////////////////////////////////////////////////... | [
"dmiller2718@gmail.com"
] | dmiller2718@gmail.com |
9abbeb98c7239777a53913ef51d4d194397a7f79 | 1c9d2c8488dd76250e39e6875429edbbf24de784 | /groups/bsl/bsls/bsls_deprecate.h | 4f4ac89197aafbdb74ecd65ca93e169c0d05b9f5 | [
"Apache-2.0"
] | permissive | villevoutilainen/bde | 9cc68889c1fac9beca068c9ca732c36fd81b33e9 | b0f71ac6e3187ce752d2e8906c4562e3ec48b398 | refs/heads/master | 2020-05-15T03:43:36.725050 | 2019-10-03T12:28:54 | 2019-10-03T12:28:54 | 182,071,409 | 1 | 1 | Apache-2.0 | 2019-10-03T12:28:55 | 2019-04-18T10:59:27 | C++ | UTF-8 | C++ | false | false | 35,210 | h | // bsls_deprecate.h -*-C++-*-
#ifndef INCLUDED_BSLS_DEPRECATE
#define INCLUDED_BSLS_DEPRECATE
//@PURPOSE: Provide machinery to deprecate interfaces on a per-version basis.
//
//@MACROS:
// BSLS_DEPRECATE: tag an interface as deprecated
// BSLS_DEPRECATE_IS_... | [
"osubbotin@bloomberg.net"
] | osubbotin@bloomberg.net |
c62ed9fe30844db1df9aba5f599315d1ec5fd826 | 7f69b6734aecc5481896989eae9b39503eb43f74 | /map.cpp | b052b03740c0e172417265f67617213a03ca9720 | [] | no_license | xor123x/Eac-Bypass | 56df0c17ec91593f617be64441634fd5d6f4dd8f | 1b9b9e66b61f0fc935ccad364af0c49b928ce210 | refs/heads/master | 2023-04-07T17:54:34.392869 | 2021-04-14T15:48:13 | 2021-04-14T15:48:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,477 | cpp | #include "stdafx.h"
// CBA to make this cleaner
namespace Map {
PIMAGE_SECTION_HEADER TranslateRawSection(PIMAGE_NT_HEADERS nt, DWORD rva) {
auto section = IMAGE_FIRST_SECTION(nt);
for (auto i = 0; i < nt->FileHeader.NumberOfSections; ++i, ++section) {
if (rva >= section->VirtualAddress && rva < section... | [
"noreply@github.com"
] | xor123x.noreply@github.com |
6f2c68fafce223d30ef9fedecdf0b322f54d9e84 | 068bcb8c2d7a3ac61e782d7f25d9cd9da556ad0a | /mra_ros_control/ros_controllers/joint_trajectory_controller/include/joint_trajectory_controller/init_joint_trajectory.h | 0c3b3fdca68e51c222db5a368b33df188d7a995e | [] | no_license | WanderROS/my_ros_ws | 87bc72daab723a329fc5ebd558832c007b54deda | 4e2d9bdcdf3db6817d5df4dbc4ee337610feb496 | refs/heads/master | 2020-03-23T19:14:13.452488 | 2018-07-23T12:31:49 | 2018-07-23T12:31:49 | 141,962,251 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,036 | h | ///////////////////////////////////////////////////////////////////////////////
// Copyright (C) 2013, PAL Robotics S.L.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
// * Redistributions of source code must reta... | [
"1194409532@qq.com"
] | 1194409532@qq.com |
52402764cd90622358983149c97559670347adcb | 8e76195f708d7bb715600d3ee6b995bef542660d | /ae.h | 942350670464b52a7a864b7568589bef6b620866 | [] | no_license | DsSysWay/epoll | d0608f83580ed5b4f2c90b0cbd252a5dd87aac6c | 700b56675e873f40332a5c2afcc8faff8978a658 | refs/heads/master | 2020-07-30T19:03:12.413285 | 2016-11-13T15:15:10 | 2016-11-13T15:15:10 | 73,623,506 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,088 | h | #ifndef _AE_H_
#define _AE_H_
/*
* =====================================================================================
*
* Filename: ae.cpp
*
* Description:
*
*
* Version: 1.0
* Created: 11/09/2016 08:17:15 AM
* Revision: none
* Compiler: gcc
*
* Author: ... | [
"linuxserverlover@gmail.com"
] | linuxserverlover@gmail.com |
f66c4653bcd64fdd35b424424b7338cc8ea29464 | 2cd6edd02450849015bf535eb473a750dace67a8 | /final-project/repositories/Deep_Learning_Inference_Accelerator_with_CNNIOT/MSOC_final-main/finalpool_hls/channel_pip/syn/systemc/pool_write_3.cpp | 7352e70d096af2f1d0e46eeb8fb8acb2bdd741b4 | [
"MIT"
] | permissive | prajwaltr/MSoC-HLS | fde436f7031cc7477a93f079a1b3407558988e07 | d876b6bdfe45caba63811b16b273a9723e9baf65 | refs/heads/main | 2023-06-05T00:52:40.419332 | 2021-06-15T02:30:37 | 2021-06-15T02:30:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 241,305 | cpp | #include "pool_write.h"
#include "AESL_pkg.h"
using namespace std;
namespace ap_rtl {
void pool_write::thread_and_ln189_10_fu_3460_p2() {
and_ln189_10_fu_3460_p2 = (or_ln189_10_fu_3452_p2.read() & or_ln189_11_fu_3456_p2.read());
}
void pool_write::thread_and_ln189_11_fu_3466_p2() {
and_ln189_11_fu_3466_p2 =... | [
"es921088@gmail.com"
] | es921088@gmail.com |
e1ce1eb53be24609bf65f48899d5e2f97a233138 | 2ba94892764a44d9c07f0f549f79f9f9dc272151 | /Engine/Source/Programs/SymbolDebugger/Private/SSymbolDebugger.cpp | cf660cfcb5750b104098359019c5ee848c1d39f8 | [
"BSD-2-Clause",
"LicenseRef-scancode-proprietary-license"
] | permissive | PopCap/GameIdea | 934769eeb91f9637f5bf205d88b13ff1fc9ae8fd | 201e1df50b2bc99afc079ce326aa0a44b178a391 | refs/heads/master | 2021-01-25T00:11:38.709772 | 2018-09-11T03:38:56 | 2018-09-11T03:38:56 | 37,818,708 | 0 | 0 | BSD-2-Clause | 2018-09-11T03:39:05 | 2015-06-21T17:36:44 | null | UTF-8 | C++ | false | false | 13,416 | cpp | // Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
#include "SymbolDebuggerApp.h"
#include "SSymbolDebugger.h"
#include "SThrobber.h"
TSharedRef<SWidget> SSymbolDebugger::GenerateActionButton(ESymbolDebuggerActions InAction)
{
FText ActionName;
switch (InAction)
{
case DebugAction_Inspect:
ActionName ... | [
"dkroell@acm.org"
] | dkroell@acm.org |
046ba30136ec12f296a16758564f56d01ae3dd14 | bdb2c1cc4f18c541a2b556ed61b9c09320a27329 | /CodeChef_Beginner/October/Simple_Factorial.cpp | af8d3c7fc24617bae950630d3774ed7bf41a1b6f | [] | no_license | ajoel24/CPwithCPP | 81c18c301248d5542cd75ca4c03440e8896676a9 | fd98fb9d98a0fe516234328672a39df8414e59f3 | refs/heads/master | 2022-03-06T08:19:50.559876 | 2019-11-14T14:32:12 | 2019-11-14T14:32:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 360 | cpp | /*
Link for this problem:
https://www.codechef.com/problems/FCTRL2
*/
#include<bits\stdc++.h>
using namespace std;
double fact(double n) {
return ((n == 0 || n == 1) ? 1 : (n * fact(n - 1)));
}
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
double n, a;
cin >> n;
while(n--) {
cin >> a;
pri... | [
"drew.devops@gmail.com"
] | drew.devops@gmail.com |
398054295159a1fdf5764deeca6d9dfddf2dd28e | a4a2afa8a2f355714d2498a6c67b067edcf18c2b | /Button.cpp | f5130ec5020dd83f921690975319be6db5f892ac | [] | no_license | michaelslec/Minesweeper | 64dd3ccf892e50a2cd4ee290f93332bdc71506b9 | 342544246096f36722431bc63875a510f9c7453e | refs/heads/main | 2023-02-16T04:05:30.240053 | 2020-12-23T21:30:38 | 2020-12-23T21:30:38 | 324,004,256 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 590 | cpp | #include "Button.h"
Button::Button(float xOffset, sf::Texture& texture)
{
// texture, position, size
this->setTexture(&texture);
this->setPosition(xOffset * 32, this->height);
this->setSize(sf::Vector2f(this->size, this->size));
this->calcCoords(xOffset);
}
void Button::calcCoords(float xOffset) {... | [
"michaelslec98@gmail.com"
] | michaelslec98@gmail.com |
17ee1be319b5c4a58034547a826988cff0b8239c | 90babff107bb2668750ea695ad7e6573c8cddfda | /B3/container.hpp | 7952211dd7e089e6daf613da0a46af42392cc7cd | [] | no_license | sodafago/Programming-technology-labs | 175006cdcd0466481830d196cb7d1ebcea46d3a7 | b973460e5014689f643bbea1255f33468162e7a4 | refs/heads/main | 2023-08-03T14:27:32.760923 | 2021-09-22T09:00:44 | 2021-09-22T09:00:44 | 409,130,702 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,003 | hpp | #ifndef __CONTAINER_HPP__
#define __CONTAINER_HPP__
#include <iterator>
class Container
{
public:
class Iterator;
static Iterator begin() noexcept;
static Iterator end() noexcept;
private:
static size_t BEGIN_VAL;
static size_t END_VAL;
};
class Container::Iterator : public std::iterator<std::bidirectio... | [
"78441035+sodafago@users.noreply.github.com"
] | 78441035+sodafago@users.noreply.github.com |
e3c7e21ff1e3d0a2a1c2b45f9d34e976ecedbb7b | 0315e5e5cd83a74d665ea718b0420f56d344fe98 | /src/qt/rpcconsole.cpp | 7a571f393500e5652c2304fd37a50ac547787fab | [
"MIT"
] | permissive | botanik26rus/donatecoin | 5de5c2eec9b7961166a73445bd5d556d22ea1c47 | 51232688c04b6c284c6aae8380bfeafacb85d7f6 | refs/heads/master | 2021-08-31T09:15:59.155061 | 2017-12-20T22:02:07 | 2017-12-20T22:02:07 | 114,866,116 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,288 | cpp | #include "rpcconsole.h"
#include "ui_rpcconsole.h"
#include "clientmodel.h"
#include "bitcoinrpc.h"
#include "guiutil.h"
#include <QTime>
#include <QTimer>
#include <QThread>
#include <QTextEdit>
#include <QKeyEvent>
#include <QUrl>
#include <QScrollBar>
#include <boost/tokenizer.hpp>
#include <openssl/crypto.h>
//... | [
"botanik@antilam.ru"
] | botanik@antilam.ru |
aadb30703f21db0658bbdedd0c13bcb54bf36f5d | fe413f8747ddddc011f4dd6783cc084881da870a | /Code/application/Model/.svn/text-base/FileDescriptorImp.h.svn-base | 382d30ed511d1635c7ae2f10c2ced54f17450e3c | [] | no_license | GRSEB9S/opticks-cmake | f070b7ee32e5fff03de673c178cd6894113bc50b | 497f89ccbcbf50c83304606eb586302eec3e6651 | refs/heads/master | 2021-05-27T08:16:26.027755 | 2011-08-13T06:03:04 | 2011-08-13T06:03:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,657 | /*
* The information in this file is
* Copyright(c) 2007 Ball Aerospace & Technologies Corporation
* and is subject to the terms and conditions of the
* GNU Lesser General Public License Version 2.1
* The license text is available from
* http://www.gnu.org/licenses/lgpl.html
*/
#ifndef FILEDESCRIPTORIMP_H
#d... | [
"wzssyqa@gmail.com"
] | wzssyqa@gmail.com | |
a3f0c340ed0a39e60c728d7fef468623ddcbba68 | a33aac97878b2cb15677be26e308cbc46e2862d2 | /program_data/PKU_raw/69/332.c | 1311b718ded853e522c4322246a9ac704534c1e2 | [] | no_license | GabeOchieng/ggnn.tensorflow | f5d7d0bca52258336fc12c9de6ae38223f28f786 | 7c62c0e8427bea6c8bec2cebf157b6f1ea70a213 | refs/heads/master | 2022-05-30T11:17:42.278048 | 2020-05-02T11:33:31 | 2020-05-02T11:33:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 574 | c |
int main()
{
char a1[251],a2[251];
int b1[251],b2[251];
memset(b1,0,sizeof(b1));
memset(b2,0,sizeof(b2));
cin.getline(a1,251);
cin.getline(a2,251);
int l1=strlen(a1),l2=strlen(a2);
int i,j;
for(i=0,j=l1-1;j>=0;i++,j--)
b1[i]=a1[j]-'0';
for(i=0,j=l2-1;j>=0;i++,j--)
b2[i]=a2[j]-'0'... | [
"bdqnghi@gmail.com"
] | bdqnghi@gmail.com |
27d1f136963b2c350078f15234655cbd3cae975f | 4de6a4972a4da9b5bc3d0d776c529047423f3dab | /Common/src/MapController.cpp | bbef9d829eb6ceb89f79ff5dd2d90a59fdafce6e | [] | no_license | YaskOne/R-Type | ad6a3ac331b8391521521bbe6f2c873f61a434a4 | 7eb873203d350207e5d2efacc3dd81033f374caf | refs/heads/master | 2020-12-24T19:37:13.678440 | 2016-04-12T15:53:33 | 2016-04-12T15:53:33 | 56,076,831 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,733 | cpp | #include <iostream>
#include <algorithm>
#include "MapController.hh"
#include "ObjectInfo.hpp"
#include "Alien.hh"
#include "Player.hh"
unsigned int _maxId;
MapController::MapController()
: _deserializedMap(new std::vector<IServerPacket<ServerUDPResponse>*>)
{
_alienCount = 0;
}
MapController::~MapController()... | [
"ngo-va_a@epitech.eu"
] | ngo-va_a@epitech.eu |
5d6730aa63583805f7a495439f9cc3a8d3946950 | 99293a5098087565587e5b6904c240837f1aa33a | /17-8-13/1.cpp | 38e15b7e70bfe8324d2081ad17429d8e6bb35a70 | [] | no_license | 3013216006/ACM | 1a97b571a0d464c27733ed6660438e55c7085d6a | bd37587e9a079a0ade0c6fc29b8d522eb39f8973 | refs/heads/master | 2020-05-21T14:32:43.810301 | 2017-08-24T13:23:03 | 2017-08-24T13:23:03 | 84,624,689 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 583 | cpp | #include <iostream>
#include <stdio.h>
using namespace std;
long long mod=1000000007ll;
long long a[1010],inv[1010];
long long getpow(long long x,long long k){
long long ret=1;
while(k){
if(k&1) ret=ret*x%mod;
x=x*x%mod;
k>>=1;
}
return ret;
}
void init(){
a[0]=1;
inv[0]=1;
for(int i=1;i<=1000;i++){
... | [
"fuxuzhoude@126.com"
] | fuxuzhoude@126.com |
21aa0a0a967a01e15dd9291b71d6bd992d51843d | 1ab7b3f2aa63de8488ce7c466a67d367771aa1f2 | /Ricardo_OS/Ricardo_OS/lib/ArduinoJson-6.x/extras/tests/Numbers/parseInteger.cpp | fb2ed3db658bb319636f72c406cb42ecc6b8a67d | [
"MIT"
] | permissive | icl-rocketry/Avionics | 9d39aeb11aba11115826fd73357b415026a7adad | 95b7a061eabd6f2b607fba79e007186030f02720 | refs/heads/master | 2022-07-30T07:54:10.642930 | 2022-07-10T12:19:10 | 2022-07-10T12:19:10 | 216,184,670 | 9 | 1 | MIT | 2022-06-27T10:17:06 | 2019-10-19T09:57:07 | C++ | UTF-8 | C++ | false | false | 2,101 | cpp | // ArduinoJson - arduinojson.org
// Copyright Benoit Blanchon 2014-2021
// MIT License
#include <stdint.h>
#include <ArduinoJson/Numbers/parseNumber.hpp>
#include <ArduinoJson/Variant/VariantImpl.hpp>
#include <catch.hpp>
using namespace ARDUINOJSON_NAMESPACE;
template <typename T>
void checkInteger(const char* inpu... | [
"kiran@MacBook-Pro-3.local"
] | kiran@MacBook-Pro-3.local |
78f5c463c662473cc5cb9b6e3d885d3d8f1b4a61 | d282643600d8c1b1e72b130991786d299000458b | /src/environment.cpp | 54ab03647dfeb5590b419ce3b74e75ec6f8667b1 | [] | no_license | dzz/nldproc | d5b6b4bb2dc66713bb0905f49dbcdb7fe2383734 | 58526bdc65d13c29846dd5881a4beb26601e48eb | refs/heads/master | 2021-01-22T22:21:07.756500 | 2017-04-21T23:44:59 | 2017-04-21T23:44:59 | 85,534,934 | 0 | 1 | null | 2017-04-25T22:30:05 | 2017-03-20T04:21:38 | C++ | UTF-8 | C++ | false | false | 3,873 | cpp | #include "environment.h"
#include <fstream>
#include <chrono>
#include <iostream>
#include <vector>
#include <algorithm>
#include "processor.h"
using namespace std::chrono;
namespace nldproc {
const unsigned int CALIBRATION_SECS = 1;
static std::vector<processor*> calibration_reqs;
static high_reso... | [
"devon.zachary@gmail.com"
] | devon.zachary@gmail.com |
9b3bf9eea83745046caee98eb04be6dc2b769cfd | 5d03cff841c4168edd300f800b77d385811ae9f2 | /GDESAddFunc/GDESAddFunc_DllMain.cpp | b0a53d1ccc0a9a0d901791e7d7e2036487a56d57 | [] | no_license | isliulin/GDES | d08e0ae0d8c85e9acac6cc6b297b5d4f366a3f10 | 0fa2e36c4b50a71fa778bd4f706ab3a0a4805d0d | refs/heads/master | 2023-03-18T05:14:31.476205 | 2015-11-04T09:06:34 | 2015-11-04T09:06:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,405 | cpp | // (C) Copyright 2002-2007 by Autodesk, Inc.
//
// Permission to use, copy, modify, and distribute this software in
// object code form for any purpose and without fee is hereby granted,
// provided that the above copyright notice appears in all copies and
// that both that copyright notice and the limited warranty ... | [
"hunanhd@163.com"
] | hunanhd@163.com |
7f531d8740000349aa5ca06f09b5c2603d50d633 | dd80a584130ef1a0333429ba76c1cee0eb40df73 | /external/clang/include/clang/AST/PrettyPrinter.h | adfd1ac936b9f2da4b2aff671b1134753bf02d75 | [
"MIT",
"NCSA"
] | permissive | karunmatharu/Android-4.4-Pay-by-Data | 466f4e169ede13c5835424c78e8c30ce58f885c1 | fcb778e92d4aad525ef7a995660580f948d40bc9 | refs/heads/master | 2021-03-24T13:33:01.721868 | 2017-02-18T17:48:49 | 2017-02-18T17:48:49 | 81,847,777 | 0 | 2 | MIT | 2020-03-09T00:02:12 | 2017-02-13T16:47:00 | null | UTF-8 | C++ | false | false | 5,190 | h | //===--- PrettyPrinter.h - Classes for aiding with AST printing -*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | [
"karun.matharu@gmail.com"
] | karun.matharu@gmail.com |
1863dd3967627ae8489c933d1815afe80082d0ac | f957ee9980e26e0feec548c205893359facc651b | /backend/fpga_input_device.cpp | dcd9a94f1a510cd2087c3739f11c50965947e47e | [
"MIT"
] | permissive | llandis/DESim | 11c74d69a8ac130403f9ca23cac67bd9745e8442 | c6718b81147bb7f48568d94cecf478c9608da418 | refs/heads/main | 2023-06-11T23:56:20.344056 | 2021-06-29T02:24:46 | 2021-06-29T02:24:46 | 381,216,810 | 0 | 0 | MIT | 2021-06-29T02:32:37 | 2021-06-29T02:32:36 | null | UTF-8 | C++ | false | false | 2,490 | cpp | // Copyright (c) 2020 FPGAcademy
// Please see license at https://github.com/fpgacademy/DESim
#include "fpga_input_device.h"
fpga_input_device::fpga_input_device(int device_num, PLI_INT32 value_format, const char *initial_value,
vpiHandle device_handle) {
if (device_num <= 0) {
std::cerr << "error: numbe... | [
"74740408+fpgacademy@users.noreply.github.com"
] | 74740408+fpgacademy@users.noreply.github.com |
7cba13ccbd72cd7dda82aab173fad6e25e88f3b9 | e7be2ee48f952308f5672240c2c833d718d9d431 | /Juliet_Test_Suite_v1.3_for_C_Cpp/C/testcases/CWE789_Uncontrolled_Mem_Alloc/s02/CWE789_Uncontrolled_Mem_Alloc__new_char_listen_socket_44.cpp | c7cd4c14813ee48df92fac0bd78c5d0ed2e4521b | [] | no_license | buihuynhduc/tooltest | 5146c44cd1b7bc36b3b2912232ff8a881269f998 | b3bb7a6436b3ab7170078860d6bcb7d386762b5e | refs/heads/master | 2020-08-27T20:46:53.725182 | 2019-10-25T05:42:36 | 2019-10-25T05:42:36 | 217,485,049 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,458 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE789_Uncontrolled_Mem_Alloc__new_char_listen_socket_44.cpp
Label Definition File: CWE789_Uncontrolled_Mem_Alloc__new.label.xml
Template File: sources-sinks-44.tmpl.cpp
*/
/*
* @description
* CWE: 789 Uncontrolled Memory Allocation
* BadSource: listen_socket Read data u... | [
"43197106+buihuynhduc@users.noreply.github.com"
] | 43197106+buihuynhduc@users.noreply.github.com |
bf1acbb0659183b545148e8f6b082ec73d01a26c | 06a2922bdb918f49607e42cca9cb39a848c0ba8d | /P7/CuentaCheques.cpp | 861f9b217f9953fb67468ba42f47a77c8eb9ea17 | [] | no_license | Tenkoni/OOP-FI-Course | b88dedee7e62db73ec784ca190d03218fc0e3303 | eb8bca92fd86c1527801ce5785e1f6876b791bb0 | refs/heads/master | 2021-04-12T12:30:09.431210 | 2018-04-07T01:17:07 | 2018-04-07T01:17:07 | 126,423,632 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,846 | cpp | #include "CuentaCheques.hpp"
/**
* @brief Construye la clase CuentaCheques con dos argumentos
*
* @param[in] _cantidad El saldo con el que se creará la cuenta
* @param[in] _cuota La cuota que se le cobrará por transacción
*/
CuentaCheques::CuentaCheques (double _cantidad, double _cuota) :
... | [
"noreply@github.com"
] | Tenkoni.noreply@github.com |
19f9fb26471395bdb4574d31d0e3195925f91033 | bb7874f3251cdf25d911995edffff832ae888130 | /Exam practice/ScreenWriting/mainwindow.h | 7df2a34b2f50ae6ec230ded28af2ca8386740eed | [] | no_license | teodoraalexandra/Object-Oriented-Programming | 35b11ba915c88c513ce85ba1d498892444b90a56 | fcb4e93bd0eed7751fcbc23773c5ce38995367c0 | refs/heads/master | 2021-05-20T20:43:28.320959 | 2020-04-02T10:05:48 | 2020-04-02T10:05:48 | 252,410,240 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 328 | h | #ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include <QAbstractTableModel>
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
explicit MainWindow(QWidget *parent = nullptr);
~MainWindow();
private:
Ui::MainWindow *ui;
};
#endif // MAINW... | [
"33027937+teodoraalexanra@users.noreply.github.com"
] | 33027937+teodoraalexanra@users.noreply.github.com |
d9f91d338b4c150c85e9eb76953faf204800df37 | 1b7aaacfc9c1dde638cdb4c3de64da38d03edcad | /polynomial/main.cpp | 7622bce08de4f6024d71e1e97147bff29f5029ca | [] | no_license | khanhle10/Program-Methodology | 4b2b852ee2ee4dba92b5f26c0ab3e270d30f45d8 | a757ba46f445f61b0ae31002572ab869c6aaa114 | refs/heads/master | 2021-01-10T20:04:47.475818 | 2015-03-30T21:46:30 | 2015-03-30T21:46:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,306 | cpp | /*
Khanh Le
CSC 340
HW#4 Polynomial
Create a Polynomial by prompting the USer to input
Use separate compilation to implement a polynomial ADT that manipulates polynomials
in a single variable x (e.g., p = 4 x5
+ 7 x 3 – x2
+ 9 ). For this problem, consider only
polynomials whose exponents are nonnegat... | [
"khanhle10@hotmail.com"
] | khanhle10@hotmail.com |
89009a12d9fd111ecdeeff942788e9d3e0fd4a93 | 2974c9c1df66ddf36b6d98c48cc7b1bc942ac203 | /generic_min/generic_min/version_1/src/driver_min.cpp | f4006c1d6bcb0bca9bfadab152c982dd4e5c7e44 | [] | no_license | luizfilipesm/test1-PL1 | dab1d13efa1dde325689fa3756347919d6765b2f | a62300e655569ec1fd85c5e8e8775eef07003565 | refs/heads/master | 2020-03-29T18:58:46.933122 | 2018-09-23T22:16:14 | 2018-09-23T22:16:14 | 150,241,602 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,492 | cpp | /*!
* \file driver_min.cpp
* This is the second version.
*/
#include <iostream>
#include <iterator>
#include <iomanip>
#include <sstream>
//=== New type
enum food_t : int { NATURAL=0, PROCESSED=1 };
/// Represents a food
struct Food {
// Nutrition facts per 100g.
food_t type;
std::string name;
in... | [
"lfsmariz@gmail.com"
] | lfsmariz@gmail.com |
da1f4a957728340934a380947ce03f9dbb4847b8 | a0ee991a897eb0ffdf214410e8eed698625fa199 | /page216IntListModel/intListModel.cpp | a3751837bb472726f527370b16097d8f151cd74a | [] | no_license | glazatkina/qt_Labs | a6d7f1dd79bededcc3e64c7e7b2fa3b0b71ef112 | 41a0499535121983268f90de51326b73111e88e3 | refs/heads/master | 2021-01-20T20:18:04.006736 | 2016-07-21T07:54:04 | 2016-07-21T07:54:04 | 62,678,781 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,209 | cpp | #include <QtWidgets>
#include "intListModel.h"
IntListModel::IntListModel(const QList<int>& list, QObject* pobj /*=0*/) : QAbstractListModel(pobj), m_list(list) {}
QVariant IntListModel::data(const QModelIndex& index, int nRole) const {
if (!index.isValid()) {
return QVariant();
}
return (nRole == Qt::DisplayRol... | [
"glazatkina@gmail.com"
] | glazatkina@gmail.com |
a0ca60239e137fbb12cb3fd600238ba3b1a28d7d | 4fe701e816975bef92a7f454cc4b69f7c20049e2 | /Graphics/NURBSMesh.h | 531116fe81818b30d67925f6c2894f2e9541115a | [] | no_license | sjgg555/NURBS_exploration | 407afdce9f0354eb99b6d44d2fddebd654f8e39d | 4356a56adbd46e30f21105972dc7a406389dedd0 | refs/heads/master | 2023-01-06T05:51:12.329264 | 2020-10-11T01:21:27 | 2020-10-11T01:21:27 | 300,918,916 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 686 | h | #pragma once
#include "Cube.h"
#include "tinysplinecpp.h"
using namespace tinyspline;
class NURBSMesh :
public Cube
{
public:
NURBSMesh(int resolution, int controlPointNum, int degree);
~NURBSMesh();
void SetControlPoint(int index, Vector3 newPos);
Vector3 GetControlPoint(int index);
int GetControlPointCount(... | [
"sjgg555@gmail.com"
] | sjgg555@gmail.com |
f3c0aaa29940c9561c5105380f1741a11fbde5ee | 7f5920a044b8f0f858558305b3da693182037245 | /lbf-pbrt/src/materials/glass.cpp | 9c38654447f96451cf6e993907c106d50aea0a5e | [] | no_license | jehutymax/lbf-mitsuba | 5f43b5fdae322f73b9eddd1bad11095b2c4f6b3d | 8d891f616a1c77d453e8ff3aa5d6bdab5267aba6 | refs/heads/master | 2021-01-10T09:01:56.206525 | 2015-12-09T21:47:51 | 2015-12-09T21:47:51 | 47,661,605 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,021 | cpp |
/*
pbrt source code Copyright(c) 1998-2012 Matt Pharr and Greg Humphreys.
This file is part of pbrt.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
- Redistributions of source code must retain the... | [
"rafaelcdn@gmail.com"
] | rafaelcdn@gmail.com |
5bef76e34ca36466e0a118a747b82f8687d24ffc | ebea47001f94eda15662c9f1209574b02d83e23f | /OsiInterface/GameDefinitions/Osiris.h | e45f17ea766ca70e51444b79341bdfbaa1449501 | [
"MIT"
] | permissive | FelipeRenault/ositools | b76614e02e1ea9a8dd55cd20036229411de90745 | 0010ff6faa44d3dc41bcd4c92c10f9a708d817b9 | refs/heads/master | 2020-08-27T14:59:44.190985 | 2020-04-25T17:40:03 | 2020-04-25T17:40:03 | 217,412,365 | 0 | 0 | null | 2019-10-24T23:26:38 | 2019-10-24T23:26:38 | null | UTF-8 | C++ | false | false | 24,622 | h | #pragma once
#include <cstdint>
#include <array>
#include <vector>
#include <set>
#include <map>
#include <string>
#include <cassert>
#include <glm/vec3.hpp>
#include <GameDefinitions/BaseTypes.h>
namespace dse
{
#pragma pack(push, 1)
enum class ValueType : uint8_t
{
None = 0,
Integer = 1,
Integer64 = 2,
Real = ... | [
"infernorb@gmail.com"
] | infernorb@gmail.com |
31adabdd062313e9e6cad65e26cdd9b90212a95c | ad40bdafbbe6a68ccf41c212e07f40c70c971242 | /Encoder.h | 6f5f4db31b835184a8521049ba8db859f7c3c101 | [] | no_license | tdurrer5/cnc_ctrlv1_timer | f0699cf046b2f817a8fc1dd41c4e5318c0510d9e | a57a113eadf73e81fd5b4cbd997b01d378336089 | refs/heads/main | 2023-04-24T17:24:24.669499 | 2021-05-12T20:50:10 | 2021-05-12T20:50:10 | 366,847,983 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 27,731 | h | /* Encoder Library, for measuring quadrature encoded signals
* http://www.pjrc.com/teensy/td_libs_Encoder.html
* Copyright (c) 2011,2013 PJRC.COM, LLC - Paul Stoffregen <paul@pjrc.com>
*
* Version 1.2 - fix -2 bug in C-only code
* Version 1.1 - expand to support boards with up to 60 interrupts
* Version 1.0... | [
"noreply@github.com"
] | tdurrer5.noreply@github.com |
6ca50a33a0d78161332dda28dfd8d75625e56dda | b32f8982cfe1cd4e2cb661cc6718d6949e71885e | /include/cool/ng/async/task.h | 13bac48681afa0d2366971c2ab972b5e1fc07e12 | [
"Apache-2.0"
] | permissive | digiverse/cool.ng | efe0489a16c1702e01f4e8f793c9abc832a7bc3a | 44f282fa488c7dfe44b2f4b4801f1306291bd76a | refs/heads/master | 2021-06-26T13:19:56.396144 | 2020-11-17T11:50:18 | 2020-11-17T11:50:18 | 160,184,227 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 43,579 | h | /*
* Copyright (c) 2017 Leon Mlakar.
* Copyright (c) 2017 Digiverse d.o.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. The
* license should be included in the source distribution of the Software;
* if not, you may obtain ... | [
"leon@digiverse.si"
] | leon@digiverse.si |
1619394517f21677918f481b204f5639e92556ce | 0ca50389f4b300fa318452128ab5437ecc97da65 | /src/color/copyright.hpp | 656ef5809d8dd1f3c8653c8871b39ea5ad795223 | [
"Apache-2.0"
] | permissive | dmilos/color | 5981a07d85632d5c959747dac646ac9976f1c238 | 84dc0512cb5fcf6536d79f0bee2530e678c01b03 | refs/heads/master | 2022-09-03T05:13:16.959970 | 2022-08-20T09:22:24 | 2022-08-22T06:03:32 | 47,105,546 | 160 | 25 | Apache-2.0 | 2021-09-29T07:11:04 | 2015-11-30T08:37:43 | C++ | UTF-8 | C++ | false | false | 712 | hpp | /*
Copyright 2016 Dejan D. M. Milosavljevic
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 ag... | [
"dmilos@gmail.com"
] | dmilos@gmail.com |
fcc335dc97ea087f7d6229fc5d85b66463335a57 | b7c3af550f7662873436f9ed16df793198d36781 | /src/100-199/101.[E]Symmetric-Tree.cpp | efcdc01c34f1f6685fd0e92a37f98df548ae81a1 | [] | no_license | ideawu/leetcode | a50bd2eeada92f8864dda8af33a56d3b6f107e6b | 021746486503203f052f6caf8c24d81032092500 | refs/heads/master | 2020-12-14T12:56:43.382062 | 2020-07-19T04:02:46 | 2020-07-19T04:02:46 | 234,750,758 | 5 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 3,293 | cpp | #include <stdio.h>
#include <string>
#include <list>
#include "../include/all.h"
using namespace std;
/***********************************************************
# 解题思路
* 递归
***********************************************************/
bool helper(TreeNode *left, TreeNode *right){
if(!left && !right){
return true... | [
"3202758+ideawu@users.noreply.github.com"
] | 3202758+ideawu@users.noreply.github.com |
4e6bc5263de4423b6cd51a45a614854a36bc2298 | d4c91c87550cd0c17a37dbe53a6d4a515af91b50 | /ceilingfanoffcommand.cpp | 677ebce0a0c79eaadbb52e4ab1b8999fc6ae4a17 | [] | no_license | r1N44Ainc/command | a4df7efc4720172a5b2df346cafb7beb757639ec | ee9efab6bae0f6ef48b051884f6423544ddff4f7 | refs/heads/master | 2023-01-31T17:10:10.651689 | 2020-12-10T06:24:05 | 2020-12-10T06:24:05 | 320,169,327 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 252 | cpp | #include "ceilingfanoffcommand.h"
CeilingFanOffCommand::CeilingFanOffCommand(CeilingFan *fan) {
this->ceilingFan = fan;
this->name = "CeilingFanOffCommand on" + fan->location;
}
void CeilingFanOffCommand::execute() {
ceilingFan->off();
}
| [
"danilr1nch@gmail.com"
] | danilr1nch@gmail.com |
9833e194188fccc2abac66dd4f8b7ae4cf934dbe | 8b717ba5c1f8717ca188c5e2266894b9491d5e96 | /Usuario.cpp | 6591d7887d72350485cd19659807dcc1f51bfa24 | [
"MIT"
] | permissive | carlosverduzco/Red_Social | c5e814c005c55ac03ecdee06f40db5df8308ce0f | 9543503e37170de2d775df2133a6c0042d781ffa | refs/heads/master | 2023-05-12T03:10:56.440511 | 2021-06-04T22:15:41 | 2021-06-04T22:15:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 362 | cpp | #include "Usuario.h"
Usuario::Usuario(string nombre, string contrasenia, string correo, unsigned int edad, unsigned int area)
{
strcpy(this->nombre, nombre.c_str());
strcpy(this->contrasenia, contrasenia.c_str());
strcpy(this->correo, correo.c_str());
this->edad=edad;
this->area_de_formacio... | [
"carloseverduzco@hotmail.com"
] | carloseverduzco@hotmail.com |
06702f6396c1b885954cdd95517597052e77a602 | c1802c1f24d7124144d3139c74aff313bd8c7460 | /lucida/djinntonic/kaldiasr/src/fstext/determinize-lattice-inl.h | b41deb980ee87fe590def8c1e5b7c2cff6369560 | [
"BSD-3-Clause"
] | permissive | jaskon139/jaskon139sirius | 3de80b76bc0571d7905ffc2bcfffa4c570a2a2c4 | d21fa72c2ecaa1326633a146551ed13a815ca5fb | refs/heads/master | 2023-01-07T04:17:36.994426 | 2016-08-09T07:49:22 | 2016-08-09T07:49:22 | 64,655,160 | 1 | 0 | NOASSERTION | 2022-12-26T20:15:31 | 2016-08-01T09:42:20 | C++ | UTF-8 | C++ | false | false | 53,960 | h | // fstext/determinize-lattice-inl.h
// Copyright 2009-2012 Microsoft Corporation
// 2012-2013 Johns Hopkins University (Author: Daniel Povey)
// See ../../COPYING for clarification regarding multiple authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file... | [
"56ed13112d5271e87f00018a@ex-std-node835.prod.rhcloud.com"
] | 56ed13112d5271e87f00018a@ex-std-node835.prod.rhcloud.com |
07f2193d00da11f43d05c04375e13fd4cbc070dc | 762302ac00a54f3560c674e8c76949d7b34555c8 | /clock.h | cc4417adcd29bb884748b271aa59868bb23e03f5 | [] | no_license | ives560/InverterController | 2a0da93d2064e7f92557b3f0da4d33e41393d1e3 | c328f1ee1240a8f2c42133359951bb294ee3550d | refs/heads/master | 2021-08-20T08:34:29.002426 | 2017-11-28T15:51:47 | 2017-11-28T15:51:47 | 112,356,089 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 319 | h | #ifndef CLOCK_H
#define CLOCK_H
#include <QWidget>
#include <QDate>
#include <QTime>
#include "ui_clock.h"
class Clock : public QWidget
{
Q_OBJECT
public:
Clock(QWidget *parent = 0);
~Clock();
private:
Ui::Clock ui;
private:
void timerEvent(QTimerEvent *);
};
#endif // CLOCK_H
| [
"ives@ives-laptop.(none)"
] | ives@ives-laptop.(none) |
024140bb96635caf8cf534601d3e09d036916414 | 94a78cedf3d9fadf3c15385406ff43848e96e72d | /src/accumulatorcheckpoints.json.h | c8b008b56c3b9d1290eedd1898b55d8caeb4a18e | [
"MIT"
] | permissive | BitCoinONE1/BTCONE-Blockchain | 02bfbfb4f096232299e01f85d5f6e28111805791 | bccc7e28878b2572f8cafa6c0e4e896745b33a27 | refs/heads/master | 2020-04-13T23:57:55.114465 | 2019-01-16T19:26:32 | 2019-01-16T19:26:32 | 163,520,721 | 4 | 4 | MIT | 2019-01-16T13:06:36 | 2018-12-29T15:20:56 | C++ | UTF-8 | C++ | false | false | 10,344 | h | // Copyright (c) 2018 The PIVX developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BTCONE_ACCUMULATORCHECKPOINTS_JSON_H
#define BTCONE_ACCUMULATORCHECKPOINTS_JSON_H
#include <string>
std::string GetMainCheckpoint... | [
"contact@bitcoinone.io"
] | contact@bitcoinone.io |
1574a5ce1f640cda8ce5d9bc1c4ac1f7da538e70 | a39b242d3a07b4611c8ca2b050f9ddd51496d2c8 | /757A - Gotta Catch Em' All! solution (testing qSort).cpp | ef88037859f4919e239014c5412a6a844738009e | [] | no_license | abdullahalrifat/contest | 28b14c92894d5f388fe7182426980a5dc84795a8 | 063fda623cb9f5f020cc1ac7195e63344497e33f | refs/heads/master | 2020-12-20T16:41:16.049119 | 2019-06-26T11:51:12 | 2019-06-26T11:51:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 450 | cpp | #include<cstdio>
#include<string>
#include<cstring>
#include<iostream>
#include<algorithm>
#include<vector>
#include<cstdlib>
using namespace std;
int main(){
string s;
string targetedStr = "Bulbasaur";
int targetedStrSize = targetedStr.length();
int targerStrSizeCount = 0;
int totalWordCount ... | [
"mimtiaze@gmail.com"
] | mimtiaze@gmail.com |
4a5732b90ce9494baa63bbbfcbde52e9944f1e01 | bfc88535fa1495c64672f048a5559e8bb6de1ae1 | /SPOJ/STPAR.cpp | 7ef412f4ea8e729c0b4157c66e04860ecf1e29c2 | [] | no_license | famus2310/CP | 59839ffe23cf74019e2f655f49af224390846776 | d8a77572830fb3927de92f1e913ee729d04865e1 | refs/heads/master | 2021-07-05T00:23:31.113026 | 2020-08-07T22:28:24 | 2020-08-07T22:28:24 | 144,426,214 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 589 | cpp | #include <bits/stdc++.h>
using namespace std;
int main() {
int n;
while (cin >> n && n) {
int now = 1;
queue<int> q;
for (int i = 0; i < n; i++) {
int a;
scanf("%d", &a);
q.push(a);
}
stack<int> st;
while (!q.empty()) {
while (!st.empty() && st.top() == now) {
st.pop();
now++;
}
... | [
"fadhilmusaad@gmail.com"
] | fadhilmusaad@gmail.com |
9cd6c26ac39a70703626a5cd83f9c7a308937cfe | 6b1f091e56d73df2469543924639efea1b56719f | /src/fusion/util/AffxTime.cpp | f45ae4eb00e23a0b8b6cf5a5547a251ec4c4b39f | [] | no_license | HenrikBengtsson/affxparser | 8e76d9a47328997bb2801b5705db307e92f718bc | 2e8b03ccd597b179bc7772a14c31a85e0f3cc1a0 | refs/heads/master | 2023-04-29T09:55:48.546772 | 2023-04-26T19:57:03 | 2023-04-26T19:57:03 | 24,388,437 | 5 | 3 | null | 2022-03-23T21:17:23 | 2014-09-23T20:37:35 | C++ | UTF-8 | C++ | false | false | 16,890 | cpp | ////////////////////////////////////////////////////////////////
//
// Copyright (C) 2005 Affymetrix, Inc.
//
// This library is free software; you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License
// (version 2.1) as published by the Free Software Foundation.
//
... | [
"khansen@stat.Berkeley.edu"
] | khansen@stat.Berkeley.edu |
bdbd30bf4e86ae8954f738ad41c6154f66e3b79c | 3f5bc33d9149bdb99276b87bd3c6fe18a4b1b667 | /BiankaDudaProjektMES/GlobalData.h | 95741a84845905ae5948c51feee399ade15fa85f | [] | no_license | piankabianka/MES | c3001a8a2b922fdf4e4109f24f2b594c057f86ea | 2f1d9b409df378916d3981a6849f3847112cd46d | refs/heads/master | 2022-04-05T08:41:57.134901 | 2020-01-30T20:51:31 | 2020-01-30T20:51:31 | 229,355,477 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 360 | h | #pragma once
#include "stdafx.h"
#include <iostream>
#include <fstream>
using namespace std;
struct GlobalData {
double H; //height
double W; //width
int nodesNumberH; //number of nodes upright
int nodesNumberW; //number of nodes horizontally
int totalNodesNumber;
int totalElementNumber;
double dx;
double ... | [
"bianka.duda98@gmail.com"
] | bianka.duda98@gmail.com |
9a5424c73521468119bd1a6007022af0ee018411 | 5fb4d392fb452c07ec8dd96ad02dbb9ff68e9118 | /util/config.hpp | 0f93ca732252857e11fdc9425c50a2f4841a818c | [
"MIT"
] | permissive | Rapptz/Shinobi | e758882e9cc6273bd7ea72dabe3958b88dd94d22 | dae846bbd22ca7a58537c91b17440df204394a3c | refs/heads/master | 2016-09-05T22:48:13.632015 | 2013-11-02T07:32:04 | 2013-11-02T07:32:04 | 12,841,537 | 2 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 515 | hpp | #ifndef SHINOBI_UTIL_CONFIG_HPP
#define SHINOBI_UTIL_CONFIG_HPP
#define SHINOBI_VERSION_MAJOR 0
#define SHINOBI_VERSION_MINOR 9
#define SHINOBI_VERSION_PATCH 1
#define SHINOBI_VERSION "0.9.1"
#if defined(_WIN32) || defined(__WIN32__)
#define SHINOBI_WINDOWS
#elif defined(linux) || defined(__linux)
#defin... | [
"rapptz@gmail.com"
] | rapptz@gmail.com |
cc9cbf7bee48a809284b4a9be60183ecd635b4d9 | 6821508183ce31ee9f46edb846030ab6e6fa4720 | /opencv/example.cpp | 9d9ea38882d8e4eb2a67439cf35d51f8ae8c5ade | [] | no_license | Svedrin/misc | 1d211a3eaa1e93dc23e2ead0c674c6390893971f | 07ab089d29c8d9a9ca4fc948b2bdc90e23b4261b | refs/heads/master | 2023-07-09T17:48:35.337812 | 2023-05-22T09:05:49 | 2023-05-22T09:05:49 | 209,077,261 | 0 | 0 | null | 2023-06-21T22:55:09 | 2019-09-17T14:31:39 | Python | UTF-8 | C++ | false | false | 1,288 | cpp | #include "cv.h"
#include "highgui.h"
using namespace cv;
int main(int, char**)
{
VideoCapture cap(0);
if(!cap.isOpened()) return -1;
vector<vector<Point> > contours;
vector<Vec4i> hierarchy;
Mat frame, edges;
namedWindow("edges",1);
int thresh = 96;
createTrackbar( " Canny thresh:",... | [
"diese-addy@funzt-halt.net"
] | diese-addy@funzt-halt.net |
f81013af2f7af8fdf1f3f71dec6f0ba4b9c8e959 | 6093441c9a8e3a7c811241a9e28f2855e62f5985 | /src/compiler/main.cpp | 6547703f931317b53e5c550f5f1ee09219838791 | [] | no_license | jbw3/compiler | ba5b9b2a29b85f37d6a481fc7306917e63206d2f | 7b758192a9aa3d6428a8224f0aa2c2332bb76b4b | refs/heads/master | 2022-07-02T10:00:15.029100 | 2022-04-02T16:06:59 | 2022-04-02T16:06:59 | 173,978,605 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 310 | cpp | #include "Compiler.h"
#include "Config.h"
int main(int argc, const char* const argv[])
{
Config config;
bool help = false;
bool ok = config.ParseArgs(argc, argv, help);
if (ok && !help)
{
Compiler compiler(config);
ok = compiler.Compile();
}
return ok ? 0 : 1;
}
| [
"jwilkes0011@gmail.com"
] | jwilkes0011@gmail.com |
9dcf928958c77e74060775129a4116635f62521f | cbaf03b608f2410abfac46354f069436fdf5fa73 | /src/graphics/display/drivers/vim-display/vim-display-test.cc | e6b2f3f968752d2097139265b48a7c20017d2c9d | [
"BSD-2-Clause"
] | permissive | carbonatedcaffeine/zircon-rpi | d58f302bcd0bee9394c306133fd3b20156343844 | b09b1eb3aa7a127c65568229fe10edd251869283 | refs/heads/master | 2023-03-01T19:42:04.300854 | 2021-02-13T02:24:09 | 2021-02-13T02:24:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,670 | cc | // Copyright 2019 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "vim-display.h"
#include <fuchsia/hardware/display/controller/c/banjo.h>
#include <fuchsia/sysmem/llcpp/fidl.h>
#include <lib/async-loop/cpp/loop... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
aeac942f99a9d7da19d8f6dcceae6c1e1201da49 | 6ae0b247bee94bd1f1f2831dbb13a62421155bc9 | /main.cpp | b18903f7cbb8d1e140fdb0d930bce1df777ece49 | [] | no_license | daniel1302/electrical-circuit-simulator | 87a0a09248e48425fbe9f8fb65e72a42b26981c3 | 2f7ec95119ddb39cde47a21fcf700c8eddd4f6fe | refs/heads/master | 2021-03-24T13:06:05.426466 | 2018-01-14T22:17:13 | 2018-01-14T22:17:13 | 111,435,545 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,006 | cpp | #include <iostream>
#include <memory>
#include <Math/Matrix.h>
#include <Circuit/PowerSupply.h>
#include <Circuit/ResistorElement.h>
#define TEST
#ifdef TEST
#include <Tests/Matrix.cpp>
#include <Tests/GaussianElimination.cpp>
#endif
void testCircuit()
{
Circuit circuit;
std::cout<<circuit.print()... | [
"daniel.1302@gmail.com"
] | daniel.1302@gmail.com |
d2bdc3717e891e3f3d0b6d3389d47adbc19f0eb8 | 30e1dc84fe8c54d26ef4a1aff000a83af6f612be | /src/external/boost/boost_1_68_0/boost/metaparse/v1/alphanum.hpp | db84ae94ea5d78b291c3c49fe7a7a9daa6757456 | [
"BSL-1.0",
"BSD-3-Clause"
] | permissive | Sitispeaks/turicreate | 0bda7c21ee97f5ae7dc09502f6a72abcb729536d | d42280b16cb466a608e7e723d8edfbe5977253b6 | refs/heads/main | 2023-05-19T17:55:21.938724 | 2021-06-14T17:53:17 | 2021-06-14T17:53:17 | 385,034,849 | 1 | 0 | BSD-3-Clause | 2021-07-11T19:23:21 | 2021-07-11T19:23:20 | null | UTF-8 | C++ | false | false | 568 | hpp | #ifndef BOOST_METAPARSE_V1_ALPHANUM_HPP
#define BOOST_METAPARSE_V1_ALPHANUM_HPP
// Copyright Abel Sinkovics (abel@sinkovics.hu) 2009 - 2010.
// 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)
#include... | [
"znation@apple.com"
] | znation@apple.com |
7464c996332e9ea0092a7a05f74bee7d791cceaa | 5ac4199d968f301e01ef741fe7d1d162c4f82921 | /Samples/Imagics/GpuGaussianBlur2/GpuGaussianBlur2Window2.cpp | 9a6e423944b4c51cfa5243f78f1dcf24138f805c | [
"LicenseRef-scancode-unknown-license-reference",
"BSL-1.0"
] | permissive | kabukunz/GeometricTools | 9eada1b0d8b1447398e8739c9684e5ed14d4cf96 | bbc55cdef89a877f06310fdb6c6248205eae704b | refs/heads/master | 2020-11-25T11:54:23.772441 | 2019-12-17T16:11:32 | 2019-12-17T16:11:32 | 228,645,271 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,565 | cpp | // David Eberly, Geometric Tools, Redmond WA 98052
// Copyright (c) 1998-2019
// Distributed under the Boost Software License, Version 1.0.
// https://www.boost.org/LICENSE_1_0.txt
// https://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
// Version: 4.0.2019.08.13
#include "GpuGaussianBlur2Window2.h"
... | [
"kabukunz@gmail.com"
] | kabukunz@gmail.com |
db45dc83c2d6769edef8073190749b48bd69b276 | 925184d03530d1933cfe51e4be98b4cffc526da8 | /Shaders/Program.cpp | e2d62324f30438bf6b328a3fd2ae71715949dc92 | [] | no_license | bploeckelman/KinectedActing | 852938e4a5c9cf7cee71633e7920cb4a88e940c3 | be89dd53940ea2503d16b4b95f3d3b7dfc64bee9 | refs/heads/master | 2020-05-28T00:46:41.861216 | 2013-12-19T03:14:52 | 2013-12-19T03:14:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,871 | cpp | /*
tdogl::Program
Copyright 2012 Thomas Dalling - http://tomdalling.com/
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 a... | [
"brian.ploeckelman@gmail.com"
] | brian.ploeckelman@gmail.com |
3dc41c29457cddc8ebcb071374ba1669a28bc564 | 931ebc740f66bf8eb8c253a65b457954db7d176f | /Node/PowerWheelsControl.ino | 03cec84447c1e80045442f6bd079abb7dbd54499 | [] | no_license | theshoe1029/Power-Wheels-Team | a359aba3a9de46af64ef83837f6d7935f391a1df | f58f40ee3243d3deb6b605b9a185932dbb11c035 | refs/heads/master | 2020-11-29T21:09:34.911582 | 2017-08-09T01:55:30 | 2017-08-09T01:55:30 | 96,586,992 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 436 | ino | #include <Servo.h>
Servo steeringServo;
Servo throttleServo;
void setup()
{
Serial.begin(115200);
steeringServo.attach(9);
throttleServo.attach(10);
}
void loop()
{
if(Serial.available())
{
char ch;
int num;
String input = Serial.readStringUntil('\n');
sscanf((const char*)input.c_str(), "... | [
"billy.zelsnack@gmail.com"
] | billy.zelsnack@gmail.com |
7e53d31fc7f28b303fa946c0849d777ebe602de5 | bd1fea86d862456a2ec9f56d57f8948456d55ee6 | /000/094/241/CWE319_Cleartext_Tx_Sensitive_Info__w32_wchar_t_connect_socket_84_goodB2G.cpp | 954cc4de1e0f2aa745e8224038f2d49424ef4d2c | [] | no_license | CU-0xff/juliet-cpp | d62b8485104d8a9160f29213368324c946f38274 | d8586a217bc94cbcfeeec5d39b12d02e9c6045a2 | refs/heads/master | 2021-03-07T15:44:19.446957 | 2020-03-10T12:45:40 | 2020-03-10T12:45:40 | 246,275,244 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,384 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE319_Cleartext_Tx_Sensitive_Info__w32_wchar_t_connect_socket_84_goodB2G.cpp
Label Definition File: CWE319_Cleartext_Tx_Sensitive_Info__w32.label.xml
Template File: sources-sinks-84_goodB2G.tmpl.cpp
*/
/*
* @description
* CWE: 319 Cleartext Transmission of Sensitive Info... | [
"frank@fischer.com.mt"
] | frank@fischer.com.mt |
2fcce50e09823d044d8f7cd631f15da6ec03d0ff | 8ca117ac2aab1980c1977bf4717f49cf5cecbbf7 | /header/Car.hpp | 974785a7b862c765d5431ae65718dae1a28b3752 | [] | no_license | bendem/SchoolCars | 06df70e0e670a7a9bbe5a17101b3b7056a46e116 | 5144065bef06246a82305499e47c7176b79f219b | refs/heads/master | 2021-01-01T16:31:12.895666 | 2015-01-23T07:21:22 | 2015-01-23T07:21:22 | 27,227,914 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,244 | hpp | #ifndef CAR_HPP
#define CAR_HPP
#include <iostream>
#include <fstream>
#include <string>
#include "Model.hpp"
#include "Option.hpp"
#include "exceptions/ElementNotFoundException.hpp"
#include "exceptions/IOException.hpp"
#include "exceptions/NotEnoughSpaceException.hpp"
#include "utils/ArrayUtils.hpp"
#include "utils... | [
"online@bendem.be"
] | online@bendem.be |
a8c1a63bdbe1fd9d871532832f418a6fac5e082e | 2232c179ab4aafbac2e53475447a5494b26aa3fb | /src/mesh/iterators/CellTopologyIteratorFilter.hpp | 5c8b67b4741516b5d775639e11935a426eb44014 | [] | no_license | martinv/pdekit | 689986d252d13fb3ed0aa52a0f8f6edd8eef943c | 37e127c81702f62f744c11cc2483869d8079f43e | refs/heads/master | 2020-03-31T09:24:32.541648 | 2018-10-08T15:23:43 | 2018-10-08T15:23:43 | 152,095,058 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,380 | hpp | #ifndef PDEKIT_Mesh_Iterators_Cell_Topology_Iterator_Filter_hpp
#define PDEKIT_Mesh_Iterators_Cell_Topology_Iterator_Filter_hpp
#include "mesh/EntityStatus.hpp"
#include "mesh/std_region/PointSetTag.hpp"
namespace pdekit
{
namespace mesh
{
// -------------------------------------------------------------------------... | [
"martin.vymazal@gmail.com"
] | martin.vymazal@gmail.com |
cfc505e1724d5a6f4dd2e36013fdc270661afecd | 4dbb45758447dcfa13c0be21e4749d62588aab70 | /iOS/Classes/Native/mscorlib_System_Runtime_ConstrainedExecution_Consi3698611150.h | 1ad3577f2976bdfb5901c865ed3c2356a323a734 | [
"MIT"
] | permissive | mopsicus/unity-share-plugin-ios-android | 6dd6ccd2fa05c73f0bf5e480a6f2baecb7e7a710 | 3ee99aef36034a1e4d7b156172953f9b4dfa696f | refs/heads/master | 2020-12-25T14:38:03.861759 | 2016-07-19T10:06:04 | 2016-07-19T10:06:04 | 63,676,983 | 12 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,014 | h | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#include "mscorlib_System_Enum2862688501.h"
#include "mscorlib_System_Runtime_ConstrainedExecution_Consi3698611150.h"
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang di... | [
"lii@rstgames.com"
] | lii@rstgames.com |
48a3ff0ecd1b21498705c50dfb933044780b58f5 | 16ae65be9fdbb0e5af6339781b6680ace16c238f | /CaesarCipher/FileIOCaeserCipherV2.cpp | 60317bb336936249a4235c023dfaf9ca953e428b | [] | no_license | mansi-patel8/CaesarCipher | 817f973ff4b5148e6481e9ab4c31d050bbe3cffc | bee3292778b87d9e1de1c345c96f46cfe2a97a07 | refs/heads/master | 2023-04-18T12:11:13.793100 | 2021-05-02T20:50:39 | 2021-05-02T20:50:39 | 363,747,866 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,626 | cpp | /*
* Name: Mansi Patel
* Purpose: The purpose of this program is to do the caesarcipher for specified input and output files/streams using the IO redirection.
- Ex.: $ ./caesar -e 1 3 in.txt output.txt
* Pseducode/ Program outline logic:
- user input in cmd for shift and input/output file and error check on it
... | [
"61858706+mansi-patel8@users.noreply.github.com"
] | 61858706+mansi-patel8@users.noreply.github.com |
35ca05a0748d8fbf0f0a495523e0a9f24e7f1f6b | 67d31e57444a4a08aed83bbe215e674d6b56f3b1 | /livedata/LineEditNotify.h | 21a9a4348aaa8221a2c88f4b190b8f2cb29cf0fa | [] | no_license | SammyEnigma/QtLifecycleDemo | 2b93653231a5f7d2f859804090b88f5b866366f1 | 3c0f7f34f1bc30b23e281af3d220a6588d7b0e55 | refs/heads/master | 2023-04-12T18:18:57.048550 | 2021-04-19T06:33:44 | 2021-04-19T06:33:44 | 322,219,658 | 0 | 0 | null | 2021-04-19T09:28:49 | 2020-12-17T07:47:45 | C++ | UTF-8 | C++ | false | false | 1,074 | h | #pragma once
#include "LiveData.h"
#include "LiveDataDefaultConverter.h"
#include <qlineedit.h>
static QLineEdit* castLineEditWithCheck(QWidget* widget) {
auto lineEdit = dynamic_cast<QLineEdit*>(widget);
Q_ASSERT_X(lineEdit != nullptr, "lineEditnotify", "cannot cast widget");
return lineEdit;
}
templa... | [
"1286772338@qq.com"
] | 1286772338@qq.com |
738673dfe7eeb9e13af4994780b44f5ce8c12d09 | ae716f70009a8e1433f11c07ffbc7f9578eaaf81 | /include/cpgf/gmetaextendtype.h | 97f4ad490c6f89dfbfd23cb53f610c5792f8cd0f | [
"Apache-2.0"
] | permissive | michalslonina/cpgf | b4aefab1fd3371ef41593be87bae37b0c8ecf779 | 5231b3e650af4b2b0bb63bdeb0a7f25dd82cdaf3 | refs/heads/develop | 2021-01-18T05:30:33.465421 | 2015-11-29T09:59:19 | 2015-11-29T09:59:19 | 47,057,611 | 0 | 0 | null | 2015-11-29T09:29:26 | 2015-11-29T09:29:26 | null | UTF-8 | C++ | false | false | 4,864 | h | #ifndef CPGF_GMETAEXTENDTYPE_H
#define CPGF_GMETAEXTENDTYPE_H
#include "cpgf/gstdint.h"
#include "cpgf/gclassutil.h"
#include "cpgf/gifelse.h"
#include "cpgf/gtypetraits.h"
#include "cpgf/gmetamodule.h"
#include "cpgf/metatraits/gmetatraitsparam.h"
#include "cpgf/metatraits/gmetaconverter.h"
#include "cpgf/metatraits... | [
"wqking@outlook.com"
] | wqking@outlook.com |
acefb595eb826f7196801e835ec58d065f680e4d | 576d77b4b09b63148c09c850fdfb97f1efee7496 | /star.h | 8ddd72f037a868934972d21127672ce66fb26202 | [] | no_license | WilliamDyball/3D_Rendering-and-lighting | 6e1f69ba53970f312545312905a583f9da050b7b | 131b338fe7be137ea6f7c3e4c056a74794edfbef | refs/heads/master | 2021-01-01T02:30:14.250140 | 2020-02-08T16:00:16 | 2020-02-08T16:00:16 | 239,142,051 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 614 | h |
#pragma once
#include <GL/glew/glew.h>
#include <GL/freeglut.h>
#include "shader_setup.h"
#include <CoreStructures\GUVector4.h>
#include <CoreStructures\GUMatrix4.h>
class star {
// star instance variables
CoreStructures::GUVector4 pos;
CoreStructures::GUMatrix4 orientation;
public:
//
// class method i... | [
"WilliamDyball@users.noreply.github.com"
] | WilliamDyball@users.noreply.github.com |
caf0f9ac3c4a8f2a583a09a2139bd9e1cc3f707d | 8e34fbb8bd20c84fbd920222b395c7cdb9e94b7d | /libs/ma_handler_storage/include/ma/handler_storage.hpp | b2943898352c3a322c154fa61c42d677b2e1572e | [
"BSL-1.0"
] | permissive | oudream/asio_samples | aa7bcabe6f18a8f8de2d0a53f0bcccb96bd10dfc | 11a051a43bcdc9e07b8bdf53e5f8d526428957c1 | refs/heads/master | 2020-05-23T13:30:11.812525 | 2019-05-15T08:09:08 | 2019-05-15T08:09:08 | 186,779,336 | 0 | 0 | NOASSERTION | 2019-05-15T08:06:07 | 2019-05-15T08:06:07 | null | UTF-8 | C++ | false | false | 11,630 | hpp | //
// Copyright (c) 2010-2015 Marat Abrarov (abrarov@gmail.com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#ifndef MA_HANDLER_STORAGE_HPP
#define MA_HANDLER_STORAGE_HPP
#if defined(_MSC_VER) && (_MSC_VER >= 102... | [
"abrarov@gmail.com"
] | abrarov@gmail.com |
71287668e225f4bfa4bcc9163b13006b7d4c233d | 3728db88d8f8268ded2af24c4240eec9f9dc9068 | /mln/morpho/elementary/like_ero_set.hh | aaa8bbbec8a712fda48d154003f8e5d0e0d7c1a1 | [] | no_license | KDE/kolena | ca01613a49b7d37f0f74953916a49aceb162daf8 | 0e0eff22f44e3834e8ebaf2c226eaba602b1ebf6 | refs/heads/master | 2021-01-19T06:40:53.365100 | 2011-03-29T11:53:16 | 2011-03-29T11:53:16 | 42,732,429 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,219 | hh | // Copyright (C) 2008, 2009 EPITA Research and Development Laboratory (LRDE)
//
// This file is part of Olena.
//
// Olena is free software: you can redistribute it and/or modify it under
// the terms of the GNU General Public License as published by the Free
// Software Foundation, version 2 of the License.
//
// Olen... | [
"trueg@kde.org"
] | trueg@kde.org |
4d349e02facef9e4e80e5564473413469f7dc353 | 9c890bf6be520da12216b26de4302ae3b0453f06 | /SimulationGroupDesktop/src/data/rule/voteaction.cpp | 34878f81a816cb3c08c0f85d3298dad4ac2e6fac | [] | no_license | drawepen/SimulationGroupDesktop | e323ce6c0176a09a011144782bcc0d47cf4af04a | 62fd8261e83aeb043f561ca66bcaf12115b2fd58 | refs/heads/main | 2023-06-11T18:57:08.906151 | 2021-07-01T13:19:03 | 2021-07-01T13:19:03 | 351,313,434 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 307 | cpp | #include "voteaction.h"
#include <cstdlib>
VoteAction::VoteAction()
{
}
void VoteAction::execute(Cell &cell,int nowTime){
int count=0;
for(Cell *nc:cell.neighbors){
if(nc->getState()==1){
++count;
}
}
cell.update( (rand()%cell.neighbors.size())<count?1:0 );
}
| [
"1924019307@qq.com"
] | 1924019307@qq.com |
e325ae39f5e7ddfffc5d287c45fbb4e74b8ff86d | 788da62dce9041878fd098e5347408fbf0679ace | /qcom/proprietary/wfd/wfdsm/src/UIBCAdaptor.cpp | 7f057323174939242f0c6088a5b7cfb980903479 | [] | no_license | Snapdragon-Computer-Vision-Engine-Team/msm8974-sources2 | e7daa0bf3096e09286fd6e9f3a4e078774e49565 | 8e8a1d7b8b840a7c93e39634d61614665974acb1 | refs/heads/master | 2021-12-15T03:28:26.619350 | 2017-07-25T06:50:38 | 2017-07-25T06:50:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,055 | cpp | /*==============================================================================
* @file UIBCAdaptor.cpp
*
* @par DESCRIPTION:
* Interface with Session Manager and UIBC service
*
*
* Copyright (c) 2012 - 2013 by Qualcomm Technologies, Inc. All Rights Reserved.
* Qualcomm Technologies Proprietary and Confide... | [
"xinhe.jiang@itel-mobile.com"
] | xinhe.jiang@itel-mobile.com |
398eb53965a22cc9ab8c108bfbab5ee3e877ad09 | ad0eaeee6a89e87e23bc452f5bf1e36781dd08b2 | /image_signal/simple_image_signal_structures.h | ad577782676e11706902ec686e0c9f55df663240 | [] | no_license | DevJohan/SerialMon | dac6e5c8ba75f7c22a40aa277aa906bcd918519f | 4e38f9c5581c770fed0d39d45711d48518e302cf | refs/heads/master | 2021-01-16T18:56:44.352772 | 2015-09-12T23:28:39 | 2015-09-12T23:28:39 | 42,376,909 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,210 | h | /*
* simple_image_signalStructures.h
*
* Created on: 15 okt 2010
* Author: Johan
*/
#ifndef IMAGE_SIGNAL_STRUCTURES_H_
#define IMAGE_SIGNAL_STRUCTURES_H_
namespace _basic_image_signal {
template <typename T, bool is_const>
struct conditional_const{
typedef T type;
};
template <typename T>... | [
"johankristensen@gmail.com"
] | johankristensen@gmail.com |
c9fad53494f644ffc4ccf1af96b41b66b64354c5 | 8b80ceec5e880059dedbb1b3f6a3c493aa2a4ac2 | /scene_logic_test/LoadTextureDlg.h | 071dded5651286f0f6a1f067a529b5a21f5bc3a0 | [] | no_license | maciejmroz/LiquidReality | ea4d98eeb1f80154aa9716bf7d82eb8979928921 | 941b85a90a8b4edf5a2bed58359be511e037c3cb | refs/heads/master | 2021-01-10T19:25:15.338520 | 2013-12-27T21:34:53 | 2013-12-27T21:34:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 565 | h | #pragma once
#include "afxwin.h"
// CLoadTextureDlg dialog
class CLoadTextureDlg : public CDialog
{
DECLARE_DYNAMIC(CLoadTextureDlg)
public:
CLoadTextureDlg(CWnd* pParent = NULL); // standard constructor
virtual ~CLoadTextureDlg();
// Dialog Data
enum { IDD = IDD_LOAD_TEXTURE_DIALOG };
prot... | [
"maciej.mroz@gmail.com"
] | maciej.mroz@gmail.com |
af19b79276ef0ec0edf0bac3acc4137fd7b36fc5 | 3348c85d60f8aa01b77d46d0f6a938d102bd2132 | /bno055/IMU.h | 820e3c90ceb8cb298aa5c47b0be344b2be0ecc36 | [] | no_license | elektrowolle/imu | 6fe0fa636e5d89a3dec729ae435381dbdee2583f | fc0b23342b9967f5b5a35052a847021098e861f9 | refs/heads/master | 2021-01-11T00:05:11.751742 | 2019-04-03T14:19:45 | 2019-04-03T14:19:45 | 70,571,618 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 35,727 | h | //
// Created by Benjamin Skirlo on 29.09.16.
//
#ifndef IMU_IMU_H
#define IMU_IMU_H
/****************************************************************************
* Copyright (C) 2011 - 2014 Bosch Sensortec GmbH
*
* NAxisMotion.h
* Date: 2015/02/10
* Revision: 3.0 $
*
* Usage: Header file of the C++ Wrapper fo... | [
"benjamin.skirlo@ixds.com"
] | benjamin.skirlo@ixds.com |
6543d1ae8052ff2435db9ead4a28e5de6bef2d8a | 61af69c5902cb4a8fd08390ca8718af79d2da58d | /include/storage/seep.h | 0a95f0cf10e666be532f544d4e1a0110031700b8 | [
"MIT"
] | permissive | IOsonata/IOsonata | 8f2e0b86a76915a33a11db0a7df7fdb46d8ce55a | e0a599e1a5a186b7295b29484d45988177927983 | refs/heads/master | 2023-08-18T05:32:31.240144 | 2023-08-18T04:38:31 | 2023-08-18T04:38:31 | 199,128,085 | 61 | 20 | MIT | 2020-11-16T08:09:54 | 2019-07-27T06:50:46 | C | UTF-8 | C++ | false | false | 10,526 | h | /**-------------------------------------------------------------------------
@file seep.h
@brief Generic implementation of Serial EEPROM device
This implementation supports most Serial EEPROM.
- Automatic memory block selections
- Multi-bytes memory address length
There is no need to write code for each t... | [
"hnhoan@i-syst.com"
] | hnhoan@i-syst.com |
d6e8961c65674cccc83ce429d57c6bc6f483bd42 | fe73b179108ab6c0b5eed9c7decee2817a237f5f | /include/tpf/vtk/tpf_grid.inl | 99a5cde16a3603848a879e8a0c7ff7d926941c2d | [
"MIT"
] | permissive | UniStuttgart-VISUS/tpf | d9c7f275e7b1e1a7609afb5ee69b8b48e779b450 | 7563000f1f7abca2156b3b1f6393f2db3c1c1f3d | refs/heads/master | 2023-08-03T17:36:30.897646 | 2023-07-24T18:35:34 | 2023-07-24T18:35:34 | 159,207,802 | 0 | 3 | MIT | 2023-05-17T16:46:24 | 2018-11-26T17:31:02 | C++ | UTF-8 | C++ | false | false | 10,957 | inl | #include "tpf_grid.h"
#include "tpf_data.h"
#include "../data/tpf_data_information.h"
#include "../data/tpf_grid.h"
#include "../data/tpf_grid_information.h"
#include "../log/tpf_log.h"
#include "vtkDataArray.h"
#include "vtkDoubleArray.h"
#include "vtkFloatArray.h"
#include "vtkRectilinearGrid.h"
#include "vtkSmar... | [
"alexander.straub@visus.uni-stuttgart.de"
] | alexander.straub@visus.uni-stuttgart.de |
aeb6700a6a8263c487a18863fd10aade63f854d6 | 36184239a2d964ed5f587ad8e83f66355edb17aa | /.history/hw3/ElectoralMap_20211019202531.cpp | aa8692f874f61ce651daaa8dcf3c9f559aa24cc8 | [] | no_license | xich4932/csci3010 | 89c342dc445f5ec15ac7885cd7b7c26a225dae3e | 23f0124a99c4e8e44a28ff31ededc42d9f326ccc | refs/heads/master | 2023-08-24T04:03:12.748713 | 2021-10-22T08:22:58 | 2021-10-22T08:22:58 | 415,140,207 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,581 | cpp | #include<iostream>
#include<map>
#include<set>
#include<random>
#include<time.h>
#include<stdlib.h>
#include"ElectoralMap.h"
#define num_district 3
#define num_enum 4
//int Candidate::id = 0;
int ElectoralMap::count_district = 0;
int Election::ids = 0;
std::vector<int> Election::party_one_active = {};
std::vector<i... | [
"70279863+xich4932@users.noreply.github.com"
] | 70279863+xich4932@users.noreply.github.com |
84b5deb59f3aa43ade911dcaac92685488477146 | cefd6c17774b5c94240d57adccef57d9bba4a2e9 | /v8/src/full-codegen.h | d9090a8dc830137448b9bb4e6ac38f1240316909 | [
"BSL-1.0",
"BSD-3-Clause",
"bzip2-1.0.6"
] | permissive | adzhou/oragle | 9c054c25b24ff0a65cb9639bafd02aac2bcdce8b | 5442d418b87d0da161429ffa5cb83777e9b38e4d | refs/heads/master | 2022-11-01T05:04:59.368831 | 2014-03-12T15:50:08 | 2014-03-12T15:50:08 | 17,238,063 | 0 | 1 | BSL-1.0 | 2022-10-18T04:23:53 | 2014-02-27T05:39:44 | C++ | UTF-8 | C++ | false | false | 34,503 | h | // Copyright 2012 the V8 project authors. All rights reserved.
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of ... | [
"adzhou@hp.com"
] | adzhou@hp.com |
6adf26fe543744e394e039e6ef7e89c917cd09b5 | 5729497447afcccdde7eaf3e944d7c25ddeb1335 | /Introductory Problems/gray_code.cpp | a09ea9253b428248ea45ef7d4bf4a6d6fce5bb68 | [] | no_license | kalashshah/CSES-Solutions | bef19c0ffc9075b2299eb2cdead4aca05b1e5bb5 | 0ef039fb2522b33b734ae1c5c5ed45f8c3a0eb46 | refs/heads/main | 2023-07-08T04:16:36.130700 | 2021-08-10T06:22:06 | 2021-08-10T06:22:06 | 394,545,486 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 408 | cpp | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ld = long double;
void grayCode(int n){
for (int i = 0; i < (1 << n); i++){
int val = (i ^ (i >> 1));
bitset<32> r(val);
string s = r.to_string();
cout << s.substr(32 - n) << "\n";
}
}
int main(){
ios_... | [
"noreply@github.com"
] | kalashshah.noreply@github.com |
ea74006a02fb627350da58abdb811bedae8f0efa | 46b020aa85b2ffbc8a47721c3fb774bfc7d81d64 | /CannyDetector/CannyDetector/StartingParameters.h | 3204ccf1d95242e37c4ecca3216ebe8c73b304a9 | [
"MIT"
] | permissive | TeodorKawecki/CUDA-Canny-edge-detector | ec3ce02da1c169951fac58924627739cdd63452c | 2a54fed6ba26931f1cd795c6fc1bf0958269e679 | refs/heads/master | 2020-06-23T16:56:36.703077 | 2019-07-24T16:22:42 | 2019-07-24T17:57:56 | 198,688,014 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 301 | h | #pragma once
#include <string>
struct StartingParameters
{
std::string inputRelativeFilePath = "";
std::string outputRelativeFilePath = "default.pbm";
size_t lowHistBand = 50;
size_t highHistBand = 100;
bool cudaMode = false;
size_t repeatOperation = 1;
bool surpressWritingImage = false;
};
| [
"teodorkawecki@interia.pl"
] | teodorkawecki@interia.pl |
cc663b0a480cf3e17bfdfcf409c022a775e0b77f | d64d9c52f78d2b332791217a9e91bab7e8fa2599 | /tests/unit/lcos/local_promise_allocator.cpp | 2d5cbaea2519cc06bbbc48749790e8c74d576843 | [
"LicenseRef-scancode-free-unknown",
"BSL-1.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | Jakub-Golinowski/hpx | a81c7cdbd8e1daf530d93d2dbafb69d899229efa | 7c762ea235d5d7cde0d2686c84902016c33f2bec | refs/heads/master | 2021-04-26T23:19:08.776815 | 2018-05-04T12:36:48 | 2018-05-04T12:36:48 | 123,970,854 | 1 | 0 | BSL-1.0 | 2018-03-05T19:53:11 | 2018-03-05T19:53:11 | null | UTF-8 | C++ | false | false | 1,479 | cpp | // Copyright (c) 2007-2017 Hartmut Kaiser
// Copyright (C) 2011 Vicente J. Botet Escriba
//
// 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)
#include <hpx/hpx_main.hpp>
#include <hpx/include/lcos.hpp>
#include <... | [
"hartmut.kaiser@gmail.com"
] | hartmut.kaiser@gmail.com |
c81334d80ebe743585efea6c5fadb9707316f8d9 | e2d79a237d5da3a580828e310856a26af29d54d7 | /AMO_lab6/AMO_lab6_vania/Splain.cpp | e48f9fb57726135148576c0dbb707dfe21837698 | [] | no_license | IvanSakhnik/AMO | 3ce6817413dc0aff4eaaca6e2add5080e9604083 | f8cc530cc7f547e0ca23a3aeacae969292576e24 | refs/heads/master | 2021-01-23T07:44:41.561700 | 2017-03-28T09:33:37 | 2017-03-28T09:33:37 | 86,441,301 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,191 | cpp | #include "header.h"
double a = 2;
double b = 9;
double function(double x){
return 0.2*pow(M_E, pow(x, (1.0/3)))*log(x)*sin(3 * x);
}
double *Seidel(double **matrix, int N, double eps){
double *PrevEquation = new double[N];
double *SRoot = new double[N];
double tmp = 0, q = 0, max = 0, M_norma;
int... | [
"ivansakhnik1997@gmail.com"
] | ivansakhnik1997@gmail.com |
2fa30ca7cb7a54154e2a2ad72b613645c63a71aa | b0fd22f0634309180d8c6767595384691f08baa4 | /StateMachine/include/Troll.h | 9a1e93aeb48b0bd0a44ac7a1594074686567e5e1 | [] | no_license | A11v1r15/IA | 6b2ff8f03f78f8644bdd827d7e0c03e3444b5dbc | 140599bc9fd4025d7109dfe7fad76fb54b571ee9 | refs/heads/master | 2020-07-14T01:06:26.703997 | 2019-10-17T19:48:26 | 2019-10-17T19:49:13 | 205,197,139 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 490 | h | #ifndef TROLL_H
#define TROLL_H
#include "State.h"
//class State;
class Troll{
public:
Troll(State<Troll>* initialState);
virtual ~Troll();
void Update();
void ChangeState(State<Troll>* state);
bool IsAlive();
int GetVida();
int GetFome();
void SetV... | [
"aluno"
] | aluno |
08e6a8269937e20a049501ef54c9bf980115e38a | fe78a904d6f44a0a47e466606ec20e8321d0b21a | /ch5_drill.cpp | c714da9a7f20a99711306e202f53bfd124a41550 | [] | no_license | matravolgyiadrian/bevprog | 64a013ce7da2feb313a35c3047d00834e121b26c | 8383c9485139f6e889db245d58851e6eaff97ec7 | refs/heads/master | 2020-03-29T14:25:23.053173 | 2018-11-22T10:06:45 | 2018-11-22T10:06:45 | 150,016,142 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,804 | cpp | #include "std_lib_facilities.h"
int main()
try {
//cout << "Success!\n";
//cout << "Success!\n";
//cout << "Success" << "!\n";
//cout <<"success "<< '\n';
//string res = "seven"; vector<string> v(10); v[5] = res; cout << "Success!\n";
//vector<int> v(10); v[5] = 7; if (v[5]=7) cout << "Success!\n";
... | [
"noreply@github.com"
] | matravolgyiadrian.noreply@github.com |
102c5bd09bc9d00a2b097035b1a7b40df7c0e2c9 | b84f9565361ff7093a1d822f163aa7dfbbf9cddc | /C_C++/DailyCodeProplem/prolem26.cpp | c184a69da88497fbcf9ccf8032fc2c5874b88580 | [] | no_license | phamtiennam/MyCodeDojo | 75f64e381c079a0acd921c6a04445c3f1cae95c5 | 17f2d8dcb5356bfcb467e2771209dc9b98cb5258 | refs/heads/master | 2021-07-12T08:34:59.588121 | 2020-08-26T14:44:32 | 2020-08-26T14:44:32 | 75,037,551 | 1 | 1 | null | 2018-06-16T15:19:07 | 2016-11-29T03:05:17 | C++ | UTF-8 | C++ | false | false | 1,398 | cpp | /*
This problem was asked by Google.
Given a singly linked list and an integer k, remove the kth last element from the list. k is guaranteed to be smaller than the length of the list.
The list is very long, so making more than one pass is prohibitively expensive.
Do this in constant space and in one pass.
*/
#inclu... | [
"nampt282@gmail.com"
] | nampt282@gmail.com |
06c4664f69f0b9b4ffc926100a2cd8a0745c745d | edd6612caf27ef3dee6c54a0374e99a1f2baf812 | /Sequential/benchmark/3d/2000.cpp | 1f61a70280cb66a93fc331b30f00d333a43b04b3 | [
"MIT"
] | permissive | w00zie/mean_shift | 92dd860c5519d7f4d0f84ce4cb3d8c436152896b | 603e50ce37a74d7ed28d97f7bf6ac152323fa6b0 | refs/heads/main | 2023-03-12T15:27:19.149218 | 2021-02-24T18:40:24 | 2021-02-24T18:40:24 | 338,558,901 | 3 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 1,576 | cpp | #include <cassert>
#include <chrono>
#include "../../include/meanshift.h"
#include "../../include/container_io.h"
#include "constants_3d.h"
#include <thread>
// Hyperparameters
constexpr auto bandwidth = constants::case_2000::bandwidth;
constexpr auto radius = constants::case_2000::radius;
constexpr auto min_distance ... | [
"giovanni.bindi@stud.unifi.it"
] | giovanni.bindi@stud.unifi.it |
9ea50cfc96faff22fba02ffb9333aa17520e7272 | 65224f3c4494a5a6493bf6a496cd09323a06c5e6 | /apps-src/apps/studio/mkbootimg.cpp | 70b951055a5565052260d4c4433b523392bcbdd9 | [
"Zlib"
] | permissive | ElderOrb/Rose | 44b4103a5818921fffd67354a118cf921f305d70 | 4834cf5492cac41acd7854c8040d750131add81a | refs/heads/master | 2020-03-23T20:19:01.477902 | 2018-07-23T15:51:13 | 2018-07-23T15:51:13 | 142,034,637 | 0 | 0 | null | 2018-07-23T15:37:05 | 2018-07-23T15:37:05 | null | UTF-8 | C++ | false | false | 7,743 | cpp | /* tools/mkbootimg/mkbootimg.c
**
** Copyright 2007, The Android Open Source Project
**
** 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
*... | [
"ancientcc@gmail.com"
] | ancientcc@gmail.com |
7a7ffb2ec3c813ad92a0480f8b6f6347bb59831c | f1fff1ec58708a7770bdd5491ff54349587530e9 | /cpp_playground/ex085/string_view2.cpp | e01f9d1748553f0541e6fadbf47e47d00bfd5540 | [
"MIT"
] | permissive | chgogos/oop | a7077e7c3bfab63de03eb02b64f77e097484589f | 8f8e9d7f2abd58acf48c2adce6550971c91cfcf7 | refs/heads/master | 2022-06-28T03:44:37.732713 | 2022-06-06T11:41:15 | 2022-06-06T11:41:15 | 171,113,310 | 16 | 11 | null | null | null | null | UTF-8 | C++ | false | false | 537 | cpp | #include <iostream>
#include <string>
using namespace std;
int main()
{
string s{"ABCDEF"}; // γίνεται αντιγραφή του C-string στο string
string_view sv1{s}; // δεν γίνεται αντιγραφή του C-string στο string_view
string_view sv2{s}; // δεν γίνεται αντιγραφή του C-string στο string_view
cout << s << " " ... | [
"chgogos@gmail.com"
] | chgogos@gmail.com |
46d91734eaa40e1df2b6d2e612e4abc6453e73f4 | 390f1a646be5d72e395d9b179f2090966db1ec78 | /src/bthread/work_stealing_queue.h | b7cc2e5f6938ec0ab779b3381f164bbeba1fe19b | [
"Apache-2.0"
] | permissive | eesly/brpc | 558f859edf2791c4aa960a7e1bd13b722206773d | 99ce6d2d7b3868bcf485d1a8a3b54e71899be866 | refs/heads/master | 2021-07-05T06:39:41.206746 | 2017-09-29T11:53:44 | 2017-09-29T11:53:44 | 105,291,579 | 3 | 2 | null | 2017-09-29T16:02:25 | 2017-09-29T16:02:25 | null | UTF-8 | C++ | false | false | 5,107 | h | // bthread - A M:N threading library to make applications more concurrent.
// Copyright (c) 2012 Baidu, Inc.
//
// 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.... | [
"gejun@baidu.com"
] | gejun@baidu.com |
1c538a309e6f65e0c1905dbf91f66dabee43d8d8 | c7c2d1b63d4e5c721f34eca6cfd1398db5bf5e64 | /PBL_Engine/game-states.hpp | 35a332fce2159f0c1fbed63abe571a56a5269a85 | [] | no_license | AdamJozwiak/PBL_Endless_Project | 365ed80ce724a9a1f844212de26eb8d4718a72ef | 96fba2d2d78f745df98160e470d28f7d4c050633 | refs/heads/master | 2021-07-22T17:05:20.737893 | 2020-06-29T19:41:39 | 2020-06-29T19:56:28 | 245,690,594 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 277 | hpp | #pragma once
enum GameState {
GAME_LAUNCH_FADE_IN,
MENU,
CHANGE_MENU_TYPE_TO_MAIN,
CHANGE_MENU_TYPE_TO_PAUSE,
MENU_TO_GAME_FADE_OUT,
NEW_GAME_SETUP,
GAME_FADE_IN,
GAME,
DEATH_RESULTS,
RESULTS_TO_GAME_FADE_OUT,
GAME_EXIT_FADE_OUT
};
| [
"TomaszMWitczak@gmail.com"
] | TomaszMWitczak@gmail.com |
fdbda2b6a6a4ef61053cdf89e64e34bec71b1b72 | b991b3822572e13c1a0e17f037564326d4932ff6 | /available-captures-for-rook/Accepted/3-12-2021, 11_54_30 AM/Solution.cpp | 0956005bc908863c3ce0257cd15655e25f47f287 | [] | no_license | isaigm/leetcode | 8f1188a824e78f11b8223302fe625e9a8bf9262a | e53b04a9f627ff95aaae9f8e5315f5f688c6b9e2 | refs/heads/master | 2023-01-06T02:07:41.118942 | 2022-12-31T23:13:20 | 2022-12-31T23:13:20 | 248,679,884 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,696 | cpp | // https://leetcode.com/problems/available-captures-for-rook
class Solution {
public:
int numRookCaptures(vector<vector<char>>& board) {
int rook_row = -1;
int rook_col = -1;
int ans = 0;
for(int i = 0; i < 8; i++)
{
for(int j = 0; j < 8; j++)
{
... | [
"isaigm23@gmail.com"
] | isaigm23@gmail.com |
93440ab6408de4bf0c01bb3d3f3f52542e13ccb6 | 1468b015f5ce882dbd39dc75c9a6560179a936fb | /card/M39308.cpp | 9ae96c4f8cea356228086f1d898de4896acb4977 | [] | no_license | Escobaj/HearthstoneResolver | cbfc682993435c01f8b75d4409c99fb4870b9bb3 | c93b693ef318fc9f43d35e81931371f626147083 | refs/heads/master | 2021-04-30T22:31:01.247134 | 2017-01-31T00:05:32 | 2017-01-31T00:05:32 | 74,474,216 | 8 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 397 | cpp | //
// Created by Jo on 19/12/2016.
//
#include "M39308.h"
M39308::M39308(const EventHandler &e) : Minion(e) {
this->set_id(39308);
this->set_attackMax(0);
this->set_defaultCost(2);
this->set_name("Bouclier animé");
this->set_membership(Class::NEUTRAL);
this->set_type(CardType::GENERAL);
th... | [
"joffrey.ecobar@epitech.eu"
] | joffrey.ecobar@epitech.eu |
8e5f595423b720c04abcc9bbe41b6f0d94c47001 | 94e5a9e157d3520374d95c43fe6fec97f1fc3c9b | /UVA/10139.cpp | 234a30dd5f7194ca9f4fa0a4948663685e416da4 | [
"MIT"
] | permissive | dipta007/Competitive-Programming | 0127c550ad523884a84eb3ea333d08de8b4ba528 | 998d47f08984703c5b415b98365ddbc84ad289c4 | refs/heads/master | 2021-01-21T14:06:40.082553 | 2020-07-06T17:40:46 | 2020-07-06T17:40:46 | 54,851,014 | 8 | 4 | null | 2020-05-02T13:14:41 | 2016-03-27T22:30:02 | C++ | UTF-8 | C++ | false | false | 5,085 | cpp | #pragma comment(linker, "/stack:640000000")
#include <algorithm>
#include <bitset>
#include <cassert>
#include <cctype>
#include <climits>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <fstream>
#include <iostream>
#include <iomanip>
#include <iterator>
#include <list>
#include <map... | [
"iamdipta@gmail.com"
] | iamdipta@gmail.com |
d703f17d2e83585de15d3730bf6e20a61799e11f | db6472f1fb7f91aabf3dbc070ca102cd62819232 | /02cpp/02cpp/02cpp/03.cpp | d3f8a24bd93a03491d8c7181748b9e0c0f5dad8c | [] | no_license | Jiwangreal/learn_cpp_with_me | 4d73c6948ab661a25e679fb28aa2fe23846a021b | 2aaf71899fbd1e1ea4bdc472133f7df41e8ab63b | refs/heads/main | 2023-05-05T22:46:13.528739 | 2021-05-30T10:49:31 | 2021-05-30T10:49:31 | 311,383,491 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 267 | cpp | #include <iostream>
using namespace std;
#define STR(a) #a
#define CAT(a,b) a##b
int main(void)
{
int xy = 100;
cout<<STR(ABCD)<<endl; //#ABCD <=> "ABCD" 转换为字符串,输出为ABCD
cout<<CAT(x, y)<<endl; //x##y <=> xy 输出为100
return 0;
} | [
"jiwangreal@163.com"
] | jiwangreal@163.com |
a367bb53732b50f31340bba138c5189b9bfe74e0 | 2105d799e68c94297d65e924c7f45a1dbd796977 | /src/Core/QScheduler_p.h | 8560a18f7196726cce0f4f9748e93b9364d8e14e | [
"MIT"
] | permissive | ericzh86/qt-toolkit | 1136ec79fd3e76dd40e2323872a86849e6b1146e | 63ec071f8989d6efcc4afa30fa98ede695edba27 | refs/heads/master | 2020-12-05T21:48:21.419112 | 2020-01-10T03:05:23 | 2020-01-10T03:05:23 | 232,256,283 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 543 | h | #ifndef QSCHEDULER_P_H
#define QSCHEDULER_P_H
#include <QHash>
#include "QScheduler.h"
class QSchedulerPrivate
{
Q_DECLARE_PUBLIC(QScheduler)
public:
QSchedulerPrivate();
virtual ~QSchedulerPrivate();
protected:
QScheduler *q_ptr;
public:
static bool initialized;
public:
static QScheduler *... | [
"ericzh@qtower.com"
] | ericzh@qtower.com |
8a422c0282917d5812f5724ed601d600ec413e7f | 8c881345865a01b5c63a5bb076f126403716420c | /FeatureReuse3/FeatureReuse/trimesh/include/ICP.h | f058cfb69652b8e2b43adee0249e80a803ed426b | [] | no_license | Asher-1/C_Plus_Plus-projects | f758df626de074a5a5071c6bf1ae08cfb5c4d2e3 | 56941f1a76cf1645df5cc0fcb5529eddc64643f2 | refs/heads/master | 2022-01-28T13:03:24.493838 | 2019-05-30T13:06:35 | 2019-05-30T13:06:35 | 160,189,947 | 3 | 2 | null | null | null | null | GB18030 | C++ | false | false | 1,641 | h | #ifndef ICP_H
#define ICP_H
/*
Szymon Rusinkiewicz
Princeton University
ICP.h
Routines for doing ICP.
*/
#ifdef _DEBUG // 内存泄漏检测支持。
#define _CRTDBG_MAP_ALLOC
#include <stdlib.h>
#include <malloc.h> // 解决 malloc.h 与 crtdbg.h 顺序导致的 Debug Assertion Failed, "Corrupted pointer passed to _freea" 。
#include <crtdbg.h>
#i... | [
"ludahai19@163.com"
] | ludahai19@163.com |
7d2160d3e2fb63d4f74fe1b0f8ccf0d2951f3c24 | c0afc76666468811ed4a269e880b64a4b01658d2 | /Project(winapi)/winmain.cpp | e36cb9f86ed985f9f1f6d8b47d0dcbdc7fd58878 | [] | no_license | lhj1230/lee-hyun-ju | 1e1b696c9cd5f3691f44c0691689f9a7fa24b535 | fe850180c5a1bd348f0cb300c2a93516753bffd5 | refs/heads/master | 2022-12-22T18:16:26.955841 | 2020-09-29T11:57:15 | 2020-09-29T11:57:15 | null | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 3,321 | cpp | #include<windows.h>
LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM);
HINSTANCE g_hInst;//글로벌 인스턴스핸들값
LPCTSTR lpszClass = TEXT("Circle"); //창이름
int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPervlnstance, LPSTR lpszCmdParam, int nCmdShow)
{
HWND hWnd;
MSG Message;
WNDCLASS WndClass;
g_hInst = hInstance;
... | [
"hjl971230@gmail.com"
] | hjl971230@gmail.com |
e166837c8879ecf6976d8d11350b8676a190f279 | 54fc0bf1e2418d8ca039eee36824b499d3b7859e | /include/QCAR/VideoBackgroundConfig.h | 2deec2bee5dd4ab7abc370180a36cb1c3ad2f4c7 | [] | no_license | skucher/Scanner3D | e1396dc6ba05ef559ea357ecd1992538d7e3fb07 | e582c0de62b99adcf7a5dade1a5a2e88495ef0ac | refs/heads/master | 2020-12-24T17:36:15.708384 | 2013-01-04T13:45:51 | 2013-01-04T13:45:51 | 3,010,463 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,773 | h | /*==============================================================================
Copyright (c) 2010-2011 QUALCOMM Austria Research Center GmbH .
All Rights Reserved.
Qualcomm Confidential and Proprietary
@file
VideoBackgroundConfig.h
@brief
Header file for VideoBackgroundConfig struct.
==================... | [
"sergeyku4er@gmail.com"
] | sergeyku4er@gmail.com |
ea60e9f16c879cf9ed6862efc3782932a6933ad1 | 595f3608b6563f5cf162159704d7175326bb576f | /Src/AmrTask/rts_impls/upcxx/PerillaRts.cpp | f39bf87ac34335a2ff158d437099704b58186010 | [
"BSD-2-Clause"
] | permissive | ChrisDeGrendele/amrex | b89ca9f5a3b475ee730ed5371f318eae2841e8b5 | 586ea4491d9920d4bb0b925cf3809cb1de1df493 | refs/heads/master | 2020-06-02T18:17:16.998018 | 2019-05-31T20:50:55 | 2019-05-31T20:50:55 | 191,254,393 | 0 | 0 | NOASSERTION | 2019-06-10T22:29:00 | 2019-06-10T22:28:59 | null | UTF-8 | C++ | false | false | 5,248 | cpp | //Question? email tannguyen@lbl.gov
//Created 07-19-2017
//Last modification 08-14-2017
#include <mpi.h>
#include <sched.h>
#include <sys/syscall.h>
#include <unistd.h>
#include <mylock.h>
#include <pthread.h>
#include "PerillaRts.H"
#include <iostream>
#include <queue>
using namespace std;
#include <cassert>
using n... | [
"tannguyen@lbl.gov"
] | tannguyen@lbl.gov |
5cc8ac5f9f8245b987848e62b75773eee02d2866 | 5753c2ea3d8991325f54bff8b5b8ef3d73131913 | /src/Window/GLFWWindow.cpp | 91cc3c6110f1a53c2f9d4b74ae466def67f9c894 | [
"MIT"
] | permissive | JacobNeal/cyberRenderer | d9f34db2e76b076515a029d98935d4a92daa12f9 | 76a4c5d935198a82ff092805ff69b7ceb80a58cf | refs/heads/master | 2020-03-26T10:05:12.309064 | 2018-08-29T14:44:24 | 2018-08-29T14:44:24 | 144,780,532 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,538 | cpp | ////////////////////////////////////////////////////////////
//
// cyberEngine
// The MIT License (MIT)
// Copyright (c) 2018 Jacob Neal
//
// 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 Softwar... | [
"eragonneal@gmail.com"
] | eragonneal@gmail.com |
fb1725405eb7ae89b856f8ed1a23dcf9dffa5e8d | 73e889b6ed0630a71788e819d10c917a2065faca | /Qt5-core-beginners/qtcb-10-3/main.cpp | a3f84495ea70659d790fb143bc48a11f43756974 | [] | no_license | tenevincent/Qt-Learning-for-beginners | 39d4844b418176443c28e9a1ea004af61a9066dd | 0b289b690007e65c066f76a452f08598bc9aeeee | refs/heads/main | 2023-04-02T23:14:36.280457 | 2021-04-14T22:02:38 | 2021-04-14T22:02:38 | 352,951,819 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 407 | cpp | #include <QCoreApplication>
#include <QDebug>
#include "test.h"
#include "watcher.h"
int main(int argc, char *argv[])
{
QCoreApplication a(argc, argv);
Test tester;
Watcher destination;
QObject::connect(&tester, &Test::messageChanged, &destination, &Watcher::messageChanged);
tester.setProper... | [
"vincent.tene@gmail.com"
] | vincent.tene@gmail.com |
f84f3019a2ffd30ab5e1c7e53a8151fcd35390a7 | cce7b2e87b518fda39f53c37d61d217e9f1d9e42 | /pure_puzzles/output_patterns/patterns1/patterns1.cpp | bec9645b1a20fd70c07502df221d0baa57a301f4 | [] | no_license | ashleylaswell/think-like-a-programmer | a745279a38e094567153c96902512484813418c8 | 0f51910cb614e828ad0e1cd67a9477c1dc7d39c5 | refs/heads/master | 2022-12-23T08:17:10.818147 | 2020-09-21T21:11:00 | 2020-09-21T21:11:00 | 293,101,022 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 220 | cpp | #include <iostream>
using namespace std;
int main(){
for (int row = 1; row <= 5; row++){
for (int hashNum = 1; hashNum <= 6 - row; hashNum++){
cout << "#";
}
cout << "\n";
}
} | [
"lswl9898@gmail.com"
] | lswl9898@gmail.com |
a570dd01cc267b3fe39585346da3c07a32a6825d | aed730f6de153c7f4afe7ad096805ab9a6441723 | /Constant Speed in Games/src/main.cpp | e453750da35a6aba1a511060991145d361d0a6ed | [] | no_license | HiteshGarg-Coder/Partical-Motion | f9629934525c21c0b92be7191510ee43996fc6e8 | 39c803543fb545ea42964a5ea83163d54a26b769 | refs/heads/main | 2023-03-07T23:59:35.691691 | 2021-02-14T17:19:42 | 2021-02-14T17:19:42 | 330,205,987 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,201 | cpp | #include <iostream>
#include <SDL.h>
#include <math.h>
#include "Screen.h"
#include <stdlib.h>
#include <time.h>
#include "Swarm.h"
using namespace std;
using namespace caveofprogramming;
int main() {
srand(time(NULL));
Screen screen;
if (screen.init() == false) {
cout << "Error initialising SDL." << endl;
}
... | [
"noreply@github.com"
] | HiteshGarg-Coder.noreply@github.com |
132697e82bf96464f67ad94367cf8dcbc4aed662 | 08b8cf38e1936e8cec27f84af0d3727321cec9c4 | /data/crawl/make/new_hunk_446.cpp | e1595768e3c15bdc259a064a4883c094b11e4794 | [] | no_license | ccdxc/logSurvey | eaf28e9c2d6307140b17986d5c05106d1fd8e943 | 6b80226e1667c1e0760ab39160893ee19b0e9fb1 | refs/heads/master | 2022-01-07T21:31:55.446839 | 2018-04-21T14:12:43 | 2018-04-21T14:12:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 527 | cpp | else
nargv = argv;
if (directories != 0 && directories->idx > 0)
{
int bad = 1;
if (directory_before_chdir != 0)
{
if (chdir (directory_before_chdir) < 0)
perror_with_name ("chdir", "");
... | [
"993273596@qq.com"
] | 993273596@qq.com |
54a91a0a8219686badf5a088c5632b44b33cbbe7 | 4371f22802cad34ce3d5b1f14c772acaf278f26c | /src/event.hpp | 6dddec5ae19f786a80dc2be3bce4a55207e60a69 | [] | no_license | bartfrenk/particle-simulation | 7084c7796a075caaec29bb97ae0ef9002d019426 | 20676022b20770bf21bf6e603a7e965c606a181a | refs/heads/master | 2021-01-10T13:22:27.384195 | 2015-10-08T15:49:55 | 2015-10-08T15:49:55 | 43,070,756 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 946 | hpp | #ifndef EVENT_H
#define EVENT_H
#include <cstdlib>
#include "share.hpp"
enum EventType {UPDATE_POSITION,
PARTICLE_COLLISION,
WALL_COLLISION};
struct Event {
const tick_t time;
Event(const tick_t time) : time(time) {}
virtual ~Event() {};
virtual EventType get_type() c... | [
"bart.frenk@gmail.com"
] | bart.frenk@gmail.com |
709eb99bf3c3d8ba65a640e4a656b02ac97df4d5 | 07e88c109af86db6aa3194cbb71c41d449f1a805 | /Code/m3alpsshaping/robot.cpp | b26321510ac758a15779040926070b5b5c27c2f1 | [] | no_license | jbongard/ISCS | 2a7fe528140aa24631022807c5af34d7442a122d | a7f7196a2a729564bd033abc13cdf4acb172edfb | refs/heads/master | 2016-09-05T08:44:10.630025 | 2011-08-17T15:31:58 | 2011-08-17T15:31:58 | 2,222,304 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 17,671 | cpp | #include "stdio.h"
#ifndef _ROBOT_CPP
#define _ROBOT_CPP
#include "robot.h"
#include "matrix.h"
extern int ROBOT_STARFISH;
extern int SHAPE_CYLINDER;
extern int SHAPE_RECTANGLE;
extern double ROBOT_STARFISH_BODY_LENGTH;
extern double ROBOT_STARFISH_BODY_WIDTH;
extern double ROBOT_STARFISH_BODY_HEIGHT;
exter... | [
"josh.bongard@uvm.edu"
] | josh.bongard@uvm.edu |
2153f9c8d9756d06da3f757e6aa8e1e06c7287df | 046b675cb8529d1585a688f21563eb0209c94f19 | /src/Control2012/libreoffice/com/sun/star/container/XUniqueIDAccess.hpp | 0f7c530d5a04757655c0d6f5654835caeb56098b | [] | no_license | yoshi5534/schorsch-the-robot | a2a4bd35668600451e53bd8d7f879df90dcb9994 | 77eb8dcabaad5da3908d6b4b78a05985323f9ba4 | refs/heads/master | 2021-03-12T19:41:35.524173 | 2013-04-17T20:00:29 | 2013-04-17T20:00:29 | 32,867,962 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,623 | hpp | #ifndef INCLUDED_COM_SUN_STAR_CONTAINER_XUNIQUEIDACCESS_HPP
#define INCLUDED_COM_SUN_STAR_CONTAINER_XUNIQUEIDACCESS_HPP
#include "sal/config.h"
#include "com/sun/star/container/XUniqueIDAccess.hdl"
#include "com/sun/star/uno/XInterface.hpp"
#include "com/sun/star/uno/RuntimeException.hpp"
#include "com/sun/star/cont... | [
"schorsch@localhost"
] | schorsch@localhost |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.