blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 6 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 26 | license_type stringclasses 2
values | repo_name stringlengths 7 95 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 57
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 197k 639M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 11
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 34
values | src_encoding stringclasses 18
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 11 9.86M | extension stringclasses 27
values | content stringlengths 11 9.86M | authors listlengths 1 1 | author stringlengths 0 70 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2b1da003432d6141acd8b867ca04e2709974f15d | eb20d54d53268637fd3ec43575f30a06f0f02f79 | /antigos/1856.cpp | 3ab2176bc45180d1ec56d2b8fd3c7e6c631659a2 | [] | no_license | biessek/maratona | f934033d8d85eef35fd9e1b19107d850caa25191 | b4b7dcc49ed221203df24c1934ef09b26671c837 | refs/heads/master | 2021-07-04T22:50:22.870648 | 2017-09-28T03:14:29 | 2017-09-28T03:14:29 | 105,094,465 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,930 | cpp | #include<cstdio>
#include<cmath>
#include<algorithm>
#include<map>
#include<vector>
#include<list>
using namespace std;
typedef pair<int, list<int>::iterator> tupla;
const int MAXTAM = 318;
int N, Q;
map<int, tupla > P;
struct setor {
int q;
list<int>::iterator l,r;
setor() {
... | [
"root@DESKTOP-V5LA2IB.localdomain"
] | root@DESKTOP-V5LA2IB.localdomain |
4bf788dbabe480ccac3237702945d73cd80dcef9 | 02bd20fa7dd7a01d161aa6a6ebf0df361e7edff9 | /areaRect.cpp | 9f2f66669d726f017287d1b0d77ff885fee819b6 | [] | no_license | Minakshi-probuz/cPlusPlus | bcb4d8603bf8f001462dd87cc529a757a6001eb6 | 206875f2ff7f3783039fd7e50cfb62e79483220a | refs/heads/main | 2023-03-05T09:12:56.995454 | 2021-02-21T08:38:53 | 2021-02-21T08:38:53 | 335,289,333 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 249 | cpp | #include<iostream>
using namespace std;
int rectangle;
int rect();
int rect(){
int l=10;
int b=2;
rectangle=l*b;
return rectangle;
}
int main(){
rect();
cout<<"area of rectangle:"<<rectangle;
} | [
"noreply@github.com"
] | noreply@github.com |
c3c44080ecac01ae1a6931b50bff95dc281bd140 | 3762eafb1544217ca71081ec7215d71d6e1cc9e2 | /Dynamic Programming/Dynamic Programming/1937.cpp | 9acd9d11b71a0f923092d0b3060fbfa983073e01 | [] | no_license | challenger71498/Algorithm | 710f4a75d5adadb6bd555ae02c0c7974c3e77a77 | 09db61e56f7e657210dde91061ea218d4d09e41f | refs/heads/master | 2020-12-20T02:43:33.965776 | 2020-02-03T17:03:09 | 2020-02-03T17:03:09 | 235,936,579 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,187 | cpp | #include <iostream>
#include <deque>
#include <algorithm>
#include <climits>
using namespace std;
typedef pair<int, int> ii;
int arr[502][502];
deque<ii> st;
int len[502][502];
int n;
void chk(int x, int y) {
int v = arr[x][y];
int* l = &len[x][y];
if (v != arr[x + 1][y]) {
*l = max(*l, len[x + 1][y]);
}
if... | [
"challenger71498@gmail.com"
] | challenger71498@gmail.com |
769a329727ea67d9f9889d5d6be46c569c92580d | a453f5e6a44bf39e52335b2f4b4e7aae3baad8ff | /THREAD_STORE.cpp | 2510e48450c385671ab79889b0476b55711b69e5 | [
"MIT"
] | permissive | iliya-dehsarvi/Advanced-CPP | b594b41c2c67d7880cc6387dc46745c0d052c4fe | 36d26fd147ccf29f8f8a19b3f524cff672f40ad7 | refs/heads/main | 2023-06-25T05:17:20.233448 | 2021-07-26T18:06:25 | 2021-07-26T18:06:25 | 389,724,987 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,008 | cpp | #include <iostream>
#include <vector>
#include <string>
#include <exception>
#include <fstream>
#include <regex>
#include <bitset>
#include <math.h>
#include <map>
#include <sstream>
#include <algorithm>
#include <queue>
#include <thread>
#include <mutex>
std::mutex GLOBAL_MUTEX;
/* ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~... | [
"noreply@github.com"
] | noreply@github.com |
576eaf24837a0be87b3fa02801bff4064e33e4a3 | 24ce63cfba8a5dd2c5ab206963a5760cc42cf4f3 | /SceneObject.hpp | 368b3c3fade5649be4e22080f9e41fd9a6277c55 | [] | no_license | dylanswiggett/raytracer | b79b3283d64f26b4086326dfb195ba45d5137dca | edbc1d76af5093a255bbda26512ab3d2e32971b7 | refs/heads/master | 2020-04-27T00:50:34.594200 | 2014-08-26T04:56:17 | 2014-08-26T04:56:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 631 | hpp | #ifndef _SCENE_OBJECT_HPP_
#define _SCENE_OBJECT_HPP_
#include "Ray.hpp"
#include "Material.hpp"
class SceneObject {
public:
// Attempts to trace the given ray onto this object. If no collision
// occurs, the return value is false. If a collision occurs, a ray
// is returned containing the material values of th... | [
"dylanswiggett@gmail.com"
] | dylanswiggett@gmail.com |
64a7d1305dacf856ca1d874e0c957779688299be | 3b6ee14ff27aa37882cee98f16de21daf60f48aa | /DesignWorldApp/MainFrm.h | 4f5390341dfeb93c67d1d165d18066d3208cf88f | [] | no_license | seenunit/DesignWorld | 410aa01c274d9eac04b6ef52222d0273420f960b | 40d311b2ddf4dcc5c555689b3b4bf4a0c97f2c39 | refs/heads/client | 2021-01-18T21:21:03.688005 | 2017-07-01T07:57:19 | 2017-07-01T07:57:19 | 34,983,157 | 3 | 1 | null | 2016-04-04T12:35:26 | 2015-05-03T11:09:04 | C++ | UTF-8 | C++ | false | false | 1,537 | h |
// MainFrm.h : interface of the CMainFrame class
//
#pragma once
#include "FileView.h"
#include "ClassView.h"
#include "OutputWnd.h"
#include "PropertiesWnd.h"
class CMainFrame : public CMDIFrameWndEx
{
DECLARE_DYNAMIC(CMainFrame)
public:
CMainFrame();
// Attributes
public:
// Operations
public:
// Overrides
pu... | [
"seenunit@gmail.com"
] | seenunit@gmail.com |
17bfbe68ebd0abf874c7784bb510a3d1669972f2 | 0e227713c07dbbc686432913c69a95f7f047fdc8 | /finalProject/finalProject/greyShell.cpp | 8694c55bd0e5d0d9afec66fad551e1696e533cab | [] | no_license | MeetPuppet/2019-WIN-API | aecb2e2fa54515d6c7d6b4d730891ef600487315 | 1aa0056b5d6eebfd34b5ac538b4997862987e2f8 | refs/heads/master | 2022-12-20T02:24:04.899545 | 2020-10-20T04:57:43 | 2020-10-20T04:57:43 | 186,378,686 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 477 | cpp | #include "stdafx.h"
#include "greyShell.h"
greyShell::greyShell()
{
}
greyShell::~greyShell()
{
}
HRESULT greyShell::init(int x, int y, int sizeX, int sizeY)
{
objectNode::init("greyShell", x, y, sizeX, sizeY);
timenum = 0;
return S_OK;
}
void greyShell::update()
{
objectNode::update();
timenum++;
if (timen... | [
"gnslgns2000@naver.com"
] | gnslgns2000@naver.com |
f00cb7fe4d1750a9d81afb4c71cb92354c843d40 | 3a50c0712e0a31b88d0a5e80a0c01dbefc6a6e75 | /thrift/test/FieldRefBenchmark.cpp | 706f851ea29b5cc158903e35fe401137cd7bc28a | [
"Apache-2.0"
] | permissive | facebook/fbthrift | 3b7b94a533666c965ce69cfd6054041218b1ea6f | 53cf6f138a7648efe5aef9a263aabed3d282df91 | refs/heads/main | 2023-08-24T12:51:32.367985 | 2023-08-24T08:28:35 | 2023-08-24T08:28:35 | 11,131,631 | 2,347 | 666 | Apache-2.0 | 2023-09-01T01:44:39 | 2013-07-02T18:15:51 | C++ | UTF-8 | C++ | false | false | 2,109 | cpp | /*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* 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 appl... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
60cffa182c05651c2455580d86d29d7afa6aaad6 | f851cf2ca7644d8ad1c6690e167124c17d087f5e | /Personagem.cpp | ef9d6546c9902376b14663d14ead68822f8bd6df | [] | no_license | MateusMat/Elemantal_VS_Mal | a077de4aca8dc69ba966a5d1d74bb6d889bf85ac | 0d161e8170b98550f1f3218fb561c6d3be1968de | refs/heads/master | 2020-06-12T16:27:17.018211 | 2019-06-29T03:20:07 | 2019-06-29T03:20:07 | 194,358,782 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,531 | cpp | #include "Personagem.h"
using namespace Personagens;
Personagem::Personagem()
{
velocidadeX = 0.0;
velocidadeY = 0.0;
aceleracaoX = 0.0;
aceleracaoY = 0.0;
velMax = 0.0;
inercia = 0.0;
forcaPulo = 0.0;
gravidade = 0.0;
maxPulo = 0;
contPulo = 0;
contAnimacao... | [
"noreply@github.com"
] | noreply@github.com |
53cc9380c5a2ab04cd70a1ce7b13d37fa565cfa3 | 1f950ec13cc94459bea3f4f2903e688d123d4812 | /Brother_Task_Shader/main.cpp | baaf106b71856aef8711eb1ed1bf610929603070 | [] | no_license | katsuto-kawauchi/brother_task | b53a101257e331a0a61166fc377ca68fb0c5c74f | 8417417c8e75f0599983e1651943fb323824e822 | refs/heads/master | 2020-04-03T15:08:58.802944 | 2018-10-30T08:29:11 | 2018-10-30T08:29:11 | 155,352,373 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 21,893 | cpp | #pragma comment(lib,"d3d11.lib")
#pragma comment(lib,"d3dx11.lib")
#pragma comment(lib,"d3dx10.lib")
#pragma comment(lib,"d3dCompiler.lib")
#pragma comment(lib, "dinput8.lib")
#pragma comment(lib, "dxguid.lib")
#include <stdio.h>
#include <vector>
#include <d3dx11.h>
#include <d3dx10.h>
#include <DirectXMath.h>
#includ... | [
"katsuto-kawauchi@koeitecmo.co.jp"
] | katsuto-kawauchi@koeitecmo.co.jp |
a365cf2a2b1e41307d17a7af9ba25a6b009e5872 | 793c8848753f530aab28076a4077deac815af5ac | /src/dskphone/ui/t48/settingui/src/cdlgcustomforward.cpp | 6f654232844ca7141c334538bd497becd25f54f6 | [] | no_license | Parantido/sipphone | 4c1b9b18a7a6e478514fe0aadb79335e734bc016 | f402efb088bb42900867608cc9ccf15d9b946d7d | refs/heads/master | 2021-09-10T20:12:36.553640 | 2018-03-30T12:44:13 | 2018-03-30T12:44:13 | 263,628,242 | 1 | 0 | null | 2020-05-13T12:49:19 | 2020-05-13T12:49:18 | null | UTF-8 | C++ | false | false | 5,533 | cpp | #include "cdlgcustomforward.h"
#include "account/include/modaccount.h"
#include "settingui/include/modsettingui.h"
#include "qtcommon/qmisc.h"
#include "uikernel/languagehelper.h"
#include "uimanager/moduimanager.h"
#include "keymap.h"
#include "baseui/fontcolor.h"
#include "setting/src/callforwardcontroller.h"
CDlgCu... | [
"rongxx@yealink.com"
] | rongxx@yealink.com |
7679563da73d36201fbc00a0d67dceb06a22bfac | db1c300a95ec1e11263b78e0d2aab797fa812558 | /Construct_Binary_Tree_from_Inorder_and_Postorder_Traversal/cbtfiapt.cc | e1aeeb6b2cc8a99aa8e2f5b3314b67fdc763f6b5 | [] | no_license | graywzc/leetcode2 | cd218e9d0de2600f10a66aabc5602e0b075e824b | 243c5c5671d26a6b5c174faa43509876a28a3073 | refs/heads/master | 2016-09-06T15:52:20.846244 | 2015-05-30T20:11:37 | 2015-05-30T20:11:37 | 34,969,423 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,239 | cc | /**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(x), left(NULL), right(NULL) {}
* };
*/
class Solution {
public:
TreeNode* buildTree(const vector<int>& inorder,
int istart,
... | [
"graywzc@gmail.com"
] | graywzc@gmail.com |
020cb123aec4fe9bfc85b9417875f190b85df0e6 | c2239a4e2f88d072021113fe355c02eedefe9110 | /private/ToolZ/PositionService.cxx | 4afe8e6d912776abc11c28db9efa68a5d2856974 | [] | no_license | mzoll/ToolZ | d581258655c61a5958ed25004ee1d4b15cabd28c | 6f8dcaf439db172ad8c5248f71d644ffbe9566c7 | refs/heads/master | 2020-03-29T16:18:13.566897 | 2018-09-24T13:41:50 | 2018-09-24T13:41:50 | 150,108,017 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,056 | cxx | /**
* \file PositionService.cxx
*
* copyright (c) 2011
* the IceCube Collaboration
* $Id: IceHiveHelpers.cxx 144968 2016-04-20 22:52:24Z mzoll $
* @date $Date: 2013-10-22$
* @author mzoll <marcel.zoll@fysik.su.se>
*/
#include "ToolZ/PositionService.h"
#include <boost/foreach.hpp>
#include <boost/make_shared.h... | [
"marcel.zoll.physics@gmail.com"
] | marcel.zoll.physics@gmail.com |
c0815807a8e63c60bf6d54da7a462ba7c892dff6 | fb7efe44f4d9f30d623f880d0eb620f3a81f0fbd | /net/http/http_proxy_client_socket_wrapper.h | 3d0c27f741f6ee1a92a12708414c79eefa9e30c2 | [
"BSD-3-Clause"
] | permissive | wzyy2/chromium-browser | 2644b0daf58f8b3caee8a6c09a2b448b2dfe059c | eb905f00a0f7e141e8d6c89be8fb26192a88c4b7 | refs/heads/master | 2022-11-23T20:25:08.120045 | 2018-01-16T06:41:26 | 2018-01-16T06:41:26 | 117,618,467 | 3 | 2 | BSD-3-Clause | 2022-11-20T22:03:57 | 2018-01-16T02:09:10 | null | UTF-8 | C++ | false | false | 7,281 | h | // Copyright 2015 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 NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_WRAPPER_H_
#define NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_WRAPPER_H_
#include <stdint.h>
#include <memory>
#include... | [
"jacob-chen@iotwrt.com"
] | jacob-chen@iotwrt.com |
606bab50851eb5b8b34c3fb298e057efabdb181e | 780f8126f04a71080a229b9b72b6b69b6f7b49d7 | /multiview/multiview_cpp/src/perceive/cost-functions/features-2d/run-scharr.cpp | 2192c7adead2511742ebb7c9943de6cc23d99726 | [
"Apache-2.0"
] | permissive | shang766/multiview | b882ae5d1d84ee29609535c6a81b8a715453fcda | 1a03e14855292967ffb0c0ec7fff855c5abbc9d2 | refs/heads/main | 2023-08-28T19:35:11.279270 | 2021-10-03T01:14:22 | 2021-10-03T01:14:22 | 452,168,226 | 1 | 0 | Apache-2.0 | 2022-01-26T06:42:52 | 2022-01-26T06:42:51 | null | UTF-8 | C++ | false | false | 3,062 | cpp |
#include "features-2d.hpp"
#include "perceive/foundation.hpp"
#include "perceive/geometry/vector.hpp"
#include "perceive/graphics/colour-set.hpp"
#include <opencv2/core.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/imgproc/imgproc.hpp>
#include <opencv2/features2d/features2d.hpp>
#include <opencv2/x... | [
"everett@perceiveinc.com"
] | everett@perceiveinc.com |
94be2c3827807df886ed80becf07e7104a58cc34 | fe81eae22f5662b6b6dca838b6972be27ca63b2d | /aorus/AORUS/inc/kb/KbCfg.cpp | 236b31773491b9980cb9a0e63a4d10927afdbd1c | [] | no_license | josephx86/Aorus | d014c1d97131cfb7201ab0352b38e2bc4adb007e | 8f9dcd4a4b55176d4575d9309e8536fbc8008b60 | refs/heads/master | 2021-05-05T19:29:47.147219 | 2017-07-25T09:36:08 | 2017-07-25T09:36:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,414 | cpp | #include "StdAfx.h"
#include "KbCfg.h"
KB_CLR_CFG::_KB_CLR_CFG()
{
nCount = 1;
ZeroMemory(clrList, sizeof(COLORREF) * 10);
clrList[0] = 255;
}
KB_CLR_CFG::_KB_CLR_CFG(int nType)
{
switch(nType)
{
case 0:
clrList[0] = s_clrKbLed[0];
nCount = 1;
break;
case 1:
clrList[0] = s_clrKbLed[0];
clrList[1] = ... | [
"925350731@qq.com"
] | 925350731@qq.com |
8aadadc1a7827974a901c88b78b24d2d550986e9 | dc2e0d49f99951bc40e323fb92ea4ddd5d9644a0 | /SDK/ThirdLibrary/include/activemq-cpp/decaf/internal/DecafRuntime.cpp | 86d2a830d11975c1655b6fdb93f74f6e8a769d6a | [] | no_license | wenyu826/CecilySolution | 8696290d1723fdfe6e41ce63e07c7c25a9295ded | 14c4ba9adbb937d0ae236040b2752e2c7337b048 | refs/heads/master | 2020-07-03T06:26:07.875201 | 2016-11-19T07:04:29 | 2016-11-19T07:04:29 | 74,192,785 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,678 | cpp | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you... | [
"626955115@qq.com"
] | 626955115@qq.com |
0dbe5447ac2492031d8bb18cc2ad6ebd48bac8cc | fbd1bd8238aa7af82fa68f0fbc3e5e2b4bebb9c0 | /clock.cpp | f97da1a9984a5ce8c0873e6e6be5261469edf103 | [
"MIT"
] | permissive | Oscar-Rod/Thermostat | 785a42b4c7f76329dc78860aa3f75f0f473812ba | 83dfb4f89b03f37a64da784a1df80973174f4425 | refs/heads/main | 2023-03-01T22:57:57.184350 | 2021-02-03T18:24:55 | 2021-02-03T18:24:55 | 332,833,599 | 0 | 0 | MIT | 2021-02-03T18:24:55 | 2021-01-25T17:50:45 | C++ | UTF-8 | C++ | false | false | 828 | cpp | #include "clock.h"
Clock::Clock() {
}
void Clock::init() {
Wire.begin();
clockModule.setClockMode(false);
}
void Clock::setTime(int hour, int minute, int second) {
clockModule.setHour(hour);
clockModule.setMinute(minute);
clockModule.setSecond(second);
}
int Clock::getTime(int *hour, int *minute, int *se... | [
"rguez.r.os@gmail.com"
] | rguez.r.os@gmail.com |
5011a39e3fea2204fbf6f81870612ec0269f4c72 | 59138b1b34e2a9356ad7154a9705007349209e9a | /platform/JS/V8/v8/test/cctest/test-macro-assembler-mips.cc | c00b8e65a19f7599f373fb524b2ca376929741f8 | [
"BSD-3-Clause",
"bzip2-1.0.6",
"SunPro",
"Apache-2.0"
] | permissive | gboyraz/macchina.io | 6b879fca2329e7060122adfc691b4870d4dc06ac | de79c4d2eace01e24d685ac7f7c2e8aadf6b2668 | refs/heads/master | 2020-06-29T13:18:05.975243 | 2019-08-04T22:43:08 | 2019-08-04T22:43:08 | 200,547,738 | 2 | 0 | Apache-2.0 | 2019-08-04T22:29:19 | 2019-08-04T22:29:19 | null | UTF-8 | C++ | false | false | 57,987 | cc | // Copyright 2013 the V8 project authors. All rights reserved.
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of ... | [
"guenter.obiltschnig@appinf.com"
] | guenter.obiltschnig@appinf.com |
02554a3ef3162531d98ec7e3fa683c8a17eaa75a | 89870ca1f16af0f2ba65ec0175cd089da852afbc | /codeforces/round-737-div-2/c.cpp | 90e3c2dd6745a05279a7185f3eb4059d68db05de | [] | no_license | Merisho/comprog | 3b8ce833f0f16dbcfa252f9c6678c160bf081a11 | fb4829ba93fcb376078a5baccda0c07ce35d6d04 | refs/heads/master | 2023-08-18T00:10:45.535195 | 2023-08-11T07:16:02 | 2023-08-11T07:16:02 | 216,174,595 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,560 | cpp | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
constexpr ll MOD = 1e9 + 7;
ll binexp(ll n, ll e, ll p) {
if (e == 0) {
return 1;
}
if (e % 2 == 0) {
ll a = binexp(n, e / 2, p);
return (a * a) % p;
}
return (binexp(n, e - 1, p) * n) % p;
}
ll modinv(ll n, ll p) {
return binexp(n, p -... | [
"merishot@gmail.com"
] | merishot@gmail.com |
7e1501dd5f12879f2f22719b0a5d910bc623774b | afabc850e37f3d0242cef7af838236f9b863a30e | /tests/set_gravity.cpp | 23024c2dfc149c9a1f608f328e1370698f6f89bc | [
"BSD-2-Clause",
"BSD-3-Clause"
] | permissive | resibots/tsid | ca7057cdd8c3d5dde11fe5f9bf7dd6f6af6d7ce8 | b0d6bff80292fb3451ca7ca438a4ab84b5b8c022 | refs/heads/master | 2023-03-07T14:33:32.767574 | 2021-10-19T14:17:22 | 2021-10-19T14:17:22 | 251,612,829 | 1 | 0 | null | 2020-04-21T07:51:17 | 2020-03-31T13:36:42 | null | UTF-8 | C++ | false | false | 1,704 | cpp | //
// Copyright (c) 2017 CNRS
//
// This file is part of tsid
// tsid is free software: you can redistribute it
// and/or modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation, either version
// 3 of the License, or (at your option) any later version.
// tsid... | [
"noreply@github.com"
] | noreply@github.com |
ccda5af3e7a546b7549e05cac8ec9b8ee73b9375 | d47ed5449b8cda84f4343750f122a09ef537b090 | /Source/Game/public/SGameMode.h | cd3c17714b3797761a6aa96cac68388b191c301b | [] | no_license | Helaly96/UE4-BarthGame | 1993b5631e96117b0ec81c0d4f4f5a7f1cbab331 | 7119885a8fc7d2d3d8641a6d81faa8f3710b2581 | refs/heads/master | 2022-09-25T10:50:45.477744 | 2020-06-05T00:46:14 | 2020-06-05T00:46:14 | 266,905,577 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,155 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/GameModeBase.h"
#include "SGameMode.generated.h"
DECLARE_DYNAMIC_MULTICAST_DELEGATE_ThreeParams(FOnActorKilled ,AActor*, KillerActor, AActor*, KilledActor,AController *,KillerCo... | [
"zfaesu@gmail.com"
] | zfaesu@gmail.com |
1340b1353eb635b903b4f14353a07de75ee36a0d | 62232f6b7a23f990ccb781ce157dc0be91eac80c | /Engine/Source/Mesh/Mesh Overlay.cpp | 377d23c5ad95c6330503a651cd073d17e9d6dbc1 | [
"LicenseRef-scancode-other-permissive",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | randydom/EsenthelEngine | 152adb45bac2e0f4a579f6479f209402c227708e | 4164781a2d906b136f66da2a021d649533a15ba9 | refs/heads/master | 2020-07-21T02:44:51.579450 | 2019-09-03T08:24:02 | 2019-09-03T08:24:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,835 | cpp | /******************************************************************************/
#include "stdafx.h"
namespace EE{
/******************************************************************************/
#define CC4_MSOV CC4('M','S','O','V')
/******************************************************************************/
stati... | [
"esenthel@hotmail.com"
] | esenthel@hotmail.com |
0ce1705be0ac31f1e99b5a49599c1200ff88361a | 17f2dd4fde9cbcd9b3b0cd101fc740d3495bbe80 | /165 - 红黑树/RedBlackTree.hpp | 3fb9d65f73f1e5745b5d1f036505554ddece371c | [
"Apache-2.0"
] | permissive | NekoSilverFox/CPP | 0a7f48b50ee1769bb5ba318fb6fb6c6c342e5544 | c6797264fceda4a65ac3452acca496e468d1365a | refs/heads/master | 2021-11-11T17:48:48.514822 | 2021-11-01T20:30:31 | 2021-11-01T20:30:31 | 230,780,197 | 11 | 7 | null | 2021-04-11T22:24:56 | 2019-12-29T17:12:19 | C++ | GB18030 | C++ | false | false | 8,178 | hpp | #pragma once
#include "MyErrorInfo.h"
#include <iostream>
#define red true
#define black false
class RedBlackTree
{
private:
struct Node
{
Node() : key_(0), colour_(red), p_(nullptr), left_(nullptr), right_(nullptr) {}
Node(int key) : key_(key), colour_(red), p_(nullptr), left_(nullptr), right_(nullptr) {}
in... | [
"weidufox@gmail.com"
] | weidufox@gmail.com |
9ebfe0b30acf0a05a4de133c45ce19f2f0b88a20 | 6768858dfdb0aec72ff95ed78e32760bc7198347 | /Sorting Algorithm/Algorithm_assignment/main.cpp | 1451dafed9fa112b7af3d8d6d421395df19e95f6 | [] | no_license | dhk1349/Algorithm | fe58f8d6bd48e02f30005f0ff440af7888a04424 | a9d547fa16eedf1338d049700688f3545b5b8686 | refs/heads/master | 2021-12-30T16:48:10.813904 | 2021-12-27T16:57:09 | 2021-12-27T16:57:09 | 194,836,267 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 509 | cpp | #include<iostream>
#include<fstream>
#include <string>
#include <ctime>
#include "Sorting_algorithm.h"
using namespace std;
int main() {
int testarr[15000];
int result=get_arr("test_array.csv",testarr,15000);
//ERROR
if (result == -1) {
cerr << "\tFailed to load array file!\n";
return -1;
}
//
clock_... | [
"dhk1349@naver.com"
] | dhk1349@naver.com |
18a5aeda1b3358b41fc847a8057a50df9cc49512 | 8784d329b85af404060555631e47887258f4cc4b | /libHttp/lib_socket.h | 05950423733db3828033cb03bfd727e72283b8c1 | [] | no_license | mojo55aa/libHttp | d0a5285f64ca6b1351e447b1aed98b62137a11ca | 0ecd0f80978f8dd502060d1e5a5df8bdf572c53d | refs/heads/master | 2020-04-21T07:01:57.413947 | 2019-02-08T02:55:07 | 2019-02-08T02:55:07 | 169,382,006 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 613 | h | //#pragma once
#include <string>
#define _WINSOCK_DEPRECATED_NO_WARNINGS
#define DNS_ERROR "dns_err"
#ifdef __LINUX__
#include <sys/socket.h>
#define INVALID_SOCKET -1
typedef int SOCKET;
#else
#include <WinSock2.h>
#pragma comment(lib, "ws2_32.lib")
#endif // __LINUX__
class LIBSocket
{
public:
LIBSocket()... | [
"format0103@163.com"
] | format0103@163.com |
38cb27f00fe1c71e9743989fe7b1091dc0e2f9dd | e9fd7bc03ba68c04ee5dccb683158a59b4b9ad21 | /A1120.cpp | 79cc3314d5b4492a5efcfde9c2f4fd8335309dd6 | [] | no_license | LittleVolcano/MY-PAT | 77cc0890611106be797eb0e85d73efd9108c73b4 | 0489bb5ff1913ac4b8458368f391b47e36ea70e1 | refs/heads/master | 2021-05-09T03:53:41.683631 | 2018-04-08T03:06:52 | 2018-04-08T03:06:52 | 119,255,216 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 498 | cpp |
#include<stdio.h>
int main()
{
int a[50] = {0};
int n;
int temp;
int friid;
int sum = 0;
int flag = 0;
scanf("%d",&n);
for(int i = 0;i < n; ++i)
{
friid = 0;
scanf("%d",&temp);
while(temp != 0)
{
friid += temp % 10;
temp /= 10;
}
a[friid]++;
}
for(int i = 0;i < 50; ++i)
{
if(a[i] != 0 ... | [
"495328602@qq.com"
] | 495328602@qq.com |
6da92fb60696181195412c98b4f98a06af53716c | d928143913c7b298b7bc637c2dcfa2ae617229e7 | /src/System/SilentSoundSystem/SilentSoundBuffer.cpp | c6af19b974cb0439f59decd8e5c424ee2673b943 | [] | no_license | hackerlank/Mengine | d7e649c29ab6cfd861bd85c75e514939ba7a09d6 | 108491a9ef86946fc4abed0662b0beafbde4fda4 | refs/heads/master | 2021-01-12T06:19:27.136456 | 2016-12-13T00:55:25 | 2016-12-13T00:55:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,284 | cpp | # include "SilentSoundBuffer.h"
# include "Interface/SoundCodecInterface.h"
# include <time.h>
namespace Menge
{
//////////////////////////////////////////////////////////////////////////
static float s_getTimeMs()
{
clock_t cl = clock();
float sec = (float)(cl) / float(CLOCKS_PER_SEC);
ret... | [
"yuriy_levchenko@202150c4-1a32-4ab8-af31-e3358ecdd631"
] | yuriy_levchenko@202150c4-1a32-4ab8-af31-e3358ecdd631 |
175bbb66a0cda3a1f10859f6af0b90874134652f | cd9c4670683df414f814928ec69778c13095f862 | /SpotVMFrame/SpotVMFrame/mutation.cpp | 801c32f0e0995fd1a6a0c34f4cfa20178faca145 | [] | no_license | amelieczhou/hybrid-dynamic-workflow-scheduling | a1d82d0ec110cf099c0eab37984622fb2c5dbf2b | c13d8d1aaaee95a9262a530d91746309b081c25c | refs/heads/master | 2020-12-25T18:20:30.888574 | 2015-01-13T03:37:29 | 2015-01-13T03:37:29 | 32,119,838 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,278 | cpp | #include "stdafx.h"
#include "mutation.h"
extern std::vector<individual* > generation; //initial size = populationsize
extern std::vector<individual* > variation; //initially empty
extern std::vector<individual* > matingpool;
int mu = 10;
int solutionsize = 10;//20;//for epi
float variable_swap_probability = ... | [
"andyzhang870914@gmail.com@0f0f248c-0e70-7bf0-40e6-9a9aec565ee8"
] | andyzhang870914@gmail.com@0f0f248c-0e70-7bf0-40e6-9a9aec565ee8 |
96cc75bb4e878114dc87de4300e61070f537ce61 | 3ded37602d6d303e61bff401b2682f5c2b52928c | /ml/013/Classes/View/MachineView.h | 808f5ec4562c4acea8e15bca3b723637f0ce20bd | [] | no_license | CristinaBaby/Demo_CC | 8ce532dcf016f21b442d8b05173a7d20c03d337e | 6f6a7ff132e93271b8952b8da6884c3634f5cb59 | refs/heads/master | 2021-05-02T14:58:52.900119 | 2018-02-09T11:48:02 | 2018-02-09T11:48:02 | 120,727,659 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,145 | h | //
// MachineView.h
// Make
//
// Created by liji on 15/5/28.
//
//
#ifndef __Make__MachineView__
#define __Make__MachineView__
#include <stdio.h>
#include "cocos2d.h"
USING_NS_CC;
class MachineViewDelegate
{
public:
virtual void allStepFinished(){};
};
class MachineView : public Layer
{
public:
CREATE_... | [
"wuguiling@smalltreemedia.com"
] | wuguiling@smalltreemedia.com |
61c61ac3e66e4f56395f2d311e1a854d3dcbc737 | 6ae42ae04953d0bd619554b2191ae4a63adec3d0 | /PlistToFnt/dialog.cpp | a19d2e4c8853b8c3a7ccf1c31d4fb4f04695e030 | [] | no_license | wolfand11/Tools_PlistToFnt | ce0a0138dc8f6bac98300060c9507341fe757426 | 51a5b3d893d00edcf4a8a4cfed02aa42fddfb4b3 | refs/heads/master | 2016-09-05T18:04:12.857367 | 2013-12-10T11:42:23 | 2013-12-10T11:42:23 | 14,587,375 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,880 | cpp | #include "dialog.h"
#include "ui_dialog.h"
#include <QFileDialog>
#include <QDir>
#include "gsetting.h"
#include "./libs/qtplist/PListParser.h"
#include "./libs/qtplist/PListSerializer.h"
#include "./libs/fnt/fntserializer.h"
#define kPlistFileSuffix ".plist"
#define kFntFileSuffix ".fnt"
Dialog::Dialog(QWidg... | [
"smile_guodong@163.com"
] | smile_guodong@163.com |
9fc4222e178dc2ac51fd665ee8fca3e6e40e08f5 | 3d5f96474b2596fe743a87323285c79aae047185 | /GLES3/GLES/HelloScene.cpp | 890dcc2cda32c21c6cd60660ddd75013e9665bcf | [] | no_license | 1414648814/GLES3 | 932dda44c6e79767cc1a3a54798e8be79ef3750c | 8a4fd6e61fcfef37f53783136255f2c1623712f8 | refs/heads/sceneisnode | 2021-01-22T04:14:46.233071 | 2017-02-12T07:22:59 | 2017-02-12T07:22:59 | 81,521,232 | 0 | 0 | null | 2017-02-12T07:22:59 | 2017-02-10T03:14:17 | C++ | UTF-8 | C++ | false | false | 802 | cpp | //
// HelloScene.cpp
// GLES
//
// Created by staff on 2016/12/27.
// Copyright © 2016年 George1994. All rights reserved.
//
#include "HelloScene.h"
#include "CCGame.h"
HelloScene::HelloScene() : Scene() {
}
HelloScene::~HelloScene() {
}
Scene* HelloScene::scene() {
HelloScene* scene = new HelloSc... | [
"1414648814@qq.com"
] | 1414648814@qq.com |
dafca8af74d70cd289ebd105cd4010a1bed9d6fb | bac010ab15283d0ec3f7bbe33f5ce2a0c28a822c | /SCANF6.CPP | 836dbf321b511725c7653c6050680b61f2be43d2 | [
"MIT"
] | permissive | sonu2016-stack/CPP_Programming_Language_Practice_Code | 8d12073e2544c891d9cbd322b784f92c7c16fbc6 | 50b143124690249e5dbd4eaaddfb8a3dadf48f1f | refs/heads/master | 2023-04-28T22:17:18.459328 | 2021-05-16T21:27:21 | 2021-05-16T21:27:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 345 | cpp | //Program to Swap or Interchange the Value Using Third Variable
#include<stdio.h>
#include<conio.h>
main()
{
int a,b,c;
clrscr();
printf("Enter the Value of a= ");
scanf("%d",&a);
printf("Enter the Value of b= ");
scanf("%d",&b);
c=a;
a=b;
b=c;
printf("\nAfter Swapping Value of a= %d",a);
printf("\nAfter Swapping Value... | [
"Kumarashish79924@gmail.com"
] | Kumarashish79924@gmail.com |
944ccb4ba5c429aac8884b42b275dee4bd9baa0a | 8dcf1479ce569ffad7b607dd3d43115e3c8ebc41 | /DaQinBot/Source/MapTools.cpp | 8b317b04f602bd2e7006826417b349833978807b | [] | no_license | liongis/DaQin | 3d628aa481a4fcaa72582728851341863dece6bb | f851984c34b60da2bfa51baa3355e69153a617d3 | refs/heads/master | 2020-03-30T20:39:39.900596 | 2018-12-12T07:59:15 | 2018-12-12T07:59:15 | 151,597,967 | 8 | 0 | null | null | null | null | GB18030 | C++ | false | false | 25,001 | cpp | #include "MapTools.h"
#include "BuildingPlacer.h"
#include "InformationManager.h"
const double pi = 3.14159265358979323846;
namespace { auto & bwemMap = BWEM::Map::Instance(); }
namespace { auto & bwebMap = BWEB::Map::Instance(); }
using namespace UAlbertaBot;
MapTools & MapTools::Instance()
{
static MapTools ... | [
"liongis@163.com"
] | liongis@163.com |
8bb3dfade91d35731dc58e39ace895c2cb94d16c | 77f8410a1b13402b33806ac45263a61d0c3aba90 | /v8/src/builtins/builtins-collections-gen.cc | 476c4833f71d0542cf506cb0d1ac65b26e982e23 | [] | no_license | ngot/libv8 | 93d5a874cffce7373bb13f4cba343d7e906524a5 | 34abbc81c745a896221918e75dc8658337c7a1f1 | refs/heads/master | 2021-06-26T07:31:23.672284 | 2017-09-15T16:22:01 | 2017-09-15T16:22:01 | 103,535,365 | 17 | 8 | null | null | null | null | UTF-8 | C++ | false | false | 72,012 | cc | // Copyright 2017 the V8 project 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 "src/builtins/builtins-constructor-gen.h"
#include "src/builtins/builtins-iterator-gen.h"
#include "src/builtins/builtins-utils-gen.h"
#include... | [
"zhuanghengfei@gmail.com"
] | zhuanghengfei@gmail.com |
5483e62b35f56845325429369351c2de3374ab7e | a0bdedcc814dfcbf6f1742c398b64a31619af4df | /ideccmbd/gbl/JobIdecStereo_blks.cpp | 679c968af03cbea563358db9fb24041f3e07f981 | [
"BSD-2-Clause"
] | permissive | mpsitech/idec_public | ec7231939b8987fd66482d99276609e16d4ad3f7 | a74cf1c7095e08ee61b237fddc1642f83dbb852d | refs/heads/master | 2021-05-13T20:43:55.046131 | 2018-06-09T16:11:30 | 2018-06-09T16:11:30 | 116,916,593 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,209 | cpp | /**
* \file JobIdecStereo_blks.cpp
* job handler for job JobIdecStereo (implementation of blocks)
* \author Alexander Wirthmueller
* \date created: 30 Dec 2017
* \date modified: 30 Dec 2017
*/
/******************************************************************************
class JobIdecStereo::VecVSge
***... | [
"mpsitech@ungenio.local"
] | mpsitech@ungenio.local |
d7877543ead429ced221511f784b137a8d1503f3 | dbaa90195352be895c97e92d1391d3df1314b1b8 | /xTen/src/graphics/mesh.cpp | 51332139d4bcfe56d999fb5f0851f52e0afef27d | [] | no_license | paubertin/xTen_old | 08610a81a3d43f73b9162090400eb9c531461aa3 | 9412b611ae9a8867a8b9b4d9907e99e064a63a97 | refs/heads/master | 2021-06-01T10:13:53.441813 | 2016-07-06T23:41:16 | 2016-07-06T23:41:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,424 | cpp | #include "mesh.h"
#include "../utils/utils.h"
#include "../maths/xmaths.h"
#include "texturemanager.h"
namespace xten { namespace xgraphics {
Mesh::MeshEntry::MeshEntry() :
m_VAO(NULL), m_VBO(NULL), m_IBO(NULL), numIndices(NULL), materialIndex(NULL)
{
}
Mesh::MeshEntry::~MeshEntry()
{
GLCall( glDeleteBuffer... | [
"paubertin@gmail.com"
] | paubertin@gmail.com |
4ef662429e50863f690dd73786eb250f3ae20629 | ed2aa12a14dd8594b303bb508923bdda3a62eeb9 | /PhotonChat/LoadBalancing-cpp/inc/Enums/MatchmakingMode.h | a16798abd987717bfcb9546a076821d8b9a0586d | [
"MIT"
] | permissive | anhtrangg/PhotonChat | c7e83dae1107746abc83f43e541ae4b85ed54dd0 | 4bd5788fe4ec89dab83ae01d7f372b6e9bd5ebc9 | refs/heads/master | 2023-04-12T09:53:53.273785 | 2021-05-17T08:27:32 | 2021-05-17T08:27:32 | 364,878,364 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,009 | h | /* Exit Games Photon LoadBalancing - C++ Client Lib
* Copyright (C) 2004-2020 by Exit Games GmbH. All rights reserved.
* http://www.photonengine.com
* mailto:developer@photonengine.com
*/
#pragma once
#include "Common-cpp/inc/Common.h"
namespace ExitGames
{
namespace LoadBalancing
{
/**
Opt... | [
"anh.tran@gogame.net"
] | anh.tran@gogame.net |
209e60843b7e137a184b774f69aa6413fa1b492c | 6a47b5f04c74ed475b632e6561a675135e3baa80 | /core/api/service/chain/impl/chain_api_impl.hpp | 2957da258faf16eca6f9ff62966c090ca802cdca | [
"Apache-2.0"
] | permissive | DiamondNetwork/kagome | 3f89afcc7432c7047b2ce2a3ef6bf7a6ee878423 | c018130a5595eeb69e439ea4695c7b7db1c7ee43 | refs/heads/master | 2023-08-05T01:19:31.739959 | 2021-10-08T14:01:45 | 2021-10-08T14:01:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,661 | hpp | /**
* Copyright Soramitsu Co., Ltd. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef KAGOME_CHAIN_API_IMPL_HPP
#define KAGOME_CHAIN_API_IMPL_HPP
#include <memory>
#include "api/service/chain/chain_api.hpp"
#include "blockchain/block_header_repository.hpp"
#include "blockchain/block_storage.hp... | [
"noreply@github.com"
] | noreply@github.com |
5951799d160e1ed2d6c5c324d7663fce377040b0 | b0f2009e1c70d729574295697cc0d5d1dd465e97 | /labo/2015-2016/04/02.ino | d9ed29a9b2b76b3552d82d14bf9bc471a3109e43 | [] | no_license | oberonlievens/computertechnologie-3 | 36a60c54abdaefc8e29466299e9c41ac9c81ef3b | 1ef8502574def922039d5d261ac46440f753ea56 | refs/heads/master | 2022-04-02T19:07:56.006781 | 2020-01-30T09:06:09 | 2020-01-30T09:06:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 435 | ino | #include <TimerOne.h>
int minute = 0;
int second = 0;
void setup() {
Timer1.initialize(1000000);
Timer1.attachInterrupt(timerIsr);
Serial.begin(9600);
}
void loop() {
minute < 10 ? Serial.print("0"):false;
Serial.print(minute);
Serial.print(":");
second < 10 ? Serial.print("0"):false;
Serial.println(... | [
"hello@haroen.me"
] | hello@haroen.me |
a12d7911d81f783de4df4204b3938ce06c3704d3 | 7044c0e66ed48d47dae188c2a2ab22ee6fd63ec3 | /src/Player.hpp | 91f04205af7da521e08bf7cf4c126239e49c3e46 | [] | no_license | fatumlegion/pelly | dba73fd20d9e92ddece6195364a7c31ed93b7285 | f4c51b79e3478648f4d91d7e6242174afff62d36 | refs/heads/master | 2016-08-04T20:32:35.147345 | 2013-08-21T01:30:37 | 2013-08-21T01:30:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 546 | hpp | #ifndef PLAYER_HPP
#define PLAYER_HPP
#include <SFML/Graphics.hpp>
#include "Block.hpp"
class Player
{
private:
sf::Sprite self;
bool right, left, moving, canJump, revGrav, canRotate, inRotation;
sf::Vector2f pos;
float xs, fric, grav, currentRotation, targetRotation;
sf::FloatRect box;
public:
Player(sf::Texture... | [
"fatumlegion@gmail.com"
] | fatumlegion@gmail.com |
e7b0716dd88c67d53c548157167a627d939366d7 | 0c1f5efe63ded94e7c5d3f3eec7ffa17e7e2ccd8 | /Smart_House.ino | 1dac4aae9dd7fca0dd1286dc40b29e5400ddfff5 | [] | no_license | nancy9taya/Smart_House | 404fb66c484b0715e13ffd5cc8e6d98e11d4af0c | 94310aa6d4e12f3327955ed23c4240f9f2a24243 | refs/heads/master | 2022-05-12T14:46:24.891455 | 2020-04-28T02:53:42 | 2020-04-28T02:53:42 | 259,439,090 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,855 | ino | #include<Keypad.h>
#include<LiquidCrystal.h>
LiquidCrystal lcd(A1,A2,3,2,1,A3);
const byte ROWS = 4;
const byte COLS = 4;
char KeyMap[ROWS][COLS] = {
{'7', '8', '9', '*'},
{'4', '5', '6', '/'},
{'1', '2', '3', '-'},
{'#', '0', '=', '+'}
};
byte rowPins[ROWS] = {11, 10, 9, 8};
byte colPins[COLS] = {7,6, 5,... | [
"nancy.hassan1998@gmail.com"
] | nancy.hassan1998@gmail.com |
6aa3b8afde4d7bb2ba2cb3e5ed63fe53a78044f6 | c7f254879ddbc7e14120c6ae7afa8f104fe44e57 | /NanoguiModule/nanogui/label.h | 40f652f2bad2cb30acba3e49fddaef660117f19f | [] | no_license | Hurleyworks/NanoguiBlock | 6926bb57dae837a9f6ef782dbfbd572c0cd75be8 | b3dd7edfa8c1c865b70bf68daebf041259dc4578 | refs/heads/master | 2021-01-10T17:55:46.177295 | 2016-11-08T20:16:25 | 2016-11-08T20:16:25 | 45,840,075 | 11 | 13 | null | 2020-04-18T03:48:05 | 2015-11-09T13:38:21 | C++ | UTF-8 | C++ | false | false | 1,827 | h | /*
nanogui/label.h -- Text label with an arbitrary font, color, and size
NanoGUI was developed by Wenzel Jakob <wenzel@inf.ethz.ch>.
The widget drawing code is based on the NanoVG demo application
by Mikko Mononen.
All rights reserved. Use of this source code is governed by a
BSD-style license... | [
"github@hurleyworks.com"
] | github@hurleyworks.com |
e2f3e32e8fc8cd12c0bae06a54c1165edf919a10 | 29dc7d8a031e7f686dc223d054cdd3ee62058371 | /Networking/Network/Src/MemoryStream.cpp | 6e64e31308cef98d46412476aef02df60b47265b | [] | no_license | teddysot/Engine | c4ca8503762570027662e28b4a4a7c6784bcbc3b | 2aaf6cdc566e7b83fd805998c708415882d288ae | refs/heads/master | 2020-04-07T21:31:30.938297 | 2018-11-22T18:00:57 | 2018-11-22T18:00:57 | 158,730,601 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,729 | cpp | //====================================================================================================
// Filename: MemoryStream.cpp
// Created by: Peter Chan
//====================================================================================================
#include "Precompiled.h"
#include "MemoryStream.h"
using... | [
"earth_sot@hotmail.com"
] | earth_sot@hotmail.com |
6127da0c80ed45d083b9e43a73a58508665871c7 | ced632b0a81654ec9ea3f270e2e51d36170dd050 | /src/localization/src/frombfl/mobile_robot.h | da3e93d8fb332fb51c3fadaec4dad849421f169f | [] | no_license | lian16thu/RoboCup | 4a0b84f54a6253a1284e3922c54210bb8239087b | 95dbd5753be3f0391176420ec2cb012d8fda59fe | refs/heads/master | 2020-04-30T15:21:31.379146 | 2019-03-21T10:04:40 | 2019-03-21T10:04:40 | 176,918,206 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,766 | h | // $Id: mobile_robot.h tdelaet $
// Copyright (C) 2006 Tinne De Laet <first dot last at mech dot kuleuven dot be>
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation; either version 2... | [
"lian16thu"
] | lian16thu |
b60fea8cc6b976d323fae0dda2e654c378a55b4b | 1513f7e79a7142c933636066908b79ebc131f10e | /squashfs-root/usr/include/KF5/KI18n/kuitmarkup.h | e17073b72afc7922f210223501eeeee7992b54b7 | [] | no_license | softwarenerd7/eXternOS-Base | 1e11dd26ae2dfebe77cf3a46c0e6925bc7f83542 | 2e202775e52dd69352b7325d270090323121111d | refs/heads/master | 2023-01-12T10:31:48.635447 | 2020-11-17T21:08:36 | 2020-11-17T21:08:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,502 | h | /* This file is part of the KDE libraries
Copyright (C) 2013 Chusslove Illich <caslav.ilic@gmx.net>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of th... | [
"anesuemail@gmail.com"
] | anesuemail@gmail.com |
62a62f70f7dc2c66e011312594ee24329e8aedff | ae956d4076e4fc03b632a8c0e987e9ea5ca89f56 | /SDK/TBP_UI_Quest_Objective_Notification_Item_functions.cpp | c8c3277f475af07bf35576662f13557157ddaee3 | [] | no_license | BrownBison/Bloodhunt-BASE | 5c79c00917fcd43c4e1932bee3b94e85c89b6bc7 | 8ae1104b748dd4b294609717142404066b6bc1e6 | refs/heads/main | 2023-08-07T12:04:49.234272 | 2021-10-02T15:13:42 | 2021-10-02T15:13:42 | 638,649,990 | 1 | 0 | null | 2023-05-09T20:02:24 | 2023-05-09T20:02:23 | null | UTF-8 | C++ | false | false | 3,116 | cpp | // Name: bbbbbbbbbbbbbbbbbbbbbbblod, Version: 1
#include "../pch.h"
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Functions
//-----------------------------------... | [
"69031575+leoireo@users.noreply.github.com"
] | 69031575+leoireo@users.noreply.github.com |
6c6a5fd5de14e43e38cef7a7007f649fb01e95e0 | 745a45b6bcf85fe497fc1acd06ef0b68b934626a | /suif/suif2b/suifbrowser/visual/vtcl.h | 835c8fbebe7351d1cca1d31e82a6b5b4c4dfea2d | [] | no_license | jrk/suif2 | e7c9f5e644f30422f7735837734e34248115cd2c | 6f4dee1a906cfd00d3b57a7ead6f9fc807d7455d | refs/heads/master | 2021-01-23T11:54:36.487230 | 2011-03-23T03:18:28 | 2011-03-23T03:18:28 | 1,514,729 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,211 | h | #ifndef VTCL_H
#define VTCL_H
//#include <sty.h>
#include "common/suif_list.h"
#include "vcommands.h"
#include <tcl.h>
#include <tk.h>
#include <stdlib.h>
#include <string.h>
#include "suifkernel/suifkernel_messages.h"
/* globals */
extern Tcl_Interp *v_interp; // Visual interpreter
/*
* tcl command interface clas... | [
"jrk@csail.mit.edu"
] | jrk@csail.mit.edu |
a4b3546f8dca8a4f9748227b4c3cdb0405a781cf | 45ae4cf99ef88c0348619030b9378a5f44a15e5f | /src/rnnhubo/rnn.cpp | a911acd98fdbc0bac4bd5c58974d6ee37accb2cd | [] | no_license | datemoon/rnn_lm_score | d24f5d70072f52d60a3b08d70b70d24e20a3d364 | 1ab69d656883f1fe846deeff484c7a33282108d1 | refs/heads/master | 2020-06-12T07:14:51.903019 | 2019-06-28T07:53:25 | 2019-06-28T07:53:25 | 194,229,279 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,505 | cpp | #include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include "rnn.h"
void Rnn::LoadRNNLM(string modelname)
{
LoadTextRNNLM(modelname);
}
void Rnn::LoadTextRNNLM (string modelname)
{
int i, a, b;
float v;
char word[1024];
FILE *fptr = NULL;
// read model file
fptr = ... | [
"hubo@1057277483@qq.com"
] | hubo@1057277483@qq.com |
4ee9971c1889457b7af52d00f74d25fe3d3dbebe | bba8ad0d783119c7d9a413b4ead7654ed074fc2a | /Volume116/11624 - Fire.cpp | 0da7714b75d9c8c01677c9a2addd5d69115b72d9 | [] | no_license | m00p1ng/UVa-problem | 08d1298225a7d2bffef3e99ff33fd2f940d7924c | 9517304685e6681e7027335dbbea20f643d5fc37 | refs/heads/master | 2023-04-04T10:51:12.141260 | 2021-04-16T23:08:27 | 2021-04-16T23:08:27 | 81,700,393 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,535 | cpp | #include <cstdio>
#include <cstring>
#include <queue>
using namespace std;
int r, c;
int si, sj;
char board[1010][1010];
bool visited[1010][1010];
int fire[1010][1010];
int dr[] = {1, -1, 0, 0};
int dc[] = {0, 0, -1, 1};
typedef pair<int, int> ii;
typedef pair<int, ii> iii;
bool is_valid(int i, int j, int d) {
... | [
"mongkonchai4412@gmail.com"
] | mongkonchai4412@gmail.com |
b45a7be7429bc43e6fc6986cc06cc55538211716 | ba305b9bb38e6d9539f01400c180af4f93b3f567 | /quic_stream_factory.cc | 279b5eb993b1f09e1b0264ccacf778855f69d21e | [] | no_license | velicue/quic_codes | 2759ffff82f8741f99ef77bbef35fc4432d2925c | a0393aeccccb45ac40e8ece076f8fd026fe6b3d7 | refs/heads/master | 2021-01-01T18:38:33.596665 | 2014-07-19T00:50:19 | 2014-07-19T00:50:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 32,393 | cc | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "net/quic/quic_stream_factory.h"
#include <set>
#include "base/cpu.h"
#include "base/message_loop/message_loop.h"
#include "base/message_lo... | [
"chenming.eecs@pku.edu.cn"
] | chenming.eecs@pku.edu.cn |
0c9bc57859f194698df7543260efaf70cf289d54 | e4df4dd3c33ecb4b04b433330c0dbe3fcf7c5c4e | /AStar/UI/UIManager.h | 7f2d9619ba686a9cc47128bc164d000e201fdabd | [] | no_license | soelusoelu/AStar | 0b0d9dc0021c940b45bc36d04c858f86c7b134a4 | c8006ecf0e6c54340f1a9586ad43bf80c8973047 | refs/heads/master | 2020-11-24T07:51:06.623562 | 2019-12-14T14:43:28 | 2019-12-14T14:43:28 | 228,038,146 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 512 | h | #pragma once
#include "../Utility/IManager.h"
#include <list>
#include <memory>
class UI;
class UIManager : public IManager<UI> {
public:
UIManager();
~UIManager();
virtual void update() override;
virtual void draw() const override;
void add(UI* add);
virtual void remove() override;
virt... | [
"llmn.0419@gmail.com"
] | llmn.0419@gmail.com |
64178d56059f9b8209762d8ceeec9448faedb734 | 0b6aa7ce3ea19c3f7fcac64daa9857ef4e13d6fd | /cncState.hh | 40e3c5b027f1580bcacd21817423683ebd65945f | [] | no_license | lumpyh/LHCNC | 23b2903cd10a516684b631b606febfbcdb605414 | 42ea14ef5dce4a4593afe171b449433c837ab1e0 | refs/heads/master | 2020-12-12T13:59:27.599846 | 2016-11-26T20:57:47 | 2016-11-26T20:57:47 | 51,971,694 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 479 | hh | #ifndef CNCSTATE_HH
#define CNCSTATE_HH
#include "point.hh"
class cncState{
public:
cncState();
bool isAbsolute();
bool isInMill();
int getStepsPerMill();
const point<int>& getStepPos();
const point<double>& getPos();
void setAbsolute( bool);
void setInMill( bool);
void setStepPos( int, int, int)... | [
"lumpy.hega@gmx.de"
] | lumpy.hega@gmx.de |
0ac5df940130fb28a315b955c7f031946a1e77c4 | 69e577a4c7e051c3e0399853e0f3233d5f52882a | /pcre.cc | 72f258eb6a0f605db3e79ed3bccef870808128c7 | [
"MIT",
"LicenseRef-scancode-public-domain"
] | permissive | atrn/ici | 07ce3849e96e4acaa35f30b4144ae48a7a584925 | c3807f5cc7ffd2d272818978060c0a04c19ed55d | refs/heads/master | 2023-07-08T19:36:58.035538 | 2023-06-27T20:59:29 | 2023-06-27T20:59:29 | 118,180,499 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 165,229 | cc | /*************************************************
* Perl-Compatible Regular Expressions *
*************************************************/
/*
This is a library of functions to support regular expressions whose syntax
and semantics are as close as possible to those of the Perl 5 language. See
the file T... | [
"an@atrn.org"
] | an@atrn.org |
5037069d4dc20035675ca6de3d82c9ae48dfe2b9 | 94e5a9e157d3520374d95c43fe6fec97f1fc3c9b | /@DOC by DIPTA/dipta007_final/Max-flow/sgtlaugh-mincost-maxflow(Dijkstra+Potentials).cpp | 8f67f28fd32f68b1cfad3425cc05e0b5eb0fb158 | [
"MIT"
] | permissive | dipta007/Competitive-Programming | 0127c550ad523884a84eb3ea333d08de8b4ba528 | 998d47f08984703c5b415b98365ddbc84ad289c4 | refs/heads/master | 2021-01-21T14:06:40.082553 | 2020-07-06T17:40:46 | 2020-07-06T17:40:46 | 54,851,014 | 8 | 4 | null | 2020-05-02T13:14:41 | 2016-03-27T22:30:02 | C++ | UTF-8 | C++ | false | false | 2,864 | cpp | #include <stdio.h>
#include <bits/stdtr1c++.h>
#define MAX 200010 /// 2 * max(nodes, edges)
#define clr(ar) memset(ar, 0, sizeof(ar))
#define read() freopen("lol.txt", "r", stdin)
#define dbg(x) cout << #x << " = " << x << endl
#define ran(a, b) ((((rand() << 15) ^ rand()) % ((b) - (a) + 1)) + (a))
using namespace st... | [
"iamdipta@gmail.com"
] | iamdipta@gmail.com |
1918cb6291fd4e38dcf6cf0851e449b0e53543f4 | 5740ea2c2d9d5fb5626ff5ad651f3789048ae86b | /PlasmaLibraries/Serialization/OldDataTreeParser.hpp | 0380bdab33ccf0345749d098d5a43b997159bd44 | [
"MIT"
] | permissive | donovan680/Plasma | 4945b92b7c6e642a557f12e05c7d53819186de55 | 51d40ef0669b7a3015f95e3c84c6d639d5469b62 | refs/heads/master | 2022-04-15T02:42:26.469268 | 2020-02-26T22:32:12 | 2020-02-26T22:32:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,936 | hpp | ////////////////////////////////////////////////////////////////////////////////////////////////////
///
/// Authors: Joshua Claeys
/// Copyright 2016, DigiPen Institute of Technology
///
////////////////////////////////////////////////////////////////////////////////////////////////////
#pragma once
namespace Plasma
... | [
"dragonCASTjosh@gmail.com"
] | dragonCASTjosh@gmail.com |
985ccc1b83815dad8fdd35a710ad2b7a858ef987 | 6cdd54e4a9f02b49f8bbc03a67a5722e33f66d52 | /lab/3-4.cc | 2cb2fdce2dae8d85df3755d80f4ba1efd804dfbe | [] | no_license | dr3w-an/oop-studies | 17284e63f112d829377af9950d0cb1438da991bf | eb61168d6a1b411f8243daca52c79605fbc7f65f | refs/heads/master | 2021-07-13T14:54:14.420686 | 2019-06-29T01:27:24 | 2019-06-29T01:27:24 | 172,923,308 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,562 | cc | #include <iostream>
#include <math.h>
class Vector {
public:
double x, y;
double abs() {
return sqrt(pow(x, 2) + pow(y, 2));
}
Vector add(Vector vector) {
Vector result;
result.x = x + vector.x;
result.y = y + vector.y;
r... | [
"dr3w.an@yandex.ru"
] | dr3w.an@yandex.ru |
0ea8bd89b0db2fe42a19fae9caeab7d7e8db3480 | d4b18945429b19dcfe750b1100e8486d8429f185 | /src/net/Socket.cpp | 4db1ace240ace2231de0ecd8e7f08b2300ebd56a | [
"MIT"
] | permissive | Maltliquor/HttpServer | 2f019cceb15304d5cffab615538615f4076e3786 | b05825752d96e5a7331be30db7587478db9b3124 | refs/heads/master | 2022-12-12T06:29:20.139591 | 2020-09-02T02:18:26 | 2020-09-02T02:18:26 | 250,186,233 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,960 | cpp | #include <netinet/in.h>
#include <netinet/tcp.h>
#include <stdio.h> // snprintf
#include "src/net/InetAddress.h"
#include "src/net/Socket.h"
#include "src/net/SocketOp.h"
using namespace serverlib;
Socket::~Socket()
{
sockets::close(_sock_fd);
}
bool Socket::getTcpInfo(struct tcp_info* tcpi) c... | [
"1078918078@qq.com"
] | 1078918078@qq.com |
ae76c86104e09c1716c05e48629c8e1993b56730 | c4f3d6aaeecda81b20b9ce3e90aa49459b4b7bbc | /Renderer.cpp | 90b9d2cbd8fadf63521a7a4a79b390f799441467 | [] | no_license | jcohen1964/MadCow | f030a37d78cd76528116569637c19d12a38cecdd | ae7abf926e15436d398e63d164d1d2cce79e2969 | refs/heads/master | 2020-03-22T10:22:49.348843 | 2018-07-05T21:16:58 | 2018-07-05T21:16:58 | 139,898,542 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,665 | cpp | #include "renderer.h"
#include "Random.h"
#include "reporter.h"
#include "util.h"
#include "Meal.h"
#include "MealGroup.h"
using std::cerr;
using std::endl;
// Probability that a P meal pkt will contaminate an NP pkt at a mixed producer plant
double Renderer::probContamination;
// Table with 2 entries -... | [
"noreply@github.com"
] | noreply@github.com |
2ece42c1d4ae91578b1e5312f9a8ff8b3ffc9856 | d3289431cb91bcb55edefee17ab4168a80392cef | /Minos/Game/InputReplay.h | 0de6cd75a0c46d777bfb7a3d85fe99d63f1151f4 | [] | no_license | Sumez/Minos | fd6071f6f5fcf46d9418f4961e9b0cb9275970f2 | f7584657856b28388a41a68a6c62c5ac002521e1 | refs/heads/master | 2021-01-19T05:29:38.606819 | 2016-07-05T13:58:45 | 2016-07-05T13:58:45 | 61,880,163 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 845 | h | #pragma once
#include <inttypes.h>
#include "../InputHandler.h"
class InputReplay : public InputHandler {
public:
InputReplay(std::vector<int>& recording);
virtual Coords GetMouseCoords();
virtual bool IsHolding(ControlButton button);
virtual bool JustPressed(ControlButton button);
virtual bool WasMouseButtonCl... | [
"morten@eternal.dk"
] | morten@eternal.dk |
634430ac808278d348753fe694518e2b6efb7068 | 2cf838b54b556987cfc49f42935f8aa7563ea1f4 | /aws-cpp-sdk-ivs/include/aws/ivs/model/UpdateChannelRequest.h | 88dfe35dd3bd32d7a765824490d3816354b97eac | [
"MIT",
"Apache-2.0",
"JSON"
] | permissive | QPC-database/aws-sdk-cpp | d11e9f0ff6958c64e793c87a49f1e034813dac32 | 9f83105f7e07fe04380232981ab073c247d6fc85 | refs/heads/main | 2023-06-14T17:41:04.817304 | 2021-07-09T20:28:20 | 2021-07-09T20:28:20 | 384,714,703 | 1 | 0 | Apache-2.0 | 2021-07-10T14:16:41 | 2021-07-10T14:16:41 | null | UTF-8 | C++ | false | false | 15,290 | h | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/ivs/IVS_EXPORTS.h>
#include <aws/ivs/IVSRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/ivs/model/ChannelLatencyMode.h>
#include <aws/ivs/model/Cha... | [
"aws-sdk-cpp-automation@github.com"
] | aws-sdk-cpp-automation@github.com |
7c1a8fd4b87291dacd3c2d9f51ad8a892d881ac8 | e3f9ab83c0e3c8722920f8850fb295551682a969 | /src/display/old/draw_grid/draw_grid.ino | 92435cdf292e599460c0313c3c10e50fed2cd885 | [] | no_license | wizard97/3400_team5electricboogaloo | 8e80f05fa81dce8f05c1c598345e914887d000ea | a0d507ce57b8b13943eb6ec80e2ceb3d13774cbd | refs/heads/master | 2021-01-20T12:11:07.339947 | 2018-06-05T22:12:50 | 2018-06-05T22:12:50 | 101,703,482 | 1 | 5 | null | 2017-09-26T03:43:54 | 2017-08-29T01:15:12 | Arduino | UTF-8 | C++ | false | false | 2,567 | ino | #include <SPI.h>
#include <VGAGraphics.h>
#define VGA_SS 10
#define XRES 240
#define YRES 240
// define pins for buttons to move block arround
#define BUTTON_UP 3
#define BUTTON_DOWN 4
#define BUTTON_LEFT 5
#define BUTTON_RIGHT 6
#define BLOCK_COLOR (genColor(7,0,0))
void clearScreen(uint8_t color=0);
uint8_t genC... | [
"daw268@cornell.edu"
] | daw268@cornell.edu |
68b059c22310377785b812181ffdab1d7fd09109 | af757d873c431a899438f66220027ae4f10c59e6 | /node_modules/marionette-client/node_modules/sockit-to-me/externals/v8/src/code-stubs.cc | 5bec7e05f913be19ef8526f76e86580b99041115 | [
"Apache-2.0",
"bzip2-1.0.6",
"BSD-3-Clause"
] | permissive | a-os/gaia-node-modules | fb57372d1b2b0dc1ae6e0cb650b0c3ef9f69d74b | 43c434626a862bc092f825175bc88d11988c4d6a | refs/heads/master | 2021-01-22T00:51:10.683335 | 2015-07-03T23:02:03 | 2015-07-03T23:02:37 | 38,414,532 | 0 | 0 | null | 2015-07-02T06:06:26 | 2015-07-02T06:06:26 | null | UTF-8 | C++ | false | false | 25,596 | cc | // Copyright 2012 the V8 project authors. All rights reserved.
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of ... | [
"gaye@mozilla.com"
] | gaye@mozilla.com |
93706c34197a3eee316994c0147cc89074f20c82 | 67d0fb30fb385791af1d6a0ae6187ef0a7991eff | /ABC037/a.cpp | 4d6b058fb5128a6cab04c80f48aed4e346e801af | [] | no_license | misogi/atcoder | a5e4b221747bdcae8c32b9f1f59bebf065200285 | d9dff5905bfcfae6113ccfbe710a2dee88906d9f | refs/heads/master | 2021-01-19T03:47:21.139037 | 2017-02-21T09:24:36 | 2017-02-21T09:24:36 | 48,310,921 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 229 | cpp | #include <iostream>
#include <vector>
using namespace std;
int main() {
int a, b, mo;
cin >> a >> b >> mo;
int num;
if (a < b) {
num = mo / a;
} else {
num = mo / b;
}
cout << num << endl;
return 0;
}
| [
"dev@misogi.info"
] | dev@misogi.info |
80bcd84fc5b20131e8ce38117a06772e23f69361 | 40fce7e4b95efdd5eedd6da0c2359ae102f9ccac | /task93.cpp | 4189ac966eec8c7b2b0e1f3121e081ca7357ddd7 | [] | no_license | ShamyratDauren/Dauren-Shamyrat-CS1904 | f95df37bf8f711b8490500abf9ebab999260e813 | 6401d6d10fc0acf615ccb553428d3dd78c833fbc | refs/heads/master | 2021-07-03T22:40:00.516726 | 2021-01-30T20:07:23 | 2021-01-30T20:07:23 | 222,635,789 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 261 | cpp | #include <iostream> //93
#include <cmath>
using namespace std;
int main() {
int n;
cin >> n;
int sum = 0;
for (int i = 1; i <= n; i++) {
int a = pow(i, 2.0);
sum += a;
cout << a << '+';
}
cout << '=' << sum << endl;
return 0;
} | [
"noreply@github.com"
] | noreply@github.com |
22e6d2846ed6bcd8b03f459713a13d189e46ec41 | ccfe4094847ca44b9cd3e2b747964b1063132355 | /C++/hw5_10.cpp | 73b9f9320ef4f407e04bde517115443bba60369f | [] | no_license | dils12001/C_Practice | 53fdee47a17e0c0e69ff01318cdd727fa2dab291 | c80d6698c048eb03dfef0bf52b5f1faaaaf26272 | refs/heads/master | 2023-08-01T00:13:16.521740 | 2021-09-04T11:23:14 | 2021-09-04T11:23:14 | 403,036,972 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 479 | cpp | #include <iostream>
int main()
{
using namespace std;
cout << "Enter number of rows: ";
int num;
cin >> num;
for(int row = 1;row <= num;row++)
{
for(int col = 1;col <= num;col++)
{
if(col == num)
cout << "*\n";
else if(col > (num-row))
cout << "*";
else
cout << ".";
}
}
cout... | [
"dils210293@gmail.com"
] | dils210293@gmail.com |
762fb49da685c868d046e7de42cd53aefce10d80 | 814fd0bea5bc063a4e34ebdd0a5597c9ff67532b | /content/child/web_gesture_curve_impl.cc | da8a18cecaf9e1b34016c612f07ac35af0ac53a1 | [
"BSD-3-Clause"
] | permissive | rzr/chromium-crosswalk | 1b22208ff556d69c009ad292bc17dca3fe15c493 | d391344809adf7b4f39764ac0e15c378169b805f | refs/heads/master | 2021-01-21T09:11:07.316526 | 2015-02-16T11:52:21 | 2015-02-16T11:52:21 | 38,887,985 | 0 | 0 | NOASSERTION | 2019-08-07T21:59:20 | 2015-07-10T15:35:50 | C++ | UTF-8 | C++ | false | false | 4,749 | 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.
#include "content/child/web_gesture_curve_impl.h"
#include "base/logging.h"
#include "base/metrics/histogram.h"
#include "third_party/WebKit/public/platf... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
e7d6a347ad55f66135908648af23c6da9bafdec4 | 79f0db22eabee887ca366fae743a7df7e0eea24a | /user/MIT_Controller/Controllers/NeuralMPC/NeuralRobotState.h | 226e03705dcfe4ae5989e1ca907e81fdcc4af112 | [
"MIT"
] | permissive | gmargo11/Cheetah-Software | 61130acd948a7650558e7828a1739d41d6e2b2e7 | 02aa003393f1d831e973e596d43f1f0bf0d8f754 | refs/heads/master | 2023-01-31T09:36:53.093599 | 2020-05-27T22:42:38 | 2020-05-27T22:42:38 | 260,376,293 | 1 | 0 | MIT | 2020-05-01T04:06:16 | 2020-05-01T04:06:15 | null | UTF-8 | C++ | false | false | 570 | h | #ifndef Neural_RobotState
#define Neural_RobotState
#include <eigen3/Eigen/Dense>
#include "../convexMPC/common_types.h"
using Eigen::Matrix;
using Eigen::Quaternionf;
class NeuralRobotState
{
public:
void set(flt* p, flt* v, flt* q, flt* w, flt* r, flt yaw);
//void compute_rotations();
v... | [
"gmargo@mit.edu"
] | gmargo@mit.edu |
09bd8d58de8093724d50665c4d0911d896b3f20b | 11836fe43d9fe469b0b8d3c2c7b037604469cc32 | /void-pointer.cpp | 95438f55513ed1db3ac83f7e611c231513d70f80 | [] | no_license | Ghassen-kh/Cpp_Training | 9f188f0a98d0e6feb84e0b7a3a1b3e1da773def9 | db99ce77d6c98c67c452a6a0ca908667c7cd23a5 | refs/heads/main | 2023-04-12T05:57:09.067943 | 2021-05-11T17:58:13 | 2021-05-11T17:58:13 | 346,858,231 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 269 | cpp | #include <iostream>
void * func (void *);
int main(int argc, char ** argv){
printf("this is void pointer.c\n");
const char * cp="1235";
int * vp=(int *) func((void *)cp);
printf("%08x\n",* vp);
return 0;
}
void * func (void * vp){
return vp;
} | [
"ghassen.khalouaoui15@gmail.com"
] | ghassen.khalouaoui15@gmail.com |
3273c04a0879ed79906355ca1c57d94978013b59 | 94415be920d27a4e875e6f34a730edef398c8e24 | /Chapter6/Chapter6/Game.h | 1594c6527c04215dcc229b0fff4b843868ce54be | [
"BSD-3-Clause"
] | permissive | maato-origin/OpenGLPractice | d55a205fef582ebeebaf9e9eb7794350c2854e66 | 9769570f2d23ffbd857681752b5bd7dd10879507 | refs/heads/master | 2022-01-10T18:06:15.252712 | 2019-06-17T07:15:56 | 2019-06-17T07:15:56 | 188,250,436 | 1 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 879 | h | #pragma once
#include "SDL/SDL.h"
#include <unordered_map>
#include <string>
#include <vector>
#include "Math.h"
class Game
{
public:
Game();
bool Initialize();
void RunLoop();
void Shutdown();
void AddActor(class Actor* actor);
void RemoveActor(class Actor* actor);
void AddSprite(class SpriteComponent* sprit... | [
"t-khms@live.jp"
] | t-khms@live.jp |
d23ba01ab67494cdd51cb965e2b734e0da5de03c | 061454fa81774bb548ffb14d81011bd27e6f72ea | /lunar_csgo_recode/sdk/weapon.hh | 203e9b63eecb5cc527dde6d7133e6169c4bfce90 | [] | no_license | Aybrr/lunar_leak | f46eea6b14219bb0408c9dfd17d6f78d36148c26 | fdd9c4c6613701067ccc2936f7b0f311f3ca3736 | refs/heads/main | 2023-05-01T22:51:36.443040 | 2021-05-23T13:33:12 | 2021-05-23T13:33:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,457 | hh | #pragma once
#include "entity.hh"
#include <map>
namespace sdk {
struct strike_weapon_definition_t {
pad ( 8 );
int weapon_id;
};
enum class e_cs_weapon_type : int {
weapontype_knife = 0 ,
weapontype_pistol ,
weapontype_submachinegun ,
weapontype_rifle ,
weapontype_shotgun ,
weapontype_sniper_rif... | [
"senpaifuuzy@gmail.com"
] | senpaifuuzy@gmail.com |
6d86917b8e119f719624164176375ec9a2c299cb | 57d30906de95e20fb45216925791cb809a11b7f1 | /ase/misc/t19.cpp | 0ad4aa01a3e098a99d4cab9a507e57efcb2b0c90 | [
"MIT"
] | permissive | ahiguti/ase | ad782902ca3a8713b155769413fc5d9fd537c347 | f6bc5f337fe7df6eabf676660d9189d3c474150d | refs/heads/main | 2021-06-13T17:39:25.280776 | 2012-06-15T21:01:17 | 2012-06-15T21:01:17 | 4,680,010 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 775 | cpp |
#include <ase/asecpnfobj.hpp>
namespace {
struct fobj {
ase_variant operator ()(ASE_Component::Library& lib,
const ase_variant *args, ase_size_type nargs) {
typedef ase_variant Var;
Var Test = lib.GetGlobals().get("Native").get("Util").get("Test");
ase_int mid_sum = Test.GetMethodId("Sum");
... | [
"ahiguti100@gmail.com"
] | ahiguti100@gmail.com |
60e7c05aae2ea42de0784b4a01bf6f963068cd7f | 5370b9e27da3064f35a59610b7746a263204e621 | /CodeChef/PINS.cpp | 8817a49e77831117b79a1d689a5377d353916007 | [] | no_license | Paryul10/Competetive-Coding | 4619d84b282d58303dc5db9cb8bdad769fc3176d | 3cc06f80dfffe4dc742fd5d8a4b427a9de778d85 | refs/heads/master | 2020-04-02T11:12:49.838056 | 2018-08-02T11:36:04 | 2018-08-02T11:36:04 | 154,376,787 | 0 | 1 | null | 2019-10-19T12:00:45 | 2018-10-23T18:22:09 | C++ | UTF-8 | C++ | false | false | 276 | cpp | #include "bits/stdc++.h"
using namespace std;
int main()
{
int t;
cin >> t;
while (t--)
{
int n;
cin >> n;
cout << "1 ";
cout << "1";
for (int i=1; i<=(n/2); i++) cout << "0";
cout << endl;
}
return 0;
} | [
"eeshadutta99@gmail.com"
] | eeshadutta99@gmail.com |
89e9c89a9894fa888acb74294066017ed09bdeb0 | 27234219edb7095de9453ae9d9130aaf7f94f35c | /lab5/VectorsOperation.cpp | 6061f6629995074ed4c3712b2f472e0801306378 | [] | no_license | andruga225/lab5 | 226bf0ec6cc573bee8855879c283f767af4de8fd | c523057a7adb20fe0db8291c080f1224a23c07a2 | refs/heads/master | 2023-09-02T22:13:59.622116 | 2021-11-25T10:19:26 | 2021-11-25T10:19:26 | 427,715,899 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,314 | cpp | #include "VectorsOperation.h"
#include <algorithm>
std::vector<double> SubtractionVector(std::vector<double> a, std::vector<double> b)
{
std::vector<double> res;
for (int i = 0; i < a.size(); ++i)
res.push_back(a[i] - b[i]);
return res;
}
double FirstVectorNorm(std::vector<double> a)
{
return abs(*std::max_el... | [
"ryanworld225@yandex.ru"
] | ryanworld225@yandex.ru |
571b28381d6bf7710800963b694c0e83ac415d71 | 2cf838b54b556987cfc49f42935f8aa7563ea1f4 | /aws-cpp-sdk-ec2/include/aws/ec2/model/AssociateClientVpnTargetNetworkResponse.h | 27570f63df09982306493a74cf96c43d2c06c3a9 | [
"MIT",
"Apache-2.0",
"JSON"
] | permissive | QPC-database/aws-sdk-cpp | d11e9f0ff6958c64e793c87a49f1e034813dac32 | 9f83105f7e07fe04380232981ab073c247d6fc85 | refs/heads/main | 2023-06-14T17:41:04.817304 | 2021-07-09T20:28:20 | 2021-07-09T20:28:20 | 384,714,703 | 1 | 0 | Apache-2.0 | 2021-07-10T14:16:41 | 2021-07-10T14:16:41 | null | UTF-8 | C++ | false | false | 3,971 | h | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/ec2/EC2_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/ec2/model/AssociationStatus.h>
#include <aws/ec2/model/ResponseMetadata.h>
#include <utilit... | [
"aws-sdk-cpp-automation@github.com"
] | aws-sdk-cpp-automation@github.com |
71fe164049950f62f851c36ea195916623b004e9 | 7bc7490eb6396368abcf642d4397b2ad225e4e35 | /ser/conser.h | f38e5ae9dba90e92492c230295c3e3945cc8c9aa | [] | no_license | eveonline96/cloudpan | ce2a39d8d4d2360351e984e7d931201e99f0c851 | 0ad9dbca8e31a907bccd9176f8209923eda99ac0 | refs/heads/master | 2021-01-01T19:35:52.780045 | 2017-08-08T15:59:16 | 2017-08-08T15:59:16 | 98,617,831 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 626 | h | #ifndef CONSER_H
#define CONSER_H
#include "../public.h"
#include "mydb.h"
#include "sqlConnPool.h"
class conSer
{
public
conSer(int port,const char *addr);
~conSer();
void Bind();
void Listen();
int accept_timeout(unsigned int wait_seconds);//select
void epoll_work(); ... | [
"870402433@qq.com"
] | 870402433@qq.com |
1b42d781a56a771043f1bb8ed7f652cdcb57d385 | 16dc54384a53f8bcd6dfdecfbabd385d51acb7de | /2016_a_practice/week9/C - Conductors/main.cpp | 862b1acb6a2f3e669013b1387c60a158fa318609 | [] | no_license | kkkkBlueSky/HUAS_ACM | 629771b4b583a0725ee0955ddbf35cdfaddec652 | 3b9aad20476ec09bb5f12f951340829e68152094 | refs/heads/master | 2021-12-17T21:47:13.245217 | 2017-09-22T12:54:51 | 2017-09-22T12:54:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 499 | cpp | #include <iostream>
#include <cstdio>
using namespace std;
int main()
{
double p, q, pmin1,qmax1;
int pmin, qmax, flag;
while(~scanf("%lf %lf", &p, &q)){
int ans=1;
p/=100.0;
q/=100.0;
while(1){
pmin1=ans*p;
qmax1=ans*q;
pmin=int(pmin1);
... | [
"woodcoding@gmail.com"
] | woodcoding@gmail.com |
e6dc452b53c0bcc5a626aaf59dd300f95a99a067 | d0c44dd3da2ef8c0ff835982a437946cbf4d2940 | /cmake-build-debug/programs_tiling/function13777/function13777_schedule_51/function13777_schedule_51_wrapper.cpp | d0d360df18b09d394210fb990acdebc7394f21b0 | [] | no_license | IsraMekki/tiramisu_code_generator | 8b3f1d63cff62ba9f5242c019058d5a3119184a3 | 5a259d8e244af452e5301126683fa4320c2047a3 | refs/heads/master | 2020-04-29T17:27:57.987172 | 2019-04-23T16:50:32 | 2019-04-23T16:50:32 | 176,297,755 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 931 | cpp | #include "Halide.h"
#include "function13777_schedule_51_wrapper.h"
#include "tiramisu/utils.h"
#include <cstdlib>
#include <iostream>
#include <time.h>
#include <fstream>
#include <chrono>
#define MAX_RAND 200
int main(int, char **){
Halide::Buffer<int32_t> buf00(128, 128);
Halide::Buffer<int32_t> buf0(64, 1... | [
"ei_mekki@esi.dz"
] | ei_mekki@esi.dz |
27d26de63bc6c1f8133cf82b835e98e3df8e490d | c3147a539c3bad6d24105df990146e9bffcae1a5 | /leetcode/32.longest-valid-parentheses.cpp | d92d4b1f9744b24d06438e41ad744c1fd782c6a2 | [] | no_license | eataix/algorithms | 6158a93d02d53be4940d7d2db09393915081b267 | 6c61a6ae52707ac6f8a01bfc9344ca48be9736f8 | refs/heads/master | 2021-03-22T00:21:23.926258 | 2018-10-20T05:07:55 | 2018-10-20T05:57:53 | 19,340,004 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,765 | cpp | #include <stack>
#include <string>
using namespace std;
/*
* [32] Longest Valid Parentheses
*
* https://leetcode.com/problems/longest-valid-parentheses/description/
*
* algorithms
* Hard (23.45%)
* Total Accepted: 133.1K
* Total Submissions: 567.6K
* Testcase Example: '"(()"'
*
* Given a string containin... | [
"_@freeaddr.info"
] | _@freeaddr.info |
fd3abd0dc2a34bbafc9e0f8dc5749fb4c5165a7a | 7b763f3ab5f3cfb424d825f60ddff97b163d62e3 | /FirstTriangle/rendering/Render.hxx | 46f781b69f684fb0fe4ac90d94891bf7179a955d | [] | no_license | iAmSomeone2/VulkanPractice | 65bc40efdc686aeed12b969238045f0a14ccb4b9 | 7a0b5517b4bfaa36a1bea8ced5e5c48f245d2b39 | refs/heads/master | 2020-08-23T16:27:23.276853 | 2019-10-25T23:59:12 | 2019-10-25T23:59:12 | 216,662,368 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 312 | hxx | #ifndef RENDER_HXX
#define RENDER_HXX
#include <vulkan/vulkan.hpp>
class Render {
public:
Render(vk::Device *logicalDevice, vk::Format swapChainImageFormat);
~Render();
vk::RenderPass *renderPass();
private:
vk::Device *m_logicalDevice;
vk::RenderPass m_renderPass;
};
#endif // RENDER_HXX | [
"brendend13@gmail.com"
] | brendend13@gmail.com |
fec8c07d761312821cb1f6e92009df9c8fdb1558 | abbc8f2c4bb2a97657e30f481468d5bb562837b5 | /include/Stream.hpp | 55fa405f6400ef3bab04f65b9086420871e21603 | [
"MIT"
] | permissive | henu/libagl | ca37bb06afe35c7f4763d3f7026614a08c6e2fb4 | 0bf8ef6482111b5a134771249fccc7282b8eada1 | refs/heads/master | 2016-09-05T15:11:28.352046 | 2014-09-17T22:12:02 | 2014-09-17T22:12:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,265 | hpp | #ifndef AGL_STREAM_HPP
#define AGL_STREAM_HPP
#include "Bytes.hpp"
#include "Rbuf.hpp"
#include <string>
#include <stdexcept>
#include <cstring>
#include <stdint.h>
namespace Agl
{
class Stream
{
public:
class StreamInputClosed : public std::runtime_error
{
public:
inline StreamInputClosed() : std::runtime_e... | [
"henrik.heino@gmail.com"
] | henrik.heino@gmail.com |
5df6301abaee87d400da1f766a2df6445e7c3995 | 497c5bc5df53028a9cbb38522350aac3b581f8c3 | /message/generation/swift-mt-generation/repository/SR2018/parsers/SwiftMtParser_MT942BaseListener.h | 1dd0ecc389443bc4d858e242bc76f43770de637b | [
"MIT"
] | permissive | Yanick-Salzmann/message-converter-c | 188f6474160badecfd245a4fefa20a7c8ad9ca0c | 6dfdf56e12f19e0f0b63ee0354fda16968f36415 | refs/heads/master | 2020-06-25T11:54:12.874635 | 2019-08-19T19:32:41 | 2019-08-19T19:32:41 | 199,298,618 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,441 | h |
#include "repository/ISwiftMtParser.h"
#include "SwiftMtMessage.pb.h"
#include <vector>
#include <string>
#include "BaseErrorListener.h"
#include "SwiftMtParser_MT942Lexer.h"
// Generated from C:/programming/message-converter-c/message/generation/swift-mt-generation/repository/SR2018/grammars/SwiftMtParser_MT942.g4 ... | [
"yanick.salzmann@gmail.com"
] | yanick.salzmann@gmail.com |
e4bec3ac6c41c7ee263c85179eb96275c87d30b4 | 7774f5fa84edbe372df5bbb536e8b07b51306681 | /Temp/StagingArea/Data/il2cppOutput/Il2CppMethodPointerTable.cpp | b77179e1b6503559c02fe8a36ed3b87b2fd9b3f1 | [] | no_license | 1jeffcohen/Mr-Turtle-Breaks-Free | 677f4792b30ac3041e1454e6027a64478ec18a05 | 360506196b46e3b8234cf732230b266e655975e1 | refs/heads/master | 2016-09-01T16:24:29.294516 | 2015-10-08T21:46:23 | 2015-10-08T21:46:23 | 43,917,971 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 332,758 | cpp | #include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include "class-internals.h"
#include "codegen/il2cpp-codegen.h"
extern "C" void m0 ();
extern "C" void m1 ();
extern "C" void m2 ();
extern "C" void m3 ();
extern "C" void m4 ();
extern "C" void m5 ();
extern "C" v... | [
"1jeffcohen@gmail.com"
] | 1jeffcohen@gmail.com |
f9771dc1402f0bfa931e34cb9ba73b6ddae44d7a | e60fda09fec201fc811aaab77caab7dfcf14ed4c | /realsense/realsense_test/camera_viewer.cpp | d1c52a54b1dcf20badc193e0f13eac66134cc93e | [] | no_license | biotrump/realsense | 23419ac864f59d04101d7b7d1718f7753173c4f5 | c500b52efa81d195bc6b7cbd4981010378036ca3 | refs/heads/master | 2021-01-17T12:51:57.591500 | 2016-06-13T09:26:43 | 2016-06-13T09:26:43 | 57,204,737 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 8,885 | cpp | /*******************************************************************************
INTEL CORPORATION PROPRIETARY INFORMATION
This software is supplied under the terms of a license agreement or nondisclosure
agreement with Intel Corporation and may not be copied or disclosed except in
accordance with the terms of that ag... | [
"thomas@life100.cc"
] | thomas@life100.cc |
ec0ba7e5a6fae3e8425c0eb92af938adb9c62633 | 3dd7fa0e601d6b01dc79da5412b4890468551a75 | /dialog.h | b407a8090398269c331d72c3ed98890d34b52ccc | [] | no_license | Bombada/Image_Processing | ab706794b0c8972cc0c1870c574e06baa3bc8794 | a571cea66198774d7b82c0d9a5593b2b2f17e55c | refs/heads/master | 2022-11-07T09:27:11.256568 | 2020-06-28T15:18:18 | 2020-06-28T15:18:18 | 266,547,524 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 460 | h | #ifndef DIALOG_H
#define DIALOG_H
#include <QDialog>
namespace Ui {
class Dialog;
}
class Dialog : public QDialog
{
Q_OBJECT
public:
explicit Dialog(QWidget *parent = nullptr);
~Dialog();
QImage PanoramaImage;
QPixmap PanoramaPixmap;
void sendData();
private slo... | [
"noreply@github.com"
] | noreply@github.com |
f918a2dddea6e96b05f16143cd0afeaa96a1c0e3 | e94faed4698eba0859637076840147f417ee5953 | /Master/Fail/KeyBoardTest.ino | 14b3447bc73ef19e2254a0bbec7ebeb5e547d5e6 | [] | no_license | maisonsmd/MatrixKeysToLEDs_VS_Solutions | 8f4827082c3c958babf336287307d0a5eed07b5a | 5ebd1981a0d016bf6e5673c35487423651ca2198 | refs/heads/master | 2021-09-03T04:11:15.518826 | 2018-01-05T13:35:30 | 2018-01-05T13:35:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 966 | ino | //#include "Libs/MatrixKeyToLEDs.h"
//#include "Libs/MS_Communication.h"
//#include <Wire.h>
void setup()
{
Serial.begin(9600);
pinMode(13, OUTPUT);
for (int i = 0; i < 1000; i++)
Serial.println("HELLO");
delay(100);
//MatrixKeyToLEDs.init();
//MatrixKeyToLEDs.SetLEDsIntensity(1); //Intensity (brightness... | [
"maisonsmd@gmail.com"
] | maisonsmd@gmail.com |
6768f727952da58af6d33fadd937ddeedb439e1d | 30098f72d82cf4bf754af89ce1bc3ebfd9d2a0fa | /MyClass/HitStop/HitStop.h | cc646534e66479e2f54f7be79654754afdbd81d7 | [] | no_license | GlanzH/QuantumAccelerator | cc968d0493ec661676c345d73f395b6a36f5ea4c | 10a72aeb8c44fde26591a87ccb7fa472506c978b | refs/heads/main | 2023-04-30T10:14:21.358694 | 2021-05-28T00:25:37 | 2021-05-28T00:25:37 | null | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 553 | h |
#pragma once
#include "../C_OBJECT/Object.h"
//ヒットストップ
class HitStop : public Object {
private:
//ヒットストップ残り時間
int _count = 0;
//止める対象
Object* p_taget;
public:
//初期化
void HitStop::Init();
//更新
void HitStop::Update();
//ヒットストップ値設定
void HitStop::SetStopCount(int damage);
... | [
"noreply@github.com"
] | noreply@github.com |
41eab95f7b2ae3d866c1cd4c230f6edff79fdb67 | 0ee909cdc644a9950a97ed4aac8607682736d4f5 | /泡泡龙/refactor/CoinShopView.h | 431a923cbf79ab4f26235780370b303d26583909 | [] | no_license | wtuetnsrmh/pyppl | 24671f87b01d8cd503610558cd073fe4d57db84e | 982876fa1896db71aa374ba8e76d777a999311c8 | refs/heads/master | 2021-01-23T10:00:43.201035 | 2015-03-18T10:24:00 | 2015-03-18T10:24:00 | 32,452,018 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,119 | h | #ifndef __CoinShopView_H__
#define __CoinShopView_H__
#include "cocos2d.h"
#include "extensions/cocos-ext.h"
using namespace cocos2d::extension;
using namespace cocos2d;
#define POWER_ITEM_TAG 1111
class CoinShopView :
public Layer,public TableViewDataSource,public TableViewDelegate
{
public:
CoinShopV... | [
"123@qq.com"
] | 123@qq.com |
d2f05fc84fd214b91c0891962f8839a8a21ec26d | 3d97b8349f2bf779befde639a9e91112955a1d6e | /src/type_info.cc | 50cfef5d4d1f985851693db2248634a51dedffe2 | [] | no_license | bmax/v9 | 5090ba530403f4fb810da73fbd3aa18529c0dad8 | 74e0cc8802dc35c8e378be9812209f42e138feb0 | refs/heads/master | 2021-01-15T15:23:34.772969 | 2015-04-16T23:52:58 | 2015-04-16T23:52:58 | 34,086,713 | 6 | 3 | null | 2015-04-16T23:51:42 | 2015-04-16T23:51:42 | null | UTF-8 | C++ | false | false | 410 | cc | #include "type_info.h"
namespace Type {
std::string AsString(int type) {
switch (type) {
case VOID: return "void";
case NUMBER: return "number";
case BOOL: return "bool";
case STRING: return "string";
case OBJECT: return "object";
case ARRAY: return "array";
case REFEREN... | [
"curljosh@msu.edu"
] | curljosh@msu.edu |
c688324b2fca80a20724968ceb91c1f4fca2ac8f | a0fba5c81df7d408362807c55c0eec609819cb69 | /share/qt_property_browser/src/qtpropertymanager.cpp | 4ec3e987042fa9b3e188f543e0ee1cdf118e1131 | [] | no_license | cuixiongyi/hiveground-ros-pkg | 23edf94b9f0cb85184fce8a3116226f9733756d1 | 134377e42af9fcc852a3709257a9499edd941242 | refs/heads/master | 2021-01-10T12:41:00.140152 | 2013-07-10T08:11:36 | 2013-07-10T08:11:36 | 53,974,217 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 212,012 | cpp | /****************************************************************************
**
** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the Qt Solutions component.
**
** $QT_BEGIN_LICENSE:BSD$
** You may use this file under the terms of the BS... | [
"Mahisorn@localhost"
] | Mahisorn@localhost |
77c3bb393bbec47d5f64108fcbd07b60f3b90271 | b3c47795e8b6d95ae5521dcbbb920ab71851a92f | /LintCode/cpp/Expression Evaluation.cc | 7e530571ad7cec6a999d9c0f99109a69f5d5cb6f | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | Wizmann/ACM-ICPC | 6afecd0fd09918c53a2a84c4d22c244de0065710 | 7c30454c49485a794dcc4d1c09daf2f755f9ecc1 | refs/heads/master | 2023-07-15T02:46:21.372860 | 2023-07-09T15:30:27 | 2023-07-09T15:30:27 | 3,009,276 | 51 | 23 | null | null | null | null | UTF-8 | C++ | false | false | 2,018 | cc | class Solution {
public:
/**
* @param expression: a vector of strings;
* @return: an integer
*/
int evaluateExpression(vector<string> &expression) {
expression.push_back("#");
stack<int> nums;
stack<char> symbols;
for (auto& item: expression) {
... | [
"mail.kuuy@gmail.com"
] | mail.kuuy@gmail.com |
9be832673bf969e46355e6315d256bee4de69591 | fef58dcd0c1434724a0a0a82e4c84ae906200289 | /usages/0x75DBEC174AEEAD10.cpp | 147fe08ae6bd5f347dcd14b6f0197013f44d9922 | [] | no_license | DottieDot/gta5-additional-nativedb-data | a8945d29a60c04dc202f180e947cbdb3e0842ace | aea92b8b66833f063f391cb86cbcf4d58e1d7da3 | refs/heads/main | 2023-06-14T08:09:24.230253 | 2021-07-11T20:43:48 | 2021-07-11T20:43:48 | 380,364,689 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 416 | cpp | // ambient_diving.ysc @ L2165
void func_59()
{
func_61();
if (func_50(iLocal_64))
{
if (VEHICLE::IS_THIS_MODEL_A_BOAT(ENTITY::GET_ENTITY_MODEL(iLocal_64)))
{
VEHICLE::SET_BOAT_ANCHOR(iLocal_64, false);
}
ENTITY::SET_ENTITY_RECORDS_COLLISIONS(iLocal_64, 0);
if (ENTITY::IS_ENTITY_A_MISSION... | [
"tvangroenigen@outlook.com"
] | tvangroenigen@outlook.com |
f8ebdcd583e02826bf8792a43ac0fed8546cb21b | 6a79102592f6f1d4eb843b2f5c673899aba28a6d | /Classwork/Lecture06/Node.h | cf5d9687b63e02536452d5e72521a102723b4d5e | [] | no_license | saidou578/CS246-1 | 886b351e445eecc5e0185e7b490f7582a2f066b7 | b9b47aa91557ad3c8a2ff9a6218c68adbda8d46f | refs/heads/master | 2021-01-09T16:13:42.279033 | 2020-05-25T14:28:57 | 2020-05-25T14:28:57 | 242,368,027 | 0 | 0 | null | 2020-02-22T15:51:39 | 2020-02-22T15:51:39 | null | UTF-8 | C++ | false | false | 1,449 | h | #ifndef NODE_H
#define NODE_H
#include <iostream>
#include <string>
#include <sstream>
namespace ds
{
template <class T>
class Node
{
private:
T data;
Node<T>* link;
Node(const Node<T>& obj);
Node& operator=(const Node<T>& rhs);
public:
Node() : Node(T(),NULL) {}
Node(const T& data) : Node(data,NUL... | [
"jermainereid@mec.science"
] | jermainereid@mec.science |
bc9509c7fe7dd9a1d5b736cabd79f4771d8baf73 | 9b4e0a5a649d2482a5e266d9fc2ef01f17bda671 | /src/Eigen.d/Elu.c++ | 1d73d61ecffd8364b6abdf7740c43aa311b39709 | [
"MIT"
] | permissive | naruto2/CodeFEM | 7209d241c150003e3369fa47e09b05937b6bc2a5 | eb689aa7573d4ac9fc83d057f99c79a5d8f3bd90 | refs/heads/master | 2020-12-12T03:17:42.445395 | 2018-06-20T16:31:42 | 2018-06-20T16:31:42 | 48,607,270 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,317 | #include <stdio.h>
#include "est/sparse.hpp"
#include "est/psc98.hpp"
#include "est/op.hpp"
#include "est/TDMA.hpp"
#include "solvers.h"
vector<double> jacobi(sparse::matrix<double>&A,
vector<double>&x,vector<double>&b);
int enough(sparse::matrix<double>&A, vector<double>&x, const vector<double>&b);
vector<d... | [
"tsukuda.yoshio@gmail.com"
] | tsukuda.yoshio@gmail.com | |
fb89dff8f2d268d7185d1bf060199cf7bfc3168f | 4ffdc4341ce50d462dc9ed0198691b9aa5f2d0ba | /week-02/day-5/palindromes2.cpp | 949a785192acbef213932ce57adbe5552b6e990c | [] | no_license | greenfox-zerda-sparta/Akatakata | b1289cc176a88f5e51133e4e723e97ad9a71e402 | a4a7f464c66582568c238eea7b98ecc949f87c05 | refs/heads/master | 2021-01-12T18:14:53.086793 | 2017-02-14T14:32:17 | 2017-02-14T14:32:17 | 71,350,782 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,271 | cpp | #include <iostream>
#include <string>
using namespace std;
// Create a function that searches for all the palindromes
// in a string that are at least than 3 characters, and
// returns a list with the found palindromes.
void find_words(string &text, int count, int start, int mod, string &word, string &to){
// Finds... | [
"almasy.kata@gmail.com"
] | almasy.kata@gmail.com |
680becbb9d4efb018d1fe6d0938756fe81444eb1 | 71b380f43de7f76789bef938b70872bd59687a06 | /src/Game.h | 927c00d9b5d7214fe3d293d41e04d85aad70b8ca | [] | no_license | serzap/VeryCrazyTanks | e1c140074e5bffa9f89167c6f3cf45b7b65d4a58 | 6483fe622a2532c8bace624cca6e42b7da63ba10 | refs/heads/master | 2021-04-12T10:08:37.482712 | 2018-03-27T18:41:01 | 2018-03-27T18:41:01 | 126,162,813 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 197 | h | #ifndef VERYCRAZYTANKS_GAME_H
#define VERYCRAZYTANKS_GAME_H
#include <iomanip>
#include "BattleField.h"
class Game
{
public:
Game();
~Game();
void run();
private:
BattleField bf;
};
#endif
| [
"serhii.zaporozhchenko@gmail.com"
] | serhii.zaporozhchenko@gmail.com |
e95ff600daffaf5f58e139614e4912d28af74895 | 4b194a8690583d0d4ef6ffb7a54d96936b0172ce | /src/Die.cc | de40f169705ea58d0d34d1aaa80aca5f9d7186f5 | [] | no_license | kevinna97/Student-Colonization | a09d1b6074b4ce87e38f8dc3dd9dc16e11c7e0c7 | c71b01d4bc64cb0a40276b183ec6cb3863c8c319 | refs/heads/master | 2020-03-07T19:58:49.787769 | 2017-03-11T22:24:18 | 2017-03-11T22:24:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 604 | cc | #include "Subject.h"
#include "Observer.h"
#include "Die.h"
#include <cstdlib>
#include <ctime>
#include <iostream>
using namespace std;
Die::Die(){}
void Die::rollRandom(){
srand(time(NULL));
int num1 = rand() % 6 + 1;
int num2 = rand() % 6 + 1;
int val = num1 + num2;
notifyObservers(val);
... | [
"apt@Arpits-MacBook-Air.local"
] | apt@Arpits-MacBook-Air.local |
ba5b788c6f1978af7e5b7649b5c0abf144a5be07 | 90e64a6679a16401e762b447a0a1c6d7d5815815 | /TSUI/CGalacticMapSystemDetails.cpp | 839e5b275a004cbfa657d72a9246b30a926343f0 | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | kronosaur/Mammoth | a339f3860e01612c47fdbfc3aa1d657b5fd25a4b | a73df3f356201ecffd6590303d5cd52edd040a92 | refs/heads/master | 2021-04-19T00:26:33.936970 | 2019-01-08T01:11:51 | 2019-01-08T01:11:51 | 28,847,176 | 5 | 14 | NOASSERTION | 2018-12-26T08:09:11 | 2015-01-06T04:47:28 | C++ | UTF-8 | C++ | false | false | 15,422 | cpp | // CGalacticMapSystemDetails.h
//
// CGalacticMapSystemDetails class
// Copyright (c) 2016 by Kronosaur Productions, LLC. All Rights Reserved.
#include "stdafx.h"
#define ID_STATION_LIST CONSTLIT("idStationList")
#define PROP_COLOR CONSTLIT("color")
#define PROP_ENABLED CONSTLIT(... | [
"public@neurohack.com"
] | public@neurohack.com |
0720790ec8c0b0ca7282a29806c269958adac8ff | 5edf0c66e07ad46fa79a4400b2689c9a67547c03 | /src/test/algorithm/BSIFT/DescriptorMedianBSIFT_TEST.cpp | 41a63db99990b8309ba2ed24ac63a20d16458036 | [] | no_license | piorkowskiprzemyslaw/FEITIR | c0b9edb0972ca84bc60beb4b6ef7af7701bc33e3 | beebd1b561e6dc51e8aa113a1d904f71ad5b5cb6 | refs/heads/master | 2020-07-04T10:58:15.494688 | 2016-11-30T23:10:15 | 2016-11-30T23:10:15 | 74,071,540 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,111 | cpp | //
// Created by Przemek Piórkowski on 20.03.2016.
//
#define BOOST_TEST_DYN_LINK
#define BOOST_TEST_MODULE FEITR_DescriptorMedianBSIFTExtractor_test
#include <iostream>
#include "test_global.h"
#include <boost/test/unit_test.hpp>
#include "src/main/algorithm/BSIFT/descriptor_median/DescriptorMedianBSIFTExtractor.h"
... | [
"piorkowskiprzemyslaw@gmail.com"
] | piorkowskiprzemyslaw@gmail.com |
3dbcdf3d419d37fd121baad01331530e0c431ead | 52fc096dce507dcf24ebe9616d8febf4aef6c9c8 | /matrixDijkstra.cpp | 726ee1da599c4aa8d6938448fe773d69542d41db | [] | no_license | mcheemaa/Shortest-Path | d95702a4a15dd0edb8d8eec56c7e073ffdeabfe8 | 3665ebe15ad73eacd0aa5e216cc1b486761b2b0a | refs/heads/master | 2022-10-30T06:39:52.968515 | 2020-06-11T23:25:05 | 2020-06-11T23:25:05 | 271,665,352 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,178 | cpp | #include "readGraph.hpp"
#include "shortestPath.hpp"
#include <fstream>
#include <string>
#include <cstdlib>
#include <iostream>
#include <limits>
#include <chrono>
using namespace std;
int main(int argc, char** argv)
{
if (argc != 5) {
cout << "Try Again With Proper Information " << endl;
return 1;
}
... | [
"noreply@github.com"
] | noreply@github.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.