blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 986
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 23
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 145
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 122
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3f15045628f3a1f44d97a88b4a577aadbece5f3c | b95d26916dcc2c9e99395eaa02387447f402f069 | /OperatorOverload/IntArray.cpp | 813b4d2c0196f53b89247b6ca3c6247fea568640 | [] | no_license | zhmhClark/cplusplus | 2b4cd80f4a865366b6ac57dfb1ebb7476bb3c062 | a82dbe92fc6b9a8a98008b0805791ec9da9b5558 | refs/heads/master | 2020-05-05T09:51:48.551812 | 2019-04-07T05:02:33 | 2019-04-07T05:02:33 | 179,920,515 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 290 | cpp | #include "IntArray.h"
IntArray::IntArray(int n)
{
arr = new int[n];
size = n;
}
IntArray::~IntArray()
{
}
IntArray & IntArray::operator=(IntArray & ar)
{
size = ar.size;
delete []arr;
arr = new int[ar.size];
for (int i = 0; i < size; i++)
arr[i] = ar.arr[i];
return *this;
}
| [
"778970072@qq.com"
] | 778970072@qq.com |
8395f55a2870413c9ac218f1f72f09c0eeaadf13 | b2263008c8d6159b3a2253ec237eb7dc71e2e4b2 | /libs/Flow/test/Flow/Components/TestConstant.cpp | 07f403b7dbe9e9e9435bb47d09fabc392a14dd0c | [] | no_license | mckelley3v/BlackBox | 32daa66cbccd2b47577854b887bf51af8a5bbab9 | 005339363962347c6aa484403db04c08fe0469c7 | refs/heads/master | 2021-01-23T14:03:45.035245 | 2017-08-27T19:26:21 | 2017-08-27T19:26:21 | 23,777,405 | 0 | 0 | null | 2014-11-06T16:20:07 | 2014-09-08T02:51:51 | C++ | UTF-8 | C++ | false | false | 738 | cpp | #include "Flow/Components/Constant.hpp"
#include "Flow/TypeManager.hpp"
#include "catch.hpp"
TEST_CASE("Test Flow::Components::Constant", "[Flow]")
{
using namespace Flow;
using namespace Flow::Components;
TypeManager const type_manager
{{
// ComponentTypes
{
Constant<float... | [
"mckelley3v@gmail.com"
] | mckelley3v@gmail.com |
b0a7a3ca256640f55f5ac6e25c16e046ca072467 | 4c10cf68de9f75dbee15f23dc612996c73c02e6c | /Ch8/build-8_4-Desktop_Qt_6_1_3_MinGW_64_bit-Debug/debug/moc_mainwindow.cpp | a818bb0a9b349c77670cb1fe08682fb6340031cc | [] | no_license | Frollerman/QtBook | 784d6f79267744e9583999779f3f990bdd0df4c2 | c71c1884343955e9c33590a4547aa6f2daa35e18 | refs/heads/master | 2023-08-30T18:13:37.363513 | 2021-11-07T20:58:16 | 2021-11-07T20:58:16 | 408,225,187 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,579 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'mainwindow.h'
**
** Created by: The Qt Meta Object Compiler version 68 (Qt 6.1.3)
**
** WARNING! All changes made in this file will be lost!
**********************************************************... | [
"frollerman@yandex.ru"
] | frollerman@yandex.ru |
99f08d3c31e2c8dc4d68f8a038a7c3e96c89d9b9 | ac2f2a6b74b380a7b727c73072534c1a64ab0310 | /WiFiConnector.h | 071c49f21bd995e966b9ea65755dd7dfba6186ba | [] | no_license | JuanParker1/HODLHUD | 9f6e3a44f6e2aac95868bb9b110cf108827a3262 | 418b91d156428dabee474e1895443eb4d5a1e8a6 | refs/heads/master | 2023-08-26T23:10:32.909057 | 2021-10-20T15:14:15 | 2021-10-20T15:14:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,737 | h | // Third party libraries#include <WiFi.h>
#include <WiFi.h>
#include <WiFiAP.h>
#include <WiFiMulti.h>
#include <WiFiUdp.h>
#include <WiFiScan.h>
#include <ETH.h>
#include <WiFiClient.h>
#include <WiFiSTA.h>
#include <WiFiServer.h>
#include <WiFiType.h>
#include <WiFiGeneric.h>
class WiFiConnector {
private:
// P... | [
"teijevhemert@gmail.com"
] | teijevhemert@gmail.com |
fbc4115be6c49b658fc6606714b82a7109185555 | e3a01923d5067768b2fb59f902a5ef821cbb56fc | /src/masternodeconfig.cpp | 36a23214be072c4f6f82e1dc736c10425bae3ff9 | [
"MIT"
] | permissive | c0de0x/hoolibet | 7687c18ea17368c7ffcdfc00ee11bde7ab2a3bb5 | 29cf960a23c83958f76cc6a5bd87e9ce5370215e | refs/heads/master | 2020-06-13T00:33:54.222219 | 2019-06-28T21:19:21 | 2019-06-28T21:19:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,879 | cpp | // Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The PIVX developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "netbase.h"
#include "masternodeconfig.h"
#include "util.h"
#include "ui_... | [
"hoolibets@gmail.com"
] | hoolibets@gmail.com |
dde7416137dc0f3a7d306ff7216d510daf7a30a6 | d0c44dd3da2ef8c0ff835982a437946cbf4d2940 | /cmake-build-debug/programs_tiling/function14263/function14263_schedule_0/function14263_schedule_0_wrapper.cpp | 19669df35b78773e9ef3c1ef58f354097cf73a8a | [] | no_license | IsraMekki/tiramisu_code_generator | 8b3f1d63cff62ba9f5242c019058d5a3119184a3 | 5a259d8e244af452e5301126683fa4320c2047a3 | refs/heads/master | 2020-04-29T17:27:57.987172 | 2019-04-23T16:50:32 | 2019-04-23T16:50:32 | 176,297,755 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 855 | cpp | #include "Halide.h"
#include "function14263_schedule_0_wrapper.h"
#include "tiramisu/utils.h"
#include <cstdlib>
#include <iostream>
#include <time.h>
#include <fstream>
#include <chrono>
#define MAX_RAND 200
int main(int, char **){Halide::Buffer<int32_t> buf0(512, 1024, 128);
init_buffer(buf0, (int32_t)0);
... | [
"ei_mekki@esi.dz"
] | ei_mekki@esi.dz |
3ceee8ac6ad837503b5c9b5c9df07cc290b34ea1 | b06a69fcf18bed324fddead29c0104a3c5047d5f | /lab5/main.cpp | e5685707dc87e5bda1eec77d056dd026f17c249a | [] | no_license | devepodete/oop_labs | 61c566a89e4207e4211ccc79a67a9d9a9693031d | 2b8cbd30b259589b5c743c625a2ac4975704bbae | refs/heads/main | 2022-12-25T15:00:46.110987 | 2020-10-07T16:13:45 | 2020-10-07T16:13:45 | 302,085,680 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,675 | cpp | /*
Добавление пятиугольников в стек на умных указателях с использованием итераторов.
Черемисинов Максим
М8О-201Б-18
*/
#include <iostream>
#include <string>
#include <cmath>
#include <ctime>
#include <algorithm>
#include <memory>
#include <exception>
#include "stack.hpp"
const double PI = 3.14159265358;
void prin... | [
"noreply@github.com"
] | devepodete.noreply@github.com |
b25da851800216dda7b029cfe174519c684169f6 | a3a3183bc3ae9d3d4bad2f4923e8297bce0ff7d3 | /final/Python-3.9.0/Modules/_decimal/libmpdec/mpdecimal.h | 2815a8cde31db886b66b6fcab45bb62e41422e39 | [] | no_license | Nuitka/Nuitka-references | 4b78831e6947f1c4b32ef034435a88ecfd27f701 | f20d1b5728ec00cf8a5b23d650101c288b2594e9 | refs/heads/main | 2023-08-06T19:12:11.795836 | 2023-08-03T14:54:16 | 2023-08-03T14:55:22 | 169,884,560 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 41,084 | h | /*
* Copyright (c) 2008-2020 Stefan Krah. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of co... | [
"kay.hayen@gmail.com"
] | kay.hayen@gmail.com |
c2a8af785003fd39daa334200a804f4776c4286f | b0ed979f05c8c1abae214753790602acb3ce1f97 | /CSES/Road Construction.cpp | ecc159c6f9d3291d01f270bfa56c53cfb606ad94 | [] | no_license | r-d-s-l-w/competitive-programming | 1304d591b9c28390fcf2ceaa5f86aa8274efb41c | 21322d69ceed314135aeb6bbf3ec91ee70bc4f5b | refs/heads/master | 2022-11-24T10:07:06.720420 | 2020-08-06T11:25:58 | 2020-08-06T11:25:58 | 238,414,061 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,462 | cpp | /// Radoslaw Mysliwiec 2020
#pragma GCC optimize("O3")
#include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
using namespace __gnu_pbds;
using namespace std;
#define F first
#define S second
#define PB push_back
#define ALL(x) (x).begin(),(x).end()
#define endl '\n'
u... | [
"noreply@github.com"
] | r-d-s-l-w.noreply@github.com |
6389084c022e7b41a83f27e727628624d197003d | c1d8cefebd8f85fe9a70ae18d6726e8e42a6fe3a | /07_学习笔记/HPLSP/csdn_select实现的聊天服务器/MessageBuffer.h | 5b4c5a9dba15b883997818575373f2f2d5c33a7b | [] | no_license | leomaokai/MyCpp | 7df0b4097561774c9050e9eed27134202b011c3a | e81b0ba50c7de046ee63af47accd2897b5e289ee | refs/heads/master | 2023-02-19T11:14:58.697566 | 2021-01-22T16:50:13 | 2021-01-22T16:50:13 | 289,039,519 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 826 | h | //MessageBuffer.h
#ifndef _MESSAGE_BUF_INCLUDE_
#define _MESSAGE_BUF_INCLUDE_
#include <pthread.h>
#define MESSAGE_COUNT 16
#define MESSAGE_LENGTH 2048
class MessageBuffer{
private:
pthread_mutex_t mutex;//访问缓冲的互斥量
pthread_cond_t condition;//访问缓冲区的条件变量
//消息缓冲区,循环队列
char buf[MESSAGE_COUNT][MESSAGE_LENGTH];
int... | [
"leomaokai@163.com"
] | leomaokai@163.com |
d8dbd33c5b6bdc600e7e0664e1d9f24b47ddb43d | 15e22c9e2989e1ebe5bff262ca21016d75bb715a | /external/asio/src/examples/cpp03/socks4/sync_client.cpp | fceaf5072930cb76229856f3f3650a9951641f3a | [
"BSD-3-Clause"
] | permissive | iridinite/wirefox | 83ba9af447e3eec7d7639240e8d643619ad2e751 | 0897fcf5f9167ce41e75a3a5074d4b701cc0a203 | refs/heads/master | 2020-05-07T18:36:14.842619 | 2019-05-29T14:52:55 | 2019-05-29T14:52:55 | 180,773,327 | 5 | 0 | BSD-3-Clause | 2019-05-06T11:04:28 | 2019-04-11T10:57:37 | C++ | UTF-8 | C++ | false | false | 2,896 | cpp | //
// sync_client.cpp
// ~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2018 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// 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)
//
#include <iostream>
#include <iomanip... | [
"codingcuddlewolf@gmail.com"
] | codingcuddlewolf@gmail.com |
6f04fd3c54ef23648cc7760a798534d3cc65e074 | 2770c087a6652df95f1963b74d4911e0659105de | /RiskGameProjectLocal/Driver/Reinforcement.h | 8c8d218eb77bdb78731b387d45dac3780ed9ec73 | [] | no_license | CaptnJunks/RiskGameC- | 61917548103f3eb6ef581cc61e55b27fdf78dc14 | 76aaa5445edd82d86f9c3fd8eb9198080bde0fa6 | refs/heads/master | 2021-01-17T23:00:23.711922 | 2015-04-07T23:04:30 | 2015-04-07T23:04:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 542 | h | #include <math.h>
#include "../Cards/Card.h"
#include "../Player/Player.h"
#include "../Map/Map.h"
class Reinforcement
{
public:
Reinforcement();
Reinforcement(Player *p, int *cardBonusCt);
void checkCards();
void exchangeSet();
void territoryBonus();
void continentBonus();
void reinforce();
v... | [
"mateus.m.luna@gmail.com"
] | mateus.m.luna@gmail.com |
9a079a2af486341781eae682690ecc252c53e189 | d96220913a02117754c0e5b6e89b62f63a0a36d1 | /ejercicio 3.cpp | be22ae57f1f9941be0875264954ac6ddedb68a11 | [] | no_license | Sebasdev20/FP_Laboratorio_05_-00373119- | b8d67b20de0042b3549096271544d8b3cd10e922 | 2e0bb458576b6940eeb2723f1fa17a7617cdd8e8 | refs/heads/master | 2022-02-23T00:37:21.014028 | 2019-10-06T01:02:12 | 2019-10-06T01:02:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 329 | cpp | #include<iostream>
using namespace std;
int main(){
float a,b,c,media;
cout<<"ingrese el valor de a: "<<endl;
cin>>a;
cout<<"ingrese el valor de b: "<<endl;
cin>>b;
cout<<"ingrese el valor de c: "<<endl;
cin>>c;
media = (a+b+c)/3 ;
cout.precision(4);
cout<<"la media aritmetica es: "<<media;
return... | [
"00373119uca.edu.sv"
] | 00373119uca.edu.sv |
72e6a9ca15f4d405bb4252750fdc2daf72dda07c | cabf3a3aa51c98c774f3efaea2f9e43dae2cdebb | /Source.cpp | 566ed8736717ef6ce1a91fb223d64696f8d1da53 | [] | no_license | 26zet/LZW | 43b348d26593e8708a6c6f8621e635cd72676dc7 | b3c43f759a6feff39877d377a5dc34361043902f | refs/heads/master | 2021-01-17T08:26:13.572339 | 2017-03-04T18:10:21 | 2017-03-04T18:10:21 | 83,914,037 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,075 | cpp | #include <iostream>
#include "LZW.h"
#include "DecompressionLZW.h"
#include <algorithm>
#include <fstream>
using namespace std;
int main(){
int s;
cin >> s;
if(s == 1){
LZW *l = new LZW("pdf.pdf","przyklad2");
sort(l->Storage->Repeat,l->Storage->Repeat + l->Storage->LengthOfDict);
ofstream *ofs... | [
"noreply@github.com"
] | 26zet.noreply@github.com |
25f440cf6ff525ac683b76117b76c76829cc11dd | 72a7d6af316a2f7bfd3c05dd8df5b43100b2692d | /MyQueue/MyQueue/MyQueue.h | 6edc074a8b9f3603841532f13e228db492ec446f | [] | no_license | SplendidSky/Visual-Studio-2015 | 5b561a5204ce1ef3f3ea2631f478275339517b64 | c062d70c026a63ec603b3af0f59129b01ce4947c | refs/heads/master | 2021-01-22T18:15:44.206538 | 2016-09-08T10:43:26 | 2016-09-08T10:43:26 | 49,563,611 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,168 | h | #include <iostream>
using namespace std;
const int maxQueue = 101;
template <class QueueEntry>
class MyQueue {
public:
MyQueue();
// 判断队列是否为空
bool empty() const;
// 入队操作
int append(const QueueEntry &item);
// 出队操作
int serve();
// 获取队头元素
int retrieve(QueueEntry &item) const;
// 判断队列是否已满
bool full() const;
... | [
"530415489@qq.com"
] | 530415489@qq.com |
42c879d5a149fc006e8a46a4270f59d3d6be9c0c | 7d35506b3047353e5169a74e9324358f55e2845c | /chap14/Sales_data.h | c74bdd38157191663a05a38ce74abab99d8bc2e5 | [] | no_license | weimch/cpp-primer | 6f74741e3223a4a6021fec799ac16e11e639486e | 13c6f415eca21170ced859ccbc232bc670ca977a | refs/heads/master | 2023-05-25T16:58:50.423816 | 2021-06-06T05:32:38 | 2021-06-06T05:32:38 | 295,981,492 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,473 | h | #pragma once
#include <string>
#include <iostream>
class Sales_data {
friend std::istream& operator>>(std::istream&, Sales_data&);
friend std::ostream& operator<<(std::ostream&, const Sales_data&);
friend Sales_data operator+(const Sales_data&, const Sales_data&);
public:
Sales_data(const std::string &s, un... | [
"weimch3@qq.com"
] | weimch3@qq.com |
1f26b068834d3255b2db9ba68ef92484aa886879 | 607829232b9ec8d6733fb67be85e8555d19e1ee0 | /libs/core/include/fcppt/math/dim/map.hpp | 11312cfb24934a19b5ce420bfe2c3def39a48f9d | [
"BSL-1.0"
] | permissive | cnsuhao/fcppt | 3b917196d5faf477d769b8f04e0001361a857776 | 104c035118a04011c5fd9574cc78b2889550ea65 | refs/heads/master | 2021-01-13T06:30:29.527419 | 2016-11-05T13:33:41 | 2016-11-05T13:33:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,150 | hpp | // Copyright Carl Philipp Reh 2009 - 2016.
// 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)
#ifndef FCPPT_MATH_DIM_MAP_HPP_INCLUDED
#define FCPPT_MATH_DIM_MAP_HPP_INCLUDED
#include <fcppt/m... | [
"carlphilippreh@gmail.com"
] | carlphilippreh@gmail.com |
0d860c819b03c7cebf17e58728a29215d2af9c73 | aa3d6a8a6e8e75d968786ed1900564baaad1bb62 | /AOJ/V2/WA/test.cpp | ec7c48a8ad4c2e44a09692a99d9f8ff75d9fa5d2 | [] | no_license | Halksel/Competition | 418b18981d4eb30572e6f24401f53968c5e9c354 | ce9ea74410a63ad2c4de23dee33698d23afb01b1 | refs/heads/master | 2021-01-23T21:46:52.925976 | 2019-08-25T13:07:44 | 2019-08-25T13:07:44 | 59,487,622 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,211 | cpp | #include <bits/stdc++.h>
using namespace std ;
#define pb(n) push_back(n)
#define fi first
#define se second
#define all(r) begin(r),end(r)
#define vmax(ary) *max_element(all(ary))
#define vmin(ary) *min_element(all(ary))
#define debug(x) cout<<#x<<": "<<x<<endl
#define fcout(n) cout<<fixed<<setprecision((n))
#define ... | [
"whentheycry0708@gmail.com"
] | whentheycry0708@gmail.com |
29f702462204fe58c410e5b376a4e827df9c77ca | 47e458101f543cecee59b27d27f67e8944930d3a | /Chapter_09/Task_10/Task_10.cpp | 85cb919a5e868b54743028659555a61c80ce9e05 | [] | no_license | callmeFilip/Thinking-in-CPP-Volume-1-2nd-Edition | f1bb1c9e7edef1e9ca4eadb7758f80e08ee68bba | 95db8120d67423c35728bd8b216393e9e869371d | refs/heads/master | 2023-03-27T00:31:56.940278 | 2021-03-25T17:12:34 | 2021-03-25T17:12:34 | 312,387,460 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 229 | cpp | #include <iostream>
#include "Color.h"
int main()
{
Color ledColor(RED);
std::cout << ledColor.getColor() << std::endl;
ledColor.setColor(BLUE);
std::cout << ledColor.getColor() << std::endl;
return 0;
}
| [
"filip_andonow@abv.bg"
] | filip_andonow@abv.bg |
114e4b53edd2d3e9787e81c0675d3aa7e5bfbb82 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5706278382862336_1/C++/prims/q14.cpp | 324bec358ce73ccd8fdadfae795a5886d486a224 | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 909 | cpp | #include <stdio.h>
#include <stdlib.h>
#include <math.h>
long long int gcd(long long int a, long long int b)
{
if (a%b == 0)
return b;
else return gcd(b,a%b);
}
int main()
{
long long int t;
long long int p,q,g;
long long temp,ans;
scanf("%lld",&t);
for (long long i =... | [
"eewestman@gmail.com"
] | eewestman@gmail.com |
2dc4601df1bc37e155c8a6f9be134bb60c17c92e | ecf155e7be0734fcc5d8df37b19389f97984736b | /opengl-tutorial-6/src/main.cpp | f467731f3e24a5e817b0b0b0e9b05b7bd8a021a6 | [] | no_license | PurujeetPatil/opengl-tutorial | 10f09d86b01eebb371ad324266cedae88b8b47b6 | 80f4a39f911d7d4b109b2a2ed45dbeab4c6ff6de | refs/heads/master | 2023-08-30T13:52:44.581873 | 2021-11-03T04:32:09 | 2021-11-03T04:32:09 | 382,231,748 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,767 | cpp | #include <GL/glew.h>
#include <GLFW/glfw3.h>
#include <iostream>
#define _USE_MATH_DEFINES
#include <math.h>
#include "fileutil.h"
#include "errorHandler.h"
static unsigned int compileShader(unsigned int type, const std::string& src)
{
// Create a shader ID
unsigned int id = glCreateShader(type);
// open... | [
"patilpurujeet@gmail.com"
] | patilpurujeet@gmail.com |
368af9d48889dd99e5ffca23775612ec1e57d090 | 98b63e3dc79c75048163512c3d1b71d4b6987493 | /tensorflow/lite/delegates/gpu/java/src/main/native/gpu_delegate_jni.cc | d31d058b796e8746fccba74803320e7e256e40ff | [
"Apache-2.0"
] | permissive | galeone/tensorflow | 11a4e4a3f42f4f61a65b432c429ace00401c9cc4 | 1b6f13331f4d8e7fccc66bfeb0b066e77a2b7206 | refs/heads/master | 2022-11-13T11:56:56.143276 | 2020-11-10T14:35:01 | 2020-11-10T14:35:01 | 310,642,488 | 21 | 12 | Apache-2.0 | 2020-11-06T16:01:03 | 2020-11-06T16:01:02 | null | UTF-8 | C++ | false | false | 4,661 | 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 |
93a216007ed49660281de4c6255a250376e5077d | 150eb8eadd14fa0dcfd14a632beaa339e9343c43 | /ANTs/ImageSegmentation/itkWeightedVotingFusionImageFilter.h | b5607587664829fc2462314f1dd85d19e41c4796 | [
"BSD-2-Clause"
] | permissive | rshiradkar/cppLibraries | b1c1c0fc850ec4ccbadbee98bba89ebc34d35904 | 004359ee4640ad2d5b740d716bc3b41e831e6398 | refs/heads/master | 2022-12-07T00:02:03.500679 | 2020-08-26T16:47:23 | 2020-08-26T16:47:23 | 290,552,641 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,763 | h | /*=========================================================================
*
* Copyright Insight Software Consortium
*
* 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
*
* h... | [
"68760842+rshiradkar@users.noreply.github.com"
] | 68760842+rshiradkar@users.noreply.github.com |
ebb0b7f8c9cd3645f43b303072705d04c3f78ec8 | 762d0e6bd7e743024231c64068c8de8d4ad74046 | /laba25.cpp | f92a98bfa9a927d38c488522bd57d80ae7a4a3d4 | [] | no_license | Sistemnoe-programmirovanie/SPbCT_ManinaAS | d7b96df4f0257b2093935a450680441cf1801339 | ddaded1fdc9ec09fa1da3390977c7fa6cb10a6e8 | refs/heads/main | 2023-01-31T12:31:31.294068 | 2020-12-15T21:43:43 | 2020-12-15T21:43:43 | 308,622,164 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,250 | cpp | /*
процесс 1 открывает файл и после этого порождает потомка 2,
который в свою очередь порождает потомка 3.
Процесс 2 пишет N байт в общий файл, посылает сигнал процессу 3,
который тоже пишет N байт в файл и посылает сигнал процессу 1,
который считывает данные из файла и выводит их на экран.
*/
#include... | [
"noreply@github.com"
] | Sistemnoe-programmirovanie.noreply@github.com |
9843d511e4a96210e574bdc2a67f044c15d2f74f | 5ed83cb27ebe868f61b2854a60075aef788f2721 | /HelloWorld/HelloWorld.hpp | 7af4442e935eadafcc0deff050e425ad5ee03324 | [] | no_license | MechaDragonX/CPlusPlusExperiments | 98f6cd23013ffbbc8134d3381cb219c686181363 | eabf483781f5ce4d204f8d561d66706c40c529ec | refs/heads/master | 2020-08-06T07:56:05.369794 | 2019-10-06T03:09:13 | 2019-10-06T03:09:13 | 212,899,126 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 104 | hpp | #pragma once
#include <iostream>
// TODO: Reference additional headers your program requires here.
| [
"sonicraghav@gmail.com"
] | sonicraghav@gmail.com |
b5e42820d423ebb425c055b94880817bdd4ed5db | af3c0f1b1d3e704563c1992b3bcda0611ac21ef4 | /css/src/ModuleConfigCollection.cpp | 0b59a7b8cbbf9befa94469f51b505b88d73d8404 | [] | no_license | BallMIllsap/frame | 56bbbef303d31b4ba48fd07a8b3d1bf0b1f88146 | b0ca45ccd4b3865519cce7d189050a18f0b697e9 | refs/heads/master | 2021-05-30T22:07:01.726029 | 2015-10-13T01:39:15 | 2015-10-13T01:39:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,864 | cpp | #include "ModuleConfigCollection.h"
CModuleConfigCollection::CModuleConfigCollection(void)
{
}
CModuleConfigCollection::~CModuleConfigCollection(void)
{
}
CModuleConfigCollection* CModuleConfigCollection::get_instance ()
{
static CModuleConfigCollection *_instance = NULL;
if (NULL == _instance)
... | [
"chenjianjun571@gmail.com"
] | chenjianjun571@gmail.com |
2fbd913f2e4e28557fb2633e5da4776f543b2b51 | fd9db286217f551a2377f5b79c86d9735b0c09b7 | /Final/Hand.cpp | d270221fe0607dd9a890106a02994adf932087f5 | [] | no_license | Golan1/Malbot | d13a06e343055901bcf73826c9c05e6a65149a8f | bb40eea7fd5b4b95592533d12b989f7c659e7d82 | refs/heads/master | 2020-04-06T07:17:38.723248 | 2016-09-03T18:08:23 | 2016-09-03T18:08:23 | 64,696,857 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,497 | cpp | #include "Hand.h"
Hand::Hand()
{
phalanx = new Rect({ FINGER_SPACE * 2.0f, PHALANX_SPACE * 5.0f, FINGER_SPACE * 2.0f });
palm = new Rect({ 14.0f * FINGER_SPACE, PHALANX_SPACE * 15.0f, FINGER_SPACE * 3.5f });
}
Hand::~Hand()
{
delete phalanx;
delete palm;
}
void Hand::Init()
{
phalanx->Init();
palm->Init();
}... | [
"golanlevi1@gmail.com"
] | golanlevi1@gmail.com |
d4f628abf0e6d3dc22824aff68ec568e4fcc760b | e27d9e460c374473e692f58013ca692934347ef1 | /drafts/quickSpectrogram_2/libraries/liblsl/external/lslboost/fusion/sequence/intrinsic/front.hpp | 40ae2acc06f3107ed780e70aabd6d05f10c4975e | [
"MIT",
"LicenseRef-scancode-unknown-license-reference",
"BSL-1.0"
] | permissive | thoughtworksarts/Dual_Brains | 84a0edf69d95299021daf4af9311aed5724a2e84 | a7a6586b91a280950693b427d8269bd68bf8a7ab | refs/heads/master | 2021-09-18T15:50:51.397078 | 2018-07-16T23:20:18 | 2018-07-16T23:20:18 | 119,759,649 | 3 | 0 | null | 2018-07-16T23:14:34 | 2018-02-01T00:09:16 | HTML | UTF-8 | C++ | false | false | 1,273 | hpp | /*=============================================================================
Copyright (c) 2001-2011 Joel de Guzman
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.lslboost.org/LICENSE_1_0.txt)
================================... | [
"gabriel.ibagon@gmail.com"
] | gabriel.ibagon@gmail.com |
fa1b3d632567fa2b2d778cfd30b7d7005ba522a7 | c3efa7c046ef2ab497f4a22fe69c892579bc428a | /Example_Touchpads/KB_TP_Stream_mode.ino | b310a8b2954e7bb112fb93a90ad8f627dd203f3e | [
"Apache-2.0"
] | permissive | thedalles77/USB_Laptop_Keyboard_Controller | c6c72134970ebad2a33e6b572869949456b812d4 | ec29edd1ba8b04e975836527b03f4b5ec75bcba9 | refs/heads/master | 2023-08-16T15:56:23.673910 | 2023-02-11T01:15:13 | 2023-02-11T01:15:13 | 153,025,155 | 321 | 64 | NOASSERTION | 2023-08-05T14:40:56 | 2018-10-14T22:34:02 | C++ | UTF-8 | C++ | false | false | 40,335 | ino | /* Copyright 2022 Frank Adams
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writ... | [
"noreply@github.com"
] | thedalles77.noreply@github.com |
39d8058d6647e407439fbdf9fe14e70517ba947d | 011913764ed71352da425f4864cf9d14132d4f36 | /sources/test-core/collider.cpp | 87e8f0ce0453e18366798639df607910f104b480 | [
"MIT"
] | permissive | iomeone/cage | 172f64a281b5818bf827518cec08b9ddca714cf4 | c8c34364ca19fc63b3572da73116cc175efa1a8d | refs/heads/master | 2023-03-25T16:38:51.323832 | 2021-03-25T02:37:53 | 2021-03-25T02:37:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,418 | cpp | #include "main.h"
#include <cage-core/geometry.h>
#include <cage-core/collider.h>
#include <cage-core/memoryBuffer.h>
void testColliders()
{
CAGE_TESTCASE("colliders");
{
CAGE_TESTCASE("basic collisions");
{
CAGE_TESTCASE("empty colliders");
Holder<Collider> c1 = newCollider();
Holder<Collider> c2 = ne... | [
"malytomas@ucpu.cz"
] | malytomas@ucpu.cz |
9b0a96f2549700c3b40cc3e4be926a89892927c6 | e8a55a62158278b4f806e72207c3178c1d0c36e8 | /tools.h | 49e7e15c410d27e79e7f27900bb21b673b8668a4 | [] | no_license | jayshah19949596/Telenav-Sensor-Fusion | 18d0963a361519d7571d0182f5f7494bade91061 | 5c369db042ea4b3376d3492991b950206b39298b | refs/heads/master | 2020-03-14T10:06:44.175369 | 2018-05-12T22:24:10 | 2018-05-12T22:24:10 | 131,559,442 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,055 | h | #ifndef TOOLS_H_
#define TOOLS_H_
#include <vector>
// #include "Eigen"
#include "Eigen/Dense"
using Eigen::MatrixXd;
using Eigen::VectorXd;
using namespace std;
class Tools {
public:
/**
* Constructor.
*/
Tools();
/**
* Destructor.
*/
virtual ~Tools();
vector<string> split(const string &s, char d... | [
"jai.s@somaiya.edu"
] | jai.s@somaiya.edu |
971a1e1d1f5aacebae494b8f7203510f219b7b2e | 3b6054a8c8447ad7b658c3ad98d95aa2d5277008 | /start_project/Laghaim_Client/LetterBox.h | f7b1930b03b9015a6be4899557fc4285aaaac884 | [] | no_license | Topstack-first/20210521_directx_laghaim | 80261e1d25ade898ab18c878e46f8f922d62031f | 7f92bd76fb5e10af43cd26f6e23ae8781a29632c | refs/heads/main | 2023-05-09T14:19:52.082370 | 2021-05-25T22:22:16 | 2021-05-25T22:22:16 | 369,423,057 | 2 | 4 | null | null | null | null | UHC | C++ | false | false | 3,023 | h | #ifndef _LETTER_BOX_H_
#define _LETTER_BOX_H_
#include "Config.h"
#include "L_MultiEditBox.h"
#include "HanIme.h"
#define PROMPT_STRING "|"
#define PROMPT_TIME 800
#define CANDYFONT_SIZE 11
class CSurface;
typedef enum n_CandidatePos1
{
LETTER=0
} n_CandidatePos1;
class CLetterBox :public CHanIme
{
public:
CL... | [
"topstack2020+first@gmail.com"
] | topstack2020+first@gmail.com |
3f8edde51509321eeb3a496edfbe06bfdf7cdd3a | a2d7649a795eaa6e212767c92b335838ddf2d80d | /kavya3.cpp | 5e286dd70a6425918485a4f4978cea96f0c2c383 | [] | no_license | kavyasuggala2424/kavya24 | 447c51788271c7e61977f3c661829f928e9f1e45 | 5a8eb7c476e7fdf1ed99ea7474a054532ae3dd5b | refs/heads/master | 2020-08-03T17:36:58.830196 | 2019-09-30T10:06:03 | 2019-09-30T10:06:03 | 211,830,186 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,420 | cpp | #include<iostream>
#include<conio.h>
using namespace std;
class student
{
public:
virtual void getdata()=0;
virtual void display()=0;
};
class engineering:public student
{
int r;
char n[10];
public:
void getdata()
{
cout<<"faculty->Engineering"<<endl;
cout<<... | [
"noreply@github.com"
] | kavyasuggala2424.noreply@github.com |
ae59df5baad76175d8495c9edf1ef955b00f3e9f | ba6a494d2e0cb473044e1ca9fb12bd93f55b90c6 | /XmWarn.cc | bc8267f158f4b21716a78f75dfcce1d490dea639 | [
"Apache-2.0"
] | permissive | NCAR/libraf | c1f1edc8464c70b21e9291a8b1d668aba521d0ed | 6ace16509d323146a40f246a8fd726ff211640cb | refs/heads/master | 2023-08-03T23:15:43.772913 | 2023-08-01T19:52:22 | 2023-08-01T19:52:22 | 85,247,844 | 0 | 2 | null | 2022-05-20T21:15:32 | 2017-03-16T22:39:53 | C++ | UTF-8 | C++ | false | false | 1,598 | cc | /*
-------------------------------------------------------------------------
OBJECT NAME: XmWarn.c
FULL NAME: Show Warning Box with Message
DESCRIPTION: CreateWarn should be called once where you initialize
your X stuff. To use just call WarnUser(ErrMsg, callBack)
INPUT: String to Display. Callback to call if u... | [
"cjw@ucar.edu"
] | cjw@ucar.edu |
94411dcfea298353ef843484a0bfb4fb1a35a6eb | 8a738b641e73ad5a7c51859a798c6d1c9a57d00c | /Converter/Converter.cpp | f7ec758fb51b01b4576588f7b0a9d019f2ae4625 | [] | no_license | guri0631/Remote-Code-Project-Management | 9e3b3657c0f00a65f5de72b830b33d61c120d53c | add419721bae9c47ff1be9369c7ce9c1a795d358 | refs/heads/master | 2020-08-18T23:50:16.620641 | 2019-10-17T17:49:10 | 2019-10-17T17:49:10 | 215,843,944 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,119 | cpp | ///////////////////////////////////////////////////////////////////////////
// Converter.cpp : implements and provides test stub for Converter.h //
// ver 2.0 //
// //
// Application ... | [
"noreply@github.com"
] | guri0631.noreply@github.com |
a3e009ce0ee894f8f943a205e24cec706e4f9c0f | 43eac29d84044cd6642c3e493746c2419ed0d8cf | /src/yb/client/snapshot_test_base.cc | 211187872da022cf747bebd7f97d9439633f2c04 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference",
"OpenSSL"
] | permissive | alekseiko97/yugabyte-db | f5f109c171933ee08180a9e3a9259e7005ba7271 | 932cf02761e35b3e1b5a5dcbcf9bfe11d5ed61b3 | refs/heads/master | 2023-04-05T03:13:36.845465 | 2021-04-10T09:21:09 | 2021-04-10T09:21:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,952 | cc | // Copyright (c) YugaByte, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
// in compliance with the License. You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writ... | [
"spolitov@gmail.com"
] | spolitov@gmail.com |
7164074b8d136762b25abdcc8c623a18fba2316e | 82b0bd2ce7a71a0bd023faf859c5daf46612460f | /fibo_huge/main.cpp | 9dfe64ec0dbf68e506b9d556e02dbaa9439a4311 | [] | no_license | kushagrasgupta/Algorithm.Toolbox-Submissions | 11530a475133c0e0038637174f5181db19069bdb | 5af87bbadc2cfc7caf4f25a0e90a505fc9b0bf82 | refs/heads/master | 2022-12-27T15:42:05.489990 | 2020-09-14T18:45:34 | 2020-09-14T18:45:34 | 293,044,265 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 587 | cpp | #include <iostream>
using namespace std;
typedef long long int ll;
ll get_pisano_period(ll m) {
ll a = 0, b = 1, c = 0;
for (int i = 0; i < m * m; i++) {
c = (a + b) % m;
a = b;
b = c;
if (a == 0 && b == 1) return i + 1;
}
}
ll get_fibonacci_huge(ll n, ll m) {
ll r=n%... | [
"kushagrasgupta@gmail.com"
] | kushagrasgupta@gmail.com |
3219afe0219e976518cf633e6d4912b34e78c2b9 | 4a0b46be4c27d82423b692cb90065a16ee0c4bcb | /admin/winning_teams/strongAccept/code/impl/sparsehash/internal/densehashtable.h | 597fce7409980a58b0f930971085a86da61a8918 | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | isj/sigmod | 099fb53086833481ad4a74e4182fb6ec450ce8f4 | 8ffd3c50ac288aa12c05218d52b1f05eeb23a085 | refs/heads/master | 2016-09-06T17:17:13.729937 | 2013-12-14T12:57:50 | 2013-12-14T12:57:50 | 13,883,231 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 54,223 | h | // Copyright (c) 2005, Google 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 must retain the above copyright
// notice, this list of conditi... | [
"foundry"
] | foundry |
b41d603407d1b56b1f61f87aefb28ed042df82d7 | 0c8c41b82105f27ee113b882cefcefa9b822512a | /Library_Management/DBHelper.h | 7aabd23bda251bf8cdf6163b7a9a9bb8384bb204 | [] | no_license | vietphu0123/Library-management | 4b3f325098ce638088c5ac4147c3ea1547758102 | 75fce2ef09213df55b8b616368febf5fefb77dd2 | refs/heads/master | 2023-06-23T12:39:05.161446 | 2021-07-25T09:17:09 | 2021-07-25T09:17:09 | 389,303,955 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 624 | h | #pragma once
#include <windows.h>
#include <sqlext.h>
#include <sqltypes.h>
#include <sql.h>
#include"Sach.h"
#include<string.h>
#include<string>
#include"List.h"
class DBHelper
{
#define SQL_RESULT_LEN 240
#define SQL_RETURN_CODE_LEN 1000
//define handles and variables
SQLHANDLE sqlConnHandle;
SQLHANDLE sqlStmtHan... | [
"vietphu0123@gmail.com"
] | vietphu0123@gmail.com |
9cb52d58dd7b322a650ad4998119f55e24165f61 | 1ba4ac1af9f95cbc6614b51577d5b44703cf4b81 | /libs/nav/src/planners/PlannerSimple2D.cpp | 46b8a15b4051b09b2e9d168e604d7d4fa73fba34 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | IcanChen/mrpt | de8a6f6f98b8fa32c1d75311703d0f28c2556f96 | 1315310054b32210c5614f9cac8780572c98e40b | refs/heads/master | 2020-04-06T06:52:31.664012 | 2016-01-10T11:05:08 | 2016-01-10T11:05:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,235 | cpp | /* +---------------------------------------------------------------------------+
| Mobile Robot Programming Toolkit (MRPT) |
| http://www.mrpt.org/ |
| ... | [
"joseluisblancoc@gmail.com"
] | joseluisblancoc@gmail.com |
8cc0907dc0056d26245b63c5eca78e5dff39d384 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/CMake/CMake-gumtree/Kitware_CMake_old_hunk_834.cpp | f5cca13850c06f512c053e4e119418b8e9858f45 | [] | 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 | 467 | cpp | //----------------------------------------------------------------------------
void cmComputeLinkDepends::DisplayFinalEntries()
{
fprintf(stderr, "target [%s] links to:\n", this->Target->GetName());
for(std::vector<LinkEntry>::const_iterator lei =
this->FinalLinkEntries.begin();
lei != this->FinalLink... | [
"993273596@qq.com"
] | 993273596@qq.com |
745387a3ab2e1867ccad2f9c2180570e2c7f56c9 | a9ec153f7e79a4e08fd54bd7a0ce511a282b6e7b | /drv/EN-Network_Client_SDK_win_x32/ClientDemo/DlgRemoteShowString.cpp | a500eae0bab1033391a6de4774a7cd0de48042b8 | [] | no_license | stepabogdanov/HikvisionSDK | 5d227747127716cbfb6f4c8e721927645e0f67eb | e00da32d00d07dd64023176f11ac4f3731fd4176 | refs/heads/master | 2021-04-28T07:51:33.245528 | 2018-10-22T09:16:46 | 2018-10-22T09:16:46 | 122,234,801 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 7,689 | cpp | /**********************************************************
FileName: DlgRemoteShowString.cpp
Description: remote string handling
Date: 2008/05/17
Note: <Global>struct, macro refer to GeneralDef.h, global variants and API refer to ClientDemo.cpp
Modification History:
<version> <time> ... | [
"stepabogdanov@yandex.ru"
] | stepabogdanov@yandex.ru |
9349d5b9675a33ed8e6ffd78229bd8ac593eea48 | 56ea7ffa07dd75b9eab426640494fd0dc58ea13d | /LinkedList/palindrome_linkedlist.cpp | 950f2b767aaaab79d062c946d9044104fbdce14d | [] | no_license | Zifeng-ZZF/cAlgorithm | 1deb09b24c2a14dd8e961ca0b035ee95f82738ec | c38ffc1cec927f5ce27b631c3d542b72f1ef5c94 | refs/heads/master | 2022-12-08T13:42:24.109168 | 2020-09-12T03:17:44 | 2020-09-12T03:17:44 | 234,512,287 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,129 | cpp | #include <vector>
using namespace std;
struct ListNode {
int val;
ListNode* next;
};
/* use an extra vector to store the elements, then validate using two pointers */
bool isPalindrome(ListNode* head) {
if (head == nullptr || head->next == nullptr) {
return true;
}
vector<int> vals;
wh... | [
"zhangzifeng@sensetime.com"
] | zhangzifeng@sensetime.com |
a96a78b7ffafebf9dbc1eab5c11cd30b4b4e1e2f | e297a270fb9f774e1ee14028edb4cd85b04793be | /StortSpelprojekt/CascadeShadow.cpp | ef84fee371531c7d11981dd8d4d398e558c55c7f | [] | no_license | Shada/Wanshift | c840b32767ec2d2f040643dd25c803ac34282f06 | 0885f62a361b8630270f398bdb6e4690425d60ff | refs/heads/master | 2021-07-14T02:08:54.290839 | 2021-02-28T02:53:05 | 2021-02-28T02:53:05 | 53,578,881 | 0 | 1 | null | 2016-03-10T11:22:08 | 2016-03-10T11:22:07 | null | ISO-8859-1 | C++ | false | false | 20,681 | cpp | #include "CascadeShadow.h"
#include <glm/gtc/matrix_transform.hpp>
#include <glm/gtx/transform.hpp>
CascadeShadow::CascadeShadow()
{
Containers containers(std::make_pair(Containers::CONSTBUFFER, MODIFY));
cbuffers = containers.get<ConstantBufferContainer>(Containers::CONSTBUFFER);
}
CascadeShadow::~CascadeShadow(... | [
"limejuggler@users.noreply.github.com"
] | limejuggler@users.noreply.github.com |
b3ef7aa5ad1cdff813bb20cb4b6e401ba361ec65 | 1d9c22c19dc6fb9c0bdf0c77a3f4646f6ca64d92 | /moui/widgets/label.h | 8f5157a3319bb4347d16c5cefaa3583f8ea68f65 | [
"Apache-2.0"
] | permissive | ollix/moui | 83169723903705646175860ac7f7570a2a134358 | f6f574f3b1c45c8fb8fc7b44b4783d6c91fe49f7 | refs/heads/master | 2023-04-09T06:28:34.513187 | 2023-03-28T08:35:55 | 2023-03-28T08:35:55 | 16,637,370 | 67 | 7 | null | null | null | null | UTF-8 | C++ | false | false | 7,577 | h | // Copyright (c) 2014 Ollix. 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 ... | [
"olliwang@ollix.com"
] | olliwang@ollix.com |
a24cf67c7795c113f9602b76c37fba334848cf10 | db0ca5bd963b200c045d7b5307823015b3914028 | /subSets.cpp | 7c6f0b017941117ccd3dac2e57c4f026bf4c1fc4 | [] | no_license | clxzz24/cpp_source | 9e452b3b9dd4fb64b561bf89502b889cb415def5 | 06184e7fc2e74cf8c7d46cc1d9bb659a37b37627 | refs/heads/master | 2020-03-22T21:23:59.611386 | 2018-07-12T08:23:08 | 2018-07-12T08:23:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 568 | cpp | #include <iostream>
#include <vector>
#include <math.h>
using namespace std;
vector<vector<int>> subSets1(vector<int> nums)
{
int n = nums.size();
int m = pow(2, n);
vector<vector<int>> res(m);
for (int i = 0; i<n; i++)
{
for (int j = 0; j<m; j++)
{
if((j>>i) & 1)
{
res[j].push_back(... | [
"noreply@github.com"
] | clxzz24.noreply@github.com |
8cbb7f7ce4a403ca47f4d38a42d762e00d8a8d79 | 5fe1a08be4a62ff19d5d61e4716742d4fb292297 | /买卖股票的最佳时机II.cpp | c64293ba92d28e236cb7c349e6189d14d8987e37 | [] | no_license | songclei/leetcode | 85e92e1e6b456fcf686812942eb14bd393459987 | 6d33f9ee2d67408c2cff11c550ccef7f58c76369 | refs/heads/master | 2020-05-02T14:34:17.406765 | 2019-08-24T09:39:20 | 2019-08-24T09:39:20 | 178,014,665 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 620 | cpp | #include <iostream>
#include <string>
#include <vector>
#include <queue>
#include <math.h>
#include <algorithm>
#include <unordered_set>
using namespace std;
class Solution {
public:
int maxProfit(vector<int>& prices) {
int size = prices.size();
if (size == 0 || size == 1)
return 0;
int max_pr... | [
"1500017738@pku.edu.cn"
] | 1500017738@pku.edu.cn |
f3e2ab6bbe06e4378013f10a5881364d6735049d | f3dd00b1dfd95541d2665a95e0d5c5c011170ba8 | /src/common/unbounded_blocking_queue.cc | b548cf4fc2feb3949a1a90eb44a6724d3f123895 | [] | no_license | exabytes18/kiwi | 0aebf55d312331b6912011d26258d29c179eecdc | a1736db3ffb573a8628977a0fbf4e637d77afeea | refs/heads/master | 2021-01-23T16:28:20.632923 | 2018-08-07T08:01:51 | 2018-08-07T08:04:51 | 93,299,166 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 38 | cc | #include "unbounded_blocking_queue.h"
| [
"exabytes18@gmail.com"
] | exabytes18@gmail.com |
3e6cba56a0d13f0957a86abb8641567aac97c60f | 84897b6a25f876b21246c2c7e1404c9c411be987 | /src/include/format/rar/RCRarItem.h | 405e1ed1b4b8e0190c5ffa5968f74464e713b6cd | [] | no_license | drivestudy/HaoZip | 07718a53e38bc5893477575ddf3fccfb3b18c5fd | 9e0564b4a11870224543357004653b798fd625e0 | refs/heads/master | 2021-07-24T06:33:24.651453 | 2017-11-05T01:19:18 | 2017-11-05T01:19:18 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 4,899 | h | /********************************************************************************
* 版权所有(C)2008,2009,2010,好压软件工作室,保留所有权利。 *
********************************************************************************
* 作者 : HaoZip *
* 版本 : 1.... | [
"zhou_jiafeng@aliyun.com"
] | zhou_jiafeng@aliyun.com |
5b16f7c3a2185b60a4c160424b1175e38720a06f | 7d298127f6c9f638420d80f01bbc3635f632b602 | /tests/3rdparty/testngpp/tests/3rdparty/testngppst/include/testngppst/TypeTraits.h | 940b214dfa3b598b9b8bd06a44cf744d0d7735e9 | [
"Apache-2.0",
"LGPL-3.0-only",
"GPL-3.0-or-later"
] | permissive | sinojelly/mockcpp | 1bbdbee7623fa51972e1f94815ffa93ef770e112 | 7b7eb8b8a7837813d91ee1ae9354f352605fc270 | refs/heads/master | 2023-09-03T04:04:32.174336 | 2022-11-08T07:15:41 | 2022-11-08T07:15:41 | 33,052,375 | 69 | 42 | Apache-2.0 | 2023-08-25T08:25:18 | 2015-03-28T22:17:23 | C++ | UTF-8 | C++ | false | false | 1,371 | h | #ifndef __TESTNGPPST_TYPE_TRAITS_H
#define __TESTNGPPST_TYPE_TRAITS_H
#include <testngppst/testngppst.h>
TESTNGPPST_NS_START
/*
* For non-reference type
*/
template <typename T>
struct TypeTraits
{
typedef T Raw;
typedef T& RefRaw;
typedef T Type;
typedef T& Ref;
... | [
"sinojelly@163.com"
] | sinojelly@163.com |
d450d709825eafb2d165857e0b5a69d3dc184357 | fa2d21f6415046b8dc0461ccc944acf5d7ccca80 | /src/LLGI.Graphics.h | 72e24d011225bc9d9d85f157cdf0bb77c2d9d37c | [] | no_license | lriki/LLGI | 2727c1a75151348dc77e2cf28018d56fba83b815 | b17a7030980f641e900f02cf2593663e09e3210b | refs/heads/master | 2020-06-13T00:46:30.920583 | 2019-06-29T14:45:58 | 2019-06-29T14:45:58 | 194,478,359 | 0 | 0 | null | 2019-06-30T05:22:41 | 2019-06-30T05:22:41 | null | UTF-8 | C++ | false | false | 2,981 | h |
#pragma once
#include "LLGI.Base.h"
namespace LLGI
{
class RenderPass : public ReferenceObject
{
private:
bool isColorCleared_ = false;
bool isDepthCleared_ = false;
Color8 color_;
public:
RenderPass() = default;
virtual ~RenderPass() = default;
virtual bool GetIsColorCleared() const { return isColorClear... | [
"swda.durl@gmail.com"
] | swda.durl@gmail.com |
ccd56bb62479812644eb6336a126125fb5100dcb | cb6566906b6f48b4766506c258edf035d628dc86 | /FindDeadRegions.h | 74c96a25c8c30dae5f3ce0b32aa8bb3eda7f9c61 | [] | no_license | Wouter-VDP/UBXSec | c3f504c5b22a754bb8982216f86af0111f187a6e | c09d7d3cdb03888873d449ab726ce6eb24190839 | refs/heads/master | 2021-01-20T09:54:26.431048 | 2017-05-03T13:28:01 | 2017-05-03T13:28:01 | 90,297,356 | 0 | 1 | null | 2017-05-04T18:39:57 | 2017-05-04T18:39:57 | null | UTF-8 | C++ | false | false | 2,617 | h | /**
* \file FindDeadRegions.h
*
* \ingroup
*
* \brief Class def header for a class FindDeadRegions
*
* @author Mike Mooney, Marco Del Tutto
*/
/** \addtogroup
@{*/
#ifndef FINDDEADREGIONS_H
#define FINDDEADREGIONS_H
#include <iostream>
#include "fhiclcpp/ParameterSet.h"
#include "lardataobj/RecoBase/... | [
"marco.deltutto@physics.ox.ac.uk"
] | marco.deltutto@physics.ox.ac.uk |
e9c59c193c011417baf0100e4598c7c40fe48d83 | 96816fec7ac7c5f3303bf425467932b86019f54e | /Include/DTV/.svn/pristine/37/37ade39558b5f5616bea2816f1ce25cd3b2b1aad.svn-base | 06f911dad248cf826ace4cfeb052bcfefebf02d9 | [] | no_license | piaoxue85/DH1551-TestApp | b4b4e0fe438165b49124f8e56bd48068c38252d5 | ba78e9a7b4af7928cc1c93a79f9ed89e989667c5 | refs/heads/master | 2022-11-27T11:00:03.945191 | 2020-07-28T04:14:52 | 2020-07-28T04:14:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,986 | /*
* ServiceInterface.h
*
* Created on: 2015-4-9
* Author: timothy.liao
*/
#ifndef SERVICEINTERFACE_H_
#define SERVICEINTERFACE_H_
#include "FreeCAMode.h"
#include "ServiceType.h"
#include "EventInfoInterface.h"
#include "ADITime.h"
class ServiceInterface
{
public:
ServiceInterface ( );
virtual ... | [
"1344465206@qq.com"
] | 1344465206@qq.com | |
ca68b0f56e601609114f95f7c5618bd7a1475020 | e4355967555857fd536787dce39ca30426ffa702 | /867/Game Platform/小游戏/德州扑克/游戏客户端/CardControl.h | 70fd6d587c771c3b3bab5bfca2691fb5ce61d051 | [] | no_license | herox25000/oathx-ogrex-editor | f0fd6044f8065db9cb50a80376e52f502734e877 | f645c7997f27e11a9063a0d352accd98a474cef1 | refs/heads/master | 2020-12-24T14:35:34.912603 | 2013-08-24T06:20:06 | 2013-08-24T06:20:06 | 32,935,652 | 6 | 9 | null | null | null | null | GB18030 | C++ | false | false | 3,723 | h | #ifndef CARD_CONTROL_HEAD_FILE
#define CARD_CONTROL_HEAD_FILE
#pragma once
#include "Stdafx.h"
//////////////////////////////////////////////////////////////////////////
//扑克控件
class CCardControl
{
//状态变量
protected:
bool m_bHorizontal; //显示方向
bool m_bPositively; //响应标志
bool... | [
"mashizhou116@gmail.com@a113e17c-5e0c-ebba-c532-3ad10810a225"
] | mashizhou116@gmail.com@a113e17c-5e0c-ebba-c532-3ad10810a225 |
9411ecd0b096fb03ff61325a126daa0fc2bf0881 | 316c675e72ed9e05b73799254c724a4908caac01 | /SuperMarioBros-3/BoomerangBrother.h | 7d2f88ce89e376650c693f8002ab585237d8a7e5 | [] | no_license | Arina-LoneWolf/SuperMarioBros_3 | 2b22732d547ec5ab5fa2cb911f7d9127a220ea90 | a0aaa7b493deb6dc6ba44d3461ac2713754c09e5 | refs/heads/master | 2023-02-24T02:00:11.304007 | 2021-01-26T14:07:50 | 2021-01-26T14:07:50 | 309,241,306 | 0 | 2 | null | 2020-12-02T18:29:23 | 2020-11-02T02:53:10 | C++ | UTF-8 | C++ | false | false | 948 | h | #pragma once
#include "GameObject.h"
#include "Boomerang.h"
#include "ScoreEffect.h"
//#include "Timer.h"
class CBoomerangBrother : public CGameObject
{
static CBoomerangBrother* __instance;
public:
vector<LPGAMEOBJECT> listBoomerang;
CTimer* delayTimeToRest = new CTimer(BOOMERANG_BROTHER_REST_TIME);
CTimer* cool... | [
"petrinhtrinh182@gmail.com"
] | petrinhtrinh182@gmail.com |
1592d9a028ead735b0a2efde5a5fb0cb1fb77996 | 3fc57693e5aa610204184266f94221e8992208ab | /GondarEngine2/Math/gsTextureCoordinates.h | 95126a90afe255ebf368cec214635dbd890ca099 | [] | no_license | YvensFaos/GondarEngine2 | ae86b76c092df6a40222466de897c019714007cb | a1aff7b5feba72d1142c939845140242cd83e22b | refs/heads/master | 2021-01-18T20:01:21.130769 | 2014-02-04T11:59:53 | 2014-02-04T11:59:53 | 16,510,427 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 564 | h | #ifndef __GS_TEXTURE_COORDINATES_H__
#define __GS_TEXTURE_COORDINATES_H__
#include "gsConfig.h"
#include "gsMacros.h"
#include "gsVector2.h"
class GS_DLL gsTextureCoordinates {
private:
gsVector2 coords[4];
public:
gsTextureCoordinates() {}
gsTextureCoordinates(gsVector2 c1, gsVector2 c2, gsVector2 c3, gsVector2 ... | [
"yvensre@gmail.com"
] | yvensre@gmail.com |
3e3611d2060e746e95ac39328172917229ac6fec | 25f2908cee06b7eb1eee720bef8d767d6ee10125 | /project2D/EnemyTank.cpp | 0a0fcb1cbd2dd0451f9c72a96179e4518923d0d0 | [
"MIT"
] | permissive | Sloth113/MathforGames | 8450ac342aff821173f6c90f6fbc48f50ac73903 | 2e056c827a549d8c7f9d870627b982a60b97cf75 | refs/heads/master | 2021-01-19T01:37:40.792457 | 2017-04-18T07:20:44 | 2017-04-18T07:20:44 | 87,251,744 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,813 | cpp | #include "EnemyTank.h"
EnemyTank::EnemyTank()
{
}
EnemyTank::EnemyTank(aie::Texture * texture) :m_texture(texture)
{
tankRotateSpeed = 50; //Angle
tankChange = Vector3(0, 4, 0);
tankVel = Vector3(0, 0, 0);
shotTimer = 0;
reloadTime = 3;
}
void EnemyTank::setBullet(aie::Texture * t) {
bulletText = t;
}
voi... | [
"sloth.13@hotmail.com"
] | sloth.13@hotmail.com |
adb46a41190dc121c40378e4627fef934fffb69c | b9426b81e329069d6a31d53b54835cb07a723c56 | /Engine/src/GameEngine.cpp | d9c174e44dd1be2580a86a1d9a8139e14db8a720 | [] | no_license | christianpalmer/NewEngine | a6b54b867574c17dc96a3e906b87d34bedaee074 | dbf213bcad4ab8786f307253b5c428a41224f4a2 | refs/heads/master | 2021-01-18T15:12:42.487778 | 2015-03-31T20:46:59 | 2015-03-31T20:46:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,536 | cpp | #include "GameEngine.h"
#include <SDL.h>
#include <SDL_image.h>
#include "MathUtils.h"
#include "Graphics.h"
#include "GraphicsOpenGL.h"
#include <SDL_opengl.h>
GameEngine::GameEngine()
{
}
GameEngine::~GameEngine()
{
}
SDL_GLContext gContext;
void GameEngine::Initialize()
{
SDL_Init(SDL_INIT_EVERYTHING);
_w... | [
"wilkinsense@gmail.com"
] | wilkinsense@gmail.com |
b4aa157aa6c878705863667faf5483d986052ebc | 7d92dd93197ab84610f68a4268c3b2ebf2e66c27 | /codeforces 1174C.cpp | 8d362e457bcc56974a8016b3604046ec42e5803c | [] | no_license | NiladreeDatta/Number-Theory | 5552b3db6443523faae06a65f9555a960466f854 | 98569bd31b1211a763619c8fd8c124e052fa26e5 | refs/heads/master | 2020-12-19T18:39:30.988985 | 2020-05-22T18:32:51 | 2020-05-22T18:32:51 | 235,816,728 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 460 | cpp | #include<bits/stdc++.h>
using namespace std;
int a[100005];
int main()
{
int n,c=1;
cin >> n;
for(int i = 2 ; i <= n ; i++)
{
if(!a[i])
{
a[i] = c++;
for(int j = i + i ; j <= n ; j += i)
{
a[j] = a[i];
}
... | [
"noreply@github.com"
] | NiladreeDatta.noreply@github.com |
8e05ae6bffd88733b025eae203db3404372c8b95 | 8c89782663a343f7c3d362573620f79d275a6142 | /src/10000/10818.cpp14.cpp | cc35fe3ec21b44d583eda62afd86ec2f2bda1736 | [
"MIT"
] | permissive | upple/BOJ | 14a8c8e372131b9a50ba7c1e7428ba7e57b4702d | e6dbf9fd17fa2b458c6a781d803123b14c18e6f1 | refs/heads/master | 2021-06-21T07:17:57.974279 | 2019-06-28T17:56:30 | 2019-06-28T17:56:30 | 128,779,781 | 13 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 270 | cpp | #include<cstdio>
#include<string>
int main()
{
int max=-1000001, min=1000001;
int no_data, num;
scanf("%d", &no_data);
for(int i=0; i<no_data; i++)
{
scanf("%d", &num);
max=num>max?num:max;
min=num<min?num:min;
}
printf("%d %d\n", min, max);
return 0;
}
| [
"upple_@naver.com"
] | upple_@naver.com |
8ed5c6f9f0435b23f7d969bc6d88726b2c59f75f | f9941b52dbe90f01c441c1550479b8bd13f0da0a | /Source/Laboratoare/Laborator6/Laborator6.cpp | 70177c46318479ed77dcc1a0859ac4ef6fde45d6 | [] | no_license | Longman-Stan/River_simulation | 0cab2af8e6ff964b0347ef568388777d5e41d775 | f56f58ddf6cc8b44326fb91c3da3d053628972b1 | refs/heads/main | 2023-04-14T01:47:55.328762 | 2021-04-25T16:44:35 | 2021-04-25T16:44:35 | 361,433,560 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,216 | cpp | #include "Laborator6.h"
#include <vector>
#include <iostream>
#include <Core/Engine.h>
using namespace std;
#define rand01 (rand() / static_cast<float>(RAND_MAX))
// Order of function calling can be seen in "Source/Core/World.cpp::LoopUpdate()"
// https://github.com/UPB-Graphics/SPG-Framework/blob/master/Source/Co... | [
"vlad.lsc2008@gmail.com"
] | vlad.lsc2008@gmail.com |
db5f6a2828e2ac6fead84b76635c9e442e6bc929 | cf6579b535e7f4fe6e2755df33fc1f0815f3322f | /imageMaker/threadPool.cpp | ce8507cea95fa262f1d3d787810fffe5de48f23e | [] | no_license | zhangcj13/imager_maker | c48ba9cf07b956c631de0a3ad880d35cfa04cf9e | de18f92f716059c2e6992d48eebf80c9ce419c8f | refs/heads/master | 2020-03-24T23:28:31.421187 | 2018-08-07T10:37:37 | 2018-08-07T10:37:37 | 143,137,105 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,793 | cpp |
#include "threadPool.h"
namespace imgmaker
{
ThreadPool& ThreadPool::instance()
{
static ThreadPool inst(2);
return inst;
}
// the constructor just launches some amount of workers
ThreadPool::ThreadPool(const size_t threads)
{
startup(threads);
}
// the destructor joins all threads
ThreadPool::~Thread... | [
"zhangcj13@126.com"
] | zhangcj13@126.com |
1660207284738d253f4dd1ace7ae786e1f141cba | dd949f215d968f2ee69bf85571fd63e4f085a869 | /subarchitectures/comsys/branches/stable-0/src/mercury-c++/abduction/server/TtyUtils.h | c2f031875a7fa7b33d37760f24120170db3c1ae4 | [] | no_license | marc-hanheide/cogx | a3fd395805f1b0ad7d713a05b9256312757b37a9 | cb9a9c9cdfeba02afac6a83d03b7c6bb778edb95 | refs/heads/master | 2022-03-16T23:36:21.951317 | 2013-12-10T23:49:07 | 2013-12-10T23:49:07 | 219,460,352 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 473 | h | #ifndef TTYUTILS_H__
#define TTYUTILS_H__ 1
#include <iostream>
namespace tty {
std::ostream & dcol(std::ostream & out);
std::ostream & black(std::ostream & out);
std::ostream & red(std::ostream & out);
std::ostream & green(std::ostream & out);
std::ostream & yellow(std::ostream & out);
std::ostream & blue(std::os... | [
"nickh@robots.ox.ac.uk"
] | nickh@robots.ox.ac.uk |
eb395a4c546af54f10c96d38e52ba5e7abcff889 | b7f3edb5b7c62174bed808079c3b21fb9ea51d52 | /third_party/blink/common/privacy_budget/identifiability_internal_templates_unittest.cc | 048b45868184b05b86cf926fc1cdb3e7261c8e92 | [
"LGPL-2.0-or-later",
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-2.1-only",
"GPL-1.0-or-later",
"GPL-2.0-only",
"LGPL-2.0-only",
"BSD-2-Clause",
"LicenseRef-scancode-other-copyleft",
"MIT",
"Apache-2.0",
"BSD-3-Clause"
] | permissive | otcshare/chromium-src | 26a7372773b53b236784c51677c566dc0ad839e4 | 64bee65c921db7e78e25d08f1e98da2668b57be5 | refs/heads/webml | 2023-03-21T03:20:15.377034 | 2020-11-16T01:40:14 | 2020-11-16T01:40:14 | 209,262,645 | 18 | 21 | BSD-3-Clause | 2023-03-23T06:20:07 | 2019-09-18T08:52:07 | null | UTF-8 | C++ | false | false | 4,062 | cc | // Copyright 2020 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 "third_party/blink/public/common/privacy_budget/identifiability_internal_templates.h"
#include <cstdint>
#include <limits>
#include <type_traits... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
e8f71d4fb84b759afcb0110ffc1650f58cb3df48 | e991c1acde1223f54df733d9520b8b49e227e436 | /RayTracer/src/Render/Camera.cpp | ef57702e236b5db50029497782bad85f58381220 | [] | no_license | harshit2608/Raytracer-C- | 1598500830293ccdc3b7c96f054f393417064e4d | 9ca9284723b2644404a0db7ed9664527212dccd6 | refs/heads/main | 2023-06-07T02:34:27.352686 | 2021-06-28T17:42:28 | 2021-06-28T17:42:28 | 320,901,082 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 39 | cpp | #include "rtpch.h"
#include "Camera.h"
| [
"harshitrock111@gmail.com"
] | harshitrock111@gmail.com |
a8c788a52868fb9976b9eea19fd540eed99e05fc | 6de3456826609ee09e7d88ccbe5fa75262d1e313 | /1-algo-toolbox/3-greedy-algorithms/5_collecting_signatures/covering_segments.cpp | 27dd2e13efa63d7f9d58922d6fa3c244d961473b | [] | no_license | ballaneypranav/ucsd-dsa | c2cce3fddec4eac49ece6324aa42b87e4da76368 | ceca37ba35bbcc44e975a1dd700c3c0cdaae983a | refs/heads/master | 2020-05-24T15:26:38.309718 | 2019-06-05T16:06:28 | 2019-06-05T16:06:28 | 187,331,395 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,022 | cpp | #include <algorithm>
#include <iostream>
#include <climits>
#include <vector>
using namespace std;
struct Segment {
int start, end;
};
bool compareSegmentsByEnd (Segment a, Segment b)
{
if (a.end < b.end)
return true;
else
return false;
}
vector<int> optimal_points(vector<Segment> segments)
{
vector<int> p... | [
"ballaneypranav@gmail.com"
] | ballaneypranav@gmail.com |
43933daa06bb7e5c354ca30a1a9215368c10ec54 | d1e4718197ba3bddd13d6f6958e1d5a492b51af5 | /Geometry/Circle.cpp | ae3f4a10b22440ccb173903b321f6f185b075788 | [] | no_license | reisoftware/ap2d | 1f398664fdc4f8cab9479df18cd2a745f904cdff | e09732655ef66e13e98b8f3b008c91dac541e1f5 | refs/heads/master | 2022-01-22T05:36:56.295845 | 2022-01-04T05:31:57 | 2022-01-04T05:31:57 | 162,372,004 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,274 | cpp |
#include "StdAfx.h"
#include "Circle.h"
#include "intersect.h"
namespace geo{
Circle::Circle(const Point& c, Float r, const Normal& n)
MCT_INIT1("geo:Circle")
{
set(c, r, nor);
}
void Circle::set(const Point& c, Float r, const Normal& n)
{
this->center = c;
this->radius = r;
this->nor = n;
... | [
"tian_bj@126.com"
] | tian_bj@126.com |
85a6fb9ffbc57e3564b5d4bfe6c8e2871493594a | fbe77e9e2a53a4600a1d9b00b5f2c29ee3e8c59a | /plugins/bnet_plugin/bnet_plugin.cpp | 4c919ee27ba3d6a71f32620b34ab7a0f8e415f20 | [
"MIT",
"Apache-2.0",
"BSD-3-Clause"
] | permissive | AcuteAngleCloud/Acute-Angle-Chain | 8d4a1ad714f6de1493954326e109b6af112561b9 | 5ea50bee042212ccff797ece5018c64f3f50ceff | refs/heads/master | 2021-04-26T21:52:25.560457 | 2020-03-21T07:29:06 | 2020-03-21T07:29:06 | 124,164,376 | 10 | 5 | MIT | 2020-07-16T07:14:45 | 2018-03-07T02:03:53 | C++ | UTF-8 | C++ | false | false | 62,156 | cpp | /**
* The purpose of this protocol is to synchronize (and keep synchronized) two
* blockchains using a very simple algorithm:
*
* 1. find the last block id on our local chain that the remote peer knows about
* 2. if we have the next block send it to them
* 3. if we don't have the next block send them a the o... | [
"caokun@acuteangle.cn"
] | caokun@acuteangle.cn |
4c51c4d31b096154ba34562b2564fd47283919f5 | cc6f5216f460f06bdc047fed39ac0e7cebd73cfa | /NTHU_OJ_Codes/7525_-_PF_-_Let’s_play_Igo.cpp | 61500b489c73681ab12ae18e195ae1a4725c6a51 | [] | no_license | henryyang42/C_CPP_Codes | e90d01b03f248c0fbac55542c3c39083ff8a6fe2 | 8d4a686f49f4d565427f68b46039ad5d5626dc38 | refs/heads/master | 2021-01-18T21:43:28.614381 | 2016-04-10T05:38:00 | 2016-04-10T05:38:00 | 16,172,470 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,677 | cpp | #include<stdio.h>
#include<stdlib.h>
#include<string.h>
char map[1011][1011];
int B[1010][1010], W[1010][1010];
int findW(int xa, int ya, int xb, int yb){
return W[xb][yb] - W[xb][ya-1] - W[xa - 1][yb] + W[xa - 1][ya -1];
}
int findB(int xa, int ya, int xb, int yb){
return B[xb][yb] - B[xb][ya-1] - B[xa -... | [
"henry@HenryAlmighty.(none)"
] | henry@HenryAlmighty.(none) |
a37c5a48bdd79c437c36aba787a3dc62051b4c6b | 3ad1fef9ebfd3a5175dfda31013c6281b2824623 | /Base/Source/GameObjectIn2D.h | edb62148afd1eac71ee3d7eda3e5002b8e6762c5 | [] | no_license | BlackLotusXZ/SP3 | b9e183e37d5c747ef07ebcca84c0115c34c8809d | e0c8d98be1bfa44574ce7aee68f24a78c226876b | refs/heads/master | 2021-01-16T23:00:35.418167 | 2015-08-17T07:46:50 | 2015-08-17T07:46:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 422 | h | #ifndef GAMEOBJECTIN2D_H
#define GAMEOBJECTIN2D_H
#include "collisionin2d.h"
class GameObjectIn2D : public CollisionIn2D
{
public:
GameObjectIn2D(void);
~GameObjectIn2D(void);
virtual void Init(Vector2 position, Vector2 scale, float mass, float tileSize);
void SetPosition(Vector2 position);
Vector2 GetPositio... | [
"blaze-trinity@hotmail.sg"
] | blaze-trinity@hotmail.sg |
63ee49bd168086d97dd3650bce231eaebde76a14 | 4bcc9806152542ab43fc2cf47c499424f200896c | /tensorflow/core/kernels/ragged_tensor_to_variant_op_test.h | 0b71a308b2c5030cbbf7bfa0fa2755e28332d241 | [
"Apache-2.0",
"LicenseRef-scancode-generic-cla",
"BSD-2-Clause"
] | permissive | tensorflow/tensorflow | 906276dbafcc70a941026aa5dc50425ef71ee282 | a7f3934a67900720af3d3b15389551483bee50b8 | refs/heads/master | 2023-08-25T04:24:41.611870 | 2023-08-25T04:06:24 | 2023-08-25T04:14:08 | 45,717,250 | 208,740 | 109,943 | Apache-2.0 | 2023-09-14T20:55:50 | 2015-11-07T01:19:20 | C++ | UTF-8 | C++ | false | false | 5,899 | h | /* 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 |
3dae3145607eac39aed770047cac426cd39aaf0c | 48d5f251a8168b7e77c56f35e7c161b03315ea39 | /BOJ/16929_TwoDots.cpp | 782633f52d7137216341ea45e5f299623072fa0e | [] | no_license | dmzld/algorithm | c61f806f472921fdcf000b080349f3f6e682ee0c | 4d0fc85616522ac85f638f60ca4b6d1890035efb | refs/heads/master | 2021-07-03T23:09:57.891752 | 2020-12-06T07:54:35 | 2020-12-06T07:54:35 | 205,629,133 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,052 | cpp | #include <iostream>
#include <cstring>
using namespace std;
int N, M;
char map[50][50];
bool check[50][50];
pair<int, int> dir[4] = { { 0, 1 }, { 0, -1 }, { 1, 0 }, { -1, 0 } };
bool dfs(int sy, int sx, int y, int x, int cnt){
bool cycle = false;
for (int i = 0; i < 4; i++){
int ny = y + dir[i].first, nx = x + ... | [
"noreply@github.com"
] | dmzld.noreply@github.com |
3fdccd3c914eb88e6a75c0f12ddcfe50091ed64d | 505b085373e70f0ab16d4c7f05bbd497f50b7e17 | /contest/contest 25-11-2011/cAPS-lOCK.cpp | fae0dd66201ac2534420f9124b4be1fa809ad385 | [] | no_license | leninhasda/competitive-programming | 7699199b26e4a80833db6631053a827831c4c0e0 | 6f3ffa51e1a16b782cdf99bfa6224f2a3510fa85 | refs/heads/master | 2022-11-05T19:12:13.197325 | 2022-10-18T07:28:23 | 2022-10-18T07:28:23 | 13,601,367 | 1 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 1,667 | cpp | #include<iostream>
#include<stdio.h>
#include<string.h>
using namespace std;
bool isU(char ch)
{
if(ch >= 'A' && ch <= 'Z') return true;
return false;
}
bool isL(char ch)
{
if(ch >= 'a' && ch <= 'z') return true;
return false;
}
int main()
{
char word[105];
int i, len;
... | [
"leninhasda@gmail.com"
] | leninhasda@gmail.com |
5dfb4f09ec374333ab905d0b737ec903dc759459 | 1d1f67e1a3f98871a1b9ba100704083e426fade9 | /Leet2019/DesignCircularQueue.cpp | 155c29bbf3fbcc78fc815772e98acb40bddd9647 | [] | no_license | flameshimmer/leet2019.io | fae46200ed78fb0478db726b8c31e976e7d57001 | 47808dc97609f5a96c97a6fc703b98c75ad9a2b3 | refs/heads/master | 2022-07-22T10:51:10.651558 | 2022-07-07T18:05:48 | 2022-07-07T18:05:48 | 202,389,705 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 160 | cpp | #include "stdafx.h"
//
namespace Solution2019
{
namespace DesignCircularQueue
{
void Main() {
string test = "tst test test";
print(test);
}
}
}
| [
"Ning@ningmadev99.redmond.corp.microsoft.com"
] | Ning@ningmadev99.redmond.corp.microsoft.com |
1d0c17cbbbe04834f104ef281d168e2cf02a5d1b | bd1e457d3bc7aba76c1200d15416fa5c1bf847de | /Lecture Codes/Lecture 19/Book.cpp | 6ff98981f3e477381d8a8a1a641a614d43b8b635 | [] | no_license | Mu-Ahmad/OOP-CMP-244-241 | 6da4f2fee88c207a688b8c70a8dd3ad8655921c3 | 3dd826fff83c9a539f89fc2483ac80c032b269dc | refs/heads/main | 2023-06-06T16:30:06.089789 | 2021-06-18T15:33:35 | 2021-06-18T15:33:35 | 303,761,272 | 17 | 6 | null | 2020-10-26T11:14:37 | 2020-10-13T16:19:04 | C++ | UTF-8 | C++ | false | false | 459 | cpp | #include <iostream>
using namespace std;
class Book{
string title, author;
int price;
public:
Book(string title, string author, int price){
this->title = title;
this->author = author;
this->price = price;
}
friend ostream& operator << (ostream &, const Book&);
};
ostream& operator << (ostream &out, const ... | [
"bcsf19m538@pucit.edu.pk"
] | bcsf19m538@pucit.edu.pk |
42375b75c201c3f19c82b24349526bd526871063 | 9d364070c646239b2efad7abbab58f4ad602ef7b | /platform/external/chromium_org/chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer.h | ed366a5da96970624e6585b871fa4f9421e0d456 | [
"BSD-3-Clause"
] | permissive | denix123/a32_ul | 4ffe304b13c1266b6c7409d790979eb8e3b0379c | b2fd25640704f37d5248da9cc147ed267d4771c2 | refs/heads/master | 2021-01-17T20:21:17.196296 | 2016-08-16T04:30:53 | 2016-08-16T04:30:53 | 65,786,970 | 0 | 2 | null | 2020-03-06T22:00:52 | 2016-08-16T04:15:54 | null | UTF-8 | C++ | false | false | 4,807 | h | // 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.
#ifndef CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_LOCAL_TO_REMOTE_SYNCER_H_
#define CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_LOCAL_TO_REMOTE_SYNC... | [
"allegrant@mail.ru"
] | allegrant@mail.ru |
0411a9b77c370dfcb612340eddffed78aa2ca211 | 2f27c9cf6adb01663c1e15f1f4751467637e7a7e | /my_idea/[NOT_WORKING_NOW]game_engine_with_concept_in_cpp_20/example_code.cpp | ecfa00538626904804d0fe0ae787733199702519 | [] | no_license | NoaLand/learn_cpp_the_hard_way | 8336c67e14d4d7974726341f6d4876e65fbcdeb8 | f7c5d434c3a917ad8b0b38f09f6a87132d27f059 | refs/heads/master | 2020-09-29T10:35:00.376034 | 2019-12-10T03:20:42 | 2019-12-10T03:20:42 | 227,019,780 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,916 | cpp | //#include <cstdio>
//#include <type_traits>
//#include <tuple>
////#include <concepts>
//#include <boost/hana.hpp>
//using namespace boost::hana::literals;
//namespace hana = boost::hana;
//
//template<typename T>
//concept SizeConstant = std::convertible_to<T, std::size_t> && requires (T t) {
// { T::value } -> st... | [
""
] | |
63dac574ffa2b54c3d0af05a6d0e226d5a5afbf3 | 8aa26f17244c05ff6f6fbcd8d55eaaad6892b691 | /tensor_rg/tensor_rg.cc | 3b75b4a5d7b835652aa964d01a62224f45262b7f | [] | no_license | jiangshenghan/PEPS_ITENSOR | 6112b0b9cf3222fd4b27366906041b4d793af244 | fec2be0e2e3deee35464c4cee9ad3dee2669101d | refs/heads/master | 2021-01-21T04:47:27.100312 | 2016-05-23T18:07:18 | 2016-05-23T18:07:18 | 45,432,298 | 5 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 16,314 | cc |
#include "tensor_svd.h"
#include "tensor_rg.h"
#include <limits>
template <class TensorT>
TensorT_RG<TensorT>::TensorT_RG(const Lattice_Base &lattice, const std::vector<TensorT> &input_tensors, int maxm):
lattice_(lattice),
input_tensors_(input_tensors),
factor_input_tensors_(input_tensors.size(),std::vec... | [
"jiangshenghan@gmail.com"
] | jiangshenghan@gmail.com |
6fc40e73a2ed641a1eff9588356944289959536a | d931cf4a61277cf7d5db5556daa86358bc19d04e | /Resources/Monopoly Main.cpp | 8f72c4652f77540c13e5d520c9d714eb1102f040 | [] | no_license | Nabeegh-Ahmed/Monopoly-Cpp | e7bcd859586d055841a137a82d1f9c2ba6731d91 | 2a71c014e738c0f8ed0a25e618ac0f489f666118 | refs/heads/master | 2023-02-27T12:58:20.500086 | 2021-01-15T16:57:23 | 2021-01-15T16:57:23 | 263,248,119 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 379 | cpp | #include <iostream>
#include <SFML/Graphics.hpp>
#include "Cell.h"
#include"Board.h"
#include "PrivateProperty.h"
int PrivateProperty::highestnumberofhotels[7] = {0,0,0,0,0,0,0};
int PrivateProperty::highestnumberofhouses[7] = { 0,0,0,0,0,0,0 };
int PrivateProperty::highestnumberofshops[7] = { 0,0,0,0,0,0,0 };
... | [
"noreply@github.com"
] | Nabeegh-Ahmed.noreply@github.com |
20d8f861e815038bcb398f625b967480da1bef69 | 8d0c93e7c8611862a1c1dd400e148b34dfbd74ba | /src/rpcprotocol.cpp | 3cf1a4c6a028fd8180a2234d0223b14d39b25517 | [
"MIT"
] | permissive | CyberSensei1/MoonDEXCoin | 2acd4b94252705613410809ebe28b05a33f778f0 | 4fecb2d5544222b46d2093fddace74e24bfe325a | refs/heads/master | 2020-03-18T17:04:47.633236 | 2018-05-20T14:51:11 | 2018-05-20T14:51:11 | 135,004,975 | 0 | 1 | null | 2018-05-27T00:51:32 | 2018-05-27T00:51:31 | null | UTF-8 | C++ | false | false | 3,880 | cpp | // Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2015 The Bitcoin Core developers
// Copyright (c) 2014-2017 The Dash Core developers
// Copyright (c) 2018 The MoonDEX developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-lic... | [
""
] | |
64333e15947c5f4dce8fc9b01f2dbd72a0a52415 | 9e520130445d1a37a9ff0df2934a6d32a2d22fd0 | /lib/vortex_lite/include/cpp/mapping/SEQ.h | 0dec4f8d1616b50fc43dd1d8b0cefcc563779d36 | [] | no_license | locke12456/DDS-Sample | 53727b6a562f24d302fa2cee07b81109f312d5af | 46b776ec4ba1fd9bd6325d7e649f1c6e191636fb | refs/heads/master | 2021-01-17T16:02:29.126507 | 2016-08-08T04:13:34 | 2016-08-08T04:13:34 | 64,986,376 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,935 | h | /*
* Vortex Lite
*
* This software and documentation are Copyright 2006 to 2015 PrismTech
* Limited and its licensees. All rights reserved. See file:
*
* $LITE_HOME/LICENSE
*
* for full copyright notice and license terms.
*
*/
#ifndef SACPP_MAPPING_SEQ_H
#defi... | [
"locke.chen@adlinktech.com"
] | locke.chen@adlinktech.com |
7e80b3ec7df1ddbe0178aeb692bae11a46bd2954 | e6c80d747be1496b9c0ebcc8a8bc33bd64eb17dd | /Codes/C++ Programs/11Numerical_Problems/C++ Program to Compute Discrete Fourier Transform Using the Fast Fourier Transform Approach.cpp | 2572098935f799e778f5bec1bc8696f9341e674a | [] | 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 | 1,999 | cpp | /*This is a C++ Program to perform Fast Fourier Transform. A fast Fourier transform (FFT) is an algorithm to compute the discrete Fourier transform (DFT) and its inverse. Fourier analysis converts time (or space) to frequency and vice versa; an FFT rapidly computes such transformations by factorizing the DFT matrix int... | [
"sbkannath1996@gmail.com"
] | sbkannath1996@gmail.com |
aafb642a3dc6b3c528caec946410526f97845bfa | 97e53e8028ffb9d3f736a0999cc470f9942ddcd0 | /10 打印与报表技术/01 基 础 打 印/003 打印对话框及其控件中的数据-例1/PrintForm/fields.h | 13194c679c77699b998054eddc157ea622e653db | [] | no_license | BambooMa/VC_openSource | 3da1612ca8285eaba9b136fdc2c2034c7b92f300 | 8c519e73ef90cdb2bad3de7ba75ec74115aab745 | refs/heads/master | 2021-05-14T15:22:10.563149 | 2017-09-11T07:59:18 | 2017-09-11T07:59:18 | 115,991,286 | 1 | 0 | null | 2018-01-02T08:12:01 | 2018-01-02T08:12:00 | null | UTF-8 | C++ | false | false | 1,302 | h | #if !defined(AFX_FIELDS_H__D70F2203_B428_4084_9256_D18D3169EEB8__INCLUDED_)
#define AFX_FIELDS_H__D70F2203_B428_4084_9256_D18D3169EEB8__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
// NOTE: Do not modify the conte... | [
"xiaohuh421@qq.com"
] | xiaohuh421@qq.com |
e9184bb19125f25e8523aface55605608f198b7c | b7fbdc757002d64012574f4fb1fb8deb5d3fed0b | /source/TestList.cpp | 62dd61d1b3cabc00b5f000176bb67c99039fdcd4 | [
"MIT"
] | permissive | Nicola20/programmiersprachen-aufgabenblatt-4 | 5dabe7a0d149ad0fb39613810481c2b7d4184d52 | 76bd288e8f476fa2db4d49055ac54a03ade8e2df | refs/heads/master | 2020-03-19T00:00:48.992616 | 2018-06-10T18:20:18 | 2018-06-10T18:20:18 | 135,446,836 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,589 | cpp | #define CATCH_CONFIG_RUNNER
#include "catch.hpp"
#include "List.hpp"
#include <iostream>
#include <vector>
TEST_CASE ("list_default_constructor","[default]")
{
List <int> list1;
REQUIRE (list1.empty() == true);
REQUIRE (list1.size() == 0);
}
TEST_CASE ("list_push_front","[push_front]")
{
List <int> list1... | [
"nicola.lea.libera@uni-weimar.de"
] | nicola.lea.libera@uni-weimar.de |
bae539a8688c1be50fee34af40c43f96f4885460 | e765bf650d7f5795ae1af2eab5e3434cdf381b36 | /Source/Atomic/IO/Deserializer.h | 67495d7fe1567b9f0774e849e33d40e26904c349 | [
"BSD-3-Clause",
"Zlib",
"LicenseRef-scancode-openssl",
"LicenseRef-scancode-khronos",
"BSL-1.0",
"Apache-2.0",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause",
"MIT",
"NTP",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | UNIVERSAL-IT-SYSTEMS/AtomicGameEngine | 97e1619a8b98eda27c2fa064c0d8d8d07b85689f | c3378db3fb93933c46a5a9189b40d6057e210c44 | refs/heads/master | 2021-01-15T15:00:12.897967 | 2016-07-27T23:06:34 | 2016-07-27T23:06:34 | 64,393,855 | 0 | 1 | null | 2016-07-28T12:31:06 | 2016-07-28T12:31:06 | null | UTF-8 | C++ | false | false | 4,808 | h | //
// Copyright (c) 2008-2015 the Urho3D project.
//
// 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, mod... | [
"josh@galaxyfarfaraway.com"
] | josh@galaxyfarfaraway.com |
4c5c07074f87cb79408fcbef77d99cd165a88d7e | 20d1c5315595c731a2b0e6846af068e791d0aa2e | /C++17Study/24_declaring_custom_get_n.cpp | ea361a3d0ece2407337699685dfb19c987465ec1 | [] | no_license | WhiteCri/Cpp17Study | 15b71aaad3ce91da279f8461e23e50b43b179d30 | 5d5eb259d63e239fe222a71e7d6b0390d3a2c7f7 | refs/heads/master | 2021-05-21T19:45:18.261239 | 2020-04-06T12:28:58 | 2020-04-06T12:28:58 | 252,775,022 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 784 | cpp | #include <iostream>
struct S {
int n;
std::string s;
float d;
};
class MyClass {
public:
int GetA() const { return a; }
float GetB() const { return b; }
private:
int a;
float b;
};
template <std::size_t I> auto get(MyClass& c) {
if constexpr (I == 0) return c.GetA();
else if constexpr (I... | [
"sjrnfu12@naver.com"
] | sjrnfu12@naver.com |
a6c3f3376bb5a7401e8607413c9c4bef592d9e29 | 33446d28d95d865b4612b67a6719417833504b5f | /main.cpp | b6769ca3f3e457e676843b713ac66298168f2688 | [] | no_license | AvilMP/Puzzle-game | 5f33f804d1250b06adbe47e489c98972f7279c38 | 2f20202328c56c320b00ffa05a29cad2886d678c | refs/heads/master | 2021-05-18T02:18:34.829702 | 2020-03-29T17:53:03 | 2020-03-29T17:53:03 | 251,062,675 | 0 | 0 | null | null | null | null | WINDOWS-1250 | C++ | false | false | 2,066 | cpp | #include <iostream>
#include <windows.h>
#include <conio.h> /// getch.
#include "klasy.h"
using namespace std;
int punktacja=0;
int odpowiedz_a;
int odpowiedz_b;
int odpowiedz_c;
int punkty(int odp_a,int odp_b,int odp_c,int obr_a,int obr_b,int obr_c); /// dodaje punkt gdy prawda.
void baner(int nr_... | [
"noreply@github.com"
] | AvilMP.noreply@github.com |
a7c8d8270be8679c09be6a6d44ba6c8e5567526e | e814880c737bc67fb21d372b1a8aad1665e7fc4a | /data_process/Depth2HHA/utils/depth_features/rgbdutils/imagestack/src/Calculus.h | 5645dee986e1bd975d9c8727eabf91bd1eadfa08 | [
"BSD-2-Clause",
"CC0-1.0",
"LicenseRef-scancode-proprietary-license"
] | permissive | rgvillanueva28/CVPR21Chal-SLR | 8ae74aa411ac3a3ee68e049ffa7e780c4ab5b569 | 465e3df69381c5740dae8682a76bbee06de2c5f8 | refs/heads/main | 2023-04-03T13:22:54.589426 | 2021-03-29T05:26:29 | 2021-03-29T05:26:29 | 353,712,728 | 0 | 0 | CC0-1.0 | 2021-04-01T15:07:10 | 2021-04-01T13:39:43 | null | UTF-8 | C++ | false | false | 836 | h | #ifndef IMAGESTACK_CALCULUS_H
#define IMAGESTACK_CALCULUS_H
#include "header.h"
class Gradient : public Operation {
public:
void help();
void parse(vector<string> args);
static void apply(Window im, string dimensions);
static void apply(Window im, char dimension);
};
class Integrate : public Operati... | [
"jiangsongyao@gmail.com"
] | jiangsongyao@gmail.com |
3b8d2c5befaee3951286480e4ada71bebdb640b4 | 06b79cef6b3425db3c5b39dd727f4d1a48a99efb | /74_Search_a_2D_Matrix.cpp | ab545d8fd741f085def6746ad34d119b35bb10b8 | [] | no_license | YinJingcao/lc | f05a8859a8af442a7ab2c589e4447d94894d2d8a | adc7561693c3638bb438aeb0838b4b9901abb0ef | refs/heads/master | 2021-09-14T14:34:19.850971 | 2018-05-15T05:06:17 | 2018-05-15T05:06:17 | 124,845,080 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,023 | cpp | /**
* @file 74_Search_a_2D_Matrix.cpp
* @author yinjingcao
* @date 2018/03/28 19:28:22
* @version $Revision$
* @brief
*
**/
class Solution {
public:
bool searchMatrix(vector<vector<int> >& matrix, int target) {
if (matrix.empty()) return false;
int xlen = matrix.size();
int ylen ... | [
"yinjingcao@baidu.com"
] | yinjingcao@baidu.com |
fb7fe68232692bb14ef750748a1c3cae60f349f8 | de1acc8927bfcd72856e2d432b3cbe6ff458a62f | /HashEntry.h | d827000049b349bba09740777c92ef28be5e3b85 | [] | no_license | yoonsz25/project3 | fd7641151229d1e3158047865d3b76f953086123 | ef17bc5f87983b2a26fd97c31286e2d37983a825 | refs/heads/master | 2021-01-10T01:08:36.769046 | 2016-03-14T15:04:11 | 2016-03-14T15:04:11 | 52,417,068 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 503 | h | #ifndef __HASHENTRY_H__
#define __HASHENTRY_H__
#include <string>
#include <list>
#include <vector>
class HashEntry{
friend class AdList;
private:
std::string name;
int dataPointer;
std::list<std::string> friends;
public:
HashEntry():name("!") , dataPointer(-1) {};
std::string getName(){return this->nam... | [
"yoonsz25@yahoo.com"
] | yoonsz25@yahoo.com |
5d44bc212078f2e6e20123875bfb3590f6f6688f | 050c28c06a8475c4ff9289ee0c3b415a7576bc61 | /Runtime/RHI/D3D11/D3D11_RasterizerState.cpp | 25dc473d1b5033d5f88b12a209e07c368b5fb720 | [
"MIT"
] | permissive | Michael-Lfx/SpartanEngine | 4746b9f94c93b25858ec096dfe71746e450ec619 | 146c6f6c715f1efbbfeaf09b6e3e17067c1d911c | refs/heads/master | 2023-05-30T12:18:22.344468 | 2021-06-15T17:40:28 | 2021-06-15T17:40:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,807 | cpp | /*
Copyright(c) 2016-2021 Panos Karabelas
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, publish, distrib... | [
"PanosConroe@hotmail.com"
] | PanosConroe@hotmail.com |
aa44bd552da1325dd573aed7018ce0b159817be6 | 25abd807ca135a5c268255515f6d493c229903be | /cppwinrt/impl/Windows.Media.Ocr.1.h | ecc4c60de2b5ea807356f3b5a232940dc369e2a9 | [
"Apache-2.0"
] | permissive | RakeshShrestha/C-Calendar-Library | 670924ae3204d8737d8f43c47e54fe113d202265 | 6525707089891b0710e34769f7aeaea0c79271a1 | refs/heads/master | 2022-05-16T15:26:37.102822 | 2022-04-28T08:45:58 | 2022-04-28T08:45:58 | 33,488,761 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,935 | h | // WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.200117.5
#ifndef WINRT_Windows_Media_Ocr_1_H
#define WINRT_Windows_Media_Ocr_1_H
#include "winrt/impl/Windows.Media.Ocr.0.h"
WINRT_EXPORT namespace winrt::Windows::Media::Ocr
{
struct __declspec(empty_bases) IOcrEngine :
Windows::F... | [
"rakesh.shrestha@gmail.com"
] | rakesh.shrestha@gmail.com |
8a1bc23184a856f6426d70946c52a63bd1905714 | c6fdcad61d7d4fcea4a1822be3cce5c46ad2ec48 | /include/klee/Internal/Support/Timer.h | d38844beac9886fda58a998da23b1907a32a43eb | [
"NCSA",
"Apache-2.0"
] | permissive | LoongWalker/kontest | bae8daf80fd8814e98a31f6f003648c7bbd275c6 | aded3bb716d0dc7cb5b531c93b0754a2d69f2e53 | refs/heads/master | 2022-01-14T20:16:43.318133 | 2019-06-21T09:55:11 | 2019-06-21T09:55:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 712 | h | //===-- Timer.h -------------------------------------------------*- C++ -*-===//
//
// The KLEE Symbolic Virtual Machine
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===------------------------------------------------------... | [
"rjoshi@rjoshi.org"
] | rjoshi@rjoshi.org |
0438dd7854bb40334407ef16a2c8cf9e610547c8 | 5988ea61f0a5b61fef8550601b983b46beba9c5d | /3rd/ACE-5.7.0/ACE_wrappers/tests/Process_Env_Test.cpp | 1a85347d986a5537595db3792c093abbdc7b615f | [
"MIT"
] | permissive | binghuo365/BaseLab | e2fd1278ee149d8819b29feaa97240dec7c8b293 | 2b7720f6173672efd9178e45c3c5a9283257732a | refs/heads/master | 2016-09-15T07:50:48.426709 | 2016-05-04T09:46:51 | 2016-05-04T09:46:51 | 38,291,364 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 3,592 | cpp | // $Id: Process_Env_Test.cpp 83346 2008-10-21 14:15:38Z sma $
// ============================================================================
//
// = LIBRARY
// tests
//
// = FILENAME
// Process_Env_Test.cpp
//
// = DESCRIPTION
// This program tests the limits of the Windows CreateProcess
// environmen... | [
"binghuo365@hotmail.com"
] | binghuo365@hotmail.com |
d79acdcc9a963b77966ffd4841bed33bd09ae498 | 392a5f46c62500b90d37f7937ce3239561728a9f | /Source/VirtuoZoMap/mdisetcursorpage.cpp | 58b24bf0d767b7df1b7b96a8c9515d512b33e005 | [] | no_license | wangxiang5/DYM | 554dc052e61c17d3b4bfdeea7bae404e12997596 | 823d6731a16f7bf4c6d43728c8903514da31b1a1 | refs/heads/master | 2020-04-06T14:14:07.376918 | 2019-03-21T02:22:19 | 2019-03-21T02:22:19 | 157,533,033 | 0 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 7,349 | cpp | // MdiSetCursorPage.cpp : implementation file
//
#include "stdafx.h"
#include "VirtuoZoMap.h"
#include "MdiSetCursorPage.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CMdiSetCursorP... | [
"mld@whu.edu.cn"
] | mld@whu.edu.cn |
2d2ac45d480ae9c4cbfcd276a86350c7e04adfe7 | 30a3e10673b3244206abe0611ced13e714e1bff5 | /DesignMode/BridgeMode/Bag.h | 63c5b026e9e079e5c93d857264e68f84c1cba7a5 | [] | no_license | fhLiu/MyProject | c68f31923ee41fd797041c6e346691361c16af01 | 620730ddb9f0caf630d7a20cf6a6f6c84f96baf2 | refs/heads/master | 2021-12-23T06:57:18.769690 | 2021-12-13T11:50:55 | 2021-12-13T11:50:55 | 158,992,520 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 222 | h | #pragma once
#include "Color.h"
#include <memory>
struct Bag
{
void SetColor(Color *color)
{
p_color.reset(color);
}
virtual void GetName() = 0;
protected:
std::shared_ptr<Color> p_color;
};
| [
"andrew2_liu@askey.com"
] | andrew2_liu@askey.com |
8265cb843c083ac6d96407eac938890ccf2c6bfb | 794c894eed9e4f33897856b29a4f5c044dbad6d1 | /book/articles/AWSReVIEW/AWSReVIEW.re | 3df33f6407cedd96494181a3e64086d4ddf0c220 | [] | no_license | nanbuwks/qiita2review | 05475372f24f8622e646820babbd5d350d5f13bd | e92f35f22c6ae7ae42c94e6b9a906e0cb9b5693c | refs/heads/master | 2021-12-26T13:13:58.510581 | 2021-12-20T20:13:36 | 2021-12-20T20:13:36 | 87,666,907 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,366 | re |
= AWS上にRe:VIEW環境を構築する
AWS 上に Re:VIEW 環境を構築してみました。
== 環境
* T2.micro
* Ubuntu 16.04 64bit(Ubuntu 14.04から dist-upgreadeをかけています。)既に ruby や rack は別の用事でインストール終えていました。
== インストール
//emlist{
gem install review
gem install md2review
//}
試してみます
//emlist{
review-init testwrite
cd testwrite
rake pdf
//}
エラー
//emlis... | [
"nanbuwks+github@nanbu.com"
] | nanbuwks+github@nanbu.com |
2500dff50d9a084e801549d4859381ecb6b262d9 | d659ed4230e05b75929220ac0514abf092f714ea | /implementation/cvsupervisor.cpp | 70bec340643ffe324377cfdc0d618bb3fd5841b9 | [] | no_license | VSBochkov/CVKernel | a4e04effb812b9df83c8809beb8fa7f8447aa4e3 | 58b22b8309f01dff4fc1ddbd0135dd9493704ed9 | refs/heads/master | 2021-01-12T11:31:26.528962 | 2017-06-17T10:34:02 | 2017-06-17T10:34:02 | 72,944,600 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,730 | cpp | #include "cvsupervisor.h" // Подключаем файл cvsupervisor.h для определения методов классов
#include "cvclient.h" // Подключаем файл cvclient.h для использования класса CVClient
#include "cvconnector.h" // Подключаем файл cvconnector.h для использования методов классов-родителей
#include "cvjsonc... | [
"vlbochk@mera.ru"
] | vlbochk@mera.ru |
ced783748aab6aa7309ed434535d4b72d56f062f | 5992e5d23575f22127631fbdf134ff9d2b18605c | /MAX/Editor/MAXEditor.cpp | f34c5d5fa738270233f3d080f78ba4351ffd26d5 | [] | no_license | jsj2008/MAXNew | 1f52012ba47161ac3a07c3c6b10ec4fbd567d6ef | 3a87ea933f3d66757a1d573d85bb067c1604246f | refs/heads/master | 2020-09-14T10:39:05.923680 | 2013-09-05T17:54:44 | 2013-09-05T17:54:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 215 | cpp | //
// MAXEditor.cpp
// MAX
//
// Created by Anton Katekov on 19.06.13.
// Copyright (c) 2013 AntonKatekov. All rights reserved.
//
#include "MAXEditor.h"
MAXEditor::MAXEditor()
{}
MAXEditor::~MAXEditor()
{}
| [
"void0main@gmail.com"
] | void0main@gmail.com |
c5478e2f808a9b606b3798f4bbf040929a366424 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/httpd/gumtree/httpd_old_hunk_3949.cpp | 1982e7046112f5440c4c8df212eb8cc05f60ccb1 | [] | 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 | 509 | cpp | APR_BRIGADE_INSERT_TAIL(bb, b);
b = apr_bucket_flush_create(c->bucket_alloc);
APR_BRIGADE_INSERT_TAIL(bb, b);
rv = ap_pass_brigade(r->output_filters, bb);
cid->response_sent = 1;
if (rv != APR_SUCCESS)
ap_log_rerror(APLOG_MARK, APLOG_DEBUG, rv, r,
... | [
"993273596@qq.com"
] | 993273596@qq.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.