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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2cd697c9625e062b170e3c6fb08c7a6608bda1c6 | d5e1950bbfe4942a27d29bea1e618a0d288d3e94 | /VTIL-Optimizer/passes/normalize_stack.cpp | 998169ff36a7d309e29bcb9624e099e9c07857ce | [] | no_license | windows1988/VTIL-Core | c2f610fcbdff16d2bbe377d80d7e4146c94abaca | 8c9bc43add64deb657eb21782f51fc1f418c83c3 | refs/heads/master | 2022-07-19T16:05:03.289780 | 2020-05-20T21:26:54 | 2020-05-20T21:26:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,742 | cpp | // Copyright (c) 2020 Can Boluk and contributors of the VTIL Project
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// 1. Redistributions of source code must retain the a... | [
"can.boluk89@gmail.com"
] | can.boluk89@gmail.com |
4b0fa282c9199bc1e2f5668bd7a3a7d03387421b | 1e0b54c52aa78b424195b733528f603569e43700 | /UVa problems/solutions/12157/main.cpp | 6e65fb412c9dc44ee3dd8041b4da1c1eb0a5a82e | [] | no_license | ahmedfawzy98/Competitive-Programming | 6a732e99e5f2ef23c152cde7fb9c2d19202d6fa4 | c05abafe424ae6ade8a94b6cbfdfcfe143840271 | refs/heads/master | 2022-04-18T10:09:11.802127 | 2020-04-12T20:49:23 | 2020-04-12T20:49:23 | 255,167,843 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 621 | cpp | #include <iostream>
using namespace std;
int main() {
int t,n,tmp,mcost,jcost, c = 1;
cin>>t;
while(t--){
cin>>n;
mcost = 0;
jcost = 0;
for (int i = 0; i < n; ++i) {
cin>>tmp;
mcost += (tmp/30) * 10 +10;
jcost += (tmp/60) * 15 +15;
... | [
"ahmedfawzy671998@gmailcom"
] | ahmedfawzy671998@gmailcom |
4b2523027d7fc98f3686d4e15f6e6d4e15ee1b85 | 9109b334455fa441c3ee5e07eb8cba088cdb0309 | /src/subsystems/control/bad-move.cpp | edbf6aedea029e9401a6371d68746fc1166f0484 | [
"MIT"
] | permissive | IonicArgon/2020-2021-bionic-beaver | a8cab377aabbd6c2147c0bc3bbf5880b5e46c9cf | 62a1bc799020b5fc0db690278edd18654e9f28f8 | refs/heads/master | 2023-02-11T11:58:08.722166 | 2020-10-14T22:23:26 | 2020-10-14T22:23:26 | 305,133,187 | 1 | 1 | null | 2020-10-18T15:28:14 | 2020-10-18T15:28:13 | null | UTF-8 | C++ | false | false | 1,198 | cpp | //* Discobots 1104A comp code.
//* Marco Tan, Neil Sachdeva, Dev Patel
//*
//* File Created: 2020-10-13
//* Desc: mfw pid controller no work.
//* Temporary movement code that's very bad. Definitions
//* Headers
#include "main.h" // Main header.
//* Definitions
/// Constructor. Does nothing ATM.
a_Bad_Move:... | [
"marco.tan.200405@gmail.com"
] | marco.tan.200405@gmail.com |
547d23721b7512dad5ad4efb202d996b87cca732 | 1de002bd125af0168202e16d18000a61a87bdbd8 | /mp1/mp1.cc | 1192257ff2b5a05f02e8897944fbeaadda3fed2b | [] | no_license | lightmark/CS418 | 661321b1f3eebc46161eac7b32a627851935015b | 72a5eab368fdae4b2e6725685fe38bfe421285cd | refs/heads/master | 2020-12-25T18:18:26.353332 | 2015-02-06T19:51:28 | 2015-02-06T19:51:28 | 19,513,538 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,752 | cc | #include <iostream>
#include <GL/glew.h>
#include <GLFW/glfw3.h>
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <glm/gtc/type_ptr.hpp>
#include <stdlib.h>
#include <stdio.h>
#include <ctime>
#include <cmath>
#include "shader.h"
#define PI 3.14159265
int nFPS = 30;
bool onlyEdge = false;
float... | [
"lightmark@gmail.com"
] | lightmark@gmail.com |
1dd11763f3578e2cb147fb8738c720798999b029 | 12a60fad1c70336094cac5ef7497e257d30dd0e7 | /thread/thread/thread.cpp | ac5f2f66b74af571314755bc3a8d01896cfa3161 | [] | no_license | roshra/thread | c58fe14dce2b51accac72d469e1cd24e2c5377de | 9c63a9f2af7e3a0088e7f1c8097256210bd56c48 | refs/heads/master | 2020-05-04T01:53:12.086411 | 2019-04-04T19:40:56 | 2019-04-04T19:40:56 | 178,916,273 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,324 | cpp | // thread.cpp : This file contains the 'main' function. Program execution begins and ends there.
// https://www.tutorialcup.com/cplusplus/multithreading.htm
#include "pch.h"
#include <iostream>
#include <thread>
#include <string>
#include <vector>
#include<conio.h>
#include<Windows.h>
#include<mutex>
std::mutex mtx;
... | [
"Rosh.Ravi@emc.com"
] | Rosh.Ravi@emc.com |
0f7969dd4cb705607a4ae02af819413466f97b6d | 410de6fc1ef54edbc4e7485a642bdaf69c44ae64 | /tests/PermutationsTest.cpp | efc5d4e73414539ad2adf464d0fc0b2622c80643 | [] | no_license | SaberQ/leetcode | 322092c03b036bee053c794ebaa3dafef413a5b3 | 63f8abb9c382a2cbcea1e0294746a37fc86a293e | refs/heads/master | 2020-12-11T09:30:23.950830 | 2015-10-13T08:01:24 | 2015-10-13T08:01:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 886 | cpp | #include "catch.hpp"
#include "Permutations.hpp"
#include <algorithm>
using namespace std;
TEST_CASE("Permutation") {
Permutations s;
SECTION("Sample test") {
vector<int> nums {1, 2, 3};
vector<vector<int>> expected {
{1, 2, 3}, {1, 3, 2}, {2, 1, 3},
{2, 3, 1}, {3, 1, 2}, {3, 2, 1}
};
... | [
"yanzhe.cn@gmail.com"
] | yanzhe.cn@gmail.com |
e12d87e1e7ca201a09a24507120cedd4f34f4592 | 4090aed9b69d1e355b40a6db6a138f34353197a0 | /autori.cpp | 3e28a3abe86979131ec6600cbe7f728d14131139 | [] | no_license | HongyuHe/OJ | 0ecb72c4a87ac8ac5dc90210be0fbd71c6843f64 | f8713ed4e374fdbc783c7c683020a1c23f42b3ad | refs/heads/master | 2020-03-31T17:14:30.991344 | 2018-10-10T01:17:27 | 2018-10-10T01:17:27 | 152,414,016 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 268 | cpp | #include <iostream>
#include <string>
using namespace std;
int main() {
string s, t;
cin >> s;
t.push_back(s[0]);
for(int i = 0; i < s.size(); i++) {
if(s[i] == '-') {
t.push_back(s[i+1]);
}
}
cout << t << endl;
}
| [
"mikepf97@gmail.com"
] | mikepf97@gmail.com |
15daa9b4e669d5030889a6d8147187d2046feb15 | f36e0bfb164b9594d0cb41e039e7f8a83d9dba58 | /Computer Graphics/A1 - moving circles/src/cgut.h | a061f10ceb81c15bd3a2e91b4a7e094562f99ec0 | [] | no_license | KangInPark/Assignment | c869f73a14ae97308f6cb37a87043061c084a8e6 | 0e6324d0e4775f3c22b3e2e583bc72dd431dbd2e | refs/heads/master | 2022-12-31T10:37:26.341131 | 2020-10-20T11:52:10 | 2020-10-20T11:52:10 | 271,419,403 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,683 | h | //*******************************************************************
// Copyright 2011-2018 Sungkil Lee
//
// 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/li... | [
"pkihome@naver.com"
] | pkihome@naver.com |
d3ddbd2faae229238558df0351ecec096ed714bc | 2ac29d802f983a84f7e7361d5fb767121d427c74 | /main.cpp | 428e2d71c65b766c4986d5beb9bb1a553fb40474 | [
"Apache-2.0"
] | permissive | zhangxiaoya/ShowCase | 31aa79655e48df184fdb31456b1fe4c56e9ad87a | 8320c90916c35a19c7934249343f602d55d2a835 | refs/heads/master | 2020-03-20T03:39:28.294320 | 2018-08-10T02:29:21 | 2018-08-10T02:29:21 | 137,154,343 | 0 | 0 | Apache-2.0 | 2018-08-07T08:25:16 | 2018-06-13T02:53:51 | C++ | UTF-8 | C++ | false | false | 194 | cpp | #include <QApplication>
#include "mainwindow.h"
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
MainWindow mainWin(&app);
mainWin.show();
return app.exec();
}
| [
"zhangxiaoya1989@gmail.com"
] | zhangxiaoya1989@gmail.com |
f872604c28b7f10a79f72ff1ddcd2cbbcc455f78 | 9b48ac2884fb28e188bca0644c3ef48482d43825 | /vcmap/ch13/EventTest/UIThreadTestDlg.cpp | b0eb5f70e6cb4adbc314e7c602799e5579c0d36d | [] | no_license | skyformat99/mybooks | 3a4f6cc37cd10624d21693bc22d1d0be93c03509 | d0a04f3b1ba271225b6fc23cf8e6d06a88828c09 | refs/heads/master | 2020-03-19T03:58:35.895559 | 2018-05-31T05:49:18 | 2018-05-31T05:49:18 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 3,676 | cpp | // UIThreadTestDlg.cpp : 实现文件
//
#include "stdafx.h"
#include "UIThreadTest.h"
#include "UIThreadTestDlg.h"
#include "MyThread.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
// 用于应用程序“关于”菜单项的 CAboutDlg 对话框
class CAboutDlg : public CDialog
{
public:
CAboutDlg();
// 对话框数据
enum { IDD = IDD_ABOUTBOX };
protected:
... | [
"bluejoe2008@gmail.com"
] | bluejoe2008@gmail.com |
40d769aafdefef3ec3ce0c7529b8074b1ed72806 | 06119984874608baf2648596af4a03335db6708d | /场景载入练习/ParticleSystem.h | 831b1210bc090de4d6a882d307aa9d5c9275c0d8 | [
"Apache-2.0"
] | permissive | czl0325/dx_test | 47f1975ee4b2159569bf1f00de78d84857a4c31e | fa504c64a8b9d88a232724ec77bdc5fa3418419b | refs/heads/master | 2021-07-05T17:22:19.740126 | 2020-08-07T01:29:14 | 2020-08-07T01:29:14 | 144,512,373 | 8 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 371 | h | #pragma once
#include "Header.h"
#include "Terrain.h"
class CParticleSystem
{
protected:
IDirect3DDevice9* m_pD3dDevice;
public:
CParticleSystem(void);
~CParticleSystem(void);
virtual BOOL InitParticle(IDirect3DDevice9* pD3dDevice) = 0;
virtual VOID Update(CTerrain* Terrain,D3DXVECTOR3 vRlose) = 0;
virtual ... | [
"295183917@qq.com"
] | 295183917@qq.com |
811c34b6289e3d3395dc59f2aaa937e056ff1b72 | cc36bf3a46b06af454e42f88865aa2b16caefc2c | /Editor_Texture/DataLayer/Signals/SignalNoiseSin.cpp | f6ecc2568ea344e7b332409d8cca8f8f3c1f9ade | [] | no_license | artcampo/2012_3D_Procedural_Object_Editor | 058548468514da39d1434b024bcf42e17f1e0af4 | ddb75c727bfb12f1d39786dd72928dc35539c860 | refs/heads/master | 2021-01-12T04:27:28.204089 | 2016-12-29T13:57:45 | 2016-12-29T13:57:45 | 77,615,572 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,208 | cpp | #include "Editor_Texture/DataLayer/Signals/SignalNoiseSin.hpp"
//===========================================================================
/*!
Constructor:
\param
*/
//===========================================================================
SignalNoiseSin::SignalNoiseSin( int aId ) : Signal(... | [
"arturocampos82@gmail.com"
] | arturocampos82@gmail.com |
ed9556f09b9b81332d6cbd4496e88fa7f06804fe | 1bf8b46afad5402fe6fa74293b464e1ca5ee5fd7 | /SDK/CoreUObject_functions.cpp | 404b63809a009e209465657c8eac5dfd4ca2c963 | [] | no_license | LemonHaze420/ShenmueIIISDK | a4857eebefc7e66dba9f667efa43301c5efcdb62 | 47a433b5e94f171bbf5256e3ff4471dcec2c7d7e | refs/heads/master | 2021-06-30T17:33:06.034662 | 2021-01-19T20:33:33 | 2021-01-19T20:33:33 | 214,824,713 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,620 | cpp |
#include "../SDK.h"
// Name: Shenmue3SDK, Version: 1.4.1
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace SDK
{
//---------------------------------------------------------------------------
// Functions
//---------------------------------------------------------------------------
std::string UObject::GetN... | [
"35783139+LemonHaze420@users.noreply.github.com"
] | 35783139+LemonHaze420@users.noreply.github.com |
ca4aeaf4158d5ae19653d7b7f8f9234c9cb1c333 | 4c66e1d186ad4b32cd1677bb64d871e09b505ffc | /drivenet_ros/include/tao/CSD_ThreadPool/CSD_TP_Queue_Visitor.h | 649e3125060510ff7e5027835e27fe031976a678 | [
"Apache-2.0"
] | permissive | Bangglll/driveworks_ros | 0ace6f4bee4cc585b4c9fd01054101c8c09c5186 | 9f08a8be336cf317bcb36ae058bb8d673d814660 | refs/heads/main | 2023-08-14T16:46:55.264875 | 2021-10-03T06:47:17 | 2021-10-03T06:47:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,880 | h | // -*- C++ -*-
//=============================================================================
/**
* @file CSD_TP_Queue_Visitor.h
*
* $Id: CSD_TP_Queue_Visitor.h 1861 2011-08-31 16:18:08Z mesnierp $
*
* @author Tim Bradley <bradley_t@ociweb.com>
*/
//=======================================================... | [
"763k357@naver.com"
] | 763k357@naver.com |
cd31eebc26da545fe4ddea6c19a55899597d93aa | 0ff18d68d2411e17c7b9054eda6550864d2b1780 | /examples/example2/dt.cc | 523d404a9d1e075ed22f75d84c0fdd2633fbbadf | [] | no_license | CeJiang91/HYPODD | f10e0d768be03929ba69d17be63dd40bf06c48fe | c85dfb414078c58b0eba6f7be30de452064f1d6d | refs/heads/master | 2023-01-20T03:44:05.536484 | 2020-11-25T08:34:30 | 2020-11-25T08:34:30 | 315,868,310 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,654,962 | cc | # 16885 17526 0.056999
NCCML 0.011617 0.742 P
NCCDV -0.008098 0.776 P
NCHCA 0.045920 0.786 P
NCCVL -0.006403 0.737 P
NCHCP 0.018181 0.715 P
NCCMO -0.037819 0.771 P
# 17723 17526 0.027000
NCCAL 0.120773 0.721 P
NCJSG 0.108951 0.756 P
NCCMN 0.098884 0.779 P
NCJSC 0.112482 0.746 P
NCHAZ 0.029912 0.780 P
NCCDO 0.102923 0.7... | [
"407148852@qq.com"
] | 407148852@qq.com |
01d72b630b38367624f8064e004d6c5ef06dae7b | 8533e7fe9fbac600b5ca4bc700c4206aae2d88cc | /DFS_cycleDetection_DirectedGraph.cpp | 1f476067d4840222f3e72e86da4d1c9da545eac5 | [] | no_license | abhikmr778/graph_implementations | 9956dcedbdb00022bf5e57a1794ab0a259ffed0d | 3ee0d91ee9295f5c84167cb40209e8a55b71d715 | refs/heads/master | 2023-09-06T03:44:35.604315 | 2021-10-18T16:41:27 | 2021-10-18T16:41:27 | 396,362,029 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,559 | cpp | // cycle detection in a directed graph
#include<iostream>
#include<vector>
// #include<bits/stdc++.h>
using namespace std;
void addEdge(vector<int> adj[], int u, int v){
//edge u--->v
adj[u].push_back(v);
}
bool checkCycle(vector<int> adj[], bool visited[], bool recStack[], int src){
visited[src] = true;... | [
"abhi.kumar778@gmail.com"
] | abhi.kumar778@gmail.com |
724f4e005c96e5beb5cb0505c80657463670f7b6 | c766bece263e5149d0dbab04ea20308bf1191ab8 | /AdobeInDesignCCProductsSDK.2020/source/public/interfaces/interactive/ILayoutPolicySuite.h | c15e7a74c2e3d7c979d87a1533e8610c7370d290 | [] | no_license | stevenstong/adobe-tools | 37a36868619db90984d5303187305c9da1e024f7 | c74d61d882363a91da4938fd525b97f83084cb2e | refs/heads/master | 2022-04-08T17:31:35.516938 | 2020-03-18T20:57:40 | 2020-03-18T20:57:40 | 248,061,036 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,314 | h | //========================================================================================
//
// $File: //depot/devtech/15.0/plugin/source/public/interfaces/interactive/ILayoutPolicySuite.h $
//
// Owner: Dave Stephens
//
// $Author: pmbuilder $
//
// $DateTime: 2019/10/11 10:48:01 $
//
// $Revision: #2 ... | [
"steven.tong@hcl.com"
] | steven.tong@hcl.com |
9fdd019fd835bf9ae195880884df22cb7ff0ff43 | 4855f2e210770ef4d4c322d1e70210c3e746e139 | /w1/cost_cutting.cpp | ab34c66a078daae7d49fd19254185b7e51432bb2 | [] | no_license | hoanghaihedspi/learn-algorithm | be6f0de94d477d5858b9b3b80b35e3d9f43249bb | 2e21a8e0c083496192dd2b3f497be3a3b215db47 | refs/heads/master | 2021-01-20T17:55:02.775604 | 2016-06-17T15:58:14 | 2016-06-17T15:58:14 | 61,310,200 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 309 | cpp | #include "iostream"
using namespace std;
int main()
{
int T;
cin >> T;
for(int i = 0; i < T; i++){
int x, y, z, res;
cin >> x >> y >> z;
if((x - y) * (x - z) < 0) res = x;
else if((y - x) * (y - z) < 0) res = y;
else res = z;
cout << "Case " << i + 1 << ": " << res << endl;
}
return 0;
} | [
"hoangvanhai271096@gmail.com"
] | hoangvanhai271096@gmail.com |
82ea061364af621cd60fe801fb36cfcdd3da252f | d7095822c09efc809f2e9e9aaa87c2e4a380a29b | /muduo/s07/TcpServer.h | d17c76d285cbc41c141dd19ac83915e7eaf8aae0 | [] | no_license | marktubu/Unix | 68e22d8d16f11e933e44000e0ddfa650f039fce3 | e8408ef17a7713e83a5ea894c2f34b43b15a215e | refs/heads/master | 2022-08-13T19:09:16.333157 | 2022-06-24T10:34:15 | 2022-06-24T10:34:15 | 114,503,939 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,114 | h | #ifndef MUDUO_NET_TCPSERVER_H
#define MUDUO_NET_TCPSERVER_H
#include "Callbacks.h"
#include "TcpConnection.h"
#include <map>
#include <boost/noncopyable.hpp>
#include <boost/scoped_ptr.hpp>
namespace muduo
{
class Acceptor;
class EventLoop;
class TcpServer : boost::noncopyable
{
public:
TcpServer(EventLoop* loop,... | [
"mark@tubu.com"
] | mark@tubu.com |
ffdaab9868b301cc2731169133fe4e46aeacbc3f | e58da08ac7dbc4986d16c694b5225e04af7aabe6 | /src/processing_block_index.cpp | 82ebf6296ce29ee8419698d331600ef90cfc73a5 | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | bitpie-wallet/bitcoin-sv | e1e5aa54318eaf95829074305bb71dccfc7a75a6 | cf29772c7500a72db5a885992ea32e1f65a8b6e6 | refs/heads/master | 2022-08-30T20:18:39.123007 | 2022-04-14T15:52:21 | 2022-04-14T15:52:21 | 238,342,847 | 0 | 1 | NOASSERTION | 2020-02-05T01:24:22 | 2020-02-05T01:24:21 | null | UTF-8 | C++ | false | false | 3,016 | cpp | // Copyright (c) 2021 Bitcoin Association
// Distributed under the Open BSV software license, see the accompanying file LICENSE.
#include "processing_block_index.h"
#include "config.h"
DisconnectResult ProcessingBlockIndex::ApplyBlockUndo(const CBlockUndo &blockUndo,
const CBlock &blo... | [
"neza.belej@crea.si"
] | neza.belej@crea.si |
5db7102205d1cc76973436c4fef4664df532912f | 3fb07eb1f17b8ea729dccb81cbc6bcac6b6f6b65 | /src/Platform/Win32/Input.cpp | 403b1a2ce30ed0bf0b90930ad7d9f8fe77fb8462 | [] | no_license | petiaccja/Inline-BaseLibrary | 4c3839dcb3aadc72bb333241951e5bb0b5a37a54 | 413051a1804bbb138da9061f032af44d1c10bd8c | refs/heads/master | 2021-01-09T15:52:58.912704 | 2020-09-19T19:05:41 | 2020-09-19T19:05:41 | 242,363,322 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,798 | cpp | #include <InlineLib/Platform/Win32/Input.hpp>
#include <InlineLib/Exception/Exception.hpp>
#pragma comment(lib, "hid.lib") // No need to put in project files because no one else should use these anywhere else.
namespace inl {
Input::Input(Input&& rhs)
: m_sharedState(std::move(rhs.m_sharedState)) {
... | [
"kardospeter1994@hotmail.com"
] | kardospeter1994@hotmail.com |
07e4ddec657c530f6382faf904f72bf80c02ac04 | bbf3c4ff03ecfbc2613851878b76e19586fc76e5 | /Code/Playlist_place.h | f0c8e35b8bfb77756fbb16604ec8e67d7e2e562d | [
"MIT"
] | permissive | hamedsteiner/Gerdabify | b43ccd5634107167db330f80c96a26c8533b69ff | a98b26d70e2678df55324d06414b34351977debb | refs/heads/master | 2023-02-17T19:29:42.588875 | 2021-01-18T02:09:36 | 2021-01-18T02:09:36 | 292,708,756 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 739 | h |
#ifndef PLAYLISTPLACE_H
#define PLAYLISTPLACE_H
#include <cstdlib>
#include <vector>
#include <cmath>
#include <string>
#include <vector>
#include <cmath>
#include <sstream>
#include <iostream>
#include <algorithm>
#include "place.h"
class Artist;
class Playlist;
class Music;
using namespace std;
//typedef vecto... | [
"hamedsteiner@hamedsteiner.local"
] | hamedsteiner@hamedsteiner.local |
cf1cefbf77f485b9a5b3b018a148a0036e8698f8 | f0a8ab8dafda5b7dd778f5bb3e389b363fd92e64 | /speed.cpp | 7d5e9a7ce53552219aa38ace7bcc45f42581db6e | [] | no_license | kmanghat/Kattis-Solutions | d13737a6fd3a6b3bb33dfbd5d918bd5508b4c2df | 2b59626206426e2e802fdda6a0b982cc3a9c1bb8 | refs/heads/master | 2020-03-19T17:36:59.686568 | 2018-12-18T03:22:03 | 2018-12-18T03:22:03 | 136,768,755 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,211 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long double ld;
ld processTime(vector<pair<ld, ld>> v, ld c)
{
ld total = 0;
for(auto i : v)
{
total += i.first / (i.second + c);
}
return total;
}
int main()
{
ios_base::sync_with_stdio(false);
cin.tie(NULL);
co... | [
"keshav.manghat@mines.sdsmt.edu"
] | keshav.manghat@mines.sdsmt.edu |
3139e41cefb0c8ec41d9957eedfb5b41727fdc81 | 830062cc7e71cf360c7c82eb7a2c2c6e9e9678dd | /test/unit/tree/ellen_bintree_set_dhp.cpp | 661e6183210942476c4ed48c58b05784925b822f | [
"BSD-2-Clause",
"BSD-3-Clause"
] | permissive | Rextuz/libcds | c92552a8230efaec239c4de08940451c1f810051 | bdc8ebf24da12e18502a142033fe554eddcdf73f | refs/heads/lazy_skip_list_dev | 2021-05-05T05:03:55.924801 | 2018-01-28T20:13:28 | 2018-01-28T20:13:28 | 118,657,345 | 0 | 0 | BSD-2-Clause | 2018-01-28T11:28:03 | 2018-01-23T19:18:40 | C++ | UTF-8 | C++ | false | false | 6,164 | cpp | /*
This file is a part of libcds - Concurrent Data Structures library
(C) Copyright Maxim Khizhinsky (libcds.dev@gmail.com) 2006-2017
Source code repo: http://github.com/khizmax/libcds/
Download: http://sourceforge.net/projects/libcds/files/
Redistribution and use in source and binary forms, with... | [
"libcds.dev@gmail.com"
] | libcds.dev@gmail.com |
570a02ffdc1a78e88a293eed9c830b75e6171aed | ecbf5821fdd3d108632c4fb7adf56844045479ec | /TransshipmentProject/DPLeadTimeTransshipment_Simulator.h | 683ce5bd0b7ba659b0afd51a9c9f8588ab1b5500 | [] | no_license | OlgaRusyaeva/Transshipment | 339c338fc5f8280d7ef00a57f07eba230aa6f356 | 95964b0c756d5718c95b602bc205644bb6729682 | refs/heads/master | 2021-01-02T09:41:35.355276 | 2017-08-03T23:11:42 | 2017-08-03T23:11:42 | 99,280,382 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,652 | h | //
// DPLeadTimeTransshipment_Simulator.h
// TransshipmentProject
//
// Created by Olga on 16/09/15.
//
//
#ifndef __TransshipmentProject__DPLeadTimeTransshipment_Simulator__
#define __TransshipmentProject__DPLeadTimeTransshipment_Simulator__
#include "SimulatorReplenishmentAndTransshipments.h"
#include "types.h"
... | [
"rusyaeva@yandex.ru"
] | rusyaeva@yandex.ru |
0590010bdecf0a3450948e6c8d12b33b3bcd134c | 37df55e9564216ca1f8b3742b5f9d387d7a83196 | /main.cpp | 58d7b61c2aab266590851b1a5a7d9c3a1818a12c | [] | no_license | piotrek248/tetris | f86429435d0c950ecfc341a0ddccf3a64962936e | 51dac39eaf5e2b1677703041349f4ef17a19f55a | refs/heads/master | 2022-08-28T17:23:24.149941 | 2020-05-23T09:55:00 | 2020-05-23T09:55:00 | 266,305,747 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 354 | cpp | #include <QApplication>
#include "engine.h"
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
engine *object = new engine;
QGraphicsView *view = new QGraphicsView();
view->setScene(object->scene);
view->setSceneRect(0,0,500,500);
object->figure(object->choose_figure());
view-... | [
"pio_trek248@interia.pl"
] | pio_trek248@interia.pl |
ad91575d7bf14f84f289f3bbe6feb06f825ee653 | a8ce212d793786bf17ba5ae4439e699969a4ca2d | /devel/include/sound_play/SoundRequest.h | bb9be2a7e3e9e1ec6b2f4676dce9dbbdd190e106 | [] | no_license | jgkim2020/hexapod | 8779415472c6e8c3e397ae6f97b1f029648717fb | 72751ea6019df722316ed50d43f9d5dbe4bd0dd9 | refs/heads/master | 2021-12-10T05:28:34.199031 | 2016-07-25T06:48:27 | 2016-07-25T06:48:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,557 | h | // Generated by gencpp from file sound_play/SoundRequest.msg
// DO NOT EDIT!
#ifndef SOUND_PLAY_MESSAGE_SOUNDREQUEST_H
#define SOUND_PLAY_MESSAGE_SOUNDREQUEST_H
#include <string>
#include <vector>
#include <map>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_message_traits.h>
#include ... | [
"donghoonpark@github.com"
] | donghoonpark@github.com |
80850e8a369d64776139a13c2725f65286fe64c5 | 1702be86fb699140f05db0dc153368c19e59e1cc | /vtkm/thirdparty/diy/vtkmdiy/include/vtkmdiy/mpi/status.hpp | 6b390b1801f11bcef5a57d9e50b718a28a2e44dd | [
"BSD-3-Clause-LBNL",
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | yisyuanliou/vtk-m-v1.5.0 | 7377e5ef962032aec0977a7248605958a562caf0 | 66e5fb7aa78ac327c2154b1a2ace7f88566358f2 | refs/heads/main | 2023-03-28T09:44:08.181818 | 2021-04-02T11:34:55 | 2021-04-02T11:34:55 | 329,729,614 | 0 | 0 | NOASSERTION | 2021-04-02T11:34:55 | 2021-01-14T20:42:29 | C++ | UTF-8 | C++ | false | false | 1,015 | hpp | namespace diy
{
namespace mpi
{
struct status
{
int source() const { return s.MPI_SOURCE; }
int tag() const { return s.MPI_TAG; }
int error() const { return s.MPI_ERROR; }
inline
bool cancelled() const;
template<... | [
"yisyuan@liuyixuandeMacBook-Pro.local"
] | yisyuan@liuyixuandeMacBook-Pro.local |
af0b4c47cb2f9a71a25d464874a1ddeebda65923 | 4062e8b851901c55748354a0a1840c4a79c1c08a | /torrent-2/oct-29 11:37am/client1.cpp | a44f453aca2802f6147edc8bd153f73b8173798b | [] | no_license | rishabh26malik/MTECH-SEM-1-BACKUP | e46cb35176d30dd9b8b2cd60253be6c422588154 | 72c5d4e978e240b6726c879bff5d0d7fa6245b45 | refs/heads/master | 2023-01-23T06:15:20.464476 | 2020-11-24T01:27:15 | 2020-11-24T01:27:15 | 308,491,199 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 28,281 | cpp | #include "header.h"
#define PORT 8080
using namespace std;
CLIENT client[10];
int k=0;
map <int, int> sock2idx;
vector <vector<string>> downloaded_files(100);
map <string, int> file_2_idx;
string server_ip;
int server_port;
string shareHASH;
int client_port;
string client_ip;
//CLIENT client[10];
//int k=0;
//map <... | [
"rishabhmalik26@gmail.com"
] | rishabhmalik26@gmail.com |
4960fb374aa60ffc8e51acfa2c2891ae40eee00b | d7f13ea4c869fd6d467fa648898be25ba591cf7e | /src/JacHashPP/jachash.cpp | 1b38b1514efc3c22be377c94155eecba29983b4d | [] | no_license | JacobMisirian/JacHash | d18ccbc2f3bbeb714a3935c3ce53e3169a26c444 | 4057e8cd967047233132c16819980e6951b92107 | refs/heads/master | 2021-01-21T04:31:54.337564 | 2016-08-02T03:46:24 | 2016-08-02T03:46:24 | 36,995,336 | 0 | 1 | null | 2015-06-07T14:27:27 | 2015-06-06T21:13:32 | C# | UTF-8 | C++ | false | false | 2,425 | cpp | //
// Created by reagan on 5/26/16.
//
#include <iostream>
#include <string.h>
#include "jachash.h"
#define MAX_LENGTH 16
#define FILLER_BYTE 0xF
jachash::jachash() {}
void jachash::computeHashFromFile(char* dest, FILE *fp) {
init();
int i;
fseek(fp, 0L, SEEK_END);
int length = ftell(fp);
rewind... | [
"misirianrule@gmail.com"
] | misirianrule@gmail.com |
1f7eec5bb0d0588724ac4697298857a3f6111520 | 03500104c055a8d342adf53fc7b23a27bd278163 | /Scada-Systems/free-scada/FreeSCADA1/source/Designer/Primitives/Manipulator.cpp | 0539c3cd0a9dd09110ca3558f715ce4b255afae9 | [] | no_license | qqsskk/IndustrialAutomation | 07f57a8ce8ad6689b49f4f11b2ec492fcecc8d33 | cd094886846fbd40648059a2c41d388c6373ca1a | refs/heads/master | 2023-03-15T15:29:46.294172 | 2018-12-15T05:13:05 | 2018-12-15T05:13:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 194 | cpp | #include "stdafx.h"
#include ".\manipulator.h"
namespace Primitives
{
CManipulator::CManipulator(CObject* Obj)
: _Object(Obj)
{
}
CManipulator::~CManipulator(void)
{
}
}
| [
"fxrdude@gmail.com"
] | fxrdude@gmail.com |
4396a219c19776d3359e3e8302204aa0d7905a9e | bfc1be2a633d3556527c9e5d634efe57049853a2 | /codeforces/52C.cpp | 9c4f8e0ab351888ef69085130f4254b5eb0acaaa | [] | no_license | madaan-nikhil/competitive-programming | f4b2db7d3aff53c152da21e6bb0532ed84835d2d | 140beddee90c85e43c20e3b1752b4ceb4244873d | refs/heads/master | 2021-10-02T20:27:34.385505 | 2018-11-30T14:51:17 | 2018-11-30T14:51:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,501 | cpp | #include <bits/stdc++.h>
#define ll long long int
#define pb push_back
#define fi first
#define se second
#define mp make_pair
#define _cin ios_base::sync_with_stdio(0); cin.tie(0);
#define lb(x, k) lower_bound(all(x), k)-x.begin()
//first element not less than (i.e. greater or equal to) k
#define ub(... | [
"nikhil29091997@gmail.com"
] | nikhil29091997@gmail.com |
09d9a7ed9874691b5e037e78777f4a25af33070a | f9897caa8b9198cf887a06f617f204719a25ab5f | /nvImage/nvImageDDS.cpp | ba87906171dda39642a9420a2c02619853ef9eab | [] | no_license | GKR/NvidiaCascadedShadowMapsGLM | 13fc8aad597484f91077fed11466e98e4656217d | ac6fdc9b22a3233038b77981490f904fef5527f5 | refs/heads/master | 2021-01-10T17:33:28.160524 | 2016-04-15T21:02:27 | 2016-04-15T21:02:27 | 47,855,853 | 30 | 7 | null | null | null | null | UTF-8 | C++ | false | false | 20,864 | cpp | //
// nvImageDDS.cpp - Image support class
//
// The nvImage class implements an interface for a multipurpose image
// object. This class is useful for loading and formating images
// for use as textures. The class supports dds, png, and hdr formats.
//
// This file implements the DDS specific functionality.
//... | [
"gunnar.kriik@gmail.com"
] | gunnar.kriik@gmail.com |
6d8114e5f44f8013f2c635a4bfa1b02ededd942b | 17633d1f00948a49ebf058df74863a4992ead4f5 | /621/P621/P621/main.cpp | 4a4f008a7e20529a2b2a6432720a1bd4531f68c8 | [
"MIT"
] | permissive | swy20190/Leetcode-Cracker | 965ae2ce9c548dc39cbe3a082258c2373301248c | 3b80eacfa63983d5fcc50442f0813296d5c1af94 | refs/heads/main | 2023-07-01T15:06:57.827192 | 2021-08-12T07:30:23 | 2021-08-12T07:30:23 | 311,195,588 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 432 | cpp | #include <vector>
#include <algorithm>
using namespace std;
class Solution {
public:
int leastInterval(vector<char>& tasks, int n) {
vector<int> cnt(26, 0);
for (char task : tasks) {
cnt[task - 'A']++;
}
sort(cnt.begin(), cnt.end());
int maxCnt = 0;
for (int i = 25; i >= 0; i--) {
if (cnt[i] != cn... | [
"midnightsun114514@gmail.com"
] | midnightsun114514@gmail.com |
fd54036fe8ce969dde6b922d2b0d8d87c7ce4625 | 22d33cbec65939bd9f741bc710468c2ae5545e50 | /Card_9.cpp | 06c454e5004299377d66d7073a72f00c46414e19 | [] | no_license | GhiathAjam/Snake_nd_Ladders | 4cfa70d0264428d614499d71c446f7497d57e8c6 | 2bc9807fe23762a350f96d5decb9da34d9a8a7f4 | refs/heads/main | 2023-02-03T20:10:26.353179 | 2020-12-23T20:31:35 | 2020-12-23T20:31:35 | 323,995,419 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,313 | cpp | #include "Card_9.h"
#include "CellPosition.h"
#include "Ladder.h"
#include "Snake.h"
Card_9::Card_9(const CellPosition& pos) : Card(pos) // set the cell position of the card
{
cardNumber = 9; // set the inherited cardNumber data member with the card number (1 here)
}
Card_9::Card_9()
{
cardNumber = 9; // set the in... | [
"ajamghiath@gmail.com"
] | ajamghiath@gmail.com |
6f33f9a3176fca93da2941a0268d777e227ee790 | 1ae60d7cc65c8bed2c8ebe2bb90488585fb67e78 | /cpp/openScenarioLib/generated/v1_2/checker/model/CardinalityCheckerHelperV1_2.cpp | cb36e595748576d38c94f90f5b8c193e63f2c701 | [
"Zlib",
"BSL-1.0",
"Apache-2.0",
"MIT",
"BSD-3-Clause"
] | permissive | RA-Consulting-GmbH/openscenario.api.test | af3e2f30f2567402d1a105cc8a85949959ca488c | 6c6d6c43764029033b35987d1b8d69cea3a873f0 | refs/heads/master | 2023-02-18T23:50:13.415340 | 2023-02-15T13:07:47 | 2023-02-15T13:07:47 | 276,599,487 | 37 | 9 | Apache-2.0 | 2023-02-15T13:48:00 | 2020-07-02T09:05:18 | C++ | UTF-8 | C++ | false | false | 38,011 | cpp | /*
* Copyright 2020 RA Consulting
*
* RA Consulting GmbH licenses this file 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 requ... | [
"m.uzair@rac.de"
] | m.uzair@rac.de |
6c9886b7aed37bd55f9f26f56b2580d37d7a896b | a94c5d250318ce9325f9c20f2867de4b403dfc02 | /src/stats.cpp | c01d050a9374a3ee7480ce7d5065d83c2931bb9e | [
"MIT"
] | permissive | blastmaster/rabbitxx | 2ff04c8e7a9752bc9a4cf565c25dd8e83ed932e2 | c2f3d7852b10c1284d3621fbeba7b10507abdd74 | refs/heads/master | 2022-03-11T19:38:39.002316 | 2019-05-03T13:11:50 | 2019-05-03T13:11:50 | 94,319,531 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,401 | cpp | #include <rabbitxx/stats.hpp>
namespace rabbitxx
{
std::map<std::string, std::vector<VertexDescriptor>>
file_map(const IoGraph& graph, const set_t<VertexDescriptor>& cio_set)
{
std::map<std::string, std::vector<VertexDescriptor>> f_map;
for (VertexDescriptor vd : cio_set)
{
auto io_evt = get_io_pr... | [
"sebastian.oeste@tu-dresden.de"
] | sebastian.oeste@tu-dresden.de |
1a3312951b7c2d8827c862733cc86db1fc151edc | c95aef9e165e2d71e59c06416244c8c2658c3c5d | /src/support/pagelocker.cpp | 4ed364eb78f47cbc940c95dd3e1d8d510dcd3e65 | [
"MIT"
] | permissive | Dito24/MDClassic | 327d7348dba7d9b4404b4141ca2332e92d13eb82 | ce04695c3e310305f7fd9c035814d660f60b736f | refs/heads/master | 2021-05-10T19:49:07.285686 | 2018-01-21T17:42:14 | 2018-01-21T17:42:14 | 118,166,933 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,895 | cpp | // Copyright (c) 2009-2015 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "support/pagelocker.h"
#if defined(HAVE_CONFIG_H)
#include "config/mrclassic-config.h"
#endif
#ifdef WIN32
#ifdef ... | [
"dito24@protonmail.com"
] | dito24@protonmail.com |
2d2dd200f22466bd42dbb676327ea8c2e3a763ad | 68f9c8d33e82dbfcadd90eab5eb99212732be0ab | /PSoCCreator/Final Project/FinalEmulator.cydsn/Generated_Source/PSoC5/cydevicerv_trm.inc | 51dca9a7d8f01f3f1b44a31aa14783aa8af4ffeb | [] | no_license | keshavgupta21/6.115-final | 246f5190b94b7629c05a1d0d8e2aa94f15724678 | 0faf55af44ff35b54400bad9793610f3306c86a1 | refs/heads/master | 2020-05-07T10:25:23.142325 | 2019-05-16T07:01:28 | 2019-05-16T07:01:28 | 180,412,466 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 477,997 | inc | ;
; File Name: cydevicerv_trm.inc
;
; PSoC Creator 4.2
;
; Description:
; This file provides all of the address values for the entire PSoC device.
;
;-------------------------------------------------------------------------------
; Copyright (c) 2007-2018 Cypress Semiconductor. All rights reserved.
; You m... | [
"info@keshlabs.in"
] | info@keshlabs.in |
60f796fa6ceaa5bfa61db7a04097554444e36544 | 5561a650799f94f6b7c9d56d6e66b1c303cf3843 | /284.cpp | c64567558465fd6f8208b7f54bf98019b1190c73 | [] | no_license | Hangjun/LeetCode_Haochen | 48ed54d59ca5006887d0b7af5b1d12c71f0abed1 | 3d78d7c0ea441b781ae1869f48bf95861b9eb3ba | refs/heads/master | 2021-01-12T20:55:51.906501 | 2015-09-24T23:56:55 | 2015-09-24T23:56:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,384 | cpp | /*
284. Peeking Iterator
Given an Iterator class interface with methods: next() and hasNext(), design and implement a PeekingIterator that support the peek() operation -- it essentially peek() at the element that will be returned by the next call to next().
Here is an example. Assume that the iterator is initialized ... | [
"liuhaochen1221@hotmail.com"
] | liuhaochen1221@hotmail.com |
69435666d69d8a8bb39f8fac901f8ae6b7eedb4e | 8c562017e07820dd117503ca581aae5bd453b19a | /Semester 1/C++ Programming/Algolab/Week 5/21.cpp | 4fd3699be835003429314b0722a3770f277a5921 | [] | no_license | minjj0905/KMU_2020 | 178bc2c2eb06f9789132f349eae50eef030ff5a4 | ca11f9d0248a02f784341ca37bc9855de7ac1536 | refs/heads/master | 2021-04-24T13:10:55.380780 | 2020-10-15T11:55:19 | 2020-10-15T11:55:19 | 250,122,527 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 596 | cpp | #include <iostream>
using namespace std;
int t, n, k;
int main() {
cin >> t;
while(t--){
cin >> n;
int a[n];
for(int i=0; i<n; i++) {
cin >> a[i];
}
cin >> k;
int ans[n-k+1];
int temp = 0;
for(int i=0; i<n-k+1; i++) {
... | [
"kmj2967@kookmin.ac.kr"
] | kmj2967@kookmin.ac.kr |
7aa6e6d77de9bb6f77ef50e21ef55e8e50fc093a | 33b567f6828bbb06c22a6fdf903448bbe3b78a4f | /opencascade/StepKinematics_SphericalPairWithRange.hxx | 43cf7c6bd6f4269cb5a8d4f9b7a19d9c99e107a5 | [
"Apache-2.0"
] | permissive | CadQuery/OCP | fbee9663df7ae2c948af66a650808079575112b5 | b5cb181491c9900a40de86368006c73f169c0340 | refs/heads/master | 2023-07-10T18:35:44.225848 | 2023-06-12T18:09:07 | 2023-06-12T18:09:07 | 228,692,262 | 64 | 28 | Apache-2.0 | 2023-09-11T12:40:09 | 2019-12-17T20:02:11 | C++ | UTF-8 | C++ | false | false | 6,372 | hxx | // Created on : Sat May 02 12:41:16 2020
// Created by: Irina KRYLOVA
// Generator: Express (EXPRESS -> CASCADE/XSTEP Translator) V3.0
// Copyright (c) Open CASCADE 2020
//
// This file is part of Open CASCADE Technology software library.
//
// This library is free software; you can redistribute it and/or modify it un... | [
"noreply@github.com"
] | CadQuery.noreply@github.com |
21b7aabb91715221fbef91066624b188d1c778de | debe718e37adbb0be583c4849d3051c29ccd3202 | /GreedySnake.cpp | 401af489ddc9479ea5b7cbe820b94f4d72038135 | [] | no_license | nn139159/GreedySnake | 7b3d27aec0ad53d6e4236fbbbdbd467d31e2d502 | 2eeed5232b88f73fc0c6d8b1f2e24e3ece02d9bf | refs/heads/master | 2023-02-19T03:23:18.907353 | 2021-01-20T07:01:49 | 2021-01-20T07:01:49 | 330,901,856 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 566 | cpp | // GreedySnake.cpp : 此檔案包含 'main' 函式。程式會於該處開始執行及結束執行。
//
#include <iostream>
#include "game.h"
int main()
{
Game G;
G.Start();
while (true)
{
G.Select();
G.Draw();
int temp = G.Play();
if (temp == 1)
{
system("cls");
G.St... | [
"noreply@github.com"
] | nn139159.noreply@github.com |
a37b85fe5c2a2cdf5394a50988cf4859f02cc456 | 2ac400bacacb78815d2a42755fb6606e731bc868 | /Class/Game/Lootable.hpp | 4c5d0a414e56d66197d56d3dc026debf2390bf62 | [] | no_license | JustRomeo/Jam_Juin2020 | 0f1ae52c1b0b96c5d541ac94a9549a8a1eed5758 | ff24e84336003cd6a93de4eca82c58cc2ee4019e | refs/heads/master | 2023-03-09T00:53:10.236116 | 2021-02-26T11:19:32 | 2021-02-26T11:19:32 | 275,158,456 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,481 | hpp | #ifndef __LOOTABLE__
#define __LOOTABLE__
#include <vector>
#include <memory>
#include <iostream>
#include "Objet.hpp"
#include "ImageSFML.hpp"
#include "LibGraphics.hpp"
using namespace std;
class Lootable {
public:
enum TYPE {Undefined, Object, Potion};
Lootable(shared_ptr<Lootable> &);
... | [
"romeo@localhost.localdomain"
] | romeo@localhost.localdomain |
51d8c2281c4eaa882d2a301dad2a14c301782d0d | 950884cea2a67bc2047c8a7c278d1cbf7f657b29 | /sols/A8.6.cpp | c03903c46c985d77dd3d63390a25abacfb121a36 | [] | no_license | lisiynos/loo2015 | ac5bd8d1d81c301be0e65960c3707506120f0b7f | cf3d12589c9e586921c2a38554103fc1c7652abe | refs/heads/master | 2020-12-25T17:35:50.917577 | 2016-08-29T09:31:40 | 2016-08-29T09:31:40 | 29,869,192 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,726 | cpp | #include <iostream>
#include <cstdio>
using namespace std;
long long GCD (long long a, long long b)
{
while (a && b)
{
if (a > b)
a %= b;
else
b %= a;
}
return a + b;
}
int main()
{
freopen("forest.in","r",stdin);
freopen("forest.out","w",stdout);
l... | [
"super.denis@gmail.com"
] | super.denis@gmail.com |
3e7ec6ec30165e920cc153d68a17ebd18eb135a9 | 1957f86d4539255fe7ffbcfe40ffbc4589b0a33c | /compileAttributes/lamW/src/RcppExports.cpp | 68627ab8da2a0819afc32e533feca1b298d66f4f | [] | no_license | NAU-CS/RcppExports | fd9dc77f481bc50fec174f42f426535f49dcce3a | 87d1b597283aa458c53110ade228b33cd95545ff | refs/heads/master | 2022-07-26T10:32:13.235183 | 2022-07-08T16:56:58 | 2022-07-08T16:56:58 | 237,045,789 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,357 | cpp | // Generated by using Rcpp::compileAttributes() -> do not edit by hand
// Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393
#include "../inst/include/lamW.h"
#include <Rcpp.h>
#include <string>
#include <set>
using namespace Rcpp;
// lambertW0_C
NumericVector lambertW0_C(NumericVector x);
static SEXP _lamW_lambe... | [
"Toby.Hocking@nau.edu"
] | Toby.Hocking@nau.edu |
313c2df5e89ca25e2d7d025cae03dcbe14c2e8e1 | 87730853e32254de31f8d5fbd3fc49012ae9b08d | /clases/lienzo.cpp | a85127afb070fb66bc4cba90d9a837c86bf158b7 | [] | no_license | drimer/QtPaint | 7ec554422614a4493371654039ad7198dffc03c4 | fd785ee368e75ff4b85c89871df8ab09e23ab667 | refs/heads/master | 2020-12-24T15:31:11.040064 | 2012-10-05T15:57:08 | 2012-10-05T15:57:08 | 6,092,590 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,358 | cpp | /**
* @file lienzo.cpp
* @version 0.1
* @author
* Salvador Castillo Beltrán
* Alberto Aguilera Juárez
* @brief Implementación de la clase lienzo.
**/
#include "lienzo.h"
#include <QPainter>
#include <QObject>
#include <QMouseEvent>
#include <utility>
#include <QColorDialog>
#include <QFileDialog>
#include <QMessageB... | [
"drimer.aaj@gmail.com"
] | drimer.aaj@gmail.com |
f8d0986e2c0f86251cd7dd416f332b06ded5f69e | 972cb450bcd41b358bfa11626e6106e4305fc8bd | /viennacl-frontend/moa-frontend-lib/naive_knn.cpp | ecba22725cee295d5d3d36dd44b182584a83e68a | [] | no_license | vpa1977/hsa_jni | 0d0e161dd172b4474ceff3eb9abbef38c3314a01 | 2fd116df759eb49ee43ad4e0f4666b2d804292ba | refs/heads/master | 2021-01-13T01:31:22.613111 | 2015-11-01T22:58:57 | 2015-11-01T22:58:57 | 25,964,396 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,726 | cpp | #include "library.hpp"
#include "viennacl/ml/naive_knn.hpp"
#include "org_moa_gpu_NaiveKnn.h"
#include "offheap_helpers.hpp"
typedef double KnnNumericType;
const char* const thisClazz = "org/moa/gpu/NaiveKnn";
class default_knn_impl : public viennacl::ml::knn::naive_knn<KnnNumericType>
{
public:
default_knn_impl(in... | [
"vpa1977@gmail.com"
] | vpa1977@gmail.com |
d0909c20bea887579b01cd1ca8320bc7412b528a | 92ccee08d1acfaa18a2415fff948b65bdee2f957 | /src/qt/bitcoingui.cpp | 055bafefaf71b1052c695e6200e4172db16925ef | [
"MIT"
] | permissive | cubex-network/cubex | af131a5201f0189e2313b3f32ec017547eed521e | ed935e27cbaf9a781be57a48f7ca6d5bb1ba138a | refs/heads/master | 2020-03-20T07:23:09.108987 | 2018-07-06T11:00:02 | 2018-07-06T11:00:02 | 137,279,350 | 2 | 5 | MIT | 2018-06-29T13:44:27 | 2018-06-13T22:44:00 | C++ | UTF-8 | C++ | false | false | 51,607 | cpp | // Copyright (c) 2011-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The PIVX developers
// Copyright (c) 2018 Cubex-Network Developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit... | [
"dr4ge@mail.com"
] | dr4ge@mail.com |
3afa0bccf683715b08a4ed066d1b1d6ec64d0ba5 | 24baf59ec44d8928f1274635f4296456bdc67c60 | /ouzel/rpi/main.cpp | 85edee962b9c70f75af59794110caaee8027a215 | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | truonglvx/ouzel | 206b9d24957ea540c4e2af7d423c3ac31f82e838 | 477aab6258c5f6d295b51c22a04c33c54440b426 | refs/heads/master | 2021-01-21T23:19:59.724401 | 2016-08-09T02:39:52 | 2016-08-09T02:39:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 262 | cpp | // Copyright (C) 2016 Elviss Strazdins
// This file is part of the Ouzel engine.
#include "ApplicationRPI.h"
using namespace ouzel;
int main(int argc, char* argv[])
{
ouzel::ApplicationRPI application(argc, argv);
return application.run() ? 0 : 1;
}
| [
"elviss@elviss.lv"
] | elviss@elviss.lv |
ced7e353ea89d2a6139d3407179239eab9caa282 | ac86e230b0c2d59a6295a81bddc963f1a60494bc | /mcrouter/lib/network/gen/Common-inl.h | eef252dcb6db7e10f222d2def5876e91dad56054 | [
"BSD-3-Clause"
] | permissive | ptomsich/mcrouter | 5206c2f5410df48fc4ae1a13637bee84e1957186 | 265f349df6645dc9728185fe717a88931bd609f9 | refs/heads/master | 2021-01-20T08:20:12.852389 | 2016-09-07T06:26:57 | 2016-09-07T06:37:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,226 | h | /*
* Copyright (c) 2016, 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.
*
*/
/*
* THIS... | [
"facebook-github-bot-3-bot@fb.com"
] | facebook-github-bot-3-bot@fb.com |
e2deb14a0404c3a2bc043079f6eb7282a41909f6 | 8f02939917edda1e714ffc26f305ac6778986e2d | /BOJ/2150/main.cc | 853ffc63557585f11e6b77d74fbda2b871deb283 | [] | no_license | queuedq/ps | fd6ee880d67484d666970e7ef85459683fa5b106 | d45bd3037a389495d9937afa47cf0f74cd3f09cf | refs/heads/master | 2023-08-18T16:45:18.970261 | 2023-08-17T17:04:19 | 2023-08-17T17:04:19 | 134,966,734 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,678 | cc | #include <bits/stdc++.h>
#define endl "\n"
using namespace std;
typedef long long lld;
typedef pair<int, int> pii;
typedef pair<lld, lld> pll;
////////////////////////////////////////////////////////////////
int V, E;
vector<vector<int>> adj;
vector<int> sccId, discovered;
stack<int> st;
int sccCnt, vertexCnt;
int sc... | [
"queued37@gmail.com"
] | queued37@gmail.com |
0f1989c8b379f89f84dde4d5248bf44118bbbe1a | 7cbb7a7d2595f5c1636c089a1cb3766016685486 | /src/unit/fresh_cross.cpp | 331e7d564426f981a9b598d18e4df3e543ad354a | [] | no_license | rokon1014/Real-Time-Model-Predictive-Control | ad4646e2e670a0548c7006726ab6b556bbe50dde | 1257c2b53d0294bb0de49250414688d20001186c | refs/heads/master | 2021-01-01T04:08:02.301990 | 2017-07-13T13:24:47 | 2017-07-13T13:24:47 | 97,125,220 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,074 | cpp |
#include <drawstuff/drawstuff.h>
#include "ros/ros.h"
#include "std_msgs/String.h"
#include "std_msgs/Float32.h"
#include <math.h>
#include "MathUtils.h"
#include "ControlPBP.h"
#include "UnityOde.h"
#include <ode/ode.h>
#include <stdio.h>
#include <sstream>
#include <cstdio>
#include <iostream>
#include <unit/from_ro... | [
"email_id"
] | email_id |
339f081ee1d2cd834c10078b637435d1eacd2193 | 02737785260c6dad2a6636d039a8e97dfc8b53b8 | /source/constants.cpp | c0efe121f370f65209670cee30e750be2d31f713 | [
"MIT"
] | permissive | simonking200/xlnt-ue4 | d95c5a43cc844f8fd5776a884e3968eb541bf8d4 | 70e561ab956fda161a5e93257f929c0b0e3d9435 | refs/heads/master | 2022-08-02T01:54:55.392539 | 2020-06-01T08:03:26 | 2020-06-01T08:03:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,461 | cpp | #include <limits>
#include <xlnt/config.hpp>
#include "constants.hpp"
namespace xlnt {
const row_t constants::MinRow = 1;
const row_t constants::MaxRow = LimitStyle == limit_style::excel ? (1u << 20) : UINT32_MAX;
const column_t constants::MinColumn = 1;
const column_t constants::MaxColumn = LimitStyle == limit_sty... | [
"thomas.fussell@gmail.com"
] | thomas.fussell@gmail.com |
83cfbdfb52eedefcd5945f28c353579f9b0fcfea | 5a7c2a825728acdc41ba1c883e64def2aa0d8970 | /mapreduce2/src/app/PageRank3/PageRankValue.hpp | a294e8fbfa1fe108903e9039f45cd1b3d902b7f9 | [] | no_license | kyhhdm/TPlatform | 6f4df42b3e628f116ae4f8efb91a5a363e2e82ed | 77020007648d609e074959b7cb29ee246e0cd400 | refs/heads/master | 2021-01-22T23:16:35.491597 | 2012-08-30T04:07:30 | 2012-08-30T04:07:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,080 | hpp | /**
* @file PageRankValue.hpp
* @description: the value object which pagerank reducer generated
*
* @author ChenRishan
* @date 2008-06-24
*
* */
#ifndef PAGERANK_PAGERANKVALUE_HPP
#define PAGERANK_PAGERANKVALUE_HPP
#include <string>
#include <vector>
#include <iostream>
namespace mapreduce{
class Arc... | [
"kyhhdm@gmail.com"
] | kyhhdm@gmail.com |
4352bdb55dd0594b9645b8d9178d8c71795cdd9d | 0b508c21b3a219f0c9f05e7457f34517fd31a119 | /SPOJ/EASYMRKS/15840174_AC_0ms_15360kB.cpp | 4086fc61c8c16617d30f00c02862c881fb915697 | [] | no_license | shiningflash/Online-Judge-Solutions | fa7402d37f8ca3238012d7cff76255dec3e9e2b0 | fc267f87b6c0551d5bdf41f2e160fce58b136ba9 | refs/heads/master | 2021-06-11T20:52:16.777025 | 2021-03-31T12:52:54 | 2021-03-31T12:52:54 | 164,604,423 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 372 | cpp | #include <bits/stdc++.h>
using namespace std;
int main() {
int i, j, t, a, k, n, req, sum;
cin >> t;
for (i = 1; i <= t; i++) {
sum = 0;
cin >> n >> k;
for (j = 1; j <= n; j++) {
cin >> a;
sum = sum + a;
}
req = (k * (n + 1)) - sum;
pr... | [
"amirulislam.bracu@gmail.com"
] | amirulislam.bracu@gmail.com |
dcc5b2e1ffc4eb28bea281f450a2480c4efe1f09 | e31b43a25d9de44f37d5bc7fbd142ca9e9da7bfb | /src/SimTimer.h | aef269ed775792ef635aa757ab992cced98ea2c8 | [
"MIT"
] | permissive | IanFinlayson/ultrabear1 | 535d67a4bff7732f474f0c3ba4e169a88dc479c0 | cb0efffa2bdd2b6bae0d138807b7f7279cf8b96e | refs/heads/master | 2021-01-16T23:51:24.008208 | 2014-08-29T14:13:59 | 2014-08-29T14:13:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 875 | h | /********************************************************************
* SimTimer.h Ian Finlayson 2005 *
* *
* This class provides an abstract way to get fps etc. *
* *
********************************************************************/
#ifndef SIM_TIMER
#define SIM_TIMER
... | [
"finlaysoni@gmail.com"
] | finlaysoni@gmail.com |
27f1d4fa182ad8aa4ef7ec8d89e9672b1d3d25d3 | b8c403ac45800e447d142b840f0101e3a200e731 | /fuck_around/pra_define_roi.cpp | e20f15b88324e0e61a89cedf1899dde81e5c56cf | [] | no_license | pigtamer/UAV_code_practice_cpp | 360f0210458501b224be410d6acad038421e21b8 | 10a5e375ffe48fa79e8fae72a60150aeeeff7ba4 | refs/heads/master | 2021-05-09T12:02:31.711544 | 2018-01-28T06:08:07 | 2018-01-28T06:08:07 | 119,004,124 | 0 | 0 | null | 2018-01-28T06:08:08 | 2018-01-26T04:06:41 | C++ | UTF-8 | C++ | false | false | 615 | cpp | #include <iostream>
#include <string>
#include <opencv2/opencv.hpp>
using namespace std;
using namespace cv;
const string IM_PATH = "X:/cvImg/";
int main(){
Mat im = cv::imread(IM_PATH + "cross.jpg", CV_8UC1);
int rows = im.rows;
int cols = im.cols;
int chans = im.channels(); // channels is func
... | [
"cygee99@gmail.com"
] | cygee99@gmail.com |
69269045e1fda95184877413ab9972b1b0495c53 | 52c3666d016f9a4fae8f0f74d9ee7b6170de9645 | /src/util/bits.h | 4380d6f8f27df946a336f3fc5cfd24887bf3ec50 | [] | no_license | Hypersonic/sdfjit | d6fdde0a2c9dfd9f6fbc40609a317cbc7db52c14 | e46d3f233f9721c769b120c4f6213b1256a69821 | refs/heads/master | 2020-05-19T16:40:06.946963 | 2019-06-08T21:23:15 | 2019-06-08T21:23:15 | 185,115,872 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 156 | h | #pragma once
#include <stdint.h>
namespace sdfjit::util {
uint32_t float_to_bits(float f);
float bits_to_float(uint32_t i);
} // namespace sdfjit::util
| [
"joshhofing@gmail.com"
] | joshhofing@gmail.com |
0d16372fe60cd0be9b17ad5ff8baecafe0a16f0f | 5eb86aa16f5bf9630bfc446858dda6763a20f087 | /CodeForces/translation.cpp | a003c0b94416a8835b4300f79ee71d1ca3e41ad6 | [] | no_license | darkknight7/ComCode | e0ed584d5911336b62004eed6da6768123a3386f | 06ee3e92ba56ff6873d0929c41ac1d8ae6f42ad9 | refs/heads/master | 2020-05-23T08:04:01.535493 | 2016-10-12T13:34:44 | 2016-10-12T13:34:44 | 69,739,300 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 249 | cpp | #include<iostream>
#include<string>
#include<algorithm>
using namespace std;
int main(){
string str,rev_str;
cin>>str>>rev_str;
reverse(rev_str.begin(),rev_str.end());
if(str==rev_str)cout<<"YES"<<endl;
else cout<<"NO"<<endl;
}
| [
"malik.sahil001@gmail.com"
] | malik.sahil001@gmail.com |
90122a8d41f2ebc01daec62e5cffa7929ac4fcb0 | c0f808504dd3d7fd27c39f1503fbc14c1d37bf9f | /sources/praat/fon/PitchTier_to_Sound.cpp | 9422929b2504d6285d872d8d1642eeed48d4d2ec | [] | no_license | georgiee/lip-sync-lpc | 7662102d4715e4985c693b316a02d11026ffb117 | e931cc14fe4e741edabd12471713bf84d53a4250 | refs/heads/master | 2018-09-16T08:47:26.368491 | 2018-06-05T17:01:08 | 2018-06-05T17:01:08 | 5,779,592 | 17 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 4,360 | cpp | /* PitchTier_to_Sound.cpp
*
* Copyright (C) 1992-2011 Paul Boersma
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or (at
* your option) any later versi... | [
"georgios@kaleadis.de"
] | georgios@kaleadis.de |
4b8c82265b48780eb988c724dd271bc415b894ae | 54f62e14405fb25bae9c88e4767944a1d75dec2e | /files/asobiba/Banana/RSujiFontCache.cpp | b7cf65a473ae07230698d5b76b87c41efd9f9e9f | [] | no_license | Susuo/rtilabs | 408975914dde59f44c1670ce3db663ed785d00b2 | 822a39d1605de7ea2639bdffdc016d8cc46b0875 | refs/heads/master | 2020-12-11T01:48:08.562065 | 2012-04-10T14:22:37 | 2012-04-10T14:22:37 | null | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 2,569 | cpp | // RSujiFontCache.cpp: RSujiFontCache クラスのインプリメンテーション
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "RSujiFontCache.h"
//////////////////////////////////////////////////////////////////////
// 構築/消滅
//////////////////////////////////////////////////////////////... | [
"super.rti@gmail.com"
] | super.rti@gmail.com |
8b8f69a8236d423b01aa2480ee8d69ddbec08fae | 2671b752f977ab174f05cee5d6adda3047683800 | /acu/wifi-acu/src/utils/wifi_settings.cpp | 03bd6e49f9dfd4e59a40a481129dd0c3a79536a3 | [] | no_license | featherbear/zifon-yt1000-wifi-acu | b3d195109a926aacb7fc9d3bf35ffe087921152d | e8ba9b53cf904a52a5d98c5cfc4242cbfe103831 | refs/heads/master | 2023-07-14T03:35:50.716323 | 2021-08-28T19:32:22 | 2021-08-28T19:32:22 | 397,970,298 | 7 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,265 | cpp | #include "wifi_settings.hpp"
#include <LittleFS.h>
bool hasInit = false;
namespace WifiSettings {
String ssid;
String password;
bool isDHCP;
String ip;
String mask;
#define __filepath_ssid "/cfg/ssid"
#define __filepath_password "/cfg/password"
#define __filepath_isDHCP "/cfg/isDHCP"
#define __filepath_ip "/cfg/ip... | [
"andrew.j.wong@outlook.com"
] | andrew.j.wong@outlook.com |
72418994f690bb208856afd77af7ac1f4a8939c4 | 88fecb26c8842adc18d7945db24efa609f639b82 | /ImageSorter/main.cpp | ecf0592228bf77b287881ee142a5530fd1c129fb | [] | no_license | dzyubaira/dzyuba_i_i | a651543d4ce11066f0c3698acffa1568c7a04ce2 | cfa111acbc4cfc178d8c3820b6a14cefd9bf3ff4 | refs/heads/master | 2021-09-13T10:47:58.269498 | 2018-04-28T16:23:58 | 2018-04-28T16:23:58 | 104,768,981 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 305 | cpp | #include "dragwidget.h"
#include "dropwidget.h"
#include <QApplication>
int main( int argc, char* argv[] ) {
QApplication a( argc, argv );
DragWidget dragWgt;
dragWgt.show();
DropWidget dropWgt;
dropWgt.show();
DropWidget dropWgt1;
dropWgt1.show();
return a.exec();
}
| [
"noreply@github.com"
] | dzyubaira.noreply@github.com |
f95fdeedaa679ef5d0c3a05edb4ad4f83e0d1b6f | 10eba1ee9ab33c28afe566cb1e81ee7bd2083cde | /NewSonicThing/src/fontMeshCreator/TextMeshData.cpp | b869dec6d3307ba69528e69ce1e94659c6d33f4b | [] | no_license | TurtleMan64/SAB2 | 972ef731c8ca26d2befa2d701c4628ac8274e53f | 487a0f2126aeb67e48181517e8f3c778d0cd0c36 | refs/heads/master | 2023-04-22T08:03:51.851246 | 2023-04-20T05:51:15 | 2023-04-20T05:51:15 | 164,409,226 | 6 | 1 | null | 2021-12-26T23:45:21 | 2019-01-07T09:31:20 | C | UTF-8 | C++ | false | false | 598 | cpp | #include <vector>
#include "textmeshdata.hpp"
TextMeshData::TextMeshData(std::vector<float>* vertexPositions, std::vector<float>* textureCoords)
{
for (float f : (*vertexPositions))
{
this->vertexPositions.push_back(f);
}
for (float f : (*textureCoords))
{
this->textureCoords.push... | [
"turtleboy1026@aol.com"
] | turtleboy1026@aol.com |
93f8d1c1a0153be05e37e9ae0c20ded3823a4823 | ddfa79d8310e7e813334bf01f47083f9519c911b | /RouterCpp/TypeConverter.h | 361e51cb90642ec6e4e032f478dcef586dc2b96c | [] | no_license | nicolasbotto/JniCo | 3f56495880f05506a4c095fd2897aeac2a81e61e | a648ac9fbde31dcca0f8506194eea23d47b17bad | refs/heads/master | 2021-01-10T06:25:59.955402 | 2016-02-25T15:56:42 | 2016-02-25T15:56:42 | 43,921,817 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 698 | h | #include "stdafx.h"
#include <msclr/marshal.h>
#include <jni.h>
#include <cassert>
using namespace System;
using namespace System::Collections::Generic;
class TypeConverter
{
private:
jmethodID doubleValue;
jmethodID intValue;
jmethodID charValue;
jmethodID floatValue;
jmethodID byteValue;
jmethodID shortValue;... | [
"nicolas@agilesight.com"
] | nicolas@agilesight.com |
b5e268ee1c8c2c8b7eb423f17ea1b10a1da96372 | 496ea0da09914953cb02897deb8fcbaf1d4a8b33 | /ravatar-plugin/RavatarPlugin/lodepng.cpp | 1b2ba1587f2c36bc7dbd869774606649d4d57f5e | [] | no_license | vimmi3d/CreepyTracker | 6bd1f6ae5a5681fd120cc333901c310bbb4aedf5 | 25e7c60ca9cc07f050500d69f71559942e8a5934 | refs/heads/master | 2023-07-20T16:23:50.371605 | 2023-07-07T05:51:51 | 2023-07-07T05:51:51 | 100,967,765 | 8 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 243,691 | cpp | /*
LodePNG version 20180910
Copyright (c) 2005-2018 Lode Vandevenne
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,
incl... | [
"rafaelkuffner@gmail.com"
] | rafaelkuffner@gmail.com |
5f76c276ab94202f8dced6c90906b7200c71b144 | c776476e9d06b3779d744641e758ac3a2c15cddc | /examples/litmus/c/run-scripts/tmp_1/ISA2+popl+data+addr.c.cbmc_out.cpp | 2d51a059f1446efd8d5642f29c183197184b0bb3 | [] | 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 | 44,217 | cpp | // 0:vars:3
// 3:atom_1_X0_1:1
// 4:atom_2_X0_1:1
// 5:atom_2_X3_0:1
// 6:thr0:1
// 7:thr1:1
// 8:thr2:1
#define ADDRSIZE 9
#define NPROC 4
#define NCONTEXT 1
#define ASSUME(stmt) __CPROVER_assume(stmt)
#define ASSERT(stmt) __CPROVER_assert(stmt, "error")
#define max(a,b) (a>b?a:b)
char __get_rng();
char get_rng( ch... | [
"tuan-phong.ngo@it.uu.se"
] | tuan-phong.ngo@it.uu.se |
17dc21f52c5d2426bae234f8ea856e77d446a621 | beb8abce124cb0a9a265457c87edbd2dbbbbb502 | /plugins/robots/lamb-bot/simulator/lambbot_turret_entity.cpp | 13e2da2ba13547b7313dbf9e143bed045e297f1f | [] | no_license | Livenai/100-lambs | 56daa39ab82dfbe7799463b90cec775d0d8c88b8 | 0c37508ea445b1a13c4110f10d99dd206aa20554 | refs/heads/master | 2023-06-06T07:08:04.519407 | 2021-06-17T11:23:54 | 2021-06-17T11:23:54 | 295,409,846 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,649 | cpp | /**
* @file <argos3/plugins/robots/lamb-bot/simulator/lambbot_turret_entity.cpp>
*
* @author Carlo Pinciroli - <ilpincy@gmail.com>
*/
#include "lambbot_turret_entity.h"
#include <argos3/core/utility/math/angles.h>
#include <argos3/core/simulator/physics_engine/physics_engine.h>
#include <argos3/core/simulator/spac... | [
"gordilocuente@gmail.com"
] | gordilocuente@gmail.com |
204a0cd8d6153d7cfda916ba9e41c3eee7ec6200 | a2b44d400211c8ab74b0beedd97f26c71b4dd0c2 | /bst-k-closest.cpp | 7b20242703b24e29863d85ce6f2b2ef263dbbf22 | [] | no_license | unyieldingGlacier/coding-exercises | b8eddaed696f990a517e3ff3b586310d8a205c02 | 51fd18224b9ea66c6c373a55d66b3430efff7686 | refs/heads/master | 2021-09-06T13:02:57.030033 | 2018-02-06T20:45:01 | 2018-02-06T20:45:01 | 67,652,126 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,503 | cpp | /* LC 272
* Given a non-empty binary search tree and a target value, find k values in the BST that are closest to the target.
* Note:
* Given target value is a floating point.
* You may assume k is always valid, that is: k ≤ total nodes.
* You are guaranteed to have only one unique set of k values in the BST that ... | [
"noreply@github.com"
] | unyieldingGlacier.noreply@github.com |
531a54ecbca9a57bc97c4e0bc2e9a2f5746ad91f | b4606b41f3e8d97c5c18da64d35aeaee3f3b687d | /DFT_UHD_SM_NoOCX/ResultDlg.h | 4efd241171e48ff1d14a78d49209cf31e30297f2 | [] | no_license | isliulin/TVDFT_GIT | ffabd2b4367df3a03c1035961c0c9e44de2837d4 | 9d4823d9ee5131c92bd8ac9bd4e57e3dd585535b | refs/heads/master | 2023-08-13T10:05:55.518169 | 2021-09-19T03:05:33 | 2021-09-19T03:05:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,854 | h | //{{AFX_INCLUDES()
//}}AFX_INCLUDES
#if !defined(AFX_RESULTDLG_H__C0A9596F_0266_4480_91E7_05929552B8F0__INCLUDED_)
#define AFX_RESULTDLG_H__C0A9596F_0266_4480_91E7_05929552B8F0__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ResultDlg.h : header file
//
#include "ColorStaticST.h"
////////////... | [
"godtech@smdigital.co.kr"
] | godtech@smdigital.co.kr |
5e61a4b4f859fbe9a48b0d71a1479d784955bdf5 | a4c4871b625063ec6ad22322ddd205f3fd95b238 | /OpenCVCheckAnalyzer/main.cpp | 8fa601bc147362c2ec86c2e67c39d73df9868ef5 | [] | no_license | rishigupta9999/OpenCVCheckDetection | 5f338ea582ef6bc2f1af02d6350c58a89f4325cb | 8024c99f7fcc289c4f2d9eb7d41d5d1aee0320de | refs/heads/master | 2021-01-25T11:15:46.386418 | 2017-06-12T10:12:28 | 2017-06-12T10:12:28 | 93,925,001 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,246 | cpp | // Example showing how to read and write images
#include <opencv2/opencv.hpp>
#include <opencv2/highgui/highgui.hpp>
#include "opencv/cvaux.h"
#include "tesseract/baseapi.h"
#include "leptonica/allheaders.h"
#include <iostream>
using namespace cv;
void ExerciseFive()
{
// Load an image from file - change this ba... | [
"rishig@Rishis-Mac-Pro.local"
] | rishig@Rishis-Mac-Pro.local |
307cd02c166496d81fc00d4a3bd58b61f027aaa4 | c78e27396867c372a3b8f3ab491f3005a56a876e | /cny_base/cny_base.ino | cd70908ca404775f978bdaa2ba5255473023c9bb | [] | no_license | teslalab/balam_2021 | 591e5ca127534228d17d82a86f6aa25cd9389d31 | b989f9ff3304d3d3dfcf6ca613aae1ccefbb4930 | refs/heads/main | 2023-07-10T08:01:01.935804 | 2021-08-12T15:24:59 | 2021-08-12T15:24:59 | 361,844,196 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,251 | ino |
#include <TB6612_ESP32.h>
//MOTOR1
#define AIN1 32
#define AIN2 33
#define PWMA 12
//MOTOR2
#define BIN1 25
#define BIN2 26
#define PWMB 14
const int offsetA = 1;
const int offsetB = -1;
Motor motor1 = Motor(AIN1, AIN2, PWMA, offsetA, 0, 5000, 8, 1);
Motor motor2 = Motor(BIN1, BIN2, PWMB, offsetB, 0, 5000, 8, 2);
... | [
"gabriel.monzon39@gmail.com"
] | gabriel.monzon39@gmail.com |
7d26741cda8f297fd0dbb3df4a640eac18f79abd | 3a294628d0c32a19ae0b055e130628ca73da7672 | /syzygy/common/unittest_util_unittest.cc | 8aa8ab4decc660d02d9c2c5051d69e73f2901ab2 | [] | no_license | sigurasg/sawbuck | 2e64e0c36baacc3cb6f595c0e53044bc97608e2e | 064c9f7344407c57f6831383cb3257270d690917 | refs/heads/master | 2021-01-10T20:59:12.899631 | 2012-10-31T20:16:58 | 2012-10-31T20:16:58 | 3,498,422 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,071 | cc | // Copyright 2012 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | [
"rogerm@chromium.org@15e8cca8-e42c-11de-a347-f34a4f72eb7d"
] | rogerm@chromium.org@15e8cca8-e42c-11de-a347-f34a4f72eb7d |
25da7704d13b538b16b58e329e78a51fdfc6bd27 | e9e00c79ea1841fab915751e9b0b9eae843a57e1 | /Source/Demos/ShaderToy/Page2.h | 846b8c439e8478d33cca0162f1d389b18bc77b4b | [] | no_license | blizmax/CppTrial | 38a30c6117bbc9e88e9855bf3d0530d5daad969f | d5a0505f778df13b03ff5391dca8529a1a09c10a | refs/heads/master | 2022-12-11T00:12:16.922501 | 2020-08-31T12:23:53 | 2020-08-31T12:23:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 476 | h | #pragma once
#include "Demos/ShaderToy/Page.h"
class Page2 : public TPage<Page2>
{
public:
float progress = 0.0f;
virtual String GetName() override
{
return CT_TEXT("Slider");
}
virtual void OnImGuiDraw() override
{
ImGui::SliderFloat("Progress", &progress, 0.0f, 1.0f);
}... | [
"szy73711@126.com"
] | szy73711@126.com |
5e52889905f4518771cec4931121a2376489a43e | bcacc1072ebdbe2275e61e4cf30c618c1c0b9b1c | /highlighter.h | 68f8aca695baada54e064625ebf76dcdf9195820 | [] | no_license | dkheng/CodeEditorAndCompiler | c1a581054f657a11f8ec72cf6764c0a2f498ec55 | 66f09595ebd804fea90638962bc4b3c96052d6aa | refs/heads/main | 2023-06-22T03:15:37.708239 | 2021-07-20T03:28:41 | 2021-07-20T03:28:41 | 387,654,849 | 8 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 896 | h | #ifndef HIGHLIGHTER_H
#define HIGHLIGHTER_H
#include <QSyntaxHighlighter>
#include <QTextCharFormat>
#include <QRegularExpression>
QT_BEGIN_NAMESPACE
class QTextDocument;
QT_END_NAMESPACE
class Highlighter : public QSyntaxHighlighter
{
Q_OBJECT
public:
Highlighter(QTextDocument *parent = 0);
protected:... | [
"noreply@github.com"
] | dkheng.noreply@github.com |
8f9c226b14bdfb1e099f48a898dc70852c426c62 | 71612d11b5ab5c0478fc8e2c00483afb94e4e4ac | /manuscript/Fig4/a/sim_virus_estab.cpp | a5f94b491f6514b954048824a62a6c47a8169a80 | [] | no_license | pczuppon/virus_establishment | 21f3fe45f59a73d7df682682ea49d50b924f6fa7 | 08d2323f135ab0c8e17c81e48f9a2df14ad4a92e | refs/heads/master | 2023-02-14T18:21:07.832969 | 2021-01-07T14:58:04 | 2021-01-07T14:58:04 | 265,793,251 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,398 | cpp | #include <iostream>
#include <cmath>
#include <numeric>
#include <algorithm>
#include <fstream>
#include <gsl/gsl_rng.h>
#include <gsl/gsl_randist.h>
// g++ -std=c++11 sim_virus_time.cpp `pkg-config --libs gsl` command for compiling
using namespace std;
// Within-host parameters
#define R0 7.69 // R0 val... | [
"p.czuppon@mailbox.org"
] | p.czuppon@mailbox.org |
bfa9ba492072e0d79467116a848cf30b3d75fdf2 | 22f2eef1446a8c4f08bbccd13adefee355ca57dd | /PWGHF/hfe/AliAnalysispp13TeVEMCalHFEMCReco.h | 4c7613297890a7cc12879eba8cb7c132b6b1ab0a | [] | permissive | neelimaagrawal/AliPhysics | 36d4b07bbc5489eea2eee1afcc89ffb951985dfb | 4e683e1e44d60944acdbec5f3adb700424d0b6cc | refs/heads/master | 2023-03-16T12:27:38.728879 | 2022-07-21T20:03:52 | 2022-07-21T20:03:52 | 516,544,462 | 0 | 0 | BSD-3-Clause | 2022-07-21T23:00:38 | 2022-07-21T23:00:38 | null | UTF-8 | C++ | false | false | 23,935 | h |
///////////////////////////////////////////////////////////////////
// //
// AliAnalysispp13TeVEMCalHFEMCReco.h //
// Author: Vivek Singh //
// ... | [
"vivek.kumar.singh@cern.ch"
] | vivek.kumar.singh@cern.ch |
a4fa65439106c555518e6743a3eccab40c90e15c | 1b80722ec75e2b5f62104daacc6a8234f937b283 | /SuperMyrio_src/Menu.h | fca774bbe370b147e112dd8a1e5dd51e0a8f5e27 | [] | no_license | YaJinK/Super-Myrio | a4e0bfccc95bc1f5379cb2d327f50a799f8c2a40 | 8266e840cc0d8a114d8912d3ae06c94da7e82b40 | refs/heads/master | 2020-06-21T04:19:03.249685 | 2016-11-26T09:47:27 | 2016-11-26T09:47:27 | 74,805,899 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 486 | h | #pragma once
#include "MenuItem.h"
class Menu
{
public:
Menu(LPDIRECT3DDEVICE9 pD3DDevice, LPDIRECTSOUND8 pDirectSound, MenuItem* item, char* fileName);
~Menu();
bool GetShow() const;
MenuItem* GetItem() const;
void SetItem(MenuItem* item);
void SetShow(bool show);
void Init();
void Draw(LPD3DXSPRITE pD3DXSpr... | [
"furycompass@outlook.com"
] | furycompass@outlook.com |
0a8bf36a323b44644300a439fa2daead8bc58a3e | 08440cca01b5297a7757f28da86d80d03b37a4d6 | /Trajectory_Planning/Astar.h | 3982c60c0a16413655500c95728907bf769fc0a2 | [] | no_license | RuiFeiHe/RobotNavigation | c88fec14200b6afb5f339f6c8dc173ce2b9024b8 | 3dab8eeabe8582c0df98039c45b6a4e09ba43f45 | refs/heads/master | 2021-01-03T07:28:51.757833 | 2020-02-12T11:06:23 | 2020-02-12T11:06:23 | 239,981,419 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,407 | h | #pragma once
#include <vector>
#include <list>
const int kCost1 = 10; //直移一格消耗
const int kCost2 = 14; //斜移一格消耗
struct Point1
{
int x, y; //点坐标,这里为了方便按照C++的数组来计算,x代表横排,y代表竖列
int F, G, H; //F=G+H
Point1* parent; //parent的坐标,这里没有用指针,从而简化代码
Point1(int _x, int _y) :x(_x), y(_y), F(0), G(0), H(0), parent(NULL) //变量初始... | [
"947176784@qq.com"
] | 947176784@qq.com |
e4fb3601fe57901a69c5112f46ed7e9da98a56cd | bfc755277556cefeb7a42a00493c789844d007db | /miniMaxSum.cpp | b20f0e3876589e9042ebf3694b08929c24fac29a | [] | no_license | nobodyn0se/ProblemSolving | 21125dda89ead54ff916a4b93098ee4f7032b000 | f99f5fbec889feb597e8dc6536fe12b1d4e9fa5b | refs/heads/master | 2020-05-21T11:49:45.646643 | 2019-05-11T21:21:06 | 2019-05-11T21:21:06 | 186,039,797 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 784 | cpp | #include<stdio.h>
int main() {
long int a[5],j,tmp;
for(int i=0;i<5;i++) {
scanf("%li", &a[i]);
}
for(int i=0;i<5;i++){
for(j=i;j<5;j++) { //sorting in ascending order
if(a[i]>a[j]) {
tmp = a[i];
a[i] = a[j];
a[j] =... | [
"beginnerd@github.com"
] | beginnerd@github.com |
8009846ab59696e95831f18261adb366a4e21e56 | 6992c00b8318b4660b5ddf914866045fee0f89ca | /producer_consumer/Buffer.h | a08cae4bb1144f64fca13af2a8613a64b6664761 | [] | no_license | bashell/snippet | a408ef486dbd4acc800c8082a06b3cf7d5ecfcb4 | bc30b9ccc69441844741904d64c077a4943c79db | refs/heads/master | 2020-12-25T22:31:09.212857 | 2016-03-09T10:55:20 | 2016-03-09T10:55:20 | 49,065,342 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 391 | h | #ifndef _BUFFER_H_
#define _BUFFER_H_
#include "Queue.h"
#include "MutexLock.h"
#include "Condition.h"
class Buffer {
public:
Buffer(size_t size);
~Buffer();
bool isEmpty() const;
bool isFull() const;
void produce(int data);
int consume();
private:
Queue queue_;
mutable MutexLock mutex_;
Conditio... | [
"nju.liuc@gmail.com"
] | nju.liuc@gmail.com |
b10c3baa429ecd3ed71ca1b6058873ce74563bdb | e301910de5c0c47fb6a5fd8f1fc37bd081eb4fc9 | /DraconicGB/Source/Managers/TimerManager.cpp | 3e43c9d61c3faf0aca902ca2d6be0e85483407e0 | [] | no_license | solbarda/draconic-gb | b63838ced19febca4d05706d949a1881b02f59ed | c1a3ae455f4e1cb5a1cccf01d8c72bad6534ee80 | refs/heads/master | 2021-03-15T08:25:58.823889 | 2020-06-06T15:55:39 | 2020-06-06T15:55:39 | 246,837,219 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,636 | cpp | #include "TimerManager.h"
#include "Utils/Utils.h"
#include "Hardware/DraconicState.h"
TimerManager::TimerManager()
{
timerCounter = 0;
timerFrequency = 0;
dividerCounter = 0;
dividerFrequency = 16384;
}
// Opcode cycle number may need adjusted, used Nintendo values
void TimerManager::UpdateTimers()
{
Updat... | [
"sorubaruda@gmail.com"
] | sorubaruda@gmail.com |
0cd074a8103036888f9f8b71f7d7652e9fff4893 | af0ecafb5428bd556d49575da2a72f6f80d3d14b | /CodeJamCrawler/dataset/11_16635_55.cpp | 872ea22dfd7db98ec83699bbbfb5ab5162de3774 | [] | no_license | gbrlas/AVSP | 0a2a08be5661c1b4a2238e875b6cdc88b4ee0997 | e259090bf282694676b2568023745f9ffb6d73fd | refs/heads/master | 2021-06-16T22:25:41.585830 | 2017-06-09T06:32:01 | 2017-06-09T06:32:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,870 | cpp | #include <vector>
#include <list>
#include <map>
#include <set>
#include <deque>
#include <stack>
#include <bitset>
#include <algorithm>
#include <functional>
#include <numeric>
#include <utility>
#include <sstream>
#include <iostream>
#include <iomanip>
#include <cstdio>
#include <cmath>
#include <cstd... | [
"nikola.mrzljak@fer.hr"
] | nikola.mrzljak@fer.hr |
16ac284a3940247bb04126c1dbecf9d412512e22 | 1d41cedf9dc71d9cb2ebfd736e86951b130e9860 | /Rectifier/blob_new.h | 508afa719d1c4d2c9b0d4ba30b954ec59dbdb4e2 | [] | no_license | 291421358/TrackPlus_OSX | 07b1b20cf5e22e05707a4b13e686a4a1bbaddfd9 | aa13c7566dac8fe482d0c58120c0a22f0897a223 | refs/heads/master | 2022-12-24T06:33:02.438969 | 2015-07-17T08:35:21 | 2015-07-17T08:35:21 | 303,318,442 | 0 | 0 | null | 2020-10-12T07:56:46 | 2020-10-12T07:55:33 | null | UTF-8 | C++ | false | false | 888 | h | #pragma once
#include <opencv2/opencv.hpp>
#include "globals.h"
using namespace std;
using namespace cv;
class BlobNew
{
public:
Mat image_atlas;
ushort atlas_id;
vector<Point> data;
int x_min = 9999;
int x_max = 0;
int y_min = 9999;
int y_max = 0;
int width;
int height;
int area;... | [
"corey@ractiv.com"
] | corey@ractiv.com |
827ee23d27ef9da05b1d0fa76dafe7cd7ba6e0c1 | a45f64b11f132cf2eb83baa693b220c6c98681d7 | /src/model_terrain.h | 64d9db79cfb75294af233c3bacc61f0e433901a0 | [
"MIT"
] | permissive | HKCaesar/master-thesis | 04dfe1ca4d886c85eb290542e7313d7fce1f44b1 | 61565db7dd2ce0909dacfb2a33f10c66bfb11a34 | refs/heads/master | 2020-12-13T11:24:38.495048 | 2015-08-19T13:13:46 | 2015-08-19T13:13:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,338 | h | #ifndef MODEL_TERRAIN_H
#define MODEL_TERRAIN_H
#include <iostream>
#include <vector>
#include <array>
#include "ceres/ceres.h"
#include <cereal/types/array.hpp>
#include "data_set.h"
#include "image_features.h"
#include "camera_models.h"
#include "types.h"
#include "model.h"
#include "internal.h"
using std::vector;
... | [
"victor@pghn.eu"
] | victor@pghn.eu |
44da990f3216d94405885cc7d33e96fe89e86035 | fecebc43ec8771376547655f10bc9aa2f9252971 | /adddialog.cpp | 6cf747695c3a0943cba645b9bcf9fd9268e3e46b | [] | no_license | ValeriaNaldi/QTTest | 0ba9e919fe239268a99e78000f199c954e55bcce | 640063e85352a9da0a7b81f015df13f1c430d76a | refs/heads/master | 2020-12-25T16:36:28.788108 | 2012-07-04T07:38:31 | 2012-07-04T07:38:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 155 | cpp | #include "adddialog.h"
AddDialog::AddDialog(QWidget *parent)
: QDialog(parent)
{
// Init UI
//
setupUi(this);
}
AddDialog::~AddDialog()
{
}
| [
"valeria.naldi@gmail.com"
] | valeria.naldi@gmail.com |
3e59ea61077d2fc1266f0bc2fac4152ff9dc289a | 560090526e32e009e2e9331e8a2b4f1e7861a5e8 | /Compiled/blaze-3.2/blazetest/src/mathtest/dmatdvecmult/SDbVDa.cpp | e37f5accca1951b034521c21bf26623e7a2eeec6 | [
"BSD-3-Clause"
] | permissive | jcd1994/MatlabTools | 9a4c1f8190b5ceda102201799cc6c483c0a7b6f7 | 2cc7eac920b8c066338b1a0ac495f0dbdb4c75c1 | refs/heads/master | 2021-01-18T03:05:19.351404 | 2018-02-14T02:17:07 | 2018-02-14T02:17:07 | 84,264,330 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,222 | cpp | //=================================================================================================
/*!
// \file src/mathtest/dmatdvecmult/SDbVDa.cpp
// \brief Source file for the SDbVDa dense matrix/dense vector multiplication math test
//
// Copyright (C) 2012-2017 Klaus Iglberger - All Rights Reserved
//
// This... | [
"jonathan.doucette@alumni.ubc.ca"
] | jonathan.doucette@alumni.ubc.ca |
8fb2fb43e1ceaf4ffa43f895eb41ba70a25807fc | 2909d3fed196c5e5b663865b51d60907cfee8232 | /glsg/shader/ShaderRegistry.h | df748c448e34de9d4c5f5bbd67dd54375088ba7f | [
"MIT"
] | permissive | fcvarela/glsg | a1f861ea4bf90c7518238446490ccefe2ae8fb91 | 2205d601fdc7a8dd519b52f793171dcbe178e948 | refs/heads/master | 2023-04-13T19:00:58.756595 | 2015-01-10T21:02:26 | 2015-01-10T21:02:26 | 29,070,206 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 841 | h | #ifndef GLSG_SHADERREGISTRY_H
#define GLSG_SHADERREGISTRY_H
#include <string>
#include <memory>
#include <mutex>
#include <shader/Shader.h>
#include <shader/Program.h>
#include <resource/ResourceLoader.h>
namespace glsg {
class ShaderRegistry {
public:
~ShaderRegistry() {
LDEBUG("ShaderRegistry dealloc"... | [
"fcvarela@gmail.com"
] | fcvarela@gmail.com |
c7231c5a3083db8e212bf24d02d524fe3955ffb6 | 18330b246718b449cc400c32c9630898a18028d9 | /BookCodeFiles/Chapter24-TextAdventure/Chapter24-TextAdventure/OptionFactory.cpp | 874e2cc98b2fedd48ee329322ba1a38c1d1f2601 | [] | no_license | fjlj/IT-312 | 3cc31e645567894c92179696d1dc6ed721c452ee | b871373cac52d7d9f981b204b20c20a445430c6d | refs/heads/master | 2022-04-04T21:42:32.395789 | 2020-02-17T09:26:56 | 2020-02-17T09:26:56 | 232,926,708 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,383 | cpp | #include "OptionFactory.h"
#include "AttackEnemyOption.h"
#include "MoveOption.h"
#include "OpenChestOption.h"
#include "QuitOption.h"
#include "Room.h"
#include <stdarg.h>
Option::Pointer CreateOption(PlayerOptions optionType, unsigned int serializableId)
{
Option* newOption = nullptr;
switch (optionType)
{
case ... | [
"rubymaster3000@gmail.com"
] | rubymaster3000@gmail.com |
c14568dd86f161fa2ed323e8c0c63aa9e3ebdc14 | f99fc7cf25a1ccbc5b8c8cd8887172d34e030aee | /sita_capteurs_1/croquis_arduino/02_Fade/02_Fade.ino | 924ce0d0563165c0cfc1945a4f2daa6cdd3fa978 | [
"MIT"
] | permissive | mxbossard/sita | d2f3335f0bce9a85fa95896799b6a01119c8f17d | c49cb40666b6b4a70c2381e220c34cec4adac42c | refs/heads/master | 2020-05-17T10:42:11.746533 | 2019-10-25T21:36:43 | 2019-10-25T21:36:43 | 183,665,121 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,322 | ino | // Tous le texte après les caractères // sont des commentaires. Ces textes ne sont pas du code exécuté, ils servent à clarifier le code.
int led = 9; // Le port PWM sur lequel la LED est connectée
int brightness = 0; // A quel point la LED est brillante
int fadeAmount = 5; // De combien de points il fa... | [
"mxbossard@gmail.com"
] | mxbossard@gmail.com |
a8ba69989985f22d256bac8e019d5b350bbe5585 | e51cbdfc9f20b1b3b642846f2707d709c3d63cd0 | /rfm12b_send_random/rfm12b_send_random.ino | d477ed722bc400bc911f8f60e95e30a6da079221 | [] | no_license | hugoru/arduino | 728c9cbc48e06561cd2a4253e22e32b2cf10d3c8 | 6f3a2b07d18caf482b9488da7cdf4c7312c8cba4 | refs/heads/master | 2021-01-17T11:57:54.625516 | 2017-06-09T07:00:30 | 2017-06-09T07:00:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,889 | ino | #include <JeeLib.h> // https://github.com/jcw/jeelib
#include <Ports.h> // https://github.com/jcw/jeelib
#include <avr/pgmspace.h> // http://excamera.com/sphinx/article-crc.html
#include <avr/sleep.h>
#define BLIP_DEBUG
#define BLIP_NODE 5 // set this to a unique NODE to disambiguate multiple nodes
#... | [
"r.oostenveld@gmail.com"
] | r.oostenveld@gmail.com |
30e503aae214fd1bcc4e7c7327fba260b2bfdb65 | 6f8176e2f5f9e459fd7c40bd9f7f1d9ea3f9eaeb | /Ch10AppE03.cpp | c7470873c81042f6035ce8a4854cd7e210f79699 | [] | no_license | LewisAndClark-CSD/Cpp5th | cfcab8b78bea4ea2bfa740a2c851b9f86ea8f043 | 492c8cfbee088c0b3abb06f75c47e08b6215f328 | refs/heads/master | 2021-05-27T12:38:01.335017 | 2014-11-04T16:09:37 | 2014-11-04T16:09:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 560 | cpp | //Ch10AppE03.cpp
//Calculates and displays a bonus amount
//Created/revised by <your name> on <current date>
#include <iostream>
#include <iomanip>
using std::cout;
using std::cin;
using std::endl;
using std::setprecision;
using std::fixed;
//function prototypes
int main()
{
//declare constant and variables
co... | [
"tschmidt@stcharlessd.org"
] | tschmidt@stcharlessd.org |
a604fcdce1c845f5297a314bc93843514db52b7e | 9f520bcbde8a70e14d5870fd9a88c0989a8fcd61 | /pitzDaily/191/alpha | f7302b99c14fb6a79cbd113b8cb4f865d71983ee | [] | no_license | asAmrita/adjoinShapOptimization | 6d47c89fb14d090941da706bd7c39004f515cfea | 079cbec87529be37f81cca3ea8b28c50b9ceb8c5 | refs/heads/master | 2020-08-06T21:32:45.429939 | 2019-10-06T09:58:20 | 2019-10-06T09:58:20 | 213,144,901 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 69,053 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1806 |
... | [
"as998@snu.edu.in"
] | as998@snu.edu.in | |
697da846b4040cc1c68bcd9014682828f40d2e63 | c389ea6b755012bd758c3f5e40b8b8b2cec96138 | /iMain.cpp | f9d099ac543102233d9e703ce0158056a5aa8000 | [] | no_license | BRAINIAC2677/Catch-The-Eggs | df6ff50aefa44aa42a7c0e40f13e5420e44a65d1 | 0b03aa97ed174b83d372a729ef39c0db92ca0e49 | refs/heads/main | 2023-02-03T20:33:48.834647 | 2020-12-23T19:22:00 | 2020-12-23T19:22:00 | 320,862,563 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,965 | cpp | /* BISMILLAH
NO DREAM IS TOO BIG AND NO DREAMER IS TOO SMALL
THE WHITE WOLF
Author: Asif Azad
CSE 1-1 TERM PROJECT
Start-Date: 07.12.2020
*/
#include <bits/stdc++.h>
#include <windows.h>
using namespace std;
typedef struct
{
double x, y;
} Vector;
Vector AddVector(Vector a, Vector b);
Vector SubVector(Vector a,... | [
"brainiac2677@gmail.com"
] | brainiac2677@gmail.com |
aa76556fffacbe7674932614e9de928d10bdc7e0 | 3ad968797a01a4e4b9a87e2200eeb3fb47bf269a | /Advanced MFC Programming/Chap9/9.7/Gdi/GDIView.h | 41ebe74b9e4ed5b747279c11649bd6b7199a805b | [] | no_license | LittleDrogon/MFC-Examples | 403641a1ae9b90e67fe242da3af6d9285698f10b | 1d8b5d19033409cd89da3aba3ec1695802c89a7a | refs/heads/main | 2023-03-20T22:53:02.590825 | 2020-12-31T09:56:37 | 2020-12-31T09:56:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,422 | h | #if !defined(AFX_GDIVIEW_H__F2930E00_1E22_11D1_9C9A_444553540000__INCLUDED_)
#define AFX_GDIVIEW_H__F2930E00_1E22_11D1_9C9A_444553540000__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif
class CGDIView : public CScrollView
{
protected:
HCURSOR m_hCur;
CGDIView();
DECLARE_DYNCREATE(CGDIView)
public:
CGDIDoc *Ge... | [
"pkedpekr@gmail.com"
] | pkedpekr@gmail.com |
17a7c5f85dbbc874e959f1544fa2bca2bc4c179c | 797d404a25db60f2f3fcce27df5df3cf329006fa | /transmetter_arduino_FS1000A.ino | 8f079352648f97a6b9302e1a16950ef87860ad7d | [] | no_license | BLACKCAT223/scorpion | 97ef3e8b7b91cea2cefda183881ddc48f79ddced | 880b3b787394c709bd954d66d5a663357b49c625 | refs/heads/master | 2022-07-28T00:49:15.267034 | 2020-05-15T19:37:53 | 2020-05-15T19:37:53 | 264,281,828 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 534 | ino | #include <RH_ASK.h>
#include <SPI.h>
// Arduino Transmitter
// GND--------------------------GND
// D12--------------------------Data
// 5V---------------------------VCC
RH_ASK driver(2000, 11, 12);
void setup() {
Serial.begin(9600);
if (!driver.init()) Serial.println("init failed");
}
... | [
"noreply@github.com"
] | BLACKCAT223.noreply@github.com |
60ee77f04744dc3933e038129eb8182f62c3035b | 61092b233f24ddaace979d083e61da8485734ccc | /mainwindow.cpp | 7392cb3af8b42b6e4796e9cb1c2463fcc736799f | [] | no_license | DtmyShirshov/practiceQT | 900955a5113f1ae74e5f1851cc68e3baac3730c5 | b2ce8ca1b45cefbfc35c73306e5e55f9686b8ec3 | refs/heads/master | 2020-05-24T07:47:01.888191 | 2019-06-25T17:38:48 | 2019-06-25T17:38:48 | 187,169,065 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,517 | cpp | #include "mainwindow.h"
#include "ui_mainwindow.h"
#include "settingwindow.h"
#include "json.h"
#include <QtWidgets>
#include <QTimer>
#include <QApplication>
#include <QString>
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::MainWindow)
{
QApplication::setQuitOnLastWindowClosed(f... | [
"50732866+DtmyShirshov@users.noreply.github.com"
] | 50732866+DtmyShirshov@users.noreply.github.com |
3398800996129cfbc6ca1be1e3870f74369f9305 | 6b40e9dccf2edc767c44df3acd9b626fcd586b4d | /NT/sdktools/nmake/error.cpp | 5bf7823daf36dec917f076fb64ddb8134ec38534 | [] | no_license | jjzhang166/WinNT5_src_20201004 | 712894fcf94fb82c49e5cd09d719da00740e0436 | b2db264153b80fbb91ef5fc9f57b387e223dbfc2 | refs/heads/Win2K3 | 2023-08-12T01:31:59.670176 | 2021-10-14T15:14:37 | 2021-10-14T15:14:37 | 586,134,273 | 1 | 0 | null | 2023-01-07T03:47:45 | 2023-01-07T03:47:44 | null | UTF-8 | C++ | false | false | 6,001 | cpp | // ERROR.C -- error handling functions
//
// Copyright (c) 1988-1990, Microsoft Corporation. All rights reserved.
//
// Revision History:
// 23-Feb-1994 HV Change Copyright years to 1988-94
// 01-Feb-1994 HV Move messages to external file.
// 29-Oct-1993 HV Change the version scheme.
// 15-Oct-1993 HV ... | [
"seta7D5@protonmail.com"
] | seta7D5@protonmail.com |
86fe4a490d1d544ffc47abb8975433c09ccb9611 | b266684518c1b5fb9c8814b2a65288be66aaf818 | /source/plugins/archive/cab.cpp | 0d030efcdfa1f57b4a5eaad153716c05fe1a2630 | [
"BSD-3-Clause"
] | permissive | amugok/f4b24 | a21d0d9650c1d2ffa52fc50cfcfb435393b0614e | 9b3edbe92b326c031fb33508e6cf1ad063964024 | refs/heads/master | 2022-09-01T21:48:14.694491 | 2017-09-15T08:54:52 | 2017-09-15T08:54:52 | 32,856,177 | 4 | 1 | null | 2022-08-27T12:36:18 | 2015-03-25T09:54:41 | C++ | UTF-8 | C++ | false | false | 11,471 | cpp | #include "../../fittle/src/aplugin.h"
#include <shlwapi.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <FDI.h>
#if defined(_MSC_VER)
#pragma comment(lib,"kernel32.lib")
#pragma comment(lib,"user32.lib")
#pragma comment(lib,"shlwapi.lib")
#ifdef UNICODE
#ifdef _WIN64
#pragma co... | [
"amugok@uniabis.net"
] | amugok@uniabis.net |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.