blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 7 100 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 260
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 11.4k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 17
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 80
values | src_encoding stringclasses 28
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 8 9.86M | extension stringclasses 52
values | content stringlengths 8 9.86M | authors listlengths 1 1 | author stringlengths 0 119 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3bf72a8caa0f12ecab67d38f0be16f12ef11e463 | 67be94dcfaff3d818037be4c655fef94362c1f49 | /Src/Modules/wxLua/modules/wxluasocket/src/wxldserv.cpp | 4dd186e071cd327c68ad6a4621ce5631d46aa45e | [
"MIT"
] | permissive | wyrover/luaplus51-all | b32453b7b69060b53d6e91f98a32b972783c4912 | 43936c1430f124be62ed4983f55df1e56068dfa7 | refs/heads/master | 2021-01-18T05:25:22.325866 | 2013-08-27T06:42:23 | 2013-08-27T06:42:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 35,527 | cpp | /////////////////////////////////////////////////////////////////////////////
// Name: wxldserv.cpp
// Purpose: Provide remote debugging support for wxLua.
// Author: J. Winwood, John Labenski, Ray Gilbert
// Created: May 2002.
// Copyright: (c) 2012 John Labenski, 2002 Lomtick Software. All ... | [
"jjensen@workspacewhiz.com"
] | jjensen@workspacewhiz.com |
24493c0481a1bf43ef03e0bdcd38dfa52779b5d0 | 136bf577e452e57040896be2e900690dcdb1663c | /src/common/randoverride.cpp | f0803432544bb43953c930faa46358c47dc15846 | [] | no_license | WeSTManCoder/RedSource | a5ceadd6a24c8c826b162b0a3bbddfc094aaee0e | f1221d9752c61628dc0d0c4be392fbaff6107357 | refs/heads/master | 2023-03-19T20:19:00.861403 | 2020-04-23T19:33:21 | 2020-04-23T19:33:21 | null | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 561 | cpp | //========= Copyright © 1996-2005, Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
//=============================================================================//
#if !defined(_STATIC_LINKED) || defined(_SHARED_LIB)
#include "stdlib.h"
#include "vstdlib/random.h"
// memdbgon must be the las... | [
"i-sobolevskiy@mail.ru"
] | i-sobolevskiy@mail.ru |
8932bba5e2456a0fd369ab88f8a00c68f8133449 | 144e35a1b765d78d3b341f8fde2f3880e193236d | /Зубов В.С/MyDataBase/БД книги 2/материалы по FoxPro/A-06-05/Птицин Максим/ZAD08.CPP | 8e6a7984c0cfb240643a9e032adcdc6652a2555c | [] | no_license | renegator/labs | 4143b92f022ac21da0d1b70fd5121174353d9e8e | e6b2d90c3d8fd407737197748123853e6ffd5d80 | refs/heads/master | 2020-07-29T06:34:35.221888 | 2012-12-23T12:09:21 | 2012-12-23T12:09:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 631 | cpp | #include<conio.h>
#include<iostream.h>
long long nod(long long a,long long b)
{
if (a<b) return nod(b,a);
if (b==0) return a;
return nod(b,a-(a/b)*b);
}
long long nok(long long a, long long b)
{
return (a*b/nod(a,b));
}
void Zad08(void)
{
clrscr();
cout<<"Nahozdenie ... | [
"radix.vinni@gmail.com"
] | radix.vinni@gmail.com |
acbcd39a71e9ecd0da01bc582df83ba72fa6cc70 | b615211e97b85df312947fed83c7d1cd68041551 | /src/coincontrol.h | cab582b2799673595b54a2e4dd33d6f5150a9638 | [
"MIT"
] | permissive | coinstew/the420coin | d8b9aa580d86e465ed26558717c5c13cfa79b768 | 54adb228bf265414efd98a2d05cbe5b6b4a909ba | refs/heads/master | 2020-03-10T13:52:37.922754 | 2018-04-14T12:33:48 | 2018-04-14T12:33:48 | 129,409,380 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,721 | 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 BITCOIN_COINCONTROL_H
#define BITCOIN_COINCONTROL_H
#include "primitives/transaction.h"
/** Coin Control Features. ... | [
"info@coinstew.com"
] | info@coinstew.com |
0b8afe570efac6eadf45a6984a27c087e530fbd2 | 0318ede75c348b94ed5ae9689df75a19c615f102 | /src/Container.hpp | 370ec79cbc6211e6265c573e89fbe8cbd8008cf5 | [] | no_license | SamuelHenderson/RogueC | 70ea22f3ad1e4f3ec705541c3cdabf24196ae244 | 75fd45b647d4addce8e26e4841131713e47cc6c8 | refs/heads/master | 2020-06-01T19:14:54.044612 | 2015-05-29T02:53:34 | 2015-05-29T02:53:42 | 35,098,630 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 274 | hpp | class Container : public Persistent {
public:
int size; // maximum number of actors. 0=unlimited
TCODList<Actor *> inventory;
Container(int size);
~Container();
bool add(Actor *actor);
void remove(Actor *actor);
void save(TCODZip &zip);
void load(TCODZip &zip);
}; | [
"shenderson@ssmic.com"
] | shenderson@ssmic.com |
66704eb197e3fcf99999a2887bab452e33b47e38 | 4db0b990ab85ad2f255ee17734fbfba55f5c809b | /Exploration40/generate_id2.cpp | 3fe4622a30702cfbc909f15e1773c94770af05c8 | [] | no_license | darennet/Exploring-CPP-2e | f71be96580b21d19f8725e6e35c3f8fa2b9cfb19 | 1e2e3152eb3a3c923ac3886c81dec17623163270 | refs/heads/master | 2021-12-06T08:04:43.621697 | 2015-10-19T05:21:16 | 2015-10-19T05:21:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 475 | cpp | //
// Created by carmen on 24/09/2015.
//
#include "generate_id2.hpp"
// Switch to random-number as initial prefix for production code.
// short generate_id::prefix_(static_cast<short>(std::rand())));
short generate_id2::prefix_{1};;
short const generate_id2::max_counter_;
long generate_id2::next() {
if (counter_... | [
"carmen@carmengrantham.com"
] | carmen@carmengrantham.com |
41560200bc3712eb69d9bbdea3e1db22619abab9 | abf2002b030de3e205c9f92f73cc503af4321598 | /nedApp/src/CRocPlugin_v93.cpp | 53348e13732a44353683b0b53b2e475a05db1bf3 | [
"BSD-3-Clause"
] | permissive | ornl-epics/nED | ac3642044a098d2a47d73e9894b1362654c1726e | 34c8a33c9f699a2eebc6a9b436147fc1c527efc9 | refs/heads/main | 2023-08-27T14:46:50.273356 | 2021-07-15T18:16:07 | 2021-07-15T18:16:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,602 | cpp | /* CRocPlugin_v93.cpp
*
* Copyright (c) 2014 Oak Ridge National Laboratory.
* All rights reserved.
* See file LICENSE that is included with this distribution.
*
* @author Klemen Vodopivec
*/
#include "CRocPlugin.h"
/**
* @file CRocPlugin_v93.cpp
*
* CROC 9.3 parameters
*/
void CRocPlugin::createParams_v93... | [
"kvx@ornl.gov"
] | kvx@ornl.gov |
8ff27ad43772012fbe3e32f3ddf943ce98d6d723 | 95c97a35e9e2a05165896c41e50e47cc45b0ad4f | /source/lib/rbcp/rbcp.h | 80e6e5caea2a4ae7e5479af89119200439abb07d | [] | no_license | eyiliu/altel_eudaq | 75dc702f7f3c1aa11ccc23b1faa628a87527f84f | 63a1f84ed090e949bbea316918fb12c0c3e2db8c | refs/heads/master | 2023-03-28T02:37:36.184869 | 2020-11-27T01:09:52 | 2020-11-27T01:09:52 | 287,605,190 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 789 | h | #ifndef _RBCP_H_
#define _RBCP_H_ 1
#include <string>
class rbcp{
public:
struct rbcp_header{
unsigned char type;
unsigned char command;
unsigned char id;
unsigned char length;
unsigned int address;
};
rbcp(const std::string& ip, unsigned int udp, unsigned char id);
rbcp(const std::string... | [
"yi.liu@desy.de"
] | yi.liu@desy.de |
c7a142e832259cb11d4c92e4b4c7c21b7e75472f | 5722258ec3ce781cd5ec13e125d71064a67c41d4 | /javafx/beans/property/ReadOnlyPropertyProxy.h | 3cb219ab574dee9a917a04d23ac1543ba349ba4e | [] | no_license | ISTE-SQA/HamsterJNIPP | 7312ef3e37c157b8656aa10f122cbdb510d53c2f | b29096d0baa9d93ec0aa21391b5a11b154928940 | refs/heads/master | 2022-03-19T11:27:03.765328 | 2019-10-24T15:06:26 | 2019-10-24T15:06:26 | 216,854,309 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,695 | h | #ifndef __javafx_beans_property_ReadOnlyPropertyProxy_H
#define __javafx_beans_property_ReadOnlyPropertyProxy_H
#include <jni.h>
#include <string>
#include "net/sourceforge/jnipp/JBooleanArrayHelper.h"
#include "net/sourceforge/jnipp/JByteArrayHelper.h"
#include "net/sourceforge/jnipp/JCharArrayHelper.h"
#include "n... | [
"steffen.becker@informatik.uni-stuttgart.de"
] | steffen.becker@informatik.uni-stuttgart.de |
d0c798d333bb056a414206bd4d6c4655ad903d78 | d7c84552dc97814f97a98fa905764c6a9cfee8fb | /cmput275/weeks/sos/soln/sos.cpp | 7e21a7d9615e706947bb74fa1494dd34110886de | [] | no_license | Hishamanik/cmput274_2019 | 6c34787b891eabea42601dd3079f24d404a6674c | 2fd885d6508b05b8a8be2cde5ea0f2c6f08e0d63 | refs/heads/main | 2023-02-04T13:54:49.140663 | 2020-12-26T12:47:16 | 2020-12-26T12:47:16 | 313,016,060 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,190 | cpp | #include <iostream>
#include <cmath> // for sqrt
using namespace std;
// Compute the greatest integer d such that d*d <= n
// (i.e. the floor of the square root).
//
// You may use this function or ignore it, it's up to you.
unsigned int integer_sqrt(unsigned int x) {
unsigned int d = sqrt(x);
// should iterate ... | [
"alhishamanikjoy@gmail.com"
] | alhishamanikjoy@gmail.com |
496dafc5958cf62dbd97961fbab0d767bb2ce633 | f265a45b25004ee43c2eca4bbeea6951b2bf8e8c | /cpp/sum_mult_lt_n.cpp | c8bc85c64574679d69d76e12e8ae63ba4501565a | [] | no_license | gdsidlemath/docopt-euler | b2f57fdb8cdd495d4691923b950ed1934987b9c8 | 819b7efdb22cdbd38623ba29b557ea7af28be5dc | refs/heads/master | 2022-06-04T02:37:10.169170 | 2020-04-26T16:08:35 | 2020-04-26T16:08:35 | 259,073,894 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,215 | cpp | #include "docopt.h"
#include <iostream>
#include <string>
static const char USAGE[] =
R"(
Usage:
sum_mult_lt_n [-n number] [-j multiple1] [-k multiple2]
Options:
-n number number to calculate the sum of multiples under [default: 1000]
-j multiple1 first number to find multiples o... | [
"gsidle.math@gmail.com"
] | gsidle.math@gmail.com |
2ff5f7eaa9c2bbb6d23eae19e52435b01b7302c4 | 0dc7cca3a04006ae09db8d8475b88b7d4b67d5b5 | /ex00/Fixed.class.hpp | e2ca0489e81d12d52787eb789e77e8aaef332270 | [] | no_license | mnaji42/cpp02 | d8117a9117c45be13108a8bfe1aa46f9a186a498 | a6e691a26e0145c0c2e5fcb54c77f68feea60e37 | refs/heads/main | 2023-02-03T03:56:51.867076 | 2020-12-21T17:46:14 | 2020-12-21T17:46:14 | 323,407,552 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,196 | hpp | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* Fixed.class.hpp :+: :+: :+: ... | [
"mehdi.n.1993@gmail.com"
] | mehdi.n.1993@gmail.com |
5320fd8032a99d00f3b39ece9efe0fb80f6b8286 | de8efbf6e8cbb99be76827ca2a2f9875d114229c | /code/Struct/Decorator/StringDisplay.h | c9924415f6f11e765ed0afccb5ea9bf0e09728de | [
"MIT"
] | permissive | jun-zhang/DesignPattern-1 | aad667c9960d50f0c20b0c000b0ac2add8cf68f8 | cb14c4a1f1ada49bbc7bff9dcdcdb51cae21d6f3 | refs/heads/master | 2020-06-24T15:21:10.824041 | 2019-07-26T02:51:53 | 2019-07-26T02:51:53 | 198,999,761 | 1 | 1 | MIT | 2019-07-26T10:43:41 | 2019-07-26T10:43:41 | null | UTF-8 | C++ | false | false | 547 | h | #pragma once
#include "IDisplay.h"
class StringDisplay : public IDisplay
{
public:
StringDisplay(const std::string &str) : m_str(str) {}
virtual int getRows() const override
{
return 1;
}
virtual int getColumns() const override
{
return static_cast<int>(m_str.length());
}
... | [
"wentaojia2014@163.com"
] | wentaojia2014@163.com |
c0009de6d509f0ccfb164120ffa56d5ddfd1a19f | 4a88ded5eb2a3c7cca4b3d822b6be57431db57b4 | /c-primer-plus书本练习/计算机实验1 if语句.cpp | 00b22a7e5f4e4f2b92b4766d09acf28150b65a4c | [] | no_license | yinglongwu/Cstudy | 592221003efcd0e590ae8f8a60874c7fe3efa16f | 0c2f507e31ca710b981756b0dca0508a7b11d78f | refs/heads/master | 2021-05-17T21:35:46.656597 | 2020-03-29T06:24:36 | 2020-03-29T06:24:36 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 476 | cpp | #include<stdio.h>
int main()
{
double a,b;
char c;
printf("这是一个简易的计算器,可以计算两位数的加减乘除(输入 s 可以退出使用)\n");
while (scanf("%lf%c%lf",&a,&c,&b)==3)
{
if(c=='+')
{
printf("=%g\n",a+b);
}
if(c=='-')
{
printf("=%g\n",a-b);
}
if(c=='*')
{
printf("=%g\n",a*b);
}
if(c=='/')
{
... | [
"18815619123@163.com"
] | 18815619123@163.com |
68baa0a81a31328b5e9ffcf23e8f628964264a4d | 855da48165e70cd07c3f184714a9c166c537ec35 | /CardDefence/Classes/TowerPosEditorOperateLayer.h | 4362dc5ba726a9bc53fa604ce6c416e541f7fe5e | [] | no_license | wingkit/N001V150303MyLab | 4af547b9fa68cf4b4cca92023baff61e14a46490 | c04538cd1568a7b0558681d2b03bd83976606063 | refs/heads/master | 2016-09-05T17:40:30.456285 | 2015-06-18T16:07:11 | 2015-06-18T16:07:25 | 31,596,585 | 0 | 1 | null | null | null | null | GB18030 | C++ | false | false | 1,558 | h | #ifndef _TowerPosEditorOperateLayer_H_
#define _TowerPosEditorOperateLayer_H_
#include "cocos2d.h"
#include "editor-support/cocostudio/CCSGUIReader.h"
#include "ui/CocosGUI.h"
<<<<<<< HEAD
#include "extensions/cocos-ext.h"
=======
#include "cocos-ext.h"
>>>>>>> 242d9fd9e2218bb56c21948853acb0e3a3cae294
USING_NS_CC;
USI... | [
"525424725@qq.com"
] | 525424725@qq.com |
8a2cc511a8354e26e5f28f69060acad80a0c1501 | b0c876f37344cc8d899eeb428d0da6c301ff93cd | /core/samplers/stratified.hpp | 3d8ce2630015e91f1e8c71e1a646ae88d73046f7 | [] | no_license | marcopetreri/path-tracer | 1ba3df9022607b9070e2dda1895fe69cd158e1be | af2a14c33c3d6116c13f9e41402d73a463a8a476 | refs/heads/develop | 2021-07-10T14:15:03.727367 | 2019-03-24T11:43:01 | 2019-03-24T11:43:01 | 148,894,419 | 0 | 2 | null | 2019-03-24T11:43:02 | 2018-09-15T11:03:06 | C++ | UTF-8 | C++ | false | false | 524 | hpp | #ifndef _STRATIFIED_SAMPLER_
#define _STRATIFIED_SAMPLER_
#include "sampler.hpp"
#include "../utilities/math.hpp"
class StratifiedSampler : public Sampler{
public:
StratifiedSampler(): Sampler(), current(0), n(sqrt(samples)), invN(1.f/n), invSamples(1.f/samples){}
StratifiedSampler(int s): Sampler(s), current(0),... | [
"pepello92@gmail.com"
] | pepello92@gmail.com |
0329938877df383c8e3ffab424a2fa5f4240911e | 553b9af9c0109abcac22a5af59ce3be3c79ba4b6 | /402. Remove K Digits Solution1.cpp | 4da12e1dfa3e4367a8651b7cd6220ef99ed60809 | [] | no_license | yeopgi/LeetCode | 3628b51b7cf91267f5cf2e4cb4c183dc71287ff9 | db846337344bd5cb8fff209387b27b22c50093cc | refs/heads/master | 2023-02-04T21:26:09.328078 | 2020-12-18T05:46:16 | 2020-12-18T05:46:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 685 | cpp | class Solution {
public:
// Time: O(n)
// Space: O(n)
string removeKdigits(string num, int k) {
// greedy
k = min(k, (int)num.size());
string res;
for (auto c : num) {
while (k && res.size() && res.back() > c) {
--k;
res.pop_back();... | [
"zyjiang@utexas.edu"
] | zyjiang@utexas.edu |
d61f563757d036e0c04a714b12818b51da223c14 | 7759a90c5704266f8ecd74eefe6012b1e4cf1d30 | /tkrzw_dbm_tree_impl.cc | 3c81520101291adb5dc9b3fd1be7c7d8070cbf50 | [
"Apache-2.0"
] | permissive | maiha/tkrzw | 64bcfd3a74485c5b8b2f7f1663e1c432ef99048d | ddb989148ec975ae7537bbd690f43565143d30af | refs/heads/master | 2022-11-29T13:42:47.797736 | 2020-07-19T14:19:28 | 2020-07-19T14:19:28 | 280,895,693 | 0 | 0 | Apache-2.0 | 2020-07-19T15:35:32 | 2020-07-19T15:35:31 | null | UTF-8 | C++ | false | false | 4,238 | cc | /*************************************************************************************************
* Implementation components for the tree database manager
*
* Copyright 2020 Google LLC
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the Lice... | [
"hirarin@gmail.com"
] | hirarin@gmail.com |
5b309bba690b19e6c8f46787e4cdd0ea5f6b74d9 | 8543d49cec19c9be3f6ea9068c8c31316476f753 | /src/rpc/client.cpp | 384396685325257ce488f5afabca075bb3411732 | [
"MIT"
] | permissive | blackbearcoin/b2c | 55a9441c8287f9a61c1d43e4df54bae4a23a7041 | d0f916633d9d77e234bc7984b9a064ab9ffa50b4 | refs/heads/main | 2023-05-14T00:49:48.454131 | 2021-03-16T03:26:50 | 2021-03-16T03:26:50 | 334,512,601 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,952 | cpp | // Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2018 The PIVX developers
// Copyright (c) 2019 The Black Bear Coin developers
// Distributed under the MIT software license, see the accompanying
// file COPYING ... | [
"61999161+f0rgoot@users.noreply.github.com"
] | 61999161+f0rgoot@users.noreply.github.com |
4864f480a0e84b4f34d8941af8b964ef8275c7e0 | 98c0baa6bfdd181adf8fa1d4107cf8ea1871a242 | /Chakra3_017a0d6_20170731/tv-ap/dvb/ui2/res960x540xI8/ZUI_EPOP_alphatable_c.inl | ba663a958404e0948eb332063bc0b2bd70026936 | [] | no_license | excorp/mstar | 2e83dd25d1f36e69399fd3b632f52fbaacaf89f4 | 5d447aa5b54b60ede27d5fda42d481efa4b10ff8 | refs/heads/master | 2022-02-18T16:36:06.398420 | 2018-06-13T00:26:43 | 2018-06-13T00:26:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,444 | inl | ////////////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2006-2010 MStar Semiconductor, Inc.
// All rights reserved.
//
// Unless otherwise stipulated in writing, any and all information contained
// herein regardless in any format shall remain the sole proprietary of
... | [
"xuzemin@live.cn"
] | xuzemin@live.cn |
766d5624b82eec854730b02abb5fceccbe1bc663 | 084006eb442b60b82b3d85d61a3b53d21c5c8855 | /shared/ClanLib-2.0/Sources/API/Core/Text/console.h | ca75c80cc93f1746dd018a69251cb33779d70433 | [
"XFree86-1.1",
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause"
] | permissive | SethRobinson/proton | 7aadcb38bc676c136dce01b8f6773fd75fa33d55 | 6b1474e75a2acf48d848c70fcb043ce8223001a9 | refs/heads/master | 2023-08-31T11:04:21.575522 | 2023-08-29T07:44:50 | 2023-08-29T07:44:50 | 142,253,855 | 81 | 31 | NOASSERTION | 2023-08-07T22:02:41 | 2018-07-25T05:55:38 | C++ | UTF-8 | C++ | false | false | 8,817 | h | /*
** ClanLib SDK
** Copyright (c) 1997-2010 The ClanLib Team
**
** This software is provided 'as-is', without any express or implied
** warranty. In no event will the authors be held liable for any damages
** arising from the use of this software.
**
** Permission is granted to anyone to use this softwa... | [
"seth@rtsoft.com"
] | seth@rtsoft.com |
8155fb76dee329ed01ddd318a95d38226f830eeb | 786cf17c550d155dc8b879e32cfc5499995863b0 | /cs251/Assignments/Programs/Prog2/src/GridWorldClass/district.h | 720a8a13892b2da447ae9f5df1f832097ae9196c | [] | no_license | hbudzik/bertvm.cs.uic.edu | 3f33c93b59b7dc96c45536751dba50fe94215327 | cfa18dba381d010305d35c70f1689c8d7e175894 | refs/heads/master | 2022-02-26T08:10:16.387046 | 2019-09-11T03:20:46 | 2019-09-11T03:20:46 | 120,971,117 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 739 | h | #include <vector>
#include <iostream>
using namespace std;
class district
{
private:
//Struct for members in the district
struct NODE {
int id;
NODE* next = nullptr;
NODE* prev = nullptr;
};
public:
//initializes a class
district()
{
//(debugg == true) ? std... | [
"hubertbudmobile@gmail.com"
] | hubertbudmobile@gmail.com |
db4d46bb79a086b8a6c233020797c9cc8f949a32 | 8f886002aaa3c2a9699d2a26d667064b727f8e58 | /DirectionalLight.h | 0d9cb9a0a78d65fff2866dcb7748459f75acb290 | [] | no_license | unidentifiedFlan-zz/GameEngine | b39baa7cc46b159382ea8b08ca537d668a7e070f | 6405687b221ab2c816e8e5502c9114fcd74cc580 | refs/heads/main | 2023-06-08T03:20:48.723543 | 2021-02-21T15:01:13 | 2021-02-21T15:01:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 127 | h | #pragma once
#include "Light.h"
class DirectionalLight :public Light
{
public:
DirectionalLight();
glm::vec3 direction;
}; | [
"scday546@gmail.com"
] | scday546@gmail.com |
ef77d0cb9e62c817a5a91048597339be0db46a56 | ffa427f7667d7fc05c4e872966cbb272242d3c19 | /other/cpsco/2019s1/c/main.cpp | 1bffa73419b6b6aa51ea38ae4d1ad9331d4e36fb | [] | no_license | kubonits/atcoder | 10fb6c9477c9b5ff7f963224a2c851aaf10b4b65 | 5aa001aab4aaabdac2de8c1abd624e3d1c08d3e3 | refs/heads/master | 2022-10-02T06:42:32.535800 | 2022-08-29T15:44:55 | 2022-08-29T15:44:55 | 160,827,483 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 520 | cpp | #include <algorithm>
#include <iostream>
using namespace std;
int n, k, a[40], ans;
void dfs(int x, int y, int z) {
if (x == n && y == k) {
int res = 0;
while (z) {
res += z % 5 + z % 10 / 5;
z /= 10;
}
ans = min(ans, res);
return;
}
if (y < k) {
dfs(x + 1, y + 1, z + a[x]);
... | [
"kouhei.08.10.09.s@gmail.com"
] | kouhei.08.10.09.s@gmail.com |
fe318c904077ecba0f417f6fed9ff5b2ba54db25 | 1c8c2333675cb6c2a36326944ba8997cf3c5c752 | /assignment1/CLA_gen.cpp | 4d07e3f4623c5015365cf36397372ce2ed6b86fe | [] | no_license | nifey/cad_for_vlsi | 0fb9a51531d50969a507f7b3782efa56de098478 | 3d102dd74aca978039c7c6dd755e176e09f84ee4 | refs/heads/master | 2023-01-23T04:56:44.729975 | 2020-12-07T09:58:19 | 2020-12-07T09:58:19 | 304,353,767 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,349 | cpp | #include<iostream>
#include<fstream>
using namespace std;
// Function to find the log to base 2
int log2(int n) {
if (n==1) {
return 0;
} else {
return log2(n/2) + 1;
}
}
int main(int argc, char** argv) {
if (argc < 3) {
cout << "Usage: ./a.out n output_filename" << endl;
return 0;
}
int n = atoi(argv[1... | [
"nihaal.an@gmail.com"
] | nihaal.an@gmail.com |
2bee951a66dc711aad23b375c11c1a0bfeb0ff47 | 724ab4b95af7786587d442f206f0c3a895b2e2c1 | /chinko_bot/types/game/context/roleplay/AlternativeMonstersInGroupLightInformations.h | fa6f5049715392fc8f15727c7ea0601ae836e9df | [] | no_license | LaCulotte/chinko_bot | 82ade0e6071de4114cc56b1eb6085270d064ccb1 | 29aeba90638d0f2fe54d1394c1c9a2f63524e50e | refs/heads/master | 2023-02-04T21:15:20.344124 | 2020-12-26T08:55:00 | 2020-12-26T08:55:00 | 270,402,722 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,120 | h | #ifndef ALTERNATIVEMONSTERSINGROUPLIGHTINFORMATIONS_H
#define ALTERNATIVEMONSTERSINGROUPLIGHTINFORMATIONS_H
#include "NetworkType.h"
#include "MonsterInGroupLightInformations.h"
class AlternativeMonstersInGroupLightInformations : public NetworkType {
public:
// Constructor
AlternativeMonstersInGroupLightInformatio... | [
"negeko-inscriptions@hotmail.com"
] | negeko-inscriptions@hotmail.com |
8a2fa3f0f69d9edf253da7cf44c08dad6f5a4b6a | aa64518fd77bbe4a41b03409bfa283641c09b580 | /palindromeLinkedList.cpp | 5ea0eff5bb8df601699410af066c0ee87c54fac8 | [] | no_license | haitong/myleetcode | 64c107eaa5b5f9b2218438c7a148e3c2eacec90c | 7e16e340dacd5b00ebc3a047101fe1026e5fb2d2 | refs/heads/master | 2016-09-06T08:57:55.835488 | 2015-07-12T19:03:29 | 2015-07-12T19:03:29 | 33,004,320 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,424 | cpp | /*
Given a singly linked list, determine if it is a palindrome.
Follow up:
Could you do it in O(n) time and O(1) space?
*/
/**
* Definition for singly-linked list.
* struct ListNode {
* int val;
* ListNode *next;
* ListNode(int x) : val(x), next(NULL) {}
* };
*/
class Solution {
public:
void rev... | [
"tianhaitong@gmail.com"
] | tianhaitong@gmail.com |
656d86a9c5afe2cadd3f295a1b347d83201936d7 | c366bee80ca2fab5676688c67c8bb1af8dc5435f | /Tiket.h | 7a81d5576110c4e44d30d972bdaecf5271249322 | [] | no_license | fisnaini/Object-Oriented-Programming | 9d16b759f1d1aa7e6739b08e15ad210689f7d721 | c7e901bf19a257bcfa0eeb380fdb2588bb1dd7ee | refs/heads/main | 2023-07-10T03:32:16.028320 | 2021-08-05T12:20:24 | 2021-08-05T12:20:24 | 393,028,451 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 480 | h | #ifndef TIKET_H
#define TIKET_H
#include <string>
using namespace std;
class Tiket{
friend void cetakBarang(Tiket tiket);
private:
string kodeTiket;
string namaKereta;
string tujuan;
int hargaTiket;
int stok;
public:
Tiket(string kodeTiket, string namaKereta, string tujuan, int har... | [
"noreply@github.com"
] | noreply@github.com |
1a50099cca4ceca214f959ba96ef2e4fb99d7284 | 8b9b3ce53c2612455f23419eccfe5319afee7fb9 | /Game/Game/2DSpriteComponent.h | 10033923fae1d70f7bc562ae74c783e94686be30 | [] | no_license | SeongyongShin/18_2_final | 9b2173a452cea9d59097a4587951bb6c545e3b93 | f6523fbf753a6c4985c66f844a0f5e6db4032a36 | refs/heads/master | 2020-05-26T19:50:04.577652 | 2019-05-24T04:48:07 | 2019-05-24T04:48:07 | 188,353,135 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 1,177 | h | #pragma once
#include "IComponent.h"
#include "directheader.h"
#include <string>
#include "CTexture.h"
using namespace std;
class C2DSpriteComponent :
public IComponent
{
private:
RenderInfo m_RenderInfo;
CTexture* m_pTexture;
CSprite* m_pSprite;
wstring m_strTextureName;
wstring m_strSpriteName;
int m_iF... | [
"ssystarsky@naver.com"
] | ssystarsky@naver.com |
c8fd66b5400ecc449a5ddba74f0abf8a189fb9dc | ba27825e4fd7452fe42f9969adbd213008fb09fe | /Train/El_Sageer/El_Sageer_Specialist/01 - [SP]/01 - 03 - [SP]/01 - 03 - [SP] Dynamic Programming/01 - [SP] Dynamic Programming/01.onTopic/1.UVa [10130].cpp | 8fe4d5987db2e2a653d94ed6fc1e4ae13387d377 | [
"MIT"
] | permissive | mohamedGamalAbuGalala/Practice | 2e77a912ee366f633becf0f69562a068af138849 | 2a5fa3bdaf995d0c304f04231e1a69e6960f72c8 | refs/heads/master | 2022-07-18T23:25:08.717496 | 2020-05-25T07:51:40 | 2020-05-25T07:51:40 | 111,872,626 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 928 | cpp | #include <bits/stdc++.h>
using namespace std;
void fl() {
#ifndef ONLINE_JUDGE
freopen("in.txt", "r", stdin);
// freopen("ot.txt", "w", stdout);
#else
// freopen("jumping.in", "r", stdin); // HERE
#endif
}
#define ln() printf("\n") //output new line
#define in(n) scanf("%d",&n) //scan int
#define ot(x) printf("%d", x... | [
"Mohamed.abugalala@gmail.com"
] | Mohamed.abugalala@gmail.com |
0fc34efe420de233ca95b239bc4af8f5cc32488d | 6f75e3507cb1db44721157d53474be16e6304343 | /PianoFingering/VerticalCost.cpp | e2c7d973bb7f21bb1f8e809d7b5a9463c9a8ed70 | [] | no_license | BShakhovsky/PianoFingering_CalcModule | 1495b920af468cf4f6231ebbddefbabd4052c269 | 52dd07c81d8e27804cfc15be8be0714e3f9c0dcf | refs/heads/master | 2021-07-10T03:26:12.621583 | 2021-03-05T12:37:38 | 2021-03-05T12:37:38 | 45,641,793 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,980 | cpp | # include "stdafx.h"
# include "VerticalCost.h"
# include "PolyCosts.h"
using namespace std;
//#pragma warning(push)
#pragma warning(disable:5045) // Compiler will insert Spectre mitigation for memory load if /Qspectre switch specified
// only asserts are tested:
double VerticalCost::Calculate(const vector<pair<int16... | [
"BShakhovskey@rambler.ru"
] | BShakhovskey@rambler.ru |
87c016c598860f0e2a93637c032891d39acf62ef | c5cb356ccd642e707ba30148bee1590601f407d9 | /fast_modulo_expo.cpp | 119d8201f4d926b70de5bf8a717d7923cd88ab34 | [] | no_license | chaudhary19/CP-Algorithms-in-C_plus-plus | 90b4ae97752bc77f2df92d8c796c86c28b67532d | 0a4f7b5f6bf96bd7f92f81ce9d7b17ba27a29720 | refs/heads/master | 2023-08-29T21:04:06.424132 | 2021-10-22T06:33:58 | 2021-10-22T06:33:58 | 300,290,438 | 0 | 0 | null | 2020-10-01T13:31:57 | 2020-10-01T13:31:57 | null | UTF-8 | C++ | false | false | 387 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define mod 1000000007
ll power(ll &a,ll b);
int main()
{
ll a=123456789,b=987654321;
cout<<power(a,b); // means-> (a^b)%mod
return 0;
}
ll power(ll &a,ll b)
{
if(b==0) return 1;
ll half=power(a,b/2);
ll ret=(hal... | [
"noreply@github.com"
] | noreply@github.com |
c3de699184184717eac79374bbd81e7c4727a41f | e0387cf8f45d3e2b7ea3788b299f195a621708a8 | /Source/Sable/Core/Debug/ProfNode.cpp | 982dd787c7e4939d517614531aab781bc7b18403 | [] | no_license | ClementVidal/sable.sable | eea0e822d90739269e35bed20805a2789b5fbc81 | 0ec2cd03867a4673472c1bc7b071a3f16b55fb1b | refs/heads/master | 2021-01-13T01:28:54.070144 | 2013-10-15T15:21:49 | 2013-10-15T15:21:49 | 39,085,785 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,077 | cpp | #include <Sable\Core\Debug\ProfNode.h>
#include <Sable\Core\Debug\Prof.h>
using namespace Sable;
CProfileNode::CProfileNode( ) :
m_Name( NULL ),
m_TotalCalls( 0 ),
m_TotalSamplingTime( 0 ),
m_SamplingStart( 0 ),
m_RecursionCounter( 0 ),
m_Parent( NULL ),
m_Child( NULL ),
m_Sibling( NULL )
{
Reset();
... | [
"clement.vidal@lam.fr"
] | clement.vidal@lam.fr |
b69726b08dc509182f2aa8dc6c67fadf28ea1b5e | 340005a75e07c876838dbe32ad7e7e774950c257 | /Ch03_Data_Types/addition/main.cpp | fd9c9834c7b95c11394186c4ddab4074c08a4183 | [] | no_license | cnjsdfcy/SCFTGU_Caiyu | 50f832728613ca19cb36717edfdf73424471b3aa | 1b5bb764cd04d72f0f07a88d53c25a4e072f9eb1 | refs/heads/master | 2020-07-28T21:38:54.924144 | 2020-06-02T12:28:32 | 2020-06-02T12:28:32 | 209,544,794 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,281 | cpp | //FILE: main.cpp (systemc)
//# vim600:set sw=2 tw=0 fdm=marker:
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// DESCRIPTION
// This example illustrates problems with data sizes and conversions.
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#include... | [
"yu.cai@montage-tech.com"
] | yu.cai@montage-tech.com |
2c3db2a72acbcef0ffb32d6fdda6c7a5797c70b5 | 9818c489717537ffd6745da059052cb0d42b124b | /c++/include/corelib/ncbi_param.hpp | ea06f29806dba6eaf922ef03bc264f9c5480e59e | [] | no_license | swuecho/igblast | 0f5bda0e9226089d952f2379bd3a01d9150913c6 | c5c06cd3e05edac0d5ac17634995472ed9e4cd7e | refs/heads/master | 2020-04-23T23:02:48.133909 | 2015-08-16T20:14:26 | 2015-08-16T20:14:26 | 40,838,293 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 24,233 | hpp | #ifndef CORELIB___NCBI_PARAM__HPP
#define CORELIB___NCBI_PARAM__HPP
/* $Id: ncbi_param.hpp 413946 2013-09-19 14:24:18Z grichenk $
* ===========================================================================
*
* PUBLIC DOMAIN NOTICE
* National Center for Biotechnology Info... | [
"hwu@intellisurvey.com"
] | hwu@intellisurvey.com |
2c426ee95fae7a283318446d9e289b74c194f0a1 | 23e92ad785073701154827666c2ca7c25906b0e5 | /code/cpp/manacher.cpp | 49f813cbc02b878988c431e2f54d745c74de35c1 | [] | no_license | luqitao/choudan | bee22e338a337cef30ea0c7c9a3f8a3250f894ff | c9ff42484b2c86602e0a90b97e0a0304f159095d | refs/heads/master | 2021-01-21T02:19:55.544995 | 2015-12-05T09:24:31 | 2015-12-05T09:24:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,452 | cpp | #include<iostream>
#include<cstring>
#include<iterator>
using namespace std;
int min(int left, int right){
return left < right ? left : right;
}
int maxmanachersubstring(char *str, int len){
if(str == NULL || len <= 0)
return -1;
int newlen = 2*len + 1;
char *newstr = new char[newlen];
... | [
"liuanaqi@gmail.com"
] | liuanaqi@gmail.com |
7230e88eef5a8495e0f521033feea486c5bb5ac0 | 438eb7fe1e17592036161054c74f971514091aa1 | /snippets/include/labust/tools/RosbagUtilities.hpp | 1d4091bea4c50cbdbc7120e72bbc2918ad3df49e | [] | no_license | subCULTron-project/ROS-simulator | 80f49ad46c90fc2a52c4066246fe8cd7ce28b7d8 | 0c1b8675c72fb3440557477a12146c74290e4c9a | refs/heads/master | 2021-01-13T02:48:05.673770 | 2017-05-25T12:51:29 | 2017-05-25T12:51:29 | 77,134,476 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 3,301 | hpp | /*********************************************************************
* Software License Agreement (BSD License)
*
* Copyright (c) 2010, LABUST, UNIZG-FER
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following c... | [
"barbara.arbanas@fer.hr"
] | barbara.arbanas@fer.hr |
199c172926be39f1dbe8a9c4e3380f5507e83173 | 487d3da6fccadbfeb33a20cd67a31f905c628d57 | /src/dpsolver/int/ldsb/sym-imp.cpp | 3d2fe3caf48bb27087b90f9f5b2ece1092a082fa | [] | no_license | NiSE-Virginia-Tech/fzlinshu-DPSolver | 2640bb10e33373ab5aca1535f02f830536045768 | afe786d78a5eca826de1f0a171c01fed9847e608 | refs/heads/master | 2023-01-05T02:20:09.927119 | 2019-05-31T12:28:25 | 2019-05-31T12:28:25 | 305,509,889 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,579 | cpp | /* -*- mode: C++; c-basic-offset: 2; indent-tabs-mode: nil -*- */
/*
* Main authors:
* Christopher Mears <chris.mears@monash.edu>
*
* Copyright:
* Christopher Mears, 2012
*
* This file is part of Gecode, the generic constraint
* development environment:
* http://www.gecode.org
*
* Permission... | [
"fzlinshu@pku.edu.cn"
] | fzlinshu@pku.edu.cn |
097d73d9331d0c8b1641fc48ece10508b05700a3 | 32729b7bb684a4d04867c217dd09f90804ce66e3 | /functions/events/cfgFunctions.hpp | 36d52e8e8d8bf92bd2f5eb1519d98bcac05eabfb | [] | no_license | gruppe-adler/CO_OperationFiveLions.uzbin | 982e86efe54505b7ffff466cb87e4faf53418b00 | 3a523930c35d3ba2c3ca8fdd17c8cc3867f09183 | refs/heads/main | 2023-08-17T21:14:18.027733 | 2021-09-27T14:17:49 | 2021-09-27T14:17:49 | 399,073,776 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 194 | hpp | class GRAD_events {
class events {
class addBleedoutPFH {};
class addCuratorEHs {};
class onCuratorObjectPlaced {};
class onUnitLocalityChanged {};
};
};
| [
"nomisum@gmail.com"
] | nomisum@gmail.com |
58c7c9388b0526dd4197f0af242cb8383986375c | dc2054210d903c5d629f0487e74a58e1b96958c3 | /src/rendertarget.hpp | 52594129fdea1311fa22148443b1a319c57ee186 | [
"MIT"
] | permissive | jpbruyere/vke | 57c3cdb183ec423e06aae006267e73ffd006072e | cf965d29b9092ea6b56847028dc885b67b1603e0 | refs/heads/master | 2021-07-07T08:33:13.651404 | 2018-10-26T16:59:06 | 2018-10-26T16:59:06 | 153,489,482 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,918 | hpp | #pragma once
#include "vke.hpp"
#include "texture.hpp"
namespace vke {
enum AttachmentType {ColorAttach, DepthAttach, ResolveAttach};
struct AttachmentDef {
VkImageUsageFlags usage = VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT;
VkAttachmentLoadOp loadOp = VK_ATTACHMENT_LOAD_OP_C... | [
"jp_bruyere@hotmail.com"
] | jp_bruyere@hotmail.com |
ba22645d61a5a6354a499687b43d9b4879791c61 | b8740f478f99c899d1712b1aa7119b8046c0838d | /src/WalletLegacy/WalletTransactionSender.cpp | 07141165fe942fef87203ccb8de2114381d4b2b9 | [] | no_license | RavenHuginn/goldo | d486ee78a7d0be44903c3fc264366808797be6fe | a133ef578a3ceb7350160749dad781666fab18f4 | refs/heads/master | 2020-05-07T08:05:21.795058 | 2019-03-29T10:07:37 | 2019-03-29T10:07:37 | 180,308,643 | 0 | 0 | null | 2019-04-09T07:21:01 | 2019-04-09T07:21:00 | null | UTF-8 | C++ | false | false | 32,153 | cpp | // Copyright (c) 2011-2016 The Cryptonote developers
// Copyright (c) 2014-2017 XDN-project developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "crypto/crypto.h" //for rand()
#include "CryptoNoteCore/Account.... | [
"32670449+monselice@users.noreply.github.com"
] | 32670449+monselice@users.noreply.github.com |
4af4afe0041dd9785f2a81b3c6d292fa266509e0 | e9854cb02e90dab7ec0a49c65f658babba819d56 | /Curve Editor Framework/QT/src/gui/itemviews/qcolumnviewgrip.cpp | 72003846819c43b0cfeae98f31f689e247bb5d36 | [] | no_license | katzeforest/Computer-Animation | 2bbb1df374d65240ca2209b3a75a0b6a8b99ad58 | 01481111a622ae8812fb0b76550f5d66de206bab | refs/heads/master | 2021-01-23T19:46:13.455834 | 2015-06-08T21:29:02 | 2015-06-08T21:29:02 | 37,092,780 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,326 | cpp | /****************************************************************************
**
** Copyright (C) 2011 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$
** ... | [
"sonyang@seas.upenn.edu"
] | sonyang@seas.upenn.edu |
f815e4dcf81fe192e5e6d77175f4699daeb6894a | 3f7904686c4e31221ecf46d4754b4610b85dbbbd | /pepCoding/dsaFoundation/recursion-backtracking/recursion-intro/powerLogarithmic.cpp | 07a8d4fd2e9d3f819b877ff19b43edfc134b7e5e | [] | no_license | saxena11ashish/interview-prep | d013ab4b44bb1883e018a86f27b4fd4f1a8990b9 | c019bacedfc24d618239b65efe55730aee51817f | refs/heads/master | 2022-12-14T18:25:55.015988 | 2020-09-03T10:52:47 | 2020-09-03T10:52:47 | 291,242,066 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 867 | cpp | #include <bits/stdc++.h>
using namespace std;
#define lli long long int
#define fastIO ios_base::sync_with_stdio(false); cin.tie(NULL);
#define deb(x) cout<<"\n"<<#x<<" = "<<x<<endl;
#define deb2(x,y) cout<<"\n"<<#x<<" = "<<x<<" | "<<#y<<" = "<<y<<endl;
#define deba(a) for(int i:a)cout<<i<<"... | [
"ashishsxn96@gmail.com"
] | ashishsxn96@gmail.com |
abb5af6c47181974cc9aaeca8a1f72749520218b | 6bb26a4c350db4d707ca5aeb548a92b3a77fb349 | /Software/SatRot-GUI/GUI-Main/src/customlistmodel.cpp | 1c30f14e9f968cf4795db450dbb05fa00a441e7c | [
"MIT"
] | permissive | sonOFsalah-2425778/SatRot | f6da4653be1bdc0c0ef12fa6d1dfb945f66d35ea | b0be036825706404f039318bde079e3c954ed19a | refs/heads/master | 2022-04-12T22:47:22.926050 | 2020-04-12T07:40:51 | 2020-04-12T07:40:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,737 | cpp | #include "includes/customlistmodel.h"
CustomListModel::CustomListModel(QObject *parent):
QStringListModel(parent){
}
CustomListModel::CustomListModel(const QStringList &strings, QObject *parent):
QStringListModel(strings, parent){
}
Qt::ItemFlags CustomListModel::flags (const QModelIndex & index) const {
... | [
"ahmad.muhd13@hotmail.com"
] | ahmad.muhd13@hotmail.com |
5494e01c77a9d48b66ab67bbed5deeafa107e360 | 66b01f14834688d9bc3bd735738b15aecd28ce8f | /Genetic/main/src/GeneticGeneFormulaOperand.cpp | edf2f31fa7fe8e9c472c76e8be7faee82d7d172a | [] | no_license | fenardC/AI_geneticCarsCPP | 14d1146cc97a4a55560d0a3ab0054f6d7a510300 | f07fcffdcf2dc4311a710c7642bda5a5e50bac3f | refs/heads/master | 2020-03-16T18:50:49.282700 | 2019-01-13T12:29:22 | 2019-01-13T12:39:06 | 132,889,148 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,119 | cpp | #include "Debug/main/inc/Logger.hpp"
#include "Genetic/main/inc/GeneticGeneFormulaOperand.hpp"
#include "Genetic/main/inc/GeneticGeneTreeBranch.hpp"
#include "Misc/main/inc/Misc.hpp"
static std::vector<CObject *> _dummy;
std::vector<CObject *> & dummy = _dummy;
GeneticGeneFormulaOperand::GeneticGeneFormulaOperand()
... | [
"38584896+fenardC@users.noreply.github.com"
] | 38584896+fenardC@users.noreply.github.com |
8098c4eb407001b81e3baa50dd9f9752efc0e65a | 6b770c1e760da91325b0288c56cdcc57c8405182 | /14. Exams/2020.02.29/04. Starcraft III/BattleCruser.cpp | 1f9ef7fa094a7ca2af9cdd7fa9b1f94641a91351 | [] | no_license | Martin-BG/SoftUni-CPP-Advanced | 5c4ef936fdac3abbe25c608a6bbf2a63725af9da | 5b5f6112c88da0fa05d40eef4dc0db7235426866 | refs/heads/master | 2023-01-12T10:34:56.200137 | 2022-12-24T13:19:24 | 2022-12-24T13:19:24 | 147,219,252 | 0 | 7 | null | null | null | null | UTF-8 | C++ | false | false | 728 | cpp | #include "BattleCruser.h"
#include "ConsolePrinter.h"
BattleCruser::BattleCruser(const AirShipType type,
const int health,
const int damage,
const int shipId) :
TerranAirShip(type, health, damage, shipId) { }
void BattleCruser::dealD... | [
"MartinBG@abv.bg"
] | MartinBG@abv.bg |
2e7de6db0538396dfb2fc3d5d2559a3739a3dea8 | d7903c07410d46babbffea4adebf702a6e4aaff5 | /src/dirichlet/task_generator/src/main.cpp | dbe323387b8d62f43f10727df034dadf553c6d8e | [] | no_license | Kotevode/Purple | 949a43fe1a6139bdc5fe50e51a9e5c5b5c84bbd8 | 6c41e7a380289dfabec4602cf7d9759e5d156c57 | refs/heads/dirichlet_solver | 2021-01-20T01:12:23.142293 | 2017-05-04T19:52:01 | 2017-05-04T19:52:01 | 89,236,342 | 0 | 0 | null | 2017-06-09T19:13:58 | 2017-04-24T12:14:42 | C++ | UTF-8 | C++ | false | false | 1,503 | cpp | //
// Created by Mark on 23.04.17.
//
#include <cstdlib>
#include <iostream>
#include <algorithm>
#include "MeshGenerator.h"
#include "config.h"
#include "TaskGenerator.h"
using namespace std;
int main(int argc, char *argv[]) {
int size = 10000;
int count = 50;
if (argc > 1)
size = atoi(argv[1]);... | [
"kotevode@icloud.com"
] | kotevode@icloud.com |
d167f960ca90618680a6ce168978ca40c06344d2 | 883887c3c84bd3ac4a11ac76414129137a1b643b | /DesktopMan/Protocol/FrameOut.cpp | 328157fd66982e23eda21f7fd2c87282ccae3e0a | [] | no_license | 15831944/vAcademia | 4dbb36d9d772041e2716506602a602d516e77c1f | 447f9a93defb493ab3b6f6c83cbceb623a770c5c | refs/heads/master | 2022-03-01T05:28:24.639195 | 2016-08-18T12:32:22 | 2016-08-18T12:32:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,788 | cpp | #include "stdafx.h"
#include "FrameOut.h"
#include "vase.h"
#include "vasebitmap.h"
#include "VASEFramesDifPack.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
using namespace SharingManProtocol;
CFrameOut::CFrameOut(unsigned short sessionID, unsigned int aTime, VASE... | [
"ooo.vspaces@gmail.com"
] | ooo.vspaces@gmail.com |
af2343924788941369753b825215bc46028196f8 | f7c21624103462928c9816df4d2b0b97f28fb439 | /mohe-sx-game-server/MJShanxi2/LogicManager/SpecActive.h | 46295afb3268258f2a69abaf4e06df5fd1d35f62 | [] | no_license | Pircs/lipengServer | 17e1fc7595e8e55e5b2b7e5f582be062e7713f40 | 1e7c13338eee6398e5ada73d31845aecd9d920d8 | refs/heads/master | 2020-09-18T10:33:08.268173 | 2019-10-07T11:13:00 | 2019-10-07T11:13:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,425 | h | #pragma once
#ifndef _SPEC_ACTIVE_H
#define _SPEC_ACTIVE_H
#include "LSingleton.h"
#include "LMsgS2S.h"
class SpecActive : public LSingleton<SpecActive>
{
public:
SpecActive();
~SpecActive();
virtual bool Init();
virtual bool Final();
void addSpecActive(const LMsgLMG2LSpecActive* specList);
void sendToLog... | [
"lipeng404673101@163.com"
] | lipeng404673101@163.com |
488a8f74f12a3429de87281d9c6ce085729e54c1 | 5a3803bc1b8ac0b0ac1db09e4186454b0e3a896f | /SingleTop/src/SingleTopSystematicsTreesDumper.cc | 62e1b8b06b5c024aefc32445bf89bfedca5a81d9 | [] | no_license | oiorio/TopQuarkAnalysis | 07320ac36e33fd047e8297ce7c8ff3cb76f98c8f | 8833ec7423e8ad52ad1883a584958501221bacc4 | refs/heads/master | 2021-01-16T21:31:17.986023 | 2013-09-20T13:53:48 | 2013-09-20T13:53:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 222,830 | cc | /*
*\Author: O.Iorio
*
*
*
*\version $Id: SingleTopSystematicsTreesDumper.cc,v 1.12.2.18.2.16.2.6 2013/06/21 20:40:25 oiorio Exp $
*/
// This analyzer dumps the histograms for all systematics listed in the cfg file
//
//
//
#define DEBUG 0 // 0=false
#define MC_DEBUG 0 // 0=false else -> dont process preselecti... | [
"decosa@t3ui05.psi.ch"
] | decosa@t3ui05.psi.ch |
bc378999fa24f7e84f47165df13fcc48f8ddcf38 | 85aed0bcac5d6aea781dff64029c2d23fcba984b | /EngineUILib/GUInterface/UIWindowBody.cpp | 7eb24cb9a2adcbd0c4228597b7a7253094176f79 | [] | no_license | youdontknowme17/ura | 3c76bf05eccd38b454b389841f1db49b59217e46 | e31bc9fd9c2312175d250dc4dc1f9c656c7f2004 | refs/heads/master | 2020-03-28T15:49:00.379682 | 2018-09-15T09:57:49 | 2018-09-15T09:57:49 | 148,628,762 | 0 | 2 | null | null | null | null | UHC | C++ | false | false | 1,444 | cpp | #include "StdAfx.h"
#include "UIWindowBody.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
CUIWindowBody::CUIWindowBody ()
{
}
CUIWindowBody::~CUIWindowBody ()
{
}
void CUIWindowBody::CreateBody ( char* szLeft, char* szUp, char* szMain, char* szDown, char* szRight )
{
//UIRECT rcOriginPos = GetGlobalPos ();
//WORD... | [
"markcalimosa@gmail.com"
] | markcalimosa@gmail.com |
b96115f34bc3d2fe9b0f23475c5b5060b90989bd | 3fc1ee94ebece7022c99d69cad39c3710487a74a | /chromeos/services/multidevice_setup/public/cpp/prefs.cc | 3bba3821d1f85f2c0878109230871be0aa34f4c0 | [
"BSD-3-Clause"
] | permissive | vseal001/chromium | b78653699caa6d54f45401ad0d9e3e90c160b8fb | 474eca05898d2524072c2e3d962a866ddcfe37fc | refs/heads/master | 2023-01-15T05:05:41.728378 | 2018-08-07T12:38:42 | 2018-08-07T12:38:42 | 143,872,860 | 0 | 1 | null | 2018-08-07T12:52:25 | 2018-08-07T12:52:25 | null | UTF-8 | C++ | false | false | 2,033 | cc | // Copyright 2018 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 "chromeos/services/multidevice_setup/public/cpp/prefs.h"
#include "components/prefs/pref_registry_simple.h"
namespace chromeos {
namespace mul... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
33208d727c9d25e945644a8880ded312e7322319 | 078927a49a6c5f7e3de1a99cc9b13aad233c0a7d | /Eudora_W_source/Sandbox/Eudora/WazooBar.h | e5247b4f1dff5e9be5e74b6b28826ca8e92dce97 | [] | no_license | avar/rhqben | ac74c3893bf965eaf8911579f68fe7557f907dcc | 966db0f6a3c7d78cc9ddcab1709f9ac38fdcdd5b | refs/heads/master | 2020-03-18T07:45:21.766714 | 2018-05-22T20:15:44 | 2018-05-22T20:16:47 | 134,471,376 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,471 | h | #ifndef __WAZOOBAR_H__
#define __WAZOOBAR_H__
// WazooBar.h : header file
//
// CWazooBar
// Specific implementation of a resizable SECControlBar.
#include "QC3DTabWnd.h"
///////////////////////////////////////////////////////////////////////
// CWazooBarOleDropTarget
//
// Private class that overrides CView-based ... | [
"avarab@gmail.com"
] | avarab@gmail.com |
beb05301386052a29a89a23c98034f287bada3ee | e2950433484e55ae76cbc03c946aba6886eaf4d6 | /src/token.cpp | 3492af56715aea6f1193381ba754dba56fdfbec9 | [
"Apache-2.0"
] | permissive | eruffaldi/cmm | 29a7a17c3ab7cab5dd1225ab97e0af010c94234f | ba2942a89231d85141b8d226331e0940492ec661 | refs/heads/master | 2021-01-10T11:50:15.862897 | 2016-01-11T18:33:59 | 2016-01-11T18:33:59 | 49,097,212 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,512 | cpp | // Nome: token
// Progetto: CPP/Lexer
// Autore: Ruffaldi Emanuele
// Descrizione: implementazione dei contenitori di token
#include "token.h"
#include <string.h>
static char * nomi[] = {
"tknNONE",
"tknIDENT",
"", "", "" , "", "",
"EOF",
"<=", ">=", "==", "<<", ">>", "++", "--",
"->", "...", ... | [
"emanuele.ruffaldi@gmail.com"
] | emanuele.ruffaldi@gmail.com |
4ca33046defdc64b71003911db29c15cb9792dc5 | 37cca16f12e7b1d4d01d6f234da6d568c318abee | /ext/stub/java/lang/Math_RandomNumberGeneratorHolder-stub.cpp | a63b66ce850320bef3f9931db0f8b1056b8875d8 | [] | no_license | subhash1-0/thirstyCrow | e48155ce68fc886f2ee8e7802567c1149bc54206 | 78b7e4e3d2b9a9530ad7d66b44eacfe73ceea582 | refs/heads/master | 2016-09-06T21:25:54.075724 | 2015-09-21T17:21:15 | 2015-09-21T17:21:15 | 42,881,521 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,013 | cpp | // Generated from C:/Program Files/Java/jre1.8.0_51/lib/rt.jar
#include <java/lang/Math_RandomNumberGeneratorHolder.hpp>
extern void unimplemented_(const char16_t* name);
java::lang::Math_RandomNumberGeneratorHolder::Math_RandomNumberGeneratorHolder(const ::default_init_tag&)
: super(*static_cast< ::default_init_t... | [
"sgurjar@adobe.com"
] | sgurjar@adobe.com |
595b6be0ae23eea5658c527d9b245f5e3bf9b69c | cccfb7be281ca89f8682c144eac0d5d5559b2deb | /third_party/blink/renderer/modules/csspaint/nativepaint/clip_path_paint_image_generator_impl.cc | f62b6cbd32b04763ed6d344d5b2a4b021c547aa7 | [
"Apache-2.0",
"LGPL-2.0-or-later",
"MIT",
"GPL-1.0-or-later",
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-2.1-only",
"GPL-2.0-only",
"LGPL-2.0-only",
"BSD-2-Clause",
"LicenseRef-scancode-other-copyleft",
"BSD-3-Clause"
] | permissive | SREERAGI18/chromium | 172b23d07568a4e3873983bf49b37adc92453dd0 | fd8a8914ca0183f0add65ae55f04e287543c7d4a | refs/heads/master | 2023-08-27T17:45:48.928019 | 2021-11-11T22:24:28 | 2021-11-11T22:24:28 | 428,659,250 | 1 | 0 | BSD-3-Clause | 2021-11-16T13:08:14 | 2021-11-16T13:08:14 | null | UTF-8 | C++ | false | false | 1,746 | cc | // Copyright 2021 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 "third_party/blink/renderer/modules/csspaint/nativepaint/clip_path_paint_image_generator_impl.h"
#include "third_party/blink/renderer/modules/cs... | [
"chromium-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | chromium-scoped@luci-project-accounts.iam.gserviceaccount.com |
0985b6e3409abbb9bde2fa763cecfa676244c8e6 | ce6f4f5f4cb9d07fb410409c27bd6057e8655c93 | /homework_1/Q72/Main.cpp | 7e4f816f47c4d010da086686d64631820012da19 | [] | no_license | Kunduin/CPP_homework | 8b7aab167a036c81ca39b89a98d394893b74828d | 464e6540e0b536c7c6353bab587411c0416f5a68 | refs/heads/master | 2021-07-19T17:40:38.082222 | 2017-10-06T06:57:57 | 2017-10-06T06:57:57 | 105,973,729 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 787 | cpp | #include<iostream>
#include<string>
#include<vector>
using namespace std;
int main()
{
string roman;
cin >> roman;
vector<int> num;
long long sum = 0;
for (long long i = 0; i < roman.length(); i++)
{
switch (roman[i])
{
case'I':
num.push_back(1);
break;
case'X':
num.push_back(10);
break;
c... | [
"15852158126@163.com"
] | 15852158126@163.com |
1693d8d4685ce6292ab5f3071959ae591c9547c7 | b20633cef14a620eb8825291506f060b062ee77f | /src/libs/actions/detail/values.h | 642e08c12d2b490e84530ebd14ca6a9f33138f5e | [
"MIT"
] | permissive | adam-urbanczyk/possumwood | aa0b46c2341e6f0864a1a12c78311b5396b4ae6e | ba6e941f21f3adaee0734a436a8034bbf96b6a9c | refs/heads/master | 2020-12-23T08:04:12.926107 | 2020-01-26T13:31:51 | 2020-01-26T13:31:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 657 | h | #pragma once
#include <boost/optional.hpp>
#include <dependency_graph/network.h>
#include <actions/io/json.h>
#include "../undo_stack.h"
#include "../node_data.h"
namespace possumwood { namespace actions { namespace detail {
possumwood::UndoStack::Action setValueAction(dependency_graph::Port& port, const dependen... | [
"martin.prazak@gmail.com"
] | martin.prazak@gmail.com |
7b99fa3d84bfd4ff89e865aa3496a25264d87f41 | 668ac416ccbd85d1513f40a07a30918975634e98 | /CENTRAL 3D/Source/ModuleEventManager.cpp | ec6b158f98b775b4921856f71dea09448fba239b | [
"MIT"
] | permissive | AitorSimona/CENTRAL-3D | ec0b7761c8f09b0070f86748b1f697818ca702fd | 01700230b4733e6976fb14971dcc835374f8db12 | refs/heads/master | 2021-09-28T02:20:08.660510 | 2021-09-22T14:29:54 | 2021-09-22T14:29:54 | 209,045,472 | 5 | 4 | MIT | 2020-04-20T13:55:42 | 2019-09-17T12:17:17 | C++ | UTF-8 | C++ | false | false | 1,990 | cpp | #include "ModuleEventManager.h"
#include "mmgr/mmgr.h"
ModuleEventManager::ModuleEventManager(bool start_enabled)
{
static_assert(static_cast<int>(Event::EventType::invalid) == EVENT_TYPES-1, "EVENT_TYPES macro needs to be updated!");
head = 0;
tail = 0;
}
ModuleEventManager::~ModuleEventManager()
{
}
bool Modu... | [
"simonaaitor@gmail.com"
] | simonaaitor@gmail.com |
0327bdeb7f53345dbe8fc03a21661fc1750ddda4 | 6b40e9dccf2edc767c44df3acd9b626fcd586b4d | /NT/shell/shell32/unicpp/dcomp.h | 12e287ccbe021fa596a8814f1432d0418ec1cf23 | [] | no_license | jjzhang166/WinNT5_src_20201004 | 712894fcf94fb82c49e5cd09d719da00740e0436 | b2db264153b80fbb91ef5fc9f57b387e223dbfc2 | refs/heads/Win2K3 | 2023-08-12T01:31:59.670176 | 2021-10-14T15:14:37 | 2021-10-14T15:14:37 | 586,134,273 | 1 | 0 | null | 2023-01-07T03:47:45 | 2023-01-07T03:47:44 | null | UTF-8 | C++ | false | false | 7,872 | h | #ifndef _DCOMP_H_
#define _DCOMP_H_
#include <cowsite.h>
EXTERN_C IActiveDesktop * g_pActiveDeskAdv;
//
// Whether a particular desktop icon is shown or not depends on whether start panel is on or off.
// So, the individual preferences are persisted in two different registry locations given below!
#define ... | [
"seta7D5@protonmail.com"
] | seta7D5@protonmail.com |
f21dbac85fb42696ccc4b4cfcc3620e619fd256f | ea312c782edb62e7d8d506a307f5074311a1c492 | /MyImage/Source/PluginProcessor.h | 32f472d683ecfd6d70d673064c3f9b1c3857bb6b | [
"MIT"
] | permissive | niuniu502/Juce_Audio_Tutorial | 5950635b81666f9cdfc4890ca445570ecb5b6e19 | e9cdb3fc68c54c24d05b8f38b8384e947f269949 | refs/heads/master | 2022-10-27T16:45:50.801349 | 2020-06-18T16:12:23 | 2020-06-18T16:12:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,280 | h | /*
==============================================================================
This file was auto-generated!
It contains the basic framework code for a JUCE plugin processor.
==============================================================================
*/
#pragma once
#include <JuceHead... | [
"noreply@github.com"
] | noreply@github.com |
17456bb2e6d378bd9beedbd066e0ff843d51469b | 322eccdb14d9402a9795e7687b87d4aad2e5b19f | /libwgn/libwgn/Tool/WGEdit.h | 54c5389a059d7c0119d96c914ca7b5d71fee6ab0 | [] | no_license | wangguozhu/libwgn | 0564fc19c75b8b9cbf3aa94184d28774105affa7 | bc5a8f75b501ce3bf4b6cac20dc28887f3da174b | refs/heads/master | 2023-02-07T17:30:20.230430 | 2023-02-04T01:31:22 | 2023-02-04T01:31:22 | 101,642,951 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,129 | h | #pragma once
/// @class CAjEdit
/// @brief 自定义编辑框
class CAjEdit : public CEdit
{
DECLARE_DYNAMIC(CAjEdit)
public:
CAjEdit();
virtual ~CAjEdit();
public:
/// @brief 设置可视区域
/// @param [in ] rc 可视区域
void SetShowRect(const CRect& rc);
/// @brief 更新父DC
void UpDateDC(void);
protected:
DECLARE_MESSAGE_MAP()
//... | [
"475259729@qq.com"
] | 475259729@qq.com |
19f7f6d783d0db19ea639ca0c95844af886fd84e | 3296cab14de3ba88ba01637c634f213f2345da55 | /HIDF/HFRepIDF/external/libIgl/include/igl/read_triangle_mesh.cpp | f9b0ebf4c05c68a6e979d76e8a54a058eb113feb | [] | no_license | teshaTe/HybridFrep | 63b2fe47a6ce49927309743e1f708658c2f2f18d | ded2bbb917bd1f8bc22e28b35bdf86cf6b0340a7 | refs/heads/master | 2023-03-04T01:35:36.054376 | 2021-02-18T21:36:13 | 2021-02-18T21:36:13 | 158,251,562 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,348 | cpp | // This file is part of libigl, a simple c++ geometry processing library.
//
// Copyright (C) 2013 Alec Jacobson <alecjacobson@gmail.com>
//
// This Source Code Form is subject to the terms of the Mozilla Public License
// v. 2.0. If a copy of the MPL was not distributed with this file, You can
// obtain one at http://... | [
"tereshin.tesha@gmail.com"
] | tereshin.tesha@gmail.com |
302ea77ef78e52b2a640c45881435cec1d3e328d | f36f2f66492870e8fd84338a4bb98c5b67e4431c | /two_partitions/src/particle.cpp | 7b77ece649c43442f9bceb13026eba22c5c81755 | [] | no_license | cecilia-balocchi/particle-optimization | b607dcf514a60b814a5edc071d3f739da27b0dca | fcfad230f99350ec30d467685863b6d494280bf0 | refs/heads/master | 2022-12-12T08:14:38.277029 | 2022-12-08T16:47:00 | 2022-12-08T16:47:00 | 223,828,170 | 0 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 92,909 | cpp | /*
* particle.cpp
*
*/
#include <RcppArmadillo.h>
// [[Rcpp::depends(RcppArmadillo)]]
#include <Rcpp.h>
using namespace Rcpp;
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <iostream>
#include <iomanip>
#include <string.h>
#include <limits.h>
#include <armadillo>
#include <time.h>
#include <rand... | [
"cecilia.balocchi@gmail.com"
] | cecilia.balocchi@gmail.com |
cc5c0ac76d4a3e004b8293700c9edab5e500ae6e | d1bae97cbf46068cc1e91a23aaac7340d4483265 | /SpaceGolfGame/SpaceGolfGame/Systems/VelocitySystem.cpp | b136226eee65276b897a389f0bf40c801eca174f | [] | no_license | jinsuoliu/SpaceGolfGame | 20cf02cc00f5f1cb6be442f95e0a2e1ab9927484 | 7cba5262c6495167aaccff9f198ec7f64f56d00d | refs/heads/master | 2020-08-06T21:51:53.985391 | 2018-06-09T12:23:51 | 2018-06-09T12:23:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 727 | cpp | #include "VelocitySystem.h"
#include "../Components/VelocityComponent.h"
#include "../Components/PositionComponent.h"
#include "../Components/MeshTransformCacheComponent.h"
VelocitySystem::VelocitySystem()
{
}
VelocitySystem::~VelocitySystem()
{
}
void VelocitySystem::update(entityx::EntityManager & entities, enti... | [
"amer_zavlan@live.com"
] | amer_zavlan@live.com |
fbdd13b9124cc46ea5cebd3bf08c742806d17ea7 | 08b8cf38e1936e8cec27f84af0d3727321cec9c4 | /data/crawl/wget/hunk_201.cpp | d7527fed807577b5290b5ede3ac493baf9144c37 | [] | 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 | 448 | cpp |
res = hash_table_get_pair (jar->chains, victim->domain,
&chain_key, NULL);
- assert (res != 0);
+
+ if (res == 0)
+ {
+ logprintf (LOG_VERBOSE, _("Unable to get cookie for %s\n"),
+ victim->domain);
+ ... | [
"993273596@qq.com"
] | 993273596@qq.com |
a4a63b3f971d194b137f94b829ccacd90b4b32e2 | 877fff5bb313ccd23d1d01bf23b1e1f2b13bb85a | /app/src/main/cpp/dir7941/dir7942/dir8062/dir8063/dir8254/file12143.cpp | 6e49de0ef4ce34fb4b9cc9b04955ac99a0538aae | [] | 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 file12143
#error "macro file12143 must be defined"
#endif
static const char* file12143String = "file12143"; | [
"tgeng@google.com"
] | tgeng@google.com |
1e0e907a819e52558f74a012683eb74b3d6d6415 | 604e78eef855be5304b67887610b6067e7e1e71f | /PL0103_Cotejo_Prod_Matrices.cpp | a0ba7b36d5832e094d3753dc5defd199a0026271 | [] | no_license | ASAROVA/PL01_Pruebas_Cache | a8e8ed7bb1de2b6c7c7e8609b9503b180b5785da | 8ae29450efe166c751ab25177968696f5add3914 | refs/heads/master | 2022-12-20T10:17:31.668757 | 2020-09-23T04:49:40 | 2020-09-23T04:49:40 | 297,413,934 | 0 | 0 | null | null | null | null | WINDOWS-1250 | C++ | false | false | 6,799 | cpp | #include <iostream>
#include <ctime>
#include <vector>
#include <algorithm>
using namespace std;
#define SL cout<<endl
#define MIN 0
#define MAX 10
/// Generador de Numero Aleatorio /////////////////
#include <ctime>
int aleatorio (int minimo=0, int maximo=RAND_MAX )
{
static bool inicio = true;
... | [
"noreply@github.com"
] | noreply@github.com |
232aae9baacfbc7126aabbc194d9ed2a4bae2143 | 2b4dd17b278dee70383b866c9ed0ca8cae3ddd1e | /src/client/OW_BinaryCIMOMHandle.hpp | b2cc98eebe5c05470b43e156a41f49643806c0b0 | [
"BSD-3-Clause"
] | permissive | murisfurder/openwbem | 165344e13f9b189be3a4b5a8ee65ace2c490d64d | 5c688eefc1f8e35a4b1c58529aae5f114c25c2a8 | refs/heads/master | 2021-01-16T23:00:11.194124 | 2012-09-27T10:59:55 | 2012-09-27T12:36:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 29,109 | hpp | /*******************************************************************************
* Copyright (C) 2001-2004 Vintela, Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* - Redistributions of sou... | [
"kkaempf@suse.de"
] | kkaempf@suse.de |
df9ad1e8710ca01634e86777ef134745945e7611 | 4ed3c8ff8fe86b41f912e393a85fd5598aaafc75 | /lib/casadi-py27-np1.9.1-v3.0.0/include/casadi/core/function/qpsol_impl.hpp | 99a22ce388c09ea0c1d3fc80ad7bfbb5ef90909a | [
"BSD-3-Clause"
] | permissive | njoubert/spooky | a2e3245c1539406c2512f863eb69be76180f6fc7 | 308bcf8d53734f680edb9093e5ab7221e763a8b6 | refs/heads/master | 2021-01-22T14:10:40.197554 | 2017-05-31T21:45:10 | 2017-05-31T21:45:10 | 45,371,821 | 18 | 7 | null | null | null | null | UTF-8 | C++ | false | false | 3,594 | hpp | /*
* This file is part of CasADi.
*
* CasADi -- A symbolic framework for dynamic optimization.
* Copyright (C) 2010-2014 Joel Andersson, Joris Gillis, Moritz Diehl,
* K.U. Leuven. All rights reserved.
* Copyright (C) 2011-2014 Greg Horn
*
* CasADi is free software; you ... | [
"njoubert@gmail.com"
] | njoubert@gmail.com |
9aaf6393435dc39e2c4e7da369f5c20469de6e7f | d3363534cb895b3b9acbb49e70e205a6f5a524b9 | /380/380.cpp | 186ab509a05f1f9ac523c2c6d62677e204677657 | [] | no_license | Behrouz-Babaki/practice | 82a638cbd6a7475930c0fd30fcd86a4333786b7b | 27174701c6aeb0dcea2335e27dbcf9ffa3d7f73a | refs/heads/master | 2021-08-16T11:38:31.981301 | 2017-11-19T19:37:19 | 2017-11-19T19:37:19 | 12,410,348 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,247 | cpp | #include <iostream>
#include <map>
#include <vector>
#include <sstream>
#include <string>
using std::endl;
using std::cin;
using std::ws;
using std::cout;
using std::map;
using std::vector;
using std::istringstream;
using std::getline;
using std::string;
struct _forward_ {
int time;
int duration;
int target;
};... | [
"Behrouz.Babaki@cs.kuleuven.be"
] | Behrouz.Babaki@cs.kuleuven.be |
1099f3e2c203cab1defb9d80919a6eb23021ce0c | 5cbecad99f964c0a7f3c796007a060e159e169eb | /src/wallet/api/address_book.h | 5dbf8fdfa3257a53503782dd2df00530d4d14805 | [
"BSD-3-Clause"
] | permissive | Pubfred/Zeon2 | 0dfa9f53a6d15ed572b84936c1df4791ef82fc12 | 1ea7f7efbe4f572657c56d134837f8a1276f6fca | refs/heads/master | 2021-01-01T19:22:22.244901 | 2017-07-27T20:08:21 | 2017-07-27T20:08:21 | 98,575,149 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,585 | h | // Copyright (c) 2016-2017, ZEON, (forked from) The Monero Project
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification, are
// permitted provided that the following conditions are met:
//
// 1. Redistributions of source code must retain the above copyright no... | [
"pubfree@free.fr"
] | pubfree@free.fr |
5a3c4fddcb4cb97045509b86edd1a8840259c975 | 0354d8e29fcbb65a06525bcac1f55fd08288b6e0 | /clients/qt5cpp/generated/client/HudsonMasterComputer.h | 9ce14fb6b35b036395fa9f3f4c75b2d16b619e1f | [
"MIT"
] | permissive | zhiwei55/swaggy-jenkins | cdc52956a40e947067415cec8d2da1425b3d7670 | 678b5477f5f9f00022b176c34b840055fb1b0a77 | refs/heads/master | 2020-03-06T20:38:53.012467 | 2018-02-19T01:53:33 | 2018-02-19T01:54:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,876 | h | /**
* Swaggy Jenkins
* Jenkins API clients generated from Swagger / Open API specification
*
* OpenAPI spec version: 0.1.0
* Contact: blah@cliffano.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manu... | [
"cliffano@gmail.com"
] | cliffano@gmail.com |
63b6c24afd6dedaec3e6cd0a345c259ac122b153 | b13a84e6098030c5df2b38d5dcb1b16951115190 | /lib/range.hpp | 7a7ba85b5a681c2b88032e28602cac27dcc47e9c | [] | no_license | cctry/SCpaper-2021 | 7b35e9e009256f86187f96722818f610ab3e3dd4 | aedab163f44bff8dfad3745d4f57972cb7640cda | refs/heads/main | 2023-04-30T05:44:26.769453 | 2021-06-03T02:17:22 | 2021-06-03T02:17:22 | 356,388,712 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,584 | hpp | #pragma once
#include "utils.h"
#include <iterator>
#include <type_traits>
// Make these ranges usable inside CUDA C++ device code
#ifdef __CUDACC__
#define DEVICE_CALLABLE __host__ __device__
#else
#define DEVICE_CALLABLE
#endif
namespace culib {
namespace detail {
template <typename T>
struct range_iter_base : st... | [
"noreply@github.com"
] | noreply@github.com |
54fb2f63d5d4f7304a388b0285d5824f34314909 | 777d1b7f25bf781b3dcba6a10884679cdcbc4810 | /src/apps/public/pepspec/pepspec_anchor_dock.cc | 582467d7415bfa70605c964a1c34e8045fa8eaf8 | [] | no_license | radtek/jMetalRosetta | 84cfc039ff575c4d858fc85abff3f755e75eaec8 | ebb8eaba167e5684da668df03774bddb4d2fa273 | refs/heads/master | 2020-05-27T16:42:49.400393 | 2017-07-31T22:19:13 | 2017-07-31T22:19:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 54,523 | cc | // -*- mode:c++;tab-width:2;indent-tabs-mode:t;show-trailing-whitespace:t;rm-trailing-spaces:t -*-
// vi: set ts=2 noet:
//
// (c) Copyright Rosetta Commons Member Institutions.
// (c) This file is part of the Rosetta software suite and is made available under license.
// (c) The Rosetta software is developed by the co... | [
"mjggodoy@gmail.com"
] | mjggodoy@gmail.com |
d4806c552762d7a5a0b092de8e33a4c288e3e768 | 453a249c45367fab253f497a4f543622648b037b | /gparser-parrellell/DepReader.h | 96875efe50914fd4cdff96b94cc8787fc969e17e | [] | no_license | zuiwufenghua/meishan-code | 8ddc7a07b59f75b39d85e70c91e3778b7dcedf1e | 976c7c600dd1b8237d556058d92ff232692f0522 | refs/heads/master | 2021-01-16T23:48:28.848548 | 2014-11-13T11:10:41 | 2014-11-13T11:10:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,443 | h | #ifndef _DEP_READER_
#define _DEP_READER_
#pragma once
#include <fstream>
#include <iostream>
using namespace std;
#include "DepInstance.h"
class DepReader
{
public:
DepReader();
virtual ~DepReader();
int startReading(const char *filename) {
if (m_inf.is_open()) {
/* cout << endl;
cout << ( m_inf.rdstate(... | [
"mason.zms@gmail.com"
] | mason.zms@gmail.com |
41438f8aed6045cc8bf1bea30da5a189566b2c46 | 2c35da61dc41f8ff2c1588a2e66b61ca90cd1f3a | /dependencies/emscripten/box2d-emscripten/Dynamics/Joints/b2PrismaticJoint.cpp | d03eb6dd6da587c03671aa84bb4cf1bdea0b22f7 | [] | no_license | vkaytsanov/AngryBirds | 5858b3dad02940f21dfa849153a134645ecc2191 | 2cc1a7494f1c2c337461df73c4f43c57bfa57770 | refs/heads/master | 2023-06-17T10:27:37.254180 | 2021-07-08T11:37:00 | 2021-07-08T11:37:00 | 364,853,524 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,109 | cpp | /*
* Copyright (c) 2006-2011 Erin Catto http://www.box2d.org
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of this software.
* Permission is granted to anyone to use this software for any purpose,
* i... | [
"vkaytsanov@yahoo.com"
] | vkaytsanov@yahoo.com |
94ac107375e827c14643db2f1763f027b9b0d765 | 13d789d505fdb75b1dff45f0ea173ecc1d6ca440 | /examples/laplace_aztec/main.cpp | 756a1c9ca5fae15225f114812df0249904114e83 | [
"MIT"
] | permissive | bstaber/TrilinosUQComp | 209d39abe41aef14cfb0c2da039476f1a0815ba1 | 12ada5a678338a1da962113a4fad708f93b19e03 | refs/heads/master | 2022-03-30T10:33:09.066090 | 2020-01-10T15:48:01 | 2020-01-10T15:48:01 | 92,018,402 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,337 | cpp | #include "Epetra_ConfigDefs.h"
#ifdef HAVE_MPI
#include "mpi.h"
#include "Epetra_MpiComm.h"
#else
#include "Epetra_SerialComm.h"
#endif
#include "meshpp.hpp"
#include "laplacepp.hpp"
int main(int argc, char *argv[]){
#ifdef HAVE_MPI
MPI_Init(&argc, &argv);
Epetra_MpiComm Comm(MPI_COMM_WORLD);
#else
Epetra_SerialCom... | [
"brian.staber@gmail.com"
] | brian.staber@gmail.com |
5939e1e1fa6155807353d259fecaeb2e2bf61371 | 9b74579b3feb6d67403464a2769ae1ce50a6c01b | /server/include/components/CollisionBox.hpp | 4f83eab702a5d0f727d51a69bfdc69ebdae934a3 | [] | no_license | Aelerinya/rtype | 551679c915cf770499d2f9cbf404cbfb34c223cc | 9db3902087f92458bd2433cd7f9a255b9813cece | refs/heads/main | 2023-07-20T15:31:49.105106 | 2020-11-28T11:20:28 | 2020-11-28T11:20:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 412 | hpp | #ifndef COLLISION_BOX_HPP
#define COLLISION_BOX_HPP
#include "GameObject.hpp"
#include <functional>
#include <optional>
#include <vector>
struct CollisionBox {
float width;
float height;
float offset_x = 0;
float offset_y = 0;
unsigned roughness = 1;
std::vector<GameObject> ignoreList = {};
... | [
"alexis.crozet@epitech.eu"
] | alexis.crozet@epitech.eu |
c44f334e3338b533fb00531f204097974b10f9bb | 792890dbab2a8329c44c063af23377708438230a | /roamfree/ROAMfunctions/include/ROAMfunctions/ImagePlaneProjectionM.h | 17ad51e18f8a1595be46aeb69b5e3421725f6ae4 | [] | no_license | ffgamelife/ROAMFREE | dc5d84eba514dbf928819e209af8053fc21fd23b | 1d63b5e9e7dd63ee76165485b00c027f431987e3 | refs/heads/master | 2023-01-23T02:51:54.481566 | 2020-11-29T12:53:56 | 2020-11-29T12:53:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,574 | h | /*
Copyright (c) 2013-2016 Politecnico di Milano.
All rights reserved. This program and the accompanying materials
are made available under the terms of the GNU Lesser Public License v3
which accompanies this distribution, and is available at
https://www.gnu.org/licenses/lgpl.html
Contributors:
Davide A. Cucci ... | [
"davide.cucci@epfl.ch"
] | davide.cucci@epfl.ch |
427e9fb923e95618dc5e4c23672b052dd3b370a4 | ceda3349a29fa1a2aa067887d427db3d45c41d81 | /Classes/StatusLayer.h | 477e311bacbaf480473ccf8b9dd1b1e618813a06 | [] | no_license | poros666/cocos_2d_moba | 235c28e53b3b16acc0e35585437ed2019283fa46 | f19027b7d446fe7e63b5735a6804aa2f05d779de | refs/heads/master | 2020-05-26T06:20:11.965996 | 2019-06-16T15:11:26 | 2019-06-16T15:11:26 | 188,133,543 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 315 | h | #pragma once
#include "cocos2d.h"
#include "OneMapLayer.h"
#include "Hero.h"
class StatusLayer :public cocos2d::Layer
{
public:
static cocos2d::Layer* createLayer();
virtual bool init();
virtual void update(float dt);
void setHPprogress(int initHealthPointsLimit,int healthPoints);
CREATE_FUNC(StatusLayer);
}; | [
"1196128112@qq.com"
] | 1196128112@qq.com |
3c6e09cb03114fafdc2e087e710a4d78af11e84f | 005ccb2375b571381096f9bd85b4e5d3e231257d | /early_models/flapping_wing_ff_original/backGround/system/controlDict | 3405a417733ba76cf5f90327b090f1a2b239abf2 | [] | no_license | lhooz/flapping_model_openfoam | b2be4d7873bbe3686533bfbe07b5b2441053280d | 7561787ccfc51afe453e5df0d0f25e395703e7d3 | refs/heads/master | 2022-12-28T14:23:20.798833 | 2020-10-07T22:27:08 | 2020-10-07T22:27:08 | 274,503,779 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,773 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 7 |
... | [
"hao.lee0019@gmail.com"
] | hao.lee0019@gmail.com | |
95939b215bc96f460b67a4b11fd46e870981fe56 | a946bd87890dc390fa732e4c82d3ec0c2e510b5d | /Source/NotCatan/DiceRoll.cpp | 9a696a01908ccdc0b0741bf8624735625cbb0766 | [] | no_license | Rizler/not-catan | d05ae2acee8c5ad74d6a1af02529ed8a3204331e | 38933dcd5ef46a8085db84f90091722b9c668845 | refs/heads/master | 2022-06-05T21:45:20.575119 | 2022-04-30T11:28:37 | 2022-04-30T11:28:37 | 116,809,273 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 171 | cpp | #include "DiceRoll.h"
FDiceRoll::FDiceRoll()
{
roll();
}
void FDiceRoll::roll()
{
die1 = FMath::RandRange(1, 6);
die2 = FMath::RandRange(1, 6);
sum = die1 + die2;
}
| [
"niry33@gmail.com"
] | niry33@gmail.com |
3bc6069927ac8ee72c917db44396acc280366982 | b4a537160bc8aee055534280b8564992d05d4245 | /15000/15727.cpp | 96bcad896bff3d9b545dc681f591de3f66240ce4 | [] | no_license | kadragon/acmicpc | c90d8658969d9bcbecd7ac45a188ac1ad4ad1dd3 | b76bb7b545256631212ea0a2010d2c485dbd3e40 | refs/heads/master | 2021-07-13T01:45:03.963267 | 2021-04-18T07:33:08 | 2021-04-18T07:33:08 | 244,813,052 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 241 | cpp | //
// Created by kangdonguk on 2020/06/21.
//
// https://www.acmicpc.net/problem/15727
// 조별과제를 하려는데 조장이 사라졌다
#include <stdio.h>
int main() {
int n;
scanf("%d", &n);
printf("%d", (n + 4) / 5);
} | [
"kangdongouk@gmail.com"
] | kangdongouk@gmail.com |
db0159ed91ff2b076af21b30ae17b9ce076ae19e | 3f3095dbf94522e37fe897381d9c76ceb67c8e4f | /Current/BP_TikiTorch.hpp | a156e45663659e60c7d49f8f14a04397117ddec7 | [] | no_license | DRG-Modding/Header-Dumps | 763c7195b9fb24a108d7d933193838d736f9f494 | 84932dc1491811e9872b1de4f92759616f9fa565 | refs/heads/main | 2023-06-25T11:11:10.298500 | 2023-06-20T13:52:18 | 2023-06-20T13:52:18 | 399,652,576 | 8 | 7 | null | null | null | null | UTF-8 | C++ | false | false | 889 | hpp | #ifndef UE4SS_SDK_BP_TikiTorch_HPP
#define UE4SS_SDK_BP_TikiTorch_HPP
class ABP_TikiTorch_C : public AActor
{
FPointerToUberGraphFrame UberGraphFrame;
class UBoxComponent* Box;
class UAudioComponent* audio;
class UNiagaraComponent* NS_TikiTorch_Light_Flicker;
class UNiagaraComponent* NS_Fire_TikiTo... | [
"bobby45900@gmail.com"
] | bobby45900@gmail.com |
9d3354dd03636f0d7b5a24182c54cdb72b064759 | 1721779a4625ea06c43844a617b0d418ab4c567b | /HelloWorld/HelloWorld/Scene.h | 4f33b9478f7b51f5f08d5d43c3cc1aeb2cb932af | [] | no_license | ajiethv/relict | c40101ce4e5cb906534dae0b259b01ac084d4666 | 048fece3b3d18bd6d71a8cc6cf96486ab5a55d6f | refs/heads/master | 2020-12-13T13:13:40.310509 | 2020-04-04T03:44:57 | 2020-04-04T03:44:57 | 234,427,076 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,452 | h | #ifndef __SCENE_H__
#define __SCENE_H__
#include "JSON.h"
#include "ECS.h"
class Scene
{
public:
Scene() { m_sceneReg = new entt::registry(); }
Scene(std::string name);
~Scene() { }
void Unload();
//Each scene will need to have a different
//init, as each scene's contents will be different
virtual void Init... | [
"keaton.pledge@ontariotechu.net"
] | keaton.pledge@ontariotechu.net |
e2ecb2b9db1f11129825434c799545480b708bc0 | 810fcadbb217b1e7fd58c68f576ca205218ab1e7 | /Media/VoIP/Nequeo.Sip/Nequeo.PjSip-v2.5.5/Nequeo.PjSip/OnCallStateParam.cpp | f46d6402e29a420ab87d147c0a7a938b16014583 | [
"MIT"
] | permissive | drazenzadravec/projects | ac0706d67de944b6ac5cd74798e3af3588446c0d | 8b7f1653c70c2104462b8c1660175caf96e80885 | refs/heads/master | 2021-08-10T21:42:26.366786 | 2021-01-02T03:57:29 | 2021-01-02T03:57:29 | 56,288,488 | 5 | 4 | MIT | 2020-07-07T03:52:39 | 2016-04-15T03:34:33 | JavaScript | WINDOWS-1252 | C++ | false | false | 2,285 | cpp | /* Company : Nequeo Pty Ltd, http://www.nequeo.com.au/
* Copyright : Copyright © Nequeo Pty Ltd 2015 http://www.nequeo.com.au/
*
* File : OnCallStateParam.cpp
* Purpose : SIP OnCallStateParam class.
*
*/
/*
Permission is hereby granted, free of charge, to any person
obtaining a copy of this... | [
"drazenzadravec@live.com.au"
] | drazenzadravec@live.com.au |
211fe9462b08563cd8e388b5318dd2fcffc455fd | 28a554599ba006dbc76442bc48e48e49848d2ddc | /src/canvas.cpp | a89e7e1e53234a4ab39e0fa386312179407f16d3 | [] | no_license | ArthurGoodman/dragon | a81d5bcd3256204b5d78bb35fa06780a7df6071a | 9370d4261fd097aa070359c868ea6c4c77dcadb1 | refs/heads/master | 2021-01-19T00:14:07.358306 | 2016-06-30T18:38:59 | 2016-06-30T18:38:59 | 62,333,488 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 199 | cpp | #include "canvas.h"
Canvas::~Canvas() {
}
void Canvas::setPixel(int x, int y, const Color &color) {
setPixel(x, y, color.rgba());
}
Size Canvas::size() {
return Size(width(), height());
}
| [
"arthur.goodman3@gmail.com"
] | arthur.goodman3@gmail.com |
56bcdcaa64270e64654669edd2445053714d1540 | 452b514ce0fae960b863464ac3b2eba2732abc8c | /software/GUI/WAG_bands/networkmonitor.h | 5326f29fb4168b59e82b5a8c60bedd08056b14cc | [] | no_license | fangedscorpion/suitup_WPI_MQP | 1e699e41d6e04bc67cb4c2ce9562a685f82fbc6a | 3606388b0fb30f02c50850fb7e48ce4575d1737c | refs/heads/master | 2021-03-24T12:30:02.021904 | 2016-04-23T02:19:51 | 2016-04-23T02:19:51 | 41,758,265 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 489 | h | #ifndef NETWORKMONITOR_H
#define NETWORKMONITOR_H
#include <QQuaternion>
#include <QString>
class NetworkMonitor
{
public:
NetworkMonitor(int portNumber);
~NetworkMonitor();
signals:
void receievedQuaternion(QQuaternion quat);
void acceptedConnection(QString ipAddress);
public slots:
void sendMo... | [
"mandi1267@gmail.com"
] | mandi1267@gmail.com |
c366b2998b1aa1f1a2f00e7e6e99cfb4694a79fe | f81b774e5306ac01d2c6c1289d9e01b5264aae70 | /content/renderer/worker/dedicated_worker_host_factory_client.h | 315b6582285f160a4eef052ffb82b137ee0435ae | [
"BSD-3-Clause"
] | permissive | waaberi/chromium | a4015160d8460233b33fe1304e8fd9960a3650a9 | 6549065bd785179608f7b8828da403f3ca5f7aab | refs/heads/master | 2022-12-13T03:09:16.887475 | 2020-09-05T20:29:36 | 2020-09-05T20:29:36 | 293,153,821 | 1 | 1 | BSD-3-Clause | 2020-09-05T21:02:50 | 2020-09-05T21:02:49 | null | UTF-8 | C++ | false | false | 4,440 | h | // Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CONTENT_RENDERER_WORKER_DEDICATED_WORKER_HOST_FACTORY_CLIENT_H_
#define CONTENT_RENDERER_WORKER_DEDICATED_WORKER_HOST_FACTORY_CLIENT_H_
#include ... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
16716a88aeb4ac7fe3a0775f6ced8c035ea21485 | c217a840e32d17f8aa31efd4c34b2d87a1db76eb | /framework/Physics/Base/Mass.cpp | 14baff3848611555125802d0d1d179fa3e8f6038 | [] | no_license | eleveeeen/physics | 1df794859965b1041cbad7b644aa944b6354b61d | 09bb4588237d4dfc7e802848846dbb2302b8907b | refs/heads/master | 2020-03-19T21:33:51.907078 | 2018-06-11T16:01:27 | 2018-06-11T16:01:27 | 136,942,988 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 1,872 | cpp | #include"Mass.h"
#include"../../Utility/GameMath.h"
namespace CalcMass
{
D3DXMATRIX InertiaBox(const D3DXVECTOR3& halfExtent, float mass)
{
D3DXVECTOR3 sqrSz = halfExtent*2.0f;
sqrSz = GameMath::MulPerElem(sqrSz, sqrSz);
D3DXMATRIX inertia = GameMath::IdentityMatrix();
inertia._11 = (mass*(s... | [
"noreply@github.com"
] | noreply@github.com |
7204f11d84bdbaf6490f85f1756e1322479e7aa5 | 0bfe65241a94cc91a3ebcc22fe2f39ebba111a4d | /Weapon.h | 429e0fdf60777b28fd0a55f270b76609a4a62f3b | [] | no_license | travijuu/TeamTwo | cb541a0056ea4db47b6d2f75deaf2576461d391d | 78ce425994901c564fff4e94fda0f2914c7db57d | refs/heads/master | 2016-09-05T18:13:58.504747 | 2013-12-04T17:42:07 | 2013-12-04T17:42:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,694 | h | /*
Copyright (C) 2011-2012 Alican Sekerefe
TeamTwo is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
TeamTwo is dis... | [
"travijuu@gmail.com"
] | travijuu@gmail.com |
bfa7f364afca144dbf65742a2dd91ac83b4e1454 | e6cf89bafc571f7bcf78b81a90acfb3616f7aa52 | /Servants/servantberserkeraxe.h | bee4b603a6c150e7f3ea34f4a70eb9c9059323ef | [] | no_license | matathias/Fate-Battle | 4770c364026bd13a2d4169508532b0c40fecdf41 | 8c0865a794e2783ef4659802da7af710fe648ea5 | refs/heads/master | 2021-01-21T04:44:37.152704 | 2018-03-16T22:34:06 | 2018-03-16T22:34:06 | 55,940,174 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 718 | h | #ifndef SERVANTBERSERKERAXE_H
#define SERVANTBERSERKERAXE_H
#pragma once
#include "Servants/servantberserker.h"
class ServantBerserkerAxe : public ServantBerserker
{
public:
ServantBerserkerAxe(int as, Team t, Logger *l);
virtual bool isGodmindActive();
virtual void turnUpdate();
virtual int doActi... | [
"warrick.david58@gmail.com"
] | warrick.david58@gmail.com |
369d5139b206d8f5cd3711d609b8d696f9410dff | 03d1b64947c22b1418ac09b3e2d39786f6b57f62 | /include/sp2/scene/node.h | bce3952df6d89d3eef9a9f1d44dee59734c10260 | [] | no_license | croxis/SeriousProton2 | e2a1b0156e5a611ec76bb97788e389f135c114ea | f034b8ecae5f6ea63bd93afa2e0aaecf6b74ddba | refs/heads/master | 2020-07-25T14:10:51.320418 | 2019-09-12T18:51:53 | 2019-09-12T18:51:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,033 | h | #ifndef SP2_SCENE_NODE_H
#define SP2_SCENE_NODE_H
#include <sp2/math/matrix4x4.h>
#include <sp2/math/quaternion.h>
#include <sp2/script/bindingObject.h>
#include <sp2/pointerList.h>
#include <sp2/graphics/scene/renderdata.h>
#include <sp2/graphics/animation.h>
#include <sp2/multiplayer/replication.h>
class b2Body;
cl... | [
"daid303@gmail.com"
] | daid303@gmail.com |
ad56ac26ee676cde2220cf62b41aebb0a30b5ab8 | b0ee03926ee77ebe1bbfe0e619a56eeae837bde1 | /Online-Judge-Solutions/SPOJ/GSS2 - Can you answer these queries II.cpp | 4105d1b9f73989cdcd64c542b71d55119ae9afb3 | [] | no_license | artugal28373/CompetitveProgramming | 6457a44f03cf3b62c2cdb832dcd7ee4c95d272a3 | e41e1b7ea46ab4088ef487bf00ab0aad7dc06ef9 | refs/heads/master | 2022-04-10T11:15:19.804675 | 2019-09-30T20:35:03 | 2019-09-30T20:35:03 | 476,767,051 | 1 | 0 | null | 2022-04-01T15:07:20 | 2022-04-01T15:07:19 | null | UTF-8 | C++ | false | false | 5,419 | cpp | /*
Hint : https://www.quora.com/How-can-the-SPOJ-problem-GSS2-be-solved/answer/Brian-Bi?srid=29u8
*/
#include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
#define pii pair <int,int>
#define pll pair <long long,long long>
#define sc ... | [
"tanmoytapos01@gmail.com"
] | tanmoytapos01@gmail.com |
de30974f811bcb0251d4cc1d1492af73ef95db8d | 99e494d9ca83ebafdbe6fbebc554ab229edcbacc | /.history/Day 2/Practice/Answers/StarStrings_20210305184804.cpp | 14c66b82d20427b29f2a17a2dbdc03c29202c3a2 | [] | no_license | Datta2901/CCC | c0364caa1e4937bc7bce68e4847c8d599aef0f59 | 4debb2c1c70df693d0e5f68b5798bd9c7a7ef3dc | refs/heads/master | 2023-04-19T10:05:12.372578 | 2021-04-23T12:50:08 | 2021-04-23T12:50:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 582 | cpp | #include<bits/stdc++.h>
using namespace std;
bool isVowel(char a){
if(a == 'a' || a == 'e' || a == 'i' || a == 'o' || a == 'u'|| a == 'y'){
return true;
}
return false;
}
int main(){
string name;
cin >> name;
bool answer = true;
for(int i = 0; i < name.size() - 1; i++){
if(... | [
"manikanta2901@gmail.com"
] | manikanta2901@gmail.com |
b97722b346a7e9cda2026089daf1ac734e8c9347 | 7f69e98afe43db75c3d33f7e99dbba702a37a0a7 | /src/plugins/thirdParty/LLVM/lib/Target/X86/X86GenFastISel.inc | c59e14e267db80edb4309a7bdc3751b0ef7cde06 | [
"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 | 588,925 | inc | /*===- TableGen'erated file -------------------------------------*- C++ -*-===*\
|* *|
|* "Fast" Instruction Selector for the X86 target *|
|* ... | [
"agarny@hellix.com"
] | agarny@hellix.com |
862f2904a24eef2b2b1b2dcd4e29e415e9338c1c | 2de74aee70593f9cf62f43e1aa2183240b27ce34 | /src/malware_definition_children/keylogger_definition.h | 4bd4dc221ad6d6c934f0cf63afe6fba6333384f8 | [] | no_license | gardng59/malware-analyzer | 6f77a604184f819233faa6ef65a7f24e051aa288 | 68ce65b82bd2014ff27394ba7d5b7c6a2056bda4 | refs/heads/master | 2021-07-11T16:29:46.070823 | 2018-12-11T19:21:09 | 2018-12-11T19:21:09 | 136,522,562 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 336 | h | #include "../import_data.h"
#include "../malware_definition.h"
#include <string>
#include <vector>
#ifndef KEYLOGGER_DEFINITION_H
#define KEYLOGGER_DEFINITION_H
class KeyloggerDefinition: public MalwareDefinition
{
public:
KeyloggerDefinition();
double calculateProbability(std::vector<ImportData*> impor... | [
"gardng59@uwosh.edu"
] | gardng59@uwosh.edu |
0f1aaba6c8d3e2c554a9f46cfbdc31cce82920a7 | 796f8851d2509455dc2f89592a51bcd8d022948d | /20190101-1주차-1일차/문지현/C.cpp | 47a127f31177461d757065f99572f34f83dc0e52 | [] | no_license | rhythm-union/2019-algorithm-study | ade8c4adedea0acf54f1183a1e6a3c8eaed814f0 | 92e6ad25b0cf9614f5f7da734a547d12302c0491 | refs/heads/master | 2020-04-14T02:24:44.056689 | 2019-02-15T17:56:45 | 2019-02-15T17:56:45 | 163,582,114 | 9 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 262 | cpp | #include <stdio.h>
#include <iostream>
using namespace std;
int main(){
int n = 0;
scanf("%d", &n);
for(int q = 0; q < n; q++){
string num;
cin>>num;
if(num[num.length()-1]%2 == 0){
printf("even\n");
} else {
printf("odd\n");
}
}
}
| [
"46284684+Ji-Hyeon@users.noreply.github.com"
] | 46284684+Ji-Hyeon@users.noreply.github.com |
7e22bbf89ae6be445770d6c0a2b995ae19f27db4 | 3193fab36a50300d58d8ef5c8a5f19257573efcc | /Session1/313_Super_Ugly_Number.cpp | c7ce5ffa878ef6bd972a8da92c897748efb43d96 | [] | no_license | truthspy/LeetCode | bf04e5e5b6bb872d781ea37f2985ef1561a393b3 | 3c1ac54a10d7cdc42ebdffad2b761c552cb93acb | refs/heads/master | 2021-01-20T18:24:46.914617 | 2016-10-23T10:53:39 | 2016-10-23T10:53:39 | 48,662,072 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 641 | cpp | class Solution {
public:
int nthSuperUglyNumber(int n, vector<int>& primes) {
int k = primes.size();
vector<int> result(n, 1);
vector<int> p(k, 0);
int m = 1;
while(m < n) {
int min = INT_MAX;
for(int i = 0; i < k; i ++) {
if(result[p[i... | [
"qirongrong0831@163.com"
] | qirongrong0831@163.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.