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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
31e49e5acf40a5599864d66346435f35f487377e | 7c84bd1e2fe23a2b4dee2c4478f442994f4b3960 | /DX11Demo/Common/DXAppView.cpp | fbc2ecc178e49fe230750dd6964e5796f8ea2f73 | [] | no_license | sunnior/DX11Demo | a3229552504e0b81aad82cd0465e1ffcb2e41140 | 1dec4daf7db621ceb9d21ff18bda486b4146eaa6 | refs/heads/master | 2021-01-17T18:57:45.590534 | 2016-07-25T14:13:15 | 2016-07-25T14:13:15 | 64,133,299 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,001 | cpp | #include "DXAppView.h"
DXAppView::DXAppView(HINSTANCE hInstance, std::string title)
: DXApp(hInstance, title)
, m_Theta(1.5f*MathHelper::Pi)
, m_Phi(0.25f*MathHelper::Pi)
, m_Radius(5.0f)
, m_LowRadius(3.0f)
, m_HighRadius(15.0f)
, m_RadiusScaleVelocity(1.0f)
{
XMMATRIX I = XMMatrixIdentity();
XMStoreFloat4... | [
"sunnior@gmail.com"
] | sunnior@gmail.com |
d35860a4aefb6645f59a49e2943e6925b6d7d7eb | b7f3edb5b7c62174bed808079c3b21fb9ea51d52 | /chrome/test/base/testing_profile_key.h | 0efbd6340d8e9135aa50f62a8f0305430fb2db2b | [
"BSD-3-Clause"
] | permissive | otcshare/chromium-src | 26a7372773b53b236784c51677c566dc0ad839e4 | 64bee65c921db7e78e25d08f1e98da2668b57be5 | refs/heads/webml | 2023-03-21T03:20:15.377034 | 2020-11-16T01:40:14 | 2020-11-16T01:40:14 | 209,262,645 | 18 | 21 | BSD-3-Clause | 2023-03-23T06:20:07 | 2019-09-18T08:52:07 | null | UTF-8 | C++ | false | false | 1,255 | 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 CHROME_TEST_BASE_TESTING_PROFILE_KEY_H_
#define CHROME_TEST_BASE_TESTING_PROFILE_KEY_H_
#include "chrome/browser/profiles/profile_key.h"
#include... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
427f72b7ef7107b1e20f9519fd54324970feb4f1 | 53ebf3462e04a876bc82bbb56217eef8999e27bb | /test/math_golden_section_search_test.cc | 05bd3f3220164e610c75b6a7a85c9f262973e6c7 | [] | no_license | etheriqa/algorithm | 54b801f0a4ba9e94a44d74087e62206ee549ffcd | 9ca4766f29bd852400bf32e3c35287114e509102 | refs/heads/master | 2021-01-10T11:51:06.165961 | 2015-10-25T23:25:28 | 2015-10-25T23:46:03 | 44,383,636 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 628 | cc | #include "gtest/gtest.h"
#include "math/golden_section_search.h"
namespace {
const double kPI = 3.1415926535898;
}
TEST(Math, GoldenSectionSearchSin) {
const auto f = [](double x){ return std::sin(x); };
double x, sin_x;
std::tie(x, sin_x) =
goldenSectionSearch<double>(0, kPI, f);
EXPECT_NEAR(kPI / 2, x,... | [
"etheriqa@gmail.com"
] | etheriqa@gmail.com |
a3a81c5c189a676dc77b6e25215269f44f9ee3d3 | d07e54a26022cfb16fc32878ec838768678d3c20 | /src/EspServer/Storage/EspServerStorage.cpp | fe5b0bd708e71428def69d0a65369bdb4cee39f2 | [] | no_license | cjowski/ESP32 | 0fe7344dda118e1cc72df5a4bea23f9db0b9be9b | 917de88444ed102dca0746accf57d7cfb16e068f | refs/heads/master | 2023-07-15T17:31:57.334366 | 2021-08-28T12:41:03 | 2021-08-28T12:41:03 | 333,856,353 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 654 | cpp | #include "EspServerStorage.h"
EspServerStorage::EspServerStorage()
{
FmChannelValuesContainer = new JsonContainer("FmChannelValues", 10, 2000);
GyroValuesContainer = new JsonContainer("GyroValues", 10, 2000);
MotorsContainer = new JsonContainer("Motors", 10, 2000);
}
void EspServerStorage::AddFmChannelValues(Fm... | [
"marcin.ochocki93@gmail.com"
] | marcin.ochocki93@gmail.com |
0b8f9bfbb5fe1570d08506c62c53f12c438c0c4f | 49bee0dd379719a56222454fbbdd896dfce9e121 | /Os_lab6_Consumer.cpp | 93d802352a80788b5f93109e308652f2d5d2aa18 | [] | no_license | luanjiale/OS- | f38ccc26190fb42ff85f21e6971333c02ccbdcfd | 665cf6ed7098a9e7c7bae5002a9a61cd9045b395 | refs/heads/master | 2022-08-22T13:16:06.336378 | 2020-05-21T12:07:55 | 2020-05-21T12:07:55 | 265,763,361 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 4,771 | cpp | /************************************************
* 六、信号量实现进程同步 *
*************************************************/
#include<stdio.h>
#include<windows.h>
#define APPLICATION_NAME "C:\\Users\\LJL\\source\\repos\\Os_lab6_Producer\\Debug\\Os_lab6_Producer.exe"
int count = 1;
/*
创建互斥量函数
... | [
"noreply@github.com"
] | luanjiale.noreply@github.com |
f2662be5357288409430a554cec9ab01e2a900c8 | 09736a8e00f3f6f241e25e72675c594119f883e3 | /Personas/ArrayList.cpp | fd4132420912ff9d447bced2508d910881c51444 | [] | no_license | aumaza/personas-C- | 741a1ba02363573dadd00a2cc0fa16a4039a9374 | 8fa4f1e62680c2496842aaf65d23f1b9f23826f0 | refs/heads/master | 2020-07-05T21:31:41.948655 | 2019-08-16T19:02:54 | 2019-08-16T19:02:54 | 202,783,722 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,595 | cpp | #include "ArrayList.h"
#include <iostream>
#include <string>
#include <cstdio>
#include <cstdlib>
#define AL_INCREMENT 10
#define AL_INITIAL_VALUE 10
using namespace std;
//CONSTRUCTOR
ArrayList::ArrayList(void)
{
size = 0; //AL_INITIAL_VALUE;
elements = 0;
array = new int[size];
pElement = new void*... | [
"noreply@github.com"
] | aumaza.noreply@github.com |
3f9936a9977b02ca8652a15400809d2be3b6b360 | e938b01860e5521952a09410c251f045a39504b9 | /greeter_client.cc | e9a877b3ff0641401beb1c9919c0de2bb8072572 | [] | no_license | RidaShamasneh/client_server_grpc | 56c47ea706391c1018e654d15a2d73bcef79163a | f855fe3ec963f163904d54681a3deb51865b781f | refs/heads/master | 2020-04-08T05:20:43.579112 | 2018-11-26T14:43:29 | 2018-11-26T14:43:29 | 159,056,831 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,526 | cc | /*
*
* Copyright 2015 gRPC authors.
*
* 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 agree... | [
"rshamasneh@asaltech.com"
] | rshamasneh@asaltech.com |
06009cdaaa426a9c5f6a270ae3dc78f4f889e97d | 2d03b06f70cf1e57c75ea08a6f1e9a795bae3999 | /pointer.cpp | bc475d32429b42b8c6d3b4f672fdbcc1cf8064f7 | [] | no_license | mayank3810/cpp-learning | a90b49ce6bfdac432ff9425ab5b68b234e971dae | 090078894541b4923bf86e62793f434b869f9c56 | refs/heads/main | 2023-06-26T11:50:34.056162 | 2021-08-01T12:23:20 | 2021-08-01T12:23:20 | 384,875,446 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 350 | cpp | #include <stdio.h>
#include<stdlib.h>
void update(int *a,int *b) {
int tempa = *a;
int tempb = *b;
*a = tempa + tempb;
*b = abs(tempa - tempb);
// Complete this function
}
int main() {
int a, b;
int *pa = &a, *pb = &b;
scanf("%d %d", &a, &b);
update(pa, pb);
printf("%d... | [
"mayankgautam2105@gmail.com"
] | mayankgautam2105@gmail.com |
f6ba92e8e53161cc8f1e4261db8ab3f1de62c3fe | fdced0cedf6ac643e277c5d39ab195b0a5d20d78 | /Include/Memory/WeakPtr.h | 79c063e96bd963d42ef2f7c353c2c14e55d12f1e | [] | no_license | lunkyguy/DHCamera | b879a19b550dd5c3b7f4fdccac9d149093b347df | 2e75ef8b8614908311d7a25a09733af06e6da756 | refs/heads/master | 2020-04-06T16:47:19.947411 | 2018-11-19T01:00:42 | 2018-11-19T01:00:42 | 157,634,362 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,535 | h |
#ifndef __DAHUA_MEMORY_WEAK_PTR_H__
#define __DAHUA_MEMORY_WEAK_PTR_H__
#include "Memory/SharedPtr.h"
namespace Dahua {
namespace Memory {
template < class T >
class TWeakPtr
{
typedef TWeakPtr<T> this_type;
typedef T element_type;
#ifdef DAHUA_NO_MEMBER_TEMPLATE_FRIENDS
public:
#else
template<class Y> friend... | [
"zzl19911220@163.com"
] | zzl19911220@163.com |
5dd8971aeff1baccdab21926332c46366cfda054 | 193aacd05d997604655a0872bbe1604f4585dc29 | /cfc croc.cpp | 58f850d69b1527f1a69825e78bb9ecb0ed302027 | [] | no_license | NEERAJISM/codes | b27e375313b1c1c8c002f76159cb1160706c9eea | 9f770d7b2dbfbe0f12f235089dcdac7dfe370887 | refs/heads/master | 2021-01-19T11:10:31.721972 | 2016-07-30T05:27:41 | 2016-07-30T05:27:41 | 60,888,241 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,577 | cpp | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define fp(i,s,e) for(i=s;i<=e;i++)
#define fm(i,s,e) for(i=s;i>=e;i--)
int g[1002][1002];
int main()
{
int i,j,k,m,n,a,b,x,y,od,ev,e=2,o=1,tt,flag1=0,flag2=0,l;
scanf("%d%d%d",&n,&a,&b);
if(n>a*b)
printf("-1");
else
{
... | [
"8patidarneeraj@gmail.com"
] | 8patidarneeraj@gmail.com |
23f13117a76eb27707f64e5a79665ab4e3b845c6 | db7148c33aabad259c9e1acafdf6e5c49b627d46 | /Tests/Armory/build_test_game/osx-build/Sources/include/kha/Framebuffer.h | 1e3b4c1b1dbf9d22ceb696dc8bbc2ef897beb1b5 | [] | no_license | templeblock/Animations | 18472430af796d32e3f0c9dd2df1058fdb241846 | e986fa2249b998889fad78cac6ff3cc70ad196f0 | refs/heads/master | 2020-04-23T01:23:44.200377 | 2018-06-07T14:33:43 | 2018-06-07T14:33:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 2,537 | h | // Generated by Haxe 3.4.4
#ifndef INCLUDED_kha_Framebuffer
#define INCLUDED_kha_Framebuffer
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
#ifndef INCLUDED_kha_Canvas
#include <kha/Canvas.h>
#endif
HX_DECLARE_CLASS1(kha,Canvas)
HX_DECLARE_CLASS1(kha,Framebuffer)
HX_DECLARE_CLASS2(kha,graphics1,Graphics)
HX_DECLARE_CLASS2... | [
"neverliberty@gmail.com"
] | neverliberty@gmail.com |
91fdb76ddbc694e577aeeeb4ff9854ba289bc4e1 | 8dd39b654dde37c6cbde38a7e3a5c9838a237b51 | /dasha and stairs/main.cpp | 270fd82edd24af274e394e6d20e29c36d3dd2d81 | [] | no_license | Taohid0/C-and-C-Plus-Plus | 43726bdaa0dc74860c4170b729e34cea268008fd | d38fd51851cc489302ad4ef6725f1d19f7e72ec2 | refs/heads/master | 2021-07-19T17:30:26.875749 | 2017-10-28T09:49:51 | 2017-10-28T09:49:51 | 108,636,340 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 264 | cpp | #include <bits/stdc++.h>
using namespace std;
int main()
{
int a,b;
cin>>a>>b;
if(a==0 and b==0)
{
cout<<"NO"<<endl;
return 0;
}
if(abs(a-b)==0 or abs(a-b)==1)cout<<"YES"<<endl;
else cout<<"NO"<<endl;
return 0;
}
| [
"taohidulii@gmail.com"
] | taohidulii@gmail.com |
47802e2911c02e7bb7aeafb8e9882fd8c26578ab | 9028516ff0b2d95b8000b9fc4c44c29aa73c926c | /src/txorphanpool.h | d24468a65227ceebca8efeb5dac8b9b2b2abc11f | [
"MIT"
] | permissive | lycion/TripOne | a9e546eac9ad6179c0b6bd4f868162f70930b6ac | c6ae7d9163ef4095fe0e143d26f3311182551147 | refs/heads/master | 2020-03-28T22:29:06.119551 | 2018-09-18T06:07:06 | 2018-09-18T06:07:06 | 149,236,186 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,095 | h | // Copyright (c) 2018 The Bitcoin Unlimited developers
// Copyright (c) 2018 The Bitcoin developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef TRIPONE_TX_ORPHANPOOL
#define TRIPONE_TX_ORPHANPOOL
#include "net.h"
#i... | [
"lycion@gmail.com"
] | lycion@gmail.com |
5312ccffffd9c74b6304cdfe46af2c4dadd9358b | aa39ff21ee275fe6da667c5b5948567a2b582694 | /Classes/Ui_Bag.h | ccd350490f00859efe1f2e5d1312aa4a90afdacf | [] | no_license | f4cky0u/TowerDefense | 0ec7578735417a3e0d096c5d1d83fdf5a225db34 | 91c3cd4d4a834597babfc0b110c1d8d67bbf7db4 | refs/heads/master | 2023-01-14T04:55:40.598297 | 2020-11-11T11:15:39 | 2020-11-11T11:15:39 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,560 | h |
#ifndef __UI_BAG_H__
#define __UI_BAG_H__
#include "GameConfig.h"
#include "levelScene.h"
#include "network/HttpClient.h"
#include "Ui_Bag_Message.h"
USING_NS_CC;
// vector升序排序
class CompLess
{
public:
bool operator ()(const _BagItemInfo& _item1, const _BagItemInfo& _item2)
{
if (_item1._type == _item... | [
"ivan@youban.org"
] | ivan@youban.org |
a418561ef4cd8fc7fedcc621db182c46c430b585 | 43cc9aaa77c5686e62688c5403b80fb9fe5d76d3 | /test/basic_test/test_input.cpp | d1c0bf454032c378a1021a80d812bb770d73b49d | [] | no_license | jingyu323/cplus-study | 92cd6d893c7d86b047a332f5cd92afeb9380d18c | 7ee5b0cf591f88d5391cd79e6ee6f4a9f9eef96c | refs/heads/master | 2023-08-08T05:31:40.409966 | 2023-08-07T12:45:32 | 2023-08-07T12:45:32 | 147,777,268 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 163 | cpp | #include <iostream>
using namespace std;
int main()
{
char name[50];
cout << "ce:";
cin >> name;
cout << "out " << name << endl;
return 0;
} | [
"xzg323@163.com"
] | xzg323@163.com |
b6aab92b22439d7c5b92e29183de303535ccf762 | f7275659680b07fbb9fb1647f0f26cc029565939 | /GUIFrame.cpp | 40c753430f8913e3efdf73b1a2672f4fe7d42d2e | [] | no_license | rexzhang/wxalarm | f564fcf019c8e9c9c1a0d75b4c1dae24113ad1c5 | 435d244e0382c10f38d1675c0699a7d7acc4bc7a | refs/heads/master | 2016-09-06T10:37:59.614623 | 2008-08-31T14:38:43 | 2008-08-31T14:38:43 | 32,366,981 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,348 | cpp | ///////////////////////////////////////////////////////////////////////////
// C++ code generated with wxFormBuilder (version Apr 16 2008)
// http://www.wxformbuilder.org/
//
// PLEASE DO "NOT" EDIT THIS FILE!
///////////////////////////////////////////////////////////////////////////
#include "wx/wxprec.h"
... | [
"rex.zhang@cce68e7b-343c-0410-bfd2-9b215a1710d6"
] | rex.zhang@cce68e7b-343c-0410-bfd2-9b215a1710d6 |
efd359d181884e9dedf0420c820464b4e9feb507 | 52b1a2650d5ee7c52c82a1de8413e6a12f5d675b | /itgclient/client/apps/sc/activex/VSSC/sources/certinfo.cpp | ec7ab2eaf1b1eca82ce7f1a11fdbcd4ff0141837 | [] | no_license | classic130/processing_center_additional | 89fc9367ad12649416d972a0af2a8a925fedc9e5 | efe745ff6780abc7c83a5f6cf1ac0166926e355d | refs/heads/master | 2022-03-05T12:23:47.955954 | 2019-10-18T10:12:31 | 2019-10-18T10:12:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 28,113 | cpp | #include "stdafx.h"
#include "certinfo.h"
//#include "utils.h"
int mallocandcpy(BYTE*& pbDestBuff, BYTE* pbSrcBuff, unsigned int nBuffSize);
int freecertinfo(PCERT_INFO pCertInfo);
HRESULT _UTCToFiletime(unsigned char* pbUTCTime, FILETIME* ftFileTime);
CCertInfo::CCertInfo(BYTE* pbCertDerBlob, DWORD dwCertDerBlobLen... | [
"buildman@digicert.com"
] | buildman@digicert.com |
e8621455360b11799f230b8e3333947fa4b1f5ec | bede8738671ca0ba9d3430f792a1c3a1a3186fc5 | /Exercise.2.0/Exercise.2.1.cpp | af8fbd3e607b059da2fd855e08d93394c01a9036 | [] | no_license | pilo309/Exercise.2 | c60da308918a50d4f7cf7f895945903b5fd92d45 | 68d894b696ecdcb3af8bd9076dcbe6c1bb58d210 | refs/heads/master | 2022-12-31T07:03:18.586782 | 2020-10-15T13:05:19 | 2020-10-15T13:05:19 | 304,296,165 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 912 | cpp | #pragma comment(lib, "RaspberryPI.lib")
#include <stdio.h>
#include <stdlib.h>
#include <RaspberryDLL.h>
#include <conio.h>
//Brug nu nogle af disse funktioner til at skrive noget kode(i main() i det projekt du
// oprettede i Exercise 2.0), der tænder og slukker en eller flere lysdioder.Du bestemmer selv hvordan den ... | [
"au645645@uni.au.dk"
] | au645645@uni.au.dk |
c08340bfae205ec9efb00c889c7eb708052c4dec | d72d6a7a277d40cde2e94f2c76cfa3329740de24 | /singly-linked-list/cpp/generic/SNode.h | 986040b7c7e48eba6677a03d07d5520f23359403 | [] | no_license | qkcire/data-structures-practice | 75a372d6713392447f30d4fc33ecead980b03549 | 3a63fa7fc82dee9034259f156574d6eea8d9a50d | refs/heads/master | 2021-07-02T22:02:49.134482 | 2017-09-24T04:24:00 | 2017-09-24T04:24:00 | 104,616,780 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 153 | h | #pragma once
#include <string>
template <typename E>
class SNode {
private:
E elem:
SNode<E>* next;
friend class SLinkedList<E>;
};
// real-quick | [
"erickbquintanilla@gmail.com"
] | erickbquintanilla@gmail.com |
67e27e422f310e6af485518e8b26ae45d63338ac | 15d02dda0d627cd474b5713f5c566b5f36d29da7 | /linked_list_main.cpp | a0a76c99e8680c9ac2a5cbd95ee792048de66de1 | [
"Apache-2.0"
] | permissive | gtmills/algorithms | 5896a865a4b11cc6b06d4da12a857656ac30ece3 | 1fc8ec7e5772082e33cbba54538032253cfc56d8 | refs/heads/master | 2022-02-23T15:42:32.907267 | 2019-10-10T20:07:25 | 2019-10-10T20:11:26 | 104,490,617 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,270 | cpp | #include <iostream>
#include "linked_list.hpp"
int main()
{
linkedList list;
auto key = 13;
std::cout << "Insert front: " << key << std::endl;
list.pushFront(key);
std::cout << "Linked list:" << std::endl;
list.print();
key = 15;
std::cout << "Insert back: " << key << std::endl;
l... | [
"gmills@us.ibm.com"
] | gmills@us.ibm.com |
22e3a06b37adc8e53771577043efd6159e5c6822 | 123fb31b8f176bbe7372f68a6e0228b4e101a5b7 | /SDL3/Player.cpp | 44272e5c61f2a2132d2dfbdd8e5145fe379a3be5 | [] | no_license | Terracorrupt/TerraSDL | dd94f391611a41b2769f658d9fa4f0898ed99521 | 5d785e19298f5b971bd7d49b20fd70d534cd1a90 | refs/heads/master | 2016-09-16T00:54:09.970179 | 2014-02-19T14:40:48 | 2014-02-19T14:40:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,103 | cpp | /*
//The Player class is an example of a generic object. Player inherits from Generic, and is a "Generic object" in our game. This can
//be a player, an enemy, an obstacle, basically any object that exists in our game.
*/
#include "Player.h"
Player::Player(SDL_Renderer* renderer)
{
position = new Vector2(0,0);
pRe... | [
"podge-2006@hotmail.com"
] | podge-2006@hotmail.com |
956d695ff597b9c1942a752893de44f5b00514e1 | 5cef1b4d7c410b0d80b06bc9e49fe653df7fcb46 | /LadySMonsters/ui/marketMonster/ButtonCardMarketMonster.cpp | 34b9b0228887fcf606fbfa5068f33d024c8744af | [] | no_license | LadySDev/TinyMonstersCopy | d8865a5befb9a3d0e5c63910c054bc959767096c | 9e3dd44a9cec9b6c57551e5f39364e89f2e49083 | refs/heads/master | 2021-05-17T01:10:31.467638 | 2020-03-27T14:34:26 | 2020-03-27T14:34:26 | 250,550,397 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,898 | cpp | #include "ButtonCardMarketMonster.h"
ButtonCardMarketMonster::ButtonCardMarketMonster(GameUI* gameUI, std::string name, int price) : GuiButton(name)
{
m_image = *gameUI->getResource()->getImage("imgMenuBtnLargeCard");
m_text.setFont(*gameUI->getResource()->getFont("eternityTime"));
m_text.setFillColor(sf::Color::... | [
"ladysvideogame@gmail.com"
] | ladysvideogame@gmail.com |
7bdd3fcf920c5b8cac4c8190a699f649b7291985 | 8183a73fce72011c27b1298eea052257c204571e | /Layanan Pesan Digital.cpp | 69186296da9a164efd8520b7217b800fe69dbfbe | [] | no_license | IchsanHandika/Program-C_TLS21 | b6cb4e8ed9bb6521d9dbc5a5e22f030cf184b7b1 | 66bd229b111c40e4b61ad6e4561bbd9f481be26a | refs/heads/main | 2023-08-19T12:44:59.652021 | 2021-10-26T11:38:12 | 2021-10-26T11:38:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,504 | cpp | //Program Layanan Menu Digital
#include<iostream>
using namespace std;
int main()
{
int pesanan, pri, jlh;
int total = 0;
char mad, jwb;
cout<<"====================================================";
cout<<"============================\n";
cout<<"\t\t\tSelamat datang di layana... | [
"noreply@github.com"
] | IchsanHandika.noreply@github.com |
b7f0579171282a04e88c0731c2ffc72bbca82e2f | 9b33a35cd33454200bcfd8db0c4772d28ff40bfe | /nweb.cpp | d7bc826a21b0206b0f4b2549580012193e732153 | [] | no_license | killuglyjoe/Json2XmlServerConverter | 41717cca124eabe20c3ecbc1aa40392cb307d125 | b3a5c92efce191c37aaec8f9c51b751b7a55f466 | refs/heads/master | 2021-07-09T05:28:54.162111 | 2017-10-03T16:44:44 | 2017-10-03T16:44:44 | 105,304,724 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,668 | cpp | #include <cstdio>
#include <stdlib.h>
#include <unistd.h>
#include <errno.h>
#include <fcntl.h>
#include <signal.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <iostream>
#include <sstream>
#include <fstream>
#include <string>
#include <cctype>
#include <map>
... | [
"killuglyjoe@gmail.com"
] | killuglyjoe@gmail.com |
984a5cdc484269d57ab3f517a2da824c821c826d | fc2c4fb695189a02e77dd7e3448546c1b7c4f077 | /Clase27Mayo/27-Mayo/PaqueteDatagrama.h | c26851f91715c5adeb6c26cfb8b9f81ec7bdee2a | [] | no_license | holaalex2204/DSD | 480bfcb416f94a58aab12e648023d7eecce58d04 | 65e6ef227ec9d51840baf89fe60b4f5971c9ce00 | refs/heads/master | 2021-01-10T10:07:58.767292 | 2015-06-25T20:14:19 | 2015-06-25T20:14:19 | 36,754,061 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 910 | h | #ifndef PAQUETE_DATAGRAMA_H
#define PAQUETE_DATAGRAMA_H
#include <sys/types.h>
#include <sys/socket.h>
#include <stdio.h>
#include <netinet/in.h>
#include <netdb.h>
#include <strings.h>
class PaqueteDatagrama {
public:
PaqueteDatagrama(unsigned char *, unsigned int, unsigned char *, int );
PaqueteDatagrama(unsigned i... | [
"holaalex2204@hotmail.com"
] | holaalex2204@hotmail.com |
bd97e802f468ebf80b98d98316879e24e47867de | 866ac3eef6b18e58517be3b5343d69bd7e8dc474 | /soft/remote_ctrl/tests/pawn_test/pawn_src/io.inc | 56fb7e964838514df5ad3a95bbccf5f7131fc8a0 | [] | no_license | z80/IPM | 6fd1667e4407c4d86cf8f3603d1ee90ff40d96f4 | cea3df3eab682c704fd64735bb77c107487133a5 | refs/heads/master | 2021-01-22T21:28:33.416169 | 2015-04-07T21:00:49 | 2015-04-07T21:00:49 | 3,706,641 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 74 | inc |
native print( o ) = -1;
native setOuts( o1, o2, o3 ) = -2;
| [
"bashkirov.sergey@gmail.com"
] | bashkirov.sergey@gmail.com |
77c350e443118d8f7529cd3d03917929a0f59280 | 575731c1155e321e7b22d8373ad5876b292b0b2f | /examples/native/ios/Pods/boost-for-react-native/boost/range/functions.hpp | b62cdad14c1a9de4ada2cd9f2a6a465ca1346d4f | [
"BSL-1.0",
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | Nozbe/zacs | 802a84ffd47413a1687a573edda519156ca317c7 | c3d455426bc7dfb83e09fdf20781c2632a205c04 | refs/heads/master | 2023-06-12T20:53:31.482746 | 2023-06-07T07:06:49 | 2023-06-07T07:06:49 | 201,777,469 | 432 | 10 | MIT | 2023-01-24T13:29:34 | 2019-08-11T14:47:50 | JavaScript | UTF-8 | C++ | false | false | 707 | hpp | // Boost.Range library
//
// Copyright Thorsten Ottosen 2003-2006. Use, modification and
// distribution is subject to the Boost Software License, Version
// 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
// For more information, see http://www.boost.org/li... | [
"radexpl@gmail.com"
] | radexpl@gmail.com |
508c691551fa7cca88f1441212f1eb0db6eeb2a7 | 68c758837522d6a16b533b8277d0b528c0aa0703 | /src/qt/qvaluecombobox.h | 37cc957156e7be803fc06bf49cddab9d507d66b9 | [
"MIT"
] | permissive | lion-coin/lioncoin | cbffe89a27b130615320ee85e198eb49bcd92442 | 05fc85ed9f999fd57c443edabe1f47d20b7f17b3 | refs/heads/master | 2021-01-21T21:47:52.021555 | 2016-03-27T23:23:37 | 2016-03-27T23:23:37 | 17,837,671 | 0 | 0 | null | 2014-10-05T02:17:08 | 2014-03-17T17:55:06 | TypeScript | UTF-8 | C++ | false | false | 914 | h | // Copyright (c) 2011-2013 The Lioncoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef QVALUECOMBOBOX_H
#define QVALUECOMBOBOX_H
#include <QComboBox>
#include <QVariant>
/* QComboBox that can be used wi... | [
"lioncoininfo@gmail.com"
] | lioncoininfo@gmail.com |
2af4e2f767dc5877abdc752b7b2be4e4a86ca193 | fe39e4d1bca62d7bff7b6713b8b596d88f8aa354 | /src/plugins/3rdparty/QScintilla/Qt4Qt5/qscicommandset.cpp | c941e63c00ae6b611d532014b61b4ae204f23b6d | [] | no_license | panpanSun/opencor | a29a806475f43adb0f64047631d4dc044f05e030 | 71449e1ecaa988ea8b6cfea7875d9f3593a8dc26 | refs/heads/master | 2020-12-24T11:53:33.902565 | 2013-04-20T18:59:29 | 2013-04-20T18:59:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 27,908 | cpp | // This module implements the QsciCommandSet class.
//
// Copyright (c) 2012 Riverbank Computing Limited <info@riverbankcomputing.com>
//
// This file is part of QScintilla.
//
// This file may be used under the terms of the GNU General Public
// License versions 2.0 or 3.0 as published by the Free Software
// Foundati... | [
"agarny@hellix.com"
] | agarny@hellix.com |
b298787b8c5c9168ab156317f312fdc2aaf7e85c | 3e906f8a1ba5fe6bdc5d1db699c7f97c2e074b66 | /NQueensProblem/src/solver/GeneticSolver.cpp | 5b88ade38f916c684f01c7f72c6fa2fa564bf4c9 | [] | no_license | Oxmose/ProblemSolver | 1b7ff6d3dc8916f90fa98718147479a783134d73 | 3c179714d390e902d35aecc1ac37532e0628b05e | refs/heads/master | 2020-04-18T20:45:58.947788 | 2019-02-02T18:59:12 | 2019-02-02T18:59:12 | 167,746,327 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21,411 | cpp | /******************************************************************************
* File: GeneticSolver.cpp
*
* Author: Alexy Torres Aurora Dugo
*
* Date: 26/01/2019
*
* Version: 1.0
*
* GeneticSolver implements the Solver class. Any class implementing the
* Solver interface is assumed to solve the N Queens Pro... | [
"alexy.torresa@gmail.com"
] | alexy.torresa@gmail.com |
eb1632be0a5ce0b5aed3db449b1aacf3521ac591 | dd6147bf9433298a64bbceb7fdccaa4cc477fba6 | /8382/Ershov_Mikhail/Base/Base.cpp | 5463c9121032d6adc64c173129e7827941d5bc83 | [] | no_license | moevm/oop | 64a89677879341a3e8e91ba6d719ab598dcabb49 | faffa7e14003b13c658ccf8853d6189b51ee30e6 | refs/heads/master | 2023-03-16T15:48:35.226647 | 2020-06-08T16:16:31 | 2020-06-08T16:16:31 | 85,785,460 | 42 | 304 | null | 2023-03-06T23:46:08 | 2017-03-22T04:37:01 | C++ | UTF-8 | C++ | false | false | 7,347 | cpp | #include "Base.h"
Base::Base(int size, char type, LoggerProxy* logger) {
baseHealth = 0;
max = 4;
currentOrcsNum = 0;
currentMEnum = 0;
sizeOfField = size;
typeOfBase = type;
this->logger = logger;
}
Base::~Base() {
}
void Base::addInOrcsBase(string& character, Field& f1, int G) {
if... | [
"ershovdev@gmail.com"
] | ershovdev@gmail.com |
b7d36674147ae4d1ff5fe48139c60191c2b176d4 | f76853110a911148c4f803b205afcd375987c706 | /REFLOW/REFLOW/FLOW05/FLOW05.ino | 469e5f0c1ec8676171809700889de26dce82ad1f | [] | no_license | intechstudio/grid-manufacturing | dfb2ade7852a5450cb9b15615710f5fbd6f02ded | 4d9293d582f9b71b0c33642aec9d496c2093c17e | refs/heads/master | 2023-08-18T08:51:22.680254 | 2021-09-23T16:49:43 | 2021-09-23T16:49:43 | 183,949,044 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,170 | ino | #define ZERO B11111100
#define ONE B01100000
#define TWO B11011010
#define THREE B11110010
#define FOUR B01100110
#define FIVE B10110110
#define SIX B10111110
#define SEVEN B11100000
#define EIGHT B11111110
#define NINE B11110110
#define A B11101110
#define B B00111110
#define... | [
"suku@intech.studio"
] | suku@intech.studio |
f5ed377c19df34207430429f9860f6d54fa0b6cf | 6b40e9dccf2edc767c44df3acd9b626fcd586b4d | /NT/printscan/print/drivers/usermode/unidrv2/vector/pclxl/bmpcvt.cpp | f2a9db55ee2be8ece4fa1aac7e60a6efebbfc5d6 | [] | 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 | 49,159 | cpp | /*++
Copyright (c) 2000 Microsoft Corporation
Module Name:
bmpcvt.cpp
Abstract:
Bitmap conversion object
Environment:
Windows Whistler
Revision History:
08/23/99
Created it.
--*/
#include "xlpdev.h"
#include "xldebug.h"
#include "pclxle.h"
#include "xlb... | [
"seta7D5@protonmail.com"
] | seta7D5@protonmail.com |
17fd4953d1343b21582c917b42aa95082ab2d09e | f959c7c15fe79a3094bf41d70c694556dd1121d6 | /selyavko-vi/selyavko-vi/datagrid1.cpp | 5a001a77d7f7181be7aa24ed933e1e3a1ac20254 | [] | no_license | selyavkoivan/VSRPP_labwork | ebf1c32202937707613a3edf9848c4d6d56ce80d | 6f2817d0833484a63577959529c24a40e2d5ede2 | refs/heads/main | 2023-08-27T07:12:59.079850 | 2021-10-08T20:07:50 | 2021-10-08T20:07:50 | 409,730,648 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 616 | cpp | // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
// NOTE: Do not modify the contents of this file. If this class is regenerated by
// Microsoft Visual C++, your modifications will be overwritten.
#include "stdafx.h"
#include "datagrid1.h"
///////////////////////////////////////////... | [
"selyavkosh2@gmail.com"
] | selyavkosh2@gmail.com |
b5e9c787eb40d909adfc995e74f1fddc7b37f025 | 39d8ece183f84c6dc0c3ee45df8c3c8fa356163f | /liancancai/QT/3th/DialogExample/main.cpp | 1c1b66da2d84fd9b7d8c06c59f9a5eb4ff4c6605 | [] | no_license | cyysu/Study | 2f785943334e51f8b70e1fb057a880a408347374 | 489bbf11d03940007d37e3e77eeb0bf5da2f5cb9 | refs/heads/master | 2021-01-12T05:37:49.346902 | 2016-12-11T09:19:50 | 2016-12-11T09:19:50 | 77,150,994 | 4 | 0 | null | 2016-12-22T14:29:47 | 2016-12-22T14:29:46 | null | UTF-8 | C++ | false | false | 387 | cpp | #include <QtGui/QApplication>
#include "dialog.h"
#include <QTextCodec>
#include <QString>
#include <QObject>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
QTextCodec::setCodecForTr(QTextCodec::codecForLocale());
Dialog w;
//显示中文字符
w.setWindowTitle(QObject::tr("各种标准对话框的实例"));
... | [
"liancancai001@163.com"
] | liancancai001@163.com |
e178749fbf55e221d2b067888fe6d322e5ec2ddf | fb24b91916ea77a48293a2dd1e53848467fde52a | /cc/hybrid/ecies_aead_hkdf_public_key_manager_test.cc | 344c0b520c90cea2ad28d0a57bb0375616bdb970 | [
"Apache-2.0"
] | permissive | AtingTot/tink | 6ba969acce0d9a03032b4c530a7e089f2b3281d5 | 07f48a701d02303cc38152da70a24e772b4d2720 | refs/heads/master | 2021-06-30T10:00:50.300497 | 2017-09-18T11:21:08 | 2017-09-23T04:58:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,194 | cc | // Copyright 2017 Google 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.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... | [
"thaidn@google.com"
] | thaidn@google.com |
e4ac1b94d9026aa490facc34eabe219e0dc81322 | 3d338b940ea91cc750fb081c1e220a79ae33b7ed | /Hardware+Low Level/Instruments/Snarebot/code/snarebot_servo_midi/snarebot_servo_midi.ino | 1f9a385bcb005ba5efea04f811156b7f711328e9 | [] | no_license | alextxu/RobOrchestra | 7e07749e5099dfad9c0bd8520e29634327e5e310 | cb112a14bc7296010567be8f17fb7f9d662debd6 | refs/heads/master | 2023-08-20T00:16:00.884286 | 2021-10-22T23:02:44 | 2021-10-22T23:02:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,655 | ino |
#include <MIDI.h>
#include <midi_Defs.h>
#include <midi_Namespace.h>
#include <midi_Settings.h>
#include <Servo.h>
MIDI_CREATE_DEFAULT_INSTANCE();
Servo servo_near;
Servo servo_middle;
long stickdown = 50;
long stickup = 40;
long clock1 = -1;
long clock2 = -1;
//For testing only
long lasttestms... | [
"arnavm@LAPTOP-T3CH68RG.localdomain"
] | arnavm@LAPTOP-T3CH68RG.localdomain |
df8fc0dff18a6ed9aa721b8e2f6abc1cb9a925fd | b5b2da86122ca93bb6c0bb8cb9b3aebd31f08a0e | /nkbender1/src/RootNode.cpp | 8cc3e5474a3a4bb51b6646b7e10a650e15a84732 | [] | no_license | tingyingwu2010/thesis | 4d210136bfef2e56c23fb76cc0682f0492ea5ad0 | 2864ad4df2830ca3d8842c0736fe019ea68952e0 | refs/heads/master | 2021-12-03T00:54:18.291454 | 2014-01-22T01:00:32 | 2014-01-22T01:00:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,270 | cpp | /*
* RootNode.cpp
*
* Created on: Nov 16, 2012
* Author: sebastian
*/
#include "RootNode.h"
using namespace std;
RootNode::RootNode(vector<Job> *all_jobs, int capacity, int nk, int Dmax) {
this->all_jobs = all_jobs;
this->capacity = capacity;
if(nk == 0) {
this->nk = this->all_jobs->size();
} else ... | [
"cone@aldusleaf.org"
] | cone@aldusleaf.org |
c7d77d8813d17970e918d3d44666744b6a9193a7 | 285d143abbde1745cfabf64d980da11ee94ae3ad | /c-cpp/VertoStudio3D/LearnC++/Plane.cpp | 4a8708fd74d97c4f3b416d9e6e05094bec1575e5 | [] | no_license | DorotaPawlowska/programming-practice | 940de9aab31360f75509b58f116bcf27c40dcdc1 | a96096f62f3db9c8d4b157cebeb7ef9f320753e8 | refs/heads/master | 2021-08-29T09:05:48.256384 | 2021-08-23T20:41:05 | 2021-08-23T20:41:05 | 143,737,042 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 249 | cpp | #include "Plane.h"
void Plane::setTexture(SDL_Texture *tex){
texture = tex;
}
void Plane::draw(SDL_Renderer *rend){
SDL_Rect rect = {(int)x, (int)y, 32, 21};
SDL_RenderCopy(rend, texture, nullptr, &rect);
}
void Plane::update(){
x += 2;
} | [
"dpawlowska@op.pl"
] | dpawlowska@op.pl |
1f2f00c5e97a0dbc551b031e8656202eb3c330e8 | 55955d0dcbe4a9082189df0849dae53babaa6fe4 | /Yingge/resourceManifest.h | 3cd8020b9b6024af0509dc6ba1c885e26eb7ff89 | [] | no_license | husathap/Yingge | 4fd42419a823961aec65cee2756d14b891a513c1 | 0de4ec289324914dabb215c870a064396d5494d8 | refs/heads/master | 2021-01-01T18:48:14.046338 | 2014-06-10T14:12:11 | 2014-06-10T14:12:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,934 | h | #pragma once
#include "global.h"
// This file tells which resource to be loaded into the game.
// DO NOT TOUCH THIS AREA! //////////////////////////////////////////
#define GLOBAL_RESOURCES void loadResources() {
#define TEXTURE(name, path) yingge::textures->insert(std::pair<std::string, sf::Texture *>(#name, new sf... | [
"hubertth@hotmail.com"
] | hubertth@hotmail.com |
b06282b9b8206cd54ec6905411e1a45b0fe3d38b | 6af4b028f8ff1fe1af57d33e6ed50176cecf25af | /week-03/day-03/bigD-ice/main.cpp | 349e108372dd16e75bb07e094f68211e4c7b01b2 | [] | no_license | green-fox-academy/szveikko | cb26ce53e9bea0a5a2834e3e45031f76052e789d | 8179cf186013c433b111c895f75c00c3edede65b | refs/heads/master | 2020-04-16T18:52:01.121560 | 2019-03-08T14:56:13 | 2019-03-08T14:56:13 | 165,837,926 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 694 | cpp | #include <iostream>
#include "dice_set.h"
int main(int argc, char *args[]) {
// You have a `DiceSet` class which has a list for 6 dices
// You can roll all of them with roll()
// Check the current rolled numbers with getCurrent()
// You can reroll with roll()
// Your task is to roll the dices unti... | [
"veikko.szabo@gmail.com"
] | veikko.szabo@gmail.com |
5bccd3ed2c4a2abad341860e4842de3f0b8b3eda | e127d3b2a1fdf1ed886cf90d2ab941a90f4a442f | /src/commlib/zcelib/zce_server_status.cpp | 1fcdbe9c4a7ac31793f2586017854b60a23964e2 | [
"Apache-2.0"
] | permissive | qcghdy/zcelib | af8fae037f951683dffe430715ce087805a1d4ae | 13e3717ade4ed6af30706c53793c0f03032ce1f4 | refs/heads/master | 2020-03-22T21:18:48.715821 | 2016-06-24T09:13:17 | 2016-06-24T09:13:17 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 21,758 | cpp | #include "zce_predefine.h"
#include "zce_trace_debugging.h"
#include "zce_server_status.h"
#include "zce_lock_thread_mutex.h"
#include "zce_lock_ptr_guard.h"
ZCE_Server_Status *ZCE_Server_Status::instance_ = NULL;
/******************************************************************************************
class ZCE_ST... | [
"fullsail@163.com"
] | fullsail@163.com |
0b0bd5e4ae47425a16043125ed82dea5d3a1cdb8 | c3c94f0fed57f6101231556745ffa2974f41eeaf | /PWG/FLOW/Tasks/AliAnalysisTaskMuPa.h | da9b1aedb296ead330f106a692a80e1ae2de198a | [] | permissive | dongjokim/AliPhysics | 41b60add76e17fa0427338f5061a3d889be6f8c4 | 0c8daad356332280fb55192bfaaf27c5cdd76e1c | refs/heads/master | 2023-04-07T08:15:23.626224 | 2021-09-25T17:07:23 | 2021-09-25T17:07:23 | 248,518,017 | 0 | 0 | BSD-3-Clause | 2020-05-16T12:41:01 | 2020-03-19T14:02:22 | C++ | UTF-8 | C++ | false | false | 41,042 | h | /*
* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved.
* See cxx source for full Copyright notice
* $Id$
*/
/**************************************
* TBI add description eventually *
**************************************/
#ifndef ALIANALYSISTASKMUPA_H
#define ALIANALYSISTASKMUPA_... | [
"Ante.Bilandzic@cern.ch"
] | Ante.Bilandzic@cern.ch |
ab0e5b9eba48a6586fc5a54f2a0200429b0f335c | 98ba7ebde049c6f0ebc0c3a8b6402a243bf8aaf1 | /FPeFN/Botao.h | 19cd4c19c650b282b5a45654e55d8963d525cb3c | [] | no_license | Rodanco/Programa-Falsos-Positivos-e-Negativos | 128bf2c36c9b7e6f10518f9aef079bf11e2e1972 | 73b2388032fa58d641bd4f91ce80bbde6a358c16 | refs/heads/master | 2021-01-01T20:15:09.703230 | 2017-07-31T19:39:12 | 2017-07-31T19:39:12 | 98,801,828 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 384 | h | #pragma once
#include<SFML\Graphics.hpp>
class Botao
{
private:
sf::Texture *m_textura = nullptr;
sf::RectangleShape *m_rec = nullptr;
sf::IntRect imgFonte;
public:
Botao(float posX, float posY, float larg, float alt, short divsoria, std::string nomeImg);
~Botao();
bool Pressionado(sf::Vector2i &mouse);
sf::R... | [
"conrado_feltrin@hotmail.com"
] | conrado_feltrin@hotmail.com |
d6f3cbca54a63840245ca69957fd4a36a780abac | 461188dca96f46443a951cb74504f3ac171b3792 | /LuaAV/modules/ga/src/e2/e2ga.cpp | 6d23bdece8933711e1a8ac7a26a040cd04d9b848 | [] | no_license | italoadler/LuaAV | f1e7d713c3efd6b0e2ac607f32df1cc71bbc22be | f2a7fbc6bb4c5d7c0668a6a49135a617f638f2b4 | refs/heads/master | 2021-01-15T18:26:40.264978 | 2017-07-25T17:20:25 | 2017-07-25T17:20:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 42,704 | cpp | /*
Gaigen 2.5 Test Suite
*/
/*
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it ... | [
"wes.ley.hoke@gmail.com"
] | wes.ley.hoke@gmail.com |
f6044f7198dfeed3aa58ef21a6bf4c9f767e7e07 | 14fe9cb57f1751a0747f371ae26186c5a2528ec4 | /assign2/deck.cpp | 71f8115f07533f52dcd09293648f29b89b76a559 | [] | no_license | raginid20/CS162 | 68dc08f106cc69ea013d632cabd00960effa4be5 | a6c1e59857c65e1ceea58fc2be715e50e19028d8 | refs/heads/main | 2023-08-15T04:07:49.897327 | 2021-10-02T03:47:04 | 2021-10-02T03:47:04 | 412,678,276 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,273 | cpp | #include <iostream>
#include <string>
#include <cstdlib>
#include <ctime>
#include "deck.h"
using namespace std;
void Card::setCard(int s, int r){
suit = s;
rank = r;
}
Card::Card(){
suit = 0;
rank = 0;
}
string Card::getSuit(){
if(suit == 1){
return " of ... | [
"dindukur@flip1.engr.oregonstate.edu"
] | dindukur@flip1.engr.oregonstate.edu |
8c8f84a6ecb01a4367fc2f659f82c0f1a32f017b | 1b3a1a7cfbafe119c6bc3103d2507f995e83cf97 | /mp5/maptiles.cpp | 2690d94e1ddaf375106666e2954cbec46f9d729b | [] | no_license | Victor515/Data-Structures-UIUC | 22c5306cee6dd71b5707fc01e8dd537053f03e69 | c9d4861ec0ce3d9107601d3248479d30a65bd1bf | refs/heads/master | 2020-05-18T22:44:02.315697 | 2019-05-03T04:26:09 | 2019-05-03T04:26:09 | 184,696,646 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,026 | cpp | /**
* @file maptiles.cpp
* Code for the maptiles function.
*/
#include <iostream>
#include <map>
#include "maptiles.h"
using namespace std;
MosaicCanvas* mapTiles(SourceImage const& theSource,
vector<TileImage> const& theTiles)
{
/**
* @todo Implement this function!
*/
// ... | [
"victorlevian@gmail.com"
] | victorlevian@gmail.com |
56a06fcdaf009f641205de36635b4e07f6db3e7a | a84ae7b277b8460bd79ca0874ae4d868e7c7b89d | /Hello2020/A.cpp | 58790e6b9c28b5e44352b48e5fe21e66355c49c3 | [] | no_license | copydev/CodeForces | 238a3d7ce1d415e9e22d5f8f50421808c88986b7 | 2a91104b156be12eb6ed11845605c0419b43a503 | refs/heads/master | 2022-12-10T22:36:50.384398 | 2020-09-07T11:51:36 | 2020-09-07T11:51:36 | 293,514,367 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 467 | cpp | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define REP(i,n) for(ll i = 0;i<n;++i)
int main() {
int n,m;
vector<string> strn;
vector<string> strm;
cin>>n>>m;
REP(i,n){
string s;
cin>>s;
strn.push_back(s);
}
REP(i,m){
string s;
cin>>s;
strm.push_back(s);
}
ll q;
cin>>q... | [
"idtypes@gmail.com"
] | idtypes@gmail.com |
e3ddec50b4498f01132390a4e3c3ccda3b4467b2 | 9a7d108f2e6af5db4ec9a262d890441d4834843e | /CPP_Assignments/Assignment8/DuplicateCharacterFormatting.cpp | cdc1fb2c74524c1a7cd4858dcd1a307f2e63f462 | [] | no_license | bhavesh1129/Group22-Assignments | a3671b02faf1fb52abe166842a18e11805adfab2 | 5f82ffa0faf1fc903ae71d7a4fd92a5547d36abb | refs/heads/main | 2023-09-01T20:28:15.740678 | 2021-10-30T15:05:43 | 2021-10-30T15:05:43 | 386,678,258 | 7 | 17 | null | 2021-08-07T16:35:41 | 2021-07-16T15:11:47 | HTML | UTF-8 | C++ | false | false | 264 | cpp | #include<iostream>
using namespace std;
int main() {
string s;
cin >> s;
int i;
for (i = 0; i < s.length() - 1; i++) {
if (s[i] == s[i + 1]) {
cout << s[i] << "*";
} else
cout << s[i];
}
cout << s[i];
return 0;
} | [
"noreply@github.com"
] | bhavesh1129.noreply@github.com |
03a532b955cc196c74fbc91e742d3da1e108fe58 | c5b29a8b03ea9c961a1534065121663bd0e3faa1 | /src/outputs/pos_output.cc | 45ab54f1a78587e361b1b9a134c6a7589ebf3318 | [] | no_license | calstar/SIL | 13aa7d92de42d69a6dfe93fbcd841f51d1a67402 | 45d0e5864aaa450ae0f34dd7b7f166dea341943d | refs/heads/master | 2022-11-02T18:59:58.508965 | 2022-10-11T21:56:17 | 2022-10-11T21:56:17 | 175,512,228 | 5 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 690 | cc | #include "outputs/pos_output.h"
PosOutput::PosOutput(json config, string test_name) : Output(config, test_name) {}
void PosOutput::log(int64_t time, vector<set<shared_ptr<Rocket>>>& rocket_sections) {
for (auto& sect : rocket_sections) {
for (auto& rp : sect) {
csv << time << "," << rp->sectio... | [
"jaren.mendelsohn@gmail.com"
] | jaren.mendelsohn@gmail.com |
858b165d6d13eebe78c8249aff56602f437d014b | 5870bb19b53c61508c2e57499ab6f10252200dee | /designpatterns/solid/main2.cpp | e90371c1276e5e35a42af36a0b339d12666875ac | [] | no_license | blockspacer/test-cpp | 40371c04864fd632e78e9e4da2dea6c80b307d2f | d70e8f77d1d8129266afd7e9a2c4c4c051068af1 | refs/heads/master | 2020-07-05T20:02:09.661427 | 2019-08-02T07:50:39 | 2019-08-02T07:50:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,132 | cpp | #include <iostream>
#include <cstdio>
#include <string>
#include <vector>
#include <fstream>
#include <boost/lexical_cast.hpp>
using namespace std;
using namespace boost;
class Rectangle {
protected:
int width, height;
public:
Rectangle(int width, int height) : width(width), height(height) {}
int getWidt... | [
"vdkhristenko1991@gmail.com"
] | vdkhristenko1991@gmail.com |
eeebdc92a9eb04b220f0ba6ce6c1e84aaea4efbf | b2295fe0cbd6017bf20aeb5e5ac5d26d95b562eb | /raytracer/scene_object.h | d5c9545c2f41fc9866714dea611d4613614313ea | [] | no_license | Charliechen1/rayTracer | 0afc3e7333c8e06d4ff4990102a42bc5ded1744a | 631215746ab61b95a2c3eeb53359f4edb22227af | refs/heads/master | 2021-01-10T18:14:35.000094 | 2016-01-27T09:46:38 | 2016-01-27T09:46:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,579 | h | /***********************************************************
Starter code for Assignment 3
This code was originally written by Jack Wang for
CSC418, SPRING 2005
classes defining primitives in the scene
***********************************************************/
#include "util.h"
// All primitive... | [
"Charliechen_1@163.com"
] | Charliechen_1@163.com |
685bf908927408237a46912a1b03e0c0537e2656 | 10c467f1aad450c1a7eb5d18a2e3323673f19325 | /puzzle.cc | 59a0ef5b011ce18e63a34dba5dc3707235826792 | [] | no_license | rsbowen/rcc | b5556cd92996167f242ec21bcf4344ed2b8f421a | 6a450116cac1412c7cdf511c74c2e090e2dee7fa | refs/heads/master | 2021-04-19T00:14:15.094620 | 2016-12-29T21:09:59 | 2016-12-29T21:09:59 | 59,390,503 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,933 | cc | #include "puzzle.h"
using std::string;
bool operator==(const Word& lhs, const Word& rhs) {
return lhs.coords_.first == rhs.coords_.first && lhs.coords_.second == rhs.coords_.second && lhs.direction_ == rhs.direction_;
}
bool operator!=(const Word& lhs, const Word& rhs) { return !(lhs==rhs);}
std::ostream& operator... | [
"rsbowen@gmail.com"
] | rsbowen@gmail.com |
39dec8a79b1a90ed030e74e6b333a5944be9b9de | 98b1e51f55fe389379b0db00365402359309186a | /midterm/cavity_new/cavity/1.05/U | 4730214bcbda53ea0eb5a265fbec33b2a09c7430 | [] | no_license | taddyb/597-009 | f14c0e75a03ae2fd741905c4c0bc92440d10adda | 5f67e7d3910e3ec115fb3f3dc89a21dcc9a1b927 | refs/heads/main | 2023-01-23T08:14:47.028429 | 2020-12-03T13:24:27 | 2020-12-03T13:24:27 | 311,713,551 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,263 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 8
\\/ M anipulation |
\*-------... | [
"tbindas@pop-os.localdomain"
] | tbindas@pop-os.localdomain | |
b42e59ff7aaf8b6104e580ef101e9cb0e8747e0b | 9dfa89e034aad48fb18f689b723fdf6b9b1e8ead | /OpenGLFinalDemo/Engine/TextLoader.cpp | bddd3b923bfd20a070a69da91c20853c6e1cdaa6 | [] | no_license | DontLookAtThis/OpenGLFinal | faf784489b82ecfad450fff5955de1df82ce7580 | a0e1265da8dd54f432a258ed5d26ac20b0a9c148 | refs/heads/master | 2020-04-05T10:04:29.896602 | 2018-11-12T09:12:43 | 2018-11-12T09:12:43 | 156,786,774 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,182 | cpp | // This Include
#include "TextLoader.h"
// Local Include
#include "AssetMgr.h"
#include "Utility.h"
Text::Text(std::string font) :
color(1.0f, 1.0f, 1.0f),
text(""),
scale(1.0f)
{
m_Program = CAssetMgr::GetInstance()->GetProgramID("DefaultTextPrograrm");
glm::mat4 proj = glm::ortho(0.0f, (GLfloat)util::SCR_WIDT... | [
"DontLookAthis@users.noreply.github.com"
] | DontLookAthis@users.noreply.github.com |
feb10f060aace7b3cbe5b68b57eb6cc7342fd30c | 1ae555d3088dc123836060371fc520bf0ff13e52 | /atcoder/agc023/a.cpp | d871b642bce683a6bdc2520b9600092fff70bcfb | [] | no_license | knagakura/procon | a87b9a1717674aeb5ee3da0301d465e95c758fde | c6ac49dbaaa908ff13cb0d9af439efe5439ec691 | refs/heads/master | 2022-01-31T19:46:33.535685 | 2022-01-23T11:59:02 | 2022-01-23T11:59:02 | 161,764,993 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,769 | cpp | #include <bits/stdc++.h>
using namespace std;
#define rep(i,N) for(int i=0;i<int(N);++i)
#define rep1(i,N) for(int i=1;i<int(N);++i)
#define all(a) (a).begin(),(a).end()
#define print(v) { cerr<<#v<<": [ "; for(auto _ : v) cerr<<_<<", "; cerr<<"]"<<endl; }
#define printpair(v) { cerr<<#v<<": [ "; for(auto _ : v) cerr<<... | [
"knagakura@bs.s.u-tokyo.ac.jp"
] | knagakura@bs.s.u-tokyo.ac.jp |
8cdc23640af580ec7b122a1fe4353899e2bdfbb3 | ca5349838f40f0211c3703db0502c6deb985d5d6 | /include/Huobi/TradeClearingEvent.h | d550c9aa11c998636c6e8110f418a70730e83d18 | [
"Apache-2.0"
] | permissive | xiongyang/huobi_Cpp | 7f5987c1184b888d54e7660a8f13f243fd849009 | 3defae8e41aa9cd1bf9eb83a4865cfe96cf85245 | refs/heads/master | 2020-06-23T08:02:34.550885 | 2020-05-27T17:12:36 | 2020-05-27T17:12:36 | 198,566,287 | 0 | 0 | Apache-2.0 | 2019-07-24T05:44:52 | 2019-07-24T05:44:52 | null | UTF-8 | C++ | false | false | 833 | h | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/*
* File: TradeClearingEvent.h
* Author: yuanxueqi
*
* Created on 2019年12月9日, 下午2:47
*/
#ifndef TRADECLEARINGEVENT_H
#define... | [
"devin0thinking@gmail.com"
] | devin0thinking@gmail.com |
54466d8e91acc0f12571f0d89dd435ae9bf0fcff | 5ac688d8b5c7ad6540f52c9f4c304e506d7564c5 | /Recursion/TilingProblem.cpp | 55df744ffeb00cd013c27a0659b4e916c52efb4a | [] | no_license | Sana-Gupta/Cplusplus | 9a02924f566cbb745a2b68176fbd2cf40684c7f2 | d4ca9cf09bedfbb7516b665a890cc20f4380930a | refs/heads/master | 2022-02-14T14:44:14.235284 | 2019-07-23T18:07:45 | 2019-07-23T18:07:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 364 | cpp | //Given a brick wall of 4xN, ans tiles of 4x1, you have to find the total number of ways to arrange tiles on the wall.
#include <iostream>
using namespace std;
int numOfWays(int n){
if(n <= 0){
return 0;
}
if(n == 1){
return 1;
}
if(n == 4){
return 2;
}
return numOfWays(n-1) + numOfWays(n-4);
}
int main(){... | [
"ishita.gambhir28@gmail.com"
] | ishita.gambhir28@gmail.com |
75b33295d745e841b3babe31312c914d1be0439b | a06a9ae73af6690fabb1f7ec99298018dd549bb7 | /_Library/_Include/boost/iostreams/detail/config/dyn_link.hpp | 002f3148160c0cd7c265a551053e4187db150eb6 | [] | no_license | longstl/mus12 | f76de65cca55e675392eac162dcc961531980f9f | 9e1be111f505ac23695f7675fb9cefbd6fa876e9 | refs/heads/master | 2021-05-18T08:20:40.821655 | 2020-03-29T17:38:13 | 2020-03-29T17:38:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,465 | hpp | ////////////////////////////////////////////////////////////////////////////////
// dyn_link.hpp
// (C) Copyright 2008 CodeRage, LLC (turkanis at coderage dot com)
// (C) Copyright 2003-2007 Jonathan Turkanis
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy... | [
"adm.fael.hs@gmail.com"
] | adm.fael.hs@gmail.com |
f5bf18b598bea148284d69db86b684b54807f0f3 | 1540aef20760d6cf16fd9dce7f380468fed55f13 | /Avl.cpp | 5b70832be6afc9caf5d2e0e22ca7f108a4f95e49 | [] | no_license | rohitb2310/Advance_Data_Structure | 679cac7b51d8a8bc207b25173d1829cacb92d554 | 3ce36805b60c2338c964addc0ab716af716f8b06 | refs/heads/master | 2020-06-09T02:15:31.866029 | 2019-06-23T13:25:32 | 2019-06-23T13:25:32 | 193,350,906 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,869 | cpp | /*
Problem Statement:
A Dictionary stores keywords & its meanings. Provide facility for adding
new keywords, deleting keywords, & updating values of any entry. Also provide facility to
display whole data sorted in ascending/ Descending order, Also find how many maximum comp-
arisons may require for finding an... | [
"noreply@github.com"
] | rohitb2310.noreply@github.com |
009e016fbfacdcdb6ccc0b720ccb94a753fa38d1 | c2a20fb6917730a5e5b22ccd14bf10f284ed0adf | /Scene/Components/Objects/Triangle.cpp | 93c72f329ca1ce9ff58abf329f29e649508183ba | [] | no_license | IceCreamWW/raytracer | 744a2468e01033f0e78737d1cbd9c78bcf59e86f | 506ba9d10f852afc8dade8dc477b334078829081 | refs/heads/master | 2022-11-15T22:02:34.416258 | 2020-06-30T16:18:41 | 2020-06-30T16:18:41 | 271,456,191 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,240 | cpp | //
// Created by icecreamww on 2020/6/13.
//
#include "Triangle.hpp"
bool Triangle::ray_intersect(const Point3f &orig, const Vector3f &dir,
float &t0) {
t0 = (D - glm::dot(normal_, orig)) / glm::dot(normal_, dir);
if (t0 < 0)
return false;
Point3f hit = orig + t0 * dir;
floa... | [
"wangweidmail0809@gmail.com"
] | wangweidmail0809@gmail.com |
5c73750ce7cc3c78ea1bf8a1f67c63228f8d2629 | c813e14bd4ae4dd64429c432cf1787064d2cfb3e | /TESTS/MesureZ/MesureZ.ino | 75c48e89ca15c871afce72e8e440beb9ff98be25 | [] | no_license | PaulEvans8669/Projet-SI-Controle-De-Grue-LEGO | 60a46b33a3749c764351b7be55982781c0783806 | 5c8e7fcff90c0ac14818f080d489f3ace6978635 | refs/heads/master | 2021-06-16T13:44:50.824024 | 2017-05-06T15:19:51 | 2017-05-06T15:19:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 583 | ino | int pinZrun = 42;
int pinZH = 8;
int pinZAH = 9;
int n = 0;
int pinEncodeur = 10;
int dernval;
void setup() {
Serial.begin(9600);
pinMode(pinZrun, OUTPUT);
pinMode(pinZH, OUTPUT);
pinMode(pinZAH, OUTPUT);
pinMode(pinEncodeur, INPUT);
dernval = digitalRead(pinEncodeur);
Serial.println(n);
}
... | [
"noreply@github.com"
] | PaulEvans8669.noreply@github.com |
cc2a04c19d18e398ec4c05c3787f6cb2b498f354 | 7ff5674fa49051ba0d8e452f22a54abea1d733e0 | /Oop Programz/Oop exceptional Handling/Rec class of multiple error/Rec class of multiple error/Rectangle.h | 9a8b2abb4e60b3721ce1420f7d9196a611a01fc8 | [] | no_license | Tayyibah/OOP | abb7cca8718def051f58a9aa418f95e01412fd1a | c5c499cd43a6bc6807f4f53dd90dbadc7d36c2d0 | refs/heads/master | 2021-01-22T08:53:12.332018 | 2018-02-13T03:29:57 | 2018-02-13T03:29:57 | 92,641,822 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 317 | h | #ifndef RECTANGLE_H
#define RECTANGLE_H
#include <string>
class Rectangle
{
private:
double width;
double lenght;
double Area;
public:
class negativeWidth
{};
class negativeLenght
{};
void setwidth( int w) ;
void setlenght( int l) ;
double getwidth() ;
double getlenght( ) ;
double getArea( ) ;
};
#endif
| [
"tayyibahalauddin@gmail.com"
] | tayyibahalauddin@gmail.com |
c262b4922fae35787a5f15e10a7047136ad2d4a2 | 79f06344c225811a35a54ec55da9ffe6e9711ecd | /include/stl/span.hpp | bb9639d21a1a9b5fc1a4e40c8466d948e60be42b | [] | no_license | NotAPenguin0/stl | c4ec6656e7b2d470f63ca2ec862a0a0818bd13ee | c9f6b215f182fb7ad125a6840d79e71d8c7c78e9 | refs/heads/master | 2021-02-26T15:29:50.392221 | 2020-04-08T09:05:06 | 2020-04-08T09:05:06 | 245,536,452 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,890 | hpp | #ifndef STL_SPAN_HPP_
#define STL_SPAN_HPP_
#include <stl/iterator_traits.hpp>
#include <stl/traits.hpp>
namespace stl {
template<typename T>
class span {
public:
using iterator = T*;
span() = default;
span(T* first, size_t count) : _begin(first), _size(count) {}
template<typename It>
span(... | [
"michiel.vandeginste@gmail.com"
] | michiel.vandeginste@gmail.com |
9780a9f26d9fd5442770554a30b9354e0077d4b9 | 74997c7c805c4fd0c4ab896ce2502536a050441b | /HumanPlayer.h | 6fc166433538266f6138940fc497e026bc815380 | [] | no_license | roni-fultheim/ReversiGame | 625d62c44f5be8e4d8fa8a0bf4855767e7e23544 | 09452680e53d0667e6bbbb1a61df1b6d3c6cd60d | refs/heads/master | 2021-08-16T21:18:59.939185 | 2017-11-20T10:05:05 | 2017-11-20T10:05:05 | 110,939,920 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 813 | h | /*
* Roni Fultheim, ID: 313465965
* HumanPlayer.h
*/
#ifndef HumanPlayer_H_
#define HumanPlayer_H_
#include "Player.h"
/**
* Represents a human player in a game played via the console.
*/
class HumanPlayer: public Player {
public:
HumanPlayer(const std::string& name, const Player::ColorOfPlayer& c): Player(n... | [
"noreply@github.com"
] | roni-fultheim.noreply@github.com |
d2eee0c247fc80e4680537da2b46e50f34402664 | 1cc5d45273d008e97497dad9ec004505cc68c765 | /flex_bsion/parser/node.cpp | d49f43aec693ff0ed3087a2b1cf266aa885c3cd0 | [] | no_license | wangfuli217/ld_note | 6efb802989c3ea8acf031a10ccf8a8a27c679142 | ad65bc3b711ec00844da7493fc55e5445d58639f | refs/heads/main | 2023-08-26T19:26:45.861748 | 2023-03-25T08:13:19 | 2023-03-25T08:13:19 | 375,861,686 | 5 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 1,390 | cpp | #include "node.h"
llvm::Value* Node::codeGen(CodeGenContext& context) {
llvm::Value *last = NULL;
return last;
}
llvm::Value* NInteger::codeGen(CodeGenContext& context) {
llvm::Value *last = NULL;
return last;
}
llvm::Value* NDouble::codeGen(CodeGenContext& context) {
llvm::Value *last = NULL;
return last;
}
... | [
"wangfl217@126.com"
] | wangfl217@126.com |
b1f82dfc4614d008e8957b286021324e0fde3295 | 7516ff2500b3b1a7afd498404ca01185d33298d9 | /Libraries/oneMKL/guided_cuRAND_examples_SYCL_migration/02_sycl_dpct_migrated/sobol64/sobol64_poisson.cpp | 5796e0bd610369e8dbc76f74861e2bad23cd8ff7 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | oneapi-src/oneAPI-samples | 658add2c573ef2770ea260f39a20aa9aecc941a1 | 6901f7203b549a651911fec694ffefad82ed0b35 | refs/heads/master | 2023-09-01T20:14:50.113049 | 2023-08-07T23:44:18 | 2023-08-07T23:44:18 | 267,223,745 | 675 | 728 | MIT | 2023-09-14T12:39:11 | 2020-05-27T04:52:05 | HTML | UTF-8 | C++ | false | false | 3,904 | cpp | /*
* This program uses the host CURAND API to generate 100
* quasirandom floats.
*/
#include <sycl/sycl.hpp>
#include <dpct/dpct.hpp>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <stdexcept>
#include <vector>
#include <dpct/rng_utils.hpp>
#include "curand_utils.h"
using data_type = unsigned int... | [
"igor.ochocki@intel.com"
] | igor.ochocki@intel.com |
e1ff11904ffe1aff5927aadb25ecb947d91c0383 | 399dd00ee8bb533d3cf6a031505f6f8b3765e9c1 | /begginers/sequence_ij4.cpp | e98f4238003ddbec151fa5bd25af5e0e793a88df | [] | no_license | Wesley-M/URI | 7e62d87c4de27404fef85519aa197a8b0bcb183b | 3fee6cb2da9f7604aa5d4cace5db5b417b599662 | refs/heads/master | 2020-03-30T07:42:44.030116 | 2019-07-17T13:45:39 | 2019-07-17T13:45:39 | 150,961,010 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 269 | cpp | #include <iostream>
using namespace std;
int main(){
float i = 0;
while (i <= 2.1){
cout << "I=" << i << " J=" << 1 + i << endl;
cout << "I=" << i << " J=" << 2 + i << endl;
cout << "I=" << i << " J=" << 3 + i << endl;
i += 0.2;
}
return 0;
}
| [
"wesleylino99@outlook.com"
] | wesleylino99@outlook.com |
d26561978cec39ee01eb332c9f7392ebdf0a098f | 4c7bb2ef6dd2a7d89b8a3888dabce623621243f7 | /end.h | 1d77fde765b1159a454a28ad09d19c085d77863f | [] | no_license | YanshuLulu/big-homework | b2f4d0816c658f3d04534a15f2373e19592e3f07 | e7116c05af65b82c0d7e2c8701a686e4bebe5208 | refs/heads/master | 2022-11-07T07:43:23.463829 | 2020-06-27T03:59:46 | 2020-06-27T03:59:46 | 267,883,746 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 152 | h | #ifndef END_H
#define END_H
#include "rpgobj.h"
#include <QMediaPlayer>
class End : public RPGObj
{
public:
End();
~End();
};
#endif // END_H
| [
"1575493978@qq.com"
] | 1575493978@qq.com |
cf7be5a0d604c4be3bd20c35cfb6d29fd071d097 | 2f5a1009e997763163e2947f7665b2234223854d | /devs/MR17H/conf.cpp | cad82a49d4fc176f4101b9f23e38b43db70d719f | [] | no_license | artpol84/eocd | af1d8d6d92dae2f024643c878a73fec761dcad6a | 87ed1bd0671b72719c2725decd9a96330e1eb407 | refs/heads/master | 2021-04-28T08:06:10.789517 | 2012-12-13T14:11:21 | 2012-12-13T14:11:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 253 | cpp | #include <stdio.h>
#include <span_profile.h>
#include <devs/EOC_mr17h.h>
int main()
{
EOC_mr17h dev("dsl0");
span_conf_profile_t prof;
memset(&prof,0,sizeof(prof));
prof.annex = annex_b;
prof.max_rate = 5696;
dev.configure();
} | [
"artpol84@gmail.com"
] | artpol84@gmail.com |
29f205ce04b3e8aa5e0472ce71c840213926b104 | 39661e97b3d1aff265893c0304edc5154891bed9 | /Iniciante/URI 1021.cpp | d7c858ea9a1bda56e7883cf0c47e9901a66ffc7d | [] | no_license | eu-larissasouza/UriOnlineJudge-Solutions | 501b30d4e32800e1eccd5b9882f761f59c1884d2 | 9591dfb0be6592d107bc4269c2a27f30f79e4ffc | refs/heads/main | 2023-06-15T22:09:19.871502 | 2021-07-13T02:18:08 | 2021-07-13T02:18:08 | 383,880,913 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,506 | cpp | #include <iostream>
using namespace std;
int main()
{
double n100, n50, n20, n10, n5, n2;
double m1, m50, m25, m10, m05, m01;
double n;
cin >> n;
int notas = n;
int moedas = (n - notas) * 100;
if ((moedas * 1000) % 10 == 9)
{
moedas++;
}
n100 = notas / 100;
notas = notas % 100;
n50 = not... | [
"larissa2004.souza@gmail.com"
] | larissa2004.souza@gmail.com |
709ff7db46afa9b33f3d339413b4754101ba46c7 | 9113c2c6db72238c5690afbb3661f36cb1368590 | /SCM/TeamExplorer/TeamExplorerShellMenu/TeamExplorerShellMenu/stdafx.cpp | ca28d0a47f506817704fc925fa1bbda95cad2dab | [] | no_license | songcser/ALM | 52bae52c156d0cf0cb2d7b36fd02b2eb939edee7 | fe697a5a7d06ff46aa93a9b27cb3895b21fe64c6 | refs/heads/master | 2021-01-06T20:36:47.044416 | 2014-08-06T02:41:42 | 2014-08-06T02:41:42 | 13,189,948 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 212 | cpp | // stdafx.cpp : source file that includes just the standard includes
// TeamExplorerShellMenu.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
| [
"songjiyi2008@163.com"
] | songjiyi2008@163.com |
9ad51e2dcf4febeda1780e5a6886b3c1153f76fd | 79ba32aefd827474b217e80fd0ce8f8da23ef1a2 | /Programs/Sources/Samples/SharedObject/main.cpp | a3cef8bdd8725ee8575b1ba8664b56924659d778 | [] | no_license | in-die-nibelungen/SelfLearning | 9e951f103b9f97b14bbe75ff67d8cd29a8ed47a5 | 6cafa6830c4ee945f6cd755e397c8d52ffb5fd60 | refs/heads/master | 2021-01-10T09:43:08.895009 | 2016-02-11T14:55:53 | 2016-02-11T14:55:53 | 46,344,640 | 0 | 0 | null | 2016-01-31T11:41:45 | 2015-11-17T12:07:52 | C++ | UTF-8 | C++ | false | false | 119 | cpp |
// Refer to
// * https://blog.katty.in/4350
extern int so_test();
int main(void)
{
so_test();
return 0;
}
| [
"in.die.nibelungen@gmail.com"
] | in.die.nibelungen@gmail.com |
e3169da36a4a4d88aa1fd9b5d3977682101d9e6c | 52350e9dd51f67d25b2912eaad919374e209f139 | /Sudoku 3/Sudoku 3.0/HintsAndTips.h | 1cc4d164b801e84c04352582b2397f83ca274d4d | [] | no_license | danylofitel/Sudoku | 848ffd4ed453c91943369845b823c2b6e5ec8c3b | f8f470e2f397ab3757ed1e60062a7df90e670d29 | refs/heads/master | 2021-01-25T22:22:28.812304 | 2020-02-26T08:32:20 | 2020-02-26T08:32:20 | 243,204,203 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,455 | h | #pragma once
namespace Sudoku_3_0
{
using namespace System;
using namespace System::ComponentModel;
using namespace System::Collections;
using namespace System::Windows::Forms;
using namespace System::Data;
using namespace System::Drawing;
/// <summary>
/// Summary for HintsAndTips
/// </summary>
public ref... | [
"danylo.fitel@outlook.com"
] | danylo.fitel@outlook.com |
3edf17390485fdf35898d8be215d6867e3b768b5 | 25aa3563f57ef8d32c2989d0ed239edbbb841228 | /Tyvj/tb1023.cpp | 0f264987058b2fe786729fd0a1c9995e0f37ad12 | [] | no_license | tonglin0/Algorithm-Problems | 491e809b1d874cb6339cebde6f87ca7382af9b5a | 22d6ee385d67ac54dcf070f891f1e6053401e83f | refs/heads/master | 2020-04-08T19:24:24.304575 | 2018-11-24T17:00:15 | 2018-11-24T17:00:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 511 | cpp | #include<stdlib.h>
#include<stdio.h>
#include<string.h>
int a[103][103];
int main()
{
memset(a,0,sizeof(a));
int x,y,n,i,j,k,s;
scanf("%d",&n);
x=0;
y=n;
s=0;
while(s<n*n)
{
while(!a[x+1][y]&&x+1<=n) a[++x][y]=++s;
while(!a[x][y-1]&&y-1>=1) a[x][--y]=++s;
while(!a[x-1][y]&&x-1>=1) a[--x][y]... | [
"392377379@qq.com"
] | 392377379@qq.com |
0d742dfe6558d2ab1b00c6886032bcc2683d24ca | dd71975e17363cd4fff13a8979ebd81f360058a4 | /Source/ThirdParty/TurboBadger/parser/tb_parser.cpp | 36477f3bb392f151d1f31f6d3a3860230d96b5fa | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | honigbeutler123/AtomicGameEngine | 95403fa3db60553270716d7fe9811ba9b4403070 | 2393fd70315120a3879d2db5f1e955dba75a898c | refs/heads/master | 2023-05-07T11:53:58.631217 | 2023-04-14T09:20:38 | 2023-04-14T09:20:38 | 53,612,655 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,168 | cpp | // ================================================================================
// == This file is a part of Turbo Badger. (C) 2011-2014, Emil Segerås ==
// == See tb_core.h for more information. ==
// =================================================================... | [
"josh@galaxyfarfaraway.com"
] | josh@galaxyfarfaraway.com |
11886d48acb46ea66d8ca7434f531a6b81c81491 | 9be246df43e02fba30ee2595c8cec14ac2b355d1 | /utils/hlfaceposer/mxexpressiontab.h | cdb1ceb2e727168b7176c521cc85db60e05c06f8 | [] | no_license | Clepoy3/LeakNet | 6bf4c5d5535b3824a350f32352f457d8be87d609 | 8866efcb9b0bf9290b80f7263e2ce2074302640a | refs/heads/master | 2020-05-30T04:53:22.193725 | 2019-04-12T16:06:26 | 2019-04-12T16:06:26 | 189,544,338 | 18 | 5 | null | 2019-05-31T06:59:39 | 2019-05-31T06:59:39 | null | WINDOWS-1252 | C++ | false | false | 707 | h | //========= Copyright © 1996-2001, Valve LLC, All rights reserved. ============
//
// Purpose:
//
// $NoKeywords: $
//=============================================================================
#ifndef MXEXPRESSIONTAB_H
#define MXEXPRESSIONTAB_H
#ifdef _WIN32
#pragma once
#endif
#include "tabwindow.h"
... | [
"uavxp29@gmail.com"
] | uavxp29@gmail.com |
3f70f521f798536b10f512a3e267a661c3b09982 | 0cccd555a7899ffc6865d2949fb41667a41e8930 | /spike.cpp | 0e0fb5d14d1af324a7a2bb568952541ee2338807 | [] | no_license | Boskin/Dodge_The_Spikes_New | 7f955fbfe1da56e126db6ff831832667dd3274ab | b18dc659c04034844c5c09a60cb1b5552e1d7d42 | refs/heads/master | 2021-01-02T08:46:31.060727 | 2015-09-29T18:09:58 | 2015-09-29T18:09:58 | 13,713,195 | 0 | 0 | null | 2013-10-20T04:09:09 | 2013-10-20T03:47:43 | C++ | UTF-8 | C++ | false | false | 4,909 | cpp | #include"spike.h"
Spike::Spike():x(-100),y(-100),start_x(-100),start_y(-100),
spd_x(0),spd_y(0),start_spd_x(0),start_spd_y(0),
min_x(-100),min_y(-100),max_x(-100),max_y(-100),loop(false){}
void Spike::draw(bool editor){
if(spd_x==0 && spd_y==0){
draw_trans_sprite(BUFFER,RED_SPI... | [
"boskin.erkocevic99@yahoo.com"
] | boskin.erkocevic99@yahoo.com |
1da3bba5aaf226512643b799da0f7b50f4172bf5 | 2780081bb046866b1449519cbe4dd78fbbf0719e | /XUL.framework/Versions/2.0/include/nsIContentURIGrouper.h | 2993035e6e77617426dda1a680e1d07321981b48 | [] | no_license | edisonlee55/gluezilla-mac | d8b6535d2b36fc900eff837009372f033484a63f | 45d559edad7b5191430e139629d2aee918aa6654 | refs/heads/master | 2022-09-23T19:57:18.853517 | 2020-06-03T03:57:37 | 2020-06-03T03:57:37 | 267,499,676 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,989 | h | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/rel-2.0-xr-osx64-bld/build/dom/interfaces/base/nsIContentURIGrouper.idl
*/
#ifndef __gen_nsIContentURIGrouper_h__
#define __gen_nsIContentURIGrouper_h__
#ifndef __gen_nsIURI_h__
#include "nsIURI.h"
#endif
/* For IDL files that don't want to include root... | [
"edisonlee@edisonlee55.com"
] | edisonlee@edisonlee55.com |
63f658c05470fc89198f40341dcaec1c5e892620 | 0f0add5e2c721c7a3381de612093a41bae0c190d | /Study/NhapMonGame/Beginning DirectX 11 Code/Chapter8/Models/Models/objLoader.cpp | 3a389eca81fa22cc9dc1ff3e33abbf87754fa60a | [] | no_license | phanybien/University | 9d5a8b0a8598823b6612e07980b820469223f7e1 | 409496c8c9feca3d8420d93d6a5d91ac583cb71a | refs/heads/master | 2023-06-11T17:39:13.619405 | 2021-01-08T06:01:58 | 2021-01-08T06:01:58 | 80,742,472 | 1 | 4 | null | 2023-05-31T18:17:29 | 2017-02-02T16:11:05 | C++ | UTF-8 | C++ | false | false | 5,266 | cpp | /*
Beginning DirectX 11 Game Programming
By Allen Sherrod and Wendy Jones
ObjModel - Used to represent an OBJ model.
*/
#include<fstream>
#include<vector>
#include<string>
#include"objLoader.h"
#include"TokenStream.h"
ObjModel::ObjModel( )
{
vertices_ = 0;
normals_ = 0;
texCoords_ = 0;
... | [
"phanybien@gmail.com"
] | phanybien@gmail.com |
2b10b64f3adcc4137ae02d9797a6705beb40e320 | 283b61434318b07d5cc77c34160bda0c7a316b06 | /opt/outliner/InstructionSequenceOutliner.cpp | 79b63b38c2f4a90ec13d61034ee31b235c0b8c09 | [
"MIT"
] | permissive | yebobo2010/redex | 8e7c38340d9c29cd3607107d261cb54a7ee58197 | d8d703fc22fcdc291fbfb2637296740c84ad930e | refs/heads/master | 2022-11-11T10:28:40.740352 | 2020-06-27T00:47:14 | 2020-06-27T00:49:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 106,829 | cpp | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/*
* This pass outlines common instruction sequences within a basic block,
* and across tree-shaped control-flow structures for s... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
bda16d8534edb4b4439f01583bab5ae54c52acf8 | 3b2a819a01a26d432217c26da9be68ee0405cf52 | /scenario_on_door_close_test.cpp | caa6c8905c1989033f6bb37a71c7cffd1231c0e8 | [] | no_license | yuri-pechatnov/ok_fridge | 4cb0d9c2f31dfe6839bcb4c130e472d4e7ee6d77 | 8c2d469beb55f289acb601c91b1de4ce9690e20c | refs/heads/master | 2021-08-27T23:35:23.535670 | 2017-12-10T19:44:00 | 2017-12-10T19:44:00 | 113,672,953 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 261 | cpp | #include "model.h"
#include "verbal_io_controller.h"
#include <cstdio>
#include <cstdlib>
#include <algorithm>
int main() {
Model model;
model.ioControllers.emplace_back(new VerbalIOController(model));
model.fridge.onDoorClose();
return 0;
}
| [
"yuri.pechatnov@gmail.com"
] | yuri.pechatnov@gmail.com |
94490e4e508a78b9a718373b0db7f36a59a48727 | 0fef273922bbf72fcfac2b1d6469d99229afff0a | /src/utils/DefaultPhantoms.hpp | 71c47247e64d5a6d90c12a5a76f25f9ec38e8f42 | [
"BSD-3-Clause"
] | permissive | spenceryue/OpenBCSim | 6d218336ea53e20d4c3d26081f1c09c4b6b5a9fb | 7b0208082ecb9b0b661aee50815fc85577d1c715 | refs/heads/master | 2020-03-22T19:44:09.735095 | 2018-08-29T05:17:33 | 2018-08-29T05:17:33 | 140,547,329 | 4 | 0 | null | 2018-07-11T08:45:20 | 2018-07-11T08:45:20 | null | UTF-8 | C++ | false | false | 3,427 | hpp | #pragma once
#include <iostream>
#include <memory>
#include <random>
#include <vector>
#include "EllipsoidGeometry.hpp"
#include "core/BCSimConfig.hpp"
#include "core/export_macros.hpp"
namespace default_phantoms {
struct LeftVentriclePhantomParameters {
LeftVentriclePhantomParameters()
: thickness(8e-3f)... | [
"sigurd.storve@ntnu.no"
] | sigurd.storve@ntnu.no |
17733188f5fa305d7a966ebc83898bc3fcf57501 | 29446e32dbe06ed00f03043a63946899796a9ccb | /db-2.7.7/test/tclWin32Init.cpp | 78e2bc7d2a0ee44798ae13a7bdfc6235632f5bed | [
"BSD-4-Clause-UC",
"BSD-2-Clause"
] | permissive | keith-dev/BerkeleyDB | a91cdb3fb5cdfbcbae98d7a5688daf7405a60d9a | 4a8fc75f60ae8fc72d01c668f7af25fd92f09984 | refs/heads/master | 2023-04-01T23:33:33.008174 | 2021-04-05T22:58:52 | 2021-04-05T22:58:52 | 354,995,453 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,469 | cpp | /*-
* See the file LICENSE for redistribution information.
*
* Copyright (c) 1998
* Sleepycat Software. All rights reserved.
*/
#ifndef lint
static const char sccsid[] = "@(#)tclWin32Init.cpp 10.2 (Sleepycat) 5/2/98";
#endif /* not lint */
#include <stdio.h>
#include <tcl.h>
#include <eh.h>
extern "C" {
#inclu... | [
"keith.dev.uk@gmail.com"
] | keith.dev.uk@gmail.com |
9b5304b98ac4bd17280defae9c691e6755259d03 | 02b187d56a2c6a71480135fcc4d24d0903c37ebe | /Baekjoon/2605.cpp | 83ae4ac5f405e9f682dbf23609c334278842f74a | [] | no_license | mbkim95/Algorithm | 13fdab15746dbeddd147986a56f4452430cc5963 | 5cb9ad2a8af9079725782b98ed068c711501f596 | refs/heads/master | 2023-04-27T20:33:04.569574 | 2023-04-16T02:50:50 | 2023-04-16T02:50:50 | 154,241,473 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 372 | cpp | #include <iostream>
#include <list>
using namespace std;
int main() {
ios_base::sync_with_stdio(0);
cin.tie(0);
cout.tie(0);
int n;
cin >> n;
list<int> l;
for (int i = 0; i < n; i++) {
int tmp;
cin >> tmp;
auto it = l.end();
while (tmp > 0) {
tmp--;
it--;
}
l.insert(it, i + 1);
}
for (int ... | [
"mbkim95@naver.com"
] | mbkim95@naver.com |
13b880dad4ba81f4852394e7d10e1fb15c1e1461 | 1183e4bc452fe6317dc3284500ae7bad6ac06379 | /BinaryTreeMaximumPathSum/BinaryTreeMaximumPathSum.cpp | d4df188bed85d751973285dedfd1ce6e19fec0dd | [] | no_license | anygoanygogo/leetcode | 3206d28d6338ffb5d1fa8c3beba64d9419eb2754 | 12be24c51865836abe4efce6f753f601d5e6d3bb | refs/heads/master | 2020-12-03T10:31:22.782140 | 2014-01-08T06:21:30 | 2014-01-08T06:21:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,129 | cpp | /**
* Definition for binary tree
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(x), left(NULL), right(NULL) {}
* };
*/
const int INFS = 0x3fffffff;
struct NodeInfo {
int maxval, maxfromroot;
NodeInfo() : maxval(-INFS), maxfromroot(-INFS) {... | [
"sunweiqq@gmail.com"
] | sunweiqq@gmail.com |
5edca9b73b2aa0bb2a97fd419405ef82657bb669 | e972c781e52ab268ecafd155a5ce063fc6fddf20 | /1079.cc | cf13ffdade72375d280b40b93f94406fd79155ea | [] | no_license | zakilo/pat2 | d4e98f99446119d565b918a0ed96403bae10fa3e | 68f3f8c17afca4e048be8714999e608ee2b5dd2b | refs/heads/master | 2021-01-20T04:29:57.986314 | 2015-04-03T15:59:05 | 2015-04-03T15:59:05 | 31,764,614 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 896 | cc | #include <cstdio>
#include <vector>
#include <queue>
using namespace std;
int n;
double p, r;
bool flag[100010]; // retailer
double lvlscan(vector<int> vec[], int root)
{
queue<int> que;
que.push(root);
double sum = 0, rr = 1;
int t, len=1, tmp;
while( !que.empty() ) {
tmp = 0;
while(len--) {
t = que.f... | [
"h@h.com"
] | h@h.com |
f3ea55e473fafc55968393780caeb8daebbf214c | 31983f47cbe85b6c885516cadc59ce1730b10b4a | /ex00/srcs/main.cpp | a4cc931911c018709ccdaf4aea044cc52263b23b | [] | no_license | praclet/CPP08 | 13273f0560e4f055347626064584a1fc37b285d0 | 79ffd6ab73dd6e0c4d6a6f16aa7642f4e2752f9b | refs/heads/master | 2023-04-16T01:40:48.633961 | 2021-05-03T09:19:45 | 2021-05-03T09:19:45 | 360,667,548 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,496 | cpp | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* main.cpp :+: :+: :+: ... | [
"praclet.tel@gmail.com"
] | praclet.tel@gmail.com |
a2c7b35e2ed4f81cef947ffc75a026eb382d8901 | f22ffbe48b49fc430c47f24521197badae4de997 | /Polynomial.hpp | 3e0f1794caaf738f0023cb16161b7ab9f620f586 | [] | no_license | kneychev/Operations-for-class-Polynomial | 5fb0b1cd6cefb97d5021441f3336b19b284612fa | 0fbacba3ea10cf42aa42a9c978273b08cae3c050 | refs/heads/master | 2022-12-29T10:45:52.432571 | 2020-10-20T17:21:14 | 2020-10-20T17:21:14 | 305,780,388 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,565 | hpp | #pragma once
template<typename Type>
class Polynomial
{
public:
Polynomial();
Polynomial(const Polynomial& other);
Polynomial& operator=(const Polynomial& rhs);
~Polynomial();
void SetMaxPow(int power);
const int GetMaxPow() const;
void AddCoef(Type coef, int power);
const Type* GetCoefficients() const;
publ... | [
"knneychev@gmail.com"
] | knneychev@gmail.com |
dfa573e4af394d2528bf611e184feba72e531dff | 6c3d471b1d4cb0b57457ae007ccddf44cc628871 | /Engine/Utility/PlacedObject.cpp | cd7f78f0e5e87d057c084df9c179c1d009eef4b1 | [] | no_license | KiwiMaster157/Starcraft_Boardgame | 92c0e1bc46de780cb4740ced504da1ba54e03248 | 1726dee559d27e3514e3602b10727fa71ace102e | refs/heads/master | 2020-03-17T16:49:03.337344 | 2018-05-17T05:33:36 | 2018-05-17T05:33:36 | 133,763,653 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 699 | cpp | #include "PlacedObject.h"
#include "../Gamestate.h"
namespace eng
{
PlacedObject::PlacedObject(Place p, bool locked)
{
m_place = p;
m_p_locked = locked;
}
const Place& PlacedObject::place() const
{
return m_place;
}
Zone& PlacedObject::zone() const
{
return game().getZone(m_place);
}
Planet& Place... | [
"reubster13@gmail.com"
] | reubster13@gmail.com |
68a21630475b76228f20469c6f2ce261c16bcc1f | 09627b4917fb77d1cd9c06ca3d89a6ac1c688c65 | /quatfusion.cpp | 7d6bc1334fbed6185fb8dcc0f008f51f59eb8cfc | [] | no_license | txue940810/IMU_BMI055 | 4d71500296b45df0a619dd2b21fb1fafcebb2c70 | d8273699b1ceab8649de03f988876571a2fdcb92 | refs/heads/master | 2023-02-21T21:56:49.934174 | 2021-01-13T19:59:19 | 2021-01-13T19:59:19 | 329,285,453 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,651 | cpp | #include "quatfusion.h"
#include "math.h"
#include "arduino.h"
#include "MatrixMath.h"
#include "spi_support.h"
mtx_type A[4][4];
mtx_type H[3][4];
mtx_type P[4][4];
mtx_type K[4][1];
float Dt=0.01;
float Q=1e-4;
float Cnt=0.0;
MatrixMath MatrixDue; // Pre-instantiate
unsigned char quatfusion_p... | [
"robertxue@tencent.com"
] | robertxue@tencent.com |
c4e4a1d3cc93fb2a860129c9d151f135a0aba457 | e2b9bdb79494e365021da9460524b459a0f40292 | /CPP/SmartPointer.h | 971aaf7f2688559632e94f4180f2046965812b52 | [
"MIT"
] | permissive | lkpetrich/Semisimple-Lie-Algebras | 4bc308c5cc339d4cae6d26ff9c5839ca936d36aa | 39a7dfbff959de7c12f5ce4cb6bf1dd426ab44e5 | refs/heads/master | 2023-04-08T11:11:48.780718 | 2023-04-03T09:48:08 | 2023-04-03T09:48:08 | 85,242,247 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,898 | h | #ifndef REFERENCE_COUNTING_SMART_POINTER
#define REFERENCE_COUNTING_SMART_POINTER
/*
Reference-counting smart pointer
*/
template<class P> class RefCounter
{
// Uses pointers to both the object and the count,
// so that the count can be passed around alongside the object
P *ObjPtr;
int *CountPtr;
// Add and s... | [
"noreply@github.com"
] | lkpetrich.noreply@github.com |
2414156b908d3e14ae49b8c3617387b4afe475e4 | d49bd38bc633156111ffa94c905df8b1de03910e | /PT-Project/Actions/AddReadWrite.cpp | d1caf55c72a63c57329485a37e3f38a2f92a1280 | [] | no_license | AntounWagdy/FlowchartToC-Testing | e3e0aa9240a406b5446791fbae63bed080dbf3fc | ec62590025d94b97fe941445b99a8e3c3094a48b | refs/heads/master | 2020-03-13T14:16:34.427807 | 2018-05-02T11:50:15 | 2018-05-02T11:50:15 | 131,155,218 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,284 | cpp | #include "AddReadWrite.h"
#include"..\Statements\ReadWrite.h"
#include "..\ApplicationManager.h"
#include "..\GUI\input.h"
#include "..\GUI\Output.h"
#include <sstream>
using namespace std;
//constructor: set the ApplicationManager pointer inside this action
AddReadWrite::AddReadWrite(ApplicationManager *pAppMana... | [
"Antounwagdy@gmail.com"
] | Antounwagdy@gmail.com |
075f9ebbc867133b33d97a46f655ebe1aa58ebf5 | fe071da0757ef6003310630d3caa830b51ed865e | /include/TilemapGraphicsComponent.h | c5861be22835a47b7e3ec806466a7f365cb05b4d | [] | no_license | Mahoimi/Lux-Ex-Machina | f25ffc3b78bf456186b48042a0d9c8045af7a379 | a68b40d16b9708c8001df524fbb84c87457b8050 | refs/heads/master | 2021-01-22T02:57:52.451986 | 2015-02-04T19:34:25 | 2015-02-04T19:34:25 | 15,365,836 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 568 | h | #ifndef LUX_TILEMAP_GRAPHICS_COMPONENT_H
#define LUX_TILEMAP_GRAPHICS_COMPONENT_H
#include "GraphicsComponent.h"
#include "Tilemap.h"
namespace Lux {
class TilemapGraphicsComponent : public GraphicsComponent
{
private:
Tilemap m_tilemap;
public:
TilemapGraphicsComponent(const std::string& tileset, unsigned int til... | [
"makahomi@gmail.com"
] | makahomi@gmail.com |
dda3965bcd45aa0f14be72c0ebc1b48e1204138b | 44504ed331b9abb893c014f3fda0522397261c56 | /source/Library.Shared/Attributed.h | b5a1ca6ca4e4646030833044832a89774c1c3d77 | [] | no_license | NathanBeals/FieaGameEngine | 74ec618b57c08e53ae49a44ac2839e7c99fdbd35 | 9fea1e8b74152151f74146266715aec48ec0bc97 | refs/heads/master | 2022-11-05T12:33:19.263505 | 2020-06-28T07:59:50 | 2020-06-28T07:59:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,515 | h | #pragma once
#pragma region Includes
// First Party
#include "TypeManager.h"
#include "Scope.h"
#pragma endregion Includes
namespace Library
{
/// <summary>
/// Abstract base for derived classes with mirrored attributes for each of the members in its data structure. This requires the registration with
/// </summar... | [
"Logan.Harvell@ucf.edu"
] | Logan.Harvell@ucf.edu |
cac532a03d0eb889b342c960a8ab35cc33a477f4 | c2dfeffcbccdbe8e297d5ce3554d8e2b222d70f4 | /ml2d/0/p | 39accf8eb824d0b939decd17962e437df6beccbf | [] | no_license | rezahsh/ME6300-Sp20 | e5b2ecd9b41319ed480eef280959c37fdcbc7d5e | ca789986ce5d6f00fcec1fdc356b27ce15705105 | refs/heads/master | 2021-01-15T05:26:46.538700 | 2020-05-07T21:03:03 | 2020-05-07T21:03:03 | 242,890,501 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,159 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: dev
\\/ M anipulation |
\*-----... | [
"reza.hsh@gmail.com"
] | reza.hsh@gmail.com | |
94e2379aa8720ae1867e16198006e1dbc49d80f8 | 6efa7d3d0271dec42727714e6304d0a4460aa831 | /FT_bakery.cpp | 06bad2a2f7f05c47f4cdcf603bbf00cfd1f90a6c | [] | no_license | zago1/ft_bakeky | faf98deeda10b54376f50d6d2e2ffe9609735530 | 77412dd3fe7d0afe5c0bc6da4e43bf655c4455d3 | refs/heads/master | 2020-05-18T15:34:10.928427 | 2019-05-02T01:10:52 | 2019-05-02T01:10:52 | 184,502,327 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,297 | cpp | #include "FT_bakery.hpp"
#include "MyProgram.hpp"
#include "MyBooleanClass.hpp"
/* DANGER: A LOT OF GLOBAL VARIABLES !!! (OBJECTS & STRUCTURES) */
int main(int argc, char *argv[])
{
MyProgram *program = new MyProgram(string(argv[0]));
verifyArguments(argc, argv, program);
program->start();
};
void verif... | [
"igorzagomassaro@gmail.com"
] | igorzagomassaro@gmail.com |
66be26fb8810c1b4d4206c54c3f43f3d87ea192d | 7d74a4fab1662506f57be03b165dc7ea03c6ea17 | /src/core/utils/messagebus.hxx | 879ee6768a53ed5c5068a60fb3bb47b25cbfcbed | [
"MIT"
] | permissive | lowkey42/teamproject | 2e9a7ec29e41d3b382ea8384a1051ef0f5fd922b | 41e7dfe27161f319d08d02982443720af55398a3 | refs/heads/develop | 2020-04-04T05:55:47.308995 | 2016-10-04T20:34:05 | 2016-10-04T20:34:05 | 49,599,482 | 1 | 0 | null | 2016-07-14T21:10:40 | 2016-01-13T20:22:12 | C++ | UTF-8 | C++ | false | false | 5,599 | hxx | #pragma once
#ifndef MESSAGEBUS_HPP_INCLUDED
#include "messagebus.hpp"
#endif
#include "reflection.hpp"
namespace lux {
namespace util {
template<class T>
Mailbox<T>::Mailbox(Message_bus& bus, std::size_t size) : _queue(size,0,4), _bus(bus) {
_bus.register_mailbox(*this);
}
template<class T>
Mailbox<T>::~... | [
"mephistopheles@onlinehome.de"
] | mephistopheles@onlinehome.de |
5638d9df3e5837163170b19dcd041229b789fc8c | 13e11e1019914694d202b4acc20ea1ff14345159 | /Back-end/src/Processor/DataLock.cpp | 23ec0d849fd7caa2dab9245cba219e6ec2a71c93 | [
"BSL-1.0",
"Apache-2.0"
] | permissive | lee-novobi/Frameworks | e5ef6afdf866bb119e41f5a627e695a89c561703 | 016efe98a42e0b6a8ee09feea08aa52343bb90e4 | refs/heads/master | 2021-05-28T19:03:02.806782 | 2014-07-19T09:14:48 | 2014-07-19T09:14:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 839 | cpp |
// #ifndef LINUX
// #include "StdAfx.h"
// #endif
#include "DataLock.h"
CDataLock::CDataLock(void)
{
#ifdef LINUX
//create mutex attribute variable
pthread_mutexattr_t mAttr;
// setup recursive mutex for mutex attribute
pthread_mutexattr_settype(&mAttr, PTHREAD_MUTEX_RECURSIVE_NP);
// Use the mutex attribute ... | [
"leesvr90@gmail.com"
] | leesvr90@gmail.com |
4e04a2021f09b0a7653c3535f7c100bd2417dea4 | eeda19981e21fc916b83ed4ed624fa427577ac46 | /Codeforces Solutions/764-A_Taymyriscallingyou.cpp | bfd8b937e804271ec500a8ed152a56c2047addb6 | [] | no_license | omarsamy09/Competitive-Programming-solutions | 1b54c5f856d92f76754ccac8cbb863c70cbd1e79 | bfafed917a507f7bbb9336f40a6fe2a9e9ca139d | refs/heads/main | 2023-07-16T02:53:40.189965 | 2021-08-20T23:07:59 | 2021-08-20T23:07:59 | 398,418,712 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 55 | cpp | https://codeforces.com/contest/764/submission/104352410 | [
"omarsamy09@gmail.com"
] | omarsamy09@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.