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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
032ef79c289644751caa6ef91a319c421c6661dc | 46117fe29f08fac144bfe234e4835ce05624f9a9 | /src/main.cpp | 878ef838898ee0fbadf7959610aa9d797e5b3e3b | [
"MIT"
] | permissive | djecom1/TTGO-T-Wristband-First-Steps | d322eb8942dcadcc8fb7313132e9cfd1ac0780dd | ef6ac92de175cce539d31e8ac31c37a6ba5354ea | refs/heads/master | 2020-12-24T04:23:29.581854 | 2020-01-25T15:28:49 | 2020-01-25T15:28:49 | 237,381,768 | 1 | 0 | null | 2020-01-31T07:34:47 | 2020-01-31T07:34:46 | null | UTF-8 | C++ | false | false | 450 | cpp | #include <Arduino.h>
#include <Wire.h>
#include <rom/rtc.h>
#include "wristband-tft.hpp"
#include "wristband-ota.hpp"
#include "clock.hpp"
#include "pages.hpp"
#include "mpu.hpp"
void setup()
{
deactivateWifi();
btStop();
Serial.begin(115200);
Wire.begin(I2C_SDA_PIN, I2C_SCL_PIN);
Wire.setCloc... | [
"r.hernandez@tvt.es"
] | r.hernandez@tvt.es |
5bc1be355f0d587bf5b203a30ca663bd8adf12f5 | 416681ce1a6f5f2ad323063703b1ec82f87cd98d | /FacebookProject/Status.h | b1fa14355e1b85a5be5cde408d1264bdc50c64f2 | [] | no_license | shirayadshalom/Facebook | d26934f371ca3b1e601210851009a3d880bcd820 | 7a1835209168777de45a1e98d80ef9d66fae7a0b | refs/heads/master | 2020-09-11T22:44:24.496103 | 2020-02-02T14:19:49 | 2020-02-02T14:19:49 | 222,214,975 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,120 | h | #ifndef __STATUS_H
#define __STATUS_H
#include <conio.h>
#include <windows.h>
#include "Date.h"
#include <string.h>
#include "Time.h"
class Status
{
public:
enum eColor{BLUE = 1, YELLOW = 14, LIGHTGREY = 7};
protected:
Date date;
Time time;
public:
Status() = default;
//d'tor
virtual ~Status() {};
virtual ... | [
"55780023+shirayadshalom@users.noreply.github.com"
] | 55780023+shirayadshalom@users.noreply.github.com |
7c71565626cda911ee0341e2c72e8b242c93085c | eaaf514a11d3a64a77d73946cfac26f0d98893ed | /problemset/interview-0805.cpp | b48e47d802f6d80fdfa4be1b26842447d97b120d | [] | no_license | yinweijie/Leetcode-Leetbook | 2e63d95f1fc2245662090ada5c52fded110261b7 | aeea86329a1563d856709d9cce7db9447e9e1999 | refs/heads/main | 2023-05-09T21:55:42.219787 | 2021-06-10T17:05:33 | 2021-06-10T17:05:33 | 326,009,315 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 549 | cpp | // 面试题 08.05. 递归乘法
// https://leetcode-cn.com/problems/recursive-mulitply-lcci/
#include <unordered_map>
using namespace std;
class Solution {
private:
unordered_map<int, int> memo;
public:
int multiply(int A, int B) {
if(B == 0) return 0;
if(memo.count(B) > 0) return memo[B];
if(B... | [
"ywj123450@gmail.com"
] | ywj123450@gmail.com |
11712215a2ae2997aaa9f15aace3f683a29865ca | a1a5b449d8dd2cdae86f30bafe575a2b22581e29 | /fboss/agent/hw/sai/api/HostifApi.h | 323987b608af13cb05dc241dd2e115b92b443b14 | [
"BSD-3-Clause"
] | permissive | capveg/fboss | a5e373a66ec727001c058a61319812213e117fdf | edc92a489e95be2fd156c605cac8ca83847d65fb | refs/heads/master | 2020-07-05T10:37:27.667627 | 2019-08-15T23:56:54 | 2019-08-15T23:56:54 | 202,626,192 | 0 | 0 | NOASSERTION | 2019-08-15T23:44:23 | 2019-08-15T23:44:22 | null | UTF-8 | C++ | false | false | 7,024 | h | /*
* Copyright (c) 2004-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
*/
#pra... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
302c54dd4427daed64172bd6226004618d76eebf | 7ec0686ea3168c5e83568bd80bd65f7755d1bb2d | /HorizonX Engine/HorizonX Engine/MeshRenderer.cpp | 8d19eff690f4e5238ad01f7b8b0c29f9c0ea7132 | [
"MIT"
] | permissive | JonasKorte/HorizonX-Engine | f72661259c32e5e5b2b00bfffe03f0f0f2b7bcf7 | 72927084138e846566d34dcb41e72bc83de1d0aa | refs/heads/master | 2023-02-27T03:23:04.949627 | 2021-02-03T09:55:29 | 2021-02-03T09:55:29 | 332,404,557 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,440 | cpp | #include "MeshRenderer.h"
namespace HX
{
MeshRenderer::MeshRenderer(Mesh mesh, Material* material)
{
this->m_mesh = mesh;
this->m_material = material;
}
MeshRenderer::MeshRenderer(const MeshRenderer& meshRenderer)
{
this->m_mesh = meshRenderer.m_mesh;
this->m_material = meshRenderer.m_material;
this->... | [
"jonaskorte2904@gmail.com"
] | jonaskorte2904@gmail.com |
b47d72d0e35678ddcf6be6aa0496f26600708af0 | c45ed46065d8b78dac0dd7df1c95b944f34d1033 | /TC-SRM-549-div1-600/immortalCO/MagicalHats.cpp | b76d55fedff3aca3d3ae64421de43eb82fd43b30 | [] | no_license | yzq986/cntt2016-hw1 | ed65a6b7ad3dfe86a4ff01df05b8fc4b7329685e | 12e799467888a0b3c99ae117cce84e8842d92337 | refs/heads/master | 2021-01-17T11:27:32.270012 | 2017-01-26T03:23:22 | 2017-01-26T03:23:22 | 84,036,200 | 0 | 0 | null | 2017-03-06T06:04:12 | 2017-03-06T06:04:12 | null | UTF-8 | C++ | false | false | 3,886 | cpp | #include <vector>
#include <string>
#include <cstring>
#include <algorithm>
using namespace std;
int N, M, R, C, E, lim;
int f[1594323];
bool g[1594323];
// f:走到这一步的时候,我能取得的最大金币数
int pid[13][13], s[13];
int e_l[26], e_r[26], e_c[13], p3[14], cnt[3];
// 输出方程
void print_e()
{
puts("Equation:");
for(int i = 0; i != E;... | [
"1261954105@qq.com"
] | 1261954105@qq.com |
f47eeb4e3b3dc525bde5788099fc4752b3dc72dc | c0ce442dccbb7d336490c576bb85f7448cb10ede | /src/test/prevector_tests.cpp | 296fc59f7913a870d9c034a21884fb72978109ff | [
"MIT"
] | permissive | sdrtcoin/sdrt | 17145ca4bcdde9c580b9da08c9f7b1d70a099f4b | 4cb9602d96f0d27470a9f10271ef3c81d74b9632 | refs/heads/master | 2020-03-27T02:48:22.192929 | 2018-08-23T08:05:17 | 2018-08-23T08:05:17 | 145,819,551 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,022 | cpp | // Copyright (c) 2015 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <vector>
#include "prevector.h"
#include "random.h"
#include "serialize.h"
#include "streams.h"
#include "test/test_sdr... | [
"sdrtcoin@gmail.com"
] | sdrtcoin@gmail.com |
faa9fc597dde3971162d8087795dde78ec6e984c | 1b903ba3bb5ad938601539612fc1a0768946ab53 | /ProyectoEngine/EngineDLL/Entity.h | ee6af7689cc65787c17aa673398a2f06e26a4b07 | [] | no_license | Luciano94/EngineG3 | 648f6e384db1f9330aa44b6dad924098bc0d3793 | e99c8a4d44c8d6fd6d0f952e39af3d0e14043de9 | refs/heads/master | 2020-05-04T03:37:31.344963 | 2019-04-02T01:08:41 | 2019-04-02T01:08:41 | 178,950,134 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 859 | h | #pragma once
#include "Renderer.h"
#include "Exports.h"
#include "BoundingBox.h"
class ENGINEDLL_API Entity
{
private:
glm::vec3 pos;
glm::vec3 rot;
glm::vec3 scale;
protected:
Renderer * render;
glm::mat4 WorldMatrix;
glm::mat4 TranslateMatrix;
glm::mat4 RotMatrix;
glm::mat4 ScaleMatrix;
v... | [
"l"
] | l |
ec2a2ac8a0cb00d32b41b5f46c639b21fcd34b21 | 3cf9e141cc8fee9d490224741297d3eca3f5feff | /C++ Benchmark Programs/Benchmark Files 1/classtester/autogen-sources/source-15783.cpp | ccd6b9e468ff7263d23c4fbd2e8f1ea71594095b | [] | no_license | TeamVault/tauCFI | e0ac60b8106fc1bb9874adc515fc01672b775123 | e677d8cc7acd0b1dd0ac0212ff8362fcd4178c10 | refs/heads/master | 2023-05-30T20:57:13.450360 | 2021-06-14T09:10:24 | 2021-06-14T09:10:24 | 154,563,655 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,929 | cpp | struct c0;
void __attribute__ ((noinline)) tester0(c0* p);
struct c0
{
bool active0;
c0() : active0(true) {}
virtual ~c0()
{
tester0(this);
active0 = false;
}
virtual void f0(){}
};
void __attribute__ ((noinline)) tester0(c0* p)
{
p->f0();
}
struct c1;
void __attribute__ ((noinline)) tester1(c1* p);
struct c1 : virtual... | [
"ga72foq@mytum.de"
] | ga72foq@mytum.de |
28681ea824c780a5a7bb5958fdfffaab05cb1709 | 228b25458e74199b18bfcdd0d1dc400e39e4a651 | /old/2523/main.cpp | 328924665c9d6cb1bd8d4207833f69b6fab92e78 | [] | no_license | luxroot/baekjoon | 9146f18ea345d6998e471439117516f2ea26f22c | ed40287fd53ae1f41d2958c68e6e04d498d528b9 | refs/heads/master | 2023-06-27T05:50:41.303356 | 2021-08-06T04:18:33 | 2021-08-06T04:18:33 | 111,078,357 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 280 | cpp | #include <iostream>
using namespace std;
int main()
{
int i,j,n;
cin >> n;
for(i=0;i<n-1;i++){
for(j=0;j<i+1;j++)cout << '*';
cout << endl;
}
for (;i>=0;i--){
for(j=0;j<i+1;j++)cout << '*';
cout << endl;
}
return 0;
} | [
"shinmg2520@gmail.com"
] | shinmg2520@gmail.com |
bd21bb8a16d648fc70e7db39841b9dc7693c2079 | c776476e9d06b3779d744641e758ac3a2c15cddc | /examples/litmus/c/run-scripts/tmp_1/MP+dmb.sy+addr-[ws-rf]-addr-data-rfi.c.cbmc_out.cpp | 65f8bd85f0017187df8b341a09335438070fac0d | [] | no_license | ashutosh0gupta/llvm_bmc | aaac7961c723ba6f7ffd77a39559e0e52432eade | 0287c4fb180244e6b3c599a9902507f05c8a7234 | refs/heads/master | 2023-08-02T17:14:06.178723 | 2023-07-31T10:46:53 | 2023-07-31T10:46:53 | 143,100,825 | 3 | 4 | null | 2023-05-25T05:50:55 | 2018-08-01T03:47:00 | C++ | UTF-8 | C++ | false | false | 56,284 | cpp | // 0:vars:4
// 6:atom_1_X11_1:1
// 4:atom_1_X0_1:1
// 5:atom_1_X5_2:1
// 7:thr0:1
// 8:thr1:1
// 9:thr2:1
#define ADDRSIZE 10
#define NPROC 4
#define NCONTEXT 1
#define ASSUME(stmt) __CPROVER_assume(stmt)
#define ASSERT(stmt) __CPROVER_assert(stmt, "error")
#define max(a,b) (a>b?a:b)
char __get_rng();
char get_rng( ... | [
"tuan-phong.ngo@it.uu.se"
] | tuan-phong.ngo@it.uu.se |
21c5ec31ea2176f5c95c1ade2f20f49c6a28d22e | deb09c2c51edd14cf5f27553d66643565b98a145 | /CVATools/include/ql/cashflows/coupon.hpp | 809629c2a6d10edea81fa21f3af3c71bee609271 | [] | no_license | humeaua/CVATools | 00edb01e83aff40bce21d789390009f1f7406eb1 | 405f7caaed597a63a63811d9fc3ff7759f4b1ba0 | refs/heads/master | 2020-06-01T00:54:56.046305 | 2015-07-19T19:12:08 | 2015-07-19T19:12:08 | 8,816,936 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,690 | hpp | /* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
Copyright (C) 2000, 2001, 2002, 2003 RiskMap srl
Copyright (C) 2003, 2004, 2007 StatPro Italia srl
This file is part of QuantLib, a free-software/open-source library
for financial quantitative analysts and developers - http://quant... | [
"alexandre.humeau@student.ecp.fr"
] | alexandre.humeau@student.ecp.fr |
a223535b0cae466e986dbca612aecbd0b7f907c3 | c8bbd39e8d5c5e3673ed87febd7a10086e665435 | /C/myxmlrpc/TestValues/stdafx.cpp | dd04caa2b0eb21e0ee68b5d9a9ae29421407c943 | [] | no_license | chohan/Test | 912dc6e575a7e855f3b24bbfd958460542c0992e | 1feda99f5f1d9a5f2e912597ac62fa3182f74d81 | refs/heads/master | 2020-06-14T05:57:58.752589 | 2020-02-07T02:21:56 | 2020-02-07T02:21:56 | 194,926,022 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 297 | cpp | // stdafx.cpp : source file that includes just the standard includes
// TestValues.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
// TODO: reference any additional headers you need in STDAFX.H
// and not in this file
| [
"shchohan@gmail.com"
] | shchohan@gmail.com |
bb3e732489ffe5bd2f8cf7fa7110849c7f396cf7 | 770615a5009de0f84468aad1cbad41b54263fad7 | /test/wangyi1.cpp | ab30d5f121e973e12263d14fbd49c9261092bfcd | [] | no_license | fengzi2023/leetcode | f20788f73545388329f786d2b85b5b51b0f2832f | 3a9c12015f3e2288431ec7e2b34107076f6a5424 | refs/heads/master | 2023-03-04T20:48:39.303172 | 2017-11-09T14:18:52 | 2017-11-09T14:18:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,261 | cpp | // 回溯 & 剪枝可以实现
// 回溯法搜索全排列树
#include<stdio.h>
#include<string>
#include<set>
using namespace std;
set<string> string_set;
void swap(char *a, char *b)//交换a,b
{
char t;
t = *a;
*a = *b;
*b = t;
}
bool is_perfect(char *str,int size) {
int i = 0;
int cnt = 0;
while ( i <... | [
"fengyuwei@baidu.com"
] | fengyuwei@baidu.com |
172df62feaf7e1f9f05d1254c67286a93c81fdec | bb6ebff7a7f6140903d37905c350954ff6599091 | /net/quic/quic_server_id_test.cc | 4a9c0f3cd8011cb70e3b49e2dfc25a74eddcdc2f | [
"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 | 15,799 | cc | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "net/quic/quic_server_id.h"
#include "testing/gtest/include/gtest/gtest.h"
using std::string;
namespace net {
namespace {
TEST(QuicServerIdT... | [
"mrobbeloth@pdiarm.com"
] | mrobbeloth@pdiarm.com |
e0cbfcaec1a5a7718cbe57375b122bf751951a30 | 77f95099bbc4f58bf42c8bc0d4e42aa625d09c7e | /inc/eco_aco.hpp | 6900d4494d58d3fadbd29cef6b0d06fcfac6eaf2 | [
"MIT"
] | permissive | CandyMi/libeco | d3eaca9585b91f852a83fbc16315636bf63ac3b6 | 09770093b0ceaefe6143d817a451e5f19a260d32 | refs/heads/master | 2023-08-26T11:29:24.672222 | 2021-11-05T07:13:46 | 2021-11-05T07:13:46 | 424,258,818 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,880 | hpp | // Copyright 2018 Sen Han <00hnes@gmail.com>
//
// 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 o... | [
"869646063@qq.com"
] | 869646063@qq.com |
e0c3d1794c585aed8683829a31b61e5ea4d90026 | 27515c7b60b71f4fabf86c1e080b66d6b10cca03 | /J04/ex01/PlasmaRifle.cpp | 449b8bc288a3e5063999d3fdd5d5b47fdca0ba3f | [] | no_license | bvan-dyc/CPPPool | ff6e4a054385c6506f8bdf1d0fb5ea9758982bbf | 67057d3717b4794dfe2729bc0966e52f32563006 | refs/heads/master | 2021-05-08T22:36:38.304435 | 2018-02-28T13:11:09 | 2018-02-28T13:11:09 | 119,678,302 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 451 | cpp | #include "PlasmaRifle.hpp"
PlasmaRifle::PlasmaRifle(void) : AWeapon("Plasma Rifle", 5, 21) {
}
PlasmaRifle::PlasmaRifle(PlasmaRifle const &other) : AWeapon("Plasma Rifle", 5, 21)
{
*this = other;
}
PlasmaRifle::~PlasmaRifle(void) {
}
PlasmaRifle& PlasmaRifle::operator=(PlasmaRifle const &other) {
AWeapon::opera... | [
"bvan-dyc@student.42.fr"
] | bvan-dyc@student.42.fr |
d48c15b43b0808800e89d61679d835a098f23b46 | 6832a29c646eb3756b442ec52834f3bb48d22be1 | /kernel/bidir_node.cpp | 6c810d07c1df74e27e25a9092f89074e9c095056 | [
"BSD-3-Clause"
] | permissive | m-asama/soma | c2c43c9b1dc65d871bcd05c52104045a7b8ed033 | 8fc5dd04ba14dead536b280efc4e18c7b97283bd | refs/heads/master | 2021-01-09T20:33:18.344172 | 2017-04-12T04:48:24 | 2017-04-12T04:48:24 | 63,848,841 | 13 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,240 | cpp | /**
* @file bidir_node.cpp
* @brief 双方向リンクリストのノード。
* @author Masakazu Asama <m-asama@ginzado.co.jp>
*/
#include "print.h"
template<class V>
bidir_node<V>::bidir_node(V &v)
: m_v(v)
{
//printstr("bidir_node<V>::bidir_node(V &v)\n");
m_next = nullptr;
m_prev = nullptr;
}
template<class V>
bidir_node<V>::~bidir... | [
"m-asama@ginzado.co.jp"
] | m-asama@ginzado.co.jp |
4c1d93eb74121bb8eb737e1c77f7eac5af8612c1 | d8805c5b8712cffb4429ab832846a9ce4aa95039 | /src/resonanceReconstruction/rmatrix/src/makeChannelRadiusTable.hpp | b63f4cc9b847681176a456d4392cd70fcfcd15b6 | [
"BSD-2-Clause"
] | permissive | njoy/resonanceReconstruction | da62c1ff2ac0a1feaa708bc64cd97b43b2b4ab7b | 074f009f9aea672286e8673352744b23a8ce54cb | refs/heads/master | 2023-03-21T05:52:22.519282 | 2020-10-30T16:26:16 | 2020-10-30T16:26:16 | 99,273,455 | 3 | 0 | NOASSERTION | 2022-08-15T20:21:46 | 2017-08-03T20:43:33 | C++ | UTF-8 | C++ | false | false | 2,115 | hpp | std::optional< ChannelRadiusTable >
makeChannelRadiusTable( const std::optional< endf::ScatteringRadius >& radius ) {
if ( radius ) {
auto makeTable = [] ( auto&& region, int interpolant )
-> TableVariant< Energy, ChannelRadius > {
auto toEnergy = [] ( const auto& value ) { return value * electronV... | [
"whaeck@gmail.com"
] | whaeck@gmail.com |
94d734b8d2c92f5891e475d4cbc4096e6d049db9 | 7f88f6ef7fe43cdcfe41984a8952f876dec1cd47 | /2443.cpp | 97359c3cff8ebff6fa51326c232860334c0c4ace | [] | no_license | skleee/boj-ps | 7498ca4b1fc892caafec6a6620bd9968aff0f6f0 | 818e36754d20c2dccfcf641a7d47dd1f0c087fd1 | refs/heads/master | 2020-07-25T22:14:10.971137 | 2020-03-08T17:11:38 | 2020-03-08T17:11:38 | 208,439,076 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 375 | cpp | #include <iostream>
#pragma warning(disable:4996)
/*
2443. 별찍기6
출력
*/
using namespace std;
int N;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);cout.tie(NULL);
cin >> N;
for (int i = 0; i <= N; i++) {
for (int k = 0; k < i; k++) {
cout << " ";
}
for (int j = 0; j < 2*(N-i)-1; j++) {
cou... | [
"leesk1027@gmail.com"
] | leesk1027@gmail.com |
afbcc9748a95a3332e8450f5632c41ed3d5395a8 | 500968dd9044ef4d9a64e73f2e78e32a03f03cd2 | /videoOnDemand/src/frameManager.h | e0a8f3f8ea71344af79e7da02deba8a7e9e1f419 | [] | no_license | olgen2013/videoCoding | 6f4ca95998fe6200973f53f70d8041401ef51b3f | e641fbdf978e0c3dca694d76dcac1ad164546644 | refs/heads/master | 2020-05-17T02:58:45.325535 | 2013-05-31T13:53:51 | 2013-05-31T13:53:51 | 13,319,547 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,914 | h | /*
* frameManager.h
*
* Created on: 21.02.2013
* Author: Johannes Goth (cmm-jg)
*/
#ifndef FRAMEMANAGER_H_
#define FRAMEMANAGER_H_
// own stuff
#include "frameManager.h"
#include "videoRecorder.h"
#include "videoRecorder.cpp"
// libraries
#include <boost/thread.hpp>
#include <vector>
// ROS includes
#incl... | [
"Johannes.Goth@ipa.fraunhofer.de"
] | Johannes.Goth@ipa.fraunhofer.de |
72785d6abc51f795addb87bd7730d5e5c8eeddb5 | 397f7112a994a3abe10f27967368a6a11d9d5f07 | /milk3_v1.cpp | a5f80f37f9e64cfbd42e03d9ad39d3f504425146 | [] | no_license | wxx5433/USACO | 4d15dfb631524de0e848573899c047cba09b94bc | 00547b2c7742c6a35491f853d10b80c317a7bc37 | refs/heads/master | 2016-08-03T10:30:34.245419 | 2014-01-26T15:07:44 | 2014-01-26T15:07:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,423 | cpp | /*
ID: wxx54331
PROG: milk3
LANG: C++
*/
/*
使用DFS搜索所有情况,对于已经出现过的状态进行剪枝
用一个bool数组pattern来记录三个桶的状态
再用一个bool数组result来记录当a桶为空时,c桶内牛奶的数量
最后结果主要扫描一遍result输出就可以了。
*/
#include<iostream>
#include<fstream>
using namespace std;
int a, b, c;
const int MAX = 21;
bool pattern[MAX][MAX]; //只要确定了两个桶就能确定整个状态
bool result[MAX];
void ... | [
"wxx5433@gmail.com"
] | wxx5433@gmail.com |
a179d03dc6b3f098acf75e152ca3ba1216b7311b | e2b80c517b4b0ab3051bb95a3b695b424b80bf66 | /剑指offer/链表中环的入口结点/main.cpp | e66683f67bf3676aa82e0cac53d6e0960f84c32b | [] | no_license | TheBeatles1994/BlueBridge | 738df4932d4c65a0c9bcd5e762645753f0a06430 | 10aa67a6b54a64a707b531d96f25a6b6b89f445f | refs/heads/master | 2021-04-27T00:04:52.319108 | 2018-09-04T08:51:04 | 2018-09-04T08:51:04 | 123,747,735 | 7 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 1,442 | cpp | #include <iostream>
#include <map>
#include <algorithm>
#include <vector>
#include <set>
#include <utility>
#include <string>
using namespace std;
struct ListNode {
int val;
struct ListNode *next;
ListNode(int x) :
val(x), next(NULL) {
}
};
ListNode *pHead;
ListNode *pCur;
ListNode *pNew;
/* 练... | [
"479488209@qq.com"
] | 479488209@qq.com |
bb649fdba68326c578ed46ac985bd491b048d348 | 09a4962b93c196f2f8a70c2384757142793612fd | /Dripdoctors/build/Android/Debug/Dripdoctors/app/src/main/include/Fuse.Scaling.h | 204124d57330d432d881054991df98ceb77b5671 | [] | no_license | JimmyRodriguez/apps-fuse | 169779ff2827a6e35be91d9ff17e0c444ba7f8cd | 14114328c3cea08c1fd766bf085bbf5a67f698ae | refs/heads/master | 2020-12-03T09:25:26.566750 | 2016-09-24T14:24:49 | 2016-09-24T14:24:49 | 65,154,944 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,768 | h | // This file was generated based on C:\ProgramData\Uno\Packages\FuseCore\0.32.14\$.uno.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Fuse.Binding.h>
#include <Fuse.Scripting.IScriptObject.h>
#include <Fuse.Transform.h>
#include <Uno.Collections.ICollection-1.h>
#include <Uno... | [
"jimmy_sidney@hotmail.es"
] | jimmy_sidney@hotmail.es |
fe250d3c6a229614a32f013b50834c4c829ff148 | 1dc7c229808de2e1e62065e44c8ef12dc6d83345 | /commandfile.cc | cb4545c5e798135e1e8870865f6002c9aa494a67 | [] | no_license | nthallen/arp-scopex-sim | a95d779acf6e3a5d4429b40f0887e84b5bad0be8 | 66afa54767d7c79b8e22584295f0a1b185859b79 | refs/heads/master | 2021-01-19T03:34:27.973995 | 2020-03-25T17:37:07 | 2020-03-25T17:37:07 | 87,323,647 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,659 | cc | /* commandfile.cpp */
#include <strings.h>
#include "commandfile.h"
#include "nl.h"
#include "nl_assert.h"
variableDef::variableDef(dReal* ptr, const char *name) {
this->ptr = ptr;
this->name = name;
}
commandFile::commandFile(const char *filename) {
nl_assert(filename != 0);
ifp = fopen(filename, "r");
if ... | [
"allen@huarp.harvard.edu"
] | allen@huarp.harvard.edu |
870d5bba95e7e7bd25054b0e442bb0442c482ecb | a9ab72c3dd7fdfe8b6e0b1b5e296bf4c39b9989d | /round1/leetcode164.cpp | 767f966d99bf2ece5e9ca2d79457a7e63271e80e | [] | no_license | keqhe/leetcode | cd82fc3d98b7fc71a9a08c5e438aa1f82737d76f | 86b2a453255c909f94f9ea3be7f2a97a6680a854 | refs/heads/master | 2020-12-24T06:38:15.444432 | 2016-12-07T19:15:02 | 2016-12-07T19:15:02 | 48,405,123 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,929 | cpp |
class Solution {
public:
//O(nlogn) solution
int __maximumGap(vector<int>& nums) {
if (nums.size() <= 1)
return 0;
sort(nums.begin(), nums.end());
int gap = 0;
for (int i = 1; i < nums.size(); i ++) {
int diff = nums[i] - nums[i-1];
gap = max(... | [
"keqhe@cs.wisc.edu"
] | keqhe@cs.wisc.edu |
18a7a27082fbc3c0a0700adf53f6f51cd2cc5b2f | 00a2411cf452a3f1b69a9413432233deb594f914 | /include/sqthird/soui/components/TaskLoop/TaskLoop.cpp | 420ba564fa89e43f913a2a0ce1ee469802aba279 | [] | no_license | willing827/lyCommon | a16aa60cd6d1c6ec84c109c17ce2b26197a57550 | 206651ca3022eda45c083bbf6e796d854ae808fc | refs/heads/master | 2021-06-26T21:01:21.314451 | 2020-11-06T05:34:23 | 2020-11-06T05:34:23 | 156,497,356 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,192 | cpp | #include "TaskLoop.h"
#include <unknown/obj-ref-impl.hpp>
#include <algorithm>
#include <cassert>
#include <deque>
#include <limits>
namespace SOUI
{
STaskLoop::STaskLoop() :
_lock(),
_runningLock(),
_thread(),
_itemsSem(),
_items(),
_hasRunningItem(false),
_runningItem(0),
_nextTaskID(0)
{
}
ST... | [
"willing827@163.com"
] | willing827@163.com |
c5c0f30d5361baf82e1bc037cca7558f6727eaea | 20c9c11b8400c6605d869c84e69c41c5faa3f260 | /2019/prac-2017-r2/D.cc | aa8ea2e04fc77b55a452d0c28d1d1041e215fc61 | [] | no_license | blmarket/icpc | 312ea2c667ec08d16864c1faa6fe75d3864dedbe | febfc2b758b7a4a4d6e5a6f05d24e3a964a3213a | refs/heads/master | 2021-07-23T20:20:19.780664 | 2021-05-15T13:39:04 | 2021-05-15T13:39:04 | 4,029,598 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,646 | cc | #include <iostream>
#include <algorithm>
#include <unordered_set>
#include <unordered_map>
#include <cstdlib>
#include <cstring>
#include <cstdio>
#include <sstream>
#include <numeric>
#include <iterator>
#include <queue>
#include <set>
#include <map>
#include <vector>
#define mp make_pair
#define each(it, v) for(auto... | [
"heojeong@amazon.com"
] | heojeong@amazon.com |
5521b39bbeac2b5a33170f2100ae99cd6524ac4d | c8b39acfd4a857dc15ed3375e0d93e75fa3f1f64 | /Engine/Source/Programs/UnrealFrontend/Private/Commands/PackageCommand.cpp | c3fb74292f823ee1e6cbc091ca8ccf32d8b878f2 | [
"MIT",
"LicenseRef-scancode-proprietary-license"
] | permissive | windystrife/UnrealEngine_NVIDIAGameWorks | c3c7863083653caf1bc67d3ef104fb4b9f302e2a | b50e6338a7c5b26374d66306ebc7807541ff815e | refs/heads/4.18-GameWorks | 2023-03-11T02:50:08.471040 | 2022-01-13T20:50:29 | 2022-01-13T20:50:29 | 124,100,479 | 262 | 179 | MIT | 2022-12-16T05:36:38 | 2018-03-06T15:44:09 | C++ | UTF-8 | C++ | false | false | 652 | cpp | // Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
#include "PackageCommand.h"
#include "Interfaces/ITargetPlatform.h"
#include "Interfaces/ITargetPlatformManagerModule.h"
#include "Misc/CommandLine.h"
#include "Misc/CoreMisc.h"
void FPackageCommand::Run( )
{
FString SourceDir;
FParse::Value(FCommandLine:... | [
"tungnt.rec@gmail.com"
] | tungnt.rec@gmail.com |
edf90f3dc3e569d4b901f26bbe29053b0ced5bbb | ce4a3f0f6fad075b6bd2fe7d84fd9b76b9622394 | /CWADReader.h | 2ff3ab11a1f68a6e3d7dbefe3214976467ff5219 | [] | no_license | codetiger/IrrNacl | c630187dfca857c15ebfa3b73fd271ef6bad310f | dd0bda2fb1c2ff46813fac5e11190dc87f83add7 | refs/heads/master | 2021-01-13T02:10:24.919588 | 2012-07-22T06:27:29 | 2012-07-22T06:27:29 | 4,461,459 | 5 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 4,546 | h | // Copyright (C) 2002-2011 Thomas Alten
// This file is part of the "Irrlicht Engine".
// For conditions of distribution and use, see copyright notice in irrlicht.h
#ifndef __C_WAD_READER_H_INCLUDED__
#define __C_WAD_READER_H_INCLUDED__
#include "IrrCompileConfig.h"
#ifdef __IRR_COMPILE_WITH_WAD_ARCHIVE_LOADER_
#inc... | [
"smackallgames@smackall-2bbd93.(none)"
] | smackallgames@smackall-2bbd93.(none) |
613b6ac1521073ccd27dc6199c9d7426f38e1e20 | cd4a412ce5519c733492b593e12e2a8369e6ee74 | /Test_app/src/main/jni/InfoFrameList.h | 0551ee8edc2b4c863f1cd00628f48a1510157797 | [] | no_license | xtremi/TowerDefenceApp | f15e2030e65c07016606dae8e143e47fb9a0011f | 91d91fbe60b2f6495618c4710745d74356e00609 | refs/heads/master | 2023-03-10T07:19:35.125248 | 2019-06-15T10:17:45 | 2019-06-15T10:17:45 | 189,074,010 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,011 | h | #pragma once
#include "InfoFrame.h"
#include <iostream>
#include <map>
class InfoFrameList : public InfoFrame {
public:
InfoFrameList(const glm::vec2& size, int headerCorner = 0, char* name = NULL)
: InfoFrame(size, headerCorner, name){ };
public:
void setListItemValue(const uString& key, const uString& val);
v... | [
"remi.lanza@jotne.com"
] | remi.lanza@jotne.com |
aa061b17a447352f22e7a1e5f7ad5abbdda78028 | a3b2d9b592787810c6c10f2b4e886d2e1f7652fe | /data/protein.cpp | a043ff5e5c45c0bab22dca89a545f19417345ed5 | [] | no_license | emptyewer/Interlink | 4e7c87a0ed52af091d8c2ccbdb973b39a0515048 | 7d4874e3c810c23ebdf0bbb8dde109e40d122d7a | refs/heads/master | 2021-01-19T13:47:00.107221 | 2018-07-20T23:16:51 | 2018-07-20T23:16:51 | 87,597,951 | 0 | 1 | null | 2017-04-27T19:28:12 | 2017-04-08T00:58:20 | C++ | UTF-8 | C++ | false | false | 1,237 | cpp | #include "protein.h"
/* When any Protein instance is initialized with a filename, the sequence is
* automatically digested with the default enzyme (Trypsin). Alternately, diget
* can also be called as a public method if a different enzyme is chosen.*/
Protein::Protein(QString filename) {
this->filename = filename... | [
"venky.krishna@icloud.com"
] | venky.krishna@icloud.com |
3202081a98ddcb0294e5eec0fe7f56c98ee45cf9 | 78a8eef4cd5c07366fdea34865fca31e61e6278c | /VehicleTemplate/Source/VehicleTemplate/SacrificePlayerState.cpp | 5c5904fde8678dd406ef00d2ee507f5740406e74 | [] | no_license | dynamiquel/Sacrifice | d5e55592324bab14db3203455e20740d12c69099 | 8aa36017340c1e9586583c5d7499cb3dc43892e6 | refs/heads/main | 2023-02-20T02:18:45.043062 | 2021-01-23T20:49:31 | 2021-01-23T20:49:31 | 312,891,366 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 116 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "SacrificePlayerState.h"
| [
"50085636+dynamiquel@users.noreply.github.com"
] | 50085636+dynamiquel@users.noreply.github.com |
ba82b6c9f0dbffbe45fa09646f03eca5960c3c28 | ec9ba9e2d7219ba1ff73e21f97693697cd3b0d1a | /plugins/modelInfo/modelInfo.cpp | 79ba93cd28d5ba21be5b3791734f0205b7dd9a88 | [] | no_license | nilfm/fib-grafics | d7935a42f785ddc42032ccd65234b8c103faaed6 | 826f93ede89a5495703ddda2304818626518001e | refs/heads/master | 2022-07-19T00:16:07.324551 | 2020-05-23T21:31:40 | 2020-05-23T21:31:40 | 242,142,681 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,133 | cpp | #include "modelInfo.h"
#include "glwidget.h"
void ModelInfo::writeModelInfo() {
cout << "Total number of loaded objects: " << scene()->objects().size() << endl;
int polygons = 0;
int vertices = 0;
int triangles = 0;
for (const auto& obj : scene()->objects()) {
polygons += obj.faces().size();
for (const au... | [
"nil.fons@gmail.com"
] | nil.fons@gmail.com |
662c97e99273296c4e01a995bb3a60f6995c1d3f | 0f44aa77e5c0f115826c3a2704199dba340da256 | /ural/1082.cpp | bda45bc16ae37204334091da9fec911c0f172e50 | [] | no_license | aswmtjdsj/oj-code | 79952149cab8cdc1ab88e7aba1a8670d49d9726c | bb0fed587246687d2e9461408a029f0727da9e11 | refs/heads/master | 2020-12-24T16:32:26.674883 | 2017-01-10T00:08:29 | 2017-01-10T00:08:29 | 18,274,815 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 255 | cpp | #include <iostream>
#include <cstdio>
using namespace std;
int main()
{
int n;
while(scanf("%d",&n) == 1)
{
for(int i = 1;i <= n;i++)
{
printf("%d",i);
printf("%c",(i == n) ? '\n':' ');
}
}
} | [
"bupt.aswmtjdsj@gmail.com"
] | bupt.aswmtjdsj@gmail.com |
07b4a5e0799f54f903237fbea0981fce5b6dc8e4 | 365913bcc02bfdf6b6f6c246855144663f7e052b | /Code/GraphMol/MolDraw2D/MolDraw2DQt.cpp | 6b209208dc6a0b9f6a46c20f0145c2c8a846b7e9 | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause"
] | permissive | UnixJunkie/rdkit | d8458eadca78ba1714be5c55ba75c8e164fc1479 | 3ddb54aeef0666aeaa2200d2137884ec05cb6451 | refs/heads/master | 2021-06-01T22:26:53.201525 | 2017-08-15T17:00:30 | 2017-08-15T17:00:30 | 100,572,461 | 2 | 0 | NOASSERTION | 2019-05-29T00:58:25 | 2017-08-17T07:03:53 | C++ | UTF-8 | C++ | false | false | 5,680 | cpp | //
// @@ All Rights Reserved @@
// This file is part of the RDKit.
// The contents are covered by the terms of the BSD license
// which is included in the file license.txt, found at the root
// of the RDKit source tree.
//
// Original author: David Cosgrove (AstraZeneca)
// 19th June 2014
//
#include "MolDraw2DQ... | [
"greg.landrum@gmail.com"
] | greg.landrum@gmail.com |
1f00b190e911bc49ea9d6306d2c7b1542528f127 | 798b1f598416bea9b95c094fcee4cc0c0b63a67a | /hpp-7ddce130c9d7/hpp/menu.h | 941542b97ed4cc935abf33964260efe4cfbc21f3 | [] | no_license | YuhBoyMatty/hpphack | 87e0d90869f93efb5342b27cce2d8c28e78f3069 | 2b18000ec3bce8db49c3ff84c1ea68e2bf0d3e7e | refs/heads/master | 2023-05-27T02:42:49.503107 | 2021-06-10T17:30:05 | 2021-06-10T17:30:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,922 | h | namespace Menu
{
enum TabsList
{
Tab_RageBot,
Tab_LegitBot,
Tab_Visuals,
Tab_Kreedz,
Tab_Misc,
Tab_GUI,
Tab_Settings
};
enum WeaponGroupsList
{
WeaponGroup_Pistol,
WeaponGroup_SubMachineGun,
WeaponGroup_Rifle,
WeaponGroup_Shotgun,
WeaponGroup_Sniper
};
enum FilesList
{
File_RageBot,... | [
"31269663+mr-nv@users.noreply.github.com"
] | 31269663+mr-nv@users.noreply.github.com |
9a88e2b0b621693433e1da2274d3b766e50c01db | 9fbb4f4fcf1ba449279773b5244664d3dbbfa335 | /UnitTests/PrimitiveTypes/4_7_Tests.cpp | a0ae26336cc463db59b1cb7b9ca2df0f8fdb3dcb | [] | no_license | ChrisMurimPark/EPI | 39f7ace21ff0a239e099f09fa09820d67dea4d6c | f38071d3b138b9449c9e73d7b12ec09ac06f134a | refs/heads/master | 2021-05-01T12:25:28.124726 | 2018-08-06T01:39:45 | 2018-08-06T01:39:45 | 121,065,706 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 837 | cpp | //
// 4_7_Tests.cpp
// UnitTests
//
// Created by Chris (Murim) Park on 7/31/18.
// Copyright © 2018 Chris (Murim) Park. All rights reserved.
//
#include <gtest/gtest.h>
#include "../../EPI/PrimitiveTypes/4.7/Solution1.hpp"
const double tolerance = 1e-10;
TEST(ExponentTest, TestPowerOfZero)
{
EXPECT_NEAR(1, ... | [
"chrispark@wustl.edu"
] | chrispark@wustl.edu |
27ac3c8795bc871047f98a301355d770b380e09f | 3574cef2feec7fc6a651e22f6d772dcc06833428 | /Engine_Algorithms/mge_v18_student_version/src/mge/behaviours/RotatingBehaviour.cpp | 93dcbf8d3ae2d4b1b9f07288806cd2d0d3baf86f | [] | no_license | MerryLovasz/advanced-tools | c91a950e14469308f96fbdc7abe2fb617ec100dd | c50f3c59a07ef42978adb317fe65df16e37926a9 | refs/heads/master | 2021-06-12T21:25:27.122909 | 2020-04-16T16:42:40 | 2020-04-16T16:42:40 | 254,403,611 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 998 | cpp | #include "mge/behaviours/RotatingBehaviour.hpp"
#include "mge/core/GameObject.hpp"
#include <cstdlib>
MovingBehaviour::MovingBehaviour(glm::vec3 pVelocity) :AbstractBehaviour(), velocity(pVelocity)
{
//ctor
velocity = pVelocity;
float x = static_cast <float> (rand()) / static_cast <float> (RAND_MAX);
float y = s... | [
"a.arisci@hotmail.com"
] | a.arisci@hotmail.com |
e6fcb1e5d00e2f41d3bdb4c0749fc51a7c96b84f | 924763dfaa833a898a120c411a5ed3b2d9b2f8c7 | /compiled/cpp_stl_11/bits_enum.h | 96b6bed326a6173f2a0d57387e19c895ca1f7fbc | [
"MIT"
] | permissive | kaitai-io/ci_targets | 31257dfdf77044d32a659ab7b8ec7da083f12d25 | 2f06d144c5789ae909225583df32e2ceb41483a3 | refs/heads/master | 2023-08-25T02:27:30.233334 | 2023-08-04T18:54:45 | 2023-08-04T18:54:45 | 87,530,818 | 4 | 6 | MIT | 2023-07-28T22:12:01 | 2017-04-07T09:44:44 | C++ | UTF-8 | C++ | false | false | 1,071 | h | #pragma once
// This is a generated file! Please edit source .ksy file and use kaitai-struct-compiler to rebuild
#include "kaitai/kaitaistruct.h"
#include <stdint.h>
#include <memory>
#if KAITAI_STRUCT_VERSION < 9000L
#error "Incompatible Kaitai Struct C++/STL API: version 0.9 or later is required"
#endif
class bit... | [
"kaitai-bot@kaitai.io"
] | kaitai-bot@kaitai.io |
0cf9e7f2f1d625fef3aae1d372575b4d467b5e9d | 59dcbe703e0f4f7edb65d29da6163baf6c46a75d | /STM32F7-MISS-TouchGFX_WRK/Application/Gui/generated/images/src/__designer/blue_icons_user_48.cpp | cb7576cbd1496deefc48894995cab16f14569585 | [] | no_license | sphinxyun/STM32F7-MISS-TouchGFX | 65fb99d877696fd80ef018aee4dfa70a29c99228 | 9cc1fd80d2086fa6a76cea5cc323672e62cc6fb6 | refs/heads/master | 2020-04-18T13:33:18.202134 | 2019-01-18T23:49:38 | 2019-01-18T23:49:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 51,812 | cpp | // -alpha_dither yes -dither 2 -non_opaque_image_format ARGB8888 -opaque_image_format RGB565 0x8149ae46
// Generated by imageconverter. Please, do not edit!
#include <touchgfx/hal/Config.hpp>
LOCATION_EXTFLASH_PRAGMA
KEEP extern const unsigned char _blue_icons_user_48[] LOCATION_EXTFLASH_ATTRIBUTE = // 46x46 ARGB88... | [
"poryzala@gmail.com"
] | poryzala@gmail.com |
493fd54866d3c346cd96c81a14a77f4639214f57 | 92d4587306dc66cd9e86b3edf447ead7ba197837 | /N6LYT/ghpsdr3/trunk/src/HPSDRProgrammer/mainwindow.h | 68d4b0a5bf4eb15a719a1466ec9d8c610077aa7f | [] | no_license | ZHJEE/OpenHPSDR-SVN | 6b469826054356da4607097d17a00aa234e1924b | efe1cc275cdeaf7e0314e0eba068c2033ceb16f6 | refs/heads/master | 2022-01-23T07:21:43.714129 | 2019-05-11T07:18:33 | 2019-05-11T07:18:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,231 | h | /*
* File: mainwindow.h
* Author: John Melton, G0ORX/N6LYT
*
* Created on 23 November 2010
*/
/* Copyright (C)
* 2009 - John Melton, G0ORX/N6LYT
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Found... | [
"john.d.melton@googlemail.com"
] | john.d.melton@googlemail.com |
f2cdcc9bd5d27e074e13d841688482cf6bb2c9d2 | c074c5a4277a3632c144238a057ad00f7057f025 | /TeamMembers.h | 878de2294cc704ef8c22b0ab31ac08268c10150d | [] | no_license | CDDDJ-A-2015/Project | 7d15eaf64c9ab044e078bda266fc1196782c674e | ef1a83521fc5385cfa16901cbb9b36a57cd53396 | refs/heads/master | 2018-12-28T15:36:21.521073 | 2015-05-26T14:37:59 | 2015-05-26T14:37:59 | 32,861,354 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 760 | h | /*
* File: TeamMembers.h
* Author: dm940
*
* Created on 21 May 2015, 10:10 PM
*/
#ifndef _TEAMMEMBERS_H
#define _TEAMMEMBERS_H
#include "ui_TeamMembers.h"
#include "Packets.h"
#include "Client_Side.h"
#include <vector>
extern int sockfd;
class TeamMembers : public QDialog {
Q_OBJECT
public:
TeamMembers();
... | [
"dm940@uowmail.edu.au"
] | dm940@uowmail.edu.au |
1bef120039e58c93605e14e409e7b185eb1dd89b | 168b8e5a1522c7ab93698804490c3b1a7a24191c | /顺时针打印二维数组.cpp | d53bcfc59ded47a1c115c1416a788901688695bd | [] | no_license | Dianmu/Code-for-daily-practices | 8b98924f78bde8321bd1a0345cc579b5c511bc48 | bf29e4b0ab06bb4cf551f9100ba89852534749b8 | refs/heads/master | 2021-01-21T16:34:52.079293 | 2017-06-12T08:54:42 | 2017-06-12T08:54:42 | 91,895,484 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,825 | cpp | #include <iostream>
#include <ctime>
#include <cstdlib>
#include <cstdio>
#include <unordered_map>
#include <vector>
#include <algorithm>
#include <set>
#include <stack>
using namespace std;
//This is to try file manipulations
//=====================================================================
void clockvise_pri... | [
"Dianmu@users.noreply.github.com"
] | Dianmu@users.noreply.github.com |
6fa3c3038579faf47d8b33a31bd2d58a195e2724 | 13064a8616cb26abb103f046ffe563d5a66876c6 | /Codejam/unsolved/CodeJam2017QualificationD_FashionShow/CodeJam2017QualificationD_FashionShow/solve2.cpp | e5eee61cd616fdb1de53987c2ff0a9ef8575ff73 | [
"MIT"
] | permissive | PuppyRush/Algorithms | edfb9ea3745342ebfe24e0c92c3cce59f6e461c7 | 9adfa86b915e50ca25e610db3f3bb66d602ec0e7 | refs/heads/master | 2022-10-09T12:05:56.530860 | 2022-09-28T14:41:18 | 2022-09-28T14:41:18 | 88,719,709 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,791 | cpp | #define _CRT_SECURE_NO_WARNINGS
#define MIN(a,b) ((a>b)?b:a)
#define MAX(a,b) ((a>b)?b:a)
#define FOR(i,size) for(i ; i < size ; ++i)
#define FOR_IN(i,size) for(i ; i <= size ; ++i)
#define FOR_REV(i) for(i ; i >=0 ; --i)
#define FOR_REV_SIZE(i,size) for(i ; i >=size ; --i)
#include <iostream>
#include <cstring>
#inc... | [
"gooddaumi@naver.com"
] | gooddaumi@naver.com |
ac5e45506dbea97abbe5ff64f9e3e4da7d9e5d06 | 97d1bfba6adafc0fbdd68bdfbeb314d33aa364be | /CodeForces/91/a/a.cpp | fbff259947512c8b43ca16e52ecb5cfea40e2256 | [] | no_license | github188/MyCode-1 | 26069f08222b154c08308a72a61f8e9f879a447e | 2227b9dd9a13114a1b2b294c3e70253b16f88538 | refs/heads/master | 2020-12-24T11:24:54.215740 | 2014-04-21T04:15:54 | 2014-04-21T04:15:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,067 | cpp | #include<stdio.h>
#include<iostream>
using namespace std;
long long a[10000];
int num;
int main()
{
num=1;a[0]=0;
for (int i=1;i<=9;i++)
{
long long fou=4,thr=3,ten=10,base=0;
for (int j=1;j<=i;j++) {base=base*ten+fou;}
for (int j=0;j<(1<<i);j++)
{
long long ans... | [
"wcwswswws@gmail.com"
] | wcwswswws@gmail.com |
38ea4b03829bda49febfc986303f399a4fff7778 | 1753eaec1e236d043c3e9dc7f163c4790ba699df | /src/kitti_writer.cpp | f6c0f738ef5e71e225c042758be010ded8f73bb5 | [] | no_license | SignalImageCV/ROSKittiWriter | 4b028810b52f00cd54dea22086cae7e8d92109ec | 888dc429c7239d4e32857eef2630c9a21f48b72a | refs/heads/master | 2020-06-07T14:41:22.718934 | 2019-04-20T13:34:43 | 2019-04-20T13:34:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,651 | cpp | /*======================================================================
* Author : Haiming Zhang
* Email : zhanghm_1995@qq.com
* Version : 2018年12月7日
* Copyright :
* Descriptoin :
* References :
======================================================================*/
#include <ros_kitti_writer/kitti... | [
"zhanghm_1995@qq.com"
] | zhanghm_1995@qq.com |
207ab3833541a3e64f8fa6591b389ec1585e1273 | dee9762ef3c35c9cd3b31578b827f4348250969f | /thrift/compiler/test/fixtures/stream/gen-cpp2/PubSubStreamingService.h | 28a03a2cbc65531fb3344d01e7452f911eee9f10 | [
"Apache-2.0"
] | permissive | spacehopy/fbthrift | fa6296ef4cbe4ca01286da512dec5a096939e992 | e26d115692be0a8c899c70c11853e1e26d86aba1 | refs/heads/master | 2023-02-08T07:36:27.082814 | 2020-12-28T13:50:33 | 2020-12-28T13:52:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,420 | h | /**
* Autogenerated by Thrift for src/module.thrift
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
#pragma once
#include <thrift/lib/cpp2/gen/service_h.h>
#include "thrift/compiler/test/fixtures/stream/gen-cpp2/PubSubStreamingServiceAsyncClient.h"
#include "thrift/compiler/... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
6a185211c4ca4719c9f7aa22b42e97eb0cb72541 | 1722686f8139aca7d6927ec7a6dfed13a5d319fb | /pc-client/player/painterboard.h | 6afb40e5cf3fccc833650941d1af8d2b6f7288e1 | [] | no_license | oamates/clientmy | 610ca1c825e503e0b477a9a579248d608435a5d0 | b3618b2225da198f338a3f2981c841dde010cd8d | refs/heads/main | 2022-12-30T14:53:43.037242 | 2020-10-21T01:01:12 | 2020-10-21T01:01:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,770 | h | #ifndef PAINTERBOARD_H
#define PAINTERBOARD_H
#include <QMap>
#include <QObject>
#include <QTimer>
#include <QPainter>
#include <QMutex>
#include <QJsonArray>
#include <QQuickPaintedItem>
#include <QJsonObject>
#include <QJsonArray>
#include <QJsonDocument>
#include "cloudclassroom/cloudclassManager/imageprovider.h"
... | [
"shaohua.zhang@yimifudao.com"
] | shaohua.zhang@yimifudao.com |
90a0fb7fff24e12cbf06dc49b5c77ff53ac28822 | 84a19fe0b89bb19caa1641aeadc9623c1a181767 | /codeforces/636_div3/c.cpp | 02b39ec302c28066c8cb362a22bf54537e357ad5 | [
"MIT"
] | permissive | wotsushi/competitive-programming | 75abae653cff744189c53ad7e6dbd2ca1a62e3a8 | 17ec8fd5e1c23aee626aee70b1c0da8d7f8b8c86 | refs/heads/master | 2021-06-10T06:42:40.846666 | 2021-05-31T10:32:51 | 2021-05-31T10:32:51 | 175,002,279 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,343 | cpp | #pragma region template 2.4
#include <bits/stdc++.h>
using namespace std;
template <typename T>
using pq_asc = priority_queue<T, vector<T>, greater<T>>;
typedef long long ll;
typedef vector<ll> vi;
typedef vector<vi> vvi;
typedef pair<ll, ll> ii;
typedef vector<ii> vii;
typedef vector<string> vs;
#define REP(i, n) for ... | [
"wotsushi@gmail.com"
] | wotsushi@gmail.com |
07251f73135a4adb4ed5d6b7a49034f73fcee4e6 | 4c6d4aadfad76986f2ee5d62fa2e10263d7d2788 | /Source/JavascriptUMG/JavascriptWindow.h | d78a0f2c9621c6957ac5e29ad23efe1b92796e96 | [
"BSD-3-Clause",
"MIT"
] | permissive | nicecapj/Unreal.js-core | 53ad04b7b363d878d868f5f699cda113cac1c407 | e19ffae8fe39768d7f30b373d21661fb798b52e0 | refs/heads/master | 2021-01-18T22:46:06.889285 | 2017-03-15T13:03:40 | 2017-03-15T13:03:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,103 | h | #pragma once
#include "JavascriptWindow.generated.h"
class SWindow;
/** Enumeration to specify different window types for SWindows */
UENUM()
enum class EJavascriptWindowType : uint8
{
/** Value indicating that this is a standard, general-purpose window */
Normal,
/** Value indicating that this is a window used f... | [
"nakosung@ncsoft.com"
] | nakosung@ncsoft.com |
cbe0c6df54bdfa5714d342c4454a00f2246053bb | f1c01a3b5b35b59887bf326b0e2b317510deef83 | /SDK/SoT_GhostShipEncounterVoyageCategory_classes.hpp | 25255cc48bb6f2491f9a1538dfe571f44eddc549 | [] | no_license | codahq/SoT-SDK | 0e4711e78a01f33144acf638202d63f573fa78eb | 0e6054dddb01a83c0c1f3ed3e6cdad5b34b9f094 | refs/heads/master | 2023-03-02T05:00:26.296260 | 2021-01-29T13:03:35 | 2021-01-29T13:03:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 791 | hpp | #pragma once
// Sea of Thieves (2.0) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "SoT_GhostShipEncounterVoyageCategory_structs.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Classes
//-------------------------------------------------------------... | [
"igromanru@yahoo.de"
] | igromanru@yahoo.de |
8e94f61142f5323653ad112afbabe45a5c371375 | eb663d5c73c9d74f0b5de618cdb0579587e86928 | /test/src/Utils_test.cpp | ee6cc5a11d00424b7edefa7de09c4319686c925c | [
"MIT"
] | permissive | andrsd/godzilla | e849bf5b66966d017437a2af5cf0dcc11cf543f9 | 296a10b39603a22a54053b009b3cb1c0b24d2008 | refs/heads/main | 2023-09-03T20:23:06.445778 | 2023-08-30T20:23:37 | 2023-08-30T20:23:37 | 123,453,473 | 5 | 0 | MIT | 2023-09-06T18:36:27 | 2018-03-01T15:27:17 | C++ | UTF-8 | C++ | false | false | 1,600 | cpp | #include "gmock/gmock.h"
#include "Utils.h"
using namespace godzilla;
TEST(UtilsTest, to_lower)
{
EXPECT_EQ(utils::to_lower("ASDF"), "asdf");
}
TEST(UtilsTest, to_upper)
{
EXPECT_EQ(utils::to_upper("asdf"), "ASDF");
}
TEST(UtilsTest, has_suffix)
{
EXPECT_TRUE(utils::has_suffix("asdf", "df"));
EXPECT... | [
"andrsd@gmail.com"
] | andrsd@gmail.com |
a4c8619c261000c0a6152dafaa4e54bac09da248 | 255c4886a061c0e17fbc458db3998637d058a0d0 | /code/msvis/MSVis/statistics/Vi2ChunkFieldIdDataProvider.h | 56c82357b19929e37fa78921b82a125ea59b8d6c | [] | no_license | keflavich/casa | 9f8aed7d3a1e7e944dedb57228b3f42665e7a245 | 175b53c57b66aa7a47aa90fdf3d76d33a99415d6 | refs/heads/master | 2021-01-17T11:03:24.350141 | 2016-05-25T21:07:56 | 2016-05-25T21:07:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,969 | h | // -*- mode: c++ -*-
//# Copyright (C) 1996,1997,1998,1999,2000,2002,2003,2015
//# Associated Universities, Inc. Washington DC, USA.
//#
//# This library is free software; you can redistribute it and/or modify it
//# under the terms of the GNU Library General Public License as published by
//# the Free Software Foundat... | [
"mpokorny@nrao.edu"
] | mpokorny@nrao.edu |
c89482efa314dd40521f89dea4c595579a3ae236 | 2e2ab873cfdd65885e2a29c8ad6d2deb9ed0a13e | /include/visiongraph/VisionGraph.h | 497d8252a87248d4d1a8393a15fb9d84fb54fd6c | [
"MIT"
] | permissive | xzrunner/visiongraph | 01e7f8df1e52837235a71190545b648e9a8ca4e9 | 476ea49bbf56d6a2caa062d05677e768575d7ea1 | refs/heads/master | 2021-01-09T19:45:10.540888 | 2020-09-01T00:44:10 | 2020-09-01T00:44:10 | 242,437,708 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 138 | h | #pragma once
#include <cu/cu_macro.h>
namespace vg
{
class VisionGraph
{
CU_SINGLETON_DECLARATION(VisionGraph)
}; // VisionGraph
} | [
"xzrunner@gmail.com"
] | xzrunner@gmail.com |
680c61caa838496ecd667578b9012316f16d9073 | f6f0f87647e23507dca538760ab70e26415b8313 | /6.1.0/msvc2019_64/include/QtWidgets/qtextedit.h | 184631b0c74264df04be13b0e7b0e29beb8b80f1 | [] | no_license | stenzek/duckstation-ext-qt-minimal | a942c62adc5654c03d90731a8266dc711546b268 | e5c412efffa3926f7a4d5bf0ae0333e1d6784f30 | refs/heads/master | 2023-08-17T16:50:21.478373 | 2023-08-15T14:53:43 | 2023-08-15T14:53:43 | 233,179,313 | 3 | 1 | null | 2021-11-16T15:34:28 | 2020-01-11T05:05:34 | C++ | UTF-8 | C++ | false | false | 12,424 | h | /****************************************************************************
**
** Copyright (C) 2019 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the QtWidgets module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage
** Licensees holding v... | [
"stenzek@gmail.com"
] | stenzek@gmail.com |
513f1445107f7dd896285557e2aadf51729f3538 | 33552f5a5f9734edfb2463f7086ef36495c69017 | /temp_ver/CG-Project/ViewFrame.cpp | f062a6319329ca5ca737e2dd25afcb6e432454bf | [] | no_license | ZJUZWT/CGProject | 6bbcb131521774015ab739a5ddca9e18a6be4e8d | 92699bf6a1c0cffd67b8c35c904911d986462b4e | refs/heads/main | 2023-02-17T20:01:39.856859 | 2021-01-20T12:20:11 | 2021-01-20T12:20:11 | 309,895,603 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,233 | cpp | #include "ViewFrame.h"
std::map<std::string, GLuint> ViewFramePool::_nameFBOMap;
std::map<GLuint, std::shared_ptr<ViewFrame>> ViewFramePool::_FBOFrameMap;
GLuint ViewFramePool::GetFrameFBO(const std::string& name)
{
auto target = _nameFBOMap.find(name);
if (target != _nameFBOMap.end())
return target->second;
els... | [
"zty61211@gmail.com"
] | zty61211@gmail.com |
8f5e910ed6af38b7984c2f1d2178d3bcda8291bf | 23961bb4570827602c2d0022a8f80ce5197d79be | /SensorTests/Microphone/MicPlot/MicPlot.ino | 06881571cb8c14ebae4828e7a7b48739fc5b4863 | [] | no_license | noblegasses/SOFT564z | 3bfb40a2d36ad09cf585238f32e1ccdce7d822db | 48472b0fda75ae1a0dd6846d70c56a7574a0408a | refs/heads/master | 2023-02-24T19:06:13.407696 | 2021-01-26T14:07:05 | 2021-01-26T14:07:05 | 299,572,186 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 411 | ino | int analog = A0;
int digital = 7;
void setup() {
// put your setup code here, to run once:
pinMode(analog, INPUT);
pinMode(digital, INPUT);
Serial.begin(9600);
}
void loop() {
// put your main code here, to run repeatedly:
int analogData = analogRead(analog);
int digitalData= digitalRead(digital);
Seri... | [
"nicholascoiro@gmail.com"
] | nicholascoiro@gmail.com |
f236b85e1970b33a26e2804833b839e5a829ef6d | 383513e0f782735e4ffb3e94b214172e3280363a | /ABC/152/B.cpp | aca7a36b5f5dbf2d1f00511e8a1be6b7f7d0230b | [] | no_license | face4/AtCoder | e07c123a604f56901b186c41aa318c93b115d8d1 | 9c81387cb0ee7f669b50d5cc591e05c87670ee36 | refs/heads/master | 2021-06-27T01:07:33.806176 | 2020-11-20T03:47:25 | 2020-11-20T03:47:25 | 137,498,533 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 260 | cpp | #include<iostream>
using namespace std;
int main(){
int a, b;
cin >> a >> b;
string s = "", t = "";
for(int i = 0; i < b; i++) s += to_string(a);
for(int i = 0; i < a; i++) t += to_string(b);
cout << min(s,t) << endl;
return 0;
} | [
"s1611361@u.tsukuba.ac.jp"
] | s1611361@u.tsukuba.ac.jp |
fad458b4b3452ab4cdf28d9429fa44f8fdc0f672 | 6c6e37259da0f0db8ff932bb6895ca19c24f7385 | /plugins/SSLStrategy/src/ssl/skill/PenaltyDefV2.cpp | c612cad3ef4e494c44f6fd33a86d85f695dfa3ec | [] | no_license | yuliangzhong/robokit_ssl2017 | a06cf174b71337a896f980af01cec0cc82443713 | 2e109ba31b693024aaa2065151acda8fd39a561c | refs/heads/master | 2021-09-18T17:18:31.654955 | 2018-07-17T01:51:45 | 2018-07-17T01:51:45 | 140,365,116 | 1 | 1 | null | null | null | null | GB18030 | C++ | false | false | 17,473 | cpp | #include "PenaltyDefV2.h"
#include "skill/Factory.h"
#include <VisionModule.h>
#include <PlayerCommand.h>
#include <CommandFactory.h>
#include <ControlModel.h>
#include "BallStatus.h"
#include <BestPlayer.h>
#include <robot_power.h>
#include "RobotCapability.h"
#include "GDebugEngine.h"
#include "GoaliePosV1.h"
namesp... | [
"zhongyuliang@sjtu.edu.cn"
] | zhongyuliang@sjtu.edu.cn |
cf5918596bb9b9115a90cd3357374a2e4e6942ea | 1e976ee65d326c2d9ed11c3235a9f4e2693557cf | /SimpleSearchCHdlg.h | a03bd157ea410b2de78183cc294d99e1eca60e28 | [] | no_license | outcast1000/Jaangle | 062c7d8d06e058186cb65bdade68a2ad8d5e7e65 | 18feb537068f1f3be6ecaa8a4b663b917c429e3d | refs/heads/master | 2020-04-08T20:04:56.875651 | 2010-12-25T10:44:38 | 2010-12-25T10:44:38 | 19,334,292 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,974 | h | // /*
// *
// * Copyright (C) 2003-2010 Alexandros Economou
// *
// * This file is part of Jaangle (http://www.jaangle.com)
// *
// * This Program is free software; you can redistribute it and/or modify
// * it under the terms of the GNU General Public License as published by
// * the Free Software Found... | [
"outcast1000@dc1b949e-fa36-4f9e-8e5c-de004ec35678"
] | outcast1000@dc1b949e-fa36-4f9e-8e5c-de004ec35678 |
45a154dc71fbf078d586af66f7c3a1bd2fbcd4c6 | 2e2c142919b728417f464b1834bdab929693d85a | /Problem Solving/Algorithms/Implementation/Minimum Distances/minimum distances.cpp | 8c863c46690bca302f32bb2d69f24185ec885b0e | [
"MIT"
] | permissive | ryderdo/HackerRank | d6ce2fbe18375fb666b6611897179915e2203ebf | 072c5796eb5907f45f214f1af45338d0c6830893 | refs/heads/main | 2023-04-25T06:09:04.331931 | 2021-05-17T03:48:15 | 2021-05-17T03:48:15 | 368,132,040 | 1 | 0 | MIT | 2021-05-17T09:39:40 | 2021-05-17T09:39:39 | null | UTF-8 | C++ | false | false | 1,327 | cpp | /* Author: Isaac Asante
* HackerRank URL for this exercise: https://www.hackerrank.com/challenges/minimum-distances/problem
* Original video explanation: https://www.youtube.com/watch?v=TgcJHlu64zo
* Last verified on: March 26, 2021
*/
/* IMPORTANT:
* This code is meant to be used as a solution on HackerRank (lin... | [
"isaac.editor16@gmail.com"
] | isaac.editor16@gmail.com |
ccf60710bdc4701ab1a42115b9ced0651392ca87 | e6c80d747be1496b9c0ebcc8a8bc33bd64eb17dd | /Codes/C++ Programs/Others/Student.cpp | e69dd8898f28e569d77ea194f697168eae12b4a3 | [] | no_license | developersbk/Universal_Code_Snippets | 56b25fb43cc2c67113e97e691cc48f8a0b0193f6 | 0001535476a5743c0557c5ce2c3ffc13c6ee8791 | refs/heads/master | 2023-02-24T08:16:57.240264 | 2020-02-29T01:21:46 | 2020-02-29T01:21:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,709 | cpp | Student
#include<iostream.h>
#define NUM_TEST 10
#define NUM_STUDENTS 4
int test_grades [NUM_STUDENTS][NUM_TEST];
void enter_Grade()
{
int student,
test,
more=1,
grade;
char yorn;
cout << "\nenter a test grade\n";
while(more)
{
cout <<"\Student #";
cin>>student;
cin.ignore(80,'\n... | [
"sbkannath1996@gmail.com"
] | sbkannath1996@gmail.com |
8764952baf221e2e85ab9fd5fbf17436e823382a | 523968c38a94a953c204bfc8a3992779ae549ae3 | /Gameplay.h | f99172f465d474d4daf5eb74a710537634cba359 | [] | no_license | andy805/Battle | 8892c5106d457f2c5c9f69bca5c9ff992a1094d1 | 0240e99e5031e7f884f3c6a4fe6ef323b5998132 | refs/heads/master | 2020-09-14T09:20:18.181990 | 2019-11-21T04:26:57 | 2019-11-21T04:26:57 | 223,088,435 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,727 | h | #ifndef _GAMEPLAY_H
#define _GAMEPLAY_H
#include <vector>
#include "Level.h"
#include "Player.h"
#include "NPC.h"
#include "PauseMenu.h"
#include "GameplayObject.h"
class Gameplay {
public:
Gameplay();
~Gameplay();
static int frame;
static Gameplay * instance;
Level * level;
std::vect... | [
"alshan@calpoly.edu"
] | alshan@calpoly.edu |
e50ca395ffad915690808fb4ed06bab683e86792 | 600df3590cce1fe49b9a96e9ca5b5242884a2a70 | /chrome/browser/extensions/api/webstore_widget_private/app_installer.cc | 3c1af8493f77af3bb0fe4235ea901de4c50afe41 | [
"BSD-3-Clause"
] | permissive | metux/chromium-suckless | efd087ba4f4070a6caac5bfbfb0f7a4e2f3c438a | 72a05af97787001756bae2511b7985e61498c965 | refs/heads/orig | 2022-12-04T23:53:58.681218 | 2017-04-30T10:59:06 | 2017-04-30T23:35:58 | 89,884,931 | 5 | 3 | BSD-3-Clause | 2022-11-23T20:52:53 | 2017-05-01T00:09:08 | null | UTF-8 | C++ | false | false | 3,195 | cc | // Copyright 2013 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/extensions/api/webstore_widget_private/app_installer.h"
#include "base/macros.h"
#include "chrome/common/extensions/webstore_ins... | [
"enrico.weigelt@gr13.net"
] | enrico.weigelt@gr13.net |
5876014a68e851bf4fae94d446177315e82f34c5 | e659689f77a4c8e34428b56c30d135be741fa2d7 | /Code/Common/Control/Action.h | 45bf9f97cfd89cedc1ecbbc56c162e701b11bb80 | [] | no_license | skyxiao/acmrcsh | 01db2823b2ae495abddb47ef296c0fb97b99a374 | 3d52585d4311e71812b1976818752c81f497b569 | refs/heads/master | 2020-04-10T11:55:37.268992 | 2014-09-18T07:41:25 | 2014-09-18T07:41:25 | 21,031,185 | 2 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 2,596 | h | /*
* WaitCondition.h
*
* Created on: 2014Äê2ÔÂ19ÈÕ
* Author: acm
*/
#ifndef ACTION_H_
#define ACTION_H_
#include "boost/chrono.hpp"
#include "boost/function.hpp"
const int RESULT_UNFINISHED = 1;
const int RESULT_OK = 0;
const int RESULT_FAILED = -1;
class WaitCondition
{
public:
WaitCondition(boost::fun... | [
"sundongyan@gmail.com"
] | sundongyan@gmail.com |
7c36be16716b6ef993ed07b75aeac7bed8d350f7 | 30bdd8ab897e056f0fb2f9937dcf2f608c1fd06a | /DP/2958.cpp | 112aa284624bc70c45b05be1f5921f1f1459a67e | [] | no_license | thegamer1907/Code_Analysis | 0a2bb97a9fb5faf01d983c223d9715eb419b7519 | 48079e399321b585efc8a2c6a84c25e2e7a22a61 | refs/heads/master | 2020-05-27T01:20:55.921937 | 2019-11-20T11:15:11 | 2019-11-20T11:15:11 | 188,403,594 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 607 | cpp | #include <bits/stdc++.h>
using namespace std;
int n, k, tk;
string s;
int i, l, r;
deque<int>q;
int mx;
void solve(char c){
l = 0; r = 0;
while(l < n){
r = max(r, l);
while(r < n){
if(s[r] != c && q.size() < k){q.push_back(r);}
else if(s[r] != c && q.size() >= k)break;
... | [
"mukeshchugani10@gmail.com"
] | mukeshchugani10@gmail.com |
af250913d93ea0dc6ae1bc22dddf1432d53d832c | 11f3c2bce3736b7e650bc66ef57cb15687da5d74 | /Classes/AppDelegate.cpp | 94ceeb7d8a385cd9c9aac2b511a4e2d51330265f | [] | no_license | holybomb/ComboGem | 3cab3fe156884340e27a15f49ebebbdada270980 | 79e0c9ce5829e145476e28329a73ae13c95436e6 | refs/heads/master | 2021-01-25T00:16:10.330776 | 2013-10-10T10:01:08 | 2013-10-10T10:01:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,848 | cpp | #include "AppDelegate.h"
#include "MainMenuScene.h"
#include "GameScene.h"
#include "GameDefine.h"
USING_NS_CC;
AppDelegate::AppDelegate() {
}
AppDelegate::~AppDelegate()
{
if(SimpleAudioEngine::sharedEngine()->isBackgroundMusicPlaying())
SimpleAudioEngine::sharedEngine()->stopBackgroundMusic(true);
}
bool Ap... | [
"holybomb@163.com"
] | holybomb@163.com |
bb691c1bf433414466110388a961f5d644680b7f | fc2bbde24d8ec2e67526fcb0dfc34e52304a1f18 | /duct/IO/multistream.hpp | 2e298d06fffed2ae518591f1dd2cd63b5403caab | [
"MIT"
] | permissive | komiga/duct-cpp | f07d8d54ae12f6e1d297e8a2e3e828e958deb280 | 65862a832d497e55e8a6dd1df8dab2801e698a6e | refs/heads/master | 2020-06-08T09:50:43.703408 | 2015-10-31T19:15:14 | 2015-10-31T19:15:14 | 1,194,357 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 7,390 | hpp | /**
@copyright MIT license; see @ref index or the accompanying LICENSE file.
@file
@brief Multicast stream.
*/
#pragma once
#include "../config.hpp"
#include "../aux.hpp"
#include "./memstream.hpp"
#include <type_traits>
#include <utility>
#include <ostream>
namespace duct {
namespace IO {
// Forward declarations... | [
"me@komiga.com"
] | me@komiga.com |
fa2e097d3af2767c530ba34c9a75a1f1fdd4d1c5 | d1d6252e5cf049175dae97504fb3d263b614c8ae | /lib_color.h | 102990d611ce50080e6366096102300af69db306 | [
"MIT"
] | permissive | MathsionYang/Bag-of-Words_OpenCV | d333735065138d940b9d439b62e2788800d64a41 | 1de74762f030b6174555e41ef5297c4a478b1476 | refs/heads/master | 2021-06-04T03:57:32.539262 | 2016-07-24T19:01:18 | 2016-07-24T19:01:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 719 | h |
#include <opencv2\core\core.hpp> // include core.hpp to use MAT
#include <vector>
/*
* class that includes some color methods
*
*
* written by Cagatay Odabasi
*
*/
// The name is to prevent from confusion
class Colorful
{... | [
"cagatayodabasi91@gmail.com"
] | cagatayodabasi91@gmail.com |
ee71aa1d382830242b9745950923b3b09607e549 | fab88a9d23aec744b7b4e409b05558783521659f | /Lesson_2/Task_4/main.cpp | e62664ef7ed78141bc0d9614fee2dc0af5efbaed | [] | no_license | ulairon/NG_2021_Kravchenko_Vladyslav | a43adef708b8bcbd022ab749e999ba4abeff4ced | 82002b260e8b4abbfa440f81f685a580a457dadb | refs/heads/master | 2023-06-26T19:30:25.588117 | 2021-07-30T06:35:05 | 2021-07-30T06:35:05 | 384,914,996 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 992 | cpp | #include <iostream>
using namespace std;
int main()
{
int dlina, for_dlina, for_dlina_2 ;
cout << "vvedite dlinnu pravilnogo treugolnika: " ;
cin >> dlina ;
cout << endl ; //to make free space.
if (dlina <= 1)
{
cout << "dlinna dolzhna bit bolshe chem 1" ;
} else {
for (i... | [
"wwmoonrage@gmail.com"
] | wwmoonrage@gmail.com |
c8005404b7a2e32cb1ae429936ab6dda9f72164a | e1dd28ef63548cceeab7353988336be30b7c6db5 | /BroadcastIPAddr/BroadcastIPAddrClient.h | e7ce95e71c97acae228be11a3e4ff338905df8a0 | [] | no_license | liangqidong/BroadcastIPAddr | f6a8979545783a32672a25d35e6ab99ab5eb974c | c24b9c8d6898dbc5e82e3ea4e8450b42a835efae | refs/heads/master | 2020-06-28T10:16:19.989525 | 2019-08-27T09:18:58 | 2019-08-27T09:18:58 | 200,207,742 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 655 | h | #ifndef BROADCAST_IP_ADDR_CLENT_H
#define BROADCAST_IP_ADDR_CLENT_H
#include "BroadcastComDefine.h"
class BroadcastIPAddrClient
{
public:
BroadcastIPAddrClient();
~BroadcastIPAddrClient();
long RegRecFun(BroadcastRecDataFun recDataFun);
long BindBroadcastServerPort(unsigned int port);
long SendData(const char* da... | [
"18088708700@163.com"
] | 18088708700@163.com |
41ca4508651e2848b6ab93a2614b46631a7898dd | 37921f2bce42c9618a50fa298df7cfb82e1abc7c | /Code/RHI/BerserkRHI/RHIDevice.hpp | 32c7393e7092b65ae684b170ec20b87a9cfb5ab6 | [
"MIT"
] | permissive | checkioso/Berserk | 17e7ee812f6685e92a447209b0874dcec3a44976 | 92c574aa01c5885857e4742f33183b75941b7b24 | refs/heads/master | 2023-05-04T23:33:27.883883 | 2021-05-20T18:25:03 | 2021-05-20T18:25:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,698 | hpp | /**********************************************************************************/
/* This file is part of Berserk Engine project */
/* https://github.com/EgorOrachyov/Berserk */
/****************************************************************... | [
"egororachyov5@gmail.com"
] | egororachyov5@gmail.com |
48dc3e559c3919b4959d6ec561b98a1531019e4f | 2e619c8e2b667640989c6703a39fde3e4485679b | /2. Leetcode/easy level/311. number of rectangles that can form the largest square.cpp | 211703d9456b07787e25abaa4c25d590f0416f0b | [] | no_license | satyampandey9811/competitive-programming | 76957cde72ba217894ba18370f6489d7c481ba55 | 8ca1e2608f5d221f4be87529052c8eb3b0713386 | refs/heads/master | 2022-10-14T11:13:16.704203 | 2022-09-20T18:24:09 | 2022-09-20T18:24:09 | 203,355,790 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 490 | cpp | // link to question - https://leetcode.com/problems/number-of-rectangles-that-can-form-the-largest-square/
class Solution {
public:
int countGoodRectangles(vector<vector<int>>& a) {
int maxl = 0, n = a.size();
for(int i = 0; i < n; i++) {
maxl = max(maxl, min(a[i][0], a[i][1]));
... | [
"satyampandey9811@gmail.com"
] | satyampandey9811@gmail.com |
7d74e91ee9cf26c3cab921c70d7413c2c6857fdb | 60cbfe82da04f4c8c1d1505986b815da098335e2 | /core/sqf/src/seabed/src/npvmap.cpp | 8fb62d2d47cc747805a7b22ed9c8df28d254ee6b | [
"Apache-2.0"
] | permissive | alchen99/traf-merged | 596fdd637c843960aa9d28b90afa1a01ae2de4f3 | cfd94433098b02ec5394c96b8b76adbf50403abe | refs/heads/master | 2020-12-03T00:00:57.962489 | 2015-06-04T21:43:43 | 2015-06-04T21:43:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,768 | cpp | //------------------------------------------------------------------
//
// (C) Copyright 2006-2013 Hewlett-Packard Development Company, L.P.
//
//-@@@-END-COPYRIGHT-@@@--------------------------------------------
#include "seabed/int/opts.h"
#ifdef SQ_PHANDLE_VERIFIER
#include <stdio.h>
#include <string.h>
#include... | [
"gonzalo.correa@hp.com"
] | gonzalo.correa@hp.com |
39e7c66735816fc1cbb701a1a3539efdcae16785 | 0dbaa12e7fcc562322d9a51f60a56ce60e1bb6c7 | /Source/Main.cpp | 85fd497e0e66430562178d970a54ad02aa63ac52 | [] | no_license | jacobmilligan/Robot-Navigation-Problem | f6ea9ce64cb30c94979c223738352f772d3ff6f7 | 495c29021dd11166c27ad492bcaf65ef766fb31f | refs/heads/master | 2021-01-20T04:37:29.379999 | 2017-04-20T02:54:25 | 2017-04-20T02:54:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,713 | cpp | //
// Main.cpp
// COS30019 Intro To AI - Assignment 1
// Robot Navigation
//
// --------------------------------------------------------------
//
// Created by
// Jacob Milligan 100660682
// 19/03/2017
//
#include "Parsers/CLIParser.hpp"
#include "Parsers/FileParser.hpp"
#include "Visualizer/VisualizerApp.hpp"
... | [
"jacobpmilligan@gmail.com"
] | jacobpmilligan@gmail.com |
9eb004f272dd582482152bdff6cc19f1868eb2b5 | db0cdf27fc0d46bb5cc0c1b2e1945be63ce70c4d | /test/get_all_puyo_test.cpp | bc5b8c926471e2cdcd29711f7dc22eff30c28bc1 | [] | no_license | sirogamichandayo/puyo_recognition | 7315bcf24fbed8357dbe0dc52537f32b3964e12a | ce8c4cff175ee200b8a4ae48ede76ab5e72ae397 | refs/heads/master | 2022-11-25T03:27:25.999316 | 2020-07-30T12:30:07 | 2020-07-30T12:30:07 | 210,817,377 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,018 | cpp | #define DEBUG_YELLOW 1
#include "../src/recognition/state_main.h"
#include "../src/recognition/screen_shot.h"
#include "../src/log/log.h"
#include "opencv2/opencv.hpp"
#include "opencv2/highgui.hpp"
#include <vector>
#include <string>
#include <iostream>
namespace pic_ = pic::gst;
int main(int argc, char **argv)
{... | [
"sirogamiemacs@gmail.com"
] | sirogamiemacs@gmail.com |
c1e801910ff00bde44287ffd2b09e16061957270 | 340a78d1175b71aceed68bdc80262360eb077c23 | /opsin-core/main/opsin-core/AmbiguityChecker.h | 9aa9e8401ce2894b797409327bd6704c8c06656f | [] | no_license | voddan/opsin-cpp | c1e41986dbc9a7289a01df44c15982044a148f3d | 5af1c1f4f63169033e4ce727b4356a5de786cbab | refs/heads/master | 2021-07-01T10:35:01.481583 | 2017-09-22T11:48:28 | 2017-09-22T11:48:28 | 103,264,497 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,712 | h | #pragma once
#include <string>
#include <unordered_map>
#include <vector>
#include <stdexcept>
#include <boost/optional.hpp>
#include <set>
#include "stringhelper.h"
#include <base_c/bitarray.h>
//JAVA TO C++ CONVERTER NOTE: Forward class declarations:
class Atom;
class Bond;
class StereoAnalyser;
//JAVA TO C++ CO... | [
"dgvodopyan@gmail.com"
] | dgvodopyan@gmail.com |
9c9b805ec59aac8f795352c9eff2fe275d6282b7 | ece34e2eeb4d6a0b3c9867591c667c39bfbf3a7f | /server/Flatbuffer/message_generated.h | 319f24625b456dda60862207e497d33c0258f39f | [] | no_license | brucelevis/networked-physics-simulation | b94d679373af530442b9d80c8c11d53a29b0db22 | 0de584413facb391a9c11865af76f7c67bb20a89 | refs/heads/master | 2022-01-04T15:17:49.729578 | 2019-06-19T01:40:07 | 2019-06-19T01:40:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,609 | h | // automatically generated by the FlatBuffers compiler, do not modify
#ifndef FLATBUFFERS_GENERATED_MESSAGE_NETWORKEDPHYSICS_H_
#define FLATBUFFERS_GENERATED_MESSAGE_NETWORKEDPHYSICS_H_
#include "flatbuffers/flatbuffers.h"
namespace NetworkedPhysics {
struct Message;
struct MessageAck;
struct ClientConnectMessage... | [
"joel.r.hays@live.com"
] | joel.r.hays@live.com |
e1e65c79cb291cc175c0457f0d667e059daa2c8d | 3880ed9e62d9849e811b5de2d29522ddf0f8ad2c | /uva/374.cpp | 6e0be957b20a1dd9e914e39d621462743419f563 | [] | no_license | Krythz43/CP-Archieve | 936b028f9f0f90e555dc7c19c11d3939f7532b2f | 36b5f7449bbd93135f4f09b7564b8ada94ef99e6 | refs/heads/master | 2020-08-31T18:42:47.954906 | 2020-05-12T05:18:00 | 2020-05-12T05:18:00 | 218,757,326 | 0 | 0 | null | 2020-05-12T05:18:02 | 2019-10-31T12:08:54 | C++ | UTF-8 | C++ | false | false | 1,267 | cpp | #include <bits/stdc++.h>
using namespace std;
#define fastio ios_base::sync_with_stdio(0);cin.tie(NULL);cout.tie(NULL)
#define rep(i,n,z) for(int i=z;i<n;i++)
#define rrep(i,z) for(int i=z;i>=0;i--)
#define lli long long int
#define nl cout<<endl
#define vi vector<int>
#define vlli vector<long long int>
#define umap u... | [
"krithickrockz@gmail.com"
] | krithickrockz@gmail.com |
27d0d864c969e3ce8cf4abffa5aaaec61943cfbf | 5a59003fedc37bd2a371d0e04cea6b15802e61b0 | /include/turtlebot_common/parameter_accessor.h | a3e3ed8d22461e4af8f7311f67730b5b58a36a98 | [] | no_license | daniel-bencic/turtlebot_common | 123c2a761d1bf8385402514570c9b14082eef842 | 61112f4a6606f82b30dac52933351cdaea710464 | refs/heads/master | 2020-05-27T18:04:43.931722 | 2019-05-30T18:07:55 | 2019-05-30T18:07:55 | 188,735,799 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 867 | h | #ifndef PARAMETER_ACCESSOR_H
#define PARAMETER_ACCESSOR_H
#include <string>
#include <ros/ros.h>
#include "logging.h"
namespace turtlebot_common {
class ParameterAccessor {
public:
ParameterAccessor(ros::NodeHandle& nh);
template <typename T>
T GetParameter(const std::string& name) const;
private:
... | [
"d.bencic@protonmail.com"
] | d.bencic@protonmail.com |
bf6558148db13fa12176ff06ec9c057137bc49c0 | 8b4244f8b8dc18973d2afd18f26202bbac9cd9c0 | /main/zzz.ForMiyamoto/test/test_potential.cpp | c1c8e1b7d67602cfa9692e66561898914cee37d4 | [] | no_license | miiya369/analysis_code-set | e6f4cd1f9ae603876d8c444d18cfe0b7af496919 | 6ba1885028834eab2ff0702675060f4efa802e2f | refs/heads/master | 2021-01-21T04:44:35.058958 | 2017-08-01T16:13:34 | 2017-08-01T16:13:34 | 48,170,670 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,580 | cpp | //--------------------------------------------------------------------------
/**
* @file
* @ingroup potential
* @brief Main part for potential calculation
* @author Takaya Miyamoto
* @since Mon Jan 30 08:58:23 JST 2017
*/
//--------------------------------------------------------------------------
#include ... | [
"miiya369@gmail.com"
] | miiya369@gmail.com |
a6005e838b87e5d38ae9437fc4c2b5006d330dd5 | bd0d4f4e9441fc919691d0342d97984b8222f1cb | /HTML/html_maker.cpp | 59295331a3e6fe04f2d86aa42eec585784e947f4 | [] | no_license | heavyflavor/script | 6fb57f36e9e46f699f3090453a76e54a355197fa | 6264604adafa35405b0a726a37b938fcef23fefc | refs/heads/master | 2021-01-10T10:39:00.146848 | 2016-03-17T15:57:04 | 2016-03-17T15:57:04 | 54,131,201 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,199 | cpp | #include<iomanip>
void html_maker()
{
//*********************************************************// specify RunNumber & info.
int RunNumber = 15053001;
char trgSetup[50] = {"production_15GeV_2014"};
// char trgSetup[20] = {"pp500production"};
char typeEnergy[10]={"AuAu15"};
//***************************************... | [
"zhoulong07@hotmail.com"
] | zhoulong07@hotmail.com |
bd159aae1897fc72249a171dbabb04d21e8aab79 | 12f1f467a16782a79d1071408ae76fc254e084b9 | /include/iunoplugin.h | fb8b143e9ce4caa9365ee6a28de32d7439a680d4 | [] | no_license | dkhaleev/uno_bridge | 7e692885e9994e6ccfb89df74b25a6b09ceec37d | 02f88f03aaec4314d53d3a961f9d66c8768d7475 | refs/heads/master | 2023-07-17T17:09:11.278796 | 2021-08-30T18:46:30 | 2021-08-30T18:46:30 | 346,133,571 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 742 | h | #pragma once
#ifdef _WIN32
#define ADD_EXPORTS
#ifdef ADD_EXPORTS
#define UNOPLUGINAPI __declspec(dllexport)
#else
#define UNOPLUGINAPI __declspec(dllimport)
#endif
#define UNOPLUGINCALL __cdecl
#else
#define UNOPLUGINAPI
#define UNOPLUGINCALL
#endif
#define UNOPLUGINAPIVERSION (0x00000002)
class IUnoPluginControll... | [
"dkhaleev@gmail.com"
] | dkhaleev@gmail.com |
d2b87b04f085bdee968f037ffdd64242df120754 | dd8bc1a8dfcea7a0d8efea5fb1a9418e8385f017 | /suffix_array.cpp | 09a7afc75078f07b738c0e38d0cefa0d10b70a75 | [] | no_license | tanmoymollik/algos | a6d1228d5d9d6ac83b1e9b49ed3107883d11496e | c3be193dca05fcea1b78d02c925489079426957e | refs/heads/master | 2021-10-24T22:14:18.184890 | 2019-03-29T10:24:50 | 2019-03-29T10:24:50 | 106,557,409 | 4 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,692 | cpp | #include <bits/stdc++.h>
using namespace std;
#define MAX 100005
int Count[MAX], output[MAX];
struct suffixArray {
#define MAX_lg 17
#define minchar 'a'
#define Index(a) (((a) < len) ? index[mlgn][a] : -1)
int pos[MAX], index[MAX_lg][MAX], lcp[MAX], len, mlgn;
suffixArray() {}
suffixAr... | [
"fnd.shuvo22@gmail.com"
] | fnd.shuvo22@gmail.com |
6e4cfe5bd8d20340172aa48d7a4237c96c4f9276 | 1f0bad4cac3ab62d9dc5d281b551d07c4db3f41a | /17.11/17.11/hashtable.h | f7692317f0b29446b83fdbd1d34e563f0a074c61 | [] | no_license | GF2595/HW_First_Semester | 29ca634a5222c74cacb11f219a78edb973dd63d3 | 556ee19d3868ded13aed1acbec7a8db00d3dd93b | refs/heads/master | 2021-01-23T03:52:55.131458 | 2015-04-01T18:15:02 | 2015-04-01T18:15:02 | 33,264,038 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 452 | h | #pragma once
struct Hashtable;
//Makes new hashtable
//Returns hashtable pointer
Hashtable* makeTable();
//Adds new word to hash table
//Receives table pointer and string
void addHashElement(Hashtable *table, std::string element);
//Prints hashtable with noting times, each word was added
//Receives tab... | [
"gf2595@gmail.com"
] | gf2595@gmail.com |
670830ceaa4d40fcada6bf3ef176a901b3e911a6 | 447b81945f16274ecefc9df61f64f99931b71dab | /Arduino/stepper_speedControl/stepper_speedControl.ino | 1c98ccc542ab855030edf107a03b37777c4905e4 | [] | no_license | aglomeradoaberto/barn_door_tracker | 5abf6f6f229445bfa746e9cc5c63f5b0ba76285c | d382d00e2c5b27734d26ff30bf9e75ff6bb54df4 | refs/heads/master | 2022-12-02T20:22:04.340697 | 2020-08-25T00:23:21 | 2020-08-25T00:23:21 | 290,064,704 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 771 | ino | /*
* Barn door tracker
* Gustavo Retuci Pinheiro
* https://github.com/GustavoRP
*
* 28BYJ-48 stepper
* one revolution per day on 200mm platform, 8/1 reduction and M5-0.8mm curved threaded rod
*
*/
#include <Stepper.h>
#define STEPS 2048
Stepper stepper(STEPS, 8, 9, 10, 11);
void setup() {
// one revolutio... | [
"gustavo_r_p@hotmail.com"
] | gustavo_r_p@hotmail.com |
80f19efa4645d75990facd7e594fd9036fd6991d | 5fd336b1e29a2a439ec16f81b0ed6fd38a9538de | /Ncurses.cpp | 7d9b6eda0fc8f731c5a2b1ce0e714a349a8e8a0c | [] | no_license | itsmekate/ft_gkrellm | 58a7924cf0f5d77cf6f8e0fcf26a43942bec34c8 | 698101198a89cb759619e579807a5b935c44a295 | refs/heads/master | 2020-04-01T04:22:00.289774 | 2018-10-14T14:14:27 | 2018-10-14T14:14:27 | 152,860,364 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,746 | cpp | //
// Created by Kateryna PRASOL on 13.10.2018.
//
#include "Ncurses.h"
Ncurses::Ncurses()
{
initscr();
clear();
noecho();
cbreak();
keypad(stdscr, TRUE);
curs_set(FALSE);
start_color();
initwindows();
initpairs();
drawborders();
}
Ncurses::Ncurses(Ncurses &rhs)
{
*this = ... | [
"prasolkaterina@knu.ua"
] | prasolkaterina@knu.ua |
93464b1a16c17d23cc8187d5a20e4e3c749d1716 | 5fb67a5f965d5522cd0eccbf6f366d4304de782f | /Neon/src/Neon/Platform/Vulkan/VulkanDevice.h | 84d1a1d0e628910e31a47ffc706eea22cf40e84d | [
"Apache-2.0"
] | permissive | FilipHusnjak/Neon | 52bb2a14c4fc93c1ad5f0eb9e8f67415904b3168 | 3981a76f4a35302e0fc70d4e32b2b2ac19b53089 | refs/heads/master | 2023-08-04T10:44:12.250060 | 2021-09-14T21:31:33 | 2021-09-14T21:31:33 | 280,649,766 | 5 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,293 | h | #pragma once
#include "Core/Core.h"
#include "Vulkan.h"
namespace Neon
{
class VulkanPhysicalDevice : public RefCounted
{
public:
VulkanPhysicalDevice();
~VulkanPhysicalDevice() = default;
uint32 GetMemoryTypeIndex(uint32 typeBits, vk::MemoryPropertyFlags properties) const;
vk::PhysicalDevice GetHandle(... | [
"filip.husnjak@fer.hr"
] | filip.husnjak@fer.hr |
84d5d69a7512fe76eb850a2bd57423146c1d30bd | b9593d1a32fb132de18a9ffe36c826b1b26eaffb | /win32/boost/boost/mpl/size.hpp | 1c4efa166444e10ea436d00373c9bdd5e019b869 | [
"BSL-1.0"
] | permissive | autofax/sfftobmp_copy | 8f8b3b0d9bec2cff6d81bb6855e34f4d54f9d7eb | 6058b7c0df917af19b4b27003a189cf71bade801 | refs/heads/master | 2020-12-02T16:36:16.956519 | 2017-07-07T17:10:57 | 2017-07-07T17:10:57 | 96,559,550 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,087 | hpp |
#ifndef BOOST_MPL_SIZE_HPP_INCLUDED
#define BOOST_MPL_SIZE_HPP_INCLUDED
// Copyright Aleksey Gurtovoy 2000-2004
//
// 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/mpl for d... | [
"gerald.schade@gmx.de"
] | gerald.schade@gmx.de |
62cbc514c3e1a0aa4378294ecd4117f32e120f3c | 3b8fdeaa2f7b137bb8a2e0cf0beaa158831288e0 | /adapter/qt/metacall.h | cf34e5a43a51d499b0502ac94d03c94f02055864 | [
"MIT"
] | permissive | internetbroker/CoolerCppIdiom | b03153bf53dcda0d4bb56f5dc6ba0b4a36d9ee58 | 48883a40825166931fce61f98665ed6a806b3691 | refs/heads/master | 2020-09-20T04:52:02.604586 | 2019-07-12T19:00:15 | 2019-07-12T19:00:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,709 | h | #pragma once
#include <QtCore/QtCore>
namespace Qx
{
inline QVariant metaCall(QObject* object, QMetaMethod metaMethod, QVariantList args)
{
QList<QGenericArgument> arguments;
for (int i = 0; i < args.size(); i++)
{
// Notice that we have to take a reference to ... | [
"lushang@outlook.com"
] | lushang@outlook.com |
aba85448537729a78e4b8e4b7d17089bb696400d | 12505544ce8084691b5ec1c423bb571aae641f95 | /third_party/rust/rlbox_lucet_sandbox/include/rlbox_lucet_sandbox.hpp | 715c72c533f74fcf6ab79504680e3b3f0b482b2f | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | privacytoolkit/gecko-dev | 6a56a94f78022ff4435a0dbbafc9deaf28b93783 | 50745139bc9f4aa43af299a2420c1911a18b63f8 | refs/heads/master | 2022-04-05T13:49:23.463007 | 2020-02-12T07:56:43 | 2020-02-12T07:56:43 | 230,883,564 | 0 | 0 | NOASSERTION | 2019-12-30T09:04:53 | 2019-12-30T09:04:52 | null | UTF-8 | C++ | false | false | 31,730 | hpp | #pragma once
#include "lucet_sandbox.h"
#include <cstdint>
#include <iostream>
#include <limits>
#include <map>
#include <memory>
#include <mutex>
// RLBox allows applications to provide a custom shared lock implementation
#ifndef RLBOX_USE_CUSTOM_SHARED_LOCK
# include <shared_mutex>
#endif
#include <type_traits>
#i... | [
"shravanrn@gmail.com"
] | shravanrn@gmail.com |
3c82847c8d603cf64a9bd190b7b5946df5f85e55 | f9b82549bc83a4987ca1cccfd63b44b517cac9b1 | /tags/2.6.3/include/pqxx/transactor.hxx | ff6d990499460f08f56cc8b84072e1a619f454fd | [
"BSD-3-Clause"
] | permissive | svn2github/pqxx | fb98b0ed304c8df924811537f1348667d6a17f1f | 8d6e296372618d6ffcc750cbd5ee417ab282f456 | refs/heads/master | 2020-12-25T17:25:32.765973 | 2016-08-19T16:16:30 | 2016-08-19T16:16:30 | 40,840,938 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 8,048 | hxx | /*-------------------------------------------------------------------------
*
* FILE
* pqxx/transactor.hxx
*
* DESCRIPTION
* definition of the pqxx::transactor class.
* pqxx::transactor is a framework-style wrapper for safe transactions
* DO NOT INCLUDE THIS FILE DIRECTLY; include pqxx/transactor i... | [
"jtv@c3353b84-d008-0410-9ed9-b55c4f7fa7e8"
] | jtv@c3353b84-d008-0410-9ed9-b55c4f7fa7e8 |
4447fcd552ea85e0e7eabb91af107538d21d2daf | 1c9d04a9352e6d86480f9e0947f930db042d8e80 | /src/libs/utils/math/interpolation/interpolator.cpp | 6617739fed03204b05004a7728a5e992e8c2dad8 | [] | no_license | fawkesrobotics/fawkes | 2c9de0cdb1dfcc951806434fe08458de5a670c8a | ad8adc34f9c73ace1e6a6517624f7c7089f62832 | refs/heads/master | 2023-08-31T01:36:15.690865 | 2023-07-04T17:05:55 | 2023-07-04T17:05:55 | 1,030,824 | 62 | 26 | null | 2023-07-04T17:05:57 | 2010-10-28T04:22:55 | C++ | UTF-8 | C++ | false | false | 2,065 | cpp |
/***************************************************************************
* interpolator.cpp - Interpolator
*
* Created: Tue Nov 18 10:45:18 2008
* Copyright 2008 Tim Niemueller [www.niemueller.de]
*
****************************************************************************/
/* This program is free s... | [
"niemueller@kbsg.rwth-aachen.de"
] | niemueller@kbsg.rwth-aachen.de |
300a12e98b9d1a10e413dca04a47d6c04b2baaea | 9d7a8d3e8d5df680c32fa70c73ef7c2820986187 | /.history/D07/ex02/Array1_20210317193922.hpp | 39e9c382d006fec175df0a74dfa9ffe9fa550377 | [] | no_license | asleonova/cpp | dc2d606e361ffdfa2013953f68bd0da4530f34bc | adfaecc238cdb63053b34b106869d3185204d73a | refs/heads/master | 2023-04-06T19:27:21.725162 | 2021-04-13T19:18:00 | 2021-04-13T19:18:00 | 337,834,070 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,962 | hpp | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* Array1.hpp :+: :+: :+: ... | [
"dbliss@oa-f5.msk.21-school.ru"
] | dbliss@oa-f5.msk.21-school.ru |
39723f51238ee1ec56aedf527aca21b37741a3e2 | 3670f2ca6f5609e14cce8c31cb1348052d0b6358 | /perception_pcl/pcl_ros/include/pcl_ros/features/feature.h | 26bcfe6b0d3d3b44b6c48fe89eef3aa8f7ef042d | [] | no_license | jincheng-ai/ros-melodic-python3-opencv4 | b0f4d3860ab7ae3d683ade8aa03e74341eff7fcf | 47c74188560c2274b8304647722d0c9763299a4b | refs/heads/main | 2023-05-28T17:37:34.345164 | 2021-06-17T09:59:25 | 2021-06-17T09:59:25 | 377,856,153 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,846 | h | /*
* Software License Agreement (BSD License)
*
* Copyright (c) 2009, Willow Garage, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source code mu... | [
"shuyuanhao@cetiti.com"
] | shuyuanhao@cetiti.com |
ae6f5dab0e2c99f1e4acd3ecc16eea529d222f62 | 98cd78aad82b56adfe9e9658ffe299e9e8598b5b | /src/scenes/forms/FormCallback.hpp | 61867c5392ad3a0ee9c4960479c142aaec2f7c44 | [] | no_license | paul-maxime/bombercraft | 6e6ac6bcd31f4f05db1593aa9a7a5b297e24194f | fb7bf2aaf57423a251607556e52a9d0ec7355a8c | refs/heads/master | 2020-09-28T02:11:21.790785 | 2016-10-27T09:28:40 | 2016-10-27T09:28:40 | 67,894,054 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 524 | hpp | /**
* \file FormCallback.hpp
* Contains the templated-class FormCallback.
*/
#ifndef FORM_CALLBACK_HPP_
#define FORM_CALLBACK_HPP_
#include "AFormCallback.hpp"
template <class T>
class FormCallback : public AFormCallback
{
private:
typedef void (T::*t_handler)();
T* m_instance;
t_handler m_fct;
public... | [
"paulmaxime@openmailbox.org"
] | paulmaxime@openmailbox.org |
46495ecb09c66fc1460b57cea69e08fc07c55981 | 521b1719c9d3da52dfb63635b638771075a095a6 | /Ex8_FlappyBird/project/Box2DTestbed/Tests/Prismatic.h | bb0c714957583e42d29a7d0711996f322d690bf7 | [
"MIT"
] | permissive | fdfragoso/GameEngines | 836ea2787c9b90b3bb6e0593a0feda4ce44ab3a5 | c1dfcb03e009b0aca9803a9de5806e003aaf364e | refs/heads/master | 2020-07-16T20:29:40.503249 | 2019-09-02T14:00:28 | 2019-09-02T14:00:28 | 205,862,573 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,804 | h | /*
* Copyright (c) 2006-2009 Erin Catto http://www.box2d.org
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of this software.
* Permission is granted to anyone to use this software for any purpose,
* i... | [
"fefragoso@gmail.com"
] | fefragoso@gmail.com |
122ee988e9ba9e7f0d29130d812526a2712c981b | 9748c7ae9cf9c3f7e85c8eb98fe367d2c438f672 | /AeSys/EoDbEllipse.cpp | 91ed02b5ad62942b9cf6245deafe32e407370054 | [
"MIT"
] | permissive | 15831944/Eo | 8e61bf009d499e08ed5f65af1a107b8d4f76b3c0 | 5652b68468c0bacd8e8da732befa2374360a4bbd | refs/heads/master | 2022-01-24T22:54:01.518644 | 2019-08-14T19:46:06 | 2019-08-14T19:46:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 38,054 | cpp | #include "stdafx.h"
#include <DbEllipse.h>
#include <Ge/GeCircArc3d.h>
#include "AeSys.h"
#include "AeSysDoc.h"
#include "AeSysView.h"
#include "PrimState.h"
#include "EoVaxFloat.h"
#include "EoGePolyline.h"
#include "EoDbFile.h"
IMPLEMENT_DYNAMIC(EoDbEllipse, EoDbPrimitive)
EoDbEllipse::EoDbEllipse(const OdGePoint3d&... | [
"t.smith@swbell.net"
] | t.smith@swbell.net |
3ea524923165d6dc11aac0f655b65f328327e4cb | 60bb67415a192d0c421719de7822c1819d5ba7ac | /blazetest/src/mathtest/dvecdvecinner/V3aVDb.cpp | 4f31f6f757a95cd839272d151e3dde1d67599384 | [
"BSD-3-Clause"
] | permissive | rtohid/blaze | 48decd51395d912730add9bc0d19e617ecae8624 | 7852d9e22aeb89b907cb878c28d6ca75e5528431 | refs/heads/master | 2020-04-16T16:48:03.915504 | 2018-12-19T20:29:42 | 2018-12-19T20:29:42 | 165,750,036 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,708 | cpp | //=================================================================================================
/*!
// \file src/mathtest/dvecdvecinner/V3aVDb.cpp
// \brief Source file for the V3aVDb dense vector/dense vector inner product math test
//
// Copyright (C) 2012-2018 Klaus Iglberger - All Rights Reserved
//
// This... | [
"klaus.iglberger@gmail.com"
] | klaus.iglberger@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.