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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b455f642cb357c8c6012de2286e48eb7dea93094 | b0dd7779c225971e71ae12c1093dc75ed9889921 | /libs/pool/test/test_valgrind_fail_1.cpp | 28c9027321d2f8e88919b7fcbce8d328f506a923 | [
"LicenseRef-scancode-warranty-disclaimer",
"BSL-1.0"
] | permissive | blackberry/Boost | 6e653cd91a7806855a162347a5aeebd2a8c055a2 | fc90c3fde129c62565c023f091eddc4a7ed9902b | refs/heads/1_48_0-gnu | 2021-01-15T14:31:33.706351 | 2013-06-25T16:02:41 | 2013-06-25T16:02:41 | 2,599,411 | 244 | 154 | BSL-1.0 | 2018-10-13T18:35:09 | 2011-10-18T14:25:18 | C++ | UTF-8 | C++ | false | false | 591 | cpp | /* Copyright (C) 2011 John Maddock
*
* Use, modification and distribution is subject to the
* Boost Software License, Version 1.0. (See accompanying
* file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
*/
// Test of bug #2656 (https://svn.boost.org/trac/boost/ticket/2656)
#include <boost/pool/po... | [
"tvaneerd@rim.com"
] | tvaneerd@rim.com |
f5786b25f0e74bdb4fe057b7189bd5ce448c9b9e | 5960671ed913fa06d9640f741289c6670f200a81 | /kmeans.cpp | ac78b9b911f6570f28c1fe57a2d850e697bb051a | [] | no_license | netbeen/UncleZhow_Utils | 39b412c659fcb89d6a1dce1c4b3d122a522a8db6 | f93fb90ee55cddd1f7af883a7815cb7f7ac19153 | refs/heads/master | 2021-01-10T07:00:59.982807 | 2015-12-02T14:31:44 | 2015-12-02T14:31:44 | 47,763,075 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,713 | cpp | #include "kmeans.h"
#include <fstream>
KMeans::KMeans()
{
}
void KMeans::main(){
cv::Mat rawImage = cv::imread("/home/netbeen/桌面/周叔项目/stone.png");
cv::Mat mat_sample(rawImage.rows*rawImage.cols, 3, CV_32F);
for(int y_offset = 0; y_offset < rawImage.rows; y_offset++){
for(int x_offset = 0; x_off... | [
"netbeen.cn@gmail.com"
] | netbeen.cn@gmail.com |
81ac3aec118dc4ca648283b56d0d2cfc512775e5 | 7f7ebd4118d60a08e4988f95a846d6f1c5fd8eda | /wxWidgets-2.9.1/src/osx/carbon/renderer.cpp | d99ff9003159e5183cd22d915c1c0f830fac49c7 | [] | no_license | esrrhs/fuck-music-player | 58656fc49d5d3ea6c34459630c42072bceac9570 | 97f5c541a8295644837ad864f4f47419fce91e5d | refs/heads/master | 2021-05-16T02:34:59.827709 | 2021-05-10T09:48:22 | 2021-05-10T09:48:22 | 39,882,495 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 30,851 | cpp | ///////////////////////////////////////////////////////////////////////////////
// Name: src/osx/carbon/renderer.cpp
// Purpose: implementation of wxRendererNative for Mac
// Author: Vadim Zeitlin
// Modified by:
// Created: 20.07.2003
// RCS-ID: $Id$
// Copyright: (c) 2003 Vadim Zeitl... | [
"esrrhs@esrrhs-PC"
] | esrrhs@esrrhs-PC |
9201413fac0a99bdab3dd41bcfafd5a7d8d7a8f4 | ba3df81b4e61a7963240321295c0684b5a38d0f1 | /model/fib/ndn-fib.h | a92a573fe4d5d98a9216e8a458e38ad1b57fcc0d | [] | no_license | manseu/ns-3-ndnSIM-Modification | 9803326a4207047733c3cad6ae8a978a518b01f4 | c22ab1e867584020dc023cc5c0c7f61560599d05 | refs/heads/master | 2021-01-19T06:32:36.945348 | 2012-12-08T06:02:15 | 2012-12-08T06:02:15 | 6,573,112 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,222 | h | /* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil -*- */
/*
* Copyright (c) 2011 University of California, Los Angeles
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation;
... | [
"tomy_ip@live.com"
] | tomy_ip@live.com |
f6c5056d4eb1e8c10c4b35a6ad27fe05e6bdd5f9 | bb1d227d516aa2316c2c97d9f844e03584e0b0bf | /backend/src/movie/movie.hpp | 2a68fbebcd2b07a6829d0d83a20657a8fbbabe0f | [] | no_license | phymod0/yify-home | c9c3bf31fa8e3b81377e3367656dc13e790cf8d3 | c3377972a2573f31bf2a9cdeec62c708a5ef3e12 | refs/heads/master | 2020-05-27T14:49:18.319423 | 2019-08-03T22:36:35 | 2019-08-03T22:36:35 | 188,668,386 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,227 | hpp | #ifndef MOVIE
#define MOVIE
#include <stdio.h>
#include <stdint.h>
#include "../cpp_compat/pair.hpp"
#include "../cpp_compat/string.hpp"
class Movie {
public:
enum class Genre {
Horror,
Action,
Mystery,
Drama,
SciFi,
Thriller,
Romance,
Comedy,
Adventure,
Unregistered,
};
class GenreSet {
... | [
"chishtiawais511@gmail.com"
] | chishtiawais511@gmail.com |
fe27fbfd4955ee762d25d7946fb8e97b693a9127 | c8b39acfd4a857dc15ed3375e0d93e75fa3f1f64 | /Engine/Plugins/FX/Niagara/Source/Niagara/Public/NiagaraMeshRendererProperties.h | c41def5ace646dddbf3555b1f5f6268c2711b66c | [
"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 | 1,169 | h | // Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "UObject/ObjectMacros.h"
#include "NiagaraRendererProperties.h"
#include "StaticMeshResources.h"
#include "NiagaraMeshRendererProperties.generated.h"
UCLASS(editinlinenew)
class UNiagaraMeshRendererProperties ... | [
"tungnt.rec@gmail.com"
] | tungnt.rec@gmail.com |
c70e52b6691ccf87aa7ba979ed4334cb4f464647 | d4843d73dc21853e900b0cc03c31610b01a67de6 | /PressureSensor.h | f1b92f4bf218cd2638ac47bb501d7020eb846f33 | [] | no_license | derlin/FreeHugBern-Arduino | 44bcaf9e42a8d0f47e2699da597642e0e4afe0ee | 2e242babf5e03697d4d01e9c52fbe9c370311091 | refs/heads/master | 2021-01-10T11:56:06.808301 | 2015-12-15T18:26:44 | 2015-12-15T18:26:44 | 48,059,657 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 554 | h | #ifndef PRESSURE_SENSOR
#define PRESSURE_SENSOR
#include <Arduino.h>
#include "Streaming.h"
// #define HUGGI_PRESSURE_SENSOR_DEBUG
#define MAX_SAMPLES 4 // samples for calibation
#define DEFAULT_SENSITIVITY 0.65
typedef struct {
int pin;
int refValue;
} SInput;
class PressureSensor
{
p... | [
"lucy.derlin@gmail.com"
] | lucy.derlin@gmail.com |
d1d6f5c837baea7bfb805e02d99c1fde82f0c2e0 | 41bdf6e0f36b1e950edf923e1a6fa7e18a656551 | /Source/Modules/Graphics/Shader.cpp | afc21539fffb7f507528e06a5d7410492b70f0bd | [
"MIT"
] | permissive | crystalboxesprivate/shingine | 129103e8ac3ec68b3fb3ecce7c80690c6fec29b9 | a6dfc5b6de1bbe7a7c4985baa91571a4d08b6cdd | refs/heads/master | 2020-11-30T00:28:05.123899 | 2018-11-07T10:56:54 | 2018-11-07T10:56:54 | 230,251,757 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 774 | cpp | #include "Modules/Graphics/Shader.h"
#include "Modules/Statics/IAssetManager.h"
REGISTER_SERIALIZED_CLASS(ShaderSource)
REGISTER_SERIALIZED_CLASS(Shader)
void Shader::AddSource(EShaderType type, const String &source) {
String garbage;
if (GetSource(type, garbage))
return;
ShaderSource *shaderSource =
... | [
"ursus95@gmail.com"
] | ursus95@gmail.com |
c3c01385c5178066596985abc72605a2a834aee9 | fdc8fa79fec885e7a6769af8bddd164ce1246958 | /Lab2_KNN+NB/DATA/NB_classification.cpp | 0cf059de7a847b786a798c77de23c7c4bd67dbb9 | [] | no_license | hansx7/AI | 002844088f8fc16b3b9de603df591d3b8a87bf5f | 02ed51dbe355f3fb17494222048916a69f6c0e14 | refs/heads/master | 2021-04-27T00:23:01.140721 | 2018-04-24T18:57:22 | 2018-04-24T18:57:22 | 123,803,014 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 5,401 | cpp | #include <iostream>
#include <fstream>
#include <cstdio>
#include <iomanip>
#include <string.h>
#include <stdio.h>
#include <cstring>
#include <cmath>
#include <algorithm>
#include <set>
using namespace std;
struct emotion {
string es;
int ne, nw, ve; //文本个数、单词总数和不重复单词总数
string ewords[10000... | [
"harryhan.1996@163.com"
] | harryhan.1996@163.com |
5d9007c3a4e5af623479805e08f8ff09fc33e4f5 | 4c1f553dea0955a07e24b8dacc205844bdefa154 | /src/connector.cpp | 707a823af6ad702dddf669b24e7b26f54722fa56 | [
"BSD-3-Clause"
] | permissive | binlabnet/keepassxc-client-library | b6544914c82e6b684c3d7abd3527f16e0ebb752d | a75c089eaa3bb8f1d674a14aabaeecb8fbe48d61 | refs/heads/master | 2021-10-09T04:11:51.418198 | 2018-12-21T00:11:38 | 2018-12-21T00:11:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,410 | cpp | #include "connector_p.h"
#include <QtCore/QDebug>
#include <QtCore/QJsonDocument>
#include <QtCore/QStandardPaths>
#include <chrono>
using namespace KPXCClient;
const QVersionNumber Connector::minimumKeePassXCVersion{2, 3, 0};
Connector::Connector(QObject *parent) :
QObject{parent},
_cryptor{new SodiumCryptor{this}... | [
"Skycoder42@users.noreply.github.com"
] | Skycoder42@users.noreply.github.com |
ef004e7492535ef2710ca0702e1c96f475542335 | 31a739950e0369187e4a5fd06718f933361ad0ca | /6853[D3].cpp | 2fd8f2a335ff7874e5381829b779b2e75dfe2231 | [] | no_license | devLupin/SWEA | a1dd6251d689116ddaef1e506c236acc9ff99c79 | 98d34043d3730fa4bfe9ab270f71e7db8f070d15 | refs/heads/master | 2020-06-25T10:33:00.772815 | 2019-12-26T16:00:49 | 2019-12-26T16:00:49 | 199,284,129 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 595 | cpp | #include <iostream>
using namespace std;
int main(void)
{
ios::sync_with_stdio(0);
cin.tie(0); cout.tie(0);
int T; cin >> T;
for (int tc = 1; tc <= T; tc++) {
int r1 = 0, r2 = 0, r3 = 0;
int x1, y1, x2, y2, n;
cin >> x1 >> y1 >> x2 >> y2 >> n;
for (int i = 0; i < n; i++) {
int x, y; cin... | [
"noreply@github.com"
] | devLupin.noreply@github.com |
0b0890809ab5c7db14e2272cdd39cecc2a166dcc | 1f8e16c6db16c67b38d398f5c9ed788e27b56f03 | /mainwindow.cpp | 92a5509c6378588dfc5587757bf60f2acdc54a5d | [] | no_license | JosanSun/QtCustomProgressbar | 7657fc172c929f50c036bf26c1798ccd88c89e28 | d868e2fec3ca088ac738e68493fff99af2c9bb55 | refs/heads/master | 2020-03-10T16:54:53.287271 | 2018-04-14T05:51:22 | 2018-04-14T05:51:22 | 129,486,019 | 2 | 0 | null | 2018-04-14T05:46:32 | 2018-04-14T05:46:32 | null | UTF-8 | C++ | false | false | 651 | cpp | #include "mainwindow.h"
#include "ui_mainwindow.h"
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::MainWindow)
{
ui->setupUi(this);
m_timer = new QTimer(this);
m_persent = 0;
connect(m_timer, SIGNAL(timeout()), this, SLOT(updateProgressbar()));
m_timer->start(100... | [
"longxuanren@gmail.com"
] | longxuanren@gmail.com |
ddebb5290bee6e910822453f45f344a4178604e5 | 02157e976eff452c78876de5785b868430131e4a | /separate_Chaining/main.cpp | 23a0ac79b266020e61570098b1302774e522c096 | [] | no_license | qazi112/Testing | aaa3c0fc249f0ed8d4f3113dc254ff5a13471ae1 | eb10ecc97007ceae57c81fec1c31d203a14975a1 | refs/heads/master | 2020-08-17T06:43:10.048133 | 2019-12-19T09:24:25 | 2019-12-19T09:24:25 | 215,626,890 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,343 | cpp | #include <iostream>
const int TableSize=11;
using namespace std;
class Node
{
private:
int data;
Node *next;
public:
Node()
{ data=0;
next=NULL;
}
Node(int d)
{ data=d;
next=NULL;
}
void setData(int d);
void setPointer(Node *n);
int getData();
Node* ge... | [
"qarsalan13@gmail.com"
] | qarsalan13@gmail.com |
dabc064ace25bb76339d34fae54f117de22bceea | c584abf107c128c4645866aea0becc948f933815 | /Integration.cpp | 3eb8e3a2a7d6d1bdb47d273c1ab511303126ca27 | [] | no_license | Warmuz/Integration | 9ba15c0eb1d4f3f0582c426ac6314079f5f7c9a9 | 9b57858efa1de0f851e85a774286ed1a7a0c042b | refs/heads/main | 2023-06-09T15:54:31.062471 | 2021-06-29T11:14:23 | 2021-06-29T11:14:23 | 381,337,070 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,623 | cpp | #include <iostream>
#include <cmath>
using namespace std;
double f (double x){
return exp(sin(2*x+1));
//return pow(x,3)+2*pow(x,2)-3*x+1;
//return pow(x,2)-x+1;
}
double f2(double x){
return -4*exp(sin(2*x+1))*(sin(2*x+1)-(cos(2*x+1)*cos(2*x+1)));
//return 6*x+4;
// return 2;
}
double f4(double... | [
"noreply@github.com"
] | Warmuz.noreply@github.com |
3a22d87917a102f020dcf61cf4b4805eb0964f2e | 54fc62bf9325cd3d4355e37fa199f951c3d265b2 | /clCircle.cpp | 408d4a22610e64851934ea65a4eae880f90c0dc5 | [] | no_license | Georgmil/sem3dz1 | f27b5b5fe43d7eb06c5f6dffe65b55ba68773cf1 | 877b933ae11102ba2bb207ab5c721523ba8281de | refs/heads/main | 2023-09-05T02:35:34.432582 | 2021-10-22T10:19:57 | 2021-10-22T10:19:57 | 416,492,709 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 302 | cpp | #include "clCircle.h"
void clCircle::Show(){
circle(x,y,r);
}
clCircle::clCircle()
{
//cout <<"clCircle();\n";
}
clCircle::clCircle(int x0, int y0):x(x0),y(y0)
{
//cout <<x<<"clCircle(int x0, int y0);\n";
}
clCircle::~clCircle()
{
//cout <<x <<"~clCircle();\n";
}
| [
"noreply@github.com"
] | Georgmil.noreply@github.com |
61f94925c1d18b0ec3948aee63e3134bdcf1a384 | 79827850a798d8cb9484709585c28dd7c1c2a276 | /programs/adminrea.cpp | 7e514e9a8b977dacbe1488f0ad5112b79e5232f1 | [] | no_license | vaibhavpareek/CPPNotes | bd615f448f372ed8879144a3e5b3ceae5ccc9d56 | 57cdbc0ef82fed6db43d03ff7271fff58d957720 | refs/heads/master | 2020-12-28T16:40:42.947455 | 2020-04-22T05:16:02 | 2020-04-22T05:16:02 | 238,407,934 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,018 | cpp | #include<iostream>
#include<fstream>
#include<unistd.h>
#include<stdio.h>
#include<stdlib.h>
#include<conio.h>
#include<string.h>
using namespace std;
class admin_info
{
char name_admin[80],passwd[80];
public:
void add_new_admin();
void search_admin();
}
void admin_info::add_new_admin()
{
cout<... | [
"vaibhavpareekvp7@gmail.com"
] | vaibhavpareekvp7@gmail.com |
16f3da0df5ec67b2d480adaab371e7f147846830 | d98b942c84433f89876bab706fc5a9f4907770b1 | /bnn-fpga/cpp/accel/Accel.cpp | 16747049806e4d35fc312570c87e0c393c4f1880 | [
"BSD-3-Clause"
] | permissive | udbhav-chugh/CS577_Group13_Project | e5c33b755fe157fc7ae79a203ae1f348c08a4646 | 52dc5fb80e8798664f45098abeb051f78b79455f | refs/heads/main | 2023-04-04T00:41:21.948823 | 2021-04-11T13:21:21 | 2021-04-11T13:21:21 | 349,730,385 | 0 | 0 | null | 2021-03-26T16:20:46 | 2021-03-20T13:19:02 | C | UTF-8 | C++ | false | false | 31,307 | cpp | #include <iostream>
#include <iomanip>
#include <hls_stream.h>
#include "Accel.h"
#include "AccelPrint.h"
const static Word m1("0x5555555555555555", 16);
const static Word m2("0x3333333333333333", 16);
const static Word m4("0x0f0f0f0f0f0f0f0f", 16);
const static Word h01("0x0101010101010101", 16);
// ----------------... | [
"baranwalm2002@gmail.com"
] | baranwalm2002@gmail.com |
fbd70151b1e34a5974d7a569748eef1ce8970a7c | 948f4e13af6b3014582909cc6d762606f2a43365 | /testcases/juliet_test_suite/testcases/CWE127_Buffer_Underread/s03/CWE127_Buffer_Underread__new_wchar_t_cpy_52a.cpp | 4eba59ae2650621a6e165c97292efc4db118ab57 | [] | no_license | junxzm1990/ASAN-- | 0056a341b8537142e10373c8417f27d7825ad89b | ca96e46422407a55bed4aa551a6ad28ec1eeef4e | refs/heads/master | 2022-08-02T15:38:56.286555 | 2022-06-16T22:19:54 | 2022-06-16T22:19:54 | 408,238,453 | 74 | 13 | null | 2022-06-16T22:19:55 | 2021-09-19T21:14:59 | null | UTF-8 | C++ | false | false | 2,525 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE127_Buffer_Underread__new_wchar_t_cpy_52a.cpp
Label Definition File: CWE127_Buffer_Underread__new.label.xml
Template File: sources-sink-52a.tmpl.cpp
*/
/*
* @description
* CWE: 127 Buffer Under-read
* BadSource: Set data pointer to before the allocated memory... | [
"yzhang0701@gmail.com"
] | yzhang0701@gmail.com |
3ee805eef1fc495900671d7dcc8988b4a37e3b39 | cad04bb71f3afd50c4df3b2f321cd378d3ad8cb9 | /OJ practices/LeetCode题目集/191. Number of 1 Bits(easy)-蛮力算法.cpp | 03c96848fe11120371026192c063f9a710881bfb | [] | no_license | SourDumplings/CodeSolutions | 9033de38005b1d90488e64ccbb99f91c7e7b71ec | 5f9eca3fe5701a8fca234343fde31cfcba94cf27 | refs/heads/master | 2023-08-16T17:23:34.977471 | 2023-08-07T13:14:47 | 2023-08-07T13:14:47 | 110,331,879 | 10 | 8 | null | 2023-06-14T22:25:16 | 2017-11-11T08:59:11 | C | UTF-8 | C++ | false | false | 516 | cpp | /*
* @Author: SourDumplings
* @Date: 2019-07-31 18:03:39
* @Link: https://github.com/SourDumplings/
* @Email: changzheng300@foxmail.com
* @Description: https://leetcode.com/problems/number-of-1-bits/
*/
class Solution
{
public:
int hammingWeight(uint32_t n)
{
int res = 0;
uint32_t mask = ... | [
"changzheng@harmonycloud.com.cn"
] | changzheng@harmonycloud.com.cn |
e7531229db6a9cea69070a69a5e89e21d6602ce7 | cb567676c21f77fe48390ad6254a30bdeee535b0 | /Reverse Bits (Bit Manipulation).cpp | 1f03428215a7f90c59d03e5974b872c6be54d50a | [] | no_license | mandeep-1/DSA_PracticeWork | 800c89409d660389fd473f06d14a92fb32d944d9 | 1ce8fb3cbf243591e0483a23ab11786ae5b24f6a | refs/heads/main | 2023-01-13T01:49:51.959561 | 2020-11-18T14:54:52 | 2020-11-18T14:54:52 | 313,960,677 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 613 | cpp | #include <bits/stdc++.h>
using namespace std;
// Function to invert bits of a number
uint32_t invertBits(uint32_t n)
{
// Calculate number of bits of N-1;
uint32_t x = log2(n) ;
cout<<"Number of bits = "<<x<<endl;
uint32_t m = 1 << x;
cout<<"m = 1<<x is "<<m<<endl;
m = m | m - 1;
cout<<"m = m | m - 1... | [
"mandeepk.pantal@gmail.com"
] | mandeepk.pantal@gmail.com |
c5a0f1260b8cfdd14a2cae96e6b8d4ad5ff126d0 | 4c1891b1cb97f1f7e2b0e0640dcdf9c0303c2069 | /cs106library/StanfordCPPLib/goptionpane.cpp | a28e66216dca15f9e9c3448489f69b5bbe3561c1 | [] | no_license | phoenixjun/cplusplus | 8d6eb56206f1ebc32d803e42bdaf951c6db2b122 | abea50d6ac0275b57e06f6c730e5192713fc58d3 | refs/heads/master | 2021-01-10T06:17:29.486347 | 2016-01-12T11:47:58 | 2016-01-12T11:47:58 | 49,495,958 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,013 | cpp | /*
* File: goptionpane.cpp
* ---------------------
* This file implements the operations declared in the goptionpane.h file.
* See goptionpane.h for documentation of each member.
*
* @author Marty Stepp
* @version 2015/07/05
* - removed static global Platform variable, replaced by getPlatform as needed
* @ver... | [
"unknown-user@192.168.0.8"
] | unknown-user@192.168.0.8 |
07cffa5f98e05ad0d3ff19bc3f8d891bbc25ec4b | af8f6f52241c3bd5fb4953732fc4e350de6d6eae | /Huffman Coding.cpp | d71032b94937a55852d96700c31e8487ffe2fde5 | [] | no_license | priyanshu29470/Problem-Solving---Algorithms-Collection | 094ae87e366df478b28927e967048ca267a1d58f | eef9bb00db549fc2eb6a904b5a74bd2005b2cf77 | refs/heads/main | 2023-01-03T13:18:02.402904 | 2020-10-31T15:11:34 | 2020-10-31T15:11:34 | 308,909,266 | 0 | 0 | null | 2020-10-31T15:14:39 | 2020-10-31T15:14:38 | null | UTF-8 | C++ | false | false | 2,338 | cpp | // C++ program for Huffman Coding
#include <bits/stdc++.h>
using namespace std;
// A Huffman tree node
struct MinHeapNode {
// One of the input characters
char data;
// Frequency of the character
unsigned freq;
// Left and right child
MinHeapNode *left, *right;
MinHeapNode(char data, unsigned fre... | [
"noreply@github.com"
] | priyanshu29470.noreply@github.com |
3651ec4805125222b1430278f72119afb2c0b5b8 | 9870e11c26c15aec3cc13bc910e711367749a7ff | /HD/hd_4292.cpp | 1a43183956e5080d8b223e9a53f5a0bf7b5ef21f | [] | no_license | liuq901/code | 56eddb81972d00f2b733121505555b7c7cbc2544 | fcbfba70338d3d10bad2a4c08f59d501761c205a | refs/heads/master | 2021-01-15T23:50:10.570996 | 2016-01-16T16:14:18 | 2016-01-16T16:14:18 | 12,918,517 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,074 | cpp | #include <cstdio>
#include <cstring>
#include <algorithm>
using namespace std;
const int inf=2100000000;
int tot,S,T,b[810],a[1000000][3];
void add(int x,int y,int z)
{
a[++tot][0]=y,a[tot][1]=z,a[tot][2]=b[x],b[x]=tot;
a[++tot][0]=x,a[tot][1]=0,a[tot][2]=b[y],b[y]=tot;
}
int d[810],q[810];
bool build()
{
m... | [
"liuq901@163.com"
] | liuq901@163.com |
4d96102700715dad3b946362d51e325444b471da | d52fdcfb556d7e9ea9fa89bf2f4442d1072e89f0 | /Renderer/NullRenderer/include/NullRenderer/TextureBuffer.h | 4f384fb62fdd0e5aef2e223240d3662122800bf2 | [
"MIT"
] | permissive | thewolfwillcome/unrimp | a292c3898f7ff530e9aa555d361d948730f939fa | 3d6269c749016a35c72473654cc6e3533b3ab348 | refs/heads/master | 2020-11-30T15:07:14.733681 | 2013-01-27T08:40:11 | 2013-01-27T08:40:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,587 | h | /*********************************************************\
* Copyright (c) 2012-2013 Christian Ofenberg
*
* 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 ... | [
"c.ofenberg@pixellight.org"
] | c.ofenberg@pixellight.org |
49cfb47fb41199f43d9ab34e343cc1b39c737e37 | 22b87f3243e58fbb6ed4661909d8544c7c255a56 | /utils.cpp | 16d4d037c99f285136fbd47151398efb8cda7f68 | [
"Apache-2.0"
] | permissive | TheHolyJoker/Pocket-Dictionaries-Benchmarks | 57297e7ecb02404f0f0ab406732688c8fa322235 | f651d1082c277e539964e831a526e9404c623a44 | refs/heads/master | 2022-12-18T14:57:43.928812 | 2020-09-20T16:29:52 | 2020-09-20T16:29:52 | 294,442,063 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 460 | cpp | #include "utils.hpp"
void set_pd(__m512i *pd, size_t quot_range, size_t capacity) {
__m512i temp_pd = __m512i{(INT64_C(1) << 50) - 1, 0, 0, 0, 0, 0, 0, 0};
for (size_t i = 0; i < capacity; i++) {
uint64_t quot = rand() % quot_range;
uint8_t rem = rand() & 255;
bool res = pd512::pd_add_5... | [
"tomereven@mail.tau.ac.il"
] | tomereven@mail.tau.ac.il |
76ffc0725a9a4e645399ddb5e7c8f003a261c026 | e31e2511a3e79a702bc21b216affba52e669e11c | /eva/ckks/scales_checker.h | e567aa4ee27082b563189e78462c55b115093850 | [
"MIT"
] | permissive | weibeld/EVA | 8427d11d705476f2f322340bbb1f5bd61bb94dc2 | 7ea9d34b0380c25c03fe529fe9a755a6477144ce | refs/heads/main | 2023-07-09T18:15:35.572664 | 2021-05-01T09:12:24 | 2021-05-01T10:00:46 | 397,862,296 | 0 | 1 | MIT | 2021-08-19T07:54:19 | 2021-08-19T07:54:18 | null | UTF-8 | C++ | false | false | 2,812 | h | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
#pragma once
#include "eva/ir/program.h"
#include "eva/ir/term_map.h"
#include <cassert>
#include <cstddef>
#include <cstdint>
namespace eva {
class ScalesChecker {
public:
ScalesChecker(Program &g, TermMapOptional<std... | [
"olsaarik@microsoft.com"
] | olsaarik@microsoft.com |
0afcf6c737dc72cd7ebb89273b7fc86acac4f373 | 84f40bb83ae4a76e96330da1d4cc48a29c2bf5ce | /sorting/evil.cpp | bca072a0af1c1871c166a17431bbf16ecfa082a4 | [] | no_license | nikifaets/Algo | 7136db930448cc8daa0e64b9c24721587cfed2d0 | 55842cc584e09ef3c3f1e293c1f7555e56b59496 | refs/heads/main | 2023-06-08T16:57:18.334918 | 2021-06-26T22:08:42 | 2021-06-26T22:08:42 | 357,473,449 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,097 | cpp | #include <bits/stdc++.h>
using namespace std;
int main(){
ios_base::sync_with_stdio(false);
cin.tie(NULL);
int n, m;
cin >> n >> m;
priority_queue<pair<int, int>, vector<pair<int, int>>, greater<pair<int, int>>> q;
for(int i=0; i<m; i++){
int l, r;
cin >> l >> r;
... | [
"nikifaets11@gmail.com"
] | nikifaets11@gmail.com |
f4304bc15d00b4bc0b88b6f6881a4def7b3e891a | bd686124a27fbcfef72d69e272702fdf89f7abea | /src/backend/CLHPrinter.hpp | fb5840b23fa58dc9924e72fae3867ca18a0d2e20 | [
"Apache-2.0"
] | permissive | jiajian-xiao/OpenABLext | 3ec4deeff3ba7793c4383ad010a7a0293905a40a | 015d3dd5159feb41c865b455fadf77f0f8dc51ed | refs/heads/master | 2022-11-14T16:04:16.396938 | 2020-02-25T10:43:51 | 2020-02-25T10:43:51 | 221,669,486 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,865 | hpp | /* Copyright 2017 OpenABL Contributors
*
* 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 agre... | [
"jiajian.xiao@tum-create.edu.sg"
] | jiajian.xiao@tum-create.edu.sg |
47d72cf0566a8520cdfd7084b7bf863a99baeeb7 | a65f12e7039ddc3a915c1237b876df82ca17537e | /aws-cpp-sdk-lex-models/source/model/IntentMetadata.cpp | 98f60c9521809aa316202199d9e43285e91d5f6b | [
"Apache-2.0",
"MIT",
"JSON"
] | permissive | chiaming0914/awe-cpp-sdk | 1a09da8ce36f8a60b9bb47c47fc576c822ccf398 | 5cd54671ea48151f33f0ddbadc3d68ffacbc160b | refs/heads/master | 2021-06-16T18:25:10.864269 | 2017-06-08T07:02:09 | 2017-06-08T07:02:09 | 93,716,067 | 0 | 0 | null | 2017-06-08T08:06:39 | 2017-06-08T06:42:24 | C++ | UTF-8 | C++ | false | false | 2,746 | cpp | /*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | [
"Kent_Chiang@trend.com.tw"
] | Kent_Chiang@trend.com.tw |
389a79ad9458d71e1e88a2fdd7b767600d519907 | 52cbf6068b0005d64172460ff7082e4c71f89e5e | /c++/226_invert_binary_tree.cpp | 9db59c6bbfe068125c9b656f8369bbe2cbc1fd0f | [] | no_license | hatlonely/leetcode-2018 | d2efe08b86871735b1c48697adb9347501df7c08 | 57217059f04898cb41b76682e94f401ee4839d05 | refs/heads/master | 2021-12-09T02:03:38.983512 | 2021-10-31T03:52:23 | 2021-10-31T03:52:23 | 144,447,729 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 457 | cpp | #include <gtest/gtest.h>
#include <iostream>
#include "treenode.hpp"
class Solution {
public:
TreeNode* invertTree(TreeNode* root) {
if (root == nullptr) {
return nullptr;
}
std::swap(root->left, root->right);
invertTree(root->left);
invertTree(root->right);
... | [
"hatlonely@gmail.com"
] | hatlonely@gmail.com |
6deb011a9557b67c2d6c73cc23529d579a649658 | 5ac29efb745daf55c1498e0a49568e277e3416eb | /libstreetmap/tests/m1_func_spatial_toronto_canada_public.cpp | 5dcd356a86044ebf3f3c99ecc59cb645664f05d1 | [] | no_license | LeoMoonStar/mapper | ba1e6b62f7880bc238d3eda11f312dc3fbf72fdf | f945eee52820dc4f5a6d332319a91de73c25909d | refs/heads/master | 2020-08-30T09:58:59.078199 | 2019-10-31T00:21:43 | 2019-10-31T00:21:43 | 87,156,326 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,046 | cpp | #include <algorithm>
#include <set>
#include <unittest++/UnitTest++.h>
#include "m1.h"
#include "unit_test_util.h"
#include "StreetsDatabaseAPI.h"
using ece297test::relative_error;
struct MapFixture {
MapFixture() {
//Load the map
load_map("/cad2/ece297s/public/maps/toronto_canada.streets.bin");
... | [
"jiawei.yang@mail.utoronto.ca"
] | jiawei.yang@mail.utoronto.ca |
4e469f2f7f2e2821131d5c7d48b09394d3f7be06 | edab58696afb07657232f17490b24c8e1e11b6c2 | /miscellanious/lt.cpp | 8c36783f45a51005e26c3d4bad2b5040b9aa40a8 | [] | no_license | mhcayan/competitive-programming | cd8e08da67138cfbdcd2d47cd70572a7fc6435fd | f80ab6929a5d2eb780d35679688ea39138cf9e8a | refs/heads/master | 2022-05-27T15:03:46.147224 | 2022-05-22T00:21:29 | 2022-05-22T00:21:29 | 161,851,714 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,427 | cpp | #include<stdio.h>
#include<string.h>
#include<time.h>
long a[1800][1800],m,n;
char b[1800][1800];
long length_lcs(char a[],char b[]);
void print_lcs(char *x,long i,long j);
int main()
{
long len;
clock_t s,e;
char x[1800][100],y[1800][100];
printf("______Enter two null string to terminate______\n");
for(l... | [
"ayanctg@gmail.com"
] | ayanctg@gmail.com |
4a168c6094027e000056d0c4ccde86cd226a3ca5 | 4fc88d77990c51a3ac4ecd39755d2e448c2dcff4 | /loopback/main.cpp | bb67458e3a59feeac1a86fde846a09007a5316ce | [] | no_license | linzheming/qt_network_demo | 0c2ab8343891063212b59f4577d7a78b44bd8f40 | 678dfb85f7b35e5f3ff740d26274a12dc046ff04 | refs/heads/master | 2022-06-23T09:49:27.881093 | 2020-05-11T09:32:45 | 2020-05-11T09:32:45 | 262,997,298 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,662 | cpp | /****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the examples of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:BSD$
** Commercial License Usage
** Licensees holding valid commercial Q... | [
"zhezhelin618@gmail.com"
] | zhezhelin618@gmail.com |
a3eed2161f9982caf7d393bfe6a5b717471f25a9 | f13bcf309973ed4713ef39067e7746f474ab8077 | /src/slice.h | 3e3eaf2a884b1f8f41de4e349109a17b69479708 | [] | no_license | ForeverDavid/MedicalVisualization | ab84a76b7232ff40e187d354fee22a16f26ac599 | 55dfd09d40cbe3b2e719daf847d85057c78f9cad | refs/heads/master | 2020-04-06T16:48:16.902837 | 2018-11-14T18:10:23 | 2018-11-14T18:10:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 901 | h | #ifndef SLICE_H
#define SLICE_H
#include <string>
#include "window.h"
#include "imagedata.h"
using namespace std;
class Volume;
class Slice
{
public:
Slice(int type);
virtual void render(Window *window) = 0;
virtual void setImageDataVolume(ImageData* data, Volume* volume) = 0;
virtual void createSli... | [
"megha199501@gmail.com"
] | megha199501@gmail.com |
62ba81bfbcd5c8d8f3a0f1ce85f03cae653ff48b | 9f520bcbde8a70e14d5870fd9a88c0989a8fcd61 | /pitzDaily/913/U | e4ce7f0ab54e9f94e1c68c9eb891221611ba4988 | [] | no_license | asAmrita/adjoinShapOptimization | 6d47c89fb14d090941da706bd7c39004f515cfea | 079cbec87529be37f81cca3ea8b28c50b9ceb8c5 | refs/heads/master | 2020-08-06T21:32:45.429939 | 2019-10-06T09:58:20 | 2019-10-06T09:58:20 | 213,144,901 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 251,118 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1806 |
... | [
"as998@snu.edu.in"
] | as998@snu.edu.in | |
8a8e976d3fc0c9519d25c6391f26dfb97687f16a | d0c44dd3da2ef8c0ff835982a437946cbf4d2940 | /cmake-build-debug/programs_tiling/function14482/function14482_schedule_17/function14482_schedule_17_wrapper.cpp | d665bc80c8f4c9f1cdf510d5d3d9785b1fbed5c9 | [] | 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 | 1,481 | cpp | #include "Halide.h"
#include "function14482_schedule_17_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> buf00(64, 64, 64);
Halide::Buffer<int32_t> buf... | [
"ei_mekki@esi.dz"
] | ei_mekki@esi.dz |
81c32e2f10f0801adc0865533e57f779c2f0c17f | 0da861c2c33f4f31f0c49f08858d37584e05ac2a | /przycisk.cpp | 6df7eea84807063080038df41edb9b52fe675087 | [] | no_license | Davwidos/Rokoju_Maleras_Lite | accc8f5991ce969affcc15956f228133211dd85c | f19b18c7449e0be84e4673ddef14408262e89e18 | refs/heads/master | 2022-10-14T18:34:30.321272 | 2020-06-02T20:48:18 | 2020-06-02T20:48:18 | 268,861,907 | 0 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 1,203 | cpp | #include "przycisk.h"
#include<QGraphicsTextItem>
#include<QBrush>
//tworzenie nowego przycisku
Przycisk::Przycisk(QString nazwa,QGraphicsItem *parent):QObject(),QGraphicsRectItem(parent)
{
setRect(0,0,200,100);
QBrush brush;
brush.setStyle(Qt::SolidPattern);
brush.setColor(Qt::red);
setBrush(brush... | [
"d.jurkowski015@gmail.com"
] | d.jurkowski015@gmail.com |
85328362cb4f766b2e7b24222c206fd2240cc5bf | d20d92c3cd617765824bb8ee3faf94c09956edca | /libraries/plugins/tags/include/delta/plugins/tags/tags_plugin.hpp | 963186af08ac31eebd81a72455d1e05e13cc8413 | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | yashbhavsar007/Delta-Blockchain | 2ee003801d39708aaf6c597dff0369dec5a9c8f6 | 602dd5335d2cd51303e953e4c233c8f099da0b07 | refs/heads/master | 2020-07-03T22:42:40.141910 | 2019-08-13T07:13:54 | 2019-08-13T07:13:54 | 202,075,688 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,675 | hpp | #pragma once
#include <delta/plugins/chain/chain_plugin.hpp>
#include <delta/chain/comment_object.hpp>
#include <boost/multi_index/composite_key.hpp>
namespace delta { namespace plugins { namespace tags {
using namespace delta::chain;
using namespace boost::multi_index;
using namespace appbase;
using chainbase:... | [
"yashbhavsar.yb@gmail.com"
] | yashbhavsar.yb@gmail.com |
0b319f25c399004772ed0d9480994b60cf783ff3 | 41c3abcf69ad799dce3c89ada913bb3823f11f9d | /src/bootmanager.cpp | ef3ea53340fa883d66700a5ba22e8f0cb68344fa | [
"MIT"
] | permissive | Tpimp/OdroidFlashTool | 8f79fc9f7839de0426a59b0e66edce0f7444b984 | 073acf19bcd81a2c2df95142b4c759fb58d812da | refs/heads/master | 2022-04-30T21:02:56.535391 | 2022-04-25T15:52:35 | 2022-04-25T15:52:35 | 58,492,931 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 91 | cpp | #include "bootmanager.h"
BootManager::BootManager(QObject *parent) : QObject(parent)
{
}
| [
"christopher.dean@oit.edu"
] | christopher.dean@oit.edu |
8878d6e933d34dfd68d69f9eff830999f0d98b73 | 190c2dc8dd46fa83060794b7941f83e83bd6c90c | /AOJ/0001/ListOfTop3Hills.cc | dab689e2db71d8c26412ed3d8eab66d5074e80fd | [] | no_license | yku/Competition | 85ce169342e12c28e6d8dca8b78e00be1786403f | 892046f3e80fe3d30fa12ca77f5cbba2d0c764fa | refs/heads/master | 2020-05-20T08:14:01.912818 | 2014-04-13T05:28:26 | 2014-04-13T05:28:26 | 2,637,428 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 333 | cc | #include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
int main()
{
vector<int> hills;
int hill;
while(cin >> hill) {
hills.push_back(hill);
}
sort(hills.begin(), hills.end(), greater<int>());
for(int i = 0; i < 3; i++)
cout << hills[i] << endl;
... | [
"kz2yz4@gmail.com"
] | kz2yz4@gmail.com |
9f3d38a5aac763aa2e18f7779b15b5d41551b499 | f1533c3b39e8f2e1d9dc8790a8fbd0c485d544e9 | /stringsum_self.cpp | 326e33b72b0fe44f347d007cf086e4b7d774b1a5 | [] | no_license | sweetyburnwal/Coding-Block | 953cffe9ca0c51f72d77bf5e13a13fa2ffb62418 | 23ed1e23091ba66dc1daefa3861e71948b14999c | refs/heads/master | 2020-12-26T18:40:41.626354 | 2020-02-01T10:55:47 | 2020-02-01T10:55:47 | 237,599,582 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 223 | cpp | #include<iostream>
#include<cstring>
using namespace std;
int main()
{
string s1="sweety";
string s2="burnwal";
cout<<s1+s2<<endl;
//only addition takes place here,no substraction,multiplication or division
}
| [
"sweetyburnwal013@gmail.com"
] | sweetyburnwal013@gmail.com |
edf00680ad71f34e3f00ed796047bfa03c7e7947 | 8d08d99be7f750684483badc13ef87d13a44baec | /source/LibFgWin/FgGuiWinTabs.cpp | c914f86f50b30f2b96e182d0874ebeb2203a7c89 | [
"MIT"
] | permissive | denim2x/FaceGenBaseLibrary | de29421ab03a2076e645ac2d279eead5ac07ec20 | 52317cf96984a47d7f2d0c5471230d689404101c | refs/heads/master | 2020-09-09T18:45:15.306511 | 2019-11-15T13:38:21 | 2019-11-15T13:38:21 | 221,531,686 | 0 | 0 | MIT | 2019-11-13T19:04:24 | 2019-11-13T19:04:23 | null | UTF-8 | C++ | false | false | 7,932 | cpp | //
// Copyright (c) 2019 Singular Inversions Inc. (facegen.com)
// Use, modification and distribution is subject to the MIT License,
// see accompanying file LICENSE.txt or facegen.com/base_library_license.txt
//
//
// Win32 has no way to dynamically change the background color of specific tabs (ie currently sele... | [
"abeatty@facegen.com"
] | abeatty@facegen.com |
a680fe0167eddaf7ad168a07164b617a168cb924 | 2ae89c958b908a6b44ac6c8d483f2df0c49f8cfa | /lib/parse/ASTVisitor.h | 0bf5b862373fe29071dfcd74dfdb8240b791eca6 | [
"MIT"
] | permissive | lukaskollmer/yo | 59b9116b0a99c0839e5c8e69dda873703b8970e2 | 38e6c646f96512c31ced8ab828382fc5021cff97 | refs/heads/master | 2021-01-19T10:04:46.902162 | 2020-04-04T19:49:06 | 2020-04-04T19:49:06 | 87,804,824 | 11 | 0 | MIT | 2020-02-07T17:02:03 | 2017-04-10T11:49:42 | C++ | UTF-8 | C++ | false | false | 304 | h | //
// ASTVisitor.h
// yo
//
// Created by Lukas Kollmer on 2020-03-05.
// Copyright © 2019 Lukas Kollmer. All rights reserved.
//
#pragma once
#include "AST.h"
#include <string>
namespace yo::ast {
// TODO implement the visitor properly!!
void print_ast(const ast::AST&);
} // ns yo::ast
| [
"me@lukaskollmer.de"
] | me@lukaskollmer.de |
bbe4759e0ca522bb4acbd13b6de120de620f63ad | 9c761f8b7ed3b4b329e6c71920dc39fa5995d492 | /Game/Enemy.h | 915c4d8d7226a00d6cfc9195eeaa9158fe2b8003 | [] | no_license | AlexLimbrick/Text-Adventure | 895479dbf5097c96d5be2fdccefd27bcdb43b469 | 5a787913c3d06f7425658e380eff1cbb9ad18f69 | refs/heads/master | 2020-05-31T12:02:21.205678 | 2019-06-04T20:03:40 | 2019-06-04T20:03:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 782 | h | #pragma once
#include <iostream>
#include <stdlib.h>
#include <string>
#include "Potion.h"
using namespace std;
class Enemy
{
public:
Enemy(int _ac = 14, int _health = 10, int _damage = 2, int _attack = 2, int _potiontype = 1, string _name = "hi", bool _alive = true);
Enemy(const Enemy& _copyEnemy);
Enemy& operato... | [
"alexlimbrick33@gmail.com"
] | alexlimbrick33@gmail.com |
0879d46ae2b0ca4513814cf913bf063546fe6745 | 1faed4e4660e73dd120d10fa6c56451332080cbf | /123234345/3630/6148208_WA.cc | 495eaf8fb6e3559a1c620fd9f05bf21932772478 | [] | no_license | zizhong/POJSolutions | 856b05dd3fd4d5c6114fa2af23b144d8b624d566 | 096029f8e6d4de17ab8c6914da06f54ac5a6fd82 | refs/heads/master | 2021-01-02T22:45:49.449068 | 2013-10-01T07:55:17 | 2013-10-01T07:55:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 987 | cc | #include<stdio.h>
#include<string.h>
const int N=10000;
struct Trie
{
int mark;
Trie *next[10];
}head,node[10*N];
int pos;
void build_trie()
{
head.mark=pos=0;
memset(head.next,0,sizeof(head.next));
}
int insert(char *s)
{
Trie *st=&head;
int i=0,n=strlen(s);
for(;i<n;i++)
{
... | [
"zhangzizhong0828@gmail.com"
] | zhangzizhong0828@gmail.com |
7f57e38c2546bdf2673b5d42ded3055745897c24 | cb151d45854da971c065f2bb1e7cee633b840110 | /CLRBridge/Stdafx.cpp | 138e896bed34ebb939f258ee59b708e58312e93f | [
"BSD-3-Clause"
] | permissive | TWinsnes/MFC-CSharp | 3107e93e55e34284539b6d3eb848bb900190c43d | 8430eab2d0b407024290fcfb825cfdf52888dd1c | refs/heads/master | 2016-09-05T16:38:42.634895 | 2013-04-15T13:30:53 | 2013-04-15T13:30:53 | 9,448,183 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 200 | cpp | // stdafx.cpp : source file that includes just the standard includes
// CLRBridge.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
| [
"Thomas@ideadrought.com"
] | Thomas@ideadrought.com |
75db46a7fde9924a5f47e8adbed9eaf1795e5b36 | def39f068050b234df9f6909d4277f96b740f11c | /E-olimp/1685. Earth Antarctica .cpp | 0f2b837ad647d0fa310724ee75fb2dfa3ea77d41 | [] | no_license | azecoder/Problem-Solving | 41a9a4302c48c8de59412ab9175b253df99f1f28 | a920b7bac59830c7b798127f6eed0e2ab31a5fa2 | refs/heads/master | 2023-02-10T09:47:48.322849 | 2021-01-05T14:14:09 | 2021-01-05T14:14:09 | 157,236,604 | 5 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,370 | cpp | #include <cstdlib>
#include <iostream>
#include <queue>
using namespace std;
long n,k,B[10000],D[10000],sum=0,v,a[1000],b[1000],c[1000][1000],max1;
int main(int argc, char *argv[])
{
queue <int> s;
cin>>n;
max1=0;
for(int i=1;i<=n;i++){
cin>>a[i]>>b[i];
c[a[i]][b[i]]=i;
}
... | [
"tabriz.haji@gmail.com"
] | tabriz.haji@gmail.com |
5f0df272e23f6abb93061cb591dfee9e52bb25bb | a23665259e3b931a12290d5ff80e1c4d4916c0ea | /cl_dll/c_baseanimating.cpp | e6f2d53fb107711278ed7e5be6b751c2b433365d | [] | no_license | q4a/half | 507490107968459073f23c306bdff56e7dffd9f7 | 6a4302e286aa5bfd9ebdc7ed2688d2290981ec9c | refs/heads/master | 2022-04-26T13:18:15.597053 | 2017-06-15T13:32:34 | 2017-06-15T13:32:34 | null | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 77,281 | cpp | //========= Copyright © 1996-2001, Valve LLC, All rights reserved. ============
//
// Purpose:
//
// $NoKeywords: $
//=============================================================================
#include "cbase.h"
#include "c_baseanimating.h"
#include "c_Sprite.h"
#include "model_types.h"
#include "bone_set... | [
"houontherun@gmail.com"
] | houontherun@gmail.com |
e500a814fe5840837fb3027b8d80de131209dcc6 | b172197c2dbff626220856d59ef8262125a92566 | /pat1040eng.h | f30fd7b626c7e953dd956f7581a154d9b5c110fe | [
"Apache-2.0"
] | permissive | hqnjkkl/patAnswers | da56583677edf048280a7aee307203a7d8615df2 | 32586a9708318979bf1566fc5b3c22d3498b7004 | refs/heads/master | 2021-01-01T05:42:05.111377 | 2019-02-02T11:39:02 | 2019-02-02T11:39:02 | 23,617,448 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 278 | h | //
// pat1040eng.h
// acmProject
//
// Created by HuQiaoNan on 14-7-11.
// Copyright (c) 2014年 HuQiaoNan. All rights reserved.
//
#ifndef __acmProject__pat1040eng__
#define __acmProject__pat1040eng__
#include <iostream>
#endif /* defined(__acmProject__pat1040eng__) */
| [
"huqiaonan@MacBook-Pro.local"
] | huqiaonan@MacBook-Pro.local |
2d741d191b8d0aed205196db57ad0870f9cf627e | 5eace6c1fc699d5eb85c49269d17d963d430dda6 | /sport_prog/FebCook/rowcolop.cpp | 75f660487cd1f2457bb8f1fa999093b08ee93061 | [] | no_license | shashwat001/my-codes | 87fd8f508f039e621cc971072ac39d9f2d1d1851 | f9db0a7c13c2689fde1b770bc0edfa092dc62ee9 | refs/heads/master | 2021-09-20T06:22:23.993687 | 2018-08-05T19:00:48 | 2018-08-05T19:00:48 | 5,686,297 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 357 | cpp | #include <stdio.h>
int main()
{
int r[1000000]={0},c[1000000] = {0},n,q,i,maxc = 0,maxr = 0,k,l;
char str[100];
scanf("%d %d",&n,&q);
while(q--)
{
scanf("%s %d %d",str,&k,&l);
if(str[0] == 'R')
{
r[k] += l;
if(r[k] > maxr)
maxr = r[k];
}
else
{
c[k] += l;
if(c[k] > maxc)
maxc = c[k... | [
"user@cs-lb-60.cse.iitkgp.ernet.in"
] | user@cs-lb-60.cse.iitkgp.ernet.in |
47c0ecf0567ac03a54b0b04fc1d5d12d2db874c6 | 249b8ac66022cef45f1e5fd8d594b76ee0cb3ad4 | /Working/oldDSMC/dsmcShockTube/processor3/0.01/fD | ced5b7c502c0e192514eef60fd5b0e87f38d344e | [] | no_license | Anthony-Gay/HPC_workspace | 2a3da1d599a562f2820269cc36a997a2b16fcbb8 | 41ef65d7ed3977418f360a52c2d8ae681e1b3971 | refs/heads/master | 2021-07-13T17:36:50.352775 | 2021-02-08T05:59:49 | 2021-02-08T05:59:49 | 232,433,074 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 993 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 7
\\/ M anipulation |
\*-------... | [
"anthonygay1812@yahoo.com"
] | anthonygay1812@yahoo.com | |
837e7dd6862a1fcd82668063bd067057730a56bc | fe63b9633e72f32120624044dc288d336f3d5c76 | /SemGridsMakerArduino/LINAC 3/Grille_ITLBSF03HVITMBSF04HV_Vertical/Grille_ITLBSF03HVITMBSF04HV_Vertical.ino | 570038a22f19fe3b66edc9938e02af21cfcb2a2e | [] | no_license | guilhemelias/SemGrids-Maker | 179abf3455f6efab048278d7feda98487d155429 | f13d3126fa73e7d418a78b4f6ca0555f34f143fb | refs/heads/main | 2023-05-15T20:45:37.365910 | 2021-06-14T11:36:24 | 2021-06-14T11:36:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,940 | ino | //Programme pour grille ITLBSF03HVITMBSF04HV_Vertical
#include "AccelStepper.h"
//#include <time.h>
AccelStepper stepper(1,10,8);
//motor 1
int M1_EN = 1;
int M1_pwm = 52;
int M1_dir = 53;
int M1_com = 5;
//motor 2
int M2_EN = 9;
int M2_pwm = 10;
int M2_dir = 8;
//motor 1 paramiters
int M1_max_speed = 1400; ... | [
"guilhem.elias@gmail.com"
] | guilhem.elias@gmail.com |
f7eb49ad6b816eee2bdf1f879a0176dcfd64bb61 | 278c2f8f69e6a6385bef27c243a8316b37219c83 | /day_05/ex03/Intern.cpp | 02b46dea30dd78073fd84317c201f65dd2351776 | [] | no_license | qdequele/PiscineCPP | ba03742c9b66d8b730d1deb3ec40992a7295584c | 7727545194629d0140ac949213b01a0562f5a555 | refs/heads/master | 2021-05-13T13:43:27.559160 | 2018-01-18T10:46:08 | 2018-01-18T10:46:08 | 116,715,051 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,649 | cpp | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* Intern.cpp :+: :+: :+: ... | [
"quentin@dequelen.me"
] | quentin@dequelen.me |
26fac3d00574b47b992b5fe4727d42d2fda458f6 | 385491d72892497d45b9cd406a22243202652d69 | /ground_models/src/run_inv2_ground.cpp | 084b0bf773e3f6161c4422013a5780c33e181a78 | [] | no_license | Behrouz-Babaki/FactoredSCP | 89f4ef53e893f11ec3c0fd739217361fd64168f3 | 1a417e0164a6b64961a5e0653e55a973a3ffeef8 | refs/heads/master | 2021-01-21T19:44:50.433723 | 2017-07-12T11:20:40 | 2017-07-12T11:20:40 | 92,158,485 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,324 | cpp | #pragma GCC diagnostic ignored "-Wunused-local-typedefs"
#include <iostream>
#include <gecode/search.hh>
#include <cstdlib>
#include <sys/resource.h>
#include <ace_engine_cpp.hpp>
#ifdef USE_GIST
#include <gecode/gist.hh>
#endif //USE_GIST
#include "cm_options.h"
#include "inv2_ground.h"
#include "time_util.hpp"
us... | [
"Behrouz.Babaki@cs.kuleuven.be"
] | Behrouz.Babaki@cs.kuleuven.be |
62f80c3857d8844aa9a3a423ceb62bd997592260 | 794c094903b8b6693b50e2164952ed1ddbb55fa3 | /modules/gas/functions/CfgFunctions.hpp | a12c9b51cc0992b8d34a26f8dfe407c73c57be90 | [
"MIT"
] | permissive | PiZZAD0X/Olsen-Framework-Arma-3 | a8acefedbf934a2fbb097c3690589a9b355aba47 | b5467ef6a6f9dd99fcee1b4d046219c524058e35 | refs/heads/master | 2022-09-22T01:19:33.280212 | 2022-08-25T19:50:29 | 2022-08-25T19:50:29 | 132,228,519 | 2 | 1 | MIT | 2020-04-11T01:28:46 | 2018-05-05T08:20:12 | SQF | UTF-8 | C++ | false | false | 261 | hpp | class COMPONENT {
tag = COMPONENT;
class GAS {
file = "modules\gas\functions\GAS";
class createHotZone {};
class fakeMission {};
class fireMission {};
class gasParticles {};
class gasZones {};
class jipSend {};
class vehicleSiren {};
};
};
| [
"eddy@em-creations.co.uk"
] | eddy@em-creations.co.uk |
dcf3468d94d2a9c8c9d3f109bbaad3663b2679c2 | 6f49cc2d5112a6b97f82e7828f59b201ea7ec7b9 | /dbswdbe/WdbeQMtpTpl1NModule.h | 49a8cd1b6c64a6311d2e8216d43be5a7096215ec | [
"MIT"
] | permissive | mpsitech/wdbe-WhizniumDBE | d3702800d6e5510e41805d105228d8dd8b251d7a | 89ef36b4c86384429f1e707e5fa635f643e81240 | refs/heads/master | 2022-09-28T10:27:03.683192 | 2022-09-18T22:04:37 | 2022-09-18T22:04:37 | 282,705,449 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,624 | h | /**
* \file WdbeQMtpTpl1NModule.h
* Dbs and XML wrapper for table TblWdbeQMtpTpl1NModule (declarations)
* \copyright (C) 2016-2020 MPSI Technologies GmbH
* \author Alexander Wirthmueller (auto-generation)
* \date created: 5 Dec 2020
*/
// IP header --- ABOVE
#ifndef WDBEQMTPTPL1NMODULE_H
#define WDBEQMTPTPL1NMO... | [
"aw@mpsitech.com"
] | aw@mpsitech.com |
6931e39074479ebe92a7e28e1e9d3ccaea2f25a6 | 5a02eac79d5b8590a88209dcc6cd5741323bb5de | /PAT/第一轮/未归档/A1073/main.cpp | 21d1f11ef1193c33e23fbc5f6daaa635b24651c4 | [] | no_license | qiatongxueshaonianC/CaiZebin-Code_warehouse | ddac8252afb207d9580856cfbb7e14f868432716 | 25e1f32c7d86d81327a0d9f08cd7462209e9fec2 | refs/heads/master | 2023-03-20T03:36:49.088871 | 2021-03-16T15:40:11 | 2021-03-16T15:40:11 | 348,395,087 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 663 | cpp | #include<bits/stdc++.h>
using namespace std;
string deal(string s){
int k=s.find('E');
char c=s[k+1];
int num=stoi(s.substr(k+2));
s.erase(k);
s.erase(2,1); //删点
// puts(s.c_str());
if(c=='+'){ //注意这里没判断当 num-(k-2-1)<0会抛出“运行时错误”
if(num-(k-2-1)>=0) s.insert(s.end(),num-(k-2-1),'0');
else s.insert(2+num,".... | [
"997018583@qq.com"
] | 997018583@qq.com |
e23faed74b9454c6dd0cec2a3b509d0538bd25ac | a66fa9ce1d449076ceb3dd41576539c9f7fbb005 | /num_net/sock_client.h | 91d1022a9b80eb0b79b169b216c0f00b7238032e | [] | no_license | chamlion/num_sort | d936735f15d82b8bf78c04926f68a05694b6289f | ae1e21e5a6f0a17f9f0d5ce2c622ece8d91ef916 | refs/heads/master | 2021-06-06T08:09:22.242860 | 2016-09-18T15:52:01 | 2016-09-18T15:52:01 | 67,101,818 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,184 | h | #ifndef SOCK_CLIENT_H
#define SOCK_CLIENT_H
#include <unistd.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <stdlib.h>
#include <stdio.h>
#include <errno.h>
#include <string.h>
#include <memory>
#include <iostream>
#include<sstream>
#include<fstream>
#include<... | [
"chamlionchina@gmail.com"
] | chamlionchina@gmail.com |
c4ecba7ef269259e13e397d5770941ff2ae3d685 | 27f33d2a63e607c0a4e4baaaa1f61d538f65d7e9 | /20. Reverse array.cpp | 96042a82e8b3e8db7fb9c530efe26e31b0846aaa | [] | no_license | Ajayt110/CPP | 348b8c9161a7089c514761121567c032f2604287 | ccfe985bf5d0028b0563d352400f18f4cdd4fb76 | refs/heads/master | 2022-12-13T12:54:46.138330 | 2020-09-09T13:44:19 | 2020-09-09T13:44:19 | 294,017,562 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 331 | cpp | #include<iostream>
using namespace std;
main()
{
int a[]={87,72,65,54,95,90,80,61,73,81,97,100},b[13],i;
cout<<"First Array:\n";
for(i=0;i<12;i++)
cout<<a[i]<<" ";
cout<<"\n";
for(i=0;i<12;i++)
{
b[11-i]=a[i];
}
cout<<"\nSecond Reverse Array:\n";
for(i=0;i<12;i++)
cout<<b[i]<<" ";
cout<<"\... | [
"noreply@github.com"
] | Ajayt110.noreply@github.com |
0a8e1a39422aad9e510168bc4e24aa71fe445a4a | 5261689e7c9114dfd89786358edc0a35e69ab57f | /cc-evenm.cpp | bdd59fa9f8beef6118f7f89132b090699c49479c | [] | no_license | shobhitkrsks/cp | bec5f36d5a8ff9684321099dc3244284f517ab43 | e551af079b4c1a4c1803b555ab9d3eec194910c5 | refs/heads/master | 2023-06-06T19:52:31.999545 | 2021-07-05T18:57:52 | 2021-07-05T18:57:52 | 248,814,534 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 690 | cpp | #include<iostream>
#include<bits/stdc++.h>
#define ll long long
using namespace std;
int main()
{
ios_base::sync_with_stdio(false);
cin.tie(NULL);
cout.tie(NULL);
int tc;
cin>>tc;
while(tc--)
{
int n;
cin>>n;
for (int i = 0; i < n; i++)
{
if(i%2==... | [
"sks.shobhit12@gmail.com"
] | sks.shobhit12@gmail.com |
c28d7ec93786061c5a16289a8d61147765363b7c | fee530868e668f5c322acd23afb508059979784e | /Trees/Binary tree/main.cpp | aab2247eb3e37a4432910cfcf3738a11e3777f86 | [] | no_license | adityak3252/Ds-Algo | 2fe97cc2705e655bc40170cbf9e1043a802cbc06 | b074b371cc45178e29cd6842d53a4e4a91785bab | refs/heads/master | 2022-12-31T12:06:49.132833 | 2020-10-22T12:14:27 | 2020-10-22T12:14:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,822 | cpp | /*
classlocation.h -> traversal.h -> check.h -> summation.h -> other.h -> lca.h
*/
#include<bits/stdc++.h>
#include"lca.h"
typedef long long ll;
using namespace std;
void insertion(node **root,ll d)
{
node *tmproot=*root,*tmp=NULL;
//new node created
node *newnode=(node*)malloc(sizeof(node));
newnode->d... | [
"hrishibhagat8642@gmail.com"
] | hrishibhagat8642@gmail.com |
65d38b50b3fdd5c131306e98b4505f2b71886989 | b3839099049a5d34e14b2452c4969fd4f2a3333c | /src/shader_module.test.cpp | 8809e90f623a4c451c46c3880476e965915aff49 | [
"MIT"
] | permissive | jeffw387/vkaEngine | bb71827118929ec5aaa883e7bb41bbfbf26d0e22 | 69bc21d4c10229ab823a887147cb45888d9afbaf | refs/heads/master | 2021-07-08T19:07:34.049415 | 2019-02-24T06:53:45 | 2019-02-24T06:53:45 | 144,421,157 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 239 | cpp | #include "shader_module.hpp"
#include <catch2/catch.hpp>
#include "device.hpp"
#include "instance.hpp"
#include "move_into.hpp"
#include "physical_device.hpp"
#include "platform_glfw.hpp"
#include "queue_family.hpp"
using namespace vka;
| [
"jeffw387@gmail.com"
] | jeffw387@gmail.com |
906794a4b4f8ca249dfdef4df0dfcccdef3bbc14 | 45402c02083f5b768de4b28a79eb1d4f02cb1cce | /3/3.3.cpp | 7bb5f0756e0eb91df4017891936c58aee572245c | [
"MIT"
] | permissive | EricDoug/cpp1x-tutorial | 259885312749690a982566f16a441d00f9c5c4a9 | 8a3eb8f271eca3218ecc4ca69d2f94507425c964 | refs/heads/master | 2021-05-13T12:34:15.066573 | 2017-11-16T09:12:47 | 2017-11-16T09:12:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,200 | cpp | //
// 3.3.cpp
// c++1x tutorial
//
// created by changkun at shiyanlou.com
//
// 右值引用 rvalue reference
#include <iostream>
#include <string>
void reference(std::string& str) {
std::cout << "左值" << std::endl;
}
void reference(std::string&& str) {
std::cout << "右值" << std::endl;
}
int main()
{
std::string... | [
"ouchangkun@outlook.com"
] | ouchangkun@outlook.com |
d847df2098cb20a090b6632e791dcafe5b125434 | 0455ebc4ff111a7a7e67f06e5ab6afb83dc8618f | /monitor.cpp | 00c90ec4b53d7f3d8325835a37e225848742aae0 | [] | no_license | predbannikov/scaner | da7997a63665e6ed456975ec44081afeb645ba7e | 4a58beba9b8f6e26046cb04ec5a343779964fb04 | refs/heads/master | 2020-07-01T21:14:57.895875 | 2019-08-08T17:14:05 | 2019-08-08T17:14:05 | 201,303,114 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,093 | cpp | #include "monitor.h"
#include <QCoreApplication>
Monitor::Monitor(QObject *parent) : QObject(parent)
{
// while(doWork) {
// QFileInfo fileInfo("/proc/net/tcp");
// QEventLoop loop;
// QTimer timer;
// timer.setSingleShot(true);
// connect(&timer, &QTimer::timeout, &loop, &QEventL... | [
"predbannikov.yurii@gmail.com"
] | predbannikov.yurii@gmail.com |
bb0348486220014ef49b0490bd998504af58205b | d39374332e76979bb3abd5cf59a9b112e98eb9c9 | /cuda/Camera.inl | 15c967170f972842171a5bec96cbf88b6083805d | [] | no_license | lateralpunk/rgrt | 6e1735a6c4cbb8eb661415f0d41a7d9cf4d07922 | 62b3ff791b9ad9f47ea72ac557b6013b8bf72e2b | refs/heads/master | 2021-01-10T19:09:43.697217 | 2019-01-11T17:14:53 | 2019-01-11T17:14:53 | 7,528,404 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,198 | inl | #pragma once
// ----------------------------------------------------------------- default constructor
Camera::Camera(void)
: eye(make_float3(0.0f, 0.0f, 500.0f)),
lookat(make_float3(0.0f)),
ra(0.0f),
up(make_float3(0.0f, 1.0f, 0.0f)),
u(make_float3(1.0f, 0.0f, 0.0f)),
v(make_float3(0.0f, 1.0f, ... | [
"k5patel@me.com"
] | k5patel@me.com |
956a5ceaa15d4047d104e3949ba7bfea929840c1 | f7aa4d0585c124f2f33788a9ec131a0023f68036 | /benchmarks/threadResponseTime.cpp | 7159c36b6bb73738e3d2e6ea6a801bcb5226be6e | [
"MIT"
] | permissive | yumianhuli2/Physics3D | 51c643333c75dc4a5421d6ad22b1ae651c8519d9 | 30d3a2c926baf8b0f8503b0fb2d469bde65bfe83 | refs/heads/master | 2023-03-26T04:28:30.225829 | 2021-03-25T17:26:15 | 2021-03-25T17:26:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,073 | cpp | #include "benchmark.h"
#include <iostream>
#include <chrono>
#include <mutex>
#include <thread>
#include <vector>
#include "../physics/threading/threadPool.h"
using namespace std::chrono;
class ThreadCreateBenchmark : public Benchmark {
public:
ThreadCreateBenchmark() : Benchmark("threadCreateResponseTime") {}
v... | [
"lennart.vanhirtum@gmail.com"
] | lennart.vanhirtum@gmail.com |
1ee4ed2dc22a3962d063938f2222bc6fa6b96378 | c81c93da5f45fe9ad41f098aff46a424b3a35ebe | /filesys.cpp | 70150db00707b19d337844c20a56870bc7f9bbd4 | [] | no_license | jorditorrentsguillen/WinUAE | adb1b3c068f7fb9c3f2522244d7cb86b022fab5b | a5f17c7727836a62742feab8f840c43beee49440 | refs/heads/master | 2021-01-15T20:47:44.496187 | 2015-08-12T17:21:24 | 2015-08-12T17:21:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 233,811 | cpp | /*
* UAE - The Un*x Amiga Emulator
*
* Unix file system handler for AmigaDOS
*
* Copyright 1996 Ed Hanway
* Copyright 1996, 1997 Bernd Schmidt
*
* Version 0.4: 970308
*
* Based on example code (c) 1988 The Software Distillery
* and published in Transactor for the Amiga, Volume 2, Issues 2-5.
* (May - August 1989)
*
* K... | [
"twilen@winuae.net"
] | twilen@winuae.net |
90a10d9882e65fa8b6afa4e3ef90ecead112e441 | 85a90519c644098eba8cca252449ee54ab22e458 | /cpp/opengl_game/0.3.7/src/iichan/iichan_dialog.cpp | 0b1e068e81d370700e93791fb371db7a2fc9d08a | [] | no_license | fcccode/interview-1 | 17b492dacc20aae489bb2aabddc8f36268b36cc8 | 6db7c1999359905d3f791cde09b8e252112d6354 | refs/heads/master | 2020-04-29T11:40:19.471532 | 2012-05-11T13:52:07 | 2012-05-11T13:52:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,885 | cpp | #include "stdafx.h"
#include "../osl/osl_types.h"
#include "../osl/osl_lexems.h"
#include "../osl/osl_parse.h"
#include "../osl/osl_misc.h"
#include "../osl/osl.h"
#include "../misc.h"
#include "iichan_dialog.h"
extern unsigned int OSL_CURRENT_LINE;
vector<DIALOG> dialogs;
bool LoadDialog(const char* file_name)
{
c... | [
"enderstd@gmail.com"
] | enderstd@gmail.com |
3937fce76fb785c5e5a78d50c78bc4712dc30d43 | ddf5e34aaf5bd46b8a9c9a5575792c4750b7ed43 | /ref_src/basisfield/dctfield.h | 00fe8ec6243e89c01c6b4f89c8975e96b4f656eb | [] | no_license | chengyu89527/MRI_Registrator | ba989ceb385ec6b5e616777c460f7793258eb216 | dea24a2d3fe6a3c85677e1b77bd64107df05a82b | refs/heads/master | 2020-11-23T19:08:44.132184 | 2019-12-15T10:01:04 | 2019-12-15T10:01:04 | 227,782,024 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,921 | h | // Declarations of class dctfield
//
// dctfield.h
//
// Jesper Andersson, FMRIB Image Analysis Group
//
// Copyright (C) 2007 University of Oxford
//
/* Part of FSL - FMRIB's Software Library
http://www.fmrib.ox.ac.uk/fsl
fsl@fmrib.ox.ac.uk
Developed at FMRIB (Oxford Centre for Functional Magnetic Reson... | [
"68667194@qq.com"
] | 68667194@qq.com |
1d116d5a8bf218d99fc24c6b5980736ff6b11a4a | a35b30a7c345a988e15d376a4ff5c389a6e8b23a | /boost/geometry/algorithms/detail/overlay/check_enrich.hpp | 2472176af7045970ce19e43ee2977f881092a83f | [] | no_license | huahang/thirdparty | 55d4cc1c8a34eff1805ba90fcbe6b99eb59a7f0b | 07a5d64111a55dda631b7e8d34878ca5e5de05ab | refs/heads/master | 2021-01-15T14:29:26.968553 | 2014-02-06T07:35:22 | 2014-02-06T07:35:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 93 | hpp | #include "thirdparty/boost_1_55_0/boost/geometry/algorithms/detail/overlay/check_enrich.hpp"
| [
"liuhuahang@xiaomi.com"
] | liuhuahang@xiaomi.com |
6d8eca5092b17f95477e6acf037d2f3382212a6d | 8a8873b129313b24341e8fa88a49052e09c3fa51 | /inc/DownloadHistoryList.h | e9a693cf53ba8f86b54ef3ddd8b923b14102f8fd | [] | no_license | flaithbheartaigh/wapbrowser | ba09f7aa981d65df810dba2156a3f153df071dcf | b0d93ce8517916d23104be608548e93740bace4e | refs/heads/master | 2021-01-10T11:29:49.555342 | 2010-03-08T09:36:03 | 2010-03-08T09:36:03 | 50,261,329 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,412 | h | /*
============================================================================
Name : DownloadHistoryList.h
Author : 浮生若茶
Version :
Copyright : Your copyright notice
Description : CDownloadHistoryList declaration
============================================================================... | [
"sungrass.xp@37a08ede-ebbd-11dd-bd7b-b12b6590754f"
] | sungrass.xp@37a08ede-ebbd-11dd-bd7b-b12b6590754f |
00e9e10f236d0179e9a804dd780a48343da8dda9 | 6bd9d7679011042f46104d97080786423ae58879 | /1277/a/a.cc | 48869410803bacc92fe95ca2df278868d2a03c0a | [
"CC-BY-4.0"
] | permissive | lucifer1004/codeforces | 20b77bdd707a1e04bc5b1230f5feb4452d5f4c78 | d1fe331d98d6d379723939db287a499dff24c519 | refs/heads/master | 2023-04-28T16:00:37.673566 | 2023-04-17T03:40:27 | 2023-04-17T03:40:27 | 212,258,015 | 3 | 1 | null | 2020-10-27T06:54:02 | 2019-10-02T04:53:36 | C++ | UTF-8 | C++ | false | false | 620 | cc | #include <algorithm>
#include <bitset>
#include <climits>
#include <cmath>
#include <cstring>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <unordered_map>
#include <unordered_set>
#include <vector>
using namespace std;
typedef long long ll;
class Solution {
public:
v... | [
"wuzihua@pku.edu.cn"
] | wuzihua@pku.edu.cn |
b1779e94e9402923c3eb62f48797cb0a588bf3dd | 702191129549fb9e28ed327b9eed344218e82496 | /Problems/programmers_여행경로/programmers_여행경로.cpp | c14c0ea798ecf2f40f5b8b5a1d0eff8b2bf2a5d4 | [] | no_license | Sunjae95/BOJ-Algorithm-Study | 219997490c5098a34e7b9d008070e0799345ac92 | 8154101bd1c4b2ab0cea957f8bd7594d569cb517 | refs/heads/master | 2022-12-30T17:47:10.473181 | 2020-10-20T15:34:11 | 2020-10-20T15:34:11 | null | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 919 | cpp | #include <string>
#include <vector>
#include <map>
#include <algorithm>
using namespace std;
const int MAX = 10000;
bool visit[MAX + 1];
bool dfs(string node, vector<vector<string>>& tickets, vector<string>& answer, int index) {
answer.push_back(node);
if (index == tickets.size()) { // 모든 티켓을 사용한 경우
return true;
... | [
"kyu9341@naver.com"
] | kyu9341@naver.com |
24bb2ec91f9a2b6ccd83972c13f5202bea299528 | b77dd6dcb1f84fc249e0050013e6d74f2b3f039d | /include/floorplan/floorPlan.h | aa075f2b6b2b0ff803fedc5f265393b182681f85 | [] | no_license | 3DTK/3DTK | fad4333832d5ee3c4fa43a0e3c2ab719bd7ec278 | bfc46d1b30b35a955ebde78c229ac40ee10e296c | refs/heads/master | 2023-08-10T01:58:20.472841 | 2023-07-28T11:54:42 | 2023-07-28T11:54:42 | 120,477,018 | 64 | 28 | null | null | null | null | UTF-8 | C++ | false | false | 2,096 | h | /*
* floorPlan.h
*
* Created on: Apr 29, 2013
* Author: rdumitru
*/
#ifndef FLOORPLAN_H_
#define FLOORPLAN_H_
//==============================================================================
// Includes.
//==============================================================================
// OpenCV includes.
#... | [
"dborrman@users.sourceforge.net"
] | dborrman@users.sourceforge.net |
05cbac084f32d2d4172f95aa6a6fc35bbcbf1421 | a9c2299b54a544ca0a046675c344c43386083be6 | /Elemental/Message/source/MessageInterface.cpp | 36964613b43d411e20ee0c494dcaf71ab861d2f7 | [] | no_license | DBurden1997/Elemental | 0943f6ddf7c7d8520c1903349180f69fddeb6ed8 | 49f45bdaebe0a74cf0155885e43ad4ecf6fb1dcc | refs/heads/master | 2020-04-15T05:22:12.941917 | 2019-01-07T10:44:44 | 2019-01-07T10:44:44 | 164,418,812 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 673 | cpp | //
// MessageInterface.cpp
// Elements
//
// Created by Dylan Burden on 2018-07-14.
// Copyright © 2018 DarkBlaze. All rights reserved.
//
#include "MessageInterface.hpp"
#include "Message.hpp"
#include <stdio.h>
std::vector< MessageInterface* > MessageInterface::receivers;
void MessageInterface::send( Message_... | [
"dylanburden@Dylans-MacBook-Air.local"
] | dylanburden@Dylans-MacBook-Air.local |
d7d01f0e74d34a0f3024f7ea987efb69659a4922 | 24afb5aea2c431f5b74233cdaaa239e857ae5053 | /src/kcftracker_wrap.cxx | 301f030b7dfb301e6496b73832080619258498ca | [] | no_license | AutoRaider/python_gpu_kcf | 32e4d268f5df360f9c67a21e1384102953253724 | d3a139a7770bd84f437ad13c8bfb31e6d5cf7a22 | refs/heads/master | 2020-04-18T02:22:48.851368 | 2018-12-13T02:07:34 | 2018-12-13T02:07:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,396,729 | cxx | /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.8
*
* This file is not intended to be easily readable and contains a number of
* coding conventions designed to improve portability and efficiency. Do... | [
"xiang092@gmail.com"
] | xiang092@gmail.com |
c3faf2e25403aad84ebcb09337a66e761791e0f1 | 9c9cc2acbd290b3d4f2c1c1e5af7280b25c69eaa | /SOB1/SOB1/ReadFile.h | b559064b28ec2390469a1db455116227e9f31023 | [] | no_license | fudalejt/AssertionCpp | 0cd7171c50031763e27b5fe1bf7123f1c94bdeaa | 6370944047493f37eff88f2c35f6f3f32d14405a | refs/heads/master | 2021-01-20T07:32:07.421926 | 2017-05-02T10:48:25 | 2017-05-02T10:48:25 | 90,011,085 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,087 | h | #pragma once
#include <string>
#include <fstream>
#include <iostream>
#include <sstream>
#include<cassert>
#include "Queue.h"
template<class T>
T stringToValue(string str) {
istringstream iss(str);
T value;
iss >> value;
return value;
}
template <typename Type>
class ReadFile
{
public:
ReadFile(std::string pat... | [
"fudalejt@gmail.com"
] | fudalejt@gmail.com |
aeb8379a071480e1a7bfcce199ed510f30112ef2 | 74d1dd1b2fb76ee4a65ec86cda22ddd2cdc64883 | /libs/STLPort-4.0/stlport/old_hp/hashtable.h | 479ad003cc16e0691b9a61a29f6f2f444c31b707 | [
"LicenseRef-scancode-stlport-4.5",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | haekb/nolf2-modernizer | f9d966d7b9660610b47ea7618c4d53507b17adc4 | 75b2e715f804e10f1380e1c7bdb43664db61a01b | refs/heads/master | 2023-05-11T00:06:00.516030 | 2020-12-24T03:59:45 | 2020-12-24T03:59:45 | 207,464,324 | 30 | 4 | null | 2023-04-29T04:36:51 | 2019-09-10T04:20:07 | C++ | UTF-8 | C++ | false | false | 1,702 | h | /*
* Copyright (c) 1994
* Hewlett-Packard Company
*
* Copyright (c) 1996,1997
* Silicon Graphics Computer Systems, Inc.
*
* Copyright (c) 1997
* Moscow Center for SPARC Technology
*
* Copyright (c) 1999
* Boris Fomitchev
*
* This material is provided "as is", with absolutely no warranty expressed
* or im... | [
"haekbreen@gmail.com"
] | haekbreen@gmail.com |
7071d023907b05dc1d5e3eafba0bc4e764c1d4b4 | 3503da903c40b703035ec0a9bcb7a63a0038ca2f | /EX_4/Mutexes3.cc | 070e27c7c885d6a976dba0319e84dfdd693cdf44 | [] | no_license | TheMopKingDom/NC358_OS_EX | 3d4b2d24a7437cde34557d8cc12c63635bb52548 | 719ec10b6106b7b7f16972234ecdb36cfca7aaa7 | refs/heads/master | 2020-05-20T20:53:05.109489 | 2019-05-16T03:47:59 | 2019-05-16T03:47:59 | 185,749,818 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,150 | cc | // thread0.c
#include <pthread.h>
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
#include <sys/wait.h>
#define N 3
#define MAXSize 10
void *min_thread(void *arg)
{ int *test = (int*)arg;
int min=test[0];
for (int i=0; i<MAXSize ; i++){
if (test[i] < min... | [
"noreply@github.com"
] | TheMopKingDom.noreply@github.com |
542bcb75bb55975b906e53dd5bd0a16d14aced0e | 3a13b93b605cd3481b6ec54202d253af2a0ad854 | /FN/SDK/FN_SelfItemTIleWidget_classes.hpp | 60a37853891200f2ada69a3621c881ffffd02af0 | [] | no_license | antiwar3/WXY-SDK | 12bc929c3371756fb8eac2f9aba6ffb53be17109 | 20c2e89189fbcdd40c407c799d71ff20da096584 | refs/heads/master | 2020-04-15T10:19:42.493604 | 2019-01-08T07:39:48 | 2019-01-08T07:39:48 | 164,591,515 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,571 | hpp | #pragma once
// Fortnite (1.6.4) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace SDK
{
//---------------------------------------------------------------------------
//Classes
//---------------------------------------------------------------------------
// WidgetBlueprintGeneratedClass SelfItemTIleWidg... | [
"237213@qq.com"
] | 237213@qq.com |
ea977cf34120e03c14e67ee05a4361a19aa12337 | d48139ef3f4deec12fc2861d1788115243dfb553 | /show.cpp | aaa88ca3d3aa8215826447b7ce131c9b081afa6f | [] | no_license | teleger/QtTestImage | a9784088ceafe02f30baecf39371f900230a2d63 | 5fc88c0f9dc73fa922251ef3ac99a89a0d126701 | refs/heads/master | 2022-12-04T03:29:55.805360 | 2020-08-20T04:20:45 | 2020-08-20T04:20:45 | 288,904,837 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 311 | cpp | #include "show.h"
showImage::showImage(QWidget *parent):QWidget(parent){
show1.load("/home/work/tensorflow.jpg");//文件路径
}
showImage::~showImage(){
}
void showImage::paintEvent(QPaintEvent *e)
{
QPainter pp(this);
QRect Temp(0,0,this->width(),this->height());
pp.drawImage(Temp,show1);
}
| [
"459103831@qq.com"
] | 459103831@qq.com |
36b56d404496d981e76a002b28935fd44b714f84 | 53352a7770ff7a41a5760835cbe60e7bae58fa0b | /Ray Shaper/source/objects/ReflectionTile.h | 335e9d914d4bcfd75699b10d368422998b676959 | [] | no_license | antjowie/Ray-Shaper | b8d15f42982c06466d5e973ec43023be9cd18a45 | 23aae22ea617c20462e93259efbb92b2bcf74f23 | refs/heads/master | 2021-08-10T17:38:23.372970 | 2021-05-21T15:18:00 | 2021-05-21T15:18:00 | 116,961,294 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 837 | h | #pragma once
#include "Object.h"
class ReflectionTile : public Object
{
private:
const int m_id;
public:
const enum Direction
{
// Special direction for the reflector, the non direction
// Used to omit loading
Reflector_Non = 0,
RightUp,
RightDown,
LeftDown,
LeftUp,
Up,
Down,
Left,
Right,
... | [
"angelo05rettob@gmail.com"
] | angelo05rettob@gmail.com |
8b26b83821b4048fee0238c0c95a693684793983 | 9208443ce40b92ba24d6df91dd56a1356b26bbf0 | /src/atr.cpp | 14c245e809bc8fe64536d74da618e53c1d689ab3 | [] | no_license | mussonero/quanttools | 8e84a0a96d5f48d375f065e6e738051a9a16790e | 23db968a591c50077f4f363e075125ca1c20a1ab | refs/heads/master | 2020-12-06T01:30:56.989809 | 2020-01-07T10:38:18 | 2020-01-07T10:38:18 | 232,302,108 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,192 | cpp | // Copyright (C) 2018 Ernesto Fernández
//
// This file is part of QuantTools.
//
// QuantTools is free software: you can redistribute it and/or modify it
// under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 2 of the License, or
// (at your option) any lat... | [
"mussonero@gmail.com"
] | mussonero@gmail.com |
d8e8065d8be50fff6396ec8bc54dde1dd28c3e1f | 2a4304a7092ef8853ef167eb6f367ca9af9c5476 | /Source/SketchBot_Complete_jk/clear_traversed_path.cpp | 2b86cb3dc04f1ab482e8d8c21a6ac1af4f139ef8 | [] | no_license | ssaurabh41/Sketch-Bot | 80939f0147b445663675fe46eb97153e2ddd2f0f | 0947b8a8b5897ec33d1c36a61a9ea02a7f5ad2d2 | refs/heads/master | 2021-05-29T03:01:42.719980 | 2015-04-19T15:03:38 | 2015-04-19T15:03:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,580 | cpp | #include "global_variables.h"
#include "Points.h"
#include <opencv2/core/core.hpp>
#include <opencv/cv.h>
using namespace std;
using namespace cv;
//makes a 3x3 box around every pixel present in path white in the image entered.
//this is to remove excess pixels which might remain after a path is generated
/*
say... | [
"ssaurabh41@gmail.com"
] | ssaurabh41@gmail.com |
509e0550410ae749362ae17e0d900d8974a9f5b8 | 35bc9ffa534ce5597fe8d78b76b5ec136fea9008 | /src/MeteoriteGUI.cpp | f5a8577b527ea6a5a11181dcb5cf8ce4311a8265 | [] | no_license | EUA/Meteorite | 599f91fbafdbaeec746ea1445c9c96c692e2303c | 73e8b08b2f05b1c4c823a9777ffd3d536d14c6af | refs/heads/master | 2021-01-19T20:26:38.320024 | 2013-02-14T02:55:53 | 2013-02-14T02:55:53 | 83,752,227 | 6 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,541 | cpp | ///////////////////////////////////////////////////////////////////////////
// C++ code generated with wxFormBuilder (version Apr 17 2008)
// http://www.wxformbuilder.org/
//
// PLEASE DO "NOT" EDIT THIS FILE!
///////////////////////////////////////////////////////////////////////////
#include "wx/wxprec.h"
#ifdef __... | [
"erdem_ua@f02f1a5c-2511-4db8-bd4a-9f0cd9d69ea4"
] | erdem_ua@f02f1a5c-2511-4db8-bd4a-9f0cd9d69ea4 |
8a7719cd1c28f0c838b01658bf4fdbc7dd1c2b2a | a4bf7ef197edc81b1d15ae9c75397aec22f14850 | /allegro5/tutorial/fullscreen.cpp | 2ede5f1b8157d370953edb9fb0ed235c8aaad739 | [
"CC-BY-3.0"
] | permissive | anagorko/kinf | 2c48b43525907a61b66cddd46be4405eac908518 | 38c44fb6905f45da95405aa72bd979eb90cf1058 | refs/heads/master | 2020-04-12T06:35:45.396095 | 2017-12-31T19:47:07 | 2017-12-31T19:47:07 | 7,894,789 | 5 | 12 | null | 2017-03-24T12:58:21 | 2013-01-29T15:23:15 | C++ | UTF-8 | C++ | false | false | 603 | cpp | #include "allegro5/allegro.h"
#include "allegro5/allegro_image.h"
#include "allegro5/allegro_primitives.h"
int main(int argc, char** argv){
ALLEGRO_DISPLAY *display = NULL;
ALLEGRO_DISPLAY_MODE disp_data;
al_init(); // I'm not checking the return value for simplicity.
al_init_image_addon();
... | [
"amn@mimuw.edu.pl"
] | amn@mimuw.edu.pl |
f265a9c42d538db9dfd6b22d31e9504d998449e8 | c316e503a82bae36f17334136977e350b4aa9a80 | /Chapter05/unruh.cc | d79f7a88b4443ff605139fc7853b5ef31da23a1c | [] | no_license | philipdongfei/DiscoveringModernCPP | 18595565a871b466067d8a682f41231c21b71f96 | 54ab1c229d40d6a06f968fc6152773d27f260402 | refs/heads/master | 2022-12-12T01:54:02.479957 | 2020-08-25T02:15:44 | 2020-08-25T02:15:44 | 272,901,912 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 647 | cc | // Prime number computation by Erwin Unruh
template <int i> struct D { D(void *); operator int(); };
template <int p, int i> struct is_prime {
enum { prim = (p==2) || (p%i) && is_prime<(i>2?p:0), i-1> :: prim };
};
template <int i> struct Prime_print {
Prime_print<i-1> a;
enum { prim = is_prime<i, i-1>::... | [
"philip.dongfei@gmail.com"
] | philip.dongfei@gmail.com |
70c935143b943a361fa1138b3c2062bbf2a65051 | 96cfaaa771c2d83fc0729d8c65c4d4707235531a | /CondTools/CSC/interface/CSCFakeDBCrosstalkHandler.h | 2e40d6f3626a4734b06f74f9607402cdf280d244 | [] | no_license | khotilov/cmssw | a22a160023c7ce0e4d59d15ef1f1532d7227a586 | 7636f72278ee0796d0203ac113b492b39da33528 | refs/heads/master | 2021-01-15T18:51:30.061124 | 2013-04-20T17:18:07 | 2013-04-20T17:18:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 946 | h | #ifndef CSC_FAKEDBGAINS_SRC_IMPL_H
#define CSC_FAKEDBGAINS_SRC_IMPL_H
#include <vector>
#include <string>
#include <iostream>
#include <typeinfo>
#include "CondCore/PopCon/interface/PopConSourceHandler.h"
#include "CondFormats/CSCObjects/interface/CSCobject.h"
#include "CondFormats/DataRecord/interface/CSCDBCrosstalk... | [
"sha1-a5ceae9af4b986cf7f52071a8ae913361a62b84e@cern.ch"
] | sha1-a5ceae9af4b986cf7f52071a8ae913361a62b84e@cern.ch |
c539fd8eec19a29d9206bcc01de36281e41c8275 | 528dc610bb0513b255b613d6aaa0b59d4c9af9db | /Tool/RS232 Tool/Interface_V2.0 - 複製/Member.h | 5596029e37378b7e9f5869b508dc357dc3ae13bf | [] | no_license | hesitationer/3111 | 7b7e468de38950a1a357e16f643098630e33a68a | 4fba49c2c2a6a78f9b3c5a006df85e33cfeb8b96 | refs/heads/master | 2021-05-27T19:07:55.625866 | 2014-07-31T01:15:38 | 2014-07-31T01:15:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 552 | h | // Member.h: interface for the CMember class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_MEMBER_H__4CDF129E_9D65_4351_93EA_339601AEC5D2__INCLUDED_)
#define AFX_MEMBER_H__4CDF129E_9D65_4351_93EA_339601AEC5D2__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER ... | [
"harper@chroma.com.tw"
] | harper@chroma.com.tw |
7c0b39d5a6bacdcdb60a1ffedd784fc90ebf3954 | b219519f94e6c6782f641a5a9d2dcf22537fac3b | /normal/google/kickstart/2022_11_12/Magical_Well_Of_Lilies.cpp | b9fa1924766bd8dfbe1ecbeca4a8e5fe58f9d26a | [] | no_license | liangsheng/ACM | 71a37a85b13aa7680a095cf0710c50acb5457641 | 0e80385b51e622b2b97431ac650b8121ecd56e51 | refs/heads/master | 2023-06-01T06:37:51.727779 | 2023-05-14T03:16:18 | 2023-05-14T03:16:18 | 9,337,661 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,221 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long LL;
int main() {
// ios::sync_with_stdio(false);
// cin.tie(0);
// clock_t startTime, endTime;
// startTime = clock();
int T, n = 100000, ans;
int dp[100001];
dp[1] = 1;
for (int i = 2; i <= n; i++) {
dp[i] = i;
... | [
"904491908@qq.com"
] | 904491908@qq.com |
d01bf8f7031e95d96e11f1b91f8b241955b46fb1 | c8b39acfd4a857dc15ed3375e0d93e75fa3f1f64 | /Engine/Source/ThirdParty/OpenSubdiv/3.0.2/opensubdiv/osd/cpuD3D11VertexBuffer.h | 8c6b2d19b85b1fffa9fe2c00db022ab1941189e5 | [
"MIT",
"LicenseRef-scancode-proprietary-license",
"LicenseRef-scancode-free-unknown",
"Apache-2.0"
] | 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 | 3,187 | h | //
// Copyright 2013 Pixar
//
// Licensed under the Apache License, Version 2.0 (the "Apache License")
// with the following modification; you may not use this file except in
// compliance with the Apache License and the following modification to it:
// Section 6. Trademarks. is deleted and replaced with:
//
... | [
"tungnt.rec@gmail.com"
] | tungnt.rec@gmail.com |
d977f4a38e0ab3c09fa4b4b8e5fba9ffc7ed441e | 4006cd74e5d67af70ac4336600832791988ac744 | /code_files/dab_monobit2.cpp | df46a4953f472bddf4d4e2d79ea9e10c17127fde | [] | no_license | sovist/Diehard-statistical-test-UI | aefc5c9a57be3a0719d1aa282733f0857cb41c95 | a7ad5310cf2d897735c6fd927d2419782a731b49 | refs/heads/master | 2021-01-19T00:13:27.505491 | 2015-03-21T18:51:09 | 2015-03-21T18:51:09 | 32,643,544 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,899 | cpp | /*
* ========================================================================
* $Id: sts_monobit.c 237 2006-08-23 01:33:46Z rgb $
*
* See copyright in copyright.h and the accompanying file COPYING
* See also accompanying file STS.COPYING
* ========================================================================
... | [
"sovist9@ukr.net"
] | sovist9@ukr.net |
c47b288d5dece17657c56b4aeb517254a2fb0dcf | 5b24db41a9d2265e8c5cf1eca8001f235419ac81 | /Brush.hpp | 852968c6e97e963b711805e8f8a2187fe1c87788 | [] | no_license | mrkline/painter | 0909c4da9a381c77ef46e691ab654d32d6c1d9ac | 169a768c39eb502b43adb1b23f088bd676fffa05 | refs/heads/master | 2016-09-06T12:06:36.167182 | 2012-02-27T19:50:39 | 2012-10-29T13:58:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 354 | hpp | #pragma once
#include <cassert>
//! Provides a brush interface which returns an alpha mask value at a given
//! x-y coordinate
class Brush
{
public:
Brush(int radius)
: r(radius)
{ assert(r <= 15); }
virtual ~Brush() { }
int getRadius() const { return r; }
virtual unsigned char getValue(int x, int y) const ... | [
"slavik262@gmail.com"
] | slavik262@gmail.com |
a472bd09fd3203cb86b15217b3ee26a597a7b71d | 3f0d582175776fd7807751836020d980fab6d3ad | /include/qx/macros/assert.h | 52a22f90ab0cbfd991ea51356992f4e338ff61d6 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | n0lavar/qxLib | a9fa54dac8e246c335465b713b2f3ae25103922f | 9d8e7c1156e15c58ab4ac8658f0e60d387b3c265 | refs/heads/master | 2023-08-08T01:09:56.123588 | 2023-07-26T18:34:06 | 2023-07-26T18:34:06 | 235,891,238 | 12 | 2 | null | 2021-07-23T20:58:02 | 2020-01-23T21:35:57 | C++ | WINDOWS-1252 | C++ | false | false | 18,327 | h | /**
@file assert.h
@brief Expect and assert macros
@author Khrapov
@date 29.10.2020
@copyright © Nick Khrapov, 2021. All right reserved.
**/
#pragma once
#include <qx/category.h>
#include <qx/logger/logger.h>
#include <exception>
#if QX_MSVC
#define _QX_DEB... | [
"nick.khrapov@gmail.com"
] | nick.khrapov@gmail.com |
6a0621f2537dd0c7d17e4288cb4320bee6534719 | 53dee0a0db4c502876a2e5a74059410f4b1113d2 | /archived_data_testing_scripts/other_code/potential_energy_test.cpp | d392fbdd1fea2d78dcda8bbbcf451fa1525ad5de | [] | no_license | shelts/scripts | 3e3dccda74fb05805b4ddda2b8f223b8f362e3a1 | a239edbc896a3784c32f2b51c2d8527d4301ff39 | refs/heads/master | 2021-01-25T07:18:47.263755 | 2018-08-08T18:10:33 | 2018-08-08T18:10:33 | 38,136,619 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,262 | cpp | #include <iostream>
#include <fstream>
#include <cmath>
#include <tgmath.h>
#include <cstdlib>
#include <stdio.h>
#include <stdlib.h>
#include <typeinfo>
#include <vector>
#include <string>
#include <ctime>
using namespace std;
#define inv(x) ((double) 1.0 / (x))
#define seventh(x) ((x) * (x) * (x) * (x) * (x) * (x) ... | [
"shelts@rpi.edu"
] | shelts@rpi.edu |
897bf84ce2941eb7c1ac0121f29fc4af8f7785de | 606dc44ed1d1511da6ddf0a1cdbd802c6e368b91 | /minions/Oasis_DHT22_60xLEDs/Oasis_DHT22_60xLEDs.ino | f00c293eba11fc1216e53df543bc12df21fe7807 | [
"CC0-1.0"
] | permissive | rugbprop/oasis-grow | 813f95c4279fd05f89f03d8f88da0911d5792fac | 9e36d94e76779c72f90a9f3f2eab7fe95383c946 | refs/heads/master | 2023-08-30T15:21:35.136191 | 2021-11-16T02:31:59 | 2021-11-16T02:31:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,604 | ino | //Include modules
#include <Wire.h>
#include <DHT.h>
#include <FastLED.h>
// intiialize temp & hum sensor
#define DHTTYPE DHT22 // DHT 22 (AM2302)
#define DHTPIN 5
DHT dht(DHTPIN, DHTTYPE);
//sensor pin for water level
//int water_level_pin = 2;
//set up LED controller
#define LEDPIN 7
#define NUMOFLEDS 60
CRGB l... | [
"leemichael289@gmail.com"
] | leemichael289@gmail.com |
3a9aa7fe2f07a7b74ba69794b070bc5be8df4b21 | 5fe3c551dd680d9578303aff7afdf4e29d049caa | /src/test/main_tests.cpp | c88d5c2ad0897068b7769d713ad67109b5752486 | [
"MIT"
] | permissive | globalsmartasset/globalsmartasset_old | cb54012762bd338dbb6563d8b2f48341cd836869 | 88b8ac2c6396299a80d08c3c412035585b52b301 | refs/heads/master | 2020-07-15T00:39:24.818402 | 2019-09-05T11:35:06 | 2019-09-05T11:35:06 | 205,438,049 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,610 | cpp | // Copyright (c) 2014 The Bitcoin Core developers
// 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 "primitives/transaction... | [
"globalsmartasset@gmail.com"
] | globalsmartasset@gmail.com |
83dd467c3dfb7036af12ab30603138396208a102 | 92c43f9c66816e3b5424b93aa27f15b081905549 | /Part7/LogicalNodes/DomainLNs/LNGroupC/GroupC.cpp | 2c5d7a4eacaa1647a5ca752eb4e79667e387eccc | [] | no_license | adirkuhn/lib-iec61850 | fd30b032b35d3184c3f01be4f0a11a3560c7954f | 7a35d901a299c94e49fd4dcb468a9d0e993b0709 | refs/heads/master | 2020-05-21T12:11:30.042930 | 2014-10-27T17:51:18 | 2014-10-27T17:51:18 | 32,832,932 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 288 | cpp | ///////////////////////////////////////////////////////////
// GroupC.h
// Implementation of the Class GroupC
// Created on: 01-Oct-2014 2:52:20 PM
// Original author: adirkuhn
///////////////////////////////////////////////////////////
#include "GroupC.h"
GroupC::GroupC()
{
}
| [
"adirkuhn@gmail.com"
] | adirkuhn@gmail.com |
1266e11f0f57ff2b7931c6617a9ba2d39151b47a | dca4718b3594a263f714c1d43eabbf39a7642d53 | /Software/Accel_VelocityAccPrint/Accel_VelocityAccPrint.ino | f99c35ca2953a55171ab365709211a1ef6edb23d | [] | no_license | yekrutdloc/Hovercraft-Project | 731dc0388173f8828cbd4b9d0919c572a9c608c2 | 607d96cdfd811057ae92c67010e5b876eb003425 | refs/heads/master | 2021-06-27T03:53:07.877321 | 2017-09-19T07:56:29 | 2017-09-19T07:56:29 | 104,043,210 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 40,831 | ino |
//
// Accel_VelocityAccPrint.ino
//
// Purpose: This Sketch is currently in development.
// Most of the code is taken from Arduino.cc
// The Sketch calculates velocity from accelerometer data
// This Sketch gets accelerometer data from the MPU-6050
// which then runs the values through a low-pass filter written by "Kr... | [
"princebalabis@gmail.com"
] | princebalabis@gmail.com |
f88cdb7fc727566a868a3872e6deb53be217aba2 | 7ef30b45df7b84151cc03065e4184f93526468e2 | /Eclipse Cpp WS/BaseAndDerive/Base.h | e268eb9962a738767cee8ac480cbca826978dcca | [] | no_license | littlepretty/Eclipse-for-Cpp | 356eff5b6918e167fb7f2e7bc04086352e91e263 | b98a82f060014c1e99044d4ede74ae6a44427afb | refs/heads/master | 2016-09-05T16:17:03.776453 | 2013-04-25T02:57:29 | 2013-04-25T02:57:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 185 | h | /*
* Base.h
*
* Created on: 2012-5-2
* Author: pc5
*/
#ifndef BASE_H_
#define BASE_H_
class Base {
public:
Base();
virtual ~Base();
double x,y;
};
#endif /* BASE_H_ */
| [
"littlepretty881203@gmail.com"
] | littlepretty881203@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.