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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
20661d6dcd2fdce0a55eb37ece257317758d9d05 | 9e4e701ab0cbccd4d0698c3f9b7d9ba1f7463447 | /LiquidCoreiOS/LiquidCore/V82JSC/Value.cpp | fed7904f39340a0cf3cbf7ddfd2196d70308b4ba | [
"MIT"
] | permissive | eachscape/LiquidCore | 5b7235214af38f57423809a5c01ea52df62c6d2b | 12f92c410c28fbc11553e239fb2c16961e00698c | refs/heads/master | 2020-05-07T10:30:12.760322 | 2019-04-09T17:26:00 | 2019-04-09T17:26:00 | 180,413,109 | 0 | 0 | null | 2019-04-09T17:00:38 | 2019-04-09T17:00:37 | null | UTF-8 | C++ | false | false | 20,792 | cpp | /*
* Copyright (c) 2018 Eric Lange
*
* Distributed under the MIT License. See LICENSE.md at
* https://github.com/LiquidPlayer/LiquidCore for terms and conditions.
*/
#include "V82JSC.h"
#include "JSObjectRefPrivate.h"
#include "Value.h"
#include "StringImpl.h"
using namespace V82JSC;
using v8::Local;
using v8::E... | [
"eric@flicket.tv"
] | eric@flicket.tv |
9aec42781579f43ddcf17789a5f4046c20d8e43f | f724976070a823e3026de2c85225fcb8001e6c72 | /add_item_dialog.cpp | ea7c0d802aaf118943aaeb4498f76dd8d3c50d03 | [] | no_license | iamOgunyinka/Phoebe | b2d5ee4717373b33cf693e5c2748ab7b61049f79 | 6e091a0d96fa0b5a1c5cfc4f4b83f7993a506be7 | refs/heads/master | 2021-01-21T14:52:27.783413 | 2017-06-25T07:57:36 | 2017-06-25T07:57:36 | 95,345,990 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,446 | cpp | #include "add_item_dialog.hpp"
#include "ui_inventory_action_dialog.h"
#include <QMessageBox>
#include <QSqlQuery>
#include <QSqlError>
#include <QCloseEvent>
#include <QFileDialog>
#include <QBuffer>
#include <QImageWriter>
#include <QDebug>
#include "resources.hpp"
AddItemDialog::AddItemDialog( QWidget *parent) :
... | [
"ogunyinkajoshua@yahoo.com"
] | ogunyinkajoshua@yahoo.com |
4973a1a2810e55f08a439d1f3d027966feb4c8f8 | 85fea1230d5134a7bdf0a20176e9c1764ff5ee10 | /chrome/browser/signin/identity_manager_factory.cc | 741664f3b5bfe0db22fdeae79dab517bf1f38956 | [
"BSD-3-Clause"
] | permissive | jin5866/chromium | 1b28eccdd4ff95ba746eb713dcc262c1ac4d07b5 | 513431963be3a30484235373297c8b5d5e248b5a | refs/heads/master | 2023-03-05T22:13:15.169295 | 2019-02-12T08:12:14 | 2019-02-12T08:12:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,169 | cc | // Copyright 2017 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 "chrome/browser/signin/identity_manager_factory.h"
#include "build/build_config.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
25ef5c4717abc862eb68fda04b18ff2754405523 | abf406f991ff41c5714f3f17cf5bdc6584d8cc44 | /Dzwig/Window.h | 6eb7ef12cde056eaff89667b0b28cc1635e29fea | [] | no_license | pszemegw/OpenGL-Dzwig | 579374cd94c174aaba057cf5f8a2432068e2dea1 | 091cc4eb9b1d6d01a5f652182daf2103f3e2bd3e | refs/heads/master | 2023-05-26T10:56:47.084914 | 2021-06-14T09:14:05 | 2021-06-14T09:14:05 | 376,753,960 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,138 | h | #pragma once
#define GLEW_STATIC
#include <GL/glew.h>
#include "ShaderProgram.h"
#include "Skybox.h"
#include "Camera.h"
#include "Cuboid.h"
#include "Crane.h"
#include "Light.h"
#include <GLFW/glfw3.h>
#include <SOIL.h>
#include <iostream>
using namespace std;
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.... | [
"pwieczo3@mion.elka.pw.edu.pl"
] | pwieczo3@mion.elka.pw.edu.pl |
dae74bd0590130401c837c3ab1390ab90202c015 | c8e9b7d79d19c621b6d72fb57e15ed9cf6ed05d1 | /dataUnf/code/PlotRatios_DataUnfolded_afterDiag_newNominal.cc | 5487c00b2fbd1881f7e6474904501a8cd6067d7a | [] | no_license | InnaKucher/unfolding_HIN_18_012 | 6220d0ff6cbbd8dd551f888adbe234b86be7d421 | 2fb70bda94131dbe0c17a12539fe89f45f7c4ea6 | refs/heads/master | 2020-03-20T00:50:56.785563 | 2018-06-12T11:20:53 | 2018-06-12T11:20:53 | 137,057,744 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 9,429 | cc | #include "TROOT.h"
#include "TKey.h"
#include "TFile.h"
#include "TSystem.h"
#include "TCanvas.h"
#include "TTree.h"
#include "TH1F.h"
#include "TH2F.h"
#include "TObjArray.h"
#include "THStack.h"
#include "TLegend.h"
#include "TEfficiency.h"
#include "TGraphAsymmErrors.h"
#include "TF1.h"
#include "TMath.h"
#include "... | [
"inna.kucher@cern.ch"
] | inna.kucher@cern.ch |
4bcb8fdb401a3d3c7b2b14006f65e087aaa72fa5 | 21dd37929268a60b1ebace94a8f1b5339a17018d | /src/GameServer/User.h | 5e4790554d6d74954b41a37a364e41fbb8725059 | [] | no_license | mendo13/koserver | c13cc0079fd1129627b00ca95654601df5c12b3b | 1c5a151f1558922b5c1a95b7323ca71c22158c72 | refs/heads/master | 2020-12-01T01:04:32.638815 | 2013-09-19T10:09:55 | 2013-09-19T10:09:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 40,588 | h | #pragma once
#include "LuaEngine.h"
#include "../shared/KOSocket.h"
#include "Unit.h"
#include "ChatHandler.h"
struct _KNIGHTS_USER;
struct _EXCHANGE_ITEM;
struct _USER_SEAL_ITEM;
typedef std::map<uint64, _USER_SEAL_ITEM*> UserItemSealMap;
typedef std::list<_EXCHANGE_ITEM*> ItemList;
typedef std::map<uint32, time... | [
"akuma@xskip.net"
] | akuma@xskip.net |
ded560a15f305f4a030d923a23abd7dd58ae4e80 | 33f5db2a8ec52685a49bdf0ccd543bce7271cbe2 | /OperatingSystems/Project5/scheduler.cpp | 6f22207b6e0388e815121150901bc1d540857ef4 | [] | no_license | bernym12/Coding-Assignments | 6dadbb4ba9f67f3c2034ce8d822c14710293194c | f837d2b44e5dd0bbb6c7734cec211e87a5836bbe | refs/heads/master | 2021-07-25T06:11:58.836387 | 2020-04-19T23:50:26 | 2020-04-19T23:50:26 | 153,212,289 | 0 | 0 | null | 2019-11-15T20:49:25 | 2018-10-16T02:45:11 | Java | UTF-8 | C++ | false | false | 6,478 | cpp | #include <bits/stdc++.h>
#include <cstdlib>
#include "scheduler.h"
#include "stat_info.h"
#include "stat_info.cpp"
using namespace std;
int main(int argc, char *argv[])
{
int clock = 0;
parse(argc, argv, file_name, policy, quantum);
readfile(job_list, fp, file_name);
// err... | [
"noreply@github.com"
] | bernym12.noreply@github.com |
fe3539de317afcd3f5674000f0e1e4fd10ccf718 | 6a42841765f2356da99d9844cab8f3f3353eaebf | /WHGames/DG4/GameServer/GameServerManager.h | baf3b43a530774c017cfa2e66591189e126b1563 | [] | no_license | Ivanhan2018/wh6602_zhuque | d904e1d7136ed7db6cd9b46d65ab33797f400a74 | b0e7e574786eac927d109967618ba2a3af5bbee3 | refs/heads/master | 2020-04-05T17:28:14.739789 | 2018-12-24T07:36:47 | 2018-12-24T07:36:47 | 157,062,380 | 2 | 8 | null | null | null | null | GB18030 | C++ | false | false | 1,445 | h | #ifndef GAME_SERVER_MANAGER_HEAD_FILE
#define GAME_SERVER_MANAGER_HEAD_FILE
#pragma once
#include <afxwin.h> // MFC 核心组件和标准组件
#include <afxext.h> // MFC 扩展
#include <string>
using namespace std;
#include "GameServiceExport.h"
//////////////////////////////////////////////////////////////////////////... | [
"hanshouqing85@163.com"
] | hanshouqing85@163.com |
52a798b848f9b680c6fc456434fa09ce9fdcc367 | adb77362c8d663977eee5f09c9034fee4cad42fd | /产生rpc_stubs和common_api头文件的命令/rpc_stubs/CommonApiRpcServer.cpp | 698f20dd91f6c7db33349f4e4873fefddf7d13e2 | [] | no_license | hang2287/Ti-Value | ceff04bbf59beba9a6f5c79c2b1057e4f424dd6b | 2f0fbe8d1e728391d1f7e4ff99007b0640c65cbe | refs/heads/master | 2021-07-04T13:36:53.929762 | 2017-09-27T02:33:50 | 2017-09-27T02:33:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 755,229 | cpp | // _ _ __ _ _
// | | | | / _(_) |
// __ _ ___ _ __ ___ _ __ __ _| |_ ___ __| | | |_ _| | ___
// / _` |/ _ \ '_ \ / _ \ '__/ _` | __/ _ \/ _` | | _| | |/ _ \`
// | (_| | __/ | | | __/ | | (_| | || __/ (_| |... | [
"ttxsdog@gmail.com"
] | ttxsdog@gmail.com |
4b19d4fe1bba7242e53a92a2b6530272fa29e435 | d79527272ea1df4e69c57f1e1295a6f0182f2a19 | /opp_lab3/opp_lab3/rhombus.h | e30d7dae832d79d4007bd8328d958f5b3c2979b7 | [] | no_license | prost0/OOP | d91652ce65f7b04c29229b9f3bd4be53d2d48cae | e1f62da03b53d6f0b711d6265869dd1c1a856da9 | refs/heads/master | 2021-01-13T02:46:02.857114 | 2016-12-22T13:46:20 | 2016-12-22T13:46:20 | 77,146,566 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 515 | h | #pragma once
#include <cstdlib>
#include <iostream>
#include "figure.h"
class Rhombus : public Figure {
public:
Rhombus();
Rhombus(std::istream &is);
Rhombus(size_t side, size_t smaller_angle);
Rhombus(const Rhombus& orig);
double Square() override;
void Print() override;
friend std::istream& ope... | [
"noreply@github.com"
] | prost0.noreply@github.com |
f59fed20c3c44cea31d9bcfe7187a2fb64119eb8 | 096464ba416b30ee1238083d0300df2a32cd698d | /BT_tester/rgb_led.cpp | 3228c90217a6290462b5cf2e86db61fcd1b5aee4 | [] | no_license | ManitoSecurity/BTLibrary | 4d50087cd5d3efcfe28c90160ab5d5551cf624d4 | 22916f2a44fa7ac8c20b95f4e18f935f3ba040f9 | refs/heads/master | 2020-12-24T16:50:30.209117 | 2015-04-07T06:28:48 | 2015-04-07T06:28:48 | 26,699,854 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 560 | cpp | // rgb_led.cpp
// implementation of rgb led driver
// Manito Security Solutions
// Brian Gravelle
// March 14 2015
#include "rgb_led.h"
void init_rgb_led() {
pinMode(LED_R, OUTPUT);
pinMode(LED_G, OUTPUT);
pinMode(LED_B, OUTPUT);
}
void turn_on_red() {
analogWrite(LED_R, ON);
analogWrite(LED_G, OFF);
... | [
"bgravelle@zagmail.gonzaga.edu"
] | bgravelle@zagmail.gonzaga.edu |
0e066e8b22edcf38f900ef7f86fe6ecb9b320d94 | dc13110ad3a720345b63331f333991d29b62fab7 | /Strings/Rotations.cpp | 3cdeab081f4f81d03c65e421a3c1166bb7bfdc17 | [
"MIT"
] | permissive | sanjeev30798/HackerEarth-solutions | 8d93fb967db3a4b70fc9b6ac4633e09916920fb6 | b49e0d41d4f4303ff49f3d464ae82c0b21feb96c | refs/heads/master | 2023-03-06T08:20:26.113075 | 2021-02-10T04:09:00 | 2021-02-10T04:09:00 | 285,142,683 | 0 | 1 | MIT | 2020-08-20T16:40:15 | 2020-08-05T01:16:19 | C++ | UTF-8 | C++ | false | false | 422 | cpp | #include<iostream>
using namespace std;
int main()
{
int t,i;
cin>>t;
cin>>ws;
string s1="",s2="";
cin>>s1;
cin>>s2;
int t1=-1;
for(i=0;i<t;i++)
{
string k=s1.substr(i,t-i);
string k1=s2.substr(0,t-i);
if(k==k1)
{
t1=1;
... | [
"noreply@github.com"
] | sanjeev30798.noreply@github.com |
d4d1d0475d9abd94034055982d44b57415b17242 | 5f2da0e1a415b3dab841edeb2a7904fea547a14a | /include/Red/Text/Rendering/FreeType/FontFace.h | b9f8ba673dfe350be4ab6e5924029b521bf912a6 | [
"MIT"
] | permissive | OutOfTheVoid/ProjectRed | da608fa17208a710916565afa782016f15cfad64 | 801327283f5a302be130c90d593b39957c84cce5 | refs/heads/master | 2020-05-21T19:52:38.807725 | 2017-06-24T07:21:11 | 2017-06-24T07:21:11 | 63,619,563 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,649 | h | #ifndef RED_TEXT_RENDERING_FREETYPE_FONTFACE_H
#define RED_TEXT_RENDERING_FREETYPE_FONTFACE_H
#include <Red/Text/Rendering/FreeType/FreeType.h>
#ifdef RED_OPT_TEXT_RENDERING_FREETYPE
#include <ft2build.h>
#include FT_FREETYPE_H
#include <Red/Text/Rendering/IFontReference.h>
#include <Red/Util/RefCounted.h>
#includ... | [
"liam.tab@gmail.com"
] | liam.tab@gmail.com |
ce484a231c45958da673a0fa723574751f47b52a | 94eab35a516e675f4a5433cb7f23257204c7543b | /21-1-19.cpp | c02e7471ca5e373b9439c180c36661790d71ee1f | [] | no_license | dishvyas/Competitive-Programming | f683277765c485a7ccf5595adc0255d0f2843b76 | b936e3258d55efdf3619c6412dbf5d076c7e2668 | refs/heads/master | 2020-04-04T19:12:58.576166 | 2019-05-11T20:57:10 | 2019-05-11T20:57:10 | 156,196,704 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 505 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
int n,i,j,a[1010],d=0;
cin>>n;
for(i=0;i<n;i++)
cin>>a[i];
long long int t=INT_MAX,cost=INT_MAX;
for(i=1;i<=100;i++)
{
int sum=0;
for(j=0;j<n;j++)
{
d=abs(a[j]-i);
if(d>1)
... | [
"noreply@github.com"
] | dishvyas.noreply@github.com |
e0b80e948af24c2ad8f03a56dc25de7c69139526 | 184bcf7925e6718b3021946581576f8cae80526b | /Useless/Class/1.cpp | 8809a021dc0c5ee4db9ce218316b92135027e38b | [] | no_license | iPhreetom/ACM | a99be74de61df37c427ffb685b375febad74ed9a | f3e639172be326846fe1f70437dcf98c90241aa0 | refs/heads/master | 2021-06-14T08:11:24.003465 | 2019-09-13T22:54:34 | 2019-09-13T22:54:34 | 142,748,718 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,458 | cpp | #include<bits/stdc++.h>
using namespace std;
const int maxn = 200;
vector<int> mp[maxn];
vector<int> ans;
int matrix[maxn][maxn];
bool vis[maxn];
int deep[maxn];
void push(int u, int v) {
matrix[u][v] = 1;
matrix[v][u] = 1;
mp[u].push_back(v);
mp[v].push_back(u);
}
void dfs(int root) {
stack<int> st;
memset(vi... | [
"34025769+iPhreetom@users.noreply.github.com"
] | 34025769+iPhreetom@users.noreply.github.com |
1f41a9cfd543eec0dd47dc5ee5c1f05d5129ea8e | 5f6e8c8ae4188be0d577abb52960b7430ef44a0c | /PHP-scripts/dev-kit/SeaBreeze/src/vendors/OceanOptics/protocols/obp/exchanges/OBPLightSourceEnabledQuery.cpp | 88ef80cff3645aaf5680459d4744a968aa5e2406 | [] | no_license | lennon101/Spectrometer-Interface | a71d74c8e248f880a828bc2c137e3ae72c977738 | d295ef431c164a3c4062a93e293197631c9e01ea | refs/heads/master | 2020-05-21T23:59:42.983381 | 2016-10-14T11:31:31 | 2016-10-14T11:31:31 | 62,698,233 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,622 | cpp | /***************************************************//**
* @file OBPLightSourceEnabledQuery.cpp
* @date April 2013
* @author Ocean Optics, Inc.
*
* LICENSE:
*
* SeaBreeze Copyright (C) 2014, Ocean Optics Inc
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this soft... | [
"dane.lennon101@gmail.com"
] | dane.lennon101@gmail.com |
e1256504732cb675233c3c5b401ebcb6b8191afc | 6816da268212d4575d83fad24c3e3dc3430a1804 | /1222_7097007(AC).cpp | e1aeb68ed71d5436bcd711ab2bb583e7380626a8 | [] | no_license | JunKiBeom/codeup.kr | 3389f643369724920610b4137394c46772f6a1fc | aae95a1fee11d352952518d8d0ea3a06b3334973 | refs/heads/master | 2022-08-26T13:20:24.074622 | 2022-08-20T11:26:46 | 2022-08-20T11:26:46 | 175,571,319 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 272 | cpp | #include <iostream>
using namespace std;
int main()
{
int a,b,c;
cin>>a>>b>>c;
while (a<90)
{
b++;
a+=5;
}
if (b>c)
cout<<"win";
else if (b==c)
cout<<"same";
else
cout<<"lose";
}
| [
"dona0408@gmail.com"
] | dona0408@gmail.com |
0b0e2b85d2231f52edfc178c140cb209b8c3dc21 | d0fb46aecc3b69983e7f6244331a81dff42d9595 | /sae/include/alibabacloud/sae/model/DeleteApplicationRequest.h | 73876af0652aa6d6834e34428a5b239657a86e72 | [
"Apache-2.0"
] | permissive | aliyun/aliyun-openapi-cpp-sdk | 3d8d051d44ad00753a429817dd03957614c0c66a | e862bd03c844bcb7ccaa90571bceaa2802c7f135 | refs/heads/master | 2023-08-29T11:54:00.525102 | 2023-08-29T03:32:48 | 2023-08-29T03:32:48 | 115,379,460 | 104 | 82 | NOASSERTION | 2023-09-14T06:13:33 | 2017-12-26T02:53:27 | C++ | UTF-8 | C++ | false | false | 1,360 | h | /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by... | [
"sdk-team@alibabacloud.com"
] | sdk-team@alibabacloud.com |
df76988999542c74a1821479ecd1f6e590599479 | 15df5a5837fcd8b4dc90d28a470ecbedf104f915 | /Google Kickstart/Increasing Substring.cpp | 492f9ad433800fc33fb924c60d05935d680a921d | [] | no_license | karim19mohamed/Competitive-Programming-Trainning | 888e05551dfd5285811143936360e9d3aee039ad | 27372dd610b57803a79115c4166675fbf1b1c5c2 | refs/heads/master | 2022-05-08T05:33:49.243995 | 2022-04-27T06:25:14 | 2022-04-27T06:25:14 | 244,510,424 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,404 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
typedef complex<double> point;
#define endl '\n'
#define F first
#define S second
#define dbg(x) cerr<<#x<<" = "<<x<<endl
#define dbg2(x,y) cerr<<#x<<" = "<<x<<", "<<#y<<" = "<<y<<endl
#define dbg3(x,y,z) cerr<<#x<<" = "... | [
"s.karim.ibrahim@gmail.com"
] | s.karim.ibrahim@gmail.com |
edecb5f6f544eb85fbff41479af6539d603a581e | b228f2aff1aa0410ea19ae222fc701c26ddaf8bd | /BendMXDlg.cpp | 3828640f98774da7b13e94ecac5d788d7c0658e9 | [] | no_license | MXControl/BendMX | c3758d86536f612d801015c6f7a24b1a344f7234 | 6c28abe109fc75cc8a9e3ab8312c505caf44c614 | refs/heads/master | 2016-09-10T10:44:53.502079 | 2015-06-16T01:11:23 | 2015-06-16T01:11:23 | 37,500,138 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 22,532 | cpp | // BendMXDlg.cpp : implementation file
//
#include "stdafx.h"
#include "BendMX.h"
#ifdef __BENDMX__
#include "BendMXDlg.h"
#include "Settings.h"
#include "I18n.h"
#include "Plugin.h"
#include "Logging\Logging.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
... | [
"mxcontrol@mxcontrol.org"
] | mxcontrol@mxcontrol.org |
cd4a432218a146660cca20a32b31cb20f6d6f402 | c361ebf398179720b7e153df205730a14e4edd3b | /include/headers.h | d4998e4457431509b3f5ba6f490c4a42a69c617f | [] | no_license | cpp-people/ascii-eng | f64b8de52aee37d942c87a768c3e223c3af696fa | fa2157c21966f9c77e9ca75b1a80f486900eaf64 | refs/heads/main | 2023-03-21T06:38:09.481258 | 2021-03-20T22:15:07 | 2021-03-20T22:15:07 | 347,453,088 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 96 | h | #ifndef HEADERS_H
#define HEADERS_H
#include <iostream>
#include <string>
#endif // HEADERS_H
| [
"dreamviolent56@gmail.com"
] | dreamviolent56@gmail.com |
2cccd0f4c9ac419994685fc4d9706a052773f74a | 64c52c0b0f5236ee872cdc8fa4162ca92d558d39 | /tt39.cpp | a80f7269964719899f72cd6acc9c5f6a52c5bfd2 | [] | no_license | TWItachi/c- | eb92c93506e67bd696505667d806cdb422543f8a | 07e65db08344a05808ccb9381e0210caf802736a | refs/heads/master | 2020-07-22T12:00:11.891990 | 2019-09-09T01:15:00 | 2019-09-09T01:15:00 | 207,195,113 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 268 | cpp | #include <stdio.h>
int main()
{
float a,b,t;
scanf("%f %f",&a,&b);
if(b==0)
printf("%.0f/%.0f=Error",a,b,t);
else if(b<0)
{
t=a/b;
printf("%.0f/(%.0f)=%.2f",a,b,t);
}
else
{
t=a/b;
printf("%.0f/%.0f=%.2f",a,b,t);
}
return 0;
}
| [
"noreply@github.com"
] | TWItachi.noreply@github.com |
a1acbf171a418734796564a9a0a4f5029b92e360 | b80feaa86e9a5191376fb9a9270e59fcbcfe74dd | /test_photon_console/external_lib/Photon-MacOSX/Chat-cpp/inc/Listener.h | 8983777ff339da08b4c3baca83d8f30344db310d | [] | no_license | MissionToEarth/multi_play | 6b2bc8eee6b914761c4d6e1d655cb9a868e2c727 | 5979cc6ad74b769fbe57a22f1b5a46f25793020f | refs/heads/master | 2020-04-29T01:01:17.864308 | 2019-03-27T00:29:15 | 2019-03-27T00:29:15 | 175,716,132 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,568 | h | /* Exit Games Photon Chat - C++ Client Lib
* Copyright (C) 2004-2018 by Exit Games GmbH. All rights reserved.
* http://www.photonengine.com
* mailto:developer@photonengine.com
*/
#pragma once
#include "Photon-cpp/inc/PhotonPeer.h"
namespace ExitGames
{
namespace Chat
{
/**
Callback interf... | [
"harada@platinum-egg.com"
] | harada@platinum-egg.com |
ad5efdb76a353634d05407bcc2f56b7e3517a15c | 247a63a60d26cabd022735320d7adc73a17cbee3 | /2 sem/LPLab10/Parm.h | 9c33ee01840693228107bc220fdcb5974245a8d6 | [] | no_license | crinanis/YAP | d1385ed55b343bd5b1f93bf33c11c2fbbe7fa77e | 5630f0a5c4f14efaa06d8753feef00ad2495bdc7 | refs/heads/main | 2023-08-13T12:16:09.774579 | 2021-10-15T17:43:19 | 2021-10-15T17:43:19 | 412,283,498 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 383 | h | #pragma once
#define PARM_MAX_SIZE 300
#define PARM_IN L"-in:"
#define PARM_OUT L"-out:"
#define PARM_LOG L"-log:"
#define PARM_OUT_DEFAULT_EXT L".out"
#define PARM_LOG_DEFAULT_EXT L".log"
namespace Parm
{
struct PARM
{
wchar_t in[PARM_MAX_SIZE];
wchar_t out[PARM_MAX_SIZE];
wchar_t log[PARM_... | [
"noreply@github.com"
] | crinanis.noreply@github.com |
ba395f4e44a3f2fce0be45ab3e02a34d5056b513 | c74e77aed37c97ad459a876720e4e2848bb75d60 | /800-899/854/(30196484)[WRONG_ANSWER]B[ b'Maxim Buys an Apartment' ].cpp | 59e277c8a3faa370734f7ccd6dacaef21169bc18 | [] | no_license | yashar-sb-sb/my-codeforces-submissions | aebecf4e906a955f066db43cb97b478d218a720e | a044fccb2e2b2411a4fbd40c3788df2487c5e747 | refs/heads/master | 2021-01-21T21:06:06.327357 | 2017-11-14T21:20:28 | 2017-11-14T21:28:39 | 98,517,002 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 350 | cpp | #include<bits/stdc++.h>
using namespace std;
typedef long long LL;
typedef unsigned long long uLL;
typedef long double ldb;
typedef pair<int,int> pii;
int main()
{
ios_base::sync_with_stdio(0);cin.tie(0);
int n,k;
cin>>n>>k;
int ans = 0;
ans = n-k;
ans = min(ans, 2*k);
cout<<int(n!=k)<<' ... | [
"yashar_sb_sb@yahoo.com"
] | yashar_sb_sb@yahoo.com |
b2db694ca6a4773f8d8536e1b40adf2b37084bea | 7f7ebd4118d60a08e4988f95a846d6f1c5fd8eda | /wxWidgets-2.9.1/include/wx/motif/choice.h | 8379a03cf9cd63ab205031bceea51ef0f377dfd3 | [] | no_license | esrrhs/fuck-music-player | 58656fc49d5d3ea6c34459630c42072bceac9570 | 97f5c541a8295644837ad864f4f47419fce91e5d | refs/heads/master | 2021-05-16T02:34:59.827709 | 2021-05-10T09:48:22 | 2021-05-10T09:48:22 | 39,882,495 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,044 | h | /////////////////////////////////////////////////////////////////////////////
// Name: wx/motif/choice.h
// Purpose: wxChoice class
// Author: Julian Smart
// Modified by:
// Created: 17/09/98
// RCS-ID: $Id$
// Copyright: (c) Julian Smart
// Licence: wxWindows licence
//////////... | [
"esrrhs@esrrhs-PC"
] | esrrhs@esrrhs-PC |
6a842ee1cb51dd7878e1f0b38b711019a56e434d | e838c6316a1d33959036664cb4ec7cc21b4fd7c2 | /os/rsc_mgr/rsc_mgr.cc | b3811054193a91b90248e61ba8ad079a6e23a260 | [] | no_license | weiang/src | fb9bfa7c1045db289ac65b40ed94c8f70a807d46 | f0ef5c73c6f4e0a02f3d21964a2ac37141b4bc36 | refs/heads/master | 2020-05-17T04:20:16.058900 | 2013-11-13T15:37:33 | 2013-11-13T15:37:33 | 13,587,343 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,264 | cc | #include <pthread.h>
#include <iostream>
#include "./rsc_mgr.h"
#include <stdlib.h>
#include <stdio.h>
using namespace std;
void rsc_mgr::request(int i)
{
pthread_mutex_lock(&mutex);
// cout << " In thread: " << pthread_self() << "'s Request function!" << endl;
if (i > total) {
cerr << "Request error!" << endl;
... | [
"weiang@mail.ustc.edu.cn"
] | weiang@mail.ustc.edu.cn |
09b1897fe075b7f01ca1596e40e11b85fb586030 | 6b5ec0858833bc5878a81e4e4a284c0e936e0151 | /source/CPP/LearingCppWithMe/ppt&src01-25/10cpp/10cpp/10cpp/A.cpp | f3da2b92d7b5da247e4a000c030867132cbf55fd | [] | no_license | sinomiko/reading | c185b58aef9901666926e2fd8aef5becb6e97698 | 0a7159dfabcb207771672813119c5f56fcd849d4 | refs/heads/master | 2023-08-16T21:10:39.547361 | 2023-08-11T03:20:06 | 2023-08-11T03:20:06 | 79,688,398 | 1 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 48 | cpp | #include "A.h"
A::A(void)
{
}
A::~A(void)
{
}
| [
"xiaoming.song@ericsson.com"
] | xiaoming.song@ericsson.com |
eb0405027dc83f9d895ffd93fa37529068bba6de | 10eebdbf82124368580f0abe824db3faa8e0234c | /王道/4数学问题/106a+b(高精度整数).cpp | 923fcb25a96dcdedf722d07d7199c52f13a1066c | [] | no_license | Yun-Peng-Wang/oj | e7f696d500fce223319e58ab2921e4cbced183df | 75faa5708aa792a90b1e39ee06402a63ef625e8e | refs/heads/main | 2023-07-09T09:42:03.592197 | 2021-08-13T16:39:50 | 2021-08-13T16:39:50 | 390,660,840 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,654 | cpp | //https://www.nowcoder.com/practice/4c39c984ea3848b48e111b8e71ec1dd4?tpId=40&&tqId=21541&rp=1&ru=/ta/kaoyan&qru=/ta/kaoyan/question-ranking
#define _CRT_SECURE_NO_WARNINGS
#include<bits/stdc++.h>
using namespace std;
const int bitMax = 1010;
class bigInteger {
private:
int bigNum[bitMax + 1];
int bigNumSize;
... | [
"2217236949@qq.com"
] | 2217236949@qq.com |
3c4fde84f07bee2a0a61b6a934a7b952001c3b5f | c6389f9b11fd40ee9295f4e88a14a8057e294e4f | /components/asio/asio/asio/src/examples/cpp03/tutorial/daytime4/client.cpp | cb2e08cdabac0d87f78db73466dff42a34eba15f | [
"BSL-1.0",
"MIT"
] | permissive | ghsecuritylab/N14 | 987ebb27cfbd7ebf84deadeb09a480aa51be34c7 | 76bc595e3face0903436e48165f31724e4d4532a | refs/heads/master | 2021-02-28T19:46:09.834253 | 2019-11-19T14:36:58 | 2019-11-19T14:36:58 | 245,728,464 | 0 | 0 | MIT | 2020-03-08T00:40:31 | 2020-03-08T00:40:30 | null | UTF-8 | C++ | false | false | 1,217 | cpp | //
// client.cpp
// ~~~~~~~~~~
//
// Copyright (c) 2003-2018 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#include <iostream>
#include <boost/... | [
"qitas@qitas.cn"
] | qitas@qitas.cn |
6455c6c522d3fdd21e006cf9b66f75e6fe6f8c65 | df8eb78052f2b28d5fe85c6243fbc7e451e715ca | /State.hpp | 5074d4a08f4037175e55081ea1f1520a786e7385 | [
"MIT"
] | permissive | KraevRoot/tik-tak-toe | 0e376cc000493282d49dc38b44ee6f27923bf67d | 5d8c65fb49f2a7090559a12a3fce2270c134631c | refs/heads/master | 2021-01-11T02:41:20.533062 | 2018-04-08T13:35:08 | 2018-04-08T13:35:08 | 70,947,498 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 302 | hpp | #pragma once
namespace TicTacToe
{
class State
{
public:
virtual void Init() = 0;
virtual void HandleInput() = 0;
virtual void Update(float dt) = 0;
virtual void Draw(float dt) = 0;
virtual void Pause() {}
virtual void Resume() {}
};
}
| [
"kraevroot@gmail.com"
] | kraevroot@gmail.com |
a72b1507a70ee1e4992c39e624999247d0d03d94 | 49b878b65e9eb00232490243ccb9aea9760a4a6d | /chrome/browser/webshare/share_service_impl.cc | bf2a4ff218ab102c566f98291b12074bbc356f50 | [
"BSD-3-Clause"
] | permissive | romanzes/chromium | 5a46f234a233b3e113891a5d643a79667eaf2ffb | 12893215d9efc3b0b4d427fc60f5369c6bf6b938 | refs/heads/master | 2022-12-28T00:20:03.524839 | 2020-10-08T21:01:52 | 2020-10-08T21:01:52 | 302,470,347 | 0 | 0 | BSD-3-Clause | 2020-10-08T22:10:22 | 2020-10-08T21:54:38 | null | UTF-8 | C++ | false | false | 5,632 | cc | // Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/webshare/share_service_impl.h"
#include <algorithm>
#include "base/feature_list.h"
#include "base/strings/string_piece.h"
#incl... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
74e16b1fcf3dd78ca31fb3723c7462591996f30f | ed591c133a73faba33842f96a92e96d501aa33cc | /OS1/10_floating_operations/10 floating operations.cpp | dafc561129b842c7095e3981308b67867c7090bb | [] | no_license | lukassotornik/UPOL | 229a6a1b1d73fdc4efd51d03b411077bf302a95f | 610c63c821a988fcf154c9606726b31c0978149a | refs/heads/master | 2020-03-31T14:42:28.181196 | 2018-09-18T08:20:58 | 2018-09-18T08:20:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,596 | cpp | // 10 floating operations.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include "iostream"
using namespace std;
double obvod_obdelnika(double a, double b) {
_asm {
fld a
fld b
fadd st, st(1)
fadd st, st
}
}
double obsah_obdelnika(double a, double b) {
_asm {
fld a... | [
"32402640+klnmi97@users.noreply.github.com"
] | 32402640+klnmi97@users.noreply.github.com |
bc3b6cc5f76d989af28b613ed23347327d6b7a4a | e5e5e43423485340a25361420ed3bc8d2cfaa5d0 | /question_7/q7.cpp | 0adc48a506b36905e354faf10712402e572bfa7a | [] | no_license | PPL-IIITA/ppl-assignment-pt97 | 39d216e8a10eaf709b384d78d0360a44624f5a22 | 7015713e751aad193e8c7354b162b7e1cd2b2000 | refs/heads/master | 2021-01-21T06:21:27.247313 | 2017-04-09T20:46:51 | 2017-04-09T20:46:51 | 83,219,125 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 174 | cpp | #include "boysgirl.h"
#include "jodi.h"
#include <bits/stdc++.h>
using namespace std;
int main()
{
make2();
return 0;
}
//to run this file g++ q7.cpp jodi.cpp boysgirl.cpp | [
"iit2015094@iiita.ac.in"
] | iit2015094@iiita.ac.in |
e42932130fe516402de8ab66a94053fb519b2b9c | 46c878da7533b3a7fd2ea6779580a5e511354882 | /POWPOW.cpp | 369c2762e012865d937b8460f3737e5771e5fb32 | [] | no_license | saurabh3240/spoj | 795506c9b0f45386d6c668bd2758b9c855e209f3 | 881f5d0f9d9bda910da00a53a481723863da9806 | refs/heads/master | 2020-04-28T04:57:59.875543 | 2018-09-15T17:10:01 | 2018-09-15T17:10:01 | 23,435,853 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,074 | cpp | #include <vector>
#include <list>
#include <map>
#include <set>
#include <queue>
#include <deque>
#include <stack>
#include <bitset>
#include <algorithm>
#include <functional>
#include <numeric>
#include <utility>
#include <string.h>
#include <sstream>
#include <iostream>
#include <iomanip>
#include <cs... | [
"noreply@github.com"
] | saurabh3240.noreply@github.com |
36e8b00524a4c257be8c081c62f4f6f1d7d595ee | e41db940987faa23cd6f63b8e9d250fd8a86efce | /arduino/ircontrol/ircontrol.ino | 9b484ed03b6c4aecd47e22da5f5bbc7687b105c4 | [] | no_license | saadismail/dldproject | 81789a075d9bbdb7fe2a4753ea621507eab65c4e | 54784c24fe447e4954c7357ce140d5b1b580ace2 | refs/heads/master | 2021-01-22T07:52:52.805018 | 2017-05-27T08:34:54 | 2017-05-27T08:34:54 | 92,584,174 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,441 | ino | #include "IRremote.h"
int receiver = 5; // Signal Pin of IR receiver to Arduino Digital Pin 11
unsigned long last = millis();
char data = 0; //Variable for storing received data
IRrecv irrecv(receiver); // create instance of 'irrecv'
decode_results results; // create instance of 'decode_result... | [
"saad3112@gmail.com"
] | saad3112@gmail.com |
27704876c5be4861b25df14e31e2fe41520d2336 | 657261b2230168ff07d340e9bf7627feda5054e6 | /const/main.cpp | e6ca8ec8d5a1284e5facc9e475bf763a2789ff6f | [] | no_license | canercandan/cxx-examples | dd0544eba80b30eedec899d68075f705b2dbc2ad | 5f3d517866d62e0061164b43cafa0b0c091ddcc5 | refs/heads/master | 2021-01-10T21:03:54.191037 | 2013-03-15T13:48:12 | 2013-03-15T13:48:12 | 1,288,958 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 881 | cpp | // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
/* 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 3 of the License, or
* (at your option... | [
"caner@candan.fr"
] | caner@candan.fr |
8910209d337605e84d36d20aba6e5e742d67ac17 | b01ae19d6bce9229b83d0165601719ae53ae2ed0 | /android/vendored/sdk46/@shopify/react-native-skia/android/cpp/rnskia-android/SkiaOpenGLRenderer.h | 546f25f0d83343ddb0e9ece8818244112714511c | [
"MIT",
"BSD-3-Clause",
"Apache-2.0"
] | permissive | Abhishek12345679/expo | 1655f4f71afbee0e8ef4680e43586168f75e1914 | 8257de135f6d333860a73676509332c9cde04ba5 | refs/heads/main | 2023-02-20T19:46:17.694860 | 2022-11-21T15:48:20 | 2022-11-21T15:48:20 | 568,898,209 | 1 | 0 | MIT | 2022-11-21T16:39:42 | 2022-11-21T16:39:41 | null | UTF-8 | C++ | false | false | 4,088 | h | #pragma once
#include <RNSkLog.h>
#include "android/native_window.h"
#include "EGL/egl.h"
#include "GLES2/gl2.h"
#include <condition_variable>
#include <thread>
#include <unordered_map>
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdocumentation"
#include "include/gpu/GrDirectContext.h"
#includ... | [
"noreply@github.com"
] | Abhishek12345679.noreply@github.com |
0dea5b2c470683935388f3c41e708a528d6c8dd5 | e60678d3bd87ba051f73772fe956271847bd09d5 | /18-c-and-cpp/cpp_project/cpp_projects_weids/cpp_projects/09th_operator/person.cpp | 343daee059c271640f88791ae50e9878787abb02 | [] | no_license | juyingguo/android-knowledge-principle-interview | da75682d97ab9353850567eb9d96f516a7d36328 | 368a3ce91bc9bd735d78985a8dd8925232f9b8c6 | refs/heads/master | 2023-04-15T06:18:36.200436 | 2023-03-21T13:39:29 | 2023-03-21T13:39:29 | 198,389,681 | 2 | 2 | null | 2022-09-01T23:10:43 | 2019-07-23T08:44:37 | Java | GB18030 | C++ | false | false | 2,300 | cpp |
#include <iostream>
#include <string.h>
#include <unistd.h>
using namespace std;
class Person {
private:
static int cnt;
char *name;
int age;
char *work;
public:
static int getCount(void);
Person() {//cout <<"Pserson()"<<endl;
name = NULL;
work = NULL;
cnt++;
}
Person(char *name)
{
//cout <<"Ps... | [
"juying2050@sina.cn"
] | juying2050@sina.cn |
42b92e00e4f5026dc2e00b06c2ec5dabbfe0b6ba | 49f88ff91aa582e1a9d5ae5a7014f5c07eab7503 | /gen/third_party/blink/renderer/bindings/core/v8/v8_xml_document.cc | b46ed8383198e68673c13b8366a7201fe84a15db | [] | no_license | AoEiuV020/kiwibrowser-arm64 | b6c719b5f35d65906ae08503ec32f6775c9bb048 | ae7383776e0978b945e85e54242b4e3f7b930284 | refs/heads/main | 2023-06-01T21:09:33.928929 | 2021-06-22T15:56:53 | 2021-06-22T15:56:53 | 379,186,747 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 8,206 | cc | // Copyright 2014 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.
// This file has been auto-generated from the Jinja2 template
// third_party/blink/renderer/bindings/templates/interface.cpp.tmpl
// by the script code_ge... | [
"aoeiuv020@gmail.com"
] | aoeiuv020@gmail.com |
be92ee61bec863b7d0af632c5179398d637bdced | ad56ed0bcf5bb6c278d79a0090b30ea309d0fba0 | /Cache.h | 2b5dddc3f6bc3593e2280e35ff9c3ae8a900e4da | [
"MIT"
] | permissive | marabolic/FileSystem | 58ce365f2829fbec2edf82a65cfd608ad163b471 | acc0fc32fcc52e3197c5651ca3c852c54f89760c | refs/heads/master | 2023-02-13T13:59:29.563044 | 2021-01-18T10:39:17 | 2021-01-18T10:39:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 470 | h | #pragma once
#include "particija-VS2017/part.h"
class Cache
{
public:
Cache(Partition * name);
~Cache();
virtual ClusterNo getNumOfClusters() const; //vraca broj klastera koji pripadaju particiji
virtual int readCluster(ClusterNo, char* buffer); //cita zadati klaster i u slucaju uspeha vraca 1; u suprotnom 0
vi... | [
"maki.bolic@gmail.com"
] | maki.bolic@gmail.com |
33d19ec6e757f05068482ffa41127916c4fff64c | 85c3e18522388fc6d405d3fe504b787cd97937aa | /src/src/XERenderer/GUI/LayerRenderer.cpp | 01c1377b46793200681995e4b7e76aa2f799eacf | [
"MIT"
] | permissive | blockspacer/FrankE | 2d454f77a15f02d8ac681c68730b20d189af131f | 72faca02759b54aaec842831f3c7a051e7cf5335 | refs/heads/master | 2021-05-21T10:01:23.650983 | 2019-11-12T17:44:54 | 2019-11-12T17:44:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,300 | cpp | #include <XERenderer/GUI/LayerRenderer.hpp>
#include <XERenderer/GraphicsManager.hpp>
#include <XERenderer/GUI/RenderableLayer.hpp>
#include <XERenderer/GUI/RenderableShape.hpp>
#include <XERenderer/GUI/WLayer.hpp>
#include "Vao/OgreVaoManager.h"
#include "Vao/OgreVertexArrayObject.h"
#include <Ogre/OgreMain/includ... | [
"misterk1@outlook.de"
] | misterk1@outlook.de |
20835da0076b53bf3201c3d8c08ccdfe389d370c | 32e2539f62c9f2e5bbeadae8b29dcb2cbfc72019 | /GameNangCao/Classes/HelloWorldScene.h | bd46488393fdcef9fcc29ff262405347c0babe0c | [] | no_license | sipv1612/BattleCityMultiplayer | 300c32ab993089f811a580deed04a0c31af9c902 | e49b7b61c29cde77c07c7a7631a5ad9895e9df9d | refs/heads/master | 2020-03-19T14:52:17.698539 | 2018-06-14T19:40:52 | 2018-06-14T19:41:10 | 136,644,174 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 510 | h | #ifndef __HELLOWORLD_SCENE_H__
#define __HELLOWORLD_SCENE_H__
#include "cocos2d.h"
#include "GameStart.h"
class HelloWorld : public cocos2d::Layer
{
private:
public:
static cocos2d::Scene* createScene();
cocos2d::Sprite *mTank[4];
virtual bool init();
bool isTeam = false;
// a selector callback
void ... | [
"sipv1612@gmail.com"
] | sipv1612@gmail.com |
097bb99f49d78804695194d440237a0dc422e3d6 | b1aa9ad6733efcb53d465809d5109e9174dabf04 | /CCode/GameCode/MGGrenadeLauncher.cpp | d97f34f97c398bed387cd166d196f24d8b2adeed | [] | no_license | dumpinfo/GameMatrixTest | d21545dbef9ade76fe092343a8362da4c8b142ca | 9e4a73ad17555ddb90020c47e2486698b90e4d0d | refs/heads/master | 2023-02-04T01:52:05.342214 | 2020-12-23T17:22:36 | 2020-12-23T17:22:36 | 323,961,033 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 23,629 | cpp | //=============================================================
//
// C4 Engine version 4.5
// Copyright 1999-2015, by Terathon Software LLC
//
// This file is part of the C4 Engine and is provided under the
// terms of the license agreement entered by the registed user.
//
// Unauthorized redistribution of sou... | [
"twtravel@126.com"
] | twtravel@126.com |
8379a1de57893129359a309ae0861ce569cb79b2 | c27df8ce4903389256023f71fc8004c6caf41d21 | /inc/oxc_stepmotor_gpio.h | 0222f3910c9fc8cb486db659cb9b77cdb6b1baf3 | [] | no_license | atu-guda/stm32oxc | be8f584e6978fa40482bbd5df4a23bd6b41329eb | 591b43246b8928329642b06bad8b9de6802e62ed | refs/heads/master | 2023-09-03T08:42:36.058233 | 2023-09-02T19:15:15 | 2023-09-02T19:15:15 | 34,165,176 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 838 | h | #ifndef _OXC_STEPMOTOR_GPIO_H
#define _OXC_STEPMOTOR_GPIO_H
// stepmotor control via gpio
#include <oxc_gpio.h>
#include <oxc_stepmotor.h>
class StepMotorDriverGPIO : public StepMotorDriverBase {
public:
explicit StepMotorDriverGPIO( PinsOut &a_pins ) noexcept : pins( a_pins ) {}
virtual void set( uint16_t ... | [
"atu@nmetau.edu.ua"
] | atu@nmetau.edu.ua |
09ab145bef4c2895c99d8335c2eb4051fcf9eba5 | db7148c33aabad259c9e1acafdf6e5c49b627d46 | /Tests/Armory/build_test_game/osx-build/Sources/src/kha/math/Quaternion.cpp | 4cfbdcc491bc02d4b483bf9dd2d7e3d060ba7b62 | [] | 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 | 35,287 | cpp | // Generated by Haxe 3.4.4
#include <hxcpp.h>
#ifndef INCLUDED_95f339a1d026d52c
#define INCLUDED_95f339a1d026d52c
#include "hxMath.h"
#endif
#ifndef INCLUDED_kha_math_Matrix4
#include <kha/math/Matrix4.h>
#endif
#ifndef INCLUDED_kha_math_Quaternion
#include <kha/math/Quaternion.h>
#endif
#ifndef INCLUDED_kha_math_Vect... | [
"neverliberty@gmail.com"
] | neverliberty@gmail.com |
94b732815d28da5280ffd8a20788d7ca8b2a7982 | 8ec0b37723036878a5643016b5a891379f4d7939 | /Client/include/UDPClient.hpp | f727a248e111e891fc7f99419381260fa3d0f241 | [] | no_license | huxiaofengaaa/SmartHomePlatform | 06c61379cf8a3e14be95fefd6aabe1042bc555b8 | 29524982c4e50f3ac8f4accd1c7269a1440fdd2d | refs/heads/master | 2020-03-22T00:15:29.170934 | 2018-08-21T12:29:39 | 2018-08-21T12:29:39 | 139,233,722 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 667 | hpp | #ifndef CLIENT_INCLUDE_UDPCLIENT_HPP_
#define CLIENT_INCLUDE_UDPCLIENT_HPP_
#include <string>
class UDPClient
{
public:
UDPClient(std::string p_host, int p_port);
virtual ~UDPClient();
bool startUDPClient();
void shutDownUDPClient();
int writeUDPString(std::string p_data);
std::string readUDPString(int p_timeou... | [
"huxiaofengaaa@126.com"
] | huxiaofengaaa@126.com |
f4121d7b41c26c055059849cc8645ce1baaf2e50 | 2c8259c85154fa120cbd7acd60826966eec9fa77 | /client1.ino | 492129a914c68145b65c6b072af7e7f11b68d794 | [] | no_license | tanmay212/CLient-with-google | d546997ec17abc120a8fca7b3475476ace22fb80 | 434c95712d5b2a6df4ee3e7c365bd72dc93186e2 | refs/heads/master | 2020-05-28T04:56:17.516796 | 2019-05-27T17:43:42 | 2019-05-27T17:43:42 | 188,885,995 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,176 | ino | #include <ESP8266WiFi.h>
const char* ssid = "Nightwing";
const char* password = "nopassword";
const char* host = "www.example.com";
void setup()
{
Serial.begin(115200);
Serial.println();
Serial.printf("Connecting to %s ", ssid);
WiFi.begin(ssid, password);
while (WiFi.status() != WL_CONNEC... | [
"noreply@github.com"
] | tanmay212.noreply@github.com |
846e0e80c1152ddd26ffef99827ffaf6a4731677 | 3ca7dd1e368194aa2f884139d01f802073cbbe0d | /Codeforces/solved/1343B/1343B.cpp | 22b5c64afcd9a9f523381508655ce2bfe78e189d | [] | no_license | callistusystan/Algorithms-and-Data-Structures | 07fd1a87ff3cfb07326f9f18513386a575359447 | 560e860ca1e546b7e7930d4e1bf2dd7c3acbcbc5 | refs/heads/master | 2023-02-17T17:29:21.678463 | 2023-02-11T09:12:40 | 2023-02-11T09:12:40 | 113,574,821 | 8 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 677 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef vector<int> vi;
typedef pair<int, int> pii;
int main() {
ios::sync_with_stdio(0); cin.tie(0);
int T; cin >> T;
while (T--) {
int N; cin >> N;
if ((N/2)%2) cout << "NO\n";
else {
cout << "YES\n";
// 2, 4, 6, 8
... | [
"callistusystan@gmail.com"
] | callistusystan@gmail.com |
ef992958cc1616f8947fe012ebea860a95629d8c | ea401c3e792a50364fe11f7cea0f35f99e8f4bde | /hackathon/2010/wavelets/scaleinfo.h | dc97f5ac1addd8c3d75229e9f929c1ff8e21ee6a | [
"Apache-2.0",
"MIT"
] | permissive | Vaa3D/vaa3d_tools | edb696aa3b9b59acaf83d6d27c6ae0a14bf75fe9 | e6974d5223ae70474efaa85e1253f5df1814fae8 | refs/heads/master | 2023-08-03T06:12:01.013752 | 2023-08-02T07:26:01 | 2023-08-02T07:26:01 | 50,527,925 | 107 | 86 | MIT | 2023-05-22T23:43:48 | 2016-01-27T18:19:17 | C++ | UTF-8 | C++ | false | false | 1,131 | h | /**
* scaleinfo.h
*
* Written by
*
* Ihor Smal
* Nicolas Chenouard
* Fabrice de Chaumont
*
* Paper reference: ISBI and JC Ref
*
* This code is under GPL License
*
*/
#ifndef ScaleInfo_H
#define ScaleInfo_H
#include <QtGui>
#include <math.h>
#include <stdlib.h>
#include <list>
//#include "wavelets.h"
cla... | [
"hanchuan.peng@gmail.com"
] | hanchuan.peng@gmail.com |
5b79c61e60c3a09989f26fbe318adb3647361589 | e4956c597199a3ae8e7dd655e19074aee97fddf0 | /ListNode.hpp | 2cd8bf53ba164d27bcf48042dd7c0871de8099e3 | [] | no_license | mihaelaberindea/practica | b0fd800c82c6d65e979e8b1510160ac280c2b25a | f781585605c5fb45af0b890be4d873ae32d705b5 | refs/heads/master | 2022-12-20T10:28:34.170529 | 2020-09-22T12:45:27 | 2020-09-22T12:45:27 | 278,428,116 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 722 | hpp | #ifndef LISTNODE_HPP
#define LISTNODE_HPP
#include <cstddef>
template <typename T>
class ListNode
{
public:
ListNode(ListNode* prev, ListNode* next, T data);
ListNode(const ListNode &rhs)=default;
~ListNode();
ListNode<T>& operator=(const ListNode& rhs);
template <typename U>
friend std::... | [
"root@DESKTOP-THV13T4.localdomain"
] | root@DESKTOP-THV13T4.localdomain |
f9fdd3eaeb207ea4382204ed1fdc2cb1d68d2b17 | c6392d2e028a1671c7527b05d2596c13b37d2e83 | /hhvm-3.2-include/hphp/third-party/folly/Uri.h | 5e7653092f4c716c1a23be166d80bc16e9397844 | [
"PHP-3.01"
] | permissive | sandeepone/hhvm_ext_pcurl | 7a47ced0b54639c8c9b1dfb820a55cd0e03aaccf | d445f6b47c66e646e039a71d8e22860a5831e0a6 | refs/heads/master | 2021-01-15T17:51:32.224760 | 2015-04-21T15:49:37 | 2015-04-21T15:49:37 | 42,769,830 | 2 | 0 | null | 2015-09-19T11:05:17 | 2015-09-19T11:05:17 | null | UTF-8 | C++ | false | false | 2,961 | h | /*
* Copyright 2014 Facebook, 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... | [
"adriang@gmx.net"
] | adriang@gmx.net |
073dc3795c94c96e9623019384f4260241795bff | 005f6e37941b66536f6719a7bb94ab4d3d7cf418 | /src/prx_visualization/prx/visualization/handler.hpp | 2982ef42cd2ac094cbb21b73af8a789776db5c5c | [] | no_license | warehouse-picking-automation-challenges/ru_pracsys | c56b9a873218fefb91658e08b74c4a1bc7e16628 | 786ce2e3e0d70d01c951028a90c117a0f23d0804 | refs/heads/master | 2021-05-31T05:52:33.396310 | 2016-02-07T22:34:39 | 2016-02-07T22:34:39 | 39,845,771 | 4 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,097 | hpp | /**
* @file handler.hpp
*
* @copyright Software License Agreement (BSD License)
* Copyright (c) 2013, Rutgers the State University of New Jersey, New Brunswick
* All Rights Reserved.
* For a full description see the file named LICENSE.
*
* Authors: Andrew Dobson, Andrew Kimmel, Athanasios Krontiris, Zakary Li... | [
"kostas.bekris@cs.rutgers.edu"
] | kostas.bekris@cs.rutgers.edu |
77a3a74e998d2bdc4636d623525e5541fd17e97e | 766758b6771a711954b25db9f9683f117758fed6 | /chapter4/isBalanceTree.cpp | f40e6ad1db6a062080f84e2c18658f7fbb78a6d1 | [] | no_license | Edddddddddy/data_structure | a8d66ace875ba65ad6599e775a62f608cc99dc53 | 0f3427c99fc25cb0077e503a5ae3858c448ec074 | refs/heads/main | 2023-08-17T18:42:34.965683 | 2021-10-16T15:10:32 | 2021-10-16T15:10:32 | 405,097,519 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,065 | cpp |
/*
判断是否为平衡二叉树
分析:
左右子树深度差小于1
*/
#include <stdio.h>
#include <stdlib.h>
#include "../include/linkBiTree.cpp"
#include <algorithm>
bool isAVL(biTree *T, int *depth){
if(!T){ //叶子结点,一定是平衡二叉树
*depth = 0;
return true;
}
//不是叶子结点
//判断左右子树是否为平衡二叉树
int left = 0, right = 0; ... | [
"48442668+Edddddddddy@users.noreply.github.com"
] | 48442668+Edddddddddy@users.noreply.github.com |
65371263461eb19c6e9c704ba7b4bca78725ce89 | 14114f36cbfb62c5077bb062668e570298e2f295 | /Classes/CrayonBox.h | 0428f4be298cf22383dac0537f040315e828bdef | [] | no_license | Crasader/cc2d-multiplayer | 45b4df6b035c53327e7e68abf642e823f7f8aded | 5c15922b36ba4288f3061fa565b8eaf42d736296 | refs/heads/master | 2020-11-28T14:44:38.468894 | 2017-06-26T22:58:38 | 2017-06-26T22:58:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 320 | h | #ifndef __CRAYONBOX_H__
#define __CRAYONBOX_H__
#include "GameObject.h"
class DynamicCrayonRenderer;
class CrayonBox : public GameObject
{
public:
CrayonBox(GameSystem* game, const cocos2d::Vec2& pos, Parameters& spawnArgs);
virtual ~CrayonBox();
std::unique_ptr<DynamicCrayonRenderer> mCrayonRenderer;
};
#endif | [
"uk002167@student.uni-kassel.de"
] | uk002167@student.uni-kassel.de |
63468a614f6be0ba93dd43e16ea0ffd1362bb44c | ad1cef9b834d0b46153a1d7e378faaa8b1fbcffb | /src/coordinator/interface/AbstractInstanceLink.h | ee0102c0ec6281028155e79d29dfe04eba344773 | [] | no_license | levy5307/FlySentinel | 7591a33e26bea88070e04ffef4c264e630dd1b6a | 10357bdc284a836297084bcc634c134831060e7e | refs/heads/master | 2020-05-15T23:08:02.022307 | 2019-08-04T06:34:36 | 2019-08-04T06:34:36 | 182,543,698 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,472 | h | //
// Created by levy on 2019/5/5.
//
#ifndef FLYSENTINEL_ABSTRACTINSTANCELINK_H
#define FLYSENTINEL_ABSTRACTINSTANCELINK_H
#include "../../asyncevent/convert.h"
class AbstractInstanceLink {
public:
virtual ~AbstractInstanceLink() {};
virtual void reset() = 0;
virtual void closeConnection(const std::shar... | [
"zlw5307@163.com"
] | zlw5307@163.com |
6d77f0d42edbc118955d89ae790b0b7fd9e526b0 | fa867141bb96a4c545af4ff6faa15c2ee7816ad2 | /dank-twitter-backend/image_processing.cpp | 5393851a66240829d23907eaff05b31ff99e843f | [] | no_license | brotheroftux/dank-twitter-memes | 5b13831a338c003aae4d11b84c00794b0d12e781 | e5c2cf5d7deb7e8c061147b9365fb361009d754f | refs/heads/master | 2021-05-15T02:41:41.024300 | 2017-12-14T23:44:17 | 2017-12-14T23:44:17 | 106,198,471 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 380 | cpp | #include "image_processing.h"
Mat process_grayscale (const Mat & input) {
Mat destination;
resize(input, destination, Size(), 3, 3);
return destination;
}
string convert_to_blob (const Mat & input) {
vector<unsigned char> data;
imencode(".png", input, data);
string body_d... | [
"afc2008@yandex.ru"
] | afc2008@yandex.ru |
1c25733d82b043f4ff4d28357cf7541bb4399d8b | 1aafb6d9f2e62713f5327f1d7e0e150c8208c150 | /catkin_ws/devel/include/pkg1/complexOperationRequest.h | ab10b276422e5be619a935a259a4a1b233983516 | [] | no_license | malayaj2000/ROS-Task1 | a9c35826c08f96586836624175549b8fca97fcab | 6f5f4396763f93765faa75299e9cb82e96ecb1fb | refs/heads/main | 2023-03-30T02:36:12.543092 | 2021-03-27T05:28:12 | 2021-03-27T05:28:12 | 337,090,213 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,947 | h | // Generated by gencpp from file pkg1/complexOperationRequest.msg
// DO NOT EDIT!
#ifndef PKG1_MESSAGE_COMPLEXOPERATIONREQUEST_H
#define PKG1_MESSAGE_COMPLEXOPERATIONREQUEST_H
#include <string>
#include <vector>
#include <map>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_message_trai... | [
"malayajrath@gmail.com"
] | malayajrath@gmail.com |
bb64ac8030f435ce50e5690e6053b03beeb7070f | a9c2e8af294433d02c790d2c94a31a88ed0b525f | /stl/stldebug.h | 7377f7578317303a05ee911ba499373f339c77ef | [
"MIT"
] | permissive | willywood/ObjectFile | fbcd6521186ae5c75386c3e6154e9d157e48971c | 84a1553b98a5300c4fc68087bf8a2a4884680e64 | refs/heads/master | 2021-12-03T05:43:39.266392 | 2019-12-14T20:45:19 | 2019-12-14T20:45:19 | 95,361,898 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 11,997 | h | /*
*
* Copyright (c) 1997
* Moscow Center for SPARC Technology
*
* Copyright (c) 1999
* Boris Fomitchev
*
* This material is provided "as is", with absolutely no warranty expressed
* or implied. Any use is at your own risk.
*
* Permission to use or copy this software for any purpose is hereby granted
* wi... | [
"objectfile@gmail.com"
] | objectfile@gmail.com |
7360886fb87516f68ba4011dfa56a034e502098a | 92716299dd8d22e812ef918fffe4887326397b73 | /plugins/BTaggingExerciseII.cc | 078c8b48e7e8f8d67793349c127a71ea7b65ca54 | [] | no_license | gourangakole/CMSDAS2015-BTaggingExercise | 27227bbffddb12c2bf48b390ab72dc27b756764c | ac13c05e373dbea4714f6ecfe3760832d6193f19 | refs/heads/master | 2021-01-18T04:51:18.225038 | 2015-07-11T02:19:56 | 2015-07-11T02:24:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,920 | cc | // -*- C++ -*-
//
// Package: CMSDAS2015/BTaggingExercise
// Class: BTaggingExerciseII
//
/**\class BTaggingExerciseII BTaggingExerciseII.cc CMSDAS2015/BTaggingExercise/plugins/BTaggingExerciseII.cc
Description: [one line class summary]
Implementation:
[Notes on implementation]
*/
//
// Original Autho... | [
"Dinko.Ferencek@cern.ch"
] | Dinko.Ferencek@cern.ch |
5de279c7f6c751e56b3f7c8f66324a9b04ac85d4 | b6fb603dacb9ac1200eeec9ec3f297fe0c6d98ab | /recv.cpp | 8e365ccfd4833bab2270a64c40be84384049f0c5 | [] | no_license | BryanBonner/SystemV-Shared-Memory | 144e4d2c3333b5bf462fdc8c61a60f34fc0b8058 | d3b4b546883a114c89b25298b6e238da2ef2045d | refs/heads/master | 2020-06-15T02:27:47.607892 | 2016-12-01T22:26:33 | 2016-12-01T22:26:33 | 75,338,160 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,651 | cpp | #include <sys/shm.h>
#include <sys/msg.h>
#include <sys/stat.h>
#include <sys/ipc.h>
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string>
#include "msg.h" /* For the message struct */
using namespace std;
/* The size of the shared memory segment */
#define ... | [
"noreply@github.com"
] | BryanBonner.noreply@github.com |
378c2aca9a92cea4b3abd781a033b07983797560 | e26583839a1f39a30bc0d7db62eb560f7588975f | /dallas-temp-uno-board-on-circuit/dallas-temp-uno-board-on-circuit.ino | fd84cf488e1089a953ed6a51fdf9ce51cb5aeab3 | [
"MIT"
] | permissive | fantuz/Arduino-Code | 800b69454dedc403f93405fb369c1206c64010c6 | cafd6b9e1312822f4a24a9eebba835c08992ccc6 | refs/heads/master | 2020-04-06T20:11:32.418813 | 2019-02-06T15:23:16 | 2019-02-06T15:23:16 | 157,764,904 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,047 | ino | #include <OneWire.h>
#include <DallasTemperature.h>
// Data wire is plugged into pin 2 on the Arduino
#define ONE_WIRE_BUS 2 //A0
// Setup a oneWire instance to communicate with any OneWire devices
// (not just Maxim/Dallas temperature ICs)
OneWire oneWire(ONE_WIRE_BUS);
// Pass our oneWire reference to Dallas Temp... | [
"noreply@github.com"
] | fantuz.noreply@github.com |
3d296f3f9b782594ecd080ad7e12b8e104fdd7b8 | 11c74b57455ce2454849fbe9a73a2e0d2a3542d2 | /contests/2018杭电/2018 Multi-University Training Contest 6/B.cpp | 651bd249a4c978fee39800027c4134d401347644 | [] | no_license | heyuhhh/ACM | 4fe0239b7f55a62db5bc47aaf086e187134fb7e6 | e1ea34686b41a6c5b3f395dd9c76472220e9db5d | refs/heads/master | 2021-06-25T03:59:51.580876 | 2021-04-27T07:22:51 | 2021-04-27T07:22:51 | 223,877,467 | 9 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,516 | cpp | /*
* Author: heyuhhh
* Created Time: 2020/5/15 20:46:04
*/
#include <iostream>
#include <algorithm>
#include <cstring>
#include <cstdio>
#include <vector>
#include <cmath>
#include <set>
#include <map>
#include <queue>
#include <iomanip>
#include <assert.h>
#define MP make_pair
#define fi first
#define se second
#... | [
"2468861298@qq.com"
] | 2468861298@qq.com |
37ed61f3e2327fae8093a6da790e1c18f52aabc3 | 4a4f8d670e727fff8dbcf1166bf8e0eba47d5ad8 | /Mouse_house/Time.cpp | be2cfaba787721addba4fd351a382f208d540f4e | [] | no_license | JiekangHuang/Arduino | 9278c3f52e54826a8cab65227032c66c5b582470 | 496ebb76e3ee55c8302b50a62c3c99c9095362e6 | refs/heads/master | 2020-05-18T11:38:43.170904 | 2019-12-28T01:16:40 | 2019-12-28T01:16:40 | 184,381,377 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 367 | cpp | #include "Time.h"
Time::Time(LiquidCrystal_I2C* lcd)
{
this->_lcd = lcd;
}
Time::~Time()
{
}
void Time::time_begin()
{
this->_lcd->setCursor(0, 1);
this->_lcd->print("boot time>");
this->_lcd->setCursor(15, 1);
this->_lcd->print("m");
}
void Time::show_time()
{
boot_time = millis() / 1000 / 60;
this->_lcd->set... | [
"90618143@gcloud.csu.edu.tw"
] | 90618143@gcloud.csu.edu.tw |
c26c5c29f1eaff6bc1988b74093e6d5837126133 | 71b924cc96e150d272185208d7fecdc156d5d25c | /examples/cpuid/libcpuid/src/cpuid/hypervisors.cpp | 381fc9a30341234c97eb676cf38d2e9daf738ebd | [
"MIT"
] | permissive | DrPizza/jsm | a53b25373a95ee20123e0ac58267c3cad4f7239b | d5fc0a6c1e579bbb15c546aa3b76012ad93bc7ef | refs/heads/master | 2020-04-30T11:21:04.319926 | 2019-04-05T01:14:08 | 2019-04-05T01:14:08 | 176,799,123 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,520 | cpp | #include "stdafx.h"
#include "hypervisors.hpp"
#include "features.hpp"
#include <array>
#include <fmt/format.h>
#include "utility.hpp"
namespace cpuid {
void print_hypervisor_limit(fmt::memory_buffer& out, const cpu_t& cpu) {
const register_set_t& regs = cpu.leaves.at(leaf_type::hypervisor_limit).a... | [
"drpizza@quiscalusmexicanus.org"
] | drpizza@quiscalusmexicanus.org |
c2e83bf0431fa8cb189f8ecf9f2f3770e77674e4 | 122bc21c82956ed0d7b6c12892527f413dac1035 | /src/core/common/settings.cpp | 03a097675d9f50bb4d392e1e45420b6e640cd1ee | [
"BSD-3-Clause",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | terious78/openthread | ee185ace96669a6f2da9d86e7b26633488d09ad8 | cc32575367c7f7f75ae8ecfe0d6482c51fcc9ed4 | refs/heads/master | 2020-12-24T10:11:32.137021 | 2016-10-26T16:10:17 | 2016-10-26T16:10:17 | 72,027,976 | 1 | 0 | null | 2016-10-26T17:36:53 | 2016-10-26T17:36:52 | null | UTF-8 | C++ | false | false | 13,826 | cpp | /*
* Copyright (c) 2016, The OpenThread Authors.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this ... | [
"jonhui@nestlabs.com"
] | jonhui@nestlabs.com |
6424e014d2a5f9a4dbcc2125862a66d9f60abd4b | 3496c0182ce7727654b273c59f464600e7478d43 | /ch13/ex13_27.h | bce6f1de0d0cbb976addb243544fe7857f04bb65 | [] | no_license | luqilinok/Cpp-primer-Personal | 47f54ef405053d3abd5f7536d88cd77cd1096b7c | 31ffdfa34c4cecb81051205505350e3abc4bb955 | refs/heads/master | 2018-10-22T16:39:42.639036 | 2018-08-29T07:02:49 | 2018-08-29T07:02:49 | 116,896,816 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 562 | h | #ifndef CP5_ex13_27_h
#define CP5_ex13_27_h
#include <string>
class HasPtr {
public:
HasPtr(const std::string &s = std::string()) : ps(new std::string(s)), i(0), use(new size_t(1)) { }
HasPtr(const HasPtr &hp) : ps(hp.ps), i(hp.i), use(hp.use) { ++*use; }
HasPtr& operator=(const HasPtr &rhs) {
++*rhs.use;
if (... | [
"noreply@github.com"
] | luqilinok.noreply@github.com |
ad49af912ebf25dd0ccf72b5501462c3e65e775a | baa1ae2afa8968d726f8cfd12135f8f9b691832e | /code/game-pacman/src/entities/Entity.cpp | 2ca51aae9bd3ff8dc8d14dd74c289ef6b229faf4 | [] | no_license | germix/germix-games | ffaf1ebb360c389463a7438ee3c6cc33b031280c | db315cd54f06a7a646bc6789b9651ef39816643d | refs/heads/master | 2022-04-05T07:32:56.040835 | 2019-11-19T11:06:03 | 2019-11-19T11:06:03 | 222,627,542 | 0 | 0 | null | null | null | null | WINDOWS-1250 | C++ | false | false | 711 | cpp | ////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Entity
//
// Germán Martínez
//
////////////////////////////////////////////////////////////////////////////////////////////////////
#include <src/entities/Entity.h>
#include <src/Scene.h>
bool Entity::move(DIREC... | [
"german.m7186@gmail.com"
] | german.m7186@gmail.com |
16332f019ec28145dce7f0a6f829a4f92f9ff04b | 00d5cd399405500ffef11d4d17b43b836cb5c964 | /src/stirling/source_connectors/socket_tracer/protocols/common/always_contiguous_data_stream_buffer_impl.cc | 6ed2801dedff938be31e38f3ed905f1f7ae95561 | [
"Apache-2.0"
] | permissive | doytsujin/pixie | 0b1105105d0f05cf320cdd7bea55c360d1d01925 | cfe6c966fac18ac0c6e4a28b4f51f3be7553e30b | refs/heads/main | 2023-06-10T00:09:33.784394 | 2023-06-06T00:05:07 | 2023-06-06T00:05:07 | 364,398,868 | 0 | 0 | Apache-2.0 | 2021-05-04T22:12:14 | 2021-05-04T22:12:13 | null | UTF-8 | C++ | false | false | 13,156 | cc | /*
* Copyright 2018- The Pixie 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 ag... | [
"copybara@pixielabs.ai"
] | copybara@pixielabs.ai |
7774f1c109c55c426ba35a4f565ee7af95f839fe | 76957b84c5c97ac08dd2baea6cd3d5db96d26012 | /common_project/tool_kits/game/model/command_handler/heartbeat_helper.h | 6ebc3deb2dbf3c1a2c0e2fbbe1e6b96b3b0971bd | [] | no_license | luchengbiao/base | 4e14e71b9c17ff4d2f2c064ec4f5eb7e9ce09ac8 | f8af675e01b0fee31a2b648eb0b95d0c115d68ff | refs/heads/master | 2021-06-27T12:04:29.620264 | 2019-04-29T02:39:32 | 2019-04-29T02:39:32 | 136,405,188 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,421 | h | #ifndef __GAME_MODEL_COMMAND_HANDLER_HERATBEAT_HELPER_H__
#define __GAME_MODEL_COMMAND_HANDLER_HERATBEAT_HELPER_H__
#include <QObject>
#include "base/callback/callback.h" // for StdClosure
#include "common/weak_callback/weak_callback.h"
#include "game/model/command_handler/command_handler_fwd.h"
#include "protocol/comm... | [
"993925668@qq.com"
] | 993925668@qq.com |
371841c19530d21ed70689cc3c963b9c99edb840 | ba4db75b9d1f08c6334bf7b621783759cd3209c7 | /src_main/sdktools/xsi/5.1/SMDExportCPP/StdAfx.cpp | 987e3d9149519c2ba7490af3557f026ec170dc1e | [] | no_license | equalent/source-2007 | a27326c6eb1e63899e3b77da57f23b79637060c0 | d07be8d02519ff5c902e1eb6430e028e1b302c8b | refs/heads/master | 2020-03-28T22:46:44.606988 | 2017-03-27T18:05:57 | 2017-03-27T18:05:57 | 149,257,460 | 2 | 0 | null | 2018-09-18T08:52:10 | 2018-09-18T08:52:09 | null | UTF-8 | C++ | false | false | 296 | cpp | // stdafx.cpp : source file that includes just the standard includes
// SMDExport.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
// TODO: reference any additional headers you need in STDAFX.H
// and not in this file
| [
"sean@csnxs.uk"
] | sean@csnxs.uk |
76fecd6450dd760b0b87d4cb73c80c891ccfe838 | 4bd16eeaf3112ec176617d6f841d74b3c7ada879 | /trees/trees/trees.cpp | 3257df6c62afa504fad92629bc474d465b5c0e44 | [] | no_license | sowjanya1998/sowjanya | e751a54565c959b9b0852601d790cf007b3acca0 | 01e9ee139fb230982cc3d04d295f89114d416fb5 | refs/heads/master | 2020-04-21T16:46:55.960247 | 2019-03-18T15:15:55 | 2019-03-18T15:15:55 | 169,713,613 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,481 | cpp | #include<iostream>
#include<math.h>
#include<algorithm>
//#define _max(a,b) (((a)>(b)) :a ?b)
using namespace std;
struct node
{
int data;
node *left, *right;
};
class tree
{
struct node *root;
public:
tree()
{
root = NULL;
//root->left = NULL;
// root->right = NULL;
}
void buildtree()
{
int num, i,del;... | [
"sowjanyadarna@gmail.com"
] | sowjanyadarna@gmail.com |
14a81cbd74509a205e41ba810cd7109ab1875f26 | 9f4744315fa963bdc715e4e33813ae7851173744 | /Code Framework/Components/NOR2.cpp | 40bceceba0ebf9896591e9212bbad24e2e756d0c | [] | no_license | MohammedEl-sayedAhmed/Circuit_Logic_Simulator_UsingCPP | 20a1d0e222e5e7576d1ff5740e1f09a8267efe2a | 935ea3dc25c3c17b3c27fb8ebd04392ea643d458 | refs/heads/master | 2020-12-14T04:48:01.458227 | 2020-09-03T01:47:38 | 2020-09-03T01:47:38 | 234,644,691 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,443 | cpp | #include "NOR2.h"
#include <iostream>
using namespace std;
NOR2::NOR2(GraphicsInfo *r_pGfxInfo, int r_FanOut):Gate(r_pGfxInfo,2, r_FanOut)
{
}
void NOR2::Operate()
{
//caclulate the output status as the NORing of the two input pins
if (m_InputPins[0].getStatus() == HIGH || m_InputPins[1].getStatus() == HIGH) {
... | [
"mohammedelsayed4648@gmail.com"
] | mohammedelsayed4648@gmail.com |
65857afb5cce9cf0e077f8a47766074239f5b6ed | b389f1f3075092f7cb25f45ee9bf910c55250735 | /WorkInProgress/AtCoder - AtCoder Beginner Contest 214/C - Distribution/main.cpp | 50e6b0a0d1d701aa62a6ff3e13414bc634214d35 | [] | no_license | leostd/Competitive-Programming | 7b3c4c671e799216c79aeefd2ca7d68c5d463fa6 | 4db01b81314f82c4ebb750310e5afb4894b582bd | refs/heads/master | 2023-05-13T07:04:40.512100 | 2023-05-06T10:58:28 | 2023-05-06T10:58:28 | 87,685,033 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,266 | cpp | #pragma GCC diagnostic ignored "-Wunused-const-variable"
#ifdef MAC
#include <iostream>
#include <vector>
#include <set>
#include <map>
#include <unordered_set>
#include <unordered_map>
#include <queue>
#include <bitset>
#include <random>
#include <chrono>
#include <complex>
#include <algorithm>
#include <utility>
#in... | [
"leocaracas2010@gmail.com"
] | leocaracas2010@gmail.com |
db2087c9beadfa9072912166d6bd1e6789f46fd0 | 814f87efd427c6da3ebaf7bd253afe708b42692d | /lineagehw/hidl/touch/GloveMode.cpp | 1fce76bce429f2e558c0260b6811994026f82e43 | [] | no_license | Andrei-Tanase/android_device_huawei_kirin970-common | 9b21a1942b137cd172008e86f50b88da0737ef3b | bbac1660339c147e0fc2d06d678b79a7cae69e3f | refs/heads/master | 2022-09-24T08:35:46.551965 | 2019-10-14T20:29:59 | 2019-10-14T20:29:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,326 | cpp | /*
* Copyright (C) 2019 The LineageOS Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable la... | [
"xtutorials161@gmail.com"
] | xtutorials161@gmail.com |
d0e743d0a64f1a068b3023bedd593d145f9adbea | 9d851f5315bce6e24c8adcf6d2d2b834f288d2b2 | /chipyard/tools/chisel3/test_run_dir/MixedVecIOTester/2020030621363812072604576794274245/VMixedVecIOTester__Trace__Slow.cpp | f43cf5c18638e7d1dc00dc88902fc89b78b584af | [
"BSD-3-Clause"
] | permissive | ajis01/systolicMM | b9830b4b00cb7f68d49fb039a5a53c04dcaf3e60 | d444d0b8cae525501911e8d3c8ad76dac7fb445c | refs/heads/master | 2021-08-17T22:54:34.204694 | 2020-03-18T03:31:59 | 2020-03-18T03:31:59 | 247,648,431 | 0 | 1 | null | 2021-03-29T22:26:24 | 2020-03-16T08:27:34 | C++ | UTF-8 | C++ | false | false | 3,067 | cpp | // Verilated -*- C++ -*-
// DESCRIPTION: Verilator output: Tracing implementation internals
#include "verilated_vcd_c.h"
#include "VMixedVecIOTester__Syms.h"
//======================
void VMixedVecIOTester::trace (VerilatedVcdC* tfp, int, int) {
tfp->spTrace()->addCallback (&VMixedVecIOTester::traceInit, &VMixed... | [
"ajithkumar.sreekumar94@gmail.com"
] | ajithkumar.sreekumar94@gmail.com |
95239b2fd1a76dcbe226d0b3123950e3f8fb0ca8 | 91a882547e393d4c4946a6c2c99186b5f72122dd | /Source/XPSP1/NT/inetsrv/iis/iisrearc/ul/win9x/src/test/ulvxdobj/ulapi.cpp | e1dc4f00c608a8a9433255e2345c070591975825 | [] | no_license | IAmAnubhavSaini/cryptoAlgorithm-nt5src | 94f9b46f101b983954ac6e453d0cf8d02aa76fc7 | d9e1cdeec650b9d6d3ce63f9f0abe50dabfaf9e2 | refs/heads/master | 2023-09-02T10:14:14.795579 | 2021-11-20T13:47:06 | 2021-11-20T13:47:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,552 | cpp | // ULApi.cpp : Implementation of CULApi
#include "stdafx.h"
#include "Ulvxdobj.h"
#include "ULApi.h"
#include "Ulvxdobj.h"
#include "win32handle.h"
#include "ulapi9x.h"
#include <wchar.h>
/*
#include <stdio.h>
#include <stdlib.h>
#include <ioctl.h>
#include <errors.h>
#include <structs.h>
*/
//#include <structs.h>
... | [
"support@cryptoalgo.cf"
] | support@cryptoalgo.cf |
f4c876028738ba393f87ad892706dbe297214467 | 580930f6a60ad4e494dfcf7797dff0b30f3b7c6f | /Classes/HUDLayer.cpp | f57a7ef101e6ec25bb3b4c4fa1d8f3a2dc75cf69 | [] | no_license | TheWindShan/Blocks | 9131082612e58258ab5136eebd3ee63e363ec565 | e4d33ef2f0137441d3ac97585268e44ccc83e30a | refs/heads/master | 2021-01-18T07:22:28.440010 | 2016-05-10T15:43:00 | 2016-05-10T15:43:00 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,799 | cpp | #include "HUDLayer.h"
bool HUDLayer::init()
{
if (!Layer::init())
{
return false;
}
addLayer();
return true;
}
HUDLayer::HUDLayer()
{
lineNum = 0;
comboNum = 0;
scoreNum = 0;
}
HUDLayer::~HUDLayer()
{
removeAllChildrenWithCleanup(true);
removeFromParentAndCleanup(true);
}
void HUDLayer::addLayer()
{
P... | [
"hitlolo@qq.com"
] | hitlolo@qq.com |
0337803d47dd5e5028f1b8f046c5e59dd98976b0 | d1dff012eafc3ba8182869532de0aeb6ac0a74dd | /Toph/Prime Range.cpp | 5e750c9624b9bd82994956e90d7f3f87f07d4388 | [] | no_license | kashimmirza/Problem-Solving | 2d9b92bb6800e35e1aaad392e65bb4c4d6c2a4ab | 189f3101a1910408c0185270d676453bcf4670a8 | refs/heads/master | 2023-07-24T13:14:30.004271 | 2021-09-06T16:05:48 | 2021-09-06T16:05:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 772 | cpp | #include <bits/stdc++.h>
using namespace std;
#define MAX 100000000
typedef long long ll;
bool A[MAX+100]={0};
ll ans[100000004];
void sieve()
{
ll ck=1;
ans[ck]=2;
for(ll i=3; i*i<=MAX; i+=2)
{
if(!A[i])
{
for(ll j=i*i; j<=MAX; j+=i*2)
... | [
"noreply@github.com"
] | kashimmirza.noreply@github.com |
e9fe0c26b4ff71de5ac2ac6bdfa1b2a369643326 | f42f97a97a0b446dd793ed33430a4db048643a80 | /test/test_observer.cpp | 0cab8e8f5cb9fa0748497e1e5cf5994b0a4c2267 | [] | no_license | Dwillnio/ConBox | b729066415cca6eeec1d5500ee5d57ae90c83974 | a361359cbebfcbe274ec07381e44c83c3acad745 | refs/heads/master | 2022-11-13T23:06:13.270975 | 2020-07-12T14:06:04 | 2020-07-12T14:06:04 | 268,073,456 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,192 | cpp | #include "test_observer.h"
void luenberger_observer_test_1(int argc, char** argv, std::ostream& os)
{
rnum d_t = 0.01;
rnum y_target = -2;
linear_system osc = harm_osc();
//func_dgl_p func(func_osc_contrl, 2, 1, 0);
const_function w_func(y_target, 1, 1);
state_controller contr(2, 1, 0, 1, m... | [
"dwillnio@gmx.de"
] | dwillnio@gmx.de |
c5558b5681728b7266d5cc0992a58c0787896fa9 | 4e9666aad3c00f5881e2200def326833af0c21db | /BootCamp/B-Ringo'sFavoriteNumbers.cpp | 2ec78bcb163b58c384831a7b4085b35059667789 | [] | no_license | kumokumo1653/Atcoder | 31ff3fc946aa61750c5c70066c59fc0be453f88d | 01850e381ccc1e7ce7f6c500329b072e779ffaca | refs/heads/master | 2022-12-23T09:16:05.153731 | 2022-12-17T06:05:52 | 2022-12-17T06:05:52 | 245,761,692 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,054 | cpp | #include <bits/stdc++.h>
using namespace std;
#define REP(i, n) for(int i = 0; i < n; i++)
#define REPR(i, n) for(int i = n - 1; i >= 0; i--)
#define FOR(i, m, n) for(int i = m; i < n; i++)
#define FORR(i,m,n) for(int i = m - 1; i >= n; i--)
#define ALL(v) v.begin(), v.end()
#define itn int
#define Yes() cout << "Yes" ... | [
"fjsda526hdbs@gmail.com"
] | fjsda526hdbs@gmail.com |
cce7c8f5c153f95587f4a3a252662edd01106dd2 | 1a461f3241bc374c3087b9993e7f0a50b040e2bc | /STD1/Array.cpp | 5636eba3a982b56a580ef3a915564cd838c9616e | [] | no_license | univmajalengka/181410018 | 8dee562bfb5f4c7b1809471b7a29acc07673bf2f | 888eb3c4e6b84e10d0221b3fe4ec7e71a5b7ac04 | refs/heads/master | 2020-05-18T04:57:32.388358 | 2020-04-04T11:53:23 | 2020-04-04T11:53:23 | 184,189,446 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 284 | cpp | #include <iostream>
using namespace std;
char game [8][10] =
{"DotA","Final F","Merc","GTA","GBF","BDo","P5","Gis"};
int n;
int main()
{
for ( n=0 ; n<8 ; n++ )
{
cout <<"Masukan angka dari 0 : ";
cin>> n;
cout <<"nama game itu adalah :"
<<game[n];
cout << "\n";
}
return 0;
}
| [
"noreply@github.com"
] | univmajalengka.noreply@github.com |
5ab1f8199ef330ef3cf2cc00616798aac7a3e298 | c776476e9d06b3779d744641e758ac3a2c15cddc | /examples/litmus/c/run-scripts/tmp_5/LB-LRR+R-A+R-A+OB-OB.c.cbmc_out.cpp | 85b84a4013851ad55bff8939b64251f6d5f93db1 | [] | no_license | ashutosh0gupta/llvm_bmc | aaac7961c723ba6f7ffd77a39559e0e52432eade | 0287c4fb180244e6b3c599a9902507f05c8a7234 | refs/heads/master | 2023-08-02T17:14:06.178723 | 2023-07-31T10:46:53 | 2023-07-31T10:46:53 | 143,100,825 | 3 | 4 | null | 2023-05-25T05:50:55 | 2018-08-01T03:47:00 | C++ | UTF-8 | C++ | false | false | 73,074 | cpp | // Global variabls:
// 0:vars:4
// 4:atom_0_X0_1:1
// 8:atom_3_X0_1:1
// 5:atom_1_X0_1:1
// 6:atom_2_X0_1:1
// 7:atom_3_X2_0:1
// Local global variabls:
// 0:thr0:1
// 1:thr1:1
// 2:thr2:1
// 3:thr3:1
// 4:thr4:1
#define ADDRSIZE 9
#define LOCALADDRSIZE 5
#define NTHREAD 6
#define NCONTEXT 5
#define ASSUME(stmt) __CPR... | [
"tuan-phong.ngo@it.uu.se"
] | tuan-phong.ngo@it.uu.se |
18d33ae1c9ff4db3a726439393579f36f4aaf82d | 427419228ca489739e16c380d7bc68a6ef509e5a | /A_Cut_Ribbon.cpp | 6c145e43cf704fcbffa22c309d734d7791d9964c | [] | no_license | wolverinezgit/cpsolutions | d5dca485190a27f4d27e9610cd6ea02d98a50072 | e0e695036cbd4c51ec9bf57d585b40204c8566a1 | refs/heads/main | 2023-03-10T12:31:27.848231 | 2021-02-18T13:04:00 | 2021-02-18T13:04:00 | 332,387,127 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 596 | cpp | #pragma GCC optimize("Ofast")
#pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx,avx2,fma")
#pragma GCC optimize("unroll-loops")
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define mp make_pair
#define pb push_back
int main()
{
ll t,i,n,j,flag=0,mx=0,mn=1e9+7,k;
ll a,b,... | [
"iamharsh05@gmail.com"
] | iamharsh05@gmail.com |
7d05a880a94a338d04a70da805bc4051e52c2071 | afcc2955f3607e47daa71b1d9f6b1de124cd570c | /andEnginePhysicsBox2DExtension/src/main/jni/Box2D/Common/b2StackAllocator.h | b0d128c9f873b53388fc7cd07836f6d051b50f62 | [] | no_license | ESal0/AndroidGame | a72d9035c918d0088a493a48bf558a52edd2541f | ef4dba0b5ed433a3c4b7f2bbf0637e095f5b9c55 | refs/heads/master | 2016-09-05T11:48:51.114690 | 2015-08-27T07:08:10 | 2015-08-27T07:08:10 | 40,919,772 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,722 | h | /*
* Copyright (c) 2006-2009 Erin Catto http://www.gphysics.com
*
* 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,
... | [
"eric.salomon@haw-hamburg.de"
] | eric.salomon@haw-hamburg.de |
72457479036a1a47c85a990cdd9261fccac0eee4 | e059e089ba8e5c83080930cdf337ca7968e43aa3 | /source/ReferenceDejaPresenteException.cpp | 88bd32a71cedc3dfe2b73a29a02e4a659bd6be96 | [] | no_license | YAZAH/Gestion-biblio | eba96f3cc9551e3b0597a7c9bea002eef67c44c7 | ae78087b0f3bde3203706d97176fb0b97cb51266 | refs/heads/master | 2021-05-09T05:38:50.547700 | 2018-01-29T01:32:44 | 2018-01-29T01:32:44 | 118,982,245 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 352 | cpp | /*
* ReferenceDejaPresenteException.cpp
*
* Created on: 2016-04-19
* Author: etudiant
*/
#include "ReferenceDejaPresenteException.h"
namespace tp {
ReferenceDejaPresenteException::ReferenceDejaPresenteException(const std::string& p_raison):ReferenceException(p_raison) {
// TODO Auto-generated constructo... | [
"yzaho037@uottawa.ca"
] | yzaho037@uottawa.ca |
1863983baeb44038dcba93463ba3cdba83aeabb2 | 927442d1aadd124d1ec5b5a56b3c442ba2735841 | /08_cocos2d-x/day04/Demo2/Plane/Plane/Classes/GameScene.cpp | cdea115af06e60c7bb74dea27607fde677a2441e | [] | no_license | yitian630/Tarena | 2dc2fd276e1404330222d28fb10ddd0116eca74b | 49b587ab58cb5e173d6dcd2701ea6db3b35cdf0b | refs/heads/master | 2021-01-22T02:49:19.160833 | 2015-03-12T06:58:26 | 2015-03-12T06:58:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 741 | cpp | //
// GameScene.cpp
// Plane
//
// Created by tarena on 14-6-10.
//
//
#include "GameScene.h"
#include "MapLayer.h"
#include "SpriteLayer.h"
GameScene* GameScene::createGameScene(int level) {
GameScene *scene = new GameScene();
if (scene && scene->initGameScene(level)) {
scene->autorelease();
... | [
"yitian630@163.com"
] | yitian630@163.com |
ba0b17d85d4a4335ff2174048ab19d987cbc3073 | 2f6f4953d35e53d3d86ad4e959d9f032d4bb3c4c | /startalk_ui/imageviewer.cpp | beef8cbf2ee755f96fcdf0c1c25393cffc5f8a79 | [
"MIT"
] | permissive | xuepingiw/open_source_startalk | c9b6866b736d51798394486de2b6181a49f38466 | 44d962b04039f5660ec47a10313876a0754d3e72 | refs/heads/master | 2020-04-29T03:00:00.190179 | 2019-03-27T07:01:40 | 2019-03-27T07:01:40 | 175,791,902 | 0 | 0 | MIT | 2019-03-15T09:43:22 | 2019-03-15T09:43:18 | null | UTF-8 | C++ | false | false | 29,538 | cpp | #include "imageviewer.h"
#include <QDesktopWidget>
#include <QApplication>
#include <QPoint>
#include <QWheelEvent>
#include <QMessageBox>
#include <QUrl>
#include <QDir>
#include <QDesktopServices>
#include <QMovie>
#include "ConfigureHelper.h"
#include "Session.h"
#include "Account.h"
#include "AccountData.h"
#inclu... | [
"20832776@qunar.com"
] | 20832776@qunar.com |
ea153f0b04c94c4b394e2b465116782d2e24aa47 | f942a17cbb3421407073ffd749d2ff7ba13b2895 | /src/args.h | 32cc2c67440c2d8d86cabdda67bb7acfded6c4aa | [
"BSD-3-Clause"
] | permissive | guoqunabc/fastText-PV | 2b4d20dba0b48c7c3cabf0dfc17664ec6aac49f1 | dea3bb2ab9645ea595e7a0a02d1a507180c08469 | refs/heads/master | 2020-06-07T12:45:04.593119 | 2018-05-09T02:21:02 | 2018-05-09T02:21:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,454 | h | /**
* Copyright (c) 2016-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#ifndef FA... | [
"weiwei@thunisoft.com"
] | weiwei@thunisoft.com |
7fb6d208d1dea0030e225f6237becc81a95329ea | 3b6185d3052764481e4b6dff75ab9a6ed34d1cef | /Solutions/question_119.cpp | 1bc872b8320b5e3059f0ac040fabfb64ab8a342b | [] | no_license | niaokedaoren/LeetCode_Solution | a01a8a7ffcd80c165a705bb712a2c75509464ac0 | 91be5d8bfc98b0efa76d92c2cdf4edb6fd0d3a03 | refs/heads/master | 2016-08-07T20:41:29.852161 | 2013-10-16T11:07:40 | 2013-10-16T11:07:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 397 | cpp | class Solution {
public:
vector<int> getRow(int rowIndex) {
// Start typing your C/C++ solution below
// DO NOT write int main() function
vector<int> row;
if (rowIndex < 0)
return row;
row.push_back(1);
for (int i=0; i<rowIndex; i++) {
row.push_back(1);
for (int n=row.size()-2; n... | [
"gorgeousabalone@gmail.com"
] | gorgeousabalone@gmail.com |
fda5e67df9d54a9b1e202a76acf35b628eaddc2a | 62c77c009458674132113084af73fa85f3e58253 | /Lab_1/Point.cc | 1df783d65893907bc141e9d7a4165865a23325b1 | [] | no_license | gdeskos/CS11-C- | 66e3d999e63659911e2709d0feb2366f0db14803 | 97b84c6176ff87d792ff0a948bc6025453d94fbb | refs/heads/master | 2021-01-11T14:44:13.467898 | 2017-02-01T09:14:36 | 2017-02-01T09:14:36 | 80,201,243 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 946 | cc | #include <cmath>
#include "Point.hh"
// Default constructor: initializes the point to (0, 0).
Point::Point() {
x_coord = 0;
y_coord = 0;
z_coord = 0;
}
// Initializes the point to (x, y,z).
Point::Point(double x, double y,double z) {
x_coord = x;
y_coord = y;
z_coord = z;
}
// Destructor - Point allocat... | [
"noreply@github.com"
] | gdeskos.noreply@github.com |
4c84525ac45cdaaf61f8624de9785ad88de5832c | af69e335fc0ff9632964d061833713b672abad01 | /Temp/StagingArea/Data/il2cppOutput/mscorlib_System_Runtime_Remoting_Contexts_DynamicPr652373272.h | 10608437c6a0daff268ce0d7a555a485a8a1c990 | [] | no_license | PruthvishMShirur/Solar-System | ca143ab38cef582705f0beb76f7fef8b28e25ef9 | 5cf3eaa66949801aa9a34cd3cf80eeefa64d2342 | refs/heads/master | 2023-05-26T17:53:37.489349 | 2021-06-16T19:56:48 | 2021-06-16T19:56:48 | 377,611,177 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,252 | h | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#include "mscorlib_System_Object3080106164.h"
// System.Collections.ArrayList
struct ArrayList_t2718874744;
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnosti... | [
"42893637+PruthvishMShirur@users.noreply.github.com"
] | 42893637+PruthvishMShirur@users.noreply.github.com |
e68be35ae581b8e1a2c13468173e18bb01fb9663 | b86d7ba26f9ec19fcd29a03370870c1b41de6d6a | /RigidBodies/PhysicsProject/Color.h | 236b516643a09a93e568b8dd1192fa5446c482ef | [
"MIT"
] | permissive | mattstruble/PhysicSimulations | 68f1583a7568e4462f2fa6220555cd89ce2f4121 | 29e6b4c07a9faed5997a0023e953bf345f2e7323 | refs/heads/master | 2021-01-18T21:30:47.030298 | 2016-03-28T01:06:39 | 2016-03-28T01:06:39 | 30,939,833 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,500 | h | //======================================================================
//File: Color.h
//Author: Matt Struble
//======================================================================
#ifndef COLOR_H
#define COLOR_H
//======================================================================
#pragma once
//===============... | [
"mattstruble@outlook.com"
] | mattstruble@outlook.com |
d63661bf7f1dcb386a62a535deb20dffa3bcfc61 | db6903560e8c816b85b9adec3187f688f8e40289 | /VisualUltimate/WindowsSDKs/vc7/atlmfc/src/mfc/appui1.cpp | eae1e1a41ace8d4a96c4860f398213d4d9b66706 | [] | no_license | QianNangong/VC6Ultimate | 846a4e610859fab5c9d8fb73fa5c9321e7a2a65e | 0c74cf644fbdd38018c8d94c9ea9f8b72782ef7c | refs/heads/master | 2022-05-05T17:49:52.120385 | 2019-03-07T14:46:51 | 2019-03-07T14:46:51 | 147,986,727 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,451 | cpp | // This is a part of the Microsoft Foundation Classes C++ library.
// Copyright (C) Microsoft Corporation
// All rights reserved.
//
// This source code is only intended as a supplement to the
// Microsoft Foundation Classes Reference and related
// electronic documentation provided with the library.
// See these sourc... | [
"vc6@ultim.pw"
] | vc6@ultim.pw |
5f8bf6240d92fefb8d8379a72e31fabe2e0c2b6c | 0757032a90e634df8fecbf4687cbf30eb60b5092 | /src/test/test-multiplication.cpp | 94a99c3b1f1130ce4d41aa121e4c62568958b8af | [
"MIT",
"GPL-1.0-or-later",
"Apache-2.0"
] | permissive | A-Pisani/MK-TFHE | b28ab4847177d9b5a39fe317dfd2bbd536429fc9 | 76d7e658af4bc2343210d4549d07d2743d56a313 | refs/heads/master | 2023-07-15T15:49:04.024892 | 2021-08-29T09:32:47 | 2021-08-29T09:32:47 | 372,584,100 | 1 | 0 | Apache-2.0 | 2021-08-29T15:41:37 | 2021-05-31T17:34:39 | C++ | UTF-8 | C++ | false | false | 3,748 | cpp | #include <stdio.h>
#include <iostream>
#include <iomanip>
#include <cstdlib>
#include <cmath>
#include <sys/time.h>
#include "tfhe.h"
#include "polynomials.h"
using namespace std;
// **********************************************************************************
// ********************************* MAIN ********... | [
"ilaria.chillotti@uvsq.fr"
] | ilaria.chillotti@uvsq.fr |
a05e4315fd8e17620215e76349bbaa4eeef82231 | 8e9a465820b8d17e794890ab9dba66d783a1668d | /source/cv/calibration/ChessboardFinder.cpp | a4ba11c4ba530fe94c3633bc3a2f79776cfe45b5 | [
"BSD-3-Clause"
] | permissive | spsu/image-research | 57b722991f46631adee182040c8f432f7d60e6c1 | ad9548bc360d367879f8bc377c9d14f164466678 | refs/heads/master | 2020-11-26T20:55:59.567286 | 2010-08-10T03:15:23 | 2010-08-10T03:15:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,123 | cpp | /**
* Copyright (c) 2010 Brandon Thomas Suit
* http://possibilistic.org | echelon@gmail.com
* Code available for use under the LGPL 2.
*
* Cv::Calibration::ChessboardFinder
* An easy mechanism for finding and recording chessboard corners in an
* image.
*/
#include "ChessboardFinder.hpp"
#include "Chessboa... | [
"brandon.suit@gmail.com"
] | brandon.suit@gmail.com |
678c8bdb9932012d621c50c35a0c36c1a5e38c9f | 8fd40775feed5b654ff9337a82922570b095af00 | /packet/packet.cpp | 5ad548d4c0dbccfff3d32e45211fb71c05fb9152 | [
"Apache-2.0"
] | permissive | weixiaopassking/CHCenter | 491f082217652293deeaa72adeb92672062913f7 | 181a9abc1f66288d958fee113e3bdc7a6b921e88 | refs/heads/main | 2023-04-03T21:04:15.147050 | 2021-03-05T03:52:15 | 2021-03-09T04:08:31 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 3,914 | cpp | #include <string.h>
#include <stdio.h>
#include "packet.h"
#ifndef ARRAY_SIZE
#define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))
#endif
#ifndef CH_OK
#define CH_OK (0)
#endif
#ifndef CH_ERR
#define CH_ERR (1)
#endif
uint32_t frame_count;
static void crc16_update(uint16_t *currect_crc, const uint8_t *src, uint... | [
"b04611002@ntu.edu.tw"
] | b04611002@ntu.edu.tw |
616f2accd7c6424a06ccf79f90725a26496e61c4 | 1ad310fc8abf44dbcb99add43f6c6b4c97a3767c | /samples_c++/cc/sprite_anime/App.cc | 38349b73dbc2e97f10ca3d59a78e2db2ddd4a7e1 | [] | no_license | Jazzinghen/spamOSEK | fed44979b86149809f0fe70355f2117e9cb954f3 | 7223a2fb78401e1d9fa96ecaa2323564c765c970 | refs/heads/master | 2020-06-01T03:55:48.113095 | 2010-05-19T14:37:30 | 2010-05-19T14:37:30 | 580,640 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,717 | cc | #include "App.h"
//the sprite graphics frames
extern const char shiki_intro_spr_start[];
extern const char shiki_walkforward_spr_start[];
extern const char shiki_taunt_spr_start[];
extern const char shiki_breathe_spr_start[];
//the set of all of the sprites
const char* shikiDataSet[] =
{
shiki_intro_spr_... | [
"jazzinghen@Jehuty.(none)"
] | jazzinghen@Jehuty.(none) |
4fb726fc3071dd97d4d5be9ea8719c85b6d0d577 | b50c6816c6ae139851f2c3f47a320237ee0c358c | /source/overlay[dll]/osd.cpp | f4dda8c5370af1b9a3a9e93b30b77e73d7baa379 | [
"MIT"
] | permissive | ivanpos2015/Push | e2725aeb0058c29548d427b380c34229cbd0a16a | a595f40dfecc233ebeae10a6ef513468972409b7 | refs/heads/master | 2020-04-13T03:42:12.914029 | 2018-11-14T07:15:39 | 2018-11-14T07:15:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,061 | cpp | #include <Windows.h>
#include <time.h>
#include <stdio.h>
#include "overlay.h"
#include "osd.h"
extern UINT32 BackBufferWidth;
extern UINT32 BackBufferHeight;
extern UINT32 BackBufferCount;
extern double FrameTimeAvg;
OSD_VARS Variables;
extern BOOLEAN IsStableFrametime;
extern BOOLEAN IsLimitedFrametime;
CPU_CAL... | [
"volks.hb@gmail.com"
] | volks.hb@gmail.com |
3096bcb79d0840ec9d7a0bc893097060cfeaf903 | bb90ad20468f9fe2039b8c16858bd8eae8bbc050 | /src/indexing/strategies/seqnos_by_key_in_memory.cpp | 1d7e6bca23b6e7b5e0193b6ffa3898bb0ab63a4a | [
"Apache-2.0"
] | permissive | microsoft/CCF | 0997fd81a924d36d775b219720b26b4ff196b18a | 2fbf87840b9e8334c141f4a9c9b25aae979b0540 | refs/heads/main | 2023-09-05T15:39:37.265089 | 2023-09-05T15:27:25 | 2023-09-05T15:27:25 | 180,112,558 | 687 | 229 | Apache-2.0 | 2023-09-14T14:28:39 | 2019-04-08T09:13:04 | C++ | UTF-8 | C++ | false | false | 1,413 | cpp | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the Apache 2.0 License.
#include "ccf/indexing/strategies/seqnos_by_key_in_memory.h"
#include "ccf/pal/locking.h"
namespace ccf::indexing::strategies
{
void SeqnosByKey_InMemory_Untyped::visit_entry(
const ccf::TxID& tx_id, const cc... | [
"noreply@github.com"
] | microsoft.noreply@github.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.