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 905
values | visit_date timestamp[us]date 2015-08-09 11:21:18 2023-09-06 10:45:07 | revision_date timestamp[us]date 1997-09-14 05:04:47 2023-09-17 19:19:19 | committer_date timestamp[us]date 1997-09-14 05:04:47 2023-09-06 06:22:19 | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 22
values | gha_event_created_at timestamp[us]date 2012-06-07 00:51:45 2023-09-14 21:58:39 ⌀ | gha_created_at timestamp[us]date 2008-03-27 23:40:48 2023-08-21 23:17:38 ⌀ | gha_language stringclasses 141
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 115
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c785b64b16be440f107c762357ce17bc722ecc39 | 5bedc85ef4ad015cb1075f048a85768a3ead0717 | /src/modules/ESModuleOscillatorBase.h | 5fa9040ff1dd1c1028aeafe8555b525442727700 | [
"MIT"
] | permissive | siqueiraets/essynth | a875ff071303fb69200cf4e65516de11a4a6435a | acd2a32752530728787cdc92962bc88b7df4ba48 | refs/heads/master | 2021-09-09T10:06:20.931082 | 2018-03-15T02:06:40 | 2018-03-15T02:06:40 | 118,532,038 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,562 | h | #ifndef ESMODULEOSCILLATORBASE_H_
#define ESMODULEOSCILLATORBASE_H_
#include "ESEngine.h"
#define ES_OSC_RESOLUTION 1024
// TODO sample rate needs to be read at runtime
#define SAMPLE_RATE 44100
namespace ESSynth {
enum class ESModuleOscillatorBaseInputs { Frequency, Clock };
enum class ESModuleOscillatorBaseOutp... | [
"siqueiraets@gmail.com"
] | siqueiraets@gmail.com |
b1b7969b2e76d46428c40d1c8b690ec9c8f22448 | c74e77aed37c97ad459a876720e4e2848bb75d60 | /800-899/854/(30197365)[WRONG_ANSWER]D[ b'Jury Meeting' ].cpp | aed6d71d77c2fbf97929480890ff7c5224ac9f9a | [] | no_license | yashar-sb-sb/my-codeforces-submissions | aebecf4e906a955f066db43cb97b478d218a720e | a044fccb2e2b2411a4fbd40c3788df2487c5e747 | refs/heads/master | 2021-01-21T21:06:06.327357 | 2017-11-14T21:20:28 | 2017-11-14T21:28:39 | 98,517,002 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,189 | cpp | #include<bits/stdc++.h>
using namespace std;
typedef long long LL;
typedef unsigned long long uLL;
typedef long double ldb;
typedef pair<int,int> pii;
vector<int> C[1000001];
LL OC[1000001];
vector<int> F[1000001];
map<int,int> ma;
int n, m, k;
LL sum = 0;
void fun(int i)
{
for(int j = 0; j < int(F[i].size()); ... | [
"yashar_sb_sb@yahoo.com"
] | yashar_sb_sb@yahoo.com |
317a32a13b362247e026cb11bc72104b18b3f5c2 | 69a8a80e7016e3ff2b26f0355941dba0d441a638 | /src/Block.cpp | 894595ad022474c6a7283d60f975def1598c9f0d | [] | no_license | questcoinn/Qkcolb | 7231f5787e0a7ddaaf3ba5350b7c7e86b2e58515 | 03961303f85605c0b0ed0fced1752319ff34719f | refs/heads/master | 2023-05-02T03:18:11.859874 | 2021-05-10T10:56:31 | 2021-05-10T10:56:31 | 365,523,492 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,802 | cpp | #include <ctime>
#include "Block.hpp"
#include "sha256.hpp"
#ifdef DEBUG
#include <iostream>
#endif
qb::Block::Block(std::string data, std::string prevBlockHash, int64 targetBit)
:data(data)
,prevBlockHash(prevBlockHash)
{
this->timestamp = std::chrono::system_clock::now();
this->setHash(targetBit);
... | [
"iopell2007@gmail.com"
] | iopell2007@gmail.com |
aa23b09b3c4e8803a5c6279d42d878e0949508d9 | 7e16344d6eea32fbee8c8fc018025530417ea9fb | /src/GameObjects.cpp | 24aea87a2a6afa249798745adad2c2cebe401b52 | [] | no_license | Bezifabr/BoardGameProject-Editor | 8df1c57687e1dcd55b1c2955ab408a8bbae6e080 | 9d0e5037c3d0c2e14af70e5624c6c8522f5e7d2b | refs/heads/master | 2020-03-22T10:59:42.246626 | 2018-07-07T09:36:23 | 2018-07-07T09:36:23 | 139,939,962 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,206 | cpp | /// ////////////////////////////////////////////////////////////////////////////
//
// Project: 'The Board Game Project'
// GameObjects.cpp
// Purpose: Contains the definitions of Item, Skill and Effect classes containers.
//
// Copyright (C) Maciej Saranda 2016 (Bezifabr@gmail.com)
// Code written only for use by Migh... | [
"bezifabr@gmail.com"
] | bezifabr@gmail.com |
20f66cc234465bfa5861f0c1bcdc94db680bfa50 | 734686d6c88a779eda24392ede30311872790490 | /Main/UVLeds.ino | 9275f3d486c1b24730b320352b97ef8b9166913e | [] | no_license | jeroenremans/bomb_escape | 47e4340e82b5b2583ededbd7440827a995e8a02e | 0afa422f9d0eaac28bb46661322137e3a00fd975 | refs/heads/master | 2021-04-06T00:16:11.333517 | 2018-03-11T17:24:30 | 2018-03-11T17:24:30 | 124,778,637 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 714 | ino | // 14-17
const int LED_1_PIN = 22;
const int LED_2_PIN = 23;
const int LED_3_PIN = 24;
const int LED_4_PIN = 25;
void uvLedsSetup() {
// Servo
pinMode(LED_1_PIN, OUTPUT);
pinMode(LED_2_PIN, OUTPUT);
pinMode(LED_3_PIN, OUTPUT);
pinMode(LED_4_PIN, OUTPUT);
}
void uvLedsLoop() {
digitalWrite(22, LOW);
... | [
"joenremans@gmail.com"
] | joenremans@gmail.com |
fb2982d24264bf30d3025e8802a736477a2ab730 | 08a46d882b8e69efd5090555915f39583cb0067a | /src/rpc/client.cpp | f4e6c87f5f99ae2f71e64ceeeb4717c95d7f8bd4 | [
"MIT"
] | permissive | Bitcoin-OLD/Bitcoin-OLD | 3a7d36ce9d7ba6c238b5e67443290172318c09d0 | 16627f390aa418a99103843f9d94c48931fad826 | refs/heads/master | 2020-04-16T21:00:10.631744 | 2019-01-15T19:39:39 | 2019-01-15T19:39:39 | 165,907,352 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,689 | cpp | // Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2016 The Bitcoinold Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "rpc/client.h"
#include "rpc/protocol.h"
#include "util.h"
#include <set>... | [
"bitcoinold@protonmail.com"
] | bitcoinold@protonmail.com |
64f47e1458608b9e4a50813a2f9ea782da0c6433 | 65ece8de4e4f0b440454c316e6e4fc8702221894 | /chapter4/ex4.7.1.cpp | 3ad596752a4240a1d7e14c021ad25a22ae179f9d | [] | no_license | bobchin/self-study-cpp | da765839cb0b2a5cbd1f03c68988b7e6bacb88ef | fd244d915ebe29eca66aeabff3c0e751553e4157 | refs/heads/master | 2021-01-15T08:32:10.456531 | 2016-10-11T05:03:52 | 2016-10-11T05:03:52 | 68,779,098 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 613 | cpp | #include <iostream>
using namespace std;
class myclass
{
int who;
public:
myclass(int n) {
who = n;
cout << "コンストラクタ呼び出し" << who << "\n";
}
~myclass() { cout << "デストラクタ呼び出し" << who << "\n"; }
int id() { return who; }
};
// myclassオブジェクトを値渡しする
void f(myclass o)
{
cout << "受け取り "... | [
"k-ichihashi@hokkai-v.co.jp"
] | k-ichihashi@hokkai-v.co.jp |
a6bedb2125e6a6a65bc4e2c6b505beec43c42de5 | c3a424748ca2a3bc8604d76f1bf70ff3fee40497 | /legacy_POL_source/POL_2008/src/clib/sckutil.h | db2cc990fee3681e6fb6a9443e1f9cf6a7818fbf | [] | no_license | polserver/legacy_scripts | f597338fbbb654bce8de9c2b379a9c9bd4698673 | 98ef8595e72f146dfa6f5b5f92a755883b41fd1a | refs/heads/master | 2022-10-25T06:57:37.226088 | 2020-06-12T22:52:22 | 2020-06-12T22:52:22 | 23,924,142 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 379 | h | #ifndef SCKUTIL_H
#define SCKUTIL_H
#include <string>
class Socket;
bool readline( Socket& sck,
std::string& s,
unsigned long interchar_timeout_secs = 0,
unsigned maxlen = 0 );
void writeline( Socket& sck, const std::string& s );
bool readstring( Socket& sck, string& s... | [
"hopelivesproject@gmail.com"
] | hopelivesproject@gmail.com |
f3d85195f02824ace4971350cec934c1c1d033ce | 388299829e68a249430ac1c21afc3261ad7ca6dc | /src/test/matrix_io_test.cc | 7abea1e6388c9116efcdc6e348ad76f631b00aee | [
"Apache-2.0"
] | permissive | raindreams/parameter_server-1 | 7c85e5b96145be44b6326dca2f5324726cafc814 | c54bb1913b5d2b2187012eb5f063ab01387943f0 | refs/heads/master | 2021-01-12T22:19:37.490735 | 2014-09-22T02:32:39 | 2014-09-22T02:32:39 | 24,549,568 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,770 | cc | #include "gtest/gtest.h"
#include "base/matrix_io_inl.h"
using namespace PS;
class MatrixIOTest : public ::testing::Test {
protected:
virtual void SetUp() {
}
void verifyRCV1(MatrixPtrList<double> data) {
EXPECT_EQ(data.size(), 2);
auto y = data[0]->value().eigenArray();
EXPECT_EQ(y.size(), 20242)... | [
"muli@cs.cmu.edu"
] | muli@cs.cmu.edu |
7479b30794e09926f655b5a65d801b1d3888a066 | 50e0524989ca0c59fa169169897979e1de28506b | /aliengo_gazebo/src/body.h | 481f0125b96ac4af0b13bcc848ea7f007f664ce9 | [] | no_license | SiChiTong/aliengo_delivery | dfadcf8170b51fc46d474775ded88c951e11aa1d | c4f28b91c32dd42f6043e5a582cc32a87aa3870e | refs/heads/master | 2023-01-31T07:33:46.249875 | 2020-12-09T07:15:39 | 2020-12-09T07:15:39 | 320,000,768 | 1 | 1 | null | 2020-12-09T15:35:48 | 2020-12-09T15:35:47 | null | UTF-8 | C++ | false | false | 820 | h | /************************************************************************
Copyright (c) 2018-2019, Unitree Robotics.Co.Ltd. All rights reserved.
Use of this source code is governed by the MPL-2.0 license, see LICENSE.
************************************************************************/
#ifndef __BODY_H__
#define ... | [
"e0444217@u.nus.edu"
] | e0444217@u.nus.edu |
c105f68c2e3379ed124e265ce0505fa8055b16e3 | d2fb019e63eb66f9ddcbdf39d07f7670f8cf79de | /groups/bsl/bslalg/bslalg_bidirectionallink.h | ff9f8579bdb9deced864adcaa629371da52aa650 | [
"MIT"
] | permissive | gosuwachu/bsl | 4fa8163a7e4b39e4253ad285b97f8a4d58020494 | 88cc2b2c480bcfca19e0f72753b4ec0359aba718 | refs/heads/master | 2021-01-17T05:36:55.605787 | 2013-01-15T19:48:00 | 2013-01-15T19:48:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,330 | h | // bslalg_bidirectionallink.h -*-C++-*-
#ifndef INCLUDED_BSLALG_BIDIRECTIONALLINK
#define INCLUDED_BSLALG_BIDIRECTIONALLINK
#ifndef INCLUDED_BSLS_IDENT
#include <bsls_ident.h>
#endif
BSLS_IDENT("$Id: $")
//@PURPOSE: Provide a basic link type for building doubly-linked lists.
//... | [
"abeels@bloomberg.net"
] | abeels@bloomberg.net |
c01abc4221d204f7b00785a4efb7dc23025165c0 | d31b701323aa0d0752fee4a373c8e41f0304f5f8 | /lge_texcache.cpp | 92cbd545ace9f237d3e2e6d74d9b2565dc89fa79 | [
"CC0-1.0"
] | permissive | lieff/lge | 444c2b93ad6b9cb92585e9dce3617bbe98d77c29 | 2738ddcdb83431a5113bdce06fac80d7571a39ee | refs/heads/master | 2020-04-22T02:55:15.575204 | 2015-09-08T16:26:50 | 2015-09-08T16:26:50 | 42,123,892 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,328 | cpp | #include "lge_texcache.h"
CTexturesCache::CTexturesCache()
{
m_tex_ssbo_buf = 0;
m_ssbo_buf_size = 0;
m_commit_needed = false;
m_textures.reserve(16);
m_tex_handles.reserve(16);
}
CTexturesCache::~CTexturesCache()
{
DeleteTexturesBlock(0, (unsigned int)m_textures.size());
}
unsigned int CText... | [
"lieff@users.noreply.github.com"
] | lieff@users.noreply.github.com |
9b86b7fbc7674926693b9f1ae7ccb69aac45400a | 9bbc105183d2241fa7204201e3dac18078bdc14c | /cpp/src/msgpack/rpc/session_pool.cc | e0a9d551285999f0aba53949d874653db501b37a | [
"Apache-2.0"
] | permissive | nowelium/msgpack-rpc | f220a4b0d2849f18abce72b7a55e44ab7afc715e | a9a5762d981524d7559bc67ba2feb0f4e58bf188 | refs/heads/master | 2021-01-17T12:06:04.481011 | 2010-06-08T11:50:25 | 2010-06-08T11:50:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,093 | cc | //
// msgpack::rpc::session_pool - MessagePack-RPC for C++
//
// Copyright (C) 2009-2010 FURUHASHI Sadayuki
//
// 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://ww... | [
"frsyuki@users.sourceforge.jp"
] | frsyuki@users.sourceforge.jp |
04627e49abe72378ce57c80066d3472ee4d9ea35 | 0ecfa021ff82d67132b18ffe6ad7ad05c4e3a71d | /Convolutional Code/S_random interleaver/s-random.cpp | 331305507e035a0937e85f22217c0a800d4a0d6f | [] | no_license | JosephHuang913/Channel-Coding | 954673264db96cc4c882a09fca6e818b4c2e8584 | 6e6efa9f3970a93a343b8ec36f49365df5607e30 | refs/heads/main | 2023-01-21T00:08:12.570899 | 2020-11-24T01:07:35 | 2020-11-24T01:07:35 | 315,481,921 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,622 | cpp | /**********************************************/
/* Author: Chao-wang Huang */
/* Date: Thursday, September 23, 2004 */
/* S-random interleaver generator */
/**********************************************/
#include <stdio.h>
#include <math.h>
//#include <time.h>
#include... | [
"huangcw913@gmail.com"
] | huangcw913@gmail.com |
73497bc7b6d44357f434c69ef5ef567cdb63c810 | d5328e2f5c2817cf8e558119f7084528a9ab75eb | /src/std/rng.cpp | 218aa8f25fab20a860cf974bdd8622c71e422692 | [
"MIT"
] | permissive | arudei-dev/Feral | a0e31517fd809533b5b1b8836c69fb991cf0d1c1 | 44c0254f9f85dbf0f11f8cc1f86dc106f6a16d92 | refs/heads/master | 2023-06-09T11:24:00.851064 | 2021-06-29T13:21:59 | 2021-06-29T13:22:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,755 | cpp | /*
MIT License
Copyright (c) 2021 Feral Language repositories
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, modi... | [
"ElectruxRedsworth@gmail.com"
] | ElectruxRedsworth@gmail.com |
1765c3149420624afd5706ed72ee3f974a935d11 | 5c0bc7d833e37161ad7409d2e56fd1207e3234b2 | /HW_5/exam.cpp | 478ea8787b52a1a642018fd0a0debb5d15790edb | [] | no_license | gabrieletrata/MTH_3300 | 9888c00b2c75cca307817fd7c19cdfe36123fe77 | 24030cac363181b50841bf73ad8ee0547393d6a3 | refs/heads/master | 2020-03-24T05:56:59.347450 | 2018-07-27T00:58:38 | 2018-07-27T00:58:38 | 142,510,175 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,838 | cpp | //******************************************************************************
// exam.cpp
// Computes the probability of passing an exam.
// This exam is 35 multiple choice questions, with 5 choices per question.
// A score of 11, or greater is considered a pass.
//***************************************************... | [
"gabrieletrata@gmail.com"
] | gabrieletrata@gmail.com |
9a269666a41104087c46932f21163b0f89806dbe | 3a6b77c6d8b8997334468667df5a92b2fba6dd26 | /twain-v2/twain_png.cpp | ea0341ae87a2d651eb173e8900308117d8d78f47 | [] | no_license | miyako/4d-plugin-twain | 0071bcc723915268200b1fc8502cb43c72316f76 | 79ed909badc39cbef3897cfc3effccb9315ae71d | refs/heads/master | 2022-04-12T10:31:56.962629 | 2020-04-05T03:01:42 | 2020-04-05T03:01:42 | 104,451,668 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,382 | cpp | #include "twain_png.h"
void PNG::write_data_fn(png_structp png_ptr, png_bytep buf, png_size_t size)
{
C_BLOB *blob = (C_BLOB *)png_get_io_ptr(png_ptr);
blob->addBytes((const uint8_t *)buf, (uint32_t)size);
}
void PNG::output_flush_fn(png_structp png_ptr)
{
}
void png_write_blob(C_BLOB &data, C_BLOB &picture,
... | [
"miyako@wakanda.jp"
] | miyako@wakanda.jp |
3ab0453f080f4bb201b3210c8febf37062e197d8 | c82d5b7031d567ad7b76f1a9fffafb717b5e23de | /面试高频题/HashTable.h | 322222c313342c1ca8fbee8f693a7d48a6b1077a | [] | no_license | newhandLiu/First | 55cd2715df924423f6afacc59a4cfe925284a0e2 | 37d1ba62531737a0809f74c298d1b013048e8aca | refs/heads/master | 2021-01-01T17:00:07.552590 | 2012-04-23T05:58:19 | 2012-04-23T05:58:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,307 | h | //链地址散列表
#ifndef HASHTABLE_H
#define HASHTABLE_H
#include<vector>
#include<list>
#include<string>
#include<algorithm>
using namespace std;
template<class T>
class HashTable
{
public:
explicit HashTable(int size=101);
bool contains(const T& obj)const;
void clear();
bool insert(const T& obj);
bool remove(const T& o... | [
"dearliujun@gmail.com"
] | dearliujun@gmail.com |
f1338377d4bfc15dee127bcec2220087e998249d | cd5cb70f499898578772195a217ce3b9c9c606ba | /common/redisapi/redisbase.hpp | 07f993bda51aac00154ef4a27ee61c8e0291cbee | [] | no_license | qinchun2000/autotrader | 9aa6ebdef31a01597f52c55cedea1c7f22de6279 | 8651754e2562188a5acf9ac400e9709c693afe5e | refs/heads/main | 2023-03-21T19:25:07.257203 | 2021-03-08T09:40:22 | 2021-03-08T09:40:22 | 340,294,521 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 876 | hpp | #ifndef _REDISBASE_H_
#define _REDISBASE_H_
#include <iostream>
#include <string.h>
#include <string>
#include <stdio.h>
#include <hiredis/hiredis.h>
#include <json/json.h>
#include "depthmarket.hpp"
using namespace std;
class RedisBase
{
public:
RedisBase();
~RedisBase();
std::string GetHost();
v... | [
"root@localhost.localdomain"
] | root@localhost.localdomain |
00e97a5d1663024ba9e5858d25fab591af090fb7 | 39a6b3e717a3b49bbca508b4b8c602d99e6b08f5 | /tensorflow/compiler/mlir/xla/hlo_utils.cc | bfa57d97336ee88e7d73cb126036bcca10330718 | [
"Apache-2.0"
] | permissive | lucigrigo/tensorflow | a584b81c9c7de513197a5ef9aabf1eb3411b5cce | 39ee10bb064086ea7fd6d4cb831e02958671cfb7 | refs/heads/master | 2020-12-10T11:58:37.722788 | 2020-01-13T10:20:58 | 2020-01-13T10:20:58 | 233,582,234 | 2 | 0 | Apache-2.0 | 2020-04-16T17:12:35 | 2020-01-13T11:40:52 | null | UTF-8 | C++ | false | false | 3,134 | cc | /* Copyright 2019 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | [
"gardener@tensorflow.org"
] | gardener@tensorflow.org |
747caa5696a175c03637a3efc80546768a7c0fb2 | 93f4aa14d544952c0fdc7ed29404d47fd2fda32a | /Source/Delay.cpp | 37fe8ae75f4c84f412d16d7bd8e7c69ad01d1ca8 | [] | no_license | harpershapiro/BuzzSaw | be2c248d8cfa58f5009ddbfd8889a6106695ef20 | c2f92771464ac48f2f6a2a66358507b99a77fac2 | refs/heads/master | 2022-12-10T07:43:17.715081 | 2020-09-07T22:27:01 | 2020-09-07T22:27:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,369 | cpp | /*
==============================================================================
Delay.cpp
Created: 23 May 2020 5:47:22pm
Author: harpe
==============================================================================
*/
#include "Delay.h"
Delay::Delay() : delayWritePosition(0), delayReadPosition(0)
... | [
"harper.shapiro@gmail.com"
] | harper.shapiro@gmail.com |
91d4679d82f33124715e5012d041495a05108cdb | 33a0162aa373ecf1e99fa587bd5d7a09ad6c81ab | /lib/tvseg/settings/serializerbase.h | 0898368bd7a4d389ae17e0bd0bfd038598f1e125 | [
"MIT",
"BSD-3-Clause",
"BSL-1.0",
"BSD-2-Clause"
] | permissive | nihalsid/tvseg | 8b972febb36964bca57455edcdcebb096e81b07a | a97a63f81cc45d25f450199e044f041f5d81c150 | refs/heads/master | 2020-04-19T14:23:51.751661 | 2019-01-29T23:06:20 | 2019-01-29T23:06:20 | 168,243,627 | 0 | 0 | null | 2019-01-29T23:03:37 | 2019-01-29T23:03:37 | null | UTF-8 | C++ | false | false | 1,118 | h | #ifndef TVSEG_SETTINGS_SERIALIZERBASE_H
#define TVSEG_SETTINGS_SERIALIZERBASE_H
#include "serializer.h"
#include "backend.h"
namespace tvseg {
namespace settings {
class SerializerBase : public Serializer
{
public: // types
typedef Backend::iterator iterator;
typedef Backend::const_iterator const_iterator;
... | [
"nikolaus@nikolaus-demmel.de"
] | nikolaus@nikolaus-demmel.de |
17d5e8f0e19ff0de249bc01951094aa1b308a5e6 | 719e93f4e5799fb75ed99a4e3f69abd6ad9b8895 | /lab_1/main.cpp | fde6ec0013a8213dea1912901cc2140a3ab2ce3e | [] | no_license | rafal166/pamsi_project | acdad488901779ef1f904f8a05d11d7b7b75c7ea | ba4d25b838f602c47b7156dd2d629634459d2d1d | refs/heads/master | 2021-02-13T17:20:24.457833 | 2020-05-07T11:39:00 | 2020-05-07T11:39:00 | 244,716,117 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,308 | cpp | /*
* File: main.cpp
* Author: rafal
*
* Created on 24 marca 2020, 17:37
*/
#include <cstdlib>
#include <iostream>
#include <vector>
#include <cmath>
#include <memory>
#include <time.h>
#include <thread>
#include "utilities.h"
#include "MergeSort.h"
#include "HeapSort.h"
#include "QuickSort.h"
#include "In... | [
"rafal.rzewucki@gmail.com"
] | rafal.rzewucki@gmail.com |
af147a75f5134d9b3c19feedb30deafd7efcf4ea | 77ffb0bb747d96a7995c5a750e5ca9d41a64eff8 | /ethzasl_msf/msf_core/include/msf_core/msf_IMUHandler_ROS.h | 3d9b72d3c88f1ec3cca9e761b6a4bb72df76ae3c | [
"Apache-2.0"
] | permissive | Sprann9257/3D-mapping | 43a634c8e49de7a869c0c414aa201b92c61e90c5 | 8d59fe91bb7fd128a7d716da3b7f6984de6697f3 | refs/heads/master | 2021-04-03T07:07:03.217522 | 2017-05-18T13:18:46 | 2017-05-18T13:18:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,245 | h | /*
* Copyright (C) 2012-2013 Simon Lynen, ASL, ETH Zurich, Switzerland
* You can contact the author at <slynen at ethz dot ch>
*
* 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... | [
"chenmengxiao11@nudt.edu.cn"
] | chenmengxiao11@nudt.edu.cn |
1b1a1d6a27f6de29e618a4706f34a72c6a77039f | adf8386eae06b82a85b1c9a4ff0abb2ec1057464 | /MengeConfig/src/main/ContextManager.cpp | e3ab5d98ccd4e1a8ef69e2ac6debf1492d560fed | [] | no_license | curds01/MengeConfig | 5fa847ce632164c96099d1197295d2dcc30c569e | b1e5086e2b05d8e0c1655475bbdbaa13f3efb4c9 | refs/heads/master | 2021-01-18T05:13:30.165985 | 2017-03-08T04:30:10 | 2017-03-08T04:30:10 | 84,278,174 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,457 | cpp | #include "ContextManager.hpp"
#include "QtContext.h"
///////////////////////////////////////////////////////////////////////////////
// Implementation of ContextManager
///////////////////////////////////////////////////////////////////////////////
ContextManager * ContextManager::_instance = 0x0;
... | [
"Sean"
] | Sean |
6e1c98a0e62f74dbd84661f052ae9a31c508fadf | 76420c48c525228d1947f3a22e89a2904262dc79 | /incl/subber.hpp | da74917b6dca876427dd4e0840936ec9d0e640f6 | [] | no_license | longde123/caxe | 559c16f9011693db5a03b4a8c82fa3487644cf53 | 8bf411e936a2ca9c45d72a9b8b2f30971f5d7b2b | refs/heads/master | 2020-07-10T21:19:54.506801 | 2012-11-25T12:30:48 | 2012-11-25T12:30:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 541 | hpp | #ifndef subber_hpp
#define subber_hpp
#include <parser_obj.hpp>
#include <caxe_util.hpp>
#include <deque>
#include <vector>
#include <string>
class Subber : public Thread {
ref<std::deque<ptr<MFile>>::iterator> ite;
ref<tsDeque<ptr<MFile>>> files;
size_t run();
public:
Subber();
... | [
"luca@deltaluca.me.uk"
] | luca@deltaluca.me.uk |
4bd89306ab76ec3f50e4859e2fe2f92c02240073 | b086e2648679bb952cb2dbc0a8255932981adfe4 | /src/YScoket.h | a0f4af2fb597422cfec7df2c9f89b5a0bda7519a | [] | no_license | yuangu/YNet | 845092164f9443bc540bc688ccb227b59305b2a0 | fdf7d7c832b4f1172381938e4de9473903b7ddf5 | refs/heads/master | 2020-04-11T20:21:38.757975 | 2019-04-02T10:41:53 | 2019-04-02T10:41:53 | 162,068,004 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,323 | h | #pragma once
#include "socket_header.h"
#include "poll/IOPoll.h"
#ifndef Y_BUFF_SIZE
#define Y_BUFF_SIZE 1024
#endif
class YAddress;
class YSocket;
class YTLS;
typedef std::function<void(YSocket*)> SocketEventCallBack;
class YSocket
{
public:
YSocket();
YSocket(SOCKET_FD fd);
virtual ~YSocket();
void bind(YAd... | [
"lifulinghan@aol.com"
] | lifulinghan@aol.com |
2ffc3ac3a984e5f4d4e5ec5b5d7eaf72dcdf577d | f3102a100ad7f5606af620caca37c706ed2d5e55 | /Baekjoon/10952.cpp | c56ccfbb5d3bf55462ed557645c7f42dc933b736 | [] | no_license | ameliacode/Algorithm | c746797b27cf1f783874acc89d024920c0b45897 | d6de240c5c0347cd8f58b59361a8eed5e79733db | refs/heads/master | 2022-02-22T12:36:06.466225 | 2022-02-17T02:55:05 | 2022-02-17T02:55:05 | 210,334,019 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 171 | cpp | #include<iostream>
using namespace std;
int main() {
int a, b;
while(1) {
cin >> a >> b;
if (a == 0 && b == 0) break;
cout << a + b << endl;
}
return 0;
} | [
"emilyjr1@naver.com"
] | emilyjr1@naver.com |
cb63f0c808e5f127d5e0bd339782d6d1f1651ebc | 815486fd4ac8010bebce3d7cce1081d56a54179c | /exp01/task02.cpp | 9a5e690f31c6ef101804f64c86ffe931b0dd9b8c | [] | no_license | Jinyers/homework | ca7d567bc3d4f2125be11eabf7808506960e6085 | 1331a6e145a33501abaa1dc3bda19f9b3dad99d2 | refs/heads/master | 2023-02-05T18:00:30.988969 | 2020-12-21T22:57:11 | 2020-12-21T22:57:11 | 308,596,044 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 644 | cpp | #include <iostream>
using namespace std;
int main()
{
int size = 0;
cout << "Введите размер массива: ";
cin >> size;
int* massive = new int[size];
for (int i=0; i<size; i++)
{
cout << "Введите " << i+1 << "-ный элемент: ";
cin >> massive[i];
}
// Sum
int sum = 0;
for (int i=0; i<size;... | [
"jinyer@Jinyer-Mac.local"
] | jinyer@Jinyer-Mac.local |
a0dd47af1b552d19f3583c8095e67390cde686ca | c824d97cc1208744e4453bac916dcc24dc77a377 | /libcaf_core/src/type_erased_value.cpp | 6392f29a4c3bd63d2d4a6602762335f894baa512 | [
"BSL-1.0"
] | permissive | DePizzottri/actor-framework | 1a033440660c4ea507b743b0d46a46de7fd30df6 | bdbd19541b1e1e6ec0abe16bcf7db90d73c649d2 | refs/heads/master | 2021-01-24T00:23:18.672012 | 2018-04-28T13:04:21 | 2018-04-28T13:04:21 | 59,172,681 | 0 | 0 | null | 2017-03-07T04:22:26 | 2016-05-19T04:04:18 | C++ | UTF-8 | C++ | false | false | 1,799 | cpp | /******************************************************************************
* ____ _ _____ *
* / ___| / \ | ___| C++ *
* | | / _ \ | |_ Actor *
... | [
"dominik.charousset@haw-hamburg.de"
] | dominik.charousset@haw-hamburg.de |
f69a60ba7ee7ce0ed00722e076682df16cecbaf2 | 61fcc3fc81cb5ab59f8e857f0ecab472917f04b1 | /datastructure/cumulativesum/cumulativesum.hpp | 8dce6fe589b1814681ac821f73d7159cc34f176a | [] | no_license | morioprog/cpplib | 4a4e6b9c0eb5dd3d8306041580e4c6c76b65d11e | 71697ee35e8da1c7ae706e323304c170ad1851d6 | refs/heads/master | 2023-01-30T22:31:01.629203 | 2020-12-12T15:14:07 | 2020-12-12T15:14:07 | 257,325,284 | 0 | 0 | null | 2020-10-27T10:20:23 | 2020-04-20T15:33:06 | C++ | UTF-8 | C++ | false | false | 670 | hpp | /**
* @brief 1次元累積和
* @docs docs/datastructure/cumulativesum/cumulativesum.md
*/
template <typename T>
struct CumulativeSum {
int sz;
vector<T> data;
CumulativeSum(const vector<T> &v, const T margin = 0)
: sz(v.size()), data(1, margin) {
for (int i = 0; i < sz; ++i) data.emplace_back(data[i... | [
"morio.prog@gmail.com"
] | morio.prog@gmail.com |
1829e9a55811d0596400923fd7a80e179c26a823 | d2e0ec84698d691195500365ad6dca0b4737b72d | /skse64/skse64/ScaleformCallbacks.cpp | 579a5f07de57b19c9b28abdb2114a28c56af44ed | [
"MIT"
] | permissive | michaeljdietz/NpcVoiceActivation | 26fc9c170710b8f0a05ed9841369f3a036c0605e | df62efc5e6ed9510e4f9423561071d7119a3a44b | refs/heads/master | 2020-03-14T12:30:39.768955 | 2018-04-30T19:52:09 | 2018-04-30T19:52:09 | 131,613,327 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 776 | cpp | #include "ScaleformCallbacks.h"
#include <typeinfo>
UInt32 g_GFxFunctionHandler_count = 0;
GFxFunctionHandler::GFxFunctionHandler()
{
g_GFxFunctionHandler_count++;
}
GFxFunctionHandler::~GFxFunctionHandler()
{
g_GFxFunctionHandler_count--;
}
FunctionHandlerCache g_functionHandlerCache;
RelocAddr... | [
"michael.dietz@shelterlogic.com"
] | michael.dietz@shelterlogic.com |
0d2de1cd68d86ba5beae70eb86b90f6ce81f3175 | 33eaafc0b1b10e1ae97a67981fe740234bc5d592 | /tests/RandomSAT/z3-master/src/math/euclid/euclidean_solver.cpp | af11d43044ded464574903c7fa76fb8d10d7c9b5 | [
"MIT"
] | permissive | akinanop/mvl-solver | 6c21bec03422bb2366f146cb02e6bf916eea6dd0 | bfcc5b243e43bddcc34aba9c34e67d820fc708c8 | refs/heads/master | 2021-01-16T23:30:46.413902 | 2021-01-10T16:53:23 | 2021-01-10T16:53:23 | 48,694,935 | 6 | 2 | null | 2016-08-30T10:47:25 | 2015-12-28T13:55:32 | C++ | UTF-8 | C++ | false | false | 29,230 | cpp | /*++
Copyright (c) 2011 Microsoft Corporation
Module Name:
euclidean_solver.cpp
Abstract:
Euclidean Solver with support for explanations.
Author:
Leonardo de Moura (leonardo) 2011-07-08.
Revision History:
--*/
#include"euclidean_solver.h"
#include"numeral_buffer.h"
#include"heap.h"
struct euclidean... | [
"nikaponens@gmail.com"
] | nikaponens@gmail.com |
0f6ade00767bd619b2ea46bda9b7b705151d31b6 | ffcdb598bebc8a8c9d190b98cc88953c748dc88a | /05.cc | 30e7a6b36bf469fd71d74d5ed7e5a9df19094ce2 | [] | no_license | aztecrex/try-sdl | e2cfa961bc187ccd78473625f47b12f999b2c641 | 1468979d55c44fc21189c34006cdc32bbf9ba6aa | refs/heads/master | 2021-01-20T00:21:36.370424 | 2017-04-29T21:44:33 | 2017-04-29T21:44:33 | 89,119,244 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,455 | cc | /*This source code copyrighted by Lazy Foo' Productions (2004-2015)
and may not be redistributed without written permission.*/
//Using SDL, standard IO, and strings
#include <SDL.h>
#include <stdio.h>
#include <string>
//Screen dimension constants
const int SCREEN_WIDTH = 640;
const int SCREEN_HEIGHT = 480;
//Starts... | [
"aztec.rex@jammm.com"
] | aztec.rex@jammm.com |
8f76b106331437044891d34a5ff1c9d03cc99d29 | 595f3608b6563f5cf162159704d7175326bb576f | /Src/AmrTask/rts_impls/mpi/PackageQueue.H | 9d6eb4f092a129436dc26d026ff9ebf5dcb794d5 | [
"BSD-2-Clause"
] | permissive | ChrisDeGrendele/amrex | b89ca9f5a3b475ee730ed5371f318eae2841e8b5 | 586ea4491d9920d4bb0b925cf3809cb1de1df493 | refs/heads/master | 2020-06-02T18:17:16.998018 | 2019-05-31T20:50:55 | 2019-05-31T20:50:55 | 191,254,393 | 0 | 0 | NOASSERTION | 2019-06-10T22:29:00 | 2019-06-10T22:28:59 | null | UTF-8 | C++ | false | false | 1,409 | h | #ifndef P_PACKAGEQUEUE_H
#define P_PACKAGEQUEUE_H
#include <PerillaConfig.H>
#include <pthread.h>
#include <mpi.h>
class Package
{
private:
int source, destination;
public:
double *databuf;
int bufSize;
pthread_mutex_t packageLock;
volatile bool completed; //message transfer is done
volatile bool served; ... | [
"tannguyen@lbl.gov"
] | tannguyen@lbl.gov |
a90bbf71662b50c08b720b550e0f7b663fea5fba | aea5a52d44cd8907efc483fcbb0c6092ba571735 | /gamewidget.cpp | d0491f8b25723aee62f812b4b74fce0f122f755d | [] | no_license | giarld/gxinMine | b06400e14527a3aad65fd4121f5f31dbeef65a81 | 7b3ba6bcd7c49f9a622d4a891cabd02659277ecf | refs/heads/master | 2020-04-10T22:47:30.019065 | 2014-07-06T15:26:51 | 2014-07-06T15:26:51 | 21,043,468 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,496 | cpp | #include "gamewidget.h"
#include <ctime>
#include <cstring>
GameWidget::GameWidget(QWidget *parent) :
QWidget(parent)
{
this->setFixedSize(QSize(270+100,270+100));
init();
// newGame();
}
void GameWidget::init()
{
this->wCount=this->hCount=9;
this->MineCount=10;
blockSize=30;
update(... | [
"xinxinqqts@gmail.com"
] | xinxinqqts@gmail.com |
f5514a1052e5f51f1fcffeb3c4fb663ffd4a7621 | 8afa1e06465eeef8354087293b14c54d42af9cc2 | /src/qt/bitcoingui.cpp | b4d73f94c9b1c90b3e6dfb5e6a8c26670a58eebd | [
"MIT"
] | permissive | ShinDaniel/spon | 20577f0d8f6f884aff45ef6cc2729ecbd8cbeb31 | 9d768d68812028709611f8ffc5c06daf903493a1 | refs/heads/master | 2020-04-08T08:30:09.562087 | 2018-11-26T14:18:53 | 2018-11-26T14:18:53 | 155,554,669 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 52,273 | cpp | // Copyright (c) 2011-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The SPON developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "bitcoingui.h"
#includ... | [
"sis3719@gmail.com"
] | sis3719@gmail.com |
8c55a2fee42abd7569c14942316464bb6ff980c0 | 5a9e00549b34e729aee373786fd4c8bc26b85670 | /main.cpp | 83e08d26faa9533da9241bdd80f45fe7a56f09fb | [] | no_license | pelikenmag/tetris | 5b11b8513be64e1cc1074845a1661d6ca52b460b | 2bee8cf822df1c4a6e87a975cf8628129793a766 | refs/heads/master | 2021-01-20T04:24:56.948643 | 2014-09-02T17:41:13 | 2014-09-02T17:41:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,700 | cpp | #include "tetris.h"
int main(){
Field gamefield;
Shape myshape;
st_MERGEME mergeme;
SDL_Event event_handle;
gamefield.Init(FIELD_SIZE_N,FIELD_SIZE_M);
int i,j,x=DEFAULT_X,y=DEFAULT_Y,mergeresult,protox=x;
char arrow;
bool quit=false;
myshape.Generate(SHAPE_STICK);
DrawWorld window2D;
window2... | [
"pelikenmag@gmail.com"
] | pelikenmag@gmail.com |
05b37699a4808e786a867a58d6833c6554d5df4b | ffd9e6bb9e3ceb48f07ad48a9ea5f7816a9db7c0 | /src/primitives/block.h | 9fa1861fe64e638a86067166244d0a49b3a478c6 | [
"MIT"
] | permissive | weigun/MagnaChain-dev-master | 0a26a48cbd617b4a6e2bc610d27b779d4022e18b | a7587b10072cca03a6c7a6a44cba1b6f2a202af6 | refs/heads/master | 2020-05-01T16:21:32.855483 | 2019-03-23T06:42:01 | 2019-03-23T06:42:01 | 175,793,168 | 0 | 0 | MIT | 2019-03-15T09:50:45 | 2019-03-15T09:50:42 | null | UTF-8 | C++ | false | false | 4,601 | h | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2016 The Bitcoin Core developers
// Copyright (c) 2016-2019 The MagnaChain Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef MAGNACHAIN_PRI... | [
"weigun@weigun.com"
] | weigun@weigun.com |
26e9b32a0ac602db8e05eda995c6c0f156ce56bc | 08b8cf38e1936e8cec27f84af0d3727321cec9c4 | /data/crawl/squid/hunk_7122.cpp | 991bdd2b94171fb3b70dab6a4f627fa1a9a37504 | [] | no_license | ccdxc/logSurvey | eaf28e9c2d6307140b17986d5c05106d1fd8e943 | 6b80226e1667c1e0760ab39160893ee19b0e9fb1 | refs/heads/master | 2022-01-07T21:31:55.446839 | 2018-04-21T14:12:43 | 2018-04-21T14:12:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 573 | cpp | {
*var = 0;
}
-
+
+static void
+dump_size_t(size_t var)
+{
+ printf("%d bytes", (int) var);
+}
+
+static void
+dump_kb_size_t(size_t var)
+{
+ printf("%d KB", (int) var);
+}
+
+static void
+parse_size_t(size_t *var)
+{
+ parseBytesLine(var, B_BYTES_STR);
+}
+
+static void
+parse_kb_size_t(size_t *var)
+{
... | [
"993273596@qq.com"
] | 993273596@qq.com |
60ba4e52aa3bb3c4f4a26f8e64dec172f8aca84b | e116d3e1069e483cd60cd2c56765b16cb0c875b0 | /addons/cirkit-addon-reversible/src/cli/commands/lpqx.hpp | 237335ca9725629464d486dc3d76221658046010 | [
"MIT"
] | permissive | alexandrecrsilva/cirkit | 0be24a3157e32a2a44ce042a72ef02f774136fb0 | c88215ffb18c05ff9f56b9b99327834b34054f80 | refs/heads/master | 2020-04-07T09:57:32.149641 | 2018-11-18T03:01:54 | 2018-11-18T03:01:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,927 | hpp | /* CirKit: A circuit toolkit
* Copyright (C) 2009-2015 University of Bremen
* Copyright (C) 2015-2017 EPFL
*
* 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, in... | [
"aamaralalmeida@gmail.com"
] | aamaralalmeida@gmail.com |
7651a777b05f3ac82a000c321349967ba31183bd | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/squid/gumtree/squid_old_hunk_59.cpp | 214eeec1bee6d6d331677f4aa003915e16dbebda | [] | 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 | 389 | cpp | {
announceInitiatorAbort(theLauncher); // propogate to the transaction
clearInitiator();
mustStop("initiator gone");
}
void Adaptation::Iterator::noteAdaptationQueryAbort(bool final)
{
debugs(93,5, HERE << "final: " << final << " plan: " << thePlan);
clearAdaptation(theLauncher);
updatePlan(fal... | [
"993273596@qq.com"
] | 993273596@qq.com |
4e6e65085367f2ec055ce29f970ef74d52f007d3 | 5bccf2d2118008c0af6a51a92a042e967e4f2abe | /Support/Modules/GSRoot/Win32GDIPlusInterface.hpp | c0c959e80d8eca39799f2dbc44bbf0e4322f7707 | [
"Apache-2.0"
] | permissive | graphisoft-python/DGLib | fa42fadebedcd8daaddde1e6173bd8c33545041d | 66d8717eb4422b968444614ff1c0c6c1bf50d080 | refs/heads/master | 2020-06-13T21:38:18.089834 | 2020-06-12T07:27:54 | 2020-06-12T07:27:54 | 194,795,808 | 3 | 0 | Apache-2.0 | 2020-06-12T07:27:55 | 2019-07-02T05:45:00 | C++ | UTF-8 | C++ | false | false | 643 | hpp | // *****************************************************************************
// File: Win32GDIPlusInterface.hpp
//
// Description: Includes GDIPlus Headers
//
// Namespace: -
//
// Contact person: MM
//
// SG compatible
// *****************************************************************************
#if !defin... | [
"445212619@qqcom"
] | 445212619@qqcom |
e3651344e542830057edd500b615c6e7531ae04a | 9ab11e1e76fb7654ba1e247d035da873f4256d6a | /Sources/RainbowEngine/UI/include/UI/Widgets/InputFields/InputSingleScalar.h | ddbe95f3f502937f144e804b2adab42db6f632d5 | [] | no_license | Tekh-ops/RainbowEngine | f7e565ddcbdcab0e8fb663d8e51988b73895698f | 5d1dc91d15fc988d7eacdd23900d0d5c398d5f1b | refs/heads/master | 2023-04-03T13:55:10.200479 | 2021-04-01T15:14:48 | 2021-04-01T15:14:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,738 | h |
#pragma once
#include <Tools/Eventing/Event.h>
#include "UI/Widgets/DataWidget.h"
namespace UI::Widgets::InputFields
{
/**
* Input widget of generic type
*/
template <typename T>
class InputSingleScalar : public DataWidget<T>
{
static_assert(std::is_scalar<T>::value, "Invalid InputSingleScalar T (Scalar exp... | [
"43663573+leoandtt@users.noreply.github.com"
] | 43663573+leoandtt@users.noreply.github.com |
3f15420462f9b715113b92dd8748ea6bfad71f4c | 87d9f453831f38ca5dc45b74f8b31cb8093b4da0 | /cppVersion/Maximum Subarray.cpp | 55857c7918256967b3d37cd970d070664d17df6c | [
"MIT"
] | permissive | ChinoMars/LeetCodeSolution | a46cb8ce4690164ca7988232bff726b8740542bd | 604fc5e387582ecec85d0431bbddb542af2b92fa | refs/heads/master | 2020-05-21T00:08:44.124489 | 2015-10-30T02:00:14 | 2015-10-30T02:00:14 | 35,195,112 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 395 | cpp | class Solution
{
public:
int maxSubArray(vector<int>& nums)
{
int len = nums.size();
int fnlsum = INT_MIN, tmpsum = 0;
for(int i = 0; i < len; ++i)
{
tmpsum = tmpsum>=0 ? tmpsum+nums[i] : nums[i];
fnlsum = max(fnlsum,... | [
"chinomask@gmail.com"
] | chinomask@gmail.com |
dbec0ae167e90e5023eac29a07e211765f2d5f3e | 9611083d0317ce148f7a007550118cfb347ac845 | /PROJECTS/2016_09_AQUAPHONEIA/Flowsensor_Thibodeau/arduino/old_versions/Aquaphoenia-Flowsensor-0.7/Aquaphoenia-Flowsensor-0.7.ino | 25618609df69484812733addd3d6a32daeaa5029 | [] | no_license | navid/TML-depo | 957f65bfbb9f62c5089ee5396437329f9868fb3e | 08e215db1bd7967de74d5f200a1e4f839cf8d7b9 | refs/heads/master | 2023-02-08T22:04:02.402584 | 2023-02-07T03:28:28 | 2023-02-07T03:28:28 | 45,488,866 | 3 | 4 | null | 2017-11-01T18:21:18 | 2015-11-03T19:02:47 | Max | UTF-8 | C++ | false | false | 2,741 | ino | //--------------------------------------
// DECLARING STUFF
//--------------------------------------
// Timer variables
int ONE_SECOND = 62500;
int TIME_DIV = 4;
//int RESET_COUNT = 65536 - (ONE_SECOND / TIME_DIV);
int RESET_COUNT = 49910; //4Hz
// Testing variables
volatile bool isr_flag = false;
volatile bool ... | [
"navid.nav@gmail.com"
] | navid.nav@gmail.com |
0880399f98ab642e3233fe261d9672cce48e07a3 | b7593b8540740813b210fbec7dca2fe1833d9594 | /Timer.h | 90e98d7ce37858f16c27f434a1d63b1fe27632f2 | [] | no_license | samrbutler/FeyndDiagram | 0193ffe450a5576a3985b49638d087f725e5ea86 | fefd0d991f55feae646bdae9a1f8178012fe8431 | refs/heads/master | 2023-03-10T21:13:09.221548 | 2021-02-17T16:16:09 | 2021-02-17T16:16:09 | 299,690,606 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 414 | h | #pragma once
#include <chrono>
#include <iostream>
#include <string>
class Timer
{
using clock_t = std::chrono::high_resolution_clock;
using second_t = std::chrono::duration<double, std::ratio<1> >;
std::chrono::time_point<clock_t> m_beg;
public:
Timer() : m_beg(clock_t::now()) {};
void reset() { m_beg = clo... | [
"sam.r.butler@outlook.com"
] | sam.r.butler@outlook.com |
06e81d526f954c6efc67d218631b48b633e80ab1 | 329bf38920ae26cf6699a659d0a875b43cd4764e | /STM8L101F3P6/utils/queue/queue.cpp | ee50db313f29bb51ce231e75e1bb044bb3121a25 | [] | no_license | amitandgithub/STM8L101F3_FW | ae012d6417ca1c11bbab66734529f7fbe07b4957 | 787e802665b199f2183fc8fad19b4189661f613e | refs/heads/master | 2022-01-23T00:12:38.080393 | 2021-12-25T04:42:02 | 2021-12-25T04:42:02 | 199,318,490 | 0 | 0 | null | 2019-09-06T04:57:37 | 2019-07-28T17:39:52 | C | UTF-8 | C++ | false | false | 2,218 | cpp | /******************
** FILE: queue.c
**
** DESCRIPTION:
** queue implementation
**
** CREATED: 8/5/2019, by Amit Chaudhary
******************/
#include"queue.hpp"
queue::Queue_Status_t queue::QueueInit(Queue_t* pQueue)
{
if(pQueue)
{
pQueue->WriteHead = pQueue->Capacity - 1; // rear
pQueue->ReadHead = 0... | [
"amit4u.com@gmail.com"
] | amit4u.com@gmail.com |
185c576c41ae5ab485510ba6776760d6ef6ddf5a | ae99db8a12c4e22a6e844100144babc5f452a152 | /DSA/Leetcode/121.cc | dfd64d9e69b72d5ec468427340e3af15e6f4cf23 | [
"MIT"
] | permissive | zhmz90/Lan | 6d7591344029b80e16c39b41cddce500bcf32418 | d7bb1b38ecb5a082276efaafdadca8d9700fbc27 | refs/heads/master | 2021-01-21T12:53:58.281744 | 2017-07-21T11:54:45 | 2017-07-21T11:54:45 | 48,616,087 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,359 | cc | /** 121. Best Time to Buy and Sell Stock
Say you have an array for which the ith element is the price of a given stock on day i.
If you were only permitted to complete at most one transaction (ie, buy one and sell one share of the stock), design an algorithm to find the maximum profit.
Example 1:
Input: [7, 1, 5, 3, ... | [
"zhmz90@gmail.com"
] | zhmz90@gmail.com |
638b97491d2610206cf1d2496e9cf939e7468971 | adfcd15da351a38af5713ea4e138160e1744bc1e | /src/Pool.h | 0f93b6fd913b5d3d93a66a0301c0508420eb9e42 | [
"BSD-2-Clause"
] | permissive | natecollins/vecs | 05ea013a89d4c6a3a5a76bec288212ba797dbc4c | b003b8f856acd20c8d02cfea89baed119b8cd794 | refs/heads/master | 2020-03-23T01:24:48.192243 | 2018-07-14T04:30:55 | 2018-07-14T04:30:55 | 140,915,974 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,793 | h | #ifndef POOL_H_
#define POOL_H_
#include <cstdint>
#include <cstdlib>
#include <deque>
#include <vector>
#include <tuple>
#include <atomic>
#include "entdef.h"
namespace vecs
{
class Pool {
friend class Domain;
private:
// Spinlock for allocations/de-allocations
std::atomic_flag spinlock;
// Assignme... | [
"npcollins@gmail.com"
] | npcollins@gmail.com |
a2a99dd1230df8b2d1eccc32b8378a5b8b3fcd28 | 684c9beb8bd972daeabe5278583195b9e652c0c5 | /src/cobalt/script/mozjs-45/mozjs_data_view.h | 64b0228616e65a49904c4b2918d13a13f8b1bf06 | [
"BSD-3-Clause",
"Apache-2.0"
] | permissive | elgamar/cobalt-clone | a7d4e62630218f0d593fa74208456dd376059304 | 8a7c8792318a721e24f358c0403229570da8402b | refs/heads/master | 2022-11-27T11:30:31.314891 | 2018-10-26T15:54:41 | 2018-10-26T15:55:22 | 159,339,577 | 2 | 4 | null | 2022-11-17T01:03:37 | 2018-11-27T13:27:44 | C++ | UTF-8 | C++ | false | false | 4,203 | h | // Copyright 2018 The Cobalt Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by ap... | [
"aabtop@google.com"
] | aabtop@google.com |
f2ba86b536158bc9c8d8f1536468b0dcddc82612 | 4eb4242f67eb54c601885461bac58b648d91d561 | /algorithm/poj/2337/code.cc | 83707f4d5504837a6677c71b0068c72b069ca86e | [] | no_license | biebipan/coding | 630c873ecedc43a9a8698c0f51e26efb536dabd1 | 7709df7e979f2deb5401d835d0e3b119a7cd88d8 | refs/heads/master | 2022-01-06T18:52:00.969411 | 2018-07-18T04:30:02 | 2018-07-18T04:30:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,088 | cc | // Copyright 2013 Jike Inc. All Rights Reserved.
// Author: Liqiang Guo(guoliqiang@jike.com)
// I just want to GH to hss~
// Date : 2013-11-13 19:10:49
// File : code.cc
// Brief :
/*
* 单词作为边,节点是26个字符,这样的构图才是可以用
* 欧拉路来做的
* Accepted 424K 47MS
* */
#include "base/public/common_ojhead.h"
namespace algorithm {
c... | [
"guoliqiang2006@126.com"
] | guoliqiang2006@126.com |
1271239ec4b48ba565f775e79b0b2770cd71f835 | bc3b19735701983322449ad28281971f5e6a9c6d | /Player.h | c41c50c547c71bd5573de292ea2b6aa844ffbb4f | [] | no_license | ykh09242/TileGame | 5553dd490321ab33c64b71d8c0a1b5d277156087 | 5f1cdd966659cbd8d87f0b5e3a1b9a893d99634f | refs/heads/master | 2020-03-21T21:51:43.327512 | 2018-07-03T08:28:47 | 2018-07-03T08:28:47 | 138,686,034 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 214 | h | #pragma once
class Player
{
public:
string shape;
Vector2 pos;
int move;
bool turnEnd;
private:
bool item;
public:
Player(string shape, Vector2 startPos, int move = 1);
public:
void Moving(Map* map);
};
| [
"phk09242@gmail.com"
] | phk09242@gmail.com |
c687408876c520061be8235999944711d40863c6 | 308f3cb8a30fcacd8851cc2ed979949b643cf1d9 | /bzoj__orzliyicheng/p1237.cpp | 9a552c45fea54165cab3c3206e0ace5591729bc0 | [] | no_license | szh-bash/ACM | 9a49859644d077bcb40f90dbac33d88649e7b0f3 | 3ddab1ab8f9b8a066f012f2978ee9519d00aec54 | refs/heads/master | 2022-08-08T19:20:09.912359 | 2022-07-20T10:43:57 | 2022-07-20T10:43:57 | 98,170,219 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 889 | cpp | #include<iostream>
#include<cstdio>
#include<cstring>
#include<algorithm>
using namespace std;
typedef long long ll;
const ll inf=10000000000009LL;
#define abs(x) (((x)<0)?(-(x)):(x))
#define A(x,y) ((x==y)?inf:abs((x)-(y)))
ll n,a[100005],b[100005],f[100005];
char buf[2000000],*p=buf;
inline int getint(){
ll r=0; ... | [
"342333349@qq.com"
] | 342333349@qq.com |
cea0d5569a18a621c0adca0c86705e137e5e9aec | e0548caf7bd8153f8d991b7d7c1bed487402f0bc | /semestr-5/Algorytmy i struktury danych 1/PRO/programy-z-cwiczen/2019/C07/ID03P06/C07_ID03P06_0001/include/TabInt01.h | d35ed144317ad8076de84fd129371b57ff7ed087 | [] | no_license | Ch3shireDev/WIT-Zajecia | 58d9ca03617ba07bd25ce439aeeca79533f0bcb6 | 3cd4f7dea6abdf7126c44a1d856ca5b6002813ca | refs/heads/master | 2023-09-01T11:32:12.636305 | 2023-08-28T16:48:03 | 2023-08-28T16:48:03 | 224,985,239 | 19 | 24 | null | 2023-07-02T20:54:18 | 2019-11-30T08:57:27 | C | UTF-8 | C++ | false | false | 758 | h | #ifndef TABINT01_H
#define TABINT01_H
///213.135.46.21:7070
///\\sz240\temp\PRO
#include <iostream>
#include<ctime>
using std::cout;
using std::cin;
using std::string;
using std::endl;
using std::to_string;
using std::ostream;
///**********************************
///**********************************
c... | [
"thesmilingcatofcheshire@gmail.com"
] | thesmilingcatofcheshire@gmail.com |
2b085414a8218ce467d66ee7369032148ade9b2f | e1923c6dbede9cf6cca4c95346a2e0544e1d8c12 | /src/main.cpp | 6d081f4c7b2eb9c3c2ced72eb9ee5ad6ae0c1213 | [] | no_license | TolimanStaR/Ex09 | 8015ac669fa8f4fa3520ee2f75a708d690617d57 | 0ef19457137799c4f0ee7a5fb751dfa7c41ccd2b | refs/heads/main | 2023-02-11T17:04:20.500084 | 2021-01-13T20:20:08 | 2021-01-13T20:20:08 | 328,803,915 | 0 | 0 | null | 2021-01-11T22:09:56 | 2021-01-11T22:09:56 | null | UTF-8 | C++ | false | false | 233 | cpp | // Copyright 2021 Toliman
#include "../include/MyStack.h"
signed main() {
MyStack<int> s(3);
s.push(1);
s.push(3);
MyStack<int> t(3);
t.push(8924389);
t.push(89489);
MyStack<int> u(t);
return 0;
}
| [
"dadyryaev@edu.hse.ru"
] | dadyryaev@edu.hse.ru |
3806098444e7b001fa171d3d3fe45ebcafe5df26 | 68843a3957f49255aa0aacd7dc99a541a38e3c72 | /STEP1/Scene.h | 298f4f4e3589fe19d7707b49f0903546f2d58dc8 | [] | no_license | gamorejon/cell-ray | 61fec3e9c7df7146c77ce76ef0cd0df984709208 | 8f567f6c3741cf75d4bb2a0d67b53c0b050cfc6b | refs/heads/master | 2021-01-19T12:12:34.567177 | 2012-08-10T21:47:16 | 2012-08-10T21:47:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,139 | h | #ifndef SCENE_H
#define SCENE_H
#include <vector>
#include <cmath>
using namespace std;
#include <altivec.h>
#include "SceneObject.h"
#include "ColorGroup.h"
#include "Intersection.h"
#include "Light.h"
#include "AltivecUtils.h"
#include "VectorSInt.h"
class Scene
{
private:
SceneObject** objects;
Light** li... | [
"gamorejon@gmail.com"
] | gamorejon@gmail.com |
8d60a08a5aafdba0384cff343d51e3d838ac3426 | 99143df5e2ef15f8f9b7e90c320a61ce93a1ffe8 | /Burgh/StatDisplay.h | 2fc5f386b9c0a964d2788107856f446490bbb03b | [] | no_license | MrGodin/IceCaves | af55f600cc70277d3b3332b3844966e2f7ec155d | ee6aafc60170b329329ae7918746dfb235610fda | refs/heads/master | 2020-05-30T17:48:44.221679 | 2015-08-11T20:16:53 | 2015-08-11T20:16:53 | 40,512,793 | 0 | 0 | null | 2015-08-11T20:16:53 | 2015-08-11T00:30:06 | C++ | UTF-8 | C++ | false | false | 1,464 | h |
#pragma once
#include "GuiFrame.h"
#include "GuiTextControl.h"
class StatDisplay : public GuiFrame
{
private:
protected:
GuiText* pFps = NULL;
GuiText* pWorldPos = NULL;
public:
StatDisplay(GuiFrameDesc desc)
:
GuiFrame(desc)
{
}
~StatDisplay()
{
SAFE_DELETE(pFps);
SAFE_DELETE(pWorldPos);
}
void... | [
"benwold@telus.net"
] | benwold@telus.net |
f77d99738b9417fca4e9bc674fe5a49d6db9eb81 | 5898d3bd9e4cb58043b40fa58961c7452182db08 | /part4/ch30/30-4-3-5-error_code-mapping/src/my_future_errc.h | bc8df3b4eb69405a5fc5257af02893748e32cead | [] | no_license | sasaki-seiji/ProgrammingLanguageCPP4th | 1e802f3cb15fc2ac51fa70403b95f52878223cff | 2f686b385b485c27068328c6533926903b253687 | refs/heads/master | 2020-04-04T06:10:32.942026 | 2017-08-10T11:35:08 | 2017-08-10T11:35:08 | 53,772,682 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 718 | h | /*
* my_future_errc.h
*
* Created on: 2017/08/06
* Author: sasaki
*/
#ifndef MY_FUTURE_ERRC_H_
#define MY_FUTURE_ERRC_H_
#include <system_error>
#include <string>
using namespace std;
enum class my_future_errc {
broken_promise = 1,
future_already_retrieved,
promise_already_satisfied,
no_state
};
clas... | [
"sasaki-seiji@msj.biglobe.ne.jp"
] | sasaki-seiji@msj.biglobe.ne.jp |
dbd100284e494eb7106787771442f8c1b84a2ebc | c4979d123ddfd01c3a4251b1d84fd4797684242d | /src/business/management_server/actions/server_list_request_action.h | 0668d4e3c718fa84ff5ca928a70b4e3f59559b30 | [] | no_license | evandropoa/open-carom3d-server | e9a3aedae46610ea062e3a19e785779b13cfdc6e | 9c3d5af8cb9e79c4650f85607d47d9afa0be3f50 | refs/heads/master | 2022-11-07T06:29:12.170550 | 2020-06-09T06:29:46 | 2020-06-09T06:29:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 547 | h | //
// Created by CGR on 15/05/2020.
//
#ifndef __OPEN_CAROM3D_SERVER_SERVER_LIST_REQUEST_H__
#define __OPEN_CAROM3D_SERVER_SERVER_LIST_REQUEST_H__
#include <business/util/abstract_action.h>
namespace business { namespace management {
class ServerListRequestAction : public AbstractAction<void> {
public:
... | [
"cesargreche@gmail.com"
] | cesargreche@gmail.com |
5c796659b9b0dc8b7115a2dad76cc117339d68c5 | de984a13290408a3dc42fecdbf65a04c3bc4ccb5 | /shadowmapping-master/ShaderDefault.cpp | 2fd024625ac9de8f10106d853f20db4bc2b4dc8e | [] | no_license | HerrAndersson/3DProject | d39e5243bcb49b896bf3a30955b9479772ca94fc | 7c5254cd3987d53243284d92c382bcbd2129ee5b | refs/heads/master | 2021-01-21T03:29:49.108644 | 2016-04-28T22:45:14 | 2016-04-28T22:45:14 | 57,338,388 | 0 | 0 | null | 2016-04-28T22:43:25 | 2016-04-28T22:43:23 | null | UTF-8 | C++ | false | false | 3,723 | cpp | #include "ShaderDefault.h"
using namespace DirectX;
using namespace std;
ShaderDefault::ShaderDefault(ID3D11Device* device,
LPCWSTR vertexShaderFilename,
LPCWSTR pixelShaderFilename
) : ShaderBase(device)
{
D3D11_INPUT_ELEMENT_DESC inputDesc[] =
{
{ "POSITION", 0, DXGI_FORMAT_R32G32B32_FLOAT, 0, 0, D3D11_INPUT... | [
"anderssonjonas94@gmail.com"
] | anderssonjonas94@gmail.com |
845e398f5a8050062ee9de1415d037caf0c5fa41 | c76bca6811a24c4434209bcc0d5736118886e88c | /week8/assignment/Main.cpp | cfc28219387a49af89b199dc4a8106ce0f116684 | [] | no_license | Ellard24/CS162 | bb2c161f844beef11d2306839144854679d2a481 | 8335e6b9c700f467763bf1b230102db3e9b57539 | refs/heads/master | 2021-01-10T17:13:29.458696 | 2016-03-17T17:20:07 | 2016-03-17T17:20:07 | 54,130,981 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,796 | cpp | /*****************************************************************************************************
**Author: Ellard Gerritsen van der Hoop
**Description: This program will ask users to input what fighters they want to put against each other.
** The program will then create these fighters with appropriate stats ... | [
"egvdh@comcast.net"
] | egvdh@comcast.net |
49d1263a08328d29d957c9eebdd1cdc9bdcce858 | aae79375bee5bbcaff765fc319a799f843b75bac | /atcoder/abc_146/c.cpp | fd9ace2d78b1d2116d12758ede9a195fdda288f5 | [] | no_license | firewood/topcoder | b50b6a709ea0f5d521c2c8870012940f7adc6b19 | 4ad02fc500bd63bc4b29750f97d4642eeab36079 | refs/heads/master | 2023-08-17T18:50:01.575463 | 2023-08-11T10:28:59 | 2023-08-11T10:28:59 | 1,628,606 | 21 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 571 | cpp | // C.
#include <iostream>
#include <sstream>
#include <algorithm>
#include <vector>
#include <cmath>
using namespace std;
typedef long long LL;
int main(int argc, char* argv[]) {
cout.precision(20);
#ifdef _MSC_VER
while (true)
#endif
{
LL a, b, x = -1;
cin >> a >> b >> x;
if (x < 0) return 0;
LL left = ... | [
"karamaki@gmail.com"
] | karamaki@gmail.com |
7219bf2a0c913ae407ae363b504d8f6ee6025afa | 5552798e3562cad0b615b6141f8ea33214bba861 | /C++/Codeforces/newyearpermu.cpp | fcb3ea8b95d3e153f8ca3ba46986d22498ea5867 | [] | no_license | YashSharma/C-files | 3922994cf7f0f5947173aa2b26a7dc399919267b | 3d7107e16c428ee056814b33ca9b89ab113b0753 | refs/heads/master | 2016-08-12T09:16:25.499792 | 2015-12-20T08:24:47 | 2015-12-20T08:24:47 | 48,312,664 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,817 | cpp | #include<iostream>
#include<stdio.h>
#include<algorithm>
using namespace std;
static int a[302][302];
bool visited[302]={0};
static int test[302];
static int position[302];
static int p[302];
int pos=0;
void tovisit(int n,int size)
{ int flag=0,i=n,j;
visited[i]=1;
for(j=0;j<size;j++)
{ if(v... | [
"Apple@Yash-MacBook-Air.local"
] | Apple@Yash-MacBook-Air.local |
da6d22d1fc4c47fc7bd7aed4c5dde096d9940929 | 3dbec36a6c62cad3e5c6ec767b13f4038baa5f79 | /cpp-lang/qt/quick/integratingqml/backend.h | 97c13707fa5e68b95fa22e9b37e7f8ab7a9cee83 | [] | no_license | reposhelf/playground | 50a2e54436e77e7e6cad3a44fd74c0acc22a553a | 47ddd204a05ec269e4816c2d45a13e5bc6d3e73a | refs/heads/master | 2022-04-22T13:50:24.222822 | 2020-04-10T15:59:30 | 2020-04-10T15:59:30 | 254,675,772 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 463 | h | #ifndef BACKEND_H
#define BACKEND_H
#include <QObject>
#include <QString>
class BackEnd : public QObject
{
Q_OBJECT
Q_PROPERTY(QString userName READ userName WRITE setUserName NOTIFY userNameChanged)
public:
explicit BackEnd(QObject *parent = nullptr);
QString userName() const { return m_userName; }
... | [
"vladimironiuk@gmail.com"
] | vladimironiuk@gmail.com |
20dfa3809caa970f7b91ddf1dba3b03bbd6e3fb2 | cd7fdd7cca834eb7649973908b8ff7d40580e756 | /Plugins/AdvancedSessions/AdvancedSessions/Intermediate/Build/Win64/UE4/Inc/AdvancedSessions/AdvancedFriendsLibrary.generated.h | 5cdad9e936280f276994de7a57a446b75d39e811 | [
"MIT"
] | permissive | jackychew77/FYP | 09cb03ea326e7aed0ad190bd6f13a38153ff4095 | 4ba57241a1d960f6ff3cb40c375aeb29982efa0d | refs/heads/master | 2022-09-22T22:12:54.900880 | 2020-05-28T08:30:06 | 2020-05-28T08:30:06 | 206,222,682 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,575 | h | // Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
/*===========================================================================
Generated code exported from UnrealHeaderTool.
DO NOT modify this manually! Edit the corresponding .h files instead!
==============================================================... | [
"jacky_chew629@live.com.my"
] | jacky_chew629@live.com.my |
62f2c03046d409d07addc69ef2566f1d59190278 | 5f17573507d160aa087b02d0f00d97be7a603f6c | /319c.cpp | efe802d35c90df985aa1c2bf61c6c3d4fd686578 | [] | no_license | nishnik/Competitive-Programming | 33590ea882e449947befc36594fd20c720c05049 | cab12301ca7343b6e5f4464fcfbb84b437379da8 | refs/heads/master | 2021-01-10T05:43:44.252506 | 2016-02-23T14:14:03 | 2016-02-23T14:14:03 | 52,363,354 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,005 | cpp | #include <bits/stdc++.h>
//usage getline(cin,str_name);
#define rep(i, n) for(__typeof(n) i = 0; i < (n); i++)
#define rrep(i, n) for(__typeof(n) i = (n) - 1; i >= 0; --i)
#define rep1(i, n) for(__typeof(n) i = 1; i <= (n); i++)
#define FOR(i, a, b) for(__typeof(b) i = (a); i <= (b); i++)
#define forstl(i, s) for (... | [
"nishantiam@gmail.com"
] | nishantiam@gmail.com |
16152f2e9078375555eae45332d38bc7062b4de0 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/collectd/gumtree/collectd_repos_function_2399_collectd-5.6.3.cpp | a2e27d80cc1731941381a6c20d3e8c9945c6cf98 | [] | 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 | 932 | cpp | int parse_identifier_vl(const char *str, value_list_t *vl) /* {{{ */
{
char str_copy[6 * DATA_MAX_NAME_LEN];
char *host = NULL;
char *plugin = NULL;
char *plugin_instance = NULL;
char *type = NULL;
char *type_instance = NULL;
int status;
if ((str == NULL) || (vl == NULL))
return (EINVAL);
sstrnc... | [
"993273596@qq.com"
] | 993273596@qq.com |
4cdaa9370b5fb6d0b40ad7bbfeb3f246dc9ef91b | 16c6035c8b20b58937e527081ddeb10f508e9034 | /ros_ws/devel/include/piksi_rtk_msgs/ImuRawMulti.h | b703ad07c8ffe7ca6086169b170b00d7f24bdfcd | [
"MIT"
] | permissive | njoubert/tgdriver | 77d082ab9a6537327de74276eb81f8cba6ebb323 | e46ce6d89488116136a56805abfafe3b0d979ee1 | refs/heads/master | 2020-07-04T08:46:35.637633 | 2019-08-04T06:15:03 | 2019-08-04T06:15:03 | 192,004,866 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,186 | h | // Generated by gencpp from file piksi_rtk_msgs/ImuRawMulti.msg
// DO NOT EDIT!
#ifndef PIKSI_RTK_MSGS_MESSAGE_IMURAWMULTI_H
#define PIKSI_RTK_MSGS_MESSAGE_IMURAWMULTI_H
#include <string>
#include <vector>
#include <map>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_message_traits.h>
... | [
"ottotechnogecko@gmail.com"
] | ottotechnogecko@gmail.com |
0e4b2a0a52ae40c1f56ea562c0f94d4041e84553 | 801f7ed77fb05b1a19df738ad7903c3e3b302692 | /refactoringOptimisation/differentiatedCAD/occt-min-topo-src/src/BRepAlgo/BRepAlgo_Tool.cxx | 8d2110caae2643d9b6070da561c56dbf30523c1a | [] | no_license | salvAuri/optimisationRefactoring | 9507bdb837cabe10099d9481bb10a7e65331aa9d | e39e19da548cb5b9c0885753fe2e3a306632d2ba | refs/heads/master | 2021-01-20T03:47:54.825311 | 2017-04-27T11:31:24 | 2017-04-27T11:31:24 | 89,588,404 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,850 | cxx | // Created on: 1995-10-23
// Created by: Yves FRICAUD
// Copyright (c) 1995-1999 Matra Datavision
// Copyright (c) 1999-2014 OPEN CASCADE SAS
//
// This file is part of Open CASCADE Technology software library.
//
// This library is free software; you can redistribute it and/or modify it under
// the terms of the GNU L... | [
"salvatore.auriemma@opencascade.com"
] | salvatore.auriemma@opencascade.com |
875d556f40fc399e6c1c5e0ad045babc620e15db | 42707f98a26a505aac0286e5e95a29d2f68646fa | /Array/Rotations/Pair in sorted and rotated array.cpp | 6e935427b19b9e6b5560c1132529c3948c0795de | [] | no_license | binarydevelop/GeeksforGeeks_Data-Structures | c323b5d070305ab30565bd775841640871c9c206 | 88b2352912017485ba88c2c7c9814efb5b2b52b8 | refs/heads/master | 2023-01-13T22:50:26.701023 | 2020-11-12T03:31:52 | 2020-11-12T03:31:52 | 266,951,840 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 999 | cpp | #include<iostream>
using namespace std;
bool pairInSortedRotated(int arr[], int n, int x)
{
// Find the pivot element
int i;
for (i=0; i<n-1; i++) // 18 here is the pivot as arr[i](68)>arr[i+1](18)
if (arr[i] > arr[i+1]) // 20 43 68 18
break;
int l = (i+1)%... | [
"binarydevelop@gmail.com"
] | binarydevelop@gmail.com |
6b97bd0d6558c838bc2f760509df9b9e4320190f | ea86bc50922e5d96a78575e400aadaf7f888590e | /ds/chap3/decode_string/solu.cpp | 9d6d92eee0a7cfd929fcb80e2a6d619baa282ee2 | [] | no_license | EvergreenHZ/See-Let-Pointer-Fly | 527d5d6ae35fc26d298bc07dd921c53c3307d082 | 68c088995f1a8ea951b6144bdbd1a0923c0be90c | refs/heads/master | 2020-03-07T04:42:58.077212 | 2018-10-22T11:56:21 | 2018-10-22T11:56:21 | 127,274,299 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,715 | cpp | #include <string>
#include <iostream>
#include <vector>
#include <stack>
using namespace std;
class Solution {
public:
string decodeString(string s) {
if (!isValid(s)) return "";
stack<string> _stack;
stack<int> _nstack;
... | [
"huaizhixtp@163.com"
] | huaizhixtp@163.com |
2100826e4ac5369f09a0893aa300609afd0d9d03 | 93574cdfec6227131bda78ec7c2a687f7bb43edf | /c++/balanced-binary-tree.cpp | 0c3a50cee9f6131b85306f35db5688f2ffa18af4 | [] | no_license | fyang26/leetcode | 642cd051fe29fb26c8c24921c5fc1504554bbe67 | 2f7d2aa174a719d93bd42790f3c216f6f0173d5b | refs/heads/master | 2021-01-10T11:08:33.920393 | 2016-04-27T00:59:05 | 2016-04-27T00:59:05 | 43,520,536 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 618 | cpp | /**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(x), left(NULL), right(NULL) {}
* };
*/
class Solution {
public:
bool isBalanced(TreeNode* root) {
if (!root) return true;
int diff = abs(getdep... | [
"fyang@umiacs.umd.edu"
] | fyang@umiacs.umd.edu |
f295d6c4d31e87a46505c3bbe1f2dabcf80787ab | b76289396b22eda191f25744a600fac2abaf8850 | /third-party/fizz/src/fizz/protocol/BrotliCertificateCompressor.cpp | 9aeb6cb4c6d10a37b0b0b89543aeb60898e27b4c | [
"BSD-3-Clause",
"MIT",
"PHP-3.01",
"Zend-2.0"
] | permissive | fengjixuchui/hhvm | cb8cece7afd025fb8cdf8479c2a0696f38730949 | bbbb1782fa258b8dd526ffc7e8ba0f6115931bff | refs/heads/master | 2023-03-15T15:55:46.355422 | 2023-01-27T13:59:08 | 2023-01-27T13:59:08 | 175,142,159 | 0 | 1 | NOASSERTION | 2021-11-03T11:22:20 | 2019-03-12T05:34:16 | C++ | UTF-8 | C++ | false | false | 2,151 | cpp | /*
* Copyright (c) 2018-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <brotli/encode.h>
#include <fizz/protocol/BrotliCertificateCompressor.h>
using namespace foll... | [
"atry@fb.com"
] | atry@fb.com |
10ab0c981932fc9421d1b8118993572b0913b8fa | 64cb681c4430d699035e24bdc6e29019c72b0f94 | /renderdoc/driver/d3d8/d3d8_resources.cpp | 23fb32d1bb2a8cbe2bfff48418351fa004f8b524 | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | new-TonyWang/renderdoc | ebd7d0e338b0e56164930915ebce4c0f411f2977 | ac9c37e2e9ba4b9ab6740c020e65681eceba45dd | refs/heads/v1.x | 2023-07-09T17:03:11.345913 | 2021-08-18T02:54:41 | 2021-08-18T02:54:41 | 379,597,382 | 0 | 0 | MIT | 2021-08-18T03:15:31 | 2021-06-23T12:35:00 | C++ | UTF-8 | C++ | false | false | 3,245 | cpp | /******************************************************************************
* The MIT License (MIT)
*
* Copyright (c) 2019-2021 Baldur Karlsson
*
* 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... | [
"baldurk@baldurk.org"
] | baldurk@baldurk.org |
f1335a743daadbbbd90c1fa57d3644f0ff223907 | 7e6aac751bb9c43f53785134b3b6c1f9c603f37d | /generator/booking_dataset.cpp | caeaff88d181c86f12f10e36849a59d5099c8236 | [
"Apache-2.0"
] | permissive | psokol/omim | cc2e95bb21d9ebe453e83517ec96cd5b3d383306 | 8c0c85aac64841c08ed8892b55022bcc69300f4d | refs/heads/master | 2020-12-25T17:45:18.633298 | 2016-06-30T22:14:03 | 2016-06-30T22:14:03 | 60,401,992 | 0 | 0 | null | 2016-06-04T08:59:57 | 2016-06-04T08:59:57 | null | UTF-8 | C++ | false | false | 7,769 | cpp | #include "generator/booking_dataset.hpp"
#include "indexer/search_delimiters.hpp"
#include "indexer/search_string_utils.hpp"
#include "geometry/distance_on_sphere.hpp"
#include "base/logging.hpp"
#include "base/string_utils.hpp"
#include "std/fstream.hpp"
#include "std/iostream.hpp"
#include "std/sstream.hpp"
name... | [
"yershov@corp.mail.ru"
] | yershov@corp.mail.ru |
959cc315edc842a06c3bc56a5f9f2e5010d28558 | 25fa0e6825f56a140aaaaf9ebe43dccbc7d31a0b | /CPP_SimpleGames/Guess_My_Number/BackgroundInfo/forLoopCounters.cpp | 174ebdbcbc0367fee4a2df192d10484bf98cea27 | [] | no_license | JoshuaTPierce/Learning_Repo1 | 0342e42d6db846dd1be74ead4116d4fc247c590a | 9a5a34bf04bfe6699420976dedcd295ca79335b4 | refs/heads/master | 2020-03-25T02:48:29.923672 | 2018-08-31T13:11:54 | 2018-08-31T13:11:54 | 143,308,470 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 737 | cpp | // Counter
// Demonstrates for loops
#include <iostream>
using namespace std;
int main(){
cout << "Counting forward:\n";
for (int i = 0; i < 10; ++i) {
cout << i << " ";
}
cout << "\n\nCounting backward:\n";
for (int i = 9; i >= 0; --i) {
cout << i << " ";
}
cout << "\n\nCounting by fives:\n";
for (int i... | [
"joshua.pierce@licor.com"
] | joshua.pierce@licor.com |
fcf5c0a3f82b704b3266ded483a7d5d8eae8d7cd | 74e7667ad65cbdaa869c6e384fdd8dc7e94aca34 | /MicroFrameworkPK_v4_1/BuildOutput/public/debug/Client/stubs/spot_net_security_native_Microsoft_SPOT_Net_Security_SslNative.h | 0767fe1527105eabf5fcfb4f2a0f65bd3dcbed2c | [
"BSD-3-Clause",
"OpenSSL",
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | gezidan/NETMF-LPC | 5093ab223eb9d7f42396344ea316cbe50a2f784b | db1880a03108db6c7f611e6de6dbc45ce9b9adce | refs/heads/master | 2021-01-18T10:59:42.467549 | 2011-06-28T08:11:24 | 2011-06-28T08:11:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,534 | h | //-----------------------------------------------------------------------------
//
// ** WARNING! **
// This file was generated automatically by a tool.
// Re-running the tool will overwrite this file.
// You should copy this file to a custom location
// before adding any customizat... | [
"psampaio.isel@gmail.com"
] | psampaio.isel@gmail.com |
9020bc876f3e0a79c3fb260e519cafb3e59fd191 | 530822b710300825d0395b10feaa067a0236e3b4 | /C++_Primer_Exercises/Dealing_with_Data/SecondsToHoursMinutesAndSecondsConverter.h | 826dd4c1c7e79de7562f204c43be07d3df1ede7f | [] | no_license | Rick-Addiction/CPlusPlus_Studies | b29ebdbefd588e099bc69346de6dd3678f33772f | 491d94eeae4d33481ece8046729c7c69bab98836 | refs/heads/master | 2020-08-05T20:57:38.730135 | 2020-07-04T18:24:19 | 2020-07-04T18:24:19 | 212,707,313 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 184 | h | #ifndef SECONDSTOHOURSMINUTESANDSECONDS_H
#define SECONDSTOHOURSMINUTESANDSECONDS_H
#include <iostream>
#include <string>
void SecondsToHoursMinutesAndSecondsConverter();
#endif | [
"henrique.rachti@gmail.com"
] | henrique.rachti@gmail.com |
fb20e5b5f06ae8930e678e73feb40274709ded12 | ef620e1a2c22758ffc835ebb12e9d1a7a9b7fb0d | /connect4solver/Constants.MoveData.h | f4fd778c8f1e66810b2644ebae7bf58c879d9254 | [] | no_license | dfoverdx/connect4solver | e3eb3f0fc12b6419cda50634cb53c0dad01b7f0b | 036b0b953af618b45fd933ce0f5417e38321cc11 | refs/heads/master | 2021-08-06T14:57:48.939912 | 2017-11-01T20:57:32 | 2017-11-01T20:57:32 | 107,034,998 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,205 | h | #pragma once
#include "Constants.h"
#include "Helpers.h"
#include "MoveData.CompilerFlagTypedefs.h"
namespace connect4solver {
namespace moveDataConstants {
constexpr MoveDataBase MOVES_TO_WIN_MASK_BITS = RequiredBits<BOARD_SIZE>::value;
constexpr MoveDataBase IS_FINISHED_MASK_BITS = 1;
co... | [
"thinkin.arbys@gmail.com"
] | thinkin.arbys@gmail.com |
e3f09a6e12cf874ccd86c0ebf2aae36398d78c32 | 12043db0f57f5d9402a99507648bcbb4d9417452 | /Programming_Abstractions/Chapter_10/Exercise_01/Exercise_01/editor_test.cpp | bca7a401e559b6f5574d89bd617f8a866165e029 | [] | no_license | daniellozuz/CPP | a8afb1ae3353bd483cf953fac8a70b0b1446023c | fdc8957158522fc27aa55a44b3e45333157b843f | refs/heads/master | 2021-05-12T08:31:17.581023 | 2018-03-07T23:41:45 | 2018-03-07T23:41:45 | 117,283,294 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 906 | cpp | #include "EditorBuffer.h"
#include <iostream>
#include <string>
using namespace std;
void execute_command(EditorBuffer &buffer, string line);
int main(void) {
EditorBuffer buffer;
while (true) {
cout << "*";
string command;
getline(cin, command);
if (command != "")
execute_command(buffer, command);
b... | [
"daniel.zuziak@gmail.com"
] | daniel.zuziak@gmail.com |
b9f57c0639e3cc260af0bdeffb3e5207d7908338 | 2de9e70c7b44b05f9029d8966bc2491378ed805f | /indie/object/IPowerUp.hpp | 315a5733f773c0ab79af18a035e6be9e3506032a | [] | no_license | Zoryi/indie_studio | 67cf3ffec17e71982642aeb6ebdd481565ec4e9d | bd2931d55bf09a8ae45c59e74b5a25e27daa873a | refs/heads/master | 2020-04-07T17:10:11.940514 | 2018-11-21T14:25:17 | 2018-11-21T14:25:17 | 158,558,080 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 238 | hpp | //
// EPITECH PROJECT, 2018
// indie_studio
// File description:
// IPowerUp.hpp
//
#ifndef POWERUP_HPP_
#define POWERUP_HPP_
# include "IObject.hpp"
class IPowerUp : public IObject
{
public:
virtual ~IPowerUp() = default;
};
#endif
| [
"romain.devalle@epitech.eu"
] | romain.devalle@epitech.eu |
94ab6f6f037184890b6fdae9e8ad06e216f77de8 | da4cc98ed821ec4c41a0a29c926c0a97df3c0bff | /demo/framework-dx11/unorderedaccessiblebatch.h | 20c7875ec7b68b7ec4a038af80cc9eed7654b74d | [
"MIT"
] | permissive | rokuz/GraphicsDemo | 514d308ad147214480b53e58c47cfccb558a9cbd | 41300287cc9d2f7e4e0656348809db5b3c939ced | refs/heads/master | 2023-04-06T20:15:11.159235 | 2023-03-31T21:32:13 | 2023-03-31T21:32:13 | 17,832,703 | 11 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 1,642 | h | /*
* Copyright (c) 2014 Roman Kuznetsov
*
* 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, merge, pu... | [
"r.kuznetsow@gmail.com"
] | r.kuznetsow@gmail.com |
5608a9b97c922f6b022755c0efbe466851850b70 | a45067a48af5e720dc6144b39685d3b1fba0432f | /offer/3.cpp | 9887a24e63a104e17a8908f64453cccfff5a1619 | [] | no_license | lihao779/linuxsys | b8cb1d5a42a2a32fb648a094c4332e68ca501f71 | c445ff7d11ae546f3ca71aa430c7f788cf7e2e39 | refs/heads/master | 2023-05-29T17:28:54.924952 | 2021-06-15T14:26:03 | 2021-06-15T14:26:03 | 305,936,508 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,052 | cpp | #include <stdio.h>
#if 0
bool IsHavenum(int array[3][3], int row, int col, int num)
{
int temprow = 0;
int tempcol = col - 1;
int temp = -1;
while(temprow <= row - 1 && tempcol >= 0)
{
temp = array[temprow][tempcol];
if(temp == num)
return true;
else if(temp > n... | [
"3024978915@qq.com"
] | 3024978915@qq.com |
fe78a0dae67da977156383ae71393014e60bda8c | aaf04ff1e0ec94e769103faf6b74e4f3570337c5 | /sdks/spirit/boost/mpl/iter_fold_if.hpp | dc3791f7d882293b1bff07abb3da13eb455f4e91 | [] | no_license | jacob-meacham/Ego | 815ac6cb63f2fbf28e924f66729ca36147881000 | 682ae352fde6e08ad728899d81ab9a2039ccc27c | refs/heads/master | 2021-01-01T05:36:49.656269 | 2015-12-27T19:40:11 | 2015-12-27T19:40:11 | 10,834,409 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,131 | hpp |
#ifndef BOOST_MPL_ITER_FOLD_IF_HPP_INCLUDED
#define BOOST_MPL_ITER_FOLD_IF_HPP_INCLUDED
// Copyright Aleksey Gurtovoy 2003-2004
// Copyright Eric Friedman 2003
//
// 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.tx... | [
"jmeacham@palantir.com"
] | jmeacham@palantir.com |
dcbd68892c41f860cf6f1ae91a48bd16bccf7391 | bb6ebff7a7f6140903d37905c350954ff6599091 | /ui/app_list/views/apps_grid_view.cc | d7da61bd4191ed9c8d016eb58df39c7834f90923 | [
"BSD-3-Clause"
] | permissive | PDi-Communication-Systems-Inc/lollipop_external_chromium_org | faa6602bd6bfd9b9b6277ce3cd16df0bd26e7f2f | ccadf4e63dd34be157281f53fe213d09a8c66d2c | refs/heads/master | 2022-12-23T18:07:04.568931 | 2016-04-11T16:03:36 | 2016-04-11T16:03:36 | 53,677,925 | 0 | 1 | BSD-3-Clause | 2022-12-09T23:46:46 | 2016-03-11T15:49:07 | C++ | UTF-8 | C++ | false | false | 73,690 | cc | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/app_list/views/apps_grid_view.h"
#include <algorithm>
#include <set>
#include <string>
#include "base/guid.h"
#include "ui/app_list/app... | [
"mrobbeloth@pdiarm.com"
] | mrobbeloth@pdiarm.com |
bc4ccf67679f8c45dcf9ad364da3b32ec2050bf9 | ed5669151a0ebe6bcc8c4b08fc6cde6481803d15 | /test/magma-1.6.0/src/dpotrf_panel_batched.cpp | e64f1fb9539f78834c00c86f9eb55a16ac12c48b | [] | no_license | JieyangChen7/DVFS-MAGMA | 1c36344bff29eeb0ce32736cadc921ff030225d4 | e7b83fe3a51ddf2cad0bed1d88a63f683b006f54 | refs/heads/master | 2021-09-26T09:11:28.772048 | 2018-05-27T01:45:43 | 2018-05-27T01:45:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,424 | cpp | /*
-- MAGMA (version 1.6.0) --
Univ. of Tennessee, Knoxville
Univ. of California, Berkeley
Univ. of Colorado, Denver
November 2013
@author Azzam Haidar
@author Tingxing Dong
@generated from zpotrf_panel_batched.cpp normal z -> d, Sat Nov 15 19:54:09 2014
*/
... | [
"cjy7117@gmail.com"
] | cjy7117@gmail.com |
8533a4336175f9ee5d1e6bed19a9c3cb8da6e237 | 10377d9a5b1e2d451d07bb64d3981e936e1035d7 | /include/NumCpp/Functions/greater_equal.hpp | 4dc88fa5a4259b16380c0ef78614bc69fa62a6c5 | [
"MIT"
] | permissive | faichele/NumCpp | 03ac79cde618d6dfe08c3352fff7d235527a130f | 7c8fc50fbe44b80eaa105f0f9258120abddfcec2 | refs/heads/master | 2020-12-29T16:25:21.426391 | 2020-01-20T05:23:34 | 2020-01-20T05:23:34 | 238,668,660 | 0 | 0 | MIT | 2020-02-06T11:02:13 | 2020-02-06T11:02:12 | null | UTF-8 | C++ | false | false | 2,004 | hpp | /// @file
/// @author David Pilger <dpilger26@gmail.com>
/// [GitHub Repository](https://github.com/dpilger26/NumCpp)
/// @version 1.2
///
/// @section License
/// Copyright 2019 David Pilger
///
/// Permission is hereby granted, free of charge, to any person obtaining a copy of this
/// software and associated documen... | [
"dpilger26@gmail.com"
] | dpilger26@gmail.com |
c4335096b953f9efeeea3d64b018ea0722800ac8 | 452cd2da6d866568579e8f82477295bb44ea03d6 | /Example/main_writer.cc | 96e0a87353f22dc15e37532e111bb566846610d9 | [] | no_license | nlurkin/XMLPreProcessor | 7cfd57cd3d1811aa5fcb329f401c6c47c7a796e8 | f45c19e498e907d4d9ac7161df3975d53c7b00ea | refs/heads/master | 2021-05-16T02:49:11.190499 | 2015-06-25T11:43:44 | 2015-06-25T11:43:44 | 34,051,860 | 1 | 1 | null | 2020-02-29T21:39:51 | 2015-04-16T11:26:01 | Python | UTF-8 | C++ | false | false | 628 | cc | /*
* main_writer.cc
*
* Created on: 18 Apr 2015
* Author: nlurkin
*/
#include "XMLConfWriter.h"
#include "ex_struct.h"
#include <iostream>
#include <cstring>
using namespace std;
int main(){
XMLConfWriter writer;
exampleStruct test;
test.version = 42;
strcpy(test.name, "my_example");
test.my_substru... | [
"nlurkin@debian"
] | nlurkin@debian |
351201f6c09a3c555bb0219e57cd5624c1ff0d71 | 1588f7002ebfaceb9c382c73fce67ab435d0e840 | /utils/src/PointNormal/NormalEstimator.h | e040ed5a8875721e368acf837d85a25e21cf37b6 | [] | no_license | akosiorek/Tagger3D | ff04ac94a7f3bc9c0a189cc972e7cd3dcdb900ae | 6459f41517710168080badbfc09e3ea1625c6a09 | refs/heads/master | 2016-09-05T19:47:32.612709 | 2014-10-14T18:46:44 | 2014-10-14T18:46:44 | 12,671,025 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 890 | h | /*
* Tagger3D : NormalEstimator.h
*
* Created on: 28 lip 2013
* Author: Adam Kosiorek
* Description:
*/
#ifndef NORMALESTIMATOR_H_
#define NORMALESTIMATOR_H_
#include "PointNormal.h"
#include <pcl/features/normal_3d_omp.h>
namespace Tagger3D {
class NormalEstimator: public PointNormal {
public:
Normal... | [
"Kosiorek.Adam@gmail.com"
] | Kosiorek.Adam@gmail.com |
6e4bd73023694c8ba3f433e67544c9c54efccb04 | dd129fb6461d1b44dceb196caaa220e9f8398d18 | /topics/shared-memory/cat-mmap.cc | 442112c34208b3b218af5ab20f37f266448cde09 | [] | no_license | jfasch/jf-linux-trainings | 3af777b4c603dd5c3f6832c0034be44a062b493a | aebff2e6e0f98680aa14e1b7ad4a22e73a6f31b4 | refs/heads/master | 2020-04-29T19:13:33.398276 | 2020-03-29T20:45:33 | 2020-03-29T20:45:33 | 176,347,614 | 0 | 1 | null | 2019-10-01T06:02:49 | 2019-03-18T18:35:28 | C++ | UTF-8 | C++ | false | false | 683 | cc | #include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <sys/mman.h>
#include <stdlib.h>
#include <unistd.h>
#include <iostream>
#include <cassert>
int main(int argc, char** argv)
{
if (argc != 2) {
std::cerr << "Usage: " << argv[0] << " <filename>" << std::endl;
exit(1);
}
... | [
"jf@faschingbauer.co.at"
] | jf@faschingbauer.co.at |
05e3a0a1e6de3db461fa4c0fe23f100de76a3ee1 | 45a26f28a29ab6dd9d3bcf315117d814f50808b1 | /src/AppleSMBIOS/AppleSMBIOS-41/AppleSMBIOS.cpp | a26a5c96df9e4f1d39bf1ffb5388ce011f6669e8 | [] | no_license | zeborrego/opensource.apple.com | 0eb9161029ce8440dbdc4b5157b3927a6e381f8d | 88cbaab4a42e97cbbfe6b660f2f0945536821be6 | refs/heads/master | 2021-07-06T17:16:28.241638 | 2017-10-02T11:58:56 | 2017-10-02T11:58:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 34,266 | cpp | /*
* Copyright (c) 1998-2009 Apple Computer, Inc. All rights reserved.
*
* @APPLE_LICENSE_HEADER_START@
*
* The contents of this file constitute Original Code as defined in and
* are subject to the Apple Public Source License Version 2.0 (the
* "License"). You may not use this file except in compliance with th... | [
"mattl@cnuk.org"
] | mattl@cnuk.org |
7b8642e5d85671ce529dcac2a3788cd258953f5b | e2df82085ac658a7ca7c974919f3809e89d646bb | /LibWebRtcUsingExample/Include/rtc_base/signalthread.h | 2c11da4507c4eece4f18dae6e93aaa9f879d5cd7 | [
"Apache-2.0",
"MIT"
] | permissive | HATTER-LONG/NoteBook_WebRtcLearning | 7c846cf548804361123ff9cd6017cc05b3b9a559 | 834c94c82646e57d53fa5f1cc8210dda3799b78f | refs/heads/master | 2023-06-30T21:45:56.672079 | 2021-08-07T08:46:34 | 2021-08-07T08:46:34 | 338,822,304 | 3 | 2 | null | 2021-02-14T14:33:08 | 2021-02-14T14:22:12 | null | UTF-8 | C++ | false | false | 5,398 | h | /*
* Copyright 2004 The WebRTC Project Authors. All rights reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributing ... | [
"caolei6767@gmail.com"
] | caolei6767@gmail.com |
7e701d07e3a6c36f5795c283e7e071080c91083c | 79901169d636e19ca57096af214d73a2922e6b86 | /Marvel vs Capcom/Helper/VectorHelper.cpp | 1f3acf81bcd15ea06f9a4ada75405106285bc415 | [] | no_license | delpinor/taller7542 | d46ac3dabdfb4f35ad93cddf1f90ad913df4e2b1 | 36930692fe62cd2ee86d080aee2e29ad156079e5 | refs/heads/master | 2022-04-22T02:26:18.830009 | 2019-04-30T13:17:29 | 2019-04-30T13:17:29 | 257,655,906 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 344 | cpp | /*
* VectorHelper.cpp
*
* Created on: Apr 12, 2019
* Author: dev73
*/
#include "VectorHelper.h"
#include "StringHelper.h"
bool VectorHelper::contiene(std::vector<string> *vec, std::string valor){
if (std::find(vec->begin(), vec->end(), StringHelper::toLower(valor)) != vec->end()){
return true;
}
else{... | [
"rodrigo.sluciano1988@gmail.com"
] | rodrigo.sluciano1988@gmail.com |
a24d659b48edceb135204aaf79f01278ec2a4a61 | 01a2c436a1b8c9f2518ae2b0165b69603a6d8c52 | /date/main.cpp | c14536bc9ea8c0826b211c031c563d6f6b6969fa | [] | no_license | 0x81-sh/cpp-composition-article | 5c50905b6a76f05d528aaa84cad01f9af85e4bfb | 88de3e072798ab86c0fc788091b418afedaa65f7 | refs/heads/master | 2023-06-01T09:10:00.210917 | 2021-06-17T15:12:35 | 2021-06-17T15:12:35 | 377,873,192 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,188 | cpp | #include <iostream>
#include <cassert>
#include "Date.h"
void testIsLeapYear(const Date &date, bool expected);
void testAdd(Date &source, int days, const Date &expected);
void testDiff(Date &source, const Date &comparison, int expected);
int main() {
testIsLeapYear(Date(1, 1, 0), true);
testIsLeapYear(Date(1,... | [
"ulrich.barnstedt@gmail.com"
] | ulrich.barnstedt@gmail.com |
85099beff0ad7fc2c14257bcd30f2f0dac5e2c5e | 81cfe1dbd19df9e1dcb944bb9fec44238af153fc | /contest_grafos/ga.cpp | 4d9cbcbdb81c2daaa7beac941cf6294df100d700 | [] | no_license | weirdfish23/icpc | a3807bd4d93e8546ed818c0a0627e7ac405c1477 | 5464f928bca6e38cbb6fec945899af0f1d97ee90 | refs/heads/master | 2020-07-07T20:41:11.012953 | 2019-09-28T03:25:27 | 2019-09-28T03:25:27 | 203,472,187 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 186 | cpp | #include <iostream>
using namespace std;
int main (){
cout << 200000 << endl;
for(int i=1; i<=200000; ++i){
cout << i << " ";
}
cout << endl;
return 0;
}
| [
"jjcabrerarios@gmail.com"
] | jjcabrerarios@gmail.com |
7af69f5df3114533e65f12e0f9063824674a974c | f481aeb897c81095bf5bc544f9368aa78457694b | /1103.cpp | 5a0178fa188414437eb8e1355b5127cc39ca30a6 | [] | no_license | channyHuang/leetcodeOJ | 78b10f31f9a6c6571124208efe85201a3690f2da | b41e9c3c076074b6ab9349455b0cf40c270df41f | refs/heads/master | 2023-01-28T15:31:29.346320 | 2023-01-18T03:43:10 | 2023-01-18T03:43:10 | 221,703,848 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 438 | cpp | class Solution {
public:
vector<int> distributeCandies(int candies, int num_people) {
vector<int> res;
res.resize(num_people);
int n = 1, pos = 0;
while (candies >= n) {
res[pos++] += n;
if (pos >= num_people) pos -= num_people;
candies -= n;
... | [
"349117102@qq.com"
] | 349117102@qq.com |
1609244a1ad6c2cde27161dc0aac7fd20ea32d1c | b289812c11c6847107fe07066e7a5e09133f4245 | /Candy/candy.cpp | e8be4caae1df9da5188146fee7c51c85e16bef39 | [
"MIT"
] | permissive | somnusfish/leetcode | ccff146ac84eed6a92dabc600e7d4fd3f8981234 | eae387efd76159bc63948235fd1cb7d56f45335e | refs/heads/master | 2020-12-24T16:25:04.543885 | 2016-04-27T02:13:50 | 2016-04-27T02:13:50 | 35,150,389 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,296 | cpp | class Solution {
public:
int candy(vector<int>& ratings) {
if(ratings.size()==0){
return 0;
}
if(ratings.size()==1){
return 1;
}
int * candyArray = new int[ratings.size()];
int peak = 0;
int nadir = 0;
candyArray[0] = 1;
... | [
"somnusfish@gmail.com"
] | somnusfish@gmail.com |
060031cfc46e091203d2239c3131a08e473d4555 | 6d763845a081a6c5c372a304c3bae1ccd949e6fa | /day04/ex00/Cow.hpp | eb9ae99ba327530b7b9a000213f3313dc4ce3aad | [] | no_license | hmiso/CPP_modules | cc5539764b10d9005aea0ccdf894c0fd2562a649 | e0608a810ef6bbb7cb29461721f6248e0c3b88eb | refs/heads/master | 2023-02-28T09:12:49.284788 | 2021-02-06T14:40:33 | 2021-02-06T14:40:33 | 322,648,779 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,093 | hpp | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* Cow.hpp :+: :+: :+: ... | [
"macbook@MacBook-Pro-MacBook.local"
] | macbook@MacBook-Pro-MacBook.local |
36e33e9f80f6ad5f240e4953e0f367be28da17ba | ef87493adfa9386136dcf007c7f9e2bf131553a6 | /CGJ_Team/CGJ_Team/Object.h | 975ddc6837be6bc1d5abfdd23ef7ddca370dbec6 | [] | no_license | megax37/Tanks | b3ec17b75cb5430cae96af6243428ac0b3b3adaa | 74270618ca3424c201adde1b9f88b716d0e9a33c | refs/heads/master | 2020-06-16T13:03:09.580438 | 2017-01-21T02:23:34 | 2017-01-21T02:23:34 | 75,099,604 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 138 | h | #ifndef _OBJECT_
#define _OBJECT_
class Object
{
public:
void virtual update(int elapsedTime) = 0;
void virtual move() = 0;
};
#endif | [
"velkan14@gmail.com"
] | velkan14@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.