blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 7 100 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 260
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 11.4k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 17
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 80
values | src_encoding stringclasses 28
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 8 9.86M | extension stringclasses 52
values | content stringlengths 8 9.86M | authors listlengths 1 1 | author stringlengths 0 119 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8b298c1663223fb30e2d27a7d3b72343056c6e70 | 70e9da06a454fc399eee5fb247ca8d362685d470 | /Problems/0108_Convert_Sorted_Array_to_Binary_Search_Tree.h | ec01b0cd0b8b706b58d24e5a8ab541c8852a124e | [] | no_license | YejingWang/Leetcode | 38499a5d5376e3f18ccece87f70722705771c9ee | b93e914e2acb418f9cdf84b3e6365db68a75e4b0 | refs/heads/master | 2023-08-05T04:43:45.596671 | 2021-08-31T09:30:53 | 2021-08-31T09:30:53 | 256,743,256 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,790 | h | #pragma once
/*
108. Convert Sorted Array to Binary Search Tree
https://leetcode.com/problems/convert-sorted-array-to-binary-search-tree/
Given an integer array nums where the elements are sorted in ascending order, convert it to a height-balanced binary search tree.
A height-balanced binary tree is a binary tree i... | [
"yw687@cornell.edu"
] | yw687@cornell.edu |
9fcda24bfd599aeb455b9171dc9abe59f6b95fce | 47de9c88b957dc66c46769f40103d5147b00b7c9 | /atcoder/abc187/A.cpp | eea2b88a94f9bed84c0768404a66655a56cbc7de | [] | no_license | autul2017831021/Codeforces_Atcoder_Solved_Problems | 1027a606b3cb5be80e57fcfbcfa0327ebd47bd95 | b95e432718c9393f8a781fa56c2ed65f082274f5 | refs/heads/master | 2023-07-02T02:23:58.307782 | 2021-03-01T13:00:00 | 2021-07-31T15:40:28 | 329,067,317 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,756 | cpp | #include<bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef vector<pair<ll,ll> > vp;
typedef vector<ll> vc;
typedef map<ll,ll> ml;
typedef ostringstream OS ;
typedef stringstream SS ;
typedef double dl;
#define pb push_back
#define bg begin()
#define en end()
#define rbg rbegin()
#define ren rend()
#defi... | [
"alexiautul@gmail.com"
] | alexiautul@gmail.com |
877d5e02ac033664c5e90c2c2304b93d86d9d94e | bf426c05bbef45e9d169d6095e6b49bf66ff4b0c | /mini-common/XFileParser/nodeMesh.h | cf0ac47b610c9ab7c3db5025d3c734db20c718f5 | [] | no_license | posejdon256/domek | 1757598856ca88826721c432f3b50b65dc886fdd | ff857f17b9c86b682a0b52911e0af1ace63b2907 | refs/heads/master | 2020-03-19T09:47:22.107073 | 2018-06-17T22:00:50 | 2018-06-17T22:00:50 | 136,317,301 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,276 | h | #pragma once
#include "mesh.h"
namespace mini
{
class NodeMesh : public Mesh
{
public:
NodeMesh()
: m_materialIdx(UINT_MAX)
{ }
NodeMesh(dx_ptr_vector<ID3D11Buffer>&& vbuffers,
std::vector<unsigned int>&& vstrides,
std::vector<unsigned int>&& voffsets,
dx_ptr<ID3D11Buffer>&& indices,
unsigned i... | [
"aniutka.pop@gmail.com"
] | aniutka.pop@gmail.com |
8b1e3b406ead851986a37bcaeedc2a448a58f76b | 6b40e9dccf2edc767c44df3acd9b626fcd586b4d | /NT/inetsrv/iis/iisrearc/iisplus/w3cache/cachemanager.hxx | e6494cb2241340ceb9d894de04cf2bb19b836821 | [] | 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 | 1,122 | hxx | #ifndef _CACHEMANAGER_HXX_
#define _CACHEMANAGER_HXX_
#define MAX_CACHE_COUNT 10
class CACHE_MANAGER
{
public:
CACHE_MANAGER();
~CACHE_MANAGER();
HRESULT
Initialize(
IMSAdminBase * pAdminBase
);
VOID
Terminate(
VOID
);
... | [
"seta7D5@protonmail.com"
] | seta7D5@protonmail.com |
585edd0a74bc5bc5c19859a40f8ebb9ced9bd03a | 266a7683d692568e28f5f49090d2038fb27ff84f | /Arduino_AD9833_serial_controller/Arduino_AD9833_serial_controller.ino | dcc32f3ef16e66677f45150395ea4b176d6ca038 | [] | no_license | TomHodson/AFM-zero-phase-detector | 2013042631aaf0682ca3131215780771c87cbcb7 | 12b7234c000f15599b2ad7e06ca7d8ec2df86d15 | refs/heads/master | 2021-01-14T09:49:37.605251 | 2017-07-25T09:03:25 | 2017-07-25T09:03:25 | 68,515,290 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,750 | ino | #include <SPI.h>
const float refFreq = 25000000.0; // On-board crystal reference frequency
#define SPI_CLOCK_SPEED 12000000
const int SINE = 0x2003; // Define AD9833's waveform register value.
const int SQUARE = 0x2020; // When we update the frequency, we need to
con... | [
"thomas.c.hodson@gmail.com"
] | thomas.c.hodson@gmail.com |
1093c784ff2e2ed0b830ac0892b04853eb0482a2 | 2e359b413caee4746e931e01807c279eeea18dca | /956. Tallest Billboard.cpp | 614ef7021c36d01becc512ee3754e15d4cd1381e | [] | no_license | fsq/leetcode | 3a8826a11df21f8675ad1df3632d74bbbd758b71 | 70ea4138caaa48cc99bb6e6436afa8bcce370db3 | refs/heads/master | 2023-09-01T20:30:51.433499 | 2023-08-31T03:12:30 | 2023-08-31T03:12:30 | 117,914,925 | 7 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 687 | cpp | class Solution {
public:
int tallestBillboard(vector<int>& a) {
int n = a.size();
if (n==0) return 0;
int s = accumulate(a.begin(), a.end(), 0) / 2;
vector<vector<int>> f(n+1, vector<int>(s*2, -1));
f[0][0] = 0;
a.insert(a.begin(), 0);
for (int i=1; i<=n; ++i)... | [
"fengsq@utexas.edu"
] | fengsq@utexas.edu |
b9fd13b80d3aa8f5e639affe27d6141a87c34524 | 928b52d135a0a3be5c91a7e3a1e57395ff507542 | /home/home/home.cpp | 7976c2365b18581a327df78181b171e8f49978bf | [] | no_license | lepexys/projects | 42a31340a75a87633f8a48fa591e44d92b9457c9 | 7b743a74ff4729eb06f81192e4bfd452bb35b620 | refs/heads/master | 2023-01-13T23:27:23.082545 | 2020-08-02T11:21:40 | 2020-08-02T11:21:40 | 284,444,894 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,535 | cpp | #include "pch.h"
#include <cstdio>
#include <iostream>
#include <fstream>
#include <clocale>
#include <iomanip>
using namespace std;
struct Shower
{
bool* u,*s,*ls;
int n;
Shower(unsigned v,int num)
{
n = num;
u = new bool[n];
for (int i = 0; i < n; i++)
{
u[i] = true;
if (i == v)
u[i] = false;... | [
"69108266+lepexys@users.noreply.github.com"
] | 69108266+lepexys@users.noreply.github.com |
dd8e1525639e6c2ed0b75977047906fb25e6165d | 24208977b0a9169a416ddc442d333fd2e395869d | /include/paracooba/common/types.h | bc89541cf725c0d6d1b582c10514e9757c68dc98 | [
"MIT"
] | permissive | wtmJepsen/Paracooba | def39bc0bfa3695e5b1228c3922071d6104990c4 | 4ccb4da1b5012cd73fe9081cdaef888d717076cf | refs/heads/master | 2023-03-14T12:05:25.005079 | 2021-03-10T20:38:02 | 2021-03-10T20:38:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,242 | h | #ifndef PARACOOBA_COMMON_TYPES_H
#define PARACOOBA_COMMON_TYPES_H
#ifdef __cplusplus
extern "C" {
#endif
#include <stddef.h>
#include <stdint.h>
#include <stdbool.h>
typedef uint64_t parac_id;
typedef uint32_t parac_worker;
typedef struct parac_string_vector {
const char** strings;
size_t size;
} parac_string_v... | [
"mail@maximaximal.com"
] | mail@maximaximal.com |
a0120d27632b242be0c157dc4a9a309b7a4f0695 | 07c856e147c6b3f0fa607ecb632a573c02165f4f | /Ch08_Algorithm/ex38_rotate.cpp | 1129acbaa5c0eaa42a137b57dcbb2e4b37040e2f | [] | no_license | choisb/Study-Cpp-STL | 46359db3783767b1ef6099761f67164ab637e579 | e5b12b6da744f37713983ef6f61d4f0e10a4eb13 | refs/heads/master | 2023-06-25T04:13:40.960447 | 2021-07-19T01:38:59 | 2021-07-19T01:38:59 | 329,786,891 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 830 | cpp | // rotate() 알고리즘 예제
// 순차열을 회전시키려면 rotate()알고리즘 사용
// rotate(b,m,e) 알고리즘은 첫 원소와 마지막 원소가 연결된 것처럼 왼쪽으로 m-b만큼 회전 한다.
#include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
int main()
{
vector<int> vec1;
vec1.push_back(10);
vec1.push_back(20);
vec1.push_back(30);
vec1.push_back(40);
vec1.pu... | [
"s004402@gmail.com"
] | s004402@gmail.com |
e6d465f57b48e14466888a7c4f468d55f30f5993 | 2347e342d32b7ad50a27c91d43630cc928234363 | /satlib/src/AcisPoint.cpp | c72f2959314284437e218001885ff22347d51847 | [
"MIT"
] | permissive | humkyung/app.framework | 112ea8269971b990ec0c5a26fca1d14525635d6f | 6a709c0ccc6a78e66ad8638b2db9d560da5ee77a | refs/heads/master | 2021-01-20T18:33:23.668384 | 2017-04-04T20:23:57 | 2017-04-04T20:23:57 | 63,311,572 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,504 | cpp | // AcisPoint.cpp: implementation of the AcisPoint class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include <tokenizer.h>
#include <AcisLib.h>
#include <AcisPoint.h>
ACISLIB_IMPLEMENT_FUNC(AcisPoint , AcisEntity , TYPELIST({_T("point") , NULL}))
//////////... | [
"zbaekhk@gmail.com"
] | zbaekhk@gmail.com |
84bb3c7b4f364c8f4f378c8ea4e90dc490edc46f | dffbfae4b192072483996806e3f9dd96cc483c52 | /C++/Plazza/Kitchen/ScopedLock.hpp | 9cb4676a169a681ad0ae079464bfb3dc2bb121cd | [] | no_license | Zippee0709/Tek2-Project | b14b5c0629d96a5cb6760a2326e84d8d3d1703f6 | 4aaf18bdbbaabda079e10f8ac128c737caf5337f | refs/heads/master | 2023-03-21T02:55:49.585534 | 2021-03-17T20:03:53 | 2021-03-17T20:03:53 | 348,810,770 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 350 | hpp | /*
** EPITECH PROJECT, 2020
** bootstrap_plaza
** File description:
** ScopedLock
*/
#ifndef SCOPEDLOCK_HPP_
#define SCOPEDLOCK_HPP_
#include <iostream>
#include "Mutex.hpp"
class ScopedLock {
public:
ScopedLock(Mutex &mutex);
~ScopedLock();
protected:
Mutex &_mutex;
private:
};
... | [
"zhiwen.wang@epitech.eu"
] | zhiwen.wang@epitech.eu |
5cfb27b9d92b072a03c2718a95dbf629852155e6 | 31ddd3bcf02f103481280b2bee7a9771f5c33c45 | /Code/src/system.cpp | fe622ffb80ee1d5d5c37645e84ab45a62f3af3e1 | [] | no_license | madhur08/Starling_Murmurations | e5cc667464175ac8cb59f85ebc1857591f29267e | a7989e425de4220f6767a142c298b5b000993518 | refs/heads/master | 2020-04-01T00:37:48.130047 | 2018-10-13T15:55:41 | 2018-10-13T15:55:41 | 152,705,400 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,169 | cpp | #include "system.h"
#include "boid.h"
#include "predator.h"
#include <bits/stdc++.h>
using namespace std;
bool printEnergy;
void system::toggleEnergyOutput()
{
printEnergy=1-printEnergy;
}
float distance(vec3 a,vec3 b)
{
return length(a-b);
}
system::system()
{
setNumBoids(0);
printEnergy =false;
}
void system:... | [
"madhursingal08@gmail.com"
] | madhursingal08@gmail.com |
d73f97b1d9ff274f811432ceb6778bd445e4b60d | c00eb058fc24366abb089336bfe4909d2364a5bd | /src/multimedia/videoprobe.h | 3b8951123d587ba7d54fa351d8fd5ab3655174f7 | [] | no_license | ProMcTagonist/harbour-tox | 5f0c6ff12d591ffdd84e34c8550ba2e107498402 | ef7bf0cf7652b0233e171cfb1d2882c0065c4678 | refs/heads/master | 2021-01-21T01:11:52.507034 | 2015-07-31T20:04:09 | 2015-07-31T20:04:09 | 40,068,797 | 0 | 0 | null | 2015-08-02T04:27:21 | 2015-08-02T04:27:20 | null | UTF-8 | C++ | false | false | 602 | h | #ifndef VIDEOPROBE_H
#define VIDEOPROBE_H
#define DEBUG
#include <QVideoProbe>
#include <QDebug>
#include <QMediaPlayer>
//http://www.qtcentre.org/threads/57981-Using-QVideoProbe-from-QML
class VideoProbe : public QVideoProbe
{
Q_OBJECT
Q_PROPERTY(QObject* source READ getSource WRITE setSource)
public:
ex... | [
"emmanuel@localhost.localdomain"
] | emmanuel@localhost.localdomain |
b68bb61c2e2ed73523426dc64cc6df614ab956c7 | c257ab275b1dfba804384757a491825eed652166 | /libraries/MATH/projects/Algebra/test/source/PolynomialTest.cpp | d2f23b72ca6b2795cf77480e9f972c35f8b341b7 | [] | no_license | elesd/GeneralNumberSystems | 2ae90d9222b6a77cb7cb9a84f6dcaf825c331d42 | ff861eb84b41e9d8784a3afe5c58be0c2430e4c9 | refs/heads/master | 2021-01-22T08:48:47.910010 | 2013-05-30T15:50:15 | 2013-05-30T15:50:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,695 | cpp | #include "../header/PolynomialTest.h"
typedef MATH::Algebra::Polynomial<int> Poly;
PolynomialTest::PolynomialTest()
:Tester::TestCase("PolynomialTest")
{
}
void PolynomialTest::testCreateElement()
{
Poly p;
assertNotEquale(p[0],0);
assertNotEquale(p.getDegree(), 0);
}
void PolynomialTest::testCreateElement... | [
"eles.david.88@gmail.com"
] | eles.david.88@gmail.com |
acc668863189d7dbe7df3db54697f897e7a7b1e3 | 7b5883576093b0d6652e1b7f90d8e2259a0aa788 | /examples/GammaMap/GammaMap.cxx | 42c00d0c596d0b0197801d0d4d417cf3f439a25e | [] | no_license | lewiswilkins/SensorAnalysisToolkit | 73d0fd6d4cf1ecfedc34f892fa6f90102faa0c6a | 0346320cb30e9cc51996140be2cefa36f902862b | refs/heads/master | 2021-06-05T22:14:51.297213 | 2016-10-14T11:57:21 | 2016-10-14T11:57:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,122 | cxx | /*
* GammaMap.cxx
*
* Created on: 24 Aug 2015
* Author: lewish
*/
#include "RooRealVar.h"
#include "RooDataSet.h"
#include "RooGaussian.h"
#include "RooConstVar.h"
#include "RooProdPdf.h"
#include "RooDataHist.h"
#include "RooAddPdf.h"
#include "RooPolynomial.h"
#include "TCanvas.h"
#include "TAxis.h"
#incl... | [
"lewiswilkins@me.com"
] | lewiswilkins@me.com |
afa6da7bdc9dec769f54961af19e5fdbfc78413e | 98dc6f0f7c85dbfae6d40df288dde6f392311f43 | /src/include/lem/solarix/automaton.h | b5d73f5f3b3a212f13164da2aca87dd78a66f559 | [] | no_license | Atom9j/GrammarEngine | 056cba6652a78e961cee6e9420f8b606563a3d77 | 7966a36b10d35cf6ba1c801701fa49d3c2c6add2 | refs/heads/master | 2021-04-27T00:10:28.165368 | 2018-03-03T12:19:37 | 2018-03-03T12:19:37 | null | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 8,929 | h | // -----------------------------------------------------------------------------
// File AUTOMATON.H
//
// (c) by Koziev Elijah all rights reserved
//
// SOLARIX Intellectronix Project http://www.solarix.ru
// http://sourceforge.net/projects/solarix
//
// You must not eliminate, de... | [
"mentalcomputing@gmail.com"
] | mentalcomputing@gmail.com |
815d1a6e8614a22bf602d1df67aaf9bf1bb1aabf | 26add64fe97400617b1781c826f57d8ef961bf76 | /Minigin/MainMenuComponent.h | c3713b404bd48b121fd6f61e067465dd163be171 | [] | no_license | Eonaap/Minigin | 9db7676e194b0d058fef56618f5c3fb7b4f34d39 | 5f80796c6224679571e8ba10fdd565bb1aa6910b | refs/heads/main | 2023-05-15T09:10:31.169202 | 2021-06-07T04:57:14 | 2021-06-07T04:57:14 | 371,521,570 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 661 | h | #pragma once
#include "BaseComponent.h"
#include "Structs.h"
namespace kaas
{
class Texture2D;
}
class MainMenuComponent : public kaas::BaseComponent
{
public:
MainMenuComponent(kaas::GameObject* pGameObject, kaas::GameObject* pPlayerOne, kaas::GameObject* pPlayerTwo);
~MainMenuComponent();
void Update() overrid... | [
"martijn1dhondt@gmail.com"
] | martijn1dhondt@gmail.com |
6a8c490b6f2a3945f3a484e87ce50f1d9c2781a9 | 6915092ec690d21c301a59d9caee3a2b55ca8d15 | /C++/112-Path_Sum.cpp | 7c04849fb4c7341301fb618ed65b10d637cbb831 | [] | no_license | haoping07/Leetcode-notes | 194cc3c03b4deed3d0cd11550f169ada8abaf0f2 | 5562f39a1fb1b1dd48a1623083ef25999fb266a5 | refs/heads/master | 2020-08-04T16:05:57.688375 | 2020-07-20T10:21:33 | 2020-07-20T10:21:33 | 212,183,914 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,639 | cpp | /*
112. Path Sum (E)
Preorder(top-down)
Preorder the tree, if the path sum isn't fullfill the given sum, move to its
child and add its value
T:O(n)
S:O(leaf)
Preorder(top-down) recursion
If the current node isn't a leaf, deduct sum with the current node value and
move to its child
T:O(n)
S:O(depth)
*/
... | [
"pinglin927@gmail.com"
] | pinglin927@gmail.com |
3ed604739d1236b421b62741e5c412a62a39046b | 6a0d1411dba65e306953d3da21160825128ced0d | /modules/binding/magma/include/nt2/linalg/functions/magma/gesvd_w.hpp | d7c8948879516122193b246edcd69d464b0b4bdc | [
"BSL-1.0"
] | permissive | andre-bergner/nt2 | 471abbb0ccafb9de7ee6ff748cf85bfce2cd03bf | 1d3d5ea89829b0b717c32a5289ad0bd5a712348a | refs/heads/master | 2021-01-14T09:37:03.714176 | 2015-12-21T13:00:13 | 2015-12-21T13:00:13 | 48,425,013 | 2 | 0 | null | 2015-12-22T10:11:06 | 2015-12-22T10:11:05 | null | UTF-8 | C++ | false | false | 10,375 | hpp | //==============================================================================
// Copyright 2003 - 2012 LASMEA UMR 6602 CNRS/Univ. Clermont II
// Copyright 2009 - 2012 LRI UMR 8623 CNRS/Univ Paris Sud XI
//
// Distributed under the Boost Software License, Version 1.0.
// ... | [
"ian.masliah@u-psud.fr"
] | ian.masliah@u-psud.fr |
a1000d301cbeed665ff050189c45249eee07a821 | c48b57e446f83ecaca04ebd9941cb7e8073b233a | /Calculator-Qt/main.cpp | 9c03bb8a2bb4ac38264ee5457dda59d96803edcf | [] | no_license | petardjordjevic98/Projects | 94e2ee1af65d91bb3ca00a2914f5aeb393624656 | ca746b0c72e9196d72adad6282740d8c4f89b1b3 | refs/heads/master | 2023-05-11T19:06:54.576898 | 2021-06-06T11:54:42 | 2021-06-06T11:54:42 | 296,841,159 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 172 | cpp | #include "widget.h"
#include <QApplication>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
CalculatorMain w;
w.show();
return a.exec();
}
| [
"petardjordjevi.1@gmail.com"
] | petardjordjevi.1@gmail.com |
c2243a2432f7d089966e535b381db98c3bf5b982 | f836bd4da5e15bf6c6b6fc86397fa324b6e1afbd | /NES/PPU.hpp | 8ce283636ca1701a3489274be3ed6fe56c54cd6b | [
"MIT",
"LicenseRef-scancode-philippe-de-muyter"
] | permissive | whelanp/MedNES | f7b19a1f0fe254b179098a48d10f962c323c9259 | 8f01befa5147955955c45b161eedb216afbb6c80 | refs/heads/master | 2021-04-08T17:36:06.201256 | 2020-03-20T07:11:52 | 2020-03-20T07:11:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,693 | hpp | #pragma once
#include <stdio.h>
#include <stdint.h>
#include "Common/Typedefs.hpp"
#include "INESBus.hpp"
#include "Mapper/Mapper.hpp"
struct Sprite {
u8 y;
u8 tileNum;
u8 attr;
u8 x;
u8 id;
};
struct SpriteRenderEntity {
u8 lo;
u8 hi;
u8 attr;
u8 counter;
u8 id;
bool flip... | [
"ahmedharmouche92@gmail.com"
] | ahmedharmouche92@gmail.com |
7cadfbaa03079cf594939d2123d67de9dca21611 | 9bc82a513c67d9f652a92f0ebb49779194c35633 | /onewirelibrary/test_jalousie.cpp | 55b1935b2464843b0268e57af7adb237545db277 | [] | no_license | colek/homeis | 94ceef311059cab29cfb86aa0af541735944c2f5 | 7dd4c999bee6bd0557e56d9e85114f5084df0eb8 | refs/heads/master | 2021-01-15T10:59:53.608874 | 2016-05-16T19:32:37 | 2016-05-16T19:32:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,719 | cpp | /***************************************************************************
test_jalousie.cpp - description
-------------------
begin : Fri Jan 3 2003
copyright : (C) 2003 by Harald Roelle
email : roelle@infor... | [
"root@debian.localdomain"
] | root@debian.localdomain |
79c257423b0c792d954789d8a19c6a1b6d5dad9f | 27da58458e8f4a70adcb0c1d8a7ed84e8342367f | /FullSample306/GameSources/GameStage.h | 7468ca730d10da78fac5d5652345cea76e6ec9eb | [] | no_license | WiZFramework/BaseCross | f5c5d41abb1bfc8c5e7e0fc397a522318c95a7d2 | 3166d3870e818c947c2b598ff9d629c58780168d | refs/heads/master | 2020-05-22T02:44:26.650636 | 2019-09-17T17:46:08 | 2019-09-17T17:46:08 | 64,080,808 | 16 | 4 | null | null | null | null | SHIFT_JIS | C++ | false | false | 806 | h | /*!
@file GameStage.h
@brief ゲームステージ
*/
#pragma once
#include "stdafx.h"
namespace basecross {
//--------------------------------------------------------------------------------------
// ゲームステージクラス
//--------------------------------------------------------------------------------------
class GameSta... | [
"wiz.yamanoi@wiz.ac.jp"
] | wiz.yamanoi@wiz.ac.jp |
cb274e2ede64dff109144351692e68c99979e7e4 | f8766c69f747d189fbc0bab1882e0e7669028350 | /nyann/nyann/Layer/FCLayer.h | 804adb7b240a102fac47e1b5218ae0c5b8671b37 | [
"MIT"
] | permissive | VoIlAlex/nyann | 6ac0ad4abfeb30f863f2a5bf88226691f46fa9b6 | cefe0d330134414f28b9f2ce568292e501d9f2ae | refs/heads/master | 2021-07-08T10:27:48.319445 | 2020-11-07T15:35:38 | 2020-11-07T15:35:38 | 208,885,911 | 3 | 0 | MIT | 2019-11-23T19:22:03 | 2019-09-16T19:55:28 | C++ | UTF-8 | C++ | false | false | 8,904 | h | #pragma once
// For all the framework configurations
#include "../_config.h"
#include "../Layer.h" // for Layer
#include "../utils.h" // for Size
#include "../dataset.h" // for DataSet
#include <vector>
#include <functional>
#include <random>
#include <fstream>
#include <sstream>
#include <iterator>
#include <strin... | [
"ilya.vouk@gmail.com"
] | ilya.vouk@gmail.com |
c6c0aaedf6ef40cf676e66b8ac9fc2037994c7f1 | 619bc2a61bac5bc3bcf3032788a9e2b39abdf840 | /testmain.cpp | 6be42d16a2732e163325c1e3cdedee937aa4521f | [] | no_license | Nordecay/software-engineering-ws15 | 7512e92bdc6510147926cc70cfefcc63949fa072 | 5ee1f6786135dd407dbd92771813bfd038be6c4d | refs/heads/master | 2020-12-14T07:31:02.891011 | 2015-11-03T16:31:16 | 2015-11-03T16:31:16 | 44,805,585 | 0 | 0 | null | 2015-10-23T10:14:18 | 2015-10-23T10:14:18 | null | ISO-8859-1 | C++ | false | false | 5,511 | cpp | #include "converter.hpp"
#include "dollartoeuroconverter.hpp"
#include "eurotodollarconverter.hpp"
#include "metertofootconverter.hpp"
#include "foottometerconverter.hpp"
#include "celciustofahrenheitconverter.hpp"
#include "fahrenheittocelciusconverter.hpp"
#include "ouncestogrammconverter.hpp"
#include "grammtoounce... | [
"robert@Jarvis_1.Nightwatch.intra"
] | robert@Jarvis_1.Nightwatch.intra |
6af86ed322f6ba53fa38b583b009fc6bf1ebf61b | f26513e7c7b7a294098f3fbf8425ff7b2579b4c0 | /include/test-filter.hpp | 53364e644c6fe5bef4278e0d90d58d441179bc75 | [] | no_license | epoxx-arch/perception-gpu-research | 69fce4af6a40f043deba511707865f1de79ab7a2 | 288747a5d5d29749893abe8f7ca072340f539953 | refs/heads/main | 2023-03-17T04:20:21.788369 | 2021-02-12T02:20:07 | 2021-02-12T02:20:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 277 | hpp | #include <sl/Camera.hpp>
#include "common.hpp"
#ifndef TEST_FILTER
#define TEST_FILTER
class TestFilter {
public:
//Initialized filter with point cloud
TestFilter();
//Run the filter
void run(GPU_Cloud_F4 pc);
};
#endif | [
"ashwingupta2000@gmail.com"
] | ashwingupta2000@gmail.com |
14e1fb0e383039b90767613dac3e7e397f69089b | 120e312802396ef156c91e0a6ffaf8b5985a4965 | /szyfrowanie.h | 440e2380bdedbff2a9575c64cd188e35e9fe6112 | [] | no_license | kamprog/Komunikator | ab2deddf77c6055bbe09849b6541a7ee16cbc519 | f1c71a404eb0738177c26adecceb50e577b127f3 | refs/heads/master | 2020-04-29T12:55:15.568112 | 2013-06-07T07:35:32 | 2013-06-07T07:35:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 780 | h | #ifndef SZYFROWANIE_H
#define SZYFROWANIE_H
#include <QByteArray>
#include <QString>
#include "klucz.h"
#include "TypKlucza.h"
class Szyfrowanie
{
protected:
Klucz* klucz;
public:
Szyfrowanie();
virtual ~Szyfrowanie();
virtual QByteArray* Szyfruj(Klucz* Klucz, QString* tresc) = 0; //szy... | [
"blachuram@gmail.com"
] | blachuram@gmail.com |
37e43c3578c009bb93b48a8e46376c1840b14202 | a3513e959ce99582a888d802b0a085a135257d98 | /TestCplus/Template/Template.cpp | 52f0b311b8a14741c8a9142865c70c8278e17682 | [] | no_license | fanjc320/TestProjs | 300588a7445c287f41134de45f1a05e2a69fee3f | 7e10105766b4920bc16b104b9f4de828dd802716 | refs/heads/master | 2022-12-11T06:55:45.845013 | 2022-12-03T12:08:37 | 2022-12-03T12:08:37 | 143,162,722 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 127 | cpp | // Template.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
int main()
{
return 0;
}
| [
"894020798@qq.com"
] | 894020798@qq.com |
da3b7909b392839daf63bea50230a4ae531a0525 | e51562372a36b4729033bf19a4daf7ca7e462e30 | /uva-201-1 Accepted.cpp | 893bf7b2379c89e142e71e8dd25a2cd34b52d0a3 | [] | no_license | sl1296/acm-code | 72cd755e5c63dfdf9d0202cb14a183ccff3d9576 | 50f6b9ea865e33d9af5882acd0f2a05c9252c1f8 | refs/heads/master | 2020-08-22T11:56:17.002467 | 2019-11-09T11:08:25 | 2019-11-09T11:08:25 | 216,388,381 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 962 | cpp |
#include<cstdio>
#include<cstdlib>
#include<cstring>
using namespace std;
bool is[3][13][13];
int cc[15];
int main(){
int n,m,cas=0;
while(scanf("%d%d",&n,&m)!=EOF){
char s[5];
int ree=0;
memset(is,false,sizeof(is));
memset(cc,0,sizeof(cc));
int a,b;
for(int i=0;i<m;i++){
scanf("%s%d%d",s,&a,&b);
i... | [
"guocl0729@163.com"
] | guocl0729@163.com |
ca6d592786a6002defd7b61290ecb436a749e1f9 | 0e3d356e558c7e14f104a35a9edd82d34704988e | /data/story.cpp | f143c57e3a3390612462eb41eb1589d81cfdde98 | [
"MIT"
] | permissive | FuSoftware/QTwee | 23d1992bcbd22ea3a18f48c611211056227e4b8e | eb37c6f9f398bf5f8c094d79d87ed40ec5a30d6d | refs/heads/master | 2020-03-25T16:08:47.071240 | 2018-08-08T23:40:30 | 2018-08-08T23:40:30 | 143,917,028 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,441 | cpp | #include "story.h"
#include "passage.h"
Story::Story()
{
}
void Story::addPassage(Passage* p)
{
this->passages.insert(p->getName(),p);
}
void Story::addPassages(QVector<Passage*> p)
{
for(int i=0;i<p.size();i++)
{
this->addPassage(p[i]);
}
}
int Story::getPassagesCount() const
{
return ... | [
"florent.uguet@gmail.com"
] | florent.uguet@gmail.com |
3628403b0f6f4e9b3447b73621c3504e85f69f10 | eca150147dad714dcfc30df3d5c1ebba50a2a3ad | /UVA/1235/13198908_AC_80ms_0kB.cpp | 72a013f818a75421ead307a17382f473b8237d45 | [] | no_license | Abdullahfoysal/ICPC-OJ | a4c54774e2b456c62f23e85a37fa9c5947d45d71 | 394f175fbd1da86e794c5af463a952bc872fe07d | refs/heads/master | 2020-04-18T03:56:29.667072 | 2018-04-17T16:29:43 | 2018-04-17T16:29:43 | 167,219,685 | 1 | 0 | null | 2019-01-23T16:58:02 | 2019-01-23T16:58:02 | null | UTF-8 | C++ | false | false | 2,195 | cpp | #include<bits/stdc++.h>
using namespace std;
typedef long long big;
class Connection
{
public:
int node1; int node2; int cost;
bool operator <(const Connection obj) const
{
return obj.cost > cost;
}
};
int Lock = 510;
int parent[510];
void makeJoin(int root1, int root2);
void initialParen... | [
"avoidcloud@gmail.com"
] | avoidcloud@gmail.com |
10fe0c58da67a307f4e58abb7ab51fa0b7fc933c | 75d453f63c30d4c899b797f44d8057d36103b6c9 | /sPiece.cc | c4e86cc7502f7847afed19ea560cbaf0430b5e60 | [] | no_license | Yanfii/Tetris | 9b9cbc80f75fd77324a5e679c3008b55a39deee9 | 42de0aef09295709ed662952ba38c7659c88c565 | refs/heads/master | 2021-05-05T13:07:50.404968 | 2018-01-21T06:43:49 | 2018-01-21T06:43:49 | 118,311,198 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 668 | cc | #include "sPiece.h"
#include "cell.h"
#include "board.h"
#include <vector>
using namespace std;
SPiece::SPiece(Board* boardPtr): Pieces{boardPtr} {
block = Block::SBlock;
xPivot = 2;
yPivot = 1;
for(int row = 0; row < 5; ++row) {
for(int col = 0; col < 5; ++col) {
if((row == 2 && col == 1) || (row == 2 && co... | [
"patrickzhangyf@hotmail.com"
] | patrickzhangyf@hotmail.com |
57655f4db08c40f31a06987a209d59c53b43e849 | 8e25429375bed7c9ac2654c4003968be27101c93 | /src/platform/Tizen/BLEManagerImpl.cpp | 3749d1d6f5027e66f165d4c81bd233da6561a167 | [
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | Grundfos/connectedhomeip | ae986fe152674ac3782458678286715834cffcf7 | 757f06a0c9faf1c315128b95d32d7554eb026ed1 | refs/heads/master | 2023-07-08T03:37:28.700342 | 2023-06-30T11:05:17 | 2023-06-30T11:05:17 | 351,474,158 | 0 | 0 | Apache-2.0 | 2023-05-15T12:58:40 | 2021-03-25T14:53:41 | C++ | UTF-8 | C++ | false | false | 56,505 | cpp | /*
*
* Copyright (c) 2020-2022 Project CHIP Authors
* Copyright (c) 2018 Nest Labs, 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.o... | [
"noreply@github.com"
] | noreply@github.com |
49ca18a1d0a44146f7d3dd8880c11c99ff42372a | 3d6f999526ac252f5d68d564c553391c1c219825 | /srcs/client_src/SoundArranger/SoundArrangerView.cpp | 48bfaf088c9fc799e421ddb69be22f4f802896f9 | [
"Unlicense"
] | permissive | kdoggdev/cncn_m2 | e77354257de654f6507bcd14f0589311318bcbc0 | 149087e114be2b35c3e1548f4d37d6618ae27442 | refs/heads/main | 2023-02-02T09:56:37.306125 | 2020-12-23T09:52:14 | 2020-12-23T09:52:14 | 337,634,606 | 0 | 1 | Unlicense | 2021-02-10T06:13:27 | 2021-02-10T06:13:27 | null | UTF-8 | C++ | false | false | 2,289 | cpp | // SoundArrangerView.cpp : implementation of the CSoundArrangerView class
//
#include "stdafx.h"
#include "SoundArranger.h"
#include "SoundArrangerDoc.h"
#include "SoundArrangerView.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
///////////////////////////////////... | [
"uchregdefault@gmail.com"
] | uchregdefault@gmail.com |
57bc5dd71f956d9fb118983d5c36c046765eedfc | a138033ace80cce59fdf721c1c0950b7d3e1d21a | /libSomeVM/VM.cpp | f9973f16321a1dee5387544ccba3c60f1b8b1666 | [
"MIT"
] | permissive | fengjixuchui/SomeVM | 2e5940ed178304bb653d0a66764f0577763b2396 | 99ea638431665069b6b69836f66b81a7da65add3 | refs/heads/master | 2020-05-09T18:11:44.995614 | 2018-03-12T16:51:44 | 2018-03-12T16:51:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,101 | cpp | #include "VM.hpp"
#include <iterator>
#include <cmath>
#include "Program.hpp"
#include "SysCall.hpp"
namespace
{
using namespace svm;
int64_t getInteger(Float f)
{
constexpr uint64_t VALUE_MASK = 0x000fffffffffffffu;
constexpr uint64_t SIGN_BIT = 1ull << 63;
auto& ir = reinterpret_cast<int64_t&>(f);... | [
"adiverso93@gmail.com"
] | adiverso93@gmail.com |
adcdba673af435d742a932239d69172351285238 | ef2bbb47747036829c6aa1ef712fe75ea13fd0a0 | /3.Lab3/Code@testing/Lab3_2/MyStack.cpp | 4fd919baba0f1bb348ab2ca98b4154f5a2e32f64 | [] | no_license | Sciencethebird/CS_OOP | ce1c24ffe251ccc726ead9c888e798dded4e4fe6 | 939c1d227daebb4f136c994026fe57b1cc2eef89 | refs/heads/master | 2020-04-01T20:48:39.884046 | 2019-02-04T09:33:45 | 2019-02-04T09:33:45 | 153,621,632 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 739 | cpp | #include <iostream>
#include<iomanip>
using namespace std;
#include "MyStack.h"
MyStack :: MyStack()
{
cap = 5;
len = 0;
arr= new int[cap];
}
MyStack :: MyStack(int c)
{
cap = c;
len = 0;
arr= new int[cap];
}
MyStack :: MyStack(const MyStack & s)
{
int *temp;
temp = ... | [
"sciencethebird@gmail.com"
] | sciencethebird@gmail.com |
814f0038f169c68b538053c30ba3317cb166c8a9 | 0d23c7faa7f8556815402c7b14cebf1d1de6bc4c | /src/ProtoSegment.cxx | 12232bdea3185e950bb7117ecc519f1aaf31eca2 | [] | no_license | BNLIF/wire-cell-pid | cfa027f25ffe275f55332bc9d32c98789fa0c441 | 290f24197788e80ab4e1127d7b562911c15ecf81 | refs/heads/master | 2022-07-05T06:25:27.115571 | 2022-06-30T22:44:53 | 2022-06-30T22:44:53 | 179,381,058 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 76,701 | cxx | #include "WCPPID/ProtoSegment.h"
#include "WCPData/TPCParams.h"
#include "WCPData/Singleton.h"
#include "WCPData/Line.h"
#include "TH1F.h"
using namespace WCP;
int WCPPID::ProtoSegment::get_particle_type(){
if (get_flag_shower()){
particle_type = 11; // shower are all treated as electron
}
return particle_... | [
"last.qx@gmail.com"
] | last.qx@gmail.com |
dab9c1ba2cb47461faa22e6a5a1c1ff9caa04ca7 | 0e53a83898937a811109ecc7fa44e1b887149f02 | /FireWall/Player.h | 076a31c4ec95eb32e10f5885d6e564c49fc2465f | [] | no_license | eric-hoffmann/cpp-games | 905813de81be1da786e72723a49f6055ee123bb1 | ec9c66a28c1db7cf42a1a76602e64c70f72b98af | refs/heads/master | 2021-01-19T21:16:09.980994 | 2017-02-19T20:50:40 | 2017-02-19T20:50:40 | 82,480,899 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,609 | h | /*
* Player.h
*
* Created on: May 27, 2015
* Author: 709252
*/
#ifndef PLAYER_H_
#define PLAYER_H_
#define DARK_GREEN makecol(0,100,0)
#define BRIGHT_GREEN makecol(0,255,0)
#include <string> // temporary
#include <sstream>
#include <allegro.h> //temporary
#include <vector>
struct object
{
... | [
"ehcomm1@gmail.com"
] | ehcomm1@gmail.com |
90a4d5728634a2c54fb27a69b9236a629decce12 | 40f417f765397ed1303936e5ebd66e6a4e55d548 | /CrowdSimulation/Demo/src/MainWindow.h | a943a6ec83a71486dabc615ebfab378079fc0819 | [] | no_license | pluggalex/LLPP | 57e2f0d20c9edb7852b35a08d4b25456d0273ced | bb90c22bd7694a7a1392dad3d08c410ee7bdd92a | refs/heads/master | 2021-09-08T01:49:04.663914 | 2018-02-27T12:48:33 | 2018-02-27T12:48:33 | 117,812,532 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 762 | h | #ifndef _mainwindow_h_
#define _mainwindow_h_
#include <QMainWindow>
#include <QGraphicsScene>
#include <vector>
#include "ped_model.h"
#include "ped_agent.h"
#include "ViewAgent.h"
class QGraphicsView;
class MainWindow : public QMainWindow {
public:
MainWindow() = delete;
MainWindow(const Ped::Model &model);
/... | [
"alla7073@user.uu.se"
] | alla7073@user.uu.se |
0ae9207b05e6037025654e920c39bf07bd054296 | 6a15cee126402eb8550ff91119d10a41c128c8fb | /src/lib/GraphicsUtils/disk_cycle.cpp | 9c6707119af681b2265d3d8a310c0e7b4339b6dc | [] | no_license | thecsapprentice/SBSS_Public | da407dcf53285e969108a2f7f696a6d1ccf478a1 | 057296aa11b2934fb3d6ea0d636139c5d93f96a4 | refs/heads/master | 2020-06-07T05:55:33.295414 | 2017-04-13T15:17:57 | 2017-04-13T15:17:57 | 192,942,024 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,212 | cpp | #include "bmesh.h"
#include <algorithm>
using namespace BMESH;
template<class ANCHOR, class LEAF, int cycle_tag>
typename ELEMENT_CYCLE<ANCHOR,LEAF,cycle_tag>::T_LINK*
ELEMENT_CYCLE<ANCHOR,LEAF,cycle_tag>::get_cycle_link( LEAF l, ANCHOR a ) {
T_LINK* dl;
if( l->vertex1 == a ) {// Are we the first vertex?
... | [
"nmitchel@cs.wisc.edu"
] | nmitchel@cs.wisc.edu |
ae0f8d3f2a7b4fdd3d8d3b12a2959c64684c7c3b | e53074d668e8eea241e2afa5aa42890bedb78cd9 | /Project1/Project1/Source/Application.h | 7b07c45faf8da346f7668550c9947d3082765525 | [] | no_license | ReU1107/Project1 | 9f1e2ab128744c321f56219679cdb2a33072dd9f | dfae75c51981c29a5a578b1e754524476d1a6809 | refs/heads/master | 2020-12-26T19:13:20.864694 | 2020-10-29T11:51:13 | 2020-10-29T11:51:13 | 237,610,628 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 48 | h | #pragma once
class Application
{
private:
}; | [
"reu1107@yahoo.co.jp"
] | reu1107@yahoo.co.jp |
645d956a425b429a50469d4cf457de7697f519e9 | 9b83b05ee31f55a80706730394dc6e54456d6634 | /src/plugins/qmldesigner/components/navigator/navigatorview.cpp | e1702bdac469034dedb73ac93072657ec4db4dc3 | [] | no_license | nahongyan/QtCreator | c49f6782f7407233abdb96f5cec823e855550f0a | a8a361f6057d3f79bd0ba05575e2958d498a7e14 | refs/heads/master | 2023-01-24T21:46:18.797698 | 2020-12-01T12:03:24 | 2020-12-01T12:03:24 | 317,527,105 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 24,776 | cpp | /****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of Qt Creator.
**
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this file in
** accordance w... | [
"2468254048@qq.com"
] | 2468254048@qq.com |
affa6c1d5477670c12fb3cc065725c490e6f0341 | 2abd1954c2c75773eaedd94b2f8c2df8774331aa | /src/qt/darksendconfig.cpp | 2ae36fa7eb08a066902a459ad96029be6049be8b | [
"MIT"
] | permissive | Schumbatin/TheBestBits | e9395fe6b2d2f2c57516efded4a710c401bcb4d3 | cdd8c6c8c7230c157721efea325d596f970ecf41 | refs/heads/master | 2020-05-14T23:37:00.393884 | 2018-04-24T12:07:08 | 2018-04-24T12:07:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,435 | cpp | #include "darksendconfig.h"
#include "ui_darksendconfig.h"
#include "bitcoinunits.h"
#include "guiconstants.h"
#include "optionsmodel.h"
#include "walletmodel.h"
#include "init.h"
#include <QMessageBox>
#include <QPushButton>
#include <QKeyEvent>
#include <QSettings>
DarksendConfig::DarksendConfig(QWidget *parent) :... | [
"frenzel1337@mail.com"
] | frenzel1337@mail.com |
5449dd1a7efdc44d9f61a8482b519aee7108363d | d4821a27d1efe7da71f09de38892d7a81c2039c9 | /QtHelloShader/myglwidget.h | 5de589b2dd225446d49d264953ebb44c52c85af1 | [] | no_license | youngsikshin/SampleCode | f99935b25ac9a826dcec3feca36b9572282186dc | fb35dbbda763c61162c9773db260d1307ac25c3e | refs/heads/master | 2021-01-12T14:26:16.185610 | 2017-01-11T16:54:30 | 2017-01-11T16:54:30 | 70,061,346 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 554 | h | #ifndef MYGLWIDGET_H
#define MYGLWIDGET_H
#include <QGLWidget>
#include <QVector>
#include <QGLShaderProgram>
class MyGLWidget : public QGLWidget
{
Q_OBJECT
public:
explicit MyGLWidget(QWidget *parent = 0);
~MyGLWidget();
signals:
public slots:
protected:
void initializeGL();
void paintGL();
... | [
"bluevow@gmail.com"
] | bluevow@gmail.com |
a0ff24dae96753d02a6b5a87eff449cde93c9c6c | afc6d75c33888d5e80b8fae850c2c867df8ac092 | /Pascal's Triangle/main.cc | d5d46966c561de71b95852dc2546705e9646cac8 | [] | no_license | srhodes9115/C-Plus-Plus-Work | 98483d5de38b9c62916ebe30816e651c3d185498 | 0e83fafbd19304879c2e09d5557d124b800de2d0 | refs/heads/master | 2020-06-08T05:27:12.925159 | 2015-07-17T02:33:27 | 2015-07-17T02:33:27 | 39,230,851 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 630 | cc | // Shannon Rhodes
// HW1
// ECE 2620 - Pascal's triangle
#include <iostream>
#include <stdio.h>
double factorial (double n)
{
int solution;
for (int i = 0; i <= n; i++)
{
if (i == 0)
solution = 1;
else
solution = solution*i;
}
return solution;
}
double pascal_triangle (int n, int ... | [
"srhodes91115@gmail.com"
] | srhodes91115@gmail.com |
4fb7e7a6ae9de5ba955df8dfefb98b56e483152e | a55c8a91c02d76bfe32fedb291b46f950a51e0a4 | /home/arimase/Desktop/ICS Lab/Lab 2/data_make.cpp | 0365d529280e5b2fb3494e585c82ec27691cc52f | [] | no_license | M-Arimase/School-Project | 041e971b841bfae8d35c0c83bb801114f1f3a1a5 | a780121bcddbceb8888a589ec72fffafd7958167 | refs/heads/master | 2021-01-19T05:38:55.454194 | 2017-11-22T03:57:14 | 2017-11-22T03:57:14 | 87,435,407 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 194 | cpp | #include <cstdio>
using namespace std;
int main() {
freopen("input.in.bak", "w", stdout);
char s[6] = {1, 4, 5, 7, 11, 12};
for (int i = 0; i < 6; i++)
printf("%c", s[i]);
return 0;
}
| [
"zyk@pku.edu.cn"
] | zyk@pku.edu.cn |
988c9684194a229d8e11d15cf5e8fbff2d7f53dc | 8305029035791d1c7a8596412c34af80993598cd | /cnn/nodes-common.cc | 2ab0b9775cb6f95f47605618523a3932d00b5357 | [] | no_license | jizhihang/CNN_for_VS | 6e2a6a02f01118828bb351617b4ca7664ce9518e | d98010fdc68ec637087ed37ee05eee4d5b6b8930 | refs/heads/master | 2020-03-18T00:46:39.517935 | 2015-12-22T10:16:35 | 2015-12-22T10:16:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,590 | cc | #include "nodes.h"
#include <limits>
#include <cmath>
#include <sstream>
using namespace std;
namespace cnn {
inline bool LooksLikeVector(const Dim& d) {
if (d.ndims() == 1) return true;
if (d.ndims() > 1) {
for (unsigned i = 1; i < d.ndims(); ++i)
if (d[i] != 1) return false;
}
return true;
}
st... | [
"f.w.lrank@gmail.com"
] | f.w.lrank@gmail.com |
6a0a6fb3a62542b7ab498ff6d61afb2dde3e8e4e | 9621fdf991db2b113044ecbd0a064d50455838d1 | /bachelor_cources/3 cource/Parallel OSI/proxy/singlethread/ConnectionHandler.h | 2ff3d509124df164aab13ca6eb5f3a7bfdf3ded2 | [] | no_license | comiam/NSU-Labs | 10b0e669cb6c9a2b83c1f4572a35a4d5cbcf6053 | 1c85afeb35ca35ca200022c49539a6368bd526ca | refs/heads/master | 2023-06-20T01:10:58.327153 | 2023-06-07T11:15:10 | 2023-06-07T11:15:10 | 253,186,656 | 5 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 288 | h | #ifndef SINGLETHREAD_HANDLER_H
#define SINGLETHREAD_HANDLER_H
class ConnectionHandler
{
public:
virtual bool execute(int event) = 0;
virtual ~ConnectionHandler() = default;
virtual bool sendData() = 0;
virtual bool receiveData() = 0;
};
#endif //SINGLETHREAD_HANDLER_H
| [
"maxim.bolshim@yandex.ru"
] | maxim.bolshim@yandex.ru |
bc6b101ab8ffa92cfb5ffe442dfd9fe3159d819f | 7e0013abc18fe0f788322d3cb81a0cc92901054d | /Code/joy_render_blur.cpp | c76bbd7ce670c1270d74f27453a22ae32a630868 | [] | no_license | gorevojd/Joy | edbd9c3bd68fb5de410ab3d6ae83e420e57a1df3 | bcfe16a30b33f9ae0534e4001457386f351034a9 | refs/heads/master | 2021-07-15T22:54:39.351213 | 2020-11-05T13:53:24 | 2020-11-05T13:53:24 | 223,946,061 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,795 | cpp | #include "joy_render_blur.h"
u32 Calcualte2DGaussianBoxComponentsCount(int Radius) {
int Diameter = Radius + Radius + 1;
u32 Result = Diameter * Diameter;
return(Result);
}
void Normalize2DGaussianBox(float* Box, int Radius) {
//NOTE(dima): Calculate sum of all elements
float TempSum = 0.0f;
int Diam... | [
"gorevojd27@gmail.com"
] | gorevojd27@gmail.com |
a6a91fc52cc9d0125c0d16cf591e815ab3b4fe25 | 7efdf4fbf9e7bdea27b45c5a64bad9a115dd0d95 | /pc_qt/build-st5-Desktop_Qt_5_2_1_GCC_32bit-Debug/ui_setalarm.h | 12f064cf2d4ee4a0668ae938b4eddf2752487e75 | [] | no_license | ittechbay/fts-xdl | 011ab5cf232aeaef5ee46d8d7fcc5d51be513815 | 23add1bc8b89ea073457e17c4c92196ce9de66e9 | refs/heads/master | 2020-04-29T16:33:13.029860 | 2019-03-18T10:59:27 | 2019-03-18T10:59:27 | 176,236,963 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,314 | h | /********************************************************************************
** Form generated from reading UI file 'setalarm.ui'
**
** Created by: Qt User Interface Compiler version 5.2.1
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
******************************************... | [
"ittechbay@163.com"
] | ittechbay@163.com |
da4797a5ac33f7522a3623955384b3a1a9073ccd | 35ea39a3c56339486561bc336764080a11d71105 | /Maths.cpp | 081d8d272f5e358d0337bfe5e94b0d7a347e26a8 | [] | no_license | rainerSchmidt/AGP_Tutorial17_Excercise1 | a24c0bfe7ed001ffe864fc2b35cbb58f83bb3bed | b14b828cd1470ad2492cf448e58fc82ec4be5dc6 | refs/heads/master | 2021-09-02T00:29:50.896545 | 2017-12-29T11:59:04 | 2017-12-29T11:59:04 | 115,713,346 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,104 | cpp | #include "maths.h"
ObjFileModel::xyz* Maths::Normalise(ObjFileModel::xyz* v)
{
ObjFileModel::xyz* vector;
vector->x = v->x;
vector->y = v->y;
vector->z = v->z;
//Normalise the normal
float length = sqrt((vector->x * vector->x) + (vector->y * vector->y) + (vector->z * vector->z));
vector->x /= length... | [
"noreply@github.com"
] | noreply@github.com |
bcf1170d97e5c89c276ef9ca3813abe0994cf6e7 | c8b3e1c33d24cee943a700f4a7234d981a742366 | /TheCorridor/OpenCommand.h | 454ea3f4e617e7930557a8bfb7d8227374b2585f | [] | no_license | CharlesWithall/TheCorridor | fdbbb333e47dae89347718f1ed73101b140d8fad | fc5a32a499499bb9e4224dc2b65aec645b1082a3 | refs/heads/master | 2021-01-20T02:54:53.487674 | 2017-08-04T11:12:38 | 2017-08-04T11:12:38 | 88,871,608 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 149 | h | #pragma once
#include "command.h"
class OpenCommand : public Command
{
public:
OpenCommand();
~OpenCommand();
void Execute(Player* aPlayer);
};
| [
"charles.withall@gmail.com"
] | charles.withall@gmail.com |
8f0540833f39c9a1b72195b662b56ea9d2fa0e4d | 52edee1b7d731d4855d9e3c294db38bafda669b1 | /core/include/vpmatrix.h | 9b3341cafcaa67456b5baf564ee844903097f3b1 | [] | no_license | ARLM-Attic/vart | d5e1415d6569159f4861b960aca742bbeac15f27 | 8674d0f53b41492e54de6397d6b455e4de3e0488 | refs/heads/master | 2020-12-30T16:14:51.846922 | 2012-10-01T22:10:56 | 2012-10-01T22:10:56 | 90,967,803 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,774 | h | //deprecated
///////////////////////////////////////////////////////////////////
//
// PROJECT.....: vpat - Creating Virtual Patients
// RESPONSIBLE.: Carla Freitas e Luciana Nedel
//
// FILE........: vpmatrix.h
// DESCRIPTION.: Contain the VPMatrix class declarations.
//
// AUTHOR......: Anderson Maciel
... | [
"SND\\kcfelix_cp@142e9c35-602f-4880-9f37-ec48a24daa6a"
] | SND\kcfelix_cp@142e9c35-602f-4880-9f37-ec48a24daa6a |
83aba456905b9738ad20dcab6133546d049a397d | cddc5063548fda3173320fe2254fc214c8fb3fe3 | /Qt/C++/Qt_programming/build-setting_qt_dialog_menu-Desktop-Debug/moc_mainwindow.cpp | 12b2be98fdeed0bb8380589617bb6a24639fadd2 | [] | no_license | Sayoloto/AJC_C- | 81ad6805d7a7ae2ac4fde085e9ed66678d8206b1 | b2ab98f03f5eb333a83db4a6e433e069a101cb7b | refs/heads/master | 2020-08-27T06:03:54.481799 | 2019-11-22T17:39:53 | 2019-11-22T17:39:53 | 217,264,309 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,553 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'mainwindow.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.9.5)
**
** WARNING! All changes made in this file will be lost!
**********************************************************... | [
"sayoloto@gmail.com"
] | sayoloto@gmail.com |
824015909af05a68f71ec02726e6d6d66aaed85e | c6c1fbc5d9d06b60812fb0798a55c7d4ec0f873d | /Masquerade/Source/Camera.cpp | c501b4e40a69790bc331607d0d39ae94efe731da | [] | no_license | DevinWhitaker/Masqurade | f5bd1ff433310ba55ab5d3a1161cd652dbc346e8 | 40a3835105f6ac87ce464ab2f1f50c6d60c0c038 | refs/heads/master | 2021-01-01T18:41:52.751184 | 2013-10-24T17:38:59 | 2013-10-24T17:38:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,146 | cpp | // Project: Masquerade
// Filename: Camera.cpp
// Author: Jam'D Team
// Purpose: Camera implementation.
#include "Camera.h"
#include "TileManager.h"
CCamera* CCamera::GetInstance( )
{
static CCamera s_Instance;
return &s_Instance;
}
CCamera::CCamera( )
{
m_fXOffset = 0.0f;
m_fYOffset = 0.0f;
m_bPlayerContro... | [
"devinjwhitaker@gmail.com"
] | devinjwhitaker@gmail.com |
63f6f0c9ed230452c5129248124181ca12015478 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/httpd/gumtree/httpd_repos_function_2769_last_repos.cpp | 16bc4a186d451c4238aa1411b5c1e84672f79e01 | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,770 | cpp | static apr_status_t beam_cleanup(void *data)
{
h2_bucket_beam *beam = data;
apr_status_t status = APR_SUCCESS;
int safe_send = !beam->m_enter || (beam->owner == H2_BEAM_OWNER_SEND);
int safe_recv = !beam->m_enter || (beam->owner == H2_BEAM_OWNER_RECV);
/*
* Owner of the beam is going away... | [
"993273596@qq.com"
] | 993273596@qq.com |
55ea9530f03bac1f75eef5b47b17b914b51ab81c | 6b60654f5c37b788b5a0325fe22cce600794e525 | /contest/amr16d.cpp | e8c18bd40357ed28996d1d770c11f4acba3d160f | [] | no_license | rsmnnit/Codes | cd45ae7a111fd7bb9e80bc85c0f273058eb3eb07 | 355daa783c625c3f1789f82482a7dbac12950210 | refs/heads/master | 2021-09-09T15:10:06.900600 | 2018-03-17T09:10:49 | 2018-03-17T09:10:49 | 104,431,239 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 693 | cpp | /* Radheshyam Lodhi
radheshyamlodhi64@gmail.com
CSE-MNNIT Allahabad */
#include<bits/stdc++.h>
using namespace std;
#define ll long long
#define sfi(i) scanf("%d",&i)
#define sfid(a,b) scanf("%d%d",&a,&b)
#define sfl(i) scanf("%lld",&i)
#define sfld(a,b) scanf("%lld%lld",&a,&b)
#define pfl(a) printf("%lld\n",a... | [
"noreply@github.com"
] | noreply@github.com |
804a9cab0f08dc5fe982bdc8db55c7f411c323a2 | 425e83de8a46ccc0dffed124994634338265add0 | /Plus Minus.cpp | bbd68e18327e065d4624946d724a80cdb0cbee8a | [] | no_license | manisha069/HackerRank-Problem-Solving | 6244559dc752537e2ed557bdc0a2134cdb15ed81 | 219f393e8883ebc71ef8dc2550fc4ef3c25d36a6 | refs/heads/main | 2023-06-07T04:48:37.746303 | 2021-06-16T04:56:46 | 2021-06-16T04:56:46 | 309,933,942 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,751 | cpp | #include <bits/stdc++.h>
using namespace std;
vector<string> split_string(string);
// Complete the plusMinus function below.
void plusMinus(vector<int> arr) {
double pos, neg, zer;
int size;
size= arr.size();
pos=neg=zer=0;
for(int i =0; i< size; i++)
{
if(arr[i]==0)
{
... | [
"manisha.guptacs2018@indoreinstitute.com"
] | manisha.guptacs2018@indoreinstitute.com |
9c551e6d0a82eb8204b30ee7f6264fff7930d755 | f167e0c34673c0dad8e990b2554e9e43320c5068 | /pipworker.h | e5524be0a5eb4f5bebbb65fe022ee73bb4fe705a | [] | no_license | nospam2k/Mixer-gui | 7d5f5c27a922b9074f5808337e54fb3fb809c419 | e3e1fab9dd9cf28810e482296eea4963e3fbf6af | refs/heads/master | 2021-04-09T14:56:11.523614 | 2014-10-25T11:51:59 | 2014-10-25T11:51:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 563 | h | #ifndef PIPWORKER_H
#define PIPWORKER_H
#include <QObject>
#include <buffer.h>
class PIPWorker : public QObject
{
Q_OBJECT
public:
explicit PIPWorker(QObject *parent = 0);
~PIPWorker();
void setParams(double _scale, int _offsetX, int _offsetY);
void start(Buffer* buf, int outNumbe, int numBack, ... | [
"daniel.kucera@gmail.com"
] | daniel.kucera@gmail.com |
36e61f656a0dac0a646b3d9f681ce9b9f848a48f | 6d2d6c928e623ab13df7ee44ce122a95c96f87a2 | /section3/fence.cpp | f84b7cfd69ad48ad6c8845703e7043568a035c2f | [] | no_license | kevinkwl/usaco | 180f354273a3bd02add1964b595c3f2d931ed4dc | 98d3a4e926ca335ad21656766ce3696f64fe718e | refs/heads/master | 2021-05-31T11:38:58.745734 | 2016-02-13T13:54:56 | 2016-02-13T13:54:56 | 46,347,983 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,097 | cpp | /*
ID: kevinli7
PROG: fence
LANG: C++11
*/
#include <iostream>
#include <fstream>
#include <set>
using namespace std;
struct Intsec
{
Intsec():deg(0){}
int deg;
multiset<int> adj;
};
int path[2048];
int pathsize, F, a, b;
int start;
Intsec g[505];
void dfs(int n)
{
while (!g[n].adj.empty())
{
... | [
"lingkangwei.kevin@gmail.com"
] | lingkangwei.kevin@gmail.com |
cc446e78d67586e18b854e118b2fa7a0474d81f6 | 1f677cb97f8707c3e0384eb8d4364a6c253c9b78 | /pssc/include/pssc/protocol/msgs/SubscribeMessage.h | 82a014d2de405d777079e46060f5c536bdfd2924 | [
"BSD-3-Clause"
] | permissive | maxvalor/sros | 5e70dd613e5539d62025362717f8cdc7790fe466 | 95d55dbb8d1bbfabbf13afd2006f20ce9df8f38a | refs/heads/master | 2023-07-06T21:05:34.682131 | 2021-08-10T11:04:44 | 2021-08-10T11:04:44 | 394,620,233 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,248 | h | /*
* SubscribeMessage.h
*
* Created on: Apr 25, 2021
* Author: ubuntu
*/
#ifndef INCLUDE_PSSC_PROTOCOL_MSGS_SUBSCRIBEMESSAGE_H_
#define INCLUDE_PSSC_PROTOCOL_MSGS_SUBSCRIBEMESSAGE_H_
#include "PSSCMessage.h"
namespace pssc {
class SubscribeMessage : public PSSCMessage
{
public:
// | INS | ID | SUBSCR... | [
"you@example.com"
] | you@example.com |
fa4d24d16ff6e328083bddd1db6d740388f1ee19 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/mutt/gumtree/mutt_old_log_54.cpp | 51d66b104f94334e93c8d441f1380aa5f6af93c9 | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 23 | cpp | (fputs(KENDRA_SEP, fp); | [
"993273596@qq.com"
] | 993273596@qq.com |
8cca7891ca4dc1e4616f2df5653572abf2b17c5f | be3d7c318d79cd33d306aba58a1159147cac91fd | /modules/wgd_heightmap/include/wgd/iheightmap.h | e7e5e37e0d8a7df0638da759e82c4e518bbfa6af | [] | no_license | knicos/Cadence | 827149b53bb3e92fe532b0ad4234b7d0de11ca43 | 7e1e1cf1bae664f77afce63407b61c7b2b0a4fff | refs/heads/master | 2020-05-29T13:19:07.595099 | 2011-10-31T13:05:48 | 2011-10-31T13:05:48 | 1,238,039 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,647 | h | #ifndef _WGD_IHEIGHTMAP_
#define _WGD_IHEIGHTMAP_
#include <wgd/common.h>
#include <wgd/instance3d.h>
#include <wgd/heightmapsource.h>
namespace wgd {
class HEIGHTMAPIMPORT IHeightmap : public wgd::Instance3D {
public:
IHeightmap(HeightmapSource* source);
IHeightmap(const OID&);
~IHeightmap()... | [
"nwpope@gmail.com"
] | nwpope@gmail.com |
edcc46edafe82350b09337fed08d581328c91755 | 36a9be2bbca3573ed7dfe84b52e0bf93e1258e3d | /zbus/include/MqClient.h | c3697069bea7ac5ea643171604da4efe331b5a20 | [
"MIT"
] | permissive | rushmore/zbus-cpp | 54b1a2d2aba668ab1b006024efc225f5f4c6abd2 | 61a1c020b1ce03926c4fef0af3fd7e6246ecfe94 | refs/heads/master | 2020-12-10T03:25:42.744845 | 2017-09-17T21:02:48 | 2017-09-17T21:02:48 | 95,549,953 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,909 | h | #ifndef __ZBUS_MQ_CLIENT_H__
#define __ZBUS_MQ_CLIENT_H__
#include "MessageClient.h"
#include "Kit.h"
#include <queue>
#include <mutex>
#include <condition_variable>
namespace zbus {
class ZBUS_API ConsumeGroup {
public:
std::string groupName;
std::string filter; //filter on message'tag
int ma... | [
"44194462@qq.com"
] | 44194462@qq.com |
ec6e0ea20cc2c0f119e0a672e1fcee222a95b759 | dd80a584130ef1a0333429ba76c1cee0eb40df73 | /external/arduino/hardware/arduino/cores/arduino/main.cpp | cc6e81d906c85233998836bc5dbc383e507309db | [
"MIT",
"GPL-2.0-only",
"LGPL-2.1-only"
] | permissive | karunmatharu/Android-4.4-Pay-by-Data | 466f4e169ede13c5835424c78e8c30ce58f885c1 | fcb778e92d4aad525ef7a995660580f948d40bc9 | refs/heads/master | 2021-03-24T13:33:01.721868 | 2017-02-18T17:48:49 | 2017-02-18T17:48:49 | 81,847,777 | 0 | 2 | MIT | 2020-03-09T00:02:12 | 2017-02-13T16:47:00 | null | UTF-8 | C++ | false | false | 108 | cpp | #include <WProgram.h>
int main(void)
{
init();
setup();
for (;;)
loop();
return 0;
}
| [
"karun.matharu@gmail.com"
] | karun.matharu@gmail.com |
c9eabf4c0c527c2f6a33c2ba28ca4e4c77674033 | ac316dc53e018ee84008fe2cdacc75c73cb4a12a | /c++_language_programming/C++_lab/ch02/ex2-18/ex2-18.cpp | 61e178ddc6a87d70f20a7173f8bf12c1c1199c0d | [] | no_license | shixu312349410/vscode_cplusplus | 7701913254aa1754dc0853716338d4cf8536e31d | a961759431054d58a0eb9edc27f5957f55b2d83a | refs/heads/master | 2023-03-18T02:07:38.104946 | 2021-03-09T12:45:44 | 2021-03-09T12:45:44 | 339,215,392 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 122 | cpp | #include <iostream>
using namespace std ;
int main()
{
for (int i = 32; i<128; i++)
cout << (char) i;
return 0;
} | [
"312349410@qq.com"
] | 312349410@qq.com |
1b4228bfdd31fa688ab7a01c78c9bc9f2d20ef0b | 9feb6f0bea11ea627c0e4f3a86b1def363d3acc5 | /Fogo/src/Fogo/Utility/Keyboard.h | 8c0e23bdd618d1de45958e4e720e2a3942e2ef80 | [] | no_license | ekuinox/Fogo | 5176beace73f919c32ba0526de7591da35fcf303 | e9c5be4297280a05f62d0766bdcff1900b81939c | refs/heads/master | 2020-04-08T15:24:45.766117 | 2019-03-12T02:33:11 | 2019-03-12T02:33:11 | 159,477,629 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 676 | h | #pragma once
#include <dinput.h>
namespace Fogo {
class Keyboard {
private:
static constexpr unsigned int NUM_KEY_MAX = 256;
static constexpr unsigned int LIMIT_COUNT_REPEAT = 20;
LPDIRECTINPUTDEVICE8 __device;
BYTE __buffer[NUM_KEY_MAX];
struct {
BYTE trigger;
BYTE repeat;
BYTE release;
unsig... | [
"depkey@me.com"
] | depkey@me.com |
5302b48c0e05b72adf38746782d1b21da8a568ba | 72d9009d19e92b721d5cc0e8f8045e1145921130 | /image.libfacedetection/inst/testfiles/detect_faces/detect_faces_DeepState_TestHarness.cpp | 52ce28aee3a132e0effacc5c05507c63151507e6 | [] | no_license | akhikolla/TestedPackages-NoIssues | be46c49c0836b3f0cf60e247087089868adf7a62 | eb8d498cc132def615c090941bc172e17fdce267 | refs/heads/master | 2023-03-01T09:10:17.227119 | 2021-01-25T19:44:44 | 2021-01-25T19:44:44 | 332,027,727 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,808 | cpp | // AUTOMATICALLY GENERATED BY RCPPDEEPSTATE PLEASE DO NOT EDIT BY HAND, INSTEAD EDIT
// detect_faces_DeepState_TestHarness_generation.cpp and detect_faces_DeepState_TestHarness_checks.cpp
#include <fstream>
#include <RInside.h>
#include <iostream>
#include <RcppDeepState.h>
#include <qs.h>
#include <DeepState.hpp>
Rc... | [
"akhilakollasrinu424jf@gmail.com"
] | akhilakollasrinu424jf@gmail.com |
d8bf77d6accea037bbddb29d90507548905737ab | 46323ea33d41bd31aa8eb65afbec8ebbab89b818 | /Proximity/Proximity.ino | 29a0806f28f15e6497acd04199df8f6ad8eb82e6 | [
"MIT"
] | permissive | smcolash/proximity | 712b4a7b6dee579eec18ef4003c82b5e47e69070 | e7ebc2e0a7cbc684fd7c90886425c95ed17344a1 | refs/heads/main | 2023-07-06T05:40:58.777237 | 2021-08-10T01:49:25 | 2021-08-10T01:49:25 | 394,466,698 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,489 | ino | //
// include the standard Arduino WIFI definitions
//
#include <WiFi.h>
//
// also include the low-level ESP32 WIFI definitions
//
#include "esp_wifi.h"
/**
Set the status update interval to be one second, in milliseconds.
*/
const int INTERVAL_MS = 1 * 1000;
/**
Device configuration structure definition.
*/... | [
"s.mcolash@ieee.org"
] | s.mcolash@ieee.org |
e2e7dbddb2824889bda2addf4e58a5fe798dce6f | 7a32e5beb3e0af8ee35028f897af2d7bd0aa69c9 | /考試-期初考練習/LinearSearch 陣列/A2.cpp | 9b279857a3bf491bd64aac04842368bbf1c9532a | [] | no_license | redblaze1/Programming-C | 86fdfb0f328ab27f92adbda25b089443e7f238c7 | dbb60ed00e5b5dc25947ab3e283510233dc63841 | refs/heads/master | 2021-04-27T12:21:09.915109 | 2018-05-25T09:06:52 | 2018-05-25T09:06:52 | 122,579,448 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 193 | cpp | #include<iostream>
using namespace std;
int main (){
int a[7]={3, 5, 7, 2, 4, 8, 6};
int count=0,b;
cin >> b;
for(int i=0;i<=6;i++){
if(a[i]==b)
break;
count++;
}
cout << count;
}
| [
"cccvvv2108@gmail.com"
] | cccvvv2108@gmail.com |
b3feb6d8a3a3a990fd2450bd45b76ebbe5aeb278 | beaaa927185dcd17184e3e6ea346d003916a1068 | /platforms/m3/pre_v21e/software/mbc_code/decoder/decoder.cpp | 20a9c10a173d74bdb3491217389ccc4d8604b970 | [
"MIT",
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | lab11/M-ulator | aeb65cb46c4e2ceaf9e014edbca4d41b3e97dc20 | a7debc76a22aed467f3135c9be6913c74d5794f1 | refs/heads/master | 2023-08-31T14:48:24.603783 | 2023-08-25T19:05:00 | 2023-08-25T19:05:00 | 5,779,032 | 23 | 11 | NOASSERTION | 2021-01-22T16:34:47 | 2012-09-12T11:51:41 | C | UTF-8 | C++ | false | false | 18,994 | cpp | /*******************************
*
* Monarch decoder v1.0.7
* Author: Roger Hsiao
*
* Works with mbc_code.c v5.2.3 and above
* Usage: ./decoder.exe [packets] [date.log | 0] [time.log | 0] [light out file] [temp out file] [delimeter]
*
* v1.0.0:
* Added automatic time translation
*
* v1.0.1:
* ... | [
"rogerhh@umich.edu"
] | rogerhh@umich.edu |
b07de473d4fb3a4c8acf07cb5aedbf6fc77e9b00 | e0b91d640cf481aa9344fefe248b48f06eeb6ba3 | /tests/unit/addmult.cpp | c31a97180a3bce4064dac72251db56644313f7a3 | [] | no_license | hofstee/coreir | fbe983d46dc884c34c0db38ad2c46bcabc5fdedc | 781587d6807f4198a9d84fb80a7b0dfbf3c36228 | refs/heads/master | 2021-09-06T21:47:59.981437 | 2017-04-20T22:35:00 | 2017-04-20T22:35:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,872 | cpp |
#include "context.hpp"
#include "stdlib.hpp"
#include "passes.hpp"
using namespace CoreIR;
// Create the following circuit
//
// in1
// \
// in0 - Add - Mult - out
// /
// C
int main() {
Context* c = newContext();
Namespace* stdlib = getStdlib(c);
//Declare a brand new generator ... | [
"rdaly525@stanford.edu"
] | rdaly525@stanford.edu |
0acb0e1537e44b424e4e2870ec70325838d13ad1 | 27d530104fdaffdd29d86591326711b77516727e | /PBRT/src/cameras/fibonacci_sphere.cpp | 334e9d7d5316585f31a15541e87a6825fc04185f | [
"BSD-2-Clause",
"BSD-3-Clause"
] | permissive | blockspacer/GIRadianceRegressionFunction | 5dbc2c652d1d4c110000375d08891cfc2eda935f | 4ea0cfa600c9ed85bf04ed308aa70d4dceff82f5 | refs/heads/master | 2021-03-23T19:31:01.678141 | 2018-11-27T18:11:31 | 2018-11-27T18:11:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,855 | cpp | #include "fibonacci_sphere.h"
#include "paramset.h"
namespace pbrt {
FibonacciCamera::FibonacciCamera(const AnimatedTransform &CameraToWorld, Float shutterOpen,
Float shutterClose, Film *film, const Medium *medium) :
Camera(CameraToWorld, shutterOpen, shutterClose, film, medium)
{
}
Float Fibonac... | [
"kalach11491@gmail.com"
] | kalach11491@gmail.com |
39a35a0d2f7ae3537e12a92be239ab3d2c2b16fd | 60db84d8cb6a58bdb3fb8df8db954d9d66024137 | /android-cpp-sdk/platforms/android-4/java/text/RuleBasedCollator.hpp | daf42c3a2544196333adf0e280a0c6982a858870 | [
"BSL-1.0"
] | permissive | tpurtell/android-cpp-sdk | ba853335b3a5bd7e2b5c56dcb5a5be848da6550c | 8313bb88332c5476645d5850fe5fdee8998c2415 | refs/heads/master | 2021-01-10T20:46:37.322718 | 2012-07-17T22:06:16 | 2012-07-17T22:06:16 | 37,555,992 | 5 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 8,109 | hpp | /*================================================================================
code generated by: java2cpp
author: Zoran Angelov, mailto://baldzar@gmail.com
class: java.text.RuleBasedCollator
================================================================================*/
#ifndef J2CPP_INCLUDE_IMPL... | [
"baldzar@gmail.com"
] | baldzar@gmail.com |
c5412c57e07d2d4adb729e16ba0e2676891e4c26 | 4c321372541e986449b150fb9ef268e2c619cfab | /gitTestQt/main.cpp | 786218248d0fe335042e5d1b0ba08f3ba8235047 | [] | no_license | cj123sn/testPro | df704fe32e9fef7a12d5534bff8274a1b6ac9a83 | 8d0d2125d3a501b278077db0d12de61338c44e92 | refs/heads/master | 2020-03-28T20:15:14.711228 | 2018-09-17T07:36:01 | 2018-09-17T07:36:01 | 149,053,387 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 152 | cpp | #include "GitWgt.h"
#include <QApplication>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
GitWgt w;
w.show();
return a.exec();
}
| [
"331324937@qq.com"
] | 331324937@qq.com |
4b6590c093f1a024981a2b0d150d6b489ad55bfe | 6310271905b4bf8c4edab06671ee3ceeb635174e | /controller_camera/cameracontrol.h | 799bb347bacf8c935e825445feee931849ee8a9c | [] | no_license | Pacifist117/Project-Deathblade | 096a9cac6a844e13f2343d50cb2abd0028e80b9e | c20525173511891ad8d544beaf7989e8ec53554d | refs/heads/master | 2021-01-21T03:02:53.877839 | 2015-05-01T04:23:19 | 2015-05-01T04:23:19 | 29,574,183 | 0 | 1 | null | 2020-10-01T15:25:12 | 2015-01-21T05:58:50 | C++ | UTF-8 | C++ | false | false | 6,700 | h | #ifndef CAMERACONTROL_H
#define CAMERACONTROL_H
#include "controller_base/gameenums.h"
#include "controller_base/tempsettings.h"
#include "controller_base/controlbaseclass.h"
#include <iostream>
#include <cmath>
#include <vector>
#include "SDL.h"
/*!
* \brief The CameraControl class moves the camera according to m... | [
"jamesianburns@gmail.com"
] | jamesianburns@gmail.com |
351d47c8d805d6e8ab217011b1eb348158d993c6 | 5d2c1d49ebcd7f10cb6bd1550f8549da370091e6 | /modules/pixkit-image/src/multitoning/DMS2012/ChanduStanichWuTrager2014.cpp | a261e1872ed0c1f2bee36776d77aa0815dad2632 | [] | no_license | ggookey123/pixkit | 1b2aab2c37e5af34e92e941a6ed281b41baa9523 | 0a1c53c554ada46859fe761f2b91f875ca6c188d | refs/heads/master | 2020-12-25T23:08:19.703218 | 2015-10-16T08:20:06 | 2015-10-16T08:20:06 | 44,241,408 | 1 | 0 | null | 2015-10-14T10:45:18 | 2015-10-14T10:45:18 | null | ISO-8859-1 | C++ | false | false | 17,756 | cpp | #include "../../../include/pixkit-image.hpp"
using namespace cv;
using namespace std;
Mat get_presentable_color(const int nColors){
// get presentable colors
// input: number of colors
// output: 32FC1 Mat of absorption, from small to large value, afa_1 to afa_S
Mat vec1f(Size(nColors,1),CV_32FC1);
for(int i=0;i... | [
"yunfuliu@gmail.com"
] | yunfuliu@gmail.com |
deab08acca5b8883a0c74410cb30a43bf74c0838 | 16edc75f0a71f87b253d3414eb48b0dfbe63bf6d | /trunk/src/protocol/srs_raw_avc.hpp | 0c7854adda33f6dd674a751bf5d9e0095fcdc4a8 | [] | no_license | shilonghai/srs-with-hevc-support | 26733a3f147ebb21f97bcfd1da207f97dc94bc66 | 0b51931aa2172bd9ac62e4e2295edfdf51573445 | refs/heads/master | 2020-04-28T23:18:32.863563 | 2019-03-15T13:02:42 | 2019-03-15T13:02:42 | 175,650,022 | 2 | 2 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 6,961 | hpp | /*
The MIT License (MIT)
Copyright (c) 2013-2015 SRS(ossrs)
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merg... | [
"timedog1@sina.com"
] | timedog1@sina.com |
3d066ef55a133448b516946e5e2495fc106dbd87 | 6aeccfb60568a360d2d143e0271f0def40747d73 | /sandbox/fmhess/boost/generic_ptr/cloning.hpp | 3c239483ebdd6c3001f720d3ba4d28e25e023982 | [] | no_license | ttyang/sandbox | 1066b324a13813cb1113beca75cdaf518e952276 | e1d6fde18ced644bb63e231829b2fe0664e51fac | refs/heads/trunk | 2021-01-19T17:17:47.452557 | 2013-06-07T14:19:55 | 2013-06-07T14:19:55 | 13,488,698 | 1 | 3 | null | 2023-03-20T11:52:19 | 2013-10-11T03:08:51 | C++ | UTF-8 | C++ | false | false | 16,999 | hpp | //
// generic_ptr/cloning.hpp
//
// Copyright (c) 2009 Frank Mori Hess
// Copyright (c) 2001, 2002 Peter Dimov
//
// Distributed under the Boost Software License, Version 1.0. (See
// accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
// See http://www.boost.org/libs/generic... | [
"fmh6jj@gmail.com"
] | fmh6jj@gmail.com |
5aed3c75460e4cfc7a116a080fc10c709ff84bd5 | 0868235424f294a4866fb5e3e8148b2f88be51dc | /c++/nio/util/socket.h | e1eda46f1b134cdaaf55a3c2250e74345ae6a798 | [] | no_license | BackupTheBerlios/bmws-svn | 27abdb417b082020d680668a42953f781ade5696 | a4486eaa03af3d91ba878bf0066a662f92840f8c | refs/heads/master | 2016-09-01T19:20:17.429307 | 2007-06-07T07:54:46 | 2007-06-07T07:54:46 | 40,669,489 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 4,877 | h | ////////////////////////////////////////////////////////////////////////
// socketclass.h
//
// (C)2000 by Axel Sammet
//
// Klasse für einfache Socketverbindungen
//
// unter Win mit ws2_32.lib zu linken
//
////////////////////////////////////////////////////////////////////////
#ifndef SOCKETCL_H
#define ... | [
"crypter@5ae0fa9c-bcfc-0310-8243-f99ef3d6a034"
] | crypter@5ae0fa9c-bcfc-0310-8243-f99ef3d6a034 |
2898f9bd0e84c3d913367b7b996adbd6c4ea169a | 61991c99981ee3d9bcef98d2a405c35ee55240fc | /src/qt/bitcoinunits.cpp | fa35ce63af16d216af7bb0957dd87319e4f9ffee | [
"MIT"
] | permissive | gocodevs/GoMasternode | 43204f252048854ff9bf51b1b8d7eed3d5a5fd26 | b58c381af19ddce63aaa5444e627b0abfd002229 | refs/heads/master | 2020-04-30T20:20:03.976322 | 2019-03-23T08:53:54 | 2019-03-23T08:53:54 | 171,640,901 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,126 | 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 The Gocoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-li... | [
"support@gomasternode.co"
] | support@gomasternode.co |
d4cd2dc48a9590167d75fdd0f6237751a7d96dca | 55f04305a34567acbccc9106d03919a7ce9bbd3b | /Primero/Programacion_CITM/Ejercicios/funciones 1/structs 1/Project1/main.cpp | 34aac5ca27cfb3c12fcafea4e1b0d52cf4307983 | [] | no_license | dusthandler/CITM | 9f4d695858e3c1df9d9b75dd4f770e3a52cb40c7 | 507f74f1b2b0a9f85671e7890bc1ab5bb94197c4 | refs/heads/master | 2021-09-28T08:02:18.480152 | 2018-11-15T17:37:01 | 2018-11-15T17:37:01 | 151,699,384 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 563 | cpp | #include<iostream>
#include<string>
using namespace std;
struct Fecha {
int dia;
int mes;
int anyo;
};
struct Nombre {
string nombre;
string apellido1;
string apellido2;
};
struct NIF {
int numero;
char letra;
};
int main() {
Fecha a, b, c;
NIF kev;
a.dia = 1;
a.mes = 5;
a.anyo = 1531;
b.dia ... | [
"32524211+dusthandler@users.noreply.github.com"
] | 32524211+dusthandler@users.noreply.github.com |
814e772c96cd24a86570e7bb51ec0c09967cbd7e | d6258ae3c0fd9f36efdd859a2c93ab489da2aa9b | /fulldocset/add/codesnippet/CPP/e-system.windows.forms.d_69_1.cpp | 07ed5fdb6bb1a0b93d8cd6e41c333316549c555c | [
"CC-BY-4.0",
"MIT"
] | permissive | OpenLocalizationTestOrg/ECMA2YamlTestRepo2 | ca4d3821767bba558336b2ef2d2a40aa100d67f6 | 9a577bbd8ead778fd4723fbdbce691e69b3b14d4 | refs/heads/master | 2020-05-26T22:12:47.034527 | 2017-03-07T07:07:15 | 2017-03-07T07:07:15 | 82,508,764 | 1 | 0 | null | 2017-02-28T02:14:26 | 2017-02-20T02:36:59 | Visual Basic | UTF-8 | C++ | false | false | 839 | cpp | // Attach to event handler.
private:
void AttachReadOnlyChanged()
{
this->myDataGrid->ReadOnlyChanged += gcnew EventHandler( this, &MyDataGridClass_FlatMode_ReadOnly::myDataGrid_ReadOnlyChanged );
}
// Check if the 'ReadOnly' property is changed.
void myDataGrid_ReadOnlyChanged( Object^ /*sende... | [
"tianzh@microsoft.com"
] | tianzh@microsoft.com |
8bc9113802650f8bf8e848acadab4fb615f9081f | ddee0cf5c359ae5a3417b7c400f6a35654b76b5a | /binding-cpp/include/gym-uds.h | 35a39be08feec9731f3b82a6a7a9bb8a53aa5380 | [
"MIT"
] | permissive | tiberiu92/gym-uds-api | 8a3fddcda292272e486991490812877dfde79397 | 65ff4a4368197ce43e954d66ed0daa31a93236af | refs/heads/master | 2020-03-22T09:47:47.860461 | 2018-04-23T13:56:51 | 2018-04-23T13:56:51 | 139,135,993 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 567 | h | #ifndef GYM_H
#define GYM_H
#include <string>
#include <tuple>
#include <vector>
#include <grpcpp/grpcpp.h>
#include "gym-uds.pb.h"
#include "gym-uds.grpc.pb.h"
namespace gym_uds
{
using action_t = int;
using observation_t = std::vector<float>;
using state_t = std::tuple<observation_t, float, bool>;
class Environ... | [
"francesco.cagnin@gmail.com"
] | francesco.cagnin@gmail.com |
3571b068c91147d99e8a3cc199e21df89939ac3b | cdc4b28a1f04aa31b07373a9cad47574c2b986e2 | /t6_25.cpp | e973d1c04e26300c9f15ef31d2f791160fa7cf38 | [] | no_license | pw-ethan/CPP-Primer | fe2fbe900c1cf01f5dfd93550a0d581d062dfe7c | fde28b2de88372a94eead514b99131014fbccac2 | refs/heads/master | 2021-01-25T06:06:41.332946 | 2017-06-06T13:51:31 | 2017-06-06T13:51:31 | 93,523,811 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 212 | cpp | #include <iostream>
#include <string>
using namespace std;
int main(int argc, char *argv[])
{
string s;
for(int i = 1; i < argc; ++i){
s += argv[i];
}
cout << s << endl;
return 0;
}
| [
"pw-ethan@localhost.localdomain"
] | pw-ethan@localhost.localdomain |
adc4d06ab82325200692f63967fd8055bd3b9fe6 | 1f7618ab0a6b5712d6d991fd4d1cf1ba93008acc | /TetrisLib/Square.h | 0a39394a71f06ab343d067d11f211b78cb0349a6 | [] | no_license | joyoon/tetrisclone | 24f4211f5b110051940219e710b90fad4390f602 | b03814ca8e97b8833ffc3c9c5fa2fca336ba4489 | refs/heads/master | 2020-05-31T17:23:45.192447 | 2014-05-06T21:26:04 | 2014-05-06T21:26:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 373 | h | #include "Shape.h"
using namespace std;
#pragma once
namespace TetrisLib {
class Square : public Shape
{
protected:
void init();
public:
Square(void);
Square(Square const&);
Square* create() const;
Square* clone() const;
Square(void (*onSetCallback)(SDL_Rect* blocks));
~Square(void);
void rotate... | [
"johnyoon20@gmail.com"
] | johnyoon20@gmail.com |
00d5612d294ea2cc181a0d3a43768ec2080397ea | 230b7714d61bbbc9a75dd9adc487706dffbf301e | /chrome/browser/download/offline_item_utils.cc | 6200d1ff91d690da45ea9c7615afb8e1dccbed03 | [
"BSD-3-Clause"
] | permissive | byte4byte/cloudretro | efe4f8275f267e553ba82068c91ed801d02637a7 | 4d6e047d4726c1d3d1d119dfb55c8b0f29f6b39a | refs/heads/master | 2023-02-22T02:59:29.357795 | 2021-01-25T02:32:24 | 2021-01-25T02:32:24 | 197,294,750 | 1 | 2 | BSD-3-Clause | 2019-09-11T19:35:45 | 2019-07-17T01:48:48 | null | UTF-8 | C++ | false | false | 12,812 | cc | // Copyright (c) 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/download/offline_item_utils.h"
#include "build/build_config.h"
#include "chrome/grit/generated_resources.h"
#include "compon... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
a2233f4df89e31573ef5fffcfcec1ed00092090a | 62de81dbbbe5fb50963e600f366ae6ea5915e40d | /graphicsview/graphicsview.h | 8f0b146db94c219e9148ae874d06b66b20aba93b | [] | no_license | openmy/GERBER_X2 | 37ec6e506591795d44891f69590a4fd0ee844655 | 17daee06b287dcc4fca47d11a9bd0d31700b2453 | refs/heads/master | 2020-05-30T20:47:02.450061 | 2019-06-02T23:52:39 | 2019-06-02T23:52:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,439 | h | #ifndef VIEW_H
#define VIEW_H
#include <QGraphicsItem>
#include <QGraphicsView>
#include <QSettings>
//#define ANIM
class QDRuler;
class GraphicsView : public QGraphicsView {
Q_OBJECT
public:
explicit GraphicsView(QWidget* parent = 0);
~GraphicsView();
void setScene(QGraphicsScene* Scene);
void ... | [
"xray3d@ya.ru"
] | xray3d@ya.ru |
fa4079b8b60380ea9cf60c2c5e61fbe128461406 | fc0664a076eeb69a3a8a89e7af25329c3998dd07 | /Engine/PipelineCompiler/Pipelines/ComputePipeline.h | e316452331d804ce287862bcf0eaa3f61cd58daf | [
"BSD-2-Clause"
] | permissive | azhirnov/ModularGraphicsFramework | fabece2887da16c8438748c9dd5f3091a180058d | 348be601f1991f102defa0c99250529f5e44c4d3 | refs/heads/master | 2021-07-14T06:31:31.127788 | 2018-11-19T14:28:16 | 2018-11-19T14:28:16 | 88,896,906 | 14 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 714 | h | // Copyright (c) Zhirnov Andrey. For more information see 'LICENSE.txt'
#pragma once
#include "Engine/PipelineCompiler/Pipelines/BasePipeline.h"
namespace PipelineCompiler
{
//
// Compute Pipeline
//
class ComputePipeline : public BasePipeline
{
// variables
protected:
ShaderModule shader { EShader::Com... | [
"zh1dron@gmail.com"
] | zh1dron@gmail.com |
37b9c1f924d6a04b9bf5ef33b4bc05f94457aff5 | 08577251e95727c9a38dc53b9daa4525c81eb391 | /BufferUploads/DataPacket.h | 6506cf75791905e13e6d881d7e55948c3cb317b2 | [
"MIT"
] | permissive | hck509/XLE | 0ee2354fb81defe738c4b43d9908e1c83f0181a7 | e65efd74c86fda3e38155ad386eca9aac061f7ba | refs/heads/master | 2021-01-17T10:42:36.437417 | 2015-03-02T08:28:38 | 2015-03-02T08:28:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,572 | h | // Copyright 2015 XLGAMES Inc.
//
// Distributed under the MIT License (See
// accompanying file "LICENSE" or the website
// http://www.opensource.org/licenses/mit-license.php)
#pragma once
#include "IBufferUploads.h"
#include "../Utility/MemoryUtils.h"
namespace BufferUploads
{
class BasicRawDataPacket : public... | [
"djewsbury@xlgames.com"
] | djewsbury@xlgames.com |
f4131a9abfc9d95799433a1b4ef446a1000749bb | 8682a1e82d1e1472daf1135fa177aef68c1bca6e | /neatmain.cpp | a11928c2ad3a85f7b5809d5e47bcf1090aed3664 | [
"Apache-2.0"
] | permissive | sanchitanand/SnakeNeuralNetworks | 46a534f8a56ec1b26b9a59aa15f67485eff63731 | 67d0c3bf960a977bdbc9eed2c2f5e1eec07c6cce | refs/heads/master | 2021-01-13T11:51:14.112666 | 2016-12-28T03:43:14 | 2016-12-28T03:43:14 | 77,500,963 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,792 | cpp | /*
Copyright 2001 The University of Texas at Austin
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... | [
"sanxchit@gmail.com"
] | sanxchit@gmail.com |
727abd9a70b9da148cf68f7d2176b7756f26912a | f742ca21bd501555db53624419cb77b37125588e | /src/rpcwallet.cpp | d1bb34ba0cf69461b74c126693c15c6160113b98 | [
"MIT"
] | permissive | BlockchainCloud/Bitalpha | dc983d64508a174c385e7576bdcdfcfc5d708e96 | 8be8562d6902358afd0c191b41785f02d0fdfe46 | refs/heads/master | 2021-05-29T03:56:49.419683 | 2015-05-12T02:26:02 | 2015-05-12T02:26:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 54,601 | cpp | // Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "base58.h"
#include "rpcserver.h"
#include "init.h"
#include "net.h"
#include ... | [
"doxtyphon@hotmail.com"
] | doxtyphon@hotmail.com |
450a65248ed95e3f7f80780b9f36c8a5ab5e907a | 009cca46aed9599d633441b044987ae78b60685a | /include/QweakSimBeamLineMessenger.hh | 755a2ee4a5ef16d430c2c763cdd7f95ca282730c | [] | no_license | cipriangal/QweakG4DD | 0de40f6c2693021db44916e03d8d55703aa37387 | 5c8f55be4ba0ec3a3898a40c4e1ff8eb42c550ad | refs/heads/master | 2021-01-23T10:29:53.163237 | 2018-06-25T19:03:24 | 2018-06-25T19:03:24 | 29,534,503 | 0 | 4 | null | 2017-03-27T21:06:14 | 2015-01-20T14:45:37 | C++ | UTF-8 | C++ | false | false | 1,674 | hh | //=============================================================================
//
// ---------------------------
// | Doxygen File Information |
// ---------------------------
/**
\file QweakSimBeamLineMessenger.hh
$Revision: 1.2 $
$Date: 2011/10/19 12:44 $
\author Peiqing Wang
*/
//=========... | [
"ciprian@dochia.local"
] | ciprian@dochia.local |
c301f3baf8877e6b96c708d87ca0ad0e212be1fd | ed4ab37b6d8bb37ac2c513f530f8a1151b5e950b | /wpstat3d-105/BWP.cpp | 7d32b2f9751863e9f2f8eed9f02ba45537f89ae1 | [] | no_license | Bots-United/joebotxp | f8b66040325098fe921cdb1354e8265f2c97f1a1 | 8834237de0fa24447d95d0b300a23e6818cafe61 | refs/heads/master | 2020-04-25T14:44:13.797982 | 2019-02-27T05:50:41 | 2019-02-27T05:50:41 | 172,851,898 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,028 | cpp | // BWP.cpp: implementation of the CBWP class.
//
//////////////////////////////////////////////////////////////////////
#include <math.h>
#include "BWP.h"
#include <iostream>
using namespace std;
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
////////////... | [
"weimingzhi@baidu.com"
] | weimingzhi@baidu.com |
1841340339114deb23af7711e77569fc04d8ce1b | 21ca9a722eaa16d8eacb79e0ab39dffc3d4174e9 | /plcl/iplugindocument_impl.cpp | 12eabdb4a839a4d8fa634a655a57146b1a831413 | [] | no_license | zhangmingmovidius/ekc | be9c68624ccdf95d743e61492e3f274d17b7cf5e | 887bbaccee7ee3de58734894441a619f8654a962 | refs/heads/master | 2021-05-27T11:22:35.773702 | 2014-12-08T11:15:35 | 2014-12-08T11:15:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,620 | cpp | // Copyright (C) 2012 Yuri Agafonov
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// 1. Redistributions of source code must retain the above copyright notice, this
// list of con... | [
"hatc.ogtuae@gmail.com"
] | hatc.ogtuae@gmail.com |
9fb86054165ebe6a450e3a2917a240e3dc0db58b | e83b6e642da3f5dc481f6ed1d165484125ac4640 | /lib/IR/EntryPoint.cpp | 3f40fcd11f693a4201ebde42a114f8ad044eff4d | [
"NCSA",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | maziyang08/LLAIR | 3a863d37562d36a53a3c72dd62b0675e4f6d1691 | e92ca3a0e32ad9c1652fecb18692b61480f002a6 | refs/heads/master | 2020-03-18T03:28:29.370183 | 2018-04-25T21:14:55 | 2018-04-25T21:14:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 986 | cpp | #include <llair/IR/EntryPoint.h>
#include <llair/IR/Module.h>
namespace llvm {
template<>
void SymbolTableListTraits<llair::EntryPoint>::addNodeToList(llair::EntryPoint *entry_point)
{
auto owner = getListOwner();
entry_point->setModule(owner);
}
template<>
void SymbolTableListTraits<llair::EntryPoint>::removeNo... | [
"alex.betts@gmail.com"
] | alex.betts@gmail.com |
5aec4de8ed1a2205deae337995c17ef068063d66 | 359dc84bea9721c0802361bf482663799f043679 | /CheckBalancedParanthesis.cpp | 12226f856ad17fb3be7bdcbc2999917827ecd78b | [] | no_license | KanakJain/DSA | 108772c988272e3fa4392cb5bb223d9e7c05951d | 6c8308cd4dc98be3697593d71ec1cba2a478e38f | refs/heads/master | 2020-04-02T13:21:27.445487 | 2018-10-24T09:56:41 | 2018-10-24T09:56:41 | 154,477,883 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 573 | cpp | #include <iostream>
#include <stack>
#include <cstring>
using namespace std;
bool CheckBalancedParanthesis(char c[], int n){
stack<char> S;
for (int i=0; i<n; i++){
if(c[i] == '(' || c[i] == '[' || c[i] == '{'){
S.push(c[i]);
}
else if(c[i] == ')' || c[i] == ']' || c[i] == '}'){
if(S.empty())... | [
"noreply@github.com"
] | noreply@github.com |
7879f871acacc99cfc0f01047cecafeae3d0a885 | 54e8cbc8fd50b6330cc859695a3909226aeb3718 | /src/Point.cpp | 8f31b7ce7b8b038109d63f35d9739b690fc278c4 | [] | no_license | astraub2/Fight-Or-Flight-Game | 6cb65cd512ca15b5895df7f54a0e5b36abdea2da | 24edb09d9afe5d78bece933354629328d949d64e | refs/heads/master | 2021-01-22T20:45:26.915998 | 2017-03-17T21:24:09 | 2017-03-17T21:24:09 | 85,357,830 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 248 | cpp | #include "Point.hpp"
Point::Point(int x, int y) : x(x), y(y) {
}
Point::~Point(){}
int Point::getX() {
return this->x;
}
int Point::getY() {
return this->y;
}
void Point::setX(int newX) {
x = newX;
}
void Point::setY(int newY) {
y = newY;
} | [
"spargete@uoregon.edu"
] | spargete@uoregon.edu |
2e596bf6ee087db61983ec3308c3b75b6efe5143 | 1ac667dcb0e08a94f150bf1cbbb724f743820a89 | /sc2d/src/core/os/stacktrace.cpp | 81a2b1fee311373cdc73e73cc9515d791f6a71b2 | [
"MIT"
] | permissive | NovaSurfer/scarecrow2d | 2dde91c2e7167c935521c809a5bab1228464424e | 3f877c082a8e0206edb3d899e18616c7d16b0e6f | refs/heads/master | 2023-01-10T15:47:43.498299 | 2022-10-09T20:34:04 | 2022-10-09T20:34:04 | 131,281,610 | 2 | 0 | MIT | 2020-03-14T22:05:57 | 2018-04-27T10:22:05 | C++ | UTF-8 | C++ | false | false | 3,257 | cpp | /*
* Copyright (c) 2009-2017, Farooq Mela
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of co... | [
"tribar.ge@gmail.com"
] | tribar.ge@gmail.com |
1b141b643956bee3ad7cd22412abde2504e96ceb | 775a3fc6e96d50b2f2782d92be72bdc6170f22b7 | /Arcade/Intro/46-elections-winners.cpp | 8bf6891d609e3ccaecfc40e1ba09670cb6a7262c | [] | no_license | son2005/CoFi | 3f9e4ef1778c6e246199cae7a69bbb0b08e2567f | d76ba175f240d0018f879a636c0c91fc413e0d6f | refs/heads/master | 2021-06-02T14:01:06.322261 | 2021-02-06T16:03:31 | 2021-02-06T16:03:31 | 94,472,532 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 413 | cpp | // https://codefights.com/arcade/intro/level-10/8RiRRM3yvbuAd3MNg
int electionsWinners(std::vector<int> votes, int k) {
int maxVote = *std::max_element(votes.begin(), votes.end());
int counter = 0, counterSame = 0;
for(auto &&i:votes) {
if(k==0 && i == maxVote) counterSame++;
else if(i+k > m... | [
"tranbaoson2005@gmail.com"
] | tranbaoson2005@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.